Make WordPress Core

Ticket #59545: 59545.patch

File 59545.patch, 583 bytes (added by shailu25, 10 months ago)

Patch Updated

  • src/wp-admin/includes/misc.php

    diff --git a/src/wp-admin/includes/misc.php b/src/wp-admin/includes/misc.php
    index 13552d56cf..f950821b1d 100644
    a b function wp_admin_canonical_url() { 
    14051405         *
    14061406         * @param string $filtered_url The admin canonical url value.
    14071407         */
    1408         $filtered_url = apply_filters( 'admin_canonical_url', $filtered_url );
     1408        $filtered_url = apply_filters( 'wp_admin_canonical_url', $filtered_url );
    14091409        ?>
    14101410        <link id="wp-admin-canonical" rel="canonical" href="<?php echo esc_url( $filtered_url ); ?>" />
    14111411        <script>