Changeset 56598
- Timestamp:
- 09/17/2023 02:08:25 AM (15 months ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu.php
r56549 r56598 64 64 // $menu[5] = Posts. 65 65 66 $menu[10] = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' );67 $submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' );66 $menu[10] = array( __( 'Media' ), 'upload_files', 'upload.php', '', 'menu-top menu-icon-media', 'menu-media', 'dashicons-admin-media' ); 67 $submenu['upload.php'][5] = array( __( 'Library' ), 'upload_files', 'upload.php' ); 68 68 $submenu['upload.php'][10] = array( __( 'Add New Media File' ), 'upload_files', 'media-new.php' ); 69 69 $i = 15; … … 77 77 unset( $tax, $i ); 78 78 79 $menu[15] = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' );80 $submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' );79 $menu[15] = array( __( 'Links' ), 'manage_links', 'link-manager.php', '', 'menu-top menu-icon-links', 'menu-links', 'dashicons-admin-links' ); 80 $submenu['link-manager.php'][5] = array( _x( 'All Links', 'admin menu' ), 'manage_links', 'link-manager.php' ); 81 81 $submenu['link-manager.php'][10] = array( __( 'Add New Link' ), 'manage_links', 'link-add.php' ); 82 82 $submenu['link-manager.php'][15] = array( __( 'Link Categories' ), 'manage_categories', 'edit-tags.php?taxonomy=link_category' ); -
trunk/src/wp-includes/blocks.php
r56592 r56598 873 873 foreach ( $blocks as $block ) { 874 874 $result .= serialize_block( $block, $callback ); 875 } ;875 } 876 876 return $result; 877 877 } -
trunk/tests/phpunit/tests/formatting/wpTrimExcerpt.php
r56561 r56598 182 182 add_filter( 183 183 'the_content', 184 static function ( $content ) use ( &$has_filter ) {184 static function ( $content ) use ( &$has_filter ) { 185 185 $has_filter = has_filter( 'the_content', 'do_blocks' ); 186 186 return $content;
Note: See TracChangeset
for help on using the changeset viewer.