Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (8 years ago)
Author:
obenland
Message:

PLugins: Clean up formatting with phpcbf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/libs/site-search/jetpack-search-debug.php

    r4456 r6287  
    11<?php
    22
    3 add_filter('debug_bar_panels', function($panels) {
     3add_filter( 'debug_bar_panels', function( $panels ) {
    44    class Debug_Bar_Search extends Debug_Bar_Panel {
    55        function init() {
    6             $this->title( __('Search', 'debug-bar') );
     6            $this->title( __( 'Search', 'debug-bar' ) );
    77        }
    88
     
    1212
    1313        function render() {
    14 
    1514            $search = Jetpack_Search::instance();
    1615
    1716            echo "<div id='debug-bar-jetpack-search'>";
    18 
    1917
    2018            echo '<h3>', __( 'Elasticsearch Query:', 'debug-bar' ), '</h3>';
     
    3028    $panels[] = new Debug_Bar_Search();
    3129    return $panels;
    32 });
     30} );
Note: See TracChangeset for help on using the changeset viewer.