mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-06 12:51:58 +00:00
Use network_*_url(). see #12736
git-svn-id: https://develop.svn.wordpress.org/trunk@13884 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -84,8 +84,8 @@ if (isset($_GET['updated'])) {
|
||||
<th scope="row"><label for="admin_notice_feed"><?php _e('Admin Notice Feed') ?></label></th>
|
||||
<td><input name="admin_notice_feed" class="large-text" type="text" id="admin_notice_feed" value="<?php echo esc_attr( get_site_option( 'admin_notice_feed' ) ) ?>" size="80" /><br />
|
||||
<?php _e( 'Display the latest post from this RSS or Atom feed on all site dashboards. Leave blank to disable.' ); ?><br />
|
||||
<?php if ( get_site_option( 'admin_notice_feed' ) != 'http://' . $current_site->domain . $current_site->path . 'feed/' )
|
||||
echo __( "A good one to use would be the feed from your main site: " ) . 'http://' . $current_site->domain . $current_site->path . 'feed/'; ?></td>
|
||||
<?php if ( get_site_option( 'admin_notice_feed' ) != network_home_url('feed/', 'http') )
|
||||
echo __( "A good one to use would be the feed from your main site: " ) . network_home_url('feed/'); ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<h3><?php _e('Registration Settings'); ?></h3>
|
||||
|
||||
Reference in New Issue
Block a user