Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor: Adds additional check to guard against incompete presets. (#3…
…8902) Related Core ticket: https://core.trac.wordpress.org/ticket/55161 Adds an additional guard to ensure the value of `$preset_metadata['value_key']` actually exists as a key in the `$preset` array. Fixes `Warning: Undefined array key` error. Intentionally adds the check into the existing `isset()` as it's native to PHP, more efficient, and a good pattern.
- Loading branch information