Plugin Directory

Changeset 2215175


Ignore:
Timestamp:
12/19/2019 03:00:18 PM (6 years ago)
Author:
b3none
Message:

Fixed 1.1.0

Location:
shortcode-enablr
Files:
6 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • shortcode-enablr/trunk/shortcode-enablr.php

    r2214978 r2215175  
    66 * Description: Shortcode enabler.
    77 * Author: Herdl
    8  * Version: 1.0.0
     8 * Version: 1.1.0
    99 * Author URI: https://herdl.com
    1010 */
     
    1515
    1616function shortcode_enablr_register_settings() {
    17     add_submenu_page('options-general.php', 'Shortcode Enablr', 'Shortcode Enablr', 'manage_options', 'shortcode-enablr', 'shortcode_enablr_settings');
     17    add_submenu_page('options-general.php', 'Shortcode Enablr', 'Shortcode Enablr', 'manage_options', 'shortcode_enablr', 'shortcode_enablr_settings');
    1818}
    1919
     
    2727        if (!isset($_REQUEST['shortcode_enablr_nonce'])) {
    2828            $errorMessage = 'nonce field is missing. Settings NOT saved.';
    29         } elseif (!wp_verify_nonce($_REQUEST['shortcode_enablr_nonce'], 'shortcode-enablr')) {
     29        } elseif (!wp_verify_nonce($_REQUEST['shortcode_enablr_nonce'], 'shortcode_enablr')) {
    3030            $errorMessage = 'Invalid nonce specified. Settings NOT saved.';
    3131        } else {
  • shortcode-enablr/trunk/templates/settings.php

    r2214978 r2215175  
    1 <?php $pluginName = 'shortcode-enablr' ?>
     1<?php $pluginName = 'shortcode_enablr' ?>
    22
    33<div class="wrap">
Note: See TracChangeset for help on using the changeset viewer.