Theme: Apply coding standards.

This commit is contained in:
Ian Dunn 2021-05-04 08:49:04 -07:00
parent 7174ae2fb6
commit 4d80fcb733
No known key found for this signature in database
GPG key ID: 99B971B50343CBCB
2 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@ $more_text = sprintf(
); );
$content = apply_filters( 'the_content', $data['org-description'] ); $content = apply_filters( 'the_content', $data['org-description'] );
$content = strip_tags( $content ); $content = strip_tags( $content ); // phpcs:ignore WordPress.WP.AlternativeFunctions.strip_tags_strip_tags -- `we're the <strong>best</strong>` should keep "best" but remove the formatting.
$content = wp_trim_words( $content, 55, $more_text ); $content = wp_trim_words( $content, 55, $more_text );
$total_hours = $pledge->{ PledgeMeta\META_PREFIX . 'pledge-total-hours' }; $total_hours = $pledge->{ PledgeMeta\META_PREFIX . 'pledge-total-hours' };