159 Commits

Author SHA1 Message Date
Tetrakern
07cdac120a Clean up error messages part 3 2024-10-13 00:36:43 +02:00
Tetrakern
6d991dc717 Clean up error messages part 1 2024-10-12 16:37:11 +02:00
Tetrakern
b9d18fedce Improve and fix hook list part 4 2024-10-05 23:05:32 +02:00
Tetrakern
209bb62cda Improve and fix hook list part 1 2024-10-05 21:27:08 +02:00
Tetrakern
fec9f81584 Fix and improve Jetpack comment page handling
Better not use Jetpack comments at all...
2024-09-24 13:49:49 +02:00
Tetrakern
be186895cb Disable comment checks for Jetpack comments 2024-09-23 12:17:25 +02:00
Tetrakern
f53b281809 Update space between comment author and badge
Because some HTML minifiers remove the space.
2024-09-23 11:53:21 +02:00
Tetrakern
09477722ce Fix Jetpack comments redirect 2024-09-23 11:49:05 +02:00
Tetrakern
d319025dbb Replace fictioneer_deleted_by_user with user_deleted comment type
One meta field less.
2024-09-23 03:01:53 +02:00
Tetrakern
088688c86d Make fictioneer_visibility_code comment meta obsolete
Temporarily visible unapproved comments now also use wp_hash( $comment->comment_date_gmt ) just like the default WP comments.
2024-09-22 22:12:35 +02:00
Tetrakern
ae1673f09f Do not save visibility code for confirmed comments or spam 2024-09-22 19:24:16 +02:00
Tetrakern
6d9eca6cfc Account for Jetpack plugin in comment redirect 2024-09-22 19:23:39 +02:00
Tetrakern
64f9a54ba0 Fix inconsistency in comment badge spacing 2024-09-21 23:03:03 +02:00
Tetrakern
3d7aa57e8e update comment header 2024-09-21 22:58:50 +02:00
Tetrakern
04527aa7c6 Fix static variable declarations 2024-09-02 02:31:15 +02:00
Tetrakern
f591cd8045 Optimize fictioneer_theme_comment() 2024-09-01 20:38:31 +02:00
Tetrakern
38087b9a86 Replace strtoupper with mb_strtoupper 2024-09-01 16:44:44 +02:00
Tetrakern
31f5cfd97c Fixed comment edit screen missing moderation meta box 2024-08-31 17:32:22 +02:00
Tetrakern
39c8f92d40 Fix gravatar for story comments 2024-07-07 12:04:26 +02:00
Tetrakern
5b78d1bc6c Clean up some ugly code 2024-06-30 19:48:24 +02:00
Tetrakern
2506e1cb7f Fix gravatars for guests 2024-06-30 19:44:08 +02:00
Tetrakern
c489a896dd Prevent comment notification flags to be saved twice 2024-06-24 11:30:54 +02:00
Tetrakern
a25b53fe1f Allow custom fields in comment AJAx submit 2024-06-24 11:12:33 +02:00
Tetrakern
b9ed9fc06f Remove closing php tags in comment files 2024-06-22 18:35:18 +02:00
Tetrakern
eedde757f6 Code formatting fixes 2024-06-17 22:12:39 +02:00
Tetrakern
00265f4db3 Add fictioneer_filter_comment_actions filter 2024-05-27 21:04:03 +02:00
Tetrakern
609e631e92 Fix login modal for comment must login note 2024-05-27 17:00:25 +02:00
Tetrakern
3f14a9f031 Refactor OAuth process
fml
2024-05-21 16:44:05 +02:00
Tetrakern
9c816df834 Replace array utility with Elvis operator
Same result, easier to read, less overhead.
2024-05-14 22:59:02 +02:00
Tetrakern
6bbf3a5208 Remove fast AJAX pipeline
Too many issues
2024-05-07 14:21:05 +02:00
Tetrakern
4a97f62037 Fix over-reliance on IDs in comment form
Just in case these IDs are not unique at some point. It also makes the HTML smaller.
2024-04-24 19:08:05 +02:00
Tetrakern
4e79e23345 Account for order in normal comment submit 2024-04-24 17:58:23 +02:00
Tetrakern
bba6bc0042 Add comment order toggle button 2024-04-24 17:17:50 +02:00
Tetrakern
b3e79e80fe Add sanitizer for query vars
Should have done that from the start.
2024-04-24 12:17:08 +02:00
Tetrakern
e38593981b Change comments order query param to corder 2024-04-24 12:00:54 +02:00
Tetrakern
fdab283909 Add custom order param to comments query 2024-04-24 00:58:48 +02:00
Tetrakern
479ef3c2c1 Make story comments independent from post 2024-04-16 00:18:43 +02:00
Tetrakern
aceeb11cd3 Add additional data-nosnippet attributes
What the heck is wrong with Google?
2024-03-09 00:39:11 +01:00
Tetrakern
f76a45f1cd Extend post author moderation capability
Authors can now also see unapproved comments for their posts.
2024-03-02 14:18:22 +01:00
Tetrakern
fc7fc2ac2e Update safe title helper parameters
Added the $context parameter and $args, which now also covers $no_filters which hopefully nobody has used yet lol
2024-03-01 12:39:42 +01:00
Tetrakern
27dfe8a1ea Remove nonsense output buffer
Wat.
2024-02-05 00:25:05 +01:00
Tetrakern
bd44366172 Remove output buffer from comment toolbar 2024-02-04 16:49:36 +01:00
Tetrakern
a6c109f400 Escape HTML for error message
This will preserve everything, in case there are special characters.
2024-02-04 03:15:01 +01:00
Tetrakern
96fca5b2cc Move nonce plausibility check to backend 2024-02-04 03:06:11 +01:00
Tetrakern
3421ba5598 Let AJAX comment form also receive nonce
This should further prevent problems with some cache plugins.
2024-02-04 00:13:43 +01:00
Tetrakern
13307a786f Refactor comment moderation 2024-02-02 22:16:04 +01:00
Tetrakern
14424669b6 Update handling of aria-checked
And remove last inline onchange call.
2024-01-31 13:25:02 +01:00
Tetrakern
ccad4d272d Improve checks for running cache plugin 2024-01-29 17:18:00 +01:00
Tetrakern
995fa50b11 Fix tab sizes in files
How did this even happen?
2024-01-27 21:00:00 +01:00
Tetrakern
844b4e0ca0 Rename argument for more clarity 2024-01-27 00:30:40 +01:00