Changeset 61198
- Timestamp:
- 11/10/2025 10:29:26 PM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/general-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r61108 r61198 1425 1425 } 1426 1426 1427 $prefix = ''; 1428 if ( ! empty( $title ) ) { 1429 $prefix = " $sep "; 1427 if ( ! is_string( $title ) ) { 1428 $title = ''; 1429 } 1430 1431 $prefix = ''; 1432 $title_array = array(); 1433 if ( '' !== $title ) { 1434 $prefix = " $sep "; 1435 $title_array = explode( $t_sep, $title ); 1430 1436 } 1431 1437 … … 1437 1443 * @param string[] $title_array Array of parts of the page title. 1438 1444 */ 1439 $title_array = apply_filters( 'wp_title_parts', ! empty( $title ) ? explode( $t_sep, $title ) : array());1445 $title_array = apply_filters( 'wp_title_parts', $title_array ); 1440 1446 1441 1447 // Determines position of the separator and direction of the breadcrumb.
Note: See TracChangeset
for help on using the changeset viewer.