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

WordPress Trac noreply at wordpress.org
Sat Apr 4 22:31:48 UTC 2015


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

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 We should have a fallback return of false in
 `wp_install_maybe_enable_pretty_permalinks()` for the case where
 permalinks were not enabled. The null return should also return true. Core
 does not leverage the return value, but the function also ''is''
 pluggable, so consistency in a return fallback would be good.

 See [attachment:6481.18.diff].

 Please reference #31888 (4.2 docs audit) in the commit message.

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


More information about the wp-trac mailing list