mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 18:43:43 +03:00
Theme: Apply coding standards.
This commit is contained in:
parent
7174ae2fb6
commit
4d80fcb733
|
@ -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' };
|
||||||
|
|
Loading…
Reference in a new issue