Skip to content

Commit c60941f

Browse files
authored
Merge pull request #102 from jcvignoli/master
set_transient() third param $expiration is optional
2 parents 81de215 + 7f94c95 commit c60941f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/WordPress/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,7 @@ function set_theme_mod( $name, $value ) {
11521152
*
11531153
* @return bool
11541154
*/
1155-
function set_transient( $transient, $value, $expiration ) {
1155+
function set_transient( $transient, $value, $expiration = 0 ) {
11561156
}
11571157

11581158
/**

0 commit comments

Comments
 (0)