Skip to content

Missing Underscore #34

@pressmaster

Description

@pressmaster

Found a missing underscore right before values['image']:

    //Fallback to use image_src if ogp::image isn't set.
    if (!isset($page->values['image'])) {
        $domxpath = new DOMXPath($doc);
        $elements = $domxpath->query("//link[@rel='image_src']");

This means the fallback isn't being used. Possibly better that way, anyway.

Edit: Not sure what the problem really is here.... I seem to have this code that works fine from a desktop but never works from my phone. Have cleared buffers, etc. Weird.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions