projects
/
WP-Themes
/
glmthemes
/
mountpleasant-theme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
441a212
)
Content now equal to shortcode in functions, attempt to fix 500 on dev55
author
Laury GvR
<laury@gaslightmedia.com>
Mon, 28 Sep 2015 17:17:33 +0000
(13:17 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Mon, 28 Sep 2015 17:17:33 +0000
(13:17 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
0d8b7e5
..
ba2c2ef
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-427,7
+427,7
@@
function custom_content($content) {
&& in_array( 'glm-members-list', $matches[2] ) )
{
$shortcode = $matches[0][0];
- $content =
do_shortcode($shortcode)
;
+ $content =
$shortcode
;
return $content;
} else {
$content=str_replace($matches[0],"",$content);