Post Kinds 3.4.0 Released

Post Kinds 3.4.0 was released. If I broke your site, I’m sorry. Please tell me so I can fix it. I tried to cover everything, but I wrote a lot of the storage code and will have to continue to do so in preparation for the next iteration at some point in the future.

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 Shanske

My day job is in training for an airline. I also develop Indieweb WordPress plugins so that others can take control of their online identity.

2 Responses

  1. 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:

Mentions

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)