Make WordPress Core

Ticket #58076: 58076.10.patch

File 58076.10.patch, 2.9 KB (added by upadalavipul, 12 months ago)

Few more files in improve various globals documentation.

  • wp-content/themes/twentyfourteen/functions.php

     
    226226 * Adjust content_width value for image attachment template.
    227227 *
    228228 * @since Twenty Fourteen 1.0
     229 *
     230 * @global int $content_width
    229231 */
    230232function twentyfourteen_content_width() {
    231233        if ( is_attachment() && wp_attachment_is_image() ) {
  • wp-content/themes/twentyfourteen/inc/widgets.php

     
    6666         * Output the HTML for this widget.
    6767         *
    6868         * @since Twenty Fourteen 1.0
     69         *
     70         * @global int $content_width
    6971         *
    7072         * @param array $args     An array of standard parameters for widgets in this theme.
    7173         * @param array $instance An array of settings for this widget instance.
  • wp-content/themes/twentyseventeen/functions.php

     
    275275         * Filters Twenty Seventeen content width of the theme.
    276276         *
    277277         * @since Twenty Seventeen 1.0
     278         *
     279         * @global int $content_width
    278280         *
    279281         * @param int $content_width Content width in pixels.
    280282         */
  • wp-includes/class-wp-editor.php

     
    148148         * Outputs the HTML for a single instance of the editor.
    149149         *
    150150         * @since 3.3.0
     151         *
     152         * @global WP_Screen $current_screen WordPress current screen object.
    151153         *
    152154         * @param string $content   Initial content for the editor.
    153155         * @param string $editor_id HTML ID for the textarea and TinyMCE and Quicktags instances.
  • wp-includes/option.php

     
    23532353 *
    23542354 * @global array $new_allowed_options
    23552355 * @global array $wp_registered_settings
     2356 * @global array $new_whitelist_options
    23562357 *
    23572358 * @param string $option_group A settings group name. Should correspond to an allowed option key name.
    23582359 *                             Default allowed option key names include 'general', 'discussion', 'media',
     
    24772478 *
    24782479 * @global array $new_allowed_options
    24792480 * @global array $wp_registered_settings
     2481 * @global array $new_whitelist_options
    24802482 *
    24812483 * @param string   $option_group The settings group name used during registration.
    24822484 * @param string   $option_name  The name of the option to unregister.