From a2290cdf3ec5894b556de534b8048376d3e3d69b Mon Sep 17 00:00:00 2001 From: Seagyn Davis Date: Tue, 9 Nov 2021 23:17:29 +0200 Subject: [PATCH] fix template regression --- readme.txt | 8 ++++++-- src/template-tags.php | 4 +++- the-social-links.php | 6 +++--- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/readme.txt b/readme.txt index 08053b2..c0f5af4 100755 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: Seags Tags: social, social bookmarks, social links, social networking Requires at least: 4.8 -Tested up to: 5.4 -Stable tag: 2.0.4 +Tested up to: 5.8.1 +Stable tag: 2.0.5 Requires PHP: 5.6 License: GPL2 License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -82,6 +82,10 @@ You can change the order on your settings page. == Changelog == += 2.0.5 = + +Fix regression in template tag. + = 2.0.3 = * Really add Telegram diff --git a/src/template-tags.php b/src/template-tags.php index edbe66c..029349b 100644 --- a/src/template-tags.php +++ b/src/template-tags.php @@ -2,12 +2,14 @@ /** * Template tag functions. * - * @package SouthAfricaCovid19Banner + * @package TheSocialLinks */ /** * Displays the links with a template tag. */ function the_social_links() { + \SeagynDavis\TheSocialLinks\enqueue_public_scripts(); + include_once 'html/links.php'; } diff --git a/the-social-links.php b/the-social-links.php index f2adb68..9c35bf7 100644 --- a/the-social-links.php +++ b/the-social-links.php @@ -11,7 +11,7 @@ * Plugin Name: The Social Links * Plugin URI: https://github.com/seagyn/the-social-links * Description: The Social Links plugin adds a widget and shortcode to your WordPress website allowing you to display icons linking to your social profiles. - * Version: 2.0.4 + * Version: 2.0.5 * Requires at least: 4.2 * Requires PHP: 5.6 * Author: Seagyn Davis @@ -19,7 +19,7 @@ * License: GPL2 * Text Domain: the-social-links * - * Copyright 2020 Seagyn Davis + * Copyright 2021 Seagyn Davis * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License, @@ -37,7 +37,7 @@ namespace SeagynDavis\TheSocialLinks; -define( 'THE_SOCIAL_LINKS_VERSION', '2.0.3' ); +define( 'THE_SOCIAL_LINKS_VERSION', '2.0.5' ); define( 'THE_SOCIAL_LINKS_DIR', plugin_dir_path( __FILE__ ) ); define( 'THE_SOCIAL_LINKS_URL', plugin_dir_url( __FILE__ ) );