add_filter('upload_mimes', 'cc_mime_types');
function cc_mime_types($mimes) {
    $mimes['svg'] = 'image/svg+xml';
    return $mimes;
}
if ( !is_admin() ) {
	// Sicherheitsstuff um Versionsnummern von WordPress zu verstecken
	add_filter( 'comment_class' , 'remove_comment_author_class' );
	add_action( 'init', 'strip_wp_version', 1 );
	add_filter( 'script_loader_src',  'strip_jscss_versions');
	add_filter( 'style_loader_src',  'strip_jscss_versions');
}
function strip_wp_version() {
	global $wp_version;
	$v = intval( rand(0, 9999) );
	$d = intval( rand(9999, 99999) );
	$m = intval( rand(99999, 999999) );
	$t = intval( rand(999999, 9999999) );
	if ( function_exists('the_generator') ) {
		remove_filter( 'wp_head', 'wp_generator' ,9999);
		$actions = array( 'rss2_head', 'commentsrss2_head', 'rss_head', 'rdf_header', 'atom_head', 'comments_atom_head', 'opml_head', 'app_head' );
		foreach ( $actions as $action ) {
				remove_action( $action, 'the_generator' );
		}
		$wp_version = $v;
		$wp_db_version = $d;
		$manifest_version = $m;
		$tinymce_version = $t;
	}
	else {
		add_filter( "bloginfo_rss('version')", create_function('$a', "return $v;") );
		$wp_version = $v;
		$wp_db_version = $d;
		$manifest_version = $m;
		$tinymce_version = $t;
	}
}
function strip_jscss_versions($src) {
	if (stripos($src, "?ver=") OR stripos($src, "?v=")) {
		$src = explode('?v', $src);
		return $src[0];
	}
	elseif (stripos($src, "&ver=") OR stripos($src, "&v=")) {
		$src = explode('&v', $src);
		return $src[0];
	}
	return $src;
}
add_filter( 'embed_oembed_html', 'WUK_iframe_proportion_wrap', 10, 4 );
function WUK_iframe_proportion_wrap ( $html, $url, $attr, $post_ID  ) {
	$html = str_replace(
		array("?","https://www.youtube.com/"),
		array("?rel=0&","https://www.youtube-nocookie.com/"),
		$html);
	return $html;
}

Als JS Datei `sameheight.js` speichern und einbinden:

jQuery(document).ready(function() { sameheightbox(); });
jQuery(window).resize(function() { sameheightbox(); });

function sameheightbox() {
	var highestBox = 0;
	jQuery('.sameheight').each(function(){
		if(jQuery(this).height() > highestBox) {
			highestBox = jQuery(this).height();
		}
	});
	jQuery('.sameheight').height(highestBox);
}

Einbinden z.B. mit:

add_action( 'wp_enqueue_scripts', 'wuk_sameheight', 5);
function wuk_sameheight() {
	wp_enqueue_script( 'sameheight-js', get_stylesheet_directory_uri() . '/sameheight.js', array( 'jquery' ) );
}

Elemente welche die gleiche Höhe erhalten sollen dann die CSS Klasse sameheight geben.

add_filter('post_thumbnail_size','gif_alwaysfull',999,2);
function gif_alwaysfull($size, $postid) {
	$thumb_low = get_the_post_thumbnail_url();
	if (strpos($thumb_low, '.gif') === false) {
		return $size;
	} else {
		return 'full';
	}
}
add_action('template_redirect', 'wuk_custom_removepage');
function wuk_custom_removepage() {
    global $wp_query;
    if( is_category() || is_tag() || is_date() || is_author() ) {
        $wp_query->set_404();
    }
}
add_filter( 'xmlrpc_enabled', '__return_false' );

Um alle Updates zu aktivieren:

add_filter('auto_update_core', '__return_true' );
add_filter('auto_update_plugin', '__return_true');
add_filter('auto_update_theme', '__return_true');
add_filter('auto_update_translation', '__return_true' );

Um alle Updates zu deaktivieren:

add_filter('auto_update_core', '__return_false' );
add_filter('auto_update_plugin', '__return_false');
add_filter('auto_update_theme', '__return_false');
add_filter('auto_update_translation', '__return_false' );

Natürlich lässt sich auch eine Kombination erstellen.
Diese Codes sollten im Child Theme oder einem Plugin untergebracht werden.