Rocketship Event generates invalid theme suggestions

Created on 18 August 2023, about 1 year ago
Updated 22 August 2023, about 1 year ago

Problem/Motivation

Rocketship Event modules does not generate correct theme suggestions in rocketship_event_core_theme_suggestions_event_daterange. They contain dash and hence are discarded by theme layer.

Proposed resolution

Replace dashes with underscores.

  $suggestions = array_map(function ($item) {
    return str_replace('-', '_', $item);
  }, $suggestions);
πŸ› Bug report
Status

Fixed

Version

5.1

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia trafo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024