Last Updated
MapWhile I’ll be keeping the basic style of 2016, I’ll be cutting out a lot of things. I will continue to backport changes and improvements from both the _s project that 2016 is based on and the stock 2016 theme.
But the split will allow me to do some things that I think Twenty Sixteen would have done if it continued to iterate. But I’ll also be cutting out a lot of pieces that aren’t needed in the fork, including two digits of the name.
Leaving the WordPress Project
A few years ago, there was a call for Component Maintainers, and I asked what a Component Maintainer would have to do. I never quite got an answer, other than, “You are now a component maintainer.” So, for a few years, I tried to be the Pingbacks and Trackbacks component maintainer.
There is only one problem with trying to guide a WordPress component. Someone other than you has to care. Namely, anyone guiding the project overall. I’m not a Core Committer. I’m not involved with anyone in a leadership position. So, I would periodically try to get interest, but none came. So, this week, I decided to tender my resignation. I couldn’t find anyone to tender it to, so I had to do it in chat to ask to be removed.
This is something I think of emblematic of the way the WordPress project has worked for me. You can open a ticket, put a patch in, get no guidance, wait 3 years, and then be told your simple patch is being punted because no one who has commit privileges cares enough to review it. Does not really make me feel like newcomers have support. In defense of this, the project is so big and used by so many it can be easy to get lost in the shuffle.
Pingbacks and Trackbacks are a subcomponent of Comments. Comments in general have not gotten much attention of late. There hasn’t been a comment component meeting in ages, or any major feature work in this area.
But, after years of not making any progress, the other reason I’m pulling back is the direction the WordPress project is going on. For two years, the project has had development of anything not related to the Gutenberg editor pretty much frozen.
At the 2018 State of the Word, it was announced that Phase 2 would turn the Navigation menus, Widgets, and other Theme Content areas to Gutenberg blocks. Phase 3, in 2020, will focus on collaboration and workflows. and Phase 4 on multilingual sites.
I was hopeful when it was implied that the feature freeze was over and that, regardless of having a focus and a goal, other improvements could now get some energy. But, I fear after two years of Gutenberg sucking the oxygen out of everything else, that will take a long time.
I nearly resigned before, when I was contacted and told that all component maintainers should be putting their efforts toward Gutenberg or Gutenberg related matters.
So, I’ve tried Gutenberg. I’ve written some posts with it on sites. I’m not going to knock it and say that it is horrible. I think it has some positives and negatives. But it is indicative of where WordPress is going and what audience it is looking for.
I’m just hoping the project doesn’t change so much that I decide I want to stop using the software entirely. I’ve invested a lot in extending WordPress. But I can’t try to be involved in that direction when it is not the way I want to go.
Using the Last Seen Function in Simple Location
Simple Location adds a section to your WordPress user profile called Last Reported Location. It allows you to set the last reported location for a given user. It reports latitude, longitude, altitude, and whether or not the location is public, private, or protected.
In the Simple Location Settings, you can set this to update each time you publish a post if the location isn’t set as private. So it would reflect the last post you made.
This feature can be used in one of two ways. You can add the Last Seen Widget to your page and display the last place you were seen. Alternatively, this can work in reverse. You can set it so your posts will set post location from the last seen location of the author.
But, what use is that if the only way a to update the Last Seen setting is to set it from a post(creating an endless loop) or to set it manually? If you always want to always set a default location, this can be an option.
However, that doesn’t work for me. So, I built a way to update your location from an outside service.
First, you need an IndieAuth token. If you installed the IndieAuth plugin, you can get one manually under Users->Manage Token.
curl -i -H 'Authorization: Bearer FAKETOKEN' -d "latitude=30&longitude=-115&visibility=public" "https://www.example.com/wp-json/sloc_geo/1.0/user"
Here is an example of updating your location via a curl command line command. It figures out which user based on the user of the token you created.
The parameters currently used are latitude, longitude, altitude(will be automatically derived if not present), and visibility(public, private, protected).
If you are successful, it will return ‘Updated’ and automatically lookup the name of the location you are at.
So, what can you do with this feature? Keeping in mind the day, though I call today Tuesday…Let’s say hypothetically you are in the package delivery business and you want to share your location with the people who are eagerly awaiting your deliveries. You could use this to send your location from your phone to your website to keep the display updated.
Alternatively, if you don’t trust the browser on your computer to know where you are, you could rig up a shortcut on your phone to update the location so it would be accurate if you post, for example on Android with Tasker.
There is more that is needed to enhance this feature. On my list for future is Geofencing…the idea of zones inside which the location would either be set to private or display a generic ‘Home’ or ‘Work’ etc. I already have the code to calculate this, but haven’t figured out how the UI would look. This would allow much more granular controls than the global privacy default.