Changeset 54663
- Timestamp:
- 10/21/2022 09:10:29 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-form-blocks.php
r54084 r54663 272 272 do_action( 'enqueue_block_editor_assets' ); 273 273 274 // In order to duplicate classic meta box behavio ur, we need to run the classic meta box actions.274 // In order to duplicate classic meta box behavior, we need to run the classic meta box actions. 275 275 require_once ABSPATH . 'wp-admin/includes/meta-boxes.php'; 276 276 register_and_do_post_meta_boxes( $post ); -
trunk/src/wp-admin/includes/update-core.php
r54236 r54663 853 853 * The contents of this array indicate any new bundled plugins/themes which 854 854 * should be installed with the WordPress Upgrade. These items will not be 855 * re-installed in future upgrades, this behavio ur is controlled by the855 * re-installed in future upgrades, this behavior is controlled by the 856 856 * introduced version present here being older than the current installed version. 857 857 * -
trunk/src/wp-includes/class-wp-http-proxy.php
r54133 r54663 46 46 * Whether proxy connection should be used. 47 47 * 48 * Constants which control this behavio ur:48 * Constants which control this behavior: 49 49 * 50 50 * - `WP_PROXY_HOST` … … 62 62 * Whether authentication should be used. 63 63 * 64 * Constants which control this behavio ur:64 * Constants which control this behavior: 65 65 * 66 66 * - `WP_PROXY_USERNAME` -
trunk/src/wp-includes/class-wp-http.php
r54133 r54663 248 248 * - boolean false to avoid short-circuiting the response 249 249 * 250 * Returning any other value may result in unexpected behavio ur.250 * Returning any other value may result in unexpected behavior. 251 251 * 252 252 * @since 2.9.0 … … 326 326 ); 327 327 328 // Ensure redirects follow browser behavio ur.328 // Ensure redirects follow browser behavior. 329 329 $options['hooks']->register( 'requests.before_redirect', array( get_class(), 'browser_redirect_compatibility' ) ); 330 330 … … 477 477 478 478 /** 479 * Match redirect behavio ur to browser handling.479 * Match redirect behavior to browser handling. 480 480 * 481 481 * Changes 302 redirects from POST to GET to match browser handling. Per -
trunk/src/wp-includes/deprecated.php
r54524 r54663 2028 2028 * 2029 2029 * A number of characters are removed from the URL. If the URL is for displaying 2030 * (the default behavio ur) ampersands are also replaced. The 'clean_url' filter2030 * (the default behavior) ampersands are also replaced. The 'clean_url' filter 2031 2031 * is applied to the returned cleaned URL. 2032 2032 * -
trunk/src/wp-includes/formatting.php
r54482 r54663 944 944 } 945 945 946 // Account for the previous behavio ur of the function when the $quote_style is not an accepted value.946 // Account for the previous behavior of the function when the $quote_style is not an accepted value. 947 947 if ( empty( $quote_style ) ) { 948 948 $quote_style = ENT_NOQUOTES; … … 1024 1024 } 1025 1025 1026 // Match the previous behavio ur of _wp_specialchars() when the $quote_style is not an accepted value.1026 // Match the previous behavior of _wp_specialchars() when the $quote_style is not an accepted value. 1027 1027 if ( empty( $quote_style ) ) { 1028 1028 $quote_style = ENT_NOQUOTES; … … 4335 4335 * 4336 4336 * NOTE: Since 4.8.3, '%' characters will be replaced with a placeholder string, 4337 * this prevents certain SQLi attacks from taking place. This change in behavio ur4337 * this prevents certain SQLi attacks from taking place. This change in behavior 4338 4338 * may cause issues for code that expects the return value of esc_sql() to be useable 4339 4339 * for other purposes. … … 4355 4355 * 4356 4356 * A number of characters are removed from the URL. If the URL is for displaying 4357 * (the default behavio ur) ampersands are also replaced. The {@see 'clean_url'} filter4357 * (the default behavior) ampersands are also replaced. The {@see 'clean_url'} filter 4358 4358 * is applied to the returned cleaned URL. 4359 4359 * -
trunk/src/wp-includes/functions.php
r54522 r54663 8437 8437 * Sorts the keys of an array alphabetically. 8438 8438 * The array is passed by reference so it doesn't get returned 8439 * which mimics the behavio ur of ksort.8439 * which mimics the behavior of ksort. 8440 8440 * 8441 8441 * @since 6.0.0 -
trunk/src/wp-includes/rest-api.php
r54518 r54663 3308 3308 * 3309 3309 * This iterates over all error codes and messages to change it into a flat 3310 * array. This enables simpler client behavio ur, as it is represented as a3310 * array. This enables simpler client behavior, as it is represented as a 3311 3311 * list in JSON rather than an object/map. 3312 3312 * -
trunk/src/wp-includes/rest-api/class-wp-rest-request.php
r54133 r54663 15 15 * Note: This implements ArrayAccess, and acts as an array of parameters when 16 16 * used in that manner. It does not use ArrayObject (as we cannot rely on SPL), 17 * so be aware it may have non-array behavio ur in some cases.17 * so be aware it may have non-array behavior in some cases. 18 18 * 19 19 * Note: When using features provided by ArrayAccess, be aware that WordPress deliberately -
trunk/src/wp-includes/rest-api/class-wp-rest-server.php
r54339 r54663 194 194 * 195 195 * This iterates over all error codes and messages to change it into a flat 196 * array. This enables simpler client behavio ur, as it is represented as a196 * array. This enables simpler client behavior, as it is represented as a 197 197 * list in JSON rather than an object/map. 198 198 * -
trunk/tests/phpunit/tests/admin/wpPostsListTable.php
r54215 r54663 226 226 ); 227 227 228 // Mimic the behavio ur of `wp_edit_posts_query()`:228 // Mimic the behavior of `wp_edit_posts_query()`: 229 229 if ( ! isset( $args['orderby'] ) ) { 230 230 $args['orderby'] = 'menu_order title'; -
trunk/tests/phpunit/tests/functions/cleanDirsizeCache.php
r52780 r54663 106 106 107 107 /** 108 * Tests the behavio ur of the function when the transient doesn't exist.108 * Tests the behavior of the function when the transient doesn't exist. 109 109 * 110 110 * @ticket 52241 … … 122 122 123 123 /** 124 * Tests the behavio ur of the function when the transient does exist, but is not an array.124 * Tests the behavior of the function when the transient does exist, but is not an array. 125 125 * 126 126 * In particular, this tests that no PHP TypeErrors are being thrown. -
trunk/tests/phpunit/tests/functions/wpListUtil.php
r54421 r54663 943 943 * Tests non-existent '$orderby' fields. 944 944 * 945 * In PHP < 7.0.0, the sorting behavio ur is different, which Core does not945 * In PHP < 7.0.0, the sorting behavior is different, which Core does not 946 946 * currently handle. Until this is fixed, or the minimum PHP version is 947 947 * raised to PHP 7.0.0+, these tests will be skipped on PHP < 7.0.0. -
trunk/tests/phpunit/tests/rest-api/rest-application-passwords-controller.php
r53882 r54663 993 993 $actual = wp_is_application_passwords_supported(); 994 994 995 // Revert to default behavio ur so that other tests are not affected.995 // Revert to default behavior so that other tests are not affected. 996 996 putenv( 'WP_ENVIRONMENT_TYPE' ); 997 997 … … 1025 1025 1026 1026 if ( 'default' === $expected ) { 1027 // Revert to default behavio ur so that other tests are not affected.1027 // Revert to default behavior so that other tests are not affected. 1028 1028 putenv( 'WP_ENVIRONMENT_TYPE' ); 1029 1029 } -
trunk/tests/phpunit/tests/theme.php
r54236 r54663 357 357 $this->assertFalse( $theme->exists() ); 358 358 359 // These return the bogus name - perhaps not ideal behavio ur?359 // These return the bogus name - perhaps not ideal behavior? 360 360 $this->assertSame( $template, get_template() ); 361 361 $this->assertSame( $style, get_stylesheet() ); -
trunk/tests/phpunit/wp-mail-real-test.php
r47198 r54663 60 60 $original_wpdb = $GLOBALS['wpdb']; 61 61 62 // Hide warnings during testing, since that's the normal WP behavio ur.62 // Hide warnings during testing, since that's the normal WP behavior. 63 63 if ( ! WP_DEBUG ) { 64 64 error_reporting( E_ALL ^ E_NOTICE );
Note: See TracChangeset
for help on using the changeset viewer.