Making WordPress.org

Changeset 9890


Ignore:
Timestamp:
05/19/2020 09:11:19 PM (21 months ago)
Author:
ocean90
Message:

Translate: Log translation warnings to a database table for analysis.

See #5152.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-custom-stats
Files:
1 added
1 edited

Legend:

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

    r2275 r9890  
    1111require_once __DIR__ . '/stats/user.php';
    1212require_once __DIR__ . '/stats/project.php';
     13require_once __DIR__ . '/stats/warning.php';
    1314require_once __DIR__ . '/stats/discarded-warning.php';
    1415
     
    3031
    3132    /**
     33     * Holds the warning stats instance.
     34     *
     35     * @var WPorg_GP_Warning_Stats
     36     */
     37    public $warnings;
     38
     39    /**
    3240     * Holds the discarded warning stats instance.
    3341     *
     
    4654        $this->user    = new WPorg_GP_User_Stats();
    4755        $this->project = new WPorg_GP_Project_Stats();
     56        $this->warnings = new WPorg_GP_Warning_Stats();
    4857        $this->discarded_warning = new WPorg_GP_Discarded_Warning_Stats();
    4958    }
Note: See TracChangeset for help on using the changeset viewer.