Changeset 3057699
- Timestamp:
- 03/24/2024 01:15:41 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
hide-admin-dashboard-notifications/trunk/belo-hide-admin-notifications.php
r3057695 r3057699 49 49 } 50 50 function wp_belo_han_collect_site_info() { 51 $info_sent = get_option(' wp_belo_han_site_info_sent_switch', false);51 $info_sent = get_option('wp_belo_han_site_info_sent_switch1', false); 52 52 // If site info has already been sent, return 53 53 if ($info_sent) { … … 70 70 // If successful, update the flag to indicate that info has been sent 71 71 if (!is_wp_error($response) && $response['response']['code'] === 200) { 72 update_option(' wp_belo_han_site_info_sent_switch', true);72 update_option('wp_belo_han_site_info_sent_switch1', true); 73 73 } 74 74 // Check for errors
Note: See TracChangeset
for help on using the changeset viewer.