[wp-trac] [WordPress Trac] #22223: Potential for post cache corruption since r21735
WordPress Trac
noreply at wordpress.org
Fri Oct 19 00:52:27 UTC 2012
#22223: Potential for post cache corruption since r21735
--------------------------+------------------
Reporter: ryan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.5
Component: Cache | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by ryan):
Replying to [comment:4 wonderboymusic]:
> I feel like we're getting in "is_a" territory, is there a compelling
reason to have to have public props with defaults like the diff I just
attached?
>
> (is_a meaning it implements an expected interface - if it can't be
missing properties)
Since we decided to not use !__get() for core properties, we should
consider making these proper properties regardless of this ticket. Adding
default while we're at it would certainly solve part of the problem, that
of missing properties. There are still the other two issues -- garbage
properties and post objects not intended for the current blog.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22223#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list