From b21bdf723e81593ccf876201ef5267cd01be7b66 Mon Sep 17 00:00:00 2001 From: Daniel Hendricks Date: Sat, 18 Nov 2017 20:39:47 -0600 Subject: [PATCH] Prep for 0.3.1 release --- README.md | 6 ++---- app/Datastores/Serialized_Theme_Options_Datastore.php | 10 +++++----- composer.json | 1 + plugin.json | 2 +- readme.txt | 2 +- wordpress-base-plugin.php | 4 ++-- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index becbd65..ca28daf 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ This is a boilerplate WordPress plugin featuring namespace autoloading and integration with [Carbon Fields](https://github.com/htmlburger/carbon-fields). It is intended to be used as a starting point for creating WordPress plugins. It contains several examples and dependencies to get you started. -It may also be used as the means of [separating custom code](http://www.billerickson.net/core-functionality-plugin/) from the theme. +It may also be used as the means of [separating custom code](http://www.billerickson.net/core-functionality-plugin/) from the theme or [extending a child theme](https://www.wp-code.com/wordpress-snippets/wordpress-grandchildren-themes/). ### Contributing @@ -77,9 +77,7 @@ Release changes are noted on the [Releases](https://github.com/dmhendricks/wordp #### Branch: `master` -* Added Carbon Fields [Serialized Datastore](https://github.com/dmhendricks/wordpress-base-plugin/wiki/Features-&-Customization#serialized-data-store) example -* Fixed bugs with example widget scope -* Updated compatibility for Carbon Fields 2.1.1 +* None since release ## Credits diff --git a/app/Datastores/Serialized_Theme_Options_Datastore.php b/app/Datastores/Serialized_Theme_Options_Datastore.php index 13b63c8..0fc15a0 100644 --- a/app/Datastores/Serialized_Theme_Options_Datastore.php +++ b/app/Datastores/Serialized_Theme_Options_Datastore.php @@ -4,16 +4,16 @@ use Carbon_Fields\Datastore\Datastore; /** - * Stores serialized values in the database - */ + * Stores serialized values in the database + * @see https://carbonfields.net/docs/guides-serialized-datastore/ + * @since 0.3.1 + */ class Serialized_Theme_Options_Datastore extends Datastore { /** * Initialization tasks for concrete datastores. **/ - public function init() { - - } + public function init() { } protected function get_key_for_field( Field $field ) { $key = '_' . $field->get_base_name(); diff --git a/composer.json b/composer.json index fc1458d..88fd337 100644 --- a/composer.json +++ b/composer.json @@ -2,6 +2,7 @@ "name": "dmhendricks/wordpress-base-plugin", "type": "wordpress-plugin", "description": "A bloilerplate for WordPress plugins", + "version": "0.3.1", "keywords": ["wordpress", "plugin", "boilerplate", "carbonfields"], "homepage": "https://2lab.net", "license": "GPL-2.0", diff --git a/plugin.json b/plugin.json index f203a6a..b045ce7 100644 --- a/plugin.json +++ b/plugin.json @@ -7,7 +7,7 @@ }, "dependencies": { "php": "5.6", - "carbon_fields": "2.1.0" + "carbon_fields": "2.1.1" }, "encrypt_method": "AES-128-ECB" } diff --git a/readme.txt b/readme.txt index 6b474bb..0b61433 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: wordpress,base,plugin,boilerplate,composer,carbonfields Donate link: https://paypal.me/danielhendricks Requires at least: 4.0 Tested up to: 4.9 -Stable tag: 0.3.0 +Stable tag: 0.3.1 License: GPL-2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html diff --git a/wordpress-base-plugin.php b/wordpress-base-plugin.php index aa3bcf1..898f749 100644 --- a/wordpress-base-plugin.php +++ b/wordpress-base-plugin.php @@ -4,7 +4,7 @@ * Plugin Name: WordPress Base Plugin * Plugin URI: https://github.com/dmhendricks/wordpress-base-plugin * Description: A boilerplate for WordPress plugins - * Version: 0.3.0 + * Version: 0.3.1 * Author: Daniel M. Hendricks * Author URI: https://www.danhendricks.com * License: GPL-2.0 @@ -14,7 +14,7 @@ * GitHub Plugin URI: dmhendricks/wordpress-base-plugin */ -/* Copyright 2017 Daniel M. Hendricks (https://www.danhendricks.com/) +/* Copyright 2018 Daniel M. Hendricks (https://www.danhendricks.com/) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License