Make WordPress Core


Ignore:
Timestamp:
05/31/2015 03:17:50 AM (10 years ago)
Author:
wonderboymusic
Message:

Add doc blocks to functions that are missing them.
If the function has no need for @param or @return, do an archeaological dig to find @since.

See #32444.

File:
1 edited

Legend:

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

    r32654 r32672  
    260260}
    261261
     262/**
     263 * @since 2.9.0
     264 *
     265 * @return array
     266 */
    262267function get_plugin_updates() {
    263268    $all_plugins = get_plugins();
     
    274279}
    275280
     281/**
     282 * @since 2.9.0
     283 */
    276284function wp_plugin_update_rows() {
    277285    if ( !current_user_can('update_plugins' ) )
     
    378386}
    379387
     388/**
     389 * @since 3.1.0
     390 */
    380391function wp_theme_update_rows() {
    381392    if ( !current_user_can('update_themes' ) )
Note: See TracChangeset for help on using the changeset viewer.