#wordpress 2020-01-20

2020-01-20 UTC
jeremycherfas, reddDiscord[m], [manton], beko, adinbDiscord[m] and [xavierroy] joined the channel
#
[xavierroy]
Is there a way to make custom taxonomy visible only when logged in?
#
GWG
[xavierroy]: Can you elaborate?
#
[xavierroy]
I have a custom people taxonomy. I want to hide it for others except me
#
[xavierroy]
with post kinds, say I want to use the sleep post kind but I don't want others to view my sleep posts
#
GWG
So wouldn't that be private posts?
#
[xavierroy]
sleep was an example πŸ™‚
#
[xavierroy]
I am looking to have public posts with a custom taxonomy. I want the ./people/david to viewed by me only
#
[xavierroy]
I meant the taxonomy archive page tobe visible to me
#
GWG
Hmmm... I would have to check core on that to see if it can be done
#
[xavierroy]
So what are you working on now?
[Michael_Beckwit joined the channel
#
[Michael_Beckwit
i’d probably end up doing template_redirects on the taxonomy archives you wanna hide to non-you visitors
[dmitshur] joined the channel
#
GWG
[xavierroy]: I jump around
#
GWG
[Michael_Beckwit: You up for reviewing https://github.com/indieweb/wordpress-mf2-feed/pull/13
#
Loqi
[dshanske] #13 Refactor and Update of Plugin
#
Loqi
[dshanske] #165 Split Authorize Class
#
GWG
Be as critical as you want
haywirezDiscord[ and [tantek] joined the channel
#
[Michael_Beckwit
will aim to soon. Probably not tonight as it’s later, but hopefully tomorrow some time.
#
[Michael_Beckwit
they are opened in tabs to remind me
[mapkyca] joined the channel
#
GWG
No rush, [Michael_Beckwit
#
GWG
I just want to distribute the load a bit more
#
GWG
I thought of asking other community members if they wanted to review community PRs and such
[Rose] joined the channel
#
[Rose]
I might be up for that. I'm not sure I can review the code to the right standard though. I do everything the modern PHP way which is not how WordPress does things.
#
[Rose]
(E.g., instead of ending PHP, I use
#
[Rose]
<html>
#
[Rose]
```echo <<<HTML
#
[Rose]
HTML;```
#
beko[m]
WordPress has indeed it's very own coding standards (and best practices). I've a hard time wrapping my head around ._.
[Marlin_Forbes] and HenniDiscord[m] joined the channel
#
GWG
!tell [Rose] There are coding standards tests...this is a general review
#
Loqi
Ok, I'll tell them that when I see them next
#
GWG
I just want to spread it around a bit. So it isn't just pfefferle and myself
#
GWG
Previously, I didn't actively try to recruit
#
GWG
I am giving it a try
simons, [KevinMarks] and [Rose] joined the channel
#
[Rose]
I'll give it a shot
jgmac1106, [jgmac1106], [LewisCowles], [Marlin_Forbes], simons, jeremych_, kbo8999Discord[m, [Sadik_Shahadu], dee`, [snarfed], emersen234Discor, wossDiscord[m], [tantek] and richarddavisDisc joined the channel
#
[snarfed]
hey GWG you own the wordpress jsonfeed plugin now, right? just fyi i'm seeing malformed jsonfeed on this wordpress site: https://www.macstories.net/feed/json . attachment lists are wrapped in an extra list
#
GWG
[snarfed]: I am now the maintainer
#
GWG
I volunteered
#
GWG
It doesn't take much work
#
GWG
I can have a look. I don't think I ever touched attachments
#
GWG
I see it
#
GWG
I can fix that
[KevinMarks] joined the channel
#
GWG
[snarfed]: What prompted the look?
#
[snarfed]
it crashed granary 😁 fixed that error handling just now in https://github.com/snarfed/granary/commit/bfc507a9a5ba73269e21ce62d102bf92da1faa26
#
GWG
[snarfed]: Tell me if you find anything else
#
[snarfed]
sure. i don't know actually that it's from the plugin, just assuming since it's a wp site
#
GWG
[snarfed]: I found the extra array
#
GWG
I checked the code
simons, gRegorLove, [tantek], [dmitshur], [jeremycherfas], jgmac1106 and Julian joined the channel