#wordpress 2022-01-13

2022-01-13 UTC
irl25519, j12t, [snarfed], fef, cygnoir[d] and billbennettnz1 joined the channel
#
billbennettnz1
Here's a follow up on testing Jekyll... I have a site, well a single page for now, up at https://www.digitl.nz/wordpress/2022/01/12/From-WordPress-to-Jekyll-Project.html The post is, in effect a to-do list. Indieweb is only a small part of that, and not one of the first things to do.
#
billbennettnz1
Perhaps I should move this from #wordpress, I don't think it fits with #dev what about the more general #indieweb channel?
#
[jeremycherfas]
As a non-dev who sometimes learns interesting stuff there, I’d say #dev is fine and for particularly indieweb bits, indiewebnews.
#
billbennettnz1
@jeremycherfas sounds good to me...
jsbach, irl25519, fef, [tw2113_Slack_], [Joe_Crawford] and Darius_Dunlap[d] joined the channel
#
Zegnat
[grantcodes]: thanks again for also taking a look at the Docker thing! I was testing with some different versions today, and just dropping down from wordpress:5.8.3-php8.1 to wordpress:5.8.3-php8.0 seems to fix it. Definitely something about PHP there...
#
Zegnat
I think this might have been the problem I have been running into. My guess is WP is relying on a specific default error mode that has been changed in PHP 8.1: https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/#php-8-1-mysqli-default-error-mode-changed
#
Zegnat
I did a quick write-up of the problem in a discussion thread. If anyone runs into any more information, let me know: https://github.com/docker-library/wordpress/discussions/677
#
Zegnat
I might just try the release candidate for WP 5.9. Seems worth it to me.
[aciccarello] and kimberlyhirsh[d] joined the channel
#
GWG
[tw2113_Slack_]: Thinking about the old WordPress link manager.. weren't you playing with it?
#
[tw2113_Slack_]
it’s what powers the blogroll
#
GWG
Yes
#
GWG
Could it be overloaded to store my 44000 bookmarks
jsbach joined the channel
#
GWG
In your opinion?
#
[tw2113_Slack_]
i don’t see why not
#
GWG
I just need to create a link meta table
#
[tw2113_Slack_]
most likely
#
GWG
You seem to be able to use the metadata api for anything
#
GWG
Is that better than another 44000 things in the post table?
#
[tw2113_Slack_]
probably
#
GWG
And it would be backward compatible
#
GWG
You can also already attach taxonomies to the link table
#
[tw2113_Slack_]
looks like all the attributes for a given link are in the 1 table
#
GWG
But I need more
#
GWG
I want author
#
[tw2113_Slack_]
WordPress isn’t doing anything with it all, may as well do what you want
#
GWG
Is there an advantage to that vs a custom table that has everything I want other than backward compatibility
#
[chrisaldrich]
If you expand on what's already there GWG, you'd have the potential for providing additional functionality for those already using it rather than building something entirely separate from scratch.
#
Zegnat
I would love to see how WP / Gutenburg would handle dropping 44000 things into the posts table
#
Zegnat
has successfully gotten WP installed 🎉
#
GWG
Zegnat: Ask [chrisaldrich]
#
GWG
Zegnat: that's also why I was thinking
#
Zegnat
WP is very different from how I remember it. What with block editting in the theme and all this other new fancy stuff...
#
GWG
I don't like that fancy stuff
#
GWG
I'm a man of the people
#
[tw2113_Slack_]
i work with a client that has a 2million row postmeta table
#
Zegnat
I have no opinion on the fancy stuff yet, I am just happy I got it running :D
#
GWG
[tw2113_Slack_]: How do you tune for that?
#
[tw2113_Slack_]
i don’t have an easy answer off the top of my head since it’s a pretty complex site
#
[tw2113_Slack_]
it’s for a running community which have their own races post type and whatnot
#
[tw2113_Slack_]
just try our best to be as optimal as possible
#
Zegnat
I do not think 2 million records is a problem for MySQL/MariaDB, per se. So as long as WP is not doing to many queries that require the DB to check out all of it, it should be fine...