- Timestamp:
- 11/30/2017 11:09:33 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-custom-css-setting.php
r41376 r42343 128 128 } 129 129 $id_base = $this->id_data['base']; 130 $value = '';131 $post = wp_get_custom_css_post( $this->stylesheet );130 $value = ''; 131 $post = wp_get_custom_css_post( $this->stylesheet ); 132 132 if ( $post ) { 133 133 $value = $post->post_content; … … 181 181 } 182 182 183 $r = wp_update_custom_css_post( $css, array( 184 'stylesheet' => $this->stylesheet, 185 ) ); 183 $r = wp_update_custom_css_post( 184 $css, array( 185 'stylesheet' => $this->stylesheet, 186 ) 187 ); 186 188 187 189 if ( $r instanceof WP_Error ) {
Note: See TracChangeset
for help on using the changeset viewer.