Changeset 2911388
- Timestamp:
- 05/12/2023 12:00:26 AM (3 years ago)
- Location:
- vanilla-bean-meta-maid
- Files:
-
- 10 edited
- 5 copied
-
tags/2.0.2 (copied) (copied from vanilla-bean-meta-maid/trunk)
-
tags/2.0.2/inc/admin/settings.php (modified) (6 diffs)
-
tags/2.0.2/inc/functions.php (modified) (6 diffs)
-
tags/2.0.2/readme.txt (copied) (copied from vanilla-bean-meta-maid/trunk/readme.txt) (2 diffs)
-
tags/2.0.2/vanilla-bean-meta-maid.php (modified) (2 diffs)
-
tags/2.0.3 (copied) (copied from vanilla-bean-meta-maid/trunk)
-
tags/2.0.3/inc/admin/settings.php (modified) (6 diffs)
-
tags/2.0.3/inc/functions.php (modified) (6 diffs)
-
tags/2.0.3/readme.txt (copied) (copied from vanilla-bean-meta-maid/trunk/readme.txt) (2 diffs)
-
tags/2.0.3/vanilla-bean-meta-maid.php (modified) (2 diffs)
-
tags/2.0.4 (copied) (copied from vanilla-bean-meta-maid/trunk)
-
tags/2.0.4/readme.txt (modified) (2 diffs)
-
tags/2.0.4/vanilla-bean-meta-maid.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/vanilla-bean-meta-maid.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vanilla-bean-meta-maid/tags/2.0.2/inc/admin/settings.php
r2487403 r2911388 60 60 <tr valign="top"> 61 61 <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> 63 63 <div class="description">Code to appear between <head></head></div> 64 64 </td> … … 66 66 <tr valign="top"> 67 67 <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> 69 69 <div class="description">Code to appear before </body></div> 70 70 </td> … … 73 73 <tr valign="top"> 74 74 <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> 76 76 <div class="description">Code to appear between <head></head></div> 77 77 </td> … … 79 79 <tr valign="top"> 80 80 <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> 82 82 <div class="description">Code to appear before </body></div> 83 83 </td> … … 86 86 <tr valign="top"> 87 87 <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> 89 89 <div class="description">Code to appear between <head></head></div> 90 90 </td> … … 92 92 <tr valign="top"> 93 93 <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> 95 95 <div class="description">Code to appear before </body></div> 96 96 </td> -
vanilla-bean-meta-maid/tags/2.0.2/inc/functions.php
r2487403 r2911388 24 24 }else{ 25 25 function vanillabeans_settings() { 26 $adminurl= admin_url(); 26 27 ?> 27 28 <style> … … 42 43 <li> 43 44 <?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)'); 45 46 }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>'); 47 48 48 49 }?> … … 51 52 <li> 52 53 <?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)'); 54 55 }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>'); 56 57 }?> 57 58 <div class="small-text">Themify your login and password recovery pages.</div> … … 59 60 <li> 60 61 <?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)'); 62 63 }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>'); 64 65 }?> 65 66 <div class="small-text">Add your site's icon to each page, and across all devices.</div> … … 91 92 include( ABSPATH . "wp-admin/includes/plugin-install.php" ); 92 93 } 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"; 96 97 $per_page = 10; 97 98 $args = array … … 103 104 "locale" => get_locale(), 104 105 ); 105 $arges = apply_filters( "install_plugins_table_api_args_$ tab", $args );106 $arges = apply_filters( "install_plugins_table_api_args_$mmtab", $args ); 106 107 $api = plugins_api( "query_plugins", $arges ); 107 108 $item = $api->plugins; -
vanilla-bean-meta-maid/tags/2.0.2/readme.txt
r2586219 r2911388 3 3 Donate link: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/ 4 4 Tags: header code, footer code, meta tags, tracking code 5 Requires at least: 3.46 Tested up to: 5.87 Stable tag: 1.305 Requires at least: 4.0 6 Tested up to: 6.2 7 Stable tag: 2.0.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 Meta Maid is the simplest plugins. 14 Allows you to add meta tags, script tags and tracking code to 14 Allows you to add meta tags, script tags and tracking code to 15 15 the top and bottom of your page. 16 16 17 17 == Installation == 18 Unzip into your plugins directory, install directly from 18 Unzip into your plugins directory, install directly from 19 19 wordpress plugins site. 20 20 21 21 == Changelog == 22 = 2.0.2 = 23 Tested on wordpress 6.2 24 25 = 2.0.1 = 26 Tested 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 22 31 = 1.30 = 23 32 Added 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 4 4 Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/ 5 5 Description: Simple header and footer code injector 6 Version: 1.306 Version: 2.0.2 7 7 Author: vsmash 8 8 Author URI: http://www.velvary.com.au … … 10 10 */ 11 11 12 // If this file is called directly, abort.13 if ( ! defined( 'WPINC' )) {14 die;15 }12 // If this file is called directly, abort. 13 if (!defined('WPINC')) { 14 die; 15 } 16 16 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 }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.2'); 28 } 29 29 30 /*===========================================31 Define Includes32 ===========================================*/33 $includes = array(34 'functions.php'35 );30 /*=========================================== 31 Define Includes 32 ===========================================*/ 33 $includes = array( 34 'functions.php' 35 ); 36 36 37 $frontend_includes = array(38 'meta-maid.php'39 );37 $frontend_includes = array( 38 'meta-maid.php' 39 ); 40 40 41 41 42 $adminincludes= array( 43 'settings.php' 44 45 ); 42 $adminincludes = array( 43 'settings.php' 46 44 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 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 } 65 65 66 66 67 add_action('admin_menu', 'vbean_meta_maid_create_menu');67 add_action('admin_menu', 'vbean_meta_maid_create_menu'); 68 68 69 if(!function_exists('vbean_meta_maid_create_menu')){ 70 71 72 73 74 75 76 function vbean_meta_maid_create_menu() { 69 if (!function_exists('vbean_meta_maid_create_menu')) { 77 70 78 71 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'])) { 80 77 //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 function87 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 60 60 <tr valign="top"> 61 61 <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> 63 63 <div class="description">Code to appear between <head></head></div> 64 64 </td> … … 66 66 <tr valign="top"> 67 67 <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> 69 69 <div class="description">Code to appear before </body></div> 70 70 </td> … … 73 73 <tr valign="top"> 74 74 <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> 76 76 <div class="description">Code to appear between <head></head></div> 77 77 </td> … … 79 79 <tr valign="top"> 80 80 <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> 82 82 <div class="description">Code to appear before </body></div> 83 83 </td> … … 86 86 <tr valign="top"> 87 87 <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> 89 89 <div class="description">Code to appear between <head></head></div> 90 90 </td> … … 92 92 <tr valign="top"> 93 93 <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> 95 95 <div class="description">Code to appear before </body></div> 96 96 </td> -
vanilla-bean-meta-maid/tags/2.0.3/inc/functions.php
r2487403 r2911388 24 24 }else{ 25 25 function vanillabeans_settings() { 26 $adminurl= admin_url(); 26 27 ?> 27 28 <style> … … 42 43 <li> 43 44 <?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)'); 45 46 }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>'); 47 48 48 49 }?> … … 51 52 <li> 52 53 <?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)'); 54 55 }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>'); 56 57 }?> 57 58 <div class="small-text">Themify your login and password recovery pages.</div> … … 59 60 <li> 60 61 <?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)'); 62 63 }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>'); 64 65 }?> 65 66 <div class="small-text">Add your site's icon to each page, and across all devices.</div> … … 91 92 include( ABSPATH . "wp-admin/includes/plugin-install.php" ); 92 93 } 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"; 96 97 $per_page = 10; 97 98 $args = array … … 103 104 "locale" => get_locale(), 104 105 ); 105 $arges = apply_filters( "install_plugins_table_api_args_$ tab", $args );106 $arges = apply_filters( "install_plugins_table_api_args_$mmtab", $args ); 106 107 $api = plugins_api( "query_plugins", $arges ); 107 108 $item = $api->plugins; -
vanilla-bean-meta-maid/tags/2.0.3/readme.txt
r2586219 r2911388 3 3 Donate link: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/ 4 4 Tags: header code, footer code, meta tags, tracking code 5 Requires at least: 3.46 Tested up to: 5.87 Stable tag: 1.305 Requires at least: 4.0 6 Tested up to: 6.2 7 Stable tag: 2.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 Meta Maid is the simplest plugins. 14 Allows you to add meta tags, script tags and tracking code to 14 Allows you to add meta tags, script tags and tracking code to 15 15 the top and bottom of your page. 16 16 17 17 == Installation == 18 Unzip into your plugins directory, install directly from 18 Unzip into your plugins directory, install directly from 19 19 wordpress plugins site. 20 20 21 21 == Changelog == 22 = 2.0.2 = 23 Tested on wordpress 6.2 24 25 = 2.0.1 = 26 Tested 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 22 31 = 1.30 = 23 32 Added 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 4 4 Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/ 5 5 Description: Simple header and footer code injector 6 Version: 1.306 Version: 2.0.3 7 7 Author: vsmash 8 8 Author URI: http://www.velvary.com.au … … 10 10 */ 11 11 12 // If this file is called directly, abort.13 if ( ! defined( 'WPINC' )) {14 die;15 }12 // If this file is called directly, abort. 13 if (!defined('WPINC')) { 14 die; 15 } 16 16 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 }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.3'); 28 } 29 29 30 /*===========================================31 Define Includes32 ===========================================*/33 $includes = array(34 'functions.php'35 );30 /*=========================================== 31 Define Includes 32 ===========================================*/ 33 $includes = array( 34 'functions.php' 35 ); 36 36 37 $frontend_includes = array(38 'meta-maid.php'39 );37 $frontend_includes = array( 38 'meta-maid.php' 39 ); 40 40 41 41 42 $adminincludes= array( 43 'settings.php' 44 45 ); 42 $adminincludes = array( 43 'settings.php' 46 44 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 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 } 65 65 66 66 67 add_action('admin_menu', 'vbean_meta_maid_create_menu');67 add_action('admin_menu', 'vbean_meta_maid_create_menu'); 68 68 69 if(!function_exists('vbean_meta_maid_create_menu')){ 70 71 72 73 74 75 76 function vbean_meta_maid_create_menu() { 69 if (!function_exists('vbean_meta_maid_create_menu')) { 77 70 78 71 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'])) { 80 77 //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 function87 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 4 4 Tags: header code, footer code, meta tags, tracking code 5 5 Requires at least: 4.0 6 Tested up to: 6. 17 Stable tag: 2.0. 16 Tested up to: 6.2 7 Stable tag: 2.0.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 21 21 == Changelog == 22 = 2.0.2 = 23 Tested on wordpress 6.2 24 22 25 = 2.0.1 = 23 26 Tested on php8 and wordpress 6.1 -
vanilla-bean-meta-maid/tags/2.0.4/vanilla-bean-meta-maid.php
r2871433 r2911388 4 4 Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/ 5 5 Description: Simple header and footer code injector 6 Version: 2.0. 16 Version: 2.0.4 7 7 Author: vsmash 8 8 Author URI: http://www.velvary.com.au … … 10 10 */ 11 11 12 // If this file is called directly, abort.13 if ( ! defined( 'WPINC' )) {14 die;15 }12 // If this file is called directly, abort. 13 if (!defined('WPINC')) { 14 die; 15 } 16 16 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 }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.4'); 28 } 29 29 30 /*===========================================31 Define Includes32 ===========================================*/33 $includes = array(34 'functions.php'35 );30 /*=========================================== 31 Define Includes 32 ===========================================*/ 33 $includes = array( 34 'functions.php' 35 ); 36 36 37 $frontend_includes = array(38 'meta-maid.php'39 );37 $frontend_includes = array( 38 'meta-maid.php' 39 ); 40 40 41 41 42 $adminincludes= array(43 'settings.php'42 $adminincludes = array( 43 'settings.php' 44 44 45 );45 ); 46 46 47 /*===========================================48 Load Includes49 ===========================================*/50 // Common51 foreach ( $includes as $include) {52 require_once( dirname( __FILE__ ) . '/inc/'. $include);53 }54 if(is_admin()){55 //load admin part56 foreach ( $adminincludes as $admininclude) {57 require_once( dirname( __FILE__ ) . '/inc/admin/'. $admininclude);58 }59 }else{60 //load front part61 foreach ( $frontend_includes as $include) {62 require_once( dirname( __FILE__ ) . '/inc/'. $include);63 }64 }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 } 65 65 66 66 67 add_action('admin_menu', 'vbean_meta_maid_create_menu');67 add_action('admin_menu', 'vbean_meta_maid_create_menu'); 68 68 69 if(!function_exists('vbean_meta_maid_create_menu')){ 69 if (!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 } 70 87 71 88 72 89 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 menu81 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 function87 add_action( 'admin_init', 'VanillaBeans\MetaMaid\RegisterSettings' );88 }89 }90 91 92 -
vanilla-bean-meta-maid/trunk/readme.txt
r2871433 r2911388 4 4 Tags: header code, footer code, meta tags, tracking code 5 5 Requires at least: 4.0 6 Tested up to: 6. 17 Stable tag: 2.0. 16 Tested up to: 6.2 7 Stable tag: 2.0.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 20 20 21 21 == Changelog == 22 = 2.0.2 = 23 Tested on wordpress 6.2 24 22 25 = 2.0.1 = 23 26 Tested on php8 and wordpress 6.1 -
vanilla-bean-meta-maid/trunk/vanilla-bean-meta-maid.php
r2871433 r2911388 4 4 Plugin URI: http://www.velvary.com.au/vanilla-beans/wordpress/meta-maid/ 5 5 Description: Simple header and footer code injector 6 Version: 2.0. 16 Version: 2.0.4 7 7 Author: vsmash 8 8 Author URI: http://www.velvary.com.au … … 10 10 */ 11 11 12 // If this file is called directly, abort.13 if ( ! defined( 'WPINC' )) {14 die;15 }12 // If this file is called directly, abort. 13 if (!defined('WPINC')) { 14 die; 15 } 16 16 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 }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.4'); 28 } 29 29 30 /*===========================================31 Define Includes32 ===========================================*/33 $includes = array(34 'functions.php'35 );30 /*=========================================== 31 Define Includes 32 ===========================================*/ 33 $includes = array( 34 'functions.php' 35 ); 36 36 37 $frontend_includes = array(38 'meta-maid.php'39 );37 $frontend_includes = array( 38 'meta-maid.php' 39 ); 40 40 41 41 42 $adminincludes= array(43 'settings.php'42 $adminincludes = array( 43 'settings.php' 44 44 45 );45 ); 46 46 47 /*===========================================48 Load Includes49 ===========================================*/50 // Common51 foreach ( $includes as $include) {52 require_once( dirname( __FILE__ ) . '/inc/'. $include);53 }54 if(is_admin()){55 //load admin part56 foreach ( $adminincludes as $admininclude) {57 require_once( dirname( __FILE__ ) . '/inc/admin/'. $admininclude);58 }59 }else{60 //load front part61 foreach ( $frontend_includes as $include) {62 require_once( dirname( __FILE__ ) . '/inc/'. $include);63 }64 }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 } 65 65 66 66 67 add_action('admin_menu', 'vbean_meta_maid_create_menu');67 add_action('admin_menu', 'vbean_meta_maid_create_menu'); 68 68 69 if(!function_exists('vbean_meta_maid_create_menu')){ 69 if (!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 } 70 87 71 88 72 89 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 menu81 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 function87 add_action( 'admin_init', 'VanillaBeans\MetaMaid\RegisterSettings' );88 }89 }90 91 92
Note: See TracChangeset
for help on using the changeset viewer.