diff --git a/wp-admin/includes/class-wp-filesystem-ftpsockets.php b/wp-admin/includes/class-wp-filesystem-ftpsockets.php index a1abc0d1df..a2b3cada88 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpsockets.php +++ b/wp-admin/includes/class-wp-filesystem-ftpsockets.php @@ -15,7 +15,10 @@ * @uses WP_Filesystem_Base Extends class */ class WP_Filesystem_ftpsockets extends WP_Filesystem_Base { - public $ftp = false; + /** + * @var ftp + */ + public $ftp; public function __construct($opt = '') { $this->method = 'ftpsockets'; diff --git a/wp-admin/includes/class-wp-filesystem-ssh2.php b/wp-admin/includes/class-wp-filesystem-ssh2.php index 8f0147e1e1..294440dec9 100644 --- a/wp-admin/includes/class-wp-filesystem-ssh2.php +++ b/wp-admin/includes/class-wp-filesystem-ssh2.php @@ -36,7 +36,10 @@ class WP_Filesystem_SSH2 extends WP_Filesystem_Base { public $link = false; - public $sftp_link = false; + /** + * @var resource + */ + public $sftp_link; public $keys = false; public function __construct($opt='') { diff --git a/wp-admin/includes/class-wp-upgrader-skins.php b/wp-admin/includes/class-wp-upgrader-skins.php index 42488d9a93..c8d827d9b5 100644 --- a/wp-admin/includes/class-wp-upgrader-skins.php +++ b/wp-admin/includes/class-wp-upgrader-skins.php @@ -205,6 +205,9 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin { */ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin { public $in_loop = false; + /** + * @var string|false + */ public $error = false; public function __construct($args = array()) { diff --git a/wp-admin/includes/file.php b/wp-admin/includes/file.php index 459468dd3e..e398e9702c 100644 --- a/wp-admin/includes/file.php +++ b/wp-admin/includes/file.php @@ -977,7 +977,7 @@ function get_filesystem_method( $args = array(), $context = false, $allow_relaxe * @param string $type the chosen Filesystem method in use * @param boolean $error if the current request has failed to connect * @param string $context The directory which is needed access to, The write-test will be performed on this directory by get_filesystem_method() - * @param string $extra_fields Extra POST fields which should be checked for to be included in the post. + * @param array $extra_fields Extra POST fields which should be checked for to be included in the post. * @param bool $allow_relaxed_file_ownership Whether to allow Group/World writable. * @return boolean False on failure. True on success. */ diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 06ecc8f499..0fe8a942b8 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1341,7 +1341,7 @@ function edit_comment_link( $text = null, $before = '', $after = '' ) { * * @since 2.7.0 * - * @param int $link Optional. Bookmark ID. + * @param int|stdClass $link Optional. Bookmark ID. * @return string The edit bookmark link URL. */ function get_edit_bookmark_link( $link = 0 ) { diff --git a/wp-includes/query.php b/wp-includes/query.php index 593e130aca..5a6774e06a 100644 --- a/wp-includes/query.php +++ b/wp-includes/query.php @@ -1271,6 +1271,7 @@ class WP_Query { * * @since 3.1.0 * @access private + * @var bool|string */ private $query_vars_hash = false; diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php index b2e8a68421..c3e9fe953b 100644 --- a/wp-includes/taxonomy.php +++ b/wp-includes/taxonomy.php @@ -2971,7 +2971,7 @@ function wp_insert_term( $term, $taxonomy, $args = array() ) { * @param int $object_id The object to relate to. * @param array|int|string $terms A single term slug, single term id, or array of either term slugs or ids. * Will replace all existing related terms in this taxonomy. - * @param array|string $taxonomy The context in which to relate the term to the object. + * @param array $taxonomy The context in which to relate the term to the object. * @param bool $append Optional. If false will delete difference of terms. Default false. * @return array|WP_Error Affected Term IDs. */ @@ -3693,7 +3693,7 @@ function clean_term_cache($ids, $taxonomy = '', $clean_taxonomy = true) { * * @since 2.3.0 * - * @param int|array $id Term object ID + * @param int $id Term object ID * @param string $taxonomy Taxonomy Name * @return bool|array Empty array if $terms found, but not $taxonomy. False if nothing is in cache for $taxonomy and $id. */ @@ -4257,7 +4257,7 @@ function get_post_taxonomies( $post = 0 ) { * @param int $object_id ID of the object (post ID, link ID, ...) * @param string $taxonomy Single taxonomy name * @param int|string|array $terms Optional. Term term_id, name, slug or array of said - * @return bool|WP_Error. WP_Error on input error. + * @return bool|WP_Error WP_Error on input error. */ function is_object_in_term( $object_id, $taxonomy, $terms = null ) { if ( !$object_id = (int) $object_id ) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 3ed557b136..7a233b2e88 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -934,7 +934,7 @@ function get_theme_mod( $name, $default = false ) { * @since 2.1.0 * * @param string $name Theme modification name. - * @param string $value theme modification value. + * @param mixed $value theme modification value. */ function set_theme_mod( $name, $value ) { $mods = get_theme_mods(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 1086ac32d8..9760143969 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31218'; +$wp_version = '4.2-alpha-31219'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.