[wp-trac] [WordPress Trac] #10640: Support "shortlink" URL shortening

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 9 16:43:54 UTC 2010


#10640: Support "shortlink" URL shortening
-----------------------------+----------------------------------------------
 Reporter:  samj             |        Owner:                
     Type:  feature request  |       Status:  reopened      
 Priority:  normal           |    Milestone:  Future Release
Component:  General          |      Version:                
 Severity:  normal           |   Resolution:                
 Keywords:                   |  
-----------------------------+----------------------------------------------

Comment(by ryan):

 Core WP should simply provide a framework that functions can plug into.
 Patch introduces wp_get_shortlink(). By default it returns an empty string
 for all shortlink requests. It is up to plugins to hook in and provide the
 shortlinks.  If the shortlink is not empty then WP sends the shortlink
 header and link tag unless the plugin specifically turns that off by
 removing the actions.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10640#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list