What is Adobe Dreamweaver CC 2019 19.0.0.11193 (x64 x86).
Q:
Add multiple values to an existing attribute
I am trying to write the following from a Wordpress plugin
$GLOBALS['logged_in_user'][0]['user_login'],
'body' => $wp_comment_data['comment_content']
);
// Update the comments array
wp_set_comment_cookies();
wp_update_comment_term_meta( $comments['ID'], 'p', array('checked' => 'checked') );
?>
I have tried various different variations of this, but am getting nothing but errors. For example if I run the following:
$post->ID,
'comment_post_author' => $post->post_author,
'comment_author' => $post->post_author,
'comment_author_email' => $post->post_author,
'comment_author_url' => $post->post_author,
'comment_content' => $wp_comment_data['comment_content'],
'comment_karma' => $wp_comment_data['comment_karma'],
'comment_approved' => '1',
'comment_type' => 'comment',
'meta_value' => array('foo' => 'bar', 'foobar' => 'baz')
);
wp_set_comment_cookies( $comment );
?>
I get the following error:
Trying to get property of non be359ba680
Related links:
Comments