Plugin Directory

Changeset 3233740


Ignore:
Timestamp:
02/03/2025 08:56:20 AM (13 months ago)
Author:
vitvavra
Message:

Plugin simpleshop.cz: Release v2.13.0

Location:
simpleshop-cz
Files:
5 edited
159 copied

Legend:

Unmodified
Added
Removed
  • simpleshop-cz/tags/2.13.0/readme.txt

    r3206848 r3233740  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 2.12.2
     7Stable tag: 2.13.0
    88License: MIT
    99License URI: https://github.com/redbitcz/simpleshop-wp-plugin/blob/master/LICENSE
  • simpleshop-cz/tags/2.13.0/simpleshop-cz.php

    r3206848 r3233740  
    1111 * Plugin URI: https://podpora.redbit.cz/stitek/wp-plugin/
    1212 * Description: The SimpleShop WP plugin easily connects your WordPress website with a SimpleShop account and allows you to restrict the access to the web content only for members.
    13  * Version: 2.12.2
     13 * Version: 2.13.0
    1414 * Requires at least: 5.3
    1515 * Requires PHP: 7.4
     
    2525require_once __DIR__ . '/vendor/autoload.php';
    2626
    27 define( 'SIMPLESHOP_PLUGIN_VERSION', 'v2.12.2' );
     27define( 'SIMPLESHOP_PLUGIN_VERSION', 'v2.13.0' );
    2828define( 'SIMPLESHOP_PREFIX', '_ssc_' );
    2929
  • simpleshop-cz/tags/2.13.0/src/Admin.php

    r3019145 r3233740  
    209209            'show_in_menu'       => 'simple_shop_settings',
    210210            'query_var'          => true,
    211             'capability_type'    => 'post',
     211            'capability_type' => [ 'ssc_group', 'ssc_groups' ],
     212            'capabilities'    => [],
    212213            'has_archive'        => false,
    213214            'hierarchical'       => true,
     
    215216            'supports'           => [ 'title' ],
    216217        ];
    217 
    218218        register_post_type( 'ssc_group', $args );
     219        $data = get_post_type_object( 'ssc_group' );
     220        $role = get_role( 'administrator' );
     221        foreach ( $data->cap as $item ) {
     222            $role->add_cap( $item );
     223        }
     224
    219225    }
    220226
  • simpleshop-cz/tags/2.13.0/vendor/composer/installed.php

    r3206848 r3233740  
    22    'root' => array(
    33        'name' => 'redbit/simpleshop-wp-plugin',
    4         'pretty_version' => 'dev-master',
    5         'version' => 'dev-master',
     4        'pretty_version' => '2.13.0.x-dev',
     5        'version' => '2.13.0.9999999-dev',
    66        'reference' => '579cf71e079a721e45b294ee55bbccac88498721',
    77        'type' => 'wordpress-plugin',
     
    3030        ),
    3131        'redbit/simpleshop-wp-plugin' => array(
    32             'pretty_version' => 'dev-master',
    33             'version' => 'dev-master',
     32            'pretty_version' => '2.13.0.x-dev',
     33            'version' => '2.13.0.9999999-dev',
    3434            'reference' => '579cf71e079a721e45b294ee55bbccac88498721',
    3535            'type' => 'wordpress-plugin',
  • simpleshop-cz/trunk/readme.txt

    r3206848 r3233740  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 2.12.2
     7Stable tag: 2.13.0
    88License: MIT
    99License URI: https://github.com/redbitcz/simpleshop-wp-plugin/blob/master/LICENSE
  • simpleshop-cz/trunk/simpleshop-cz.php

    r3206848 r3233740  
    1111 * Plugin URI: https://podpora.redbit.cz/stitek/wp-plugin/
    1212 * Description: The SimpleShop WP plugin easily connects your WordPress website with a SimpleShop account and allows you to restrict the access to the web content only for members.
    13  * Version: 2.12.2
     13 * Version: 2.13.0
    1414 * Requires at least: 5.3
    1515 * Requires PHP: 7.4
     
    2525require_once __DIR__ . '/vendor/autoload.php';
    2626
    27 define( 'SIMPLESHOP_PLUGIN_VERSION', 'v2.12.2' );
     27define( 'SIMPLESHOP_PLUGIN_VERSION', 'v2.13.0' );
    2828define( 'SIMPLESHOP_PREFIX', '_ssc_' );
    2929
  • simpleshop-cz/trunk/src/Admin.php

    r3019145 r3233740  
    209209            'show_in_menu'       => 'simple_shop_settings',
    210210            'query_var'          => true,
    211             'capability_type'    => 'post',
     211            'capability_type' => [ 'ssc_group', 'ssc_groups' ],
     212            'capabilities'    => [],
    212213            'has_archive'        => false,
    213214            'hierarchical'       => true,
     
    215216            'supports'           => [ 'title' ],
    216217        ];
    217 
    218218        register_post_type( 'ssc_group', $args );
     219        $data = get_post_type_object( 'ssc_group' );
     220        $role = get_role( 'administrator' );
     221        foreach ( $data->cap as $item ) {
     222            $role->add_cap( $item );
     223        }
     224
    219225    }
    220226
  • simpleshop-cz/trunk/vendor/composer/installed.php

    r3206848 r3233740  
    22    'root' => array(
    33        'name' => 'redbit/simpleshop-wp-plugin',
    4         'pretty_version' => 'dev-master',
    5         'version' => 'dev-master',
     4        'pretty_version' => '2.13.0.x-dev',
     5        'version' => '2.13.0.9999999-dev',
    66        'reference' => '579cf71e079a721e45b294ee55bbccac88498721',
    77        'type' => 'wordpress-plugin',
     
    3030        ),
    3131        'redbit/simpleshop-wp-plugin' => array(
    32             'pretty_version' => 'dev-master',
    33             'version' => 'dev-master',
     32            'pretty_version' => '2.13.0.x-dev',
     33            'version' => '2.13.0.9999999-dev',
    3434            'reference' => '579cf71e079a721e45b294ee55bbccac88498721',
    3535            'type' => 'wordpress-plugin',
Note: See TracChangeset for help on using the changeset viewer.