From 3dcd7d878272d0cc4df3b2f9bfb5a2d6831bf8a9 Mon Sep 17 00:00:00 2001 From: Ricardo Aragon Date: Thu, 8 Sep 2022 09:09:37 -0300 Subject: [PATCH] fix: revert post content edition message --- inc/actions/namespace.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inc/actions/namespace.php b/inc/actions/namespace.php index afd0c44..58d3e72 100644 --- a/inc/actions/namespace.php +++ b/inc/actions/namespace.php @@ -234,8 +234,7 @@ function hide_catalog_content_editor() { if ( $template === 'page-catalog.php' ) { add_action( 'edit_form_after_title', function() { -// printf( '

%s

', __( 'This page displays your network catalog, so there is no content to edit.', 'pressbooks-aldine' ) ); - printf( '

%s

', __( 'Note for devs: We want to allow to edit it but with some restrictions', 'pressbooks-aldine' ) ); + printf( '

%s

', __( 'This page displays your network catalog, so there is no content to edit.', 'pressbooks-aldine' ) ); } ); remove_post_type_support( 'page', 'editor' );