Ticket #35049: 35049.2.diff
| File 35049.2.diff, 1.3 KB (added by , 11 years ago) |
|---|
-
src/wp-admin/includes/dashboard.php
305 305 * 306 306 * @param string $title Default attribute text. 307 307 */ 308 $title = apply_filters( 'privacy_on_link_title', __( ' Your site is asking search engines not to index its content' ) );308 $title = apply_filters( 'privacy_on_link_title', __( '' ) ); 309 309 310 310 /** 311 311 * Filter the link label for the 'Search Engines Discouraged' message … … 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)