[wp-trac] [WordPress Trac] #6481: Fancy permalinks should be enabled on new sites

WordPress Trac noreply at wordpress.org
Mon Dec 29 20:03:37 UTC 2014


#6481: Fancy permalinks should be enabled on new sites
------------------------------------+------------------
 Reporter:  Denis-de-Bernardy       |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  4.2
Component:  Permalinks              |     Version:  2.7
 Severity:  minor                   |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------

Comment (by ericlewis):

 Replying to [comment:54 nacin]:
 > valendesigns' patch moves the logic into wp_install_defaults(), which
 actually highlights an issue I was going to point out. If
 wp_install_defaults() is overridden and no defaults are actually created,
 then these would fail. But there's no reason we need to do that.

 Moved the invocation of `wp_install_verify_pretty_permalinks_work()` to
 `wp_install()`.

 > we could just as easily hit /some-random-404-page/ and as long as we get
 back a response from the WordPress install, then we know rewrites work.
 That could be as easy as looking for a `X-Pingback` header.

 Changed the smoke test accordingly.

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


More information about the wp-trac mailing list