Plugin Directory

Changeset 2611917


Ignore:
Timestamp:
10/09/2021 04:44:18 PM (4 years ago)
Author:
nilsnolde
Message:

release 2.2.0

Location:
documents-from-git
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • documents-from-git/tags/2.2.0/documents-git.php

    r2550839 r2611917  
    44 * Plugin URI: https://github.com/gis-ops/wordpress-markdown-git
    55 * 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.0
     6 * Version:     2.2.0
    77 * Author:      GIS-OPS UG
    88 * Author URI:  https://gis-ops.com
  • documents-from-git/tags/2.2.0/includes/RationalOptionPages.php

    r2535011 r2611917  
    253253                    }
    254254
    255                     call_user_func_array( 'add_settings_section', $params );
     255                    call_user_func_array( 'add_settings_section', array_values($params) );
    256256
    257257                    if ( !empty( $section_params['fields'] ) ) {
     
    280280                            }
    281281
    282                             call_user_func_array( 'add_settings_field', $params );
     282                            call_user_func_array( 'add_settings_field',array_values($params));
    283283                        }
    284284                    }
     
    303303            $params['callback'] = array( $this, $params['callback'] );
    304304
    305             call_user_func_array( $page['function'], $params );
     305            call_user_func_array( $page['function'], array_values($params));
    306306        }
    307307    }
  • documents-from-git/tags/2.2.0/includes/providers/class-base-loader.php

    r2535000 r2611917  
    175175        $page_opts = get_option('settings_markdowngit', array());
    176176        $GITHUB_USER = ($page_opts['github_user']);
    177         $GITHUB_TOKEN = ($page_opts['secret']);
     177        $GITHUB_TOKEN = ($page_opts['github_secret']);
    178178        if (!empty($GITHUB_USER) or !empty($GITHUB_TOKEN)) {
    179179            $args['headers']['Authorization'] = 'Basic ' . base64_encode($GITHUB_USER . ':' . $GITHUB_TOKEN);
  • documents-from-git/tags/2.2.0/readme.txt

    r2550839 r2611917  
    77Author: GIS-OPS UG
    88Requires at least: 5.0.0
    9 Tested up to: 5.7.2
     9Tested up to: 5.8.1
    1010Requires PHP: 7.0
    11 Stable tag: 2.1.0
    12 Version: 2.1.0
     11Stable tag: 2.2.0
     12Version: 2.2.0
    1313License: GPLv3
    1414License URI: https://github.com/gis-ops/wordpress-markdown-git/blob/master/LICENSE
     
    235235== Changelog ==
    236236
     237= v2.2.0 =
     238* plugin didn't authenticate correctly to Github
     239
    237240= v2.1.0 =
    238241* styles were not enqueued properly which led to default markdown rendering
  • documents-from-git/trunk/documents-git.php

    r2550839 r2611917  
    44 * Plugin URI: https://github.com/gis-ops/wordpress-markdown-git
    55 * 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.0
     6 * Version:     2.2.0
    77 * Author:      GIS-OPS UG
    88 * Author URI:  https://gis-ops.com
  • documents-from-git/trunk/includes/RationalOptionPages.php

    r2535011 r2611917  
    253253                    }
    254254
    255                     call_user_func_array( 'add_settings_section', $params );
     255                    call_user_func_array( 'add_settings_section', array_values($params) );
    256256
    257257                    if ( !empty( $section_params['fields'] ) ) {
     
    280280                            }
    281281
    282                             call_user_func_array( 'add_settings_field', $params );
     282                            call_user_func_array( 'add_settings_field',array_values($params));
    283283                        }
    284284                    }
     
    303303            $params['callback'] = array( $this, $params['callback'] );
    304304
    305             call_user_func_array( $page['function'], $params );
     305            call_user_func_array( $page['function'], array_values($params));
    306306        }
    307307    }
  • documents-from-git/trunk/includes/providers/class-base-loader.php

    r2535000 r2611917  
    175175        $page_opts = get_option('settings_markdowngit', array());
    176176        $GITHUB_USER = ($page_opts['github_user']);
    177         $GITHUB_TOKEN = ($page_opts['secret']);
     177        $GITHUB_TOKEN = ($page_opts['github_secret']);
    178178        if (!empty($GITHUB_USER) or !empty($GITHUB_TOKEN)) {
    179179            $args['headers']['Authorization'] = 'Basic ' . base64_encode($GITHUB_USER . ':' . $GITHUB_TOKEN);
  • documents-from-git/trunk/readme.txt

    r2550839 r2611917  
    77Author: GIS-OPS UG
    88Requires at least: 5.0.0
    9 Tested up to: 5.7.2
     9Tested up to: 5.8.1
    1010Requires PHP: 7.0
    11 Stable tag: 2.1.0
    12 Version: 2.1.0
     11Stable tag: 2.2.0
     12Version: 2.2.0
    1313License: GPLv3
    1414License URI: https://github.com/gis-ops/wordpress-markdown-git/blob/master/LICENSE
     
    235235== Changelog ==
    236236
     237= v2.2.0 =
     238* plugin didn't authenticate correctly to Github
     239
    237240= v2.1.0 =
    238241* styles were not enqueued properly which led to default markdown rendering
Note: See TracChangeset for help on using the changeset viewer.