Plugin Directory

Changeset 3811940


Ignore:
Timestamp:
11/19/2026 04:02:58 PM (33 hours ago)
Author:
nbots
Message:

nbots 1.0.1

Location:
nbots/trunk
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • nbots/trunk/nbots.php

    r3810938 r3811940  
    33 * Plugin Name:       nbots — Bot Protection
    44 * Description:       Shows which visitors are bots and why, keeps bots out of Yandex Metrica and Direct ads, and filters spam from Contact Form 7, WPForms, Elementor forms and comments. Connects with your keys from nbots.ru — no theme edits.
    5  * Version:           1.0.0
     5 * Version:           1.0.1
    66 * Requires at least: 5.8
    77 * Requires PHP:      7.4
    … …  
    1111 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
    1212 * Text Domain:       nbots
     13 * Domain Path:       /languages
    1314 *
    1415 * @package nbots
    … …  
    1920}
    2021
    21 define( 'NBOTS_VERSION', '1.0.0' );
     22define( 'NBOTS_VERSION', '1.0.1' );
    2223define( 'NBOTS_FILE', __FILE__ );
    2324define( 'NBOTS_DIR', plugin_dir_path( __FILE__ ) );
    … …  
    2930require_once NBOTS_DIR . 'includes/class-nbots-forms.php';
    3031require_once NBOTS_DIR . 'includes/class-nbots-admin.php';
     32
     33/**
     34 * Bundled translations (languages/). Language packs from translate.wordpress.org,
     35 * when installed, are found first and take priority over these files.
     36 */
     37add_action(
     38        'init',
     39        function () {
     40                load_plugin_textdomain( 'nbots', false, dirname( plugin_basename( NBOTS_FILE ) ) . '/languages' ); // phpcs:ignore PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound -- bundled fallback until the language pack is published.
     41        }
     42);
    3143
    3244/**
  • nbots/trunk/readme.txt

    r3810938 r3811940  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.0.0
     7Stable tag: 1.0.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    6868== Changelog ==
    6969
     70= 1.0.1 =
     71* Russian translation is now bundled with the plugin, so the settings page is in Russian right after installation.
     72
    7073= 1.0.0 =
    71 * First release: script on all pages, checks for Contact Form 7, WPForms, Elementor Pro forms and comments, connection check, Russian translation.
     74* First release: script on all pages, checks for Contact Form 7, WPForms, Elementor Pro forms and comments, connection check.
Note: See TracChangeset for help on using the changeset viewer.