WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 08:16:22 PM (6 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/bookmark.php

    r32653 r32654  
    7878 *
    7979 * @param int $link_id ID of the link to delete
    80  * @return bool True
     80 * @return true
    8181 */
    8282function wp_delete_link( $link_id ) {
     
    141141 *
    142142 * @param array $linkdata Elements that make up the link to insert.
    143  * @param bool $wp_error Optional. If true return WP_Error object on failure.
     143 * @param bool  $wp_error Optional. If true return WP_Error object on failure.
    144144 * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success.
    145145 */
Note: See TracChangeset for help on using the changeset viewer.