mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Docs: Add missing description for $pagenow global in various functions.
See #54729, #55499. git-svn-id: https://develop.svn.wordpress.org/trunk@53060 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -886,6 +886,8 @@ function wp_skip_paused_plugins( array $plugins ) {
|
||||
* @since 5.1.0
|
||||
* @access private
|
||||
*
|
||||
* @global string $pagenow The filename of the current screen.
|
||||
*
|
||||
* @return string[] Array of absolute paths to theme directories.
|
||||
*/
|
||||
function wp_get_active_and_valid_themes() {
|
||||
@@ -966,7 +968,7 @@ function wp_is_recovery_mode() {
|
||||
*
|
||||
* @since 5.2.0
|
||||
*
|
||||
* @global string $pagenow
|
||||
* @global string $pagenow The filename of the current screen.
|
||||
*
|
||||
* @return bool True if the current endpoint should be protected.
|
||||
*/
|
||||
@@ -1746,7 +1748,7 @@ function wp_is_xml_request() {
|
||||
*
|
||||
* @since 5.6.1
|
||||
*
|
||||
* @global string $pagenow The current page.
|
||||
* @global string $pagenow The filename of the current screen.
|
||||
*
|
||||
* @param string $context The context to check for protection. Accepts 'login', 'admin', and 'front'.
|
||||
* Defaults to the current context.
|
||||
|
||||
Reference in New Issue
Block a user