Plugin Directory

Changeset 3051625


Ignore:
Timestamp:
03/15/2024 10:59:49 AM (2 years ago)
Author:
hcaptcha
Message:

Update to version 3.10.1 from GitHub

Location:
hcaptcha-for-forms-and-more
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hcaptcha-for-forms-and-more/tags/3.10.1/hcaptcha.php

    r3051014 r3051625  
    1111 * Plugin URI:           https://www.hcaptcha.com/
    1212 * Description:          hCaptcha keeps out bots and spam while putting privacy first. It is a drop-in replacement for reCAPTCHA.
    13  * Version:              3.10.0
     13 * Version:              3.10.1
    1414 * Requires at least:    5.1
    1515 * Requires PHP:         7.0
     
    4040 * Plugin version.
    4141 */
    42 const HCAPTCHA_VERSION = '3.10.0';
     42const HCAPTCHA_VERSION = '3.10.1';
    4343
    4444/**
  • hcaptcha-for-forms-and-more/tags/3.10.1/readme.txt

    r3051014 r3051625  
    55Tested up to: 6.5
    66Requires PHP: 7.0.0
    7 Stable tag: 3.10.0
     7Stable tag: 3.10.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    566566== Changelog ==
    567567
     568= 3.10.1 =
     569* Added filter `hcap_add_csp_headers` to allow adding Content Security Policy headers.
     570* Fixed Content Security Policy headers processing.
     571
    568572= 3.10.0 =
    569573* Tested with WordPress 6.5.
  • hcaptcha-for-forms-and-more/tags/3.10.1/src/php/Main.php

    r3051014 r3051625  
    294294     */
    295295    public function csp_headers( $headers ): array {
     296        if ( ! apply_filters( 'hcap_add_csp_headers', false, $headers ) ) {
     297            return $headers;
     298        }
     299
    296300        $headers       = (array) $headers;
    297301        $keys_lower    = array_map( 'strtolower', array_keys( $headers ) );
  • hcaptcha-for-forms-and-more/tags/3.10.1/vendor/composer/installed.php

    r3051014 r3051625  
    22    'root' => array(
    33        'name' => 'hcaptcha/hcaptcha-wordpress-plugin',
    4         'pretty_version' => '3.10.0',
    5         'version' => '3.10.0.0',
    6         'reference' => '15bc4d98bca618729fa601ef63058f8d0ccceffb',
     4        'pretty_version' => '3.10.1',
     5        'version' => '3.10.1.0',
     6        'reference' => '6fe2abd7c85013692397cc19d36299da059f6b6a',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'hcaptcha/hcaptcha-wordpress-plugin' => array(
    14             'pretty_version' => '3.10.0',
    15             'version' => '3.10.0.0',
    16             'reference' => '15bc4d98bca618729fa601ef63058f8d0ccceffb',
     14            'pretty_version' => '3.10.1',
     15            'version' => '3.10.1.0',
     16            'reference' => '6fe2abd7c85013692397cc19d36299da059f6b6a',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • hcaptcha-for-forms-and-more/trunk/hcaptcha.php

    r3051014 r3051625  
    1111 * Plugin URI:           https://www.hcaptcha.com/
    1212 * Description:          hCaptcha keeps out bots and spam while putting privacy first. It is a drop-in replacement for reCAPTCHA.
    13  * Version:              3.10.0
     13 * Version:              3.10.1
    1414 * Requires at least:    5.1
    1515 * Requires PHP:         7.0
     
    4040 * Plugin version.
    4141 */
    42 const HCAPTCHA_VERSION = '3.10.0';
     42const HCAPTCHA_VERSION = '3.10.1';
    4343
    4444/**
  • hcaptcha-for-forms-and-more/trunk/readme.txt

    r3051014 r3051625  
    55Tested up to: 6.5
    66Requires PHP: 7.0.0
    7 Stable tag: 3.10.0
     7Stable tag: 3.10.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    566566== Changelog ==
    567567
     568= 3.10.1 =
     569* Added filter `hcap_add_csp_headers` to allow adding Content Security Policy headers.
     570* Fixed Content Security Policy headers processing.
     571
    568572= 3.10.0 =
    569573* Tested with WordPress 6.5.
  • hcaptcha-for-forms-and-more/trunk/src/php/Main.php

    r3051014 r3051625  
    294294     */
    295295    public function csp_headers( $headers ): array {
     296        if ( ! apply_filters( 'hcap_add_csp_headers', false, $headers ) ) {
     297            return $headers;
     298        }
     299
    296300        $headers       = (array) $headers;
    297301        $keys_lower    = array_map( 'strtolower', array_keys( $headers ) );
  • hcaptcha-for-forms-and-more/trunk/vendor/composer/installed.php

    r3051014 r3051625  
    22    'root' => array(
    33        'name' => 'hcaptcha/hcaptcha-wordpress-plugin',
    4         'pretty_version' => '3.10.0',
    5         'version' => '3.10.0.0',
    6         'reference' => '15bc4d98bca618729fa601ef63058f8d0ccceffb',
     4        'pretty_version' => '3.10.1',
     5        'version' => '3.10.1.0',
     6        'reference' => '6fe2abd7c85013692397cc19d36299da059f6b6a',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'hcaptcha/hcaptcha-wordpress-plugin' => array(
    14             'pretty_version' => '3.10.0',
    15             'version' => '3.10.0.0',
    16             'reference' => '15bc4d98bca618729fa601ef63058f8d0ccceffb',
     14            'pretty_version' => '3.10.1',
     15            'version' => '3.10.1.0',
     16            'reference' => '6fe2abd7c85013692397cc19d36299da059f6b6a',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.