Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (7 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class.wp-styles.php

    r40988 r41162  
    2323     *
    2424     * @since 2.6.0
    25      * @access public
    2625     * @var string
    2726     */
     
    3231     *
    3332     * @since 2.8.0
    34      * @access public
    3533     * @var string
    3634     */
     
    4139     *
    4240     * @since 2.6.0
    43      * @access public
    4441     * @var string
    4542     */
     
    5047     *
    5148     * @since 2.6.0
    52      * @access public
    5349     * @var string
    5450     */
     
    5955     *
    6056     * @since 2.8.0
    61      * @access public
    6257     * @var string
    6358     */
     
    6964     * @since 2.8.0
    7065     * @deprecated 3.4.0
    71      * @access public
    7266     * @var string
    7367     */
     
    7872     *
    7973     * @since 2.8.0
    80      * @access public
    8174     * @var bool
    8275     */
     
    8881     *
    8982     * @since 2.8.0
    90      * @access public
    9183     * @var string
    9284     */
     
    9789     *
    9890     * @since 3.3.0
    99      * @access public
    10091     * @var string
    10192     */
     
    10697     *
    10798     * @since 2.8.0
    108      * @access public
    10999     * @var array
    110100     */
     
    115105     *
    116106     * @since 2.6.0
    117      * @access public
    118107     */
    119108    public function __construct() {
     
    132121     *
    133122     * @since 2.6.0
    134      * @access public
    135123     *
    136124     * @see WP_Dependencies::do_item()
     
    247235     *
    248236     * @since 3.3.0
    249      * @access public
    250237     *
    251238     * @param string $handle The style's registered handle.
     
    272259     *
    273260     * @since 3.3.0
    274      * @access public
    275261     *
    276262     * @param string $handle The style's registered handle.
     
    301287     *
    302288     * @since 2.6.0
    303      * @access public
    304289     *
    305290     * @see WP_Dependencies::all_deps()
     
    329314     *
    330315     * @since 2.6.0
    331      * @access public
    332316     *
    333317     * @param string $src The source of the enqueued style.
     
    360344     *
    361345     * @since 2.8.0
    362      * @access public
    363346     *
    364347     * @param string $src The source of the enqueued style.
     
    382365     *
    383366     * @since 3.3.0
    384      * @access public
    385367     *
    386368     * @see WP_Dependencies::do_items()
     
    397379     *
    398380     * @since 3.3.0
    399      * @access public
    400381     */
    401382    public function reset() {
Note: See TracChangeset for help on using the changeset viewer.