[wp-trac] [WordPress Trac] #6481: Fancy permalinks should be enabled on new sites
WordPress Trac
noreply at wordpress.org
Tue Jan 6 07:32:05 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 valendesigns):
Replying to [comment:66 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.
+1 This is a very nice iteration. One change that isn't entirely
necessary, but might be useful, would be a filter on the
`$permalink_structures` array. Otherwise, I vote commit.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/6481#comment:67>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list