Plugin Directory

Changeset 3251458


Ignore:
Timestamp:
03/06/2025 05:31:47 AM (19 hours ago)
Author:
inc2734
Message:

Version up. v23.0.3

Location:
snow-monkey-blocks/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • snow-monkey-blocks/trunk/App/Controller/Manager.php

    r3079135 r3251458  
    256256        $current_url = admin_url( '/options-general.php?page=' . static::MENU_SLUG ) ?? '';
    257257        $current_url = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $current_url );
    258         $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' ) ?? '';
     258        $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' );
     259        if ( ! $request_uri ) {
     260            $request_uri = esc_html( wp_unslash( $_SERVER['REQUEST_URI'] ?? '' ) ); // @phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
     261        }
    259262        $request_uri = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $request_uri );
    260263        return false !== strpos( $request_uri, $current_url );
     
    269272        $current_url = admin_url( '/options.php' ) ?? '';
    270273        $current_url = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $current_url );
    271         $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' ) ?? '';
     274        $request_uri = filter_input( INPUT_SERVER, 'REQUEST_URI' );
     275        if ( ! $request_uri ) {
     276            $request_uri = esc_html( wp_unslash( $_SERVER['REQUEST_URI'] ?? '' ) ); // @phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
     277        }
    272278        $request_uri = preg_replace( '|^(.+)?(/wp-admin/.*?)$|', '$2', $request_uri );
    273279        return false !== strpos( $request_uri, $current_url );
  • snow-monkey-blocks/trunk/changelog.txt

    r3236306 r3251458  
    11*** Changelog ***
     2
     3= 23.0.3 =
     4* Fixed a bug where REQUEST_URI could not be obtained.
    25
    36= 23.0.2 =
     
    912
    1013= 23.0.1 =
    11 [Items] The implementation of block links has been revised for accessibility.
    12 [Panel] The implementation of block links has been revised for accessibility.
     14* [Items] The implementation of block links has been revised for accessibility.
     15* [Panel] The implementation of block links has been revised for accessibility.
    1316
    1417= 23.0.0 =
  • snow-monkey-blocks/trunk/readme.txt

    r3236306 r3251458  
    33Donate link: https://www.amazon.co.jp/registry/wishlist/39ANKRNSTNW40
    44Tags: gutenberg, block, blocks, editor, gutenberg blocks
    5 Stable tag: 23.0.2
     5Stable tag: 23.0.3
    66Requires at least: 6.7
    77Tested up to: 6.7
  • snow-monkey-blocks/trunk/snow-monkey-blocks.php

    r3236306 r3251458  
    22/**
    33 * Plugin name: Snow Monkey Blocks
    4  * Version: 23.0.2
     4 * Version: 23.0.3
    55 * Description: Gutenberg blocks collection made by MonkeyWrench.
    66 * Author: inc2734
Note: See TracChangeset for help on using the changeset viewer.