[wp-trac] [WordPress Trac] #22758: menu_order is 0 for new galleries so no backward compatibility
WordPress Trac
noreply at wordpress.org
Wed Dec 5 21:35:07 UTC 2012
#22758: menu_order is 0 for new galleries so no backward compatibility
--------------------------+------------------------
Reporter: vickybiswas | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Gallery | Version:
Severity: normal | Resolution: duplicate
Keywords: |
--------------------------+------------------------
Comment (by Viper007Bond):
FYI Vicky's code is a cool way to set `menu_order` based off of the `ids`
shortcode parameter but it's missing this before the `$ids` declaration:
{{{
if ( empty( $attributes['ids'] ) )
return;
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22758#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list