[wp-trac] [WordPress Trac] #20393: Undefined variable in XML-RPC method mt_getRecentPostTitles()

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 8 09:35:04 UTC 2012


#20393: Undefined variable in XML-RPC method mt_getRecentPostTitles()
------------------------------+-----------------------
 Reporter:  duck_             |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  3.4
Component:  Warnings/Notices  |    Version:  2.3.2
 Severity:  normal            |   Keywords:  has-patch
------------------------------+-----------------------
 If there are no editable posts, but some posts do exist then
 mt_getRecentPostTitles() emits a notice:

 {{{
 Undefined variable: struct on line 4524.
 }}}

 Easily reproducible when running the tests for this method with WP_DEBUG
 enabled.

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


More information about the wp-trac mailing list