Ticket #8362: 8362.1.patch
File 8362.1.patch, 678 bytes (added by , 4 years ago) |
---|
-
src/bp-core/admin/bp-core-admin-slugs.php
143 143 'selected' => !empty( $existing_pages[$name] ) ? $existing_pages[$name] : false 144 144 ) ); ?> 145 145 146 <?php if ( ! empty( $existing_pages[$name] ) ) : ?>146 <?php if ( ! empty( $existing_pages[ $name ] ) && get_post( $existing_pages[ $name ] ) ) : ?> 147 147 148 148 <a href="<?php echo esc_url( get_permalink( $existing_pages[$name] ) ); ?>" class="button-secondary" target="_bp"> 149 149 <?php _e( 'View', 'buddypress' ); ?> <span class="dashicons dashicons-external" aria-hidden="true"></span>