diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php
index e04b5b9e6..cb3c17db3 100644
|
a
|
b
|
class DevHub_Block_Editor_Importer extends DevHub_Docs_Importer { |
| 5 | 5 | * Initializes object. |
| 6 | 6 | */ |
| 7 | 7 | public function init() { |
| 8 | | $manifest = 'https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/manifest.json'; |
| | 8 | $manifest = 'https://raw.githubusercontent.com/WordPress/gutenberg/trunk/docs/manifest.json'; |
| 9 | 9 | |
| 10 | 10 | parent::do_init( |
| 11 | 11 | 'blocks', |
| … |
… |
class DevHub_Block_Editor_Importer extends DevHub_Docs_Importer { |
| 286 | 286 | } |
| 287 | 287 | |
| 288 | 288 | /** |
| 289 | | * Modifies the GitHub edit URL to point to master instead of the imported branch. |
| | 289 | * Modifies the GitHub edit URL to point to trunk instead of the imported branch. |
| 290 | 290 | * |
| 291 | 291 | * @param string $link The link to edit the post on GitHub. |
| 292 | 292 | * @param int $post_id The post ID. |
| … |
… |
class DevHub_Block_Editor_Importer extends DevHub_Docs_Importer { |
| 294 | 294 | */ |
| 295 | 295 | public function wporg_markdown_edit_link( $link, $post_id ) { |
| 296 | 296 | if ( $this->get_post_type() === get_post_type( $post_id ) ) { |
| 297 | | $link = str_replace( '/wp/' . WP_CORE_STABLE_BRANCH . '/', '/master/', $link ); |
| | 297 | $link = str_replace( '/wp/' . WP_CORE_STABLE_BRANCH . '/', '/trunk/', $link ); |
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | return $link; |