Make WordPress Core

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#39539 closed enhancement (invalid)

Combine and simplify strings

Reported by: Presskopp Owned by:
Priority: normal Milestone:
Component: Text Changes Version: 4.8
Severity: normal Keywords:
Cc: Focuses:

Description

We made the "unknown post type" invalid, see #39171

We could take this a step further and change

unknown to invalid in:

"Unknown Feed"
https://core.trac.wordpress.org/browser/trunk/src/wp-includes/widgets/class-wp-widget-rss.php?marks=74#L74

and maybe

"Unknown action."
https://core.trac.wordpress.org/browser/trunk/src/wp-admin/comment.php?marks=329#L329

Also the (missing) period could be discussed in those strings.

Attachments (1)

39539.diff​ (967 bytes ) - added by lukecavanagh 10 years ago.
Basic patch

Download all attachments as: .zip

Change History (6)

@lukecavanagh
10 years ago

Basic patch

#1 in reply to: ↑ description @SergeyBiryukov
10 years ago

Replying to Presskopp:

We made the "unknown post type" invalid, see #39171

The only reason for [39756] was to merge similar strings with the same meaning and remove duplicates. I don't see a benefit in changing other strings just to get rid of "unknown".

Moreover, an empty feed title doesn't make the feed invalid, so the existing string is more accurate.

#2 @Presskopp
10 years ago

I noticed there are much more instances of anything 'invalid' and only a few 'unknown' things. But following your input I think the ticket can be closed as wontfix.

Last edited 10 years ago by Presskopp (previous) (diff)

#3 @Presskopp
9 years ago

  • Keywords close added
  • Resolution → invalid
  • Status new → closed

let's close this, about the periods, see #42735

#4 @netweb
9 years ago

  • Milestone Awaiting Review

#5 @netweb
9 years ago

  • Keywords close removed
Note: See TracTickets for help on using tickets.