Problem/Motivation
Info file lacks support for D10.
Default config file contains duplicate lines and unquoted special characters (%).
Functions drupal_get_path() and drupal_get_filename() have been deprecated in favor of extension listing services: https://www.drupal.org/node/2940438
Functions file_create_url() and file_url_transform_relative() are deprecated: https://www.drupal.org/node/2940031
Steps to reproduce
Try to install the theme on a D10 site
Proposed resolution
Add support for D10 in info file.
Remove duplicate line and quote special chars in config file.
Use the extension.list.theme and file_url_generator services instead of the deprecated functions.
Remaining tasks
Review the merge request.
Create a D9 / D10 compatible release.
Comment | File | Size | Author |
---|
Issue fork mayo-3334500
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
reszliCreated a patch to get rid of the deprecated function.
Note, you also need the changes from https://www.drupal.org/project/mayo/issues/3148030#comment-14187595 first.
Comment #3
reszliUpdated issue description with more problems.
Updated patch to cover all reported problems.
Comment #4
reszliComment #5
reszliComment #6
reszliComment #9
Darren OhComment #10
Darren Oh