WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#24314 closed enhancement (fixed)

Documentation Improvement wp_dashboard_quota

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

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 7 years ago.

Download all attachments as: .zip

Change History (5)

#1 @SergeyBiryukov
7 years ago

  • Component changed from Administration to Inline Docs
  • Description modified (diff)
  • Milestone changed from Awaiting Review to 3.6

#2 @DrewAPicture
7 years ago

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

@DrewAPicture
7 years ago

#3 @ryan
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#4 @DrewAPicture
7 years ago

  • Keywords needs-codex added

[24246] adds a phpdoc for wp_dashboard_quota()

Note: See TracTickets for help on using tickets.