Austin Pray
Forum Replies Created
-
Forum: Plugins
In reply to: [wpMandrill] Breaks Password Reset EmailsI tried that after googling around.
The only thing that fixed it for me is to add a filter to the reset_password email output that removes the
<
and>
function cur_modify_retrieve_password_messsage($message, $key){ // Replace first open bracket $message = str_replace('<', '', $message); // Replace second open bracket $message = str_replace('>', '', $message); // Convert line returns to <br>'s $message = str_replace("\r\n", '<br>', $message); return $message; } add_filter('retrieve_password_message', 'cur_modify_retrieve_password_messsage', 10, 2);
Dumb but it works.
I might end up just using mandrill via smtp: https://github.com/roots/bedrock-ansible/pull/123
Forum: Plugins
In reply to: [Full Screen (Page) Background Image Slideshow] localhost activateI fixed it. The issue being that there are numerous missing
?>
closing tags spread out amongst the includes as well as mixing<?php
with<?
which is generally kinda sloppy.Forum: Plugins
In reply to: [Full Screen (Page) Background Image Slideshow] localhost activateGetting this as well when using 1.1:
`
PHP message: PHP Parse error: syntax error, unexpected end of file in /srv/www/msusa.dev/current/web/app/plugins/full-screen-page-background-image-slideshow/full-screen-background-image-slideshow.php on line 89
`
I am using a really common stack: LEMP (Linux/Nginx/MySQL/PHP) stack with PHP 5.5
Of course my PHP settings are strict as possible to avoid undefined behavior. Going to noodle around with line 89 but it would be a shame to have to package a patched version of this plugin with the old site I am migrating.
Forum: Fixing WordPress
In reply to: Enable Oembed for custom post typeDid you ever figure this out?