Skip to content

Commit

Permalink
🚀 RELEASE v2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdevore committed Dec 5, 2020
1 parent 6f36620 commit db39b89
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 6 deletions.
17 changes: 15 additions & 2 deletions README.txt
Expand Up @@ -3,8 +3,8 @@ Contributors: deviodigital
Donate link: https://deviodigital.com
Tags: documentation, document, knowledgebase, help, support, notes
Requires at least: 3.0.1
Tested up to: 5.2.3
Stable tag: 1.3
Tested up to: 5.5.3
Stable tag: 2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -20,6 +20,7 @@ DocuPress also comes with 2 custom widgets:

* Collections - output's a list of every collection you create with DocuPress.
* Recent Articles - select how many articles to display, randomize the output order and also choose which collection you'd like to display articles from.
* Related Articles - select how many articles to display and randomize the output order in this widget that will only display when viewing a single article.

== Installation ==

Expand All @@ -31,9 +32,21 @@ DocuPress also comes with 2 custom widgets:

1. DocuPress adds a `Documentation` tab to your admin dashboard
2. DocuPress widget, available via `Appearance - Widgets`
3. DocuPress shortcode display
4. DocuPress single article display

== Changelog ==

= 2.0 =
* Added "Was this article helpful?" section to the bottom of single articles in `admin/docupress-article-ratings.php`
* Added an estimated reading time to the beginning of single articles in `admin/docupress-article-ratings.php`
* Added 2 filters to the `[docupress]` shortcode in `admin/docupress-shortcodes.php `
* Updated shortcode list style in `public/css/docupress-public.css`
* Updated activator and deactivator class names in `docupress.php`
* Updated metabox with checkbox to hide estimated reading time in `admin/docupress-metaboxes.php`
* Updated `.pot` file for translation in `languages/docupress.pot`
* General code cleanup throughout multiple files in the plugin

= 1.3 =
* Added new `[docupress]` shortcode in `admin/docupress-shortcodes.php`
* Updated `.pot` file for translation in `languages/docupress.pot`
Expand Down
9 changes: 7 additions & 2 deletions docupress.php
Expand Up @@ -11,8 +11,8 @@
* Plugin Name: DocuPress
* Plugin URI: https://www.robertdevore.com/docupress
* Description: Documentation simplified.
* Version: 1.3.1
* Author: Robert DeVore
* Version: 2.0
* Author: Devio Digital
* Author URI: https://deviodigital.com
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Expand All @@ -25,6 +25,11 @@
die;
}

/**
* Current plugin version.
*/
define( 'DOCUPRESS_VERSION', '2.0' );

/**
* The code that runs during plugin activation.
* This action is documented in includes/class-docupress-activator.php
Expand Down
7 changes: 5 additions & 2 deletions includes/class-docupress.php
Expand Up @@ -67,9 +67,12 @@ class DocuPress {
* @since 1.0.0
*/
public function __construct() {
$this->plugin_name = 'docupress';
$this->version = '2.0';

$this->plugin_name = 'DocuPress';
$this->version = '1.3';
if ( defined( 'DOCUPRESS_VERSION' ) ) {
$this->version = DOCUPRESS_VERSION;
}

$this->load_dependencies();
$this->set_locale();
Expand Down

0 comments on commit db39b89

Please sign in to comment.