Files
roi-theme/wp-content/plugins/w3-total-cache/AGENTS.md
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

3.2 KiB
Executable File
Raw Blame History

Contributor Guide

Project Overview

This project is a WordPress plugin designed to enhance website performance through caching and other optimization techniques.

Coding Standards

  • Follow the coding standards defined in the ./phpcs.xml file.
  • This is a WordPress plugin, so the coding standards must adhere to the WordPress coding standards.
  • This plugin must be compatible with PHP 7.2.5 through 8.3, as defined in the main plugin file "w3-total-cache.php" and "readme.txt".
  • This plugin must be compatible with WordPress 5.3 and up, as defined in the main plugin file "w3-total-cache.php" and "readme.txt".
  • Do not use spaces for indentation; use 4-space tabs instead.
  • Use single quotes for strings unless double quotes are necessary (e.g., when using variables inside the string).
  • Do not make coding standards changes in changed files unless it is directly related to the functionality being modified.
  • Opening parenthesis of a multi-line function call must be the last content on the line (PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket).
  • Prefix all global namespace functions with a backslash.

References

Contribution Process

  • Add @since X.X.X to all new doc blocks -- it's updated in our build process.
  • Do not update POT files -- it's done in our build process.
  • Do not change the readme.txt file -- it's done on release branches.
  • Do not increment the plugin version number -- it's done in our build process.
  • All changes must be submitted via pull requests.
  • Public-facing work may originate from GitHub issues to ensure public visibility.
    • Create a GitHub issue describing the change, implement the change in a branch, and open a pull request that references the GitHub issue.
  • Internal work may originate from JIRA issues for internal tracking.
    • Create a JIRA issue, implement the change in a branch, and open a pull request that references the JIRA issue.
  • Ensure each pull request references its originating issue (GitHub or JIRA) and includes a clear description of the change.

Dependency Management

  • Use yarn run upgrade:deps to refresh JS packages and Composer libraries in one step; this enforces the PHP 7.2.58.3 constraint declared in composer.json.
  • When running Composer directly, keep composer update --with-all-dependencies targeted at the repo root so the generated lock file honors the configured PHP platform (7.2.5).