Add missing doc blocks for `canonical.php`.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32540 git-svn-id: http://core.svn.wordpress.org/trunk@32510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ebd3201268
commit
3d130ba909
|
@ -27,8 +27,11 @@
|
|||
* or query in an attempt to figure the correct page to go to.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @uses $wp_rewrite
|
||||
* @uses $is_IIS
|
||||
*
|
||||
* @global WP_Rewrite $wp_rewrite
|
||||
* @global bool $is_IIS
|
||||
* @global WP_Query $wp_query
|
||||
* @global wpdb $wpdb
|
||||
*
|
||||
* @param string $requested_url Optional. The URL that was requested, used to
|
||||
* figure if redirect is needed.
|
||||
|
@ -524,6 +527,7 @@ function _remove_qs_args_if_not_in_url( $query_string, Array $args_to_check, $ur
|
|||
* @since 2.3.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
* @global WP_Rewrite $wp_rewrite
|
||||
*
|
||||
* @return false|string The correct URL if one is found. False on failure.
|
||||
*/
|
||||
|
@ -560,6 +564,10 @@ function redirect_guess_404_permalink() {
|
|||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @global WP_Rewrite $wp_rewrite
|
||||
*/
|
||||
function wp_redirect_admin_locations() {
|
||||
global $wp_rewrite;
|
||||
if ( ! ( is_404() && $wp_rewrite->using_permalinks() ) )
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32539';
|
||||
$wp_version = '4.3-alpha-32540';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue