[wp-trac] [WordPress Trac] #46851: Incorrect type docblock annotation for $blog_prefix in wp-includes/cache.php
WordPress Trac
noreply at wordpress.org
Tue Apr 9 14:38:29 UTC 2019
#46851: Incorrect type docblock annotation for $blog_prefix in wp-
includes/cache.php
--------------------------+-----------------------------
Reporter: diddledan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
Focuses: |
--------------------------+-----------------------------
`$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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46851>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list