| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | * @since 2.2.6 |
| 23 | 23 | * @access public |
| 24 | 24 | */ |
| 25 | 25 | public function define_message() { |
| 26 | - $this->message = sprintf( __( 'It seems your are using %1$sDivi%2$s right now. %3$s In order for Optimole to replace the images in your Divi pages, you will need to go to %4$sDivi -> Theme Options -> Builder -> Advanced -> Static CSS File Generations%5$s and click on Clear for the images to be processed. ', 'optimole-wp' ), '<b>', '</b>', '<br/>', '<a target="_blank" href="' . admin_url( 'admin.php?page=et_divi_options' ) . '">', '</a>' ); | |
| 26 | + $this->message = sprintf( /* translators: 1 is the start of the bold tag, 2 is ending bold tag, 3 is new line tag, 4 is anchor tag start, 5 is ending anchor tag */ __( 'It seems your are using %1$sDivi%2$s right now. %3$s In order for Optimole to replace the images in your Divi pages, you will need to go to %4$sDivi -> Theme Options -> Builder -> Advanced -> Static CSS File Generations%5$s and click on Clear for the images to be processed. ', 'optimole-wp' ), '<b>', '</b>', '<br/>', '<a target="_blank" href="' . admin_url( 'admin.php?page=et_divi_options' ) . '">', '</a>' ); | |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | |
| 30 | 30 | /** |
| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | public function is_conflict_valid() { |
| 38 | 38 | $show_message = true; |
| 39 | 39 | if ( is_plugin_active( 'divi-builder/divi-builder.php' ) ) { |
| 40 | 40 | if ( ! function_exists( 'get_plugin_data' ) ) { |
| 41 | - require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); | |
| 41 | + require_once ABSPATH . 'wp-admin/includes/plugin.php'; | |
| 42 | 42 | } |
| 43 | 43 | $plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/divi-builder/divi-builder.php' ); |
| 44 | 44 | if ( version_compare( $plugin_data['Version'], '4.10.8', '<' ) ) { |
| 45 | 45 | $show_message = true; |