Commit 0ab9fff
Oscar Trollhag
Use get_term instead of get_category for taxonomies
When WP_DEBUG is enabled, get_category throws an error for all other taxonomies.1 parent 9291996 commit 0ab9fff
File tree
1 file changed
+1
-1
lines changed1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments