hellofromTonya
03331f52ff
Code Modernization: Fix reserved keyword and parameter name mismatches for parent/child classes in WP_Upgrader_Skin::feedback().
...
In the parent class, renames the parameter `$string` to `$feedback`.
Why? `string` is a PHP reserved keyword.
In each child class: renames the parameter to match the parent's method signature.
Why? PHP 8 introduces the ability to pass named arguments to function/method calls. This means the child and parent method signatures (i.e. parameter names) need to match.
Changes for readability:
- `@since` clearly specifies the original parameter name and its new name as well as why the change happened.
Follow-up to [11005], [25228], [30680], [32655], [38199], [49596].
Props jrf, hellofromTonya, sergeybiryukov, azaozz, desrosj, johnbillion.
See #51553 .
Built from https://develop.svn.wordpress.org/trunk@51781
git-svn-id: http://core.svn.wordpress.org/trunk@51388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-09-09 13:48:56 +00:00
..
2021-06-30 00:21:58 +00:00
2021-07-25 09:56:57 +00:00
2021-05-25 20:14:59 +00:00
2021-09-09 13:48:56 +00:00
2020-11-09 10:53:10 +00:00
2020-11-09 10:53:10 +00:00
2021-09-09 13:48:56 +00:00
2021-06-19 21:37:57 +00:00
2021-08-19 02:07:56 +00:00
2021-04-13 19:05:04 +00:00
2020-06-03 17:40:12 +00:00
2020-11-09 10:53:10 +00:00
2020-10-05 13:44:11 +00:00
2021-08-29 01:33:58 +00:00
2021-05-19 18:10:59 +00:00
2020-11-09 10:53:10 +00:00
2021-08-02 20:55:56 +00:00
2021-05-19 18:10:59 +00:00
2020-11-09 10:53:10 +00:00
2021-08-02 20:55:56 +00:00
2021-09-09 13:03:55 +00:00
2021-09-09 12:39:59 +00:00
2021-09-09 12:39:59 +00:00
2021-09-09 13:48:56 +00:00
2021-06-07 23:49:58 +00:00
2021-04-16 12:01:15 +00:00
2021-09-07 19:24:53 +00:00
2021-08-26 12:59:02 +00:00
2021-09-01 07:01:56 +00:00
2021-07-27 11:01:57 +00:00
2021-07-27 09:29:01 +00:00
2021-07-27 09:29:01 +00:00
2021-07-27 09:29:01 +00:00
2021-07-27 09:29:01 +00:00
2021-04-08 11:12:08 +00:00
2021-09-07 19:24:53 +00:00
2020-11-14 16:54:08 +00:00
2021-06-08 22:21:57 +00:00
2021-09-07 19:24:53 +00:00
2021-09-07 19:24:53 +00:00
2021-09-07 18:19:56 +00:00
2021-09-07 19:24:53 +00:00
2021-08-27 15:43:57 +00:00
2021-08-27 15:43:57 +00:00
2021-09-07 19:24:53 +00:00
2020-10-20 21:20:07 +00:00
2020-10-20 21:20:07 +00:00
2021-03-25 20:21:04 +00:00
2021-02-02 16:44:04 +00:00
2021-07-30 19:35:58 +00:00
2021-08-26 13:59:59 +00:00
2021-07-30 19:38:57 +00:00
2021-02-02 16:53:04 +00:00
2021-09-07 19:24:53 +00:00
2021-03-07 12:32:09 +00:00
2020-07-21 16:33:05 +00:00
2021-09-09 13:48:56 +00:00
2021-08-25 14:39:59 +00:00
2021-06-08 22:21:57 +00:00
2021-04-06 13:45:09 +00:00
2021-03-19 15:42:04 +00:00
2021-06-29 19:06:57 +00:00
2021-06-30 16:07:57 +00:00
2021-03-22 22:42:04 +00:00
2021-04-11 13:44:13 +00:00
2021-08-17 00:16:01 +00:00
2021-07-02 07:11:58 +00:00
2021-06-15 19:10:58 +00:00
2021-01-05 17:16:11 +00:00
2021-01-03 22:04:04 +00:00
2021-07-24 13:03:56 +00:00
2020-05-23 11:38:08 +00:00
2021-09-06 13:36:01 +00:00
2021-01-26 18:54:59 +00:00
2021-02-22 19:18:12 +00:00
2021-05-24 19:59:57 +00:00
2021-05-11 17:10:02 +00:00
2021-01-22 12:32:03 +00:00
2021-05-07 13:49:58 +00:00
2021-06-30 00:21:58 +00:00
2021-07-01 22:02:57 +00:00
2021-08-26 14:05:58 +00:00
2021-03-07 12:32:09 +00:00
2021-08-26 13:50:59 +00:00
2021-05-09 20:27:02 +00:00
2021-07-01 22:02:57 +00:00
2021-06-21 04:30:56 +00:00
2021-03-20 18:30:08 +00:00
2021-08-11 13:01:56 +00:00
2021-01-03 22:04:04 +00:00
2021-08-26 12:59:02 +00:00
2021-09-07 12:55:00 +00:00
2021-08-31 19:58:58 +00:00
2021-07-19 21:14:57 +00:00
2021-05-24 09:51:56 +00:00