-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ffb7d7a
commit d8b5275
Showing
5 changed files
with
49 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Plugin Name: Amministrazione Trasparente | ||
Plugin URI: https://wordpress.org/plugins/amministrazione-trasparente/ | ||
Description: Soluzione completa per la pubblicazione online dei documenti ai sensi del D.lgs. n. 33 del 14/03/2013 | ||
Version: 8.0.10 | ||
Version: 8.1 | ||
Author: Marco Milesi | ||
Author Email: [email protected] | ||
Author URI: https://www.marcomilesi.com | ||
|
@@ -289,7 +289,6 @@ function at_force_template( $template ) { | |
} | ||
} ); | ||
|
||
/* Utilità */ | ||
add_action('admin_init', function() { | ||
register_setting( 'wpgov_at_options', 'wpgov_at' ); | ||
register_setting( 'wpgov_at_option_groups', 'atGroupConf' ); | ||
|
@@ -306,8 +305,6 @@ function at_force_template( $template ) { | |
} | ||
}); | ||
|
||
/* =========== FUNZIONI INCLUSE ============ */ | ||
|
||
require_once(plugin_dir_path(__FILE__) . 'sezioni.php'); | ||
require_once(plugin_dir_path(__FILE__) . 'widget/widget.php'); | ||
require_once(plugin_dir_path(__FILE__) . 'redirector.php'); | ||
|
@@ -316,7 +313,7 @@ function at_force_template( $template ) { | |
$AmministrazioneTrasparente_Backend = new AmministrazioneTrasparente_Backend(); | ||
|
||
add_action( 'admin_menu', function() { | ||
add_submenu_page( 'edit.php?post_type=amm-trasparente', 'Impostazioni', 'Impostazioni', 'publish_posts', 'wpgov_at', function() { | ||
add_submenu_page( 'edit.php?post_type=amm-trasparente', 'Impostazioni', 'Impostazioni', 'manage_options', 'wpgov_at', function() { | ||
include(plugin_dir_path(__FILE__) . 'settings.php'); | ||
} ); | ||
} ); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters