Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.93 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.93 KB

CS Lint PHP

Eco-Friendly Robots.txt

Optimizes your site's robots.txt to reduce server load and CO2 footprint by blocking unnecessary crawlers while allowing major search engines and specific tools.

Test this plugin on the WordPress playground

Development

If you're developing on this plugin, you will probably want to run tests and lint. You can do that by running the following commands:

  • PHP Code style: composer check-cs
  • PHP Autofixer for code style: composer fix-cs
  • PHP Lint: composer lint
  • PHP Unit tests: composer test

Releasing an update

When releasing an update, the following steps should be done:

  1. Update the Version: header in the main plugin file.
  2. Create a new release on GitHub with the same version number as the Version: header.
  3. Edit the download on fewertags.com, and in the Download Files section, select the version tag from the dropdown.