Changeset 43571 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r43027 r43571 232 232 $this->template = $this->stylesheet; 233 233 $this->cache_add( 234 'theme', array( 234 'theme', 235 array( 235 236 'headers' => $this->headers, 236 237 'errors' => $this->errors, … … 248 249 $this->template = $this->stylesheet; 249 250 $this->cache_add( 250 'theme', array( 251 'theme', 252 array( 251 253 'headers' => $this->headers, 252 254 'errors' => $this->errors, … … 271 273 $this->errors = new WP_Error( 'theme_child_invalid', sprintf( __( 'The theme defines itself as its parent theme. Please check the %s header.' ), '<code>Template</code>' ) ); 272 274 $this->cache_add( 273 'theme', array( 275 'theme', 276 array( 274 277 'headers' => $this->headers, 275 278 'errors' => $this->errors, … … 294 297 $this->errors = new WP_Error( 'theme_no_index', $error_message ); 295 298 $this->cache_add( 296 'theme', array( 299 'theme', 300 array( 297 301 'headers' => $this->headers, 298 302 'errors' => $this->errors, … … 320 324 $this->errors = new WP_Error( 'theme_no_parent', sprintf( __( 'The parent theme is missing. Please install the "%s" parent theme.' ), esc_html( $this->template ) ) ); 321 325 $this->cache_add( 322 'theme', array( 326 'theme', 327 array( 323 328 'headers' => $this->headers, 324 329 'errors' => $this->errors, … … 339 344 $_child->errors = new WP_Error( 'theme_parent_invalid', sprintf( __( 'The "%s" theme is not a valid parent theme.' ), esc_html( $_child->template ) ) ); 340 345 $_child->cache_add( 341 'theme', array( 346 'theme', 347 array( 342 348 'headers' => $_child->headers, 343 349 'errors' => $_child->errors, … … 350 356 $this->errors = new WP_Error( 'theme_parent_invalid', sprintf( __( 'The "%s" theme is not a valid parent theme.' ), esc_html( $this->template ) ) ); 351 357 $this->cache_add( 352 'theme', array( 358 'theme', 359 array( 353 360 'headers' => $this->headers, 354 361 'errors' => $this->errors,
Note: See TracChangeset
for help on using the changeset viewer.