Changeset 3284230
- Timestamp:
- 04/29/2025 03:46:16 PM (11 months ago)
- Location:
- th23-contact/trunk
- Files:
-
- 4 edited
-
inc/th23-admin-class.php (modified) (4 diffs)
-
readme.txt (modified) (6 diffs)
-
th23-contact-admin.php (modified) (4 diffs)
-
th23-contact.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
th23-contact/trunk/inc/th23-admin-class.php
r3281105 r3284230 1 1 <?php 2 2 /* 3 th23 Admin 3 th23 Admin (adjusted for WP.org) 4 4 Basic admin functionality 5 Version: 1.6. 15 Version: 1.6.2-wp 6 6 7 7 Coded 2024-2025 by Thorsten Hartmann (th23) … … 16 16 } 17 17 18 if(!class_exists('th23_admin_v16 1')) {19 class th23_admin_v16 1{18 if(!class_exists('th23_admin_v162')) { 19 class th23_admin_v162 { 20 20 21 21 private $parent; … … 87 87 88 88 // Add supporting information (eg links and notices) to plugin row in plugin overview page 89 // note: AnyCSS styling needs to be "hardcoded" here as plugin CSS might not be loaded (e.g. when plugin deactivated)89 // note: CSS styling needs to be "hardcoded" here as plugin CSS might not be loaded (e.g. when plugin deactivated) 90 90 function contact_link($links, $file) { 91 91 if($this->parent->plugin['basename'] == $file) { … … 865 865 if(!empty($shared_options[$option]) && $current_value != $shared_options[$option]['value'] && $this->parent->plugin['data']['Name'] != $shared_options[$option]['plugin']) { 866 866 $html .= '<span class="shared-option"></span>'; 867 /* translators: parses in plugin name */ 867 868 $shared = '<span class="shared dashicons dashicons-edit" data-target="' . esc_attr($element_name) . '" data-shared="' . $shared_options[$option]['value'] . '" title="' . esc_attr(sprintf($this->__('Copy from %s'), $shared_options[$option]['plugin'])) . '"></span>'; 868 869 } -
th23-contact/trunk/readme.txt
r3281092 r3284230 5 5 Requires at least: 4.2 6 6 Tested up to: 6.8 7 Stable tag: 3.1. 07 Stable tag: 3.1.1 8 8 Requires PHP: 8.0 9 9 License: GPL-3.0 … … 29 29 * **Fight spam and bots** without unnecessary hurdles (admittedly it's a compromise) 30 30 31 See it in action on my [Contact page](https://th 23.net/contact/).31 See it in action on my [Contact page](https://thorstenhartmann.de/kontakt/). 32 32 33 33 = Usage = … … 57 57 == Frequently Asked Questions == 58 58 59 = Despite reCaptcha being activated, **I receive many spam contact messages**? =59 = Despite reCaptcha being activated, I receive many spam contact messages? = 60 60 61 61 reCaptcha is around for a long time and available in various versions. Its version 2 was added to this plugin some years ago. Unfortunately with latest advances in computing, **it has to be considered "broken" by now**. … … 63 63 Since version 3.1.0 of this plugin, there is (additionally) the **option to use Akismet to detect spam**. It uses a much broader approach and thus for now seems to show significatly better detection of spam. **Activate it on the plugins settings page**. 64 64 65 = Can the plugin be activated on **multiple selected pages / posts only**? =65 = Can the plugin be activated on multiple selected pages / posts only? = 66 66 67 67 You can enable the block / shortcode for selected pages / posts only to **save your users unnecessarily loading JavaScript and CSS files**. … … 80 80 81 81 == Changelog == 82 83 = v3.1.1 = 84 85 * enhancement: upgrade to th23 Plugin Info class 1.0.0 86 * fix: upgrade to th23 Admin class 1.6.2 82 87 83 88 = v3.1.0 = … … 119 124 == Upgrade Notice == 120 125 126 = v3.1.1 = 127 128 * n/a 129 121 130 = v3.1.0 = 122 131 -
th23-contact/trunk/th23-contact-admin.php
r3281092 r3284230 1 1 <?php 2 /*3 th23 Contact4 Admin area5 6 Coded 2012-2025 by Thorsten Hartmann (th23)7 https://th23.net/8 */9 2 10 3 // Security - exit if accessed directly … … 39 32 if(file_exists($this->plugin['dir_path'] . '/inc/th23-admin-class.php')) { 40 33 require($this->plugin['dir_path'] . '/inc/th23-admin-class.php'); 41 $this->admin = new th23_admin_v16 1($this);34 $this->admin = new th23_admin_v162($this); 42 35 } 43 36 if(!empty($this->admin)) { … … 81 74 // note: need to populate $this->i18n earliest at init hook to get user locale 82 75 $this->i18n = array( 76 'Plugin' => __('Plugin', 'th23-specials'), 83 77 'Settings' => __('Settings', 'th23-contact'), 84 78 /* translators: parses in plugin version number */ … … 94 88 /* translators: parses in plugin author name / link */ 95 89 'By %s' => __('By %s', 'th23-contact'), 90 'View details' => __('View details', 'th23-specials'), 96 91 'Visit plugin site' => __('Visit plugin site', 'th23-contact'), 97 92 'Error' => __('Error', 'th23-contact'), -
th23-contact/trunk/th23-contact.php
r3281092 r3284230 2 2 /* 3 3 Plugin Name: th23 Contact 4 Description: Simple contact form via block or legacy shortcode, optional spam and bot protection for messages by not-registered visitors 5 Version: 3.1.0 6 Author: Thorsten Hartmann (th23) 7 Author URI: https://th23.net 8 License: GPL-3.0-or-later 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html 4 5 Description: Simple contact form via block or legacy shortcode with optional spam protection via Akismet and reCaptcha 6 Plugin URI: https://github.com/th23x/th23-contact 7 8 Author: Thorsten (th23) 9 Author URI: https://thorstenhartmann.de 10 Author IMG: https://thorstenhartmann.de/avatar.png 11 12 License: GPL-3.0 13 License URI: https://github.com/th23x/th23-contact/blob/main/LICENSE 14 15 Version: 3.1.1 16 17 Requires at least: 4.2 18 Tested up to: 6.8 19 Requires PHP: 8.0 20 10 21 Text Domain: th23-contact 11 22 Domain Path: /lang 12 13 Coded 2012-2025 by Thorsten Hartmann (th23)14 https://th23.net/15 23 */ 16 24 … … 34 42 $this->plugin['basename'] = plugin_basename($this->plugin['file']); 35 43 $this->plugin['dir_url'] = plugin_dir_url($this->plugin['file']); 36 $this->plugin['version'] = '3.1. 0';44 $this->plugin['version'] = '3.1.1'; 37 45 38 46 // Load plugin options
Note: See TracChangeset
for help on using the changeset viewer.