Changeset 3260579
- Timestamp:
- 03/24/2025 06:50:32 AM (9 months ago)
- File:
-
- 1 edited
-
wpforo/tags/2.4.4/includes/functions-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpforo/tags/2.4.4/includes/functions-template.php
r3260571 r3260579 2737 2737 if ( $paged === 1 && $key == 0 ) continue; 2738 2738 $post_member = wpforo_member( $post['userid'] ); 2739 $post_text = wpforo_text( s anitize_text_field( $post['body']), 5000, false );2739 $post_text = wpforo_text( stripslashes( sanitize_text_field( $post['body'] ) ), 5000, false ); 2740 2740 $post_images = wpforo_generate_scheme_image_object( $post['body'] ); 2741 2741 if( !$post_text && !$post_images ) continue; … … 2768 2768 "mainEntityOfPage": "' . esc_url_raw($topic['url']) . '", 2769 2769 "headline": "' . esc_attr( $topic_post['title'] ) . '", 2770 "text": "' . esc_attr( wpforo_text( s anitize_text_field( $topic_post['body']), 5000, false ) ) . '",2770 "text": "' . esc_attr( wpforo_text( stripslashes( sanitize_text_field( $topic_post['body'] ) ), 5000, false ) ) . '", 2771 2771 ' . $topic_images . ' 2772 2772 "url": "' . esc_url_raw($topic['url']) . '",
Note: See TracChangeset
for help on using the changeset viewer.