Skip to content

Avoid PHP Warnings when the_content filters are run without a $post context.#238

Open
dd32 wants to merge 1 commit intomasterfrom
fix/warning-post-unset
Open

Avoid PHP Warnings when the_content filters are run without a $post context.#238
dd32 wants to merge 1 commit intomasterfrom
fix/warning-post-unset

Conversation

@dd32
Copy link
Member

@dd32 dd32 commented Apr 22, 2025

Fixes issues like this:

PHP Warning: Attempt to read property "ID" on null
Source: wp-cron.php
Cron Task: jp_sitemap_cron_hook

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