Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #14045, comment 58


Ignore:
Timestamp:
03/17/2013 05:16:36 PM (12 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14045, comment 58

    initial v1  
    44Fixed the object name, but then got strange results: all the items from Pages meta box were copied to the menu without my intention. I already had two menus, so `oneThemeLocationNoMenus` should have been false.
    55
    6 It occured to me that `'false'` as a string (in `wp-admin/nav-menus.php`, line 358) still evaluates as true, which I guess caused this.
     6It occured to me that `'false'` as a string (in `wp-admin/nav-menus.php`, line 358) still evaluates to true, which I guess caused this.
    77
    88lessbloat, could you confirm that [attachment:14045.oneThemeLocationNoMenus.diff] works as intended?