[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 04:47:01 UTC 2015
#32515: Don't declare class properties readonly if they're written to later
--------------------------+-----------------------------
Reporter: morganestes | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.2
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32515>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list