Use the correct (no-title) string. Fixes #7801 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
42aaa50b6f
commit
902f570a18
|
@ -380,7 +380,7 @@ function wp_dashboard_quick_press( $sidebar_args ) {
|
||||||
$url = get_edit_post_link( $draft->ID );
|
$url = get_edit_post_link( $draft->ID );
|
||||||
$title = get_the_title( $draft->ID );
|
$title = get_the_title( $draft->ID );
|
||||||
if ( empty( $title ) )
|
if ( empty( $title ) )
|
||||||
$title = __('no-title');
|
$title = __('(no-title)');
|
||||||
$list[] = "<a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attribute_escape( $title ) ) . "'>$title</a>";
|
$list[] = "<a href='$url' title='" . sprintf( __( 'Edit "%s"' ), attribute_escape( $title ) ) . "'>$title</a>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue