Changeset 53884 for trunk/src/wp-includes/load.php
- Timestamp:
- 08/11/2022 09:49:08 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/load.php
r53832 r53884 1142 1142 1143 1143 /** 1144 * Determines whether the current request is for the login screen. 1145 * 1146 * @since 6.1.0 1147 * 1148 * @see wp_login_url() 1149 * 1150 * @return bool True if inside WordPress login screen, false otherwise. 1151 */ 1152 function is_login_screen() { 1153 return false !== stripos( wp_login_url(), $_SERVER['SCRIPT_NAME'] ); 1154 } 1155 1156 /** 1144 1157 * Determines whether the current request is for an administrative interface page. 1145 1158 *
Note: See TracChangeset
for help on using the changeset viewer.