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/widgets/class-wp-widget-media-audio.php

    r40835 r41162  
    2121     *
    2222     * @since  4.8.0
    23      * @access public
    2423     */
    2524    public function __construct() {
     
    5049     *
    5150     * @since  4.8.0
    52      * @access public
    5351     *
    5452     * @see WP_REST_Controller::get_item_schema()
     
    9290     *
    9391     * @since  4.8.0
    94      * @access public
    9592     *
    9693     * @param array $instance Widget instance props.
     
    128125     *
    129126     * @since 4.8.0
    130      * @access public
    131127     */
    132128    public function enqueue_preview_scripts() {
     
    142138     *
    143139     * @since 4.8.0
    144      * @access public
    145140     */
    146141    public function enqueue_admin_scripts() {
     
    184179     *
    185180     * @since 4.8.0
    186      * @access public
    187181     */
    188182    public function render_control_template_scripts() {
Note: See TracChangeset for help on using the changeset viewer.