Changeset 61890
- Timestamp:
- 03/10/2026 01:25:02 PM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/post/nav-menu.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/nav-menu.php
r58854 r61890 1189 1189 ); 1190 1190 1191 $this->assertSame( 'Test Cat - "Pre-Slashed" Cat Name & >', $category->name ); 1192 1191 1193 $category_item_id = wp_update_nav_menu_item( 1192 1194 $this->menu_id, … … 1197 1199 'menu-item-object-id' => $category->term_id, 1198 1200 'menu-item-status' => 'publish', 1199 /* 1200 * Interestingly enough, if we use `$cat->name` for the menu item title, 1201 * we won't be able to replicate the bug because it's in htmlentities form. 1202 */ 1203 'menu-item-title' => $category_name, 1201 'menu-item-title' => $category->name, 1204 1202 ) 1205 1203 );
Note: See TracChangeset
for help on using the changeset viewer.