Changeset 35025 for trunk/src/wp-includes/option.php
- Timestamp:
- 10/11/2015 11:29:55 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/option.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r35024 r35025 1070 1070 global $wpdb, $current_site; 1071 1071 1072 if ( $network_id && ! is_numeric( $network_id ) ) { 1073 return false; 1074 } 1075 1072 1076 $network_id = (int) $network_id; 1073 1077 … … 1183 1187 global $wpdb, $current_site; 1184 1188 1189 if ( $network_id && ! is_numeric( $network_id ) ) { 1190 return false; 1191 } 1192 1185 1193 $network_id = (int) $network_id; 1186 1194 … … 1288 1296 global $wpdb, $current_site; 1289 1297 1298 if ( $network_id && ! is_numeric( $network_id ) ) { 1299 return false; 1300 } 1301 1290 1302 $network_id = (int) $network_id; 1291 1303 … … 1366 1378 function update_network_option( $network_id, $option, $value ) { 1367 1379 global $wpdb, $current_site; 1380 1381 if ( $network_id && ! is_numeric( $network_id ) ) { 1382 return false; 1383 } 1368 1384 1369 1385 $network_id = (int) $network_id;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)