- Timestamp:
- 05/14/2018 04:45:57 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/misc.php
r43263 r43265 1610 1610 1611 1611 $content = ''; 1612 $toc = array( '<li><a href="# ">' . __( 'Introduction' ) . '</a></li>' );1613 $date_format = get_option( 'date_format' );1612 $toc = array( '<li><a href="#wp-privacy-policy-guide-introduction">' . __( 'Introduction' ) . '</a></li>' ); 1613 $date_format = __( 'F j, Y' ); 1614 1614 $copy = __( 'Copy' ); 1615 1615 $return_to_top = '<a href="#" class="return-to-top">' . __( '↑ Return to Top' ) . '</a>'; … … 1636 1636 1637 1637 $plugin_name = esc_html( $section['plugin_name'] ); 1638 $toc_id = sanitize_title( $plugin_name );1638 $toc_id = 'wp-privacy-policy-guide-' . sanitize_title( $plugin_name ); 1639 1639 $toc[] = sprintf( '<li><a href="#%1$s">%2$s</a>' . $meta . '</li>', $toc_id, $plugin_name ); 1640 1640 1641 1641 $content .= '<div class="privacy-text-section' . $class . '">'; 1642 1642 $content .= '<a id="' . $toc_id . '"> </a>'; 1643 /* translators: %s: plugin name */ 1643 1644 $content .= '<h2>' . sprintf( __( 'Source: %s' ), $plugin_name ) . '</h2>'; 1644 1645 $content .= $removed; … … 1673 1674 <div class="privacy-text-box"> 1674 1675 <div class="privacy-text-box-head"> 1676 <a id="wp-privacy-policy-guide-introduction"> </a> 1675 1677 <h2><?php _e( 'Introduction' ); ?></h2> 1676 1678 <p><?php _e( 'Hello,' ); ?></p>
Note: See TracChangeset
for help on using the changeset viewer.