Forum Replies Created
-
AuthorPosts
-
Claude Dagenais
ParticipantHere is the answer from Sucuri:
I inspected the card.php file specifically and there does not appear
to be any malware inside so I have restored it, the file was removed
as its a php file inside the uploads directory which should only
contain images, documents and other related files, not php files. I
apologize if this caused any problems.So I would say this was a false positive but it raise the question of putting php in the upload directory. iTheme Security does not allow it either.
ClaudeClaude Dagenais
ParticipantThat raise a question.
In this case it is a site in development. So I have a local staging site, a distant staging site and hopefully a production site.
If I connect the staging sites I understand that I will have to de-activate it when I go live and then activate the the licence on the production server.
Is it possible to have the same tool count as one active licence on the production site and on the staging sites? Because of the tools I use, all my staging site are named staging.domain.com (replace domain.com by the production server address).Claude Dagenais
ParticipantThank you. With your reply I contacted Sucuri and sent them you contact information. Since they deleted the file on the server I cannot be sure of what they found. Maybe it was injected with something. I’ll keep you updated.
Claude Dagenais
ParticipantWell I guess I can’t send you the card.php so a second try in txt
Attachments:
You must be logged in to view attached files.Claude Dagenais
ParticipantYou are the best sir. Thank you!
Claude Dagenais
ParticipantThanks, 8.5.15 will be release soon I guess so I’ll wait for it. Could you give me an example how to filter with the new cn_page_title filter to achieve what I want?
txClaude Dagenais
ParticipantLast update since the problem is solved for good. I had to make a small change to the code because of my own stupidity. I’ve attached it if it can help someone.
Attachments:
You must be logged in to view attached files.Claude Dagenais
Participantthe $html line is missing a part of the code in my post so I’ve attached the file FYI
Attachments:
You must be logged in to view attached files.Claude Dagenais
ParticipantCrap I don’t know how to share code here anyhow it works! tx
Claude Dagenais
Participantadd_filter( 'cn_output_link', 'th_cn_output_link', 10, 4 ); function th_cn_output_link( $html, $link, $entry, $atts ) { $url = cnSanitize::field( 'url', $link->url ); $th_langue = wpml_e__if_language( 'Visit us on the web !', 'en' ); wpml_e__if_language( 'Visitez-nous sur le web !', 'fr' ); $html = '<a class="url" href="' . $url . '" target="_blank">' . $th_langue . '</a>'; return $html; }-
This reply was modified 10 years, 3 months ago by
Steven Zahm. Reason: Fix code block
-
This reply was modified 10 years, 3 months ago by
-
AuthorPosts
