WordPress.org

Make WordPress Core

Changeset 36232


Ignore:
Timestamp:
01/09/2016 01:44:31 AM (4 years ago)
Author:
johnbillion
Message:

Docs: @param fixes for a variety of docblocks.

See #32246

Location:
trunk/src
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/list-table.php

    r34897 r36232  
    7474 *
    7575 * @since 2.7.0
     76 *
     77 * @param string|WP_Screen $screen  The screen hook name or screen object.
     78 * @param bool             $with_id Whether to set the id attribute or not.
    7679 */
    77 function print_column_headers($screen, $id = true) {
     80function print_column_headers( $screen, $with_id = true ) {
    7881    $wp_list_table = new _WP_List_Table_Compat($screen);
    7982
    80     $wp_list_table->print_column_headers($id);
     83    $wp_list_table->print_column_headers( $with_id );
    8184}
    8285
  • trunk/src/wp-admin/includes/media.php

    r36223 r36232  
    26892689 *
    26902690 * @since 3.5.0
     2691 *
     2692 * @param WP_Post $post A post object.
    26912693 */
    26922694function edit_form_image_editor( $post ) {
  • trunk/src/wp-admin/includes/meta-boxes.php

    r36053 r36232  
    11741174 *
    11751175 * @since 2.9.0
     1176 *
     1177 * @param WP_Post $post A post object.
    11761178 */
    11771179function post_thumbnail_meta_box( $post ) {
     
    11851187 * @since 3.9.0
    11861188 *
    1187  * @param WP_Post $post
     1189 * @param WP_Post $post A post object.
    11881190 */
    11891191function attachment_id3_data_meta_box( $post ) {
  • trunk/src/wp-admin/includes/misc.php

    r36231 r36232  
    636636 *
    637637 * @global array $_wp_admin_css_colors
     638 *
     639 * @param int $user_id User ID.
    638640 */
    639641function admin_color_scheme_picker( $user_id ) {
  • trunk/src/wp-includes/feed.php

    r36230 r36232  
    623623 *
    624624 * @since 2.8.0
     625 *
     626 * @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
    625627 */
    626628function feed_content_type( $type = '' ) {
     
    643645     *
    644646     * @param string $content_type Content type indicating the type of data that a feed contains.
    645      * @param string $type         Type of feed. Possible values include 'rss2', 'atom'.
    646      *                             Default 'rss2'.
     647     * @param string $type         Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
    647648     */
    648649    return apply_filters( 'feed_content_type', $content_type, $type );
  • trunk/src/wp-includes/kses.php

    r35960 r36232  
    16721672 *
    16731673 * @since 2.8.1
     1674 *
     1675 * @param string $css        A string of CSS rules.
     1676 * @param string $deprecated Not used.
     1677 * @return string            Filtered string of CSS rules.
    16741678 */
    16751679function safecss_filter_attr( $css, $deprecated = '' ) {
  • trunk/src/wp-includes/ms-blogs.php

    r35446 r36232  
    560560 * @since MU
    561561 *
    562  * @param int    $id     The blog id
    563  * @param string $option The option key
    564  * @param mixed  $value  The option value
     562 * @param int    $id         The blog id.
     563 * @param string $option     The option key.
     564 * @param mixed  $value      The option value.
     565 * @param mixed  $deprecated Not used.
    565566 * @return bool True on success, false on failure.
    566567 */
  • trunk/src/wp-includes/ms-deprecated.php

    r35170 r36232  
    154154 * @deprecated 3.0.0 Use is_email()
    155155 * @see is_email()
     156 *
     157 * @param string $email        Email address to verify.
     158 * @param bool   $check_domain Deprecated.
     159 * @return string|bool Either false or the valid email address.
    156160 */
    157161function validate_email( $email, $check_domain = true) {
  • trunk/src/wp-includes/ms-functions.php

    r36069 r36232  
    11601160 * @since MU
    11611161 *
    1162  * @param int $blog_id The new site's ID.
     1162 * @param int    $blog_id    The new site's ID.
     1163 * @param string $deprecated Not used.
    11631164 * @return bool
    11641165 */
     
    17551756 *
    17561757 * @global wpdb $wpdb WordPress database abstraction object.
     1758 *
     1759 * @param string $deprecated Not used.
    17571760 */
    17581761function update_posts_count( $deprecated = '' ) {
     
    17881791 * @staticvar int $global_terms_recurse
    17891792 *
    1790  * @param int $term_id An ID for a term on the current blog.
     1793 * @param int    $term_id    An ID for a term on the current blog.
     1794 * @param string $deprecated Not used.
    17911795 * @return int An ID from the global terms table mapped from $term_id.
    17921796 */
     
    18571861 * @since MU
    18581862 *
     1863 * @param array|string $deprecated Not used.
    18591864 * @return array The current site's domain
    18601865 */
     
    20202025 *
    20212026 * @since MU
     2027 *
     2028 * @param PHPMailer $phpmailer The PHPMailer instance, passed by reference.
    20222029 */
    20232030function fix_phpmailer_messageid( $phpmailer ) {
     
    23522359
    23532360/**
     2361 * Filters the maximum upload file size allowed, in bytes.
     2362 *
    23542363 * @since 3.0.0
    23552364 *
    2356  * @return int of upload size limit in bytes
     2365 * @param  int $size Upload size limit in bytes.
     2366 * @return int       Upload size limit in bytes.
    23572367 */
    23582368function upload_size_limit_filter( $size ) {
  • trunk/src/wp-includes/session.php

    r31471 r36232  
    276276     *
    277277     * @param string $verifier Verifier of the session to update.
     278     * @param array  $session  Optional. Session. Omitting this argument destroys the session.
    278279     */
    279280    abstract protected function update_session( $verifier, $session = null );
Note: See TracChangeset for help on using the changeset viewer.