Changeset 25451 for trunk/src/wp-includes/option.php
- Timestamp:
- 09/16/2013 05:42:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r25350 r25451 491 491 function set_transient( $transient, $value, $expiration = 0 ) { 492 492 $value = apply_filters( 'pre_set_transient_' . $transient, $value ); 493 $expiration = (int) $expiration; 493 494 494 495 if ( wp_using_ext_object_cache() ) { … … 1050 1051 function set_site_transient( $transient, $value, $expiration = 0 ) { 1051 1052 $value = apply_filters( 'pre_set_site_transient_' . $transient, $value ); 1053 $expiration = (int) $expiration; 1052 1054 1053 1055 if ( wp_using_ext_object_cache() ) {
Note: See TracChangeset
for help on using the changeset viewer.