From fe8c1add01af0a23a4fd1a3b22ff8227241dbcf6 Mon Sep 17 00:00:00 2001 From: Marcus Quinn Date: Sat, 15 Mar 2025 02:22:00 +0000 Subject: [PATCH] Fix Workflow tab toggle layout: - Match exactly the General and Advanced tabs structure - Add proper input ID and for attributes - Remove section description --- admin/settings.php | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/admin/settings.php b/admin/settings.php index 36e1094..e048801 100644 --- a/admin/settings.php +++ b/admin/settings.php @@ -836,11 +836,11 @@ function wpa_superstar_workflow_section() { // Register Workflow settings register_setting('wpa_superstar_workflow', 'wpa_superstar_workflow_options'); - // Add Workflow section + // Add Workflow section without title or description add_settings_section( 'wpa_superstar_workflow_section', - '', // Keep section title empty - 'wpa_superstar_workflow_section_callback', + '', + '__return_empty_string', 'wpa_superstar_workflow' ); @@ -854,22 +854,20 @@ function wpa_superstar_workflow_section() { ); } -function wpa_superstar_workflow_section_callback() { - echo '

Quality of life features to save time and from inconsistancies with your content management.

'; -} - -// Add Auto Upload Images setting function wpa_superstar_auto_upload_images_callback() { $options = get_option('wpa_superstar_workflow_options', array( 'auto_upload_images' => false )); ?>
-