#24842 closed defect (bug) (fixed)
Incorrect @uses in docblock for update_post_caches()
| Reported by: | jdgrimes | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.7 |
| Component: | Inline Docs | Version: | |
| Severity: | minor | Keywords: | has-patch commit 3.7-early |
| Cc: | Focuses: |
Description
The docblock for update_post_caches() includes this line:
* @uses $wpdb
However, it does not contain any references to $wpdb. This appears to have been the case since [6379]
Attachments (2)
Change History (7)
#1
@
13 years ago
Perhaps @uses $wpdb should be removed for all the functions that don't use it directly:
get_post()get_posts()add_post_meta()delete_post_meta()get_post_meta()update_post_meta()delete_post_meta_by_key()get_enclosed()update_post_caches()update_postmeta_cache()
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Removes the offending line from the docblock comment