Changeset 52610 for trunk/src/wp-includes/class-wp-theme.php
- Timestamp:
- 01/20/2022 11:51:22 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-theme.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-theme.php
r52603 r52610 699 699 * @since 3.4.0 700 700 * 701 * @return WP_Theme|false Parent theme, or false if the currenttheme is not a child theme.701 * @return WP_Theme|false Parent theme, or false if the active theme is not a child theme. 702 702 */ 703 703 public function parent() { … … 1218 1218 */ 1219 1219 public function get_post_templates() { 1220 // If you screw up your currenttheme and we invalidate your parent, most things still work. Let it slide.1220 // If you screw up your active theme and we invalidate your parent, most things still work. Let it slide. 1221 1221 if ( $this->errors() && $this->errors()->get_error_codes() !== array( 'theme_parent_invalid' ) ) { 1222 1222 return array();
Note: See TracChangeset
for help on using the changeset viewer.