CoreFiles by mySites.guru
sidebar.php43 lines, 1,215 bytes, from wordpress-3.0-beta2.zip
Raw History Compare with 3.0-beta1
md5
85014640be5b2d0da367ace151114688
sha1
72c83e755f193ff368b501543a15f0963aea893c
sha256
7ac872ddd016ac1365e35f40ab2eac6969c39c16c6ce2e7365d5b5f2697a0e33
<?php
/**
 * The Sidebar containing the primary and secondary widget areas
 *
 * @package WordPress
 * @subpackage Twenty Ten
 * @since 3.0.0
 */
?>

		<div id="primary" class="widget-area">
			<ul class="xoxo">
<?php if ( ! dynamic_sidebar( 'primary-widget-area' ) ) : // begin primary widget area ?>
			<li id="search" class="widget-container widget_search">
				<?php get_search_form(); ?>
			</li>

			<li id="archives" class="widget-container">
				<h3 class="widget-title"><?php _e( 'Archives', 'twentyten' ); ?></h3>
				<ul>
					<?php wp_get_archives( 'type=monthly' ); ?>
				</ul>
			</li>

			<li id="meta" class="widget-container">
				<h3 class="widget-title"><?php _e( 'Meta', 'twentyten' ); ?></h3>
				<ul>
					<?php wp_register(); ?>
					<li><?php wp_loginout(); ?></li>
					<?php wp_meta(); ?>
				</ul>
			</li>
<?php endif; // end primary widget area ?>
			</ul>
		</div><!-- #primary .widget-area -->

<?php if ( is_active_sidebar( 'secondary-widget-area' ) ) : // Nothing here by default and design ?>
		<div id="secondary" class="widget-area">
			<ul class="xoxo">
				<?php dynamic_sidebar( 'secondary-widget-area' ); ?>
			</ul>
		</div><!-- #secondary .widget-area -->
<?php endif; ?>

The same content is in 2 releases, WordPress 3.0-beta1 to 3.0-beta2. See them all, or every version of this file.