Commit 9054f7e
Simplify term retrieval with cache clearing
Reverted to simpler approach using wp_get_object_terms() with
proper error handling. Added clean_post_cache() call to ensure
fresh term data is retrieved, avoiding any stale cache issues.
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>1 parent 67b15b2 commit 9054f7e
1 file changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
| |||
404 | 402 | | |
405 | 403 | | |
406 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
407 | 410 | | |
408 | 411 | | |
409 | 412 | | |
410 | 413 | | |
411 | 414 | | |
412 | | - | |
413 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
414 | 418 | | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
| 419 | + | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
0 commit comments