AdvancedCustomFields / AdvancedCustomFields/acf
ACF 5.8.0-beta3 wpautop issues
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 945
- Forks
- 197
- PR merge metrics
- No merged PRs in 30d
Description
This is a good description of what I'm running into, including a fix: https://wordpress.stackexchange.com/questions/321662/how-do-i-disable-wpautop-for-a-specific-block
I'm wondering what exactly is going on in this situation, as, if I include my custom block that includes a call to get_the_excerpt, it seems to apply wpautop to the entire page, every single block. if I remove the get_the_excerpt this doesn't happen and all is well.
This seems like there's probably something going on that would need to be looked at. I can share some specifics on my case if it's helpful, but would rather not post them publicly here if possible...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked WordPress Stack Exchange reproduction and compare page output with and without the custom block's get_the_excerpt call. Trace how wpautop is applied during block rendering; done means reproducing the behavior and identifying the relevant ACF or WordPress interaction, with a focused regression test if the affected code path can be located.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100