Skip to content

Commit 16028b8

Browse files
committed
Modified version to 0.2.1 for maintenance pre-release
1 parent b5a8cb0 commit 16028b8

File tree

7 files changed

+8
-6
lines changed

7 files changed

+8
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Release changes are noted on the [Releases](https://github.com/dmhendricks/wordp
6161
* Added `plugin.json` for configuration
6262
* Fixed caching expiration bug
6363
* Removed Carbon Fields as dependency in favor of [plugin](https://github.com/dmhendricks/carbon-fields-loader) loader
64-
* Added Utils::encrypt/decrypt helpers, `WP_ENCRYPT_KEY` constant
64+
* Added Utils::encrypt/decrypt helpers, `WP_ENCRYPT_KEY` constant ([wiki](https://github.com/dmhendricks/wordpress-base-plugin/wiki/Configuration-Constants))
6565
* Added [TGMPA](http://tgmpluginactivation.com/) example
6666

6767
## Credits

app/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function load_plugin() {
5858

5959
if( !$this->verify_dependencies( 'carbon_fields' ) ) return;
6060

61-
// Add admin settings page(s)
61+
// Add TGM plugin activation notices for required/recommended plugins
6262
new TGMPA();
6363

6464
// Add admin settings page(s)

app/TGMPA.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function __construct() {
1212

1313
/**
1414
* Uses the TGMPA library to check for required/recommended plugins.
15-
* @since 0.3.0
15+
* @since 0.2.1
1616
* @link http://tgmpluginactivation.com/configuration/ Configuring TGMPA
1717
*/
1818
public function register_required_plugins() {

app/Utils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public static function get_post_categories($as_slugs = false, $post_id = null) {
173173
*
174174
* @param string $str String to encrypt
175175
* @return string Encrypted string
176-
* @since 0.3.0
176+
* @since 0.2.1
177177
*/
178178
public static function encrypt( $str ) {
179179
$salt = defined( 'WP_ENCRYPT_KEY' ) && WP_ENCRYPT_KEY ? WP_ENCRYPT_KEY : SECURE_AUTH_KEY;
@@ -185,7 +185,7 @@ public static function encrypt( $str ) {
185185
*
186186
* @param string $str String to decrypt
187187
* @return string Decrypted string
188-
* @since 0.3.0
188+
* @since 0.2.1
189189
* @see Utils::encrypt()
190190
*/
191191
public static function decrypt( $str ) {

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"PHLAK/Config": "^2.0.0",
4545
"jjgrainger/posttypes": "dev-master",
4646
"tgmpa/tgm-plugin-activation": "^2.6.0",
47+
"tareq1988/wordpress-settings-api-class": "dev-master",
4748
"hgoebl/mobile-detect": ">=1.3.0",
4849
"composer/installers": "~1.3.0"
4950
},

plugin.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"prefix": "myplugin_",
3+
"short_name": "Base Plugin",
34
"object_cache": {
45
"group": "my_plugin_cache",
56
"expire_hours": 72

wordpress-base-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: WordPress Base Plugin
55
* Plugin URI: https://github.com/dmhendricks/wordpress-base-plugin
66
* Description: A boilerplate for WordPress plugins
7-
* Version: 0.3.0
7+
* Version: 0.2.1
88
* Author: Daniel M. Hendricks
99
* Author URI: https://www.danhendricks.com
1010
* License: GPL-2.0

0 commit comments

Comments
 (0)