[wp-trac] [WordPress Trac] #17559: Deprecated query_string doesn't support array arguments

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 25 16:53:36 UTC 2011


#17559: Deprecated query_string doesn't support array arguments
--------------------------+---------------------
 Reporter:  nacin         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.1.4
Component:  Query         |     Version:
 Severity:  critical      |  Resolution:  fixed
 Keywords:                |
--------------------------+---------------------

Comment (by scribu):

 How about this:

 In Core, we keep a list of deprecated hooks inside a function:

 {{{
 function wp_get_deprecated_hooks() {
   return array(
     array( 'query_string', '3.2' ),
     array( ...
   );
 }
 }}}

 Then, from Log Deprecated Notices (or another plugin), we hook into 'all'
 and check that array etc.

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


More information about the wp-trac mailing list