Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 4 years ago

#39176 closed enhancement (fixed)

Merge two similar "terms" strings in the REST API

Reported by: ramiy Owned by: rachelbaker
Priority: normal Milestone: 4.8
Component: Taxonomy Version:
Severity: normal Keywords: has-patch commit
Cc: Focuses: rest-api

Description

See the attached patch.

Attachments (3)

39176.png (12.2 KB ) - added by ramiy 10 years ago.
39176.patch (1019 bytes ) - added by ramiy 10 years ago.
39176.2.patch (2.1 KB ) - added by ramiy 10 years ago.

Download all attachments as: .zip

Change History (8)

@ramiy
10 years ago

@ramiy
10 years ago

#1 @swissspidy
10 years ago

  • Keywords has-patch commit added
  • Milestone Awaiting Review4.8

#2 follow-up: @ocean90
10 years ago

  • Component REST APITaxonomy
  • Type defect (bug)enhancement

Should we also change Term doesn't exist. to Term does not exist. for consistency, see #38913?

@ramiy
10 years ago

#3 in reply to: ↑ 2 @ramiy
10 years ago

Replying to ocean90:

Should we also change Term doesn't exist. to Term does not exist. for consistency, see #38913?

Done in the second patch.

#4 @rachelbaker
10 years ago

  • Owner set to rachelbaker
  • Resolutionfixed
  • Status newclosed

In 39648:

REST API: Merge similiar error message strings in the Terms Controller.

Replaces the "doesn't" contraction with "does not" to be consistent with similar strings in WP_Error messages when a specified term or parent term is missing in WP_REST_Terms_Controller.

Props ramiy, ocean90.
Fixes #39176.

#5 @audrasjb
4 years ago

In 52978:

Administration: Replace contracted verb forms for better consistency.

This changeset replaces contracted verb forms like doesn't, can't, or isn't with non-contracted forms like does not, cannot, or is not, for better consistency across the WordPress administration. It also updates some corresponding unit tests strings.

Props Presskopp, socalchristina, aandrewdixon, francina, SergeyBiryukov, JeffPaul, audrasjb, hellofromTonya.
Fixes #38913.
See #39176.

Note: See TracTickets for help on using tickets.