Skip to content
Commit 267891a7 authored by Andrew Ozz's avatar Andrew Ozz
Browse files

Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or...

Add _doing_it_wrong() when a plugin or theme accesses $wp_scripts or $wp_styles too early (also fixes localization), props SergeyBiryukov, fixes #11526

git-svn-id: https://core.svn.wordpress.org/trunk@18556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent bd085f59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment