-
Notifications
You must be signed in to change notification settings - Fork 368
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restructure main admin menu #2612
Conversation
Because it is literally not used anywhere based on what I could verify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
assets/css/icons.scss
Outdated
url(../font/job-manager.eot?16367094#iefix) format("embedded-opentype"), | ||
url(../font/job-manager.woff2?16367094) format('woff2'), | ||
url(../font/job-manager.woff?16367094) format("woff"), | ||
url(../font/job-manager.ttf?16367094) format("truetype"), | ||
url(../font/job-manager.svg?16367094#job-manager) format("svg"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need for the extra formats nowadays, woff2
works everywhere:
https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face#browser_compatibility
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! Removed in 770ac8f. Thanks!
add_submenu_page( 'edit.php?post_type=job_listing', __( 'Settings', 'wp-job-manager' ), __( 'Settings', 'wp-job-manager' ), 'manage_options', 'job-manager-settings', [ $this->settings_page, 'output' ] ); | ||
|
||
if ( WP_Job_Manager_Helper::instance()->has_licensed_products() || apply_filters( 'job_manager_show_addons_page', true ) ) { | ||
add_submenu_page( 'edit.php?post_type=job_listing', __( 'WP Job Manager Add-ons', 'wp-job-manager' ), __( 'Add-ons', 'wp-job-manager' ), 'manage_options', 'job-manager-addons', [ $this, 'addons_page' ] ); | ||
add_submenu_page( 'edit.php?post_type=job_listing', __( 'WP Job Manager Extensions', 'wp-job-manager' ), __( 'Extensions', 'wp-job-manager' ), 'manage_options', 'job-manager-addons', [ $this, 'addons_page' ] ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the latest is that we are calling this 'Marketplace': p6r3EZ-1Nu-p2#comment-3379
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -247,7 +247,7 @@ public function register_post_types() { | |||
'labels' => [ | |||
'name' => $plural, | |||
'singular_name' => $singular, | |||
'menu_name' => ucwords( $plural ), | |||
'menu_name' => __( 'Types', 'wp-job-manager' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good question. I renamed in 2ccdcab, but then we might want to update the Job Tags addon to use only "Tags" on the menu? Not sure.
Because woff2 is already supported by 96% of the browsers
Fixes #2586
Changes Proposed in this Pull Request
Testing Instructions
Using this branch of the plugin to test:
Release Notes
Screenshot / Video