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

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

mseymour
Copy link
Contributor

@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]>
@torounit torounit merged commit 5d4353c into torounit:master Oct 10, 2024
1 check passed
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