diff --git a/assets/css/about-plugins-2.5.2.min.css b/assets/css/about-plugins-2.6.0.min.css similarity index 100% rename from assets/css/about-plugins-2.5.2.min.css rename to assets/css/about-plugins-2.6.0.min.css diff --git a/assets/js/script-form-2.5.2.min.js b/assets/js/script-form-2.6.0.min.js similarity index 98% rename from assets/js/script-form-2.5.2.min.js rename to assets/js/script-form-2.6.0.min.js index 427f376..ba15dbc 100644 --- a/assets/js/script-form-2.5.2.min.js +++ b/assets/js/script-form-2.6.0.min.js @@ -1 +1 @@ -!function(){"use strict";let r="",n="",a=!1;function s(e){e.target&&(e.target.style.color="#000")}function i(e){var t;e.target&&(t=document.getElementById("original-permalink"),document.getElementById("custom_permalink").value=e.target.value,""!==e.target.value&&e.target.value!==t.value||(e.target.value=t.value,e.target.style.color="#ddd"))}function d(){if(r&&wpApiSettings&&wpApiSettings.nonce){var e=document.getElementsByClassName("edit-post-post-link__preview-label"),t=document.getElementById("custom_permalinks_home_url");let i="";e&&e[0]&&e[0].parentNode.classList.add("cp-permalink-hidden"),(n=r.isSavingMetaBoxes())!==a&&!n&&t&&(e=wp.data.select("core/editor").getEditedPostAttribute("id"),i=new XMLHttpRequest,a=n,i.onreadystatechange=function(){if(4===i.readyState&&200===i.status){var e=JSON.parse(i.responseText);var a=document.getElementById("custom_permalinks_home_url"),o=document.getElementById("custom-permalinks-add");let t="",n="";if(document.getElementById("custom_permalink").value=e.custom_permalink,""===e.custom_permalink&&(e.custom_permalink=e.original_permalink),t=e.preview_permalink?a.value+e.preview_permalink:a.value+e.custom_permalink,document.getElementById("custom-permalinks-post-slug").value=e.custom_permalink,document.getElementById("original-permalink").value=e.original_permalink,document.querySelector("#view-post-btn a")&&(n=document.querySelector("#view-post-btn a").href,document.querySelector("#view-post-btn a").href=t),document.querySelector("a.editor-post-preview")&&(document.querySelector("a.editor-post-preview").href=t),""!==n){n=n.replace(/\//g,"/");let e=0;for(var l=document.querySelectorAll("body a"),r=new RegExp(n,"g"),s=l.length;e + * Copyright 2008-2024 Sami Ahmed Siddiqui * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/includes/class-custom-permalinks.php b/includes/class-custom-permalinks.php index c2e9c05..3b04803 100644 --- a/includes/class-custom-permalinks.php +++ b/includes/class-custom-permalinks.php @@ -18,7 +18,7 @@ class Custom_Permalinks { * * @var string */ - public $version = '2.5.2'; + public $version = '2.6.0'; /** * Class constructor. diff --git a/package.json b/package.json index 8023809..1ed2965 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "custom-permalinks", "description": "Development files for the Custom Permalinks plugin.", - "version": "2.5.2", + "version": "2.6.0", "repository": { "type": "git", "url": "https://github.com/samiahmedsiddiqui/custom-permalinks.git" diff --git a/readme.txt b/readme.txt index 758c1c9..50f47e9 100644 --- a/readme.txt +++ b/readme.txt @@ -1,8 +1,8 @@ === Custom Permalinks === Contributors: sasiddiqui Tags: permalink, url, link, address, redirect, custom post type -Tested up to: 6.1 -Stable tag: 2.5.2 +Tested up to: 6.6 +Stable tag: 2.6.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -183,6 +183,11 @@ This process defines you the steps to follow either you are installing through W == Changelog == += 2.6.0 - Aug 15, 2024 = + +* Feature Additions: + * Compatibility with PolyLang Plugin + = 2.5.2 - Feb 14, 2023 = * Bug