[wp-meta] [Making WordPress.org] #3704: Prevent Fatal Errors from Gutenberg Tweaks in WordCamp Environment

Making WordPress.org noreply at wordpress.org
Fri Jul 13 00:59:08 UTC 2018


#3704: Prevent Fatal Errors from Gutenberg Tweaks in WordCamp Environment
-------------------------------------+---------------------------
 Reporter:  dryanpress               |       Owner:  coreymckrill
     Type:  defect                   |      Status:  closed
 Priority:  high                     |   Milestone:
Component:  WordCamp Site & Plugins  |  Resolution:  fixed
 Keywords:                           |
-------------------------------------+---------------------------
Changes (by coreymckrill):

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


Comment:

 In [changeset:"7459" 7459]:
 {{{
 #!CommitTicketReference repository="" revision="7459"
 WordCamp: Avoid fatal error when Gutenberg isn't activated

 `is_plugin_active` is usually scoped only for WP Admin, so it may not be
 available when Gutenberg Tweaks is trying to determine if Gutenberg is
 activated, which would throw a fatal error. Detecting the existence of a
 function within the Gutenberg plugin itself is a safer option.

 Fixes #3704
 Props dryanpress
 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3704#comment:2>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list