WordPress.org

Make WordPress Core

Ticket #17434: 17434.diff

File 17434.diff, 1.1 KB (added by tenpura, 7 years ago)
  • wp-content/themes/twentyeleven/functions.php

     
    311311endif; // twentyeleven_admin_header_image
    312312
    313313/**
    314  * Sets the post excerpt length to 40 characters.
     314 * Sets the post excerpt length to 40 words.
    315315 *
    316316 * To override this length in a child theme, remove the filter and add your own
    317317 * function tied to the excerpt_length filter hook.
  • wp-content/themes/twentyten/functions.php

     
    225225add_filter( 'wp_page_menu_args', 'twentyten_page_menu_args' );
    226226
    227227/**
    228  * Sets the post excerpt length to 40 characters.
     228 * Sets the post excerpt length to 40 words.
    229229 *
    230230 * To override this length in a child theme, remove the filter and add your own
    231231 * function tied to the excerpt_length filter hook.