← All changes
|
jetpack_vendor/automattic/jetpack-masterbar/src/admin-menu/menu-mappings.php
+1
-21
13.6.2
→
16.3
View file →
| @@ -5,28 +5,8 @@ | ||
| 5 | 5 | * @package automattic/jetpack-masterbar |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | 8 | $common_mappings = array( |
| 9 | - 'upload.php' => 'https://wordpress.com/media/', | |
| 10 | - 'edit.php' => 'https://wordpress.com/posts/', | |
| 11 | - 'edit-comments.php' => 'https://wordpress.com/comments/', | |
| 12 | - 'import.php' => 'https://wordpress.com/import/', | |
| 13 | - 'edit.php?post_type=page' => 'https://wordpress.com/pages/', | |
| 14 | - 'edit.php?post_type=post' => 'https://wordpress.com/posts/', | |
| 15 | - 'users.php' => 'https://wordpress.com/people/team/', | |
| 16 | - 'options-general.php' => 'https://wordpress.com/settings/general/', | |
| 17 | - 'options-discussion.php' => 'https://wordpress.com/settings/discussion/', | |
| 18 | - 'options-reading.php' => 'https://wordpress.com/settings/reading/', | |
| 19 | - 'options-writing.php' => 'https://wordpress.com/settings/writing/', | |
| 20 | - 'themes.php' => 'https://wordpress.com/themes/', | |
| 21 | - 'edit-tags.php?taxonomy=category' => 'https://wordpress.com/settings/taxonomies/category/', | |
| 22 | - 'edit-tags.php?taxonomy=post_tag' => 'https://wordpress.com/settings/taxonomies/post_tag/', | |
| 23 | - 'edit.php?post_type=jetpack-portfolio' => 'https://wordpress.com/types/jetpack-portfolio/', | |
| 24 | - 'edit.php?post_type=jetpack-testimonial' => 'https://wordpress.com/types/jetpack-testimonial/', | |
| 9 | + 'users.php' => 'https://wordpress.com/people/team/', | |
| 25 | 10 | ); |
| 26 | - | |
| 27 | -if ( defined( 'IS_WPCOM' ) && IS_WPCOM ) { | |
| 28 | - // WPCOM Specific mappings. | |
| 29 | - $common_mappings['export.php'] = 'https://wordpress.com/export/'; | |
| 30 | -} | |
| 31 | 11 | |
| 32 | 12 | return $common_mappings; |