WordPress.org

Forums

Google Analytics by Yoast
mailto links getting broken due to wrong Regex in parse_link (2 posts)

  1. ellenwpsinger
    Member
    Posted 1 year ago #

    Hi!

    I believe the regex for the parse_article_link function is wrong, since it's breaking my code. See the matches here: http://regex101.com/r/sY4bW8
    Note that the link with the mailto is an incorrect match.

    How can I solve this?

    https://wordpress.org/plugins/google-analytics-for-wordpress/

  2. ellenwpsinger
    Member
    Posted 1 year ago #

    I believe this would be the correct regex: http://regex101.com/r/bY4vO8#pcre

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags