- Timestamp:
- 08/17/2018 01:50:26 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/customize/custom-css-setting.php
r42343 r43571 170 170 // Make sure that wp_update_custom_css_post() works as expected for updates. 171 171 $r = wp_update_custom_css_post( 172 'body { color:red; }', array( 172 'body { color:red; }', 173 array( 173 174 'stylesheet' => $this->setting->stylesheet, 174 175 'preprocessed' => "body\n\tcolor:red;", … … 186 187 // Make sure that wp_update_custom_css_post() works as expected for insertion. 187 188 $r = wp_update_custom_css_post( 188 'body { background:black; }', array( 189 'body { background:black; }', 190 array( 189 191 'stylesheet' => 'other', 190 192 ) … … 215 217 216 218 $post = wp_update_custom_css_post( 217 $inserted_css, array( 219 $inserted_css, 220 array( 218 221 'stylesheet' => 'testtheme', 219 222 ) … … 226 229 227 230 wp_update_custom_css_post( 228 $updated_css, array( 231 $updated_css, 232 array( 229 233 'stylesheet' => 'testtheme', 230 234 )
Note: See TracChangeset
for help on using the changeset viewer.