[wp-trac] [WordPress Trac] #25294: Changeset 25323 causes AJAX errors in WP Admin

WordPress Trac noreply at wordpress.org
Thu Sep 12 12:52:36 UTC 2013


#25294: Changeset 25323 causes AJAX errors in WP Admin
-------------------------------+------------------------------
 Reporter:  needle             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.6.1
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by dd32):

 Calling it on the init action, or even the plugins_loaded action would be
 fine, but calling it before then - when a plugin is included, is not.

 I was able to duplicate this with both the Advanced Custom Fields AND
 Admin in English plugins loaded.
 ACF by itself seems fine, but when Admin In English is also loaded, ACF
 calls `get_locale()` on include, which causes Admin In English to call
 `wp_get_referer()` on the `locale` filter before pluggable.php has been
 included.

 Obviously this is going to affect a few other plugins though.

 Why `wp_validate_redirect()` is in pluggable.php though is really
 debatable.. (but it's there, so too late to move it)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25294#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list