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 | |
| class Joost_Comment_Fixes { | |
| public function __construct() { | |
| // Unhook comment cookies stuff from core. | |
| remove_action( 'set_comment_cookies', 'wp_set_comment_cookies' ); | |
| add_action( 'wp_footer', [ $this, 'print_custom_comment_script' ] ); | |
| add_filter( 'wp_get_current_commenter', [ $this, 'ignore_comment_cookies_serverside' ] ); | |
| add_filter( 'comment_post_redirect', [ $this, 'comment_moderation_redirect' ], 10, 2 ); |
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
| ! Add this to the uBlock Origin "My filters" | |
| login.wordpress.org##+js(click-element, #pineapple) | |
| login.wordpress.org##.login-pineapple |
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 | |
| namespace WotW\Theme\Patterns; | |
| use WotW\Theme\Contracts\Interfaces\Hookable; | |
| class Save implements Hookable{ | |
| public function register_hooks(): void { | |
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
| /** | |
| * Adds "failed" status to Action Scheduler cleanup action. | |
| * | |
| * Default is "complete" and "canceled," leaving "failed" actions | |
| * in the Action Scheduler to pile up indefinitely. | |
| * | |
| * Filter located in action-scheduler/classes/ActionScheduler_QueueCleaner.php | |
| * | |
| * @see https://wpcodebook.com/woocommerce-action-scheduler-cleanup-php/ | |
| */ |
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 | |
| function filter_default_font_directory( $font_directory ) { | |
| $upload_dir = wp_get_upload_dir(); | |
| $font_directory = array( | |
| 'path' => untrailingslashit( $upload_dir['basedir'] ) . '/fonts', | |
| 'url' => untrailingslashit( $upload_dir['baseurl'] ) . '/fonts', | |
| 'subdir' => '', | |
| 'basedir' => untrailingslashit( $upload_dir['basedir'] ) . '/fonts', |
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 | |
| /** | |
| * Integrations: Paid Memberships Pro | |
| * | |
| * @package AffiliateWP | |
| * @subpackage Integrations | |
| * @copyright Copyright (c) 2016, Sandhills Development, LLC | |
| * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
| * @since 1.8 | |
| */ |
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: Force Regenerate Thumbnails Tweaks | |
| Version: 1.0.0 | |
| */ | |
| // NOTE: This plugin will do nothing without alterations. Uncomment the add_filter() lines for the filters you wish to use. | |
| // If necessary, edit them to your needs. Some filters simply turn things on/off by returning a true or false. | |
| // For such filters, using WordPress' built-in __return_true() or __return_false() functions will work just fine, unless | |
| // you wish to conditionally enable/disable a feature. |
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] - White Label ALL Defender emails | |
| * Description: Allows the modification of almost all email fields/parameters via filters or an additional GUI at Settings > General. | |
| * Author: Anderson Salas @ WPMUDEV | |
| * Task: SLS-3842 | |
| * Author URI: https://premium.wpmudev.org | |
| * License: GPLv2 or later | |
| */ |
NewerOlder