A lot of the code focused on fixing the storage and display of media. Whenever you save a post, your content is searched for image, video, and audio tags. If there are any, it will ignore anything in these properties sent by Micropub or saved otherwise. If it finds none, it will. This should hopefully reduce duplicate displays.
Shortly after 3.4.0 went out, I found another bug, so quickly released 3.4.1. If additional bugs are found, I’ll quickly iterate.
David, I am having issues with the new version of Post Kinds. Although I am able to publish posts, I am finding that the content is disappearing from the screen in the editor for some posts once published:
I am also finding that some links are being stripped from Response Properties when I publish. For example, I tried posting this issue from my site, but it kept removing the Github URL when I press ‘publish’.
Here are the error details provided by WordPress:
WordPress version 5.5.1
Current theme: Collect2016 (version 0.1)
Current plugin: Post Kinds (version 3.4.1)
PHP version 7.2.33
=============
An error of type E_ERROR was caused in line 255 of the file /home/readwrit/collect.readwriterespond.com/wp-content/plugins/indieweb-post-kinds/includes/time-functions.php. Error message: Uncaught Error: Call to a member function format() on string in /home/readwrit/collect.readwriterespond.com/wp-content/plugins/indieweb-post-kinds/includes/time-functions.php:255
Stack trace:
#0 /home/readwrit/collect.readwriterespond.com/wp-content/plugins/indieweb-post-kinds/includes/class-kind-metabox.php(224): divide_datetime(‘2020-09-17T10:1…’)
#1 /home/readwrit/collect.readwriterespond.com/wp-content/plugins/indieweb-post-kinds/templates/reply-details.php(14): Kind_Metabox::kind_the_time(‘cite_published’, ‘Published/Relea…’, ‘2020-09-17T10:1…’, ‘published’)
#2 /home/readwrit/collect.readwriterespond.com/wp-content/plugins/indieweb-post-kinds/templates/reply-metabox.php(114): require_once(‘/home/readwrit/…’)
#3 /home/readwrit/collect.readwriterespond.com/wp-includes/template.php(730): require_once(‘/home/readwrit/…’)
#4 /home/readwrit/collect.readwriterespond.com/wp-content/plugins/indieweb-post-kinds/includes/class-kind-metabox.php(346): load_template(‘/home/readwrit/…’)
Also on:
This Article was mentioned on reading.am