Changeset 6537 for trunk/src/includes/admin/classes/class-bbp-converter.php
- Timestamp:
- 06/13/2017 05:30:47 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/admin/classes/class-bbp-converter.php
r6514 r6537 83 83 public function admin_head() { 84 84 85 // Variables86 $bbp = bbpress();87 $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';88 $repair_url = add_query_arg( array(89 'page' => 'bbp-repair'90 ), admin_url() );91 92 85 // Enqueue scripts 93 wp_enqueue_script( 'postbox' ); 94 wp_enqueue_script( 'dashboard' ); 95 wp_enqueue_script( 'bbp-converter', $bbp->admin->js_url . 'converter' . $suffix . '.js', array( 'jquery', 'postbox' ), $bbp->version ); 86 wp_enqueue_script( 'bbp-converter' ); 96 87 97 88 // Localize JS … … 119 110 120 111 // Import 121 'import_success' => sprintf( esc_html__( 'Repair any missing information: %s', 'bbpress' ), '<a href="' . esc_url( $repair_url ) . '">' . esc_html__( 'Continue', 'bbpress' ) . '</a>' ),122 112 'import_complete' => esc_html__( 'Import Finished', 'bbpress' ), 123 113 'import_stopped_user' => esc_html__( 'Import Stopped (by User)', 'bbpress' ),
Note: See TracChangeset
for help on using the changeset viewer.