humanmade / humanmade/protected-embeds

wp_die() gets called on post page and admin post edit.php page

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
11
Forks
3
PR merge metrics
No merged PRs in 30d

Description

https://github.com/humanmade/protected-embeds/blob/master/protected-embeds.php#L170

At this line `$wp->query_vars['protected-iframe']` won't be defined on edit.php page or any post request page. It is throwing wp_die() on those pages. I know it is used for redirect rule and iframe loading support but `parse_request` gets called on all page having post.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.