WordPress Cluster 10.1.81

Themes updated:

  • Blocks 2.29.7
    • Hotfix for issue with podcast thumbnail changes not pulling through to front end
  • Blocks 2.29.8
    • Add announcement banner for The Courier to show static text.
  • Energy Voice 6.0.0
    • Implement front-end build process for Energy Voice theme
    • Added filter for theme-logo path to blocks theme
  • ESG Voice 1.0.10
    • Update SG Voice theme to the same standard as Energy Voice
  • Blocks 2.29.9
    • Added filter for theme-logo path to blocks theme
  • Energy Voice 6.0.1
    • Fix for the path to the blocks theme stub file

Plugins updated:

  • PA Importer 1.7.1
    • Detect if PA thumbnail changed to check if response is false.
    • Function is using strpos which "Returns false if the needle was not found." https://www.php.net/manual/en/function.strpos.php.
    • The parameters have been swapped around so that the pa image filename is the haystack and the current image filename (exploded on hyphen due to WP Offload unique-string appending) is the needle.
      • e.g.
      • Haystack: 2.68725225.jpg?rect=527,0,5096,3822&ext=.jpg
      • Needle: 2.68725225

JIRA: https://dcthomson.atlassian.net/browse/NP-2567 https://dcthomson.atlassian.net/browse/NP-2539
https://dcthomson.atlassian.net/browse/CORE-2850, https://dcthomson.atlassian.net/browse/EVW-369

PR: https://github.com/dc-thomson/wordpress/pull/4856 https://github.com/dc-thomson/wordpress/pull/4852
https://github.com/dc-thomson/wordpress/pull/4858, https://github.com/dc-thomson/wordpress/pull/4851, https://github.com/dc-thomson/wordpress/pull/4860