[wp-trac] Re: [WordPress Trac] #7697: Disallow page from being its own parent

WordPress Trac wp-trac at lists.automattic.com
Sat Sep 6 20:13:49 GMT 2008


#7697: Disallow page from being its own parent
----------------------------+-----------------------------------------------
 Reporter:  mtekk           |        Owner:  anonymous
     Type:  defect          |       Status:  new      
 Priority:  normal          |    Milestone:  2.7      
Component:  Administration  |      Version:  2.6      
 Severity:  normal          |   Resolution:           
 Keywords:  page parent     |  
----------------------------+-----------------------------------------------
Changes (by mtekk):

  * version:  2.7 => 2.6

Comment:

 Ok for the page problem it looks like wp_dropdown_pages() is being called
 now instead of using parent_dropdown() and some surrounding code. If
 parent_dropdown is being depreciated, then wp_dropdown_pages() is going to
 need to be passed the excluded pages (which will have to be determined
 before calling it). It looks like even though it is supposed to be passed
 $post, $post ends up being NULL (so it does not even select the current
 parent page if there is one).

 I'm opening a new ticket for a similar problem with categories as I found
 the problem exists in 2.6.1.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7697#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list