Tetrakern
426983df04
Get fonts from child theme
2024-02-08 01:17:06 +01:00
Tetrakern
0b6c8ee464
Add font value quote wrapper utility
2024-02-07 22:14:08 +01:00
Tetrakern
83e0ca217d
Apply new font system
2024-02-07 16:40:14 +01:00
Tetrakern
9c293e98a3
Change info.txt logic to font.json
2024-02-07 12:28:49 +01:00
Tetrakern
14a3a6a373
Split up font definitions
2024-02-07 03:05:05 +01:00
Tetrakern
ddfd61cb34
Move building to separate function
2024-02-07 02:43:01 +01:00
Tetrakern
5da049c944
Prototype dynamic font inclusion
2024-02-07 02:22:59 +01:00
Tetrakern
05643cd511
Update utility
2024-02-07 01:36:00 +01:00
Tetrakern
2a35906461
Add utility to get fonts
2024-02-07 00:32:51 +01:00
Tetrakern
affc19f5b8
Code cleanup and remove errant wp_die()
...
Yikes.
2024-02-06 00:32:15 +01:00
Tetrakern
f8fc8e7217
Remove output buffer from fictioneer_notice
2024-02-04 18:03:40 +01:00
Tetrakern
96fca5b2cc
Move nonce plausibility check to backend
2024-02-04 03:06:11 +01:00
Tetrakern
f13f1d40f2
Improve support for logographic writing systems
...
You can now count characters instead of words and apply a multiplier.
2024-02-03 14:29:44 +01:00
Tetrakern
4e69db569e
More paranoid Transient purging
...
Making sure this will not cause issues with cache problems.
2024-01-30 22:27:14 +01:00
Tetrakern
b90447a134
Fix missing meta cache purges
2024-01-29 18:31:01 +01:00
Tetrakern
ccad4d272d
Improve checks for running cache plugin
2024-01-29 17:18:00 +01:00
Tetrakern
f39a259516
Spring cleaning
...
Renamed and reordered things for more clarity and efficiency.
2024-01-29 17:08:19 +01:00
Tetrakern
b612184729
Count story words for author statistics
...
And some cleanup.
2024-01-29 13:19:10 +01:00
Tetrakern
f7e25e5008
Change constant for post__(not)_in arguments
2024-01-29 00:00:44 +01:00
Tetrakern
7d8de5260c
Move function to append meta fields into utility
2024-01-28 15:31:16 +01:00
Tetrakern
ec5e40e7e1
Fix typo
2024-01-28 00:55:23 +01:00
Tetrakern
995fa50b11
Fix tab sizes in files
...
How did this even happen?
2024-01-27 21:00:00 +01:00
Tetrakern
5f8cf18064
Simplify author statistics meta cache
...
It's now refreshed after one hour, which is perfectly reasonable.
2024-01-27 00:49:01 +01:00
Tetrakern
844b4e0ca0
Rename argument for more clarity
2024-01-27 00:30:40 +01:00
Tetrakern
2a0d87d65f
Fix story comments broken by last commit
2024-01-26 23:52:16 +01:00
Tetrakern
2065c72815
Fix story data meta cache
2024-01-26 23:30:58 +01:00
Tetrakern
b1d2030621
Cache collection statistics
2024-01-26 23:01:20 +01:00
Tetrakern
365496c807
Remove problematic commit message
...
Revert revert!
2024-01-26 17:47:24 +01:00
Tetrakern
e00787589d
Revert "Unify since version number format"
...
This reverts commit 8c4b44e41db8454af65ce4a909e0cb12db8828f8.
2024-01-26 17:45:53 +01:00
Tetrakern
89855cca3b
Update comment in function
2024-01-26 16:23:48 +01:00
Tetrakern
999f30f82c
Improve function to get story chapter posts
...
Added a switch for smaller ID arrays (< 50) to use post__in instead of a meta query, which should be faster. 50 is a pretty save value... I have been told.
2024-01-26 16:22:07 +01:00
Tetrakern
8c4b44e41d
Unify @since version number format
...
Yes, it bothered me.
2024-01-26 15:51:11 +01:00
Tetrakern
0bd8144e0c
Add no_found_rows to query args
...
Collection statistics do no longer need that.
2024-01-26 15:42:06 +01:00
Tetrakern
a3dbcccc73
Add utility function for chapter list posts
2024-01-26 15:00:53 +01:00
Tetrakern
f85840702d
Add utility function for collection statistics
2024-01-26 14:40:56 +01:00
Tetrakern
3b67407678
Rename function to fictioneer_get_story_chapter_ids
...
Because this is what it actually returns.
2024-01-26 00:24:31 +01:00
Tetrakern
475af0f8fb
Add utility function to safely truncate strings
...
This had a small chance to fail or return invalid HTML.
2024-01-19 14:42:19 +01:00
Tetrakern
a2ab9585b6
Fix AJAX auth not always working
2024-01-16 08:00:17 +01:00
Tetrakern
13ed788c89
Increase and add constant for old post time threshold
2024-01-10 13:27:16 +01:00
Tetrakern
08cdd52433
Fix comment form showing despite comments being off
2024-01-09 18:44:37 +01:00
Tetrakern
59e10fab54
Tool action to append chapters
2024-01-03 08:36:42 +01:00
Tetrakern
c7235461be
Update and move function to append chapters
...
New param lets you skip some guard clauses and the function is now in _utilities for global availability.
2023-12-31 04:03:06 +01:00
Tetrakern
304f147e8e
Restore saving of empty setting checkboxes
...
This actually caused many additional DB queries since they were no longer auto-loaded if they did not exist. Far worse than saving the few rows in the DB is worth.
2023-12-02 12:41:52 +01:00
Tetrakern
fb92db30ee
Fix word count in collections
2023-11-30 17:12:48 +01:00
Tetrakern
36aff1f54a
Add fictioneer_get_word_count helper
2023-11-30 17:10:19 +01:00
Tetrakern
082337c53c
Add fictioneer_get_story_chapters helper
2023-11-30 16:21:16 +01:00
Tetrakern
b65e8ccea1
Replace fictioneer_get_field with get_post_meta
...
This wrapper made sense at some point in the past, now it was just unnecessary overhead.
2023-11-30 16:03:53 +01:00
Tetrakern
e0176eac59
Use fictioneer_get_field everwhere
...
I might actually remove it later on because it does not safe space anyway, but at least it is consistent for now.
2023-11-30 10:58:45 +01:00
Tetrakern
25726ab3b0
Optimize key/value replacement function
2023-11-30 02:37:05 +01:00
Tetrakern
b98d45404a
Add type casting to word count operations
2023-11-27 22:41:43 +01:00