- Timestamp:
- 09/01/2019 05:12:43 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-privacy-policy-content.php
r45583 r45926 205 205 * @since 4.9.6 206 206 * 207 * @return array The privacy policy text/inform tion added by core and plugins.207 * @return array The privacy policy text/information added by core and plugins. 208 208 */ 209 209 public static function get_suggested_policy_text() { … … 387 387 $class = ' text-removed'; 388 388 $date = date_i18n( $date_format, $section['removed'] ); 389 $meta = sprintf( __( 'Removed %s.' ), $date ); 390 389 /* translators: %s: date of plugin deactivation */ 390 $meta = sprintf( __( 'Removed %s.' ), $date ); 391 392 /* translators: %s: date of plugin deactivation */ 391 393 $removed = __( 'You deactivated this plugin on %s and may no longer need this policy.' ); 392 394 $removed = '<div class="error inline"><p>' . sprintf( $removed, $date ) . '</p></div>'; … … 394 396 $class = ' text-updated'; 395 397 $date = date_i18n( $date_format, $section['updated'] ); 396 $meta = sprintf( __( 'Updated %s.' ), $date ); 398 /* translators: %s: date of privacy policy text update */ 399 $meta = sprintf( __( 'Updated %s.' ), $date ); 397 400 } 398 401 … … 418 421 $content .= '<button type="button" class="privacy-text-copy button">'; 419 422 $content .= $copy; 420 $content .= '<span class="screen-reader-text">' . sprintf( __( 'Copy suggested policy text from %s.' ), $plugin_name ) . '</span>'; 423 $content .= '<span class="screen-reader-text">'; 424 /* translators: %s: plugin name */ 425 $content .= sprintf( __( 'Copy suggested policy text from %s.' ), $plugin_name ); 426 $content .= '</span>'; 421 427 $content .= '</button>'; 422 428 $content .= '</div>';
Note: See TracChangeset
for help on using the changeset viewer.