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

WordPress Trac noreply at wordpress.org
Mon Sep 5 10:52:22 UTC 2016


#34113: Add a 'View Archive' link to admin bar for post types.
---------------------------------------+-----------------------------
 Reporter:  paulwilde                  |       Owner:
     Type:  enhancement                |      Status:  new
 Priority:  normal                     |   Milestone:  4.7
Component:  Toolbar                    |     Version:  4.4
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  administration
---------------------------------------+-----------------------------
Changes (by swissspidy):

 * keywords:  has-patch has-screenshots needs-testing => has-patch has-
     screenshots


Comment:

 In [attachment:34113.3.diff]:

 * Make it work for built-int `post` post type.
 * Change admin bar node ID to `archive`, as `view` is used for single post
 view nodes already.
 * Adds tests to demonstrate both scenarios: archives link visible vs. not
 visible.

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


More information about the wp-trac mailing list