mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Docs: Remove @access notations from method DocBlocks in wp-admin/* classes.
Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs. See #41452. git-svn-id: https://develop.svn.wordpress.org/trunk@41161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -18,7 +18,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $action;
|
||||
|
||||
@@ -28,7 +27,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $base;
|
||||
|
||||
@@ -37,7 +35,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @var int
|
||||
* @access private
|
||||
*/
|
||||
private $columns = 0;
|
||||
|
||||
@@ -46,7 +43,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $id;
|
||||
|
||||
@@ -55,7 +51,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.5.0
|
||||
* @var string
|
||||
* @access protected
|
||||
*/
|
||||
protected $in_admin;
|
||||
|
||||
@@ -67,7 +62,6 @@ final class WP_Screen {
|
||||
* @since 3.3.0
|
||||
* @deprecated 3.5.0
|
||||
* @var bool
|
||||
* @access public
|
||||
*/
|
||||
public $is_network;
|
||||
|
||||
@@ -79,7 +73,6 @@ final class WP_Screen {
|
||||
* @since 3.3.0
|
||||
* @deprecated 3.5.0
|
||||
* @var bool
|
||||
* @access public
|
||||
*/
|
||||
public $is_user;
|
||||
|
||||
@@ -90,7 +83,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $parent_base;
|
||||
|
||||
@@ -100,7 +92,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $parent_file;
|
||||
|
||||
@@ -111,7 +102,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $post_type;
|
||||
|
||||
@@ -120,7 +110,6 @@ final class WP_Screen {
|
||||
* The 'edit-tags.php?taxonomy=category' screen has a taxonomy of 'category'.
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access public
|
||||
*/
|
||||
public $taxonomy;
|
||||
|
||||
@@ -129,7 +118,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $_help_tabs = array();
|
||||
|
||||
@@ -138,7 +126,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
private $_help_sidebar = '';
|
||||
|
||||
@@ -146,7 +133,6 @@ final class WP_Screen {
|
||||
* The accessible hidden headings and text associated with the screen, if any.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @access private
|
||||
* @var array
|
||||
*/
|
||||
private $_screen_reader_content = array();
|
||||
@@ -155,7 +141,6 @@ final class WP_Screen {
|
||||
* Stores old string-based help.
|
||||
*
|
||||
* @static
|
||||
* @access private
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
@@ -166,7 +151,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var array
|
||||
* @access private
|
||||
*/
|
||||
private $_options = array();
|
||||
|
||||
@@ -176,7 +160,6 @@ final class WP_Screen {
|
||||
* @since 3.3.0
|
||||
*
|
||||
* @static
|
||||
* @access private
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
@@ -187,7 +170,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var bool
|
||||
* @access private
|
||||
*/
|
||||
private $_show_screen_options;
|
||||
|
||||
@@ -196,7 +178,6 @@ final class WP_Screen {
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @var string
|
||||
* @access private
|
||||
*/
|
||||
private $_screen_settings;
|
||||
|
||||
@@ -204,7 +185,6 @@ final class WP_Screen {
|
||||
* Fetches a screen object.
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @access public
|
||||
*
|
||||
* @static
|
||||
*
|
||||
@@ -400,7 +380,6 @@ final class WP_Screen {
|
||||
* Constructor
|
||||
*
|
||||
* @since 3.3.0
|
||||
* @access private
|
||||
*/
|
||||
private function __construct() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user