Changeset 2502843
- Timestamp:
- 03/24/2021 08:02:44 PM (5 years ago)
- Location:
- global-custom-fields/trunk
- Files:
-
- 3 edited
-
GCF.php (modified) (1 diff)
-
assets/functions.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
global-custom-fields/trunk/GCF.php
r2441094 r2502843 3 3 /** 4 4 * Plugin Name: Global Custom Fields 5 * Plugin URI: https://wordpress.org/plugins/global-custom-fields /5 * Plugin URI: https://wordpress.org/plugins/global-custom-fields 6 6 * Description: Create Global Custom fields and save them into WP Options, then get them in PHP or use gcf Shortcode 7 * Version: 1. 27 * Version: 1.3 8 8 * Author: tommasomeli 9 9 * Author URI: https://profiles.wordpress.org/tommasomeli -
global-custom-fields/trunk/assets/functions.php
r2439064 r2502843 24 24 function codemirror_enqueue_scripts($hook) 25 25 { 26 $cm_settings['codeEditor'] = wp_enqueue_code_editor(array('type' => 'text/css')); 27 wp_localize_script('jquery', 'cm_settings', $cm_settings); 28 // wp_enqueue_script('wp-theme-plugin-editor'); 29 wp_enqueue_style('wp-codemirror'); 26 // var_dump($hook); 27 if ($hook == "toplevel_page_GCF") { 28 $cm_settings['codeEditor'] = wp_enqueue_code_editor(array('type' => 'text/css')); 29 wp_localize_script('jquery', 'cm_settings', $cm_settings); 30 // wp_enqueue_script('wp-theme-plugin-editor'); 31 wp_enqueue_style('wp-codemirror'); 32 } 30 33 } 31 34 -
global-custom-fields/trunk/readme.txt
r2439064 r2502843 1 1 === Global Custom Fields === 2 2 Contributors: tommasomeli 3 Tags: gcf, global custom fields, advanced, custom, field, fields , global, php, content, groups, shortcode, shortcodes3 Tags: gcf, global custom fields, advanced, custom, field, fields 4 4 Requires at least: 3.4 5 Tested up to: 5. 66 Requires PHP: 5. 67 Stable tag: 1. 25 Tested up to: 5.7 6 Requires PHP: 5.4 7 Stable tag: 1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 44 44 == Changelog == 45 45 46 = 1.3 (25th March,2021) = 47 48 * WP 5.7 compatibility 49 46 50 = 1.2 (14th December,2020) = 47 51
Note: See TracChangeset
for help on using the changeset viewer.