WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #13958, comment 37


Ignore:
Timestamp:
06/11/11 11:34:09 (3 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13958, comment 37

    initial v1  
    44  Side effect was also if you set post_status to draft that you will get the "Click Save Menu to make pending menu items public." message. So just remove the both lines. 
    55 
    6  - comment:35: I noticed that we can't do this check, because we are using [http://core.trac.wordpress.org/browser/trunk/wp-admin/nav-menus.php#L327 ''publish'' in the admin too]. Solution is, too use {{{! is_admin()}}}. 
     6 - comment:35: I noticed that we can't do this check, because we are using [http://core.trac.wordpress.org/browser/trunk/wp-admin/nav-menus.php#L327 ''publish'' in the admin too]. So the menu item couldn't be deleted. Solution is, too use {{{! is_admin()}}}. 
    77 
    88 - I added to the patch also a small message if {{{$some_invalid_menu_items}} exists, same as {{{$some_pending_menu_items}}}. String needs a review.