Commit bd797e0
committed
Query: fix undefined variable $q in WP_Query::generate_cache_key()
The `generate_cache_key()` method in `WP_Query` referenced an undefined variable `$q`. The method only has two parameters: `$args` and `$sql`. The variable `$q` is not defined anywhere in this method scope. This patch replaces the undefined `$q` variable with the correct `$args` parameter.
Follow-up to [59442]
Props ramonopoly, westonruter
Fixes #64135.
git-svn-id: https://develop.svn.wordpress.org/trunk@61043 602fd350-edb4-49c9-b593-d223f7449a821 parent 33d4edd commit bd797e0
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5043 | 5043 | | |
5044 | 5044 | | |
5045 | 5045 | | |
5046 | | - | |
| 5046 | + | |
5047 | 5047 | | |
5048 | 5048 | | |
5049 | 5049 | | |
| |||
0 commit comments