Plugin Directory

Changeset 3284230


Ignore:
Timestamp:
04/29/2025 03:46:16 PM (11 months ago)
Author:
th23
Message:

v3.1.1 release

  • enhancement: upgrade to th23 Plugin Info class 1.0.0
  • fix: upgrade to th23 Admin class 1.6.2
Location:
th23-contact/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • th23-contact/trunk/inc/th23-admin-class.php

    r3281105 r3284230  
    11<?php
    22/*
    3 th23 Admin
     3th23 Admin (adjusted for WP.org)
    44Basic admin functionality
    5 Version: 1.6.1
     5Version: 1.6.2-wp
    66
    77Coded 2024-2025 by Thorsten Hartmann (th23)
     
    1616}
    1717
    18 if(!class_exists('th23_admin_v161')) {
    19     class th23_admin_v161 {
     18if(!class_exists('th23_admin_v162')) {
     19    class th23_admin_v162 {
    2020
    2121        private $parent;
     
    8787
    8888        // Add supporting information (eg links and notices) to plugin row in plugin overview page
    89         // note: Any CSS 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)
    9090        function contact_link($links, $file) {
    9191            if($this->parent->plugin['basename'] == $file) {
     
    865865                    if(!empty($shared_options[$option]) && $current_value != $shared_options[$option]['value'] && $this->parent->plugin['data']['Name'] != $shared_options[$option]['plugin']) {
    866866                        $html .= '<span class="shared-option"></span>';
     867                        /* translators: parses in plugin name */
    867868                        $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>';
    868869                    }
  • th23-contact/trunk/readme.txt

    r3281092 r3284230  
    55Requires at least: 4.2
    66Tested up to: 6.8
    7 Stable tag: 3.1.0
     7Stable tag: 3.1.1
    88Requires PHP: 8.0
    99License: GPL-3.0
     
    2929* **Fight spam and bots** without unnecessary hurdles (admittedly it's a compromise)
    3030
    31 See it in action on my [Contact page](https://th23.net/contact/).
     31See it in action on my [Contact page](https://thorstenhartmann.de/kontakt/).
    3232
    3333= Usage =
     
    5757== Frequently Asked Questions ==
    5858
    59 = Despite reCaptcha being activated, **I receive many spam contact messages**? =
     59= Despite reCaptcha being activated, I receive many spam contact messages? =
    6060
    6161reCaptcha 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**.
     
    6363Since 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**.
    6464
    65 = Can the plugin be activated on **multiple selected pages / posts only**? =
     65= Can the plugin be activated on multiple selected pages / posts only? =
    6666
    6767You can enable the block / shortcode for selected pages / posts only to **save your users unnecessarily loading JavaScript and CSS files**.
     
    8080
    8181== 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
    8287
    8388= v3.1.0 =
     
    119124== Upgrade Notice ==
    120125
     126= v3.1.1 =
     127
     128* n/a
     129
    121130= v3.1.0 =
    122131
  • th23-contact/trunk/th23-contact-admin.php

    r3281092 r3284230  
    11<?php
    2 /*
    3 th23 Contact
    4 Admin area
    5 
    6 Coded 2012-2025 by Thorsten Hartmann (th23)
    7 https://th23.net/
    8 */
    92
    103// Security - exit if accessed directly
     
    3932        if(file_exists($this->plugin['dir_path'] . '/inc/th23-admin-class.php')) {
    4033            require($this->plugin['dir_path'] . '/inc/th23-admin-class.php');
    41             $this->admin = new th23_admin_v161($this);
     34            $this->admin = new th23_admin_v162($this);
    4235        }
    4336        if(!empty($this->admin)) {
     
    8174        // note: need to populate $this->i18n earliest at init hook to get user locale
    8275        $this->i18n = array(
     76            'Plugin' => __('Plugin', 'th23-specials'),
    8377            'Settings' => __('Settings', 'th23-contact'),
    8478            /* translators: parses in plugin version number */
     
    9488            /* translators: parses in plugin author name / link */
    9589            'By %s' => __('By %s', 'th23-contact'),
     90            'View details' => __('View details', 'th23-specials'),
    9691            'Visit plugin site' => __('Visit plugin site', 'th23-contact'),
    9792            'Error' => __('Error', 'th23-contact'),
  • th23-contact/trunk/th23-contact.php

    r3281092 r3284230  
    22/*
    33Plugin 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
     5Description: Simple contact form via block or legacy shortcode with optional spam protection via Akismet and reCaptcha
     6Plugin URI: https://github.com/th23x/th23-contact
     7
     8Author: Thorsten (th23)
     9Author URI: https://thorstenhartmann.de
     10Author IMG: https://thorstenhartmann.de/avatar.png
     11
     12License: GPL-3.0
     13License URI: https://github.com/th23x/th23-contact/blob/main/LICENSE
     14
     15Version: 3.1.1
     16
     17Requires at least: 4.2
     18Tested up to: 6.8
     19Requires PHP: 8.0
     20
    1021Text Domain: th23-contact
    1122Domain Path: /lang
    12 
    13 Coded 2012-2025 by Thorsten Hartmann (th23)
    14 https://th23.net/
    1523*/
    1624
     
    3442        $this->plugin['basename'] = plugin_basename($this->plugin['file']);
    3543        $this->plugin['dir_url'] = plugin_dir_url($this->plugin['file']);
    36         $this->plugin['version'] = '3.1.0';
     44        $this->plugin['version'] = '3.1.1';
    3745
    3846        // Load plugin options
Note: See TracChangeset for help on using the changeset viewer.