Changeset 356039
- Timestamp:
- 10/28/2026 09:31:15 PM (12 hours ago)
- Location:
- 200-bytes/1.1.2
- Files:
-
- 7 edited
- 1 copied
-
. (copied) (copied from 200-bytes/1.1.1 )
-
404.php (modified) (1 diff)
-
footer.php (modified) (2 diffs)
-
functions.php (modified) (2 diffs)
-
header.php (modified) (2 diffs)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
200-bytes/1.1.2/404.php
r318194 r356039 1 1 <?php get_header(); ?> 2 2 <main> 3 <h 2><?php esc_html_e( 'Oops! That page can’t be found.', '200-bytes' ); ?></h2>3 <h1><?php esc_html_e( 'Oops! That page can’t be found.', '200-bytes' ); ?></h1> 4 4 <p><?php esc_html_e( 'It looks like nothing was found at this location.', '200-bytes' ); ?></p> 5 5 <p><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php esc_html_e( 'Go to homepage', '200-bytes' ); ?></a></p> -
200-bytes/1.1.2/footer.php
r318194 r356039 1 <footer> 1 2 <p> 2 3 <?php … … 12 13 ?> 13 14 </p> 15 </footer> 14 16 <?php wp_footer(); ?> 15 17 </body> -
200-bytes/1.1.2/functions.php
r318194 r356039 2 2 if ( ! function_exists( 'bytes200_setup' ) ) : 3 3 function bytes200_setup() { 4 load_theme_textdomain( '200-bytes' );5 6 4 add_theme_support( 'automatic-feed-links' ); 7 5 add_theme_support( 'title-tag' ); … … 13 11 14 12 function bytes200_enqueue_styles() { 15 wp_enqueue_style( 16 'bytes200-style', 17 get_stylesheet_uri(), 18 array(), 19 file _exists( get_stylesheet_directory() . '/style.css' ) ? filemtime( get_stylesheet_directory() . '/style.css' ) : false13 wp_enqueue_style( 14 'bytes200-style', 15 get_stylesheet_uri(), 16 array(), 17 filemtime( get_stylesheet_directory() . '/style.css' ) 20 18 ); 21 19 } -
200-bytes/1.1.2/header.php
r318194 r356039 9 9 <?php wp_body_open(); ?> 10 10 11 <header> 11 12 <?php if ( is_front_page() || is_home() ) : ?> 12 13 <h1> … … 22 23 </p> 23 24 <?php endif; ?> 25 </header> -
200-bytes/1.1.2/index.php
r318194 r356039 14 14 <nav aria-label="<?php echo esc_attr__( 'Posts navigation', '200-bytes' ); ?>"> 15 15 <?php 16 if ( get_previous_posts_link() ) { 17 echo get_previous_posts_link( esc_html__( 'Newer posts', '200-bytes' ) );16 if ( get_previous_posts_link() ) { 17 previous_posts_link( esc_html__( 'Newer posts', '200-bytes' ) ); 18 18 } 19 if ( get_previous_posts_link() && get_next_posts_link() ) { 20 echo '<span aria-hidden="true"> | </span>'; 19 if ( get_previous_posts_link() && get_next_posts_link() ) { 20 echo '<span aria-hidden="true"> | </span>'; 21 21 } 22 if ( get_next_posts_link() ) { 23 echo get_next_posts_link( esc_html__( 'Older posts', '200-bytes' ) );22 if ( get_next_posts_link() ) { 23 next_posts_link( esc_html__( 'Older posts', '200-bytes' ) ); 24 24 } 25 25 ?> -
200-bytes/1.1.2/readme.txt
r318194 r356039 3 3 Tags: blog, one-column, full-width-template 4 4 Requires at least: 5.6 5 Tested up to: 6.95 Tested up to: 7.1 6 6 Requires PHP: 5.6 7 Stable tag: 1.1. 17 Stable tag: 1.1.2 8 8 License: GNU General Public License v2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 21 21 == Copyright == 22 200 Bytes, Copyright 202 3-2026Marc Armengou22 200 Bytes, Copyright 2024 Marc Armengou 23 23 200 Bytes is distributed under the terms of the GNU GPL 24 24 25 25 == Changelog == 26 26 27 = 1.1.2 = 28 * 2026-10-28 29 * Compatibility: WordPress 5.6 - WordPress 7.1 30 * Semantics/HTML5: added header and footer landmarks. 31 * Semantics/HTML5: use h1 for the 404 page title. 32 * Cleanup: removed the unnecessary load_theme_textdomain() call and the redundant file_exists() check. 33 * Cleanup: output pagination links with previous_posts_link() and next_posts_link(). 34 * Updated Tested up to. 35 27 36 = 1.1.1 = 28 37 * 2026-03-17 29 38 * Security: Full implementation of "Late Escaping". All dynamic data is escaped at the exact point of rendering. 30 * Accessibility: Added mandatory "Skip to content" link for keyboard navigation.31 39 * Accessibility: Implemented ARIA labels for post navigation and pagination. 32 40 * Semantics: Migrated structure from generic divs to HTML5 semantic elements (<main>, <article>, <nav>). 33 41 * Performance: Implemented filemtime() cache-busting for stylesheet enqueuing. 34 * Architecture: Refactored functions.php with strict typing (PHP 8.2+) and modern array syntax.35 42 * Cleanup: Removed obsolete XFN profile link and modernized header logic. 36 43 37 44 = 1.1.0 = 38 * 2024- 13-0145 * 2024-01-13 39 46 * Compatibility: WordPress 5.6 - WordPress 6.4.2 40 47 * Compatibility: PHP 5.6 - PHP 8.3 -
200-bytes/1.1.2/style.css
r318194 r356039 7 7 Idea: Inspired by this: https://dev.to/swyx/100-bytes-of-css-to-look-great-everywhere-19pd 8 8 Tags: blog, one-column, full-width-template 9 Version: 1.1. 19 Version: 1.1.2 10 10 License: GNU General Public License v2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html 12 12 Text Domain: 200-bytes 13 13 Copyright: 2024 Marc Armengou 14 Tested up to: 6.9 14 Requires at least: 5.6 15 Tested up to: 7.1 15 16 Requires PHP: 5.6 16 17 */
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)