[theme-reviewers] how to handle 3.3 deprecated notice?
Chip Bennett
chip at chipbennett.net
Mon Oct 24 15:42:59 UTC 2011
But did it *not work* in WordPress 3.2, or did it *always* not work, and is
only now being *reported as such* in WordPress 3.3?
If the issue is improper hooking of enqueue calls, then absolutely; I agree:
require the enqueue call to be hooked properly, since that's already being
enforced.
Chip
On Mon, Oct 24, 2011 at 10:35 AM, Otto <otto at ottodestruct.com> wrote:
> Triggering of the _doing_it_wrong isn't exactly a "deprecation". If
> that's triggered, then the plugin/theme/whatever is triggering it is,
> basically, broken.
>
> In this particular case, if you try to enqueue a script too early,
> before the $wp_scripts has initialized, then the script won't be able
> to enqueue properly.
>
> So it's not a matter of guidelines, as such. The code is broken. It
> don't work. So, it should be fixed.
>
> -Otto
>
>
>
> On Mon, Oct 24, 2011 at 10:29 AM, Chip Bennett <chip at chipbennett.net>
> wrote:
> > As a courtesy, note the deprecated function call as RECOMMENDED in the
> > review.
> > Enforcement of WordPress 3.3 function deprecation will be implemented
> > approximately one month following final release of WordPress 3.3, at
> which
> > time we will finalize/go live with the WordPress 3.3 Guidelines
> revisions.
> > Chip
> >
> > On Mon, Oct 24, 2011 at 10:22 AM, Otto <otto at ottodestruct.com> wrote:
> >>
> >> Please don't reply to digest emails.
> >>
> >> And no, I wouldn't ignore such things. 3.3 is in beta 2 and well on
> >> track for release very soon. It would be a good idea to future proof
> >> things.
> >>
> >> That message, BTW, comes to you courtesy of the "_doing_it_wrong"
> >> function in WordPress. If you trigger it, then you're doing something
> >> wrong.
> >>
> >> -Otto
> >>
> >>
> >>
> >> On Mon, Oct 24, 2011 at 10:13 AM, Paul de Wouters
> >> <pauldewouters at zoho.com> wrote:
> >> > Hi
> >> > Should I ignore deprecated notices relative to version 3.3?
> >> >
> >> > Scripts and styles should not be registered or enqueued until
> >> > thewp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please
> >> > seeDebugging in WordPress for more information.
> >> > This message was added in version 3.3.
> >> > Should testing be done using the current stable version?
> >> > thanks
> >> _______________________________________________
> >> 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/20111024/05b30e38/attachment.htm>
More information about the theme-reviewers
mailing list