Changeset 56176 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 07/09/2023 08:05:43 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r56018 r56176 166 166 167 167 if ( $parsed_args['checked_ontop'] ) { 168 // Post-process $categories rather than adding an exclude to the get_terms() query 169 // to keep the query the same across all posts (for any query cache). 168 /* 169 * Post-process $categories rather than adding an exclude to the get_terms() query 170 * to keep the query the same across all posts (for any query cache). 171 */ 170 172 $checked_categories = array(); 171 173 $keys = array_keys( $categories ); … … 1302 1304 printf( '<div id="%s-sortables" class="meta-box-sortables">', esc_attr( $context ) ); 1303 1305 1304 // Grab the ones the user has manually sorted. 1305 // Pull them out of their previous context/priority and into the one the user chose. 1306 /* 1307 * Grab the ones the user has manually sorted. 1308 * Pull them out of their previous context/priority and into the one the user chose. 1309 */ 1306 1310 $sorted = get_user_option( "meta-box-order_$page" ); 1307 1311
Note: See TracChangeset
for help on using the changeset viewer.