fterh
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Disabling HTML tags in commentsI was just about to post that it didn’t work, new comments with the commented-out-tags still appear as if the tags were working. Then I had a thought and realized that the moderation only applies to “visitors”. I, as the admin, can post comments with the disallowed tags :X
Forum: Fixing WordPress
In reply to: Disabling HTML tags in commentsIt doesn’t for me :X
Just checking, that approach doesn’t require any adding of lines to the functions file, right?
Forum: Fixing WordPress
In reply to: Disabling HTML tags in commentsOh sorry for the unclear title. What I wanted was to disable certain tags, but not all.
I followed this solution: https://codex.www.ads-software.com/Answers-Configuration#Stopping_HTML_in_Comments but it doesn’t work.
Forum: Fixing WordPress
In reply to: Disabling HTML tags in commentsOkay now here’s the weird thing:
After adding the 3 lines of
add_filter()
; it works, no errors whatsoever, but in my kses.php I did not have the <b> tag commented out but yet the comment is not bolded.Forum: Fixing WordPress
In reply to: Disabling HTML tags in commentsNo, except the default ones. I’ll try again, sometimes a couple days’ rest helps speed things up ??
Forum: Fixing WordPress
In reply to: Disabling HTML tags in commentsI get this:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘wp_filter_normal_kses’ not found or invalid function name in E:\Software\xampp\htdocs\wordpress\wp-includes\plugin.php on line 166
Forum: Fixing WordPress
In reply to: Spaces in tags break up the tag listProblem solved ??
I forgot to use ” ” as the separator for the tags, instead I used margin-right to separate them :O
Forum: Fixing WordPress
In reply to: Spaces in tags break up the tag listOh sorry I reverted back to my old theme because the new one isn’t working. It should be “fine” now.
Forum: Fixing WordPress
In reply to: I can’t post comments!Fixed: Apparently I was missing either one of these lines:
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> <?php do_action('comment_form', $post->ID); ?>
Forum: Fixing WordPress
In reply to: I can’t post comments!Yeah I sorta modified it, to make my custom form, etc. I can just reupload a fresh copy and remodify and it should work, but I want to know where exactly is the problem so I can avoid the same mistake ??
Forum: Fixing WordPress
In reply to: I can’t post comments!Bump
Forum: Fixing WordPress
In reply to: I can’t post comments!Help! Will it be safe to post my comments.php contents here?
Forum: Fixing WordPress
In reply to: What is this: A post or page?How’d you modify a page template?
Forum: Fixing WordPress
In reply to: WordPress global variablesBump
Forum: Fixing WordPress
In reply to: WordPress global variablesI did a test. In my comments-template.php:
<?php foreach($comments as $comment) : ?>
<?php wp_list_comments(“callback=listComments”); ?>
<?php endforeach; ?>And in the functions.php:
function listComments($commentz) {
echo “"; print_r(get_defined_vars()); echo "
“;
echo “
“;
comment_text();
}How come the output is two identical arrays, yet 2 different comment_text()?