[wp-trac] [WordPress Trac] #10640: Support "shortlink" URL shortening
WordPress Trac
wp-trac at lists.automattic.com
Tue Mar 9 22:06:33 UTC 2010
#10640: Support "shortlink" URL shortening
-----------------------------+----------------------------------------------
Reporter: samj | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone: 3.0
Component: General | Version:
Severity: normal | Resolution:
Keywords: dev-reviewed |
-----------------------------+----------------------------------------------
Comment(by miqrogroove):
Nice speedy work, guys. Be sure to look at the examples in Simple Short
Links. The default arguments for header() are usually not appropriate for
Link: headers. I suggest double checking that. Also consider my earlier
point about having a template function. The human-clickable/copyable
short links have been vastly more successful than the protocol links.
"The optional replace parameter indicates whether the header should
replace a previous similar header, or add a second header of the same
type. By default it will replace, but if you pass in FALSE as the second
argument you can force multiple headers of the same type."
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10640#comment:41>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list