Make WordPress Core


Ignore:
Timestamp:
04/25/2012 05:34:19 PM (14 years ago)
Author:
nacin
Message:

Remove WP_Theme::is_child_theme() in favor of WP_Theme::parent(). see #20546.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-theme.php

    r20588 r20589  
    746746
    747747        /**
    748          * Whether a theme is a child theme.
    749          *
    750          * @since 3.4.0
    751          * @access public
    752          *
    753          * @return bool True if a theme is a child theme, false otherwise.
    754          */
    755         public function is_child_theme() {
    756                 return $this->template !== $this->stylesheet;
    757         }
    758 
    759         /**
    760748         * Returns the absolute path to the directory of a theme's "stylesheet" files.
    761749         *
Note: See TracChangeset for help on using the changeset viewer.