mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Avoid php notices.
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -74,7 +74,7 @@ function apply_filters($tag, $string) {
|
||||
function merge_filters($tag) {
|
||||
global $wp_filter, $merged_filters;
|
||||
|
||||
if ( is_array($wp_filter['all']) )
|
||||
if ( isset($wp_filter['all']) && is_array($wp_filter['all']) )
|
||||
$wp_filter[$tag] = array_merge($wp_filter['all'], (array) $wp_filter[$tag]);
|
||||
|
||||
if ( isset($wp_filter[$tag]) ){
|
||||
|
||||
Reference in New Issue
Block a user