mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12537 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1511,7 +1511,9 @@ function wp_update_comment_count_now($post_id) {
|
||||
* @param int $deprecated Not Used.
|
||||
* @return bool|string False on failure, string containing URI on success.
|
||||
*/
|
||||
function discover_pingback_server_uri($url, $deprecated = 2048) {
|
||||
function discover_pingback_server_uri($url, $deprecated = '') {
|
||||
if ( !empty($deprecated) )
|
||||
_deprecated_argument(__FUNCTION__, 'deprecated', '0.0');
|
||||
|
||||
$pingback_str_dquote = 'rel="pingback"';
|
||||
$pingback_str_squote = 'rel=\'pingback\'';
|
||||
|
||||
Reference in New Issue
Block a user