Docs: Remove @access notations from method DocBlocks in wp-includes/* 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.

Built from https://develop.svn.wordpress.org/trunk@41162


git-svn-id: http://core.svn.wordpress.org/trunk@41002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes
2017-07-27 00:41:44 +00:00
parent 1a28ec87e1
commit 0860bb2771
136 changed files with 3 additions and 1907 deletions

View File

@@ -25,7 +25,6 @@ final class WP_Post {
* Post ID.
*
* @since 3.5.0
* @access public
* @var int
*/
public $ID;
@@ -36,7 +35,6 @@ final class WP_Post {
* A numeric string, for compatibility reasons.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_author = 0;
@@ -45,7 +43,6 @@ final class WP_Post {
* The post's local publication time.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_date = '0000-00-00 00:00:00';
@@ -54,7 +51,6 @@ final class WP_Post {
* The post's GMT publication time.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_date_gmt = '0000-00-00 00:00:00';
@@ -63,7 +59,6 @@ final class WP_Post {
* The post's content.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_content = '';
@@ -72,7 +67,6 @@ final class WP_Post {
* The post's title.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_title = '';
@@ -81,7 +75,6 @@ final class WP_Post {
* The post's excerpt.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_excerpt = '';
@@ -90,7 +83,6 @@ final class WP_Post {
* The post's status.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_status = 'publish';
@@ -99,7 +91,6 @@ final class WP_Post {
* Whether comments are allowed.
*
* @since 3.5.0
* @access public
* @var string
*/
public $comment_status = 'open';
@@ -108,7 +99,6 @@ final class WP_Post {
* Whether pings are allowed.
*
* @since 3.5.0
* @access public
* @var string
*/
public $ping_status = 'open';
@@ -117,7 +107,6 @@ final class WP_Post {
* The post's password in plain text.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_password = '';
@@ -126,7 +115,6 @@ final class WP_Post {
* The post's slug.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_name = '';
@@ -135,7 +123,6 @@ final class WP_Post {
* URLs queued to be pinged.
*
* @since 3.5.0
* @access public
* @var string
*/
public $to_ping = '';
@@ -144,7 +131,6 @@ final class WP_Post {
* URLs that have been pinged.
*
* @since 3.5.0
* @access public
* @var string
*/
public $pinged = '';
@@ -153,7 +139,6 @@ final class WP_Post {
* The post's local modified time.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_modified = '0000-00-00 00:00:00';
@@ -162,7 +147,6 @@ final class WP_Post {
* The post's GMT modified time.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_modified_gmt = '0000-00-00 00:00:00';
@@ -171,7 +155,6 @@ final class WP_Post {
* A utility DB field for post content.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_content_filtered = '';
@@ -180,7 +163,6 @@ final class WP_Post {
* ID of a post's parent post.
*
* @since 3.5.0
* @access public
* @var int
*/
public $post_parent = 0;
@@ -189,7 +171,6 @@ final class WP_Post {
* The unique identifier for a post, not necessarily a URL, used as the feed GUID.
*
* @since 3.5.0
* @access public
* @var string
*/
public $guid = '';
@@ -198,7 +179,6 @@ final class WP_Post {
* A field used for ordering posts.
*
* @since 3.5.0
* @access public
* @var int
*/
public $menu_order = 0;
@@ -207,7 +187,6 @@ final class WP_Post {
* The post's type, like post or page.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_type = 'post';
@@ -216,7 +195,6 @@ final class WP_Post {
* An attachment's mime type.
*
* @since 3.5.0
* @access public
* @var string
*/
public $post_mime_type = '';
@@ -227,7 +205,6 @@ final class WP_Post {
* A numeric string, for compatibility reasons.
*
* @since 3.5.0
* @access public
* @var string
*/
public $comment_count = 0;
@@ -238,7 +215,6 @@ final class WP_Post {
* Does not correspond to a DB field.
*
* @since 3.5.0
* @access public
* @var string
*/
public $filter;
@@ -248,7 +224,6 @@ final class WP_Post {
*
* @since 3.5.0
* @static
* @access public
*
* @global wpdb $wpdb WordPress database abstraction object.
*