=== Effortless Shortcode Insertion === Contributors: domclic Tags: shortcodes, custom shortcodes, wordpress shortcodes, content management Requires at least: 5.0 Tested up to: 6.8 Stable tag: 1.0.20 Requires PHP: 7.0 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Easily manage and insert custom shortcodes in WordPress to display dynamic content. == Description == Effortless Shortcode Insertion is a lightweight WordPress plugin that allows you to create, manage, and insert custom shortcodes with ease. It includes a set of built-in shortcodes for common dynamic content and provides an intuitive interface to add your own. Features: Built-in shortcodes for current URL, page title, site info, user data, and more. Add custom shortcodes via an admin interface. Import/export shortcodes for easy migration. Secure and sanitized inputs to ensure safety. Translation-ready with support for multiple languages. == Installation == Upload the effortless-shortcode-insertion folder to the /wp-content/plugins/ directory. Activate the plugin through the 'Plugins' menu in WordPress. Navigate to Settings > Effortless Shortcodes to manage your shortcodes. == Frequently Asked Questions == = How do I use a shortcode? = Simply add the shortcode (e.g., [site_title]) to your posts, pages, or widgets where you want the content to appear. = Can I create my own shortcodes? = Yes! Go to Settings > Effortless Shortcodes and use the "Add New Shortcode" form to create custom shortcodes. = Are the shortcodes secure? = All inputs are sanitized and validated to ensure security and compatibility with WordPress standards. = Can I import/export shortcodes? = Yes, the plugin supports importing and exporting shortcodes in JSON format via the admin interface. == Screenshots == Admin interface for managing shortcodes. Adding a new custom shortcode. List of built-in shortcodes. == Changelog == = 1.0.20 = Minors changes = 1.0.19 = Removed wrong links = 1.0.18 = Renamed main plugin file to class-effortless-shortcode-insertion.php for PHPCS compliance. Removed trailing whitespace in HTML form section. Fixed equals sign alignment in save_shortcode method. Replaced short ternary with full if-else in handle_shortcode method. = 0.1.17 = Fixed security warning for non-sanitized $_POST['shortcodes']. = 0.1.16 = Fixed security warning for non-sanitized $_POST['shortcodes'] by restructuring condition to avoid direct access before sanitization. Ensured no sanitization warnings at line 316 or 318 for full PHPCS compliance. = 0.1.15 = Fixed security warning for non-sanitized $_POST['shortcodes'] by using isset for validation before access. Ensured no direct superglobal access before sanitization for full PHPCS compliance. = 0.1.14 = Fixed security warning for non-sanitized $_POST['shortcodes'] by avoiding direct access in condition checks. Improved input validation for submit_update to ensure PHPCS compliance. = 0.1.13 = Fixed security warnings for non-validated and non-sanitized $_POST['shortcodes'] input in save_shortcode method. Added isset check for $_POST['shortcodes'] to prevent undefined index notices. = 0.1.12 = Fixed security warning for non-sanitized $_POST['shortcodes'] input before ! empty check in save_shortcode method. = 0.1.11 = Fixed security warning for non-sanitized $_POST['shortcodes'] input before is_array check in save_shortcode method. Ensured early sanitization of shortcode data for full PHPCS compliance. = 0.1.10 = Fixed security warnings for non-sanitized $_POST['shortcodes'] input in save_shortcode method. Improved early sanitization of shortcode data for better security compliance. = 0.1.9 = Fixed security warnings for non-sanitized inputs ($_POST['append_value'], $_POST['shortcodes'], $_FILES['import_file']). Improved sanitization of form inputs for better security. = 0.1.8 = Fixed fatal error in handle_shortcode method causing site to break. Resolved security warnings for non-sanitized and non-validated inputs ($_POST['shortcodes'], $_POST['elsci_nonce']). Improved input validation and sanitization for better security. = 0.1.5 = Fixed security issues with input sanitization and validation. Replaced parse_url with wp_parse_url for consistency. Used gmdate instead of date for timezone-safe year display. = 0.1.0 = Initial release. == Upgrade Notice == = 1.0.20 = Minors changes = 1.0.19 = Removed wrong links = 1.0.18 = This update includes PHPCS compliance fixes: renamed main file, removed trailing whitespace, fixed alignment, and replaced short ternary. Update for improved code quality and compliance. = 0.1.17 = This update resolves the security warning for non-sanitized $_POST['shortcodes']. Update for enhanced security. = 0.1.16 = This update resolves the security warning for non-sanitized $_POST['shortcodes'] at line 316, ensuring no warnings at line 318 or elsewhere. Update immediately for full PHPCS compliance. = 0.1.15 = This update resolves the security warning for non-sanitized $_POST['shortcodes'] by using isset for safe validation, ensuring full PHPCS compliance. Update immediately for enhanced security. = 0.1.14 = This update resolves the security warning for non-sanitized shortcode inputs by restructuring validation logic, ensuring full PHPCS compliance. Update immediately for enhanced security. = 0.1.13 = This update resolves security warnings for non-validated and non-sanitized shortcode inputs, adding proper validation to prevent undefined index issues. Update immediately for enhanced security. = 0.1.12 = This update resolves a security warning for non-sanitized shortcode inputs before the empty check, ensuring full compliance with WordPress standards. Update immediately for enhanced security. = 0.1.11 = This update resolves a remaining security warning for non-sanitized shortcode inputs, ensuring full compliance with WordPress standards. Update immediately for enhanced security. = 0.1.10 = This update resolves security warnings for non-sanitized shortcode inputs, enhancing plugin security. Update immediately to ensure compliance with WordPress standards. = 0.1.9 = This update addresses security warnings for non-sanitized inputs, improving the plugin's security. Update immediately to ensure safe operation. = 0.1.8 = This update fixes a critical bug that caused the site to break and addresses security warnings. Update immediately to restore functionality and improve security. == Arbitrary section == For support, please visit domclic.com or contact the author at daviddeflache@domclic.com.