Plugin Directory

Changeset 2210162


Ignore:
Timestamp:
12/11/2019 02:24:11 PM (6 years ago)
Author:
wordpresssimpletools
Message:

v1.0.7

Location:
wpsimpletools-html-code/trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • wpsimpletools-html-code/trunk/readme.txt

    r2197432 r2210162  
    66Requires PHP: 5.0.0
    77Tested up to: 5.3
    8 Stable tag: 1.0.6
     8Stable tag: 1.0.7
    99License: GPLv3
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    1919== Upgrade Notice ==
    2020
    21 = 1.0.6 =
    22 1.0.6 WP 5.3.* supported
     21= 1.0.7 =
     221.0.7 Translation ready
    2323
    2424== Frequently Asked Questions ==
     
    4040= 1.0.6 =
    41411.0.6 WP 5.3 supported
     42= 1.0.7 =
     431.0.7 Translation ready
    4244
    4345== Screenshots ==
  • wpsimpletools-html-code/trunk/wpsimpletools-html-code.php

    r2197432 r2210162  
    66 * Author: WpSimpleTools
    77 * Author URI: https://profiles.wordpress.org/wpsimpletools/#content-plugins
    8  * Version: 1.0.6
     8 * Version: 1.0.7
    99 * Plugin Slug: wpsimpletools-html-code
    10  * Text Domain: wpst_hc
     10 * Text Domain: wpsimpletools-html-code
    1111 */
    1212if (! defined('ABSPATH')) {
    1313    die("Don't call this file directly.");
    1414}
    15 
    16 //
    17 function wpst_hc_init() {
    18     load_plugin_textdomain('wpst_hc', false, basename(dirname(__FILE__)) . '/languages/');
    19 }
    20 add_action('plugins_loaded', 'wpst_hc_init');
    2115
    2216//
     
    2822   
    2923    $wp_customize->add_section('html_code', array(
    30         'title' => __('Footer HTML code', 'wpst_hc'),
     24        'title' => __('Footer HTML code', 'wpsimpletools-html-code'),
    3125        'priority' => 25
    3226    ));
    3327   
    3428    $wp_customize->add_control(new WP_Customize_Control($wp_customize, 'html_code', array(
    35         'label' => __('HTML code', 'wpst_hc'),
     29        'label' => __('HTML code', 'wpsimpletools-html-code'),
    3630        'section' => 'html_code',
    3731        'settings' => 'html_code',
     
    4236function wpst_hc_insert_code() {
    4337
    44     echo PHP_EOL . '<!-- wpsimpletools-html-code -->' . PHP_EOL;
     38    echo PHP_EOL . '<!-- WpSimpleTools HTML Code Snippet -->' . PHP_EOL;
     39    echo PHP_EOL . '<!-- https://wordpress.org/plugins/wpsimpletools-html-code/ -->' . PHP_EOL . PHP_EOL;
    4540   
    4641    if (get_theme_mod('html_code'))
    4742        echo get_theme_mod('html_code');
    48    
    49     echo PHP_EOL . '<!-- /wpsimpletools-html-code -->' . PHP_EOL;
    5043}
    5144
Note: See TracChangeset for help on using the changeset viewer.