Skip to content

Commit 34dee90

Browse files
author
Hai Zheng
committed
v7.4 -
1 parent 9a2f6fc commit 34dee90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/object.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ public function set( $key, $data, $group = 'default', $expire = 0 ) {
847847
}
848848

849849
if ( $this->_object_cache->store_transients( $group ) ) {
850-
$this->transient_set( $key, $data, $group, (int) $expire );
850+
$this->_transient_set( $key, $data, $group, (int) $expire );
851851
}
852852

853853
return true;
@@ -1282,7 +1282,7 @@ private function _transient_get( $transient, $group ) {
12821282
* @param int $expiration Time until expiration in seconds.
12831283
* @return bool True on success, false on failure.
12841284
*/
1285-
private function transient_set( $transient, $value, $group, $expiration ) {
1285+
private function _transient_set( $transient, $value, $group, $expiration ) {
12861286
if ( 'transient' === $group ) {
12871287
/**** Ori WP func start */
12881288
$transient_timeout = '_transient_timeout_' . $transient;

0 commit comments

Comments
 (0)