Plugin Directory

Changeset 2251610


Ignore:
Timestamp:
02/27/2020 08:52:46 PM (6 years ago)
Author:
sebaxtian
Message:

v0.2.5

Location:
scss-library/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scss-library/trunk/scss-library.php

    r2251603 r2251610  
    44Description: Adds support for SCSS stylesheets to wp_enqueue_style.
    55Author: Juan Sebastián Echeverry
    6 Version: 0.2.4
     6Version: 0.2.5
    77Text Domain: scsslib
    88
  • scss-library/trunk/src/ScssLibrary.php

    r2251591 r2251610  
    11<?php
    22/*
    3 Plugin Name: SCSS-Library
    4 Description: Adds support for SCSS stylesheets to wp_enqueue_style.
    5 Author: Juan Sebastián Echeverry
    6 Version: 0.1.3
    7 Text Domain: scsslib
    83
    94Copyright 2019 Juan Sebastián Echeverry (baxtian.echeverry@gmail.com)
     
    356351
    357352            // Sub item para recompilar
    358             $admin_bar->add_menu( array(
    359             'id'    => 'clear-scss',
    360             'parent' => 'scss-library',
    361             'title' => __('Recompile SCSS files', 'scsslib'),
    362             'href'  => $url['path'] . '?' . http_build_query($query1),
    363         ));
     353            if(!is_admin()) {
     354                $admin_bar->add_menu( array(
     355                    'id'    => 'clear-scss',
     356                    'parent' => 'scss-library',
     357                    'title' => __('Recompile SCSS files', 'scsslib'),
     358                    'href'  => $url['path'] . '?' . http_build_query($query1),
     359                ));
     360            }
    364361
    365362            // Si no está activo el develop
Note: See TracChangeset for help on using the changeset viewer.