Changeset 6046
- Timestamp:
- 05/31/2016 08:11:41 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/core/sub-actions.php
r5951 r6046 165 165 // strange (and difficult to debug) role/capability issues will occur. 166 166 if ( ! isset( $GLOBALS['wp_customize'] ) && ! did_action( 'after_setup_theme' ) ) { 167 _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' ); 167 $e = new Exception; 168 $trace = $e->getTraceAsString(); 169 _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ) . "\n===\nTrace:\n" . substr( $trace, strpos( $trace, '#6' ) ) . "\n===\n", '2.3' ); 168 170 } 169 171
Note: See TracChangeset
for help on using the changeset viewer.