Changeset 44270
- Timestamp:
- 12/17/2018 06:06:42 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.0 merged: 43923-43924
- Property svn:mergeinfo changed
-
trunk/src/wp-admin/edit-form-blocks.php
r44267 r44270 198 198 } 199 199 } else { 200 $file = get_theme_file_path( $style ); 201 $styles[] = array( 202 'css' => file_get_contents( get_theme_file_path( $style ) ), 203 'baseURL' => get_theme_file_uri( $style ), 204 ); 200 $file = get_theme_file_path( $style ); 201 if ( file_exists( $file ) ) { 202 $styles[] = array( 203 'css' => file_get_contents( $file ), 204 'baseURL' => get_theme_file_uri( $style ), 205 ); 206 } 205 207 } 206 208 } -
trunk/src/wp-includes/blocks.php
r44261 r44270 284 284 * 285 285 * @param string $content Content to test. 286 * @return int The block format version .286 * @return int The block format version is 1 if the content contains one or more blocks, 0 otherwise. 287 287 */ 288 288 function block_version( $content ) {
Note: See TracChangeset
for help on using the changeset viewer.