[wp-trac] [WordPress Trac] #33495: Shortlinks are no longer useful by default
WordPress Trac
noreply at wordpress.org
Tue Sep 22 16:39:04 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
----------------------------------------+-----------------------------
Comment (by grvrulz):
Hi @helen,
My bad, I uploaded the wrong patch. I have uploaded the correct patch
now(tested on trunk). It only hides the 'Get Shortlink' button.
If someone wants to turn this on, they can use a filter like this
{{{
add_filter( 'get_shortlink', 'my_enable_shortlink' );
function my_enable_shortlink() {
return true;
}
}}}
I'm still looking over the stuff in your last point.
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33495#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list