';
foreach ( $response_fields as $key => $value ) {
printf(
'
%s
%s
',
esc_html( preg_replace( '#^\d+_#', '', $key ) ),
esc_html( $value )
);
}
echo '
';
echo '';
if ( isset( $content_fields['_feedback_ip'] ) ) {
echo '
' . esc_html__( 'IP', 'jetpack' ) . '
';
echo '
' . esc_html( $content_fields['_feedback_ip'] ) . '
';
}
echo '
' . esc_html__( 'Source', 'jetpack' ) . '
';
echo '
';
echo '
';
}
/**
* Displays the value for the source column.
*
* @param \WP_Post $post Current post.
* @return void
*/
function grunion_manage_post_column_source( $post ) {
if ( ! isset( $post->post_parent ) ) {
return;
}
$form_url = get_permalink( $post->post_parent );
$parsed_url = wp_parse_url( $form_url );
printf(
'