Sergey Biryukov
8761c4cefd
Code Modernization: Rename parameters that use reserved keywords in wp-admin/includes/class-wp-debug-data.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 `$var` parameter to `$mysql_var` in `WP_Debug_Data::get_mysql_var()`.
Additionally, `$type` is renamed to `$data_type` in `WP_Debug_Data::format()` for clarity.
Follow-up to [51522], [52946], [52996], [52997], [52998].
Props jrf, aristath, poena, justinahinon, SergeyBiryukov.
See #55327 .
Built from https://develop.svn.wordpress.org/trunk@53003
git-svn-id: http://core.svn.wordpress.org/trunk@52592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2022-03-28 13:24:01 +00:00
..
2022-03-21 10:32:03 +00:00
2022-01-11 18:36:00 +00:00
2022-03-28 13:24:01 +00:00
2022-03-18 20:12:06 +00:00
2020-12-04 15:50:12 +00:00
2022-03-22 16:25:03 +00:00
2020-02-06 06:33:11 +00:00
2022-02-22 11:01:11 +00:00
2022-03-02 15:00:11 +00:00
2021-06-01 11:30:57 +00:00
2020-02-06 06:33:11 +00:00
2021-11-30 17:18:01 +00:00
2022-03-02 15:00:11 +00:00
2021-07-22 13:53:00 +00:00
2022-01-27 22:17:00 +00:00
2021-10-01 13:49:00 +00:00
2022-03-22 16:25:03 +00:00
2022-01-04 18:35:03 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2021-11-08 21:43:01 +00:00
2021-11-02 15:57:59 +00:00
2022-03-22 16:25:03 +00:00
2022-03-25 21:50:03 +00:00
2021-06-07 18:47:02 +00:00
2022-03-22 16:25:03 +00:00
2021-11-15 16:45:01 +00:00
2022-03-22 16:25:03 +00:00
2021-09-22 21:01:00 +00:00
2021-07-08 17:07:58 +00:00
2021-07-08 17:07:58 +00:00
2021-11-30 17:18:01 +00:00
2022-03-22 16:25:03 +00:00
2021-07-22 13:53:00 +00:00
2021-11-03 03:16:57 +00:00
2020-05-12 18:40:07 +00:00
2022-03-22 16:25:03 +00:00
2021-07-22 13:53:00 +00:00
2021-07-22 13:53:00 +00:00
2020-07-05 15:22:01 +00:00
2021-07-27 19:01:59 +00:00
2021-12-12 14:52:02 +00:00
2021-12-12 14:52:02 +00:00
2021-07-22 13:53:00 +00:00
2021-03-07 12:32:09 +00:00
2022-03-22 16:25:03 +00:00
2020-10-18 17:27:06 +00:00
2021-12-25 03:32:03 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2021-07-22 13:53:00 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2020-02-06 06:33:11 +00:00
2021-07-22 13:53:00 +00:00
2022-03-22 16:25:03 +00:00
2021-07-22 13:53:00 +00:00
2022-03-28 10:56:04 +00:00
2021-07-22 13:53:00 +00:00
2019-08-16 00:39:55 +00:00
2021-07-22 13:53:00 +00:00
2022-03-22 16:25:03 +00:00
2021-11-08 21:55:00 +00:00
2022-01-02 16:47:05 +00:00
2021-07-22 13:53:00 +00:00
2022-01-03 21:28:01 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2020-05-16 18:42:12 +00:00
2022-03-22 16:25:03 +00:00
2020-02-06 06:33:11 +00:00
2021-08-26 12:59:02 +00:00
2021-07-22 13:53:00 +00:00
2020-02-06 06:33:11 +00:00
2022-01-07 16:47:00 +00:00
2022-03-22 16:25:03 +00:00
2022-03-25 21:50:03 +00:00
2021-11-01 22:36:59 +00:00
2021-12-18 21:02:04 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2021-07-22 13:53:00 +00:00
2022-03-22 16:25:03 +00:00
2021-07-22 13:53:00 +00:00
2020-02-06 06:33:11 +00:00
2021-03-21 13:13:03 +00:00
2021-08-05 03:37:56 +00:00
2022-03-04 11:29:04 +00:00
2022-03-22 16:25:03 +00:00
2022-03-22 16:25:03 +00:00
2022-03-17 03:37:05 +00:00
2021-09-09 21:40:57 +00:00
2022-03-22 19:59:04 +00:00