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

WordPress Trac noreply at wordpress.org
Thu Aug 19 01:34:33 UTC 2021

#53858: PHP 8.1: syntax error due to new 'readonly' property
 Reporter:  haosun                               |       Owner:  jrf
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.8.1
Component:  General                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  php81 needs-dev-note has-patch       |     Focuses:
  early has-unit-tests commit fixed-major        |

Comment (by peterwilsoncc):

 I have mixed feelings about backporting to 5.8 as this is a PHP 8.1
 compatibility fix going in to a version that doesn't support the version
 of PHP.

 I certainly don't want to backport to WP 5.7 or earlier as they're
 unsupported versions of WordPress. The last time Core backported a fix to
 unsupported versions was #49956 (at my suggestion) was a much more serious
 issue in my view.

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

More information about the wp-trac mailing list