Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 3 years 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:


wp-includes/post.php line 1370

$post_name = sanitize_title($post_name);

needs to be

$post_name = sanitize_title($post_title);

Change History (4)

#1 @Viper007Bond
9 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.

#2 @Denis-de-Bernardy
9 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.

#3 @sniemetz
9 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

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

#4 @DrewAPicture
3 years ago

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