owid / owid-grapher

A platform for creating interactive data visualizations
https://ourworldindata.org
MIT License
1.35k stars 227 forks source link

Remove unused WP topic page code #3720

Closed ikesau closed 4 days ago

owidbot commented 1 week ago
Quick links (staging server): Site Admin Wizard

Login: ssh owid@staging-site-remove-wp-topic-page-code

SVG tester: Number of differences (default views): 0 ✅ Number of differences (all views): 0 ✅

Edited: 2024-06-18 21:40:44 UTC Execution time: 1.11 seconds

marcelgerber commented 1 week ago

I've now also removed the WP AllCharts component, and all the code needed for handling it.

I checked all current occurrences of runRelatedCharts(), and the only one with a non-empty array is /coronavirus, which is explicitly excluded from having an all-charts block because it has a country page.