Skip to content

Commit

Permalink
Prep for 0.3.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dmhendricks committed Nov 19, 2017
1 parent eaf13e3 commit b21bdf7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions app/Datastores/Serialized_Theme_Options_Datastore.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"dependencies": {
"php": "5.6",
"carbon_fields": "2.1.0"
"carbon_fields": "2.1.1"
},
"encrypt_method": "AES-128-ECB"
}
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions wordpress-base-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b21bdf7

Please sign in to comment.