Opened 10 years ago
Closed 10 years ago
#36880 closed defect (bug) (fixed)
Correct @link in /wp-includes/cache.php
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.6 | Priority: | normal |
| Severity: | normal | Version: | 2.6 |
| Component: | Cache API | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
The @link in the Object Cache API DocBlock is https://codex.wordpress.org/Function_Reference/WP_Cache and it should be https://codex.wordpress.org/Function_Reference/WP_Object_Cache.
Introduced in [7990].
Attachments (2)
Change History (7)
#2
@
10 years ago
Yea, @swissspidy, that is exactly what I meant :). I updated the diff accordingly.
What would be the best way of splitting this up?
WP_Object_Cache is both not a function and not WP_Cache.
Note: See
TracTickets for help on using
tickets.
I assume you mean
https://codex.wordpress.org/Class_Reference/WP_Object_Cache? :)The problem is that the file doesn't just contain the class, but also the helper methods. We should really split this up.
After that, the docblock can be adjusted accordingly.