Opened 11 years ago
Closed 11 years ago
#32515 closed defect (bug) (fixed)
Don't declare class properties readonly if they're written to later
| Reported by: | morganestes | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.3 |
| Component: | Posts, Post Types | Version: | 4.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
Description (last modified by )
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.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 32729: