Commit d5795ab
Forms: Optimize has_feedback() query for better performance (#45361)
* Forms: Optimize has_feedback() query for better performance
* Return $posts->have_posts() instead
---------
Co-authored-by: Enej Bajgoric <[email protected]>1 parent f06ad0a commit d5795ab
File tree
2 files changed
+13
-4
lines changed- projects/packages/forms
- changelog
- src/dashboard
2 files changed
+13
-4
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
155 | 161 | | |
156 | 162 | | |
157 | | - | |
158 | | - | |
| 163 | + | |
159 | 164 | | |
160 | 165 | | |
161 | 166 | | |
| |||
0 commit comments