Make WordPress Core


Ignore:
Timestamp:
05/31/2015 03:17:50 AM (9 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/update-core.php

    r32654 r32672  
    115115}
    116116
     117/**
     118 * @since 2.7.0
     119 */
    117120function dismissed_updates() {
    118121    $dismissed = get_core_updates( array( 'dismissed' => true, 'available' => false ) );
     
    306309}
    307310
     311/**
     312 * @since 2.9.0
     313 */
    308314function list_theme_updates() {
    309315    $themes = get_theme_updates();
     
    354360}
    355361
     362/**
     363 * @since 3.7.0
     364 */
    356365function list_translation_updates() {
    357366    $updates = wp_get_translation_updates();
     
    458467}
    459468
     469/**
     470 * @since 2.7.0
     471 */
    460472function do_dismiss_core_update() {
    461473    $version = isset( $_POST['version'] )? $_POST['version'] : false;
     
    469481}
    470482
     483/**
     484 * @since 2.7.0
     485 */
    471486function do_undismiss_core_update() {
    472487    $version = isset( $_POST['version'] )? $_POST['version'] : false;
Note: See TracChangeset for help on using the changeset viewer.