#wordpress 2019-04-13
2019-04-13 UTC
[eddie] and [tantek] joined the channel
[Rose], [tantek], [Ignacio], [kevinmarks] and [stefp] joined the channel
# [stefp] Simple Location seems to be working for me but this error is appearing on post edit pages
# [stefp] Warning: deg2rad() expects parameter 1 to be float, string given in …wp-content/plugins/simple-location/includes/class-geo-data.php on line 265
[eddie] joined the channel
# [stefp] Thanks
[Rose] joined the channel
[eddie] joined the channel
[chrisaldrich] joined the channel
[stefp] joined the channel
# [stefp] That fixed my error too. Thanks.
[kevinmarks], dougbeal|mb1 and [dougbeal] joined the channel
# [dougbeal] GWG: woo, my swarm came in as public!
# [dougbeal] GWG++
# dougbeal GWG: wierd, one of my OYG posts has no location... it looks like it should have one on IG https://www.instagram.com/p/BwAINURjIJt/
# Loqi [dougbeal] #AtlantaPenShow2019 decompression day. With more writing, of course. #nockshots Coleman is close to DK https://scontent-atl3-1.cdninstagram.com/vp/997def78c36b1dc5881818a60c9b90fc/5D2ADA04/t51.2885-15/e35/54512447_979170868948233_2265699547480705406_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com
tw2113 joined the channel
[Rose] joined the channel
[dougbeal] joined the channel
[dougbeal] joined the channel
# [dougbeal] Oh
# [dougbeal] Let me see what it brings up
# [dougbeal] I think I would rather it pulled something up… but I guess if it was irelevant and I was on a really slow internet connection…
# [dougbeal] GWG: looking over my list, don ’t see anything
# [dougbeal] I’m installing a VPN
# [dougbeal] been on my list for a while
# [dougbeal] Sketchy wifi and cell provider blocking Chrome Remote Desktop
[tantek], chrisaldrich and jackjamieson joined the channel
# jackjamieson Hi GWG, how's it been going?
# jackjamieson Nice, looks like a big update
# jackjamieson I just finished a new (child) theme for my website
# jackjamieson Checking it out now - the bulk edit is convenient
[stefp] joined the channel
# jackjamieson That's on my list to try out too. I think it might be fun to install compass on my server but I'll wait until I've ironed out Yarns' auth troubles
# jackjamieson Feeling stumped. I ported over the revised endpoint class from the Micropub plugin, along with the new authorize class
# jackjamieson As far as I can tell, the issue is the same regardless of whether I'm using the IndieAuth plugin or the authorize class, so I think it's a problem in the endpoint
# jackjamieson I've been trying to figure it out around the load_auth() function in the endpoint class
# jackjamieson (1) This function checks if current_user_can('read') - which seems to return false no matter what. Seems like the current user is empty when this is checked
# jackjamieson (2) If I remove that check, the function proceeds to check if static::$microsub_auth_response is empty, and it always is
# jackjamieson I'll have to push my current version, still just local
# jackjamieson I'll push it to a new branch now. If you can help out I'd be grateful -- I'm sure I can get it eventually but tbh I feel pretty fuzzy on the auth flow so I might be missing something simple
# jackjamieson Thanks!
# jackjamieson There's some old code I haven't removed yet from the previous version (e.g. the check_scope() function), but the problems seem to be triggered before that executes (it's called in serve_request, but the 403 auth error occurs before then)
# jackjamieson Right, when I run it I get a 403 before it hits that point. return $permissions was part of my debugging
# jackjamieson Weird
# jackjamieson Sure!
# jackjamieson Yes
# jackjamieson Yep
# jackjamieson Do you need the URL?
# Loqi It looks like we don't have a page for "URL" yet. Would you like to create it? (Or just say "URL is ____", a sentence describing the term)
# jackjamieson microsub-dev.jackjamieson.net -- but actually you might have already helped me solve it
# jackjamieson I removed return $permissions and then fixed a typo on line 1284, and can now log in to monocle
[dougbeal] joined the channel
# [dougbeal] Tags are behaving strangly, :thumbsup: is converted to :face_vomiting:
# jackjamieson Argh, turns out it's just that my debugging had gotten twisted up. I had disabled the callback to check_permissions during my debugging. When I re-enable that, I'm back where I started with a 403
# jackjamieson I'll push a corrected version
# [dougbeal] Seems to work if I create the emoji tags manually
# [dougbeal] weird
# jackjamieson GWG: Pushed with minor corrections to remove some of my debugging. It might be a good idea for me to go through more meticulously so I can give you a cleaner version, but I don't know if I have time to do that until early next week
[Rose] joined the channel
# [dougbeal] GWG: all the tag stuff is core wordpress?
# jackjamieson GWG: Thanks. I don't want to take you away from your other projects. I feel like I should be able to solve this with another solid session of troubleshooting. Going to take a couple days away from it and then try with a clear head
# jackjamieson GWG: That's why I should try to take this one myself if I can!
# jackjamieson Thanks GWG, I've got to get offline but I'll let you know how it goes
[kimberlyhirsh] joined the channel
# [kimberlyhirsh] I use bookmarklets with the Post Kinds URLs and it's working beautifully for me.