Changeset 51090 for trunk/src/wp-admin/edit-form-blocks.php
- Timestamp:
- 06/08/2021 08:14:59 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r51003 r51090 132 132 $styles = array( 133 133 array( 134 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }', 134 'css' => 'body { font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif }', 135 '__unstableType' => 'core', 135 136 ), 136 137 ); … … 141 142 if ( ! is_wp_error( $response ) ) { 142 143 $styles[] = array( 143 'css' => wp_remote_retrieve_body( $response ), 144 'css' => wp_remote_retrieve_body( $response ), 145 '__unstableType' => 'theme', 144 146 ); 145 147 } … … 148 150 if ( is_file( $file ) ) { 149 151 $styles[] = array( 150 'css' => file_get_contents( $file ), 151 'baseURL' => get_theme_file_uri( $style ), 152 'css' => file_get_contents( $file ), 153 'baseURL' => get_theme_file_uri( $style ), 154 '__unstableType' => 'theme', 152 155 ); 153 156 }
Note: See TracChangeset
for help on using the changeset viewer.