Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#24314 closed enhancement (fixed)

Documentation Improvement wp_dashboard_quota

Reported by: h4ck3rm1k3 Owned by:
Priority: normal Milestone: 3.6
Component: Inline Docs Version: 3.6
Severity: trivial Keywords: has-patch needs-codex
Cc: Focuses:

Description (last modified by SergeyBiryukov)

​https://github.com/h4ck3rm1k3/WordPress/commit/91ff44ef6438f6e095666e15e901339ea05b0f75

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.
+ */

Attachments (1)

24314.diff​ (765 bytes ) - added by DrewAPicture 14 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
14 years ago

  • Component Administration → Inline Docs
  • Description modified (diff)
  • Milestone Awaiting Review → 3.6

#2 @DrewAPicture
14 years ago

24314.diff​ incorporates a more succinct version of @h4ck3rm1k3's text and adds the @since and @return.

#3 @ryan
14 years ago

  • Resolution → fixed
  • Status new → closed

#4 @DrewAPicture
14 years ago

  • Keywords needs-codex added

[24246] adds a phpdoc for wp_dashboard_quota()

Note: See TracTickets for help on using tickets.