mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@57651 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8fc144ab27
commit
a1d6aa3644
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user