Changeset 11883 for trunk/wp-includes/functions.php
- Timestamp:
- 08/26/2009 10:46:33 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r11878 r11883 622 622 // Get the ID, if no ID then return 623 623 // expected_slashed ($name) 624 $option = $wpdb->get_row( "SELECT option_id,autoload FROM $wpdb->options WHERE option_name = '$name'" );625 if ( is_null($option) || !$option->option_id)624 $option = $wpdb->get_row( "SELECT autoload FROM $wpdb->options WHERE option_name = '$name'" ); 625 if ( is_null($option) ) 626 626 return false; 627 627 // expected_slashed ($name)
Note: See TracChangeset
for help on using the changeset viewer.