Make WordPress Core

Ticket #36835: 36835.2.patch

File 36835.2.patch, 35.2 KB (added by DrewAPicture, 9 years ago)

Moar

  • src/wp-admin/admin.php

     
    175175        if ( ! $page_hook = get_plugin_page_hook($plugin_page, $the_parent) ) {
    176176                $page_hook = get_plugin_page_hook($plugin_page, $plugin_page);
    177177
    178                 // Backwards compatibility for plugins using add_management_page().
     178                // Back-compat for plugins using add_management_page().
    179179                if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) {
    180180                        // There could be plugin specific params on the URL, so we need the whole query string
    181181                        if ( !empty($_SERVER[ 'QUERY_STRING' ]) )
  • src/wp-admin/includes/ajax-actions.php

     
    24662466}
    24672467
    24682468/**
    2469  * Ajax handler for saving backwards compatible attachment attributes.
     2469 * Ajax handler for saving backward compatible attachment attributes.
    24702470 *
    24712471 * @since 3.5.0
    24722472 */
     
    25522552 * Ajax handler for sending an attachment to the editor.
    25532553 *
    25542554 * Generates the HTML to send an attachment to the editor.
    2555  * Backwards compatible with the media_send_to_editor filter
     2555 * Backward compatible with the media_send_to_editor filter
    25562556 * and the chain of filters that follow.
    25572557 *
    25582558 * @since 3.5.0
     
    26172617 *
    26182618 * Generates the HTML to send a non-image embed link to the editor.
    26192619 *
    2620  * Backwards compatible with the following filters:
     2620 * Backward compatible with the following filters:
    26212621 * - file_send_to_editor_url
    26222622 * - audio_send_to_editor_url
    26232623 * - video_send_to_editor_url
  • src/wp-admin/includes/class-wp-list-table.php

     
    166166        }
    167167
    168168        /**
    169          * Make private properties readable for backwards compatibility.
     169         * Make private properties readable for backward compatibility.
    170170         *
    171171         * @since 4.0.0
    172172         * @access public
     
    181181        }
    182182
    183183        /**
    184          * Make private properties settable for backwards compatibility.
     184         * Make private properties settable for backward compatibility.
    185185         *
    186186         * @since 4.0.0
    187187         * @access public
     
    197197        }
    198198
    199199        /**
    200          * Make private properties checkable for backwards compatibility.
     200         * Make private properties checkable for backward compatibility.
    201201         *
    202202         * @since 4.0.0
    203203         * @access public
     
    212212        }
    213213
    214214        /**
    215          * Make private properties un-settable for backwards compatibility.
     215         * Make private properties un-settable for backward compatibility.
    216216         *
    217217         * @since 4.0.0
    218218         * @access public
     
    226226        }
    227227
    228228        /**
    229          * Make private/protected methods readable for backwards compatibility.
     229         * Make private/protected methods readable for backward compatibility.
    230230         *
    231231         * @since 4.0.0
    232232         * @access public
     
    432432         * @access protected
    433433         *
    434434         * @param string $which The location of the bulk actions: 'top' or 'bottom'.
    435          *                      This is designated as optional for backwards-compatibility.
     435         *                      This is designated as optional for backward compatibility.
    436436         */
    437437        protected function bulk_actions( $which = '' ) {
    438438                if ( is_null( $this->_actions ) ) {
  • src/wp-admin/includes/class-wp-screen.php

     
    418418        }
    419419
    420420        /**
    421          * Sets the old string-based contextual help for the screen.
     421         * Sets the old string-based contextual help for the screen for backward compatibility.
    422422         *
    423          * For backwards compatibility.
    424          *
    425423         * @since 3.3.0
    426424         *
    427425         * @static
     
    722720        /**
    723721         * Render the screen's help section.
    724722         *
    725          * This will trigger the deprecated filters for backwards compatibility.
     723         * This will trigger the deprecated filters for backward compatibility.
    726724         *
    727725         * @since 3.3.0
    728726         *
  • src/wp-admin/includes/plugin.php

     
    487487 * be activated only as a network wide plugin. The plugin would also work
    488488 * when Multisite is not enabled.
    489489 *
    490  * Checks for "Site Wide Only: true" for backwards compatibility.
     490 * Checks for "Site Wide Only: true" for backward compatibility.
    491491 *
    492492 * @since 3.0.0
    493493 *
  • src/wp-admin/js/common.js

     
    394394        }
    395395
    396396        /*
    397          * The `.below-h2` class is here just for backwards compatibility with plugins
     397         * The `.below-h2` class is here just for backward compatibility with plugins
    398398         * that are (incorrectly) using it. Do not use. Use `.inline` instead. See #34570.
    399399         */
    400400        $( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $( '.wrap h1, .wrap h2' ).first() );
  • src/wp-admin/js/password-strength-meter.js

     
    7070                }
    7171        };
    7272
    73         // Backwards compatibility.
     73        // Back-compat.
    7474        passwordStrength = wp.passwordStrength.meter;
    75 })(jQuery);
    76  No newline at end of file
     75})(jQuery);
  • src/wp-admin/js/wp-fullscreen-stub.js

     
    11/**
    2  * Distraction-Free Writing (wp-fullscreen) backwards compatibility stub.
     2 * Distraction-Free Writing (wp-fullscreen) backward compatibility stub.
    33 * Todo: remove at the end of 2016.
    44 *
    55 * Original was deprecated in 4.1, removed in 4.3.
  • src/wp-admin/menu.php

     
    265265$_wp_real_parent_file['wpmu-admin.php'] = 'tools.php';
    266266$_wp_real_parent_file['ms-admin.php'] = 'tools.php';
    267267
    268 // ensure we're backwards compatible
     268// Ensure backward compatibility.
    269269$compat = array(
    270270        'index' => 'dashboard',
    271271        'edit' => 'posts',
  • src/wp-admin/options-head.php

     
    1111wp_reset_vars( array( 'action' ) );
    1212
    1313if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) {
    14         // For backwards compat with plugins that don't use the Settings API and just set updated=1 in the redirect
     14        // For back-compat with plugins that don't use the Settings API and just set updated=1 in the redirect.
    1515        add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated');
    1616}
    1717
  • src/wp-admin/theme-install.php

     
    118118        /**
    119119         * Filter the tabs shown on the Add Themes screen.
    120120         *
    121          * This filter is for backwards compatibility only, for the suppression
    122          * of the upload tab.
     121         * This filter is for backward compatibility only, for the suppression of the upload tab.
    123122         *
    124123         * @since 2.8.0
    125124         *
  • src/wp-includes/author-template.php

     
    4545 * still use the old behavior will also pass the value from get_the_author().
    4646 *
    4747 * The normal, expected behavior of this function is to echo the author and not
    48  * return it. However, backwards compatibility has to be maintained.
     48 * return it. However, backward compatibility has to be maintained.
    4949 *
    5050 * @since 0.71
    5151 * @see get_the_author()
  • src/wp-includes/cache.php

     
    344344        private $multisite;
    345345
    346346        /**
    347          * Makes private properties readable for backwards compatibility.
     347         * Makes private properties readable for backward compatibility.
    348348         *
    349349         * @since 4.0.0
    350350         * @access public
     
    357357        }
    358358
    359359        /**
    360          * Makes private properties settable for backwards compatibility.
     360         * Makes private properties settable for backward compatibility.
    361361         *
    362362         * @since 4.0.0
    363363         * @access public
     
    371371        }
    372372
    373373        /**
    374          * Makes private properties checkable for backwards compatibility.
     374         * Makes private properties checkable for backward compatibility.
    375375         *
    376376         * @since 4.0.0
    377377         * @access public
     
    384384        }
    385385
    386386        /**
    387          * Makes private properties un-settable for backwards compatibility.
     387         * Makes private properties un-settable for backward compatibility.
    388388         *
    389389         * @since 4.0.0
    390390         * @access public
  • src/wp-includes/category.php

     
    1010 * Retrieve list of category objects.
    1111 *
    1212 * If you change the type to 'link' in the arguments, then the link categories
    13  * will be returned instead. Also all categories will be updated to be backwards
     13 * will be returned instead. Also all categories will be updated to be backward
    1414 * compatible with pre-2.3 plugins and themes.
    1515 *
    1616 * @since 2.1.0
     
    7777 * If you look at get_term(), then both types will be passed through several
    7878 * filters and finally sanitized based on the $filter parameter value.
    7979 *
    80  * The category will converted to maintain backwards compatibility.
     80 * The category will converted to maintain backward compatibility.
    8181 *
    8282 * @since 1.5.1
    8383 *
  • src/wp-includes/certificates/ca-bundle.crt

     
    33##
    44## Certificate data from Mozilla as of: Wed Sep 16 08:58:11 2015
    55## Includes a WordPress Modification - We include the 'legacy' 1024bit certificates
    6 ## for backwards compatibility. See https://core.trac.wordpress.org/ticket/34935#comment:10
     6## for backward compatibility. See https://core.trac.wordpress.org/ticket/34935#comment:10
    77##
    88## This is a bundle of X.509 certificates of public Certificate Authorities
    99## (CA). These were automatically extracted from Mozilla's root certificates
  • src/wp-includes/class-oembed.php

     
    3838        public static $early_providers = array();
    3939
    4040        /**
    41          * A list of private/protected methods, used for backwards compatibility.
     41         * A list of private/protected methods, used for backward compatibility.
    4242         *
    4343         * @since 4.2.0
    4444         * @access private
     
    192192        }
    193193
    194194        /**
    195          * Exposes private/protected methods for backwards compatibility.
     195         * Exposes private/protected methods for backward compatibility.
    196196         *
    197197         * @since 4.0.0
    198198         * @access public
  • src/wp-includes/class-wp-comment-query.php

     
    125125        public $max_num_pages = 0;
    126126
    127127        /**
    128          * Make private/protected methods readable for backwards compatibility.
     128         * Make private/protected methods readable for backward compatibility.
    129129         *
    130130         * @since 4.0.0
    131131         * @access public
  • src/wp-includes/class-wp-editor.php

     
    5454         *     @type string     $editor_class      Extra classes to add to the editor textarea element. Default empty.
    5555         *     @type bool       $teeny             Whether to output the minimal editor config. Examples include
    5656         *                                         Press This and the Comment editor. Default false.
    57          *     @type bool       $dfw               Deprecated in 4.1. Since 4.3 used only to enqueue wp-fullscreen-stub.js for backwards compatibility.
     57         *     @type bool       $dfw               Deprecated in 4.1. Since 4.3 used only to enqueue wp-fullscreen-stub.js
     58         *                                         for backward compatibility.
    5859         *     @type bool|array $tinymce           Whether to load TinyMCE. Can be used to pass settings directly to
    5960         *                                         TinyMCE using an array. Default true.
    6061         *     @type bool|array $quicktags         Whether to load Quicktags. Can be used to pass settings directly to
  • src/wp-includes/class-wp-http-requests-response.php

     
    144144        /**
    145145         * Check if an ArrayAccess offset exists.
    146146         *
    147          * This is for backwards compatibility for array access.
     147         * This is for array access back-compat.
    148148         *
    149149         * @param string|int $key Array offset.
    150150         * @return bool True if the offset exists, false otherwise.
     
    157157        /**
    158158         * Get an ArrayAccess value.
    159159         *
    160          * This is for backwards compatibility for array access.
     160         * This is for array access back-compat.
    161161         *
    162162         * @param string|int $key Array offset to get.
    163163         * @return mixed Value if the key is a valid offset, null if invalid.
     
    189189        /**
    190190         * Set an ArrayAccess value.
    191191         *
    192          * This is for backwards compatibility for array access.
     192         * This is for array access back-compat.
    193193         *
    194194         * @param string|int $key Array offset to set.
    195195         * @param mixed $value Value to set.
     
    219219        /**
    220220         * Unset an ArrayAccess value.
    221221         *
    222          * This is for backwards compatibility for array access.
     222         * This is for array access back-compat.
    223223         *
    224224         * @param string|int $key Array offset to remove.
    225225         */
  • src/wp-includes/class-wp-http-streams.php

     
    415415/**
    416416 * Deprecated HTTP Transport method which used fsockopen.
    417417 *
    418  * This class is not used, and is included for backwards compatibility only.
     418 * This class is not used, and is included for backward compatibility only.
    419419 * All code should make use of WP_Http directly through its API.
    420420 *
    421421 * @see WP_HTTP::request
     
    424424 * @deprecated 3.7.0 Please use WP_HTTP::request() directly
    425425 */
    426426class WP_HTTP_Fsockopen extends WP_HTTP_Streams {
    427         // For backwards compatibility for users who are using the class directly.
     427        // For backward compatibility for users who are using the class directly.
    428428}
  • src/wp-includes/class-wp-image-editor-imagick.php

     
    343343                         * Use resizeImage() when it's available and a valid filter value is set.
    344344                         * Otherwise, fall back to the scaleImage() method for resizing, which
    345345                         * results in better image quality over resizeImage() with default filter
    346                          * settings and retains backwards compatibility with pre 4.5 functionality.
     346                         * settings and retains backward compatibility with pre 4.5 functionality.
    347347                         */
    348348                        if ( is_callable( array( $this->image, 'resizeImage' ) ) && $filter ) {
    349349                                $this->image->setOption( 'filter:support', '2.0' );
  • src/wp-includes/class-wp-image-editor.php

     
    276276                        }
    277277                }
    278278
    279                 // Allow 0, but squash to 1 due to identical images in GD, and for backwards compatibility.
     279                // Allow 0, but squash to 1 due to identical images in GD, and for backward compatibility.
    280280                if ( 0 === $quality ) {
    281281                        $quality = 1;
    282282                }
  • src/wp-includes/class-wp-rewrite.php

     
    17431743         * }
    17441744         */
    17451745        public function add_permastruct( $name, $struct, $args = array() ) {
    1746                 // Backwards compatibility for the old parameters: $with_front and $ep_mask.
     1746                // Back-compat for the old parameters: $with_front and $ep_mask.
    17471747                if ( ! is_array( $args ) )
    17481748                        $args = array( 'with_front' => $args );
    17491749                if ( func_num_args() == 4 )
  • src/wp-includes/class-wp-roles.php

     
    7979        }
    8080
    8181        /**
    82          * Make private/protected methods readable for backwards compatibility.
     82         * Make private/protected methods readable for backward compatibility.
    8383         *
    8484         * @since 4.0.0
    8585         * @access public
  • src/wp-includes/class-wp-theme.php

     
    447447                switch ( $offset ) {
    448448                        case 'Name' :
    449449                        case 'Title' :
    450                                 // See note above about using translated data. get() is not ideal.
    451                                 // It is only for backwards compatibility. Use display().
     450                                /*
     451                                 * See note above about using translated data. get() is not ideal.
     452                                 * It is only for backward compatibility. Use display().
     453                                 */
    452454                                return $this->get('Name');
    453455                        case 'Author' :
    454456                                return $this->display( 'Author');
  • src/wp-includes/class-wp-user-query.php

     
    736736        }
    737737
    738738        /**
    739          * Make private properties readable for backwards compatibility.
     739         * Make private properties readable for backward compatibility.
    740740         *
    741741         * @since 4.0.0
    742742         * @access public
     
    751751        }
    752752
    753753        /**
    754          * Make private properties settable for backwards compatibility.
     754         * Make private properties settable for backward compatibility.
    755755         *
    756756         * @since 4.0.0
    757757         * @access public
     
    767767        }
    768768
    769769        /**
    770          * Make private properties checkable for backwards compatibility.
     770         * Make private properties checkable for backward compatibility.
    771771         *
    772772         * @since 4.0.0
    773773         * @access public
     
    782782        }
    783783
    784784        /**
    785          * Make private properties un-settable for backwards compatibility.
     785         * Make private properties un-settable for backward compatibility.
    786786         *
    787787         * @since 4.0.0
    788788         * @access public
     
    796796        }
    797797
    798798        /**
    799          * Make private/protected methods readable for backwards compatibility.
     799         * Make private/protected methods readable for backward compatibility.
    800800         *
    801801         * @since 4.0.0
    802802         * @access public
  • src/wp-includes/class-wp-user.php

     
    242242        }
    243243
    244244        /**
    245          * Makes private/protected methods readable for backwards compatibility.
     245         * Makes private/protected methods readable for backward compatibility.
    246246         *
    247247         * @since 4.3.0
    248248         * @access public
  • src/wp-includes/class-wp-walker.php

     
    139139                //display this element
    140140                $this->has_children = ! empty( $children_elements[ $id ] );
    141141                if ( isset( $args[0] ) && is_array( $args[0] ) ) {
    142                         $args[0]['has_children'] = $this->has_children; // Backwards compatibility.
     142                        $args[0]['has_children'] = $this->has_children; // Back-compat.
    143143                }
    144144
    145145                $cb_args = array_merge( array(&$output, $element, $depth), $args);
     
    386386         *
    387387         * @since 2.7.0
    388388         * @access public
    389          * 
     389         *
    390390         * @param array $elements Elements to list.
    391391         * @return int Number of root elements.
    392392         */
  • src/wp-includes/class-wp-xmlrpc-server.php

     
    171171        }
    172172
    173173        /**
    174          * Make private/protected methods readable for backwards compatibility.
     174         * Make private/protected methods readable for backward compatibility.
    175175         *
    176176         * @since 4.0.0
    177177         * @access public
  • src/wp-includes/comment-template.php

     
    704704
    705705        $comment = get_comment($comment);
    706706
    707         // Backwards compat
     707        // Back-compat.
    708708        if ( ! is_array( $args ) ) {
    709709                $args = array( 'page' => $args );
    710710        }
  • src/wp-includes/css/buttons.css

     
    88
    99WordPress-style Buttons
    1010=======================
    11 Create a button by adding the `.button` class to an element. For backwards
     11Create a button by adding the `.button` class to an element. For backward
    1212compatibility, we support several other classes (such as `.button-secondary`),
    1313but these will *not* work with the stackable classes described below.
    1414
  • src/wp-includes/deprecated.php

     
    20612061 */
    20622062function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) {
    20632063        _deprecated_function( __FUNCTION__, '2.8', 'esc_html()' );
    2064         if ( func_num_args() > 1 ) { // Maintain backwards compat for people passing additional args
     2064        if ( func_num_args() > 1 ) { // Maintain back-compat for people passing additional arguments.
    20652065                $args = func_get_args();
    20662066                return call_user_func_array( '_wp_specialchars', $args );
    20672067        } else {
     
    20852085}
    20862086
    20872087/**
    2088  * Register widget for sidebar with backwards compatibility.
     2088 * Register widget for sidebar with backward compatibility.
    20892089 *
    20902090 * Allows $name to be an array that accepts either three elements to grab the
    20912091 * first element and the third for the name or just uses the first element of
    20922092 * the array for the name.
    20932093 *
    2094  * Passes to {@link wp_register_sidebar_widget()} after argument list and
    2095  * backwards compatibility is complete.
     2094 * Passes to wp_register_sidebar_widget() after argument list and backward
     2095 * compatibility is complete.
    20962096 *
    20972097 * @since 2.2.0
    20982098 * @deprecated 2.8.0 Use wp_register_sidebar_widget()
  • src/wp-includes/formatting.php

     
    934934
    935935        $string = @htmlspecialchars( $string, $quote_style, $charset, $double_encode );
    936936
    937         // Backwards compatibility
     937        // Back-compat.
    938938        if ( 'single' === $_quote_style )
    939939                $string = str_replace( "'", ''', $string );
    940940
  • src/wp-includes/functions.php

     
    18491849 * @uses _wp_upload_dir()
    18501850 *
    18511851 * @param string $time Optional. Time formatted in 'yyyy/mm'. Default null.
    1852  * @param bool   $create_dir Optional. Whether to check and create the uploads directory. Default true (backwards compatible).
     1852 * @param bool   $create_dir Optional. Whether to check and create the uploads directory.
     1853 *                           Default true for backward compatibility.
    18531854 * @param bool   $refresh_cache Optional. Whether to refresh the cache. Default false.
    18541855 * @return array See above for description.
    18551856 */
  • src/wp-includes/general-template.php

     
    10741074 * or the page title. However, it is mostly common sense to have the blog title
    10751075 * to the right with most browsers supporting tabs. You can achieve this by
    10761076 * using the seplocation parameter and setting the value to 'right'. This change
    1077  * was introduced around 2.5.0, in case backwards compatibility of themes is
     1077 * was introduced around 2.5.0, in case backward compatibility of themes is
    10781078 * important.
    10791079 *
    10801080 * @since 1.0.0
  • src/wp-includes/js/wp-util.js

     
    9696
    9797                                // Use with PHP's wp_send_json_success() and wp_send_json_error()
    9898                                deferred.jqXHR = $.ajax( options ).done( function( response ) {
    99                                         // Treat a response of `1` as successful for backwards
    100                                         // compatibility with existing handlers.
     99                                        // Treat a response of 1 as successful for backward compatibility with existing handlers.
    101100                                        if ( response === '1' || response === 1 )
    102101                                                response = { success: true };
    103102
  • src/wp-includes/load.php

     
    331331                         */
    332332                        define( 'WP_LANG_DIR', WP_CONTENT_DIR . '/languages' );
    333333                        if ( !defined( 'LANGDIR' ) ) {
    334                                 // Old static relative path maintained for limited backwards compatibility - won't work in some cases
     334                                // Old static relative path maintained for limited backward compatibility - won't work in some cases.
    335335                                define( 'LANGDIR', 'wp-content/languages' );
    336336                        }
    337337                } else {
     
    344344                         */
    345345                        define( 'WP_LANG_DIR', ABSPATH . WPINC . '/languages' );
    346346                        if ( !defined( 'LANGDIR' ) ) {
    347                                 // Old relative path maintained for backwards compatibility
     347                                // Old relative path maintained for backward compatibility.
    348348                                define( 'LANGDIR', WPINC . '/languages' );
    349349                        }
    350350                }
  • src/wp-includes/locale.php

     
    332332        }
    333333
    334334        /**
    335          * Global variables are deprecated. For backwards compatibility only.
     335         * Global variables are deprecated.
    336336         *
    337          * @deprecated For backwards compatibility only.
     337         * For backward compatibility only.
     338         *
     339         * @deprecated For backward compatibility only.
    338340         * @access private
    339341         *
    340342         * @global array $weekday
  • src/wp-includes/query.php

     
    41234123        }
    41244124
    41254125        /**
    4126          * Make private properties readable for backwards compatibility.
     4126         * Make private properties readable for backward compatibility.
    41274127         *
    41284128         * @since 4.0.0
    41294129         * @access public
     
    41384138        }
    41394139
    41404140        /**
    4141          * Make private properties checkable for backwards compatibility.
     4141         * Make private properties checkable for backward compatibility.
    41424142         *
    41434143         * @since 4.0.0
    41444144         * @access public
     
    41534153        }
    41544154
    41554155        /**
    4156          * Make private/protected methods readable for backwards compatibility.
     4156         * Make private/protected methods readable for backward compatibility.
    41574157         *
    41584158         * @since 4.0.0
    41594159         * @access public
  • src/wp-includes/rest-api/class-wp-rest-response.php

     
    293293                 *
    294294                 * Well-behaved clients should expand and normalise these back to their
    295295                 * full URI relation, however some naive clients may not resolve these
    296                  * correctly, so adding new CURIEs may break backwards compatibility.
     296                 * correctly, so adding new CURIEs may break backward compatibility.
    297297                 *
    298298                 * @since 4.5.0
    299299                 *
  • src/wp-includes/rewrite.php

     
    202202function add_permastruct( $name, $struct, $args = array() ) {
    203203        global $wp_rewrite;
    204204
    205         // backwards compatibility for the old parameters: $with_front and $ep_mask
     205        // Back-compat for the old parameters: $with_front and $ep_mask.
    206206        if ( ! is_array( $args ) )
    207207                $args = array( 'with_front' => $args );
    208208        if ( func_num_args() == 4 )
  • src/wp-includes/taxonomy.php

     
    1414 * Creates the initial taxonomies.
    1515 *
    1616 * This function fires twice: in wp-settings.php before plugins are loaded (for
    17  * backwards compatibility reasons), and again on the {@see 'init'} action. We must
     17 * backward compatibility reasons), and again on the {@see 'init'} action. We must
    1818 * avoid registering rewrite rules before the {@see 'init'} action.
    1919 *
    2020 * @since 2.8.0
     
    21972197        $defaults = array('hide_empty' => false);
    21982198        $args = wp_parse_args($args, $defaults);
    21992199
    2200         // backwards compatibility
     2200        // backward compatibility
    22012201        if ( isset($args['ignore_empty']) ) {
    22022202                $args['hide_empty'] = $args['ignore_empty'];
    22032203                unset($args['ignore_empty']);
  • src/wp-includes/theme-compat/comments.php

     
    44 * @subpackage Theme_Compat
    55 * @deprecated 3.0
    66 *
    7  * This file is here for Backwards compatibility with old themes and will be removed in a future version
     7 * This file is here for backward compatibility with old themes and will be removed in a future version
    88 *
    99 */
    1010_deprecated_file(
  • src/wp-includes/theme-compat/footer.php

     
    44 * @subpackage Theme_Compat
    55 * @deprecated 3.0
    66 *
    7  * This file is here for Backwards compatibility with old themes and will be removed in a future version
    8  *
     7 * This file is here for backward compatibility with old themes and will be removed in a future version
    98 */
    109_deprecated_file(
    1110        /* translators: %s: template name */
  • src/wp-includes/theme-compat/header.php

     
    44 * @subpackage Theme_Compat
    55 * @deprecated 3.0
    66 *
    7  * This file is here for Backwards compatibility with old themes and will be removed in a future version
    8  *
     7 * This file is here for backward compatibility with old themes and will be removed in a future version.
    98 */
    109_deprecated_file(
    1110        /* translators: %s: template name */
  • src/wp-includes/theme-compat/sidebar.php

     
    44 * @subpackage Theme_Compat
    55 * @deprecated 3.0
    66 *
    7  * This file is here for Backwards compatibility with old themes and will be removed in a future version
    8  *
     7 * This file is here for backward compatibility with old themes and will be removed in a future version.
    98 */
    109_deprecated_file(
    1110        /* translators: %s: template name */
  • src/wp-includes/theme.php

     
    664664 * Switches the theme.
    665665 *
    666666 * Accepts one argument: $stylesheet of the theme. It also accepts an additional function signature
    667  * of two arguments: $template then $stylesheet. This is for backwards compatibility.
     667 * of two arguments: $template then $stylesheet. This is for backward compatibility.
    668668 *
    669669 * @since 2.5.0
    670670 *
     
    16341634                        // the constant is always accurate (and is not defined later,  overriding our value).
    16351635                        // As stated above, the first value wins.
    16361636                        // Once we get to wp_loaded (just-in-time), define any constants we haven't already.
    1637                         // Constants are lame. Don't reference them. This is just for backwards compatibility.
     1637                        // Constants are lame. Don't reference them. This is just for backward compatibility.
    16381638
    16391639                        if ( defined( 'NO_HEADER_TEXT' ) )
    16401640                                $args[0]['header-text'] = ! NO_HEADER_TEXT;
  • src/wp-includes/wp-db.php

     
    685685        }
    686686
    687687        /**
    688          * Magic function, for backwards compatibility.
     688         * Magic function, for backward compatibility.
    689689         *
    690690         * @since 3.5.0
    691691         *
     
    705705        }
    706706
    707707        /**
    708          * Magic function, for backwards compatibility.
     708         * Magic function, for backward compatibility.
    709709         *
    710710         * @since 3.5.0
    711711         *
     
    718718        }
    719719
    720720        /**
    721          * Magic function, for backwards compatibility.
     721         * Magic function, for backward compatibility.
    722722         *
    723723         * @since 3.5.0
    724724         *
  • src/wp-includes/wp-diff.php

     
    458458        }
    459459
    460460        /**
    461          * Make private properties readable for backwards compatibility.
     461         * Make private properties readable for backward compatibility.
    462462         *
    463463         * @since 4.0.0
    464464         * @access public
     
    473473        }
    474474
    475475        /**
    476          * Make private properties settable for backwards compatibility.
     476         * Make private properties settable for backward compatibility.
    477477         *
    478478         * @since 4.0.0
    479479         * @access public
     
    489489        }
    490490
    491491        /**
    492          * Make private properties checkable for backwards compatibility.
     492         * Make private properties checkable for backward compatibility.
    493493         *
    494494         * @since 4.0.0
    495495         * @access public
     
    504504        }
    505505
    506506        /**
    507          * Make private properties un-settable for backwards compatibility.
     507         * Make private properties un-settable for backward compatibility.
    508508         *
    509509         * @since 4.0.0
    510510         * @access public