mirror of
https://github.com/e107inc/e107.git
synced 2025-04-13 09:01:59 +02:00
Removed the need for pre-registration of core shortcode classes
This commit is contained in:
parent
981afe83ec
commit
45d86f2edf
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
37
e107_core/shortcodes/batch/admin_shortcodes_old.php
Normal file
37
e107_core/shortcodes/batch/admin_shortcodes_old.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||
* $Id$
|
||||
*
|
||||
* Admin shortcode batch - registration
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$codes = array(
|
||||
'admin_alt_nav',
|
||||
'admin_credits',
|
||||
'admin_docs',
|
||||
'admin_help',
|
||||
'admin_icon',
|
||||
'admin_lang',
|
||||
'admin_latest',
|
||||
'admin_log',
|
||||
'admin_logged',
|
||||
'admin_logo',
|
||||
'admin_menu',
|
||||
'admin_msg',
|
||||
'admin_nav',
|
||||
'admin_navigation',
|
||||
'admin_plugins',
|
||||
'admin_preset',
|
||||
'admin_pword',
|
||||
'admin_sel_lan',
|
||||
'admin_siteinfo',
|
||||
'admin_status',
|
||||
'admin_update',
|
||||
'admin_userlan',
|
||||
'admin_menumanager',
|
||||
);
|
||||
|
||||
register_shortcode('admin_shortcodes', $codes, e_CORE.'shortcodes/batch/admin_shortcodes_class.php');
|
||||
?>
|
Loading…
x
Reference in New Issue
Block a user