Changeset 43507 for branches/4.9/src/wp-includes/link-template.php
- Timestamp:
- 07/18/2018 11:51:06 AM (8 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/link-template.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-includes/link-template.php
r43109 r43507 4159 4159 $link = ''; 4160 4160 $privacy_policy_url = get_privacy_policy_url(); 4161 4162 if ( $privacy_policy_url ) { 4161 $policy_page_id = (int) get_option( 'wp_page_for_privacy_policy' ); 4162 $page_title = ( $policy_page_id ) ? get_the_title( $policy_page_id ) : ''; 4163 4164 if ( $privacy_policy_url && $page_title ) { 4163 4165 $link = sprintf( 4164 4166 '<a class="privacy-policy-link" href="%s">%s</a>', 4165 4167 esc_url( $privacy_policy_url ), 4166 __( 'Privacy Policy')4168 esc_html( $page_title ) 4167 4169 ); 4168 4170 }
Note: See TracChangeset
for help on using the changeset viewer.