base64_encode() is not allowed.
-
i have developed a theme when i check it with theme check plugin its give the followings warnings.
WARNING: Found base64_encode in the file OAuth.php. base64_encode() is not allowed.
Line 116: return base64_encode(hash_hmac(‘sha1’, $base_string, $key, true));
WARNING: file_get_contents was found in the file OAuth.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 270: file_get_contents(self::$POST_INPUT)
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);
please any one know what should i replace instead of all these to remove the warnings!
- The topic ‘base64_encode() is not allowed.’ is closed to new replies.