[wp-trac] [WordPress Trac] #28744: setup-config.php Fatal error: Cannot redeclare add_filter()

WordPress Trac noreply at wordpress.org
Fri Jul 4 11:22:08 UTC 2014


#28744: setup-config.php Fatal error: Cannot redeclare add_filter()
-----------------------------+-----------------------------
 Reporter:  michalzuber      |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.0
Component:  Upgrade/Install  |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  administration
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * component:  General => Upgrade/Install
 * milestone:  Awaiting Review => 4.0


Comment:

 Confirmed. See [28978].

 With [attachment:setup-config.patch], `wp_load_translations_early()` never
 fires, it's added too late.

 I guess we need to change `require()` to `require_once()` in `wp-
 settings.php`.

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


More information about the wp-trac mailing list