diff --git a/wp-includes/class-wp-theme.php b/wp-includes/class-wp-theme.php index f161a63186..b373307402 100644 --- a/wp-includes/class-wp-theme.php +++ b/wp-includes/class-wp-theme.php @@ -148,7 +148,7 @@ final class WP_Theme implements ArrayAccess { * URL to the theme root, usually an absolute URL to wp-content/themes * * @access private - * var string + * @var string */ private $theme_root_uri; @@ -193,6 +193,8 @@ final class WP_Theme implements ArrayAccess { /** * Constructor for WP_Theme. * + * @since 3.4.0 + * * @global array $wp_theme_directories * * @param string $theme_dir Directory of the theme within the theme_root. @@ -333,6 +335,8 @@ final class WP_Theme implements ArrayAccess { /** * When converting the object to a string, the theme name is returned. * + * @since 3.4.0 + * * @return string Theme name, ready for display (translated) */ public function __toString() { @@ -344,6 +348,8 @@ final class WP_Theme implements ArrayAccess { * * @staticvar array $properties * + * @since 3.4.0 + * * @param string $offset Property to check if set. * @return bool Whether the given property is set. */ @@ -359,6 +365,8 @@ final class WP_Theme implements ArrayAccess { /** * __get() magic method for properties formerly returned by current_theme_info() * + * @since 3.4.0 + * * @param string $offset Property to get. * @return mixed Property value. */ @@ -401,6 +409,8 @@ final class WP_Theme implements ArrayAccess { /** * Method to implement ArrayAccess for keys formerly returned by get_themes() * + * @since 3.4.0 + * * @param mixed $offset * @param mixed $value */ @@ -409,6 +419,8 @@ final class WP_Theme implements ArrayAccess { /** * Method to implement ArrayAccess for keys formerly returned by get_themes() * + * @since 3.4.0 + * * @param mixed $offset */ public function offsetUnset( $offset ) {} @@ -418,6 +430,8 @@ final class WP_Theme implements ArrayAccess { * * @staticvar array $keys * + * @since 3.4.0 + * * @param mixed $offset * @return bool */ @@ -441,6 +455,8 @@ final class WP_Theme implements ArrayAccess { * and care should be taken to use `$theme::display( 'Name' )` to get a properly * translated header. * + * @since 3.4.0 + * * @param mixed $offset * @return mixed */ @@ -1226,6 +1242,8 @@ final class WP_Theme implements ArrayAccess { * * This hits the filesystem. * + * @since 4.4.0 + * * @return WP_Theme|false Object, or false if no theme is installed, which would be bad. */ public static function get_core_default_theme() { diff --git a/wp-includes/version.php b/wp-includes/version.php index a0d5d99442..169db6cf7a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39735'; +$wp_version = '4.8-alpha-39736'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.