Skip to content

Commit d777077

Browse files
committed
add forgotten default value for post_id in get_post_thumbnail_url
1 parent 61701f3 commit d777077

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function barebones_tiny_mce_before_init($settings)
181181
* @param int $post_id post id
182182
* @param boolean $icon if no image found, display icon
183183
*/
184-
function get_post_thumbnail_url( $size = 'full', $post_id, $icon = false )
184+
function get_post_thumbnail_url( $size = 'full', $post_id = false, $icon = false )
185185
{
186186
if(!$post_id) {
187187
$post_id = get_the_ID();

0 commit comments

Comments
 (0)