Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • bugfix/wordpress-review
  • initialize-tracker
  • master
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.1.0
  • 1.2.0
  • 1.2.0-beta.1
  • 1.2.1
  • 1.2.2
  • 1.2.3
  • 1.3.0
15 results

Target

Select target project
  • wpdesk/library/wp-plugin-flow-common
1 result
Select Git revision
  • bugfix/wordpress-review
  • initialize-tracker
  • master
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.0.3
  • 1.0.4
  • 1.1.0
  • 1.2.0
  • 1.2.0-beta.1
  • 1.2.1
  • 1.2.2
  • 1.2.3
  • 1.3.0
15 results
Show changes
Commits on Source (5)
## [1.3.0] - 2025-05-21
### Changed
- Plugin activation option key.
## [1.2.3] - 2024-11-09
### Fixed
- Hide doing it wrong notice on production environment
......
......@@ -135,7 +135,7 @@ final class PluginBootstrap {
private function add_activation_hook_for_save_activation_date() {
add_action( 'activated_plugin', static function ( $plugin_file, $network_wide = false ) {
if ( ! $network_wide ) {
$option_name = 'plugin_activation_' . $plugin_file;
$option_name = 'activation_plugin_' . $plugin_file;
$activation_date = get_option( $option_name, '' );
if ( '' === $activation_date ) {
$activation_date = current_time( 'mysql' );
......@@ -162,7 +162,7 @@ final class PluginBootstrap {
}, 10, 4 );
\load_plugin_textdomain(
$plugin_info->get_text_domain(),
false,
'',
basename( $plugin_info->get_plugin_dir() ) . "/$lang_dir/"
);
}
......@@ -200,7 +200,7 @@ final class PluginBootstrap {
$plugin_info->set_version( $this->plugin_version );
$plugin_info->set_product_id( $this->product_id );
$plugin_info->set_text_domain( $this->plugin_text_domain );
$plugin_info->set_plugin_url( plugins_url( dirname( plugin_basename( $this->plugin_file ) ) ) );
$plugin_info->set_plugin_url( plugins_url( '', $this->plugin_file ) );
$plugin_info->set_plugin_shops( $this->plugin_shops );
return $plugin_info;
......