Make WordPress Core

Changeset 31219


Ignore:
Timestamp:
01/16/2015 10:43:13 PM (10 years ago)
Author:
wonderboymusic
Message:

Fix some erroneous @param annotations.

See #30799.

Location:
trunk/src
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r31216 r31219  
    1616 */
    1717class WP_Filesystem_ftpsockets extends WP_Filesystem_Base {
    18     public $ftp = false;
     18    /**
     19     * @var ftp
     20     */
     21    public $ftp;
    1922
    2023    public function __construct($opt = '') {
  • trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php

    r31209 r31219  
    3737
    3838    public $link = false;
    39     public $sftp_link = false;
     39    /**
     40     * @var resource
     41     */
     42    public $sftp_link;
    4043    public $keys = false;
    4144
  • trunk/src/wp-admin/includes/class-wp-upgrader-skins.php

    r31122 r31219  
    206206class Bulk_Upgrader_Skin extends WP_Upgrader_Skin {
    207207    public $in_loop = false;
     208    /**
     209     * @var string|false
     210     */
    208211    public $error = false;
    209212
  • trunk/src/wp-admin/includes/file.php

    r31212 r31219  
    978978 * @param boolean $error if the current request has failed to connect
    979979 * @param string $context The directory which is needed access to, The write-test will be performed on this directory by get_filesystem_method()
    980  * @param string $extra_fields Extra POST fields which should be checked for to be included in the post.
     980 * @param array $extra_fields Extra POST fields which should be checked for to be included in the post.
    981981 * @param bool $allow_relaxed_file_ownership Whether to allow Group/World writable.
    982982 * @return boolean False on failure. True on success.
  • trunk/src/wp-includes/link-template.php

    r31218 r31219  
    13421342 * @since 2.7.0
    13431343 *
    1344  * @param int $link Optional. Bookmark ID.
     1344 * @param int|stdClass $link Optional. Bookmark ID.
    13451345 * @return string The edit bookmark link URL.
    13461346 */
  • trunk/src/wp-includes/query.php

    r31212 r31219  
    12721272     * @since 3.1.0
    12731273     * @access private
     1274     * @var bool|string
    12741275     */
    12751276    private $query_vars_hash = false;
  • trunk/src/wp-includes/taxonomy.php

    r31207 r31219  
    29722972 * @param array|int|string $terms     A single term slug, single term id, or array of either term slugs or ids.
    29732973 *                                    Will replace all existing related terms in this taxonomy.
    2974  * @param array|string     $taxonomy  The context in which to relate the term to the object.
     2974 * @param array            $taxonomy  The context in which to relate the term to the object.
    29752975 * @param bool             $append    Optional. If false will delete difference of terms. Default false.
    29762976 * @return array|WP_Error Affected Term IDs.
     
    36943694 * @since 2.3.0
    36953695 *
    3696  * @param int|array $id Term object ID
     3696 * @param int    $id      Term object ID
    36973697 * @param string $taxonomy Taxonomy Name
    36983698 * @return bool|array Empty array if $terms found, but not $taxonomy. False if nothing is in cache for $taxonomy and $id.
     
    42584258 * @param string $taxonomy Single taxonomy name
    42594259 * @param int|string|array $terms Optional. Term term_id, name, slug or array of said
    4260  * @return bool|WP_Error. WP_Error on input error.
     4260 * @return bool|WP_Error WP_Error on input error.
    42614261 */
    42624262function is_object_in_term( $object_id, $taxonomy, $terms = null ) {
  • trunk/src/wp-includes/theme.php

    r31188 r31219  
    935935 *
    936936 * @param string $name Theme modification name.
    937  * @param string $value theme modification value.
     937 * @param mixed $value theme modification value.
    938938 */
    939939function set_theme_mod( $name, $value ) {
Note: See TracChangeset for help on using the changeset viewer.