Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#32031 closed defect (bug) (fixed)

Fix typo in wp_insert_term() error strings

Reported by: sergeybiryukov's profile SergeyBiryukov Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.3 Priority: normal
Severity: normal Version: 4.1
Component: Taxonomy Keywords: good-first-bug has-patch
Focuses: Cc:

Description

In [26544], two new strings were introduced:

  • "A term with the name and slug provided already exists with this parent."
  • "A term with the name and slug provided already exists."

In [30240], the "provided" word was lost somehow:

  • "A term with the name and slug already exists with this parent."
  • "A term with the name and slug already exists in this taxonomy."

In [31734], "and slug" was removed, but the "provided" is still missing:

  • "A term with the name already exists with this parent."
  • "A term with the name already exists in this taxonomy."

Attachments (1)

32031.diff (837 bytes) - added by dipesh.kakadiya 9 years ago.
Updated typo

Download all attachments as: .zip

Change History (4)

@dipesh.kakadiya
9 years ago

Updated typo

#1 @dipesh.kakadiya
9 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
9 years ago

  • Milestone changed from Future Release to 4.3

#3 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 32297:

Add missing word to wp_insert_term() error strings.

props dipesh.kakadiya.
fixes #32031.

Note: See TracTickets for help on using tickets.