mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Use ellipsis instead of three dots. props tjsingleton, jordie23, wojtek.szkutnik, DrewAPicture, SergeyBiryukov. see #8714.
git-svn-id: https://develop.svn.wordpress.org/trunk@24207 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+2
-2
@@ -117,10 +117,10 @@ if ( $doaction ) {
|
||||
|
||||
if ( $post_del->post_type == 'attachment' ) {
|
||||
if ( ! wp_delete_attachment($post_id) )
|
||||
wp_die( __('Error in deleting...') );
|
||||
wp_die( __('Error in deleting.') );
|
||||
} else {
|
||||
if ( !wp_delete_post($post_id) )
|
||||
wp_die( __('Error in deleting...') );
|
||||
wp_die( __('Error in deleting.') );
|
||||
}
|
||||
$deleted++;
|
||||
}
|
||||
|
||||
@@ -456,7 +456,7 @@ class WP_Comments_List_Table extends WP_List_Table {
|
||||
$author_url = '';
|
||||
$author_url_display = preg_replace( '|http://(www\.)?|i', '', $author_url );
|
||||
if ( strlen( $author_url_display ) > 50 )
|
||||
$author_url_display = substr( $author_url_display, 0, 49 ) . '...';
|
||||
$author_url_display = substr( $author_url_display, 0, 49 ) . '…';
|
||||
|
||||
echo "<strong>"; comment_author(); echo '</strong><br />';
|
||||
if ( !empty( $author_url ) )
|
||||
|
||||
@@ -827,7 +827,7 @@ function wp_dashboard_incoming_links_output() {
|
||||
$publisher = "<strong>$publisher</strong>";
|
||||
|
||||
$content = $item->get_content();
|
||||
$content = wp_html_excerpt($content, 50) . ' ...';
|
||||
$content = wp_html_excerpt($content, 50) . ' …';
|
||||
|
||||
if ( $link )
|
||||
/* translators: incoming links feed, %1$s is other person, %3$s is content */
|
||||
|
||||
@@ -223,7 +223,7 @@ function url_shorten( $url ) {
|
||||
$short_url = str_replace( array( 'http://', 'www.' ), '', $url );
|
||||
$short_url = untrailingslashit( $short_url );
|
||||
if ( strlen( $short_url ) > 35 )
|
||||
$short_url = substr( $short_url, 0, 32 ) . '...';
|
||||
$short_url = substr( $short_url, 0, 32 ) . '…';
|
||||
return $short_url;
|
||||
}
|
||||
|
||||
|
||||
@@ -585,7 +585,7 @@ $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace(
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="waiting" style="display: none"><span class="spinner"></span> <span><?php esc_html_e( 'Loading...' ); ?></span></div>
|
||||
<div id="waiting" style="display: none"><span class="spinner"></span> <span><?php esc_html_e( 'Loading…' ); ?></span></div>
|
||||
|
||||
<div id="extra-fields" style="display: none"></div>
|
||||
|
||||
|
||||
@@ -112,7 +112,7 @@ default:
|
||||
$functions = wp_doc_link_parse( $content );
|
||||
|
||||
$docs_select = '<select name="docs-list" id="docs-list">';
|
||||
$docs_select .= '<option value="">' . esc_attr__( 'Function Name...' ) . '</option>';
|
||||
$docs_select .= '<option value="">' . esc_attr__( 'Function Name…' ) . '</option>';
|
||||
foreach ( $functions as $function ) {
|
||||
$docs_select .= '<option value="' . esc_attr( urlencode( $function ) ) . '">' . htmlspecialchars( $function ) . '()</option>';
|
||||
}
|
||||
|
||||
+3
-3
@@ -99,7 +99,7 @@ if ( $doaction ) {
|
||||
wp_die( __( 'You are not allowed to move this post to the trash.' ) );
|
||||
|
||||
if ( !wp_trash_post( $post_id ) )
|
||||
wp_die( __( 'Error in moving to trash...' ) );
|
||||
wp_die( __( 'Error in moving to trash.' ) );
|
||||
}
|
||||
$location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location );
|
||||
break;
|
||||
@@ -111,7 +111,7 @@ if ( $doaction ) {
|
||||
wp_die( __( 'You are not allowed to move this post out of the trash.' ) );
|
||||
|
||||
if ( !wp_untrash_post( $post_id ) )
|
||||
wp_die( __( 'Error in restoring from trash...' ) );
|
||||
wp_die( __( 'Error in restoring from trash.' ) );
|
||||
}
|
||||
$location = add_query_arg( 'untrashed', count( $post_ids ), $location );
|
||||
break;
|
||||
@@ -123,7 +123,7 @@ if ( $doaction ) {
|
||||
wp_die( __( 'You are not allowed to delete this post.' ) );
|
||||
|
||||
if ( !wp_delete_attachment( $post_id_del ) )
|
||||
wp_die( __( 'Error in deleting...' ) );
|
||||
wp_die( __( 'Error in deleting.' ) );
|
||||
}
|
||||
$location = add_query_arg( 'deleted', count( $post_ids ), $location );
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user