Fix typo in textpattern importer. Fixes #7529 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8658 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8a83012b1a
commit
70dc6f6b85
@ -356,7 +356,7 @@ class Textpattern_Import {
|
||||
$category1 = get_category_by_slug($Category1);
|
||||
$category1 = $category1->term_id;
|
||||
$category2 = get_category_by_slug($Category2);
|
||||
$category2 = $category1->term_id;
|
||||
$category2 = $category2->term_id;
|
||||
if($cat1 = $category1) { $cats[1] = $cat1; }
|
||||
if($cat2 = $category2) { $cats[2] = $cat2; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user