Changeset 1028979
- Timestamp:
- 11/19/2014 09:46:07 PM (11 years ago)
- Location:
- revisr/trunk
- Files:
-
- 8 edited
-
README.md (modified) (1 diff)
-
includes/class-revisr-admin.php (modified) (1 diff)
-
includes/class-revisr-process.php (modified) (1 diff)
-
includes/class-revisr-remote.php (modified) (1 diff)
-
includes/class-revisr-settings-fields.php (modified) (3 diffs)
-
includes/class-revisr-settings.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
-
revisr.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
revisr/trunk/README.md
r1018558 r1028979 50 50 51 51 ## Changelog ## 52 53 #### 1.8.1 #### 54 * Fixed bug resulting from changes in WordPress 4.1 55 * Fixed bug with storing webhook URL in some environments 52 56 53 57 #### 1.8 #### -
revisr/trunk/includes/class-revisr-admin.php
r1018558 r1028979 265 265 if ( is_array( $committed_files ) ) { 266 266 foreach ( $committed_files as $file ) { 267 $output = unserialize( $file );267 $output = maybe_unserialize( $file ); 268 268 } 269 269 } -
revisr/trunk/includes/class-revisr-process.php
r1018558 r1028979 209 209 if ( $from_dash == false ) { 210 210 211 if ( $this->git->config_revisr_option( ' import-pulls' ) !== 'true' ) {211 if ( $this->git->config_revisr_option( 'auto-pull' ) !== 'true' ) { 212 212 wp_die( __( 'Cheatin’ uh?', 'revisr' ) ); 213 213 } -
revisr/trunk/includes/class-revisr-remote.php
r1018558 r1028979 93 93 94 94 if ( $get_url !== false ) { 95 $webhook = $get_url;95 $webhook = urldecode( $get_url ); 96 96 $request = wp_remote_post( $webhook, $args ); 97 97 if ( is_wp_error( $request ) ) { -
revisr/trunk/includes/class-revisr-settings-fields.php
r1018558 r1028979 200 200 printf( 201 201 '<input type="checkbox" id="notifications" name="revisr_general_settings[notifications]" %s /> 202 <label for="notifications"><span class="description">%s</span></ span>',202 <label for="notifications"><span class="description">%s</span></label>', 203 203 isset( $this->options['notifications'] ) ? "checked" : '', 204 204 __( 'Enabling notifications will send updates about new commits, pulls, and pushes to the email address above.', 'revisr' ) … … 272 272 $get_url = $this->git->config_revisr_url( 'webhook' ); 273 273 if ( $get_url !== false ) { 274 $webhook_url = $get_url;274 $webhook_url = urldecode($get_url); 275 275 } else { 276 276 $webhook_url = ''; … … 333 333 <label for="auto_pull">%s</label>', 334 334 $checked, 335 __( 'Check to allow Revisr to automatically pull commits from a remote repository.', 'revisr' )335 __( 'Check to generate the Revisr Webhook and allow Revisr to automatically pull commits from a remote repository.', 'revisr' ) 336 336 ); 337 337 $remote = new Revisr_Remote(); -
revisr/trunk/includes/class-revisr-settings.php
r1018558 r1028979 185 185 register_setting( 186 186 'revisr_remote_settings', 187 'revisr_remote_settings' 187 'revisr_remote_settings', 188 array( $this, 'sanitize_remote' ) 188 189 ); 189 190 register_setting( … … 192 193 ); 193 194 } 195 196 /** 197 * Sanitizes the "Remote Settings" fields so that URL's can be stored. 198 * @access public 199 * @param array $input The data from the form. 200 * @return array 201 */ 202 public function sanitize_remote( $input ) { 203 if ( isset( $input['webhook_url'] ) ) { 204 $input['webhook_url'] = urlencode( $input['webhook_url'] ); 205 } 206 return $input; 207 } 194 208 } -
revisr/trunk/readme.txt
r1018558 r1028979 1 1 === Revisr === 2 2 Contributors: ExpandedFronts 3 Tags: revisr, git, git management, revision tracking, revision, backup, database, database backup, database plugin, deploy, commit, bitbucket, github 3 Tags: revisr, git, git management, revision tracking, revision, backup, database, database backup, database plugin, deploy, commit, bitbucket, github, version control 4 4 Requires at least: 3.7 5 5 Tested up to: 4.0 … … 34 34 = Instructions = 35 35 * Unzip the plugin folder and upload it to the plugins directory of your WordPress installation. 36 * If the WordPress installation is not already in a Git repository, you will be prompted to initialize a new one.37 * Configure the plugin settings.36 * If the WordPress installation is not already in a Git repository, you will be able to create a new one in the Revisr Dashboard. 37 * Go to the Revisr settings page and adjust any settings as needed. 38 38 39 39 = Notes = … … 79 79 80 80 == Changelog == 81 82 = 1.8.1 = 83 * Fixed bug resulting from changes in WordPress 4.1 84 * Fixed bug with storing webhook URL in some environments 81 85 82 86 = 1.8 = -
revisr/trunk/revisr.php
r1018558 r1028979 9 9 * Plugin URI: http://revisr.io/ 10 10 * Description: A plugin that allows users to manage WordPress websites with Git repositories. 11 * Version: 1.8 11 * Version: 1.8.1 12 12 * Author: Expanded Fronts, LLC 13 13 * Author URI: http://expandedfronts.com/
Note: See TracChangeset
for help on using the changeset viewer.