mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 11:14:36 +00:00
Docs: Remove @staticvar tags from core.
The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x. Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs. Props alishanvr, jrf. Fixes #50426. git-svn-id: https://develop.svn.wordpress.org/trunk@48109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -453,8 +453,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
/**
|
||||
* __isset() magic method for properties formerly returned by current_theme_info()
|
||||
*
|
||||
* @staticvar array $properties
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param string $offset Property to check if set.
|
||||
@@ -547,8 +545,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
/**
|
||||
* Method to implement ArrayAccess for keys formerly returned by get_themes()
|
||||
*
|
||||
* @staticvar array $keys
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @param mixed $offset
|
||||
@@ -810,9 +806,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
* @since 3.4.0
|
||||
* @since 5.4.0 Added support for `Requires at least` and `Requires PHP` headers.
|
||||
*
|
||||
* @staticvar array $header_tags
|
||||
* @staticvar array $header_tags_with_a
|
||||
*
|
||||
* @param string $header Theme header. Accepts 'Name', 'Description', 'Author', 'Version',
|
||||
* 'ThemeURI', 'AuthorURI', 'Status', 'Tags', 'RequiresWP', 'RequiresPHP'.
|
||||
* @param string $value Value to sanitize.
|
||||
@@ -876,8 +869,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @staticvar string $comma
|
||||
*
|
||||
* @param string $header Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
|
||||
* @param string|array $value Value to mark up. An array for Tags header, string otherwise.
|
||||
* @param string $translate Whether the header has been translated.
|
||||
@@ -922,8 +913,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @staticvar array $tags_list
|
||||
*
|
||||
* @param string $header Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
|
||||
* @param string|array $value Value to translate. An array for Tags header, string otherwise.
|
||||
* @return string|array Translated value. An array for Tags header, string otherwise.
|
||||
@@ -1473,8 +1462,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @staticvar array $allowed_themes
|
||||
*
|
||||
* @return string[] Array of stylesheet names.
|
||||
*/
|
||||
public static function get_allowed_on_network() {
|
||||
@@ -1500,8 +1487,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @staticvar array $allowed_themes
|
||||
*
|
||||
* @param int $blog_id Optional. ID of the site. Defaults to the current site.
|
||||
* @return string[] Array of stylesheet names.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user