Make WordPress Core

Ticket #58076: 58076.diff

File 58076.diff, 3.2 KB (added by cafenoirdesign, 8 months ago)

Just a refresh

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

    diff --git a/src/wp-content/themes/twentyfourteen/functions.php b/src/wp-content/themes/twentyfourteen/functions.php
    index f6db24f3c1..5660c9cf16 100644
    a b add_action( 'after_setup_theme', 'twentyfourteen_setup' ); 
    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() ) {
  • src/wp-content/themes/twentyfourteen/inc/widgets.php

    diff --git a/src/wp-content/themes/twentyfourteen/inc/widgets.php b/src/wp-content/themes/twentyfourteen/inc/widgets.php
    index 48844a3730..56116fe808 100644
    a b class Twenty_Fourteen_Ephemera_Widget extends WP_Widget { 
    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.
  • src/wp-content/themes/twentyseventeen/functions.php

    diff --git a/src/wp-content/themes/twentyseventeen/functions.php b/src/wp-content/themes/twentyseventeen/functions.php
    index 9c54612d6a..61c4c017d9 100644
    a b function twentyseventeen_content_width() { 
    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         */
  • src/wp-includes/class-wp-editor.php

    diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php
    index bd73540bc9..7335e4ea39 100644
    a b final class _WP_Editors { 
    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.
  • src/wp-includes/option.php

    diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php
    index 36bfcf6755..86f5ce1aa7 100644
    a b function register_initial_settings() { 
    26682668 *
    26692669 * @global array $new_allowed_options
    26702670 * @global array $wp_registered_settings
     2671 * @global array $new_whitelist_options
    26712672 *
    26722673 * @param string $option_group A settings group name. Should correspond to an allowed option key name.
    26732674 *                             Default allowed option key names include 'general', 'discussion', 'media',
    function register_setting( $option_group, $option_name, $args = array() ) { 
    27922793 *
    27932794 * @global array $new_allowed_options
    27942795 * @global array $wp_registered_settings
     2796 * @global array $new_whitelist_options
    27952797 *
    27962798 * @param string   $option_group The settings group name used during registration.
    27972799 * @param string   $option_name  The name of the option to unregister.