[wp-trac] [WordPress Trac] #36168: Introduce get_canonical_url	function
    WordPress Trac 
    noreply at wordpress.org
       
    Fri Mar 11 11:00:40 UTC 2016
    
    
  
#36168: Introduce get_canonical_url function
----------------------------------------------+----------------------------
 Reporter:  joostdevalk                       |       Owner:  joostdevalk
     Type:  enhancement                       |      Status:  assigned
 Priority:  normal                            |   Milestone:  Future
Component:  Canonical                         |  Release
 Severity:  normal                            |     Version:
 Keywords:  has-patch dev-feedback 4.6-early  |  Resolution:
                                              |     Focuses:
----------------------------------------------+----------------------------
Comment (by bjornjohansen):
 There are quite a few plugins out there that modify the permalink, e.g.
 analytics-plugins that add tracking codes to the URL to let publishers
 know that the visitor came via a feed.
 But in some instances, like with the Instant Articles plugin mentioned in
 the ticket explanation, it is critical to get a clean canonical URL. A
 `get_canonical_url()` would be very useful, so we can be assured that we
 provide the actual canonical URL and not some permalink that has been
 tampered with.
 I’m very much +1 on this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36168#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list