Skip to content

Commit 4499f28

Browse files
authored
Merge pull request #113 from moderntribe/release/1.1.0
Package version 1.1.0
2 parents d3f4733 + 72aa0cf commit 4499f28

File tree

113 files changed

+2448
-1037
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+2448
-1037
lines changed

CHANGELOG.md

+26
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## [1.1.0]
4+
5+
### Added
6+
7+
- Created a new template tag, shortcode, and block for displaying product reviews.
8+
Shortcode usage: `[bigcommerce_reviews id={product ID}]`. Template tag
9+
usage: `echo \BigCommerce\Functions\product_reviews( $product_id );`
10+
- Added a plugin diagnostics section to the settings screen.
11+
- Added a static method to retrieve a Product object by product ID. Usage:
12+
`$product = \BigCommerce\Posts_Types\Product\Product::by_product_id( $product_id );`
13+
14+
### Changed
15+
16+
- Template may now have a wrapper HTML element that cannot be modified with
17+
a template override. This wrapper is defined in the template controller
18+
class associated with the template. Filters `bigcommerce/template/wrapper/tag`,
19+
`bigcommerce/template/wrapper/classes`, and `bigcommerce/template/wrapper/attributes`
20+
are available to modify this wrapper. Modification may break JavaScript
21+
provided by the plugin. We have added comments next to other HTML
22+
elements that are required to maintain JS functionality.
23+
24+
### Fixed
25+
26+
- Better error handling when the OAuth connector gives unexpected responses.
27+
328
## [1.0.2]
429

530
### Changed
@@ -166,6 +191,7 @@
166191

167192

168193
[Unreleased]: https://github.com/moderntribe/bigcommerce/compare/master...develop
194+
[1.1.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/1.0.2...1.1.0
169195
[1.0.2]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/1.0.1...1.0.2
170196
[1.0.1]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.15.0...1.0.1
171197
[0.15.0]: https://github.com/bigcommerce/bigcommerce-for-wordpress/compare/0.14.0...0.15.0

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,14 @@ default header and footer. The page content is rendered inside the wrapper templ
219219
in `components/page-wrapper.php`. By modifying this wrapper template to match the HTML
220220
markup of a template in your theme, you should have consistent styling across your site.
221221

222+
Additional precautions should be taken when editing the contents of a template override. Within
223+
each of the templates there are `data-attributes` and `PHP` calls that are required in order for the
224+
template to work properly. Wherever you see a PHP call, you should assume that it is a necessary
225+
part of that template and should not be removed or altered. Additionally, you will find documentation
226+
in all of these templates denoting where specific classes or data-attributes are required. Omitting or
227+
removing these classes or attributes could potentially break the JS functionality of this plugin and
228+
your site's theme.
229+
222230
## Action and Filter Hooks
223231

224232
### Architectural Guidelines

assets/css/bc-admin.css

+102-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/bc-admin.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/master.css

+15-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/master.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/fonts/icons-bigcommerce/bigcommerce-icons.svg

+1
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

assets/js/dist/admin/gutenberg/scripts.js

+270-242
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/gutenberg/scripts.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/scripts.js

+302-277
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/scripts.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/vendor.js

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/dist/admin/vendor.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)