Making WordPress.org

Changeset 6548


Ignore:
Timestamp:
02/05/2018 11:00:15 PM (7 years ago)
Author:
obenland
Message:

Themes: Bring back slighly improved debug code

See [6546], [6547].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-themes-api.php

    r6547 r6548  
    445445        }
    446446
     447        // DEBUG
     448        if ( function_exists( 'slack_dm' ) && 'featured' === $wp_query->query_vars['browse'] && 1 === $this->result->found_posts ) {
     449            slack_dm( print_r( $this->request, 1 ), 'obenland' );
     450            slack_dm( print_r( $wp_query, 1 ), 'obenland' );
     451        }
     452
    447453        // Basic information about the request.
    448454        $this->response = (object) array(
Note: See TracChangeset for help on using the changeset viewer.