Permalink
Browse files

Improving of the documentation

  • Loading branch information...
1 parent a251b69 commit 91ff44ef6438f6e095666e15e901339ea05b0f75 @h4ck3rm1k3 committed May 11, 2013
Showing with 7 additions and 1 deletion.
  1. +7 −1 wp-admin/includes/dashboard.php
@@ -1114,7 +1114,13 @@ function wp_dashboard_rss_control( $widget_id, $form_inputs = array() ) {
wp_widget_rss_form( $widget_options[$widget_id], $form_inputs );
}
-// Display File upload quota on dashboard
+
+/**
+ * Display File upload quota on dashboard.
+ * Called via action activity_box_end which is called by do_action from the function wp_dashboard_right_now
+ * that is called indirectly from wp_add_dashboard_widget to the dashboard_right_now.
+ */
+
function wp_dashboard_quota() {
if ( !is_multisite() || !current_user_can('upload_files') || get_site_option( 'upload_space_check_disabled' ) )
return true;

0 comments on commit 91ff44e

Please sign in to comment.