Changeset 52312 for trunk/src/wp-includes/block-editor.php
- Timestamp:
- 12/03/2021 03:28:21 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r52275 r52312 468 468 */ 469 469 $backup_global_post = ! empty( $post ) ? clone $post : $post; 470 471 foreach ( $preload_paths as &$path ) { 472 if ( is_string( $path ) && ! str_starts_with( $path, '/' ) ) { 473 $path = '/' . $path; 474 continue; 475 } 476 477 if ( is_array( $path ) && is_string( $path[0] ) && ! str_starts_with( $path[0], '/' ) ) { 478 $path[0] = '/' . $path[0]; 479 } 480 } 470 481 471 482 $preload_data = array_reduce(
Note: See TracChangeset
for help on using the changeset viewer.