[wp-trac] Re: [WordPress Trac] #5605: r6567 breaks wp-admin
WordPress Trac
wp-trac at lists.automattic.com
Wed Jan 9 17:42:49 GMT 2008
#5605: r6567 breaks wp-admin
-----------------------------+----------------------------------------------
Reporter: christianthheim | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Administration | Version:
Severity: normal | Resolution: invalid
Keywords: |
-----------------------------+----------------------------------------------
Comment (by ryan):
wp_default_editor() is being called when WP_Scripts is constructed. This
function gets the current user. When a plugin calls one of the script-
loader functions, WP_Scripts is constructed before the current user is
setup. The error will occur even if a script waits until init to use the
script loader. Addressing #4181 would help that, but plugins that were
unconditionally registering scripts will still break.
--
Ticket URL: <http://trac.wordpress.org/ticket/5605#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list