Skip to content

Commit

Permalink
Admin menu: Change order of Jetpack sub-menu items (#39095)
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-karen authored and matticbot committed Aug 28, 2024
1 parent b2f9883 commit a4a95d6
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 90 deletions.
60 changes: 30 additions & 30 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions vendor/automattic/jetpack-admin-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.4.4-alpha] - unreleased

This is an alpha version! The changes listed here are not final.

### Changed
- Admin menu: change order of Jetpack sub-menu items

## [0.4.3] - 2024-08-23
### Changed
- Updated package dependencies. [#39004]
Expand Down Expand Up @@ -152,6 +159,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Fixing menu visibility issues.

[0.4.4-alpha]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.3...0.4.4-alpha
[0.4.3]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.2...0.4.3
[0.4.2]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.1...0.4.2
[0.4.1]: https://github.com/Automattic/jetpack-admin-ui/compare/0.4.0...0.4.1
Expand Down
4 changes: 2 additions & 2 deletions vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
class Admin_Menu {

const PACKAGE_VERSION = '0.4.3';
const PACKAGE_VERSION = '0.4.4-alpha';

/**
* Whether this class has been initialized
Expand Down Expand Up @@ -58,7 +58,7 @@ function () {
remove_action( 'admin_menu', array( 'Akismet_Admin', 'admin_menu' ), 5 );

// Add an Anti-spam menu item for Jetpack.
self::add_menu( __( 'Akismet Anti-spam', 'jetpack-admin-ui' ), __( 'Akismet Anti-spam', 'jetpack-admin-ui' ), 'manage_options', 'akismet-key-config', array( 'Akismet_Admin', 'display_page' ) );
self::add_menu( __( 'Akismet Anti-spam', 'jetpack-admin-ui' ), __( 'Akismet Anti-spam', 'jetpack-admin-ui' ), 'manage_options', 'akismet-key-config', array( 'Akismet_Admin', 'display_page' ), 6 );
},
4
);
Expand Down
2 changes: 1 addition & 1 deletion vendor/automattic/jetpack-connection/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"php": ">=7.0",
"automattic/jetpack-a8c-mc-stats": "^2.0.2",
"automattic/jetpack-admin-ui": "^0.4.3",
"automattic/jetpack-admin-ui": "^0.4.4-alpha",
"automattic/jetpack-assets": "^2.3.5-alpha",
"automattic/jetpack-constants": "^2.0.4",
"automattic/jetpack-roles": "^2.0.3",
Expand Down
Loading

0 comments on commit a4a95d6

Please sign in to comment.