PluginProbe
WP Coder – Insert & Manage Code Snippets / trunk
WP Coder – Insert & Manage Code Snippets vtrunk
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
← All changes | includes/pages/global-php.php +3 -3 3.2trunk View file →
@@ -4,10 +4,10 @@
4 4 use WPCoder\Dashboard\SaveGlobal;
5 5
6 6 defined( 'ABSPATH' ) || exit;
7 7
8 -if ( ! current_user_can( 'unfiltered_html' ) ) {
9 - wp_die( __( 'You do not have sufficient permissions to access this page.', 'wpcoder' ) );
8 +if ( ! current_user_can( 'manage_options' ) ) {
9 + wp_die( __( 'You do not have sufficient permissions to access this page.', 'wp-coder' ) );
10 10 }
11 11
12 12
13 13 ?>
@@ -15,10 +15,10 @@
15 15 <div class="wowp-header-wrapper">
16 16 <?php DashboardInitializer::header(); ?>
17 17
18 18 <div class="wowp-header-title">
19 - <h2><?php esc_html_e( 'Global PHP', 'wpcoder' ); ?></h2>
19 + <h2><?php esc_html_e( 'Global PHP', 'wp-coder' ); ?></h2>
20 20 </div>
21 21
22 22 </div>
23 23
24 24 <?php SaveGlobal::init();