)'. // the closing ? > tag '/is'; return preg_replace_callback($pattern, 'execphp_replace', $content); } function execphp_init() { add_filter('the_content', 'execphp_apply', 3); } if (function_exists('get_currentuserinfo')) { // WP 1.5, get_currentuserinfo already loaded execphp_init(); } else { // Need to wait until pluggable functions have been loaded // e.g. the Gravatars plugin add_action('init', 'execphp_init'); } ?>