Changeset 56153 for trunk/src/wp-includes/load.php
- Timestamp:
- 07/06/2023 02:15:00 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r56152 r56153 7 7 8 8 /** 9 * Return the HTTP protocol sent by the server.9 * Returns the HTTP protocol sent by the server. 10 10 * 11 11 * @since 4.4.0 … … 22 22 23 23 /** 24 * Fix `$_SERVER` variables for various setups.24 * Fixes `$_SERVER` variables for various setups. 25 25 * 26 26 * @since 3.0.0 … … 135 135 136 136 /** 137 * Check for the required PHP version, and the MySQL extension or137 * Checks for the required PHP version, and the MySQL extension or 138 138 * a database drop-in. 139 139 * … … 311 311 312 312 /** 313 * Don't load all of WordPresswhen handling a favicon.ico request.313 * Ensures all of WordPress is not loaded when handling a favicon.ico request. 314 314 * 315 315 * Instead, send the headers for a zero-length favicon and bail. … … 326 326 327 327 /** 328 * Die with a maintenance message when conditions are met.328 * Dies with a maintenance message when conditions are met. 329 329 * 330 330 * The default message can be replaced by using a drop-in (maintenance.php in … … 358 358 359 359 /** 360 * Check if maintenance mode is enabled.360 * Checks if maintenance mode is enabled. 361 361 * 362 362 * Checks for a file in the WordPress root directory named ".maintenance". … … 405 405 406 406 /** 407 * Get the time elapsed so far during this PHP script.407 * Gets the time elapsed so far during this PHP script. 408 408 * 409 409 * Uses REQUEST_TIME_FLOAT that appeared in PHP 5.4.0. … … 418 418 419 419 /** 420 * Start the WordPress micro-timer.420 * Starts the WordPress micro-timer. 421 421 * 422 422 * @since 0.71 … … 435 435 436 436 /** 437 * Retrieve or displaythe time from the page start to when function is called.437 * Retrieves or displays the time from the page start to when function is called. 438 438 * 439 439 * @since 0.71 … … 461 461 462 462 /** 463 * Set PHP error reporting based on WordPress debug settings.463 * Sets PHP error reporting based on WordPress debug settings. 464 464 * 465 465 * Uses three constants: `WP_DEBUG`, `WP_DEBUG_DISPLAY`, and `WP_DEBUG_LOG`. … … 561 561 562 562 /** 563 * Set the location of the language directory.563 * Sets the location of the language directory. 564 564 * 565 565 * To set directory manually, define the `WP_LANG_DIR` constant … … 606 606 607 607 /** 608 * Load the database class file and instantiatethe `$wpdb` global.608 * Loads the database class file and instantiates the `$wpdb` global. 609 609 * 610 610 * @since 2.5.0 … … 634 634 635 635 /** 636 * Set the database table prefix and the format specifiers for database636 * Sets the database table prefix and the format specifiers for database 637 637 * table columns. 638 638 * … … 705 705 706 706 /** 707 * Toggle `$_wp_using_ext_object_cache` on and off without directly707 * Toggles `$_wp_using_ext_object_cache` on and off without directly 708 708 * touching global. 709 709 * … … 725 725 726 726 /** 727 * Start the WordPress object cache.727 * Starts the WordPress object cache. 728 728 * 729 729 * If an object-cache.php file exists in the wp-content directory, … … 833 833 834 834 /** 835 * Redirect to the installer if WordPress is not installed.835 * Redirects to the installer if WordPress is not installed. 836 836 * 837 837 * Dies with an error message when Multisite is enabled. … … 861 861 862 862 /** 863 * Retrieve an array of must-use plugin files.863 * Retrieves an array of must-use plugin files. 864 864 * 865 865 * The default directory is wp-content/mu-plugins. To change the default … … 893 893 894 894 /** 895 * Retrieve an array of active and valid plugin files.895 * Retrieves an array of active and valid plugin files. 896 896 * 897 897 * While upgrading or installing WordPress, no plugins are returned. … … 1046 1046 1047 1047 /** 1048 * Is WordPress in Recovery Mode.1048 * Determines whether WordPress is in Recovery Mode. 1049 1049 * 1050 1050 * In this mode, plugins or themes that cause WSODs will be paused. … … 1144 1144 1145 1145 /** 1146 * Set internal encoding.1146 * Sets internal encoding. 1147 1147 * 1148 1148 * In most cases the default internal encoding is latin1, which is … … 1163 1163 1164 1164 /** 1165 * Add magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`.1165 * Adds magic quotes to `$_GET`, `$_POST`, `$_COOKIE`, and `$_SERVER`. 1166 1166 * 1167 1167 * Also forces `$_REQUEST` to be `$_GET + $_POST`. If `$_SERVER`, … … 1200 1200 1201 1201 /** 1202 * C opyan object.1202 * Clones an object. 1203 1203 * 1204 1204 * @since 2.7.0 … … 1328 1328 1329 1329 /** 1330 * IfMultisite is enabled.1330 * Determines whether Multisite is enabled. 1331 1331 * 1332 1332 * @since 3.0.0 … … 1347 1347 1348 1348 /** 1349 * Retrieve the current site ID.1349 * Retrieves the current site ID. 1350 1350 * 1351 1351 * @since 3.1.0 … … 1382 1382 1383 1383 /** 1384 * Attempt an early load of translations.1384 * Attempts an early load of translations. 1385 1385 * 1386 1386 * Used for errors encountered during the initial loading process, before … … 1487 1487 1488 1488 /** 1489 * Check or setwhether WordPress is in "installation" mode.1489 * Checks or sets whether WordPress is in "installation" mode. 1490 1490 * 1491 1491 * If the `WP_INSTALLING` constant is defined during the bootstrap, `wp_installing()` will default to `true`. … … 1702 1702 1703 1703 /** 1704 * Start scraping edited file errors.1704 * Starts scraping edited file errors. 1705 1705 * 1706 1706 * @since 4.9.0 … … 1731 1731 1732 1732 /** 1733 * Finalize scraping for edited file errors.1733 * Finalizes scraping for edited file errors. 1734 1734 * 1735 1735 * @since 4.9.0
Note: See TracChangeset
for help on using the changeset viewer.