Thank you guys.
So we have a list of “infected” plugins.
If you didn’t already installed those plugins you have to make action A
if you already installed those plugins you have to make action B.
So:
Infected/offending Plugin List
WP RANDOM POST WIDGET
twitter-fb-like-google-1-and-fb-share
wp-fanbox-widget-easy
wp-delete-duplicate-posts
https://www.ads-software.com/support/topic/the-plugin-wp-delete-duplicate-posts-puts-beatdiabetesus-link-in-the-footer?replies=2
Please report all the new plugins infected at [email protected] as suggested by esmi user
action A (thanks to Sergio)
edited the php of the plugin and at the end i deleted this few lines:
`add_action(‘wp_footer’, ‘cre’);
function cre(){
echo ‘<style type=”text/css”>.hello </style>’;
echo ‘ <small class=”hello”>Beat diabetes</small>’;
echo ‘ <small class=”hello”>Diabetes diet</small>’;
}`
if saved the links will disappear from the footer without remove the plugin.
Action B (thanks to Sergio)
if you unzip that plugin on your computer and open the .php with notepad you will see at the end of the file these lines:
add_action('wp_footer', 'cre');
function cre(){
echo '<style type="text/css">.hello </style>';
echo ' <small class="hello">Beat diabetes</small>';
echo ' <small class="hello">Diabetes diet</small>';
}
these lines add to the footer the links to beat diabetes and diabetes diet..
you have to delete these lines, upload the plugin with your ftp client and activate it.