• I set the option in wp-o-matic to Post Title Links to Source and it doesn’t actually do it. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Chris

    (@der-wupperpirat)

    Search wpomatic.php for add_action('the_permalink', array(&$this, 'filterPermalink')); and change it to add_filter('the_permalink', array(&$this, 'filterPermalink'));

    Chris

    elizabethcb

    (@elizabethcb)

    Actually, add_action runs add_filter in WPMU trunk wp-includes/plugin.php:

    271  function add_action($tag, $function_to_add, $priority = 10, $accepted_args = 1) {
     272      return add_filter($tag, $function_to_add, $priority, $accepted_args);
     273  }

    lines 324-326 for WordPress trunk.

    So that won’t do anything.

    It’s a pretty straight forward action, but it does depend on being inside “The Loop”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-O-Matic Post Title Links to Source’ is closed to new replies.