This maintenance release focuses primarily on correcting several minor issues with compatibility with the new Widget Editor introduced in WordPress 5.8.
You will have to update to this release in order to install or update the Widget Pack addon, version >= 2.8.
This maintenance release includes the following changes:
- NEW: Introduce
_::isInteger()and_::isPositiveInteger(). - NEW: Introduce the
suppress_filtersparameter incnRetrieve::entries(). - NEW: Introduce
cnTemplateFactory::maybeActivate(). - TWEAK: Correct initiate new objects.
- TWEAK: Use
selfshortcode keyword instead of classname when checking instance of object. - TWEAK: Utilize the
suppress_filtersproperty incnRetrieve::upcoming(). - TWEAK: Utilize
suppress_filtersin the admin dashboard widgets. - TWEAK: Check to make sure object property is set before use.
- TWEAK: Remove unnecessary
isset()check. - TWEAK: Action to register templates should be run before templates are activated.
- TWEAK: Add check for instance of self when initiating the template factory.
- TWEAK: Update action hooks to call
cnTemplateFactory::maybeActivate(). - TWEAK: Add call to
cnTemplateFactory::maybeActivate()incnTemplateFactory(). Needed to support the new Widget Editor because it seems therest_inithook does not fire or is not fired in time to render the widget previews. Templates are required to be activated because templates are used to render the widgets. - OTHER: Correct typos.
- DEV: phpDoc corrections.
- DEV: phpDoc updates.
