Changeset 11951
- Timestamp:
- 07/08/2022 02:02:32 AM (2 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/inc/class-handbook.php
r8197 r11951 117 117 } 118 118 if ( 'github.com' !== parse_url( $markdown_source, PHP_URL_HOST ) 119 || false !== stripos( $markdown_source, '/edit/ma ster/' ) ) {119 || false !== stripos( $markdown_source, '/edit/main/' ) ) { 120 120 return $markdown_source; 121 121 } 122 $markdown_source = str_replace( '/blob/ma ster/', '/edit/master/', $markdown_source );122 $markdown_source = str_replace( '/blob/main/', '/edit/main/', $markdown_source ); 123 123 return $markdown_source; 124 124 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-cli/inc/class-markdown-import.php
r5489 r11951 8 8 class Markdown_Import { 9 9 10 private static $handbook_manifest = 'https://raw.githubusercontent.com/wp-cli/handbook/ma ster/bin/handbook-manifest.json';10 private static $handbook_manifest = 'https://raw.githubusercontent.com/wp-cli/handbook/main/bin/handbook-manifest.json'; 11 11 private static $input_name = 'wporg-cli-markdown-source'; 12 12 private static $meta_key = 'wporg_cli_markdown_source';
Note: See TracChangeset
for help on using the changeset viewer.