Changeset 32878
- Timestamp:
- 06/19/2015 10:07:12 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-customize-setting.php
r32874 r32878 925 925 * @return array Array of menu items, 926 926 */ 927 function filter_wp_get_nav_menu_items( $items, $menu, $args ) {927 public function filter_wp_get_nav_menu_items( $items, $menu, $args ) { 928 928 $this_item = $this->value(); 929 929 $current_nav_menu_term_id = $this_item['nav_menu_term_id']; … … 996 996 * @return array Array of menu items, 997 997 */ 998 static function sort_wp_get_nav_menu_items( $items, $menu, $args ) {998 public static function sort_wp_get_nav_menu_items( $items, $menu, $args ) { 999 999 // @todo We should probably re-apply some constraints imposed by $args. 1000 1000 unset( $args['include'] ); … … 1268 1268 * @return array 1269 1269 */ 1270 function amend_customize_save_response( $data ) {1270 public function amend_customize_save_response( $data ) { 1271 1271 if ( ! isset( $data['nav_menu_item_updates'] ) ) { 1272 1272 $data['nav_menu_item_updates'] = array(); … … 1516 1516 * @return object|null 1517 1517 */ 1518 function filter_wp_get_nav_menu_object( $menu_obj, $menu_id ) {1518 public function filter_wp_get_nav_menu_object( $menu_obj, $menu_id ) { 1519 1519 $ok = ( 1520 1520 get_current_blog_id() === $this->_previewed_blog_id … … 1561 1561 * @return array 1562 1562 */ 1563 function filter_nav_menu_options( $nav_menu_options ) {1563 public function filter_nav_menu_options( $nav_menu_options ) { 1564 1564 if ( $this->_previewed_blog_id !== get_current_blog_id() ) { 1565 1565 return $nav_menu_options; … … 1755 1755 * @return array 1756 1756 */ 1757 function amend_customize_save_response( $data ) {1757 public function amend_customize_save_response( $data ) { 1758 1758 if ( ! isset( $data['nav_menu_updates'] ) ) { 1759 1759 $data['nav_menu_updates'] = array();
Note: See TracChangeset
for help on using the changeset viewer.