Changes between Initial Version and Version 1 of Ticket #13958, comment 37
- Timestamp:
- 06/11/2011 11:34:09 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13958, comment 37
initial v1 4 4 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. 5 5 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 lution 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()}}}. 7 7 8 8 - 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.