Replies: 0
I changed the alert text to:
– alert(‘” . __(‘Please select a category and add some tags before publishing this post. And, if you’re so compelled, upload a photo too! Thanks!’, ‘require-post-category’) . “‘); e.stopImmediatePropagation();
… And received the following error:
– Parse error: syntax error, unexpected ‘re’ (T_STRING), expecting ‘,’ or ‘)’ in /ptb8rs/wp-content/plugins/require-post-category/require-post-category.php on line 44