[wp-trac] [WordPress Trac] #34113: Add a 'View Archive' link to admin bar for post types.

WordPress Trac noreply at wordpress.org
Thu Oct 15 15:07:11 UTC 2015


#34113: Add a 'View Archive' link to admin bar for post types.
-------------------------------------------------+-------------------------
 Reporter:  paulwilde                            |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Toolbar                              |  Review
 Severity:  normal                               |     Version:  trunk
 Keywords:  has-patch dev-feedback has-          |  Resolution:
  screenshots                                    |     Focuses:
-------------------------------------------------+-------------------------

Comment (by paulwilde):

 Replying to [comment:5 swissspidy]:
 > > Neither post type (Post/Page) in core has a public archive, so have to
 rely on third party plugins to include a screenshot...
 >
 > This should be a feature core benefits from as well, so it should
 definitely work for posts.

 Posts do not currently have archives enabled. Surely enabling
 'has_archive' would have some backwards compatibility concerns as websites
 would suddenly have archives of all their posts enabled without the
 majority of them being aware of that fact?

 It's now possible to easily enable core post_types to support archives due
 to filter introduced in #17447. So I think it's best to leave enabling
 archives for posts/pages as a more 'opt-in' feature.

 > "View Products" in this screenshot sounds confusing. I'm already looking
 at a list of products, so what does this button do?

 The same as what clicking "View Product" would do when you are editing a
 product in the admin, except in this instance it would view all the
 Products on the front-end instead of a single product.

 Previously in order to get to the archive view from the admin you would
 have to manually type in the URL.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34113#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list