Plugin Directory

Changeset 1629934


Ignore:
Timestamp:
04/05/2017 09:37:15 AM (9 years ago)
Author:
heliossolutions
Message:

Fixing minor issue

Location:
hs-social-media-buttons
Files:
17 added
5 edited

Legend:

Unmodified
Added
Removed
  • hs-social-media-buttons/trunk/hs-social-buttons.php

    r1625821 r1629934  
    44 * Plugin URI: http://heliossolutions.in/
    55 * Description: HS Social Media Buttons plugin adds social media buttons to your site.
    6  * Version: 2.0.6
     6 * Version: 2.0.7
    77 * Author: Helios Solutions
    88 * Author URI: http://heliossolutions.in/
    99 * Text Domain: hs-social
    1010 */
     11 
     12 if ( ! defined( 'ABSPATH' ) ) {
     13    echo "Hi there! Nice try. Come again.";
     14    die();
     15}
     16
     17
    1118$options = array();
    1219
     
    144151
    145152/* Load Front End Header */
    146 function front_end_head_load() {
     153function hssocial_front_end_head_load() {
    147154    require( 'inc/front-end-head.php' );
    148155}
    149 add_action('wp_head', 'front_end_head_load');
     156add_action('wp_head', 'hssocial_front_end_head_load');
    150157
    151158/* Load Front End Footer */
    152 function front_end_load() {
     159function hssocial_front_end_load() {
    153160    require( 'inc/front-end.php' );
    154161}
    155 add_action('wp_footer', 'front_end_load');
     162add_action('wp_footer', 'hssocial_front_end_load');
    156163
    157 function my_enqueue($hook) {
     164function hssocial_enqueue($hook) {
    158165    if ( 'settings_page_hssocial-badges' != $hook ) {
    159166        return;
     
    163170    wp_enqueue_script( 'hssocialadmin', plugins_url('hs-social-media-buttons/inc/js/hssocial_admin.js'), array('jquery'), '', true );
    164171}
    165 add_action( 'admin_enqueue_scripts', 'my_enqueue' );
     172add_action( 'admin_enqueue_scripts', 'hssocial_enqueue' );
  • hs-social-media-buttons/trunk/inc/front-end-head.php

    r1626324 r1629934  
    11<?php
     2if ( ! defined( 'ABSPATH' ) ) {
     3    echo "Hi there! Nice try. Come again.";
     4    die();
     5}
     6
    27$hide_mobile = $options['mobile'];
    38?>
  • hs-social-media-buttons/trunk/inc/front-end.php

    r1625821 r1629934  
    11<?php
     2if ( ! defined( 'ABSPATH' ) ) {
     3    echo "Hi there! Nice try. Come again.";
     4    die();
     5}
     6
    27$options = get_option('hssocial_badges');
    38$hssocial_facebook = $options['hssocial_facebook'];
  • hs-social-media-buttons/trunk/inc/options-page-wrapper.php

    r1625821 r1629934  
     1<?php
     2    if ( ! defined( 'ABSPATH' ) ) {
     3        echo "Hi there! Nice try. Come again.";
     4        die();
     5    }
     6?>
    17<div class="wrap">
    28
  • hs-social-media-buttons/trunk/readme.txt

    r1625821 r1629934  
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    88Tested up to: 4.7.3
    9 Stable tag: 2.0.6
     9Stable tag: 2.0.7
    1010
    1111Add Social Media Buttons to your Site
     
    6666
    6767== Changelog ==
     68= 2.0.7 =
     69* Bug fixes
     70
    6871= 2.0.6 =
    6972* Compatibility with wordpress version 4.7.3
     
    9194
    9295== Upgrade Notice ==
    93 
     96= 2.0.7 =
     97* Bug fixes
    9498= 2.0.6 =
    9599* Compatibility with wordpress version 4.7.3
Note: See TracChangeset for help on using the changeset viewer.