Button labels inconsistency #9600
Labels
type-bug
workflow-needs-replication
workflow-pending-triage
Items that need to be triaged and reviewed before they are worked on.
Bug Report
Expected behavior
It would be better if button labels were only with the first word capitalized while other words were lowercase.
As it is shown on the button regarding discount in a screenshot below.
In that case, it would make the button styles more flexible.
Thus, the user would be able to fit labels to the website's design system.
Uppercase all words:
Lowercase all words:
Capitalize all words:
Actual behavior
Some EDD buttons show a label with the first word capitalized and other words lowercased, like the button for Discount section.
While other buttons show a label with capitalized all words, like the button from Software Licensing add-on.
As a result, it causes inconsistency in the plugin's elements.
The problem is that those buttons that show a label with capitalized all words are "hard-coded".
Example: "Renew An Existing License".
Thus, it's not possible to have a label with the first word capitalized and other words lowercased.
Steps to reproduce the behavior
Information (if a specific version is affected):
PHP Version: 7.4.1
EDD Version (or branch): 3.1.0.3
WordPress Version: 6.1.1
The text was updated successfully, but these errors were encountered: