mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
I18N: Restore the "Error:" prefix for error messages.
Partially reverts [48059] as there's no full consensus on the removal of the text prefix. Further actions should be taken to improve consistency and accessibility of the admin notices. Keeps some improvements to the translatable strings from [48059]. Fixes #47656. git-svn-id: https://develop.svn.wordpress.org/trunk@48115 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -187,7 +187,7 @@ class Tests_Ajax_ReplytoComment extends WP_Ajax_UnitTestCase {
|
||||
$_POST['comment_post_ID'] = self::$draft_post->ID;
|
||||
|
||||
// Make the request.
|
||||
$this->setExpectedException( 'WPAjaxDieStopException', 'You can’t reply to a comment on a draft post.' );
|
||||
$this->setExpectedException( 'WPAjaxDieStopException', 'Error: You can’t reply to a comment on a draft post.' );
|
||||
$this->_handleAjax( 'replyto-comment' );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user