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-video.php

    r40892 r41162  
    2121     *
    2222     * @since  4.8.0
    23      * @access public
    2423     */
    2524    public function __construct() {
     
    5150     *
    5251     * @since  4.8.0
    53      * @access public
    5452     *
    5553     * @see WP_REST_Controller::get_item_schema()
     
    102100     *
    103101     * @since  4.8.0
    104      * @access public
    105102     *
    106103     * @param array $instance Widget instance props.
     
    142139     *
    143140     * @since 4.8.0
    144      * @access public
    145141     *
    146142     * @param string $html Video shortcode HTML output.
     
    163159     *
    164160     * @since 4.8.0
    165      * @access public
    166161     */
    167162    public function enqueue_preview_scripts() {
     
    180175     *
    181176     * @since 4.8.0
    182      * @access public
    183177     */
    184178    public function enqueue_admin_scripts() {
     
    219213     *
    220214     * @since 4.8.0
    221      * @access public
    222215     */
    223216    public function render_control_template_scripts() {
Note: See TracChangeset for help on using the changeset viewer.