Changeset 62173
- Timestamp:
- 03/28/2026 11:49:49 PM (less than one hour ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
-
includes/class-wp-ms-themes-list-table.php (modified) (1 diff)
-
includes/upgrade.php (modified) (1 diff)
-
nav-menus.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r61717 r62173 60 60 $page = $this->get_pagenum(); 61 61 62 $this->is_site_themes = ( 'site-themes-network' === $this->screen->id ) ? true : false;62 $this->is_site_themes = 'site-themes-network' === $this->screen->id; 63 63 64 64 if ( $this->is_site_themes ) { -
trunk/src/wp-admin/includes/upgrade.php
r61644 r62173 3283 3283 'subpart' => $tableindex->Sub_part, 3284 3284 ); 3285 $index_ary[ $keyname ]['unique'] = ( '0' === (string) $tableindex->Non_unique ) ? true : false;3285 $index_ary[ $keyname ]['unique'] = '0' === (string) $tableindex->Non_unique; 3286 3286 $index_ary[ $keyname ]['index_type'] = $tableindex->Index_type; 3287 3287 } -
trunk/src/wp-admin/nav-menus.php
r61658 r62173 550 550 551 551 // Are we on the add new screen? 552 $add_new_screen = ( isset( $_GET['menu'] ) && 0 === (int) $_GET['menu'] ) ? true : false;553 554 $locations_screen = ( isset( $_GET['action'] ) && 'locations' === $_GET['action'] ) ? true : false;552 $add_new_screen = isset( $_GET['menu'] ) && 0 === (int) $_GET['menu']; 553 554 $locations_screen = isset( $_GET['action'] ) && 'locations' === $_GET['action']; 555 555 556 556 $page_count = wp_count_posts( 'page' );
Note: See TracChangeset
for help on using the changeset viewer.