[wp-trac] [WordPress Trac] #32515: Don't declare class properties readonly if they're written to later
WordPress Trac
noreply at wordpress.org
Thu May 28 05:05:55 UTC 2015
#32515: Don't declare class properties readonly if they're written to later
-------------------------------+-----------------------------
Reporter: morganestes | Owner: wonderboymusic
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.3
Component: Posts, Post Types | Version: 4.2
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
-------------------------------+-----------------------------
Description changed by netweb:
Old description:
> Introduced in #30799, `WP_Post::page_template` is declared read-only, but
> is written to inside the class. This updates the docblock so my IDE quits
> yelling at me that I'm writing to a read-only property.
New description:
Introduced in r31127, `WP_Post::page_template` is declared read-only, but
is written to inside the class. This updates the docblock so my IDE quits
yelling at me that I'm writing to a read-only property.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32515#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list