Possible variable $this found
-
Hello,
I got the following message. What should i replace instead of $this i think it tell me that dont use variable.
1. RECOMMENDED: Possible variable $this found in translation function in class-tgm-plugin-activation.php. Translation function calls must NOT contain PHP variables.
Line 503:
echo '<p><a href=''>menu, admin_url( $this->parent_url_slug ) ) . '' title='' . esc_attr( $this->strings['return'] ) . '' target='_parent'>' . __( $this->strings['return'],'clear' ) . '</a></p>';2. i got this
Line 10: require_once(‘OAuth.php’);3.
iframe was found in the file single.php iframes are sometimes used to load unwanted adverts and code on your site.Line 88: <iframe src=’http://player.vimeo.com/video/<?php echo $post_type[‘vimeo’];?>
4.the most important
WARNING: curl_init was found in the file twitteroauth.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 195: $ci = curl_init();
WARNING: curl_exec was found in the file twitteroauth.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 221: $response = curl_exec($ci);
The topic ‘Possible variable $this found’ is closed to new replies.