Skip to content

Commit

Permalink
chore: remove in-plugin debug var
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed Jul 12, 2024
1 parent fb30c51 commit 0de2add
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tweet-old-post.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,6 @@ function run_rop() {

define( 'ROP_LITE_VERSION', '9.0.31' );
define( 'ROP_LITE_BASE_FILE', __FILE__ );
$debug = false;
if ( function_exists( 'wp_get_environment_type' ) ) {
if ( wp_get_environment_type() !== 'production' ) {
$debug = true;
}
}
define( 'ROP_DEBUG', $debug );
define( 'ROP_LITE_PATH', plugin_dir_path( __FILE__ ) );
define( 'ROP_PRO_PATH', WP_PLUGIN_DIR . '/tweet-old-post-pro/' );
define( 'ROP_PATH', plugin_dir_path( __FILE__ ) );
Expand Down

0 comments on commit 0de2add

Please sign in to comment.