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:
@@ -22,7 +22,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @var bool
|
||||
* @access protected
|
||||
*/
|
||||
protected $hierarchical_display;
|
||||
|
||||
@@ -31,7 +30,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @var array
|
||||
* @access protected
|
||||
*/
|
||||
protected $comment_pending_count;
|
||||
|
||||
@@ -40,7 +38,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @var int
|
||||
* @access private
|
||||
*/
|
||||
private $user_posts_count;
|
||||
|
||||
@@ -49,7 +46,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @var int
|
||||
* @access private
|
||||
*/
|
||||
private $sticky_posts_count = 0;
|
||||
|
||||
@@ -59,7 +55,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Current level for output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access protected
|
||||
* @var int
|
||||
*/
|
||||
protected $current_level = 0;
|
||||
@@ -68,7 +63,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Constructor.
|
||||
*
|
||||
* @since 3.1.0
|
||||
* @access public
|
||||
*
|
||||
* @see WP_List_Table::__construct() for more information on default arguments.
|
||||
*
|
||||
@@ -196,7 +190,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* @access public
|
||||
*/
|
||||
public function no_items() {
|
||||
if ( isset( $_REQUEST['post_status'] ) && 'trash' === $_REQUEST['post_status'] )
|
||||
@@ -229,7 +222,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Helper to create links to edit.php with params.
|
||||
*
|
||||
* @since 4.4.0
|
||||
* @access protected
|
||||
*
|
||||
* @param array $args URL parameters for the link.
|
||||
* @param string $label Link text.
|
||||
@@ -415,7 +407,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Displays a categories drop-down for filtering on the Posts list table.
|
||||
*
|
||||
* @since 4.6.0
|
||||
* @access protected
|
||||
*
|
||||
* @global int $cat Currently selected category.
|
||||
*
|
||||
@@ -826,7 +817,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Handles the checkbox column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
*/
|
||||
@@ -851,7 +841,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* @since 4.3.0
|
||||
* @access protected
|
||||
*
|
||||
* @param WP_Post $post
|
||||
* @param string $classes
|
||||
@@ -869,7 +858,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Handles the title column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @global string $mode List table view mode.
|
||||
*
|
||||
@@ -966,7 +954,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Handles the post date column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @global string $mode List table view mode.
|
||||
*
|
||||
@@ -1047,7 +1034,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Handles the comments column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
*/
|
||||
@@ -1067,7 +1053,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Handles the post author column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
*/
|
||||
@@ -1083,7 +1068,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Handles the default column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access public
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
* @param string $column_name The current column name.
|
||||
@@ -1209,7 +1193,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Gets the name of the default primary column.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access protected
|
||||
*
|
||||
* @return string Name of the default primary column, in this case, 'title'.
|
||||
*/
|
||||
@@ -1221,7 +1204,6 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
* Generates and displays row action links.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @access protected
|
||||
*
|
||||
* @param object $post Post being acted upon.
|
||||
* @param string $column_name Current column name.
|
||||
|
||||
Reference in New Issue
Block a user