projects
/
WP-Themes
/
mackinawferry.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4dc7d
)
removing conditional in checking for post parent and children that checks if post...
author
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 24 Mar 2017 12:40:57 +0000
(08:40 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Fri, 24 Mar 2017 12:40:57 +0000
(08:40 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
de894e3
..
57cda95
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-100,7
+100,7
@@
function glm_get_header() {
global $post;
$post_id = $post->ID;
- if ( $post->post_parent
&& !has_post_thumbnail($post->ID)
){
+ if ( $post->post_parent){
$post_id = $post->post_parent;
}