[wp-trac] [WordPress Trac] #18975: [E_STRICT] menu.php at line 218
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 28 16:52:37 UTC 2011
#18975: [E_STRICT] menu.php at line 218
--------------------------------------+-----------------------
Reporter: arena | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.3
Component: Menus | Version: 3.3
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch |
--------------------------------------+-----------------------
Comment (by scribu):
Also, this line is rather silly:
{{{
array_map('wp_setup_nav_menu_item', array( get_post( $var_by_ref ) ) )
}}}
It can just be:
{{{
array( wp_setup_nav_menu_item( get_post( $var_by_ref ) ) )
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18975#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list