[wp-trac] [WordPress Trac] #12821: Merge get_posts() and get_pages()

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 6 17:41:43 UTC 2011


#12821: Merge get_posts() and get_pages()
-------------------------------------+-----------------------------
 Reporter:  mikeschinkel             |       Owner:  garyc40
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Post Types               |     Version:  3.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------
Changes (by grandslambert):

 * cc: shane@… (added)


Comment:

 I need to know if this issue will fix the following error when trying to
 use wp_dropdown_pages on a non-hierarchical custom post type:

 {{{
 Notice: Only variable references should be returned by
 reference in /var/www/wpblabber.lan/wp-includes/post.php on line 3313
 }}}

 That seems to be something that needs to be looked at as well. This only
 shows when debug mode is on, but when using wp_dropdown_pages on non-
 hierarchical post types, no dropdown appears.

 Before anyone complains about this not being related, please see ticket
 ##14823

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


More information about the wp-trac mailing list