Changeset 3057445
- Timestamp:
- 03/23/2024 05:03:51 PM (2 years ago)
- File:
-
- 1 edited
-
smart-app-banner/trunk/wsl-smart-app-banner.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smart-app-banner/trunk/wsl-smart-app-banner.php
r3057441 r3057445 435 435 wp_nonce_field( plugin_basename( __FILE__ ), 'wsl-sab-nonce' ); 436 436 437 $custom_fields = get_post_custom();438 if ( is_array( $custom_fields) &&437 $custom_fields = get_post_custom(); 438 if ( is_array( $custom_fields ) && 439 439 array_key_exists( '_wsl-app-id', $custom_fields ) && 440 440 array_key_exists( '_wsl-app-id-ipad', $custom_fields ) && 441 441 array_key_exists( '_wsl-affiliate-data', $custom_fields ) && 442 442 array_key_exists( '_wsl-app-argument', $custom_fields ) 443 ) {443 ) { 444 444 $app_id_list = $custom_fields['_wsl-app-id']; 445 445 $app_id_ipad_list = $custom_fields['_wsl-app-id-ipad']; 446 446 $affiliate_data = $custom_fields['_wsl-affiliate-data']; 447 447 $app_argument = $custom_fields['_wsl-app-argument']; 448 } 449 else { 450 $app_id_list = array(""); 451 $app_id_ipad_list = array(""); 452 $affiliate_data = array(""); 453 $app_argument = array(""); 448 } else { 449 $app_id_list = array( '' ); 450 $app_id_ipad_list = array( '' ); 451 $affiliate_data = array( '' ); 452 $app_argument = array( '' ); 454 453 } 455 454
Note: See TracChangeset
for help on using the changeset viewer.