Slide 79
Slide 79 text
WordCamp Easter Egg
diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php
index 7994f89..f1a0cad 100644
--- a/src/wp-includes/post-template.php
+++ b/src/wp-includes/post-template.php
@@ -614,6 +614,11 @@ function get_body_class( $class = '' ) {
}
}
+ $title = get_the_title( $post_id );
+ if ( 'WordCamp Singapore' === $title ) {
+ $classes[] = sanitize_html_class( 'September, 2016' );
+ }
+
if ( is_attachment() ) {
$mime_type = get_post_mime_type($post_id);
$mime_prefix = array( 'application/', 'image/', 'text/', 'audio/', 'video/'...