You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/admin/feedzy-rss-feeds-admin.php
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1097,6 +1097,16 @@ public function admin_init() {
1097
1097
return;
1098
1098
}
1099
1099
1100
+
// Check if we're on the import page and our importer is being run
1101
+
if ( isset( $_GET['import'] ) && $_GET['import'] === 'feedzy-rss-feeds' && current_user_can( 'import' ) ) { //phpcs:ignore WordPress.Security.NonceVerification.Recommended, The nonce can't be implemented since the import url is generated by core.
1102
+
if ( feedzy_is_legacyv5() || self::get_no_of_imports() < 1 ) {
0 commit comments