- Timestamp:
- 06/30/2020 01:54:40 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r48145 r48234 413 413 414 414 $content .= '<div class="policy-text">' . $section['policy_text'] . '</div>'; 415 $content .= '<a href="#" class="return-to-top">' . __( '↑ Return to Top' ) . '</a>';416 415 417 416 if ( empty( $section['removed'] ) ) { … … 419 418 $content .= '<button type="button" class="privacy-text-copy button">'; 420 419 $content .= __( 'Copy this section to clipboard' ); 421 $content .= '<span class="screen-reader-text">';422 /* translators: %s: Plugin name. */423 $content .= sprintf( __( 'Copy suggested policy text from %s.' ), $plugin_name );424 $content .= '</span>';425 420 $content .= '</button>'; 426 421 $content .= '<span class="success" aria-hidden="true">' . __( 'Copied!' ) . '</span>'; 427 422 $content .= '</div>'; 428 423 } 424 425 $content .= '<a href="#wpbody" class="return-to-top"><span aria-hidden="true">↑ </span> ' . __( 'Return to Top' ) . '</a>'; 429 426 430 427 $content .= '</div>'; // End of .privacy-text-section.
Note: See TracChangeset
for help on using the changeset viewer.