Changeset 3004495
- Timestamp:
- 12/02/2023 09:09:12 AM (2 years ago)
- Location:
- adminimize
- Files:
-
- 2 edited
-
tags/1.11.10/adminimize.php (modified) (1 diff)
-
trunk/adminimize.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adminimize/tags/1.11.10/adminimize.php
r3004113 r3004495 283 283 } 284 284 if ( ! isset( $current_post_type ) || empty( $current_post_type ) ) { 285 $current_post_type = get_post_type( $post->ID);285 $current_post_type = get_post_type( get_queried_object_id() ); 286 286 } 287 287 if ( ! isset( $current_post_type ) || empty( $current_post_type ) ) { -
adminimize/trunk/adminimize.php
r3004114 r3004495 283 283 } 284 284 if ( ! isset( $current_post_type ) || empty( $current_post_type ) ) { 285 $current_post_type = get_post_type( $post->ID);285 $current_post_type = get_post_type( get_queried_object_id() ); 286 286 } 287 287 if ( ! isset( $current_post_type ) || empty( $current_post_type ) ) {
Note: See TracChangeset
for help on using the changeset viewer.