WordPress / WordPress/phpdoc-parser
Parser stops at the first dot
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 239
- Forks
- 81
- Avg merge
- 16h 29m
- Merged PRs (30d)
- 8
Description
In the is_singular() summary the text does not end at the first dot.
Is the query for an existing single post of any post type (post, attachment, page, ... )?
https://developer.wordpress.org/reference/functions/is_singular/
I also created a core ticket as it may be quicker to correct the inline docs then the parser. https://core.trac.wordpress.org/ticket/39948
I have not checked for any other cases.
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 by reviewing how the parser handles the is_singular() summary and compare its output with the documentation at the linked developer.wordpress.org reference. Check core ticket 39948 first, since correcting the inline documentation may resolve the issue instead. Done means the summary ends at the intended first sentence boundary, with any related cases considered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100