plugin updates

This commit is contained in:
Tony Volpe
2024-03-01 15:36:30 +00:00
parent ac0ffd7543
commit ed1533dc69
223 changed files with 7575 additions and 2953 deletions

View File

@@ -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]">