Skip to content

Commit 6492bbe

Browse files
committed
update to newest version of typerocket
1 parent 27af895 commit 6492bbe

Some content is hidden

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

76 files changed

+1517
-708
lines changed

readme.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: kevindees
33
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types, box, meta-box, meta-boxes
44
Requires at least: 5.5
55
Requires PHP: 7.2.5
6-
Tested up to: 5.6
7-
Stable Tag: 5.0.5
6+
Tested up to: 5.7
7+
Stable Tag: 5.0.6
88
License: GPLv2 or later
99

1010
This plugin provides a powerful user interface for creating post types, taxonomies, and meta boxes.
@@ -35,6 +35,12 @@ Upload the typerocket-ui plugin to your blog. Activate it! Then Go to TypeRocket
3535

3636
== Changelog ==
3737

38+
= 5.0.6 =
39+
40+
* Add WordPress 5.7 support.
41+
* Improve code.
42+
* Fix bugs.
43+
3844
= 5.0.5 =
3945

4046
* Add WordPress 5.6 support.

typerocket-ui.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: TypeRocket UI
44
Plugin URI: https://typerocket.com/ui/
55
Description: This plugin provides a powerful user interface for creating post types, taxonomies, and meta boxes.
6-
Version: 5.0.5
6+
Version: 5.0.6
77
Requires at least: 5.5
88
Requires PHP: 7.2
99
Author: TypeRocket

typerocket/app/Http/Middleware/VerifyNonce.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
*
99
* Validate WP Nonce
1010
*/
11-
class VerifyNonce extends BaseVerify {
12-
11+
class VerifyNonce extends BaseVerify
12+
{
1313
public $except = [];
14-
1514
}

typerocket/app/Models/Category.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
class Category extends WPTerm
77
{
8-
protected $taxonomy = 'category';
8+
public const TAXONOMY = 'category';
99
protected $closed = true;
1010
}

typerocket/app/Models/Page.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
class Page extends WPPost
77
{
8-
protected $postType = 'page';
8+
public const POST_TYPE = 'page';
99
protected $closed = true;
1010
}

typerocket/app/Models/Post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class Post extends WPPost
77
{
8-
protected $postType = 'post';
8+
public const POST_TYPE = 'post';
99
protected $closed = true;
1010

1111
public function categories()

typerocket/app/Models/Tag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
class Tag extends WPTerm
77
{
8-
protected $taxonomy = 'post_tag';
8+
public const TAXONOMY = 'post_tag';
99
protected $closed = true;
1010
}

0 commit comments

Comments
 (0)