[wp-trac] [WordPress Trac] #53858: PHP 8.1: syntax error due to new 'readonly' property

WordPress Trac noreply at wordpress.org
Mon Aug 2 13:31:31 UTC 2021


#53858: PHP 8.1: syntax error due to new 'readonly' property
----------------------------------------------+---------------------
 Reporter:  haosun                            |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  5.9
Component:  General                           |     Version:  4.9
 Severity:  normal                            |  Resolution:
 Keywords:  needs-patch php81 needs-dev-note  |     Focuses:
----------------------------------------------+---------------------

Comment (by swissspidy):

 Thanks @jrf! I feared that was the case re: the syntax error. Putting the
 function into its own file makes sense and there's precedence for that
 already in core as well 👍

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53858#comment:14>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list