Make WordPress Core


Ignore:
Timestamp:
06/21/2020 01:58:46 PM (5 years ago)
Author:
afercia
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/ReplytoComment.php

    r48059 r48115  
    188188
    189189        // Make the request.
    190         $this->setExpectedException( 'WPAjaxDieStopException', 'You can’t reply to a comment on a draft post.' );
     190        $this->setExpectedException( 'WPAjaxDieStopException', 'Error: You can’t reply to a comment on a draft post.' );
    191191        $this->_handleAjax( 'replyto-comment' );
    192192    }
Note: See TracChangeset for help on using the changeset viewer.