WordPress.org

Make WordPress Core

Ticket #8418: default-filters.php.diff

File default-filters.php.diff, 574 bytes (added by janbrasna, 5 years ago)

Patch

  • default-filters.php

    diff -urp svn/default-filters.php dev/default-filters.php
    svn dev add_filter('option_category_base', '_wp_ 
    158158add_filter( 'the_posts', '_close_comments_for_old_posts' ); 
    159159add_filter( 'comments_open', '_close_comments_for_old_post', 10, 2 ); 
    160160add_filter( 'pings_open', '_close_comments_for_old_post', 10, 2 ); 
     161add_filter( 'editable_slug', 'urldecode' ); 
    161162 
    162163// Atom SSL support 
    163164add_filter('atom_service_url','atom_service_url_filter');