Filter: RCB/Revision/BackwardsCompatibility

apply_filters( 'RCB/Revision/BackwardsCompatibility', $revision, $independent ) → {array}

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`. Do this filter use with caution because it can be a legal risk!
Parameters:
Name Type Description
$revision array
$independent boolean
Since:
  • 1.10
Returns:
Type
array