Changeset 11250
- Timestamp:
- 09/22/2021 08:10:18 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/wporg-bad-request.php
r11249 r11250 207 207 */ 208 208 function die_bad_request( $reference = '' ) { 209 // Log it if possible, and not on a sandbox209 // When the user is logged in, log it if possible 210 210 if ( ! defined( 'WPORG_SANDBOXED' ) || ! WPORG_SANDBOXED ) { 211 211 if ( function_exists( 'wporg_error_reporter' ) && ! empty( $_COOKIE['wporg_logged_in'] ) ) { … … 223 223 remove_all_actions( 'wp_head' ); 224 224 remove_all_actions( 'wp_footer' ); 225 remove_all_actions( 'body_class' ); 225 226 226 227 status_header( 400 );
Note: See TracChangeset
for help on using the changeset viewer.