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
| # | |
| # Sources: | |
| # http://stackoverflow.com/questions/7704624/how-can-i-use-gzip-compression-for-css-and-js-files-on-my-websites | |
| # http://codex.wordpress.org/Output_Compression | |
| # http://www.perun.net/2009/06/06/wordpress-websites-beschleuinigen-4-ein-zwischenergebnis/#comment-61086 | |
| # http://www.smashingmagazine.com/smashing-book-1/performance-optimization-for-websites-part-2-of-2/ | |
| # http://gtmetrix.com/configure-entity-tags-etags.html | |
| # http://de.slideshare.net/walterebert/die-htaccessrichtignutzenwchh2014 | |
| # http://de.slideshare.net/walterebert/mehr-performance-fr-wordpress | |
| # https://andreashecht-blog.de/4183/ |
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 | |
| // request-update.php | |
| // https://blog.birdhouse.org/2013/11/02/force-wordpress-auto-update/ | |
| require dirname( __FILE__ ) . '/wp-load.php'; | |
| wp_maybe_auto_update(); |
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: Adminbar Remover | |
| * Description: Removes the adminbar on the frontend | |
| * Plugin URI: https://wpmeetup-hamburg.de | |
| * Version: 1.0.0 | |
| * Author: Torsten Landsiedel / WP Meetup Hamburg | |
| * Author URI: https://torstenlandsiedel.de | |
| * License: GPL 2 | |
| * License URI: http://opensource.org/licenses/GPL-2.0 |
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: Functionality Plugin Template | |
| * Description: Add custom tweaks and snippets in this custom plugin. | |
| * Plugin URI: https://torstenlandsiedel.de | |
| * Version: 1.0.0 | |
| * Author: Torsten Landsiedel | |
| * Author URI: https://torstenlandsiedel.de | |
| * License: GPL 2 | |
| * License URI: http://opensource.org/licenses/GPL-2.0 |
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
| # Don't show errors which contain full path diclosure (FPD) | |
| # Use that line only if PHP is installed as a module and not per CGI | |
| # try using a php.ini in that case. | |
| # Change mod_php5.c to mod_php7.c if you are running PHP7 | |
| <IfModule mod_php5.c> | |
| php_flag display_errors Off | |
| </IfModule> | |
| # Don't list directories | |
| <IfModule mod_autoindex.c> |
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
| /** | |
| * Log the function name when doing_it_wrong is triggered | |
| * | |
| * @param string $function_name The function name that triggered the error | |
| */ | |
| function log_function_name( $function_name ) { | |
| // Taken from https://x.com/jkohlbach/status/1912769898171998653 | |
| if ('_load textdomain_just_in_time' === $function_name ) { | |
| error_log( wp_debug_backtrace_summary() ); | |
| } |
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: Fix IONOS Mail | |
| * Description: Remove subdomain from the From address to allow mails on IONOS hosting. | |
| * Plugin URI: https://torstenlandsiedel.de | |
| * Version: 1.0.0 | |
| * Author: Torsten Landsiedel | |
| * Author URI: https://torstenlandsiedel.de | |
| * Licence: GPL 2 | |
| * License URI: http://opensource.org/licenses/GPL-2.0 |
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 | |
| /** | |
| * Block Styles | |
| * | |
| * @link https://developer.wordpress.org/reference/functions/register_block_style/ | |
| * | |
| * @package WordPress | |
| * @subpackage HeaderOutline | |
| * @since HeaderOutline 1.0 | |
| */ |
NewerOlder