From 93103be7a2008233e327b704f319e8f1e37cde32 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Sun, 15 Jan 2017 16:44:54 +1100 Subject: [PATCH] Edition => Extension --- sportspress.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sportspress.php b/sportspress.php index 3568ed91..4a175da0 100644 --- a/sportspress.php +++ b/sportspress.php @@ -125,7 +125,7 @@ final class SportsPress { add_action( 'init', array( $this, 'init' ), 0 ); add_action( 'init', array( 'SP_Shortcodes', 'init' ) ); add_action( 'after_setup_theme', array( $this, 'setup_environment' ) ); - add_action( 'tgmpa_register', array( $this, 'edition' ) ); + add_action( 'tgmpa_register', array( $this, 'extension' ) ); // Include core modules $this->include_modules(); @@ -333,9 +333,9 @@ final class SportsPress { } /** - * Recommend SportsPress edition for available sports. + * Recommend SportsPress extension for available sports. */ - public static function edition() { + public static function extension() { $sport = sp_array_value( $_POST, 'sportspress_sport', get_option( 'sportspress_sport', null ) ); if ( ! $sport ) return;