From b0cdbd4dcf37ecad1b381f1c0f527b747a89197c Mon Sep 17 00:00:00 2001 From: prcdevgitbot Date: Thu, 15 Feb 2024 19:26:40 +0000 Subject: [PATCH] See https://github.com/pewresearch/pewresearch-org/commit/b035cf1799bd9bb1f8c93d35253757c361cce2cc from refs/heads/release/5.0 --- .../post-publish-pipeline/class-post-publish-pipeline.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/post-publish-pipeline/class-post-publish-pipeline.php b/includes/post-publish-pipeline/class-post-publish-pipeline.php index e473d980..0eece136 100644 --- a/includes/post-publish-pipeline/class-post-publish-pipeline.php +++ b/includes/post-publish-pipeline/class-post-publish-pipeline.php @@ -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; }