1184 Commits

Author SHA1 Message Date
Tetrakern
35f144eab9 Add some more conditional requires
Not great, not terrible. It helps.
2023-08-09 03:17:32 +02:00
Tetrakern
8aa89ec1cf Add conditional requires
No need to load what's not used.
2023-08-09 02:46:23 +02:00
Tetrakern
b740ec13cf Add no_found_rows option to helper 2023-08-09 01:53:01 +02:00
Tetrakern
c91b53f642 Make sure default avatar is not broken
Finally.
2023-08-08 23:52:00 +02:00
Tetrakern
eb080f5741 Bump version 5.5.3 2023-08-08 23:03:10 +02:00
Tetrakern
89a305fde4 Update RSS templates 2023-08-08 22:58:51 +02:00
Tetrakern
373baa55c9 Make actions/filter no longer pluggable
You can remove them anyway, no need to sacrifice CPU cycles for this.
2023-08-08 22:45:55 +02:00
Tetrakern
6f6b591543 Improve single post hooks 2023-08-08 21:44:35 +02:00
Tetrakern
e0583315da Improve default avatar getter 2023-08-08 21:40:55 +02:00
Tetrakern
cb1f23f8a2 Clean up some ePUB comments and code
Also made `fictioneer_generate_epub` no longer pluggable because it's an action, you can just remove and replace it anyway!
2023-08-08 21:24:04 +02:00
Tetrakern
a9bbdb2785 File sanity and loading optimization
Moved some functions around only scoped them and partials better to the needed context. Saves about 100-110 KiB memory. It's something!
2023-08-08 20:33:24 +02:00
Tetrakern
390b6b2fe2 updated author page 2023-08-08 13:38:11 +02:00
Tetrakern
cbb5c061bf Improve performance of ePUB converter 2023-08-08 13:24:43 +02:00
Tetrakern
e7bb889235 Update page card 2023-08-08 12:17:27 +02:00
Tetrakern
3d6ab1351c Improve SEO image 2023-08-08 11:14:22 +02:00
Tetrakern
5fe8a30727 Storage default OG image in transient 2023-08-08 10:59:18 +02:00
Tetrakern
1f190a1c26 Update post card 2023-08-08 10:49:46 +02:00
Tetrakern
30bdb93306 Fix missing include in admin 2023-08-08 10:36:47 +02:00
Tetrakern
84e29fb280 Improve recommendation card 2023-08-08 09:37:57 +02:00
Tetrakern
7326cd2210 Improve loop continue conditions 2023-08-08 09:21:26 +02:00
Tetrakern
baf96f4b68 Improve chapter, story, and collection cards
Now with up to 1/4 of the previous queries!
2023-08-08 01:51:03 +02:00
Tetrakern
5180168efa Improve collection comment count 2023-08-08 00:18:53 +02:00
Tetrakern
3d2479b91b Improve collection card performance
Saves a good 10+ queries PER CARD!
2023-08-08 00:15:26 +02:00
Tetrakern
7e2bad2e3b Disable XML-RPC by default
Nearly nobody needs that and if they do, they can turn it back on themselves.
2023-08-07 23:35:12 +02:00
Tetrakern
7d520a39e7 New option to disable all widgets
And remove them from autoload. Fictioneer doesn't use widgets, so may as well save the resources.
2023-08-07 21:55:19 +02:00
Tetrakern
891cb7ee21 Use new settings in collection cards 2023-08-07 19:55:24 +02:00
Tetrakern
4c64ed8f1a Add taxonomy settings for collections
This was deferring to the story settings before.
2023-08-07 19:54:14 +02:00
Tetrakern
54eefa4caf Fix query args for chapters and recs 2023-08-07 19:51:52 +02:00
Tetrakern
11278b2312 Update DEVELOPMENT.md 2023-08-07 16:49:12 +02:00
Tetrakern
ed141bc35f Hide update notice for non-admins
Probably.
2023-08-07 15:55:15 +02:00
Tetrakern
bba6075bc2 Purge story post cache on comment count refresh 2023-08-07 14:38:36 +02:00
Tetrakern
cd8e7ae4db Cache story comment count
Until it isn't.
2023-08-07 14:21:45 +02:00
Tetrakern
48722090e6 Improve comment count queries
Set update_comment_meta_cache to false since we do not need meta data to count comments.
2023-08-07 12:43:02 +02:00
Tetrakern
d17d1682d4 Update INSTALLATION.md 2023-08-07 12:19:20 +02:00
Tetrakern
cbe50fb31b Optimize list page template queries
If no taxonomies are shown, do not update the term cache.
2023-08-07 12:15:01 +02:00
Tetrakern
32858e5fbb Constant to turn off sticky stories 2023-08-07 12:07:48 +02:00
Tetrakern
bb3d763e3a Do not include search partial in admin 2023-08-07 11:43:06 +02:00
Tetrakern
8f201a5371 Improve search form
No more checkbox toggle and the simple form does no longer query all taxonomies and authors.
2023-08-07 11:34:57 +02:00
Tetrakern
4985e613dc Fix advanced search form toggle again 2023-08-07 00:04:27 +02:00
Tetrakern
7599fa25b0 Some post author cache optimizations 2023-08-06 21:39:43 +02:00
Tetrakern
ec0c278653 Update README.md 2023-08-06 21:03:31 +02:00
Tetrakern
426d92116d Update README.md 2023-08-06 21:02:57 +02:00
Tetrakern
001f084f2f Word count function now ignores shortcodes v5.5.2 2023-08-06 19:42:52 +02:00
Tetrakern
388c032e69 Add more multi-fire guards 2023-08-06 19:38:29 +02:00
Tetrakern
e91004c171 Pre-expand search form only on search page
Not in the shortcode lol
2023-08-06 17:58:23 +02:00
Tetrakern
bc8210abb3 Updated search page
Does no longer query EVERYTHING with an empty search for and shows messages for no results and no params.
2023-08-06 17:54:39 +02:00
Tetrakern
ba9ba189dd Update CREDITS.md
This is no longer used.
2023-08-06 16:22:07 +02:00
Tetrakern
6ea0531acc Update DEVELOPMENT.md 2023-08-06 16:02:46 +02:00
Tetrakern
4a137a02db Prevent redundant action calls
Due to several manual post updates to trigger other cache functions, a lot of hooks fired multiple times for no reason.
2023-08-06 16:02:43 +02:00
Tetrakern
30e443bba8 Remove obsolete code 2023-08-06 14:54:53 +02:00