|
@@ -118,7 +118,7 @@ discard block |
|
|
block discarded – undo |
|
118
|
118
|
* @since 0.9.3 |
|
119
|
119
|
* |
|
120
|
120
|
* @param int $postid The current postid |
|
121
|
|
- * @param string|bool $value The term slug, or a comma separated list of slugs. Or false to remove all terms set for post. |
|
|
121
|
+ * @param string|bool $value The term slug, or a comma separated list of slugs. Or false to remove all terms set for post. |
|
122
|
122
|
* @param string $taxonomy The name of the taxonomy to which the term belongs. |
|
123
|
123
|
* |
|
124
|
124
|
* @return bool True if update was successful, false if not. |
|
@@ -131,7 +131,7 @@ discard block |
|
|
block discarded – undo |
|
131
|
131
|
} |
|
132
|
132
|
|
|
133
|
133
|
if ($taxonomy =='category') { |
|
134
|
|
- // convert from names to category ids |
|
|
134
|
+ // convert from names to category ids |
|
135
|
135
|
$cats = array(); |
|
136
|
136
|
if (is_array($value)) { |
|
137
|
137
|
foreach ($value as $cat) { |
Please login to merge, or discard this patch.