Skip to content

Commit

Permalink
Moved the override file into the library folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Jan 25, 2018
1 parent df169f8 commit fc70e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ function wp_notify_postauthor( $comment_id, $deprecated = null ) {
}

$comment = get_comment( $comment_id );

if ( empty( $comment ) || empty( $comment->comment_post_ID ) ) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ private function __construct() {

//we'll override wp_notify_postauthor and wp_notify_moderator pluggable functions
//so they point moderation links on emails to Calypso
require_once( JETPACK__PLUGIN_DIR . 'moderation-emails-override.php' );
jetpack_require_lib( 'functions.wp-notify' );
}

// Update the Jetpack plan from API on heartbeats
Expand Down

0 comments on commit fc70e8c

Please sign in to comment.