From: Steve Sutton Date: Tue, 23 May 2017 17:11:16 +0000 (-0400) Subject: Setting up function call back X-Git-Tag: v1.0.21^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=15b2cf5542c8ae6acb6c98e09e57362a120b0d00;p=WP-Themes%2Fshipwreckmuseum.git Setting up function call back Setup correctly now --- diff --git a/functions.php b/functions.php index a5068d7..0cbcda8 100644 --- a/functions.php +++ b/functions.php @@ -421,5 +421,5 @@ function wpa_add__wp_http_referer( $form_html ) { return $form_html; } -add_filter( 'the_password_form', array( $this, 'wpa_add__wp_http_referer' ), 10, 1 ); +add_filter( 'the_password_form', 'wpa_add__wp_http_referer', 10, 1 ); ?> diff --git a/style.css b/style.css index ccaa025..2a7afda 100644 --- a/style.css +++ b/style.css @@ -3,5 +3,5 @@ Theme Name: GreatLakesShipwreckMuseum Author: Gaslight Media Author URI: http://www.gaslightmedia.com Description: A theme for GreatLakesShipwreckMuseum -Version: 1.0.20 +Version: 1.0.21 */