From d11ed7921232af702e2690749145a7b097c797ee Mon Sep 17 00:00:00 2001 From: azurecurve Date: Wed, 8 Dec 2021 18:29:59 +0000 Subject: [PATCH] * Update azurecurve menu. * Update readme files. --- README.md | 44 ++- azrcrv-code.php | 2 +- pluginmenu/css/index.php | 2 +- pluginmenu/css/style.css | 6 +- pluginmenu/images/index.php | 6 +- pluginmenu/index.php | 2 +- pluginmenu/menu.php | 679 +++++++++++++++++++----------------- readme.txt | 34 +- 8 files changed, 437 insertions(+), 338 deletions(-) diff --git a/README.md b/README.md index 9121b56..e7f6721 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,42 @@ -# azrcrv-code -[Code plugin for ClassicPress](https://development.azurecurve.co.uk/classicpress-plugins/code/) +# [Code](https://development.azurecurve.co.uk/classicpress-plugins/code/) +![Plugin Banner](/assets/pluginimages/banner-1544x500.png) + +# Description + +Set of shortcodes which can be used for manual syntax highlighting of code: +* `formatcode` adds pre and span tags +* `copyright` displays user defined copyright message +* `highlight` highlights text +* `sqlblue` +* `sqlred` +* `sqlgrey` +* `sqlgreen` +* `sqlpink` +* `phpgrey` +* `phpblue` +* `phpgreen` + +This plugin is multisite compatible; each site will need settings to be configured in the admin dashboard. + +# Installation Instructions + + * Download the latest release of the plugin from [GitHub](https://github.com/azurecurve/azrcrv-code/releases/latest/). + * Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel. + * Activate the plugin. + * Configure relevant settings via the configuration page in the admin control panel (azurecurve menu). + +# About azurecurve + +**azurecurve** was one of the first plugin developers to start developing for Classicpress; all plugins are available from [azurecurve Development](https://development.azurecurve.co.uk/) and are integrated with the [Update Manager plugin](https://directory.classicpress.net/plugins/update-manager) for fully integrated, no hassle, updates. + +Some of the other plugins available from **azurecurve** are: + * Add Open Graph Tags - [details](https://development.azurecurve.co.uk/classicpress-plugins/add-open-graph-tags/) / [download](https://github.com/azurecurve/azrcrv-add-open-graph-tags/releases/latest/) + * Add Twitter Cards - [details](https://development.azurecurve.co.uk/classicpress-plugins/add-twitter-cards/) / [download](https://github.com/azurecurve/azrcrv-add-twitter-cards/releases/latest/) + * BBCode - [details](https://development.azurecurve.co.uk/classicpress-plugins/bbcode/) / [download](https://github.com/azurecurve/azrcrv-bbcode/releases/latest/) + * Call-out Boxes - [details](https://development.azurecurve.co.uk/classicpress-plugins/call-out-boxes/) / [download](https://github.com/azurecurve/azrcrv-call-out-boxes/releases/latest/) + * Conditional Links - [details](https://development.azurecurve.co.uk/classicpress-plugins/conditional-links/) / [download](https://github.com/azurecurve/azrcrv-conditional-links/releases/latest/) + * Flags - [details](https://development.azurecurve.co.uk/classicpress-plugins/flags/) / [download](https://github.com/azurecurve/azrcrv-flags/releases/latest/) + * Icons - [details](https://development.azurecurve.co.uk/classicpress-plugins/icons/) / [download](https://github.com/azurecurve/azrcrv-icons/releases/latest/) + * Insult Generator - [details](https://development.azurecurve.co.uk/classicpress-plugins/insult-generator/) / [download](https://github.com/azurecurve/azrcrv-insult-generator/releases/latest/) + * Page Index - [details](https://development.azurecurve.co.uk/classicpress-plugins/page-index/) / [download](https://github.com/azurecurve/azrcrv-page-index/releases/latest/) + * Taxonomy Index - [details](https://development.azurecurve.co.uk/classicpress-plugins/taxonomy-index/) / [download](https://github.com/azurecurve/azrcrv-taxonomy-index/releases/latest/) diff --git a/azrcrv-code.php b/azrcrv-code.php index e03a10b..5252453 100644 --- a/azrcrv-code.php +++ b/azrcrv-code.php @@ -3,7 +3,7 @@ * ------------------------------------------------------------------------------ * Plugin Name: Code * Description: Set of shortcodes which can be used for syntax highlighting of code. - * Version: 1.3.1 + * Version: 1.3.2 * Author: azurecurve * Author URI: https://development.azurecurve.co.uk/classicpress-plugins/ * Plugin URI: https://development.azurecurve.co.uk/classicpress-plugins/code/ diff --git a/pluginmenu/css/index.php b/pluginmenu/css/index.php index 84387b3..19c0312 100644 --- a/pluginmenu/css/index.php +++ b/pluginmenu/css/index.php @@ -1,3 +1,3 @@ \ No newline at end of file + diff --git a/pluginmenu/css/style.css b/pluginmenu/css/style.css index d85cb07..30bfbd0 100644 --- a/pluginmenu/css/style.css +++ b/pluginmenu/css/style.css @@ -10,10 +10,10 @@ a.azrcrv-plugin-index{ width: 220px; height: 75px; line-height: 75px; - text-decoration: none; + text-decoration: none; font-weight: 700; border-radius: 5px; } a.azrcrv-plugin-index:hover{ - text-decoration: underline; -} \ No newline at end of file + text-decoration: underline; +} diff --git a/pluginmenu/images/index.php b/pluginmenu/images/index.php index 4c468c9..19c0312 100644 --- a/pluginmenu/images/index.php +++ b/pluginmenu/images/index.php @@ -1,3 +1,3 @@ - \ No newline at end of file + \ No newline at end of file + diff --git a/pluginmenu/menu.php b/pluginmenu/menu.php index dc7fce5..4e444d1 100644 --- a/pluginmenu/menu.php +++ b/pluginmenu/menu.php @@ -1,27 +1,29 @@ azurecurve ClassicPress Plugins"; - +/** + * Display plugin menu. + * + * @since 1.0.0 + */ +if ( ! function_exists( 'azrcrv_display_plugin_menu' ) ) { + function azrcrv_display_plugin_menu() { + + echo '

azurecurve ClassicPress Plugins

'; + echo "

Active Plugins

"; echo ""; - - $plugin_array = get_option('azrcrv-plugin-menu'); - - foreach($plugin_array as $plugin_name => $plugin_details) { - if ($plugin_details['retired'] == 0){ - if (is_plugin_active($plugin_details['plugin_link'])){ - echo ''.$plugin_name.''; + + $plugin_array = get_option( 'azrcrv-plugin-menu' ); + + foreach ( $plugin_array as $plugin_name => $plugin_details ) { + if ( $plugin_details['retired'] == 0 ) { + if ( is_plugin_active( $plugin_details['plugin_link'] ) ) { + echo '' . esc_html( $plugin_name ) . ''; } } } - - echo "
"; + + echo ''; echo "

"; - + echo "

Other Available Plugins

"; echo ""; - + $countofplugins = 0; - - foreach($plugin_array as $plugin_name => $plugin_details) { - if ($plugin_details['retired'] == 0){ - if (!is_plugin_active($plugin_details['plugin_link'])){ - echo ''.$plugin_name.''; + + foreach ( $plugin_array as $plugin_name => $plugin_details ) { + if ( $plugin_details['retired'] == 0 ) { + if ( ! is_plugin_active( $plugin_details['plugin_link'] ) ) { + echo '' . esc_html( $plugin_name ) . ''; $countofplugins += 1; } } } - - if ($countofplugins == 0){ + + if ( $countofplugins == 0 ) { echo "Congratulations! You're using all of the azurecurve plugins."; } - - echo "
"; - + + echo ''; + echo "

"; - + echo "

Support azurecurve

"; echo "

azurecurve plugins are free, open source tools for increasing the potential of ClassicPress as a CMS.

Plugins are a result of many many hours spent to deliver best product possible, reading comments from you and trying to support every ClassicPress release as soon as possible.

@@ -104,10 +116,9 @@ function azrcrv_display_plugin_menu(){ * Create plugin menu on installation. * * @since 1.0.0 - * */ -if (!function_exists('azrcrv_create_plugin_menu_c')){ - function azrcrv_create_plugin_menu_c(){ +if ( ! function_exists( 'azrcrv_create_plugin_menu_c' ) ) { + function azrcrv_create_plugin_menu_c() { azrcrv_populate_plugin_menu_c(); } } @@ -116,375 +127,415 @@ function azrcrv_create_plugin_menu_c(){ * Populate table on installation. * * @since 1.0.0 - * */ -if (!function_exists('azrcrv_populate_plugin_menu_c')){ - function azrcrv_populate_plugin_menu_c(){ - +if ( ! function_exists( 'azrcrv_populate_plugin_menu_c' ) ) { + function azrcrv_populate_plugin_menu_c() { + $plugins = array( - 'Add Open Graph Tags' => array( + 'Add Open Graph Tags' => array( 'plugin_link' => 'azrcrv-add-open-graph-tags/azrcrv-add-open-graph-tags.php', - 'admin_URL' => 'admin.php?page=azrcrv-aogt', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/add-open-graph-tags/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-aogt', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/add-open-graph-tags/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Add Twitter Cards' => array( + 'Add Twitter Cards' => array( 'plugin_link' => 'azrcrv-add-twitter-cards/azrcrv-add-twitter-cards.php', - 'admin_URL' => 'admin.php?page=azrcrv-atc', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/add-twitter-cards/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-atc', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/add-twitter-cards/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Avatars' => array( + 'Avatars' => array( 'plugin_link' => 'azrcrv-avatars/azrcrv-avatars.php', - 'admin_URL' => 'admin.php?page=azrcrv-a', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/avatars/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-a', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/avatars/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'BBCode' => array( + 'BBCode' => array( 'plugin_link' => 'azrcrv-bbcode/azrcrv-bbcode.php', - 'admin_URL' => 'admin.php?page=azrcrv-bbc', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/bbcode/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-bbc', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/bbcode/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Breadcrumbs' => array( + 'Breadcrumbs' => array( 'plugin_link' => 'azrcrv-breadcrumbs/azrcrv-breadcrumbs.php', - 'admin_URL' => 'admin.php?page=azrcrv-b', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/breadcrumbs/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-b', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/breadcrumbs/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Call-out Boxes' => array( + 'Call-out Boxes' => array( 'plugin_link' => 'azrcrv-call-out-boxes/azrcrv-call-out-boxes.php', - 'admin_URL' => 'admin.php?page=azrcrv-cob', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/call-out-boxes/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-cob', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/call-out-boxes/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Check Plugin Status' => array( + 'Check Plugin Status' => array( 'plugin_link' => 'azrcrv-check-plugin-status/azrcrv-check-plugin-status.php', - 'admin_URL' => 'admin.php?page=azrcrv-check-plugin-status', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/check-plugin-status/', - 'retired' => 0, - 'updated' => '2020-02-23', + 'admin_URL' => 'admin.php?page=azrcrv-check-plugin-status', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/check-plugin-status/', + 'retired' => 0, + 'updated' => '2020-02-23', ), - 'Code' => array( + 'Code' => array( 'plugin_link' => 'azrcrv-code/azrcrv-code.php', - 'admin_URL' => 'admin.php?page=azrcrv-c', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/code/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-c', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/code/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Check Plugin Status' => array( + 'Check Plugin Status' => array( 'plugin_link' => 'azrcrv-check-plugin-status/azrcrv-check-plugin-status.php', - 'admin_URL' => 'admin.php?page=azrcrv-cps', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/check-plugin-status/', - 'retired' => 0, - 'updated' => '2021-01-11', + 'admin_URL' => 'admin.php?page=azrcrv-cps', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/check-plugin-status/', + 'retired' => 0, + 'updated' => '2021-01-11', ), - 'Comment Validator' => array( + 'Comment Validator' => array( 'plugin_link' => 'azrcrv-comment-validator/azrcrv-comment-validator.php', - 'admin_URL' => 'admin.php?page=azrcrv-cv', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/comment-validator/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-cv', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/comment-validator/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Conditional Links' => array( + 'Conditional Links' => array( 'plugin_link' => 'azrcrv-conditional-links/azrcrv-conditional-links.php', - 'admin_URL' => 'admin.php?page=azrcrv-cl', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/conditional-links/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-cl', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/conditional-links/', + 'retired' => 0, + 'updated' => '2020-04-04', + ), + 'Contact Forms' => array( + 'plugin_link' => 'azrcrv-contact-forms/azrcrv-contact-forms.php', + 'admin_URL' => 'admin.php?page=azrcrv-cf', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/contact-forms/', + 'retired' => 0, + 'updated' => '2021-12-01', ), 'Display After Post Content' => array( 'plugin_link' => 'azrcrv-display-after-post-content/azrcrv-display-after-post-content.php', - 'admin_URL' => 'admin.php?page=azrcrv-dapc', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/display-after-post-content/', - 'retired' => 0, - 'updated' => '2020-04-04', - ), - 'Events' => array( + 'admin_URL' => 'admin.php?page=azrcrv-dapc', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/display-after-post-content/', + 'retired' => 0, + 'updated' => '2020-04-04', + ), + 'Disabe FLoC' => array( + 'plugin_link' => 'azrcrv-disable-floc/azrcrv-disable-floc.php', + 'admin_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/disable-floc/', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/disable-floc/', + 'retired' => 0, + 'updated' => '2021-06-12', + ), + 'Estimated Read Time' => array( + 'plugin_link' => 'codepotent-estimated-read-time/codepotent-estimated-read-time.php', + 'admin_URL' => 'admin.php?page=azrcrv-ert', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/estimated-read-time/', + 'retired' => 0, + 'updated' => '2021-06-10', + ), + 'Events' => array( 'plugin_link' => 'azrcrv-events/azrcrv-events.php', - 'admin_URL' => 'admin.php?page=azrcrv-e', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/events/', - 'retired' => 0, - 'updated' => '2020-30-11', + 'admin_URL' => 'admin.php?page=azrcrv-e', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/events/', + 'retired' => 0, + 'updated' => '2020-11-30', ), - 'Filtered Categories' => array( + 'Filtered Categories' => array( 'plugin_link' => 'azrcrv-filtered-categories/azrcrv-filtered-categories.php', - 'admin_URL' => 'admin.php?page=azrcrv-fc', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/filtered-categories/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-fc', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/filtered-categories/', + 'retired' => 0, + 'updated' => '2020-06-02', ), - 'Flags' => array( + 'Flags' => array( 'plugin_link' => 'azrcrv-flags/azrcrv-flags.php', - 'admin_URL' => 'admin.php?page=azrcrv-f', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/flags/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-f', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/flags/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Floating Featured Image' => array( + 'Floating Featured Image' => array( 'plugin_link' => 'azrcrv-floating-featured-image/azrcrv-floating-featured-image.php', - 'admin_URL' => 'admin.php?page=azrcrv-ffi', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/floating-featured-image/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-ffi', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/floating-featured-image/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'From Twitter' => array( + 'From Twitter' => array( 'plugin_link' => 'azrcrv-from-twitter/azrcrv-from-twitter.php', - 'admin_URL' => 'admin.php?page=azrcrv-ft', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/from-twitter/', - 'retired' => 0, - 'updated' => '2020-12-26', + 'admin_URL' => 'admin.php?page=azrcrv-ft', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/from-twitter/', + 'retired' => 0, + 'updated' => '2020-12-26', ), - 'Gallery From Folder' => array( + 'Gallery From Folder' => array( 'plugin_link' => 'azrcrv-gallery-from-folder/azrcrv-gallery-from-folder.php', - 'admin_URL' => 'admin.php?page=azrcrv-gff', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/gallery-from-folder/', - 'retired' => 0, - 'updated' => '2020-10-26', + 'admin_URL' => 'admin.php?page=azrcrv-gff', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/gallery-from-folder/', + 'retired' => 0, + 'updated' => '2020-10-26', ), - 'Get GitHub File' => array( + 'Get GitHub File' => array( 'plugin_link' => 'azrcrv-get-github-file/azrcrv-get-github-file.php', - 'admin_URL' => 'admin.php?page=azrcrv-gghf', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/get-github-file/', - 'retired' => 0, - 'updated' => '2020-11-20', + 'admin_URL' => 'admin.php?page=azrcrv-gghf', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/get-github-file/', + 'retired' => 0, + 'updated' => '2020-11-20', ), - 'Icons' => array( + 'Icons' => array( 'plugin_link' => 'azrcrv-icons/azrcrv-icons.php', - 'admin_URL' => 'admin.php?page=azrcrv-i', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/icons/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-i', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/icons/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Images' => array( + 'Images' => array( 'plugin_link' => 'azrcrv-images/azrcrv-images.php', - 'admin_URL' => 'admin.php?page=azrcrv-im', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/images/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-im', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/images/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Insult Generator' => array( + 'Insult Generator' => array( 'plugin_link' => 'azrcrv-insult-generator/azrcrv-insult-generator.php', - 'admin_URL' => 'admin.php?page=azrcrv-ig', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/insult-generator/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-ig', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/insult-generator/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Loop Injection' => array( + 'Loop Injection' => array( 'plugin_link' => 'azrcrv-loop-injection/azrcrv-loop-injection.php', - 'admin_URL' => 'admin.php?page=azrcrv-li', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/loop-injection/', - 'text' => 'Loop Injection', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-li', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/loop-injection/', + 'text' => 'Loop Injection', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Maintenance Mode' => array( + 'Maintenance Mode' => array( 'plugin_link' => 'azrcrv-maintenance-mode/azrcrv-maintenance-mode.php', - 'admin_URL' => 'admin.php?page=azrcrv-mm', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/maintenance-mode/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-mm', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/maintenance-mode/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Markdown' => array( + 'Markdown' => array( 'plugin_link' => 'azrcrv-markdown/azrcrv-markdown.php', - 'admin_URL' => 'admin.php?page=azrcrv-m', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/markdown/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-m', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/markdown/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Mobile Detection' => array( + 'Mobile Detection' => array( 'plugin_link' => 'azrcrv-mobile-detection/azrcrv-mobile-detection.php', - 'admin_URL' => 'admin.php?page=azrcrv-md', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/mobile-detection/', - 'text' => 'Mobile Detection', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-md', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/mobile-detection/', + 'text' => 'Mobile Detection', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Multisite Favicon' => array( + 'Multisite Favicon' => array( 'plugin_link' => 'azrcrv-multisite-favicon/azrcrv-multisite-favicon.php', - 'admin_URL' => 'admin.php?page=azrcrv-msf', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/multisite-favicon/', - 'text' => 'Multisite Favicon', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-msf', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/multisite-favicon/', + 'text' => 'Multisite Favicon', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Nearby' => array( + 'Nearby' => array( 'plugin_link' => 'azrcrv-nearby/azrcrv-nearby.php', - 'admin_URL' => 'admin.php?page=azrcrv-n', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/nearby/', - 'retired' => 0, - 'updated' => '2020-08-05', + 'admin_URL' => 'admin.php?page=azrcrv-n', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/nearby/', + 'retired' => 0, + 'updated' => '2020-08-05', ), - 'Page Index' => array( + 'Page Index' => array( 'plugin_link' => 'azrcrv-page-index/azrcrv-page-index.php', - 'admin_URL' => 'admin.php?page=azrcrv-pi', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/page-index/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-pi', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/page-index/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Post Archive' => array( + 'Post Archive' => array( 'plugin_link' => 'azrcrv-post-archive/azrcrv-post-archive.php', - 'admin_URL' => 'admin.php?page=azrcrv-pa', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/post-archive/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-pa', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/post-archive/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Read GitHub File' => array( + 'Read GitHub File' => array( 'plugin_link' => 'azrcrv-read-github-file/azrcrv-read-github-file.php', - 'admin_URL' => 'admin.php?page=azrcrv-rghf', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/read-github-file/', - 'retired' => 1, - 'updated' => '2020-10-30', - ), - 'RSS Feed' => array( + 'admin_URL' => 'admin.php?page=azrcrv-rghf', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/read-github-file/', + 'retired' => 1, + 'updated' => '2020-10-30', + ), + 'Redirect' => array( + 'plugin_link' => 'azrcrv-redirect/azrcrv-redirect.php', + 'admin_URL' => 'admin.php?page=azrcrv-r', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/redirect/', + 'retired' => 0, + 'updated' => '2021-11-10', + ), + 'Remove Revisions' => array( + 'plugin_link' => 'azrcrv-remove-revisions/azrcrv-remove-revisions.php', + 'admin_URL' => 'admin.php?page=azrcrv-rr', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/remove-revisions/', + 'retired' => 0, + 'updated' => '2021-09-14', + ), + 'RSS Feed' => array( 'plugin_link' => 'azrcrv-rss-feed/azrcrv-rss-feed.php', - 'admin_URL' => 'admin.php?page=azrcrv-rssf', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/rss-feed/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-rssf', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/rss-feed/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'RSS Suffix' => array( + 'RSS Suffix' => array( 'plugin_link' => 'azrcrv-rss-suffix/azrcrv-rss-suffix.php', - 'admin_URL' => 'admin.php?page=azrcrv-rsss', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/rss-suffix/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-rsss', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/rss-suffix/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Series Index' => array( + 'Series Index' => array( 'plugin_link' => 'azrcrv-series-index/azrcrv-series-index.php', - 'admin_URL' => 'admin.php?page=azrcrv-si', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/series-index/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-si', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/series-index/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Shortcodes in Comments' => array( + 'Shortcodes in Comments' => array( 'plugin_link' => 'azrcrv-shortcodes-in-comments/azrcrv-shortcodes-in-comments.php', - 'admin_URL' => 'admin.php?page=azrcrv-sic', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/shortcodes-in-comments/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-sic', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/shortcodes-in-comments/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Shortcodes in Widgets' => array( + 'Shortcodes in Widgets' => array( 'plugin_link' => 'azrcrv-shortcodes-in-widgets/azrcrv-shortcodes-in-widgets.php', - 'admin_URL' => 'admin.php?page=azrcrv-siw', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/shortcodes-in-widgets/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-siw', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/shortcodes-in-widgets/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Sidebar Login' => array( + 'Sidebar Login' => array( 'plugin_link' => 'azrcrv-sidebar-login/azrcrv-sidebar-login.php', - 'admin_URL' => 'admin.php?page=azrcrv-sl', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/sidebar-login/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-sl', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/sidebar-login/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'SMTP' => array( + 'SMTP' => array( 'plugin_link' => 'azrcrv-smtp/azrcrv-smtp.php', - 'admin_URL' => 'admin.php?page=azrcrv-smtp', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/smtp/', - 'retired' => 0, - 'updated' => '2020-01-28', + 'admin_URL' => 'admin.php?page=azrcrv-smtp', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/smtp/', + 'retired' => 0, + 'updated' => '2020-01-28', ), - 'Snippets' => array( + 'Snippets' => array( 'plugin_link' => 'azrcrv-snippets/azrcrv-snippets.php', - 'admin_URL' => 'admin.php?page=azrcrv-s', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/snippets/', - 'retired' => 0, - 'updated' => '2020-10-28', + 'admin_URL' => 'admin.php?page=azrcrv-s', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/snippets/', + 'retired' => 0, + 'updated' => '2020-10-28', ), - 'Tag Cloud' => array( + 'Tag Cloud' => array( 'plugin_link' => 'azrcrv-tag-cloud/azrcrv-tag-cloud.php', - 'admin_URL' => 'admin.php?page=azrcrv-tc', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/tag-cloud/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-tc', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/tag-cloud/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Taxonomy Index' => array( + 'Taxonomy Index' => array( 'plugin_link' => 'azrcrv-taxonomy-index/azrcrv-taxonomy-index.php', - 'admin_URL' => 'admin.php?page=azrcrv-ti', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/taxonomy-index/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-ti', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/taxonomy-index/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Taxonomy Order' => array( + 'Taxonomy Order' => array( 'plugin_link' => 'azrcrv-taxonomy-order/azrcrv-taxonomy-order.php', - 'admin_URL' => 'admin.php?page=azrcrv-to', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/taxonomy-order/', - 'retired' => 0, - 'updated' => '2020-10-28', + 'admin_URL' => 'admin.php?page=azrcrv-to', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/taxonomy-order/', + 'retired' => 0, + 'updated' => '2020-10-28', ), - 'Theme Switcher' => array( + 'Theme Switcher' => array( 'plugin_link' => 'azrcrv-theme-switcher/azrcrv-theme-switcher.php', - 'admin_URL' => 'admin.php?page=azrcrv-ts', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/theme-switcher/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-ts', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/theme-switcher/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Timelines' => array( + 'Timelines' => array( 'plugin_link' => 'azrcrv-timelines/azrcrv-timelines.php', - 'admin_URL' => 'admin.php?page=azrcrv-t', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/timelines/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-t', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/timelines/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'To Twitter' => array( + 'To Twitter' => array( 'plugin_link' => 'azrcrv-to-twitter/azrcrv-to-twitter.php', - 'admin_URL' => 'admin.php?page=azrcrv-tt', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/to-twitter/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-tt', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/to-twitter/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Toggle Show/Hide' => array( + 'Toggle Show/Hide' => array( 'plugin_link' => 'azrcrv-toggle-showhide/azrcrv-toggle-showhide.php', - 'admin_URL' => 'admin.php?page=azrcrv-tsh', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/toggle-showhide/', - 'retired' => 0, - 'updated' => '2020-04-04', + 'admin_URL' => 'admin.php?page=azrcrv-tsh', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/toggle-showhide/', + 'retired' => 0, + 'updated' => '2020-04-04', ), - 'Update Admin Menu' => array( + 'Update Admin Menu' => array( 'plugin_link' => 'azrcrv-update-admin-menu/azrcrv-update-admin-menu.php', - 'admin_URL' => 'admin.php?page=azrcrv-uam', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/update-admin-menu/', - 'retired' => 0, - 'updated' => '2020-12-26', + 'admin_URL' => 'admin.php?page=azrcrv-uam', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/update-admin-menu/', + 'retired' => 0, + 'updated' => '2020-12-26', ), - 'URL Shortener' => array( + 'URL Shortener' => array( 'plugin_link' => 'azrcrv-url-shortener/azrcrv-url-shortener.php', - 'admin_URL' => 'admin.php?page=azrcrv-urls', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/url-shortener/', - 'retired' => 0, - 'updated' => '2020-04-04', - ), - 'Widget Announcements' => array( + 'admin_URL' => 'admin.php?page=azrcrv-urls', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/url-shortener/', + 'retired' => 0, + 'updated' => '2020-04-04', + ), + 'Username Protection' => array( + 'plugin_link' => 'codepotent-username-protection/codepotent-username-protection.php', + 'admin_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/username-protection/', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/username-protection/', + 'retired' => 0, + 'updated' => '2021-06-12', + ), + 'Widget Announcements' => array( 'plugin_link' => 'azrcrv-widget-announcements/azrcrv-widget-announcements.php', - 'admin_URL' => 'admin.php?page=azrcrv-wa', - 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/widget-announcements/', - 'retired' => 0, - 'updated' => '2020-11-13', + 'admin_URL' => 'admin.php?page=azrcrv-wa', + 'dev_URL' => 'https://development.azurecurve.co.uk/classicpress-plugins/widget-announcements/', + 'retired' => 0, + 'updated' => '2020-11-13', ), ); - - $plugin_menu = get_option('azrcrv-plugin-menu'); - - foreach ($plugins as $plugin_name => $plugin_details){ - if (isset($plugin_menu[$plugin_name])){ - if (strtotime($plugin_menu[$plugin_name]['updated']) <= strtotime($plugin_details['updated'])){ - $plugin_menu[$plugin_name] = $plugin_details; + + $plugin_menu = get_option( 'azrcrv-plugin-menu' ); + + foreach ( $plugins as $plugin_name => $plugin_details ) { + if ( isset( $plugin_menu[ $plugin_name ] ) ) { + if ( strtotime( $plugin_menu[ $plugin_name ]['updated'] ) <= strtotime( $plugin_details['updated'] ) ) { + $plugin_menu[ $plugin_name ] = $plugin_details; } - }else{ - $plugin_menu[$plugin_name] = $plugin_details; + } else { + $plugin_menu[ $plugin_name ] = $plugin_details; } - } - - ksort($plugin_menu); - - update_option('azrcrv-plugin-menu', $plugin_menu); + + ksort( $plugin_menu ); + + update_option( 'azrcrv-plugin-menu', $plugin_menu ); } -} \ No newline at end of file +} diff --git a/readme.txt b/readme.txt index d5d7333..cdcf46a 100644 --- a/readme.txt +++ b/readme.txt @@ -1,12 +1,12 @@ === Code === Description: Set of shortcodes which can be used for manual syntax highlighting of code. -Version: 1.3.1 +Version: 1.3.2 Tags: code,syntax,highlighting Author: azurecurve Author URI: https://development.azurecurve.co.uk/ Plugin URI: https://development.azurecurve.co.uk/classicpress-plugins/code/ -Download link: https://github.com/azurecurve/azrcrv-code/releases/download/v1.3.1/azrcrv-code.zip +Download link: https://github.com/azurecurve/azrcrv-code/releases/download/v1.3.2/azrcrv-code.zip Donate link: https://development.azurecurve.co.uk/support-development/ Requires PHP: 5.6 Requires: 1.0.0 @@ -41,7 +41,7 @@ This plugin is multisite compatible; each site will need settings to be configur # Installation Instructions - * Download the plugin from [GitHub](https://github.com/azurecurve/azrcrv-code/releases/latest/). + * Download the latest release of the plugin from [GitHub](https://github.com/azurecurve/azrcrv-code/releases/latest/). * Upload the entire zip file using the Plugins upload function in your ClassicPress admin panel. * Activate the plugin. * Configure relevant settings via the configuration page in the admin control panel (azurecurve menu). @@ -51,7 +51,7 @@ This plugin is multisite compatible; each site will need settings to be configur # Frequently Asked Questions ### Can I translate this plugin? -Yes, the .pot fie is in the plugins languages folder and can also be downloaded from the plugin page on https://development.azurecurve.co.uk; if you do translate this plugin, please sent the .po and .mo files to translations@azurecurve.co.uk for inclusion in the next version (full credit will be given). +Yes, the .pot file is in the plugins languages folder; if you do translate this plugin, please sent the .po and .mo files to translations@azurecurve.co.uk for inclusion in the next version (full credit will be given). ### Is this plugin compatible with both WordPress and ClassicPress? This plugin is developed for ClassicPress, but will likely work on WordPress. @@ -60,6 +60,10 @@ This plugin is developed for ClassicPress, but will likely work on WordPress. # Changelog +### [Version 1.3.2](https://github.com/azurecurve/azrcrv-code/releases/tag/v1.3.2) + * Update azurecurve menu. + * Update readme files. + ### [Version 1.3.1](https://github.com/azurecurve/azrcrv-code/releases/tag/v1.3.1) * Update azurecurve menu and logo. @@ -114,12 +118,16 @@ This plugin is developed for ClassicPress, but will likely work on WordPress. # About azurecurve -**azurecurve** was one of the first plugin developers to start developing for Classicpress; all plugins are available from [azurecurve Development](https://development.azurecurve.co.uk/) and are integrated with the [Update Manager plugin](https://codepotent.com/classicpress/plugins/update-manager/) by [CodePotent](https://codepotent.com/) for fully integrated, no hassle, updates. - -Some of the top plugins available from **azurecurve** are: -* [Add Twitter Cards](https://development.azurecurve.co.uk/classicpress-plugins/add-twitter-cards/) -* [Breadcrumbs](https://development.azurecurve.co.uk/classicpress-plugins/breadcrumbs/) -* [Series Index](https://development.azurecurve.co.uk/classicpress-plugins/series-index/) -* [To Twitter](https://development.azurecurve.co.uk/classicpress-plugins/to-twitter/) -* [Theme Switcher](https://development.azurecurve.co.uk/classicpress-plugins/theme-switcher/) -* [Toggle Show/Hide](https://development.azurecurve.co.uk/classicpress-plugins/toggle-showhide/) \ No newline at end of file +**azurecurve** was one of the first plugin developers to start developing for Classicpress; all plugins are available from [azurecurve Development](https://development.azurecurve.co.uk/) and are integrated with the [Update Manager plugin](https://directory.classicpress.net/plugins/update-manager) for fully integrated, no hassle, updates. + +Some of the other plugins available from **azurecurve** are: + * Add Open Graph Tags - [details](https://development.azurecurve.co.uk/classicpress-plugins/add-open-graph-tags/) / [download](https://github.com/azurecurve/azrcrv-add-open-graph-tags/releases/latest/) + * Add Twitter Cards - [details](https://development.azurecurve.co.uk/classicpress-plugins/add-twitter-cards/) / [download](https://github.com/azurecurve/azrcrv-add-twitter-cards/releases/latest/) + * BBCode - [details](https://development.azurecurve.co.uk/classicpress-plugins/bbcode/) / [download](https://github.com/azurecurve/azrcrv-bbcode/releases/latest/) + * Call-out Boxes - [details](https://development.azurecurve.co.uk/classicpress-plugins/call-out-boxes/) / [download](https://github.com/azurecurve/azrcrv-call-out-boxes/releases/latest/) + * Conditional Links - [details](https://development.azurecurve.co.uk/classicpress-plugins/conditional-links/) / [download](https://github.com/azurecurve/azrcrv-conditional-links/releases/latest/) + * Flags - [details](https://development.azurecurve.co.uk/classicpress-plugins/flags/) / [download](https://github.com/azurecurve/azrcrv-flags/releases/latest/) + * Icons - [details](https://development.azurecurve.co.uk/classicpress-plugins/icons/) / [download](https://github.com/azurecurve/azrcrv-icons/releases/latest/) + * Insult Generator - [details](https://development.azurecurve.co.uk/classicpress-plugins/insult-generator/) / [download](https://github.com/azurecurve/azrcrv-insult-generator/releases/latest/) + * Page Index - [details](https://development.azurecurve.co.uk/classicpress-plugins/page-index/) / [download](https://github.com/azurecurve/azrcrv-page-index/releases/latest/) + * Taxonomy Index - [details](https://development.azurecurve.co.uk/classicpress-plugins/taxonomy-index/) / [download](https://github.com/azurecurve/azrcrv-taxonomy-index/releases/latest/)