Making WordPress.org


Ignore:
Timestamp:
04/05/2016 07:46:17 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Return shortcode output instead of echoing it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/applications/tracker.php

    r2899 r2901  
    1717    $posts      = get_active_wordcamps( $statuses );
    1818
     19    ob_start();
     20
    1921    require_once( dirname( __DIR__ ) . '/wcpt-wordcamp/wordcamp-admin.php'                             );
    2022    require(      dirname( __DIR__ ) . '/views/applications/tracker/shortcode-application-tracker.php' );
     23
     24    return ob_get_clean();
    2125}
    2226
Note: See TracChangeset for help on using the changeset viewer.