Make WordPress Core


Ignore:
Timestamp:
05/29/2015 08:16:22 PM (10 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to wp-admin/includes/*.
Fix some egregious uses of tabbing.
Some functions can simply return apply_filters(...) instead of setting a variable that is immediately returned.

See #32444.

File:
1 edited

Legend:

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

    r32642 r32654  
    1515     * @global wpdb $wpdb
    1616     *
     17     * @param string $importer_name
    1718     * @param string $bid
    1819     * @return array
     
    5455     * @global wpdb $wpdb
    5556     *
     57     * @param string $importer_name
    5658     * @param string $bid
    5759     * @return int
     
    121123    }
    122124
     125    /**
     126     *
     127     * @param int $blog_id
     128     * @return int|void
     129     */
    123130    public function set_blog( $blog_id ) {
    124131        if ( is_numeric( $blog_id ) ) {
     
    148155    }
    149156
     157    /**
     158     *
     159     * @param int $user_id
     160     * @return int|void
     161     */
    150162    public function set_user( $user_id ) {
    151163        if ( is_numeric( $user_id ) ) {
     
    180192     * @param string $username
    181193     * @param string $password
    182      * @param bool $head
     194     * @param bool   $head
    183195     * @return array
    184196     */
     
    255267 *
    256268 * @param string $param
    257  * @param bool $required
     269 * @param bool   $required
    258270 * @return mixed
    259271 */
Note: See TracChangeset for help on using the changeset viewer.