Skip to content

Commit

Permalink
Fix 6.7 translation loaded early issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iftakharul-islam committed Nov 28, 2024
1 parent a8cfafc commit b82776b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cpm.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@
define( 'PM_BASENAME', plugin_basename(__FILE__) );
define( 'PM_PLUGIN_ASSEST', plugins_url( 'views/assets', __FILE__ ) );

require __DIR__.'/bootstrap/start.php';
add_action('init',function(){

require __DIR__.'/bootstrap/start.php';

});

0 comments on commit b82776b

Please sign in to comment.