Wordpress Base Plugin Versions Save

A starter template for WordPress plugins, with autoloading, namespaces and object caching (where available).

0.5.4

5 years ago
  • Updated for wordpress-toolkit 0.4.0
  • Changed to flushing only cache group, rather than entire cache, on settings save

0.5.3

5 years ago
  • Change: Added option to specify cache group
  • Change: Bumped WP Customizer Framework version
  • Fixed: Error retrieving plugin meta data on Windows (requires Composer update) #6
  • Fixed: Moved some methods from wordpress-toolkit due to conflicts when multiple versions installed
  • Fixed: Various multisite issues and boolean false values incorrectly signaling a miss (wordpress-toolkit)
  • Fixed: Incorrect variable name in npm script translate

0.5.2

6 years ago
  • Fixed conflicts when multiple instances installed
  • Set SECURE_AUTH_COOKIE, AUTH_COOKIE, and LOGGED_IN_COOKIE if not defined

0.5.1

6 years ago
  • Fixed major bug with configuration registry scope

0.5.0

6 years ago
  • Set Carbon Fields minimum version to 2.2 (required for multisite example)
  • Extended base class as WordPress Toolkit; simplified base class configuration init
  • Moved is_ajax()/prefix(), CacheObject() init to wordpress-toolkit
  • Updated Composer license to conform to new SPDX identifiers
  • Added phpdotenv support (reference)
  • Added npm run zip-dev to create installable ZIP including necessary development files
  • Added Network Admin options page example
  • Modified show_notice() to allow displaying notices in Network Admin; add additional CSS classes and element ID

0.4.0

6 years ago
  • Replaced Carbon Fields Loader dependency with official plugin
  • Fixed non-static deprecation notice
  • Added support for before/after strings to prefix()
  • Added version check for wordpress-toolkit
  • Added get_wpsac_plugin_option() example to Plugin class
  • Updated JS injection to use wordpress-toolkit ScriptObject
  • Added Customizer options example (via inc2734/wp-customizer-framework)
  • Added various Carbon Fields custom CSS classes
  • Bumped NPM dependency versions

0.3.1

6 years ago
  • Added Carbon Fields Serialized Datastore example
  • Fixed bugs with example widget scope
  • Updated compatibility for Carbon Fields 2.1.1

0.3.0

6 years ago
  • Fixed bug with setting translation text domain
  • Moved script URL functions from EnqueueScripts to Helpers class

0.3.0-rc1

6 years ago
  • Bumped minimum PHP version to 5.6
  • Added Gulp for task automation (SASS, JS processing)
    • Added gulp rename task (notes)
  • Added Bower to (optionally) load third-party scripts
  • Drastically refactored configuration management
  • Split out settings pages, shortcodes, CPT & widgets into separate files/classes (thanks obstschale)
  • Added wp-pot-cli to create .pot translation file
  • Added npm run zip to package plugin as ZIP file
  • Added register_uninstall_hook to delete Carbon Fields settings when plugin uninstalled
  • Added Ajax example "Clear Cache" link to admin bar dropdown
  • Added wordpress-settings-api-class settings page example
  • Added WPTK_DISABLE_CACHE constant
  • Added VERSION constant
  • Added wordpress-toolkit as dependency
  • Renamed Utils class to Helpers

0.2.1

6 years ago

New pre-release that primarily fixed caching expiration bug.

  • Bumped minimum PHP version check to 5.4
  • Added plugin.json for configuration (see Configuration & Constants)
  • Fixed caching expiration bug
  • Removed Carbon Fields as dependency in favor of plugin loader
  • Added Utils::encrypt/decrypt helpers, WP_ENCRYPT_KEY constant (wiki)
  • Added TGMPA example
  • Removed Carbon Fields as Composer dependency if favor of using a separate loader plugin

NB! This plugin requires that it be loaded in order for all features/examples to work. See Dependencies for more info.