Make WordPress Core


Ignore:
Timestamp:
02/28/2019 12:07:20 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Privacy: Escape Privacy Policy guide URL in in Privacy Policy edit page notice.

Props itowhid06, garrett-eclipse.
Fixes #44761.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/misc.php

    r44735 r44779  
    16451645                        printf(
    16461646                                __( 'Need help putting together your new Privacy Policy page? <a href="%1$s" %2$s>Check out our guide%3$s</a> for recommendations on what content to include, along with policies suggested by your plugins and theme.' ),
    1647                                 admin_url( 'tools.php?wp-privacy-policy-guide=1' ),
     1647                                esc_url( admin_url( 'tools.php?wp-privacy-policy-guide=1' ) ),
    16481648                                'target="_blank"',
    16491649                                sprintf(
Note: See TracChangeset for help on using the changeset viewer.