Changeset 3429755
- Timestamp:
- 12/30/2025 05:49:28 PM (3 months ago)
- Location:
- whp-hide-posts/trunk
- Files:
-
- 3 edited
-
README.md (modified) (1 diff)
-
inc/class-post-hide.php (modified) (1 diff)
-
whp-hide-posts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
whp-hide-posts/trunk/README.md
r3401474 r3429755 74 74 == Changelog == 75 75 76 = 2.1.1 = 77 _Release Date - 30 December 2025_ 78 79 - Potential bug fix where hidden posts do not show in the admin area. 80 76 81 = 2.1.0 = 77 82 _Release Date - 24 November 2025_ -
whp-hide-posts/trunk/inc/class-post-hide.php
r3401474 r3429755 61 61 */ 62 62 public function hide_from_rest_api( $args, $request ) { 63 // Don't hide posts in admin context (edit mode). 64 if ( 'edit' === $request->get_param( 'context' ) ) { 65 return $args; 66 } 67 63 68 if ( ! in_array( $args['post_type'], $this->enabled_post_types, true ) ) { 64 69 return $args; -
whp-hide-posts/trunk/whp-hide-posts.php
r3401474 r3429755 5 5 * Author: MartinCV 6 6 * Author URI: https://www.martincv.com 7 * Version: 2.1. 07 * Version: 2.1.1 8 8 * Text Domain: whp-hide-posts 9 9 * … … 49 49 * @var string 50 50 */ 51 private $version = '2.1. 0';51 private $version = '2.1.1'; 52 52 53 53 /**
Note: See TracChangeset
for help on using the changeset viewer.