0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/frontend
Rishabh Garg 1345268089
🐛 Fixed incorrect price data in themes (#12985)
closes https://github.com/TryGhost/Ghost/issues/12980
closes https://github.com/TryGhost/Team/issues/730

As part of changes in 4.6, the default price ids for monthly/yearly prices are stored in new settings - `members_monthly_price_id`, `members_yearly_price_id` - which are used to determine current active prices for the site from list of all existing prices. The `@price` helper was incorrectly still relying on the old logic for active monthly/yearly price using the first active price with matching nickname, and resulted in showing incorrect price data on the theme.

- Updated tests to check price data using settings value
2021-05-26 22:58:26 +05:30
..
apps 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
helpers Improved theme locale handling 2021-05-05 16:13:26 +01:00
meta Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
services 🐛 Fixed incorrect price data in themes (#12985) 2021-05-26 22:58:26 +05:30
views Updated unsubscribe copy 2019-11-26 11:03:14 +01:00