Changeset 1350
- Timestamp:
- 07/04/08 14:37:48 (2 months ago)
- Files:
-
- trunk/wp-admin/import/wp-cat2tag.php (modified) (1 diff)
- trunk/wp-admin/includes/class-wp-filesystem-base.php (modified) (1 diff)
- trunk/wp-config-sample.php (modified) (1 diff)
- trunk/wp-includes/theme.php (modified) (1 diff)
- trunk/wp-includes/version.php (modified) (2 diffs)
- trunk/wp-includes/widgets.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/import/wp-cat2tag.php
r1336 r1350 53 53 echo '<h2>' . sprintf( __ngettext( 'Convert Category to Tag.', 'Convert Categories (%d) to Tags.', $cat_num ), $cat_num ) . '</h2>'; 54 54 echo '<div class="narrow">'; 55 echo '<p>' . __('Hey there. Here you can selectively convert sexisting categories to tags. To get started, check the categories you wish to be converted, then click the Convert button.') . '</p>';55 echo '<p>' . __('Hey there. Here you can selectively convert existing categories to tags. To get started, check the categories you wish to be converted, then click the Convert button.') . '</p>'; 56 56 echo '<p>' . __('Keep in mind that if you convert a category with child categories, the children become top-level orphans.') . '</p></div>'; 57 57 trunk/wp-admin/includes/class-wp-filesystem-base.php
r1328 r1350 1 1 <?php 2 2 class WP_Filesystem_Base{ 3 var $verbose = true;3 var $verbose = false; 4 4 var $cache = array(); 5 5 trunk/wp-config-sample.php
r1345 r1350 11 11 $base = 'BASE'; 12 12 13 // Change SECRET_KEY to a unique phrase. You won't have to remember it later, 14 // so make it long and complicated. You can visit http://api.wordpress.org/secret-key/1.0/ 15 // to get a secret key generated for you, or just make something up. 13 // Change each KEY to a different unique phrase. You won't have to remember the phrases later, 14 // so make them long and complicated. You can visit http://api.wordpress.org/secret-key/1.1/ 15 // to get keys generated for you, or just make something up. Each key should have a different phrase. 16 define('AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 17 define('SECURE_AUTH_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 18 define('LOGGED_IN_KEY', 'put your unique phrase here'); // Change this to a unique phrase. 16 19 define('SECRET_KEY', 'put your unique phrase here'); // Change these to unique phrases. 17 20 define('SECRET_SALT', 'put your unique phrase here'); 18 define('LOGGED_IN_KEY', 'put your unique phrase here');19 21 define('LOGGED_IN_SALT', 'put your unique phrase here'); 20 22 trunk/wp-includes/theme.php
r1328 r1350 487 487 return; 488 488 489 $_GET[template] = preg_replace('|[^a-z0-9 ]|i', '', $_GET[template]);489 $_GET[template] = preg_replace('|[^a-z0-9_-]|i', '', $_GET[template]); 490 490 491 491 add_filter('template', create_function('', "return '$_GET[template]';") ); 492 492 493 493 if ( isset($_GET['stylesheet']) ) { 494 $_GET[stylesheet] = preg_replace('|[^a-z0-9 ]|i', '', $_GET[stylesheet]);494 $_GET[stylesheet] = preg_replace('|[^a-z0-9_-]|i', '', $_GET[stylesheet]); 495 495 add_filter('stylesheet', create_function('', "return '$_GET[stylesheet]';") ); 496 496 } trunk/wp-includes/version.php
r1344 r1350 9 9 * @global string $wp_version 10 10 */ 11 $wp_version = '2.6-beta 2';11 $wp_version = '2.6-beta3'; 12 12 13 13 /** … … 18 18 $wp_db_version = 8201; 19 19 20 $wpmu_version = '2.6.beta 2';20 $wpmu_version = '2.6.beta3'; 21 21 ?> trunk/wp-includes/widgets.php
r1336 r1350 462 462 function wp_widget_search($args) { 463 463 extract($args); 464 ?> 465 <?php echo $before_widget; ?> 466 <form id="searchform" method="get" action="<?php bloginfo('home'); ?>"> 467 <div> 464 $searchform_template = get_template_directory() . '/searchform.php'; 465 466 echo $before_widget; 467 468 // Use current theme search form if it exists 469 if ( file_exists($searchform_template) ) { 470 include_once($searchform_template); 471 } else { ?> 472 <form id="searchform" method="get" action="<?php bloginfo('url'); ?>/"><div> 468 473 <label class="hidden" for="s"><?php _e('Search for:'); ?></label> 469 <input type="text" name="s" id="s" size="15" /><br/>474 <input type="text" name="s" id="s" size="15" value="<?php the_search_query(); ?>" /> 470 475 <input type="submit" value="<?php echo attribute_escape(__('Search')); ?>" /> 471 </div>472 </form>473 <?php echo $after_widget; ?>474 <?php 476 </div></form> 477 <?php } 478 479 echo $after_widget; 475 480 } 476 481
