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

    r40804 r41162  
    2626     *
    2727     * @since 4.5.0
    28      * @access public
    2928     * @var WP_Customize_Manager
    3029     */
     
    3534     *
    3635     * @since 4.5.0
    37      * @access protected
    3836     * @var WP_Customize_Partial[]
    3937     */
     
    4442     *
    4543     * @since 4.5.0
    46      * @access protected
    4744     * @var array
    4845     */
     
    5350     *
    5451     * @since 4.5.0
    55      * @access protected
    5652     * @var string
    5753     */
     
    6258     *
    6359     * @since 4.5.0
    64      * @access public
    6560     *
    6661     * @param WP_Customize_Manager $manager Manager instance.
     
    7772     *
    7873     * @since 4.5.0
    79      * @access public
    8074     *
    8175     * @return array Partials.
     
    137131     *
    138132     * @since 4.5.0
    139      * @access public
    140133     *
    141134     * @param string $id Customize Partial ID.
     
    154147     *
    155148     * @since 4.5.0
    156      * @access public
    157149     *
    158150     * @param string $id Customize Partial ID.
     
    166158     *
    167159     * @since 4.5.0
    168      * @access public
    169160     */
    170161    public function init_preview() {
     
    177168     *
    178169     * @since 4.5.0
    179      * @access public
    180170     */
    181171    public function enqueue_preview_scripts() {
     
    188178     *
    189179     * @since 4.5.0
    190      * @access public
    191180     */
    192181    public function export_preview_data() {
     
    227216     *
    228217     * @since 4.5.0
    229      * @access public
    230218     *
    231219     * @see WP_Customize_Manager::add_dynamic_settings()
     
    293281     *
    294282     * @since 4.5.0
    295      * @access public
    296283     *
    297284     * @return bool Whether the request is for rendering partials.
     
    307294     *
    308295     * @since 4.5.0
    309      * @access public
    310296     *
    311297     * @param int    $errno   Error number.
     
    330316     *
    331317     * @since 4.5.0
    332      * @access public
    333318     */
    334319    public function handle_render_partials_request() {
Note: See TracChangeset for help on using the changeset viewer.