• Using g-a 2.21 + WordPress 2.7 + Sandbox… ga_outgoing_comment_author is a little bit hungry, which breaks URLs in comments. Just needs a bit of a regex “controlled diet” to be happy. ??

    (Sorry, not quoting the entire patch here on the forum… this summary will give you the fix anyway.)

    Thanks for g-a!

    function ga_outgoing_comment_author($input) {
    -	static $link_pattern = '(.*href\s*=\s*)[\"\']*(.*)[\"\'] (.*)';
    +	static $link_pattern = '(.*href\s*=\s*)[\"\']*(.*?)[\"\'] (.*)';
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Google Analyticator] Quick fix for WordPress 2.7 and/or Sandbox’ is closed to new replies.