Making WordPress.org


Ignore:
Timestamp:
08/20/2015 10:08:25 AM (11 years ago)
Author:
dd32
Message:

Theme Directory: Remove some debug.

File:
1 edited

Legend:

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

    r1810 r1840  
    805805        $cmd = '/usr/local/bin/php ' . WPORGPATH . 'translate/bin/projects/add-wp-themes-project.php ' . escapeshellarg( $theme_post->post_name ) . ' ' . escapeshellarg( $version );
    806806
    807         $output = shell_exec( $cmd );
    808 
    809         // Temporary Debug.     
    810         if ( function_exists( 'slack_dm' ) ) {
    811                 $backtrace = wp_debug_backtrace_summary();
    812                 slack_dm( print_r( compact( 'cmd', 'theme_post', 'version', 'output', 'backtrace' ), true ), 'dd32' );
    813         }
     807        shell_exec( $cmd );
    814808}
    815809add_action( 'wporg_themes_update_version_live', 'wporg_themes_glotpress_import', 100, 2 );
Note: See TracChangeset for help on using the changeset viewer.