Adminimize - Version 1.11.0

Version Description

(2016-11-24) = * Fix open Translations. props pedro-mendonca * Fix Typos. * Fix php warning on Admin Bar items for PHP 5.2. * Fix CPT feature support, if it false. * Add check in different functions for AJAX request. * Add to prevent access to pages of the back end, there are active for hiding in the settings. * Add plugin option to remove the default behavior to prevent access to pages.

Download this release

Release Info

Developer Bueltge
Plugin Icon wp plugin Adminimize
Version 1.11.0
Comparing to
See all releases

Code changes from version 1.10.6 to 1.11.0

CHANGELOG.md CHANGED
@@ -1,7 +1,16 @@
1
  # Change Log
2
  All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
3
 
4
- ## [Unreleased](https://github.com/bueltge/Adminimize/compare/1.10.6...HEAD)
 
 
 
 
 
 
 
 
 
5
 
6
  ## [1.10.6](https://github.com/bueltge/Adminimize/compare/1.10.5...1.10.6) - 2016-08-09
7
  ### Fixed
1
  # Change Log
2
  All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/).
3
 
4
+ ## [Unreleased](https://github.com/bueltge/Adminimize/compare/1.11.0...HEAD)
5
+
6
+ ## [1.11.0](https://github.com/bueltge/Adminimize/compare/1.10.6...1.11.0) - 2016-11-24
7
+ * Fix open Translations. props pedro-mendonca
8
+ * Fix Typos.
9
+ * Fix php warning on Admin Bar items for PHP 5.2.
10
+ * Fix CPT feature support, if it false.
11
+ * Add check in different functions for AJAX request.
12
+ * Add to prevent access to pages of the back end, there are active for hiding in the settings.
13
+ * Add plugin option to remove the default behavior to prevent access to pages.
14
 
15
  ## [1.10.6](https://github.com/bueltge/Adminimize/compare/1.10.5...1.10.6) - 2016-08-09
16
  ### Fixed
LICENSE.txt CHANGED
File without changes
adminimize.php CHANGED
@@ -7,13 +7,13 @@
7
  * Description: Visually compresses the administrative meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for all roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles.
8
  * Author: Frank Bültge
9
  * Author URI: http://bueltge.de/
10
- * Version: 1.10.6
11
  * License: GPLv3+
12
  *
13
  * @package WordPress
14
  * @author Frank Bültge <frank@bueltge.de>
15
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16
- * @version 2016-08-09
17
  */
18
 
19
  /**
@@ -22,7 +22,7 @@
22
  * of differently user-right and a user-friendly range in admin-area via reduce areas.
23
  * :( grmpf i have so much wishes and hints form users, there use the plugin and
24
  * it is not easy to development this on my free time.
25
- * Also I hate the source, old and harrd to maintain, no OOP.
26
  */
27
 
28
  if ( ! function_exists( 'add_action' ) ) {
@@ -97,6 +97,10 @@ function _mw_adminimize_exclude_settings_page() {
97
  return FALSE;
98
  }
99
 
 
 
 
 
100
  if ( ! isset( $_GET[ 'page' ] ) ) {
101
  $page = '';
102
  } else {
@@ -644,6 +648,8 @@ function _mw_adminimize_set_menu_option() {
644
  if ( in_array( $menu_slug, $mw_adminimize_menu, FALSE )
645
  ) {
646
  remove_menu_page( $menu_slug );
 
 
647
  }
648
 
649
  // Sub Menu Settings.
@@ -659,6 +665,8 @@ function _mw_adminimize_set_menu_option() {
659
  ) {
660
  remove_submenu_page( $menu_slug, $subitem[ 2 ] );
661
  //unset( $submenu[ $menu_slug ][ $subindex ] );
 
 
662
  }
663
  }
664
  }
@@ -1074,6 +1082,7 @@ function _mw_adminimize_small_user_info() {
1074
 
1075
  // Include message class.
1076
  require_once 'inc-setup/messages.php';
 
1077
  // include helping functions
1078
  require_once 'inc-setup/helping_hands.php';
1079
 
@@ -1283,6 +1292,12 @@ function _mw_adminimize_update() {
1283
  $adminimizeoptions[ 'mw_adminimize_support_bbpress' ] = 0;
1284
  }
1285
 
 
 
 
 
 
 
1286
  // Admin Bar Front end settings
1287
  $adminimizeoptions[ 'mw_adminimize_admin_bar_frontend_nodes' ] = _mw_adminimize_get_option_value(
1288
  'mw_adminimize_admin_bar_frontend_nodes'
@@ -1352,8 +1367,17 @@ function _mw_adminimize_update() {
1352
  }
1353
 
1354
  if ( isset( $_POST[ '_mw_adminimize_advice_txt' ] ) ) {
1355
- $adminimizeoptions[ '_mw_adminimize_advice_txt' ] = htmlspecialchars(
1356
- stripslashes( $_POST[ '_mw_adminimize_advice_txt' ] )
 
 
 
 
 
 
 
 
 
1357
  );
1358
  } else {
1359
  $adminimizeoptions[ '_mw_adminimize_advice_txt' ] = '';
@@ -1389,7 +1413,7 @@ function _mw_adminimize_update() {
1389
  }
1390
  // own menu slug
1391
  if ( isset( $_POST[ '_mw_adminimize_own_menu_slug' ] ) ) {
1392
- $adminimizeoptions[ '_mw_adminimize_own_menu_slug' ] = stripslashes(
1393
  $_POST[ '_mw_adminimize_own_menu_slug' ]
1394
  );
1395
  } else {
@@ -1397,7 +1421,7 @@ function _mw_adminimize_update() {
1397
  }
1398
  // own custom menu slug
1399
  if ( isset( $_POST[ '_mw_adminimize_own_menu_custom_slug' ] ) ) {
1400
- $adminimizeoptions[ '_mw_adminimize_own_menu_custom_slug' ] = stripslashes(
1401
  $_POST[ '_mw_adminimize_own_menu_custom_slug' ]
1402
  );
1403
  } else {
@@ -1472,20 +1496,20 @@ function _mw_adminimize_update() {
1472
 
1473
  // own options
1474
  if ( isset( $_POST[ '_mw_adminimize_own_values' ] ) ) {
1475
- $adminimizeoptions[ '_mw_adminimize_own_values' ] = stripslashes( $_POST[ '_mw_adminimize_own_values' ] );
1476
  } else {
1477
  $adminimizeoptions[ '_mw_adminimize_own_values' ] = '';
1478
  }
1479
 
1480
  if ( isset( $_POST[ '_mw_adminimize_own_options' ] ) ) {
1481
- $adminimizeoptions[ '_mw_adminimize_own_options' ] = stripslashes( $_POST[ '_mw_adminimize_own_options' ] );
1482
  } else {
1483
  $adminimizeoptions[ '_mw_adminimize_own_options' ] = '';
1484
  }
1485
 
1486
  // own post options
1487
  if ( isset( $_POST[ '_mw_adminimize_own_post_values' ] ) ) {
1488
- $adminimizeoptions[ '_mw_adminimize_own_post_values' ] = stripslashes(
1489
  $_POST[ '_mw_adminimize_own_post_values' ]
1490
  );
1491
  } else {
@@ -1493,7 +1517,7 @@ function _mw_adminimize_update() {
1493
  }
1494
 
1495
  if ( isset( $_POST[ '_mw_adminimize_own_post_options' ] ) ) {
1496
- $adminimizeoptions[ '_mw_adminimize_own_post_options' ] = stripslashes(
1497
  $_POST[ '_mw_adminimize_own_post_options' ]
1498
  );
1499
  } else {
@@ -1502,7 +1526,7 @@ function _mw_adminimize_update() {
1502
 
1503
  // own page options
1504
  if ( isset( $_POST[ '_mw_adminimize_own_page_values' ] ) ) {
1505
- $adminimizeoptions[ '_mw_adminimize_own_page_values' ] = stripslashes(
1506
  $_POST[ '_mw_adminimize_own_page_values' ]
1507
  );
1508
  } else {
@@ -1510,7 +1534,7 @@ function _mw_adminimize_update() {
1510
  }
1511
 
1512
  if ( isset( $_POST[ '_mw_adminimize_own_page_options' ] ) ) {
1513
- $adminimizeoptions[ '_mw_adminimize_own_page_options' ] = stripslashes(
1514
  $_POST[ '_mw_adminimize_own_page_options' ]
1515
  );
1516
  } else {
@@ -1520,7 +1544,7 @@ function _mw_adminimize_update() {
1520
  // own custom post options
1521
  foreach ( $post_types as $post_type ) {
1522
  if ( isset( $_POST[ '_mw_adminimize_own_values_' . $post_type ] ) ) {
1523
- $adminimizeoptions[ '_mw_adminimize_own_values_' . $post_type ] = stripslashes(
1524
  $_POST[ '_mw_adminimize_own_values_' . $post_type ]
1525
  );
1526
  } else {
@@ -1528,7 +1552,7 @@ function _mw_adminimize_update() {
1528
  }
1529
 
1530
  if ( isset( $_POST[ '_mw_adminimize_own_options_' . $post_type ] ) ) {
1531
- $adminimizeoptions[ '_mw_adminimize_own_options_' . $post_type ] = stripslashes(
1532
  $_POST[ '_mw_adminimize_own_options_' . $post_type ]
1533
  );
1534
  } else {
@@ -1538,7 +1562,7 @@ function _mw_adminimize_update() {
1538
 
1539
  // own link options
1540
  if ( isset( $_POST[ '_mw_adminimize_own_link_values' ] ) ) {
1541
- $adminimizeoptions[ '_mw_adminimize_own_link_values' ] = stripslashes(
1542
  $_POST[ '_mw_adminimize_own_link_values' ]
1543
  );
1544
  } else {
@@ -1546,7 +1570,7 @@ function _mw_adminimize_update() {
1546
  }
1547
 
1548
  if ( isset( $_POST[ '_mw_adminimize_own_link_options' ] ) ) {
1549
- $adminimizeoptions[ '_mw_adminimize_own_link_options' ] = stripslashes(
1550
  $_POST[ '_mw_adminimize_own_link_options' ]
1551
  );
1552
  } else {
@@ -1555,7 +1579,7 @@ function _mw_adminimize_update() {
1555
 
1556
  // wp nav menu options
1557
  if ( isset( $_POST[ '_mw_adminimize_own_nav_menu_values' ] ) ) {
1558
- $adminimizeoptions[ '_mw_adminimize_own_nav_menu_values' ] = stripslashes(
1559
  $_POST[ '_mw_adminimize_own_nav_menu_values' ]
1560
  );
1561
  } else {
@@ -1563,7 +1587,7 @@ function _mw_adminimize_update() {
1563
  }
1564
 
1565
  if ( isset( $_POST[ '_mw_adminimize_own_nav_menu_options' ] ) ) {
1566
- $adminimizeoptions[ '_mw_adminimize_own_nav_menu_options' ] = stripslashes(
1567
  $_POST[ '_mw_adminimize_own_nav_menu_options' ]
1568
  );
1569
  } else {
@@ -1572,7 +1596,7 @@ function _mw_adminimize_update() {
1572
 
1573
  // widget options
1574
  if ( isset( $_POST[ '_mw_adminimize_own_widget_values' ] ) ) {
1575
- $adminimizeoptions[ '_mw_adminimize_own_widget_values' ] = stripslashes(
1576
  $_POST[ '_mw_adminimize_own_widget_values' ]
1577
  );
1578
  } else {
@@ -1580,7 +1604,7 @@ function _mw_adminimize_update() {
1580
  }
1581
 
1582
  if ( isset( $_POST[ '_mw_adminimize_own_widget_options' ] ) ) {
1583
- $adminimizeoptions[ '_mw_adminimize_own_widget_options' ] = stripslashes(
1584
  $_POST[ '_mw_adminimize_own_widget_options' ]
1585
  );
1586
  } else {
@@ -1589,7 +1613,7 @@ function _mw_adminimize_update() {
1589
 
1590
  // own dashboard options
1591
  if ( isset( $_POST[ '_mw_adminimize_own_dashboard_values' ] ) ) {
1592
- $adminimizeoptions[ '_mw_adminimize_own_dashboard_values' ] = stripslashes(
1593
  $_POST[ '_mw_adminimize_own_dashboard_values' ]
1594
  );
1595
  } else {
@@ -1597,7 +1621,7 @@ function _mw_adminimize_update() {
1597
  }
1598
 
1599
  if ( isset( $_POST[ '_mw_adminimize_own_dashboard_options' ] ) ) {
1600
- $adminimizeoptions[ '_mw_adminimize_own_dashboard_options' ] = stripslashes(
1601
  $_POST[ '_mw_adminimize_own_dashboard_options' ]
1602
  );
1603
  } else {
@@ -1649,7 +1673,12 @@ function _mw_adminimize_uninstall() {
1649
  function _mw_adminimize_install() {
1650
 
1651
  if ( ! is_admin() ) {
1652
- return NULL;
 
 
 
 
 
1653
  }
1654
 
1655
  global $menu, $submenu;
7
  * Description: Visually compresses the administrative meta-boxes so that more admin page content can be initially seen. The plugin that lets you hide 'unnecessary' items from the WordPress administration menu, for all roles of your install. You can also hide post meta controls on the edit-area to simplify the interface. It is possible to simplify the admin in different for all roles.
8
  * Author: Frank Bültge
9
  * Author URI: http://bueltge.de/
10
+ * Version: 1.11.0
11
  * License: GPLv3+
12
  *
13
  * @package WordPress
14
  * @author Frank Bültge <frank@bueltge.de>
15
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
16
+ * @version 2016-11-21
17
  */
18
 
19
  /**
22
  * of differently user-right and a user-friendly range in admin-area via reduce areas.
23
  * :( grmpf i have so much wishes and hints form users, there use the plugin and
24
  * it is not easy to development this on my free time.
25
+ * Also I hate the source, old and hard to maintain, no OOP.
26
  */
27
 
28
  if ( ! function_exists( 'add_action' ) ) {
97
  return FALSE;
98
  }
99
 
100
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
101
+ return FALSE;
102
+ }
103
+
104
  if ( ! isset( $_GET[ 'page' ] ) ) {
105
  $page = '';
106
  } else {
648
  if ( in_array( $menu_slug, $mw_adminimize_menu, FALSE )
649
  ) {
650
  remove_menu_page( $menu_slug );
651
+ // Prevent access to the page with the slug, there was inactive.
652
+ _mw_adminimize_check_page_access( $menu_slug );
653
  }
654
 
655
  // Sub Menu Settings.
665
  ) {
666
  remove_submenu_page( $menu_slug, $subitem[ 2 ] );
667
  //unset( $submenu[ $menu_slug ][ $subindex ] );
668
+ // Prevent access to the page with the slug, there was inactive.
669
+ _mw_adminimize_check_page_access( $subitem[ 2 ] );
670
  }
671
  }
672
  }
1082
 
1083
  // Include message class.
1084
  require_once 'inc-setup/messages.php';
1085
+
1086
  // include helping functions
1087
  require_once 'inc-setup/helping_hands.php';
1088
 
1292
  $adminimizeoptions[ 'mw_adminimize_support_bbpress' ] = 0;
1293
  }
1294
 
1295
+ if ( isset( $_POST[ 'mw_adminimize_prevent_page_access' ] ) ) {
1296
+ $adminimizeoptions[ 'mw_adminimize_prevent_page_access' ] = (int) $_POST[ 'mw_adminimize_prevent_page_access' ];
1297
+ } else {
1298
+ $adminimizeoptions[ 'mw_adminimize_prevent_page_access' ] = 0;
1299
+ }
1300
+
1301
  // Admin Bar Front end settings
1302
  $adminimizeoptions[ 'mw_adminimize_admin_bar_frontend_nodes' ] = _mw_adminimize_get_option_value(
1303
  'mw_adminimize_admin_bar_frontend_nodes'
1367
  }
1368
 
1369
  if ( isset( $_POST[ '_mw_adminimize_advice_txt' ] ) ) {
1370
+ $adminimizeoptions[ '_mw_adminimize_advice_txt' ] = wp_kses(
1371
+ $_POST[ '_mw_adminimize_advice_txt' ],
1372
+ array(
1373
+ 'a' => array(
1374
+ 'href' => array(),
1375
+ 'title' => array()
1376
+ ),
1377
+ 'br' => array(),
1378
+ 'em' => array(),
1379
+ 'strong' => array(),
1380
+ )
1381
  );
1382
  } else {
1383
  $adminimizeoptions[ '_mw_adminimize_advice_txt' ] = '';
1413
  }
1414
  // own menu slug
1415
  if ( isset( $_POST[ '_mw_adminimize_own_menu_slug' ] ) ) {
1416
+ $adminimizeoptions[ '_mw_adminimize_own_menu_slug' ] = sanitize_textarea_field(
1417
  $_POST[ '_mw_adminimize_own_menu_slug' ]
1418
  );
1419
  } else {
1421
  }
1422
  // own custom menu slug
1423
  if ( isset( $_POST[ '_mw_adminimize_own_menu_custom_slug' ] ) ) {
1424
+ $adminimizeoptions[ '_mw_adminimize_own_menu_custom_slug' ] = sanitize_textarea_field(
1425
  $_POST[ '_mw_adminimize_own_menu_custom_slug' ]
1426
  );
1427
  } else {
1496
 
1497
  // own options
1498
  if ( isset( $_POST[ '_mw_adminimize_own_values' ] ) ) {
1499
+ $adminimizeoptions[ '_mw_adminimize_own_values' ] = sanitize_textarea_field( $_POST[ '_mw_adminimize_own_values' ] );
1500
  } else {
1501
  $adminimizeoptions[ '_mw_adminimize_own_values' ] = '';
1502
  }
1503
 
1504
  if ( isset( $_POST[ '_mw_adminimize_own_options' ] ) ) {
1505
+ $adminimizeoptions[ '_mw_adminimize_own_options' ] = sanitize_textarea_field( $_POST[ '_mw_adminimize_own_options' ] );
1506
  } else {
1507
  $adminimizeoptions[ '_mw_adminimize_own_options' ] = '';
1508
  }
1509
 
1510
  // own post options
1511
  if ( isset( $_POST[ '_mw_adminimize_own_post_values' ] ) ) {
1512
+ $adminimizeoptions[ '_mw_adminimize_own_post_values' ] = sanitize_textarea_field(
1513
  $_POST[ '_mw_adminimize_own_post_values' ]
1514
  );
1515
  } else {
1517
  }
1518
 
1519
  if ( isset( $_POST[ '_mw_adminimize_own_post_options' ] ) ) {
1520
+ $adminimizeoptions[ '_mw_adminimize_own_post_options' ] = sanitize_textarea_field(
1521
  $_POST[ '_mw_adminimize_own_post_options' ]
1522
  );
1523
  } else {
1526
 
1527
  // own page options
1528
  if ( isset( $_POST[ '_mw_adminimize_own_page_values' ] ) ) {
1529
+ $adminimizeoptions[ '_mw_adminimize_own_page_values' ] = sanitize_textarea_field(
1530
  $_POST[ '_mw_adminimize_own_page_values' ]
1531
  );
1532
  } else {
1534
  }
1535
 
1536
  if ( isset( $_POST[ '_mw_adminimize_own_page_options' ] ) ) {
1537
+ $adminimizeoptions[ '_mw_adminimize_own_page_options' ] = sanitize_textarea_field(
1538
  $_POST[ '_mw_adminimize_own_page_options' ]
1539
  );
1540
  } else {
1544
  // own custom post options
1545
  foreach ( $post_types as $post_type ) {
1546
  if ( isset( $_POST[ '_mw_adminimize_own_values_' . $post_type ] ) ) {
1547
+ $adminimizeoptions[ '_mw_adminimize_own_values_' . $post_type ] = sanitize_textarea_field(
1548
  $_POST[ '_mw_adminimize_own_values_' . $post_type ]
1549
  );
1550
  } else {
1552
  }
1553
 
1554
  if ( isset( $_POST[ '_mw_adminimize_own_options_' . $post_type ] ) ) {
1555
+ $adminimizeoptions[ '_mw_adminimize_own_options_' . $post_type ] = sanitize_textarea_field(
1556
  $_POST[ '_mw_adminimize_own_options_' . $post_type ]
1557
  );
1558
  } else {
1562
 
1563
  // own link options
1564
  if ( isset( $_POST[ '_mw_adminimize_own_link_values' ] ) ) {
1565
+ $adminimizeoptions[ '_mw_adminimize_own_link_values' ] = sanitize_textarea_field(
1566
  $_POST[ '_mw_adminimize_own_link_values' ]
1567
  );
1568
  } else {
1570
  }
1571
 
1572
  if ( isset( $_POST[ '_mw_adminimize_own_link_options' ] ) ) {
1573
+ $adminimizeoptions[ '_mw_adminimize_own_link_options' ] = sanitize_textarea_field(
1574
  $_POST[ '_mw_adminimize_own_link_options' ]
1575
  );
1576
  } else {
1579
 
1580
  // wp nav menu options
1581
  if ( isset( $_POST[ '_mw_adminimize_own_nav_menu_values' ] ) ) {
1582
+ $adminimizeoptions[ '_mw_adminimize_own_nav_menu_values' ] = sanitize_textarea_field(
1583
  $_POST[ '_mw_adminimize_own_nav_menu_values' ]
1584
  );
1585
  } else {
1587
  }
1588
 
1589
  if ( isset( $_POST[ '_mw_adminimize_own_nav_menu_options' ] ) ) {
1590
+ $adminimizeoptions[ '_mw_adminimize_own_nav_menu_options' ] = sanitize_textarea_field(
1591
  $_POST[ '_mw_adminimize_own_nav_menu_options' ]
1592
  );
1593
  } else {
1596
 
1597
  // widget options
1598
  if ( isset( $_POST[ '_mw_adminimize_own_widget_values' ] ) ) {
1599
+ $adminimizeoptions[ '_mw_adminimize_own_widget_values' ] = sanitize_textarea_field(
1600
  $_POST[ '_mw_adminimize_own_widget_values' ]
1601
  );
1602
  } else {
1604
  }
1605
 
1606
  if ( isset( $_POST[ '_mw_adminimize_own_widget_options' ] ) ) {
1607
+ $adminimizeoptions[ '_mw_adminimize_own_widget_options' ] = sanitize_textarea_field(
1608
  $_POST[ '_mw_adminimize_own_widget_options' ]
1609
  );
1610
  } else {
1613
 
1614
  // own dashboard options
1615
  if ( isset( $_POST[ '_mw_adminimize_own_dashboard_values' ] ) ) {
1616
+ $adminimizeoptions[ '_mw_adminimize_own_dashboard_values' ] = sanitize_textarea_field(
1617
  $_POST[ '_mw_adminimize_own_dashboard_values' ]
1618
  );
1619
  } else {
1621
  }
1622
 
1623
  if ( isset( $_POST[ '_mw_adminimize_own_dashboard_options' ] ) ) {
1624
+ $adminimizeoptions[ '_mw_adminimize_own_dashboard_options' ] = sanitize_textarea_field(
1625
  $_POST[ '_mw_adminimize_own_dashboard_options' ]
1626
  );
1627
  } else {
1673
  function _mw_adminimize_install() {
1674
 
1675
  if ( ! is_admin() ) {
1676
+ return;
1677
+ }
1678
+
1679
+ // If is AJAX Call.
1680
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
1681
+ return;
1682
  }
1683
 
1684
  global $menu, $submenu;
adminimize_page.php CHANGED
File without changes
css/mw_cat_full.css CHANGED
File without changes
css/mw_small_user_info.css CHANGED
File without changes
css/style.css CHANGED
File without changes
inc-options/admin_bar.php CHANGED
@@ -26,7 +26,7 @@ if ( ! isset( $user_roles_names ) ) {
26
  <div class="postbox">
27
  <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
28
  <h3 class="hndle" id="admin_bar_options" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><?php
29
- esc_attr_e( 'Admin Bar Back end options', 'adminimize' ); ?></h3>
30
 
31
  <div class="inside">
32
  <br class="clear" />
26
  <div class="postbox">
27
  <div class="handlediv" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><br /></div>
28
  <h3 class="hndle" id="admin_bar_options" title="<?php esc_attr_e( 'Click to toggle' ); ?>"><?php
29
+ esc_attr_e( 'Admin Bar Back end Options', 'adminimize' ); ?></h3>
30
 
31
  <div class="inside">
32
  <br class="clear" />
inc-options/backend_options.php CHANGED
@@ -159,12 +159,13 @@ if ( ! function_exists( 'add_action' ) ) {
159
  echo ' selected="selected"';
160
  } ?>><?php esc_attr_e( 'Activate', 'adminimize' ); ?></option>
161
  </select>
162
- <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_advice_txt" id="_mw_adminimize_advice_txt"><?php echo htmlspecialchars(
163
- stripslashes( _mw_adminimize_get_option_value( '_mw_adminimize_advice_txt' ) )
164
- ); ?></textarea><br /><?php esc_attr_e(
165
- 'In the Footer you can display an advice for changing the Default-design, (x)HTML is possible.',
166
  'adminimize'
167
  ); ?>
 
168
  </td>
169
  </tr>
170
  <?php
@@ -224,8 +225,9 @@ if ( ! function_exists( 'add_action' ) ) {
224
  </option>
225
  <option value="6"<?php if ( $_mw_adminimize_db_redirect === 6 ) {
226
  echo ' selected="selected"';
227
- } ?>><?php esc_attr_e( 'other Page', 'adminimize' ); ?></option>
228
  </select>
 
229
  <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_db_redirect_txt" id="_mw_adminimize_db_redirect_txt"><?php
230
  echo htmlspecialchars(
231
  stripslashes( _mw_adminimize_get_option_value( '_mw_adminimize_db_redirect_txt' ) )
159
  echo ' selected="selected"';
160
  } ?>><?php esc_attr_e( 'Activate', 'adminimize' ); ?></option>
161
  </select>
162
+ <br>
163
+ <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_advice_txt" id="_mw_adminimize_advice_txt"><?php echo _mw_adminimize_get_option_value( '_mw_adminimize_advice_txt' ); ?></textarea>
164
+ <br /><?php esc_attr_e(
165
+ 'In the Footer you can display an advice for changing the Default-design, (x)HTML is possible.',
166
  'adminimize'
167
  ); ?>
168
+ <code>a - (href, title), br, em, strong</code>
169
  </td>
170
  </tr>
171
  <?php
225
  </option>
226
  <option value="6"<?php if ( $_mw_adminimize_db_redirect === 6 ) {
227
  echo ' selected="selected"';
228
+ } ?>><?php esc_attr_e( 'Other Page', 'adminimize' ); ?></option>
229
  </select>
230
+ <br>
231
  <textarea style="width: 85%;" class="code" rows="1" cols="60" name="_mw_adminimize_db_redirect_txt" id="_mw_adminimize_db_redirect_txt"><?php
232
  echo htmlspecialchars(
233
  stripslashes( _mw_adminimize_get_option_value( '_mw_adminimize_db_redirect_txt' ) )
inc-options/dashboard_options.php CHANGED
File without changes
inc-options/deinstall_options.php CHANGED
File without changes
inc-options/global_options.php CHANGED
File without changes
inc-options/im_export_options.php CHANGED
File without changes
inc-options/links_options.php CHANGED
File without changes
inc-options/menu_options.php CHANGED
@@ -125,7 +125,7 @@ if ( ! function_exists( 'add_action' ) ) {
125
  // non checked items
126
  if ( $menu_slug === 'options-general.php' ) {
127
  $disabled_item_adm_hint = '<abbr title="' . esc_attr__(
128
- 'After activate the check box it heavy attitudes will change.', 'adminimize'
129
  ) . '" style="cursor:pointer;"> ! </acronym>';
130
  } else {
131
  $disabled_item_adm = '';
@@ -221,7 +221,7 @@ if ( ! function_exists( 'add_action' ) ) {
221
  //$disabled_subitem_adm = ' disabled="disabled"';
222
  $disabled_subitem_adm_hint = '<abbr title="'
223
  . esc_attr__(
224
- 'After activate the check box it heavy attitudes will change.',
225
  'adminimize'
226
  )
227
  . '" style="cursor:pointer;"> ! </acronym>';
125
  // non checked items
126
  if ( $menu_slug === 'options-general.php' ) {
127
  $disabled_item_adm_hint = '<abbr title="' . esc_attr__(
128
+ 'After activate the checkbox you will loose its easy access in the menu.', 'adminimize'
129
  ) . '" style="cursor:pointer;"> ! </acronym>';
130
  } else {
131
  $disabled_item_adm = '';
221
  //$disabled_subitem_adm = ' disabled="disabled"';
222
  $disabled_subitem_adm_hint = '<abbr title="'
223
  . esc_attr__(
224
+ 'After activate the checkbox you will loose its easy access in the menu.',
225
  'adminimize'
226
  )
227
  . '" style="cursor:pointer;"> ! </acronym>';
inc-options/minimenu.php CHANGED
@@ -162,8 +162,9 @@ if ( _mw_adminimize_is_active_on_multisite() ) {
162
  'http://wordpress.org/extend/plugins/adminimize/',
163
  'http://wordpress.org/support/plugin/adminimize'
164
  );
 
165
  printf(
166
- __( '<br>For more hints about the functions and how to\'s with the possibilities of the plugin settings see the <a href="%s">FAQ page</a> on the plugin site.', 'adminimize' ),
167
  'https://wordpress.org/plugins/adminimize/faq/'
168
  );?></li>
169
  <li><?php esc_attr_e( 'Report a issue on the development repository:', 'adminimize' ); ?>
@@ -191,6 +192,7 @@ if ( _mw_adminimize_is_active_on_multisite() ) {
191
  'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.',
192
  'adminimize'
193
  );
 
194
  esc_attr_e(
195
  'To view your changes to the menu you need to navigate away from the Adminimize settings page.',
196
  'adminimize'
@@ -198,7 +200,7 @@ if ( _mw_adminimize_is_active_on_multisite() ) {
198
  </strong></p>
199
  <?php if ( _mw_adminimize_is_active_on_multisite() ) { ?>
200
  <p><?php esc_attr_e(
201
- 'You have to activated the Plugin for your Multisite Network. Your settings works now on all blogs in the network. Please set the settings only in one blog, there you have all active menu items and plugins. If you update the settings then write the plugin new settings in dependence of the blog where you put, save the settings.',
202
  'adminimize'
203
  ); ?></p>
204
  <?php } ?>
162
  'http://wordpress.org/extend/plugins/adminimize/',
163
  'http://wordpress.org/support/plugin/adminimize'
164
  );
165
+ echo '<br>';
166
  printf(
167
+ __( 'For more hints about the functions and how to\'s with the possibilities of the plugin settings see the <a href="%s">FAQ page</a> on the plugin site.', 'adminimize' ),
168
  'https://wordpress.org/plugins/adminimize/faq/'
169
  );?></li>
170
  <li><?php esc_attr_e( 'Report a issue on the development repository:', 'adminimize' ); ?>
192
  'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.',
193
  'adminimize'
194
  );
195
+ echo ' ';
196
  esc_attr_e(
197
  'To view your changes to the menu you need to navigate away from the Adminimize settings page.',
198
  'adminimize'
200
  </strong></p>
201
  <?php if ( _mw_adminimize_is_active_on_multisite() ) { ?>
202
  <p><?php esc_attr_e(
203
+ 'You have activated the Plugin for your Multisite Network. By default you will have all active menu items and plugins. The settings are for all network sites, you can set it from any site and it will be set for all network. You should also update the settings on every network site to include every custom items that might exist for each of it.',
204
  'adminimize'
205
  ); ?></p>
206
  <?php } ?>
inc-options/self_settings.php CHANGED
@@ -40,7 +40,7 @@ if ( ! function_exists( 'add_action' ) ) {
40
  name="mw_adminimize_multiple_roles" <?php checked(
41
  _mw_adminimize_get_option_value( 'mw_adminimize_multiple_roles' ),
42
  1, TRUE ); ?>>
43
- <?php esc_attr_e( 'A user with multiple roles must have an option selected for all roles in order to hide the selected option. If the option is unselected for any of the users roles, then the item will appear.', 'adminimize' ); ?>
44
  </td>
45
  </tr>
46
  <tr>
@@ -54,7 +54,21 @@ if ( ! function_exists( 'add_action' ) ) {
54
  _mw_adminimize_get_option_value( 'mw_adminimize_support_bbpress' ),
55
  1,
56
  TRUE ); ?>>
57
- <?php esc_attr_e( 'See the bbPress roles also in each area to hide for this context.', 'adminimize' ); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  </td>
59
  </tr>
60
  </table>
40
  name="mw_adminimize_multiple_roles" <?php checked(
41
  _mw_adminimize_get_option_value( 'mw_adminimize_multiple_roles' ),
42
  1, TRUE ); ?>>
43
+ <?php esc_attr_e( 'To hide an option for a user with multiple roles, the option must be selected for every role of that user. If the option is not selected for one of the user\'s roles, then the item will appear.', 'adminimize' ); ?>
44
  </td>
45
  </tr>
46
  <tr>
54
  _mw_adminimize_get_option_value( 'mw_adminimize_support_bbpress' ),
55
  1,
56
  TRUE ); ?>>
57
+ <?php esc_attr_e( 'Show bbPress roles for each area to allow bbPress specific user settings.', 'adminimize' ); ?>
58
+ </td>
59
+ </tr>
60
+ <tr>
61
+ <td class="row-title"><label for="mw_adminimize_prevent_page_access">
62
+ <?php esc_attr_e( 'Allow Page Access', 'adminimize' ); ?>
63
+ </label>
64
+ </td>
65
+ <td>
66
+ <input type="checkbox" value="1" id="mw_adminimize_prevent_page_access"
67
+ name="mw_adminimize_prevent_page_access" <?php checked(
68
+ _mw_adminimize_get_option_value( 'mw_adminimize_prevent_page_access' ),
69
+ 1,
70
+ TRUE ); ?>>
71
+ <?php esc_attr_e( 'Activate this option to allow access to pages of the back end, even if it\'s hidden to a user role.', 'adminimize' ); ?>
72
  </td>
73
  </tr>
74
  </table>
inc-options/settings_notice.php CHANGED
@@ -18,6 +18,7 @@ function _mw_adminimize_add_settings_error() {
18
  'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.',
19
  'adminimize'
20
  )
 
21
  . esc_attr__(
22
  'To view your changes to the menu you need to navigate away from the Adminimize settings page.',
23
  'adminimize'
18
  'Please note: The Adminimize settings page ignores the Menu Options below and displays the menu with all entries.',
19
  'adminimize'
20
  )
21
+ . ' '
22
  . esc_attr__(
23
  'To view your changes to the menu you need to navigate away from the Adminimize settings page.',
24
  'adminimize'
inc-options/theme_options.php CHANGED
@@ -24,7 +24,7 @@ if ( ! function_exists( 'add_action' ) ) {
24
  ); ?>">
25
  <?php wp_nonce_field( 'mw_adminimize_nonce' ); ?>
26
  <p><?php esc_attr_e(
27
- 'For better peformance with many users on your blog; load only userlist, when you will change the theme options for users.',
28
  'adminimize'
29
  ); ?></p>
30
 
@@ -45,17 +45,18 @@ if ( ! function_exists( 'add_action' ) ) {
45
  <thead>
46
  <tr class="thead">
47
  <th class="num">&nbsp;</th>
48
- <th class="num"><?php esc_attr_e( 'User-ID' ) ?></th>
49
- <th><?php esc_attr_e( 'Username' ) ?></th>
50
- <th><?php esc_attr_e( 'Display name publicly as' ) ?></th>
51
- <th><?php esc_attr_e( 'Admin-Color Scheme' ) ?></th>
52
- <th><?php esc_attr_e( 'User Level' ) ?></th>
53
- <th><?php esc_attr_e( 'Role' ) ?></th>
54
  </tr>
55
  </thead>
56
  <tbody id="users" class="list:user user-list">
57
  <?php
58
- $wp_user_search = $wpdb->get_results(
 
59
  "SELECT ID, user_login, display_name FROM $wpdb->users ORDER BY ID"
60
  );
61
 
@@ -68,12 +69,18 @@ if ( ! function_exists( 'add_action' ) ) {
68
  $user_object = new WP_User( $user_id );
69
  $roles = $user_object->roles;
70
  $role = array_shift( $roles );
 
 
 
 
 
 
71
  if ( function_exists( 'translate_user_role' ) ) {
72
- $role_name = translate_user_role( $wp_roles->role_names[ $role ] );
73
  } elseif ( function_exists( 'before_last_bar' ) ) {
74
- $role_name = before_last_bar( $wp_roles->role_names[ $role ] );
75
  } else {
76
- $role_name = strrpos( $wp_roles->role_names[ $role ], '|' );
77
  }
78
 
79
  $return = '';
@@ -96,8 +103,10 @@ if ( ! function_exists( 'add_action' ) ) {
96
  <td>&nbsp;</td>
97
  <td>&nbsp;</td>
98
  <td>
99
- <select name="_mw_adminimize_set_theme">
100
- <?php foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
 
 
101
  <option value="<?php echo $color; ?>"><?php echo $color_info->name . ' (' . $color . ')' ?></option>
102
  <?php endforeach; ?>
103
  </select>
24
  ); ?>">
25
  <?php wp_nonce_field( 'mw_adminimize_nonce' ); ?>
26
  <p><?php esc_attr_e(
27
+ 'For better peformance on sites with many users, you should load userlist data before making any changes in the theme options for users.',
28
  'adminimize'
29
  ); ?></p>
30
 
45
  <thead>
46
  <tr class="thead">
47
  <th class="num">&nbsp;</th>
48
+ <th class="num"><?php esc_attr_e( 'User-ID', 'adminimize' ) ?></th>
49
+ <th><?php esc_attr_e( 'Username', 'adminimize' ) ?></th>
50
+ <th><?php esc_attr_e( 'Display name publicly as', 'adminimize' ) ?></th>
51
+ <th><?php esc_attr_e( 'Admin Color Scheme', 'adminimize' ) ?></th>
52
+ <th><?php esc_attr_e( 'User Level', 'adminimize' ) ?></th>
53
+ <th><?php esc_attr_e( 'Role', 'adminimize' ) ?></th>
54
  </tr>
55
  </thead>
56
  <tbody id="users" class="list:user user-list">
57
  <?php
58
+ /** @var \WPDB $wpdb */
59
+ $wp_user_search = (array) $wpdb->get_results(
60
  "SELECT ID, user_login, display_name FROM $wpdb->users ORDER BY ID"
61
  );
62
 
69
  $user_object = new WP_User( $user_id );
70
  $roles = $user_object->roles;
71
  $role = array_shift( $roles );
72
+ /** @var \WP_Roles $wp_roles */
73
+ $role_name = '';
74
+ if ( isset( $wp_roles->role_names[ $role ] ) ) {
75
+ $role_name = $wp_roles->role_names[ $role ];
76
+ }
77
+
78
  if ( function_exists( 'translate_user_role' ) ) {
79
+ $role_name = translate_user_role( $role_name );
80
  } elseif ( function_exists( 'before_last_bar' ) ) {
81
+ $role_name = before_last_bar( $role_name );
82
  } else {
83
+ $role_name = strrpos( $role_name, '|' );
84
  }
85
 
86
  $return = '';
103
  <td>&nbsp;</td>
104
  <td>&nbsp;</td>
105
  <td>
106
+ <label for="_mw_adminimize_set_theme"></label>
107
+ <select id="_mw_adminimize_set_theme" name="_mw_adminimize_set_theme">
108
+ <?php /** @var array $_wp_admin_css_colors */
109
+ foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
110
  <option value="<?php echo $color; ?>"><?php echo $color_info->name . ' (' . $color . ')' ?></option>
111
  <?php endforeach; ?>
112
  </select>
inc-options/widget_options.php CHANGED
File without changes
inc-options/wp_nav_menu_options.php CHANGED
File without changes
inc-options/write_cp_options.php CHANGED
@@ -81,22 +81,28 @@ foreach ( get_post_types( $args ) as $post_type ) {
81
  '#editor-toolbar #edButtonHTML, #quicktags, #content-html',
82
  );
83
 
84
- foreach ( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] as $post_type_support => $key ) {
85
- if ( post_type_supports( $post_type, $post_type_support ) && 'excerpt' === $post_type_support ) {
 
 
86
  $post_type_support = 'postexcerpt';
87
- }
88
- if ( 'page-attributes' === $post_type_support ) {
89
- $post_type_support = 'pageparentdiv';
90
- }
91
- if ( 'custom-fields' === $post_type_support ) {
92
- $post_type_support = 'postcustom';
93
- }
94
 
95
- $metaboxes[] = '#' . $post_type_support
96
- . ', #' . $post_type_support
97
- . 'div, th.column-' . $post_type_support
98
- . ', td.' . $post_type_support; // td for raw in edit screen
 
 
 
 
 
99
  }
 
100
  if ( function_exists( 'current_theme_supports' )
101
  && current_theme_supports(
102
  'post-thumbnails', $post_type
@@ -145,11 +151,14 @@ foreach ( get_post_types( $args ) as $post_type ) {
145
  esc_attr__( 'HTML Editor Button' ),
146
  );
147
 
148
- foreach ( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] as $post_type_support => $key ) {
149
- if ( post_type_supports( $post_type, $post_type_support ) ) {
150
- $metaboxes_names[] = ucfirst( $post_type_support );
 
 
151
  }
152
  }
 
153
  if ( function_exists( 'current_theme_supports' )
154
  && current_theme_supports(
155
  'post-thumbnails', 'post'
@@ -157,6 +166,7 @@ foreach ( get_post_types( $args ) as $post_type ) {
157
  ) {
158
  $metaboxes_names[] = esc_attr__( 'Post Thumbnail', 'adminimize' );
159
  }
 
160
  if ( function_exists( 'sticky_add_meta_box' ) ) {
161
  $metaboxes_names[] = 'Post Sticky Status';
162
  }
@@ -165,15 +175,15 @@ foreach ( get_post_types( $args ) as $post_type ) {
165
  $quickedit_names = array(
166
  '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
167
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
168
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
169
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Author' ),
170
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
171
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Center', 'adminimize' ),
172
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Categories Title', 'adminimize' ),
173
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Categories List', 'adminimize' ),
174
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
175
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Tags' ),
176
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Status, Sticky', 'adminimize' ),
177
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' ),
178
  );
179
  $metaboxes_names = array_merge( $metaboxes_names, $quickedit_names );
81
  '#editor-toolbar #edButtonHTML, #quicktags, #content-html',
82
  );
83
 
84
+ if ( ! empty( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] ) ) {
85
+ foreach ( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] as $post_type_support => $key ) {
86
+
87
+ if ( post_type_supports( $post_type, $post_type_support ) && 'excerpt' === $post_type_support ) {
88
  $post_type_support = 'postexcerpt';
89
+ }
90
+
91
+ if ( 'page-attributes' === $post_type_support ) {
92
+ $post_type_support = 'pageparentdiv';
93
+ }
 
 
94
 
95
+ if ( 'custom-fields' === $post_type_support ) {
96
+ $post_type_support = 'postcustom';
97
+ }
98
+
99
+ $metaboxes[] = '#' . $post_type_support
100
+ . ', #' . $post_type_support
101
+ . 'div, th.column-' . $post_type_support
102
+ . ', td.' . $post_type_support; // td for raw in edit screen
103
+ }
104
  }
105
+
106
  if ( function_exists( 'current_theme_supports' )
107
  && current_theme_supports(
108
  'post-thumbnails', $post_type
151
  esc_attr__( 'HTML Editor Button' ),
152
  );
153
 
154
+ if ( ! empty( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] ) ) {
155
+ foreach ( $GLOBALS[ '_wp_post_type_features' ][ $post_type ] as $post_type_support => $key ) {
156
+ if ( post_type_supports( $post_type, $post_type_support ) ) {
157
+ $metaboxes_names[] = ucfirst( $post_type_support );
158
+ }
159
  }
160
  }
161
+
162
  if ( function_exists( 'current_theme_supports' )
163
  && current_theme_supports(
164
  'post-thumbnails', 'post'
166
  ) {
167
  $metaboxes_names[] = esc_attr__( 'Post Thumbnail', 'adminimize' );
168
  }
169
+
170
  if ( function_exists( 'sticky_add_meta_box' ) ) {
171
  $metaboxes_names[] = 'Post Sticky Status';
172
  }
175
  $quickedit_names = array(
176
  '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
177
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
178
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
179
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Author' ),
180
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
181
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Center', 'adminimize' ),
182
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Categories Title', 'adminimize' ),
183
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Categories List', 'adminimize' ),
184
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
185
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Tags' ),
186
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Status, Sticky', 'adminimize' ),
187
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' ),
188
  );
189
  $metaboxes_names = array_merge( $metaboxes_names, $quickedit_names );
inc-options/write_page_options.php CHANGED
@@ -163,13 +163,13 @@ if ( ! function_exists( 'add_action' ) ) {
163
  $quickedit_page_names = array(
164
  '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
165
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
166
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
167
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Date', 'adminimize' ),
168
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Author' ),
169
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
170
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
171
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Parent, Order, Template', 'adminimize' ),
172
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Status', 'adminimize' ),
173
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' )
174
  );
175
  $metaboxes_names_page = array_merge( $metaboxes_names_page, $quickedit_page_names );
163
  $quickedit_page_names = array(
164
  '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
165
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
166
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
167
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Date', 'adminimize' ),
168
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Author' ),
169
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
170
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
171
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Parent, Order, Template', 'adminimize' ),
172
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Status', 'adminimize' ),
173
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' )
174
  );
175
  $metaboxes_names_page = array_merge( $metaboxes_names_page, $quickedit_page_names );
inc-options/write_post_options.php CHANGED
@@ -163,15 +163,15 @@ if ( ! function_exists( 'add_action' ) ) {
163
  $quickedit_names = array(
164
  '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
165
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
166
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
167
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Author' ),
168
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
169
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Center', 'adminimize' ),
170
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Categories Title', 'adminimize' ),
171
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Categories List', 'adminimize' ),
172
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
173
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Tags' ),
174
- '&emsp;QE &rArr;' . ' ' . esc_attr__( 'Status, Sticky', 'adminimize' ),
175
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' )
176
  );
177
  $metaboxes_names = array_merge( $metaboxes_names, $quickedit_names );
163
  $quickedit_names = array(
164
  '<strong>' . esc_attr__( 'Quick Edit Link', 'adminimize' ) . '</strong>',
165
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Left', 'adminimize' ),
166
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'All Labels', 'adminimize' ),
167
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Author' ),
168
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Password and Private', 'adminimize' ),
169
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Center', 'adminimize' ),
170
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Categories Title', 'adminimize' ),
171
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Categories List', 'adminimize' ),
172
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Inline Edit Right', 'adminimize' ),
173
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Tags' ),
174
+ '&emsp;' . esc_attr__( 'QE', 'adminimize' ) . ' &rArr;' . ' ' . esc_attr__( 'Status, Sticky', 'adminimize' ),
175
  esc_attr__( 'QE', 'adminimize' ) . ' ' . esc_attr__( 'Cancel/Save Button', 'adminimize' )
176
  );
177
  $metaboxes_names = array_merge( $metaboxes_names, $quickedit_names );
inc-setup/admin-bar-items.php CHANGED
@@ -39,7 +39,7 @@ function _mw_adminimize_get_admin_bar_nodes() {
39
 
40
  $settings = 'mw_adminimize_admin_bar_frontend_nodes';
41
  // Set string on settings for Admin Area.
42
- if ( is_admin() ){
43
  $settings = 'mw_adminimize_admin_bar_nodes';
44
  }
45
 
@@ -98,28 +98,14 @@ function _mw_adminimize_change_admin_bar() {
98
  //$user_roles = _mw_adminimize_get_all_user_roles();
99
  $disabled_admin_bar_option_ = array();
100
 
101
- // Get Backend Admin Bar settings for the current user role.
102
- if ( is_admin() ) {
103
- foreach ( $user_roles as $role ) {
104
- $disabled_admin_bar_option_[ $role ] = (array) _mw_adminimize_get_option_value(
105
- 'mw_adminimize_disabled_admin_bar_' . $role . '_items'
106
- );
107
- }
108
- } else {
109
- // Get Frontend Admin Bar settings for the current user role.
110
- foreach ( $user_roles as $role ) {
111
- $disabled_admin_bar_option_[ $role ] = (array) _mw_adminimize_get_option_value(
112
- 'mw_adminimize_disabled_admin_bar_frontend_' . $role . '_items'
113
- );
114
- }
115
- }
116
 
117
- // New declaration of type for array reduce.
118
- if ( ! isset( $disabled_admin_bar_option_ ) ) {
119
- $disabled_admin_bar_option_ = array();
120
  }
 
121
  // Merge multidimensional array in to one, flat.
122
- $disabled_admin_bar_option_ = (array) array_reduce( $disabled_admin_bar_option_, 'array_merge', array() );
123
 
124
  // Support Multiple Roles for users.
125
  if ( _mw_adminimize_get_option_value( 'mw_adminimize_multiple_roles' ) && 1 < count( $user->roles ) ) {
@@ -131,7 +117,7 @@ function _mw_adminimize_change_admin_bar() {
131
  return;
132
  }
133
 
134
- foreach ( $disabled_admin_bar_option_ as $admin_bar_item ) {
135
  $wp_admin_bar->remove_node( $admin_bar_item );
136
  }
137
  }
39
 
40
  $settings = 'mw_adminimize_admin_bar_frontend_nodes';
41
  // Set string on settings for Admin Area.
42
+ if ( is_admin() ) {
43
  $settings = 'mw_adminimize_admin_bar_nodes';
44
  }
45
 
98
  //$user_roles = _mw_adminimize_get_all_user_roles();
99
  $disabled_admin_bar_option_ = array();
100
 
101
+ $role_prefix = is_admin() ? 'mw_adminimize_disabled_admin_bar_' : `mw_adminimize_disabled_admin_bar_frontend_`;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
 
103
+ foreach( $user_roles as $role ) {
104
+ $disabled_admin_bar_option_[] = _mw_adminimize_get_option_value( $role_prefix . $role . '_items' );
 
105
  }
106
+
107
  // Merge multidimensional array in to one, flat.
108
+ $disabled_admin_bar_option_ = _mw_adminimize_array_flatten( $disabled_admin_bar_option_ );
109
 
110
  // Support Multiple Roles for users.
111
  if ( _mw_adminimize_get_option_value( 'mw_adminimize_multiple_roles' ) && 1 < count( $user->roles ) ) {
117
  return;
118
  }
119
 
120
+ foreach ( (array) $disabled_admin_bar_option_ as $admin_bar_item ) {
121
  $wp_admin_bar->remove_node( $admin_bar_item );
122
  }
123
  }
inc-setup/admin-footer.php CHANGED
@@ -10,7 +10,12 @@ if ( ! function_exists( 'add_action' ) ) {
10
  }
11
 
12
  if ( ! is_admin() ) {
13
- return NULL;
 
 
 
 
 
14
  }
15
 
16
  // on init of WordPress
10
  }
11
 
12
  if ( ! is_admin() ) {
13
+ return;
14
+ }
15
+
16
+ // If is AJAX Call.
17
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
18
+ return;
19
  }
20
 
21
  // on init of WordPress
inc-setup/dashboard.php CHANGED
@@ -10,7 +10,12 @@ if ( ! function_exists( 'add_action' ) ) {
10
  }
11
 
12
  if ( ! is_admin() ) {
13
- return NULL;
 
 
 
 
 
14
  }
15
 
16
  add_action( 'wp_dashboard_setup', '_mw_adminimize_update_dashboard_widgets', 9998 );
10
  }
11
 
12
  if ( ! is_admin() ) {
13
+ return;
14
+ }
15
+
16
+ // If is AJAX Call.
17
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
18
+ return;
19
  }
20
 
21
  add_action( 'wp_dashboard_setup', '_mw_adminimize_update_dashboard_widgets', 9998 );
inc-setup/helping_hands.php CHANGED
@@ -124,4 +124,69 @@ function _mw_adminimize_get_duplicate( $array ) {
124
  function _mw_adminimize_get_intersection( $array ) {
125
 
126
  return (array) call_user_func_array( 'array_intersect', $array );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
124
  function _mw_adminimize_get_intersection( $array ) {
125
 
126
  return (array) call_user_func_array( 'array_intersect', $array );
127
+ }
128
+
129
+ /**
130
+ * Flatten a multi-dimensional array in a simple array.
131
+ *
132
+ * @since 2016-11-19
133
+ *
134
+ * @param array $array
135
+ *
136
+ * @return array $flat
137
+ */
138
+ function _mw_adminimize_array_flatten( $array ) {
139
+
140
+ $flat = array();
141
+ foreach ( $array as $key => $value ) {
142
+ if ( is_array( $value ) ) {
143
+ $flat = array_merge( $flat, _mw_adminimize_array_flatten( $value ) );
144
+ } else {
145
+ $flat[ $key ] = $value;
146
+ }
147
+ }
148
+
149
+ return $flat;
150
+ }
151
+
152
+ /**
153
+ * Break the access to a page.
154
+ *
155
+ * @wp-hook load-$page_slug
156
+ *
157
+ * @param string $slug
158
+ */
159
+ function _mw_adminimize_check_page_access( $slug ) {
160
+
161
+ // If this default behavior is deactivated.
162
+ if ( _mw_adminimize_get_option_value( 'mw_adminimize_prevent_page_access' ) ) {
163
+ return;
164
+ }
165
+
166
+ $uri = esc_url_raw( $_SERVER[ 'REQUEST_URI' ] );
167
+ $uri = parse_url( $uri );
168
+
169
+ if ( ! isset( $uri[ 'path' ] ) ) {
170
+ return;
171
+ }
172
+
173
+ // URI without query parameter, like WP core edit.php.
174
+ if ( ! isset( $uri[ 'query' ] ) && strpos( $uri[ 'path' ], $slug ) !== FALSE ) {
175
+ add_action( 'load-' . $slug, '_mw_adminimize_block_page_access' );
176
+ }
177
+
178
+ // URI with get parameter, like CPT.
179
+ if ( isset( $uri[ 'query' ] ) && strpos( $slug, $uri[ 'query' ] ) !== FALSE ) {
180
+ add_action( 'load-' . basename( $uri[ 'path' ] ), '_mw_adminimize_block_page_access' );
181
+ }
182
+ }
183
+
184
+ /**
185
+ * Break the access to a page.
186
+ *
187
+ * @wp-hook load-$page_slug
188
+ */
189
+ function _mw_adminimize_block_page_access() {
190
+
191
+ wp_die( esc_attr__( 'Cheatin&#8217; uh? Sorry, you are not allowed to access this site.', 'adminimize' ) );
192
  }
inc-setup/messages.php CHANGED
@@ -8,7 +8,12 @@ if ( ! function_exists( 'add_action' ) ) {
8
 
9
  // Need only on admin area
10
  if ( ! is_admin() ) {
11
- return NULL;
 
 
 
 
 
12
  }
13
 
14
  class _mw_adminimize_message_class {
8
 
9
  // Need only on admin area
10
  if ( ! is_admin() ) {
11
+ return;
12
+ }
13
+
14
+ // If is AJAX Call.
15
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
16
+ return;
17
  }
18
 
19
  class _mw_adminimize_message_class {
inc-setup/meta-boxes.php CHANGED
@@ -11,7 +11,12 @@ if ( ! function_exists( 'add_action' ) ) {
11
  }
12
 
13
  if ( ! is_admin() ) {
14
- return NULL;
 
 
 
 
 
15
  }
16
 
17
  // The global var is only usable on edit Post Type page
11
  }
12
 
13
  if ( ! is_admin() ) {
14
+ return;
15
+ }
16
+
17
+ // If is AJAX Call.
18
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
19
+ return;
20
  }
21
 
22
  // The global var is only usable on edit Post Type page
inc-setup/remove-admin-bar.php CHANGED
@@ -111,7 +111,7 @@ function _mw_adminimize_add_user_logout( $wp_admin_bar ) {
111
  /**
112
  * Change logout, user info link in Admin bar.
113
  *
114
- * @return null|void
115
  */
116
  function _mw_adminimize_set_logout_menu() {
117
 
@@ -164,7 +164,7 @@ function _mw_adminimize_set_logout_menu() {
164
  /**
165
  * Remove Admin Bar
166
  *
167
- * @return null|void
168
  */
169
  function _mw_adminimize_remove_admin_bar() {
170
 
@@ -220,7 +220,7 @@ function _mw_adminimize_remove_admin_bar() {
220
 
221
  if ( $remove_adminbar ) {
222
  if ( ! is_admin_bar_showing() ) {
223
- return FALSE;
224
  }
225
 
226
  add_filter( 'show_admin_bar', '__return_false' );
111
  /**
112
  * Change logout, user info link in Admin bar.
113
  *
114
+ * @return void
115
  */
116
  function _mw_adminimize_set_logout_menu() {
117
 
164
  /**
165
  * Remove Admin Bar
166
  *
167
+ * @return void
168
  */
169
  function _mw_adminimize_remove_admin_bar() {
170
 
220
 
221
  if ( $remove_adminbar ) {
222
  if ( ! is_admin_bar_showing() ) {
223
+ return;
224
  }
225
 
226
  add_filter( 'show_admin_bar', '__return_false' );
inc-setup/remove-admin-notices.php CHANGED
@@ -10,7 +10,17 @@ if ( ! function_exists( 'add_action' ) ) {
10
 
11
  // Need only on admin area
12
  if ( ! is_admin() ) {
13
- return NULL;
 
 
 
 
 
 
 
 
 
 
14
  }
15
 
16
  add_action( 'admin_init', '_mw_adminimize_init_to_remove_admin_notices' );
@@ -25,7 +35,9 @@ function _mw_adminimize_init_to_remove_admin_notices() {
25
  }
26
 
27
  /**
28
- * @return bool|null
 
 
29
  */
30
  function _mw_adminimize_check_to_remove_admin_notices() {
31
 
10
 
11
  // Need only on admin area
12
  if ( ! is_admin() ) {
13
+ return;
14
+ }
15
+
16
+ // If is AJAX Call.
17
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
18
+ return;
19
+ }
20
+
21
+ // If is AJAX Call.
22
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
23
+ return;
24
  }
25
 
26
  add_action( 'admin_init', '_mw_adminimize_init_to_remove_admin_notices' );
35
  }
36
 
37
  /**
38
+ * Remove Admin Notices.
39
+ *
40
+ * @return string|void
41
  */
42
  function _mw_adminimize_check_to_remove_admin_notices() {
43
 
inc-setup/widget.php CHANGED
@@ -11,7 +11,12 @@ if ( ! function_exists( 'add_action' ) ) {
11
  }
12
 
13
  if ( ! is_admin() ) {
14
- return NULL;
 
 
 
 
 
15
  }
16
 
17
  function _mw_adminimize_get_all_widgets() {
@@ -40,7 +45,6 @@ function _mw_adminimize_get_sidebars_widgets() {
40
  }
41
 
42
  function _mw_adminimize_get_registered_sidebars() {
43
-
44
  global $wp_registered_sidebars;
45
 
46
  return $wp_registered_sidebars;
11
  }
12
 
13
  if ( ! is_admin() ) {
14
+ return;
15
+ }
16
+
17
+ // If is AJAX Call.
18
+ if ( defined('DOING_AJAX') && DOING_AJAX ) {
19
+ return;
20
  }
21
 
22
  function _mw_adminimize_get_all_widgets() {
45
  }
46
 
47
  function _mw_adminimize_get_registered_sidebars() {
 
48
  global $wp_registered_sidebars;
49
 
50
  return $wp_registered_sidebars;
js/adminimize.js CHANGED
File without changes
js/remove_footer.js CHANGED
File without changes
js/remove_header.js CHANGED
File without changes
js/tb_window.js CHANGED
File without changes
js/timestamp.js CHANGED
File without changes
languages/adminimize-xx_XX.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPLv3+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Adminimize 1.10.3-dev\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/adminimize\n"
7
- "POT-Creation-Date: 2016-03-21 18:15:08+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -17,41 +17,41 @@ msgstr ""
17
  "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
18
  "Poedit: \n"
19
 
20
- #: adminimize.php:195
21
  msgid "Keymaster"
22
  msgstr ""
23
 
24
- #: adminimize.php:196
25
  msgid "Moderator"
26
  msgstr ""
27
 
28
- #: adminimize.php:197
29
  msgid "Participant"
30
  msgstr ""
31
 
32
- #: adminimize.php:198
33
  msgid "Spectator"
34
  msgstr ""
35
 
36
- #: adminimize.php:199
37
  msgid "Blocked"
38
  msgstr ""
39
 
40
- #: adminimize.php:534
41
  msgid "Dashboard"
42
  msgstr ""
43
 
44
- #: adminimize.php:1073 inc-setup/remove-admin-bar.php:63
45
- #: inc-setup/remove-admin-bar.php:94 inc-setup/remove-admin-bar.php:295
46
- #: inc-setup/remove-admin-bar.php:297
47
  msgid "Log Out"
48
  msgstr ""
49
 
50
- #: adminimize.php:1126
51
  msgid "Settings"
52
  msgstr ""
53
 
54
- #: adminimize.php:1139
55
  msgid "Adminimize Options"
56
  msgstr ""
57
 
@@ -59,15 +59,15 @@ msgstr ""
59
  msgid "Adminimize"
60
  msgstr ""
61
 
62
- #: adminimize.php:1175
63
  msgid "Cheatin&#8217; uh?"
64
  msgstr ""
65
 
66
- #: adminimize.php:1738
67
  msgid "Please upload a valid .json file"
68
  msgstr ""
69
 
70
- #: adminimize.php:1744
71
  msgid "Please upload a file to import"
72
  msgstr ""
73
 
@@ -85,8 +85,8 @@ msgstr ""
85
  msgid "Click to toggle"
86
  msgstr ""
87
 
88
- #: inc-options/admin_bar.php:29
89
- msgid "Admin Bar Back end options"
90
  msgstr ""
91
 
92
  #: inc-options/admin_bar.php:46 inc-options/admin_bar_frontend.php:45
@@ -114,40 +114,40 @@ msgstr ""
114
  msgid "Select all"
115
  msgstr ""
116
 
117
- #: inc-options/admin_bar.php:88 inc-options/admin_bar_frontend.php:88
118
  #: inc-options/dashboard_options.php:121 inc-options/menu_options.php:153
119
  msgid "No Title!"
120
  msgstr ""
121
 
122
- #: inc-options/admin_bar.php:93 inc-options/admin_bar_frontend.php:93
123
  #: inc-options/menu_options.php:156
124
  msgid "Group"
125
  msgstr ""
126
 
127
- #: inc-options/admin_bar.php:123
128
  msgid ""
129
  "Switch to another back-end page and come back to update the options to get "
130
  "all items of the admin bar in the back end area."
131
  msgstr ""
132
 
133
- #: inc-options/admin_bar.php:131 inc-options/admin_bar_frontend.php:136
134
- #: inc-options/backend_options.php:245 inc-options/dashboard_options.php:200
135
  #: inc-options/global_options.php:173 inc-options/links_options.php:172
136
- #: inc-options/menu_options.php:340 inc-options/self_settings.php:64
137
  #: inc-options/widget_options.php:184 inc-options/wp_nav_menu_options.php:199
138
- #: inc-options/write_cp_options.php:309 inc-options/write_page_options.php:268
139
  #: inc-options/write_post_options.php:270
140
  msgid "Update Options"
141
  msgstr ""
142
 
143
- #: inc-options/admin_bar.php:138 inc-options/admin_bar_frontend.php:143
144
- #: inc-options/backend_options.php:251 inc-options/dashboard_options.php:208
145
  #: inc-options/deinstall_options.php:36 inc-options/global_options.php:180
146
  #: inc-options/im_export_options.php:77 inc-options/links_options.php:178
147
- #: inc-options/menu_options.php:346 inc-options/minimenu.php:209
148
- #: inc-options/self_settings.php:71 inc-options/theme_options.php:121
149
  #: inc-options/widget_options.php:190 inc-options/wp_nav_menu_options.php:205
150
- #: inc-options/write_cp_options.php:315 inc-options/write_page_options.php:273
151
  #: inc-options/write_post_options.php:276
152
  msgid "scroll to top"
153
  msgstr ""
@@ -173,7 +173,7 @@ msgstr ""
173
  #: inc-options/backend_options.php:36 inc-options/backend_options.php:56
174
  #: inc-options/backend_options.php:86 inc-options/backend_options.php:103
175
  #: inc-options/backend_options.php:121 inc-options/backend_options.php:140
176
- #: inc-options/backend_options.php:157 inc-options/backend_options.php:203
177
  msgid "Default"
178
  msgstr ""
179
 
@@ -258,39 +258,39 @@ msgstr ""
258
 
259
  #: inc-options/backend_options.php:164
260
  msgid ""
261
- "In the Footer you can display an advice for changing the Default-design, "
262
  "(x)HTML is possible."
263
  msgstr ""
264
 
265
- #: inc-options/backend_options.php:193
266
  msgid "Dashboard deactivate, redirect to"
267
  msgstr ""
268
 
269
- #: inc-options/backend_options.php:207
270
  msgid "Manage Posts"
271
  msgstr ""
272
 
273
- #: inc-options/backend_options.php:211
274
  msgid "Manage Pages"
275
  msgstr ""
276
 
277
- #: inc-options/backend_options.php:215
278
  msgid "Write Post"
279
  msgstr ""
280
 
281
- #: inc-options/backend_options.php:219
282
  msgid "Write Page"
283
  msgstr ""
284
 
285
- #: inc-options/backend_options.php:223
286
  msgid "Comments"
287
  msgstr ""
288
 
289
- #: inc-options/backend_options.php:227
290
- msgid "other Page"
291
  msgstr ""
292
 
293
- #: inc-options/backend_options.php:233
294
  msgid ""
295
  "You have deactivated the Dashboard, please select a page for redirection or "
296
  "define custom url, include http://?"
@@ -315,7 +315,7 @@ msgstr ""
315
 
316
  #: inc-options/dashboard_options.php:152 inc-options/global_options.php:132
317
  #: inc-options/links_options.php:133 inc-options/widget_options.php:145
318
- #: inc-options/wp_nav_menu_options.php:160 inc-options/write_cp_options.php:254
319
  #: inc-options/write_page_options.php:229
320
  #: inc-options/write_post_options.php:231
321
  msgid "Option name"
@@ -323,7 +323,7 @@ msgstr ""
323
 
324
  #: inc-options/dashboard_options.php:154 inc-options/global_options.php:134
325
  #: inc-options/links_options.php:135 inc-options/widget_options.php:147
326
- #: inc-options/wp_nav_menu_options.php:162 inc-options/write_cp_options.php:257
327
  #: inc-options/write_page_options.php:231
328
  #: inc-options/write_post_options.php:233
329
  msgid "Selector, ID or class"
@@ -331,7 +331,7 @@ msgstr ""
331
 
332
  #: inc-options/dashboard_options.php:160 inc-options/global_options.php:140
333
  #: inc-options/links_options.php:141 inc-options/widget_options.php:153
334
- #: inc-options/wp_nav_menu_options.php:168 inc-options/write_cp_options.php:264
335
  #: inc-options/write_page_options.php:237
336
  #: inc-options/write_post_options.php:239
337
  msgid ""
@@ -342,7 +342,7 @@ msgstr ""
342
 
343
  #: inc-options/dashboard_options.php:174 inc-options/global_options.php:152
344
  #: inc-options/links_options.php:152 inc-options/widget_options.php:164
345
- #: inc-options/wp_nav_menu_options.php:179 inc-options/write_cp_options.php:280
346
  #: inc-options/write_page_options.php:248
347
  #: inc-options/write_post_options.php:250
348
  msgid ""
@@ -352,7 +352,7 @@ msgstr ""
352
 
353
  #: inc-options/dashboard_options.php:188 inc-options/global_options.php:163
354
  #: inc-options/links_options.php:162 inc-options/widget_options.php:174
355
- #: inc-options/wp_nav_menu_options.php:189 inc-options/write_cp_options.php:295
356
  #: inc-options/write_page_options.php:258
357
  #: inc-options/write_post_options.php:260
358
  msgid "Possible IDs or classes. Separate multiple values through a carriage return."
@@ -390,7 +390,7 @@ msgid "Screen-Meta"
390
  msgstr ""
391
 
392
  #: inc-options/global_options.php:74 inc-options/widget_options.php:70
393
- #: inc-options/wp_nav_menu_options.php:73 inc-options/write_cp_options.php:130
394
  #: inc-options/write_page_options.php:125
395
  #: inc-options/write_post_options.php:129
396
  msgid "Screen Options"
@@ -400,7 +400,7 @@ msgstr ""
400
  msgid "Contextual Help"
401
  msgstr ""
402
 
403
- #: inc-options/global_options.php:76
404
  msgid "Admin Color Scheme"
405
  msgstr ""
406
 
@@ -464,7 +464,7 @@ msgstr ""
464
  msgid "Description"
465
  msgstr ""
466
 
467
- #: inc-options/links_options.php:75 inc-options/write_cp_options.php:134
468
  #: inc-options/write_post_options.php:133
469
  msgid "Categories"
470
  msgstr ""
@@ -481,7 +481,7 @@ msgstr ""
481
  msgid "Advanced"
482
  msgstr ""
483
 
484
- #: inc-options/links_options.php:79 inc-options/write_cp_options.php:143
485
  #: inc-options/write_page_options.php:143
486
  #: inc-options/write_post_options.php:143
487
  msgid "Publish Actions"
@@ -525,8 +525,8 @@ msgstr ""
525
 
526
  #: inc-options/menu_options.php:315
527
  msgid ""
528
- "String of the custom slug, matched to the the default menu slug, there you "
529
- "see aboive in the list."
530
  msgstr ""
531
 
532
  #: inc-options/menu_options.php:329
@@ -549,10 +549,6 @@ msgstr ""
549
  msgid "Plugin Settings"
550
  msgstr ""
551
 
552
- #: inc-options/minimenu.php:42
553
- msgid "Admin Bar Back end Options"
554
- msgstr ""
555
-
556
  #: inc-options/minimenu.php:74 inc-options/write_post_options.php:17
557
  #: inc-options/write_post_options.php:34
558
  msgid "Write options - Post"
@@ -592,44 +588,43 @@ msgid ""
592
  "the <a href=\"%2$s\">support forum</a> for questions."
593
  msgstr ""
594
 
595
- #: inc-options/minimenu.php:166
596
  msgid ""
597
- "<br>For more hints about the functions and how to's with the possibilities "
598
- "of the plugin settings see the <a href=\"%s\">FAQ page</a> on the plugin "
599
- "site."
600
  msgstr ""
601
 
602
- #: inc-options/minimenu.php:169
603
  msgid "Report a issue on the development repository:"
604
  msgstr ""
605
 
606
- #: inc-options/minimenu.php:171
607
  msgid ""
608
  "The plugin have a github repository to easy add a issue or a create a fork, "
609
  "pull request:"
610
  msgstr ""
611
 
612
- #: inc-options/minimenu.php:177
613
  msgid ""
614
  "You want to thank me? Visit my <a href=\"%1$s\">wishlist</a> or <a "
615
  "href=\"%2$s\">donate</a>."
616
  msgstr ""
617
 
618
- #: inc-options/minimenu.php:190 inc-options/settings_notice.php:17
619
  msgid ""
620
  "Please note: The Adminimize settings page ignores the Menu Options below "
621
  "and displays the menu with all entries."
622
  msgstr ""
623
 
624
- #: inc-options/minimenu.php:194 inc-options/settings_notice.php:21
625
  msgid ""
626
  "To view your changes to the menu you need to navigate away from the "
627
  "Adminimize settings page."
628
  msgstr ""
629
 
630
- #: inc-options/minimenu.php:200
631
  msgid ""
632
- "You have to activated the Plugin for your Multisite Network. Your settings "
633
  "works now on all blogs in the network. Please set the settings only in one "
634
  "blog, there you have all active menu items and plugins. If you update the "
635
  "settings then write the plugin new settings in dependence of the blog where "
@@ -652,8 +647,9 @@ msgstr ""
652
 
653
  #: inc-options/self_settings.php:43
654
  msgid ""
655
- "If the user have more as one role and this function is active, Adminimize "
656
- "hide only items, there are active on each role of this user."
 
657
  msgstr ""
658
 
659
  #: inc-options/self_settings.php:48
@@ -664,6 +660,16 @@ msgstr ""
664
  msgid "See the bbPress roles also in each area to hide for this context."
665
  msgstr ""
666
 
 
 
 
 
 
 
 
 
 
 
667
  #: inc-options/theme_options.php:26
668
  msgid ""
669
  "For better peformance with many users on your blog; load only userlist, "
@@ -686,10 +692,6 @@ msgstr ""
686
  msgid "Display name publicly as"
687
  msgstr ""
688
 
689
- #: inc-options/theme_options.php:51
690
- msgid "Admin-Color Scheme"
691
- msgstr ""
692
-
693
  #: inc-options/theme_options.php:52
694
  msgid "User Level"
695
  msgstr ""
@@ -699,7 +701,7 @@ msgid "Role"
699
  msgstr ""
700
 
701
  #: inc-options/widget_options.php:69 inc-options/wp_nav_menu_options.php:72
702
- #: inc-options/write_cp_options.php:129 inc-options/write_page_options.php:124
703
  #: inc-options/write_post_options.php:128
704
  msgid "Help"
705
  msgstr ""
@@ -737,135 +739,151 @@ msgstr ""
737
  msgid "Your own Nav Menu options"
738
  msgstr ""
739
 
740
- #: inc-options/write_cp_options.php:131 inc-options/write_page_options.php:127
741
  #: inc-options/write_post_options.php:131
742
  msgid "Permalink"
743
  msgstr ""
744
 
745
- #: inc-options/write_cp_options.php:132 inc-options/write_cp_options.php:175
746
  #: inc-options/write_post_options.php:132
747
  #: inc-options/write_post_options.php:173
748
  msgid "Tags"
749
  msgstr ""
750
 
751
- #: inc-options/write_cp_options.php:133
752
  msgid "Format"
753
  msgstr ""
754
 
755
- #: inc-options/write_cp_options.php:135 inc-options/write_post_options.php:134
756
  msgid "Add New Category"
757
  msgstr ""
758
 
759
- #: inc-options/write_cp_options.php:136 inc-options/write_post_options.php:136
760
  msgid "Password Protect This Post"
761
  msgstr ""
762
 
763
- #: inc-options/write_cp_options.php:137 inc-options/write_post_options.php:137
764
  msgid "Related, Shortcuts"
765
  msgstr ""
766
 
767
- #: inc-options/write_cp_options.php:138 inc-options/write_page_options.php:138
768
  #: inc-options/write_post_options.php:138
769
  msgid "Messages"
770
  msgstr ""
771
 
772
- #: inc-options/write_cp_options.php:139 inc-options/write_page_options.php:139
773
  #: inc-options/write_post_options.php:139
774
  msgid "h2: Advanced Options"
775
  msgstr ""
776
 
777
- #: inc-options/write_cp_options.php:140 inc-options/write_page_options.php:140
778
  #: inc-options/write_post_options.php:140
779
  msgid "Media Buttons (all)"
780
  msgstr ""
781
 
782
- #: inc-options/write_cp_options.php:141 inc-options/write_page_options.php:141
783
  #: inc-options/write_post_options.php:141
784
  msgid "Word count"
785
  msgstr ""
786
 
787
- #: inc-options/write_cp_options.php:142 inc-options/write_post_options.php:142
788
  msgid "Post Slug"
789
  msgstr ""
790
 
791
- #: inc-options/write_cp_options.php:144 inc-options/write_page_options.php:144
792
  #: inc-options/write_post_options.php:144
793
  msgid "Discussion"
794
  msgstr ""
795
 
796
- #: inc-options/write_cp_options.php:145 inc-options/write_page_options.php:145
797
  #: inc-options/write_post_options.php:145
798
  msgid "HTML Editor Button"
799
  msgstr ""
800
 
801
- #: inc-options/write_cp_options.php:158 inc-options/write_post_options.php:159
802
  msgid "Post Thumbnail"
803
  msgstr ""
804
 
805
- #: inc-options/write_cp_options.php:166 inc-options/write_page_options.php:164
806
  #: inc-options/write_post_options.php:164
807
  msgid "Quick Edit Link"
808
  msgstr ""
809
 
810
- #: inc-options/write_cp_options.php:167 inc-options/write_cp_options.php:171
811
- #: inc-options/write_cp_options.php:174 inc-options/write_cp_options.php:177
812
- #: inc-options/write_page_options.php:165
 
 
 
 
 
 
 
813
  #: inc-options/write_page_options.php:170
 
 
814
  #: inc-options/write_page_options.php:173
815
  #: inc-options/write_post_options.php:165
 
 
 
816
  #: inc-options/write_post_options.php:169
 
 
817
  #: inc-options/write_post_options.php:172
 
 
818
  #: inc-options/write_post_options.php:175
819
  msgid "QE"
820
  msgstr ""
821
 
822
- #: inc-options/write_cp_options.php:167 inc-options/write_page_options.php:165
823
  #: inc-options/write_post_options.php:165
824
  msgid "Inline Edit Left"
825
  msgstr ""
826
 
827
- #: inc-options/write_cp_options.php:168 inc-options/write_page_options.php:166
828
  #: inc-options/write_post_options.php:166
829
  msgid "All Labels"
830
  msgstr ""
831
 
832
- #: inc-options/write_cp_options.php:169 inc-options/write_page_options.php:168
833
  #: inc-options/write_post_options.php:167
834
  msgid "Author"
835
  msgstr ""
836
 
837
- #: inc-options/write_cp_options.php:170 inc-options/write_page_options.php:169
838
  #: inc-options/write_post_options.php:168
839
  msgid "Password and Private"
840
  msgstr ""
841
 
842
- #: inc-options/write_cp_options.php:171 inc-options/write_post_options.php:169
843
  msgid "Inline Edit Center"
844
  msgstr ""
845
 
846
- #: inc-options/write_cp_options.php:172 inc-options/write_post_options.php:170
847
  msgid "Categories Title"
848
  msgstr ""
849
 
850
- #: inc-options/write_cp_options.php:173 inc-options/write_post_options.php:171
851
  msgid "Categories List"
852
  msgstr ""
853
 
854
- #: inc-options/write_cp_options.php:174 inc-options/write_page_options.php:170
855
  #: inc-options/write_post_options.php:172
856
  msgid "Inline Edit Right"
857
  msgstr ""
858
 
859
- #: inc-options/write_cp_options.php:176 inc-options/write_post_options.php:174
860
  msgid "Status, Sticky"
861
  msgstr ""
862
 
863
- #: inc-options/write_cp_options.php:177 inc-options/write_page_options.php:173
864
  #: inc-options/write_post_options.php:175
865
  msgid "Cancel/Save Button"
866
  msgstr ""
867
 
868
- #: inc-options/write_cp_options.php:250
869
  msgid "Your own %s options"
870
  msgstr ""
871
 
@@ -932,47 +950,51 @@ msgstr ""
932
  msgid "Status"
933
  msgstr ""
934
 
935
- #: inc-setup/messages.php:38
 
 
 
 
936
  msgid "Unknown error."
937
  msgstr ""
938
 
939
- #: inc-setup/messages.php:49
940
  msgid "The updates were saved."
941
  msgstr ""
942
 
943
- #: inc-setup/messages.php:52
944
  msgid "You have not enough rights to edit entries in the database."
945
  msgstr ""
946
 
947
- #: inc-setup/messages.php:55
948
  msgid "All entries in the database were imported."
949
  msgstr ""
950
 
951
- #: inc-setup/messages.php:58
952
  msgid "All entries in the database were deleted."
953
  msgstr ""
954
 
955
- #: inc-setup/messages.php:61
956
  msgid "Set the checkbox on deinstall-button."
957
  msgstr ""
958
 
959
- #: inc-setup/messages.php:64
960
  msgid "Can't load menu and submenu."
961
  msgstr ""
962
 
963
- #: inc-setup/messages.php:66
964
  msgid "Backend-Theme was activated!"
965
  msgstr ""
966
 
967
- #: inc-setup/messages.php:68
968
  msgid "Load user data to themes was successful."
969
  msgstr ""
970
 
971
- #: inc-setup/remove-admin-bar.php:280 inc-setup/remove-admin-bar.php:282
972
  msgid "Network Admin"
973
  msgstr ""
974
 
975
- #: inc-setup/remove-admin-bar.php:284 inc-setup/remove-admin-bar.php:286
976
  msgid "Site Admin"
977
  msgstr ""
978
 
2
  # This file is distributed under the GPLv3+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Adminimize 1.11.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/adminimize\n"
7
+ "POT-Creation-Date: 2016-11-24 10:42:38+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
17
  "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
18
  "Poedit: \n"
19
 
20
+ #: adminimize.php:200
21
  msgid "Keymaster"
22
  msgstr ""
23
 
24
+ #: adminimize.php:201
25
  msgid "Moderator"
26
  msgstr ""
27
 
28
+ #: adminimize.php:202
29
  msgid "Participant"
30
  msgstr ""
31
 
32
+ #: adminimize.php:203
33
  msgid "Spectator"
34
  msgstr ""
35
 
36
+ #: adminimize.php:204
37
  msgid "Blocked"
38
  msgstr ""
39
 
40
+ #: adminimize.php:539
41
  msgid "Dashboard"
42
  msgstr ""
43
 
44
+ #: adminimize.php:1077 inc-setup/remove-admin-bar.php:63
45
+ #: inc-setup/remove-admin-bar.php:105 inc-setup/remove-admin-bar.php:325
46
+ #: inc-setup/remove-admin-bar.php:327
47
  msgid "Log Out"
48
  msgstr ""
49
 
50
+ #: adminimize.php:1131
51
  msgid "Settings"
52
  msgstr ""
53
 
54
+ #: adminimize.php:1144
55
  msgid "Adminimize Options"
56
  msgstr ""
57
 
59
  msgid "Adminimize"
60
  msgstr ""
61
 
62
+ #: adminimize.php:1180
63
  msgid "Cheatin&#8217; uh?"
64
  msgstr ""
65
 
66
+ #: adminimize.php:1766
67
  msgid "Please upload a valid .json file"
68
  msgstr ""
69
 
70
+ #: adminimize.php:1772
71
  msgid "Please upload a file to import"
72
  msgstr ""
73
 
85
  msgid "Click to toggle"
86
  msgstr ""
87
 
88
+ #: inc-options/admin_bar.php:29 inc-options/minimenu.php:42
89
+ msgid "Admin Bar Back end Options"
90
  msgstr ""
91
 
92
  #: inc-options/admin_bar.php:46 inc-options/admin_bar_frontend.php:45
114
  msgid "Select all"
115
  msgstr ""
116
 
117
+ #: inc-options/admin_bar.php:89 inc-options/admin_bar_frontend.php:88
118
  #: inc-options/dashboard_options.php:121 inc-options/menu_options.php:153
119
  msgid "No Title!"
120
  msgstr ""
121
 
122
+ #: inc-options/admin_bar.php:94 inc-options/admin_bar_frontend.php:93
123
  #: inc-options/menu_options.php:156
124
  msgid "Group"
125
  msgstr ""
126
 
127
+ #: inc-options/admin_bar.php:124
128
  msgid ""
129
  "Switch to another back-end page and come back to update the options to get "
130
  "all items of the admin bar in the back end area."
131
  msgstr ""
132
 
133
+ #: inc-options/admin_bar.php:132 inc-options/admin_bar_frontend.php:136
134
+ #: inc-options/backend_options.php:247 inc-options/dashboard_options.php:200
135
  #: inc-options/global_options.php:173 inc-options/links_options.php:172
136
+ #: inc-options/menu_options.php:340 inc-options/self_settings.php:78
137
  #: inc-options/widget_options.php:184 inc-options/wp_nav_menu_options.php:199
138
+ #: inc-options/write_cp_options.php:319 inc-options/write_page_options.php:268
139
  #: inc-options/write_post_options.php:270
140
  msgid "Update Options"
141
  msgstr ""
142
 
143
+ #: inc-options/admin_bar.php:139 inc-options/admin_bar_frontend.php:143
144
+ #: inc-options/backend_options.php:253 inc-options/dashboard_options.php:208
145
  #: inc-options/deinstall_options.php:36 inc-options/global_options.php:180
146
  #: inc-options/im_export_options.php:77 inc-options/links_options.php:178
147
+ #: inc-options/menu_options.php:346 inc-options/minimenu.php:211
148
+ #: inc-options/self_settings.php:85 inc-options/theme_options.php:121
149
  #: inc-options/widget_options.php:190 inc-options/wp_nav_menu_options.php:205
150
+ #: inc-options/write_cp_options.php:325 inc-options/write_page_options.php:273
151
  #: inc-options/write_post_options.php:276
152
  msgid "scroll to top"
153
  msgstr ""
173
  #: inc-options/backend_options.php:36 inc-options/backend_options.php:56
174
  #: inc-options/backend_options.php:86 inc-options/backend_options.php:103
175
  #: inc-options/backend_options.php:121 inc-options/backend_options.php:140
176
+ #: inc-options/backend_options.php:157 inc-options/backend_options.php:204
177
  msgid "Default"
178
  msgstr ""
179
 
258
 
259
  #: inc-options/backend_options.php:164
260
  msgid ""
261
+ "In the Footer you can display an advice for changing the Default-design, "
262
  "(x)HTML is possible."
263
  msgstr ""
264
 
265
+ #: inc-options/backend_options.php:194
266
  msgid "Dashboard deactivate, redirect to"
267
  msgstr ""
268
 
269
+ #: inc-options/backend_options.php:208
270
  msgid "Manage Posts"
271
  msgstr ""
272
 
273
+ #: inc-options/backend_options.php:212
274
  msgid "Manage Pages"
275
  msgstr ""
276
 
277
+ #: inc-options/backend_options.php:216
278
  msgid "Write Post"
279
  msgstr ""
280
 
281
+ #: inc-options/backend_options.php:220
282
  msgid "Write Page"
283
  msgstr ""
284
 
285
+ #: inc-options/backend_options.php:224
286
  msgid "Comments"
287
  msgstr ""
288
 
289
+ #: inc-options/backend_options.php:228
290
+ msgid "Other Page"
291
  msgstr ""
292
 
293
+ #: inc-options/backend_options.php:235
294
  msgid ""
295
  "You have deactivated the Dashboard, please select a page for redirection or "
296
  "define custom url, include http://?"
315
 
316
  #: inc-options/dashboard_options.php:152 inc-options/global_options.php:132
317
  #: inc-options/links_options.php:133 inc-options/widget_options.php:145
318
+ #: inc-options/wp_nav_menu_options.php:160 inc-options/write_cp_options.php:264
319
  #: inc-options/write_page_options.php:229
320
  #: inc-options/write_post_options.php:231
321
  msgid "Option name"
323
 
324
  #: inc-options/dashboard_options.php:154 inc-options/global_options.php:134
325
  #: inc-options/links_options.php:135 inc-options/widget_options.php:147
326
+ #: inc-options/wp_nav_menu_options.php:162 inc-options/write_cp_options.php:267
327
  #: inc-options/write_page_options.php:231
328
  #: inc-options/write_post_options.php:233
329
  msgid "Selector, ID or class"
331
 
332
  #: inc-options/dashboard_options.php:160 inc-options/global_options.php:140
333
  #: inc-options/links_options.php:141 inc-options/widget_options.php:153
334
+ #: inc-options/wp_nav_menu_options.php:168 inc-options/write_cp_options.php:274
335
  #: inc-options/write_page_options.php:237
336
  #: inc-options/write_post_options.php:239
337
  msgid ""
342
 
343
  #: inc-options/dashboard_options.php:174 inc-options/global_options.php:152
344
  #: inc-options/links_options.php:152 inc-options/widget_options.php:164
345
+ #: inc-options/wp_nav_menu_options.php:179 inc-options/write_cp_options.php:290
346
  #: inc-options/write_page_options.php:248
347
  #: inc-options/write_post_options.php:250
348
  msgid ""
352
 
353
  #: inc-options/dashboard_options.php:188 inc-options/global_options.php:163
354
  #: inc-options/links_options.php:162 inc-options/widget_options.php:174
355
+ #: inc-options/wp_nav_menu_options.php:189 inc-options/write_cp_options.php:305
356
  #: inc-options/write_page_options.php:258
357
  #: inc-options/write_post_options.php:260
358
  msgid "Possible IDs or classes. Separate multiple values through a carriage return."
390
  msgstr ""
391
 
392
  #: inc-options/global_options.php:74 inc-options/widget_options.php:70
393
+ #: inc-options/wp_nav_menu_options.php:73 inc-options/write_cp_options.php:136
394
  #: inc-options/write_page_options.php:125
395
  #: inc-options/write_post_options.php:129
396
  msgid "Screen Options"
400
  msgid "Contextual Help"
401
  msgstr ""
402
 
403
+ #: inc-options/global_options.php:76 inc-options/theme_options.php:51
404
  msgid "Admin Color Scheme"
405
  msgstr ""
406
 
464
  msgid "Description"
465
  msgstr ""
466
 
467
+ #: inc-options/links_options.php:75 inc-options/write_cp_options.php:140
468
  #: inc-options/write_post_options.php:133
469
  msgid "Categories"
470
  msgstr ""
481
  msgid "Advanced"
482
  msgstr ""
483
 
484
+ #: inc-options/links_options.php:79 inc-options/write_cp_options.php:149
485
  #: inc-options/write_page_options.php:143
486
  #: inc-options/write_post_options.php:143
487
  msgid "Publish Actions"
525
 
526
  #: inc-options/menu_options.php:315
527
  msgid ""
528
+ "Possible nomination for the slug. Separate multiple nominations through a "
529
+ "carriage return."
530
  msgstr ""
531
 
532
  #: inc-options/menu_options.php:329
549
  msgid "Plugin Settings"
550
  msgstr ""
551
 
 
 
 
 
552
  #: inc-options/minimenu.php:74 inc-options/write_post_options.php:17
553
  #: inc-options/write_post_options.php:34
554
  msgid "Write options - Post"
588
  "the <a href=\"%2$s\">support forum</a> for questions."
589
  msgstr ""
590
 
591
+ #: inc-options/minimenu.php:167
592
  msgid ""
593
+ "For more hints about the functions and how to's with the possibilities of "
594
+ "the plugin settings see the <a href=\"%s\">FAQ page</a> on the plugin site."
 
595
  msgstr ""
596
 
597
+ #: inc-options/minimenu.php:170
598
  msgid "Report a issue on the development repository:"
599
  msgstr ""
600
 
601
+ #: inc-options/minimenu.php:172
602
  msgid ""
603
  "The plugin have a github repository to easy add a issue or a create a fork, "
604
  "pull request:"
605
  msgstr ""
606
 
607
+ #: inc-options/minimenu.php:178
608
  msgid ""
609
  "You want to thank me? Visit my <a href=\"%1$s\">wishlist</a> or <a "
610
  "href=\"%2$s\">donate</a>."
611
  msgstr ""
612
 
613
+ #: inc-options/minimenu.php:191 inc-options/settings_notice.php:17
614
  msgid ""
615
  "Please note: The Adminimize settings page ignores the Menu Options below "
616
  "and displays the menu with all entries."
617
  msgstr ""
618
 
619
+ #: inc-options/minimenu.php:196 inc-options/settings_notice.php:22
620
  msgid ""
621
  "To view your changes to the menu you need to navigate away from the "
622
  "Adminimize settings page."
623
  msgstr ""
624
 
625
+ #: inc-options/minimenu.php:202
626
  msgid ""
627
+ "You have activated the Plugin for your Multisite Network. Your settings "
628
  "works now on all blogs in the network. Please set the settings only in one "
629
  "blog, there you have all active menu items and plugins. If you update the "
630
  "settings then write the plugin new settings in dependence of the blog where "
647
 
648
  #: inc-options/self_settings.php:43
649
  msgid ""
650
+ "A user with multiple roles must have an option selected for all roles in "
651
+ "order to hide the selected option. If the option is unselected for any of "
652
+ "the user’s roles, then the item will appear."
653
  msgstr ""
654
 
655
  #: inc-options/self_settings.php:48
660
  msgid "See the bbPress roles also in each area to hide for this context."
661
  msgstr ""
662
 
663
+ #: inc-options/self_settings.php:62
664
+ msgid "Prevent Page Access"
665
+ msgstr ""
666
+
667
+ #: inc-options/self_settings.php:71
668
+ msgid ""
669
+ "Active this option to remove the prevent for access of a page of the back "
670
+ "end, there is active for hiding to a user role."
671
+ msgstr ""
672
+
673
  #: inc-options/theme_options.php:26
674
  msgid ""
675
  "For better peformance with many users on your blog; load only userlist, "
692
  msgid "Display name publicly as"
693
  msgstr ""
694
 
 
 
 
 
695
  #: inc-options/theme_options.php:52
696
  msgid "User Level"
697
  msgstr ""
701
  msgstr ""
702
 
703
  #: inc-options/widget_options.php:69 inc-options/wp_nav_menu_options.php:72
704
+ #: inc-options/write_cp_options.php:135 inc-options/write_page_options.php:124
705
  #: inc-options/write_post_options.php:128
706
  msgid "Help"
707
  msgstr ""
739
  msgid "Your own Nav Menu options"
740
  msgstr ""
741
 
742
+ #: inc-options/write_cp_options.php:137 inc-options/write_page_options.php:127
743
  #: inc-options/write_post_options.php:131
744
  msgid "Permalink"
745
  msgstr ""
746
 
747
+ #: inc-options/write_cp_options.php:138 inc-options/write_cp_options.php:185
748
  #: inc-options/write_post_options.php:132
749
  #: inc-options/write_post_options.php:173
750
  msgid "Tags"
751
  msgstr ""
752
 
753
+ #: inc-options/write_cp_options.php:139
754
  msgid "Format"
755
  msgstr ""
756
 
757
+ #: inc-options/write_cp_options.php:141 inc-options/write_post_options.php:134
758
  msgid "Add New Category"
759
  msgstr ""
760
 
761
+ #: inc-options/write_cp_options.php:142 inc-options/write_post_options.php:136
762
  msgid "Password Protect This Post"
763
  msgstr ""
764
 
765
+ #: inc-options/write_cp_options.php:143 inc-options/write_post_options.php:137
766
  msgid "Related, Shortcuts"
767
  msgstr ""
768
 
769
+ #: inc-options/write_cp_options.php:144 inc-options/write_page_options.php:138
770
  #: inc-options/write_post_options.php:138
771
  msgid "Messages"
772
  msgstr ""
773
 
774
+ #: inc-options/write_cp_options.php:145 inc-options/write_page_options.php:139
775
  #: inc-options/write_post_options.php:139
776
  msgid "h2: Advanced Options"
777
  msgstr ""
778
 
779
+ #: inc-options/write_cp_options.php:146 inc-options/write_page_options.php:140
780
  #: inc-options/write_post_options.php:140
781
  msgid "Media Buttons (all)"
782
  msgstr ""
783
 
784
+ #: inc-options/write_cp_options.php:147 inc-options/write_page_options.php:141
785
  #: inc-options/write_post_options.php:141
786
  msgid "Word count"
787
  msgstr ""
788
 
789
+ #: inc-options/write_cp_options.php:148 inc-options/write_post_options.php:142
790
  msgid "Post Slug"
791
  msgstr ""
792
 
793
+ #: inc-options/write_cp_options.php:150 inc-options/write_page_options.php:144
794
  #: inc-options/write_post_options.php:144
795
  msgid "Discussion"
796
  msgstr ""
797
 
798
+ #: inc-options/write_cp_options.php:151 inc-options/write_page_options.php:145
799
  #: inc-options/write_post_options.php:145
800
  msgid "HTML Editor Button"
801
  msgstr ""
802
 
803
+ #: inc-options/write_cp_options.php:167 inc-options/write_post_options.php:159
804
  msgid "Post Thumbnail"
805
  msgstr ""
806
 
807
+ #: inc-options/write_cp_options.php:176 inc-options/write_page_options.php:164
808
  #: inc-options/write_post_options.php:164
809
  msgid "Quick Edit Link"
810
  msgstr ""
811
 
812
+ #: inc-options/write_cp_options.php:177 inc-options/write_cp_options.php:178
813
+ #: inc-options/write_cp_options.php:179 inc-options/write_cp_options.php:180
814
+ #: inc-options/write_cp_options.php:181 inc-options/write_cp_options.php:182
815
+ #: inc-options/write_cp_options.php:183 inc-options/write_cp_options.php:184
816
+ #: inc-options/write_cp_options.php:185 inc-options/write_cp_options.php:186
817
+ #: inc-options/write_cp_options.php:187 inc-options/write_page_options.php:165
818
+ #: inc-options/write_page_options.php:166
819
+ #: inc-options/write_page_options.php:167
820
+ #: inc-options/write_page_options.php:168
821
+ #: inc-options/write_page_options.php:169
822
  #: inc-options/write_page_options.php:170
823
+ #: inc-options/write_page_options.php:171
824
+ #: inc-options/write_page_options.php:172
825
  #: inc-options/write_page_options.php:173
826
  #: inc-options/write_post_options.php:165
827
+ #: inc-options/write_post_options.php:166
828
+ #: inc-options/write_post_options.php:167
829
+ #: inc-options/write_post_options.php:168
830
  #: inc-options/write_post_options.php:169
831
+ #: inc-options/write_post_options.php:170
832
+ #: inc-options/write_post_options.php:171
833
  #: inc-options/write_post_options.php:172
834
+ #: inc-options/write_post_options.php:173
835
+ #: inc-options/write_post_options.php:174
836
  #: inc-options/write_post_options.php:175
837
  msgid "QE"
838
  msgstr ""
839
 
840
+ #: inc-options/write_cp_options.php:177 inc-options/write_page_options.php:165
841
  #: inc-options/write_post_options.php:165
842
  msgid "Inline Edit Left"
843
  msgstr ""
844
 
845
+ #: inc-options/write_cp_options.php:178 inc-options/write_page_options.php:166
846
  #: inc-options/write_post_options.php:166
847
  msgid "All Labels"
848
  msgstr ""
849
 
850
+ #: inc-options/write_cp_options.php:179 inc-options/write_page_options.php:168
851
  #: inc-options/write_post_options.php:167
852
  msgid "Author"
853
  msgstr ""
854
 
855
+ #: inc-options/write_cp_options.php:180 inc-options/write_page_options.php:169
856
  #: inc-options/write_post_options.php:168
857
  msgid "Password and Private"
858
  msgstr ""
859
 
860
+ #: inc-options/write_cp_options.php:181 inc-options/write_post_options.php:169
861
  msgid "Inline Edit Center"
862
  msgstr ""
863
 
864
+ #: inc-options/write_cp_options.php:182 inc-options/write_post_options.php:170
865
  msgid "Categories Title"
866
  msgstr ""
867
 
868
+ #: inc-options/write_cp_options.php:183 inc-options/write_post_options.php:171
869
  msgid "Categories List"
870
  msgstr ""
871
 
872
+ #: inc-options/write_cp_options.php:184 inc-options/write_page_options.php:170
873
  #: inc-options/write_post_options.php:172
874
  msgid "Inline Edit Right"
875
  msgstr ""
876
 
877
+ #: inc-options/write_cp_options.php:186 inc-options/write_post_options.php:174
878
  msgid "Status, Sticky"
879
  msgstr ""
880
 
881
+ #: inc-options/write_cp_options.php:187 inc-options/write_page_options.php:173
882
  #: inc-options/write_post_options.php:175
883
  msgid "Cancel/Save Button"
884
  msgstr ""
885
 
886
+ #: inc-options/write_cp_options.php:260
887
  msgid "Your own %s options"
888
  msgstr ""
889
 
950
  msgid "Status"
951
  msgstr ""
952
 
953
+ #: inc-setup/helping_hands.php:191
954
+ msgid "Cheatin&#8217; uh? Sorry, you are not allowed to access this site."
955
+ msgstr ""
956
+
957
+ #: inc-setup/messages.php:43
958
  msgid "Unknown error."
959
  msgstr ""
960
 
961
+ #: inc-setup/messages.php:54
962
  msgid "The updates were saved."
963
  msgstr ""
964
 
965
+ #: inc-setup/messages.php:57
966
  msgid "You have not enough rights to edit entries in the database."
967
  msgstr ""
968
 
969
+ #: inc-setup/messages.php:60
970
  msgid "All entries in the database were imported."
971
  msgstr ""
972
 
973
+ #: inc-setup/messages.php:63
974
  msgid "All entries in the database were deleted."
975
  msgstr ""
976
 
977
+ #: inc-setup/messages.php:66
978
  msgid "Set the checkbox on deinstall-button."
979
  msgstr ""
980
 
981
+ #: inc-setup/messages.php:69
982
  msgid "Can't load menu and submenu."
983
  msgstr ""
984
 
985
+ #: inc-setup/messages.php:71
986
  msgid "Backend-Theme was activated!"
987
  msgstr ""
988
 
989
+ #: inc-setup/messages.php:73
990
  msgid "Load user data to themes was successful."
991
  msgstr ""
992
 
993
+ #: inc-setup/remove-admin-bar.php:310 inc-setup/remove-admin-bar.php:312
994
  msgid "Network Admin"
995
  msgstr ""
996
 
997
+ #: inc-setup/remove-admin-bar.php:314 inc-setup/remove-admin-bar.php:316
998
  msgid "Site Admin"
999
  msgstr ""
1000
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: Bueltge, inpsyde
3
  Donate link: https://www.paypal.me/FrankBueltge
4
  Tags: color, scheme, theme, admin, dashboard, color scheme, plugin, interface, ui, metabox, hide, editor, minimal, menu, customization, interface, administration, lite, light, usability, lightweight, layout, zen
5
  Requires at least: 4.0
6
- Tested up to: 4.6.0
7
- Stable tag: 1.10.6
8
 
9
  Adminimize that lets you hide 'unnecessary' items from the WordPress backend
10
 
@@ -43,6 +43,15 @@ Use the installer via back-end of your install or ...
43
  1. Settings area in WP 4.5-alpha
44
 
45
  == Changelog ==
 
 
 
 
 
 
 
 
 
46
  = 1.10.6 (2016-08-09) =
47
  * Fix to see Logout link also on mobile view.
48
  * Fix type definition.
3
  Donate link: https://www.paypal.me/FrankBueltge
4
  Tags: color, scheme, theme, admin, dashboard, color scheme, plugin, interface, ui, metabox, hide, editor, minimal, menu, customization, interface, administration, lite, light, usability, lightweight, layout, zen
5
  Requires at least: 4.0
6
+ Tested up to: 4.7.0
7
+ Stable tag: 1.11.0
8
 
9
  Adminimize that lets you hide 'unnecessary' items from the WordPress backend
10
 
43
  1. Settings area in WP 4.5-alpha
44
 
45
  == Changelog ==
46
+ = 1.11.0 (2016-11-24) =
47
+ * Fix open Translations. props pedro-mendonca
48
+ * Fix Typos.
49
+ * Fix php warning on Admin Bar items for PHP 5.2.
50
+ * Fix CPT feature support, if it false.
51
+ * Add check in different functions for AJAX request.
52
+ * Add to prevent access to pages of the back end, there are active for hiding in the settings.
53
+ * Add plugin option to remove the default behavior to prevent access to pages.
54
+
55
  = 1.10.6 (2016-08-09) =
56
  * Fix to see Logout link also on mobile view.
57
  * Fix type definition.