Changeset 2201341
- Timestamp:
- 11/26/2019 01:53:49 PM (6 years ago)
- Location:
- freshchat/trunk/widget-settings
- Files:
-
- 2 edited
-
add_to_page.php (modified) (1 diff)
-
settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
freshchat/trunk/widget-settings/add_to_page.php
r2075228 r2201341 95 95 96 96 //$options['loggedin_user'] 97 if ( esc_attr( $options['loggedin_user'] ) == "on" )97 if ( ! empty ( $options['loggedin_user'] ) && esc_attr( $options['loggedin_user'] ) == "on" ) 98 98 { 99 99 $current_user = wp_get_current_user(); -
freshchat/trunk/widget-settings/settings.php
r2075228 r2201341 14 14 } 15 15 16 // Check to see if Drift identify is checked16 // Check to see if Freshchat identify is checked 17 17 $loggedin_user = false; 18 if ( esc_attr( $options['loggedin_user'] ) == "on" ) {18 if ( ! empty ( $options['loggedin_user'] ) && esc_attr( $options['loggedin_user'] ) == "on" ) { 19 19 $loggedin_user = true; 20 20 wp_cache_flush();
Note: See TracChangeset
for help on using the changeset viewer.