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/customize/class-wp-customize-partial.php

    r39674 r41162  
    2323     *
    2424     * @since 4.5.0
    25      * @access public
    2625     * @var WP_Customize_Selective_Refresh
    2726     */
     
    3534     *
    3635     * @since 4.5.0
    37      * @access public
    3836     * @var string
    3937     */
     
    4442     *
    4543     * @since 4.5.0
    46      * @access protected
    4744     * @var array {
    4845     *     @type string $base ID base.
     
    5653     *
    5754     * @since 4.5.0
    58      * @access public
    5955     * @var string
    6056     */
     
    6561     *
    6662     * @since 4.5.0
    67      * @access public
    6863     * @var string
    6964     */
     
    7368     * IDs for settings tied to the partial.
    7469     *
    75      * @access public
    7670     * @since 4.5.0
    7771     * @var array
     
    8579     *
    8680     * @since 4.5.0
    87      * @access public
    8881     * @var string
    8982     */
     
    9790     *
    9891     * @since 4.5.0
    99      * @access public
    10092     * @var string
    10193     */
     
    10698     *
    10799     * @since 4.5.0
    108      * @access public
    109100     * @see WP_Customize_Partial::render()
    110101     * @var callable Callback is called with one argument, the instance of
     
    118109     *
    119110     * @since 4.5.0
    120      * @access public
    121111     * @var bool
    122112     */
     
    129119     *
    130120     * @since 4.5.0
    131      * @access public
    132121     * @var bool
    133122     */
     
    142131     *
    143132     * @since 4.5.0
    144      * @access public
    145133     *
    146134     * @param WP_Customize_Selective_Refresh $component Customize Partial Refresh plugin instance.
     
    185173     *
    186174     * @since 4.5.0
    187      * @access public
    188175     *
    189176     * @return array {
     
    202189     *
    203190     * @since 4.5.0
    204      * @access public
    205191     *
    206192     * @param array $container_context Optional. Array of context data associated with the target container (placement).
     
    271257     *
    272258     * @since 4.5.0
    273      * @access public
    274259     *
    275260     * @param WP_Customize_Partial $partial Partial.
     
    286271     *
    287272     * @since 4.5.0
    288      * @access public
    289273     *
    290274     * @return array Array of parameters passed to the JavaScript.
     
    309293     *
    310294     * @since 4.5.0
    311      * @access public
    312295     *
    313296     * @return bool False if user can't edit one one of the related settings,
Note: See TracChangeset for help on using the changeset viewer.