wordpress-mobile / wordpress-mobile/WordPress-Android

Automatically Update Slug When Title Added to Untitled Plost

Open
#18,104 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Medium [Type] Bug Post Settings
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
  1. Publish a new post that does not have a title. Note the slug
  2. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.