File tree Expand file tree Collapse file tree
lib/Cleantalk/ApbctWP/FindSpam Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ public static function getExtraTableNavInsertDeleteUsers()
9292 if ( defined ('APBCT_IS_LOCALHOST ' ) && APBCT_IS_LOCALHOST ) {
9393 $ out .= '<div class="ctlk---red bar" style="padding: 10px"> ' ;
9494 $ out .= '<span>These actions available only for test purpose and buttons are visible only in local env:</span> ' ;
95- $ out .= '<button type="button" class="button button-small action ct_insert_users" style="margin:0 5px">Insert 500 users</button> ' ;
95+ $ out .= '<button type="button" class="button button-small action ct_insert_users" style="margin:0 5px">Insert 50 users</button> ' ;
9696 $ out .= '<button type="button" class="button button-small action ct_insert_users__delete" style="margin:0 5px">Delete inserted users</button> ' ;
9797 $ out .= '</div> ' ;
9898 }
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ public static function ctAjaxInsertUsers()
556556 }
557557
558558 // TEST INSERTION
559- $ to_insert = 500 ;
559+ $ to_insert = 50 ;
560560 $ query = 'SELECT network FROM ` ' . APBCT_TBL_FIREWALL_DATA . '` LIMIT ' . $ to_insert . '; ' ;
561561
562562 $ result = $ wpdb ->get_results (
You can’t perform that action at this time.
0 commit comments