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

Standardise beginning letter #16

Open
bobbingwide opened this issue Aug 27, 2018 · 1 comment
Open

Standardise beginning letter #16

bobbingwide opened this issue Aug 27, 2018 · 1 comment
Labels
enhancement Priority A High priority Severity 4 Very low severity

Comments

@bobbingwide
Copy link
Owner

The SB list ( https://github.com/bobbingwide/bigram/blob/master/admin/SB.txt ) was originally created using first letter capitalisation. This allowed for proper names.

In the current website(s) implementation

  • some of the S-words and B-words are capitalised,
  • others are all lower case
  • and some appear to vary.

It depends on where they're used and how they're created.
We need to standardise the capitalisation of the first letters based on how they're used.

Requirements

Here we'll use examples with S-word B-word as the two words.

Field Value
Title S-word B-word
slug S-word-B-word
Category S-word B-word
s-word taxonomy term s-word
b-word taxonomy term b-word
submitted image filename S-word B-word.jpg

Where the logic should apply

  • Sampled bigrams should be first letter capitalised automatically.
  • Submitted bigrams should
@bobbingwide bobbingwide added enhancement Priority A High priority Severity 4 Very low severity labels Aug 27, 2018
@bobbingwide
Copy link
Owner Author

Proposed solution

Implement filter hook for title_save_pre to ensure first letter capitalisation of titles which contain just an S-word and a B-word in the correct order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Priority A High priority Severity 4 Very low severity
Projects
None yet
Development

No branches or pull requests

1 participant