• Index: contact-form-7-widget.php
    ===================================================================
    --- contact-form-7-widget.php
    +++ contact-form-7-widget.php
    @@ -10,9 +10,9 @@
    
     class WP_Widget_Custom_CF7 extends WP_Widget {
    
    -	function WP_Widget_Custom_CF7() {
    +	function __construct() {
     		$widget_ops = array( 'description' => __( "Display any form from Contact Forms 7") );
    -		$this->WP_Widget('custom_cf7', __('Contact Form 7'), $widget_ops);
    +		parent::__construct('custom_cf7', __('Contact Form 7'), $widget_ops);
     	}
    
     	function widget( $args, $instance ) {

    https://www.ads-software.com/plugins/widget-contact-form-7/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘patch for WordPress 4.3 deprecated PHP 4-style constructor’ is closed to new replies.