plugin updates
This commit is contained in:
@@ -318,7 +318,12 @@ $current_section = isset( $_GET['section'] ) ? sanitize_text_field( $_GET
|
||||
<td>
|
||||
<?php
|
||||
if ( empty( $contact_settings['contact-page-id'] ) && ! empty( $contact_settings['url'] ) ) {
|
||||
$contact_settings['contact-page-id'] = wpcom_vip_url_to_postid( $contact_settings['url'] );
|
||||
|
||||
if ( function_exists( 'wpcom_vip_url_to_postid' ) ) {
|
||||
$contact_settings['contact-page-id'] = wpcom_vip_url_to_postid( $contact_settings['url'] );
|
||||
} else {
|
||||
$contact_settings['contact-page-id'] = url_to_postid( $contact_settings['url'] );
|
||||
}
|
||||
}
|
||||
?>
|
||||
<select class = ' wp-select2 wpsp-setup-configuration-settings' name="wp-schema-pro-corporate-contact[contact-page-id]">
|
||||
|
||||
Reference in New Issue
Block a user