Making WordPress.org


Ignore:
Timestamp:
11/12/2018 02:07:43 PM (6 years ago)
Author:
vedjain
Message:

WordCamp: Disable slack error handler

Looks like WordCamp production server do not have slack API as of now. Disabling notifications for time being, proper fix will to be replace slack->send with webhook call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/wcorg-misc.php

    r7838 r7839  
    461461
    462462    if ( $err_no !== E_ERROR && $err_no !== E_USER_ERROR && $err_no !== E_CORE_ERROR && $err_no !== E_COMPILE_ERROR ) {
    463 //      return false;
     463        return false;
    464464    }
    465465
     
    528528}
    529529
    530 if ( ! defined( 'WPORG_SANDBOXED' ) || ! WPORG_SANDBOXED ) {
     530if ( false && ( ! defined( 'WPORG_SANDBOXED' ) || ! WPORG_SANDBOXED ) ) {
    531531    register_shutdown_function( 'send_fatal_to_slack' );
    532532    set_error_handler( 'send_error_to_slack', E_ERROR );
Note: See TracChangeset for help on using the changeset viewer.