[wp-trac] [WordPress Trac] #53858: PHP 8.1: syntax error due to new 'readonly' property
WordPress Trac
noreply at wordpress.org
Sun Aug 8 13:07:13 UTC 2021
#53858: PHP 8.1: syntax error due to new 'readonly' property
--------------------------------------------------+-----------------------
Reporter: haosun | Owner: jrf
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.9
Component: General | Version:
Severity: normal | Resolution:
Keywords: php81 needs-dev-note has-patch early | Focuses:
--------------------------------------------------+-----------------------
Comment (by jrf):
@ayeshrajans Thanks for that! The only thing I'm missing is
'wp_readonly()' as the `$replacement` parameter in the call to
`_deprecated_function()`.
I'm creating some proper tests now for this function set. Will upload
those in a little while.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53858#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list