Version Description
- adjust admin UI to be more user-friendly. Options are now: show to everyone, show to logged out users, and show to logged in users (optionally, logged in users by specific role)
Download this release
Release Info
Developer | helgatheviking |
Plugin | Nav Menu Roles |
Version | 1.7.0 |
Comparing to | |
See all releases |
Code changes from version 1.6.4 to 1.7.0
- inc/class.Nav_Menu_Roles_Import.php +13 -6
- inc/class.Walker_Nav_Menu_Edit_Roles.sublime-workspace +0 -734
- js/nav-menu-roles.js +2 -2
- js/nav-menu-roles.min.js +2 -2
- languages/nav-menu-roles-gu_IN.mo +0 -0
- languages/nav-menu-roles-gu_IN.po +225 -0
- languages/nav-menu-roles.pot +27 -27
- nav-menu-roles.php +24 -15
- readme.txt +22 -5
inc/class.Nav_Menu_Roles_Import.php
CHANGED
@@ -6,13 +6,19 @@
|
|
6 |
* @since 1.3
|
7 |
*/
|
8 |
|
9 |
-
|
|
|
|
|
|
|
10 |
|
11 |
-
if ( ! defined( 'WP_LOAD_IMPORTERS' ) )
|
12 |
return;
|
|
|
13 |
|
14 |
/** Display verbose errors */
|
15 |
-
|
|
|
|
|
16 |
|
17 |
// Load Importer API
|
18 |
require_once ABSPATH . 'wp-admin/includes/import.php';
|
@@ -79,7 +85,7 @@ if ( class_exists( 'WP_Importer' ) && ! class_exists( 'Nav_Menu_Roles_Import' )
|
|
79 |
*/
|
80 |
function import( $file ) {
|
81 |
add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
|
82 |
-
add_filter( 'http_request_timeout', array(
|
83 |
|
84 |
$this->import_start( $file );
|
85 |
|
@@ -286,9 +292,10 @@ if ( class_exists( 'WP_Importer' ) && ! class_exists( 'Nav_Menu_Roles_Import' )
|
|
286 |
|
287 |
/**
|
288 |
* Added to http_request_timeout filter to force timeout at 60 seconds during import
|
289 |
-
* @
|
|
|
290 |
*/
|
291 |
-
function bump_request_timeout() {
|
292 |
return 60;
|
293 |
}
|
294 |
|
6 |
* @since 1.3
|
7 |
*/
|
8 |
|
9 |
+
// Exit if accessed directly
|
10 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
+
exit;
|
12 |
+
}
|
13 |
|
14 |
+
if ( ! defined( 'WP_LOAD_IMPORTERS' ) ){
|
15 |
return;
|
16 |
+
}
|
17 |
|
18 |
/** Display verbose errors */
|
19 |
+
if( ! defined( 'IMPORT_DEBUG' ) ){
|
20 |
+
define( 'IMPORT_DEBUG', false );
|
21 |
+
}
|
22 |
|
23 |
// Load Importer API
|
24 |
require_once ABSPATH . 'wp-admin/includes/import.php';
|
85 |
*/
|
86 |
function import( $file ) {
|
87 |
add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
|
88 |
+
add_filter( 'http_request_timeout', array( $this, 'bump_request_timeout' ) );
|
89 |
|
90 |
$this->import_start( $file );
|
91 |
|
292 |
|
293 |
/**
|
294 |
* Added to http_request_timeout filter to force timeout at 60 seconds during import
|
295 |
+
* @param int $val
|
296 |
+
* @return int
|
297 |
*/
|
298 |
+
public function bump_request_timeout( $val ) {
|
299 |
return 60;
|
300 |
}
|
301 |
|
inc/class.Walker_Nav_Menu_Edit_Roles.sublime-workspace
DELETED
@@ -1,734 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"auto_complete":
|
3 |
-
{
|
4 |
-
"selected_items":
|
5 |
-
[
|
6 |
-
[
|
7 |
-
"ab",
|
8 |
-
"absint"
|
9 |
-
],
|
10 |
-
[
|
11 |
-
"bundle",
|
12 |
-
"bundled_product_id"
|
13 |
-
],
|
14 |
-
[
|
15 |
-
"quantty",
|
16 |
-
"quantity_to_add"
|
17 |
-
],
|
18 |
-
[
|
19 |
-
"mnm_contain",
|
20 |
-
"mnm_container_data"
|
21 |
-
],
|
22 |
-
[
|
23 |
-
"compostied_item",
|
24 |
-
"composited_item_cart_key"
|
25 |
-
],
|
26 |
-
[
|
27 |
-
"quantity",
|
28 |
-
"quantity_in_container"
|
29 |
-
],
|
30 |
-
[
|
31 |
-
"valid",
|
32 |
-
"valid_ids"
|
33 |
-
],
|
34 |
-
[
|
35 |
-
"container",
|
36 |
-
"container_quantity"
|
37 |
-
],
|
38 |
-
[
|
39 |
-
"values",
|
40 |
-
"values_key"
|
41 |
-
],
|
42 |
-
[
|
43 |
-
"contain",
|
44 |
-
"container_qty"
|
45 |
-
],
|
46 |
-
[
|
47 |
-
"wp_enqueu",
|
48 |
-
"wp_enqueue_scripts"
|
49 |
-
],
|
50 |
-
[
|
51 |
-
"subscription",
|
52 |
-
"subscription_terms"
|
53 |
-
],
|
54 |
-
[
|
55 |
-
"billing",
|
56 |
-
"billing_period"
|
57 |
-
],
|
58 |
-
[
|
59 |
-
"plugins",
|
60 |
-
"plugins_loaded"
|
61 |
-
],
|
62 |
-
[
|
63 |
-
"v",
|
64 |
-
"var_dump var_dump_snippet"
|
65 |
-
],
|
66 |
-
[
|
67 |
-
"Rad",
|
68 |
-
"Radio_Buttons_for_Taxonomies"
|
69 |
-
],
|
70 |
-
[
|
71 |
-
"descen",
|
72 |
-
"descendants_and_self"
|
73 |
-
],
|
74 |
-
[
|
75 |
-
"tag",
|
76 |
-
"tagchecklist"
|
77 |
-
],
|
78 |
-
[
|
79 |
-
"tax",
|
80 |
-
"taxonomy"
|
81 |
-
],
|
82 |
-
[
|
83 |
-
"checked",
|
84 |
-
"checked_categories"
|
85 |
-
],
|
86 |
-
[
|
87 |
-
"load",
|
88 |
-
"load_sample_tax"
|
89 |
-
],
|
90 |
-
[
|
91 |
-
"current",
|
92 |
-
"current_term"
|
93 |
-
]
|
94 |
-
]
|
95 |
-
},
|
96 |
-
"buffers":
|
97 |
-
[
|
98 |
-
],
|
99 |
-
"build_system": "",
|
100 |
-
"command_palette":
|
101 |
-
{
|
102 |
-
"height": 400.0,
|
103 |
-
"selected_items":
|
104 |
-
[
|
105 |
-
[
|
106 |
-
"package",
|
107 |
-
"Package Control: Install Package"
|
108 |
-
],
|
109 |
-
[
|
110 |
-
"packa",
|
111 |
-
"Package Syncing: Enable Syncing"
|
112 |
-
],
|
113 |
-
[
|
114 |
-
"install",
|
115 |
-
"Package Control: Install Package"
|
116 |
-
],
|
117 |
-
[
|
118 |
-
"package control",
|
119 |
-
"Preferences: Package Control Settings – Default"
|
120 |
-
],
|
121 |
-
[
|
122 |
-
"packag",
|
123 |
-
"Package Control: Remove Package"
|
124 |
-
],
|
125 |
-
[
|
126 |
-
"instal",
|
127 |
-
"Package Control: Install Package"
|
128 |
-
],
|
129 |
-
[
|
130 |
-
"pac",
|
131 |
-
"Package Control: Remove Package"
|
132 |
-
],
|
133 |
-
[
|
134 |
-
"pinsta",
|
135 |
-
"Package Control: Install Package"
|
136 |
-
],
|
137 |
-
[
|
138 |
-
"pack",
|
139 |
-
"Package Control: Install Package"
|
140 |
-
]
|
141 |
-
],
|
142 |
-
"width": 424.0
|
143 |
-
},
|
144 |
-
"console":
|
145 |
-
{
|
146 |
-
"height": 125.0,
|
147 |
-
"history":
|
148 |
-
[
|
149 |
-
"import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)",
|
150 |
-
"import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb').write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ','%20')).read())"
|
151 |
-
]
|
152 |
-
},
|
153 |
-
"distraction_free":
|
154 |
-
{
|
155 |
-
"menu_visible": true,
|
156 |
-
"show_minimap": false,
|
157 |
-
"show_open_files": false,
|
158 |
-
"show_tabs": false,
|
159 |
-
"side_bar_visible": false,
|
160 |
-
"status_bar_visible": false
|
161 |
-
},
|
162 |
-
"file_history":
|
163 |
-
[
|
164 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/cart/cart-item-data.php",
|
165 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/cart/cart.php",
|
166 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/checkout/thankyou.php",
|
167 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-order.php",
|
168 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/order/order-details.php",
|
169 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/checkout/review-order.php",
|
170 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/cart/cart-totals.php",
|
171 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-cart.php",
|
172 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-template-functions.php",
|
173 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php",
|
174 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/checkout/form-coupon.php",
|
175 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/loop/loop-start.php",
|
176 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/single-product.php",
|
177 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/content-single-product.php",
|
178 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/archive-product.php",
|
179 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/includes/admin/class-wc-bto-admin.php",
|
180 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php",
|
181 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-product-variable.php",
|
182 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/admin/class-mix-and-match-admin.php",
|
183 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/class-wc-mnm-display.php",
|
184 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-assets.php",
|
185 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/templates/single-product/mnm-items.php",
|
186 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php",
|
187 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/includes/class-wc-bto-cart.php",
|
188 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/admin/js/mnm-metabox.js",
|
189 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/admin/js/mnm-metabox.min.js",
|
190 |
-
"/D/VVV/www/wordpress-default/wp-config.php",
|
191 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/Gruntfile.js",
|
192 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/wpalchemy-grail/functions.php",
|
193 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-query.php",
|
194 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-order-item-meta.php",
|
195 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/templates/single-product/bto-item.php",
|
196 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/templates/single-product/bto-item-options.php",
|
197 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/templates/single-product/add-to-cart/bto-cart-button.php",
|
198 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-plugins-mine/woocommerce-name-your-price/assets/js/search-author.php",
|
199 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/class-wc-product-mnm.php",
|
200 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/wc-meta-box-functions.php",
|
201 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-product-variation.php",
|
202 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php",
|
203 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-product-factory.php",
|
204 |
-
"/D/VVV/www/wordpress-default/wp-includes/feed-rss2.php",
|
205 |
-
"/D/VVV/www/wordpress-default/wp-includes/feed.php",
|
206 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/radio-buttons-for-taxonomies/readme.txt",
|
207 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/radio-buttons-for-taxonomies/radio-buttons-for-taxonomies.php",
|
208 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/radio-buttons-for-taxonomies/readme.md",
|
209 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/simple.php",
|
210 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/single-product/add-to-cart/grouped.php",
|
211 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/templates/single-product/summary/bto-product-summary-variable.php",
|
212 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/includes/class-wc-product-bto.php",
|
213 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/includes/class-wc-bto-display.php",
|
214 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php",
|
215 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/templates/single-product/add-to-cart/mnm.php",
|
216 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php",
|
217 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-variation-admin.php",
|
218 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-template-loader.php",
|
219 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/woocommerce-mix-and-match-products.php",
|
220 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-core-functions.php",
|
221 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/woocommerce.php",
|
222 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/assets/js/admin/meta-boxes.js",
|
223 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/reports/class-wc-report-sales-by-product.php",
|
224 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-ajax.php",
|
225 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/readme.txt",
|
226 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/package.json",
|
227 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-plugins-mine/woocommerce-free-gift-coupons/woocommerce-free-gift-coupons.php",
|
228 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/twentyfourteen/sidebar-content.php",
|
229 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/wpalchemy-grail/style.css",
|
230 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/twentyfourteen/sidebar.php",
|
231 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/gateways/paypal/class-wc-gateway-paypal.php",
|
232 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/class-wc-mnm-order.php",
|
233 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/includes/class-wc-mnm-cart.php",
|
234 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/node_modules/grunt/lib/grunt/file.js",
|
235 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/node_modules/grunt-contrib-uglify/node_modules/maxmin/node_modules/gzip-size/node_modules/zlib-browserify/test/zlib.test.js",
|
236 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/node_modules/load-grunt-tasks/load-grunt-tasks.js",
|
237 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/node_modules/load-grunt-tasks/node_modules/multimatch/index.js",
|
238 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/node_modules/load-grunt-tasks/node_modules/multimatch/package.json",
|
239 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/node_modules/load-grunt-tasks/node_modules/multimatch/readme.md",
|
240 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/apigen/libs/FSHL/FSHL/Generator.php",
|
241 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/apigen/libs/Nette/Nette/Http/Context.php",
|
242 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-product-functions.php",
|
243 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-post-types.php",
|
244 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-product-grouped.php",
|
245 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-install.php",
|
246 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/loop/add-to-cart.php",
|
247 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/woocommerce-composite-products.php",
|
248 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-post-types.php",
|
249 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-order-functions.php",
|
250 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-formatting-functions.php",
|
251 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/assets/css/woocommerce.less",
|
252 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/assets/css/mnm-styles.less",
|
253 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/templates/single-product/bto-item-title.php",
|
254 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/assets/js/add-to-cart-mnm.js",
|
255 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/apigen/ApiGen/Backend.php",
|
256 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/assets/js/add-to-cart-bto.js",
|
257 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-plugins-mine/woocommerce-name-your-price/assets/js/name-your-price.js",
|
258 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/templates/component-item.php",
|
259 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/cart-dump.php",
|
260 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-checkout.php",
|
261 |
-
"/D/Google Drive/sublime-text/Packages/User/base16-ocean.dark (SL).tmTheme",
|
262 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Packages/BracketHighlighter/bh_core.sublime-settings",
|
263 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Packages/User/bh_core.sublime-settings",
|
264 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Packages/BracketHighlighter/bh_wrapping.sublime-settings",
|
265 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Installed Packages/BracketHighlighter.sublime-package",
|
266 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Packages/User/SublimeLinter.sublime-settings",
|
267 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Packages/Package Control/Package Control.sublime-settings",
|
268 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-item.php",
|
269 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php",
|
270 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-cart-functions.php",
|
271 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/hustle/includes/theme-options.php",
|
272 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/templates/single-product/add-to-cart/bto-cart-button.php",
|
273 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/assets/css/bto-frontend.css",
|
274 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/assets/css/bto-edit-order.css",
|
275 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-composite-products/includes/class-wc-bto-order.php",
|
276 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/eventcamp-child-for-aobhc/wp-config.php",
|
277 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/eventcamp-child-for-aobhc/testconnect.php",
|
278 |
-
"/C/Users/kathy/AppData/Local/Temp/Rar$DIa0.806/aobhc.org",
|
279 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/eventcamp-child-for-aobhc/.htaccess",
|
280 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/cart/mini-cart.php",
|
281 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/apigen/libs/Nette/Nette/Database/Reflection/DiscoveredReflection.php",
|
282 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/assets/css/dashboard.css",
|
283 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/cart/cart-shipping.php",
|
284 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/class-wc-shipping.php",
|
285 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/templates/single-product/bto-item-options.php",
|
286 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php",
|
287 |
-
"/C/Users/kathy/AppData/Roaming/Sublime Text 3/Packages/User/Preferences.sublime-settings",
|
288 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/templates/cart/cart-empty.php",
|
289 |
-
"/D/VVV/www/wordpress-default/wp-content/themes/twentyfourteen-child/style.css",
|
290 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce-mix-and-match-products/assets/css/mnm-styles.css",
|
291 |
-
"/D/VVV/www/wordpress-default/wp-content/plugins/woocommerce/apigen/templates/woodocs/resources/style.css"
|
292 |
-
],
|
293 |
-
"find":
|
294 |
-
{
|
295 |
-
"height": 36.0
|
296 |
-
},
|
297 |
-
"find_in_files":
|
298 |
-
{
|
299 |
-
"height": 134.0,
|
300 |
-
"where_history":
|
301 |
-
[
|
302 |
-
"<open folders>, *.php",
|
303 |
-
"<open folders>, ",
|
304 |
-
"<open folders>, !*.min.js",
|
305 |
-
"<open folders>, *.php",
|
306 |
-
"<open folders>, ",
|
307 |
-
"<open folders>, *.php",
|
308 |
-
"<open folders>, *.js",
|
309 |
-
"<open folders>, *.php",
|
310 |
-
"<open folders>, ",
|
311 |
-
"<open folders>, *.php",
|
312 |
-
"<open folders>, *.js,",
|
313 |
-
"<open folders>, *.php,",
|
314 |
-
"<open folders>, *.php,D:\\VVV\\www\\wordpress-default\\wp-content\\themes\\hustle",
|
315 |
-
"<open folders>, *.php",
|
316 |
-
"<open folders>",
|
317 |
-
"<open folders>,, *.php,",
|
318 |
-
"<open folders>,, *.php, *.js",
|
319 |
-
"<open folders>,D:\\VVV\\www\\wordpress-default\\wp-content, *.php, *.js",
|
320 |
-
"<open folders>",
|
321 |
-
"<open folders>,<open files>,",
|
322 |
-
"<open folders>,<open files>,D:\\VVV\\www\\wordpress-default\\wp-content\\",
|
323 |
-
"<open folders>,<open files>,D:\\VVV\\www\\wordpress-default\\wp-content\\themes\\chicago-inter-new",
|
324 |
-
"<open folders>",
|
325 |
-
"<open folders>,*.php,",
|
326 |
-
"<open folders>,*.php,,D:\\VVV\\www\\wordpress-default\\wp-content\\plugins\\woocommerce-composite-products",
|
327 |
-
"<open folders>,*.php",
|
328 |
-
"<open folders>,*.js ",
|
329 |
-
"<open folders>,*.php, ",
|
330 |
-
"<open folders>,*.js, ",
|
331 |
-
"<open folders>,*.php, ",
|
332 |
-
"<open folders>,*.php, ,D:\\VVV\\www\\wordpress-default\\wp-content\\plugins\\woocommerce",
|
333 |
-
"<open folders>,*.js, ,D:\\VVV\\www\\wordpress-default\\wp-content\\plugins\\woocommerce",
|
334 |
-
"<open folders>,*.php, ,D:\\VVV\\www\\wordpress-default\\wp-content\\plugins\\woocommerce",
|
335 |
-
"<open folders>,*.php, ",
|
336 |
-
"<open folders>,*.php, ,D:\\www\\wordpress\\src\\wp-content\\plugins\\woocommerce",
|
337 |
-
"<open folders>,*.php, ",
|
338 |
-
"<open folders>,*.php, F:\\www\\wordpress\\wp-content\\plugins\\woocommerce",
|
339 |
-
"<open folders>,*.php, F:\\www\\wordpress\\wp-includes",
|
340 |
-
"<open folders>,*.php, F:\\www\\wordpress\\wp-admin",
|
341 |
-
"<open folders>*.php, F:\\www\\wordpress\\wp-admin",
|
342 |
-
"<open folders>*.php",
|
343 |
-
"F:\\www\\wordpress\\wp-includes, *.php",
|
344 |
-
"F:\\www\\wordpress\\wp-content\\plugins\\woocommerce, *.php, <open folders>",
|
345 |
-
"F:\\www\\wordpress\\wp-content\\plugins\\, *.php, <open folders>",
|
346 |
-
"F:\\www\\wordpress\\wp-content\\plugins\\woocommerce, *.php, <open folders>",
|
347 |
-
"F:\\www\\wordpress\\wp-content\\plugins\\woocommerce, *.php",
|
348 |
-
"F:\\www\\wordpress\\wp-includes, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po,",
|
349 |
-
"F:\\www\\wordpress\\wp-admin, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po,",
|
350 |
-
"F:\\www\\wordpress\\wp-admin, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>,",
|
351 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
352 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-includes, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
353 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\plugins\\woocommerce, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
354 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\plugins\\radio-buttons-for-taxonomies, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
355 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\, *.php, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
356 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
357 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
358 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\plugins\\types, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
359 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\plugins\\woocommerce, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
360 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po, ,<open files>",
|
361 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po",
|
362 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-includes, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po",
|
363 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\plugins\\radio-buttons-for-taxonomies, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po",
|
364 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin, -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po",
|
365 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-includes , -*.sublime-workspace, -*.css, -*.mo, -*.pot, -*.po",
|
366 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin , -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
367 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\ , -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
368 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\ -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
369 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
370 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-content\\plugins\\radio-buttons-for-taxonomies, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
371 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-includes, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
372 |
-
"C:\\Users\\helga\\wamp\\www\\wordpress\\wp-admin, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
373 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
374 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
375 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
376 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\radio-buttons-for-taxonomies, -*.sublime-workspace,-*.css, -*.mo, -*.pot, -*.po",
|
377 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\radio-buttons-for-taxonomies, -*.css, -*.mo, -*.pot, -*.po",
|
378 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\",
|
379 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\",
|
380 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\radio-buttons-for-taxonomies",
|
381 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\",
|
382 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
383 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\radio-buttons-for-taxonomies",
|
384 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-plugins\\radio-buttons-for-taxonomies",
|
385 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
386 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
387 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-plugins\\radio-buttons-for-taxonomies",
|
388 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes, C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
389 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
390 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
391 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\radio-buttons-for-taxonomies",
|
392 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
393 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\",
|
394 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
395 |
-
"-*.pot,-*.po, -*.css, *.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
396 |
-
"-*.pot,-*.po, -*.css, *.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
397 |
-
"-*.pot,-*.po, -*.css, C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
398 |
-
"-*.pot,-*.po, -*.css, -*.min.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
399 |
-
"-*.pot,-*.po, -*.css, C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
400 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
401 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\",
|
402 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\woocommerce",
|
403 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-content\\plugins\\woocommerce-ezprints",
|
404 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-includes",
|
405 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin",
|
406 |
-
"-*.pot,-*.po, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\",
|
407 |
-
"-*.pot, -*.css, -*.js, C:\\Users\\helga\\wamp\\www\\localhost\\",
|
408 |
-
"-*.pot, -*.css, -*.js C:\\Users\\helga\\wamp\\www\\localhost\\",
|
409 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\",
|
410 |
-
"C:\\Users\\helga\\wamp\\www\\localhost\\wp-admin"
|
411 |
-
]
|
412 |
-
},
|
413 |
-
"find_state":
|
414 |
-
{
|
415 |
-
"case_sensitive": false,
|
416 |
-
"find_history":
|
417 |
-
[
|
418 |
-
"woocommerce_get_downloadable_file_urls",
|
419 |
-
"kia",
|
420 |
-
"Order Discount:",
|
421 |
-
"shop_table order_details",
|
422 |
-
"get_coupons",
|
423 |
-
"get_item_subtotal",
|
424 |
-
"[\"",
|
425 |
-
" ",
|
426 |
-
" ",
|
427 |
-
" ",
|
428 |
-
"Joe",
|
429 |
-
"function get_coupons",
|
430 |
-
"woocommerce_product_loop_start",
|
431 |
-
"recent_products",
|
432 |
-
"shortcodes",
|
433 |
-
"woocommerce_output_content_wrapper",
|
434 |
-
"<nav",
|
435 |
-
"theme_location",
|
436 |
-
"alongside",
|
437 |
-
"theme_location",
|
438 |
-
"primary",
|
439 |
-
"eg_event",
|
440 |
-
"event",
|
441 |
-
"eg_event",
|
442 |
-
"event",
|
443 |
-
"location",
|
444 |
-
"industry",
|
445 |
-
"woocommerce_template_single_add_to_cart",
|
446 |
-
"function get_children",
|
447 |
-
"get_children",
|
448 |
-
"function get_available_variations",
|
449 |
-
"add-to-cart/",
|
450 |
-
"wc_get_template('single-product/add-to-cart",
|
451 |
-
"This product is currently out of stock and unavailable",
|
452 |
-
"order_again",
|
453 |
-
"echo",
|
454 |
-
"; ?>",
|
455 |
-
"<?php ",
|
456 |
-
"echo",
|
457 |
-
"wp_register_Script",
|
458 |
-
"script",
|
459 |
-
"enque",
|
460 |
-
"write",
|
461 |
-
"wp_register_script",
|
462 |
-
"woocommerce_admin_meta_boxes",
|
463 |
-
"woocommerce-admin-meta-boxes",
|
464 |
-
"_",
|
465 |
-
"in_array( $screen->id, array( 'product' )",
|
466 |
-
"frontend_scripts",
|
467 |
-
"wp_enqueue_script",
|
468 |
-
"wc-admin-meta-boxes",
|
469 |
-
"woocommerce_admin_meta_boxes",
|
470 |
-
"woo_bto_admin_scripts",
|
471 |
-
"wc_bto_writepanel",
|
472 |
-
"wp_register_script",
|
473 |
-
"frontend_scripts",
|
474 |
-
"wp_enqueue_script",
|
475 |
-
"wp_en",
|
476 |
-
"true",
|
477 |
-
"add_to_cart_validation",
|
478 |
-
"quantity",
|
479 |
-
"[\"",
|
480 |
-
"simple_user_listing_after_loop",
|
481 |
-
" ",
|
482 |
-
" ",
|
483 |
-
" ",
|
484 |
-
" ",
|
485 |
-
" ",
|
486 |
-
" ",
|
487 |
-
" ",
|
488 |
-
" ",
|
489 |
-
" ",
|
490 |
-
" ",
|
491 |
-
"query",
|
492 |
-
"woocommerce_quantity_input_step",
|
493 |
-
"add_to_cart_validation",
|
494 |
-
"/",
|
495 |
-
"3",
|
496 |
-
"function add_to_cart",
|
497 |
-
"add_items_to_cart",
|
498 |
-
"text",
|
499 |
-
"function woocommerce_wp_text_input",
|
500 |
-
"text_input",
|
501 |
-
"woocommerce_text_input",
|
502 |
-
"$_REQUEST['mnm-quantity'][ $mnm_id ]",
|
503 |
-
"get_formatted",
|
504 |
-
"_product",
|
505 |
-
"get_formatted",
|
506 |
-
"[\"",
|
507 |
-
"$product_id",
|
508 |
-
"class WC_Order_Item_Meta",
|
509 |
-
"selected_attributes",
|
510 |
-
"get_wp_title_rss",
|
511 |
-
"wp_title_rss",
|
512 |
-
"function get_product",
|
513 |
-
"woocommerce_add_to_cart_handler",
|
514 |
-
"add_to_cart_action",
|
515 |
-
"function wc_bto_attribute_order_by",
|
516 |
-
"bto_",
|
517 |
-
"wc_bto_attribute_label",
|
518 |
-
"function wc_bto_attribute_label",
|
519 |
-
"div class=\"variations",
|
520 |
-
"bto",
|
521 |
-
"per_product_pricing",
|
522 |
-
"woocommerce_is_purchasable",
|
523 |
-
"<td class=\"product-name\">",
|
524 |
-
"<td class=\"product-thumbnail\">",
|
525 |
-
"function is_visible",
|
526 |
-
"add_to_cart_template",
|
527 |
-
"bto-cart-button.php",
|
528 |
-
"woocommerce_composite_product_add_to_cart",
|
529 |
-
"woo_bto_addons_display_support",
|
530 |
-
"_add_to_cart",
|
531 |
-
"add_to_cart_template",
|
532 |
-
"output_variations",
|
533 |
-
"output",
|
534 |
-
"WC_Meta_Box_Product_Data",
|
535 |
-
"save_variations",
|
536 |
-
"process",
|
537 |
-
"save::",
|
538 |
-
"output_variations",
|
539 |
-
"html-variation-admin",
|
540 |
-
"variable_regular_price",
|
541 |
-
"variation",
|
542 |
-
"process_",
|
543 |
-
"is_purchasable",
|
544 |
-
"woocommerce_add_to_cart_handler",
|
545 |
-
"-"
|
546 |
-
],
|
547 |
-
"highlight": true,
|
548 |
-
"in_selection": false,
|
549 |
-
"preserve_case": false,
|
550 |
-
"regex": false,
|
551 |
-
"replace_history":
|
552 |
-
[
|
553 |
-
"'woocommerce-mix-and-match'",
|
554 |
-
"match' )",
|
555 |
-
"",
|
556 |
-
"'woocommerce-mix-and-match'",
|
557 |
-
"'mix-and-match'",
|
558 |
-
"woocommerce_mnm_update",
|
559 |
-
"woocommerce-mnm-update",
|
560 |
-
"attempt_show_mnm",
|
561 |
-
"wc_mix_and_match",
|
562 |
-
"WC()->",
|
563 |
-
"mnm_item",
|
564 |
-
"mnm_container",
|
565 |
-
"mnm_container_data",
|
566 |
-
"mnm_contents",
|
567 |
-
"mnm_container_data",
|
568 |
-
"/n[\"",
|
569 |
-
"mnm_item_id",
|
570 |
-
"mnm_contents",
|
571 |
-
"'wc-mix-and-match'",
|
572 |
-
"",
|
573 |
-
"WC_Mix_and_Match_Order",
|
574 |
-
"mnm_content",
|
575 |
-
"WC()",
|
576 |
-
"mnm_contents",
|
577 |
-
"mnm_allowed_contents",
|
578 |
-
"mnm_allowed_ids",
|
579 |
-
"mnm_content_ids",
|
580 |
-
"mnm_container",
|
581 |
-
"mnm_content_ids",
|
582 |
-
"container_size",
|
583 |
-
"WC()",
|
584 |
-
"mnm_",
|
585 |
-
"mnm_parent",
|
586 |
-
"$_REQUEST",
|
587 |
-
"mnm_children",
|
588 |
-
"mnm_data",
|
589 |
-
"mnm_config",
|
590 |
-
"mnm_container",
|
591 |
-
"woocomerce_radio_buttons",
|
592 |
-
"anywhere_metabox_control",
|
593 |
-
"delete_image",
|
594 |
-
"upload_image",
|
595 |
-
"anywhere_metabox_control",
|
596 |
-
"Anywhere_Metabox",
|
597 |
-
"AnywhereMetaboxL10n",
|
598 |
-
"_e( '",
|
599 |
-
"anywhere-slider",
|
600 |
-
"anywhere_slider",
|
601 |
-
"anywhere_slider_options",
|
602 |
-
"anywhere-slider",
|
603 |
-
"anywhere_slider_options",
|
604 |
-
"Anywhere_Slider",
|
605 |
-
"KIA_Subtitle",
|
606 |
-
"WC()->cart",
|
607 |
-
"WC()->plugin_url()",
|
608 |
-
"$this",
|
609 |
-
"'kia-subtitle' ",
|
610 |
-
"'kia-subtitle'",
|
611 |
-
"'radio-buttons-for-taxonomies'",
|
612 |
-
"'kia-subtitle'",
|
613 |
-
"'kia_subtitle'",
|
614 |
-
"$post_type",
|
615 |
-
"$post_types",
|
616 |
-
"kia_subtitle_options",
|
617 |
-
"kia_subtitle",
|
618 |
-
"tax_input",
|
619 |
-
"taxsyncChecks",
|
620 |
-
"taxAddAfter",
|
621 |
-
"taxAddBefore",
|
622 |
-
"localhost",
|
623 |
-
"dummy",
|
624 |
-
"radio_nonce"
|
625 |
-
],
|
626 |
-
"reverse": false,
|
627 |
-
"show_context": true,
|
628 |
-
"use_buffer2": true,
|
629 |
-
"whole_word": false,
|
630 |
-
"wrap": true
|
631 |
-
},
|
632 |
-
"groups":
|
633 |
-
[
|
634 |
-
{
|
635 |
-
"sheets":
|
636 |
-
[
|
637 |
-
]
|
638 |
-
}
|
639 |
-
],
|
640 |
-
"incremental_find":
|
641 |
-
{
|
642 |
-
"height": 36.0
|
643 |
-
},
|
644 |
-
"input":
|
645 |
-
{
|
646 |
-
"height": 39.0
|
647 |
-
},
|
648 |
-
"layout":
|
649 |
-
{
|
650 |
-
"cells":
|
651 |
-
[
|
652 |
-
[
|
653 |
-
0,
|
654 |
-
0,
|
655 |
-
1,
|
656 |
-
1
|
657 |
-
]
|
658 |
-
],
|
659 |
-
"cols":
|
660 |
-
[
|
661 |
-
0.0,
|
662 |
-
1.0
|
663 |
-
],
|
664 |
-
"rows":
|
665 |
-
[
|
666 |
-
0.0,
|
667 |
-
1.0
|
668 |
-
]
|
669 |
-
},
|
670 |
-
"menu_visible": true,
|
671 |
-
"output.find_results":
|
672 |
-
{
|
673 |
-
"height": 0.0
|
674 |
-
},
|
675 |
-
"output.sftp":
|
676 |
-
{
|
677 |
-
"height": 0.0
|
678 |
-
},
|
679 |
-
"project": "class.Walker_Nav_Menu_Edit_Roles.sublime-project",
|
680 |
-
"replace":
|
681 |
-
{
|
682 |
-
"height": 68.0
|
683 |
-
},
|
684 |
-
"save_all_on_build": true,
|
685 |
-
"select_file":
|
686 |
-
{
|
687 |
-
"height": 0.0,
|
688 |
-
"selected_items":
|
689 |
-
[
|
690 |
-
[
|
691 |
-
"bto-item",
|
692 |
-
"woocommerce-composite-products\\templates\\single-product\\bto-item.php"
|
693 |
-
],
|
694 |
-
[
|
695 |
-
"bto-c",
|
696 |
-
"woocommerce-composite-products\\includes\\class-wc-bto-cart.php"
|
697 |
-
],
|
698 |
-
[
|
699 |
-
"display",
|
700 |
-
"woocommerce-mix-and-match-products\\includes\\class-wc-mnm-display.php"
|
701 |
-
]
|
702 |
-
],
|
703 |
-
"width": 0.0
|
704 |
-
},
|
705 |
-
"select_project":
|
706 |
-
{
|
707 |
-
"height": 500.0,
|
708 |
-
"selected_items":
|
709 |
-
[
|
710 |
-
],
|
711 |
-
"width": 380.0
|
712 |
-
},
|
713 |
-
"select_symbol":
|
714 |
-
{
|
715 |
-
"height": 0.0,
|
716 |
-
"selected_items":
|
717 |
-
[
|
718 |
-
],
|
719 |
-
"width": 0.0
|
720 |
-
},
|
721 |
-
"selected_group": 0,
|
722 |
-
"settings":
|
723 |
-
{
|
724 |
-
},
|
725 |
-
"show_minimap": false,
|
726 |
-
"show_open_files": false,
|
727 |
-
"show_tabs": true,
|
728 |
-
"side_bar_visible": true,
|
729 |
-
"side_bar_width": 251.0,
|
730 |
-
"status_bar_visible": true,
|
731 |
-
"template_settings":
|
732 |
-
{
|
733 |
-
}
|
734 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/nav-menu-roles.js
CHANGED
@@ -7,7 +7,7 @@ $('.nav_menu_logged_in_out_field').each(function(i){
|
|
7 |
var id = $field.find('input.nav-menu-id').val();
|
8 |
|
9 |
// if set to display by role (aka is null) then show the roles list, otherwise hide
|
10 |
-
if( $field.find('input.nav-menu-logged-in-out:checked').val() === '' ){
|
11 |
$field.next('.nav_menu_role_field').show();
|
12 |
} else {
|
13 |
$field.next('.nav_menu_role_field').hide();
|
@@ -16,7 +16,7 @@ $('.nav_menu_logged_in_out_field').each(function(i){
|
|
16 |
|
17 |
// on in/out/role change, hide/show the roles
|
18 |
$('#menu-to-edit').on('change', 'input.nav-menu-logged-in-out', function() {
|
19 |
-
if( $(this).val() === '' ){
|
20 |
$(this).parentsUntil('.nav_menu_logged_in_out').next('.nav_menu_role_field').slideDown();
|
21 |
} else {
|
22 |
$(this).parentsUntil('.nav_menu_logged_in_out').next('.nav_menu_role_field').slideUp();
|
7 |
var id = $field.find('input.nav-menu-id').val();
|
8 |
|
9 |
// if set to display by role (aka is null) then show the roles list, otherwise hide
|
10 |
+
if( $field.find('input.nav-menu-logged-in-out:checked').val() === 'in' ){
|
11 |
$field.next('.nav_menu_role_field').show();
|
12 |
} else {
|
13 |
$field.next('.nav_menu_role_field').hide();
|
16 |
|
17 |
// on in/out/role change, hide/show the roles
|
18 |
$('#menu-to-edit').on('change', 'input.nav-menu-logged-in-out', function() {
|
19 |
+
if( $(this).val() === 'in' ){
|
20 |
$(this).parentsUntil('.nav_menu_logged_in_out').next('.nav_menu_role_field').slideDown();
|
21 |
} else {
|
22 |
$(this).parentsUntil('.nav_menu_logged_in_out').next('.nav_menu_role_field').slideUp();
|
js/nav-menu-roles.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! nav-menu-roles 1.
|
2 |
-
!function(a){a(".nav_menu_logged_in_out_field").each(function(){{var b=a(this);b.find("input.nav-menu-id").val()}""===b.find("input.nav-menu-logged-in-out:checked").val()?b.next(".nav_menu_role_field").show():b.next(".nav_menu_role_field").hide()}),a("#menu-to-edit").on("change","input.nav-menu-logged-in-out",function(){""===a(this).val()?a(this).parentsUntil(".nav_menu_logged_in_out").next(".nav_menu_role_field").slideDown():a(this).parentsUntil(".nav_menu_logged_in_out").next(".nav_menu_role_field").slideUp()})}(jQuery);
|
1 |
+
/*! nav-menu-roles 1.7.0 */
|
2 |
+
!function(a){a(".nav_menu_logged_in_out_field").each(function(){{var b=a(this);b.find("input.nav-menu-id").val()}"in"===b.find("input.nav-menu-logged-in-out:checked").val()?b.next(".nav_menu_role_field").show():b.next(".nav_menu_role_field").hide()}),a("#menu-to-edit").on("change","input.nav-menu-logged-in-out",function(){"in"===a(this).val()?a(this).parentsUntil(".nav_menu_logged_in_out").next(".nav_menu_role_field").slideDown():a(this).parentsUntil(".nav_menu_logged_in_out").next(".nav_menu_role_field").slideUp()})}(jQuery);
|
languages/nav-menu-roles-gu_IN.mo
ADDED
Binary file
|
languages/nav-menu-roles-gu_IN.po
ADDED
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2014 Nav Menu Roles
|
2 |
+
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: Nav Menu Roles 1.6.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
7 |
+
"POT-Creation-Date: 2014-06-26 15:17:58+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2015-04-16 13:35+0530\n"
|
12 |
+
"Last-Translator: \n"
|
13 |
+
"Language-Team: \n"
|
14 |
+
"X-Generator: Poedit 1.7.5\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
+
"Language: gu_IN\n"
|
17 |
+
|
18 |
+
#: inc/class.Nav_Menu_Roles_Import.php:100
|
19 |
+
#: inc/class.Nav_Menu_Roles_Import.php:109
|
20 |
+
#: inc/class.Nav_Menu_Roles_Import.php:155
|
21 |
+
#: inc/class.Nav_Menu_Roles_Import.php:159
|
22 |
+
#: inc/class.Nav_Menu_Roles_Import.php:168
|
23 |
+
msgid "Sorry, there has been an error."
|
24 |
+
msgstr "માફ કરશો, પણ કંઈક ભૂલ થયી છે"
|
25 |
+
|
26 |
+
#: inc/class.Nav_Menu_Roles_Import.php:101
|
27 |
+
msgid "The file does not exist, please try again."
|
28 |
+
msgstr "ફાઇલ અસ્તિત્વમાં નથી, ફરી પ્રયત્ન કરો."
|
29 |
+
|
30 |
+
#: inc/class.Nav_Menu_Roles_Import.php:140
|
31 |
+
msgid "All done."
|
32 |
+
msgstr "બધું થયી ચુક્યું છે"
|
33 |
+
|
34 |
+
#: inc/class.Nav_Menu_Roles_Import.php:140
|
35 |
+
msgid "Have fun!"
|
36 |
+
msgstr "મજા કરો"
|
37 |
+
|
38 |
+
#: inc/class.Nav_Menu_Roles_Import.php:160
|
39 |
+
msgid ""
|
40 |
+
"The export file could not be found at <code>%s</code>. It is likely that "
|
41 |
+
"this was caused by a permissions problem."
|
42 |
+
msgstr ""
|
43 |
+
"નિકાસ ફાઈલ <code>%s</code> પર મળી નથી રહી. લાગી રહ્યું છે કે પરવાનગી ની સમસ્યા છે."
|
44 |
+
|
45 |
+
#: inc/class.Nav_Menu_Roles_Import.php:176
|
46 |
+
msgid ""
|
47 |
+
"This WXR file (version %s) may not be supported by this version of the "
|
48 |
+
"importer. Please consider updating."
|
49 |
+
msgstr ""
|
50 |
+
"આ WXR file (આવૃત્તિ %s) કદાચ આ આયાતકાર ની આવૃત્તિ દ્વારા ટેકો નથી આપતી. મહેરબાની "
|
51 |
+
"કરી ને નવી મેળવી લો."
|
52 |
+
|
53 |
+
#: inc/class.Nav_Menu_Roles_Import.php:244
|
54 |
+
msgid "Import Nav Menu Roles"
|
55 |
+
msgstr "આયાત નેવ મેનુ રોલ્સ"
|
56 |
+
|
57 |
+
#: inc/class.Nav_Menu_Roles_Import.php:251
|
58 |
+
msgid ""
|
59 |
+
"A new version of this importer is available. Please update to version %s to "
|
60 |
+
"ensure compatibility with newer export files."
|
61 |
+
msgstr ""
|
62 |
+
"આ આયાતકાર માટે ની નવી આવૃત્તિ ઉપલબ્ધ છે. નવી નિવેશ ફાઈલ ને આવૃત્તિ સાથે સુસંગત બનાવા "
|
63 |
+
"મહેરબાની કરી ને નવી આવૃત્તિ %s મેળવી લો"
|
64 |
+
|
65 |
+
#: inc/class.Nav_Menu_Roles_Import.php:266
|
66 |
+
msgid ""
|
67 |
+
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
68 |
+
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
69 |
+
"items."
|
70 |
+
msgstr ""
|
71 |
+
"તમારી સામાન્ય WordPress eXtended RSS (WXR) ફાઈલ ફરી અપલોડ કરો અને અમે નેવ મેનુ "
|
72 |
+
"રોલ્સ અને બીજા નેવ મેનુ વસ્તુ માટે ના post meta આયાત કરીશું."
|
73 |
+
|
74 |
+
#: inc/class.Nav_Menu_Roles_Import.php:267
|
75 |
+
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
76 |
+
msgstr ""
|
77 |
+
"WXR (.xml) ફાઇલ અપલોડ કરવા પસંદ કરો અને પછી અપલોડ ફાઇલ અને આયાત પર ક્લિક કરો"
|
78 |
+
|
79 |
+
#. translators: %s: title of menu item which is invalid
|
80 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:87
|
81 |
+
msgid "%s (Invalid)"
|
82 |
+
msgstr "%s (અમાન્ય)"
|
83 |
+
|
84 |
+
#. translators: %s: title of menu item in draft status
|
85 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:91
|
86 |
+
msgid "%s (Pending)"
|
87 |
+
msgstr "%s (બાકી)"
|
88 |
+
|
89 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:104
|
90 |
+
msgid "sub item"
|
91 |
+
msgstr "પેટા વસ્તુ"
|
92 |
+
|
93 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:119
|
94 |
+
msgid "Move up"
|
95 |
+
msgstr "ઉપર લઇ જાઓ"
|
96 |
+
|
97 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:132
|
98 |
+
msgid "Move down"
|
99 |
+
msgstr "નીચે લઇ જાઓ"
|
100 |
+
|
101 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:134
|
102 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:136
|
103 |
+
msgid "Edit Menu Item"
|
104 |
+
msgstr "મેનુ ને સુધારો"
|
105 |
+
|
106 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:145
|
107 |
+
msgid "URL"
|
108 |
+
msgstr "URL"
|
109 |
+
|
110 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:152
|
111 |
+
msgid "Navigation Label"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:158
|
115 |
+
msgid "Title Attribute"
|
116 |
+
msgstr ""
|
117 |
+
|
118 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:165
|
119 |
+
msgid "Open link in a new window/tab"
|
120 |
+
msgstr "નવી વિન્ડો / ટૅબમાં ખોલો"
|
121 |
+
|
122 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:170
|
123 |
+
msgid "CSS Classes (optional)"
|
124 |
+
msgstr "CSS Classes (વૈકલ્પિક)"
|
125 |
+
|
126 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:176
|
127 |
+
msgid "Link Relationship (XFN)"
|
128 |
+
msgstr "લિંક સંબંધ"
|
129 |
+
|
130 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:182
|
131 |
+
msgid "Description"
|
132 |
+
msgstr "વર્ણન"
|
133 |
+
|
134 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:184
|
135 |
+
msgid ""
|
136 |
+
"The description will be displayed in the menu if the current theme supports "
|
137 |
+
"it."
|
138 |
+
msgstr "વર્ણન મેનુ માં દેખાશે જો થીમ સમર્થન કરશે તો"
|
139 |
+
|
140 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:196
|
141 |
+
msgid "Move"
|
142 |
+
msgstr "બીજે લઇ જાઓ"
|
143 |
+
|
144 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:197
|
145 |
+
msgid "Up one"
|
146 |
+
msgstr "એક ઉપર"
|
147 |
+
|
148 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:198
|
149 |
+
msgid "Down one"
|
150 |
+
msgstr "એક નીચે"
|
151 |
+
|
152 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:201
|
153 |
+
msgid "To the top"
|
154 |
+
msgstr "સૌથી ઉપર"
|
155 |
+
|
156 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:208
|
157 |
+
msgid "Original: %s"
|
158 |
+
msgstr "અસલી: %s"
|
159 |
+
|
160 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:221
|
161 |
+
msgid "Remove"
|
162 |
+
msgstr "દૂર કરો"
|
163 |
+
|
164 |
+
#: inc/class.Walker_Nav_Menu_Edit_Roles.php:222
|
165 |
+
msgid "Cancel"
|
166 |
+
msgstr "રદ કરો"
|
167 |
+
|
168 |
+
#: nav-menu-roles.php:76 nav-menu-roles.php:85
|
169 |
+
msgid "Cheatin’ huh?"
|
170 |
+
msgstr "છેતરપિંડી હુહ?"
|
171 |
+
|
172 |
+
#. Plugin Name of the plugin/theme
|
173 |
+
msgid "Nav Menu Roles"
|
174 |
+
msgstr "નેવ મેનુ રોલ્સ"
|
175 |
+
|
176 |
+
#: nav-menu-roles.php:163
|
177 |
+
msgid ""
|
178 |
+
"Import %snav menu roles%s and other menu item meta skipped by the default "
|
179 |
+
"importer"
|
180 |
+
msgstr "%sનેવ મેનુ રોલ્સ%s આયાત કરો અને મૂળભૂત આયાતકાર દ્વારા બીજી મેનુ વસ્તુ છોડી દેવાશે"
|
181 |
+
|
182 |
+
#: nav-menu-roles.php:219
|
183 |
+
msgid ""
|
184 |
+
"Nav Menu Roles has detected a possible conflict with the following functions "
|
185 |
+
"or classes: %1$s. Please see the %2$sFAQ%3$s for more information and "
|
186 |
+
"possible resolution. | %4$sHide Notice%3$s"
|
187 |
+
msgstr ""
|
188 |
+
"નેવ મેનુ રોલ્સ એ શોધેલ છે કે નીચે ના functions અથવા classes અથડામણ કરે છે: %1$s. "
|
189 |
+
"વધારા ની માહિતી અને ઉકેલ માટે મહેરબાની કરી ને %2$sFAQ%3$s જુઓ"
|
190 |
+
|
191 |
+
#: nav-menu-roles.php:289
|
192 |
+
msgid "Display Mode"
|
193 |
+
msgstr "પ્રદર્શન મોડ"
|
194 |
+
|
195 |
+
#: nav-menu-roles.php:297
|
196 |
+
msgid "Logged Out Users"
|
197 |
+
msgstr "લૉગ આઉટ વપરાશકર્તાઓ"
|
198 |
+
|
199 |
+
#: nav-menu-roles.php:304
|
200 |
+
msgid "Logged In Users"
|
201 |
+
msgstr "લોગ ઇન વપરાશકર્તાઓ"
|
202 |
+
|
203 |
+
#: nav-menu-roles.php:311
|
204 |
+
msgid "By Role"
|
205 |
+
msgstr "ભૂમિકા દ્વારા"
|
206 |
+
|
207 |
+
#: nav-menu-roles.php:318
|
208 |
+
msgid "Access Role"
|
209 |
+
msgstr "પ્રવેશ ભૂમિકા"
|
210 |
+
|
211 |
+
#. Plugin URI of the plugin/theme
|
212 |
+
msgid "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
213 |
+
msgstr "http://www.kathyisawesome.com/449/nav-menu-roles/"
|
214 |
+
|
215 |
+
#. Description of the plugin/theme
|
216 |
+
msgid "Hide custom menu items based on user roles"
|
217 |
+
msgstr "custom મેનુ વસ્તુ ને વપરાશકર્તા ની ભૂમિકા ઉપર સંતાડો."
|
218 |
+
|
219 |
+
#. Author of the plugin/theme
|
220 |
+
msgid "Kathy Darling"
|
221 |
+
msgstr "Kathy Darling"
|
222 |
+
|
223 |
+
#. Author URI of the plugin/theme
|
224 |
+
msgid "http://www.kathyisawesome.com"
|
225 |
+
msgstr "http://www.kathyisawesome.com"
|
languages/nav-menu-roles.pot
CHANGED
@@ -1,67 +1,67 @@
|
|
1 |
-
# Copyright (C)
|
2 |
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Nav Menu Roles 1.6.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
7 |
-
"POT-Creation-Date:
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"PO-Revision-Date:
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
16 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
17 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
18 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
19 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
20 |
msgid "Sorry, there has been an error."
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
24 |
msgid "The file does not exist, please try again."
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
28 |
msgid "All done."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
32 |
msgid "Have fun!"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
36 |
msgid ""
|
37 |
"The export file could not be found at <code>%s</code>. It is likely that "
|
38 |
"this was caused by a permissions problem."
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
42 |
msgid ""
|
43 |
"This WXR file (version %s) may not be supported by this version of the "
|
44 |
"importer. Please consider updating."
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
48 |
msgid "Import Nav Menu Roles"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
52 |
msgid ""
|
53 |
"A new version of this importer is available. Please update to version %s to "
|
54 |
"ensure compatibility with newer export files."
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
58 |
msgid ""
|
59 |
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
60 |
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
61 |
"items."
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: inc/class.Nav_Menu_Roles_Import.php:
|
65 |
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
66 |
msgstr ""
|
67 |
|
@@ -175,24 +175,24 @@ msgid ""
|
|
175 |
"and possible resolution. | %4$sHide Notice%3$s"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: nav-menu-roles.php:
|
179 |
msgid "Display Mode"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: nav-menu-roles.php:
|
183 |
-
msgid "Logged
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: nav-menu-roles.php:
|
187 |
-
msgid "Logged
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: nav-menu-roles.php:
|
191 |
-
msgid "
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: nav-menu-roles.php:
|
195 |
-
msgid "
|
196 |
msgstr ""
|
197 |
|
198 |
#. Plugin URI of the plugin/theme
|
1 |
+
# Copyright (C) 2015 Nav Menu Roles
|
2 |
# This file is distributed under the same license as the Nav Menu Roles package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Nav Menu Roles 1.6.5\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/nav-menu-roles\n"
|
7 |
+
"POT-Creation-Date: 2015-04-30 07:17:10+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: inc/class.Nav_Menu_Roles_Import.php:106
|
16 |
+
#: inc/class.Nav_Menu_Roles_Import.php:115
|
17 |
+
#: inc/class.Nav_Menu_Roles_Import.php:161
|
18 |
+
#: inc/class.Nav_Menu_Roles_Import.php:165
|
19 |
+
#: inc/class.Nav_Menu_Roles_Import.php:174
|
20 |
msgid "Sorry, there has been an error."
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: inc/class.Nav_Menu_Roles_Import.php:107
|
24 |
msgid "The file does not exist, please try again."
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: inc/class.Nav_Menu_Roles_Import.php:146
|
28 |
msgid "All done."
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: inc/class.Nav_Menu_Roles_Import.php:146
|
32 |
msgid "Have fun!"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: inc/class.Nav_Menu_Roles_Import.php:166
|
36 |
msgid ""
|
37 |
"The export file could not be found at <code>%s</code>. It is likely that "
|
38 |
"this was caused by a permissions problem."
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: inc/class.Nav_Menu_Roles_Import.php:182
|
42 |
msgid ""
|
43 |
"This WXR file (version %s) may not be supported by this version of the "
|
44 |
"importer. Please consider updating."
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: inc/class.Nav_Menu_Roles_Import.php:250
|
48 |
msgid "Import Nav Menu Roles"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: inc/class.Nav_Menu_Roles_Import.php:257
|
52 |
msgid ""
|
53 |
"A new version of this importer is available. Please update to version %s to "
|
54 |
"ensure compatibility with newer export files."
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: inc/class.Nav_Menu_Roles_Import.php:272
|
58 |
msgid ""
|
59 |
"Re-Upload your normal WordPress eXtended RSS (WXR) file and we’ll "
|
60 |
"import the Nav Menu Roles and any other missing post meta for the Nav Menu "
|
61 |
"items."
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: inc/class.Nav_Menu_Roles_Import.php:273
|
65 |
msgid "Choose a WXR (.xml) file to upload, then click Upload file and import."
|
66 |
msgstr ""
|
67 |
|
175 |
"and possible resolution. | %4$sHide Notice%3$s"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: nav-menu-roles.php:316
|
179 |
msgid "Display Mode"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: nav-menu-roles.php:324
|
183 |
+
msgid "Logged In Users"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: nav-menu-roles.php:331
|
187 |
+
msgid "Logged Out Users"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: nav-menu-roles.php:338
|
191 |
+
msgid "Everyone"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: nav-menu-roles.php:345
|
195 |
+
msgid "Limit logged in users to specific roles"
|
196 |
msgstr ""
|
197 |
|
198 |
#. Plugin URI of the plugin/theme
|
nav-menu-roles.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Nav Menu Roles
|
4 |
Plugin URI: http://www.kathyisawesome.com/449/nav-menu-roles/
|
5 |
Description: Hide custom menu items based on user roles
|
6 |
-
Version: 1.
|
7 |
Author: Kathy Darling
|
8 |
Author URI: http://www.kathyisawesome.com
|
9 |
License: GPL2
|
@@ -295,9 +295,18 @@ class Nav_Menu_Roles {
|
|
295 |
/* Get the roles saved for the post. */
|
296 |
$roles = get_post_meta( $item->ID, '_nav_menu_role', true );
|
297 |
|
298 |
-
|
|
|
299 |
|
300 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
|
302 |
?>
|
303 |
|
@@ -310,30 +319,30 @@ class Nav_Menu_Roles {
|
|
310 |
<input type="hidden" class="nav-menu-id" value="<?php echo $item->ID ;?>" />
|
311 |
|
312 |
<div class="logged-input-holder" style="float: left; width: 35%;">
|
313 |
-
<input type="radio" class="nav-menu-logged-in-out" name="nav-menu-logged-in-out[<?php echo $item->ID ;?>]" id="
|
314 |
-
<label for="
|
315 |
-
<?php _e( 'Logged
|
316 |
</label>
|
317 |
</div>
|
318 |
|
319 |
<div class="logged-input-holder" style="float: left; width: 35%;">
|
320 |
-
<input type="radio" class="nav-menu-logged-in-out" name="nav-menu-logged-in-out[<?php echo $item->ID ;?>]" id="
|
321 |
-
<label for="
|
322 |
-
<?php _e( 'Logged
|
323 |
</label>
|
324 |
</div>
|
325 |
|
326 |
<div class="logged-input-holder" style="float: left; width: 30%;">
|
327 |
<input type="radio" class="nav-menu-logged-in-out" name="nav-menu-logged-in-out[<?php echo $item->ID ;?>]" id="nav_menu_by_role-for-<?php echo $item->ID ;?>" <?php checked( '', $logged_in_out ); ?> value="" />
|
328 |
<label for="nav_menu_by_role-for-<?php echo $item->ID ;?>">
|
329 |
-
<?php _e( '
|
330 |
</label>
|
331 |
</div>
|
332 |
|
333 |
</div>
|
334 |
|
335 |
<div class="field-nav_menu_role nav_menu_role_field description-wide" style="margin: 5px 0;">
|
336 |
-
<span class="description"><?php _e( "
|
337 |
<br />
|
338 |
|
339 |
<?php
|
@@ -390,16 +399,16 @@ class Nav_Menu_Roles {
|
|
390 |
|
391 |
$saved_data = false;
|
392 |
|
393 |
-
if ( isset( $_POST['nav-menu-logged-in-out'][$menu_item_db_id] ) &&
|
394 |
-
$saved_data = $_POST['nav-menu-logged-in-out'][$menu_item_db_id];
|
395 |
-
} elseif ( isset( $_POST['nav-menu-role'][$menu_item_db_id] ) ) {
|
396 |
$custom_roles = array();
|
397 |
// only save allowed roles
|
398 |
foreach( $_POST['nav-menu-role'][$menu_item_db_id] as $role ) {
|
399 |
if ( array_key_exists ( $role, $allowed_roles ) ) $custom_roles[] = $role;
|
400 |
}
|
401 |
if ( ! empty ( $custom_roles ) ) $saved_data = $custom_roles;
|
402 |
-
}
|
|
|
|
|
403 |
|
404 |
if ( $saved_data ) {
|
405 |
update_post_meta( $menu_item_db_id, '_nav_menu_role', $saved_data );
|
3 |
Plugin Name: Nav Menu Roles
|
4 |
Plugin URI: http://www.kathyisawesome.com/449/nav-menu-roles/
|
5 |
Description: Hide custom menu items based on user roles
|
6 |
+
Version: 1.7.0
|
7 |
Author: Kathy Darling
|
8 |
Author URI: http://www.kathyisawesome.com
|
9 |
License: GPL2
|
295 |
/* Get the roles saved for the post. */
|
296 |
$roles = get_post_meta( $item->ID, '_nav_menu_role', true );
|
297 |
|
298 |
+
// by default nothing is checked (will match "everyone" radio)
|
299 |
+
$logged_in_out = '';
|
300 |
|
301 |
+
// specific roles are saved as an array, so "in" or an array equals "in" is checked
|
302 |
+
if( is_array( $roles ) || $roles == 'in' ){
|
303 |
+
$logged_in_out = 'in';
|
304 |
+
} else if ( $roles == 'out' ){
|
305 |
+
$logged_in_out = 'out';
|
306 |
+
}
|
307 |
+
|
308 |
+
// the specific roles to check
|
309 |
+
$checked_roles = is_array( $roles ) ? $roles : false;
|
310 |
|
311 |
?>
|
312 |
|
319 |
<input type="hidden" class="nav-menu-id" value="<?php echo $item->ID ;?>" />
|
320 |
|
321 |
<div class="logged-input-holder" style="float: left; width: 35%;">
|
322 |
+
<input type="radio" class="nav-menu-logged-in-out" name="nav-menu-logged-in-out[<?php echo $item->ID ;?>]" id="nav_menu_logged_in-for-<?php echo $item->ID ;?>" <?php checked( 'in', $logged_in_out ); ?> value="in" />
|
323 |
+
<label for="nav_menu_logged_in-for-<?php echo $item->ID ;?>">
|
324 |
+
<?php _e( 'Logged In Users', 'nav-menu-roles'); ?>
|
325 |
</label>
|
326 |
</div>
|
327 |
|
328 |
<div class="logged-input-holder" style="float: left; width: 35%;">
|
329 |
+
<input type="radio" class="nav-menu-logged-in-out" name="nav-menu-logged-in-out[<?php echo $item->ID ;?>]" id="nav_menu_logged_out-for-<?php echo $item->ID ;?>" <?php checked( 'out', $logged_in_out ); ?> value="out" />
|
330 |
+
<label for="nav_menu_logged_out-for-<?php echo $item->ID ;?>">
|
331 |
+
<?php _e( 'Logged Out Users', 'nav-menu-roles'); ?>
|
332 |
</label>
|
333 |
</div>
|
334 |
|
335 |
<div class="logged-input-holder" style="float: left; width: 30%;">
|
336 |
<input type="radio" class="nav-menu-logged-in-out" name="nav-menu-logged-in-out[<?php echo $item->ID ;?>]" id="nav_menu_by_role-for-<?php echo $item->ID ;?>" <?php checked( '', $logged_in_out ); ?> value="" />
|
337 |
<label for="nav_menu_by_role-for-<?php echo $item->ID ;?>">
|
338 |
+
<?php _e( 'Everyone', 'nav-menu-roles'); ?>
|
339 |
</label>
|
340 |
</div>
|
341 |
|
342 |
</div>
|
343 |
|
344 |
<div class="field-nav_menu_role nav_menu_role_field description-wide" style="margin: 5px 0;">
|
345 |
+
<span class="description"><?php _e( "Limit logged in users to specific roles", 'nav-menu-roles' ); ?></span>
|
346 |
<br />
|
347 |
|
348 |
<?php
|
399 |
|
400 |
$saved_data = false;
|
401 |
|
402 |
+
if ( isset( $_POST['nav-menu-logged-in-out'][$menu_item_db_id] ) && $_POST['nav-menu-logged-in-out'][$menu_item_db_id] == 'in' && ! empty ( $_POST['nav-menu-role'][$menu_item_db_id] ) ) {
|
|
|
|
|
403 |
$custom_roles = array();
|
404 |
// only save allowed roles
|
405 |
foreach( $_POST['nav-menu-role'][$menu_item_db_id] as $role ) {
|
406 |
if ( array_key_exists ( $role, $allowed_roles ) ) $custom_roles[] = $role;
|
407 |
}
|
408 |
if ( ! empty ( $custom_roles ) ) $saved_data = $custom_roles;
|
409 |
+
} else if ( isset( $_POST['nav-menu-logged-in-out'][$menu_item_db_id] ) && in_array( $_POST['nav-menu-logged-in-out'][$menu_item_db_id], array( 'in', 'out' ) ) ) {
|
410 |
+
$saved_data = $_POST['nav-menu-logged-in-out'][$menu_item_db_id];
|
411 |
+
}
|
412 |
|
413 |
if ( $saved_data ) {
|
414 |
update_post_meta( $menu_item_db_id, '_nav_menu_role', $saved_data );
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: helgatheviking
|
|
4 |
Donate link: https://inspirepay.com/pay/helgatheviking
|
5 |
Tags: menu, menus, nav menu, nav menus
|
6 |
Requires at least: 3.8
|
7 |
-
Tested up to: 4.
|
8 |
-
Stable tag: 1.
|
9 |
License: GPLv3
|
10 |
|
11 |
Hide custom menu items based on user roles
|
@@ -38,9 +38,8 @@ Please report any bugs, errors, warnings, code problems to [Github](https://gith
|
|
38 |
1. Upload the `plugin` folder to the `/wp-content/plugins/` directory
|
39 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
40 |
1. Go to Appearance > Menus
|
41 |
-
1. Edit the menu items accordingly.
|
42 |
-
1.
|
43 |
-
1. If you choose 'By Role' and don't check any boxes, the item will be visible to everyone like normal.
|
44 |
|
45 |
== Screenshots ==
|
46 |
|
@@ -133,6 +132,18 @@ add_filter( 'nav_menu_roles_item_visibility', 'kia_item_visibility', 10, 2 );
|
|
133 |
|
134 |
Note that you have to generate your own if/then logic. I can't provide free support for custom integration with another plugin. You may [contact me](http://kathyisawesome.com/contact) to discuss hiring me, or I would suggest using a plugin that supports WordPress' roles, such as Justin Tadlock's [Members](http://wordpress.org/plugins/members).
|
135 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
= What happened to my menu roles on import/export? =
|
137 |
|
138 |
The Nav Menu Roles plugin stores 1 piece of post *meta* to every menu item/post. This is exported just fine by the default Export tool.
|
@@ -149,6 +160,12 @@ However, the Import plugin only imports certain post meta for menu items. As of
|
|
149 |
|
150 |
== Changelog ==
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
= 1.6.4 =
|
153 |
* more language issues -> sync svn+git version numbers
|
154 |
|
4 |
Donate link: https://inspirepay.com/pay/helgatheviking
|
5 |
Tags: menu, menus, nav menu, nav menus
|
6 |
Requires at least: 3.8
|
7 |
+
Tested up to: 4.2
|
8 |
+
Stable tag: 1.7.0
|
9 |
License: GPLv3
|
10 |
|
11 |
Hide custom menu items based on user roles
|
38 |
1. Upload the `plugin` folder to the `/wp-content/plugins/` directory
|
39 |
1. Activate the plugin through the 'Plugins' menu in WordPress
|
40 |
1. Go to Appearance > Menus
|
41 |
+
1. Edit the menu items accordingly. First select whether you'd like to display the item to Everyone, all logged out users, or all logged in users.
|
42 |
+
1. Logged in users can be further limited to specific roles by checking the boxes next to the roles you'd like to restrict visibility to.
|
|
|
43 |
|
44 |
== Screenshots ==
|
45 |
|
132 |
|
133 |
Note that you have to generate your own if/then logic. I can't provide free support for custom integration with another plugin. You may [contact me](http://kathyisawesome.com/contact) to discuss hiring me, or I would suggest using a plugin that supports WordPress' roles, such as Justin Tadlock's [Members](http://wordpress.org/plugins/members).
|
134 |
|
135 |
+
= The menu exploded? Why are all my pages displaying for logged out users? =
|
136 |
+
|
137 |
+
If every item in your menu is configured to display to logged in users (either all logged in users, or by specific role), then when a logged out visitor comes to your site there are no items in the menu to display. `wp_nav_menu()` will then try check its `fallback_cb` argument... which defaults to `wp_page_menu`.
|
138 |
+
|
139 |
+
Therefore, if you have no items to display, WordPress will end up displaying ALL your pages!!
|
140 |
+
|
141 |
+
If you don't want this, you must set the fallback argument to be a null string.
|
142 |
+
|
143 |
+
`
|
144 |
+
wp_nav_menu( array( 'theme_location' => 'primary-menu', 'fallback_cb' => '' ) );
|
145 |
+
`
|
146 |
+
|
147 |
= What happened to my menu roles on import/export? =
|
148 |
|
149 |
The Nav Menu Roles plugin stores 1 piece of post *meta* to every menu item/post. This is exported just fine by the default Export tool.
|
160 |
|
161 |
== Changelog ==
|
162 |
|
163 |
+
= 1.7.0 =
|
164 |
+
* adjust admin UI to be more user-friendly. Options are now: show to everyone, show to logged out users, and show to logged in users (optionally, logged in users by specific role)
|
165 |
+
|
166 |
+
= 1.6.5 =
|
167 |
+
* add Guajarati language. props @rohilmistry93
|
168 |
+
|
169 |
= 1.6.4 =
|
170 |
* more language issues -> sync svn+git version numbers
|
171 |
|