From 6a352b5fb62071cc4cd47b93612375c6a21a87f0 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Sun, 18 Feb 2018 21:12:10 +0100 Subject: [PATCH 1/2] load 'after_setup_theme' so that the plugin can handle the theme-support. see #30 --- wp-uf2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-uf2.php b/wp-uf2.php index e2b5b1d..a4093d1 100644 --- a/wp-uf2.php +++ b/wp-uf2.php @@ -9,7 +9,7 @@ * Text Domain: wp-uf2 */ -add_action( 'plugins_loaded', array( 'UF2_Plugin', 'init' ) ); +add_action( 'after_setup_theme', array( 'UF2_Plugin', 'init' ), 99 ); /** * Adds Microformats 2 support to your WordPress theme From 259554c251a78fc6b41ca10fae2816f73aa70dab Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Sun, 18 Feb 2018 21:16:47 +0100 Subject: [PATCH 2/2] prepared version update --- .gitignore | 1 + README.md | 11 ++++++++--- languages/wp-uf2.pot | 14 +++++++------- readme.txt | 11 ++++++++--- wp-uf2.php | 2 +- 5 files changed, 25 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 022b988..001c3fa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules vendor +package-lock.json diff --git a/README.md b/README.md index fdb082d..98d6c9e 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Microformats 2 # -**Contributors:** pfefferle, dshanske +**Contributors:** pfefferle, dshanske, indieweb **Tags:** microformats, indieweb **Requires at least:** 4.7 -**Tested up to:** 4.8 -**Stable tag:** 1.0.1 +**Tested up to:** 4.9.4 +**Stable tag:** 1.1.0 Enhances your WordPress theme with Microformats 2 classes. @@ -30,6 +30,11 @@ Microformats 2 classes. Most commonly, the classic Microformats class hentry. Project actively developed on Github at [indieweb/wordpress-uf2](https://github.com/indieweb/wordpress-uf2). Please file support issues there. +### 1.1.0 ### + +* Better handling for unattached images (props @kraftbj) +* Fixed proper `current_theme_supports` handling + ### 1.0.1 ### * WP.org version diff --git a/languages/wp-uf2.pot b/languages/wp-uf2.pot index ed1452c..03923ee 100644 --- a/languages/wp-uf2.pot +++ b/languages/wp-uf2.pot @@ -1,20 +1,20 @@ -# Copyright (C) 2017 IndieWeb WordPress Outreach Club -# This file is distributed under the same license as the wp-uf2 package. +# Copyright (C) 2018 IndieWeb WordPress Outreach Club +# This file is distributed under the same license as the Microformats 2 package. msgid "" msgstr "" -"Project-Id-Version: wp-uf2 1.0.0\n" +"Project-Id-Version: Microformats 2 1.1.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-uf2\n" -"POT-Creation-Date: 2017-06-21 07:04:17+00:00\n" +"POT-Creation-Date: 2018-02-18 20:16:04+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n" +"PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "X-Generator: grunt-wp-i18n 0.5.4\n" #. Plugin Name of the plugin/theme -msgid "wp-uf2" +msgid "Microformats 2" msgstr "" #. Plugin URI of the plugin/theme @@ -22,7 +22,7 @@ msgid "https://github.com/indieweb/wordpress-uf2" msgstr "" #. Description of the plugin/theme -msgid "Adds microformats2 support to your WordPress installation or theme" +msgid "Adds Microformats 2 support to your WordPress installation or theme" msgstr "" #. Author of the plugin/theme diff --git a/readme.txt b/readme.txt index 94447af..8269d48 100644 --- a/readme.txt +++ b/readme.txt @@ -1,9 +1,9 @@ === Microformats 2 === -Contributors: pfefferle, dshanske +Contributors: pfefferle, dshanske, indieweb Tags: microformats, indieweb Requires at least: 4.7 -Tested up to: 4.8 -Stable tag: 1.0.1 +Tested up to: 4.9.4 +Stable tag: 1.1.0 Enhances your WordPress theme with Microformats 2 classes. @@ -30,6 +30,11 @@ Microformats 2 classes. Most commonly, the classic Microformats class hentry. Project actively developed on Github at [indieweb/wordpress-uf2](https://github.com/indieweb/wordpress-uf2). Please file support issues there. += 1.1.0 = + +* Better handling for unattached images (props @kraftbj) +* Fixed proper `current_theme_supports` handling + = 1.0.1 = * WP.org version diff --git a/wp-uf2.php b/wp-uf2.php index a4093d1..cf8bc02 100644 --- a/wp-uf2.php +++ b/wp-uf2.php @@ -5,7 +5,7 @@ * Description: Adds Microformats 2 support to your WordPress installation or theme * Author: IndieWeb WordPress Outreach Club * Author URI: https://indieweb.org/WordPress_Outreach_Club - * Version: 1.0.1 + * Version: 1.1.0 * Text Domain: wp-uf2 */