Making WordPress.org


Ignore:
Timestamp:
02/06/2018 05:47:46 PM (7 years ago)
Author:
obenland
Message:

Themes: Add another level of debug

See [6548].

File:
1 edited

Legend:

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

    r6462 r6553  
    751751    unset( $request['fields'], $request['locale'] );
    752752
     753    // DEBUG
     754    if ( function_exists( 'slack_dm' ) && isset( $request['browse'] ) && 'featured' === $request['browse'] && 1 === $api_result->info['results'] ) {
     755        slack_dm( print_r( $GLOBALS['wp_query'], 1 ), 'obenland' );
     756        slack_dm( print_r( $api_result, 1 ), 'obenland' );
     757    }
     758
    753759    return $result = array(
    754760        'themes'  => $api_result->themes,
Note: See TracChangeset for help on using the changeset viewer.