From e5a6fb449e94dd4061bd55af7aafc973a5d11723 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Fri, 22 Jul 2022 14:16:55 +0200 Subject: [PATCH] changed textdomain in plugin, removed outdated code --- hangar-wp-plugin.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/hangar-wp-plugin.php b/hangar-wp-plugin.php index bde595d..020f338 100644 --- a/hangar-wp-plugin.php +++ b/hangar-wp-plugin.php @@ -15,7 +15,7 @@ * Author URI: https://vitrubio.net/ * License: GPL 3.0 * License URI: https://www.gnu.org/licenses/gpl-3.0.html -* Text Domain: hangar-plugin +* Text Domain: hangar-wpplugin * Domain Path: /languages */ @@ -50,14 +50,14 @@ include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-init-textdomain.php'); include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-enable-svg.php'); -if ( is_admin() ) { - include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-stylesheet-admin.php'); -} else { - include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-stylesheet-public.php'); -} +include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-stylesheet-admin.php'); + +include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-stylesheet-public.php'); include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-custom-post-type-resources.php'); include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-tags-and-pages.php'); -//include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-tags-category-shortcode.php'); +//include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-tags-category-shortcode.php'); // outdated from 2012 do not use + +include( HANGAR_WPPLUGIN_PATH . 'includes/hangar-plugin-settings-pannel.php');