Title: Deprecated PHP warning
Last modified: April 13, 2021

---

# Deprecated PHP warning

 *  [HubieDoobieDoo](https://wordpress.org/support/users/hubiedoobiedoo/)
 * (@hubiedoobiedoo)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/deprecated-php-warning-2/)
 * With WP_DEBUG on, the log reports :
 * > PHP Deprecated: Unparenthesized `a ? b : c ? d : e` is deprecated. Use either`(
   > a ? b : c) ? d : e` or `a ? b : (c ? d : e)` in <mysite>/wp-content/themes/
   > shapely/inc/extras.php on line 442
 * The line in question reads:
    `$author_name = ( '' != trim( $author_nickname ))?
   $author_nickname : ( trim( $author_displayname ) != '' ) ? $author_displayname:
   $author_fullname;`
 * (Shapely Version : 1.2.12 )

The topic ‘Deprecated PHP warning’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/shapely/1.2.19/screenshot.png)
 * Shapely
 * [Support Threads](https://wordpress.org/support/theme/shapely/)
 * [Active Topics](https://wordpress.org/support/theme/shapely/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/shapely/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/shapely/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [HubieDoobieDoo](https://wordpress.org/support/users/hubiedoobiedoo/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/deprecated-php-warning-2/)
 * Status: not resolved