diff --git a/bmlt-versions/bmlt-versions.php b/bmlt-versions/bmlt-versions.php index cf7f2c2..42772fb 100644 --- a/bmlt-versions/bmlt-versions.php +++ b/bmlt-versions/bmlt-versions.php @@ -32,12 +32,13 @@ public function __construct() add_shortcode('bmlt_versions', array(&$this, "bmltVersionsFunc")); } } - function bmltVersionsRegisterSettings() { - add_option( 'bmltVersionsGithubApiKey', 'Github API Key.'); - register_setting( 'bmltVersionsOptionGroup', 'bmltVersionsGithubApiKey', 'bmltVersionsCallback' ); + public function bmltVersionsRegisterSettings() + { + add_option('bmltVersionsGithubApiKey', 'Github API Key.'); + register_setting('bmltVersionsOptionGroup', 'bmltVersionsGithubApiKey', 'bmltVersionsCallback'); } - function bmltVersionsOptionsPage() + public function bmltVersionsOptionsPage() { add_options_page('BMLT Versions', 'BMLT Versions', 'manage_options', 'bmlt-versions', array( &$this, @@ -50,7 +51,7 @@ public function bmltVersionsAdminOptionsPage()

BMLT Versions

- +