Suspicious function found
-
Hi,
Guess it’s a false report from Defender. But just to be sure: Is it safe to ignore the below report?
gr, Age
————————————————-jetpack-likes-settings, Suspicious function found
Issue Details:
We’ve uncovered suspicious code in /wp-content/plugins/jetpack/modules/likes/jetpack-likes-settings.php. The red highlighted code is the flagged code and the green is the cleaned up code. Note that these warnings can be false positives, so consult your developer before taking action.
Error
if ( true == $db_state && ! $this->in_jetpack ) { $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_likes=disabled_likes' ); if ( true == $db_state && ! $this->in_jetpack ) {
The function file_get_contents line 604 column 15 execute using unsanitize user inputs
Error
if ( false == $db_state && ! $this->in_jetpack ) { $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_likes=reenabled_likes' ); if ( false == $db_state && ! $this->in_jetpack ) {
The function file_get_contents line 611 column 15 execute using unsanitize user inputs
Error
if ( true == $reblogs_db_state && ! $this->in_jetpack ) { $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_reblogs=disabled_reblogs' ); if ( true == $reblogs_db_state && ! $this->in_jetpack ) {
The function file_get_contents line 620 column 15 execute using unsanitize user inputs
Error
if ( false == $reblogs_db_state && ! $this->in_jetpack ) { $g_gif = file_get_contents( 'https://pixel.wp.com/g.gif?v=wpcom-no-pv&x_reblogs=reenabled_reblogs' ); if ( false == $reblogs_db_state && ! $this->in_jetpack ) {
The function file_get_contents line 627 column 15 execute using unsanitize user inputs
- The topic ‘Suspicious function found’ is closed to new replies.