[wp-trac] [WordPress Trac] #14981: Provide a context for post statuses
WordPress Trac
noreply at wordpress.org
Fri Jan 15 09:52:22 UTC 2016
#14981: Provide a context for post statuses
-------------------------------------------------+-------------------------
Reporter: xibe | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
Component: I18N | Release
Severity: normal | Version: 3.1
Keywords: good-first-bug has-patch needs- | Resolution:
refresh | Focuses:
-------------------------------------------------+-------------------------
Changes (by swissspidy):
* keywords: good-first-bug has-patch => good-first-bug has-patch needs-
refresh
Comment:
Replying to [comment:21 rockwell15]:
> I didn't add those 3 strings you mentioned to
{{{get_post_type_labels()}}} since those only appear once regarding post
type (wp-admin/includes/nav-menu.php ~ line 382), so I thought it
unnecessary for that function to fetch them every time it is called. You
think I should add them to {{{get_post_type_labels()}}} though?
Yes!
Again, that's what has been reported originally. These strings can be
translated differently per post type. Just separating posts and pages is
not enough. There are other post types as well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14981#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list