projects
/
WP-Themes
/
westernup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cbf585
)
Replaced deprecated get_page with get_post
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 9 Feb 2016 21:05:44 +0000
(16:05 -0500)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 9 Feb 2016 21:05:44 +0000
(16:05 -0500)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
a523305
..
ee48839
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-281,7
+281,7
@@
function glm_side_menu() {
global $post;
$parents = get_post_ancestors($post->ID);
$id = ($parents) ? $parents[count($parents)-1]: $post->ID;
- $parent = get_p
age
( $id );
+ $parent = get_p
ost
( $id );
if ($id == 0) {
$ID = $post->ID;
} else {