Ticket #36835: 36835.2.patch
File 36835.2.patch, 35.2 KB (added by , 9 years ago) |
---|
-
src/wp-admin/admin.php
175 175 if ( ! $page_hook = get_plugin_page_hook($plugin_page, $the_parent) ) { 176 176 $page_hook = get_plugin_page_hook($plugin_page, $plugin_page); 177 177 178 // Back wards compatibilityfor plugins using add_management_page().178 // Back-compat for plugins using add_management_page(). 179 179 if ( empty( $page_hook ) && 'edit.php' == $pagenow && '' != get_plugin_page_hook($plugin_page, 'tools.php') ) { 180 180 // There could be plugin specific params on the URL, so we need the whole query string 181 181 if ( !empty($_SERVER[ 'QUERY_STRING' ]) ) -
src/wp-admin/includes/ajax-actions.php
2466 2466 } 2467 2467 2468 2468 /** 2469 * Ajax handler for saving backward scompatible attachment attributes.2469 * Ajax handler for saving backward compatible attachment attributes. 2470 2470 * 2471 2471 * @since 3.5.0 2472 2472 */ … … 2552 2552 * Ajax handler for sending an attachment to the editor. 2553 2553 * 2554 2554 * Generates the HTML to send an attachment to the editor. 2555 * Backward scompatible with the media_send_to_editor filter2555 * Backward compatible with the media_send_to_editor filter 2556 2556 * and the chain of filters that follow. 2557 2557 * 2558 2558 * @since 3.5.0 … … 2617 2617 * 2618 2618 * Generates the HTML to send a non-image embed link to the editor. 2619 2619 * 2620 * Backward scompatible with the following filters:2620 * Backward compatible with the following filters: 2621 2621 * - file_send_to_editor_url 2622 2622 * - audio_send_to_editor_url 2623 2623 * - video_send_to_editor_url -
src/wp-admin/includes/class-wp-list-table.php
166 166 } 167 167 168 168 /** 169 * Make private properties readable for backward scompatibility.169 * Make private properties readable for backward compatibility. 170 170 * 171 171 * @since 4.0.0 172 172 * @access public … … 181 181 } 182 182 183 183 /** 184 * Make private properties settable for backward scompatibility.184 * Make private properties settable for backward compatibility. 185 185 * 186 186 * @since 4.0.0 187 187 * @access public … … 197 197 } 198 198 199 199 /** 200 * Make private properties checkable for backward scompatibility.200 * Make private properties checkable for backward compatibility. 201 201 * 202 202 * @since 4.0.0 203 203 * @access public … … 212 212 } 213 213 214 214 /** 215 * Make private properties un-settable for backward scompatibility.215 * Make private properties un-settable for backward compatibility. 216 216 * 217 217 * @since 4.0.0 218 218 * @access public … … 226 226 } 227 227 228 228 /** 229 * Make private/protected methods readable for backward scompatibility.229 * Make private/protected methods readable for backward compatibility. 230 230 * 231 231 * @since 4.0.0 232 232 * @access public … … 432 432 * @access protected 433 433 * 434 434 * @param string $which The location of the bulk actions: 'top' or 'bottom'. 435 * This is designated as optional for backward s-compatibility.435 * This is designated as optional for backward compatibility. 436 436 */ 437 437 protected function bulk_actions( $which = '' ) { 438 438 if ( is_null( $this->_actions ) ) { -
src/wp-admin/includes/class-wp-screen.php
418 418 } 419 419 420 420 /** 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. 422 422 * 423 * For backwards compatibility.424 *425 423 * @since 3.3.0 426 424 * 427 425 * @static … … 722 720 /** 723 721 * Render the screen's help section. 724 722 * 725 * This will trigger the deprecated filters for backward scompatibility.723 * This will trigger the deprecated filters for backward compatibility. 726 724 * 727 725 * @since 3.3.0 728 726 * -
src/wp-admin/includes/plugin.php
487 487 * be activated only as a network wide plugin. The plugin would also work 488 488 * when Multisite is not enabled. 489 489 * 490 * Checks for "Site Wide Only: true" for backward scompatibility.490 * Checks for "Site Wide Only: true" for backward compatibility. 491 491 * 492 492 * @since 3.0.0 493 493 * -
src/wp-admin/js/common.js
394 394 } 395 395 396 396 /* 397 * The `.below-h2` class is here just for backward scompatibility with plugins397 * The `.below-h2` class is here just for backward compatibility with plugins 398 398 * that are (incorrectly) using it. Do not use. Use `.inline` instead. See #34570. 399 399 */ 400 400 $( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $( '.wrap h1, .wrap h2' ).first() ); -
src/wp-admin/js/password-strength-meter.js
70 70 } 71 71 }; 72 72 73 // Back wards compatibility.73 // Back-compat. 74 74 passwordStrength = wp.passwordStrength.meter; 75 })(jQuery); 76 No newline at end of file 75 })(jQuery); -
src/wp-admin/js/wp-fullscreen-stub.js
1 1 /** 2 * Distraction-Free Writing (wp-fullscreen) backward scompatibility stub.2 * Distraction-Free Writing (wp-fullscreen) backward compatibility stub. 3 3 * Todo: remove at the end of 2016. 4 4 * 5 5 * Original was deprecated in 4.1, removed in 4.3. -
src/wp-admin/menu.php
265 265 $_wp_real_parent_file['wpmu-admin.php'] = 'tools.php'; 266 266 $_wp_real_parent_file['ms-admin.php'] = 'tools.php'; 267 267 268 // ensure we're backwards compatible268 // Ensure backward compatibility. 269 269 $compat = array( 270 270 'index' => 'dashboard', 271 271 'edit' => 'posts', -
src/wp-admin/options-head.php
11 11 wp_reset_vars( array( 'action' ) ); 12 12 13 13 if ( isset( $_GET['updated'] ) && isset( $_GET['page'] ) ) { 14 // For back wards compat with plugins that don't use the Settings API and just set updated=1 in the redirect14 // For back-compat with plugins that don't use the Settings API and just set updated=1 in the redirect. 15 15 add_settings_error('general', 'settings_updated', __('Settings saved.'), 'updated'); 16 16 } 17 17 -
src/wp-admin/theme-install.php
118 118 /** 119 119 * Filter the tabs shown on the Add Themes screen. 120 120 * 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. 123 122 * 124 123 * @since 2.8.0 125 124 * -
src/wp-includes/author-template.php
45 45 * still use the old behavior will also pass the value from get_the_author(). 46 46 * 47 47 * The normal, expected behavior of this function is to echo the author and not 48 * return it. However, backward scompatibility has to be maintained.48 * return it. However, backward compatibility has to be maintained. 49 49 * 50 50 * @since 0.71 51 51 * @see get_the_author() -
src/wp-includes/cache.php
344 344 private $multisite; 345 345 346 346 /** 347 * Makes private properties readable for backward scompatibility.347 * Makes private properties readable for backward compatibility. 348 348 * 349 349 * @since 4.0.0 350 350 * @access public … … 357 357 } 358 358 359 359 /** 360 * Makes private properties settable for backward scompatibility.360 * Makes private properties settable for backward compatibility. 361 361 * 362 362 * @since 4.0.0 363 363 * @access public … … 371 371 } 372 372 373 373 /** 374 * Makes private properties checkable for backward scompatibility.374 * Makes private properties checkable for backward compatibility. 375 375 * 376 376 * @since 4.0.0 377 377 * @access public … … 384 384 } 385 385 386 386 /** 387 * Makes private properties un-settable for backward scompatibility.387 * Makes private properties un-settable for backward compatibility. 388 388 * 389 389 * @since 4.0.0 390 390 * @access public -
src/wp-includes/category.php
10 10 * Retrieve list of category objects. 11 11 * 12 12 * 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 backward s13 * will be returned instead. Also all categories will be updated to be backward 14 14 * compatible with pre-2.3 plugins and themes. 15 15 * 16 16 * @since 2.1.0 … … 77 77 * If you look at get_term(), then both types will be passed through several 78 78 * filters and finally sanitized based on the $filter parameter value. 79 79 * 80 * The category will converted to maintain backward scompatibility.80 * The category will converted to maintain backward compatibility. 81 81 * 82 82 * @since 1.5.1 83 83 * -
src/wp-includes/certificates/ca-bundle.crt
3 3 ## 4 4 ## Certificate data from Mozilla as of: Wed Sep 16 08:58:11 2015 5 5 ## Includes a WordPress Modification - We include the 'legacy' 1024bit certificates 6 ## for backward scompatibility. See https://core.trac.wordpress.org/ticket/34935#comment:106 ## for backward compatibility. See https://core.trac.wordpress.org/ticket/34935#comment:10 7 7 ## 8 8 ## This is a bundle of X.509 certificates of public Certificate Authorities 9 9 ## (CA). These were automatically extracted from Mozilla's root certificates -
src/wp-includes/class-oembed.php
38 38 public static $early_providers = array(); 39 39 40 40 /** 41 * A list of private/protected methods, used for backward scompatibility.41 * A list of private/protected methods, used for backward compatibility. 42 42 * 43 43 * @since 4.2.0 44 44 * @access private … … 192 192 } 193 193 194 194 /** 195 * Exposes private/protected methods for backward scompatibility.195 * Exposes private/protected methods for backward compatibility. 196 196 * 197 197 * @since 4.0.0 198 198 * @access public -
src/wp-includes/class-wp-comment-query.php
125 125 public $max_num_pages = 0; 126 126 127 127 /** 128 * Make private/protected methods readable for backward scompatibility.128 * Make private/protected methods readable for backward compatibility. 129 129 * 130 130 * @since 4.0.0 131 131 * @access public -
src/wp-includes/class-wp-editor.php
54 54 * @type string $editor_class Extra classes to add to the editor textarea element. Default empty. 55 55 * @type bool $teeny Whether to output the minimal editor config. Examples include 56 56 * 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. 58 59 * @type bool|array $tinymce Whether to load TinyMCE. Can be used to pass settings directly to 59 60 * TinyMCE using an array. Default true. 60 61 * @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
144 144 /** 145 145 * Check if an ArrayAccess offset exists. 146 146 * 147 * This is for backwards compatibility for array access.147 * This is for array access back-compat. 148 148 * 149 149 * @param string|int $key Array offset. 150 150 * @return bool True if the offset exists, false otherwise. … … 157 157 /** 158 158 * Get an ArrayAccess value. 159 159 * 160 * This is for backwards compatibility for array access.160 * This is for array access back-compat. 161 161 * 162 162 * @param string|int $key Array offset to get. 163 163 * @return mixed Value if the key is a valid offset, null if invalid. … … 189 189 /** 190 190 * Set an ArrayAccess value. 191 191 * 192 * This is for backwards compatibility for array access.192 * This is for array access back-compat. 193 193 * 194 194 * @param string|int $key Array offset to set. 195 195 * @param mixed $value Value to set. … … 219 219 /** 220 220 * Unset an ArrayAccess value. 221 221 * 222 * This is for backwards compatibility for array access.222 * This is for array access back-compat. 223 223 * 224 224 * @param string|int $key Array offset to remove. 225 225 */ -
src/wp-includes/class-wp-http-streams.php
415 415 /** 416 416 * Deprecated HTTP Transport method which used fsockopen. 417 417 * 418 * This class is not used, and is included for backward scompatibility only.418 * This class is not used, and is included for backward compatibility only. 419 419 * All code should make use of WP_Http directly through its API. 420 420 * 421 421 * @see WP_HTTP::request … … 424 424 * @deprecated 3.7.0 Please use WP_HTTP::request() directly 425 425 */ 426 426 class WP_HTTP_Fsockopen extends WP_HTTP_Streams { 427 // For backward scompatibility for users who are using the class directly.427 // For backward compatibility for users who are using the class directly. 428 428 } -
src/wp-includes/class-wp-image-editor-imagick.php
343 343 * Use resizeImage() when it's available and a valid filter value is set. 344 344 * Otherwise, fall back to the scaleImage() method for resizing, which 345 345 * results in better image quality over resizeImage() with default filter 346 * settings and retains backward scompatibility with pre 4.5 functionality.346 * settings and retains backward compatibility with pre 4.5 functionality. 347 347 */ 348 348 if ( is_callable( array( $this->image, 'resizeImage' ) ) && $filter ) { 349 349 $this->image->setOption( 'filter:support', '2.0' ); -
src/wp-includes/class-wp-image-editor.php
276 276 } 277 277 } 278 278 279 // Allow 0, but squash to 1 due to identical images in GD, and for backward scompatibility.279 // Allow 0, but squash to 1 due to identical images in GD, and for backward compatibility. 280 280 if ( 0 === $quality ) { 281 281 $quality = 1; 282 282 } -
src/wp-includes/class-wp-rewrite.php
1743 1743 * } 1744 1744 */ 1745 1745 public function add_permastruct( $name, $struct, $args = array() ) { 1746 // Back wards compatibilityfor the old parameters: $with_front and $ep_mask.1746 // Back-compat for the old parameters: $with_front and $ep_mask. 1747 1747 if ( ! is_array( $args ) ) 1748 1748 $args = array( 'with_front' => $args ); 1749 1749 if ( func_num_args() == 4 ) -
src/wp-includes/class-wp-roles.php
79 79 } 80 80 81 81 /** 82 * Make private/protected methods readable for backward scompatibility.82 * Make private/protected methods readable for backward compatibility. 83 83 * 84 84 * @since 4.0.0 85 85 * @access public -
src/wp-includes/class-wp-theme.php
447 447 switch ( $offset ) { 448 448 case 'Name' : 449 449 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 */ 452 454 return $this->get('Name'); 453 455 case 'Author' : 454 456 return $this->display( 'Author'); -
src/wp-includes/class-wp-user-query.php
736 736 } 737 737 738 738 /** 739 * Make private properties readable for backward scompatibility.739 * Make private properties readable for backward compatibility. 740 740 * 741 741 * @since 4.0.0 742 742 * @access public … … 751 751 } 752 752 753 753 /** 754 * Make private properties settable for backward scompatibility.754 * Make private properties settable for backward compatibility. 755 755 * 756 756 * @since 4.0.0 757 757 * @access public … … 767 767 } 768 768 769 769 /** 770 * Make private properties checkable for backward scompatibility.770 * Make private properties checkable for backward compatibility. 771 771 * 772 772 * @since 4.0.0 773 773 * @access public … … 782 782 } 783 783 784 784 /** 785 * Make private properties un-settable for backward scompatibility.785 * Make private properties un-settable for backward compatibility. 786 786 * 787 787 * @since 4.0.0 788 788 * @access public … … 796 796 } 797 797 798 798 /** 799 * Make private/protected methods readable for backward scompatibility.799 * Make private/protected methods readable for backward compatibility. 800 800 * 801 801 * @since 4.0.0 802 802 * @access public -
src/wp-includes/class-wp-user.php
242 242 } 243 243 244 244 /** 245 * Makes private/protected methods readable for backward scompatibility.245 * Makes private/protected methods readable for backward compatibility. 246 246 * 247 247 * @since 4.3.0 248 248 * @access public -
src/wp-includes/class-wp-walker.php
139 139 //display this element 140 140 $this->has_children = ! empty( $children_elements[ $id ] ); 141 141 if ( isset( $args[0] ) && is_array( $args[0] ) ) { 142 $args[0]['has_children'] = $this->has_children; // Back wards compatibility.142 $args[0]['has_children'] = $this->has_children; // Back-compat. 143 143 } 144 144 145 145 $cb_args = array_merge( array(&$output, $element, $depth), $args); … … 386 386 * 387 387 * @since 2.7.0 388 388 * @access public 389 * 389 * 390 390 * @param array $elements Elements to list. 391 391 * @return int Number of root elements. 392 392 */ -
src/wp-includes/class-wp-xmlrpc-server.php
171 171 } 172 172 173 173 /** 174 * Make private/protected methods readable for backward scompatibility.174 * Make private/protected methods readable for backward compatibility. 175 175 * 176 176 * @since 4.0.0 177 177 * @access public -
src/wp-includes/comment-template.php
704 704 705 705 $comment = get_comment($comment); 706 706 707 // Back wards compat707 // Back-compat. 708 708 if ( ! is_array( $args ) ) { 709 709 $args = array( 'page' => $args ); 710 710 } -
src/wp-includes/css/buttons.css
8 8 9 9 WordPress-style Buttons 10 10 ======================= 11 Create a button by adding the `.button` class to an element. For backward s11 Create a button by adding the `.button` class to an element. For backward 12 12 compatibility, we support several other classes (such as `.button-secondary`), 13 13 but these will *not* work with the stackable classes described below. 14 14 -
src/wp-includes/deprecated.php
2061 2061 */ 2062 2062 function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) { 2063 2063 _deprecated_function( __FUNCTION__, '2.8', 'esc_html()' ); 2064 if ( func_num_args() > 1 ) { // Maintain back wards compat for people passing additional args2064 if ( func_num_args() > 1 ) { // Maintain back-compat for people passing additional arguments. 2065 2065 $args = func_get_args(); 2066 2066 return call_user_func_array( '_wp_specialchars', $args ); 2067 2067 } else { … … 2085 2085 } 2086 2086 2087 2087 /** 2088 * Register widget for sidebar with backward scompatibility.2088 * Register widget for sidebar with backward compatibility. 2089 2089 * 2090 2090 * Allows $name to be an array that accepts either three elements to grab the 2091 2091 * first element and the third for the name or just uses the first element of 2092 2092 * the array for the name. 2093 2093 * 2094 * Passes to {@link wp_register_sidebar_widget()} after argument list and2095 * backwardscompatibility is complete.2094 * Passes to wp_register_sidebar_widget() after argument list and backward 2095 * compatibility is complete. 2096 2096 * 2097 2097 * @since 2.2.0 2098 2098 * @deprecated 2.8.0 Use wp_register_sidebar_widget() -
src/wp-includes/formatting.php
934 934 935 935 $string = @htmlspecialchars( $string, $quote_style, $charset, $double_encode ); 936 936 937 // Back wards compatibility937 // Back-compat. 938 938 if ( 'single' === $_quote_style ) 939 939 $string = str_replace( "'", ''', $string ); 940 940 -
src/wp-includes/functions.php
1849 1849 * @uses _wp_upload_dir() 1850 1850 * 1851 1851 * @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. 1853 1854 * @param bool $refresh_cache Optional. Whether to refresh the cache. Default false. 1854 1855 * @return array See above for description. 1855 1856 */ -
src/wp-includes/general-template.php
1074 1074 * or the page title. However, it is mostly common sense to have the blog title 1075 1075 * to the right with most browsers supporting tabs. You can achieve this by 1076 1076 * using the seplocation parameter and setting the value to 'right'. This change 1077 * was introduced around 2.5.0, in case backward scompatibility of themes is1077 * was introduced around 2.5.0, in case backward compatibility of themes is 1078 1078 * important. 1079 1079 * 1080 1080 * @since 1.0.0 -
src/wp-includes/js/wp-util.js
96 96 97 97 // Use with PHP's wp_send_json_success() and wp_send_json_error() 98 98 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. 101 100 if ( response === '1' || response === 1 ) 102 101 response = { success: true }; 103 102 -
src/wp-includes/load.php
331 331 */ 332 332 define( 'WP_LANG_DIR', WP_CONTENT_DIR . '/languages' ); 333 333 if ( !defined( 'LANGDIR' ) ) { 334 // Old static relative path maintained for limited backward s compatibility - won't work in some cases334 // Old static relative path maintained for limited backward compatibility - won't work in some cases. 335 335 define( 'LANGDIR', 'wp-content/languages' ); 336 336 } 337 337 } else { … … 344 344 */ 345 345 define( 'WP_LANG_DIR', ABSPATH . WPINC . '/languages' ); 346 346 if ( !defined( 'LANGDIR' ) ) { 347 // Old relative path maintained for backward s compatibility347 // Old relative path maintained for backward compatibility. 348 348 define( 'LANGDIR', WPINC . '/languages' ); 349 349 } 350 350 } -
src/wp-includes/locale.php
332 332 } 333 333 334 334 /** 335 * Global variables are deprecated. For backwards compatibility only.335 * Global variables are deprecated. 336 336 * 337 * @deprecated For backwards compatibility only. 337 * For backward compatibility only. 338 * 339 * @deprecated For backward compatibility only. 338 340 * @access private 339 341 * 340 342 * @global array $weekday -
src/wp-includes/query.php
4123 4123 } 4124 4124 4125 4125 /** 4126 * Make private properties readable for backward scompatibility.4126 * Make private properties readable for backward compatibility. 4127 4127 * 4128 4128 * @since 4.0.0 4129 4129 * @access public … … 4138 4138 } 4139 4139 4140 4140 /** 4141 * Make private properties checkable for backward scompatibility.4141 * Make private properties checkable for backward compatibility. 4142 4142 * 4143 4143 * @since 4.0.0 4144 4144 * @access public … … 4153 4153 } 4154 4154 4155 4155 /** 4156 * Make private/protected methods readable for backward scompatibility.4156 * Make private/protected methods readable for backward compatibility. 4157 4157 * 4158 4158 * @since 4.0.0 4159 4159 * @access public -
src/wp-includes/rest-api/class-wp-rest-response.php
293 293 * 294 294 * Well-behaved clients should expand and normalise these back to their 295 295 * full URI relation, however some naive clients may not resolve these 296 * correctly, so adding new CURIEs may break backward scompatibility.296 * correctly, so adding new CURIEs may break backward compatibility. 297 297 * 298 298 * @since 4.5.0 299 299 * -
src/wp-includes/rewrite.php
202 202 function add_permastruct( $name, $struct, $args = array() ) { 203 203 global $wp_rewrite; 204 204 205 // backwards compatibility for the old parameters: $with_front and $ep_mask205 // Back-compat for the old parameters: $with_front and $ep_mask. 206 206 if ( ! is_array( $args ) ) 207 207 $args = array( 'with_front' => $args ); 208 208 if ( func_num_args() == 4 ) -
src/wp-includes/taxonomy.php
14 14 * Creates the initial taxonomies. 15 15 * 16 16 * This function fires twice: in wp-settings.php before plugins are loaded (for 17 * backward scompatibility reasons), and again on the {@see 'init'} action. We must17 * backward compatibility reasons), and again on the {@see 'init'} action. We must 18 18 * avoid registering rewrite rules before the {@see 'init'} action. 19 19 * 20 20 * @since 2.8.0 … … 2197 2197 $defaults = array('hide_empty' => false); 2198 2198 $args = wp_parse_args($args, $defaults); 2199 2199 2200 // backward scompatibility2200 // backward compatibility 2201 2201 if ( isset($args['ignore_empty']) ) { 2202 2202 $args['hide_empty'] = $args['ignore_empty']; 2203 2203 unset($args['ignore_empty']); -
src/wp-includes/theme-compat/comments.php
4 4 * @subpackage Theme_Compat 5 5 * @deprecated 3.0 6 6 * 7 * This file is here for Backwardscompatibility with old themes and will be removed in a future version7 * This file is here for backward compatibility with old themes and will be removed in a future version 8 8 * 9 9 */ 10 10 _deprecated_file( -
src/wp-includes/theme-compat/footer.php
4 4 * @subpackage Theme_Compat 5 5 * @deprecated 3.0 6 6 * 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 9 8 */ 10 9 _deprecated_file( 11 10 /* translators: %s: template name */ -
src/wp-includes/theme-compat/header.php
4 4 * @subpackage Theme_Compat 5 5 * @deprecated 3.0 6 6 * 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. 9 8 */ 10 9 _deprecated_file( 11 10 /* translators: %s: template name */ -
src/wp-includes/theme-compat/sidebar.php
4 4 * @subpackage Theme_Compat 5 5 * @deprecated 3.0 6 6 * 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. 9 8 */ 10 9 _deprecated_file( 11 10 /* translators: %s: template name */ -
src/wp-includes/theme.php
664 664 * Switches the theme. 665 665 * 666 666 * Accepts one argument: $stylesheet of the theme. It also accepts an additional function signature 667 * of two arguments: $template then $stylesheet. This is for backward scompatibility.667 * of two arguments: $template then $stylesheet. This is for backward compatibility. 668 668 * 669 669 * @since 2.5.0 670 670 * … … 1634 1634 // the constant is always accurate (and is not defined later, overriding our value). 1635 1635 // As stated above, the first value wins. 1636 1636 // 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 backward scompatibility.1637 // Constants are lame. Don't reference them. This is just for backward compatibility. 1638 1638 1639 1639 if ( defined( 'NO_HEADER_TEXT' ) ) 1640 1640 $args[0]['header-text'] = ! NO_HEADER_TEXT; -
src/wp-includes/wp-db.php
685 685 } 686 686 687 687 /** 688 * Magic function, for backward scompatibility.688 * Magic function, for backward compatibility. 689 689 * 690 690 * @since 3.5.0 691 691 * … … 705 705 } 706 706 707 707 /** 708 * Magic function, for backward scompatibility.708 * Magic function, for backward compatibility. 709 709 * 710 710 * @since 3.5.0 711 711 * … … 718 718 } 719 719 720 720 /** 721 * Magic function, for backward scompatibility.721 * Magic function, for backward compatibility. 722 722 * 723 723 * @since 3.5.0 724 724 * -
src/wp-includes/wp-diff.php
458 458 } 459 459 460 460 /** 461 * Make private properties readable for backward scompatibility.461 * Make private properties readable for backward compatibility. 462 462 * 463 463 * @since 4.0.0 464 464 * @access public … … 473 473 } 474 474 475 475 /** 476 * Make private properties settable for backward scompatibility.476 * Make private properties settable for backward compatibility. 477 477 * 478 478 * @since 4.0.0 479 479 * @access public … … 489 489 } 490 490 491 491 /** 492 * Make private properties checkable for backward scompatibility.492 * Make private properties checkable for backward compatibility. 493 493 * 494 494 * @since 4.0.0 495 495 * @access public … … 504 504 } 505 505 506 506 /** 507 * Make private properties un-settable for backward scompatibility.507 * Make private properties un-settable for backward compatibility. 508 508 * 509 509 * @since 4.0.0 510 510 * @access public