Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 6

[Resolved] syntax error

$
0
0

Replies: 1

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/


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images