Make WordPress Core


Ignore:
Timestamp:
03/29/2010 09:45:31 PM (15 years ago)
Author:
ryan
Message:

Use network_*_url(). see #12736

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/ms-options.php

    r13796 r13884  
    8585                <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 />
    8686                <?php _e( 'Display the latest post from this RSS or Atom feed on all site dashboards. Leave blank to disable.' ); ?><br />
    87                 <?php if ( get_site_option( 'admin_notice_feed' ) != 'http://' . $current_site->domain . $current_site->path . 'feed/' )
    88                     echo __( "A good one to use would be the feed from your main site: " ) . 'http://' . $current_site->domain . $current_site->path . 'feed/'; ?></td>
     87                <?php if ( get_site_option( 'admin_notice_feed' ) != network_home_url('feed/', 'http') )
     88                    echo __( "A good one to use would be the feed from your main site: " ) . network_home_url('feed/'); ?></td>
    8989            </tr>
    9090        </table>
Note: See TracChangeset for help on using the changeset viewer.