WordPress.org

Ready to get started?Download WordPress

Forums

P2 Post Feedback
[resolved] syntax error (2 posts)

  1. vc27
    Member
    Posted 6 months ago #

    I get a syntax error for line 26 of p2-post-feedback.php

    I just removed the code since it wasn't needed for my installation. The author is using function() {} with in the actions second parameter field.

    line 26 -- add_action( 'admin_notices', function() { ... } );

    An easy fix would be to move the function out of the add_action parameter. If there is a repo somewhere I don't mind submitting the fix.

    http://wordpress.org/plugins/p2-post-feedback/

  2. HerrLlama
    Member
    Plugin Author

    Posted 6 months ago #

    Ah, thanks. I'll patch this!

Reply

You must log in to post.

About this Plugin

About this Topic