Ticket #31776: 31776.4.diff
File 31776.4.diff, 604 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/widgets.php
804 804 $i = count($wp_registered_sidebars) + 1; 805 805 806 806 if ( empty( $args['id'] ) ) { 807 _doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), 'id' ), '4.2.0' ); 807 /* translators: %s: the id argument */ 808 _doing_it_wrong( __FUNCTION__, sprintf( __( 'You should set %s in the arguments array.' ), '<code>id</code>' ), '4.2.0' ); 808 809 } 809 810 810 811 $defaults = array(