Changeset 944924
- Timestamp:
- 07/08/2014 12:55:17 PM (12 years ago)
- Location:
- wp-symposium-toolbar/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
wp-symposium-toolbar.php (modified) (2 diffs)
-
wp-symposium-toolbar_admin_functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-symposium-toolbar/trunk/readme.txt
r943738 r944924 9 9 Tested up to: 3.9 10 10 Stable tag: 0.29.0 11 Version: 0.29.1 111 Version: 0.29.12 12 12 License: GPLv2 or later 13 13 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wp-symposium-toolbar/trunk/wp-symposium-toolbar.php
r943738 r944924 11 11 Tested up to: 3.9 12 12 Stable tag: 0.29.0 13 Version: 0.29.1 113 Version: 0.29.12 14 14 License: GPLv2 or later 15 15 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 // Increase Build nr at each version 24 24 global $wpst_buildnr; 25 $wpst_buildnr = 291 1;25 $wpst_buildnr = 2912; 26 26 27 27 -
wp-symposium-toolbar/trunk/wp-symposium-toolbar_admin_functions.php
r943738 r944924 1530 1530 // Get post data for these items, and add nav_menu_item data 1531 1531 if ( $items ) { 1532 $sql = "SELECT * FROM ".$wpdb->base_prefix."posts WHERE ID IN ( ".implode( ",", $items )." ) AND post_type = 'nav_menu_item' AND post_status = 'publish' ORDER BY menu_order ASC "; 1532 global $blog_id; 1533 $wpdb_prefix = ( $blog_id == "1" ) ? $wpdb->base_prefix : $wpdb->base_prefix.$blog_id."_"; 1534 $sql = "SELECT * FROM ".$wpdb_prefix."posts WHERE ID IN ( ".implode( ",", $items )." ) AND post_type = 'nav_menu_item' AND post_status = 'publish' ORDER BY menu_order ASC "; 1533 1535 $menu_items = array_map( 'wp_setup_nav_menu_item', $wpdb->get_results( $sql ) ); 1534 1536 }
Note: See TracChangeset
for help on using the changeset viewer.