Skip to content

Commit 03b5b4d

Browse files
fix: category setting change on pro install (#1123)
1 parent 2bc201f commit 03b5b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/admin/feedzy-rss-feeds-import.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ public function feedzy_import_feed_options() {
435435
$import_content = '[[{"value":"%5B%7B%22id%22%3A%22%22%2C%22tag%22%3A%22item_content%22%2C%22data%22%3A%7B%7D%7D%5D"}]]';
436436
}
437437

438-
if ( feedzy_is_pro() && empty( $import_post_term ) ) {
438+
if ( feedzy_is_pro() && empty( $import_post_term ) && 'post-new.php' === $pagenow ) {
439439
$import_post_term = '[#auto_categories]';
440440
}
441441

0 commit comments

Comments
 (0)