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
$independent
private
mixed
$independent
$revision
private
mixed
$revision
Methods
__construct()
C'tor.
public
__construct(array<string|int, mixed> $revision, bool $independent) : mixed
Parameters
- $revision : array<string|int, mixed>
- $independent : bool
Tags
apply()
Do all the backwards-compatibility calculations.
public
apply() : mixed
migration_1xpcvre()
Introducing a default value for `Handling of failed consent documentation`.
public
migration_1xpcvre() : mixed
Tags
migration_8693n1cc5()
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.
public
migration_8693n1cc5() : mixed
Tags
migration_86940n0a0()
Disable maximum height customize setting for the cookie banner.
public
migration_86940n0a0() : mixed
Tags
migration_8694wynf7()
Add the option in "Service groups" in customizer for "Hide less relevant service details".
public
migration_8694wynf7() : mixed
Tags
migration_8695emete()
Add the option "Execute priority" to the settings.
public
migration_8695emete() : mixed
Tags
migration_fb1hvk()
Add the option "Banner-less consent" and "Show cookie banner on specific pages" to the settings.
public
migration_fb1hvk() : mixed
Tags
migration_1za40xb()
Disable sticky legal links for older revisions.
protected
migration_1za40xb() : mixed
Tags
migration_20chd53()
Enable bullet groups + default button order for older revision.
protected
migration_20chd53() : mixed
Tags
migration_2d8dedh()
Modify already given consents and adjust the metadata field names for "List of consents".
protected
migration_2d8dedh() : mixed
Tags
migration_2d8dedh_2unhn5x()
Modify already given consents and adjust the metadata field names for "List of consents".
protected
migration_2d8dedh_2unhn5x() : mixed
Tags
migration_2wpbbhr_863h7nj72()
Modify already given consents and adjust the metadata field for legal notice URL and provider contact information for "List of consents".
protected
migration_2wpbbhr_863h7nj72() : mixed
Tags
migration_861m47jgm()
Modify already given consents and adjust the "data processing in unsafe countries" field names for "List of consents".
protected
migration_861m47jgm() : mixed
Tags
migration_863h7nj72()
Set the default legal basis for older consent records.
protected
migration_863h7nj72() : mixed
Tags
migration_866awy2fr()
Modify already given consents and adjust the age limit for the age notice for "List of consents".
protected
migration_866awy2fr() : mixed
Tags
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
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
migration_ev2070()
Since 1.10: Moved the texts to the customizer, but keep for backwards-compatibility.
protected
migration_ev2070() : mixed
Tags
migration_nz2k7f()
Disable mobile experience for older revisions.
protected
migration_nz2k7f() : mixed