WordPress.org

Make WordPress Core


Ignore:
Timestamp:
02/25/2018 08:21:37 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Docs: Remove @static notations from method DocBlocks in wp-includes/* classes.

This tag has been used in the past, but should no longer be used. Just using the static keyword in code is enough for PhpDocumentor on PHP5+ to recognize static variables and methods, and PhpDocumentor will mark them as static.

Props birgire.
See #42803.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r42630 r42746  
    3636     * Parse default arguments for the editor instance.
    3737     *
    38      * @static
    3938     * @param string $editor_id ID for the current editor instance.
    4039     * @param array  $settings {
     
    149148     * Outputs the HTML for a single instance of the editor.
    150149     *
    151      * @static
    152150     * @param string $content The initial content of the editor.
    153151     * @param string $editor_id ID for the textarea and TinyMCE and Quicktags instances (can contain only ASCII letters and numbers).
     
    308306
    309307    /**
    310      * @static
    311      *
    312308     * @global string $tinymce_version
    313309     *
     
    734730
    735731    /**
    736      * @static
    737732     * @param array $init
    738733     * @return string
     
    761756
    762757    /**
    763      * @static
    764      *
    765758     * @param bool $default_scripts Optional. Whether default scripts should be enqueued. Default false.
    766759     */
     
    13391332     * or as JS snippet that should run after tinymce.js is loaded.
    13401333     *
    1341      * @static
    13421334     * @param string $mce_locale The locale used for the editor.
    13431335     * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone().
     
    13991391     * @since 4.8.0
    14001392     *
    1401      * @static
    14021393     * @global string $tinymce_version
    14031394     * @global bool   $concatenate_scripts
     
    14401431     * Print (output) the TinyMCE configuration and initialization scripts.
    14411432     *
    1442      * @static
    14431433     * @global string $tinymce_version
    14441434     */
     
    15961586     * @since 3.2.0
    15971587     * @deprecated 4.3.0
    1598      *
    1599      * @static
    16001588     */
    16011589    public static function wp_fullscreen_html() {
     
    16081596     * @since 3.1.0
    16091597     *
    1610      * @static
    16111598     * @param array $args Optional. Accepts 'pagenum' and 's' (search) arguments.
    16121599     * @return false|array Results.
     
    16981685     *
    16991686     * @since 3.1.0
    1700      *
    1701      * @static
    17021687     */
    17031688    public static function wp_link_dialog() {
Note: See TracChangeset for help on using the changeset viewer.