#wordpress 2018-12-14

2018-12-14 UTC
[matpacker] joined the channel
#
[matpacker]
I keep getting blocked login attempts, and they're seeming to lineup with micropub attempts. So I'm wondering if a lot of the issues that I'm getting are because of Jetpack. If it's not a dependency, I think I might dump it.
[tantek] joined the channel
#
GWG
It isn't a dependency
[kevinmarks] joined the channel
#
[matpacker]
I know I “knew” that, but for some reason it wasn’t clicking in my brain that was the case.
#
GWG
[matpacker]: Is there a Jetpack feature you like?
[asuh] joined the channel
#
[asuh]
GWG, had an interesting debugging with the content filter to add `.e-content`. In your modified TwentySixteen theme, you have the priority set to 1 but I had to bump it up to 10. Anything below 10 was removing the first paragraph element from the first paragraph saved from the editor. Not sure what was going on but this was the only solution I coudl find
[schmarty] joined the channel
#
[matpacker]
Nothing in particular, it was just handy having a single point.
#
GWG
10 is an issue because that is the default, and other things might be set at 10
#
[matpacker]
I went through the features I was using, it was literally just markdown writing/comments, site accelerator (caching), Google Sitemap and verification, and then the vaultpress backups.
#
[matpacker]
All of those I replace quite easily.
#
GWG
[asuh]: That's why the solution is a bit hacky.
#
GWG
Okay.
#
[asuh]
GWG: it was good to see this first hand. For now, I’ll just leave off the priority since it defaults to 10
#
[asuh]
I’m retracing all your steps!
#
GWG
Why not try numbers lower than 10 but higher than one?
#
GWG
matpacker, what is the site?
#
[asuh]
GWG: yes I tried several from 9 and below. All broke that first paragraph
#
[matpacker]
matpacker.blog
#
GWG
I will have to see what happens in core
#
[matpacker]
Long story short, I have been trying to use various p3k apps to post to my blog, along with Indigenous.app, and get lots of micropub failures. The initial failures were due to my host, however, those have been fixed now. I think I will re-try connecting to p3k apps and see how it goes.
#
GWG
If there is something I can do... I wrote the Indieauth Endpoint and contributed to the Micropub plugin
#
[matpacker]
Thanks for the offer. I’ll holler when / if I run into a problem!
#
GWG
Any time
[jgmac1106] joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
jgmac1106
I just quit, scroll back, I know you will see it
#
jgmac1106
too tired
#
GWG
Quit?
chrisaldrich joined the channel
#
chrisaldrich
GWG: I should be ready in about 10 minutes...
#
GWG
Okay. I'll go boot things up.
[tantek], [eddie], [benatwork] and [matpacker] joined the channel
#
[matpacker]
Found a really awesome bug with my WP site, pretty confident that it’s an issue with the server side caching. If I flush the cache and refresh my site the Post Kinds info renders. If I refresh the browser again, the Post Kinds info is gone.
#
[matpacker]
With a bit more playing around, I’ve worked out that it’s the database cache.
AkyRhO joined the channel
#
Ruxton
[matpacker]: what cache are you using?
#
[matpacker]
it’s whatever DreamHost are using on their DreamPress servers. Varnish I think
#
[matpacker]
ruxton: It’s not something I am able to disable
#
Ruxton
that sux :(
#
[matpacker]
Yeh, now to try and explain it to DreamHost
#
Ruxton
can u clear it so I can see it work ? :) I caught it once already.. P
#
[matpacker]
I’ll clear it now, 5, 4, 3, 2,
#
[matpacker]
It also might explain another bug I’ve been having, roughly every 24 hours my .htaccess file gets rewritten to the dreampress default, removing the lines I put in to pass the auth headers through.
#
Ruxton
shakes fist at DreamHost
[pfefferle] joined the channel
#
[pfefferle]
[jgmac1106]++ nice!
#
Loqi
[jgmac1106] has 13 karma in this channel over the last year (90 in all channels)
#
[matpacker]
I’ve been cursing [pfefferle] and [dshanske] all day as I thought I was having issues with their themes (sempress) and plugins.
#
Ruxton
[pfefferle]: caches causing him probs :P
#
[pfefferle]
With php7.2 I deactivated all caches... no real performance boost...
#
[matpacker]
Nah, it’s all good [pfefferle], was / am having issues, thought it might have been a different themes problem, so then I downloaded SemPress, same issue, and then it turns out to be the hosts issue.
#
Ruxton
[matpacker]: are you running DreamHost's cache clear plugin?
#
[matpacker]
Yeh, it’s installed by default
#
[matpacker]
and running
#
Ruxton
if you turn development mode on in that, do all you probs go away?
#
[matpacker]
have tried disabling it, refreshing it, and turning on dev mode, no dice
#
[pfefferle]
What exactly is the problem?
#
Ruxton
[matpacker]: odd, it's unlikely the dreampress cache then, because development mode turns it off.
#
[matpacker]
[pfefferle] Post Kinds don’t display on matpacker.blog. If I nuke the cache then it will display, as soon as I refresh, it doesn’t siplay
#
[matpacker]
display
#
[matpacker]
possibly server related?
#
[pfefferle]
Hmmm... I can‘t really help you with post-kinds, because I do not use it. I tested it some days ago Hand had some issues with missing default settings... can you try to load the settings and hit save one time and then try it again?
#
[pfefferle]
Oh one point... do you use WordPress‘ 5.0 Block Editor?
#
[matpacker]
I use the classic editor. I just did a quick screenrecording, I’ll upload it and share it shortly.
#
[pfefferle]
You can also try to enable debug mode for Wordpress to see if there are any php errors
#
Ruxton
Im gonna install XCache on my box and try cause your problem
#
[pfefferle]
Oh this is weird! 😳
#
[matpacker]
hehe it’s a good one, hey
#
[pfefferle]
definitely!
[Vincent], jeremych_, [jgmac1106], [kevinmarks] and [grantcodes] joined the channel
#
GWG
I was being cursed? No wonder I was uneasy in my sleeping
[eddie] and [kevinmarks] joined the channel
#
[jgmac1106]
@gwg filming your videos today install, set up IndieWeb plugins, h-card widget, semantic Link backs, webmentions, set up mention page, post kind, post kind menu widget, video for each post kind... Anything else?
#
[jgmac1106]
Ohh yeah... How best to update theme... Updating a theme from GitHub huge PITA for people..
#
[jgmac1106]
... I actually don't really know best way
#
GWG
I might have an id
#
GWG
idea
#
GWG
xavierroy mentioned this and I've been meaning to try it
#
Loqi
[afragen] github-updater: This WP plugin will update GitHub, Bitbucket, GitLab, and Gitea hosted plugins and themes
#
GWG
But I keep thinking of going the WordPress.org route, but the fact that pfefferle said it is a pain to get approved gave me pause
#
[jgmac1106]
We will have to try it, and you know I offered to help in WP.org theme approval if I can.
#
[jgmac1106]
Will try plugin and if it works make video
#
GWG
jgmac1106, you can brainstorm a name for it that shows the fork heritage
#
GWG
I want to make it clear it is a 2016 fork, but something better than twenty sixteen Indieweb
#
[jgmac1106]
Themes not in WP.org... Sure... I thought you liked 2016-IndieWeb
#
[jgmac1106]
.... I will play WP.org doesn't like you using their year name in themes anyways
#
GWG
I do, but if I put it in the repository I would want to change it
#
GWG
I was thinking of iw26 for some reason
#
[jgmac1106]
.that's pretty cool
#
GWG
I need a new slug
#
[jgmac1106]
OwnYourPress, IndiePress, Tenedor2016,
#
[jgmac1106]
iw26 is neat
#
GWG
I also considered doing the Indieweb fork of Independent Publisher
#
GWG
Indieweb Publisher
#
[jgmac1106]
.... On agenda, [asuh] said he can help [jackjamieson] willing to pitch in... Just a few hours of work
#
GWG
I did a lot of messy work updating IP before
#
[jgmac1106]
I tried but couldn't strip out the Jetpack Gravatar integration
#
GWG
I would not mind going back to clean it up
#
GWG
Maybe 2019 should be the year of the theme
#
GWG
I think I will rebrand the 2016 fork to distinguish it better though
#
[jgmac1106]
You love trains and transportation right... Find a metaphor in your passions that captures what theme does
#
[jgmac1106]
Well dropping off kids to school and will start your play list
jgmac1106 and [jgmac1106] joined the channel
[xavierroy] joined the channel
#
[xavierroy]
I've been using it a lot. Adding a couple of lines does the trick especially for constantly changing plugins and themes
[jgmac1106] joined the channel
#
[jgmac1106]
would, love, love, love tutorial or video to share [xavierroy] lot of people give up on 2016-IndieWeb at first update...they can install but don't know how to mantain
#
[xavierroy]
if [dshanske] can add a similar line, and if one has the github updater plugin, it is easy to update the plugin whenever there's a version bump
#
[jgmac1106]
how about for his theme?
#
Loqi
[xavierroy] #10 Support for Github Theme URI
#
[jgmac1106]
thx , will include in 2016-IndieWeb theme
[eddie] and jackjamieson joined the channel
#
GWG
Hi, jackjamieson
#
jackjamieson
How's your stuff going today?
#
GWG
I am working on Location still
#
GWG
Lots of fixes
#
GWG
Anything on your location or weather wish list?
#
jackjamieson
Excellent - I think I've fixed the major issues with Yarns. The polling schedule is implemented and I'm going to review my tests to make sure it works well. And I'm going to write a quick readme this weekend, which will be enough documentation to start.
#
GWG
I will be happy to test and do PRs at that point
#
jackjamieson
Fantastic, I'm looking forward to it
#
jackjamieson
Oh, can you update parse-this in IndieWeb Post Kinds when you get a chance?
[jgmac1106] and [asuh] joined the channel
#
[asuh]
unchecked.
#
[asuh]
What causes a Screen Option widget to get unchecked? For the first time yesterday, as I switched from Post Kind Note to Reply, I was expecting to see the “Response Properties” widget above the editor but it didn’t show up. I had to search what the meaning of `.hide-if-js` class meant because it was on this widget so it would never show up. Turns out this was because the checkbox for “Response Properties” inside the top Screen Opti
#
[jgmac1106]
Always happened to me randomly
#
[asuh]
I was confused for a couple hours last night before calling it a night to revisit today.
#
[asuh]
Glad I caught this before too much more time passed
#
GWG
I am going to look at that because of Gutenberg
#
GWG
jackjamieson, why do you need me to update Post Kinds?
[matpacker] joined the channel
#
[matpacker]
Morning all
#
[matpacker]
Heard back from DreamHost overnight about the Post Kinds problem, turns out it's a conflict between the caching of the plugin and the memcache and object cache drop in
#
GWG
Interesting
#
GWG
What caching?
#
GWG
And how can I help?
#
GWG
Did they explain more?
#
[matpacker]
I'll just paste in the response from them, might be easiest
#
[matpacker]
Regarding the post kinds issue, it appears that this plugin is not
#
[matpacker]
contacting the plugin developer and informing them of this. Usually they
#
[matpacker]
appears to have some sort of internal caching set up and it is this that
#
[matpacker]
compatible with memcached at this time. Reading the readme file it
#
[matpacker]
conflicts with memcached and the object cache drop in. I would suggest
#
[matpacker]
are receptive and will update their code for compatibility. If you still
#
[matpacker]
want to use it as is, then the object-cache.php file would need to be
#
[matpacker]
disabled which would sever the sites connection to memcached on the
#
[matpacker]
server. That's up to you if you wish to do this.
#
GWG
There is a caching piece, but it is the exact same one WordPress uses
#
GWG
I can give you a flag to disable it if you want
#
[matpacker]
Cool, happy to test it
#
GWG
I can test it with a persistent object cache
#
GWG
Who signed the email?
#
[matpacker]
John R
#
GWG
Okay
#
GWG
Either way, surprised as I invalidate the cache anytime there is an update. But will see what happens
#
GWG
Add some tests
#
[matpacker]
Awesome thanks
#
Loqi
[ngm] #25 Cached mf2 posts have no data
#
GWG
Follow it here
jgmac1106 joined the channel
#
jackjamieson
GWG: Because Post Kinds has an old version of parse-this included, Yarns doesn't load Parse-This again since it already exists.
#
jackjamieson
The effect being that all of the recent changes to Parse-This are overwritten by the version in Post-Kinds (which lacks, for e.g., the SimplePie folder in /vendor)
#
GWG
jackjamieson, would you object to a different approach to avoid same in future?
#
jackjamieson
Of course not, what do you have in mind?
[eddie] joined the channel
#
GWG
I changed Semantic Linkbacks and Post Kinds to load php-mf2 only within the function scope
#
GWG
I should be able to do something similar to design wise to solve this in the long-term
#
GWG
I will fix it in Parse This and Post Kinds and we can mirror it in Yarns
#
GWG
It dovetails with pfefferle's comment that loading SimplePie into everything might be unnecessary
#
GWG
jackjamieson, dev or stable Post Kinds?
#
jackjamieson
That sounds perfect, actually
#
jackjamieson
I've been using stable post-kinds from the wordpress repository.
#
GWG
I'll see what I can do quickly
[schmarty] joined the channel
#
jackjamieson
I'm looking at semantic linkbacks now to see if I can understand what you mean
#
jackjamieson
Ah, I see - looks simple enough. I can do that in Yarns pretty easily. No need for you to rush, mainly it'd be nice to make sure there are no conflicts since almost anyone who would use Yarns will have Post Kinds installed
tantek joined the channel
#
jackjamieson
GWG: I've just been reading about requiring classes only within a function scope - slightly confused but I think I see how this would work. Thanks for the idea - assuming this works it is much better than what I thought necessary. In the past few months, you have taught me a whole lot about software development - so thank you very much!
[tantek] and tantek joined the channel