Plugin Directory

Changeset 3272388


Ignore:
Timestamp:
04/14/2025 12:26:30 PM (10 months ago)
Author:
boxodev
Message:

Update to version 0.0.44 from GitHub

Location:
boxo-return
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • boxo-return/tags/0.0.44/admin/admin.php

    r3221460 r3272388  
    1414    class Boxo_Admin {
    1515        public static function add_menu_item() {
    16             if (!current_user_can('manage_options')) {
     16            if (!current_user_can('manage_woocommerce')) {
    1717                return;
    1818            }
     
    2121                'BOXO Return',
    2222                'BOXO Return',
    23                 'manage_options',
     23                'manage_woocommerce',
    2424                'boxo-return',
    2525                'Boxo_Admin::add_options_page',
     
    2929
    3030        public static function add_options_page() {
    31             if (!current_user_can('manage_options')) {
     31            if (!current_user_can('manage_woocommerce')) {
    3232                return;
    3333            }
  • boxo-return/tags/0.0.44/admin/settings.php

    r3242753 r3272388  
    2121    class Boxo_Settings {
    2222        public static function init() {
    23             if (!current_user_can('manage_options')) {
     23            if (!current_user_can('manage_woocommerce')) {
    2424                return;
    2525            }
  • boxo-return/tags/0.0.44/boxo-return.php

    r3264128 r3272388  
    22/*
    33* Plugin Name: BOXO Return
    4 * Version: 0.0.43
     4* Version: 0.0.44
    55* Description: Allows customers to select reusable packaging during checkout.
    66* Author: BOXO
     
    2020}
    2121
    22 const BOXO_RETURN_PLUGIN_VERSION = "0.0.43";
     22const BOXO_RETURN_PLUGIN_VERSION = "0.0.44";
    2323
    2424include plugin_dir_path(__FILE__) . 'includes/constants.php';
  • boxo-return/tags/0.0.44/readme.txt

    r3264128 r3272388  
    44Requires at least: 4.7
    55Tested up to: 6.5.3
    6 Stable tag: 0.0.43
     6Stable tag: 0.0.44
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    2626
    2727== Changelog ==
     28
     29= 0.0.44 =
     30Allow Shop Manager role to access settings page.
    2831
    2932= 0.0.36 =
  • boxo-return/trunk/admin/admin.php

    r3221460 r3272388  
    1414    class Boxo_Admin {
    1515        public static function add_menu_item() {
    16             if (!current_user_can('manage_options')) {
     16            if (!current_user_can('manage_woocommerce')) {
    1717                return;
    1818            }
     
    2121                'BOXO Return',
    2222                'BOXO Return',
    23                 'manage_options',
     23                'manage_woocommerce',
    2424                'boxo-return',
    2525                'Boxo_Admin::add_options_page',
     
    2929
    3030        public static function add_options_page() {
    31             if (!current_user_can('manage_options')) {
     31            if (!current_user_can('manage_woocommerce')) {
    3232                return;
    3333            }
  • boxo-return/trunk/admin/settings.php

    r3242753 r3272388  
    2121    class Boxo_Settings {
    2222        public static function init() {
    23             if (!current_user_can('manage_options')) {
     23            if (!current_user_can('manage_woocommerce')) {
    2424                return;
    2525            }
  • boxo-return/trunk/boxo-return.php

    r3264128 r3272388  
    22/*
    33* Plugin Name: BOXO Return
    4 * Version: 0.0.43
     4* Version: 0.0.44
    55* Description: Allows customers to select reusable packaging during checkout.
    66* Author: BOXO
     
    2020}
    2121
    22 const BOXO_RETURN_PLUGIN_VERSION = "0.0.43";
     22const BOXO_RETURN_PLUGIN_VERSION = "0.0.44";
    2323
    2424include plugin_dir_path(__FILE__) . 'includes/constants.php';
  • boxo-return/trunk/readme.txt

    r3264128 r3272388  
    44Requires at least: 4.7
    55Tested up to: 6.5.3
    6 Stable tag: 0.0.43
     6Stable tag: 0.0.44
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    2626
    2727== Changelog ==
     28
     29= 0.0.44 =
     30Allow Shop Manager role to access settings page.
    2831
    2932= 0.0.36 =
Note: See TracChangeset for help on using the changeset viewer.