Title: Deprecated feature.
Last modified: July 16, 2020

---

# Deprecated feature.

 *  Resolved [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/deprecated-feature/)
 * Hello,
 * Just reporting an issue with PHP 7.4.
    _[16-Jul-2020 21:20:28 UTC] PHP Deprecated:
   Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? 
   d : e` or `a ? b : (c ? d : e)` in /httpdocs/wp-content/plugins/admin-bar-user-
   switching/functions/abus-core-functions.php on line 14
 *     ```
       $s = (empty( $_SERVER[ 'HTTPS' ] ) ? '' : (( $_SERVER[ 'HTTPS' ] == 'on' ) ? 's' : '')); // FIX.
           //$s = empty( $_SERVER[ 'HTTPS' ] ) ? '' : ( $_SERVER[ 'HTTPS' ] == 'on' ) ? 's' : '';
       ```
   
 * Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [criticaltinkerer](https://wordpress.org/support/users/criticaltinkerer/)
 * (@criticaltinkerer)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/deprecated-feature/#post-13832928)
 * Confirming that this is not fixed yet:
 * > Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(
   > a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in … /wp-content/plugins/admin-
   > bar-user-switching/functions/abus-core-functions.php on line 14
 *  [Drivingralle](https://wordpress.org/support/users/drivingralle/)
 * (@drivingralle)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/deprecated-feature/#post-14403968)
 * Confirming that this is not fixed yet.
 *  [zackkatz](https://wordpress.org/support/users/zackkatz/)
 * (@zackkatz)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-feature/#post-14985455)
 * I’ve [created a PR](https://github.com/wpexpertsio/admin-bar-user-switching/pull/12)
   for this on the plugin’s GitHub repo.
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-feature/#post-14995103)
 * Hi [@zackkatz](https://wordpress.org/support/users/zackkatz/), [@drivingralle](https://wordpress.org/support/users/drivingralle/),
   [@criticaltinkerer](https://wordpress.org/support/users/criticaltinkerer/), and
   [@nate1](https://wordpress.org/support/users/nate1/),
 * We have fixed the deprecated error and released the plugin update.
 * Thanks
 *  [Drivingralle](https://wordpress.org/support/users/drivingralle/)
 * (@drivingralle)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-feature/#post-14995318)
 * Great news!
    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 The topic ‘Deprecated feature.’ is closed to new replies.

 * ![](https://ps.w.org/admin-bar-user-switching/assets/icon-128x128.png?rev=1419846)
 * [Admin Bar User Switching](https://wordpress.org/plugins/admin-bar-user-switching/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-bar-user-switching/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-bar-user-switching/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-bar-user-switching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-bar-user-switching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-bar-user-switching/reviews/)

 * 5 replies
 * 5 participants
 * Last reply from: [Drivingralle](https://wordpress.org/support/users/drivingralle/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/deprecated-feature/#post-14995318)
 * Status: resolved