Parser stops at the first dot

Open
#190 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
documentation

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.

Description

bug upstream

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.

Dominant language
PHP
Stars
239
Forks
81
Avg merge
16h 29m
Merged PRs (30d)
8

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from WordPress/phpdoc-parser

All issues in WordPress/phpdoc-parser

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.