Skip to content

Version 1.3

Compare
Choose a tag to compare
@thefrosty thefrosty released this 30 Jul 22:05
· 12 commits to master since this release
c0aedf5

Updated

  • Removed the helper.php file.
  • Updated all the functions that were using the helper functions.
  • Update thefrosty/wp-utilities to 1.2.2.
  • Fix save settings on admin page, (POST array key was incorrect).
  • Add confirm to clear all cache button on settings page.
  • Only load the Admin class in the admin.

Changed

  • Added a new capability (manage_wp_rest_api_cache) to view the settings page and/or admin bar which
    is (mapped to delete_users).
  • The Dwnload\WpRestApi\RestApi\RestDispatch::FILTER_CACHE_EXPIRE filters expire sanitize function was changed from
    absint to inval function to allow for zero and negative numbers.
  • Pass is_admin_bar_showing() into FILTER_SHOW_ADMIN_BAR_MENU.

Added

  • Added wpCacheReplace() to the CacheApiTrait.