Make WordPress Core

Ticket #33440: 33440.2.diff

File 33440.2.diff, 587 bytes (added by wonderboymusic, 9 years ago)
  • src/wp-includes/class-wp-widget.php

     
    159159         * @param array  $control_options
    160160         */
    161161        public function WP_Widget( $id_base, $name, $widget_options = array(), $control_options = array() ) {
    162                 _deprecated_constructor( 'WP_Widget', '4.3.0' );
     162                _deprecated_constructor( get_class( $this ), '4.3.0' );
    163163                WP_Widget::__construct( $id_base, $name, $widget_options, $control_options );
    164164        }
    165165