Plugin Directory

Changeset 3486130


Ignore:
Timestamp:
03/19/2026 04:32:25 AM (2 weeks ago)
Author:
greyforestdigital
Message:

Update to version 1.0.1

Location:
blocks-for-discogs-sellers/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • blocks-for-discogs-sellers/trunk/blocks-for-discogs-sellers.php

    r3461652 r3486130  
    66Author: Greyforest
    77Author URI: https://www.greyforest.digital
    8 Version: 1.0.0
     8Version: 1.0.1
    99Requires at least: 6.0
    1010Requires PHP: 8.0
     
    2121if (!defined('ABSPATH')) { return; }
    2222
    23 define('GF_BLOCKS_FOR_DISCOGS_SELLERS_PLUGIN_VERSION','1.0.0');
     23define('GF_BLOCKS_FOR_DISCOGS_SELLERS_PLUGIN_VERSION','1.0.1');
    2424define('GF_BLOCKS_FOR_DISCOGS_SELLERS_PLUGIN_URL',substr( plugin_dir_url( __FILE__ ), 0, -1 ) );
    2525define('GF_BLOCKS_FOR_DISCOGS_SELLERS_PLUGIN_PATH',dirname( __FILE__ ));
  • blocks-for-discogs-sellers/trunk/readme.txt

    r3461652 r3486130  
    88Requires at least: 6.0
    99Tested up to: 6.9
    10 Stable tag: 1.0.0
     10Stable tag: 1.0.1
    1111Requires PHP: 8.0
    1212License: GPLv2 or later
     
    108108== Changelog ==
    109109
     110= 1.0.1 -> March 19, 2026 =
     111* Fixed admin-ajax.php unauthorized user bug caused by current_user_can() function placement in logging admin_init() action
     112
    110113= 1.0.0 -> February 15, 2026 =
    111114* Initial commit to repository.
  • blocks-for-discogs-sellers/trunk/src/logging.php

    r3461652 r3486130  
    112112    public function handle_clear_log() {
    113113
    114         if ( ! current_user_can( 'manage_options' ) ) {
    115             wp_die( 'Unauthorized user' );
    116         }
    117114
    118115        if (
     
    121118            check_admin_referer( 'gf_clear_logs_action', 'gf_clear_logs_nonce' )
    122119        ) {
     120            if ( ! current_user_can( 'manage_options' ) ) {
     121                wp_die( 'Unauthorized user' );
     122            }
    123123            $clear = $this->clear_log();
    124124            if ( $clear ) {
Note: See TracChangeset for help on using the changeset viewer.