File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * Plugin Name: MF2 Feed
44 * Plugin URI: http://github.com/indieweb/wordpress-mf2-feed/
55 * Description: Adds a Microformats2 JSON feed for every entry
6- * Version: 2.1 .0
6+ * Version: 3.0 .0
77 * Author: Matthias Pfefferle
88 * Author URI: https://notiz.blog/
99 * License: MIT
@@ -124,7 +124,7 @@ public static function add_html_header() {
124124<link rel="alternate" type="<?php echo esc_attr ( feed_content_type ( 'mf2 ' ) ); ?> " href="<?php echo esc_url ( get_post_comments_feed_link ( null , 'mf2 ' ) ); ?> " />
125125<link rel="alternate" type="<?php echo esc_attr ( feed_content_type ( 'jf2 ' ) ); ?> " href="<?php echo esc_url ( get_post_comments_feed_link ( null , 'jf2 ' ) ); ?> " />
126126 <?php
127- } elseif ( ) {
127+ } else {
128128 ?>
129129<link rel="alternate" type="<?php echo esc_attr ( feed_content_type ( 'mf2 ' ) ); ?> " href="<?php echo esc_url ( get_feed_link ( 'mf2 ' ) ); ?> " />
130130<link rel="alternate" type="<?php echo esc_attr ( feed_content_type ( 'jf2feed ' ) ); ?> " href="<?php echo esc_url ( get_feed_link ( 'jf2 ' ) ); ?> " />
You can’t perform that action at this time.
0 commit comments