Make WordPress Core


Ignore:
Timestamp:
07/27/2017 12:40:27 AM (9 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-text-diff-renderer-table.php

    r40971 r41162  
    1919     * @see Text_Diff_Renderer::_leading_context_lines
    2020     * @var int
    21      * @access public
    2221     * @since 2.6.0
    2322     */
     
    2726     * @see Text_Diff_Renderer::_trailing_context_lines
    2827     * @var int
    29      * @access public
    3028     * @since 2.6.0
    3129     */
     
    3634     *
    3735     * @var float
    38      * @access protected
    3936     * @since 2.6.0
    4037     */
     
    4542     *
    4643     * @var string
    47      * @access protected
    4844     * @since 2.6.0
    4945     */
     
    5450     *
    5551     * @var string
    56      * @access protected
    5752     * @since 3.6.0
    5853     */
     
    137132    /**
    138133     * @ignore
    139      * @access public
    140134     *
    141135     * @param array $lines
     
    176170    /**
    177171     * @ignore
    178      * @access public
    179172     *
    180173     * @param array $lines
     
    203196    /**
    204197     * @ignore
    205      * @access public
    206198     *
    207199     * @param array $lines
     
    233225     * We do additional processing to figure that out
    234226     *
    235      * @access public
    236227     * @since 2.6.0
    237228     *
     
    321312     *
    322313     * @since 2.6.0
    323      * @access public
    324314     *
    325315     * @param array $orig  Lines of the original version of the text.
     
    467457     *
    468458     * @since 4.0.0
    469      * @access public
    470459     *
    471460     * @param string $name Property to get.
     
    482471     *
    483472     * @since 4.0.0
    484      * @access public
    485473     *
    486474     * @param string $name  Property to check if set.
     
    498486     *
    499487     * @since 4.0.0
    500      * @access public
    501488     *
    502489     * @param string $name Property to check if set.
     
    513500     *
    514501     * @since 4.0.0
    515      * @access public
    516502     *
    517503     * @param string $name Property to unset.
Note: See TracChangeset for help on using the changeset viewer.