Make WordPress Core

Changeset 24246


Ignore:
Timestamp:
05/14/2013 12:37:30 PM (12 years ago)
Author:
ryan
Message:

phpdoc improvements for wp_dashboard_quota()

Props DrewAPicture, h4ck3rm1k3

File:
1 edited

Legend:

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

    r24214 r24246  
    11151115}
    11161116
    1117 // Display File upload quota on dashboard
     1117/**
     1118 * Display file upload quota on dashboard.
     1119 *
     1120 * Runs on the activity_box_end hook in wp_dashboard_right_now().
     1121 *
     1122 * @since 3.0.0
     1123 *
     1124 * @return bool True if not multisite, user can't upload files, or the space check option is disabled.
     1125*/
    11181126function wp_dashboard_quota() {
    11191127    if ( !is_multisite() || !current_user_can('upload_files') || get_site_option( 'upload_space_check_disabled' ) )
Note: See TracChangeset for help on using the changeset viewer.