Documentation

RevisionBackwardsCompatibility
in package

Apply backwards compatible variables to an already saved revision. This can be useful e.g. new texts were added to the revision which previously were read from `wp_localize_script`.

Table of Contents

Properties

$independent  : mixed
$revision  : mixed

Methods

__construct()  : mixed
C'tor.
apply()  : mixed
Do all the backwards-compatibility calculations.
migration_1xpcvre()  : mixed
Introducing a default value for `Handling of failed consent documentation`.
migration_8693n1cc5()  : mixed
With the introduction of `@devowl-wp/cookie-consent-management` we aim modularity also for the consent management on the PHP side in an isomorphic way. For this, we also try to iteratively move the revision management to that package.
migration_86940n0a0()  : mixed
Disable maximum height customize setting for the cookie banner.
migration_8694wynf7()  : mixed
Add the option in "Service groups" in customizer for "Hide less relevant service details".
migration_8695emete()  : mixed
Add the option "Execute priority" to the settings.
migration_fb1hvk()  : mixed
Add the option "Banner-less consent" and "Show cookie banner on specific pages" to the settings.
migration_1za40xb()  : mixed
Disable sticky legal links for older revisions.
migration_20chd53()  : mixed
Enable bullet groups + default button order for older revision.
migration_2d8dedh()  : mixed
Modify already given consents and adjust the metadata field names for "List of consents".
migration_2d8dedh_2unhn5x()  : mixed
Modify already given consents and adjust the metadata field names for "List of consents".
migration_2wpbbhr_863h7nj72()  : mixed
Modify already given consents and adjust the metadata field for legal notice URL and provider contact information for "List of consents".
migration_861m47jgm()  : mixed
Modify already given consents and adjust the "data processing in unsafe countries" field names for "List of consents".
migration_863h7nj72()  : mixed
Set the default legal basis for older consent records.
migration_866awy2fr()  : mixed
Modify already given consents and adjust the age limit for the age notice for "List of consents".
migration_apv5uu()  : mixed
With version 4.4.0 we have introduced the Google Consent Mode. As it needs an accordion in the first view of the cookie banner, the "TCF Stacks" got renamed to "Accordion" and moved to the free version.
migration_cawgkp()  : mixed
With version 3.12.0 we have introduced banner / footer links in Cookies > Settings > General.
migration_ev2070()  : mixed
Since 1.10: Moved the texts to the customizer, but keep for backwards-compatibility.
migration_nz2k7f()  : mixed
Disable mobile experience for older revisions.

Properties

Methods

__construct()

C'tor.

public __construct(array<string|int, mixed> $revision, bool $independent) : mixed
Parameters
$revision : array<string|int, mixed>
$independent : bool
Tags
codeCoverageIgnore

migration_apv5uu()

With version 4.4.0 we have introduced the Google Consent Mode. As it needs an accordion in the first view of the cookie banner, the "TCF Stacks" got renamed to "Accordion" and moved to the free version.

protected migration_apv5uu() : mixed
Tags
see
https://app.clickup.com/t/apv5uu

migration_cawgkp()

With version 3.12.0 we have introduced banner / footer links in Cookies > Settings > General.

protected migration_cawgkp() : mixed

Instead of using the IDs (imprint, privacy policy) from the customizer, we now manage the links via a Custom Post Type. For backwards-compatibility, we migrate the links accordingly.

Tags
see
https://app.clickup.com/t/cawgkp

        
On this page

Search results