Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42937, comment 9


Ignore:
Timestamp:
04/05/2018 10:46:36 AM (6 years ago)
Author:
birgire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42937, comment 9

    initial v1  
    1 In [attachment:42937.4.diff] is a suggested way to:
     1[attachment:42937.4.diff] is a suggested way to:
    22
    33- Reuse the translated strings from the {{{$messages}}} array (i.e. with index 3).
    44- Allow the message to be filterable with {{{term_updated_messages}}}.
     5- Add tests within the new {{{Tests_Ajax_AddTag}}} class with methods:
     6  - {{{test_add_category()}}}.
     7  - {{{test_add_post_tag()}}}.
     8  - {{{test_add_category_should_work_with_message_filtering()}}}.
     9  - {{{test_adding_category_without_capability_should_error()}}}.
     10  - {{{test_adding_existing_category_should_error()}}}.
     11
     12