Skip to content

Commit 9714691

Browse files
committed
🚀 RELEASE: v4.0.0
1 parent 86c3aab commit 9714691

File tree

4 files changed

+157
-7
lines changed

4 files changed

+157
-7
lines changed

CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,81 @@
11
# Changelog
22

3+
## 4.0
4+
* Added Spanish language translation in `languages/wp-dispensary-es_ES.po`
5+
* Added Italian language translation in `languages/wp-dispensary-it_IT.po`
6+
* Added German language translation in `languages/wp-dispensary-de_DE.po`
7+
* Added French language translation in `languages/wp-dispensary-fr_FR.po`
8+
* Added Croatian language translation in `languages/wp-dispensary-hr_HR.po`
9+
* Added Czech language translation in `languages/wp-dispensary-cs_CZ.po`
10+
* Added Georgian language translation in `languages/wp-dispensary-ka_GE.po`
11+
* Added Hebrew language translation in `languages/wp-dispensary-he_IL.po`
12+
* Added Maltese language translation in `languages/wp-dispensary-mt_MT.po`
13+
* Added Dutch language translation in `languages/wp-dispensary-nl_NL.po`
14+
* Added new `Products Search` widget in `admin/widgets/wpd-widget-product-search.php`
15+
* Added new `Products` post type in `admin/wp-dispensary-products-post-type.php`
16+
* Added new `wpd_categories` taxonomy for posts in the Products post type in `admin/taxonomies/wpd-taxonomy-categories.php`
17+
* Added Products submenu item in admin dashboard in `admin/class-wp-dispensary-admin-settings.php`
18+
* Added `wpd_concentrates_prices_array` helper function in `includes/functions/wp-dispensary-pricing-functions.php`
19+
* Added products post type permalink settings in `admin/class-wp-dispensary-permalink-settings.php`
20+
* Added new `product_type` metadata to each product in `admin/metaboxes/wpd-metabox-product-type.php`
21+
* Added new `wpd_product_schema` helper function in `includes/functions/wp-dispensary-product-functions.php`
22+
* Added `Tinctures` and `Edibles` to the `product_type` metadata options in `admin/wp-dispensary-helper-functions.php`
23+
* Added new `wpd_product_type_display_name` helper function in `admin/wp-dispensary-helper-functions.php`
24+
* Added new `wpd_tinctures_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
25+
* Added new `wpd_gear_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
26+
* Added new `get_wpd_tinctures_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
27+
* Added new `get_wpd_gear_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
28+
* Added new `wpd_compound_type` helper function in `admin/wp-dispensary-helper-functions.php`
29+
* Added new `wpd_product_prices helper function` helper function in `includes/functions/wp-dispensary-pricing-functions.php`
30+
* Added new `wpd_product_types` helper function in `includes/functions/wp-dispensary-general-functions.php`
31+
* Added new `wpd_product_types_simple` helper function in `includes/functions/wp-dispensary-general-functions.php`
32+
* Added new `wp_dispensary_custom_image_sizes` filter and helper function in `includes/functions/wp-dispensary-general-functions.php`
33+
* Added new `wpd_product_prices_array` helper function in `includes/functions/wp-dispensary-pricing-functions.php`
34+
* Added new `wpd_compound_list` helper function in `includes/functions/wp-dispensary-product-functions.php`
35+
* Added new `get_wpd_vendors_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
36+
* Added new `get_wpd_strain_types_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
37+
* Added new `get_wpd_shelf_types_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
38+
* Added new `wpd_product_type_display_name_to_slug` helper function in `includes/functions/wp-dispensary-general-functions.php`
39+
* Added new `get_wpd_product_type_item_count` helper function in `includes/functions/wp-dispensary-general-functions.php`
40+
* Added new `get_wpd_product_type_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
41+
* Added new `get_wpd_product_types_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
42+
* Added new `wpd_csv_export_data_row` filter in `admin/class-wp-dispensary-csv-export.php`
43+
* Added new `wpd_compounds_table_placement_options` filter in `admin/wp-dispensary-admin-settings.php`
44+
* Added new `WPD_Products` class in `includes/class-wp-dispensary-products.php`
45+
* Added new `wpd/v1` REST API route to the WP REST API in `admin/wp-dispensary-rest-api.php`
46+
* Added `product_type` jQuery to show/hide metaboxes properly in `admin/js/wp-dispensary-admin.js`
47+
* Added `convert_post_types`, `convert_metadata`, and `convert_taxonomies` helper function for v4.0 upgrade in `includes/functions/wp-dispensary-helper-functions.php`
48+
* Added new Products Export option to the WP Dispensary admin settings in `admin/class-wp-dispensary-csv-export.php`
49+
* Added parameter to `get_wpd_product_image` function that will link/unlink images in `includes/functions/wp-dispensary-product-functions.php`
50+
* Added logo field to vendors taxonomy in `admin/class-wp-dispensary-vendors-taxonomy-fields.php`
51+
* Added product type filter to admin all products screen in `admin/wp-dispensary-admin-screens.php`
52+
* Added `Activation time` to product details in multiple files throughout the plugin
53+
* Deprecated `flowers_category`, `concentrates_category`, `edibles_category`, `topicals_category`, and `growers_category`, taxonomies
54+
* Deprecated `Flowers`, `Concentrates`, `Edibles`, `Topicals`, `Pre-rolls`, and `Growers` post types
55+
* Deprecated `Flowers`, `Concentrates`, `Edibles`, `Topicals`, `Pre-rolls`, and `Growers` widgets
56+
* Deprecated `wpd-flowers`, `wpd-concentrates`, `wpd-edibles`, `wpd-topicals`, `wpd-prerolls`, `wpd-growers`, and `wpd-carousel` shortcodes
57+
* Updated `wpd_menu` shortcode output styles in `public/assets/css/wp-dispensary-public.css`
58+
* Updated concentrate prices variable to remove PHP notices in `admin/wp-dispensary-data-output.php`
59+
* Updated `wpd_menu` shortcode to include an option to display products in a carousel in `admin/wp-dispensary-shortcodes.php`
60+
* Updated `wpd_menu` div wrappers and class names for each product type in `admin/wp-dispensary-shortcodes.php`
61+
* Updated shortcode output for pre-rolls product type in `admin/wp-dispensary-shortcodes.php`
62+
* Updated REST API data for Products post type in `admin/wp-dispensary-rest-api.php`
63+
* Updated admin 'Products' screen styles in `admin/css/wp-dispensary-admin.css`
64+
* Updated admin screen styles for multiple taxonomies and Orders in `admin/css/wp-dispensary-admin.css`
65+
* Updated body classes for WPD menu and products in `public/class-wp-dispensary-public.php`
66+
* Updated slick.js to v1.8.1 and cleaned up additional JS in `public/js/wp-dispensary-public.js`
67+
* Updated products archive to display all products in `admin/wp-dispensary-admin-screens.php`
68+
* Updated `get_wpd_product_details` function's `$wrapper` arg default in `includes/functions/wp-dispensary-product-functions.php`
69+
* Updated `patient` references to `customers` in multiple file throughout the plugin
70+
* Updated pricing metabox keys to use a new name structure in multiple file throughout the plugin
71+
* Updated taxonomies to use a new name structure in multiple file throughout the plugin
72+
* Updated product data metabox keys to use a new name structure in multiple file throughout the plugin
73+
* Updated `.pot` file with text strings for localization in `languages/wp-dispensary.pot`
74+
* Bugfix to keep WPD `admin_menu` open when various taxonomies are open in `admin/class-wp-dispensary-admin-settings.php`
75+
* Bugfix for admin settings redirect page array if no pages are found in `admin/wp-dispensary-admin-settings.php`
76+
* Bugfix for content output of single products in `admin/wp-dispensary-data-output.php`
77+
* General code cleanup throughout various files in the plugin
78+
379
## 3.3.5
480
* Added default image for the Styles add-on in `public/images/wpd-styles-list-image.jpg`
581
* Added empty var to remove WP Debug notice in `admin/wp-dispensary-data-output.php`

includes/class-wp-dispensary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class WP_Dispensary {
7171
public function __construct() {
7272

7373
$this->plugin_name = 'wp-dispensary';
74-
$this->version = '3.3.5';
74+
$this->version = '4.0.0';
7575

7676
if ( defined( 'WP_DISPENSARY_VERSION' ) ) {
7777
$this->version = WP_DISPENSARY_VERSION;

readme.txt

Lines changed: 78 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Contributors: wpdispensary, deviodigital
33
Tags: cannabis, dispensary, menu, marijuana, weed, wp-dispensary, pot, mmj, mmp, menu-management, medical-marijuana
44
Requires at least: 3.0.1
5-
Tested up to: 5.6
6-
Stable tag: 3.3.5
5+
Tested up to: 5.9
6+
Stable tag: 4.0
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -47,8 +47,6 @@ WordPress.org is home to some amazing free extensions for WP Dispensary, includi
4747

4848
* [Dispensary Blocks](https://wordpress.org/plugins/dispensary-blocks)
4949
* [Dispensary Coupons](https://wordpress.org/plugins/dispensary-coupons)
50-
* [Dispensary Tinctures](https://wordpress.org/plugins/dispensary-tinctures)
51-
* [Dispensary Gear](https://wordpress.org/plugins/dispensary-gear)
5250

5351
## Go Pro with WP Dispensary
5452

@@ -81,6 +79,82 @@ Visit our [extensions page](https://www.wpdispensary.com/add-ons) to find out ev
8179

8280
== Changelog ==
8381

82+
= 4.0 =
83+
* Added Spanish language translation in `languages/wp-dispensary-es_ES.po`
84+
* Added Italian language translation in `languages/wp-dispensary-it_IT.po`
85+
* Added German language translation in `languages/wp-dispensary-de_DE.po`
86+
* Added French language translation in `languages/wp-dispensary-fr_FR.po`
87+
* Added Croatian language translation in `languages/wp-dispensary-hr_HR.po`
88+
* Added Czech language translation in `languages/wp-dispensary-cs_CZ.po`
89+
* Added Georgian language translation in `languages/wp-dispensary-ka_GE.po`
90+
* Added Hebrew language translation in `languages/wp-dispensary-he_IL.po`
91+
* Added Maltese language translation in `languages/wp-dispensary-mt_MT.po`
92+
* Added Dutch language translation in `languages/wp-dispensary-nl_NL.po`
93+
* Added new `Products Search` widget in `admin/widgets/wpd-widget-product-search.php`
94+
* Added new `Products` post type in `admin/wp-dispensary-products-post-type.php`
95+
* Added new `wpd_categories` taxonomy for posts in the Products post type in `admin/taxonomies/wpd-taxonomy-categories.php`
96+
* Added Products submenu item in admin dashboard in `admin/class-wp-dispensary-admin-settings.php`
97+
* Added `wpd_concentrates_prices_array` helper function in `includes/functions/wp-dispensary-pricing-functions.php`
98+
* Added products post type permalink settings in `admin/class-wp-dispensary-permalink-settings.php`
99+
* Added new `product_type` metadata to each product in `admin/metaboxes/wpd-metabox-product-type.php`
100+
* Added new `wpd_product_schema` helper function in `includes/functions/wp-dispensary-product-functions.php`
101+
* Added `Tinctures` and `Edibles` to the `product_type` metadata options in `admin/wp-dispensary-helper-functions.php`
102+
* Added new `wpd_product_type_display_name` helper function in `admin/wp-dispensary-helper-functions.php`
103+
* Added new `wpd_tinctures_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
104+
* Added new `wpd_gear_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
105+
* Added new `get_wpd_tinctures_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
106+
* Added new `get_wpd_gear_prices_simple` helper function in `admin/wp-dispensary-helper-functions.php`
107+
* Added new `wpd_compound_type` helper function in `admin/wp-dispensary-helper-functions.php`
108+
* Added new `wpd_product_prices helper function` helper function in `includes/functions/wp-dispensary-pricing-functions.php`
109+
* Added new `wpd_product_types` helper function in `includes/functions/wp-dispensary-general-functions.php`
110+
* Added new `wpd_product_types_simple` helper function in `includes/functions/wp-dispensary-general-functions.php`
111+
* Added new `wp_dispensary_custom_image_sizes` filter and helper function in `includes/functions/wp-dispensary-general-functions.php`
112+
* Added new `wpd_product_prices_array` helper function in `includes/functions/wp-dispensary-pricing-functions.php`
113+
* Added new `wpd_compound_list` helper function in `includes/functions/wp-dispensary-product-functions.php`
114+
* Added new `get_wpd_vendors_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
115+
* Added new `get_wpd_strain_types_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
116+
* Added new `get_wpd_shelf_types_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
117+
* Added new `wpd_product_type_display_name_to_slug` helper function in `includes/functions/wp-dispensary-general-functions.php`
118+
* Added new `get_wpd_product_type_item_count` helper function in `includes/functions/wp-dispensary-general-functions.php`
119+
* Added new `get_wpd_product_type_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
120+
* Added new `get_wpd_product_types_details` helper function in `includes/functions/wp-dispensary-general-functions.php`
121+
* Added new `wpd_csv_export_data_row` filter in `admin/class-wp-dispensary-csv-export.php`
122+
* Added new `wpd_compounds_table_placement_options` filter in `admin/wp-dispensary-admin-settings.php`
123+
* Added new `WPD_Products` class in `includes/class-wp-dispensary-products.php`
124+
* Added new `wpd/v1` REST API route to the WP REST API in `admin/wp-dispensary-rest-api.php`
125+
* Added `product_type` jQuery to show/hide metaboxes properly in `admin/js/wp-dispensary-admin.js`
126+
* Added `convert_post_types`, `convert_metadata`, and `convert_taxonomies` helper function for v4.0 upgrade in `includes/functions/wp-dispensary-helper-functions.php`
127+
* Added new Products Export option to the WP Dispensary admin settings in `admin/class-wp-dispensary-csv-export.php`
128+
* Added parameter to `get_wpd_product_image` function that will link/unlink images in `includes/functions/wp-dispensary-product-functions.php`
129+
* Added logo field to vendors taxonomy in `admin/class-wp-dispensary-vendors-taxonomy-fields.php`
130+
* Added product type filter to admin all products screen in `admin/wp-dispensary-admin-screens.php`
131+
* Added `Activation time` to product details in multiple files throughout the plugin
132+
* Deprecated `flowers_category`, `concentrates_category`, `edibles_category`, `topicals_category`, and `growers_category`, taxonomies
133+
* Deprecated `Flowers`, `Concentrates`, `Edibles`, `Topicals`, `Pre-rolls`, and `Growers` post types
134+
* Deprecated `Flowers`, `Concentrates`, `Edibles`, `Topicals`, `Pre-rolls`, and `Growers` widgets
135+
* Deprecated `wpd-flowers`, `wpd-concentrates`, `wpd-edibles`, `wpd-topicals`, `wpd-prerolls`, `wpd-growers`, and `wpd-carousel` shortcodes
136+
* Updated `wpd_menu` shortcode output styles in `public/assets/css/wp-dispensary-public.css`
137+
* Updated concentrate prices variable to remove PHP notices in `admin/wp-dispensary-data-output.php`
138+
* Updated `wpd_menu` shortcode to include an option to display products in a carousel in `admin/wp-dispensary-shortcodes.php`
139+
* Updated `wpd_menu` div wrappers and class names for each product type in `admin/wp-dispensary-shortcodes.php`
140+
* Updated shortcode output for pre-rolls product type in `admin/wp-dispensary-shortcodes.php`
141+
* Updated REST API data for Products post type in `admin/wp-dispensary-rest-api.php`
142+
* Updated admin 'Products' screen styles in `admin/css/wp-dispensary-admin.css`
143+
* Updated admin screen styles for multiple taxonomies and Orders in `admin/css/wp-dispensary-admin.css`
144+
* Updated body classes for WPD menu and products in `public/class-wp-dispensary-public.php`
145+
* Updated slick.js to v1.8.1 and cleaned up additional JS in `public/js/wp-dispensary-public.js`
146+
* Updated products archive to display all products in `admin/wp-dispensary-admin-screens.php`
147+
* Updated `get_wpd_product_details` function's `$wrapper` arg default in `includes/functions/wp-dispensary-product-functions.php`
148+
* Updated `patient` references to `customers` in multiple file throughout the plugin
149+
* Updated pricing metabox keys to use a new name structure in multiple file throughout the plugin
150+
* Updated taxonomies to use a new name structure in multiple file throughout the plugin
151+
* Updated product data metabox keys to use a new name structure in multiple file throughout the plugin
152+
* Updated `.pot` file with text strings for localization in `languages/wp-dispensary.pot`
153+
* Bugfix to keep WPD `admin_menu` open when various taxonomies are open in `admin/class-wp-dispensary-admin-settings.php`
154+
* Bugfix for admin settings redirect page array if no pages are found in `admin/wp-dispensary-admin-settings.php`
155+
* Bugfix for content output of single products in `admin/wp-dispensary-data-output.php`
156+
* General code cleanup throughout various files in the plugin
157+
84158
= 3.3.5 =
85159
* Added default image for the Styles add-on in `public/images/wpd-styles-list-image.jpg`
86160
* Added empty var to remove WP Debug notice in `admin/wp-dispensary-data-output.php`

wp-dispensary.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: WP Dispensary
1212
* Plugin URI: https://www.wpdispensary.com
1313
* Description: The complete marijuana menu solution for dispensaries and delivery services
14-
* Version: 3.3.5
14+
* Version: 4.0
1515
* Author: WP Dispensary
1616
* Author URI: https://www.wpdispensary.com
1717
* License: GPL-2.0+
@@ -26,7 +26,7 @@
2626
}
2727

2828
// Define the plugin version.
29-
define( 'WP_DISPENSARY_VERSION', '3.3.5' );
29+
define( 'WP_DISPENSARY_VERSION', '4.0' );
3030

3131
// Define the plugin base name.
3232
$plugin_name = plugin_basename( __FILE__ );

0 commit comments

Comments
 (0)