2403 Commits

Author SHA1 Message Date
Tetrakern
69d8f77432 Extend fictioneer_post_{*} action hooks 2024-10-14 11:36:10 +02:00
Tetrakern
ca4e93e17a Fix filter name 2024-10-13 21:18:22 +02:00
Tetrakern
b75c93e37f Use cache bust string for icon sprite 2024-10-13 18:24:45 +02:00
iniznet
3459ed1531 chore: fictioneer_store_footnote phpdoc 2024-10-13 23:15:36 +07:00
iniznet
6e7ef8923e chore: fix func docs 2024-10-13 23:10:18 +07:00
iniznet
d252e66a15 chore: add @since 2024-10-13 23:08:49 +07:00
iniznet
7c27007ba7 refactor: format & some sprinkles 2024-10-13 23:04:38 +07:00
iniznet
5147595253 feat: initial footnote addition to tooltip 2024-10-13 22:52:44 +07:00
Tetrakern
3a55c66f7b Add option to disable shortcode Transients 2024-10-13 14:15:20 +02:00
Tetrakern
b1893c2df5 Add fictioneer_enable_menu_transients() helper
This was overdue anyway.
2024-10-13 13:07:27 +02:00
Tetrakern
8335e45e9d Split off Caching group on general theme settings page 2024-10-13 12:53:06 +02:00
Tetrakern
ceafc06a54 Add option to disable chapter list Transients 2024-10-13 12:37:13 +02:00
Tetrakern
0f09c011c8 Remove device body classes
They didn't work with caching anyway.
2024-10-13 02:08:11 +02:00
Tetrakern
f24338a9e5 Clean up error messages part 4 2024-10-13 00:43:49 +02:00
Tetrakern
07cdac120a Clean up error messages part 3 2024-10-13 00:36:43 +02:00
Tetrakern
ddad27c800 Spoke to soon
wp_cache_flush() is not reliable for external object caches.
2024-10-12 22:26:44 +02:00
Tetrakern
84e24a88eb Make use of wp_cache_flush()
Sometimes, the answer is right in front of you.
2024-10-12 22:02:04 +02:00
Tetrakern
e019391e72 Optimize Transient cache purge
Hopefully, this will work better with external object caches.
2024-10-12 21:29:00 +02:00
Tetrakern
d1aa57453b Fix typo in Transient key
Because it annoyed me.
2024-10-12 20:51:41 +02:00
Tetrakern
3a1f0174bb Simplify check to enable chapter list transients 2024-10-12 20:38:37 +02:00
Tetrakern
4b7a1333eb Remove Storygraph API transient caching
This needs a better solution, because with so many people using the theme for community archives, this runs danger of becoming detrimental to performance rather than help.
2024-10-12 20:36:42 +02:00
Tetrakern
ff47e6712c Move log functions to utility 2024-10-12 20:23:13 +02:00
Tetrakern
a191824310 Make Transient purge compatible with external object caches 2024-10-12 20:18:25 +02:00
Tetrakern
98bb68009d Clean up error messages part 2 2024-10-12 17:32:32 +02:00
Tetrakern
6d991dc717 Clean up error messages part 1 2024-10-12 16:37:11 +02:00
Tetrakern
2263c2816f Allow password bypass to work on comment submit 2024-10-12 15:25:01 +02:00
Tetrakern
c5606836a4 Improve form submit error handling 2024-10-12 14:05:29 +02:00
Tetrakern
36249b71eb Rename fictioneer_ajax_get_chapter_groups()
This does not return the groups, just the options.
2024-10-12 13:52:49 +02:00
Tetrakern
3cee416e81 Fix typo 2024-10-12 11:17:02 +02:00
Tetrakern
c490c8abaa Move chapter grouping into helper function 2024-10-12 11:13:46 +02:00
Tetrakern
880f775ead Render top/bottom buttons on non-published chapters
No reason not to.
2024-10-12 03:29:16 +02:00
Tetrakern
d4ba3ca2c9 Allow chapter index popup menu on hidden posts
The menu will still not list the chapter by default, but showing the menu does not hurt anyone.
2024-10-12 03:25:04 +02:00
Tetrakern
fccf2d63b4 Do not render chapter mobile frame without story 2024-10-12 02:57:32 +02:00
Tetrakern
0adff0f9a5 Add years to site story reading time statistics 2024-10-11 22:20:19 +02:00
Tetrakern
f9c1779a69 Update doc comment 2024-10-11 13:47:23 +02:00
Tetrakern
e0270034d3 Fix utility function definition order 2024-10-11 13:44:59 +02:00
Tetrakern
c82a8a8f28 Fix typo 2024-10-11 12:12:49 +02:00
Tetrakern
b429906df1 Extend tool action description 2024-10-11 11:31:49 +02:00
Tetrakern
6efb0c5d08 Fix mobile menu search page link vanishing 2024-10-10 23:31:53 +02:00
Tetrakern
61633ea43b Fix doc comment 2024-10-10 02:03:00 +02:00
Tetrakern
394c5554d8 Update word counting and add recounting tool 2024-10-10 00:11:24 +02:00
Tetrakern
b3d98cd2a4 Update admin menu style 2024-10-09 20:54:19 +02:00
Tetrakern
342a8a6bd3 Optimize shortcode Splide init 2024-10-09 19:30:37 +02:00
Tetrakern
cbe400a857 Escape log outputs 2024-10-09 17:47:57 +02:00
Tetrakern
3c506747fd Fix regex to match Splide shortcodes
Welp.
2024-10-09 17:45:22 +02:00
Tetrakern
b0210d3bd5 Fix Splide placeholder styles for caching 2024-10-09 16:46:03 +02:00
Tetrakern
12771d6598 Harden Splide against overzealous optimization plugins
ffs
2024-10-09 16:08:40 +02:00
Tetrakern
debfdf4a65 Simplify word count function 2024-10-09 15:10:51 +02:00
Tetrakern
a4a92daa38 Exclude Font Awesome from several optimization plugins 2024-10-08 23:46:43 +02:00
Tetrakern
2770ee7812 Add fictioneer_filter_get_story_data_sql filter 2024-10-08 19:45:53 +02:00