Changeset 11814
- Timestamp:
- 05/04/2022 07:09:14 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-release-confirmation.php
r11806 r11814 25 25 26 26 if ( ! $plugins ) { 27 wp_safe_redirect( home_url( '/developers/' ) ); 28 // Redirect via JS too, as technically the page output should've already started (but probably hasn't on WordPress.org) 27 if ( ! headers_sent() ) { 28 wp_safe_redirect( home_url( '/developers/' ) ); 29 } 30 31 // Redirect via JS too, as technically the page output should've already started. 29 32 echo '<script>document.location=' . json_encode( home_url( '/developers/' ) ) . '</script>'; 30 33 exit;
Note: See TracChangeset
for help on using the changeset viewer.