Changeset 1485180
- Timestamp:
- 08/28/2016 06:33:54 PM (9 years ago)
- Location:
- admin-builder/trunk
- Files:
-
- 3 edited
-
admin_builder.php (modified) (2 diffs)
-
inc/abGeneral.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admin-builder/trunk/admin_builder.php
r1484753 r1485180 4 4 Plugin URI: http://admin-builder.com 5 5 Description: A plugin that generates admin panel pages & posts,sidebars,custom admin pages with tabs, custom post types, rest routes, meta boxes and fields (with unlimited textbox, textarea, checkbox, custom select (dropdown box), datepicker, timepicker, colorpicker, upload media fields, with configurable options) Based on what's exported from http://admin-builder.com 6 Version: 1.1.1 06 Version: 1.1.11 7 7 Author: rootabout 8 8 Author URI: http://admin-builder.com … … 13 13 require_once 'inc/abCore.php'; 14 14 15 function abLoadPluginFirst($plugin, $network_activation)16 {17 // ensure path to this file is via main wp plugin path18 $wp_path_to_this_file = preg_replace('/(.*)plugins\/(.*)$/', WP_PLUGIN_DIR.'/$2', __FILE__);19 $this_plugin = plugin_basename(trim($wp_path_to_this_file));20 $active_plugins = get_option('active_plugins');21 $this_plugin_key = array_search($this_plugin, $active_plugins);22 if ($this_plugin_key) { // if it's 0 it's the first plugin already, no need to continue23 array_splice($active_plugins, $this_plugin_key, 1);24 array_unshift($active_plugins, $this_plugin);25 update_option('active_plugins', $active_plugins);26 }27 }28 add_action('activated_plugin', 'abLoadPluginFirst',10,2);15 function abLoadPluginFirst($plugin, $network_activation) 16 { 17 // ensure path to this file is via main wp plugin path 18 $wp_path_to_this_file = preg_replace('/(.*)plugins\/(.*)$/', WP_PLUGIN_DIR.'/$2', __FILE__); 19 $this_plugin = plugin_basename(trim($wp_path_to_this_file)); 20 $active_plugins = get_option('active_plugins'); 21 $this_plugin_key = array_search($this_plugin, $active_plugins); 22 if ($this_plugin_key) { // if it's 0 it's the first plugin already, no need to continue 23 array_splice($active_plugins, $this_plugin_key, 1); 24 array_unshift($active_plugins, $this_plugin); 25 update_option('active_plugins', $active_plugins); 26 } 27 } 28 add_action('activated_plugin', 'abLoadPluginFirst', 10, 2); -
admin-builder/trunk/inc/abGeneral.php
r1455963 r1485180 55 55 $exists = false; // the settings are entirely new? 56 56 $newArr = array(); 57 57 58 if (!empty($dataArr) && is_array($dataArr)) { 58 59 foreach ($dataArr as $item) { … … 61 62 } 62 63 // check if name and version is up to date in the db 63 if ($item[' ver'] != $sVersion&& $item['name'] == $sName) {64 if ($item['sett'] != $jsonString && $item['name'] == $sName) { 64 65 $item['ver'] = $sVersion; 65 66 $item['sett'] = $jsonString; -
admin-builder/trunk/readme.txt
r1484766 r1485180 5 5 Requires at least: 4.0 6 6 Tested up to: 4.6 7 Stable tag: 1.1.1 07 Stable tag: 1.1.11 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Generates admin panel functionality for pages & posts, unlimited sortable meta boxes and unlimited sortable fields11 Generates admin panel functionality for pages & posts, unlimited sortable meta boxes, custom post types, pages with tabs, sidebars, rest routes declarations with options and unlimited sortable fields 12 12 13 13 == Description == … … 16 16 Admin Builder is a tool that helps developers generate admin panel sections fast and easy. You can create unlimited meta 17 17 boxes with unlimited fields of different types ( textbox, textarea, select, radio buttons, timepicker , datepicker, colorpicker, media upload ) and multiple configurable options for each type. for posts and pages. 18 You can also create Unlimited Sidebars, Rest Routes, Admin pages with unlimited tabs, custom post types. 18 19 A few notes about the sections above: 19 20 … … 121 122 Fixed a styling issue that was disabling screen options 122 123 123 = 1.1.9 = 124 = 1.1.9 = 124 125 Removed bootstrap css 125 126 126 127 = 1.1.10 = 127 128 Re-added bootstrap icons functionality for css 129 130 = 1.1.11 = 131 Settings are no longer updated in the database based on plugin/theme version, but are updated based on themselves, if they are different, only then the configured settings change. -> Improvement in UX 128 132 129 133 == Arbitrary section ==
Note: See TracChangeset
for help on using the changeset viewer.