Sergey Biryukov
bad03f0c8c
Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/meta-boxes.php.
...
While using reserved PHP keywords as parameter name labels is allowed, in the context of function calls using named parameters in PHP 8.0+, this will easily lead to confusion. To avoid that, it is recommended not to use reserved keywords as function parameter names.
This commit:
* Renames the `$class` parameter to `$xfn_relationship` in `xfn_check()`.
* Renames the `$value` parameter to `$xfn_value` for clarity.
* Includes minor code layout changes for better readability.
Reference: [http://gmpg.org/xfn/join XFN: Getting Started].
Follow-up to [52946], [52996], [52997], [52998], [53003], [53014], [53029], [53039], [53116], [53117], [53137], [53174], [53184], [53185], [53192], [53193].
Props jrf, aristath, poena, justinahinon, SergeyBiryukov.
See #55327 .
git-svn-id: https://develop.svn.wordpress.org/trunk@53198 602fd350-edb4-49c9-b593-d223f7449a82
2022-04-17 15:35:34 +00:00
..
2022-04-16 06:13:11 +00:00
2022-01-11 18:34:34 +00:00
2022-04-17 15:35:34 +00:00
2020-12-04 15:48:15 +00:00
2022-04-11 11:40:38 +00:00
2020-02-06 06:31:22 +00:00
2021-11-03 17:22:55 +00:00
2022-02-22 10:59:16 +00:00
2022-03-02 14:58:09 +00:00
2021-06-01 11:29:36 +00:00
2020-02-06 06:31:22 +00:00
2022-04-04 18:37:24 +00:00
2022-03-02 14:58:09 +00:00
2022-04-04 18:41:13 +00:00
2022-01-27 22:16:00 +00:00
2022-04-08 00:01:18 +00:00
2022-03-22 16:23:32 +00:00
2022-01-04 18:33:42 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2022-03-29 19:07:15 +00:00
2021-11-02 15:56:02 +00:00
2022-04-11 11:40:38 +00:00
2022-04-17 15:05:10 +00:00
2021-06-07 18:45:56 +00:00
2022-03-22 16:23:32 +00:00
2021-11-15 16:43:29 +00:00
2022-03-22 16:23:32 +00:00
2021-09-22 20:59:15 +00:00
2022-04-14 14:44:42 +00:00
2022-04-14 14:44:42 +00:00
2022-04-11 11:40:38 +00:00
2022-04-11 11:40:38 +00:00
2021-07-22 13:51:58 +00:00
2021-12-10 20:28:27 +00:00
2020-05-12 18:38:02 +00:00
2022-04-08 17:38:55 +00:00
2021-07-22 13:51:58 +00:00
2021-07-22 13:51:58 +00:00
2020-07-05 15:20:16 +00:00
2021-07-27 19:00:54 +00:00
2021-12-12 14:50:18 +00:00
2021-12-12 14:50:18 +00:00
2021-07-22 13:51:58 +00:00
2021-03-07 12:30:38 +00:00
2022-03-22 16:23:32 +00:00
2022-04-07 12:52:32 +00:00
2021-12-25 03:30:27 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2021-07-22 13:51:58 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2020-02-06 06:31:22 +00:00
2021-07-22 13:51:58 +00:00
2022-04-15 11:56:58 +00:00
2021-07-22 13:51:58 +00:00
2022-03-28 10:54:49 +00:00
2022-04-15 11:56:58 +00:00
2019-08-16 00:38:42 +00:00
2021-07-22 13:51:58 +00:00
2022-04-11 05:14:43 +00:00
2022-04-12 13:41:44 +00:00
2022-01-02 16:45:34 +00:00
2021-07-22 13:51:58 +00:00
2022-04-12 06:05:45 +00:00
2022-04-15 11:56:58 +00:00
2022-03-22 16:23:32 +00:00
2022-03-22 16:23:32 +00:00
2020-05-16 18:40:52 +00:00
2022-03-22 16:23:32 +00:00
2020-02-06 06:31:22 +00:00
2022-04-11 11:40:38 +00:00
2021-07-22 13:51:58 +00:00
2020-02-06 06:31:22 +00:00
2022-01-07 16:45:24 +00:00
2022-04-12 13:41:44 +00:00
2022-04-17 15:05:10 +00:00
2021-11-01 22:35:43 +00:00
2021-12-18 21:00:26 +00:00
2022-03-22 16:23:32 +00:00
2022-04-15 11:56:58 +00:00
2022-04-16 06:13:11 +00:00
2022-03-22 16:23:32 +00:00
2021-07-22 13:51:58 +00:00
2022-03-22 16:23:32 +00:00
2021-07-22 13:51:58 +00:00
2020-02-06 06:31:22 +00:00
2022-04-11 11:40:38 +00:00
2021-08-05 03:36:24 +00:00
2022-04-11 11:40:38 +00:00
2022-04-08 17:38:55 +00:00
2022-03-22 16:23:32 +00:00
2022-04-07 13:38:08 +00:00
2021-09-09 21:39:39 +00:00
2022-03-22 19:57:20 +00:00