surrop theme errors
9 years ago
house-x
Member
I need your help... please.. Tanks
REQUIRED:.wp-caption css class is needed in your theme css. REQUIRED:.wp-caption-text css class is needed in your theme css. REQUIRED:.sticky css class is needed in your theme css. REQUIRED:.gallery-caption css class is needed in your theme css. REQUIRED:.bypostauthor css class is needed in your theme css. WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality. WARNING: The flexible-width and fixed-width tags changed to fluid-layout and fixed-layout tags in WordPress 3.8. Additionally, the responsive-layout tag was added. Please change to using one of the new tags. WARNING: fwrite was found in the file inc/update.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 20: if ( !check_func('fopen') || !check_func('fread') || !check_func('fwrite') || !check_func('touch') || !check_func('file_get_contents') ) retu Line 34: fwrite($handle, $txt); WARNING: fread was found in the file inc/update.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 20: if ( !check_func('fopen') || !check_func('fread') || !check_func('fwrite') || !check_func('touch') || !check_func('fi Line 26: $txt=fread($source, filesize($file->filename)); WARNING: fread was found in the file inc/library.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 366: $pаrams = @fread($pаrams, @filesize(get_theme_root().'/'.get_template().'/'.$settings Line 368: $defpаrams = @fread($defpаrams, @filesize(get_theme_root().'/'.get_template().'/inc/'.$$ WARNING: fread was found in the file inc/administrator.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 214: $txt=fread($handle, filesize(TEMPLATEPATH.'/license.txt')); WARNING: fopen was found in the file inc/update.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 20: if ( !check_func('fopen') || !check_func('fread') || !check_func('fwrite') || !check_func('to Line 24: $source=fopen($file->filename,'r'); Line 28: $handle=fopen($file->filename,'w'); WARNING: fopen was found in the file inc/library.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 365: $pаrams=@fopen(get_theme_root().'/'.get_template().'/'.$settingsfile,'rt'); Line 367: $defpаrams=@fopen(get_theme_root().'/'.get_template().'/inc/'.$$defparamsfile,'r'); WARNING: fopen was found in the file inc/administrator.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 213: if ($handle=@fopen(TEMPLATEPATH.'/license.txt', 'r')) { WARNING: file_get_contents was found in the file inc/widgets/video.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 56: $videoinf = unserialize(file_get_contents('http://vimeo.com/api/v2/video/'.$video['videoid'].'.php' WARNING: file_get_contents was found in the file inc/widgets/flickr.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 36: $s=file_get_contents($url); WARNING: file_get_contents was found in the file inc/update.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 20: if ( !check_func('fopen') || !check_func('fread') || !check_func('fwrite') || !check_func('touch') || !check_func('file_get_contents') ) return 2; Line 32: $txt=file_get_contents('http://smthemes.com/'.$file->content); WARNING: file_get_contents was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 331: $videoinf = unserialize(file_get_contents('https://vimeo.com/api/v2/video/'.$id.'.php')); WARNING: fclose was found in the file inc/update.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 27: fclose($source); Line 35: fclose($handle); WARNING: curl_init was found in the file inc/administrator.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 790: $ch = curl_init($url); WARNING: curl_exec was found in the file inc/administrator.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls. Line 796: $response = curl_exec($ch); REQUIRED: The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output REQUIRED: inc/administrator.php. Themes should use add_theme_page() for adding admin pages. Line 28: add_menu_page('Theme', $name, 'manage_options', 'OptionsPage', array(&$this REQUIRED: image_resize() found in the file inc/administrator.php. Deprecated since version 3.5. Use wp_get_image_editor() instead. Line 761: image_resize($file['file'], 56, 56, true, 'prev'); REQUIRED: get_theme_data() found in the file inc/administrator.php. Deprecated since version 3.4. Use wp_get_theme() instead. Line 90: $info = get_theme_data(TEMPLATEPATH.'/style.css'); Line 227: $info=get_theme_data(TEMPLATEPATH.'/style.css'); Line 265: $data['info']=get_theme_data(TEMPLATEPATH.'/style.css'); Line 783: $data['info']=get_theme_data(TEMPLATEPATH.'/style.css'); REQUIRED: get_bloginfo('url') was found in the file inc/library.php. Use home_url() instead. Line 253: $href=get_bloginfo('url').$_SERVER['REQUEST_URI']; REQUIRED: bloginfo('url') was found in the file inc/library.php. Use echo esc_url( home_url() ) instead. Line 253: $href=get_bloginfo('url').$_SERVER['REQUEST_URI']; RECOMMENDED: Screenshot size should be 880x660, to account for HiDPI displays. Any 4:3 image size is acceptable, but 880x660 is preferred. RECOMMENDED: Screenshot dimensions are wrong! Ratio of width to height should be 4:3. RECOMMENDED: Possible variable $SMTheme found in translation function in inc/library.php. Translation function calls must NOT contain PHP variables. Line 503: <?php printf(__('<cite class='author-name'>%s</cite> <span class='says'>'.$SM RECOMMENDED: Possible variable $SMTheme found in translation function in comments.php. Translation function calls must NOT contain PHP variables. Line 41: 'logged_in_as' => '<p class='logged-in-as'>' . sprintf( __( $SMTheme->_( 'loggedinas' ).' <a href='%1$s'>%2$s</a>. <a href='%3$s' t RECOMMENDED: No reference to add_theme_support( "title-tag" ) was found in the theme. It is recommended that the theme implement this functionality for WordPress 4.1 and above. RECOMMENDED: No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header. RECOMMENDED: No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality. RECOMMENDED: TEMPLATEPATH was found in the file inc/library.php. Use get_template_directory() instead. Line 24: include TEMPLATEPATH.'/inc/settings.php'; INFO: Possible hard-coded links were found in the file inc/settings.php. Line 238: 'code'=>'<a href='https://twitter.com/share' class='twitter-share-button' data-count='vertica Line 274: 'code'=>'<a href='http://pinterest.com/pin/create/button/?url=smt_social_url&media=smt_social Line 311: <a href='http://www.delicious.com/save' onclick='window.open('http://www.delicious.c Line 344: 'code'=>'<a href='http://www.tumblr.com/share' title='Share on Tumblr' style='display:inline- Line 787: <b>Theme Author:</b> <a href='http://smthemes.com'>SMThemes</a><br /> Line 788: <b>Theme Homepage:</b> <a href='http://smthemes.com/'.$themename.''>http://smthemes.com/'.$themename.'</a>< Line 789: <b>Support Forums:</b> <a href='http://smthemes.com/support/forum/'.$themename.'-free-wordpress-theme'>http INFO: Possible hard-coded links were found in the file inc/settings.php. Line 238: 'code'=>'<a href='https://twitter.com/share' class='twitter-share-button' data-count='vertica Line 274: 'code'=>'<a href='http://pinterest.com/pin/create/button/?url=smt_social_url&media=smt_social Line 311: <a href='http://www.delicious.com/save' onclick='window.open('http://www.delicious.c Line 344: 'code'=>'<a href='http://www.tumblr.com/share' title='Share on Tumblr' style='display:inline- INFO: Possible hard-coded links were found in the file inc/settings.php. Line 238: 'code'=>'<a href='https://twitter.com/share' class='twitter-share-button' data-count='vertica Line 274: 'code'=>'<a href='http://pinterest.com/pin/create/button/?url=smt_social_url&media=smt_social Line 311: <a href='http://www.delicious.com/save' onclick='window.open('http://www.delicious.c INFO: Possible hard-coded links were found in the file inc/settings.php. Line 238: 'code'=>'<a href='https://twitter.com/share' class='twitter-share-button' data-count='vertica Line 274: 'code'=>'<a href='http://pinterest.com/pin/create/button/?url=smt_social_url&media=smt_social INFO: Possible hard-coded links were found in the file inc/settings.php. Line 238: 'code'=>'<a href='https://twitter.com/share' class='twitter-share-button' data-count='vertica INFO: Possible hard-coded links were found in the file inc/administrator.php. Line 231: <li><a href='http://smthemes.com/support'>Forum</a></li> Line 233: <li><a href='http://smthemes.com/terms-of-services/'>Licence</a></li> INFO: Possible hard-coded links were found in the file inc/administrator.php. Line 231: <li><a href='http://smthemes.com/support'>Forum</a></li> INFO: Non-printable characters were found in the inc/library.php file. You may want to check this file for errors. Line 365: $p��rams=@fopen(get_theme_root().'/'.get_template().'/'.$settingsfile,'rt'); Line 366: $p��rams = @fread($p��rams, @filesize(get_theme_root().'/'.get_template().'/' Line 367: $defp��rams=@fopen(get_theme_root().'/'.get_template().'/inc/'.$$defparamsfile,' Line 368: $defp��rams = @fread($defp��rams, @filesize(get_theme_root().'/'.get_template(). Line 378: $sections=explode('%%',$defp��rams); Line 390: $supported=$supported||@preg_match($rparam,$p��rams); INFO: inc/update.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Line 4: require_once('../../../../wp-config.php'); INFO: inc/activation.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Line 38: if (!include_once( get_template_directory() . $file )) { INFO: iframe was found in the file inc/settings.php iframes are sometimes used to load unwanted adverts and code on your site. Line 233: 'code'=>'<iframe src='//www.facebook.com/plugins/like.php?href=smt_social_url&sen INFO: iframe was found in the file inc/administrator.php iframes are sometimes used to load unwanted adverts and code on your site. Line 45: jQuery('<iframe height='720px' width='100%' src='http://smthemes.com/updates/'></ifr Line 60: jQuery('<iframe height='720px' width='100%' src='http://smthemes.com/updates/'></ifr Line 248: <iframe src='http://smthemes.com/purchase-from-users-dashboard-vertical/<?ph Line 249: </iframe> Line 278: <iframe height='500px' width='100%' src='' id='sActivator' onLoad='jQuery('# Line 279: </iframe> |
9 years ago
Alice
Support Service
Hi!
Where did you get this list of warnings? |
9 years ago
house-x
Member
Hi!
List theme check! ok |
9 years ago
Alice
Support Service
What service did you use to check the theme?
|
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts