Fix function_exists & parenthesis

* Fixed function_exists checking the wrong function
* Added missing parenthesis
This commit is contained in:
IanDelMar 2018-08-07 21:39:03 +02:00 committed by GitHub
parent 56bc68c30b
commit 6678261a81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
* @package understrap
*/
if ( ! function_exists( 'understrap_add_site_info' ) ) {
if ( ! function_exists( 'understrap_site_info' ) ) {
/**
* Add site info hook to WP hook library.
*/
@ -40,6 +40,6 @@ if ( ! function_exists( 'understrap_add_site_info' ) ) {
)
);
echo apply_filters( understrap_site_info_content, $site_info ); // WPCS: XSS ok.
echo apply_filters( 'understrap_site_info_content', $site_info ); // WPCS: XSS ok.
}
}