Skip to content

Instantly share code, notes, and snippets.

View david-binda's full-sized avatar

David Biňovec david-binda

View GitHub Profile
@david-binda
david-binda / register-message.php
Created January 31, 2015 23:34
Vlastní message na registrační stránce bez úpravy wp-login.php
<?php
/*
* následující kód vložte do souboru (libovolného jména) uvnitř adresáře /wp-content/mu-plugins (pokud neexistuje, vytvořte jej)
* více o mu-plugins zde: http://codex.wordpress.org/Must_Use_Plugins
* Kód bude fungovat i po vložení do functions.php, nicméně toto by, imho, mělo jít do mu-plugins
*/
add_filter( 'login_message', function( $message ) {
return $message . sprintf( '<p class="message register">%s</p>' , 'Nepište prosím diakritiku' );
} );
[
{
"level": "warning",
"description": "Antivirus Scan",
"lines": [
"ClamAV is not present on this system - as such, no antivirus scanning was performed on this theme."
],
"file": ""
},
{