This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
_s/inc
jrfnl 9638b7e3c6 Only generate pingback url header tag when relevant.
Rationale:
1. The principle of pingbacks is based on articles. Pingbacks are a special kind of comments and the article being 'pinged-back' has to be identifiable (which they're not on archive pages and the like).
2. WP only registers a ping if it can identify the article which is supposed to have been 'pung'. See: https://developer.wordpress.org/reference/classes/wp_xmlrpc_server/pingback_ping/
3. Pingbacks, like comments, can be disabled on a per article basis.

Therefore, having the pingback url auto-discovery header in place, only makes sense on singular pages where pings are open.
2015-12-04 16:44:38 +01:00
..
custom-header.php Remove custom header admin callbacks. 2015-12-03 20:29:32 +00:00
customizer.php Updated documentation in comments at the top of files. 2015-07-12 12:38:18 -04:00
extras.php Only generate pingback url header tag when relevant. 2015-12-04 16:44:38 +01:00
jetpack.php respect content-search.php for search result in Jetpack Infinite Scroll 2015-11-10 11:22:39 +05:45
template-tags.php Fix failing build in Travis 2015-10-29 12:25:14 -04:00
wpcom.php _s: Update function return values. 2014-03-30 12:15:29 -07:00