From 709dd51ae6385fab2ea06a6da16197eb2da97b1d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 4 Mar 2013 04:23:00 +0000 Subject: [PATCH] Fix typos in phpdoc. props bradparbs. fixes #23481. git-svn-id: http://core.svn.wordpress.org/trunk@23604 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-snoopy.php | 4 ++-- wp-includes/js/tinymce/plugins/wpdialogs/js/popup.js | 2 +- wp-trackback.php | 2 +- xmlrpc.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-includes/class-snoopy.php b/wp-includes/class-snoopy.php index 66ff71fc36..d64f98aae7 100644 --- a/wp-includes/class-snoopy.php +++ b/wp-includes/class-snoopy.php @@ -910,7 +910,7 @@ class Snoopy return false; } - // check if there is a a redirect meta tag + // check if there is a redirect meta tag if(preg_match("']*?content[\s]*=[\s]*[\"\']?\d+;[\s]*URL[\s]*=[\s]*([^\"\']*?)[\"\']?>'i",$results,$match)) @@ -1057,7 +1057,7 @@ class Snoopy $this->headers[] = $result_headers[$currentHeader]; } - // check if there is a a redirect meta tag + // check if there is a redirect meta tag if(preg_match("']*?content[\s]*=[\s]*[\"\']?\d+;[\s]*URL[\s]*=[\s]*([^\"\']*?)[\"\']?>'i",$results,$match)) { diff --git a/wp-includes/js/tinymce/plugins/wpdialogs/js/popup.js b/wp-includes/js/tinymce/plugins/wpdialogs/js/popup.js index 80576ce512..e8c7d1d0ab 100644 --- a/wp-includes/js/tinymce/plugins/wpdialogs/js/popup.js +++ b/wp-includes/js/tinymce/plugins/wpdialogs/js/popup.js @@ -246,7 +246,7 @@ var tinyMCEPopup = { }, /** - * Creates a alert dialog. Please don't use the blocking behavior of this + * Creates an alert dialog. Please don't use the blocking behavior of this * native version use the callback method instead then it can be extended. * * @method alert diff --git a/wp-trackback.php b/wp-trackback.php index 5cee4ddd42..581f712067 100644 --- a/wp-trackback.php +++ b/wp-trackback.php @@ -11,7 +11,7 @@ if (empty($wp)) { } /** - * trackback_response() - Respond with error or success XML message + * trackback_response() - Respond with an error or success XML message * * @param int|bool $error Whether there was an error * @param string $error_message Error message if an error occurred diff --git a/xmlrpc.php b/xmlrpc.php index 1998e4a8b0..59674df727 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -6,7 +6,7 @@ */ /** - * Whether this is a XMLRPC Request + * Whether this is an XML-RPC Request * * @var bool */ @@ -55,7 +55,7 @@ include_once(ABSPATH . WPINC . '/class-IXR.php'); include_once(ABSPATH . WPINC . '/class-wp-xmlrpc-server.php'); /** - * Posts submitted via the xmlrpc interface get that title + * Posts submitted via the XML-RPC interface get that title * @name post_default_title * @var string */