Changes between Version 1 and Version 2 of Ticket #53858, comment 38
- Timestamp:
- 08/19/2021 02:27:12 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53858, comment 38
v1 v2 7 7 * Stop using the WP Core function altogether and write their own logic to add the HTML attribute. 8 8 * Conditionally, depending on the WP version and PHP version, use `call_user_func('readonly', $args...)`. 9 * Polyfill the function when it doesn't exist, but in a separate file, like in the patch here.9 * Polyfill the new function when it doesn't exist. 10 10 11 11 This backport proposal means that plugins/themes can switch to using the new function name outright and that we greatly diminish the risk of burdening end-users with sites going down.