Clearly state why the title is invalid
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
Research direction
Start in public_html/wp-content/plugins/pattern-directory/includes/pattern-validation.php, at the is_title_valid function and its current error message. Trace how prohibited words are detected, then make the validation response identify the relevant words; done means an invalid title explains which words caused the failure.
Written by the indexing model from the issue text.
Description
See: https://core.trac.wordpress.org/ticket/65032
The is_title_valid function checks if a title is valid by verifying the presence of specific words. However, users only see Pattern title is invalid. The pattern title should describe the pattern. as an error message, making it unclear what the problem is. I suggest clearly indicating which words are prohibited within the user's input title.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
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.
More from WordPress/pattern-directory
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
WordPress/pattern-directory#745 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
WordPress/pattern-directory#757 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
WordPress/pattern-directory#751 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
WordPress/pattern-directory#744 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
WordPress/pattern-directory#739 · 1 comment ·
All issues in WordPress/pattern-directory
Similar issues
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/fulltextsearch#1011 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
phpstan/phpstan-doctrine#794 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Automattic/static-site-importer#1767 ·