Make WordPress Core


Ignore:
Timestamp:
05/03/2022 02:51:41 PM (2 years ago)
Author:
audrasjb
Message:

General: Add missing strong tag to some error messages.

This changeset adds missing strong tag to some error messages and updates some AJAX messages, for better consistency.

Follow-up to [53118].

Props NekoJonez, audrasjb, ocean90.
Fixes #54437.

File:
1 edited

Legend:

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

    r52978 r53337  
    187187        // Make the request.
    188188        $this->expectException( 'WPAjaxDieStopException' );
    189         $this->expectExceptionMessage( 'Error: You cannot reply to a comment on a draft post.' );
     189        $this->expectExceptionMessage( 'You cannot reply to a comment on a draft post.' );
    190190        $this->_handleAjax( 'replyto-comment' );
    191191    }
Note: See TracChangeset for help on using the changeset viewer.