mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Docs: Remove @static notations from method DocBlocks in wp-includes/* classes.
This tag has been used in the past, but should no longer be used. Just using the `static` keyword in code is enough for PhpDocumentor on PHP5+ to recognize static variables and methods, and PhpDocumentor will mark them as static. Props birgire. See #42803. git-svn-id: https://develop.svn.wordpress.org/trunk@42746 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1210,8 +1210,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $path Absolute path to search.
|
||||
* @param array|string|null $extensions Optional. Array of extensions to find, string of a single extension,
|
||||
* or null for all extensions. Default null.
|
||||
@@ -1362,8 +1360,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param int $blog_id Optional. ID of the site. Defaults to the current site.
|
||||
* @return array Array of stylesheet names.
|
||||
*/
|
||||
@@ -1388,8 +1384,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @staticvar array $allowed_themes
|
||||
*
|
||||
* @return array Array of stylesheet names.
|
||||
@@ -1417,8 +1411,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @staticvar array $allowed_themes
|
||||
*
|
||||
* @param int $blog_id Optional. ID of the site. Defaults to the current site.
|
||||
@@ -1498,7 +1490,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
* Enables a theme for all sites on the current network.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @static
|
||||
*
|
||||
* @param string|array $stylesheets Stylesheet name or array of stylesheet names.
|
||||
*/
|
||||
@@ -1523,7 +1514,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
* Disables a theme for all sites on the current network.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @static
|
||||
*
|
||||
* @param string|array $stylesheets Stylesheet name or array of stylesheet names.
|
||||
*/
|
||||
@@ -1551,8 +1541,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param array $themes Array of themes to sort (passed by reference).
|
||||
*/
|
||||
public static function sort_by_name( &$themes ) {
|
||||
@@ -1574,8 +1562,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $a First name.
|
||||
* @param string $b Second name.
|
||||
* @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally.
|
||||
@@ -1590,8 +1576,6 @@ final class WP_Theme implements ArrayAccess {
|
||||
*
|
||||
* @since 3.4.0
|
||||
*
|
||||
* @static
|
||||
*
|
||||
* @param string $a First name.
|
||||
* @param string $b Second name.
|
||||
* @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally.
|
||||
|
||||
Reference in New Issue
Block a user