Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 5 months ago

#8879 closed feature request (invalid)

editing post title doesn't update post_name

Reported by: sniemetz Owned by:
Milestone: Priority: low
Severity: minor Version:
Component: General Keywords:
Focuses: Cc:


line 1370

$post_name = sanitize_title($post_name);

needs to be

$post_name = sanitize_title($post_title);

Change History (4)

comment:1 @Viper007Bond7 years ago

Why does it matter? That isn't used for anything anymore AFIAK.

Or if you're talking about the slug for the permalink, that is intentional, otherwise you could never have a slug that differs from the title.

comment:2 @Denis-de-Bernardy7 years ago

seems like this one is invalid -- last I checked the slug is not set until the user sets it or the post is published and it becomes sticky once that occurs.

comment:3 @sniemetz7 years ago

  • Priority changed from normal to low
  • Resolution set to invalid
  • Severity changed from normal to minor
  • Status changed from new to closed
  • Type changed from defect (bug) to feature request

I am retarded.

so: it IS tru that on a page where I have not edited the permalink, the permalink doesnt change when you edit the title.

prob for good reason. resolving as invalid.

comment:4 @DrewAPicture5 months ago

  • Milestone 2.8 deleted
Note: See TracTickets for help on using tickets.