Make WordPress Core


Ignore:
Timestamp:
12/31/2019 01:23:11 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @since tags for wp-includes/class-wp-editor.php.

See #48303.

File:
1 edited

Legend:

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

    r46737 r47022  
    3535    /**
    3636     * Parse default arguments for the editor instance.
     37     *
     38     * @since 3.3.0
    3739     *
    3840     * @param string $editor_id ID for the current editor instance.
     
    151153     * Outputs the HTML for a single instance of the editor.
    152154     *
     155     * @since 3.3.0
     156     *
    153157     * @param string $content The initial content of the editor.
    154158     * @param string $editor_id ID for the textarea and TinyMCE and Quicktags instances (can contain only ASCII letters and numbers).
     
    310314
    311315    /**
     316     * @since 3.3.0
     317     *
    312318     * @global string $tinymce_version
    313319     *
     
    818824
    819825    /**
     826     * @since 3.3.0
     827     *
    820828     * @param array $init
    821829     * @return string
     
    844852
    845853    /**
    846      *
    847      * @static
     854     * @since 3.3.0
    848855     *
    849856     * @param bool $default_scripts Optional. Whether default scripts should be enqueued. Default false.
     
    10171024    }
    10181025
     1026    /**
     1027     * @since 4.8.0
     1028     */
    10191029    public static function get_mce_locale() {
    10201030        if ( empty( self::$mce_locale ) ) {
     
    10261036    }
    10271037
     1038    /**
     1039     * @since 4.8.0
     1040     */
    10281041    public static function get_baseurl() {
    10291042        if ( empty( self::$baseurl ) ) {
     
    10371050     * Returns the default TinyMCE settings.
    10381051     * Doesn't include plugins, buttons, editor selector.
     1052     *
     1053     * @since 4.8.0
    10391054     *
    10401055     * @global string $tinymce_version
     
    11051120    }
    11061121
     1122    /**
     1123     * @since 4.7.0
     1124     *
     1125     * @return array
     1126     */
    11071127    private static function get_translation() {
    11081128        if ( empty( self::$translation ) ) {
     
    14281448     * or as JS snippet that should run after tinymce.js is loaded.
    14291449     *
     1450     * @since 3.9.0
     1451     *
    14301452     * @param string $mce_locale The locale used for the editor.
    14311453     * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone().
     
    14881510     * sure that we use the uncompressed TinyMCE file if a theme is defined.
    14891511     * Even if we are on a production environment.
     1512     *
     1513     * @since 5.0.0
    14901514     */
    14911515    public static function force_uncompressed_tinymce() {
     
    15371561    /**
    15381562     * Print (output) the TinyMCE configuration and initialization scripts.
     1563     *
     1564     * @since 3.3.0
    15391565     *
    15401566     * @global string $tinymce_version
Note: See TracChangeset for help on using the changeset viewer.