[wp-trac] [WordPress Trac] #33495: Shortlinks are no longer useful by default
WordPress Trac
noreply at wordpress.org
Fri Sep 25 20:19:47 UTC 2015
#33495: Shortlinks are no longer useful by default
--------------------------------------+-----------------------------
Reporter: helen | Owner: grvrulz
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.4
Component: Permalinks | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: administration
--------------------------------------+-----------------------------
Comment (by helen):
@grvrulz I went ahead and massaged the patch a bit for commit so we don't
lose momentum here, and I thought I'd leave you some notes about it here.
Essentially, the `has_filter()` checks just needed to wrap around the
existing shortlink bits - no need to get the shortlink if we're not going
to use it, and the HTML that was being appended will always be appended
together.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33495#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list