Changeset 7434 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-reports/classes/report/class-sponsorship-grants.php
- Timestamp:
- 07/12/2018 12:22:11 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-reports/classes/report/class-sponsorship-grants.php
r6662 r7434 316 316 */ 317 317 public function render_html() { 318 $now = new \DateTime(); 319 320 $start_date = $this->start_date; 321 $end_date = $this->end_date; 322 $xrt_date = ( $end_date > $now ) ? $now : $end_date; 323 $wordcamp_name = ( $this->wordcamp_site_id ) ? get_wordcamp_name( $this->wordcamp_site_id ) : ''; 318 324 $data = $this->get_data(); 319 325 $compiled_data = $this->compile_report_data( $data ); 320 $start_date = $this->start_date;321 $end_date = $this->end_date;322 323 $wordcamp_name = ( $this->wordcamp_site_id ) ? get_wordcamp_name( $this->wordcamp_site_id ) : '';324 326 325 327 if ( ! empty( $this->error->get_error_messages() ) ) {
Note: See TracChangeset
for help on using the changeset viewer.