Skip to main content

Filter: gk/gravitycharts/secret/allow-legacy

Whether to accept a chart's previous secret, from before the per-site key.

By default it is accepted only for charts secured before the key, and only outside post content or in a post a chart editor last saved or no one has changed since.

Parameters​

NameTypeDescription
$allow_legacyboolWhether to accept the previous secret. Default: true only in the cases above.
$feedarrayThe chart feed.

Since​

  • $ver$: $ver$

Source​

Defined in src/Chart_Feed.php at line 2649