@@ 113-118 (lines=6) @@ | ||
110 | delete_option( '_wpghs_export_started' ); |
|
111 | } |
|
112 | ||
113 | if ( $message = get_option( '_wpghs_export_error' ) ) { ?> |
|
114 | <div class="error"> |
|
115 | <p><?php esc_html_e( 'Export to GitHub failed with error:', 'wordpress-github-sync' ); ?> <?php echo esc_html( $message );?></p> |
|
116 | </div><?php |
|
117 | delete_option( '_wpghs_export_error' ); |
|
118 | } |
|
119 | ||
120 | if ( 'yes' === get_option( '_wpghs_export_complete' ) ) { ?> |
|
121 | <div class="updated"> |
|
@@ 134-139 (lines=6) @@ | ||
131 | delete_option( '_wpghs_import_started' ); |
|
132 | } |
|
133 | ||
134 | if ( $message = get_option( '_wpghs_import_error' ) ) { ?> |
|
135 | <div class="error"> |
|
136 | <p><?php esc_html_e( 'Import to GitHub failed with error:', 'wordpress-github-sync' ); ?> <?php echo esc_html( $message );?></p> |
|
137 | </div><?php |
|
138 | delete_option( '_wpghs_import_error' ); |
|
139 | } |
|
140 | ||
141 | if ( 'yes' === get_option( '_wpghs_import_complete' ) ) { ?> |
|
142 | <div class="updated"> |