Make WordPress Core


Ignore:
Timestamp:
05/22/2015 03:51:50 AM (11 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to class-wp-editor.php.

See #32444.

File:
1 edited

Legend:

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

    r32166 r32536  
    3232         * Parse default arguments for the editor instance.
    3333         *
     34         * @static
    3435         * @param string $editor_id ID for the current editor instance.
    3536         * @param array  $settings {
    … …  
    133134         * Outputs the HTML for a single instance of the editor.
    134135         *
     136         * @static
    135137         * @param string $content The initial content of the editor.
    136138         * @param string $editor_id ID for the textarea and TinyMCE and Quicktags instances (can contain only ASCII letters and numbers).
    … …  
    246248
    247249        /**
     250         *
     251         * @static
    248252         * @param string $editor_id
    249253         * @param array  $set
    … …  
    702706        }
    703707
     708        /**
     709         *
     710         * @static
     711         * @param array $init
     712         * @return string
     713         */
    704714        private static function _parse_init($init) {
    705715                $options = '';
    … …  
    720730        }
    721731
     732        /**
     733         *
     734         * @static
     735         */
    722736        public static function enqueue_scripts() {
    723737                wp_enqueue_script('word-count');
    … …  
    761775         * Can be used directly (_WP_Editors::wp_mce_translation()) by passing the same locale as set in the TinyMCE init object.
    762776         *
     777         * @static
    763778         * @param string $mce_locale The locale used for the editor.
    764779         * @param bool $json_only optional Whether to include the JavaScript calls to tinymce.addI18n() and tinymce.ScriptLoader.markDone().
    … …  
    10471062        }
    10481063
     1064        /**
     1065         *
     1066         * @static
     1067         * @global string $tinymce_version
     1068         * @global bool   $concatenate_scripts
     1069         * @global bool   $compress_scripts
     1070         */
    10491071        public static function editor_js() {
    10501072                global $tinymce_version, $concatenate_scripts, $compress_scripts;
    … …  
    12381260        }
    12391261
     1262        /**
     1263         *
     1264         * @static
     1265         * @global int $content_width
     1266         */
    12401267        public static function wp_fullscreen_html() {
    12411268                global $content_width;
    … …  
    13361363         * @since 3.1.0
    13371364         *
     1365         * @static
    13381366         * @param array $args Optional. Accepts 'pagenum' and 's' (search) arguments.
    13391367         * @return false|array Results.
    … …  
    14241452         *
    14251453         * @since 3.1.0
     1454         *
     1455         * @static
    14261456         */
    14271457        public static function wp_link_dialog() {
Note: See TracChangeset for help on using the changeset viewer.