Skip to content

How outdated themes are managed #341

@Onibenjo

Description

@Onibenjo

Enhancement Proposal

Hi team,

There is this theme

get-resource-centre:
after:
- wordpress
plugin: nil
build-packages: [bzr]
build-environment:
# bzr is unable to import system python package breezy
- PYTHONPATH: "/usr/lib/python3/dist-packages:/usr/local/lib/python3.12/dist-packages"
override-build: |
pip3 install breezy launchpadlib --break-system-packages
bzr branch lp:resource-centre
cp -R . $CRAFT_PART_INSTALL
organize:
resource-centre: /var/www/html/wp-content/themes/resource-centre/

which we use in the Canonical web team for our blog page, but the theme seems to be written with an older version of PHP.
Trying to upgrade our wordpress charm to newer revisions and activating the theme, as the one we use is quite old, the wordpress app crashes (due to outdated PHP syntax used).

In the theme's code, there are some custom post types and config being set in the themes code that is essential to how our blog pages work.

How is this theme maintained?
Do we create an fixed version of the theme and replace this one?

I ask as the themes are being manages by ~canonical-sysadmins on launchpad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions