Making WordPress.org

Changeset 4128


Ignore:
Timestamp:
09/25/2016 06:53:45 PM (10 years ago)
Author:
jmdodd
Message:

Support Forums: Move performance optimizations so they only apply to the support forums.

This is in preparation for enabling the Support Forums plugin on Rosetta forums.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-plugin.php

    r3988 r4128  
    3333         */
    3434        private function __construct() {
    35                 $this->performance = new Performance_Optimizations;
    3635                $this->users       = new Users;
    3736                $this->moderators  = new Moderators;
     
    4443                        $this->support_compat  = new Support_Compat;
    4544
     45                        // Only load Performance_Optimizations if necessary.
     46                        $this->performance = new Performance_Optimizations;
     47
    4648                        // Ratings_Compat is loaded by Theme_Directory_Compat or
    4749                        // Plugin_Directory_Compat depending on the request.
Note: See TracChangeset for help on using the changeset viewer.