The MU forums have moved to WordPress.org

extend allowed_protocols (3 posts)

  1. webgrafia
    Member
    Posted 14 years ago #

    Is there a way to extend allowed_protocols without hacking the kses code?

    I tryed also to remove the kses filter in this way:

    remove_filter('content_save_pre', 'wp_filter_post_kses');
    remove_filter('excerpt_save_pre', 'wp_filter_post_kses');
    remove_filter('content_filtered_save_pre', 'wp_filter_post_kses');

    And to replace with my function, but it's not working...
    and wp_filter_post_kses is still called

    I also tryed to use

    add_action('init','kses_remove_filters');

    But nothing happened....
    why? Is this a bug?

  2. mrjcleaver
    Member
    Posted 14 years ago #

    I'm trying to do the same.

    I have no idea why its not working.

    Fancy coming to #wpmu on IRC freenode.net?

  3. mrjcleaver
    Member
    Posted 14 years ago #

    You might want to vote on http://trac.mu.wordpress.org/ticket/339#comment:3 - Donncha removed the capability and doesn't seem to think its worth putting back.

About this Topic

  • Started 14 years ago by webgrafia
  • Latest reply from mrjcleaver