Changes between Initial Version and Version 1 of Ticket #53858, comment 42
- Timestamp:
- 09/06/2021 10:46:36 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53858, comment 42
initial v1 3 3 There is a PR open against PHP core now to reduce `readonly` from "full keyword" to (limited) "contextual keyword", which would hopefully avoid any white screens of death: https://github.com/php/php-src/pull/7468 4 4 5 I still think we need to strongly encourage plugins/themes to move to using the `wp_read yonly()` function as having a function name which clashes with a PHP reserved keyword is never a good idea, but the impact on end-users for slow adopters amongst plugins/themes should be a whole lot less if the upstream change gets accepted.5 I still think we need to strongly encourage plugins/themes to move to using the `wp_readonly()` function as having a function name which clashes with a PHP reserved keyword is never a good idea, but the impact on end-users for slow adopters amongst plugins/themes should be a whole lot less if the upstream change gets accepted.