Plugin Directory

Changeset 3825096


Ignore:
Timestamp:
11/26/2026 01:55:43 AM (less than one hour ago)
Author:
caseproof
Message:

Update to version 3.3.4 from GitHub

Location:
members
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • members/tags/3.3.4/inc/abilities/class-ability.php

    r3770786 r3825096  
    131131         * call the ability with no input at all.
    132132         *
     133         * An empty property map is left out: PHP would JSON-encode it as [], which strict MCP clients
     134         * reject, and a stdClass would fatal in WordPress's schema validation.
     135         *
    133136         * @param array    $properties Property schemas.
    134137         * @param string[] $required   Required property names.
    … …  
    137140        public static function object_schema( array $properties, array $required = array() ) {
    138141                $schema = array(
    139                         'type'       => 'object',
    140                         'properties' => $properties,
    141                         'default'    => array(),
    142                 );
     142                        'type'    => 'object',
     143                        'default' => array(),
     144                );
     145
     146                if ( $properties ) {
     147                        $schema['properties'] = $properties;
     148                }
    143149
    144150                if ( $required ) {
  • members/tags/3.3.4/members.php

    r3818994 r3825096  
    44 * Plugin URI:  https://members-plugin.com/
    55 * Description: A user and role management plugin that puts you in full control of your site's permissions. This plugin allows you to edit your roles and their capabilities, clone existing roles, assign multiple roles per user, block post content, or even make your site completely private.
    6  * Version:     3.3.3
     6 * Version:     3.3.4
    77 * Requires PHP: 8.0
    88 * Author:      MemberPress
  • members/tags/3.3.4/readme.txt

    r3818994 r3825096  
    77Tested up to: 7.1
    88Requires PHP: 8.0
    9 Stable tag: 3.3.3
     9Stable tag: 3.3.4
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    258258
    259259== Changelog ==
     260
     261= 3.3.4 =
     262* Fixed: AI tools with no inputs no longer cause Cursor and OpenCode to reject the Members tool list.
    260263
    261264= 3.3.3 =
  • members/trunk/inc/abilities/class-ability.php

    r3770786 r3825096  
    131131         * call the ability with no input at all.
    132132         *
     133         * An empty property map is left out: PHP would JSON-encode it as [], which strict MCP clients
     134         * reject, and a stdClass would fatal in WordPress's schema validation.
     135         *
    133136         * @param array    $properties Property schemas.
    134137         * @param string[] $required   Required property names.
    … …  
    137140        public static function object_schema( array $properties, array $required = array() ) {
    138141                $schema = array(
    139                         'type'       => 'object',
    140                         'properties' => $properties,
    141                         'default'    => array(),
    142                 );
     142                        'type'    => 'object',
     143                        'default' => array(),
     144                );
     145
     146                if ( $properties ) {
     147                        $schema['properties'] = $properties;
     148                }
    143149
    144150                if ( $required ) {
  • members/trunk/members.php

    r3818994 r3825096  
    44 * Plugin URI:  https://members-plugin.com/
    55 * Description: A user and role management plugin that puts you in full control of your site's permissions. This plugin allows you to edit your roles and their capabilities, clone existing roles, assign multiple roles per user, block post content, or even make your site completely private.
    6  * Version:     3.3.3
     6 * Version:     3.3.4
    77 * Requires PHP: 8.0
    88 * Author:      MemberPress
  • members/trunk/readme.txt

    r3818994 r3825096  
    77Tested up to: 7.1
    88Requires PHP: 8.0
    9 Stable tag: 3.3.3
     9Stable tag: 3.3.4
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    258258
    259259== Changelog ==
     260
     261= 3.3.4 =
     262* Fixed: AI tools with no inputs no longer cause Cursor and OpenCode to reject the Members tool list.
    260263
    261264= 3.3.3 =
Note: See TracChangeset for help on using the changeset viewer.