Ticket #35049: 35049.1.diff
| File 35049.1.diff, 1.3 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/includes/dashboard.php
319 319 */ 320 320 $content = apply_filters( 'privacy_on_link_text' , __( 'Search Engines Discouraged' ) ); 321 321 322 echo "<p><a href='options-reading.php' title='$title'>$content</a></p>";322 echo "<p><a href='options-reading.php'>$content</a></p>"; 323 323 } 324 324 ?> 325 325 </div> … … 549 549 $url = get_edit_post_link( $draft->ID ); 550 550 $title = _draft_or_post_title( $draft->ID ); 551 551 echo "<li>\n"; 552 echo '<div class="draft-title"><a href="' . esc_url( $url ) . '" title="' . esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ) . '">' . esc_html( $title ) . '</a>';552 echo '<div class="draft-title"><a href="' . esc_url( $url ) . '"><span aria-hidden="true">' . esc_html( $title ) . '</span> <span class="screen-reader-text">' . esc_attr( sprintf( __( 'Edit “%s”' ), $title ) ) . '</span></a>'; 553 553 echo '<time datetime="' . get_the_time( 'c', $draft ) . '">' . get_the_time( get_option( 'date_format' ), $draft ) . '</time></div>'; 554 554 if ( $the_content = wp_trim_words( $draft->post_content, 10 ) ) { 555 555 echo '<p>' . $the_content . '</p>';
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)