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

Ensure that the taxonomy's rewrite property is not false #117

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mseymour
Copy link

@mseymour mseymour commented May 2, 2024

If a taxonomy's rewrite property is set to false, in PHP 8 a warning is emitted:

Warning: Trying to access array offset on value of type bool in /var/www/html/http/htdocs/content/plugins/custom-post-type-permalinks/CPTP/Module/Permalink.php on line 421

@torounit
Copy link
Owner

@mseymour Nice Catch. Thanks !

CPTP/Module/Permalink.php Outdated Show resolved Hide resolved
Misnamed variable.

Co-authored-by: Hiroshi Urabe <[email protected]>
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.

2 participants