Changeset 2611917
- Timestamp:
- 10/09/2021 04:44:18 PM (4 years ago)
- Location:
- documents-from-git
- Files:
-
- 8 edited
- 1 copied
-
tags/2.2.0 (copied) (copied from documents-from-git/trunk)
-
tags/2.2.0/documents-git.php (modified) (1 diff)
-
tags/2.2.0/includes/RationalOptionPages.php (modified) (3 diffs)
-
tags/2.2.0/includes/providers/class-base-loader.php (modified) (1 diff)
-
tags/2.2.0/readme.txt (modified) (2 diffs)
-
trunk/documents-git.php (modified) (1 diff)
-
trunk/includes/RationalOptionPages.php (modified) (3 diffs)
-
trunk/includes/providers/class-base-loader.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
documents-from-git/tags/2.2.0/documents-git.php
r2550839 r2611917 4 4 * Plugin URI: https://github.com/gis-ops/wordpress-markdown-git 5 5 * Description: Render and cache various document formats in any post or page directly from a remote Git repository of your favorite platform via shortcodes. Currently supported: Markdown, Jupyter Notebooks. 6 * Version: 2. 1.06 * Version: 2.2.0 7 7 * Author: GIS-OPS UG 8 8 * Author URI: https://gis-ops.com -
documents-from-git/tags/2.2.0/includes/RationalOptionPages.php
r2535011 r2611917 253 253 } 254 254 255 call_user_func_array( 'add_settings_section', $params);255 call_user_func_array( 'add_settings_section', array_values($params) ); 256 256 257 257 if ( !empty( $section_params['fields'] ) ) { … … 280 280 } 281 281 282 call_user_func_array( 'add_settings_field', $params);282 call_user_func_array( 'add_settings_field',array_values($params)); 283 283 } 284 284 } … … 303 303 $params['callback'] = array( $this, $params['callback'] ); 304 304 305 call_user_func_array( $page['function'], $params);305 call_user_func_array( $page['function'], array_values($params)); 306 306 } 307 307 } -
documents-from-git/tags/2.2.0/includes/providers/class-base-loader.php
r2535000 r2611917 175 175 $page_opts = get_option('settings_markdowngit', array()); 176 176 $GITHUB_USER = ($page_opts['github_user']); 177 $GITHUB_TOKEN = ($page_opts[' secret']);177 $GITHUB_TOKEN = ($page_opts['github_secret']); 178 178 if (!empty($GITHUB_USER) or !empty($GITHUB_TOKEN)) { 179 179 $args['headers']['Authorization'] = 'Basic ' . base64_encode($GITHUB_USER . ':' . $GITHUB_TOKEN); -
documents-from-git/tags/2.2.0/readme.txt
r2550839 r2611917 7 7 Author: GIS-OPS UG 8 8 Requires at least: 5.0.0 9 Tested up to: 5. 7.29 Tested up to: 5.8.1 10 10 Requires PHP: 7.0 11 Stable tag: 2. 1.012 Version: 2. 1.011 Stable tag: 2.2.0 12 Version: 2.2.0 13 13 License: GPLv3 14 14 License URI: https://github.com/gis-ops/wordpress-markdown-git/blob/master/LICENSE … … 235 235 == Changelog == 236 236 237 = v2.2.0 = 238 * plugin didn't authenticate correctly to Github 239 237 240 = v2.1.0 = 238 241 * styles were not enqueued properly which led to default markdown rendering -
documents-from-git/trunk/documents-git.php
r2550839 r2611917 4 4 * Plugin URI: https://github.com/gis-ops/wordpress-markdown-git 5 5 * Description: Render and cache various document formats in any post or page directly from a remote Git repository of your favorite platform via shortcodes. Currently supported: Markdown, Jupyter Notebooks. 6 * Version: 2. 1.06 * Version: 2.2.0 7 7 * Author: GIS-OPS UG 8 8 * Author URI: https://gis-ops.com -
documents-from-git/trunk/includes/RationalOptionPages.php
r2535011 r2611917 253 253 } 254 254 255 call_user_func_array( 'add_settings_section', $params);255 call_user_func_array( 'add_settings_section', array_values($params) ); 256 256 257 257 if ( !empty( $section_params['fields'] ) ) { … … 280 280 } 281 281 282 call_user_func_array( 'add_settings_field', $params);282 call_user_func_array( 'add_settings_field',array_values($params)); 283 283 } 284 284 } … … 303 303 $params['callback'] = array( $this, $params['callback'] ); 304 304 305 call_user_func_array( $page['function'], $params);305 call_user_func_array( $page['function'], array_values($params)); 306 306 } 307 307 } -
documents-from-git/trunk/includes/providers/class-base-loader.php
r2535000 r2611917 175 175 $page_opts = get_option('settings_markdowngit', array()); 176 176 $GITHUB_USER = ($page_opts['github_user']); 177 $GITHUB_TOKEN = ($page_opts[' secret']);177 $GITHUB_TOKEN = ($page_opts['github_secret']); 178 178 if (!empty($GITHUB_USER) or !empty($GITHUB_TOKEN)) { 179 179 $args['headers']['Authorization'] = 'Basic ' . base64_encode($GITHUB_USER . ':' . $GITHUB_TOKEN); -
documents-from-git/trunk/readme.txt
r2550839 r2611917 7 7 Author: GIS-OPS UG 8 8 Requires at least: 5.0.0 9 Tested up to: 5. 7.29 Tested up to: 5.8.1 10 10 Requires PHP: 7.0 11 Stable tag: 2. 1.012 Version: 2. 1.011 Stable tag: 2.2.0 12 Version: 2.2.0 13 13 License: GPLv3 14 14 License URI: https://github.com/gis-ops/wordpress-markdown-git/blob/master/LICENSE … … 235 235 == Changelog == 236 236 237 = v2.2.0 = 238 * plugin didn't authenticate correctly to Github 239 237 240 = v2.1.0 = 238 241 * styles were not enqueued properly which led to default markdown rendering
Note: See TracChangeset
for help on using the changeset viewer.