Changeset 58380 for trunk/src/wp-includes/option.php
- Timestamp:
- 06/11/2024 02:29:14 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r58230 r58380 607 607 if ( ! $alloptions ) { 608 608 $suppress = $wpdb->suppress_errors(); 609 $alloptions_db = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options WHERE autoload IN ( '" . implode( "', '", wp_autoload_values_to_autoload() ) . "' )" );609 $alloptions_db = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options WHERE autoload IN ( '" . implode( "', '", esc_sql( wp_autoload_values_to_autoload() ) ) . "' )" ); 610 610 611 611 if ( ! $alloptions_db ) {
Note: See TracChangeset
for help on using the changeset viewer.