Skip to content

Commit

Permalink
Version 1.8.3 (#89)
Browse files Browse the repository at this point in the history
* Improved accessibility of the Video Popup block.
* Added the ability to load block assets outside Getwid.
* Fixed an issue with the Tabs block styles being broken when it's nested inside itself.
* Fixed an issue with the Media Text Slider block not working properly in WP 6.1.
  • Loading branch information
Endzevich authored Jan 26, 2023
1 parent ac3f334 commit dc36e13
Show file tree
Hide file tree
Showing 59 changed files with 129 additions and 91 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.idea
/stats.json
/src/blocks/all-blocks
*.code-workspace
2 changes: 1 addition & 1 deletion getwid.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Getwid
* Plugin URI: https://motopress.com/products/getwid/
* Description: Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor.
* Version: 1.8.2
* Version: 1.8.3
* Author: MotoPress
* Author URI: https://motopress.com/
* License: GPLv2 or later
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/accordion.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function block_frontend_styles($styles) {
return $styles;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/advanced-heading.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getLabel() {
return __('Advanced Heading', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/advanced-spacer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getLabel() {
return __('Advanced Spacer', 'getwid');
}

private function block_frontend_assets( $attributes = null ) {
public function block_frontend_assets( $attributes = null ) {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getLabel() {
return __('Banner', 'getwid');
}

private function block_frontend_assets( $attributes = null ) {
public function block_frontend_assets( $attributes = null ) {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/circle-progress-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getLabel() {
return __('Circular Progress Bar', 'getwid');
}

private function block_frontend_assets( $attributes = null ) {
public function block_frontend_assets( $attributes = null ) {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/contact-form.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function render_captcha_block( $attributes ) {
}
/* #endregion */

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/content-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/content-timeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getLabel() {
return __('Content Timeline', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/countdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/counter.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function block_editor_scripts( $scripts ) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/custom-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function block_frontend_styles($styles) {
return $styles;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/google-map.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function get_google_api_key() {
wp_send_json_success( $response );
}

private function block_frontend_assets( $attributes = [], $content = '' ) {
public function block_frontend_assets( $attributes = [], $content = '' ) {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/image-hotspot.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/images-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/images-stack.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getLabel() {
return __('Image Stack Gallery', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/instagram.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function block_frontend_styles($styles) {
return $styles;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private function register_mailchimp_blocks() {
/* #endregion */
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/media-text-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/person.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getLabel() {
return __('Person', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/post-carousel.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public function block_frontend_styles($styles) {
return $styles;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/post-slider.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function block_frontend_styles($styles) {
return $styles;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/price-box.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getLabel() {
return __('Price Box', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/price-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function getLabel() {
return __('Price List', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/progress-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getLabel() {
return __('Progress Bar', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/recent-posts.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function getLabel() {
return __('Recent Posts', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/section.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets( $attributes = [], $content = '' ) {
public function block_frontend_assets( $attributes = [], $content = '' ) {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/social-links.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function block_frontend_styles($styles) {
return $styles;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/table-of-contents.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function getLabel() {
return __('Table of Contents', 'getwid');
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/table.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getLabel() {
return __( 'Table', 'getwid' );
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function block_editor_scripts($scripts) {
return $scripts;
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/acf/background-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/acf/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/acf/select.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/acf/wysiwyg.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-author.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-content.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-custom-field.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
2 changes: 1 addition & 1 deletion includes/blocks/template-parts/post-date.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public function __construct() {
);
}

private function block_frontend_assets() {
public function block_frontend_assets() {

if ( is_admin() ) {
return;
Expand Down
Loading

0 comments on commit dc36e13

Please sign in to comment.