All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Break: Now the core classes throws
Exception
instead ofError
. - Feat: Now all core classes has PHPDoc comments.
- Feat: Added
h::str_contains( $string, $search )
helper
- Fix text domain in
core/Dependencies.php
- Feat: Added
h::critical_log()
helper
- Refactor: Now the
init
hook is used to load the plugin text domain (incore/Main.php
) - Refactor: Simplified the
main.php
- Feat: allow secundary development config in
config.dev.php
- Fix:
h::get_transient()
was not respecting theCACHE_ENABLED
config.
- By default,
Helpers::throw_if()
now throws\Exception
rather than\Error
.
- Fix: Undefined variable
$path
incore/Traits/Template_Helpers.php
.
- Added
get_template_path
method incore/Traits/Template_Helpers.php
. - Added
get_templates_dir
method incore/Traits/Template_Helpers.php
.
- Fix and improve the missing dependencies notice.
- Fix: incorrect
h::log
output.
- Feat: allow class instances in
loader.php
. - Fix: remove falsy values from
loader.php
.
- Fixed the
composer run upgrade-core
command.
- Now
/classes/Helpers.php
it's a bunch of Traits. This will allow helper methods to be improved and fixed when needed. See /core/Traits - Removed the following helpers:
h::get_slug
,h::logger
,h::update_option
,h::get_option
,h::nothrow
.
- If you are using the
classes/Helpers.php
file, replace your file with the new version with Traits.
- refactor: remove
Helpers::log_wp_error
- refactor: remove
Helpers::pipe
- refactor: PHP version verification now is made in
main.php
rather than in/dependencies.php
- feat: classes in
/loader.php
now can has a__activation
static method. This is a alias forregister_activation_hook
- feat: classes in
/loader.php
now can has a__deactivation
static method. This is a alias forregister_deactivation_hook
- feat: shortcut for check dependencies. Learn more in dependencies.php
- refactor: remove unused
LANGUAGES_DIR
key from/config.php
- docs: better README.md
- Minor fixes
- Fix:
composer run make-pot
don't create pot file in correct folder
- Fix: undefined
Helpers::user_is_admin
used inHelpers::get_template
- Feat: added
Requires PHP
andRequires at least
plugin headers
- Public release