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

@@ -61,7 +61,7 @@ $setting_url = self::get_page_url( 'branding-settings' );
</tr>
<tr>
<th><?php esc_html_e( 'Author / Agency URL', 'wp-schema-pro' ); ?></th>
<td><input type="text" name="wp-schema-pro-branding-settings[sp_plugin_author_url]" placeholder="http://www.brainstormforce.com" value="<?php echo esc_attr( $sp_author_url ); ?>" class="regular-text sp_plugin_author_url" /></td>
<td><input type="text" name="wp-schema-pro-branding-settings[sp_plugin_author_url]" placeholder="https://www.brainstormforce.com" value="<?php echo esc_attr( $sp_author_url ); ?>" class="regular-text sp_plugin_author_url" /></td>
</tr>
<tr>
<th scope="row" class="tooltip-with-image-wrapper">

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