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:
westi
2009-12-24 11:12:04 +00:00
parent fc38ae1d5b
commit 47a7b1b003
7 changed files with 30 additions and 8 deletions

View File

@@ -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\'';