Canonical: Rename `admin_canonical_url` filter to `wp_admin_canonical_url`.
This improves consistency as it matches the name of the function it is used in. Props peterwilsoncc, shailu25. Fixes #59545. Built from https://develop.svn.wordpress.org/trunk@57651 git-svn-id: http://core.svn.wordpress.org/trunk@57152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9e5c828e97
commit
f76da9b636
|
@ -1405,7 +1405,7 @@ function wp_admin_canonical_url() {
|
|||
*
|
||||
* @param string $filtered_url The admin canonical url value.
|
||||
*/
|
||||
$filtered_url = apply_filters( 'admin_canonical_url', $filtered_url );
|
||||
$filtered_url = apply_filters( 'wp_admin_canonical_url', $filtered_url );
|
||||
?>
|
||||
<link id="wp-admin-canonical" rel="canonical" href="<?php echo esc_url( $filtered_url ); ?>" />
|
||||
<script>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-beta1-57650';
|
||||
$wp_version = '6.5-beta1-57651';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue