Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around PHP notice with WP_ADMIN flag #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

itspriddle
Copy link
Owner

@itspriddle itspriddle commented Oct 9, 2017

Recent WP seems to emit a notice:

% WP_ADMIN=true wp eval 'var_dump(WP_ADMIN);'
Notice: Undefined offset: 1 in /Users/priddle/work/wordpress-playground/public/wp-includes/vars.php on line 31
bool(true)

@itspriddle
Copy link
Owner Author

Need to dig into this more. It is unclear what may be impacted by setting $_SERVER["PHP_SELF"] in this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant