Week: 09
MapComment Improvements in WordPress 4.4/4.5
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 );
       Â
}
   Â
}
    do_action( 'comment_post', $comment_ID, $commentdata['comment_approved'], $commentdata );
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.”
The last iteration used Twitter bootstrap. I built this one from the ground up. It’s still a work in progress, but putting it live while I build out more of the features.