Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't internationalize static variables #16

Open
2 tasks done
davideC00 opened this issue Aug 1, 2019 · 0 comments
Open
2 tasks done

Can't internationalize static variables #16

davideC00 opened this issue Aug 1, 2019 · 0 comments

Comments

@davideC00
Copy link
Contributor

  • I've read and understood the contribution guidelines.
  • I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened.

Static variables in the vocabularies cannot be internationalizated

Describe the solution you'd like

Make the variable $classification_properties_main and edu_properties not static

Additional context

https://stackoverflow.com/questions/40171546/php-error-fatal-error-constant-expression-contains-invalid-operations

Technical info

  • WordPress version: [ 5.2.2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant