Changeset 54891 for trunk/tests/phpunit/tests/adminbar.php
- Timestamp:
- 11/29/2022 03:49:49 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/adminbar.php
r54088 r54891 38 38 register_post_type( 'content', array( 'show_in_admin_bar' => true ) ); 39 39 40 $admin_bar = new WP_Admin_Bar ;40 $admin_bar = new WP_Admin_Bar(); 41 41 42 42 wp_admin_bar_new_content_menu( $admin_bar ); … … 55 55 wp_set_current_user( self::$editor_id ); 56 56 57 $admin_bar = new WP_Admin_Bar ;57 $admin_bar = new WP_Admin_Bar(); 58 58 59 59 $admin_bar->add_node(
Note: See TracChangeset
for help on using the changeset viewer.