Skip to content

Commit

Permalink
update to newest version of typerocket
Browse files Browse the repository at this point in the history
  • Loading branch information
robojuicedev committed Apr 14, 2021
1 parent 27af895 commit 6492bbe
Show file tree
Hide file tree
Showing 76 changed files with 1,517 additions and 708 deletions.
10 changes: 8 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: kevindees
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types, box, meta-box, meta-boxes
Requires at least: 5.5
Requires PHP: 7.2.5
Tested up to: 5.6
Stable Tag: 5.0.5
Tested up to: 5.7
Stable Tag: 5.0.6
License: GPLv2 or later

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

== Changelog ==

= 5.0.6 =

* Add WordPress 5.7 support.
* Improve code.
* Fix bugs.

= 5.0.5 =

* Add WordPress 5.6 support.
Expand Down
2 changes: 1 addition & 1 deletion typerocket-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: TypeRocket UI
Plugin URI: https://typerocket.com/ui/
Description: This plugin provides a powerful user interface for creating post types, taxonomies, and meta boxes.
Version: 5.0.5
Version: 5.0.6
Requires at least: 5.5
Requires PHP: 7.2
Author: TypeRocket
Expand Down
5 changes: 2 additions & 3 deletions typerocket/app/Http/Middleware/VerifyNonce.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
*
* Validate WP Nonce
*/
class VerifyNonce extends BaseVerify {

class VerifyNonce extends BaseVerify
{
public $except = [];

}
2 changes: 1 addition & 1 deletion typerocket/app/Models/Category.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

class Category extends WPTerm
{
protected $taxonomy = 'category';
public const TAXONOMY = 'category';
protected $closed = true;
}
2 changes: 1 addition & 1 deletion typerocket/app/Models/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

class Page extends WPPost
{
protected $postType = 'page';
public const POST_TYPE = 'page';
protected $closed = true;
}
2 changes: 1 addition & 1 deletion typerocket/app/Models/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class Post extends WPPost
{
protected $postType = 'post';
public const POST_TYPE = 'post';
protected $closed = true;

public function categories()
Expand Down
2 changes: 1 addition & 1 deletion typerocket/app/Models/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

class Tag extends WPTerm
{
protected $taxonomy = 'post_tag';
public const TAXONOMY = 'post_tag';
protected $closed = true;
}
Loading

0 comments on commit 6492bbe

Please sign in to comment.