/home/techb158/balacoffee.com/wp-content/plugins/coming-soon/resources/views
NameSizeModeActions
builder.php369070644editdlrm
debug.php53170644editdlrm
importexport.php23880644editdlrm
seedprod-preview.php247520644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/plugins/coming-soon/resources/views/importexport.php (2388B)
prefix . 'posts'; $updated = $wpdb->update( $tablename, array( 'post_content_filtered' => $json, ), array( 'ID' => $sp_post_id ), array( '%s' ), array( '%d' ) ); if ( false === $updated ) { echo esc_html__( 'Update error.', 'coming-soon' ) . PHP_EOL; } else { echo esc_html__( 'Updated.', 'coming-soon' ) . PHP_EOL; } } global $wpdb; $tablename = $wpdb->prefix . 'posts'; $sql = "SELECT * FROM $tablename"; $sql .= " WHERE ID = %s"; $safe_sql = $wpdb->prepare( $sql, $sp_post_id ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared $result = $wpdb->get_row( $safe_sql ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared $js = json_decode( $result->post_content_filtered ); if ( JSON_ERROR_NONE === json_last_error() ) { echo esc_html__( 'JSON is valid.', 'coming-soon' ) . PHP_EOL; } else { echo esc_html__( 'JSON is not valid.', 'coming-soon' ) . PHP_EOL; } ?>