Skip to content

Commit

Permalink
Merge pull request #454 from Automattic/fix/master
Browse files Browse the repository at this point in the history
Revert inadvertent merge
  • Loading branch information
sboisvert authored May 14, 2018
2 parents d467baa + e13b539 commit 5a43972
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 184 deletions.
4 changes: 0 additions & 4 deletions classes/class-wpcom-liveblog-entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ public function get_type() {
return $this->type;
}

public function get_author_name() {
return get_the_author_meta( 'display_name', $this->comment->user_id );
}

/**
* Get the GMT timestamp for the comment
*
Expand Down
173 changes: 0 additions & 173 deletions classes/class-wpcom-liveblog-schema.php

This file was deleted.

7 changes: 0 additions & 7 deletions liveblog.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ private static function includes() {
require( dirname( __FILE__ ) . '/classes/class-wpcom-liveblog-socketio-loader.php' );
require( dirname( __FILE__ ) . '/classes/class-wpcom-liveblog-entry-embed.php' );
require( dirname( __FILE__ ) . '/classes/class-wpcom-liveblog-entry-embed-sdks.php' );
require( dirname( __FILE__ ) . '/classes/class-wpcom-liveblog-schema.php' );

if ( self::use_rest_api() ) {
require( dirname( __FILE__ ) . '/classes/class-wpcom-liveblog-rest-api.php' );
Expand Down Expand Up @@ -1145,12 +1144,6 @@ public static function add_liveblog_to_content( $content ) {
return $content;
}


if ( apply_filters( 'liveblog_enable_schema', true ) ) {
$schema = new WPCOM_Liveblog_Schema( self::$post_id );
$content .= $schema->render();
}

$liveblog_output = '<div id="wpcom-liveblog-container" class="' . self::$post_id . '"></div>';

$liveblog_output = apply_filters( 'liveblog_add_to_content', $liveblog_output, $content, self::$post_id );
Expand Down

0 comments on commit 5a43972

Please sign in to comment.