Changeset 3334996
- Timestamp:
- 07/27/2025 09:09:01 PM (5 months ago)
- Location:
- advanced-shortcodes/trunk
- Files:
-
- 6 added
- 13 edited
-
advanced-shortcodes.php (modified) (4 diffs)
-
assets/css/admin-rtl.css (added)
-
assets/css/admin.asset.php (added)
-
assets/css/admin.css (added)
-
assets/css/frontend-rtl.css (added)
-
assets/css/frontend.asset.php (added)
-
assets/css/frontend.css (added)
-
composer.json (modified) (2 diffs)
-
includes/Admin/Admin.php (modified) (1 diff)
-
includes/Admin/views/settings.php (modified) (1 diff)
-
includes/Plugin.php (modified) (1 diff)
-
languages/advanced-shortcodes.pot (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
-
vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
advanced-shortcodes/trunk/advanced-shortcodes.php
r3154097 r3334996 4 4 * Plugin URI: https://beautifulplugins.com/advanced-shortcodes/ 5 5 * Description: Advanced Shortcodes is a powerful and user-friendly WordPress plugin designed to help you manage shortcodes across your website. 6 * Version: 1. 1.06 * Version: 1.2.0 7 7 * Requires at least: 5.0 8 8 * Requires PHP: 7.4 9 9 * Author: BeautifulPlugins 10 10 * Author URI: https://beautifulplugins.com 11 * License: GPL v2 or later11 * License: GPLv2 or later 12 12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 * Text Domain: advanced-shortcodes … … 16 16 * @package AdvancedShortcodes 17 17 * 18 * This program is free software; you can redistribute it and/or modify 19 * it under the terms of the GNU General Public License as published by 20 * the Free Software Foundation; either version 3 of the License, or 21 * (at your option) any later version. 18 * Advanced Shortcodes is a plugin that helps you manage and use shortcodes effectively in your WordPress site. 22 19 * 23 * This program is distributed in the hope that it will be useful, 24 * but WITHOUT ANY WARRANTY; without even the implied warranty of 25 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 * GNU General Public License for more details. 20 * Advanced Shortcodes is a free software: you can redistribute it and/or modify 21 * it under the terms of the GNU General Public License as published by 22 * the Free Software Foundation, either version 2 of the License, or 23 * any later version. 24 * 25 * Advanced Shortcodes is distributed in the hope that it will be useful, 26 * but WITHOUT ANY WARRANTY; without even the implied warranty of 27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 * GNU General Public License for more details. 29 * 30 * You should have received a copy of the GNU General Public License 31 * along with Advanced Shortcodes. If not, see https://www.gnu.org/licenses/gpl-2.0.html 27 32 */ 28 33 … … 31 36 defined( 'ABSPATH' ) || exit; // Exit if accessed directly. 32 37 33 /** 34 * Autoload function. 35 * This will autoload classes. 36 * 37 * @since 1.0.0 38 */ 38 // Include the optimized autoloader. 39 39 require_once __DIR__ . '/vendor/autoload.php'; 40 40 … … 43 43 * 44 44 * @since 1.0.0 45 * @return Plugin 45 * @return Plugin plugin initialize class. 46 46 */ 47 47 function advanced_shortcodes() { 48 return Plugin::create( __FILE__, '1. 1.0' );48 return Plugin::create( __FILE__, '1.2.0' ); 49 49 } 50 50 -
advanced-shortcodes/trunk/composer.json
r3154097 r3334996 7 7 "prefer-stable": true, 8 8 "minimum-stability": "dev", 9 "repositories": [ 10 { 11 "url": "[email protected]:wpfresher/wpfresher-sniffs.git", 12 "type": "github" 13 } 14 ], 9 "repositories": [], 10 "require-dev": {}, 15 11 "require": { 16 12 "php": ">=7.4" 17 },18 "require-dev": {19 "wpfresher/wpfresher-sniffs": "dev-master"20 13 }, 21 14 "autoload": { … … 38 31 "post-update-cmd": [ 39 32 "composer dump-autoload" 40 ], 41 "phpcs": "@php ./vendor/bin/phpcs --standard=phpcs.xml -s -v", 42 "phpcbf": "@php ./vendor/bin/phpcbf --standard=phpcs.xml -v" 33 ] 43 34 }, 44 35 "extra": {} -
advanced-shortcodes/trunk/includes/Admin/Admin.php
r3154089 r3334996 233 233 public function enqueue_scripts( $hook ) { 234 234 if ( 'toplevel_page_advanced-shortcodes' === $hook || 'shortcodes_page_ascodes-settings' === $hook ) { 235 wp_enqueue_style( 'ascodes-admin', ASCODES_URL . 'assets/css/a scodes-admin.css', array(), ASCODES_VERSION );235 wp_enqueue_style( 'ascodes-admin', ASCODES_URL . 'assets/css/admin.css', array(), ASCODES_VERSION ); 236 236 } 237 237 } -
advanced-shortcodes/trunk/includes/Admin/views/settings.php
r3154097 r3334996 95 95 <ul> 96 96 <li> 97 <a href="https://wordpress.org/plugins/utm-manager/" target="_blank"> 98 <?php esc_html_e( 'UTM Manager', 'advanced-shortcodes' ); ?> 97 <span><i class="dashicons dashicons-arrow-right"></i></span> 98 <a href="https://wordpress.org/plugins/ai-content-writer/" target="_blank"> 99 <?php esc_html_e( 'AI Content Writer – Automatic Content Generator and Auto Poster', 'advanced-shortcodes' ); ?> 100 </a> 101 </li> 102 <li> 103 <span><i class="dashicons dashicons-arrow-right"></i></span> 104 <a href="https://wordpress.org/plugins/send-emails/" target="_blank"> 105 <?php esc_html_e( 'Send Emails – Newsletters, Automation & Email Marketing for WordPress', 'advanced-shortcodes' ); ?> 106 </a> 107 </li> 108 <li> 109 <span><i class="dashicons dashicons-arrow-right"></i></span> 110 <a href="https://wordpress.org/plugins/essential-elements/" target="_blank"> 111 <?php esc_html_e( 'Essential Elements for WordPress', 'advanced-shortcodes' ); ?> 112 </a> 113 </li> 114 <li> 115 <span><i class="dashicons dashicons-arrow-right"></i></span> 116 <a href="https://wordpress.org/plugins/post-showcase/" target="_blank"> 117 <?php esc_html_e( 'Post Showcase', 'advanced-shortcodes' ); ?> 99 118 </a> 100 119 </li> -
advanced-shortcodes/trunk/includes/Plugin.php
r3154089 r3334996 218 218 public function enqueue_scripts() { 219 219 if ( ! is_admin() ) { 220 wp_enqueue_style( 'ascodes-frontend', ASCODES_ASSETS_URL . 'css/ ascodes-frontend.css', array(), ASCODES_VERSION );220 wp_enqueue_style( 'ascodes-frontend', ASCODES_ASSETS_URL . 'css/frontend.css', array(), ASCODES_VERSION ); 221 221 } 222 222 } -
advanced-shortcodes/trunk/languages/advanced-shortcodes.pot
r3154097 r3334996 1 # Copyright (C) 202 4BeautifulPlugins2 # This file is distributed under the GPL v2 or later.3 msgid "" 4 msgstr "" 5 "Project-Id-Version: Shortcodes - Advanced Shortcode Manager 1. 1.0\n"1 # Copyright (C) 2025 BeautifulPlugins 2 # This file is distributed under the GPLv2 or later. 3 msgid "" 4 msgstr "" 5 "Project-Id-Version: Shortcodes - Advanced Shortcode Manager 1.2.0\n" 6 6 "Report-Msgid-Bugs-To: https://beautifulplugins.com/support/\n" 7 "POT-Creation-Date: 202 4-09-18 18:55:14+00:00\n"7 "POT-Creation-Date: 2025-07-27 20:01:36+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 "PO-Revision-Date: 202 4-MO-DA HO:MI+ZONE\n"11 "PO-Revision-Date: 2025-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" 13 13 "Language-Team: LANGUAGE <[email protected]>\n" … … 304 304 msgstr "" 305 305 306 #: includes/Admin/views/settings.php:98 307 msgid "UTM Manager" 306 #: includes/Admin/views/settings.php:99 307 msgid "AI Content Writer – Automatic Content Generator and Auto Poster" 308 msgstr "" 309 310 #: includes/Admin/views/settings.php:105 311 msgid "Send Emails – Newsletters, Automation & Email Marketing for WordPress" 312 msgstr "" 313 314 #: includes/Admin/views/settings.php:111 315 msgid "Essential Elements for WordPress" 316 msgstr "" 317 318 #: includes/Admin/views/settings.php:117 319 msgid "Post Showcase" 308 320 msgstr "" 309 321 -
advanced-shortcodes/trunk/readme.txt
r3154097 r3334996 2 2 Contributors: beautifulplugins 3 3 Tags: shortcode, shortcodes, shortcode manager, short code, advanced shortcodes 4 Requires at least: 5.0 5 Tested up to: 6.6 6 Stable tag: 1.1.0 7 Requires PHP: 7.4 4 Tested up to: 6.8 5 Stable tag: 1.2.0 8 6 License: GPLv2 or later 9 7 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 104 102 105 103 == Changelog == 104 = 1.2.0 (28 July 2024) = 105 * Fix: Resolved few minor issues. 106 * Compatibility: Updated plugin to be compatible with WordPress 6.8. 107 106 108 = 1.1.0 (19 September 2024) = 107 109 * New: Updated plugin details. -
advanced-shortcodes/trunk/vendor/autoload.php
r3154097 r3334996 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 23 20 require_once __DIR__ . '/composer/autoload_real.php'; 24 21 25 return ComposerAutoloaderInit 78ee5df60b0b9f566815ce0f5972f8b0::getLoader();22 return ComposerAutoloaderInitb86b4815a43f34178d03c32bec4ff50c::getLoader(); -
advanced-shortcodes/trunk/vendor/composer/InstalledVersions.php
r3154089 r3334996 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
advanced-shortcodes/trunk/vendor/composer/autoload_real.php
r3154097 r3334996 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 78ee5df60b0b9f566815ce0f5972f8b05 class ComposerAutoloaderInitb86b4815a43f34178d03c32bec4ff50c 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 78ee5df60b0b9f566815ce0f5972f8b0', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitb86b4815a43f34178d03c32bec4ff50c', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 78ee5df60b0b9f566815ce0f5972f8b0', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitb86b4815a43f34178d03c32bec4ff50c', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 78ee5df60b0b9f566815ce0f5972f8b0::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitb86b4815a43f34178d03c32bec4ff50c::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
advanced-shortcodes/trunk/vendor/composer/autoload_static.php
r3154097 r3334996 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 78ee5df60b0b9f566815ce0f5972f8b07 class ComposerStaticInitb86b4815a43f34178d03c32bec4ff50c 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 34 34 { 35 35 return \Closure::bind(function () use ($loader) { 36 $loader->prefixLengthsPsr4 = ComposerStaticInit 78ee5df60b0b9f566815ce0f5972f8b0::$prefixLengthsPsr4;37 $loader->prefixDirsPsr4 = ComposerStaticInit 78ee5df60b0b9f566815ce0f5972f8b0::$prefixDirsPsr4;38 $loader->classMap = ComposerStaticInit 78ee5df60b0b9f566815ce0f5972f8b0::$classMap;36 $loader->prefixLengthsPsr4 = ComposerStaticInitb86b4815a43f34178d03c32bec4ff50c::$prefixLengthsPsr4; 37 $loader->prefixDirsPsr4 = ComposerStaticInitb86b4815a43f34178d03c32bec4ff50c::$prefixDirsPsr4; 38 $loader->classMap = ComposerStaticInitb86b4815a43f34178d03c32bec4ff50c::$classMap; 39 39 40 40 }, null, ClassLoader::class); -
advanced-shortcodes/trunk/vendor/composer/installed.php
r3154097 r3334996 2 2 'root' => array( 3 3 'name' => 'beautifulplugins/advanced-shortcodes', 4 'pretty_version' => 'v1. 1.0',5 'version' => '1. 1.0.0',6 'reference' => ' 1a8c17e78829bc40538c5030ec29965bb893bb73',4 'pretty_version' => 'v1.2.0', 5 'version' => '1.2.0.0', 6 'reference' => '806f3e770d2b18d7bd0e15ecaf60e415eea5f635', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'beautifulplugins/advanced-shortcodes' => array( 14 'pretty_version' => 'v1. 1.0',15 'version' => '1. 1.0.0',16 'reference' => ' 1a8c17e78829bc40538c5030ec29965bb893bb73',14 'pretty_version' => 'v1.2.0', 15 'version' => '1.2.0.0', 16 'reference' => '806f3e770d2b18d7bd0e15ecaf60e415eea5f635', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', -
advanced-shortcodes/trunk/vendor/composer/platform_check.php
r3154089 r3334996 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.