diff --git a/wp-includes/template-functions-links.php b/wp-includes/template-functions-links.php index 9d34ce4204..6e6c49f6b0 100644 --- a/wp-includes/template-functions-links.php +++ b/wp-includes/template-functions-links.php @@ -79,6 +79,7 @@ function get_permalink($id=false) { if ($idpost->post_status == 'static') { $permalink .= $querystring_separator . "static=1"; } + return $permalink; } }