[buddypress-trac] [BuddyPress Trac] #6046: Customizer causes BP to throw a _doing_it_wrong warning

buddypress-trac noreply at wordpress.org
Wed Nov 26 16:36:59 UTC 2014


#6046: Customizer causes BP to throw a _doing_it_wrong warning
------------------------------+----------------------------
 Reporter:  DJPaul            |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Warnings/Notices  |    Version:
 Severity:  normal            |   Keywords:
------------------------------+----------------------------
 Going to the Customizer, anywhere, causes BP to throw a `_doing_it_wrong`
 warning.

 The Customizer frame load happens in `_wp_customize_include`, which is
 hooked to `plugins_loaded`. Our `_doing_it_wrong` warning triggers because
 this all happens before the `init` action occurs.

 Not sure if this is a WP core issue more than ours (perhaps it hooks so
 early on purpose), but I'll attach a patch in case we want a workaround
 for now.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6046>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list