wordpress-mobile / wordpress-mobile/WordPress-Android
Automatically Update Slug When Title Added to Untitled Plost
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Expected behavior
When I add a title to an untitled, published post in a browser then the slug for the same post automatically updates from the post ID number to mirror the added title. I would expect the WordPress app to act the same way.
Actual behavior
When you add a title to an untitled published post the slug is not updated and remains the post ID number as when published.
Steps to reproduce the behavior
- Publish a new post that does not have a title. Note the slug
- Open the newly published post and add a title. Not the slug
Tested on Pixel 6, Android 13, WPAndroid 21.9
User reported at https://wordpress.org/support/topic/suggestion-336/
Contributor guide
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 reproducing the behavior described on WPAndroid 21.9: publish an untitled post, reopen it, add a title, and compare the slug with the browser behavior. Trace the post editor's title and slug handling, then verify that adding a title to an untitled published post updates the slug from the post ID to the title-derived value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100