Changeset 2678034 for whp-hide-posts
- Timestamp:
- 02/13/2022 08:46:21 PM (4 years ago)
- Location:
- whp-hide-posts
- Files:
-
- 31 added
- 3 edited
-
tags/1.0.1 (added)
-
tags/1.0.1/LICENSE (added)
-
tags/1.0.1/README.md (added)
-
tags/1.0.1/assets (added)
-
tags/1.0.1/assets/admin (added)
-
tags/1.0.1/assets/admin/css (added)
-
tags/1.0.1/assets/admin/css/whp-style.css (added)
-
tags/1.0.1/assets/admin/js (added)
-
tags/1.0.1/assets/admin/js/whp-script.js (added)
-
tags/1.0.1/inc (added)
-
tags/1.0.1/inc/admin (added)
-
tags/1.0.1/inc/admin/class-dashboard.php (added)
-
tags/1.0.1/inc/admin/class-post-hide-metabox.php (added)
-
tags/1.0.1/inc/class-post-hide.php (added)
-
tags/1.0.1/inc/class-zeen-theme.php (added)
-
tags/1.0.1/inc/core (added)
-
tags/1.0.1/inc/core/autoloader.php (added)
-
tags/1.0.1/inc/core/class-constants.php (added)
-
tags/1.0.1/inc/core/class-plugin.php (added)
-
tags/1.0.1/inc/core/helpers.php (added)
-
tags/1.0.1/inc/traits (added)
-
tags/1.0.1/inc/traits/trait-singleton.php (added)
-
tags/1.0.1/languages (added)
-
tags/1.0.1/languages/whp-hide-posts-mk_MK.mo (added)
-
tags/1.0.1/languages/whp-hide-posts-mk_MK.po (added)
-
tags/1.0.1/uninstall.php (added)
-
tags/1.0.1/views (added)
-
tags/1.0.1/views/admin (added)
-
tags/1.0.1/views/admin/template-admin-dashboard.php (added)
-
tags/1.0.1/views/admin/template-admin-post-metabox.php (added)
-
tags/1.0.1/whp-hide-posts.php (added)
-
trunk/README.md (modified) (2 diffs)
-
trunk/inc/class-post-hide.php (modified) (1 diff)
-
trunk/whp-hide-posts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
whp-hide-posts/trunk/README.md
r2674334 r2678034 6 6 Tested up to: 5.9 7 7 Requires PHP: 7.3 8 Stable tag: 1.0. 08 Stable tag: 1.0.1 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 63 63 64 64 == Changelog == 65 66 = 1.0.1 = 67 _Release Date - 13 February 2022_ 68 69 - Bug fix. Added check for enabled post type for REST API Hide. 65 70 66 71 = 1.0.0 = -
whp-hide-posts/trunk/inc/class-post-hide.php
r2674320 r2678034 56 56 */ 57 57 public function hide_from_rest_api( $args, $request ) { 58 if ( ! in_array( $args['post_type'], $this->enabled_post_types, true ) ) { 59 return $args; 60 } 61 58 62 $hidden_ids = whp_plugin()->get_hidden_posts_ids( $args['post_type'], 'rest_api' ); 59 63 -
whp-hide-posts/trunk/whp-hide-posts.php
r2674320 r2678034 5 5 * Author: MartinCV 6 6 * Author URI: https://www.martincv.com 7 * Version: 1.0. 07 * Version: 1.0.1 8 8 * Text Domain: whp-hide-posts 9 9 * … … 49 49 * @var string 50 50 */ 51 private $version = '1.0. 0';51 private $version = '1.0.1'; 52 52 53 53 /**
Note: See TracChangeset
for help on using the changeset viewer.