mirror of
https://github.com/kremalicious/Badged.git
synced 2024-11-25 19:33:57 +01:00
fixes
This commit is contained in:
parent
59aaa624d4
commit
7ddb0c09c1
@ -201,8 +201,8 @@ class Badged_Admin {
|
|||||||
|
|
||||||
$options = get_option( 'badged_settings' );
|
$options = get_option( 'badged_settings' );
|
||||||
|
|
||||||
$html .= '<p>';
|
$html = '<p>';
|
||||||
$html = '<input type="radio" id="style_ios7" name="badged_settings[style]" value="ios7"' . checked( 'ios7', $options['style'], false ) . '/>';
|
$html .= '<input type="radio" id="style_ios7" name="badged_settings[style]" value="ios7"' . checked( 'ios7', $options['style'], false ) . '/>';
|
||||||
$html .= ' ';
|
$html .= ' ';
|
||||||
$html .= '<label for="style_ios7">iOS 7</label>';
|
$html .= '<label for="style_ios7">iOS 7</label>';
|
||||||
$html .= '</p>';
|
$html .= '</p>';
|
||||||
|
@ -85,7 +85,7 @@ add_action( 'plugins_loaded', array( 'Badged', 'get_instance' ) );
|
|||||||
//
|
//
|
||||||
// Admin Stuff
|
// Admin Stuff
|
||||||
//
|
//
|
||||||
if ( is_admin() ) {
|
if ( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX ) ) {
|
||||||
|
|
||||||
require_once( BADGED_PATH . '/admin/class-badged-admin.php' );
|
require_once( BADGED_PATH . '/admin/class-badged-admin.php' );
|
||||||
add_action( 'plugins_loaded', array( 'Badged_Admin', 'get_instance' ) );
|
add_action( 'plugins_loaded', array( 'Badged_Admin', 'get_instance' ) );
|
||||||
|
Loading…
Reference in New Issue
Block a user