You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Allow plugin to filter the output error trigger
4483
+
if ( WP_DEBUG && apply_filters( 'doing_it_wrong_trigger_error', true ) ) {
4484
+
if ( is_null( $version ) )
4485
+
trigger_error( sprintf( __('%1$s was called with an argument that is <strong>incorrect</strong> - %2$s'), $function, $message ) );
4486
+
else
4487
+
trigger_error( sprintf( __('%1$s was called with an argument that is <strong>incorrect</strong> since version %2$s - %3$s'), $function, $version, $message ) );
0 commit comments