Making WordPress.org


Ignore:
Timestamp:
11/23/2015 09:28:30 PM (9 years ago)
Author:
ocean90
Message:

Translate: Merge the GP plugin "wporg-log-discarded-warnings" into the custom stats WP plugin for GlotPress.

See #1352.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats/wporg-gp-custom-stats.php

    r2114 r2120  
    1010class WPorg_GP_Custom_Stats {
    1111
     12    /**
     13     * Holds the user stats instance.
     14     *
     15     * @var WPorg_GP_User_Stats
     16     */
    1217    public $user;
     18
     19    /**
     20     * Holds the project stats instance.
     21     *
     22     * @var WPorg_GP_Project_Stats
     23     */
    1324    public $project;
     25
     26    /**
     27     * Holds the discarded warning stats instance.
     28     *
     29     * @var WPorg_GP_Discarded_Warning_Stats
     30     */
     31    public $discarded_warning;
    1432
    1533    public function __construct() {
     
    1735    }
    1836
     37    /**
     38     * Initializes custom stats classes.
     39     */
    1940    public function init_stats() {
    20 
    2141        $this->user    = new WPorg_GP_User_Stats();
    2242        $this->project = new WPorg_GP_Project_Stats();
     43        $this->discarded_warning = new WPorg_GP_Discarded_Warning_Stats();
    2344    }
    2445}
Note: See TracChangeset for help on using the changeset viewer.