Changeset 47196
- Timestamp:
- 02/05/2020 10:38:11 PM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r47194 r47196 31 31 'map_meta_cap' => true, 32 32 'menu_position' => 5, 33 'menu_icon' => 'dashicons-admin-post', 33 34 'hierarchical' => false, 34 35 'rewrite' => false, … … 55 56 'map_meta_cap' => true, 56 57 'menu_position' => 20, 58 'menu_icon' => 'dashicons-admin-page', 57 59 'hierarchical' => true, 58 60 'rewrite' => false, … … 86 88 ), 87 89 'map_meta_cap' => true, 90 'menu_icon' => 'dashicons-admin-media', 88 91 'hierarchical' => false, 89 92 'rewrite' => false, -
trunk/tests/phpunit/tests/post/types.php
r47186 r47196 265 265 266 266 /** 267 * @ticket 38844 268 */ 269 public function test_get_post_type_object_includes_menu_icon_for_builtin_post_types() { 270 $this->assertEquals( 'dashicons-admin-post', get_post_type_object( 'post' )->menu_icon ); 271 $this->assertEquals( 'dashicons-admin-page', get_post_type_object( 'page' )->menu_icon ); 272 $this->assertEquals( 'dashicons-admin-media', get_post_type_object( 'attachment' )->menu_icon ); 273 } 274 275 /** 267 276 * @ticket 14761 268 277 */
Note: See TracChangeset
for help on using the changeset viewer.