Skip to content

Fix typos, capitalization, and a logic bug across 6 files#7

Open
Avicennasis wants to merge 1 commit into
LibriVox:masterfrom
Avicennasis:docs/fix-typos
Open

Fix typos, capitalization, and a logic bug across 6 files#7
Avicennasis wants to merge 1 commit into
LibriVox:masterfrom
Avicennasis:docs/fix-typos

Conversation

@Avicennasis

Copy link
Copy Markdown

Summary

Fix 9 issues across 6 files:

  • functions.php: fix script handle small-meu to small-menu (matches the actual JS filename); add missing apostrophe in comment
  • header.php: capitalize brand name Librivox to LibriVox in search label
  • content-statistics.php: fix stats-colum-one to stats-column-one in 3 HTML closing comments
  • inc/theme-options.php: add missing braces to if statement — without them, the hiderss ternary always executes, overwriting the null assignment meant for the unset case
  • inc/conditional-mobile.php: capitalize brand names Android and BlackBerry in function doc comments
  • home-content-main.php: remove stray dot in closing HTML comment (<!-- .end ... --> to <!-- end ... -->)

The theme-options fix is a behavioral change (bug fix); all other changes are cosmetic (comments, labels, HTML comments).

- functions.php: fix script handle 'small-meu' → 'small-menu', add apostrophe in comment
- header.php: capitalize brand name 'Librivox' → 'LibriVox' in search label
- content-statistics.php: fix 'stats-colum-one' → 'stats-column-one' in HTML comments (3 occurrences)
- inc/theme-options.php: add missing braces to if-statement that caused unconditional overwrite of hiderss option
- inc/conditional-mobile.php: capitalize brand names Android and BlackBerry in comments
- home-content-main.php: remove extra dot in closing HTML comment
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

Successfully merging this pull request may close these issues.

1 participant