Make WordPress Core

Changeset 12784


Ignore:
Timestamp:
01/21/2010 07:19:23 AM (15 years ago)
Author:
ryan
Message:

Sanitize translation of default post slug. Props nbachiyski. fixes #11952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/upgrade.php

    r12776 r12784  
    182182                                'post_title' => __('Hello world!'),
    183183                                /* translators: Default post slug */
    184                                 'post_name' => _x('hello-world', 'Default post slug'),
     184                                'post_name' => sanitize_title( _x('hello-world', 'Default post slug') ),
    185185                                'post_modified' => $now,
    186186                                'post_modified_gmt' => $now_gmt,
Note: See TracChangeset for help on using the changeset viewer.