PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.11.10
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.11.10
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | vendor/codeinwp/themeisle-sdk/src/Product.php +12 -1 3.10.23.11.10 View file →
@@ -345,9 +345,19 @@
345 345 *
346 346 * @return string Friendly name.
347 347 */
348 348 public function get_friendly_name() {
349 - $name = apply_filters( $this->get_key() . '_friendly_name', trim( str_replace( 'Lite', '', $this->get_name() ) ) );
349 + $name = trim( str_replace( 'Lite', '', $this->get_name() ) );
350 + if ( defined( 'OTTER_BLOCKS_BASEFILE' ) && OTTER_BLOCKS_BASEFILE === $this->basefile ) {
351 + $name = 'Otter Blocks';
352 + }
353 + if ( defined( 'OPTML_BASEFILE' ) && OPTML_BASEFILE === $this->basefile ) {
354 + $name = 'Optimole';
355 + }
356 + if ( defined( 'WPMM_FILE' ) && WPMM_FILE === $this->basefile ) {
357 + $name = 'LightStart';
358 + }
359 + $name = apply_filters( $this->get_key() . '_friendly_name', $name );
350 360 $name = rtrim( $name, '- ()' );
351 361
352 362 return $name;
353 363 }
@@ -411,8 +421,9 @@
411 421 return add_query_arg(
412 422 [
413 423 'name' => rawurlencode( $this->get_name() ),
414 424 'edd_action' => 'view_changelog',
425 + 'locale' => get_user_locale(),
415 426 ],
416 427 $this->get_store_url()
417 428 );
418 429 }