Plugin Directory

Changeset 3211472


Ignore:
Timestamp:
12/21/2024 10:47:03 AM (15 months ago)
Author:
wp24dotorg
Message:

Version 1.10.15

Location:
wp24-domain-check/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wp24-domain-check/trunk/assets/inc/class-whoisservers.php

    r3179873 r3211472  
    3838        'agakhan' => array('host' => 'whois.afilias-srs.net', 'free' => 'not found'),
    3939        'agency' => array('host' => 'whois.donuts.co', 'free' => 'domain not found.'),
    40         'ai' => array('host' => 'whois.nic.ai', 'free' => 'no object found'),
     40        'ai' => array('host' => 'whois.nic.ai', 'rdap' => 'rdap.nic.ai', 'free' => 'no object found'),
    4141        'aigo' => array('host' => 'whois.afilias-srs.net', 'free' => 'not found'),
    4242        'airbus' => array('host' => 'whois.nic.airbus', 'free' => 'no match'),
     
    152152        'bosch' => array('host' => 'whois.nic.bosch', 'free' => 'no match'),
    153153        'bostik' => array('host' => 'whois.nic.bostik', 'free' => 'not found'),
     154        'bot' => array('host' => 'whois.nic.bot', 'free' => 'this domain name has not been registered'),
    154155        'boutique' => array('host' => 'whois.donuts.co', 'free' => 'domain not found.'),
    155156        'boston' => array('host' => 'whois.nic.boston', 'free' => 'this domain name has not been registered'),
     
    429430        'gr.com' => array('host' => 'whois.verisign-grs.com', 'free' => 'no match for'),
    430431        'hu.com' => array('host' => 'whois.verisign-grs.com', 'free' => 'no match for'),
     432        'it.com' => array('host' => 'whois.verisign-grs.com', 'free' => 'no match for'),
    431433        'jpn.com' => array('host' => 'whois.verisign-grs.com', 'free' => 'no match for'),
    432434        'kr.com' => array('host' => 'whois.verisign-grs.com', 'free' => 'no match for'),
     
    497499        'diamonds' => array('host' => 'whois.donuts.co', 'free' => 'domain not found'),
    498500        'diet' => array('host' => 'whois.uniregistry.net', 'free' => 'is available for registration'),
    499         'digital' => array('host' => 'whois.donuts.co', 'free' => 'domain not found.'),
     501        'digital' => array('host' => 'whois.nic.digital', 'free' => 'domain not found.'),
    500502        'direct' => array('host' => 'whois.donuts.co', 'free' => 'domain not found.'),
    501503        'directory' => array('host' => 'whois.donuts.co', 'free' => 'domain not found'),
     
    10851087        'porn' => array('host' => 'whois.afilias-srs.net', 'free' => 'not found'),
    10861088        'post' => array('host' => 'whois.dotpostregistry.net', 'free' => 'not found'),
     1089        'com.post' => array('host' => 'whois.dotpostregistry.net', 'free' => 'not found'),
     1090        'edu.post' => array('host' => 'whois.dotpostregistry.net', 'free' => 'not found'),
     1091        'org.post' => array('host' => 'whois.dotpostregistry.net', 'free' => 'not found'),
    10871092        'pr' => array('host' => 'whois.nic.pr', 'free' => 'not found'),
    10881093        'pro' => array('host' => 'whois.afilias.net', 'free' => 'not found'),
  • wp24-domain-check/trunk/includes/class-wp24-domaincheck.php

    r2896144 r3211472  
    2828        add_shortcode( 'wp24_domaincheck', array( $this, 'shortcode' ) );
    2929        add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
     30        add_action( 'init',  array( $this, 'load_textdomain' ) );
    3031
    3132        require_once( dirname( __DIR__ ) . '/assets/inc/class-domaincheck.php' );
     
    146147            true
    147148        );
     149    }
     150
     151    /**
     152     * Load textdomain.
     153     *
     154     * @return void
     155     */
     156    public function load_textdomain() {
     157        // textdomain for translations
     158        load_plugin_textdomain( 'wp24-domain-check', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    148159    }
    149160
  • wp24-domain-check/trunk/includes/class-wp24-settings.php

    r3179873 r3211472  
    19791979        echo '<th>' . __( 'TLD', 'wp24-domain-check' ) . '</th>';
    19801980        echo '<td>';
    1981         echo '<input type="text" placeholder="com" required pattern="([a-zA-Z0-9-]{2,})(\.[a-zA-Z0-9]{2,})?$" name="tld_search" value="' . $tld_search . '">';
     1981        echo '<input type="text" placeholder="com" required pattern="([a-zA-Z0-9-]{2,})(\.[a-zA-Z0-9]{2,})?$" name="tld_search" value="' . esc_attr( $tld_search ) . '">';
    19821982        echo '&nbsp;';
    19831983        echo '<input type="submit" class="button button-primary" value="' . __( 'Search', 'wp24-domain-check' ) . '">';
     
    19881988        if ( ! empty( $tld_search ) ) {
    19891989            // search results
    1990             echo '<p>' . __( 'Results with', 'wp24-domain-check') . ' <strong>' . $tld_search . '</strong>:</p>';
     1990            echo '<p>' . __( 'Results with', 'wp24-domain-check') . ' <strong>' . esc_attr( $tld_search ) . '</strong>:</p>';
    19911991            $matches = '';
    19921992            $match_count = 0;
  • wp24-domain-check/trunk/readme.txt

    r3190318 r3211472  
    55Requires at least: 5.0
    66Tested up to: 6.7
    7 Stable tag: 1.10.14
     7Stable tag: 1.10.15
    88Requires PHP: 7.0.0
    99License: GPLv2
     
    5353== Changelog ==
    5454
     55= 1.10.15 =
     56* Security fixes
     57* Minor bug fixes
     58
    5559= 1.10.14 =
    5660* Minor bug fixes
  • wp24-domain-check/trunk/wp24-domain-check.php

    r3190318 r3211472  
    44 * Plugin URI: https://wp24.org/plugins/domain-check
    55 * Description: Check (whois) domain names for availability. Easy integration via shortcode or widget.
    6  * Version: 1.10.14
     6 * Version: 1.10.15
    77 * Author: WP24
    88 * Author URI: https://wp24.org
     
    1818
    1919if ( ! defined( 'WP24_DOMAIN_CHECK_VERSION' ) )
    20     define( 'WP24_DOMAIN_CHECK_VERSION', '1.10.14' );
     20    define( 'WP24_DOMAIN_CHECK_VERSION', '1.10.15' );
    2121
    2222if ( ! defined( 'WP24_DOMAIN_CHECK_DATABASE_VERSION' ) )
    2323    define( 'WP24_DOMAIN_CHECK_DATABASE_VERSION', '1.3.0' );
    24 
    25 // textdomain for translations
    26 load_plugin_textdomain( 'wp24-domain-check', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    2724
    2825if ( ! class_exists( 'WP24_Domain_Check' ) )
Note: See TracChangeset for help on using the changeset viewer.