Skip to content

ItinerisLtd/preconnect-cleaner

Repository files navigation

Preconnect Cleaner

CI Releases Packagist Version PHP from Packagist Packagist Downloads GitHub License Hire Itineris Twitter Follow @itineris_ltd

Preconnect Cleaner.

Goal

Prevent issues caused by pages existing on URLs of various casing.

Features

  • Cleanup preconnect hints.

Pull requests are welcomed.

Minimum Requirements

  • PHP v7.4
  • WordPress v5.8

Installation

Composer (Recommended)

composer require itinerisltd/preconnect-cleaner

Build from Source (Not Recommended)

# Make sure you use the same PHP version as remote servers.
# Building inside docker images is recommended.
php -v

# Checkout source code
git clone https://github.com/ItinerisLtd/preconnect-cleaner.git
cd preconnect-cleaner
git checkout <the-tag-or-the-branch-or-the-commit>

# Build the zip file
composer release:build

Then, install release/preconnect-cleaner.zip as usual.

Common Issues

N/A

FAQ

Will you add support for older PHP versions?

Never! This plugin will only work on actively supported PHP versions.

Don't use it on end of life or security fixes only PHP versions.

It looks awesome. Where can I find more goodies like this?

Where can I give ⭐⭐⭐⭐⭐ reviews?

Thanks! Glad you like it. It's important to let my boss knows somebody is using this project. Please consider:

Developing

Testing

composer style:check

Pull requests without tests will not be accepted!

Feedback

Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.

Change Log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email dev@itineris.co.uk instead of using the issue tracker.

Credits

preconnect-cleaner is a Itineris Limited project.

Full list of contributors can be found here.

License

Preconnect Cleaner is released under the MIT License.