[wp-trac] [WordPress Trac] #43791: Add the call to pingback_url to core instead of themes

WordPress Trac noreply at wordpress.org
Fri Apr 20 12:10:53 UTC 2018


#43791: Add the call to pingback_url to core instead of themes
-------------------------------------------------+-------------------------
 Reporter:  joyously                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Pings/Trackbacks                     |     Version:  4.9.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing 2nd-opinion  |     Focuses:
  needs-refresh                                  |
-------------------------------------------------+-------------------------
Changes (by dshanske):

 * keywords:  has-patch needs-testing => has-patch needs-testing 2nd-opinion
     needs-refresh


Comment:

 It should be get_bloginfo( 'pingback_url' ), not site_url( '/xmlrpc.php'
 ). That adds the ability to filter the pingback url and redirect it
 elsewhere. You could, if anyone ever wrote one, delegate pingback handling
 to a service.

 I'm in favor of Core handling this. It never should have been theme
 territory and your points are all valid. However, this was rejected before
 my tenure in #10094, so I'm not sure if it would get through now. I think
 we need to get more consensus on whether this would be even considered for
 a commit.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43791#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list