Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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