From 49b923230f2c35972d2bb76d423057636a733a3e Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Thu, 13 Nov 2025 23:05:17 -0600 Subject: [PATCH] =?UTF-8?q?fix:=20desactivar=20registros=20duplicados=20de?= =?UTF-8?q?=20men=C3=BA=20en=20Apariencia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Comentar add_theme_page() en inc/admin/theme-options.php - Comentar add_theme_page() en admin/theme-options/theme-options.php - Estos archivos viejos estaban registrando 'Theme Options' en menĂº Apariencia - Ahora solo se usa el nuevo registro en admin/includes/class-admin-menu.php - Elimina conflicto que mostraba el menĂº en dos lugares --- admin/theme-options/theme-options.php | 3 +++ inc/admin/theme-options.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/admin/theme-options/theme-options.php b/admin/theme-options/theme-options.php index 18d79368..ee695529 100644 --- a/admin/theme-options/theme-options.php +++ b/admin/theme-options/theme-options.php @@ -13,7 +13,9 @@ if (!defined('ABSPATH')) { /** * Add admin menu + * DESACTIVADO: Ahora se usa el nuevo Admin Panel en admin/includes/class-admin-menu.php */ +/* function apus_add_admin_menu() { add_theme_page( __('Apus Theme Options', 'apus-theme'), // Page title @@ -25,6 +27,7 @@ function apus_add_admin_menu() { ); } add_action('admin_menu', 'apus_add_admin_menu'); +*/ /** * Render the options page diff --git a/inc/admin/theme-options.php b/inc/admin/theme-options.php index a22c75fa..de75cd82 100644 --- a/inc/admin/theme-options.php +++ b/inc/admin/theme-options.php @@ -13,7 +13,9 @@ if (!defined('ABSPATH')) { /** * Add admin menu + * DESACTIVADO: Ahora se usa el nuevo Admin Panel en admin/includes/class-admin-menu.php */ +/* function apus_add_admin_menu() { add_theme_page( __('Apus Theme Options', 'apus-theme'), // Page title @@ -25,6 +27,7 @@ function apus_add_admin_menu() { ); } add_action('admin_menu', 'apus_add_admin_menu'); +*/ /** * Render the options page