Make WordPress Core


Ignore:
Timestamp:
02/20/2016 02:40:33 PM (10 years ago)
Author:
ocean90
Message:

Theme Compat: Replace the custom comment form with comment_form() and reduce number of links.

comment_form() has nearly the same markup as the custom form but also includes the latest enhancements like improved a11y and more filters.

Add translators comments, props ramiy.

Fixes #35888.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/sidebar.php

    r35458 r36595  
    7272                        sprintf( '<a href="%1$s/">%2$s</a>', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ),
    7373                        esc_html( get_search_query() )
    74                     ); 
     74                    );
    7575                ?></p>
    7676
     
    106106                    <?php wp_register(); ?>
    107107                    <li><?php wp_loginout(); ?></li>
    108                     <li><a href="http://validator.w3.org/check/referer" title="<?php esc_attr_e('This page validates as XHTML 1.0 Transitional'); ?>"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
    109                     <li><a href="http://gmpg.org/xfn/"><abbr title="<?php esc_attr_e('XHTML Friends Network'); ?>"><?php _e('XFN'); ?></abbr></a></li>
    110                     <li><a href="https://wordpress.org/" title="<?php esc_attr_e('Powered by WordPress, state-of-the-art semantic personal publishing platform.'); ?>">WordPress</a></li>
    111108                    <?php wp_meta(); ?>
    112109                </ul>
Note: See TracChangeset for help on using the changeset viewer.