[wp-trac] Re: [WordPress Trac] #7705: Current page publishing status not being slected correctly in drop down menu

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 8 20:09:04 GMT 2008


#7705: Current page publishing status not being slected correctly in drop down
menu
-----------------------------------------+----------------------------------
 Reporter:  johnhennmacc                 |        Owner:  anonymous
     Type:  defect                       |       Status:  reopened 
 Priority:  normal                       |    Milestone:  2.7      
Component:  Administration               |      Version:  2.7      
 Severity:  major                        |   Resolution:           
 Keywords:  reporter-feedback has-patch  |  
-----------------------------------------+----------------------------------
Changes (by johnhennmacc):

  * keywords:  reporter-feedback => reporter-feedback has-patch
  * milestone:  => 2.7

Comment:

 I think that I now know what was causing this. A (phantom?) $page object
 was being fed to the do_meta_boxes function in the following line of edit-
 page-form.php:

 $side_meta_boxes = do_meta_boxes('page', 'side', $page);

 It should have been fed $post. I am attaching a new patch that supercedes
 the earlier one.

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


More information about the wp-trac mailing list