From ca69da04e57bd33bd8089c6f2df65da600e020b5 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Wed, 14 Oct 2020 12:06:25 -0500 Subject: [PATCH 1/2] phpcs updates in PostTypeColumnSupport.php --- includes/ConvertToBlocks/PostTypeColumnSupport.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/includes/ConvertToBlocks/PostTypeColumnSupport.php b/includes/ConvertToBlocks/PostTypeColumnSupport.php index a30553b..29530e5 100644 --- a/includes/ConvertToBlocks/PostTypeColumnSupport.php +++ b/includes/ConvertToBlocks/PostTypeColumnSupport.php @@ -108,11 +108,11 @@ class="dashicons " title="" > - %s', esc_attr( $title ) ); - } - ?> + %s', esc_attr( $title ) ); + } + ?> Date: Wed, 14 Oct 2020 12:13:44 -0500 Subject: [PATCH 2/2] Update PostTypeColumnSupport.php ok fine unindent more places --- includes/ConvertToBlocks/PostTypeColumnSupport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/ConvertToBlocks/PostTypeColumnSupport.php b/includes/ConvertToBlocks/PostTypeColumnSupport.php index 29530e5..83a65ae 100644 --- a/includes/ConvertToBlocks/PostTypeColumnSupport.php +++ b/includes/ConvertToBlocks/PostTypeColumnSupport.php @@ -109,9 +109,9 @@ class="dashicons " > %s', esc_attr( $title ) ); - } + if ( apply_filters( 'convert_to_blocks_show_admin_column_title', true ) ) { + printf( '%s', esc_attr( $title ) ); + } ?>