Plugin Directory

Changeset 3440442


Ignore:
Timestamp:
01/15/2026 02:45:54 PM (2 months ago)
Author:
pluginsandsnippets
Message:

trunk 1.0.34

Location:
simple-page-access-restriction/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • simple-page-access-restriction/trunk/changelog.txt

    r3349084 r3440442  
     1= Version 1.0.34 - January 15, 2026 =
     2* Fix: Restriction of standard post taxonomies
     3
    14= Version 1.0.33 - August 23, 2025 =
    25* Security: Fix CSRF issues
  • simple-page-access-restriction/trunk/readme.txt

    r3349986 r3440442  
    55Contributors: pluginsandsnippets, dilipsakariya, siawa, napoleaofw
    66Tags: page restrict, access restriction, page restriction, page redirect, page access restriction
    7 Requires at least: 3.9
    8 Tested up to: 6.8
     7Requires at least: 4.4
     8Tested up to: 6.9
    99Requires PHP: 5.6
    10 Stable Tag: 1.0.33
     10Stable Tag: 1.0.34
    1111License: GPL v2 or later
    1212License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    116116
    117117== Changelog ==
     118= Version 1.0.34 - January 15, 2026 =
     119* Fix: Restriction of standard post taxonomies
     120
    118121= Version 1.0.33 - August 23, 2025 =
    119122* Security: Fix CSRF issues
  • simple-page-access-restriction/trunk/simple-page-access-restriction.php

    r3349084 r3440442  
    44 * Plugin URI:        https://www.pluginsandsnippets.com/downloads/simple-page-access-restriction/
    55 * Description:       This plugin offers a simple way to restrict visits to select pages only to logged-in users and allows for page redirection to a defined (login) page of your choice.
    6  * Version:           1.0.33
     6 * Version:           1.0.34
    77 * Author:            Plugins & Snippets
    88 * Author URI:        https://www.pluginsandsnippets.com/
     
    7777
    7878            // Plugin related constants
    79             define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_VER', '1.0.33' );
     79            define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_VER', '1.0.34' );
    8080            define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_NAME', 'Simple Page Access Restriction' );
    8181            define( 'SIMPLE_PAGE_ACCESS_RESTRICTION_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
     
    204204                    ( ( is_page() || is_singular() ) && ps_simple_par_is_page_restricted( get_queried_object_id() ) ) ||
    205205                    ( function_exists( 'is_shop' ) && is_shop() && ps_simple_par_is_page_restricted( get_option( 'woocommerce_shop_page_id' ) ) ) ||
    206                     ( is_array( $settings['taxonomies'] ) && ! empty( $settings['taxonomies'] ) && is_tax( $settings['taxonomies'] ) )
     206                    ( is_array( $settings['taxonomies'] ) && ! empty( $settings['taxonomies'] ) && (
     207                    is_tax( $settings['taxonomies'] ) ||
     208                    ( in_array( 'category', $settings['taxonomies'], true ) && is_category() ) ||
     209                    ( in_array( 'post_tag', $settings['taxonomies'], true ) && is_tag() )
     210                ) )
    207211                )
    208212            ) {
Note: See TracChangeset for help on using the changeset viewer.