Changeset 3490767
- Timestamp:
- 03/25/2026 10:50:31 AM (11 days ago)
- Location:
- coinsnap-bitcoin-donation
- Files:
-
- 1 edited
- 6 copied
-
tags/1.5.5 (copied) (copied from coinsnap-bitcoin-donation/trunk)
-
tags/1.5.5/README.md (copied) (copied from coinsnap-bitcoin-donation/trunk/README.md)
-
tags/1.5.5/coinsnap-bitcoin-donation.php (copied) (copied from coinsnap-bitcoin-donation/trunk/coinsnap-bitcoin-donation.php)
-
tags/1.5.5/includes/class-coinsnap-bitcoin-donation-form-cpt.php (copied) (copied from coinsnap-bitcoin-donation/trunk/includes/class-coinsnap-bitcoin-donation-form-cpt.php) (2 diffs)
-
tags/1.5.5/includes/class-coinsnap-bitcoin-donation-settings.php (copied) (copied from coinsnap-bitcoin-donation/trunk/includes/class-coinsnap-bitcoin-donation-settings.php)
-
tags/1.5.5/readme.txt (copied) (copied from coinsnap-bitcoin-donation/trunk/readme.txt)
-
trunk/includes/class-coinsnap-bitcoin-donation-form-cpt.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
coinsnap-bitcoin-donation/tags/1.5.5/includes/class-coinsnap-bitcoin-donation-form-cpt.php
r3490717 r3490767 509 509 public function fix_parent_menu( $parent_file ) { 510 510 $screen = get_current_screen(); 511 if ( $screen && $screen->post_type === self::POST_TYPE ) {511 if ( $screen && $screen->post_type === self::POST_TYPE && in_array( $screen->base, array( 'edit', 'post' ), true ) ) { 512 512 return 'edit.php?post_type=donation-form'; 513 513 } … … 517 517 public function fix_submenu_highlight( $submenu_file ) { 518 518 $screen = get_current_screen(); 519 if ( $screen && $screen->post_type === self::POST_TYPE ) {519 if ( $screen && $screen->post_type === self::POST_TYPE && in_array( $screen->base, array( 'edit', 'post' ), true ) ) { 520 520 return 'edit.php?post_type=donation-form'; 521 521 } -
coinsnap-bitcoin-donation/trunk/includes/class-coinsnap-bitcoin-donation-form-cpt.php
r3490717 r3490767 509 509 public function fix_parent_menu( $parent_file ) { 510 510 $screen = get_current_screen(); 511 if ( $screen && $screen->post_type === self::POST_TYPE ) {511 if ( $screen && $screen->post_type === self::POST_TYPE && in_array( $screen->base, array( 'edit', 'post' ), true ) ) { 512 512 return 'edit.php?post_type=donation-form'; 513 513 } … … 517 517 public function fix_submenu_highlight( $submenu_file ) { 518 518 $screen = get_current_screen(); 519 if ( $screen && $screen->post_type === self::POST_TYPE ) {519 if ( $screen && $screen->post_type === self::POST_TYPE && in_array( $screen->base, array( 'edit', 'post' ), true ) ) { 520 520 return 'edit.php?post_type=donation-form'; 521 521 }
Note: See TracChangeset
for help on using the changeset viewer.