[wp-trac] [WordPress Trac] #5305: permalinks broken when article name is numeric

WordPress Trac noreply at wordpress.org
Fri Sep 19 03:05:10 UTC 2014


#5305: permalinks broken when article name is numeric
--------------------------+-----------------------------
 Reporter:  thomask       |       Owner:
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  2.3.1
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by loushou):

 Replying to [comment:41 toscho]:
 > `number` must be translatable, and then you end up with something like
 `číslo`. That would probably raise new issues. I don’t think this is a
 robust solution.

 You make a good point that `number` needs to be translatable. Thus, I have
 updated the patch to include that in the solution. The second part of your
 objection is moot however. The slug sanitization process already handles
 sanitization of translations. If that is really an objection, then the
 sanitization functions need redesign, though I think you will find they
 don't. As for the 'robustness' of the solution, it is meant to be simple.
 If there is something I missed as far as the solution is concerned in the
 ways of 'robustness', feel free to suggest them, and I will try to work
 them in. Thanks again for the comment. Anything to make it better.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/5305#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list