Making WordPress.org


Ignore:
Timestamp:
07/12/2018 12:22:11 AM (8 years ago)
Author:
coreymckrill
Message:

WordCamp Reports: Update Ticket Revenue report, other minor changes

  • Show ticket revenue results split out by payment method (instead of WPCS vs non-WPCS).
  • Minor HTML markup changes on several reports.
  • Minor code cleanup changes on several reports.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-reports/index.php

    r7376 r7434  
    2525 * Get the path for the includes directory.
    2626 *
    27  * @return string Path with trailing slash
     27 * @return string Path with trailing slash.
    2828 */
    2929function get_classes_dir_path() {
     
    3434 * Get the path for the views directory.
    3535 *
    36  * @return string Path with trailing slash
     36 * @return string Path with trailing slash.
    3737 */
    3838function get_views_dir_path() {
    3939    return trailingslashit( PLUGIN_DIR ) . 'views/';
     40}
     41
     42/**
     43 * Get the path for the assets directory.
     44 *
     45 * @return string Path with trailing slash.
     46 */
     47function get_assets_dir_path() {
     48    return trailingslashit( PLUGIN_DIR ) . 'assets/';
    4049}
    4150
     
    203212        get_assets_url() . 'css/admin-common.css',
    204213        array(),
    205         CSS_VERSION
     214        filemtime( get_assets_dir_path() . 'css/admin-common.css' )
    206215    );
    207216
Note: See TracChangeset for help on using the changeset viewer.