cleanup
This commit is contained in:
parent
57f36cc0bc
commit
c11b7e293f
1 changed files with 4 additions and 6 deletions
|
@ -105,7 +105,7 @@ class LBRY_Admin
|
||||||
LBRY_ADMIN_PAGE,
|
LBRY_ADMIN_PAGE,
|
||||||
LBRY_SETTINGS_SECTION_GENERAL
|
LBRY_SETTINGS_SECTION_GENERAL
|
||||||
);
|
);
|
||||||
// remove from commit:
|
|
||||||
add_settings_field(
|
add_settings_field(
|
||||||
'lbry_default_publish_setting',
|
'lbry_default_publish_setting',
|
||||||
'Always Publish to LBRY',
|
'Always Publish to LBRY',
|
||||||
|
@ -123,9 +123,9 @@ class LBRY_Admin
|
||||||
);
|
);
|
||||||
|
|
||||||
add_settings_field(
|
add_settings_field(
|
||||||
'lbry_default_publish_setting',
|
LBRY_LICENSE,
|
||||||
'Always Publish to LBRY',
|
'LBRY Publishing License',
|
||||||
array( $this, 'lbry_always_pub_callback' ),
|
array( $this, 'license_callback' ),
|
||||||
LBRY_ADMIN_PAGE,
|
LBRY_ADMIN_PAGE,
|
||||||
LBRY_SETTINGS_SECTION_GENERAL
|
LBRY_SETTINGS_SECTION_GENERAL
|
||||||
);
|
);
|
||||||
|
@ -304,7 +304,6 @@ class LBRY_Admin
|
||||||
'<input type="checkbox" id="lbry_default_publish_setting" name="' . esc_attr('%2$s[%1$s]') . '" value="1" ' . esc_attr( $checked ) . '><p>Set Default to always Publish to <strong>LBRY</strong>, this can be adjusted when publishing a New Post.</p>',
|
'<input type="checkbox" id="lbry_default_publish_setting" name="' . esc_attr('%2$s[%1$s]') . '" value="1" ' . esc_attr( $checked ) . '><p>Set Default to always Publish to <strong>LBRY</strong>, this can be adjusted when publishing a New Post.</p>',
|
||||||
'lbry_default_publish_setting',
|
'lbry_default_publish_setting',
|
||||||
LBRY_SETTINGS,
|
LBRY_SETTINGS,
|
||||||
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -338,7 +337,6 @@ class LBRY_Admin
|
||||||
<?php }
|
<?php }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prints License input
|
* Prints License input
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue