OldGrumpyDE
Forum Replies Created
-
Hi there, your reply came just in while I was busy yelling profanities. 🙂 The mail sent out to a non-user is created by EM, not wordpress. The field for the corresponding email body in the settings was empty, thus the empty notification email. That was a bit unexpected. 🙂 We’ll continue testing, I’ll open a new thread if we find any more problems. 🙂
Forum: Plugins
In reply to: [Schreikasten] Non-Fatal Error ReporEdit line 1814 of schreikasten.php and replace this:
$aux = "";with
$aux = new stdClass();This happens when your PHP environment has E_STRICT warnings enabled. (While it doesn’t throw a warning else, it is still bad practice…)
Forum: Plugins
In reply to: [WP Facebook Open Graph protocol] Problem with description metaThat problem stems from the regex used to locate the SEO description. I fixed it by changing the regex in function wpfbogp_callback() to actually work 😉
$description = preg_match( '#<meta name="description" content="(.*)" />#', $content, $description_matches );and
$content = preg_replace( '#<meta property="og:description" content="(.*)"/>#', '<meta property="og:description" content="' . $description_matches[1] . '"/>', $content );That problem stems from the regex used to locate the SEO description. I fixed it by changing the regex in function wpfbogp_callback() to actually work 😉
$description = preg_match( '#<meta name="description" content="(.*)" />#', $content, $description_matches );and
$content = preg_replace( '#<meta property="og:description" content="(.*)"/>#', '<meta property="og:description" content="' . $description_matches[1] . '"/>', $content );