Fix typos in documentation (wp-includes/[a-h]). See #18560.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
duck_
2011-09-03 16:02:41 +00:00
parent c1d1590171
commit e4ed63fc6f
15 changed files with 31 additions and 31 deletions

View File

@@ -70,7 +70,7 @@ class WP_Error {
* @since 2.1.0
* @access public
*
* @return array List of error codes, if avaiable.
* @return array List of error codes, if available.
*/
function get_error_codes() {
if ( empty($this->errors) )
@@ -102,7 +102,7 @@ class WP_Error {
* @since 2.1.0
*
* @param string|int $code Optional. Retrieve messages matching code, if exists.
* @return array Error strings on success, or empty array on failure (if using codee parameter).
* @return array Error strings on success, or empty array on failure (if using code parameter).
*/
function get_error_messages($code = '') {
// Return all messages if no code specified.