#16407 closed defect (bug) (invalid)
Wrong search button label on post type listing panel?
Reported by: | Alphawolf | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 3.1 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Hewwo,
dunno if this is actually a bug, but I noticed that the search button labels are wrong on post type listing admin pages. So when I browse custom post type posts in the admin area (http://mydomain.com/wp-admin/edit.php?post_type=my-post-type) the upper right search form submit button sais "Search pages".
Aren't custom post types just posts per se so the button should say "Search posts" instead of "Search pages"?
Change History (4)
#2
@
14 years ago
A custom post type is neither a post nor a page. "Search posts/Search pages" is the default value for the "search_items" label used in register_post_type(). If a custom "search_items" label isn't set, the default is used. Choosing between Search posts/Search pages must be related to whether the custom post type is hierarchical or not.
Just happened to see this is also the case in 3.0.4 or even the 3.0.x branch?