Changeset 10603
- Timestamp:
- 01/19/2021 11:09:41 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-performance-optimizations.php
r10602 r10603 500 500 if ( ! empty( $topic['tax_input'][ $taxonomy ] ) ) { 501 501 if ( ! is_array( $topic['tax_input'][ $taxonomy ] ) ) { 502 $topic['tax_input'][ $taxonomy ] = preg_split( '/,\s +/', trim( $topic['tax_input'][ $taxonomy ], " \n\t\r\0\x0B," ) );502 $topic['tax_input'][ $taxonomy ] = preg_split( '/,\s*/', trim( $topic['tax_input'][ $taxonomy ], " \n\t\r\0\x0B," ) ); 503 503 } 504 504 … … 531 531 532 532 if ( ! is_array( $terms ) ) { 533 $terms = preg_split( '/,\s +/', trim( $terms, " \n\t\r\0\x0B," ) );533 $terms = preg_split( '/,\s*/', trim( $terms, " \n\t\r\0\x0B," ) ); 534 534 } 535 535
Note: See TracChangeset
for help on using the changeset viewer.