| '; $results = $wpdb->get_results( 'SELECT * FROM ' . $relevanssi_variables['stopword_table'] ); // WPCS: unprepared SQL ok, Relevanssi table name. $exportlist = array(); foreach ( $results as $stopword ) { $sw = stripslashes( $stopword->stopword ); printf( '', esc_attr( $sw ) ); array_push( $exportlist, $sw ); } echo ''; $exportlist = htmlspecialchars( implode( ', ', $exportlist ) ); ?> | |