Support » Plugin: WordPress Connect » File WordPressConnectLikeButton.php, $show_faces_value undefined?

  • I’m getting an error message on my website, related to a variable $show_faces_value in file WordPressConnectLikeButton.php. This is the code:

    public static function getHtml( $url, $send_button, $layout, $width, $show_faces, $verb, $colorscheme, $font, $ref ){
    
    		$code = '<!-- WordPress Connect Like Button v' . WPC_VERSION . ' -->' . "\n";
    		$code .= '<p class="wp-connect-like-button">';
    		$code .= WordPressConnectLikeButton::getFbml( $url, $send_button, $layout, $width, $show_faces_value, $verb, $colorscheme, $font, $ref );
    		$code .= '</p>';
    		$code .= "\n" . '<!-- WordPress Connect Like Button -->' . "\n";
    
    		return $code;
    
    	}

    It looks like that variable is supposed to be $show_faces.

    Dan

    https://wordpress.org/plugins/wordpress-connect/

Viewing 1 replies (of 1 total)
  • Plugin Author scibuff

    (@scibuff)

    Thank you, a patch should be available shortly (I just pushed it to the repository)

Viewing 1 replies (of 1 total)
  • The topic ‘File WordPressConnectLikeButton.php, $show_faces_value undefined?’ is closed to new replies.