Skip to content

Commit

Permalink
Update compatibility with 6.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolay Strikhar authored and Nikolay Strikhar committed Jan 5, 2023
1 parent d241f72 commit 27e9837
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 27 deletions.
33 changes: 11 additions & 22 deletions dashboard/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@ public function __construct()

$this->informations = array(
'cards' => array(
array(
'title' => 'Want to Contribute?',
'media' => array(
'type' => 'svg',
'src' => '<svg fill="#000000" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30" width="90px" height="90px"> <path d="M15,3C8.373,3,3,8.373,3,15c0,5.623,3.872,10.328,9.092,11.63C12.036,26.468,12,26.28,12,26.047v-2.051 c-0.487,0-1.303,0-1.508,0c-0.821,0-1.551-0.353-1.905-1.009c-0.393-0.729-0.461-1.844-1.435-2.526 c-0.289-0.227-0.069-0.486,0.264-0.451c0.615,0.174,1.125,0.596,1.605,1.222c0.478,0.627,0.703,0.769,1.596,0.769 c0.433,0,1.081-0.025,1.691-0.121c0.328-0.833,0.895-1.6,1.588-1.962c-3.996-0.411-5.903-2.399-5.903-5.098 c0-1.162,0.495-2.286,1.336-3.233C9.053,10.647,8.706,8.73,9.435,8c1.798,0,2.885,1.166,3.146,1.481C13.477,9.174,14.461,9,15.495,9 c1.036,0,2.024,0.174,2.922,0.483C18.675,9.17,19.763,8,21.565,8c0.732,0.731,0.381,2.656,0.102,3.594 c0.836,0.945,1.328,2.066,1.328,3.226c0,2.697-1.904,4.684-5.894,5.097C18.199,20.49,19,22.1,19,23.313v2.734 c0,0.104-0.023,0.179-0.035,0.268C23.641,24.676,27,20.236,27,15C27,8.373,21.627,3,15,3z"/></svg>'
),
'action' => array(
'link' => 'https://github.com/munirkamal/gutenberg-forms',
'label' => 'Get Connected On Github'
)
),
array(
'title' => 'Found A Bug?',
'action' => array(
Expand Down Expand Up @@ -106,17 +95,17 @@ public function __construct()
),
),

array(
'title' => 'How to use?',
'action' => array(
'link' => 'http://docs.gutenbergforms.com/',
'label' => 'Read Docs'
),
'media' => array(
'type' => 'svg',
'src' => '<svg id="Capa_1" enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m258.287 34.2h127.279v193.747h-127.279z" fill="#80aef8" transform="matrix(.707 -.707 .707 .707 1.607 266.027)"/><path d="m453 197c0-33.137-26.863-60-60-60h-77v-77c0-33.137-26.863-60-60-60l-110 256 110 256h197z" fill="#4175df"/><path d="m59 0h197v512h-197z" fill="#4086f4"/><path d="m310.5 407h-54.5l-20 15 20 15h54.5z" fill="#e3e7ea"/><path d="m134 407h122v30h-122z" fill="#fff"/><path d="m378 347h-122l-20 15 20 15h122z" fill="#e3e7ea"/><path d="m134 347h122v30h-122z" fill="#fff"/><path d="m378 287h-122l-20 15 20 15h122z" fill="#e3e7ea"/><path d="m134 287h122v30h-122z" fill="#fff"/><path d="m378 227h-122l-20 15 20 15h122z" fill="#e3e7ea"/><path d="m134 227h122v30h-122z" fill="#fff"/></g></svg>',
),
),
// array(
// 'title' => 'How to use?',
// 'action' => array(
// 'link' => 'http://docs.gutenbergforms.com/',
// 'label' => 'Read Docs'
// ),
// 'media' => array(
// 'type' => 'svg',
// 'src' => '<svg id="Capa_1" enable-background="new 0 0 512 512" height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><g><path d="m258.287 34.2h127.279v193.747h-127.279z" fill="#80aef8" transform="matrix(.707 -.707 .707 .707 1.607 266.027)"/><path d="m453 197c0-33.137-26.863-60-60-60h-77v-77c0-33.137-26.863-60-60-60l-110 256 110 256h197z" fill="#4175df"/><path d="m59 0h197v512h-197z" fill="#4086f4"/><path d="m310.5 407h-54.5l-20 15 20 15h54.5z" fill="#e3e7ea"/><path d="m134 407h122v30h-122z" fill="#fff"/><path d="m378 347h-122l-20 15 20 15h122z" fill="#e3e7ea"/><path d="m134 347h122v30h-122z" fill="#fff"/><path d="m378 287h-122l-20 15 20 15h122z" fill="#e3e7ea"/><path d="m134 287h122v30h-122z" fill="#fff"/><path d="m378 227h-122l-20 15 20 15h122z" fill="#e3e7ea"/><path d="m134 227h122v30h-122z" fill="#fff"/></g></svg>',
// ),
// ),

)
);
Expand Down
2 changes: 1 addition & 1 deletion plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: The Next Generation WordPress Form Builder. Build forms directly within Gutenberg editor live. Add & arrange form fields like blocks.
* Author: Nikolay Strikhar
* Author URI: https://twitter.com/nikolaystrikhar
* Version: 2.2.8.2
* Version: 2.2.8.3
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: cwp-gutenberg-forms
Expand Down
8 changes: 4 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: nikolaystrikhar
Tags: wordpress form, gutenberg form, contact form, subscribe form, multi-step form, gutenberg block, contact form plugin, forms, form builder, custom form, contact button, contact me, custom contact form, form manager, form, forms builder, forms creator, captcha, recaptcha, Akismet, email form, web form, feedback form, email submit form, message form, contact form block, wordpress form plugin
Requires at least: 5.0
Tested up to: 6.0
Stable tag: 2.2.8.2
Tested up to: 6.1.1
Stable tag: 2.2.8.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -119,10 +119,10 @@ You may also get involved with the development via Github:
== Changelog ==
For more information, visit [Gutenberg Forms](https://gutenbergforms.com)

= 2.2.8.2 = (5 Jan 2023)
= 2.2.8.3 = (5 Jan 2023)

- Fixed: Plugin was broken on wp.org
- Updated: Compatibility with WP 6.0
- Updated: Compatibility with WP 6.1.1
- Updated: Readme

= 2.2.8.1 = (16 May 2022)
Expand Down

0 comments on commit 27e9837

Please sign in to comment.