platform-coop-toolkit / coop-library-framework

Custom Post Type utilities for the Platform Co-op Resource Library.
https://platform.coop
Other
0 stars 2 forks source link

feat: store language in metadata #316

Closed greatislander closed 4 years ago

greatislander commented 4 years ago

Description

This pull request moves resource language into a metadata field, making resources no longer translatable through Polylang. This necessitates migrating that data using the included script.

Steps to test

  1. Check out this branch.
  2. Run the language conversion script.

Expected behavior: Verify that all resources have a two-character language code saved as the language meta key and that it is correctly displayed in the main info block of the resource editor.

Additional information

Not applicable.

Related issues

Not applicable.