Changeset 61953 for branches/5.7/tests/phpunit/tests/post/nav-menu.php
- Timestamp:
- 03/12/2026 02:06:43 AM (2 weeks ago)
- Location:
- branches/5.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/post/nav-menu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
- Property svn:mergeinfo changed
/trunk merged: 61879-61885,61887,61890,61913
- Property svn:mergeinfo changed
-
branches/5.7/tests/phpunit/tests/post/nav-menu.php
r50284 r61953 974 974 ); 975 975 976 $this->assertSame( 'Test Cat - "Pre-Slashed" Cat Name & >', $category->name ); 977 976 978 $category_item_id = wp_update_nav_menu_item( 977 979 $this->menu_id, … … 982 984 'menu-item-object-id' => $category->term_id, 983 985 'menu-item-status' => 'publish', 984 /* 985 * Interestingly enough, if we use `$cat->name` for the menu item title, 986 * we won't be able to replicate the bug because it's in htmlentities form. 987 */ 988 'menu-item-title' => $category_name, 986 'menu-item-title' => $category->name, 989 987 ) 990 988 );
Note: See TracChangeset
for help on using the changeset viewer.