[wp-trac] [WordPress Trac] #33495: Shortlinks are no longer useful by default

WordPress Trac noreply at wordpress.org
Tue Sep 22 16:11:43 UTC 2015


#33495: Shortlinks are no longer useful by default
----------------------------------------+-----------------------------
 Reporter:  helen                       |       Owner:  grvrulz
     Type:  enhancement                 |      Status:  assigned
 Priority:  normal                      |   Milestone:  4.4
Component:  Permalinks                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  administration
----------------------------------------+-----------------------------
Changes (by helen):

 * keywords:  good-first-bug has-patch dev-feedback => good-first-bug needs-
     patch


Comment:

 Hi @grvrulz, thanks for jumping in. A few things here:

 * Your patch fatals due to a missing parenthesis, please test your
 patches.
 * As it stands, your patch attempts to hide the entire permalink area, not
 just the button when editing a post.
 * Some people may still want the default shortlinks, which means they need
 a method to turn it on (via filter).
 * There are two functions hooked in by default - `wp_shortlink_header()`
 for a PHP header and `wp_shortlink_wp_head()` for an HTML link element.
 What happens if these are removed by default?

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


More information about the wp-trac mailing list