Changeset 3246258
- Timestamp:
- 02/25/2025 08:38:24 AM (13 months ago)
- Location:
- webtexttool/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
admin/class-webtexttool-admin.php (modified) (3 diffs)
-
webtexttool.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
webtexttool/trunk/README.txt
r3200807 r3246258 4 4 Requires at least: 3.5 or higher 5 5 Tested up to: 6.7 6 Stable tag: 3.6. 16 Stable tag: 3.6.2 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 84 84 85 85 == Changelog == 86 87 = 3.6.2 = 88 89 Release Date: February 25th, 2025 90 91 * Fix: missing authorization to authenticated (Subscriber) settings update. Credits to @truonghuuphuc 86 92 87 93 = 3.6.1 = -
webtexttool/trunk/admin/class-webtexttool-admin.php
r2396001 r3246258 507 507 $action = $this->get_webtexttoolnonce_action(); // text used to generate or check the nonce. 508 508 $option_key = "webtexttool_auth"; 509 510 if (!current_user_can('edit_posts')) { 511 exit; 512 } 513 509 514 // check if the nonce and data exist, otherwise exit 510 515 if (array_key_exists('nonce', $_POST) && array_key_exists('data', $_POST)) { … … 547 552 $output = ["message" => 'server ajax failed']; // set default output message 548 553 $action = $this->get_webtexttoolnonce_action(); // text used to generate or check the nonce. 554 555 if (!current_user_can('edit_posts')) { 556 exit; 557 } 558 549 559 // check if the nonce and data exist, otherwise exit 550 560 if (array_key_exists('nonce', $_POST) && array_key_exists('data', $_POST)) { … … 553 563 $post_data = $_POST['data']; 554 564 555 update_option('tm_doctypes', $post_data );565 update_option('tm_doctypes', $post_data, false); 556 566 $output['message'] = 'success'; 557 567 } -
webtexttool/trunk/webtexttool.php
r3144192 r3246258 7 7 * Plugin URI: https://www.textmetrics.com 8 8 * Description: Textmetrics is the easiest way to create SEO proof content to rank higher and get more traffic. Realtime optimization, keyword research and more. 9 * Version: 3.6. 19 * Version: 3.6.2 10 10 * Author: Textmetrics 11 11 * Author URI: https://www.textmetrics.com … … 16 16 */ 17 17 18 define('WTT_VERSION', '3.6. 1');18 define('WTT_VERSION', '3.6.2'); 19 19 define('WTT_SHORT_URL', "api.textmetrics.com"); 20 20 define('WTT_BASE_API_URL', 'https://api.textmetrics.com/');
Note: See TracChangeset
for help on using the changeset viewer.