🔒 EXCLUSIVE: Changeset/ - Complete Album!

Changeset 3371290


Ignore:
Timestamp:
10/01/2025 03:45:16 PM (3 months ago)
Author:
mihdan
Message:

Update to version 5.1.7 from GitHub

Location:
mihdan-no-external-links
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • mihdan-no-external-links/tags/5.1.7/admin/MaskTable.php

    r3369336 r3371290  
    312312        $redirect = wp_get_raw_referer();
    313313
    314         $nonce = isset( $_REQUEST['_wpnonce'] )
     314        $nonce = ! empty( $_REQUEST['_wpnonce'] )
    315315            ? sanitize_text_field( wp_unslash( $_REQUEST['_wpnonce'] ) )
    316316            : '';
    317317
    318         if ( ! empty( $nonce ) && ! wp_verify_nonce( $nonce, $this->options_prefix . 'delete_mask' ) ) {
    319             wp_die( esc_html__( 'Are you sure you want to do this?', $this->plugin_name ) );
    320         }
    321 
    322         if ( 'delete' === $this->current_action() ) {
    323 
    324             $mask   = isset( $_GET['mask'] ) ? absint( $_GET['mask'] ) : '';
     318        if ( 'delete' === $this->current_action() && wp_verify_nonce( $nonce, $this->options_prefix . 'delete_mask' ) ) {
     319
     320            $mask   = ! empty( $_GET['mask'] ) ? absint( $_GET['mask'] ) : '';
    325321            $delete = $this->delete_mask( $mask );
    326322
     
    336332        }
    337333
    338         $action  = isset( $_POST['action'] ) ? sanitize_text_field( wp_unslash( $_POST['action'] ) ) : '';
    339         $action2 = isset( $_POST['action2'] ) ? sanitize_text_field( wp_unslash( $_POST['action2'] ) ) : '';
    340 
    341         if ( 'bulk-delete' === $action || 'bulk-delete' === $action2 ) {
     334        if ( 'bulk-delete' === $this->current_action() && wp_verify_nonce( $nonce, 'bulk-' . $this->_args['plural'] )  ) {
    342335
    343336            $delete_count = 0;
     
    357350            exit;
    358351        }
    359 
    360352    }
    361353
  • mihdan-no-external-links/tags/5.1.7/mihdan-no-external-links.php

    r3370304 r3371290  
    1111 * Plugin URI:        https://www.kobzarev.com/projects/no-external-links/
    1212 * Description:       Convert external links into internal links, site wide or post/page specific. Add NoFollow, Click logging, and more...
    13  * Version:           5.1.6.2
     13 * Version:           5.1.7
    1414 * Author:            Mikhail Kobzarev
    1515 * Author URI:        https://www.kobzarev.com/
     
    2929
    3030const MIHDAN_NO_EXTERNAL_LINKS_DIR     = __DIR__;
    31 const MIHDAN_NO_EXTERNAL_LINKS_VERSION = '5.1.6.2';
     31const MIHDAN_NO_EXTERNAL_LINKS_VERSION = '5.1.7';
    3232const MIHDAN_NO_EXTERNAL_LINKS_SLUG    = 'mihdan-no-external-links';
    3333
  • mihdan-no-external-links/tags/5.1.7/readme.txt

    r3370304 r3371290  
    55Requires at least: 5.7.4
    66Tested up to: 6.8
    7 Stable tag: 5.1.6.2
     7Stable tag: 5.1.7
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    6969
    7070== Changelog ==
     71
     72= 5.1.7 (01.10.2025) =
     73* Resolved #[41](https://github.com/mihdan/mihdan-no-external-links/issues/41)
    7174
    7275= 5.1.6 (28.09.2025) =
  • mihdan-no-external-links/tags/5.1.7/vendor/composer/installed.php

    r3370304 r3371290  
    22    'root' => array(
    33        'name' => 'mihdan/mihdan-no-external-links',
    4         'pretty_version' => '5.1.6.2',
    5         'version' => '5.1.6.2',
    6         'reference' => 'cb51fe4656bc5a0167523e6490bcfb8bbe89d17f',
     4        'pretty_version' => '5.1.7',
     5        'version' => '5.1.7.0',
     6        'reference' => 'a5a5c6482c6d1f6b2c361b98a94a478d8505694d',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'mihdan/mihdan-no-external-links' => array(
    14             'pretty_version' => '5.1.6.2',
    15             'version' => '5.1.6.2',
    16             'reference' => 'cb51fe4656bc5a0167523e6490bcfb8bbe89d17f',
     14            'pretty_version' => '5.1.7',
     15            'version' => '5.1.7.0',
     16            'reference' => 'a5a5c6482c6d1f6b2c361b98a94a478d8505694d',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • mihdan-no-external-links/trunk/admin/MaskTable.php

    r3369336 r3371290  
    312312        $redirect = wp_get_raw_referer();