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

WordPress Trac noreply at wordpress.org
Tue Jan 6 10:19:13 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):

 > I've added a patch that includes the filter.

 The only issues I see with the filter (and I'm not totally against adding
 it) is
 1. Encouraging all customizations to take place on the `wp_install` hook
 is advisable
 1. The new filter won't be used for MultiSite (which is arguably the most
 useful reason for a filter) as the option will already be set for
 MultiSite (and MultiSite requires rewrites to be working, so there's no
 need to ''maybe'' enable it)
 1. You can't use either filter from `wp-config.php`, you have to use a
 `install.php` dropin for single-site install, and a mu-plugin for
 multisite
 1. Based on the above, to me it seems simplest to leave the filter out of
 this method, as we've done with the others.

 Filtering everything is great and all, but adding filters everywhere that
 adds no real benefit that can be taken advantage of isn't advisable, it
 just causes confusion for those reading the documentation.

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


More information about the wp-trac mailing list