Ticket #24633: 24633.4.patch
File 24633.4.patch, 53.0 KB (added by , 11 years ago) |
---|
-
wp-admin/admin-ajax.php
58 58 'wp-remove-post-lock', 'dismiss-wp-pointer', 'upload-attachment', 'get-attachment', 59 59 'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor', 60 60 'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs', 61 'save-user-color-scheme', 61 'save-user-color-scheme', 'generate_password', 62 62 ); 63 63 64 64 // Register core Ajax calls. -
wp-admin/includes/ajax-actions.php
2251 2251 update_user_meta( get_current_user_id(), 'admin_color', $color_scheme ); 2252 2252 wp_send_json_success(); 2253 2253 } 2254 2255 function wp_ajax_generate_password() { 2256 die( wp_generate_password() ); 2257 } -
wp-admin/includes/user.php
174 174 175 175 if ( $update ) { 176 176 $user_id = wp_update_user( $user ); 177 178 // Encourage the user to reset their password 179 if( ! empty( $_POST['reset_password'] ) ) { 180 update_user_option( $user_id, 'default_password_nag', true, true ); 181 } 182 183 // Send the new, plaintext password to the user 184 if( ! empty( $_POST['send_password'] ) ) { 185 $blogname = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); 186 $message = sprintf( __( 'Username: %s' ), $user->user_login ) . "\r\n"; 187 $message .= sprintf( __( 'Password: %s' ), $pass1 ) . "\r\n"; 188 $message .= wp_login_url() . "\r\n"; 189 190 wp_mail( $user->user_email, sprintf( __( '[%s] Your username and password' ), $blogname ), $message ); 191 } 192 177 193 } else { 178 194 $user_id = wp_insert_user( $user ); 179 195 wp_new_user_notification( $user_id, isset( $_POST['send_password'] ) ? wp_unslash( $pass1 ) : '' ); -
wp-admin/js/user-profile.js
33 33 $(document).ready( function() { 34 34 var $colorpicker, $stylesheet, user_id, current_user_id, 35 35 select = $( '#display_name' ); 36 37 var show_password = $('#show-password'); 38 var hide_password = $('#hide-password'); 39 var pass1 = $('#pass1'); 40 var pass2 = $('#pass2'); 41 var password_repeat = $('#password-repeat'); 36 42 37 $('#pass1').val('').keyup( check_pass_strength ); 38 $('#pass2').val('').keyup( check_pass_strength ); 43 /* Passwords */ 44 pass1.val('').keyup(function(e) { 45 if( ! pass1.is(':focus') || 'text' == pass1.attr('type') ){ 46 //return; 47 } 48 check_pass_strength(); 49 changed = true; 50 password_repeat.show(); 51 }); 52 pass2.val('').keyup( check_pass_strength ); 53 54 $('#generate-password').on('click', function() { 55 if( 'profile' == pagenow ) { 56 // User's own password 57 $(pass1,pass2).attr('type', 'text'); 58 } else { 59 $(pass1,pass2).attr('type', 'password'); 60 } 61 $.post( ajaxurl, { action: 'generate_password' }, function( response ) { 62 pass1.val( response ).trigger('keyup'); 63 pass2.val( response ).trigger('keyup'); 64 if( 'profile' == pagenow ) { 65 // User's own password 66 hide_password.show(); 67 } else { 68 hide_password.hide(); 69 show_password.show(); 70 } 71 pass1.focus(); 72 }); 73 }); 74 show_password.on('click', function(e) { 75 show_password.hide(); 76 hide_password.show(); 77 e.preventDefault(); 78 $(pass1,pass2).attr('type', 'text'); 79 }); 80 hide_password.on('click', function(e) { 81 hide_password.hide(); 82 show_password.show(); 83 e.preventDefault(); 84 $(pass1,pass2).attr('type', 'password'); 85 }); 86 87 39 88 $('#pass-strength-result').show(); 89 90 /* End Passwords */ 91 40 92 $('.color-palette').click( function() { 41 93 $(this).siblings('input[name="admin_color"]').prop('checked', true); 42 94 }); -
wp-admin/user-edit.php
459 459 <th><label for="pass1"><?php _e( 'New Password' ); ?></label></th> 460 460 <td> 461 461 <input class="hidden" value=" " /><!-- #24364 workaround --> 462 <input type="password" name="pass1" id="pass1" class="regular-text" size="16" value="" autocomplete="off" /><br /> 463 <span class="description"><?php _e( 'If you would like to change the password type a new one. Otherwise leave this blank.' ); ?></span> 462 <input type="password" name="pass1" id="pass1" size="16" value="" autocomplete="off" /> 463 <input type="button" name="generate-password" id="generate-password" value="<?php _e( 'Generate Password' ); ?>" class="button hide-if-no-js" /> 464 <a href="#" id="show-password" class="hidden"><?php _e( 'Show Password' ); ?></a> 465 <a href="#" id="hide-password" class="hidden"><?php _e( 'Hide Password' ); ?></a> 466 <div id="password-repeat" class="hidden"> 467 <input name="pass2" type="password" id="pass2" size="16" value="" autocomplete="off" /> 468 <label for="pass2"><?php _e( 'Repeat New Password' ); ?></label> 469 <br /> 470 <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div> 471 <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).' ); ?></p> 472 </div> 473 <p class="description"><?php _e( 'If you would like to change the password type or generate a new one. Otherwise leave this blank.' ); ?></p> 474 <?php if( ! IS_PROFILE_PAGE ) { ?> 475 <p class="hide-if-no-js"> 476 <label for="send_password"> 477 <input type="checkbox" name="send_password" id="send_password" /> <?php _e( 'Send this password to the user by email.' ); ?> 478 </label> 479 <br/> 480 <label for="reset_password"> 481 <input type="checkbox" name="reset_password" id="reset_password" /> <?php _e( 'Encourage the user to change their password, once logged in.' ); ?> 482 </label> 483 </p> 484 <?php } ?> 464 485 </td> 465 486 </tr> 466 <tr>467 <th scope="row"><label for="pass2"><?php _e( 'Repeat New Password' ); ?></label></th>468 <td>469 <input name="pass2" type="password" id="pass2" class="regular-text" size="16" value="" autocomplete="off" /><br />470 <span class="description" for="pass2"><?php _e( 'Type your new password again.' ); ?></span>471 <br />472 <div id="pass-strength-result"><?php _e( 'Strength indicator' ); ?></div>473 <p class="description indicator-hint"><?php _e( 'Hint: The password should be at least seven characters long. To make it stronger, use upper and lower case letters, numbers and symbols like ! " ? $ % ^ & ).' ); ?></p>474 </td>475 </tr>476 487 <?php endif; ?> 477 488 </table> 478 489 -
wp-content/index.php
1 1 <?php 2 2 // Silence is golden. 3 ?> 4 No newline at end of file -
wp-content/themes/twentyeleven/style.css
Cannot display: file marked as a binary type. svn:mime-type = image/png
7 7 Version: 1.7 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed- layout, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready10 Tags: dark, light, white, black, gray, one-column, two-columns, left-sidebar, right-sidebar, fixed-width, flexible-width, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready 11 11 Text Domain: twentyeleven 12 12 */ 13 13 … … 2283 2283 /* =Responsive Structure 2284 2284 ----------------------------------------------- */ 2285 2285 2286 /* Does the same thing as <meta name="viewport" content="width=device-width">,2287 * but in the future W3C standard way. -ms- prefix is required for IE10+ to2288 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor2289 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.2290 */2291 @-ms-viewport {2292 width: device-width;2293 }2294 @viewport {2295 width: device-width;2296 }2297 2298 2286 @media (max-width: 800px) { 2299 2287 /* Simplify the basic layout */ 2300 2288 #main #content { -
wp-content/themes/twentyten/404.php
1 1 <?php 2 2 /** 3 * T emplate for displaying 404 pages (Not Found)3 * The template for displaying 404 pages (Not Found). 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten -
wp-content/themes/twentyten/archive.php
1 1 <?php 2 2 /** 3 * T emplate for displaying Archive pages3 * The template for displaying Archive pages. 4 4 * 5 5 * Used to display archive-type pages if nothing more specific matches a query. 6 6 * For example, puts together date-based pages if no date.php file exists. 7 7 * 8 * @linkhttp://codex.wordpress.org/Template_Hierarchy8 * Learn more: http://codex.wordpress.org/Template_Hierarchy 9 9 * 10 10 * @package WordPress 11 11 * @subpackage Twenty_Ten … … 18 18 <div id="content" role="main"> 19 19 20 20 <?php 21 /* 22 * Queue the first post, that way we know 21 /* Queue the first post, that way we know 23 22 * what date we're dealing with (if that is the case). 24 23 * 25 24 * We reset this later so we can run the loop … … 42 41 </h1> 43 42 44 43 <?php 45 /* 46 * Since we called the_post() above, we need to 44 /* Since we called the_post() above, we need to 47 45 * rewind the loop back to the beginning that way 48 46 * we can run the loop properly, in full. 49 47 */ 50 48 rewind_posts(); 51 49 52 /* 53 * Run the loop for the archives page to output the posts. 50 /* Run the loop for the archives page to output the posts. 54 51 * If you want to overload this in a child theme then include a file 55 52 * called loop-archive.php and that will be used instead. 56 53 */ -
wp-content/themes/twentyten/attachment.php
1 1 <?php 2 2 /** 3 * T emplate for displaying attachments3 * The template for displaying attachments. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 13 13 <div id="content" role="main"> 14 14 15 15 <?php 16 /* 17 * Run the loop to output the attachment. 16 /* Run the loop to output the attachment. 18 17 * If you want to overload this in a child theme then include a file 19 18 * called loop-attachment.php and that will be used instead. 20 19 */ -
wp-content/themes/twentyten/author.php
1 1 <?php 2 2 /** 3 * T emplate for displaying Author Archive pages3 * The template for displaying Author Archive pages. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 13 13 <div id="content" role="main"> 14 14 15 15 <?php 16 /* 17 * Queue the first post, that way we know who 16 /* Queue the first post, that way we know who 18 17 * the author is when we try to get their name, 19 18 * URL, description, avatar, etc. 20 19 * … … 32 31 if ( get_the_author_meta( 'description' ) ) : ?> 33 32 <div id="entry-author-info"> 34 33 <div id="author-avatar"> 35 <?php 36 /** 37 * Filter the Twenty Ten author bio avatar size. 38 * 39 * @since Twenty Ten 1.0 40 * 41 * @param int The height and width avatar dimensions in pixels. Default 60. 42 */ 43 echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); 44 ?> 34 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?> 45 35 </div><!-- #author-avatar --> 46 36 <div id="author-description"> 47 37 <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> … … 51 41 <?php endif; ?> 52 42 53 43 <?php 54 /* 55 * Since we called the_post() above, we need to 44 /* Since we called the_post() above, we need to 56 45 * rewind the loop back to the beginning that way 57 46 * we can run the loop properly, in full. 58 47 */ 59 48 rewind_posts(); 60 49 61 /* 62 * Run the loop for the author archive page to output the authors posts 50 /* Run the loop for the author archive page to output the authors posts 63 51 * If you want to overload this in a child theme then include a file 64 52 * called loop-author.php and that will be used instead. 65 53 */ -
wp-content/themes/twentyten/category.php
1 1 <?php 2 2 /** 3 * T emplate for displaying Category Archive pages3 * The template for displaying Category Archive pages. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 20 20 if ( ! empty( $category_description ) ) 21 21 echo '<div class="archive-meta">' . $category_description . '</div>'; 22 22 23 /* 24 * Run the loop for the category page to output the posts. 23 /* Run the loop for the category page to output the posts. 25 24 * If you want to overload this in a child theme then include a file 26 25 * called loop-category.php and that will be used instead. 27 26 */ -
wp-content/themes/twentyten/comments.php
1 1 <?php 2 2 /** 3 * T emplate for displaying Comments3 * The template for displaying Comments. 4 4 * 5 5 * The area of the page that contains both current comments 6 6 * and the comment form. The actual display of comments is … … 18 18 <p class="nopassword"><?php _e( 'This post is password protected. Enter the password to view any comments.', 'twentyten' ); ?></p> 19 19 </div><!-- #comments --> 20 20 <?php 21 /* 22 * Stop the rest of comments.php from being processed, 21 /* Stop the rest of comments.php from being processed, 23 22 * but don't kill the script entirely -- we still have 24 23 * to fully load the template. 25 24 */ … … 46 45 47 46 <ol class="commentlist"> 48 47 <?php 49 /* 50 * Loop through and list the comments. Tell wp_list_comments() 48 /* Loop through and list the comments. Tell wp_list_comments() 51 49 * to use twentyten_comment() to format the comments. 52 50 * If you want to overload this in a child theme then you can 53 51 * define twentyten_comment() and that will be used instead. … … 65 63 <?php endif; // check for comment navigation ?> 66 64 67 65 <?php 68 /* 69 * If there are no comments and comments are closed, let's leave a little note, shall we? 66 /* If there are no comments and comments are closed, let's leave a little note, shall we? 70 67 * But we only want the note on posts and pages that had comments in the first place. 71 68 */ 72 69 if ( ! comments_open() && get_comments_number() ) : ?> -
wp-content/themes/twentyten/footer.php
1 1 <?php 2 2 /** 3 * T emplate for displaying the footer3 * The template for displaying the footer. 4 4 * 5 5 * Contains the closing of the id=main div and all content 6 6 * after. Calls sidebar-footer.php for bottom widgets. … … 16 16 <div id="colophon"> 17 17 18 18 <?php 19 /* 20 * A sidebar in the footer? Yep. You can can customize 19 /* A sidebar in the footer? Yep. You can can customize 21 20 * your footer with four columns of widgets. 22 21 */ 23 22 get_sidebar( 'footer' ); … … 30 29 </div><!-- #site-info --> 31 30 32 31 <div id="site-generator"> 33 <?php 34 /** 35 * Fires before the Twenty Ten credits in the footer. 36 * 37 * @since Twenty Ten 1.0 38 */ 39 do_action( 'twentyten_credits' ); ?> 32 <?php do_action( 'twentyten_credits' ); ?> 40 33 <a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyten' ) ); ?>" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyten' ); ?>"><?php printf( __( 'Proudly powered by %s.', 'twentyten' ), 'WordPress' ); ?></a> 41 34 </div><!-- #site-generator --> 42 35 … … 46 39 </div><!-- #wrapper --> 47 40 48 41 <?php 49 /* 50 * Always have wp_footer() just before the closing </body> 42 /* Always have wp_footer() just before the closing </body> 51 43 * tag of your theme, or you will break many plugins, which 52 44 * generally use this hook to reference JavaScript files. 53 45 */ -
wp-content/themes/twentyten/functions.php
38 38 * @since Twenty Ten 1.0 39 39 */ 40 40 41 /* 41 /** 42 42 * Set the content width based on the theme's design and stylesheet. 43 43 * 44 44 * Used to set the width of images and content. Should be equal to the width the theme … … 47 47 if ( ! isset( $content_width ) ) 48 48 $content_width = 640; 49 49 50 /* Tell WordPress to run twentyten_setup() when the 'after_setup_theme' hook is run. */50 /** Tell WordPress to run twentyten_setup() when the 'after_setup_theme' hook is run. */ 51 51 add_action( 'after_setup_theme', 'twentyten_setup' ); 52 52 53 53 if ( ! function_exists( 'twentyten_setup' ) ): 54 54 /** 55 * Set up theme defaults and registers support for various WordPress features.55 * Sets up theme defaults and registers support for various WordPress features. 56 56 * 57 57 * Note that this function is hooked into the after_setup_theme hook, which runs 58 58 * before the init hook. The init hook is too late for some features, such as indicating … … 61 61 * To override twentyten_setup() in a child theme, add your own twentyten_setup to your child theme's 62 62 * functions.php file. 63 63 * 64 * @uses add_theme_support() 65 * @uses register_nav_menus() 66 * @uses add_editor_style() 67 * @uses load_theme_textdomain() 64 * @uses add_theme_support() To add support for post thumbnails, custom headers and backgrounds, and automatic feed links. 65 * @uses register_nav_menus() To add support for navigation menus. 66 * @uses add_editor_style() To style the visual editor. 67 * @uses load_theme_textdomain() For translation/localization support. 68 68 * @uses register_default_headers() To register the default custom header images provided with the theme. 69 * @uses set_post_thumbnail_size() 69 * @uses set_post_thumbnail_size() To set a custom post thumbnail size. 70 70 * 71 71 * @since Twenty Ten 1.0 72 72 */ … … 84 84 // Add default posts and comments RSS feed links to head 85 85 add_theme_support( 'automatic-feed-links' ); 86 86 87 /* 88 * Make theme available for translation. 89 * Translations can be filed in the /languages/ directory 90 */ 87 // Make theme available for translation 88 // Translations can be filed in the /languages/ directory 91 89 load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' ); 92 90 93 91 // This theme uses wp_nav_menu() in one location. … … 104 102 // The custom header business starts here. 105 103 106 104 $custom_header_support = array( 107 /* 108 * The default image to use. 109 * The %s is a placeholder for the theme template directory URI. 110 */ 105 // The default image to use. 106 // The %s is a placeholder for the theme template directory URI. 111 107 'default-image' => '%s/images/headers/path.jpg', 112 108 // The height and width of our custom header. 113 /**114 * Filter the Twenty Ten default header image width.115 *116 * @since Twenty Ten 1.0117 *118 * @param int The default header image width in pixels. Default 940.119 */120 109 'width' => apply_filters( 'twentyten_header_image_width', 940 ), 121 /**122 * Filter the Twenty Ten defaul header image height.123 *124 * @since Twenty Ten 1.0125 *126 * @param int The default header image height in pixels. Default 198.127 */128 110 'height' => apply_filters( 'twentyten_header_image_height', 198 ), 129 111 // Support flexible heights. 130 112 'flex-height' => true, … … 147 129 add_custom_background(); 148 130 } 149 131 150 /* 151 * We'll be using post thumbnails for custom header images on posts and pages. 152 * We want them to be 940 pixels wide by 198 pixels tall. 153 * Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. 154 */ 132 // We'll be using post thumbnails for custom header images on posts and pages. 133 // We want them to be 940 pixels wide by 198 pixels tall. 134 // Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php. 155 135 set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true ); 156 136 157 137 // ... and thus ends the custom header business. … … 212 192 213 193 if ( ! function_exists( 'twentyten_admin_header_style' ) ) : 214 194 /** 215 * Style the header image displayed on the Appearance > Header admin panel.195 * Styles the header image displayed on the Appearance > Header admin panel. 216 196 * 217 197 * Referenced via add_custom_image_header() in twentyten_setup(). 218 198 * … … 236 216 endif; 237 217 238 218 /** 239 * Show a home link for our wp_nav_menu() fallback, wp_page_menu().219 * Get our wp_nav_menu() fallback, wp_page_menu(), to show a home link. 240 220 * 241 221 * To override this in a child theme, remove the filter and optionally add 242 222 * your own function tied to the wp_page_menu_args filter hook. 243 223 * 244 224 * @since Twenty Ten 1.0 245 *246 * @param array $args An optional array of arguments. @see wp_page_menu()247 225 */ 248 226 function twentyten_page_menu_args( $args ) { 249 227 if ( ! isset( $args['show_home'] ) ) … … 253 231 add_filter( 'wp_page_menu_args', 'twentyten_page_menu_args' ); 254 232 255 233 /** 256 * Set the post excerpt length to 40 characters.234 * Sets the post excerpt length to 40 characters. 257 235 * 258 236 * To override this length in a child theme, remove the filter and add your own 259 237 * function tied to the excerpt_length filter hook. 260 238 * 261 239 * @since Twenty Ten 1.0 262 * 263 * @param int $length The number of excerpt characters. 264 * @return int The filtered number of excerpt characters. 240 * @return int 265 241 */ 266 242 function twentyten_excerpt_length( $length ) { 267 243 return 40; … … 270 246 271 247 if ( ! function_exists( 'twentyten_continue_reading_link' ) ) : 272 248 /** 273 * Return a "Continue Reading" link for excerpts.249 * Returns a "Continue Reading" link for excerpts 274 250 * 275 251 * @since Twenty Ten 1.0 276 * 277 * @return string "Continue Reading" link. 252 * @return string "Continue Reading" link 278 253 */ 279 254 function twentyten_continue_reading_link() { 280 255 return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) . '</a>'; … … 282 257 endif; 283 258 284 259 /** 285 * Replace "[...]"with an ellipsis and twentyten_continue_reading_link().260 * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyten_continue_reading_link(). 286 261 * 287 * "[...]" is appended to automatically generated excerpts.288 *289 262 * To override this in a child theme, remove the filter and add your own 290 263 * function tied to the excerpt_more filter hook. 291 264 * 292 265 * @since Twenty Ten 1.0 293 * 294 * @param string $more The Read More text. 295 * @return string An ellipsis. 266 * @return string An ellipsis 296 267 */ 297 268 function twentyten_auto_excerpt_more( $more ) { 298 269 return ' …' . twentyten_continue_reading_link(); … … 300 271 add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' ); 301 272 302 273 /** 303 * Add a pretty "Continue Reading" link to custom post excerpts.274 * Adds a pretty "Continue Reading" link to custom post excerpts. 304 275 * 305 276 * To override this link in a child theme, remove the filter and add your own 306 277 * function tied to the get_the_excerpt filter hook. 307 278 * 308 279 * @since Twenty Ten 1.0 309 * 310 * @param string $output The "Coninue Reading" link. 311 * @return string Excerpt with a pretty "Continue Reading" link. 280 * @return string Excerpt with a pretty "Continue Reading" link 312 281 */ 313 282 function twentyten_custom_excerpt_more( $output ) { 314 283 if ( has_excerpt() && ! is_attachment() ) { … … 356 325 * Used as a callback by wp_list_comments() for displaying the comments. 357 326 * 358 327 * @since Twenty Ten 1.0 359 *360 * @param object $comment The comment object.361 * @param array $args An array of arguments. @see get_comment_reply_link()362 * @param int $depth The depth of the comment.363 328 */ 364 329 function twentyten_comment( $comment, $args, $depth ) { 365 330 $GLOBALS['comment'] = $comment; … … 411 376 * function tied to the init hook. 412 377 * 413 378 * @since Twenty Ten 1.0 414 * 415 * @uses register_sidebar() 379 * @uses register_sidebar 416 380 */ 417 381 function twentyten_widgets_init() { 418 382 // Area 1, located at the top of the sidebar. … … 485 449 add_action( 'widgets_init', 'twentyten_widgets_init' ); 486 450 487 451 /** 488 * Remove the default styles that are packaged with the Recent Comments widget.452 * Removes the default styles that are packaged with the Recent Comments widget. 489 453 * 490 454 * To override this in a child theme, remove the filter and optionally add your own 491 455 * function tied to the widgets_init action hook. … … 503 467 504 468 if ( ! function_exists( 'twentyten_posted_on' ) ) : 505 469 /** 506 * Print HTML with meta information for the current post-date/time and author.470 * Prints HTML with meta information for the current post-date/time and author. 507 471 * 508 472 * @since Twenty Ten 1.0 509 473 */ … … 526 490 527 491 if ( ! function_exists( 'twentyten_posted_in' ) ) : 528 492 /** 529 * Print HTML with meta information for the current post (category, tags and permalink).493 * Prints HTML with meta information for the current post (category, tags and permalink). 530 494 * 531 495 * @since Twenty Ten 1.0 532 496 */ … … 552 516 endif; 553 517 554 518 /** 555 * Retrieve the IDs for images in a gallery.519 * Retrieves the IDs for images in a gallery. 556 520 * 557 * @uses get_post_galleries() First, if available. Falls back to shortcode parsing,558 * 521 * @uses get_post_galleries() first, if available. Falls back to shortcode parsing, 522 * then as last option uses a get_posts() call. 559 523 * 560 524 * @since Twenty Ten 1.6. 561 525 * -
wp-content/themes/twentyten/header.php
1 1 <?php 2 2 /** 3 * Header template for our theme3 * The Header for our theme. 4 4 * 5 * Displays all of the <head> section and everything up till <div id="main"> .5 * Displays all of the <head> section and everything up till <div id="main"> 6 6 * 7 7 * @package WordPress 8 8 * @subpackage Twenty_Ten … … 37 37 <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" /> 38 38 <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" /> 39 39 <?php 40 /* 41 * We add some JavaScript to pages with the comment form 40 /* We add some JavaScript to pages with the comment form 42 41 * to support sites with threaded comments (when in use). 43 42 */ 44 43 if ( is_singular() && get_option( 'thread_comments' ) ) 45 44 wp_enqueue_script( 'comment-reply' ); 46 45 47 /* 48 * Always have wp_head() just before the closing </head> 46 /* Always have wp_head() just before the closing </head> 49 47 * tag of your theme, or you will break many plugins, which 50 48 * generally use this hook to add elements to <head> such 51 49 * as styles, scripts, and meta tags. … … 70 68 <?php 71 69 // Compatibility with versions of WordPress prior to 3.4. 72 70 if ( function_exists( 'get_custom_header' ) ) { 73 /* 74 * We need to figure out what the minimum width should be for our featured image. 75 * This result would be the suggested width if the theme were to implement flexible widths. 76 */ 71 // We need to figure out what the minimum width should be for our featured image. 72 // This result would be the suggested width if the theme were to implement flexible widths. 77 73 $header_image_width = get_theme_support( 'custom-header', 'width' ); 78 74 } else { 79 75 $header_image_width = HEADER_IMAGE_WIDTH; -
wp-content/themes/twentyten/index.php
1 1 <?php 2 2 /** 3 * Main template file3 * The main template file. 4 4 * 5 5 * This is the most generic template file in a WordPress theme 6 6 * and one of the two required files for a theme (the other being style.css). … … 19 19 <div id="content" role="main"> 20 20 21 21 <?php 22 /* 23 * Run the loop to output the posts. 22 /* Run the loop to output the posts. 24 23 * If you want to overload this in a child theme then include a file 25 24 * called loop-index.php and that will be used instead. 26 25 */ -
wp-content/themes/twentyten/languages/twentyten.pot
4 4 msgstr "" 5 5 "Project-Id-Version: Twenty Ten 1.6\n" 6 6 "Report-Msgid-Bugs-To: http://wordpress.org/tags/twentyten\n" 7 "POT-Creation-Date: 2013- 10-24 19:42:39+00:00\n"7 "POT-Creation-Date: 2013-05-22 21:14:02+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=UTF-8\n" 10 10 "Content-Transfer-Encoding: 8bit\n" … … 22 22 "will help." 23 23 msgstr "" 24 24 25 #: archive.php:3 425 #: archive.php:33 26 26 msgid "Daily Archives: <span>%s</span>" 27 27 msgstr "" 28 28 29 #: archive.php:3 629 #: archive.php:35 30 30 msgid "Monthly Archives: <span>%s</span>" 31 31 msgstr "" 32 32 33 #: archive.php:3 633 #: archive.php:35 34 34 msgctxt "monthly archives date format" 35 35 msgid "F Y" 36 36 msgstr "" 37 37 38 #: archive.php:3 838 #: archive.php:37 39 39 msgid "Yearly Archives: <span>%s</span>" 40 40 msgstr "" 41 41 42 #: archive.php:3 842 #: archive.php:37 43 43 msgctxt "yearly archives date format" 44 44 msgid "Y" 45 45 msgstr "" 46 46 47 #: archive.php: 4047 #: archive.php:39 48 48 msgid "Blog Archives" 49 49 msgstr "" 50 50 51 #: author.php:2 851 #: author.php:27 52 52 msgid "Author Archives: %s" 53 53 msgstr "" 54 54 55 #: author.php: 47 loop-single.php:4655 #: author.php:37 loop-single.php:43 56 56 msgid "About %s" 57 57 msgstr "" 58 58 … … 65 65 "This post is password protected. Enter the password to view any comments." 66 66 msgstr "" 67 67 68 #: comments.php:3 668 #: comments.php:35 69 69 msgid "One Response to %2$s" 70 70 msgid_plural "%1$s Responses to %2$s" 71 71 msgstr[0] "" 72 72 msgstr[1] "" 73 73 74 #: comments.php:4 2 comments.php:6274 #: comments.php:41 comments.php:60 75 75 msgid "<span class=\"meta-nav\">←</span> Older Comments" 76 76 msgstr "" 77 77 78 #: comments.php:4 3 comments.php:6378 #: comments.php:42 comments.php:61 79 79 msgid "Newer Comments <span class=\"meta-nav\">→</span>" 80 80 msgstr "" 81 81 82 #: comments.php:7 382 #: comments.php:70 83 83 msgid "Comments are closed." 84 84 msgstr "" 85 85 86 86 #. #-#-#-#-# twentyten.pot (Twenty Ten 1.6) #-#-#-#-# 87 87 #. Author URI of the plugin/theme 88 #: footer.php: 4088 #: footer.php:33 89 89 msgid "http://wordpress.org/" 90 90 msgstr "" 91 91 92 #: footer.php: 4092 #: footer.php:33 93 93 msgid "Semantic Personal Publishing Platform" 94 94 msgstr "" 95 95 96 #: footer.php: 4096 #: footer.php:33 97 97 msgid "Proudly powered by %s." 98 98 msgstr "" 99 99 100 #: functions.php:9 5100 #: functions.php:93 101 101 msgid "Primary Navigation" 102 102 msgstr "" 103 103 104 104 #. translators: header image description 105 #: functions.php:1 65105 #: functions.php:145 106 106 msgid "Berries" 107 107 msgstr "" 108 108 109 109 #. translators: header image description 110 #: functions.php:1 71110 #: functions.php:151 111 111 msgid "Cherry Blossoms" 112 112 msgstr "" 113 113 114 114 #. translators: header image description 115 #: functions.php:1 77115 #: functions.php:157 116 116 msgid "Concave" 117 117 msgstr "" 118 118 119 119 #. translators: header image description 120 #: functions.php:1 83120 #: functions.php:163 121 121 msgid "Fern" 122 122 msgstr "" 123 123 124 124 #. translators: header image description 125 #: functions.php:1 89125 #: functions.php:169 126 126 msgid "Forest Floor" 127 127 msgstr "" 128 128 129 129 #. translators: header image description 130 #: functions.php:1 95130 #: functions.php:175 131 131 msgid "Inkwell" 132 132 msgstr "" 133 133 134 134 #. translators: header image description 135 #: functions.php: 201135 #: functions.php:181 136 136 msgid "Path" 137 137 msgstr "" 138 138 139 139 #. translators: header image description 140 #: functions.php: 207140 #: functions.php:187 141 141 msgid "Sunset" 142 142 msgstr "" 143 143 144 #: functions.php:2 80 loop-attachment.php:118 loop.php:116 loop.php:144144 #: functions.php:255 loop-attachment.php:104 loop.php:114 loop.php:142 145 145 msgid "Continue reading <span class=\"meta-nav\">→</span>" 146 146 msgstr "" 147 147 148 #: functions.php:3 73148 #: functions.php:338 149 149 msgid "%s <span class=\"says\">says:</span>" 150 150 msgstr "" 151 151 152 #: functions.php:3 76152 #: functions.php:341 153 153 msgid "Your comment is awaiting moderation." 154 154 msgstr "" 155 155 156 156 #. translators: 1: date, 2: time 157 #: functions.php:3 83157 #: functions.php:348 158 158 msgid "%1$s at %2$s" 159 159 msgstr "" 160 160 161 #: functions.php:3 83 functions.php:400161 #: functions.php:348 functions.php:365 162 162 msgid "(Edit)" 163 163 msgstr "" 164 164 165 #: functions.php: 400165 #: functions.php:365 166 166 msgid "Pingback:" 167 167 msgstr "" 168 168 169 #: functions.php: 420169 #: functions.php:384 170 170 msgid "Primary Widget Area" 171 171 msgstr "" 172 172 173 #: functions.php: 422173 #: functions.php:386 174 174 msgid "Add widgets here to appear in your sidebar." 175 175 msgstr "" 176 176 177 #: functions.php: 431177 #: functions.php:395 178 178 msgid "Secondary Widget Area" 179 179 msgstr "" 180 180 181 #: functions.php: 433181 #: functions.php:397 182 182 msgid "" 183 183 "An optional secondary widget area, displays below the primary widget area in " 184 184 "your sidebar." 185 185 msgstr "" 186 186 187 #: functions.php:4 42187 #: functions.php:406 188 188 msgid "First Footer Widget Area" 189 189 msgstr "" 190 190 191 #: functions.php:4 44 functions.php:455 functions.php:466 functions.php:477191 #: functions.php:408 functions.php:419 functions.php:430 functions.php:441 192 192 msgid "An optional widget area for your site footer." 193 193 msgstr "" 194 194 195 #: functions.php:4 53195 #: functions.php:417 196 196 msgid "Second Footer Widget Area" 197 197 msgstr "" 198 198 199 #: functions.php:4 64199 #: functions.php:428 200 200 msgid "Third Footer Widget Area" 201 201 msgstr "" 202 202 203 #: functions.php:4 75203 #: functions.php:439 204 204 msgid "Fourth Footer Widget Area" 205 205 msgstr "" 206 206 207 #: functions.php: 511207 #: functions.php:475 208 208 msgid "" 209 209 "<span class=\"%1$s\">Posted on</span> %2$s <span class=\"meta-sep\">by</" 210 210 "span> %3$s" 211 211 msgstr "" 212 212 213 #: functions.php: 520loop-attachment.php:36213 #: functions.php:484 loop-attachment.php:36 214 214 msgid "View all posts by %s" 215 215 msgstr "" 216 216 217 #: functions.php:5 37217 #: functions.php:501 218 218 msgid "" 219 219 "This entry was posted in %1$s and tagged %2$s. Bookmark the <a href=\"%3$s\" " 220 220 "title=\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 221 221 msgstr "" 222 222 223 #: functions.php:5 39223 #: functions.php:503 224 224 msgid "" 225 225 "This entry was posted in %1$s. Bookmark the <a href=\"%3$s\" title=" 226 226 "\"Permalink to %4$s\" rel=\"bookmark\">permalink</a>." 227 227 msgstr "" 228 228 229 #: functions.php:5 41229 #: functions.php:505 230 230 msgid "" 231 231 "Bookmark the <a href=\"%3$s\" title=\"Permalink to %4$s\" rel=\"bookmark" 232 232 "\">permalink</a>." … … 236 236 msgid "Page %s" 237 237 msgstr "" 238 238 239 #: header.php:10 5239 #: header.php:101 240 240 msgid "Skip to content" 241 241 msgstr "" 242 242 … … 265 265 msgid "Link to full-size image" 266 266 msgstr "" 267 267 268 #: loop-attachment.php:63 loop-attachment.php:1 25loop-page.php:30269 #: loop-single.php:5 9 loop.php:101 loop.php:124 loop.php:166268 #: loop-attachment.php:63 loop-attachment.php:111 loop-page.php:30 269 #: loop-single.php:56 loop.php:99 loop.php:122 loop.php:164 270 270 msgid "Edit" 271 271 msgstr "" 272 272 273 #: loop-attachment.php:1 19 loop-page.php:29 loop-single.php:34 loop.php:145273 #: loop-attachment.php:105 loop-page.php:29 loop-single.php:34 loop.php:143 274 274 msgid "Pages:" 275 275 msgstr "" 276 276 277 #: loop-single.php:21 loop-single.php:6 4277 #: loop-single.php:21 loop-single.php:61 278 278 msgctxt "Previous post link" 279 279 msgid "←" 280 280 msgstr "" 281 281 282 #: loop-single.php:22 loop-single.php:6 5282 #: loop-single.php:22 loop-single.php:62 283 283 msgctxt "Next post link" 284 284 msgid "→" 285 285 msgstr "" 286 286 287 #: loop-single.php: 50287 #: loop-single.php:47 288 288 msgid "View all posts by %s <span class=\"meta-nav\">→</span>" 289 289 msgstr "" 290 290 291 #: loop.php:25 loop.php:17 9291 #: loop.php:25 loop.php:177 292 292 msgid "<span class=\"meta-nav\">←</span> Older posts" 293 293 msgstr "" 294 294 295 #: loop.php:26 loop.php:1 80295 #: loop.php:26 loop.php:178 296 296 msgid "Newer posts <span class=\"meta-nav\">→</span>" 297 297 msgstr "" 298 298 … … 302 302 "searching will help find a related post." 303 303 msgstr "" 304 304 305 #: loop.php:6 2 loop.php:96305 #: loop.php:60 loop.php:94 306 306 msgctxt "gallery category slug" 307 307 msgid "gallery" 308 308 msgstr "" 309 309 310 #: loop.php:8 3310 #: loop.php:81 311 311 msgid "This gallery contains <a %1$s>%2$s photo</a>." 312 312 msgid_plural "This gallery contains <a %1$s>%2$s photos</a>." 313 313 msgstr[0] "" 314 314 msgstr[1] "" 315 315 316 #: loop.php:8 4316 #: loop.php:82 317 317 msgid "Permalink to %s" 318 318 msgstr "" 319 319 320 #: loop.php:9 4320 #: loop.php:92 321 321 msgid "View Galleries" 322 322 msgstr "" 323 323 324 #: loop.php:9 4 loop.php:97324 #: loop.php:92 loop.php:95 325 325 msgid "More Galleries" 326 326 msgstr "" 327 327 328 #: loop.php:9 7328 #: loop.php:95 329 329 msgid "View posts in the Gallery category" 330 330 msgstr "" 331 331 332 #: loop.php: 100 loop.php:123 loop.php:165332 #: loop.php:98 loop.php:121 loop.php:163 333 333 msgid "Leave a comment" 334 334 msgstr "" 335 335 336 #: loop.php: 100 loop.php:123 loop.php:165336 #: loop.php:98 loop.php:121 loop.php:163 337 337 msgid "1 Comment" 338 338 msgstr "" 339 339 340 #: loop.php: 100 loop.php:123 loop.php:165340 #: loop.php:98 loop.php:121 loop.php:163 341 341 msgid "% Comments" 342 342 msgstr "" 343 343 344 #: loop.php:10 7344 #: loop.php:105 345 345 msgctxt "asides category slug" 346 346 msgid "asides" 347 347 msgstr "" 348 348 349 #: loop.php:15 2349 #: loop.php:150 350 350 msgid "<span class=\"%1$s\">Posted in</span> %2$s" 351 351 msgstr "" 352 352 353 #: loop.php:1 61353 #: loop.php:159 354 354 msgid "<span class=\"%1$s\">Tagged</span> %2$s" 355 355 msgstr "" 356 356 … … 358 358 msgid "Search Results for: %s" 359 359 msgstr "" 360 360 361 #: search.php:2 7361 #: search.php:26 362 362 msgid "Nothing Found" 363 363 msgstr "" 364 364 365 #: search.php:2 9365 #: search.php:28 366 366 msgid "" 367 367 "Sorry, but nothing matched your search criteria. Please try again with some " 368 368 "different keywords." 369 369 msgstr "" 370 370 371 #: sidebar.php:2 8371 #: sidebar.php:27 372 372 msgid "Archives" 373 373 msgstr "" 374 374 375 #: sidebar.php:3 5375 #: sidebar.php:34 376 376 msgid "Meta" 377 377 msgstr "" 378 378 -
wp-content/themes/twentyten/loop-attachment.php
1 1 <?php 2 2 /** 3 * The loop that displays an attachment 3 * The loop that displays an attachment. 4 4 * 5 5 * The loop displays the posts and the post content. See 6 6 * http://codex.wordpress.org/The_Loop to understand it and … … 86 86 } 87 87 ?> 88 88 <p class="attachment"><a href="<?php echo $next_attachment_url; ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php 89 /**90 * Filter the Twenty Ten default attachment width.91 *92 * @since Twenty Ten 1.093 *94 * @param int The default attachment width in pixels. Default 900.95 */96 89 $attachment_width = apply_filters( 'twentyten_attachment_size', 900 ); 97 /**98 * Filter the Twenty Ten default attachment height.99 *100 * @since Twenty Ten 1.0101 *102 * @param int The default attachment height in pixels. Default 900.103 */104 90 $attachment_height = apply_filters( 'twentyten_attachment_height', 900 ); 105 91 echo wp_get_attachment_image( $post->ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. 106 92 ?></a></p> -
wp-content/themes/twentyten/loop-page.php
1 1 <?php 2 2 /** 3 * The loop that displays a page 3 * The loop that displays a page. 4 4 * 5 5 * The loop displays the posts and the post content. See 6 6 * http://codex.wordpress.org/The_Loop to understand it and -
wp-content/themes/twentyten/loop-single.php
1 1 <?php 2 2 /** 3 * The loop that displays a single post 3 * The loop that displays a single post. 4 4 * 5 5 * The loop displays the posts and the post content. See 6 6 * http://codex.wordpress.org/The_Loop to understand it and … … 37 37 <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?> 38 38 <div id="entry-author-info"> 39 39 <div id="author-avatar"> 40 <?php 41 /** This filter is documented in author.php */ 42 echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); 43 ?> 40 <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?> 44 41 </div><!-- #author-avatar --> 45 42 <div id="author-description"> 46 43 <h2><?php printf( __( 'About %s', 'twentyten' ), get_the_author() ); ?></h2> -
wp-content/themes/twentyten/loop.php
1 1 <?php 2 2 /** 3 * The loop that displays posts 3 * The loop that displays posts. 4 4 * 5 5 * The loop displays the posts and the post content. See 6 6 * http://codex.wordpress.org/The_Loop to understand it and … … 39 39 <?php endif; ?> 40 40 41 41 <?php 42 /* 43 * Start the Loop. 42 /* Start the Loop. 44 43 * 45 44 * In Twenty Ten we use the same loop in multiple contexts. 46 45 * It is broken into three main parts: when we're displaying … … 53 52 * the rest of the loop that is shared. 54 53 * 55 54 * Without further ado, the loop: 56 */ 57 ?> 55 */ ?> 58 56 <?php while ( have_posts() ) : the_post(); ?> 59 57 60 58 <?php /* How to display posts of the Gallery format. The gallery category is the old way. */ ?> -
wp-content/themes/twentyten/onecolumn-page.php
18 18 <div id="content" role="main"> 19 19 20 20 <?php 21 /* 22 * Run the loop to output the page. 21 /* Run the loop to output the page. 23 22 * If you want to overload this in a child theme then include a file 24 23 * called loop-page.php and that will be used instead. 25 24 */ -
wp-content/themes/twentyten/page.php
1 1 <?php 2 2 /** 3 * T emplate for displaying all pages3 * The template for displaying all pages. 4 4 * 5 5 * This is the template that displays all pages by default. 6 6 * Please note that this is the WordPress construct of pages … … 18 18 <div id="content" role="main"> 19 19 20 20 <?php 21 /* 22 * Run the loop to output the page. 21 /* Run the loop to output the page. 23 22 * If you want to overload this in a child theme then include a file 24 23 * called loop-page.php and that will be used instead. 25 24 */ -
wp-content/themes/twentyten/search.php
Cannot display: file marked as a binary type. svn:mime-type = image/png
1 1 <?php 2 2 /** 3 * T emplate for displaying Search Results pages3 * The template for displaying Search Results pages. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 15 15 <?php if ( have_posts() ) : ?> 16 16 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'twentyten' ), '<span>' . get_search_query() . '</span>' ); ?></h1> 17 17 <?php 18 /* 19 * Run the loop for the search to output the results. 18 /* Run the loop for the search to output the results. 20 19 * If you want to overload this in a child theme then include a file 21 20 * called loop-search.php and that will be used instead. 22 21 */ -
wp-content/themes/twentyten/sidebar-footer.php
1 1 <?php 2 2 /** 3 * The Footer widget areas 3 * The Footer widget areas. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 9 9 ?> 10 10 11 11 <?php 12 /* 13 * The footer widget area is triggered if any of the areas 12 /* The footer widget area is triggered if any of the areas 14 13 * have widgets. So let's check that first. 15 14 * 16 15 * If none of the sidebars have widgets, then let's bail early. -
wp-content/themes/twentyten/sidebar.php
1 1 <?php 2 2 /** 3 * Sidebar template containing the primary and secondary widget areas3 * The Sidebar containing the primary and secondary widget areas. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 12 12 <ul class="xoxo"> 13 13 14 14 <?php 15 /* 16 * When we call the dynamic_sidebar() function, it'll spit out 15 /* When we call the dynamic_sidebar() function, it'll spit out 17 16 * the widgets for that widget area. If it instead returns false, 18 17 * then the sidebar simply doesn't exist, so we'll hard-code in 19 18 * some default sidebar stuff just in case. -
wp-content/themes/twentyten/single.php
1 1 <?php 2 2 /** 3 * T emplate for displaying all single posts3 * The Template for displaying all single posts. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 13 13 <div id="content" role="main"> 14 14 15 15 <?php 16 /* 17 * Run the loop to output the post. 16 /* Run the loop to output the post. 18 17 * If you want to overload this in a child theme then include a file 19 18 * called loop-single.php and that will be used instead. 20 19 */ -
wp-content/themes/twentyten/style.css
7 7 Version: 1.6 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 Tags: black, blue, white, two-columns, fixed- layout, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header10 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header 11 11 Text Domain: twentyten 12 12 */ 13 13 -
wp-content/themes/twentyten/tag.php
1 1 <?php 2 2 /** 3 * T emplate for displaying Tag Archive pages3 * The template for displaying Tag Archive pages. 4 4 * 5 5 * @package WordPress 6 6 * @subpackage Twenty_Ten … … 17 17 ?></h1> 18 18 19 19 <?php 20 /* 21 * Run the loop for the tag archive to output the posts 20 /* Run the loop for the tag archive to output the posts 22 21 * If you want to overload this in a child theme then include a file 23 22 * called loop-tag.php and that will be used instead. 24 23 */ -
wp-content/themes/twentythirteen/404.php
13 13 <div id="content" class="site-content" role="main"> 14 14 15 15 <header class="page-header"> 16 <h1 class="page-title"><?php _e( 'Not Found', 'twentythirteen' ); ?></h1>16 <h1 class="page-title"><?php _e( 'Not found', 'twentythirteen' ); ?></h1> 17 17 </header> 18 18 19 19 <div class="page-wrapper"> -
wp-content/themes/twentythirteen/languages/twentythirteen.pot
13 13 "Language-Team: LANGUAGE <LL@li.org>\n" 14 14 15 15 #: 404.php:16 16 msgid "Not Found"16 msgid "Not found" 17 17 msgstr "" 18 18 19 19 #: 404.php:21 -
wp-content/themes/twentythirteen/style.css
Cannot display: file marked as a binary type. svn:mime-type = image/png
7 7 Version: 1.1 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, fl uid-layout, responsive-layout, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready10 Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready 11 11 Text Domain: twentythirteen 12 12 13 13 This theme, like WordPress, is licensed under the GPL. … … 2577 2577 * ---------------------------------------------------------------------------- 2578 2578 */ 2579 2579 2580 /* Does the same thing as <meta name="viewport" content="width=device-width">,2581 * but in the future W3C standard way. -ms- prefix is required for IE10+ to2582 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor2583 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.2584 */2585 @-ms-viewport {2586 width: device-width;2587 }2588 @viewport {2589 width: device-width;2590 }2591 2592 2580 @media (max-width: 1599px) { 2593 2581 .site { 2594 2582 border: 0; -
wp-content/themes/twentytwelve/style.css
Cannot display: file marked as a binary type. svn:mime-type = image/png
7 7 Version: 1.3 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 Tags: light, gray, white, one-column, two-columns, right-sidebar, fl uid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready10 Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready 11 11 Text Domain: twentytwelve 12 12 13 13 This theme, like WordPress, is licensed under the GPL. … … 1432 1432 /* =Media queries 1433 1433 -------------------------------------------------------------- */ 1434 1434 1435 /* Does the same thing as <meta name="viewport" content="width=device-width">,1436 * but in the future W3C standard way. -ms- prefix is required for IE10+ to1437 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor1438 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.1439 */1440 @-ms-viewport {1441 width: device-width;1442 }1443 @viewport {1444 width: device-width;1445 }1446 1447 1435 /* Minimum width of 600 pixels. */ 1448 1436 @media screen and (min-width: 600px) { 1449 1437 .author-avatar {