Changeset 49225
- Timestamp:
- 10/20/2020 01:27:48 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r49223 r49225 2245 2245 */ 2246 2246 function _media_states( $post, $echo = true ) { 2247 $media_states = get_media_states( $post );2247 $media_states = get_media_states( $post ); 2248 2248 $media_states_string = ''; 2249 2249 -
trunk/src/wp-includes/functions.php
r49215 r49225 7600 7600 $size = 0; 7601 7601 7602 $directory = untrailingslashit( $directory );7602 $directory = untrailingslashit( $directory ); 7603 7603 $cache_path = normalize_dirsize_cache_path( $directory ); 7604 7604 $save_cache = false; -
trunk/src/wp-includes/rest-api.php
r49194 r49225 320 320 // Site Health 321 321 $site_health = WP_Site_Health::get_instance(); 322 $controller = new WP_REST_Site_Health_Controller( $site_health );322 $controller = new WP_REST_Site_Health_Controller( $site_health ); 323 323 $controller->register_routes(); 324 324 } -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php
r49224 r49225 367 367 'type' => 'object', 368 368 'properties' => array( 369 'api_version' 369 'api_version' => array( 370 370 'description' => __( 'Version of block API.' ), 371 371 'type' => 'integer', -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-site-health-controller.php
r49154 r49225 187 187 public function get_directory_sizes() { 188 188 if ( ! class_exists( 'WP_Debug_Data' ) ) { 189 require_once ( ABSPATH . 'wp-admin/includes/class-wp-debug-data.php' );189 require_once ABSPATH . 'wp-admin/includes/class-wp-debug-data.php'; 190 190 } 191 191
Note: See TracChangeset
for help on using the changeset viewer.