Skip to content

Commit

Permalink
*Make transient methods public
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Jul 11, 2017
1 parent 8503c8a commit 8003f05
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/WordPress/Cache/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function set_path_defaults( $path ) {
/**
* @return mixed
*/
protected function get_transient() {
public function get_transient() {
if ( is_multisite() ) {
return call_user_func_array( 'get_site_transient', func_get_args() );
}
Expand Down Expand Up @@ -113,7 +113,7 @@ public function delete_cache_leaf( $path = [] ) {
/**
* @return bool
*/
protected function delete_transient() {
public function delete_transient() {
if ( is_multisite() ) {
return call_user_func_array( 'delete_site_transient', func_get_args() );
}
Expand Down Expand Up @@ -183,7 +183,7 @@ protected function build_cache_tree( $path ) {
/**
*
*/
protected function set_transient() {
public function set_transient() {
if ( is_multisite() ) {
return call_user_func_array( 'set_site_transient', func_get_args() );
}
Expand Down

0 comments on commit 8003f05

Please sign in to comment.