Skip to content

Commit

Permalink
Merge pull request #2065 from rtCamp/fix/rtm-pro-issue-1446
Browse files Browse the repository at this point in the history
Error shown when a post/page is published with short code generator
  • Loading branch information
the-hercules authored Sep 6, 2024
2 parents 6ee7ace + 925d4ac commit 975da7a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions app/main/RTMedia.php
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,21 @@ public function enqueue_scripts_styles() {

wp_localize_script( 'rtmedia-backbone', 'rtMedia_update_plupload_config', $params );
}
wp_register_script(
'bp-nouveau',
plugins_url( 'buddypress/bp-templates/bp-nouveau/js/buddypress-nouveau.js' ),
array( 'jquery' ),
'1.0',
true
);

wp_register_script(
'rtmedia-backbone',
plugins_url( 'rtmedia/app/assets/js/rtmedia.backbone.js' ),
array( 'jquery' ),
'1.0',
true
);
if ( function_exists( 'bp_nouveau' ) ) {
wp_enqueue_script(
'rtmedia-activity',
Expand Down

0 comments on commit 975da7a

Please sign in to comment.