Slide 20
Slide 20 text
#32831 WP Melb Easter Egg
wptrac peterwilson$ git diff
diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php
index 92ccf45..6d46d22 100644
--- a/src/wp-includes/post-template.php
+++ b/src/wp-includes/post-template.php
@@ -436,6 +436,11 @@ function get_post_class( $class = '', $post_id = null ) {
}
$classes[] = 'post-' . $post->ID;
+ $title = get_the_title( $post_id );
+ if ( "WordPress Melbourne" == $title ) {
+ $classes[] = "wpmelb";
+ }
+
if ( ! is_admin() )
$classes[] = $post->post_type;
$classes[] = 'type-' . $post->post_type;