Skip to content

Fix caps#74

Merged
erseco merged 3 commits intomainfrom
hotfix/caps
Dec 3, 2025
Merged

Fix caps#74
erseco merged 3 commits intomainfrom
hotfix/caps

Conversation

@erseco
Copy link
Copy Markdown
Collaborator

@erseco erseco commented Dec 3, 2025

This pull request introduces several improvements and fixes across the codebase, focusing on demo data normalization, documentation clarity, locale handling for date formatting, and development environment configuration. The most significant changes are grouped below.

Demo Data Normalization & Consistency:

  • All monetary values in the demo data within documentate.php have been standardized to plain numeric strings (e.g., '245.80' instead of '245,80 €'). This change affects multiple demo arrays and helper functions, ensuring consistency and simplifying further processing. [1] [2] [3] [4] [5] [6] [7]

Documentation & Help Notice Updates:

  • The documentation help notice (class-documentate-doctype-help-notice.php) was updated to clarify field marker syntax, rename and explain the case parameter as ope, update the date format parameter to frm, and add a reference to the TBS manual. The allowed HTML tags were also expanded to permit <a> tags with relevant attributes. [1] [2] [3] [4]

Locale Handling for Date Formatting:

  • The OpenTBS rendering logic now sets the locale for date formatting to match the site's language, ensuring correct month/day names in generated documents. The original locale is restored after rendering or in case of errors. [1] [2]

Development & Test Environment Configuration:

  • The .wp-env.json file and Makefile scripts were updated to simplify and clarify language settings, ensuring the development and test environments consistently use the Spanish locale (es_ES). Redundant or outdated configuration blocks and lifecycle scripts were removed, and language installation/activation commands were added to the Makefile. [1] [2] [3]

@erseco erseco self-assigned this Dec 3, 2025
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 96.22642% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
includes/class-documentate-opentbs.php 71.42% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@erseco erseco merged commit f84fe1d into main Dec 3, 2025
5 checks passed
@erseco erseco deleted the hotfix/caps branch December 3, 2025 10:03
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