WordPress.org

Make WordPress Core


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

    r41134 r41162  
    2929     *
    3030     * @since 2.8.0
    31      * @access public
    3231     */
    3332    public function __construct() {
     
    182181     *
    183182     * @since 2.8.0
    184      * @access public
    185183     *
    186184     * @param array $args     Display arguments including 'before_title', 'after_title',
     
    271269     *
    272270     * @since 2.8.0
    273      * @access public
    274271     *
    275272     * @param array $new_instance New settings for this instance as input by the user via
     
    321318     *
    322319     * @since 4.8.0
    323      * @access public
    324320     */
    325321    public function enqueue_admin_scripts() {
     
    334330     * @since 4.8.0 Form only contains hidden inputs which are synced with JS template.
    335331     * @since 4.8.1 Restored original form to be displayed when in legacy mode.
    336      * @access public
    337332     * @see WP_Widget_Visual_Text::render_control_template_scripts()
    338333     *
     
    382377     *
    383378     * @since 4.8.0
    384      * @access public
    385379     */
    386380    public function render_control_template_scripts() {
Note: See TracChangeset for help on using the changeset viewer.