Commit cc9e6ec
committed
Call wp_update_term_count() only for those terms that have been added to or removed from the object. Props jeremyclarke. fixes #18631
git-svn-id: https://develop.svn.wordpress.org/trunk@18999 602fd350-edb4-49c9-b593-d223f7449a821 parent 789dab3 commit cc9e6ec
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2117 | 2117 | | |
2118 | 2118 | | |
2119 | 2119 | | |
| 2120 | + | |
2120 | 2121 | | |
2121 | 2122 | | |
2122 | 2123 | | |
| |||
2139 | 2140 | | |
2140 | 2141 | | |
2141 | 2142 | | |
| 2143 | + | |
2142 | 2144 | | |
2143 | 2145 | | |
2144 | | - | |
| 2146 | + | |
| 2147 | + | |
2145 | 2148 | | |
2146 | 2149 | | |
2147 | 2150 | | |
| |||
0 commit comments