Making WordPress.org


Ignore:
Timestamp:
09/01/2016 03:15:59 AM (8 years ago)
Author:
jmdodd
Message:

Support Forums: Improve performance.

Use fuzzy numbers for forum totals, as these are constantly changing.

Bound views by the last six months of posts. This can be adjusted later not performant enough.

File:
1 edited

Legend:

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

    r3884 r3903  
    3535        $this->performance = new Performance_Optimizations;
    3636        $this->users       = new Users;
     37        $this->hooks       = new Hooks;
    3738
    3839        // These modifications are specific to https://wordpress.org/support/
    3940        $blog_id = get_current_blog_id();
    4041        if ( $blog_id && defined( 'WPORG_SUPPORT_FORUMS_BLOGID' ) && WPORG_SUPPORT_FORUMS_BLOGID == $blog_id ) {
     42            $this->dropin  = new Dropin;
    4143            $this->themes  = new Theme_Directory_Compat;
    4244            $this->plugins = new Plugin_Directory_Compat;
Note: See TracChangeset for help on using the changeset viewer.