Replied to https://micro.blog/nitinkhanna/2468130 by nitinkhannanitinkhanna (micro.blog)

@dshanske sure, but do you post your battery level? @aaronpk does -> aaronparecki.com
And do you post detailed walks with GPS and photos? @johnjohnston does 🙂 -> johnjohnston.info/blog/yest…

Wasn’t suggesting there aren’t lots of good location based features. I love seeing what people come up with. I was trying to see if I could push someone else to add it. I want to add more location features. I just added private geofencing.

Comment Improvements in WordPress 4.4/4.5

The below notes are for myself, as much as anyone else. These are changes to WordPress recently related to proposals and tickets I opened. In order to take advantage of them, I do need to refer to literature…and there isn’t none.

Insert Comment with Meta

wp_insert_comment has a modification that allows comment meta to be added to a comment at the time it is created.


    // If metadata is provided, store it.
    if ( isset( $commentdata['comment_meta'] ) && is_array( $commentdata['comment_meta'] ) ) {
        foreach ( $commentdata['comment_meta'] as $meta_key => $meta_value ) {
            add_comment_meta( $comment->comment_ID, $meta_key, $meta_value, true );
        }
    }
 So, if there is an array in $commentdata called comment_meta, save those keys as comment_meta.
Changes due Pingback
In WordPress 4.5, a slight change will allow the retrieved source code of a site that has sent a pingback to WordPress to be accessible in $commentdata as ‘remote_source_original’. But more importantly, there is now a pathway to access this data in action ‘comment_post’
        do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'], $commentdata );
Comment Notification Changes
A lot of this came out of a problem I had last June where updates to comments to make them more rich…in this case pingbacks/webmentions/etc were happening after the notification was sent out. So now, notifications also are triggered by ‘comment_post’.
What Do I Want to Build?
All of these little changes serve to enhance the work I’ve been trying to do with webmentions.
Replied to Leonard Nimoy Dies at Age 83 (nytimes.com)
I had the pleasure of briefly meeting Leonard Nimoy at a convention some years ago. There were many questions I would have asked him, had I gotten the chance.

While certainly I became familiar with him, like most people, through Star Trek, I remember his work in Never Forget, his poetry, the controversy over his decision to publish his photography, and many other things…I’ve tried to forget the singing.

While, after declaring he was and was not Spock, he’d come to terms with how much his most iconic character resonated with people, and it was never for the obvious reasons. The last thing Nimoy posted on Twitter, 4 days ago, was, “A life is like a garden. Perfect moments can be had, but not preserved, except in memory. LLAP.

In the end, all I can say is what Dr. McCoy said about Spock when he died(although on film, nothing is ever permanent). “He’s not really dead. As long as we remember him.”