Making WordPress.org

Opened 5 years ago

Closed 5 years ago

#1909 closed defect (fixed)

Load mu-plugins for O2 only when O2 is active

Reported by: ocean90 Owned by: pento
Milestone: Priority: high
Component: General Keywords:


On https://wordpress.org/news/ or https://developer.wordpress.org/ the inline terms plugin is loaded:

<link rel='stylesheet' id='jetpack-inline-terms-css-css'  href='https://developer.wordpress.org/wp-content/mu-plugins/inline-terms/ui/style.css?ver=4.7-alpha-38257' type='text/css' media='all' />
<script type='text/javascript' src='https://developer.wordpress.org/wp-content/mu-plugins/inline-terms/ui/atwho.min.js?ver=4.7-alpha-38257'></script>
<script type='text/javascript' src='https://developer.wordpress.org/wp-content/mu-plugins/inline-terms/ui/defaults.min.js?ver=4.7-alpha-38257'></script>
<script type='text/javascript' src='https://developer.wordpress.org/wp-content/mu-plugins/inline-terms/ui/xposts.min.js?ver=4.7-alpha-38257'></script>
<script type='text/javascript' src='https://developer.wordpress.org/wp-content/mu-plugins/inline-terms/ui/hashtags.min.js?ver=4.7-alpha-38257'></script>

Change History (3)

#1 @Otto42
5 years ago

Note that disabling this in the most obvious way results in breakage in wporg-o2-compat.php. Specifically in the enqueue_inline_terms_ui() function, which probably needs to check for existence of the class before calling it.

#2 @obenland
5 years ago

  • Owner set to pento
  • Status changed from new to assigned

#3 @pento
5 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in [dotorg12347].

Note: See TracTickets for help on using tickets.