Support » Plugin: P2 Post Feedback » syntax error

  • 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘syntax error’ is closed to new replies.