2351 Commits

Author SHA1 Message Date
Tetrakern
79d7c2b7d7 Update post check in self-delete
Look for anything valid.
2024-09-26 22:38:21 +02:00
Tetrakern
017cfff742 Optimize user self-delete and fix multisite
So apparently, on a multisite, deleting an user the normal way does not remove them from the network. Great. Wonderful _AMAZING!_
2024-09-26 20:02:22 +02:00
Tetrakern
6ed097ccda Optimize self-delete comment updates 2024-09-26 18:55:38 +02:00
Tetrakern
18492a9692 Remove deleted comment backup meta fields
Their usefulness is dubious at best and they take up unnecessary space.
2024-09-26 18:40:52 +02:00
Tetrakern
ee9d4cbaf6 Account for deleted chapter posts in story list 2024-09-26 18:20:39 +02:00
Tetrakern
c807d87939
Merge pull request #52 from iniznet/refactor/fictioneer_verify_unpublish_access
Allow overriding the fictioneer_verify_unpublish_access value
2024-09-26 11:57:01 +02:00
Tetrakern
e09c3ef8cc
Merge pull request #51 from iniznet/refactor/fictioneer_get_chapter_list_items
Allow fictioneer_get_chapter_list_items to be rendered in other statuses
2024-09-26 11:55:25 +02:00
Tetrakern
b04748ece0
Merge pull request #50 from iniznet/refactor/fictioneer_chapter_nav_buttons
Allow chapter navigation buttons to be rendered in other statuses
2024-09-26 11:55:10 +02:00
Tetrakern
a70ae72634
Merge pull request #49 from iniznet/refactor/chapter-appending
Customizable post status condition check when appending & indexed chapters
2024-09-26 11:54:45 +02:00
Tetrakern
2e8b81df98 Fix story chapter list permalinks always using the ?=ID strcuture
What such a small thing can do. Probably because the global $post is not set in the function, so giving the ID is more precise. Or whatever.
2024-09-25 22:58:53 +02:00
Tetrakern
800b47f709 Cosmetic changes 2024-09-25 22:34:47 +02:00
Tetrakern
0d58606498 Cosmetic changes and typos 2024-09-25 22:29:18 +02:00
Tetrakern
56a434a4c9 Code formatting
Just to appease my OCD; I don't like lines becoming so long they wrap on my end.The filter names are also a bit long, but I like them to be easy to understand in what their purpose is.

Also, I use the `[]` syntax for simple numerical arrays and `array()` for associative ones. There is an argument to use the long one and this is what the WP guide says... but I don't care.
2024-09-25 22:07:51 +02:00
iniznet
49448e4cf9 Refactor status condition check in fictioneer_get_story_chapter_posts to be customizable via filter hook 2024-09-26 02:18:54 +07:00
iniznet
7256e0be5c Refactor indexed chapter data to allow for custom statuses via filter hook 2024-09-26 01:59:32 +07:00
iniznet
0df77a6bc4 Remove prefix duplication in filter name 2024-09-26 01:44:00 +07:00
iniznet
e746df16ac Refactor also add other chapter actions 2024-09-26 01:41:55 +07:00
iniznet
f1e3bbec1b Rename to plurals 2024-09-26 01:32:50 +07:00
iniznet
53995d3d42 Refactor chapter appending logic to allow for custom statuses 2024-09-26 00:47:39 +07:00
Tetrakern
6d0c825c4d Make shortcode Splide initializer non-blocking
Whoops.
2024-09-25 17:17:46 +02:00
iniznet
d252dd5d27 Refactor chapter navigation button to allow status customization 2024-09-25 22:03:40 +07:00
iniznet
5c50875744 Refactor fictioneer_verify_unpublish_access to allow customization 2024-09-25 22:00:32 +07:00
Tetrakern
cf331eb2b0 Fix fcn_edit_date capability 2024-09-24 18:56:36 +02:00
Tetrakern
9e65dc18b0 Only add Jetpack data attributes if plugin is active 2024-09-24 14:21:56 +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
5dab7fb87d Add comment migration to database cleanup action
In case it is not performed on update.
2024-09-23 11:07:42 +02:00
Tetrakern
ba9438cf04 Rename function for clarity 2024-09-23 10:53:42 +02:00
Tetrakern
c9874a142b Move code around to improve order 2024-09-23 10:51:36 +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
ed1d3c6f86 Update database scan and cleanup functions 2024-09-22 23:01:09 +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
8fea5c6249 Exclude moderation-hash query vars from indexing 2024-09-22 21:48:19 +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
87a9ac0ada Fix typo in log filename 2024-09-22 09:58:04 +02:00
Tetrakern
25eb88cb4e Change logging location back to content directory
But with an obfuscated file name.
2024-09-22 01:04:53 +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
04f23a7203 Fix function call 2024-09-21 22:44:24 +02:00
Tetrakern
f9eccadd60 Auto-disable Page Optimize plugin
It breaks the theme.
2024-09-21 22:22:07 +02:00
Tetrakern
f91c37cdf8 Add post ID class to image header 2024-09-21 11:45:09 +02:00
Tetrakern
61b35cf2bb Added additional CSS classes to header image 2024-09-21 09:48:28 +02:00
Tetrakern
2cb8c114c5 Add only_protected shortcode param 2024-09-20 23:41:37 +02:00
Tetrakern
329a067da0 Replace fictioneer_exclude_protected_posts() 2024-09-20 23:32:29 +02:00
Tetrakern
68ea6eaa78 Added FICTIONEER_DEFAULT_SITE_WIDTH 2024-09-20 22:46:34 +02:00
Tetrakern
13032992b4 Add data-jetpack-boost="ignore" 2024-09-20 16:23:26 +02:00
Tetrakern
c3e51fcf18 Add no-* rel attributes to anchor links in comments
Just in case someone misuses them.
2024-09-20 14:04:37 +02:00