Completed
Branch BUG-10413-php7.1-warnings (48cb68)
by
unknown
14:39
created
core/admin/EE_Admin_List_Table.core.php 1 patch
Spacing   +92 added lines, -92 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@  discard block
 block discarded – undo
1 1
 <?php
2
-if ( ! defined( 'EVENT_ESPRESSO_VERSION' ) ) {
3
-	exit( 'NO direct script access allowed' );
2
+if ( ! defined('EVENT_ESPRESSO_VERSION')) {
3
+	exit('NO direct script access allowed');
4 4
 }
5
-if ( ! class_exists( 'WP_List_Table' ) ) {
6
-	require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
5
+if ( ! class_exists('WP_List_Table')) {
6
+	require_once(ABSPATH.'wp-admin/includes/class-wp-list-table.php');
7 7
 }
8 8
 
9 9
 
@@ -206,16 +206,16 @@  discard block
 block discarded – undo
206 206
 	/**
207 207
 	 * @param \EE_Admin_Page $admin_page we use this for obtaining everything we need in the list table
208 208
 	 */
209
-	public function __construct( EE_Admin_Page $admin_page ) {
209
+	public function __construct(EE_Admin_Page $admin_page) {
210 210
 		$this->_admin_page = $admin_page;
211 211
 		$this->_req_data = $this->_admin_page->get_request_data();
212 212
 		$this->_view = $this->_admin_page->get_view();
213
-		$this->_views = empty( $this->_views ) ? $this->_admin_page->get_list_table_view_RLs() : $this->_views;
213
+		$this->_views = empty($this->_views) ? $this->_admin_page->get_list_table_view_RLs() : $this->_views;
214 214
 		$this->_current_page = $this->get_pagenum();
215
-		$this->_screen = $this->_admin_page->get_current_page() . '_' . $this->_admin_page->get_current_view();
216
-		$this->_yes_no = array(  __('No', 'event_espresso'), __('Yes', 'event_espresso'));
215
+		$this->_screen = $this->_admin_page->get_current_page().'_'.$this->_admin_page->get_current_view();
216
+		$this->_yes_no = array(__('No', 'event_espresso'), __('Yes', 'event_espresso'));
217 217
 
218
-		$this->_per_page = $this->get_items_per_page( $this->_screen . '_per_page', 10 );
218
+		$this->_per_page = $this->get_items_per_page($this->_screen.'_per_page', 10);
219 219
 
220 220
 		$this->_setup_data();
221 221
 		$this->_add_view_counts();
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 		$this->_set_properties();
226 226
 
227 227
 		//set primary column
228
-		add_filter( 'list_table_primary_column', array( $this, 'set_primary_column' ) );
228
+		add_filter('list_table_primary_column', array($this, 'set_primary_column'));
229 229
 
230 230
 		//set parent defaults
231 231
 		parent::__construct($this->_wp_list_args);
@@ -301,17 +301,17 @@  discard block
 block discarded – undo
301 301
 	 * @return string
302 302
 	 */
303 303
 	protected function _get_hidden_fields() {
304
-		$action = isset( $this->_req_data['route'] ) ? $this->_req_data['route'] : '';
305
-		$action = empty( $action ) && isset( $this->_req_data['action'] ) ? $this->_req_data['action'] : $action;
304
+		$action = isset($this->_req_data['route']) ? $this->_req_data['route'] : '';
305
+		$action = empty($action) && isset($this->_req_data['action']) ? $this->_req_data['action'] : $action;
306 306
 		//if action is STILL empty, then we set it to default
307
-		$action = empty( $action ) ? 'default' : $action;
308
-		$field = '<input type="hidden" name="page" value="' . $this->_req_data['page'] . '" />' . "\n";
309
-		$field .= '<input type="hidden" name="route" value="'. $action .'" />' . "\n";/**/
310
-		$field .= '<input type="hidden" name="perpage" value="' . $this->_per_page . '" />' . "\n";
307
+		$action = empty($action) ? 'default' : $action;
308
+		$field = '<input type="hidden" name="page" value="'.$this->_req_data['page'].'" />'."\n";
309
+		$field .= '<input type="hidden" name="route" value="'.$action.'" />'."\n"; /**/
310
+		$field .= '<input type="hidden" name="perpage" value="'.$this->_per_page.'" />'."\n";
311 311
 
312 312
 		$bulk_actions = $this->_get_bulk_actions();
313
-		foreach ( $bulk_actions as $bulk_action => $label ) {
314
-			$field .= '<input type="hidden" name="' . $bulk_action . '_nonce" value="' . wp_create_nonce  ( $bulk_action . '_nonce' ) . '" />' . "\n";
313
+		foreach ($bulk_actions as $bulk_action => $label) {
314
+			$field .= '<input type="hidden" name="'.$bulk_action.'_nonce" value="'.wp_create_nonce($bulk_action.'_nonce').'" />'."\n";
315 315
 		}
316 316
 
317 317
 		return $field;
@@ -341,15 +341,15 @@  discard block
 block discarded – undo
341 341
 		 *
342 342
 		 * @var array
343 343
 		 */
344
-		$_sortable = apply_filters( "FHEE_manage_{$this->screen->id}_sortable_columns", $_sortable, $this->_screen );
344
+		$_sortable = apply_filters("FHEE_manage_{$this->screen->id}_sortable_columns", $_sortable, $this->_screen);
345 345
 
346 346
 		$sortable = array();
347
-		foreach ( $_sortable as $id => $data ) {
348
-			if ( empty( $data ) ) {
347
+		foreach ($_sortable as $id => $data) {
348
+			if (empty($data)) {
349 349
 				continue;
350 350
 			}
351 351
 			//fix for offset errors with WP_List_Table default get_columninfo()
352
-			if ( is_array($data) ) {
352
+			if (is_array($data)) {
353 353
 				$_data[0] = key($data);
354 354
 				$_data[1] = isset($data[1]) ? $data[1] : false;
355 355
 			} else {
@@ -358,14 +358,14 @@  discard block
 block discarded – undo
358 358
 
359 359
 			$data = (array) $data;
360 360
 
361
-			if ( !isset( $data[1] ) ) {
361
+			if ( ! isset($data[1])) {
362 362
 				$_data[1] = false;
363 363
 			}
364 364
 
365 365
 			$sortable[$id] = $_data;
366 366
 		}
367 367
 		$primary = $this->get_primary_column_name();
368
-		$this->_column_headers = array( $columns, $hidden, $sortable, $primary );
368
+		$this->_column_headers = array($columns, $hidden, $sortable, $primary);
369 369
 	}
370 370
 
371 371
 
@@ -374,8 +374,8 @@  discard block
 block discarded – undo
374 374
 	 * @return string
375 375
 	 */
376 376
 	protected function get_primary_column_name() {
377
-		foreach( class_parents( $this ) as $parent ) {
378
-			if ( $parent === 'WP_List_Table' && method_exists( $parent, 'get_primary_column_name' ) ) {
377
+		foreach (class_parents($this) as $parent) {
378
+			if ($parent === 'WP_List_Table' && method_exists($parent, 'get_primary_column_name')) {
379 379
 				return parent::get_primary_column_name();
380 380
 			}
381 381
 		}
@@ -392,10 +392,10 @@  discard block
 block discarded – undo
392 392
 	 * @param string $primary
393 393
 	 * @return string
394 394
 	 */
395
-	protected function handle_row_actions( $item, $column_name, $primary ) {
396
-		foreach( class_parents( $this ) as $parent ) {
397
-			if ( $parent === 'WP_List_Table' && method_exists( $parent, 'handle_row_actions' ) ) {
398
-				return parent::handle_row_actions( $item, $column_name, $primary );
395
+	protected function handle_row_actions($item, $column_name, $primary) {
396
+		foreach (class_parents($this) as $parent) {
397
+			if ($parent === 'WP_List_Table' && method_exists($parent, 'handle_row_actions')) {
398
+				return parent::handle_row_actions($item, $column_name, $primary);
399 399
 			}
400 400
 		}
401 401
 		return '';
@@ -413,11 +413,11 @@  discard block
 block discarded – undo
413 413
 	protected function _get_bulk_actions() {
414 414
 		$actions = array();
415 415
 		//the _views property should have the bulk_actions, so let's go through and extract them into a properly formatted array for the wp_list_table();
416
-		foreach ( $this->_views as $view => $args) {
417
-			if ( $this->_view === $view  && isset( $args['bulk_action']) && is_array($args['bulk_action']) ) {
416
+		foreach ($this->_views as $view => $args) {
417
+			if ($this->_view === $view && isset($args['bulk_action']) && is_array($args['bulk_action'])) {
418 418
 				//each bulk action will correspond with a admin page route, so we can check whatever the capability is for that page route and skip adding the bulk action if no access for the current logged in user.
419
-				foreach ( $args['bulk_action'] as $route =>$label ) {
420
-					if ( $this->_admin_page->check_user_access( $route, true ) ) {
419
+				foreach ($args['bulk_action'] as $route =>$label) {
420
+					if ($this->_admin_page->check_user_access($route, true)) {
421 421
 						$actions[$route] = $label;
422 422
 					}
423 423
 				}
@@ -436,18 +436,18 @@  discard block
 block discarded – undo
436 436
 	 */
437 437
 	private function _filters() {
438 438
 		$classname = get_class($this);
439
-		$filters = apply_filters( "FHEE__{$classname}__filters", (array) $this->_get_table_filters(), $this, $this->_screen );
439
+		$filters = apply_filters("FHEE__{$classname}__filters", (array) $this->_get_table_filters(), $this, $this->_screen);
440 440
 
441
-		if ( empty( $filters )) {
441
+		if (empty($filters)) {
442 442
 			return;
443 443
 		}
444
-		foreach ( $filters as $filter ) {
444
+		foreach ($filters as $filter) {
445 445
 			echo $filter;
446 446
 		}
447 447
 		//add filter button at end
448
-		echo '<input type="submit" class="button-secondary" value="' . __('Filter', 'event_espresso') . '" id="post-query-submit" />';
448
+		echo '<input type="submit" class="button-secondary" value="'.__('Filter', 'event_espresso').'" id="post-query-submit" />';
449 449
 		//add reset filters button at end
450
-		echo '<a class="button button-secondary"  href="' . $this->_admin_page->get_current_page_view_url() . '" style="display:inline-block">' . __('Reset Filters', 'event_espresso') . '</a>';
450
+		echo '<a class="button button-secondary"  href="'.$this->_admin_page->get_current_page_view_url().'" style="display:inline-block">'.__('Reset Filters', 'event_espresso').'</a>';
451 451
 	}
452 452
 
453 453
 
@@ -461,8 +461,8 @@  discard block
 block discarded – undo
461 461
 	 * @param string $column_name
462 462
 	 * @return string
463 463
 	 */
464
-	public function set_primary_column( $column_name ) {
465
-		return ! empty( $this->_primary_column ) ? $this->_primary_column : $column_name;
464
+	public function set_primary_column($column_name) {
465
+		return ! empty($this->_primary_column) ? $this->_primary_column : $column_name;
466 466
 	}
467 467
 
468 468
 
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
 			array(
483 483
 				'total_items' => $total_items,
484 484
 				'per_page' => $this->_per_page,
485
-				'total_pages' => ceil($total_items / $this->_per_page )
485
+				'total_pages' => ceil($total_items / $this->_per_page)
486 486
 			)
487 487
 		);
488 488
 	}
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
 	 * @param string        $column_name The column being called.
497 497
 	 * @return string html content for the column
498 498
 	 */
499
-	public function column_default( $item, $column_name ) {
499
+	public function column_default($item, $column_name) {
500 500
 		/**
501 501
 		 * Dynamic hook allowing for adding additional column content in this list table.
502 502
 		 * Note that $this->screen->id is in the format
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
 		 * hook prefix ("event-espresso") will be different.
507 507
 		 *
508 508
 		 */
509
-		do_action( 'AHEE__EE_Admin_List_Table__column_' . $column_name . '__' . $this->screen->id, $item, $this->_screen );
509
+		do_action('AHEE__EE_Admin_List_Table__column_'.$column_name.'__'.$this->screen->id, $item, $this->_screen);
510 510
 	}
511 511
 
512 512
 
@@ -532,7 +532,7 @@  discard block
 block discarded – undo
532 532
 		 *
533 533
 		 * @var array
534 534
 		 */
535
-		$columns = apply_filters( 'FHEE_manage_'.$this->screen->id.'_columns', $this->_columns, $this->_screen );
535
+		$columns = apply_filters('FHEE_manage_'.$this->screen->id.'_columns', $this->_columns, $this->_screen);
536 536
 		return $columns;
537 537
 	}
538 538
 
@@ -555,18 +555,18 @@  discard block
 block discarded – undo
555 555
 		$views = $this->get_views();
556 556
 		$assembled_views = array();
557 557
 
558
-		if ( empty( $views )) {
558
+		if (empty($views)) {
559 559
 			return;
560 560
 		}
561 561
 		echo "<ul class='subsubsub'>\n";
562
-		foreach ( $views as $view ) {
563
-			$count = isset($view['count'] ) && !empty($view['count']) ? absint( $view['count'] )  : 0;
564
-			if ( isset( $view['slug'], $view['class'], $view['url'], $view['label']) ) {
565
-				$assembled_views[ $view['slug'] ] = "\t<li class='" . $view['class'] . "'>" . '<a href="' . $view['url'] . '">' . $view['label'] . '</a> <span class="count">(' . $count . ')</span>';
562
+		foreach ($views as $view) {
563
+			$count = isset($view['count']) && ! empty($view['count']) ? absint($view['count']) : 0;
564
+			if (isset($view['slug'], $view['class'], $view['url'], $view['label'])) {
565
+				$assembled_views[$view['slug']] = "\t<li class='".$view['class']."'>".'<a href="'.$view['url'].'">'.$view['label'].'</a> <span class="count">('.$count.')</span>';
566 566
 			}
567 567
 		}
568 568
 
569
-		echo ! empty( $assembled_views ) ? implode( " |</li>\n", $assembled_views ) . "</li>\n" : '';
569
+		echo ! empty($assembled_views) ? implode(" |</li>\n", $assembled_views)."</li>\n" : '';
570 570
 		echo "</ul>";
571 571
 	}
572 572
 
@@ -578,10 +578,10 @@  discard block
 block discarded – undo
578 578
 	 * @access public
579 579
 	 * @param EE_Base_Class $item The current item
580 580
 	 */
581
-	public function single_row( $item ) {
582
-		$row_class = $this->_get_row_class( $item );
583
-		echo '<tr class="' . esc_attr( $row_class ) . '">';
584
-		$this->single_row_columns( $item );
581
+	public function single_row($item) {
582
+		$row_class = $this->_get_row_class($item);
583
+		echo '<tr class="'.esc_attr($row_class).'">';
584
+		$this->single_row_columns($item);
585 585
 		echo '</tr>';
586 586
 	}
587 587
 
@@ -593,13 +593,13 @@  discard block
 block discarded – undo
593 593
 	 * @param  EE_Base_Class $item the current item
594 594
 	 * @return string
595 595
 	 */
596
-	protected function _get_row_class( $item ) {
596
+	protected function _get_row_class($item) {
597 597
 		static $row_class = '';
598
-		$row_class = ( $row_class === '' ? 'alternate' : '' );
598
+		$row_class = ($row_class === '' ? 'alternate' : '');
599 599
 
600 600
 		$new_row_class = $row_class;
601 601
 
602
-		if ( !empty($this->_ajax_sorting_callback) ) {
602
+		if ( ! empty($this->_ajax_sorting_callback)) {
603 603
 			$new_row_class .= ' rowsortable';
604 604
 		}
605 605
 
@@ -631,13 +631,13 @@  discard block
 block discarded – undo
631 631
 	 */
632 632
 	public function get_hidden_columns() {
633 633
 		$user_id = get_current_user_id();
634
-		$has_default = get_user_option('default'. $this->screen->id . 'columnshidden', $user_id);
635
-		if ( empty( $has_default ) && !empty($this->_hidden_columns ) ) {
636
-			update_user_option($user_id, 'default'.$this->screen->id . 'columnshidden', TRUE);
637
-			update_user_option($user_id, 'manage' . $this->screen->id . 'columnshidden', $this->_hidden_columns, TRUE );
634
+		$has_default = get_user_option('default'.$this->screen->id.'columnshidden', $user_id);
635
+		if (empty($has_default) && ! empty($this->_hidden_columns)) {
636
+			update_user_option($user_id, 'default'.$this->screen->id.'columnshidden', TRUE);
637
+			update_user_option($user_id, 'manage'.$this->screen->id.'columnshidden', $this->_hidden_columns, TRUE);
638 638
 		}
639
-		$ref = 'manage' . $this->screen->id . 'columnshidden';
640
-		return (array) get_user_option( $ref, $user_id );
639
+		$ref = 'manage'.$this->screen->id.'columnshidden';
640
+		return (array) get_user_option($ref, $user_id);
641 641
 	}
642 642
 
643 643
 
@@ -650,47 +650,47 @@  discard block
 block discarded – undo
650 650
 	 * @since 3.1.0
651 651
 	 * @param EE_Base_Class $item The current item
652 652
 	 */
653
-	public function single_row_columns( $item ) {
654
-		list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
653
+	public function single_row_columns($item) {
654
+		list($columns, $hidden, $sortable, $primary) = $this->get_column_info();
655 655
 
656 656
 		global $wp_version;
657
-		$use_hidden_class = version_compare( $wp_version, '4.3-RC', '>=' );
657
+		$use_hidden_class = version_compare($wp_version, '4.3-RC', '>=');
658 658
 
659
-		foreach ( $columns as $column_name => $column_display_name ) {
659
+		foreach ($columns as $column_name => $column_display_name) {
660 660
 
661 661
 			/**
662 662
 			 * With WordPress version 4.3.RC+ WordPress started using the hidden css class to control whether columns are
663 663
 			 * hidden or not instead of using "display:none;".  This bit of code provides backward compat.
664 664
 			 */
665
-			$hidden_class = $use_hidden_class && in_array( $column_name, $hidden ) ? ' hidden' : '';
666
-			$style = ! $use_hidden_class && in_array( $column_name, $hidden ) ? ' style="display:none;"' : '';
665
+			$hidden_class = $use_hidden_class && in_array($column_name, $hidden) ? ' hidden' : '';
666
+			$style = ! $use_hidden_class && in_array($column_name, $hidden) ? ' style="display:none;"' : '';
667 667
 
668
-			$classes = $column_name . ' column-' . $column_name.$hidden_class;
669
-			if ( $primary === $column_name ) {
668
+			$classes = $column_name.' column-'.$column_name.$hidden_class;
669
+			if ($primary === $column_name) {
670 670
 				$classes .= ' has-row-actions column-primary';
671 671
 			}
672 672
 
673
-			$data = ' data-colname="' . wp_strip_all_tags( $column_display_name ) . '"';
673
+			$data = ' data-colname="'.wp_strip_all_tags($column_display_name).'"';
674 674
 
675 675
 			$class = "class='$classes'";
676 676
 
677 677
 			$attributes = "$class$style$data";
678 678
 
679
-			if ( $column_name === 'cb' ) {
679
+			if ($column_name === 'cb') {
680 680
 				echo '<th scope="row" class="check-column">';
681
-				echo apply_filters( 'FHEE__EE_Admin_List_Table__single_row_columns__column_cb_content', $this->column_cb( $item ), $item, $this );
681
+				echo apply_filters('FHEE__EE_Admin_List_Table__single_row_columns__column_cb_content', $this->column_cb($item), $item, $this);
682 682
 				echo '</th>';
683 683
 			}
684
-			elseif ( method_exists( $this, 'column_' . $column_name ) ) {
684
+			elseif (method_exists($this, 'column_'.$column_name)) {
685 685
 				echo "<td $attributes>";
686
-				echo apply_filters( 'FHEE__EE_Admin_List_Table__single_row_columns__column_' . $column_name . '__column_content', call_user_func( array( $this, 'column_' . $column_name ), $item ), $item, $this );
687
-				echo $this->handle_row_actions( $item, $column_name, $primary );
686
+				echo apply_filters('FHEE__EE_Admin_List_Table__single_row_columns__column_'.$column_name.'__column_content', call_user_func(array($this, 'column_'.$column_name), $item), $item, $this);
687
+				echo $this->handle_row_actions($item, $column_name, $primary);
688 688
 				echo "</td>";
689 689
 			}
690 690
 			else {
691 691
 				echo "<td $attributes>";
692
-				echo apply_filters( 'FHEE__EE_Admin_List_Table__single_row_columns__column_default__column_content', $this->column_default( $item, $column_name ), $item, $column_name, $this );
693
-				echo $this->handle_row_actions( $item, $column_name, $primary );
692
+				echo apply_filters('FHEE__EE_Admin_List_Table__single_row_columns__column_default__column_content', $this->column_default($item, $column_name), $item, $column_name, $this);
693
+				echo $this->handle_row_actions($item, $column_name, $primary);
694 694
 				echo "</td>";
695 695
 			}
696 696
 		}
@@ -705,15 +705,15 @@  discard block
 block discarded – undo
705 705
 	 * @param string $which
706 706
 	 * @throws \EE_Error
707 707
 	 */
708
-	public function extra_tablenav( $which ) {
709
-		if ( $which === 'top' ) {
708
+	public function extra_tablenav($which) {
709
+		if ($which === 'top') {
710 710
 			$this->_filters();
711 711
 			echo $this->_get_hidden_fields();
712 712
 		} else {
713 713
 			echo '<div class="list-table-bottom-buttons alignleft actions">';
714
-			foreach ( $this->_bottom_buttons as $type => $action ){
715
-				$route = isset( $action['route'] ) ? $action['route'] : '';
716
-				$extra_request = isset( $action['extra_request'] ) ? $action['extra_request'] : '';
714
+			foreach ($this->_bottom_buttons as $type => $action) {
715
+				$route = isset($action['route']) ? $action['route'] : '';
716
+				$extra_request = isset($action['extra_request']) ? $action['extra_request'] : '';
717 717
 				echo $this->_admin_page->get_action_link_or_button(
718 718
 					$route,
719 719
 					$type,
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
 					false
724 724
 				);
725 725
 			}
726
-			do_action( 'AHEE__EE_Admin_List_Table__extra_tablenav__after_bottom_buttons', $this, $this->_screen );
726
+			do_action('AHEE__EE_Admin_List_Table__extra_tablenav__after_bottom_buttons', $this, $this->_screen);
727 727
 			echo '</div>';
728 728
 		}
729 729
 		//echo $this->_entries_per_page_dropdown;
@@ -779,11 +779,11 @@  discard block
 block discarded – undo
779 779
 	 *                                                  the actions.
780 780
 	 * @return string The assembled action elements container.
781 781
 	 */
782
-	protected function _action_string( $action_items, $item, $action_container = 'ul', $action_class = '', $action_id = '' ) {
782
+	protected function _action_string($action_items, $item, $action_container = 'ul', $action_class = '', $action_id = '') {
783 783
 		$content = '';
784
-		$action_class = ! empty( $action_class ) ? ' class="' . $action_class . '"' : '';
785
-		$action_id = ! empty( $action_id ) ? ' id="' . $action_id . '"' : '';
786
-		$content .= ! empty( $action_container ) ? '<' . $action_container . $action_class . $action_id . '>' : '';
784
+		$action_class = ! empty($action_class) ? ' class="'.$action_class.'"' : '';
785
+		$action_id = ! empty($action_id) ? ' id="'.$action_id.'"' : '';
786
+		$content .= ! empty($action_container) ? '<'.$action_container.$action_class.$action_id.'>' : '';
787 787
         try {
788 788
             $content .= apply_filters(
789 789
                 'FHEE__EE_Admin_List_Table___action_string__action_items',
@@ -793,11 +793,11 @@  discard block
 block discarded – undo
793 793
             );
794 794
         } catch (\Exception $e) {
795 795
             if (WP_DEBUG) {
796
-                \EE_Error::add_error( $e->getMessage(), __FILE__, __FUNCTION__, __LINE__ );
796
+                \EE_Error::add_error($e->getMessage(), __FILE__, __FUNCTION__, __LINE__);
797 797
             }
798 798
             $content .= $action_items;
799 799
         }
800
-		$content .= ! empty( $action_container ) ? '</' . $action_container . '>' : '';
800
+		$content .= ! empty($action_container) ? '</'.$action_container.'>' : '';
801 801
 		return $content;
802 802
 	}
803 803
 }
Please login to merge, or discard this patch.