Make WordPress Core

Changeset 25672


Ignore:
Timestamp:
10/02/2013 09:16:17 PM (11 years ago)
Author:
nacin
Message:

Use site_url() in theme-compat.

props technosailor.
see #25418.

Location:
trunk/src/wp-includes/theme-compat
Files:
2 edited

Legend:

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

    r22431 r25672  
    6767<p><?php printf(__('Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>'), allowed_tags()); ?></p>
    6868
    69 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
     69<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
    7070<?php if ( $user_ID ) : ?>
    7171    <p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>. <a href="%3$s" title="Log out of this account">Log out &raquo;</a>'), get_edit_user_link(), $user_identity, wp_logout_url(get_permalink())); ?></p>
  • trunk/src/wp-includes/theme-compat/comments.php

    r21364 r25672  
    6666<?php else : ?>
    6767
    68 <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
     68<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
    6969
    7070<?php if ( is_user_logged_in() ) : ?>
Note: See TracChangeset for help on using the changeset viewer.