Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@b035cf1 from refs/heads/release/5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Feb 15, 2024
1 parent 718cc02 commit b0cdbd4
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,6 @@ public function setup_extra_wp_post_object_fields( $post_object ) {
// Data is actually loaded here with the opportunity for other platform plugins to hook in and add their own data. @see post-report-package
$ref_post = apply_filters( 'prc_platform_wp_post_object', $ref_post );

// Enforce some title conventions.
// Convert % to percent.
$ref_post['post_title'] = str_replace( '%', 'percent', $ref_post['post_title'] );

if ( is_wp_error( $ref_post ) ) {
return $ref_post;
}
Expand Down

0 comments on commit b0cdbd4

Please sign in to comment.