protected function normalize_query_param( $query_param ) {
		$prefix = 'comment_';

		switch ( $query_param ) {
			case 'id':
				$normalized = $prefix . 'ID';
				break;
			case 'post':
				$normalized = $prefix . 'post_ID';
				break;
			case 'parent':
				$normalized = $prefix . 'parent';
				break;
			case 'include':
				$normalized = 'comment__in';
				break;
			default:
				$normalized = $prefix . $query_param;
				break;
		}

		return $normalized;
	}
protected function normalize_query_param( $query_param ) {
		$prefix = 'comment_';

		switch ( $query_param ) {
			case 'id':
				$normalized = $prefix . 'ID';
				break;
			case 'post':
				$normalized = $prefix . 'post_ID';
				break;
			case 'parent':
				$normalized = $prefix . 'parent';
				break;
			case 'include':
				$normalized = 'comment__in';
				break;
			default:
				$normalized = $prefix . $query_param;
				break;
		}

		return $normalized;
	}
protected function normalize_query_param ( $ query_param ) { $ prefix = 'comment_' ; switch ( $ query_param ) { case 'id' : $ normalized = $ prefix . 'ID' ; break ; case 'post' : $ normalized = $ prefix . 'post_ID' ; break ; case 'parent' : $ normalized = $ prefix . 'parent' ; break ; case 'include' : $ normalized = 'comment__in' ; break ; default : $ normalized = $ prefix . $ query_param ; break ; } return $ normalized ; }
Prepend internal property prefix to query parameters to match our response fields.

@param  string $query_param
@return string $normalized
Prepend internal property prefix to query parameters to match our response fields .