[wp-trac] [WordPress Trac] #3461: wp_check_for_changed_slugs is in admin-functions.php, but may be called in other contexts

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 10 17:16:11 GMT 2006


#3461: wp_check_for_changed_slugs is in admin-functions.php, but may be called in
other contexts
-------------------------+--------------------------------------------------
 Reporter:  markjaquith  |       Owner:  anonymous
     Type:  defect       |      Status:  new      
 Priority:  high         |   Milestone:  2.1      
Component:  General      |     Version:  2.1      
 Severity:  blocker      |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 Saw this on the other Mark's blog while submitting a comment.

 {{{
 Warning: call_user_func_array() [function.call-user-func-array]: First
 argumented is expected to be a valid callback,
 'wp_check_for_changed_slugs' was given in /home/tamba2/public_html/T2/wp-
 includes/plugin.php on line 123
 }}}

 That function is called on edit_post.  He may have a plugin that is
 calling that hook in other contexts.  We should move that function out of
 admin-functions.php

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3461>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list