From f11e235b23ef8f5e5d33bdce5c3bdea36bfcdb28 Mon Sep 17 00:00:00 2001 From: stephywells Date: Tue, 25 Jun 2024 16:44:19 -0600 Subject: [PATCH] fix stubs --- stubs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs.php b/stubs.php index f6d572d0f..1a1421336 100644 --- a/stubs.php +++ b/stubs.php @@ -30,7 +30,7 @@ define( 'AWPCP_DIR', dirname( __FILE__ ) ); define( 'AWPCP_FILE', AWPCP_DIR . '/awpcp.php' ); - define( 'AWPCP_URL', rtrim( plugin_dir_url( AWPCP_FILE ), '/' ) ); + define( 'AWPCP_URL', 'http://example.com/wp-content/plugins/' . basename( AWPCP_DIR ) . '/awpcp.php' ); define( 'AWPCP_BASENAME', basename( AWPCP_DIR ) . '/awpcp.php' ); define( 'AWPCP_TABLE_ADFEES', 'wp_awpcp_adfees' );