Archived
fixed warnings popping up
This commit is contained in:
1 parent
86baf1b502
commit
3258bfcb72
1 file changed
+1
-1
+1
-1
@@ -173,7 +173,7 @@ function thumbnail_in_header($title)
|
||||
|
||||
add_filter('the_title', 'thumbnail_in_header');*/
|
||||
|
||||
function menu_links($items, $args)
|
||||
function menu_links($items, $args = null)
|
||||
{
|
||||
foreach($items as &$item)
|
||||
if(in_array($item->object, array('page','post','category')))
|
||||
|
||||
Reference in new issue
Block a user