Changeset 7298
- Timestamp:
- 04/30/2025 07:00:04 PM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/search/functions.php
r6903 r7298 125 125 } 126 126 127 // Maybe implode if an array127 // Special case for array of terms 128 128 if ( is_array( $terms ) ) { 129 130 // Filter out any non-scalar array values, to avoid PHP warnings 131 $terms = array_filter( $terms, 'is_scalar' ); 132 133 // Implode terms with spaces, to sanitize later 129 134 $terms = implode( ' ', $terms ); 130 135 }
Note: See TracChangeset
for help on using the changeset viewer.