| @@ -116,9 +116,10 @@ | ||
| 116 | 116 | $data = apply_filters( |
| 117 | 117 | 'cartflows_admin_flow_data', |
| 118 | 118 | array( |
| 119 | 119 | 'id' => $flow_id, |
| 120 | - 'title' => get_the_title( $flow_id ), | |
| 120 | + // Use the raw stored title to avoid the_title filters (wptexturize) turning dashes into HTML entities. | |
| 121 | + 'title' => get_post_field( 'post_title', $flow_id, 'raw' ), | |
| 121 | 122 | 'slug' => get_post_field( 'post_name', $flow_id, 'edit' ), |
| 122 | 123 | 'link' => $first_step_url ? $first_step_url : '#', |
| 123 | 124 | 'status' => get_post_status( $flow_id ), |
| 124 | 125 | 'steps' => $steps, |