wpdev
bed3f906da
fix(2meet-data-optimizer): keep meta_key native when the query still orders by it
...
- meta_key is routed as EXISTS only when no orderby entry names meta_value,
meta_value_num or the key (several orderings or an array included);
clearing it made WordPress drop the price ordering
- A sort group is dropped as unused only when orderby names neither it,
meta_value(_num) nor its key (it is then the primary clause)
- meta_compare_key other than '=' keeps meta_key native (LIKE matches other keys)
- Found in the 2.4 correctness review (regressions from PR-122)
- Verify: PostQueryRouterTest (3 new), router suites 67 OK
- PR: PR-130
2026-09-28 00:27:56 +08:00
..
2026-07-31 05:06:36 +08:00
2026-09-26 18:45:59 +08:00
2026-07-31 08:55:12 +08:00
2026-07-31 05:06:36 +08:00
2026-09-27 17:46:54 +08:00
2026-09-27 09:06:19 +08:00
2026-09-27 01:00:13 +08:00
2026-09-26 23:30:28 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-09-27 10:07:02 +08:00
2026-09-27 00:41:43 +08:00
2026-09-26 22:46:01 +08:00
2026-09-27 17:09:10 +08:00
2026-09-27 17:30:36 +08:00
2026-07-31 05:06:36 +08:00
2026-09-25 21:48:23 +08:00
2026-07-31 05:06:36 +08:00
2026-09-26 00:44:53 +08:00
2026-09-26 04:24:14 +08:00
2026-09-26 19:22:34 +08:00
2026-09-25 23:38:12 +08:00
2026-07-31 05:06:36 +08:00
2026-09-26 22:54:27 +08:00
2026-07-31 05:06:36 +08:00
2026-09-27 01:11:52 +08:00
2026-09-26 00:04:38 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-09-27 01:11:52 +08:00
2026-09-27 23:12:34 +08:00
2026-09-27 01:11:52 +08:00
2026-09-27 22:40:59 +08:00
2026-09-27 01:11:52 +08:00
2026-09-28 00:27:56 +08:00
2026-09-25 23:55:49 +08:00
2026-07-31 05:06:36 +08:00
2026-09-27 23:25:03 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-09-26 22:22:40 +08:00
2026-09-27 17:30:36 +08:00
2026-09-27 00:48:18 +08:00
2026-09-26 00:07:31 +08:00
2026-07-31 05:06:36 +08:00
2026-09-25 21:39:38 +08:00
2026-09-25 21:39:38 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-09-25 22:16:02 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:06:36 +08:00
2026-07-31 05:31:34 +08:00