prepare release version 1.3.4
- Bugfix: Settings access permission vor sub-sites - Bugfix: Setting 'combine identical footnotes' working as it should git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@974795 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
b0f99b6569
commit
284c27cc01
4 changed files with 21 additions and 12 deletions
|
@ -31,12 +31,6 @@ class MCI_Footnotes {
|
|||
* @since 1.0
|
||||
*/
|
||||
public function __construct() {
|
||||
// load settings only if current WordPress user is admin
|
||||
if (is_admin()) {
|
||||
// load plugin settings
|
||||
require_once(dirname( __FILE__ ) . "/admin.php");
|
||||
$this->a_obj_Admin = new MCI_Footnotes_Admin();
|
||||
}
|
||||
// load plugin widget
|
||||
require_once(dirname( __FILE__ ) . "/widget.php");
|
||||
// register footnotes widget
|
||||
|
@ -52,6 +46,15 @@ class MCI_Footnotes {
|
|||
$this->a_obj_Task->Register();
|
||||
}
|
||||
|
||||
/**
|
||||
* draw the dashboard setting
|
||||
*/
|
||||
public function generateLayout() {
|
||||
// load plugin settings
|
||||
require_once(dirname( __FILE__ ) . "/admin.php");
|
||||
$this->a_obj_Admin = new MCI_Footnotes_Admin();
|
||||
}
|
||||
|
||||
/**
|
||||
* activates the plugin
|
||||
* @since 1.0
|
||||
|
|
Reference in a new issue