byrcar
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
esc_url() did the trick.
Thanks very much!The field is in our RSS template, but URL/Image is generated by WP User Avatar.
Here’s the code snippet from our RSS template:
<dc:contributor><?php // Get avatar image ob_start(); echo get_avatar(get_the_author_meta('ID')); $img = ob_get_contents(); ob_end_clean(); // Parse avatar URL $array = array(); preg_match('/src="([^"]*)"/i', $img, $array); print_r($array[1]); ?></dc:contributor>Forum: Plugins
In reply to: [W3 Total Cache] Memcache and Opcodes greyed outProof that xcache is on:
PHP 5.4.32 (cli) (built: Sep 16 2014 12:39:53)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
Viewing 3 replies - 1 through 3 (of 3 total)