We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53702dc commit e267a52Copy full SHA for e267a52
classes/Visualizer/Module/Chart.php
@@ -737,6 +737,12 @@ private function _handleDataAndSettingsPage() {
737
$title = $this->_chart->ID;
738
}
739
$settings['internal_title'] = $title;
740
+ $settings_label = $settings['pieResidueSliceLabel'];
741
+ if ( empty( $settings_label ) ) {
742
+ $settings['pieResidueSliceLabel'] = esc_html__( 'Other', 'visualizer' );
743
+ } else {
744
+ $settings['pieResidueSliceLabel'] = $settings_label;
745
+ }
746
update_post_meta( $this->_chart->ID, Visualizer_Plugin::CF_SETTINGS, $settings );
747
748
$render = new Visualizer_Render_Page_Send();
0 commit comments