Skip to content

Commit

Permalink
Ready to release 2.0.0 on wp.org.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Lannoy committed Sep 28, 2020
1 parent de05070 commit 9f0eaa9
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ All notable changes to **APCu Manager** are documented in this *changelog*.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and **APCu Manager** adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased - Will be 2.0.0]
## [2.0.0] - 2020-09-29

### Added
- [WP-CLI] New command to toggle on/off main settings: see `wp help apcu settings` for details.
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ __APCu Manager__ supports multisite report delegation.

__APCu Manager__ is a free and open source plugin for WordPress. It integrates many other free and open source works (as-is or modified). Please, see 'about' tab in the plugin settings to see the details.

## WP-CLI

__APCu Manager__ supports a set of WP-CLI commands to:

* toggle on/off main settings - see `wp help apcu settings` for details;
* obtain operational statistics - see `wp help apcu analytics` for details.

For a full help on WP-CLI commands in APCu Manager, please [read this guide](WP-CLI.md).

## Installation

1. From your WordPress dashboard, visit _Plugins | Add New_.
Expand Down
8 changes: 1 addition & 7 deletions WP-CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ By default, the outputted format is a simple table. If you want to customize the

To get detailed status and operation mode, use the `wp apcu status` command.

> Note this command can tell you APCu is not activated for command-line even if it's available for WordPress itself. It is due to the fact that PHP configuration is often different between command-line and web server.
> Note this command may tell you APCu is not activated for command-line even if it's available for WordPress itself. It is due to the fact that PHP configuration is often different between command-line and web server.
>
> Nevertheless, if APCu is available for WordPress, other APCu Manager commands are operational.
Expand All @@ -35,9 +35,3 @@ To disable garbage collection without confirmation prompt, type the following co
```bash
wp apcu settings disable gc --yes
```

```
git status
git add
git commit
```
2 changes: 1 addition & 1 deletion apcu-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: APCu Manager
* Plugin URI: https://github.com/Pierre-Lannoy/wp-apcu-manager
* Description: APCu statistics and management right in the WordPress admin dashboard.
* Version: 1.3.0
* Version: 2.0.0
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Pierre Lannoy
Expand Down
9 changes: 9 additions & 0 deletions includes/features/class-wpcli.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ class Wpcli {
*
* wp apcu status
*
*
* === For other examples and recipes, visit https://github.com/Pierre-Lannoy/wp-apcu-manager/blob/master/WP-CLI.md ===
*
*/
public static function status( $args, $assoc_args ) {
\WP_CLI::line( sprintf( '%s is running.', Environment::plugin_version_text() ) );
Expand Down Expand Up @@ -78,6 +81,9 @@ public static function status( $args, $assoc_args ) {
* wp apcu settings enable analytics
* wp apcu settings disable gc --yes
*
*
* === For other examples and recipes, visit https://github.com/Pierre-Lannoy/wp-apcu-manager/blob/master/WP-CLI.md ===
*
*/
public static function settings( $args, $assoc_args ) {
$action = isset( $args[0] ) ? (string) $args[0] : '';
Expand Down Expand Up @@ -137,6 +143,9 @@ public static function settings( $args, $assoc_args ) {
*
* wp apcu analytics
*
*
* === For other examples and recipes, visit https://github.com/Pierre-Lannoy/wp-apcu-manager/blob/master/WP-CLI.md ===
*
*/
public static function analytics( $args, $assoc_args ) {
if ( ! Option::network_get( 'analytics' ) ) {
Expand Down
2 changes: 1 addition & 1 deletion init.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
define( 'APCM_PRODUCT_SHORTNAME', 'APCu' );
define( 'APCM_PRODUCT_ABBREVIATION', 'apcm' );
define( 'APCM_SLUG', 'apcu-manager' );
define( 'APCM_VERSION', '2.0.0-dev1' );
define( 'APCM_VERSION', '2.0.0' );
define( 'APCM_CODENAME', '"-"' );

define( 'APCM_CDN_AVAILABLE', true );
Expand Down
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: analytics, APCu, cache, monitor, w3tc
Requires at least: 5.2
Requires PHP: 7.2
Tested up to: 5.5
Stable tag: 1.3.0
Stable tag: 2.0.0
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand All @@ -30,6 +30,13 @@ APCu statistics and management right in the WordPress admin dashboard.

**APCu Manager** supports multisite report delegation (see FAQ).

**APCu Manager** supports a set of WP-CLI commands to:

* toggle on/off main settings - see `wp help apcu settings` for details;
* obtain operational statistics - see `wp help apcu analytics` for details.

For a full help on WP-CLI commands in APCu Manager, please [read this guide](https://github.com/Pierre-Lannoy/wp-apcu-manager/blob/master/WP-CLI.md).

**APCu Manager** is a free and open source plugin for WordPress. It integrates many other free and open source works (as-is or modified). Please, see 'about' tab in the plugin settings to see the details.

= Support =
Expand Down

0 comments on commit 9f0eaa9

Please sign in to comment.