Merge pull request #383 from oralunal/master
remove_action in security.php was wrong! - Thx @oralunal The typo in "undesores" is "right"...the typo is also part of the package name ;-)
This commit is contained in:
commit
397d3aa7a0
|
@ -25,8 +25,8 @@ remove_action( 'wp_head', 'wlwmanifest_link' );
|
||||||
remove_action( 'wp_head', 'index_rel_link' );
|
remove_action( 'wp_head', 'index_rel_link' );
|
||||||
remove_action( 'wp_head', 'feed_links', 2 );
|
remove_action( 'wp_head', 'feed_links', 2 );
|
||||||
remove_action( 'wp_head', 'feed_links_extra', 3 );
|
remove_action( 'wp_head', 'feed_links_extra', 3 );
|
||||||
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
|
remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10);
|
||||||
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10, 0 );
|
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show less info to users on failed login for security.
|
* Show less info to users on failed login for security.
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
* @package understrap
|
* @package understrap
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
function setup_theme_default_settings() {
|
|
||||||
|
if ( ! function_exists( 'setup_theme_default_settings' ) ) :
|
||||||
|
function setup_theme_default_settings() {
|
||||||
|
|
||||||
// check if settings are set, if not set defaults.
|
// check if settings are set, if not set defaults.
|
||||||
// Caution: DO NOT check existence using === always check with == .
|
// Caution: DO NOT check existence using === always check with == .
|
||||||
|
@ -26,4 +28,5 @@ function setup_theme_default_settings() {
|
||||||
if ( '' == $understrap_container_type ) {
|
if ( '' == $understrap_container_type ) {
|
||||||
set_theme_mod( 'understrap_container_type', 'container' );
|
set_theme_mod( 'understrap_container_type', 'container' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
endif;
|
||||||
|
|
Reference in New Issue