Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:39:34 AM (8 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r40195 r41161  
    2828     *
    2929     * @since 4.2.0
    30      * @access public
    3130     */
    3231    public function __construct() {}
     
    3635     *
    3736     * @since 4.2.0
    38      * @access public
    3937     *
    4038     * @return array Site settings.
     
    5755     *
    5856     * @since 4.2.0
    59      * @access public
    6057     *
    6158     * @param int    $post_id Post ID.
     
    10097     *
    10198     * @since 4.2.0
    102      * @access public
    10399     */
    104100    public function save_post() {
     
    211207     *
    212208     * @since 4.2.0
    213      * @access public
    214209     */
    215210    public function add_category() {
     
    280275     *
    281276     * @since 4.2.0
    282      * @access public
    283277     *
    284278     * @param string $url URL to scan.
     
    563557     *
    564558     * @since 4.2.0
    565      * @access public
    566559     *
    567560     * @param string $url  URL to scan.
     
    673666     *
    674667     * @since 4.2.0
    675      * @access public
    676668     *
    677669     * @return array
     
    799791     *
    800792     * @since 4.2.0
    801      * @access public
    802793     *
    803794     * @param string $styles URL to editor stylesheet.
     
    821812     *
    822813     * @since 4.2.0
    823      * @access public
    824814     *
    825815     * @param WP_Post $post Post object.
     
    869859     *
    870860     * @since 4.2.0
    871      * @access public
    872861     *
    873862     * @param WP_Post $post Post object.
     
    927916     *
    928917     * @since 4.2.0
    929      * @access public
    930918     *
    931919     * @param WP_Post $post Post object.
     
    978966     *
    979967     * @since 4.2.0
    980      * @access public
    981968     *
    982969     * @param array $data The site's data.
     
    1011998     *
    1012999     * @since 4.2.0
    1013      * @access public
    10141000     *
    10151001     * @param array $data The site's data.
     
    10451031     *
    10461032     * @since 4.2.0
    1047      * @access public
    10481033     *
    10491034     * @param array $data The site's data.
     
    10761061     *
    10771062     * @since 4.2.0
    1078      * @access public
    10791063     *
    10801064     * @param array $data The site's data.
     
    10991083     *
    11001084     * @since 4.2.0
    1101      * @access public
    11021085     *
    11031086     * @param array $data The site's data.
     
    11281111     *
    11291112     * @since 4.2.0
    1130      * @access public
    11311113     *
    11321114     * @param array $data The site's data.
     
    12131195     *
    12141196     * @since 4.2.0
    1215      * @access public
    12161197     *
    12171198     * @global WP_Locale $wp_locale
Note: See TracChangeset for help on using the changeset viewer.