Opened 8 years ago
Closed 7 years ago
#46851 closed defect (bug) (fixed)
Incorrect type docblock annotation for $blog_prefix in wp-includes/cache.php
| Reported by: | diddledani | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.2 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
$blog_prefix in class WP_Object_Cache is currently defined as being an integer according to the docblock, but assignments in the class are of string type. The attached patch changes the docblock to state that $blog_prefix is a string.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch to change docblock definition to change $blog_prefix from int to string