diff --git a/assets/js/revisr-staging.js b/assets/js/revisr-staging.js
index c91b85f9..b4cfad70 100755
--- a/assets/js/revisr-staging.js
+++ b/assets/js/revisr-staging.js
@@ -45,6 +45,10 @@ jQuery(document).ready(function($) {
$.post(ajaxurl, data, function(response) {
document.getElementById('pending_files_result').innerHTML = response;
+ old_title = document.getElementById('title');
+ new_title = document.getElementById('title-tmp');
+ document.getElementById('titlewrap').replaceChild(new_title, old_title);
+ new_title.id = 'title';
});
}
diff --git a/classes/class-revisr-admin-pages.php b/classes/class-revisr-admin-pages.php
index e6e77e84..eabb5c83 100644
--- a/classes/class-revisr-admin-pages.php
+++ b/classes/class-revisr-admin-pages.php
@@ -277,6 +277,19 @@ public function site5_notice() {
+
+
reset();
+ //$this->reset();
$pull = $this->run( 'pull', array( '-Xtheirs', '--quiet', $this->remote, $this->branch ), __FUNCTION__, $commits );
return $pull;
}
diff --git a/classes/class-revisr-meta-boxes.php b/classes/class-revisr-meta-boxes.php
index 15fe0669..8a70276f 100644
--- a/classes/class-revisr-meta-boxes.php
+++ b/classes/class-revisr-meta-boxes.php
@@ -61,7 +61,9 @@ public function pending_files() {
check_ajax_referer( 'staging_nonce', 'security' );
$output = revisr()->git->status();
$total_pending = count( $output );
- $text = sprintf( __( 'There are %s untracked files that can be added to this commit.', 'revisr' ), $total_pending, revisr()->git->branch );
+ $commit_items = array(); // Categorize the changed files into categories for automated commit message creation
+ $unstaged = array(); // Store changes that do not match wp-content/plugins/plugin-name/ or wp-content/plugins/plugin-name.php
+ $text = sprintf( __( 'There are %s untracked files that can be added to this commit.', 'revisr' ), $total_pending, revisr()->git->branch );
echo " " . $text . "
";
_e( 'Use the boxes below to select the files to include in this commit. Only files in the "Staged Files" section will be included. Double-click files marked as "Modified" to view the changes to the file.
', 'revisr' );
if ( is_array( $output ) ) {
@@ -69,15 +71,37 @@ public function pending_files() {