Changeset 19044
- Timestamp:
- 10/23/2011 05:51:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r19039 r19044 3531 3531 function _doing_it_wrong( $function, $message, $version ) { 3532 3532 3533 $message .= ' ' . __('Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information.');3534 3533 do_action( 'doing_it_wrong_run', $function, $message, $version ); 3535 3534 … … 3537 3536 if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) { 3538 3537 $version = is_null( $version ) ? '' : sprintf( __( '(This message was added in version %s.)' ), $version ); 3538 $message .= ' ' . __( 'Please see <a href="http://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information.' ); 3539 3539 trigger_error( sprintf( __( '%1$s was called <strong>incorrectly</strong>. %2$s %3$s' ), $function, $message, $version ) ); 3540 3540 }
Note: See TracChangeset
for help on using the changeset viewer.