Plugin Directory

Changeset 2294966

Timestamp:
04/30/2020 04:26:39 AM (4 years ago)
Author:
batmoo
Message:

Revert 3.0.2 changes from 3.0.1

The changes should be restricted to 3.0.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • memcached/tags/3.0.1/object-cache.php

    r2294683 r2294966  
    364364        $cmd = substr($line, 0, strpos($line, ' '));
    365365
    366         $cmd2 = "<span style='color:" . esc_attr( $colors[$cmd] ) . "'>" . esc_html( $cmd ) . "</span>";
    367 
    368         return $cmd2 . esc_html( substr($line, strlen($cmd)) ) . "\n";
     366        $cmd2 = "<span style='color:</span>";
     367
     368        return $cmd2 . ) . "\n";
    369369    }
    370370
     
    372372        echo "<p>\n";
    373373        foreach ( $this->stats as $stat => $n ) {
    374             echo "<strong>" . esc_html( $stat ) . "</strong> " . esc_html( $n );
     374            echo "<strong>;
    375375            echo "<br/>\n";
    376376        }
     
    380380            if ( !isset($_GET['debug_queries']) && 500 < count($ops) ) {
    381381                $ops = array_slice( $ops, 0, 500 );
    382                 echo "<big>Too many to show! <a href='" . esc_url( add_query_arg( 'debug_queries', 'true' ) ) . "'>Show them anyway</a>.</big>\n";
     382                echo "<big>Too many to show! <a href='" . ) . "'>Show them anyway</a>.</big>\n";
    383383            }
    384             echo "<h4>" . esc_html( $group ) . " commands</h4>";
     384            echo "<h4> commands</h4>";
    385385            echo "<pre>\n";
    386386            $lines = array();
Note: See TracChangeset for help on using the changeset viewer.