Changeset 54866
- Timestamp:
- 11/23/2022 03:41:39 PM (23 months ago)
- Location:
- trunk/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-cron.php
r54258 r54866 24 24 } 25 25 26 / * Don't make the request block till we finish, if possible. */26 // Don't run cron until the request finishes, if possible. 27 27 if ( PHP_VERSION_ID >= 70016 && function_exists( 'fastcgi_finish_request' ) ) { 28 28 fastcgi_finish_request(); … … 36 36 37 37 /** 38 * Tell WordPress we are doing the cron task.38 * Tell WordPress the cron task is running. 39 39 * 40 40 * @var bool -
trunk/src/wp-load.php
r54200 r54866 69 69 $path = wp_guess_url() . '/wp-admin/setup-config.php'; 70 70 71 /* 72 * We're going to redirect to setup-config.php. While this shouldn't result 73 * in an infinite loop, that's a silly thing to assume, don't you think? If 74 * we're traveling in circles, our last-ditch effort is "Need more help?" 75 */ 71 // Redirect to setup-config.php. 76 72 if ( false === strpos( $_SERVER['REQUEST_URI'], 'setup-config' ) ) { 77 73 header( 'Location: ' . $path ); -
trunk/src/wp-login.php
r54848 r54866 1245 1245 ); 1246 1246 } elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) { 1247 // If cookies are disabled, we can't log in even with a valid userand password.1247 // If cookies are disabled, the user can't log in even with a valid username and password. 1248 1248 $user = new WP_Error( 1249 1249 'test_cookie', -
trunk/src/wp-mail.php
r54523 r54866 232 232 } 233 233 234 // We couldn't post, for whatever reason. Better move forward to the next email.234 // The post wasn't inserted or updated, for whatever reason. Better move forward to the next email. 235 235 if ( empty( $post_ID ) ) { 236 236 continue; -
trunk/src/wp-settings.php
r54306 r54866 20 20 * 21 21 * These can't be directly globalized in version.php. When updating, 22 * we're including version.php from another installation and don't want23 * these values to be overriddenif already set.22 * include version.php from another installation and don't override 23 * these values if already set. 24 24 * 25 25 * @global string $wp_version The WordPress version string. … … 61 61 wp_initial_constants(); 62 62 63 // Make sure we register the shutdown handler for fatal errors as soon as possible.63 // Register the shutdown handler for fatal errors as soon as possible. 64 64 wp_register_fatal_error_handler(); 65 65 … … 71 71 wp_fix_server_vars(); 72 72 73 // Check if we'rein maintenance mode.73 // Check if the site is in maintenance mode. 74 74 wp_maintenance(); 75 75 … … 77 77 timer_start(); 78 78 79 // Check if we're in WP_DEBUG mode.79 // Check if WP_DEBUG mode is enabled. 80 80 wp_debug_mode(); 81 81 … … 146 146 register_shutdown_function( 'shutdown_action_hook' ); 147 147 148 // Stop most of WordPress from being loaded if we just want the basics.148 // Stop most of WordPress from being loaded if SHORTINIT is enabled. 149 149 if ( SHORTINIT ) { 150 150 return false; -
trunk/src/wp-trackback.php
r54658 r54866 77 77 } 78 78 79 // Now that mb_convert_encoding() has been given a swing, we need to escape these three.79 // Escape values to use in the trackback. 80 80 $title = wp_slash( $title ); 81 81 $excerpt = wp_slash( $excerpt ); -
trunk/src/xmlrpc.php
r47926 r54866 13 13 define( 'XMLRPC_REQUEST', true ); 14 14 15 // Some browser-embedded clients send cookies. We don't want them.15 // Discard unneeded cookies sent by some browser-embedded clients. 16 16 $_COOKIE = array(); 17 17
Note: See TracChangeset
for help on using the changeset viewer.