diff --git src/wp-admin/includes/misc.php src/wp-admin/includes/misc.php
index 1c575f8..d43fbab 100644
|
|
final class WP_Privacy_Policy_Content { |
1616 | 1616 | /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */ |
1617 | 1617 | printf( |
1618 | 1618 | __( '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.' ), |
1619 | | admin_url( 'tools.php?wp-privacy-policy-guide=1' ), |
| 1619 | esc_url( admin_url( 'tools.php?wp-privacy-policy-guide=1' ) ), |
1620 | 1620 | 'target="_blank"', |
1621 | 1621 | sprintf( |
1622 | 1622 | '<span class="screen-reader-text"> %s</span>', |
diff --git src/wp-admin/privacy.php src/wp-admin/privacy.php
index 8fec178..4693b31 100644
|
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
157 | 157 | |
158 | 158 | if ( 'publish' === get_post_status( $privacy_policy_page_id ) ) { |
159 | 159 | /* translators: 1: URL to edit page, 2: URL to view page */ |
160 | | printf( __( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your Privacy Policy page content.' ), $edit_href, $view_href ); |
| 160 | printf( |
| 161 | __( '<a href="%1$s">Edit</a> or <a href="%2$s">view</a> your Privacy Policy page content.' ), |
| 162 | esc_url( $edit_href ), |
| 163 | esc_url( $view_href ) |
| 164 | ); |
161 | 165 | } else { |
162 | 166 | /* translators: 1: URL to edit page, 2: URL to preview page */ |
163 | | printf( __( '<a href="%1$s">Edit</a> or <a href="%2$s">preview</a> your Privacy Policy page content.' ), $edit_href, $view_href ); |
| 167 | printf( |
| 168 | __( '<a href="%1$s">Edit</a> or <a href="%2$s">preview</a> your Privacy Policy page content.' ), |
| 169 | esc_url( $edit_href ), |
| 170 | esc_url( $view_href ) |
| 171 | ); |
164 | 172 | } |
165 | 173 | |
166 | 174 | ?> |
… |
… |
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
171 | 179 | /* translators: 1: Privacy Policy guide URL, 2: additional link attributes, 3: accessibility text */ |
172 | 180 | printf( |
173 | 181 | __( '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.' ), |
174 | | admin_url( 'tools.php?wp-privacy-policy-guide' ), |
| 182 | esc_url( admin_url( 'tools.php?wp-privacy-policy-guide' ) ), |
175 | 183 | '', |
176 | 184 | '' |
177 | 185 | ); |