From d77707733f2e503a5ca16bdf298f426558bc3e19 Mon Sep 17 00:00:00 2001 From: Lukas Juhas Date: Tue, 17 Jan 2017 12:25:58 +0000 Subject: [PATCH] add forgotten default value for post_id in get_post_thumbnail_url --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 88adc02..ae1a9c5 100644 --- a/functions.php +++ b/functions.php @@ -181,7 +181,7 @@ add_filter('tiny_mce_before_init', 'barebones_tiny_mce_before_init'); * @param int $post_id post id * @param boolean $icon if no image found, display icon */ -function get_post_thumbnail_url( $size = 'full', $post_id, $icon = false ) +function get_post_thumbnail_url( $size = 'full', $post_id = false, $icon = false ) { if(!$post_id) { $post_id = get_the_ID();