rebase on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:23:21 -04:00
parent d37566ffb6
commit d096058d7d
4789 changed files with 254611 additions and 307223 deletions

View File

@@ -148,7 +148,7 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
?>
</p>
</td>
</tr>
</tr>
<tr>
<th colspan="2">
<input type="submit" class="button-primary" value="<?php esc_html_e( 'Save Changes', 'wp-schema-pro' ); ?>" />
@@ -183,7 +183,7 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
<form method="post" action="options.php">
<?php settings_fields( 'wp-schema-pro-social-profiles-group' ); ?>
<?php do_settings_sections( 'wp-schema-pro-social-profiles-group' ); ?>
<?php do_settings_sections( 'wp-schema-pro-social-profiles-group' ); ?>
<table id="repeatable-fieldset-one" class="form-table">
<tr>
<th><?php esc_html_e( 'Facebook', 'wp-schema-pro' ); ?></th>
@@ -228,7 +228,7 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
<tr style="display:none">
<th><?php esc_html_e( 'Google+', 'wp-schema-pro' ); ?></th>
<td><input type="url" name="wp-schema-pro-social-profiles[google-plus]" value="<?php echo esc_attr( $settings['google-plus'] ); ?>" placeholder="<?php echo esc_attr( 'Enter URL' ); ?>" /></td>
</tr>
</tr>
<?php
if ( isset( $settings ) && ! empty( $settings ) && isset( $settings['other'] ) ) {
foreach ( $settings['other'] as $sub_social_profiles => $value ) {
@@ -255,7 +255,7 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
<input type="submit" class="button-primary" value="<?php esc_html_e( 'Save Changes', 'wp-schema-pro' ); ?>" />
</th>
</tr>
</table>
</table>
</form>
</div>
</div>
@@ -308,7 +308,7 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
<th><?php esc_html_e( 'Other Contact Type ', 'wp-schema-pro' ); ?>
</th>
<td><input type="text" name="wp-schema-pro-corporate-contact[contact-type-other]" value="<?php echo esc_attr( $contact_settings['contact-type-other'] ); ?>" /></td>
</tr>
</tr>
<tr>
<th><?php esc_html_e( 'Contact Page URL', 'wp-schema-pro' ); ?>
</th>
@@ -380,10 +380,10 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
<input type="checkbox" name="wp-schema-pro-corporate-contact[cp-schema-type]" <?php checked( '1', $contact_settings ['cp-schema-type'] ); ?> value="1" /> <?php esc_html_e( 'Yes', 'wp-schema-pro' ); ?>
</label>
</td>
</tr>
</tr>
</tbody>
</table>
<table class="form-table .contact-form">
</table>
<table class="form-table .contact-form">
<tr>
<th colspan="2">
@@ -601,7 +601,7 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
</div>
</div>
<?php if ( 'disabled' === $sp_hide_label ) { ?>
<div id="side-sortables" style="">
<div id="side-sortables" style="min-height: 0px;">
<div class="postbox">
<h2 class="hndle"><span><?php esc_html_e( 'Knowledge Base', 'wp-schema-pro' ); ?></span></h2>
<div class="inside">
@@ -615,6 +615,21 @@ $current_section = isset( $_GET['section'] ) ? $_GET['section'] : 'genera
</div>
</div>
<?php } ?>
<?php
if ( bsf_display_rollback_version_form( 'wp-schema-pro' ) ) {
?>
<div id="side-sortables" style="">
<div class="postbox">
<h2 class="hndle"><span><?php esc_html_e( 'Rollback Version', 'wp-schema-pro' ); ?></span></h2>
<div class="inside">
<?php
$product_id = 'wp-schema-pro';
bsf_get_version_rollback_form( $product_id );
?>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
</div>