2403 Commits

Author SHA1 Message Date
Tetrakern
443e9dbb30 Fix advanced search for taxonomies with same name
Seriously.
2024-11-21 21:26:55 +01:00
Tetrakern
2db9caba31 Fix comment action button translation 2024-11-21 00:29:18 +01:00
Tetrakern
f688309371 Revert "Fix author comment badge"
This reverts commit 09d64d5122df646cfa180ad1dc0e89239dbca28c.
2024-11-20 06:01:17 +01:00
Tetrakern
09d64d5122 Fix author comment badge 2024-11-20 00:28:31 +01:00
Tetrakern
17d21c61fb Add FICTIONEER_OAUTH_COOKIE_EXPIRATION constant 2024-11-16 14:06:59 +01:00
Tetrakern
04624569fe Change appropriate to unoffensive 2024-11-16 14:00:38 +01:00
Tetrakern
9df1092549 Add login status bookshelf error messages 2024-11-16 01:16:53 +01:00
Tetrakern
3e8edf3f77 Switch add_action with add_filter 2024-11-15 20:55:03 +01:00
Tetrakern
c360a9e996 Fix incorrectly rendered comment edit/delete buttons 2024-11-15 19:36:50 +01:00
Tetrakern
dd2d6b48f4 Add offensive/appropriate frontend mod menu item 2024-11-15 18:43:23 +01:00
Tetrakern
e2a4062cf6 Format comment header number
Apparently, some stories actually break a thousand. Good for them.
2024-11-14 02:20:04 +01:00
Tetrakern
762d1623e2 Remove superfluous function 2024-11-10 15:17:14 +01:00
Tetrakern
7aec3c55af Store story comment count in post row
Primarily for query purposes.
2024-11-10 14:46:36 +01:00
Tetrakern
404479d131 Fix chapter post type
Hierarchical doesn't work as expected.
2024-11-09 12:32:24 +01:00
Tetrakern
dcf41660ac Add customizer options for header background color 2024-11-07 02:44:50 +01:00
Tetrakern
faf31fe3f8 Fix missing OAuth profile section 2024-11-06 21:29:41 +01:00
Tetrakern
eae739f074 Remove post_fields filter
It did make the SQL faster, but the WP_Query slower. Something internally, most likely.
2024-11-05 23:58:26 +01:00
Tetrakern
d4d6ac51bd Fix typo 2024-11-05 23:09:18 +01:00
Tetrakern
46cdb988a6 Catch possible null access 2024-11-05 21:12:58 +01:00
Tetrakern
d6ca9bd79b Use SQL to get chapter relationship metabox data 2024-11-05 21:10:00 +01:00
Tetrakern
1c9b1a8134 Add $icon param to fictioneer_get_icon_field()
Allows to pre-retrieve and use an icon.
2024-11-05 20:53:19 +01:00
Tetrakern
819ab69363 Fix SQL error for token meta box 2024-11-04 21:41:26 +01:00
Tetrakern
2f72af4640 Make sure IDs are integers for chapter parent setter 2024-11-04 21:35:30 +01:00
Tetrakern
d1ae66cb23 Make fcn_chapter post type hierarchical 2024-11-04 21:34:35 +01:00
Tetrakern
0ba5dd55bc Fix cropping of header image 2024-11-04 09:57:13 +01:00
Tetrakern
cb09b173df Use table name from $wpdb when changing SELECT clause
Welp.
2024-11-03 15:14:43 +01:00
Tetrakern
8f69169e6d Restore excluded chapter post fields after query
This is to prevent errors if something tries to access the excluded fields, which would be null otherwise.
2024-11-03 13:48:46 +01:00
Tetrakern
7f3371f541 Modify SELECT clause of chapter list post query
From ~0.0945 ms to ~0.0017 ms.
2024-11-02 13:03:56 +01:00
Tetrakern
b7f181f087 Improve guard clause for shortcode transient check 2024-10-31 14:05:32 +01:00
Tetrakern
ced26e78ea Fix "doing it wrong" error 2024-10-31 13:13:01 +01:00
Tetrakern
e6a6d1e9a5 Make query LIKE value more precise
Likely unnecessary.
2024-10-31 11:24:21 +01:00
Tetrakern
0986c06002 Fix shortcode Transients being saved in admin
This could cause problems, like using the wrong base URL for the pagination.
2024-10-31 09:20:59 +01:00
Tetrakern
f14abaa298 Add filter to story page cover HTML 2024-10-30 20:56:06 +01:00
Tetrakern
83ba5069fa Add filter to profile support link fields 2024-10-30 12:07:50 +01:00
Tetrakern
9f6861b1c6 Fix use of pre_get_posts hook to only use add_action()
add_filter() did work but was technically wrong.
2024-10-30 10:34:32 +01:00
Tetrakern
fda42d7e0f Update co-authored IDs helper name, add filter 2024-10-30 08:46:08 +01:00
Tetrakern
a10011d82f Allow co-authors to crosspost chapters 2024-10-29 16:32:32 +01:00
Tetrakern
53280392b4 Save co-author IDs as strings
This is better for queries and makes otherwise no difference.
2024-10-29 00:48:29 +01:00
Tetrakern
7f7a1c7134 Add more name args to queries 2024-10-28 18:29:37 +01:00
Tetrakern
4fe4a45e5a Optimize ePUB chapter query 2024-10-28 18:25:03 +01:00
Tetrakern
2c49e9e502 Optimize purge all schemas action 2024-10-28 12:44:38 +01:00
Tetrakern
60c69fd0f6 Optimize collection statistics
Up to 4 times faster in test runs.
2024-10-28 10:48:26 +01:00
Tetrakern
65f0227e21 Temper fictioneer_see_some_evil()
Still best function name.
2024-10-28 10:00:40 +01:00
Tetrakern
1b60ebbf3b Optimize saving featured posts array 2024-10-28 01:42:53 +01:00
Tetrakern
6fa4084177 Optimize token track meta fields 2024-10-27 23:12:31 +01:00
Tetrakern
7c6783f52f Optimize blog story IDs validation 2024-10-27 22:44:09 +01:00
Tetrakern
5f99927441 Use SQL to filter out invalid post IDs when collection is saved 2024-10-27 21:03:46 +01:00
Tetrakern
ff390364c9 Use SQL to build chapter story selection
And fix the status note as well.
2024-10-27 19:25:15 +01:00
Tetrakern
2d55285b8c Split off fictioneer_sanitize_safe_title() 2024-10-27 18:57:16 +01:00
Tetrakern
624abe5220 Use SQL to filter out invalid page IDs when story is saved 2024-10-27 16:11:09 +01:00