Codeinwp / Codeinwp/tweet-old-post

Easier to understand notice when there is no page created

Open
#678 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Low
Dominant language
PHP
Stars
13
Forks
15
Avg merge
1d 11h
Merged PRs (30d)
8

Description

The current error is this Value is empty : pages in Array ( [id] => czoxNToiMTAxMzY2Njk4NDA4MDcyIjs= [pages] => Array ( ) ) when no page is created.
An easier way for users to understand they need to create a page, would be great.

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the code that validates or reports an empty pages value, using the error text from the issue as the search term. Done means that the no-pages case produces a clear user-facing notice explaining that a page must be created, rather than the raw validation error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.