Plugin Directory

Changeset 2477796


Ignore:
Timestamp:
02/19/2021 03:04:19 PM (5 years ago)
Author:
thomask777
Message:

Fixed problem with Yoast SEO on uploading media.

Location:
link-to-bible/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • link-to-bible/trunk/ltb.php

    r2410745 r2477796  
    33 * Plugin Name: Link To Bible
    44 * Description: Automatically links bible references in posts to the appropriate bible verse(s) at bibleserver.com
    5  * Version: 2.5.7
     5 * Version: 2.5.8
    66 * Plugin URI: https://wordpress.org/extend/plugins/link-to-bible/
    77 * Author: Thomas Kuhlmann
    88 * Author URI: http://www.thk-systems.de
    99 * Min WP Version: 3.2.1
    10  * Max WP Version: 5.5.3
     10 * Max WP Version: 5.6
    1111 * Text Domain: ltb
    1212 */
     
    7272    $options = ltb_get_options ();
    7373    global $post;
    74     if (! get_post_meta ( $post->ID, 'LTB_DISABLE', true ) && (! get_post_meta ( $post->ID, '_ltb_last', true ) || ltb_notnull_and_unequal ( get_post_meta ( $post->ID, '_ltb_translation', true ), ltb_get_bible_version ( $options, $post ) ))) {
     74    if ('attachment' !== $post->post_type && ! get_post_meta ( $post->ID, 'LTB_DISABLE', true ) && (! get_post_meta ( $post->ID, '_ltb_last', true ) || ltb_notnull_and_unequal ( get_post_meta ( $post->ID, '_ltb_translation', true ), ltb_get_bible_version ( $options, $post ) ))) {
    7575        wp_insert_post ( $post ); // Do the filtering by saving the post to avoid side-effects with other filtering plugins
    7676        return ltb_add_links ( $content, $post, $options, true ); // Also use the filter here because of some filters of other plugins
  • link-to-bible/trunk/readme.txt

    r2413378 r2477796  
    33Tags: bible, bible verse, bible reference, bibleserver.com, bibelvers, bibel, bibelstelle
    44Requires at least: 3.2.1
    5 Tested up to: 5.5.3
    6 Stable tag: 2.5.7
     5Tested up to: 5.6
     6Stable tag: 2.5.8
    77License: GPLv3 or later
    88License URI: https://www.gnu.org/copyleft/gpl.html
     
    6666== Changelog ==
    6767
     68= 2.5.8 =
     69
     70- Fixed problem with Yoast SEO on uploading media
     71  (Thanks to Timotheus I., providing the patch.)
     72
    6873= 2.5.7 =
    6974
Note: See TracChangeset for help on using the changeset viewer.