Skip to content

Commit

Permalink
2.6.0
Browse files Browse the repository at this point in the history
* Updating assets loading
* Updating inline styles enqueuing
* Removing media sizes overriding
* Fixing/updating CSS variables functionality in library
* Removing Forstron theme reference
  • Loading branch information
webmandesign committed Jan 24, 2019
1 parent 661b671 commit b755548
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 344 deletions.
20 changes: 10 additions & 10 deletions includes/plugins/jetpack/jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @copyright WebMan Design, Oliver Juhas
*
* @since 1.1
* @version 2.2.0
* @version 2.6.0
*
* Contents:
*
Expand Down Expand Up @@ -358,7 +358,7 @@ function wm_jetpack_add_many_food_menus( $data, $postarr ) {
* Jetpack food menus Add Many Items styles
*
* @since 1.0
* @version 1.3
* @version 2.6.0
*/
if ( ! function_exists( 'wm_jetpack_styles_admin' ) ) {
function wm_jetpack_styles_admin() {
Expand All @@ -374,14 +374,14 @@ function wm_jetpack_styles_admin() {
// Processing

if (
isset( $current_screen->id )
&& 'nova_menu_item_page_add_many_nova_items' === $current_screen->id
) {

wp_add_inline_style(
'nova-font',
apply_filters( 'wmhook_esc_css', $styles )
);
isset( $current_screen->id )
&& 'nova_menu_item_page_add_many_nova_items' === $current_screen->id
) {

wp_add_inline_style(
'auberge',
apply_filters( 'wmhook_esc_css', $styles )
);

}

Expand Down
Loading

0 comments on commit b755548

Please sign in to comment.