WordPress.org

Forums

Pinterest Pinboard Widget
[resolved] Use of undefined constant (5 posts)

  1. KernelCurry
    Member
    Posted 1 year ago #

    Please change this code to have single quotes around the keys. It throws a notice!

    #### Current Code

    array_push($pins, array(
        title => $title,
        image => $image,
        url => $url
    ));

    #### New Code

    array_push($pins, array(
        'title' => $title,
        'image' => $image,
        'url'   => $url
    ));

    https://wordpress.org/plugins/pinterest-pinboard-widget/

  2. Chuck Reynolds
    Member
    Posted 1 year ago #

    do this please - same problem w/ ours ^^^

  3. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    just committed the proposed fix, it will be included in version 1.0.4 available today!

    https://github.com/codefishnl/wordpress-pinterest-pinboard-widget/commit/a8c00168356ddcdbcb72cc2dc15e227b7617f25a

  4. Chuck Reynolds
    Member
    Posted 1 year ago #

    Still waiting on the push. thanks man.

  5. codefish
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry for the delay, version 1.0.4 is available as of now.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Pinterest Pinboard Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags