Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/wp-conte.../plugins/wp-revie.../includes
File: comments.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Comments related functions
[2] Fix | Delete
*
[3] Fix | Delete
* @package WP_Review
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Overrides comments count.
[8] Fix | Delete
*/
[9] Fix | Delete
function wp_review_override_comments_count() {
[10] Fix | Delete
remove_filter( 'get_comments_number', 'mts_comment_count', 0 );
[11] Fix | Delete
add_filter( 'get_comments_number', 'wp_review_comment_count', 0 );
[12] Fix | Delete
}
[13] Fix | Delete
add_action( 'after_setup_theme', 'wp_review_override_comments_count', 30 );
[14] Fix | Delete
[15] Fix | Delete
/**
[16] Fix | Delete
* Filters comment count.
[17] Fix | Delete
*
[18] Fix | Delete
* @param int $count Comment count.
[19] Fix | Delete
* @return int
[20] Fix | Delete
*/
[21] Fix | Delete
function wp_review_comment_count( $count ) {
[22] Fix | Delete
if ( ! is_admin() ) {
[23] Fix | Delete
$comments = get_comments( 'status=approve&post_id=' . get_the_ID() );
[24] Fix | Delete
$comments_by_type = separate_comments( $comments );
[25] Fix | Delete
if ( isset( $comments_by_type['comment'] ) ) {
[26] Fix | Delete
$wp_review_comments_count = isset( $comments_by_type['wp_review_comment'] ) ? count( $comments_by_type['wp_review_comment'] ) : 0;
[27] Fix | Delete
return count( $comments_by_type['comment'] ) + $wp_review_comments_count;
[28] Fix | Delete
} else {
[29] Fix | Delete
return $count;
[30] Fix | Delete
}
[31] Fix | Delete
}
[32] Fix | Delete
[33] Fix | Delete
return $count;
[34] Fix | Delete
}
[35] Fix | Delete
[36] Fix | Delete
[37] Fix | Delete
/**
[38] Fix | Delete
* Add the title to our admin area, for editing, etc
[39] Fix | Delete
*/
[40] Fix | Delete
function wp_review_comment_add_meta_box() {
[41] Fix | Delete
global $comment;
[42] Fix | Delete
[43] Fix | Delete
$rating_types = wp_review_get_rating_types();
[44] Fix | Delete
$type = wp_review_get_post_user_review_type( $comment->comment_post_ID );
[45] Fix | Delete
if ( ! $type ) {
[46] Fix | Delete
$type = 'star';
[47] Fix | Delete
}
[48] Fix | Delete
add_meta_box(
[49] Fix | Delete
'wp-review-comment-rating',
[50] Fix | Delete
// translators: rating label.
[51] Fix | Delete
sprintf( __( 'WP Review Rating (%s)', 'wp-review' ), $rating_types[ $type ]['label'] ),
[52] Fix | Delete
'wp_review_comment_meta_box_fields',
[53] Fix | Delete
'comment',
[54] Fix | Delete
'normal',
[55] Fix | Delete
'high'
[56] Fix | Delete
);
[57] Fix | Delete
}
[58] Fix | Delete
add_action( 'add_meta_boxes_comment', 'wp_review_comment_add_meta_box' );
[59] Fix | Delete
[60] Fix | Delete
/**
[61] Fix | Delete
* Shows comment meta box fields.
[62] Fix | Delete
*
[63] Fix | Delete
* @param object $comment Comment object.
[64] Fix | Delete
*/
[65] Fix | Delete
function wp_review_comment_meta_box_fields( $comment ) {
[66] Fix | Delete
$comment_id = $comment->comment_ID;
[67] Fix | Delete
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === get_comment_type( $comment_id ) ) {
[68] Fix | Delete
$rating = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_RATING_METAKEY, true );
[69] Fix | Delete
} else {
[70] Fix | Delete
$rating = get_comment_meta( $comment_id, WP_REVIEW_VISITOR_RATING_METAKEY, true );
[71] Fix | Delete
}
[72] Fix | Delete
$title = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_TITLE_METAKEY, true );
[73] Fix | Delete
$rating_items = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
[74] Fix | Delete
wp_nonce_field( 'wp_review_comment_rating_update', 'wp_review_comment_rating_update', false );
[75] Fix | Delete
?>
[76] Fix | Delete
<div class="wp-review-field">
[77] Fix | Delete
<div class="wp-review-field-label">
[78] Fix | Delete
<label for="wp_review_comment_rating"><?php esc_html_e( 'Review total', 'wp-review' ); ?></label>
[79] Fix | Delete
</div>
[80] Fix | Delete
<div class="wp-review-field-option">
[81] Fix | Delete
<input type="text" class="small-text" name="wp_review_comment_rating" value="<?php echo esc_attr( $rating ); ?>" id="wp_review_comment_rating">
[82] Fix | Delete
</div>
[83] Fix | Delete
</div>
[84] Fix | Delete
[85] Fix | Delete
<?php
[86] Fix | Delete
if ( ! empty( $rating_items ) ) :
[87] Fix | Delete
$items = wp_review_get_review_items( $comment->comment_post_ID );
[88] Fix | Delete
foreach ( $items as $item_id => $item ) :
[89] Fix | Delete
$value = ! empty( $rating_items[ $item_id ] ) ? $rating_items[ $item_id ] : 0;
[90] Fix | Delete
?>
[91] Fix | Delete
<div class="wp-review-field">
[92] Fix | Delete
<div class="wp-review-field-label">
[93] Fix | Delete
<label for="wp_review_comment_rating_item-<?php echo esc_attr( $item_id ); ?>"><?php echo esc_html( $item['wp_review_item_title'] ); ?></label>
[94] Fix | Delete
</div>
[95] Fix | Delete
<div class="wp-review-field-option">
[96] Fix | Delete
<input type="text" class="small-text" name="wp-review-comment-feature-rating[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $value ); ?>" id="wp_review_comment_rating_item-<?php echo esc_attr( $item_id ); ?>">
[97] Fix | Delete
</div>
[98] Fix | Delete
</div>
[99] Fix | Delete
<?php endforeach; ?>
[100] Fix | Delete
<?php endif; ?>
[101] Fix | Delete
[102] Fix | Delete
<?php
[103] Fix | Delete
$comment_qualifier = get_comment_meta( $comment_id, 'wp_review_comment_qualifier', true );
[104] Fix | Delete
$comment_image = get_comment_meta( $comment_id, 'wp_review_comment_attachment_url', true );
[105] Fix | Delete
$comment_image_name = 'wp_review_comment_attachment_url';
[106] Fix | Delete
if ( ! $comment_image ) {
[107] Fix | Delete
$comment_image = get_comment_meta( $comment_id, 'wp_review_comment_attachment_src', true );
[108] Fix | Delete
if ( $comment_image ) {
[109] Fix | Delete
$comment_image_name = 'wp_review_comment_attachment_src';
[110] Fix | Delete
}
[111] Fix | Delete
}
[112] Fix | Delete
[113] Fix | Delete
if ( $comment_qualifier ) {
[114] Fix | Delete
?>
[115] Fix | Delete
<div class="wp-review-field">
[116] Fix | Delete
<div class="wp-review-field-label">
[117] Fix | Delete
<label for="wp_review_comment_qualifier"><?php echo apply_filters( 'wp_review_comment_qualifier', __( 'Does Product Matches the Description?', 'wp-review' ) ); ?></label>
[118] Fix | Delete
</div>
[119] Fix | Delete
<div class="wp-review-field-option">
[120] Fix | Delete
<select id="wp_review_comment_qualifier" name="wp_review_comment_qualifier">
[121] Fix | Delete
<option value=""><?php _e( 'Select', 'wp-review' ); ?></option>
[122] Fix | Delete
<option value="yes" <?php selected( $comment_qualifier, 'yes', true ); ?>><?php _e( 'Yes', 'wp-review' ); ?></option>
[123] Fix | Delete
<option value="no" <?php selected( $comment_qualifier, 'no', true ); ?>><?php _e( 'No', 'wp-review' ); ?></option>
[124] Fix | Delete
</select>
[125] Fix | Delete
</div>
[126] Fix | Delete
</div>
[127] Fix | Delete
<?php
[128] Fix | Delete
}
[129] Fix | Delete
[130] Fix | Delete
if ( $comment_image ) {
[131] Fix | Delete
if ( is_numeric( $comment_image ) ) {
[132] Fix | Delete
$comment_image = wp_get_attachment_url( $comment_image );
[133] Fix | Delete
}
[134] Fix | Delete
?>
[135] Fix | Delete
<div class="wp-review-field">
[136] Fix | Delete
<div class="wp-review-field-label">
[137] Fix | Delete
<label for="wp_review_comment_image"><?php esc_html_e( 'Comment Image', 'wp-review' ); ?></label>
[138] Fix | Delete
</div>
[139] Fix | Delete
<div class="wp-review-field-option">
[140] Fix | Delete
<input type="text" name="<?php echo esc_attr( $comment_image_name ); ?>" value="<?php echo esc_attr( $comment_image ); ?>" />
[141] Fix | Delete
</div>
[142] Fix | Delete
</div>
[143] Fix | Delete
<?php } ?>
[144] Fix | Delete
<style>.wp-review-field { margin-bottom: 1em; }</style>
[145] Fix | Delete
<?php
[146] Fix | Delete
}
[147] Fix | Delete
[148] Fix | Delete
/**
[149] Fix | Delete
* Save our comment (from the admin area).
[150] Fix | Delete
*
[151] Fix | Delete
* @param int $comment_id Comment ID.
[152] Fix | Delete
*/
[153] Fix | Delete
function wp_review_comment_edit_comment( $comment_id ) {
[154] Fix | Delete
if (
[155] Fix | Delete
! isset( $_POST['wp_review_comment_rating'] ) && ! isset( $_POST['wp-review-comment-feature-rating'] )
[156] Fix | Delete
|| ! isset( $_POST['wp_review_comment_rating_update'] )
[157] Fix | Delete
|| ! wp_verify_nonce( $_POST['wp_review_comment_rating_update'], 'wp_review_comment_rating_update' )
[158] Fix | Delete
) {
[159] Fix | Delete
return;
[160] Fix | Delete
}
[161] Fix | Delete
[162] Fix | Delete
if ( WP_REVIEW_COMMENT_TYPE_COMMENT === get_comment_type( $comment_id ) ) {
[163] Fix | Delete
$meta_key = WP_REVIEW_COMMENT_RATING_METAKEY;
[164] Fix | Delete
} else {
[165] Fix | Delete
$meta_key = WP_REVIEW_VISITOR_RATING_METAKEY;
[166] Fix | Delete
}
[167] Fix | Delete
[168] Fix | Delete
$rating = filter_input( INPUT_POST, 'wp_review_comment_rating', FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION );
[169] Fix | Delete
[170] Fix | Delete
$comment = get_comment( $comment_id );
[171] Fix | Delete
update_comment_meta( $comment_id, $meta_key, $rating );
[172] Fix | Delete
wp_review_clear_cached_reviews( $comment );
[173] Fix | Delete
[174] Fix | Delete
if ( ! empty( $_POST['wp_review_comment_pros'] ) ) {
[175] Fix | Delete
update_comment_meta( $comment_id, 'wp_review_comment_pros', wp_kses_post( wp_unslash( $_POST['wp_review_comment_pros'] ) ) );
[176] Fix | Delete
}
[177] Fix | Delete
if ( ! empty( $_POST['wp_review_comment_cons'] ) ) {
[178] Fix | Delete
update_comment_meta( $comment_id, 'wp_review_comment_cons', wp_kses_post( wp_unslash( $_POST['wp_review_comment_cons'] ) ) );
[179] Fix | Delete
}
[180] Fix | Delete
if ( ! empty( $_POST['wp_review_comment_qualifier'] ) ) {
[181] Fix | Delete
update_comment_meta( $comment_id, 'wp_review_comment_qualifier', wp_kses_post( wp_unslash( $_POST['wp_review_comment_qualifier'] ) ) );
[182] Fix | Delete
}
[183] Fix | Delete
[184] Fix | Delete
if ( ! empty( $_POST['wp-review-comment-feature-rating'] ) ) {
[185] Fix | Delete
$rating = ! is_array( $_POST['wp-review-comment-feature-rating'] ) ? json_decode( wp_unslash( $_POST['wp-review-comment-feature-rating'] ), true ) : $_POST['wp-review-comment-feature-rating'];
[186] Fix | Delete
update_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, $rating );
[187] Fix | Delete
[188] Fix | Delete
$total = 0;
[189] Fix | Delete
foreach ( $rating as $value ) {
[190] Fix | Delete
$total += floatval( $value );
[191] Fix | Delete
}
[192] Fix | Delete
[193] Fix | Delete
update_comment_meta( $comment_id, $meta_key, $total / count( $rating ) );
[194] Fix | Delete
wp_review_clear_cached_reviews( $comment );
[195] Fix | Delete
}
[196] Fix | Delete
}
[197] Fix | Delete
add_action( 'edit_comment', 'wp_review_comment_edit_comment' );
[198] Fix | Delete
[199] Fix | Delete
[200] Fix | Delete
/**
[201] Fix | Delete
* Script for Comments quick edit
[202] Fix | Delete
*/
[203] Fix | Delete
function wp_review_comment_quick_edit_javascript() {
[204] Fix | Delete
?>
[205] Fix | Delete
<script type="text/html" id="tmpl-wpr-comment-review-quick-edit">
[206] Fix | Delete
<# if ( ! data.features ) { #>
[207] Fix | Delete
<div class="inside">
[208] Fix | Delete
<label for="wp_review_comment_rating"><?php esc_html_e( 'Review Total', 'wp-review' ); ?></label>
[209] Fix | Delete
<input type="text" name="wp_review_comment_rating" size="50" value="{{ data.rating }}" id="wp_review_comment_rating">
[210] Fix | Delete
</div>
[211] Fix | Delete
<# } else { #>
[212] Fix | Delete
[213] Fix | Delete
<# for ( var i = 0; i < data.features.length; i++ ) { #>
[214] Fix | Delete
<# var feature = data.features[ i ]; #>
[215] Fix | Delete
<div class="inside">
[216] Fix | Delete
<label for="wp_review_comment_feature_{{ feature.id }}">{{ feature.wp_review_item_title }}</label>
[217] Fix | Delete
<input type="text" name="wp-review-comment-feature-rating[{{ feature.id }}]" size="50" value="{{ feature.comment_rating }}" id="wp_review_comment_feature_{{ feature.id }}" />
[218] Fix | Delete
</div>
[219] Fix | Delete
<# } #>
[220] Fix | Delete
[221] Fix | Delete
<# } #>
[222] Fix | Delete
</script>
[223] Fix | Delete
[224] Fix | Delete
<script type="text/javascript">
[225] Fix | Delete
function wpreview_expandedOpen( id ) {
[226] Fix | Delete
var tmpl, editRow, rowData, type, features, tmplData;
[227] Fix | Delete
tmpl = wp.template( 'wpr-comment-review-quick-edit' );
[228] Fix | Delete
editRow = jQuery( '#replyrow' );
[229] Fix | Delete
rowData = jQuery( '#inline-commentreview-' + id );
[230] Fix | Delete
type = jQuery( '.comment-review-type', rowData ).val();
[231] Fix | Delete
[232] Fix | Delete
if ( 'wp_review_comment' !== type && 'wp_review_visitor' !== type ) {
[233] Fix | Delete
return;
[234] Fix | Delete
}
[235] Fix | Delete
[236] Fix | Delete
if ( jQuery( '.comment-review-feature-rating', rowData ).length ) {
[237] Fix | Delete
features = jQuery( '.comment-review-feature-rating', rowData ).val();
[238] Fix | Delete
features = JSON.parse( features );
[239] Fix | Delete
}
[240] Fix | Delete
[241] Fix | Delete
tmplData = {
[242] Fix | Delete
title: jQuery( '.comment-review-title', rowData ).val(),
[243] Fix | Delete
rating: jQuery( '.comment-review-rating', rowData ).val(),
[244] Fix | Delete
type: type,
[245] Fix | Delete
features: features,
[246] Fix | Delete
pros: jQuery( '.comment-review-pros', rowData ).val(),
[247] Fix | Delete
cons: jQuery( '.comment-review-cons', rowData ).val()
[248] Fix | Delete
};
[249] Fix | Delete
[250] Fix | Delete
jQuery( '#editwpreview', editRow ).html( tmpl( tmplData ) );
[251] Fix | Delete
}
[252] Fix | Delete
</script>
[253] Fix | Delete
<?php
[254] Fix | Delete
}
[255] Fix | Delete
add_action( 'admin_footer-edit-comments.php', 'wp_review_comment_quick_edit_javascript' );
[256] Fix | Delete
[257] Fix | Delete
/**
[258] Fix | Delete
* Filters comment quick edit link.
[259] Fix | Delete
*
[260] Fix | Delete
* @param array $actions Comments list table actions.
[261] Fix | Delete
* @param object $comment Comment object.
[262] Fix | Delete
* @return array
[263] Fix | Delete
*/
[264] Fix | Delete
function wp_review_comment_quick_edit_action( $actions, $comment ) {
[265] Fix | Delete
$actions['quickedit'] = sprintf(
[266] Fix | Delete
'<span class="quickedit hide-if-no-js"><a onclick="if (typeof(wpreview_expandedOpen) == \'function\') wpreview_expandedOpen(%1$s);" data-comment-id="%1$s" data-post-id="%2$s" data-action="edit" class="vim-q comment-inline" title="%3$s" href="#">%4$s</a></span>',
[267] Fix | Delete
$comment->comment_ID,
[268] Fix | Delete
$comment->comment_post_ID,
[269] Fix | Delete
__( 'Edit this item inline', 'wp-review' ),
[270] Fix | Delete
__( 'Quick Edit', 'wp-review' )
[271] Fix | Delete
);
[272] Fix | Delete
return $actions;
[273] Fix | Delete
}
[274] Fix | Delete
add_filter( 'comment_row_actions', 'wp_review_comment_quick_edit_action', 10, 2 );
[275] Fix | Delete
[276] Fix | Delete
/**
[277] Fix | Delete
* Gets comments rating template.
[278] Fix | Delete
*
[279] Fix | Delete
* @param float $value Rating value.
[280] Fix | Delete
* @param int $comment_id Comment ID.
[281] Fix | Delete
* @param array $args Custom args.
[282] Fix | Delete
* @return string
[283] Fix | Delete
*/
[284] Fix | Delete
function wp_review_comment_rating( $value, $comment_id = null, $args = array() ) {
[285] Fix | Delete
global $post;
[286] Fix | Delete
[287] Fix | Delete
if ( ! empty( $comment_id ) ) {
[288] Fix | Delete
$comment = get_comment( $comment_id );
[289] Fix | Delete
$post_id = $comment->comment_post_ID;
[290] Fix | Delete
[291] Fix | Delete
$rating_items = get_comment_meta( $comment_id, WP_REVIEW_COMMENT_FEATURES_RATING_METAKEY, true );
[292] Fix | Delete
if ( $rating_items && is_array( $rating_items ) ) {
[293] Fix | Delete
return wp_review_comment_rating_items( $rating_items, $comment );
[294] Fix | Delete
}
[295] Fix | Delete
} else {
[296] Fix | Delete
$post_id = $post->ID;
[297] Fix | Delete
}
[298] Fix | Delete
[299] Fix | Delete
$type = wp_review_get_post_user_review_type( $post_id );
[300] Fix | Delete
[301] Fix | Delete
if ( empty( $type ) ) {
[302] Fix | Delete
return '';
[303] Fix | Delete
}
[304] Fix | Delete
[305] Fix | Delete
$rating_type = wp_review_get_rating_type_data( $type );
[306] Fix | Delete
[307] Fix | Delete
$colors = wp_review_get_colors( $post_id );
[308] Fix | Delete
[309] Fix | Delete
$color = $colors['color'];
[310] Fix | Delete
// don't allow higher rating than max.
[311] Fix | Delete
if ( $value > $rating_type['max'] ) {
[312] Fix | Delete
$value = $rating_type['max'];
[313] Fix | Delete
}
[314] Fix | Delete
$template = $rating_type['output_template'];
[315] Fix | Delete
$comment_rating = true;
[316] Fix | Delete
$args['show_one'] = true;
[317] Fix | Delete
set_query_var( 'rating', compact( 'value', 'type', 'args', 'comment_rating', 'post_id', 'color', 'colors' ) );
[318] Fix | Delete
ob_start();
[319] Fix | Delete
load_template( $template, false );
[320] Fix | Delete
$review = '<div class="wp-review-usercomment-rating wp-review-usercomment-rating-' . $type . '">' . ob_get_contents() . '</div>';
[321] Fix | Delete
ob_end_clean();
[322] Fix | Delete
return $review;
[323] Fix | Delete
}
[324] Fix | Delete
[325] Fix | Delete
[326] Fix | Delete
/**
[327] Fix | Delete
* Update user ratings total if comment status is changed.
[328] Fix | Delete
*
[329] Fix | Delete
* @param string $new_status New status.
[330] Fix | Delete
* @param string $old_status Old status.
[331] Fix | Delete
* @param object $comment Comment object.
[332] Fix | Delete
*/
[333] Fix | Delete
function wp_review_update_comment_ratings( $new_status, $old_status, $comment ) {
[334] Fix | Delete
if ( WP_REVIEW_COMMENT_TYPE_VISITOR === $comment->comment_type ) {
[335] Fix | Delete
mts_get_post_reviews( $comment->comment_post_ID, true );
[336] Fix | Delete
}
[337] Fix | Delete
}
[338] Fix | Delete
add_action( 'transition_comment_status', 'wp_review_update_comment_ratings', 10, 3 );
[339] Fix | Delete
[340] Fix | Delete
[341] Fix | Delete
/**
[342] Fix | Delete
* Adds view links in comments list page.
[343] Fix | Delete
*
[344] Fix | Delete
* @since 3.0.0
[345] Fix | Delete
*
[346] Fix | Delete
* @param array $views View links.
[347] Fix | Delete
* @return array
[348] Fix | Delete
*/
[349] Fix | Delete
function wp_review_add_comments_list_view( $views ) {
[350] Fix | Delete
foreach ( $views as $key => $view ) {
[351] Fix | Delete
$view = str_replace( 'comment_type=' . WP_REVIEW_COMMENT_TYPE_COMMENT . '&', '', $view );
[352] Fix | Delete
$view = str_replace( 'comment_type=' . WP_REVIEW_COMMENT_TYPE_VISITOR . '&', '', $view );
[353] Fix | Delete
$views[ $key ] = $view;
[354] Fix | Delete
}
[355] Fix | Delete
[356] Fix | Delete
// Visitor reviews.
[357] Fix | Delete
$url = add_query_arg( 'comment_type', WP_REVIEW_COMMENT_TYPE_VISITOR );
[358] Fix | Delete
$url = remove_query_arg( 'comment_status', $url );
[359] Fix | Delete
$count = get_comments(
[360] Fix | Delete
array(
[361] Fix | Delete
'count' => true,
[362] Fix | Delete
'type' => WP_REVIEW_COMMENT_TYPE_VISITOR,
[363] Fix | Delete
)
[364] Fix | Delete
);
[365] Fix | Delete
[366] Fix | Delete
$views['visitor_reviews'] = sprintf(
[367] Fix | Delete
'<a href="%1$s" class="%2$s" aria-current="page">%3$s <span class="count">(<span class="all-count">%4$s</span>)</span></a>',
[368] Fix | Delete
esc_url( $url ),
[369] Fix | Delete
isset( $_GET['comment_type'] ) && WP_REVIEW_COMMENT_TYPE_VISITOR === $_GET['comment_type'] ? 'current' : '',
[370] Fix | Delete
esc_html__( 'Visitor reviews', 'wp-review' ),
[371] Fix | Delete
$count
[372] Fix | Delete
);
[373] Fix | Delete
[374] Fix | Delete
return $views;
[375] Fix | Delete
}
[376] Fix | Delete
add_filter( 'views_edit-comments', 'wp_review_add_comments_list_view' );
[377] Fix | Delete
[378] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function