Skip to content

Commit

Permalink
09-07-2022
Browse files Browse the repository at this point in the history
Try it again.
  • Loading branch information
smileBeda committed Jul 9, 2022
1 parent f81e5c7 commit 6e39367
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= 1.3.1 =
[Fixed] Undefined `esc_html_` in main settings page
[Fixed] Fatal error undefined `esc_html_`

= 1.3.0 =
[Added] Plugin Settings Page (under Admin > Settings > Manage CP Repos)
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Other, non verified Repositories (both users and orgs) can still be added easily

## Changelog

### 1.3.1
[Fixed] Undefined function `esc_html_` in main settings page
### 1.3.1
[Fixed] Fatal error undefined `esc_html_`

### 1.3.0
[Added] Plugin Settings Page (under Admin > Settings > Manage CP Repos)
Expand Down
14 changes: 7 additions & 7 deletions tukutoi-cp-directory-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
die;
}

/**
Expand All @@ -51,8 +51,8 @@
* Full security checks are performed inside the class.
*/
function cp_plgn_drctry_activate() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-cp-plgn-drctry-activator.php';
Cp_Plgn_Drctry_Activator::activate();
require_once plugin_dir_path( __FILE__ ) . 'includes/class-cp-plgn-drctry-activator.php';
Cp_Plgn_Drctry_Activator::activate();
}

/**
Expand All @@ -62,8 +62,8 @@ function cp_plgn_drctry_activate() {
* Full security checks are performed inside the class.
*/
function cp_plgn_drctry_deactivate() {
require_once plugin_dir_path( __FILE__ ) . 'includes/class-cp-plgn-drctry-deactivator.php';
Cp_Plgn_Drctry_Deactivator::deactivate();
require_once plugin_dir_path( __FILE__ ) . 'includes/class-cp-plgn-drctry-deactivator.php';
Cp_Plgn_Drctry_Deactivator::deactivate();
}

register_activation_hook( __FILE__, 'cp_plgn_drctry_activate' );
Expand All @@ -89,8 +89,8 @@ function cp_plgn_drctry_deactivate() {
*/
function cp_plgn_drctry_run() {

$plugin = new Cp_Plgn_Drctry();
$plugin->run();
$plugin = new Cp_Plgn_Drctry();
$plugin->run();

}
add_action( 'init', 'cp_plgn_drctry_run' );

0 comments on commit 6e39367

Please sign in to comment.