This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Hustle GDPR Cleanup Fix (staging) | |
| * Description: Replaces hustle_general_data_protection_cleanup with a Forever-aware, batched callback. Does not edit plugin files. | |
| * Version: 1.0.0 | |
| * | |
| * Install: copy this file to wp-content/mu-plugins/hustle-gdpr-cleanup-fix.php | |
| * | |
| * What it changes: | |
| * - Skips work when retention is Forever (string/int safe). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Hustle GDPR Cleanup Logger | |
| * Description: Staging diagnostics for hustle_general_data_protection_cleanup. Logs settings, row counts, timings, and query progress. | |
| * Version: 1.0.0 | |
| * | |
| * Install: copy this file to wp-content/mu-plugins/hustle-gdpr-cleanup-logger.php | |
| * | |
| * Log file: wp-content/hustle-gdpr-cleanup-debug.log | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: [Defender Pro] WP-CLI / deactivation debug (Rev.1) | |
| * Description: Captures WP-CLI runtime details and full backtraces when Defender is deactivated. Drop into wp-content/mu-plugins/. Adapted from https://gist.github.com/wpmudev-sls/3600f4c2f5e1c93d4b4afa81b0423f4c | |
| * Author: WPMU DEV Support | |
| * License: GPLv2 or later | |
| * | |
| * IMPORTANT: Must live in mu-plugins/ so it loads before Defender. If deactivate_plugins() | |
| * runs during wp-defender.php include, a normal plugins_loaded hook is too late. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Update new posts to have the correct publication URL | |
| add_filter('wp_insert_post_data', 'update_post_file_to_append_proxy', 10, 1); | |
| function update_post_file_to_append_proxy(array $data): array | |
| { | |
| // We don't need to take actions for publications, any other post type we will proceeed. | |
| if($data['post_type'] == 'publications'){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action('admin_init', 'fix_duplicated_post_meta'); | |
| function fix_duplicated_post_meta() | |
| { | |
| if (!isset($_GET['fix-divi-duplicated-post-meta'])) return; | |
| $post_meta = '_et_pb_use_builder'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Plugin Name: Forminator | |
| * Description: Decrease user balance on form submission. | |
| * Author: Patrick Freitas @ WPMUDEV | |
| * Author URI: https://premium.wpmudev.org | |
| * License: GPLv2 or later | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Under development | |
| if (!defined('ABSPATH')) { | |
| exit; | |
| } | |
| class WDEV_Smush_GrapghQL_Support | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if ( ! defined( 'ABSPATH' ) ) { | |
| exit; | |
| } | |
| class WDEV_Smush_Fix_Keep_Showing_Resmush { | |
| private $smush_settings; | |
| private $webp_helper; | |
| private $webp_dir; | |
| private $media_item_cache; | |
| public $exclude_size_names = array( 'full' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| if (!function_exists('wp_smush_cdn')) { | |
| function wp_smush_cdn() | |
| { | |
| static $smush_cdn; | |
| if (is_null($smush_cdn) && class_exists('\WP_Smush')) { | |
| $smush_cdn = \WP_Smush::get_instance()->core()->mod->cdn; | |
| } | |
| return $smush_cdn; |
NewerOlder