Opened 16 years ago
Closed 16 years ago
#11952 closed defect (bug) (fixed)
Make sure translators enter valid slug of the first post
| Reported by: | nbachiyski | Owned by: | nbachiyski |
|---|---|---|---|
| Priority: | high | Milestone: | 3.0 |
| Component: | I18N | Version: | 2.9 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Currently the slug of the first post is taken by the call:
_x('hello-world', 'Default post slug')
Then, this value is directly inserted in the database. If the translator entered a string in a non-sanitized form, the first post just won't open with pretty permalinks on.
If we call sanitize_title() in the string, we can make sure the right value goes in the database.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [12784]) Sanitize translation of default post slug. Props nbachiyski. fixes #11952