Changeset 50054 for branches/5.6/src/wp-includes/load.php
- Timestamp:
- 01/28/2021 11:05:23 AM (4 years ago)
- Location:
- branches/5.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.6
-
branches/5.6/src/wp-includes/load.php
r50044 r50054 1690 1690 * Checks if this site is protected by HTTP Basic Auth. 1691 1691 * 1692 * At the moment, this merely checks for the present of Basic Auth credentials. Therefore, calling this function 1693 * with a context different from the current context may give inaccurate results. In a future release, this 1694 * evaluation may be made more robust. 1695 * 1696 * Currently, this is only used by Application Passwords to prevent a conflict since it also utilizes Basic Auth. 1692 * At the moment, this merely checks for the present of Basic Auth credentials. Therefore, calling 1693 * this function with a context different from the current context may give inaccurate results. 1694 * In a future release, this evaluation may be made more robust. 1695 * 1696 * Currently, this is only used by Application Passwords to prevent a conflict since it also utilizes 1697 * Basic Auth. 1697 1698 * 1698 1699 * @since 5.6.1 … … 1700 1701 * @global string $pagenow The current page. 1701 1702 * 1702 * @param string $context The context to check for protection. Accepts 'login', 'admin', and 'front'. Defaults to the current context.1703 * 1704 * @return bool 1703 * @param string $context The context to check for protection. Accepts 'login', 'admin', and 'front'. 1704 * Defaults to the current context. 1705 * @return bool Whether the site is protected by Basic Auth. 1705 1706 */ 1706 1707 function wp_is_site_protected_by_basic_auth( $context = '' ) {
Note: See TracChangeset
for help on using the changeset viewer.