Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Another multiline chain

  • Loading branch information...
commit d262805fc3498f7b705e5c2e6437775a3ad4b4a8 1 parent 738c6d6
@markjaquith authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 tlc-transients.php
View
6 tlc-transients.php
@@ -9,7 +9,11 @@ public function init() {
if ( isset( $_POST['_tlc_update'] ) ) {
$update = get_transient( 'tlc_update__' . $_POST['key'] );
if ( $update && $update[0] == $_POST['_tlc_update'] ) {
- tlc_transient( $update[1] )->expires_in( $update[2] )->updates_with( $update[3], (array) $update[4] )->set_lock( $update[0] )->fetch_and_cache();
+ tlc_transient( $update[1] )
+ ->expires_in( $update[2] )
+ ->updates_with( $update[3], (array) $update[4] )
+ ->set_lock( $update[0] )
+ ->fetch_and_cache();
}
exit();
}
Please sign in to comment.
Something went wrong with that request. Please try again.