From d570cda14eff8efa6fc493dec33ea2229bd02f00 Mon Sep 17 00:00:00 2001 From: William Patton Date: Sun, 10 Feb 2019 13:32:26 +0000 Subject: [PATCH] Add a changelog and version string to the class file. --- AbstractPostType.php | 3 ++- changelog.md | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 changelog.md diff --git a/AbstractPostType.php b/AbstractPostType.php index 2aa857a..bcaaad1 100644 --- a/AbstractPostType.php +++ b/AbstractPostType.php @@ -7,9 +7,10 @@ * class before calling 'register'. * * @package PattonWebz Post Type Registration Class + * @version 0.2.0 * @since 0.1.0 * @author William Patton - * @copyright Copyright (c) 2018, William Patton + * @copyright Copyright (c) 2018-2019, William Patton * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..8117b62 --- /dev/null +++ b/changelog.md @@ -0,0 +1,24 @@ +# Change Log for the PattonWebz Post Type Registration Class + +All notable changes to this project will be documented in this file. + +This projects tries to adhere to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). + +## [Unreleased] + +_No documentation available about unreleased changes as of yet._ + +## [0.1.0] - 2018 + +- Initial Version + +## [0.2.0] - 2019-02-10 + +### Fixed + +- Corrected reference to `$label` property in `get_labels()`. + +### Changes + +- When the `$name` property is used to backfill the `label` arg is has the first letter uppercased. +- Post Types now register as `public` by default.