[wp-trac] [WordPress Trac] #35936: Add validation for Custom Structure permalinks

WordPress Trac noreply at wordpress.org
Thu Jun 16 13:46:52 UTC 2016


#35936: Add validation for Custom Structure permalinks
-------------------------------------------------+-------------------------
 Reporter:  SteveNetRivet                        |       Owner:  swissspidy
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
Component:  Permalinks                           |  Release
 Severity:  normal                               |     Version:
 Keywords:  good-first-bug has-patch has-unit-   |  Resolution:
  tests                                          |     Focuses:  ui
-------------------------------------------------+-------------------------

Comment (by ocean90):

 [attachment:35936.3.diff] looks good so far.
 For the placeholder we should add a translator comment `/* translators:
 %s: Codex URL */`. And there should be a redirect in case of an error too
 (PRG pattern). `options-permalink.php?error=true` should be fine.

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


More information about the wp-trac mailing list