Plugin Directory

Changeset 3285816


Ignore:
Timestamp:
05/01/2025 06:51:12 PM (9 months ago)
Author:
ryanhellyer
Message:

Including translation support

Location:
spam-destroyer
Files:
27 added
3 edited

Legend:

Unmodified
Added
Removed
  • spam-destroyer/trunk/inc/class-spam-destroyer.php

    r2046118 r3285816  
    6060        add_action( 'register_form',                        array( $this, 'extra_input_field' ) ); // bbPress user registration page
    6161        add_action( 'admin_notices',                        array( $this, 'requirements_check' ) ); // Check plugin requirements
     62        add_action( 'plugins_loaded', array( $this, 'textdomain' ) );
    6263
    6364    }
     
    513514    }
    514515
     516    /**
     517     * Loading the plugins text domain for translations.
     518     */
     519    public function textdomain() {
     520        load_plugin_textdomain( 'spam-destroyer', false, plugin_basename( dirname( __DIR__ ) ) . '/languages' );
     521    }
    515522}
    516523$spam_destroyer = new Spam_Destroyer();
  • spam-destroyer/trunk/index.php

    r3073226 r3285816  
    55Description: Kills spam dead in it's tracks
    66Author: Ryan Hellyer
    7 Version: 2.1.4
     7Version: 2.1.5
    88Author URI: https://geek.hellyer.kiwi/
    99
    10 Copyright (c) 2012 - 2024 Ryan Hellyer
     10Copyright (c) 2012 - 2025 Ryan Hellyer
    1111
    1212
  • spam-destroyer/trunk/readme.txt

    r3073226 r3285816  
    44Tags: spam, comments, anti-spam, antispam, buddypress, bbpress, kill, destroy, eliminate, registration, register, registrate, captcha
    55Requires at least: 5.0
    6 Tested up to: 6.6
    7 Stable tag: 2.1.4
     6Tested up to: 6.9
     7Stable tag: 2.1.5
    88Text Domain: spam-destroyer
    99License: GPLv2 or later
     
    3737
    3838== Changelog ==
     39
     40= 2.1.5  (2025-05-01) =
     41* Including translation functionality
    3942
    4043= 2.1.4  (2024-04-18) =
     
    172175== Credits ==
    173176
     177* <a href="https://wordpress.org/support/users/omahoung/">omahoung</a> - Bug reporting<br />
    174178* <a href="https://wordpress.org/support/profile/stromhalm">Stromhalm</a> - Bug reporting<br />
    175179* <a href="http://ocaoimh.ie/">Donncha O Caoimh</a> - Developer of Cookies for Comments, functionality of which is incorporated into Spam Destroyer<br />
Note: See TracChangeset for help on using the changeset viewer.