[theme-reviewers] Theme Review

Zulfikar Nore zulfikarnore at live.com
Fri Feb 14 15:13:22 UTC 2014


I've had notice a few times on themes I've reviewed but searching through the theme never did return anything that would explain the error - at least not from my visual code search anyways.

Having said that, on the ticket referenced that error only appeared and kept returning each time I activated that having cleared the log - which I do on each and after every review or theme test :)

"If you can't find the source of an error message, deactivate all other Plugins" - Even the Log Deprecated Notice plugin?

Date: Fri, 14 Feb 2014 08:16:47 -0500
From: chip at chipbennett.net
To: theme-reviewers at lists.wordpress.org
Subject: Re: [theme-reviewers] Theme Review

1) Use Log Deprecated Notices Plugin (be sure to clear the log between reviews/Themes)2) If you can't find the source of an error message, deactivate all other Plugins
And most importantly: Reviewers, please don't blindly print out error messages reported by the various Plugins we use. Please first verify that the error message does, in fact, come from the Theme being reviewed.


On Fri, Feb 14, 2014 at 7:55 AM, Bass Jobsen <bass at w3masters.nl> wrote:


2014-02-14 10:43 GMT+01:00 Nitin Solanky <nitin at techacadium.com>:



Argument in WP_Query() Used in wp-includes/query.php on line 3243.
"caller_get_posts" is deprecated. Use "ignore_sticky_posts" instead.
Deprecated in version 3.1.I got a above review from the wordpress theme reviewer,but i did not find any issue related to above review.Is any one who can help me for solve above issue.


You can make this warning visible by setting WP_DEBUG to true in wp-config.phpThe error / notice mentioned above will be trigger by:

                if ( isset( $q['caller_get_posts'] ) ) {  

                        _deprecated_argument( 'WP_Query', '3.1', __( '"caller_get_posts" is deprecated. Use "ignore_sticky_posts" instead.' )$                         if ( !isset( $q['ignore_sticky_posts'] ) )


                                $q['ignore_sticky_posts'] = $q['caller_get_posts'];
                }
in wp-includes/query.php



To solve search in your theme files for "caller_get_posts" and replace with "ignore_sticky_posts".
NB i don't know which theme you are talking about. I found https://themes.trac.wordpress.org/ticket/16268 got this warning too, but when i search the files they do not contain "caller_get_posts" at all??





 _______________________________________________




theme-reviewers mailing list

theme-reviewers at lists.wordpress.org

http://lists.wordpress.org/mailman/listinfo/theme-reviewers





_______________________________________________

theme-reviewers mailing list

theme-reviewers at lists.wordpress.org

http://lists.wordpress.org/mailman/listinfo/theme-reviewers





_______________________________________________
theme-reviewers mailing list
theme-reviewers at lists.wordpress.org
http://lists.wordpress.org/mailman/listinfo/theme-reviewers 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20140214/4e672948/attachment-0001.html>


More information about the theme-reviewers mailing list