Changeset 3213944
- Timestamp:
- 12/27/2024 07:53:25 PM (12 months ago)
- Location:
- whp-hide-posts
- Files:
-
- 2 edited
-
tags/2.0/inc/class-post-hide.php (modified) (1 diff)
-
trunk/inc/class-post-hide.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
whp-hide-posts/tags/2.0/inc/class-post-hide.php
r3213937 r3213944 63 63 } 64 64 65 $hidden_ids = whp_plugin()->get_hidden_posts_ids( $args['post_type'], 'rest_api' ); 65 $data_migrated = get_option( 'whp_data_migrated', false ); 66 67 $fallback = ! $data_migrated; 68 69 $hidden_ids = whp_plugin()->get_hidden_posts_ids( $args['post_type'], 'rest_api', $fallback ); 66 70 67 71 if ( ! empty( $hidden_ids ) ) { -
whp-hide-posts/trunk/inc/class-post-hide.php
r3213937 r3213944 63 63 } 64 64 65 $hidden_ids = whp_plugin()->get_hidden_posts_ids( $args['post_type'], 'rest_api' ); 65 $data_migrated = get_option( 'whp_data_migrated', false ); 66 67 $fallback = ! $data_migrated; 68 69 $hidden_ids = whp_plugin()->get_hidden_posts_ids( $args['post_type'], 'rest_api', $fallback ); 66 70 67 71 if ( ! empty( $hidden_ids ) ) {
Note: See TracChangeset
for help on using the changeset viewer.