Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
pjaudiomv committed Jan 22, 2020
1 parent 8a8baa9 commit 58dca7a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions bmlt-versions/bmlt-versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -50,7 +51,7 @@ public function bmltVersionsAdminOptionsPage()
<div>
<h2>BMLT Versions</h2>
<form method="post" action="options.php">
<?php settings_fields( 'bmltVersionsOptionGroup' ); ?>
<?php settings_fields('bmltVersionsOptionGroup'); ?>
<table>
<tr valign="top">
<th scope="row"><label for="bmltVersionsGithubApiKey">GitHub API Token</label></th>
Expand Down

0 comments on commit 58dca7a

Please sign in to comment.