Changeset 2294683
- Timestamp:
- 04/29/2020 09:21:05 PM (6 years ago)
- Location:
- memcached
- Files:
-
- 5 edited
- 1 copied
-
tags/3.0.1/object-cache.php (modified) (3 diffs)
-
tags/3.0.2 (copied) (copied from memcached/trunk)
-
tags/3.0.2/object-cache.php (modified) (4 diffs)
-
tags/3.0.2/readme.txt (modified) (1 diff)
-
trunk/object-cache.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
memcached/tags/3.0.1/object-cache.php
r1410579 r2294683 364 364 $cmd = substr($line, 0, strpos($line, ' ')); 365 365 366 $cmd2 = "<span style='color: {$colors[$cmd]}'>$cmd</span>";367 368 return $cmd2 . substr($line, strlen($cmd)) . "\n";366 $cmd2 = "<span style='color:" . esc_attr( $colors[$cmd] ) . "'>" . esc_html( $cmd ) . "</span>"; 367 368 return $cmd2 . esc_html( substr($line, strlen($cmd)) ) . "\n"; 369 369 } 370 370 … … 372 372 echo "<p>\n"; 373 373 foreach ( $this->stats as $stat => $n ) { 374 echo "<strong> $stat</strong> $n";374 echo "<strong>" . esc_html( $stat ) . "</strong> " . esc_html( $n ); 375 375 echo "<br/>\n"; 376 376 } … … 380 380 if ( !isset($_GET['debug_queries']) && 500 < count($ops) ) { 381 381 $ops = array_slice( $ops, 0, 500 ); 382 echo "<big>Too many to show! <a href='" . add_query_arg( 'debug_queries', 'true') . "'>Show them anyway</a>.</big>\n";382 echo "<big>Too many to show! <a href='" . esc_url( add_query_arg( 'debug_queries', 'true' ) ) . "'>Show them anyway</a>.</big>\n"; 383 383 } 384 echo "<h4> $groupcommands</h4>";384 echo "<h4>" . esc_html( $group ) . " commands</h4>"; 385 385 echo "<pre>\n"; 386 386 $lines = array(); -
memcached/tags/3.0.2/object-cache.php
r1410579 r2294683 4 4 Plugin Name: Memcached 5 5 Description: Memcached backend for the WP Object Cache. 6 Version: 3.0. 16 Version: 3.0.2 7 7 Plugin URI: http://wordpress.org/extend/plugins/memcached/ 8 8 Author: Ryan Boren, Denis de Bernardy, Matt Martz, Andy Skelton … … 364 364 $cmd = substr($line, 0, strpos($line, ' ')); 365 365 366 $cmd2 = "<span style='color: {$colors[$cmd]}'>$cmd</span>";367 368 return $cmd2 . substr($line, strlen($cmd)) . "\n";366 $cmd2 = "<span style='color:" . esc_attr( $colors[$cmd] ) . "'>" . esc_html( $cmd ) . "</span>"; 367 368 return $cmd2 . esc_html( substr($line, strlen($cmd)) ) . "\n"; 369 369 } 370 370 … … 372 372 echo "<p>\n"; 373 373 foreach ( $this->stats as $stat => $n ) { 374 echo "<strong> $stat</strong> $n";374 echo "<strong>" . esc_html( $stat ) . "</strong> " . esc_html( $n ); 375 375 echo "<br/>\n"; 376 376 } … … 380 380 if ( !isset($_GET['debug_queries']) && 500 < count($ops) ) { 381 381 $ops = array_slice( $ops, 0, 500 ); 382 echo "<big>Too many to show! <a href='" . add_query_arg( 'debug_queries', 'true') . "'>Show them anyway</a>.</big>\n";382 echo "<big>Too many to show! <a href='" . esc_url( add_query_arg( 'debug_queries', 'true' ) ) . "'>Show them anyway</a>.</big>\n"; 383 383 } 384 echo "<h4> $groupcommands</h4>";384 echo "<h4>" . esc_html( $group ) . " commands</h4>"; 385 385 echo "<pre>\n"; 386 386 $lines = array(); -
memcached/tags/3.0.2/readme.txt
r1410579 r2294683 4 4 Requires at least: 3.0 5 5 Tested up to: 4.5 6 Stable tag: 3.0. 16 Stable tag: 3.0.2 7 7 8 8 Use memcached and the PECL memcache extension to provide a backing store for the WordPress object cache. -
memcached/trunk/object-cache.php
r1410579 r2294683 4 4 Plugin Name: Memcached 5 5 Description: Memcached backend for the WP Object Cache. 6 Version: 3.0. 16 Version: 3.0.2 7 7 Plugin URI: http://wordpress.org/extend/plugins/memcached/ 8 8 Author: Ryan Boren, Denis de Bernardy, Matt Martz, Andy Skelton … … 364 364 $cmd = substr($line, 0, strpos($line, ' ')); 365 365 366 $cmd2 = "<span style='color: {$colors[$cmd]}'>$cmd</span>";367 368 return $cmd2 . substr($line, strlen($cmd)) . "\n";366 $cmd2 = "<span style='color:" . esc_attr( $colors[$cmd] ) . "'>" . esc_html( $cmd ) . "</span>"; 367 368 return $cmd2 . esc_html( substr($line, strlen($cmd)) ) . "\n"; 369 369 } 370 370 … … 372 372 echo "<p>\n"; 373 373 foreach ( $this->stats as $stat => $n ) { 374 echo "<strong> $stat</strong> $n";374 echo "<strong>" . esc_html( $stat ) . "</strong> " . esc_html( $n ); 375 375 echo "<br/>\n"; 376 376 } … … 380 380 if ( !isset($_GET['debug_queries']) && 500 < count($ops) ) { 381 381 $ops = array_slice( $ops, 0, 500 ); 382 echo "<big>Too many to show! <a href='" . add_query_arg( 'debug_queries', 'true') . "'>Show them anyway</a>.</big>\n";382 echo "<big>Too many to show! <a href='" . esc_url( add_query_arg( 'debug_queries', 'true' ) ) . "'>Show them anyway</a>.</big>\n"; 383 383 } 384 echo "<h4> $groupcommands</h4>";384 echo "<h4>" . esc_html( $group ) . " commands</h4>"; 385 385 echo "<pre>\n"; 386 386 $lines = array(); -
memcached/trunk/readme.txt
r1410579 r2294683 4 4 Requires at least: 3.0 5 5 Tested up to: 4.5 6 Stable tag: 3.0. 16 Stable tag: 3.0.2 7 7 8 8 Use memcached and the PECL memcache extension to provide a backing store for the WordPress object cache.
Note: See TracChangeset
for help on using the changeset viewer.