[wp-meta] [Making WordPress.org] #5151: Update Edit link to not include branch for Gutenberg Developer Documentation
Making WordPress.org
noreply at wordpress.org
Wed Apr 15 19:18:21 UTC 2020
#5151: Update Edit link to not include branch for Gutenberg Developer
Documentation
-----------------------+--------------------
Reporter: mkaz | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Handbooks | Keywords:
-----------------------+--------------------
The Github Edit link at the top of Gutenberg developer documentation links
to the `wp/5.4` branch because that is where the docs are coming from.
Example: https://developer.wordpress.org/block-editor/developers/
When a user clicks Edit to make a change, the PR created is against that
branch, but we don't want to commit against the branch, but upstream
against the master branch.
So ideally we can alter so the Edit button will go against master and not
the branch.
I believe the code with the edit link is here:
https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/themes/pub/wporg-developer/inc/import-block-editor.php#L190
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5151>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list