Skip to content

Commit

Permalink
* Update azurecurve menu for easier maintenance.
Browse files Browse the repository at this point in the history
* Move require of azurecurve menu below security check.
  • Loading branch information
azurecurve committed Jan 7, 2020
1 parent decf694 commit b1f8355
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 246 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# azrcrv-insult-generator
Insult Generator plugin for ClassicPress

Full plugn details available at [azurecurve Development](https://development.azurecurve.co.uk/classicpress-plugins/insult-generator/)
Full plugin details available at [azurecurve Development](https://development.azurecurve.co.uk/classicpress-plugins/insult-generator/)
8 changes: 4 additions & 4 deletions azrcrv-insult-generator.php
Expand Up @@ -3,7 +3,7 @@
* ------------------------------------------------------------------------------
* Plugin Name: Insult Generator
* Description: Uses shortcodes which allow a modern or medieval insult to be generated..
* Version: 1.0.0
* Version: 1.0.1
* Author: azurecurve
* Author URI: https://development.azurecurve.co.uk/classicpress-plugins/
* Plugin URI: https://development.azurecurve.co.uk/classicpress-plugins/insult-generator
Expand All @@ -17,14 +17,14 @@
* ------------------------------------------------------------------------------
*/

// include plugin menu
require_once(dirname( __FILE__).'/pluginmenu/menu.php');

// Prevent direct access.
if (!defined('ABSPATH')){
die();
}

// include plugin menu
require_once(dirname( __FILE__).'/pluginmenu/menu.php');

/**
* Setup registration activation hook, actions, filters and shortcodes.
*
Expand Down

0 comments on commit b1f8355

Please sign in to comment.