Changeset 12718
- Timestamp:
- 09/11/2020 07:37:47 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-admin-slugs.php
r12588 r12718 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"> … … 228 228 ) ) ?> 229 229 230 <?php if ( ! empty( $existing_pages[$name] ) ) : ?>230 <?php if ( ! empty( $existing_pages[ $name ] ) && get_post( $existing_pages[ $name ] ) ) : ?> 231 231 232 232 <a href="<?php echo get_permalink( $existing_pages[$name] ); ?>" class="button-secondary" target="_bp"><?php _e( 'View', 'buddypress' ); ?></a>
Note: See TracChangeset
for help on using the changeset viewer.