WordPress.org

Ready to get started?Download WordPress

Forums

Lazyest Gallery
[resolved] Bug Fix for Titles (4 posts)

  1. davidddn
    Member
    Posted 3 years ago #

    I noticed that the expected behavior from the wp_title filter function for image pages does not happen.

    This statement:

    if ( $this->is_image( $file ) && ( 'TRUE' == $this->get_option( 'enable_captions' ) ) ) {

    evaluates false because $file is not defined.

    Defining global $file; on line 657 in frontend.php seems to clear it right up.

    That said - I can not seem to figure out how to get the folder caption into the wp_title of a folder. The code looks like this would be expected behavior for a folder with a caption and folder captions turned on, but no matter what I get the folder file name instead of the caption.

    Thanks

  2. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks. I'll fix it ASAP

  3. Marcel Brinkkemper
    Member
    Plugin Author

    Posted 3 years ago #

    both issues should have been fixed in version 0.16.5
    http://downloads.wordpress.org/plugin/lazyest-gallery.0.16.5.zip

  4. davidddn
    Member
    Posted 3 years ago #

    Good work. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic