Changeset 3785
- Timestamp:
- 08/09/2016 03:35:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/formatting.php
r3233 r3785 273 273 public static function autolink_references( $text ) { 274 274 // Temporary: Don't do anything if the text is a hash notation string. 275 if ( '{' === $text[0] ) {275 if ( $text && '{' === $text[0] ) { 276 276 return $text; 277 277 } … … 422 422 public static function fix_param_hash_formatting( $text ) { 423 423 // Don't do anything if this isn't a hash notation string. 424 if ( '{' != $text[0] ) {424 if ( ! $text || '{' != $text[0] ) { 425 425 return $text; 426 426 }
Note: See TracChangeset
for help on using the changeset viewer.