| @@ -1119,9 +1119,11 @@ | ||
| 1119 | 1119 | } |
| 1120 | 1120 | $file = function_exists( 'openstation_resolve_file' ) |
| 1121 | 1121 | ? openstation_resolve_file( $row['file_type'], $row['file_ref'] ) |
| 1122 | 1122 | : null; |
| 1123 | - $title = $file ? (string) $file->title() : (string) $row['file_type']; | |
| 1123 | + $title = $file | |
| 1124 | + ? openstation_plain_text_title( $file->title() ) | |
| 1125 | + : (string) $row['file_type']; | |
| 1124 | 1126 | $icon = $file ? (string) $file->icon() : 'dashicons-no-alt'; |
| 1125 | 1127 | // Two recycle-bin buckets: |
| 1126 | 1128 | // - `shortcut` → plugin-registered icons (file_type='shortcut') |
| 1127 | 1129 | // - `placement` → every other placement (post / page / |