summaryrefslogtreecommitdiffstats
path: root/wp-includes/link-template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-22 13:20:00 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-03-22 13:20:00 +0000
commitb48e6bc8762854b59515c18a3358700d2d07c2b1 (patch)
tree5a7c36900961c7fe5a6a80344d79041df5936e6b /wp-includes/link-template.php
parent87ac457a9eb1e74bd7d45852e719e83b1b76cebc (diff)
downloadwordpress-mu-b48e6bc8762854b59515c18a3358700d2d07c2b1.tar.gz
wordpress-mu-b48e6bc8762854b59515c18a3358700d2d07c2b1.tar.xz
wordpress-mu-b48e6bc8762854b59515c18a3358700d2d07c2b1.zip
WP Merge to rev 5081
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@931 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/link-template.php')
-rw-r--r--wp-includes/link-template.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php
index 7905311..873bca5 100644
--- a/wp-includes/link-template.php
+++ b/wp-includes/link-template.php
@@ -117,6 +117,7 @@ function post_permalink($post_id = 0, $mode = '') { // $mode legacy
function get_page_link($id = false) {
global $post;
+ $id = (int) $id;
if ( !$id )
$id = $post->ID;