Plugin Directory

Changeset 1455963


Ignore:
Timestamp:
07/17/2016 01:24:32 PM (9 years ago)
Author:
rootabout
Message:

-updated to 1.1.4 - added rest api generating functionality

Location:
admin-builder/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • admin-builder/trunk/admin_builder.php

    r1453232 r1455963  
    33  Plugin Name: Admin Builder
    44  Plugin URI: http://admin-builder.com
    5   Description: A plugin that generates admin panel pages & posts,sidebars,custom admin pages with tabs, custom post types, 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.3
     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.4
    77  Author: rootabout
    88  Author URI: http://admin-builder.com
     
    1212 require_once 'inc/abEnqueue.php';
    1313 require_once 'inc/abCore.php';
     14
     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/abCore.php

    r1453232 r1455963  
    1212// sidebars functionality
    1313require_once 'abSidebars.php';
     14//rest api routes
     15require_once 'abRoutes.php';
    1416//Plugin functionality
    1517require_once 'ab.php';
  • admin-builder/trunk/inc/abGeneral.php

    r1452899 r1455963  
    3535                  //custom sidebars
    3636                  new abSidebars($dataArrSettings);
    37                   // custom widgets Class
     37                  // custom rest api routes Class
     38                  new abRoutes($dataArrSettings);
     39
    3840                }
    3941            }
  • admin-builder/trunk/readme.txt

    r1453232 r1455963  
    55Requires at least: 4.0
    66Tested up to: 4.5
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    163163  The ability to manage active settings from the database has been introduced. There's a new administration panel page called Admin Builder that allows you to delete any Plugin or Theme related Setting from the database that you are not usin.
    164164
     165  = 1.1.4 =
     166  Added Rest Api routes functionality with the
    165167
    166168== Arbitrary section ==
Note: See TracChangeset for help on using the changeset viewer.