public static function refresh_post($post, $refresh_legacy = TRUE, $save = TRUE)
 {
     $postID = $post->ID;
     if (wp_is_post_revision($postID)) {
         // Ignore revisions
         return;
     }
     if (CrayonWP::scan_post($post)) {
         CrayonSettingsWP::add_post($postID, $save);
         if ($refresh_legacy) {
             if (self::scan_legacy_post($post)) {
                 CrayonSettingsWP::add_legacy_post($postID, $save);
             } else {
                 CrayonSettingsWP::remove_legacy_post($postID, $save);
             }
         }
     } else {
         CrayonSettingsWP::remove_post($postID, $save);
         CrayonSettingsWP::remove_legacy_post($postID, $save);
     }
 }