Idea from https://aubreypwd.dev/wp-cli-localwp-without-open-site-shell-redux
To test, run the testing command in sed-replacement.sh
To do the actual replacement, run the actual replacement command.
| <?php | |
| /** | |
| * Gist oEmbed. | |
| * | |
| * @package Fragen\Gist_OEmbed | |
| * | |
| * Plugin Name: Gist oEmbed | |
| * Plugin URI: https://gist.github.com/afragen/36ab01da116aadd27a3f4d85cce90390 | |
| * Description: oEmbed Gist or files within Gists. | |
| * Version: 0.6.2 |
| <?php | |
| /** | |
| * Stop success email from auto-updates. | |
| * | |
| * @package StopAutoUpdateSuccessEmail | |
| * | |
| * Plugin Name: Stop Auto-update Success Email | |
| * Plugin URI: https://gist.github.com/afragen/e2f40ed2e71e590a127e8adc1db05948 | |
| * Description: Stop success email from auto-updates. | |
| * Version: 0.6.0 |
| <?php | |
| /** | |
| * Auto-flush object cache. | |
| * | |
| * @package Fragen\Auto_Flush_Cache | |
| * | |
| * Plugin Name: Auto-Flush Object Cache | |
| * Plugin URI: https://gist.github.com/afragen/d46d3cc2c7e07d99f921560dfbb70246 | |
| * Description: Auto-flush the object cache when error log records PHP Fatal error for allowed memory size. | |
| * Version: 0.8.0 |
Idea from https://aubreypwd.dev/wp-cli-localwp-without-open-site-shell-redux
To test, run the testing command in sed-replacement.sh
To do the actual replacement, run the actual replacement command.
| # Add support for linux/amd64 mysql into docker-compose.yml | |
| services: | |
| mysql: | |
| platform: linux/amd64 <-- |
| <?php | |
| /** | |
| * Plugin Name: GlotPress for Git Updater | |
| * Plugin URI: https://gist.github.com/afragen/4574e1ce54a621351e5eb18ac686f8f3 | |
| * Description: This plugin is used for site testing. | |
| * Version: 0.3.0 | |
| * Author: Andy Fragen | |
| * License: MIT | |
| * Requires at least: 5.9 | |
| * Requires PHP: 7.4 |
| <?php | |
| /** | |
| * Plugin Name: Count Filter Calls | |
| * Plugin URI: https://gist.github.com/afragen/a8a89888c60c4836a21667531469c7a9 | |
| * Description: Count number of times certain filters are called and cumulative time spent for the call with almost no computing done. | |
| * Version: 0.3 | |
| * Author: Andy Fragen | |
| * License: MIT | |
| * Requires at least: 5.2 | |
| * Requires PHP: 7.0 |
| <?php | |
| /** | |
| * Plugin Name: Add Categories for WMPL translated sites and Category Colors | |
| * Plugin URI: https://gist.github.com/afragen/f9f1a9558258065afe7dab30557c50f4 | |
| * Description: Add translated categories to The Events Calendar for The Events Calendar Category Colors. | |
| * Version: 0.1 | |
| * Author: Andy Fragen | |
| * License: MIT | |
| * Requires at least: 5.2 | |
| * Requires PHP: 7.0 |
| <?php | |
| /** | |
| * Add Plugin Dependency via REST API. | |
| * | |
| * @package Fragen\Plugin_Dependency_API | |
| * | |
| * Plugin Name: Add Plugin Dependency via REST API | |
| * Plugin URI: https://gist.github.com/afragen/ba3fc125fb0ecd242b1b162153d6adf9 | |
| * Description: Add plugin dependency data to Dependencies tab via REST API endpoint and allow for Install Now button to function. | |
| * Version: 0.11.3 |
| <?php | |
| /** | |
| * Plugin Name: Change WP Debugging Defaults | |
| * Plugin URI: https://gist.github.com/afragen/5c79984f154911be171c80468f676572 | |
| * Description: Single use plugin and filter showing how to change WP Debugging default constants. | |
| * Version: 0.1 | |
| * Author: Andy Fragen | |
| * License: MIT | |
| * Requires at least: 5.2 | |
| * Requires PHP: 7.1 |