Changeset 10734
- Timestamp:
- 03/01/2021 08:51:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php
r9963 r10734 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( … … 287 287 288 288 /** 289 * Modifies the GitHub edit URL to point to masterinstead 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. … … 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
Note: See TracChangeset
for help on using the changeset viewer.