Changeset 9193
- Timestamp:
- 11/26/2014 10:19:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/admin/bp-core-slugs.php
r7965 r9193 102 102 ) ); ?> 103 103 104 <a href="<?php echo admin_url( add_query_arg( array( 'post_type' => 'page' ), 'post-new.php' ) ); ?>" class="button-secondary"><?php _e( 'New Page', 'buddypress' ); ?></a>105 <input class="button-primary" type="submit" name="bp-admin-pages-single" value="<?php esc_attr_e( 'Save', 'buddypress' ) ?>" />106 107 104 <?php if ( !empty( $existing_pages[$name] ) ) : ?> 108 105 … … 165 162 ) ) ?> 166 163 167 <a href="<?php echo admin_url( add_query_arg( array( 'post_type' => 'page' ), 'post-new.php' ) ); ?>" class="button-secondary"><?php _e( 'New Page', 'buddypress' ); ?></a>168 <input class="button-primary" type="submit" name="bp-admin-pages-single" value="<?php esc_attr_e( 'Save', 'buddypress' ) ?>" />169 170 164 <?php if ( !empty( $existing_pages[$name] ) ) : ?> 171 165 … … 198 192 function bp_core_admin_slugs_setup_handler() { 199 193 200 if ( isset( $_POST['bp-admin-pages-submit'] ) || isset( $_POST['bp-admin-pages-single'] )) {194 if ( isset( $_POST['bp-admin-pages-submit'] ) ) { 201 195 if ( !check_admin_referer( 'bp-admin-pages-setup' ) ) 202 196 return false;
Note: See TracChangeset
for help on using the changeset viewer.