mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 06:29:30 +00:00
Links: the esc_html()
additions in [34444] aren't very nice to screen reader <span>
s. Revert those specific calls.
See #14900. Built from https://develop.svn.wordpress.org/trunk@34452 git-svn-id: http://core.svn.wordpress.org/trunk@34416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
18d95526f6
commit
6dc400395c
@ -682,7 +682,7 @@ function post_comments_feed_link( $link_text = '', $post_id = '', $feed = '' ) {
|
||||
$link_text = __('Comments Feed');
|
||||
}
|
||||
|
||||
$link = '<a href="' . esc_url( $url ) . '">' . esc_html( $link_text ) . '</a>';
|
||||
$link = '<a href="' . esc_url( $url ) . '">' . $link_text . '</a>';
|
||||
/**
|
||||
* Filter the post comment feed link anchor tag.
|
||||
*
|
||||
@ -1292,7 +1292,7 @@ function edit_post_link( $text = null, $before = '', $after = '', $id = 0, $clas
|
||||
$text = __( 'Edit This' );
|
||||
}
|
||||
|
||||
$link = '<a class="' . esc_attr( $class ) . '" href="' . esc_url( $url ) . '">' . esc_html( $text ) . '</a>';
|
||||
$link = '<a class="' . esc_attr( $class ) . '" href="' . esc_url( $url ) . '">' . $text . '</a>';
|
||||
|
||||
/**
|
||||
* Filter the post edit link anchor tag.
|
||||
@ -1394,7 +1394,7 @@ function edit_comment_link( $text = null, $before = '', $after = '' ) {
|
||||
$text = __( 'Edit This' );
|
||||
}
|
||||
|
||||
$link = '<a class="comment-edit-link" href="' . esc_url( get_edit_comment_link( $comment ) ) . '">' . esc_html( $text ) . '</a>';
|
||||
$link = '<a class="comment-edit-link" href="' . esc_url( get_edit_comment_link( $comment ) ) . '">' . $text . '</a>';
|
||||
|
||||
/**
|
||||
* Filter the comment edit link anchor tag.
|
||||
@ -1454,7 +1454,7 @@ function edit_bookmark_link( $link = '', $before = '', $after = '', $bookmark =
|
||||
if ( empty($link) )
|
||||
$link = __('Edit This');
|
||||
|
||||
$link = '<a href="' . esc_url( get_edit_bookmark_link( $bookmark ) ) . '">' . esc_html( $link ) . '</a>';
|
||||
$link = '<a href="' . esc_url( get_edit_bookmark_link( $bookmark ) ) . '">' . $link . '</a>';
|
||||
|
||||
/**
|
||||
* Filter the bookmark edit link anchor tag.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-alpha-34451';
|
||||
$wp_version = '4.4-alpha-34452';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
x
Reference in New Issue
Block a user