- Timestamp:
- 04/28/2024 10:08:00 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/includes/activity/template-tags.php
r13631 r13820 650 650 } 651 651 652 /** 653 * Filters the opening tag for the template that lists activity comments. 654 * 655 * @since 1.6.0 656 * 657 * @param string $value Opening tag for the HTML markup to use. 658 */ 659 echo apply_filters( 'bp_activity_recurse_comments_start_ul', '<ul>' ); 652 // phpcs:ignore WordPress.Security.EscapeOutput 653 echo apply_filters( 654 /** This filter is documented in bp-activity/bp-activity-template.php. */ 655 'bp_activity_recurse_comments_start_ul', 656 '<ul>' 657 ); 660 658 661 659 foreach ( (array) $comment->children as $comment_child ) { … … 683 681 } 684 682 685 /** 686 * Filters the closing tag for the template that list activity comments. 687 * 688 * @since 1.6.0 689 * 690 * @param string $value Closing tag for the HTML markup to use. 691 */ 692 echo apply_filters( 'bp_activity_recurse_comments_end_ul', '</ul>' ); 683 // phpcs:ignore WordPress.Security.EscapeOutput 684 echo apply_filters( 685 /** This filter is documented in bp-activity/bp-activity-template.php. */ 686 'bp_activity_recurse_comments_end_ul', 687 '</ul>' 688 ); 693 689 } 694 690 … … 699 695 */ 700 696 function bp_nouveau_activity_comment_action() { 701 echo bp_nouveau_get_activity_comment_action(); 697 echo wp_kses( 698 bp_nouveau_get_activity_comment_action(), 699 array( 700 'a' => array( 701 'href' => true, 702 'class' => true, 703 ), 704 'time' => array( 705 'datetime' => true, 706 'class' => true, 707 'data-bp-timestamp' => true, 708 ), 709 ) 710 ); 702 711 } 703 712
Note: See TracChangeset
for help on using the changeset viewer.