Plugin Directory

Changeset 2509604


Ignore:
Timestamp:
04/05/2021 06:40:11 PM (5 years ago)
Author:
nilsnolde
Message:

fix Gitlab URLs for subdirectory markdown paths

Location:
documents-from-git/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • documents-from-git/trunk/documents-git.php

    r2386570 r2509604  
    44 * Plugin URI: https://github.com/gis-ops/wordpress-markdown-git
    55 * Description: Render and cache various document formats in any post/page directly from a remote Git repository of your favorite platform via shortcodes. Currently supported: Markdown, Jupyter Notebooks.
    6  * Version:     1.1.0
     6 * Version:     1.1.1
    77 * Author:      GIS-OPS UG
    88 * Author URI:  https://gis-ops.com
  • documents-from-git/trunk/includes/providers/class-gitlab-loader.php

    r2386570 r2509604  
    6767        $exploded_path_last = explode('/', $exploded_path[1]);
    6868        $branch = $exploded_path_last[1];
    69         $file_path = implode('/', array_slice($exploded_path_last, 2));
     69        $file_path = urlencode(implode('/', array_slice($exploded_path_last, 2)));
    7070
    7171        $this->domain = $domain;
  • documents-from-git/trunk/readme.txt

    r2386570 r2509604  
    77Author: GIS-OPS UG
    88Requires at least: 5.0.0
    9 Tested up to: 5.5.1
     9Tested up to: 5.7.0
    1010Requires PHP: 7.0
    11 Stable tag: 1.1.0
    12 Version: 1.1.0
     11Stable tag: 1.1.1
     12Version: 1.1.1
    1313License: GPLv3
    1414License URI: https://github.com/gis-ops/wordpress-markdown-git/blob/master/LICENSE
     
    228228== Changelog ==
    229229
     230= v1.1.1 =
     231* fix Gitlab URLs for subdirectory markdown paths
     232
    230233= v1.1.0 =
    231234* implement static caching
Note: See TracChangeset for help on using the changeset viewer.