Plugin Directory

Changeset 2911388


Ignore:
Timestamp:
05/12/2023 12:00:26 AM (3 years ago)
Author:
vsmash
Message:

tagging verison $1

Location:
vanilla-bean-meta-maid
Files:
10 edited
5 copied

Legend:

Unmodified
Added
Removed
  • vanilla-bean-meta-maid/tags/2.0.2/inc/admin/settings.php

    r2487403 r2911388  
    6060                    <tr valign="top">
    6161                        <th scope="row">Header</th>
    62                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlhead" id="vbean_meta_maid_htmlhead"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_htmlhead','')?></textarea>
     62                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlhead" id="vbean_meta_maid_htmlhead"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_htmlhead',''))?></textarea>
    6363                            <div class="description">Code to appear between &lt;head&gt;&lt;/head&gt;</div>
    6464                        </td>
     
    6666                    <tr valign="top">
    6767                        <th scope="row">End of Page</th>
    68                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlbeforeclosebody" id="vbean_meta_maid_htmlbeforeclosebody"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_htmlbeforeclosebody','')?></textarea>
     68                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlbeforeclosebody" id="vbean_meta_maid_htmlbeforeclosebody"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_htmlbeforeclosebody',''))?></textarea>
    6969                            <div class="description">Code to appear before &lt;/body&gt;</div>
    7070                        </td>
     
    7373                    <tr valign="top">
    7474                        <th scope="row">Header (MOBILE ONLY)</th>
    75                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlhead" id="vbean_meta_maid_mobilehtmlhead"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlhead','')?></textarea>
     75                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlhead" id="vbean_meta_maid_mobilehtmlhead"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlhead',''))?></textarea>
    7676                            <div class="description">Code to appear between &lt;head&gt;&lt;/head&gt;</div>
    7777                        </td>
     
    7979                    <tr valign="top">
    8080                        <th scope="row">End of Page (MOBILE ONLY)</th>
    81                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlbeforeclosebody" id="vbean_meta_maid_mobilehtmlbeforeclosebody"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlbeforeclosebody','')?></textarea>
     81                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlbeforeclosebody" id="vbean_meta_maid_mobilehtmlbeforeclosebody"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlbeforeclosebody',''))?></textarea>
    8282                            <div class="description">Code to appear before &lt;/body&gt;</div>
    8383                        </td>
     
    8686                    <tr valign="top">
    8787                        <th scope="row">Header (DESKTOP ONLY)</th>
    88                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlhead" id="vbean_meta_maid_desktophtmlhead"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlhead','')?></textarea>
     88                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlhead" id="vbean_meta_maid_desktophtmlhead"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlhead',''))?></textarea>
    8989                            <div class="description">Code to appear between &lt;head&gt;&lt;/head&gt;</div>
    9090                        </td>
     
    9292                    <tr valign="top">
    9393                        <th scope="row">End of Page (DESKTOP ONLY)</th>
    94                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlbeforeclosebody" id="vbean_meta_maid_desktophtmlbeforeclosebody"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlbeforeclosebody','')?></textarea>
     94                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlbeforeclosebody" id="vbean_meta_maid_desktophtmlbeforeclosebody"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlbeforeclosebody',''))?></textarea>
    9595                            <div class="description">Code to appear before &lt;/body&gt;</div>
    9696                        </td>
  • vanilla-bean-meta-maid/tags/2.0.2/inc/functions.php

    r2487403 r2911388  
    2424}else{
    2525    function vanillabeans_settings() {
     26        $adminurl= admin_url();
    2627        ?>
    2728<style>
     
    4243    <li>
    4344    <?php if(defined( 'VBEANERRORMAILER_PLUGIN_VERSION' )){
    44         echo('<a href="'.admin_url().'admin.php?page=vanilla-bean-errormailer/vanillabean-errormailer.php">Error Mailer</a> (installed)');
     45        echo('<a href="'.esc_url($adminurl.'admin.php?page=vanilla-bean-errormailer/vanillabean-errormailer.php').'">Error Mailer</a> (installed)');
    4546    }else{
    46         echo('<a href="'.admin_url().'plugin-install.php?tab=search&type=term&s=vanilla+bean+error+mailer">Error Mailer</a>');
     47        echo('<a href="'.esc_url($adminurl.'plugin-install.php?tab=search&type=term&s=vanilla+bean+error+mailer').'">Error Mailer</a>');
    4748       
    4849    }?>
     
    5152    <li>
    5253    <?php if(defined( 'VBEANTHEMELOGIN_PLUGIN_VERSION' )){
    53         echo('<a href="'.admin_url().'admin.php?page=vanilla-bean-themelogin/vanilla-bean-themelogin.php">Theme Login</a> (installed)');
     54        echo('<a href="'.esc_url($adminurl).'admin.php?page=vanilla-bean-themelogin/vanilla-bean-themelogin.php">Theme Login</a> (installed)');
    5455        }else {
    55         echo('<a href="'.admin_url().'plugin-install.php?tab=search&type=term&s=vanilla+bean+theme+login">Theme Login</a>');
     56        echo('<a href="'.esc_url($adminurl).'plugin-install.php?tab=search&type=term&s=vanilla+bean+theme+login">Theme Login</a>');
    5657     }?>
    5758        <div class="small-text">Themify your login and password recovery pages.</div>
     
    5960   <li>
    6061    <?php if(defined( 'VBEANFAVICON_PLUGIN_VERSION' )){
    61        echo('<a href="'.admin_url().'admin.php?page=vanilla-bean-icon-setter/vanilla-bean-icon-setter.php">Icon Setter</a> (installed)');
     62       echo('<a href="'.esc_url($adminurl).'admin.php?page=vanilla-bean-icon-setter/vanilla-bean-icon-setter.php">Icon Setter</a> (installed)');
    6263    }else {
    63         echo('<a href="'.admin_url().'plugin-install.php?tab=search&type=term&s=vanilla+bean+icon+setter">Icon Setter</a>');
     64        echo('<a href="'.esc_url($adminurl).'plugin-install.php?tab=search&type=term&s=vanilla+bean+icon+setter">Icon Setter</a>');
    6465     }?>
    6566        <div class="small-text">Add your site's icon to each page, and across all devices.</div>
     
    9192        include( ABSPATH . "wp-admin/includes/plugin-install.php" );
    9293    }
    93     global $tabs, $tab, $paged, $type, $term;
    94     $tabs = array();
    95     $tab = "search";
     94    global $mmtabs, $mmtab, $paged, $type, $term;
     95    $mmtabs = array();
     96    $mmtab = "search";
    9697    $per_page = 10;
    9798    $args = array
     
    103104        "locale" => get_locale(),
    104105    );       
    105     $arges = apply_filters( "install_plugins_table_api_args_$tab", $args );
     106    $arges = apply_filters( "install_plugins_table_api_args_$mmtab", $args );
    106107    $api = plugins_api( "query_plugins", $arges );
    107108    $item = $api->plugins;
  • vanilla-bean-meta-maid/tags/2.0.2/readme.txt

    r2586219 r2911388  
    33Donate link: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/
    44Tags: header code, footer code, meta tags, tracking code
    5 Requires at least: 3.4
    6 Tested up to: 5.8
    7 Stable tag: 1.30
     5Requires at least: 4.0
     6Tested up to: 6.2
     7Stable tag: 2.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313Meta Maid is the simplest plugins.
    14 Allows you to add meta tags, script tags and tracking code to 
     14Allows you to add meta tags, script tags and tracking code to
    1515the top and bottom of your page.
    1616
    1717== Installation ==
    18 Unzip into your plugins directory, install directly from 
     18Unzip into your plugins directory, install directly from
    1919wordpress plugins site.
    2020
    2121== Changelog ==
     22= 2.0.2 =
     23Tested on wordpress 6.2
     24
     25= 2.0.1 =
     26Tested on php8 and wordpress 6.1
     27
     28= 2.0.0 =
     29* Added support for WordPress 6.0.3
     30* Added support for PHP 8.1
    2231= 1.30 =
    2332Added page and category substitutions, and separate mobile and desktop options
  • vanilla-bean-meta-maid/tags/2.0.2/vanilla-bean-meta-maid.php

    r2487403 r2911388  
    44Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/
    55Description: Simple header and footer code injector
    6 Version: 1.30
     6Version: 2.0.2
    77Author: vsmash
    88Author URI: http://www.velvary.com.au
     
    1010*/
    1111
    12             // If this file is called directly, abort.
    13             if ( ! defined( 'WPINC' ) ) {
    14                     die;
    15             }
     12// If this file is called directly, abort.
     13if (!defined('WPINC')) {
     14    die;
     15}
    1616
    17             if ( !defined( 'VBEANMETAMAID_PLUGIN_DIR' ) ) {
    18                     define( 'VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    19             }
    20             if ( !defined( 'VBEANMETAMAID_PLUGIN_URL' ) ) {
    21                     define( 'VBEANMETAMAID_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    22             }
    23             if ( !defined( 'VBEANMETAMAID_PLUGIN_FILE' ) ) {
    24                     define( 'VBEANMETAMAID_PLUGIN_FILE', __FILE__ );
    25             }
    26             if ( !defined( 'VBEANMETAMAID_PLUGIN_VERSION' ) ) {
    27                     define( 'VBEANMETAMAID_PLUGIN_VERSION', '1.30' );
    28             }
     17if (!defined('VBEANMETAMAID_PLUGIN_DIR')) {
     18    define('VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path(__FILE__));
     19}
     20if (!defined('VBEANMETAMAID_PLUGIN_URL')) {
     21    define('VBEANMETAMAID_PLUGIN_URL', plugin_dir_url(__FILE__));
     22}
     23if (!defined('VBEANMETAMAID_PLUGIN_FILE')) {
     24    define('VBEANMETAMAID_PLUGIN_FILE', __FILE__);
     25}
     26if (!defined('VBEANMETAMAID_PLUGIN_VERSION')) {
     27define('VBEANMETAMAID_PLUGIN_VERSION','2.0.2');
     28}
    2929
    30             /*===========================================
    31                     Define Includes
    32             ===========================================*/
    33             $includes = array(
    34                 'functions.php'
    35             );
     30/*===========================================
     31        Define Includes
     32===========================================*/
     33$includes = array(
     34    'functions.php'
     35);
    3636
    37             $frontend_includes = array(
    38                 'meta-maid.php'
    39             );
     37$frontend_includes = array(
     38    'meta-maid.php'
     39);
    4040
    4141
    42             $adminincludes= array(
    43                 'settings.php'
    44                
    45             );
     42$adminincludes = array(
     43    'settings.php'
    4644
    47             /*===========================================
    48                     Load Includes
    49             ===========================================*/
    50             // Common
    51             foreach ( $includes as $include ) {
    52                     require_once( dirname( __FILE__ ) . '/inc/'. $include );
    53             }
    54             if(is_admin()){     
    55             //load admin part
    56                 foreach ( $adminincludes as $admininclude ) {
    57                     require_once( dirname( __FILE__ ) . '/inc/admin/'. $admininclude );
    58                 }
    59             }else{
    60             //load front part
    61                 foreach ( $frontend_includes as $include ) {
    62                         require_once( dirname( __FILE__ ) . '/inc/'. $include );
    63                 }
    64             }
     45);
     46
     47/*===========================================
     48        Load Includes
     49===========================================*/
     50// Common
     51foreach ($includes as $include) {
     52    require_once(dirname(__FILE__) . '/inc/' . $include);
     53}
     54if (is_admin()) {
     55    //load admin part
     56    foreach ($adminincludes as $admininclude) {
     57        require_once(dirname(__FILE__) . '/inc/admin/' . $admininclude);
     58    }
     59} else {
     60    //load front part
     61    foreach ($frontend_includes as $include) {
     62        require_once(dirname(__FILE__) . '/inc/' . $include);
     63    }
     64}
    6565
    6666
    67             add_action('admin_menu', 'vbean_meta_maid_create_menu');
     67add_action('admin_menu', 'vbean_meta_maid_create_menu');
    6868
    69             if(!function_exists('vbean_meta_maid_create_menu')){
    70 
    71                
    72                
    73                
    74                
    75                
    76             function vbean_meta_maid_create_menu() {
     69if (!function_exists('vbean_meta_maid_create_menu')) {
    7770
    7871
    79             if ( empty ( $GLOBALS['admin_page_hooks']['vanillabeans-settings'] ) ){
     72    function vbean_meta_maid_create_menu()
     73    {
     74
     75
     76        if (empty ($GLOBALS['admin_page_hooks']['vanillabeans-settings'])) {
    8077            //create new top-level menu
    81             add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL.'vicon.png', 4);
    82             }
    83             $vbean_hook = add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', __FILE__,'VanillaBeans\MetaMaid\SettingsPage');
    84            
    85            
    86                     //call register settings function
    87                     add_action( 'admin_init', 'VanillaBeans\MetaMaid\RegisterSettings' );
    88             }
    89             }
    90            
    91            
    92            
     78            add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL . 'vicon.png', 4);
     79        }
     80        add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', VBEANMETAMAID_PLUGIN_FILE, 'VanillaBeans\MetaMaid\SettingsPage');
     81
     82
     83        //call register settings function
     84        add_action('admin_init', 'VanillaBeans\MetaMaid\RegisterSettings');
     85    }
     86}
     87
     88
     89
  • vanilla-bean-meta-maid/tags/2.0.3/inc/admin/settings.php

    r2487403 r2911388  
    6060                    <tr valign="top">
    6161                        <th scope="row">Header</th>
    62                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlhead" id="vbean_meta_maid_htmlhead"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_htmlhead','')?></textarea>
     62                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlhead" id="vbean_meta_maid_htmlhead"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_htmlhead',''))?></textarea>
    6363                            <div class="description">Code to appear between &lt;head&gt;&lt;/head&gt;</div>
    6464                        </td>
     
    6666                    <tr valign="top">
    6767                        <th scope="row">End of Page</th>
    68                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlbeforeclosebody" id="vbean_meta_maid_htmlbeforeclosebody"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_htmlbeforeclosebody','')?></textarea>
     68                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_htmlbeforeclosebody" id="vbean_meta_maid_htmlbeforeclosebody"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_htmlbeforeclosebody',''))?></textarea>
    6969                            <div class="description">Code to appear before &lt;/body&gt;</div>
    7070                        </td>
     
    7373                    <tr valign="top">
    7474                        <th scope="row">Header (MOBILE ONLY)</th>
    75                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlhead" id="vbean_meta_maid_mobilehtmlhead"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlhead','')?></textarea>
     75                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlhead" id="vbean_meta_maid_mobilehtmlhead"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlhead',''))?></textarea>
    7676                            <div class="description">Code to appear between &lt;head&gt;&lt;/head&gt;</div>
    7777                        </td>
     
    7979                    <tr valign="top">
    8080                        <th scope="row">End of Page (MOBILE ONLY)</th>
    81                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlbeforeclosebody" id="vbean_meta_maid_mobilehtmlbeforeclosebody"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlbeforeclosebody','')?></textarea>
     81                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_mobilehtmlbeforeclosebody" id="vbean_meta_maid_mobilehtmlbeforeclosebody"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_mobilehtmlbeforeclosebody',''))?></textarea>
    8282                            <div class="description">Code to appear before &lt;/body&gt;</div>
    8383                        </td>
     
    8686                    <tr valign="top">
    8787                        <th scope="row">Header (DESKTOP ONLY)</th>
    88                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlhead" id="vbean_meta_maid_desktophtmlhead"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlhead','')?></textarea>
     88                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlhead" id="vbean_meta_maid_desktophtmlhead"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlhead',''))?></textarea>
    8989                            <div class="description">Code to appear between &lt;head&gt;&lt;/head&gt;</div>
    9090                        </td>
     
    9292                    <tr valign="top">
    9393                        <th scope="row">End of Page (DESKTOP ONLY)</th>
    94                         <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlbeforeclosebody" id="vbean_meta_maid_desktophtmlbeforeclosebody"><?php echo \VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlbeforeclosebody','')?></textarea>
     94                        <td><textarea cols="60" rows="3" name="vbean_meta_maid_desktophtmlbeforeclosebody" id="vbean_meta_maid_desktophtmlbeforeclosebody"><?php echo esc_textarea(\VanillaBeans\vbean_setting('vbean_meta_maid_desktophtmlbeforeclosebody',''))?></textarea>
    9595                            <div class="description">Code to appear before &lt;/body&gt;</div>
    9696                        </td>
  • vanilla-bean-meta-maid/tags/2.0.3/inc/functions.php

    r2487403 r2911388  
    2424}else{
    2525    function vanillabeans_settings() {
     26        $adminurl= admin_url();
    2627        ?>
    2728<style>
     
    4243    <li>
    4344    <?php if(defined( 'VBEANERRORMAILER_PLUGIN_VERSION' )){
    44         echo('<a href="'.admin_url().'admin.php?page=vanilla-bean-errormailer/vanillabean-errormailer.php">Error Mailer</a> (installed)');
     45        echo('<a href="'.esc_url($adminurl.'admin.php?page=vanilla-bean-errormailer/vanillabean-errormailer.php').'">Error Mailer</a> (installed)');
    4546    }else{
    46         echo('<a href="'.admin_url().'plugin-install.php?tab=search&type=term&s=vanilla+bean+error+mailer">Error Mailer</a>');
     47        echo('<a href="'.esc_url($adminurl.'plugin-install.php?tab=search&type=term&s=vanilla+bean+error+mailer').'">Error Mailer</a>');
    4748       
    4849    }?>
     
    5152    <li>
    5253    <?php if(defined( 'VBEANTHEMELOGIN_PLUGIN_VERSION' )){
    53         echo('<a href="'.admin_url().'admin.php?page=vanilla-bean-themelogin/vanilla-bean-themelogin.php">Theme Login</a> (installed)');
     54        echo('<a href="'.esc_url($adminurl).'admin.php?page=vanilla-bean-themelogin/vanilla-bean-themelogin.php">Theme Login</a> (installed)');
    5455        }else {
    55         echo('<a href="'.admin_url().'plugin-install.php?tab=search&type=term&s=vanilla+bean+theme+login">Theme Login</a>');
     56        echo('<a href="'.esc_url($adminurl).'plugin-install.php?tab=search&type=term&s=vanilla+bean+theme+login">Theme Login</a>');
    5657     }?>
    5758        <div class="small-text">Themify your login and password recovery pages.</div>
     
    5960   <li>
    6061    <?php if(defined( 'VBEANFAVICON_PLUGIN_VERSION' )){
    61        echo('<a href="'.admin_url().'admin.php?page=vanilla-bean-icon-setter/vanilla-bean-icon-setter.php">Icon Setter</a> (installed)');
     62       echo('<a href="'.esc_url($adminurl).'admin.php?page=vanilla-bean-icon-setter/vanilla-bean-icon-setter.php">Icon Setter</a> (installed)');
    6263    }else {
    63         echo('<a href="'.admin_url().'plugin-install.php?tab=search&type=term&s=vanilla+bean+icon+setter">Icon Setter</a>');
     64        echo('<a href="'.esc_url($adminurl).'plugin-install.php?tab=search&type=term&s=vanilla+bean+icon+setter">Icon Setter</a>');
    6465     }?>
    6566        <div class="small-text">Add your site's icon to each page, and across all devices.</div>
     
    9192        include( ABSPATH . "wp-admin/includes/plugin-install.php" );
    9293    }
    93     global $tabs, $tab, $paged, $type, $term;
    94     $tabs = array();
    95     $tab = "search";
     94    global $mmtabs, $mmtab, $paged, $type, $term;
     95    $mmtabs = array();
     96    $mmtab = "search";
    9697    $per_page = 10;
    9798    $args = array
     
    103104        "locale" => get_locale(),
    104105    );       
    105     $arges = apply_filters( "install_plugins_table_api_args_$tab", $args );
     106    $arges = apply_filters( "install_plugins_table_api_args_$mmtab", $args );
    106107    $api = plugins_api( "query_plugins", $arges );
    107108    $item = $api->plugins;
  • vanilla-bean-meta-maid/tags/2.0.3/readme.txt

    r2586219 r2911388  
    33Donate link: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/
    44Tags: header code, footer code, meta tags, tracking code
    5 Requires at least: 3.4
    6 Tested up to: 5.8
    7 Stable tag: 1.30
     5Requires at least: 4.0
     6Tested up to: 6.2
     7Stable tag: 2.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313Meta Maid is the simplest plugins.
    14 Allows you to add meta tags, script tags and tracking code to 
     14Allows you to add meta tags, script tags and tracking code to
    1515the top and bottom of your page.
    1616
    1717== Installation ==
    18 Unzip into your plugins directory, install directly from 
     18Unzip into your plugins directory, install directly from
    1919wordpress plugins site.
    2020
    2121== Changelog ==
     22= 2.0.2 =
     23Tested on wordpress 6.2
     24
     25= 2.0.1 =
     26Tested on php8 and wordpress 6.1
     27
     28= 2.0.0 =
     29* Added support for WordPress 6.0.3
     30* Added support for PHP 8.1
    2231= 1.30 =
    2332Added page and category substitutions, and separate mobile and desktop options
  • vanilla-bean-meta-maid/tags/2.0.3/vanilla-bean-meta-maid.php

    r2487403 r2911388  
    44Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/
    55Description: Simple header and footer code injector
    6 Version: 1.30
     6Version: 2.0.3
    77Author: vsmash
    88Author URI: http://www.velvary.com.au
     
    1010*/
    1111
    12             // If this file is called directly, abort.
    13             if ( ! defined( 'WPINC' ) ) {
    14                     die;
    15             }
     12// If this file is called directly, abort.
     13if (!defined('WPINC')) {
     14    die;
     15}
    1616
    17             if ( !defined( 'VBEANMETAMAID_PLUGIN_DIR' ) ) {
    18                     define( 'VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    19             }
    20             if ( !defined( 'VBEANMETAMAID_PLUGIN_URL' ) ) {
    21                     define( 'VBEANMETAMAID_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    22             }
    23             if ( !defined( 'VBEANMETAMAID_PLUGIN_FILE' ) ) {
    24                     define( 'VBEANMETAMAID_PLUGIN_FILE', __FILE__ );
    25             }
    26             if ( !defined( 'VBEANMETAMAID_PLUGIN_VERSION' ) ) {
    27                     define( 'VBEANMETAMAID_PLUGIN_VERSION', '1.30' );
    28             }
     17if (!defined('VBEANMETAMAID_PLUGIN_DIR')) {
     18    define('VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path(__FILE__));
     19}
     20if (!defined('VBEANMETAMAID_PLUGIN_URL')) {
     21    define('VBEANMETAMAID_PLUGIN_URL', plugin_dir_url(__FILE__));
     22}
     23if (!defined('VBEANMETAMAID_PLUGIN_FILE')) {
     24    define('VBEANMETAMAID_PLUGIN_FILE', __FILE__);
     25}
     26if (!defined('VBEANMETAMAID_PLUGIN_VERSION')) {
     27define('VBEANMETAMAID_PLUGIN_VERSION','2.0.3');
     28}
    2929
    30             /*===========================================
    31                     Define Includes
    32             ===========================================*/
    33             $includes = array(
    34                 'functions.php'
    35             );
     30/*===========================================
     31        Define Includes
     32===========================================*/
     33$includes = array(
     34    'functions.php'
     35);
    3636
    37             $frontend_includes = array(
    38                 'meta-maid.php'
    39             );
     37$frontend_includes = array(
     38    'meta-maid.php'
     39);
    4040
    4141
    42             $adminincludes= array(
    43                 'settings.php'
    44                
    45             );
     42$adminincludes = array(
     43    'settings.php'
    4644
    47             /*===========================================
    48                     Load Includes
    49             ===========================================*/
    50             // Common
    51             foreach ( $includes as $include ) {
    52                     require_once( dirname( __FILE__ ) . '/inc/'. $include );
    53             }
    54             if(is_admin()){     
    55             //load admin part
    56                 foreach ( $adminincludes as $admininclude ) {
    57                     require_once( dirname( __FILE__ ) . '/inc/admin/'. $admininclude );
    58                 }
    59             }else{
    60             //load front part
    61                 foreach ( $frontend_includes as $include ) {
    62                         require_once( dirname( __FILE__ ) . '/inc/'. $include );
    63                 }
    64             }
     45);
     46
     47/*===========================================
     48        Load Includes
     49===========================================*/
     50// Common
     51foreach ($includes as $include) {
     52    require_once(dirname(__FILE__) . '/inc/' . $include);
     53}
     54if (is_admin()) {
     55    //load admin part
     56    foreach ($adminincludes as $admininclude) {
     57        require_once(dirname(__FILE__) . '/inc/admin/' . $admininclude);
     58    }
     59} else {
     60    //load front part
     61    foreach ($frontend_includes as $include) {
     62        require_once(dirname(__FILE__) . '/inc/' . $include);
     63    }
     64}
    6565
    6666
    67             add_action('admin_menu', 'vbean_meta_maid_create_menu');
     67add_action('admin_menu', 'vbean_meta_maid_create_menu');
    6868
    69             if(!function_exists('vbean_meta_maid_create_menu')){
    70 
    71                
    72                
    73                
    74                
    75                
    76             function vbean_meta_maid_create_menu() {
     69if (!function_exists('vbean_meta_maid_create_menu')) {
    7770
    7871
    79             if ( empty ( $GLOBALS['admin_page_hooks']['vanillabeans-settings'] ) ){
     72    function vbean_meta_maid_create_menu()
     73    {
     74
     75
     76        if (empty ($GLOBALS['admin_page_hooks']['vanillabeans-settings'])) {
    8077            //create new top-level menu
    81             add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL.'vicon.png', 4);
    82             }
    83             $vbean_hook = add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', __FILE__,'VanillaBeans\MetaMaid\SettingsPage');
    84            
    85            
    86                     //call register settings function
    87                     add_action( 'admin_init', 'VanillaBeans\MetaMaid\RegisterSettings' );
    88             }
    89             }
    90            
    91            
    92            
     78            add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL . 'vicon.png', 4);
     79        }
     80        add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', VBEANMETAMAID_PLUGIN_FILE, 'VanillaBeans\MetaMaid\SettingsPage');
     81
     82
     83        //call register settings function
     84        add_action('admin_init', 'VanillaBeans\MetaMaid\RegisterSettings');
     85    }
     86}
     87
     88
     89
  • vanilla-bean-meta-maid/tags/2.0.4/readme.txt

    r2871433 r2911388  
    44Tags: header code, footer code, meta tags, tracking code
    55Requires at least: 4.0
    6 Tested up to: 6.1
    7 Stable tag: 2.0.1
     6Tested up to: 6.2
     7Stable tag: 2.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020
    2121== Changelog ==
     22= 2.0.2 =
     23Tested on wordpress 6.2
     24
    2225= 2.0.1 =
    2326Tested on php8 and wordpress 6.1
  • vanilla-bean-meta-maid/tags/2.0.4/vanilla-bean-meta-maid.php

    r2871433 r2911388  
    44Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/
    55Description: Simple header and footer code injector
    6 Version: 2.0.1
     6Version: 2.0.4
    77Author: vsmash
    88Author URI: http://www.velvary.com.au
     
    1010*/
    1111
    12             // If this file is called directly, abort.
    13             if ( ! defined( 'WPINC' ) ) {
    14                     die;
    15             }
     12// If this file is called directly, abort.
     13if (!defined('WPINC')) {
     14    die;
     15}
    1616
    17             if ( !defined( 'VBEANMETAMAID_PLUGIN_DIR' ) ) {
    18                     define( 'VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    19             }
    20             if ( !defined( 'VBEANMETAMAID_PLUGIN_URL' ) ) {
    21                     define( 'VBEANMETAMAID_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    22             }
    23             if ( !defined( 'VBEANMETAMAID_PLUGIN_FILE' ) ) {
    24                     define( 'VBEANMETAMAID_PLUGIN_FILE', __FILE__ );
    25             }
    26             if ( !defined( 'VBEANMETAMAID_PLUGIN_VERSION' ) ) {
    27                     define( 'VBEANMETAMAID_PLUGIN_VERSION', '2.0.1' );
    28             }
     17if (!defined('VBEANMETAMAID_PLUGIN_DIR')) {
     18    define('VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path(__FILE__));
     19}
     20if (!defined('VBEANMETAMAID_PLUGIN_URL')) {
     21    define('VBEANMETAMAID_PLUGIN_URL', plugin_dir_url(__FILE__));
     22}
     23if (!defined('VBEANMETAMAID_PLUGIN_FILE')) {
     24    define('VBEANMETAMAID_PLUGIN_FILE', __FILE__);
     25}
     26if (!defined('VBEANMETAMAID_PLUGIN_VERSION')) {
     27define('VBEANMETAMAID_PLUGIN_VERSION','2.0.4');
     28}
    2929
    30             /*===========================================
    31                     Define Includes
    32             ===========================================*/
    33             $includes = array(
    34                 'functions.php'
    35             );
     30/*===========================================
     31        Define Includes
     32===========================================*/
     33$includes = array(
     34    'functions.php'
     35);
    3636
    37             $frontend_includes = array(
    38                 'meta-maid.php'
    39             );
     37$frontend_includes = array(
     38    'meta-maid.php'
     39);
    4040
    4141
    42             $adminincludes= array(
    43                 'settings.php'
     42$adminincludes = array(
     43    'settings.php'
    4444
    45             );
     45);
    4646
    47             /*===========================================
    48                     Load Includes
    49             ===========================================*/
    50             // Common
    51             foreach ( $includes as $include ) {
    52                     require_once( dirname( __FILE__ ) . '/inc/'. $include );
    53             }
    54             if(is_admin()){
    55             //load admin part
    56                 foreach ( $adminincludes as $admininclude ) {
    57                     require_once( dirname( __FILE__ ) . '/inc/admin/'. $admininclude );
    58                 }
    59             }else{
    60             //load front part
    61                 foreach ( $frontend_includes as $include ) {
    62                         require_once( dirname( __FILE__ ) . '/inc/'. $include );
    63                 }
    64             }
     47/*===========================================
     48        Load Includes
     49===========================================*/
     50// Common
     51foreach ($includes as $include) {
     52    require_once(dirname(__FILE__) . '/inc/' . $include);
     53}
     54if (is_admin()) {
     55    //load admin part
     56    foreach ($adminincludes as $admininclude) {
     57        require_once(dirname(__FILE__) . '/inc/admin/' . $admininclude);
     58    }
     59} else {
     60    //load front part
     61    foreach ($frontend_includes as $include) {
     62        require_once(dirname(__FILE__) . '/inc/' . $include);
     63    }
     64}
    6565
    6666
    67             add_action('admin_menu', 'vbean_meta_maid_create_menu');
     67add_action('admin_menu', 'vbean_meta_maid_create_menu');
    6868
    69             if(!function_exists('vbean_meta_maid_create_menu')){
     69if (!function_exists('vbean_meta_maid_create_menu')) {
     70
     71
     72    function vbean_meta_maid_create_menu()
     73    {
     74
     75
     76        if (empty ($GLOBALS['admin_page_hooks']['vanillabeans-settings'])) {
     77            //create new top-level menu
     78            add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL . 'vicon.png', 4);
     79        }
     80        add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', VBEANMETAMAID_PLUGIN_FILE, 'VanillaBeans\MetaMaid\SettingsPage');
     81
     82
     83        //call register settings function
     84        add_action('admin_init', 'VanillaBeans\MetaMaid\RegisterSettings');
     85    }
     86}
    7087
    7188
    7289
    73 
    74 
    75 
    76             function vbean_meta_maid_create_menu() {
    77 
    78 
    79             if ( empty ( $GLOBALS['admin_page_hooks']['vanillabeans-settings'] ) ){
    80             //create new top-level menu
    81             add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL.'vicon.png', 4);
    82             }
    83             add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', VBEANMETAMAID_PLUGIN_FILE,'VanillaBeans\MetaMaid\SettingsPage');
    84 
    85 
    86                     //call register settings function
    87                     add_action( 'admin_init', 'VanillaBeans\MetaMaid\RegisterSettings' );
    88             }
    89             }
    90 
    91 
    92 
  • vanilla-bean-meta-maid/trunk/readme.txt

    r2871433 r2911388  
    44Tags: header code, footer code, meta tags, tracking code
    55Requires at least: 4.0
    6 Tested up to: 6.1
    7 Stable tag: 2.0.1
     6Tested up to: 6.2
     7Stable tag: 2.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2020
    2121== Changelog ==
     22= 2.0.2 =
     23Tested on wordpress 6.2
     24
    2225= 2.0.1 =
    2326Tested on php8 and wordpress 6.1
  • vanilla-bean-meta-maid/trunk/vanilla-bean-meta-maid.php

    r2871433 r2911388  
    44Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/
    55Description: Simple header and footer code injector
    6 Version: 2.0.1
     6Version: 2.0.4
    77Author: vsmash
    88Author URI: http://www.velvary.com.au
     
    1010*/
    1111
    12             // If this file is called directly, abort.
    13             if ( ! defined( 'WPINC' ) ) {
    14                     die;
    15             }
     12// If this file is called directly, abort.
     13if (!defined('WPINC')) {
     14    die;
     15}
    1616
    17             if ( !defined( 'VBEANMETAMAID_PLUGIN_DIR' ) ) {
    18                     define( 'VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    19             }
    20             if ( !defined( 'VBEANMETAMAID_PLUGIN_URL' ) ) {
    21                     define( 'VBEANMETAMAID_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    22             }
    23             if ( !defined( 'VBEANMETAMAID_PLUGIN_FILE' ) ) {
    24                     define( 'VBEANMETAMAID_PLUGIN_FILE', __FILE__ );
    25             }
    26             if ( !defined( 'VBEANMETAMAID_PLUGIN_VERSION' ) ) {
    27                     define( 'VBEANMETAMAID_PLUGIN_VERSION', '2.0.1' );
    28             }
     17if (!defined('VBEANMETAMAID_PLUGIN_DIR')) {
     18    define('VBEANMETAMAID_PLUGIN_DIR', plugin_dir_path(__FILE__));
     19}
     20if (!defined('VBEANMETAMAID_PLUGIN_URL')) {
     21    define('VBEANMETAMAID_PLUGIN_URL', plugin_dir_url(__FILE__));
     22}
     23if (!defined('VBEANMETAMAID_PLUGIN_FILE')) {
     24    define('VBEANMETAMAID_PLUGIN_FILE', __FILE__);
     25}
     26if (!defined('VBEANMETAMAID_PLUGIN_VERSION')) {
     27define('VBEANMETAMAID_PLUGIN_VERSION','2.0.4');
     28}
    2929
    30             /*===========================================
    31                     Define Includes
    32             ===========================================*/
    33             $includes = array(
    34                 'functions.php'
    35             );
     30/*===========================================
     31        Define Includes
     32===========================================*/
     33$includes = array(
     34    'functions.php'
     35);
    3636
    37             $frontend_includes = array(
    38                 'meta-maid.php'
    39             );
     37$frontend_includes = array(
     38    'meta-maid.php'
     39);
    4040
    4141
    42             $adminincludes= array(
    43                 'settings.php'
     42$adminincludes = array(
     43    'settings.php'
    4444
    45             );
     45);
    4646
    47             /*===========================================
    48                     Load Includes
    49             ===========================================*/
    50             // Common
    51             foreach ( $includes as $include ) {
    52                     require_once( dirname( __FILE__ ) . '/inc/'. $include );
    53             }
    54             if(is_admin()){
    55             //load admin part
    56                 foreach ( $adminincludes as $admininclude ) {
    57                     require_once( dirname( __FILE__ ) . '/inc/admin/'. $admininclude );
    58                 }
    59             }else{
    60             //load front part
    61                 foreach ( $frontend_includes as $include ) {
    62                         require_once( dirname( __FILE__ ) . '/inc/'. $include );
    63                 }
    64             }
     47/*===========================================
     48        Load Includes
     49===========================================*/
     50// Common
     51foreach ($includes as $include) {
     52    require_once(dirname(__FILE__) . '/inc/' . $include);
     53}
     54if (is_admin()) {
     55    //load admin part
     56    foreach ($adminincludes as $admininclude) {
     57        require_once(dirname(__FILE__) . '/inc/admin/' . $admininclude);
     58    }
     59} else {
     60    //load front part
     61    foreach ($frontend_includes as $include) {
     62        require_once(dirname(__FILE__) . '/inc/' . $include);
     63    }
     64}
    6565
    6666
    67             add_action('admin_menu', 'vbean_meta_maid_create_menu');
     67add_action('admin_menu', 'vbean_meta_maid_create_menu');
    6868
    69             if(!function_exists('vbean_meta_maid_create_menu')){
     69if (!function_exists('vbean_meta_maid_create_menu')) {
     70
     71
     72    function vbean_meta_maid_create_menu()
     73    {
     74
     75
     76        if (empty ($GLOBALS['admin_page_hooks']['vanillabeans-settings'])) {
     77            //create new top-level menu
     78            add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL . 'vicon.png', 4);
     79        }
     80        add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', VBEANMETAMAID_PLUGIN_FILE, 'VanillaBeans\MetaMaid\SettingsPage');
     81
     82
     83        //call register settings function
     84        add_action('admin_init', 'VanillaBeans\MetaMaid\RegisterSettings');
     85    }
     86}
    7087
    7188
    7289
    73 
    74 
    75 
    76             function vbean_meta_maid_create_menu() {
    77 
    78 
    79             if ( empty ( $GLOBALS['admin_page_hooks']['vanillabeans-settings'] ) ){
    80             //create new top-level menu
    81             add_menu_page('Vanilla Beans', 'Vanilla Beans', 'administrator', 'vanillabeans-settings', 'VanillaBeans\LiveSettings', VBEANMETAMAID_PLUGIN_URL.'vicon.png', 4);
    82             }
    83             add_submenu_page('vanillabeans-settings', 'Meta Maid', 'Meta Maid', 'administrator', VBEANMETAMAID_PLUGIN_FILE,'VanillaBeans\MetaMaid\SettingsPage');
    84 
    85 
    86                     //call register settings function
    87                     add_action( 'admin_init', 'VanillaBeans\MetaMaid\RegisterSettings' );
    88             }
    89             }
    90 
    91 
    92 
Note: See TracChangeset for help on using the changeset viewer.