[wp-trac] [WordPress Trac] #6481: Fancy permalinks should be enabled on new sites
WordPress Trac
noreply at wordpress.org
Tue Jan 6 05:10:17 UTC 2015
#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 dd32):
[attachment:6481.11.diff] builds off [attachment:6481.10.diff] and takes a
slightly different direction
* Permalinks are assumed not to work, and enables them if possible (rather
than enabling, then verifying later it works)
* Supports index.php prefixed paths
* Applies a 5 second request timeout to the loopback connection
* Tested under nginx with the following configurations:
* No Rewrites possible (all 404)
* `/%year%/%monthnum%/%day%/%postname%/` rewrite support
* `/index.php/%year%/%monthnum%/%day%/%postname%/` rewrite support
* Rewrites hitting a different blog (x-pingback != current install)
Thoughts?
I thought of adding a filter onto `$permalink_structures`, however if you
wish to customize it, it's probably better to hook onto `wp_install` and
perform all custom site setup after WordPress is done.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/6481#comment:66>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list