Version Description
- New: The Settings/Media Library Assistant Custom Fields tab has been completely re-written, with a more WordPress-like user interface and new capabilities.
- New: The "MLA BuddyPress & rtMedia Example" example plugin has been enhanced with an
rtmedia_ids
prameter that translates rtMedia ID values to attachment ID values, and anrtmedia_source
parameter that filters the items returned by an[mla_gallery]
query and uses the parameter value as a content template to extract rtMedia IDs from the items. The rtMedia IDs are translated to attachment IDs so[mla_gallery]
can process the items. - New: A new "MLA Parent Category Mapping Example" plugin has been added. It assigns the parent term when child term(s) under that parent are assigned..
- New: The "WooCommerce Fixit" example plugin has been enhanced to provide "product:" and "product_terms:" custom substitution prefixes providing access to values of the product(s) assicoated with a Media Library item.
- New: For the "kbmb" format/option code a fourth parameter has been added to specify the number of decimal places in the results.
- New: For
[mla_term_list]
, dropdown and checklist control names can now be changed with themla_control_name
parameter. This allows multiple controls on the same post/page. - New: For
[mla_term_list mla_output=dropdown]
, multiple taxonomies an be added to one control using compound taxonomy.term option values and the newhierarchical=combine
parameter value. - New: For
[mla_galley]
, a newtax_input
parameter supports multiple taxonomies using compound taxonomy.term option values. - New: The "MLA UI Elements Example" plugin has been enhanced with support for the multi-taxonomy features of the
[mla_term_list]
shortcode. - New: The "MLA UI Elements Example" plugin has been extended to handle checklist elements with multiple selections.
- New: The "MLA jhdean Mapping Hooks Example" plugin has been enhanced with a new operation that removes hyperlinks from the Title field. A new Settings submenu has been added to control which options are active.
- New: HTML span tags have been added to the "Search Media" controls on the Media/Assistant screen, allowing individual elements to be suppressed if desired.
- New: The "MLA Substitution Parameter Hooks Example" plugin has been fixed to properly handle custom fields with multiple values.
- New: A new
define ( 'MLA_AJAX_EXCEPTIONS', 'always' );
option can be added towp-config.php
to unconditionally load full MLA support when processing AJAX requests. This supports, for example, additional plugin/theme front-end file upload features. - Fix: When Polylang is active but no language has been defined, MLA extensions cannot succeed and so are no longer installed.
- Fix: For the Media/Assistant submenu table, the display correctly displays all table columns when Screen Options is used to remove all hidden columns.
- Fix: For
[mla_term_list]
, whenmla_option_value="{+slug+}"
is present numeric slug values are not confused withterm_id
values. - Fix: The Media/Assistant Quick and Bulk Edit areas now handle flat taxonomy names that do not match the corresponding slug values.
- Fix: Non-text data substitution parameter values are no longer "enhanced" with
wptexturize()
, which caused problems with links, paths and file names. - Fix: When evaluating IPTC/EXIF hierarchical taxonomy mapping rules, names will match an existing term anywhere in the hierarchy, not just at the root level.
- Fix: Term names with HTML special characters such as ampersand are now correctly handles when evaluating IPTC/EXIF taxonomy mapping rules.
- Fix: A problem with filtering the Media/Assistant submenu table on terms containing accented UTF8 characters has been corrected.
- Fix: An incompatibility with the latest version of the Photonic Gallery plugin has been resolved.
- Fix: A problem with user-specified icons representing files of non-image MIME types has been corrected. The correct icon now displays on the Media/Assistant submenu table and in
[mla_gallery]
output. - Fix: Empty simple taxonomy parameters are ignored when
tax_operator
and/ortax_include_children
parameters are also present. - Fix: A format/option code parsing problem with arguments contain a colon character has been fixed.
- Fix: Two PHP version 7.x compatibility issues in the "MLA Substitution Parameter Hooks Example" plugin have been resolved.
- Fix: The code that implements the
[mla_gallery link=download]
parameter has been changed to improve security. The new version restricts downloads to the/wp-content/
directory subtree. Thanks toshpik <sehun.oh@cyberone.kr>
for the suggestion and review. - Fix: An EXIF metadata parsing defect in MLA v2.41 which failed to process enhanced CAMERA and GPS values has been corrected.
- Fix: MIME type support has been modified to mitigate a WordPress issue introduced in v4.7.1 and 4.6.2 that prevents the upload of Scalable Vector Graphics (SVG) files.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 2.50 |
Comparing to | |
See all releases |
Code changes from version 2.41 to 2.50
- css/mla-media-modal-style.css +17 -0
- css/mla-style-rtl.css +22 -0
- css/mla-style.css +55 -3
- examples/plugins/buddypress-hooks-example.php +205 -102
- examples/plugins/mla-jhdean-mapping-hooks-example.php +385 -65
- examples/plugins/mla-parent-category-mapping-example.php +100 -0
- examples/plugins/mla-substitution-parameter-hooks-example.php +28 -12
- examples/plugins/mla-ui-elements-example.php +202 -100
- examples/plugins/woofixit.php +228 -20
- includes/class-mla-admin-columns-support-deprecated.php +4 -0
- includes/class-mla-admin-columns-support.php +112 -65
- includes/class-mla-ajax.php +16 -3
- includes/class-mla-core-options.php +2 -2
- includes/class-mla-core.php +142 -12
- includes/class-mla-data-query.php +2 -1
- includes/class-mla-data.php +93 -50
- includes/class-mla-file-downloader.php +29 -13
- includes/class-mla-list-table.php +4 -3
- includes/class-mla-main.php +8 -1
- includes/class-mla-mime-types.php +47 -25
- includes/class-mla-options.php +36 -27
- includes/class-mla-polylang-shortcode-support.php +8 -3
- includes/class-mla-polylang-support.php +19 -37
- includes/class-mla-settings-custom-fields-tab.php +2289 -217
- includes/class-mla-settings-documentation-tab.php +6 -2
- includes/class-mla-settings-shortcodes-tab.php +8 -5
- includes/class-mla-settings-upload-tab.php +16 -7
- includes/class-mla-settings-view-tab.php +10 -5
- includes/class-mla-settings.php +31 -14
- includes/class-mla-shortcode-support.php +204 -79
- includes/class-mla-thumbnail-generation.php +3 -0
- includes/mla-main-search-box-template.php +13 -7
- includes/mla-plugin-loader.php +10 -4
- index.php +3 -3
- js/mla-add-new-bulk-edit-scripts.min.js +1 -1
- js/mla-inline-edit-scripts.min.js +1 -1
- js/{mla-inline-edit-upload-scripts.js → mla-inline-edit-settings-scripts.js} +30 -24
- js/mla-inline-edit-settings-scripts.min.js +1 -0
- js/mla-inline-edit-upload-scripts.min.js +0 -1
- js/mla-inline-edit-view-scripts.js +0 -217
- js/mla-inline-edit-view-scripts.min.js +0 -1
- js/mla-inline-mapping-scripts.js +54 -2
- js/mla-inline-mapping-scripts.min.js +1 -325
- languages/media-library-assistant-en_US - References.pot +1453 -1330
- languages/media-library-assistant-en_US.po +251 -279
- languages/media-library-assistant-en_US.pot +250 -278
- phpDocs/classes/AC_Addon_MLA_Editing_Strategy.html +489 -0
- phpDocs/classes/AC_Addon_MLA_ListScreen.html +556 -0
- phpDocs/classes/CPAC_Deprecated_Storage_Model_MLA.html +8 -5
- phpDocs/classes/MLA.html +8 -5
- phpDocs/classes/MLACore.html +211 -10
- phpDocs/classes/MLACoreOptions.html +8 -5
- phpDocs/classes/MLAData.html +8 -5
- phpDocs/classes/MLAData_source.html +8 -5
- phpDocs/classes/MLAEdit.html +8 -5
- phpDocs/classes/MLAFileDownloader.html +8 -5
- phpDocs/classes/MLAImageProcessor.html +8 -5
- phpDocs/classes/MLAMime.html +51 -5
- phpDocs/classes/MLAModal.html +8 -5
- phpDocs/classes/MLAModal_Ajax.html +8 -5
- phpDocs/classes/MLAMutex.html +8 -5
- phpDocs/classes/MLAObjects.html +8 -5
- phpDocs/classes/MLAOptions.html +109 -106
- phpDocs/classes/MLAPDF.html +8 -5
- phpDocs/classes/MLAQuery.html +8 -5
- phpDocs/classes/MLAReferences.html +8 -5
- phpDocs/classes/MLASettings.html +37 -5
- phpDocs/classes/MLASettings_CustomFields.html +367 -10
- phpDocs/classes/MLASettings_Documentation.html +8 -5
- phpDocs/classes/MLASettings_IPTCEXIF.html +8 -5
- phpDocs/classes/MLASettings_Shortcodes.html +8 -5
- phpDocs/classes/MLASettings_Upload.html +9 -6
- phpDocs/classes/MLASettings_View.html +9 -6
- phpDocs/classes/MLAShortcode_Support.html +8 -5
- phpDocs/classes/MLAShortcodes.html +8 -5
- phpDocs/classes/MLATemplate_Support.html +8 -5
- phpDocs/classes/MLATest.html +8 -5
- phpDocs/classes/MLATextWidget.html +8 -5
- phpDocs/classes/MLAUninstall.html +8 -5
- phpDocs/classes/MLA_Ajax.html +49 -7
- phpDocs/classes/MLA_Checklist_Walker.html +8 -5
- phpDocs/classes/MLA_Custom_Field_Query.html +1166 -0
- phpDocs/classes/MLA_Custom_Fields_List_Table.html +1075 -0
css/mla-media-modal-style.css
CHANGED
@@ -182,6 +182,23 @@
|
|
182 |
Â
text-decoration: underline;
|
183 |
Â
}
|
184 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
185 |
Â
/** === INCLUDED BY ANTONIO === */
|
186 |
Â
|
187 |
Â
/** For responsive control, use the following media queries */
|
182 |
Â
text-decoration: underline;
|
183 |
Â
}
|
184 |
Â
|
185 |
+
/**
|
186 |
+
* Responsive layout
|
187 |
+
*/
|
188 |
+
@media only screen and (max-width: 900px) {
|
189 |
+
}
|
190 |
+
|
191 |
+
/* Responsive on portrait and landscape */
|
192 |
+
@media only screen and (max-width: 640px), screen and (max-height: 400px) {
|
193 |
+
}
|
194 |
+
|
195 |
+
/* Landscape specific header override */
|
196 |
+
@media screen and (max-height: 400px) {
|
197 |
+
}
|
198 |
+
|
199 |
+
@media only screen and (max-width: 480px) {
|
200 |
+
}
|
201 |
+
|
202 |
Â
/** === INCLUDED BY ANTONIO === */
|
203 |
Â
|
204 |
Â
/** For responsive control, use the following media queries */
|
css/mla-style-rtl.css
CHANGED
@@ -385,6 +385,28 @@ ul.mla_settings li {
|
|
385 |
Â
margin-right: 2em;
|
386 |
Â
}
|
387 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
388 |
Â
/*
|
389 |
Â
* Help and Documentation content
|
390 |
Â
*/
|
385 |
Â
margin-right: 2em;
|
386 |
Â
}
|
387 |
Â
|
388 |
+
#mla-add-custom-field-table {
|
389 |
+
margin-bottom: 15px;
|
390 |
+
}
|
391 |
+
|
392 |
+
#mla-add-custom-field-table th {
|
393 |
+
padding: 5px 0px 5px 5px;
|
394 |
+
width: 10px;
|
395 |
+
}
|
396 |
+
|
397 |
+
#mla-add-custom-field-table td {
|
398 |
+
padding: 5px 0px 5px 0px;
|
399 |
+
}
|
400 |
+
|
401 |
+
#mla-add-custom-field-toggle {
|
402 |
+
text-decoration:none;
|
403 |
+
}
|
404 |
+
|
405 |
+
#mla-new-custom-field-table input[type="text"],
|
406 |
+
#mla-add-custom-field-table select {
|
407 |
+
width: 100%;
|
408 |
+
}
|
409 |
+
|
410 |
Â
/*
|
411 |
Â
* Help and Documentation content
|
412 |
Â
*/
|
css/mla-style.css
CHANGED
@@ -248,17 +248,47 @@ div.mla_errors {
|
|
248 |
Â
}
|
249 |
Â
|
250 |
Â
/*
|
251 |
-
* MLA Settings page, Views and
|
252 |
Â
*/
|
253 |
Â
|
254 |
Â
#wpbody-content .bulk-edit-row-upload .inline-edit-col-left,
|
Â
|
|
255 |
Â
#wpbody-content .bulk-edit-row-view .inline-edit-col-left {
|
256 |
-
width:
|
257 |
Â
}
|
258 |
Â
|
259 |
Â
#wpbody-content .bulk-edit-row-upload .inline-edit-col-right,
|
Â
|
|
260 |
Â
#wpbody-content .bulk-edit-row-view .inline-edit-col-right {
|
261 |
-
width:
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
262 |
Â
}
|
263 |
Â
|
264 |
Â
.quick-edit-row-upload fieldset.inline-edit-col label span.title,
|
@@ -385,6 +415,28 @@ ul.mla_settings li {
|
|
385 |
Â
margin-left: 2em;
|
386 |
Â
}
|
387 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
388 |
Â
/*
|
389 |
Â
* Help and Documentation content
|
390 |
Â
*/
|
248 |
Â
}
|
249 |
Â
|
250 |
Â
/*
|
251 |
+
* MLA Settings page, Views, Uploads and Custom Fields tab inline editing - adapted from load-styles.php
|
252 |
Â
*/
|
253 |
Â
|
254 |
Â
#wpbody-content .bulk-edit-row-upload .inline-edit-col-left,
|
255 |
+
#wpbody-content .bulk-edit-row-custom .inline-edit-col-left,
|
256 |
Â
#wpbody-content .bulk-edit-row-view .inline-edit-col-left {
|
257 |
+
width: 30%
|
258 |
Â
}
|
259 |
Â
|
260 |
Â
#wpbody-content .bulk-edit-row-upload .inline-edit-col-right,
|
261 |
+
#wpbody-content .bulk-edit-row-custom .inline-edit-col-right,
|
262 |
Â
#wpbody-content .bulk-edit-row-view .inline-edit-col-right {
|
263 |
+
width: 69%
|
264 |
+
}
|
265 |
+
|
266 |
+
#wpbody-content .quick-edit-row-custom fieldset.inline-edit-col label span.title,
|
267 |
+
#wpbody-content .bulk-edit-row-custom fieldset.inline-edit-col-right label span.title {
|
268 |
+
width: 8em;
|
269 |
+
text-align: right
|
270 |
+
}
|
271 |
+
|
272 |
+
#wpbody-content .quick-edit-row-custom fieldset.inline-edit-col label span.checkbox-title,
|
273 |
+
#wpbody-content .bulk-edit-row-custom fieldset.inline-edit-col-right label span.checkbox-title {
|
274 |
+
margin-left: .25em;
|
275 |
+
margin-right: 2em;
|
276 |
+
}
|
277 |
+
|
278 |
+
#wpbody-content .quick-edit-row-custom fieldset.inline-edit-col label span.dropdown-title,
|
279 |
+
#wpbody-content .bulk-edit-row-custom fieldset.inline-edit-col-right label span.dropdown-title {
|
280 |
+
float:left;
|
281 |
+
margin-right: .25em;
|
282 |
+
margin-left: 2em;
|
283 |
+
}
|
284 |
+
|
285 |
+
#wpbody-content .quick-edit-row-custom fieldset.inline-edit-col label span.input-text-wrap {
|
286 |
+
margin-left: 8.5em;
|
287 |
+
width: 24em
|
288 |
+
}
|
289 |
+
|
290 |
+
#wpbody-content .quick-edit-row-custom fieldset.inline-edit-col label span.input-dropdown-wrap {
|
291 |
+
float:left;
|
292 |
Â
}
|
293 |
Â
|
294 |
Â
.quick-edit-row-upload fieldset.inline-edit-col label span.title,
|
415 |
Â
margin-left: 2em;
|
416 |
Â
}
|
417 |
Â
|
418 |
+
#mla-add-custom-field-table {
|
419 |
+
margin-bottom: 15px;
|
420 |
+
}
|
421 |
+
|
422 |
+
#mla-add-custom-field-table th {
|
423 |
+
padding: 5px 5px 5px 0px;
|
424 |
+
width: 10px;
|
425 |
+
}
|
426 |
+
|
427 |
+
#mla-add-custom-field-table td {
|
428 |
+
padding: 5px 0px 5px 0px;
|
429 |
+
}
|
430 |
+
|
431 |
+
#mla-add-custom-field-toggle {
|
432 |
+
text-decoration:none;
|
433 |
+
}
|
434 |
+
|
435 |
+
#mla-new-custom-field-table input[type="text"],
|
436 |
+
#mla-add-custom-field-table select {
|
437 |
+
width: 100%;
|
438 |
+
}
|
439 |
+
|
440 |
Â
/*
|
441 |
Â
* Help and Documentation content
|
442 |
Â
*/
|
examples/plugins/buddypress-hooks-example.php
CHANGED
@@ -20,6 +20,13 @@
|
|
20 |
Â
* 3. A custom "rtmedia=gallery" parameter filters the items returned by the [mla_gallery]
|
21 |
Â
* query and uses [rtmedia_gallery] to display the items that have an rtMedia ID.
|
22 |
Â
*
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
23 |
Â
* This example plugin uses eight of the many filters available in the [mla_gallery] shortcode
|
24 |
Â
* and illustrates some of the techniques you can use to customize the gallery display.
|
25 |
Â
*
|
@@ -27,8 +34,12 @@
|
|
27 |
Â
* opened on 8/3/2016 by "tweakben".
|
28 |
Â
* https://wordpress.org/support/topic/overwhelmed-help-my-shortcode-out/
|
29 |
Â
*
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
30 |
Â
* @package MLA BuddyPress & rtMedia Example
|
31 |
-
* @version 1.
|
32 |
Â
*/
|
33 |
Â
|
34 |
Â
/*
|
@@ -36,10 +47,10 @@ Plugin Name: MLA BuddyPress & rtMedia Example
|
|
36 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
37 |
Â
Description: Provides [mla_gallery] parameters to filter items, generate rtMedia URLs and substitute cover art
|
38 |
Â
Author: David Lingren
|
39 |
-
Version: 1.
|
40 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
41 |
Â
|
42 |
-
Copyright 2013 -
|
43 |
Â
|
44 |
Â
This program is free software; you can redistribute it and/or modify
|
45 |
Â
it under the terms of the GNU General Public License as published by
|
@@ -68,7 +79,7 @@ class MLABuddyPressHooksExample {
|
|
68 |
Â
* @since 1.00
|
69 |
Â
*/
|
70 |
Â
public static function initialize() {
|
71 |
-
|
72 |
Â
add_filter( 'rtmedia_media_query', 'MLABuddyPressHooksExample::my_modify_media_query', 9, 3 );
|
73 |
Â
add_filter( 'rtmedia_allowed_query', 'MLABuddyPressHooksExample::my_rtmedia_allowed_attributes_parameter_in_query', 99 );
|
74 |
Â
add_action( 'rtmedia_before_media_gallery', 'MLABuddyPressHooksExample::my_remove_rtmedia_model_shortcode_query_attributes', 10, 3 );
|
@@ -77,15 +88,16 @@ class MLABuddyPressHooksExample {
|
|
77 |
Â
if ( is_admin() )
|
78 |
Â
return;
|
79 |
Â
|
Â
|
|
80 |
Â
add_filter( 'mla_gallery_attributes', 'MLABuddyPressHooksExample::mla_gallery_attributes', 10, 1 );
|
81 |
Â
add_action( 'mla_gallery_wp_query_object', 'MLABuddyPressHooksExample::mla_gallery_wp_query_object', 10, 1 );
|
82 |
Â
add_filter( 'mla_gallery_the_attachments', 'MLABuddyPressHooksExample::mla_gallery_the_attachments', 10, 2 );
|
83 |
Â
add_filter( 'mla_gallery_alt_shortcode_blacklist', 'MLABuddyPressHooksExample::mla_gallery_alt_shortcode_blacklist', 10, 1 );
|
84 |
-
add_filter( 'mla_gallery_alt_shortcode_attributes', 'MLABuddyPressHooksExample::mla_gallery_alt_shortcode_attributes', 10, 1 );
|
85 |
Â
add_filter( 'mla_gallery_alt_shortcode_ids', 'MLABuddyPressHooksExample::mla_gallery_alt_shortcode_ids', 10, 3 );
|
86 |
Â
|
87 |
Â
add_filter( 'mla_gallery_item_values', 'MLABuddyPressHooksExample::mla_gallery_item_values', 10, 1 );
|
88 |
-
}
|
89 |
Â
|
90 |
Â
/**
|
91 |
Â
* Save the shortcode attributes
|
@@ -95,25 +107,36 @@ class MLABuddyPressHooksExample {
|
|
95 |
Â
* @var array
|
96 |
Â
*/
|
97 |
Â
private static $shortcode_attributes = array();
|
98 |
-
|
99 |
Â
/**
|
100 |
-
*
|
101 |
Â
*
|
102 |
-
*
|
103 |
-
* before they are merged with the default arguments used for the gallery display.
|
104 |
Â
*
|
105 |
-
*
|
106 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
107 |
Â
*
|
108 |
Â
* @since 1.00
|
109 |
Â
*
|
110 |
Â
* @param array $shortcode_attributes The shortcode parameters passed in to the shortcode
|
111 |
-
*
|
112 |
-
* @return array updated shortcode attributes
|
113 |
Â
*/
|
114 |
Â
public static function mla_gallery_attributes( $shortcode_attributes ) {
|
115 |
-
//error_log( 'MLABuddyPressHooksExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
116 |
-
|
117 |
Â
// Clean up the parameters we're interested in.
|
118 |
Â
if ( isset( $shortcode_attributes['buddypress_urls'] ) ) {
|
119 |
Â
$shortcode_attributes['buddypress_urls'] = strtolower( trim( $shortcode_attributes['buddypress_urls'] ) );
|
@@ -121,7 +144,7 @@ class MLABuddyPressHooksExample {
|
|
121 |
Â
|
122 |
Â
if ( isset( $shortcode_attributes['rtmedia'] ) ) {
|
123 |
Â
$shortcode_attributes['rtmedia'] = strtolower( trim( $shortcode_attributes['rtmedia'] ) );
|
124 |
-
|
125 |
Â
if ( 'gallery' === $shortcode_attributes['rtmedia'] ) {
|
126 |
Â
$shortcode_attributes['mla_alt_shortcode'] = 'rtmedia_gallery';
|
127 |
Â
$shortcode_attributes['mla_alt_ids_name'] = 'media_ids';
|
@@ -129,27 +152,53 @@ class MLABuddyPressHooksExample {
|
|
129 |
Â
}
|
130 |
Â
}
|
131 |
Â
|
132 |
-
|
133 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
134 |
Â
|
135 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
136 |
Â
return $shortcode_attributes;
|
137 |
Â
} // mla_gallery_attributes
|
138 |
Â
|
139 |
Â
/**
|
140 |
-
* Save
|
141 |
Â
*
|
142 |
Â
* @since 1.00
|
143 |
Â
*
|
144 |
Â
* @var array
|
145 |
Â
*/
|
146 |
-
private static $
|
147 |
-
|
148 |
Â
/**
|
149 |
-
*
|
150 |
-
*
|
151 |
-
* If the 'buddypress_urls' parameter is present, generate an array of the
|
152 |
-
* rtMedia information for the queried items.
|
153 |
Â
*
|
154 |
Â
* @since 1.00
|
155 |
Â
* @uses MLAShortcodes::$mla_gallery_wp_query_object
|
@@ -157,21 +206,22 @@ class MLABuddyPressHooksExample {
|
|
157 |
Â
* @param array $query_arguments The arguments passed to WP_Query->query
|
158 |
Â
*/
|
159 |
Â
public static function mla_gallery_wp_query_object( $query_arguments ) {
|
160 |
-
|
161 |
-
|
162 |
-
self::$wp_query_properties = array();
|
163 |
-
self::$wp_query_properties ['post_count'] = MLAShortcodes::$mla_gallery_wp_query_object->post_count;
|
164 |
-
|
165 |
Â
if ( empty( self::$shortcode_attributes['buddypress_urls'] ) ) {
|
166 |
Â
return; // Don't need custom URLs
|
167 |
Â
}
|
168 |
-
|
169 |
-
if ( 0 ==
|
170 |
Â
return; // Empty gallery - nothing to do
|
171 |
Â
}
|
172 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
173 |
Â
global $wpdb;
|
174 |
-
|
175 |
Â
// Assemble the WordPress attachment IDs
|
176 |
Â
$post_info = array();
|
177 |
Â
foreach( MLAShortcodes::$mla_gallery_wp_query_object->posts as $value ) {
|
@@ -185,7 +235,7 @@ class MLABuddyPressHooksExample {
|
|
185 |
Â
$query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
|
186 |
Â
$query[] = "LEFT JOIN {$wpdb->users} as u";
|
187 |
Â
$query[] = "ON (rtm.media_author = u.ID)";
|
188 |
-
|
189 |
Â
$placeholders = array();
|
190 |
Â
foreach ( $post_info as $value ) {
|
191 |
Â
$placeholders[] = '%s';
|
@@ -197,22 +247,24 @@ class MLABuddyPressHooksExample {
|
|
197 |
Â
$results = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
|
198 |
Â
|
199 |
Â
// Save the values, indexed by WordPress attachment ID, for use in the item filter
|
200 |
-
|
201 |
Â
if ( is_array( $results ) ) {
|
202 |
Â
foreach ( $results as $value ) {
|
203 |
-
|
204 |
Â
}
|
205 |
Â
}
|
206 |
-
|
207 |
-
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_wp_query_object
|
208 |
-
self::$wp_query_properties ['post_info'] = $post_info;
|
209 |
Â
} // mla_gallery_wp_query_object
|
210 |
Â
|
211 |
Â
/**
|
212 |
-
*
|
Â
|
|
Â
|
|
Â
|
|
213 |
Â
*
|
214 |
-
* If
|
215 |
-
* unless they are in the
|
216 |
Â
*
|
217 |
Â
* @since 1.06
|
218 |
Â
*
|
@@ -220,8 +272,65 @@ class MLABuddyPressHooksExample {
|
|
220 |
Â
* @param array $attachments WP_Post objects returned by WP_Query->query, passed by reference
|
221 |
Â
*/
|
222 |
Â
public static function mla_gallery_the_attachments( $filtered_attachments, $attachments ) {
|
223 |
-
//error_log( 'MLABuddyPressHooksExample::mla_gallery_the_attachments $attachments = ' . var_export( $attachments, true ), 0 );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
224 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
225 |
Â
if ( ! ( isset( self::$shortcode_attributes['rtmedia'] ) && in_array( self::$shortcode_attributes['rtmedia'], array( 'gallery', 'true' ) ) ) ) {
|
226 |
Â
return $filtered_attachments;
|
227 |
Â
}
|
@@ -232,11 +341,11 @@ class MLABuddyPressHooksExample {
|
|
232 |
Â
if ( ! is_numeric( $index ) ) {
|
233 |
Â
continue;
|
234 |
Â
}
|
235 |
-
|
236 |
-
if ( isset( self::$
|
237 |
Â
continue;
|
238 |
Â
}
|
239 |
-
|
240 |
Â
unset( $attachments[ $index ] );
|
241 |
Â
$found_rows--;
|
242 |
Â
$changed = true;
|
@@ -246,15 +355,12 @@ class MLABuddyPressHooksExample {
|
|
246 |
Â
$attachments['found_rows'] = $found_rows;
|
247 |
Â
}
|
248 |
Â
|
249 |
-
//error_log( 'MLABuddyPressHooksExample::mla_gallery_the_attachments updated $attachments = ' . var_export( $attachments, true ), 0 );
|
250 |
-
|
251 |
Â
return $changed ? $attachments : NULL;
|
252 |
Â
} // mla_gallery_the_attachments
|
253 |
Â
|
254 |
Â
/**
|
255 |
-
*
|
256 |
-
*
|
257 |
-
* Removes the parameters specific to this example plugin and
|
258 |
Â
* parameters rtMedia does not allow.
|
259 |
Â
*
|
260 |
Â
* @since 1.06
|
@@ -262,15 +368,16 @@ class MLABuddyPressHooksExample {
|
|
262 |
Â
* @param array $blacklist parameter_name => parameter_value pairs
|
263 |
Â
*/
|
264 |
Â
public static function mla_gallery_alt_shortcode_blacklist( $blacklist ) {
|
Â
|
|
Â
|
|
265 |
Â
$blacklist['buddypress_urls'] = '';
|
266 |
Â
$blacklist['rtmedia'] = '';
|
267 |
-
|
268 |
Â
$blacklist['columns'] = '';
|
269 |
Â
$blacklist['size'] = '';
|
270 |
Â
$blacklist['link'] = '';
|
271 |
Â
$blacklist['option_all_value'] = '';
|
272 |
-
|
273 |
-
|
274 |
Â
return $blacklist;
|
275 |
Â
} // mla_gallery_alt_shortcode_blacklist
|
276 |
Â
|
@@ -282,17 +389,13 @@ class MLABuddyPressHooksExample {
|
|
282 |
Â
* @param array $attr parameter_name => parameter_value pairs
|
283 |
Â
*/
|
284 |
Â
public static function mla_gallery_alt_shortcode_attributes( $attr ) {
|
285 |
-
//error_log( __LINE__ . ' mla_gallery_alt_shortcode_attributes attr = ' . var_export( $attr, true ), 0 );
|
286 |
-
//$attr['per_page'] = '1';
|
287 |
-
|
288 |
Â
return $attr;
|
289 |
Â
} // mla_gallery_alt_shortcode_attributes
|
290 |
Â
|
291 |
Â
/**
|
292 |
-
*
|
293 |
-
*
|
294 |
-
* Extracts item IDs from the attachments array, converts them to rtMedia IDs and
|
295 |
-
* returns them for use in the alternative gallery shortcode processing.
|
296 |
Â
*
|
297 |
Â
* @since 1.06
|
298 |
Â
*
|
@@ -304,8 +407,8 @@ class MLABuddyPressHooksExample {
|
|
304 |
Â
* @return string Complete 'ids_name="value,value"' parameter or an empty string to omit parameter
|
305 |
Â
*/
|
306 |
Â
public static function mla_gallery_alt_shortcode_ids( $ids, $ids_name, $attachments ) {
|
307 |
-
//error_log( __LINE__ . " mla_gallery_alt_shortcode_ids( $ids_name ) attachments = " . var_export( $attachments, true ), 0 );
|
308 |
-
|
309 |
Â
if ( ! ( isset( self::$shortcode_attributes['rtmedia'] ) && ( 'gallery' === self::$shortcode_attributes['rtmedia'] ) ) ) {
|
310 |
Â
return $ids;
|
311 |
Â
}
|
@@ -314,13 +417,13 @@ class MLABuddyPressHooksExample {
|
|
314 |
Â
if ( ! is_numeric( $index ) ) {
|
315 |
Â
continue;
|
316 |
Â
}
|
317 |
-
|
318 |
-
if ( isset( self::$
|
319 |
-
$ids[] = self::$
|
320 |
Â
}
|
321 |
Â
}
|
322 |
Â
|
323 |
-
//error_log( __LINE__ . " mla_gallery_alt_shortcode_ids( $ids_name ) ids = " . var_export( $ids, true ), 0 );
|
324 |
Â
return $ids;
|
325 |
Â
} // mla_gallery_alt_shortcode_ids
|
326 |
Â
|
@@ -336,40 +439,39 @@ class MLABuddyPressHooksExample {
|
|
336 |
Â
* @return array $media_query
|
337 |
Â
*/
|
338 |
Â
public static function my_modify_media_query( $media_query, $action_query, $query ) {
|
339 |
-
//error_log( __LINE__ . ' my_modify_media_query media_query = ' . var_export( $media_query, true ), 0 );
|
340 |
-
//error_log( __LINE__ . ' my_modify_media_query action_query = ' . var_export( $action_query, true ), 0 );
|
341 |
-
//error_log( __LINE__ . ' my_modify_media_query query = ' . var_export( $query, true ), 0 );
|
342 |
-
|
343 |
Â
global $rtmedia_query, $media_query_clone_ids;
|
344 |
-
|
Â
|
|
Â
|
|
Â
|
|
345 |
Â
// Store the `media_ids` parameter to be used in the rtmedia-model-where-query filter
|
346 |
Â
$media_query_clone_ids = $media_query;
|
347 |
-
|
348 |
Â
if ( isset( $media_query['media_ids'] ) && '' != $media_query['media_ids'] ) {
|
349 |
-
|
350 |
Â
// Add the filter to modify the where parameter
|
351 |
Â
add_filter( 'rtmedia-model-where-query', 'MLABuddyPressHooksExample::my_rtmedia_model_shortcode_where_query_attributes', 10, 3 );
|
352 |
-
|
353 |
Â
// unset it, so that it wont affect the other rtmedia_gallery shortcodes on the same page
|
354 |
Â
unset( $media_query['media_ids'] );
|
355 |
-
|
356 |
Â
// unset from global query so that multiple gallery shortcode can work
|
357 |
Â
if ( isset( $rtmedia_query->query ) && isset( $rtmedia_query->query['media_ids'] ) ) {
|
358 |
Â
unset( $rtmedia_query->query['media_ids'] );
|
359 |
Â
}
|
360 |
-
|
361 |
Â
if ( isset( $media_query['context_id'] ) ) {
|
362 |
Â
unset( $media_query['context_id'] );
|
363 |
Â
}
|
364 |
-
|
365 |
Â
if ( isset( $media_query['context'] ) ) {
|
366 |
Â
unset( $media_query['context'] );
|
367 |
Â
}
|
368 |
Â
}
|
369 |
-
|
370 |
Â
return $media_query;
|
371 |
-
}
|
372 |
-
|
373 |
Â
/**
|
374 |
Â
* Modify the WHERE parameter
|
375 |
Â
*
|
@@ -378,22 +480,22 @@ class MLABuddyPressHooksExample {
|
|
378 |
Â
*/
|
379 |
Â
public static function my_rtmedia_model_shortcode_where_query_attributes( $where, $table_name, $join ) {
|
380 |
Â
global $rtmedia_query, $media_query_clone_ids;
|
381 |
-
|
382 |
Â
// Modify the WHERE parameter of the MySQL query
|
383 |
Â
if ( isset( $media_query_clone_ids['media_ids'] ) && '' != $media_query_clone_ids['media_ids'] ) {
|
384 |
Â
$where .= " AND $table_name.id IN ( " . $media_query_clone_ids['media_ids'] . ' )';
|
385 |
Â
}
|
386 |
-
|
387 |
Â
return $where;
|
388 |
-
}
|
389 |
-
|
390 |
Â
/**
|
391 |
Â
* Remove `rtmedia-model-where-query` filter once our job is done
|
392 |
Â
* so that it wont affect the other shortcodes
|
393 |
Â
*/
|
394 |
Â
public static function my_remove_rtmedia_model_shortcode_query_attributes() {
|
395 |
Â
remove_filter( 'rtmedia-model-where-query', 'my_rtmedia_model_shortcode_where_query_attributes', 10, 3 );
|
396 |
-
}
|
397 |
Â
|
398 |
Â
|
399 |
Â
/**
|
@@ -406,16 +508,17 @@ class MLABuddyPressHooksExample {
|
|
406 |
Â
public static function my_rtmedia_allowed_attributes_parameter_in_query( $param = array() ) {
|
407 |
Â
$param[] = 'media_ids';
|
408 |
Â
return $param;
|
409 |
-
}
|
Â
|
|
410 |
Â
/**
|
411 |
-
*
|
412 |
Â
*
|
413 |
Â
* @since 1.00
|
414 |
Â
*
|
415 |
Â
* @param array $item_values parameter_name => parameter_value pairs
|
416 |
Â
*/
|
417 |
Â
public static function mla_gallery_item_values( $item_values ) {
|
418 |
-
//error_log( 'MLABuddyPressHooksExample::mla_gallery_item_values $item_values = ' . var_export( $item_values, true ), 0 );
|
419 |
Â
|
420 |
Â
/*
|
421 |
Â
* We use a shortcode parameter of our own to apply our filters on a gallery-by-gallery basis,
|
@@ -425,14 +528,14 @@ class MLABuddyPressHooksExample {
|
|
425 |
Â
if ( ! isset( self::$shortcode_attributes['buddypress_urls'] ) ) {
|
426 |
Â
return $item_values; // leave them unchanged
|
427 |
Â
}
|
428 |
-
|
429 |
Â
// post_info holds the rtMedia information about the item
|
430 |
-
if ( isset( self::$
|
431 |
-
$post_info = self::$
|
432 |
Â
} else {
|
433 |
Â
return $item_values; // no matching rtMedia item
|
434 |
Â
}
|
435 |
-
|
436 |
Â
// Rewrite the URL to reference the rtMedia version of the item
|
437 |
Â
$new_url = $item_values['site_url'] . '/members/' . $post_info->user_nicename . '/media/' . $post_info->id . '/';
|
438 |
Â
$new_link = str_replace( $item_values['link_url'], $new_url, $item_values['link'] );
|
@@ -454,22 +557,22 @@ class MLABuddyPressHooksExample {
|
|
454 |
Â
if ( ! empty( $post_info->cover_art ) ) {
|
455 |
Â
if ( is_numeric( $post_info->cover_art ) ){
|
456 |
Â
$thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'thumbnail' );
|
457 |
-
|
458 |
Â
if ( false === $thumbnail_info ) {
|
459 |
Â
$thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'full' );
|
460 |
Â
}
|
461 |
-
|
462 |
Â
if ( is_array( $thumbnail_info ) ) {
|
463 |
Â
$post_info->cover_art = $thumbnail_info[ 0 ];
|
464 |
Â
} else {
|
465 |
Â
$post_info->cover_art = '';
|
466 |
Â
}
|
467 |
Â
}
|
468 |
-
|
469 |
Â
if ( ! empty( $post_info->cover_art ) ) {
|
470 |
Â
$new_thumbnail = '<img width="150" height="150" src="' . $post_info->cover_art . '" class="attachment-thumbnail" alt="' . $item_values['thumbnail_content'] . '" />';
|
471 |
Â
$new_link = str_replace( $item_values['thumbnail_content'] . '</a>', $new_thumbnail . '</a>', $new_link );
|
472 |
-
|
473 |
Â
$item_values['thumbnail_content'] = $new_thumbnail;
|
474 |
Â
$item_values['thumbnail_width'] = '150';
|
475 |
Â
$item_values['thumbnail_height'] = '150';
|
@@ -477,10 +580,10 @@ class MLABuddyPressHooksExample {
|
|
477 |
Â
}
|
478 |
Â
} // has cover art
|
479 |
Â
} // use cover art
|
480 |
-
|
481 |
Â
$item_values['link_url'] = $new_url;
|
482 |
Â
$item_values['link'] = $new_link;
|
483 |
-
|
484 |
Â
return $item_values;
|
485 |
Â
} // mla_gallery_item_values
|
486 |
Â
} // Class MLABuddyPressHooksExample
|
20 |
Â
* 3. A custom "rtmedia=gallery" parameter filters the items returned by the [mla_gallery]
|
21 |
Â
* query and uses [rtmedia_gallery] to display the items that have an rtMedia ID.
|
22 |
Â
*
|
23 |
+
* 4. A custom "rtmedia_ids" parameter accepts a list of rtMedia ID values and translates
|
24 |
+
* them to attachment IDs so [mla_gallery] can process the items.
|
25 |
+
*
|
26 |
+
* 5. A custom "rtmedia_source" parameter filters the items returned by the [mla_gallery] query
|
27 |
+
* and uses the parameter value as a content template to extract rtMedia IDs from the items.
|
28 |
+
* The rtMedia IDs are translated to attachment IDs so [mla_gallery] can process the items.
|
29 |
+
*
|
30 |
Â
* This example plugin uses eight of the many filters available in the [mla_gallery] shortcode
|
31 |
Â
* and illustrates some of the techniques you can use to customize the gallery display.
|
32 |
Â
*
|
34 |
Â
* opened on 8/3/2016 by "tweakben".
|
35 |
Â
* https://wordpress.org/support/topic/overwhelmed-help-my-shortcode-out/
|
36 |
Â
*
|
37 |
+
* Enhanced for support topic "Display rtmedia gallery with a query on the title or media_id"
|
38 |
+
* opened on 3/13/2017 by "marineb30".
|
39 |
+
* https://wordpress.org/support/topic/display-rtmedia-gallery-with-a-query-on-the-title-or-media_id-2/
|
40 |
+
*
|
41 |
Â
* @package MLA BuddyPress & rtMedia Example
|
42 |
+
* @version 1.08
|
43 |
Â
*/
|
44 |
Â
|
45 |
Â
/*
|
47 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
48 |
Â
Description: Provides [mla_gallery] parameters to filter items, generate rtMedia URLs and substitute cover art
|
49 |
Â
Author: David Lingren
|
50 |
+
Version: 1.08
|
51 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
52 |
Â
|
53 |
+
Copyright 2013 - 2017 David Lingren
|
54 |
Â
|
55 |
Â
This program is free software; you can redistribute it and/or modify
|
56 |
Â
it under the terms of the GNU General Public License as published by
|
79 |
Â
* @since 1.00
|
80 |
Â
*/
|
81 |
Â
public static function initialize() {
|
82 |
+
|
83 |
Â
add_filter( 'rtmedia_media_query', 'MLABuddyPressHooksExample::my_modify_media_query', 9, 3 );
|
84 |
Â
add_filter( 'rtmedia_allowed_query', 'MLABuddyPressHooksExample::my_rtmedia_allowed_attributes_parameter_in_query', 99 );
|
85 |
Â
add_action( 'rtmedia_before_media_gallery', 'MLABuddyPressHooksExample::my_remove_rtmedia_model_shortcode_query_attributes', 10, 3 );
|
88 |
Â
if ( is_admin() )
|
89 |
Â
return;
|
90 |
Â
|
91 |
+
add_filter( 'mla_gallery_raw_attributes', 'MLABuddyPressHooksExample::mla_gallery_raw_attributes', 10, 1 );
|
92 |
Â
add_filter( 'mla_gallery_attributes', 'MLABuddyPressHooksExample::mla_gallery_attributes', 10, 1 );
|
93 |
Â
add_action( 'mla_gallery_wp_query_object', 'MLABuddyPressHooksExample::mla_gallery_wp_query_object', 10, 1 );
|
94 |
Â
add_filter( 'mla_gallery_the_attachments', 'MLABuddyPressHooksExample::mla_gallery_the_attachments', 10, 2 );
|
95 |
Â
add_filter( 'mla_gallery_alt_shortcode_blacklist', 'MLABuddyPressHooksExample::mla_gallery_alt_shortcode_blacklist', 10, 1 );
|
96 |
+
//add_filter( 'mla_gallery_alt_shortcode_attributes', 'MLABuddyPressHooksExample::mla_gallery_alt_shortcode_attributes', 10, 1 );
|
97 |
Â
add_filter( 'mla_gallery_alt_shortcode_ids', 'MLABuddyPressHooksExample::mla_gallery_alt_shortcode_ids', 10, 3 );
|
98 |
Â
|
99 |
Â
add_filter( 'mla_gallery_item_values', 'MLABuddyPressHooksExample::mla_gallery_item_values', 10, 1 );
|
100 |
+
} // initialize
|
101 |
Â
|
102 |
Â
/**
|
103 |
Â
* Save the shortcode attributes
|
107 |
Â
* @var array
|
108 |
Â
*/
|
109 |
Â
private static $shortcode_attributes = array();
|
110 |
+
|
111 |
Â
/**
|
112 |
+
* Capture the rtmedia_source parameter before any substitution evaluation is performed
|
113 |
Â
*
|
114 |
+
* @since 1.07
|
Â
|
|
115 |
Â
*
|
116 |
+
* @param array $shortcode_attributes The raw parameters passed in to the shortcode
|
117 |
+
*/
|
118 |
+
public static function mla_gallery_raw_attributes( $shortcode_attributes ) {
|
119 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_raw_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
120 |
+
|
121 |
+
self::$shortcode_attributes = array();
|
122 |
+
if ( isset( $shortcode_attributes['rtmedia_source'] ) ) {
|
123 |
+
self::$shortcode_attributes['rtmedia_source'] = $shortcode_attributes['rtmedia_source'];
|
124 |
+
unset( $shortcode_attributes['rtmedia_source'] );
|
125 |
+
}
|
126 |
+
|
127 |
+
return $shortcode_attributes;
|
128 |
+
} // mla_gallery_raw_attributes
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Process the rtmedia and rtmedia_ids parameters, sanitize buddypress_urls parameter
|
132 |
Â
*
|
133 |
Â
* @since 1.00
|
134 |
Â
*
|
135 |
Â
* @param array $shortcode_attributes The shortcode parameters passed in to the shortcode
|
Â
|
|
Â
|
|
136 |
Â
*/
|
137 |
Â
public static function mla_gallery_attributes( $shortcode_attributes ) {
|
138 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
139 |
+
|
140 |
Â
// Clean up the parameters we're interested in.
|
141 |
Â
if ( isset( $shortcode_attributes['buddypress_urls'] ) ) {
|
142 |
Â
$shortcode_attributes['buddypress_urls'] = strtolower( trim( $shortcode_attributes['buddypress_urls'] ) );
|
144 |
Â
|
145 |
Â
if ( isset( $shortcode_attributes['rtmedia'] ) ) {
|
146 |
Â
$shortcode_attributes['rtmedia'] = strtolower( trim( $shortcode_attributes['rtmedia'] ) );
|
147 |
+
|
148 |
Â
if ( 'gallery' === $shortcode_attributes['rtmedia'] ) {
|
149 |
Â
$shortcode_attributes['mla_alt_shortcode'] = 'rtmedia_gallery';
|
150 |
Â
$shortcode_attributes['mla_alt_ids_name'] = 'media_ids';
|
152 |
Â
}
|
153 |
Â
}
|
154 |
Â
|
155 |
+
if ( isset( $shortcode_attributes['rtmedia_ids'] ) ) {
|
156 |
+
global $wpdb;
|
157 |
+
|
158 |
+
$ids = wp_parse_id_list( $shortcode_attributes['rtmedia_ids'] );
|
159 |
+
|
160 |
+
// Build an array of SQL clauses, then run the query
|
161 |
+
$query = array();
|
162 |
+
$query_parameters = array();
|
163 |
+
|
164 |
+
$query[] = "SELECT rtm.id, rtm.media_id FROM {$wpdb->prefix}rt_rtm_media AS rtm";
|
165 |
+
$query[] = 'WHERE ( rtm.id IN (' . implode( ',', $ids ) . ') )';
|
166 |
Â
|
167 |
+
$query = join(' ', $query);
|
168 |
+
$results = $wpdb->get_results( $query );
|
169 |
+
|
170 |
+
// Save the values, indexed by WordPress attachment ID, for use in the item filter
|
171 |
+
$post_info = array();
|
172 |
+
if ( is_array( $results ) ) {
|
173 |
+
foreach ( $results as $value ) {
|
174 |
+
$post_info[] = $value->media_id;
|
175 |
+
}
|
176 |
+
}
|
177 |
+
|
178 |
+
$shortcode_attributes['ids'] = implode( ',', $post_info );
|
179 |
+
unset( $shortcode_attributes['rtmedia_ids'] );
|
180 |
+
} // rtmedia_ids
|
181 |
+
|
182 |
+
// Save the attributes, including rtmedia_source, for use in the later filters
|
183 |
+
self::$shortcode_attributes = array_merge( $shortcode_attributes, self::$shortcode_attributes );
|
184 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_attributes self::$shortcode_attributes = ' . var_export( self::$shortcode_attributes, true ), 0 );
|
185 |
+
|
186 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
187 |
Â
return $shortcode_attributes;
|
188 |
Â
} // mla_gallery_attributes
|
189 |
Â
|
190 |
Â
/**
|
191 |
+
* Save rtMedia information for buddypress_urls
|
192 |
Â
*
|
193 |
Â
* @since 1.00
|
194 |
Â
*
|
195 |
Â
* @var array
|
196 |
Â
*/
|
197 |
+
private static $rtmedia_post_info = array();
|
198 |
+
|
199 |
Â
/**
|
200 |
+
* If the 'buddypress_urls' parameter is present, generate the
|
201 |
+
* rtMedia information for the queried items
|
Â
|
|
Â
|
|
202 |
Â
*
|
203 |
Â
* @since 1.00
|
204 |
Â
* @uses MLAShortcodes::$mla_gallery_wp_query_object
|
206 |
Â
* @param array $query_arguments The arguments passed to WP_Query->query
|
207 |
Â
*/
|
208 |
Â
public static function mla_gallery_wp_query_object( $query_arguments ) {
|
209 |
+
self::$rtmedia_post_info = array();
|
210 |
+
|
Â
|
|
Â
|
|
Â
|
|
211 |
Â
if ( empty( self::$shortcode_attributes['buddypress_urls'] ) ) {
|
212 |
Â
return; // Don't need custom URLs
|
213 |
Â
}
|
214 |
+
|
215 |
+
if ( 0 == MLAShortcodes::$mla_gallery_wp_query_object->post_count ) {
|
216 |
Â
return; // Empty gallery - nothing to do
|
217 |
Â
}
|
218 |
+
|
219 |
+
if ( isset( self::$shortcode_attributes['rtmedia_source'] ) ) {
|
220 |
+
return; // We are translating from rtmedia_source IDs to attachments, later
|
221 |
+
}
|
222 |
+
|
223 |
Â
global $wpdb;
|
224 |
+
|
225 |
Â
// Assemble the WordPress attachment IDs
|
226 |
Â
$post_info = array();
|
227 |
Â
foreach( MLAShortcodes::$mla_gallery_wp_query_object->posts as $value ) {
|
235 |
Â
$query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
|
236 |
Â
$query[] = "LEFT JOIN {$wpdb->users} as u";
|
237 |
Â
$query[] = "ON (rtm.media_author = u.ID)";
|
238 |
+
|
239 |
Â
$placeholders = array();
|
240 |
Â
foreach ( $post_info as $value ) {
|
241 |
Â
$placeholders[] = '%s';
|
247 |
Â
$results = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
|
248 |
Â
|
249 |
Â
// Save the values, indexed by WordPress attachment ID, for use in the item filter
|
250 |
+
self::$rtmedia_post_info = array();
|
251 |
Â
if ( is_array( $results ) ) {
|
252 |
Â
foreach ( $results as $value ) {
|
253 |
+
self::$rtmedia_post_info[ $value->media_id ] = $value;
|
254 |
Â
}
|
255 |
Â
}
|
256 |
+
|
257 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_wp_query_object self::$rtmedia_post_info = ' . var_export( self::$rtmedia_post_info, true ), 0 );
|
Â
|
|
258 |
Â
} // mla_gallery_wp_query_object
|
259 |
Â
|
260 |
Â
/**
|
261 |
+
* Process the rtmedia_source and rtmedia prameters
|
262 |
+
*
|
263 |
+
* If 'rtmedia_source' is present, replace the "source" items with their
|
264 |
+
* corresponding rtmedia item attachments.
|
265 |
Â
*
|
266 |
+
* If 'rtmedia' is present, remove items from the attachments array
|
267 |
+
* unless they are in the self::$rtmedia_post_info array of rtMedia items.
|
268 |
Â
*
|
269 |
Â
* @since 1.06
|
270 |
Â
*
|
272 |
Â
* @param array $attachments WP_Post objects returned by WP_Query->query, passed by reference
|
273 |
Â
*/
|
274 |
Â
public static function mla_gallery_the_attachments( $filtered_attachments, $attachments ) {
|
275 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_the_attachments $attachments = ' . var_export( $attachments, true ), 0 );
|
276 |
+
|
277 |
+
// Are we translating from rtmedia_source IDs to attachments?
|
278 |
+
if ( isset( self::$shortcode_attributes['rtmedia_source'] ) ) {
|
279 |
+
global $wpdb;
|
280 |
+
|
281 |
+
$filtered_attachments = array();
|
282 |
+
$data_source = array(
|
283 |
+
'data_source' => 'template',
|
284 |
+
'meta_name' => str_replace( '{+', '[+', str_replace( '+}', '+]', self::$shortcode_attributes['rtmedia_source'] ) ),
|
285 |
+
'option' => 'text',
|
286 |
+
'format' => 'raw',
|
287 |
+
);
|
288 |
+
|
289 |
+
$rtmedia_ids = array();
|
290 |
+
foreach( $attachments as $index => $attachment ) {
|
291 |
+
if ( ! is_integer( $index ) ) {
|
292 |
+
continue;
|
293 |
+
}
|
294 |
+
|
295 |
+
$data_value = MLAShortcodes::mla_get_data_source( $attachment->ID, 'single_attachment_mapping', $data_source, NULL );
|
296 |
+
if ( 0 < $rtmedia_id = absint( $data_value ) ) {
|
297 |
+
$rtmedia_ids[] = $rtmedia_id;
|
298 |
+
}
|
299 |
+
} // foreach attachment
|
300 |
+
|
301 |
+
if ( !empty( $rtmedia_ids ) ) {
|
302 |
+
// Build an array of SQL clauses, then run the query
|
303 |
+
$query = array();
|
304 |
+
$query[] = "SELECT rtm.id, rtm.media_id, rtm.media_author, rtm.media_type, rtm.cover_art, u.user_nicename FROM {$wpdb->prefix}rt_rtm_media AS rtm";
|
305 |
+
$query[] = "LEFT JOIN {$wpdb->users} as u";
|
306 |
+
$query[] = "ON (rtm.media_author = u.ID)";
|
307 |
+
$query[] = 'WHERE ( rtm.id IN (' . implode( ',', $rtmedia_ids ) . ') )';
|
308 |
+
|
309 |
+
$query = join(' ', $query);
|
310 |
+
$results = $wpdb->get_results( $query );
|
311 |
+
|
312 |
+
// Replace the rtmedia_source objects with the attachments they refer to
|
313 |
+
self::$rtmedia_post_info = array();
|
314 |
+
if ( is_array( $results ) ) {
|
315 |
+
foreach ( $results as $value ) {
|
316 |
+
self::$rtmedia_post_info[ $value->media_id ] = $value;
|
317 |
+
$attachment = get_post( $value->media_id );
|
318 |
+
if ( NULL !== $attachment ) {
|
319 |
+
$filtered_attachments[] = $attachment;
|
320 |
+
}
|
321 |
+
}
|
322 |
+
}
|
323 |
+
} // has rtmedia_ida
|
324 |
Â
|
325 |
+
$attachments = $filtered_attachments;
|
326 |
+
$attachments['found_rows'] = count( $filtered_attachments );
|
327 |
+
$attachments['max_num_pages'] = 0;
|
328 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_the_attachments $attachments = ' . var_export( $attachments, true ), 0 );
|
329 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_the_attachments self::$rtmedia_post_info = ' . var_export( self::$rtmedia_post_info, true ), 0 );
|
330 |
+
return $attachments;
|
331 |
+
} // rtmedia_source
|
332 |
+
|
333 |
+
// Are we removing attachments that do not have an rtMedia ID?
|
334 |
Â
if ( ! ( isset( self::$shortcode_attributes['rtmedia'] ) && in_array( self::$shortcode_attributes['rtmedia'], array( 'gallery', 'true' ) ) ) ) {
|
335 |
Â
return $filtered_attachments;
|
336 |
Â
}
|
341 |
Â
if ( ! is_numeric( $index ) ) {
|
342 |
Â
continue;
|
343 |
Â
}
|
344 |
+
|
345 |
+
if ( isset( self::$rtmedia_post_info[ $attachment->ID ] ) ) {
|
346 |
Â
continue;
|
347 |
Â
}
|
348 |
+
|
349 |
Â
unset( $attachments[ $index ] );
|
350 |
Â
$found_rows--;
|
351 |
Â
$changed = true;
|
355 |
Â
$attachments['found_rows'] = $found_rows;
|
356 |
Â
}
|
357 |
Â
|
358 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_the_attachments updated $attachments = ' . var_export( $attachments, true ), 0 );
|
Â
|
|
359 |
Â
return $changed ? $attachments : NULL;
|
360 |
Â
} // mla_gallery_the_attachments
|
361 |
Â
|
362 |
Â
/**
|
363 |
+
* Remove the parameters specific to this example plugin and
|
Â
|
|
Â
|
|
364 |
Â
* parameters rtMedia does not allow.
|
365 |
Â
*
|
366 |
Â
* @since 1.06
|
368 |
Â
* @param array $blacklist parameter_name => parameter_value pairs
|
369 |
Â
*/
|
370 |
Â
public static function mla_gallery_alt_shortcode_blacklist( $blacklist ) {
|
371 |
+
$blacklist['rtmedia_source'] = '';
|
372 |
+
$blacklist['rtmedia_ids'] = '';
|
373 |
Â
$blacklist['buddypress_urls'] = '';
|
374 |
Â
$blacklist['rtmedia'] = '';
|
375 |
+
|
376 |
Â
$blacklist['columns'] = '';
|
377 |
Â
$blacklist['size'] = '';
|
378 |
Â
$blacklist['link'] = '';
|
379 |
Â
$blacklist['option_all_value'] = '';
|
380 |
+
|
Â
|
|
381 |
Â
return $blacklist;
|
382 |
Â
} // mla_gallery_alt_shortcode_blacklist
|
383 |
Â
|
389 |
Â
* @param array $attr parameter_name => parameter_value pairs
|
390 |
Â
*/
|
391 |
Â
public static function mla_gallery_alt_shortcode_attributes( $attr ) {
|
392 |
+
//error_log( __LINE__ . ' mla_gallery_alt_shortcode_attributes attr = ' . var_export( $attr, true ), 0 );
|
Â
|
|
Â
|
|
393 |
Â
return $attr;
|
394 |
Â
} // mla_gallery_alt_shortcode_attributes
|
395 |
Â
|
396 |
Â
/**
|
397 |
+
* If rtmedia=gallery, extract item IDs from the attachments array, convert them to rtMedia IDs
|
398 |
+
* and return them for use in the alternative gallery shortcode processing.
|
Â
|
|
Â
|
|
399 |
Â
*
|
400 |
Â
* @since 1.06
|
401 |
Â
*
|
407 |
Â
* @return string Complete 'ids_name="value,value"' parameter or an empty string to omit parameter
|
408 |
Â
*/
|
409 |
Â
public static function mla_gallery_alt_shortcode_ids( $ids, $ids_name, $attachments ) {
|
410 |
+
//error_log( __LINE__ . " mla_gallery_alt_shortcode_ids( $ids_name ) attachments = " . var_export( $attachments, true ), 0 );
|
411 |
+
|
412 |
Â
if ( ! ( isset( self::$shortcode_attributes['rtmedia'] ) && ( 'gallery' === self::$shortcode_attributes['rtmedia'] ) ) ) {
|
413 |
Â
return $ids;
|
414 |
Â
}
|
417 |
Â
if ( ! is_numeric( $index ) ) {
|
418 |
Â
continue;
|
419 |
Â
}
|
420 |
+
|
421 |
+
if ( isset( self::$rtmedia_post_info[ $attachment->ID ] ) ) {
|
422 |
+
$ids[] = self::$rtmedia_post_info[ $attachment->ID ]->id;
|
423 |
Â
}
|
424 |
Â
}
|
425 |
Â
|
426 |
+
//error_log( __LINE__ . " mla_gallery_alt_shortcode_ids( $ids_name ) ids = " . var_export( $ids, true ), 0 );
|
427 |
Â
return $ids;
|
428 |
Â
} // mla_gallery_alt_shortcode_ids
|
429 |
Â
|
439 |
Â
* @return array $media_query
|
440 |
Â
*/
|
441 |
Â
public static function my_modify_media_query( $media_query, $action_query, $query ) {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
442 |
Â
global $rtmedia_query, $media_query_clone_ids;
|
443 |
+
//error_log( __LINE__ . ' my_modify_media_query media_query = ' . var_export( $media_query, true ), 0 );
|
444 |
+
//error_log( __LINE__ . ' my_modify_media_query action_query = ' . var_export( $action_query, true ), 0 );
|
445 |
+
//error_log( __LINE__ . ' my_modify_media_query query = ' . var_export( $query, true ), 0 );
|
446 |
+
|
447 |
Â
// Store the `media_ids` parameter to be used in the rtmedia-model-where-query filter
|
448 |
Â
$media_query_clone_ids = $media_query;
|
449 |
+
|
450 |
Â
if ( isset( $media_query['media_ids'] ) && '' != $media_query['media_ids'] ) {
|
451 |
+
|
452 |
Â
// Add the filter to modify the where parameter
|
453 |
Â
add_filter( 'rtmedia-model-where-query', 'MLABuddyPressHooksExample::my_rtmedia_model_shortcode_where_query_attributes', 10, 3 );
|
454 |
+
|
455 |
Â
// unset it, so that it wont affect the other rtmedia_gallery shortcodes on the same page
|
456 |
Â
unset( $media_query['media_ids'] );
|
457 |
+
|
458 |
Â
// unset from global query so that multiple gallery shortcode can work
|
459 |
Â
if ( isset( $rtmedia_query->query ) && isset( $rtmedia_query->query['media_ids'] ) ) {
|
460 |
Â
unset( $rtmedia_query->query['media_ids'] );
|
461 |
Â
}
|
462 |
+
|
463 |
Â
if ( isset( $media_query['context_id'] ) ) {
|
464 |
Â
unset( $media_query['context_id'] );
|
465 |
Â
}
|
466 |
+
|
467 |
Â
if ( isset( $media_query['context'] ) ) {
|
468 |
Â
unset( $media_query['context'] );
|
469 |
Â
}
|
470 |
Â
}
|
471 |
+
|
472 |
Â
return $media_query;
|
473 |
+
} // my_modify_media_query
|
474 |
+
|
475 |
Â
/**
|
476 |
Â
* Modify the WHERE parameter
|
477 |
Â
*
|
480 |
Â
*/
|
481 |
Â
public static function my_rtmedia_model_shortcode_where_query_attributes( $where, $table_name, $join ) {
|
482 |
Â
global $rtmedia_query, $media_query_clone_ids;
|
483 |
+
|
484 |
Â
// Modify the WHERE parameter of the MySQL query
|
485 |
Â
if ( isset( $media_query_clone_ids['media_ids'] ) && '' != $media_query_clone_ids['media_ids'] ) {
|
486 |
Â
$where .= " AND $table_name.id IN ( " . $media_query_clone_ids['media_ids'] . ' )';
|
487 |
Â
}
|
488 |
+
|
489 |
Â
return $where;
|
490 |
+
} // my_rtmedia_model_shortcode_where_query_attributes
|
491 |
+
|
492 |
Â
/**
|
493 |
Â
* Remove `rtmedia-model-where-query` filter once our job is done
|
494 |
Â
* so that it wont affect the other shortcodes
|
495 |
Â
*/
|
496 |
Â
public static function my_remove_rtmedia_model_shortcode_query_attributes() {
|
497 |
Â
remove_filter( 'rtmedia-model-where-query', 'my_rtmedia_model_shortcode_where_query_attributes', 10, 3 );
|
498 |
+
} // my_remove_rtmedia_model_shortcode_query_attributes
|
499 |
Â
|
500 |
Â
|
501 |
Â
/**
|
508 |
Â
public static function my_rtmedia_allowed_attributes_parameter_in_query( $param = array() ) {
|
509 |
Â
$param[] = 'media_ids';
|
510 |
Â
return $param;
|
511 |
+
} // my_rtmedia_allowed_attributes_parameter_in_query
|
512 |
+
|
513 |
Â
/**
|
514 |
+
* For buddypress_urls, rewrite the URL to reference the rtMedia version of the item
|
515 |
Â
*
|
516 |
Â
* @since 1.00
|
517 |
Â
*
|
518 |
Â
* @param array $item_values parameter_name => parameter_value pairs
|
519 |
Â
*/
|
520 |
Â
public static function mla_gallery_item_values( $item_values ) {
|
521 |
+
//error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_item_values $item_values = ' . var_export( $item_values, true ), 0 );
|
522 |
Â
|
523 |
Â
/*
|
524 |
Â
* We use a shortcode parameter of our own to apply our filters on a gallery-by-gallery basis,
|
528 |
Â
if ( ! isset( self::$shortcode_attributes['buddypress_urls'] ) ) {
|
529 |
Â
return $item_values; // leave them unchanged
|
530 |
Â
}
|
531 |
+
|
532 |
Â
// post_info holds the rtMedia information about the item
|
533 |
+
if ( isset( self::$rtmedia_post_info[ $item_values['attachment_ID'] ] ) ) {
|
534 |
+
$post_info = self::$rtmedia_post_info[ $item_values['attachment_ID'] ];
|
535 |
Â
} else {
|
536 |
Â
return $item_values; // no matching rtMedia item
|
537 |
Â
}
|
538 |
+
|
539 |
Â
// Rewrite the URL to reference the rtMedia version of the item
|
540 |
Â
$new_url = $item_values['site_url'] . '/members/' . $post_info->user_nicename . '/media/' . $post_info->id . '/';
|
541 |
Â
$new_link = str_replace( $item_values['link_url'], $new_url, $item_values['link'] );
|
557 |
Â
if ( ! empty( $post_info->cover_art ) ) {
|
558 |
Â
if ( is_numeric( $post_info->cover_art ) ){
|
559 |
Â
$thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'thumbnail' );
|
560 |
+
|
561 |
Â
if ( false === $thumbnail_info ) {
|
562 |
Â
$thumbnail_info = wp_get_attachment_image_src( $post_info->cover_art, 'full' );
|
563 |
Â
}
|
564 |
+
|
565 |
Â
if ( is_array( $thumbnail_info ) ) {
|
566 |
Â
$post_info->cover_art = $thumbnail_info[ 0 ];
|
567 |
Â
} else {
|
568 |
Â
$post_info->cover_art = '';
|
569 |
Â
}
|
570 |
Â
}
|
571 |
+
|
572 |
Â
if ( ! empty( $post_info->cover_art ) ) {
|
573 |
Â
$new_thumbnail = '<img width="150" height="150" src="' . $post_info->cover_art . '" class="attachment-thumbnail" alt="' . $item_values['thumbnail_content'] . '" />';
|
574 |
Â
$new_link = str_replace( $item_values['thumbnail_content'] . '</a>', $new_thumbnail . '</a>', $new_link );
|
575 |
+
|
576 |
Â
$item_values['thumbnail_content'] = $new_thumbnail;
|
577 |
Â
$item_values['thumbnail_width'] = '150';
|
578 |
Â
$item_values['thumbnail_height'] = '150';
|
580 |
Â
}
|
581 |
Â
} // has cover art
|
582 |
Â
} // use cover art
|
583 |
+
|
584 |
Â
$item_values['link_url'] = $new_url;
|
585 |
Â
$item_values['link'] = $new_link;
|
586 |
+
|
587 |
Â
return $item_values;
|
588 |
Â
} // mla_gallery_item_values
|
589 |
Â
} // Class MLABuddyPressHooksExample
|
examples/plugins/mla-jhdean-mapping-hooks-example.php
CHANGED
@@ -2,21 +2,31 @@
|
|
2 |
Â
/**
|
3 |
Â
* Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features
|
4 |
Â
*
|
5 |
-
* In this example
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
6 |
Â
*
|
7 |
Â
* @package MLA jhdean Mapping Hooks Example
|
8 |
-
* @version 1.
|
9 |
Â
*/
|
10 |
Â
|
11 |
Â
/*
|
12 |
Â
Plugin Name: MLA jhdean Mapping Hooks Example
|
13 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
14 |
-
Description:
|
15 |
Â
Author: David Lingren
|
16 |
-
Version: 1.
|
17 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
18 |
Â
|
19 |
-
Copyright 2014 -
|
20 |
Â
|
21 |
Â
This program is free software; you can redistribute it and/or modify
|
22 |
Â
it under the terms of the GNU General Public License as published by
|
@@ -42,100 +52,410 @@ Copyright 2014 - 2015 David Lingren
|
|
42 |
Â
* @since 1.00
|
43 |
Â
*/
|
44 |
Â
class MLAjhdeanMappingHooksExample {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
45 |
Â
/**
|
46 |
Â
* Initialization function, similar to __construct()
|
47 |
Â
*
|
48 |
Â
* Installs filters and actions that handle the MLA hooks for uploading and mapping.
|
49 |
Â
*
|
50 |
Â
* @since 1.00
|
51 |
-
*
|
52 |
-
* @return void
|
53 |
Â
*/
|
54 |
Â
public static function initialize() {
|
55 |
-
|
56 |
-
* The filters are only useful in the admin section; exit if in the "front-end" posts/pages.
|
57 |
-
*/
|
58 |
Â
if ( ! is_admin() )
|
59 |
Â
return;
|
60 |
Â
|
61 |
-
|
62 |
-
* add_filter parameters:
|
63 |
-
* $tag - name of the hook you're filtering; defined by [mla_gallery]
|
64 |
-
* $function_to_add - function to be called when [mla_gallery] applies the filter
|
65 |
-
* $priority - default 10; lower runs earlier, higher runs later
|
66 |
-
* $accepted_args - number of arguments your function accepts
|
67 |
-
* Comment out the filters you don't need; save them for future use
|
68 |
-
*/
|
69 |
Â
add_filter( 'mla_mapping_updates', 'MLAjhdeanMappingHooksExample::mla_mapping_updates_filter', 10, 5 );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
70 |
Â
}
|
71 |
Â
|
72 |
Â
/**
|
73 |
-
*
|
74 |
Â
*
|
75 |
-
* This
|
76 |
-
*
|
77 |
-
*
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
78 |
Â
*
|
79 |
Â
* @since 1.00
|
80 |
Â
*
|
81 |
-
* @param array
|
82 |
-
* @param
|
83 |
-
* @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
|
84 |
-
* @param array mapping rules
|
85 |
-
* @param array attachment_metadata, default NULL
|
86 |
Â
*
|
87 |
-
* @return array
|
88 |
Â
*/
|
89 |
-
public static function
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
if ( ! in_array( $category, array( 'iptc_exif_mapping', 'iptc_exif_standard_mapping' ) ) ) {
|
94 |
-
return $updates;
|
95 |
Â
}
|
96 |
Â
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
104 |
Â
} else {
|
105 |
-
$
|
106 |
-
$old_value = $post->post_title;
|
107 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
108 |
Â
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
119 |
Â
|
120 |
-
|
121 |
-
|
122 |
Â
|
123 |
-
|
124 |
Â
|
125 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
126 |
Â
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
133 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
134 |
Â
|
135 |
-
|
Â
|
|
Â
|
|
136 |
Â
}
|
137 |
-
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
138 |
Â
|
Â
|
|
139 |
Â
return $updates;
|
140 |
Â
} // mla_mapping_updates_filter
|
141 |
Â
} //MLAjhdeanMappingHooksExample
|
2 |
Â
/**
|
3 |
Â
* Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features
|
4 |
Â
*
|
5 |
+
* In this example any combination of three operations can be selected with options
|
6 |
+
* on a Settings submenu page:
|
7 |
+
*
|
8 |
+
* - Remove a hyperlink from the Title, leaving a plain text value
|
9 |
+
* - Replace the Title by a hyperlink using the IPTC 2#005 Object Name value
|
10 |
+
* - Replace the Justified Image Grid "JIG Link" value with a link to the
|
11 |
+
* appropriate portfolio destination
|
12 |
+
*
|
13 |
+
* Created for support topic "EXIF/Template Value editing"
|
14 |
+
* opened on 2/24/2015 by "jhdean".
|
15 |
+
* https://wordpress.org/support/topic/exiftemplate-value-editing
|
16 |
Â
*
|
17 |
Â
* @package MLA jhdean Mapping Hooks Example
|
18 |
+
* @version 1.04
|
19 |
Â
*/
|
20 |
Â
|
21 |
Â
/*
|
22 |
Â
Plugin Name: MLA jhdean Mapping Hooks Example
|
23 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
24 |
+
Description: Add or remove Title hyperlink, replace JIG Link; for Jeff Dean.
|
25 |
Â
Author: David Lingren
|
26 |
+
Version: 1.04
|
27 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
28 |
Â
|
29 |
+
Copyright 2014 - 2017 David Lingren
|
30 |
Â
|
31 |
Â
This program is free software; you can redistribute it and/or modify
|
32 |
Â
it under the terms of the GNU General Public License as published by
|
52 |
Â
* @since 1.00
|
53 |
Â
*/
|
54 |
Â
class MLAjhdeanMappingHooksExample {
|
55 |
+
/**
|
56 |
+
* Current version number
|
57 |
+
*
|
58 |
+
* @since 1.03
|
59 |
+
*
|
60 |
+
* @var string
|
61 |
+
*/
|
62 |
+
const CURRENT_VERSION = '1.04';
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Slug prefix for registering and enqueueing submenu pages, style sheets and scripts
|
66 |
+
*
|
67 |
+
* @since 1.03
|
68 |
+
*
|
69 |
+
* @var string
|
70 |
+
*/
|
71 |
+
const SLUG_PREFIX = 'mlajhdean-';
|
72 |
+
|
73 |
Â
/**
|
74 |
Â
* Initialization function, similar to __construct()
|
75 |
Â
*
|
76 |
Â
* Installs filters and actions that handle the MLA hooks for uploading and mapping.
|
77 |
Â
*
|
78 |
Â
* @since 1.00
|
Â
|
|
Â
|
|
79 |
Â
*/
|
80 |
Â
public static function initialize() {
|
81 |
+
// The plugin is only useful in the admin section; exit if in the "front-end".
|
Â
|
|
Â
|
|
82 |
Â
if ( ! is_admin() )
|
83 |
Â
return;
|
84 |
Â
|
85 |
+
add_action( 'admin_menu', 'MLAjhdeanMappingHooksExample::admin_menu' );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
86 |
Â
add_filter( 'mla_mapping_updates', 'MLAjhdeanMappingHooksExample::mla_mapping_updates_filter', 10, 5 );
|
87 |
+
|
88 |
+
// Update the plugin options from the wp_options table or set defaults
|
89 |
+
$settings = get_option( self::SLUG_PREFIX . 'settings' );
|
90 |
+
if ( is_array( $settings ) ) {
|
91 |
+
self::$settings = $settings;
|
92 |
+
} else {
|
93 |
+
self::$settings = self::$default_settings;
|
94 |
+
}
|
95 |
Â
}
|
96 |
Â
|
97 |
Â
/**
|
98 |
+
* Processing options
|
99 |
Â
*
|
100 |
+
* This array specifies which of the three operations are active and the
|
101 |
+
* value of the Title hyperlink. Initialized in the initialize() function.
|
102 |
+
*
|
103 |
+
* Title hyperlink substitution parameters are:
|
104 |
+
* - %1$s => IPTC Object Name in hyperlink-compatible format; no spaces or underscores, just dashes
|
105 |
+
* - %2$s => IPTC Object Name in plain text format
|
106 |
+
*
|
107 |
+
* @since 1.03
|
108 |
+
*
|
109 |
+
* @var array
|
110 |
+
*/
|
111 |
+
private static $settings = array ();
|
112 |
+
|
113 |
+
/**
|
114 |
+
* Default processing options
|
115 |
+
*
|
116 |
+
* @since 1.03
|
117 |
+
*
|
118 |
+
* @var array
|
119 |
+
*/
|
120 |
+
private static $default_settings = array (
|
121 |
+
'option_active' => array( 'replace_jig_link' => false, 'remove_link' => false, 'add_link' => false ),
|
122 |
+
'jig_hyperlink_href' => 'http://www.jeffreyhdean.dev/portfolio/%1$s/',
|
123 |
+
'title_hyperlink_tag' => '<a id="detail-title" target="_blank" href="http://www.jhdstaging.org/portfolio/%1$s/">%2$s</a>',
|
124 |
+
);
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Add submenu page in the "Settings" section
|
128 |
+
*
|
129 |
+
* @since 1.03
|
130 |
+
*/
|
131 |
+
public static function admin_menu( ) {
|
132 |
+
$current_page_hook = add_submenu_page( 'options-general.php', 'MLA jhdean Mapping Hooks Example', 'MLA jhdean', 'manage_options', self::SLUG_PREFIX . 'settings', 'MLAjhdeanMappingHooksExample::add_submenu_page' );
|
133 |
+
add_filter( 'plugin_action_links', 'MLAjhdeanMappingHooksExample::plugin_action_links', 10, 2 );
|
134 |
+
}
|
135 |
+
|
136 |
+
/**
|
137 |
+
* Add the "Tools" link to the Plugins section entry
|
138 |
Â
*
|
139 |
Â
* @since 1.00
|
140 |
Â
*
|
141 |
+
* @param array array of links for the Plugin, e.g., "Activate"
|
142 |
+
* @param string Directory and name of the plugin Index file
|
Â
|
|
Â
|
|
Â
|
|
143 |
Â
*
|
144 |
+
* @return array Updated array of links for the Plugin
|
145 |
Â
*/
|
146 |
+
public static function plugin_action_links( $links, $file ) {
|
147 |
+
if ( $file == 'mla-jhdean-mapping-hooks-example.php' ) {
|
148 |
+
$settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=' . self::SLUG_PREFIX . 'settings' ), 'Settings' );
|
149 |
+
array_unshift( $links, $settings_link );
|
Â
|
|
Â
|
|
150 |
Â
}
|
151 |
Â
|
152 |
+
return $links;
|
153 |
+
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Render (echo) the "MLA jhdean" submenu in the Settings section
|
157 |
+
*
|
158 |
+
* @since 1.03
|
159 |
+
*
|
160 |
+
* @return void Echoes HTML markup for the submenu page
|
161 |
+
*/
|
162 |
+
public static function add_submenu_page() {
|
163 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExample:add_submenu_page() \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
164 |
+
|
165 |
+
if ( !current_user_can( 'manage_options' ) ) {
|
166 |
+
echo "MLA jhdean Mapping Hooks Example - Error</h2>\n";
|
167 |
+
wp_die( 'You do not have permission to manage plugin settings.' );
|
168 |
+
}
|
169 |
+
|
170 |
+
echo '<div class="wrap">' . "\n";
|
171 |
+
echo "\t\t" . '<div id="icon-tools" class="icon32"><br/></div>' . "\n";
|
172 |
+
echo "\t\t" . '<h2>MLA jhdean Mapping Hooks Example v' . self::CURRENT_VERSION . '</h2>' . "\n";
|
173 |
+
|
174 |
+
if ( !current_user_can( 'edit_pages' ) ) {
|
175 |
+
echo "\t\t<br>ERROR: You are not allowed to edit Media Library items.\n";
|
176 |
+
return;
|
177 |
+
}
|
178 |
+
|
179 |
+
$message = '';
|
180 |
+
if ( isset( $_REQUEST[ self::SLUG_PREFIX . 'save-changes' ] ) ) {
|
181 |
+
$message = self::_save_setting_changes();
|
182 |
+
} elseif ( isset( $_REQUEST[ self::SLUG_PREFIX . 'delete-settings' ] ) ) {
|
183 |
+
$message = self::_delete_settings();
|
184 |
+
}
|
185 |
+
|
186 |
+
if ( !empty( $message ) ) {
|
187 |
+
$is_error = ( false !== strpos( $message, __( 'ERROR', 'media-library-assistant' ) ) );
|
188 |
+
if ( $is_error ) {
|
189 |
+
$messages_class = 'updated error';
|
190 |
+
} else {
|
191 |
+
$messages_class = 'updated notice is-dismissible';
|
192 |
+
}
|
193 |
+
|
194 |
+
echo " <div class=\"{$messages_class}\" id=\"message\"><p>\n";
|
195 |
+
echo ' ' . $message . "\n";
|
196 |
+
echo " </p>\n";
|
197 |
+
|
198 |
+
if ( !$is_error ) {
|
199 |
+
echo " <button class=\"notice-dismiss\" type=\"button\"><span class=\"screen-reader-text\">Dismiss this notice.</span></button>\n";
|
200 |
+
}
|
201 |
+
|
202 |
+
echo " </div>\n";
|
203 |
+
}
|
204 |
+
|
205 |
+
$no_change_checked = $remove_link_checked = $add_link_checked = '';
|
206 |
+
if ( self::$settings['option_active']['remove_link'] ) {
|
207 |
+
$remove_link_checked = 'checked="checked" ';
|
208 |
+
} elseif ( self::$settings['option_active']['add_link'] ) {
|
209 |
+
$add_link_checked = 'checked="checked" ';
|
210 |
Â
} else {
|
211 |
+
$no_change_checked = 'checked="checked" ';
|
Â
|
|
212 |
Â
}
|
213 |
+
|
214 |
+
$replace_jig_link_checked = self::$settings['option_active']['replace_jig_link'] ? 'checked="checked" ' : '';
|
215 |
+
$jig_hyperlink_href = esc_html( self::$settings['jig_hyperlink_href'] );
|
216 |
+
$title_hyperlink_tag = esc_html( self::$settings['title_hyperlink_tag'] );
|
217 |
+
|
218 |
+
echo "\t\t" . '<div style="width:700px">' . "\n";
|
219 |
+
echo "\t\t" . '<form action="' . admin_url( 'options-general.php?page=' . self::SLUG_PREFIX . 'settings' ) . '" method="post" class="' . self::SLUG_PREFIX . 'settings-form-class" id="' . self::SLUG_PREFIX . 'settings-form-id">' . "\n";
|
220 |
+
echo "\t\t" . ' <p class="submit" style="padding-bottom: 0;">' . "\n";
|
221 |
+
echo "\t\t" . ' <table width=99%>' . "\n";
|
222 |
Â
|
223 |
+
echo "\t\t" . ' <tr><td colspan=2>Check the operation(s) you want to perform, then click Save Settings.</td></tr>' . "\n";
|
224 |
+
echo "\t\t" . ' <tr><td colspan=2>Operation(s) will be performed when IPTX/EXIF mapping is done.</td></tr>' . "\n";
|
225 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
226 |
+
|
227 |
+
echo "\t\t" . ' <tr>' . "\n";
|
228 |
+
echo "\t\t" . ' <td width="150px" style="text-align: right; padding-right: 5px" ><input name="' . self::SLUG_PREFIX . 'option_active[]" id="' . self::SLUG_PREFIX . 'option_active_replace_jig_link" type="checkbox" ' . $replace_jig_link_checked . 'value="replace_jig_link">
|
229 |
+
</td>' . "\n";
|
230 |
+
echo "\t\t" . ' <td valign="middle" style="text-align: left;">Replace JIG Link value</td>' . "\n";
|
231 |
+
echo "\t\t" . ' </tr>' . "\n";
|
232 |
+
|
233 |
+
echo "\t\t" . ' <tr>' . "\n";
|
234 |
+
echo "\t\t" . ' <td width="150px" valign="middle" style="text-align: right; padding-right: 5px" >Destination:</td>' . "\n";
|
235 |
+
echo "\t\t" . ' <td style="text-align: left;"><input name="' . self::SLUG_PREFIX . 'jig_hyperlink_href" id="' . self::SLUG_PREFIX . 'jig_hyperlink_href" type="text" size="80" value="' . $jig_hyperlink_href . '"></td>' . "\n";
|
236 |
+
echo "\t\t" . ' </tr>' . "\n";
|
237 |
Â
|
238 |
+
echo "\t\t" . ' <tr><td> </td><td>JIG link substitution parameter is:</td></tr>' . "\n";
|
239 |
+
echo "\t\t" . ' <tr><td> </td><td>- %1$s => IPTC Object Name in hyperlink-compatible format; no spaces or underscores, just dashes</td></tr>' . "\n";
|
240 |
Â
|
241 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
242 |
Â
|
243 |
+
echo "\t\t" . ' <tr>' . "\n";
|
244 |
+
echo "\t\t" . ' <td width="150px" style="text-align: right; padding-right: 5px" ><input name="' . self::SLUG_PREFIX . 'title_link" id="' . self::SLUG_PREFIX . 'title_link_no_change" type="radio" ' . $no_change_checked . 'value="no_change">
|
245 |
+
</td>' . "\n";
|
246 |
+
echo "\t\t" . ' <td valign="middle" style="text-align: left;">No change to Title</td>' . "\n";
|
247 |
+
echo "\t\t" . ' </tr>' . "\n";
|
248 |
+
|
249 |
+
echo "\t\t" . ' <tr>' . "\n";
|
250 |
+
echo "\t\t" . ' <td width="150px" style="text-align: right; padding-right: 5px" ><input name="' . self::SLUG_PREFIX . 'title_link" id="' . self::SLUG_PREFIX . 'title_link_remove_link" type="radio" ' . $remove_link_checked . 'value="remove_link">
|
251 |
+
</td>' . "\n";
|
252 |
+
echo "\t\t" . ' <td valign="middle" style="text-align: left;">Remove hyperlink from Title</td>' . "\n";
|
253 |
+
echo "\t\t" . ' </tr>' . "\n";
|
254 |
+
|
255 |
+
echo "\t\t" . ' <tr>' . "\n";
|
256 |
+
echo "\t\t" . ' <td width="150px" style="text-align: right; padding-right: 5px" ><input name="' . self::SLUG_PREFIX . 'title_link" id="' . self::SLUG_PREFIX . 'title_link_add_link" type="radio" ' . $add_link_checked . 'value="add_link">
|
257 |
+
</td>' . "\n";
|
258 |
+
echo "\t\t" . ' <td valign="middle" style="text-align: left;">Add hyperlink to Title</td>' . "\n";
|
259 |
+
echo "\t\t" . ' </tr>' . "\n";
|
260 |
+
|
261 |
+
echo "\t\t" . ' <tr>' . "\n";
|
262 |
+
echo "\t\t" . ' <td width="150px" valign="middle" style="text-align: right; padding-right: 5px" >Hyperlink:</td>' . "\n";
|
263 |
+
echo "\t\t" . ' <td style="text-align: left;"><input name="' . self::SLUG_PREFIX . 'title_hyperlink_tag" id="' . self::SLUG_PREFIX . 'title_hyperlink_tag" type="text" size="80" value="' . $title_hyperlink_tag . '"></td>' . "\n";
|
264 |
+
echo "\t\t" . ' </tr>' . "\n";
|
265 |
+
|
266 |
+
echo "\t\t" . ' <tr><td> </td><td>Title hyperlink substitution parameters are:</td></tr>' . "\n";
|
267 |
+
echo "\t\t" . ' <tr><td> </td><td>- %1$s => IPTC Object Name in hyperlink-compatible format; no spaces or underscores, just dashes</td></tr>' . "\n";
|
268 |
+
echo "\t\t" . ' <tr><td> </td><td>- %2$s => IPTC Object Name in plain text format</td></tr>' . "\n";
|
269 |
Â
|
270 |
+
echo "\t\t" . ' <tr><td colspan=2> </td></tr>' . "\n";
|
271 |
+
|
272 |
+
echo "\t\t" . ' <tr><td width="150px">' . "\n";
|
273 |
+
echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'save-changes" type="submit" class="button-primary" style="width: 120px;" value="Save Settings" />' . "\n";
|
274 |
+
echo "\t\t" . ' </td><td>' . "\n";
|
275 |
+
echo "\t\t" . ' <input name="' . self::SLUG_PREFIX . 'delete-settings" type="submit" class="button-primary" style="width: 120px;" value="Delete Settings" />' . "\n";
|
276 |
+
echo "\t\t" . ' </td></tr>' . "\n";
|
277 |
+
|
278 |
+
echo "\t\t" . ' </table>' . "\n";
|
279 |
+
echo "\t\t" . ' </p>' . "\n";
|
280 |
+
echo "\t\t" . '</form>' . "\n";
|
281 |
+
echo "\t\t" . '</div>' . "\n";
|
282 |
+
echo "\t\t" . '</div><!-- wrap -->' . "\n";
|
283 |
+
}
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Save settings as a WordPress wp_options entry
|
287 |
+
*
|
288 |
+
* @since 1.03
|
289 |
+
*
|
290 |
+
* @return string HTML markup for results/messages
|
291 |
+
*/
|
292 |
+
private static function _save_setting_changes() {
|
293 |
+
$new_settings = self::$settings;
|
294 |
+
|
295 |
+
$option_active = isset( $_REQUEST[ self::SLUG_PREFIX . 'option_active' ] ) ? $_REQUEST[ self::SLUG_PREFIX . 'option_active' ] : array();
|
296 |
+
|
297 |
+
$new_settings['option_active']['remove_link'] = 'remove_link' === $_REQUEST[ self::SLUG_PREFIX . 'title_link' ];
|
298 |
+
$new_settings['option_active']['add_link'] = 'add_link' === $_REQUEST[ self::SLUG_PREFIX . 'title_link' ];
|
299 |
+
$new_settings['option_active']['replace_jig_link'] = in_array( 'replace_jig_link', $option_active );
|
300 |
+
$new_settings['jig_hyperlink_href'] = stripslashes( $_REQUEST[ self::SLUG_PREFIX . 'jig_hyperlink_href' ] );
|
301 |
+
$new_settings['title_hyperlink_tag'] = stripslashes( $_REQUEST[ self::SLUG_PREFIX . 'title_hyperlink_tag' ] );
|
302 |
+
|
303 |
+
if ( $new_settings === self::$settings ) {
|
304 |
+
return "Settings unchanged.\n";
|
305 |
+
}
|
306 |
+
|
307 |
+
$success = update_option( self::SLUG_PREFIX . 'settings', $new_settings, false );
|
308 |
+
if ( $success ) {
|
309 |
+
self::$settings = $new_settings;
|
310 |
+
return "Settings have been updated.\n";
|
311 |
+
}
|
312 |
+
|
313 |
+
return "Settings update failed.\n";
|
314 |
+
} // _save_setting_changes
|
315 |
+
|
316 |
+
/**
|
317 |
+
* Delete WordPress wp_options entry
|
318 |
+
*
|
319 |
+
* @since 1.04
|
320 |
+
*
|
321 |
+
* @return string HTML markup for results/messages
|
322 |
+
*/
|
323 |
+
private static function _delete_settings() {
|
324 |
+
delete_option( self::SLUG_PREFIX . 'settings' );
|
325 |
+
self::$settings = self::$default_settings;
|
326 |
+
return "Settings removed from database and reset to default values.\n";
|
327 |
+
} // _delete_settings
|
328 |
+
|
329 |
+
/**
|
330 |
+
* Apply processing options to an attachment
|
331 |
+
*
|
332 |
+
* This filter is called AFTER all mapping rules are applied.
|
333 |
+
* You can add, change or remove updates for the attachment's
|
334 |
+
* standard fields, taxonomies and/or custom fields.
|
335 |
+
*
|
336 |
+
* @since 1.00
|
337 |
+
*
|
338 |
+
* @param array $updates Updates for the attachment's standard fields,
|
339 |
+
* taxonomies and/or custom fields
|
340 |
+
* @param integer $post_id Attachment ID to be evaluated
|
341 |
+
* @param string $category Category/scope to evaluate against:
|
342 |
+
* custom_field_mapping or single_attachment_mapping
|
343 |
+
* @param array $settings Mapping rules
|
344 |
+
* @param array $attachment_metadata Attachment metadata, default NULL
|
345 |
+
*/
|
346 |
+
public static function mla_mapping_updates_filter( $updates, $post_id, $category, $settings, $attachment_metadata ) {
|
347 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExample::mla_mapping_updates_filter( {$post_id}, {$category} ) updates = " . var_export( $updates, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
348 |
+
|
349 |
+
// We are only concerned with Standard Field mapping
|
350 |
+
if ( ! in_array( $category, array( 'iptc_exif_mapping', 'iptc_exif_standard_mapping' ) ) ) {
|
351 |
+
return $updates;
|
352 |
+
}
|
353 |
+
|
354 |
+
if ( self::$settings['option_active']['remove_link'] || self::$settings['option_active']['add_link'] ) {
|
355 |
+
/*
|
356 |
+
* If $updates[ 'post_title' ] is set, some mapping rule has been set up,
|
357 |
+
* so we respect the result. If not, use whatever the current Title value is.
|
358 |
+
*/
|
359 |
+
if ( isset( $updates[ 'post_title' ] ) ) {
|
360 |
+
$old_title = $updates[ 'post_title' ];
|
361 |
+
} else {
|
362 |
+
$post = get_post( $post_id );
|
363 |
+
$old_title = $post->post_title;
|
364 |
+
}
|
365 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExample::mla_mapping_updates_filter( {$post_id}, {$category} ) old_title = " . var_export( $old_title, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
366 |
+
} // add_link or remove_link
|
367 |
+
|
368 |
+
// Remove a hyperlink from the Title, leaving a plain text value
|
369 |
+
if ( self::$settings['option_active']['remove_link'] ) {
|
370 |
+
// Find all the hyperlinks in the gallery
|
371 |
+
$match_count = preg_match( '!(<a [^>]*?>)(.*)(</a>)!', $old_title, $matches, PREG_OFFSET_CAPTURE );
|
372 |
+
if ( $match_count ) {
|
373 |
+
// Replace the links with just the plain text
|
374 |
+
$replacement = $matches[2][0];
|
375 |
+
$start = $matches[0][1];
|
376 |
+
$length = strlen( $matches[0][0] );
|
377 |
+
$new_title = substr_replace( $old_title, $replacement, $start, $length );
|
378 |
+
|
379 |
+
if ( $old_title != $new_title ) {
|
380 |
+
$updates[ 'post_title' ] = $old_title = trim( $new_title );
|
381 |
Â
}
|
382 |
+
} // found link
|
383 |
+
} // remove_link
|
384 |
+
|
385 |
+
// Replace the Title by a hyperlink using the IPTC 2#005 Object Name value
|
386 |
+
if ( self::$settings['option_active']['add_link'] ) {
|
387 |
+
/*
|
388 |
+
* Derive the new Title from the IPTC Object Name, if present.
|
389 |
+
* You can use MLAOptions::mla_get_data_source() to get anything available.
|
390 |
+
*/
|
391 |
+
$my_setting = array(
|
392 |
+
'data_source' => 'template',
|
393 |
+
'meta_name' => '([+iptc:2#005+])',
|
394 |
+
'option' => 'raw'
|
395 |
+
);
|
396 |
+
$object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
|
397 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExample::mla_mapping_updates_filter( {$post_id}, {$category} ) object_name = " . var_export( $object_name, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
398 |
+
if ( ! empty( $object_name ) ) {
|
399 |
+
//$object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name . ',' . $object_name ) );
|
400 |
+
$object_link = sanitize_title( $object_name );
|
401 |
+
|
402 |
+
$new_title = sprintf( self::$settings['title_hyperlink_tag'], $object_link, $object_name );
|
403 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExample::mla_mapping_updates_filter( {$post_id}, {$category} ) new_title = " . var_export( $new_title, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
404 |
Â
|
405 |
+
if ( $old_title != $new_title ) {
|
406 |
+
$updates[ 'post_title' ] = $new_title;
|
407 |
+
}
|
408 |
Â
}
|
409 |
+
} // add_link
|
410 |
+
|
411 |
+
/*
|
412 |
+
* Replace the Justified Image Grid "JIG Link" value with a link to the
|
413 |
+
* appropriate portfolio destination
|
414 |
+
*/
|
415 |
+
if ( self::$settings['option_active']['replace_jig_link'] ) {
|
416 |
+
$old_meta_value = get_post_meta( $post_id, '_jig_image_link' );
|
417 |
+
// MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExampleJIG::mla_mapping_updates_filter( {$post_id}, {$category} ) RAW old_meta_value = " . var_export( $old_meta_value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
418 |
+
if ( !empty( $old_meta_value ) ) {
|
419 |
+
if ( is_array( $old_meta_value ) ) {
|
420 |
+
if ( count( $old_meta_value ) == 1 ) {
|
421 |
+
$old_meta_value = maybe_unserialize( current( $old_meta_value ) );
|
422 |
+
} else {
|
423 |
+
foreach ( $old_meta_value as $single_key => $single_value ) {
|
424 |
+
$old_meta_value[ $single_key ] = maybe_unserialize( $single_value );
|
425 |
+
}
|
426 |
+
}
|
427 |
+
}
|
428 |
+
} else {
|
429 |
+
$old_meta_value = '';
|
430 |
+
}
|
431 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExampleJIG::mla_mapping_updates_filter( {$post_id}, {$category} ) old_meta_value = " . var_export( $old_meta_value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
432 |
+
|
433 |
+
/*
|
434 |
+
* Derive the new value from the IPTC Object Name, if present.
|
435 |
+
* You can use MLAOptions::mla_get_data_source() to get anything available.
|
436 |
+
*/
|
437 |
+
$my_setting = array(
|
438 |
+
'data_source' => 'template',
|
439 |
+
'meta_name' => '([+iptc:2#005+])',
|
440 |
+
'option' => 'raw'
|
441 |
+
);
|
442 |
+
$object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
|
443 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExampleJIG::mla_mapping_updates_filter( {$post_id}, {$category} ) object_name = " . var_export( $object_name, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
444 |
+
|
445 |
+
if ( ! empty( $object_name ) ) {
|
446 |
+
//$object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name ) );
|
447 |
+
$object_link = sanitize_title( $object_name );
|
448 |
+
$new_meta_value = sprintf( self::$settings['jig_hyperlink_href'], $object_link );
|
449 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExampleJIG::mla_mapping_updates_filter( {$post_id}, {$category} ) new_meta_value = " . var_export( $new_meta_value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
450 |
+
|
451 |
+
if ( $old_meta_value != $new_meta_value ) {
|
452 |
+
$result = update_post_meta( $post_id, '_jig_image_link', $new_meta_value );
|
453 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExampleJIG::mla_mapping_updates_filter( {$post_id}, {$category} ) update_post_meta result = " . var_export( $result, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
454 |
+
}
|
455 |
+
} // object_name present
|
456 |
+
} // replace_jig_link
|
457 |
Â
|
458 |
+
MLACore::mla_debug_add( __LINE__ . " MLAjhdeanMappingHooksExample::mla_mapping_updates_filter( {$post_id}, {$category} ) new updates = " . var_export( $updates, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
459 |
Â
return $updates;
|
460 |
Â
} // mla_mapping_updates_filter
|
461 |
Â
} //MLAjhdeanMappingHooksExample
|
examples/plugins/mla-parent-category-mapping-example.php
ADDED
@@ -0,0 +1,100 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Assigns parent term when child term(s) are assigned.
|
4 |
+
*
|
5 |
+
* Created for support topic "All Category Links Working But One"
|
6 |
+
* opened on 3/5/2017 by "Ellsinore":
|
7 |
+
* https://wordpress.org/support/topic/all-category-links-working-but-one/
|
8 |
+
*
|
9 |
+
* @package MLA Parent Category Mapping Example
|
10 |
+
* @version 1.00
|
11 |
+
*/
|
12 |
+
|
13 |
+
/*
|
14 |
+
Plugin Name: MLA Parent Category Mapping Example
|
15 |
+
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
16 |
+
Description: Assigns parent term when child term(s) are assigned
|
17 |
+
Author: David Lingren
|
18 |
+
Version: 1.00
|
19 |
+
Author URI: http://fairtradejudaica.org/our-story/staff/
|
20 |
+
|
21 |
+
Copyright 2017 David Lingren
|
22 |
+
|
23 |
+
This program is free software; you can redistribute it and/or modify
|
24 |
+
it under the terms of the GNU General Public License as published by
|
25 |
+
the Free Software Foundation; either version 2 of the License, or
|
26 |
+
(at your option) any later version.
|
27 |
+
|
28 |
+
This program is distributed in the hope that it will be useful,
|
29 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
30 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
31 |
+
GNU General Public License for more details.
|
32 |
+
|
33 |
+
You can get a copy of the GNU General Public License by writing to the
|
34 |
+
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
35 |
+
*/
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Class MLA Parent Category Mapping Example hooks the mla_mapping_updates filter provided by
|
39 |
+
* the IPTC/EXIF and Custom Field mapping features
|
40 |
+
*
|
41 |
+
* @package MLA Parent Category Mapping Example
|
42 |
+
* @since 1.00
|
43 |
+
*/
|
44 |
+
class MLAParentCategoryMappingExample {
|
45 |
+
/**
|
46 |
+
* Initialization function, similar to __construct()
|
47 |
+
*
|
48 |
+
* Installs filters and actions that handle the MLA hooks for uploading and mapping.
|
49 |
+
*
|
50 |
+
* @since 1.00
|
51 |
+
*
|
52 |
+
* @return void
|
53 |
+
*/
|
54 |
+
public static function initialize() {
|
55 |
+
// The filters are only useful in the admin section; exit if in the "front-end" posts/pages.
|
56 |
+
if ( ! is_admin() )
|
57 |
+
return;
|
58 |
+
|
59 |
+
add_filter( 'mla_mapping_updates', 'MLAParentCategoryMappingExample::mla_mapping_updates', 10, 5 );
|
60 |
+
}
|
61 |
+
|
62 |
+
/**
|
63 |
+
* MLA Mapping Updates Filter
|
64 |
+
*
|
65 |
+
* Mark the parent term if one or more children are present.
|
66 |
+
*
|
67 |
+
* @since 1.00
|
68 |
+
*
|
69 |
+
* @param array updates for the attachment's standard fields, taxonomies and/or custom fields
|
70 |
+
* @param integer post ID to be evaluated
|
71 |
+
* @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
|
72 |
+
* @param array mapping rules
|
73 |
+
* @param array attachment_metadata, default NULL
|
74 |
+
*
|
75 |
+
* @return array updated attachment's updates
|
76 |
+
*/
|
77 |
+
public static function mla_mapping_updates( $updates, $post_id, $category, $settings, $attachment_metadata ) {
|
78 |
+
//error_log( __LINE__ . " MLAParentCategoryMappingExample::mla_mapping_updates( {$post_id}, {$category} ) updates = " . var_export( $updates, true ), 0 );
|
79 |
+
//error_log( __LINE__ . " MLAParentCategoryMappingExample::mla_mapping_updates( {$post_id}, {$category} ) settings = " . var_export( $settings, true ), 0 );
|
80 |
+
|
81 |
+
// Mark parent term if one or more children are present
|
82 |
+
if ( isset( $updates['taxonomy_updates'] ) ) {
|
83 |
+
foreach ( $updates['taxonomy_updates']['inputs'] as $taxonomy => $terms ) {
|
84 |
+
if ( !empty( $settings['taxonomy'][ $taxonomy ] ) ) {
|
85 |
+
$parent = isset( $settings['taxonomy'][ $taxonomy ]['parent'] ) ? absint( $settings['taxonomy'][ $taxonomy ]['parent'] ) : 0;
|
86 |
+
if ( 0 < $parent ) {
|
87 |
+
$updates['taxonomy_updates']['inputs'][ $taxonomy ][] = $parent;
|
88 |
+
}
|
89 |
+
}
|
90 |
+
}
|
91 |
+
//error_log( __LINE__ . " MLAParentCategoryMappingExample::mla_mapping_updates( {$post_id}, {$category} ) taxonomy_updates = " . var_export( $updates['taxonomy_updates']['inputs'], true ), 0 );
|
92 |
+
}
|
93 |
+
|
94 |
+
return $updates;
|
95 |
+
} // mla_mapping_updates_filter
|
96 |
+
} //MLAParentCategoryMappingExample
|
97 |
+
|
98 |
+
// Install the filters at an early opportunity
|
99 |
+
add_action('init', 'MLAParentCategoryMappingExample::initialize');
|
100 |
+
?>
|
examples/plugins/mla-substitution-parameter-hooks-example.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
Â
* - a "parent:" prefix accesses all of the WP_Post properties, custom fields and the permalink for an item's parent
|
9 |
Â
* - an "author:" prefix accesses all of the WP_User properties for an item's author
|
10 |
Â
* - an "conditional:" prefix returns a value when a condition is true, e.g., during the upload process
|
Â
|
|
11 |
Â
*
|
12 |
Â
* Created for support topic "Parent category tag"
|
13 |
Â
* opened on 5/20/2016 by "Levy":
|
@@ -33,8 +34,12 @@
|
|
33 |
Â
* opened on 12/6/2016 by "webpresencech":
|
34 |
Â
* https://wordpress.org/support/topic/maping-image-alt-tags-to-product-meta-title/
|
35 |
Â
*
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
36 |
Â
* @package MLA Substitution Parameter Hooks Example
|
37 |
-
* @version 1.
|
38 |
Â
*/
|
39 |
Â
|
40 |
Â
/*
|
@@ -42,10 +47,10 @@ Plugin Name: MLA Substitution Parameter Hooks Example
|
|
42 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
43 |
Â
Description: Adds "parent_terms:", "page_terms:", "parent:", "author:" and "conditional:" Field-level Substitution Parameters
|
44 |
Â
Author: David Lingren
|
45 |
-
Version: 1.
|
46 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
47 |
Â
|
48 |
-
Copyright 2016 David Lingren
|
49 |
Â
|
50 |
Â
This program is free software; you can redistribute it and/or modify
|
51 |
Â
it under the terms of the GNU General Public License as published by
|
@@ -323,7 +328,7 @@ class MLASubstitutionParameterExample {
|
|
323 |
Â
$parent = $parent_cache[ $parent_id ];
|
324 |
Â
} else {
|
325 |
Â
$parent = get_post( $parent_id );
|
326 |
-
|
327 |
Â
if ( $parent instanceof WP_Post && $parent->ID == $parent_id ) {
|
328 |
Â
$parent_cache[ $parent_id ] = $parent;
|
329 |
Â
} else {
|
@@ -332,7 +337,7 @@ class MLASubstitutionParameterExample {
|
|
332 |
Â
}
|
333 |
Â
|
334 |
Â
if ( property_exists( $parent, $value['value'] ) ) {
|
335 |
-
$custom_value = $parent
|
336 |
Â
} elseif ( 'permalink' == $value['value'] ) {
|
337 |
Â
$custom_value = get_permalink( $parent );
|
338 |
Â
} else {
|
@@ -355,18 +360,20 @@ class MLASubstitutionParameterExample {
|
|
355 |
Â
if ( 'array' == $value['option'] ) {
|
356 |
Â
$new_value = array();
|
357 |
Â
} else {
|
358 |
-
$
|
359 |
Â
}
|
360 |
Â
|
361 |
Â
foreach ( $custom_value as $element ) {
|
362 |
Â
$field_value = sanitize_text_field( $element );
|
363 |
Â
|
364 |
Â
if ( 'array' == $value['option'] ) {
|
365 |
-
$
|
366 |
Â
} else {
|
367 |
-
$
|
368 |
Â
}
|
369 |
Â
}
|
Â
|
|
Â
|
|
370 |
Â
}
|
371 |
Â
}
|
372 |
Â
} elseif ( 'author' == $value['prefix'] ) {
|
@@ -390,7 +397,7 @@ class MLASubstitutionParameterExample {
|
|
390 |
Â
}
|
391 |
Â
|
392 |
Â
if ( property_exists( $author, $value['value'] ) ) {
|
393 |
-
$custom_value = $author
|
394 |
Â
} else {
|
395 |
Â
$custom_value = $author->get( $value['value'] );
|
396 |
Â
}
|
@@ -406,18 +413,20 @@ class MLASubstitutionParameterExample {
|
|
406 |
Â
if ( 'array' == $value['option'] ) {
|
407 |
Â
$new_value = array();
|
408 |
Â
} else {
|
409 |
-
$
|
410 |
Â
}
|
411 |
Â
|
412 |
Â
foreach ( $custom_value as $element ) {
|
413 |
Â
$field_value = sanitize_text_field( $element );
|
414 |
Â
|
415 |
Â
if ( 'array' == $value['option'] ) {
|
416 |
-
$
|
417 |
Â
} else {
|
418 |
-
$
|
419 |
Â
}
|
420 |
Â
}
|
Â
|
|
Â
|
|
421 |
Â
}
|
422 |
Â
}
|
423 |
Â
} elseif ( 'conditional' == $value['prefix'] ) {
|
@@ -460,6 +469,13 @@ class MLASubstitutionParameterExample {
|
|
460 |
Â
default:
|
461 |
Â
// ignore anything else
|
462 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
463 |
Â
}
|
464 |
Â
|
465 |
Â
return $custom_value;
|
8 |
Â
* - a "parent:" prefix accesses all of the WP_Post properties, custom fields and the permalink for an item's parent
|
9 |
Â
* - an "author:" prefix accesses all of the WP_User properties for an item's author
|
10 |
Â
* - an "conditional:" prefix returns a value when a condition is true, e.g., during the upload process
|
11 |
+
* - a "wp_query_vars:" prefix accesses all of the "global $wp_query->query_vars" properties
|
12 |
Â
*
|
13 |
Â
* Created for support topic "Parent category tag"
|
14 |
Â
* opened on 5/20/2016 by "Levy":
|
34 |
Â
* opened on 12/6/2016 by "webpresencech":
|
35 |
Â
* https://wordpress.org/support/topic/maping-image-alt-tags-to-product-meta-title/
|
36 |
Â
*
|
37 |
+
* Enhanced for support topic "$wp_query->query_vars in query"
|
38 |
+
* opened on 3/1/2017 by "mbruxelle":
|
39 |
+
* https://wordpress.org/support/topic/wp_query-query_vars-in-query/
|
40 |
+
*
|
41 |
Â
* @package MLA Substitution Parameter Hooks Example
|
42 |
+
* @version 1.08
|
43 |
Â
*/
|
44 |
Â
|
45 |
Â
/*
|
47 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
48 |
Â
Description: Adds "parent_terms:", "page_terms:", "parent:", "author:" and "conditional:" Field-level Substitution Parameters
|
49 |
Â
Author: David Lingren
|
50 |
+
Version: 1.08
|
51 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
52 |
Â
|
53 |
+
Copyright 2016-2017 David Lingren
|
54 |
Â
|
55 |
Â
This program is free software; you can redistribute it and/or modify
|
56 |
Â
it under the terms of the GNU General Public License as published by
|
328 |
Â
$parent = $parent_cache[ $parent_id ];
|
329 |
Â
} else {
|
330 |
Â
$parent = get_post( $parent_id );
|
331 |
+
|
332 |
Â
if ( $parent instanceof WP_Post && $parent->ID == $parent_id ) {
|
333 |
Â
$parent_cache[ $parent_id ] = $parent;
|
334 |
Â
} else {
|
337 |
Â
}
|
338 |
Â
|
339 |
Â
if ( property_exists( $parent, $value['value'] ) ) {
|
340 |
+
$custom_value = $parent->{$value['value']};
|
341 |
Â
} elseif ( 'permalink' == $value['value'] ) {
|
342 |
Â
$custom_value = get_permalink( $parent );
|
343 |
Â
} else {
|
360 |
Â
if ( 'array' == $value['option'] ) {
|
361 |
Â
$new_value = array();
|
362 |
Â
} else {
|
363 |
+
$new_value = '';
|
364 |
Â
}
|
365 |
Â
|
366 |
Â
foreach ( $custom_value as $element ) {
|
367 |
Â
$field_value = sanitize_text_field( $element );
|
368 |
Â
|
369 |
Â
if ( 'array' == $value['option'] ) {
|
370 |
+
$new_value[] = $field_value;
|
371 |
Â
} else {
|
372 |
+
$new_value .= strlen( $custom_value ) ? ', ' . $field_value : $field_value;
|
373 |
Â
}
|
374 |
Â
}
|
375 |
+
|
376 |
+
$custom_value = $new_value;
|
377 |
Â
}
|
378 |
Â
}
|
379 |
Â
} elseif ( 'author' == $value['prefix'] ) {
|
397 |
Â
}
|
398 |
Â
|
399 |
Â
if ( property_exists( $author, $value['value'] ) ) {
|
400 |
+
$custom_value = $author->{$value['value']};
|
401 |
Â
} else {
|
402 |
Â
$custom_value = $author->get( $value['value'] );
|
403 |
Â
}
|
413 |
Â
if ( 'array' == $value['option'] ) {
|
414 |
Â
$new_value = array();
|
415 |
Â
} else {
|
416 |
+
$new_value = '';
|
417 |
Â
}
|
418 |
Â
|
419 |
Â
foreach ( $custom_value as $element ) {
|
420 |
Â
$field_value = sanitize_text_field( $element );
|
421 |
Â
|
422 |
Â
if ( 'array' == $value['option'] ) {
|
423 |
+
$new_value[] = $field_value;
|
424 |
Â
} else {
|
425 |
+
$new_value .= strlen( $custom_value ) ? ', ' . $field_value : $field_value;
|
426 |
Â
}
|
427 |
Â
}
|
428 |
+
|
429 |
+
$custom_value = $new_value;
|
430 |
Â
}
|
431 |
Â
}
|
432 |
Â
} elseif ( 'conditional' == $value['prefix'] ) {
|
469 |
Â
default:
|
470 |
Â
// ignore anything else
|
471 |
Â
}
|
472 |
+
} elseif ( 'wp_query_vars' == $value['prefix'] ) {
|
473 |
+
global $wp_query;
|
474 |
+
//error_log( __LINE__ . " MLASubstitutionParameterExample::mla_expand_custom_prefix( {$key}, {$post_id} ) wp_query->query_vars = " . var_export( $wp_query->query_vars , true ), 0 );
|
475 |
+
|
476 |
+
if ( !empty( $wp_query->query_vars ) ) {
|
477 |
+
$custom_value = MLAData::mla_find_array_element( $value['value'], $wp_query->query_vars, $value['option'], $keep_existing );
|
478 |
+
}
|
479 |
Â
}
|
480 |
Â
|
481 |
Â
return $custom_value;
|
examples/plugins/mla-ui-elements-example.php
CHANGED
@@ -5,29 +5,31 @@
|
|
5 |
Â
*
|
6 |
Â
* In this example:
|
7 |
Â
*
|
8 |
-
* 1. If you add "use_filters=true" to an [mla_term_list] shortcode this plugin will retain the
|
9 |
-
* terms when the page is refreshed and pass them back into the shortcode.
|
10 |
Â
*
|
11 |
-
* 2. If you add "add_filters_to=any" to an [mla_gallery] shortcode this plugin will retain
|
12 |
-
* terms search, keyword search, taxonomy queries and posts_per_page when the
|
13 |
-
* pagination moves to a new page.
|
14 |
Â
*
|
15 |
-
* 3. If you add "add_filters_to=<taxonomy_slug>" to an [mla_gallery] shortcode this plugin will
|
16 |
-
* actions in 2. and will also match the taxonomy_slug to a simple taxonomy query (if
|
17 |
-
* add that query to the taxonomy queries. If the simple query is 'muie-no-terms',
|
Â
|
|
18 |
Â
*
|
19 |
-
* 4. Shortcodes are provided to generate text box controls and retain their settings when the
|
20 |
-
* is refreshed or pagination moves to a new page:
|
21 |
Â
*
|
22 |
Â
* [muie_terms_search] generates a terms search text box
|
23 |
Â
* [muie_keyword_search] generates a keyword search text box
|
24 |
Â
* [muie_orderby] generates an order by dropdown control
|
25 |
Â
* [muie_order] generates ascending/descending radio buttons
|
26 |
Â
* [muie_per_page] generates an items per page text box
|
27 |
-
* [muie_assigned_items_count] returns the number of items assigned to any term(s) in the
|
Â
|
|
28 |
Â
*
|
29 |
-
* 5. With a bit of work you can add a tag cloud that works with these filters. Here's an example
|
30 |
-
* adapt for your application:
|
31 |
Â
*
|
32 |
Â
* <style type='text/css'>
|
33 |
Â
* #mla-tag-cloud .mla_current_item {
|
@@ -63,7 +65,7 @@
|
|
63 |
Â
* https://wordpress.org/support/topic/shortcode-456/
|
64 |
Â
*
|
65 |
Â
* @package MLA UI Elements Example
|
66 |
-
* @version 1.
|
67 |
Â
*/
|
68 |
Â
|
69 |
Â
/*
|
@@ -71,7 +73,7 @@ Plugin Name: MLA UI Elements Example
|
|
71 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
72 |
Â
Description: Provides shortcodes to improve user experience for [mla_term_list], [mla_tag_cloud] and [mla_gallery] shortcodes
|
73 |
Â
Author: David Lingren
|
74 |
-
Version: 1.
|
75 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
76 |
Â
|
77 |
Â
Copyright 2016 David Lingren
|
@@ -131,13 +133,22 @@ class MLAUIElementsExample {
|
|
131 |
Â
}
|
132 |
Â
|
133 |
Â
/**
|
134 |
-
* Pass
|
135 |
Â
*
|
136 |
Â
* @since 1.05
|
137 |
Â
*
|
138 |
-
* @var array
|
139 |
Â
*/
|
140 |
-
private static $
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
141 |
Â
|
142 |
Â
/**
|
143 |
Â
* Look for 'muie_filters' that pass the selected parameters from page to page of a paginated gallery
|
@@ -147,78 +158,128 @@ class MLAUIElementsExample {
|
|
147 |
Â
* @param array the shortcode parameters passed in to the shortcode
|
148 |
Â
*/
|
149 |
Â
public static function mla_term_list_attributes( $shortcode_attributes ) {
|
150 |
-
//
|
Â
|
|
Â
|
|
Â
|
|
151 |
Â
|
152 |
-
|
153 |
-
if (
|
154 |
-
|
155 |
-
|
156 |
-
$
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
// See if this is a "filtered" term list
|
161 |
-
if ( !empty( $shortcode_attributes['use_filters'] ) && ( 'true' == strtolower( $shortcode_attributes['use_filters'] ) ) ) {
|
162 |
-
// Pagination links, e.g. Previous or Next, have muie_filters that encode the form parameters
|
163 |
-
if ( !empty( $_REQUEST['muie_filters'] ) ) {
|
164 |
-
$filters = json_decode( trim( stripslashes( $_REQUEST['muie_filters'] ), '"' ), true );
|
165 |
-
|
166 |
-
if ( !empty( $filters['tax_input'] ) ) {
|
167 |
-
$_REQUEST['tax_input'] = $filters['tax_input'];
|
168 |
-
}
|
169 |
-
|
170 |
-
if ( $term_list_name && !empty( $filters[ $term_list_name ] ) ) {
|
171 |
-
$_REQUEST[ $term_list_name ] = $filters[ $term_list_name ];
|
172 |
-
}
|
173 |
Â
}
|
Â
|
|
174 |
Â
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
179 |
Â
|
180 |
-
|
181 |
-
|
182 |
-
|
Â
|
|
Â
|
|
Â
|
|
183 |
Â
}
|
Â
|
|
184 |
Â
|
185 |
-
|
186 |
-
|
Â
|
|
187 |
Â
|
188 |
-
|
189 |
-
|
190 |
-
$option_all = array_search( '0', $terms );
|
191 |
-
} else {
|
192 |
-
$option_all = array_search( $shortcode_attributes['option_all_value'], $terms );
|
193 |
Â
}
|
194 |
Â
|
195 |
-
if (
|
196 |
-
|
197 |
Â
}
|
Â
|
|
198 |
Â
|
199 |
-
|
200 |
-
|
Â
|
|
Â
|
|
Â
|
|
201 |
Â
} else {
|
202 |
-
$
|
203 |
Â
}
|
204 |
Â
|
205 |
-
|
206 |
-
|
207 |
-
}
|
208 |
Â
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
$shortcode_attributes[ $shortcode_attributes['mla_item_parameter'] ] = $_REQUEST[ $term_list_name ];
|
213 |
Â
} else {
|
214 |
-
$
|
215 |
Â
}
|
216 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
217 |
Â
|
218 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
219 |
Â
}
|
220 |
Â
|
221 |
-
//error_log( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
222 |
Â
return $shortcode_attributes;
|
223 |
Â
} // mla_term_list_attributes
|
224 |
Â
|
@@ -230,14 +291,26 @@ class MLAUIElementsExample {
|
|
230 |
Â
* @param array the shortcode parameters passed in to the shortcode
|
231 |
Â
*/
|
232 |
Â
public static function mla_gallery_attributes( $shortcode_attributes ) {
|
233 |
-
//
|
234 |
-
/*
|
235 |
-
* Only process shortcodes that allow filters
|
236 |
-
*/
|
237 |
Â
if ( empty( $shortcode_attributes['add_filters_to'] ) ) {
|
238 |
Â
return $shortcode_attributes;
|
239 |
Â
}
|
240 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
241 |
Â
// Unpack filter values encoded for pagination links
|
242 |
Â
if ( !empty( $_REQUEST['muie_filters'] ) ) {
|
243 |
Â
$filters = json_decode( trim( stripslashes( $_REQUEST['muie_filters'] ), '"' ), true );
|
@@ -259,16 +332,21 @@ class MLAUIElementsExample {
|
|
259 |
Â
|
260 |
Â
// Fill these in from $_REQUEST parameters
|
261 |
Â
$muie_filters = array();
|
262 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
263 |
Â
// Add the orderby & order parameters
|
264 |
Â
if ( !empty( $_REQUEST['muie_orderby'] ) ) {
|
265 |
Â
$muie_filters['muie_orderby'] = $shortcode_attributes['orderby'] = $_REQUEST['muie_orderby'];
|
266 |
Â
}
|
267 |
-
|
268 |
Â
if ( !empty( $_REQUEST['muie_meta_key'] ) ) {
|
269 |
Â
$muie_filters['muie_meta_key'] = $shortcode_attributes['meta_key'] = $_REQUEST['muie_meta_key'];
|
270 |
Â
}
|
271 |
-
|
272 |
Â
if ( !empty( $_REQUEST['muie_order'] ) ) {
|
273 |
Â
$muie_filters['muie_order'] = $shortcode_attributes['order'] = $_REQUEST['muie_order'];
|
274 |
Â
}
|
@@ -301,9 +379,9 @@ class MLAUIElementsExample {
|
|
301 |
Â
$tax_input = array();
|
302 |
Â
}
|
303 |
Â
|
304 |
-
// Add the [mla_term_list
|
305 |
-
if ( !empty( self::$
|
306 |
-
$muie_filters = array_merge( $muie_filters, self::$
|
307 |
Â
}
|
308 |
Â
|
309 |
Â
if ( ! ( empty( $shortcode_attributes[ $filter_taxonomy ] ) && empty( $tax_input ) ) ) {
|
@@ -319,7 +397,7 @@ class MLAUIElementsExample {
|
|
319 |
Â
} else {
|
320 |
Â
$option_all = array_search( $shortcode_attributes['option_all_value'], $terms );
|
321 |
Â
}
|
322 |
-
|
323 |
Â
if ( false !== $option_all ) {
|
324 |
Â
unset( $terms[ $option_all ] );
|
325 |
Â
}
|
@@ -341,15 +419,15 @@ class MLAUIElementsExample {
|
|
341 |
Â
$tax_relation = $attr_value;
|
342 |
Â
}
|
343 |
Â
}
|
344 |
-
|
345 |
-
$
|
346 |
Â
if ( isset( $shortcode_attributes['tax_operator'] ) ) {
|
347 |
Â
$attr_value = strtoupper( $shortcode_attributes['tax_operator'] );
|
348 |
Â
if ( in_array( $attr_value, array( 'IN', 'NOT IN', 'AND' ) ) ) {
|
349 |
-
$
|
350 |
Â
}
|
351 |
Â
}
|
352 |
-
|
353 |
Â
foreach ( $tax_input as $taxonomy => $terms ) {
|
354 |
Â
// simple taxonomy query overrides tax_input
|
355 |
Â
if ( $taxonomy == $filter_taxonomy ) {
|
@@ -368,21 +446,40 @@ class MLAUIElementsExample {
|
|
368 |
Â
}
|
369 |
Â
|
370 |
Â
if ( !empty( $terms ) ) {
|
371 |
-
|
Â
|
|
372 |
Â
foreach ( $terms as $term ) {
|
373 |
-
if ( !
|
374 |
Â
$field = 'slug';
|
375 |
Â
break;
|
376 |
Â
}
|
377 |
Â
}
|
378 |
-
|
379 |
Â
if ( 'term_id' == $field ) {
|
380 |
Â
$values = 'array( ' . implode( ',', $terms ) . ' )';
|
381 |
Â
} else {
|
382 |
Â
$values = "array( '" . implode( "','", $terms ) . "' )";
|
383 |
Â
}
|
384 |
-
|
385 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
386 |
Â
}
|
387 |
Â
}
|
388 |
Â
|
@@ -405,6 +502,11 @@ class MLAUIElementsExample {
|
|
405 |
Â
}
|
406 |
Â
|
407 |
Â
unset( $shortcode_attributes['add_filters_to'] );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
408 |
Â
return $shortcode_attributes;
|
409 |
Â
} // mla_gallery_attributes
|
410 |
Â
|
@@ -653,7 +755,7 @@ class MLAUIElementsExample {
|
|
653 |
Â
$sort_fields = $allowed_fields;
|
654 |
Â
} else {
|
655 |
Â
$sort_fields = array();
|
656 |
-
|
657 |
Â
if ( 0 === strpos( $arguments['sort_fields'], 'array' ) ) {
|
658 |
Â
$function = @create_function('', 'return ' . $arguments['sort_fields'] . ';' );
|
659 |
Â
if ( is_callable( $function ) ) {
|
@@ -683,12 +785,12 @@ class MLAUIElementsExample {
|
|
683 |
Â
$custom_key = '';
|
684 |
Â
$custom_spec = '';
|
685 |
Â
}
|
686 |
-
|
687 |
Â
if ( !empty( $custom_spec ) ) {
|
688 |
Â
$spec_parts = explode( '=>', $custom_spec );
|
689 |
Â
$spec_key = trim( $spec_parts[0], ' \'"' );
|
690 |
Â
$spec_suffix = '';
|
691 |
-
|
692 |
Â
$tail = strrpos( $spec_key, ' DESC' );
|
693 |
Â
if ( ! ( false === $tail ) ) {
|
694 |
Â
$spec_key = substr( $spec_key, 0, $tail );
|
@@ -708,7 +810,7 @@ class MLAUIElementsExample {
|
|
708 |
Â
if ( empty( $sort_fields ) ) {
|
709 |
Â
return '';
|
710 |
Â
}
|
711 |
-
|
712 |
Â
// Unpack filter values encoded for pagination links
|
713 |
Â
if ( !empty( $_REQUEST['muie_filters'] ) ) {
|
714 |
Â
$filters = json_decode( trim( stripslashes( $_REQUEST['muie_filters'] ), '"' ), true );
|
@@ -717,7 +819,7 @@ class MLAUIElementsExample {
|
|
717 |
Â
$_REQUEST['muie_orderby'] = $filters['muie_orderby'];
|
718 |
Â
}
|
719 |
Â
}
|
720 |
-
|
721 |
Â
if ( !empty( $_REQUEST['muie_orderby'] ) ) {
|
722 |
Â
$current_value = $_REQUEST['muie_orderby'];
|
723 |
Â
} else {
|
@@ -729,9 +831,9 @@ class MLAUIElementsExample {
|
|
729 |
Â
} else {
|
730 |
Â
$output = '';
|
731 |
Â
}
|
732 |
-
|
733 |
Â
$output .= '<select name="muie_orderby" id="muie-orderby">' . "\n";
|
734 |
-
|
735 |
Â
foreach ( $sort_fields as $value => $label ) {
|
736 |
Â
$value = 'empty' === $value ? '' : $value;
|
737 |
Â
|
@@ -791,13 +893,13 @@ class MLAUIElementsExample {
|
|
791 |
Â
$_REQUEST['muie_order'] = $filters['muie_order'];
|
792 |
Â
}
|
793 |
Â
}
|
794 |
-
|
795 |
Â
if ( !empty( $_REQUEST['muie_order'] ) ) {
|
796 |
Â
$current_value = $_REQUEST['muie_order'];
|
797 |
Â
} else {
|
798 |
Â
$current_value = $arguments['default_order'];
|
799 |
Â
}
|
800 |
-
|
801 |
Â
if ( 'DESC' === $current_value ) {
|
802 |
Â
$asc_selected = '';
|
803 |
Â
$desc_selected = ' checked="checked"';
|
@@ -842,7 +944,7 @@ class MLAUIElementsExample {
|
|
842 |
Â
|
843 |
Â
// Accept only the attributes we need and supply defaults
|
844 |
Â
$arguments = shortcode_atts( $default_arguments, $attr );
|
845 |
-
|
846 |
Â
/*
|
847 |
Â
* Build an array of individual clauses that can be filtered
|
848 |
Â
*/
|
@@ -929,7 +1031,7 @@ class MLAUIElementsExample {
|
|
929 |
Â
$query[] = 'WHERE (';
|
930 |
Â
$query[] = $clauses['where'];
|
931 |
Â
$query[] = ') ) as subquery';
|
932 |
-
|
933 |
Â
$query = join(' ', $query);
|
934 |
Â
$count = $wpdb->get_var( $query );
|
935 |
Â
return number_format( (float) $count );
|
5 |
Â
*
|
6 |
Â
* In this example:
|
7 |
Â
*
|
8 |
+
* 1. If you add "use_filters=true" to an [mla_term_list] shortcode this plugin will retain the
|
9 |
+
* selected terms when the page is refreshed and pass them back into the shortcode.
|
10 |
Â
*
|
11 |
+
* 2. If you add "add_filters_to=any" to an [mla_gallery] shortcode this plugin will retain
|
12 |
+
* settings for terms search, keyword search, taxonomy queries and posts_per_page when the
|
13 |
+
* page is refreshed or pagination moves to a new page.
|
14 |
Â
*
|
15 |
+
* 3. If you add "add_filters_to=<taxonomy_slug>" to an [mla_gallery] shortcode this plugin will
|
16 |
+
* do the actions in 2. and will also match the taxonomy_slug to a simple taxonomy query (if
|
17 |
+
* present) and add that query to the taxonomy queries. If the simple query is 'muie-no-terms',
|
18 |
+
* it will be ignored.
|
19 |
Â
*
|
20 |
+
* 4. Shortcodes are provided to generate text box controls and retain their settings when the
|
21 |
+
* page is refreshed or pagination moves to a new page:
|
22 |
Â
*
|
23 |
Â
* [muie_terms_search] generates a terms search text box
|
24 |
Â
* [muie_keyword_search] generates a keyword search text box
|
25 |
Â
* [muie_orderby] generates an order by dropdown control
|
26 |
Â
* [muie_order] generates ascending/descending radio buttons
|
27 |
Â
* [muie_per_page] generates an items per page text box
|
28 |
+
* [muie_assigned_items_count] returns the number of items assigned to any term(s) in the
|
29 |
+
* selected taxonomy
|
30 |
Â
*
|
31 |
+
* 5. With a bit of work you can add a tag cloud that works with these filters. Here's an example
|
32 |
+
* you can adapt for your application:
|
33 |
Â
*
|
34 |
Â
* <style type='text/css'>
|
35 |
Â
* #mla-tag-cloud .mla_current_item {
|
65 |
Â
* https://wordpress.org/support/topic/shortcode-456/
|
66 |
Â
*
|
67 |
Â
* @package MLA UI Elements Example
|
68 |
+
* @version 1.07
|
69 |
Â
*/
|
70 |
Â
|
71 |
Â
/*
|
73 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
74 |
Â
Description: Provides shortcodes to improve user experience for [mla_term_list], [mla_tag_cloud] and [mla_gallery] shortcodes
|
75 |
Â
Author: David Lingren
|
76 |
+
Version: 1.07
|
77 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
78 |
Â
|
79 |
Â
Copyright 2016 David Lingren
|
133 |
Â
}
|
134 |
Â
|
135 |
Â
/**
|
136 |
+
* Pass mla_control_name parameters from [mla_term_list] to [mla_gallery] for muie_filters
|
137 |
Â
*
|
138 |
Â
* @since 1.05
|
139 |
Â
*
|
140 |
+
* @var array [ $mla_control_name ] = $_REQUEST[ $mla_control_name ]
|
141 |
Â
*/
|
142 |
+
private static $mla_control_names = array();
|
143 |
+
|
144 |
+
/**
|
145 |
+
* Pass term_id/slug choices from [mla_term_list] to [mla_gallery] for muie_filters
|
146 |
+
*
|
147 |
+
* @since 1.07
|
148 |
+
*
|
149 |
+
* @var array [ taxonomy ] = 'term_id' or 'slug'
|
150 |
+
*/
|
151 |
+
private static $mla_option_values = array();
|
152 |
Â
|
153 |
Â
/**
|
154 |
Â
* Look for 'muie_filters' that pass the selected parameters from page to page of a paginated gallery
|
158 |
Â
* @param array the shortcode parameters passed in to the shortcode
|
159 |
Â
*/
|
160 |
Â
public static function mla_term_list_attributes( $shortcode_attributes ) {
|
161 |
+
// Exit if this is not a "filtered" term list
|
162 |
+
if ( empty( $shortcode_attributes['use_filters'] ) || ( 'true' !== trim ( strtolower( $shortcode_attributes['use_filters'] ) ) ) ) {
|
163 |
+
return $shortcode_attributes;
|
164 |
+
}
|
165 |
Â
|
166 |
+
$mla_debug = ( ! empty( $shortcode_attributes['mla_debug'] ) ) ? trim( strtolower( $shortcode_attributes['mla_debug'] ) ) : false;
|
167 |
+
if ( $mla_debug ) {
|
168 |
+
if ( 'true' == $mla_debug ) {
|
169 |
+
MLACore::mla_debug_mode( 'buffer' );
|
170 |
+
} elseif ( 'log' == $mla_debug ) {
|
171 |
+
MLACore::mla_debug_mode( 'log' );
|
172 |
+
} else {
|
173 |
+
$mla_debug = false;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
174 |
Â
}
|
175 |
+
}
|
176 |
Â
|
177 |
+
if ( $mla_debug ) {
|
178 |
+
MLACore::mla_debug_add( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes input = ' . var_export( $shortcode_attributes, true ) );
|
179 |
+
}
|
180 |
+
|
181 |
+
// Pass "slug" overides to mla_gallery_attributes; using the slug is a common practice
|
182 |
+
$mla_option_value = in_array( $shortcode_attributes['mla_option_value'], array( '{+slug+}', '[+slug+]' ) ) ? 'slug' : 'term_id';
|
183 |
+
foreach( explode( ',', $shortcode_attributes['taxonomy'] ) as $taxonomy ) {
|
184 |
+
self::$mla_option_values[ $taxonomy ] = $mla_option_value;
|
185 |
+
}
|
186 |
Â
|
187 |
+
// Allow for multiple taxonomies and named controls
|
188 |
+
$taxonomy = implode( '-', explode( ',', $shortcode_attributes['taxonomy'] ) );
|
189 |
+
$mla_control_name = !empty( $shortcode_attributes['mla_control_name'] ) ? $shortcode_attributes['mla_control_name'] : false;
|
190 |
+
if ( $mla_control_name ) {
|
191 |
+
if ( $index = strpos( $mla_control_name, '[]' ) ) {
|
192 |
+
$mla_control_name = substr( $mla_control_name, 0, $index );
|
193 |
Â
}
|
194 |
+
}
|
195 |
Â
|
196 |
+
// Pagination links, e.g. Previous or Next, have muie_filters that encode the form parameters
|
197 |
+
if ( !empty( $_REQUEST['muie_filters'] ) ) {
|
198 |
+
$filters = json_decode( trim( stripslashes( $_REQUEST['muie_filters'] ), '"' ), true );
|
199 |
Â
|
200 |
+
if ( !empty( $filters['tax_input'] ) ) {
|
201 |
+
$_REQUEST['tax_input'] = $filters['tax_input'];
|
Â
|
|
Â
|
|
Â
|
|
202 |
Â
}
|
203 |
Â
|
204 |
+
if ( $mla_control_name && !empty( $filters[ $mla_control_name ] ) ) {
|
205 |
+
$_REQUEST[ $mla_control_name ] = $filters[ $mla_control_name ];
|
206 |
Â
}
|
207 |
+
}
|
208 |
Â
|
209 |
+
// Check for a named control with possible taxonomy.term values from "combined" taxonomies
|
210 |
+
if ( $mla_control_name && !empty( $_REQUEST[ $mla_control_name ] ) ) {
|
211 |
+
self::$mla_control_names[ $mla_control_name ] = $_REQUEST[ $mla_control_name ];
|
212 |
+
if ( is_scalar( $_REQUEST[ $mla_control_name ] ) ) {
|
213 |
+
$input = array( $_REQUEST[ $mla_control_name ] );
|
214 |
Â
} else {
|
215 |
+
$input = $_REQUEST[ $mla_control_name ];
|
216 |
Â
}
|
217 |
Â
|
218 |
+
foreach( $input as $input_element ) {
|
219 |
+
$value = explode( '.', $input_element );
|
Â
|
|
220 |
Â
|
221 |
+
if ( 2 === count( $value ) ) {
|
222 |
+
$taxonomy = $value[0];
|
223 |
+
$_REQUEST['tax_input'][ $taxonomy ][] = $value[1];
|
Â
|
|
224 |
Â
} else {
|
225 |
+
$_REQUEST['tax_input'][ $taxonomy ][] = $input_element;
|
226 |
Â
}
|
227 |
Â
}
|
228 |
+
}
|
229 |
+
|
230 |
+
// If nothing is set for this taxonomy we're done
|
231 |
+
if ( empty( $_REQUEST['tax_input'] ) || !array_key_exists( $taxonomy, $_REQUEST['tax_input'] ) ) {
|
232 |
+
if ( $mla_debug ) {
|
233 |
+
MLACore::mla_debug_add( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes no changes' );
|
234 |
+
}
|
235 |
+
|
236 |
+
return $shortcode_attributes;
|
237 |
+
}
|
238 |
+
|
239 |
+
$terms = $_REQUEST['tax_input'][ $taxonomy ];
|
240 |
+
|
241 |
+
// Check for a dropdown control with "All Terms" selected
|
242 |
+
if ( empty( $shortcode_attributes['option_all_value'] ) ) {
|
243 |
+
$option_all = array_search( '0', $terms );
|
244 |
+
} else {
|
245 |
+
$option_all = array_search( $shortcode_attributes['option_all_value'], $terms );
|
246 |
+
}
|
247 |
+
|
248 |
+
if ( false !== $option_all ) {
|
249 |
+
unset( $terms[ $option_all ] );
|
250 |
+
}
|
251 |
+
|
252 |
+
if ( empty( $shortcode_attributes['option_all_text'] ) ) {
|
253 |
+
$option_all = array_search( '', $terms );
|
254 |
+
} else {
|
255 |
+
$option_all = array_search( sanitize_title( $shortcode_attributes['option_all_text'] ), $terms );
|
256 |
+
}
|
257 |
+
|
258 |
+
if ( false !== $option_all ) {
|
259 |
+
unset( $terms[ $option_all ] );
|
260 |
+
}
|
261 |
Â
|
262 |
+
// Reflect option_all changes in the query arguments
|
263 |
+
$_REQUEST['tax_input'][ $taxonomy ] = $terms;
|
264 |
+
if ( $mla_debug ) {
|
265 |
+
MLACore::mla_debug_add( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes tax_input = ' . var_export( $_REQUEST['tax_input'], true ) );
|
266 |
+
}
|
267 |
+
|
268 |
+
// Pass selected terms to the shortcode
|
269 |
+
if ( !empty( $terms ) ) {
|
270 |
+
if ( $mla_control_name && !empty( $_REQUEST[ $mla_control_name ] ) ) {
|
271 |
+
$shortcode_attributes[ $shortcode_attributes['mla_item_parameter'] ] = $_REQUEST[ $mla_control_name ];
|
272 |
+
} else {
|
273 |
+
$shortcode_attributes[ $shortcode_attributes['mla_item_parameter'] ] = implode( ',', $_REQUEST['tax_input'][ $taxonomy ] );
|
274 |
+
}
|
275 |
+
}
|
276 |
+
|
277 |
+
unset( $shortcode_attributes['use_filters'] );
|
278 |
+
|
279 |
+
if ( $mla_debug ) {
|
280 |
+
MLACore::mla_debug_add( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes returns = ' . var_export( $shortcode_attributes, true ) );
|
281 |
Â
}
|
282 |
Â
|
Â
|
|
283 |
Â
return $shortcode_attributes;
|
284 |
Â
} // mla_term_list_attributes
|
285 |
Â
|
291 |
Â
* @param array the shortcode parameters passed in to the shortcode
|
292 |
Â
*/
|
293 |
Â
public static function mla_gallery_attributes( $shortcode_attributes ) {
|
294 |
+
// Only process shortcodes that allow filters
|
Â
|
|
Â
|
|
Â
|
|
295 |
Â
if ( empty( $shortcode_attributes['add_filters_to'] ) ) {
|
296 |
Â
return $shortcode_attributes;
|
297 |
Â
}
|
298 |
Â
|
299 |
+
$mla_debug = ( ! empty( $shortcode_attributes['mla_debug'] ) ) ? trim( strtolower( $shortcode_attributes['mla_debug'] ) ) : false;
|
300 |
+
if ( $mla_debug ) {
|
301 |
+
if ( 'true' == $mla_debug ) {
|
302 |
+
MLACore::mla_debug_mode( 'buffer' );
|
303 |
+
} elseif ( 'log' == $mla_debug ) {
|
304 |
+
MLACore::mla_debug_mode( 'log' );
|
305 |
+
} else {
|
306 |
+
$mla_debug = false;
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
if ( $mla_debug ) {
|
311 |
+
MLACore::mla_debug_add( __LINE__ . ' MLAUIElementsExample::mla_gallery_attributes input = ' . var_export( $shortcode_attributes, true ) );
|
312 |
+
}
|
313 |
+
|
314 |
Â
// Unpack filter values encoded for pagination links
|
315 |
Â
if ( !empty( $_REQUEST['muie_filters'] ) ) {
|
316 |
Â
$filters = json_decode( trim( stripslashes( $_REQUEST['muie_filters'] ), '"' ), true );
|
332 |
Â
|
333 |
Â
// Fill these in from $_REQUEST parameters
|
334 |
Â
$muie_filters = array();
|
335 |
+
|
336 |
+
$mla_control_name = !empty( $shortcode_attributes['mla_control_name'] ) ? $shortcode_attributes['mla_control_name'] : '';
|
337 |
+
if ( !empty( $_REQUEST[ $mla_control_name ] ) ) {
|
338 |
+
$muie_filters[ $mla_control_name ] = $_REQUEST[ $mla_control_name ];
|
339 |
+
}
|
340 |
+
|
341 |
Â
// Add the orderby & order parameters
|
342 |
Â
if ( !empty( $_REQUEST['muie_orderby'] ) ) {
|
343 |
Â
$muie_filters['muie_orderby'] = $shortcode_attributes['orderby'] = $_REQUEST['muie_orderby'];
|
344 |
Â
}
|
345 |
+
|
346 |
Â
if ( !empty( $_REQUEST['muie_meta_key'] ) ) {
|
347 |
Â
$muie_filters['muie_meta_key'] = $shortcode_attributes['meta_key'] = $_REQUEST['muie_meta_key'];
|
348 |
Â
}
|
349 |
+
|
350 |
Â
if ( !empty( $_REQUEST['muie_order'] ) ) {
|
351 |
Â
$muie_filters['muie_order'] = $shortcode_attributes['order'] = $_REQUEST['muie_order'];
|
352 |
Â
}
|
379 |
Â
$tax_input = array();
|
380 |
Â
}
|
381 |
Â
|
382 |
+
// Add the [mla_term_list mla_control_name=] parameter(s)
|
383 |
+
if ( !empty( self::$mla_control_names ) ) {
|
384 |
+
$muie_filters = array_merge( $muie_filters, self::$mla_control_names );
|
385 |
Â
}
|
386 |
Â
|
387 |
Â
if ( ! ( empty( $shortcode_attributes[ $filter_taxonomy ] ) && empty( $tax_input ) ) ) {
|
397 |
Â
} else {
|
398 |
Â
$option_all = array_search( $shortcode_attributes['option_all_value'], $terms );
|
399 |
Â
}
|
400 |
+
|
401 |
Â
if ( false !== $option_all ) {
|
402 |
Â
unset( $terms[ $option_all ] );
|
403 |
Â
}
|
419 |
Â
$tax_relation = $attr_value;
|
420 |
Â
}
|
421 |
Â
}
|
422 |
+
|
423 |
+
$default_operator = 'IN';
|
424 |
Â
if ( isset( $shortcode_attributes['tax_operator'] ) ) {
|
425 |
Â
$attr_value = strtoupper( $shortcode_attributes['tax_operator'] );
|
426 |
Â
if ( in_array( $attr_value, array( 'IN', 'NOT IN', 'AND' ) ) ) {
|
427 |
+
$default_operator = $attr_value;
|
428 |
Â
}
|
429 |
Â
}
|
430 |
+
|
431 |
Â
foreach ( $tax_input as $taxonomy => $terms ) {
|
432 |
Â
// simple taxonomy query overrides tax_input
|
433 |
Â
if ( $taxonomy == $filter_taxonomy ) {
|
446 |
Â
}
|
447 |
Â
|
448 |
Â
if ( !empty( $terms ) ) {
|
449 |
+
// Numeric values could still be a slug
|
450 |
+
$field = self::$mla_option_values[ $taxonomy ];
|
451 |
Â
foreach ( $terms as $term ) {
|
452 |
+
if ( ! ctype_digit( $term ) ) {
|
453 |
Â
$field = 'slug';
|
454 |
Â
break;
|
455 |
Â
}
|
456 |
Â
}
|
457 |
+
|
458 |
Â
if ( 'term_id' == $field ) {
|
459 |
Â
$values = 'array( ' . implode( ',', $terms ) . ' )';
|
460 |
Â
} else {
|
461 |
Â
$values = "array( '" . implode( "','", $terms ) . "' )";
|
462 |
Â
}
|
463 |
+
|
464 |
+
// Taxonomy-specific "operator"
|
465 |
+
$tax_operator = $default_operator;
|
466 |
+
if ( isset( $shortcode_attributes[ $taxonomy . '_operator' ] ) ) {
|
467 |
+
$attr_value = strtoupper( $shortcode_attributes[ $taxonomy . '_operator' ] );
|
468 |
+
if ( in_array( $attr_value, array( 'IN', 'NOT IN', 'AND' ) ) ) {
|
469 |
+
$tax_operator = $attr_value;
|
470 |
+
}
|
471 |
+
}
|
472 |
+
|
473 |
+
// Taxonomy-specific "include_children"
|
474 |
+
$tax_children = 'true';
|
475 |
+
if ( isset( $shortcode_attributes[ $taxonomy . '_children' ] ) ) {
|
476 |
+
$attr_value = strtolower( $shortcode_attributes[ $taxonomy . '_children' ] );
|
477 |
+
if ( in_array( $attr_value, array( 'false', 'true' ) ) ) {
|
478 |
+
$tax_children = $attr_value;
|
479 |
+
}
|
480 |
+
}
|
481 |
+
|
482 |
+
$tax_query .= "array('taxonomy' => '{$taxonomy}' ,'field' => '{$field}','terms' => {$values}, 'operator' => '{$tax_operator}', 'include_children' => {$tax_children} ), ";
|
483 |
Â
}
|
484 |
Â
}
|
485 |
Â
|
502 |
Â
}
|
503 |
Â
|
504 |
Â
unset( $shortcode_attributes['add_filters_to'] );
|
505 |
+
|
506 |
+
if ( $mla_debug ) {
|
507 |
+
MLACore::mla_debug_add( __LINE__ . ' MLAUIElementsExample::mla_gallery_attributes returns = ' . var_export( $shortcode_attributes, true ) );
|
508 |
+
}
|
509 |
+
|
510 |
Â
return $shortcode_attributes;
|
511 |
Â
} // mla_gallery_attributes
|
512 |
Â
|
755 |
Â
$sort_fields = $allowed_fields;
|
756 |
Â
} else {
|
757 |
Â
$sort_fields = array();
|
758 |
+
|
759 |
Â
if ( 0 === strpos( $arguments['sort_fields'], 'array' ) ) {
|
760 |
Â
$function = @create_function('', 'return ' . $arguments['sort_fields'] . ';' );
|
761 |
Â
if ( is_callable( $function ) ) {
|
785 |
Â
$custom_key = '';
|
786 |
Â
$custom_spec = '';
|
787 |
Â
}
|
788 |
+
|
789 |
Â
if ( !empty( $custom_spec ) ) {
|
790 |
Â
$spec_parts = explode( '=>', $custom_spec );
|
791 |
Â
$spec_key = trim( $spec_parts[0], ' \'"' );
|
792 |
Â
$spec_suffix = '';
|
793 |
+
|
794 |
Â
$tail = strrpos( $spec_key, ' DESC' );
|
795 |
Â
if ( ! ( false === $tail ) ) {
|
796 |
Â
$spec_key = substr( $spec_key, 0, $tail );
|
810 |
Â
if ( empty( $sort_fields ) ) {
|
811 |
Â
return '';
|
812 |
Â
}
|
813 |
+
|
814 |
Â
// Unpack filter values encoded for pagination links
|
815 |
Â
if ( !empty( $_REQUEST['muie_filters'] ) ) {
|
816 |
Â
$filters = json_decode( trim( stripslashes( $_REQUEST['muie_filters'] ), '"' ), true );
|
819 |
Â
$_REQUEST['muie_orderby'] = $filters['muie_orderby'];
|
820 |
Â
}
|
821 |
Â
}
|
822 |
+
|
823 |
Â
if ( !empty( $_REQUEST['muie_orderby'] ) ) {
|
824 |
Â
$current_value = $_REQUEST['muie_orderby'];
|
825 |
Â
} else {
|
831 |
Â
} else {
|
832 |
Â
$output = '';
|
833 |
Â
}
|
834 |
+
|
835 |
Â
$output .= '<select name="muie_orderby" id="muie-orderby">' . "\n";
|
836 |
+
|
837 |
Â
foreach ( $sort_fields as $value => $label ) {
|
838 |
Â
$value = 'empty' === $value ? '' : $value;
|
839 |
Â
|
893 |
Â
$_REQUEST['muie_order'] = $filters['muie_order'];
|
894 |
Â
}
|
895 |
Â
}
|
896 |
+
|
897 |
Â
if ( !empty( $_REQUEST['muie_order'] ) ) {
|
898 |
Â
$current_value = $_REQUEST['muie_order'];
|
899 |
Â
} else {
|
900 |
Â
$current_value = $arguments['default_order'];
|
901 |
Â
}
|
902 |
+
|
903 |
Â
if ( 'DESC' === $current_value ) {
|
904 |
Â
$asc_selected = '';
|
905 |
Â
$desc_selected = ' checked="checked"';
|
944 |
Â
|
945 |
Â
// Accept only the attributes we need and supply defaults
|
946 |
Â
$arguments = shortcode_atts( $default_arguments, $attr );
|
947 |
+
|
948 |
Â
/*
|
949 |
Â
* Build an array of individual clauses that can be filtered
|
950 |
Â
*/
|
1031 |
Â
$query[] = 'WHERE (';
|
1032 |
Â
$query[] = $clauses['where'];
|
1033 |
Â
$query[] = ') ) as subquery';
|
1034 |
+
|
1035 |
Â
$query = join(' ', $query);
|
1036 |
Â
$count = $wpdb->get_var( $query );
|
1037 |
Â
return number_format( (float) $count );
|
examples/plugins/woofixit.php
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
Â
<?php
|
2 |
Â
/**
|
3 |
-
* Adds
|
Â
|
|
4 |
Â
* MLA/WooCommerce repair and enhancement operations.
|
5 |
Â
*
|
6 |
Â
* This example supports several "tools"/operations:
|
@@ -58,27 +59,31 @@
|
|
58 |
Â
* opened on 5/23/2014 by "Dana S".
|
59 |
Â
* https://wordpress.org/support/topic/set-the-product-category-as-alt-and-title-tag-for-all-images/
|
60 |
Â
*
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
61 |
Â
* Enhanced for support topic "Bulk addition of image alt tags to WooCommerce Product Images"
|
62 |
Â
* opened on 11/18/2015 by "Thrive Internet Marketing".
|
63 |
Â
* https://wordpress.org/support/topic/bulk-addition-of-image-alt-tags-to-woocommerce-product-images/
|
64 |
Â
*
|
65 |
-
* Enhanced for support topic "
|
66 |
-
* opened on
|
67 |
-
* https://wordpress.org/support/topic/
|
68 |
Â
*
|
69 |
Â
* @package WooCommerce Fixit
|
70 |
-
* @version
|
71 |
Â
*/
|
72 |
Â
|
73 |
Â
/*
|
74 |
Â
Plugin Name: WooCommerce Fixit
|
75 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
76 |
-
Description: Adds a Tools/Woo Fixit submenu with buttons to perform a variety of MLA/WooCommerce repair and enhancement operations.
|
77 |
Â
Author: David Lingren
|
78 |
-
Version:
|
79 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
80 |
Â
|
81 |
-
Copyright 2014-
|
82 |
Â
|
83 |
Â
This program is free software; you can redistribute it and/or modify
|
84 |
Â
it under the terms of the GNU General Public License as published by
|
@@ -108,7 +113,7 @@ class Woo_Fixit {
|
|
108 |
Â
*
|
109 |
Â
* @var string
|
110 |
Â
*/
|
111 |
-
const CURRENT_VERSION = '
|
112 |
Â
|
113 |
Â
/**
|
114 |
Â
* Slug prefix for registering and enqueueing submenu pages, style sheets and scripts
|
@@ -207,16 +212,219 @@ class Woo_Fixit {
|
|
207 |
Â
* @return void
|
208 |
Â
*/
|
209 |
Â
public static function initialize() {
|
210 |
-
|
211 |
-
|
212 |
-
|
Â
|
|
213 |
Â
if ( !is_admin() )
|
214 |
Â
return;
|
215 |
Â
|
216 |
-
//add_action( 'admin_init', 'Woo_Fixit::
|
217 |
-
add_action( 'admin_menu', 'Woo_Fixit::
|
218 |
Â
}
|
219 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
220 |
Â
/**
|
221 |
Â
* Admin Init Action
|
222 |
Â
*
|
@@ -224,7 +432,7 @@ class Woo_Fixit {
|
|
224 |
Â
*
|
225 |
Â
* @return void
|
226 |
Â
*/
|
227 |
-
public static function
|
228 |
Â
}
|
229 |
Â
|
230 |
Â
/**
|
@@ -234,7 +442,7 @@ class Woo_Fixit {
|
|
234 |
Â
*
|
235 |
Â
* @return void
|
236 |
Â
*/
|
237 |
-
public static function
|
238 |
Â
$current_page_hook = add_submenu_page( 'tools.php', 'WooCommerce Fixit Tools', 'Woo Fixit', 'manage_options', self::SLUG_PREFIX . 'tools', 'Woo_Fixit::render_tools_page' );
|
239 |
Â
add_filter( 'plugin_action_links', 'Woo_Fixit::add_plugin_links_filter', 10, 2 );
|
240 |
Â
}
|
@@ -493,7 +701,7 @@ class Woo_Fixit {
|
|
493 |
Â
|
494 |
Â
/**
|
495 |
Â
* Array of Products giving Product Image and Product Gallery attachments:
|
496 |
-
* product_id => array( '_thumbnail_id' => image_id, '_product_image_gallery' => gallery_ids (comma-delimited string)
|
497 |
Â
*
|
498 |
Â
* @since 1.00
|
499 |
Â
*
|
@@ -854,7 +1062,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
|
|
854 |
Â
$attachment_values[ $value['_thumbnail_id'] ] = $product_terms[ $key ]['name'];
|
855 |
Â
}
|
856 |
Â
|
857 |
-
if (
|
858 |
Â
$ids = explode( ',', $value['_product_image_gallery'] );
|
859 |
Â
foreach( $ids as $id ) {
|
860 |
Â
$attachment_values[ $id ] = $product_terms[ $key ]['name'];
|
@@ -977,7 +1185,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
|
|
977 |
Â
$attachment_values[ $value['_thumbnail_id'] ] = $value['post_title'];
|
978 |
Â
}
|
979 |
Â
|
980 |
-
if (
|
981 |
Â
$ids = explode( ',', $value['_product_image_gallery'] );
|
982 |
Â
foreach( $ids as $id ) {
|
983 |
Â
$attachment_values[ $id ] = $value['post_title'];
|
@@ -1096,7 +1304,7 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
|
|
1096 |
Â
$attachment_values[ $value['_thumbnail_id'] ] = $value['post_title'];
|
1097 |
Â
}
|
1098 |
Â
|
1099 |
-
if (
|
1100 |
Â
$ids = explode( ',', $value['_product_image_gallery'] );
|
1101 |
Â
foreach( $ids as $id ) {
|
1102 |
Â
$attachment_values[ $id ] = $value['post_title'];
|
1 |
Â
<?php
|
2 |
Â
/**
|
3 |
+
* Adds "product:" and "product_terms:" custom substitution prefixes and
|
4 |
+
* adds a Tools/Woo Fixit submenu with buttons to perform a variety of
|
5 |
Â
* MLA/WooCommerce repair and enhancement operations.
|
6 |
Â
*
|
7 |
Â
* This example supports several "tools"/operations:
|
59 |
Â
* opened on 5/23/2014 by "Dana S".
|
60 |
Â
* https://wordpress.org/support/topic/set-the-product-category-as-alt-and-title-tag-for-all-images/
|
61 |
Â
*
|
62 |
+
* Enhanced for support topic "Woocommerce product category"
|
63 |
+
* opened on 9/17/2015 by "vnp_nl".
|
64 |
+
* https://wordpress.org/support/topic/woocommerce-product-category-2/
|
65 |
+
*
|
66 |
Â
* Enhanced for support topic "Bulk addition of image alt tags to WooCommerce Product Images"
|
67 |
Â
* opened on 11/18/2015 by "Thrive Internet Marketing".
|
68 |
Â
* https://wordpress.org/support/topic/bulk-addition-of-image-alt-tags-to-woocommerce-product-images/
|
69 |
Â
*
|
70 |
+
* Enhanced for support topic "Regenerate Bulk ALT TEXT with Product Name + Product Category + Keyword"
|
71 |
+
* opened on 2/21/2017 by "bueyfx".
|
72 |
+
* https://wordpress.org/support/topic/regenerate-bulk-alt-text-with-product-name-product-category-keyword/
|
73 |
Â
*
|
74 |
Â
* @package WooCommerce Fixit
|
75 |
+
* @version 2.01
|
76 |
Â
*/
|
77 |
Â
|
78 |
Â
/*
|
79 |
Â
Plugin Name: WooCommerce Fixit
|
80 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
81 |
+
Description: Adds "product:" and "product_terms:" custom substitution prefixes and adds a Tools/Woo Fixit submenu with buttons to perform a variety of MLA/WooCommerce repair and enhancement operations.
|
82 |
Â
Author: David Lingren
|
83 |
+
Version: 2.01
|
84 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
85 |
Â
|
86 |
+
Copyright 2014-2017 David Lingren
|
87 |
Â
|
88 |
Â
This program is free software; you can redistribute it and/or modify
|
89 |
Â
it under the terms of the GNU General Public License as published by
|
113 |
Â
*
|
114 |
Â
* @var string
|
115 |
Â
*/
|
116 |
+
const CURRENT_VERSION = '2.01';
|
117 |
Â
|
118 |
Â
/**
|
119 |
Â
* Slug prefix for registering and enqueueing submenu pages, style sheets and scripts
|
212 |
Â
* @return void
|
213 |
Â
*/
|
214 |
Â
public static function initialize() {
|
215 |
+
// Defined in /media-library-assistant/includes/class-mla-data.php
|
216 |
+
add_filter( 'mla_expand_custom_prefix', 'Woo_Fixit::mla_expand_custom_prefix', 10, 8 );
|
217 |
+
|
218 |
+
// The other filters are only useful in the admin section; exit if in front-end posts/pages
|
219 |
Â
if ( !is_admin() )
|
220 |
Â
return;
|
221 |
Â
|
222 |
+
//add_action( 'admin_init', 'Woo_Fixit::admin_init' );
|
223 |
+
add_action( 'admin_menu', 'Woo_Fixit::admin_menu' );
|
224 |
Â
}
|
225 |
Â
|
226 |
+
/**
|
227 |
+
* Evaluate product_terms: values
|
228 |
+
*
|
229 |
+
* @since 2.00
|
230 |
+
*
|
231 |
+
* @param mixed String or array - initial value
|
232 |
+
* @param mixed Integer or array; the Post ID(s) of the product(s)
|
233 |
+
* @param string Taxonomy slug
|
234 |
+
* @param string Field name in term object
|
235 |
+
* @param string Format/option; text,single,export,unpack,array
|
236 |
+
*
|
237 |
+
* @return mixed String or array; values or error messages
|
238 |
+
*/
|
239 |
+
private static function _evaluate_terms( $custom_value, $products, $taxonomy, $qualifier, $option ) {
|
240 |
+
if ( empty( $products ) ) {
|
241 |
+
return $custom_value;
|
242 |
+
}
|
243 |
+
|
244 |
+
if ( is_scalar( $products ) ) {
|
245 |
+
$products = array( absint( $products ) => absint( $products ) );
|
246 |
+
}
|
247 |
+
|
248 |
+
if ( empty( $qualifier ) ) {
|
249 |
+
$qualifier = 'name';
|
250 |
+
}
|
251 |
+
|
252 |
+
$all_terms = array();
|
253 |
+
foreach ( $products as $product ) {
|
254 |
+
$terms = get_object_term_cache( $product, $taxonomy );
|
255 |
+
if ( false === $terms ) {
|
256 |
+
$terms = wp_get_object_terms( $product, $taxonomy );
|
257 |
+
if ( is_wp_error( $terms ) ) {
|
258 |
+
return implode( ',', $terms->get_error_messages() );
|
259 |
+
}
|
260 |
+
//error_log( __LINE__ . " Woo_Fixit::_evaluate_terms( {$product}, {$taxonomy}, {$qualifier}, {$option} ) terms = " . var_export( $terms, true ), 0 );
|
261 |
+
|
262 |
+
wp_cache_add( $product, $terms, $taxonomy . '_relationships' );
|
263 |
+
}
|
264 |
+
|
265 |
+
$all_terms = array_merge( $all_terms, $terms );
|
266 |
+
}
|
267 |
+
//error_log( __LINE__ . " Woo_Fixit::_evaluate_terms( {$product}, {$taxonomy}, {$qualifier}, {$option} ) all_terms = " . var_export( $all_terms, true ), 0 );
|
268 |
+
|
269 |
+
if ( 'array' == $option ) {
|
270 |
+
$custom_value = array();
|
271 |
+
} else {
|
272 |
+
$custom_value = '';
|
273 |
+
}
|
274 |
+
|
275 |
+
if ( ! empty( $all_terms ) ) {
|
276 |
+
if ( 'single' == $option || 1 == count( $all_terms ) ) {
|
277 |
+
reset( $all_terms );
|
278 |
+
$term = current( $all_terms );
|
279 |
+
$fields = get_object_vars( $term );
|
280 |
+
$custom_value = isset( $fields[ $qualifier ] ) ? $fields[ $qualifier ] : $fields['name'];
|
281 |
+
$custom_value = sanitize_term_field( $qualifier, $custom_value, $term->term_id, $taxonomy, 'display' );
|
282 |
+
} elseif ( ( 'export' == $option ) || ( 'unpack' == $option ) ) {
|
283 |
+
$custom_value = sanitize_text_field( var_export( $all_terms, true ) );
|
284 |
+
} else {
|
285 |
+
foreach ( $all_terms as $term ) {
|
286 |
+
$fields = get_object_vars( $term );
|
287 |
+
$field_value = isset( $fields[ $qualifier ] ) ? $fields[ $qualifier ] : $fields['name'];
|
288 |
+
$field_value = sanitize_term_field( $qualifier, $field_value, $term->term_id, $taxonomy, 'display' );
|
289 |
+
|
290 |
+
if ( 'array' == $option ) {
|
291 |
+
$custom_value[] = $field_value;
|
292 |
+
} else {
|
293 |
+
$custom_value .= strlen( $custom_value ) ? ', ' . $field_value : $field_value;
|
294 |
+
}
|
295 |
+
}
|
296 |
+
}
|
297 |
+
}
|
298 |
+
|
299 |
+
//error_log( __LINE__ . " Woo_Fixit::_evaluate_terms( {$product}, {$taxonomy}, {$qualifier}, {$option} ) custom_value = " . var_export( $custom_value, true ), 0 );
|
300 |
+
return $custom_value;
|
301 |
+
} // _evaluate_terms
|
302 |
+
|
303 |
+
/**
|
304 |
+
* Add the "product:" and "product_terms:" custom substitution prefixes
|
305 |
+
*
|
306 |
+
* @since 2.00
|
307 |
+
*
|
308 |
+
* @param string NULL, indicating that by default, no custom value is available
|
309 |
+
* @param string the data-source name
|
310 |
+
* @param array data-source components; prefix (empty), value, option, format and args (if present)
|
311 |
+
* @param array values from the query, if any, e.g. shortcode parameters
|
312 |
+
* @param array item-level markup template values, if any
|
313 |
+
* @param integer attachment ID for attachment-specific values
|
314 |
+
* @param boolean for option 'multi', retain existing values
|
315 |
+
* @param string default option value
|
316 |
+
*/
|
317 |
+
public static function mla_expand_custom_prefix( $custom_value, $key, $value, $query, $markup_values, $post_id, $keep_existing, $default_option ) {
|
318 |
+
static $product_cache = array();
|
319 |
+
|
320 |
+
//error_log( __LINE__ . " Woo_Fixit::mla_expand_custom_prefix( {$key}, {$post_id}, {$keep_existing}, {$default_option} ) value = " . var_export( $value, true ), 0 );
|
321 |
+
//error_log( __LINE__ . " Woo_Fixit::mla_expand_custom_prefix( {$key}, {$post_id} ) query = " . var_export( $query, true ), 0 );
|
322 |
+
//error_log( __LINE__ . " Woo_Fixit::mla_expand_custom_prefix( {$key}, {$post_id} ) markup_values = " . var_export( $markup_values, true ), 0 );
|
323 |
+
|
324 |
+
// Look for field/value qualifier
|
325 |
+
$match_count = preg_match( '/^(.+)\((.+)\)/', $value['value'], $matches );
|
326 |
+
if ( $match_count ) {
|
327 |
+
$field = $matches[1];
|
328 |
+
$qualifier = $matches[2];
|
329 |
+
} else {
|
330 |
+
$field = $value['value'];
|
331 |
+
$qualifier = '';
|
332 |
+
}
|
333 |
+
|
334 |
+
if ( 0 == absint( $post_id ) ) {
|
335 |
+
return $custom_value;
|
336 |
+
}
|
337 |
+
|
338 |
+
// Find all the attachments associated with products
|
339 |
+
if ( empty( self::$attachment_products ) ) {
|
340 |
+
self::_build_product_attachments( true );
|
341 |
+
}
|
342 |
+
|
343 |
+
// What product(s) are associated with this item?
|
344 |
+
$products = array();
|
345 |
+
if ( isset( self::$attachment_products[ $post_id ] ) ) {
|
346 |
+
if ( isset( self::$attachment_products[ $post_id ]['_thumbnail_id'] ) ) {
|
347 |
+
foreach ( self::$attachment_products[ $post_id ]['_thumbnail_id'] as $product ) {
|
348 |
+
$products[ $product ] = $product;
|
349 |
+
}
|
350 |
+
}
|
351 |
+
|
352 |
+
if ( !empty( self::$attachment_products[ $post_id ]['_product_image_gallery'] ) ) {
|
353 |
+
foreach ( self::$attachment_products[ $post_id ]['_product_image_gallery'] as $product ) {
|
354 |
+
$products[ $product ] = $product;
|
355 |
+
}
|
356 |
+
}
|
357 |
+
} else {
|
358 |
+
return $custom_value;
|
359 |
+
}
|
360 |
+
//error_log( __LINE__ . " Woo_Fixit::mla_expand_custom_prefix( {$key}, {$post_id} ) products = " . var_export( $products, true ), 0 );
|
361 |
+
|
362 |
+
if ( 'product_terms' == $value['prefix'] ) {
|
363 |
+
$custom_value = self::_evaluate_terms( $custom_value, $products, $field, $qualifier, $value['option'] );
|
364 |
+
} elseif ( 'product' == $value['prefix'] ) {
|
365 |
+
$custom_value = array();
|
366 |
+
foreach ( $products as $product_id ) {
|
367 |
+
if ( isset( $product_cache[ $product_id ] ) ) {
|
368 |
+
$product = $product_cache[ $product_id ];
|
369 |
+
} else {
|
370 |
+
$product = get_post( $product_id );
|
371 |
+
|
372 |
+
if ( $product instanceof WP_Post && $product->ID == $product_id ) {
|
373 |
+
$product_cache[ $product_id ] = $product;
|
374 |
+
} else {
|
375 |
+
continue;
|
376 |
+
}
|
377 |
+
}
|
378 |
+
|
379 |
+
if ( property_exists( $product, $value['value'] ) ) {
|
380 |
+
$custom_value[] = $product->{$value['value']};
|
381 |
+
} elseif ( 'permalink' == $value['value'] ) {
|
382 |
+
$custom_value[] = get_permalink( $product );
|
383 |
+
} else {
|
384 |
+
// Look for a custom field match
|
385 |
+
$meta_value = get_metadata( 'post', $product_id, $value['value'], false );
|
386 |
+
//error_log( __LINE__ . " Woo_Fixit::mla_expand_custom_prefix( {$key}, {$post_id}, {$product_id} ) meta_value = " . var_export( $meta_value, true ), 0 );
|
387 |
+
if ( !empty( $meta_value ) ) {
|
388 |
+
if ( is_array( $meta_value ) ) {
|
389 |
+
$custom_value = array_merge( $custom_value, $meta_value );
|
390 |
+
} else {
|
391 |
+
$custom_value[] = $meta_value;
|
392 |
+
}
|
393 |
+
}
|
394 |
+
}
|
395 |
+
}
|
396 |
+
//error_log( __LINE__ . " Woo_Fixit::mla_expand_custom_prefix( {$key}, {$post_id} ) custom_value = " . var_export( $custom_value, true ), 0 );
|
397 |
+
|
398 |
+
if ( is_array( $custom_value ) ) {
|
399 |
+
if ( 'single' == $value['option'] || 1 == count( $custom_value ) ) {
|
400 |
+
$custom_value = sanitize_text_field( reset( $custom_value ) );
|
401 |
+
} elseif ( ( 'export' == $value['option'] ) || ( 'unpack' == $value['option'] ) ) {
|
402 |
+
$custom_value = sanitize_text_field( var_export( $custom_value, true ) );
|
403 |
+
} else {
|
404 |
+
if ( 'array' == $value['option'] ) {
|
405 |
+
$new_value = array();
|
406 |
+
} else {
|
407 |
+
$new_value = '';
|
408 |
+
}
|
409 |
+
|
410 |
+
foreach ( $custom_value as $element ) {
|
411 |
+
$field_value = sanitize_text_field( $element );
|
412 |
+
|
413 |
+
if ( 'array' == $value['option'] ) {
|
414 |
+
$new_value[] = $field_value;
|
415 |
+
} else {
|
416 |
+
$new_value .= strlen( $new_value ) ? ', ' . $field_value : $field_value;
|
417 |
+
}
|
418 |
+
} // foreach element
|
419 |
+
|
420 |
+
$custom_value = $new_value;
|
421 |
+
}
|
422 |
+
}
|
423 |
+
} // prefix = product:
|
424 |
+
|
425 |
+
return $custom_value;
|
426 |
+
} // mla_expand_custom_prefix
|
427 |
+
|
428 |
Â
/**
|
429 |
Â
* Admin Init Action
|
430 |
Â
*
|
432 |
Â
*
|
433 |
Â
* @return void
|
434 |
Â
*/
|
435 |
+
public static function admin_init() {
|
436 |
Â
}
|
437 |
Â
|
438 |
Â
/**
|
442 |
Â
*
|
443 |
Â
* @return void
|
444 |
Â
*/
|
445 |
+
public static function admin_menu( ) {
|
446 |
Â
$current_page_hook = add_submenu_page( 'tools.php', 'WooCommerce Fixit Tools', 'Woo Fixit', 'manage_options', self::SLUG_PREFIX . 'tools', 'Woo_Fixit::render_tools_page' );
|
447 |
Â
add_filter( 'plugin_action_links', 'Woo_Fixit::add_plugin_links_filter', 10, 2 );
|
448 |
Â
}
|
701 |
Â
|
702 |
Â
/**
|
703 |
Â
* Array of Products giving Product Image and Product Gallery attachments:
|
704 |
+
* product_id => array( 'post_title' => product Title, '_thumbnail_id' => image_id, '_product_image_gallery' => gallery_ids (comma-delimited string)
|
705 |
Â
*
|
706 |
Â
* @since 1.00
|
707 |
Â
*
|
1062 |
Â
$attachment_values[ $value['_thumbnail_id'] ] = $product_terms[ $key ]['name'];
|
1063 |
Â
}
|
1064 |
Â
|
1065 |
+
if ( !empty( $value['_product_image_gallery'] ) ) {
|
1066 |
Â
$ids = explode( ',', $value['_product_image_gallery'] );
|
1067 |
Â
foreach( $ids as $id ) {
|
1068 |
Â
$attachment_values[ $id ] = $product_terms[ $key ]['name'];
|
1185 |
Â
$attachment_values[ $value['_thumbnail_id'] ] = $value['post_title'];
|
1186 |
Â
}
|
1187 |
Â
|
1188 |
+
if ( !empty( $value['_product_image_gallery'] ) ) {
|
1189 |
Â
$ids = explode( ',', $value['_product_image_gallery'] );
|
1190 |
Â
foreach( $ids as $id ) {
|
1191 |
Â
$attachment_values[ $id ] = $value['post_title'];
|
1304 |
Â
$attachment_values[ $value['_thumbnail_id'] ] = $value['post_title'];
|
1305 |
Â
}
|
1306 |
Â
|
1307 |
+
if ( !empty( $value['_product_image_gallery'] ) ) {
|
1308 |
Â
$ids = explode( ',', $value['_product_image_gallery'] );
|
1309 |
Â
foreach( $ids as $id ) {
|
1310 |
Â
$attachment_values[ $id ] = $value['post_title'];
|
includes/class-mla-admin-columns-support-deprecated.php
CHANGED
@@ -104,17 +104,20 @@ class CPAC_Deprecated_Storage_Model_MLA extends CPAC_Storage_Model {
|
|
104 |
Â
* Find all of the custom field names assigned to Media Library items
|
105 |
Â
*/
|
106 |
Â
$meta = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = 'attachment' ORDER BY 1", ARRAY_N );
|
Â
|
|
107 |
Â
|
108 |
Â
/*
|
109 |
Â
* Find the fields already present in the submenu table
|
110 |
Â
*/
|
111 |
Â
$mla_columns = apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns );
|
Â
|
|
112 |
Â
$mla_custom = array();
|
113 |
Â
foreach ( $mla_columns as $slug => $heading ) {
|
114 |
Â
if ( 'c_' === substr( $slug, 0, 2 ) ) {
|
115 |
Â
$mla_custom[] = $heading;
|
116 |
Â
}
|
117 |
Â
}
|
Â
|
|
118 |
Â
|
119 |
Â
/*
|
120 |
Â
* Remove the fields already present in the submenu table
|
@@ -125,6 +128,7 @@ class CPAC_Deprecated_Storage_Model_MLA extends CPAC_Storage_Model {
|
|
125 |
Â
}
|
126 |
Â
}
|
127 |
Â
|
Â
|
|
128 |
Â
return $meta;
|
129 |
Â
}
|
130 |
Â
|
104 |
Â
* Find all of the custom field names assigned to Media Library items
|
105 |
Â
*/
|
106 |
Â
$meta = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = 'attachment' ORDER BY 1", ARRAY_N );
|
107 |
+
//error_log( __LINE__ . ' CPAC_Deprecated_Storage_Model_MLA::get_meta meta = ' . var_export( $meta, true ), 0 );
|
108 |
Â
|
109 |
Â
/*
|
110 |
Â
* Find the fields already present in the submenu table
|
111 |
Â
*/
|
112 |
Â
$mla_columns = apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns );
|
113 |
+
//error_log( __LINE__ . ' CPAC_Deprecated_Storage_Model_MLA::get_meta mla_columns = ' . var_export( $mla_columns, true ), 0 );
|
114 |
Â
$mla_custom = array();
|
115 |
Â
foreach ( $mla_columns as $slug => $heading ) {
|
116 |
Â
if ( 'c_' === substr( $slug, 0, 2 ) ) {
|
117 |
Â
$mla_custom[] = $heading;
|
118 |
Â
}
|
119 |
Â
}
|
120 |
+
//error_log( __LINE__ . ' CPAC_Deprecated_Storage_Model_MLA::get_meta mla_custom = ' . var_export( $mla_custom, true ), 0 );
|
121 |
Â
|
122 |
Â
/*
|
123 |
Â
* Remove the fields already present in the submenu table
|
128 |
Â
}
|
129 |
Â
}
|
130 |
Â
|
131 |
+
//error_log( __LINE__ . ' CPAC_Deprecated_Storage_Model_MLA::get_meta meta = ' . var_export( $meta, true ), 0 );
|
132 |
Â
return $meta;
|
133 |
Â
}
|
134 |
Â
|
includes/class-mla-admin-columns-support.php
CHANGED
@@ -3,113 +3,160 @@
|
|
3 |
Â
* Media Library Assistant Admin Columns (plugin) Support
|
4 |
Â
*
|
5 |
Â
* @package Media Library Assistant
|
6 |
-
* @since 2.
|
7 |
Â
*/
|
8 |
Â
defined( 'ABSPATH' ) or die();
|
9 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
10 |
Â
/**
|
11 |
-
* Class
|
12 |
Â
*
|
13 |
Â
* @package Media Library Assistant
|
14 |
-
* @since 2.
|
15 |
Â
*/
|
16 |
-
class
|
17 |
Â
|
18 |
Â
/**
|
19 |
-
*
|
20 |
-
*
|
21 |
Â
*
|
22 |
-
* @since 2.
|
23 |
Â
*/
|
24 |
-
public function
|
25 |
-
|
Â
|
|
26 |
Â
|
27 |
-
$this->
|
28 |
-
$this->
|
29 |
-
$this->
|
30 |
-
$this->
|
31 |
-
$this->
|
32 |
Â
|
Â
|
|
Â
|
|
33 |
Â
}
|
34 |
Â
|
35 |
Â
/**
|
36 |
-
*
|
37 |
Â
*
|
38 |
-
* @since 2.
|
39 |
Â
*/
|
40 |
-
public function
|
41 |
-
|
Â
|
|
42 |
Â
}
|
43 |
Â
|
44 |
Â
/**
|
45 |
-
*
|
46 |
Â
*
|
47 |
-
* @since 2.
|
48 |
Â
*
|
49 |
-
* @return
|
50 |
Â
*/
|
51 |
-
public function
|
52 |
Â
if ( ! class_exists( 'MLAQuery' ) ) {
|
Â
|
|
53 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
|
54 |
Â
MLAQuery::initialize();
|
55 |
Â
}
|
Â
|
|
Â
|
|
56 |
Â
|
57 |
-
return
|
58 |
Â
}
|
59 |
Â
|
60 |
Â
/**
|
61 |
-
*
|
62 |
-
* in the Media/Assistant submenu table
|
63 |
Â
*
|
64 |
-
* @
|
Â
|
|
Â
|
|
65 |
Â
*
|
66 |
-
* @return
|
67 |
Â
*/
|
68 |
-
public function
|
69 |
-
|
70 |
-
|
71 |
-
/*
|
72 |
-
* Find all of the custom field names assigned to Media Library items
|
73 |
-
*/
|
74 |
-
$meta = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = 'attachment' ORDER BY 1", ARRAY_N );
|
75 |
-
|
76 |
-
/*
|
77 |
-
* Find the fields already present in the submenu table
|
78 |
-
*/
|
79 |
-
$mla_columns = apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns );
|
80 |
-
$mla_custom = array();
|
81 |
-
foreach ( $mla_columns as $slug => $heading ) {
|
82 |
-
if ( 'c_' === substr( $slug, 0, 2 ) ) {
|
83 |
-
$mla_custom[] = $heading;
|
84 |
-
}
|
85 |
-
}
|
86 |
-
|
87 |
-
/*
|
88 |
-
* Remove the fields already present in the submenu table
|
89 |
-
*/
|
90 |
-
foreach ( $meta as $index => $value ) {
|
91 |
-
if ( in_array( esc_html( current( $value ) ), $mla_custom ) ) {
|
92 |
-
unset( $meta[ $index ] );
|
93 |
-
}
|
94 |
Â
}
|
95 |
Â
|
96 |
-
|
Â
|
|
97 |
Â
}
|
98 |
Â
|
Â
|
|
99 |
Â
/**
|
100 |
-
*
|
101 |
-
*
|
102 |
-
* @since 2.22
|
103 |
Â
*
|
104 |
-
* @param
|
105 |
-
* @param object $item Current Media Library item
|
106 |
-
* @param string $column_name Current column slug
|
107 |
Â
*
|
108 |
-
* @return
|
109 |
Â
*/
|
110 |
-
public function
|
111 |
-
$
|
Â
|
|
112 |
Â
|
113 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
114 |
Â
}
|
115 |
-
|
Â
|
3 |
Â
* Media Library Assistant Admin Columns (plugin) Support
|
4 |
Â
*
|
5 |
Â
* @package Media Library Assistant
|
6 |
+
* @since 2.50
|
7 |
Â
*/
|
8 |
Â
defined( 'ABSPATH' ) or die();
|
9 |
Â
|
10 |
+
if ( class_exists( 'ACP_Editing_Strategy' ) ) {
|
11 |
+
/**
|
12 |
+
* Class Admin Columns Addon MLA (Media Library Assistant) Editing Strategy supports the Admin Columns plugin
|
13 |
+
*
|
14 |
+
* @package Media Library Assistant
|
15 |
+
* @since 2.50
|
16 |
+
*/
|
17 |
+
class AC_Addon_MLA_Editing_Strategy extends ACP_Editing_Strategy {
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Get the available items on the current page for passing them to JS
|
21 |
+
*
|
22 |
+
* @since 2.50
|
23 |
+
*
|
24 |
+
* @return array Items on the current page ([entry_id] => (array) [entry_data])
|
25 |
+
*/
|
26 |
+
public function get_rows() {
|
27 |
+
//error_log( __LINE__ . ' AC_Addon_MLA_Editing_Strategy::get_rows ', 0 );
|
28 |
+
$table = $this->column->get_list_screen()->get_list_table();
|
29 |
+
$table->prepare_items();
|
30 |
+
|
31 |
+
//error_log( __LINE__ . ' AC_Addon_MLA_Editing_Strategy::get_rows editable rows = ' . var_export( $this->get_editable_rows( $table->items ), true ), 0 );
|
32 |
+
return $this->get_editable_rows( $table->items );
|
33 |
+
}
|
34 |
+
|
35 |
+
|
36 |
+
/**
|
37 |
+
* See if the user has write permission for a post/object
|
38 |
+
*
|
39 |
+
* @since 2.50
|
40 |
+
*
|
41 |
+
* @param int $post_id Object ID
|
42 |
+
*
|
43 |
+
* @return bool $post->ID when user can edit object else false.
|
44 |
+
*/
|
45 |
+
public function user_has_write_permission( $post_id ) {
|
46 |
+
$post = is_a( $post_id, 'WP_Post' ) ? $post_id : get_post( $post_id );
|
47 |
+
|
48 |
+
return $post && isset( $post->ID ) && current_user_can( 'edit_post', $post->ID ) ? $post->ID : false;
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Updates column content from inline editing
|
53 |
+
*
|
54 |
+
* @param int $object_id
|
55 |
+
* @param array $args
|
56 |
+
*/
|
57 |
+
public function update( $id, $args ) {
|
58 |
+
//error_log( __LINE__ . " AC_Addon_MLA_Editing_Strategy::update( {$id} ) args = " . var_export( $args, true ), 0 );
|
59 |
+
return;
|
60 |
+
|
61 |
+
$args['ID'] = $id;
|
62 |
+
|
63 |
+
wp_update_post( $args );
|
64 |
+
} // */
|
65 |
+
}
|
66 |
+
}
|
67 |
+
|
68 |
Â
/**
|
69 |
+
* Class Admin Columns Addon MLA (Media Library Assistant) List Screen supports the Admin Columns plugin
|
70 |
Â
*
|
71 |
Â
* @package Media Library Assistant
|
72 |
+
* @since 2.50
|
73 |
Â
*/
|
74 |
+
class AC_Addon_MLA_ListScreen extends AC_ListScreen_Media {
|
75 |
Â
|
76 |
Â
/**
|
77 |
+
* Initializes some properties, installs filters and then
|
78 |
+
* calls the parent constructor to set some default configs.
|
79 |
Â
*
|
80 |
+
* @since 2.50
|
81 |
Â
*/
|
82 |
+
public function __construct() {
|
83 |
+
//error_log( __LINE__ . ' AC_Addon_MLA_ListScreen::__construct ', 0 );
|
84 |
+
parent::__construct();
|
85 |
Â
|
86 |
+
$this->set_key( 'mla-media-assistant' );
|
87 |
+
$this->set_label( __( 'Media Library Assistant' ) );
|
88 |
+
$this->set_singular_label( __( 'Assistant' ) );
|
89 |
+
$this->set_screen_id( 'media_page_' . MLACore::ADMIN_PAGE_SLUG );
|
90 |
+
$this->set_page( MLACore::ADMIN_PAGE_SLUG );
|
91 |
Â
|
92 |
+
/** @see MLA_List_Table */
|
93 |
+
$this->set_list_table_class( 'MLA_List_Table' );
|
94 |
Â
}
|
95 |
Â
|
96 |
Â
/**
|
97 |
+
* Contains the hook that contains the manage_value callback
|
98 |
Â
*
|
99 |
+
* @since 2.50
|
100 |
Â
*/
|
101 |
+
public function set_manage_value_callback() {
|
102 |
+
//error_log( __LINE__ . ' AC_Addon_MLA_ListScreen::set_manage_value_callback ', 0 );
|
103 |
+
add_filter( 'mla_list_table_column_default', array( $this, 'column_default_value' ), 100, 3 );
|
104 |
Â
}
|
105 |
Â
|
106 |
Â
/**
|
107 |
+
* Default column headers
|
108 |
Â
*
|
109 |
+
* @since 2.50
|
110 |
Â
*
|
111 |
+
* @return array
|
112 |
Â
*/
|
113 |
+
public function get_column_headers() {
|
114 |
Â
if ( ! class_exists( 'MLAQuery' ) ) {
|
115 |
+
//error_log( __LINE__ . ' AC_Addon_MLA_ListScreen::get_column_headers require_once ', 0 );
|
116 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
|
117 |
Â
MLAQuery::initialize();
|
118 |
Â
}
|
119 |
+
//static $first_call = true;
|
120 |
+
//if ( $first_call ) { error_log( __LINE__ . ' AC_Addon_MLA_ListScreen::get_column_headers (first call only)', 0 ); $first_call = false; }
|
121 |
Â
|
122 |
+
return apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns );
|
123 |
Â
}
|
124 |
Â
|
125 |
Â
/**
|
126 |
+
* Return the column value
|
Â
|
|
127 |
Â
*
|
128 |
+
* @param string|null $content
|
129 |
+
* @param WP_Post $object
|
130 |
+
* @param string $column_name
|
131 |
Â
*
|
132 |
+
* @return string|false
|
133 |
Â
*/
|
134 |
+
public function column_default_value( $content, $post, $column_name ) {
|
135 |
+
if ( is_null( $content ) ) {
|
136 |
+
$content = $this->get_display_value_by_column_name( $column_name, $post->ID );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
137 |
Â
}
|
138 |
Â
|
139 |
+
//error_log( __LINE__ . " AC_Addon_MLA_ListScreen::column_default_value( $column_name ) content = " . var_export( $content, true ), 0 );
|
140 |
+
return $content;
|
141 |
Â
}
|
142 |
Â
|
143 |
+
|
144 |
Â
/**
|
145 |
+
* Create and return a new MLA List Table object
|
Â
|
|
Â
|
|
146 |
Â
*
|
147 |
+
* @param array $args
|
Â
|
|
Â
|
|
148 |
Â
*
|
149 |
+
* @return WP_List_Table|false
|
150 |
Â
*/
|
151 |
+
public function get_list_table( $args = array() ) {
|
152 |
+
$class = $this->get_list_table_class();
|
153 |
+
//error_log( __LINE__ . " AC_Addon_MLA_ListScreen::get_list_table( $class )", 0 );
|
154 |
Â
|
155 |
+
if ( ! class_exists( $class ) ) {
|
156 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-list-table.php' );
|
157 |
+
}
|
158 |
+
|
159 |
+
return new $class;
|
160 |
Â
}
|
161 |
+
|
162 |
+
}
|
includes/class-mla-ajax.php
CHANGED
@@ -13,6 +13,17 @@
|
|
13 |
Â
* @since 2.20
|
14 |
Â
*/
|
15 |
Â
class MLA_Ajax {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
16 |
Â
/**
|
17 |
Â
* Initialization function, similar to __construct()
|
18 |
Â
*
|
@@ -31,10 +42,12 @@ class MLA_Ajax {
|
|
31 |
Â
* @since 2.20
|
32 |
Â
*/
|
33 |
Â
public static function mla_admin_init_action( ) {
|
34 |
-
|
Â
|
|
Â
|
|
35 |
Â
if ( $_REQUEST['action'] !== 'heartbeat' ) {
|
36 |
-
//error_log( __LINE__ .
|
37 |
-
MLACore::mla_debug_add( "MLA_Ajax::mla_admin_init_action \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
38 |
Â
}
|
39 |
Â
|
40 |
Â
/*
|
13 |
Â
* @since 2.20
|
14 |
Â
*/
|
15 |
Â
class MLA_Ajax {
|
16 |
+
/**
|
17 |
+
* True if limiting MLA to AJAX support, false if loading all of MLA
|
18 |
+
*
|
19 |
+
* Recorded here for debug logging purposes; set in mla-plugin-loader.php.
|
20 |
+
*
|
21 |
+
* @since 2.50
|
22 |
+
*
|
23 |
+
* @var boolean
|
24 |
+
*/
|
25 |
+
public static $ajax_only = NULL;
|
26 |
+
|
27 |
Â
/**
|
28 |
Â
* Initialization function, similar to __construct()
|
29 |
Â
*
|
42 |
Â
* @since 2.20
|
43 |
Â
*/
|
44 |
Â
public static function mla_admin_init_action( ) {
|
45 |
+
$ajax_only = var_export( self::$ajax_only, true );
|
46 |
+
|
47 |
+
//error_log( __LINE__ . " DEBUG: MLA_Ajax::mla_admin_init_action( {$ajax_only} ) $_REQUEST = " . var_export( $_REQUEST, true ), 0 );
|
48 |
Â
if ( $_REQUEST['action'] !== 'heartbeat' ) {
|
49 |
+
//error_log( __LINE__ . " DEBUG: MLA_Ajax::mla_admin_init_action( {$ajax_only} ) $_REQUEST = " . var_export( $_REQUEST, true ), 0 );
|
50 |
+
MLACore::mla_debug_add( __LINE__ . " MLA_Ajax::mla_admin_init_action( {$ajax_only} ) \$_REQUEST = " . var_export( $_REQUEST, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
51 |
Â
}
|
52 |
Â
|
53 |
Â
/*
|
includes/class-mla-core-options.php
CHANGED
@@ -1048,14 +1048,14 @@ class MLACoreOptions {
|
|
1048 |
Â
'name' => __( 'Enable custom field mapping when adding new media', 'media-library-assistant' ),
|
1049 |
Â
'type' => 'checkbox',
|
1050 |
Â
'std' => '',
|
1051 |
-
'help' => __( '
|
1052 |
Â
|
1053 |
Â
'enable_custom_field_update' =>
|
1054 |
Â
array('tab' => 'custom_field',
|
1055 |
Â
'name' => __( 'Enable custom field mapping when updating media metadata', 'media-library-assistant' ),
|
1056 |
Â
'type' => 'checkbox',
|
1057 |
Â
'std' => '',
|
1058 |
-
'help' => __( '
|
1059 |
Â
|
1060 |
Â
'custom_field_mapping' =>
|
1061 |
Â
array('tab' => '',
|
1048 |
Â
'name' => __( 'Enable custom field mapping when adding new media', 'media-library-assistant' ),
|
1049 |
Â
'type' => 'checkbox',
|
1050 |
Â
'std' => '',
|
1051 |
+
'help' => __( 'See Help menu.', 'media-library-assistant' )),
|
1052 |
Â
|
1053 |
Â
'enable_custom_field_update' =>
|
1054 |
Â
array('tab' => 'custom_field',
|
1055 |
Â
'name' => __( 'Enable custom field mapping when updating media metadata', 'media-library-assistant' ),
|
1056 |
Â
'type' => 'checkbox',
|
1057 |
Â
'std' => '',
|
1058 |
+
'help' => __( 'See Help menu.', 'media-library-assistant' )),
|
1059 |
Â
|
1060 |
Â
'custom_field_mapping' =>
|
1061 |
Â
array('tab' => '',
|
includes/class-mla-core.php
CHANGED
@@ -21,7 +21,7 @@ class MLACore {
|
|
21 |
Â
*
|
22 |
Â
* @var string
|
23 |
Â
*/
|
24 |
-
const CURRENT_MLA_VERSION = '2.
|
25 |
Â
|
26 |
Â
/**
|
27 |
Â
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
@@ -140,6 +140,15 @@ class MLACore {
|
|
140 |
Â
*/
|
141 |
Â
const MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP = 'single_item_custom_field_map';
|
142 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
143 |
Â
/**
|
144 |
Â
* mla_admin_action value for mapping IPTC/EXIF metadata
|
145 |
Â
*
|
@@ -1014,6 +1023,7 @@ class MLACore {
|
|
1014 |
Â
|
1015 |
Â
foreach ( $option_values as $key => $value ) {
|
1016 |
Â
$slug = 'c_' . $index++; // sanitize_title( $key ); Didn't handle HTML in name, e.g., "R><B"
|
Â
|
|
1017 |
Â
|
1018 |
Â
switch( $support_type ) {
|
1019 |
Â
case 'custom_columns':
|
@@ -1563,22 +1573,16 @@ class MLACore {
|
|
1563 |
Â
public static $admin_columns_storage_model = NULL;
|
1564 |
Â
|
1565 |
Â
/**
|
1566 |
-
* Define the Media/Assistant submenu screen to the Admin Columns plugin
|
1567 |
Â
*
|
1568 |
Â
* @since 2.22
|
1569 |
Â
*
|
1570 |
Â
* @param array $storage_models List of storage model class instances ( [key] => [CPAC_Storage_Model object] )
|
1571 |
Â
* @param object $cpac CPAC, the root CodePress Admin Columns object
|
1572 |
Â
*/
|
1573 |
-
public static function
|
1574 |
-
|
1575 |
-
|
1576 |
-
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-admin-columns-support.php' );
|
1577 |
-
MLACore::$admin_columns_storage_model = new CPAC_Storage_Model_MLA();
|
1578 |
-
} else {
|
1579 |
-
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-admin-columns-support-deprecated.php' );
|
1580 |
-
MLACore::$admin_columns_storage_model = new CPAC_Deprecated_Storage_Model_MLA();
|
1581 |
-
}
|
1582 |
Â
|
1583 |
Â
/*
|
1584 |
Â
* Put MLA before/after WP Media Library so is_columns_screen() will work
|
@@ -1607,6 +1611,126 @@ class MLACore {
|
|
1607 |
Â
|
1608 |
Â
return $new_models;
|
1609 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1610 |
Â
} // Class MLACore
|
1611 |
Â
|
1612 |
Â
/*
|
@@ -1691,5 +1815,11 @@ add_action( 'init', 'MLAMime::initialize', 0x7FFFFFFF );
|
|
1691 |
Â
/*
|
1692 |
Â
* Admin Columns plugin support
|
1693 |
Â
*/
|
1694 |
-
add_filter( 'cac/storage_models', 'MLACore::
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1695 |
Â
?>
|
21 |
Â
*
|
22 |
Â
* @var string
|
23 |
Â
*/
|
24 |
+
const CURRENT_MLA_VERSION = '2.50';
|
25 |
Â
|
26 |
Â
/**
|
27 |
Â
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
140 |
Â
*/
|
141 |
Â
const MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP = 'single_item_custom_field_map';
|
142 |
Â
|
143 |
+
/**
|
144 |
+
* mla_admin_action value for purging Custom Field values
|
145 |
+
*
|
146 |
+
* @since 2.50
|
147 |
+
*
|
148 |
+
* @var string
|
149 |
+
*/
|
150 |
+
const MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE = 'single_item_custom_field_purge';
|
151 |
+
|
152 |
Â
/**
|
153 |
Â
* mla_admin_action value for mapping IPTC/EXIF metadata
|
154 |
Â
*
|
1023 |
Â
|
1024 |
Â
foreach ( $option_values as $key => $value ) {
|
1025 |
Â
$slug = 'c_' . $index++; // sanitize_title( $key ); Didn't handle HTML in name, e.g., "R><B"
|
1026 |
+
//error_log( __LINE__ . " mla_custom_field_support( {$key}, {$slug} ) value = " . var_export( $value, true ), 0 );
|
1027 |
Â
|
1028 |
Â
switch( $support_type ) {
|
1029 |
Â
case 'custom_columns':
|
1573 |
Â
public static $admin_columns_storage_model = NULL;
|
1574 |
Â
|
1575 |
Â
/**
|
1576 |
+
* Define the Media/Assistant submenu screen to the (old) Admin Columns plugin
|
1577 |
Â
*
|
1578 |
Â
* @since 2.22
|
1579 |
Â
*
|
1580 |
Â
* @param array $storage_models List of storage model class instances ( [key] => [CPAC_Storage_Model object] )
|
1581 |
Â
* @param object $cpac CPAC, the root CodePress Admin Columns object
|
1582 |
Â
*/
|
1583 |
+
public static function admin_columns_support_deprecated( $storage_models, $cpac ) {
|
1584 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-admin-columns-support-deprecated.php' );
|
1585 |
+
MLACore::$admin_columns_storage_model = new CPAC_Deprecated_Storage_Model_MLA();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1586 |
Â
|
1587 |
Â
/*
|
1588 |
Â
* Put MLA before/after WP Media Library so is_columns_screen() will work
|
1611 |
Â
|
1612 |
Â
return $new_models;
|
1613 |
Â
}
|
1614 |
+
|
1615 |
+
/**
|
1616 |
+
* Remove duplicate columns from the Admin Columns "Custom" section
|
1617 |
+
*
|
1618 |
+
* @since 2.50
|
1619 |
+
*
|
1620 |
+
* @param CPAC_Column[] $columns
|
1621 |
+
* @param $storage_model
|
1622 |
+
*/
|
1623 |
+
public static function remove_column_types_deprecated( $columns, $storage_model ) {
|
1624 |
+
if ( $storage_model instanceof CPAC_Deprecated_Storage_Model_MLA ) {
|
1625 |
+
|
1626 |
+
$exclude = array(
|
1627 |
+
'comments',
|
1628 |
+
'title',
|
1629 |
+
'column-actions',
|
1630 |
+
'column-alternate_text',
|
1631 |
+
'column-attached_to',
|
1632 |
+
'column-author_name',
|
1633 |
+
'column-caption',
|
1634 |
+
'column-description',
|
1635 |
+
'column-file_name',
|
1636 |
+
'column-full_path',
|
1637 |
+
'column-mediaid',
|
1638 |
+
'column-mime_type',
|
1639 |
+
'column-taxonomy',
|
1640 |
+
/*
|
1641 |
+
'column-meta',
|
1642 |
+
'column-available_sizes',
|
1643 |
+
'column-dimensions',
|
1644 |
+
'column-exif_data',
|
1645 |
+
'column-file_size',
|
1646 |
+
'column-height',
|
1647 |
+
'column-image',
|
1648 |
+
'column-used_by_menu',
|
1649 |
+
'column-width',
|
1650 |
+
*/
|
1651 |
+
);
|
1652 |
+
|
1653 |
+
foreach ( $exclude as $column_type ) {
|
1654 |
+
if ( array_key_exists( $column_type, $columns ) ) {
|
1655 |
+
//error_log( __LINE__ . " MLACore::remove_column_types_deprecated remove = " . var_export( $column_type, true ), 0 );
|
1656 |
+
}
|
1657 |
+
|
1658 |
+
//$listscreen->deregister_column_type( $column_type );
|
1659 |
+
}
|
1660 |
+
}
|
1661 |
+
}
|
1662 |
+
|
1663 |
+
/**
|
1664 |
+
* Set MLA-specific inline editing strategy
|
1665 |
+
*
|
1666 |
+
* @since 2.50
|
1667 |
+
*
|
1668 |
+
* @param ACP_Editing_Model $model
|
1669 |
+
*/
|
1670 |
+
public static function add_editing_strategy( $model ) {
|
1671 |
+
if ( 'mla-media-assistant' === $model->get_column()->get_list_screen()->get_key() ) {
|
1672 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-admin-columns-support.php' );
|
1673 |
+
$model->set_strategy( new AC_Addon_MLA_Editing_Strategy( $model ) );
|
1674 |
+
}
|
1675 |
+
|
1676 |
+
return $model;
|
1677 |
+
}
|
1678 |
+
|
1679 |
+
/**
|
1680 |
+
* Create and register MLA-specific list screen handler for Admin Columns
|
1681 |
+
*
|
1682 |
+
* @since 2.50
|
1683 |
+
*/
|
1684 |
+
public static function register_list_screen() {
|
1685 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-admin-columns-support.php' );
|
1686 |
+
AC()->register_list_screen( new AC_Addon_MLA_ListScreen );
|
1687 |
+
}
|
1688 |
+
|
1689 |
+
/**
|
1690 |
+
* Remove duplicate columns from the Admin Columns "Custom" section
|
1691 |
+
*
|
1692 |
+
* @since 2.50
|
1693 |
+
*
|
1694 |
+
* @param AC_ListScreen $listscreen
|
1695 |
+
*/
|
1696 |
+
public static function remove_column_types( $listscreen ) {
|
1697 |
+
//error_log( __LINE__ . " MLACore::remove_column_types key = " . var_export( $listscreen->get_key(), true ), 0 );
|
1698 |
+
if ( $listscreen instanceof AC_Addon_MLA_ListScreen ) {
|
1699 |
+
//error_log( __LINE__ . " MLACore::remove_column_types column_types = " . var_export( array_keys( $listscreen->get_column_types() ), true ), 0 );
|
1700 |
+
|
1701 |
+
$exclude = array(
|
1702 |
+
'comments',
|
1703 |
+
'title',
|
1704 |
+
'column-actions',
|
1705 |
+
'column-alternate_text',
|
1706 |
+
'column-attached_to',
|
1707 |
+
'column-author_name',
|
1708 |
+
'column-caption',
|
1709 |
+
'column-description',
|
1710 |
+
'column-file_name',
|
1711 |
+
'column-full_path',
|
1712 |
+
'column-mediaid',
|
1713 |
+
'column-mime_type',
|
1714 |
+
'column-taxonomy',
|
1715 |
+
|
1716 |
+
/*
|
1717 |
+
'column-meta',
|
1718 |
+
'column-available_sizes',
|
1719 |
+
'column-dimensions',
|
1720 |
+
'column-exif_data',
|
1721 |
+
'column-file_size',
|
1722 |
+
'column-height',
|
1723 |
+
'column-image',
|
1724 |
+
'column-used_by_menu',
|
1725 |
+
'column-width',
|
1726 |
+
*/
|
1727 |
+
);
|
1728 |
+
|
1729 |
+
foreach ( $exclude as $column_type ) {
|
1730 |
+
$listscreen->deregister_column_type( $column_type );
|
1731 |
+
}
|
1732 |
+
}
|
1733 |
+
}
|
1734 |
Â
} // Class MLACore
|
1735 |
Â
|
1736 |
Â
/*
|
1815 |
Â
/*
|
1816 |
Â
* Admin Columns plugin support
|
1817 |
Â
*/
|
1818 |
+
add_filter( 'cac/storage_models', 'MLACore::admin_columns_support_deprecated', 10, 2 );
|
1819 |
+
//add_action( 'cac/column_types', 'MLACore::remove_column_types_deprecated', 10, 2 );
|
1820 |
+
|
1821 |
+
add_filter( 'acp/editing/model', 'MLACore::add_editing_strategy', 10, 1 );
|
1822 |
+
add_action( 'ac/list_screens', 'MLACore::register_list_screen', 10, 0 );
|
1823 |
+
add_action( 'acp/column_types', 'MLACore::remove_column_types', 10, 1 );
|
1824 |
+
add_action( 'ac/column_types', 'MLACore::remove_column_types', 10, 1 );
|
1825 |
Â
?>
|
includes/class-mla-data-query.php
CHANGED
@@ -726,7 +726,8 @@ class MLAQuery {
|
|
726 |
Â
case 'exact':
|
727 |
Â
case 'mla-tax':
|
728 |
Â
case 'mla-term':
|
729 |
-
$clean_request[ $key ] = sanitize_key( $value );
|
Â
|
|
730 |
Â
break;
|
731 |
Â
case 'orderby':
|
732 |
Â
if ( in_array( $value, array( 'none', 'post__in' ) ) ) {
|
726 |
Â
case 'exact':
|
727 |
Â
case 'mla-tax':
|
728 |
Â
case 'mla-term':
|
729 |
+
// $clean_request[ $key ] = sanitize_key( $value );
|
730 |
+
$clean_request[ $key ] = sanitize_title_for_query( $value );
|
731 |
Â
break;
|
732 |
Â
case 'orderby':
|
733 |
Â
if ( in_array( $value, array( 'none', 'post__in' ) ) ) {
|
includes/class-mla-data.php
CHANGED
@@ -790,11 +790,13 @@ class MLAData {
|
|
790 |
Â
}
|
791 |
Â
}
|
792 |
Â
|
793 |
-
$mb_suffix = ' MB';
|
794 |
Â
$threshold = 10240;
|
795 |
Â
$kb_suffix = ' KB';
|
Â
|
|
Â
|
|
796 |
Â
|
797 |
Â
if ( is_array( $args['args'] ) ) {
|
Â
|
|
798 |
Â
$mb_suffix = isset( $args['args'][2] ) ? $args['args'][2] : $mb_suffix;
|
799 |
Â
$kb_suffix = isset( $args['args'][1] ) ? $args['args'][1] : $kb_suffix;
|
800 |
Â
$args['args'] = $args['args'][0];
|
@@ -806,9 +808,9 @@ class MLAData {
|
|
806 |
Â
|
807 |
Â
$number = (float) $number;
|
808 |
Â
if ( 1048576 < $number ) {
|
809 |
-
$value = number_format( ( $number/1048576 ),
|
810 |
Â
} elseif ( $threshold < $number ) {
|
811 |
-
$value = number_format( ( $number/1024 ),
|
812 |
Â
} else {
|
813 |
Â
$value = number_format( $number );
|
814 |
Â
}
|
@@ -984,7 +986,9 @@ class MLAData {
|
|
984 |
Â
}
|
985 |
Â
}
|
986 |
Â
|
987 |
-
if (
|
Â
|
|
Â
|
|
988 |
Â
$text = sanitize_text_field( (string) $record );
|
989 |
Â
} elseif ( is_array( $record ) ) {
|
990 |
Â
if ( 'export' == $value['option'] ) {
|
@@ -1285,7 +1289,7 @@ class MLAData {
|
|
1285 |
Â
foreach ( $matches[0] as $match ) {
|
1286 |
Â
$key = substr( $match, 2, (strlen( $match ) - 4 ) );
|
1287 |
Â
$result = array( 'prefix' => '', 'value' => '', 'option' => $default_option, 'format' => 'native' );
|
1288 |
-
$match_count = preg_match( '/\[\+([
|
1289 |
Â
if ( 1 == $match_count ) {
|
1290 |
Â
$result['prefix'] = $matches[1];
|
1291 |
Â
$tail = $matches[2];
|
@@ -3097,8 +3101,11 @@ class MLAData {
|
|
3097 |
Â
}
|
3098 |
Â
|
3099 |
Â
$results['mla_exif_metadata'][ $element_name ] = $element_value;
|
3100 |
-
}
|
3101 |
-
}
|
Â
|
|
Â
|
|
Â
|
|
3102 |
Â
} // exif_read_data
|
3103 |
Â
|
3104 |
Â
$results['mla_xmp_metadata'] = self::mla_parse_xmp_metadata( $path, 0 );
|
@@ -3869,53 +3876,89 @@ class MLAData {
|
|
3869 |
Â
|
3870 |
Â
$taxonomy_obj = get_taxonomy( $taxonomy );
|
3871 |
Â
|
3872 |
-
if ( current_user_can( $taxonomy_obj->cap->assign_terms ) ) {
|
3873 |
-
|
3874 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3875 |
Â
|
3876 |
-
|
3877 |
-
|
3878 |
-
|
3879 |
-
|
3880 |
-
|
3881 |
-
|
3882 |
-
|
3883 |
-
|
3884 |
-
|
3885 |
-
|
3886 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3887 |
Â
|
3888 |
-
|
3889 |
-
|
3890 |
-
|
3891 |
-
|
3892 |
-
|
3893 |
-
|
3894 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3895 |
Â
|
3896 |
-
|
3897 |
-
|
3898 |
-
|
3899 |
-
|
3900 |
-
|
3901 |
-
|
3902 |
-
|
3903 |
-
// ignore anything else
|
3904 |
-
}
|
3905 |
Â
|
3906 |
-
|
3907 |
-
|
3908 |
-
|
3909 |
-
|
3910 |
-
|
3911 |
-
|
3912 |
-
|
3913 |
-
|
3914 |
-
|
3915 |
-
|
3916 |
-
|
3917 |
-
|
3918 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3919 |
Â
}
|
3920 |
Â
} // foreach $tax_input
|
3921 |
Â
} // ! empty $tax_input
|
790 |
Â
}
|
791 |
Â
}
|
792 |
Â
|
Â
|
|
793 |
Â
$threshold = 10240;
|
794 |
Â
$kb_suffix = ' KB';
|
795 |
+
$mb_suffix = ' MB';
|
796 |
+
$precision = 3;
|
797 |
Â
|
798 |
Â
if ( is_array( $args['args'] ) ) {
|
799 |
+
$precision = isset( $args['args'][3] ) ? absint( $args['args'][3] ) : $precision;
|
800 |
Â
$mb_suffix = isset( $args['args'][2] ) ? $args['args'][2] : $mb_suffix;
|
801 |
Â
$kb_suffix = isset( $args['args'][1] ) ? $args['args'][1] : $kb_suffix;
|
802 |
Â
$args['args'] = $args['args'][0];
|
808 |
Â
|
809 |
Â
$number = (float) $number;
|
810 |
Â
if ( 1048576 < $number ) {
|
811 |
+
$value = number_format( ( $number/1048576 ), $precision ) . $mb_suffix;
|
812 |
Â
} elseif ( $threshold < $number ) {
|
813 |
+
$value = number_format( ( $number/1024 ), $precision ) . $kb_suffix;
|
814 |
Â
} else {
|
815 |
Â
$value = number_format( $number );
|
816 |
Â
}
|
986 |
Â
}
|
987 |
Â
}
|
988 |
Â
|
989 |
+
if ( 'raw' == $value['format'] ) {
|
990 |
+
$text = $record;
|
991 |
+
} elseif ( is_scalar( $record ) ) {
|
992 |
Â
$text = sanitize_text_field( (string) $record );
|
993 |
Â
} elseif ( is_array( $record ) ) {
|
994 |
Â
if ( 'export' == $value['option'] ) {
|
1289 |
Â
foreach ( $matches[0] as $match ) {
|
1290 |
Â
$key = substr( $match, 2, (strlen( $match ) - 4 ) );
|
1291 |
Â
$result = array( 'prefix' => '', 'value' => '', 'option' => $default_option, 'format' => 'native' );
|
1292 |
+
$match_count = preg_match( '/\[\+([^,:]+):(.+)\+\]/', $match, $matches );
|
1293 |
Â
if ( 1 == $match_count ) {
|
1294 |
Â
$result['prefix'] = $matches[1];
|
1295 |
Â
$tail = $matches[2];
|
3101 |
Â
}
|
3102 |
Â
|
3103 |
Â
$results['mla_exif_metadata'][ $element_name ] = $element_value;
|
3104 |
+
} // foreach $section_data
|
3105 |
+
} // foreach $exif_data
|
3106 |
+
|
3107 |
+
// $exif_data is used for enhanced values below
|
3108 |
+
$exif_data = $results['mla_exif_metadata'];
|
3109 |
Â
} // exif_read_data
|
3110 |
Â
|
3111 |
Â
$results['mla_xmp_metadata'] = self::mla_parse_xmp_metadata( $path, 0 );
|
3876 |
Â
|
3877 |
Â
$taxonomy_obj = get_taxonomy( $taxonomy );
|
3878 |
Â
|
3879 |
+
if ( ! current_user_can( $taxonomy_obj->cap->assign_terms ) ) {
|
3880 |
+
/* translators: 1: taxonomy */
|
3881 |
+
$message .= sprintf( __( 'You cannot assign "%1$s" terms', 'media-library-assistant' ) . '<br>', $taxonomy );
|
3882 |
+
continue;
|
3883 |
+
}
|
3884 |
+
|
3885 |
+
// array of int = hierarchical, comma-delimited string = flat.
|
3886 |
+
if ( is_array( $tags ) ) {
|
3887 |
+
$tags = array_filter( $tags );
|
3888 |
+
} else {
|
3889 |
+
/*
|
3890 |
+
* Convert flat taxonomy input to term IDs, to avoid ambiguity.
|
3891 |
+
* Adapted from edit_post() in /wp-admin/includes/post.php
|
3892 |
+
*/
|
3893 |
+
$comma = _x( ',', 'tag delimiter' );
|
3894 |
+
if ( ',' !== $comma ) {
|
3895 |
+
$tags = str_replace( $comma, ',', $tags );
|
3896 |
+
}
|
3897 |
+
$tags = explode( ',', trim( $tags, " \n\t\r\0\x0B," ) );
|
3898 |
Â
|
3899 |
+
$clean_terms = array();
|
3900 |
+
foreach ( $tags as $tag ) {
|
3901 |
+
// Empty terms are invalid input.
|
3902 |
+
if ( empty( $tag ) ) {
|
3903 |
+
continue;
|
3904 |
+
}
|
3905 |
+
|
3906 |
+
$_term = get_terms( $taxonomy, array(
|
3907 |
+
'name' => $tag,
|
3908 |
+
'fields' => 'ids',
|
3909 |
+
'hide_empty' => false,
|
3910 |
+
) );
|
3911 |
+
|
3912 |
+
if ( ! empty( $_term ) ) {
|
3913 |
+
$clean_terms[] = intval( $_term[0] );
|
3914 |
+
} else {
|
3915 |
+
// No existing term was found, so pass the string. A new term will be created.
|
3916 |
+
$clean_terms[] = $tag;
|
3917 |
+
}
|
3918 |
+
}
|
3919 |
+
|
3920 |
+
$tags = $clean_terms;
|
3921 |
+
}
|
3922 |
Â
|
3923 |
+
switch ( $tax_action ) {
|
3924 |
+
case 'add':
|
3925 |
+
if ( ! empty( $tags ) ) {
|
3926 |
+
$action_name = __( 'Adding', 'media-library-assistant' );
|
3927 |
+
$result = wp_set_post_terms( $post_id, $tags, $taxonomy, true );
|
3928 |
+
}
|
3929 |
+
break;
|
3930 |
+
case 'remove':
|
3931 |
+
$action_name = __( 'Removing', 'media-library-assistant' );
|
3932 |
+
$tags = self::_remove_terms( $post_id, $tags, $taxonomy_obj );
|
3933 |
+
$result = wp_set_post_terms( $post_id, $tags, $taxonomy );
|
3934 |
Â
|
3935 |
+
if ( empty( $tags ) ) {
|
3936 |
+
$result = true;
|
3937 |
+
}
|
3938 |
+
break;
|
3939 |
+
case 'replace':
|
3940 |
+
$action_name = __( 'Replacing', 'media-library-assistant' );
|
3941 |
+
$result = wp_set_post_terms( $post_id, $tags, $taxonomy );
|
Â
|
|
Â
|
|
3942 |
Â
|
3943 |
+
if ( empty( $tags ) ) {
|
3944 |
+
$result = true;
|
3945 |
+
}
|
3946 |
+
break;
|
3947 |
+
default:
|
3948 |
+
$action_name = __( 'Ignoring', 'media-library-assistant' );
|
3949 |
+
$result = NULL;
|
3950 |
+
// ignore anything else
|
3951 |
+
}
|
3952 |
+
|
3953 |
+
/*
|
3954 |
+
* Definitive results check would use:
|
3955 |
+
* do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids );
|
3956 |
+
* in /wp_includes/taxonomy.php function wp_set_object_terms()
|
3957 |
+
*/
|
3958 |
+
if ( ! empty( $result ) ) {
|
3959 |
+
delete_transient( MLA_OPTION_PREFIX . 't_term_counts_' . $taxonomy );
|
3960 |
+
/* translators: 1: action_name, 2: taxonomy */
|
3961 |
+
$message .= sprintf( __( '%1$s "%2$s" terms', 'media-library-assistant' ) . '<br>', $action_name, $taxonomy );
|
3962 |
Â
}
|
3963 |
Â
} // foreach $tax_input
|
3964 |
Â
} // ! empty $tax_input
|
includes/class-mla-file-downloader.php
CHANGED
@@ -33,13 +33,30 @@ class MLAFileDownloader {
|
|
33 |
Â
*/
|
34 |
Â
public static function mla_process_download_file() {
|
35 |
Â
self::_mla_debug_add( 'mla_process_download_file, REQUEST = ' . var_export( $_REQUEST, true ) );
|
Â
|
|
Â
|
|
Â
|
|
36 |
Â
if ( isset( $_REQUEST['mla_download_file'] ) && isset( $_REQUEST['mla_download_type'] ) ) {
|
37 |
Â
if( ini_get( 'zlib.output_compression' ) ) {
|
38 |
Â
ini_set( 'zlib.output_compression', 'Off' );
|
39 |
Â
}
|
40 |
Â
|
41 |
Â
$file_name = $_REQUEST['mla_download_file'];
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
42 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
43 |
Â
header('Pragma: public'); // required
|
44 |
Â
header('Expires: 0'); // no cache
|
45 |
Â
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
@@ -52,23 +69,22 @@ class MLAFileDownloader {
|
|
52 |
Â
header('Connection: close');
|
53 |
Â
|
54 |
Â
readfile( $file_name );
|
55 |
-
exit();
|
56 |
Â
} else {
|
57 |
-
$message = __( 'ERROR', 'media-library-assistant' ) . ': ' . 'download argument(s) not set.';
|
58 |
Â
self::_mla_debug_add( $message );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
59 |
Â
}
|
60 |
Â
|
61 |
-
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
|
62 |
-
echo '<html xmlns="http://www.w3.org/1999/xhtml">';
|
63 |
-
echo '<head>';
|
64 |
-
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
|
65 |
-
echo '<title>Download Error</title>';
|
66 |
-
echo '</head>';
|
67 |
-
echo '';
|
68 |
-
echo '<body>';
|
69 |
-
echo $message;
|
70 |
-
echo '</body>';
|
71 |
-
echo '</html> ';
|
72 |
Â
exit();
|
73 |
Â
}
|
74 |
Â
|
33 |
Â
*/
|
34 |
Â
public static function mla_process_download_file() {
|
35 |
Â
self::_mla_debug_add( 'mla_process_download_file, REQUEST = ' . var_export( $_REQUEST, true ) );
|
36 |
+
|
37 |
+
$message = '';
|
38 |
+
|
39 |
Â
if ( isset( $_REQUEST['mla_download_file'] ) && isset( $_REQUEST['mla_download_type'] ) ) {
|
40 |
Â
if( ini_get( 'zlib.output_compression' ) ) {
|
41 |
Â
ini_set( 'zlib.output_compression', 'Off' );
|
42 |
Â
}
|
43 |
Â
|
44 |
Â
$file_name = $_REQUEST['mla_download_file'];
|
45 |
+
$match_name = str_replace( '\\', '/', $file_name );
|
46 |
+
$base_dir = pathinfo( __FILE__, PATHINFO_DIRNAME );
|
47 |
+
$match_dir = str_replace( '\\', '/', $base_dir );
|
48 |
+
$allowed_path = substr( $match_dir, 0, strpos( $match_dir, 'plugins' ) );
|
49 |
Â
|
50 |
+
if ( 0 !== strpos( $match_name, $allowed_path ) ) {
|
51 |
+
$message = 'ERROR: download path out of bounds.';
|
52 |
+
} elseif ( false !== strpos( $match_name, '..' ) ) {
|
53 |
+
$message = 'ERROR: download path invalid.';
|
54 |
+
}
|
55 |
+
} else {
|
56 |
+
$message = 'ERROR: download argument(s) not set.';
|
57 |
+
}
|
58 |
+
|
59 |
+
if ( empty( $message ) ) {
|
60 |
Â
header('Pragma: public'); // required
|
61 |
Â
header('Expires: 0'); // no cache
|
62 |
Â
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
|
69 |
Â
header('Connection: close');
|
70 |
Â
|
71 |
Â
readfile( $file_name );
|
Â
|
|
72 |
Â
} else {
|
Â
|
|
73 |
Â
self::_mla_debug_add( $message );
|
74 |
+
|
75 |
+
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
|
76 |
+
echo '<html xmlns="http://www.w3.org/1999/xhtml">';
|
77 |
+
echo '<head>';
|
78 |
+
echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
|
79 |
+
echo '<title>Download Error</title>';
|
80 |
+
echo '</head>';
|
81 |
+
echo '';
|
82 |
+
echo '<body>';
|
83 |
+
echo $message;
|
84 |
+
echo '</body>';
|
85 |
+
echo '</html> ';
|
86 |
Â
}
|
87 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
88 |
Â
exit();
|
89 |
Â
}
|
90 |
Â
|
includes/class-mla-list-table.php
CHANGED
@@ -215,7 +215,8 @@ class MLA_List_Table extends WP_List_Table {
|
|
215 |
Â
$tax_object = get_taxonomy( $tax_filter );
|
216 |
Â
$dropdown_options = array_merge( array(
|
217 |
Â
'show_option_all' => __( 'All', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
|
218 |
-
'show_option_none' => __( 'No', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
|
Â
|
|
219 |
Â
'orderby' => 'name',
|
220 |
Â
'order' => 'ASC',
|
221 |
Â
'show_count' => false,
|
@@ -365,14 +366,14 @@ class MLA_List_Table extends WP_List_Table {
|
|
365 |
Â
*
|
366 |
Â
* @since 0.1
|
367 |
Â
*
|
368 |
-
* @param
|
369 |
Â
* @param string 'managemedia_page_mla-menucolumnshidden'
|
370 |
Â
* @param object WP_User object, if logged in
|
371 |
Â
*
|
372 |
Â
* @return array updated list of hidden columns
|
373 |
Â
*/
|
374 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
375 |
-
if ( $result ) {
|
376 |
Â
return $result;
|
377 |
Â
}
|
378 |
Â
|
215 |
Â
$tax_object = get_taxonomy( $tax_filter );
|
216 |
Â
$dropdown_options = array_merge( array(
|
217 |
Â
'show_option_all' => __( 'All', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
|
218 |
+
// 'show_option_none' => __( 'No', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
|
219 |
+
'show_option_none' => _x( 'No', 'show_option_none', 'media-library-assistant' ) . ' ' . $tax_object->labels->name,
|
220 |
Â
'orderby' => 'name',
|
221 |
Â
'order' => 'ASC',
|
222 |
Â
'show_count' => false,
|
366 |
Â
*
|
367 |
Â
* @since 0.1
|
368 |
Â
*
|
369 |
+
* @param mixed false if option not present or array of current hidden columns, if any
|
370 |
Â
* @param string 'managemedia_page_mla-menucolumnshidden'
|
371 |
Â
* @param object WP_User object, if logged in
|
372 |
Â
*
|
373 |
Â
* @return array updated list of hidden columns
|
374 |
Â
*/
|
375 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
376 |
+
if ( false !== $result ) {
|
377 |
Â
return $result;
|
378 |
Â
}
|
379 |
Â
|
includes/class-mla-main.php
CHANGED
@@ -275,9 +275,14 @@ class MLA {
|
|
275 |
Â
* Primary column including icon and some margin
|
276 |
Â
*/
|
277 |
Â
$icon_width = ( $icon_value + 10 ) . 'px';
|
Â
|
|
278 |
Â
|
Â
|
|
Â
|
|
Â
|
|
279 |
Â
echo " table.attachments td.column-primary {\n";
|
280 |
Â
echo " position: relative;\n";
|
Â
|
|
281 |
Â
echo " }\n";
|
282 |
Â
echo " table.attachments div.attachment-icon {\n";
|
283 |
Â
echo " position: absolute;\n";
|
@@ -287,6 +292,8 @@ class MLA {
|
|
287 |
Â
echo " table.attachments div.attachment-info {\n";
|
288 |
Â
echo " margin-left: {$icon_width};\n";
|
289 |
Â
echo " min-height: {$icon_width};\n";
|
Â
|
|
Â
|
|
290 |
Â
echo " }\n";
|
291 |
Â
} else {
|
292 |
Â
/*
|
@@ -658,7 +665,7 @@ class MLA {
|
|
658 |
Â
MLACore::mla_debug_add( __LINE__ . " MLA::mla_set_screen_option_filter( {$option} ) value = " . var_export( $value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
659 |
Â
|
660 |
Â
foreach( $wp_filter['set-screen-option'] as $priority => $filters ) {
|
661 |
-
$debug_message = '
|
662 |
Â
foreach ( $filters as $name => $descriptor ) {
|
663 |
Â
$debug_message .= 'filter name = ' . var_export( $name, true ) . '<br />';
|
664 |
Â
}
|
275 |
Â
* Primary column including icon and some margin
|
276 |
Â
*/
|
277 |
Â
$icon_width = ( $icon_value + 10 ) . 'px';
|
278 |
+
$column_width = ( $icon_value + 30 ) . 'px';
|
279 |
Â
|
280 |
+
echo " table.attachments th.column-primary {\n";
|
281 |
+
echo " width: {$column_width};\n";
|
282 |
+
echo " }\n";
|
283 |
Â
echo " table.attachments td.column-primary {\n";
|
284 |
Â
echo " position: relative;\n";
|
285 |
+
echo " width: {$column_width};\n";
|
286 |
Â
echo " }\n";
|
287 |
Â
echo " table.attachments div.attachment-icon {\n";
|
288 |
Â
echo " position: absolute;\n";
|
292 |
Â
echo " table.attachments div.attachment-info {\n";
|
293 |
Â
echo " margin-left: {$icon_width};\n";
|
294 |
Â
echo " min-height: {$icon_width};\n";
|
295 |
+
// echo " margin-top: 0px;\n";
|
296 |
+
// echo " min-height: 0px;\n";
|
297 |
Â
echo " }\n";
|
298 |
Â
} else {
|
299 |
Â
/*
|
665 |
Â
MLACore::mla_debug_add( __LINE__ . " MLA::mla_set_screen_option_filter( {$option} ) value = " . var_export( $value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
666 |
Â
|
667 |
Â
foreach( $wp_filter['set-screen-option'] as $priority => $filters ) {
|
668 |
+
$debug_message = __LINE__ . ' MLA::mla_set_screen_option_filter $wp_filter[set-screen-option] priority = ' . var_export( $priority, true ) . '<br />';
|
669 |
Â
foreach ( $filters as $name => $descriptor ) {
|
670 |
Â
$debug_message .= 'filter name = ' . var_export( $name, true ) . '<br />';
|
671 |
Â
}
|
includes/class-mla-mime-types.php
CHANGED
@@ -30,6 +30,9 @@ class MLAMime {
|
|
30 |
Â
add_filter( 'ext2type', 'MLAMime::mla_ext2type_filter', 0x7FFFFFFF, 1 );
|
31 |
Â
// add_filter( 'wp_check_filetype_and_ext', 'MLAMime::mla_wp_check_filetype_and_ext_filter', 0x7FFFFFFF, 4 );
|
32 |
Â
|
Â
|
|
Â
|
|
Â
|
|
33 |
Â
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES ) ) {
|
34 |
Â
if ( function_exists('wp_get_mime_types') ) {
|
35 |
Â
add_filter( 'mime_types', 'MLAMime::mla_mime_types_filter', 0x7FFFFFFF, 1 );
|
@@ -57,6 +60,33 @@ class MLAMime {
|
|
57 |
Â
*/
|
58 |
Â
private static $disable_mla_filtering = false;
|
59 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
60 |
Â
/**
|
61 |
Â
* Sanitize a MIME type
|
62 |
Â
*
|
@@ -1461,13 +1491,13 @@ class MLAMime {
|
|
1461 |
Â
foreach ( self::$mla_upload_mime_templates as $slug => $value ) {
|
1462 |
Â
if ( ! empty( $keyword ) ) {
|
1463 |
Â
if ( false === $extension ) {
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
Â
} else {
|
1472 |
Â
$found = false !== stripos( $slug, $extension );
|
1473 |
Â
}
|
@@ -1931,9 +1961,7 @@ class MLAMime {
|
|
1931 |
Â
return true;
|
1932 |
Â
}
|
1933 |
Â
|
1934 |
-
|
1935 |
-
* Find the WordPress-standard (unfiltered) extensions
|
1936 |
-
*/
|
1937 |
Â
global $wp_filter;
|
1938 |
Â
if ( isset( $wp_filter['mime_types'] ) ) {
|
1939 |
Â
$save_filters = $wp_filter['mime_types'];
|
@@ -1966,9 +1994,7 @@ class MLAMime {
|
|
1966 |
Â
self::$disable_mla_filtering = false;
|
1967 |
Â
}
|
1968 |
Â
|
1969 |
-
|
1970 |
-
* Explode any entries with multiple extensions
|
1971 |
-
*/
|
1972 |
Â
foreach ( $core_types as $key => $value )
|
1973 |
Â
if ( false !== strpos( $key, '|' ) ) {
|
1974 |
Â
unset( $core_types[ $key ] );
|
@@ -2035,9 +2061,7 @@ class MLAMime {
|
|
2035 |
Â
}
|
2036 |
Â
}
|
2037 |
Â
|
2038 |
-
|
2039 |
-
* Add the WordPress-standard (unfiltered) extensions, initialized to an active state
|
2040 |
-
*/
|
2041 |
Â
foreach ( $core_types as $key => $value ) {
|
2042 |
Â
$key = strtolower( $key );
|
2043 |
Â
if ( isset( self::$mla_upload_mime_templates[ $key ] ) ) {
|
@@ -2080,16 +2104,13 @@ class MLAMime {
|
|
2080 |
Â
}
|
2081 |
Â
}
|
2082 |
Â
|
2083 |
-
|
2084 |
-
* Add the user-defined custom types
|
2085 |
-
*/
|
2086 |
Â
foreach ( $custom_types as $key => $value ) {
|
2087 |
Â
$key = strtolower( $key );
|
2088 |
Â
if ( isset( self::$mla_upload_mime_templates[ $key ] ) ) {
|
2089 |
Â
extract( self::$mla_upload_mime_templates[ $key ] );
|
2090 |
-
|
2091 |
-
|
2092 |
-
*/
|
2093 |
Â
if ( ( 'core' == $source && $value == $core_type ) || ( 'mla' == $source && $value == $mla_type ) ) {
|
2094 |
Â
continue;
|
2095 |
Â
}
|
@@ -2102,6 +2123,9 @@ class MLAMime {
|
|
2102 |
Â
if ( NULL == $icon_type = wp_ext2type( $key ) ) {
|
2103 |
Â
$icon_type = 'default';
|
2104 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
2105 |
Â
|
2106 |
Â
self::$mla_upload_mime_templates[ $key ] = array(
|
2107 |
Â
'post_ID' => ++self::$mla_upload_mime_highest_ID,
|
@@ -2124,9 +2148,7 @@ class MLAMime {
|
|
2124 |
Â
return true;
|
2125 |
Â
}
|
2126 |
Â
|
2127 |
-
|
2128 |
-
* Apply the current settings, if any
|
2129 |
-
*/
|
2130 |
Â
foreach ( self::$mla_upload_mime_templates as $key => $value ) {
|
2131 |
Â
$default_description = isset( self::$mla_upload_mime_descriptions[ $key ] ) ? self::$mla_upload_mime_descriptions[ $key ] : '';
|
2132 |
Â
self::$mla_upload_mime_templates[ $key ]['disabled'] = isset( $mla_upload_mimes['disabled'][ $key ] );
|
30 |
Â
add_filter( 'ext2type', 'MLAMime::mla_ext2type_filter', 0x7FFFFFFF, 1 );
|
31 |
Â
// add_filter( 'wp_check_filetype_and_ext', 'MLAMime::mla_wp_check_filetype_and_ext_filter', 0x7FFFFFFF, 4 );
|
32 |
Â
|
33 |
+
// Handle WP 4.6.2, 4.7.x SVG bug
|
34 |
+
add_filter( 'getimagesize_mimes_to_exts', 'MLAMime::mla_getimagesize_mimes_to_exts_filter', 0x7FFFFFFF, 1 );
|
35 |
+
|
36 |
Â
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES ) ) {
|
37 |
Â
if ( function_exists('wp_get_mime_types') ) {
|
38 |
Â
add_filter( 'mime_types', 'MLAMime::mla_mime_types_filter', 0x7FFFFFFF, 1 );
|
60 |
Â
*/
|
61 |
Â
private static $disable_mla_filtering = false;
|
62 |
Â
|
63 |
+
/**
|
64 |
+
* Filters the list mapping image mime types to their respective extensions.
|
65 |
+
*
|
66 |
+
* Mitigates a bug in WP 4.6.x and 4.7.x that prevents uploading SVG files.
|
67 |
+
*
|
68 |
+
* @since 2.50
|
69 |
+
*
|
70 |
+
* @param array $mime_to_ext Array of image mime types and their matching extensions.
|
71 |
+
*/
|
72 |
+
public static function mla_getimagesize_mimes_to_exts_filter( $mime_to_ext ) {
|
73 |
+
$wp_version = get_bloginfo('version');
|
74 |
+
if ( version_compare( $wp_version, '4.6.2', '<' ) || version_compare( $wp_version, '4.7.2', '>' ) ) {
|
75 |
+
return $mime_to_ext;
|
76 |
+
}
|
77 |
+
|
78 |
+
if ( ! ( isset( $_REQUEST['name'] ) && isset( $_REQUEST['mlaAddNewBulkEditFormString'] ) ) ) {
|
79 |
+
return $mime_to_ext;
|
80 |
+
}
|
81 |
+
|
82 |
+
$file_name = strtolower( $_REQUEST['name'] );
|
83 |
+
if ( false === strpos( $file_name, '.svg' ) ) {
|
84 |
+
return $mime_to_ext;
|
85 |
+
}
|
86 |
+
|
87 |
+
return array_merge( $mime_to_ext, array( 'application/octet-stream' => 'svg' ) );
|
88 |
+
}
|
89 |
+
|
90 |
Â
/**
|
91 |
Â
* Sanitize a MIME type
|
92 |
Â
*
|
1491 |
Â
foreach ( self::$mla_upload_mime_templates as $slug => $value ) {
|
1492 |
Â
if ( ! empty( $keyword ) ) {
|
1493 |
Â
if ( false === $extension ) {
|
1494 |
+
$found = false !== stripos( $slug, $keyword );
|
1495 |
+
$found |= false !== stripos( $value['mime_type'], $keyword );
|
1496 |
+
$found |= false !== stripos( $value['icon_type'], $keyword );
|
1497 |
+
$found |= false !== stripos( $value['core_type'], $keyword );
|
1498 |
+
$found |= false !== stripos( $value['mla_type'], $keyword );
|
1499 |
+
$found |= false !== stripos( $value['core_icon_type'], $keyword );
|
1500 |
+
$found |= false !== stripos( $value['description'], $keyword );
|
1501 |
Â
} else {
|
1502 |
Â
$found = false !== stripos( $slug, $extension );
|
1503 |
Â
}
|
1961 |
Â
return true;
|
1962 |
Â
}
|
1963 |
Â
|
1964 |
+
// Find the WordPress-standard (unfiltered) extensions
|
Â
|
|
Â
|
|
1965 |
Â
global $wp_filter;
|
1966 |
Â
if ( isset( $wp_filter['mime_types'] ) ) {
|
1967 |
Â
$save_filters = $wp_filter['mime_types'];
|
1994 |
Â
self::$disable_mla_filtering = false;
|
1995 |
Â
}
|
1996 |
Â
|
1997 |
+
// Explode any entries with multiple extensions
|
Â
|
|
Â
|
|
1998 |
Â
foreach ( $core_types as $key => $value )
|
1999 |
Â
if ( false !== strpos( $key, '|' ) ) {
|
2000 |
Â
unset( $core_types[ $key ] );
|
2061 |
Â
}
|
2062 |
Â
}
|
2063 |
Â
|
2064 |
+
// Add the WordPress-standard (unfiltered) extensions, initialized to an active state
|
Â
|
|
Â
|
|
2065 |
Â
foreach ( $core_types as $key => $value ) {
|
2066 |
Â
$key = strtolower( $key );
|
2067 |
Â
if ( isset( self::$mla_upload_mime_templates[ $key ] ) ) {
|
2104 |
Â
}
|
2105 |
Â
}
|
2106 |
Â
|
2107 |
+
// Add the user-defined custom types
|
Â
|
|
Â
|
|
2108 |
Â
foreach ( $custom_types as $key => $value ) {
|
2109 |
Â
$key = strtolower( $key );
|
2110 |
Â
if ( isset( self::$mla_upload_mime_templates[ $key ] ) ) {
|
2111 |
Â
extract( self::$mla_upload_mime_templates[ $key ] );
|
2112 |
+
|
2113 |
+
// Make sure it's really custom
|
Â
|
|
2114 |
Â
if ( ( 'core' == $source && $value == $core_type ) || ( 'mla' == $source && $value == $mla_type ) ) {
|
2115 |
Â
continue;
|
2116 |
Â
}
|
2123 |
Â
if ( NULL == $icon_type = wp_ext2type( $key ) ) {
|
2124 |
Â
$icon_type = 'default';
|
2125 |
Â
}
|
2126 |
+
|
2127 |
+
// Don't cache the results of mla_ext2type_filter() until current settings are applied below
|
2128 |
+
self::$mla_icon_type_associations = NULL;
|
2129 |
Â
|
2130 |
Â
self::$mla_upload_mime_templates[ $key ] = array(
|
2131 |
Â
'post_ID' => ++self::$mla_upload_mime_highest_ID,
|
2148 |
Â
return true;
|
2149 |
Â
}
|
2150 |
Â
|
2151 |
+
// Apply the current settings, if any
|
Â
|
|
Â
|
|
2152 |
Â
foreach ( self::$mla_upload_mime_templates as $key => $value ) {
|
2153 |
Â
$default_description = isset( self::$mla_upload_mime_descriptions[ $key ] ) ? self::$mla_upload_mime_descriptions[ $key ] : '';
|
2154 |
Â
self::$mla_upload_mime_templates[ $key ]['disabled'] = isset( $mla_upload_mimes['disabled'][ $key ] );
|
includes/class-mla-options.php
CHANGED
@@ -312,8 +312,8 @@ class MLAOptions {
|
|
312 |
Â
* Add the "filter on custom field" row
|
313 |
Â
*/
|
314 |
Â
$selected = empty( $tax_metakey ) ? 'none' : $tax_metakey;
|
315 |
-
$tax_metakey_options = MLAOptions::
|
316 |
-
|
317 |
Â
$option_values = array (
|
318 |
Â
'key' => MLACoreOptions::MLA_FILTER_METAKEY,
|
319 |
Â
'name' => '( ' . __( 'Custom Field', 'media-library-assistant' ) . ' )',
|
@@ -773,14 +773,14 @@ class MLAOptions {
|
|
773 |
Â
/*
|
774 |
Â
* Convert checkbox value(s)
|
775 |
Â
*/
|
776 |
-
$setting_value['no_null'] = isset( $setting_value['no_null'] );
|
777 |
Â
|
778 |
Â
$setting_value = apply_filters( 'mla_mapping_rule', $setting_value, $post_id, $category, $attachment_metadata );
|
779 |
Â
if ( NULL === $setting_value ) {
|
780 |
Â
continue;
|
781 |
Â
}
|
782 |
Â
|
783 |
-
if ( 'none' == $setting_value['data_source'] ) {
|
784 |
Â
continue;
|
785 |
Â
}
|
786 |
Â
|
@@ -860,7 +860,7 @@ class MLAOptions {
|
|
860 |
Â
*
|
861 |
Â
* @return string HTML markup with select field options
|
862 |
Â
*/
|
863 |
-
|
864 |
Â
/*
|
865 |
Â
* Add the "None" option to the front of the list
|
866 |
Â
*/
|
@@ -896,7 +896,7 @@ class MLAOptions {
|
|
896 |
Â
} // foreach custom_field_name
|
897 |
Â
|
898 |
Â
return $custom_field_options;
|
899 |
-
} //
|
900 |
Â
|
901 |
Â
/**
|
902 |
Â
* Compose a (Custom Field) Data Source Options list with current selection
|
@@ -908,7 +908,7 @@ class MLAOptions {
|
|
908 |
Â
*
|
909 |
Â
* @return string HTML markup with select field options
|
910 |
Â
*/
|
911 |
-
|
912 |
Â
$option_template = MLAOptions::$mla_option_templates['custom-field-select-option'];
|
913 |
Â
|
914 |
Â
$option_values = array (
|
@@ -964,7 +964,7 @@ class MLAOptions {
|
|
964 |
Â
} // foreach custom_field_name
|
965 |
Â
|
966 |
Â
return $custom_field_options;
|
967 |
-
} //
|
968 |
Â
|
969 |
Â
/**
|
970 |
Â
* Update custom field mappings
|
@@ -1187,7 +1187,6 @@ class MLAOptions {
|
|
1187 |
Â
*/
|
1188 |
Â
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
Â
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
1190 |
-
//error_log( __LINE__ . " mla_custom_field_option_handler( $action, $key ) current_values = " . var_export( $current_values, true ), 0 );
|
1191 |
Â
|
1192 |
Â
switch ( $action ) {
|
1193 |
Â
case 'render':
|
@@ -1233,7 +1232,7 @@ class MLAOptions {
|
|
1233 |
Â
'key' => esc_attr( $row_name ),
|
1234 |
Â
'name_attr' => esc_attr( $row_name ),
|
1235 |
Â
'name' => esc_html( $row_name ),
|
1236 |
-
'data_source_options' => MLAOptions::
|
1237 |
Â
'keep_selected' => '',
|
1238 |
Â
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1239 |
Â
'replace_selected' => '',
|
@@ -1331,8 +1330,8 @@ class MLAOptions {
|
|
1331 |
Â
'column_count_meta' => (7 - 2),
|
1332 |
Â
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
1333 |
Â
'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
|
1334 |
-
'field_name_options' => MLAOptions::
|
1335 |
-
'data_source_options' => MLAOptions::
|
1336 |
Â
'keep_selected' => '',
|
1337 |
Â
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1338 |
Â
'replace_selected' => 'selected="selected"',
|
@@ -1376,7 +1375,7 @@ class MLAOptions {
|
|
1376 |
Â
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
1377 |
Â
'index' => MLACoreOptions::MLA_NEW_CUSTOM_FIELD,
|
1378 |
Â
'field_name_size' => '24',
|
1379 |
-
'data_source_options' => MLAOptions::
|
1380 |
Â
'keep_selected' => '',
|
1381 |
Â
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1382 |
Â
'replace_selected' => 'selected="selected"',
|
@@ -1474,6 +1473,9 @@ class MLAOptions {
|
|
1474 |
Â
private static function _get_term_id( $term_name, $term_parent, $taxonomy, &$post_terms ) {
|
1475 |
Â
static $term_cache = array();
|
1476 |
Â
|
Â
|
|
Â
|
|
Â
|
|
1477 |
Â
if ( isset( $term_cache[ $taxonomy ] ) && isset( $term_cache[ $taxonomy ][ $term_parent ] ) && isset( $term_cache[ $taxonomy ][ $term_parent ][ $term_name ] ) ) {
|
1478 |
Â
return $term_cache[ $taxonomy ][ $term_parent ][ $term_name ];
|
1479 |
Â
}
|
@@ -1492,12 +1494,20 @@ class MLAOptions {
|
|
1492 |
Â
}
|
1493 |
Â
}
|
1494 |
Â
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1499 |
Â
}
|
1500 |
-
|
1501 |
Â
$post_term = wp_insert_term( $term_name, $taxonomy, array( 'parent' => $term_parent ) );
|
1502 |
Â
if ( ( ! is_wp_error( $post_term ) ) && isset( $post_term['term_id'] ) ) {
|
1503 |
Â
$term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
|
@@ -1656,7 +1666,7 @@ class MLAOptions {
|
|
1656 |
Â
if ( ! MLACore::mla_taxonomy_support($setting_key, 'support') ) {
|
1657 |
Â
continue;
|
1658 |
Â
}
|
1659 |
-
|
1660 |
Â
/*
|
1661 |
Â
* Convert checkbox value(s)
|
1662 |
Â
*/
|
@@ -2417,19 +2427,19 @@ class MLAOptions {
|
|
2417 |
Â
ORDER BY meta_key
|
2418 |
Â
LIMIT $limit" );
|
2419 |
Â
|
2420 |
-
|
2421 |
-
* Add any names in mapping rules that don't exist in the database
|
2422 |
-
*/
|
2423 |
Â
if ( $keys ) {
|
2424 |
-
foreach ( $custom_field_mapping as $value )
|
2425 |
Â
if ( ! in_array( $value['name'], $keys ) ) {
|
2426 |
Â
$keys[] = $value['name'];
|
2427 |
Â
}
|
Â
|
|
2428 |
Â
|
2429 |
-
foreach ( $iptc_exif_mapping as $value )
|
2430 |
Â
if ( ! in_array( $value['name'], $keys ) ) {
|
2431 |
Â
$keys[] = $value['name'];
|
2432 |
Â
}
|
Â
|
|
2433 |
Â
|
2434 |
Â
natcasesort($keys);
|
2435 |
Â
}
|
@@ -2452,7 +2462,6 @@ class MLAOptions {
|
|
2452 |
Â
*/
|
2453 |
Â
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2454 |
Â
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2455 |
-
//error_log( __LINE__ . " mla_iptc_exif_option_handler( $action, $key ) current_values = " . var_export( $current_values, true ), 0 );
|
2456 |
Â
switch ( $action ) {
|
2457 |
Â
case 'render':
|
2458 |
Â
|
@@ -2515,7 +2524,7 @@ class MLAOptions {
|
|
2515 |
Â
if ( ! MLACore::mla_taxonomy_support($row_name, 'support') ) {
|
2516 |
Â
continue;
|
2517 |
Â
}
|
2518 |
-
|
2519 |
Â
$row_values = array (
|
2520 |
Â
'key' => esc_attr( $row_name ),
|
2521 |
Â
'name' => esc_html( $row_value->labels->name ),
|
@@ -2734,7 +2743,7 @@ class MLAOptions {
|
|
2734 |
Â
'column_count_meta' => (5 - 2),
|
2735 |
Â
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
2736 |
Â
'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
|
2737 |
-
'field_name_options' => MLAOptions::
|
2738 |
Â
'iptc_field_options' => MLAOptions::_compose_iptc_option_list( 'none' ),
|
2739 |
Â
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2740 |
Â
'exif_text' => '',
|
312 |
Â
* Add the "filter on custom field" row
|
313 |
Â
*/
|
314 |
Â
$selected = empty( $tax_metakey ) ? 'none' : $tax_metakey;
|
315 |
+
$tax_metakey_options = MLAOptions::mla_compose_custom_field_option_list( $selected, array() );
|
316 |
+
|
317 |
Â
$option_values = array (
|
318 |
Â
'key' => MLACoreOptions::MLA_FILTER_METAKEY,
|
319 |
Â
'name' => '( ' . __( 'Custom Field', 'media-library-assistant' ) . ' )',
|
773 |
Â
/*
|
774 |
Â
* Convert checkbox value(s)
|
775 |
Â
*/
|
776 |
+
$setting_value['no_null'] = isset( $setting_value['no_null'] ) && ( false !== $setting_value['no_null'] );
|
777 |
Â
|
778 |
Â
$setting_value = apply_filters( 'mla_mapping_rule', $setting_value, $post_id, $category, $attachment_metadata );
|
779 |
Â
if ( NULL === $setting_value ) {
|
780 |
Â
continue;
|
781 |
Â
}
|
782 |
Â
|
783 |
+
if ( ( 'none' == $setting_value['data_source'] ) || ( isset( $setting_value['active'] ) && false == $setting_value['active'] ) ) {
|
784 |
Â
continue;
|
785 |
Â
}
|
786 |
Â
|
860 |
Â
*
|
861 |
Â
* @return string HTML markup with select field options
|
862 |
Â
*/
|
863 |
+
public static function mla_compose_custom_field_option_list( $selection = 'none', $blacklist = array() ) {
|
864 |
Â
/*
|
865 |
Â
* Add the "None" option to the front of the list
|
866 |
Â
*/
|
896 |
Â
} // foreach custom_field_name
|
897 |
Â
|
898 |
Â
return $custom_field_options;
|
899 |
+
} // mla_compose_custom_field_option_list
|
900 |
Â
|
901 |
Â
/**
|
902 |
Â
* Compose a (Custom Field) Data Source Options list with current selection
|
908 |
Â
*
|
909 |
Â
* @return string HTML markup with select field options
|
910 |
Â
*/
|
911 |
+
public static function mla_compose_data_source_option_list( $selection = 'none' ) {
|
912 |
Â
$option_template = MLAOptions::$mla_option_templates['custom-field-select-option'];
|
913 |
Â
|
914 |
Â
$option_values = array (
|
964 |
Â
} // foreach custom_field_name
|
965 |
Â
|
966 |
Â
return $custom_field_options;
|
967 |
+
} // mla_compose_data_source_option_list
|
968 |
Â
|
969 |
Â
/**
|
970 |
Â
* Update custom field mappings
|
1187 |
Â
*/
|
1188 |
Â
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
Â
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
Â
|
|
1190 |
Â
|
1191 |
Â
switch ( $action ) {
|
1192 |
Â
case 'render':
|
1232 |
Â
'key' => esc_attr( $row_name ),
|
1233 |
Â
'name_attr' => esc_attr( $row_name ),
|
1234 |
Â
'name' => esc_html( $row_name ),
|
1235 |
+
'data_source_options' => MLAOptions::mla_compose_data_source_option_list( $current_value['data_source'] ),
|
1236 |
Â
'keep_selected' => '',
|
1237 |
Â
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1238 |
Â
'replace_selected' => '',
|
1330 |
Â
'column_count_meta' => (7 - 2),
|
1331 |
Â
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
1332 |
Â
'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
|
1333 |
+
'field_name_options' => MLAOptions::mla_compose_custom_field_option_list( 'none', $current_values ),
|
1334 |
+
'data_source_options' => MLAOptions::mla_compose_data_source_option_list( 'none' ),
|
1335 |
Â
'keep_selected' => '',
|
1336 |
Â
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1337 |
Â
'replace_selected' => 'selected="selected"',
|
1375 |
Â
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
1376 |
Â
'index' => MLACoreOptions::MLA_NEW_CUSTOM_FIELD,
|
1377 |
Â
'field_name_size' => '24',
|
1378 |
+
'data_source_options' => MLAOptions::mla_compose_data_source_option_list( 'none' ),
|
1379 |
Â
'keep_selected' => '',
|
1380 |
Â
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
1381 |
Â
'replace_selected' => 'selected="selected"',
|
1473 |
Â
private static function _get_term_id( $term_name, $term_parent, $taxonomy, &$post_terms ) {
|
1474 |
Â
static $term_cache = array();
|
1475 |
Â
|
1476 |
+
// WordPress encodes special characters, e.g., "&" as HTML entities in term names
|
1477 |
+
$term_name = _wp_specialchars( $term_name );
|
1478 |
+
|
1479 |
Â
if ( isset( $term_cache[ $taxonomy ] ) && isset( $term_cache[ $taxonomy ][ $term_parent ] ) && isset( $term_cache[ $taxonomy ][ $term_parent ][ $term_name ] ) ) {
|
1480 |
Â
return $term_cache[ $taxonomy ][ $term_parent ][ $term_name ];
|
1481 |
Â
}
|
1494 |
Â
}
|
1495 |
Â
}
|
1496 |
Â
|
1497 |
+
if ( 0 === $term_parent ) {
|
1498 |
+
$post_term = get_term_by( 'name', $term_name, $taxonomy );
|
1499 |
+
if ( false !== $post_term ) {
|
1500 |
+
$term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term->term_id;
|
1501 |
+
return $post_term->term_id;
|
1502 |
+
}
|
1503 |
+
} else {
|
1504 |
+
$post_term = term_exists( $term_name, $taxonomy, $term_parent );
|
1505 |
+
if ( $post_term !== 0 && $post_term !== NULL ) {
|
1506 |
+
$term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = absint( $post_term['term_id'] );
|
1507 |
+
return absint( $post_term['term_id'] );
|
1508 |
+
}
|
1509 |
Â
}
|
1510 |
+
|
1511 |
Â
$post_term = wp_insert_term( $term_name, $taxonomy, array( 'parent' => $term_parent ) );
|
1512 |
Â
if ( ( ! is_wp_error( $post_term ) ) && isset( $post_term['term_id'] ) ) {
|
1513 |
Â
$term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
|
1666 |
Â
if ( ! MLACore::mla_taxonomy_support($setting_key, 'support') ) {
|
1667 |
Â
continue;
|
1668 |
Â
}
|
1669 |
+
|
1670 |
Â
/*
|
1671 |
Â
* Convert checkbox value(s)
|
1672 |
Â
*/
|
2427 |
Â
ORDER BY meta_key
|
2428 |
Â
LIMIT $limit" );
|
2429 |
Â
|
2430 |
+
// Add any names in mapping rules that don't exist in the database
|
Â
|
|
Â
|
|
2431 |
Â
if ( $keys ) {
|
2432 |
+
foreach ( $custom_field_mapping as $value ) {
|
2433 |
Â
if ( ! in_array( $value['name'], $keys ) ) {
|
2434 |
Â
$keys[] = $value['name'];
|
2435 |
Â
}
|
2436 |
+
}
|
2437 |
Â
|
2438 |
+
foreach ( $iptc_exif_mapping as $value ) {
|
2439 |
Â
if ( ! in_array( $value['name'], $keys ) ) {
|
2440 |
Â
$keys[] = $value['name'];
|
2441 |
Â
}
|
2442 |
+
}
|
2443 |
Â
|
2444 |
Â
natcasesort($keys);
|
2445 |
Â
}
|
2462 |
Â
*/
|
2463 |
Â
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2464 |
Â
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
Â
|
|
2465 |
Â
switch ( $action ) {
|
2466 |
Â
case 'render':
|
2467 |
Â
|
2524 |
Â
if ( ! MLACore::mla_taxonomy_support($row_name, 'support') ) {
|
2525 |
Â
continue;
|
2526 |
Â
}
|
2527 |
+
|
2528 |
Â
$row_values = array (
|
2529 |
Â
'key' => esc_attr( $row_name ),
|
2530 |
Â
'name' => esc_html( $row_value->labels->name ),
|
2743 |
Â
'column_count_meta' => (5 - 2),
|
2744 |
Â
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
2745 |
Â
'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
|
2746 |
+
'field_name_options' => MLAOptions::mla_compose_custom_field_option_list( 'none', $current_values['custom'] ),
|
2747 |
Â
'iptc_field_options' => MLAOptions::_compose_iptc_option_list( 'none' ),
|
2748 |
Â
'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
|
2749 |
Â
'exif_text' => '',
|
includes/class-mla-polylang-shortcode-support.php
CHANGED
@@ -24,9 +24,14 @@ class MLA_Polylang_Shortcodes {
|
|
24 |
Â
* @return void
|
25 |
Â
*/
|
26 |
Â
public static function initialize() {
|
27 |
-
|
28 |
-
|
29 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
30 |
Â
add_filter( 'mla_get_terms_query_arguments', 'MLA_Polylang_Shortcodes::mla_get_terms_query_arguments', 10, 1 );
|
31 |
Â
add_filter( 'mla_get_terms_clauses', 'MLA_Polylang_Shortcodes::mla_get_terms_clauses', 10, 1 );
|
32 |
Â
}
|
24 |
Â
* @return void
|
25 |
Â
*/
|
26 |
Â
public static function initialize() {
|
27 |
+
global $polylang;
|
28 |
+
|
29 |
+
// If no language is defined, there's nothing to do
|
30 |
+
if ( NULL === $polylang->curlang ) {
|
31 |
+
return;
|
32 |
+
}
|
33 |
+
|
34 |
+
// Defined in /media-library-assistant/includes/class-mla-shortcode-support.php
|
35 |
Â
add_filter( 'mla_get_terms_query_arguments', 'MLA_Polylang_Shortcodes::mla_get_terms_query_arguments', 10, 1 );
|
36 |
Â
add_filter( 'mla_get_terms_clauses', 'MLA_Polylang_Shortcodes::mla_get_terms_clauses', 10, 1 );
|
37 |
Â
}
|
includes/class-mla-polylang-support.php
CHANGED
@@ -42,52 +42,42 @@ class MLA_Polylang {
|
|
42 |
Â
* @return void
|
43 |
Â
*/
|
44 |
Â
public static function initialize() {
|
Â
|
|
Â
|
|
45 |
Â
self::$polylang_1dot8_plus = version_compare( POLYLANG_VERSION, '1.7.99', '>' );
|
46 |
Â
|
47 |
-
|
48 |
-
* These filters are only useful for the admin section;
|
49 |
-
* exit in the front-end posts/pages
|
50 |
-
*/
|
51 |
Â
if ( ! is_admin() ) {
|
52 |
Â
return;
|
53 |
Â
}
|
54 |
Â
|
55 |
-
|
56 |
-
|
57 |
-
|
Â
|
|
Â
|
|
Â
|
|
58 |
Â
add_action( 'admin_init', 'MLA_Polylang::admin_init' );
|
59 |
Â
|
60 |
-
|
61 |
-
* Defined in /wp-admin/admin-header.php
|
62 |
-
*/
|
63 |
Â
add_action( 'admin_enqueue_scripts', 'MLA_Polylang::admin_enqueue_scripts', 10, 1 );
|
64 |
Â
|
65 |
-
|
66 |
-
* Defined in wp-admin/includes/post.php function edit_post
|
67 |
-
*/
|
68 |
Â
add_filter( 'attachment_fields_to_save', 'MLA_Polylang::attachment_fields_to_save', 10, 2 );
|
69 |
Â
|
70 |
-
|
71 |
-
* Defined in wp-includes/post.php function wp_insert_post
|
72 |
-
*/
|
73 |
Â
add_action( 'edit_attachment', 'MLA_Polylang::edit_attachment', 10, 1 );
|
74 |
Â
|
75 |
-
|
76 |
-
* Defined in /media-library-assistant/includes/class-mla-data.php
|
77 |
-
*/
|
78 |
Â
add_action( 'mla_updated_single_item', 'MLA_Polylang::mla_updated_single_item', 10, 2 );
|
79 |
Â
|
80 |
-
|
81 |
-
* Defined in /media-library-assistant/includes/class-mla-media-modal.php
|
82 |
-
*/
|
83 |
Â
add_filter( 'mla_media_modal_terms_options', 'MLA_Polylang::mla_media_modal_terms_options', 10, 1 );
|
84 |
Â
add_action( 'mla_media_modal_begin_update_compat_fields', 'MLA_Polylang::mla_media_modal_begin_update_compat_fields', 10, 1 );
|
85 |
Â
add_filter( 'mla_media_modal_update_compat_fields_terms', 'MLA_Polylang::mla_media_modal_update_compat_fields_terms', 10, 4 );
|
86 |
Â
add_filter( 'mla_media_modal_end_update_compat_fields', 'MLA_Polylang::mla_media_modal_end_update_compat_fields', 10, 3 );
|
87 |
Â
|
88 |
-
|
89 |
-
* Defined in /media-library-assistant/includes/class-mla-main.php
|
90 |
-
*/
|
91 |
Â
add_filter( 'mla_list_table_inline_fields', 'MLA_Polylang::mla_list_table_inline_fields', 10, 1 );
|
92 |
Â
add_filter( 'mla_list_table_inline_action', 'MLA_Polylang::mla_list_table_inline_action', 10, 2 );
|
93 |
Â
add_filter( 'mla_list_table_bulk_action_initial_request', 'MLA_Polylang::mla_list_table_bulk_action_initial_request', 10, 3 );
|
@@ -97,9 +87,7 @@ class MLA_Polylang {
|
|
97 |
Â
add_filter( 'mla_list_table_inline_values', 'MLA_Polylang::mla_list_table_inline_values', 10, 1 );
|
98 |
Â
add_filter( 'mla_list_table_inline_parse', 'MLA_Polylang::mla_list_table_inline_parse', 10, 3 );
|
99 |
Â
|
100 |
-
|
101 |
-
* Defined in /media-library-assistant/includes/class-mla-list-table.php
|
102 |
-
*/
|
103 |
Â
add_filter( 'mla_list_table_get_columns', 'MLA_Polylang::mla_list_table_get_columns', 10, 1 );
|
104 |
Â
add_filter( 'mla_list_table_get_bulk_actions', 'MLA_Polylang::mla_list_table_get_bulk_actions', 10, 1 );
|
105 |
Â
add_filter( 'mla_list_table_column_default', 'MLA_Polylang::mla_list_table_column_default', 10, 3 );
|
@@ -112,22 +100,16 @@ class MLA_Polylang {
|
|
112 |
Â
add_filter( 'mla_list_table_build_rollover_actions', 'MLA_Polylang::mla_list_table_build_rollover_actions', 10, 3 );
|
113 |
Â
add_filter( 'mla_list_table_build_inline_data', 'MLA_Polylang::mla_list_table_build_inline_data', 10, 2 );
|
114 |
Â
|
115 |
-
|
116 |
-
* Defined in /media-library-assistant/includes/class-mla-objects.php
|
117 |
-
*/
|
118 |
Â
//add_filter( 'mla_taxonomy_get_columns', 'MLA_Polylang::mla_taxonomy_get_columns', 10, 3 );
|
119 |
Â
|
120 |
-
|
121 |
-
* Defined in /media-library-assistant/includes/class-mla-settings.php
|
122 |
-
*/
|
123 |
Â
add_filter( 'mla_get_options_tablist', 'MLA_Polylang::mla_get_options_tablist', 10, 3 );
|
124 |
Â
add_action( 'mla_begin_mapping', 'MLA_Polylang::mla_begin_mapping', 10, 2 );
|
125 |
Â
add_filter( 'mla_mapping_new_text', 'MLA_Polylang::mla_mapping_new_text', 10, 5 );
|
126 |
Â
add_action( 'mla_end_mapping', 'MLA_Polylang::mla_end_mapping', 10, 0 );
|
127 |
Â
|
128 |
-
|
129 |
-
* Defined in /polylang/admin/admin-filters-media.php
|
130 |
-
*/
|
131 |
Â
add_action( 'pll_translate_media', 'MLA_Polylang::pll_translate_media', 10, 3 );
|
132 |
Â
}
|
133 |
Â
|
42 |
Â
* @return void
|
43 |
Â
*/
|
44 |
Â
public static function initialize() {
|
45 |
+
global $polylang;
|
46 |
+
|
47 |
Â
self::$polylang_1dot8_plus = version_compare( POLYLANG_VERSION, '1.7.99', '>' );
|
48 |
Â
|
49 |
+
// These filters are only useful for the admin section; exit in the front-end posts/pages
|
Â
|
|
Â
|
|
Â
|
|
50 |
Â
if ( ! is_admin() ) {
|
51 |
Â
return;
|
52 |
Â
}
|
53 |
Â
|
54 |
+
// If no language is defined, there's nothing to do
|
55 |
+
if ( NULL === $polylang->curlang ) {
|
56 |
+
return;
|
57 |
+
}
|
58 |
+
|
59 |
+
// Defined in /wp-admin/admin.php
|
60 |
Â
add_action( 'admin_init', 'MLA_Polylang::admin_init' );
|
61 |
Â
|
62 |
+
// Defined in /wp-admin/admin-header.php
|
Â
|
|
Â
|
|
63 |
Â
add_action( 'admin_enqueue_scripts', 'MLA_Polylang::admin_enqueue_scripts', 10, 1 );
|
64 |
Â
|
65 |
+
// Defined in wp-admin/includes/post.php function edit_post
|
Â
|
|
Â
|
|
66 |
Â
add_filter( 'attachment_fields_to_save', 'MLA_Polylang::attachment_fields_to_save', 10, 2 );
|
67 |
Â
|
68 |
+
// Defined in wp-includes/post.php function wp_insert_post
|
Â
|
|
Â
|
|
69 |
Â
add_action( 'edit_attachment', 'MLA_Polylang::edit_attachment', 10, 1 );
|
70 |
Â
|
71 |
+
// Defined in /media-library-assistant/includes/class-mla-data.php
|
Â
|
|
Â
|
|
72 |
Â
add_action( 'mla_updated_single_item', 'MLA_Polylang::mla_updated_single_item', 10, 2 );
|
73 |
Â
|
74 |
+
// Defined in /media-library-assistant/includes/class-mla-media-modal.php
|
Â
|
|
Â
|
|
75 |
Â
add_filter( 'mla_media_modal_terms_options', 'MLA_Polylang::mla_media_modal_terms_options', 10, 1 );
|
76 |
Â
add_action( 'mla_media_modal_begin_update_compat_fields', 'MLA_Polylang::mla_media_modal_begin_update_compat_fields', 10, 1 );
|
77 |
Â
add_filter( 'mla_media_modal_update_compat_fields_terms', 'MLA_Polylang::mla_media_modal_update_compat_fields_terms', 10, 4 );
|
78 |
Â
add_filter( 'mla_media_modal_end_update_compat_fields', 'MLA_Polylang::mla_media_modal_end_update_compat_fields', 10, 3 );
|
79 |
Â
|
80 |
+
// Defined in /media-library-assistant/includes/class-mla-main.php
|
Â
|
|
Â
|
|
81 |
Â
add_filter( 'mla_list_table_inline_fields', 'MLA_Polylang::mla_list_table_inline_fields', 10, 1 );
|
82 |
Â
add_filter( 'mla_list_table_inline_action', 'MLA_Polylang::mla_list_table_inline_action', 10, 2 );
|
83 |
Â
add_filter( 'mla_list_table_bulk_action_initial_request', 'MLA_Polylang::mla_list_table_bulk_action_initial_request', 10, 3 );
|
87 |
Â
add_filter( 'mla_list_table_inline_values', 'MLA_Polylang::mla_list_table_inline_values', 10, 1 );
|
88 |
Â
add_filter( 'mla_list_table_inline_parse', 'MLA_Polylang::mla_list_table_inline_parse', 10, 3 );
|
89 |
Â
|
90 |
+
// Defined in /media-library-assistant/includes/class-mla-list-table.php
|
Â
|
|
Â
|
|
91 |
Â
add_filter( 'mla_list_table_get_columns', 'MLA_Polylang::mla_list_table_get_columns', 10, 1 );
|
92 |
Â
add_filter( 'mla_list_table_get_bulk_actions', 'MLA_Polylang::mla_list_table_get_bulk_actions', 10, 1 );
|
93 |
Â
add_filter( 'mla_list_table_column_default', 'MLA_Polylang::mla_list_table_column_default', 10, 3 );
|
100 |
Â
add_filter( 'mla_list_table_build_rollover_actions', 'MLA_Polylang::mla_list_table_build_rollover_actions', 10, 3 );
|
101 |
Â
add_filter( 'mla_list_table_build_inline_data', 'MLA_Polylang::mla_list_table_build_inline_data', 10, 2 );
|
102 |
Â
|
103 |
+
// Defined in /media-library-assistant/includes/class-mla-objects.php
|
Â
|
|
Â
|
|
104 |
Â
//add_filter( 'mla_taxonomy_get_columns', 'MLA_Polylang::mla_taxonomy_get_columns', 10, 3 );
|
105 |
Â
|
106 |
+
// Defined in /media-library-assistant/includes/class-mla-settings.php
|
Â
|
|
Â
|
|
107 |
Â
add_filter( 'mla_get_options_tablist', 'MLA_Polylang::mla_get_options_tablist', 10, 3 );
|
108 |
Â
add_action( 'mla_begin_mapping', 'MLA_Polylang::mla_begin_mapping', 10, 2 );
|
109 |
Â
add_filter( 'mla_mapping_new_text', 'MLA_Polylang::mla_mapping_new_text', 10, 5 );
|
110 |
Â
add_action( 'mla_end_mapping', 'MLA_Polylang::mla_end_mapping', 10, 0 );
|
111 |
Â
|
112 |
+
// Defined in /polylang/admin/admin-filters-media.php
|
Â
|
|
Â
|
|
113 |
Â
add_action( 'pll_translate_media', 'MLA_Polylang::pll_translate_media', 10, 3 );
|
114 |
Â
}
|
115 |
Â
|
includes/class-mla-settings-custom-fields-tab.php
CHANGED
@@ -14,6 +14,15 @@
|
|
14 |
Â
* @since 2.40
|
15 |
Â
*/
|
16 |
Â
class MLASettings_CustomFields {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
17 |
Â
/**
|
18 |
Â
* Load the tab's Javascript files
|
19 |
Â
*
|
@@ -22,22 +31,33 @@ class MLASettings_CustomFields {
|
|
22 |
Â
* @param string $page_hook Name of the page being loaded
|
23 |
Â
*/
|
24 |
Â
public static function mla_admin_enqueue_scripts( $page_hook ) {
|
25 |
-
global $wpdb;
|
26 |
Â
|
27 |
Â
// Without a tab value that matches ours, there's nothing to do
|
28 |
Â
if ( empty( $_REQUEST['mla_tab'] ) || 'custom_field' !== $_REQUEST['mla_tab'] ) {
|
29 |
Â
return;
|
30 |
Â
}
|
31 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
32 |
Â
/*
|
33 |
-
* Initialize
|
34 |
Â
*/
|
35 |
Â
$script_variables = array(
|
36 |
Â
'error' => __( 'Error while making the changes.', 'media-library-assistant' ),
|
37 |
Â
'ntdeltitle' => __( 'Remove From Bulk Edit', 'media-library-assistant' ),
|
38 |
Â
'notitle' => '(' . __( 'no slug', 'media-library-assistant' ) . ')',
|
39 |
Â
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
40 |
-
'useSpinnerClass' =>
|
41 |
Â
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
42 |
Â
'bulkChunkSize' => MLACore::mla_get_option( MLACoreOptions::MLA_BULK_CHUNK_SIZE ),
|
43 |
Â
'bulkWaiting' => __( 'Waiting', 'media-library-assistant' ),
|
@@ -57,18 +77,35 @@ class MLASettings_CustomFields {
|
|
57 |
Â
'totalItems' => $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->posts} WHERE `post_type` = 'attachment'" )
|
58 |
Â
);
|
59 |
Â
|
60 |
-
if ( version_compare( get_bloginfo( 'version' ), '4.2', '>=' ) ) {
|
61 |
-
$script_variables['useSpinnerClass'] = true;
|
62 |
-
}
|
63 |
-
|
64 |
-
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
65 |
-
|
66 |
Â
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG,
|
67 |
Â
MLA_PLUGIN_URL . "js/mla-inline-mapping-scripts{$suffix}.js",
|
68 |
Â
array( 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
69 |
Â
|
70 |
Â
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG,
|
71 |
Â
MLASettings::JAVASCRIPT_INLINE_MAPPING_OBJECT, $script_variables );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
72 |
Â
}
|
73 |
Â
|
74 |
Â
/**
|
@@ -77,7 +114,7 @@ class MLASettings_CustomFields {
|
|
77 |
Â
* @since 1.10
|
78 |
Â
* @uses $_REQUEST if passed a NULL parameter
|
79 |
Â
*
|
80 |
-
* @param
|
81 |
Â
*
|
82 |
Â
* @return array Message(s) reflecting the results of the operation
|
83 |
Â
*/
|
@@ -85,6 +122,7 @@ class MLASettings_CustomFields {
|
|
85 |
Â
$message_list = '';
|
86 |
Â
$option_messages = '';
|
87 |
Â
|
Â
|
|
88 |
Â
if ( NULL == $new_values ) {
|
89 |
Â
/*
|
90 |
Â
* Start with any page-level options
|
@@ -96,9 +134,14 @@ class MLASettings_CustomFields {
|
|
96 |
Â
}
|
97 |
Â
|
98 |
Â
/*
|
99 |
-
*
|
100 |
Â
*/
|
101 |
-
$
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
102 |
Â
} // NULL
|
103 |
Â
|
104 |
Â
/*
|
@@ -114,14 +157,13 @@ class MLASettings_CustomFields {
|
|
114 |
Â
|
115 |
Â
/**
|
116 |
Â
* Process custom field settings against all image attachments
|
117 |
-
* without saving the settings to the mla_option
|
118 |
Â
*
|
119 |
-
* @since
|
120 |
Â
* @uses $_REQUEST if passed a NULL parameter
|
121 |
Â
*
|
122 |
-
* @param
|
123 |
-
* @param
|
124 |
-
* @param
|
125 |
Â
*
|
126 |
Â
* @return array Message(s) reflecting the results of the operation
|
127 |
Â
*/
|
@@ -129,16 +171,9 @@ class MLASettings_CustomFields {
|
|
129 |
Â
global $wpdb;
|
130 |
Â
if ( NULL == $settings ) {
|
131 |
Â
$source = 'custom_fields';
|
132 |
-
$settings = (
|
133 |
-
if ( isset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
|
134 |
-
unset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_FIELD ] );
|
135 |
-
}
|
136 |
-
if ( isset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_RULE ] ) ) {
|
137 |
-
unset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_RULE ] );
|
138 |
-
}
|
139 |
Â
} else {
|
140 |
Â
$source = 'custom_rule';
|
141 |
-
$settings = stripslashes_deep( $settings );
|
142 |
Â
}
|
143 |
Â
|
144 |
Â
if ( empty( $settings ) ) {
|
@@ -191,6 +226,328 @@ class MLASettings_CustomFields {
|
|
191 |
Â
);
|
192 |
Â
} // _process_custom_field_mapping
|
193 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
194 |
Â
/**
|
195 |
Â
* Compose the Custom Field tab content for the Settings subpage
|
196 |
Â
*
|
@@ -199,85 +556,154 @@ class MLASettings_CustomFields {
|
|
199 |
Â
* @return array 'message' => status/error messages, 'body' => tab content
|
200 |
Â
*/
|
201 |
Â
public static function mla_compose_custom_field_tab( ) {
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
207 |
Â
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
208 |
Â
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
*/
|
213 |
-
if ( !empty( $_REQUEST['custom-field-options-save'] ) ) {
|
214 |
-
$page_content = self::_save_custom_field_settings( );
|
215 |
-
} elseif ( !empty( $_REQUEST['custom-field-options-map'] ) ) {
|
216 |
-
$page_content = self::_process_custom_field_mapping( );
|
217 |
-
} else {
|
218 |
-
$page_content = array(
|
219 |
-
'message' => '',
|
220 |
-
'body' => ''
|
221 |
-
);
|
222 |
Â
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
case '
|
236 |
-
|
237 |
-
case 'add_field':
|
238 |
-
case 'update_rule':
|
239 |
-
$page_content = self::_save_custom_field_settings( $settings );
|
240 |
-
if ( isset( $delete_result ) ) {
|
241 |
-
$page_content['message'] = $delete_result . $page_content['message'];
|
242 |
-
}
|
243 |
Â
break;
|
244 |
-
case '
|
245 |
-
$
|
246 |
-
break;
|
247 |
-
case 'add_rule_map':
|
248 |
-
case 'add_field_map':
|
249 |
-
$page_content = self::_save_custom_field_settings( $settings );
|
250 |
-
if ( false === strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
251 |
-
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
252 |
-
$settings = array( $value['name'] => $current_values[$value['name']] );
|
253 |
-
$map_content = self::_process_custom_field_mapping( $settings );
|
254 |
-
$page_content['message'] .= '<br> <br>' . $map_content['message'];
|
255 |
-
}
|
256 |
Â
break;
|
257 |
Â
default:
|
258 |
-
|
259 |
-
} //switch
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
271 |
Â
|
272 |
Â
if ( !empty( $page_content['body'] ) ) {
|
273 |
Â
return $page_content;
|
274 |
Â
}
|
275 |
Â
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
281 |
Â
}
|
282 |
Â
|
283 |
Â
$page_values = array(
|
@@ -301,42 +727,90 @@ class MLASettings_CustomFields {
|
|
301 |
Â
'mla-progress-div' => $progress_div,
|
302 |
Â
'Custom Field Options' => __( 'Custom Field and Attachment Metadata Processing Options', 'media-library-assistant' ),
|
303 |
Â
/* translators: 1: Documentation hyperlink */
|
304 |
-
'In this tab' =>
|
305 |
Â
/* translators: 1: Documentation hyperlink */
|
306 |
-
'You can find' =>
|
307 |
Â
'settingsURL' => admin_url('options-general.php'),
|
308 |
-
'form_url' => admin_url( 'options-general.php' ) .
|
309 |
-
'
|
310 |
-
'Custom field mapping' => __( 'Custom field mapping', 'media-library-assistant' ),
|
311 |
-
'custom_options_list' => '',
|
312 |
-
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
313 |
-
'Map All Rules' => __( 'Map All Rules, All Attachments Now', 'media-library-assistant' ),
|
314 |
-
/* translators: 1: "Save Changes" */
|
315 |
-
'Click Save Changes' => sprintf( __( 'Click %1$s to update the "Enable custom field mapping..." checkbox and/or all rule changes and additions at once. <strong>No rule mapping will be performed.</strong>', 'media-library-assistant' ), '<strong>' . __( 'Save Changes', 'media-library-assistant' ) . '</strong>' ),
|
316 |
-
/* translators: 1: "Map All Rules..." */
|
317 |
-
'Click Map All' => sprintf( __( 'Click %1$s to apply all the rules at once (rule changes will be applied but not saved).', 'media-library-assistant' ), '<strong>' . __( 'Map All Rules, All Attachments Now', 'media-library-assistant' ) . '</strong>' ),
|
318 |
Â
'_wpnonce' => wp_nonce_field( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME, true, false ),
|
319 |
-
'
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
320 |
Â
);
|
321 |
Â
|
322 |
-
|
323 |
-
* Start with any page-level options
|
324 |
-
*/
|
325 |
-
$options_list = '';
|
326 |
-
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
327 |
-
if ( 'custom_field' == $value['tab'] ) {
|
328 |
-
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
329 |
-
}
|
330 |
-
}
|
331 |
Â
|
332 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
333 |
Â
|
334 |
-
|
335 |
-
* Add mapping options
|
336 |
-
*/
|
337 |
-
$page_values['custom_options_list'] = MLAOptions::mla_custom_field_option_handler( 'render', 'custom_field_mapping', MLACoreOptions::$mla_option_definitions['custom_field_mapping'] );
|
338 |
Â
|
339 |
-
$page_content['body'] = MLAData::mla_parse_template( $page_template_array['custom-field-tab'], $page_values );
|
340 |
Â
return $page_content;
|
341 |
Â
} // mla_compose_custom_field_tab
|
342 |
Â
|
@@ -352,105 +826,63 @@ class MLASettings_CustomFields {
|
|
352 |
Â
set_current_screen( $_REQUEST['screen'] );
|
353 |
Â
check_ajax_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
354 |
Â
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
if ( ! empty( $_REQUEST['bulk_action'] ) ) {
|
359 |
-
if ( 'custom-field-options-map' == $_REQUEST['bulk_action'] ) {
|
360 |
-
$_REQUEST['custom-field-options-map'] = __( 'Map All Rules, All Attachments Now', 'media-library-assistant' );
|
361 |
-
} else {
|
362 |
-
$match_count = preg_match( '/custom_field_mapping\[(.*)\]\[(.*)\]\[(.*)\]/', $_REQUEST['bulk_action'], $matches );
|
363 |
-
if ( $match_count ) {
|
364 |
-
$_REQUEST['custom_field_mapping'][ $matches[1] ][ $matches[2] ][ $matches[3] ] = __( 'Map All Attachments', 'media-library-assistant' );
|
365 |
-
}
|
366 |
-
}
|
367 |
-
}
|
368 |
-
|
369 |
-
/*
|
370 |
-
* Check for action or submit buttons.
|
371 |
-
*/
|
372 |
Â
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
Â
|
|
379 |
Â
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
385 |
Â
} else {
|
386 |
-
$page_content =
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
);
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
}
|
412 |
-
// fallthru
|
413 |
-
case 'add_field_map':
|
414 |
-
if ( '' == $value['name'] ) {
|
415 |
-
$page_content['message'] = __( 'Custom field no mapping rule changes detected.', 'media-library-assistant' );
|
416 |
-
break;
|
417 |
-
}
|
418 |
-
|
419 |
-
if ( 0 == $offset ) {
|
420 |
-
$page_content = self::_save_custom_field_settings( $settings );
|
421 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
422 |
-
$page_content['processed'] = 0;
|
423 |
-
$page_content['unchanged'] = 0;
|
424 |
-
$page_content['success'] = 0;
|
425 |
-
break;
|
426 |
-
}
|
427 |
-
}
|
428 |
-
|
429 |
-
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
430 |
-
$settings = array( $value['name'] => $current_values[$value['name']] );
|
431 |
-
$map_content = self::_process_custom_field_mapping( $settings, $offset, $length );
|
432 |
-
$page_content['message'] .= '<br> <br>' . $map_content['message'];
|
433 |
-
$page_content['processed'] = $map_content['processed'];
|
434 |
-
$page_content['unchanged'] = $map_content['unchanged'];
|
435 |
-
$page_content['success'] = $map_content['success'];
|
436 |
-
$page_content['refresh'] = true;
|
437 |
-
break;
|
438 |
-
default:
|
439 |
-
// ignore everything else
|
440 |
-
} //switch action
|
441 |
-
} // foreach action
|
442 |
-
} /// isset action
|
443 |
-
} // foreach rule
|
444 |
-
} // specific rule check
|
445 |
-
} // isset custom_field_mapping
|
446 |
-
else {
|
447 |
-
$page_content = array(
|
448 |
-
'message' => '',
|
449 |
-
'body' => '',
|
450 |
-
'processed' => 0,
|
451 |
-
'unchanged' => 0,
|
452 |
-
'success' => 0
|
453 |
-
);
|
454 |
Â
}
|
455 |
Â
|
456 |
Â
$chunk_results = array(
|
@@ -464,11 +896,1651 @@ class MLASettings_CustomFields {
|
|
464 |
Â
MLACore::mla_debug_add( 'MLASettings::mla_inline_mapping_custom_action $chunk_results = ' . var_export( $chunk_results, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
465 |
Â
wp_send_json_success( $chunk_results );
|
466 |
Â
} // mla_inline_mapping_custom_action
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
467 |
Â
} // class MLASettings_CustomFields
|
468 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
469 |
Â
/*
|
470 |
Â
* Actions are added here, when the source file is loaded, because the mla_compose_custom_field_tab
|
471 |
Â
* function is called too late to be useful.
|
472 |
Â
*/
|
473 |
Â
add_action( 'admin_enqueue_scripts', 'MLASettings_CustomFields::mla_admin_enqueue_scripts' );
|
Â
|
|
474 |
Â
?>
|
14 |
Â
* @since 2.40
|
15 |
Â
*/
|
16 |
Â
class MLASettings_CustomFields {
|
17 |
+
/**
|
18 |
+
* Object name for localizing JavaScript - MLA Custom Fields List Table
|
19 |
+
*
|
20 |
+
* @since 2.50
|
21 |
+
*
|
22 |
+
* @var string
|
23 |
+
*/
|
24 |
+
const JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT = 'mla_inline_edit_settings_vars';
|
25 |
+
|
26 |
Â
/**
|
27 |
Â
* Load the tab's Javascript files
|
28 |
Â
*
|
31 |
Â
* @param string $page_hook Name of the page being loaded
|
32 |
Â
*/
|
33 |
Â
public static function mla_admin_enqueue_scripts( $page_hook ) {
|
34 |
+
global $wpdb, $wp_locale;
|
35 |
Â
|
36 |
Â
// Without a tab value that matches ours, there's nothing to do
|
37 |
Â
if ( empty( $_REQUEST['mla_tab'] ) || 'custom_field' !== $_REQUEST['mla_tab'] ) {
|
38 |
Â
return;
|
39 |
Â
}
|
40 |
Â
|
41 |
+
if ( $wp_locale->is_rtl() ) {
|
42 |
+
wp_register_style( MLACore::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style-rtl.css', false, MLACore::CURRENT_MLA_VERSION );
|
43 |
+
} else {
|
44 |
+
wp_register_style( MLACore::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, MLACore::CURRENT_MLA_VERSION );
|
45 |
+
}
|
46 |
+
|
47 |
+
wp_enqueue_style( MLACore::STYLESHEET_SLUG );
|
48 |
+
|
49 |
+
$use_spinner_class = version_compare( get_bloginfo( 'version' ), '4.2', '>=' );
|
50 |
+
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
51 |
+
|
52 |
Â
/*
|
53 |
+
* Initialize variables for mapping scripts
|
54 |
Â
*/
|
55 |
Â
$script_variables = array(
|
56 |
Â
'error' => __( 'Error while making the changes.', 'media-library-assistant' ),
|
57 |
Â
'ntdeltitle' => __( 'Remove From Bulk Edit', 'media-library-assistant' ),
|
58 |
Â
'notitle' => '(' . __( 'no slug', 'media-library-assistant' ) . ')',
|
59 |
Â
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
60 |
+
'useSpinnerClass' => $use_spinner_class,
|
61 |
Â
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
62 |
Â
'bulkChunkSize' => MLACore::mla_get_option( MLACoreOptions::MLA_BULK_CHUNK_SIZE ),
|
63 |
Â
'bulkWaiting' => __( 'Waiting', 'media-library-assistant' ),
|
77 |
Â
'totalItems' => $wpdb->get_var( "SELECT COUNT(*) FROM {$wpdb->posts} WHERE `post_type` = 'attachment'" )
|
78 |
Â
);
|
79 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
80 |
Â
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG,
|
81 |
Â
MLA_PLUGIN_URL . "js/mla-inline-mapping-scripts{$suffix}.js",
|
82 |
Â
array( 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
83 |
Â
|
84 |
Â
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG,
|
85 |
Â
MLASettings::JAVASCRIPT_INLINE_MAPPING_OBJECT, $script_variables );
|
86 |
+
|
87 |
+
/*
|
88 |
+
* Initialize variables for inline edit scripts
|
89 |
+
*/
|
90 |
+
$script_variables = array(
|
91 |
+
'error' => __( 'Error while making the changes.', 'media-library-assistant' ),
|
92 |
+
'ntdeltitle' => __( 'Remove From Bulk Edit', 'media-library-assistant' ),
|
93 |
+
'notitle' => '(' . __( 'no slug', 'media-library-assistant' ) . ')',
|
94 |
+
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
95 |
+
'useSpinnerClass' => $use_spinner_class,
|
96 |
+
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
97 |
+
'tab' => 'custom_field',
|
98 |
+
'fields' => array( 'name', 'rule_name', 'data_source', 'meta_name', 'format', 'option', 'keep_existing', 'active' ),
|
99 |
+
'checkboxes' => array( 'no_null', 'mla_column', 'quick_edit', 'bulk_edit' ),
|
100 |
+
'ajax_action' => MLASettings::JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG,
|
101 |
+
);
|
102 |
+
|
103 |
+
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG,
|
104 |
+
MLA_PLUGIN_URL . "js/mla-inline-edit-settings-scripts{$suffix}.js",
|
105 |
+
array( 'wp-lists', 'suggest', 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
106 |
+
|
107 |
+
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG,
|
108 |
+
self::JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT, $script_variables );
|
109 |
Â
}
|
110 |
Â
|
111 |
Â
/**
|
114 |
Â
* @since 1.10
|
115 |
Â
* @uses $_REQUEST if passed a NULL parameter
|
116 |
Â
*
|
117 |
+
* @param array | NULL specific custom_field_mapping values
|
118 |
Â
*
|
119 |
Â
* @return array Message(s) reflecting the results of the operation
|
120 |
Â
*/
|
122 |
Â
$message_list = '';
|
123 |
Â
$option_messages = '';
|
124 |
Â
|
125 |
+
// Tab-level Save Changes
|
126 |
Â
if ( NULL == $new_values ) {
|
127 |
Â
/*
|
128 |
Â
* Start with any page-level options
|
134 |
Â
}
|
135 |
Â
|
136 |
Â
/*
|
137 |
+
* Uncomment this for debugging.
|
138 |
Â
*/
|
139 |
+
// $message_list = $option_messages . '<br>';
|
140 |
+
|
141 |
+
return array(
|
142 |
+
'message' => $message_list . __( 'Custom field mapping settings saved.', 'media-library-assistant' ) . "\r\n",
|
143 |
+
'body' => ''
|
144 |
+
);
|
145 |
Â
} // NULL
|
146 |
Â
|
147 |
Â
/*
|
157 |
Â
|
158 |
Â
/**
|
159 |
Â
* Process custom field settings against all image attachments
|
Â
|
|
160 |
Â
*
|
161 |
+
* @since 2.50
|
162 |
Â
* @uses $_REQUEST if passed a NULL parameter
|
163 |
Â
*
|
164 |
+
* @param array | NULL specific custom_field_mapping values
|
165 |
+
* @param integer offset for chunk mapping
|
166 |
+
* @param integer length for chunk mapping
|
167 |
Â
*
|
168 |
Â
* @return array Message(s) reflecting the results of the operation
|
169 |
Â
*/
|
171 |
Â
global $wpdb;
|
172 |
Â
if ( NULL == $settings ) {
|
173 |
Â
$source = 'custom_fields';
|
174 |
+
$settings = MLACore::mla_get_option( 'custom_field_mapping' );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
175 |
Â
} else {
|
176 |
Â
$source = 'custom_rule';
|
Â
|
|
177 |
Â
}
|
178 |
Â
|
179 |
Â
if ( empty( $settings ) ) {
|
226 |
Â
);
|
227 |
Â
} // _process_custom_field_mapping
|
228 |
Â
|
229 |
+
/**
|
230 |
+
* Add a custom field rule from values in $_REQUEST
|
231 |
+
*
|
232 |
+
* @since 2.50
|
233 |
+
* @uses $_REQUEST for field-level values
|
234 |
+
*
|
235 |
+
* @return string Message(s) reflecting the results of the operation
|
236 |
+
*/
|
237 |
+
private static function _add_custom_field_rule() {
|
238 |
+
$mla_custom_field = isset( $_REQUEST['mla_custom_field'] ) ? $_REQUEST['mla_custom_field'] : array();
|
239 |
+
|
240 |
+
// Validate new rule name
|
241 |
+
if ( !empty( $mla_custom_field['new_field'] ) ) {
|
242 |
+
$new_name = $mla_custom_field['new_field'];
|
243 |
+
} elseif ( !empty( $mla_custom_field['new_name'] ) && ( 'none' !== $mla_custom_field['new_name'] ) ) {
|
244 |
+
$new_name = $mla_custom_field['new_name'];
|
245 |
+
} else {
|
246 |
+
return __( 'ERROR', 'media-library-assistant' ) . __( ': No custom field name selected/entered', 'media-library-assistant' );
|
247 |
+
}
|
248 |
+
|
249 |
+
if ( MLA_Custom_Field_Query::mla_find_custom_field_rule_ID( $new_name ) ) {
|
250 |
+
return __( 'ERROR', 'media-library-assistant' ) . __( ': Rule already exists for the new name', 'media-library-assistant' );
|
251 |
+
}
|
252 |
+
|
253 |
+
// Convert checkbox/dropdown controls to booleans
|
254 |
+
$mla_custom_field['mla_column'] = isset( $mla_custom_field['mla_column'] );
|
255 |
+
$mla_custom_field['quick_edit'] = isset( $mla_custom_field['quick_edit'] );
|
256 |
+
$mla_custom_field['bulk_edit'] = isset( $mla_custom_field['bulk_edit'] );
|
257 |
+
$mla_custom_field['keep_existing'] = '1' === $mla_custom_field['keep_existing'];
|
258 |
+
$mla_custom_field['no_null'] = isset( $mla_custom_field['no_null'] );
|
259 |
+
$mla_custom_field['active'] = '1' === $mla_custom_field['status'];
|
260 |
+
|
261 |
+
$new_rule = array(
|
262 |
+
'post_ID' => 0,
|
263 |
+
'rule_name' => $new_name,
|
264 |
+
'name' => $new_name,
|
265 |
+
'data_source' => $mla_custom_field['data_source'],
|
266 |
+
'meta_name' => $mla_custom_field['meta_name'],
|
267 |
+
'format' => $mla_custom_field['format'],
|
268 |
+
'option' => $mla_custom_field['option'],
|
269 |
+
'keep_existing' => $mla_custom_field['keep_existing'],
|
270 |
+
'no_null' => $mla_custom_field['no_null'],
|
271 |
+
'mla_column' => $mla_custom_field['mla_column'],
|
272 |
+
'quick_edit' => $mla_custom_field['quick_edit'],
|
273 |
+
'bulk_edit' => $mla_custom_field['bulk_edit'],
|
274 |
+
'active' => $mla_custom_field['active'],
|
275 |
+
'read_only' => false,
|
276 |
+
'changed' => true,
|
277 |
+
'deleted' => false,
|
278 |
+
);
|
279 |
+
|
280 |
+
if ( MLA_Custom_Field_Query::mla_add_custom_field_rule( $new_rule ) ) {
|
281 |
+
return __( 'Rule added', 'media-library-assistant' );
|
282 |
+
}
|
283 |
+
|
284 |
+
return __( 'ERROR', 'media-library-assistant' ) . __( ': Rule addition failed', 'media-library-assistant' );
|
285 |
+
} // _add_custom_field_rule
|
286 |
+
|
287 |
+
/**
|
288 |
+
* Update a custom field rule from full-screen Edit Rule values in $_REQUEST
|
289 |
+
*
|
290 |
+
* @since 2.50
|
291 |
+
* @uses $_REQUEST for field-level values
|
292 |
+
*
|
293 |
+
* @param integer $post_id ID value of rule to update
|
294 |
+
* @param array &$template Display templates.
|
295 |
+
* @return array 'message' => status/error messages, 'body' => tab content
|
296 |
+
*/
|
297 |
+
private static function _update_custom_field_rule( $post_id, &$template ) {
|
298 |
+
$error_message = '';
|
299 |
+
$mla_custom_field = isset( $_REQUEST['mla_custom_field'] ) ? $_REQUEST['mla_custom_field'] : array();
|
300 |
+
|
301 |
+
// Validate rule name change
|
302 |
+
if ( !empty( $mla_custom_field['new_field'] ) ) {
|
303 |
+
$new_name = $mla_custom_field['new_field'];
|
304 |
+
} elseif ( !empty( $mla_custom_field['new_name'] ) && ( 'none' !== $mla_custom_field['new_name'] ) ) {
|
305 |
+
$new_name = $mla_custom_field['new_name'];
|
306 |
+
} else {
|
307 |
+
$new_name = '';
|
308 |
+
}
|
309 |
+
|
310 |
+
if ( !empty( $new_name) ) {
|
311 |
+
if ( MLA_Custom_Field_Query::mla_find_custom_field_rule_ID( $new_name ) ) {
|
312 |
+
$error_message = __( 'ERROR', 'media-library-assistant' ) . __( ': Rule already exists for the new name', 'media-library-assistant' );
|
313 |
+
$new_name = '';
|
314 |
+
}
|
315 |
+
} elseif ( $mla_custom_field['name'] !== $mla_custom_field['rule_name'] ) {
|
316 |
+
$error_message = __( 'ERROR', 'media-library-assistant' ) . __( ': Invalid rule name must be changed', 'media-library-assistant' );
|
317 |
+
}
|
318 |
+
|
319 |
+
// Convert checkbox/dropdown controls to booleans
|
320 |
+
$mla_custom_field['mla_column'] = isset( $mla_custom_field['mla_column'] );
|
321 |
+
$mla_custom_field['quick_edit'] = isset( $mla_custom_field['quick_edit'] );
|
322 |
+
$mla_custom_field['bulk_edit'] = isset( $mla_custom_field['bulk_edit'] );
|
323 |
+
$mla_custom_field['keep_existing'] = '1' === $mla_custom_field['keep_existing'];
|
324 |
+
$mla_custom_field['no_null'] = isset( $mla_custom_field['no_null'] );
|
325 |
+
$mla_custom_field['active'] = '1' === $mla_custom_field['status'];
|
326 |
+
$mla_custom_field['read_only'] = $mla_custom_field['name'] !== $mla_custom_field['rule_name'];
|
327 |
+
|
328 |
+
$new_rule = array(
|
329 |
+
'post_ID' => $mla_custom_field['post_ID'],
|
330 |
+
'rule_name' => $new_name ? $new_name : $mla_custom_field['rule_name'],
|
331 |
+
'name' => $new_name ? $new_name : $mla_custom_field['name'],
|
332 |
+
'data_source' => $mla_custom_field['data_source'],
|
333 |
+
'meta_name' => $mla_custom_field['meta_name'],
|
334 |
+
'format' => $mla_custom_field['format'],
|
335 |
+
'option' => $mla_custom_field['option'],
|
336 |
+
'keep_existing' => $mla_custom_field['keep_existing'],
|
337 |
+
'no_null' => $mla_custom_field['no_null'],
|
338 |
+
'mla_column' => $mla_custom_field['mla_column'],
|
339 |
+
'quick_edit' => $mla_custom_field['quick_edit'],
|
340 |
+
'bulk_edit' => $mla_custom_field['bulk_edit'],
|
341 |
+
'active' => $mla_custom_field['active'],
|
342 |
+
'read_only' => $mla_custom_field['read_only'],
|
343 |
+
'changed' => true,
|
344 |
+
'deleted' => false,
|
345 |
+
);
|
346 |
+
|
347 |
+
if ( empty( $error_message ) ) {
|
348 |
+
if ( false === MLA_Custom_Field_Query::mla_replace_custom_field_rule( $new_rule ) ) {
|
349 |
+
$error_message = __( 'ERROR', 'media-library-assistant' ) . __( ': Rule update failed', 'media-library-assistant' );
|
350 |
+
}
|
351 |
+
}
|
352 |
+
|
353 |
+
if ( empty( $error_message ) ) {
|
354 |
+
return array( 'message' => __( 'Rule updated', 'media-library-assistant' ), 'body' => '' );
|
355 |
+
}
|
356 |
+
|
357 |
+
$page_content = self::_compose_edit_custom_field_rule_tab( $new_rule, $template );
|
358 |
+
$page_content['message'] = $error_message;
|
359 |
+
return $page_content;
|
360 |
+
} // _update_custom_field_rule
|
361 |
+
|
362 |
+
/**
|
363 |
+
* Delete a custom field rule
|
364 |
+
*
|
365 |
+
* @since 2.50
|
366 |
+
*
|
367 |
+
* @param integer $post_id ID value of rule to delete
|
368 |
+
*
|
369 |
+
* @return array Message(s) reflecting the results of the operation
|
370 |
+
*/
|
371 |
+
private static function _delete_custom_field_rule( $post_id ) {
|
372 |
+
$rule = MLA_Custom_Field_Query::mla_find_custom_field_rule( $post_id );
|
373 |
+
if ( false === $rule ) {
|
374 |
+
return "ERROR: _delete_custom_field_rule( {$post_id} ) rule not found.";
|
375 |
+
}
|
376 |
+
|
377 |
+
MLA_Custom_Field_Query::mla_update_custom_field_rule( $post_id, 'deleted', true );
|
378 |
+
return sprintf( __( 'Custom Field Rule "%1$s" deleted.', 'media-library-assistant' ), $rule['rule_name'] );
|
379 |
+
} // _delete_custom_field_rule
|
380 |
+
|
381 |
+
/**
|
382 |
+
* Update a custom field rule from Bulk Edit action values in $_REQUEST
|
383 |
+
*
|
384 |
+
* @since 2.50
|
385 |
+
* @uses $_REQUEST for field-level values
|
386 |
+
*
|
387 |
+
* @param integer $post_id ID value of rule to update
|
388 |
+
* @return string status/error message
|
389 |
+
*/
|
390 |
+
private static function _bulk_update_custom_field_rule( $post_id ) {
|
391 |
+
$rule = MLA_Custom_Field_Query::mla_find_custom_field_rule( $post_id );
|
392 |
+
if ( false === $rule ) {
|
393 |
+
return "ERROR: _bulk_update_custom_field_rule( {$post_id} ) rule not found.";
|
394 |
+
}
|
395 |
+
|
396 |
+
// Convert dropdown controls to field values
|
397 |
+
if ( '-1' !== $_REQUEST['format'] ) {
|
398 |
+
$rule['format'] = $_REQUEST['format'];
|
399 |
+
}
|
400 |
+
|
401 |
+
if ( '-1' !== $_REQUEST['option'] ) {
|
402 |
+
$rule['option'] = $_REQUEST['option'];
|
403 |
+
}
|
404 |
+
|
405 |
+
if ( '-1' !== $_REQUEST['keep_existing'] ) {
|
406 |
+
$rule['keep_existing'] = '1' === $_REQUEST['keep_existing'];
|
407 |
+
}
|
408 |
+
|
409 |
+
if ( '-1' !== $_REQUEST['no_null'] ) {
|
410 |
+
$rule['no_null'] = '1' === $_REQUEST['no_null'];
|
411 |
+
}
|
412 |
+
|
413 |
+
if ( '-1' !== $_REQUEST['mla_column'] ) {
|
414 |
+
$rule['mla_column'] = '1' === $_REQUEST['mla_column'];
|
415 |
+
}
|
416 |
+
|
417 |
+
if ( '-1' !== $_REQUEST['quick_edit'] ) {
|
418 |
+
$rule['quick_edit'] = '1' === $_REQUEST['quick_edit'];
|
419 |
+
}
|
420 |
+
|
421 |
+
if ( '-1' !== $_REQUEST['bulk_edit'] ) {
|
422 |
+
$rule['bulk_edit'] = '1' === $_REQUEST['bulk_edit'];
|
423 |
+
}
|
424 |
+
|
425 |
+
if ( '-1' !== $_REQUEST['active'] ) {
|
426 |
+
$rule['active'] = '1' === $_REQUEST['active'];
|
427 |
+
}
|
428 |
+
|
429 |
+
$rule['changed'] = true;
|
430 |
+
$rule['deleted'] = false;
|
431 |
+
|
432 |
+
if ( false === MLA_Custom_Field_Query::mla_replace_custom_field_rule( $rule ) ) {
|
433 |
+
return __( 'ERROR', 'media-library-assistant' ) . __( ': Rule update failed', 'media-library-assistant' );
|
434 |
+
}
|
435 |
+
|
436 |
+
return __( 'Rule updated', 'media-library-assistant' );
|
437 |
+
} // _bulk_update_custom_field_rule
|
438 |
+
|
439 |
+
/**
|
440 |
+
* Compose the Edit Custom Field Rule tab content for the Settings/Custom Field subpage
|
441 |
+
*
|
442 |
+
* @since 2.50
|
443 |
+
*
|
444 |
+
* @param array $item Data values for the item.
|
445 |
+
* @param array &$template Display templates.
|
446 |
+
* @return array 'message' => status/error messages, 'body' => tab content
|
447 |
+
*/
|
448 |
+
private static function _compose_edit_custom_field_rule_tab( $item, &$template ) {
|
449 |
+
//error_log( __LINE__ . " _compose_edit_custom_field_rule_tab item = " . var_export( $item, true ), 0 );
|
450 |
+
//error_log( __LINE__ . " _compose_edit_custom_field_rule_tab template = " . var_export( $template, true ), 0 );
|
451 |
+
|
452 |
+
// An old bug left multiple rules for the same custom field; only one can be active
|
453 |
+
if ( $item['name'] === $item['rule_name'] ) {
|
454 |
+
$display_name = $item['name'];
|
455 |
+
} else {
|
456 |
+
$display_name = $item['rule_name'] . ' / ' . $item['name'];
|
457 |
+
}
|
458 |
+
|
459 |
+
$page_values = array(
|
460 |
+
'Edit Rule' => __( 'Edit Rule', 'media-library-assistant' ),
|
461 |
+
'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-custom_field&mla_tab=custom_field',
|
462 |
+
'post_ID' => $item['post_ID'],
|
463 |
+
'name' => $item['name'],
|
464 |
+
'rule_name' => $item['rule_name'],
|
465 |
+
'_wpnonce' => wp_nonce_field( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME, true, false ),
|
466 |
+
'Name' => __( 'Name', 'media-library-assistant' ),
|
467 |
+
'display_name' => $display_name,
|
468 |
+
'new_names' => MLAOptions::mla_compose_custom_field_option_list( '', MLA_Custom_Field_Query::mla_custom_field_rule_names() ),
|
469 |
+
'Enter Name' => __( 'This is the name of the custom field to which the rule applies.<br>Only one rule is allowed for each custom field.', 'media-library-assistant' ),
|
470 |
+
'Change Name' => __( 'Change Name', 'media-library-assistant' ),
|
471 |
+
'Cancel Name Change' => __( 'Cancel Name Change', 'media-library-assistant' ),
|
472 |
+
'Enter new field' => __( 'Enter new field', 'media-library-assistant' ),
|
473 |
+
'Cancel new field' => __( 'Cancel new field', 'media-library-assistant' ),
|
474 |
+
'Data Source' => __( 'Data Source', 'media-library-assistant' ),
|
475 |
+
'data_sources' => MLAOptions::mla_compose_data_source_option_list( $item['data_source'] ),
|
476 |
+
'Meta/Template' => __( 'Meta/Template', 'media-library-assistant' ),
|
477 |
+
'meta_name' => $item['meta_name'],
|
478 |
+
'Enter Meta/Template' => __( 'WordPress attachment metadata element or Content Template', 'media-library-assistant' ),
|
479 |
+
'mla_column' => $item['mla_column'] ? 'checked=checked' : '',
|
480 |
+
'MLA Column' => __( 'MLA Column', 'media-library-assistant' ),
|
481 |
+
'Check MLA Column' => __( 'Display as Media/Assistant column', 'media-library-assistant' ),
|
482 |
+
'quick_edit' => $item['quick_edit'] ? 'checked=checked' : '',
|
483 |
+
'Quick Edit' => __( 'Quick Edit', 'media-library-assistant' ),
|
484 |
+
'Check Quick Edit' => __( 'Add to Media/Assistant Quick Edit area', 'media-library-assistant' ),
|
485 |
+
'bulk_edit' => $item['bulk_edit'] ? 'checked=checked' : '',
|
486 |
+
'Bulk Edit' => __( 'Bulk Edit', 'media-library-assistant' ),
|
487 |
+
'Check Bulk Edit' => __( 'Add to Media/Assistant Bulk Edit area', 'media-library-assistant' ),
|
488 |
+
'Existing Text' => __( 'Existing Text', 'media-library-assistant' ),
|
489 |
+
'keep_selected' => $item['keep_existing'] ? 'selected=selected' : '',
|
490 |
+
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
491 |
+
'replace_selected' => $item['keep_existing'] ? '' : 'selected=selected',
|
492 |
+
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
493 |
+
'Format' => __( 'Format', 'media-library-assistant' ),
|
494 |
+
'native_format' => ( 'native' === $item['format'] ) ? 'selected=selected' : '',
|
495 |
+
'Native' => __( 'Native', 'media-library-assistant' ),
|
496 |
+
'commas_format' => ( 'commas' === $item['format'] ) ? 'selected=selected' : '',
|
497 |
+
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
498 |
+
'raw_format' => ( 'raw' === $item['format'] ) ? 'selected=selected' : '',
|
499 |
+
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
500 |
+
'Option' => __( 'Option', 'media-library-assistant' ),
|
501 |
+
'text_option' => ( 'text' === $item['option'] ) ? 'selected=selected' : '',
|
502 |
+
'Text' => __( 'Text', 'media-library-assistant' ),
|
503 |
+
'single_option' => ( 'single' === $item['option'] ) ? 'selected=selected' : '',
|
504 |
+
'Single' => __( 'Single', 'media-library-assistant' ),
|
505 |
+
'export_option' => ( 'export' === $item['option'] ) ? 'selected=selected' : '',
|
506 |
+
'Export' => __( 'Export', 'media-library-assistant' ),
|
507 |
+
'array_option' => ( 'array' === $item['option'] ) ? 'selected=selected' : '',
|
508 |
+
'Array' => __( 'Array', 'media-library-assistant' ),
|
509 |
+
'multi_option' => ( 'multi' === $item['option'] ) ? 'selected=selected' : '',
|
510 |
+
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
511 |
+
'no_null' => $item['no_null'] ? 'checked=checked' : '',
|
512 |
+
'Delete NULL' => __( 'Delete NULL Values', 'media-library-assistant' ),
|
513 |
+
'Check Delete NULL' => __( 'Do not store empty custom field values', 'media-library-assistant' ),
|
514 |
+
'Status' => __( 'Status', 'media-library-assistant' ),
|
515 |
+
'active_selected' => $item['active'] ? 'selected=selected' : '',
|
516 |
+
'Active' => __( 'Active', 'media-library-assistant' ),
|
517 |
+
'inactive_selected' => $item['active'] ? '' : 'selected=selected',
|
518 |
+
'Inactive' => __( 'Inactive', 'media-library-assistant' ),
|
519 |
+
'cancel' => 'mla-edit-custom-field-cancel',
|
520 |
+
'Cancel' => __( 'Cancel', 'media-library-assistant' ),
|
521 |
+
'submit' => 'mla-edit-custom-field-submit',
|
522 |
+
'Update' => __( 'Update', 'media-library-assistant' ),
|
523 |
+
);
|
524 |
+
|
525 |
+
return array(
|
526 |
+
'message' => '',
|
527 |
+
'body' => MLAData::mla_parse_template( $template['single-item-edit'], $page_values )
|
528 |
+
);
|
529 |
+
}
|
530 |
+
|
531 |
+
/**
|
532 |
+
* Purge one or more custom field vaues for Bulk action
|
533 |
+
*
|
534 |
+
* @since 2.50
|
535 |
+
*
|
536 |
+
* @param array $rule_ids ID value of rule(s), to get field names
|
537 |
+
*
|
538 |
+
* @return array Message(s) reflecting the results of the operation
|
539 |
+
*/
|
540 |
+
private static function _purge_custom_field_values( $rule_ids ) {
|
541 |
+
$message = '';
|
542 |
+
$source_rules = MLA_Custom_Field_Query::mla_convert_custom_field_rules( $rule_ids );
|
543 |
+
foreach ( $source_rules as $rule_name => $rule ) {
|
544 |
+
$result = MLASettings::mla_delete_custom_field( $rule );
|
545 |
+
$message .= sprintf( __( 'Custom Field Rule "%1$s": %2$s', 'media-library-assistant' ), $rule['name'], $result );
|
546 |
+
}
|
547 |
+
|
548 |
+
return $message;
|
549 |
+
}
|
550 |
+
|
551 |
Â
/**
|
552 |
Â
* Compose the Custom Field tab content for the Settings subpage
|
553 |
Â
*
|
556 |
Â
* @return array 'message' => status/error messages, 'body' => tab content
|
557 |
Â
*/
|
558 |
Â
public static function mla_compose_custom_field_tab( ) {
|
559 |
+
//error_log( __LINE__ . ' mla_compose_custom_field_tab REQUEST = ' . var_export( $_REQUEST, true ), 0 );
|
560 |
+
$page_content = array( 'message' => '', 'body' => '' );
|
561 |
+
$page_template_array = MLACore::mla_load_template( 'admin-display-settings-custom-fields-tab.tpl' );
|
562 |
+
if ( ! is_array( $page_template_array ) ) {
|
563 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
564 |
+
$page_content['message'] = sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings_CustomFields::mla_compose_shortcodes_tab', var_export( $page_template_array, true ) );
|
565 |
+
return $page_content;
|
566 |
+
}
|
567 |
+
|
568 |
+
// Initialize page messages and content, check for page-level Save Changes, Add/Update/Cancel Rule
|
569 |
+
if ( !empty( $_REQUEST['mla-custom-field-options-save'] ) ) {
|
570 |
+
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
571 |
+
$page_content = self::_save_custom_field_settings( );
|
572 |
+
} elseif ( !empty( $_REQUEST['mla-add-custom-field-submit'] ) ) {
|
573 |
Â
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
574 |
+
$page_content['message'] = MLASettings_CustomFields::_add_custom_field_rule();
|
575 |
+
MLA_Custom_Field_Query::mla_put_custom_field_rules();
|
576 |
+
} elseif ( !empty( $_REQUEST['mla-edit-custom-field-submit'] ) ) {
|
577 |
+
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
578 |
+
$page_content = MLASettings_CustomFields::_update_custom_field_rule( $_REQUEST['mla_custom_field']['post_ID'], $page_template_array );
|
579 |
+
MLA_Custom_Field_Query::mla_put_custom_field_rules();
|
580 |
+
} elseif ( !empty( $_REQUEST['mla-edit-custom-field-cancel'] ) ) {
|
581 |
+
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
582 |
+
$page_content['message'] = __( 'Edit Custom Field Rule cancelled.', 'media-library-assistant' );
|
583 |
+
}
|
584 |
Â
|
585 |
+
if ( !empty( $page_content['body'] ) ) {
|
586 |
+
return $page_content;
|
587 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
588 |
Â
|
589 |
+
// Process bulk actions that affect an array of items
|
590 |
+
$bulk_action = MLASettings::mla_current_bulk_action();
|
591 |
+
if ( $bulk_action && ( $bulk_action != 'none' ) ) {
|
592 |
+
if ( array_key_exists( $bulk_action, MLA_Custom_Fields_List_Table::mla_get_bulk_actions() ) ) {
|
593 |
+
if ( isset( $_REQUEST['cb_mla_item_ID'] ) ) {
|
594 |
+
if ( 'execute' === $bulk_action ) {
|
595 |
+
$page_content['message'] = sprintf( __( 'Unknown bulk action %1$s', 'media-library-assistant' ), $bulk_action );
|
596 |
+
} elseif ( 'purge' === $bulk_action ) {
|
597 |
+
$page_content['message'] = MLASettings_CustomFields::_purge_custom_field_values( $_REQUEST['cb_mla_item_ID'] );
|
598 |
+
} else {
|
599 |
+
foreach ( $_REQUEST['cb_mla_item_ID'] as $post_ID ) {
|
600 |
+
switch ( $bulk_action ) {
|
601 |
+
case 'edit':
|
602 |
+
$item_content = MLASettings_CustomFields::_bulk_update_custom_field_rule( $post_ID );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
603 |
Â
break;
|
604 |
+
case 'delete':
|
605 |
+
$item_content = MLASettings_CustomFields::_delete_custom_field_rule( $post_ID );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
606 |
Â
break;
|
607 |
Â
default:
|
608 |
+
$item_content = 'Bad action'; // UNREACHABLE
|
609 |
+
} // switch $bulk_action
|
610 |
+
|
611 |
+
$page_content['message'] .= $item_content . '<br>';
|
612 |
+
} // foreach cb_attachment
|
613 |
+
|
614 |
+
MLA_Custom_Field_Query::mla_put_custom_field_rules();
|
615 |
+
} // edit, delete
|
616 |
+
} // isset cb_attachment
|
617 |
+
else {
|
618 |
+
/* translators: 1: action name, e.g., edit */
|
619 |
+
$page_content['message'] = sprintf( __( 'Bulk Action %1$s - no items selected.', 'media-library-assistant' ), $bulk_action );
|
620 |
+
}
|
621 |
+
} else {
|
622 |
+
/* translators: 1: bulk_action, e.g., delete, edit, execute, purge */
|
623 |
+
$page_content['message'] = sprintf( __( 'Unknown bulk action %1$s', 'media-library-assistant' ), $bulk_action );
|
624 |
+
}
|
625 |
+
} // $bulk_action
|
626 |
+
|
627 |
+
/*
|
628 |
+
* Process row-level actions that affect a single item
|
629 |
+
*/
|
630 |
+
if ( !empty( $_REQUEST['mla_admin_action'] ) ) {
|
631 |
+
check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
632 |
+
|
633 |
+
$page_content = array( 'message' => '', 'body' => '' );
|
634 |
+
|
635 |
+
switch ( $_REQUEST['mla_admin_action'] ) {
|
636 |
+
case MLACore::MLA_ADMIN_SINGLE_EDIT_DISPLAY:
|
637 |
+
$item = MLA_Custom_Field_Query::mla_find_custom_field_rule( $_REQUEST['mla_item_ID'] );
|
638 |
+
$page_content = self::_compose_edit_custom_field_rule_tab( $item, $page_template_array );
|
639 |
+
break;
|
640 |
+
case MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE:
|
641 |
+
$page_content['message'] = MLASettings_CustomFields::_purge_custom_field_values( $_REQUEST['mla_item_ID'] );
|
642 |
+
break;
|
643 |
+
case MLACore::MLA_ADMIN_SINGLE_DELETE:
|
644 |
+
$page_content['message'] = MLASettings_CustomFields::_delete_custom_field_rule( $_REQUEST['mla_item_ID'] );
|
645 |
+
MLA_Custom_Field_Query::mla_put_custom_field_rules();
|
646 |
+
break;
|
647 |
+
default:
|
648 |
+
$page_content['message'] = sprintf( __( 'Unknown mla_admin_action - "%1$s"', 'media-library-assistant' ), $_REQUEST['mla_admin_action'] );
|
649 |
+
break;
|
650 |
+
} // switch ($_REQUEST['mla_admin_action'])
|
651 |
+
} // (!empty($_REQUEST['mla_admin_action'])
|
652 |
Â
|
653 |
Â
if ( !empty( $page_content['body'] ) ) {
|
654 |
Â
return $page_content;
|
655 |
Â
}
|
656 |
Â
|
657 |
+
/*
|
658 |
+
* Display the Custom Fields tab and the custom fields rule table
|
659 |
+
*/
|
660 |
+
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
661 |
+
'mla_admin_action',
|
662 |
+
'mla_custom_field_item',
|
663 |
+
'mla_item_ID',
|
664 |
+
'_wpnonce',
|
665 |
+
'_wp_http_referer',
|
666 |
+
'action',
|
667 |
+
'action2',
|
668 |
+
'cb_mla_item_ID',
|
669 |
+
'mla-edit-custom-field-cancel',
|
670 |
+
'mla-edit-custom-field-submit',
|
671 |
+
'mla-custom-field-options-save',
|
672 |
+
), $_SERVER['REQUEST_URI'] );
|
673 |
+
|
674 |
+
// Create an instance of our package class
|
675 |
+
$MLACustomFieldsListTable = new MLA_Custom_Fields_List_Table();
|
676 |
+
|
677 |
+
// Fetch, prepare, sort, and filter our data
|
678 |
+
$MLACustomFieldsListTable->prepare_items();
|
679 |
+
|
680 |
+
// Start with any page-level options
|
681 |
+
$options_list = '';
|
682 |
+
foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
|
683 |
+
if ( 'custom_field' == $value['tab'] ) {
|
684 |
+
$options_list .= MLASettings::mla_compose_option_row( $key, $value );
|
685 |
+
}
|
686 |
+
}
|
687 |
+
|
688 |
+
// WPML requires that lang be the first argument after page
|
689 |
+
$view_arguments = MLA_Custom_Fields_List_Table::mla_submenu_arguments();
|
690 |
+
$form_language = isset( $view_arguments['lang'] ) ? '&lang=' . $view_arguments['lang'] : '';
|
691 |
+
$form_arguments = '?page=mla-settings-menu-custom_field' . $form_language . '&mla_tab=custom_field';
|
692 |
+
|
693 |
+
// We need to remember all the view arguments
|
694 |
+
$view_args = '';
|
695 |
+
foreach ( $view_arguments as $key => $value ) {
|
696 |
+
// 'lang' has already been added to the form action attribute
|
697 |
+
if ( in_array( $key, array( 'lang' ) ) ) {
|
698 |
+
continue;
|
699 |
+
}
|
700 |
+
|
701 |
+
if ( is_array( $value ) ) {
|
702 |
+
foreach ( $value as $element_key => $element_value )
|
703 |
+
$view_args .= "\t" . sprintf( '<input type="hidden" name="%1$s[%2$s]" value="%3$s" />', $key, $element_key, esc_attr( $element_value ) ) . "\n";
|
704 |
+
} else {
|
705 |
+
$view_args .= "\t" . sprintf( '<input type="hidden" name="%1$s" value="%2$s" />', $key, esc_attr( $value ) ) . "\n";
|
706 |
+
}
|
707 |
Â
}
|
708 |
Â
|
709 |
Â
$page_values = array(
|
727 |
Â
'mla-progress-div' => $progress_div,
|
728 |
Â
'Custom Field Options' => __( 'Custom Field and Attachment Metadata Processing Options', 'media-library-assistant' ),
|
729 |
Â
/* translators: 1: Documentation hyperlink */
|
730 |
+
'In this tab' => __( 'In this tab you can define the rules for mapping several types of image metadata to WordPress custom fields. You can also use this screen to define rules for adding or updating fields within the WordPress-supplied "Attachment Metadata", stored in the "_wp_attachment_metadata" custom field.', 'media-library-assistant' ),
|
731 |
Â
/* translators: 1: Documentation hyperlink */
|
732 |
+
'You can find' => __( 'You can find more information about using the controls in this tab to define mapping rules and apply them by clicking the "Help" control in the upper-right corner of the screen.', 'media-library-assistant' ),
|
733 |
Â
'settingsURL' => admin_url('options-general.php'),
|
734 |
+
'form_url' => admin_url( 'options-general.php' ) . $form_arguments,
|
735 |
+
'view_args' => $view_args,
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
736 |
Â
'_wpnonce' => wp_nonce_field( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME, true, false ),
|
737 |
+
'results' => ! empty( $_REQUEST['s'] ) ? '<span class="alignright" style="margin-top: .5em; font-weight: bold">' . __( 'Search results for', 'media-library-assistant' ) . ': </span>' : '',
|
738 |
+
// '_wp_http_referer' => wp_referer_field( false ),
|
739 |
+
'Search Rules Text' => __( 'Search Rules Text', 'media-library-assistant' ),
|
740 |
+
's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
|
741 |
+
'Search Rules' => __( 'Search Rules', 'media-library-assistant' ),
|
742 |
+
'options_list' => $options_list,
|
743 |
+
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
744 |
+
'Map All' => __( 'Execute All Rules', 'media-library-assistant' ),
|
745 |
+
'Add New Rule' => __( 'Add New Rule', 'media-library-assistant' ),
|
746 |
+
'Name' => __( 'Name', 'media-library-assistant' ),
|
747 |
+
'new_names' => MLAOptions::mla_compose_custom_field_option_list( 'none', MLA_Custom_Field_Query::mla_custom_field_rule_names() ),
|
748 |
+
'Enter new field' => __( 'Enter new field', 'media-library-assistant' ),
|
749 |
+
'Cancel new field' => __( 'Cancel new field', 'media-library-assistant' ),
|
750 |
+
'Data Source' => __( 'Data Source', 'media-library-assistant' ),
|
751 |
+
'data_sources' => MLAOptions::mla_compose_data_source_option_list( 'none' ),
|
752 |
+
'Meta/Template' => __( 'Meta/Template', 'media-library-assistant' ),
|
753 |
+
'meta_name' => '', // initial value
|
754 |
+
'Enter Meta/Template' => __( 'WordPress attachment metadata element or Content Template', 'media-library-assistant' ),
|
755 |
+
'mla_column' => '', // or checked=checked
|
756 |
+
'MLA Column' => __( 'MLA Column', 'media-library-assistant' ),
|
757 |
+
'Check MLA Column' => __( 'Display as Media/Assistant column', 'media-library-assistant' ),
|
758 |
+
'quick_edit' => '', // or checked=checked
|
759 |
+
'Quick Edit' => __( 'Quick Edit', 'media-library-assistant' ),
|
760 |
+
'Check Quick Edit' => __( 'Add to Media/Assistant Quick Edit area', 'media-library-assistant' ),
|
761 |
+
'bulk_edit' => '', // or checked=checked
|
762 |
+
'Bulk Edit' => __( 'Bulk Edit', 'media-library-assistant' ),
|
763 |
+
'Check Bulk Edit' => __( 'Add to Media/Assistant Bulk Edit area', 'media-library-assistant' ),
|
764 |
+
'Existing Text' => __( 'Existing Text', 'media-library-assistant' ),
|
765 |
+
'keep_selected' => '',
|
766 |
+
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
767 |
+
'replace_selected' => '',
|
768 |
+
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
769 |
+
'Format' => __( 'Format', 'media-library-assistant' ),
|
770 |
+
'native_format' => '',
|
771 |
+
'Native' => __( 'Native', 'media-library-assistant' ),
|
772 |
+
'commas_format' => '',
|
773 |
+
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
774 |
+
'raw_format' => '',
|
775 |
+
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
776 |
+
'Option' => __( 'Option', 'media-library-assistant' ),
|
777 |
+
'text_option' => '',
|
778 |
+
'Text' => __( 'Text', 'media-library-assistant' ),
|
779 |
+
'single_option' => '',
|
780 |
+
'Single' => __( 'Single', 'media-library-assistant' ),
|
781 |
+
'export_option' => '',
|
782 |
+
'Export' => __( 'Export', 'media-library-assistant' ),
|
783 |
+
'array_option' => '',
|
784 |
+
'Array' => __( 'Array', 'media-library-assistant' ),
|
785 |
+
'multi_option' => '',
|
786 |
+
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
787 |
+
'no_null' => '', // or checked=checked
|
788 |
+
'Delete NULL' => __( 'Delete NULL Values', 'media-library-assistant' ),
|
789 |
+
'Check Delete NULL' => __( 'Do not store empty custom field values', 'media-library-assistant' ),
|
790 |
+
'Status' => __( 'Status', 'media-library-assistant' ),
|
791 |
+
'active_selected' => '',
|
792 |
+
'Active' => __( 'Active', 'media-library-assistant' ),
|
793 |
+
'inactive_selected' => '',
|
794 |
+
'Inactive' => __( 'Inactive', 'media-library-assistant' ),
|
795 |
+
'Add Rule' => __( 'Add Rule', 'media-library-assistant' ),
|
796 |
+
'No Change' => __( 'No Change', 'media-library-assistant' ),
|
797 |
+
'Yes' => __( 'Yes', 'media-library-assistant' ),
|
798 |
+
'No' => __( 'No', 'media-library-assistant' ),
|
799 |
+
'Cancel' => __( 'Cancel', 'media-library-assistant' ),
|
800 |
+
'Update' => __( 'Update', 'media-library-assistant' ),
|
801 |
Â
);
|
802 |
Â
|
803 |
+
$page_content['body'] = MLAData::mla_parse_template( $page_template_array['before-table'], $page_values );
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
804 |
Â
|
805 |
+
// Now we can render the completed list table
|
806 |
+
ob_start();
|
807 |
+
$MLACustomFieldsListTable->views();
|
808 |
+
$MLACustomFieldsListTable->display();
|
809 |
+
$page_content['body'] .= ob_get_contents();
|
810 |
+
ob_end_clean();
|
811 |
Â
|
812 |
+
$page_content['body'] .= MLAData::mla_parse_template( $page_template_array['after-table'], $page_values );
|
Â
|
|
Â
|
|
Â
|
|
813 |
Â
|
Â
|
|
814 |
Â
return $page_content;
|
815 |
Â
} // mla_compose_custom_field_tab
|
816 |
Â
|
826 |
Â
set_current_screen( $_REQUEST['screen'] );
|
827 |
Â
check_ajax_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
828 |
Â
|
829 |
+
// Find the current chunk
|
830 |
+
$offset = isset( $_REQUEST['offset'] ) ? $_REQUEST['offset'] : 0;
|
831 |
+
$length = isset( $_REQUEST['length'] ) ? $_REQUEST['length'] : 0;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
832 |
Â
|
833 |
+
$page_content = array(
|
834 |
+
'message' => 'ERROR: No action taken',
|
835 |
+
'body' => '',
|
836 |
+
'processed' => 0,
|
837 |
+
'unchanged' => 0,
|
838 |
+
'success' => 0
|
839 |
+
);
|
840 |
Â
|
841 |
+
// Look for "Execute All Rules", Bulk Action Execute, then the "Execute" rollover action
|
842 |
+
if ( ! empty( $_REQUEST['bulk_action'] ) && ( 'custom-field-options-map' == $_REQUEST['bulk_action'] ) ) {
|
843 |
+
$page_content = self::_process_custom_field_mapping( NULL, $offset, $length );
|
844 |
+
}
|
845 |
+
elseif ( ! empty( $_REQUEST['bulk_action'] ) && ( 'custom-field-options-bulk-execute' == $_REQUEST['bulk_action'] ) ) {
|
846 |
+
$source_rules = MLA_Custom_Field_Query::mla_convert_custom_field_rules( $_REQUEST['ids'] );
|
847 |
+
|
848 |
+
$rules = array();
|
849 |
+
foreach ( $source_rules as $rule_name => $rule ) {
|
850 |
+
if ( 'none' === $rule['data_source'] ) {
|
851 |
+
continue;
|
852 |
+
}
|
853 |
+
|
854 |
+
$rule['active'] = true; // Always execute for bulk actions
|
855 |
+
$rules[ $rule_name ] = $rule;
|
856 |
+
}
|
857 |
+
|
858 |
+
if ( empty( $rules ) ) {
|
859 |
+
$page_content['message'] = __( 'Nothing to execute', 'media-library-assistant' );
|
860 |
Â
} else {
|
861 |
+
$page_content = self::_process_custom_field_mapping( $rules, $offset, $length );
|
862 |
+
}
|
863 |
+
}
|
864 |
+
elseif ( ! empty( $_REQUEST['bulk_action'] ) && ( 0 === strpos( $_REQUEST['bulk_action'], MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP ) ) ) {
|
865 |
+
$match_count = preg_match( '/\[(.*)\]/', $_REQUEST['bulk_action'], $matches );
|
866 |
+
if ( $match_count ) {
|
867 |
+
$post_id = absint( $matches[1] );
|
868 |
+
$source_rules = MLA_Custom_Field_Query::mla_convert_custom_field_rules( $post_id );
|
869 |
+
|
870 |
+
$rules = array();
|
871 |
+
foreach ( $source_rules as $rule_name => $rule ) {
|
872 |
+
if ( 'none' === $rule['data_source'] ) {
|
873 |
+
continue;
|
874 |
+
}
|
875 |
+
|
876 |
+
$rule['active'] = true; // Always execute for rollover action
|
877 |
+
$rules[ $rule_name ] = $rule;
|
878 |
+
}
|
879 |
+
|
880 |
+
if ( empty( $rules ) ) {
|
881 |
+
$page_content['message'] = __( 'Nothing to execute', 'media-library-assistant' );
|
882 |
+
} else {
|
883 |
+
$page_content = self::_process_custom_field_mapping( $rules, $offset, $length );
|
884 |
+
}
|
885 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
886 |
Â
}
|
887 |
Â
|
888 |
Â
$chunk_results = array(
|
896 |
Â
MLACore::mla_debug_add( 'MLASettings::mla_inline_mapping_custom_action $chunk_results = ' . var_export( $chunk_results, true ), MLACore::MLA_DEBUG_CATEGORY_AJAX );
|
897 |
Â
wp_send_json_success( $chunk_results );
|
898 |
Â
} // mla_inline_mapping_custom_action
|
899 |
+
|
900 |
+
/**
|
901 |
+
* Ajax handler for Custom Fields inline editing (quick edit)
|
902 |
+
*
|
903 |
+
* Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
|
904 |
+
*
|
905 |
+
* @since 2.50
|
906 |
+
*
|
907 |
+
* @return void echo HTML <tr> markup for updated row or error message, then die()
|
908 |
+
*/
|
909 |
+
public static function mla_inline_edit_custom_action() {
|
910 |
+
//error_log( __LINE__ . ' MLASettings_CustomFields::mla_inline_edit_custom_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
|
911 |
+
set_current_screen( $_REQUEST['screen'] );
|
912 |
+
|
913 |
+
check_ajax_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
|
914 |
+
|
915 |
+
$error_message = '';
|
916 |
+
if ( empty( $_REQUEST['post_ID'] ) ) {
|
917 |
+
$error_message = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Rule ID not found', 'media-library-assistant' );
|
918 |
+
} else {
|
919 |
+
$rule = MLA_Custom_Field_Query::mla_find_custom_field_rule( $_REQUEST['post_ID'] );
|
920 |
+
if ( false === $rule ) {
|
921 |
+
$error_message = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Rule not found', 'media-library-assistant' );
|
922 |
+
}
|
923 |
+
}
|
924 |
+
|
925 |
+
if ( !empty( $error_message ) ) {
|
926 |
+
echo $error_message;
|
927 |
+
die();
|
928 |
+
}
|
929 |
+
|
930 |
+
$rule['data_source'] = $_REQUEST['data_source'];
|
931 |
+
$rule['meta_name'] = $_REQUEST['meta_name'];
|
932 |
+
$rule['format'] = $_REQUEST['format'];
|
933 |
+
$rule['option'] = $_REQUEST['option'];
|
934 |
+
$rule['keep_existing'] = '1' === $_REQUEST['keep_existing'];
|
935 |
+
$rule['no_null'] = isset( $_REQUEST['no_null'] ) && '1' === $_REQUEST['no_null'];
|
936 |
+
$rule['mla_column'] = isset( $_REQUEST['mla_column'] ) && '1' === $_REQUEST['mla_column'];
|
937 |
+
$rule['quick_edit'] = isset( $_REQUEST['quick_edit'] ) && '1' === $_REQUEST['quick_edit'];
|
938 |
+
$rule['bulk_edit'] = isset( $_REQUEST['bulk_edit'] ) && '1' === $_REQUEST['bulk_edit'];
|
939 |
+
$rule['active'] = '1' === $_REQUEST['status'];
|
940 |
+
$rule['changed'] = true;
|
941 |
+
$rule['deleted'] = false;
|
942 |
+
|
943 |
+
if ( false === MLA_Custom_Field_Query::mla_replace_custom_field_rule( $rule ) ) {
|
944 |
+
echo __( 'ERROR', 'media-library-assistant' ) . __( ': Rule update failed', 'media-library-assistant' );
|
945 |
+
die();
|
946 |
+
}
|
947 |
+
|
948 |
+
MLA_Custom_Field_Query::mla_put_custom_field_rules();
|
949 |
+
|
950 |
+
// Create an instance of our package class and echo the new HTML
|
951 |
+
$MLAListCustomTable = new MLA_Custom_Fields_List_Table();
|
952 |
+
$MLAListCustomTable->single_row( (object) $rule );
|
953 |
+
die(); // this is required to return a proper result
|
954 |
+
} // mla_inline_edit_upload_action
|
955 |
Â
} // class MLASettings_CustomFields
|
956 |
Â
|
957 |
+
/*
|
958 |
+
* The WP_List_Table class isn't automatically available to plugins
|
959 |
+
*/
|
960 |
+
if ( !class_exists( 'WP_List_Table' ) ) {
|
961 |
+
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
962 |
+
}
|
963 |
+
|
964 |
+
/**
|
965 |
+
* Class MLA (Media Library Assistant) Custom Fields List Table implements the "Custom Fields"
|
966 |
+
* admin settings submenu table
|
967 |
+
*
|
968 |
+
* Extends the core WP_List_Table class.
|
969 |
+
*
|
970 |
+
* @package Media Library Assistant
|
971 |
+
* @since 2.50
|
972 |
+
*/
|
973 |
+
class MLA_Custom_Fields_List_Table extends WP_List_Table {
|
974 |
+
/**
|
975 |
+
* Initializes some properties from $_REQUEST variables, then
|
976 |
+
* calls the parent constructor to set some default configs.
|
977 |
+
*
|
978 |
+
* @since 2.50
|
979 |
+
*
|
980 |
+
* @return void
|
981 |
+
*/
|
982 |
+
function __construct( ) {
|
983 |
+
// MLA does not use this
|
984 |
+
$this->modes = array(
|
985 |
+
'list' => __( 'List View' ),
|
986 |
+
);
|
987 |
+
|
988 |
+
//Set parent defaults
|
989 |
+
parent::__construct( array(
|
990 |
+
'singular' => 'custom_field', //singular name of the listed records
|
991 |
+
'plural' => 'custom_fields', //plural name of the listed records
|
992 |
+
'ajax' => true, //does this table support ajax?
|
993 |
+
'screen' => 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-custom_field'
|
994 |
+
) );
|
995 |
+
|
996 |
+
// NOTE: There is one add_action call at the end of this source file.
|
997 |
+
}
|
998 |
+
|
999 |
+
/**
|
1000 |
+
* Table column definitions
|
1001 |
+
*
|
1002 |
+
* This array defines table columns and titles where the key is the column slug (and class)
|
1003 |
+
* and the value is the column's title text.
|
1004 |
+
*
|
1005 |
+
* All of the columns are added to this array by MLA_Custom_Fields_List_Table::_localize_default_columns_array.
|
1006 |
+
*
|
1007 |
+
* @since 2.50
|
1008 |
+
*
|
1009 |
+
* @var array
|
1010 |
+
*/
|
1011 |
+
private static $default_columns = array();
|
1012 |
+
|
1013 |
+
/**
|
1014 |
+
* Default values for hidden columns
|
1015 |
+
*
|
1016 |
+
* This array is used when the user-level option is not set, i.e.,
|
1017 |
+
* the user has not altered the selection of hidden columns.
|
1018 |
+
*
|
1019 |
+
* The value on the right-hand side must match the column slug, e.g.,
|
1020 |
+
* array(0 => 'ID_parent, 1 => 'title_name').
|
1021 |
+
*
|
1022 |
+
* @since 2.50
|
1023 |
+
*
|
1024 |
+
* @var array
|
1025 |
+
*/
|
1026 |
+
private static $default_hidden_columns = array(
|
1027 |
+
// 'name',
|
1028 |
+
'rule_name',
|
1029 |
+
// 'data_source',
|
1030 |
+
// 'meta_name',
|
1031 |
+
// 'visibility',
|
1032 |
+
// 'status',
|
1033 |
+
'existing_text',
|
1034 |
+
'delete_null',
|
1035 |
+
'format',
|
1036 |
+
'option'
|
1037 |
+
);
|
1038 |
+
|
1039 |
+
/**
|
1040 |
+
* Sortable column definitions
|
1041 |
+
*
|
1042 |
+
* This array defines the table columns that can be sorted. The array key
|
1043 |
+
* is the column slug that needs to be sortable, and the value is database column
|
1044 |
+
* to sort by. Often, the key and value will be the same, but this is not always
|
1045 |
+
* the case (as the value is a column name from the database, not the list table).
|
1046 |
+
*
|
1047 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
1048 |
+
* for the column is DESC/Descending.
|
1049 |
+
*
|
1050 |
+
* @since 2.50
|
1051 |
+
* @access private
|
1052 |
+
* @var array $default_sortable_columns {
|
1053 |
+
* @type array $$column_slug {
|
1054 |
+
* @type string $orderby_name Database column or other sorting slug.
|
1055 |
+
* @type boolean $descending Optional. True to make the initial orderby DESC.
|
1056 |
+
* }
|
1057 |
+
* }
|
1058 |
+
*/
|
1059 |
+
private static $default_sortable_columns = array(
|
1060 |
+
'name' => array('name',true),
|
1061 |
+
'rule_name' => array('rule_name',true),
|
1062 |
+
'data_source' => array('data_source',false),
|
1063 |
+
// 'meta_name',
|
1064 |
+
// 'visibility',
|
1065 |
+
'status' => array('status',false),
|
1066 |
+
'existing_text' => array('existing_text',false),
|
1067 |
+
'delete_null' => array('delete_null',false),
|
1068 |
+
'format' => array('format',false),
|
1069 |
+
'option' => array('option',false),
|
1070 |
+
);
|
1071 |
+
|
1072 |
+
/**
|
1073 |
+
* Access the default list of hidden columns
|
1074 |
+
*
|
1075 |
+
* @since 2.50
|
1076 |
+
*
|
1077 |
+
* @return array default list of hidden columns
|
1078 |
+
*/
|
1079 |
+
private static function _default_hidden_columns( ) {
|
1080 |
+
return self::$default_hidden_columns;
|
1081 |
+
}
|
1082 |
+
|
1083 |
+
/**
|
1084 |
+
* Return the names and display values of the sortable columns
|
1085 |
+
*
|
1086 |
+
* @since 2.50
|
1087 |
+
*
|
1088 |
+
* @return array name => array( orderby value, heading ) for sortable columns
|
1089 |
+
*/
|
1090 |
+
public static function mla_get_sortable_columns( ) {
|
1091 |
+
self::_localize_default_columns_array();
|
1092 |
+
$columns = self::$default_sortable_columns;
|
1093 |
+
|
1094 |
+
if ( isset( $_REQUEST['orderby'] ) ) {
|
1095 |
+
$needle = array( $_REQUEST['orderby'], false );
|
1096 |
+
$key = array_search( $needle, $columns );
|
1097 |
+
if ( $key ) {
|
1098 |
+
$columns[ $key ][ 1 ] = true;
|
1099 |
+
}
|
1100 |
+
} else {
|
1101 |
+
$columns['name'][ 1 ] = true;
|
1102 |
+
}
|
1103 |
+
|
1104 |
+
return $columns;
|
1105 |
+
$results = array() ;
|
1106 |
+
|
1107 |
+
foreach ( self::$default_sortable_columns as $key => $value ) {
|
1108 |
+
$value[1] = self::$default_columns[ $key ];
|
1109 |
+
$results[ $key ] = $value;
|
1110 |
+
}
|
1111 |
+
|
1112 |
+
return $results;
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
/**
|
1116 |
+
* Process $_REQUEST, building $submenu_arguments
|
1117 |
+
*
|
1118 |
+
* @since 2.50
|
1119 |
+
*
|
1120 |
+
* @param boolean $include_filters Optional. Include the "click filter" values in the results. Default true.
|
1121 |
+
* @return array non-empty view, search, filter and sort arguments
|
1122 |
+
*/
|
1123 |
+
public static function mla_submenu_arguments( $include_filters = true ) {
|
1124 |
+
static $submenu_arguments = NULL, $has_filters = NULL;
|
1125 |
+
|
1126 |
+
if ( is_array( $submenu_arguments ) && ( $has_filters == $include_filters ) ) {
|
1127 |
+
return $submenu_arguments;
|
1128 |
+
}
|
1129 |
+
|
1130 |
+
$submenu_arguments = array();
|
1131 |
+
$has_filters = $include_filters;
|
1132 |
+
|
1133 |
+
// View arguments
|
1134 |
+
if ( isset( $_REQUEST['mla_custom_field_view'] ) ) {
|
1135 |
+
$submenu_arguments['mla_custom_field_view'] = $_REQUEST['mla_custom_field_view'];
|
1136 |
+
}
|
1137 |
+
|
1138 |
+
// Search box arguments
|
1139 |
+
if ( !empty( $_REQUEST['s'] ) ) {
|
1140 |
+
$submenu_arguments['s'] = urlencode( stripslashes( $_REQUEST['s'] ) );
|
1141 |
+
}
|
1142 |
+
|
1143 |
+
// Filter arguments (from table header)
|
1144 |
+
if ( isset( $_REQUEST['mla_custom_field_status'] ) && ( 'any' != $_REQUEST['mla_custom_field_status'] ) ) {
|
1145 |
+
$submenu_arguments['mla_custom_field_status'] = $_REQUEST['mla_custom_field_status'];
|
1146 |
+
}
|
1147 |
+
|
1148 |
+
// Sort arguments (from column header)
|
1149 |
+
if ( isset( $_REQUEST['order'] ) ) {
|
1150 |
+
$submenu_arguments['order'] = $_REQUEST['order'];
|
1151 |
+
}
|
1152 |
+
|
1153 |
+
if ( isset( $_REQUEST['orderby'] ) ) {
|
1154 |
+
$submenu_arguments['orderby'] = $_REQUEST['orderby'];
|
1155 |
+
}
|
1156 |
+
|
1157 |
+
return $submenu_arguments;
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
/**
|
1161 |
+
* Handler for filter 'get_user_option_managesettings_page_mla-settings-menu-custom_fieldcolumnshidden'
|
1162 |
+
*
|
1163 |
+
* Required because the screen.php get_hidden_columns function only uses
|
1164 |
+
* the get_user_option result. Set when the file is loaded because the object
|
1165 |
+
* is not created in time for the call from screen.php.
|
1166 |
+
*
|
1167 |
+
* @since 2.50
|
1168 |
+
*
|
1169 |
+
* @param mixed false or array with current list of hidden columns, if any
|
1170 |
+
* @param string 'managesettings_page_mla-settings-menu-custom_fieldcolumnshidden'
|
1171 |
+
* @param object WP_User object, if logged in
|
1172 |
+
*
|
1173 |
+
* @return array updated list of hidden columns
|
1174 |
+
*/
|
1175 |
+
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
1176 |
+
if ( false !== $result ) {
|
1177 |
+
return $result;
|
1178 |
+
}
|
1179 |
+
|
1180 |
+
return self::_default_hidden_columns();
|
1181 |
+
}
|
1182 |
+
|
1183 |
+
/**
|
1184 |
+
* Handler for filter 'manage_settings_page_mla-settings-menu_columns'
|
1185 |
+
*
|
1186 |
+
* This required filter dictates the table's columns and titles. Set when the
|
1187 |
+
* file is loaded because the list_table object isn't created in time
|
1188 |
+
* to affect the "screen options" setup.
|
1189 |
+
*
|
1190 |
+
* @since 2.50
|
1191 |
+
*
|
1192 |
+
* @return array list of table columns
|
1193 |
+
*/
|
1194 |
+
public static function mla_manage_columns_filter( ) {
|
1195 |
+
self::_localize_default_columns_array();
|
1196 |
+
return self::$default_columns;
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
/**
|
1200 |
+
* Builds the $default_columns array with translated source texts.
|
1201 |
+
*
|
1202 |
+
* @since 2.50
|
1203 |
+
*
|
1204 |
+
* @return void
|
1205 |
+
*/
|
1206 |
+
private static function _localize_default_columns_array( ) {
|
1207 |
+
if ( empty( self::$default_columns ) ) {
|
1208 |
+
// Build the default columns array at runtime to accomodate calls to the localization functions
|
1209 |
+
self::$default_columns = array(
|
1210 |
+
'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
|
1211 |
+
'name' => _x( 'Name', 'list_table_column', 'media-library-assistant' ),
|
1212 |
+
'rule_name' => _x( 'Bad Name', 'list_table_column', 'media-library-assistant' ),
|
1213 |
+
'data_source' => _x( 'Source', 'list_table_column', 'media-library-assistant' ),
|
1214 |
+
'meta_name' => _x( 'Meta/Template', 'list_table_column', 'media-library-assistant' ),
|
1215 |
+
'visibility' => _x( 'Visibility', 'list_table_column', 'media-library-assistant' ),
|
1216 |
+
'status' => _x( 'Status', 'list_table_column', 'media-library-assistant' ),
|
1217 |
+
'existing_text' => _x( 'Existing Text', 'list_table_column', 'media-library-assistant' ),
|
1218 |
+
'delete_null' => _x( 'Delete NULL', 'list_table_column', 'media-library-assistant' ),
|
1219 |
+
'format' => _x( 'Format', 'list_table_column', 'media-library-assistant' ),
|
1220 |
+
'option' => _x( 'Option', 'list_table_column', 'media-library-assistant' ),
|
1221 |
+
);
|
1222 |
+
}
|
1223 |
+
}
|
1224 |
+
|
1225 |
+
/**
|
1226 |
+
* Called in the admin_init action because the list_table object isn't
|
1227 |
+
* created in time to affect the "screen options" setup.
|
1228 |
+
*
|
1229 |
+
* @since 2.50
|
1230 |
+
*
|
1231 |
+
* @return void
|
1232 |
+
*/
|
1233 |
+
public static function mla_admin_init( ) {
|
1234 |
+
if ( isset( $_REQUEST['mla_tab'] ) && $_REQUEST['mla_tab'] == 'custom_field' ) {
|
1235 |
+
add_filter( 'get_user_option_managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-custom_fieldcolumnshidden', 'MLA_Custom_Fields_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
|
1236 |
+
add_filter( 'manage_settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-custom_field_columns', 'MLA_Custom_Fields_List_Table::mla_manage_columns_filter', 10, 0 );
|
1237 |
+
}
|
1238 |
+
}
|
1239 |
+
|
1240 |
+
/**
|
1241 |
+
* Checks the current user's permissions
|
1242 |
+
*
|
1243 |
+
* @since 2.50
|
1244 |
+
*
|
1245 |
+
* @return bool
|
1246 |
+
*/
|
1247 |
+
public function ajax_user_can() {
|
1248 |
+
return current_user_can('manage_options');
|
1249 |
+
}
|
1250 |
+
|
1251 |
+
/**
|
1252 |
+
* Get the name of the default primary column.
|
1253 |
+
*
|
1254 |
+
* @since 2.50
|
1255 |
+
* @access protected
|
1256 |
+
*
|
1257 |
+
* @return string Name of the default primary column
|
1258 |
+
*/
|
1259 |
+
protected function get_default_primary_column_name() {
|
1260 |
+
return 'name';
|
1261 |
+
}
|
1262 |
+
|
1263 |
+
/**
|
1264 |
+
* Generate and display row actions links.
|
1265 |
+
*
|
1266 |
+
* @since 2.50
|
1267 |
+
* @access protected
|
1268 |
+
*
|
1269 |
+
* @param object $item Attachment being acted upon.
|
1270 |
+
* @param string $column_name Current column name.
|
1271 |
+
* @param string $primary Primary column name.
|
1272 |
+
* @return string Row actions output for media attachments.
|
1273 |
+
*/
|
1274 |
+
protected function handle_row_actions( $item, $column_name, $primary ) {
|
1275 |
+
if ( $primary === $column_name ) {
|
1276 |
+
$actions = $this->row_actions( $this->_build_rollover_actions( $item, $column_name ) );
|
1277 |
+
$actions .= $this->_build_inline_data( $item );
|
1278 |
+
return $actions;
|
1279 |
+
}
|
1280 |
+
|
1281 |
+
return '';
|
1282 |
+
}
|
1283 |
+
|
1284 |
+
/**
|
1285 |
+
* Supply a column value if no column-specific function has been defined
|
1286 |
+
*
|
1287 |
+
* Called when the parent class can't find a method specifically built for a
|
1288 |
+
* given column. All columns should have a specific method, so this function
|
1289 |
+
* returns a troubleshooting message.
|
1290 |
+
*
|
1291 |
+
* @since 2.50
|
1292 |
+
*
|
1293 |
+
* @param array A singular item (one full row's worth of data)
|
1294 |
+
* @param array The name/slug of the column to be processed
|
1295 |
+
* @return string Text or HTML to be placed inside the column
|
1296 |
+
*/
|
1297 |
+
function column_default( $item, $column_name ) {
|
1298 |
+
//Show the whole array for troubleshooting purposes
|
1299 |
+
/* translators: 1: column_name 2: column_values */
|
1300 |
+
return sprintf( __( 'column_default: %1$s, %2$s', 'media-library-assistant' ), $column_name, print_r( $item, true ) );
|
1301 |
+
}
|
1302 |
+
|
1303 |
+
/**
|
1304 |
+
* Displays checkboxes for using bulk actions. The 'cb' column
|
1305 |
+
* is given special treatment when columns are processed.
|
1306 |
+
*
|
1307 |
+
* @since 2.50
|
1308 |
+
*
|
1309 |
+
* @param object An MLA custom_field_rule object
|
1310 |
+
* @return string HTML markup to be placed inside the column
|
1311 |
+
*/
|
1312 |
+
function column_cb( $item ) {
|
1313 |
+
return sprintf( '<input type="checkbox" name="cb_mla_item_ID[]" value="%1$s" />',
|
1314 |
+
/*%1$s*/ $item->post_ID
|
1315 |
+
);
|
1316 |
+
}
|
1317 |
+
|
1318 |
+
/**
|
1319 |
+
* Add rollover actions to a table column
|
1320 |
+
*
|
1321 |
+
* @since 2.50
|
1322 |
+
*
|
1323 |
+
* @param object An MLA custom_field_rule object
|
1324 |
+
* @param string Current column name
|
1325 |
+
*
|
1326 |
+
* @return array Names and URLs of row-level actions
|
1327 |
+
*/
|
1328 |
+
private function _build_rollover_actions( $item, $column ) {
|
1329 |
+
$actions = array();
|
1330 |
+
|
1331 |
+
/*
|
1332 |
+
* Compose view arguments
|
1333 |
+
*/
|
1334 |
+
|
1335 |
+
$view_args = array_merge( array(
|
1336 |
+
'page' => MLACoreOptions::MLA_SETTINGS_SLUG . '-custom_field',
|
1337 |
+
'mla_tab' => 'custom_field',
|
1338 |
+
'mla_item_ID' => urlencode( $item->post_ID )
|
1339 |
+
), MLA_Custom_Fields_List_Table::mla_submenu_arguments() );
|
1340 |
+
|
1341 |
+
if ( isset( $_REQUEST['paged'] ) ) {
|
1342 |
+
$view_args['paged'] = $_REQUEST['paged'];
|
1343 |
+
}
|
1344 |
+
|
1345 |
+
if ( isset( $_REQUEST['order'] ) ) {
|
1346 |
+
$view_args['order'] = $_REQUEST['order'];
|
1347 |
+
}
|
1348 |
+
|
1349 |
+
if ( isset( $_REQUEST['orderby'] ) ) {
|
1350 |
+
$view_args['orderby'] = $_REQUEST['orderby'];
|
1351 |
+
}
|
1352 |
+
|
1353 |
+
$actions['edit'] = '<a href="' . add_query_arg( $view_args, wp_nonce_url( '?mla_admin_action=' . MLACore::MLA_ADMIN_SINGLE_EDIT_DISPLAY, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Edit this item', 'media-library-assistant' ) . '">' . __( 'Edit', 'media-library-assistant' ) . '</a>';
|
1354 |
+
|
1355 |
+
if ( !$item->read_only ) {
|
1356 |
+
$actions['inline hide-if-no-js'] = '<a class="editinline" href="#" title="' . __( 'Edit this item inline', 'media-library-assistant' ) . '">' . __( 'Quick Edit', 'media-library-assistant' ) . '</a>';
|
1357 |
+
|
1358 |
+
$actions['execute hide-if-no-js'] = '<a class="execute" id="' .
|
1359 |
+
MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP . '[' . $item->post_ID . ']" href="#" title="' . __( 'Map All Attachments', 'media-library-assistant' ) . '">' . __( 'Execute', 'media-library-assistant' ) . '</a>';
|
1360 |
+
|
1361 |
+
$actions['purge'] = '<a class="purge"' . ' href="' . add_query_arg( $view_args, wp_nonce_url( '?mla_admin_action=' . MLACore::MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Purge custom field values', 'media-library-assistant' ) . '">' . __( 'Purge Values', 'media-library-assistant' ) . '</a>';
|
1362 |
+
}
|
1363 |
+
|
1364 |
+
$actions['delete'] = '<a class="delete-tag"' . ' href="' . add_query_arg( $view_args, wp_nonce_url( '?mla_admin_action=' . MLACore::MLA_ADMIN_SINGLE_DELETE, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Delete this item Permanently', 'media-library-assistant' ) . '">' . __( 'Delete Permanently', 'media-library-assistant' ) . '</a>';
|
1365 |
+
|
1366 |
+
return $actions;
|
1367 |
+
}
|
1368 |
+
|
1369 |
+
/**
|
1370 |
+
* Add hidden fields with the data for use in the inline editor
|
1371 |
+
*
|
1372 |
+
* @since 2.50
|
1373 |
+
*
|
1374 |
+
* @param object An MLA custom_field_rule object
|
1375 |
+
*
|
1376 |
+
* @return string HTML <div> with row data
|
1377 |
+
*/
|
1378 |
+
private function _build_inline_data( $item ) {
|
1379 |
+
$inline_data = "\r\n" . '<div class="hidden" id="inline_' . $item->post_ID . "\">\r\n";
|
1380 |
+
$inline_data .= ' <div class="name">' . esc_attr( $item->name ) . "</div>\r\n";
|
1381 |
+
$inline_data .= ' <div class="slug">' . esc_attr( $item->name ) . "</div>\r\n";
|
1382 |
+
$inline_data .= ' <div class="rule_name">' . esc_attr( $item->rule_name ) . "</div>\r\n";
|
1383 |
+
$inline_data .= ' <div class="data_source">' . esc_attr( $item->data_source ) . "</div>\r\n";
|
1384 |
+
$inline_data .= ' <div class="meta_name">' . esc_attr( $item->meta_name ) . "</div>\r\n";
|
1385 |
+
$inline_data .= ' <div class="format">' . esc_attr( $item->format ) . "</div>\r\n";
|
1386 |
+
$inline_data .= ' <div class="option">' . esc_attr( $item->option ) . "</div>\r\n";
|
1387 |
+
$inline_data .= ' <div class="keep_existing">' . esc_attr( $item->keep_existing ) . "</div>\r\n";
|
1388 |
+
$inline_data .= ' <div class="no_null">' . esc_attr( $item->no_null ) . "</div>\r\n";
|
1389 |
+
$inline_data .= ' <div class="mla_column">' . esc_attr( $item->mla_column ) . "</div>\r\n";
|
1390 |
+
$inline_data .= ' <div class="quick_edit">' . esc_attr( $item->quick_edit ) . "</div>\r\n";
|
1391 |
+
$inline_data .= ' <div class="bulk_edit">' . esc_attr( $item->bulk_edit ) . "</div>\r\n";
|
1392 |
+
$inline_data .= ' <div class="active">' . esc_attr( $item->active ) . "</div>\r\n";
|
1393 |
+
$inline_data .= "</div>\r\n";
|
1394 |
+
return $inline_data;
|
1395 |
+
}
|
1396 |
+
|
1397 |
+
/**
|
1398 |
+
* Populate the Name column
|
1399 |
+
*
|
1400 |
+
* @since 2.50
|
1401 |
+
*
|
1402 |
+
* @param object An MLA custom_field_rule object
|
1403 |
+
* @return string HTML markup to be placed inside the column
|
1404 |
+
*/
|
1405 |
+
function column_name( $item ) {
|
1406 |
+
if ( MLATest::$wp_4dot3_plus ) {
|
1407 |
+
return esc_html( $item->name );
|
1408 |
+
}
|
1409 |
+
|
1410 |
+
$row_actions = self::_build_rollover_actions( $item, 'name' );
|
1411 |
+
return sprintf( '%1$s<br>%2$s%3$s', /*%1$s*/ esc_html( $item->name ), /*%2$s*/ $this->row_actions( $row_actions ), /*%3$s*/ $this->_build_inline_data( $item ) );
|
1412 |
+
}
|
1413 |
+
|
1414 |
+
/**
|
1415 |
+
* Populate the Bad Name column
|
1416 |
+
*
|
1417 |
+
* @since 2.50
|
1418 |
+
*
|
1419 |
+
* @param object An MLA custom_field_rule object
|
1420 |
+
* @return string HTML markup to be placed inside the column
|
1421 |
+
*/
|
1422 |
+
function column_rule_name( $item ) {
|
1423 |
+
return ( $item->name !== $item->rule_name ) ? esc_html( $item->rule_name ) : '';
|
1424 |
+
}
|
1425 |
+
|
1426 |
+
/**
|
1427 |
+
* Populate the Source column
|
1428 |
+
*
|
1429 |
+
* @since 2.50
|
1430 |
+
*
|
1431 |
+
* @param object An MLA custom_field_rule object
|
1432 |
+
* @return string HTML markup to be placed inside the column
|
1433 |
+
*/
|
1434 |
+
function column_data_source( $item ) {
|
1435 |
+
return esc_html( $item->data_source );
|
1436 |
+
}
|
1437 |
+
|
1438 |
+
/**
|
1439 |
+
* Populate the Meta/Template column
|
1440 |
+
*
|
1441 |
+
* @since 2.50
|
1442 |
+
*
|
1443 |
+
* @param object An MLA custom_field_rule object
|
1444 |
+
* @return string HTML markup to be placed inside the column
|
1445 |
+
*/
|
1446 |
+
function column_meta_name( $item ) {
|
1447 |
+
return esc_html( $item->meta_name );
|
1448 |
+
}
|
1449 |
+
|
1450 |
+
/**
|
1451 |
+
* Populate the Visibility column
|
1452 |
+
*
|
1453 |
+
* @since 2.50
|
1454 |
+
*
|
1455 |
+
* @param object An MLA custom_field_rule object
|
1456 |
+
* @return string HTML markup to be placed inside the column
|
1457 |
+
*/
|
1458 |
+
function column_visibility( $item ) {
|
1459 |
+
$visibility = '';
|
1460 |
+
|
1461 |
+
if ( $item->mla_column ) {
|
1462 |
+
$visibility .= __( 'MLA Column', 'media-library-assistant' ) . '<br />';
|
1463 |
+
}
|
1464 |
+
|
1465 |
+
if ( $item->quick_edit ) {
|
1466 |
+
$visibility .= __( 'Quick Edit', 'media-library-assistant' ) . '<br />';
|
1467 |
+
}
|
1468 |
+
|
1469 |
+
if ( $item->bulk_edit ) {
|
1470 |
+
$visibility .= __( 'Bulk Edit', 'media-library-assistant' ) . '<br />';
|
1471 |
+
}
|
1472 |
+
|
1473 |
+
if ( $length = strlen( $visibility ) ) {
|
1474 |
+
$visibility = substr( $visibility, 0, $length - strlen( '<br />' ) );
|
1475 |
+
} else {
|
1476 |
+
$visibility = '(none)';
|
1477 |
+
}
|
1478 |
+
|
1479 |
+
return $visibility;
|
1480 |
+
}
|
1481 |
+
|
1482 |
+
/**
|
1483 |
+
* Populate the Status column
|
1484 |
+
*
|
1485 |
+
* @since 2.50
|
1486 |
+
*
|
1487 |
+
* @param object An MLA custom_field_rule object
|
1488 |
+
* @return string HTML markup to be placed inside the column
|
1489 |
+
*/
|
1490 |
+
function column_status( $item ) {
|
1491 |
+
if ( $item->active ) {
|
1492 |
+
return __( 'Active', 'media-library-assistant' );
|
1493 |
+
} else {
|
1494 |
+
return __( 'Inactive', 'media-library-assistant' );
|
1495 |
+
}
|
1496 |
+
}
|
1497 |
+
|
1498 |
+
/**
|
1499 |
+
* Populate the Existing Text column
|
1500 |
+
*
|
1501 |
+
* @since 2.50
|
1502 |
+
*
|
1503 |
+
* @param object An MLA custom_field_rule object
|
1504 |
+
* @return string HTML markup to be placed inside the column
|
1505 |
+
*/
|
1506 |
+
function column_existing_text( $item ) {
|
1507 |
+
if ( $item->keep_existing ) {
|
1508 |
+
return __( 'Keep', 'media-library-assistant' );
|
1509 |
+
} else {
|
1510 |
+
return __( 'Replace', 'media-library-assistant' );
|
1511 |
+
}
|
1512 |
+
}
|
1513 |
+
|
1514 |
+
/**
|
1515 |
+
* Populate the Delete NULL column
|
1516 |
+
*
|
1517 |
+
* @since 2.50
|
1518 |
+
*
|
1519 |
+
* @param object An MLA custom_field_rule object
|
1520 |
+
* @return string HTML markup to be placed inside the column
|
1521 |
+
*/
|
1522 |
+
function column_delete_null( $item ) {
|
1523 |
+
if ( $item->no_null ) {
|
1524 |
+
return __( 'Yes', 'media-library-assistant' );
|
1525 |
+
} else {
|
1526 |
+
return __( 'No', 'media-library-assistant' );
|
1527 |
+
}
|
1528 |
+
}
|
1529 |
+
|
1530 |
+
/**
|
1531 |
+
* Populate the Format column
|
1532 |
+
*
|
1533 |
+
* @since 2.50
|
1534 |
+
*
|
1535 |
+
* @param object An MLA custom_field_rule object
|
1536 |
+
* @return string HTML markup to be placed inside the column
|
1537 |
+
*/
|
1538 |
+
function column_format( $item ) {
|
1539 |
+
return $item->format;
|
1540 |
+
}
|
1541 |
+
|
1542 |
+
/**
|
1543 |
+
* Populate the Option column
|
1544 |
+
*
|
1545 |
+
* @since 2.50
|
1546 |
+
*
|
1547 |
+
* @param object An MLA custom_field_rule object
|
1548 |
+
* @return string HTML markup to be placed inside the column
|
1549 |
+
*/
|
1550 |
+
function column_option( $item ) {
|
1551 |
+
return $item->option;
|
1552 |
+
}
|
1553 |
+
|
1554 |
+
/**
|
1555 |
+
* Display the pagination, adding view, search and filter arguments
|
1556 |
+
*
|
1557 |
+
* @since 2.50
|
1558 |
+
*
|
1559 |
+
* @param string 'top' | 'bottom'
|
1560 |
+
*/
|
1561 |
+
function pagination( $which ) {
|
1562 |
+
$save_uri = $_SERVER['REQUEST_URI'];
|
1563 |
+
$_SERVER['REQUEST_URI'] = add_query_arg( MLA_Custom_Fields_List_Table::mla_submenu_arguments(), $save_uri );
|
1564 |
+
parent::pagination( $which );
|
1565 |
+
$_SERVER['REQUEST_URI'] = $save_uri;
|
1566 |
+
}
|
1567 |
+
|
1568 |
+
/**
|
1569 |
+
* This method dictates the table's columns and titles
|
1570 |
+
*
|
1571 |
+
* @since 2.50
|
1572 |
+
*
|
1573 |
+
* @return array Column information: 'slugs'=>'Visible Titles'
|
1574 |
+
*/
|
1575 |
+
function get_columns( ) {
|
1576 |
+
return $columns = MLA_Custom_Fields_List_Table::mla_manage_columns_filter();
|
1577 |
+
}
|
1578 |
+
|
1579 |
+
/**
|
1580 |
+
* Returns the list of currently hidden columns from a user option or
|
1581 |
+
* from default values if the option is not set
|
1582 |
+
*
|
1583 |
+
* @since 2.50
|
1584 |
+
*
|
1585 |
+
* @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
|
1586 |
+
*/
|
1587 |
+
function get_hidden_columns( ) {
|
1588 |
+
$columns = get_user_option( 'managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-custom_fieldcolumnshidden' );
|
1589 |
+
|
1590 |
+
if ( is_array( $columns ) ) {
|
1591 |
+
return $columns;
|
1592 |
+
}
|
1593 |
+
|
1594 |
+
return self::_default_hidden_columns();
|
1595 |
+
}
|
1596 |
+
|
1597 |
+
/**
|
1598 |
+
* Returns an array where the key is the column that needs to be sortable
|
1599 |
+
* and the value is db column to sort by. Also notes the current sort column,
|
1600 |
+
* if set.
|
1601 |
+
*
|
1602 |
+
* @since 2.50
|
1603 |
+
*
|
1604 |
+
* @return array Sortable column information,e.g.,
|
1605 |
+
* 'slugs'=>array('data_values',boolean)
|
1606 |
+
*/
|
1607 |
+
function get_sortable_columns( ) {
|
1608 |
+
$columns = self::$default_sortable_columns;
|
1609 |
+
|
1610 |
+
if ( isset( $_REQUEST['orderby'] ) ) {
|
1611 |
+
$needle = array( $_REQUEST['orderby'], false );
|
1612 |
+
$key = array_search( $needle, $columns );
|
1613 |
+
if ( $key ) {
|
1614 |
+
$columns[ $key ][ 1 ] = true;
|
1615 |
+
}
|
1616 |
+
} else {
|
1617 |
+
$columns['menu_order'][ 1 ] = true;
|
1618 |
+
}
|
1619 |
+
|
1620 |
+
return $columns;
|
1621 |
+
}
|
1622 |
+
|
1623 |
+
/**
|
1624 |
+
* Returns HTML markup for one view that can be used with this table
|
1625 |
+
*
|
1626 |
+
* @since 2.50
|
1627 |
+
*
|
1628 |
+
* @param string $view_slug View slug
|
1629 |
+
* @param array $custom_field_item count and labels for the View
|
1630 |
+
* @param string $current_view Slug for current view
|
1631 |
+
*
|
1632 |
+
* @return string | false HTML for link to display the view, false if count = zero
|
1633 |
+
*/
|
1634 |
+
function _get_view( $view_slug, $custom_field_item, $current_view ) {
|
1635 |
+
static $base_url = NULL;
|
1636 |
+
|
1637 |
+
$class = ( $view_slug == $current_view ) ? ' class="current"' : '';
|
1638 |
+
|
1639 |
+
/*
|
1640 |
+
* Calculate the common values once per page load
|
1641 |
+
*/
|
1642 |
+
if ( is_null( $base_url ) ) {
|
1643 |
+
/*
|
1644 |
+
* Remember the view filters
|
1645 |
+
*/
|
1646 |
+
$base_url = 'options-general.php?page=' . MLACoreOptions::MLA_SETTINGS_SLUG . '-custom_field&mla_tab=custom_field';
|
1647 |
+
|
1648 |
+
if ( isset( $_REQUEST['s'] ) ) {
|
1649 |
+
//$base_url = add_query_arg( array( 's' => $_REQUEST['s'] ), $base_url );
|
1650 |
+
}
|
1651 |
+
}
|
1652 |
+
|
1653 |
+
$singular = sprintf('%s <span class="count">(%%s)</span>', $custom_field_item['singular'] );
|
1654 |
+
$plural = sprintf('%s <span class="count">(%%s)</span>', $custom_field_item['plural'] );
|
1655 |
+
$nooped_plural = _n_noop( $singular, $plural, 'media-library-assistant' );
|
1656 |
+
return "<a href='" . add_query_arg( array( 'mla_custom_field_view' => $view_slug ), $base_url )
|
1657 |
+
. "'$class>" . sprintf( translate_nooped_plural( $nooped_plural, $custom_field_item['count'], 'media-library-assistant' ), number_format_i18n( $custom_field_item['count'] ) ) . '</a>';
|
1658 |
+
} // _get_view
|
1659 |
+
|
1660 |
+
/**
|
1661 |
+
* Returns an associative array listing all the views that can be used with this table.
|
1662 |
+
* These are listed across the top of the page and managed by WordPress.
|
1663 |
+
*
|
1664 |
+
* @since 2.50
|
1665 |
+
*
|
1666 |
+
* @return array View information,e.g., array ( id => link )
|
1667 |
+
*/
|
1668 |
+
function get_views( ) {
|
1669 |
+
// Find current view
|
1670 |
+
$current_view = isset( $_REQUEST['mla_custom_field_view'] ) ? $_REQUEST['mla_custom_field_view'] : 'all';
|
1671 |
+
|
1672 |
+
// Generate the list of views, retaining keyword search criterion
|
1673 |
+
$s = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '';
|
1674 |
+
$custom_field_items = MLA_Custom_Field_Query::mla_tabulate_custom_field_items( $s );
|
1675 |
+
$view_links = array();
|
1676 |
+
foreach ( $custom_field_items as $slug => $item )
|
1677 |
+
$view_links[ $slug ] = self::_get_view( $slug, $item, $current_view );
|
1678 |
+
|
1679 |
+
return $view_links;
|
1680 |
+
}
|
1681 |
+
|
1682 |
+
/**
|
1683 |
+
* Get an associative array ( option_name => option_title ) with the list
|
1684 |
+
* of bulk actions available on this table.
|
1685 |
+
*
|
1686 |
+
* @since 2.50
|
1687 |
+
*
|
1688 |
+
* @return array Contains all the bulk actions: 'slugs'=>'Visible Titles'
|
1689 |
+
*/
|
1690 |
+
function get_bulk_actions( ) {
|
1691 |
+
return self::mla_get_bulk_actions();
|
1692 |
+
}
|
1693 |
+
|
1694 |
+
/**
|
1695 |
+
* Get an associative array ( option_name => option_title ) with the list
|
1696 |
+
* of bulk actions available on this table.
|
1697 |
+
*
|
1698 |
+
* @since 2.50
|
1699 |
+
*
|
1700 |
+
* @return array Contains all the bulk actions: 'slugs'=>'Visible Titles'
|
1701 |
+
*/
|
1702 |
+
public static function mla_get_bulk_actions( ) {
|
1703 |
+
$actions = array();
|
1704 |
+
|
1705 |
+
$actions['edit'] = __( 'Edit', 'media-library-assistant' );
|
1706 |
+
$actions['delete'] = __( 'Delete Permanently', 'media-library-assistant' );
|
1707 |
+
$actions['execute'] = __( 'Execute', 'media-library-assistant' );
|
1708 |
+
$actions['purge'] = __( 'Purge Values', 'media-library-assistant' );
|
1709 |
+
|
1710 |
+
return $actions;
|
1711 |
+
}
|
1712 |
+
|
1713 |
+
/**
|
1714 |
+
* Get dropdown box of rule status values, i.e., Active/Inactive.
|
1715 |
+
*
|
1716 |
+
* @since 2.50
|
1717 |
+
*
|
1718 |
+
* @param string $selected Optional. Currently selected status. Default 'any'.
|
1719 |
+
* @return string HTML markup for dropdown box.
|
1720 |
+
*/
|
1721 |
+
public static function mla_get_custom_field_status_dropdown( $selected = 'any' ) {
|
1722 |
+
$dropdown = '<select name="mla_custom_field_status" class="postform" id="name">' . "\n";
|
1723 |
+
|
1724 |
+
$selected_attribute = ( $selected == 'any' ) ? ' selected="selected"' : '';
|
1725 |
+
$dropdown .= "\t" . sprintf( '<option value="any"%1$s>%2$s</option>', $selected_attribute, _wp_specialchars( __( 'Any Status', 'media-library-assistant' ) ) ) . "\n";
|
1726 |
+
|
1727 |
+
$selected_attribute = ( $selected == 'active' ) ? ' selected="selected"' : '';
|
1728 |
+
$dropdown .= "\t" . sprintf( '<option value="active"%1$s>%2$s</option>', $selected_attribute, _wp_specialchars( __( 'Active', 'media-library-assistant' ) ) ) . "\n";
|
1729 |
+
|
1730 |
+
$selected_attribute = ( $selected == 'inactive' ) ? ' selected="selected"' : '';
|
1731 |
+
$dropdown .= "\t" . sprintf( '<option value="inactive"%1$s>%2$s</option>', $selected_attribute, _wp_specialchars( __( 'Inactive', 'media-library-assistant' ) ) ) . "\n";
|
1732 |
+
|
1733 |
+
$dropdown .= '</select>';
|
1734 |
+
|
1735 |
+
return $dropdown;
|
1736 |
+
}
|
1737 |
+
|
1738 |
+
/**
|
1739 |
+
* Extra controls to be displayed between bulk actions and pagination
|
1740 |
+
*
|
1741 |
+
* Modeled after class-wp-posts-list-table.php in wp-admin/includes.
|
1742 |
+
*
|
1743 |
+
* @since 2.40
|
1744 |
+
*
|
1745 |
+
* @param string 'top' or 'bottom', i.e., above or below the table rows
|
1746 |
+
*
|
1747 |
+
* @return void
|
1748 |
+
*/
|
1749 |
+
function extra_tablenav( $which ) {
|
1750 |
+
/*
|
1751 |
+
* Decide which actions to show
|
1752 |
+
*/
|
1753 |
+
if ( 'top' == $which ) {
|
1754 |
+
$actions = array( 'mla_custom_field_status', 'mla_filter' );
|
1755 |
+
} else {
|
1756 |
+
$actions = array();
|
1757 |
+
}
|
1758 |
+
|
1759 |
+
if ( empty( $actions ) ) {
|
1760 |
+
return;
|
1761 |
+
}
|
1762 |
+
|
1763 |
+
echo ( '<div class="alignleft actions">' );
|
1764 |
+
|
1765 |
+
foreach ( $actions as $action ) {
|
1766 |
+
switch ( $action ) {
|
1767 |
+
case 'mla_custom_field_status':
|
1768 |
+
echo self::mla_get_custom_field_status_dropdown( isset( $_REQUEST['mla_custom_field_status'] ) ? $_REQUEST['mla_custom_field_status'] : 'any' );
|
1769 |
+
break;
|
1770 |
+
case 'mla_filter':
|
1771 |
+
submit_button( __( 'Filter', 'media-library-assistant' ), 'secondary', 'mla_filter', false, array( 'id' => 'template-query-submit' ) );
|
1772 |
+
break;
|
1773 |
+
default:
|
1774 |
+
// ignore anything else
|
1775 |
+
}
|
1776 |
+
}
|
1777 |
+
|
1778 |
+
echo ( '</div>' );
|
1779 |
+
}
|
1780 |
+
|
1781 |
+
/**
|
1782 |
+
* Prepares the list of items for displaying
|
1783 |
+
*
|
1784 |
+
* This is where you prepare your data for display. This method will usually
|
1785 |
+
* be used to query the database, sort and filter the data, and generally
|
1786 |
+
* get it ready to be displayed. At a minimum, we should set $this->items and
|
1787 |
+
* $this->set_pagination_args().
|
1788 |
+
*
|
1789 |
+
* @since 2.50
|
1790 |
+
*
|
1791 |
+
* @return void
|
1792 |
+
*/
|
1793 |
+
function prepare_items( ) {
|
1794 |
+
$this->_column_headers = array(
|
1795 |
+
$this->get_columns(),
|
1796 |
+
$this->get_hidden_columns(),
|
1797 |
+
$this->get_sortable_columns()
|
1798 |
+
);
|
1799 |
+
|
1800 |
+
/*
|
1801 |
+
* REQUIRED for pagination.
|
1802 |
+
*/
|
1803 |
+
$total_items = MLA_Custom_Field_Query::mla_count_custom_field_rules( $_REQUEST );
|
1804 |
+
$user = get_current_user_id();
|
1805 |
+
$screen = get_current_screen();
|
1806 |
+
$option = $screen->get_option( 'per_page', 'option' );
|
1807 |
+
if ( is_string( $option ) ) {
|
1808 |
+
$per_page = get_user_meta( $user, $option, true );
|
1809 |
+
} else {
|
1810 |
+
$per_page = 10;
|
1811 |
+
}
|
1812 |
+
|
1813 |
+
if ( empty( $per_page ) || $per_page < 1 ) {
|
1814 |
+
$per_page = $screen->get_option( 'per_page', 'default' );
|
1815 |
+
}
|
1816 |
+
|
1817 |
+
/*
|
1818 |
+
* REQUIRED. We also have to register our pagination options & calculations.
|
1819 |
+
*/
|
1820 |
+
$this->set_pagination_args( array(
|
1821 |
+
'total_items' => $total_items,
|
1822 |
+
'per_page' => $per_page,
|
1823 |
+
'total_pages' => ceil( $total_items / $per_page )
|
1824 |
+
) );
|
1825 |
+
|
1826 |
+
$current_page = $this->get_pagenum();
|
1827 |
+
|
1828 |
+
/*
|
1829 |
+
* REQUIRED. Assign sorted and paginated data to the items property, where
|
1830 |
+
* it can be used by the rest of the class.
|
1831 |
+
*/
|
1832 |
+
$this->items = MLA_Custom_Field_Query::mla_query_custom_field_rules( $_REQUEST, ( ( $current_page - 1 ) * $per_page ), $per_page );
|
1833 |
+
}
|
1834 |
+
|
1835 |
+
/**
|
1836 |
+
* Generates (echoes) content for a single row of the table
|
1837 |
+
*
|
1838 |
+
* @since 2.50
|
1839 |
+
*
|
1840 |
+
* @param object the current item
|
1841 |
+
*
|
1842 |
+
* @return void Echoes the row HTML
|
1843 |
+
*/
|
1844 |
+
function single_row( $item ) {
|
1845 |
+
static $row_class = '';
|
1846 |
+
$row_class = ( $row_class == '' ? ' class="alternate"' : '' );
|
1847 |
+
|
1848 |
+
echo '<tr id="custom_field-' . $item->post_ID . '"' . $row_class . '>';
|
1849 |
+
echo parent::single_row_columns( $item );
|
1850 |
+
echo '</tr>';
|
1851 |
+
}
|
1852 |
+
} // class MLA_Custom_Fields_List_Table
|
1853 |
+
|
1854 |
+
/**
|
1855 |
+
* Class MLA (Media Library Assistant) Custom Field Query implements the
|
1856 |
+
* searchable database of custom field mapping rules.
|
1857 |
+
*
|
1858 |
+
* @package Media Library Assistant
|
1859 |
+
* @since 2.50
|
1860 |
+
*/
|
1861 |
+
class MLA_Custom_Field_Query {
|
1862 |
+
|
1863 |
+
/**
|
1864 |
+
* Callback to sort array by a 'name' key.
|
1865 |
+
*
|
1866 |
+
* @since 2.50
|
1867 |
+
*
|
1868 |
+
* @param array $a The first array.
|
1869 |
+
* @param array $b The second array.
|
1870 |
+
* @return integer The comparison result.
|
1871 |
+
*/
|
1872 |
+
private static function _sort_uname_callback( $a, $b ) {
|
1873 |
+
return strnatcasecmp( $a['name'], $b['name'] );
|
1874 |
+
}
|
1875 |
+
|
1876 |
+
/**
|
1877 |
+
* In-memory representation of the custom field mapping rules
|
1878 |
+
*
|
1879 |
+
* @since 2.50
|
1880 |
+
*
|
1881 |
+
* @var array $_custom_field_rules {
|
1882 |
+
* Items by ID. Key $$ID is an index number starting with 1.
|
1883 |
+
*
|
1884 |
+
* @type array $$ID {
|
1885 |
+
* Rule elements.
|
1886 |
+
*
|
1887 |
+
* @type integer $post_ID Rule ID; equal to $$ID.
|
1888 |
+
* @type string $rule_name Rule name, to accomodate an old bug.
|
1889 |
+
* @type string $name Custom field name the rule applies to.
|
1890 |
+
* @type string $data_source Data source name, 'none', 'meta' or 'template'.
|
1891 |
+
* @type string $meta_name if ( $data_source = 'meta' ) attachment metadata element name,
|
1892 |
+
* if ( $data_source = 'template ) template value w/o "template:"
|
1893 |
+
* @type string $format Output format, 'native', 'commas' or 'raw'.
|
1894 |
+
* @type string $option Output option, 'text', 'single'. 'array' or 'multi'.
|
1895 |
+
* @type boolean $keep_existing Retain existing value(s), do not replace them.
|
1896 |
+
* @type boolean $no_null Delete empty (NULL) values.
|
1897 |
+
* @type boolean $mla_column Display the field as a Media/Assistant submenu table column.
|
1898 |
+
* @type boolean $quick_edit Add the field to the Media/Assistant submenu table Quick Edit area.
|
1899 |
+
* @type boolean $bulk_edit Add the field to the Media/Assistant submenu table Bulk Edit area.
|
1900 |
+
* @type boolean $inline_edit OBSOLETE - no longer used.
|
1901 |
+
* @type boolean $active True if rule should be applied during mapping.
|
1902 |
+
* @type boolean $read_only True if rule_name !== name, to prevent editing of "old bug" rules.
|
1903 |
+
* @type boolean $changed True if the rule has changed since loading.
|
1904 |
+
* @type boolean $deleted True if the rule has been deleted since loading.
|
1905 |
+
* }
|
1906 |
+
*/
|
1907 |
+
private static $_custom_field_rules = NULL;
|
1908 |
+
|
1909 |
+
/**
|
1910 |
+
* Highest existing custom field rule ID value
|
1911 |
+
*
|
1912 |
+
* @since 2.50
|
1913 |
+
*
|
1914 |
+
* @var integer
|
1915 |
+
*/
|
1916 |
+
private static $_custom_field_rule_highest_ID = 0;
|
1917 |
+
|
1918 |
+
/**
|
1919 |
+
* Assemble the in-memory representation of the custom field rules
|
1920 |
+
*
|
1921 |
+
* @since 2.50
|
1922 |
+
*
|
1923 |
+
* @param boolean $force_refresh Optional. Force a reload of rules. Default false.
|
1924 |
+
* @return boolean Success (true) or failure (false) of the operation
|
1925 |
+
*/
|
1926 |
+
private static function _get_custom_field_rules( $force_refresh = false ) {
|
1927 |
+
if ( false == $force_refresh && NULL != self::$_custom_field_rules ) {
|
1928 |
+
return true;
|
1929 |
+
}
|
1930 |
+
|
1931 |
+
self::$_custom_field_rules = array();
|
1932 |
+
self::$_custom_field_rule_highest_ID = 0;
|
1933 |
+
|
1934 |
+
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
1935 |
+
if (empty( $current_values ) ) {
|
1936 |
+
return true;
|
1937 |
+
}
|
1938 |
+
|
1939 |
+
/*
|
1940 |
+
* One row for each existing rule, case insensitive "natural order"
|
1941 |
+
*/
|
1942 |
+
$sorted_keys = array();
|
1943 |
+
foreach ( $current_values as $rule_name => $current_value ) {
|
1944 |
+
$sorted_keys[ $current_value['name'] ] = $current_value['name'];
|
1945 |
+
}
|
1946 |
+
natcasesort( $sorted_keys );
|
1947 |
+
|
1948 |
+
$sorted_names = array();
|
1949 |
+
foreach ( $sorted_keys as $rule_name ) {
|
1950 |
+
$sorted_names[ $rule_name ] = array();
|
1951 |
+
}
|
1952 |
+
|
1953 |
+
/*
|
1954 |
+
* Allow for multiple rules mapping the same name (an old bug)
|
1955 |
+
*/
|
1956 |
+
foreach ( $current_values as $rule_name => $current_value ) {
|
1957 |
+
$sorted_names[ $current_value['name'] ][] = $rule_name;
|
1958 |
+
}
|
1959 |
+
|
1960 |
+
foreach ( $sorted_names as $sorted_keys ) {
|
1961 |
+
foreach ( $sorted_keys as $rule_name ) {
|
1962 |
+
$current_value = $current_values[ $rule_name ];
|
1963 |
+
self::$_custom_field_rules[ ++self::$_custom_field_rule_highest_ID ] = array(
|
1964 |
+
'post_ID' => self::$_custom_field_rule_highest_ID,
|
1965 |
+
'rule_name' => $rule_name,
|
1966 |
+
'name' => $current_value['name'],
|
1967 |
+
'data_source' => $current_value['data_source'],
|
1968 |
+
'meta_name' => $current_value['meta_name'],
|
1969 |
+
'format' => $current_value['format'],
|
1970 |
+
'option' => $current_value['option'],
|
1971 |
+
'keep_existing' => $current_value['keep_existing'],
|
1972 |
+
'no_null' => $current_value['no_null'],
|
1973 |
+
'mla_column' => $current_value['mla_column'],
|
1974 |
+
'quick_edit' => $current_value['quick_edit'],
|
1975 |
+
'bulk_edit' => $current_value['bulk_edit'],
|
1976 |
+
'active' => isset( $current_value['active'] ) ? $current_value['active'] : true,
|
1977 |
+
'read_only' => $rule_name !== $current_value['name'],
|
1978 |
+
'changed' => false,
|
1979 |
+
'deleted' => false,
|
1980 |
+
);
|
1981 |
+
|
1982 |
+
if ( self::$_custom_field_rules[ self::$_custom_field_rule_highest_ID ]['read_only'] ) {
|
1983 |
+
self::$_custom_field_rules[ self::$_custom_field_rule_highest_ID ]['active'] = false;
|
1984 |
+
}
|
1985 |
+
} // foreach rule
|
1986 |
+
} // foreach name
|
1987 |
+
|
1988 |
+
//error_log( __LINE__ . ' MLA_Custom_Field_Query::_get_custom_field_rules _custom_field_rules = ' . var_export( self::$_custom_field_rules, true ), 0 );
|
1989 |
+
return true;
|
1990 |
+
}
|
1991 |
+
|
1992 |
+
/**
|
1993 |
+
* Flush the in-memory representation of the custom field rules to the option value
|
1994 |
+
*
|
1995 |
+
* @since 2.50
|
1996 |
+
*/
|
1997 |
+
public static function mla_put_custom_field_rules() {
|
1998 |
+
if ( NULL === self::$_custom_field_rules ) {
|
1999 |
+
return;
|
2000 |
+
}
|
2001 |
+
|
2002 |
+
$custom_field_rules = array();
|
2003 |
+
$rules_changed = false;
|
2004 |
+
|
2005 |
+
foreach( self::$_custom_field_rules as $ID => $current_value ) {
|
2006 |
+
//error_log( __LINE__ . " MLA_Custom_Field_Query::mla_put_custom_field_rules( {$ID} ) current_value = " . var_export( $current_value, true ), 0 );
|
2007 |
+
if ( $current_value['deleted'] ) {
|
2008 |
+
$rules_changed = true;
|
2009 |
+
continue;
|
2010 |
+
}
|
2011 |
+
|
2012 |
+
$custom_field_rules[ $current_value['rule_name'] ] = array(
|
2013 |
+
'name' => $current_value['name'],
|
2014 |
+
'data_source' => $current_value['data_source'],
|
2015 |
+
'meta_name' => $current_value['meta_name'],
|
2016 |
+
'format' => $current_value['format'],
|
2017 |
+
'option' => $current_value['option'],
|
2018 |
+
'keep_existing' => $current_value['keep_existing'],
|
2019 |
+
'no_null' => $current_value['no_null'],
|
2020 |
+
'mla_column' => $current_value['mla_column'],
|
2021 |
+
'quick_edit' => $current_value['quick_edit'],
|
2022 |
+
'bulk_edit' => $current_value['bulk_edit'],
|
2023 |
+
'active' => $current_value['active'],
|
2024 |
+
);
|
2025 |
+
|
2026 |
+
$rules_changed |= $current_value['changed'];
|
2027 |
+
}
|
2028 |
+
|
2029 |
+
if ( $rules_changed ) {
|
2030 |
+
$settings_changed = MLACore::mla_update_option( 'custom_field_mapping', $custom_field_rules );
|
2031 |
+
error_log( __LINE__ . " MLA_Custom_Field_Query::mla_put_custom_field_rules( {$settings_changed} ) custom_field_rules = " . var_export( $custom_field_rules, true ), 0 );
|
2032 |
+
self::_get_custom_field_rules( true );
|
2033 |
+
}
|
2034 |
+
}
|
2035 |
+
|
2036 |
+
/**
|
2037 |
+
* Sanitize and expand query arguments from request variables
|
2038 |
+
*
|
2039 |
+
* @since 2.50
|
2040 |
+
*
|
2041 |
+
* @param array query parameters from web page, usually found in $_REQUEST
|
2042 |
+
* @param int Optional number of rows (default 0) to skip over to reach desired page
|
2043 |
+
* @param int Optional number of rows on each page (0 = all rows, default)
|
2044 |
+
*
|
2045 |
+
* @return array revised arguments suitable for query
|
2046 |
+
*/
|
2047 |
+
private static function _prepare_custom_field_rules_query( $raw_request, $offset = 0, $count = 0 ) {
|
2048 |
+
//error_log( __LINE__ . " MLA_Custom_Field_Query::_prepare_custom_field_rules_query( {$offset}, {$count} ) raw_request = " . var_export( $raw_request, true ), 0 );
|
2049 |
+
/*
|
2050 |
+
* Go through the $raw_request, take only the arguments that are used in the query and
|
2051 |
+
* sanitize or validate them.
|
2052 |
+
*/
|
2053 |
+
if ( ! is_array( $raw_request ) ) {
|
2054 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
2055 |
+
MLACore::mla_debug_add( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA_Custom_Field_Query::_prepare_custom_field_rules_query', var_export( $raw_request, true ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
2056 |
+
return NULL;
|
2057 |
+
}
|
2058 |
+
|
2059 |
+
$clean_request = array (
|
2060 |
+
'mla_custom_field_view' => 'all',
|
2061 |
+
'mla_custom_field_status' => 'any',
|
2062 |
+
'orderby' => 'name',
|
2063 |
+
'order' => 'ASC',
|
2064 |
+
's' => ''
|
2065 |
+
);
|
2066 |
+
|
2067 |
+
foreach ( $raw_request as $key => $value ) {
|
2068 |
+
switch ( $key ) {
|
2069 |
+
case 'mla_custom_field_view':
|
2070 |
+
case 'mla_custom_field_status':
|
2071 |
+
$clean_request[ $key ] = $value;
|
2072 |
+
break;
|
2073 |
+
case 'orderby':
|
2074 |
+
if ( 'none' == $value ) {
|
2075 |
+
$clean_request[ $key ] = $value;
|
2076 |
+
} else {
|
2077 |
+
$sortable_columns = MLA_Custom_Fields_List_Table::mla_get_sortable_columns();
|
2078 |
+
foreach ($sortable_columns as $sort_key => $sort_value ) {
|
2079 |
+
if ( $value == $sort_value[0] ) {
|
2080 |
+
$clean_request[ $key ] = $value;
|
2081 |
+
break;
|
2082 |
+
}
|
2083 |
+
} // foreach
|
2084 |
+
}
|
2085 |
+
break;
|
2086 |
+
case 'order':
|
2087 |
+
switch ( $value = strtoupper ($value ) ) {
|
2088 |
+
case 'ASC':
|
2089 |
+
case 'DESC':
|
2090 |
+
$clean_request[ $key ] = $value;
|
2091 |
+
break;
|
2092 |
+
default:
|
2093 |
+
$clean_request[ $key ] = 'ASC';
|
2094 |
+
}
|
2095 |
+
break;
|
2096 |
+
/*
|
2097 |
+
* ['s'] - Search items by one or more keywords
|
2098 |
+
*/
|
2099 |
+
case 's':
|
2100 |
+
$clean_request[ $key ] = stripslashes( trim( $value ) );
|
2101 |
+
break;
|
2102 |
+
default:
|
2103 |
+
// ignore anything else in $_REQUEST
|
2104 |
+
} // switch $key
|
2105 |
+
} // foreach $raw_request
|
2106 |
+
|
2107 |
+
/*
|
2108 |
+
* Ignore incoming paged value; use offset and count instead
|
2109 |
+
*/
|
2110 |
+
if ( ( (int) $count ) > 0 ) {
|
2111 |
+
$clean_request['offset'] = $offset;
|
2112 |
+
$clean_request['posts_per_page'] = $count;
|
2113 |
+
}
|
2114 |
+
|
2115 |
+
//error_log( __LINE__ . " MLA_Custom_Field_Query::_prepare_custom_field_rules_query( {$offset}, {$count} ) clean_request = " . var_export( $clean_request, true ), 0 );
|
2116 |
+
return $clean_request;
|
2117 |
+
}
|
2118 |
+
|
2119 |
+
/**
|
2120 |
+
* Query the plugin_examples items
|
2121 |
+
*
|
2122 |
+
* @since 2.50
|
2123 |
+
*
|
2124 |
+
* @param array query parameters from web page, usually found in $_REQUEST
|
2125 |
+
*
|
2126 |
+
* @return array query results; array of MLA post_mime_type objects
|
2127 |
+
*/
|
2128 |
+
private static function _execute_custom_field_rules_query( $request ) {
|
2129 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2130 |
+
return array ();
|
2131 |
+
}
|
2132 |
+
|
2133 |
+
/*
|
2134 |
+
* Sort and filter the list
|
2135 |
+
*/
|
2136 |
+
$keywords = isset( $request['s'] ) ? $request['s'] : '';
|
2137 |
+
preg_match_all('/".*?("|$)|((?<=[\t ",+])|^)[^\t ",+]+/', $keywords, $matches);
|
2138 |
+
$keywords = array_map( 'MLAQuery::mla_search_terms_tidy', $matches[0]);
|
2139 |
+
$view = isset( $request['mla_custom_field_view'] ) ? $request['mla_custom_field_view'] : 'all';
|
2140 |
+
$status = isset( $request['mla_custom_field_status'] ) ? $request['mla_custom_field_status'] : 'any';
|
2141 |
+
$index = 0;
|
2142 |
+
$sortable_items = array();
|
2143 |
+
|
2144 |
+
foreach ( self::$_custom_field_rules as $ID => $value ) {
|
2145 |
+
if ( ! empty( $keywords ) ) {
|
2146 |
+
$found = false;
|
2147 |
+
foreach ( $keywords as $keyword ) {
|
2148 |
+
$found |= false !== stripos( $value['rule_name'], $keyword );
|
2149 |
+
$found |= false !== stripos( $value['name'], $keyword );
|
2150 |
+
$found |= false !== stripos( $value['data_source'], $keyword );
|
2151 |
+
$found |= false !== stripos( $value['meta_name'], $keyword );
|
2152 |
+
}
|
2153 |
+
|
2154 |
+
if ( ! $found ) {
|
2155 |
+
continue;
|
2156 |
+
}
|
2157 |
+
}
|
2158 |
+
|
2159 |
+
switch( $view ) {
|
2160 |
+
case 'mla_column':
|
2161 |
+
$found = $value['mla_column'];
|
2162 |
+
break;
|
2163 |
+
case 'quick_edit':
|
2164 |
+
$found = $value['quick_edit'];
|
2165 |
+
break;
|
2166 |
+
case 'bulk_edit':
|
2167 |
+
$found = $value['bulk_edit'];
|
2168 |
+
break;
|
2169 |
+
case 'read_only':
|
2170 |
+
$found = $value['read_only'];
|
2171 |
+
break;
|
2172 |
+
default:
|
2173 |
+
$found = true;
|
2174 |
+
}// $view
|
2175 |
+
|
2176 |
+
if ( ! $found ) {
|
2177 |
+
continue;
|
2178 |
+
}
|
2179 |
+
|
2180 |
+
switch( $status ) {
|
2181 |
+
case 'active':
|
2182 |
+
$found = $value['active'];
|
2183 |
+
break;
|
2184 |
+
case 'inactive':
|
2185 |
+
$found = ! $value['active'];
|
2186 |
+
break;
|
2187 |
+
default:
|
2188 |
+
$found = true;
|
2189 |
+
}// $view
|
2190 |
+
|
2191 |
+
if ( ! $found ) {
|
2192 |
+
continue;
|
2193 |
+
}
|
2194 |
+
|
2195 |
+
switch ( $request['orderby'] ) {
|
2196 |
+
case 'name':
|
2197 |
+
$sortable_items[ ( empty( $value['name'] ) ? chr(1) : $value['name'] ) . $ID ] = (object) $value;
|
2198 |
+
break;
|
2199 |
+
case 'rule_name':
|
2200 |
+
$sortable_items[ ( empty( $value['rule_name'] ) ? chr(1) : $value['rule_name'] ) . $ID ] = (object) $value;
|
2201 |
+
break;
|
2202 |
+
case 'data_source':
|
2203 |
+
$sortable_items[ ( empty( $value['data_source'] ) ? chr(1) : $value['data_source'] ) . $ID ] = (object) $value;
|
2204 |
+
break;
|
2205 |
+
case 'status':
|
2206 |
+
$sortable_items[ ( $value['active'] ? chr(1) : chr(2) ) . $ID ] = (object) $value;
|
2207 |
+
break;
|
2208 |
+
case 'existing_text':
|
2209 |
+
$sortable_items[ ( $value['keep_existing'] ? chr(1) : chr(2) ) . $ID ] = (object) $value;
|
2210 |
+
break;
|
2211 |
+
case 'delete_null':
|
2212 |
+
$sortable_items[ ( $value['no_null'] ? chr(1) : chr(2) ) . $ID ] = (object) $value;
|
2213 |
+
break;
|
2214 |
+
case 'format':
|
2215 |
+
$sortable_items[ ( empty( $value['format'] ) ? chr(1) : $value['format'] ) . $ID ] = (object) $value;
|
2216 |
+
break;
|
2217 |
+
case 'option':
|
2218 |
+
$sortable_items[ ( empty( $value['option'] ) ? chr(1) : $value['option'] ) . $ID ] = (object) $value;
|
2219 |
+
break;
|
2220 |
+
default:
|
2221 |
+
$sortable_items[ absint( $ID ) ] = (object) $value;
|
2222 |
+
break;
|
2223 |
+
} //orderby
|
2224 |
+
}
|
2225 |
+
|
2226 |
+
$sorted_items = array();
|
2227 |
+
$sorted_keys = array_keys( $sortable_items );
|
2228 |
+
natcasesort( $sorted_keys );
|
2229 |
+
//error_log( __LINE__ . " MLA_Custom_Field_Query::_execute_custom_field_rules_query sorted_keys = " . var_export( $sorted_keys, true ), 0 );
|
2230 |
+
foreach ( $sorted_keys as $key ) {
|
2231 |
+
$sorted_items[] = $sortable_items[ $key ];
|
2232 |
+
}
|
2233 |
+
|
2234 |
+
//ksort( $sorted_items );
|
2235 |
+
//error_log( __LINE__ . " MLA_Custom_Field_Query::_execute_custom_field_rules_query sorted_items = " . var_export( $sorted_items, true ), 0 );
|
2236 |
+
//error_log( __LINE__ . " MLA_Custom_Field_Query::_execute_custom_field_rules_query sorted_item keys = " . var_export( array_keys( $sorted_items ), true ), 0 );
|
2237 |
+
|
2238 |
+
if ( 'DESC' == $request['order'] ) {
|
2239 |
+
$sorted_items = array_reverse( $sorted_items, true );
|
2240 |
+
}
|
2241 |
+
|
2242 |
+
/*
|
2243 |
+
* Paginate the sorted list
|
2244 |
+
*/
|
2245 |
+
$results = array();
|
2246 |
+
$offset = isset( $request['offset'] ) ? $request['offset'] : 0;
|
2247 |
+
$count = isset( $request['posts_per_page'] ) ? $request['posts_per_page'] : -1;
|
2248 |
+
foreach ( $sorted_items as $value ) {
|
2249 |
+
if ( $offset ) {
|
2250 |
+
$offset--;
|
2251 |
+
} elseif ( $count-- ) {
|
2252 |
+
$results[] = $value;
|
2253 |
+
} else {
|
2254 |
+
break;
|
2255 |
+
}
|
2256 |
+
}
|
2257 |
+
//if ( isset( $request['posts_per_page'] ) ) {error_log( __LINE__ . " MLA_Custom_Field_Query::_execute_custom_field_rules_query results = " . var_export( $results, true ), 0 );}
|
2258 |
+
|
2259 |
+
return $results;
|
2260 |
+
}
|
2261 |
+
|
2262 |
+
/**
|
2263 |
+
* Get the total number of MLA custom_field_rule objects
|
2264 |
+
*
|
2265 |
+
* @since 2.50
|
2266 |
+
*
|
2267 |
+
* @param array Query variables, e.g., from $_REQUEST
|
2268 |
+
*
|
2269 |
+
* @return integer Number of MLA custom_field_rule objects
|
2270 |
+
*/
|
2271 |
+
public static function mla_count_custom_field_rules( $request ) {
|
2272 |
+
$request = self::_prepare_custom_field_rules_query( $request );
|
2273 |
+
$results = self::_execute_custom_field_rules_query( $request );
|
2274 |
+
return count( $results );
|
2275 |
+
}
|
2276 |
+
|
2277 |
+
/**
|
2278 |
+
* Retrieve MLA custom_field_rule objects for list table display
|
2279 |
+
*
|
2280 |
+
* @since 2.50
|
2281 |
+
*
|
2282 |
+
* @param array query parameters from web page, usually found in $_REQUEST
|
2283 |
+
* @param int number of rows to skip over to reach desired page
|
2284 |
+
* @param int number of rows on each page
|
2285 |
+
*
|
2286 |
+
* @return array MLA custom_field_rule objects
|
2287 |
+
*/
|
2288 |
+
public static function mla_query_custom_field_rules( $request, $offset, $count ) {
|
2289 |
+
$request = self::_prepare_custom_field_rules_query( $request, $offset, $count );
|
2290 |
+
//error_log( __LINE__ . ' mla_query_custom_field_rules request = ' . var_export( $request, true ), 0 );
|
2291 |
+
$results = self::_execute_custom_field_rules_query( $request );
|
2292 |
+
return $results;
|
2293 |
+
}
|
2294 |
+
|
2295 |
+
/**
|
2296 |
+
* Find a Custom Field Rule ID given its rule name
|
2297 |
+
*
|
2298 |
+
* @since 2.50
|
2299 |
+
*
|
2300 |
+
* @param string $rule_name MLA Custom Field Rule name.
|
2301 |
+
* @return integer Rule ID if the rule exists else zero (0).
|
2302 |
+
*/
|
2303 |
+
public static function mla_find_custom_field_rule_ID( $rule_name ) {
|
2304 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2305 |
+
return false;
|
2306 |
+
}
|
2307 |
+
|
2308 |
+
foreach( self::$_custom_field_rules as $ID => $rule ) {
|
2309 |
+
if ( $rule_name == $rule['rule_name'] ) {
|
2310 |
+
return $ID;
|
2311 |
+
}
|
2312 |
+
}
|
2313 |
+
|
2314 |
+
return 0;
|
2315 |
+
}
|
2316 |
+
|
2317 |
+
/**
|
2318 |
+
* Return the custom field rule names
|
2319 |
+
*
|
2320 |
+
* @since 2.50
|
2321 |
+
*
|
2322 |
+
* @return array MLA custom_field_rule name => name
|
2323 |
+
*/
|
2324 |
+
public static function mla_custom_field_rule_names() {
|
2325 |
+
$names = array();
|
2326 |
+
|
2327 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2328 |
+
return $names;
|
2329 |
+
}
|
2330 |
+
|
2331 |
+
foreach( self::$_custom_field_rules as $ID => $rule ) {
|
2332 |
+
$names[ $rule['name'] ]['name'] = $rule['name'];
|
2333 |
+
}
|
2334 |
+
|
2335 |
+
return $names;
|
2336 |
+
}
|
2337 |
+
|
2338 |
+
/**
|
2339 |
+
* Find a Custom Field Rule given its ID
|
2340 |
+
*
|
2341 |
+
* @since 2.50
|
2342 |
+
*
|
2343 |
+
* @param integer $ID MLA Custom Field Rule ID
|
2344 |
+
*
|
2345 |
+
* @return array MLA custom_field_rule array
|
2346 |
+
* @return boolean false; MLA custom_field_rule does not exist
|
2347 |
+
*/
|
2348 |
+
public static function mla_find_custom_field_rule( $ID ) {
|
2349 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2350 |
+
return false;
|
2351 |
+
}
|
2352 |
+
|
2353 |
+
if ( isset( self::$_custom_field_rules[ $ID ] ) ) {
|
2354 |
+
return self::$_custom_field_rules[ $ID ];
|
2355 |
+
}
|
2356 |
+
|
2357 |
+
return false;
|
2358 |
+
}
|
2359 |
+
|
2360 |
+
/**
|
2361 |
+
* Convert a Custom Field Rule to an old-style mapping rule, given its ID
|
2362 |
+
*
|
2363 |
+
* @since 2.50
|
2364 |
+
*
|
2365 |
+
* @param integer|array $ID | array( $IDs ) MLA Custom Field Rule ID(s)
|
2366 |
+
*
|
2367 |
+
* @return array MLA custom_field_mapping values (can be empty)
|
2368 |
+
* @return boolean false; MLA custom_field_rules do not exist
|
2369 |
+
*/
|
2370 |
+
public static function mla_convert_custom_field_rules( $rule_ids ) {
|
2371 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2372 |
+
return false;
|
2373 |
+
}
|
2374 |
+
|
2375 |
+
if ( is_scalar( $rule_ids ) ) {
|
2376 |
+
$rule_ids = array( $rule_ids );
|
2377 |
+
}
|
2378 |
+
|
2379 |
+
$rules = array();
|
2380 |
+
foreach( $rule_ids as $id ) {
|
2381 |
+
$id = absint( $id );
|
2382 |
+
if ( isset( self::$_custom_field_rules[ $id ] ) ) {
|
2383 |
+
$new_rule = self::$_custom_field_rules[ $id ];
|
2384 |
+
$old_rule = array(
|
2385 |
+
'name' => $new_rule['name'],
|
2386 |
+
'data_source' => $new_rule['data_source'],
|
2387 |
+
'keep_existing' => $new_rule['keep_existing'],
|
2388 |
+
'format' => $new_rule['format'],
|
2389 |
+
'meta_name' => $new_rule['meta_name'],
|
2390 |
+
'option' => $new_rule['option'],
|
2391 |
+
'active' => $new_rule['active'],
|
2392 |
+
);
|
2393 |
+
|
2394 |
+
// Convert to "checkbox", i.e. isset() == true
|
2395 |
+
if ( $new_rule['no_null'] ) {
|
2396 |
+
$old_rule['no_null'] = $new_rule['no_null'];
|
2397 |
+
}
|
2398 |
+
|
2399 |
+
$rules[ $new_rule['rule_name'] ] = $old_rule;
|
2400 |
+
}
|
2401 |
+
}
|
2402 |
+
|
2403 |
+
return $rules;
|
2404 |
+
}
|
2405 |
+
|
2406 |
+
/**
|
2407 |
+
* Update a Custom Field Rule property given its ID and key.
|
2408 |
+
*
|
2409 |
+
* @since 2.50
|
2410 |
+
*
|
2411 |
+
* @param integer $ID MLA Custom Field Rule ID.
|
2412 |
+
* @param string $key MLA Custom Field Rule property.
|
2413 |
+
* @param string $value MLA Custom Field Rule new value.
|
2414 |
+
* @return boolean true if object exists else false.
|
2415 |
+
*/
|
2416 |
+
public static function mla_update_custom_field_rule( $ID, $key, $value ) {
|
2417 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2418 |
+
return false;
|
2419 |
+
}
|
2420 |
+
|
2421 |
+
if ( isset( self::$_custom_field_rules[ $ID ] ) ) {
|
2422 |
+
self::$_custom_field_rules[ $ID ][ $key ] = $value;
|
2423 |
+
error_log( __LINE__ . " mla_update_custom_field_rule( {$ID}, {$key} ) value = " . var_export( $value, true ), 0 );
|
2424 |
+
return true;
|
2425 |
+
}
|
2426 |
+
|
2427 |
+
return false;
|
2428 |
+
}
|
2429 |
+
|
2430 |
+
/**
|
2431 |
+
* Replace a Custom Field Rule given its value array.
|
2432 |
+
*
|
2433 |
+
* @since 2.50
|
2434 |
+
*
|
2435 |
+
* @param array $value MLA Custom Field Rule new value.
|
2436 |
+
* @return boolean true if object exists else false.
|
2437 |
+
*/
|
2438 |
+
public static function mla_replace_custom_field_rule( $value ) {
|
2439 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2440 |
+
return false;
|
2441 |
+
}
|
2442 |
+
|
2443 |
+
if ( isset( self::$_custom_field_rules[ $value['post_ID'] ] ) ) {
|
2444 |
+
self::$_custom_field_rules[ $value['post_ID'] ] = $value;
|
2445 |
+
error_log( __LINE__ . " mla_replace_custom_field_rule value = " . var_export( $value, true ), 0 );
|
2446 |
+
return true;
|
2447 |
+
}
|
2448 |
+
|
2449 |
+
return false;
|
2450 |
+
}
|
2451 |
+
|
2452 |
+
/**
|
2453 |
+
* Insert a Custom Field Rule given its value array.
|
2454 |
+
*
|
2455 |
+
* @since 2.50
|
2456 |
+
*
|
2457 |
+
* @param array $value MLA Custom Field Rule new value.
|
2458 |
+
* @return boolean true if addition succeeds else false.
|
2459 |
+
*/
|
2460 |
+
public static function mla_add_custom_field_rule( $value ) {
|
2461 |
+
if ( ! self::_get_custom_field_rules() ) {
|
2462 |
+
return false;
|
2463 |
+
}
|
2464 |
+
|
2465 |
+
$value['post_ID'] = ++self::$_custom_field_rule_highest_ID;
|
2466 |
+
$value['read_only'] = $value['rule_name'] !== $value['name'];
|
2467 |
+
$value['changed'] = true;
|
2468 |
+
$value['deleted'] = false;
|
2469 |
+
|
2470 |
+
self::$_custom_field_rules[ $value['post_ID'] ] = $value;
|
2471 |
+
error_log( __LINE__ . " mla_add_custom_field_rule value = " . var_export( $value, true ), 0 );
|
2472 |
+
return true;
|
2473 |
+
}
|
2474 |
+
|
2475 |
+
/**
|
2476 |
+
* Tabulate MLA custom_field_rule objects by view for list table display
|
2477 |
+
*
|
2478 |
+
* @since 2.50
|
2479 |
+
*
|
2480 |
+
* @param string keyword search criterion, optional
|
2481 |
+
*
|
2482 |
+
* @return array ( 'singular' label, 'plural' label, 'count' of items )
|
2483 |
+
*/
|
2484 |
+
public static function mla_tabulate_custom_field_items( $s = '' ) {
|
2485 |
+
if ( empty( $s ) ) {
|
2486 |
+
$request = array( 'mla_custom_field_view' => 'all' );
|
2487 |
+
} else {
|
2488 |
+
$request = array( 's' => $s );
|
2489 |
+
}
|
2490 |
+
|
2491 |
+
$items = self::mla_query_custom_field_rules( $request, 0, 0 );
|
2492 |
+
|
2493 |
+
$template_items = array(
|
2494 |
+
'all' => array(
|
2495 |
+
'singular' => _x( 'All', 'table_view_singular', 'media_library-assistant' ),
|
2496 |
+
'plural' => _x( 'All', 'table_view_plural', 'media_library-assistant' ),
|
2497 |
+
'count' => 0 ),
|
2498 |
+
'mla_column' => array(
|
2499 |
+
'singular' => _x( 'MLA Column', 'table_view_singular', 'media_library-assistant' ),
|
2500 |
+
'plural' => _x( 'MLA Column', 'table_view_plural', 'media_library-assistant' ),
|
2501 |
+
'count' => 0 ),
|
2502 |
+
'quick_edit' => array(
|
2503 |
+
'singular' => _x( 'Quick Edit', 'table_view_singular', 'media_library-assistant' ),
|
2504 |
+
'plural' => _x( 'Quick Edit', 'table_view_plural', 'media_library-assistant' ),
|
2505 |
+
'count' => 0 ),
|
2506 |
+
'bulk_edit' => array(
|
2507 |
+
'singular' => _x( 'Bulk Edit', 'table_view_singular', 'media_library-assistant' ),
|
2508 |
+
'plural' => _x( 'Bulk Edit', 'table_view_plural', 'media_library-assistant' ),
|
2509 |
+
'count' => 0 ),
|
2510 |
+
'read_only' => array(
|
2511 |
+
'singular' => _x( 'Read Only', 'table_view_singular', 'media_library-assistant' ),
|
2512 |
+
'plural' => _x( 'Read Only', 'table_view_plural', 'media_library-assistant' ),
|
2513 |
+
'count' => 0 ),
|
2514 |
+
);
|
2515 |
+
|
2516 |
+
foreach ( $items as $value ) {
|
2517 |
+
$template_items['all']['count']++;
|
2518 |
+
|
2519 |
+
if ( $value->mla_column ) {
|
2520 |
+
$template_items[ 'mla_column' ]['count']++;
|
2521 |
+
}
|
2522 |
+
|
2523 |
+
if ( $value->quick_edit ) {
|
2524 |
+
$template_items[ 'quick_edit' ]['count']++;
|
2525 |
+
}
|
2526 |
+
|
2527 |
+
if ( $value->bulk_edit ) {
|
2528 |
+
$template_items[ 'bulk_edit' ]['count']++;
|
2529 |
+
}
|
2530 |
+
|
2531 |
+
if ( $value->read_only ) {
|
2532 |
+
$template_items[ 'read_only' ]['count']++;
|
2533 |
+
}
|
2534 |
+
}
|
2535 |
+
|
2536 |
+
return $template_items;
|
2537 |
+
}
|
2538 |
+
} // class MLA_Custom_Field_Query
|
2539 |
+
|
2540 |
Â
/*
|
2541 |
Â
* Actions are added here, when the source file is loaded, because the mla_compose_custom_field_tab
|
2542 |
Â
* function is called too late to be useful.
|
2543 |
Â
*/
|
2544 |
Â
add_action( 'admin_enqueue_scripts', 'MLASettings_CustomFields::mla_admin_enqueue_scripts' );
|
2545 |
+
add_action( 'admin_init', 'MLA_Custom_Fields_List_Table::mla_admin_init' );
|
2546 |
Â
?>
|
includes/class-mla-settings-documentation-tab.php
CHANGED
@@ -475,13 +475,17 @@ class MLA_Example_List_Table extends WP_List_Table {
|
|
475 |
Â
* @since 2.32
|
476 |
Â
*
|
477 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
478 |
-
* @param string 'managesettings_page_mla-settings-
|
479 |
Â
* @param object WP_User object, if logged in
|
480 |
Â
*
|
481 |
Â
* @return array updated list of hidden columns
|
482 |
Â
*/
|
483 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
484 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
485 |
Â
}
|
486 |
Â
|
487 |
Â
/**
|
475 |
Â
* @since 2.32
|
476 |
Â
*
|
477 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
478 |
+
* @param string 'managesettings_page_mla-settings-menu-examplecolumnshidden'
|
479 |
Â
* @param object WP_User object, if logged in
|
480 |
Â
*
|
481 |
Â
* @return array updated list of hidden columns
|
482 |
Â
*/
|
483 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
484 |
+
if ( false !== $result ) {
|
485 |
+
return $result;
|
486 |
+
}
|
487 |
+
|
488 |
+
return self::_default_hidden_columns();
|
489 |
Â
}
|
490 |
Â
|
491 |
Â
/**
|
includes/class-mla-settings-shortcodes-tab.php
CHANGED
@@ -610,7 +610,6 @@ class MLASettings_Shortcodes {
|
|
610 |
Â
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
611 |
Â
'mla_admin_action',
|
612 |
Â
'mla_template_item',
|
613 |
-
'mla_template_item',
|
614 |
Â
'mla_item_ID',
|
615 |
Â
'_wpnonce',
|
616 |
Â
'_wp_http_referer',
|
@@ -916,7 +915,7 @@ class MLA_Template_List_Table extends WP_List_Table {
|
|
916 |
Â
}
|
917 |
Â
|
918 |
Â
/**
|
919 |
-
* Handler for filter 'get_user_option_managesettings_page_mla-settings-menu-
|
920 |
Â
*
|
921 |
Â
* Required because the screen.php get_hidden_columns function only uses
|
922 |
Â
* the get_user_option result. Set when the file is loaded because the object
|
@@ -925,13 +924,17 @@ class MLA_Template_List_Table extends WP_List_Table {
|
|
925 |
Â
* @since 2.40
|
926 |
Â
*
|
927 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
928 |
-
* @param string 'managesettings_page_mla-settings-
|
929 |
Â
* @param object WP_User object, if logged in
|
930 |
Â
*
|
931 |
Â
* @return array updated list of hidden columns
|
932 |
Â
*/
|
933 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
934 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
935 |
Â
}
|
936 |
Â
|
937 |
Â
/**
|
@@ -1315,7 +1318,7 @@ class MLA_Template_List_Table extends WP_List_Table {
|
|
1315 |
Â
*
|
1316 |
Â
* @since 2.40
|
1317 |
Â
*
|
1318 |
-
* @param string $selected Optional. Currently selected status. Default '
|
1319 |
Â
* @return string HTML markup for dropdown box.
|
1320 |
Â
*/
|
1321 |
Â
public static function mla_get_template_status_dropdown( $selected = 'any' ) {
|
610 |
Â
$_SERVER['REQUEST_URI'] = remove_query_arg( array(
|
611 |
Â
'mla_admin_action',
|
612 |
Â
'mla_template_item',
|
Â
|
|
613 |
Â
'mla_item_ID',
|
614 |
Â
'_wpnonce',
|
615 |
Â
'_wp_http_referer',
|
915 |
Â
}
|
916 |
Â
|
917 |
Â
/**
|
918 |
+
* Handler for filter 'get_user_option_managesettings_page_mla-settings-menu-shortcodescolumnshidden'
|
919 |
Â
*
|
920 |
Â
* Required because the screen.php get_hidden_columns function only uses
|
921 |
Â
* the get_user_option result. Set when the file is loaded because the object
|
924 |
Â
* @since 2.40
|
925 |
Â
*
|
926 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
927 |
+
* @param string 'managesettings_page_mla-settings-menu-shortcodescolumnshidden'
|
928 |
Â
* @param object WP_User object, if logged in
|
929 |
Â
*
|
930 |
Â
* @return array updated list of hidden columns
|
931 |
Â
*/
|
932 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
933 |
+
if ( false !== $result ) {
|
934 |
+
return $result;
|
935 |
+
}
|
936 |
+
|
937 |
+
return self::_default_hidden_columns();
|
938 |
Â
}
|
939 |
Â
|
940 |
Â
/**
|
1318 |
Â
*
|
1319 |
Â
* @since 2.40
|
1320 |
Â
*
|
1321 |
+
* @param string $selected Optional. Currently selected status. Default 'any'.
|
1322 |
Â
* @return string HTML markup for dropdown box.
|
1323 |
Â
*/
|
1324 |
Â
public static function mla_get_template_status_dropdown( $selected = 'any' ) {
|
includes/class-mla-settings-upload-tab.php
CHANGED
@@ -21,7 +21,7 @@ class MLASettings_Upload {
|
|
21 |
Â
*
|
22 |
Â
* @var string
|
23 |
Â
*/
|
24 |
-
const JAVASCRIPT_INLINE_EDIT_UPLOAD_OBJECT = '
|
25 |
Â
|
26 |
Â
/**
|
27 |
Â
* Load the tab's Javascript files
|
@@ -48,6 +48,7 @@ class MLASettings_Upload {
|
|
48 |
Â
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
49 |
Â
'useSpinnerClass' => false,
|
50 |
Â
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
Â
|
|
51 |
Â
'fields' => array( 'original_slug', 'slug', 'mime_type', 'icon_type', 'core_type', 'mla_type', 'source', 'standard_source' ),
|
52 |
Â
'checkboxes' => array( 'disabled' ),
|
53 |
Â
'ajax_action' => MLASettings::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG,
|
@@ -60,7 +61,7 @@ class MLASettings_Upload {
|
|
60 |
Â
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
61 |
Â
|
62 |
Â
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG,
|
63 |
-
MLA_PLUGIN_URL . "js/mla-inline-edit-
|
64 |
Â
array( 'wp-lists', 'suggest', 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
65 |
Â
|
66 |
Â
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG,
|
@@ -576,7 +577,7 @@ class MLASettings_Upload {
|
|
576 |
Â
} // mla_compose_upload_tab
|
577 |
Â
|
578 |
Â
/**
|
579 |
-
* Ajax handler for Upload MIME Types inline editing (quick
|
580 |
Â
*
|
581 |
Â
* Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
|
582 |
Â
*
|
@@ -704,13 +705,17 @@ class MLA_Upload_List_Table extends WP_List_Table {
|
|
704 |
Â
* @since 1.40
|
705 |
Â
*
|
706 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
707 |
-
* @param string 'managesettings_page_mla-settings-
|
708 |
Â
* @param object WP_User object, if logged in
|
709 |
Â
*
|
710 |
Â
* @return array updated list of hidden columns
|
711 |
Â
*/
|
712 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
713 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
714 |
Â
}
|
715 |
Â
|
716 |
Â
/**
|
@@ -1362,13 +1367,17 @@ class MLA_Upload_Optional_List_Table extends WP_List_Table {
|
|
1362 |
Â
* @since 1.40
|
1363 |
Â
*
|
1364 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
1365 |
-
* @param string 'managesettings_page_mla-settings-
|
1366 |
Â
* @param object WP_User object, if logged in
|
1367 |
Â
*
|
1368 |
Â
* @return array updated list of hidden columns
|
1369 |
Â
*/
|
1370 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
1371 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1372 |
Â
}
|
1373 |
Â
|
1374 |
Â
/**
|
21 |
Â
*
|
22 |
Â
* @var string
|
23 |
Â
*/
|
24 |
+
const JAVASCRIPT_INLINE_EDIT_UPLOAD_OBJECT = 'mla_inline_edit_settings_vars';
|
25 |
Â
|
26 |
Â
/**
|
27 |
Â
* Load the tab's Javascript files
|
48 |
Â
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
49 |
Â
'useSpinnerClass' => false,
|
50 |
Â
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
51 |
+
'tab' => 'upload',
|
52 |
Â
'fields' => array( 'original_slug', 'slug', 'mime_type', 'icon_type', 'core_type', 'mla_type', 'source', 'standard_source' ),
|
53 |
Â
'checkboxes' => array( 'disabled' ),
|
54 |
Â
'ajax_action' => MLASettings::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG,
|
61 |
Â
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
62 |
Â
|
63 |
Â
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG,
|
64 |
+
MLA_PLUGIN_URL . "js/mla-inline-edit-settings-scripts{$suffix}.js",
|
65 |
Â
array( 'wp-lists', 'suggest', 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
66 |
Â
|
67 |
Â
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG,
|
577 |
Â
} // mla_compose_upload_tab
|
578 |
Â
|
579 |
Â
/**
|
580 |
+
* Ajax handler for Upload MIME Types inline editing (quick edit)
|
581 |
Â
*
|
582 |
Â
* Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
|
583 |
Â
*
|
705 |
Â
* @since 1.40
|
706 |
Â
*
|
707 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
708 |
+
* @param string 'managesettings_page_mla-settings-menu-uploadcolumnshidden'
|
709 |
Â
* @param object WP_User object, if logged in
|
710 |
Â
*
|
711 |
Â
* @return array updated list of hidden columns
|
712 |
Â
*/
|
713 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
714 |
+
if ( false !== $result ) {
|
715 |
+
return $result;
|
716 |
+
}
|
717 |
+
|
718 |
+
return self::_default_hidden_columns();
|
719 |
Â
}
|
720 |
Â
|
721 |
Â
/**
|
1367 |
Â
* @since 1.40
|
1368 |
Â
*
|
1369 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
1370 |
+
* @param string 'managesettings_page_mla-settings-menu-uploadcolumnshidden'
|
1371 |
Â
* @param object WP_User object, if logged in
|
1372 |
Â
*
|
1373 |
Â
* @return array updated list of hidden columns
|
1374 |
Â
*/
|
1375 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
1376 |
+
if ( false !== $result ) {
|
1377 |
+
return $result;
|
1378 |
+
}
|
1379 |
+
|
1380 |
+
return self::_default_hidden_columns();
|
1381 |
Â
}
|
1382 |
Â
|
1383 |
Â
/**
|
includes/class-mla-settings-view-tab.php
CHANGED
@@ -21,7 +21,7 @@ class MLASettings_View {
|
|
21 |
Â
*
|
22 |
Â
* @var string
|
23 |
Â
*/
|
24 |
-
const JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT = '
|
25 |
Â
|
26 |
Â
/**
|
27 |
Â
* Load the tab's Javascript files
|
@@ -48,6 +48,7 @@ class MLASettings_View {
|
|
48 |
Â
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
49 |
Â
'useSpinnerClass' => false,
|
50 |
Â
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
Â
|
|
51 |
Â
'fields' => array( 'original_slug', 'slug', 'singular', 'plural', 'specification', 'menu_order' ),
|
52 |
Â
'checkboxes' => array( 'post_mime_type', 'table_view' ),
|
53 |
Â
'ajax_action' => MLASettings::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG,
|
@@ -60,7 +61,7 @@ class MLASettings_View {
|
|
60 |
Â
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
61 |
Â
|
62 |
Â
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG,
|
63 |
-
MLA_PLUGIN_URL . "js/mla-inline-edit-
|
64 |
Â
array( 'wp-lists', 'suggest', 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
65 |
Â
|
66 |
Â
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG,
|
@@ -415,7 +416,7 @@ class MLASettings_View {
|
|
415 |
Â
}
|
416 |
Â
|
417 |
Â
/**
|
418 |
-
* Ajax handler for Post MIME Types inline editing (quick
|
419 |
Â
*
|
420 |
Â
* Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
|
421 |
Â
*
|
@@ -547,13 +548,17 @@ class MLA_View_List_Table extends WP_List_Table {
|
|
547 |
Â
* @since 1.40
|
548 |
Â
*
|
549 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
550 |
-
* @param string 'managesettings_page_mla-settings-
|
551 |
Â
* @param object WP_User object, if logged in
|
552 |
Â
*
|
553 |
Â
* @return array updated list of hidden columns
|
554 |
Â
*/
|
555 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
556 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
557 |
Â
}
|
558 |
Â
|
559 |
Â
/**
|
21 |
Â
*
|
22 |
Â
* @var string
|
23 |
Â
*/
|
24 |
+
const JAVASCRIPT_INLINE_EDIT_VIEW_OBJECT = 'mla_inline_edit_settings_vars';
|
25 |
Â
|
26 |
Â
/**
|
27 |
Â
* Load the tab's Javascript files
|
48 |
Â
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
49 |
Â
'useSpinnerClass' => false,
|
50 |
Â
'ajax_nonce' => wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ),
|
51 |
+
'tab' => 'view',
|
52 |
Â
'fields' => array( 'original_slug', 'slug', 'singular', 'plural', 'specification', 'menu_order' ),
|
53 |
Â
'checkboxes' => array( 'post_mime_type', 'table_view' ),
|
54 |
Â
'ajax_action' => MLASettings::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG,
|
61 |
Â
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
62 |
Â
|
63 |
Â
wp_enqueue_script( MLASettings::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG,
|
64 |
+
MLA_PLUGIN_URL . "js/mla-inline-edit-settings-scripts{$suffix}.js",
|
65 |
Â
array( 'wp-lists', 'suggest', 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
66 |
Â
|
67 |
Â
wp_localize_script( MLASettings::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG,
|
416 |
Â
}
|
417 |
Â
|
418 |
Â
/**
|
419 |
+
* Ajax handler for Post MIME Types inline editing (quick edit)
|
420 |
Â
*
|
421 |
Â
* Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
|
422 |
Â
*
|
548 |
Â
* @since 1.40
|
549 |
Â
*
|
550 |
Â
* @param mixed false or array with current list of hidden columns, if any
|
551 |
+
* @param string 'managesettings_page_mla-settings-menu-viewcolumnshidden'
|
552 |
Â
* @param object WP_User object, if logged in
|
553 |
Â
*
|
554 |
Â
* @return array updated list of hidden columns
|
555 |
Â
*/
|
556 |
Â
public static function mla_manage_hidden_columns_filter( $result, $option, $user_data ) {
|
557 |
+
if ( false !== $result ) {
|
558 |
+
return $result;
|
559 |
+
}
|
560 |
+
|
561 |
+
return self::_default_hidden_columns();
|
562 |
Â
}
|
563 |
Â
|
564 |
Â
/**
|
includes/class-mla-settings.php
CHANGED
@@ -5,7 +5,6 @@
|
|
5 |
Â
* @package Media Library Assistant
|
6 |
Â
* @since 0.1
|
7 |
Â
*/
|
8 |
-
const MLA_USE_NEW_CUSTOM_FIELDS_TAB = false;
|
9 |
Â
|
10 |
Â
/**
|
11 |
Â
* Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings
|
@@ -32,6 +31,15 @@ class MLASettings {
|
|
32 |
Â
*/
|
33 |
Â
const JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG = 'mla-inline-edit-upload-scripts';
|
34 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
35 |
Â
/**
|
36 |
Â
* Slug for localizing and enqueueing JavaScript - MLA Custom tab
|
37 |
Â
*
|
@@ -95,12 +103,9 @@ class MLASettings {
|
|
95 |
Â
case self::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG:
|
96 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-view-tab.php' );
|
97 |
Â
break;
|
Â
|
|
98 |
Â
case self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG:
|
99 |
-
if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
100 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
101 |
-
} else {
|
102 |
-
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
103 |
-
}
|
104 |
Â
break;
|
105 |
Â
case self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG:
|
106 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
@@ -119,11 +124,7 @@ if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
|
119 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-shortcodes-tab.php' );
|
120 |
Â
break;
|
121 |
Â
case 'custom_field':
|
122 |
-
if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
123 |
-
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
124 |
-
} else {
|
125 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
126 |
-
}
|
127 |
Â
break;
|
128 |
Â
case 'iptc_exif':
|
129 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
@@ -356,6 +357,7 @@ if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
|
356 |
Â
public static function mla_admin_init_action() {
|
357 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG, 'MLASettings_View::mla_inline_edit_view_action' );
|
358 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG, 'MLASettings_Upload::mla_inline_edit_upload_action' );
|
Â
|
|
359 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG, 'MLASettings_CustomFields::mla_inline_mapping_custom_action' );
|
360 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG, 'MLASettings_IPTCEXIF::mla_inline_mapping_iptc_exif_action' );
|
361 |
Â
}
|
@@ -467,6 +469,17 @@ if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
|
467 |
Â
'option' => 'mla_shortcode_templates_per_page'
|
468 |
Â
);
|
469 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
470 |
Â
add_screen_option( $option, $args );
|
471 |
Â
} // upload
|
472 |
Â
elseif ( 'documentation' == $_REQUEST['mla_tab'] ) {
|
@@ -497,7 +510,7 @@ if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
|
497 |
Â
|
498 |
Â
// Do we have options/help information for this tab?
|
499 |
Â
$screen_suffix = substr( $screen->id, strlen( 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG ) ) ;
|
500 |
-
if ( ! in_array( $screen_suffix, array( '-view', '-upload', '-shortcodes', '-documentation' ) ) ) {
|
501 |
Â
return;
|
502 |
Â
}
|
503 |
Â
|
@@ -590,7 +603,7 @@ if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
|
590 |
Â
* @return mixed New value if this is our option, otherwise original status
|
591 |
Â
*/
|
592 |
Â
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
593 |
-
if ( in_array( $option, array ( 'mla_views_per_page', 'mla_uploads_per_page', 'mla_types_per_page', 'mla_shortcode_templates_per_page', 'mla_example_plugins_per_page' ) ) ) {
|
594 |
Â
return $value;
|
595 |
Â
}
|
596 |
Â
|
@@ -1453,14 +1466,18 @@ if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
|
1453 |
Â
|
1454 |
Â
if ( ! empty( $page_content['message'] ) ) {
|
1455 |
Â
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1456 |
-
$messages_class = '
|
Â
|
|
1457 |
Â
} else {
|
1458 |
-
$messages_class = '
|
Â
|
|
1459 |
Â
}
|
1460 |
Â
|
1461 |
Â
$page_values['messages'] = MLAData::mla_parse_template( self::$page_template_array['messages'], array(
|
Â
|
|
1462 |
Â
'messages' => $page_content['message'],
|
1463 |
-
'
|
Â
|
|
1464 |
Â
) );
|
1465 |
Â
}
|
1466 |
Â
|
5 |
Â
* @package Media Library Assistant
|
6 |
Â
* @since 0.1
|
7 |
Â
*/
|
Â
|
|
8 |
Â
|
9 |
Â
/**
|
10 |
Â
* Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings
|
31 |
Â
*/
|
32 |
Â
const JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG = 'mla-inline-edit-upload-scripts';
|
33 |
Â
|
34 |
+
/**
|
35 |
+
* Slug for localizing and enqueueing JavaScript - MLA Custom Fields List Table
|
36 |
+
*
|
37 |
+
* @since 2.50
|
38 |
+
*
|
39 |
+
* @var string
|
40 |
+
*/
|
41 |
+
const JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG = 'mla-inline-edit-custom-scripts';
|
42 |
+
|
43 |
Â
/**
|
44 |
Â
* Slug for localizing and enqueueing JavaScript - MLA Custom tab
|
45 |
Â
*
|
103 |
Â
case self::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG:
|
104 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-view-tab.php' );
|
105 |
Â
break;
|
106 |
+
case self::JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG:
|
107 |
Â
case self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG:
|
Â
|
|
108 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
Â
|
|
Â
|
|
Â
|
|
109 |
Â
break;
|
110 |
Â
case self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG:
|
111 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
124 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-shortcodes-tab.php' );
|
125 |
Â
break;
|
126 |
Â
case 'custom_field':
|
Â
|
|
Â
|
|
Â
|
|
127 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
Â
|
|
128 |
Â
break;
|
129 |
Â
case 'iptc_exif':
|
130 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
357 |
Â
public static function mla_admin_init_action() {
|
358 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_VIEW_SLUG, 'MLASettings_View::mla_inline_edit_view_action' );
|
359 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG, 'MLASettings_Upload::mla_inline_edit_upload_action' );
|
360 |
+
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG, 'MLASettings_CustomFields::mla_inline_edit_custom_action' );
|
361 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG, 'MLASettings_CustomFields::mla_inline_mapping_custom_action' );
|
362 |
Â
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG, 'MLASettings_IPTCEXIF::mla_inline_mapping_iptc_exif_action' );
|
363 |
Â
}
|
469 |
Â
'option' => 'mla_shortcode_templates_per_page'
|
470 |
Â
);
|
471 |
Â
|
472 |
+
add_screen_option( $option, $args );
|
473 |
+
} // shortcodes
|
474 |
+
elseif ( 'custom_field' == $_REQUEST['mla_tab'] ) {
|
475 |
+
$option = 'per_page';
|
476 |
+
|
477 |
+
$args = array(
|
478 |
+
'label' => __( 'Rules per page', 'media-library-assistant' ),
|
479 |
+
'default' => 10,
|
480 |
+
'option' => 'mla_custom_field_rules_per_page'
|
481 |
+
);
|
482 |
+
|
483 |
Â
add_screen_option( $option, $args );
|
484 |
Â
} // upload
|
485 |
Â
elseif ( 'documentation' == $_REQUEST['mla_tab'] ) {
|
510 |
Â
|
511 |
Â
// Do we have options/help information for this tab?
|
512 |
Â
$screen_suffix = substr( $screen->id, strlen( 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG ) ) ;
|
513 |
+
if ( ! in_array( $screen_suffix, array( '-view', '-upload', '-shortcodes', '-custom_field', '-documentation' ) ) ) {
|
514 |
Â
return;
|
515 |
Â
}
|
516 |
Â
|
603 |
Â
* @return mixed New value if this is our option, otherwise original status
|
604 |
Â
*/
|
605 |
Â
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
606 |
+
if ( in_array( $option, array ( 'mla_views_per_page', 'mla_uploads_per_page', 'mla_types_per_page', 'mla_shortcode_templates_per_page', 'mla_custom_field_rules_per_page', 'mla_example_plugins_per_page' ) ) ) {
|
607 |
Â
return $value;
|
608 |
Â
}
|
609 |
Â
|
1466 |
Â
|
1467 |
Â
if ( ! empty( $page_content['message'] ) ) {
|
1468 |
Â
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1469 |
+
$messages_class = 'updated error';
|
1470 |
+
$dismiss_button = '';
|
1471 |
Â
} else {
|
1472 |
+
$messages_class = 'updated notice is-dismissible';
|
1473 |
+
$dismiss_button = " <button class=\"notice-dismiss\" type=\"button\"><span class=\"screen-reader-text\">[+dismiss_text+].</span></button>\n";
|
1474 |
Â
}
|
1475 |
Â
|
1476 |
Â
$page_values['messages'] = MLAData::mla_parse_template( self::$page_template_array['messages'], array(
|
1477 |
+
'mla_messages_class' => $messages_class ,
|
1478 |
Â
'messages' => $page_content['message'],
|
1479 |
+
'dismiss_button' => $dismiss_button,
|
1480 |
+
'dismiss_text' => __( 'Dismiss this notice', 'media-library-assistant' ),
|
1481 |
Â
) );
|
1482 |
Â
}
|
1483 |
Â
|
includes/class-mla-shortcode-support.php
CHANGED
@@ -516,6 +516,12 @@ class MLAShortcode_Support {
|
|
516 |
Â
}
|
517 |
Â
}
|
518 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
519 |
Â
/*
|
520 |
Â
* Determine output type
|
521 |
Â
*/
|
@@ -567,6 +573,23 @@ class MLAShortcode_Support {
|
|
567 |
Â
return $output;
|
568 |
Â
} // empty $attachments
|
569 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
570 |
Â
/*
|
571 |
Â
* Look for user-specified alternate gallery shortcode
|
572 |
Â
*/
|
@@ -637,29 +660,6 @@ class MLAShortcode_Support {
|
|
637 |
Â
} // is_null( $mla_alt_ids_value )
|
638 |
Â
} // mla_alt_shortcode
|
639 |
Â
|
640 |
-
/*
|
641 |
-
* Look for Photonic-enhanced gallery
|
642 |
-
*/
|
643 |
-
global $photonic;
|
644 |
-
|
645 |
-
if ( is_object( $photonic ) && ! empty( $arguments['style'] ) ) {
|
646 |
-
if ( 'default' != strtolower( $arguments['type'] ) ) {
|
647 |
-
return '<p>' . __( '<strong>Photonic-enhanced [mla_gallery]</strong> type must be <strong>default</strong>, query = ', 'media-library-assistant' ) . var_export( $attr, true ) . '</p>';
|
648 |
-
}
|
649 |
-
|
650 |
-
$images = array();
|
651 |
-
foreach ($attachments as $key => $val) {
|
652 |
-
$images[$val->ID] = $attachments[$key];
|
653 |
-
}
|
654 |
-
|
655 |
-
if ( isset( $arguments['pause'] ) && ( 'false' == $arguments['pause'] ) ) {
|
656 |
-
$arguments['pause'] = NULL;
|
657 |
-
}
|
658 |
-
|
659 |
-
$output = $photonic->build_gallery( $images, $arguments['style'], $arguments );
|
660 |
-
return $output;
|
661 |
-
}
|
662 |
-
|
663 |
Â
$size = $size_class = $arguments['size'];
|
664 |
Â
if ( 'icon' == strtolower( $size) ) {
|
665 |
Â
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
@@ -994,7 +994,7 @@ class MLAShortcode_Support {
|
|
994 |
Â
$item_values['parent_date'] = '';
|
995 |
Â
$item_values['parent_permalink'] = '';
|
996 |
Â
$item_values['title'] = wptexturize( $attachment->post_title );
|
997 |
-
$item_values['slug'] = wptexturize( $attachment->post_name );
|
998 |
Â
$item_values['width'] = '';
|
999 |
Â
$item_values['height'] = '';
|
1000 |
Â
$item_values['orientation'] = '';
|
@@ -1004,7 +1004,7 @@ class MLAShortcode_Support {
|
|
1004 |
Â
$item_values['path'] = '';
|
1005 |
Â
$item_values['file'] = '';
|
1006 |
Â
$item_values['description'] = wptexturize( $attachment->post_content );
|
1007 |
-
$item_values['file_url'] = wptexturize( $attachment->guid );
|
1008 |
Â
$item_values['author_id'] = $attachment->post_author;
|
1009 |
Â
$item_values['author'] = '';
|
1010 |
Â
$item_values['caption'] = '';
|
@@ -1040,7 +1040,8 @@ class MLAShortcode_Support {
|
|
1040 |
Â
}
|
1041 |
Â
|
1042 |
Â
if ( !empty( $post_meta['mla_wp_attachment_metadata']['image_meta'] ) ) {
|
1043 |
-
$item_values['image_meta'] = wptexturize( var_export( $post_meta['mla_wp_attachment_metadata']['image_meta'], true ) );
|
Â
|
|
1044 |
Â
}
|
1045 |
Â
|
1046 |
Â
if ( !empty( $post_meta['mla_wp_attachment_image_alt'] ) ) {
|
@@ -1055,13 +1056,13 @@ class MLAShortcode_Support {
|
|
1055 |
Â
$last_slash = strrpos( $base_file, '/' );
|
1056 |
Â
if ( false === $last_slash ) {
|
1057 |
Â
$file_name = $base_file;
|
1058 |
-
$item_values['base_file'] = wptexturize( $base_file );
|
1059 |
-
$item_values['file'] = wptexturize( $base_file );
|
1060 |
Â
} else {
|
1061 |
Â
$file_name = substr( $base_file, $last_slash + 1 );
|
1062 |
-
$item_values['base_file'] = wptexturize( $base_file );
|
1063 |
-
$item_values['path'] = wptexturize( substr( $base_file, 0, $last_slash + 1 ) );
|
1064 |
-
$item_values['file'] = wptexturize( $file_name );
|
1065 |
Â
}
|
1066 |
Â
} else {
|
1067 |
Â
$file_name = '';
|
@@ -1886,8 +1887,9 @@ class MLAShortcode_Support {
|
|
1886 |
Â
}
|
1887 |
Â
|
1888 |
Â
if ( self::$mla_debug ) {
|
1889 |
-
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug
|
1890 |
-
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug
|
Â
|
|
1891 |
Â
}
|
1892 |
Â
|
1893 |
Â
/*
|
@@ -2390,10 +2392,10 @@ class MLAShortcode_Support {
|
|
2390 |
Â
$item_values['key'] = $key;
|
2391 |
Â
$item_values['term_id'] = $tag->term_id;
|
2392 |
Â
$item_values['name'] = wptexturize( $tag->name );
|
2393 |
-
$item_values['slug'] = wptexturize( $tag->slug );
|
2394 |
Â
$item_values['term_group'] = $tag->term_group;
|
2395 |
Â
$item_values['term_taxonomy_id'] = $tag->term_taxonomy_id;
|
2396 |
-
$item_values['taxonomy'] = wptexturize( $tag->taxonomy );
|
2397 |
Â
$item_values['description'] = wptexturize( $tag->description );
|
2398 |
Â
$item_values['parent'] = $tag->parent;
|
2399 |
Â
$item_values['count'] = isset ( $tag->count ) ? $tag->count : 0;
|
@@ -2663,8 +2665,12 @@ class MLAShortcode_Support {
|
|
2663 |
Â
$is_list = in_array( $output_parameters[0], array( 'list', 'ulist', 'olist', 'dlist' ) );
|
2664 |
Â
$is_dropdown = 'dropdown' == $output_parameters[0];
|
2665 |
Â
$is_checklist = 'checklist' == $output_parameters[0];
|
2666 |
-
$is_hierarchical = !
|
Â
|
|
2667 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2668 |
Â
if ( $is_list || $is_dropdown || $is_checklist ) {
|
2669 |
Â
if ( $term->parent ) {
|
2670 |
Â
$open_template = MLATemplate_support::mla_fetch_custom_template( $markup_values['mla_markup'], 'term-list', 'markup', 'child-open' );
|
@@ -2760,10 +2766,10 @@ class MLAShortcode_Support {
|
|
2760 |
Â
$item_values['key'] = $key;
|
2761 |
Â
$item_values['term_id'] = $term->term_id;
|
2762 |
Â
$item_values['name'] = wptexturize( $term->name );
|
2763 |
-
$item_values['slug'] = wptexturize( $term->slug );
|
2764 |
Â
$item_values['term_group'] = $term->term_group;
|
2765 |
Â
$item_values['term_taxonomy_id'] = $term->term_taxonomy_id;
|
2766 |
-
$item_values['taxonomy'] = wptexturize( $term->taxonomy );
|
2767 |
Â
$item_values['description'] = wptexturize( $term->description );
|
2768 |
Â
$item_values['parent'] = $term->parent;
|
2769 |
Â
$item_values['count'] = isset ( $term->count ) ? 0 + $term->count : 0;
|
@@ -2789,13 +2795,23 @@ class MLAShortcode_Support {
|
|
2789 |
Â
|
2790 |
Â
if ( ! empty( $arguments[ $mla_item_parameter ] ) ) {
|
2791 |
Â
foreach ( $arguments[ $mla_item_parameter ] as $current_item ) {
|
2792 |
-
|
2793 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2794 |
Â
$item_values['current_item_class'] = $arguments['current_item_class'];
|
2795 |
Â
break;
|
2796 |
Â
}
|
2797 |
Â
} else {
|
2798 |
-
if ( $current_item == $term->
|
2799 |
Â
$item_values['current_item_class'] = $arguments['current_item_class'];
|
2800 |
Â
break;
|
2801 |
Â
}
|
@@ -2866,10 +2882,16 @@ class MLAShortcode_Support {
|
|
2866 |
Â
}
|
2867 |
Â
}
|
2868 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2869 |
Â
/*
|
2870 |
Â
* Currentlink, editlink, termlink and thelink TODO - link style
|
2871 |
Â
*/
|
2872 |
-
$item_values['currentlink'] = sprintf( '<a %1$shref="%2$s%3$s%4$s=%5$
|
2873 |
Â
$item_values['editlink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $item_values['editlink_url'], $item_values['rollover_text'], '', $item_values['link_text'] );
|
2874 |
Â
$item_values['termlink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $item_values['termlink_url'], $item_values['rollover_text'], '', $item_values['link_text'] );
|
2875 |
Â
|
@@ -2904,6 +2926,13 @@ class MLAShortcode_Support {
|
|
2904 |
Â
|
2905 |
Â
if ( empty( $arguments['mla_option_value'] ) ) {
|
2906 |
Â
$item_values['thevalue'] = $item_values['term_id'];
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2907 |
Â
} else {
|
2908 |
Â
$item_values['thevalue'] = self::_process_shortcode_parameter( $arguments['mla_option_value'], $item_values );
|
2909 |
Â
}
|
@@ -2979,7 +3008,9 @@ class MLAShortcode_Support {
|
|
2979 |
Â
'mla_link_text' => '',
|
2980 |
Â
'mla_rollover_text' => '',
|
2981 |
Â
'mla_caption' => '',
|
Â
|
|
2982 |
Â
|
Â
|
|
2983 |
Â
'mla_option_text' => '',
|
2984 |
Â
'mla_option_value' => '',
|
2985 |
Â
);
|
@@ -3200,9 +3231,7 @@ class MLAShortcode_Support {
|
|
3200 |
Â
}
|
3201 |
Â
}
|
3202 |
Â
|
3203 |
-
|
3204 |
-
* Clean up the current_item(s) to separate term_id from slug
|
3205 |
-
*/
|
3206 |
Â
if ( ! empty( $arguments[ $mla_item_parameter ] ) ) {
|
3207 |
Â
if ( is_string( $arguments[ $mla_item_parameter ] ) ) {
|
3208 |
Â
$arguments[ $mla_item_parameter ] = explode( ',', $arguments[ $mla_item_parameter ] );
|
@@ -3217,6 +3246,12 @@ class MLAShortcode_Support {
|
|
3217 |
Â
|
3218 |
Â
$arguments = apply_filters( 'mla_term_list_arguments', $arguments );
|
3219 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3220 |
Â
self::$mla_debug = ( ! empty( $arguments['mla_debug'] ) ) ? trim( strtolower( $arguments['mla_debug'] ) ) : false;
|
3221 |
Â
if ( self::$mla_debug ) {
|
3222 |
Â
if ( 'true' == self::$mla_debug ) {
|
@@ -3229,8 +3264,9 @@ class MLAShortcode_Support {
|
|
3229 |
Â
}
|
3230 |
Â
|
3231 |
Â
if ( self::$mla_debug ) {
|
3232 |
-
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug
|
3233 |
-
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug
|
Â
|
|
3234 |
Â
}
|
3235 |
Â
|
3236 |
Â
/*
|
@@ -3326,7 +3362,8 @@ class MLAShortcode_Support {
|
|
3326 |
Â
|
3327 |
Â
$mla_multi_select = !empty( $arguments['mla_multi_select'] ) && ( 'true' == strtolower( $arguments['mla_multi_select'] ) );
|
3328 |
Â
|
3329 |
-
$is_hierarchical = !
|
Â
|
|
3330 |
Â
|
3331 |
Â
/*
|
3332 |
Â
* Convert lists to arrays
|
@@ -3413,13 +3450,22 @@ class MLAShortcode_Support {
|
|
3413 |
Â
$arguments['option_none_text'] = __( 'no-terms', 'media-library-assistant' );
|
3414 |
Â
}
|
3415 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3416 |
Â
$tags[0] = ( object ) array(
|
3417 |
-
'term_id' => $
|
3418 |
Â
'name' => $arguments['option_none_text'],
|
3419 |
-
'slug' =>
|
3420 |
Â
'term_group' => '0',
|
3421 |
-
'term_taxonomy_id' => $
|
3422 |
-
'taxonomy' =>
|
3423 |
Â
'description' => '',
|
3424 |
Â
'parent' => '0',
|
3425 |
Â
'count' => 0,
|
@@ -3449,6 +3495,22 @@ class MLAShortcode_Support {
|
|
3449 |
Â
$list = '';
|
3450 |
Â
}
|
3451 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3452 |
Â
if ( $is_hierarchical ) {
|
3453 |
Â
$tags = self::_get_term_tree( $tags, $arguments );
|
3454 |
Â
|
@@ -3507,28 +3569,8 @@ class MLAShortcode_Support {
|
|
3507 |
Â
} // foreach tag
|
3508 |
Â
}
|
3509 |
Â
}
|
3510 |
-
|
3511 |
-
|
3512 |
-
* Add the optional 'all-terms' option, if requested
|
3513 |
-
*/
|
3514 |
-
if ( ( $is_checklist || $is_dropdown ) && !empty( $arguments['option_all_text'] ) && !$show_empty ) {
|
3515 |
-
$option_all = ( object ) array(
|
3516 |
-
'term_id' => $arguments['option_all_value'],
|
3517 |
-
'name' => $arguments['option_all_text'],
|
3518 |
-
'slug' => sanitize_title( $arguments['option_all_text'] ),
|
3519 |
-
'term_group' => '0',
|
3520 |
-
'term_taxonomy_id' => $arguments['option_all_value'],
|
3521 |
-
'taxonomy' => current( $arguments['taxonomy'] ),
|
3522 |
-
'description' => '',
|
3523 |
-
'parent' => '0',
|
3524 |
-
'count' => -1,
|
3525 |
-
'level' => 0,
|
3526 |
-
'edit_link' => '',
|
3527 |
-
'term_link' => '',
|
3528 |
-
'link' => '',
|
3529 |
-
);
|
3530 |
-
|
3531 |
-
array_unshift( $tags[ $option_all->taxonomy ], $option_all );
|
3532 |
Â
$found_rows += 1;
|
3533 |
Â
}
|
3534 |
Â
|
@@ -3578,17 +3620,56 @@ class MLAShortcode_Support {
|
|
3578 |
Â
|
3579 |
Â
$list .= $gallery_style;
|
3580 |
Â
$markup_values = $style_values;
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3581 |
Â
|
3582 |
-
|
3583 |
-
* Accumulate links for flat and array output
|
3584 |
-
*/
|
3585 |
Â
$tag_links = array();
|
3586 |
Â
|
3587 |
Â
if ( $is_hierarchical ) {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3588 |
Â
foreach( $tags as $taxonomy => $root_terms ) {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3589 |
Â
|
3590 |
Â
if ( isset( $root_terms['found_rows'] ) ) {
|
3591 |
-
$markup_values['found_rows'] = $root_terms['found_rows'];
|
3592 |
Â
unset( $root_terms['found_rows'] );
|
3593 |
Â
} else {
|
3594 |
Â
$markup_values['found_rows'] = count( $root_terms );
|
@@ -3597,6 +3678,29 @@ class MLAShortcode_Support {
|
|
3597 |
Â
self::_compose_term_list( $list, $tag_links, $root_terms, $markup_values, $arguments, $attr );
|
3598 |
Â
}
|
3599 |
Â
} else {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3600 |
Â
self::_compose_term_list( $list, $tag_links, $tags, $markup_values, $arguments, $attr );
|
3601 |
Â
}
|
3602 |
Â
|
@@ -4455,7 +4559,24 @@ class MLAShortcode_Support {
|
|
4455 |
Â
return '<p>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Invalid mla_gallery', 'media-library-assistant' ) . ' tax_query = ' . var_export( $value, true ) . '</p>';
|
4456 |
Â
}
|
4457 |
Â
} // not array
|
4458 |
-
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4459 |
Â
$simple_tax_queries[ $key ] = implode(',', array_filter( array_map( 'trim', explode( ',', $value ) ) ) );
|
4460 |
Â
} // array_key_exists
|
4461 |
Â
} //foreach $attr
|
@@ -4501,6 +4622,10 @@ class MLAShortcode_Support {
|
|
4501 |
Â
}
|
4502 |
Â
|
4503 |
Â
foreach( $simple_tax_queries as $key => $value ) {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4504 |
Â
$tax_query[] = array( 'taxonomy' => $key, 'field' => 'slug', 'terms' => explode( ',', $value ), 'operator' => $tax_operator, 'include_children' => $tax_include_children );
|
4505 |
Â
}
|
4506 |
Â
|
516 |
Â
}
|
517 |
Â
}
|
518 |
Â
|
519 |
+
if ( self::$mla_debug ) {
|
520 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug REQUEST', 'media-library-assistant' ) . '</strong> = ' . var_export( $_REQUEST, true ) );
|
521 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
|
522 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
|
523 |
+
}
|
524 |
+
|
525 |
Â
/*
|
526 |
Â
* Determine output type
|
527 |
Â
*/
|
573 |
Â
return $output;
|
574 |
Â
} // empty $attachments
|
575 |
Â
|
576 |
+
/*
|
577 |
+
* Look for Photonic-enhanced gallery; use the [gallery] shortcode if found
|
578 |
+
*/
|
579 |
+
global $photonic;
|
580 |
+
|
581 |
+
if ( is_object( $photonic ) && ! empty( $arguments['style'] ) && empty( $arguments['mla_alt_shortcode'] ) ) {
|
582 |
+
if ( 'default' != strtolower( $arguments['type'] ) ) {
|
583 |
+
return '<p>' . __( '<strong>Photonic-enhanced [mla_gallery]</strong> type must be <strong>default</strong>, query = ', 'media-library-assistant' ) . var_export( $attr, true ) . '</p>';
|
584 |
+
}
|
585 |
+
|
586 |
+
if ( isset( $arguments['pause'] ) && ( 'false' == $arguments['pause'] ) ) {
|
587 |
+
$arguments['pause'] = NULL;
|
588 |
+
}
|
589 |
+
|
590 |
+
$arguments['mla_alt_shortcode'] = 'gallery';
|
591 |
+
}
|
592 |
+
|
593 |
Â
/*
|
594 |
Â
* Look for user-specified alternate gallery shortcode
|
595 |
Â
*/
|
660 |
Â
} // is_null( $mla_alt_ids_value )
|
661 |
Â
} // mla_alt_shortcode
|
662 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
663 |
Â
$size = $size_class = $arguments['size'];
|
664 |
Â
if ( 'icon' == strtolower( $size) ) {
|
665 |
Â
if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
994 |
Â
$item_values['parent_date'] = '';
|
995 |
Â
$item_values['parent_permalink'] = '';
|
996 |
Â
$item_values['title'] = wptexturize( $attachment->post_title );
|
997 |
+
$item_values['slug'] = $attachment->post_name; //wptexturize( $attachment->post_name );
|
998 |
Â
$item_values['width'] = '';
|
999 |
Â
$item_values['height'] = '';
|
1000 |
Â
$item_values['orientation'] = '';
|
1004 |
Â
$item_values['path'] = '';
|
1005 |
Â
$item_values['file'] = '';
|
1006 |
Â
$item_values['description'] = wptexturize( $attachment->post_content );
|
1007 |
+
$item_values['file_url'] = $attachment->guid; //wptexturize( $attachment->guid );
|
1008 |
Â
$item_values['author_id'] = $attachment->post_author;
|
1009 |
Â
$item_values['author'] = '';
|
1010 |
Â
$item_values['caption'] = '';
|
1040 |
Â
}
|
1041 |
Â
|
1042 |
Â
if ( !empty( $post_meta['mla_wp_attachment_metadata']['image_meta'] ) ) {
|
1043 |
+
// $item_values['image_meta'] = wptexturize( var_export( $post_meta['mla_wp_attachment_metadata']['image_meta'], true ) );
|
1044 |
+
$item_values['image_meta'] = var_export( $post_meta['mla_wp_attachment_metadata']['image_meta'], true );
|
1045 |
Â
}
|
1046 |
Â
|
1047 |
Â
if ( !empty( $post_meta['mla_wp_attachment_image_alt'] ) ) {
|
1056 |
Â
$last_slash = strrpos( $base_file, '/' );
|
1057 |
Â
if ( false === $last_slash ) {
|
1058 |
Â
$file_name = $base_file;
|
1059 |
+
$item_values['base_file'] = $base_file; //wptexturize( $base_file );
|
1060 |
+
$item_values['file'] = $base_file; //wptexturize( $base_file );
|
1061 |
Â
} else {
|
1062 |
Â
$file_name = substr( $base_file, $last_slash + 1 );
|
1063 |
+
$item_values['base_file'] = $base_file; //wptexturize( $base_file );
|
1064 |
+
$item_values['path'] = substr( $base_file, 0, $last_slash + 1 ); //wptexturize( substr( $base_file, 0, $last_slash + 1 ) );
|
1065 |
+
$item_values['file'] = $file_name; //wptexturize( $file_name );
|
1066 |
Â
}
|
1067 |
Â
} else {
|
1068 |
Â
$file_name = '';
|
1887 |
Â
}
|
1888 |
Â
|
1889 |
Â
if ( self::$mla_debug ) {
|
1890 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug REQUEST', 'media-library-assistant' ) . '</strong> = ' . var_export( $_REQUEST, true ) );
|
1891 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
|
1892 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
|
1893 |
Â
}
|
1894 |
Â
|
1895 |
Â
/*
|
2392 |
Â
$item_values['key'] = $key;
|
2393 |
Â
$item_values['term_id'] = $tag->term_id;
|
2394 |
Â
$item_values['name'] = wptexturize( $tag->name );
|
2395 |
+
$item_values['slug'] = $tag->slug; //wptexturize( $tag->slug );
|
2396 |
Â
$item_values['term_group'] = $tag->term_group;
|
2397 |
Â
$item_values['term_taxonomy_id'] = $tag->term_taxonomy_id;
|
2398 |
+
$item_values['taxonomy'] = $tag->taxonomy; //wptexturize( $tag->taxonomy );
|
2399 |
Â
$item_values['description'] = wptexturize( $tag->description );
|
2400 |
Â
$item_values['parent'] = $tag->parent;
|
2401 |
Â
$item_values['count'] = isset ( $tag->count ) ? $tag->count : 0;
|
2665 |
Â
$is_list = in_array( $output_parameters[0], array( 'list', 'ulist', 'olist', 'dlist' ) );
|
2666 |
Â
$is_dropdown = 'dropdown' == $output_parameters[0];
|
2667 |
Â
$is_checklist = 'checklist' == $output_parameters[0];
|
2668 |
+
$is_hierarchical = !( 'false' === $arguments['hierarchical'] );
|
2669 |
+
$combine_hierarchical = 'combine' === $arguments['hierarchical'];
|
2670 |
Â
|
2671 |
+
// Using the slug is a common practice and affects current_item
|
2672 |
+
$current_is_slug = in_array( $arguments['mla_option_value'], array( '{+slug+}', '[+slug+]' ) );
|
2673 |
+
|
2674 |
Â
if ( $is_list || $is_dropdown || $is_checklist ) {
|
2675 |
Â
if ( $term->parent ) {
|
2676 |
Â
$open_template = MLATemplate_support::mla_fetch_custom_template( $markup_values['mla_markup'], 'term-list', 'markup', 'child-open' );
|
2766 |
Â
$item_values['key'] = $key;
|
2767 |
Â
$item_values['term_id'] = $term->term_id;
|
2768 |
Â
$item_values['name'] = wptexturize( $term->name );
|
2769 |
+
$item_values['slug'] = $term->slug; //wptexturize( $term->slug );
|
2770 |
Â
$item_values['term_group'] = $term->term_group;
|
2771 |
Â
$item_values['term_taxonomy_id'] = $term->term_taxonomy_id;
|
2772 |
+
$item_values['taxonomy'] = $term->taxonomy; //wptexturize( $term->taxonomy );
|
2773 |
Â
$item_values['description'] = wptexturize( $term->description );
|
2774 |
Â
$item_values['parent'] = $term->parent;
|
2775 |
Â
$item_values['count'] = isset ( $term->count ) ? 0 + $term->count : 0;
|
2795 |
Â
|
2796 |
Â
if ( ! empty( $arguments[ $mla_item_parameter ] ) ) {
|
2797 |
Â
foreach ( $arguments[ $mla_item_parameter ] as $current_item ) {
|
2798 |
+
// Check for multi-taxonomy taxonomy.term compound values
|
2799 |
+
$value = explode( '.', $current_item );
|
2800 |
+
if ( 2 === count( $value ) ) {
|
2801 |
+
if ( $value[0] !== $term->taxonomy ) {
|
2802 |
+
continue;
|
2803 |
+
}
|
2804 |
+
|
2805 |
+
$current_item = $value[1];
|
2806 |
+
}
|
2807 |
+
|
2808 |
+
if ( $current_is_slug || !ctype_digit( $current_item ) ) {
|
2809 |
+
if ( $current_item == $term->slug ) {
|
2810 |
Â
$item_values['current_item_class'] = $arguments['current_item_class'];
|
2811 |
Â
break;
|
2812 |
Â
}
|
2813 |
Â
} else {
|
2814 |
+
if ( $current_item == $term->term_id ) {
|
2815 |
Â
$item_values['current_item_class'] = $arguments['current_item_class'];
|
2816 |
Â
break;
|
2817 |
Â
}
|
2882 |
Â
}
|
2883 |
Â
}
|
2884 |
Â
|
2885 |
+
if ( empty( $arguments['mla_item_value'] ) ) {
|
2886 |
+
$item_values['thevalue'] = $item_values['term_id'];
|
2887 |
+
} else {
|
2888 |
+
$item_values['thevalue'] = self::_process_shortcode_parameter( $arguments['mla_item_value'], $item_values );
|
2889 |
+
}
|
2890 |
+
|
2891 |
Â
/*
|
2892 |
Â
* Currentlink, editlink, termlink and thelink TODO - link style
|
2893 |
Â
*/
|
2894 |
+
$item_values['currentlink'] = sprintf( '<a %1$shref="%2$s%3$s%4$s=%5$s" title="%6$s" style="%7$s">%8$s</a>', $link_attributes, $item_values['page_url'], $current_item_delimiter, $mla_item_parameter, $item_values['thevalue'], $item_values['rollover_text'], '', $item_values['link_text'] );
|
2895 |
Â
$item_values['editlink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $item_values['editlink_url'], $item_values['rollover_text'], '', $item_values['link_text'] );
|
2896 |
Â
$item_values['termlink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $item_values['termlink_url'], $item_values['rollover_text'], '', $item_values['link_text'] );
|
2897 |
Â
|
2926 |
Â
|
2927 |
Â
if ( empty( $arguments['mla_option_value'] ) ) {
|
2928 |
Â
$item_values['thevalue'] = $item_values['term_id'];
|
2929 |
+
|
2930 |
+
// Combined hierarchical multi-taxonomy controls generate compound taxonomy.term values
|
2931 |
+
if ( ( $is_dropdown || $is_checklist ) && 1 < count( $arguments['taxonomy'] ) ) {
|
2932 |
+
if ( !( $is_hierarchical && !$combine_hierarchical ) ) {
|
2933 |
+
$item_values['thevalue'] = $item_values['taxonomy'] . '.' . $item_values['term_id'];
|
2934 |
+
}
|
2935 |
+
}
|
2936 |
Â
} else {
|
2937 |
Â
$item_values['thevalue'] = self::_process_shortcode_parameter( $arguments['mla_option_value'], $item_values );
|
2938 |
Â
}
|
3008 |
Â
'mla_link_text' => '',
|
3009 |
Â
'mla_rollover_text' => '',
|
3010 |
Â
'mla_caption' => '',
|
3011 |
+
'mla_item_value' => '',
|
3012 |
Â
|
3013 |
+
'mla_control_name' => '',
|
3014 |
Â
'mla_option_text' => '',
|
3015 |
Â
'mla_option_value' => '',
|
3016 |
Â
);
|
3231 |
Â
}
|
3232 |
Â
}
|
3233 |
Â
|
3234 |
+
// Clean up the current_item(s) to separate term_id from slug
|
Â
|
|
Â
|
|
3235 |
Â
if ( ! empty( $arguments[ $mla_item_parameter ] ) ) {
|
3236 |
Â
if ( is_string( $arguments[ $mla_item_parameter ] ) ) {
|
3237 |
Â
$arguments[ $mla_item_parameter ] = explode( ',', $arguments[ $mla_item_parameter ] );
|
3246 |
Â
|
3247 |
Â
$arguments = apply_filters( 'mla_term_list_arguments', $arguments );
|
3248 |
Â
|
3249 |
+
// Clean up hierarchical parameter to simplify later processing
|
3250 |
+
$arguments['hierarchical'] = strtolower( trim( $arguments['hierarchical'] ) ) ;
|
3251 |
+
if ( !in_array( $arguments['hierarchical'], array( 'true', 'combine' ) ) ) {
|
3252 |
+
$arguments['hierarchical'] = 'false';
|
3253 |
+
}
|
3254 |
+
|
3255 |
Â
self::$mla_debug = ( ! empty( $arguments['mla_debug'] ) ) ? trim( strtolower( $arguments['mla_debug'] ) ) : false;
|
3256 |
Â
if ( self::$mla_debug ) {
|
3257 |
Â
if ( 'true' == self::$mla_debug ) {
|
3264 |
Â
}
|
3265 |
Â
|
3266 |
Â
if ( self::$mla_debug ) {
|
3267 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug REQUEST', 'media-library-assistant' ) . '</strong> = ' . var_export( $_REQUEST, true ) );
|
3268 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
|
3269 |
+
MLACore::mla_debug_add( __LINE__ . ' <strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
|
3270 |
Â
}
|
3271 |
Â
|
3272 |
Â
/*
|
3362 |
Â
|
3363 |
Â
$mla_multi_select = !empty( $arguments['mla_multi_select'] ) && ( 'true' == strtolower( $arguments['mla_multi_select'] ) );
|
3364 |
Â
|
3365 |
+
$is_hierarchical = !( 'false' === $arguments['hierarchical'] );
|
3366 |
+
$combine_hierarchical = 'combine' === $arguments['hierarchical'];
|
3367 |
Â
|
3368 |
Â
/*
|
3369 |
Â
* Convert lists to arrays
|
3450 |
Â
$arguments['option_none_text'] = __( 'no-terms', 'media-library-assistant' );
|
3451 |
Â
}
|
3452 |
Â
|
3453 |
+
// Using the slug is a common practice and affects option_all_value
|
3454 |
+
if ( in_array( $arguments['mla_option_value'], array( '{+slug+}', '[+slug+]' ) ) ) {
|
3455 |
+
$option_none_id = -1;
|
3456 |
+
$option_none_slug = sanitize_title( $arguments['option_none_value'] );
|
3457 |
+
} else {
|
3458 |
+
$option_none_id = intval( $arguments['option_none_value'] );
|
3459 |
+
$option_none_slug = sanitize_title( $arguments['option_none_text'] );
|
3460 |
+
}
|
3461 |
+
|
3462 |
Â
$tags[0] = ( object ) array(
|
3463 |
+
'term_id' => $option_none_id,
|
3464 |
Â
'name' => $arguments['option_none_text'],
|
3465 |
+
'slug' => $option_none_slug,
|
3466 |
Â
'term_group' => '0',
|
3467 |
+
'term_taxonomy_id' => $option_none_id,
|
3468 |
+
'taxonomy' => reset( $arguments['taxonomy'] ),
|
3469 |
Â
'description' => '',
|
3470 |
Â
'parent' => '0',
|
3471 |
Â
'count' => 0,
|
3495 |
Â
$list = '';
|
3496 |
Â
}
|
3497 |
Â
|
3498 |
+
$add_all_option = ( $is_checklist || $is_dropdown ) && !empty( $arguments['option_all_text'] ) && !$show_empty;
|
3499 |
+
|
3500 |
+
// Using the slug is a common practice and affects option_all_value
|
3501 |
+
if ( $add_all_option ) {
|
3502 |
+
if ( in_array( $arguments['mla_option_value'], array( '{+slug+}', '[+slug+]' ) ) ) {
|
3503 |
+
$option_all_id = 0;
|
3504 |
+
$option_all_slug = sanitize_title( $arguments['option_all_value'] );
|
3505 |
+
} else {
|
3506 |
+
$option_all_id = intval( $arguments['option_all_value'] );
|
3507 |
+
$option_all_slug = sanitize_title( $arguments['option_all_text'] );
|
3508 |
+
}
|
3509 |
+
} else {
|
3510 |
+
$option_all_id = 0;
|
3511 |
+
$option_all_slug = 'all';
|
3512 |
+
}
|
3513 |
+
|
3514 |
Â
if ( $is_hierarchical ) {
|
3515 |
Â
$tags = self::_get_term_tree( $tags, $arguments );
|
3516 |
Â
|
3569 |
Â
} // foreach tag
|
3570 |
Â
}
|
3571 |
Â
}
|
3572 |
+
|
3573 |
+
if ( $add_all_option ) {
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3574 |
Â
$found_rows += 1;
|
3575 |
Â
}
|
3576 |
Â
|
3620 |
Â
|
3621 |
Â
$list .= $gallery_style;
|
3622 |
Â
$markup_values = $style_values;
|
3623 |
+
|
3624 |
+
if ( empty( $arguments['mla_control_name'] ) ) {
|
3625 |
+
$mla_control_name = 'tax_input[[+taxonomy+]][]';
|
3626 |
+
} else {
|
3627 |
+
$mla_control_name = $arguments['mla_control_name'];;
|
3628 |
+
}
|
3629 |
Â
|
3630 |
+
// Accumulate links for flat and array output
|
Â
|
|
Â
|
|
3631 |
Â
$tag_links = array();
|
3632 |
Â
|
3633 |
Â
if ( $is_hierarchical ) {
|
3634 |
+
|
3635 |
+
if ( $combine_hierarchical ) {
|
3636 |
+
$combined_tags = array();
|
3637 |
+
foreach( $tags as $taxonomy => $root_terms ) {
|
3638 |
+
$combined_tags = array_merge( $combined_tags, $root_terms );
|
3639 |
+
}
|
3640 |
+
$tags = array( $markup_values['taxonomy'] => $combined_tags );
|
3641 |
+
} // $combine_hierarchical
|
3642 |
+
|
3643 |
Â
foreach( $tags as $taxonomy => $root_terms ) {
|
3644 |
+
$markup_values['taxonomy'] = $taxonomy;
|
3645 |
+
$markup_values['thename'] = self::_process_shortcode_parameter( $mla_control_name, $markup_values );
|
3646 |
+
|
3647 |
+
// Add the optional 'all-terms' option, if requested
|
3648 |
+
if ( $add_all_option ) {
|
3649 |
+
$option_all = ( object ) array(
|
3650 |
+
'term_id' => $option_all_id,
|
3651 |
+
'name' => $arguments['option_all_text'],
|
3652 |
+
'slug' => $option_all_slug,
|
3653 |
+
'term_group' => '0',
|
3654 |
+
'term_taxonomy_id' => $option_all_id,
|
3655 |
+
'taxonomy' => $taxonomy,
|
3656 |
+
'description' => '',
|
3657 |
+
'parent' => '0',
|
3658 |
+
'count' => -1,
|
3659 |
+
'level' => 0,
|
3660 |
+
'edit_link' => '',
|
3661 |
+
'term_link' => '',
|
3662 |
+
'link' => '',
|
3663 |
+
);
|
3664 |
+
|
3665 |
+
array_unshift( $root_terms, $option_all );
|
3666 |
+
$add_to_found_rows = 1;
|
3667 |
+
} else {
|
3668 |
+
$add_to_found_rows = 0;
|
3669 |
+
}
|
3670 |
Â
|
3671 |
Â
if ( isset( $root_terms['found_rows'] ) ) {
|
3672 |
+
$markup_values['found_rows'] = $add_to_found_rows + $root_terms['found_rows'];
|
3673 |
Â
unset( $root_terms['found_rows'] );
|
3674 |
Â
} else {
|
3675 |
Â
$markup_values['found_rows'] = count( $root_terms );
|
3678 |
Â
self::_compose_term_list( $list, $tag_links, $root_terms, $markup_values, $arguments, $attr );
|
3679 |
Â
}
|
3680 |
Â
} else {
|
3681 |
+
$markup_values['thename'] = self::_process_shortcode_parameter( $mla_control_name, $markup_values );
|
3682 |
+
|
3683 |
+
// Add the optional 'all-terms' option, if requested
|
3684 |
+
if ( $add_all_option ) {
|
3685 |
+
$option_all = ( object ) array(
|
3686 |
+
'term_id' => $option_all_id,
|
3687 |
+
'name' => $arguments['option_all_text'],
|
3688 |
+
'slug' => $option_all_slug,
|
3689 |
+
'term_group' => '0',
|
3690 |
+
'term_taxonomy_id' => $option_all_id,
|
3691 |
+
'taxonomy' => $markup_values['taxonomy'],
|
3692 |
+
'description' => '',
|
3693 |
+
'parent' => '0',
|
3694 |
+
'count' => -1,
|
3695 |
+
'level' => 0,
|
3696 |
+
'edit_link' => '',
|
3697 |
+
'term_link' => '',
|
3698 |
+
'link' => '',
|
3699 |
+
);
|
3700 |
+
|
3701 |
+
array_unshift( $tags, $option_all );
|
3702 |
+
}
|
3703 |
+
|
3704 |
Â
self::_compose_term_list( $list, $tag_links, $tags, $markup_values, $arguments, $attr );
|
3705 |
Â
}
|
3706 |
Â
|
4559 |
Â
return '<p>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Invalid mla_gallery', 'media-library-assistant' ) . ' tax_query = ' . var_export( $value, true ) . '</p>';
|
4560 |
Â
}
|
4561 |
Â
} // not array
|
4562 |
+
} // tax_query
|
4563 |
+
elseif ( 'tax_input' == $key ) {
|
4564 |
+
$tax_queries = array();
|
4565 |
+
$compound_values = array_filter( array_map( 'trim', explode( ',', $value ) ) );
|
4566 |
+
foreach ( $compound_values as $compound_value ) {
|
4567 |
+
$value = explode( '.', $compound_value );
|
4568 |
+
if ( 2 === count( $value ) ) {
|
4569 |
+
if ( array_key_exists( $value[0], $all_taxonomies ) ) {
|
4570 |
+
$tax_queries[ $value[0] ][] = $value[1];
|
4571 |
+
} // valid taxonomy
|
4572 |
+
} // valid coumpound value
|
4573 |
+
} // foreach compound_value
|
4574 |
+
|
4575 |
+
foreach( $tax_queries as $key => $value ) {
|
4576 |
+
$simple_tax_queries[ $key ] = implode(',', $value );
|
4577 |
+
}
|
4578 |
+
} // tax_input
|
4579 |
+
elseif ( array_key_exists( $key, $all_taxonomies ) ) {
|
4580 |
Â
$simple_tax_queries[ $key ] = implode(',', array_filter( array_map( 'trim', explode( ',', $value ) ) ) );
|
4581 |
Â
} // array_key_exists
|
4582 |
Â
} //foreach $attr
|
4622 |
Â
}
|
4623 |
Â
|
4624 |
Â
foreach( $simple_tax_queries as $key => $value ) {
|
4625 |
+
if ( empty( $value ) ) {
|
4626 |
+
continue;
|
4627 |
+
}
|
4628 |
+
|
4629 |
Â
$tax_query[] = array( 'taxonomy' => $key, 'field' => 'slug', 'terms' => explode( ',', $value ), 'operator' => $tax_operator, 'include_children' => $tax_include_children );
|
4630 |
Â
}
|
4631 |
Â
|
includes/class-mla-thumbnail-generation.php
CHANGED
@@ -256,6 +256,9 @@ class MLA_Thumbnail {
|
|
256 |
Â
|
257 |
Â
// move the temporary file into the uploads directory
|
258 |
Â
$results = wp_handle_sideload( $args, $overrides, $subdir );
|
Â
|
|
Â
|
|
Â
|
|
259 |
Â
|
260 |
Â
$editor = wp_get_image_editor( $results['file'] );
|
261 |
Â
if ( is_wp_error( $editor ) ) {
|
256 |
Â
|
257 |
Â
// move the temporary file into the uploads directory
|
258 |
Â
$results = wp_handle_sideload( $args, $overrides, $subdir );
|
259 |
+
if ( ! empty( $results['error'] ) ) {
|
260 |
+
return $results['error'];
|
261 |
+
}
|
262 |
Â
|
263 |
Â
$editor = wp_get_image_editor( $results['file'] );
|
264 |
Â
if ( is_wp_error( $editor ) ) {
|
includes/mla-main-search-box-template.php
CHANGED
@@ -43,13 +43,19 @@ if ( empty( $supported_taxonomies ) ) {
|
|
43 |
Â
<input name="s" id="mla-media-search-input" type="text" size="45" value="<?php echo $search_value ?>" />
|
44 |
Â
<input name="mla-search-submit" class="button" id="search-submit" type="submit" value="<?php _e( 'Search Media', 'media-library-assistant' ); ?>" /><br />
|
45 |
Â
<span <?php echo $controls_style ?>>
|
46 |
-
<
|
47 |
-
<input name="mla_search_fields[]" id="search-
|
48 |
-
<
|
49 |
-
<input name="mla_search_fields[]" id="search-
|
50 |
-
<
|
51 |
-
<input name="mla_search_fields[]" id="search-
|
52 |
-
<span
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
53 |
Â
<br />
|
54 |
Â
<input name="mla_search_connector" type="radio" <?php echo ( 'OR' === $search_connector ) ? '' : 'checked="checked"'; ?> value="AND" /><?php _e( 'and', 'media-library-assistant' ); ?>
|
55 |
Â
<input name="mla_search_connector" type="radio" <?php echo ( 'OR' === $search_connector ) ? 'checked="checked"' : ''; ?> value="OR" /><?php _e( 'or', 'media-library-assistant' ); ?>
|
43 |
Â
<input name="s" id="mla-media-search-input" type="text" size="45" value="<?php echo $search_value ?>" />
|
44 |
Â
<input name="mla-search-submit" class="button" id="search-submit" type="submit" value="<?php _e( 'Search Media', 'media-library-assistant' ); ?>" /><br />
|
45 |
Â
<span <?php echo $controls_style ?>>
|
46 |
+
<span id="search-title-span">
|
47 |
+
<input name="mla_search_fields[]" id="search-title" type="checkbox" <?php echo ( in_array( 'title', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="title" /><?php _e( 'Title', 'media-library-assistant' )?> </span>
|
48 |
+
<span id="search-title-span">
|
49 |
+
<input name="mla_search_fields[]" id="search-name" type="checkbox" <?php echo ( in_array( 'name', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="name" /><?php _e( 'Name', 'media-library-assistant' )?> </span>
|
50 |
+
<span id="search-alt-text-span">
|
51 |
+
<input name="mla_search_fields[]" id="search-alt-text" type="checkbox" <?php echo ( in_array( 'alt-text', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="alt-text" /><?php _e( 'ALT Text', 'media-library-assistant' )?> </span>
|
52 |
+
<span id="search-excerpt-span">
|
53 |
+
<input name="mla_search_fields[]" id="search-excerpt" type="checkbox" <?php echo ( in_array( 'excerpt', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="excerpt" /><?php _e( 'Caption', 'media-library-assistant' )?> </span>
|
54 |
+
<span id="search-content-span">
|
55 |
+
<input name="mla_search_fields[]" id="search-content" type="checkbox" <?php echo ( in_array( 'content', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="content" /><?php _e( 'Description', 'media-library-assistant' )?> </span>
|
56 |
+
<span id="search-file-span">
|
57 |
+
<input name="mla_search_fields[]" id="search-file" type="checkbox" <?php echo ( in_array( 'file', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="file" /><?php _e( 'File', 'media-library-assistant' )?> </span>
|
58 |
+
<span id="search-terms-span" <?php echo $terms_style ?>><input name="mla_search_fields[]" id="terms-search" type="checkbox" <?php echo ( in_array( 'terms', $search_fields ) ) ? 'checked="checked"' : ''; ?> value="terms" /><?php _e( 'Terms', 'media-library-assistant' )?></span>
|
59 |
Â
<br />
|
60 |
Â
<input name="mla_search_connector" type="radio" <?php echo ( 'OR' === $search_connector ) ? '' : 'checked="checked"'; ?> value="AND" /><?php _e( 'and', 'media-library-assistant' ); ?>
|
61 |
Â
<input name="mla_search_connector" type="radio" <?php echo ( 'OR' === $search_connector ) ? 'checked="checked"' : ''; ?> value="OR" /><?php _e( 'or', 'media-library-assistant' ); ?>
|
includes/mla-plugin-loader.php
CHANGED
@@ -106,15 +106,20 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
106 |
Â
/*
|
107 |
Â
* Quick and Bulk Edit requires full support for content templates, etc.
|
108 |
Â
* IPTC/EXIF and Custom Field mapping require full support, too.
|
Â
|
|
109 |
Â
*/
|
110 |
-
$ajax_exceptions = array( MLACore::JAVASCRIPT_INLINE_EDIT_SLUG, 'mla-inline-mapping-iptc-exif-scripts', 'mla-inline-mapping-custom-scripts', 'mla-polylang-quick-translate', 'mla-inline-edit-upload-scripts', 'mla-inline-edit-view-scripts', 'upload-attachment' );
|
111 |
Â
|
Â
|
|
112 |
Â
if ( MLA_AJAX_EXCEPTIONS ) {
|
113 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
114 |
Â
}
|
115 |
Â
|
116 |
-
|
117 |
-
if ( isset( $_REQUEST['action'] ) ) {
|
118 |
Â
if ( in_array( $_REQUEST['action'], $ajax_exceptions ) ) {
|
119 |
Â
$ajax_only = false;
|
120 |
Â
} elseif ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
@@ -134,6 +139,7 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
134 |
Â
}
|
135 |
Â
}
|
136 |
Â
|
Â
|
|
137 |
Â
if ( $ajax_only ) {
|
138 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
|
139 |
Â
add_action( 'init', 'MLAQuery::initialize', 0x7FFFFFFF );
|
106 |
Â
/*
|
107 |
Â
* Quick and Bulk Edit requires full support for content templates, etc.
|
108 |
Â
* IPTC/EXIF and Custom Field mapping require full support, too.
|
109 |
+
* NOTE: AJAX upload_attachment is no longer used - see /wp-admin/asynch-upload.php
|
110 |
Â
*/
|
111 |
+
$ajax_exceptions = array( MLACore::JAVASCRIPT_INLINE_EDIT_SLUG, 'mla-inline-mapping-iptc-exif-scripts', 'mla-inline-mapping-custom-scripts', 'mla-polylang-quick-translate', 'mla-inline-edit-upload-scripts', 'mla-inline-edit-view-scripts', 'mla-inline-edit-custom-scripts', 'upload-attachment' );
|
112 |
Â
|
113 |
+
$ajax_only = true;
|
114 |
Â
if ( MLA_AJAX_EXCEPTIONS ) {
|
115 |
+
if ( 'always' === trim( strtolower( MLA_AJAX_EXCEPTIONS ) ) ) {
|
116 |
+
$ajax_only = false;
|
117 |
+
} else {
|
118 |
+
$ajax_exceptions = array_merge( $ajax_exceptions, explode( ',', MLA_AJAX_EXCEPTIONS ) );
|
119 |
+
}
|
120 |
Â
}
|
121 |
Â
|
122 |
+
if ( $ajax_only && isset( $_REQUEST['action'] ) ) {
|
Â
|
|
123 |
Â
if ( in_array( $_REQUEST['action'], $ajax_exceptions ) ) {
|
124 |
Â
$ajax_only = false;
|
125 |
Â
} elseif ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
139 |
Â
}
|
140 |
Â
}
|
141 |
Â
|
142 |
+
MLA_Ajax::$ajax_only = $ajax_only; // for debug logging
|
143 |
Â
if ( $ajax_only ) {
|
144 |
Â
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
|
145 |
Â
add_action( 'init', 'MLAQuery::initialize', 0x7FFFFFFF );
|
index.php
CHANGED
@@ -6,17 +6,17 @@
|
|
6 |
Â
* will the rest of the plugin be loaded and run.
|
7 |
Â
*
|
8 |
Â
* @package Media Library Assistant
|
9 |
-
* @version 2.
|
10 |
Â
*/
|
11 |
Â
|
12 |
Â
/*
|
13 |
Â
Plugin Name: Media Library Assistant
|
14 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
15 |
-
Description: Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/EXIF processing, bulk
|
16 |
Â
Author: David Lingren, Fair Trade Judaica
|
17 |
Â
Text Domain: media-library-assistant
|
18 |
Â
Domain Path: /languages
|
19 |
-
Version: 2.
|
20 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
Â
|
22 |
Â
Copyright 2011-2017 David Lingren
|
6 |
Â
* will the rest of the plugin be loaded and run.
|
7 |
Â
*
|
8 |
Â
* @package Media Library Assistant
|
9 |
+
* @version 2.50
|
10 |
Â
*/
|
11 |
Â
|
12 |
Â
/*
|
13 |
Â
Plugin Name: Media Library Assistant
|
14 |
Â
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
15 |
+
Description: Enhances the Media Library; powerful [mla_gallery] [mla_tag_cloud] [mla_term_list], taxonomy support, IPTC/EXIF/XMP/PDF processing, bulk/quick edit.
|
16 |
Â
Author: David Lingren, Fair Trade Judaica
|
17 |
Â
Text Domain: media-library-assistant
|
18 |
Â
Domain Path: /languages
|
19 |
+
Version: 2.50
|
20 |
Â
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
Â
|
22 |
Â
Copyright 2011-2017 David Lingren
|
js/mla-add-new-bulk-edit-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var jQuery,mla_add_new_bulk_edit_vars,mla={settings:{},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},addNewBulkEdit:null,setParent:null};(function(a){mla.settings=typeof mla_add_new_bulk_edit_vars==="undefined"?{}:mla_add_new_bulk_edit_vars;mla_add_new_bulk_edit_vars=void 0;if(typeof mla.settings.areaOnTop==="undefined"){mla.settings.areaOnTop=false}mla.addNewBulkEdit={init:function(){var d,e,c,g=a(".upload-flash-bypass"),f=a("#wpbody .wrap").children("h1, h2"),b,h=a("#mla-add-new-bulk-edit-div").hide();a("#bulk-edit-set-parent",h).on("click",function(){return mla.addNewBulkEdit.parentOpen()});d=a("#mla-blank-add-new-bulk-edit-div").detach();a("#file-form").before(d);e=a("#bulk-edit-toggle",h).detach();c=a("#bulk-edit-reset",h).detach();if(mla.settings.areaOnTop){e.appendTo(f);c.appendTo(f);b=h.detach();a("#media-upload-notice").before(b)}else{e.appendTo(g);c.appendTo(g)}e.siblings("a").on("click",function(){e.attr("title",mla.settings.toggleOpen);e.attr("value",mla.settings.toggleOpen);c.hide();h.hide()});e.on("click",function(){return mla.addNewBulkEdit.formToggle()});c.on("click",function(){return mla.addNewBulkEdit.doReset()});if(mla.settings.areaOpen){mla.addNewBulkEdit.formToggle()}a("textarea.mla_tags",h).each(function(){var i=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+i,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});uploader.bind("BeforeUpload",function(i,j){var k=a("#file-form").serialize();i.settings.multipart_params.mlaAddNewBulkEditFormString=k})},doReset:function(){var e=a("#mla-add-new-bulk-edit-div"),d=a("#mla-blank-add-new-bulk-edit-div"),b=a(".inline-edit-categories",d).html(),f=a(".inline-edit-tags",d).html(),c=a(".inline-edit-fields",d).html();a(".inline-edit-categories",e).html(b),a(".inline-edit-tags",e).html(f),a(".inline-edit-fields",e).html(c);a("#bulk-edit-set-parent",e).on("click",function(){return mla.addNewBulkEdit.parentOpen()});return false},formToggle:function(){var d=a("#bulk-edit-toggle"),b=a("#bulk-edit-reset"),c=a("#mla-add-new-bulk-edit-div");if("none"===c.css("display")){d.attr("title",mla.settings.toggleClose);d.attr("value",mla.settings.toggleClose);b.show()}else{d.attr("title",mla.settings.toggleOpen);d.attr("value",mla.settings.toggleOpen);b.hide()}c.slideToggle("slow")},parentOpen:function(){var d,b,c;b=-1;c=mla.settings.uploadTitle;d=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.addNewBulkEdit.parentSave();return false})},parentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').clone(true).val(d);a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")}
|
1 |
+
var jQuery,mla_add_new_bulk_edit_vars,mla={settings:{},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},addNewBulkEdit:null,setParent:null};(function(a){mla.settings=typeof mla_add_new_bulk_edit_vars==="undefined"?{}:mla_add_new_bulk_edit_vars;mla_add_new_bulk_edit_vars=void 0;if(typeof mla.settings.areaOnTop==="undefined"){mla.settings.areaOnTop=false}mla.addNewBulkEdit={init:function(){var d,e,c,g=a(".upload-flash-bypass"),f=a("#wpbody .wrap").children("h1, h2"),b,h=a("#mla-add-new-bulk-edit-div").hide();a("#bulk-edit-set-parent",h).on("click",function(){return mla.addNewBulkEdit.parentOpen()});d=a("#mla-blank-add-new-bulk-edit-div").detach();a("#file-form").before(d);e=a("#bulk-edit-toggle",h).detach();c=a("#bulk-edit-reset",h).detach();if(mla.settings.areaOnTop){e.appendTo(f);c.appendTo(f);b=h.detach();a("#media-upload-notice").before(b)}else{e.appendTo(g);c.appendTo(g)}e.siblings("a").on("click",function(){e.attr("title",mla.settings.toggleOpen);e.attr("value",mla.settings.toggleOpen);c.hide();h.hide()});e.on("click",function(){return mla.addNewBulkEdit.formToggle()});c.on("click",function(){return mla.addNewBulkEdit.doReset()});if(mla.settings.areaOpen){mla.addNewBulkEdit.formToggle()}a("textarea.mla_tags",h).each(function(){var i=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+i,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});uploader.bind("BeforeUpload",function(i,j){var k=a("#file-form").serialize();i.settings.multipart_params.mlaAddNewBulkEditFormString=k})},doReset:function(){var e=a("#mla-add-new-bulk-edit-div"),d=a("#mla-blank-add-new-bulk-edit-div"),b=a(".inline-edit-categories",d).html(),f=a(".inline-edit-tags",d).html(),c=a(".inline-edit-fields",d).html();a(".inline-edit-categories",e).html(b),a(".inline-edit-tags",e).html(f),a(".inline-edit-fields",e).html(c);a("#bulk-edit-set-parent",e).on("click",function(){return mla.addNewBulkEdit.parentOpen()});return false},formToggle:function(){var d=a("#bulk-edit-toggle"),b=a("#bulk-edit-reset"),c=a("#mla-add-new-bulk-edit-div");if("none"===c.css("display")){d.attr("title",mla.settings.toggleClose);d.attr("value",mla.settings.toggleClose);b.show()}else{d.attr("title",mla.settings.toggleOpen);d.attr("value",mla.settings.toggleOpen);b.hide()}c.slideToggle("slow")},parentOpen:function(){var d,b,c;b=-1;c=mla.settings.uploadTitle;d=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.addNewBulkEdit.parentSave();return false})},parentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').clone(true).val(d);a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")}};a(document).ready(function(){mla.addNewBulkEdit.init()})})(jQuery);
|
js/mla-inline-edit-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var jQuery,mla_inline_edit_vars,mla={settings:{},bulkEdit:{inProcess:false,doCancel:false},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},setParent:null,inlineEditAttachment:null};(function(a){mla.settings=typeof mla_inline_edit_vars==="undefined"?{}:mla_inline_edit_vars;mla_inline_edit_vars=void 0;mla.inlineEditAttachment={init:function(){var d=this,e=a("#inline-edit"),c=a("#bulk-edit"),b=a("#bulk-progress");d.type="attachment";d.what="#attachment-";e.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});c.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});b.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});a("#inline-edit-post-set-parent",e).on("click",function(){return mla.inlineEditAttachment.inlineParentOpen(this)});a("a.cancel",e).click(function(){return mla.inlineEditAttachment.revert()});a("a.save",e).click(function(){return mla.inlineEditAttachment.quickSave(this)});a("td",e).keydown(function(f){if(f.which==13){return mla.inlineEditAttachment.quickSave(this)}});a("#bulk-edit-set-parent",c).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()});a("a.cancel",c).click(function(){return mla.inlineEditAttachment.revert()});a("a.reset",c).click(function(){return mla.inlineEditAttachment.doReset()});a('input[type="submit"]',c).click(function(f){f.preventDefault();return mla.inlineEditAttachment.bulkSave(f)});a("a.cancel",b).click(function(){if(mla.bulkEdit.inProcess){mla.bulkEdit.doCancel=true;return false}else{return mla.inlineEditAttachment.revert()}});a("#bulk_refresh",b).click(function(){a("#bulk-progress a").prop("disabled",true);a("#bulk-progress").css("opacity","0.5")});a("#the-list").on("click","a.editinline",function(){mla.inlineEditAttachment.quickEdit(this);return false});a("span.catshow").click(function(){a(this).hide().next().show().parent().next().addClass("cat-hover")});a("span.cathide").click(function(){a(this).hide().prev().show().parent().next().removeClass("cat-hover")});a('select[name="_status"] option[value="future"]',c).remove();a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();d.bulkEdit()}else{if(a("form#posts-filter tr.inline-editor").length>0){d.revert()}}});a("#post-query-submit").mousedown(function(){d.revert();a('select[name^="action"]').val("-1")})},bulkEdit:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(mla.settings.useSpinnerClass){a("table.widefat tbody").prepend(a("#bulk-edit")).prepend('<tr class="hidden"></tr>')}else{a("table.widefat tbody").prepend(a("#bulk-edit"))}a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("textarea.mla_tags").each(function(){var c=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+c,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});a("html, body").animate({scrollTop:0},"fast")},bulkSave:function(c){var b;mla.bulkEdit={inProcess:false,doCancel:false,chunkSize:0,targetName:"",fields:"",ids:[],idsCount:0,offset:0,waiting:0,running:0,complete:0,unchanged:0,success:0,failure:0};mla.bulkEdit.chunkSize=+mla.settings.bulkChunkSize;mla.bulkEdit.targetName=c.target.name;mla.bulkEdit.fields=a("#bulk-edit :input").serialize();b=a('tbody th.check-column input[type="checkbox"]').serializeArray();a.each(b,function(d,e){mla.bulkEdit.ids[d]=+e.value});mla.bulkEdit.idsCount=mla.bulkEdit.waiting=mla.bulkEdit.ids.length;mla.inlineEditAttachment.bulkProgressOpen();mla.inlineEditAttachment.bulkPost();return false},bulkProgressOpen:function(){var b="",d=true;this.revert();a("#bulk-progress td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-progress"));a("#bulk-progress").addClass("inline-editor").show();a("#cb-select-all-1").removeAttr("checked");a("#cb-select-all-2").removeAttr("checked");a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-progress-running").html("");a("#bulk-progress-complete").html("");a("#bulk-progress-waiting").html(b);a("#bulk-progress-waiting a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("#bulk-progress .inline-edit-save .error").html("");a("#bulk_refresh").prop("disabled",true).css("opacity","0.5");a("html, body").animate({scrollTop:0},"fast")},bulkPost:function(){var b,g,f,i,c,h=a("table.widefat .inline-edit-save .spinner"),d=a("#bulk-progress .inline-edit-save .error"),j=a("#bulk-progress-waiting"),e=a("#bulk-progress-running");g=mla.bulkEdit.ids.slice(mla.bulkEdit.offset,mla.bulkEdit.offset+mla.bulkEdit.chunkSize);mla.bulkEdit.offset+=mla.bulkEdit.chunkSize;for(f=0;f<g.length;f++){i=a("#ttle"+g[f],j).remove();a("a",i).hide();e.append(i)}mla.bulkEdit.waiting-=g.length;mla.bulkEdit.running=g.length;b={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,bulk_action:mla.bulkEdit.targetName,cb_attachment:g};b=a.param(b)+"&"+mla.bulkEdit.fields;mla.bulkEdit.inProcess=true;if(mla.settings.useSpinnerClass){h.addClass("is-active")}else{h.show()}c=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(c).show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:"json"}).always(function(){if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}}).done(function(n,l){var o="no response.data",k,m;if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}if(n){if(!n.success){if(n.responseData){o=n.data}d.html(JSON.stringify(n)).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}else{m=a("#bulk-progress-running div").remove();a.each(m,function(){var p,q=a(this).html(),r=a(this).attr("id").substr(4);if("string"===typeof(n.data.item_results[r]["result"])){p=n.data.item_results[r]["result"];a(this).html(q+" ("+r+") - "+p)}a("#attachment-"+r).remove()});a("#bulk-progress-complete").append(m);mla.bulkEdit.complete+=mla.bulkEdit.running;mla.bulkEdit.running=0;mla.bulkEdit.unchanged+=n.data.unchanged;mla.bulkEdit.success+=n.data.success;mla.bulkEdit.failure+=n.data.failure;k=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(k).show()}}else{d.html(mla.settings.error).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}if(mla.bulkEdit.doCancel){d.html(mla.settings.bulkCanceled+". "+k).show()}else{if(mla.bulkEdit.offset<mla.bulkEdit.idsCount){mla.inlineEditAttachment.bulkPost();return}}a("#bulk_refresh").prop("disabled",false).css("opacity","1.0");mla.bulkEdit.inProcess=false}).fail(function(l,k){if(200==l.status){d.text("("+k+") "+l.responseText)}else{d.text(mla.settings.ajaxFailError+" ("+k+"), jqXHR( "+l.status+", "+l.statusText+", "+l.responseText+")")}})},quickEdit:function(h){var d=this,b,c,f,e,g;d.revert();if(typeof(h)=="object"){h=mla.utility.getId(h)}b=mla.settings.fields;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(mla.settings.useSpinnerClass){a(d.what+h).hide().after(c).after('<tr class="hidden"></tr>')}else{if(a(d.what+h).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+h).hide().after(c)}f=a("#inline_"+h);e=a(".item_thumbnail",f).html();if(e.length){a("#item_thumbnail",c).html(e)}if(!a(':input[name="post_author"] option[value="'+a(".post_author",f).text()+'"]',c).val()){a(':input[name="post_author"]',c).prepend('<option value="'+a(".post_author",f).text()+'">'+a("#"+d.type+"-"+h+" .author").text()+"</option>")}if(a(':input[name="post_author"] option',c).length==1){a("label.inline-edit-author",c).hide()}for(g=0;g<b.length;g++){a(':input[name="'+b[g]+'"]',c).val(a("."+b[g],f).text())}if(a(".image_alt",f).length===0){a("label.inline-edit-image-alt",c).hide()}a(".mla_category",f).each(function(){var i=a(this).text(),j;if(i){j=a(this).attr("id").replace("_"+h,"");a("ul."+j+"-checklist :checkbox",c).val(i.split(","))}});a(".mla_tags",f).each(function(){var l=a(this).text(),m=a(this).attr("id").replace("_"+h,""),k=a("textarea.tax_input_"+m,c),i=mla.settings.comma,j;if(l){if(","!==i){l=l.replace(/,/g,i)}k.val(l)}j=a(".lang",f).text();if(0<j.length){j="&lang="+j}else{j=""}k.suggest(ajaxurl+"?action=ajax-tag-search&tax="+m+"&preview_id="+h+j,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});f=a(c).attr("id","edit-"+h).addClass("inline-editor").show().position().top;a(".ptitle",c).focus();a("html, body").animate({scrollTop:f},"fast");return false},quickSave:function(e){var d,b,c=a(".post_status_page").val()||"";if(typeof(e)=="object"){e=mla.utility.getId(e)}if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").addClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").show()}d={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,post_type:"attachment",post_ID:e,edit_date:"true",post_status:c};b=a("#edit-"+e+" :input").serialize();d=b+"&"+a.param(d);a.post(ajaxurl,d,function(f){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if(f){if(-1!=f.indexOf("<tr")){if(mla.settings.useSpinnerClass){a(mla.inlineEditAttachment.what+e).siblings("tr.hidden").addBack().remove()}else{a(mla.inlineEditAttachment.what+e).remove()}a("#edit-"+e).before(f).remove();a(mla.inlineEditAttachment.what+e).hide().fadeIn()}else{f=f.replace(/<.[^<>]*?>/g,"");a("#edit-"+e+" .inline-edit-save .error").html(f).show()}}else{a("#edit-"+e+" .inline-edit-save .error").html(mla.settings.error).show()}},"html");return false},inlineParentOpen:function(e){var d,b,c;if(typeof(e)=="object"){b=mla.utility.getId(e);d=a("#edit-"+b+' :input[name="post_parent"]').val()||"";c=a("#edit-"+b+' :input[name="post_title"]').val()||"";mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(f){f.preventDefault();mla.inlineEditAttachment.inlineParentSave(b);return false})}},inlineParentSave:function(b){var f=a("#mla-set-parent-response-div input:checked").closest("tr"),h,e,c=a("#edit-"+b),d,g;if(f.length){h=a(":radio",f).val()||"";e=a("label",f).html()||"";d=a(':input[name="post_parent"]',c).clone(true).val(h);g=a(':input[name="post_parent_title"]',c).clone(true).val(e);a(':input[name="post_parent"]',c).replaceWith(d);a(':input[name="post_parent_title"]',c).replaceWith(g)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},bulkParentOpen:function(){var d,b,c;b=-1;c=mla.settings.bulkTitle;d=a('#bulk-edit :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.bulkParentSave();return false})},bulkParentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#bulk-edit :input[name="post_parent"]').clone(true).val(d);a('#bulk-edit :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},tableParentOpen:function(d,b,c){mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.tableParentSave(b);return false})},tableParentSave:function(b){var d=a("#mla-set-parent-response-div input:checked").closest("tr"),f=a(":radio",d).val()||"-1",c,e=a("#attachment-"+b+" td.attached_to").clone(true);if(d.length&&(f>=0)){e=a("#attachment-"+b+" td.attached_to").clone(true);e.html('<span class="spinner"></span>');a("#attachment-"+b+" td.attached_to").replaceWith(e);if(mla.settings.useSpinnerClass){a("#attachment-"+b+" td.attached_to .spinner").addClass("is-active")}else{a("#attachment-"+b+" td.attached_to .spinner").show()}c=a.param({action:mla.settings.ajax_action+"-set-parent",mla_admin_nonce:mla.settings.ajax_nonce,post_ID:b,post_parent:f,});a.post(ajaxurl,c,function(g){if(g){if(-1==g.indexOf("tableParentOpen(")){g=g.replace(/<.[^<>]*?>/g,"")}}else{g=mla.settings.ajaxFailError}a("#attachment-"+b).before(g).remove();a("#attachment-"+b).hide().fadeIn()},"html")}else{e.html(mla.settings.error);a("#attachment-"+b+" td.attached_to").replaceWith(e)}a("#mla-set-parent-submit").off("click");mla.setParent.close()},doReset:function(){var g=a("table.widefat tr.inline-editor").attr("id"),d=a("table.widefat #bulk-edit"),c=a("#inlineedit #blank-bulk-edit"),b=a(".inline-edit-categories",c).html(),f=a(".inline-edit-tags",c).html(),e=a(".inline-edit-fields",c).html();if(g){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==g){a(".inline-edit-categories",d).html(b),a(".inline-edit-tags",d).html(f),a(".inline-edit-fields",d).html(e);a("#bulk-edit-set-parent",d).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()})}}return false},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==b){if(mla.settings.useSpinnerClass){a("table.widefat #bulk-edit").removeClass("inline-editor").hide().siblings("tr.hidden").remove()}else{a("table.widefat #bulk-edit").removeClass("inline-editor").hide()}a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if("bulk-progress"==b){a("table.widefat #bulk-progress").removeClass("inline-editor").hide();a("#bulk-progress-waiting").html("");a("#inlineedit").append(a("#bulk-progress"))}else{if(mla.settings.useSpinnerClass){a("#"+b).siblings("tr.hidden").addBack().remove()}else{a("#"+b).remove()}b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}}return false}};a(document).ready(function(){mla.inlineEditAttachment.init()})})(jQuery);
|
1 |
+
var jQuery,mla_inline_edit_vars,mla={settings:{},bulkEdit:{inProcess:false,doCancel:false},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},setParent:null,inlineEditAttachment:null};(function(a){mla.settings=typeof mla_inline_edit_vars==="undefined"?{}:mla_inline_edit_vars;mla_inline_edit_vars=void 0;mla.inlineEditAttachment={init:function(){var d=this,e=a("#inline-edit"),c=a("#bulk-edit"),b=a("#bulk-progress");d.type="attachment";d.what="#attachment-";e.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});c.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});b.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});a("#inline-edit-post-set-parent",e).on("click",function(){return mla.inlineEditAttachment.inlineParentOpen(this)});a("a.cancel",e).click(function(){return mla.inlineEditAttachment.revert()});a("a.save",e).click(function(){return mla.inlineEditAttachment.quickSave(this)});a("td",e).keydown(function(f){if(f.which==13){return mla.inlineEditAttachment.quickSave(this)}});a("#bulk-edit-set-parent",c).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()});a("a.cancel",c).click(function(){return mla.inlineEditAttachment.revert()});a("a.reset",c).click(function(){return mla.inlineEditAttachment.doReset()});a('input[type="submit"]',c).click(function(f){f.preventDefault();return mla.inlineEditAttachment.bulkSave(f)});a("a.cancel",b).click(function(){if(mla.bulkEdit.inProcess){mla.bulkEdit.doCancel=true;return false}else{return mla.inlineEditAttachment.revert()}});a("#bulk_refresh",b).click(function(){a("#bulk-progress a").prop("disabled",true);a("#bulk-progress").css("opacity","0.5")});a("#the-list").on("click","a.editinline",function(){mla.inlineEditAttachment.quickEdit(this);return false});a("span.catshow").click(function(){a(this).hide().next().show().parent().next().addClass("cat-hover")});a("span.cathide").click(function(){a(this).hide().prev().show().parent().next().removeClass("cat-hover")});a('select[name="_status"] option[value="future"]',c).remove();a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();d.bulkEdit()}else{if(a("form#posts-filter tr.inline-editor").length>0){d.revert()}}});a("#post-query-submit").mousedown(function(){d.revert();a('select[name^="action"]').val("-1")})},bulkEdit:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(mla.settings.useSpinnerClass){a("table.widefat tbody").prepend(a("#bulk-edit")).prepend('<tr class="hidden"></tr>')}else{a("table.widefat tbody").prepend(a("#bulk-edit"))}a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("textarea.mla_tags").each(function(){var c=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+c,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});a("html, body").animate({scrollTop:0},"fast")},bulkSave:function(c){var b;mla.bulkEdit={inProcess:false,doCancel:false,chunkSize:0,targetName:"",fields:"",ids:[],idsCount:0,offset:0,waiting:0,running:0,complete:0,unchanged:0,success:0,failure:0};mla.bulkEdit.chunkSize=+mla.settings.bulkChunkSize;mla.bulkEdit.targetName=c.target.name;mla.bulkEdit.fields=a("#bulk-edit :input").serialize();b=a('tbody th.check-column input[type="checkbox"]').serializeArray();a.each(b,function(d,e){mla.bulkEdit.ids[d]=+e.value});mla.bulkEdit.idsCount=mla.bulkEdit.waiting=mla.bulkEdit.ids.length;mla.inlineEditAttachment.bulkProgressOpen();mla.inlineEditAttachment.bulkPost();return false},bulkProgressOpen:function(){var b="",d=true;this.revert();a("#bulk-progress td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-progress"));a("#bulk-progress").addClass("inline-editor").show();a("#cb-select-all-1").removeAttr("checked");a("#cb-select-all-2").removeAttr("checked");a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .post_title").text()||mla.settings.noTitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla.settings.ntdelTitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-progress-running").html("");a("#bulk-progress-complete").html("");a("#bulk-progress-waiting").html(b);a("#bulk-progress-waiting a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("#bulk-progress .inline-edit-save .error").html("");a("#bulk_refresh").prop("disabled",true).css("opacity","0.5");a("html, body").animate({scrollTop:0},"fast")},bulkPost:function(){var b,g,f,i,c,h=a("table.widefat .inline-edit-save .spinner"),d=a("#bulk-progress .inline-edit-save .error"),j=a("#bulk-progress-waiting"),e=a("#bulk-progress-running");g=mla.bulkEdit.ids.slice(mla.bulkEdit.offset,mla.bulkEdit.offset+mla.bulkEdit.chunkSize);mla.bulkEdit.offset+=mla.bulkEdit.chunkSize;for(f=0;f<g.length;f++){i=a("#ttle"+g[f],j).remove();a("a",i).hide();e.append(i)}mla.bulkEdit.waiting-=g.length;mla.bulkEdit.running=g.length;b={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,bulk_action:mla.bulkEdit.targetName,cb_attachment:g};b=a.param(b)+"&"+mla.bulkEdit.fields;mla.bulkEdit.inProcess=true;if(mla.settings.useSpinnerClass){h.addClass("is-active")}else{h.show()}c=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(c).show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:"json"}).always(function(){if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}}).done(function(n,l){var o="no response.data",k,m;if(mla.settings.useSpinnerClass){h.removeClass("is-active")}else{h.hide()}if(n){if(!n.success){if(n.responseData){o=n.data}d.html(JSON.stringify(n)).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}else{m=a("#bulk-progress-running div").remove();a.each(m,function(){var p,q=a(this).html(),r=a(this).attr("id").substr(4);if("string"===typeof(n.data.item_results[r]["result"])){p=n.data.item_results[r]["result"];a(this).html(q+" ("+r+") - "+p)}a("#attachment-"+r).remove()});a("#bulk-progress-complete").append(m);mla.bulkEdit.complete+=mla.bulkEdit.running;mla.bulkEdit.running=0;mla.bulkEdit.unchanged+=n.data.unchanged;mla.bulkEdit.success+=n.data.success;mla.bulkEdit.failure+=n.data.failure;k=mla.settings.bulkWaiting+": "+mla.bulkEdit.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkEdit.complete+", "+mla.settings.bulkUnchanged+": "+mla.bulkEdit.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkEdit.success+", "+mla.settings.bulkFailure+": "+mla.bulkEdit.failure;d.html(k).show()}}else{d.html(mla.settings.error).show();mla.bulkEdit.offset=mla.bulkEdit.idsCount}if(mla.bulkEdit.doCancel){d.html(mla.settings.bulkCanceled+". "+k).show()}else{if(mla.bulkEdit.offset<mla.bulkEdit.idsCount){mla.inlineEditAttachment.bulkPost();return}}a("#bulk_refresh").prop("disabled",false).css("opacity","1.0");mla.bulkEdit.inProcess=false}).fail(function(l,k){if(200==l.status){d.text("("+k+") "+l.responseText)}else{d.text(mla.settings.ajaxFailError+" ("+k+"), jqXHR( "+l.status+", "+l.statusText+", "+l.responseText+")")}})},quickEdit:function(h){var d=this,b,c,f,e,g;d.revert();if(typeof(h)=="object"){h=mla.utility.getId(h)}b=mla.settings.fields;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(mla.settings.useSpinnerClass){a(d.what+h).hide().after(c).after('<tr class="hidden"></tr>')}else{if(a(d.what+h).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+h).hide().after(c)}f=a("#inline_"+h);e=a(".item_thumbnail",f).html();if(e.length){a("#item_thumbnail",c).html(e)}if(!a(':input[name="post_author"] option[value="'+a(".post_author",f).text()+'"]',c).val()){a(':input[name="post_author"]',c).prepend('<option value="'+a(".post_author",f).text()+'">'+a("#"+d.type+"-"+h+" .author").text()+"</option>")}if(a(':input[name="post_author"] option',c).length==1){a("label.inline-edit-author",c).hide()}for(g=0;g<b.length;g++){a(':input[name="'+b[g]+'"]',c).val(a("."+b[g],f).text())}if(a(".image_alt",f).length===0){a("label.inline-edit-image-alt",c).hide()}a(".mla_category",f).each(function(){var i=a(this).text(),j;if(i){j=a(this).attr("id").replace("_"+h,"");a("ul."+j+"-checklist :checkbox",c).val(i.split(","))}});a(".mla_tags",f).each(function(){var l=a(this).text(),m=a(this).attr("id").replace("_"+h,""),k=a("textarea.tax_input_"+m,c),i=mla.settings.comma,j;if(l){if(","!==i){l=l.replace(/,/g,i)}k.val(l)}j=a(".lang",f).text();if(0<j.length){j="&lang="+j}else{j=""}k.suggest(ajaxurl+"?action=ajax-tag-search&tax="+m+"&preview_id="+h+j,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});f=a(c).attr("id","edit-"+h).addClass("inline-editor").show().position().top;a(".ptitle",c).focus();a("html, body").animate({scrollTop:f},"fast");return false},quickSave:function(e){var d,b,c=a(".post_status_page").val()||"";if(typeof(e)=="object"){e=mla.utility.getId(e)}if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").addClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").show()}d={action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,post_type:"attachment",post_ID:e,edit_date:"true",post_status:c};b=a("#edit-"+e+" :input").serialize();d=b+"&"+a.param(d);a.post(ajaxurl,d,function(f){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if(f){if(-1!=f.indexOf("<tr")){if(mla.settings.useSpinnerClass){a(mla.inlineEditAttachment.what+e).siblings("tr.hidden").addBack().remove()}else{a(mla.inlineEditAttachment.what+e).remove()}a("#edit-"+e).before(f).remove();a(mla.inlineEditAttachment.what+e).hide().fadeIn()}else{f=f.replace(/<.[^<>]*?>/g,"");a("#edit-"+e+" .inline-edit-save .error").html(f).show()}}else{a("#edit-"+e+" .inline-edit-save .error").html(mla.settings.error).show()}},"html");return false},inlineParentOpen:function(e){var d,b,c;if(typeof(e)=="object"){b=mla.utility.getId(e);d=a("#edit-"+b+' :input[name="post_parent"]').val()||"";c=a("#edit-"+b+' :input[name="post_title"]').val()||"";mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(f){f.preventDefault();mla.inlineEditAttachment.inlineParentSave(b);return false})}},inlineParentSave:function(b){var f=a("#mla-set-parent-response-div input:checked").closest("tr"),h,e,c=a("#edit-"+b),d,g;if(f.length){h=a(":radio",f).val()||"";e=a("label",f).html()||"";d=a(':input[name="post_parent"]',c).clone(true).val(h);g=a(':input[name="post_parent_title"]',c).clone(true).val(e);a(':input[name="post_parent"]',c).replaceWith(d);a(':input[name="post_parent_title"]',c).replaceWith(g)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},bulkParentOpen:function(){var d,b,c;b=-1;c=mla.settings.bulkTitle;d=a('#bulk-edit :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.bulkParentSave();return false})},bulkParentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#bulk-edit :input[name="post_parent"]').clone(true).val(d);a('#bulk-edit :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},tableParentOpen:function(d,b,c){mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.tableParentSave(b);return false})},tableParentSave:function(b){var d=a("#mla-set-parent-response-div input:checked").closest("tr"),f=a(":radio",d).val()||"-1",c,e=a("#attachment-"+b+" td.attached_to").clone(true);if(d.length&&(f>=0)){e=a("#attachment-"+b+" td.attached_to").clone(true);e.html('<span class="spinner"></span>');a("#attachment-"+b+" td.attached_to").replaceWith(e);if(mla.settings.useSpinnerClass){a("#attachment-"+b+" td.attached_to .spinner").addClass("is-active")}else{a("#attachment-"+b+" td.attached_to .spinner").show()}c=a.param({action:mla.settings.ajax_action+"-set-parent",mla_admin_nonce:mla.settings.ajax_nonce,post_ID:b,post_parent:f});a.post(ajaxurl,c,function(g){if(g){if(-1==g.indexOf("tableParentOpen(")){g=g.replace(/<.[^<>]*?>/g,"")}}else{g=mla.settings.ajaxFailError}a("#attachment-"+b).before(g).remove();a("#attachment-"+b).hide().fadeIn()},"html")}else{e.html(mla.settings.error);a("#attachment-"+b+" td.attached_to").replaceWith(e)}a("#mla-set-parent-submit").off("click");mla.setParent.close()},doReset:function(){var g=a("table.widefat tr.inline-editor").attr("id"),d=a("table.widefat #bulk-edit"),c=a("#inlineedit #blank-bulk-edit"),b=a(".inline-edit-categories",c).html(),f=a(".inline-edit-tags",c).html(),e=a(".inline-edit-fields",c).html();if(g){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==g){a(".inline-edit-categories",d).html(b),a(".inline-edit-tags",d).html(f),a(".inline-edit-fields",d).html(e);a("#bulk-edit-set-parent",d).on("click",function(){return mla.inlineEditAttachment.bulkParentOpen()})}}return false},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){if(mla.settings.useSpinnerClass){a("table.widefat .inline-edit-save .spinner").removeClass("is-active")}else{a("table.widefat .inline-edit-save .spinner").hide()}if("bulk-edit"==b){if(mla.settings.useSpinnerClass){a("table.widefat #bulk-edit").removeClass("inline-editor").hide().siblings("tr.hidden").remove()}else{a("table.widefat #bulk-edit").removeClass("inline-editor").hide()}a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if("bulk-progress"==b){a("table.widefat #bulk-progress").removeClass("inline-editor").hide();a("#bulk-progress-waiting").html("");a("#inlineedit").append(a("#bulk-progress"))}else{if(mla.settings.useSpinnerClass){a("#"+b).siblings("tr.hidden").addBack().remove()}else{a("#"+b).remove()}b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}}return false}};a(document).ready(function(){mla.inlineEditAttachment.init()})})(jQuery);
|
js/{mla-inline-edit-upload-scripts.js → mla-inline-edit-settings-scripts.js}
RENAMED
@@ -1,44 +1,44 @@
|
|
1 |
Â
// These functions are adapted from wp-admin/js/inline-edit-post.js
|
2 |
Â
|
3 |
-
var ajaxurl, jQuery,
|
4 |
Â
|
5 |
Â
(function($) {
|
6 |
-
|
7 |
Â
|
8 |
Â
init : function(){
|
9 |
Â
var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
|
10 |
Â
|
11 |
-
t.type =
|
12 |
-
t.what = '#
|
13 |
Â
|
14 |
Â
// prepare the edit rows
|
15 |
Â
qeRow.keyup(function(e){
|
16 |
Â
if (e.which == 27)
|
17 |
-
return
|
18 |
Â
});
|
19 |
Â
bulkRow.keyup(function(e){
|
20 |
Â
if (e.which == 27)
|
21 |
-
return
|
22 |
Â
});
|
23 |
Â
|
24 |
Â
$('a.cancel', qeRow).click(function(){
|
25 |
-
return
|
26 |
Â
});
|
27 |
Â
$('a.save', qeRow).click(function(){
|
28 |
-
return
|
29 |
Â
});
|
30 |
Â
$('td', qeRow).keydown(function(e){
|
31 |
Â
if ( e.which == 13 )
|
32 |
-
return
|
33 |
Â
});
|
34 |
Â
|
35 |
Â
$('a.cancel', bulkRow).click(function(){
|
36 |
-
return
|
37 |
Â
});
|
38 |
Â
|
39 |
Â
// add events
|
40 |
Â
$('a.editinline').live('click', function(){
|
41 |
-
|
42 |
Â
return false;
|
43 |
Â
});
|
44 |
Â
|
@@ -76,8 +76,8 @@ inlineEditUpload = {
|
|
76 |
Â
if ( $(this).prop('checked') ) {
|
77 |
Â
c = false;
|
78 |
Â
var id = $(this).val(), theTitle;
|
79 |
-
theTitle = $('#inline_'+id+' .slug').text() ||
|
80 |
-
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+
|
81 |
Â
}
|
82 |
Â
});
|
83 |
Â
|
@@ -102,8 +102,8 @@ inlineEditUpload = {
|
|
102 |
Â
if ( typeof(id) == 'object' )
|
103 |
Â
id = t.getId(id);
|
104 |
Â
|
105 |
-
fields =
|
106 |
-
checkboxes =
|
107 |
Â
|
108 |
Â
// add the new blank row
|
109 |
Â
editRow = $('#inline-edit').clone(true);
|
@@ -140,15 +140,15 @@ inlineEditUpload = {
|
|
140 |
Â
if ( typeof(id) == 'object' )
|
141 |
Â
id = this.getId(id);
|
142 |
Â
|
143 |
-
if (
|
144 |
Â
$('table.widefat .spinner').addClass("is-active");
|
145 |
Â
} else {
|
146 |
Â
$('table.widefat .spinner').show();
|
147 |
Â
}
|
148 |
Â
|
149 |
Â
params = {
|
150 |
-
action:
|
151 |
-
mla_admin_nonce:
|
152 |
Â
post_ID: id
|
153 |
Â
};
|
154 |
Â
|
@@ -158,7 +158,7 @@ inlineEditUpload = {
|
|
158 |
Â
// make ajax request
|
159 |
Â
$.post( ajaxurl, params,
|
160 |
Â
function(r) {
|
161 |
-
if (
|
162 |
Â
$('table.widefat .spinner').removeClass("is-active");
|
163 |
Â
} else {
|
164 |
Â
$('table.widefat .spinner').hide();
|
@@ -166,15 +166,21 @@ inlineEditUpload = {
|
|
166 |
Â
|
167 |
Â
if (r) {
|
168 |
Â
if ( -1 != r.indexOf('<tr') ) {
|
169 |
-
$(
|
170 |
Â
$('#edit-'+id).before(r).remove();
|
171 |
-
$(
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
172 |
Â
} else {
|
173 |
Â
r = r.replace( /<.[^<>]*?>/g, '' );
|
174 |
Â
$('#edit-'+id+' .inline-edit-save .error').html(r).show();
|
175 |
Â
}
|
176 |
Â
} else {
|
177 |
-
$('#edit-'+id+' .inline-edit-save .error').html(
|
178 |
Â
}
|
179 |
Â
}, 'html');
|
180 |
Â
return false;
|
@@ -191,7 +197,7 @@ inlineEditUpload = {
|
|
191 |
Â
$('#bulk-titles').html('');
|
192 |
Â
$('#inlineedit').append( $('#bulk-edit') );
|
193 |
Â
} else {
|
194 |
-
if (
|
195 |
Â
$('table.widefat .spinner').removeClass("is-active");
|
196 |
Â
} else {
|
197 |
Â
$('table.widefat .spinner').hide();
|
@@ -213,5 +219,5 @@ inlineEditUpload = {
|
|
213 |
Â
}
|
214 |
Â
};
|
215 |
Â
|
216 |
-
$(document).ready(function(){
|
217 |
Â
})(jQuery);
|
1 |
Â
// These functions are adapted from wp-admin/js/inline-edit-post.js
|
2 |
Â
|
3 |
+
var ajaxurl, jQuery, mlaInlineEditSettings, mla, mla_inline_edit_settings_vars;
|
4 |
Â
|
5 |
Â
(function($) {
|
6 |
+
mlaInlineEditSettings = {
|
7 |
Â
|
8 |
Â
init : function(){
|
9 |
Â
var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
|
10 |
Â
|
11 |
+
t.type = mla_inline_edit_settings_vars.tab;
|
12 |
+
t.what = '#' + mla_inline_edit_settings_vars.tab + '-';
|
13 |
Â
|
14 |
Â
// prepare the edit rows
|
15 |
Â
qeRow.keyup(function(e){
|
16 |
Â
if (e.which == 27)
|
17 |
+
return mlaInlineEditSettings.revert();
|
18 |
Â
});
|
19 |
Â
bulkRow.keyup(function(e){
|
20 |
Â
if (e.which == 27)
|
21 |
+
return mlaInlineEditSettings.revert();
|
22 |
Â
});
|
23 |
Â
|
24 |
Â
$('a.cancel', qeRow).click(function(){
|
25 |
+
return mlaInlineEditSettings.revert();
|
26 |
Â
});
|
27 |
Â
$('a.save', qeRow).click(function(){
|
28 |
+
return mlaInlineEditSettings.save(this);
|
29 |
Â
});
|
30 |
Â
$('td', qeRow).keydown(function(e){
|
31 |
Â
if ( e.which == 13 )
|
32 |
+
return mlaInlineEditSettings.save(this);
|
33 |
Â
});
|
34 |
Â
|
35 |
Â
$('a.cancel', bulkRow).click(function(){
|
36 |
+
return mlaInlineEditSettings.revert();
|
37 |
Â
});
|
38 |
Â
|
39 |
Â
// add events
|
40 |
Â
$('a.editinline').live('click', function(){
|
41 |
+
mlaInlineEditSettings.edit(this);
|
42 |
Â
return false;
|
43 |
Â
});
|
44 |
Â
|
76 |
Â
if ( $(this).prop('checked') ) {
|
77 |
Â
c = false;
|
78 |
Â
var id = $(this).val(), theTitle;
|
79 |
+
theTitle = $('#inline_'+id+' .slug').text() || mla_inline_edit_settings_vars.notitle;
|
80 |
+
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+mla_inline_edit_settings_vars.ntdeltitle+'">X</a>'+theTitle+'</div>';
|
81 |
Â
}
|
82 |
Â
});
|
83 |
Â
|
102 |
Â
if ( typeof(id) == 'object' )
|
103 |
Â
id = t.getId(id);
|
104 |
Â
|
105 |
+
fields = mla_inline_edit_settings_vars.fields;
|
106 |
+
checkboxes = mla_inline_edit_settings_vars.checkboxes;
|
107 |
Â
|
108 |
Â
// add the new blank row
|
109 |
Â
editRow = $('#inline-edit').clone(true);
|
140 |
Â
if ( typeof(id) == 'object' )
|
141 |
Â
id = this.getId(id);
|
142 |
Â
|
143 |
+
if ( mla_inline_edit_settings_vars.useSpinnerClass ) {
|
144 |
Â
$('table.widefat .spinner').addClass("is-active");
|
145 |
Â
} else {
|
146 |
Â
$('table.widefat .spinner').show();
|
147 |
Â
}
|
148 |
Â
|
149 |
Â
params = {
|
150 |
+
action: mla_inline_edit_settings_vars.ajax_action,
|
151 |
+
mla_admin_nonce: mla_inline_edit_settings_vars.ajax_nonce,
|
152 |
Â
post_ID: id
|
153 |
Â
};
|
154 |
Â
|
158 |
Â
// make ajax request
|
159 |
Â
$.post( ajaxurl, params,
|
160 |
Â
function(r) {
|
161 |
+
if ( mla_inline_edit_settings_vars.useSpinnerClass ) {
|
162 |
Â
$('table.widefat .spinner').removeClass("is-active");
|
163 |
Â
} else {
|
164 |
Â
$('table.widefat .spinner').hide();
|
166 |
Â
|
167 |
Â
if (r) {
|
168 |
Â
if ( -1 != r.indexOf('<tr') ) {
|
169 |
+
$(mlaInlineEditSettings.what+id).remove();
|
170 |
Â
$('#edit-'+id).before(r).remove();
|
171 |
+
$(mlaInlineEditSettings.what+id).hide().fadeIn();
|
172 |
+
|
173 |
+
// add event handler to the Execute rollover link
|
174 |
+
$(mlaInlineEditSettings.what+id + ' a.execute' ).click(function( e ){
|
175 |
+
e.preventDefault();
|
176 |
+
return mla.inlineMapAttachment.bulkMap( e.target.id, 0 );
|
177 |
+
});
|
178 |
Â
} else {
|
179 |
Â
r = r.replace( /<.[^<>]*?>/g, '' );
|
180 |
Â
$('#edit-'+id+' .inline-edit-save .error').html(r).show();
|
181 |
Â
}
|
182 |
Â
} else {
|
183 |
+
$('#edit-'+id+' .inline-edit-save .error').html(mla_inline_edit_settings_vars.error).show();
|
184 |
Â
}
|
185 |
Â
}, 'html');
|
186 |
Â
return false;
|
197 |
Â
$('#bulk-titles').html('');
|
198 |
Â
$('#inlineedit').append( $('#bulk-edit') );
|
199 |
Â
} else {
|
200 |
+
if ( mla_inline_edit_settings_vars.useSpinnerClass ) {
|
201 |
Â
$('table.widefat .spinner').removeClass("is-active");
|
202 |
Â
} else {
|
203 |
Â
$('table.widefat .spinner').hide();
|
219 |
Â
}
|
220 |
Â
};
|
221 |
Â
|
222 |
+
$(document).ready(function(){mlaInlineEditSettings.init();});
|
223 |
Â
})(jQuery);
|
js/mla-inline-edit-settings-scripts.min.js
ADDED
@@ -0,0 +1 @@
|
|
Â
|
1 |
+
var ajaxurl,jQuery,mlaInlineEditSettings,mla,mla_inline_edit_settings_vars;(function(a){mlaInlineEditSettings={init:function(){var c=this,d=a("#inline-edit"),b=a("#bulk-edit");c.type=mla_inline_edit_settings_vars.tab;c.what="#"+mla_inline_edit_settings_vars.tab+"-";d.keyup(function(f){if(f.which==27){return mlaInlineEditSettings.revert()}});b.keyup(function(f){if(f.which==27){return mlaInlineEditSettings.revert()}});a("a.cancel",d).click(function(){return mlaInlineEditSettings.revert()});a("a.save",d).click(function(){return mlaInlineEditSettings.save(this)});a("td",d).keydown(function(f){if(f.which==13){return mlaInlineEditSettings.save(this)}});a("a.cancel",b).click(function(){return mlaInlineEditSettings.revert()});a("a.editinline").live("click",function(){mlaInlineEditSettings.edit(this);return false});a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();c.setBulk()}else{if(a("form#posts-filter tr.inline-editor").length>0){c.revert()}}})},toggle:function(c){var b=this;if("none"==a(b.what+b.getId(c)).css("display")){b.revert()}else{b.edit(c)}},setBulk:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-edit"));a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .slug").text()||mla_inline_edit_settings_vars.notitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla_inline_edit_settings_vars.ntdeltitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("html, body").animate({scrollTop:0},"fast")},edit:function(h){var d=this,b,f,c,e,g;d.revert();if(typeof(h)=="object"){h=d.getId(h)}b=mla_inline_edit_settings_vars.fields;f=mla_inline_edit_settings_vars.checkboxes;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(a(d.what+h).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+h).hide().after(c);e=a("#inline_"+h);for(g=0;g<b.length;g++){a(':input[name="'+b[g]+'"]',c).val(a("."+b[g],e).text())}for(g=0;g<b.length;g++){if("1"==a("."+f[g],e).text()){a(':input[name="'+f[g]+'"]',c).attr("checked","checked")}else{a(':input[name="'+f[g]+'"]',c).removeAttr("checked")}}a(c).attr("id","edit-"+h).addClass("inline-editor").show();a(".ptitle",c).focus();return false},save:function(d){var c,b;if(typeof(d)=="object"){d=this.getId(d)}if(mla_inline_edit_settings_vars.useSpinnerClass){a("table.widefat .spinner").addClass("is-active")}else{a("table.widefat .spinner").show()}c={action:mla_inline_edit_settings_vars.ajax_action,mla_admin_nonce:mla_inline_edit_settings_vars.ajax_nonce,post_ID:d};b=a("#edit-"+d+" :input").serialize();c=b+"&"+a.param(c);a.post(ajaxurl,c,function(e){if(mla_inline_edit_settings_vars.useSpinnerClass){a("table.widefat .spinner").removeClass("is-active")}else{a("table.widefat .spinner").hide()}if(e){if(-1!=e.indexOf("<tr")){a(mlaInlineEditSettings.what+d).remove();a("#edit-"+d).before(e).remove();a(mlaInlineEditSettings.what+d).hide().fadeIn();a(mlaInlineEditSettings.what+d+" a.execute").click(function(f){f.preventDefault();return mla.inlineMapAttachment.bulkMap(f.target.id,0)})}else{e=e.replace(/<.[^<>]*?>/g,"");a("#edit-"+d+" .inline-edit-save .error").html(e).show()}}else{a("#edit-"+d+" .inline-edit-save .error").html(mla_inline_edit_settings_vars.error).show()}},"html");return false},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){a("table.widefat .inline-edit-save .waiting").hide();if("bulk-edit"==b){a("table.widefat #bulk-edit").removeClass("inline-editor").hide();a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if(mla_inline_edit_settings_vars.useSpinnerClass){a("table.widefat .spinner").removeClass("is-active")}else{a("table.widefat .spinner").hide()}a("#"+b).remove();b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}return false},getId:function(c){var d=a(c).closest("tr").attr("id"),b=d.split("-");return b[b.length-1]}};a(document).ready(function(){mlaInlineEditSettings.init()})})(jQuery);
|
js/mla-inline-edit-upload-scripts.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var ajaxurl,jQuery,inlineEditUpload,mla_inline_edit_upload_vars;(function(a){inlineEditUpload={init:function(){var c=this,d=a("#inline-edit"),b=a("#bulk-edit");c.type="upload";c.what="#upload-";d.keyup(function(f){if(f.which==27){return inlineEditUpload.revert()}});b.keyup(function(f){if(f.which==27){return inlineEditUpload.revert()}});a("a.cancel",d).click(function(){return inlineEditUpload.revert()});a("a.save",d).click(function(){return inlineEditUpload.save(this)});a("td",d).keydown(function(f){if(f.which==13){return inlineEditUpload.save(this)}});a("a.cancel",b).click(function(){return inlineEditUpload.revert()});a("a.editinline").live("click",function(){inlineEditUpload.edit(this);return false});a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();c.setBulk()}else{if(a("form#posts-filter tr.inline-editor").length>0){c.revert()}}})},toggle:function(c){var b=this;if("none"==a(b.what+b.getId(c)).css("display")){b.revert()}else{b.edit(c)}},setBulk:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-edit"));a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .slug").text()||mla_inline_edit_upload_vars.notitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla_inline_edit_upload_vars.ntdeltitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("html, body").animate({scrollTop:0},"fast")},edit:function(h){var d=this,b,f,c,e,g;d.revert();if(typeof(h)=="object"){h=d.getId(h)}b=mla_inline_edit_upload_vars.fields;f=mla_inline_edit_upload_vars.checkboxes;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(a(d.what+h).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+h).hide().after(c);e=a("#inline_"+h);for(g=0;g<b.length;g++){a(':input[name="'+b[g]+'"]',c).val(a("."+b[g],e).text())}for(g=0;g<b.length;g++){if("1"==a("."+f[g],e).text()){a(':input[name="'+f[g]+'"]',c).attr("checked","checked")}else{a(':input[name="'+f[g]+'"]',c).removeAttr("checked")}}a(c).attr("id","edit-"+h).addClass("inline-editor").show();a(".ptitle",c).focus();return false},save:function(d){var c,b;if(typeof(d)=="object"){d=this.getId(d)}if(mla_inline_edit_upload_vars.useSpinnerClass){a("table.widefat .spinner").addClass("is-active")}else{a("table.widefat .spinner").show()}c={action:mla_inline_edit_upload_vars.ajax_action,mla_admin_nonce:mla_inline_edit_upload_vars.ajax_nonce,post_ID:d};b=a("#edit-"+d+" :input").serialize();c=b+"&"+a.param(c);a.post(ajaxurl,c,function(e){if(mla_inline_edit_upload_vars.useSpinnerClass){a("table.widefat .spinner").removeClass("is-active")}else{a("table.widefat .spinner").hide()}if(e){if(-1!=e.indexOf("<tr")){a(inlineEditUpload.what+d).remove();a("#edit-"+d).before(e).remove();a(inlineEditUpload.what+d).hide().fadeIn()}else{e=e.replace(/<.[^<>]*?>/g,"");a("#edit-"+d+" .inline-edit-save .error").html(e).show()}}else{a("#edit-"+d+" .inline-edit-save .error").html(mla_inline_edit_upload_vars.error).show()}},"html");return false},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){a("table.widefat .inline-edit-save .waiting").hide();if("bulk-edit"==b){a("table.widefat #bulk-edit").removeClass("inline-editor").hide();a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if(mla_inline_edit_upload_vars.useSpinnerClass){a("table.widefat .spinner").removeClass("is-active")}else{a("table.widefat .spinner").hide()}a("#"+b).remove();b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}return false},getId:function(c){var d=a(c).closest("tr").attr("id"),b=d.split("-");return b[b.length-1]}};a(document).ready(function(){inlineEditUpload.init()})})(jQuery);
|
Â
|
js/mla-inline-edit-view-scripts.js
DELETED
@@ -1,217 +0,0 @@
|
|
1 |
-
// These functions are adapted from wp-admin/js/inline-edit-post.js
|
2 |
-
|
3 |
-
var ajaxurl, jQuery, inlineEditView, mla_inline_edit_view_vars;
|
4 |
-
|
5 |
-
(function($) {
|
6 |
-
inlineEditView = {
|
7 |
-
|
8 |
-
init : function(){
|
9 |
-
var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
|
10 |
-
|
11 |
-
t.type = 'view';
|
12 |
-
t.what = '#view-';
|
13 |
-
|
14 |
-
// prepare the edit rows
|
15 |
-
qeRow.keyup(function(e){
|
16 |
-
if (e.which == 27)
|
17 |
-
return inlineEditView.revert();
|
18 |
-
});
|
19 |
-
bulkRow.keyup(function(e){
|
20 |
-
if (e.which == 27)
|
21 |
-
return inlineEditView.revert();
|
22 |
-
});
|
23 |
-
|
24 |
-
$('a.cancel', qeRow).click(function(){
|
25 |
-
return inlineEditView.revert();
|
26 |
-
});
|
27 |
-
$('a.save', qeRow).click(function(){
|
28 |
-
return inlineEditView.save(this);
|
29 |
-
});
|
30 |
-
$('td', qeRow).keydown(function(e){
|
31 |
-
if ( e.which == 13 )
|
32 |
-
return inlineEditView.save(this);
|
33 |
-
});
|
34 |
-
|
35 |
-
$('a.cancel', bulkRow).click(function(){
|
36 |
-
return inlineEditView.revert();
|
37 |
-
});
|
38 |
-
|
39 |
-
// add events
|
40 |
-
$('a.editinline').live('click', function(){
|
41 |
-
inlineEditView.edit(this);
|
42 |
-
return false;
|
43 |
-
});
|
44 |
-
|
45 |
-
$('#doaction, #doaction2').click(function(e){
|
46 |
-
var n = $(this).attr('id').substr(2);
|
47 |
-
|
48 |
-
if ( $('select[name="'+n+'"]').val() == 'edit' ) {
|
49 |
-
e.preventDefault();
|
50 |
-
t.setBulk();
|
51 |
-
} else if ( $('form#posts-filter tr.inline-editor').length > 0 ) {
|
52 |
-
t.revert();
|
53 |
-
}
|
54 |
-
});
|
55 |
-
},
|
56 |
-
|
57 |
-
toggle : function(el){
|
58 |
-
var t = this;
|
59 |
-
|
60 |
-
if ( 'none' == $( t.what + t.getId( el ) ).css('display') ) {
|
61 |
-
t.revert();
|
62 |
-
} else {
|
63 |
-
t.edit( el );
|
64 |
-
}
|
65 |
-
},
|
66 |
-
|
67 |
-
setBulk : function(){
|
68 |
-
var te = '', c = true;
|
69 |
-
this.revert();
|
70 |
-
|
71 |
-
$('#bulk-edit td').attr('colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length);
|
72 |
-
$('table.widefat tbody').prepend( $('#bulk-edit') );
|
73 |
-
$('#bulk-edit').addClass('inline-editor').show();
|
74 |
-
|
75 |
-
$('tbody th.check-column input[type="checkbox"]').each(function(){
|
76 |
-
if ( $(this).prop('checked') ) {
|
77 |
-
c = false;
|
78 |
-
var id = $(this).val(), theTitle;
|
79 |
-
theTitle = $('#inline_'+id+' .slug').text() || mla_inline_edit_view_vars.notitle;
|
80 |
-
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+mla_inline_edit_view_vars.ntdeltitle+'">X</a>'+theTitle+'</div>';
|
81 |
-
}
|
82 |
-
});
|
83 |
-
|
84 |
-
if ( c )
|
85 |
-
return this.revert();
|
86 |
-
|
87 |
-
$('#bulk-titles').html(te);
|
88 |
-
$('#bulk-titles a').click(function(){
|
89 |
-
var id = $(this).attr('id').substr(1);
|
90 |
-
|
91 |
-
$('table.widefat input[value="' + id + '"]').prop('checked', false);
|
92 |
-
$('#ttle'+id).remove();
|
93 |
-
});
|
94 |
-
|
95 |
-
$('html, body').animate( { scrollTop: 0 }, 'fast' );
|
96 |
-
},
|
97 |
-
|
98 |
-
edit : function(id) {
|
99 |
-
var t = this, fields, checkboxes, editRow, rowData, fIndex;
|
100 |
-
t.revert();
|
101 |
-
|
102 |
-
if ( typeof(id) == 'object' )
|
103 |
-
id = t.getId(id);
|
104 |
-
|
105 |
-
fields = mla_inline_edit_view_vars.fields;
|
106 |
-
checkboxes = mla_inline_edit_view_vars.checkboxes;
|
107 |
-
|
108 |
-
// add the new blank row
|
109 |
-
editRow = $('#inline-edit').clone(true);
|
110 |
-
$('td', editRow).attr('colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length);
|
111 |
-
|
112 |
-
if ( $(t.what+id).hasClass('alternate') )
|
113 |
-
$(editRow).addClass('alternate');
|
114 |
-
|
115 |
-
$(t.what+id).hide().after(editRow);
|
116 |
-
|
117 |
-
// populate the data
|
118 |
-
rowData = $('#inline_'+id);
|
119 |
-
|
120 |
-
for ( fIndex = 0; fIndex < fields.length; fIndex++ ) {
|
121 |
-
$(':input[name="' + fields[fIndex] + '"]', editRow).val( $('.'+fields[fIndex], rowData).text() );
|
122 |
-
}
|
123 |
-
|
124 |
-
for ( fIndex = 0; fIndex < fields.length; fIndex++ ) {
|
125 |
-
if ( '1' == $('.'+checkboxes[fIndex], rowData).text() )
|
126 |
-
$(':input[name="' + checkboxes[fIndex] + '"]', editRow).attr( 'checked', 'checked' );
|
127 |
-
else
|
128 |
-
$(':input[name="' + checkboxes[fIndex] + '"]', editRow).removeAttr('checked');
|
129 |
-
}
|
130 |
-
|
131 |
-
$(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show();
|
132 |
-
$('.ptitle', editRow).focus(); // $('.ptitle', editRow).eq(0).focus();
|
133 |
-
|
134 |
-
return false;
|
135 |
-
},
|
136 |
-
|
137 |
-
save : function(id) {
|
138 |
-
var params, fields;
|
139 |
-
|
140 |
-
if ( typeof(id) == 'object' )
|
141 |
-
id = this.getId(id);
|
142 |
-
|
143 |
-
if ( mla_inline_edit_view_vars.useSpinnerClass ) {
|
144 |
-
$('table.widefat .spinner').addClass("is-active");
|
145 |
-
} else {
|
146 |
-
$('table.widefat .spinner').show();
|
147 |
-
}
|
148 |
-
|
149 |
-
params = {
|
150 |
-
action: mla_inline_edit_view_vars.ajax_action,
|
151 |
-
mla_admin_nonce: mla_inline_edit_view_vars.ajax_nonce,
|
152 |
-
post_ID: id
|
153 |
-
};
|
154 |
-
|
155 |
-
fields = $('#edit-'+id+' :input').serialize();
|
156 |
-
params = fields + '&' + $.param(params);
|
157 |
-
|
158 |
-
// make ajax request
|
159 |
-
$.post( ajaxurl, params,
|
160 |
-
function(r) {
|
161 |
-
if ( mla_inline_edit_view_vars.useSpinnerClass ) {
|
162 |
-
$('table.widefat .spinner').removeClass("is-active");
|
163 |
-
} else {
|
164 |
-
$('table.widefat .spinner').hide();
|
165 |
-
}
|
166 |
-
|
167 |
-
if (r) {
|
168 |
-
if ( -1 != r.indexOf('<tr') ) {
|
169 |
-
$(inlineEditView.what+id).remove();
|
170 |
-
$('#edit-'+id).before(r).remove();
|
171 |
-
$(inlineEditView.what+id).hide().fadeIn();
|
172 |
-
} else {
|
173 |
-
r = r.replace( /<.[^<>]*?>/g, '' );
|
174 |
-
$('#edit-'+id+' .inline-edit-save .error').html(r).show();
|
175 |
-
}
|
176 |
-
} else {
|
177 |
-
$('#edit-'+id+' .inline-edit-save .error').html(mla_inline_edit_view_vars.error).show();
|
178 |
-
}
|
179 |
-
}, 'html');
|
180 |
-
return false;
|
181 |
-
},
|
182 |
-
|
183 |
-
revert : function(){
|
184 |
-
var id = $('table.widefat tr.inline-editor').attr('id');
|
185 |
-
|
186 |
-
if ( id ) {
|
187 |
-
$('table.widefat .inline-edit-save .waiting').hide();
|
188 |
-
|
189 |
-
if ( 'bulk-edit' == id ) {
|
190 |
-
$('table.widefat #bulk-edit').removeClass('inline-editor').hide();
|
191 |
-
$('#bulk-titles').html('');
|
192 |
-
$('#inlineedit').append( $('#bulk-edit') );
|
193 |
-
} else {
|
194 |
-
if ( mla_inline_edit_view_vars.useSpinnerClass ) {
|
195 |
-
$('table.widefat .spinner').removeClass("is-active");
|
196 |
-
} else {
|
197 |
-
$('table.widefat .spinner').hide();
|
198 |
-
}
|
199 |
-
|
200 |
-
$('#'+id).remove();
|
201 |
-
id = id.substr( id.lastIndexOf('-') + 1 );
|
202 |
-
$(this.what+id).show();
|
203 |
-
}
|
204 |
-
}
|
205 |
-
|
206 |
-
return false;
|
207 |
-
},
|
208 |
-
|
209 |
-
getId : function(o) {
|
210 |
-
var id = $(o).closest('tr').attr('id'),
|
211 |
-
parts = id.split('-');
|
212 |
-
return parts[parts.length - 1];
|
213 |
-
}
|
214 |
-
};
|
215 |
-
|
216 |
-
$(document).ready(function(){inlineEditView.init();});
|
217 |
-
})(jQuery);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
js/mla-inline-edit-view-scripts.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var ajaxurl,jQuery,inlineEditView,mla_inline_edit_view_vars;(function(a){inlineEditView={init:function(){var c=this,d=a("#inline-edit"),b=a("#bulk-edit");c.type="view";c.what="#view-";d.keyup(function(f){if(f.which==27){return inlineEditView.revert()}});b.keyup(function(f){if(f.which==27){return inlineEditView.revert()}});a("a.cancel",d).click(function(){return inlineEditView.revert()});a("a.save",d).click(function(){return inlineEditView.save(this)});a("td",d).keydown(function(f){if(f.which==13){return inlineEditView.save(this)}});a("a.cancel",b).click(function(){return inlineEditView.revert()});a("a.editinline").live("click",function(){inlineEditView.edit(this);return false});a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();c.setBulk()}else{if(a("form#posts-filter tr.inline-editor").length>0){c.revert()}}})},toggle:function(c){var b=this;if("none"==a(b.what+b.getId(c)).css("display")){b.revert()}else{b.edit(c)}},setBulk:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);a("table.widefat tbody").prepend(a("#bulk-edit"));a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(){if(a(this).prop("checked")){d=false;var e=a(this).val(),c;c=a("#inline_"+e+" .slug").text()||mla_inline_edit_view_vars.notitle;b+='<div id="ttle'+e+'"><a id="_'+e+'" class="ntdelbutton" title="'+mla_inline_edit_view_vars.ntdeltitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("html, body").animate({scrollTop:0},"fast")},edit:function(h){var d=this,b,f,c,e,g;d.revert();if(typeof(h)=="object"){h=d.getId(h)}b=mla_inline_edit_view_vars.fields;f=mla_inline_edit_view_vars.checkboxes;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a("th:visible, td:visible",".widefat:first thead").length);if(a(d.what+h).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+h).hide().after(c);e=a("#inline_"+h);for(g=0;g<b.length;g++){a(':input[name="'+b[g]+'"]',c).val(a("."+b[g],e).text())}for(g=0;g<b.length;g++){if("1"==a("."+f[g],e).text()){a(':input[name="'+f[g]+'"]',c).attr("checked","checked")}else{a(':input[name="'+f[g]+'"]',c).removeAttr("checked")}}a(c).attr("id","edit-"+h).addClass("inline-editor").show();a(".ptitle",c).focus();return false},save:function(d){var c,b;if(typeof(d)=="object"){d=this.getId(d)}if(mla_inline_edit_view_vars.useSpinnerClass){a("table.widefat .spinner").addClass("is-active")}else{a("table.widefat .spinner").show()}c={action:mla_inline_edit_view_vars.ajax_action,mla_admin_nonce:mla_inline_edit_view_vars.ajax_nonce,post_ID:d};b=a("#edit-"+d+" :input").serialize();c=b+"&"+a.param(c);a.post(ajaxurl,c,function(e){if(mla_inline_edit_view_vars.useSpinnerClass){a("table.widefat .spinner").removeClass("is-active")}else{a("table.widefat .spinner").hide()}if(e){if(-1!=e.indexOf("<tr")){a(inlineEditView.what+d).remove();a("#edit-"+d).before(e).remove();a(inlineEditView.what+d).hide().fadeIn()}else{e=e.replace(/<.[^<>]*?>/g,"");a("#edit-"+d+" .inline-edit-save .error").html(e).show()}}else{a("#edit-"+d+" .inline-edit-save .error").html(mla_inline_edit_view_vars.error).show()}},"html");return false},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){a("table.widefat .inline-edit-save .waiting").hide();if("bulk-edit"==b){a("table.widefat #bulk-edit").removeClass("inline-editor").hide();a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{if(mla_inline_edit_view_vars.useSpinnerClass){a("table.widefat .spinner").removeClass("is-active")}else{a("table.widefat .spinner").hide()}a("#"+b).remove();b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}return false},getId:function(c){var d=a(c).closest("tr").attr("id"),b=d.split("-");return b[b.length-1]}};a(document).ready(function(){inlineEditView.init()})})(jQuery);
|
Â
|
js/mla-inline-mapping-scripts.js
CHANGED
@@ -6,6 +6,7 @@ var jQuery,
|
|
6 |
Â
// Properties
|
7 |
Â
settings: {},
|
8 |
Â
bulkMap: {
|
Â
|
|
9 |
Â
inProcess: false,
|
10 |
Â
doCancel: false
|
11 |
Â
},
|
@@ -79,15 +80,63 @@ var jQuery,
|
|
79 |
Â
return mla.inlineMapAttachment.revert();
|
80 |
Â
});
|
81 |
Â
|
82 |
-
// add event handler to the
|
83 |
Â
$( 'input[type="submit"].mla-mapping' ).click(function( e ){
|
84 |
Â
e.preventDefault();
|
85 |
Â
return mla.inlineMapAttachment.bulkMap( e.target.name, 0 );
|
86 |
Â
});
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
87 |
Â
},
|
88 |
Â
|
89 |
Â
bulkMap : function( action, initialOffset ) {
|
90 |
-
var oldComplete = 0, oldUnchanged = 0, oldSuccess = 0, oldSkip = 0, oldRedone = 0;
|
91 |
Â
|
92 |
Â
initialOffset = +initialOffset;
|
93 |
Â
|
@@ -108,7 +157,9 @@ var jQuery,
|
|
108 |
Â
}
|
109 |
Â
}
|
110 |
Â
|
Â
|
|
111 |
Â
mla.bulkMap = {
|
Â
|
|
112 |
Â
inProcess: false,
|
113 |
Â
doCancel: false,
|
114 |
Â
chunkSize: +mla.settings.bulkChunkSize,
|
@@ -172,6 +223,7 @@ var jQuery,
|
|
172 |
Â
action: mla.settings.ajax_action,
|
173 |
Â
mla_admin_nonce: mla.settings.ajax_nonce,
|
174 |
Â
bulk_action: mla.bulkMap.targetName,
|
Â
|
|
175 |
Â
offset: mla.bulkMap.complete,
|
176 |
Â
length: chunk
|
177 |
Â
};
|
6 |
Â
// Properties
|
7 |
Â
settings: {},
|
8 |
Â
bulkMap: {
|
9 |
+
ids: [],
|
10 |
Â
inProcess: false,
|
11 |
Â
doCancel: false
|
12 |
Â
},
|
80 |
Â
return mla.inlineMapAttachment.revert();
|
81 |
Â
});
|
82 |
Â
|
83 |
+
// add event handler to the Execute All Rules
|
84 |
Â
$( 'input[type="submit"].mla-mapping' ).click(function( e ){
|
85 |
Â
e.preventDefault();
|
86 |
Â
return mla.inlineMapAttachment.bulkMap( e.target.name, 0 );
|
87 |
Â
});
|
88 |
+
|
89 |
+
// add event handler to the Bulk Actions Apply (top)
|
90 |
+
$( 'input[type="submit"]#doaction' ).click(function( e ){
|
91 |
+
var action = $( '#bulk-action-selector-top' ).val(), ids;
|
92 |
+
//console.log( 'Bulk Actions Apply (top) ', e.target.id, ' ', action );
|
93 |
+
if ( 'execute' !== action ) {
|
94 |
+
return true;
|
95 |
+
}
|
96 |
+
|
97 |
+
ids = $('tbody th.check-column input[type="checkbox"]').serializeArray();
|
98 |
+
if ( 0 === ids.length ) {
|
99 |
+
return true;
|
100 |
+
}
|
101 |
+
|
102 |
+
$.each( ids, function( index, id ) {
|
103 |
+
mla.bulkMap.ids[ index ] = +id.value;
|
104 |
+
});
|
105 |
+
//console.log( JSON.stringify( mla.bulkMap ) );
|
106 |
+
|
107 |
+
e.preventDefault();
|
108 |
+
return mla.inlineMapAttachment.bulkMap( 'custom-field-options-bulk-execute', 0 );
|
109 |
+
});
|
110 |
+
|
111 |
+
// add event handler to the Bulk Actions Apply (bottom)
|
112 |
+
$( 'input[type="submit"]#doaction2' ).click(function( e ){
|
113 |
+
var action = $( '#bulk-action-selector-bottom' ).val(), ids;
|
114 |
+
if ( 'execute' !== action ) {
|
115 |
+
return true;
|
116 |
+
}
|
117 |
+
|
118 |
+
ids = $('tbody th.check-column input[type="checkbox"]').serializeArray();
|
119 |
+
if ( 0 === ids.length ) {
|
120 |
+
return true;
|
121 |
+
}
|
122 |
+
|
123 |
+
$.each( ids, function( index, id ) {
|
124 |
+
mla.bulkMap.ids[ index ] = +id.value;
|
125 |
+
});
|
126 |
+
|
127 |
+
e.preventDefault();
|
128 |
+
return mla.inlineMapAttachment.bulkMap( 'custom-field-options-bulk-execute', 0 );
|
129 |
+
});
|
130 |
+
|
131 |
+
// add event handler to the Execute rollover links
|
132 |
+
$( 'a.execute' ).click(function( e ){
|
133 |
+
e.preventDefault();
|
134 |
+
return mla.inlineMapAttachment.bulkMap( e.target.id, 0 );
|
135 |
+
});
|
136 |
Â
},
|
137 |
Â
|
138 |
Â
bulkMap : function( action, initialOffset ) {
|
139 |
+
var oldComplete = 0, oldUnchanged = 0, oldSuccess = 0, oldSkip = 0, oldRedone = 0, bulk_ids = [];
|
140 |
Â
|
141 |
Â
initialOffset = +initialOffset;
|
142 |
Â
|
157 |
Â
}
|
158 |
Â
}
|
159 |
Â
|
160 |
+
bulk_ids = typeof mla.bulkMap.ids === 'undefined' ? [] : mla.bulkMap.ids;
|
161 |
Â
mla.bulkMap = {
|
162 |
+
ids: bulk_ids,
|
163 |
Â
inProcess: false,
|
164 |
Â
doCancel: false,
|
165 |
Â
chunkSize: +mla.settings.bulkChunkSize,
|
223 |
Â
action: mla.settings.ajax_action,
|
224 |
Â
mla_admin_nonce: mla.settings.ajax_nonce,
|
225 |
Â
bulk_action: mla.bulkMap.targetName,
|
226 |
+
ids: mla.bulkMap.ids,
|
227 |
Â
offset: mla.bulkMap.complete,
|
228 |
Â
length: chunk
|
229 |
Â
};
|
js/mla-inline-mapping-scripts.min.js
CHANGED
@@ -1,325 +1 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
var jQuery,
|
4 |
-
mla_inline_mapping_vars,
|
5 |
-
mla = {
|
6 |
-
// Properties
|
7 |
-
settings: {},
|
8 |
-
bulkMap: {
|
9 |
-
inProcess: false,
|
10 |
-
doCancel: false
|
11 |
-
},
|
12 |
-
|
13 |
-
// Utility functions
|
14 |
-
utility: {
|
15 |
-
},
|
16 |
-
|
17 |
-
// Components
|
18 |
-
inlineMapAttachment: null
|
19 |
-
};
|
20 |
-
|
21 |
-
( function( $ ) {
|
22 |
-
/**
|
23 |
-
* Localized settings and strings
|
24 |
-
*/
|
25 |
-
mla.settings = typeof mla_inline_mapping_vars === 'undefined' ? {} : mla_inline_mapping_vars;
|
26 |
-
mla_inline_mapping_vars = void 0; // delete won't work on Globals
|
27 |
-
|
28 |
-
mla.inlineMapAttachment = {
|
29 |
-
init : function(){
|
30 |
-
var progressDiv = $( '#mla-progress-div' );
|
31 |
-
|
32 |
-
$('#mla-progress-pause', progressDiv).off( 'click' );
|
33 |
-
$('#mla-progress-pause', progressDiv).click( function(){
|
34 |
-
if ( mla.bulkMap.inProcess ) {
|
35 |
-
mla.bulkMap.doCancel = true;
|
36 |
-
return false;
|
37 |
-
} else {
|
38 |
-
return mla.inlineMapAttachment.revert();
|
39 |
-
}
|
40 |
-
});
|
41 |
-
|
42 |
-
$('#mla-progress-cancel', progressDiv).off( 'click' );
|
43 |
-
$('#mla-progress-cancel', progressDiv).click( function(){
|
44 |
-
return mla.inlineMapAttachment.revert();
|
45 |
-
});
|
46 |
-
|
47 |
-
$('#mla-progress-resume', progressDiv).off( 'click' );
|
48 |
-
$('#mla-progress-resume', progressDiv).click( function(){
|
49 |
-
var totalItems = +mla.settings.totalItems, newOffset = + $( '#mla-progress-offset' ).val();
|
50 |
-
|
51 |
-
if ( totalItems < newOffset ) {
|
52 |
-
newOffset = totalItems;
|
53 |
-
} else {
|
54 |
-
if ( 0 > newOffset ) {
|
55 |
-
newOffset = 0;
|
56 |
-
}
|
57 |
-
}
|
58 |
-
|
59 |
-
if ( mla.bulkMap.inProcess ) {
|
60 |
-
mla.bulkMap.doCancel = true;
|
61 |
-
return false;
|
62 |
-
} else {
|
63 |
-
return mla.inlineMapAttachment.bulkMap( mla.bulkMap.targetName, newOffset );
|
64 |
-
}
|
65 |
-
});
|
66 |
-
|
67 |
-
// Clicking "Refresh" submits the form, refreshing the page
|
68 |
-
$( '#mla-progress-refresh', progressDiv ).off( 'click' );
|
69 |
-
$( '#mla-progress-refresh', progressDiv ).click( function(){
|
70 |
-
$( '#mla-progress-refresh' ).prop( 'disabled', true ).css( 'opacity', '0.5' );
|
71 |
-
});
|
72 |
-
|
73 |
-
$('#mla-progress-close', progressDiv).off( 'click' );
|
74 |
-
$('#mla-progress-close', progressDiv).click( function( e ){
|
75 |
-
if ( mla.bulkMap.inProcess ) {
|
76 |
-
return false;
|
77 |
-
}
|
78 |
-
|
79 |
-
return mla.inlineMapAttachment.revert();
|
80 |
-
});
|
81 |
-
|
82 |
-
// add event handler to the Map All links
|
83 |
-
$( 'input[type="submit"].mla-mapping' ).click(function( e ){
|
84 |
-
e.preventDefault();
|
85 |
-
return mla.inlineMapAttachment.bulkMap( e.target.name, 0 );
|
86 |
-
});
|
87 |
-
},
|
88 |
-
|
89 |
-
bulkMap : function( action, initialOffset ) {
|
90 |
-
var oldComplete = 0, oldUnchanged = 0, oldSuccess = 0, oldSkip = 0, oldRedone = 0;
|
91 |
-
|
92 |
-
initialOffset = +initialOffset;
|
93 |
-
|
94 |
-
if ( 0 < initialOffset ) {
|
95 |
-
oldComplete = typeof mla.bulkMap.complete === 'undefined' ? 0 : mla.bulkMap.complete;
|
96 |
-
oldUnchanged = typeof mla.bulkMap.unchanged === 'undefined' ? 0 : mla.bulkMap.unchanged;
|
97 |
-
oldSuccess = typeof mla.bulkMap.success === 'undefined' ? 0 : mla.bulkMap.success;
|
98 |
-
oldSkip = typeof mla.bulkMap.skip === 'undefined' ? 0 : mla.bulkMap.skip;
|
99 |
-
oldRedone = typeof mla.bulkMap.redone === 'undefined' ? 0 : mla.bulkMap.redone;
|
100 |
-
}
|
101 |
-
|
102 |
-
// See if we're skipping or re-processing any items
|
103 |
-
if ( oldComplete < initialOffset ) {
|
104 |
-
oldSkip += initialOffset - oldComplete;
|
105 |
-
} else {
|
106 |
-
if ( oldComplete > initialOffset ) {
|
107 |
-
oldRedone += oldComplete - initialOffset;
|
108 |
-
}
|
109 |
-
}
|
110 |
-
|
111 |
-
mla.bulkMap = {
|
112 |
-
inProcess: false,
|
113 |
-
doCancel: false,
|
114 |
-
chunkSize: +mla.settings.bulkChunkSize,
|
115 |
-
targetName: action,
|
116 |
-
fields: $( mla.settings.fieldsId + ' :input').serialize(),
|
117 |
-
offset: initialOffset,
|
118 |
-
waiting: mla.settings.totalItems - initialOffset,
|
119 |
-
running: 0,
|
120 |
-
complete: initialOffset,
|
121 |
-
unchanged: oldUnchanged,
|
122 |
-
success: oldSuccess,
|
123 |
-
skip: oldSkip,
|
124 |
-
redone: oldRedone,
|
125 |
-
refresh: false
|
126 |
-
};
|
127 |
-
|
128 |
-
mla.inlineMapAttachment.progressOpen();
|
129 |
-
mla.inlineMapAttachment.bulkPost();
|
130 |
-
return false;
|
131 |
-
},
|
132 |
-
|
133 |
-
progressOpen : function(){
|
134 |
-
this.revert();
|
135 |
-
|
136 |
-
$( '#mla-progress-meter' ).css( 'width', '0%' );
|
137 |
-
$( '#mla-progress-meter' ).html('0%');
|
138 |
-
$( '#mla-progress-message' ).html('');
|
139 |
-
$( '#mla-progress-error' ).html('');
|
140 |
-
$( '#mla-progress-div' ).show();
|
141 |
-
|
142 |
-
// Disable "Close" until the bulk mapping is complete
|
143 |
-
$( '#mla-progress-pause' ).prop( 'disabled', false ).css( 'opacity', '1.0' ).show();
|
144 |
-
$( '#mla-progress-cancel' ).hide();
|
145 |
-
$( '#mla-progress-resume' ).hide();
|
146 |
-
$( '#mla-progress-offset' ).hide();
|
147 |
-
$( '#mla-progress-refresh' ).hide();
|
148 |
-
$( '#mla-progress-close' ).prop( 'disabled', true ).css( 'opacity', '0.5' ).show();
|
149 |
-
$( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
|
150 |
-
},
|
151 |
-
|
152 |
-
bulkPost : function() {
|
153 |
-
var params, chunk, statusMessage = '',
|
154 |
-
spinner = $('#mla-progress-div p.inline-edit-save .spinner'),
|
155 |
-
message = $( '#mla-progress-message' ),
|
156 |
-
error = $( '#mla-progress-error' );
|
157 |
-
|
158 |
-
// Find the number of items to process
|
159 |
-
if ( mla.bulkMap.waiting < mla.bulkMap.chunkSize ) {
|
160 |
-
chunk = mla.bulkMap.waiting;
|
161 |
-
} else {
|
162 |
-
chunk = mla.bulkMap.chunkSize;
|
163 |
-
}
|
164 |
-
|
165 |
-
mla.bulkMap.waiting -= chunk;
|
166 |
-
mla.bulkMap.running = chunk;
|
167 |
-
|
168 |
-
params = {
|
169 |
-
page: mla.settings.page,
|
170 |
-
mla_tab: mla.settings.mla_tab,
|
171 |
-
screen: mla.settings.screen,
|
172 |
-
action: mla.settings.ajax_action,
|
173 |
-
mla_admin_nonce: mla.settings.ajax_nonce,
|
174 |
-
bulk_action: mla.bulkMap.targetName,
|
175 |
-
offset: mla.bulkMap.complete,
|
176 |
-
length: chunk
|
177 |
-
};
|
178 |
-
|
179 |
-
params = $.param( params ) + '&' + mla.bulkMap.fields;
|
180 |
-
|
181 |
-
// make ajax request
|
182 |
-
mla.bulkMap.inProcess = true;
|
183 |
-
|
184 |
-
percentComplete = Math.floor( ( 100 * mla.bulkMap.complete ) / mla.settings.totalItems ) + '%';
|
185 |
-
$( '#mla-progress-meter' ).css( 'width', percentComplete );
|
186 |
-
$( '#mla-progress-meter' ).html( percentComplete );
|
187 |
-
|
188 |
-
if ( 0 < mla.bulkMap.skip ) {
|
189 |
-
statusMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
|
190 |
-
}
|
191 |
-
|
192 |
-
if ( 0 < mla.bulkMap.redone ) {
|
193 |
-
statusMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
|
194 |
-
}
|
195 |
-
|
196 |
-
if ( mla.settings.useSpinnerClass ) {
|
197 |
-
spinner.addClass("is-active");
|
198 |
-
} else {
|
199 |
-
spinner.show();
|
200 |
-
}
|
201 |
-
|
202 |
-
statusMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
|
203 |
-
+ ', ' + mla.settings.bulkRunning + ': ' + mla.bulkMap.running
|
204 |
-
+ ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
|
205 |
-
+ statusMessage // skip and redone
|
206 |
-
+ ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
|
207 |
-
+ ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
|
208 |
-
message.html( statusMessage ).show();
|
209 |
-
|
210 |
-
$.ajax( ajaxurl, {
|
211 |
-
type: 'POST',
|
212 |
-
data: params,
|
213 |
-
dataType: 'json'
|
214 |
-
}).always( function() {
|
215 |
-
if ( mla.settings.useSpinnerClass ) {
|
216 |
-
spinner.removeClass("is-active");
|
217 |
-
} else {
|
218 |
-
spinner.hide();
|
219 |
-
}
|
220 |
-
}).done( function( response, status ) {
|
221 |
-
var responseData = 'no response.data', responseMessage = '';
|
222 |
-
|
223 |
-
if ( response ) {
|
224 |
-
if ( ! response.success ) {
|
225 |
-
if ( response.responseData ) {
|
226 |
-
responseData = response.data;
|
227 |
-
}
|
228 |
-
|
229 |
-
error.html( JSON.stringify( response ) );
|
230 |
-
mla.bulkMap.waiting = 0; // Stop
|
231 |
-
} else {
|
232 |
-
if ( 0 == response.data.processed ) {
|
233 |
-
// Something went wrong; we're done
|
234 |
-
responseMessage = response.data.message;
|
235 |
-
mla.bulkMap.waiting = 0; // Stop
|
236 |
-
} else {
|
237 |
-
// Move the items from Running to Complete
|
238 |
-
mla.bulkMap.complete += response.data.processed;
|
239 |
-
mla.bulkMap.running = 0;
|
240 |
-
mla.bulkMap.unchanged += response.data.unchanged;
|
241 |
-
mla.bulkMap.success += response.data.success;
|
242 |
-
|
243 |
-
if ( 'undefined' !== typeof response.data.refresh ) {
|
244 |
-
mla.bulkMap.refresh = response.data.refresh;
|
245 |
-
}
|
246 |
-
|
247 |
-
percentComplete = Math.floor( ( 100 * mla.bulkMap.complete ) / mla.settings.totalItems ) + '%';
|
248 |
-
$( '#mla-progress-meter' ).css( 'width', percentComplete );
|
249 |
-
$( '#mla-progress-meter' ).html( percentComplete );
|
250 |
-
|
251 |
-
if ( 0 < mla.bulkMap.skip ) {
|
252 |
-
responseMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
|
253 |
-
}
|
254 |
-
|
255 |
-
if ( 0 < mla.bulkMap.redone ) {
|
256 |
-
responseMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
|
257 |
-
}
|
258 |
-
|
259 |
-
responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
|
260 |
-
+ ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
|
261 |
-
+ responseMessage // skip and redone
|
262 |
-
+ ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
|
263 |
-
+ ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
|
264 |
-
}
|
265 |
-
message.html( responseMessage ).show();
|
266 |
-
}
|
267 |
-
} else {
|
268 |
-
error.html( mla.settings.error );
|
269 |
-
mla.bulkMap.waiting = 0; // Stop
|
270 |
-
}
|
271 |
-
|
272 |
-
if ( mla.bulkMap.doCancel ) {
|
273 |
-
message.html( mla.settings.bulkPaused + '. ' + responseMessage ).show();
|
274 |
-
$( '#mla-progress-pause' ).hide();
|
275 |
-
$( '#mla-progress-cancel' ).show();
|
276 |
-
$( '#mla-progress-resume' ).show();
|
277 |
-
$( '#mla-progress-offset' ).val( mla.bulkMap.complete ).show();
|
278 |
-
} else {
|
279 |
-
if ( mla.bulkMap.waiting ) {
|
280 |
-
mla.inlineMapAttachment.bulkPost();
|
281 |
-
return;
|
282 |
-
}
|
283 |
-
}
|
284 |
-
|
285 |
-
if ( mla.bulkMap.refresh ) {
|
286 |
-
$( '#mla-progress-close' ).hide();
|
287 |
-
$( '#mla-progress-refresh' ).prop( 'disabled', false ).css( 'opacity', '1.0' ).show();
|
288 |
-
} else {
|
289 |
-
$( '#mla-progress-close' ).prop( 'disabled', false ).css( 'opacity', '1.0' );
|
290 |
-
}
|
291 |
-
|
292 |
-
$( '#mla-progress-pause' ).prop( 'disabled', true ).css( 'opacity', '0.5' );
|
293 |
-
mla.bulkMap.inProcess = false;
|
294 |
-
}).fail( function( jqXHR, status ) {
|
295 |
-
if ( 200 == jqXHR.status ) {
|
296 |
-
error.html( '(' + status + ') ' + jqXHR.responseText );
|
297 |
-
} else {
|
298 |
-
error.html( mla.settings.ajaxFailError + ' (' + status + '), jqXHR( ' + jqXHR.status + ', ' + jqXHR.statusText + ', ' + jqXHR.responseText + ')' );
|
299 |
-
}
|
300 |
-
});
|
301 |
-
},
|
302 |
-
|
303 |
-
revert : function(){
|
304 |
-
var progressDiv = $( '#mla-progress-div' );
|
305 |
-
|
306 |
-
if ( progressDiv ) {
|
307 |
-
if ( mla.settings.useSpinnerClass ) {
|
308 |
-
$('p.inline-edit-save .spinner', progressDiv ).removeClass("is-active");
|
309 |
-
} else {
|
310 |
-
$('p.inline-edit-save .spinner', progressDiv ).hide();
|
311 |
-
}
|
312 |
-
|
313 |
-
// Reset Div content to initial values
|
314 |
-
|
315 |
-
$( progressDiv ).hide();
|
316 |
-
}
|
317 |
-
|
318 |
-
return false;
|
319 |
-
}
|
320 |
-
}; // mla.inlineMapAttachment
|
321 |
-
|
322 |
-
$( document ).ready( function() {
|
323 |
-
mla.inlineMapAttachment.init();
|
324 |
-
});
|
325 |
-
})( jQuery );
|
1 |
+
var jQuery,mla_inline_mapping_vars,mla={settings:{},bulkMap:{ids:[],inProcess:false,doCancel:false},utility:{},inlineMapAttachment:null};(function(a){mla.settings=typeof mla_inline_mapping_vars==="undefined"?{}:mla_inline_mapping_vars;mla_inline_mapping_vars=void 0;mla.inlineMapAttachment={init:function(){var b=a("#mla-progress-div");a("#mla-progress-pause",b).off("click");a("#mla-progress-pause",b).click(function(){if(mla.bulkMap.inProcess){mla.bulkMap.doCancel=true;return false}else{return mla.inlineMapAttachment.revert()}});a("#mla-progress-cancel",b).off("click");a("#mla-progress-cancel",b).click(function(){return mla.inlineMapAttachment.revert()});a("#mla-progress-resume",b).off("click");a("#mla-progress-resume",b).click(function(){var c=+mla.settings.totalItems,d=+a("#mla-progress-offset").val();if(c<d){d=c}else{if(0>d){d=0}}if(mla.bulkMap.inProcess){mla.bulkMap.doCancel=true;return false}else{return mla.inlineMapAttachment.bulkMap(mla.bulkMap.targetName,d)}});a("#mla-progress-refresh",b).off("click");a("#mla-progress-refresh",b).click(function(){a("#mla-progress-refresh").prop("disabled",true).css("opacity","0.5")});a("#mla-progress-close",b).off("click");a("#mla-progress-close",b).click(function(c){if(mla.bulkMap.inProcess){return false}return mla.inlineMapAttachment.revert()});a('input[type="submit"].mla-mapping').click(function(c){c.preventDefault();return mla.inlineMapAttachment.bulkMap(c.target.name,0)});a('input[type="submit"]#doaction').click(function(f){var d=a("#bulk-action-selector-top").val(),c;if("execute"!==d){return true}c=a('tbody th.check-column input[type="checkbox"]').serializeArray();if(0===c.length){return true}a.each(c,function(e,g){mla.bulkMap.ids[e]=+g.value});f.preventDefault();return mla.inlineMapAttachment.bulkMap("custom-field-options-bulk-execute",0)});a('input[type="submit"]#doaction2').click(function(f){var d=a("#bulk-action-selector-bottom").val(),c;if("execute"!==d){return true}c=a('tbody th.check-column input[type="checkbox"]').serializeArray();if(0===c.length){return true}a.each(c,function(e,g){mla.bulkMap.ids[e]=+g.value});f.preventDefault();return mla.inlineMapAttachment.bulkMap("custom-field-options-bulk-execute",0)});a("a.execute").click(function(c){c.preventDefault();return mla.inlineMapAttachment.bulkMap(c.target.id,0)})},bulkMap:function(f,c){var e=0,d=0,h=0,g=0,i=0,b=[];c=+c;if(0<c){e=typeof mla.bulkMap.complete==="undefined"?0:mla.bulkMap.complete;d=typeof mla.bulkMap.unchanged==="undefined"?0:mla.bulkMap.unchanged;h=typeof mla.bulkMap.success==="undefined"?0:mla.bulkMap.success;g=typeof mla.bulkMap.skip==="undefined"?0:mla.bulkMap.skip;i=typeof mla.bulkMap.redone==="undefined"?0:mla.bulkMap.redone}if(e<c){g+=c-e}else{if(e>c){i+=e-c}}b=typeof mla.bulkMap.ids==="undefined"?[]:mla.bulkMap.ids;mla.bulkMap={ids:b,inProcess:false,doCancel:false,chunkSize:+mla.settings.bulkChunkSize,targetName:f,fields:a(mla.settings.fieldsId+" :input").serialize(),offset:c,waiting:mla.settings.totalItems-c,running:0,complete:c,unchanged:d,success:h,skip:g,redone:i,refresh:false};mla.inlineMapAttachment.progressOpen();mla.inlineMapAttachment.bulkPost();return false},progressOpen:function(){this.revert();a("#mla-progress-meter").css("width","0%");a("#mla-progress-meter").html("0%");a("#mla-progress-message").html("");a("#mla-progress-error").html("");a("#mla-progress-div").show();a("#mla-progress-pause").prop("disabled",false).css("opacity","1.0").show();a("#mla-progress-cancel").hide();a("#mla-progress-resume").hide();a("#mla-progress-offset").hide();a("#mla-progress-refresh").hide();a("#mla-progress-close").prop("disabled",true).css("opacity","0.5").show();a("html, body").animate({scrollTop:0},"fast")},bulkPost:function(){var g,c,f="",e=a("#mla-progress-div p.inline-edit-save .spinner"),d=a("#mla-progress-message"),b=a("#mla-progress-error");if(mla.bulkMap.waiting<mla.bulkMap.chunkSize){c=mla.bulkMap.waiting}else{c=mla.bulkMap.chunkSize}mla.bulkMap.waiting-=c;mla.bulkMap.running=c;g={page:mla.settings.page,mla_tab:mla.settings.mla_tab,screen:mla.settings.screen,action:mla.settings.ajax_action,mla_admin_nonce:mla.settings.ajax_nonce,bulk_action:mla.bulkMap.targetName,ids:mla.bulkMap.ids,offset:mla.bulkMap.complete,length:c};g=a.param(g)+"&"+mla.bulkMap.fields;mla.bulkMap.inProcess=true;percentComplete=Math.floor((100*mla.bulkMap.complete)/mla.settings.totalItems)+"%";a("#mla-progress-meter").css("width",percentComplete);a("#mla-progress-meter").html(percentComplete);if(0<mla.bulkMap.skip){f+=", "+mla.settings.bulkSkip+": "+mla.bulkMap.skip}if(0<mla.bulkMap.redone){f+=", "+mla.settings.bulkRedone+": "+mla.bulkMap.redone}if(mla.settings.useSpinnerClass){e.addClass("is-active")}else{e.show()}f=mla.settings.bulkWaiting+": "+mla.bulkMap.waiting+", "+mla.settings.bulkRunning+": "+mla.bulkMap.running+", "+mla.settings.bulkComplete+": "+mla.bulkMap.complete+f+", "+mla.settings.bulkUnchanged+": "+mla.bulkMap.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkMap.success;d.html(f).show();a.ajax(ajaxurl,{type:"POST",data:g,dataType:"json"}).always(function(){if(mla.settings.useSpinnerClass){e.removeClass("is-active")}else{e.hide()}}).done(function(j,i){var k="no response.data",h="";if(j){if(!j.success){if(j.responseData){k=j.data}b.html(JSON.stringify(j));mla.bulkMap.waiting=0}else{if(0==j.data.processed){h=j.data.message;mla.bulkMap.waiting=0}else{mla.bulkMap.complete+=j.data.processed;mla.bulkMap.running=0;mla.bulkMap.unchanged+=j.data.unchanged;mla.bulkMap.success+=j.data.success;if("undefined"!==typeof j.data.refresh){mla.bulkMap.refresh=j.data.refresh}percentComplete=Math.floor((100*mla.bulkMap.complete)/mla.settings.totalItems)+"%";a("#mla-progress-meter").css("width",percentComplete);a("#mla-progress-meter").html(percentComplete);if(0<mla.bulkMap.skip){h+=", "+mla.settings.bulkSkip+": "+mla.bulkMap.skip}if(0<mla.bulkMap.redone){h+=", "+mla.settings.bulkRedone+": "+mla.bulkMap.redone}h=mla.settings.bulkWaiting+": "+mla.bulkMap.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkMap.complete+h+", "+mla.settings.bulkUnchanged+": "+mla.bulkMap.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkMap.success}d.html(h).show()}}else{b.html(mla.settings.error);mla.bulkMap.waiting=0}if(mla.bulkMap.doCancel){d.html(mla.settings.bulkPaused+". "+h).show();a("#mla-progress-pause").hide();a("#mla-progress-cancel").show();a("#mla-progress-resume").show();a("#mla-progress-offset").val(mla.bulkMap.complete).show()}else{if(mla.bulkMap.waiting){mla.inlineMapAttachment.bulkPost();return}}if(mla.bulkMap.refresh){a("#mla-progress-close").hide();a("#mla-progress-refresh").prop("disabled",false).css("opacity","1.0").show()}else{a("#mla-progress-close").prop("disabled",false).css("opacity","1.0")}a("#mla-progress-pause").prop("disabled",true).css("opacity","0.5");mla.bulkMap.inProcess=false}).fail(function(i,h){if(200==i.status){b.html("("+h+") "+i.responseText)}else{b.html(mla.settings.ajaxFailError+" ("+h+"), jqXHR( "+i.status+", "+i.statusText+", "+i.responseText+")")}})},revert:function(){var b=a("#mla-progress-div");if(b){if(mla.settings.useSpinnerClass){a("p.inline-edit-save .spinner",b).removeClass("is-active")}else{a("p.inline-edit-save .spinner",b).hide()}a(b).hide()}return false}};a(document).ready(function(){mla.inlineMapAttachment.init()})})(jQuery);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
languages/media-library-assistant-en_US - References.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Â
msgid ""
|
3 |
Â
msgstr ""
|
4 |
Â
"Project-Id-Version: Media Library Assistant\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
Â
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
Â
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
Â
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
@@ -10,7 +10,7 @@ msgstr ""
|
|
10 |
Â
"MIME-Version: 1.0\n"
|
11 |
Â
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
Â
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
Â
"X-Poedit-Basepath: ..\n"
|
15 |
Â
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
Â
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
@@ -20,252 +20,204 @@ msgstr ""
|
|
20 |
Â
"X-Poedit-SearchPath-1: tests\n"
|
21 |
Â
"X-Poedit-SearchPath-2: index.php\n"
|
22 |
Â
|
23 |
-
#. translators: Name of the plugin/theme
|
24 |
-
#: includes/backup-class-mla-admin-columns-support.php:33
|
25 |
Â
#: includes/class-mla-admin-columns-support-deprecated.php:33
|
26 |
-
#: includes/class-mla-admin-columns-support.php:
|
27 |
-
#: includes/class-mla-core-options.php:533 includes/class-mla-settings.php:
|
28 |
-
#: includes/class-mla-settings.php:
|
29 |
Â
#: index.php:48
|
30 |
Â
msgid "Media Library Assistant"
|
31 |
Â
msgstr ""
|
32 |
Â
|
33 |
-
#: includes/backup-class-mla-admin-columns-support.php:34
|
34 |
Â
#: includes/class-mla-admin-columns-support-deprecated.php:34
|
35 |
-
#: includes/class-mla-admin-columns-support.php:
|
36 |
Â
#: includes/class-mla-core-options.php:542
|
37 |
Â
msgid "Assistant"
|
38 |
Â
msgstr ""
|
39 |
Â
|
40 |
-
|
41 |
-
#: includes/
|
42 |
-
|
43 |
-
msgctxt "error_log"
|
44 |
-
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: includes/backup-class-mla-core.php:727
|
48 |
-
#: includes/backup-class-mla-core.php:745
|
49 |
-
#: includes/backup-class-mla-core.php:1148
|
50 |
-
#: includes/backup-class-mla-core.php:1154
|
51 |
-
#: includes/backup-class-mla-core.php:1158 includes/class-mla-ajax.php:225
|
52 |
-
#: includes/class-mla-ajax.php:232 includes/class-mla-ajax.php:241
|
53 |
-
#: includes/class-mla-core.php:733 includes/class-mla-core.php:751
|
54 |
-
#: includes/class-mla-core.php:1154 includes/class-mla-core.php:1160
|
55 |
-
#: includes/class-mla-core.php:1164 includes/class-mla-data-pdf.php:216
|
56 |
-
#: includes/class-mla-data-pdf.php:517 includes/class-mla-data-pdf.php:519
|
57 |
-
#: includes/class-mla-data-pdf.php:565 includes/class-mla-data-pdf.php:749
|
58 |
-
#: includes/class-mla-data-query.php:675 includes/class-mla-data.php:50
|
59 |
-
#: includes/class-mla-data.php:109 includes/class-mla-data.php:197
|
60 |
-
#: includes/class-mla-data.php:241 includes/class-mla-data.php:344
|
61 |
-
#: includes/class-mla-data.php:500 includes/class-mla-data.php:563
|
62 |
-
#: includes/class-mla-data.php:1254 includes/class-mla-data.php:1452
|
63 |
-
#: includes/class-mla-data.php:1458 includes/class-mla-data.php:1855
|
64 |
-
#: includes/class-mla-data.php:1859 includes/class-mla-data.php:3023
|
65 |
-
#: includes/class-mla-data.php:3050 includes/class-mla-data.php:3382
|
66 |
-
#: includes/class-mla-data.php:3395 includes/class-mla-data.php:3417
|
67 |
-
#: includes/class-mla-data.php:3612 includes/class-mla-data.php:3658
|
68 |
-
#: includes/class-mla-data.php:3690 includes/class-mla-data.php:3706
|
69 |
-
#: includes/class-mla-data.php:3896 includes/class-mla-edit-media.php:316
|
70 |
-
#: includes/class-mla-edit-media.php:731 includes/class-mla-edit-media.php:771
|
71 |
-
#: includes/class-mla-file-downloader.php:57 includes/class-mla-main.php:608
|
72 |
-
#: includes/class-mla-main.php:737 includes/class-mla-main.php:1078
|
73 |
-
#: includes/class-mla-main.php:1134 includes/class-mla-main.php:1159
|
74 |
-
#: includes/class-mla-main.php:1286 includes/class-mla-main.php:1338
|
75 |
-
#: includes/class-mla-main.php:1429 includes/class-mla-main.php:1460
|
76 |
-
#: includes/class-mla-main.php:1594 includes/class-mla-main.php:1601
|
77 |
-
#: includes/class-mla-main.php:1760 includes/class-mla-main.php:1835
|
78 |
-
#: includes/class-mla-main.php:2083 includes/class-mla-main.php:2091
|
79 |
-
#: includes/class-mla-main.php:2115 includes/class-mla-main.php:2123
|
80 |
-
#: includes/class-mla-main.php:2155 includes/class-mla-main.php:2163
|
81 |
-
#: includes/class-mla-media-modal.php:575 includes/class-mla-mime-types.php:725
|
82 |
-
#: includes/class-mla-mime-types.php:1121
|
83 |
-
#: includes/class-mla-mime-types.php:1209
|
84 |
-
#: includes/class-mla-mime-types.php:1355
|
85 |
-
#: includes/class-mla-mime-types.php:1378
|
86 |
-
#: includes/class-mla-mime-types.php:2189
|
87 |
-
#: includes/class-mla-mime-types.php:2200
|
88 |
-
#: includes/class-mla-mime-types.php:2213
|
89 |
-
#: includes/class-mla-mime-types.php:2221
|
90 |
-
#: includes/class-mla-mime-types.php:2226
|
91 |
-
#: includes/class-mla-mime-types.php:2269
|
92 |
-
#: includes/class-mla-mime-types.php:2288
|
93 |
-
#: includes/class-mla-mime-types.php:2339
|
94 |
-
#: includes/class-mla-mime-types.php:2373
|
95 |
-
#: includes/class-mla-mime-types.php:2458
|
96 |
-
#: includes/class-mla-mime-types.php:2537
|
97 |
-
#: includes/class-mla-mime-types.php:2546
|
98 |
-
#: includes/class-mla-mime-types.php:2578 includes/class-mla-objects.php:241
|
99 |
-
#: includes/class-mla-options.php:219 includes/class-mla-options.php:421
|
100 |
-
#: includes/class-mla-options.php:500 includes/class-mla-options.php:1003
|
101 |
-
#: includes/class-mla-options.php:1440 includes/class-mla-options.php:1453
|
102 |
-
#: includes/class-mla-options.php:1457 includes/class-mla-options.php:2041
|
103 |
-
#: includes/class-mla-options.php:2263 includes/class-mla-options.php:2832
|
104 |
-
#: includes/class-mla-options.php:2876 includes/class-mla-options.php:2884
|
105 |
-
#: includes/class-mla-options.php:2901 includes/class-mla-options.php:2911
|
106 |
-
#: includes/class-mla-options.php:2921 includes/class-mla-options.php:2929
|
107 |
-
#: includes/class-mla-options.php:2933
|
108 |
-
#: includes/class-mla-settings-custom-fields-tab.php:146
|
109 |
-
#: includes/class-mla-settings-custom-fields-tab.php:250
|
110 |
-
#: includes/class-mla-settings-custom-fields-tab.php:279
|
111 |
-
#: includes/class-mla-settings-custom-fields-tab.php:421
|
112 |
-
#: includes/class-mla-settings-documentation-tab.php:97
|
113 |
-
#: includes/class-mla-settings-documentation-tab.php:297
|
114 |
-
#: includes/class-mla-settings-documentation-tab.php:1301
|
115 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
116 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:220
|
117 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:310
|
118 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:424
|
119 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:447
|
120 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:607
|
121 |
-
#: includes/class-mla-settings-shortcodes-tab.php:79
|
122 |
-
#: includes/class-mla-settings-shortcodes-tab.php:90
|
123 |
-
#: includes/class-mla-settings-shortcodes-tab.php:94
|
124 |
-
#: includes/class-mla-settings-shortcodes-tab.php:112
|
125 |
-
#: includes/class-mla-settings-shortcodes-tab.php:140
|
126 |
-
#: includes/class-mla-settings-shortcodes-tab.php:207
|
127 |
-
#: includes/class-mla-settings-shortcodes-tab.php:214
|
128 |
-
#: includes/class-mla-settings-shortcodes-tab.php:218
|
129 |
-
#: includes/class-mla-settings-shortcodes-tab.php:508
|
130 |
-
#: includes/class-mla-settings-shortcodes-tab.php:1657
|
131 |
-
#: includes/class-mla-settings-upload-tab.php:300
|
132 |
-
#: includes/class-mla-settings-upload-tab.php:352
|
133 |
-
#: includes/class-mla-settings-upload-tab.php:431
|
134 |
-
#: includes/class-mla-settings-upload-tab.php:593
|
135 |
-
#: includes/class-mla-settings-upload-tab.php:604
|
136 |
-
#: includes/class-mla-settings-view-tab.php:165
|
137 |
-
#: includes/class-mla-settings-view-tab.php:197
|
138 |
-
#: includes/class-mla-settings-view-tab.php:274
|
139 |
-
#: includes/class-mla-settings-view-tab.php:432
|
140 |
-
#: includes/class-mla-settings-view-tab.php:446
|
141 |
-
#: includes/class-mla-settings.php:542 includes/class-mla-settings.php:675
|
142 |
-
#: includes/class-mla-settings.php:712 includes/class-mla-settings.php:852
|
143 |
-
#: includes/class-mla-settings.php:1266 includes/class-mla-settings.php:1317
|
144 |
-
#: includes/class-mla-settings.php:1403 includes/class-mla-settings.php:1436
|
145 |
-
#: includes/class-mla-settings.php:1439 includes/class-mla-settings.php:1443
|
146 |
-
#: includes/class-mla-settings.php:1732 includes/class-mla-settings.php:1736
|
147 |
-
#: includes/class-mla-settings.php:1747 includes/class-mla-settings.php:1754
|
148 |
-
#: includes/class-mla-settings.php:1763 includes/class-mla-settings.php:1800
|
149 |
-
#: includes/class-mla-settings.php:1808 includes/class-mla-settings.php:1817
|
150 |
-
#: includes/class-mla-shortcode-support.php:2003
|
151 |
-
#: includes/class-mla-shortcode-support.php:2094
|
152 |
-
#: includes/class-mla-shortcode-support.php:3363
|
153 |
-
#: includes/class-mla-shortcode-support.php:3456
|
154 |
-
#: includes/class-mla-shortcode-support.php:3488
|
155 |
-
#: includes/class-mla-shortcode-support.php:4455
|
156 |
-
#: includes/class-mla-shortcode-support.php:4813
|
157 |
-
#: includes/class-mla-shortcode-support.php:4844
|
158 |
-
#: includes/class-mla-thumbnail-generation.php:329
|
159 |
-
#: includes/class-mla-thumbnail-generation.php:343
|
160 |
-
#: includes/class-mla-thumbnail-generation.php:355
|
161 |
-
#: includes/class-mla-thumbnail-generation.php:399
|
162 |
-
msgid "ERROR"
|
163 |
-
msgstr ""
|
164 |
-
|
165 |
-
#. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
|
166 |
-
#: includes/backup-class-mla-core.php:745 includes/class-mla-core.php:751
|
167 |
-
#, php-format
|
168 |
-
msgctxt "error_log"
|
169 |
-
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
170 |
-
msgstr ""
|
171 |
-
|
172 |
-
#. translators: 1: ERROR tag 2: raw_mime_type
|
173 |
-
#: includes/backup-class-mla-core.php:1148 includes/class-mla-core.php:1154
|
174 |
-
#, php-format
|
175 |
-
msgid "%1$s: Bad specification part \"%2$s\""
|
176 |
-
msgstr ""
|
177 |
-
|
178 |
-
#. translators: 1: ERROR tag 2: option, e.g., any, match, null
|
179 |
-
#: includes/backup-class-mla-core.php:1154 includes/class-mla-core.php:1160
|
180 |
-
#, php-format
|
181 |
-
msgid "%1$s: Bad specification option \"%2$s\""
|
182 |
-
msgstr ""
|
183 |
-
|
184 |
-
#. translators: 1: ERROR tag 2: prefix, e.g., custom
|
185 |
-
#: includes/backup-class-mla-core.php:1158 includes/class-mla-core.php:1164
|
186 |
-
#, php-format
|
187 |
-
msgid "%1$s: Bad specification prefix \"%2$s\""
|
188 |
-
msgstr ""
|
189 |
-
|
190 |
-
#: includes/backup-class-mla-core.php:1258 includes/class-mla-core.php:1264
|
191 |
-
msgid "Most Used"
|
192 |
-
msgstr ""
|
193 |
-
|
194 |
-
#. translators: %s: add new taxonomy label
|
195 |
-
#: includes/backup-class-mla-core.php:1287 includes/class-mla-core.php:1293
|
196 |
-
#, php-format
|
197 |
-
msgid "+ %s"
|
198 |
-
msgstr ""
|
199 |
-
|
200 |
-
#: includes/backup-class-mla-core.php:1293 includes/class-mla-core.php:1299
|
201 |
-
#: includes/class-mla-main.php:1766 includes/class-mla-media-modal.php:605
|
202 |
-
#: includes/mla-media-modal-js-template.php:28
|
203 |
-
#: includes/mla-media-modal-js-template.php:75
|
204 |
-
msgid "Search"
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: includes/class-mla-ajax.php:167 includes/class-mla-core-options.php:1120
|
208 |
-
#: includes/class-mla-data.php:3635 includes/class-mla-edit-media.php:426
|
209 |
-
#: includes/class-mla-main.php:1774 includes/class-mla-main.php:1964
|
210 |
Â
#: includes/class-mla-objects.php:318 includes/class-mla-options.php:451
|
211 |
-
#: includes/mla-main-search-box-template.php:
|
212 |
Â
#: includes/mla-media-modal-js-template.php:40
|
213 |
Â
msgid "Title"
|
214 |
Â
msgstr ""
|
215 |
Â
|
216 |
-
#: includes/class-mla-ajax.php:
|
217 |
-
#: includes/class-mla-thumbnail-generation.php:
|
218 |
Â
msgid "Type"
|
219 |
Â
msgstr ""
|
220 |
Â
|
221 |
-
#: includes/class-mla-ajax.php:
|
222 |
Â
msgid "Date"
|
223 |
Â
msgstr ""
|
224 |
Â
|
225 |
-
#: includes/class-mla-ajax.php:
|
226 |
-
#: includes/class-mla-settings-
|
Â
|
|
Â
|
|
227 |
Â
msgid "Status"
|
228 |
Â
msgstr ""
|
229 |
Â
|
230 |
-
#: includes/class-mla-ajax.php:
|
231 |
-
#: includes/class-mla-list-table.php:
|
232 |
-
#: includes/class-mla-polylang-support.php:
|
233 |
Â
#: includes/class-mla-thumbnail-generation.php:97
|
234 |
Â
msgid "(no title)"
|
235 |
Â
msgstr ""
|
236 |
Â
|
237 |
-
#: includes/class-mla-ajax.php:
|
238 |
Â
msgid "Published"
|
239 |
Â
msgstr ""
|
240 |
Â
|
241 |
-
#: includes/class-mla-ajax.php:
|
242 |
-
#: includes/class-mla-list-table.php:
|
243 |
Â
msgid "Scheduled"
|
244 |
Â
msgstr ""
|
245 |
Â
|
246 |
-
#: includes/class-mla-ajax.php:
|
247 |
Â
msgid "Pending Review"
|
248 |
Â
msgstr ""
|
249 |
Â
|
250 |
-
#: includes/class-mla-ajax.php:
|
251 |
-
#: includes/class-mla-list-table.php:
|
252 |
Â
msgid "Draft"
|
253 |
Â
msgstr ""
|
254 |
Â
|
255 |
-
|
256 |
-
|
257 |
-
#: includes/class-mla-
|
258 |
-
#: includes/class-mla-list-table.php:1403
|
259 |
-
#: includes/class-mla-list-table.php:1467
|
260 |
Â
msgid "Y/m/d"
|
261 |
Â
msgstr ""
|
262 |
Â
|
263 |
-
#: includes/class-mla-ajax.php:
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
264 |
Â
msgid "No post ID found"
|
265 |
Â
msgstr ""
|
266 |
Â
|
267 |
-
#: includes/class-mla-ajax.php:
|
268 |
-
#: includes/class-mla-polylang-support.php:
|
269 |
Â
msgid "You are not allowed to edit this Attachment."
|
270 |
Â
msgstr ""
|
271 |
Â
|
@@ -285,7 +237,7 @@ msgstr ""
|
|
285 |
Â
msgid "Check this option to add support for Attachment Tags."
|
286 |
Â
msgstr ""
|
287 |
Â
|
288 |
-
#: includes/class-mla-core-options.php:404 includes/class-mla-settings.php:
|
289 |
Â
msgid "Where-used Reporting"
|
290 |
Â
msgstr ""
|
291 |
Â
|
@@ -315,10 +267,10 @@ msgstr ""
|
|
315 |
Â
#: includes/class-mla-core-options.php:437
|
316 |
Â
#: includes/class-mla-core-options.php:447
|
317 |
Â
#: includes/class-mla-core-options.php:457
|
318 |
-
#: includes/class-mla-list-table.php:
|
319 |
-
#: includes/class-mla-list-table.php:
|
320 |
-
#: includes/class-mla-list-table.php:
|
321 |
-
#: includes/class-mla-list-table.php:
|
322 |
Â
msgid "Disabled"
|
323 |
Â
msgstr ""
|
324 |
Â
|
@@ -344,7 +296,7 @@ msgstr ""
|
|
344 |
Â
|
345 |
Â
#: includes/class-mla-core-options.php:442
|
346 |
Â
#: includes/class-mla-edit-media.php:674 includes/class-mla-edit-media.php:990
|
347 |
-
#: includes/class-mla-settings.php:
|
348 |
Â
msgid "Gallery in"
|
349 |
Â
msgstr ""
|
350 |
Â
|
@@ -354,8 +306,8 @@ msgid "Dynamic"
|
|
354 |
Â
msgstr ""
|
355 |
Â
|
356 |
Â
#: includes/class-mla-core-options.php:447
|
357 |
-
#: includes/class-mla-core-options.php:457 includes/class-mla-main.php:
|
358 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
359 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:462
|
360 |
Â
msgid "Refresh"
|
361 |
Â
msgstr ""
|
@@ -374,7 +326,7 @@ msgstr ""
|
|
374 |
Â
|
375 |
Â
#: includes/class-mla-core-options.php:452
|
376 |
Â
#: includes/class-mla-edit-media.php:678 includes/class-mla-edit-media.php:1025
|
377 |
-
#: includes/class-mla-settings.php:
|
378 |
Â
msgid "MLA Gallery in"
|
379 |
Â
msgstr ""
|
380 |
Â
|
@@ -386,7 +338,7 @@ msgid ""
|
|
386 |
Â
"Cached."
|
387 |
Â
msgstr ""
|
388 |
Â
|
389 |
-
#: includes/class-mla-core-options.php:462 includes/class-mla-settings.php:
|
390 |
Â
msgid "Taxonomy Support"
|
391 |
Â
msgstr ""
|
392 |
Â
|
@@ -429,14 +381,14 @@ msgid ""
|
|
429 |
Â
msgstr ""
|
430 |
Â
|
431 |
Â
#: includes/class-mla-core-options.php:486
|
432 |
-
#: includes/class-mla-core-options.php:693 includes/class-mla-settings.php:
|
433 |
-
#: includes/class-mla-settings.php:
|
434 |
Â
msgid "For complete documentation"
|
435 |
Â
msgstr ""
|
436 |
Â
|
437 |
Â
#: includes/class-mla-core-options.php:486
|
438 |
-
#: includes/class-mla-core-options.php:693 includes/class-mla-settings.php:
|
439 |
-
#: includes/class-mla-settings.php:
|
440 |
Â
msgid "click here"
|
441 |
Â
msgstr ""
|
442 |
Â
|
@@ -538,8 +490,8 @@ msgstr ""
|
|
538 |
Â
#: includes/class-mla-core-options.php:811
|
539 |
Â
#: includes/class-mla-core-options.php:842
|
540 |
Â
#: includes/class-mla-core-options.php:856
|
541 |
-
#: includes/class-mla-list-table.php:
|
542 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
543 |
Â
msgid "None"
|
544 |
Â
msgstr ""
|
545 |
Â
|
@@ -811,7 +763,7 @@ msgstr ""
|
|
811 |
Â
#: includes/class-mla-core-options.php:820
|
812 |
Â
#: includes/class-mla-core-options.php:842
|
813 |
Â
#: includes/class-mla-core-options.php:856
|
814 |
-
#: includes/class-mla-core-options.php:870 includes/class-mla-settings.php:
|
815 |
Â
msgid "Media Manager Default"
|
816 |
Â
msgstr ""
|
817 |
Â
|
@@ -848,7 +800,6 @@ msgstr ""
|
|
848 |
Â
msgid "Alignment"
|
849 |
Â
msgstr ""
|
850 |
Â
|
851 |
-
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
852 |
Â
#: includes/class-mla-core-options.php:839
|
853 |
Â
#: includes/class-mla-core-options.php:853
|
854 |
Â
#: includes/class-mla-core-options.php:867
|
@@ -893,8 +844,8 @@ msgid "Size"
|
|
893 |
Â
msgstr ""
|
894 |
Â
|
895 |
Â
#: includes/class-mla-core-options.php:870
|
896 |
-
#: includes/class-mla-thumbnail-generation.php:
|
897 |
-
#: includes/class-mla-thumbnail-generation.php:
|
898 |
Â
msgid "Thumbnail"
|
899 |
Â
msgstr ""
|
900 |
Â
|
@@ -925,7 +876,7 @@ msgid ""
|
|
925 |
Â
"strong> of your settings below by clicking \""
|
926 |
Â
msgstr ""
|
927 |
Â
|
928 |
-
#: includes/class-mla-core-options.php:887 includes/class-mla-settings.php:
|
929 |
Â
msgid "Export ALL Settings"
|
930 |
Â
msgstr ""
|
931 |
Â
|
@@ -950,7 +901,6 @@ msgstr ""
|
|
950 |
Â
msgid "Style Template"
|
951 |
Â
msgstr ""
|
952 |
Â
|
953 |
-
#. translators: 1: template type 2: shortcode
|
954 |
Â
#: includes/class-mla-core-options.php:909
|
955 |
Â
#: includes/class-mla-core-options.php:919
|
956 |
Â
#: includes/class-mla-core-options.php:953
|
@@ -1080,25 +1030,14 @@ msgid "Enable custom field mapping when adding new media"
|
|
1080 |
Â
msgstr ""
|
1081 |
Â
|
1082 |
Â
#: includes/class-mla-core-options.php:1051
|
1083 |
-
|
1084 |
-
"
|
1085 |
-
"<br> Click Save Changes at the bottom of the screen if you change "
|
1086 |
-
"this option.<br> Does NOT affect the operation of the \"Map\" "
|
1087 |
-
"buttons on the bulk edit, single edit and settings screens."
|
1088 |
Â
msgstr ""
|
1089 |
Â
|
1090 |
Â
#: includes/class-mla-core-options.php:1055
|
1091 |
Â
msgid "Enable custom field mapping when updating media metadata"
|
1092 |
Â
msgstr ""
|
1093 |
Â
|
1094 |
-
#: includes/class-mla-core-options.php:1058
|
1095 |
-
#: includes/class-mla-core-options.php:1082
|
1096 |
-
msgid ""
|
1097 |
-
"Check this option to enable mapping when media (attachments) metadata is "
|
1098 |
-
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
1099 |
-
"functions are used."
|
1100 |
-
msgstr ""
|
1101 |
-
|
1102 |
Â
#: includes/class-mla-core-options.php:1062
|
1103 |
Â
msgid ""
|
1104 |
Â
"Update the custom field mapping values above, then click Save Changes to "
|
@@ -1122,6 +1061,13 @@ msgstr ""
|
|
1122 |
Â
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
1123 |
Â
msgstr ""
|
1124 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1125 |
Â
#: includes/class-mla-core-options.php:1086
|
1126 |
Â
msgid ""
|
1127 |
Â
"Update the standard field mapping values above, then click <strong>Save "
|
@@ -1152,41 +1098,41 @@ msgstr ""
|
|
1152 |
Â
msgid "IPTC/EXIF Mapping help"
|
1153 |
Â
msgstr ""
|
1154 |
Â
|
1155 |
-
#: includes/class-mla-core-options.php:1127 includes/class-mla-data.php:
|
1156 |
-
#: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:
|
1157 |
Â
msgid "Name/Slug"
|
1158 |
Â
msgstr ""
|
1159 |
Â
|
1160 |
-
#: includes/class-mla-core-options.php:1134 includes/class-mla-data.php:
|
1161 |
-
#: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:
|
1162 |
-
#: includes/class-mla-main.php:
|
1163 |
-
#: includes/mla-main-search-box-template.php:
|
1164 |
Â
#: includes/mla-media-modal-js-template.php:48
|
1165 |
Â
msgid "ALT Text"
|
1166 |
Â
msgstr ""
|
1167 |
Â
|
1168 |
-
#: includes/class-mla-core-options.php:1141 includes/class-mla-data.php:
|
1169 |
-
#: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:
|
1170 |
Â
#: includes/class-mla-options.php:460
|
1171 |
-
#: includes/mla-main-search-box-template.php:
|
1172 |
Â
#: includes/mla-media-modal-js-template.php:53
|
1173 |
Â
msgid "Caption"
|
1174 |
Â
msgstr ""
|
1175 |
Â
|
1176 |
-
#: includes/class-mla-core-options.php:1148 includes/class-mla-data.php:
|
1177 |
-
#: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:
|
1178 |
Â
#: includes/class-mla-options.php:463
|
1179 |
-
#: includes/class-mla-settings-upload-tab.php:
|
1180 |
-
#: includes/class-mla-settings-upload-tab.php:
|
1181 |
-
#: includes/class-mla-settings-view-tab.php:
|
1182 |
-
#: includes/class-mla-settings-view-tab.php:
|
1183 |
Â
#: includes/class-mla-template-support.php:74
|
1184 |
Â
#: includes/class-mla-template-support.php:92
|
1185 |
Â
#: includes/class-mla-template-support.php:110
|
1186 |
Â
#: includes/class-mla-template-support.php:130
|
1187 |
Â
#: includes/class-mla-template-support.php:178
|
1188 |
Â
#: includes/class-mla-template-support.php:226
|
1189 |
-
#: includes/mla-main-search-box-template.php:
|
1190 |
Â
#: includes/mla-media-modal-js-template.php:57
|
1191 |
Â
msgid "Description"
|
1192 |
Â
msgstr ""
|
@@ -1206,17 +1152,19 @@ msgid "Post MIME Types help."
|
|
1206 |
Â
msgstr ""
|
1207 |
Â
|
1208 |
Â
#: includes/class-mla-core-options.php:1183
|
1209 |
-
#: includes/class-mla-mime-types.php:
|
1210 |
-
#: includes/class-mla-settings-
|
1211 |
-
#: includes/class-mla-settings-
|
Â
|
|
1212 |
Â
msgctxt "table_view_singular"
|
1213 |
Â
msgid "All"
|
1214 |
Â
msgstr ""
|
1215 |
Â
|
1216 |
Â
#: includes/class-mla-core-options.php:1184
|
1217 |
-
#: includes/class-mla-mime-types.php:
|
1218 |
-
#: includes/class-mla-settings-
|
1219 |
-
#: includes/class-mla-settings-
|
Â
|
|
1220 |
Â
msgctxt "table_view_plural"
|
1221 |
Â
msgid "All"
|
1222 |
Â
msgstr ""
|
@@ -1305,7 +1253,7 @@ msgid "All application subtypes"
|
|
1305 |
Â
msgstr ""
|
1306 |
Â
|
1307 |
Â
#: includes/class-mla-core-options.php:1237
|
1308 |
-
#: includes/class-mla-list-table.php:
|
1309 |
Â
msgctxt "table_view_singular"
|
1310 |
Â
msgid "Unattached"
|
1311 |
Â
msgstr ""
|
@@ -1409,35 +1357,73 @@ msgid ""
|
|
1409 |
Â
"the existing MLA_DEBUG_LEVEL value."
|
1410 |
Â
msgstr ""
|
1411 |
Â
|
1412 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1413 |
Â
#: includes/class-mla-data-pdf.php:216
|
1414 |
Â
#, php-format
|
1415 |
Â
msgctxt "error_log"
|
1416 |
Â
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
1417 |
Â
msgstr ""
|
1418 |
Â
|
1419 |
-
#. translators: 1: ERROR tag 2: source offset 3: nest level
|
1420 |
Â
#: includes/class-mla-data-pdf.php:517
|
1421 |
Â
#, php-format
|
1422 |
Â
msgctxt "error_log"
|
1423 |
Â
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
1424 |
Â
msgstr ""
|
1425 |
Â
|
1426 |
-
#. translators: 1: ERROR tag 2: dictionary excerpt
|
1427 |
Â
#: includes/class-mla-data-pdf.php:519
|
1428 |
Â
#, php-format
|
1429 |
Â
msgctxt "error_log"
|
1430 |
Â
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
1431 |
Â
msgstr ""
|
1432 |
Â
|
1433 |
-
#. translators: 1: ERROR tag 2: entry name 3: value excerpt
|
1434 |
Â
#: includes/class-mla-data-pdf.php:565
|
1435 |
Â
#, php-format
|
1436 |
Â
msgctxt "error_log"
|
1437 |
Â
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
1438 |
Â
msgstr ""
|
1439 |
Â
|
1440 |
-
#. translators: 1: ERROR tag 2: path and file
|
1441 |
Â
#: includes/class-mla-data-pdf.php:749
|
1442 |
Â
#, php-format
|
1443 |
Â
msgctxt "error_log"
|
@@ -1460,8 +1446,9 @@ msgid "Title"
|
|
1460 |
Â
msgstr ""
|
1461 |
Â
|
1462 |
Â
#: includes/class-mla-data-query.php:297
|
1463 |
-
#: includes/class-mla-settings-
|
1464 |
-
#: includes/class-mla-settings-
|
Â
|
|
1465 |
Â
msgctxt "list_table_column"
|
1466 |
Â
msgid "Name"
|
1467 |
Â
msgstr ""
|
@@ -1506,16 +1493,16 @@ msgctxt "list_table_column"
|
|
1506 |
Â
msgid "Caption"
|
1507 |
Â
msgstr ""
|
1508 |
Â
|
1509 |
-
#: includes/class-mla-data-query.php:306 includes/class-mla-mime-types.php:
|
1510 |
-
#: includes/class-mla-mime-types.php:
|
1511 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
1512 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
1513 |
Â
msgctxt "list_table_column"
|
1514 |
Â
msgid "Description"
|
1515 |
Â
msgstr ""
|
1516 |
Â
|
1517 |
-
#: includes/class-mla-data-query.php:307 includes/class-mla-mime-types.php:
|
1518 |
-
#: includes/class-mla-mime-types.php:
|
1519 |
Â
msgctxt "list_table_column"
|
1520 |
Â
msgid "MIME Type"
|
1521 |
Â
msgstr ""
|
@@ -1550,95 +1537,86 @@ msgctxt "list_table_column"
|
|
1550 |
Â
msgid "Attached to"
|
1551 |
Â
msgstr ""
|
1552 |
Â
|
1553 |
-
#. translators: 1: ERROR tag 2: function name 3: non-array value
|
1554 |
Â
#: includes/class-mla-data-query.php:675 includes/class-mla-edit-media.php:316
|
1555 |
-
#: includes/class-mla-main.php:
|
1556 |
-
#: includes/class-mla-media-modal.php:575 includes/class-mla-mime-types.php:
|
1557 |
-
#: includes/class-mla-mime-types.php:
|
1558 |
-
#: includes/class-mla-mime-types.php:
|
1559 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
Â
|
|
1560 |
Â
#: includes/class-mla-settings-documentation-tab.php:297
|
1561 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
1562 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:447
|
1563 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:508
|
1564 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
1565 |
-
#: includes/class-mla-settings-upload-tab.php:
|
1566 |
-
#: includes/class-mla-settings-view-tab.php:
|
1567 |
Â
#, php-format
|
1568 |
Â
msgctxt "error_log"
|
1569 |
Â
msgid "%1$s: %2$s non-array \"%3$s\""
|
1570 |
Â
msgstr ""
|
1571 |
Â
|
1572 |
-
|
1573 |
-
#: includes/class-mla-data-query.php:1137
|
1574 |
Â
#, php-format
|
1575 |
Â
msgctxt "error_log"
|
1576 |
Â
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
1577 |
Â
msgstr ""
|
1578 |
Â
|
1579 |
-
#: includes/class-mla-data-query.php:
|
1580 |
-
#: includes/class-mla-data-query.php:
|
1581 |
-
#: includes/class-mla-data-query.php:
|
1582 |
-
#: includes/class-mla-data-query.php:
|
1583 |
-
#: includes/class-mla-data-query.php:
|
1584 |
-
#: includes/class-mla-data-query.php:
|
1585 |
-
#: includes/class-mla-data-query.php:
|
1586 |
-
#: includes/class-mla-data-query.php:
|
1587 |
-
#: includes/class-mla-data-query.php:
|
1588 |
Â
msgid "DEBUG"
|
1589 |
Â
msgstr ""
|
1590 |
Â
|
1591 |
-
|
1592 |
-
#: includes/class-mla-data-query.php:1152
|
1593 |
Â
#, php-format
|
1594 |
Â
msgctxt "error_log"
|
1595 |
Â
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1596 |
Â
msgstr ""
|
1597 |
Â
|
1598 |
-
|
1599 |
-
#: includes/class-mla-data-query.php:1154
|
1600 |
Â
#, php-format
|
1601 |
Â
msgctxt "error_log"
|
1602 |
Â
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1603 |
Â
msgstr ""
|
1604 |
Â
|
1605 |
-
|
1606 |
-
#: includes/class-mla-data-query.php:1676
|
1607 |
Â
#, php-format
|
1608 |
Â
msgctxt "error_log"
|
1609 |
Â
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1610 |
Â
msgstr ""
|
1611 |
Â
|
1612 |
-
|
1613 |
-
#: includes/class-mla-data-query.php:1748
|
1614 |
Â
#, php-format
|
1615 |
Â
msgctxt "error_log"
|
1616 |
Â
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1617 |
Â
msgstr ""
|
1618 |
Â
|
1619 |
-
|
1620 |
-
#: includes/class-mla-data-query.php:1820
|
1621 |
Â
#, php-format
|
1622 |
Â
msgctxt "error_log"
|
1623 |
Â
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1624 |
Â
msgstr ""
|
1625 |
Â
|
1626 |
-
|
1627 |
-
#: includes/class-mla-data-query.php:1917
|
1628 |
Â
#, php-format
|
1629 |
Â
msgctxt "error_log"
|
1630 |
Â
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1631 |
Â
msgstr ""
|
1632 |
Â
|
1633 |
-
|
1634 |
-
#: includes/class-mla-data-query.php:2009
|
1635 |
Â
#, php-format
|
1636 |
Â
msgctxt "error_log"
|
1637 |
Â
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1638 |
Â
msgstr ""
|
1639 |
Â
|
1640 |
-
|
1641 |
-
#: includes/class-mla-data-query.php:2028
|
1642 |
Â
#, php-format
|
1643 |
Â
msgctxt "error_log"
|
1644 |
Â
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
@@ -1646,7 +1624,7 @@ msgstr ""
|
|
1646 |
Â
|
1647 |
Â
#: includes/class-mla-data-references.php:321
|
1648 |
Â
#: includes/class-mla-data-references.php:664
|
1649 |
-
#: includes/class-mla-list-table.php:
|
1650 |
Â
msgid "NO REFERENCE TESTS"
|
1651 |
Â
msgstr ""
|
1652 |
Â
|
@@ -1672,13 +1650,11 @@ msgstr ""
|
|
1672 |
Â
msgid "INVALID PARENT"
|
1673 |
Â
msgstr ""
|
1674 |
Â
|
1675 |
-
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
1676 |
Â
#: includes/class-mla-data-references.php:855
|
1677 |
Â
#, php-format
|
1678 |
Â
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
1679 |
Â
msgstr ""
|
1680 |
Â
|
1681 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1682 |
Â
#: includes/class-mla-data.php:50
|
1683 |
Â
#, php-format
|
1684 |
Â
msgctxt "error_log"
|
@@ -1686,7 +1662,6 @@ msgid ""
|
|
1686 |
Â
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1687 |
Â
msgstr ""
|
1688 |
Â
|
1689 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1690 |
Â
#: includes/class-mla-data.php:109
|
1691 |
Â
#, php-format
|
1692 |
Â
msgctxt "error_log"
|
@@ -1694,14 +1669,12 @@ msgid ""
|
|
1694 |
Â
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1695 |
Â
msgstr ""
|
1696 |
Â
|
1697 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1698 |
Â
#: includes/class-mla-data.php:197
|
1699 |
Â
#, php-format
|
1700 |
Â
msgctxt "error_log"
|
1701 |
Â
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1702 |
Â
msgstr ""
|
1703 |
Â
|
1704 |
-
#. translators: 1: ERROR tag 2: template string
|
1705 |
Â
#: includes/class-mla-data.php:241
|
1706 |
Â
#, php-format
|
1707 |
Â
msgctxt "error_log"
|
@@ -1712,22 +1685,19 @@ msgstr ""
|
|
1712 |
Â
msgid "Test; no closing parenthesis "
|
1713 |
Â
msgstr ""
|
1714 |
Â
|
1715 |
-
#. translators: 1: ERROR tag 2: node type, e.g., template
|
1716 |
Â
#: includes/class-mla-data.php:500
|
1717 |
Â
#, php-format
|
1718 |
Â
msgctxt "error_log"
|
1719 |
Â
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1720 |
Â
msgstr ""
|
1721 |
Â
|
1722 |
-
#. translators: 1: ERROR tag 2: node type, e.g., template
|
1723 |
Â
#: includes/class-mla-data.php:563
|
1724 |
Â
#, php-format
|
1725 |
Â
msgctxt "error_log"
|
1726 |
Â
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1727 |
Â
msgstr ""
|
1728 |
Â
|
1729 |
-
|
1730 |
-
#: includes/class-mla-data.php:1254
|
1731 |
Â
#, php-format
|
1732 |
Â
msgctxt "error_log"
|
1733 |
Â
msgid ""
|
@@ -1735,221 +1705,209 @@ msgid ""
|
|
1735 |
Â
"\"."
|
1736 |
Â
msgstr ""
|
1737 |
Â
|
1738 |
-
|
1739 |
-
#: includes/class-mla-data.php:1452
|
1740 |
Â
#, php-format
|
1741 |
Â
msgctxt "error_log"
|
1742 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1743 |
Â
msgstr ""
|
1744 |
Â
|
1745 |
-
|
1746 |
-
#: includes/class-mla-data.php:1458
|
1747 |
Â
#, php-format
|
1748 |
Â
msgctxt "error_log"
|
1749 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1750 |
Â
msgstr ""
|
1751 |
Â
|
1752 |
-
#: includes/class-mla-data.php:
|
1753 |
Â
msgctxt "error_log"
|
1754 |
Â
msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
|
1755 |
Â
msgstr ""
|
1756 |
Â
|
1757 |
-
#: includes/class-mla-data.php:
|
1758 |
Â
msgctxt "error_log"
|
1759 |
Â
msgid "mla_parse_xmp_metadata set option failed."
|
1760 |
Â
msgstr ""
|
1761 |
Â
|
1762 |
-
#: includes/class-mla-data.php:
|
1763 |
-
#: includes/class-mla-settings-
|
1764 |
-
#: includes/class-mla-settings-
|
1765 |
-
#: includes/class-mla-settings-view-tab.php:
|
Â
|
|
Â
|
|
1766 |
Â
#: includes/class-mla-wpml-support.php:1528
|
1767 |
Â
msgid "Yes"
|
1768 |
Â
msgstr ""
|
1769 |
Â
|
1770 |
-
#: includes/class-mla-data.php:
|
1771 |
-
#: includes/class-mla-settings-
|
1772 |
-
#: includes/class-mla-settings-
|
1773 |
-
#: includes/class-mla-settings-view-tab.php:
|
Â
|
|
Â
|
|
1774 |
Â
#: includes/class-mla-wpml-support.php:1529
|
1775 |
Â
msgid "No"
|
1776 |
Â
msgstr ""
|
1777 |
Â
|
1778 |
-
|
1779 |
-
#: includes/class-mla-data.php:3379 includes/class-mla-data.php:3477
|
1780 |
Â
#, php-format
|
1781 |
Â
msgid "Deleting %1$s"
|
1782 |
Â
msgstr ""
|
1783 |
Â
|
1784 |
-
|
1785 |
-
#: includes/class-mla-data.php:3382
|
1786 |
Â
#, php-format
|
1787 |
Â
msgid "%1$s: meta:%2$s not found"
|
1788 |
Â
msgstr ""
|
1789 |
Â
|
1790 |
-
|
1791 |
-
|
1792 |
-
#. translators: 1: meta_key 2: meta_value
|
1793 |
-
#: includes/class-mla-data.php:3391 includes/class-mla-data.php:3488
|
1794 |
-
#: includes/class-mla-data.php:3500
|
1795 |
Â
#, php-format
|
1796 |
Â
msgid "Adding %1$s = %2$s"
|
1797 |
Â
msgstr ""
|
1798 |
Â
|
1799 |
-
|
1800 |
-
#: includes/class-mla-data.php:3395
|
1801 |
Â
#, php-format
|
1802 |
Â
msgid "%1$s: Adding meta:%2$s; not found"
|
1803 |
Â
msgstr ""
|
1804 |
Â
|
1805 |
-
|
1806 |
-
#: includes/class-mla-data.php:3402
|
1807 |
Â
#, php-format
|
1808 |
Â
msgid "Deleting Null meta:%1$s"
|
1809 |
Â
msgstr ""
|
1810 |
Â
|
1811 |
-
|
1812 |
-
#: includes/class-mla-data.php:
|
1813 |
-
#: includes/class-mla-data.php:
|
1814 |
-
#: includes/class-mla-data.php:
|
1815 |
-
#: includes/class-mla-data.php:
|
1816 |
-
#: includes/class-mla-data.php:
|
1817 |
-
#: includes/class-mla-
|
1818 |
-
#: includes/class-mla-mime-types.php:
|
1819 |
-
#: includes/class-mla-mime-types.php:2342
|
1820 |
Â
#, php-format
|
1821 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1822 |
Â
msgstr ""
|
1823 |
Â
|
1824 |
-
|
1825 |
-
#: includes/class-mla-data.php:3417
|
1826 |
Â
#, php-format
|
1827 |
Â
msgid "%1$s: Changing meta:%2$s; not found"
|
1828 |
Â
msgstr ""
|
1829 |
Â
|
1830 |
-
|
1831 |
-
#: includes/class-mla-data.php:3524
|
1832 |
Â
#, php-format
|
1833 |
Â
msgid "Deleting old %1$s values"
|
1834 |
Â
msgstr ""
|
1835 |
Â
|
1836 |
-
|
1837 |
-
#: includes/class-mla-data.php:3554
|
1838 |
Â
#, php-format
|
1839 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1840 |
Â
msgstr ""
|
1841 |
Â
|
1842 |
-
#: includes/class-mla-data.php:
|
1843 |
Â
msgid "Could not retrieve Attachment."
|
1844 |
Â
msgstr ""
|
1845 |
Â
|
1846 |
-
|
1847 |
-
#: includes/class-mla-data.php:3658
|
1848 |
Â
#, php-format
|
1849 |
Â
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1850 |
Â
msgstr ""
|
1851 |
Â
|
1852 |
-
|
1853 |
-
#: includes/class-mla-data.php:3687
|
1854 |
Â
#, php-format
|
1855 |
Â
msgid "Deleting ALT Text, was \"%1$s\""
|
1856 |
Â
msgstr ""
|
1857 |
Â
|
1858 |
-
|
1859 |
-
#: includes/class-mla-data.php:3690
|
1860 |
Â
#, php-format
|
1861 |
Â
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1862 |
Â
msgstr ""
|
1863 |
Â
|
1864 |
-
|
1865 |
-
#: includes/class-mla-data.php:3706
|
1866 |
Â
#, php-format
|
1867 |
Â
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1868 |
Â
msgstr ""
|
1869 |
Â
|
1870 |
-
#: includes/class-mla-data.php:
|
1871 |
-
#: includes/class-mla-list-table.php:
|
1872 |
-
#: includes/class-mla-list-table.php:
|
1873 |
-
#: includes/class-mla-options.php:
|
1874 |
Â
msgid "Parent"
|
1875 |
Â
msgstr ""
|
1876 |
Â
|
1877 |
-
#: includes/class-mla-data.php:
|
1878 |
-
#: includes/class-mla-edit-media.php:858 includes/class-mla-main.php:
|
1879 |
-
#: includes/class-mla-settings-view-tab.php:
|
1880 |
-
#: includes/class-mla-settings-view-tab.php:
|
1881 |
Â
msgid "Menu Order"
|
1882 |
Â
msgstr ""
|
1883 |
Â
|
1884 |
-
#: includes/class-mla-data.php:
|
1885 |
-
#: includes/class-mla-list-table.php:
|
1886 |
-
#: includes/class-mla-list-table.php:
|
1887 |
-
#: includes/class-mla-main.php:
|
1888 |
Â
msgid "Author"
|
1889 |
Â
msgstr ""
|
1890 |
Â
|
1891 |
-
#: includes/class-mla-data.php:
|
1892 |
-
#: includes/class-mla-main.php:
|
1893 |
Â
msgid "Comments"
|
1894 |
Â
msgstr ""
|
1895 |
Â
|
1896 |
-
#: includes/class-mla-data.php:
|
1897 |
-
#: includes/class-mla-main.php:
|
1898 |
Â
msgid "Pings"
|
1899 |
Â
msgstr ""
|
1900 |
Â
|
1901 |
-
#: includes/class-mla-data.php:
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1902 |
Â
msgid "Adding"
|
1903 |
Â
msgstr ""
|
1904 |
Â
|
1905 |
-
#: includes/class-mla-data.php:
|
1906 |
Â
msgid "Removing"
|
1907 |
Â
msgstr ""
|
1908 |
Â
|
1909 |
-
#: includes/class-mla-data.php:
|
1910 |
Â
msgid "Replacing"
|
1911 |
Â
msgstr ""
|
1912 |
Â
|
1913 |
-
#: includes/class-mla-data.php:
|
1914 |
Â
msgid "Ignoring"
|
1915 |
Â
msgstr ""
|
1916 |
Â
|
1917 |
-
|
1918 |
-
#: includes/class-mla-data.php:3845
|
1919 |
Â
#, php-format
|
1920 |
Â
msgid "%1$s \"%2$s\" terms"
|
1921 |
Â
msgstr ""
|
1922 |
Â
|
1923 |
-
|
1924 |
-
#: includes/class-mla-data.php:3849
|
1925 |
-
#, php-format
|
1926 |
-
msgid "You cannot assign \"%1$s\" terms"
|
1927 |
-
msgstr ""
|
1928 |
-
|
1929 |
-
#. translators: 1: post ID
|
1930 |
-
#: includes/class-mla-data.php:3861 includes/class-mla-main.php:1144
|
1931 |
Â
#, php-format
|
1932 |
Â
msgid "Item %1$d, no changes detected."
|
1933 |
Â
msgstr ""
|
1934 |
Â
|
1935 |
-
|
1936 |
-
#: includes/class-mla-data.php:3882
|
1937 |
Â
#, php-format
|
1938 |
Â
msgid "Item %1$d updated."
|
1939 |
Â
msgstr ""
|
1940 |
Â
|
1941 |
-
|
1942 |
-
#: includes/class-mla-data.php:3896
|
1943 |
Â
#, php-format
|
1944 |
Â
msgid "%1$s: Item %2$d update failed."
|
1945 |
Â
msgstr ""
|
1946 |
Â
|
1947 |
Â
#: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:184
|
1948 |
-
#: includes/class-mla-edit-media.php:237 includes/class-mla-main.php:
|
1949 |
-
#: includes/class-mla-main.php:
|
1950 |
-
#: includes/class-mla-media-modal.php:236 includes/class-mla-options.php:
|
1951 |
-
#: includes/class-mla-polylang-support.php:
|
1952 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
Â
|
|
1953 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:39
|
1954 |
Â
#: includes/class-mla-settings-upload-tab.php:48
|
1955 |
Â
#: includes/class-mla-settings-view-tab.php:48
|
@@ -1971,39 +1929,42 @@ msgid "Close Bulk Edit area"
|
|
1971 |
Â
msgstr ""
|
1972 |
Â
|
1973 |
Â
#: includes/class-mla-edit-media.php:185 includes/class-mla-edit-media.php:239
|
1974 |
-
#: includes/class-mla-main.php:
|
1975 |
Â
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
1976 |
Â
msgstr ""
|
1977 |
Â
|
1978 |
Â
#: includes/class-mla-edit-media.php:186 includes/class-mla-edit-media.php:240
|
1979 |
-
#: includes/class-mla-main.php:
|
1980 |
Â
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
1981 |
Â
msgstr ""
|
1982 |
Â
|
1983 |
-
#: includes/class-mla-edit-media.php:338 includes/class-mla-main.php:
|
1984 |
Â
msgid "more"
|
1985 |
Â
msgstr ""
|
1986 |
Â
|
1987 |
-
#: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:
|
1988 |
Â
msgid "less"
|
1989 |
Â
msgstr ""
|
1990 |
Â
|
1991 |
Â
#: includes/class-mla-edit-media.php:342 includes/class-mla-edit-media.php:373
|
1992 |
-
#: includes/class-mla-main.php:
|
1993 |
Â
msgid "Add"
|
1994 |
Â
msgstr ""
|
1995 |
Â
|
1996 |
Â
#: includes/class-mla-edit-media.php:343 includes/class-mla-edit-media.php:374
|
1997 |
-
#: includes/class-mla-main.php:
|
1998 |
Â
msgid "Remove"
|
1999 |
Â
msgstr ""
|
2000 |
Â
|
2001 |
Â
#: includes/class-mla-edit-media.php:344 includes/class-mla-edit-media.php:375
|
2002 |
-
#: includes/class-mla-main.php:
|
2003 |
Â
#: includes/class-mla-options.php:1239 includes/class-mla-options.php:1338
|
2004 |
-
#: includes/class-mla-options.php:1382 includes/class-mla-options.php:
|
2005 |
-
#: includes/class-mla-options.php:
|
2006 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
Â
|
|
2007 |
Â
msgid "Replace"
|
2008 |
Â
msgstr ""
|
2009 |
Â
|
@@ -2013,35 +1974,36 @@ msgid ""
|
|
2013 |
Â
"menu for more information."
|
2014 |
Â
msgstr ""
|
2015 |
Â
|
2016 |
-
#: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:
|
2017 |
-
#: includes/class-mla-settings.php:
|
2018 |
Â
msgid "Reset"
|
2019 |
Â
msgstr ""
|
2020 |
Â
|
2021 |
-
#: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:
|
2022 |
-
#: includes/class-mla-main.php:
|
2023 |
-
#: includes/class-mla-settings-
|
2024 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2025 |
-
#: includes/class-mla-settings-
|
Â
|
|
2026 |
Â
msgid "No Change"
|
2027 |
Â
msgstr ""
|
2028 |
Â
|
2029 |
-
#: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:
|
2030 |
Â
msgid "Allow"
|
2031 |
Â
msgstr ""
|
2032 |
Â
|
2033 |
-
#: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:
|
2034 |
Â
msgid "Do not allow"
|
2035 |
Â
msgstr ""
|
2036 |
Â
|
2037 |
-
#: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:
|
2038 |
-
#: includes/class-mla-list-table.php:
|
2039 |
Â
msgid "Parent ID"
|
2040 |
Â
msgstr ""
|
2041 |
Â
|
2042 |
Â
#: includes/class-mla-edit-media.php:432 includes/class-mla-edit-media.php:838
|
2043 |
-
#: includes/class-mla-main.php:
|
2044 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2045 |
Â
msgid "Select"
|
2046 |
Â
msgstr ""
|
2047 |
Â
|
@@ -2053,7 +2015,6 @@ msgstr ""
|
|
2053 |
Â
msgid "IPTC/EXIF mapping updated."
|
2054 |
Â
msgstr ""
|
2055 |
Â
|
2056 |
-
#. translators: date_i18n format for last modified date and time
|
2057 |
Â
#: includes/class-mla-edit-media.php:531
|
2058 |
Â
msgid "M j, Y @ G:i"
|
2059 |
Â
msgstr ""
|
@@ -2066,8 +2027,8 @@ msgstr ""
|
|
2066 |
Â
msgid "Map Custom Field metadata for this item"
|
2067 |
Â
msgstr ""
|
2068 |
Â
|
2069 |
-
#: includes/class-mla-edit-media.php:554 includes/class-mla-main.php:
|
2070 |
-
#: includes/class-mla-main.php:
|
2071 |
Â
msgid "Map Custom Field metadata"
|
2072 |
Â
msgstr ""
|
2073 |
Â
|
@@ -2075,8 +2036,8 @@ msgstr ""
|
|
2075 |
Â
msgid "Map IPTC/EXIF metadata for this item"
|
2076 |
Â
msgstr ""
|
2077 |
Â
|
2078 |
-
#: includes/class-mla-edit-media.php:556 includes/class-mla-main.php:
|
2079 |
-
#: includes/class-mla-main.php:
|
2080 |
Â
msgid "Map IPTC/EXIF metadata"
|
2081 |
Â
msgstr ""
|
2082 |
Â
|
@@ -2088,15 +2049,14 @@ msgstr ""
|
|
2088 |
Â
msgid "Attachment Metadata"
|
2089 |
Â
msgstr ""
|
2090 |
Â
|
2091 |
-
#. translators: 1: ERROR tag 2: function name 3: template key
|
2092 |
Â
#: includes/class-mla-edit-media.php:731 includes/class-mla-edit-media.php:771
|
2093 |
-
#: includes/class-mla-main.php:
|
2094 |
Â
#, php-format
|
2095 |
Â
msgctxt "error_log"
|
2096 |
Â
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
2097 |
Â
msgstr ""
|
2098 |
Â
|
2099 |
-
#: includes/class-mla-edit-media.php:820 includes/class-mla-list-table.php:
|
2100 |
Â
msgctxt "post state"
|
2101 |
Â
msgid "Pending"
|
2102 |
Â
msgstr ""
|
@@ -2105,16 +2065,16 @@ msgstr ""
|
|
2105 |
Â
msgid "Post Parent"
|
2106 |
Â
msgstr ""
|
2107 |
Â
|
2108 |
-
#: includes/class-mla-edit-media.php:838 includes/class-mla-main.php:
|
2109 |
Â
msgid "Select Parent"
|
2110 |
Â
msgstr ""
|
2111 |
Â
|
2112 |
Â
#: includes/class-mla-edit-media.php:905 includes/class-mla-edit-media.php:943
|
2113 |
Â
#: includes/class-mla-edit-media.php:979 includes/class-mla-edit-media.php:1014
|
2114 |
-
#: includes/class-mla-list-table.php:
|
2115 |
-
#: includes/class-mla-list-table.php:
|
2116 |
-
#: includes/class-mla-list-table.php:
|
2117 |
-
#: includes/class-mla-list-table.php:
|
2118 |
Â
msgid "PARENT"
|
2119 |
Â
msgstr ""
|
2120 |
Â
|
@@ -2122,288 +2082,302 @@ msgstr ""
|
|
2122 |
Â
msgid "All"
|
2123 |
Â
msgstr ""
|
2124 |
Â
|
2125 |
-
#: includes/class-mla-list-table.php:
|
2126 |
-
|
2127 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2128 |
Â
msgid "List View"
|
2129 |
Â
msgstr ""
|
2130 |
Â
|
2131 |
-
#: includes/class-mla-list-table.php:
|
2132 |
-
#: includes/class-mla-list-table.php:
|
2133 |
-
#: includes/class-mla-list-table.php:
|
2134 |
-
#: includes/class-mla-list-table.php:
|
2135 |
-
#: includes/class-mla-list-table.php:
|
2136 |
-
#: includes/class-mla-list-table.php:
|
2137 |
Â
msgid "Filter by"
|
2138 |
Â
msgstr ""
|
2139 |
Â
|
2140 |
-
#: includes/class-mla-list-table.php:
|
2141 |
Â
#: includes/class-mla-media-modal-ajax.php:490
|
2142 |
Â
msgid "Not Supported"
|
2143 |
Â
msgstr ""
|
2144 |
Â
|
2145 |
-
|
2146 |
-
#: includes/class-mla-
|
2147 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2148 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
2149 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2150 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2151 |
-
#: includes/class-mla-settings-view-tab.php:
|
2152 |
Â
#, php-format
|
2153 |
Â
msgid "column_default: %1$s, %2$s"
|
2154 |
Â
msgstr ""
|
2155 |
Â
|
2156 |
-
#: includes/class-mla-list-table.php:
|
2157 |
-
#: includes/class-mla-list-table.php:
|
2158 |
-
#: includes/class-mla-list-table.php:
|
2159 |
-
#: includes/class-mla-list-table.php:
|
2160 |
-
#: includes/class-mla-list-table.php:
|
2161 |
-
#: includes/class-mla-list-table.php:
|
2162 |
-
#: includes/class-mla-list-table.php:
|
2163 |
-
#: includes/class-mla-polylang-support.php:
|
2164 |
-
#: includes/class-mla-settings-
|
2165 |
-
#: includes/class-mla-settings-
|
2166 |
-
#: includes/class-mla-settings-
|
2167 |
-
#: includes/class-mla-settings-
|
2168 |
-
#: includes/class-mla-settings-
|
Â
|
|
Â
|
|
2169 |
Â
msgid "Edit"
|
2170 |
Â
msgstr ""
|
2171 |
Â
|
2172 |
-
#: includes/class-mla-list-table.php:
|
2173 |
-
#: includes/class-mla-thumbnail-generation.php:
|
2174 |
Â
msgid "Trash"
|
2175 |
Â
msgstr ""
|
2176 |
Â
|
2177 |
-
#: includes/class-mla-list-table.php:
|
2178 |
Â
msgid "Restore this item from the Trash"
|
2179 |
Â
msgstr ""
|
2180 |
Â
|
2181 |
-
#: includes/class-mla-list-table.php:
|
2182 |
Â
msgid "Restore"
|
2183 |
Â
msgstr ""
|
2184 |
Â
|
2185 |
-
#: includes/class-mla-list-table.php:
|
2186 |
-
#: includes/class-mla-settings-
|
2187 |
-
#: includes/class-mla-settings-
|
2188 |
-
#: includes/class-mla-settings-
|
Â
|
|
2189 |
Â
msgid "Edit this item"
|
2190 |
Â
msgstr ""
|
2191 |
Â
|
2192 |
-
#: includes/class-mla-list-table.php:
|
2193 |
-
#: includes/class-mla-settings-
|
2194 |
-
#: includes/class-mla-settings-
|
Â
|
|
2195 |
Â
msgid "Edit this item inline"
|
2196 |
Â
msgstr ""
|
2197 |
Â
|
2198 |
-
#: includes/class-mla-list-table.php:
|
2199 |
Â
#: includes/class-mla-options.php:1114 includes/class-mla-options.php:1418
|
2200 |
-
#: includes/class-mla-settings-
|
2201 |
-
#: includes/class-mla-settings-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2202 |
Â
msgid "Quick Edit"
|
2203 |
Â
msgstr ""
|
2204 |
Â
|
2205 |
-
#: includes/class-mla-list-table.php:
|
2206 |
Â
msgid "Move this item to the Trash"
|
2207 |
Â
msgstr ""
|
2208 |
Â
|
2209 |
-
#: includes/class-mla-list-table.php:
|
2210 |
Â
msgid "Move to Trash"
|
2211 |
Â
msgstr ""
|
2212 |
Â
|
2213 |
-
#: includes/class-mla-list-table.php:
|
2214 |
-
#: includes/class-mla-settings-
|
2215 |
-
#: includes/class-mla-settings-
|
2216 |
-
#: includes/class-mla-settings-
|
Â
|
|
2217 |
Â
msgid "Delete this item Permanently"
|
2218 |
Â
msgstr ""
|
2219 |
Â
|
2220 |
-
#: includes/class-mla-list-table.php:
|
2221 |
-
#: includes/class-mla-list-table.php:
|
2222 |
-
#: includes/class-mla-settings-
|
2223 |
-
#: includes/class-mla-settings-
|
2224 |
-
#: includes/class-mla-settings-
|
2225 |
-
#: includes/class-mla-settings-
|
Â
|
|
Â
|
|
2226 |
Â
msgid "Delete Permanently"
|
2227 |
Â
msgstr ""
|
2228 |
Â
|
2229 |
-
#: includes/class-mla-list-table.php:
|
2230 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2231 |
-
#: includes/class-mla-settings.php:
|
2232 |
Â
msgid "Download"
|
2233 |
Â
msgstr ""
|
2234 |
Â
|
2235 |
-
#: includes/class-mla-list-table.php:
|
2236 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2237 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
2238 |
-
#: includes/class-mla-settings-view-tab.php:
|
2239 |
Â
msgid "View"
|
2240 |
Â
msgstr ""
|
2241 |
Â
|
2242 |
-
#: includes/class-mla-list-table.php:
|
2243 |
Â
msgid "(no title: bad ID)"
|
2244 |
Â
msgstr ""
|
2245 |
Â
|
2246 |
-
#: includes/class-mla-list-table.php:
|
2247 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2248 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2249 |
Â
msgid "MIME Type"
|
2250 |
Â
msgstr ""
|
2251 |
Â
|
2252 |
-
#: includes/class-mla-list-table.php:
|
2253 |
Â
msgid "Base File"
|
2254 |
Â
msgstr ""
|
2255 |
Â
|
2256 |
-
#: includes/class-mla-list-table.php:
|
2257 |
-
#: includes/class-mla-list-table.php:
|
2258 |
Â
msgid "Unpublished"
|
2259 |
Â
msgstr ""
|
2260 |
Â
|
2261 |
-
|
2262 |
-
#: includes/class-mla-list-table.php:
|
2263 |
-
#: includes/class-mla-list-table.php:1398
|
2264 |
Â
#, php-format
|
2265 |
Â
msgid "%1$s from now"
|
2266 |
Â
msgstr ""
|
2267 |
Â
|
2268 |
-
|
2269 |
-
#: includes/class-mla-list-table.php:
|
2270 |
-
#: includes/class-mla-list-table.php:1400
|
2271 |
Â
#, php-format
|
2272 |
Â
msgid "%1$s ago"
|
2273 |
Â
msgstr ""
|
2274 |
Â
|
2275 |
-
#: includes/class-mla-list-table.php:
|
2276 |
Â
msgid "(Private post)"
|
2277 |
Â
msgstr ""
|
2278 |
Â
|
2279 |
-
#: includes/class-mla-list-table.php:
|
2280 |
Â
msgid "Set Parent"
|
2281 |
Â
msgstr ""
|
2282 |
Â
|
2283 |
-
#: includes/class-mla-list-table.php:
|
2284 |
Â
msgctxt "uploaded files"
|
2285 |
Â
msgid "All"
|
2286 |
Â
msgid_plural "All"
|
2287 |
Â
msgstr[0] ""
|
2288 |
Â
msgstr[1] ""
|
2289 |
Â
|
2290 |
-
#: includes/class-mla-list-table.php:
|
2291 |
-
#: includes/class-mla-settings-
|
Â
|
|
2292 |
Â
msgid "Filter"
|
2293 |
Â
msgstr ""
|
2294 |
Â
|
2295 |
-
#: includes/class-mla-list-table.php:
|
2296 |
Â
#: includes/mla-media-modal-js-template.php:72
|
2297 |
Â
msgid "Terms Search"
|
2298 |
Â
msgstr ""
|
2299 |
Â
|
2300 |
-
#: includes/class-mla-list-table.php:
|
2301 |
-
#: includes/class-mla-polylang-support.php:
|
2302 |
-
#: includes/class-mla-thumbnail-generation.php:
|
2303 |
Â
msgid "Clear Filter-by"
|
2304 |
Â
msgstr ""
|
2305 |
Â
|
2306 |
-
#: includes/class-mla-list-table.php:
|
2307 |
Â
msgid "Empty Trash"
|
2308 |
Â
msgstr ""
|
2309 |
Â
|
2310 |
-
#: includes/class-mla-main.php:
|
2311 |
Â
msgid "Error while saving the changes."
|
2312 |
Â
msgstr ""
|
2313 |
Â
|
2314 |
-
#: includes/class-mla-main.php:
|
2315 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
Â
|
|
2316 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:37
|
2317 |
Â
#: includes/class-mla-settings-upload-tab.php:46
|
2318 |
Â
#: includes/class-mla-settings-view-tab.php:46
|
2319 |
Â
msgid "Remove From Bulk Edit"
|
2320 |
Â
msgstr ""
|
2321 |
Â
|
2322 |
-
#: includes/class-mla-main.php:
|
2323 |
Â
msgid "Bulk Edit items"
|
2324 |
Â
msgstr ""
|
2325 |
Â
|
2326 |
-
#: includes/class-mla-main.php:
|
2327 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2328 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:43
|
2329 |
Â
msgid "Waiting"
|
2330 |
Â
msgstr ""
|
2331 |
Â
|
2332 |
-
#: includes/class-mla-main.php:
|
2333 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2334 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:45
|
2335 |
Â
msgid "Complete"
|
2336 |
Â
msgstr ""
|
2337 |
Â
|
2338 |
-
#: includes/class-mla-main.php:
|
2339 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2340 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:46
|
2341 |
Â
msgid "Unchanged"
|
2342 |
Â
msgstr ""
|
2343 |
Â
|
2344 |
-
#: includes/class-mla-main.php:
|
2345 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2346 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:47
|
2347 |
Â
msgid "Succeeded"
|
2348 |
Â
msgstr ""
|
2349 |
Â
|
2350 |
-
#: includes/class-mla-main.php:
|
2351 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
2352 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:48
|
2353 |
Â
msgid "Failed"
|
2354 |
Â
msgstr ""
|
2355 |
Â
|
2356 |
-
#: includes/class-mla-main.php:
|
2357 |
Â
msgid "CANCELED"
|
2358 |
Â
msgstr ""
|
2359 |
Â
|
2360 |
-
#: includes/class-mla-main.php:
|
2361 |
Â
#, php-format
|
2362 |
Â
msgid "Item permanently deleted."
|
2363 |
Â
msgid_plural "%d items permanently deleted."
|
2364 |
Â
msgstr[0] ""
|
2365 |
Â
msgstr[1] ""
|
2366 |
Â
|
2367 |
-
|
2368 |
-
#: includes/class-mla-main.php:502 includes/class-mla-main.php:2170
|
2369 |
Â
#, php-format
|
2370 |
Â
msgid "Item %1$d moved to Trash."
|
2371 |
Â
msgstr ""
|
2372 |
Â
|
2373 |
-
#: includes/class-mla-main.php:
|
2374 |
Â
msgid "Entries per page"
|
2375 |
Â
msgstr ""
|
2376 |
Â
|
2377 |
-
#: includes/class-mla-main.php:
|
2378 |
Â
msgid "You are not allowed to edit Attachment: "
|
2379 |
Â
msgstr ""
|
2380 |
Â
|
2381 |
-
|
2382 |
-
#: includes/class-mla-main.php:1134
|
2383 |
Â
#, php-format
|
2384 |
Â
msgid "%1$s: Unknown bulk action %2$s"
|
2385 |
Â
msgstr ""
|
2386 |
Â
|
2387 |
-
#: includes/class-mla-main.php:
|
2388 |
Â
msgid "no changes detected"
|
2389 |
Â
msgstr ""
|
2390 |
Â
|
2391 |
-
|
2392 |
-
#: includes/class-mla-
|
2393 |
Â
#: includes/class-mla-settings-documentation-tab.php:247
|
2394 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:569
|
2395 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2396 |
-
#: includes/class-mla-settings-view-tab.php:
|
2397 |
Â
#, php-format
|
2398 |
Â
msgid "Bulk Action %1$s - no items selected."
|
2399 |
Â
msgstr ""
|
2400 |
Â
|
2401 |
-
#: includes/class-mla-main.php:
|
2402 |
Â
msgid "You do not have permission to manage attachments."
|
2403 |
Â
msgstr ""
|
2404 |
Â
|
2405 |
-
|
2406 |
-
#: includes/class-mla-main.php:1347
|
2407 |
Â
#, php-format
|
2408 |
Â
msgctxt "deleted items"
|
2409 |
Â
msgid "%s item deleted."
|
@@ -2411,127 +2385,128 @@ msgid_plural "%s items deleted."
|
|
2411 |
Â
msgstr[0] ""
|
2412 |
Â
msgstr[1] ""
|
2413 |
Â
|
2414 |
-
#: includes/class-mla-main.php:
|
2415 |
Â
msgid "No items deleted."
|
2416 |
Â
msgstr ""
|
2417 |
Â
|
2418 |
-
#: includes/class-mla-main.php:
|
2419 |
Â
msgid "Empty Terms Search; ignored"
|
2420 |
Â
msgstr ""
|
2421 |
Â
|
2422 |
-
|
2423 |
-
|
2424 |
-
#: includes/class-mla-main.php:1415
|
2425 |
Â
#: includes/class-mla-settings-documentation-tab.php:281
|
2426 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:598
|
2427 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2428 |
-
#: includes/class-mla-settings-view-tab.php:
|
2429 |
Â
#, php-format
|
2430 |
Â
msgid "Unknown mla_admin_action - \"%1$s\""
|
2431 |
Â
msgstr ""
|
2432 |
Â
|
2433 |
-
#: includes/class-mla-main.php:
|
2434 |
Â
msgid "term search results for"
|
2435 |
Â
msgstr ""
|
2436 |
Â
|
2437 |
-
#: includes/class-mla-main.php:
|
2438 |
Â
msgid "post/parent results for"
|
2439 |
Â
msgstr ""
|
2440 |
Â
|
2441 |
-
#: includes/class-mla-main.php:
|
2442 |
Â
msgid "search results for"
|
2443 |
Â
msgstr ""
|
2444 |
Â
|
2445 |
-
#: includes/class-mla-main.php:
|
2446 |
-
#: includes/class-mla-main.php:
|
2447 |
-
#: includes/class-mla-settings-
|
2448 |
-
#: includes/class-mla-settings-
|
Â
|
|
Â
|
|
2449 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:484
|
2450 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2451 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2452 |
-
#: includes/class-mla-settings-view-tab.php:
|
2453 |
-
#: includes/class-mla-settings-view-tab.php:
|
2454 |
Â
msgid "Update"
|
2455 |
Â
msgstr ""
|
2456 |
Â
|
2457 |
-
#: includes/class-mla-main.php:
|
2458 |
Â
msgid "All Post Types"
|
2459 |
Â
msgstr ""
|
2460 |
Â
|
2461 |
-
#: includes/class-mla-main.php:
|
2462 |
Â
msgid "For"
|
2463 |
Â
msgstr ""
|
2464 |
Â
|
2465 |
-
#: includes/class-mla-main.php:
|
2466 |
Â
#: includes/class-mla-shortcode-support.php:993
|
2467 |
Â
msgid "Unattached"
|
2468 |
Â
msgstr ""
|
2469 |
Â
|
2470 |
-
#: includes/class-mla-main.php:
|
2471 |
-
#: includes/class-mla-polylang-support.php:
|
2472 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
Â
|
|
Â
|
|
2473 |
Â
#: includes/class-mla-settings-documentation-tab.php:167
|
2474 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:459
|
2475 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:411
|
2476 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:481
|
2477 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2478 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2479 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2480 |
-
#: includes/class-mla-settings-view-tab.php:
|
2481 |
-
#: includes/class-mla-settings-view-tab.php:
|
2482 |
-
#: includes/class-mla-thumbnail-generation.php:
|
2483 |
Â
msgid "Cancel"
|
2484 |
Â
msgstr ""
|
2485 |
Â
|
2486 |
-
#: includes/class-mla-main.php:
|
2487 |
Â
#: includes/class-mla-options.php:1419
|
2488 |
-
#: includes/class-mla-settings-
|
2489 |
-
#: includes/class-mla-settings-
|
Â
|
|
Â
|
|
Â
|
|
2490 |
Â
msgid "Bulk Edit"
|
2491 |
Â
msgstr ""
|
2492 |
Â
|
2493 |
-
#: includes/class-mla-main.php:
|
2494 |
Â
msgid "In-process"
|
2495 |
Â
msgstr ""
|
2496 |
Â
|
2497 |
-
#: includes/class-mla-main.php:
|
2498 |
Â
msgid "You are not allowed to delete this item."
|
2499 |
Â
msgstr ""
|
2500 |
Â
|
2501 |
-
|
2502 |
-
#: includes/class-mla-main.php:2091
|
2503 |
Â
#, php-format
|
2504 |
Â
msgid "%1$s: Item %2$d could NOT be deleted."
|
2505 |
Â
msgstr ""
|
2506 |
Â
|
2507 |
-
|
2508 |
-
#: includes/class-mla-main.php:2098
|
2509 |
Â
#, php-format
|
2510 |
Â
msgid "Item %1$d permanently deleted."
|
2511 |
Â
msgstr ""
|
2512 |
Â
|
2513 |
-
#: includes/class-mla-main.php:
|
2514 |
Â
msgid "You are not allowed to move this item out of the Trash."
|
2515 |
Â
msgstr ""
|
2516 |
Â
|
2517 |
-
|
2518 |
-
#: includes/class-mla-main.php:2123
|
2519 |
Â
#, php-format
|
2520 |
Â
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
2521 |
Â
msgstr ""
|
2522 |
Â
|
2523 |
-
|
2524 |
-
#: includes/class-mla-main.php:2138
|
2525 |
Â
#, php-format
|
2526 |
Â
msgid "Item %1$d restored from Trash."
|
2527 |
Â
msgstr ""
|
2528 |
Â
|
2529 |
-
#: includes/class-mla-main.php:
|
2530 |
Â
msgid "You are not allowed to move this item to the Trash."
|
2531 |
Â
msgstr ""
|
2532 |
Â
|
2533 |
-
|
2534 |
-
#: includes/class-mla-main.php:2163
|
2535 |
Â
#, php-format
|
2536 |
Â
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
2537 |
Â
msgstr ""
|
@@ -2548,13 +2523,10 @@ msgstr ""
|
|
2548 |
Â
msgid "Tags"
|
2549 |
Â
msgstr ""
|
2550 |
Â
|
2551 |
-
#. translators: %s: add new taxonomy label
|
2552 |
-
#. translators: %s: add new Upload MIME Type
|
2553 |
-
#. translators: %s: add new View
|
2554 |
Â
#: includes/class-mla-media-modal-ajax.php:452
|
2555 |
Â
#: includes/class-mla-objects.php:46 includes/class-mla-objects.php:76
|
2556 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2557 |
-
#: includes/class-mla-settings-view-tab.php:
|
2558 |
Â
#, php-format
|
2559 |
Â
msgid "Add New %1$s"
|
2560 |
Â
msgstr ""
|
@@ -2567,7 +2539,6 @@ msgstr ""
|
|
2567 |
Â
msgid "Show all dates"
|
2568 |
Â
msgstr ""
|
2569 |
Â
|
2570 |
-
#. translators: 1: month name, 2: 4-digit year
|
2571 |
Â
#: includes/class-mla-media-modal.php:121
|
2572 |
Â
#, php-format
|
2573 |
Â
msgid "%1$s %2$d"
|
@@ -2610,297 +2581,281 @@ msgstr ""
|
|
2610 |
Â
msgid "Exact"
|
2611 |
Â
msgstr ""
|
2612 |
Â
|
2613 |
-
#: includes/class-mla-mime-types.php:
|
2614 |
Â
msgctxt "post_mime_types"
|
2615 |
Â
msgid "Manage"
|
2616 |
Â
msgstr ""
|
2617 |
Â
|
2618 |
-
#: includes/class-mla-mime-types.php:
|
2619 |
Â
msgctxt "list_table_column"
|
2620 |
Â
msgid "Extension"
|
2621 |
Â
msgstr ""
|
2622 |
Â
|
2623 |
-
#: includes/class-mla-mime-types.php:
|
2624 |
Â
msgctxt "list_table_column"
|
2625 |
Â
msgid "Icon Type"
|
2626 |
Â
msgstr ""
|
2627 |
Â
|
2628 |
-
#: includes/class-mla-mime-types.php:
|
Â
|
|
2629 |
Â
msgctxt "list_table_column"
|
2630 |
Â
msgid "Source"
|
2631 |
Â
msgstr ""
|
2632 |
Â
|
2633 |
-
#: includes/class-mla-mime-types.php:
|
Â
|
|
2634 |
Â
msgctxt "list_table_column"
|
2635 |
Â
msgid "Status"
|
2636 |
Â
msgstr ""
|
2637 |
Â
|
2638 |
-
#: includes/class-mla-mime-types.php:
|
2639 |
Â
msgctxt "list_table_column"
|
2640 |
Â
msgid "WordPress Type"
|
2641 |
Â
msgstr ""
|
2642 |
Â
|
2643 |
-
#: includes/class-mla-mime-types.php:
|
2644 |
Â
msgctxt "list_table_column"
|
2645 |
Â
msgid "MLA Type"
|
2646 |
Â
msgstr ""
|
2647 |
Â
|
2648 |
-
#: includes/class-mla-mime-types.php:
|
2649 |
Â
msgctxt "list_table_column"
|
2650 |
Â
msgid "Std. Source"
|
2651 |
Â
msgstr ""
|
2652 |
Â
|
2653 |
-
#: includes/class-mla-mime-types.php:
|
2654 |
Â
msgctxt "list_table_column"
|
2655 |
Â
msgid "Std. Icon Type"
|
2656 |
Â
msgstr ""
|
2657 |
Â
|
2658 |
-
#: includes/class-mla-mime-types.php:
|
2659 |
Â
msgctxt "list_table_column"
|
2660 |
Â
msgid "Slug"
|
2661 |
Â
msgstr ""
|
2662 |
Â
|
2663 |
-
#: includes/class-mla-mime-types.php:
|
2664 |
Â
msgctxt "list_table_column"
|
2665 |
Â
msgid "Specification"
|
2666 |
Â
msgstr ""
|
2667 |
Â
|
2668 |
-
#: includes/class-mla-mime-types.php:
|
2669 |
Â
msgctxt "list_table_column"
|
2670 |
Â
msgid "Post Mime"
|
2671 |
Â
msgstr ""
|
2672 |
Â
|
2673 |
-
#: includes/class-mla-mime-types.php:
|
2674 |
Â
msgctxt "list_table_column"
|
2675 |
Â
msgid "Table View"
|
2676 |
Â
msgstr ""
|
2677 |
Â
|
2678 |
-
#: includes/class-mla-mime-types.php:
|
2679 |
Â
msgctxt "list_table_column"
|
2680 |
Â
msgid "Singular Name"
|
2681 |
Â
msgstr ""
|
2682 |
Â
|
2683 |
-
#: includes/class-mla-mime-types.php:
|
2684 |
Â
msgctxt "list_table_column"
|
2685 |
Â
msgid "Plural Name"
|
2686 |
Â
msgstr ""
|
2687 |
Â
|
2688 |
-
#: includes/class-mla-mime-types.php:
|
2689 |
Â
msgctxt "list_table_column"
|
2690 |
Â
msgid "Order"
|
2691 |
Â
msgstr ""
|
2692 |
Â
|
2693 |
-
#: includes/class-mla-mime-types.php:
|
2694 |
Â
msgctxt "post_mime_types_description"
|
2695 |
Â
msgid "Copied from previous filter/plugin"
|
2696 |
Â
msgstr ""
|
2697 |
Â
|
2698 |
-
#: includes/class-mla-mime-types.php:
|
2699 |
-
#: includes/class-mla-mime-types.php:
|
2700 |
Â
msgid "Ignoring specification for Post MIME Type; using slug"
|
2701 |
Â
msgstr ""
|
2702 |
Â
|
2703 |
-
|
2704 |
-
#: includes/class-mla-mime-types.php:
|
2705 |
-
#: includes/class-mla-mime-types.php:2205
|
2706 |
Â
#, php-format
|
2707 |
Â
msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
|
2708 |
Â
msgstr ""
|
2709 |
Â
|
2710 |
-
#: includes/class-mla-mime-types.php:
|
2711 |
-
#: includes/class-mla-mime-types.php:
|
2712 |
-
#: includes/class-mla-mime-types.php:
|
2713 |
-
#: includes/class-mla-settings-view-tab.php:
|
2714 |
-
#: includes/class-mla-settings-view-tab.php:
|
2715 |
Â
msgid "Slug"
|
2716 |
Â
msgstr ""
|
2717 |
Â
|
2718 |
-
|
2719 |
-
#: includes/class-mla-mime-types.php:
|
2720 |
-
#: includes/class-mla-mime-types.php:1209
|
2721 |
Â
#, php-format
|
2722 |
Â
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
2723 |
Â
msgstr ""
|
2724 |
Â
|
2725 |
-
|
2726 |
-
#: includes/class-mla-mime-types.php:1156
|
2727 |
Â
#, php-format
|
2728 |
Â
msgid "Edit view \"%1$s\"; added"
|
2729 |
Â
msgstr ""
|
2730 |
Â
|
2731 |
-
|
2732 |
-
#: includes/class-mla-mime-types.php:
|
2733 |
-
#: includes/class-mla-mime-types.php:2331
|
2734 |
Â
#, php-format
|
2735 |
Â
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
2736 |
Â
msgstr ""
|
2737 |
Â
|
2738 |
-
|
2739 |
-
#: includes/class-mla-mime-types.php:1254
|
2740 |
Â
#, php-format
|
2741 |
Â
msgid "Edit view \"%1$s\"; no changes detected"
|
2742 |
Â
msgstr ""
|
2743 |
Â
|
2744 |
-
|
2745 |
-
#: includes/class-mla-mime-types.php:1268
|
2746 |
Â
#, php-format
|
2747 |
Â
msgid "Edit view \"%1$s\"; updated"
|
2748 |
Â
msgstr ""
|
2749 |
Â
|
2750 |
-
|
2751 |
-
#: includes/class-mla-mime-types.php:1341
|
2752 |
Â
#, php-format
|
2753 |
Â
msgid "View \"%1$s\" reverted to standard"
|
2754 |
Â
msgstr ""
|
2755 |
Â
|
2756 |
-
|
2757 |
-
#: includes/class-mla-mime-types.php:1347
|
2758 |
Â
#, php-format
|
2759 |
Â
msgid "View \"%1$s\" deleted"
|
2760 |
Â
msgstr ""
|
2761 |
Â
|
2762 |
-
|
2763 |
-
#: includes/class-mla-mime-types.php:1355
|
2764 |
Â
#, php-format
|
2765 |
Â
msgid "%1$s: Did not find view \"%2$s\""
|
2766 |
Â
msgstr ""
|
2767 |
Â
|
2768 |
-
#: includes/class-mla-mime-types.php:
|
2769 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2770 |
Â
msgctxt "table_view_singular"
|
2771 |
Â
msgid "Active"
|
2772 |
Â
msgstr ""
|
2773 |
Â
|
2774 |
-
#: includes/class-mla-mime-types.php:
|
2775 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2776 |
Â
msgctxt "table_view_plural"
|
2777 |
Â
msgid "Active"
|
2778 |
Â
msgstr ""
|
2779 |
Â
|
2780 |
-
#: includes/class-mla-mime-types.php:
|
2781 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2782 |
Â
msgctxt "table_view_singular"
|
2783 |
Â
msgid "Inactive"
|
2784 |
Â
msgstr ""
|
2785 |
Â
|
2786 |
-
#: includes/class-mla-mime-types.php:
|
2787 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
2788 |
Â
msgctxt "table_view_plural"
|
2789 |
Â
msgid "Inactive"
|
2790 |
Â
msgstr ""
|
2791 |
Â
|
2792 |
-
#: includes/class-mla-mime-types.php:
|
2793 |
Â
msgctxt "table_view_singular"
|
2794 |
Â
msgid "WordPress"
|
2795 |
Â
msgstr ""
|
2796 |
Â
|
2797 |
-
#: includes/class-mla-mime-types.php:
|
2798 |
Â
msgctxt "table_view_plural"
|
2799 |
Â
msgid "WordPress"
|
2800 |
Â
msgstr ""
|
2801 |
Â
|
2802 |
-
#: includes/class-mla-mime-types.php:
|
2803 |
Â
msgctxt "table_view_singular"
|
2804 |
Â
msgid "MLA"
|
2805 |
Â
msgstr ""
|
2806 |
Â
|
2807 |
-
#: includes/class-mla-mime-types.php:
|
2808 |
Â
msgctxt "table_view_plural"
|
2809 |
Â
msgid "MLA"
|
2810 |
Â
msgstr ""
|
2811 |
Â
|
2812 |
-
#: includes/class-mla-mime-types.php:
|
2813 |
Â
msgctxt "table_view_singular"
|
2814 |
Â
msgid "Custom"
|
2815 |
Â
msgstr ""
|
2816 |
Â
|
2817 |
-
#: includes/class-mla-mime-types.php:
|
2818 |
Â
msgctxt "table_view_plural"
|
2819 |
Â
msgid "Custom"
|
2820 |
Â
msgstr ""
|
2821 |
Â
|
2822 |
-
#: includes/class-mla-mime-types.php:
|
2823 |
Â
msgid "icon"
|
2824 |
Â
msgstr ""
|
2825 |
Â
|
2826 |
-
#: includes/class-mla-mime-types.php:
|
2827 |
-
#: includes/class-mla-mime-types.php:
|
2828 |
Â
msgid "Cannot load Upload MIME Types"
|
2829 |
Â
msgstr ""
|
2830 |
Â
|
2831 |
-
#: includes/class-mla-mime-types.php:
|
2832 |
Â
msgid "Extension is required"
|
2833 |
Â
msgstr ""
|
2834 |
Â
|
2835 |
-
#: includes/class-mla-mime-types.php:
|
2836 |
-
#: includes/class-mla-mime-types.php:
|
2837 |
-
#: includes/class-mla-mime-types.php:
|
2838 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2839 |
-
#: includes/class-mla-settings-upload-tab.php:
|
2840 |
Â
msgid "Extension"
|
2841 |
Â
msgstr ""
|
2842 |
Â
|
2843 |
-
|
2844 |
-
#: includes/class-mla-mime-types.php:2213
|
2845 |
Â
#, php-format
|
2846 |
Â
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
2847 |
Â
msgstr ""
|
2848 |
Â
|
2849 |
-
#: includes/class-mla-mime-types.php:
|
2850 |
Â
msgid "MIME type is required"
|
2851 |
Â
msgstr ""
|
2852 |
Â
|
2853 |
-
|
2854 |
-
#: includes/class-mla-mime-types.php:
|
2855 |
-
#: includes/class-mla-mime-types.php:2373
|
2856 |
Â
#, php-format
|
2857 |
Â
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
2858 |
Â
msgstr ""
|
2859 |
Â
|
2860 |
-
|
2861 |
-
#: includes/class-mla-mime-types.php:2263
|
2862 |
Â
#, php-format
|
2863 |
Â
msgid "Upload MIME Type \"%1$s\"; added"
|
2864 |
Â
msgstr ""
|
2865 |
Â
|
2866 |
-
#: includes/class-mla-mime-types.php:
|
2867 |
-
#: includes/class-mla-mime-types.php:
|
2868 |
-
#: includes/class-mla-mime-types.php:
|
2869 |
Â
msgid "Cannot update Upload MIME Types"
|
2870 |
Â
msgstr ""
|
2871 |
Â
|
2872 |
-
|
2873 |
-
#: includes/class-mla-mime-types.php:2339
|
2874 |
Â
#, php-format
|
2875 |
Â
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
2876 |
Â
msgstr ""
|
2877 |
Â
|
2878 |
-
|
2879 |
-
#: includes/class-mla-mime-types.php:2438
|
2880 |
Â
#, php-format
|
2881 |
Â
msgid "Edit type \"%1$s\"; no changes detected"
|
2882 |
Â
msgstr ""
|
2883 |
Â
|
2884 |
-
|
2885 |
-
#: includes/class-mla-mime-types.php:2452
|
2886 |
Â
#, php-format
|
2887 |
Â
msgid "Edit type \"%1$s\"; updated"
|
2888 |
Â
msgstr ""
|
2889 |
Â
|
2890 |
-
|
2891 |
-
#: includes/class-mla-mime-types.php:2525
|
2892 |
Â
#, php-format
|
2893 |
Â
msgid "Upload MIME Type \"%1$s\"; reverted to standard"
|
2894 |
Â
msgstr ""
|
2895 |
Â
|
2896 |
-
|
2897 |
-
#: includes/class-mla-mime-types.php:2531
|
2898 |
Â
#, php-format
|
2899 |
Â
msgid "Upload MIME Type \"%1$s\"; deleted"
|
2900 |
Â
msgstr ""
|
2901 |
Â
|
2902 |
-
|
2903 |
-
#: includes/class-mla-mime-types.php:2546
|
2904 |
Â
#, php-format
|
2905 |
Â
msgid "%1$s: Did not find Upload type \"%2$s\""
|
2906 |
Â
msgstr ""
|
@@ -2985,7 +2940,6 @@ msgstr ""
|
|
2985 |
Â
msgid "Attachments"
|
2986 |
Â
msgstr ""
|
2987 |
Â
|
2988 |
-
#. translators: 1: ERROR tag 2: taxonomy 3: error message
|
2989 |
Â
#: includes/class-mla-objects.php:241
|
2990 |
Â
#, php-format
|
2991 |
Â
msgctxt "error_log"
|
@@ -3017,10 +2971,9 @@ msgstr ""
|
|
3017 |
Â
msgid "tpls/mla-option-templates.tpl not found"
|
3018 |
Â
msgstr ""
|
3019 |
Â
|
3020 |
-
#. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
|
3021 |
Â
#: includes/class-mla-options.php:219 includes/class-mla-options.php:421
|
3022 |
Â
#: includes/class-mla-options.php:500 includes/class-mla-options.php:1457
|
3023 |
-
#: includes/class-mla-options.php:
|
3024 |
Â
#, php-format
|
3025 |
Â
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
3026 |
Â
msgstr ""
|
@@ -3057,84 +3010,79 @@ msgstr ""
|
|
3057 |
Â
msgid "Taxonomy"
|
3058 |
Â
msgstr ""
|
3059 |
Â
|
3060 |
-
#. translators: 1: taxonomy name
|
3061 |
Â
#: includes/class-mla-options.php:358
|
3062 |
Â
#, php-format
|
3063 |
Â
msgid "List Filter ignored; %1$s not supported."
|
3064 |
Â
msgstr ""
|
3065 |
Â
|
3066 |
-
#. translators: 1: taxonomy name
|
3067 |
Â
#: includes/class-mla-options.php:365
|
3068 |
Â
#, php-format
|
3069 |
Â
msgid "Inline Edit ignored; %1$s not supported."
|
3070 |
Â
msgstr ""
|
3071 |
Â
|
3072 |
-
#. translators: 1: taxonomy name
|
3073 |
Â
#: includes/class-mla-options.php:373
|
3074 |
Â
#, php-format
|
3075 |
Â
msgid "Term Search ignored; %1$s not supported."
|
3076 |
Â
msgstr ""
|
3077 |
Â
|
3078 |
-
#. translators: 1: taxonomy name
|
3079 |
Â
#: includes/class-mla-options.php:383
|
3080 |
Â
#, php-format
|
3081 |
Â
msgid "Checklist ignored; %1$s not supported."
|
3082 |
Â
msgstr ""
|
3083 |
Â
|
3084 |
-
#. translators: 1: taxonomy name
|
3085 |
Â
#: includes/class-mla-options.php:391
|
3086 |
Â
#, php-format
|
3087 |
Â
msgid "Checked On Top ignored; %1$s not supported."
|
3088 |
Â
msgstr ""
|
3089 |
Â
|
3090 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
3091 |
Â
#: includes/class-mla-options.php:411 includes/class-mla-options.php:490
|
3092 |
Â
#, php-format
|
3093 |
Â
msgid "Update custom %1$s"
|
3094 |
Â
msgstr ""
|
3095 |
Â
|
3096 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
3097 |
Â
#: includes/class-mla-options.php:418 includes/class-mla-options.php:497
|
3098 |
-
#: includes/class-mla-options.php:
|
3099 |
Â
#, php-format
|
3100 |
Â
msgid "Reset custom %1$s"
|
3101 |
Â
msgstr ""
|
3102 |
Â
|
3103 |
Â
#: includes/class-mla-options.php:447
|
3104 |
-
#: includes/mla-main-search-box-template.php:
|
3105 |
Â
#: includes/mla-media-modal-js-template.php:32
|
3106 |
Â
msgid "and"
|
3107 |
Â
msgstr ""
|
3108 |
Â
|
3109 |
Â
#: includes/class-mla-options.php:449
|
3110 |
-
#: includes/mla-main-search-box-template.php:
|
3111 |
Â
#: includes/mla-media-modal-js-template.php:36
|
3112 |
Â
msgid "or"
|
3113 |
Â
msgstr ""
|
3114 |
Â
|
3115 |
Â
#: includes/class-mla-options.php:454
|
Â
|
|
Â
|
|
3116 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:407
|
3117 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:477
|
3118 |
-
#: includes/mla-main-search-box-template.php:
|
3119 |
Â
#: includes/mla-media-modal-js-template.php:44
|
3120 |
Â
msgid "Name"
|
3121 |
Â
msgstr ""
|
3122 |
Â
|
3123 |
Â
#: includes/class-mla-options.php:466
|
3124 |
-
#: includes/mla-main-search-box-template.php:
|
3125 |
Â
#: includes/mla-media-modal-js-template.php:61
|
3126 |
Â
msgid "File"
|
3127 |
Â
msgstr ""
|
3128 |
Â
|
3129 |
Â
#: includes/class-mla-options.php:469
|
3130 |
-
#: includes/mla-main-search-box-template.php:
|
3131 |
Â
#: includes/mla-media-modal-js-template.php:66
|
3132 |
Â
msgid "Terms"
|
3133 |
Â
msgstr ""
|
3134 |
Â
|
3135 |
Â
#: includes/class-mla-options.php:871 includes/class-mla-options.php:917
|
3136 |
-
#: includes/class-mla-options.php:
|
3137 |
-
#: includes/class-mla-settings-upload-tab.php:
|
3138 |
Â
msgid "None (select a value)"
|
3139 |
Â
msgstr ""
|
3140 |
Â
|
@@ -3146,95 +3094,98 @@ msgstr ""
|
|
3146 |
Â
msgid "Template (see below)"
|
3147 |
Â
msgstr ""
|
3148 |
Â
|
3149 |
-
|
3150 |
-
#: includes/class-mla-options.php:1003 includes/class-mla-options.php:2263
|
3151 |
Â
#, php-format
|
3152 |
Â
msgid "%1$s: New field %2$s already exists."
|
3153 |
Â
msgstr ""
|
3154 |
Â
|
3155 |
-
|
3156 |
-
#: includes/class-mla-options.php:1008 includes/class-mla-options.php:2268
|
3157 |
Â
#, php-format
|
3158 |
Â
msgid "Adding new field %1$s."
|
3159 |
Â
msgstr ""
|
3160 |
Â
|
3161 |
-
|
3162 |
-
#: includes/class-mla-options.php:1016 includes/class-mla-options.php:2276
|
3163 |
Â
#, php-format
|
3164 |
Â
msgid "Adding new rule for %1$s."
|
3165 |
Â
msgstr ""
|
3166 |
Â
|
3167 |
-
|
3168 |
-
#: includes/class-mla-options.php:
|
3169 |
-
#: includes/class-mla-options.php:2302
|
3170 |
Â
#, php-format
|
3171 |
Â
msgid "Deleting rule for %1$s."
|
3172 |
Â
msgstr ""
|
3173 |
Â
|
3174 |
-
#. translators: 1: custom field name 2: attribute 3: old value 4: new value
|
3175 |
Â
#: includes/class-mla-options.php:1065 includes/class-mla-options.php:1086
|
3176 |
Â
#: includes/class-mla-options.php:1136 includes/class-mla-options.php:1143
|
3177 |
-
#: includes/class-mla-options.php:
|
3178 |
-
#: includes/class-mla-options.php:
|
3179 |
-
#: includes/class-mla-options.php:
|
3180 |
-
#: includes/class-mla-options.php:
|
3181 |
-
#: includes/class-mla-options.php:
|
3182 |
-
#: includes/class-mla-options.php:
|
3183 |
Â
#, php-format
|
3184 |
Â
msgid "%1$s changing %2$s from %3$s to %4$s."
|
3185 |
Â
msgstr ""
|
3186 |
Â
|
3187 |
Â
#: includes/class-mla-options.php:1065 includes/class-mla-options.php:1414
|
Â
|
|
Â
|
|
3188 |
Â
msgid "Data Source"
|
3189 |
Â
msgstr ""
|
3190 |
Â
|
3191 |
-
#: includes/class-mla-options.php:1071 includes/class-mla-options.php:
|
3192 |
-
#: includes/class-mla-options.php:
|
3193 |
Â
msgid "Replace to Keep"
|
3194 |
Â
msgstr ""
|
3195 |
Â
|
3196 |
-
#: includes/class-mla-options.php:1074 includes/class-mla-options.php:
|
3197 |
-
#: includes/class-mla-options.php:
|
3198 |
Â
msgid "Keep to Replace"
|
3199 |
Â
msgstr ""
|
3200 |
Â
|
3201 |
-
#. translators: 1: custom field name 2: attribute 3: old value 'to' new value
|
3202 |
Â
#: includes/class-mla-options.php:1079 includes/class-mla-options.php:1100
|
3203 |
Â
#: includes/class-mla-options.php:1114 includes/class-mla-options.php:1128
|
3204 |
-
#: includes/class-mla-options.php:1157 includes/class-mla-options.php:
|
3205 |
-
#: includes/class-mla-options.php:
|
3206 |
-
#: includes/class-mla-options.php:
|
3207 |
-
#: includes/class-mla-options.php:
|
3208 |
Â
#, php-format
|
3209 |
Â
msgid "%1$s changing %2$s value from %3$s."
|
3210 |
Â
msgstr ""
|
3211 |
Â
|
3212 |
Â
#: includes/class-mla-options.php:1079 includes/class-mla-options.php:1415
|
3213 |
-
#: includes/class-mla-options.php:
|
3214 |
-
#: includes/class-mla-options.php:
|
3215 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3216 |
Â
msgid "Existing Text"
|
3217 |
Â
msgstr ""
|
3218 |
Â
|
3219 |
Â
#: includes/class-mla-options.php:1086 includes/class-mla-options.php:1416
|
3220 |
-
#: includes/class-mla-options.php:
|
3221 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3222 |
Â
msgid "Format"
|
3223 |
Â
msgstr ""
|
3224 |
Â
|
3225 |
Â
#: includes/class-mla-options.php:1092 includes/class-mla-options.php:1106
|
3226 |
Â
#: includes/class-mla-options.php:1120 includes/class-mla-options.php:1149
|
3227 |
-
#: includes/class-mla-options.php:
|
3228 |
Â
msgid "unchecked to checked"
|
3229 |
Â
msgstr ""
|
3230 |
Â
|
3231 |
Â
#: includes/class-mla-options.php:1095 includes/class-mla-options.php:1109
|
3232 |
Â
#: includes/class-mla-options.php:1123 includes/class-mla-options.php:1152
|
3233 |
-
#: includes/class-mla-options.php:
|
3234 |
Â
msgid "checked to unchecked"
|
3235 |
Â
msgstr ""
|
3236 |
Â
|
3237 |
Â
#: includes/class-mla-options.php:1100 includes/class-mla-options.php:1417
|
Â
|
|
Â
|
|
Â
|
|
3238 |
Â
msgid "MLA Column"
|
3239 |
Â
msgstr ""
|
3240 |
Â
|
@@ -3244,123 +3195,145 @@ msgstr ""
|
|
3244 |
Â
|
3245 |
Â
#: includes/class-mla-options.php:1143 includes/class-mla-options.php:1251
|
3246 |
Â
#: includes/class-mla-options.php:1350 includes/class-mla-options.php:1394
|
3247 |
-
#: includes/class-mla-options.php:
|
3248 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3249 |
Â
msgid "Option"
|
3250 |
Â
msgstr ""
|
3251 |
Â
|
3252 |
Â
#: includes/class-mla-options.php:1157 includes/class-mla-options.php:1263
|
3253 |
Â
#: includes/class-mla-options.php:1362 includes/class-mla-options.php:1406
|
3254 |
-
#: includes/class-mla-options.php:
|
3255 |
-
#: includes/class-mla-options.php:
|
3256 |
Â
msgid "Delete NULL values"
|
3257 |
Â
msgstr ""
|
3258 |
Â
|
3259 |
-
#: includes/class-mla-options.php:1196 includes/class-mla-options.php:
|
3260 |
Â
msgid "No Custom Field Mapping Rules Defined"
|
3261 |
Â
msgstr ""
|
3262 |
Â
|
3263 |
Â
#: includes/class-mla-options.php:1237 includes/class-mla-options.php:1336
|
3264 |
-
#: includes/class-mla-options.php:1380 includes/class-mla-options.php:
|
3265 |
-
#: includes/class-mla-options.php:
|
3266 |
-
#: includes/class-mla-options.php:
|
3267 |
-
#: includes/class-mla-
|
Â
|
|
Â
|
|
Â
|
|
3268 |
Â
msgid "Keep"
|
3269 |
Â
msgstr ""
|
3270 |
Â
|
3271 |
Â
#: includes/class-mla-options.php:1241 includes/class-mla-options.php:1340
|
3272 |
-
#: includes/class-mla-options.php:1384 includes/class-mla-options.php:
|
3273 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3274 |
Â
msgid "Native"
|
3275 |
Â
msgstr ""
|
3276 |
Â
|
3277 |
Â
#: includes/class-mla-options.php:1243 includes/class-mla-options.php:1342
|
3278 |
-
#: includes/class-mla-options.php:1386 includes/class-mla-options.php:
|
3279 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3280 |
Â
msgid "Commas"
|
3281 |
Â
msgstr ""
|
3282 |
Â
|
3283 |
Â
#: includes/class-mla-options.php:1245 includes/class-mla-options.php:1344
|
3284 |
-
#: includes/class-mla-options.php:1388 includes/class-mla-options.php:
|
3285 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3286 |
Â
msgid "Raw"
|
3287 |
Â
msgstr ""
|
3288 |
Â
|
3289 |
Â
#: includes/class-mla-options.php:1253 includes/class-mla-options.php:1352
|
3290 |
-
#: includes/class-mla-options.php:1396 includes/class-mla-options.php:
|
3291 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3292 |
Â
msgid "Text"
|
3293 |
Â
msgstr ""
|
3294 |
Â
|
3295 |
Â
#: includes/class-mla-options.php:1255 includes/class-mla-options.php:1354
|
3296 |
-
#: includes/class-mla-options.php:1398 includes/class-mla-options.php:
|
3297 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3298 |
Â
msgid "Single"
|
3299 |
Â
msgstr ""
|
3300 |
Â
|
3301 |
Â
#: includes/class-mla-options.php:1257 includes/class-mla-options.php:1356
|
3302 |
-
#: includes/class-mla-options.php:1400 includes/class-mla-options.php:
|
3303 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3304 |
Â
msgid "Export"
|
3305 |
Â
msgstr ""
|
3306 |
Â
|
3307 |
Â
#: includes/class-mla-options.php:1259 includes/class-mla-options.php:1358
|
3308 |
-
#: includes/class-mla-options.php:1402 includes/class-mla-options.php:
|
3309 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3310 |
Â
msgid "Array"
|
3311 |
Â
msgstr ""
|
3312 |
Â
|
3313 |
Â
#: includes/class-mla-options.php:1261 includes/class-mla-options.php:1360
|
3314 |
-
#: includes/class-mla-options.php:1404 includes/class-mla-options.php:
|
3315 |
-
#: includes/class-mla-options.php:
|
Â
|
|
Â
|
|
3316 |
Â
msgid "Multi"
|
3317 |
Â
msgstr ""
|
3318 |
Â
|
3319 |
-
#: includes/class-mla-options.php:1264 includes/class-mla-options.php:
|
3320 |
Â
msgid "Delete Rule"
|
3321 |
Â
msgstr ""
|
3322 |
Â
|
3323 |
-
#: includes/class-mla-options.php:1265 includes/class-mla-options.php:
|
3324 |
Â
msgid "Delete Rule AND Field"
|
3325 |
Â
msgstr ""
|
3326 |
Â
|
3327 |
-
#: includes/class-mla-options.php:1266 includes/class-mla-options.php:
|
3328 |
Â
msgid "Update Rule"
|
3329 |
Â
msgstr ""
|
3330 |
Â
|
3331 |
-
#: includes/class-mla-options.php:1267 includes/class-mla-options.php:
|
3332 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3333 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:547
|
3334 |
Â
msgid "Map All Attachments"
|
3335 |
Â
msgstr ""
|
3336 |
Â
|
3337 |
-
#: includes/class-mla-options.php:1331 includes/class-mla-options.php:
|
3338 |
Â
msgid "Add a new Mapping Rule"
|
3339 |
Â
msgstr ""
|
3340 |
Â
|
3341 |
-
#: includes/class-mla-options.php:1363 includes/class-mla-options.php:
|
Â
|
|
3342 |
Â
msgid "Add Rule"
|
3343 |
Â
msgstr ""
|
3344 |
Â
|
3345 |
-
#: includes/class-mla-options.php:1364 includes/class-mla-options.php:
|
3346 |
Â
msgid "Add Rule and Map All Attachments"
|
3347 |
Â
msgstr ""
|
3348 |
Â
|
3349 |
-
#: includes/class-mla-options.php:1375 includes/class-mla-options.php:
|
3350 |
Â
msgid "Add a new Field and Mapping Rule"
|
3351 |
Â
msgstr ""
|
3352 |
Â
|
3353 |
-
#: includes/class-mla-options.php:1407 includes/class-mla-options.php:
|
3354 |
Â
msgid "Add Field"
|
3355 |
Â
msgstr ""
|
3356 |
Â
|
3357 |
-
#: includes/class-mla-options.php:1408 includes/class-mla-options.php:
|
3358 |
Â
msgid "Add Field and Map All Attachments"
|
3359 |
Â
msgstr ""
|
3360 |
Â
|
3361 |
-
#: includes/class-mla-options.php:1413 includes/class-mla-options.php:
|
3362 |
-
#: includes/class-mla-options.php:
|
3363 |
-
#: includes/class-mla-options.php:
|
3364 |
Â
msgid "Field Title"
|
3365 |
Â
msgstr ""
|
3366 |
Â
|
@@ -3373,12 +3346,11 @@ msgid "Custom field mapping rules update failed."
|
|
3373 |
Â
msgstr ""
|
3374 |
Â
|
3375 |
Â
#: includes/class-mla-options.php:1443
|
3376 |
-
#: includes/class-mla-settings-custom-fields-tab.php:409
|
3377 |
-
#: includes/class-mla-settings-custom-fields-tab.php:415
|
3378 |
Â
msgid "Custom field no mapping rule changes detected."
|
3379 |
Â
msgstr ""
|
3380 |
Â
|
3381 |
Â
#: includes/class-mla-options.php:1451
|
Â
|
|
3382 |
Â
msgid "Custom field mapping settings saved."
|
3383 |
Â
msgstr ""
|
3384 |
Â
|
@@ -3386,293 +3358,285 @@ msgstr ""
|
|
3386 |
Â
msgid "Custom field mapping settings reset failed."
|
3387 |
Â
msgstr ""
|
3388 |
Â
|
3389 |
-
|
3390 |
-
#: includes/class-mla-options.php:2041
|
3391 |
Â
#, php-format
|
3392 |
Â
msgid "%1$s: No old values for %2$s."
|
3393 |
Â
msgstr ""
|
3394 |
Â
|
3395 |
-
#: includes/class-mla-options.php:
|
3396 |
-
#: includes/class-mla-options.php:
|
3397 |
-
#: includes/class-mla-options.php:
|
3398 |
Â
msgid "IPTC Value"
|
3399 |
Â
msgstr ""
|
3400 |
Â
|
3401 |
-
#: includes/class-mla-options.php:
|
3402 |
-
#: includes/class-mla-options.php:
|
3403 |
Â
msgid "EXIF Value"
|
3404 |
Â
msgstr ""
|
3405 |
Â
|
3406 |
-
#: includes/class-mla-options.php:
|
3407 |
-
#: includes/class-mla-options.php:
|
3408 |
Â
msgid "EXIF to IPTC"
|
3409 |
Â
msgstr ""
|
3410 |
Â
|
3411 |
-
#: includes/class-mla-options.php:
|
3412 |
-
#: includes/class-mla-options.php:
|
3413 |
Â
msgid "IPTC to EXIF"
|
3414 |
Â
msgstr ""
|
3415 |
Â
|
3416 |
-
#: includes/class-mla-options.php:
|
3417 |
-
#: includes/class-mla-options.php:
|
3418 |
-
#: includes/class-mla-options.php:
|
3419 |
Â
msgid "Priority"
|
3420 |
Â
msgstr ""
|
3421 |
Â
|
3422 |
-
#: includes/class-mla-options.php:
|
3423 |
Â
msgid "Delimiter(s)"
|
3424 |
Â
msgstr ""
|
3425 |
Â
|
3426 |
-
#: includes/class-mla-options.php:
|
3427 |
-
#: includes/class-mla-options.php:
|
3428 |
-
#: includes/class-mla-options.php:
|
3429 |
Â
msgid "IPTC"
|
3430 |
Â
msgstr ""
|
3431 |
Â
|
3432 |
-
#: includes/class-mla-options.php:
|
3433 |
-
#: includes/class-mla-options.php:
|
3434 |
-
#: includes/class-mla-options.php:
|
3435 |
Â
msgid "EXIF"
|
3436 |
Â
msgstr ""
|
3437 |
Â
|
3438 |
-
#: includes/class-mla-options.php:
|
3439 |
-
#: includes/class-mla-options.php:
|
3440 |
Â
msgid "EXIF/Template Value"
|
3441 |
Â
msgstr ""
|
3442 |
Â
|
3443 |
-
|
3444 |
-
#: includes/class-mla-options.php:2832
|
3445 |
Â
#, php-format
|
3446 |
Â
msgid "%1$s: Render unknown custom %2$s."
|
3447 |
Â
msgstr ""
|
3448 |
Â
|
3449 |
-
|
3450 |
-
#: includes/class-mla-options.php:2876
|
3451 |
Â
#, php-format
|
3452 |
Â
msgid "%1$s: Update/delete unknown custom %2$s."
|
3453 |
Â
msgstr ""
|
3454 |
Â
|
3455 |
-
#: includes/class-mla-options.php:
|
3456 |
Â
msgid "IPTC/EXIF mapping settings updated."
|
3457 |
Â
msgstr ""
|
3458 |
Â
|
3459 |
-
#: includes/class-mla-options.php:
|
3460 |
Â
msgid "IPTC/EXIF settings update failed."
|
3461 |
Â
msgstr ""
|
3462 |
Â
|
3463 |
-
#: includes/class-mla-options.php:
|
3464 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:595
|
3465 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:601
|
3466 |
Â
msgid "IPTC/EXIF no mapping changes detected."
|
3467 |
Â
msgstr ""
|
3468 |
Â
|
3469 |
-
|
3470 |
-
#: includes/class-mla-options.php:
|
3471 |
-
#: includes/class-mla-options.php:2918
|
3472 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:324
|
3473 |
Â
#, php-format
|
3474 |
Â
msgid "%1$s settings saved."
|
3475 |
Â
msgstr ""
|
3476 |
Â
|
3477 |
-
#: includes/class-mla-options.php:
|
3478 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
3479 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:188
|
3480 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:191
|
3481 |
Â
msgid "Standard field"
|
3482 |
Â
msgstr ""
|
3483 |
Â
|
3484 |
-
|
3485 |
-
#: includes/class-mla-options.php:
|
3486 |
-
#: includes/class-mla-options.php:2921
|
3487 |
Â
#, php-format
|
3488 |
Â
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
3489 |
Â
msgstr ""
|
3490 |
Â
|
3491 |
-
#: includes/class-mla-options.php:
|
3492 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:220
|
3493 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:263
|
3494 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:266
|
3495 |
Â
msgid "Taxonomy term"
|
3496 |
Â
msgstr ""
|
3497 |
Â
|
3498 |
-
#: includes/class-mla-options.php:
|
3499 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3500 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3501 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:310
|
3502 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:352
|
3503 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:355
|
3504 |
Â
msgid "Custom field"
|
3505 |
Â
msgstr ""
|
3506 |
Â
|
3507 |
-
|
3508 |
-
#: includes/class-mla-options.php:2929
|
3509 |
Â
#, php-format
|
3510 |
Â
msgid "%1$s: Reset unknown custom %2$s"
|
3511 |
Â
msgstr ""
|
3512 |
Â
|
3513 |
-
#: includes/class-mla-polylang-support.php:
|
3514 |
Â
msgid "ERROR: No post ID found"
|
3515 |
Â
msgstr ""
|
3516 |
Â
|
3517 |
-
#: includes/class-mla-polylang-support.php:
|
3518 |
Â
msgid "Error while saving the translations."
|
3519 |
Â
msgstr ""
|
3520 |
Â
|
3521 |
-
#: includes/class-mla-polylang-support.php:
|
3522 |
Â
msgid "Remove From Bulk Translate"
|
3523 |
Â
msgstr ""
|
3524 |
Â
|
3525 |
-
#: includes/class-mla-polylang-support.php:
|
3526 |
Â
msgid "Bulk Translate items"
|
3527 |
Â
msgstr ""
|
3528 |
Â
|
3529 |
-
#: includes/class-mla-polylang-support.php:
|
3530 |
Â
msgid "Add new"
|
3531 |
Â
msgstr ""
|
3532 |
Â
|
3533 |
-
#: includes/class-mla-polylang-support.php:
|
3534 |
-
#: includes/class-mla-polylang-support.php:
|
3535 |
-
#: includes/class-mla-thumbnail-generation.php:572
|
3536 |
Â
msgid "Bulk Translations"
|
3537 |
Â
msgstr ""
|
3538 |
Â
|
3539 |
-
#: includes/class-mla-polylang-support.php:
|
3540 |
Â
msgid "Translate"
|
3541 |
Â
msgstr ""
|
3542 |
Â
|
3543 |
-
#: includes/class-mla-polylang-support.php:
|
3544 |
Â
msgid "All Languages"
|
3545 |
Â
msgstr ""
|
3546 |
Â
|
3547 |
-
#: includes/class-mla-polylang-support.php:
|
3548 |
-
#: includes/class-mla-polylang-support.php:
|
3549 |
-
#: includes/class-mla-polylang-support.php:
|
3550 |
Â
msgid "Quick Translate"
|
3551 |
Â
msgstr ""
|
3552 |
Â
|
3553 |
-
#: includes/class-mla-polylang-support.php:
|
3554 |
Â
msgid "Set Language"
|
3555 |
Â
msgstr ""
|
3556 |
Â
|
3557 |
-
#: includes/class-mla-polylang-support.php:
|
3558 |
-
#: includes/class-mla-polylang-support.php:
|
3559 |
Â
msgid "Bulk Translate"
|
3560 |
Â
msgstr ""
|
3561 |
Â
|
3562 |
-
#: includes/class-mla-polylang-support.php:
|
3563 |
Â
msgid "Add or Modify Translation"
|
3564 |
Â
msgstr ""
|
3565 |
Â
|
3566 |
-
#: includes/class-mla-polylang-support.php:
|
3567 |
-
#: includes/class-mla-polylang-support.php:
|
3568 |
-
#: includes/class-mla-polylang-support.php:
|
3569 |
-
#: includes/class-mla-polylang-support.php:
|
3570 |
Â
#: includes/class-mla-wpml-support.php:1550
|
3571 |
Â
#: includes/class-mla-wpml-support.php:1640
|
3572 |
Â
#: includes/class-mla-wpml-support.php:2085
|
3573 |
Â
msgid "Language"
|
3574 |
Â
msgstr ""
|
3575 |
Â
|
3576 |
-
#: includes/class-mla-polylang-support.php:
|
3577 |
-
#: includes/class-mla-thumbnail-generation.php:
|
3578 |
Â
msgid "Options"
|
3579 |
Â
msgstr ""
|
3580 |
Â
|
3581 |
-
#: includes/class-mla-polylang-support.php:
|
3582 |
Â
msgid "Translate this item inline"
|
3583 |
Â
msgstr ""
|
3584 |
Â
|
3585 |
-
#: includes/class-mla-polylang-support.php:
|
3586 |
-
#: includes/class-mla-polylang-support.php:
|
3587 |
Â
#: includes/class-mla-wpml-support.php:1585
|
3588 |
Â
#: includes/class-mla-wpml-support.php:1688
|
3589 |
Â
msgid "Media/Assistant submenu table"
|
3590 |
Â
msgstr ""
|
3591 |
Â
|
3592 |
-
#: includes/class-mla-polylang-support.php:
|
3593 |
Â
#: includes/class-mla-wpml-support.php:1590
|
3594 |
Â
msgid "Language Column"
|
3595 |
Â
msgstr ""
|
3596 |
Â
|
3597 |
-
#: includes/class-mla-polylang-support.php:
|
3598 |
Â
#: includes/class-mla-wpml-support.php:1593
|
3599 |
Â
msgid ""
|
3600 |
Â
"Check this option to add a Language column to the Media/Assistant submenu "
|
3601 |
Â
"table."
|
3602 |
Â
msgstr ""
|
3603 |
Â
|
3604 |
-
#: includes/class-mla-polylang-support.php:
|
3605 |
Â
#: includes/class-mla-wpml-support.php:1597
|
3606 |
Â
msgid "Translations Column"
|
3607 |
Â
msgstr ""
|
3608 |
Â
|
3609 |
-
#: includes/class-mla-polylang-support.php:
|
3610 |
Â
#: includes/class-mla-wpml-support.php:1600
|
3611 |
Â
msgid ""
|
3612 |
Â
"Check this option to add a Translation Status column to the Media/Assistant "
|
3613 |
Â
"submenu table."
|
3614 |
Â
msgstr ""
|
3615 |
Â
|
3616 |
-
#: includes/class-mla-polylang-support.php:
|
3617 |
Â
msgid ""
|
3618 |
Â
"Check this option to add a Quick Translate rollover action to the Media/"
|
3619 |
Â
"Assistant submenu table."
|
3620 |
Â
msgstr ""
|
3621 |
Â
|
3622 |
-
#: includes/class-mla-polylang-support.php:
|
3623 |
Â
msgid ""
|
3624 |
Â
"Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
|
3625 |
Â
"the Media/Assistant submenu table."
|
3626 |
Â
msgstr ""
|
3627 |
Â
|
3628 |
-
#: includes/class-mla-polylang-support.php:
|
3629 |
-
#: includes/class-mla-polylang-support.php:
|
3630 |
Â
#: includes/class-mla-wpml-support.php:1604
|
3631 |
Â
#: includes/class-mla-wpml-support.php:1688
|
3632 |
Â
msgid "Term Management"
|
3633 |
Â
msgstr ""
|
3634 |
Â
|
3635 |
-
#: includes/class-mla-polylang-support.php:
|
3636 |
Â
#: includes/class-mla-wpml-support.php:1609
|
3637 |
Â
msgid "Term Assignment"
|
3638 |
Â
msgstr ""
|
3639 |
Â
|
3640 |
-
#: includes/class-mla-polylang-support.php:
|
3641 |
Â
#: includes/class-mla-wpml-support.php:1612
|
3642 |
Â
msgid ""
|
3643 |
Â
"Check this option to assign language-specific terms when items are updated."
|
3644 |
Â
msgstr ""
|
3645 |
Â
|
3646 |
-
#: includes/class-mla-polylang-support.php:
|
3647 |
Â
#: includes/class-mla-wpml-support.php:1616
|
3648 |
Â
msgid "Term Synchronization"
|
3649 |
Â
msgstr ""
|
3650 |
Â
|
3651 |
-
#: includes/class-mla-polylang-support.php:
|
3652 |
Â
#: includes/class-mla-wpml-support.php:1619
|
3653 |
Â
msgid ""
|
3654 |
Â
"Check this option to synchronize common terms among all item translations."
|
3655 |
Â
msgstr ""
|
3656 |
Â
|
3657 |
-
#: includes/class-mla-polylang-support.php:
|
3658 |
Â
#: includes/class-mla-wpml-support.php:1623
|
3659 |
Â
msgid "Term Mapping Replication"
|
3660 |
Â
msgstr ""
|
3661 |
Â
|
3662 |
-
#: includes/class-mla-polylang-support.php:
|
3663 |
Â
#: includes/class-mla-wpml-support.php:1626
|
3664 |
Â
msgid ""
|
3665 |
Â
"When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
|
3666 |
Â
"all languages."
|
3667 |
Â
msgstr ""
|
3668 |
Â
|
3669 |
-
#: includes/class-mla-polylang-support.php:
|
3670 |
Â
#: includes/class-mla-wpml-support.php:1686
|
3671 |
Â
msgid "Language Options"
|
3672 |
Â
msgstr ""
|
3673 |
Â
|
3674 |
-
|
3675 |
-
#: includes/class-mla-polylang-support.php:2530
|
3676 |
Â
#, php-format
|
3677 |
Â
msgid ""
|
3678 |
Â
"In this tab you can find a number of options for controlling Polylang-"
|
@@ -3681,8 +3645,7 @@ msgid ""
|
|
3681 |
Â
"make."
|
3682 |
Â
msgstr ""
|
3683 |
Â
|
3684 |
-
|
3685 |
-
#: includes/class-mla-polylang-support.php:2532
|
3686 |
Â
#: includes/class-mla-wpml-support.php:1690
|
3687 |
Â
#, php-format
|
3688 |
Â
msgid ""
|
@@ -3690,102 +3653,101 @@ msgid ""
|
|
3690 |
Â
"section of the Documentation."
|
3691 |
Â
msgstr ""
|
3692 |
Â
|
3693 |
-
#: includes/class-mla-polylang-support.php:
|
3694 |
Â
#: includes/class-mla-wpml-support.php:1690
|
3695 |
Â
msgid "Language Options documentation"
|
3696 |
Â
msgstr ""
|
3697 |
Â
|
3698 |
-
#: includes/class-mla-polylang-support.php:
|
3699 |
Â
#: includes/class-mla-wpml-support.php:1690
|
3700 |
Â
msgid "WPML & Polylang Multilingual Support; the MLA Language Tab"
|
3701 |
Â
msgstr ""
|
3702 |
Â
|
3703 |
-
#: includes/class-mla-polylang-support.php:
|
3704 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3705 |
-
#: includes/class-mla-settings-custom-fields-tab.php:315
|
3706 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:486
|
3707 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:488
|
3708 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
3709 |
-
#: includes/class-mla-settings-upload-tab.php:
|
3710 |
-
#: includes/class-mla-settings-upload-tab.php:
|
3711 |
-
#: includes/class-mla-settings-view-tab.php:
|
3712 |
-
#: includes/class-mla-settings-view-tab.php:
|
3713 |
-
#: includes/class-mla-settings.php:
|
3714 |
-
#: includes/class-mla-settings.php:
|
3715 |
Â
#: includes/class-mla-wpml-support.php:1693
|
3716 |
Â
msgid "Save Changes"
|
3717 |
Â
msgstr ""
|
3718 |
Â
|
3719 |
-
#: includes/class-mla-polylang-support.php:
|
3720 |
Â
#: includes/class-mla-wpml-support.php:1694
|
3721 |
Â
msgid "Delete Language options and restore default settings"
|
3722 |
Â
msgstr ""
|
3723 |
Â
|
3724 |
-
#: includes/class-mla-polylang-support.php:
|
3725 |
-
#: includes/class-mla-settings.php:
|
3726 |
Â
#: includes/class-mla-wpml-support.php:1697
|
3727 |
Â
msgid "Go to Top"
|
3728 |
Â
msgstr ""
|
3729 |
Â
|
3730 |
-
#: includes/class-mla-polylang-support.php:
|
3731 |
Â
#: includes/class-mla-wpml-support.php:1734
|
3732 |
Â
msgid "Language settings saved."
|
3733 |
Â
msgstr ""
|
3734 |
Â
|
3735 |
-
|
3736 |
-
#: includes/class-mla-
|
3737 |
-
#: includes/class-mla-settings.php:1597
|
3738 |
Â
#: includes/class-mla-wpml-support.php:1765
|
3739 |
Â
#, php-format
|
3740 |
Â
msgctxt "message_list"
|
3741 |
Â
msgid "delete_option \"%1$s\""
|
3742 |
Â
msgstr ""
|
3743 |
Â
|
3744 |
-
#: includes/class-mla-polylang-support.php:
|
3745 |
Â
#: includes/class-mla-wpml-support.php:1773
|
3746 |
Â
msgid "Language settings reset to default values."
|
3747 |
Â
msgstr ""
|
3748 |
Â
|
3749 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
Â
|
|
3750 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:36
|
3751 |
Â
#: includes/class-mla-settings-upload-tab.php:45
|
3752 |
Â
#: includes/class-mla-settings-view-tab.php:45
|
3753 |
Â
msgid "Error while making the changes."
|
3754 |
Â
msgstr ""
|
3755 |
Â
|
3756 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
Â
|
|
3757 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:38
|
3758 |
Â
#: includes/class-mla-settings-upload-tab.php:47
|
3759 |
Â
#: includes/class-mla-settings-view-tab.php:47
|
3760 |
Â
msgid "no slug"
|
3761 |
Â
msgstr ""
|
3762 |
Â
|
3763 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3764 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:44
|
3765 |
Â
msgid "Running"
|
3766 |
Â
msgstr ""
|
3767 |
Â
|
3768 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3769 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:49
|
3770 |
Â
msgid "Skipped"
|
3771 |
Â
msgstr ""
|
3772 |
Â
|
3773 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3774 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:50
|
3775 |
Â
msgid "Reprocessed"
|
3776 |
Â
msgstr ""
|
3777 |
Â
|
3778 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3779 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:51
|
3780 |
Â
msgid "PAUSED"
|
3781 |
Â
msgstr ""
|
3782 |
Â
|
3783 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3784 |
Â
msgid "No custom field mapping rules to process."
|
3785 |
Â
msgstr ""
|
3786 |
Â
|
3787 |
-
|
3788 |
-
#: includes/class-mla-settings-custom-fields-tab.php:179
|
3789 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:188
|
3790 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:263
|
3791 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:352
|
@@ -3793,8 +3755,7 @@ msgstr ""
|
|
3793 |
Â
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3794 |
Â
msgstr ""
|
3795 |
Â
|
3796 |
-
|
3797 |
-
#: includes/class-mla-settings-custom-fields-tab.php:182
|
3798 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:191
|
3799 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:266
|
3800 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:355
|
@@ -3803,46 +3764,186 @@ msgid ""
|
|
3803 |
Â
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3804 |
Â
msgstr ""
|
3805 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3806 |
Â
#: includes/class-mla-settings-custom-fields-tab.php:284
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3807 |
Â
msgid "Custom Field Mapping Progress"
|
3808 |
Â
msgstr ""
|
3809 |
Â
|
3810 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3811 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:453
|
3812 |
Â
msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
|
3813 |
Â
msgstr ""
|
3814 |
Â
|
3815 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3816 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:454
|
3817 |
Â
msgid "Close the window"
|
3818 |
Â
msgstr ""
|
3819 |
Â
|
3820 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3821 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:455
|
3822 |
Â
msgid "Reload the page"
|
3823 |
Â
msgstr ""
|
3824 |
Â
|
3825 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3826 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:456
|
3827 |
Â
msgid "Click the browser’s Stop, Back or forward buttons"
|
3828 |
Â
msgstr ""
|
3829 |
Â
|
3830 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3831 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:457
|
3832 |
Â
msgid "Progress"
|
3833 |
Â
msgstr ""
|
3834 |
Â
|
3835 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3836 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:458
|
3837 |
Â
msgid "Pause"
|
3838 |
Â
msgstr ""
|
3839 |
Â
|
3840 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3841 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:460
|
3842 |
Â
msgid "Resume"
|
3843 |
Â
msgstr ""
|
3844 |
Â
|
3845 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3846 |
Â
#: includes/class-mla-settings-documentation-tab.php:107
|
3847 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:461
|
3848 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:481
|
@@ -3855,83 +3956,164 @@ msgstr ""
|
|
3855 |
Â
msgid "Close"
|
3856 |
Â
msgstr ""
|
3857 |
Â
|
3858 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3859 |
-
#: includes/class-mla-settings-custom-fields-tab.php:306
|
3860 |
Â
msgid "Custom Field and Attachment Metadata Processing Options"
|
3861 |
Â
msgstr ""
|
3862 |
Â
|
3863 |
-
|
3864 |
-
#: includes/class-mla-settings-custom-fields-tab.php:304
|
3865 |
-
#, php-format
|
3866 |
Â
msgid ""
|
3867 |
Â
"In this tab you can define the rules for mapping several types of image "
|
3868 |
Â
"metadata to WordPress custom fields. You can also use this screen to define "
|
3869 |
Â
"rules for adding or updating fields within the WordPress-supplied "
|
3870 |
Â
"\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
|
3871 |
-
"field.
|
3872 |
Â
msgstr ""
|
3873 |
Â
|
3874 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3875 |
-
msgid "
|
Â
|
|
Â
|
|
Â
|
|
3876 |
Â
msgstr ""
|
3877 |
Â
|
3878 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3879 |
-
|
Â
|
|
3880 |
Â
msgstr ""
|
3881 |
Â
|
3882 |
-
|
3883 |
-
|
3884 |
-
#: includes/class-mla-settings-iptc-exif-tab.php:473
|
3885 |
-
#, php-format
|
3886 |
-
msgid ""
|
3887 |
-
"You can find more information about using the controls in this tab to define "
|
3888 |
-
"mapping rules and apply them in the %1$s section of the Documentation."
|
3889 |
Â
msgstr ""
|
3890 |
Â
|
3891 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3892 |
-
msgid "
|
3893 |
Â
msgstr ""
|
3894 |
Â
|
3895 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3896 |
-
|
3897 |
-
msgid "Custom field mapping"
|
3898 |
Â
msgstr ""
|
3899 |
Â
|
3900 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3901 |
-
|
3902 |
-
#: includes/class-mla-settings-custom-fields-tab.php:360
|
3903 |
-
msgid "Map All Rules, All Attachments Now"
|
3904 |
Â
msgstr ""
|
3905 |
Â
|
3906 |
-
|
3907 |
-
#: includes/class-mla-settings-custom-fields-tab.php:
|
3908 |
-
|
3909 |
-
msgid ""
|
3910 |
-
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
3911 |
-
"all rule changes and additions at once. <strong>No rule mapping will be "
|
3912 |
-
"performed.</strong>"
|
3913 |
Â
msgstr ""
|
3914 |
Â
|
3915 |
-
|
3916 |
-
|
3917 |
-
|
3918 |
-
|
3919 |
-
|
3920 |
-
"not
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3921 |
Â
msgstr ""
|
3922 |
Â
|
3923 |
-
#. translators: 1: plugin name
|
3924 |
Â
#: includes/class-mla-settings-documentation-tab.php:82
|
3925 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
3926 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
3927 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
3928 |
Â
#, php-format
|
3929 |
Â
msgid "Example plugin \"%1$s\" not found"
|
3930 |
Â
msgstr ""
|
3931 |
Â
|
3932 |
-
#. translators: 1: ERROR tag 2: file type 3: file name 4: error message
|
3933 |
Â
#: includes/class-mla-settings-documentation-tab.php:97
|
3934 |
-
#: includes/class-mla-settings.php:
|
3935 |
Â
#, php-format
|
3936 |
Â
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
3937 |
Â
msgstr ""
|
@@ -3945,9 +4127,9 @@ msgid "View Plugin"
|
|
3945 |
Â
msgstr ""
|
3946 |
Â
|
3947 |
Â
#: includes/class-mla-settings-documentation-tab.php:154
|
3948 |
-
#: includes/class-mla-settings-upload-tab.php:
|
3949 |
-
#: includes/class-mla-settings-upload-tab.php:
|
3950 |
-
#: includes/class-mla-settings-view-tab.php:
|
3951 |
Â
msgid "Displaying search results for"
|
3952 |
Â
msgstr ""
|
3953 |
Â
|
@@ -3959,7 +4141,6 @@ msgid ""
|
|
3959 |
Â
"the plugins you must go to the Plugins/Installed Plugins admin submenu."
|
3960 |
Â
msgstr ""
|
3961 |
Â
|
3962 |
-
#. translators: 1: Documentation hyperlink
|
3963 |
Â
#: includes/class-mla-settings-documentation-tab.php:157
|
3964 |
Â
#, php-format
|
3965 |
Â
msgid ""
|
@@ -3992,156 +4173,124 @@ msgstr ""
|
|
3992 |
Â
msgid "Searches Name, Description, File Name and Tags"
|
3993 |
Â
msgstr ""
|
3994 |
Â
|
3995 |
-
#. translators: 1: bulk_action, e.g., delete, edit, restore, trash
|
3996 |
-
#: includes/class-mla-settings-documentation-tab.php:237
|
3997 |
-
#: includes/class-mla-settings-shortcodes-tab.php:557
|
3998 |
-
#: includes/class-mla-settings-upload-tab.php:399
|
3999 |
-
#: includes/class-mla-settings-view-tab.php:243
|
4000 |
-
#, php-format
|
4001 |
-
msgid "Unknown bulk action %1$s"
|
4002 |
-
msgstr ""
|
4003 |
-
|
4004 |
-
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
4005 |
Â
#: includes/class-mla-settings-documentation-tab.php:262
|
4006 |
Â
#, php-format
|
4007 |
Â
msgid "Empty mla_item_ID - \"%1$s\""
|
4008 |
Â
msgstr ""
|
4009 |
Â
|
4010 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4011 |
Â
msgctxt "list_table_column"
|
4012 |
Â
msgid "Current Version"
|
4013 |
Â
msgstr ""
|
4014 |
Â
|
4015 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4016 |
Â
msgctxt "list_table_column"
|
4017 |
Â
msgid "Installed Version"
|
4018 |
Â
msgstr ""
|
4019 |
Â
|
4020 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4021 |
Â
msgctxt "list_table_column"
|
4022 |
Â
msgid "File Name"
|
4023 |
Â
msgstr ""
|
4024 |
Â
|
4025 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4026 |
Â
msgctxt "list_table_column"
|
4027 |
Â
msgid "Tags"
|
4028 |
Â
msgstr ""
|
4029 |
Â
|
4030 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4031 |
Â
msgid "Install this plugin"
|
4032 |
Â
msgstr ""
|
4033 |
Â
|
4034 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4035 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4036 |
Â
msgid "Install"
|
4037 |
Â
msgstr ""
|
4038 |
Â
|
4039 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4040 |
Â
msgid "Update this plugin"
|
4041 |
Â
msgstr ""
|
4042 |
Â
|
4043 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4044 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4045 |
Â
msgid "View this item"
|
4046 |
Â
msgstr ""
|
4047 |
Â
|
4048 |
-
|
4049 |
-
#: includes/class-mla-settings-documentation-tab.php:999
|
4050 |
Â
#, php-format
|
4051 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken. Error: %2$s"
|
4052 |
Â
msgstr ""
|
4053 |
Â
|
4054 |
-
|
4055 |
-
#: includes/class-mla-settings-documentation-tab.php:1004
|
4056 |
Â
#, php-format
|
4057 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken"
|
4058 |
Â
msgstr ""
|
4059 |
Â
|
4060 |
-
|
4061 |
-
#: includes/class-mla-settings-documentation-tab.php:1029
|
4062 |
Â
#, php-format
|
4063 |
Â
msgid ""
|
4064 |
Â
"Example plugin \"%1$s\" install_package failed; no action taken. Error: %2$s"
|
4065 |
Â
msgstr ""
|
4066 |
Â
|
4067 |
-
|
4068 |
-
#: includes/class-mla-settings-documentation-tab.php:1040
|
4069 |
Â
#, php-format
|
4070 |
Â
msgid "Example plugin \"%1$s\" remove old single file failed."
|
4071 |
Â
msgstr ""
|
4072 |
Â
|
4073 |
-
|
4074 |
-
#: includes/class-mla-settings-documentation-tab.php:1066
|
4075 |
Â
#, php-format
|
4076 |
Â
msgid "Example plugin \"%1$s\" already installed; no action taken"
|
4077 |
Â
msgstr ""
|
4078 |
Â
|
4079 |
-
|
4080 |
-
#: includes/class-mla-settings-documentation-tab.php:1072
|
4081 |
Â
#, php-format
|
4082 |
Â
msgid "Example plugin \"%1$s\" installed"
|
4083 |
Â
msgstr ""
|
4084 |
Â
|
4085 |
-
|
4086 |
-
#: includes/class-mla-settings-documentation-tab.php:1096
|
4087 |
Â
#, php-format
|
4088 |
Â
msgid "Example plugin \"%1$s\" not installed; no action taken"
|
4089 |
Â
msgstr ""
|
4090 |
Â
|
4091 |
-
|
4092 |
-
#: includes/class-mla-settings-documentation-tab.php:1102
|
4093 |
Â
#, php-format
|
4094 |
Â
msgid "Example plugin \"%1$s\" updated"
|
4095 |
Â
msgstr ""
|
4096 |
Â
|
4097 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4098 |
Â
msgid "Network"
|
4099 |
Â
msgstr ""
|
4100 |
Â
|
4101 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4102 |
-
#: includes/class-mla-settings-upload-tab.php:553
|
4103 |
-
#: includes/class-mla-settings-upload-tab.php:1031
|
4104 |
-
msgid "Active"
|
4105 |
-
msgstr ""
|
4106 |
-
|
4107 |
-
#: includes/class-mla-settings-documentation-tab.php:1251
|
4108 |
-
#: includes/class-mla-settings-upload-tab.php:171
|
4109 |
-
#: includes/class-mla-settings-upload-tab.php:539
|
4110 |
-
#: includes/class-mla-settings-upload-tab.php:1029
|
4111 |
-
msgid "Inactive"
|
4112 |
-
msgstr ""
|
4113 |
-
|
4114 |
-
#: includes/class-mla-settings-documentation-tab.php:1584
|
4115 |
Â
msgctxt "table_view_singular"
|
4116 |
Â
msgid "Installed"
|
4117 |
Â
msgstr ""
|
4118 |
Â
|
4119 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4120 |
Â
msgctxt "table_view_plural"
|
4121 |
Â
msgid "Installed"
|
4122 |
Â
msgstr ""
|
4123 |
Â
|
4124 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4125 |
Â
msgctxt "table_view_singular"
|
4126 |
Â
msgid "Network"
|
4127 |
Â
msgstr ""
|
4128 |
Â
|
4129 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4130 |
Â
msgctxt "table_view_plural"
|
4131 |
Â
msgid "Network"
|
4132 |
Â
msgstr ""
|
4133 |
Â
|
4134 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4135 |
Â
msgctxt "table_view_singular"
|
4136 |
Â
msgid "Uninstalled"
|
4137 |
Â
msgstr ""
|
4138 |
Â
|
4139 |
-
#: includes/class-mla-settings-documentation-tab.php:
|
4140 |
Â
msgctxt "table_view_plural"
|
4141 |
Â
msgid "Uninstalled"
|
4142 |
Â
msgstr ""
|
4143 |
Â
|
4144 |
-
#. translators: 1: ERROR tag 2: field type
|
4145 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
4146 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:220
|
4147 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:310
|
@@ -4173,6 +4322,13 @@ msgid ""
|
|
4173 |
Â
"click \"Save Changes\" at the bottom of this page."
|
4174 |
Â
msgstr ""
|
4175 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4176 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:473
|
4177 |
Â
msgid "IPTC/EXIF Options documentation"
|
4178 |
Â
msgstr ""
|
@@ -4195,12 +4351,15 @@ msgstr ""
|
|
4195 |
Â
msgid "Map All Attachments, Taxonomy Terms Now"
|
4196 |
Â
msgstr ""
|
4197 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4198 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:484
|
4199 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:542
|
4200 |
Â
msgid "Map All Attachments, Custom Fields Now"
|
4201 |
Â
msgstr ""
|
4202 |
Â
|
4203 |
-
#. translators: 1: "Save Changes"
|
4204 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:488
|
4205 |
Â
#, php-format
|
4206 |
Â
msgid ""
|
@@ -4209,7 +4368,6 @@ msgid ""
|
|
4209 |
Â
"performed.</strong>"
|
4210 |
Â
msgstr ""
|
4211 |
Â
|
4212 |
-
#. translators: 1: ERROR tag 2: template type
|
4213 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:79
|
4214 |
Â
#, php-format
|
4215 |
Â
msgid "%1$s: %2$s type or shortcode not specified."
|
@@ -4228,37 +4386,31 @@ msgstr ""
|
|
4228 |
Â
msgid "style template"
|
4229 |
Â
msgstr ""
|
4230 |
Â
|
4231 |
-
#. translators: 1: ERROR tag 2: template type 3: old template name
|
4232 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:90
|
4233 |
Â
#, php-format
|
4234 |
Â
msgid "%1$s: Blank %2$s name, reverting to \"%3$s\"."
|
4235 |
Â
msgstr ""
|
4236 |
Â
|
4237 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
4238 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:94
|
4239 |
Â
#, php-format
|
4240 |
Â
msgid "%1$s: Reserved %2$s name \"%3$s\", reverting to \"%4$s\"."
|
4241 |
Â
msgstr ""
|
4242 |
Â
|
4243 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
4244 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:112
|
4245 |
Â
#, php-format
|
4246 |
Â
msgid "%1$s: Duplicate new %2$s name \"%3$s\", reverting to \"%4$s\"."
|
4247 |
Â
msgstr ""
|
4248 |
Â
|
4249 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name
|
4250 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:140
|
4251 |
Â
#, php-format
|
4252 |
Â
msgid "%1$s: New %2$s \"%3$s\" has no content; not added."
|
4253 |
Â
msgstr ""
|
4254 |
Â
|
4255 |
-
#. translators: 1: field type, 2: new template name
|
4256 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:145
|
4257 |
Â
#, php-format
|
4258 |
Â
msgid "%1$s \"%2$s\" added."
|
4259 |
Â
msgstr ""
|
4260 |
Â
|
4261 |
-
#. translators: 1: field type, 2: old template name, 3: new template name
|
4262 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:178
|
4263 |
Â
#, php-format
|
4264 |
Â
msgid "%1$s \"%2$s\" copied to \"%3$s\"."
|
@@ -4272,44 +4424,37 @@ msgstr ""
|
|
4272 |
Â
msgid "markup template name"
|
4273 |
Â
msgstr ""
|
4274 |
Â
|
4275 |
-
#. translators: 1: ERROR tag 2: template type 3: old template name
|
4276 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:207
|
4277 |
Â
#, php-format
|
4278 |
Â
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
4279 |
Â
msgstr ""
|
4280 |
Â
|
4281 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
4282 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:214
|
4283 |
Â
#, php-format
|
4284 |
Â
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
4285 |
Â
msgstr ""
|
4286 |
Â
|
4287 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
4288 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:218
|
4289 |
Â
#, php-format
|
4290 |
Â
msgid "%1$s: Reserved %2$s \"%3$s\", reverting to \"%4$s\"."
|
4291 |
Â
msgstr ""
|
4292 |
Â
|
4293 |
-
#. translators: 1: template type 2: old template name 3: new template name
|
4294 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:222
|
4295 |
Â
#, php-format
|
4296 |
Â
msgctxt "message_list"
|
4297 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
4298 |
Â
msgstr ""
|
4299 |
Â
|
4300 |
-
#. translators: 1: field type, 2: new template name
|
4301 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:245
|
4302 |
Â
#, php-format
|
4303 |
Â
msgid "%1$s \"%2$s\" updated."
|
4304 |
Â
msgstr ""
|
4305 |
Â
|
4306 |
-
#. translators: 1: field type, 2: template name
|
4307 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:248
|
4308 |
Â
#, php-format
|
4309 |
Â
msgid "%1$s \"%2$s\" no changes detected."
|
4310 |
Â
msgstr ""
|
4311 |
Â
|
4312 |
-
#. translators: 1: field type
|
4313 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:268
|
4314 |
Â
#, php-format
|
4315 |
Â
msgid "%1$s \"%2$s\" deleted."
|
@@ -4317,11 +4462,10 @@ msgstr ""
|
|
4317 |
Â
|
4318 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:324
|
4319 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:327
|
4320 |
-
#: includes/class-mla-settings.php:
|
4321 |
Â
msgid "Shortcodes"
|
4322 |
Â
msgstr ""
|
4323 |
Â
|
4324 |
-
#. translators: 1: field type
|
4325 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:327
|
4326 |
Â
#, php-format
|
4327 |
Â
msgid "%1$s no changes detected."
|
@@ -4361,8 +4505,8 @@ msgid "Edit Template"
|
|
4361 |
Â
msgstr ""
|
4362 |
Â
|
4363 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:487
|
4364 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4365 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4366 |
Â
msgid "Copy"
|
4367 |
Â
msgstr ""
|
4368 |
Â
|
@@ -4374,33 +4518,33 @@ msgstr ""
|
|
4374 |
Â
msgid "Edit Template cancelled."
|
4375 |
Â
msgstr ""
|
4376 |
Â
|
4377 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4378 |
Â
msgid "Theme"
|
4379 |
Â
msgstr ""
|
4380 |
Â
|
4381 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4382 |
Â
msgid "Imagick support is not installed."
|
4383 |
Â
msgstr ""
|
4384 |
Â
|
4385 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4386 |
Â
msgid "Ghostscript support is not installed."
|
4387 |
Â
msgstr ""
|
4388 |
Â
|
4389 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4390 |
Â
#: includes/class-mla-wpml-support.php:1680
|
4391 |
Â
#: includes/class-mla-wpml-support.php:1682
|
4392 |
Â
msgid "WARNING:"
|
4393 |
Â
msgstr ""
|
4394 |
Â
|
4395 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4396 |
Â
msgid " MLA Viewer support may not be available"
|
4397 |
Â
msgstr ""
|
4398 |
Â
|
4399 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4400 |
Â
msgid "MLA Shortcode Options"
|
4401 |
Â
msgstr ""
|
4402 |
Â
|
4403 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4404 |
Â
msgid ""
|
4405 |
Â
"In this tab you can view the default style and markup templates. You can "
|
4406 |
Â
"also define additional templates and use the <code>mla_style</code> and "
|
@@ -4408,8 +4552,7 @@ msgid ""
|
|
4408 |
Â
"shortcodes."
|
4409 |
Â
msgstr ""
|
4410 |
Â
|
4411 |
-
|
4412 |
-
#: includes/class-mla-settings-shortcodes-tab.php:710
|
4413 |
Â
#, php-format
|
4414 |
Â
msgid ""
|
4415 |
Â
"You can find more information about shortcode templates and how MLA and "
|
@@ -4417,204 +4560,195 @@ msgid ""
|
|
4417 |
Â
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
4418 |
Â
msgstr ""
|
4419 |
Â
|
4420 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4421 |
Â
msgid "Style and Markup Templates documentation"
|
4422 |
Â
msgstr ""
|
4423 |
Â
|
4424 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4425 |
Â
msgid "Style and Markup Templates"
|
4426 |
Â
msgstr ""
|
4427 |
Â
|
4428 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4429 |
Â
msgid "Add New Template"
|
4430 |
Â
msgstr ""
|
4431 |
Â
|
4432 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4433 |
Â
msgid "Search Templates"
|
4434 |
Â
msgstr ""
|
4435 |
Â
|
4436 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4437 |
-
msgid "Search results for"
|
4438 |
-
msgstr ""
|
4439 |
-
|
4440 |
-
#: includes/class-mla-settings-shortcodes-tab.php:964
|
4441 |
Â
msgctxt "list_table_column"
|
4442 |
Â
msgid "Type"
|
4443 |
Â
msgstr ""
|
4444 |
Â
|
4445 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4446 |
Â
msgctxt "list_table_column"
|
4447 |
Â
msgid "Shortcode"
|
4448 |
Â
msgstr ""
|
4449 |
Â
|
4450 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4451 |
Â
msgid "Make a copy"
|
4452 |
Â
msgstr ""
|
4453 |
Â
|
4454 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4455 |
Â
msgid "default"
|
4456 |
Â
msgstr ""
|
4457 |
Â
|
4458 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4459 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4460 |
Â
msgctxt "table_view_singular"
|
4461 |
Â
msgid "Style"
|
4462 |
Â
msgstr ""
|
4463 |
Â
|
4464 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4465 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4466 |
Â
msgctxt "table_view_singular"
|
4467 |
Â
msgid "Markup"
|
4468 |
Â
msgstr ""
|
4469 |
Â
|
4470 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4471 |
-
#: includes/class-mla-thumbnail-generation.php:
|
4472 |
Â
msgid "Delete"
|
4473 |
Â
msgstr ""
|
4474 |
Â
|
4475 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4476 |
-
msgid "Any Status"
|
4477 |
-
msgstr ""
|
4478 |
-
|
4479 |
-
#: includes/class-mla-settings-shortcodes-tab.php:1328
|
4480 |
Â
msgid "Default"
|
4481 |
Â
msgstr ""
|
4482 |
Â
|
4483 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4484 |
Â
msgid "Custom"
|
4485 |
Â
msgstr ""
|
4486 |
Â
|
4487 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4488 |
Â
msgctxt "table_view_plural"
|
4489 |
Â
msgid "Style"
|
4490 |
Â
msgstr ""
|
4491 |
Â
|
4492 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4493 |
Â
msgctxt "table_view_plural"
|
4494 |
Â
msgid "Markup"
|
4495 |
Â
msgstr ""
|
4496 |
Â
|
4497 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4498 |
Â
#: includes/class-mla-template-support.php:70
|
4499 |
Â
#: includes/class-mla-template-support.php:126
|
4500 |
Â
msgctxt "table_view_singular"
|
4501 |
Â
msgid "Gallery"
|
4502 |
Â
msgstr ""
|
4503 |
Â
|
4504 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4505 |
Â
msgctxt "table_view_plural"
|
4506 |
Â
msgid "Gallery"
|
4507 |
Â
msgstr ""
|
4508 |
Â
|
4509 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4510 |
Â
#: includes/class-mla-template-support.php:88
|
4511 |
Â
#: includes/class-mla-template-support.php:174
|
4512 |
Â
msgctxt "table_view_singular"
|
4513 |
Â
msgid "Tag Cloud"
|
4514 |
Â
msgstr ""
|
4515 |
Â
|
4516 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4517 |
Â
msgctxt "table_view_plural"
|
4518 |
Â
msgid "Tag Cloud"
|
4519 |
Â
msgstr ""
|
4520 |
Â
|
4521 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4522 |
Â
#: includes/class-mla-template-support.php:106
|
4523 |
Â
#: includes/class-mla-template-support.php:222
|
4524 |
Â
msgctxt "table_view_singular"
|
4525 |
Â
msgid "Term List"
|
4526 |
Â
msgstr ""
|
4527 |
Â
|
4528 |
-
#: includes/class-mla-settings-shortcodes-tab.php:
|
4529 |
Â
msgctxt "table_view_plural"
|
4530 |
Â
msgid "Term List"
|
4531 |
Â
msgstr ""
|
4532 |
Â
|
4533 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4534 |
Â
msgid "Upload MIME Type settings saved."
|
4535 |
Â
msgstr ""
|
4536 |
Â
|
4537 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4538 |
Â
msgid "Edit Upload MIME Type"
|
4539 |
Â
msgstr ""
|
4540 |
Â
|
4541 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4542 |
Â
msgid ""
|
4543 |
Â
"The “extension” is the file extension for this type, and a "
|
4544 |
Â
"unique key for the item. It must be all lowercase and contain only letters "
|
4545 |
Â
"and numbers."
|
4546 |
Â
msgstr ""
|
4547 |
Â
|
4548 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4549 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4550 |
Â
msgid ""
|
4551 |
Â
"The MIME Type must be all lowercase and contain only letters, numbers, "
|
4552 |
Â
"periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
|
4553 |
Â
"strong> type, e.g., “image” or “image/jpeg”."
|
4554 |
Â
msgstr ""
|
4555 |
Â
|
4556 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4557 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4558 |
Â
msgid "Icon Type"
|
4559 |
Â
msgstr ""
|
4560 |
Â
|
4561 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4562 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4563 |
Â
msgid ""
|
4564 |
Â
"The Icon Type selects a thumbnail image displayed for non-image file types, "
|
4565 |
Â
"such as PDF documents."
|
4566 |
Â
msgstr ""
|
4567 |
Â
|
4568 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4569 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4570 |
Â
msgid ""
|
4571 |
Â
"Check this box if you want to remove this entry from the list of Upload MIME "
|
4572 |
Â
"Types returned by get_allowed_mime_types()."
|
4573 |
Â
msgstr ""
|
4574 |
Â
|
4575 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4576 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4577 |
-
#: includes/class-mla-settings-view-tab.php:
|
4578 |
-
#: includes/class-mla-settings-view-tab.php:
|
4579 |
Â
msgid ""
|
4580 |
Â
"The description can contain any documentation or notes you need to "
|
4581 |
Â
"understand or use the item."
|
4582 |
Â
msgstr ""
|
4583 |
Â
|
4584 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4585 |
Â
msgid "Known File Extension/MIME Type Associations"
|
4586 |
Â
msgstr ""
|
4587 |
Â
|
4588 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4589 |
Â
msgid "Search Known MIME Types"
|
4590 |
Â
msgstr ""
|
4591 |
Â
|
4592 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4593 |
Â
msgid "Search Types"
|
4594 |
Â
msgstr ""
|
4595 |
Â
|
4596 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4597 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4598 |
Â
msgid "To search by extension, use \".\", e.g., \".doc\""
|
4599 |
Â
msgstr ""
|
4600 |
Â
|
4601 |
-
|
4602 |
-
#: includes/class-mla-settings-
|
4603 |
-
#: includes/class-mla-settings-view-tab.php:282
|
4604 |
Â
#, php-format
|
4605 |
Â
msgid "Edit view \"%1$s\" cancelled."
|
4606 |
Â
msgstr ""
|
4607 |
Â
|
4608 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4609 |
Â
msgid "Upload MIME Type Support is disabled"
|
4610 |
Â
msgstr ""
|
4611 |
Â
|
4612 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4613 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4614 |
Â
msgid "File Extension and MIME Type Processing"
|
4615 |
Â
msgstr ""
|
4616 |
Â
|
4617 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4618 |
Â
msgid ""
|
4619 |
Â
"In this tab you can manage the list of file extension/MIME Type "
|
4620 |
Â
"associations, which are used by WordPress to decide what kind of files can "
|
@@ -4623,8 +4757,7 @@ msgid ""
|
|
4623 |
Â
"extension must be in this list and be active."
|
4624 |
Â
msgstr ""
|
4625 |
Â
|
4626 |
-
|
4627 |
-
#: includes/class-mla-settings-upload-tab.php:522
|
4628 |
Â
#, php-format
|
4629 |
Â
msgid ""
|
4630 |
Â
"You can find more information about file extensions, MIME types and how "
|
@@ -4632,80 +4765,80 @@ msgid ""
|
|
4632 |
Â
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
4633 |
Â
msgstr ""
|
4634 |
Â
|
4635 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4636 |
Â
msgid "File Extension Processing documentation"
|
4637 |
Â
msgstr ""
|
4638 |
Â
|
4639 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4640 |
Â
msgid "Search Uploads"
|
4641 |
Â
msgstr ""
|
4642 |
Â
|
4643 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4644 |
Â
msgid "Upload MIME Type"
|
4645 |
Â
msgstr ""
|
4646 |
Â
|
4647 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4648 |
Â
msgid ""
|
4649 |
Â
"To search the database of over 1,500 known extension/type associations, "
|
4650 |
Â
"click \"Search Known Types\" below the form."
|
4651 |
Â
msgstr ""
|
4652 |
Â
|
4653 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4654 |
Â
msgid ""
|
4655 |
Â
"The “extension” is the file extension for this type, and unique "
|
4656 |
Â
"key for the item. It must be all lowercase and contain only letters and "
|
4657 |
Â
"numbers."
|
4658 |
Â
msgstr ""
|
4659 |
Â
|
4660 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4661 |
Â
msgid "Add Upload MIME Type"
|
4662 |
Â
msgstr ""
|
4663 |
Â
|
4664 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4665 |
Â
msgid "Search Known Types"
|
4666 |
Â
msgstr ""
|
4667 |
Â
|
4668 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4669 |
-
#: includes/class-mla-settings-view-tab.php:
|
4670 |
Â
msgid "<strong>Quick Edit</strong>"
|
4671 |
Â
msgstr ""
|
4672 |
Â
|
4673 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4674 |
Â
msgid "No upload slug found"
|
4675 |
Â
msgstr ""
|
4676 |
Â
|
4677 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4678 |
-
#: includes/class-mla-settings-view-tab.php:
|
4679 |
Â
msgid "Revert to standard item"
|
4680 |
Â
msgstr ""
|
4681 |
Â
|
4682 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4683 |
-
#: includes/class-mla-settings-view-tab.php:
|
4684 |
Â
msgid "Revert to Standard"
|
4685 |
Â
msgstr ""
|
4686 |
Â
|
4687 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4688 |
Â
msgid "Delete/Revert Custom"
|
4689 |
Â
msgstr ""
|
4690 |
Â
|
4691 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4692 |
Â
msgid "Select this entry"
|
4693 |
Â
msgstr ""
|
4694 |
Â
|
4695 |
-
#: includes/class-mla-settings-upload-tab.php:
|
4696 |
Â
msgid "Select these entries"
|
4697 |
Â
msgstr ""
|
4698 |
Â
|
4699 |
-
#: includes/class-mla-settings-view-tab.php:
|
4700 |
Â
msgid "View settings saved."
|
4701 |
Â
msgstr ""
|
4702 |
Â
|
4703 |
-
#: includes/class-mla-settings-view-tab.php:
|
4704 |
Â
msgid "Edit View"
|
4705 |
Â
msgstr ""
|
4706 |
Â
|
4707 |
-
#: includes/class-mla-settings-view-tab.php:
|
4708 |
-
#: includes/class-mla-settings-view-tab.php:
|
4709 |
Â
msgid ""
|
4710 |
Â
"The “slug” is the URL-friendly, unique key for the view. It must "
|
4711 |
Â
"be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
|
@@ -4714,30 +4847,30 @@ msgid ""
|
|
4714 |
Â
"MIME</strong> type, e.g., “image” or “image/jpeg”."
|
4715 |
Â
msgstr ""
|
4716 |
Â
|
4717 |
-
#: includes/class-mla-settings-view-tab.php:120
|
4718 |
-
#: includes/class-mla-settings-view-tab.php:376
|
4719 |
-
msgid "Singular Label"
|
4720 |
-
msgstr ""
|
4721 |
-
|
4722 |
Â
#: includes/class-mla-settings-view-tab.php:121
|
4723 |
Â
#: includes/class-mla-settings-view-tab.php:377
|
4724 |
-
msgid "
|
4725 |
Â
msgstr ""
|
4726 |
Â
|
4727 |
Â
#: includes/class-mla-settings-view-tab.php:122
|
4728 |
Â
#: includes/class-mla-settings-view-tab.php:378
|
4729 |
-
msgid ""
|
4730 |
-
"The labels, e.g., “Image” and “Images” are used for "
|
4731 |
-
"column headers and other display purposes."
|
4732 |
Â
msgstr ""
|
4733 |
Â
|
4734 |
Â
#: includes/class-mla-settings-view-tab.php:123
|
4735 |
Â
#: includes/class-mla-settings-view-tab.php:379
|
4736 |
-
msgid "
|
Â
|
|
Â
|
|
4737 |
Â
msgstr ""
|
4738 |
Â
|
4739 |
Â
#: includes/class-mla-settings-view-tab.php:124
|
4740 |
Â
#: includes/class-mla-settings-view-tab.php:380
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4741 |
Â
msgid ""
|
4742 |
Â
"If the MIME type specification differs from the slug, enter it here. You may "
|
4743 |
Â
"include multiple MIME types, e.g., “audio,video” and/or wildcard "
|
@@ -4745,47 +4878,47 @@ msgid ""
|
|
4745 |
Â
"MIME Type box is checked."
|
4746 |
Â
msgstr ""
|
4747 |
Â
|
4748 |
-
#: includes/class-mla-settings-view-tab.php:
|
4749 |
-
#: includes/class-mla-settings-view-tab.php:
|
4750 |
Â
msgid "Post MIME Type"
|
4751 |
Â
msgstr ""
|
4752 |
Â
|
4753 |
-
#: includes/class-mla-settings-view-tab.php:
|
4754 |
-
#: includes/class-mla-settings-view-tab.php:
|
4755 |
Â
msgid ""
|
4756 |
Â
"Check this box if you want to add this entry to the list of MIME types "
|
4757 |
Â
"returned by wp_get_mime_types()."
|
4758 |
Â
msgstr ""
|
4759 |
Â
|
4760 |
-
#: includes/class-mla-settings-view-tab.php:
|
4761 |
-
#: includes/class-mla-settings-view-tab.php:
|
4762 |
Â
msgid "Table View"
|
4763 |
Â
msgstr ""
|
4764 |
Â
|
4765 |
-
#: includes/class-mla-settings-view-tab.php:
|
4766 |
-
#: includes/class-mla-settings-view-tab.php:
|
4767 |
Â
msgid ""
|
4768 |
Â
"Check this box if you want to add this entry to the list of Media/Assistant "
|
4769 |
Â
"table views."
|
4770 |
Â
msgstr ""
|
4771 |
Â
|
4772 |
-
#: includes/class-mla-settings-view-tab.php:
|
4773 |
-
#: includes/class-mla-settings-view-tab.php:
|
4774 |
Â
msgid ""
|
4775 |
Â
"You can choose your own table view order by entering a number (1 for first, "
|
4776 |
Â
"etc.) in this field."
|
4777 |
Â
msgstr ""
|
4778 |
Â
|
4779 |
-
#: includes/class-mla-settings-view-tab.php:
|
4780 |
Â
msgid "View and Post MIME Type Support is disabled"
|
4781 |
Â
msgstr ""
|
4782 |
Â
|
4783 |
-
#: includes/class-mla-settings-view-tab.php:
|
4784 |
-
#: includes/class-mla-settings-view-tab.php:
|
4785 |
Â
msgid "Library Views/Post MIME Type Processing"
|
4786 |
Â
msgstr ""
|
4787 |
Â
|
4788 |
-
#: includes/class-mla-settings-view-tab.php:
|
4789 |
Â
msgid ""
|
4790 |
Â
"In this tab you can manage the list of \"Post MIME Types\", which are used "
|
4791 |
Â
"by WordPress to define the views for the <em><strong>Media/Library</strong></"
|
@@ -4796,8 +4929,7 @@ msgid ""
|
|
4796 |
Â
"specifications (e.g. \"*/*ms*\")."
|
4797 |
Â
msgstr ""
|
4798 |
Â
|
4799 |
-
|
4800 |
-
#: includes/class-mla-settings-view-tab.php:363
|
4801 |
Â
#, php-format
|
4802 |
Â
msgid ""
|
4803 |
Â
"You can find more information about library views, Post MIME types and how "
|
@@ -4806,93 +4938,95 @@ msgid ""
|
|
4806 |
Â
"screen."
|
4807 |
Â
msgstr ""
|
4808 |
Â
|
4809 |
-
#: includes/class-mla-settings-view-tab.php:
|
4810 |
Â
msgid "Library View Processing documentation"
|
4811 |
Â
msgstr ""
|
4812 |
Â
|
4813 |
-
#: includes/class-mla-settings-view-tab.php:
|
4814 |
Â
msgid "Search Views"
|
4815 |
Â
msgstr ""
|
4816 |
Â
|
4817 |
-
#: includes/class-mla-settings-view-tab.php:
|
4818 |
Â
msgid "Add View"
|
4819 |
Â
msgstr ""
|
4820 |
Â
|
4821 |
-
#: includes/class-mla-settings-view-tab.php:
|
4822 |
Â
msgid "No view slug found"
|
4823 |
Â
msgstr ""
|
4824 |
Â
|
4825 |
-
#: includes/class-mla-settings.php:
|
4826 |
-
#: includes/class-mla-settings.php:
|
4827 |
Â
msgid "Settings"
|
4828 |
Â
msgstr ""
|
4829 |
Â
|
4830 |
-
#: includes/class-mla-settings.php:
|
4831 |
Â
msgid "Views per page"
|
4832 |
Â
msgstr ""
|
4833 |
Â
|
4834 |
-
#: includes/class-mla-settings.php:
|
4835 |
Â
msgid "Types per page"
|
4836 |
Â
msgstr ""
|
4837 |
Â
|
4838 |
-
#: includes/class-mla-settings.php:
|
4839 |
Â
msgid "Upload types per page"
|
4840 |
Â
msgstr ""
|
4841 |
Â
|
4842 |
-
#: includes/class-mla-settings.php:
|
4843 |
Â
msgid "Shortcode templates per page"
|
4844 |
Â
msgstr ""
|
4845 |
Â
|
4846 |
-
#: includes/class-mla-settings.php:
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4847 |
Â
msgid "Plugins per page"
|
4848 |
Â
msgstr ""
|
4849 |
Â
|
4850 |
-
|
4851 |
-
#: includes/class-mla-settings.php:
|
4852 |
-
#: includes/class-mla-settings.php:852
|
4853 |
Â
#, php-format
|
4854 |
Â
msgctxt "error_log"
|
4855 |
Â
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
4856 |
Â
msgstr ""
|
4857 |
Â
|
4858 |
-
#: includes/class-mla-settings.php:
|
4859 |
Â
msgid "Go to Bottom"
|
4860 |
Â
msgstr ""
|
4861 |
Â
|
4862 |
-
#: includes/class-mla-settings.php:
|
4863 |
Â
msgid "General"
|
4864 |
Â
msgstr ""
|
4865 |
Â
|
4866 |
-
#: includes/class-mla-settings.php:
|
4867 |
Â
msgid "Views"
|
4868 |
Â
msgstr ""
|
4869 |
Â
|
4870 |
-
#: includes/class-mla-settings.php:
|
4871 |
Â
msgid "Uploads"
|
4872 |
Â
msgstr ""
|
4873 |
Â
|
4874 |
-
#: includes/class-mla-settings.php:
|
4875 |
Â
msgid "Custom Fields"
|
4876 |
Â
msgstr ""
|
4877 |
Â
|
4878 |
-
#: includes/class-mla-settings.php:
|
4879 |
Â
msgid "IPTC/EXIF"
|
4880 |
Â
msgstr ""
|
4881 |
Â
|
4882 |
-
#: includes/class-mla-settings.php:
|
4883 |
Â
msgid "Documentation"
|
4884 |
Â
msgstr ""
|
4885 |
Â
|
4886 |
-
#: includes/class-mla-settings.php:
|
4887 |
Â
msgid "Debug"
|
4888 |
Â
msgstr ""
|
4889 |
Â
|
4890 |
-
#: includes/class-mla-settings.php:
|
4891 |
Â
msgid "General Processing Options"
|
4892 |
Â
msgstr ""
|
4893 |
Â
|
4894 |
-
|
4895 |
-
#: includes/class-mla-settings.php:1010
|
4896 |
Â
#, php-format
|
4897 |
Â
msgid ""
|
4898 |
Â
"In this tab you can find a number of options for controlling the "
|
@@ -4901,32 +5035,31 @@ msgid ""
|
|
4901 |
Â
"any changes you make."
|
4902 |
Â
msgstr ""
|
4903 |
Â
|
4904 |
-
#: includes/class-mla-settings.php:
|
4905 |
Â
msgid "Media/Assistant Table Defaults"
|
4906 |
Â
msgstr ""
|
4907 |
Â
|
4908 |
-
#: includes/class-mla-settings.php:
|
4909 |
Â
msgid "Media Manager Enhancements"
|
4910 |
Â
msgstr ""
|
4911 |
Â
|
4912 |
-
#: includes/class-mla-settings.php:
|
4913 |
Â
msgid "Delete General options and restore default settings"
|
4914 |
Â
msgstr ""
|
4915 |
Â
|
4916 |
-
#: includes/class-mla-settings.php:
|
4917 |
Â
msgid "Support Our Work"
|
4918 |
Â
msgstr ""
|
4919 |
Â
|
4920 |
-
#: includes/class-mla-settings.php:
|
4921 |
Â
msgid "Donate to FTJ"
|
4922 |
Â
msgstr ""
|
4923 |
Â
|
4924 |
-
#: includes/class-mla-settings.php:
|
4925 |
Â
msgid "Donate"
|
4926 |
Â
msgstr ""
|
4927 |
Â
|
4928 |
-
|
4929 |
-
#: includes/class-mla-settings.php:1022
|
4930 |
Â
#, php-format
|
4931 |
Â
msgid ""
|
4932 |
Â
"This plugin was inspired by my work on the WordPress web site for our "
|
@@ -4935,238 +5068,245 @@ msgid ""
|
|
4935 |
Â
"our work. Thank you!"
|
4936 |
Â
msgstr ""
|
4937 |
Â
|
4938 |
-
#: includes/class-mla-settings.php:
|
4939 |
Â
msgid "tax-deductible donation"
|
4940 |
Â
msgstr ""
|
4941 |
Â
|
4942 |
-
#: includes/class-mla-settings.php:
|
4943 |
Â
msgid "enhanced version of the WordPress [gallery] shortcode."
|
4944 |
Â
msgstr ""
|
4945 |
Â
|
4946 |
-
#: includes/class-mla-settings.php:
|
4947 |
Â
msgid "enhanced version of the WordPress Tag Cloud."
|
4948 |
Â
msgstr ""
|
4949 |
Â
|
4950 |
-
#: includes/class-mla-settings.php:
|
4951 |
Â
msgid ""
|
4952 |
Â
"provides flat or hierarchical lists, dropdown controls and checkbox lists of "
|
4953 |
Â
"taxonomy terms."
|
4954 |
Â
msgstr ""
|
4955 |
Â
|
4956 |
-
#: includes/class-mla-settings.php:
|
4957 |
Â
msgid "Shortcodes made available by this plugin"
|
4958 |
Â
msgstr ""
|
4959 |
Â
|
4960 |
-
#: includes/class-mla-settings.php:
|
4961 |
Â
msgid "Debug settings saved."
|
4962 |
Â
msgstr ""
|
4963 |
Â
|
4964 |
-
|
4965 |
-
#: includes/class-mla-settings.php:1266
|
4966 |
Â
#, php-format
|
4967 |
Â
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
4968 |
Â
msgstr ""
|
4969 |
Â
|
4970 |
-
#: includes/class-mla-settings.php:
|
4971 |
-
#: includes/class-mla-settings.php:
|
4972 |
-
#: includes/class-mla-settings.php:
|
4973 |
Â
msgid "Error Log"
|
4974 |
Â
msgstr ""
|
4975 |
Â
|
4976 |
-
|
4977 |
-
#: includes/class-mla-settings.php:1327
|
4978 |
Â
#, php-format
|
4979 |
Â
msgid "Error log file (%1$s) not found; click Reset to create it."
|
4980 |
Â
msgstr ""
|
4981 |
Â
|
4982 |
-
#: includes/class-mla-settings.php:
|
4983 |
Â
msgid "Debug Options"
|
4984 |
Â
msgstr ""
|
4985 |
Â
|
4986 |
-
#: includes/class-mla-settings.php:
|
4987 |
Â
msgid "Debug Settings"
|
4988 |
Â
msgstr ""
|
4989 |
Â
|
4990 |
-
|
4991 |
-
#: includes/class-mla-settings.php:1385
|
4992 |
Â
#, php-format
|
4993 |
Â
msgid "Click %1$s to update the %2$s."
|
4994 |
Â
msgstr ""
|
4995 |
Â
|
4996 |
-
#: includes/class-mla-settings.php:
|
4997 |
Â
msgid "You do not have permission to manage plugin settings."
|
4998 |
Â
msgstr ""
|
4999 |
Â
|
5000 |
-
#: includes/class-mla-settings.php:
|
5001 |
Â
msgid "Cannot render content tab"
|
5002 |
Â
msgstr ""
|
5003 |
Â
|
5004 |
-
#: includes/class-mla-settings.php:
|
5005 |
Â
msgid "Unknown content tab"
|
5006 |
Â
msgstr ""
|
5007 |
Â
|
5008 |
-
|
5009 |
-
|
Â
|
|
Â
|
|
Â
|
|
5010 |
Â
#, php-format
|
5011 |
Â
msgid "%s attachment"
|
5012 |
Â
msgid_plural "%s attachments"
|
5013 |
Â
msgstr[0] ""
|
5014 |
Â
msgstr[1] ""
|
5015 |
Â
|
5016 |
-
|
5017 |
-
#: includes/class-mla-settings.php:1480
|
5018 |
Â
#, php-format
|
5019 |
Â
msgid "Deleted custom field value from %1$s."
|
5020 |
Â
msgstr ""
|
5021 |
Â
|
5022 |
-
#: includes/class-mla-settings.php:
|
5023 |
Â
msgid "No attachments contained this custom field."
|
5024 |
Â
msgstr ""
|
5025 |
Â
|
5026 |
-
|
5027 |
-
#: includes/class-mla-settings.php:1513 includes/class-mla-settings.php:1523
|
5028 |
Â
#, php-format
|
5029 |
Â
msgctxt "message_list"
|
5030 |
Â
msgid "%1$s - references updated."
|
5031 |
Â
msgstr ""
|
5032 |
Â
|
5033 |
-
#: includes/class-mla-settings.php:
|
5034 |
Â
msgid "General settings saved."
|
5035 |
Â
msgstr ""
|
5036 |
Â
|
5037 |
-
#: includes/class-mla-settings.php:
|
5038 |
Â
msgid "General settings reset to default values."
|
5039 |
Â
msgstr ""
|
5040 |
Â
|
5041 |
-
#: includes/class-mla-settings.php:
|
5042 |
Â
msgid "select settings"
|
5043 |
Â
msgstr ""
|
5044 |
Â
|
5045 |
-
#: includes/class-mla-settings.php:
|
5046 |
Â
msgid "Import ALL Settings"
|
5047 |
Â
msgstr ""
|
5048 |
Â
|
5049 |
-
#: includes/class-mla-settings.php:
|
5050 |
Â
msgctxt "message_list"
|
5051 |
Â
msgid "exported"
|
5052 |
Â
msgstr ""
|
5053 |
Â
|
5054 |
-
#: includes/class-mla-settings.php:
|
5055 |
Â
msgctxt "message_list"
|
5056 |
Â
msgid "skipped"
|
5057 |
Â
msgstr ""
|
5058 |
Â
|
5059 |
-
#: includes/class-mla-settings.php:
|
5060 |
Â
msgid "ALL settings exported."
|
5061 |
Â
msgstr ""
|
5062 |
Â
|
5063 |
-
|
5064 |
-
#: includes/class-mla-settings.php:1732
|
5065 |
Â
#, php-format
|
5066 |
Â
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
5067 |
Â
msgstr ""
|
5068 |
Â
|
5069 |
-
|
5070 |
-
#: includes/class-mla-settings.php:1736
|
5071 |
Â
#, php-format
|
5072 |
Â
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
5073 |
Â
msgstr ""
|
5074 |
Â
|
5075 |
-
|
5076 |
-
#: includes/class-mla-settings.php:1747
|
5077 |
Â
#, php-format
|
5078 |
Â
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
5079 |
Â
msgstr ""
|
5080 |
Â
|
5081 |
-
|
5082 |
-
#: includes/class-mla-settings.php:1754
|
5083 |
Â
#, php-format
|
5084 |
Â
msgctxt "error_log"
|
5085 |
Â
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
5086 |
Â
msgstr ""
|
5087 |
Â
|
5088 |
-
|
5089 |
-
#: includes/class-mla-settings.php:1763
|
5090 |
Â
#, php-format
|
5091 |
Â
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
5092 |
Â
msgstr ""
|
5093 |
Â
|
5094 |
-
|
5095 |
-
#: includes/class-mla-settings.php:1769
|
5096 |
Â
#, php-format
|
5097 |
Â
msgid "Settings exported; %1$s settings recorded."
|
5098 |
Â
msgstr ""
|
5099 |
Â
|
5100 |
-
#: includes/class-mla-settings.php:
|
5101 |
Â
msgid "No settings imported."
|
5102 |
Â
msgstr ""
|
5103 |
Â
|
5104 |
-
#: includes/class-mla-settings.php:
|
5105 |
Â
msgid "Please select an import settings file from the dropdown list."
|
5106 |
Â
msgstr ""
|
5107 |
Â
|
5108 |
-
#: includes/class-mla-settings.php:
|
5109 |
Â
msgid "The import settings dropdown selection is missing."
|
5110 |
Â
msgstr ""
|
5111 |
Â
|
5112 |
-
|
5113 |
-
#: includes/class-mla-settings.php:1808
|
5114 |
Â
#, php-format
|
5115 |
Â
msgctxt "error_log"
|
5116 |
Â
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
5117 |
Â
msgstr ""
|
5118 |
Â
|
5119 |
-
|
5120 |
-
#: includes/class-mla-settings.php:1817
|
5121 |
Â
#, php-format
|
5122 |
Â
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
5123 |
Â
msgstr ""
|
5124 |
Â
|
5125 |
-
#: includes/class-mla-settings.php:
|
5126 |
Â
msgctxt "message_list"
|
5127 |
Â
msgid "updated"
|
5128 |
Â
msgstr ""
|
5129 |
Â
|
5130 |
-
#: includes/class-mla-settings.php:
|
5131 |
Â
msgctxt "message_list"
|
5132 |
Â
msgid "unchanged"
|
5133 |
Â
msgstr ""
|
5134 |
Â
|
5135 |
-
|
5136 |
-
#: includes/class-mla-settings.php:1860
|
5137 |
Â
#, php-format
|
5138 |
Â
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
5139 |
Â
msgstr ""
|
5140 |
Â
|
5141 |
Â
#: includes/class-mla-shortcode-support.php:413
|
5142 |
-
#: includes/class-mla-shortcode-support.php:
|
5143 |
-
#: includes/class-mla-shortcode-support.php:
|
5144 |
-
#: includes/class-mla-shortcode-support.php:
|
5145 |
Â
msgid "Previous"
|
5146 |
Â
msgstr ""
|
5147 |
Â
|
5148 |
Â
#: includes/class-mla-shortcode-support.php:414
|
5149 |
-
#: includes/class-mla-shortcode-support.php:
|
5150 |
-
#: includes/class-mla-shortcode-support.php:
|
5151 |
-
#: includes/class-mla-shortcode-support.php:
|
5152 |
Â
msgid "Next"
|
5153 |
Â
msgstr ""
|
5154 |
Â
|
5155 |
Â
#: includes/class-mla-shortcode-support.php:489
|
5156 |
Â
#: includes/class-mla-shortcode-support.php:495
|
5157 |
-
#: includes/class-mla-shortcode-support.php:
|
5158 |
-
#: includes/class-mla-shortcode-support.php:
|
5159 |
-
#: includes/class-mla-shortcode-support.php:
|
5160 |
-
#: includes/class-mla-shortcode-support.php:
|
5161 |
Â
#: includes/class-mla-template-support.php:598
|
5162 |
Â
msgid "not found"
|
5163 |
Â
msgstr ""
|
5164 |
Â
|
5165 |
-
#: includes/class-mla-shortcode-support.php:
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
5166 |
Â
msgid "mla_debug empty gallery"
|
5167 |
Â
msgstr ""
|
5168 |
Â
|
5169 |
-
#: includes/class-mla-shortcode-support.php:
|
5170 |
Â
msgid ""
|
5171 |
Â
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
5172 |
Â
"<strong>default</strong>, query = "
|
@@ -5176,95 +5316,85 @@ msgstr ""
|
|
5176 |
Â
msgid "unknown"
|
5177 |
Â
msgstr ""
|
5178 |
Â
|
5179 |
-
#: includes/class-mla-shortcode-support.php:
|
5180 |
-
#: includes/class-mla-shortcode-support.php:3232
|
5181 |
-
msgid "mla_debug attributes"
|
5182 |
-
msgstr ""
|
5183 |
-
|
5184 |
-
#: includes/class-mla-shortcode-support.php:1890
|
5185 |
-
#: includes/class-mla-shortcode-support.php:3233
|
5186 |
-
msgid "mla_debug arguments"
|
5187 |
-
msgstr ""
|
5188 |
-
|
5189 |
-
#: includes/class-mla-shortcode-support.php:2029
|
5190 |
Â
msgid "mla_debug empty cloud"
|
5191 |
Â
msgstr ""
|
5192 |
Â
|
5193 |
-
#: includes/class-mla-shortcode-support.php:
|
5194 |
Â
msgid "mla_debug empty list"
|
5195 |
Â
msgstr ""
|
5196 |
Â
|
5197 |
-
#: includes/class-mla-shortcode-support.php:
|
5198 |
Â
msgid "no-terms"
|
5199 |
Â
msgstr ""
|
5200 |
Â
|
5201 |
-
#: includes/class-mla-shortcode-support.php:
|
5202 |
-
#: includes/class-mla-shortcode-support.php:
|
5203 |
-
#: includes/class-mla-shortcode-support.php:
|
5204 |
Â
msgid "Invalid mla_gallery"
|
5205 |
Â
msgstr ""
|
5206 |
Â
|
5207 |
-
#: includes/class-mla-shortcode-support.php:
|
5208 |
Â
msgid "mla_debug query"
|
5209 |
Â
msgstr ""
|
5210 |
Â
|
5211 |
-
#: includes/class-mla-shortcode-support.php:
|
5212 |
Â
msgid "mla_debug request"
|
5213 |
Â
msgstr ""
|
5214 |
Â
|
5215 |
-
#: includes/class-mla-shortcode-support.php:
|
5216 |
Â
msgid "mla_debug query_vars"
|
5217 |
Â
msgstr ""
|
5218 |
Â
|
5219 |
-
#: includes/class-mla-shortcode-support.php:
|
5220 |
Â
msgid "mla_debug post_count"
|
5221 |
Â
msgstr ""
|
5222 |
Â
|
5223 |
-
#: includes/class-mla-shortcode-support.php:
|
5224 |
Â
msgid "mla_debug WHERE filter"
|
5225 |
Â
msgstr ""
|
5226 |
Â
|
5227 |
-
#: includes/class-mla-shortcode-support.php:
|
5228 |
Â
msgid "mla_debug modified WHERE filter"
|
5229 |
Â
msgstr ""
|
5230 |
Â
|
5231 |
-
#: includes/class-mla-shortcode-support.php:
|
5232 |
Â
msgid "mla_debug ORDER BY filter, incoming"
|
5233 |
Â
msgstr ""
|
5234 |
Â
|
5235 |
-
#: includes/class-mla-shortcode-support.php:
|
5236 |
Â
msgid "Replacement ORDER BY clause"
|
5237 |
Â
msgstr ""
|
5238 |
Â
|
5239 |
-
#: includes/class-mla-shortcode-support.php:
|
5240 |
Â
msgid "mla_debug posts_clauses filter"
|
5241 |
Â
msgstr ""
|
5242 |
Â
|
5243 |
-
#: includes/class-mla-shortcode-support.php:
|
5244 |
Â
msgid "mla_debug posts_clauses_request filter"
|
5245 |
Â
msgstr ""
|
5246 |
Â
|
5247 |
-
#: includes/class-mla-shortcode-support.php:
|
5248 |
Â
msgid "Invalid taxonomy"
|
5249 |
Â
msgstr ""
|
5250 |
Â
|
5251 |
-
#: includes/class-mla-shortcode-support.php:
|
5252 |
Â
msgid "mla_debug query arguments"
|
5253 |
Â
msgstr ""
|
5254 |
Â
|
5255 |
-
#: includes/class-mla-shortcode-support.php:
|
5256 |
Â
msgid "mla_debug last_query"
|
5257 |
Â
msgstr ""
|
5258 |
Â
|
5259 |
-
#: includes/class-mla-shortcode-support.php:
|
5260 |
Â
msgid "mla_debug last_error"
|
5261 |
Â
msgstr ""
|
5262 |
Â
|
5263 |
-
#: includes/class-mla-shortcode-support.php:
|
5264 |
Â
msgid "mla_debug num_rows"
|
5265 |
Â
msgstr ""
|
5266 |
Â
|
5267 |
-
#: includes/class-mla-shortcode-support.php:
|
5268 |
Â
msgid "mla_debug found_rows"
|
5269 |
Â
msgstr ""
|
5270 |
Â
|
@@ -5426,107 +5556,102 @@ msgstr ""
|
|
5426 |
Â
|
5427 |
Â
#: includes/class-mla-thumbnail-generation.php:96
|
5428 |
Â
#: includes/class-mla-thumbnail-generation.php:98
|
5429 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5430 |
Â
msgid "Generate Thumbnails"
|
5431 |
Â
msgstr ""
|
5432 |
Â
|
5433 |
-
|
5434 |
-
#: includes/class-mla-thumbnail-generation.php:291
|
5435 |
Â
#, php-format
|
5436 |
Â
msgid "Item %1$d"
|
5437 |
Â
msgstr ""
|
5438 |
Â
|
5439 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5440 |
Â
msgid "has native thumbnail."
|
5441 |
Â
msgstr ""
|
5442 |
Â
|
5443 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5444 |
Â
msgid "Featured Image retained."
|
5445 |
Â
msgstr ""
|
5446 |
Â
|
5447 |
-
|
5448 |
-
#: includes/class-mla-thumbnail-generation.php:329
|
5449 |
Â
#, php-format
|
5450 |
Â
msgid "%1$s: %2$sno attached file."
|
5451 |
Â
msgstr ""
|
5452 |
Â
|
5453 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5454 |
Â
msgid "unsupported file type."
|
5455 |
Â
msgstr ""
|
5456 |
Â
|
5457 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
5458 |
-
#: includes/class-mla-thumbnail-generation.php:343
|
5459 |
Â
#: includes/class-mla-thumbnail-generation.php:355
|
Â
|
|
5460 |
Â
#, php-format
|
5461 |
Â
msgid "%1$s: %2$sthumbnail generation failed"
|
5462 |
Â
msgstr ""
|
5463 |
Â
|
5464 |
-
|
5465 |
-
#: includes/class-mla-thumbnail-generation.php:351
|
5466 |
Â
#, php-format
|
5467 |
Â
msgid "%1$sWordPress-style thumbnail generated."
|
5468 |
Â
msgstr ""
|
5469 |
Â
|
5470 |
-
|
5471 |
-
#: includes/class-mla-thumbnail-generation.php:399
|
5472 |
Â
#, php-format
|
5473 |
Â
msgid "%1$s: %2$swp_insert_attachment failed."
|
5474 |
Â
msgstr ""
|
5475 |
Â
|
5476 |
-
|
5477 |
-
#: includes/class-mla-thumbnail-generation.php:416
|
5478 |
Â
#, php-format
|
5479 |
Â
msgid "%1$sthumbnail generated as new item %2$s."
|
5480 |
Â
msgstr ""
|
5481 |
Â
|
5482 |
-
#: includes/class-mla-thumbnail-generation.php:
|
Â
|
|
5483 |
Â
msgid "Generated Thumbnails"
|
5484 |
Â
msgstr ""
|
5485 |
Â
|
5486 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5487 |
Â
msgid ""
|
5488 |
Â
"Type “WP” generates native WordPress thumbnails without creating "
|
5489 |
Â
"a separate image item."
|
5490 |
Â
msgstr ""
|
5491 |
Â
|
5492 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5493 |
Â
msgid ""
|
5494 |
Â
"Pull down the Help menu and select Thumbnail Generation for setting details"
|
5495 |
Â
msgstr ""
|
5496 |
Â
|
5497 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5498 |
Â
msgid "Width"
|
5499 |
Â
msgstr ""
|
5500 |
Â
|
5501 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5502 |
Â
msgid "Height"
|
5503 |
Â
msgstr ""
|
5504 |
Â
|
5505 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5506 |
Â
msgid "Best Fit"
|
5507 |
Â
msgstr ""
|
5508 |
Â
|
5509 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5510 |
Â
msgid "Page"
|
5511 |
Â
msgstr ""
|
5512 |
Â
|
5513 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5514 |
Â
msgid "Resolution"
|
5515 |
Â
msgstr ""
|
5516 |
Â
|
5517 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5518 |
Â
msgid "Quality"
|
5519 |
Â
msgstr ""
|
5520 |
Â
|
5521 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5522 |
Â
msgid "Existing Items"
|
5523 |
Â
msgstr ""
|
5524 |
Â
|
5525 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5526 |
Â
msgid "Ignore"
|
5527 |
Â
msgstr ""
|
5528 |
Â
|
5529 |
-
#: includes/class-mla-thumbnail-generation.php:
|
5530 |
Â
msgid "Suffix"
|
5531 |
Â
msgstr ""
|
5532 |
Â
|
@@ -5546,7 +5671,6 @@ msgstr ""
|
|
5546 |
Â
msgid " WPML Media is not active."
|
5547 |
Â
msgstr ""
|
5548 |
Â
|
5549 |
-
#. translators: 1: - 4: page subheader values
|
5550 |
Â
#: includes/class-mla-wpml-support.php:1688
|
5551 |
Â
#, php-format
|
5552 |
Â
msgid ""
|
@@ -5580,7 +5704,6 @@ msgstr ""
|
|
5580 |
Â
msgid "You must resolve these conflicts before this plugin can safely load."
|
5581 |
Â
msgstr ""
|
5582 |
Â
|
5583 |
-
#. translators: Description of the plugin/theme
|
5584 |
Â
#: index.php:46
|
5585 |
Â
msgid ""
|
5586 |
Â
"Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
|
2 |
Â
msgid ""
|
3 |
Â
msgstr ""
|
4 |
Â
"Project-Id-Version: Media Library Assistant\n"
|
5 |
+
"POT-Creation-Date: 2017-03-18 19:51-0700\n"
|
6 |
Â
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
Â
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
Â
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
10 |
Â
"MIME-Version: 1.0\n"
|
11 |
Â
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
Â
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.11\n"
|
14 |
Â
"X-Poedit-Basepath: ..\n"
|
15 |
Â
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
Â
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
20 |
Â
"X-Poedit-SearchPath-1: tests\n"
|
21 |
Â
"X-Poedit-SearchPath-2: index.php\n"
|
22 |
Â
|
Â
|
|
Â
|
|
23 |
Â
#: includes/class-mla-admin-columns-support-deprecated.php:33
|
24 |
+
#: includes/class-mla-admin-columns-support.php:87
|
25 |
+
#: includes/class-mla-core-options.php:533 includes/class-mla-settings.php:415
|
26 |
+
#: includes/class-mla-settings.php:1428 includes/class-mla-settings.php:1448
|
27 |
Â
#: index.php:48
|
28 |
Â
msgid "Media Library Assistant"
|
29 |
Â
msgstr ""
|
30 |
Â
|
Â
|
|
31 |
Â
#: includes/class-mla-admin-columns-support-deprecated.php:34
|
32 |
+
#: includes/class-mla-admin-columns-support.php:88
|
33 |
Â
#: includes/class-mla-core-options.php:542
|
34 |
Â
msgid "Assistant"
|
35 |
Â
msgstr ""
|
36 |
Â
|
37 |
+
#: includes/class-mla-ajax.php:180 includes/class-mla-core-options.php:1120
|
38 |
+
#: includes/class-mla-data.php:3711 includes/class-mla-edit-media.php:426
|
39 |
+
#: includes/class-mla-main.php:1794 includes/class-mla-main.php:1984
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
40 |
Â
#: includes/class-mla-objects.php:318 includes/class-mla-options.php:451
|
41 |
+
#: includes/mla-main-search-box-template.php:47
|
42 |
Â
#: includes/mla-media-modal-js-template.php:40
|
43 |
Â
msgid "Title"
|
44 |
Â
msgstr ""
|
45 |
Â
|
46 |
+
#: includes/class-mla-ajax.php:180 includes/class-mla-main.php:1795
|
47 |
+
#: includes/class-mla-thumbnail-generation.php:549
|
48 |
Â
msgid "Type"
|
49 |
Â
msgstr ""
|
50 |
Â
|
51 |
+
#: includes/class-mla-ajax.php:180 includes/class-mla-main.php:1796
|
52 |
Â
msgid "Date"
|
53 |
Â
msgstr ""
|
54 |
Â
|
55 |
+
#: includes/class-mla-ajax.php:180 includes/class-mla-main.php:1797
|
56 |
+
#: includes/class-mla-settings-custom-fields-tab.php:514
|
57 |
+
#: includes/class-mla-settings-custom-fields-tab.php:790
|
58 |
+
#: includes/class-mla-settings-upload-tab.php:552
|
59 |
Â
msgid "Status"
|
60 |
Â
msgstr ""
|
61 |
Â
|
62 |
+
#: includes/class-mla-ajax.php:184 includes/class-mla-list-table.php:845
|
63 |
+
#: includes/class-mla-list-table.php:966 includes/class-mla-main.php:386
|
64 |
+
#: includes/class-mla-polylang-support.php:359
|
65 |
Â
#: includes/class-mla-thumbnail-generation.php:97
|
66 |
Â
msgid "(no title)"
|
67 |
Â
msgstr ""
|
68 |
Â
|
69 |
+
#: includes/class-mla-ajax.php:190
|
70 |
Â
msgid "Published"
|
71 |
Â
msgstr ""
|
72 |
Â
|
73 |
+
#: includes/class-mla-ajax.php:193 includes/class-mla-edit-media.php:817
|
74 |
+
#: includes/class-mla-list-table.php:612
|
75 |
Â
msgid "Scheduled"
|
76 |
Â
msgstr ""
|
77 |
Â
|
78 |
+
#: includes/class-mla-ajax.php:196
|
79 |
Â
msgid "Pending Review"
|
80 |
Â
msgstr ""
|
81 |
Â
|
82 |
+
#: includes/class-mla-ajax.php:199 includes/class-mla-edit-media.php:823
|
83 |
+
#: includes/class-mla-list-table.php:609
|
84 |
Â
msgid "Draft"
|
85 |
Â
msgstr ""
|
86 |
Â
|
87 |
+
#: includes/class-mla-ajax.php:209 includes/class-mla-list-table.php:1375
|
88 |
+
#: includes/class-mla-list-table.php:1404
|
89 |
+
#: includes/class-mla-list-table.php:1468
|
Â
|
|
Â
|
|
90 |
Â
msgid "Y/m/d"
|
91 |
Â
msgstr ""
|
92 |
Â
|
93 |
+
#: includes/class-mla-ajax.php:238 includes/class-mla-ajax.php:245
|
94 |
+
#: includes/class-mla-ajax.php:254 includes/class-mla-core.php:757
|
95 |
+
#: includes/class-mla-core.php:775 includes/class-mla-core.php:1179
|
96 |
+
#: includes/class-mla-core.php:1185 includes/class-mla-core.php:1189
|
97 |
+
#: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
|
98 |
+
#: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
|
99 |
+
#: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:675
|
100 |
+
#: includes/class-mla-data.php:50 includes/class-mla-data.php:109
|
101 |
+
#: includes/class-mla-data.php:197 includes/class-mla-data.php:241
|
102 |
+
#: includes/class-mla-data.php:344 includes/class-mla-data.php:500
|
103 |
+
#: includes/class-mla-data.php:563 includes/class-mla-data.php:1258
|
104 |
+
#: includes/class-mla-data.php:1456 includes/class-mla-data.php:1462
|
105 |
+
#: includes/class-mla-data.php:1859 includes/class-mla-data.php:1863
|
106 |
+
#: includes/class-mla-data.php:3029 includes/class-mla-data.php:3060
|
107 |
+
#: includes/class-mla-data.php:3439 includes/class-mla-data.php:3452
|
108 |
+
#: includes/class-mla-data.php:3474 includes/class-mla-data.php:3688
|
109 |
+
#: includes/class-mla-data.php:3734 includes/class-mla-data.php:3766
|
110 |
+
#: includes/class-mla-data.php:3782 includes/class-mla-data.php:4008
|
111 |
+
#: includes/class-mla-edit-media.php:316 includes/class-mla-edit-media.php:731
|
112 |
+
#: includes/class-mla-edit-media.php:771 includes/class-mla-main.php:615
|
113 |
+
#: includes/class-mla-main.php:757 includes/class-mla-main.php:1098
|
114 |
+
#: includes/class-mla-main.php:1154 includes/class-mla-main.php:1179
|
115 |
+
#: includes/class-mla-main.php:1306 includes/class-mla-main.php:1358
|
116 |
+
#: includes/class-mla-main.php:1449 includes/class-mla-main.php:1480
|
117 |
+
#: includes/class-mla-main.php:1614 includes/class-mla-main.php:1621
|
118 |
+
#: includes/class-mla-main.php:1780 includes/class-mla-main.php:1855
|
119 |
+
#: includes/class-mla-main.php:2103 includes/class-mla-main.php:2111
|
120 |
+
#: includes/class-mla-main.php:2135 includes/class-mla-main.php:2143
|
121 |
+
#: includes/class-mla-main.php:2175 includes/class-mla-main.php:2183
|
122 |
+
#: includes/class-mla-media-modal.php:575 includes/class-mla-mime-types.php:755
|
123 |
+
#: includes/class-mla-mime-types.php:1151
|
124 |
+
#: includes/class-mla-mime-types.php:1239
|
125 |
+
#: includes/class-mla-mime-types.php:1385
|
126 |
+
#: includes/class-mla-mime-types.php:1408
|
127 |
+
#: includes/class-mla-mime-types.php:2211
|
128 |
+
#: includes/class-mla-mime-types.php:2222
|
129 |
+
#: includes/class-mla-mime-types.php:2235
|
130 |
+
#: includes/class-mla-mime-types.php:2243
|
131 |
+
#: includes/class-mla-mime-types.php:2248
|
132 |
+
#: includes/class-mla-mime-types.php:2291
|
133 |
+
#: includes/class-mla-mime-types.php:2310
|
134 |
+
#: includes/class-mla-mime-types.php:2361
|
135 |
+
#: includes/class-mla-mime-types.php:2395
|
136 |
+
#: includes/class-mla-mime-types.php:2480
|
137 |
+
#: includes/class-mla-mime-types.php:2559
|
138 |
+
#: includes/class-mla-mime-types.php:2568
|
139 |
+
#: includes/class-mla-mime-types.php:2600 includes/class-mla-objects.php:241
|
140 |
+
#: includes/class-mla-options.php:219 includes/class-mla-options.php:421
|
141 |
+
#: includes/class-mla-options.php:500 includes/class-mla-options.php:1003
|
142 |
+
#: includes/class-mla-options.php:1440 includes/class-mla-options.php:1453
|
143 |
+
#: includes/class-mla-options.php:1457 includes/class-mla-options.php:2052
|
144 |
+
#: includes/class-mla-options.php:2274 includes/class-mla-options.php:2842
|
145 |
+
#: includes/class-mla-options.php:2886 includes/class-mla-options.php:2894
|
146 |
+
#: includes/class-mla-options.php:2911 includes/class-mla-options.php:2921
|
147 |
+
#: includes/class-mla-options.php:2931 includes/class-mla-options.php:2939
|
148 |
+
#: includes/class-mla-options.php:2943
|
149 |
+
#: includes/class-mla-settings-custom-fields-tab.php:181
|
150 |
+
#: includes/class-mla-settings-custom-fields-tab.php:246
|
151 |
+
#: includes/class-mla-settings-custom-fields-tab.php:250
|
152 |
+
#: includes/class-mla-settings-custom-fields-tab.php:284
|
153 |
+
#: includes/class-mla-settings-custom-fields-tab.php:312
|
154 |
+
#: includes/class-mla-settings-custom-fields-tab.php:316
|
155 |
+
#: includes/class-mla-settings-custom-fields-tab.php:349
|
156 |
+
#: includes/class-mla-settings-custom-fields-tab.php:433
|
157 |
+
#: includes/class-mla-settings-custom-fields-tab.php:564
|
158 |
+
#: includes/class-mla-settings-custom-fields-tab.php:917
|
159 |
+
#: includes/class-mla-settings-custom-fields-tab.php:921
|
160 |
+
#: includes/class-mla-settings-custom-fields-tab.php:944
|
161 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2055
|
162 |
+
#: includes/class-mla-settings-documentation-tab.php:97
|
163 |
+
#: includes/class-mla-settings-documentation-tab.php:297
|
164 |
+
#: includes/class-mla-settings-documentation-tab.php:1302
|
165 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
166 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:220
|
167 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:310
|
168 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:424
|
169 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:447
|
170 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:607
|
171 |
+
#: includes/class-mla-settings-shortcodes-tab.php:79
|
172 |
+
#: includes/class-mla-settings-shortcodes-tab.php:90
|
173 |
+
#: includes/class-mla-settings-shortcodes-tab.php:94
|
174 |
+
#: includes/class-mla-settings-shortcodes-tab.php:112
|
175 |
+
#: includes/class-mla-settings-shortcodes-tab.php:140
|
176 |
+
#: includes/class-mla-settings-shortcodes-tab.php:207
|
177 |
+
#: includes/class-mla-settings-shortcodes-tab.php:214
|
178 |
+
#: includes/class-mla-settings-shortcodes-tab.php:218
|
179 |
+
#: includes/class-mla-settings-shortcodes-tab.php:508
|
180 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1660
|
181 |
+
#: includes/class-mla-settings-upload-tab.php:301
|
182 |
+
#: includes/class-mla-settings-upload-tab.php:353
|
183 |
+
#: includes/class-mla-settings-upload-tab.php:432
|
184 |
+
#: includes/class-mla-settings-upload-tab.php:594
|
185 |
+
#: includes/class-mla-settings-upload-tab.php:605
|
186 |
+
#: includes/class-mla-settings-view-tab.php:166
|
187 |
+
#: includes/class-mla-settings-view-tab.php:198
|
188 |
+
#: includes/class-mla-settings-view-tab.php:275
|
189 |
+
#: includes/class-mla-settings-view-tab.php:433
|
190 |
+
#: includes/class-mla-settings-view-tab.php:447
|
191 |
+
#: includes/class-mla-settings.php:564 includes/class-mla-settings.php:700
|
192 |
+
#: includes/class-mla-settings.php:737 includes/class-mla-settings.php:877
|
193 |
+
#: includes/class-mla-settings.php:1291 includes/class-mla-settings.php:1342
|
194 |
+
#: includes/class-mla-settings.php:1428 includes/class-mla-settings.php:1461
|
195 |
+
#: includes/class-mla-settings.php:1464 includes/class-mla-settings.php:1468
|
196 |
+
#: includes/class-mla-settings.php:1761 includes/class-mla-settings.php:1765
|
197 |
+
#: includes/class-mla-settings.php:1776 includes/class-mla-settings.php:1783
|
198 |
+
#: includes/class-mla-settings.php:1792 includes/class-mla-settings.php:1829
|
199 |
+
#: includes/class-mla-settings.php:1837 includes/class-mla-settings.php:1846
|
200 |
+
#: includes/class-mla-shortcode-support.php:2005
|
201 |
+
#: includes/class-mla-shortcode-support.php:2096
|
202 |
+
#: includes/class-mla-shortcode-support.php:3400
|
203 |
+
#: includes/class-mla-shortcode-support.php:3518
|
204 |
+
#: includes/class-mla-shortcode-support.php:3550
|
205 |
+
#: includes/class-mla-shortcode-support.php:4559
|
206 |
+
#: includes/class-mla-shortcode-support.php:4938
|
207 |
+
#: includes/class-mla-shortcode-support.php:4969
|
208 |
+
#: includes/class-mla-thumbnail-generation.php:341
|
209 |
+
#: includes/class-mla-thumbnail-generation.php:355
|
210 |
+
#: includes/class-mla-thumbnail-generation.php:367
|
211 |
+
#: includes/class-mla-thumbnail-generation.php:411
|
212 |
+
msgid "ERROR"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: includes/class-mla-ajax.php:238 includes/class-mla-main.php:1614
|
216 |
Â
msgid "No post ID found"
|
217 |
Â
msgstr ""
|
218 |
Â
|
219 |
+
#: includes/class-mla-ajax.php:245 includes/class-mla-main.php:1621
|
220 |
+
#: includes/class-mla-polylang-support.php:256
|
221 |
Â
msgid "You are not allowed to edit this Attachment."
|
222 |
Â
msgstr ""
|
223 |
Â
|
237 |
Â
msgid "Check this option to add support for Attachment Tags."
|
238 |
Â
msgstr ""
|
239 |
Â
|
240 |
+
#: includes/class-mla-core-options.php:404 includes/class-mla-settings.php:1035
|
241 |
Â
msgid "Where-used Reporting"
|
242 |
Â
msgstr ""
|
243 |
Â
|
267 |
Â
#: includes/class-mla-core-options.php:437
|
268 |
Â
#: includes/class-mla-core-options.php:447
|
269 |
Â
#: includes/class-mla-core-options.php:457
|
270 |
+
#: includes/class-mla-list-table.php:1072
|
271 |
+
#: includes/class-mla-list-table.php:1117
|
272 |
+
#: includes/class-mla-list-table.php:1167
|
273 |
+
#: includes/class-mla-list-table.php:1212
|
274 |
Â
msgid "Disabled"
|
275 |
Â
msgstr ""
|
276 |
Â
|
296 |
Â
|
297 |
Â
#: includes/class-mla-core-options.php:442
|
298 |
Â
#: includes/class-mla-edit-media.php:674 includes/class-mla-edit-media.php:990
|
299 |
+
#: includes/class-mla-settings.php:1542
|
300 |
Â
msgid "Gallery in"
|
301 |
Â
msgstr ""
|
302 |
Â
|
306 |
Â
msgstr ""
|
307 |
Â
|
308 |
Â
#: includes/class-mla-core-options.php:447
|
309 |
+
#: includes/class-mla-core-options.php:457 includes/class-mla-main.php:2014
|
310 |
+
#: includes/class-mla-settings-custom-fields-tab.php:720
|
311 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:462
|
312 |
Â
msgid "Refresh"
|
313 |
Â
msgstr ""
|
326 |
Â
|
327 |
Â
#: includes/class-mla-core-options.php:452
|
328 |
Â
#: includes/class-mla-edit-media.php:678 includes/class-mla-edit-media.php:1025
|
329 |
+
#: includes/class-mla-settings.php:1552
|
330 |
Â
msgid "MLA Gallery in"
|
331 |
Â
msgstr ""
|
332 |
Â
|
338 |
Â
"Cached."
|
339 |
Â
msgstr ""
|
340 |
Â
|
341 |
+
#: includes/class-mla-core-options.php:462 includes/class-mla-settings.php:1035
|
342 |
Â
msgid "Taxonomy Support"
|
343 |
Â
msgstr ""
|
344 |
Â
|
381 |
Â
msgstr ""
|
382 |
Â
|
383 |
Â
#: includes/class-mla-core-options.php:486
|
384 |
+
#: includes/class-mla-core-options.php:693 includes/class-mla-settings.php:1066
|
385 |
+
#: includes/class-mla-settings.php:1067 includes/class-mla-settings.php:1068
|
386 |
Â
msgid "For complete documentation"
|
387 |
Â
msgstr ""
|
388 |
Â
|
389 |
Â
#: includes/class-mla-core-options.php:486
|
390 |
+
#: includes/class-mla-core-options.php:693 includes/class-mla-settings.php:1066
|
391 |
+
#: includes/class-mla-settings.php:1067 includes/class-mla-settings.php:1068
|
392 |
Â
msgid "click here"
|
393 |
Â
msgstr ""
|
394 |
Â
|
490 |
Â
#: includes/class-mla-core-options.php:811
|
491 |
Â
#: includes/class-mla-core-options.php:842
|
492 |
Â
#: includes/class-mla-core-options.php:856
|
493 |
+
#: includes/class-mla-list-table.php:486 includes/class-mla-list-table.php:1325
|
494 |
+
#: includes/class-mla-settings-shortcodes-tab.php:635
|
495 |
Â
msgid "None"
|
496 |
Â
msgstr ""
|
497 |
Â
|
763 |
Â
#: includes/class-mla-core-options.php:820
|
764 |
Â
#: includes/class-mla-core-options.php:842
|
765 |
Â
#: includes/class-mla-core-options.php:856
|
766 |
+
#: includes/class-mla-core-options.php:870 includes/class-mla-settings.php:1117
|
767 |
Â
msgid "Media Manager Default"
|
768 |
Â
msgstr ""
|
769 |
Â
|
800 |
Â
msgid "Alignment"
|
801 |
Â
msgstr ""
|
802 |
Â
|
Â
|
|
803 |
Â
#: includes/class-mla-core-options.php:839
|
804 |
Â
#: includes/class-mla-core-options.php:853
|
805 |
Â
#: includes/class-mla-core-options.php:867
|
844 |
Â
msgstr ""
|
845 |
Â
|
846 |
Â
#: includes/class-mla-core-options.php:870
|
847 |
+
#: includes/class-mla-thumbnail-generation.php:496
|
848 |
+
#: includes/class-mla-thumbnail-generation.php:560
|
849 |
Â
msgid "Thumbnail"
|
850 |
Â
msgstr ""
|
851 |
Â
|
876 |
Â
"strong> of your settings below by clicking \""
|
877 |
Â
msgstr ""
|
878 |
Â
|
879 |
+
#: includes/class-mla-core-options.php:887 includes/class-mla-settings.php:1037
|
880 |
Â
msgid "Export ALL Settings"
|
881 |
Â
msgstr ""
|
882 |
Â
|
901 |
Â
msgid "Style Template"
|
902 |
Â
msgstr ""
|
903 |
Â
|
Â
|
|
904 |
Â
#: includes/class-mla-core-options.php:909
|
905 |
Â
#: includes/class-mla-core-options.php:919
|
906 |
Â
#: includes/class-mla-core-options.php:953
|
1030 |
Â
msgstr ""
|
1031 |
Â
|
1032 |
Â
#: includes/class-mla-core-options.php:1051
|
1033 |
+
#: includes/class-mla-core-options.php:1058
|
1034 |
+
msgid "See Help menu."
|
Â
|
|
Â
|
|
Â
|
|
1035 |
Â
msgstr ""
|
1036 |
Â
|
1037 |
Â
#: includes/class-mla-core-options.php:1055
|
1038 |
Â
msgid "Enable custom field mapping when updating media metadata"
|
1039 |
Â
msgstr ""
|
1040 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1041 |
Â
#: includes/class-mla-core-options.php:1062
|
1042 |
Â
msgid ""
|
1043 |
Â
"Update the custom field mapping values above, then click Save Changes to "
|
1061 |
Â
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
1062 |
Â
msgstr ""
|
1063 |
Â
|
1064 |
+
#: includes/class-mla-core-options.php:1082
|
1065 |
+
msgid ""
|
1066 |
+
"Check this option to enable mapping when media (attachments) metadata is "
|
1067 |
+
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
1068 |
+
"functions are used."
|
1069 |
+
msgstr ""
|
1070 |
+
|
1071 |
Â
#: includes/class-mla-core-options.php:1086
|
1072 |
Â
msgid ""
|
1073 |
Â
"Update the standard field mapping values above, then click <strong>Save "
|
1098 |
Â
msgid "IPTC/EXIF Mapping help"
|
1099 |
Â
msgstr ""
|
1100 |
Â
|
1101 |
+
#: includes/class-mla-core-options.php:1127 includes/class-mla-data.php:3737
|
1102 |
+
#: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:1985
|
1103 |
Â
msgid "Name/Slug"
|
1104 |
Â
msgstr ""
|
1105 |
Â
|
1106 |
+
#: includes/class-mla-core-options.php:1134 includes/class-mla-data.php:3779
|
1107 |
+
#: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:1267
|
1108 |
+
#: includes/class-mla-main.php:1988 includes/class-mla-options.php:457
|
1109 |
+
#: includes/mla-main-search-box-template.php:51
|
1110 |
Â
#: includes/mla-media-modal-js-template.php:48
|
1111 |
Â
msgid "ALT Text"
|
1112 |
Â
msgstr ""
|
1113 |
Â
|
1114 |
+
#: includes/class-mla-core-options.php:1141 includes/class-mla-data.php:3792
|
1115 |
+
#: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:1986
|
1116 |
Â
#: includes/class-mla-options.php:460
|
1117 |
+
#: includes/mla-main-search-box-template.php:53
|
1118 |
Â
#: includes/mla-media-modal-js-template.php:53
|
1119 |
Â
msgid "Caption"
|
1120 |
Â
msgstr ""
|
1121 |
Â
|
1122 |
+
#: includes/class-mla-core-options.php:1148 includes/class-mla-data.php:3801
|
1123 |
+
#: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:1987
|
1124 |
Â
#: includes/class-mla-options.php:463
|
1125 |
+
#: includes/class-mla-settings-upload-tab.php:174
|
1126 |
+
#: includes/class-mla-settings-upload-tab.php:542
|
1127 |
+
#: includes/class-mla-settings-view-tab.php:132
|
1128 |
+
#: includes/class-mla-settings-view-tab.php:388
|
1129 |
Â
#: includes/class-mla-template-support.php:74
|
1130 |
Â
#: includes/class-mla-template-support.php:92
|
1131 |
Â
#: includes/class-mla-template-support.php:110
|
1132 |
Â
#: includes/class-mla-template-support.php:130
|
1133 |
Â
#: includes/class-mla-template-support.php:178
|
1134 |
Â
#: includes/class-mla-template-support.php:226
|
1135 |
+
#: includes/mla-main-search-box-template.php:55
|
1136 |
Â
#: includes/mla-media-modal-js-template.php:57
|
1137 |
Â
msgid "Description"
|
1138 |
Â
msgstr ""
|
1152 |
Â
msgstr ""
|
1153 |
Â
|
1154 |
Â
#: includes/class-mla-core-options.php:1183
|
1155 |
+
#: includes/class-mla-mime-types.php:1644
|
1156 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2495
|
1157 |
+
#: includes/class-mla-settings-documentation-tab.php:1581
|
1158 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2013
|
1159 |
Â
msgctxt "table_view_singular"
|
1160 |
Â
msgid "All"
|
1161 |
Â
msgstr ""
|
1162 |
Â
|
1163 |
Â
#: includes/class-mla-core-options.php:1184
|
1164 |
+
#: includes/class-mla-mime-types.php:1645
|
1165 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2496
|
1166 |
+
#: includes/class-mla-settings-documentation-tab.php:1582
|
1167 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2014
|
1168 |
Â
msgctxt "table_view_plural"
|
1169 |
Â
msgid "All"
|
1170 |
Â
msgstr ""
|
1253 |
Â
msgstr ""
|
1254 |
Â
|
1255 |
Â
#: includes/class-mla-core-options.php:1237
|
1256 |
+
#: includes/class-mla-list-table.php:1481
|
1257 |
Â
msgctxt "table_view_singular"
|
1258 |
Â
msgid "Unattached"
|
1259 |
Â
msgstr ""
|
1357 |
Â
"the existing MLA_DEBUG_LEVEL value."
|
1358 |
Â
msgstr ""
|
1359 |
Â
|
1360 |
+
#: includes/class-mla-core.php:757
|
1361 |
+
#, php-format
|
1362 |
+
msgctxt "error_log"
|
1363 |
+
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
1364 |
+
msgstr ""
|
1365 |
+
|
1366 |
+
#: includes/class-mla-core.php:775
|
1367 |
+
#, php-format
|
1368 |
+
msgctxt "error_log"
|
1369 |
+
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
1370 |
+
msgstr ""
|
1371 |
+
|
1372 |
+
#: includes/class-mla-core.php:1179
|
1373 |
+
#, php-format
|
1374 |
+
msgid "%1$s: Bad specification part \"%2$s\""
|
1375 |
+
msgstr ""
|
1376 |
+
|
1377 |
+
#: includes/class-mla-core.php:1185
|
1378 |
+
#, php-format
|
1379 |
+
msgid "%1$s: Bad specification option \"%2$s\""
|
1380 |
+
msgstr ""
|
1381 |
+
|
1382 |
+
#: includes/class-mla-core.php:1189
|
1383 |
+
#, php-format
|
1384 |
+
msgid "%1$s: Bad specification prefix \"%2$s\""
|
1385 |
+
msgstr ""
|
1386 |
+
|
1387 |
+
#: includes/class-mla-core.php:1289
|
1388 |
+
msgid "Most Used"
|
1389 |
+
msgstr ""
|
1390 |
+
|
1391 |
+
#: includes/class-mla-core.php:1318
|
1392 |
+
#, php-format
|
1393 |
+
msgid "+ %s"
|
1394 |
+
msgstr ""
|
1395 |
+
|
1396 |
+
#: includes/class-mla-core.php:1324 includes/class-mla-main.php:1786
|
1397 |
+
#: includes/class-mla-media-modal.php:605
|
1398 |
+
#: includes/mla-media-modal-js-template.php:28
|
1399 |
+
#: includes/mla-media-modal-js-template.php:75
|
1400 |
+
msgid "Search"
|
1401 |
+
msgstr ""
|
1402 |
+
|
1403 |
Â
#: includes/class-mla-data-pdf.php:216
|
1404 |
Â
#, php-format
|
1405 |
Â
msgctxt "error_log"
|
1406 |
Â
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
1407 |
Â
msgstr ""
|
1408 |
Â
|
Â
|
|
1409 |
Â
#: includes/class-mla-data-pdf.php:517
|
1410 |
Â
#, php-format
|
1411 |
Â
msgctxt "error_log"
|
1412 |
Â
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
1413 |
Â
msgstr ""
|
1414 |
Â
|
Â
|
|
1415 |
Â
#: includes/class-mla-data-pdf.php:519
|
1416 |
Â
#, php-format
|
1417 |
Â
msgctxt "error_log"
|
1418 |
Â
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
1419 |
Â
msgstr ""
|
1420 |
Â
|
Â
|
|
1421 |
Â
#: includes/class-mla-data-pdf.php:565
|
1422 |
Â
#, php-format
|
1423 |
Â
msgctxt "error_log"
|
1424 |
Â
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
1425 |
Â
msgstr ""
|
1426 |
Â
|
Â
|
|
1427 |
Â
#: includes/class-mla-data-pdf.php:749
|
1428 |
Â
#, php-format
|
1429 |
Â
msgctxt "error_log"
|
1446 |
Â
msgstr ""
|
1447 |
Â
|
1448 |
Â
#: includes/class-mla-data-query.php:297
|
1449 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1211
|
1450 |
+
#: includes/class-mla-settings-documentation-tab.php:519
|
1451 |
+
#: includes/class-mla-settings-shortcodes-tab.php:966
|
1452 |
Â
msgctxt "list_table_column"
|
1453 |
Â
msgid "Name"
|
1454 |
Â
msgstr ""
|
1493 |
Â
msgid "Caption"
|
1494 |
Â
msgstr ""
|
1495 |
Â
|
1496 |
+
#: includes/class-mla-data-query.php:306 includes/class-mla-mime-types.php:559
|
1497 |
+
#: includes/class-mla-mime-types.php:634 includes/class-mla-mime-types.php:715
|
1498 |
+
#: includes/class-mla-settings-documentation-tab.php:522
|
1499 |
+
#: includes/class-mla-settings-shortcodes-tab.php:969
|
1500 |
Â
msgctxt "list_table_column"
|
1501 |
Â
msgid "Description"
|
1502 |
Â
msgstr ""
|
1503 |
Â
|
1504 |
+
#: includes/class-mla-data-query.php:307 includes/class-mla-mime-types.php:551
|
1505 |
+
#: includes/class-mla-mime-types.php:631
|
1506 |
Â
msgctxt "list_table_column"
|
1507 |
Â
msgid "MIME Type"
|
1508 |
Â
msgstr ""
|
1537 |
Â
msgid "Attached to"
|
1538 |
Â
msgstr ""
|
1539 |
Â
|
Â
|
|
1540 |
Â
#: includes/class-mla-data-query.php:675 includes/class-mla-edit-media.php:316
|
1541 |
+
#: includes/class-mla-main.php:1780 includes/class-mla-main.php:1855
|
1542 |
+
#: includes/class-mla-media-modal.php:575 includes/class-mla-mime-types.php:755
|
1543 |
+
#: includes/class-mla-mime-types.php:1408
|
1544 |
+
#: includes/class-mla-mime-types.php:2600
|
1545 |
+
#: includes/class-mla-settings-custom-fields-tab.php:564
|
1546 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2055
|
1547 |
Â
#: includes/class-mla-settings-documentation-tab.php:297
|
1548 |
+
#: includes/class-mla-settings-documentation-tab.php:1302
|
1549 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:447
|
1550 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:508
|
1551 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1660
|
1552 |
+
#: includes/class-mla-settings-upload-tab.php:301
|
1553 |
+
#: includes/class-mla-settings-view-tab.php:166
|
1554 |
Â
#, php-format
|
1555 |
Â
msgctxt "error_log"
|
1556 |
Â
msgid "%1$s: %2$s non-array \"%3$s\""
|
1557 |
Â
msgstr ""
|
1558 |
Â
|
1559 |
+
#: includes/class-mla-data-query.php:1138
|
Â
|
|
1560 |
Â
#, php-format
|
1561 |
Â
msgctxt "error_log"
|
1562 |
Â
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
1563 |
Â
msgstr ""
|
1564 |
Â
|
1565 |
+
#: includes/class-mla-data-query.php:1138
|
1566 |
+
#: includes/class-mla-data-query.php:1153
|
1567 |
+
#: includes/class-mla-data-query.php:1155
|
1568 |
+
#: includes/class-mla-data-query.php:1677
|
1569 |
+
#: includes/class-mla-data-query.php:1749
|
1570 |
+
#: includes/class-mla-data-query.php:1821
|
1571 |
+
#: includes/class-mla-data-query.php:1918
|
1572 |
+
#: includes/class-mla-data-query.php:2010
|
1573 |
+
#: includes/class-mla-data-query.php:2029
|
1574 |
Â
msgid "DEBUG"
|
1575 |
Â
msgstr ""
|
1576 |
Â
|
1577 |
+
#: includes/class-mla-data-query.php:1153
|
Â
|
|
1578 |
Â
#, php-format
|
1579 |
Â
msgctxt "error_log"
|
1580 |
Â
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1581 |
Â
msgstr ""
|
1582 |
Â
|
1583 |
+
#: includes/class-mla-data-query.php:1155
|
Â
|
|
1584 |
Â
#, php-format
|
1585 |
Â
msgctxt "error_log"
|
1586 |
Â
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1587 |
Â
msgstr ""
|
1588 |
Â
|
1589 |
+
#: includes/class-mla-data-query.php:1677
|
Â
|
|
1590 |
Â
#, php-format
|
1591 |
Â
msgctxt "error_log"
|
1592 |
Â
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1593 |
Â
msgstr ""
|
1594 |
Â
|
1595 |
+
#: includes/class-mla-data-query.php:1749
|
Â
|
|
1596 |
Â
#, php-format
|
1597 |
Â
msgctxt "error_log"
|
1598 |
Â
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1599 |
Â
msgstr ""
|
1600 |
Â
|
1601 |
+
#: includes/class-mla-data-query.php:1821
|
Â
|
|
1602 |
Â
#, php-format
|
1603 |
Â
msgctxt "error_log"
|
1604 |
Â
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1605 |
Â
msgstr ""
|
1606 |
Â
|
1607 |
+
#: includes/class-mla-data-query.php:1918
|
Â
|
|
1608 |
Â
#, php-format
|
1609 |
Â
msgctxt "error_log"
|
1610 |
Â
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1611 |
Â
msgstr ""
|
1612 |
Â
|
1613 |
+
#: includes/class-mla-data-query.php:2010
|
Â
|
|
1614 |
Â
#, php-format
|
1615 |
Â
msgctxt "error_log"
|
1616 |
Â
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1617 |
Â
msgstr ""
|
1618 |
Â
|
1619 |
+
#: includes/class-mla-data-query.php:2029
|
Â
|
|
1620 |
Â
#, php-format
|
1621 |
Â
msgctxt "error_log"
|
1622 |
Â
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
1624 |
Â
|
1625 |
Â
#: includes/class-mla-data-references.php:321
|
1626 |
Â
#: includes/class-mla-data-references.php:664
|
1627 |
+
#: includes/class-mla-list-table.php:992
|
1628 |
Â
msgid "NO REFERENCE TESTS"
|
1629 |
Â
msgstr ""
|
1630 |
Â
|
1650 |
Â
msgid "INVALID PARENT"
|
1651 |
Â
msgstr ""
|
1652 |
Â
|
Â
|
|
1653 |
Â
#: includes/class-mla-data-references.php:855
|
1654 |
Â
#, php-format
|
1655 |
Â
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
1656 |
Â
msgstr ""
|
1657 |
Â
|
Â
|
|
1658 |
Â
#: includes/class-mla-data.php:50
|
1659 |
Â
#, php-format
|
1660 |
Â
msgctxt "error_log"
|
1662 |
Â
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1663 |
Â
msgstr ""
|
1664 |
Â
|
Â
|
|
1665 |
Â
#: includes/class-mla-data.php:109
|
1666 |
Â
#, php-format
|
1667 |
Â
msgctxt "error_log"
|
1669 |
Â
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1670 |
Â
msgstr ""
|
1671 |
Â
|
Â
|
|
1672 |
Â
#: includes/class-mla-data.php:197
|
1673 |
Â
#, php-format
|
1674 |
Â
msgctxt "error_log"
|
1675 |
Â
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1676 |
Â
msgstr ""
|
1677 |
Â
|
Â
|
|
1678 |
Â
#: includes/class-mla-data.php:241
|
1679 |
Â
#, php-format
|
1680 |
Â
msgctxt "error_log"
|
1685 |
Â
msgid "Test; no closing parenthesis "
|
1686 |
Â
msgstr ""
|
1687 |
Â
|
Â
|
|
1688 |
Â
#: includes/class-mla-data.php:500
|
1689 |
Â
#, php-format
|
1690 |
Â
msgctxt "error_log"
|
1691 |
Â
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1692 |
Â
msgstr ""
|
1693 |
Â
|
Â
|
|
1694 |
Â
#: includes/class-mla-data.php:563
|
1695 |
Â
#, php-format
|
1696 |
Â
msgctxt "error_log"
|
1697 |
Â
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1698 |
Â
msgstr ""
|
1699 |
Â
|
1700 |
+
#: includes/class-mla-data.php:1258
|
Â
|
|
1701 |
Â
#, php-format
|
1702 |
Â
msgctxt "error_log"
|
1703 |
Â
msgid ""
|
1705 |
Â
"\"."
|
1706 |
Â
msgstr ""
|
1707 |
Â
|
1708 |
+
#: includes/class-mla-data.php:1456
|
Â
|
|
1709 |
Â
#, php-format
|
1710 |
Â
msgctxt "error_log"
|
1711 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1712 |
Â
msgstr ""
|
1713 |
Â
|
1714 |
+
#: includes/class-mla-data.php:1462
|
Â
|
|
1715 |
Â
#, php-format
|
1716 |
Â
msgctxt "error_log"
|
1717 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1718 |
Â
msgstr ""
|
1719 |
Â
|
1720 |
+
#: includes/class-mla-data.php:1859
|
1721 |
Â
msgctxt "error_log"
|
1722 |
Â
msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
|
1723 |
Â
msgstr ""
|
1724 |
Â
|
1725 |
+
#: includes/class-mla-data.php:1863
|
1726 |
Â
msgctxt "error_log"
|
1727 |
Â
msgid "mla_parse_xmp_metadata set option failed."
|
1728 |
Â
msgstr ""
|
1729 |
Â
|
1730 |
+
#: includes/class-mla-data.php:3186
|
1731 |
+
#: includes/class-mla-settings-custom-fields-tab.php:797
|
1732 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1524
|
1733 |
+
#: includes/class-mla-settings-view-tab.php:398
|
1734 |
+
#: includes/class-mla-settings-view-tab.php:799
|
1735 |
+
#: includes/class-mla-settings-view-tab.php:815
|
1736 |
Â
#: includes/class-mla-wpml-support.php:1528
|
1737 |
Â
msgid "Yes"
|
1738 |
Â
msgstr ""
|
1739 |
Â
|
1740 |
+
#: includes/class-mla-data.php:3188
|
1741 |
+
#: includes/class-mla-settings-custom-fields-tab.php:798
|
1742 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1526
|
1743 |
+
#: includes/class-mla-settings-view-tab.php:397
|
1744 |
+
#: includes/class-mla-settings-view-tab.php:801
|
1745 |
+
#: includes/class-mla-settings-view-tab.php:817
|
1746 |
Â
#: includes/class-mla-wpml-support.php:1529
|
1747 |
Â
msgid "No"
|
1748 |
Â
msgstr ""
|
1749 |
Â
|
1750 |
+
#: includes/class-mla-data.php:3436 includes/class-mla-data.php:3553
|
Â
|
|
1751 |
Â
#, php-format
|
1752 |
Â
msgid "Deleting %1$s"
|
1753 |
Â
msgstr ""
|
1754 |
Â
|
1755 |
+
#: includes/class-mla-data.php:3439
|
Â
|
|
1756 |
Â
#, php-format
|
1757 |
Â
msgid "%1$s: meta:%2$s not found"
|
1758 |
Â
msgstr ""
|
1759 |
Â
|
1760 |
+
#: includes/class-mla-data.php:3448 includes/class-mla-data.php:3564
|
1761 |
+
#: includes/class-mla-data.php:3576
|
Â
|
|
Â
|
|
Â
|
|
1762 |
Â
#, php-format
|
1763 |
Â
msgid "Adding %1$s = %2$s"
|
1764 |
Â
msgstr ""
|
1765 |
Â
|
1766 |
+
#: includes/class-mla-data.php:3452
|
Â
|
|
1767 |
Â
#, php-format
|
1768 |
Â
msgid "%1$s: Adding meta:%2$s; not found"
|
1769 |
Â
msgstr ""
|
1770 |
Â
|
1771 |
+
#: includes/class-mla-data.php:3459
|
Â
|
|
1772 |
Â
#, php-format
|
1773 |
Â
msgid "Deleting Null meta:%1$s"
|
1774 |
Â
msgstr ""
|
1775 |
Â
|
1776 |
+
#: includes/class-mla-data.php:3469 includes/class-mla-data.php:3645
|
1777 |
+
#: includes/class-mla-data.php:3711 includes/class-mla-data.php:3737
|
1778 |
+
#: includes/class-mla-data.php:3779 includes/class-mla-data.php:3792
|
1779 |
+
#: includes/class-mla-data.php:3801 includes/class-mla-data.php:3812
|
1780 |
+
#: includes/class-mla-data.php:3823 includes/class-mla-data.php:3836
|
1781 |
+
#: includes/class-mla-data.php:3845 includes/class-mla-data.php:3854
|
1782 |
+
#: includes/class-mla-mime-types.php:1242
|
1783 |
+
#: includes/class-mla-mime-types.php:2364
|
Â
|
|
1784 |
Â
#, php-format
|
1785 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1786 |
Â
msgstr ""
|
1787 |
Â
|
1788 |
+
#: includes/class-mla-data.php:3474
|
Â
|
|
1789 |
Â
#, php-format
|
1790 |
Â
msgid "%1$s: Changing meta:%2$s; not found"
|
1791 |
Â
msgstr ""
|
1792 |
Â
|
1793 |
+
#: includes/class-mla-data.php:3600
|
Â
|
|
1794 |
Â
#, php-format
|
1795 |
Â
msgid "Deleting old %1$s values"
|
1796 |
Â
msgstr ""
|
1797 |
Â
|
1798 |
+
#: includes/class-mla-data.php:3630
|
Â
|
|
1799 |
Â
#, php-format
|
1800 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1801 |
Â
msgstr ""
|
1802 |
Â
|
1803 |
+
#: includes/class-mla-data.php:3688
|
1804 |
Â
msgid "Could not retrieve Attachment."
|
1805 |
Â
msgstr ""
|
1806 |
Â
|
1807 |
+
#: includes/class-mla-data.php:3734
|
Â
|
|
1808 |
Â
#, php-format
|
1809 |
Â
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1810 |
Â
msgstr ""
|
1811 |
Â
|
1812 |
+
#: includes/class-mla-data.php:3763
|
Â
|
|
1813 |
Â
#, php-format
|
1814 |
Â
msgid "Deleting ALT Text, was \"%1$s\""
|
1815 |
Â
msgstr ""
|
1816 |
Â
|
1817 |
+
#: includes/class-mla-data.php:3766
|
Â
|
|
1818 |
Â
#, php-format
|
1819 |
Â
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1820 |
Â
msgstr ""
|
1821 |
Â
|
1822 |
+
#: includes/class-mla-data.php:3782
|
Â
|
|
1823 |
Â
#, php-format
|
1824 |
Â
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1825 |
Â
msgstr ""
|
1826 |
Â
|
1827 |
+
#: includes/class-mla-data.php:3812 includes/class-mla-list-table.php:969
|
1828 |
+
#: includes/class-mla-list-table.php:972 includes/class-mla-list-table.php:975
|
1829 |
+
#: includes/class-mla-list-table.php:1043 includes/class-mla-options.php:2222
|
1830 |
+
#: includes/class-mla-options.php:2603
|
1831 |
Â
msgid "Parent"
|
1832 |
Â
msgstr ""
|
1833 |
Â
|
1834 |
+
#: includes/class-mla-data.php:3823 includes/class-mla-edit-media.php:655
|
1835 |
+
#: includes/class-mla-edit-media.php:858 includes/class-mla-main.php:1991
|
1836 |
+
#: includes/class-mla-settings-view-tab.php:130
|
1837 |
+
#: includes/class-mla-settings-view-tab.php:386
|
1838 |
Â
msgid "Menu Order"
|
1839 |
Â
msgstr ""
|
1840 |
Â
|
1841 |
+
#: includes/class-mla-data.php:3836 includes/class-mla-edit-media.php:395
|
1842 |
+
#: includes/class-mla-list-table.php:1423
|
1843 |
+
#: includes/class-mla-list-table.php:1426 includes/class-mla-main.php:1861
|
1844 |
+
#: includes/class-mla-main.php:1963
|
1845 |
Â
msgid "Author"
|
1846 |
Â
msgstr ""
|
1847 |
Â
|
1848 |
+
#: includes/class-mla-data.php:3845 includes/class-mla-edit-media.php:420
|
1849 |
+
#: includes/class-mla-main.php:2003
|
1850 |
Â
msgid "Comments"
|
1851 |
Â
msgstr ""
|
1852 |
Â
|
1853 |
+
#: includes/class-mla-data.php:3854 includes/class-mla-edit-media.php:421
|
1854 |
+
#: includes/class-mla-main.php:2004
|
1855 |
Â
msgid "Pings"
|
1856 |
Â
msgstr ""
|
1857 |
Â
|
1858 |
+
#: includes/class-mla-data.php:3881
|
1859 |
+
#, php-format
|
1860 |
+
msgid "You cannot assign \"%1$s\" terms"
|
1861 |
+
msgstr ""
|
1862 |
+
|
1863 |
+
#: includes/class-mla-data.php:3893
|
1864 |
+
msgctxt "tag delimiter"
|
1865 |
+
msgid ","
|
1866 |
+
msgstr ""
|
1867 |
+
|
1868 |
+
#: includes/class-mla-data.php:3926
|
1869 |
Â
msgid "Adding"
|
1870 |
Â
msgstr ""
|
1871 |
Â
|
1872 |
+
#: includes/class-mla-data.php:3931
|
1873 |
Â
msgid "Removing"
|
1874 |
Â
msgstr ""
|
1875 |
Â
|
1876 |
+
#: includes/class-mla-data.php:3940
|
1877 |
Â
msgid "Replacing"
|
1878 |
Â
msgstr ""
|
1879 |
Â
|
1880 |
+
#: includes/class-mla-data.php:3948
|
1881 |
Â
msgid "Ignoring"
|
1882 |
Â
msgstr ""
|
1883 |
Â
|
1884 |
+
#: includes/class-mla-data.php:3961
|
Â
|
|
1885 |
Â
#, php-format
|
1886 |
Â
msgid "%1$s \"%2$s\" terms"
|
1887 |
Â
msgstr ""
|
1888 |
Â
|
1889 |
+
#: includes/class-mla-data.php:3973 includes/class-mla-main.php:1164
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1890 |
Â
#, php-format
|
1891 |
Â
msgid "Item %1$d, no changes detected."
|
1892 |
Â
msgstr ""
|
1893 |
Â
|
1894 |
+
#: includes/class-mla-data.php:3994
|
Â
|
|
1895 |
Â
#, php-format
|
1896 |
Â
msgid "Item %1$d updated."
|
1897 |
Â
msgstr ""
|
1898 |
Â
|
1899 |
+
#: includes/class-mla-data.php:4008
|
Â
|
|
1900 |
Â
#, php-format
|
1901 |
Â
msgid "%1$s: Item %2$d update failed."
|
1902 |
Â
msgstr ""
|
1903 |
Â
|
1904 |
Â
#: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:184
|
1905 |
+
#: includes/class-mla-edit-media.php:237 includes/class-mla-main.php:395
|
1906 |
+
#: includes/class-mla-main.php:944 includes/class-mla-main.php:1671
|
1907 |
+
#: includes/class-mla-media-modal.php:236 includes/class-mla-options.php:1735
|
1908 |
+
#: includes/class-mla-polylang-support.php:363
|
1909 |
+
#: includes/class-mla-settings-custom-fields-tab.php:59
|
1910 |
+
#: includes/class-mla-settings-custom-fields-tab.php:94
|
1911 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:39
|
1912 |
Â
#: includes/class-mla-settings-upload-tab.php:48
|
1913 |
Â
#: includes/class-mla-settings-view-tab.php:48
|
1929 |
Â
msgstr ""
|
1930 |
Â
|
1931 |
Â
#: includes/class-mla-edit-media.php:185 includes/class-mla-edit-media.php:239
|
1932 |
+
#: includes/class-mla-main.php:382
|
1933 |
Â
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
1934 |
Â
msgstr ""
|
1935 |
Â
|
1936 |
Â
#: includes/class-mla-edit-media.php:186 includes/class-mla-edit-media.php:240
|
1937 |
+
#: includes/class-mla-main.php:383
|
1938 |
Â
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
1939 |
Â
msgstr ""
|
1940 |
Â
|
1941 |
+
#: includes/class-mla-edit-media.php:338 includes/class-mla-main.php:1896
|
1942 |
Â
msgid "more"
|
1943 |
Â
msgstr ""
|
1944 |
Â
|
1945 |
+
#: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:1897
|
1946 |
Â
msgid "less"
|
1947 |
Â
msgstr ""
|
1948 |
Â
|
1949 |
Â
#: includes/class-mla-edit-media.php:342 includes/class-mla-edit-media.php:373
|
1950 |
+
#: includes/class-mla-main.php:1900 includes/class-mla-main.php:1938
|
1951 |
Â
msgid "Add"
|
1952 |
Â
msgstr ""
|
1953 |
Â
|
1954 |
Â
#: includes/class-mla-edit-media.php:343 includes/class-mla-edit-media.php:374
|
1955 |
+
#: includes/class-mla-main.php:1901 includes/class-mla-main.php:1939
|
1956 |
Â
msgid "Remove"
|
1957 |
Â
msgstr ""
|
1958 |
Â
|
1959 |
Â
#: includes/class-mla-edit-media.php:344 includes/class-mla-edit-media.php:375
|
1960 |
+
#: includes/class-mla-main.php:1902 includes/class-mla-main.php:1940
|
1961 |
Â
#: includes/class-mla-options.php:1239 includes/class-mla-options.php:1338
|
1962 |
+
#: includes/class-mla-options.php:1382 includes/class-mla-options.php:2488
|
1963 |
+
#: includes/class-mla-options.php:2542 includes/class-mla-options.php:2662
|
1964 |
+
#: includes/class-mla-options.php:2757 includes/class-mla-options.php:2803
|
1965 |
+
#: includes/class-mla-settings-custom-fields-tab.php:492
|
1966 |
+
#: includes/class-mla-settings-custom-fields-tab.php:768
|
1967 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1510
|
1968 |
Â
msgid "Replace"
|
1969 |
Â
msgstr ""
|
1970 |
Â
|
1974 |
Â
"menu for more information."
|
1975 |
Â
msgstr ""
|
1976 |
Â
|
1977 |
+
#: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:1997
|
1978 |
+
#: includes/class-mla-settings.php:1376
|
1979 |
Â
msgid "Reset"
|
1980 |
Â
msgstr ""
|
1981 |
Â
|
1982 |
+
#: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:2005
|
1983 |
+
#: includes/class-mla-main.php:2051
|
1984 |
+
#: includes/class-mla-settings-custom-fields-tab.php:796
|
1985 |
+
#: includes/class-mla-settings-upload-tab.php:122
|
1986 |
+
#: includes/class-mla-settings-upload-tab.php:553
|
1987 |
+
#: includes/class-mla-settings-view-tab.php:396
|
1988 |
Â
msgid "No Change"
|
1989 |
Â
msgstr ""
|
1990 |
Â
|
1991 |
+
#: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:2006
|
1992 |
Â
msgid "Allow"
|
1993 |
Â
msgstr ""
|
1994 |
Â
|
1995 |
+
#: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:2007
|
1996 |
Â
msgid "Do not allow"
|
1997 |
Â
msgstr ""
|
1998 |
Â
|
1999 |
+
#: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:969
|
2000 |
+
#: includes/class-mla-list-table.php:1040 includes/class-mla-main.php:1989
|
2001 |
Â
msgid "Parent ID"
|
2002 |
Â
msgstr ""
|
2003 |
Â
|
2004 |
Â
#: includes/class-mla-edit-media.php:432 includes/class-mla-edit-media.php:838
|
2005 |
+
#: includes/class-mla-main.php:1990
|
2006 |
+
#: includes/class-mla-settings-upload-tab.php:1482
|
2007 |
Â
msgid "Select"
|
2008 |
Â
msgstr ""
|
2009 |
Â
|
2015 |
Â
msgid "IPTC/EXIF mapping updated."
|
2016 |
Â
msgstr ""
|
2017 |
Â
|
Â
|
|
2018 |
Â
#: includes/class-mla-edit-media.php:531
|
2019 |
Â
msgid "M j, Y @ G:i"
|
2020 |
Â
msgstr ""
|
2027 |
Â
msgid "Map Custom Field metadata for this item"
|
2028 |
Â
msgstr ""
|
2029 |
Â
|
2030 |
+
#: includes/class-mla-edit-media.php:554 includes/class-mla-main.php:1582
|
2031 |
+
#: includes/class-mla-main.php:2010
|
2032 |
Â
msgid "Map Custom Field metadata"
|
2033 |
Â
msgstr ""
|
2034 |
Â
|
2036 |
Â
msgid "Map IPTC/EXIF metadata for this item"
|
2037 |
Â
msgstr ""
|
2038 |
Â
|
2039 |
+
#: includes/class-mla-edit-media.php:556 includes/class-mla-main.php:1585
|
2040 |
+
#: includes/class-mla-main.php:2009
|
2041 |
Â
msgid "Map IPTC/EXIF metadata"
|
2042 |
Â
msgstr ""
|
2043 |
Â
|
2049 |
Â
msgid "Attachment Metadata"
|
2050 |
Â
msgstr ""
|
2051 |
Â
|
Â
|
|
2052 |
Â
#: includes/class-mla-edit-media.php:731 includes/class-mla-edit-media.php:771
|
2053 |
+
#: includes/class-mla-main.php:615 includes/class-mla-settings.php:564
|
2054 |
Â
#, php-format
|
2055 |
Â
msgctxt "error_log"
|
2056 |
Â
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
2057 |
Â
msgstr ""
|
2058 |
Â
|
2059 |
+
#: includes/class-mla-edit-media.php:820 includes/class-mla-list-table.php:615
|
2060 |
Â
msgctxt "post state"
|
2061 |
Â
msgid "Pending"
|
2062 |
Â
msgstr ""
|
2065 |
Â
msgid "Post Parent"
|
2066 |
Â
msgstr ""
|
2067 |
Â
|
2068 |
+
#: includes/class-mla-edit-media.php:838 includes/class-mla-main.php:1785
|
2069 |
Â
msgid "Select Parent"
|
2070 |
Â
msgstr ""
|
2071 |
Â
|
2072 |
Â
#: includes/class-mla-edit-media.php:905 includes/class-mla-edit-media.php:943
|
2073 |
Â
#: includes/class-mla-edit-media.php:979 includes/class-mla-edit-media.php:1014
|
2074 |
+
#: includes/class-mla-list-table.php:1090
|
2075 |
+
#: includes/class-mla-list-table.php:1139
|
2076 |
+
#: includes/class-mla-list-table.php:1185
|
2077 |
+
#: includes/class-mla-list-table.php:1230
|
2078 |
Â
msgid "PARENT"
|
2079 |
Â
msgstr ""
|
2080 |
Â
|
2082 |
Â
msgid "All"
|
2083 |
Â
msgstr ""
|
2084 |
Â
|
2085 |
+
#: includes/class-mla-list-table.php:219
|
2086 |
+
msgctxt "show_option_none"
|
2087 |
+
msgid "No"
|
2088 |
+
msgstr ""
|
2089 |
+
|
2090 |
+
#: includes/class-mla-list-table.php:425
|
2091 |
+
#: includes/class-mla-settings-custom-fields-tab.php:985
|
2092 |
+
#: includes/class-mla-settings-upload-tab.php:647
|
2093 |
+
#: includes/class-mla-settings-view-tab.php:490
|
2094 |
Â
msgid "List View"
|
2095 |
Â
msgstr ""
|
2096 |
Â
|
2097 |
+
#: includes/class-mla-list-table.php:492 includes/class-mla-list-table.php:525
|
2098 |
+
#: includes/class-mla-list-table.php:969 includes/class-mla-list-table.php:1040
|
2099 |
+
#: includes/class-mla-list-table.php:1263
|
2100 |
+
#: includes/class-mla-list-table.php:1307
|
2101 |
+
#: includes/class-mla-list-table.php:1339
|
2102 |
+
#: includes/class-mla-list-table.php:1423
|
2103 |
Â
msgid "Filter by"
|
2104 |
Â
msgstr ""
|
2105 |
Â
|
2106 |
+
#: includes/class-mla-list-table.php:502
|
2107 |
Â
#: includes/class-mla-media-modal-ajax.php:490
|
2108 |
Â
msgid "Not Supported"
|
2109 |
Â
msgstr ""
|
2110 |
Â
|
2111 |
+
#: includes/class-mla-list-table.php:545
|
2112 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1300
|
2113 |
+
#: includes/class-mla-settings-documentation-tab.php:604
|
2114 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1039
|
2115 |
+
#: includes/class-mla-settings-upload-tab.php:858
|
2116 |
+
#: includes/class-mla-settings-upload-tab.php:1429
|
2117 |
+
#: includes/class-mla-settings-view-tab.php:654
|
2118 |
Â
#, php-format
|
2119 |
Â
msgid "column_default: %1$s, %2$s"
|
2120 |
Â
msgstr ""
|
2121 |
Â
|
2122 |
+
#: includes/class-mla-list-table.php:593 includes/class-mla-list-table.php:719
|
2123 |
+
#: includes/class-mla-list-table.php:1095
|
2124 |
+
#: includes/class-mla-list-table.php:1144
|
2125 |
+
#: includes/class-mla-list-table.php:1190
|
2126 |
+
#: includes/class-mla-list-table.php:1235
|
2127 |
+
#: includes/class-mla-list-table.php:1457
|
2128 |
+
#: includes/class-mla-list-table.php:1783
|
2129 |
+
#: includes/class-mla-polylang-support.php:362
|
2130 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1353
|
2131 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1705
|
2132 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1087
|
2133 |
+
#: includes/class-mla-settings-upload-tab.php:923
|
2134 |
+
#: includes/class-mla-settings-upload-tab.php:1225
|
2135 |
+
#: includes/class-mla-settings-view-tab.php:720
|
2136 |
+
#: includes/class-mla-settings-view-tab.php:935
|
2137 |
Â
msgid "Edit"
|
2138 |
Â
msgstr ""
|
2139 |
Â
|
2140 |
+
#: includes/class-mla-list-table.php:618
|
2141 |
+
#: includes/class-mla-thumbnail-generation.php:557
|
2142 |
Â
msgid "Trash"
|
2143 |
Â
msgstr ""
|
2144 |
Â
|
2145 |
+
#: includes/class-mla-list-table.php:708
|
2146 |
Â
msgid "Restore this item from the Trash"
|
2147 |
Â
msgstr ""
|
2148 |
Â
|
2149 |
+
#: includes/class-mla-list-table.php:708 includes/class-mla-list-table.php:1780
|
2150 |
Â
msgid "Restore"
|
2151 |
Â
msgstr ""
|
2152 |
Â
|
2153 |
+
#: includes/class-mla-list-table.php:719
|
2154 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1353
|
2155 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1087
|
2156 |
+
#: includes/class-mla-settings-upload-tab.php:923
|
2157 |
+
#: includes/class-mla-settings-view-tab.php:720
|
2158 |
Â
msgid "Edit this item"
|
2159 |
Â
msgstr ""
|
2160 |
Â
|
2161 |
+
#: includes/class-mla-list-table.php:720
|
2162 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1356
|
2163 |
+
#: includes/class-mla-settings-upload-tab.php:925
|
2164 |
+
#: includes/class-mla-settings-view-tab.php:722
|
2165 |
Â
msgid "Edit this item inline"
|
2166 |
Â
msgstr ""
|
2167 |
Â
|
2168 |
+
#: includes/class-mla-list-table.php:720 includes/class-mla-main.php:1983
|
2169 |
Â
#: includes/class-mla-options.php:1114 includes/class-mla-options.php:1418
|
2170 |
+
#: includes/class-mla-settings-custom-fields-tab.php:483
|
2171 |
+
#: includes/class-mla-settings-custom-fields-tab.php:759
|
2172 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1356
|
2173 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1466
|
2174 |
+
#: includes/class-mla-settings-upload-tab.php:925
|
2175 |
+
#: includes/class-mla-settings-view-tab.php:722
|
2176 |
Â
msgid "Quick Edit"
|
2177 |
Â
msgstr ""
|
2178 |
Â
|
2179 |
+
#: includes/class-mla-list-table.php:726
|
2180 |
Â
msgid "Move this item to the Trash"
|
2181 |
Â
msgstr ""
|
2182 |
Â
|
2183 |
+
#: includes/class-mla-list-table.php:726 includes/class-mla-list-table.php:1786
|
2184 |
Â
msgid "Move to Trash"
|
2185 |
Â
msgstr ""
|
2186 |
Â
|
2187 |
+
#: includes/class-mla-list-table.php:731
|
2188 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1364
|
2189 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1093
|
2190 |
+
#: includes/class-mla-settings-upload-tab.php:929
|
2191 |
+
#: includes/class-mla-settings-view-tab.php:728
|
2192 |
Â
msgid "Delete this item Permanently"
|
2193 |
Â
msgstr ""
|
2194 |
Â
|
2195 |
+
#: includes/class-mla-list-table.php:731 includes/class-mla-list-table.php:1781
|
2196 |
+
#: includes/class-mla-list-table.php:1788
|
2197 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1364
|
2198 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1706
|
2199 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1093
|
2200 |
+
#: includes/class-mla-settings-upload-tab.php:929
|
2201 |
+
#: includes/class-mla-settings-view-tab.php:728
|
2202 |
+
#: includes/class-mla-settings-view-tab.php:936
|
2203 |
Â
msgid "Delete Permanently"
|
2204 |
Â
msgstr ""
|
2205 |
Â
|
2206 |
+
#: includes/class-mla-list-table.php:739
|
2207 |
+
#: includes/class-mla-settings-documentation-tab.php:674
|
2208 |
+
#: includes/class-mla-settings.php:1366
|
2209 |
Â
msgid "Download"
|
2210 |
Â
msgstr ""
|
2211 |
Â
|
2212 |
+
#: includes/class-mla-list-table.php:743
|
2213 |
+
#: includes/class-mla-settings-documentation-tab.php:677
|
2214 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1085
|
2215 |
+
#: includes/class-mla-settings-view-tab.php:374
|
2216 |
Â
msgid "View"
|
2217 |
Â
msgstr ""
|
2218 |
Â
|
2219 |
+
#: includes/class-mla-list-table.php:1037
|
2220 |
Â
msgid "(no title: bad ID)"
|
2221 |
Â
msgstr ""
|
2222 |
Â
|
2223 |
+
#: includes/class-mla-list-table.php:1310
|
2224 |
+
#: includes/class-mla-settings-upload-tab.php:167
|
2225 |
+
#: includes/class-mla-settings-upload-tab.php:536
|
2226 |
Â
msgid "MIME Type"
|
2227 |
Â
msgstr ""
|
2228 |
Â
|
2229 |
+
#: includes/class-mla-list-table.php:1343
|
2230 |
Â
msgid "Base File"
|
2231 |
Â
msgstr ""
|
2232 |
Â
|
2233 |
+
#: includes/class-mla-list-table.php:1359
|
2234 |
+
#: includes/class-mla-list-table.php:1392
|
2235 |
Â
msgid "Unpublished"
|
2236 |
Â
msgstr ""
|
2237 |
Â
|
2238 |
+
#: includes/class-mla-list-table.php:1368
|
2239 |
+
#: includes/class-mla-list-table.php:1399
|
Â
|
|
2240 |
Â
#, php-format
|
2241 |
Â
msgid "%1$s from now"
|
2242 |
Â
msgstr ""
|
2243 |
Â
|
2244 |
+
#: includes/class-mla-list-table.php:1371
|
2245 |
+
#: includes/class-mla-list-table.php:1401
|
Â
|
|
2246 |
Â
#, php-format
|
2247 |
Â
msgid "%1$s ago"
|
2248 |
Â
msgstr ""
|
2249 |
Â
|
2250 |
+
#: includes/class-mla-list-table.php:1464
|
2251 |
Â
msgid "(Private post)"
|
2252 |
Â
msgstr ""
|
2253 |
Â
|
2254 |
+
#: includes/class-mla-list-table.php:1485
|
2255 |
Â
msgid "Set Parent"
|
2256 |
Â
msgstr ""
|
2257 |
Â
|
2258 |
+
#: includes/class-mla-list-table.php:1635
|
2259 |
Â
msgctxt "uploaded files"
|
2260 |
Â
msgid "All"
|
2261 |
Â
msgid_plural "All"
|
2262 |
Â
msgstr[0] ""
|
2263 |
Â
msgstr[1] ""
|
2264 |
Â
|
2265 |
+
#: includes/class-mla-list-table.php:1880
|
2266 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1771
|
2267 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1374
|
2268 |
Â
msgid "Filter"
|
2269 |
Â
msgstr ""
|
2270 |
Â
|
2271 |
+
#: includes/class-mla-list-table.php:1883
|
2272 |
Â
#: includes/mla-media-modal-js-template.php:72
|
2273 |
Â
msgid "Terms Search"
|
2274 |
Â
msgstr ""
|
2275 |
Â
|
2276 |
+
#: includes/class-mla-list-table.php:1888
|
2277 |
+
#: includes/class-mla-polylang-support.php:2003
|
2278 |
+
#: includes/class-mla-thumbnail-generation.php:562
|
2279 |
Â
msgid "Clear Filter-by"
|
2280 |
Â
msgstr ""
|
2281 |
Â
|
2282 |
+
#: includes/class-mla-list-table.php:1891
|
2283 |
Â
msgid "Empty Trash"
|
2284 |
Â
msgstr ""
|
2285 |
Â
|
2286 |
+
#: includes/class-mla-main.php:384
|
2287 |
Â
msgid "Error while saving the changes."
|
2288 |
Â
msgstr ""
|
2289 |
Â
|
2290 |
+
#: includes/class-mla-main.php:385
|
2291 |
+
#: includes/class-mla-settings-custom-fields-tab.php:57
|
2292 |
+
#: includes/class-mla-settings-custom-fields-tab.php:92
|
2293 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:37
|
2294 |
Â
#: includes/class-mla-settings-upload-tab.php:46
|
2295 |
Â
#: includes/class-mla-settings-view-tab.php:46
|
2296 |
Â
msgid "Remove From Bulk Edit"
|
2297 |
Â
msgstr ""
|
2298 |
Â
|
2299 |
+
#: includes/class-mla-main.php:387
|
2300 |
Â
msgid "Bulk Edit items"
|
2301 |
Â
msgstr ""
|
2302 |
Â
|
2303 |
+
#: includes/class-mla-main.php:388 includes/class-mla-main.php:2011
|
2304 |
+
#: includes/class-mla-settings-custom-fields-tab.php:63
|
2305 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:43
|
2306 |
Â
msgid "Waiting"
|
2307 |
Â
msgstr ""
|
2308 |
Â
|
2309 |
+
#: includes/class-mla-main.php:389 includes/class-mla-main.php:2013
|
2310 |
+
#: includes/class-mla-settings-custom-fields-tab.php:65
|
2311 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:45
|
2312 |
Â
msgid "Complete"
|
2313 |
Â
msgstr ""
|
2314 |
Â
|
2315 |
+
#: includes/class-mla-main.php:390
|
2316 |
+
#: includes/class-mla-settings-custom-fields-tab.php:66
|
2317 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:46
|
2318 |
Â
msgid "Unchanged"
|
2319 |
Â
msgstr ""
|
2320 |
Â
|
2321 |
+
#: includes/class-mla-main.php:391
|
2322 |
+
#: includes/class-mla-settings-custom-fields-tab.php:67
|
2323 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:47
|
2324 |
Â
msgid "Succeeded"
|
2325 |
Â
msgstr ""
|
2326 |
Â
|
2327 |
+
#: includes/class-mla-main.php:392
|
2328 |
+
#: includes/class-mla-settings-custom-fields-tab.php:68
|
2329 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:48
|
2330 |
Â
msgid "Failed"
|
2331 |
Â
msgstr ""
|
2332 |
Â
|
2333 |
+
#: includes/class-mla-main.php:393
|
2334 |
Â
msgid "CANCELED"
|
2335 |
Â
msgstr ""
|
2336 |
Â
|
2337 |
+
#: includes/class-mla-main.php:504
|
2338 |
Â
#, php-format
|
2339 |
Â
msgid "Item permanently deleted."
|
2340 |
Â
msgid_plural "%d items permanently deleted."
|
2341 |
Â
msgstr[0] ""
|
2342 |
Â
msgstr[1] ""
|
2343 |
Â
|
2344 |
+
#: includes/class-mla-main.php:509 includes/class-mla-main.php:2190
|
Â
|
|
2345 |
Â
#, php-format
|
2346 |
Â
msgid "Item %1$d moved to Trash."
|
2347 |
Â
msgstr ""
|
2348 |
Â
|
2349 |
+
#: includes/class-mla-main.php:528
|
2350 |
Â
msgid "Entries per page"
|
2351 |
Â
msgstr ""
|
2352 |
Â
|
2353 |
+
#: includes/class-mla-main.php:1098
|
2354 |
Â
msgid "You are not allowed to edit Attachment: "
|
2355 |
Â
msgstr ""
|
2356 |
Â
|
2357 |
+
#: includes/class-mla-main.php:1154
|
Â
|
|
2358 |
Â
#, php-format
|
2359 |
Â
msgid "%1$s: Unknown bulk action %2$s"
|
2360 |
Â
msgstr ""
|
2361 |
Â
|
2362 |
+
#: includes/class-mla-main.php:1176
|
2363 |
Â
msgid "no changes detected"
|
2364 |
Â
msgstr ""
|
2365 |
Â
|
2366 |
+
#: includes/class-mla-main.php:1223
|
2367 |
+
#: includes/class-mla-settings-custom-fields-tab.php:619
|
2368 |
Â
#: includes/class-mla-settings-documentation-tab.php:247
|
2369 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:569
|
2370 |
+
#: includes/class-mla-settings-upload-tab.php:411
|
2371 |
+
#: includes/class-mla-settings-view-tab.php:254
|
2372 |
Â
#, php-format
|
2373 |
Â
msgid "Bulk Action %1$s - no items selected."
|
2374 |
Â
msgstr ""
|
2375 |
Â
|
2376 |
+
#: includes/class-mla-main.php:1307
|
2377 |
Â
msgid "You do not have permission to manage attachments."
|
2378 |
Â
msgstr ""
|
2379 |
Â
|
2380 |
+
#: includes/class-mla-main.php:1367
|
Â
|
|
2381 |
Â
#, php-format
|
2382 |
Â
msgctxt "deleted items"
|
2383 |
Â
msgid "%s item deleted."
|
2385 |
Â
msgstr[0] ""
|
2386 |
Â
msgstr[1] ""
|
2387 |
Â
|
2388 |
+
#: includes/class-mla-main.php:1369
|
2389 |
Â
msgid "No items deleted."
|
2390 |
Â
msgstr ""
|
2391 |
Â
|
2392 |
+
#: includes/class-mla-main.php:1423
|
2393 |
Â
msgid "Empty Terms Search; ignored"
|
2394 |
Â
msgstr ""
|
2395 |
Â
|
2396 |
+
#: includes/class-mla-main.php:1435
|
2397 |
+
#: includes/class-mla-settings-custom-fields-tab.php:648
|
Â
|
|
2398 |
Â
#: includes/class-mla-settings-documentation-tab.php:281
|
2399 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:598
|
2400 |
+
#: includes/class-mla-settings-upload-tab.php:450
|
2401 |
+
#: includes/class-mla-settings-view-tab.php:291
|
2402 |
Â
#, php-format
|
2403 |
Â
msgid "Unknown mla_admin_action - \"%1$s\""
|
2404 |
Â
msgstr ""
|
2405 |
Â
|
2406 |
+
#: includes/class-mla-main.php:1468
|
2407 |
Â
msgid "term search results for"
|
2408 |
Â
msgstr ""
|
2409 |
Â
|
2410 |
+
#: includes/class-mla-main.php:1471
|
2411 |
Â
msgid "post/parent results for"
|
2412 |
Â
msgstr ""
|
2413 |
Â
|
2414 |
+
#: includes/class-mla-main.php:1473
|
2415 |
Â
msgid "search results for"
|
2416 |
Â
msgstr ""
|
2417 |
Â
|
2418 |
+
#: includes/class-mla-main.php:1588 includes/class-mla-main.php:1807
|
2419 |
+
#: includes/class-mla-main.php:1998
|
2420 |
+
#: includes/class-mla-settings-custom-fields-tab.php:522
|
2421 |
+
#: includes/class-mla-settings-custom-fields-tab.php:800
|
2422 |
+
#: includes/class-mla-settings-documentation-tab.php:664
|
2423 |
+
#: includes/class-mla-settings-documentation-tab.php:885
|
2424 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:484
|
2425 |
+
#: includes/class-mla-settings-upload-tab.php:176
|
2426 |
+
#: includes/class-mla-settings-upload-tab.php:550
|
2427 |
+
#: includes/class-mla-settings-view-tab.php:134
|
2428 |
+
#: includes/class-mla-settings-view-tab.php:394
|
2429 |
Â
msgid "Update"
|
2430 |
Â
msgstr ""
|
2431 |
Â
|
2432 |
+
#: includes/class-mla-main.php:1742
|
2433 |
Â
msgid "All Post Types"
|
2434 |
Â
msgstr ""
|
2435 |
Â
|
2436 |
+
#: includes/class-mla-main.php:1788
|
2437 |
Â
msgid "For"
|
2438 |
Â
msgstr ""
|
2439 |
Â
|
2440 |
+
#: includes/class-mla-main.php:1798
|
2441 |
Â
#: includes/class-mla-shortcode-support.php:993
|
2442 |
Â
msgid "Unattached"
|
2443 |
Â
msgstr ""
|
2444 |
Â
|
2445 |
+
#: includes/class-mla-main.php:1803 includes/class-mla-main.php:1996
|
2446 |
+
#: includes/class-mla-polylang-support.php:1996
|
2447 |
+
#: includes/class-mla-settings-custom-fields-tab.php:520
|
2448 |
+
#: includes/class-mla-settings-custom-fields-tab.php:717
|
2449 |
+
#: includes/class-mla-settings-custom-fields-tab.php:799
|
2450 |
Â
#: includes/class-mla-settings-documentation-tab.php:167
|
2451 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:459
|
2452 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:411
|
2453 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:481
|
2454 |
+
#: includes/class-mla-settings-upload-tab.php:177
|
2455 |
+
#: includes/class-mla-settings-upload-tab.php:251
|
2456 |
+
#: includes/class-mla-settings-upload-tab.php:549
|
2457 |
+
#: includes/class-mla-settings-view-tab.php:135
|
2458 |
+
#: includes/class-mla-settings-view-tab.php:393
|
2459 |
+
#: includes/class-mla-thumbnail-generation.php:563
|
2460 |
Â
msgid "Cancel"
|
2461 |
Â
msgstr ""
|
2462 |
Â
|
2463 |
+
#: includes/class-mla-main.php:1999 includes/class-mla-options.php:1128
|
2464 |
Â
#: includes/class-mla-options.php:1419
|
2465 |
+
#: includes/class-mla-settings-custom-fields-tab.php:486
|
2466 |
+
#: includes/class-mla-settings-custom-fields-tab.php:762
|
2467 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1470
|
2468 |
+
#: includes/class-mla-settings-upload-tab.php:551
|
2469 |
+
#: includes/class-mla-settings-view-tab.php:395
|
2470 |
Â
msgid "Bulk Edit"
|
2471 |
Â
msgstr ""
|
2472 |
Â
|
2473 |
+
#: includes/class-mla-main.php:2012
|
2474 |
Â
msgid "In-process"
|
2475 |
Â
msgstr ""
|
2476 |
Â
|
2477 |
+
#: includes/class-mla-main.php:2103
|
2478 |
Â
msgid "You are not allowed to delete this item."
|
2479 |
Â
msgstr ""
|
2480 |
Â
|
2481 |
+
#: includes/class-mla-main.php:2111
|
Â
|
|
2482 |
Â
#, php-format
|
2483 |
Â
msgid "%1$s: Item %2$d could NOT be deleted."
|
2484 |
Â
msgstr ""
|
2485 |
Â
|
2486 |
+
#: includes/class-mla-main.php:2118
|
Â
|
|
2487 |
Â
#, php-format
|
2488 |
Â
msgid "Item %1$d permanently deleted."
|
2489 |
Â
msgstr ""
|
2490 |
Â
|
2491 |
+
#: includes/class-mla-main.php:2135
|
2492 |
Â
msgid "You are not allowed to move this item out of the Trash."
|
2493 |
Â
msgstr ""
|
2494 |
Â
|
2495 |
+
#: includes/class-mla-main.php:2143
|
Â
|
|
2496 |
Â
#, php-format
|
2497 |
Â
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
2498 |
Â
msgstr ""
|
2499 |
Â
|
2500 |
+
#: includes/class-mla-main.php:2158
|
Â
|
|
2501 |
Â
#, php-format
|
2502 |
Â
msgid "Item %1$d restored from Trash."
|
2503 |
Â
msgstr ""
|
2504 |
Â
|
2505 |
+
#: includes/class-mla-main.php:2175
|
2506 |
Â
msgid "You are not allowed to move this item to the Trash."
|
2507 |
Â
msgstr ""
|
2508 |
Â
|
2509 |
+
#: includes/class-mla-main.php:2183
|
Â
|
|
2510 |
Â
#, php-format
|
2511 |
Â
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
2512 |
Â
msgstr ""
|
2523 |
Â
msgid "Tags"
|
2524 |
Â
msgstr ""
|
2525 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2526 |
Â
#: includes/class-mla-media-modal-ajax.php:452
|
2527 |
Â
#: includes/class-mla-objects.php:46 includes/class-mla-objects.php:76
|
2528 |
+
#: includes/class-mla-settings-upload-tab.php:532
|
2529 |
+
#: includes/class-mla-settings-view-tab.php:374
|
2530 |
Â
#, php-format
|
2531 |
Â
msgid "Add New %1$s"
|
2532 |
Â
msgstr ""
|
2539 |
Â
msgid "Show all dates"
|
2540 |
Â
msgstr ""
|
2541 |
Â
|
Â
|
|
2542 |
Â
#: includes/class-mla-media-modal.php:121
|
2543 |
Â
#, php-format
|
2544 |
Â
msgid "%1$s %2$d"
|
2581 |
Â
msgid "Exact"
|
2582 |
Â
msgstr ""
|
2583 |
Â
|
2584 |
+
#: includes/class-mla-mime-types.php:398
|
2585 |
Â
msgctxt "post_mime_types"
|
2586 |
Â
msgid "Manage"
|
2587 |
Â
msgstr ""
|
2588 |
Â
|
2589 |
+
#: includes/class-mla-mime-types.php:550 includes/class-mla-mime-types.php:630
|
2590 |
Â
msgctxt "list_table_column"
|
2591 |
Â
msgid "Extension"
|
2592 |
Â
msgstr ""
|
2593 |
Â
|
2594 |
+
#: includes/class-mla-mime-types.php:552
|
2595 |
Â
msgctxt "list_table_column"
|
2596 |
Â
msgid "Icon Type"
|
2597 |
Â
msgstr ""
|
2598 |
Â
|
2599 |
+
#: includes/class-mla-mime-types.php:553
|
2600 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1213
|
2601 |
Â
msgctxt "list_table_column"
|
2602 |
Â
msgid "Source"
|
2603 |
Â
msgstr ""
|
2604 |
Â
|
2605 |
+
#: includes/class-mla-mime-types.php:554
|
2606 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1216
|
2607 |
Â
msgctxt "list_table_column"
|
2608 |
Â
msgid "Status"
|
2609 |
Â
msgstr ""
|
2610 |
Â
|
2611 |
+
#: includes/class-mla-mime-types.php:555 includes/class-mla-mime-types.php:632
|
2612 |
Â
msgctxt "list_table_column"
|
2613 |
Â
msgid "WordPress Type"
|
2614 |
Â
msgstr ""
|
2615 |
Â
|
2616 |
+
#: includes/class-mla-mime-types.php:556 includes/class-mla-mime-types.php:633
|
2617 |
Â
msgctxt "list_table_column"
|
2618 |
Â
msgid "MLA Type"
|
2619 |
Â
msgstr ""
|
2620 |
Â
|
2621 |
+
#: includes/class-mla-mime-types.php:557
|
2622 |
Â
msgctxt "list_table_column"
|
2623 |
Â
msgid "Std. Source"
|
2624 |
Â
msgstr ""
|
2625 |
Â
|
2626 |
+
#: includes/class-mla-mime-types.php:558
|
2627 |
Â
msgctxt "list_table_column"
|
2628 |
Â
msgid "Std. Icon Type"
|
2629 |
Â
msgstr ""
|
2630 |
Â
|
2631 |
+
#: includes/class-mla-mime-types.php:708
|
2632 |
Â
msgctxt "list_table_column"
|
2633 |
Â
msgid "Slug"
|
2634 |
Â
msgstr ""
|
2635 |
Â
|
2636 |
+
#: includes/class-mla-mime-types.php:709
|
2637 |
Â
msgctxt "list_table_column"
|
2638 |
Â
msgid "Specification"
|
2639 |
Â
msgstr ""
|
2640 |
Â
|
2641 |
+
#: includes/class-mla-mime-types.php:710
|
2642 |
Â
msgctxt "list_table_column"
|
2643 |
Â
msgid "Post Mime"
|
2644 |
Â
msgstr ""
|
2645 |
Â
|
2646 |
+
#: includes/class-mla-mime-types.php:711
|
2647 |
Â
msgctxt "list_table_column"
|
2648 |
Â
msgid "Table View"
|
2649 |
Â
msgstr ""
|
2650 |
Â
|
2651 |
+
#: includes/class-mla-mime-types.php:712
|
2652 |
Â
msgctxt "list_table_column"
|
2653 |
Â
msgid "Singular Name"
|
2654 |
Â
msgstr ""
|
2655 |
Â
|
2656 |
+
#: includes/class-mla-mime-types.php:713
|
2657 |
Â
msgctxt "list_table_column"
|
2658 |
Â
msgid "Plural Name"
|
2659 |
Â
msgstr ""
|
2660 |
Â
|
2661 |
+
#: includes/class-mla-mime-types.php:714
|
2662 |
Â
msgctxt "list_table_column"
|
2663 |
Â
msgid "Order"
|
2664 |
Â
msgstr ""
|
2665 |
Â
|
2666 |
+
#: includes/class-mla-mime-types.php:1036
|
2667 |
Â
msgctxt "post_mime_types_description"
|
2668 |
Â
msgid "Copied from previous filter/plugin"
|
2669 |
Â
msgstr ""
|
2670 |
Â
|
2671 |
+
#: includes/class-mla-mime-types.php:1137
|
2672 |
+
#: includes/class-mla-mime-types.php:1254
|
2673 |
Â
msgid "Ignoring specification for Post MIME Type; using slug"
|
2674 |
Â
msgstr ""
|
2675 |
Â
|
2676 |
+
#: includes/class-mla-mime-types.php:1143
|
2677 |
+
#: includes/class-mla-mime-types.php:2227
|
Â
|
|
2678 |
Â
#, php-format
|
2679 |
Â
msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
|
2680 |
Â
msgstr ""
|
2681 |
Â
|
2682 |
+
#: includes/class-mla-mime-types.php:1143
|
2683 |
+
#: includes/class-mla-mime-types.php:1231
|
2684 |
+
#: includes/class-mla-mime-types.php:1242
|
2685 |
+
#: includes/class-mla-settings-view-tab.php:119
|
2686 |
+
#: includes/class-mla-settings-view-tab.php:375
|
2687 |
Â
msgid "Slug"
|
2688 |
Â
msgstr ""
|
2689 |
Â
|
2690 |
+
#: includes/class-mla-mime-types.php:1151
|
2691 |
+
#: includes/class-mla-mime-types.php:1239
|
Â
|
|
2692 |
Â
#, php-format
|
2693 |
Â
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
2694 |
Â
msgstr ""
|
2695 |
Â
|
2696 |
+
#: includes/class-mla-mime-types.php:1186
|
Â
|
|
2697 |
Â
#, php-format
|
2698 |
Â
msgid "Edit view \"%1$s\"; added"
|
2699 |
Â
msgstr ""
|
2700 |
Â
|
2701 |
+
#: includes/class-mla-mime-types.php:1231
|
2702 |
+
#: includes/class-mla-mime-types.php:2353
|
Â
|
|
2703 |
Â
#, php-format
|
2704 |
Â
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
2705 |
Â
msgstr ""
|
2706 |
Â
|
2707 |
+
#: includes/class-mla-mime-types.php:1284
|
Â
|
|
2708 |
Â
#, php-format
|
2709 |
Â
msgid "Edit view \"%1$s\"; no changes detected"
|
2710 |
Â
msgstr ""
|
2711 |
Â
|
2712 |
+
#: includes/class-mla-mime-types.php:1298
|
Â
|
|
2713 |
Â
#, php-format
|
2714 |
Â
msgid "Edit view \"%1$s\"; updated"
|
2715 |
Â
msgstr ""
|
2716 |
Â
|
2717 |
+
#: includes/class-mla-mime-types.php:1371
|
Â
|
|
2718 |
Â
#, php-format
|
2719 |
Â
msgid "View \"%1$s\" reverted to standard"
|
2720 |
Â
msgstr ""
|
2721 |
Â
|
2722 |
+
#: includes/class-mla-mime-types.php:1377
|
Â
|
|
2723 |
Â
#, php-format
|
2724 |
Â
msgid "View \"%1$s\" deleted"
|
2725 |
Â
msgstr ""
|
2726 |
Â
|
2727 |
+
#: includes/class-mla-mime-types.php:1385
|
Â
|
|
2728 |
Â
#, php-format
|
2729 |
Â
msgid "%1$s: Did not find view \"%2$s\""
|
2730 |
Â
msgstr ""
|
2731 |
Â
|
2732 |
+
#: includes/class-mla-mime-types.php:1648
|
2733 |
+
#: includes/class-mla-settings-documentation-tab.php:1589
|
2734 |
Â
msgctxt "table_view_singular"
|
2735 |
Â
msgid "Active"
|
2736 |
Â
msgstr ""
|
2737 |
Â
|
2738 |
+
#: includes/class-mla-mime-types.php:1649
|
2739 |
+
#: includes/class-mla-settings-documentation-tab.php:1590
|
2740 |
Â
msgctxt "table_view_plural"
|
2741 |
Â
msgid "Active"
|
2742 |
Â
msgstr ""
|
2743 |
Â
|
2744 |
+
#: includes/class-mla-mime-types.php:1652
|
2745 |
+
#: includes/class-mla-settings-documentation-tab.php:1593
|
2746 |
Â
msgctxt "table_view_singular"
|
2747 |
Â
msgid "Inactive"
|
2748 |
Â
msgstr ""
|
2749 |
Â
|
2750 |
+
#: includes/class-mla-mime-types.php:1653
|
2751 |
+
#: includes/class-mla-settings-documentation-tab.php:1594
|
2752 |
Â
msgctxt "table_view_plural"
|
2753 |
Â
msgid "Inactive"
|
2754 |
Â
msgstr ""
|
2755 |
Â
|
2756 |
+
#: includes/class-mla-mime-types.php:1656
|
2757 |
Â
msgctxt "table_view_singular"
|
2758 |
Â
msgid "WordPress"
|
2759 |
Â
msgstr ""
|
2760 |
Â
|
2761 |
+
#: includes/class-mla-mime-types.php:1657
|
2762 |
Â
msgctxt "table_view_plural"
|
2763 |
Â
msgid "WordPress"
|
2764 |
Â
msgstr ""
|
2765 |
Â
|
2766 |
+
#: includes/class-mla-mime-types.php:1660
|
2767 |
Â
msgctxt "table_view_singular"
|
2768 |
Â
msgid "MLA"
|
2769 |
Â
msgstr ""
|
2770 |
Â
|
2771 |
+
#: includes/class-mla-mime-types.php:1661
|
2772 |
Â
msgctxt "table_view_plural"
|
2773 |
Â
msgid "MLA"
|
2774 |
Â
msgstr ""
|
2775 |
Â
|
2776 |
+
#: includes/class-mla-mime-types.php:1664
|
2777 |
Â
msgctxt "table_view_singular"
|
2778 |
Â
msgid "Custom"
|
2779 |
Â
msgstr ""
|
2780 |
Â
|
2781 |
+
#: includes/class-mla-mime-types.php:1665
|
2782 |
Â
msgctxt "table_view_plural"
|
2783 |
Â
msgid "Custom"
|
2784 |
Â
msgstr ""
|
2785 |
Â
|
2786 |
+
#: includes/class-mla-mime-types.php:1920
|
2787 |
Â
msgid "icon"
|
2788 |
Â
msgstr ""
|
2789 |
Â
|
2790 |
+
#: includes/class-mla-mime-types.php:2211
|
2791 |
+
#: includes/class-mla-mime-types.php:2310
|
2792 |
Â
msgid "Cannot load Upload MIME Types"
|
2793 |
Â
msgstr ""
|
2794 |
Â
|
2795 |
+
#: includes/class-mla-mime-types.php:2222
|
2796 |
Â
msgid "Extension is required"
|
2797 |
Â
msgstr ""
|
2798 |
Â
|
2799 |
+
#: includes/class-mla-mime-types.php:2227
|
2800 |
+
#: includes/class-mla-mime-types.php:2353
|
2801 |
+
#: includes/class-mla-mime-types.php:2364
|
2802 |
+
#: includes/class-mla-settings-upload-tab.php:165
|
2803 |
+
#: includes/class-mla-settings-upload-tab.php:534
|
2804 |
Â
msgid "Extension"
|
2805 |
Â
msgstr ""
|
2806 |
Â
|
2807 |
+
#: includes/class-mla-mime-types.php:2235
|
Â
|
|
2808 |
Â
#, php-format
|
2809 |
Â
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
2810 |
Â
msgstr ""
|
2811 |
Â
|
2812 |
+
#: includes/class-mla-mime-types.php:2243
|
2813 |
Â
msgid "MIME type is required"
|
2814 |
Â
msgstr ""
|
2815 |
Â
|
2816 |
+
#: includes/class-mla-mime-types.php:2248
|
2817 |
+
#: includes/class-mla-mime-types.php:2395
|
Â
|
|
2818 |
Â
#, php-format
|
2819 |
Â
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
2820 |
Â
msgstr ""
|
2821 |
Â
|
2822 |
+
#: includes/class-mla-mime-types.php:2285
|
Â
|
|
2823 |
Â
#, php-format
|
2824 |
Â
msgid "Upload MIME Type \"%1$s\"; added"
|
2825 |
Â
msgstr ""
|
2826 |
Â
|
2827 |
+
#: includes/class-mla-mime-types.php:2291
|
2828 |
+
#: includes/class-mla-mime-types.php:2480
|
2829 |
+
#: includes/class-mla-mime-types.php:2559
|
2830 |
Â
msgid "Cannot update Upload MIME Types"
|
2831 |
Â
msgstr ""
|
2832 |
Â
|
2833 |
+
#: includes/class-mla-mime-types.php:2361
|
Â
|
|
2834 |
Â
#, php-format
|
2835 |
Â
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
2836 |
Â
msgstr ""
|
2837 |
Â
|
2838 |
+
#: includes/class-mla-mime-types.php:2460
|
Â
|
|
2839 |
Â
#, php-format
|
2840 |
Â
msgid "Edit type \"%1$s\"; no changes detected"
|
2841 |
Â
msgstr ""
|
2842 |
Â
|
2843 |
+
#: includes/class-mla-mime-types.php:2474
|
Â
|
|
2844 |
Â
#, php-format
|
2845 |
Â
msgid "Edit type \"%1$s\"; updated"
|
2846 |
Â
msgstr ""
|
2847 |
Â
|
2848 |
+
#: includes/class-mla-mime-types.php:2547
|
Â
|
|
2849 |
Â
#, php-format
|
2850 |
Â
msgid "Upload MIME Type \"%1$s\"; reverted to standard"
|
2851 |
Â
msgstr ""
|
2852 |
Â
|
2853 |
+
#: includes/class-mla-mime-types.php:2553
|
Â
|
|
2854 |
Â
#, php-format
|
2855 |
Â
msgid "Upload MIME Type \"%1$s\"; deleted"
|
2856 |
Â
msgstr ""
|
2857 |
Â
|
2858 |
+
#: includes/class-mla-mime-types.php:2568
|
Â
|
|
2859 |
Â
#, php-format
|
2860 |
Â
msgid "%1$s: Did not find Upload type \"%2$s\""
|
2861 |
Â
msgstr ""
|
2940 |
Â
msgid "Attachments"
|
2941 |
Â
msgstr ""
|
2942 |
Â
|
Â
|
|
2943 |
Â
#: includes/class-mla-objects.php:241
|
2944 |
Â
#, php-format
|
2945 |
Â
msgctxt "error_log"
|
2971 |
Â
msgid "tpls/mla-option-templates.tpl not found"
|
2972 |
Â
msgstr ""
|
2973 |
Â
|
Â
|
|
2974 |
Â
#: includes/class-mla-options.php:219 includes/class-mla-options.php:421
|
2975 |
Â
#: includes/class-mla-options.php:500 includes/class-mla-options.php:1457
|
2976 |
+
#: includes/class-mla-options.php:2943
|
2977 |
Â
#, php-format
|
2978 |
Â
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
2979 |
Â
msgstr ""
|
3010 |
Â
msgid "Taxonomy"
|
3011 |
Â
msgstr ""
|
3012 |
Â
|
Â
|
|
3013 |
Â
#: includes/class-mla-options.php:358
|
3014 |
Â
#, php-format
|
3015 |
Â
msgid "List Filter ignored; %1$s not supported."
|
3016 |
Â
msgstr ""
|
3017 |
Â
|
Â
|
|
3018 |
Â
#: includes/class-mla-options.php:365
|
3019 |
Â
#, php-format
|
3020 |
Â
msgid "Inline Edit ignored; %1$s not supported."
|
3021 |
Â
msgstr ""
|
3022 |
Â
|
Â
|
|
3023 |
Â
#: includes/class-mla-options.php:373
|
3024 |
Â
#, php-format
|
3025 |
Â
msgid "Term Search ignored; %1$s not supported."
|
3026 |
Â
msgstr ""
|
3027 |
Â
|
Â
|
|
3028 |
Â
#: includes/class-mla-options.php:383
|
3029 |
Â
#, php-format
|
3030 |
Â
msgid "Checklist ignored; %1$s not supported."
|
3031 |
Â
msgstr ""
|
3032 |
Â
|
Â
|
|
3033 |
Â
#: includes/class-mla-options.php:391
|
3034 |
Â
#, php-format
|
3035 |
Â
msgid "Checked On Top ignored; %1$s not supported."
|
3036 |
Â
msgstr ""
|
3037 |
Â
|
Â
|
|
3038 |
Â
#: includes/class-mla-options.php:411 includes/class-mla-options.php:490
|
3039 |
Â
#, php-format
|
3040 |
Â
msgid "Update custom %1$s"
|
3041 |
Â
msgstr ""
|
3042 |
Â
|
Â
|
|
3043 |
Â
#: includes/class-mla-options.php:418 includes/class-mla-options.php:497
|
3044 |
+
#: includes/class-mla-options.php:2936
|
3045 |
Â
#, php-format
|
3046 |
Â
msgid "Reset custom %1$s"
|
3047 |
Â
msgstr ""
|
3048 |
Â
|
3049 |
Â
#: includes/class-mla-options.php:447
|
3050 |
+
#: includes/mla-main-search-box-template.php:60
|
3051 |
Â
#: includes/mla-media-modal-js-template.php:32
|
3052 |
Â
msgid "and"
|
3053 |
Â
msgstr ""
|
3054 |
Â
|
3055 |
Â
#: includes/class-mla-options.php:449
|
3056 |
+
#: includes/mla-main-search-box-template.php:61
|
3057 |
Â
#: includes/mla-media-modal-js-template.php:36
|
3058 |
Â
msgid "or"
|
3059 |
Â
msgstr ""
|
3060 |
Â
|
3061 |
Â
#: includes/class-mla-options.php:454
|
3062 |
+
#: includes/class-mla-settings-custom-fields-tab.php:466
|
3063 |
+
#: includes/class-mla-settings-custom-fields-tab.php:746
|
3064 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:407
|
3065 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:477
|
3066 |
+
#: includes/mla-main-search-box-template.php:49
|
3067 |
Â
#: includes/mla-media-modal-js-template.php:44
|
3068 |
Â
msgid "Name"
|
3069 |
Â
msgstr ""
|
3070 |
Â
|
3071 |
Â
#: includes/class-mla-options.php:466
|
3072 |
+
#: includes/mla-main-search-box-template.php:57
|
3073 |
Â
#: includes/mla-media-modal-js-template.php:61
|
3074 |
Â
msgid "File"
|
3075 |
Â
msgstr ""
|
3076 |
Â
|
3077 |
Â
#: includes/class-mla-options.php:469
|
3078 |
+
#: includes/mla-main-search-box-template.php:58
|
3079 |
Â
#: includes/mla-media-modal-js-template.php:66
|
3080 |
Â
msgid "Terms"
|
3081 |
Â
msgstr ""
|
3082 |
Â
|
3083 |
Â
#: includes/class-mla-options.php:871 includes/class-mla-options.php:917
|
3084 |
+
#: includes/class-mla-options.php:1966 includes/class-mla-options.php:1997
|
3085 |
+
#: includes/class-mla-settings-upload-tab.php:128
|
3086 |
Â
msgid "None (select a value)"
|
3087 |
Â
msgstr ""
|
3088 |
Â
|
3094 |
Â
msgid "Template (see below)"
|
3095 |
Â
msgstr ""
|
3096 |
Â
|
3097 |
+
#: includes/class-mla-options.php:1003 includes/class-mla-options.php:2274
|
Â
|
|
3098 |
Â
#, php-format
|
3099 |
Â
msgid "%1$s: New field %2$s already exists."
|
3100 |
Â
msgstr ""
|
3101 |
Â
|
3102 |
+
#: includes/class-mla-options.php:1008 includes/class-mla-options.php:2279
|
Â
|
|
3103 |
Â
#, php-format
|
3104 |
Â
msgid "Adding new field %1$s."
|
3105 |
Â
msgstr ""
|
3106 |
Â
|
3107 |
+
#: includes/class-mla-options.php:1016 includes/class-mla-options.php:2287
|
Â
|
|
3108 |
Â
#, php-format
|
3109 |
Â
msgid "Adding new rule for %1$s."
|
3110 |
Â
msgstr ""
|
3111 |
Â
|
3112 |
+
#: includes/class-mla-options.php:1042 includes/class-mla-options.php:2148
|
3113 |
+
#: includes/class-mla-options.php:2313
|
Â
|
|
3114 |
Â
#, php-format
|
3115 |
Â
msgid "Deleting rule for %1$s."
|
3116 |
Â
msgstr ""
|
3117 |
Â
|
Â
|
|
3118 |
Â
#: includes/class-mla-options.php:1065 includes/class-mla-options.php:1086
|
3119 |
Â
#: includes/class-mla-options.php:1136 includes/class-mla-options.php:1143
|
3120 |
+
#: includes/class-mla-options.php:2064 includes/class-mla-options.php:2071
|
3121 |
+
#: includes/class-mla-options.php:2078 includes/class-mla-options.php:2173
|
3122 |
+
#: includes/class-mla-options.php:2180 includes/class-mla-options.php:2215
|
3123 |
+
#: includes/class-mla-options.php:2222 includes/class-mla-options.php:2323
|
3124 |
+
#: includes/class-mla-options.php:2330 includes/class-mla-options.php:2365
|
3125 |
+
#: includes/class-mla-options.php:2372
|
3126 |
Â
#, php-format
|
3127 |
Â
msgid "%1$s changing %2$s from %3$s to %4$s."
|
3128 |
Â
msgstr ""
|
3129 |
Â
|
3130 |
Â
#: includes/class-mla-options.php:1065 includes/class-mla-options.php:1414
|
3131 |
+
#: includes/class-mla-settings-custom-fields-tab.php:474
|
3132 |
+
#: includes/class-mla-settings-custom-fields-tab.php:750
|
3133 |
Â
msgid "Data Source"
|
3134 |
Â
msgstr ""
|
3135 |
Â
|
3136 |
+
#: includes/class-mla-options.php:1071 includes/class-mla-options.php:2098
|
3137 |
+
#: includes/class-mla-options.php:2200 includes/class-mla-options.php:2350
|
3138 |
Â
msgid "Replace to Keep"
|
3139 |
Â
msgstr ""
|
3140 |
Â
|
3141 |
+
#: includes/class-mla-options.php:1074 includes/class-mla-options.php:2101
|
3142 |
+
#: includes/class-mla-options.php:2203 includes/class-mla-options.php:2353
|
3143 |
Â
msgid "Keep to Replace"
|
3144 |
Â
msgstr ""
|
3145 |
Â
|
Â
|
|
3146 |
Â
#: includes/class-mla-options.php:1079 includes/class-mla-options.php:1100
|
3147 |
Â
#: includes/class-mla-options.php:1114 includes/class-mla-options.php:1128
|
3148 |
+
#: includes/class-mla-options.php:1157 includes/class-mla-options.php:2092
|
3149 |
+
#: includes/class-mla-options.php:2106 includes/class-mla-options.php:2194
|
3150 |
+
#: includes/class-mla-options.php:2208 includes/class-mla-options.php:2344
|
3151 |
+
#: includes/class-mla-options.php:2358 includes/class-mla-options.php:2386
|
3152 |
Â
#, php-format
|
3153 |
Â
msgid "%1$s changing %2$s value from %3$s."
|
3154 |
Â
msgstr ""
|
3155 |
Â
|
3156 |
Â
#: includes/class-mla-options.php:1079 includes/class-mla-options.php:1415
|
3157 |
+
#: includes/class-mla-options.php:2106 includes/class-mla-options.php:2208
|
3158 |
+
#: includes/class-mla-options.php:2358 includes/class-mla-options.php:2511
|
3159 |
+
#: includes/class-mla-options.php:2601 includes/class-mla-options.php:2834
|
3160 |
+
#: includes/class-mla-settings-custom-fields-tab.php:488
|
3161 |
+
#: includes/class-mla-settings-custom-fields-tab.php:764
|
3162 |
Â
msgid "Existing Text"
|
3163 |
Â
msgstr ""
|
3164 |
Â
|
3165 |
Â
#: includes/class-mla-options.php:1086 includes/class-mla-options.php:1416
|
3166 |
+
#: includes/class-mla-options.php:2365 includes/class-mla-options.php:2663
|
3167 |
+
#: includes/class-mla-options.php:2758 includes/class-mla-options.php:2804
|
3168 |
+
#: includes/class-mla-settings-custom-fields-tab.php:493
|
3169 |
+
#: includes/class-mla-settings-custom-fields-tab.php:769
|
3170 |
Â
msgid "Format"
|
3171 |
Â
msgstr ""
|
3172 |
Â
|
3173 |
Â
#: includes/class-mla-options.php:1092 includes/class-mla-options.php:1106
|
3174 |
Â
#: includes/class-mla-options.php:1120 includes/class-mla-options.php:1149
|
3175 |
+
#: includes/class-mla-options.php:2378
|
3176 |
Â
msgid "unchecked to checked"
|
3177 |
Â
msgstr ""
|
3178 |
Â
|
3179 |
Â
#: includes/class-mla-options.php:1095 includes/class-mla-options.php:1109
|
3180 |
Â
#: includes/class-mla-options.php:1123 includes/class-mla-options.php:1152
|
3181 |
+
#: includes/class-mla-options.php:2381
|
3182 |
Â
msgid "checked to unchecked"
|
3183 |
Â
msgstr ""
|
3184 |
Â
|
3185 |
Â
#: includes/class-mla-options.php:1100 includes/class-mla-options.php:1417
|
3186 |
+
#: includes/class-mla-settings-custom-fields-tab.php:480
|
3187 |
+
#: includes/class-mla-settings-custom-fields-tab.php:756
|
3188 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1462
|
3189 |
Â
msgid "MLA Column"
|
3190 |
Â
msgstr ""
|
3191 |
Â
|
3195 |
Â
|
3196 |
Â
#: includes/class-mla-options.php:1143 includes/class-mla-options.php:1251
|
3197 |
Â
#: includes/class-mla-options.php:1350 includes/class-mla-options.php:1394
|
3198 |
+
#: includes/class-mla-options.php:2372 includes/class-mla-options.php:2670
|
3199 |
+
#: includes/class-mla-options.php:2765 includes/class-mla-options.php:2811
|
3200 |
+
#: includes/class-mla-settings-custom-fields-tab.php:500
|
3201 |
+
#: includes/class-mla-settings-custom-fields-tab.php:776
|
3202 |
Â
msgid "Option"
|
3203 |
Â
msgstr ""
|
3204 |
Â
|
3205 |
Â
#: includes/class-mla-options.php:1157 includes/class-mla-options.php:1263
|
3206 |
Â
#: includes/class-mla-options.php:1362 includes/class-mla-options.php:1406
|
3207 |
+
#: includes/class-mla-options.php:2386 includes/class-mla-options.php:2682
|
3208 |
+
#: includes/class-mla-options.php:2777 includes/class-mla-options.php:2823
|
3209 |
Â
msgid "Delete NULL values"
|
3210 |
Â
msgstr ""
|
3211 |
Â
|
3212 |
+
#: includes/class-mla-options.php:1196 includes/class-mla-options.php:2613
|
3213 |
Â
msgid "No Custom Field Mapping Rules Defined"
|
3214 |
Â
msgstr ""
|
3215 |
Â
|
3216 |
Â
#: includes/class-mla-options.php:1237 includes/class-mla-options.php:1336
|
3217 |
+
#: includes/class-mla-options.php:1380 includes/class-mla-options.php:2486
|
3218 |
+
#: includes/class-mla-options.php:2540 includes/class-mla-options.php:2660
|
3219 |
+
#: includes/class-mla-options.php:2755 includes/class-mla-options.php:2801
|
3220 |
+
#: includes/class-mla-settings-custom-fields-tab.php:490
|
3221 |
+
#: includes/class-mla-settings-custom-fields-tab.php:766
|
3222 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1508
|
3223 |
+
#: includes/class-mla-thumbnail-generation.php:555
|
3224 |
Â
msgid "Keep"
|
3225 |
Â
msgstr ""
|
3226 |
Â
|
3227 |
Â
#: includes/class-mla-options.php:1241 includes/class-mla-options.php:1340
|
3228 |
+
#: includes/class-mla-options.php:1384 includes/class-mla-options.php:2665
|
3229 |
+
#: includes/class-mla-options.php:2760 includes/class-mla-options.php:2806
|
3230 |
+
#: includes/class-mla-settings-custom-fields-tab.php:495
|
3231 |
+
#: includes/class-mla-settings-custom-fields-tab.php:771
|
3232 |
Â
msgid "Native"
|
3233 |
Â
msgstr ""
|
3234 |
Â
|
3235 |
Â
#: includes/class-mla-options.php:1243 includes/class-mla-options.php:1342
|
3236 |
+
#: includes/class-mla-options.php:1386 includes/class-mla-options.php:2667
|
3237 |
+
#: includes/class-mla-options.php:2762 includes/class-mla-options.php:2808
|
3238 |
+
#: includes/class-mla-settings-custom-fields-tab.php:497
|
3239 |
+
#: includes/class-mla-settings-custom-fields-tab.php:773
|
3240 |
Â
msgid "Commas"
|
3241 |
Â
msgstr ""
|
3242 |
Â
|
3243 |
Â
#: includes/class-mla-options.php:1245 includes/class-mla-options.php:1344
|
3244 |
+
#: includes/class-mla-options.php:1388 includes/class-mla-options.php:2669
|
3245 |
+
#: includes/class-mla-options.php:2764 includes/class-mla-options.php:2810
|
3246 |
+
#: includes/class-mla-settings-custom-fields-tab.php:499
|
3247 |
+
#: includes/class-mla-settings-custom-fields-tab.php:775
|
3248 |
Â
msgid "Raw"
|
3249 |
Â
msgstr ""
|
3250 |
Â
|
3251 |
Â
#: includes/class-mla-options.php:1253 includes/class-mla-options.php:1352
|
3252 |
+
#: includes/class-mla-options.php:1396 includes/class-mla-options.php:2672
|
3253 |
+
#: includes/class-mla-options.php:2767 includes/class-mla-options.php:2813
|
3254 |
+
#: includes/class-mla-settings-custom-fields-tab.php:502
|
3255 |
+
#: includes/class-mla-settings-custom-fields-tab.php:778
|
3256 |
Â
msgid "Text"
|
3257 |
Â
msgstr ""
|
3258 |
Â
|
3259 |
Â
#: includes/class-mla-options.php:1255 includes/class-mla-options.php:1354
|
3260 |
+
#: includes/class-mla-options.php:1398 includes/class-mla-options.php:2674
|
3261 |
+
#: includes/class-mla-options.php:2769 includes/class-mla-options.php:2815
|
3262 |
+
#: includes/class-mla-settings-custom-fields-tab.php:504
|
3263 |
+
#: includes/class-mla-settings-custom-fields-tab.php:780
|
3264 |
Â
msgid "Single"
|
3265 |
Â
msgstr ""
|
3266 |
Â
|
3267 |
Â
#: includes/class-mla-options.php:1257 includes/class-mla-options.php:1356
|
3268 |
+
#: includes/class-mla-options.php:1400 includes/class-mla-options.php:2676
|
3269 |
+
#: includes/class-mla-options.php:2771 includes/class-mla-options.php:2817
|
3270 |
+
#: includes/class-mla-settings-custom-fields-tab.php:506
|
3271 |
+
#: includes/class-mla-settings-custom-fields-tab.php:782
|
3272 |
Â
msgid "Export"
|
3273 |
Â
msgstr ""
|
3274 |
Â
|
3275 |
Â
#: includes/class-mla-options.php:1259 includes/class-mla-options.php:1358
|
3276 |
+
#: includes/class-mla-options.php:1402 includes/class-mla-options.php:2678
|
3277 |
+
#: includes/class-mla-options.php:2773 includes/class-mla-options.php:2819
|
3278 |
+
#: includes/class-mla-settings-custom-fields-tab.php:508
|
3279 |
+
#: includes/class-mla-settings-custom-fields-tab.php:784
|
3280 |
Â
msgid "Array"
|
3281 |
Â
msgstr ""
|
3282 |
Â
|
3283 |
Â
#: includes/class-mla-options.php:1261 includes/class-mla-options.php:1360
|
3284 |
+
#: includes/class-mla-options.php:1404 includes/class-mla-options.php:2680
|
3285 |
+
#: includes/class-mla-options.php:2775 includes/class-mla-options.php:2821
|
3286 |
+
#: includes/class-mla-settings-custom-fields-tab.php:510
|
3287 |
+
#: includes/class-mla-settings-custom-fields-tab.php:786
|
3288 |
Â
msgid "Multi"
|
3289 |
Â
msgstr ""
|
3290 |
Â
|
3291 |
+
#: includes/class-mla-options.php:1264 includes/class-mla-options.php:2683
|
3292 |
Â
msgid "Delete Rule"
|
3293 |
Â
msgstr ""
|
3294 |
Â
|
3295 |
+
#: includes/class-mla-options.php:1265 includes/class-mla-options.php:2684
|
3296 |
Â
msgid "Delete Rule AND Field"
|
3297 |
Â
msgstr ""
|
3298 |
Â
|
3299 |
+
#: includes/class-mla-options.php:1266 includes/class-mla-options.php:2685
|
3300 |
Â
msgid "Update Rule"
|
3301 |
Â
msgstr ""
|
3302 |
Â
|
3303 |
+
#: includes/class-mla-options.php:1267 includes/class-mla-options.php:2686
|
3304 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1359
|
3305 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:547
|
3306 |
Â
msgid "Map All Attachments"
|
3307 |
Â
msgstr ""
|
3308 |
Â
|
3309 |
+
#: includes/class-mla-options.php:1331 includes/class-mla-options.php:2744
|
3310 |
Â
msgid "Add a new Mapping Rule"
|
3311 |
Â
msgstr ""
|
3312 |
Â
|
3313 |
+
#: includes/class-mla-options.php:1363 includes/class-mla-options.php:2778
|
3314 |
+
#: includes/class-mla-settings-custom-fields-tab.php:795
|
3315 |
Â
msgid "Add Rule"
|
3316 |
Â
msgstr ""
|
3317 |
Â
|
3318 |
+
#: includes/class-mla-options.php:1364 includes/class-mla-options.php:2779
|
3319 |
Â
msgid "Add Rule and Map All Attachments"
|
3320 |
Â
msgstr ""
|
3321 |
Â
|
3322 |
+
#: includes/class-mla-options.php:1375 includes/class-mla-options.php:2790
|
3323 |
Â
msgid "Add a new Field and Mapping Rule"
|
3324 |
Â
msgstr ""
|
3325 |
Â
|
3326 |
+
#: includes/class-mla-options.php:1407 includes/class-mla-options.php:2824
|
3327 |
Â
msgid "Add Field"
|
3328 |
Â
msgstr ""
|
3329 |
Â
|
3330 |
+
#: includes/class-mla-options.php:1408 includes/class-mla-options.php:2825
|
3331 |
Â
msgid "Add Field and Map All Attachments"
|
3332 |
Â
msgstr ""
|
3333 |
Â
|
3334 |
+
#: includes/class-mla-options.php:1413 includes/class-mla-options.php:2064
|
3335 |
+
#: includes/class-mla-options.php:2507 includes/class-mla-options.php:2597
|
3336 |
+
#: includes/class-mla-options.php:2830
|
3337 |
Â
msgid "Field Title"
|
3338 |
Â
msgstr ""
|
3339 |
Â
|
3346 |
Â
msgstr ""
|
3347 |
Â
|
3348 |
Â
#: includes/class-mla-options.php:1443
|
Â
|
|
Â
|
|
3349 |
Â
msgid "Custom field no mapping rule changes detected."
|
3350 |
Â
msgstr ""
|
3351 |
Â
|
3352 |
Â
#: includes/class-mla-options.php:1451
|
3353 |
+
#: includes/class-mla-settings-custom-fields-tab.php:142
|
3354 |
Â
msgid "Custom field mapping settings saved."
|
3355 |
Â
msgstr ""
|
3356 |
Â
|
3358 |
Â
msgid "Custom field mapping settings reset failed."
|
3359 |
Â
msgstr ""
|
3360 |
Â
|
3361 |
+
#: includes/class-mla-options.php:2052
|
Â
|
|
3362 |
Â
#, php-format
|
3363 |
Â
msgid "%1$s: No old values for %2$s."
|
3364 |
Â
msgstr ""
|
3365 |
Â
|
3366 |
+
#: includes/class-mla-options.php:2071 includes/class-mla-options.php:2173
|
3367 |
+
#: includes/class-mla-options.php:2323 includes/class-mla-options.php:2508
|
3368 |
+
#: includes/class-mla-options.php:2598 includes/class-mla-options.php:2831
|
3369 |
Â
msgid "IPTC Value"
|
3370 |
Â
msgstr ""
|
3371 |
Â
|
3372 |
+
#: includes/class-mla-options.php:2078 includes/class-mla-options.php:2180
|
3373 |
+
#: includes/class-mla-options.php:2330
|
3374 |
Â
msgid "EXIF Value"
|
3375 |
Â
msgstr ""
|
3376 |
Â
|
3377 |
+
#: includes/class-mla-options.php:2084 includes/class-mla-options.php:2186
|
3378 |
+
#: includes/class-mla-options.php:2336
|
3379 |
Â
msgid "EXIF to IPTC"
|
3380 |
Â
msgstr ""
|
3381 |
Â
|
3382 |
+
#: includes/class-mla-options.php:2087 includes/class-mla-options.php:2189
|
3383 |
+
#: includes/class-mla-options.php:2339
|
3384 |
Â
msgid "IPTC to EXIF"
|
3385 |
Â
msgstr ""
|
3386 |
Â
|
3387 |
+
#: includes/class-mla-options.php:2092 includes/class-mla-options.php:2194
|
3388 |
+
#: includes/class-mla-options.php:2344 includes/class-mla-options.php:2510
|
3389 |
+
#: includes/class-mla-options.php:2600 includes/class-mla-options.php:2833
|
3390 |
Â
msgid "Priority"
|
3391 |
Â
msgstr ""
|
3392 |
Â
|
3393 |
+
#: includes/class-mla-options.php:2215 includes/class-mla-options.php:2602
|
3394 |
Â
msgid "Delimiter(s)"
|
3395 |
Â
msgstr ""
|
3396 |
Â
|
3397 |
+
#: includes/class-mla-options.php:2482 includes/class-mla-options.php:2536
|
3398 |
+
#: includes/class-mla-options.php:2656 includes/class-mla-options.php:2751
|
3399 |
+
#: includes/class-mla-options.php:2797
|
3400 |
Â
msgid "IPTC"
|
3401 |
Â
msgstr ""
|
3402 |
Â
|
3403 |
+
#: includes/class-mla-options.php:2484 includes/class-mla-options.php:2538
|
3404 |
+
#: includes/class-mla-options.php:2658 includes/class-mla-options.php:2753
|
3405 |
+
#: includes/class-mla-options.php:2799
|
3406 |
Â
msgid "EXIF"
|
3407 |
Â
msgstr ""
|
3408 |
Â
|
3409 |
+
#: includes/class-mla-options.php:2509 includes/class-mla-options.php:2599
|
3410 |
+
#: includes/class-mla-options.php:2832
|
3411 |
Â
msgid "EXIF/Template Value"
|
3412 |
Â
msgstr ""
|
3413 |
Â
|
3414 |
+
#: includes/class-mla-options.php:2842
|
Â
|
|
3415 |
Â
#, php-format
|
3416 |
Â
msgid "%1$s: Render unknown custom %2$s."
|
3417 |
Â
msgstr ""
|
3418 |
Â
|
3419 |
+
#: includes/class-mla-options.php:2886
|
Â
|
|
3420 |
Â
#, php-format
|
3421 |
Â
msgid "%1$s: Update/delete unknown custom %2$s."
|
3422 |
Â
msgstr ""
|
3423 |
Â
|
3424 |
+
#: includes/class-mla-options.php:2892
|
3425 |
Â
msgid "IPTC/EXIF mapping settings updated."
|
3426 |
Â
msgstr ""
|
3427 |
Â
|
3428 |
+
#: includes/class-mla-options.php:2894
|
3429 |
Â
msgid "IPTC/EXIF settings update failed."
|
3430 |
Â
msgstr ""
|
3431 |
Â
|
3432 |
+
#: includes/class-mla-options.php:2897
|
3433 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:595
|
3434 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:601
|
3435 |
Â
msgid "IPTC/EXIF no mapping changes detected."
|
3436 |
Â
msgstr ""
|
3437 |
Â
|
3438 |
+
#: includes/class-mla-options.php:2908 includes/class-mla-options.php:2918
|
3439 |
+
#: includes/class-mla-options.php:2928
|
Â
|
|
3440 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:324
|
3441 |
Â
#, php-format
|
3442 |
Â
msgid "%1$s settings saved."
|
3443 |
Â
msgstr ""
|
3444 |
Â
|
3445 |
+
#: includes/class-mla-options.php:2908 includes/class-mla-options.php:2911
|
3446 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
3447 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:188
|
3448 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:191
|
3449 |
Â
msgid "Standard field"
|
3450 |
Â
msgstr ""
|
3451 |
Â
|
3452 |
+
#: includes/class-mla-options.php:2911 includes/class-mla-options.php:2921
|
3453 |
+
#: includes/class-mla-options.php:2931
|
Â
|
|
3454 |
Â
#, php-format
|
3455 |
Â
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
3456 |
Â
msgstr ""
|
3457 |
Â
|
3458 |
+
#: includes/class-mla-options.php:2918 includes/class-mla-options.php:2921
|
3459 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:220
|
3460 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:263
|
3461 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:266
|
3462 |
Â
msgid "Taxonomy term"
|
3463 |
Â
msgstr ""
|
3464 |
Â
|
3465 |
+
#: includes/class-mla-options.php:2928 includes/class-mla-options.php:2931
|
3466 |
+
#: includes/class-mla-settings-custom-fields-tab.php:214
|
3467 |
+
#: includes/class-mla-settings-custom-fields-tab.php:217
|
3468 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:310
|
3469 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:352
|
3470 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:355
|
3471 |
Â
msgid "Custom field"
|
3472 |
Â
msgstr ""
|
3473 |
Â
|
3474 |
+
#: includes/class-mla-options.php:2939
|
Â
|
|
3475 |
Â
#, php-format
|
3476 |
Â
msgid "%1$s: Reset unknown custom %2$s"
|
3477 |
Â
msgstr ""
|
3478 |
Â
|
3479 |
+
#: includes/class-mla-polylang-support.php:249
|
3480 |
Â
msgid "ERROR: No post ID found"
|
3481 |
Â
msgstr ""
|
3482 |
Â
|
3483 |
+
#: includes/class-mla-polylang-support.php:357
|
3484 |
Â
msgid "Error while saving the translations."
|
3485 |
Â
msgstr ""
|
3486 |
Â
|
3487 |
+
#: includes/class-mla-polylang-support.php:358
|
3488 |
Â
msgid "Remove From Bulk Translate"
|
3489 |
Â
msgstr ""
|
3490 |
Â
|
3491 |
+
#: includes/class-mla-polylang-support.php:360
|
3492 |
Â
msgid "Bulk Translate items"
|
3493 |
Â
msgstr ""
|
3494 |
Â
|
3495 |
+
#: includes/class-mla-polylang-support.php:361
|
3496 |
Â
msgid "Add new"
|
3497 |
Â
msgstr ""
|
3498 |
Â
|
3499 |
+
#: includes/class-mla-polylang-support.php:1834
|
3500 |
+
#: includes/class-mla-polylang-support.php:2201
|
Â
|
|
3501 |
Â
msgid "Bulk Translations"
|
3502 |
Â
msgstr ""
|
3503 |
Â
|
3504 |
+
#: includes/class-mla-polylang-support.php:1858
|
3505 |
Â
msgid "Translate"
|
3506 |
Â
msgstr ""
|
3507 |
Â
|
3508 |
+
#: includes/class-mla-polylang-support.php:1986
|
3509 |
Â
msgid "All Languages"
|
3510 |
Â
msgstr ""
|
3511 |
Â
|
3512 |
+
#: includes/class-mla-polylang-support.php:1993
|
3513 |
+
#: includes/class-mla-polylang-support.php:2266
|
3514 |
+
#: includes/class-mla-polylang-support.php:2426
|
3515 |
Â
msgid "Quick Translate"
|
3516 |
Â
msgstr ""
|
3517 |
Â
|
3518 |
+
#: includes/class-mla-polylang-support.php:1997
|
3519 |
Â
msgid "Set Language"
|
3520 |
Â
msgstr ""
|
3521 |
Â
|
3522 |
+
#: includes/class-mla-polylang-support.php:1998
|
3523 |
+
#: includes/class-mla-polylang-support.php:2433
|
3524 |
Â
msgid "Bulk Translate"
|
3525 |
Â
msgstr ""
|
3526 |
Â
|
3527 |
+
#: includes/class-mla-polylang-support.php:1999
|
3528 |
Â
msgid "Add or Modify Translation"
|
3529 |
Â
msgstr ""
|
3530 |
Â
|
3531 |
+
#: includes/class-mla-polylang-support.php:2000
|
3532 |
+
#: includes/class-mla-polylang-support.php:2057
|
3533 |
+
#: includes/class-mla-polylang-support.php:2370
|
3534 |
+
#: includes/class-mla-polylang-support.php:2485
|
3535 |
Â
#: includes/class-mla-wpml-support.php:1550
|
3536 |
Â
#: includes/class-mla-wpml-support.php:1640
|
3537 |
Â
#: includes/class-mla-wpml-support.php:2085
|
3538 |
Â
msgid "Language"
|
3539 |
Â
msgstr ""
|
3540 |
Â
|
3541 |
+
#: includes/class-mla-polylang-support.php:2002
|
3542 |
+
#: includes/class-mla-thumbnail-generation.php:561
|
3543 |
Â
msgid "Options"
|
3544 |
Â
msgstr ""
|
3545 |
Â
|
3546 |
+
#: includes/class-mla-polylang-support.php:2266
|
3547 |
Â
msgid "Translate this item inline"
|
3548 |
Â
msgstr ""
|
3549 |
Â
|
3550 |
+
#: includes/class-mla-polylang-support.php:2407
|
3551 |
+
#: includes/class-mla-polylang-support.php:2512
|
3552 |
Â
#: includes/class-mla-wpml-support.php:1585
|
3553 |
Â
#: includes/class-mla-wpml-support.php:1688
|
3554 |
Â
msgid "Media/Assistant submenu table"
|
3555 |
Â
msgstr ""
|
3556 |
Â
|
3557 |
+
#: includes/class-mla-polylang-support.php:2412
|
3558 |
Â
#: includes/class-mla-wpml-support.php:1590
|
3559 |
Â
msgid "Language Column"
|
3560 |
Â
msgstr ""
|
3561 |
Â
|
3562 |
+
#: includes/class-mla-polylang-support.php:2415
|
3563 |
Â
#: includes/class-mla-wpml-support.php:1593
|
3564 |
Â
msgid ""
|
3565 |
Â
"Check this option to add a Language column to the Media/Assistant submenu "
|
3566 |
Â
"table."
|
3567 |
Â
msgstr ""
|
3568 |
Â
|
3569 |
+
#: includes/class-mla-polylang-support.php:2419
|
3570 |
Â
#: includes/class-mla-wpml-support.php:1597
|
3571 |
Â
msgid "Translations Column"
|
3572 |
Â
msgstr ""
|
3573 |
Â
|
3574 |
+
#: includes/class-mla-polylang-support.php:2422
|
3575 |
Â
#: includes/class-mla-wpml-support.php:1600
|
3576 |
Â
msgid ""
|
3577 |
Â
"Check this option to add a Translation Status column to the Media/Assistant "
|
3578 |
Â
"submenu table."
|
3579 |
Â
msgstr ""
|
3580 |
Â
|
3581 |
+
#: includes/class-mla-polylang-support.php:2429
|
3582 |
Â
msgid ""
|
3583 |
Â
"Check this option to add a Quick Translate rollover action to the Media/"
|
3584 |
Â
"Assistant submenu table."
|
3585 |
Â
msgstr ""
|
3586 |
Â
|
3587 |
+
#: includes/class-mla-polylang-support.php:2436
|
3588 |
Â
msgid ""
|
3589 |
Â
"Check this option to add \"Translate\" to the \"Bulk Actions\" control on "
|
3590 |
Â
"the Media/Assistant submenu table."
|
3591 |
Â
msgstr ""
|
3592 |
Â
|
3593 |
+
#: includes/class-mla-polylang-support.php:2440
|
3594 |
+
#: includes/class-mla-polylang-support.php:2512
|
3595 |
Â
#: includes/class-mla-wpml-support.php:1604
|
3596 |
Â
#: includes/class-mla-wpml-support.php:1688
|
3597 |
Â
msgid "Term Management"
|
3598 |
Â
msgstr ""
|
3599 |
Â
|
3600 |
+
#: includes/class-mla-polylang-support.php:2445
|
3601 |
Â
#: includes/class-mla-wpml-support.php:1609
|
3602 |
Â
msgid "Term Assignment"
|
3603 |
Â
msgstr ""
|
3604 |
Â
|
3605 |
+
#: includes/class-mla-polylang-support.php:2448
|
3606 |
Â
#: includes/class-mla-wpml-support.php:1612
|
3607 |
Â
msgid ""
|
3608 |
Â
"Check this option to assign language-specific terms when items are updated."
|
3609 |
Â
msgstr ""
|
3610 |
Â
|
3611 |
+
#: includes/class-mla-polylang-support.php:2452
|
3612 |
Â
#: includes/class-mla-wpml-support.php:1616
|
3613 |
Â
msgid "Term Synchronization"
|
3614 |
Â
msgstr ""
|
3615 |
Â
|
3616 |
+
#: includes/class-mla-polylang-support.php:2455
|
3617 |
Â
#: includes/class-mla-wpml-support.php:1619
|
3618 |
Â
msgid ""
|
3619 |
Â
"Check this option to synchronize common terms among all item translations."
|
3620 |
Â
msgstr ""
|
3621 |
Â
|
3622 |
+
#: includes/class-mla-polylang-support.php:2459
|
3623 |
Â
#: includes/class-mla-wpml-support.php:1623
|
3624 |
Â
msgid "Term Mapping Replication"
|
3625 |
Â
msgstr ""
|
3626 |
Â
|
3627 |
+
#: includes/class-mla-polylang-support.php:2462
|
3628 |
Â
#: includes/class-mla-wpml-support.php:1626
|
3629 |
Â
msgid ""
|
3630 |
Â
"When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
|
3631 |
Â
"all languages."
|
3632 |
Â
msgstr ""
|
3633 |
Â
|
3634 |
+
#: includes/class-mla-polylang-support.php:2510
|
3635 |
Â
#: includes/class-mla-wpml-support.php:1686
|
3636 |
Â
msgid "Language Options"
|
3637 |
Â
msgstr ""
|
3638 |
Â
|
3639 |
+
#: includes/class-mla-polylang-support.php:2512
|
Â
|
|
3640 |
Â
#, php-format
|
3641 |
Â
msgid ""
|
3642 |
Â
"In this tab you can find a number of options for controlling Polylang-"
|
3645 |
Â
"make."
|
3646 |
Â
msgstr ""
|
3647 |
Â
|
3648 |
+
#: includes/class-mla-polylang-support.php:2514
|
Â
|
|
3649 |
Â
#: includes/class-mla-wpml-support.php:1690
|
3650 |
Â
#, php-format
|
3651 |
Â
msgid ""
|
3653 |
Â
"section of the Documentation."
|
3654 |
Â
msgstr ""
|
3655 |
Â
|
3656 |
+
#: includes/class-mla-polylang-support.php:2514
|
3657 |
Â
#: includes/class-mla-wpml-support.php:1690
|
3658 |
Â
msgid "Language Options documentation"
|
3659 |
Â
msgstr ""
|
3660 |
Â
|
3661 |
+
#: includes/class-mla-polylang-support.php:2514
|
3662 |
Â
#: includes/class-mla-wpml-support.php:1690
|
3663 |
Â
msgid "WPML & Polylang Multilingual Support; the MLA Language Tab"
|
3664 |
Â
msgstr ""
|
3665 |
Â
|
3666 |
+
#: includes/class-mla-polylang-support.php:2517
|
3667 |
+
#: includes/class-mla-settings-custom-fields-tab.php:743
|
Â
|
|
3668 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:486
|
3669 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:488
|
3670 |
+
#: includes/class-mla-settings-shortcodes-tab.php:720
|
3671 |
+
#: includes/class-mla-settings-upload-tab.php:480
|
3672 |
+
#: includes/class-mla-settings-upload-tab.php:530
|
3673 |
+
#: includes/class-mla-settings-view-tab.php:320
|
3674 |
+
#: includes/class-mla-settings-view-tab.php:372
|
3675 |
+
#: includes/class-mla-settings.php:1036 includes/class-mla-settings.php:1408
|
3676 |
+
#: includes/class-mla-settings.php:1410
|
3677 |
Â
#: includes/class-mla-wpml-support.php:1693
|
3678 |
Â
msgid "Save Changes"
|
3679 |
Â
msgstr ""
|
3680 |
Â
|
3681 |
+
#: includes/class-mla-polylang-support.php:2518
|
3682 |
Â
#: includes/class-mla-wpml-support.php:1694
|
3683 |
Â
msgid "Delete Language options and restore default settings"
|
3684 |
Â
msgstr ""
|
3685 |
Â
|
3686 |
+
#: includes/class-mla-polylang-support.php:2521
|
3687 |
+
#: includes/class-mla-settings.php:774 includes/class-mla-settings.php:1041
|
3688 |
Â
#: includes/class-mla-wpml-support.php:1697
|
3689 |
Â
msgid "Go to Top"
|
3690 |
Â
msgstr ""
|
3691 |
Â
|
3692 |
+
#: includes/class-mla-polylang-support.php:2558
|
3693 |
Â
#: includes/class-mla-wpml-support.php:1734
|
3694 |
Â
msgid "Language settings saved."
|
3695 |
Â
msgstr ""
|
3696 |
Â
|
3697 |
+
#: includes/class-mla-polylang-support.php:2589
|
3698 |
+
#: includes/class-mla-settings.php:1626
|
Â
|
|
3699 |
Â
#: includes/class-mla-wpml-support.php:1765
|
3700 |
Â
#, php-format
|
3701 |
Â
msgctxt "message_list"
|
3702 |
Â
msgid "delete_option \"%1$s\""
|
3703 |
Â
msgstr ""
|
3704 |
Â
|
3705 |
+
#: includes/class-mla-polylang-support.php:2597
|
3706 |
Â
#: includes/class-mla-wpml-support.php:1773
|
3707 |
Â
msgid "Language settings reset to default values."
|
3708 |
Â
msgstr ""
|
3709 |
Â
|
3710 |
+
#: includes/class-mla-settings-custom-fields-tab.php:56
|
3711 |
+
#: includes/class-mla-settings-custom-fields-tab.php:91
|
3712 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:36
|
3713 |
Â
#: includes/class-mla-settings-upload-tab.php:45
|
3714 |
Â
#: includes/class-mla-settings-view-tab.php:45
|
3715 |
Â
msgid "Error while making the changes."
|
3716 |
Â
msgstr ""
|
3717 |
Â
|
3718 |
+
#: includes/class-mla-settings-custom-fields-tab.php:58
|
3719 |
+
#: includes/class-mla-settings-custom-fields-tab.php:93
|
3720 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:38
|
3721 |
Â
#: includes/class-mla-settings-upload-tab.php:47
|
3722 |
Â
#: includes/class-mla-settings-view-tab.php:47
|
3723 |
Â
msgid "no slug"
|
3724 |
Â
msgstr ""
|
3725 |
Â
|
3726 |
+
#: includes/class-mla-settings-custom-fields-tab.php:64
|
3727 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:44
|
3728 |
Â
msgid "Running"
|
3729 |
Â
msgstr ""
|
3730 |
Â
|
3731 |
+
#: includes/class-mla-settings-custom-fields-tab.php:69
|
3732 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:49
|
3733 |
Â
msgid "Skipped"
|
3734 |
Â
msgstr ""
|
3735 |
Â
|
3736 |
+
#: includes/class-mla-settings-custom-fields-tab.php:70
|
3737 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:50
|
3738 |
Â
msgid "Reprocessed"
|
3739 |
Â
msgstr ""
|
3740 |
Â
|
3741 |
+
#: includes/class-mla-settings-custom-fields-tab.php:71
|
3742 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:51
|
3743 |
Â
msgid "PAUSED"
|
3744 |
Â
msgstr ""
|
3745 |
Â
|
3746 |
+
#: includes/class-mla-settings-custom-fields-tab.php:181
|
3747 |
Â
msgid "No custom field mapping rules to process."
|
3748 |
Â
msgstr ""
|
3749 |
Â
|
3750 |
+
#: includes/class-mla-settings-custom-fields-tab.php:214
|
Â
|
|
3751 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:188
|
3752 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:263
|
3753 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:352
|
3755 |
Â
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3756 |
Â
msgstr ""
|
3757 |
Â
|
3758 |
+
#: includes/class-mla-settings-custom-fields-tab.php:217
|
Â
|
|
3759 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:191
|
3760 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:266
|
3761 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:355
|
3764 |
Â
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3765 |
Â
msgstr ""
|
3766 |
Â
|
3767 |
+
#: includes/class-mla-settings-custom-fields-tab.php:246
|
3768 |
+
msgid ": No custom field name selected/entered"
|
3769 |
+
msgstr ""
|
3770 |
+
|
3771 |
+
#: includes/class-mla-settings-custom-fields-tab.php:250
|
3772 |
+
#: includes/class-mla-settings-custom-fields-tab.php:312
|
3773 |
+
msgid ": Rule already exists for the new name"
|
3774 |
+
msgstr ""
|
3775 |
+
|
3776 |
+
#: includes/class-mla-settings-custom-fields-tab.php:281
|
3777 |
+
msgid "Rule added"
|
3778 |
+
msgstr ""
|
3779 |
+
|
3780 |
Â
#: includes/class-mla-settings-custom-fields-tab.php:284
|
3781 |
+
msgid ": Rule addition failed"
|
3782 |
+
msgstr ""
|
3783 |
+
|
3784 |
+
#: includes/class-mla-settings-custom-fields-tab.php:316
|
3785 |
+
msgid ": Invalid rule name must be changed"
|
3786 |
+
msgstr ""
|
3787 |
+
|
3788 |
+
#: includes/class-mla-settings-custom-fields-tab.php:349
|
3789 |
+
#: includes/class-mla-settings-custom-fields-tab.php:433
|
3790 |
+
#: includes/class-mla-settings-custom-fields-tab.php:944
|
3791 |
+
msgid ": Rule update failed"
|
3792 |
+
msgstr ""
|
3793 |
+
|
3794 |
+
#: includes/class-mla-settings-custom-fields-tab.php:354
|
3795 |
+
#: includes/class-mla-settings-custom-fields-tab.php:436
|
3796 |
+
msgid "Rule updated"
|
3797 |
+
msgstr ""
|
3798 |
+
|
3799 |
+
#: includes/class-mla-settings-custom-fields-tab.php:378
|
3800 |
+
#, php-format
|
3801 |
+
msgid "Custom Field Rule \"%1$s\" deleted."
|
3802 |
+
msgstr ""
|
3803 |
+
|
3804 |
+
#: includes/class-mla-settings-custom-fields-tab.php:460
|
3805 |
+
msgid "Edit Rule"
|
3806 |
+
msgstr ""
|
3807 |
+
|
3808 |
+
#: includes/class-mla-settings-custom-fields-tab.php:469
|
3809 |
+
msgid ""
|
3810 |
+
"This is the name of the custom field to which the rule applies.<br>Only one "
|
3811 |
+
"rule is allowed for each custom field."
|
3812 |
+
msgstr ""
|
3813 |
+
|
3814 |
+
#: includes/class-mla-settings-custom-fields-tab.php:470
|
3815 |
+
msgid "Change Name"
|
3816 |
+
msgstr ""
|
3817 |
+
|
3818 |
+
#: includes/class-mla-settings-custom-fields-tab.php:471
|
3819 |
+
msgid "Cancel Name Change"
|
3820 |
+
msgstr ""
|
3821 |
+
|
3822 |
+
#: includes/class-mla-settings-custom-fields-tab.php:472
|
3823 |
+
#: includes/class-mla-settings-custom-fields-tab.php:748
|
3824 |
+
msgid "Enter new field"
|
3825 |
+
msgstr ""
|
3826 |
+
|
3827 |
+
#: includes/class-mla-settings-custom-fields-tab.php:473
|
3828 |
+
#: includes/class-mla-settings-custom-fields-tab.php:749
|
3829 |
+
msgid "Cancel new field"
|
3830 |
+
msgstr ""
|
3831 |
+
|
3832 |
+
#: includes/class-mla-settings-custom-fields-tab.php:476
|
3833 |
+
#: includes/class-mla-settings-custom-fields-tab.php:752
|
3834 |
+
msgid "Meta/Template"
|
3835 |
+
msgstr ""
|
3836 |
+
|
3837 |
+
#: includes/class-mla-settings-custom-fields-tab.php:478
|
3838 |
+
#: includes/class-mla-settings-custom-fields-tab.php:754
|
3839 |
+
msgid "WordPress attachment metadata element or Content Template"
|
3840 |
+
msgstr ""
|
3841 |
+
|
3842 |
+
#: includes/class-mla-settings-custom-fields-tab.php:481
|
3843 |
+
#: includes/class-mla-settings-custom-fields-tab.php:757
|
3844 |
+
msgid "Display as Media/Assistant column"
|
3845 |
+
msgstr ""
|
3846 |
+
|
3847 |
+
#: includes/class-mla-settings-custom-fields-tab.php:484
|
3848 |
+
#: includes/class-mla-settings-custom-fields-tab.php:760
|
3849 |
+
msgid "Add to Media/Assistant Quick Edit area"
|
3850 |
+
msgstr ""
|
3851 |
+
|
3852 |
+
#: includes/class-mla-settings-custom-fields-tab.php:487
|
3853 |
+
#: includes/class-mla-settings-custom-fields-tab.php:763
|
3854 |
+
msgid "Add to Media/Assistant Bulk Edit area"
|
3855 |
+
msgstr ""
|
3856 |
+
|
3857 |
+
#: includes/class-mla-settings-custom-fields-tab.php:512
|
3858 |
+
#: includes/class-mla-settings-custom-fields-tab.php:788
|
3859 |
+
msgid "Delete NULL Values"
|
3860 |
+
msgstr ""
|
3861 |
+
|
3862 |
+
#: includes/class-mla-settings-custom-fields-tab.php:513
|
3863 |
+
#: includes/class-mla-settings-custom-fields-tab.php:789
|
3864 |
+
msgid "Do not store empty custom field values"
|
3865 |
+
msgstr ""
|
3866 |
+
|
3867 |
+
#: includes/class-mla-settings-custom-fields-tab.php:516
|
3868 |
+
#: includes/class-mla-settings-custom-fields-tab.php:792
|
3869 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1492
|
3870 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1728
|
3871 |
+
#: includes/class-mla-settings-documentation-tab.php:1250
|
3872 |
+
#: includes/class-mla-settings-upload-tab.php:554
|
3873 |
+
#: includes/class-mla-settings-upload-tab.php:1036
|
3874 |
+
msgid "Active"
|
3875 |
+
msgstr ""
|
3876 |
+
|
3877 |
+
#: includes/class-mla-settings-custom-fields-tab.php:518
|
3878 |
+
#: includes/class-mla-settings-custom-fields-tab.php:794
|
3879 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1494
|
3880 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1731
|
3881 |
+
#: includes/class-mla-settings-documentation-tab.php:1252
|
3882 |
+
#: includes/class-mla-settings-upload-tab.php:172
|
3883 |
+
#: includes/class-mla-settings-upload-tab.php:540
|
3884 |
+
#: includes/class-mla-settings-upload-tab.php:1034
|
3885 |
+
msgid "Inactive"
|
3886 |
+
msgstr ""
|
3887 |
+
|
3888 |
+
#: includes/class-mla-settings-custom-fields-tab.php:545
|
3889 |
+
#, php-format
|
3890 |
+
msgid "Custom Field Rule \"%1$s\": %2$s"
|
3891 |
+
msgstr ""
|
3892 |
+
|
3893 |
+
#: includes/class-mla-settings-custom-fields-tab.php:582
|
3894 |
+
msgid "Edit Custom Field Rule cancelled."
|
3895 |
+
msgstr ""
|
3896 |
+
|
3897 |
+
#: includes/class-mla-settings-custom-fields-tab.php:595
|
3898 |
+
#: includes/class-mla-settings-custom-fields-tab.php:623
|
3899 |
+
#: includes/class-mla-settings-documentation-tab.php:237
|
3900 |
+
#: includes/class-mla-settings-shortcodes-tab.php:557
|
3901 |
+
#: includes/class-mla-settings-upload-tab.php:400
|
3902 |
+
#: includes/class-mla-settings-view-tab.php:244
|
3903 |
+
#, php-format
|
3904 |
+
msgid "Unknown bulk action %1$s"
|
3905 |
+
msgstr ""
|
3906 |
+
|
3907 |
+
#: includes/class-mla-settings-custom-fields-tab.php:710
|
3908 |
Â
msgid "Custom Field Mapping Progress"
|
3909 |
Â
msgstr ""
|
3910 |
Â
|
3911 |
+
#: includes/class-mla-settings-custom-fields-tab.php:711
|
3912 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:453
|
3913 |
Â
msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
|
3914 |
Â
msgstr ""
|
3915 |
Â
|
3916 |
+
#: includes/class-mla-settings-custom-fields-tab.php:712
|
3917 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:454
|
3918 |
Â
msgid "Close the window"
|
3919 |
Â
msgstr ""
|
3920 |
Â
|
3921 |
+
#: includes/class-mla-settings-custom-fields-tab.php:713
|
3922 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:455
|
3923 |
Â
msgid "Reload the page"
|
3924 |
Â
msgstr ""
|
3925 |
Â
|
3926 |
+
#: includes/class-mla-settings-custom-fields-tab.php:714
|
3927 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:456
|
3928 |
Â
msgid "Click the browser’s Stop, Back or forward buttons"
|
3929 |
Â
msgstr ""
|
3930 |
Â
|
3931 |
+
#: includes/class-mla-settings-custom-fields-tab.php:715
|
3932 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:457
|
3933 |
Â
msgid "Progress"
|
3934 |
Â
msgstr ""
|
3935 |
Â
|
3936 |
+
#: includes/class-mla-settings-custom-fields-tab.php:716
|
3937 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:458
|
3938 |
Â
msgid "Pause"
|
3939 |
Â
msgstr ""
|
3940 |
Â
|
3941 |
+
#: includes/class-mla-settings-custom-fields-tab.php:718
|
3942 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:460
|
3943 |
Â
msgid "Resume"
|
3944 |
Â
msgstr ""
|
3945 |
Â
|
3946 |
+
#: includes/class-mla-settings-custom-fields-tab.php:719
|
3947 |
Â
#: includes/class-mla-settings-documentation-tab.php:107
|
3948 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:461
|
3949 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:481
|
3956 |
Â
msgid "Close"
|
3957 |
Â
msgstr ""
|
3958 |
Â
|
3959 |
+
#: includes/class-mla-settings-custom-fields-tab.php:728
|
Â
|
|
3960 |
Â
msgid "Custom Field and Attachment Metadata Processing Options"
|
3961 |
Â
msgstr ""
|
3962 |
Â
|
3963 |
+
#: includes/class-mla-settings-custom-fields-tab.php:730
|
Â
|
|
Â
|
|
3964 |
Â
msgid ""
|
3965 |
Â
"In this tab you can define the rules for mapping several types of image "
|
3966 |
Â
"metadata to WordPress custom fields. You can also use this screen to define "
|
3967 |
Â
"rules for adding or updating fields within the WordPress-supplied "
|
3968 |
Â
"\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
|
3969 |
+
"field."
|
3970 |
Â
msgstr ""
|
3971 |
Â
|
3972 |
+
#: includes/class-mla-settings-custom-fields-tab.php:732
|
3973 |
+
msgid ""
|
3974 |
+
"You can find more information about using the controls in this tab to define "
|
3975 |
+
"mapping rules and apply them by clicking the \"Help\" control in the upper-"
|
3976 |
+
"right corner of the screen."
|
3977 |
Â
msgstr ""
|
3978 |
Â
|
3979 |
+
#: includes/class-mla-settings-custom-fields-tab.php:737
|
3980 |
+
#: includes/class-mla-settings-shortcodes-tab.php:718
|
3981 |
+
msgid "Search results for"
|
3982 |
Â
msgstr ""
|
3983 |
Â
|
3984 |
+
#: includes/class-mla-settings-custom-fields-tab.php:739
|
3985 |
+
msgid "Search Rules Text"
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3986 |
Â
msgstr ""
|
3987 |
Â
|
3988 |
+
#: includes/class-mla-settings-custom-fields-tab.php:741
|
3989 |
+
msgid "Search Rules"
|
3990 |
Â
msgstr ""
|
3991 |
Â
|
3992 |
+
#: includes/class-mla-settings-custom-fields-tab.php:744
|
3993 |
+
msgid "Execute All Rules"
|
Â
|
|
3994 |
Â
msgstr ""
|
3995 |
Â
|
3996 |
+
#: includes/class-mla-settings-custom-fields-tab.php:745
|
3997 |
+
msgid "Add New Rule"
|
Â
|
|
Â
|
|
3998 |
Â
msgstr ""
|
3999 |
Â
|
4000 |
+
#: includes/class-mla-settings-custom-fields-tab.php:859
|
4001 |
+
#: includes/class-mla-settings-custom-fields-tab.php:881
|
4002 |
+
msgid "Nothing to execute"
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4003 |
Â
msgstr ""
|
4004 |
Â
|
4005 |
+
#: includes/class-mla-settings-custom-fields-tab.php:917
|
4006 |
+
msgid "Rule ID not found"
|
4007 |
+
msgstr ""
|
4008 |
+
|
4009 |
+
#: includes/class-mla-settings-custom-fields-tab.php:921
|
4010 |
+
msgid "Rule not found"
|
4011 |
+
msgstr ""
|
4012 |
+
|
4013 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1212
|
4014 |
+
msgctxt "list_table_column"
|
4015 |
+
msgid "Bad Name"
|
4016 |
+
msgstr ""
|
4017 |
+
|
4018 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1214
|
4019 |
+
msgctxt "list_table_column"
|
4020 |
+
msgid "Meta/Template"
|
4021 |
+
msgstr ""
|
4022 |
+
|
4023 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1215
|
4024 |
+
msgctxt "list_table_column"
|
4025 |
+
msgid "Visibility"
|
4026 |
+
msgstr ""
|
4027 |
+
|
4028 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1217
|
4029 |
+
msgctxt "list_table_column"
|
4030 |
+
msgid "Existing Text"
|
4031 |
+
msgstr ""
|
4032 |
+
|
4033 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1218
|
4034 |
+
msgctxt "list_table_column"
|
4035 |
+
msgid "Delete NULL"
|
4036 |
+
msgstr ""
|
4037 |
+
|
4038 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1219
|
4039 |
+
msgctxt "list_table_column"
|
4040 |
+
msgid "Format"
|
4041 |
+
msgstr ""
|
4042 |
+
|
4043 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1220
|
4044 |
+
msgctxt "list_table_column"
|
4045 |
+
msgid "Option"
|
4046 |
+
msgstr ""
|
4047 |
+
|
4048 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1359
|
4049 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1707
|
4050 |
+
msgid "Execute"
|
4051 |
+
msgstr ""
|
4052 |
+
|
4053 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1361
|
4054 |
+
msgid "Purge custom field values"
|
4055 |
+
msgstr ""
|
4056 |
+
|
4057 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1361
|
4058 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1708
|
4059 |
+
msgid "Purge Values"
|
4060 |
+
msgstr ""
|
4061 |
+
|
4062 |
+
#: includes/class-mla-settings-custom-fields-tab.php:1725
|
4063 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1328
|
4064 |
+
msgid "Any Status"
|
4065 |
+
msgstr ""
|
4066 |
+
|
4067 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2499
|
4068 |
+
msgctxt "table_view_singular"
|
4069 |
+
msgid "MLA Column"
|
4070 |
+
msgstr ""
|
4071 |
+
|
4072 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2500
|
4073 |
+
msgctxt "table_view_plural"
|
4074 |
+
msgid "MLA Column"
|
4075 |
+
msgstr ""
|
4076 |
+
|
4077 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2503
|
4078 |
+
msgctxt "table_view_singular"
|
4079 |
+
msgid "Quick Edit"
|
4080 |
+
msgstr ""
|
4081 |
+
|
4082 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2504
|
4083 |
+
msgctxt "table_view_plural"
|
4084 |
+
msgid "Quick Edit"
|
4085 |
+
msgstr ""
|
4086 |
+
|
4087 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2507
|
4088 |
+
msgctxt "table_view_singular"
|
4089 |
+
msgid "Bulk Edit"
|
4090 |
+
msgstr ""
|
4091 |
+
|
4092 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2508
|
4093 |
+
msgctxt "table_view_plural"
|
4094 |
+
msgid "Bulk Edit"
|
4095 |
+
msgstr ""
|
4096 |
+
|
4097 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2511
|
4098 |
+
msgctxt "table_view_singular"
|
4099 |
+
msgid "Read Only"
|
4100 |
+
msgstr ""
|
4101 |
+
|
4102 |
+
#: includes/class-mla-settings-custom-fields-tab.php:2512
|
4103 |
+
msgctxt "table_view_plural"
|
4104 |
+
msgid "Read Only"
|
4105 |
Â
msgstr ""
|
4106 |
Â
|
Â
|
|
4107 |
Â
#: includes/class-mla-settings-documentation-tab.php:82
|
4108 |
+
#: includes/class-mla-settings-documentation-tab.php:977
|
4109 |
+
#: includes/class-mla-settings-documentation-tab.php:1062
|
4110 |
+
#: includes/class-mla-settings-documentation-tab.php:1092
|
4111 |
Â
#, php-format
|
4112 |
Â
msgid "Example plugin \"%1$s\" not found"
|
4113 |
Â
msgstr ""
|
4114 |
Â
|
Â
|
|
4115 |
Â
#: includes/class-mla-settings-documentation-tab.php:97
|
4116 |
+
#: includes/class-mla-settings.php:1342
|
4117 |
Â
#, php-format
|
4118 |
Â
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
4119 |
Â
msgstr ""
|
4127 |
Â
msgstr ""
|
4128 |
Â
|
4129 |
Â
#: includes/class-mla-settings-documentation-tab.php:154
|
4130 |
+
#: includes/class-mla-settings-upload-tab.php:246
|
4131 |
+
#: includes/class-mla-settings-upload-tab.php:555
|
4132 |
+
#: includes/class-mla-settings-view-tab.php:368
|
4133 |
Â
msgid "Displaying search results for"
|
4134 |
Â
msgstr ""
|
4135 |
Â
|
4141 |
Â
"the plugins you must go to the Plugins/Installed Plugins admin submenu."
|
4142 |
Â
msgstr ""
|
4143 |
Â
|
Â
|
|
4144 |
Â
#: includes/class-mla-settings-documentation-tab.php:157
|
4145 |
Â
#, php-format
|
4146 |
Â
msgid ""
|
4173 |
Â
msgid "Searches Name, Description, File Name and Tags"
|
4174 |
Â
msgstr ""
|
4175 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4176 |
Â
#: includes/class-mla-settings-documentation-tab.php:262
|
4177 |
Â
#, php-format
|
4178 |
Â
msgid "Empty mla_item_ID - \"%1$s\""
|
4179 |
Â
msgstr ""
|
4180 |
Â
|
4181 |
+
#: includes/class-mla-settings-documentation-tab.php:520
|
4182 |
Â
msgctxt "list_table_column"
|
4183 |
Â
msgid "Current Version"
|
4184 |
Â
msgstr ""
|
4185 |
Â
|
4186 |
+
#: includes/class-mla-settings-documentation-tab.php:521
|
4187 |
Â
msgctxt "list_table_column"
|
4188 |
Â
msgid "Installed Version"
|
4189 |
Â
msgstr ""
|
4190 |
Â
|
4191 |
+
#: includes/class-mla-settings-documentation-tab.php:523
|
4192 |
Â
msgctxt "list_table_column"
|
4193 |
Â
msgid "File Name"
|
4194 |
Â
msgstr ""
|
4195 |
Â
|
4196 |
+
#: includes/class-mla-settings-documentation-tab.php:524
|
4197 |
Â
msgctxt "list_table_column"
|
4198 |
Â
msgid "Tags"
|
4199 |
Â
msgstr ""
|
4200 |
Â
|
4201 |
+
#: includes/class-mla-settings-documentation-tab.php:660
|
4202 |
Â
msgid "Install this plugin"
|
4203 |
Â
msgstr ""
|
4204 |
Â
|
4205 |
+
#: includes/class-mla-settings-documentation-tab.php:660
|
4206 |
+
#: includes/class-mla-settings-documentation-tab.php:884
|
4207 |
Â
msgid "Install"
|
4208 |
Â
msgstr ""
|
4209 |
Â
|
4210 |
+
#: includes/class-mla-settings-documentation-tab.php:664
|
4211 |
Â
msgid "Update this plugin"
|
4212 |
Â
msgstr ""
|
4213 |
Â
|
4214 |
+
#: includes/class-mla-settings-documentation-tab.php:677
|
4215 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1085
|
4216 |
Â
msgid "View this item"
|
4217 |
Â
msgstr ""
|
4218 |
Â
|
4219 |
+
#: includes/class-mla-settings-documentation-tab.php:1000
|
Â
|
|
4220 |
Â
#, php-format
|
4221 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken. Error: %2$s"
|
4222 |
Â
msgstr ""
|
4223 |
Â
|
4224 |
+
#: includes/class-mla-settings-documentation-tab.php:1005
|
Â
|
|
4225 |
Â
#, php-format
|
4226 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken"
|
4227 |
Â
msgstr ""
|
4228 |
Â
|
4229 |
+
#: includes/class-mla-settings-documentation-tab.php:1030
|
Â
|
|
4230 |
Â
#, php-format
|
4231 |
Â
msgid ""
|
4232 |
Â
"Example plugin \"%1$s\" install_package failed; no action taken. Error: %2$s"
|
4233 |
Â
msgstr ""
|
4234 |
Â
|
4235 |
+
#: includes/class-mla-settings-documentation-tab.php:1041
|
Â
|
|
4236 |
Â
#, php-format
|
4237 |
Â
msgid "Example plugin \"%1$s\" remove old single file failed."
|
4238 |
Â
msgstr ""
|
4239 |
Â
|
4240 |
+
#: includes/class-mla-settings-documentation-tab.php:1067
|
Â
|
|
4241 |
Â
#, php-format
|
4242 |
Â
msgid "Example plugin \"%1$s\" already installed; no action taken"
|
4243 |
Â
msgstr ""
|
4244 |
Â
|
4245 |
+
#: includes/class-mla-settings-documentation-tab.php:1073
|
Â
|
|
4246 |
Â
#, php-format
|
4247 |
Â
msgid "Example plugin \"%1$s\" installed"
|
4248 |
Â
msgstr ""
|
4249 |
Â
|
4250 |
+
#: includes/class-mla-settings-documentation-tab.php:1097
|
Â
|
|
4251 |
Â
#, php-format
|
4252 |
Â
msgid "Example plugin \"%1$s\" not installed; no action taken"
|
4253 |
Â
msgstr ""
|
4254 |
Â
|
4255 |
+
#: includes/class-mla-settings-documentation-tab.php:1103
|
Â
|
|
4256 |
Â
#, php-format
|
4257 |
Â
msgid "Example plugin \"%1$s\" updated"
|
4258 |
Â
msgstr ""
|
4259 |
Â
|
4260 |
+
#: includes/class-mla-settings-documentation-tab.php:1248
|
4261 |
Â
msgid "Network"
|
4262 |
Â
msgstr ""
|
4263 |
Â
|
4264 |
+
#: includes/class-mla-settings-documentation-tab.php:1585
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4265 |
Â
msgctxt "table_view_singular"
|
4266 |
Â
msgid "Installed"
|
4267 |
Â
msgstr ""
|
4268 |
Â
|
4269 |
+
#: includes/class-mla-settings-documentation-tab.php:1586
|
4270 |
Â
msgctxt "table_view_plural"
|
4271 |
Â
msgid "Installed"
|
4272 |
Â
msgstr ""
|
4273 |
Â
|
4274 |
+
#: includes/class-mla-settings-documentation-tab.php:1597
|
4275 |
Â
msgctxt "table_view_singular"
|
4276 |
Â
msgid "Network"
|
4277 |
Â
msgstr ""
|
4278 |
Â
|
4279 |
+
#: includes/class-mla-settings-documentation-tab.php:1598
|
4280 |
Â
msgctxt "table_view_plural"
|
4281 |
Â
msgid "Network"
|
4282 |
Â
msgstr ""
|
4283 |
Â
|
4284 |
+
#: includes/class-mla-settings-documentation-tab.php:1601
|
4285 |
Â
msgctxt "table_view_singular"
|
4286 |
Â
msgid "Uninstalled"
|
4287 |
Â
msgstr ""
|
4288 |
Â
|
4289 |
+
#: includes/class-mla-settings-documentation-tab.php:1602
|
4290 |
Â
msgctxt "table_view_plural"
|
4291 |
Â
msgid "Uninstalled"
|
4292 |
Â
msgstr ""
|
4293 |
Â
|
Â
|
|
4294 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:146
|
4295 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:220
|
4296 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:310
|
4322 |
Â
"click \"Save Changes\" at the bottom of this page."
|
4323 |
Â
msgstr ""
|
4324 |
Â
|
4325 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:473
|
4326 |
+
#, php-format
|
4327 |
+
msgid ""
|
4328 |
+
"You can find more information about using the controls in this tab to define "
|
4329 |
+
"mapping rules and apply them in the %1$s section of the Documentation."
|
4330 |
+
msgstr ""
|
4331 |
+
|
4332 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:473
|
4333 |
Â
msgid "IPTC/EXIF Options documentation"
|
4334 |
Â
msgstr ""
|
4351 |
Â
msgid "Map All Attachments, Taxonomy Terms Now"
|
4352 |
Â
msgstr ""
|
4353 |
Â
|
4354 |
+
#: includes/class-mla-settings-iptc-exif-tab.php:483
|
4355 |
+
msgid "Custom field mapping"
|
4356 |
+
msgstr ""
|
4357 |
+
|
4358 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:484
|
4359 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:542
|
4360 |
Â
msgid "Map All Attachments, Custom Fields Now"
|
4361 |
Â
msgstr ""
|
4362 |
Â
|
Â
|
|
4363 |
Â
#: includes/class-mla-settings-iptc-exif-tab.php:488
|
4364 |
Â
#, php-format
|
4365 |
Â
msgid ""
|
4368 |
Â
"performed.</strong>"
|
4369 |
Â
msgstr ""
|
4370 |
Â
|
Â
|
|
4371 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:79
|
4372 |
Â
#, php-format
|
4373 |
Â
msgid "%1$s: %2$s type or shortcode not specified."
|
4386 |
Â
msgid "style template"
|
4387 |
Â
msgstr ""
|
4388 |
Â
|
Â
|
|
4389 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:90
|
4390 |
Â
#, php-format
|
4391 |
Â
msgid "%1$s: Blank %2$s name, reverting to \"%3$s\"."
|
4392 |
Â
msgstr ""
|
4393 |
Â
|
Â
|
|
4394 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:94
|
4395 |
Â
#, php-format
|
4396 |
Â
msgid "%1$s: Reserved %2$s name \"%3$s\", reverting to \"%4$s\"."
|
4397 |
Â
msgstr ""
|
4398 |
Â
|
Â
|
|
4399 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:112
|
4400 |
Â
#, php-format
|
4401 |
Â
msgid "%1$s: Duplicate new %2$s name \"%3$s\", reverting to \"%4$s\"."
|
4402 |
Â
msgstr ""
|
4403 |
Â
|
Â
|
|
4404 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:140
|
4405 |
Â
#, php-format
|
4406 |
Â
msgid "%1$s: New %2$s \"%3$s\" has no content; not added."
|
4407 |
Â
msgstr ""
|
4408 |
Â
|
Â
|
|
4409 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:145
|
4410 |
Â
#, php-format
|
4411 |
Â
msgid "%1$s \"%2$s\" added."
|
4412 |
Â
msgstr ""
|
4413 |
Â
|
Â
|
|
4414 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:178
|
4415 |
Â
#, php-format
|
4416 |
Â
msgid "%1$s \"%2$s\" copied to \"%3$s\"."
|
4424 |
Â
msgid "markup template name"
|
4425 |
Â
msgstr ""
|
4426 |
Â
|
Â
|
|
4427 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:207
|
4428 |
Â
#, php-format
|
4429 |
Â
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
4430 |
Â
msgstr ""
|
4431 |
Â
|
Â
|
|
4432 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:214
|
4433 |
Â
#, php-format
|
4434 |
Â
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
4435 |
Â
msgstr ""
|
4436 |
Â
|
Â
|
|
4437 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:218
|
4438 |
Â
#, php-format
|
4439 |
Â
msgid "%1$s: Reserved %2$s \"%3$s\", reverting to \"%4$s\"."
|
4440 |
Â
msgstr ""
|
4441 |
Â
|
Â
|
|
4442 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:222
|
4443 |
Â
#, php-format
|
4444 |
Â
msgctxt "message_list"
|
4445 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
4446 |
Â
msgstr ""
|
4447 |
Â
|
Â
|
|
4448 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:245
|
4449 |
Â
#, php-format
|
4450 |
Â
msgid "%1$s \"%2$s\" updated."
|
4451 |
Â
msgstr ""
|
4452 |
Â
|
Â
|
|
4453 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:248
|
4454 |
Â
#, php-format
|
4455 |
Â
msgid "%1$s \"%2$s\" no changes detected."
|
4456 |
Â
msgstr ""
|
4457 |
Â
|
Â
|
|
4458 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:268
|
4459 |
Â
#, php-format
|
4460 |
Â
msgid "%1$s \"%2$s\" deleted."
|
4462 |
Â
|
4463 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:324
|
4464 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:327
|
4465 |
+
#: includes/class-mla-settings.php:929
|
4466 |
Â
msgid "Shortcodes"
|
4467 |
Â
msgstr ""
|
4468 |
Â
|
Â
|
|
4469 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:327
|
4470 |
Â
#, php-format
|
4471 |
Â
msgid "%1$s no changes detected."
|
4505 |
Â
msgstr ""
|
4506 |
Â
|
4507 |
Â
#: includes/class-mla-settings-shortcodes-tab.php:487
|
4508 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1090
|
4509 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1312
|
4510 |
Â
msgid "Copy"
|
4511 |
Â
msgstr ""
|
4512 |
Â
|
4518 |
Â
msgid "Edit Template cancelled."
|
4519 |
Â
msgstr ""
|
4520 |
Â
|
4521 |
+
#: includes/class-mla-settings-shortcodes-tab.php:637
|
4522 |
Â
msgid "Theme"
|
4523 |
Â
msgstr ""
|
4524 |
Â
|
4525 |
+
#: includes/class-mla-settings-shortcodes-tab.php:658
|
4526 |
Â
msgid "Imagick support is not installed."
|
4527 |
Â
msgstr ""
|
4528 |
Â
|
4529 |
+
#: includes/class-mla-settings-shortcodes-tab.php:665
|
4530 |
Â
msgid "Ghostscript support is not installed."
|
4531 |
Â
msgstr ""
|
4532 |
Â
|
4533 |
+
#: includes/class-mla-settings-shortcodes-tab.php:669
|
4534 |
Â
#: includes/class-mla-wpml-support.php:1680
|
4535 |
Â
#: includes/class-mla-wpml-support.php:1682
|
4536 |
Â
msgid "WARNING:"
|
4537 |
Â
msgstr ""
|
4538 |
Â
|
4539 |
+
#: includes/class-mla-settings-shortcodes-tab.php:669
|
4540 |
Â
msgid " MLA Viewer support may not be available"
|
4541 |
Â
msgstr ""
|
4542 |
Â
|
4543 |
+
#: includes/class-mla-settings-shortcodes-tab.php:706
|
4544 |
Â
msgid "MLA Shortcode Options"
|
4545 |
Â
msgstr ""
|
4546 |
Â
|
4547 |
+
#: includes/class-mla-settings-shortcodes-tab.php:707
|
4548 |
Â
msgid ""
|
4549 |
Â
"In this tab you can view the default style and markup templates. You can "
|
4550 |
Â
"also define additional templates and use the <code>mla_style</code> and "
|
4552 |
Â
"shortcodes."
|
4553 |
Â
msgstr ""
|
4554 |
Â
|
4555 |
+
#: includes/class-mla-settings-shortcodes-tab.php:709
|
Â
|
|
4556 |
Â
#, php-format
|
4557 |
Â
msgid ""
|
4558 |
Â
"You can find more information about shortcode templates and how MLA and "
|
4560 |
Â
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
4561 |
Â
msgstr ""
|
4562 |
Â
|
4563 |
+
#: includes/class-mla-settings-shortcodes-tab.php:709
|
4564 |
Â
msgid "Style and Markup Templates documentation"
|
4565 |
Â
msgstr ""
|
4566 |
Â
|
4567 |
+
#: includes/class-mla-settings-shortcodes-tab.php:709
|
4568 |
Â
msgid "Style and Markup Templates"
|
4569 |
Â
msgstr ""
|
4570 |
Â
|
4571 |
+
#: includes/class-mla-settings-shortcodes-tab.php:715
|
4572 |
Â
msgid "Add New Template"
|
4573 |
Â
msgstr ""
|
4574 |
Â
|
4575 |
+
#: includes/class-mla-settings-shortcodes-tab.php:716
|
4576 |
Â
msgid "Search Templates"
|
4577 |
Â
msgstr ""
|
4578 |
Â
|
4579 |
+
#: includes/class-mla-settings-shortcodes-tab.php:967
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4580 |
Â
msgctxt "list_table_column"
|
4581 |
Â
msgid "Type"
|
4582 |
Â
msgstr ""
|
4583 |
Â
|
4584 |
+
#: includes/class-mla-settings-shortcodes-tab.php:968
|
4585 |
Â
msgctxt "list_table_column"
|
4586 |
Â
msgid "Shortcode"
|
4587 |
Â
msgstr ""
|
4588 |
Â
|
4589 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1090
|
4590 |
Â
msgid "Make a copy"
|
4591 |
Â
msgstr ""
|
4592 |
Â
|
4593 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1110
|
4594 |
Â
msgid "default"
|
4595 |
Â
msgstr ""
|
4596 |
Â
|
4597 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1123
|
4598 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2017
|
4599 |
Â
msgctxt "table_view_singular"
|
4600 |
Â
msgid "Style"
|
4601 |
Â
msgstr ""
|
4602 |
Â
|
4603 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1123
|
4604 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2021
|
4605 |
Â
msgctxt "table_view_singular"
|
4606 |
Â
msgid "Markup"
|
4607 |
Â
msgstr ""
|
4608 |
Â
|
4609 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1311
|
4610 |
+
#: includes/class-mla-thumbnail-generation.php:558
|
4611 |
Â
msgid "Delete"
|
4612 |
Â
msgstr ""
|
4613 |
Â
|
4614 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1331
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4615 |
Â
msgid "Default"
|
4616 |
Â
msgstr ""
|
4617 |
Â
|
4618 |
+
#: includes/class-mla-settings-shortcodes-tab.php:1334
|
4619 |
Â
msgid "Custom"
|
4620 |
Â
msgstr ""
|
4621 |
Â
|
4622 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2018
|
4623 |
Â
msgctxt "table_view_plural"
|
4624 |
Â
msgid "Style"
|
4625 |
Â
msgstr ""
|
4626 |
Â
|
4627 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2022
|
4628 |
Â
msgctxt "table_view_plural"
|
4629 |
Â
msgid "Markup"
|
4630 |
Â
msgstr ""
|
4631 |
Â
|
4632 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2025
|
4633 |
Â
#: includes/class-mla-template-support.php:70
|
4634 |
Â
#: includes/class-mla-template-support.php:126
|
4635 |
Â
msgctxt "table_view_singular"
|
4636 |
Â
msgid "Gallery"
|
4637 |
Â
msgstr ""
|
4638 |
Â
|
4639 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2026
|
4640 |
Â
msgctxt "table_view_plural"
|
4641 |
Â
msgid "Gallery"
|
4642 |
Â
msgstr ""
|
4643 |
Â
|
4644 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2029
|
4645 |
Â
#: includes/class-mla-template-support.php:88
|
4646 |
Â
#: includes/class-mla-template-support.php:174
|
4647 |
Â
msgctxt "table_view_singular"
|
4648 |
Â
msgid "Tag Cloud"
|
4649 |
Â
msgstr ""
|
4650 |
Â
|
4651 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2030
|
4652 |
Â
msgctxt "table_view_plural"
|
4653 |
Â
msgid "Tag Cloud"
|
4654 |
Â
msgstr ""
|
4655 |
Â
|
4656 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2033
|
4657 |
Â
#: includes/class-mla-template-support.php:106
|
4658 |
Â
#: includes/class-mla-template-support.php:222
|
4659 |
Â
msgctxt "table_view_singular"
|
4660 |
Â
msgid "Term List"
|
4661 |
Â
msgstr ""
|
4662 |
Â
|
4663 |
+
#: includes/class-mla-settings-shortcodes-tab.php:2034
|
4664 |
Â
msgctxt "table_view_plural"
|
4665 |
Â
msgid "Term List"
|
4666 |
Â
msgstr ""
|
4667 |
Â
|
4668 |
+
#: includes/class-mla-settings-upload-tab.php:93
|
4669 |
Â
msgid "Upload MIME Type settings saved."
|
4670 |
Â
msgstr ""
|
4671 |
Â
|
4672 |
+
#: includes/class-mla-settings-upload-tab.php:160
|
4673 |
Â
msgid "Edit Upload MIME Type"
|
4674 |
Â
msgstr ""
|
4675 |
Â
|
4676 |
+
#: includes/class-mla-settings-upload-tab.php:166
|
4677 |
Â
msgid ""
|
4678 |
Â
"The “extension” is the file extension for this type, and a "
|
4679 |
Â
"unique key for the item. It must be all lowercase and contain only letters "
|
4680 |
Â
"and numbers."
|
4681 |
Â
msgstr ""
|
4682 |
Â
|
4683 |
+
#: includes/class-mla-settings-upload-tab.php:168
|
4684 |
+
#: includes/class-mla-settings-upload-tab.php:537
|
4685 |
Â
msgid ""
|
4686 |
Â
"The MIME Type must be all lowercase and contain only letters, numbers, "
|
4687 |
Â
"periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
|
4688 |
Â
"strong> type, e.g., “image” or “image/jpeg”."
|
4689 |
Â
msgstr ""
|
4690 |
Â
|
4691 |
+
#: includes/class-mla-settings-upload-tab.php:169
|
4692 |
+
#: includes/class-mla-settings-upload-tab.php:538
|
4693 |
Â
msgid "Icon Type"
|
4694 |
Â
msgstr ""
|
4695 |
Â
|
4696 |
+
#: includes/class-mla-settings-upload-tab.php:171
|
4697 |
+
#: includes/class-mla-settings-upload-tab.php:539
|
4698 |
Â
msgid ""
|
4699 |
Â
"The Icon Type selects a thumbnail image displayed for non-image file types, "
|
4700 |
Â
"such as PDF documents."
|
4701 |
Â
msgstr ""
|
4702 |
Â
|
4703 |
+
#: includes/class-mla-settings-upload-tab.php:173
|
4704 |
+
#: includes/class-mla-settings-upload-tab.php:541
|
4705 |
Â
msgid ""
|
4706 |
Â
"Check this box if you want to remove this entry from the list of Upload MIME "
|
4707 |
Â
"Types returned by get_allowed_mime_types()."
|
4708 |
Â
msgstr ""
|
4709 |
Â
|
4710 |
+
#: includes/class-mla-settings-upload-tab.php:175
|
4711 |
+
#: includes/class-mla-settings-upload-tab.php:543
|
4712 |
+
#: includes/class-mla-settings-view-tab.php:133
|
4713 |
+
#: includes/class-mla-settings-view-tab.php:389
|
4714 |
Â
msgid ""
|
4715 |
Â
"The description can contain any documentation or notes you need to "
|
4716 |
Â
"understand or use the item."
|
4717 |
Â
msgstr ""
|
4718 |
Â
|
4719 |
+
#: includes/class-mla-settings-upload-tab.php:245
|
4720 |
Â
msgid "Known File Extension/MIME Type Associations"
|
4721 |
Â
msgstr ""
|
4722 |
Â
|
4723 |
+
#: includes/class-mla-settings-upload-tab.php:247
|
4724 |
Â
msgid "Search Known MIME Types"
|
4725 |
Â
msgstr ""
|
4726 |
Â
|
4727 |
+
#: includes/class-mla-settings-upload-tab.php:249
|
4728 |
Â
msgid "Search Types"
|
4729 |
Â
msgstr ""
|
4730 |
Â
|
4731 |
+
#: includes/class-mla-settings-upload-tab.php:250
|
4732 |
+
#: includes/class-mla-settings-upload-tab.php:526
|
4733 |
Â
msgid "To search by extension, use \".\", e.g., \".doc\""
|
4734 |
Â
msgstr ""
|
4735 |
Â
|
4736 |
+
#: includes/class-mla-settings-upload-tab.php:442
|
4737 |
+
#: includes/class-mla-settings-view-tab.php:283
|
Â
|
|
4738 |
Â
#, php-format
|
4739 |
Â
msgid "Edit view \"%1$s\" cancelled."
|
4740 |
Â
msgstr ""
|
4741 |
Â
|
4742 |
+
#: includes/class-mla-settings-upload-tab.php:477
|
4743 |
Â
msgid "Upload MIME Type Support is disabled"
|
4744 |
Â
msgstr ""
|
4745 |
Â
|
4746 |
+
#: includes/class-mla-settings-upload-tab.php:520
|
4747 |
+
#: includes/class-mla-settings-upload-tab.php:523
|
4748 |
Â
msgid "File Extension and MIME Type Processing"
|
4749 |
Â
msgstr ""
|
4750 |
Â
|
4751 |
+
#: includes/class-mla-settings-upload-tab.php:521
|
4752 |
Â
msgid ""
|
4753 |
Â
"In this tab you can manage the list of file extension/MIME Type "
|
4754 |
Â
"associations, which are used by WordPress to decide what kind of files can "
|
4757 |
Â
"extension must be in this list and be active."
|
4758 |
Â
msgstr ""
|
4759 |
Â
|
4760 |
+
#: includes/class-mla-settings-upload-tab.php:523
|
Â
|
|
4761 |
Â
#, php-format
|
4762 |
Â
msgid ""
|
4763 |
Â
"You can find more information about file extensions, MIME types and how "
|
4765 |
Â
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
4766 |
Â
msgstr ""
|
4767 |
Â
|
4768 |
+
#: includes/class-mla-settings-upload-tab.php:523
|
4769 |
Â
msgid "File Extension Processing documentation"
|
4770 |
Â
msgstr ""
|
4771 |
Â
|
4772 |
+
#: includes/class-mla-settings-upload-tab.php:525
|
4773 |
Â
msgid "Search Uploads"
|
4774 |
Â
msgstr ""
|
4775 |
Â
|
4776 |
+
#: includes/class-mla-settings-upload-tab.php:532
|
4777 |
Â
msgid "Upload MIME Type"
|
4778 |
Â
msgstr ""
|
4779 |
Â
|
4780 |
+
#: includes/class-mla-settings-upload-tab.php:533
|
4781 |
Â
msgid ""
|
4782 |
Â
"To search the database of over 1,500 known extension/type associations, "
|
4783 |
Â
"click \"Search Known Types\" below the form."
|
4784 |
Â
msgstr ""
|
4785 |
Â
|
4786 |
+
#: includes/class-mla-settings-upload-tab.php:535
|
4787 |
Â
msgid ""
|
4788 |
Â
"The “extension” is the file extension for this type, and unique "
|
4789 |
Â
"key for the item. It must be all lowercase and contain only letters and "
|
4790 |
Â
"numbers."
|
4791 |
Â
msgstr ""
|
4792 |
Â
|
4793 |
+
#: includes/class-mla-settings-upload-tab.php:544
|
4794 |
Â
msgid "Add Upload MIME Type"
|
4795 |
Â
msgstr ""
|
4796 |
Â
|
4797 |
+
#: includes/class-mla-settings-upload-tab.php:546
|
4798 |
Â
msgid "Search Known Types"
|
4799 |
Â
msgstr ""
|
4800 |
Â
|
4801 |
+
#: includes/class-mla-settings-upload-tab.php:548
|
4802 |
+
#: includes/class-mla-settings-view-tab.php:392
|
4803 |
Â
msgid "<strong>Quick Edit</strong>"
|
4804 |
Â
msgstr ""
|
4805 |
Â
|
4806 |
+
#: includes/class-mla-settings-upload-tab.php:594
|
4807 |
Â
msgid "No upload slug found"
|
4808 |
Â
msgstr ""
|
4809 |
Â
|
4810 |
+
#: includes/class-mla-settings-upload-tab.php:931
|
4811 |
+
#: includes/class-mla-settings-view-tab.php:726
|
4812 |
Â
msgid "Revert to standard item"
|
4813 |
Â
msgstr ""
|
4814 |
Â
|
4815 |
+
#: includes/class-mla-settings-upload-tab.php:931
|
4816 |
+
#: includes/class-mla-settings-view-tab.php:726
|
4817 |
Â
msgid "Revert to Standard"
|
4818 |
Â
msgstr ""
|
4819 |
Â
|
4820 |
+
#: includes/class-mla-settings-upload-tab.php:1226
|
4821 |
Â
msgid "Delete/Revert Custom"
|
4822 |
Â
msgstr ""
|
4823 |
Â
|
4824 |
+
#: includes/class-mla-settings-upload-tab.php:1482
|
4825 |
Â
msgid "Select this entry"
|
4826 |
Â
msgstr ""
|
4827 |
Â
|
4828 |
+
#: includes/class-mla-settings-upload-tab.php:1615
|
4829 |
Â
msgid "Select these entries"
|
4830 |
Â
msgstr ""
|
4831 |
Â
|
4832 |
+
#: includes/class-mla-settings-view-tab.php:90
|
4833 |
Â
msgid "View settings saved."
|
4834 |
Â
msgstr ""
|
4835 |
Â
|
4836 |
+
#: includes/class-mla-settings-view-tab.php:114
|
4837 |
Â
msgid "Edit View"
|
4838 |
Â
msgstr ""
|
4839 |
Â
|
4840 |
+
#: includes/class-mla-settings-view-tab.php:120
|
4841 |
+
#: includes/class-mla-settings-view-tab.php:376
|
4842 |
Â
msgid ""
|
4843 |
Â
"The “slug” is the URL-friendly, unique key for the view. It must "
|
4844 |
Â
"be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
|
4847 |
Â
"MIME</strong> type, e.g., “image” or “image/jpeg”."
|
4848 |
Â
msgstr ""
|
4849 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
4850 |
Â
#: includes/class-mla-settings-view-tab.php:121
|
4851 |
Â
#: includes/class-mla-settings-view-tab.php:377
|
4852 |
+
msgid "Singular Label"
|
4853 |
Â
msgstr ""
|
4854 |
Â
|
4855 |
Â
#: includes/class-mla-settings-view-tab.php:122
|
4856 |
Â
#: includes/class-mla-settings-view-tab.php:378
|
4857 |
+
msgid "Plural Label"
|
Â
|
|
Â
|
|
4858 |
Â
msgstr ""
|
4859 |
Â
|
4860 |
Â
#: includes/class-mla-settings-view-tab.php:123
|
4861 |
Â
#: includes/class-mla-settings-view-tab.php:379
|
4862 |
+
msgid ""
|
4863 |
+
"The labels, e.g., “Image” and “Images” are used for "
|
4864 |
+
"column headers and other display purposes."
|
4865 |
Â
msgstr ""
|
4866 |
Â
|
4867 |
Â
#: includes/class-mla-settings-view-tab.php:124
|
4868 |
Â
#: includes/class-mla-settings-view-tab.php:380
|
4869 |
+
msgid "Specification"
|
4870 |
+
msgstr ""
|
4871 |
+
|
4872 |
+
#: includes/class-mla-settings-view-tab.php:125
|
4873 |
+
#: includes/class-mla-settings-view-tab.php:381
|
4874 |
Â
msgid ""
|
4875 |
Â
"If the MIME type specification differs from the slug, enter it here. You may "
|
4876 |
Â
"include multiple MIME types, e.g., “audio,video” and/or wildcard "
|
4878 |
Â
"MIME Type box is checked."
|
4879 |
Â
msgstr ""
|
4880 |
Â
|
4881 |
+
#: includes/class-mla-settings-view-tab.php:126
|
4882 |
+
#: includes/class-mla-settings-view-tab.php:382
|
4883 |
Â
msgid "Post MIME Type"
|
4884 |
Â
msgstr ""
|
4885 |
Â
|
4886 |
+
#: includes/class-mla-settings-view-tab.php:127
|
4887 |
+
#: includes/class-mla-settings-view-tab.php:383
|
4888 |
Â
msgid ""
|
4889 |
Â
"Check this box if you want to add this entry to the list of MIME types "
|
4890 |
Â
"returned by wp_get_mime_types()."
|
4891 |
Â
msgstr ""
|
4892 |
Â
|
4893 |
+
#: includes/class-mla-settings-view-tab.php:128
|
4894 |
+
#: includes/class-mla-settings-view-tab.php:384
|
4895 |
Â
msgid "Table View"
|
4896 |
Â
msgstr ""
|
4897 |
Â
|
4898 |
+
#: includes/class-mla-settings-view-tab.php:129
|
4899 |
+
#: includes/class-mla-settings-view-tab.php:385
|
4900 |
Â
msgid ""
|
4901 |
Â
"Check this box if you want to add this entry to the list of Media/Assistant "
|
4902 |
Â
"table views."
|
4903 |
Â
msgstr ""
|
4904 |
Â
|
4905 |
+
#: includes/class-mla-settings-view-tab.php:131
|
4906 |
+
#: includes/class-mla-settings-view-tab.php:387
|
4907 |
Â
msgid ""
|
4908 |
Â
"You can choose your own table view order by entering a number (1 for first, "
|
4909 |
Â
"etc.) in this field."
|
4910 |
Â
msgstr ""
|
4911 |
Â
|
4912 |
+
#: includes/class-mla-settings-view-tab.php:317
|
4913 |
Â
msgid "View and Post MIME Type Support is disabled"
|
4914 |
Â
msgstr ""
|
4915 |
Â
|
4916 |
+
#: includes/class-mla-settings-view-tab.php:361
|
4917 |
+
#: includes/class-mla-settings-view-tab.php:364
|
4918 |
Â
msgid "Library Views/Post MIME Type Processing"
|
4919 |
Â
msgstr ""
|
4920 |
Â
|
4921 |
+
#: includes/class-mla-settings-view-tab.php:362
|
4922 |
Â
msgid ""
|
4923 |
Â
"In this tab you can manage the list of \"Post MIME Types\", which are used "
|
4924 |
Â
"by WordPress to define the views for the <em><strong>Media/Library</strong></"
|
4929 |
Â
"specifications (e.g. \"*/*ms*\")."
|
4930 |
Â
msgstr ""
|
4931 |
Â
|
4932 |
+
#: includes/class-mla-settings-view-tab.php:364
|
Â
|
|
4933 |
Â
#, php-format
|
4934 |
Â
msgid ""
|
4935 |
Â
"You can find more information about library views, Post MIME types and how "
|
4938 |
Â
"screen."
|
4939 |
Â
msgstr ""
|
4940 |
Â
|
4941 |
+
#: includes/class-mla-settings-view-tab.php:364
|
4942 |
Â
msgid "Library View Processing documentation"
|
4943 |
Â
msgstr ""
|
4944 |
Â
|
4945 |
+
#: includes/class-mla-settings-view-tab.php:369
|
4946 |
Â
msgid "Search Views"
|
4947 |
Â
msgstr ""
|
4948 |
Â
|
4949 |
+
#: includes/class-mla-settings-view-tab.php:390
|
4950 |
Â
msgid "Add View"
|
4951 |
Â
msgstr ""
|
4952 |
Â
|
4953 |
+
#: includes/class-mla-settings-view-tab.php:433
|
4954 |
Â
msgid "No view slug found"
|
4955 |
Â
msgstr ""
|
4956 |
Â
|
4957 |
+
#: includes/class-mla-settings.php:415 includes/class-mla-settings.php:628
|
4958 |
+
#: includes/class-mla-settings.php:1449
|
4959 |
Â
msgid "Settings"
|
4960 |
Â
msgstr ""
|
4961 |
Â
|
4962 |
+
#: includes/class-mla-settings.php:434
|
4963 |
Â
msgid "Views per page"
|
4964 |
Â
msgstr ""
|
4965 |
Â
|
4966 |
+
#: includes/class-mla-settings.php:445
|
4967 |
Â
msgid "Types per page"
|
4968 |
Â
msgstr ""
|
4969 |
Â
|
4970 |
+
#: includes/class-mla-settings.php:456
|
4971 |
Â
msgid "Upload types per page"
|
4972 |
Â
msgstr ""
|
4973 |
Â
|
4974 |
+
#: includes/class-mla-settings.php:467
|
4975 |
Â
msgid "Shortcode templates per page"
|
4976 |
Â
msgstr ""
|
4977 |
Â
|
4978 |
+
#: includes/class-mla-settings.php:478
|
4979 |
+
msgid "Rules per page"
|
4980 |
+
msgstr ""
|
4981 |
+
|
4982 |
+
#: includes/class-mla-settings.php:490
|
4983 |
Â
msgid "Plugins per page"
|
4984 |
Â
msgstr ""
|
4985 |
Â
|
4986 |
+
#: includes/class-mla-settings.php:700 includes/class-mla-settings.php:737
|
4987 |
+
#: includes/class-mla-settings.php:877
|
Â
|
|
4988 |
Â
#, php-format
|
4989 |
Â
msgctxt "error_log"
|
4990 |
Â
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
4991 |
Â
msgstr ""
|
4992 |
Â
|
4993 |
+
#: includes/class-mla-settings.php:775 includes/class-mla-settings.php:1042
|
4994 |
Â
msgid "Go to Bottom"
|
4995 |
Â
msgstr ""
|
4996 |
Â
|
4997 |
+
#: includes/class-mla-settings.php:926
|
4998 |
Â
msgid "General"
|
4999 |
Â
msgstr ""
|
5000 |
Â
|
5001 |
+
#: includes/class-mla-settings.php:927
|
5002 |
Â
msgid "Views"
|
5003 |
Â
msgstr ""
|
5004 |
Â
|
5005 |
+
#: includes/class-mla-settings.php:928
|
5006 |
Â
msgid "Uploads"
|
5007 |
Â
msgstr ""
|
5008 |
Â
|
5009 |
+
#: includes/class-mla-settings.php:930
|
5010 |
Â
msgid "Custom Fields"
|
5011 |
Â
msgstr ""
|
5012 |
Â
|
5013 |
+
#: includes/class-mla-settings.php:931
|
5014 |
Â
msgid "IPTC/EXIF"
|
5015 |
Â
msgstr ""
|
5016 |
Â
|
5017 |
+
#: includes/class-mla-settings.php:932
|
5018 |
Â
msgid "Documentation"
|
5019 |
Â
msgstr ""
|
5020 |
Â
|
5021 |
+
#: includes/class-mla-settings.php:933
|
5022 |
Â
msgid "Debug"
|
5023 |
Â
msgstr ""
|
5024 |
Â
|
5025 |
+
#: includes/class-mla-settings.php:1033
|
5026 |
Â
msgid "General Processing Options"
|
5027 |
Â
msgstr ""
|
5028 |
Â
|
5029 |
+
#: includes/class-mla-settings.php:1035
|
Â
|
|
5030 |
Â
#, php-format
|
5031 |
Â
msgid ""
|
5032 |
Â
"In this tab you can find a number of options for controlling the "
|
5035 |
Â
"any changes you make."
|
5036 |
Â
msgstr ""
|
5037 |
Â
|
5038 |
+
#: includes/class-mla-settings.php:1035
|
5039 |
Â
msgid "Media/Assistant Table Defaults"
|
5040 |
Â
msgstr ""
|
5041 |
Â
|
5042 |
+
#: includes/class-mla-settings.php:1035
|
5043 |
Â
msgid "Media Manager Enhancements"
|
5044 |
Â
msgstr ""
|
5045 |
Â
|
5046 |
+
#: includes/class-mla-settings.php:1038
|
5047 |
Â
msgid "Delete General options and restore default settings"
|
5048 |
Â
msgstr ""
|
5049 |
Â
|
5050 |
+
#: includes/class-mla-settings.php:1043 includes/class-mla-settings.php:1441
|
5051 |
Â
msgid "Support Our Work"
|
5052 |
Â
msgstr ""
|
5053 |
Â
|
5054 |
+
#: includes/class-mla-settings.php:1044 includes/class-mla-settings.php:1047
|
5055 |
Â
msgid "Donate to FTJ"
|
5056 |
Â
msgstr ""
|
5057 |
Â
|
5058 |
+
#: includes/class-mla-settings.php:1045 includes/class-mla-settings.php:1442
|
5059 |
Â
msgid "Donate"
|
5060 |
Â
msgstr ""
|
5061 |
Â
|
5062 |
+
#: includes/class-mla-settings.php:1047
|
Â
|
|
5063 |
Â
#, php-format
|
5064 |
Â
msgid ""
|
5065 |
Â
"This plugin was inspired by my work on the WordPress web site for our "
|
5068 |
Â
"our work. Thank you!"
|
5069 |
Â
msgstr ""
|
5070 |
Â
|
5071 |
+
#: includes/class-mla-settings.php:1047
|
5072 |
Â
msgid "tax-deductible donation"
|
5073 |
Â
msgstr ""
|
5074 |
Â
|
5075 |
+
#: includes/class-mla-settings.php:1066
|
5076 |
Â
msgid "enhanced version of the WordPress [gallery] shortcode."
|
5077 |
Â
msgstr ""
|
5078 |
Â
|
5079 |
+
#: includes/class-mla-settings.php:1067
|
5080 |
Â
msgid "enhanced version of the WordPress Tag Cloud."
|
5081 |
Â
msgstr ""
|
5082 |
Â
|
5083 |
+
#: includes/class-mla-settings.php:1068
|
5084 |
Â
msgid ""
|
5085 |
Â
"provides flat or hierarchical lists, dropdown controls and checkbox lists of "
|
5086 |
Â
"taxonomy terms."
|
5087 |
Â
msgstr ""
|
5088 |
Â
|
5089 |
+
#: includes/class-mla-settings.php:1080
|
5090 |
Â
msgid "Shortcodes made available by this plugin"
|
5091 |
Â
msgstr ""
|
5092 |
Â
|
5093 |
+
#: includes/class-mla-settings.php:1195
|
5094 |
Â
msgid "Debug settings saved."
|
5095 |
Â
msgstr ""
|
5096 |
Â
|
5097 |
+
#: includes/class-mla-settings.php:1291
|
Â
|
|
5098 |
Â
#, php-format
|
5099 |
Â
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
5100 |
Â
msgstr ""
|
5101 |
Â
|
5102 |
+
#: includes/class-mla-settings.php:1291 includes/class-mla-settings.php:1342
|
5103 |
+
#: includes/class-mla-settings.php:1366 includes/class-mla-settings.php:1376
|
5104 |
+
#: includes/class-mla-settings.php:1402
|
5105 |
Â
msgid "Error Log"
|
5106 |
Â
msgstr ""
|
5107 |
Â
|
5108 |
+
#: includes/class-mla-settings.php:1352
|
Â
|
|
5109 |
Â
#, php-format
|
5110 |
Â
msgid "Error log file (%1$s) not found; click Reset to create it."
|
5111 |
Â
msgstr ""
|
5112 |
Â
|
5113 |
+
#: includes/class-mla-settings.php:1397 includes/class-mla-settings.php:1410
|
5114 |
Â
msgid "Debug Options"
|
5115 |
Â
msgstr ""
|
5116 |
Â
|
5117 |
+
#: includes/class-mla-settings.php:1400
|
5118 |
Â
msgid "Debug Settings"
|
5119 |
Â
msgstr ""
|
5120 |
Â
|
5121 |
+
#: includes/class-mla-settings.php:1410
|
Â
|
|
5122 |
Â
#, php-format
|
5123 |
Â
msgid "Click %1$s to update the %2$s."
|
5124 |
Â
msgstr ""
|
5125 |
Â
|
5126 |
+
#: includes/class-mla-settings.php:1429
|
5127 |
Â
msgid "You do not have permission to manage plugin settings."
|
5128 |
Â
msgstr ""
|
5129 |
Â
|
5130 |
+
#: includes/class-mla-settings.php:1461
|
5131 |
Â
msgid "Cannot render content tab"
|
5132 |
Â
msgstr ""
|
5133 |
Â
|
5134 |
+
#: includes/class-mla-settings.php:1464
|
5135 |
Â
msgid "Unknown content tab"
|
5136 |
Â
msgstr ""
|
5137 |
Â
|
5138 |
+
#: includes/class-mla-settings.php:1480
|
5139 |
+
msgid "Dismiss this notice"
|
5140 |
+
msgstr ""
|
5141 |
+
|
5142 |
+
#: includes/class-mla-settings.php:1507
|
5143 |
Â
#, php-format
|
5144 |
Â
msgid "%s attachment"
|
5145 |
Â
msgid_plural "%s attachments"
|
5146 |
Â
msgstr[0] ""
|
5147 |
Â
msgstr[1] ""
|
5148 |
Â
|
5149 |
+
#: includes/class-mla-settings.php:1509
|
Â
|
|
5150 |
Â
#, php-format
|
5151 |
Â
msgid "Deleted custom field value from %1$s."
|
5152 |
Â
msgstr ""
|
5153 |
Â
|
5154 |
+
#: includes/class-mla-settings.php:1512
|
5155 |
Â
msgid "No attachments contained this custom field."
|
5156 |
Â
msgstr ""
|
5157 |
Â
|
5158 |
+
#: includes/class-mla-settings.php:1542 includes/class-mla-settings.php:1552
|
Â
|
|
5159 |
Â
#, php-format
|
5160 |
Â
msgctxt "message_list"
|
5161 |
Â
msgid "%1$s - references updated."
|
5162 |
Â
msgstr ""
|
5163 |
Â
|
5164 |
+
#: includes/class-mla-settings.php:1595
|
5165 |
Â
msgid "General settings saved."
|
5166 |
Â
msgstr ""
|
5167 |
Â
|
5168 |
+
#: includes/class-mla-settings.php:1634
|
5169 |
Â
msgid "General settings reset to default values."
|
5170 |
Â
msgstr ""
|
5171 |
Â
|
5172 |
+
#: includes/class-mla-settings.php:1676
|
5173 |
Â
msgid "select settings"
|
5174 |
Â
msgstr ""
|
5175 |
Â
|
5176 |
+
#: includes/class-mla-settings.php:1696
|
5177 |
Â
msgid "Import ALL Settings"
|
5178 |
Â
msgstr ""
|
5179 |
Â
|
5180 |
+
#: includes/class-mla-settings.php:1725 includes/class-mla-settings.php:1741
|
5181 |
Â
msgctxt "message_list"
|
5182 |
Â
msgid "exported"
|
5183 |
Â
msgstr ""
|
5184 |
Â
|
5185 |
+
#: includes/class-mla-settings.php:1727 includes/class-mla-settings.php:1743
|
5186 |
Â
msgctxt "message_list"
|
5187 |
Â
msgid "skipped"
|
5188 |
Â
msgstr ""
|
5189 |
Â
|
5190 |
+
#: includes/class-mla-settings.php:1750
|
5191 |
Â
msgid "ALL settings exported."
|
5192 |
Â
msgstr ""
|
5193 |
Â
|
5194 |
+
#: includes/class-mla-settings.php:1761
|
Â
|
|
5195 |
Â
#, php-format
|
5196 |
Â
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
5197 |
Â
msgstr ""
|
5198 |
Â
|
5199 |
+
#: includes/class-mla-settings.php:1765
|
Â
|
|
5200 |
Â
#, php-format
|
5201 |
Â
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
5202 |
Â
msgstr ""
|
5203 |
Â
|
5204 |
+
#: includes/class-mla-settings.php:1776
|
Â
|
|
5205 |
Â
#, php-format
|
5206 |
Â
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
5207 |
Â
msgstr ""
|
5208 |
Â
|
5209 |
+
#: includes/class-mla-settings.php:1783
|
Â
|
|
5210 |
Â
#, php-format
|
5211 |
Â
msgctxt "error_log"
|
5212 |
Â
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
5213 |
Â
msgstr ""
|
5214 |
Â
|
5215 |
+
#: includes/class-mla-settings.php:1792
|
Â
|
|
5216 |
Â
#, php-format
|
5217 |
Â
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
5218 |
Â
msgstr ""
|
5219 |
Â
|
5220 |
+
#: includes/class-mla-settings.php:1798
|
Â
|
|
5221 |
Â
#, php-format
|
5222 |
Â
msgid "Settings exported; %1$s settings recorded."
|
5223 |
Â
msgstr ""
|
5224 |
Â
|
5225 |
+
#: includes/class-mla-settings.php:1816
|
5226 |
Â
msgid "No settings imported."
|
5227 |
Â
msgstr ""
|
5228 |
Â
|
5229 |
+
#: includes/class-mla-settings.php:1825
|
5230 |
Â
msgid "Please select an import settings file from the dropdown list."
|
5231 |
Â
msgstr ""
|
5232 |
Â
|
5233 |
+
#: includes/class-mla-settings.php:1829
|
5234 |
Â
msgid "The import settings dropdown selection is missing."
|
5235 |
Â
msgstr ""
|
5236 |
Â
|
5237 |
+
#: includes/class-mla-settings.php:1837
|
Â
|
|
5238 |
Â
#, php-format
|
5239 |
Â
msgctxt "error_log"
|
5240 |
Â
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
5241 |
Â
msgstr ""
|
5242 |
Â
|
5243 |
+
#: includes/class-mla-settings.php:1846
|
Â
|
|
5244 |
Â
#, php-format
|
5245 |
Â
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
5246 |
Â
msgstr ""
|
5247 |
Â
|
5248 |
+
#: includes/class-mla-settings.php:1865 includes/class-mla-settings.php:1881
|
5249 |
Â
msgctxt "message_list"
|
5250 |
Â
msgid "updated"
|
5251 |
Â
msgstr ""
|
5252 |
Â
|
5253 |
+
#: includes/class-mla-settings.php:1868 includes/class-mla-settings.php:1884
|
5254 |
Â
msgctxt "message_list"
|
5255 |
Â
msgid "unchanged"
|
5256 |
Â
msgstr ""
|
5257 |
Â
|
5258 |
+
#: includes/class-mla-settings.php:1889
|
Â
|
|
5259 |
Â
#, php-format
|
5260 |
Â
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
5261 |
Â
msgstr ""
|
5262 |
Â
|
5263 |
Â
#: includes/class-mla-shortcode-support.php:413
|
5264 |
+
#: includes/class-mla-shortcode-support.php:1747
|
5265 |
+
#: includes/class-mla-shortcode-support.php:3872
|
5266 |
+
#: includes/class-mla-shortcode-support.php:4158
|
5267 |
Â
msgid "Previous"
|
5268 |
Â
msgstr ""
|
5269 |
Â
|
5270 |
Â
#: includes/class-mla-shortcode-support.php:414
|
5271 |
+
#: includes/class-mla-shortcode-support.php:1748
|
5272 |
+
#: includes/class-mla-shortcode-support.php:3921
|
5273 |
+
#: includes/class-mla-shortcode-support.php:4164
|
5274 |
Â
msgid "Next"
|
5275 |
Â
msgstr ""
|
5276 |
Â
|
5277 |
Â
#: includes/class-mla-shortcode-support.php:489
|
5278 |
Â
#: includes/class-mla-shortcode-support.php:495
|
5279 |
+
#: includes/class-mla-shortcode-support.php:1900
|
5280 |
+
#: includes/class-mla-shortcode-support.php:1907
|
5281 |
+
#: includes/class-mla-shortcode-support.php:3277
|
5282 |
+
#: includes/class-mla-shortcode-support.php:3284
|
5283 |
Â
#: includes/class-mla-template-support.php:598
|
5284 |
Â
msgid "not found"
|
5285 |
Â
msgstr ""
|
5286 |
Â
|
5287 |
+
#: includes/class-mla-shortcode-support.php:520
|
5288 |
+
#: includes/class-mla-shortcode-support.php:1890
|
5289 |
+
#: includes/class-mla-shortcode-support.php:3267
|
5290 |
+
msgid "mla_debug REQUEST"
|
5291 |
+
msgstr ""
|
5292 |
+
|
5293 |
+
#: includes/class-mla-shortcode-support.php:521
|
5294 |
+
#: includes/class-mla-shortcode-support.php:1891
|
5295 |
+
#: includes/class-mla-shortcode-support.php:3268
|
5296 |
+
msgid "mla_debug attributes"
|
5297 |
+
msgstr ""
|
5298 |
+
|
5299 |
+
#: includes/class-mla-shortcode-support.php:522
|
5300 |
+
#: includes/class-mla-shortcode-support.php:1892
|
5301 |
+
#: includes/class-mla-shortcode-support.php:3269
|
5302 |
+
msgid "mla_debug arguments"
|
5303 |
+
msgstr ""
|
5304 |
+
|
5305 |
+
#: includes/class-mla-shortcode-support.php:566
|
5306 |
Â
msgid "mla_debug empty gallery"
|
5307 |
Â
msgstr ""
|
5308 |
Â
|
5309 |
+
#: includes/class-mla-shortcode-support.php:583
|
5310 |
Â
msgid ""
|
5311 |
Â
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
5312 |
Â
"<strong>default</strong>, query = "
|
5316 |
Â
msgid "unknown"
|
5317 |
Â
msgstr ""
|
5318 |
Â
|
5319 |
+
#: includes/class-mla-shortcode-support.php:2031
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
5320 |
Â
msgid "mla_debug empty cloud"
|
5321 |
Â
msgstr ""
|
5322 |
Â
|
5323 |
+
#: includes/class-mla-shortcode-support.php:3427
|
5324 |
Â
msgid "mla_debug empty list"
|
5325 |
Â
msgstr ""
|
5326 |
Â
|
5327 |
+
#: includes/class-mla-shortcode-support.php:3450
|
5328 |
Â
msgid "no-terms"
|
5329 |
Â
msgstr ""
|
5330 |
Â
|
5331 |
+
#: includes/class-mla-shortcode-support.php:4559
|
5332 |
+
#: includes/class-mla-shortcode-support.php:4938
|
5333 |
+
#: includes/class-mla-shortcode-support.php:4969
|
5334 |
Â
msgid "Invalid mla_gallery"
|
5335 |
Â
msgstr ""
|
5336 |
Â
|
5337 |
+
#: includes/class-mla-shortcode-support.php:5257
|
5338 |
Â
msgid "mla_debug query"
|
5339 |
Â
msgstr ""
|
5340 |
Â
|
5341 |
+
#: includes/class-mla-shortcode-support.php:5258
|
5342 |
Â
msgid "mla_debug request"
|
5343 |
Â
msgstr ""
|
5344 |
Â
|
5345 |
+
#: includes/class-mla-shortcode-support.php:5259
|
5346 |
Â
msgid "mla_debug query_vars"
|
5347 |
Â
msgstr ""
|
5348 |
Â
|
5349 |
+
#: includes/class-mla-shortcode-support.php:5260
|
5350 |
Â
msgid "mla_debug post_count"
|
5351 |
Â
msgstr ""
|
5352 |
Â
|
5353 |
+
#: includes/class-mla-shortcode-support.php:5328
|
5354 |
Â
msgid "mla_debug WHERE filter"
|
5355 |
Â
msgstr ""
|
5356 |
Â
|
5357 |
+
#: includes/class-mla-shortcode-support.php:5352
|
5358 |
Â
msgid "mla_debug modified WHERE filter"
|
5359 |
Â
msgstr ""
|
5360 |
Â
|
5361 |
+
#: includes/class-mla-shortcode-support.php:5375
|
5362 |
Â
msgid "mla_debug ORDER BY filter, incoming"
|
5363 |
Â
msgstr ""
|
5364 |
Â
|
5365 |
+
#: includes/class-mla-shortcode-support.php:5375
|
5366 |
Â
msgid "Replacement ORDER BY clause"
|
5367 |
Â
msgstr ""
|
5368 |
Â
|
5369 |
+
#: includes/class-mla-shortcode-support.php:5398
|
5370 |
Â
msgid "mla_debug posts_clauses filter"
|
5371 |
Â
msgstr ""
|
5372 |
Â
|
5373 |
+
#: includes/class-mla-shortcode-support.php:5416
|
5374 |
Â
msgid "mla_debug posts_clauses_request filter"
|
5375 |
Â
msgstr ""
|
5376 |
Â
|
5377 |
+
#: includes/class-mla-shortcode-support.php:5609
|
5378 |
Â
msgid "Invalid taxonomy"
|
5379 |
Â
msgstr ""
|
5380 |
Â
|
5381 |
+
#: includes/class-mla-shortcode-support.php:5799
|
5382 |
Â
msgid "mla_debug query arguments"
|
5383 |
Â
msgstr ""
|
5384 |
Â
|
5385 |
+
#: includes/class-mla-shortcode-support.php:5800
|
5386 |
Â
msgid "mla_debug last_query"
|
5387 |
Â
msgstr ""
|
5388 |
Â
|
5389 |
+
#: includes/class-mla-shortcode-support.php:5801
|
5390 |
Â
msgid "mla_debug last_error"
|
5391 |
Â
msgstr ""
|
5392 |
Â
|
5393 |
+
#: includes/class-mla-shortcode-support.php:5802
|
5394 |
Â
msgid "mla_debug num_rows"
|
5395 |
Â
msgstr ""
|
5396 |
Â
|
5397 |
+
#: includes/class-mla-shortcode-support.php:5803
|
5398 |
Â
msgid "mla_debug found_rows"
|
5399 |
Â
msgstr ""
|
5400 |
Â
|
5556 |
Â
|
5557 |
Â
#: includes/class-mla-thumbnail-generation.php:96
|
5558 |
Â
#: includes/class-mla-thumbnail-generation.php:98
|
5559 |
+
#: includes/class-mla-thumbnail-generation.php:541
|
5560 |
Â
msgid "Generate Thumbnails"
|
5561 |
Â
msgstr ""
|
5562 |
Â
|
5563 |
+
#: includes/class-mla-thumbnail-generation.php:303
|
Â
|
|
5564 |
Â
#, php-format
|
5565 |
Â
msgid "Item %1$d"
|
5566 |
Â
msgstr ""
|
5567 |
Â
|
5568 |
+
#: includes/class-mla-thumbnail-generation.php:310
|
5569 |
Â
msgid "has native thumbnail."
|
5570 |
Â
msgstr ""
|
5571 |
Â
|
5572 |
+
#: includes/class-mla-thumbnail-generation.php:331
|
5573 |
Â
msgid "Featured Image retained."
|
5574 |
Â
msgstr ""
|
5575 |
Â
|
5576 |
+
#: includes/class-mla-thumbnail-generation.php:341
|
Â
|
|
5577 |
Â
#, php-format
|
5578 |
Â
msgid "%1$s: %2$sno attached file."
|
5579 |
Â
msgstr ""
|
5580 |
Â
|
5581 |
+
#: includes/class-mla-thumbnail-generation.php:345
|
5582 |
Â
msgid "unsupported file type."
|
5583 |
Â
msgstr ""
|
5584 |
Â
|
Â
|
|
Â
|
|
5585 |
Â
#: includes/class-mla-thumbnail-generation.php:355
|
5586 |
+
#: includes/class-mla-thumbnail-generation.php:367
|
5587 |
Â
#, php-format
|
5588 |
Â
msgid "%1$s: %2$sthumbnail generation failed"
|
5589 |
Â
msgstr ""
|
5590 |
Â
|
5591 |
+
#: includes/class-mla-thumbnail-generation.php:363
|
Â
|
|
5592 |
Â
#, php-format
|
5593 |
Â
msgid "%1$sWordPress-style thumbnail generated."
|
5594 |
Â
msgstr ""
|
5595 |
Â
|
5596 |
+
#: includes/class-mla-thumbnail-generation.php:411
|
Â
|
|
5597 |
Â
#, php-format
|
5598 |
Â
msgid "%1$s: %2$swp_insert_attachment failed."
|
5599 |
Â
msgstr ""
|
5600 |
Â
|
5601 |
+
#: includes/class-mla-thumbnail-generation.php:428
|
Â
|
|
5602 |
Â
#, php-format
|
5603 |
Â
msgid "%1$sthumbnail generated as new item %2$s."
|
5604 |
Â
msgstr ""
|
5605 |
Â
|
5606 |
+
#: includes/class-mla-thumbnail-generation.php:477
|
5607 |
+
#: includes/class-mla-thumbnail-generation.php:585
|
5608 |
Â
msgid "Generated Thumbnails"
|
5609 |
Â
msgstr ""
|
5610 |
Â
|
5611 |
+
#: includes/class-mla-thumbnail-generation.php:531
|
5612 |
Â
msgid ""
|
5613 |
Â
"Type “WP” generates native WordPress thumbnails without creating "
|
5614 |
Â
"a separate image item."
|
5615 |
Â
msgstr ""
|
5616 |
Â
|
5617 |
+
#: includes/class-mla-thumbnail-generation.php:542
|
5618 |
Â
msgid ""
|
5619 |
Â
"Pull down the Help menu and select Thumbnail Generation for setting details"
|
5620 |
Â
msgstr ""
|
5621 |
Â
|
5622 |
+
#: includes/class-mla-thumbnail-generation.php:543
|
5623 |
Â
msgid "Width"
|
5624 |
Â
msgstr ""
|
5625 |
Â
|
5626 |
+
#: includes/class-mla-thumbnail-generation.php:544
|
5627 |
Â
msgid "Height"
|
5628 |
Â
msgstr ""
|
5629 |
Â
|
5630 |
+
#: includes/class-mla-thumbnail-generation.php:545
|
5631 |
Â
msgid "Best Fit"
|
5632 |
Â
msgstr ""
|
5633 |
Â
|
5634 |
+
#: includes/class-mla-thumbnail-generation.php:546
|
5635 |
Â
msgid "Page"
|
5636 |
Â
msgstr ""
|
5637 |
Â
|
5638 |
+
#: includes/class-mla-thumbnail-generation.php:547
|
5639 |
Â
msgid "Resolution"
|
5640 |
Â
msgstr ""
|
5641 |
Â
|
5642 |
+
#: includes/class-mla-thumbnail-generation.php:548
|
5643 |
Â
msgid "Quality"
|
5644 |
Â
msgstr ""
|
5645 |
Â
|
5646 |
+
#: includes/class-mla-thumbnail-generation.php:554
|
5647 |
Â
msgid "Existing Items"
|
5648 |
Â
msgstr ""
|
5649 |
Â
|
5650 |
+
#: includes/class-mla-thumbnail-generation.php:556
|
5651 |
Â
msgid "Ignore"
|
5652 |
Â
msgstr ""
|
5653 |
Â
|
5654 |
+
#: includes/class-mla-thumbnail-generation.php:559
|
5655 |
Â
msgid "Suffix"
|
5656 |
Â
msgstr ""
|
5657 |
Â
|
5671 |
Â
msgid " WPML Media is not active."
|
5672 |
Â
msgstr ""
|
5673 |
Â
|
Â
|
|
5674 |
Â
#: includes/class-mla-wpml-support.php:1688
|
5675 |
Â
#, php-format
|
5676 |
Â
msgid ""
|
5704 |
Â
msgid "You must resolve these conflicts before this plugin can safely load."
|
5705 |
Â
msgstr ""
|
5706 |
Â
|
Â
|
|
5707 |
Â
#: index.php:46
|
5708 |
Â
msgid ""
|
5709 |
Â
"Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
|
languages/media-library-assistant-en_US.po
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
Â
msgid ""
|
2 |
Â
msgstr ""
|
3 |
Â
"Project-Id-Version: Media Library Assistant\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
Â
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
Â
"MIME-Version: 1.0\n"
|
8 |
Â
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
Â
"Content-Transfer-Encoding: 8bit\n"
|
10 |
-
"X-Generator: Poedit 1.8.
|
11 |
Â
"X-Poedit-Basepath: ..\n"
|
12 |
Â
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
13 |
Â
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
@@ -19,54 +19,12 @@ msgstr ""
|
|
19 |
Â
"X-Poedit-SearchPath-1: tests\n"
|
20 |
Â
"X-Poedit-SearchPath-2: index.php\n"
|
21 |
Â
|
22 |
-
#. translators: Name of the plugin/theme
|
23 |
Â
msgid "Media Library Assistant"
|
24 |
Â
msgstr ""
|
25 |
Â
|
26 |
Â
msgid "Assistant"
|
27 |
Â
msgstr ""
|
28 |
Â
|
29 |
-
#. translators: 1: ERROR tag 2: path and file name
|
30 |
-
#, php-format
|
31 |
-
msgctxt "error_log"
|
32 |
-
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
33 |
-
msgstr ""
|
34 |
-
|
35 |
-
msgid "ERROR"
|
36 |
-
msgstr ""
|
37 |
-
|
38 |
-
#. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
|
39 |
-
#, php-format
|
40 |
-
msgctxt "error_log"
|
41 |
-
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#. translators: 1: ERROR tag 2: raw_mime_type
|
45 |
-
#, php-format
|
46 |
-
msgid "%1$s: Bad specification part \"%2$s\""
|
47 |
-
msgstr ""
|
48 |
-
|
49 |
-
#. translators: 1: ERROR tag 2: option, e.g., any, match, null
|
50 |
-
#, php-format
|
51 |
-
msgid "%1$s: Bad specification option \"%2$s\""
|
52 |
-
msgstr ""
|
53 |
-
|
54 |
-
#. translators: 1: ERROR tag 2: prefix, e.g., custom
|
55 |
-
#, php-format
|
56 |
-
msgid "%1$s: Bad specification prefix \"%2$s\""
|
57 |
-
msgstr ""
|
58 |
-
|
59 |
-
msgid "Most Used"
|
60 |
-
msgstr ""
|
61 |
-
|
62 |
-
#. translators: %s: add new taxonomy label
|
63 |
-
#, php-format
|
64 |
-
msgid "+ %s"
|
65 |
-
msgstr ""
|
66 |
-
|
67 |
-
msgid "Search"
|
68 |
-
msgstr ""
|
69 |
-
|
70 |
Â
msgid "Title"
|
71 |
Â
msgstr ""
|
72 |
Â
|
@@ -94,11 +52,12 @@ msgstr ""
|
|
94 |
Â
msgid "Draft"
|
95 |
Â
msgstr ""
|
96 |
Â
|
97 |
-
#. translators: date format in table columns, see http://php.net/date
|
98 |
-
#. translators: format for upload/last modified date
|
99 |
Â
msgid "Y/m/d"
|
100 |
Â
msgstr ""
|
101 |
Â
|
Â
|
|
Â
|
|
Â
|
|
102 |
Â
msgid "No post ID found"
|
103 |
Â
msgstr ""
|
104 |
Â
|
@@ -532,7 +491,6 @@ msgstr ""
|
|
532 |
Â
msgid "Alignment"
|
533 |
Â
msgstr ""
|
534 |
Â
|
535 |
-
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
536 |
Â
#, php-format
|
537 |
Â
msgid ""
|
538 |
Â
"Select a value for the default %1$s option in the Attachment Display "
|
@@ -604,7 +562,6 @@ msgstr ""
|
|
604 |
Â
msgid "Style Template"
|
605 |
Â
msgstr ""
|
606 |
Â
|
607 |
-
#. translators: 1: template type 2: shortcode
|
608 |
Â
#, php-format
|
609 |
Â
msgid "Select the default %1$s for your %2$s shortcodes."
|
610 |
Â
msgstr ""
|
@@ -700,22 +657,12 @@ msgstr ""
|
|
700 |
Â
msgid "Enable custom field mapping when adding new media"
|
701 |
Â
msgstr ""
|
702 |
Â
|
703 |
-
msgid ""
|
704 |
-
"Check this option to enable mapping when uploading new media (attachments)."
|
705 |
-
"<br> Click Save Changes at the bottom of the screen if you change "
|
706 |
-
"this option.<br> Does NOT affect the operation of the \"Map\" "
|
707 |
-
"buttons on the bulk edit, single edit and settings screens."
|
708 |
Â
msgstr ""
|
709 |
Â
|
710 |
Â
msgid "Enable custom field mapping when updating media metadata"
|
711 |
Â
msgstr ""
|
712 |
Â
|
713 |
-
msgid ""
|
714 |
-
"Check this option to enable mapping when media (attachments) metadata is "
|
715 |
-
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
716 |
-
"functions are used."
|
717 |
-
msgstr ""
|
718 |
-
|
719 |
Â
msgid ""
|
720 |
Â
"Update the custom field mapping values above, then click Save Changes to "
|
721 |
Â
"make the updates permanent.<br>You can also make temporary updates and click "
|
@@ -735,6 +682,12 @@ msgstr ""
|
|
735 |
Â
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
736 |
Â
msgstr ""
|
737 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
738 |
Â
msgid ""
|
739 |
Â
"Update the standard field mapping values above, then click <strong>Save "
|
740 |
Â
"Changes</strong> to make the updates permanent.<br>You can also make "
|
@@ -939,31 +892,58 @@ msgid ""
|
|
939 |
Â
"the existing MLA_DEBUG_LEVEL value."
|
940 |
Â
msgstr ""
|
941 |
Â
|
942 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
943 |
Â
#, php-format
|
944 |
Â
msgctxt "error_log"
|
945 |
Â
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
946 |
Â
msgstr ""
|
947 |
Â
|
948 |
-
#. translators: 1: ERROR tag 2: source offset 3: nest level
|
949 |
Â
#, php-format
|
950 |
Â
msgctxt "error_log"
|
951 |
Â
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
952 |
Â
msgstr ""
|
953 |
Â
|
954 |
-
#. translators: 1: ERROR tag 2: dictionary excerpt
|
955 |
Â
#, php-format
|
956 |
Â
msgctxt "error_log"
|
957 |
Â
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
958 |
Â
msgstr ""
|
959 |
Â
|
960 |
-
#. translators: 1: ERROR tag 2: entry name 3: value excerpt
|
961 |
Â
#, php-format
|
962 |
Â
msgctxt "error_log"
|
963 |
Â
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
964 |
Â
msgstr ""
|
965 |
Â
|
966 |
-
#. translators: 1: ERROR tag 2: path and file
|
967 |
Â
#, php-format
|
968 |
Â
msgctxt "error_log"
|
969 |
Â
msgid "%1$s: File \"%2$s\", startxref not found."
|
@@ -1049,13 +1029,11 @@ msgctxt "list_table_column"
|
|
1049 |
Â
msgid "Attached to"
|
1050 |
Â
msgstr ""
|
1051 |
Â
|
1052 |
-
#. translators: 1: ERROR tag 2: function name 3: non-array value
|
1053 |
Â
#, php-format
|
1054 |
Â
msgctxt "error_log"
|
1055 |
Â
msgid "%1$s: %2$s non-array \"%3$s\""
|
1056 |
Â
msgstr ""
|
1057 |
Â
|
1058 |
-
#. translators: 1: DEBUG tag 2: query filter details
|
1059 |
Â
#, php-format
|
1060 |
Â
msgctxt "error_log"
|
1061 |
Â
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
@@ -1064,49 +1042,41 @@ msgstr ""
|
|
1064 |
Â
msgid "DEBUG"
|
1065 |
Â
msgstr ""
|
1066 |
Â
|
1067 |
-
#. translators: 1: DEBUG tag 2: query details
|
1068 |
Â
#, php-format
|
1069 |
Â
msgctxt "error_log"
|
1070 |
Â
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1071 |
Â
msgstr ""
|
1072 |
Â
|
1073 |
-
#. translators: 1: DEBUG tag 2: SQL statement
|
1074 |
Â
#, php-format
|
1075 |
Â
msgctxt "error_log"
|
1076 |
Â
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1077 |
Â
msgstr ""
|
1078 |
Â
|
1079 |
-
#. translators: 1: DEBUG tag 2: search filter details
|
1080 |
Â
#, php-format
|
1081 |
Â
msgctxt "error_log"
|
1082 |
Â
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1083 |
Â
msgstr ""
|
1084 |
Â
|
1085 |
-
#. translators: 1: DEBUG tag 2: where filter details
|
1086 |
Â
#, php-format
|
1087 |
Â
msgctxt "error_log"
|
1088 |
Â
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1089 |
Â
msgstr ""
|
1090 |
Â
|
1091 |
-
#. translators: 1: DEBUG tag 2: join filter details
|
1092 |
Â
#, php-format
|
1093 |
Â
msgctxt "error_log"
|
1094 |
Â
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1095 |
Â
msgstr ""
|
1096 |
Â
|
1097 |
-
#. translators: 1: DEBUG tag 2: orderby details details
|
1098 |
Â
#, php-format
|
1099 |
Â
msgctxt "error_log"
|
1100 |
Â
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1101 |
Â
msgstr ""
|
1102 |
Â
|
1103 |
-
#. translators: 1: DEBUG tag 2: SQL clauses
|
1104 |
Â
#, php-format
|
1105 |
Â
msgctxt "error_log"
|
1106 |
Â
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1107 |
Â
msgstr ""
|
1108 |
Â
|
1109 |
-
#. translators: 1: DEBUG tag 2: SQL clauses
|
1110 |
Â
#, php-format
|
1111 |
Â
msgctxt "error_log"
|
1112 |
Â
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
@@ -1127,32 +1097,27 @@ msgstr ""
|
|
1127 |
Â
msgid "INVALID PARENT"
|
1128 |
Â
msgstr ""
|
1129 |
Â
|
1130 |
-
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
1131 |
Â
#, php-format
|
1132 |
Â
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
1133 |
Â
msgstr ""
|
1134 |
Â
|
1135 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1136 |
Â
#, php-format
|
1137 |
Â
msgctxt "error_log"
|
1138 |
Â
msgid ""
|
1139 |
Â
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1140 |
Â
msgstr ""
|
1141 |
Â
|
1142 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1143 |
Â
#, php-format
|
1144 |
Â
msgctxt "error_log"
|
1145 |
Â
msgid ""
|
1146 |
Â
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1147 |
Â
msgstr ""
|
1148 |
Â
|
1149 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1150 |
Â
#, php-format
|
1151 |
Â
msgctxt "error_log"
|
1152 |
Â
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1153 |
Â
msgstr ""
|
1154 |
Â
|
1155 |
-
#. translators: 1: ERROR tag 2: template string
|
1156 |
Â
#, php-format
|
1157 |
Â
msgctxt "error_log"
|
1158 |
Â
msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
|
@@ -1161,19 +1126,16 @@ msgstr ""
|
|
1161 |
Â
msgid "Test; no closing parenthesis "
|
1162 |
Â
msgstr ""
|
1163 |
Â
|
1164 |
-
#. translators: 1: ERROR tag 2: node type, e.g., template
|
1165 |
Â
#, php-format
|
1166 |
Â
msgctxt "error_log"
|
1167 |
Â
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1168 |
Â
msgstr ""
|
1169 |
Â
|
1170 |
-
#. translators: 1: ERROR tag 2: node type, e.g., template
|
1171 |
Â
#, php-format
|
1172 |
Â
msgctxt "error_log"
|
1173 |
Â
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1174 |
Â
msgstr ""
|
1175 |
Â
|
1176 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1177 |
Â
#, php-format
|
1178 |
Â
msgctxt "error_log"
|
1179 |
Â
msgid ""
|
@@ -1181,13 +1143,11 @@ msgid ""
|
|
1181 |
Â
"\"."
|
1182 |
Â
msgstr ""
|
1183 |
Â
|
1184 |
-
#. translators: 1: ERROR tag 2: post ID
|
1185 |
Â
#, php-format
|
1186 |
Â
msgctxt "error_log"
|
1187 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1188 |
Â
msgstr ""
|
1189 |
Â
|
1190 |
-
#. translators: 1: ERROR tag 2: post ID 3: post_type
|
1191 |
Â
#, php-format
|
1192 |
Â
msgctxt "error_log"
|
1193 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
@@ -1207,49 +1167,38 @@ msgstr ""
|
|
1207 |
Â
msgid "No"
|
1208 |
Â
msgstr ""
|
1209 |
Â
|
1210 |
-
#. translators: 1: meta_key
|
1211 |
Â
#, php-format
|
1212 |
Â
msgid "Deleting %1$s"
|
1213 |
Â
msgstr ""
|
1214 |
Â
|
1215 |
-
#. translators: 1: ERROR tag 2: meta_key
|
1216 |
Â
#, php-format
|
1217 |
Â
msgid "%1$s: meta:%2$s not found"
|
1218 |
Â
msgstr ""
|
1219 |
Â
|
1220 |
-
#. translators: 1: meta_key 2: meta_value
|
1221 |
-
#. translators: 1: meta_key 2: new_value
|
1222 |
-
#. translators: 1: meta_key 2: meta_value
|
1223 |
Â
#, php-format
|
1224 |
Â
msgid "Adding %1$s = %2$s"
|
1225 |
Â
msgstr ""
|
1226 |
Â
|
1227 |
-
#. translators: 1: ERROR tag 2: meta_key
|
1228 |
Â
#, php-format
|
1229 |
Â
msgid "%1$s: Adding meta:%2$s; not found"
|
1230 |
Â
msgstr ""
|
1231 |
Â
|
1232 |
-
#. translators: 1: meta_key
|
1233 |
Â
#, php-format
|
1234 |
Â
msgid "Deleting Null meta:%1$s"
|
1235 |
Â
msgstr ""
|
1236 |
Â
|
1237 |
-
#. translators: 1: element name 2: old_value 3: new_value
|
1238 |
Â
#, php-format
|
1239 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1240 |
Â
msgstr ""
|
1241 |
Â
|
1242 |
-
#. translators: 1: ERROR tag 2: meta_key
|
1243 |
Â
#, php-format
|
1244 |
Â
msgid "%1$s: Changing meta:%2$s; not found"
|
1245 |
Â
msgstr ""
|
1246 |
Â
|
1247 |
-
#. translators: 1: meta_key
|
1248 |
Â
#, php-format
|
1249 |
Â
msgid "Deleting old %1$s values"
|
1250 |
Â
msgstr ""
|
1251 |
Â
|
1252 |
-
#. translators: 1: meta_key 2: old_value 3: new_value 4: update count
|
1253 |
Â
#, php-format
|
1254 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1255 |
Â
msgstr ""
|
@@ -1257,22 +1206,18 @@ msgstr ""
|
|
1257 |
Â
msgid "Could not retrieve Attachment."
|
1258 |
Â
msgstr ""
|
1259 |
Â
|
1260 |
-
#. translators: 1: ERROR tag 2: old_value
|
1261 |
Â
#, php-format
|
1262 |
Â
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1263 |
Â
msgstr ""
|
1264 |
Â
|
1265 |
-
#. translators: 1: old_value
|
1266 |
Â
#, php-format
|
1267 |
Â
msgid "Deleting ALT Text, was \"%1$s\""
|
1268 |
Â
msgstr ""
|
1269 |
Â
|
1270 |
-
#. translators: 1: ERROR tag 2: old_value
|
1271 |
Â
#, php-format
|
1272 |
Â
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1273 |
Â
msgstr ""
|
1274 |
Â
|
1275 |
-
#. translators: 1: ERROR tag 2: old_value 3: new_value
|
1276 |
Â
#, php-format
|
1277 |
Â
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1278 |
Â
msgstr ""
|
@@ -1292,6 +1237,14 @@ msgstr ""
|
|
1292 |
Â
msgid "Pings"
|
1293 |
Â
msgstr ""
|
1294 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1295 |
Â
msgid "Adding"
|
1296 |
Â
msgstr ""
|
1297 |
Â
|
@@ -1304,27 +1257,18 @@ msgstr ""
|
|
1304 |
Â
msgid "Ignoring"
|
1305 |
Â
msgstr ""
|
1306 |
Â
|
1307 |
-
#. translators: 1: action_name, 2: taxonomy
|
1308 |
Â
#, php-format
|
1309 |
Â
msgid "%1$s \"%2$s\" terms"
|
1310 |
Â
msgstr ""
|
1311 |
Â
|
1312 |
-
#. translators: 1: taxonomy
|
1313 |
-
#, php-format
|
1314 |
-
msgid "You cannot assign \"%1$s\" terms"
|
1315 |
-
msgstr ""
|
1316 |
-
|
1317 |
-
#. translators: 1: post ID
|
1318 |
Â
#, php-format
|
1319 |
Â
msgid "Item %1$d, no changes detected."
|
1320 |
Â
msgstr ""
|
1321 |
Â
|
1322 |
-
#. translators: 1: post ID
|
1323 |
Â
#, php-format
|
1324 |
Â
msgid "Item %1$d updated."
|
1325 |
Â
msgstr ""
|
1326 |
Â
|
1327 |
-
#. translators: 1: ERROR tag 2: post ID
|
1328 |
Â
#, php-format
|
1329 |
Â
msgid "%1$s: Item %2$d update failed."
|
1330 |
Â
msgstr ""
|
@@ -1392,7 +1336,6 @@ msgstr ""
|
|
1392 |
Â
msgid "IPTC/EXIF mapping updated."
|
1393 |
Â
msgstr ""
|
1394 |
Â
|
1395 |
-
#. translators: date_i18n format for last modified date and time
|
1396 |
Â
msgid "M j, Y @ G:i"
|
1397 |
Â
msgstr ""
|
1398 |
Â
|
@@ -1417,7 +1360,6 @@ msgstr ""
|
|
1417 |
Â
msgid "Attachment Metadata"
|
1418 |
Â
msgstr ""
|
1419 |
Â
|
1420 |
-
#. translators: 1: ERROR tag 2: function name 3: template key
|
1421 |
Â
#, php-format
|
1422 |
Â
msgctxt "error_log"
|
1423 |
Â
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
@@ -1439,6 +1381,10 @@ msgstr ""
|
|
1439 |
Â
msgid "All"
|
1440 |
Â
msgstr ""
|
1441 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1442 |
Â
msgid "List View"
|
1443 |
Â
msgstr ""
|
1444 |
Â
|
@@ -1448,7 +1394,6 @@ msgstr ""
|
|
1448 |
Â
msgid "Not Supported"
|
1449 |
Â
msgstr ""
|
1450 |
Â
|
1451 |
-
#. translators: 1: column_name 2: column_values
|
1452 |
Â
#, php-format
|
1453 |
Â
msgid "column_default: %1$s, %2$s"
|
1454 |
Â
msgstr ""
|
@@ -1504,12 +1449,10 @@ msgstr ""
|
|
1504 |
Â
msgid "Unpublished"
|
1505 |
Â
msgstr ""
|
1506 |
Â
|
1507 |
-
#. translators: 1: upload/last modified date and time
|
1508 |
Â
#, php-format
|
1509 |
Â
msgid "%1$s from now"
|
1510 |
Â
msgstr ""
|
1511 |
Â
|
1512 |
-
#. translators: 1: upload/last modified date and time
|
1513 |
Â
#, php-format
|
1514 |
Â
msgid "%1$s ago"
|
1515 |
Â
msgstr ""
|
@@ -1571,7 +1514,6 @@ msgid_plural "%d items permanently deleted."
|
|
1571 |
Â
msgstr[0] ""
|
1572 |
Â
msgstr[1] ""
|
1573 |
Â
|
1574 |
-
#. translators: 1: post ID
|
1575 |
Â
#, php-format
|
1576 |
Â
msgid "Item %1$d moved to Trash."
|
1577 |
Â
msgstr ""
|
@@ -1582,7 +1524,6 @@ msgstr ""
|
|
1582 |
Â
msgid "You are not allowed to edit Attachment: "
|
1583 |
Â
msgstr ""
|
1584 |
Â
|
1585 |
-
#. translators: 1: ERROR tag 2: bulk action
|
1586 |
Â
#, php-format
|
1587 |
Â
msgid "%1$s: Unknown bulk action %2$s"
|
1588 |
Â
msgstr ""
|
@@ -1590,7 +1531,6 @@ msgstr ""
|
|
1590 |
Â
msgid "no changes detected"
|
1591 |
Â
msgstr ""
|
1592 |
Â
|
1593 |
-
#. translators: 1: action name, e.g., edit
|
1594 |
Â
#, php-format
|
1595 |
Â
msgid "Bulk Action %1$s - no items selected."
|
1596 |
Â
msgstr ""
|
@@ -1598,7 +1538,6 @@ msgstr ""
|
|
1598 |
Â
msgid "You do not have permission to manage attachments."
|
1599 |
Â
msgstr ""
|
1600 |
Â
|
1601 |
-
#. translators: 1: number of items
|
1602 |
Â
#, php-format
|
1603 |
Â
msgctxt "deleted items"
|
1604 |
Â
msgid "%s item deleted."
|
@@ -1612,8 +1551,6 @@ msgstr ""
|
|
1612 |
Â
msgid "Empty Terms Search; ignored"
|
1613 |
Â
msgstr ""
|
1614 |
Â
|
1615 |
-
#. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
|
1616 |
-
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
1617 |
Â
#, php-format
|
1618 |
Â
msgid "Unknown mla_admin_action - \"%1$s\""
|
1619 |
Â
msgstr ""
|
@@ -1651,12 +1588,10 @@ msgstr ""
|
|
1651 |
Â
msgid "You are not allowed to delete this item."
|
1652 |
Â
msgstr ""
|
1653 |
Â
|
1654 |
-
#. translators: 1: ERROR tag 2: post ID
|
1655 |
Â
#, php-format
|
1656 |
Â
msgid "%1$s: Item %2$d could NOT be deleted."
|
1657 |
Â
msgstr ""
|
1658 |
Â
|
1659 |
-
#. translators: 1: post ID
|
1660 |
Â
#, php-format
|
1661 |
Â
msgid "Item %1$d permanently deleted."
|
1662 |
Â
msgstr ""
|
@@ -1664,12 +1599,10 @@ msgstr ""
|
|
1664 |
Â
msgid "You are not allowed to move this item out of the Trash."
|
1665 |
Â
msgstr ""
|
1666 |
Â
|
1667 |
-
#. translators: 1: ERROR tag 2: post ID
|
1668 |
Â
#, php-format
|
1669 |
Â
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
1670 |
Â
msgstr ""
|
1671 |
Â
|
1672 |
-
#. translators: 1: post ID
|
1673 |
Â
#, php-format
|
1674 |
Â
msgid "Item %1$d restored from Trash."
|
1675 |
Â
msgstr ""
|
@@ -1677,7 +1610,6 @@ msgstr ""
|
|
1677 |
Â
msgid "You are not allowed to move this item to the Trash."
|
1678 |
Â
msgstr ""
|
1679 |
Â
|
1680 |
-
#. translators: 1: ERROR tag 2: post ID
|
1681 |
Â
#, php-format
|
1682 |
Â
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
1683 |
Â
msgstr ""
|
@@ -1688,9 +1620,6 @@ msgstr ""
|
|
1688 |
Â
msgid "Tags"
|
1689 |
Â
msgstr ""
|
1690 |
Â
|
1691 |
-
#. translators: %s: add new taxonomy label
|
1692 |
-
#. translators: %s: add new Upload MIME Type
|
1693 |
-
#. translators: %s: add new View
|
1694 |
Â
#, php-format
|
1695 |
Â
msgid "Add New %1$s"
|
1696 |
Â
msgstr ""
|
@@ -1701,7 +1630,6 @@ msgstr ""
|
|
1701 |
Â
msgid "Show all dates"
|
1702 |
Â
msgstr ""
|
1703 |
Â
|
1704 |
-
#. translators: 1: month name, 2: 4-digit year
|
1705 |
Â
#, php-format
|
1706 |
Â
msgid "%1$s %2$d"
|
1707 |
Â
msgstr ""
|
@@ -1804,7 +1732,6 @@ msgstr ""
|
|
1804 |
Â
msgid "Ignoring specification for Post MIME Type; using slug"
|
1805 |
Â
msgstr ""
|
1806 |
Â
|
1807 |
-
#. translators: 1: element name 2: bad_value 3: good_value
|
1808 |
Â
#, php-format
|
1809 |
Â
msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
|
1810 |
Â
msgstr ""
|
@@ -1812,42 +1739,34 @@ msgstr ""
|
|
1812 |
Â
msgid "Slug"
|
1813 |
Â
msgstr ""
|
1814 |
Â
|
1815 |
-
#. translators: 1: ERROR tag 2: slug
|
1816 |
Â
#, php-format
|
1817 |
Â
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
1818 |
Â
msgstr ""
|
1819 |
Â
|
1820 |
-
#. translators: 1: slug
|
1821 |
Â
#, php-format
|
1822 |
Â
msgid "Edit view \"%1$s\"; added"
|
1823 |
Â
msgstr ""
|
1824 |
Â
|
1825 |
-
#. translators: 1: element name 2: bad_value 3: good_value
|
1826 |
Â
#, php-format
|
1827 |
Â
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
1828 |
Â
msgstr ""
|
1829 |
Â
|
1830 |
-
#. translators: 1: slug
|
1831 |
Â
#, php-format
|
1832 |
Â
msgid "Edit view \"%1$s\"; no changes detected"
|
1833 |
Â
msgstr ""
|
1834 |
Â
|
1835 |
-
#. translators: 1: slug
|
1836 |
Â
#, php-format
|
1837 |
Â
msgid "Edit view \"%1$s\"; updated"
|
1838 |
Â
msgstr ""
|
1839 |
Â
|
1840 |
-
#. translators: 1: slug
|
1841 |
Â
#, php-format
|
1842 |
Â
msgid "View \"%1$s\" reverted to standard"
|
1843 |
Â
msgstr ""
|
1844 |
Â
|
1845 |
-
#. translators: 1: slug
|
1846 |
Â
#, php-format
|
1847 |
Â
msgid "View \"%1$s\" deleted"
|
1848 |
Â
msgstr ""
|
1849 |
Â
|
1850 |
-
#. translators: 1: ERROR tag 2: slug
|
1851 |
Â
#, php-format
|
1852 |
Â
msgid "%1$s: Did not find view \"%2$s\""
|
1853 |
Â
msgstr ""
|
@@ -1904,7 +1823,6 @@ msgstr ""
|
|
1904 |
Â
msgid "Extension"
|
1905 |
Â
msgstr ""
|
1906 |
Â
|
1907 |
-
#. translators: 1: ERROR tag 2: slug
|
1908 |
Â
#, php-format
|
1909 |
Â
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
1910 |
Â
msgstr ""
|
@@ -1912,12 +1830,10 @@ msgstr ""
|
|
1912 |
Â
msgid "MIME type is required"
|
1913 |
Â
msgstr ""
|
1914 |
Â
|
1915 |
-
#. translators: 1: ERROR tag 2: clean_mime_type
|
1916 |
Â
#, php-format
|
1917 |
Â
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
1918 |
Â
msgstr ""
|
1919 |
Â
|
1920 |
-
#. translators: 1: slug
|
1921 |
Â
#, php-format
|
1922 |
Â
msgid "Upload MIME Type \"%1$s\"; added"
|
1923 |
Â
msgstr ""
|
@@ -1925,32 +1841,26 @@ msgstr ""
|
|
1925 |
Â
msgid "Cannot update Upload MIME Types"
|
1926 |
Â
msgstr ""
|
1927 |
Â
|
1928 |
-
#. translators: 1: ERROR tag 2: slug
|
1929 |
Â
#, php-format
|
1930 |
Â
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
1931 |
Â
msgstr ""
|
1932 |
Â
|
1933 |
-
#. translators: 1: slug
|
1934 |
Â
#, php-format
|
1935 |
Â
msgid "Edit type \"%1$s\"; no changes detected"
|
1936 |
Â
msgstr ""
|
1937 |
Â
|
1938 |
-
#. translators: 1: slug
|
1939 |
Â
#, php-format
|
1940 |
Â
msgid "Edit type \"%1$s\"; updated"
|
1941 |
Â
msgstr ""
|
1942 |
Â
|
1943 |
-
#. translators: 1: slug
|
1944 |
Â
#, php-format
|
1945 |
Â
msgid "Upload MIME Type \"%1$s\"; reverted to standard"
|
1946 |
Â
msgstr ""
|
1947 |
Â
|
1948 |
-
#. translators: 1: slug
|
1949 |
Â
#, php-format
|
1950 |
Â
msgid "Upload MIME Type \"%1$s\"; deleted"
|
1951 |
Â
msgstr ""
|
1952 |
Â
|
1953 |
-
#. translators: 1: ERROR tag 2: slug
|
1954 |
Â
#, php-format
|
1955 |
Â
msgid "%1$s: Did not find Upload type \"%2$s\""
|
1956 |
Â
msgstr ""
|
@@ -2016,7 +1926,6 @@ msgstr ""
|
|
2016 |
Â
msgid "Attachments"
|
2017 |
Â
msgstr ""
|
2018 |
Â
|
2019 |
-
#. translators: 1: ERROR tag 2: taxonomy 3: error message
|
2020 |
Â
#, php-format
|
2021 |
Â
msgctxt "error_log"
|
2022 |
Â
msgid ""
|
@@ -2041,7 +1950,6 @@ msgstr ""
|
|
2041 |
Â
msgid "tpls/mla-option-templates.tpl not found"
|
2042 |
Â
msgstr ""
|
2043 |
Â
|
2044 |
-
#. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
|
2045 |
Â
#, php-format
|
2046 |
Â
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
2047 |
Â
msgstr ""
|
@@ -2070,37 +1978,30 @@ msgstr ""
|
|
2070 |
Â
msgid "Taxonomy"
|
2071 |
Â
msgstr ""
|
2072 |
Â
|
2073 |
-
#. translators: 1: taxonomy name
|
2074 |
Â
#, php-format
|
2075 |
Â
msgid "List Filter ignored; %1$s not supported."
|
2076 |
Â
msgstr ""
|
2077 |
Â
|
2078 |
-
#. translators: 1: taxonomy name
|
2079 |
Â
#, php-format
|
2080 |
Â
msgid "Inline Edit ignored; %1$s not supported."
|
2081 |
Â
msgstr ""
|
2082 |
Â
|
2083 |
-
#. translators: 1: taxonomy name
|
2084 |
Â
#, php-format
|
2085 |
Â
msgid "Term Search ignored; %1$s not supported."
|
2086 |
Â
msgstr ""
|
2087 |
Â
|
2088 |
-
#. translators: 1: taxonomy name
|
2089 |
Â
#, php-format
|
2090 |
Â
msgid "Checklist ignored; %1$s not supported."
|
2091 |
Â
msgstr ""
|
2092 |
Â
|
2093 |
-
#. translators: 1: taxonomy name
|
2094 |
Â
#, php-format
|
2095 |
Â
msgid "Checked On Top ignored; %1$s not supported."
|
2096 |
Â
msgstr ""
|
2097 |
Â
|
2098 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
2099 |
Â
#, php-format
|
2100 |
Â
msgid "Update custom %1$s"
|
2101 |
Â
msgstr ""
|
2102 |
Â
|
2103 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
2104 |
Â
#, php-format
|
2105 |
Â
msgid "Reset custom %1$s"
|
2106 |
Â
msgstr ""
|
@@ -2129,27 +2030,22 @@ msgstr ""
|
|
2129 |
Â
msgid "Template (see below)"
|
2130 |
Â
msgstr ""
|
2131 |
Â
|
2132 |
-
#. translators: 1: ERROR tag 2: custom field name
|
2133 |
Â
#, php-format
|
2134 |
Â
msgid "%1$s: New field %2$s already exists."
|
2135 |
Â
msgstr ""
|
2136 |
Â
|
2137 |
-
#. translators: 1: custom field name
|
2138 |
Â
#, php-format
|
2139 |
Â
msgid "Adding new field %1$s."
|
2140 |
Â
msgstr ""
|
2141 |
Â
|
2142 |
-
#. translators: 1: custom field name
|
2143 |
Â
#, php-format
|
2144 |
Â
msgid "Adding new rule for %1$s."
|
2145 |
Â
msgstr ""
|
2146 |
Â
|
2147 |
-
#. translators: 1: custom field name
|
2148 |
Â
#, php-format
|
2149 |
Â
msgid "Deleting rule for %1$s."
|
2150 |
Â
msgstr ""
|
2151 |
Â
|
2152 |
-
#. translators: 1: custom field name 2: attribute 3: old value 4: new value
|
2153 |
Â
#, php-format
|
2154 |
Â
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2155 |
Â
msgstr ""
|
@@ -2163,7 +2059,6 @@ msgstr ""
|
|
2163 |
Â
msgid "Keep to Replace"
|
2164 |
Â
msgstr ""
|
2165 |
Â
|
2166 |
-
#. translators: 1: custom field name 2: attribute 3: old value 'to' new value
|
2167 |
Â
#, php-format
|
2168 |
Â
msgid "%1$s changing %2$s value from %3$s."
|
2169 |
Â
msgstr ""
|
@@ -2270,7 +2165,6 @@ msgstr ""
|
|
2270 |
Â
msgid "Custom field mapping settings reset failed."
|
2271 |
Â
msgstr ""
|
2272 |
Â
|
2273 |
-
#. translators: 1: ERROR tag 2: custom field name
|
2274 |
Â
#, php-format
|
2275 |
Â
msgid "%1$s: No old values for %2$s."
|
2276 |
Â
msgstr ""
|
@@ -2302,12 +2196,10 @@ msgstr ""
|
|
2302 |
Â
msgid "EXIF/Template Value"
|
2303 |
Â
msgstr ""
|
2304 |
Â
|
2305 |
-
#. translators: 1: ERROR tag 2: option name
|
2306 |
Â
#, php-format
|
2307 |
Â
msgid "%1$s: Render unknown custom %2$s."
|
2308 |
Â
msgstr ""
|
2309 |
Â
|
2310 |
-
#. translators: 1: ERROR tag 2: option name
|
2311 |
Â
#, php-format
|
2312 |
Â
msgid "%1$s: Update/delete unknown custom %2$s."
|
2313 |
Â
msgstr ""
|
@@ -2321,7 +2213,6 @@ msgstr ""
|
|
2321 |
Â
msgid "IPTC/EXIF no mapping changes detected."
|
2322 |
Â
msgstr ""
|
2323 |
Â
|
2324 |
-
#. translators: 1: field type
|
2325 |
Â
#, php-format
|
2326 |
Â
msgid "%1$s settings saved."
|
2327 |
Â
msgstr ""
|
@@ -2329,7 +2220,6 @@ msgstr ""
|
|
2329 |
Â
msgid "Standard field"
|
2330 |
Â
msgstr ""
|
2331 |
Â
|
2332 |
-
#. translators: 1: ERROR tag 2: field type
|
2333 |
Â
#, php-format
|
2334 |
Â
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
2335 |
Â
msgstr ""
|
@@ -2340,7 +2230,6 @@ msgstr ""
|
|
2340 |
Â
msgid "Custom field"
|
2341 |
Â
msgstr ""
|
2342 |
Â
|
2343 |
-
#. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
|
2344 |
Â
#, php-format
|
2345 |
Â
msgid "%1$s: Reset unknown custom %2$s"
|
2346 |
Â
msgstr ""
|
@@ -2447,7 +2336,6 @@ msgstr ""
|
|
2447 |
Â
msgid "Language Options"
|
2448 |
Â
msgstr ""
|
2449 |
Â
|
2450 |
-
#. translators: 1: - 4: page subheader values
|
2451 |
Â
#, php-format
|
2452 |
Â
msgid ""
|
2453 |
Â
"In this tab you can find a number of options for controlling Polylang-"
|
@@ -2456,7 +2344,6 @@ msgid ""
|
|
2456 |
Â
"make."
|
2457 |
Â
msgstr ""
|
2458 |
Â
|
2459 |
-
#. translators: 1: Documentation hyperlink
|
2460 |
Â
#, php-format
|
2461 |
Â
msgid ""
|
2462 |
Â
"You can find more information about multilingual features in the %1$s "
|
@@ -2481,7 +2368,6 @@ msgstr ""
|
|
2481 |
Â
msgid "Language settings saved."
|
2482 |
Â
msgstr ""
|
2483 |
Â
|
2484 |
-
#. translators: 1: option name
|
2485 |
Â
#, php-format
|
2486 |
Â
msgctxt "message_list"
|
2487 |
Â
msgid "delete_option \"%1$s\""
|
@@ -2511,17 +2397,98 @@ msgstr ""
|
|
2511 |
Â
msgid "No custom field mapping rules to process."
|
2512 |
Â
msgstr ""
|
2513 |
Â
|
2514 |
-
#. translators: 1: field type 2: examined count 3: updated count
|
2515 |
Â
#, php-format
|
2516 |
Â
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2517 |
Â
msgstr ""
|
2518 |
Â
|
2519 |
-
#. translators: 1: field type 2: examined count
|
2520 |
Â
#, php-format
|
2521 |
Â
msgid ""
|
2522 |
Â
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
2523 |
Â
msgstr ""
|
2524 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2525 |
Â
msgid "Custom Field Mapping Progress"
|
2526 |
Â
msgstr ""
|
2527 |
Â
|
@@ -2552,59 +2519,120 @@ msgstr ""
|
|
2552 |
Â
msgid "Custom Field and Attachment Metadata Processing Options"
|
2553 |
Â
msgstr ""
|
2554 |
Â
|
2555 |
-
#. translators: 1: Documentation hyperlink
|
2556 |
-
#, php-format
|
2557 |
Â
msgid ""
|
2558 |
Â
"In this tab you can define the rules for mapping several types of image "
|
2559 |
Â
"metadata to WordPress custom fields. You can also use this screen to define "
|
2560 |
Â
"rules for adding or updating fields within the WordPress-supplied "
|
2561 |
Â
"\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
|
2562 |
-
"field.
|
2563 |
Â
msgstr ""
|
2564 |
Â
|
2565 |
-
msgid "
|
Â
|
|
Â
|
|
Â
|
|
2566 |
Â
msgstr ""
|
2567 |
Â
|
2568 |
-
msgid "
|
2569 |
Â
msgstr ""
|
2570 |
Â
|
2571 |
-
|
2572 |
-
#, php-format
|
2573 |
-
msgid ""
|
2574 |
-
"You can find more information about using the controls in this tab to define "
|
2575 |
-
"mapping rules and apply them in the %1$s section of the Documentation."
|
2576 |
Â
msgstr ""
|
2577 |
Â
|
2578 |
-
msgid "
|
2579 |
Â
msgstr ""
|
2580 |
Â
|
2581 |
-
msgid "
|
2582 |
Â
msgstr ""
|
2583 |
Â
|
2584 |
-
msgid "
|
2585 |
Â
msgstr ""
|
2586 |
Â
|
2587 |
-
|
2588 |
-
#, php-format
|
2589 |
-
msgid ""
|
2590 |
-
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
2591 |
-
"all rule changes and additions at once. <strong>No rule mapping will be "
|
2592 |
-
"performed.</strong>"
|
2593 |
Â
msgstr ""
|
2594 |
Â
|
2595 |
-
|
2596 |
-
|
2597 |
-
|
2598 |
-
"
|
2599 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2600 |
Â
msgstr ""
|
2601 |
Â
|
2602 |
-
#. translators: 1: plugin name
|
2603 |
Â
#, php-format
|
2604 |
Â
msgid "Example plugin \"%1$s\" not found"
|
2605 |
Â
msgstr ""
|
2606 |
Â
|
2607 |
-
#. translators: 1: ERROR tag 2: file type 3: file name 4: error message
|
2608 |
Â
#, php-format
|
2609 |
Â
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
2610 |
Â
msgstr ""
|
@@ -2625,7 +2653,6 @@ msgid ""
|
|
2625 |
Â
"the plugins you must go to the Plugins/Installed Plugins admin submenu."
|
2626 |
Â
msgstr ""
|
2627 |
Â
|
2628 |
-
#. translators: 1: Documentation hyperlink
|
2629 |
Â
#, php-format
|
2630 |
Â
msgid ""
|
2631 |
Â
"You can find more information about using the example plugins in the %1$s "
|
@@ -2651,12 +2678,6 @@ msgstr ""
|
|
2651 |
Â
msgid "Searches Name, Description, File Name and Tags"
|
2652 |
Â
msgstr ""
|
2653 |
Â
|
2654 |
-
#. translators: 1: bulk_action, e.g., delete, edit, restore, trash
|
2655 |
-
#, php-format
|
2656 |
-
msgid "Unknown bulk action %1$s"
|
2657 |
-
msgstr ""
|
2658 |
-
|
2659 |
-
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
2660 |
Â
#, php-format
|
2661 |
Â
msgid "Empty mla_item_ID - \"%1$s\""
|
2662 |
Â
msgstr ""
|
@@ -2689,43 +2710,35 @@ msgstr ""
|
|
2689 |
Â
msgid "View this item"
|
2690 |
Â
msgstr ""
|
2691 |
Â
|
2692 |
-
#. translators: 1: plugin name, 2: WP_Error message
|
2693 |
Â
#, php-format
|
2694 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken. Error: %2$s"
|
2695 |
Â
msgstr ""
|
2696 |
Â
|
2697 |
-
#. translators: 1: plugin name
|
2698 |
Â
#, php-format
|
2699 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken"
|
2700 |
Â
msgstr ""
|
2701 |
Â
|
2702 |
-
#. translators: 1: plugin name, 2: WP_Error message
|
2703 |
Â
#, php-format
|
2704 |
Â
msgid ""
|
2705 |
Â
"Example plugin \"%1$s\" install_package failed; no action taken. Error: %2$s"
|
2706 |
Â
msgstr ""
|
2707 |
Â
|
2708 |
-
#. translators: 1: plugin name, 2: WP_Error message
|
2709 |
Â
#, php-format
|
2710 |
Â
msgid "Example plugin \"%1$s\" remove old single file failed."
|
2711 |
Â
msgstr ""
|
2712 |
Â
|
2713 |
-
#. translators: 1: plugin name
|
2714 |
Â
#, php-format
|
2715 |
Â
msgid "Example plugin \"%1$s\" already installed; no action taken"
|
2716 |
Â
msgstr ""
|
2717 |
Â
|
2718 |
-
#. translators: 1: plugin name
|
2719 |
Â
#, php-format
|
2720 |
Â
msgid "Example plugin \"%1$s\" installed"
|
2721 |
Â
msgstr ""
|
2722 |
Â
|
2723 |
-
#. translators: 1: plugin name
|
2724 |
Â
#, php-format
|
2725 |
Â
msgid "Example plugin \"%1$s\" not installed; no action taken"
|
2726 |
Â
msgstr ""
|
2727 |
Â
|
2728 |
-
#. translators: 1: plugin name
|
2729 |
Â
#, php-format
|
2730 |
Â
msgid "Example plugin \"%1$s\" updated"
|
2731 |
Â
msgstr ""
|
@@ -2733,12 +2746,6 @@ msgstr ""
|
|
2733 |
Â
msgid "Network"
|
2734 |
Â
msgstr ""
|
2735 |
Â
|
2736 |
-
msgid "Active"
|
2737 |
-
msgstr ""
|
2738 |
-
|
2739 |
-
msgid "Inactive"
|
2740 |
-
msgstr ""
|
2741 |
-
|
2742 |
Â
msgctxt "table_view_singular"
|
2743 |
Â
msgid "Installed"
|
2744 |
Â
msgstr ""
|
@@ -2763,7 +2770,6 @@ msgctxt "table_view_plural"
|
|
2763 |
Â
msgid "Uninstalled"
|
2764 |
Â
msgstr ""
|
2765 |
Â
|
2766 |
-
#. translators: 1: ERROR tag 2: field type
|
2767 |
Â
#, php-format
|
2768 |
Â
msgid "%1$s: No %2$s settings to process."
|
2769 |
Â
msgstr ""
|
@@ -2785,6 +2791,12 @@ msgid ""
|
|
2785 |
Â
"click \"Save Changes\" at the bottom of this page."
|
2786 |
Â
msgstr ""
|
2787 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2788 |
Â
msgid "IPTC/EXIF Options documentation"
|
2789 |
Â
msgstr ""
|
2790 |
Â
|
@@ -2800,10 +2812,12 @@ msgstr ""
|
|
2800 |
Â
msgid "Map All Attachments, Taxonomy Terms Now"
|
2801 |
Â
msgstr ""
|
2802 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2803 |
Â
msgid "Map All Attachments, Custom Fields Now"
|
2804 |
Â
msgstr ""
|
2805 |
Â
|
2806 |
-
#. translators: 1: "Save Changes"
|
2807 |
Â
#, php-format
|
2808 |
Â
msgid ""
|
2809 |
Â
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
@@ -2811,7 +2825,6 @@ msgid ""
|
|
2811 |
Â
"performed.</strong>"
|
2812 |
Â
msgstr ""
|
2813 |
Â
|
2814 |
-
#. translators: 1: ERROR tag 2: template type
|
2815 |
Â
#, php-format
|
2816 |
Â
msgid "%1$s: %2$s type or shortcode not specified."
|
2817 |
Â
msgstr ""
|
@@ -2822,32 +2835,26 @@ msgstr ""
|
|
2822 |
Â
msgid "style template"
|
2823 |
Â
msgstr ""
|
2824 |
Â
|
2825 |
-
#. translators: 1: ERROR tag 2: template type 3: old template name
|
2826 |
Â
#, php-format
|
2827 |
Â
msgid "%1$s: Blank %2$s name, reverting to \"%3$s\"."
|
2828 |
Â
msgstr ""
|
2829 |
Â
|
2830 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2831 |
Â
#, php-format
|
2832 |
Â
msgid "%1$s: Reserved %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2833 |
Â
msgstr ""
|
2834 |
Â
|
2835 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2836 |
Â
#, php-format
|
2837 |
Â
msgid "%1$s: Duplicate new %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2838 |
Â
msgstr ""
|
2839 |
Â
|
2840 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name
|
2841 |
Â
#, php-format
|
2842 |
Â
msgid "%1$s: New %2$s \"%3$s\" has no content; not added."
|
2843 |
Â
msgstr ""
|
2844 |
Â
|
2845 |
-
#. translators: 1: field type, 2: new template name
|
2846 |
Â
#, php-format
|
2847 |
Â
msgid "%1$s \"%2$s\" added."
|
2848 |
Â
msgstr ""
|
2849 |
Â
|
2850 |
-
#. translators: 1: field type, 2: old template name, 3: new template name
|
2851 |
Â
#, php-format
|
2852 |
Â
msgid "%1$s \"%2$s\" copied to \"%3$s\"."
|
2853 |
Â
msgstr ""
|
@@ -2858,38 +2865,31 @@ msgstr ""
|
|
2858 |
Â
msgid "markup template name"
|
2859 |
Â
msgstr ""
|
2860 |
Â
|
2861 |
-
#. translators: 1: ERROR tag 2: template type 3: old template name
|
2862 |
Â
#, php-format
|
2863 |
Â
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
2864 |
Â
msgstr ""
|
2865 |
Â
|
2866 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2867 |
Â
#, php-format
|
2868 |
Â
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
2869 |
Â
msgstr ""
|
2870 |
Â
|
2871 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2872 |
Â
#, php-format
|
2873 |
Â
msgid "%1$s: Reserved %2$s \"%3$s\", reverting to \"%4$s\"."
|
2874 |
Â
msgstr ""
|
2875 |
Â
|
2876 |
-
#. translators: 1: template type 2: old template name 3: new template name
|
2877 |
Â
#, php-format
|
2878 |
Â
msgctxt "message_list"
|
2879 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
2880 |
Â
msgstr ""
|
2881 |
Â
|
2882 |
-
#. translators: 1: field type, 2: new template name
|
2883 |
Â
#, php-format
|
2884 |
Â
msgid "%1$s \"%2$s\" updated."
|
2885 |
Â
msgstr ""
|
2886 |
Â
|
2887 |
-
#. translators: 1: field type, 2: template name
|
2888 |
Â
#, php-format
|
2889 |
Â
msgid "%1$s \"%2$s\" no changes detected."
|
2890 |
Â
msgstr ""
|
2891 |
Â
|
2892 |
-
#. translators: 1: field type
|
2893 |
Â
#, php-format
|
2894 |
Â
msgid "%1$s \"%2$s\" deleted."
|
2895 |
Â
msgstr ""
|
@@ -2897,7 +2897,6 @@ msgstr ""
|
|
2897 |
Â
msgid "Shortcodes"
|
2898 |
Â
msgstr ""
|
2899 |
Â
|
2900 |
-
#. translators: 1: field type
|
2901 |
Â
#, php-format
|
2902 |
Â
msgid "%1$s no changes detected."
|
2903 |
Â
msgstr ""
|
@@ -2960,7 +2959,6 @@ msgid ""
|
|
2960 |
Â
"shortcodes."
|
2961 |
Â
msgstr ""
|
2962 |
Â
|
2963 |
-
#. translators: 1: Documentation hyperlink
|
2964 |
Â
#, php-format
|
2965 |
Â
msgid ""
|
2966 |
Â
"You can find more information about shortcode templates and how MLA and "
|
@@ -2980,9 +2978,6 @@ msgstr ""
|
|
2980 |
Â
msgid "Search Templates"
|
2981 |
Â
msgstr ""
|
2982 |
Â
|
2983 |
-
msgid "Search results for"
|
2984 |
-
msgstr ""
|
2985 |
-
|
2986 |
Â
msgctxt "list_table_column"
|
2987 |
Â
msgid "Type"
|
2988 |
Â
msgstr ""
|
@@ -3008,9 +3003,6 @@ msgstr ""
|
|
3008 |
Â
msgid "Delete"
|
3009 |
Â
msgstr ""
|
3010 |
Â
|
3011 |
-
msgid "Any Status"
|
3012 |
-
msgstr ""
|
3013 |
-
|
3014 |
Â
msgid "Default"
|
3015 |
Â
msgstr ""
|
3016 |
Â
|
@@ -3097,7 +3089,6 @@ msgstr ""
|
|
3097 |
Â
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3098 |
Â
msgstr ""
|
3099 |
Â
|
3100 |
-
#. translators: 1: view name/slug
|
3101 |
Â
#, php-format
|
3102 |
Â
msgid "Edit view \"%1$s\" cancelled."
|
3103 |
Â
msgstr ""
|
@@ -3116,7 +3107,6 @@ msgid ""
|
|
3116 |
Â
"extension must be in this list and be active."
|
3117 |
Â
msgstr ""
|
3118 |
Â
|
3119 |
-
#. translators: 1: Documentation hyperlink
|
3120 |
Â
#, php-format
|
3121 |
Â
msgid ""
|
3122 |
Â
"You can find more information about file extensions, MIME types and how "
|
@@ -3243,7 +3233,6 @@ msgid ""
|
|
3243 |
Â
"specifications (e.g. \"*/*ms*\")."
|
3244 |
Â
msgstr ""
|
3245 |
Â
|
3246 |
-
#. translators: 1: Documentation hyperlink
|
3247 |
Â
#, php-format
|
3248 |
Â
msgid ""
|
3249 |
Â
"You can find more information about library views, Post MIME types and how "
|
@@ -3279,10 +3268,12 @@ msgstr ""
|
|
3279 |
Â
msgid "Shortcode templates per page"
|
3280 |
Â
msgstr ""
|
3281 |
Â
|
Â
|
|
Â
|
|
Â
|
|
3282 |
Â
msgid "Plugins per page"
|
3283 |
Â
msgstr ""
|
3284 |
Â
|
3285 |
-
#. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
|
3286 |
Â
#, php-format
|
3287 |
Â
msgctxt "error_log"
|
3288 |
Â
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
@@ -3315,7 +3306,6 @@ msgstr ""
|
|
3315 |
Â
msgid "General Processing Options"
|
3316 |
Â
msgstr ""
|
3317 |
Â
|
3318 |
-
#. translators: 1: - 4: page subheader values
|
3319 |
Â
#, php-format
|
3320 |
Â
msgid ""
|
3321 |
Â
"In this tab you can find a number of options for controlling the "
|
@@ -3342,7 +3332,6 @@ msgstr ""
|
|
3342 |
Â
msgid "Donate"
|
3343 |
Â
msgstr ""
|
3344 |
Â
|
3345 |
-
#. translators: 1: donation hyperlink
|
3346 |
Â
#, php-format
|
3347 |
Â
msgid ""
|
3348 |
Â
"This plugin was inspired by my work on the WordPress web site for our "
|
@@ -3371,7 +3360,6 @@ msgstr ""
|
|
3371 |
Â
msgid "Debug settings saved."
|
3372 |
Â
msgstr ""
|
3373 |
Â
|
3374 |
-
#. translators: 1: ERROR tag 2: file type 3: file name 4: error message
|
3375 |
Â
#, php-format
|
3376 |
Â
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
3377 |
Â
msgstr ""
|
@@ -3379,7 +3367,6 @@ msgstr ""
|
|
3379 |
Â
msgid "Error Log"
|
3380 |
Â
msgstr ""
|
3381 |
Â
|
3382 |
-
#. translators: 1: file name
|
3383 |
Â
#, php-format
|
3384 |
Â
msgid "Error log file (%1$s) not found; click Reset to create it."
|
3385 |
Â
msgstr ""
|
@@ -3390,7 +3377,6 @@ msgstr ""
|
|
3390 |
Â
msgid "Debug Settings"
|
3391 |
Â
msgstr ""
|
3392 |
Â
|
3393 |
-
#. translators: 1: "Save Changes"
|
3394 |
Â
#, php-format
|
3395 |
Â
msgid "Click %1$s to update the %2$s."
|
3396 |
Â
msgstr ""
|
@@ -3404,14 +3390,15 @@ msgstr ""
|
|
3404 |
Â
msgid "Unknown content tab"
|
3405 |
Â
msgstr ""
|
3406 |
Â
|
3407 |
-
|
Â
|
|
Â
|
|
3408 |
Â
#, php-format
|
3409 |
Â
msgid "%s attachment"
|
3410 |
Â
msgid_plural "%s attachments"
|
3411 |
Â
msgstr[0] ""
|
3412 |
Â
msgstr[1] ""
|
3413 |
Â
|
3414 |
-
#. translators: 1: singular/plural number of attachments
|
3415 |
Â
#, php-format
|
3416 |
Â
msgid "Deleted custom field value from %1$s."
|
3417 |
Â
msgstr ""
|
@@ -3419,7 +3406,6 @@ msgstr ""
|
|
3419 |
Â
msgid "No attachments contained this custom field."
|
3420 |
Â
msgstr ""
|
3421 |
Â
|
3422 |
-
#. translators: 1: reference type, e.g., Gallery in
|
3423 |
Â
#, php-format
|
3424 |
Â
msgctxt "message_list"
|
3425 |
Â
msgid "%1$s - references updated."
|
@@ -3448,33 +3434,27 @@ msgstr ""
|
|
3448 |
Â
msgid "ALL settings exported."
|
3449 |
Â
msgstr ""
|
3450 |
Â
|
3451 |
-
#. translators: 1: ERROR tag 2: backup directory name
|
3452 |
Â
#, php-format
|
3453 |
Â
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
3454 |
Â
msgstr ""
|
3455 |
Â
|
3456 |
-
#. translators: 1: ERROR tag 2: backup directory name
|
3457 |
Â
#, php-format
|
3458 |
Â
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
3459 |
Â
msgstr ""
|
3460 |
Â
|
3461 |
-
#. translators: 1: ERROR tag 2: backup file name
|
3462 |
Â
#, php-format
|
3463 |
Â
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
3464 |
Â
msgstr ""
|
3465 |
Â
|
3466 |
-
#. translators: 1: ERROR tag 2: PHP error information
|
3467 |
Â
#, php-format
|
3468 |
Â
msgctxt "error_log"
|
3469 |
Â
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
3470 |
Â
msgstr ""
|
3471 |
Â
|
3472 |
-
#. translators: 1: ERROR tag 2: backup file name 3: error message
|
3473 |
Â
#, php-format
|
3474 |
Â
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
3475 |
Â
msgstr ""
|
3476 |
Â
|
3477 |
-
#. translators: 1: number of option settings
|
3478 |
Â
#, php-format
|
3479 |
Â
msgid "Settings exported; %1$s settings recorded."
|
3480 |
Â
msgstr ""
|
@@ -3488,13 +3468,11 @@ msgstr ""
|
|
3488 |
Â
msgid "The import settings dropdown selection is missing."
|
3489 |
Â
msgstr ""
|
3490 |
Â
|
3491 |
-
#. translators: 1: ERROR tag 2: PHP error information
|
3492 |
Â
#, php-format
|
3493 |
Â
msgctxt "error_log"
|
3494 |
Â
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
3495 |
Â
msgstr ""
|
3496 |
Â
|
3497 |
-
#. translators: 1: ERROR tag 2: backup file name 3: error message
|
3498 |
Â
#, php-format
|
3499 |
Â
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
3500 |
Â
msgstr ""
|
@@ -3507,7 +3485,6 @@ msgctxt "message_list"
|
|
3507 |
Â
msgid "unchanged"
|
3508 |
Â
msgstr ""
|
3509 |
Â
|
3510 |
-
#. translators: 1: number of option settings updated 2: number of option settings unchanged
|
3511 |
Â
#, php-format
|
3512 |
Â
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
3513 |
Â
msgstr ""
|
@@ -3521,6 +3498,15 @@ msgstr ""
|
|
3521 |
Â
msgid "not found"
|
3522 |
Â
msgstr ""
|
3523 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3524 |
Â
msgid "mla_debug empty gallery"
|
3525 |
Â
msgstr ""
|
3526 |
Â
|
@@ -3532,12 +3518,6 @@ msgstr ""
|
|
3532 |
Â
msgid "unknown"
|
3533 |
Â
msgstr ""
|
3534 |
Â
|
3535 |
-
msgid "mla_debug attributes"
|
3536 |
-
msgstr ""
|
3537 |
-
|
3538 |
-
msgid "mla_debug arguments"
|
3539 |
-
msgstr ""
|
3540 |
-
|
3541 |
Â
msgid "mla_debug empty cloud"
|
3542 |
Â
msgstr ""
|
3543 |
Â
|
@@ -3699,7 +3679,6 @@ msgstr ""
|
|
3699 |
Â
msgid "Generate Thumbnails"
|
3700 |
Â
msgstr ""
|
3701 |
Â
|
3702 |
-
#. translators: 1: post ID
|
3703 |
Â
#, php-format
|
3704 |
Â
msgid "Item %1$d"
|
3705 |
Â
msgstr ""
|
@@ -3710,7 +3689,6 @@ msgstr ""
|
|
3710 |
Â
msgid "Featured Image retained."
|
3711 |
Â
msgstr ""
|
3712 |
Â
|
3713 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
3714 |
Â
#, php-format
|
3715 |
Â
msgid "%1$s: %2$sno attached file."
|
3716 |
Â
msgstr ""
|
@@ -3718,22 +3696,18 @@ msgstr ""
|
|
3718 |
Â
msgid "unsupported file type."
|
3719 |
Â
msgstr ""
|
3720 |
Â
|
3721 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
3722 |
Â
#, php-format
|
3723 |
Â
msgid "%1$s: %2$sthumbnail generation failed"
|
3724 |
Â
msgstr ""
|
3725 |
Â
|
3726 |
-
#. translators: 1: Item post ID
|
3727 |
Â
#, php-format
|
3728 |
Â
msgid "%1$sWordPress-style thumbnail generated."
|
3729 |
Â
msgstr ""
|
3730 |
Â
|
3731 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
3732 |
Â
#, php-format
|
3733 |
Â
msgid "%1$s: %2$swp_insert_attachment failed."
|
3734 |
Â
msgstr ""
|
3735 |
Â
|
3736 |
-
#. translators: 1: Item post ID, 2: new thumbnail item ID
|
3737 |
Â
#, php-format
|
3738 |
Â
msgid "%1$sthumbnail generated as new item %2$s."
|
3739 |
Â
msgstr ""
|
@@ -3789,7 +3763,6 @@ msgstr ""
|
|
3789 |
Â
msgid " WPML Media is not active."
|
3790 |
Â
msgstr ""
|
3791 |
Â
|
3792 |
-
#. translators: 1: - 4: page subheader values
|
3793 |
Â
#, php-format
|
3794 |
Â
msgid ""
|
3795 |
Â
"In this tab you can find a number of options for controlling WPML-specific "
|
@@ -3814,7 +3787,6 @@ msgstr ""
|
|
3814 |
Â
msgid "You must resolve these conflicts before this plugin can safely load."
|
3815 |
Â
msgstr ""
|
3816 |
Â
|
3817 |
-
#. translators: Description of the plugin/theme
|
3818 |
Â
msgid ""
|
3819 |
Â
"Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
|
3820 |
Â
"EXIF processing, bulk & quick edit actions and where-used reporting."
|
1 |
Â
msgid ""
|
2 |
Â
msgstr ""
|
3 |
Â
"Project-Id-Version: Media Library Assistant\n"
|
4 |
+
"POT-Creation-Date: 2017-03-18 19:52-0700\n"
|
5 |
+
"PO-Revision-Date: 2017-03-18 19:52-0700\n"
|
6 |
Â
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
Â
"MIME-Version: 1.0\n"
|
8 |
Â
"Content-Type: text/plain; charset=UTF-8\n"
|
9 |
Â
"Content-Transfer-Encoding: 8bit\n"
|
10 |
+
"X-Generator: Poedit 1.8.11\n"
|
11 |
Â
"X-Poedit-Basepath: ..\n"
|
12 |
Â
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
13 |
Â
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
19 |
Â
"X-Poedit-SearchPath-1: tests\n"
|
20 |
Â
"X-Poedit-SearchPath-2: index.php\n"
|
21 |
Â
|
Â
|
|
22 |
Â
msgid "Media Library Assistant"
|
23 |
Â
msgstr ""
|
24 |
Â
|
25 |
Â
msgid "Assistant"
|
26 |
Â
msgstr ""
|
27 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
28 |
Â
msgid "Title"
|
29 |
Â
msgstr ""
|
30 |
Â
|
52 |
Â
msgid "Draft"
|
53 |
Â
msgstr ""
|
54 |
Â
|
Â
|
|
Â
|
|
55 |
Â
msgid "Y/m/d"
|
56 |
Â
msgstr ""
|
57 |
Â
|
58 |
+
msgid "ERROR"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
Â
msgid "No post ID found"
|
62 |
Â
msgstr ""
|
63 |
Â
|
491 |
Â
msgid "Alignment"
|
492 |
Â
msgstr ""
|
493 |
Â
|
Â
|
|
494 |
Â
#, php-format
|
495 |
Â
msgid ""
|
496 |
Â
"Select a value for the default %1$s option in the Attachment Display "
|
562 |
Â
msgid "Style Template"
|
563 |
Â
msgstr ""
|
564 |
Â
|
Â
|
|
565 |
Â
#, php-format
|
566 |
Â
msgid "Select the default %1$s for your %2$s shortcodes."
|
567 |
Â
msgstr ""
|
657 |
Â
msgid "Enable custom field mapping when adding new media"
|
658 |
Â
msgstr ""
|
659 |
Â
|
660 |
+
msgid "See Help menu."
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
661 |
Â
msgstr ""
|
662 |
Â
|
663 |
Â
msgid "Enable custom field mapping when updating media metadata"
|
664 |
Â
msgstr ""
|
665 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
666 |
Â
msgid ""
|
667 |
Â
"Update the custom field mapping values above, then click Save Changes to "
|
668 |
Â
"make the updates permanent.<br>You can also make temporary updates and click "
|
682 |
Â
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
683 |
Â
msgstr ""
|
684 |
Â
|
685 |
+
msgid ""
|
686 |
+
"Check this option to enable mapping when media (attachments) metadata is "
|
687 |
+
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
688 |
+
"functions are used."
|
689 |
+
msgstr ""
|
690 |
+
|
691 |
Â
msgid ""
|
692 |
Â
"Update the standard field mapping values above, then click <strong>Save "
|
693 |
Â
"Changes</strong> to make the updates permanent.<br>You can also make "
|
892 |
Â
"the existing MLA_DEBUG_LEVEL value."
|
893 |
Â
msgstr ""
|
894 |
Â
|
895 |
+
#, php-format
|
896 |
+
msgctxt "error_log"
|
897 |
+
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
898 |
+
msgstr ""
|
899 |
+
|
900 |
+
#, php-format
|
901 |
+
msgctxt "error_log"
|
902 |
+
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
903 |
+
msgstr ""
|
904 |
+
|
905 |
+
#, php-format
|
906 |
+
msgid "%1$s: Bad specification part \"%2$s\""
|
907 |
+
msgstr ""
|
908 |
+
|
909 |
+
#, php-format
|
910 |
+
msgid "%1$s: Bad specification option \"%2$s\""
|
911 |
+
msgstr ""
|
912 |
+
|
913 |
+
#, php-format
|
914 |
+
msgid "%1$s: Bad specification prefix \"%2$s\""
|
915 |
+
msgstr ""
|
916 |
+
|
917 |
+
msgid "Most Used"
|
918 |
+
msgstr ""
|
919 |
+
|
920 |
+
#, php-format
|
921 |
+
msgid "+ %s"
|
922 |
+
msgstr ""
|
923 |
+
|
924 |
+
msgid "Search"
|
925 |
+
msgstr ""
|
926 |
+
|
927 |
Â
#, php-format
|
928 |
Â
msgctxt "error_log"
|
929 |
Â
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
930 |
Â
msgstr ""
|
931 |
Â
|
Â
|
|
932 |
Â
#, php-format
|
933 |
Â
msgctxt "error_log"
|
934 |
Â
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
935 |
Â
msgstr ""
|
936 |
Â
|
Â
|
|
937 |
Â
#, php-format
|
938 |
Â
msgctxt "error_log"
|
939 |
Â
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
940 |
Â
msgstr ""
|
941 |
Â
|
Â
|
|
942 |
Â
#, php-format
|
943 |
Â
msgctxt "error_log"
|
944 |
Â
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
945 |
Â
msgstr ""
|
946 |
Â
|
Â
|
|
947 |
Â
#, php-format
|
948 |
Â
msgctxt "error_log"
|
949 |
Â
msgid "%1$s: File \"%2$s\", startxref not found."
|
1029 |
Â
msgid "Attached to"
|
1030 |
Â
msgstr ""
|
1031 |
Â
|
Â
|
|
1032 |
Â
#, php-format
|
1033 |
Â
msgctxt "error_log"
|
1034 |
Â
msgid "%1$s: %2$s non-array \"%3$s\""
|
1035 |
Â
msgstr ""
|
1036 |
Â
|
Â
|
|
1037 |
Â
#, php-format
|
1038 |
Â
msgctxt "error_log"
|
1039 |
Â
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
1042 |
Â
msgid "DEBUG"
|
1043 |
Â
msgstr ""
|
1044 |
Â
|
Â
|
|
1045 |
Â
#, php-format
|
1046 |
Â
msgctxt "error_log"
|
1047 |
Â
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1048 |
Â
msgstr ""
|
1049 |
Â
|
Â
|
|
1050 |
Â
#, php-format
|
1051 |
Â
msgctxt "error_log"
|
1052 |
Â
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1053 |
Â
msgstr ""
|
1054 |
Â
|
Â
|
|
1055 |
Â
#, php-format
|
1056 |
Â
msgctxt "error_log"
|
1057 |
Â
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1058 |
Â
msgstr ""
|
1059 |
Â
|
Â
|
|
1060 |
Â
#, php-format
|
1061 |
Â
msgctxt "error_log"
|
1062 |
Â
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1063 |
Â
msgstr ""
|
1064 |
Â
|
Â
|
|
1065 |
Â
#, php-format
|
1066 |
Â
msgctxt "error_log"
|
1067 |
Â
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1068 |
Â
msgstr ""
|
1069 |
Â
|
Â
|
|
1070 |
Â
#, php-format
|
1071 |
Â
msgctxt "error_log"
|
1072 |
Â
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1073 |
Â
msgstr ""
|
1074 |
Â
|
Â
|
|
1075 |
Â
#, php-format
|
1076 |
Â
msgctxt "error_log"
|
1077 |
Â
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1078 |
Â
msgstr ""
|
1079 |
Â
|
Â
|
|
1080 |
Â
#, php-format
|
1081 |
Â
msgctxt "error_log"
|
1082 |
Â
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
1097 |
Â
msgid "INVALID PARENT"
|
1098 |
Â
msgstr ""
|
1099 |
Â
|
Â
|
|
1100 |
Â
#, php-format
|
1101 |
Â
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
1102 |
Â
msgstr ""
|
1103 |
Â
|
Â
|
|
1104 |
Â
#, php-format
|
1105 |
Â
msgctxt "error_log"
|
1106 |
Â
msgid ""
|
1107 |
Â
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1108 |
Â
msgstr ""
|
1109 |
Â
|
Â
|
|
1110 |
Â
#, php-format
|
1111 |
Â
msgctxt "error_log"
|
1112 |
Â
msgid ""
|
1113 |
Â
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1114 |
Â
msgstr ""
|
1115 |
Â
|
Â
|
|
1116 |
Â
#, php-format
|
1117 |
Â
msgctxt "error_log"
|
1118 |
Â
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1119 |
Â
msgstr ""
|
1120 |
Â
|
Â
|
|
1121 |
Â
#, php-format
|
1122 |
Â
msgctxt "error_log"
|
1123 |
Â
msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
|
1126 |
Â
msgid "Test; no closing parenthesis "
|
1127 |
Â
msgstr ""
|
1128 |
Â
|
Â
|
|
1129 |
Â
#, php-format
|
1130 |
Â
msgctxt "error_log"
|
1131 |
Â
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1132 |
Â
msgstr ""
|
1133 |
Â
|
Â
|
|
1134 |
Â
#, php-format
|
1135 |
Â
msgctxt "error_log"
|
1136 |
Â
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1137 |
Â
msgstr ""
|
1138 |
Â
|
Â
|
|
1139 |
Â
#, php-format
|
1140 |
Â
msgctxt "error_log"
|
1141 |
Â
msgid ""
|
1143 |
Â
"\"."
|
1144 |
Â
msgstr ""
|
1145 |
Â
|
Â
|
|
1146 |
Â
#, php-format
|
1147 |
Â
msgctxt "error_log"
|
1148 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1149 |
Â
msgstr ""
|
1150 |
Â
|
Â
|
|
1151 |
Â
#, php-format
|
1152 |
Â
msgctxt "error_log"
|
1153 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1167 |
Â
msgid "No"
|
1168 |
Â
msgstr ""
|
1169 |
Â
|
Â
|
|
1170 |
Â
#, php-format
|
1171 |
Â
msgid "Deleting %1$s"
|
1172 |
Â
msgstr ""
|
1173 |
Â
|
Â
|
|
1174 |
Â
#, php-format
|
1175 |
Â
msgid "%1$s: meta:%2$s not found"
|
1176 |
Â
msgstr ""
|
1177 |
Â
|
Â
|
|
Â
|
|
Â
|
|
1178 |
Â
#, php-format
|
1179 |
Â
msgid "Adding %1$s = %2$s"
|
1180 |
Â
msgstr ""
|
1181 |
Â
|
Â
|
|
1182 |
Â
#, php-format
|
1183 |
Â
msgid "%1$s: Adding meta:%2$s; not found"
|
1184 |
Â
msgstr ""
|
1185 |
Â
|
Â
|
|
1186 |
Â
#, php-format
|
1187 |
Â
msgid "Deleting Null meta:%1$s"
|
1188 |
Â
msgstr ""
|
1189 |
Â
|
Â
|
|
1190 |
Â
#, php-format
|
1191 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1192 |
Â
msgstr ""
|
1193 |
Â
|
Â
|
|
1194 |
Â
#, php-format
|
1195 |
Â
msgid "%1$s: Changing meta:%2$s; not found"
|
1196 |
Â
msgstr ""
|
1197 |
Â
|
Â
|
|
1198 |
Â
#, php-format
|
1199 |
Â
msgid "Deleting old %1$s values"
|
1200 |
Â
msgstr ""
|
1201 |
Â
|
Â
|
|
1202 |
Â
#, php-format
|
1203 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1204 |
Â
msgstr ""
|
1206 |
Â
msgid "Could not retrieve Attachment."
|
1207 |
Â
msgstr ""
|
1208 |
Â
|
Â
|
|
1209 |
Â
#, php-format
|
1210 |
Â
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1211 |
Â
msgstr ""
|
1212 |
Â
|
Â
|
|
1213 |
Â
#, php-format
|
1214 |
Â
msgid "Deleting ALT Text, was \"%1$s\""
|
1215 |
Â
msgstr ""
|
1216 |
Â
|
Â
|
|
1217 |
Â
#, php-format
|
1218 |
Â
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1219 |
Â
msgstr ""
|
1220 |
Â
|
Â
|
|
1221 |
Â
#, php-format
|
1222 |
Â
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1223 |
Â
msgstr ""
|
1237 |
Â
msgid "Pings"
|
1238 |
Â
msgstr ""
|
1239 |
Â
|
1240 |
+
#, php-format
|
1241 |
+
msgid "You cannot assign \"%1$s\" terms"
|
1242 |
+
msgstr ""
|
1243 |
+
|
1244 |
+
msgctxt "tag delimiter"
|
1245 |
+
msgid ","
|
1246 |
+
msgstr ""
|
1247 |
+
|
1248 |
Â
msgid "Adding"
|
1249 |
Â
msgstr ""
|
1250 |
Â
|
1257 |
Â
msgid "Ignoring"
|
1258 |
Â
msgstr ""
|
1259 |
Â
|
Â
|
|
1260 |
Â
#, php-format
|
1261 |
Â
msgid "%1$s \"%2$s\" terms"
|
1262 |
Â
msgstr ""
|
1263 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1264 |
Â
#, php-format
|
1265 |
Â
msgid "Item %1$d, no changes detected."
|
1266 |
Â
msgstr ""
|
1267 |
Â
|
Â
|
|
1268 |
Â
#, php-format
|
1269 |
Â
msgid "Item %1$d updated."
|
1270 |
Â
msgstr ""
|
1271 |
Â
|
Â
|
|
1272 |
Â
#, php-format
|
1273 |
Â
msgid "%1$s: Item %2$d update failed."
|
1274 |
Â
msgstr ""
|
1336 |
Â
msgid "IPTC/EXIF mapping updated."
|
1337 |
Â
msgstr ""
|
1338 |
Â
|
Â
|
|
1339 |
Â
msgid "M j, Y @ G:i"
|
1340 |
Â
msgstr ""
|
1341 |
Â
|
1360 |
Â
msgid "Attachment Metadata"
|
1361 |
Â
msgstr ""
|
1362 |
Â
|
Â
|
|
1363 |
Â
#, php-format
|
1364 |
Â
msgctxt "error_log"
|
1365 |
Â
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
1381 |
Â
msgid "All"
|
1382 |
Â
msgstr ""
|
1383 |
Â
|
1384 |
+
msgctxt "show_option_none"
|
1385 |
+
msgid "No"
|
1386 |
+
msgstr ""
|
1387 |
+
|
1388 |
Â
msgid "List View"
|
1389 |
Â
msgstr ""
|
1390 |
Â
|
1394 |
Â
msgid "Not Supported"
|
1395 |
Â
msgstr ""
|
1396 |
Â
|
Â
|
|
1397 |
Â
#, php-format
|
1398 |
Â
msgid "column_default: %1$s, %2$s"
|
1399 |
Â
msgstr ""
|
1449 |
Â
msgid "Unpublished"
|
1450 |
Â
msgstr ""
|
1451 |
Â
|
Â
|
|
1452 |
Â
#, php-format
|
1453 |
Â
msgid "%1$s from now"
|
1454 |
Â
msgstr ""
|
1455 |
Â
|
Â
|
|
1456 |
Â
#, php-format
|
1457 |
Â
msgid "%1$s ago"
|
1458 |
Â
msgstr ""
|
1514 |
Â
msgstr[0] ""
|
1515 |
Â
msgstr[1] ""
|
1516 |
Â
|
Â
|
|
1517 |
Â
#, php-format
|
1518 |
Â
msgid "Item %1$d moved to Trash."
|
1519 |
Â
msgstr ""
|
1524 |
Â
msgid "You are not allowed to edit Attachment: "
|
1525 |
Â
msgstr ""
|
1526 |
Â
|
Â
|
|
1527 |
Â
#, php-format
|
1528 |
Â
msgid "%1$s: Unknown bulk action %2$s"
|
1529 |
Â
msgstr ""
|
1531 |
Â
msgid "no changes detected"
|
1532 |
Â
msgstr ""
|
1533 |
Â
|
Â
|
|
1534 |
Â
#, php-format
|
1535 |
Â
msgid "Bulk Action %1$s - no items selected."
|
1536 |
Â
msgstr ""
|
1538 |
Â
msgid "You do not have permission to manage attachments."
|
1539 |
Â
msgstr ""
|
1540 |
Â
|
Â
|
|
1541 |
Â
#, php-format
|
1542 |
Â
msgctxt "deleted items"
|
1543 |
Â
msgid "%s item deleted."
|
1551 |
Â
msgid "Empty Terms Search; ignored"
|
1552 |
Â
msgstr ""
|
1553 |
Â
|
Â
|
|
Â
|
|
1554 |
Â
#, php-format
|
1555 |
Â
msgid "Unknown mla_admin_action - \"%1$s\""
|
1556 |
Â
msgstr ""
|
1588 |
Â
msgid "You are not allowed to delete this item."
|
1589 |
Â
msgstr ""
|
1590 |
Â
|
Â
|
|
1591 |
Â
#, php-format
|
1592 |
Â
msgid "%1$s: Item %2$d could NOT be deleted."
|
1593 |
Â
msgstr ""
|
1594 |
Â
|
Â
|
|
1595 |
Â
#, php-format
|
1596 |
Â
msgid "Item %1$d permanently deleted."
|
1597 |
Â
msgstr ""
|
1599 |
Â
msgid "You are not allowed to move this item out of the Trash."
|
1600 |
Â
msgstr ""
|
1601 |
Â
|
Â
|
|
1602 |
Â
#, php-format
|
1603 |
Â
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
1604 |
Â
msgstr ""
|
1605 |
Â
|
Â
|
|
1606 |
Â
#, php-format
|
1607 |
Â
msgid "Item %1$d restored from Trash."
|
1608 |
Â
msgstr ""
|
1610 |
Â
msgid "You are not allowed to move this item to the Trash."
|
1611 |
Â
msgstr ""
|
1612 |
Â
|
Â
|
|
1613 |
Â
#, php-format
|
1614 |
Â
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
1615 |
Â
msgstr ""
|
1620 |
Â
msgid "Tags"
|
1621 |
Â
msgstr ""
|
1622 |
Â
|
Â
|
|
Â
|
|
Â
|
|
1623 |
Â
#, php-format
|
1624 |
Â
msgid "Add New %1$s"
|
1625 |
Â
msgstr ""
|
1630 |
Â
msgid "Show all dates"
|
1631 |
Â
msgstr ""
|
1632 |
Â
|
Â
|
|
1633 |
Â
#, php-format
|
1634 |
Â
msgid "%1$s %2$d"
|
1635 |
Â
msgstr ""
|
1732 |
Â
msgid "Ignoring specification for Post MIME Type; using slug"
|
1733 |
Â
msgstr ""
|
1734 |
Â
|
Â
|
|
1735 |
Â
#, php-format
|
1736 |
Â
msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
|
1737 |
Â
msgstr ""
|
1739 |
Â
msgid "Slug"
|
1740 |
Â
msgstr ""
|
1741 |
Â
|
Â
|
|
1742 |
Â
#, php-format
|
1743 |
Â
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
1744 |
Â
msgstr ""
|
1745 |
Â
|
Â
|
|
1746 |
Â
#, php-format
|
1747 |
Â
msgid "Edit view \"%1$s\"; added"
|
1748 |
Â
msgstr ""
|
1749 |
Â
|
Â
|
|
1750 |
Â
#, php-format
|
1751 |
Â
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
1752 |
Â
msgstr ""
|
1753 |
Â
|
Â
|
|
1754 |
Â
#, php-format
|
1755 |
Â
msgid "Edit view \"%1$s\"; no changes detected"
|
1756 |
Â
msgstr ""
|
1757 |
Â
|
Â
|
|
1758 |
Â
#, php-format
|
1759 |
Â
msgid "Edit view \"%1$s\"; updated"
|
1760 |
Â
msgstr ""
|
1761 |
Â
|
Â
|
|
1762 |
Â
#, php-format
|
1763 |
Â
msgid "View \"%1$s\" reverted to standard"
|
1764 |
Â
msgstr ""
|
1765 |
Â
|
Â
|
|
1766 |
Â
#, php-format
|
1767 |
Â
msgid "View \"%1$s\" deleted"
|
1768 |
Â
msgstr ""
|
1769 |
Â
|
Â
|
|
1770 |
Â
#, php-format
|
1771 |
Â
msgid "%1$s: Did not find view \"%2$s\""
|
1772 |
Â
msgstr ""
|
1823 |
Â
msgid "Extension"
|
1824 |
Â
msgstr ""
|
1825 |
Â
|
Â
|
|
1826 |
Â
#, php-format
|
1827 |
Â
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
1828 |
Â
msgstr ""
|
1830 |
Â
msgid "MIME type is required"
|
1831 |
Â
msgstr ""
|
1832 |
Â
|
Â
|
|
1833 |
Â
#, php-format
|
1834 |
Â
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
1835 |
Â
msgstr ""
|
1836 |
Â
|
Â
|
|
1837 |
Â
#, php-format
|
1838 |
Â
msgid "Upload MIME Type \"%1$s\"; added"
|
1839 |
Â
msgstr ""
|
1841 |
Â
msgid "Cannot update Upload MIME Types"
|
1842 |
Â
msgstr ""
|
1843 |
Â
|
Â
|
|
1844 |
Â
#, php-format
|
1845 |
Â
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
1846 |
Â
msgstr ""
|
1847 |
Â
|
Â
|
|
1848 |
Â
#, php-format
|
1849 |
Â
msgid "Edit type \"%1$s\"; no changes detected"
|
1850 |
Â
msgstr ""
|
1851 |
Â
|
Â
|
|
1852 |
Â
#, php-format
|
1853 |
Â
msgid "Edit type \"%1$s\"; updated"
|
1854 |
Â
msgstr ""
|
1855 |
Â
|
Â
|
|
1856 |
Â
#, php-format
|
1857 |
Â
msgid "Upload MIME Type \"%1$s\"; reverted to standard"
|
1858 |
Â
msgstr ""
|
1859 |
Â
|
Â
|
|
1860 |
Â
#, php-format
|
1861 |
Â
msgid "Upload MIME Type \"%1$s\"; deleted"
|
1862 |
Â
msgstr ""
|
1863 |
Â
|
Â
|
|
1864 |
Â
#, php-format
|
1865 |
Â
msgid "%1$s: Did not find Upload type \"%2$s\""
|
1866 |
Â
msgstr ""
|
1926 |
Â
msgid "Attachments"
|
1927 |
Â
msgstr ""
|
1928 |
Â
|
Â
|
|
1929 |
Â
#, php-format
|
1930 |
Â
msgctxt "error_log"
|
1931 |
Â
msgid ""
|
1950 |
Â
msgid "tpls/mla-option-templates.tpl not found"
|
1951 |
Â
msgstr ""
|
1952 |
Â
|
Â
|
|
1953 |
Â
#, php-format
|
1954 |
Â
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
1955 |
Â
msgstr ""
|
1978 |
Â
msgid "Taxonomy"
|
1979 |
Â
msgstr ""
|
1980 |
Â
|
Â
|
|
1981 |
Â
#, php-format
|
1982 |
Â
msgid "List Filter ignored; %1$s not supported."
|
1983 |
Â
msgstr ""
|
1984 |
Â
|
Â
|
|
1985 |
Â
#, php-format
|
1986 |
Â
msgid "Inline Edit ignored; %1$s not supported."
|
1987 |
Â
msgstr ""
|
1988 |
Â
|
Â
|
|
1989 |
Â
#, php-format
|
1990 |
Â
msgid "Term Search ignored; %1$s not supported."
|
1991 |
Â
msgstr ""
|
1992 |
Â
|
Â
|
|
1993 |
Â
#, php-format
|
1994 |
Â
msgid "Checklist ignored; %1$s not supported."
|
1995 |
Â
msgstr ""
|
1996 |
Â
|
Â
|
|
1997 |
Â
#, php-format
|
1998 |
Â
msgid "Checked On Top ignored; %1$s not supported."
|
1999 |
Â
msgstr ""
|
2000 |
Â
|
Â
|
|
2001 |
Â
#, php-format
|
2002 |
Â
msgid "Update custom %1$s"
|
2003 |
Â
msgstr ""
|
2004 |
Â
|
Â
|
|
2005 |
Â
#, php-format
|
2006 |
Â
msgid "Reset custom %1$s"
|
2007 |
Â
msgstr ""
|
2030 |
Â
msgid "Template (see below)"
|
2031 |
Â
msgstr ""
|
2032 |
Â
|
Â
|
|
2033 |
Â
#, php-format
|
2034 |
Â
msgid "%1$s: New field %2$s already exists."
|
2035 |
Â
msgstr ""
|
2036 |
Â
|
Â
|
|
2037 |
Â
#, php-format
|
2038 |
Â
msgid "Adding new field %1$s."
|
2039 |
Â
msgstr ""
|
2040 |
Â
|
Â
|
|
2041 |
Â
#, php-format
|
2042 |
Â
msgid "Adding new rule for %1$s."
|
2043 |
Â
msgstr ""
|
2044 |
Â
|
Â
|
|
2045 |
Â
#, php-format
|
2046 |
Â
msgid "Deleting rule for %1$s."
|
2047 |
Â
msgstr ""
|
2048 |
Â
|
Â
|
|
2049 |
Â
#, php-format
|
2050 |
Â
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2051 |
Â
msgstr ""
|
2059 |
Â
msgid "Keep to Replace"
|
2060 |
Â
msgstr ""
|
2061 |
Â
|
Â
|
|
2062 |
Â
#, php-format
|
2063 |
Â
msgid "%1$s changing %2$s value from %3$s."
|
2064 |
Â
msgstr ""
|
2165 |
Â
msgid "Custom field mapping settings reset failed."
|
2166 |
Â
msgstr ""
|
2167 |
Â
|
Â
|
|
2168 |
Â
#, php-format
|
2169 |
Â
msgid "%1$s: No old values for %2$s."
|
2170 |
Â
msgstr ""
|
2196 |
Â
msgid "EXIF/Template Value"
|
2197 |
Â
msgstr ""
|
2198 |
Â
|
Â
|
|
2199 |
Â
#, php-format
|
2200 |
Â
msgid "%1$s: Render unknown custom %2$s."
|
2201 |
Â
msgstr ""
|
2202 |
Â
|
Â
|
|
2203 |
Â
#, php-format
|
2204 |
Â
msgid "%1$s: Update/delete unknown custom %2$s."
|
2205 |
Â
msgstr ""
|
2213 |
Â
msgid "IPTC/EXIF no mapping changes detected."
|
2214 |
Â
msgstr ""
|
2215 |
Â
|
Â
|
|
2216 |
Â
#, php-format
|
2217 |
Â
msgid "%1$s settings saved."
|
2218 |
Â
msgstr ""
|
2220 |
Â
msgid "Standard field"
|
2221 |
Â
msgstr ""
|
2222 |
Â
|
Â
|
|
2223 |
Â
#, php-format
|
2224 |
Â
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
2225 |
Â
msgstr ""
|
2230 |
Â
msgid "Custom field"
|
2231 |
Â
msgstr ""
|
2232 |
Â
|
Â
|
|
2233 |
Â
#, php-format
|
2234 |
Â
msgid "%1$s: Reset unknown custom %2$s"
|
2235 |
Â
msgstr ""
|
2336 |
Â
msgid "Language Options"
|
2337 |
Â
msgstr ""
|
2338 |
Â
|
Â
|
|
2339 |
Â
#, php-format
|
2340 |
Â
msgid ""
|
2341 |
Â
"In this tab you can find a number of options for controlling Polylang-"
|
2344 |
Â
"make."
|
2345 |
Â
msgstr ""
|
2346 |
Â
|
Â
|
|
2347 |
Â
#, php-format
|
2348 |
Â
msgid ""
|
2349 |
Â
"You can find more information about multilingual features in the %1$s "
|
2368 |
Â
msgid "Language settings saved."
|
2369 |
Â
msgstr ""
|
2370 |
Â
|
Â
|
|
2371 |
Â
#, php-format
|
2372 |
Â
msgctxt "message_list"
|
2373 |
Â
msgid "delete_option \"%1$s\""
|
2397 |
Â
msgid "No custom field mapping rules to process."
|
2398 |
Â
msgstr ""
|
2399 |
Â
|
Â
|
|
2400 |
Â
#, php-format
|
2401 |
Â
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2402 |
Â
msgstr ""
|
2403 |
Â
|
Â
|
|
2404 |
Â
#, php-format
|
2405 |
Â
msgid ""
|
2406 |
Â
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
2407 |
Â
msgstr ""
|
2408 |
Â
|
2409 |
+
msgid ": No custom field name selected/entered"
|
2410 |
+
msgstr ""
|
2411 |
+
|
2412 |
+
msgid ": Rule already exists for the new name"
|
2413 |
+
msgstr ""
|
2414 |
+
|
2415 |
+
msgid "Rule added"
|
2416 |
+
msgstr ""
|
2417 |
+
|
2418 |
+
msgid ": Rule addition failed"
|
2419 |
+
msgstr ""
|
2420 |
+
|
2421 |
+
msgid ": Invalid rule name must be changed"
|
2422 |
+
msgstr ""
|
2423 |
+
|
2424 |
+
msgid ": Rule update failed"
|
2425 |
+
msgstr ""
|
2426 |
+
|
2427 |
+
msgid "Rule updated"
|
2428 |
+
msgstr ""
|
2429 |
+
|
2430 |
+
#, php-format
|
2431 |
+
msgid "Custom Field Rule \"%1$s\" deleted."
|
2432 |
+
msgstr ""
|
2433 |
+
|
2434 |
+
msgid "Edit Rule"
|
2435 |
+
msgstr ""
|
2436 |
+
|
2437 |
+
msgid ""
|
2438 |
+
"This is the name of the custom field to which the rule applies.<br>Only one "
|
2439 |
+
"rule is allowed for each custom field."
|
2440 |
+
msgstr ""
|
2441 |
+
|
2442 |
+
msgid "Change Name"
|
2443 |
+
msgstr ""
|
2444 |
+
|
2445 |
+
msgid "Cancel Name Change"
|
2446 |
+
msgstr ""
|
2447 |
+
|
2448 |
+
msgid "Enter new field"
|
2449 |
+
msgstr ""
|
2450 |
+
|
2451 |
+
msgid "Cancel new field"
|
2452 |
+
msgstr ""
|
2453 |
+
|
2454 |
+
msgid "Meta/Template"
|
2455 |
+
msgstr ""
|
2456 |
+
|
2457 |
+
msgid "WordPress attachment metadata element or Content Template"
|
2458 |
+
msgstr ""
|
2459 |
+
|
2460 |
+
msgid "Display as Media/Assistant column"
|
2461 |
+
msgstr ""
|
2462 |
+
|
2463 |
+
msgid "Add to Media/Assistant Quick Edit area"
|
2464 |
+
msgstr ""
|
2465 |
+
|
2466 |
+
msgid "Add to Media/Assistant Bulk Edit area"
|
2467 |
+
msgstr ""
|
2468 |
+
|
2469 |
+
msgid "Delete NULL Values"
|
2470 |
+
msgstr ""
|
2471 |
+
|
2472 |
+
msgid "Do not store empty custom field values"
|
2473 |
+
msgstr ""
|
2474 |
+
|
2475 |
+
msgid "Active"
|
2476 |
+
msgstr ""
|
2477 |
+
|
2478 |
+
msgid "Inactive"
|
2479 |
+
msgstr ""
|
2480 |
+
|
2481 |
+
#, php-format
|
2482 |
+
msgid "Custom Field Rule \"%1$s\": %2$s"
|
2483 |
+
msgstr ""
|
2484 |
+
|
2485 |
+
msgid "Edit Custom Field Rule cancelled."
|
2486 |
+
msgstr ""
|
2487 |
+
|
2488 |
+
#, php-format
|
2489 |
+
msgid "Unknown bulk action %1$s"
|
2490 |
+
msgstr ""
|
2491 |
+
|
2492 |
Â
msgid "Custom Field Mapping Progress"
|
2493 |
Â
msgstr ""
|
2494 |
Â
|
2519 |
Â
msgid "Custom Field and Attachment Metadata Processing Options"
|
2520 |
Â
msgstr ""
|
2521 |
Â
|
Â
|
|
Â
|
|
2522 |
Â
msgid ""
|
2523 |
Â
"In this tab you can define the rules for mapping several types of image "
|
2524 |
Â
"metadata to WordPress custom fields. You can also use this screen to define "
|
2525 |
Â
"rules for adding or updating fields within the WordPress-supplied "
|
2526 |
Â
"\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
|
2527 |
+
"field."
|
2528 |
Â
msgstr ""
|
2529 |
Â
|
2530 |
+
msgid ""
|
2531 |
+
"You can find more information about using the controls in this tab to define "
|
2532 |
+
"mapping rules and apply them by clicking the \"Help\" control in the upper-"
|
2533 |
+
"right corner of the screen."
|
2534 |
Â
msgstr ""
|
2535 |
Â
|
2536 |
+
msgid "Search results for"
|
2537 |
Â
msgstr ""
|
2538 |
Â
|
2539 |
+
msgid "Search Rules Text"
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2540 |
Â
msgstr ""
|
2541 |
Â
|
2542 |
+
msgid "Search Rules"
|
2543 |
Â
msgstr ""
|
2544 |
Â
|
2545 |
+
msgid "Execute All Rules"
|
2546 |
Â
msgstr ""
|
2547 |
Â
|
2548 |
+
msgid "Add New Rule"
|
2549 |
Â
msgstr ""
|
2550 |
Â
|
2551 |
+
msgid "Nothing to execute"
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2552 |
Â
msgstr ""
|
2553 |
Â
|
2554 |
+
msgid "Rule ID not found"
|
2555 |
+
msgstr ""
|
2556 |
+
|
2557 |
+
msgid "Rule not found"
|
2558 |
+
msgstr ""
|
2559 |
+
|
2560 |
+
msgctxt "list_table_column"
|
2561 |
+
msgid "Bad Name"
|
2562 |
+
msgstr ""
|
2563 |
+
|
2564 |
+
msgctxt "list_table_column"
|
2565 |
+
msgid "Meta/Template"
|
2566 |
+
msgstr ""
|
2567 |
+
|
2568 |
+
msgctxt "list_table_column"
|
2569 |
+
msgid "Visibility"
|
2570 |
+
msgstr ""
|
2571 |
+
|
2572 |
+
msgctxt "list_table_column"
|
2573 |
+
msgid "Existing Text"
|
2574 |
+
msgstr ""
|
2575 |
+
|
2576 |
+
msgctxt "list_table_column"
|
2577 |
+
msgid "Delete NULL"
|
2578 |
+
msgstr ""
|
2579 |
+
|
2580 |
+
msgctxt "list_table_column"
|
2581 |
+
msgid "Format"
|
2582 |
+
msgstr ""
|
2583 |
+
|
2584 |
+
msgctxt "list_table_column"
|
2585 |
+
msgid "Option"
|
2586 |
+
msgstr ""
|
2587 |
+
|
2588 |
+
msgid "Execute"
|
2589 |
+
msgstr ""
|
2590 |
+
|
2591 |
+
msgid "Purge custom field values"
|
2592 |
+
msgstr ""
|
2593 |
+
|
2594 |
+
msgid "Purge Values"
|
2595 |
+
msgstr ""
|
2596 |
+
|
2597 |
+
msgid "Any Status"
|
2598 |
+
msgstr ""
|
2599 |
+
|
2600 |
+
msgctxt "table_view_singular"
|
2601 |
+
msgid "MLA Column"
|
2602 |
+
msgstr ""
|
2603 |
+
|
2604 |
+
msgctxt "table_view_plural"
|
2605 |
+
msgid "MLA Column"
|
2606 |
+
msgstr ""
|
2607 |
+
|
2608 |
+
msgctxt "table_view_singular"
|
2609 |
+
msgid "Quick Edit"
|
2610 |
+
msgstr ""
|
2611 |
+
|
2612 |
+
msgctxt "table_view_plural"
|
2613 |
+
msgid "Quick Edit"
|
2614 |
+
msgstr ""
|
2615 |
+
|
2616 |
+
msgctxt "table_view_singular"
|
2617 |
+
msgid "Bulk Edit"
|
2618 |
+
msgstr ""
|
2619 |
+
|
2620 |
+
msgctxt "table_view_plural"
|
2621 |
+
msgid "Bulk Edit"
|
2622 |
+
msgstr ""
|
2623 |
+
|
2624 |
+
msgctxt "table_view_singular"
|
2625 |
+
msgid "Read Only"
|
2626 |
+
msgstr ""
|
2627 |
+
|
2628 |
+
msgctxt "table_view_plural"
|
2629 |
+
msgid "Read Only"
|
2630 |
Â
msgstr ""
|
2631 |
Â
|
Â
|
|
2632 |
Â
#, php-format
|
2633 |
Â
msgid "Example plugin \"%1$s\" not found"
|
2634 |
Â
msgstr ""
|
2635 |
Â
|
Â
|
|
2636 |
Â
#, php-format
|
2637 |
Â
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
2638 |
Â
msgstr ""
|
2653 |
Â
"the plugins you must go to the Plugins/Installed Plugins admin submenu."
|
2654 |
Â
msgstr ""
|
2655 |
Â
|
Â
|
|
2656 |
Â
#, php-format
|
2657 |
Â
msgid ""
|
2658 |
Â
"You can find more information about using the example plugins in the %1$s "
|
2678 |
Â
msgid "Searches Name, Description, File Name and Tags"
|
2679 |
Â
msgstr ""
|
2680 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2681 |
Â
#, php-format
|
2682 |
Â
msgid "Empty mla_item_ID - \"%1$s\""
|
2683 |
Â
msgstr ""
|
2710 |
Â
msgid "View this item"
|
2711 |
Â
msgstr ""
|
2712 |
Â
|
Â
|
|
2713 |
Â
#, php-format
|
2714 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken. Error: %2$s"
|
2715 |
Â
msgstr ""
|
2716 |
Â
|
Â
|
|
2717 |
Â
#, php-format
|
2718 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken"
|
2719 |
Â
msgstr ""
|
2720 |
Â
|
Â
|
|
2721 |
Â
#, php-format
|
2722 |
Â
msgid ""
|
2723 |
Â
"Example plugin \"%1$s\" install_package failed; no action taken. Error: %2$s"
|
2724 |
Â
msgstr ""
|
2725 |
Â
|
Â
|
|
2726 |
Â
#, php-format
|
2727 |
Â
msgid "Example plugin \"%1$s\" remove old single file failed."
|
2728 |
Â
msgstr ""
|
2729 |
Â
|
Â
|
|
2730 |
Â
#, php-format
|
2731 |
Â
msgid "Example plugin \"%1$s\" already installed; no action taken"
|
2732 |
Â
msgstr ""
|
2733 |
Â
|
Â
|
|
2734 |
Â
#, php-format
|
2735 |
Â
msgid "Example plugin \"%1$s\" installed"
|
2736 |
Â
msgstr ""
|
2737 |
Â
|
Â
|
|
2738 |
Â
#, php-format
|
2739 |
Â
msgid "Example plugin \"%1$s\" not installed; no action taken"
|
2740 |
Â
msgstr ""
|
2741 |
Â
|
Â
|
|
2742 |
Â
#, php-format
|
2743 |
Â
msgid "Example plugin \"%1$s\" updated"
|
2744 |
Â
msgstr ""
|
2746 |
Â
msgid "Network"
|
2747 |
Â
msgstr ""
|
2748 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2749 |
Â
msgctxt "table_view_singular"
|
2750 |
Â
msgid "Installed"
|
2751 |
Â
msgstr ""
|
2770 |
Â
msgid "Uninstalled"
|
2771 |
Â
msgstr ""
|
2772 |
Â
|
Â
|
|
2773 |
Â
#, php-format
|
2774 |
Â
msgid "%1$s: No %2$s settings to process."
|
2775 |
Â
msgstr ""
|
2791 |
Â
"click \"Save Changes\" at the bottom of this page."
|
2792 |
Â
msgstr ""
|
2793 |
Â
|
2794 |
+
#, php-format
|
2795 |
+
msgid ""
|
2796 |
+
"You can find more information about using the controls in this tab to define "
|
2797 |
+
"mapping rules and apply them in the %1$s section of the Documentation."
|
2798 |
+
msgstr ""
|
2799 |
+
|
2800 |
Â
msgid "IPTC/EXIF Options documentation"
|
2801 |
Â
msgstr ""
|
2802 |
Â
|
2812 |
Â
msgid "Map All Attachments, Taxonomy Terms Now"
|
2813 |
Â
msgstr ""
|
2814 |
Â
|
2815 |
+
msgid "Custom field mapping"
|
2816 |
+
msgstr ""
|
2817 |
+
|
2818 |
Â
msgid "Map All Attachments, Custom Fields Now"
|
2819 |
Â
msgstr ""
|
2820 |
Â
|
Â
|
|
2821 |
Â
#, php-format
|
2822 |
Â
msgid ""
|
2823 |
Â
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
2825 |
Â
"performed.</strong>"
|
2826 |
Â
msgstr ""
|
2827 |
Â
|
Â
|
|
2828 |
Â
#, php-format
|
2829 |
Â
msgid "%1$s: %2$s type or shortcode not specified."
|
2830 |
Â
msgstr ""
|
2835 |
Â
msgid "style template"
|
2836 |
Â
msgstr ""
|
2837 |
Â
|
Â
|
|
2838 |
Â
#, php-format
|
2839 |
Â
msgid "%1$s: Blank %2$s name, reverting to \"%3$s\"."
|
2840 |
Â
msgstr ""
|
2841 |
Â
|
Â
|
|
2842 |
Â
#, php-format
|
2843 |
Â
msgid "%1$s: Reserved %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2844 |
Â
msgstr ""
|
2845 |
Â
|
Â
|
|
2846 |
Â
#, php-format
|
2847 |
Â
msgid "%1$s: Duplicate new %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2848 |
Â
msgstr ""
|
2849 |
Â
|
Â
|
|
2850 |
Â
#, php-format
|
2851 |
Â
msgid "%1$s: New %2$s \"%3$s\" has no content; not added."
|
2852 |
Â
msgstr ""
|
2853 |
Â
|
Â
|
|
2854 |
Â
#, php-format
|
2855 |
Â
msgid "%1$s \"%2$s\" added."
|
2856 |
Â
msgstr ""
|
2857 |
Â
|
Â
|
|
2858 |
Â
#, php-format
|
2859 |
Â
msgid "%1$s \"%2$s\" copied to \"%3$s\"."
|
2860 |
Â
msgstr ""
|
2865 |
Â
msgid "markup template name"
|
2866 |
Â
msgstr ""
|
2867 |
Â
|
Â
|
|
2868 |
Â
#, php-format
|
2869 |
Â
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
2870 |
Â
msgstr ""
|
2871 |
Â
|
Â
|
|
2872 |
Â
#, php-format
|
2873 |
Â
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
2874 |
Â
msgstr ""
|
2875 |
Â
|
Â
|
|
2876 |
Â
#, php-format
|
2877 |
Â
msgid "%1$s: Reserved %2$s \"%3$s\", reverting to \"%4$s\"."
|
2878 |
Â
msgstr ""
|
2879 |
Â
|
Â
|
|
2880 |
Â
#, php-format
|
2881 |
Â
msgctxt "message_list"
|
2882 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
2883 |
Â
msgstr ""
|
2884 |
Â
|
Â
|
|
2885 |
Â
#, php-format
|
2886 |
Â
msgid "%1$s \"%2$s\" updated."
|
2887 |
Â
msgstr ""
|
2888 |
Â
|
Â
|
|
2889 |
Â
#, php-format
|
2890 |
Â
msgid "%1$s \"%2$s\" no changes detected."
|
2891 |
Â
msgstr ""
|
2892 |
Â
|
Â
|
|
2893 |
Â
#, php-format
|
2894 |
Â
msgid "%1$s \"%2$s\" deleted."
|
2895 |
Â
msgstr ""
|
2897 |
Â
msgid "Shortcodes"
|
2898 |
Â
msgstr ""
|
2899 |
Â
|
Â
|
|
2900 |
Â
#, php-format
|
2901 |
Â
msgid "%1$s no changes detected."
|
2902 |
Â
msgstr ""
|
2959 |
Â
"shortcodes."
|
2960 |
Â
msgstr ""
|
2961 |
Â
|
Â
|
|
2962 |
Â
#, php-format
|
2963 |
Â
msgid ""
|
2964 |
Â
"You can find more information about shortcode templates and how MLA and "
|
2978 |
Â
msgid "Search Templates"
|
2979 |
Â
msgstr ""
|
2980 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2981 |
Â
msgctxt "list_table_column"
|
2982 |
Â
msgid "Type"
|
2983 |
Â
msgstr ""
|
3003 |
Â
msgid "Delete"
|
3004 |
Â
msgstr ""
|
3005 |
Â
|
Â
|
|
Â
|
|
Â
|
|
3006 |
Â
msgid "Default"
|
3007 |
Â
msgstr ""
|
3008 |
Â
|
3089 |
Â
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3090 |
Â
msgstr ""
|
3091 |
Â
|
Â
|
|
3092 |
Â
#, php-format
|
3093 |
Â
msgid "Edit view \"%1$s\" cancelled."
|
3094 |
Â
msgstr ""
|
3107 |
Â
"extension must be in this list and be active."
|
3108 |
Â
msgstr ""
|
3109 |
Â
|
Â
|
|
3110 |
Â
#, php-format
|
3111 |
Â
msgid ""
|
3112 |
Â
"You can find more information about file extensions, MIME types and how "
|
3233 |
Â
"specifications (e.g. \"*/*ms*\")."
|
3234 |
Â
msgstr ""
|
3235 |
Â
|
Â
|
|
3236 |
Â
#, php-format
|
3237 |
Â
msgid ""
|
3238 |
Â
"You can find more information about library views, Post MIME types and how "
|
3268 |
Â
msgid "Shortcode templates per page"
|
3269 |
Â
msgstr ""
|
3270 |
Â
|
3271 |
+
msgid "Rules per page"
|
3272 |
+
msgstr ""
|
3273 |
+
|
3274 |
Â
msgid "Plugins per page"
|
3275 |
Â
msgstr ""
|
3276 |
Â
|
Â
|
|
3277 |
Â
#, php-format
|
3278 |
Â
msgctxt "error_log"
|
3279 |
Â
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
3306 |
Â
msgid "General Processing Options"
|
3307 |
Â
msgstr ""
|
3308 |
Â
|
Â
|
|
3309 |
Â
#, php-format
|
3310 |
Â
msgid ""
|
3311 |
Â
"In this tab you can find a number of options for controlling the "
|
3332 |
Â
msgid "Donate"
|
3333 |
Â
msgstr ""
|
3334 |
Â
|
Â
|
|
3335 |
Â
#, php-format
|
3336 |
Â
msgid ""
|
3337 |
Â
"This plugin was inspired by my work on the WordPress web site for our "
|
3360 |
Â
msgid "Debug settings saved."
|
3361 |
Â
msgstr ""
|
3362 |
Â
|
Â
|
|
3363 |
Â
#, php-format
|
3364 |
Â
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
3365 |
Â
msgstr ""
|
3367 |
Â
msgid "Error Log"
|
3368 |
Â
msgstr ""
|
3369 |
Â
|
Â
|
|
3370 |
Â
#, php-format
|
3371 |
Â
msgid "Error log file (%1$s) not found; click Reset to create it."
|
3372 |
Â
msgstr ""
|
3377 |
Â
msgid "Debug Settings"
|
3378 |
Â
msgstr ""
|
3379 |
Â
|
Â
|
|
3380 |
Â
#, php-format
|
3381 |
Â
msgid "Click %1$s to update the %2$s."
|
3382 |
Â
msgstr ""
|
3390 |
Â
msgid "Unknown content tab"
|
3391 |
Â
msgstr ""
|
3392 |
Â
|
3393 |
+
msgid "Dismiss this notice"
|
3394 |
+
msgstr ""
|
3395 |
+
|
3396 |
Â
#, php-format
|
3397 |
Â
msgid "%s attachment"
|
3398 |
Â
msgid_plural "%s attachments"
|
3399 |
Â
msgstr[0] ""
|
3400 |
Â
msgstr[1] ""
|
3401 |
Â
|
Â
|
|
3402 |
Â
#, php-format
|
3403 |
Â
msgid "Deleted custom field value from %1$s."
|
3404 |
Â
msgstr ""
|
3406 |
Â
msgid "No attachments contained this custom field."
|
3407 |
Â
msgstr ""
|
3408 |
Â
|
Â
|
|
3409 |
Â
#, php-format
|
3410 |
Â
msgctxt "message_list"
|
3411 |
Â
msgid "%1$s - references updated."
|
3434 |
Â
msgid "ALL settings exported."
|
3435 |
Â
msgstr ""
|
3436 |
Â
|
Â
|
|
3437 |
Â
#, php-format
|
3438 |
Â
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
3439 |
Â
msgstr ""
|
3440 |
Â
|
Â
|
|
3441 |
Â
#, php-format
|
3442 |
Â
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
3443 |
Â
msgstr ""
|
3444 |
Â
|
Â
|
|
3445 |
Â
#, php-format
|
3446 |
Â
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
3447 |
Â
msgstr ""
|
3448 |
Â
|
Â
|
|
3449 |
Â
#, php-format
|
3450 |
Â
msgctxt "error_log"
|
3451 |
Â
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
3452 |
Â
msgstr ""
|
3453 |
Â
|
Â
|
|
3454 |
Â
#, php-format
|
3455 |
Â
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
3456 |
Â
msgstr ""
|
3457 |
Â
|
Â
|
|
3458 |
Â
#, php-format
|
3459 |
Â
msgid "Settings exported; %1$s settings recorded."
|
3460 |
Â
msgstr ""
|
3468 |
Â
msgid "The import settings dropdown selection is missing."
|
3469 |
Â
msgstr ""
|
3470 |
Â
|
Â
|
|
3471 |
Â
#, php-format
|
3472 |
Â
msgctxt "error_log"
|
3473 |
Â
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
3474 |
Â
msgstr ""
|
3475 |
Â
|
Â
|
|
3476 |
Â
#, php-format
|
3477 |
Â
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
3478 |
Â
msgstr ""
|
3485 |
Â
msgid "unchanged"
|
3486 |
Â
msgstr ""
|
3487 |
Â
|
Â
|
|
3488 |
Â
#, php-format
|
3489 |
Â
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
3490 |
Â
msgstr ""
|
3498 |
Â
msgid "not found"
|
3499 |
Â
msgstr ""
|
3500 |
Â
|
3501 |
+
msgid "mla_debug REQUEST"
|
3502 |
+
msgstr ""
|
3503 |
+
|
3504 |
+
msgid "mla_debug attributes"
|
3505 |
+
msgstr ""
|
3506 |
+
|
3507 |
+
msgid "mla_debug arguments"
|
3508 |
+
msgstr ""
|
3509 |
+
|
3510 |
Â
msgid "mla_debug empty gallery"
|
3511 |
Â
msgstr ""
|
3512 |
Â
|
3518 |
Â
msgid "unknown"
|
3519 |
Â
msgstr ""
|
3520 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3521 |
Â
msgid "mla_debug empty cloud"
|
3522 |
Â
msgstr ""
|
3523 |
Â
|
3679 |
Â
msgid "Generate Thumbnails"
|
3680 |
Â
msgstr ""
|
3681 |
Â
|
Â
|
|
3682 |
Â
#, php-format
|
3683 |
Â
msgid "Item %1$d"
|
3684 |
Â
msgstr ""
|
3689 |
Â
msgid "Featured Image retained."
|
3690 |
Â
msgstr ""
|
3691 |
Â
|
Â
|
|
3692 |
Â
#, php-format
|
3693 |
Â
msgid "%1$s: %2$sno attached file."
|
3694 |
Â
msgstr ""
|
3696 |
Â
msgid "unsupported file type."
|
3697 |
Â
msgstr ""
|
3698 |
Â
|
Â
|
|
3699 |
Â
#, php-format
|
3700 |
Â
msgid "%1$s: %2$sthumbnail generation failed"
|
3701 |
Â
msgstr ""
|
3702 |
Â
|
Â
|
|
3703 |
Â
#, php-format
|
3704 |
Â
msgid "%1$sWordPress-style thumbnail generated."
|
3705 |
Â
msgstr ""
|
3706 |
Â
|
Â
|
|
3707 |
Â
#, php-format
|
3708 |
Â
msgid "%1$s: %2$swp_insert_attachment failed."
|
3709 |
Â
msgstr ""
|
3710 |
Â
|
Â
|
|
3711 |
Â
#, php-format
|
3712 |
Â
msgid "%1$sthumbnail generated as new item %2$s."
|
3713 |
Â
msgstr ""
|
3763 |
Â
msgid " WPML Media is not active."
|
3764 |
Â
msgstr ""
|
3765 |
Â
|
Â
|
|
3766 |
Â
#, php-format
|
3767 |
Â
msgid ""
|
3768 |
Â
"In this tab you can find a number of options for controlling WPML-specific "
|
3787 |
Â
msgid "You must resolve these conflicts before this plugin can safely load."
|
3788 |
Â
msgstr ""
|
3789 |
Â
|
Â
|
|
3790 |
Â
msgid ""
|
3791 |
Â
"Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
|
3792 |
Â
"EXIF processing, bulk & quick edit actions and where-used reporting."
|
languages/media-library-assistant-en_US.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
Â
msgid ""
|
3 |
Â
msgstr ""
|
4 |
Â
"Project-Id-Version: Media Library Assistant\n"
|
5 |
-
"POT-Creation-Date:
|
6 |
Â
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
Â
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
Â
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
@@ -10,7 +10,7 @@ msgstr ""
|
|
10 |
Â
"MIME-Version: 1.0\n"
|
11 |
Â
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
Â
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
Â
"X-Poedit-Basepath: ..\n"
|
15 |
Â
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
Â
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
@@ -20,54 +20,12 @@ msgstr ""
|
|
20 |
Â
"X-Poedit-SearchPath-1: tests\n"
|
21 |
Â
"X-Poedit-SearchPath-2: index.php\n"
|
22 |
Â
|
23 |
-
#. translators: Name of the plugin/theme
|
24 |
Â
msgid "Media Library Assistant"
|
25 |
Â
msgstr ""
|
26 |
Â
|
27 |
Â
msgid "Assistant"
|
28 |
Â
msgstr ""
|
29 |
Â
|
30 |
-
#. translators: 1: ERROR tag 2: path and file name
|
31 |
-
#, php-format
|
32 |
-
msgctxt "error_log"
|
33 |
-
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
msgid "ERROR"
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
|
40 |
-
#, php-format
|
41 |
-
msgctxt "error_log"
|
42 |
-
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
43 |
-
msgstr ""
|
44 |
-
|
45 |
-
#. translators: 1: ERROR tag 2: raw_mime_type
|
46 |
-
#, php-format
|
47 |
-
msgid "%1$s: Bad specification part \"%2$s\""
|
48 |
-
msgstr ""
|
49 |
-
|
50 |
-
#. translators: 1: ERROR tag 2: option, e.g., any, match, null
|
51 |
-
#, php-format
|
52 |
-
msgid "%1$s: Bad specification option \"%2$s\""
|
53 |
-
msgstr ""
|
54 |
-
|
55 |
-
#. translators: 1: ERROR tag 2: prefix, e.g., custom
|
56 |
-
#, php-format
|
57 |
-
msgid "%1$s: Bad specification prefix \"%2$s\""
|
58 |
-
msgstr ""
|
59 |
-
|
60 |
-
msgid "Most Used"
|
61 |
-
msgstr ""
|
62 |
-
|
63 |
-
#. translators: %s: add new taxonomy label
|
64 |
-
#, php-format
|
65 |
-
msgid "+ %s"
|
66 |
-
msgstr ""
|
67 |
-
|
68 |
-
msgid "Search"
|
69 |
-
msgstr ""
|
70 |
-
|
71 |
Â
msgid "Title"
|
72 |
Â
msgstr ""
|
73 |
Â
|
@@ -95,11 +53,12 @@ msgstr ""
|
|
95 |
Â
msgid "Draft"
|
96 |
Â
msgstr ""
|
97 |
Â
|
98 |
-
#. translators: date format in table columns, see http://php.net/date
|
99 |
-
#. translators: format for upload/last modified date
|
100 |
Â
msgid "Y/m/d"
|
101 |
Â
msgstr ""
|
102 |
Â
|
Â
|
|
Â
|
|
Â
|
|
103 |
Â
msgid "No post ID found"
|
104 |
Â
msgstr ""
|
105 |
Â
|
@@ -533,7 +492,6 @@ msgstr ""
|
|
533 |
Â
msgid "Alignment"
|
534 |
Â
msgstr ""
|
535 |
Â
|
536 |
-
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
537 |
Â
#, php-format
|
538 |
Â
msgid ""
|
539 |
Â
"Select a value for the default %1$s option in the Attachment Display "
|
@@ -605,7 +563,6 @@ msgstr ""
|
|
605 |
Â
msgid "Style Template"
|
606 |
Â
msgstr ""
|
607 |
Â
|
608 |
-
#. translators: 1: template type 2: shortcode
|
609 |
Â
#, php-format
|
610 |
Â
msgid "Select the default %1$s for your %2$s shortcodes."
|
611 |
Â
msgstr ""
|
@@ -701,22 +658,12 @@ msgstr ""
|
|
701 |
Â
msgid "Enable custom field mapping when adding new media"
|
702 |
Â
msgstr ""
|
703 |
Â
|
704 |
-
msgid ""
|
705 |
-
"Check this option to enable mapping when uploading new media (attachments)."
|
706 |
-
"<br> Click Save Changes at the bottom of the screen if you change "
|
707 |
-
"this option.<br> Does NOT affect the operation of the \"Map\" "
|
708 |
-
"buttons on the bulk edit, single edit and settings screens."
|
709 |
Â
msgstr ""
|
710 |
Â
|
711 |
Â
msgid "Enable custom field mapping when updating media metadata"
|
712 |
Â
msgstr ""
|
713 |
Â
|
714 |
-
msgid ""
|
715 |
-
"Check this option to enable mapping when media (attachments) metadata is "
|
716 |
-
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
717 |
-
"functions are used."
|
718 |
-
msgstr ""
|
719 |
-
|
720 |
Â
msgid ""
|
721 |
Â
"Update the custom field mapping values above, then click Save Changes to "
|
722 |
Â
"make the updates permanent.<br>You can also make temporary updates and click "
|
@@ -736,6 +683,12 @@ msgstr ""
|
|
736 |
Â
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
737 |
Â
msgstr ""
|
738 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
739 |
Â
msgid ""
|
740 |
Â
"Update the standard field mapping values above, then click <strong>Save "
|
741 |
Â
"Changes</strong> to make the updates permanent.<br>You can also make "
|
@@ -940,31 +893,58 @@ msgid ""
|
|
940 |
Â
"the existing MLA_DEBUG_LEVEL value."
|
941 |
Â
msgstr ""
|
942 |
Â
|
943 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
944 |
Â
#, php-format
|
945 |
Â
msgctxt "error_log"
|
946 |
Â
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
947 |
Â
msgstr ""
|
948 |
Â
|
949 |
-
#. translators: 1: ERROR tag 2: source offset 3: nest level
|
950 |
Â
#, php-format
|
951 |
Â
msgctxt "error_log"
|
952 |
Â
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
953 |
Â
msgstr ""
|
954 |
Â
|
955 |
-
#. translators: 1: ERROR tag 2: dictionary excerpt
|
956 |
Â
#, php-format
|
957 |
Â
msgctxt "error_log"
|
958 |
Â
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
959 |
Â
msgstr ""
|
960 |
Â
|
961 |
-
#. translators: 1: ERROR tag 2: entry name 3: value excerpt
|
962 |
Â
#, php-format
|
963 |
Â
msgctxt "error_log"
|
964 |
Â
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
965 |
Â
msgstr ""
|
966 |
Â
|
967 |
-
#. translators: 1: ERROR tag 2: path and file
|
968 |
Â
#, php-format
|
969 |
Â
msgctxt "error_log"
|
970 |
Â
msgid "%1$s: File \"%2$s\", startxref not found."
|
@@ -1050,13 +1030,11 @@ msgctxt "list_table_column"
|
|
1050 |
Â
msgid "Attached to"
|
1051 |
Â
msgstr ""
|
1052 |
Â
|
1053 |
-
#. translators: 1: ERROR tag 2: function name 3: non-array value
|
1054 |
Â
#, php-format
|
1055 |
Â
msgctxt "error_log"
|
1056 |
Â
msgid "%1$s: %2$s non-array \"%3$s\""
|
1057 |
Â
msgstr ""
|
1058 |
Â
|
1059 |
-
#. translators: 1: DEBUG tag 2: query filter details
|
1060 |
Â
#, php-format
|
1061 |
Â
msgctxt "error_log"
|
1062 |
Â
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
@@ -1065,49 +1043,41 @@ msgstr ""
|
|
1065 |
Â
msgid "DEBUG"
|
1066 |
Â
msgstr ""
|
1067 |
Â
|
1068 |
-
#. translators: 1: DEBUG tag 2: query details
|
1069 |
Â
#, php-format
|
1070 |
Â
msgctxt "error_log"
|
1071 |
Â
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1072 |
Â
msgstr ""
|
1073 |
Â
|
1074 |
-
#. translators: 1: DEBUG tag 2: SQL statement
|
1075 |
Â
#, php-format
|
1076 |
Â
msgctxt "error_log"
|
1077 |
Â
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1078 |
Â
msgstr ""
|
1079 |
Â
|
1080 |
-
#. translators: 1: DEBUG tag 2: search filter details
|
1081 |
Â
#, php-format
|
1082 |
Â
msgctxt "error_log"
|
1083 |
Â
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1084 |
Â
msgstr ""
|
1085 |
Â
|
1086 |
-
#. translators: 1: DEBUG tag 2: where filter details
|
1087 |
Â
#, php-format
|
1088 |
Â
msgctxt "error_log"
|
1089 |
Â
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1090 |
Â
msgstr ""
|
1091 |
Â
|
1092 |
-
#. translators: 1: DEBUG tag 2: join filter details
|
1093 |
Â
#, php-format
|
1094 |
Â
msgctxt "error_log"
|
1095 |
Â
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1096 |
Â
msgstr ""
|
1097 |
Â
|
1098 |
-
#. translators: 1: DEBUG tag 2: orderby details details
|
1099 |
Â
#, php-format
|
1100 |
Â
msgctxt "error_log"
|
1101 |
Â
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1102 |
Â
msgstr ""
|
1103 |
Â
|
1104 |
-
#. translators: 1: DEBUG tag 2: SQL clauses
|
1105 |
Â
#, php-format
|
1106 |
Â
msgctxt "error_log"
|
1107 |
Â
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1108 |
Â
msgstr ""
|
1109 |
Â
|
1110 |
-
#. translators: 1: DEBUG tag 2: SQL clauses
|
1111 |
Â
#, php-format
|
1112 |
Â
msgctxt "error_log"
|
1113 |
Â
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
@@ -1128,32 +1098,27 @@ msgstr ""
|
|
1128 |
Â
msgid "INVALID PARENT"
|
1129 |
Â
msgstr ""
|
1130 |
Â
|
1131 |
-
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
1132 |
Â
#, php-format
|
1133 |
Â
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
1134 |
Â
msgstr ""
|
1135 |
Â
|
1136 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1137 |
Â
#, php-format
|
1138 |
Â
msgctxt "error_log"
|
1139 |
Â
msgid ""
|
1140 |
Â
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1141 |
Â
msgstr ""
|
1142 |
Â
|
1143 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1144 |
Â
#, php-format
|
1145 |
Â
msgctxt "error_log"
|
1146 |
Â
msgid ""
|
1147 |
Â
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1148 |
Â
msgstr ""
|
1149 |
Â
|
1150 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1151 |
Â
#, php-format
|
1152 |
Â
msgctxt "error_log"
|
1153 |
Â
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1154 |
Â
msgstr ""
|
1155 |
Â
|
1156 |
-
#. translators: 1: ERROR tag 2: template string
|
1157 |
Â
#, php-format
|
1158 |
Â
msgctxt "error_log"
|
1159 |
Â
msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
|
@@ -1162,19 +1127,16 @@ msgstr ""
|
|
1162 |
Â
msgid "Test; no closing parenthesis "
|
1163 |
Â
msgstr ""
|
1164 |
Â
|
1165 |
-
#. translators: 1: ERROR tag 2: node type, e.g., template
|
1166 |
Â
#, php-format
|
1167 |
Â
msgctxt "error_log"
|
1168 |
Â
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1169 |
Â
msgstr ""
|
1170 |
Â
|
1171 |
-
#. translators: 1: ERROR tag 2: node type, e.g., template
|
1172 |
Â
#, php-format
|
1173 |
Â
msgctxt "error_log"
|
1174 |
Â
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1175 |
Â
msgstr ""
|
1176 |
Â
|
1177 |
-
#. translators: 1: ERROR tag 2: template excerpt
|
1178 |
Â
#, php-format
|
1179 |
Â
msgctxt "error_log"
|
1180 |
Â
msgid ""
|
@@ -1182,13 +1144,11 @@ msgid ""
|
|
1182 |
Â
"\"."
|
1183 |
Â
msgstr ""
|
1184 |
Â
|
1185 |
-
#. translators: 1: ERROR tag 2: post ID
|
1186 |
Â
#, php-format
|
1187 |
Â
msgctxt "error_log"
|
1188 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1189 |
Â
msgstr ""
|
1190 |
Â
|
1191 |
-
#. translators: 1: ERROR tag 2: post ID 3: post_type
|
1192 |
Â
#, php-format
|
1193 |
Â
msgctxt "error_log"
|
1194 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
@@ -1208,49 +1168,38 @@ msgstr ""
|
|
1208 |
Â
msgid "No"
|
1209 |
Â
msgstr ""
|
1210 |
Â
|
1211 |
-
#. translators: 1: meta_key
|
1212 |
Â
#, php-format
|
1213 |
Â
msgid "Deleting %1$s"
|
1214 |
Â
msgstr ""
|
1215 |
Â
|
1216 |
-
#. translators: 1: ERROR tag 2: meta_key
|
1217 |
Â
#, php-format
|
1218 |
Â
msgid "%1$s: meta:%2$s not found"
|
1219 |
Â
msgstr ""
|
1220 |
Â
|
1221 |
-
#. translators: 1: meta_key 2: meta_value
|
1222 |
-
#. translators: 1: meta_key 2: new_value
|
1223 |
-
#. translators: 1: meta_key 2: meta_value
|
1224 |
Â
#, php-format
|
1225 |
Â
msgid "Adding %1$s = %2$s"
|
1226 |
Â
msgstr ""
|
1227 |
Â
|
1228 |
-
#. translators: 1: ERROR tag 2: meta_key
|
1229 |
Â
#, php-format
|
1230 |
Â
msgid "%1$s: Adding meta:%2$s; not found"
|
1231 |
Â
msgstr ""
|
1232 |
Â
|
1233 |
-
#. translators: 1: meta_key
|
1234 |
Â
#, php-format
|
1235 |
Â
msgid "Deleting Null meta:%1$s"
|
1236 |
Â
msgstr ""
|
1237 |
Â
|
1238 |
-
#. translators: 1: element name 2: old_value 3: new_value
|
1239 |
Â
#, php-format
|
1240 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1241 |
Â
msgstr ""
|
1242 |
Â
|
1243 |
-
#. translators: 1: ERROR tag 2: meta_key
|
1244 |
Â
#, php-format
|
1245 |
Â
msgid "%1$s: Changing meta:%2$s; not found"
|
1246 |
Â
msgstr ""
|
1247 |
Â
|
1248 |
-
#. translators: 1: meta_key
|
1249 |
Â
#, php-format
|
1250 |
Â
msgid "Deleting old %1$s values"
|
1251 |
Â
msgstr ""
|
1252 |
Â
|
1253 |
-
#. translators: 1: meta_key 2: old_value 3: new_value 4: update count
|
1254 |
Â
#, php-format
|
1255 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1256 |
Â
msgstr ""
|
@@ -1258,22 +1207,18 @@ msgstr ""
|
|
1258 |
Â
msgid "Could not retrieve Attachment."
|
1259 |
Â
msgstr ""
|
1260 |
Â
|
1261 |
-
#. translators: 1: ERROR tag 2: old_value
|
1262 |
Â
#, php-format
|
1263 |
Â
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1264 |
Â
msgstr ""
|
1265 |
Â
|
1266 |
-
#. translators: 1: old_value
|
1267 |
Â
#, php-format
|
1268 |
Â
msgid "Deleting ALT Text, was \"%1$s\""
|
1269 |
Â
msgstr ""
|
1270 |
Â
|
1271 |
-
#. translators: 1: ERROR tag 2: old_value
|
1272 |
Â
#, php-format
|
1273 |
Â
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1274 |
Â
msgstr ""
|
1275 |
Â
|
1276 |
-
#. translators: 1: ERROR tag 2: old_value 3: new_value
|
1277 |
Â
#, php-format
|
1278 |
Â
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1279 |
Â
msgstr ""
|
@@ -1293,6 +1238,14 @@ msgstr ""
|
|
1293 |
Â
msgid "Pings"
|
1294 |
Â
msgstr ""
|
1295 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1296 |
Â
msgid "Adding"
|
1297 |
Â
msgstr ""
|
1298 |
Â
|
@@ -1305,27 +1258,18 @@ msgstr ""
|
|
1305 |
Â
msgid "Ignoring"
|
1306 |
Â
msgstr ""
|
1307 |
Â
|
1308 |
-
#. translators: 1: action_name, 2: taxonomy
|
1309 |
Â
#, php-format
|
1310 |
Â
msgid "%1$s \"%2$s\" terms"
|
1311 |
Â
msgstr ""
|
1312 |
Â
|
1313 |
-
#. translators: 1: taxonomy
|
1314 |
-
#, php-format
|
1315 |
-
msgid "You cannot assign \"%1$s\" terms"
|
1316 |
-
msgstr ""
|
1317 |
-
|
1318 |
-
#. translators: 1: post ID
|
1319 |
Â
#, php-format
|
1320 |
Â
msgid "Item %1$d, no changes detected."
|
1321 |
Â
msgstr ""
|
1322 |
Â
|
1323 |
-
#. translators: 1: post ID
|
1324 |
Â
#, php-format
|
1325 |
Â
msgid "Item %1$d updated."
|
1326 |
Â
msgstr ""
|
1327 |
Â
|
1328 |
-
#. translators: 1: ERROR tag 2: post ID
|
1329 |
Â
#, php-format
|
1330 |
Â
msgid "%1$s: Item %2$d update failed."
|
1331 |
Â
msgstr ""
|
@@ -1393,7 +1337,6 @@ msgstr ""
|
|
1393 |
Â
msgid "IPTC/EXIF mapping updated."
|
1394 |
Â
msgstr ""
|
1395 |
Â
|
1396 |
-
#. translators: date_i18n format for last modified date and time
|
1397 |
Â
msgid "M j, Y @ G:i"
|
1398 |
Â
msgstr ""
|
1399 |
Â
|
@@ -1418,7 +1361,6 @@ msgstr ""
|
|
1418 |
Â
msgid "Attachment Metadata"
|
1419 |
Â
msgstr ""
|
1420 |
Â
|
1421 |
-
#. translators: 1: ERROR tag 2: function name 3: template key
|
1422 |
Â
#, php-format
|
1423 |
Â
msgctxt "error_log"
|
1424 |
Â
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
@@ -1440,6 +1382,10 @@ msgstr ""
|
|
1440 |
Â
msgid "All"
|
1441 |
Â
msgstr ""
|
1442 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1443 |
Â
msgid "List View"
|
1444 |
Â
msgstr ""
|
1445 |
Â
|
@@ -1449,7 +1395,6 @@ msgstr ""
|
|
1449 |
Â
msgid "Not Supported"
|
1450 |
Â
msgstr ""
|
1451 |
Â
|
1452 |
-
#. translators: 1: column_name 2: column_values
|
1453 |
Â
#, php-format
|
1454 |
Â
msgid "column_default: %1$s, %2$s"
|
1455 |
Â
msgstr ""
|
@@ -1505,12 +1450,10 @@ msgstr ""
|
|
1505 |
Â
msgid "Unpublished"
|
1506 |
Â
msgstr ""
|
1507 |
Â
|
1508 |
-
#. translators: 1: upload/last modified date and time
|
1509 |
Â
#, php-format
|
1510 |
Â
msgid "%1$s from now"
|
1511 |
Â
msgstr ""
|
1512 |
Â
|
1513 |
-
#. translators: 1: upload/last modified date and time
|
1514 |
Â
#, php-format
|
1515 |
Â
msgid "%1$s ago"
|
1516 |
Â
msgstr ""
|
@@ -1572,7 +1515,6 @@ msgid_plural "%d items permanently deleted."
|
|
1572 |
Â
msgstr[0] ""
|
1573 |
Â
msgstr[1] ""
|
1574 |
Â
|
1575 |
-
#. translators: 1: post ID
|
1576 |
Â
#, php-format
|
1577 |
Â
msgid "Item %1$d moved to Trash."
|
1578 |
Â
msgstr ""
|
@@ -1583,7 +1525,6 @@ msgstr ""
|
|
1583 |
Â
msgid "You are not allowed to edit Attachment: "
|
1584 |
Â
msgstr ""
|
1585 |
Â
|
1586 |
-
#. translators: 1: ERROR tag 2: bulk action
|
1587 |
Â
#, php-format
|
1588 |
Â
msgid "%1$s: Unknown bulk action %2$s"
|
1589 |
Â
msgstr ""
|
@@ -1591,7 +1532,6 @@ msgstr ""
|
|
1591 |
Â
msgid "no changes detected"
|
1592 |
Â
msgstr ""
|
1593 |
Â
|
1594 |
-
#. translators: 1: action name, e.g., edit
|
1595 |
Â
#, php-format
|
1596 |
Â
msgid "Bulk Action %1$s - no items selected."
|
1597 |
Â
msgstr ""
|
@@ -1599,7 +1539,6 @@ msgstr ""
|
|
1599 |
Â
msgid "You do not have permission to manage attachments."
|
1600 |
Â
msgstr ""
|
1601 |
Â
|
1602 |
-
#. translators: 1: number of items
|
1603 |
Â
#, php-format
|
1604 |
Â
msgctxt "deleted items"
|
1605 |
Â
msgid "%s item deleted."
|
@@ -1613,8 +1552,6 @@ msgstr ""
|
|
1613 |
Â
msgid "Empty Terms Search; ignored"
|
1614 |
Â
msgstr ""
|
1615 |
Â
|
1616 |
-
#. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
|
1617 |
-
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
1618 |
Â
#, php-format
|
1619 |
Â
msgid "Unknown mla_admin_action - \"%1$s\""
|
1620 |
Â
msgstr ""
|
@@ -1652,12 +1589,10 @@ msgstr ""
|
|
1652 |
Â
msgid "You are not allowed to delete this item."
|
1653 |
Â
msgstr ""
|
1654 |
Â
|
1655 |
-
#. translators: 1: ERROR tag 2: post ID
|
1656 |
Â
#, php-format
|
1657 |
Â
msgid "%1$s: Item %2$d could NOT be deleted."
|
1658 |
Â
msgstr ""
|
1659 |
Â
|
1660 |
-
#. translators: 1: post ID
|
1661 |
Â
#, php-format
|
1662 |
Â
msgid "Item %1$d permanently deleted."
|
1663 |
Â
msgstr ""
|
@@ -1665,12 +1600,10 @@ msgstr ""
|
|
1665 |
Â
msgid "You are not allowed to move this item out of the Trash."
|
1666 |
Â
msgstr ""
|
1667 |
Â
|
1668 |
-
#. translators: 1: ERROR tag 2: post ID
|
1669 |
Â
#, php-format
|
1670 |
Â
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
1671 |
Â
msgstr ""
|
1672 |
Â
|
1673 |
-
#. translators: 1: post ID
|
1674 |
Â
#, php-format
|
1675 |
Â
msgid "Item %1$d restored from Trash."
|
1676 |
Â
msgstr ""
|
@@ -1678,7 +1611,6 @@ msgstr ""
|
|
1678 |
Â
msgid "You are not allowed to move this item to the Trash."
|
1679 |
Â
msgstr ""
|
1680 |
Â
|
1681 |
-
#. translators: 1: ERROR tag 2: post ID
|
1682 |
Â
#, php-format
|
1683 |
Â
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
1684 |
Â
msgstr ""
|
@@ -1689,9 +1621,6 @@ msgstr ""
|
|
1689 |
Â
msgid "Tags"
|
1690 |
Â
msgstr ""
|
1691 |
Â
|
1692 |
-
#. translators: %s: add new taxonomy label
|
1693 |
-
#. translators: %s: add new Upload MIME Type
|
1694 |
-
#. translators: %s: add new View
|
1695 |
Â
#, php-format
|
1696 |
Â
msgid "Add New %1$s"
|
1697 |
Â
msgstr ""
|
@@ -1702,7 +1631,6 @@ msgstr ""
|
|
1702 |
Â
msgid "Show all dates"
|
1703 |
Â
msgstr ""
|
1704 |
Â
|
1705 |
-
#. translators: 1: month name, 2: 4-digit year
|
1706 |
Â
#, php-format
|
1707 |
Â
msgid "%1$s %2$d"
|
1708 |
Â
msgstr ""
|
@@ -1805,7 +1733,6 @@ msgstr ""
|
|
1805 |
Â
msgid "Ignoring specification for Post MIME Type; using slug"
|
1806 |
Â
msgstr ""
|
1807 |
Â
|
1808 |
-
#. translators: 1: element name 2: bad_value 3: good_value
|
1809 |
Â
#, php-format
|
1810 |
Â
msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
|
1811 |
Â
msgstr ""
|
@@ -1813,42 +1740,34 @@ msgstr ""
|
|
1813 |
Â
msgid "Slug"
|
1814 |
Â
msgstr ""
|
1815 |
Â
|
1816 |
-
#. translators: 1: ERROR tag 2: slug
|
1817 |
Â
#, php-format
|
1818 |
Â
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
1819 |
Â
msgstr ""
|
1820 |
Â
|
1821 |
-
#. translators: 1: slug
|
1822 |
Â
#, php-format
|
1823 |
Â
msgid "Edit view \"%1$s\"; added"
|
1824 |
Â
msgstr ""
|
1825 |
Â
|
1826 |
-
#. translators: 1: element name 2: bad_value 3: good_value
|
1827 |
Â
#, php-format
|
1828 |
Â
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
1829 |
Â
msgstr ""
|
1830 |
Â
|
1831 |
-
#. translators: 1: slug
|
1832 |
Â
#, php-format
|
1833 |
Â
msgid "Edit view \"%1$s\"; no changes detected"
|
1834 |
Â
msgstr ""
|
1835 |
Â
|
1836 |
-
#. translators: 1: slug
|
1837 |
Â
#, php-format
|
1838 |
Â
msgid "Edit view \"%1$s\"; updated"
|
1839 |
Â
msgstr ""
|
1840 |
Â
|
1841 |
-
#. translators: 1: slug
|
1842 |
Â
#, php-format
|
1843 |
Â
msgid "View \"%1$s\" reverted to standard"
|
1844 |
Â
msgstr ""
|
1845 |
Â
|
1846 |
-
#. translators: 1: slug
|
1847 |
Â
#, php-format
|
1848 |
Â
msgid "View \"%1$s\" deleted"
|
1849 |
Â
msgstr ""
|
1850 |
Â
|
1851 |
-
#. translators: 1: ERROR tag 2: slug
|
1852 |
Â
#, php-format
|
1853 |
Â
msgid "%1$s: Did not find view \"%2$s\""
|
1854 |
Â
msgstr ""
|
@@ -1905,7 +1824,6 @@ msgstr ""
|
|
1905 |
Â
msgid "Extension"
|
1906 |
Â
msgstr ""
|
1907 |
Â
|
1908 |
-
#. translators: 1: ERROR tag 2: slug
|
1909 |
Â
#, php-format
|
1910 |
Â
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
1911 |
Â
msgstr ""
|
@@ -1913,12 +1831,10 @@ msgstr ""
|
|
1913 |
Â
msgid "MIME type is required"
|
1914 |
Â
msgstr ""
|
1915 |
Â
|
1916 |
-
#. translators: 1: ERROR tag 2: clean_mime_type
|
1917 |
Â
#, php-format
|
1918 |
Â
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
1919 |
Â
msgstr ""
|
1920 |
Â
|
1921 |
-
#. translators: 1: slug
|
1922 |
Â
#, php-format
|
1923 |
Â
msgid "Upload MIME Type \"%1$s\"; added"
|
1924 |
Â
msgstr ""
|
@@ -1926,32 +1842,26 @@ msgstr ""
|
|
1926 |
Â
msgid "Cannot update Upload MIME Types"
|
1927 |
Â
msgstr ""
|
1928 |
Â
|
1929 |
-
#. translators: 1: ERROR tag 2: slug
|
1930 |
Â
#, php-format
|
1931 |
Â
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
1932 |
Â
msgstr ""
|
1933 |
Â
|
1934 |
-
#. translators: 1: slug
|
1935 |
Â
#, php-format
|
1936 |
Â
msgid "Edit type \"%1$s\"; no changes detected"
|
1937 |
Â
msgstr ""
|
1938 |
Â
|
1939 |
-
#. translators: 1: slug
|
1940 |
Â
#, php-format
|
1941 |
Â
msgid "Edit type \"%1$s\"; updated"
|
1942 |
Â
msgstr ""
|
1943 |
Â
|
1944 |
-
#. translators: 1: slug
|
1945 |
Â
#, php-format
|
1946 |
Â
msgid "Upload MIME Type \"%1$s\"; reverted to standard"
|
1947 |
Â
msgstr ""
|
1948 |
Â
|
1949 |
-
#. translators: 1: slug
|
1950 |
Â
#, php-format
|
1951 |
Â
msgid "Upload MIME Type \"%1$s\"; deleted"
|
1952 |
Â
msgstr ""
|
1953 |
Â
|
1954 |
-
#. translators: 1: ERROR tag 2: slug
|
1955 |
Â
#, php-format
|
1956 |
Â
msgid "%1$s: Did not find Upload type \"%2$s\""
|
1957 |
Â
msgstr ""
|
@@ -2017,7 +1927,6 @@ msgstr ""
|
|
2017 |
Â
msgid "Attachments"
|
2018 |
Â
msgstr ""
|
2019 |
Â
|
2020 |
-
#. translators: 1: ERROR tag 2: taxonomy 3: error message
|
2021 |
Â
#, php-format
|
2022 |
Â
msgctxt "error_log"
|
2023 |
Â
msgid ""
|
@@ -2042,7 +1951,6 @@ msgstr ""
|
|
2042 |
Â
msgid "tpls/mla-option-templates.tpl not found"
|
2043 |
Â
msgstr ""
|
2044 |
Â
|
2045 |
-
#. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
|
2046 |
Â
#, php-format
|
2047 |
Â
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
2048 |
Â
msgstr ""
|
@@ -2071,37 +1979,30 @@ msgstr ""
|
|
2071 |
Â
msgid "Taxonomy"
|
2072 |
Â
msgstr ""
|
2073 |
Â
|
2074 |
-
#. translators: 1: taxonomy name
|
2075 |
Â
#, php-format
|
2076 |
Â
msgid "List Filter ignored; %1$s not supported."
|
2077 |
Â
msgstr ""
|
2078 |
Â
|
2079 |
-
#. translators: 1: taxonomy name
|
2080 |
Â
#, php-format
|
2081 |
Â
msgid "Inline Edit ignored; %1$s not supported."
|
2082 |
Â
msgstr ""
|
2083 |
Â
|
2084 |
-
#. translators: 1: taxonomy name
|
2085 |
Â
#, php-format
|
2086 |
Â
msgid "Term Search ignored; %1$s not supported."
|
2087 |
Â
msgstr ""
|
2088 |
Â
|
2089 |
-
#. translators: 1: taxonomy name
|
2090 |
Â
#, php-format
|
2091 |
Â
msgid "Checklist ignored; %1$s not supported."
|
2092 |
Â
msgstr ""
|
2093 |
Â
|
2094 |
-
#. translators: 1: taxonomy name
|
2095 |
Â
#, php-format
|
2096 |
Â
msgid "Checked On Top ignored; %1$s not supported."
|
2097 |
Â
msgstr ""
|
2098 |
Â
|
2099 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
2100 |
Â
#, php-format
|
2101 |
Â
msgid "Update custom %1$s"
|
2102 |
Â
msgstr ""
|
2103 |
Â
|
2104 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
2105 |
Â
#, php-format
|
2106 |
Â
msgid "Reset custom %1$s"
|
2107 |
Â
msgstr ""
|
@@ -2130,27 +2031,22 @@ msgstr ""
|
|
2130 |
Â
msgid "Template (see below)"
|
2131 |
Â
msgstr ""
|
2132 |
Â
|
2133 |
-
#. translators: 1: ERROR tag 2: custom field name
|
2134 |
Â
#, php-format
|
2135 |
Â
msgid "%1$s: New field %2$s already exists."
|
2136 |
Â
msgstr ""
|
2137 |
Â
|
2138 |
-
#. translators: 1: custom field name
|
2139 |
Â
#, php-format
|
2140 |
Â
msgid "Adding new field %1$s."
|
2141 |
Â
msgstr ""
|
2142 |
Â
|
2143 |
-
#. translators: 1: custom field name
|
2144 |
Â
#, php-format
|
2145 |
Â
msgid "Adding new rule for %1$s."
|
2146 |
Â
msgstr ""
|
2147 |
Â
|
2148 |
-
#. translators: 1: custom field name
|
2149 |
Â
#, php-format
|
2150 |
Â
msgid "Deleting rule for %1$s."
|
2151 |
Â
msgstr ""
|
2152 |
Â
|
2153 |
-
#. translators: 1: custom field name 2: attribute 3: old value 4: new value
|
2154 |
Â
#, php-format
|
2155 |
Â
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2156 |
Â
msgstr ""
|
@@ -2164,7 +2060,6 @@ msgstr ""
|
|
2164 |
Â
msgid "Keep to Replace"
|
2165 |
Â
msgstr ""
|
2166 |
Â
|
2167 |
-
#. translators: 1: custom field name 2: attribute 3: old value 'to' new value
|
2168 |
Â
#, php-format
|
2169 |
Â
msgid "%1$s changing %2$s value from %3$s."
|
2170 |
Â
msgstr ""
|
@@ -2271,7 +2166,6 @@ msgstr ""
|
|
2271 |
Â
msgid "Custom field mapping settings reset failed."
|
2272 |
Â
msgstr ""
|
2273 |
Â
|
2274 |
-
#. translators: 1: ERROR tag 2: custom field name
|
2275 |
Â
#, php-format
|
2276 |
Â
msgid "%1$s: No old values for %2$s."
|
2277 |
Â
msgstr ""
|
@@ -2303,12 +2197,10 @@ msgstr ""
|
|
2303 |
Â
msgid "EXIF/Template Value"
|
2304 |
Â
msgstr ""
|
2305 |
Â
|
2306 |
-
#. translators: 1: ERROR tag 2: option name
|
2307 |
Â
#, php-format
|
2308 |
Â
msgid "%1$s: Render unknown custom %2$s."
|
2309 |
Â
msgstr ""
|
2310 |
Â
|
2311 |
-
#. translators: 1: ERROR tag 2: option name
|
2312 |
Â
#, php-format
|
2313 |
Â
msgid "%1$s: Update/delete unknown custom %2$s."
|
2314 |
Â
msgstr ""
|
@@ -2322,7 +2214,6 @@ msgstr ""
|
|
2322 |
Â
msgid "IPTC/EXIF no mapping changes detected."
|
2323 |
Â
msgstr ""
|
2324 |
Â
|
2325 |
-
#. translators: 1: field type
|
2326 |
Â
#, php-format
|
2327 |
Â
msgid "%1$s settings saved."
|
2328 |
Â
msgstr ""
|
@@ -2330,7 +2221,6 @@ msgstr ""
|
|
2330 |
Â
msgid "Standard field"
|
2331 |
Â
msgstr ""
|
2332 |
Â
|
2333 |
-
#. translators: 1: ERROR tag 2: field type
|
2334 |
Â
#, php-format
|
2335 |
Â
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
2336 |
Â
msgstr ""
|
@@ -2341,7 +2231,6 @@ msgstr ""
|
|
2341 |
Â
msgid "Custom field"
|
2342 |
Â
msgstr ""
|
2343 |
Â
|
2344 |
-
#. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
|
2345 |
Â
#, php-format
|
2346 |
Â
msgid "%1$s: Reset unknown custom %2$s"
|
2347 |
Â
msgstr ""
|
@@ -2448,7 +2337,6 @@ msgstr ""
|
|
2448 |
Â
msgid "Language Options"
|
2449 |
Â
msgstr ""
|
2450 |
Â
|
2451 |
-
#. translators: 1: - 4: page subheader values
|
2452 |
Â
#, php-format
|
2453 |
Â
msgid ""
|
2454 |
Â
"In this tab you can find a number of options for controlling Polylang-"
|
@@ -2457,7 +2345,6 @@ msgid ""
|
|
2457 |
Â
"make."
|
2458 |
Â
msgstr ""
|
2459 |
Â
|
2460 |
-
#. translators: 1: Documentation hyperlink
|
2461 |
Â
#, php-format
|
2462 |
Â
msgid ""
|
2463 |
Â
"You can find more information about multilingual features in the %1$s "
|
@@ -2482,7 +2369,6 @@ msgstr ""
|
|
2482 |
Â
msgid "Language settings saved."
|
2483 |
Â
msgstr ""
|
2484 |
Â
|
2485 |
-
#. translators: 1: option name
|
2486 |
Â
#, php-format
|
2487 |
Â
msgctxt "message_list"
|
2488 |
Â
msgid "delete_option \"%1$s\""
|
@@ -2512,17 +2398,98 @@ msgstr ""
|
|
2512 |
Â
msgid "No custom field mapping rules to process."
|
2513 |
Â
msgstr ""
|
2514 |
Â
|
2515 |
-
#. translators: 1: field type 2: examined count 3: updated count
|
2516 |
Â
#, php-format
|
2517 |
Â
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2518 |
Â
msgstr ""
|
2519 |
Â
|
2520 |
-
#. translators: 1: field type 2: examined count
|
2521 |
Â
#, php-format
|
2522 |
Â
msgid ""
|
2523 |
Â
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
2524 |
Â
msgstr ""
|
2525 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2526 |
Â
msgid "Custom Field Mapping Progress"
|
2527 |
Â
msgstr ""
|
2528 |
Â
|
@@ -2553,59 +2520,120 @@ msgstr ""
|
|
2553 |
Â
msgid "Custom Field and Attachment Metadata Processing Options"
|
2554 |
Â
msgstr ""
|
2555 |
Â
|
2556 |
-
#. translators: 1: Documentation hyperlink
|
2557 |
-
#, php-format
|
2558 |
Â
msgid ""
|
2559 |
Â
"In this tab you can define the rules for mapping several types of image "
|
2560 |
Â
"metadata to WordPress custom fields. You can also use this screen to define "
|
2561 |
Â
"rules for adding or updating fields within the WordPress-supplied "
|
2562 |
Â
"\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
|
2563 |
-
"field.
|
2564 |
Â
msgstr ""
|
2565 |
Â
|
2566 |
-
msgid "
|
Â
|
|
Â
|
|
Â
|
|
2567 |
Â
msgstr ""
|
2568 |
Â
|
2569 |
-
msgid "
|
2570 |
Â
msgstr ""
|
2571 |
Â
|
2572 |
-
|
2573 |
-
#, php-format
|
2574 |
-
msgid ""
|
2575 |
-
"You can find more information about using the controls in this tab to define "
|
2576 |
-
"mapping rules and apply them in the %1$s section of the Documentation."
|
2577 |
Â
msgstr ""
|
2578 |
Â
|
2579 |
-
msgid "
|
2580 |
Â
msgstr ""
|
2581 |
Â
|
2582 |
-
msgid "
|
2583 |
Â
msgstr ""
|
2584 |
Â
|
2585 |
-
msgid "
|
2586 |
Â
msgstr ""
|
2587 |
Â
|
2588 |
-
|
2589 |
-
#, php-format
|
2590 |
-
msgid ""
|
2591 |
-
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
2592 |
-
"all rule changes and additions at once. <strong>No rule mapping will be "
|
2593 |
-
"performed.</strong>"
|
2594 |
Â
msgstr ""
|
2595 |
Â
|
2596 |
-
|
2597 |
-
|
2598 |
-
|
2599 |
-
"
|
2600 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2601 |
Â
msgstr ""
|
2602 |
Â
|
2603 |
-
#. translators: 1: plugin name
|
2604 |
Â
#, php-format
|
2605 |
Â
msgid "Example plugin \"%1$s\" not found"
|
2606 |
Â
msgstr ""
|
2607 |
Â
|
2608 |
-
#. translators: 1: ERROR tag 2: file type 3: file name 4: error message
|
2609 |
Â
#, php-format
|
2610 |
Â
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
2611 |
Â
msgstr ""
|
@@ -2626,7 +2654,6 @@ msgid ""
|
|
2626 |
Â
"the plugins you must go to the Plugins/Installed Plugins admin submenu."
|
2627 |
Â
msgstr ""
|
2628 |
Â
|
2629 |
-
#. translators: 1: Documentation hyperlink
|
2630 |
Â
#, php-format
|
2631 |
Â
msgid ""
|
2632 |
Â
"You can find more information about using the example plugins in the %1$s "
|
@@ -2652,12 +2679,6 @@ msgstr ""
|
|
2652 |
Â
msgid "Searches Name, Description, File Name and Tags"
|
2653 |
Â
msgstr ""
|
2654 |
Â
|
2655 |
-
#. translators: 1: bulk_action, e.g., delete, edit, restore, trash
|
2656 |
-
#, php-format
|
2657 |
-
msgid "Unknown bulk action %1$s"
|
2658 |
-
msgstr ""
|
2659 |
-
|
2660 |
-
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
2661 |
Â
#, php-format
|
2662 |
Â
msgid "Empty mla_item_ID - \"%1$s\""
|
2663 |
Â
msgstr ""
|
@@ -2690,43 +2711,35 @@ msgstr ""
|
|
2690 |
Â
msgid "View this item"
|
2691 |
Â
msgstr ""
|
2692 |
Â
|
2693 |
-
#. translators: 1: plugin name, 2: WP_Error message
|
2694 |
Â
#, php-format
|
2695 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken. Error: %2$s"
|
2696 |
Â
msgstr ""
|
2697 |
Â
|
2698 |
-
#. translators: 1: plugin name
|
2699 |
Â
#, php-format
|
2700 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken"
|
2701 |
Â
msgstr ""
|
2702 |
Â
|
2703 |
-
#. translators: 1: plugin name, 2: WP_Error message
|
2704 |
Â
#, php-format
|
2705 |
Â
msgid ""
|
2706 |
Â
"Example plugin \"%1$s\" install_package failed; no action taken. Error: %2$s"
|
2707 |
Â
msgstr ""
|
2708 |
Â
|
2709 |
-
#. translators: 1: plugin name, 2: WP_Error message
|
2710 |
Â
#, php-format
|
2711 |
Â
msgid "Example plugin \"%1$s\" remove old single file failed."
|
2712 |
Â
msgstr ""
|
2713 |
Â
|
2714 |
-
#. translators: 1: plugin name
|
2715 |
Â
#, php-format
|
2716 |
Â
msgid "Example plugin \"%1$s\" already installed; no action taken"
|
2717 |
Â
msgstr ""
|
2718 |
Â
|
2719 |
-
#. translators: 1: plugin name
|
2720 |
Â
#, php-format
|
2721 |
Â
msgid "Example plugin \"%1$s\" installed"
|
2722 |
Â
msgstr ""
|
2723 |
Â
|
2724 |
-
#. translators: 1: plugin name
|
2725 |
Â
#, php-format
|
2726 |
Â
msgid "Example plugin \"%1$s\" not installed; no action taken"
|
2727 |
Â
msgstr ""
|
2728 |
Â
|
2729 |
-
#. translators: 1: plugin name
|
2730 |
Â
#, php-format
|
2731 |
Â
msgid "Example plugin \"%1$s\" updated"
|
2732 |
Â
msgstr ""
|
@@ -2734,12 +2747,6 @@ msgstr ""
|
|
2734 |
Â
msgid "Network"
|
2735 |
Â
msgstr ""
|
2736 |
Â
|
2737 |
-
msgid "Active"
|
2738 |
-
msgstr ""
|
2739 |
-
|
2740 |
-
msgid "Inactive"
|
2741 |
-
msgstr ""
|
2742 |
-
|
2743 |
Â
msgctxt "table_view_singular"
|
2744 |
Â
msgid "Installed"
|
2745 |
Â
msgstr ""
|
@@ -2764,7 +2771,6 @@ msgctxt "table_view_plural"
|
|
2764 |
Â
msgid "Uninstalled"
|
2765 |
Â
msgstr ""
|
2766 |
Â
|
2767 |
-
#. translators: 1: ERROR tag 2: field type
|
2768 |
Â
#, php-format
|
2769 |
Â
msgid "%1$s: No %2$s settings to process."
|
2770 |
Â
msgstr ""
|
@@ -2786,6 +2792,12 @@ msgid ""
|
|
2786 |
Â
"click \"Save Changes\" at the bottom of this page."
|
2787 |
Â
msgstr ""
|
2788 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2789 |
Â
msgid "IPTC/EXIF Options documentation"
|
2790 |
Â
msgstr ""
|
2791 |
Â
|
@@ -2801,10 +2813,12 @@ msgstr ""
|
|
2801 |
Â
msgid "Map All Attachments, Taxonomy Terms Now"
|
2802 |
Â
msgstr ""
|
2803 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2804 |
Â
msgid "Map All Attachments, Custom Fields Now"
|
2805 |
Â
msgstr ""
|
2806 |
Â
|
2807 |
-
#. translators: 1: "Save Changes"
|
2808 |
Â
#, php-format
|
2809 |
Â
msgid ""
|
2810 |
Â
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
@@ -2812,7 +2826,6 @@ msgid ""
|
|
2812 |
Â
"performed.</strong>"
|
2813 |
Â
msgstr ""
|
2814 |
Â
|
2815 |
-
#. translators: 1: ERROR tag 2: template type
|
2816 |
Â
#, php-format
|
2817 |
Â
msgid "%1$s: %2$s type or shortcode not specified."
|
2818 |
Â
msgstr ""
|
@@ -2823,32 +2836,26 @@ msgstr ""
|
|
2823 |
Â
msgid "style template"
|
2824 |
Â
msgstr ""
|
2825 |
Â
|
2826 |
-
#. translators: 1: ERROR tag 2: template type 3: old template name
|
2827 |
Â
#, php-format
|
2828 |
Â
msgid "%1$s: Blank %2$s name, reverting to \"%3$s\"."
|
2829 |
Â
msgstr ""
|
2830 |
Â
|
2831 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2832 |
Â
#, php-format
|
2833 |
Â
msgid "%1$s: Reserved %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2834 |
Â
msgstr ""
|
2835 |
Â
|
2836 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2837 |
Â
#, php-format
|
2838 |
Â
msgid "%1$s: Duplicate new %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2839 |
Â
msgstr ""
|
2840 |
Â
|
2841 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name
|
2842 |
Â
#, php-format
|
2843 |
Â
msgid "%1$s: New %2$s \"%3$s\" has no content; not added."
|
2844 |
Â
msgstr ""
|
2845 |
Â
|
2846 |
-
#. translators: 1: field type, 2: new template name
|
2847 |
Â
#, php-format
|
2848 |
Â
msgid "%1$s \"%2$s\" added."
|
2849 |
Â
msgstr ""
|
2850 |
Â
|
2851 |
-
#. translators: 1: field type, 2: old template name, 3: new template name
|
2852 |
Â
#, php-format
|
2853 |
Â
msgid "%1$s \"%2$s\" copied to \"%3$s\"."
|
2854 |
Â
msgstr ""
|
@@ -2859,38 +2866,31 @@ msgstr ""
|
|
2859 |
Â
msgid "markup template name"
|
2860 |
Â
msgstr ""
|
2861 |
Â
|
2862 |
-
#. translators: 1: ERROR tag 2: template type 3: old template name
|
2863 |
Â
#, php-format
|
2864 |
Â
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
2865 |
Â
msgstr ""
|
2866 |
Â
|
2867 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2868 |
Â
#, php-format
|
2869 |
Â
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
2870 |
Â
msgstr ""
|
2871 |
Â
|
2872 |
-
#. translators: 1: ERROR tag 2: template type 3: new template name 4: old template name
|
2873 |
Â
#, php-format
|
2874 |
Â
msgid "%1$s: Reserved %2$s \"%3$s\", reverting to \"%4$s\"."
|
2875 |
Â
msgstr ""
|
2876 |
Â
|
2877 |
-
#. translators: 1: template type 2: old template name 3: new template name
|
2878 |
Â
#, php-format
|
2879 |
Â
msgctxt "message_list"
|
2880 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
2881 |
Â
msgstr ""
|
2882 |
Â
|
2883 |
-
#. translators: 1: field type, 2: new template name
|
2884 |
Â
#, php-format
|
2885 |
Â
msgid "%1$s \"%2$s\" updated."
|
2886 |
Â
msgstr ""
|
2887 |
Â
|
2888 |
-
#. translators: 1: field type, 2: template name
|
2889 |
Â
#, php-format
|
2890 |
Â
msgid "%1$s \"%2$s\" no changes detected."
|
2891 |
Â
msgstr ""
|
2892 |
Â
|
2893 |
-
#. translators: 1: field type
|
2894 |
Â
#, php-format
|
2895 |
Â
msgid "%1$s \"%2$s\" deleted."
|
2896 |
Â
msgstr ""
|
@@ -2898,7 +2898,6 @@ msgstr ""
|
|
2898 |
Â
msgid "Shortcodes"
|
2899 |
Â
msgstr ""
|
2900 |
Â
|
2901 |
-
#. translators: 1: field type
|
2902 |
Â
#, php-format
|
2903 |
Â
msgid "%1$s no changes detected."
|
2904 |
Â
msgstr ""
|
@@ -2961,7 +2960,6 @@ msgid ""
|
|
2961 |
Â
"shortcodes."
|
2962 |
Â
msgstr ""
|
2963 |
Â
|
2964 |
-
#. translators: 1: Documentation hyperlink
|
2965 |
Â
#, php-format
|
2966 |
Â
msgid ""
|
2967 |
Â
"You can find more information about shortcode templates and how MLA and "
|
@@ -2981,9 +2979,6 @@ msgstr ""
|
|
2981 |
Â
msgid "Search Templates"
|
2982 |
Â
msgstr ""
|
2983 |
Â
|
2984 |
-
msgid "Search results for"
|
2985 |
-
msgstr ""
|
2986 |
-
|
2987 |
Â
msgctxt "list_table_column"
|
2988 |
Â
msgid "Type"
|
2989 |
Â
msgstr ""
|
@@ -3009,9 +3004,6 @@ msgstr ""
|
|
3009 |
Â
msgid "Delete"
|
3010 |
Â
msgstr ""
|
3011 |
Â
|
3012 |
-
msgid "Any Status"
|
3013 |
-
msgstr ""
|
3014 |
-
|
3015 |
Â
msgid "Default"
|
3016 |
Â
msgstr ""
|
3017 |
Â
|
@@ -3098,7 +3090,6 @@ msgstr ""
|
|
3098 |
Â
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3099 |
Â
msgstr ""
|
3100 |
Â
|
3101 |
-
#. translators: 1: view name/slug
|
3102 |
Â
#, php-format
|
3103 |
Â
msgid "Edit view \"%1$s\" cancelled."
|
3104 |
Â
msgstr ""
|
@@ -3117,7 +3108,6 @@ msgid ""
|
|
3117 |
Â
"extension must be in this list and be active."
|
3118 |
Â
msgstr ""
|
3119 |
Â
|
3120 |
-
#. translators: 1: Documentation hyperlink
|
3121 |
Â
#, php-format
|
3122 |
Â
msgid ""
|
3123 |
Â
"You can find more information about file extensions, MIME types and how "
|
@@ -3244,7 +3234,6 @@ msgid ""
|
|
3244 |
Â
"specifications (e.g. \"*/*ms*\")."
|
3245 |
Â
msgstr ""
|
3246 |
Â
|
3247 |
-
#. translators: 1: Documentation hyperlink
|
3248 |
Â
#, php-format
|
3249 |
Â
msgid ""
|
3250 |
Â
"You can find more information about library views, Post MIME types and how "
|
@@ -3280,10 +3269,12 @@ msgstr ""
|
|
3280 |
Â
msgid "Shortcode templates per page"
|
3281 |
Â
msgstr ""
|
3282 |
Â
|
Â
|
|
Â
|
|
Â
|
|
3283 |
Â
msgid "Plugins per page"
|
3284 |
Â
msgstr ""
|
3285 |
Â
|
3286 |
-
#. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
|
3287 |
Â
#, php-format
|
3288 |
Â
msgctxt "error_log"
|
3289 |
Â
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
@@ -3316,7 +3307,6 @@ msgstr ""
|
|
3316 |
Â
msgid "General Processing Options"
|
3317 |
Â
msgstr ""
|
3318 |
Â
|
3319 |
-
#. translators: 1: - 4: page subheader values
|
3320 |
Â
#, php-format
|
3321 |
Â
msgid ""
|
3322 |
Â
"In this tab you can find a number of options for controlling the "
|
@@ -3343,7 +3333,6 @@ msgstr ""
|
|
3343 |
Â
msgid "Donate"
|
3344 |
Â
msgstr ""
|
3345 |
Â
|
3346 |
-
#. translators: 1: donation hyperlink
|
3347 |
Â
#, php-format
|
3348 |
Â
msgid ""
|
3349 |
Â
"This plugin was inspired by my work on the WordPress web site for our "
|
@@ -3372,7 +3361,6 @@ msgstr ""
|
|
3372 |
Â
msgid "Debug settings saved."
|
3373 |
Â
msgstr ""
|
3374 |
Â
|
3375 |
-
#. translators: 1: ERROR tag 2: file type 3: file name 4: error message
|
3376 |
Â
#, php-format
|
3377 |
Â
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
3378 |
Â
msgstr ""
|
@@ -3380,7 +3368,6 @@ msgstr ""
|
|
3380 |
Â
msgid "Error Log"
|
3381 |
Â
msgstr ""
|
3382 |
Â
|
3383 |
-
#. translators: 1: file name
|
3384 |
Â
#, php-format
|
3385 |
Â
msgid "Error log file (%1$s) not found; click Reset to create it."
|
3386 |
Â
msgstr ""
|
@@ -3391,7 +3378,6 @@ msgstr ""
|
|
3391 |
Â
msgid "Debug Settings"
|
3392 |
Â
msgstr ""
|
3393 |
Â
|
3394 |
-
#. translators: 1: "Save Changes"
|
3395 |
Â
#, php-format
|
3396 |
Â
msgid "Click %1$s to update the %2$s."
|
3397 |
Â
msgstr ""
|
@@ -3405,14 +3391,15 @@ msgstr ""
|
|
3405 |
Â
msgid "Unknown content tab"
|
3406 |
Â
msgstr ""
|
3407 |
Â
|
3408 |
-
|
Â
|
|
Â
|
|
3409 |
Â
#, php-format
|
3410 |
Â
msgid "%s attachment"
|
3411 |
Â
msgid_plural "%s attachments"
|
3412 |
Â
msgstr[0] ""
|
3413 |
Â
msgstr[1] ""
|
3414 |
Â
|
3415 |
-
#. translators: 1: singular/plural number of attachments
|
3416 |
Â
#, php-format
|
3417 |
Â
msgid "Deleted custom field value from %1$s."
|
3418 |
Â
msgstr ""
|
@@ -3420,7 +3407,6 @@ msgstr ""
|
|
3420 |
Â
msgid "No attachments contained this custom field."
|
3421 |
Â
msgstr ""
|
3422 |
Â
|
3423 |
-
#. translators: 1: reference type, e.g., Gallery in
|
3424 |
Â
#, php-format
|
3425 |
Â
msgctxt "message_list"
|
3426 |
Â
msgid "%1$s - references updated."
|
@@ -3449,33 +3435,27 @@ msgstr ""
|
|
3449 |
Â
msgid "ALL settings exported."
|
3450 |
Â
msgstr ""
|
3451 |
Â
|
3452 |
-
#. translators: 1: ERROR tag 2: backup directory name
|
3453 |
Â
#, php-format
|
3454 |
Â
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
3455 |
Â
msgstr ""
|
3456 |
Â
|
3457 |
-
#. translators: 1: ERROR tag 2: backup directory name
|
3458 |
Â
#, php-format
|
3459 |
Â
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
3460 |
Â
msgstr ""
|
3461 |
Â
|
3462 |
-
#. translators: 1: ERROR tag 2: backup file name
|
3463 |
Â
#, php-format
|
3464 |
Â
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
3465 |
Â
msgstr ""
|
3466 |
Â
|
3467 |
-
#. translators: 1: ERROR tag 2: PHP error information
|
3468 |
Â
#, php-format
|
3469 |
Â
msgctxt "error_log"
|
3470 |
Â
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
3471 |
Â
msgstr ""
|
3472 |
Â
|
3473 |
-
#. translators: 1: ERROR tag 2: backup file name 3: error message
|
3474 |
Â
#, php-format
|
3475 |
Â
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
3476 |
Â
msgstr ""
|
3477 |
Â
|
3478 |
-
#. translators: 1: number of option settings
|
3479 |
Â
#, php-format
|
3480 |
Â
msgid "Settings exported; %1$s settings recorded."
|
3481 |
Â
msgstr ""
|
@@ -3489,13 +3469,11 @@ msgstr ""
|
|
3489 |
Â
msgid "The import settings dropdown selection is missing."
|
3490 |
Â
msgstr ""
|
3491 |
Â
|
3492 |
-
#. translators: 1: ERROR tag 2: PHP error information
|
3493 |
Â
#, php-format
|
3494 |
Â
msgctxt "error_log"
|
3495 |
Â
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
3496 |
Â
msgstr ""
|
3497 |
Â
|
3498 |
-
#. translators: 1: ERROR tag 2: backup file name 3: error message
|
3499 |
Â
#, php-format
|
3500 |
Â
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
3501 |
Â
msgstr ""
|
@@ -3508,7 +3486,6 @@ msgctxt "message_list"
|
|
3508 |
Â
msgid "unchanged"
|
3509 |
Â
msgstr ""
|
3510 |
Â
|
3511 |
-
#. translators: 1: number of option settings updated 2: number of option settings unchanged
|
3512 |
Â
#, php-format
|
3513 |
Â
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
3514 |
Â
msgstr ""
|
@@ -3522,6 +3499,15 @@ msgstr ""
|
|
3522 |
Â
msgid "not found"
|
3523 |
Â
msgstr ""
|
3524 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3525 |
Â
msgid "mla_debug empty gallery"
|
3526 |
Â
msgstr ""
|
3527 |
Â
|
@@ -3533,12 +3519,6 @@ msgstr ""
|
|
3533 |
Â
msgid "unknown"
|
3534 |
Â
msgstr ""
|
3535 |
Â
|
3536 |
-
msgid "mla_debug attributes"
|
3537 |
-
msgstr ""
|
3538 |
-
|
3539 |
-
msgid "mla_debug arguments"
|
3540 |
-
msgstr ""
|
3541 |
-
|
3542 |
Â
msgid "mla_debug empty cloud"
|
3543 |
Â
msgstr ""
|
3544 |
Â
|
@@ -3700,7 +3680,6 @@ msgstr ""
|
|
3700 |
Â
msgid "Generate Thumbnails"
|
3701 |
Â
msgstr ""
|
3702 |
Â
|
3703 |
-
#. translators: 1: post ID
|
3704 |
Â
#, php-format
|
3705 |
Â
msgid "Item %1$d"
|
3706 |
Â
msgstr ""
|
@@ -3711,7 +3690,6 @@ msgstr ""
|
|
3711 |
Â
msgid "Featured Image retained."
|
3712 |
Â
msgstr ""
|
3713 |
Â
|
3714 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
3715 |
Â
#, php-format
|
3716 |
Â
msgid "%1$s: %2$sno attached file."
|
3717 |
Â
msgstr ""
|
@@ -3719,22 +3697,18 @@ msgstr ""
|
|
3719 |
Â
msgid "unsupported file type."
|
3720 |
Â
msgstr ""
|
3721 |
Â
|
3722 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
3723 |
Â
#, php-format
|
3724 |
Â
msgid "%1$s: %2$sthumbnail generation failed"
|
3725 |
Â
msgstr ""
|
3726 |
Â
|
3727 |
-
#. translators: 1: Item post ID
|
3728 |
Â
#, php-format
|
3729 |
Â
msgid "%1$sWordPress-style thumbnail generated."
|
3730 |
Â
msgstr ""
|
3731 |
Â
|
3732 |
-
#. translators: 1: ERROR tag 2: Item post ID
|
3733 |
Â
#, php-format
|
3734 |
Â
msgid "%1$s: %2$swp_insert_attachment failed."
|
3735 |
Â
msgstr ""
|
3736 |
Â
|
3737 |
-
#. translators: 1: Item post ID, 2: new thumbnail item ID
|
3738 |
Â
#, php-format
|
3739 |
Â
msgid "%1$sthumbnail generated as new item %2$s."
|
3740 |
Â
msgstr ""
|
@@ -3790,7 +3764,6 @@ msgstr ""
|
|
3790 |
Â
msgid " WPML Media is not active."
|
3791 |
Â
msgstr ""
|
3792 |
Â
|
3793 |
-
#. translators: 1: - 4: page subheader values
|
3794 |
Â
#, php-format
|
3795 |
Â
msgid ""
|
3796 |
Â
"In this tab you can find a number of options for controlling WPML-specific "
|
@@ -3815,7 +3788,6 @@ msgstr ""
|
|
3815 |
Â
msgid "You must resolve these conflicts before this plugin can safely load."
|
3816 |
Â
msgstr ""
|
3817 |
Â
|
3818 |
-
#. translators: Description of the plugin/theme
|
3819 |
Â
msgid ""
|
3820 |
Â
"Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
|
3821 |
Â
"EXIF processing, bulk & quick edit actions and where-used reporting."
|
2 |
Â
msgid ""
|
3 |
Â
msgstr ""
|
4 |
Â
"Project-Id-Version: Media Library Assistant\n"
|
5 |
+
"POT-Creation-Date: 2017-03-18 19:52-0700\n"
|
6 |
Â
"PO-Revision-Date: 2015-08-21 21:38-0800\n"
|
7 |
Â
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
Â
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
10 |
Â
"MIME-Version: 1.0\n"
|
11 |
Â
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
Â
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.11\n"
|
14 |
Â
"X-Poedit-Basepath: ..\n"
|
15 |
Â
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
16 |
Â
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
20 |
Â
"X-Poedit-SearchPath-1: tests\n"
|
21 |
Â
"X-Poedit-SearchPath-2: index.php\n"
|
22 |
Â
|
Â
|
|
23 |
Â
msgid "Media Library Assistant"
|
24 |
Â
msgstr ""
|
25 |
Â
|
26 |
Â
msgid "Assistant"
|
27 |
Â
msgstr ""
|
28 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
29 |
Â
msgid "Title"
|
30 |
Â
msgstr ""
|
31 |
Â
|
53 |
Â
msgid "Draft"
|
54 |
Â
msgstr ""
|
55 |
Â
|
Â
|
|
Â
|
|
56 |
Â
msgid "Y/m/d"
|
57 |
Â
msgstr ""
|
58 |
Â
|
59 |
+
msgid "ERROR"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
Â
msgid "No post ID found"
|
63 |
Â
msgstr ""
|
64 |
Â
|
492 |
Â
msgid "Alignment"
|
493 |
Â
msgstr ""
|
494 |
Â
|
Â
|
|
495 |
Â
#, php-format
|
496 |
Â
msgid ""
|
497 |
Â
"Select a value for the default %1$s option in the Attachment Display "
|
563 |
Â
msgid "Style Template"
|
564 |
Â
msgstr ""
|
565 |
Â
|
Â
|
|
566 |
Â
#, php-format
|
567 |
Â
msgid "Select the default %1$s for your %2$s shortcodes."
|
568 |
Â
msgstr ""
|
658 |
Â
msgid "Enable custom field mapping when adding new media"
|
659 |
Â
msgstr ""
|
660 |
Â
|
661 |
+
msgid "See Help menu."
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
662 |
Â
msgstr ""
|
663 |
Â
|
664 |
Â
msgid "Enable custom field mapping when updating media metadata"
|
665 |
Â
msgstr ""
|
666 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
667 |
Â
msgid ""
|
668 |
Â
"Update the custom field mapping values above, then click Save Changes to "
|
669 |
Â
"make the updates permanent.<br>You can also make temporary updates and click "
|
683 |
Â
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
684 |
Â
msgstr ""
|
685 |
Â
|
686 |
+
msgid ""
|
687 |
+
"Check this option to enable mapping when media (attachments) metadata is "
|
688 |
+
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
689 |
+
"functions are used."
|
690 |
+
msgstr ""
|
691 |
+
|
692 |
Â
msgid ""
|
693 |
Â
"Update the standard field mapping values above, then click <strong>Save "
|
694 |
Â
"Changes</strong> to make the updates permanent.<br>You can also make "
|
893 |
Â
"the existing MLA_DEBUG_LEVEL value."
|
894 |
Â
msgstr ""
|
895 |
Â
|
896 |
+
#, php-format
|
897 |
+
msgctxt "error_log"
|
898 |
+
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
899 |
+
msgstr ""
|
900 |
+
|
901 |
+
#, php-format
|
902 |
+
msgctxt "error_log"
|
903 |
+
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
904 |
+
msgstr ""
|
905 |
+
|
906 |
+
#, php-format
|
907 |
+
msgid "%1$s: Bad specification part \"%2$s\""
|
908 |
+
msgstr ""
|
909 |
+
|
910 |
+
#, php-format
|
911 |
+
msgid "%1$s: Bad specification option \"%2$s\""
|
912 |
+
msgstr ""
|
913 |
+
|
914 |
+
#, php-format
|
915 |
+
msgid "%1$s: Bad specification prefix \"%2$s\""
|
916 |
+
msgstr ""
|
917 |
+
|
918 |
+
msgid "Most Used"
|
919 |
+
msgstr ""
|
920 |
+
|
921 |
+
#, php-format
|
922 |
+
msgid "+ %s"
|
923 |
+
msgstr ""
|
924 |
+
|
925 |
+
msgid "Search"
|
926 |
+
msgstr ""
|
927 |
+
|
928 |
Â
#, php-format
|
929 |
Â
msgctxt "error_log"
|
930 |
Â
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
931 |
Â
msgstr ""
|
932 |
Â
|
Â
|
|
933 |
Â
#, php-format
|
934 |
Â
msgctxt "error_log"
|
935 |
Â
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
936 |
Â
msgstr ""
|
937 |
Â
|
Â
|
|
938 |
Â
#, php-format
|
939 |
Â
msgctxt "error_log"
|
940 |
Â
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
941 |
Â
msgstr ""
|
942 |
Â
|
Â
|
|
943 |
Â
#, php-format
|
944 |
Â
msgctxt "error_log"
|
945 |
Â
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
946 |
Â
msgstr ""
|
947 |
Â
|
Â
|
|
948 |
Â
#, php-format
|
949 |
Â
msgctxt "error_log"
|
950 |
Â
msgid "%1$s: File \"%2$s\", startxref not found."
|
1030 |
Â
msgid "Attached to"
|
1031 |
Â
msgstr ""
|
1032 |
Â
|
Â
|
|
1033 |
Â
#, php-format
|
1034 |
Â
msgctxt "error_log"
|
1035 |
Â
msgid "%1$s: %2$s non-array \"%3$s\""
|
1036 |
Â
msgstr ""
|
1037 |
Â
|
Â
|
|
1038 |
Â
#, php-format
|
1039 |
Â
msgctxt "error_log"
|
1040 |
Â
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
1043 |
Â
msgid "DEBUG"
|
1044 |
Â
msgstr ""
|
1045 |
Â
|
Â
|
|
1046 |
Â
#, php-format
|
1047 |
Â
msgctxt "error_log"
|
1048 |
Â
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
1049 |
Â
msgstr ""
|
1050 |
Â
|
Â
|
|
1051 |
Â
#, php-format
|
1052 |
Â
msgctxt "error_log"
|
1053 |
Â
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
1054 |
Â
msgstr ""
|
1055 |
Â
|
Â
|
|
1056 |
Â
#, php-format
|
1057 |
Â
msgctxt "error_log"
|
1058 |
Â
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
1059 |
Â
msgstr ""
|
1060 |
Â
|
Â
|
|
1061 |
Â
#, php-format
|
1062 |
Â
msgctxt "error_log"
|
1063 |
Â
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
1064 |
Â
msgstr ""
|
1065 |
Â
|
Â
|
|
1066 |
Â
#, php-format
|
1067 |
Â
msgctxt "error_log"
|
1068 |
Â
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
1069 |
Â
msgstr ""
|
1070 |
Â
|
Â
|
|
1071 |
Â
#, php-format
|
1072 |
Â
msgctxt "error_log"
|
1073 |
Â
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
1074 |
Â
msgstr ""
|
1075 |
Â
|
Â
|
|
1076 |
Â
#, php-format
|
1077 |
Â
msgctxt "error_log"
|
1078 |
Â
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
1079 |
Â
msgstr ""
|
1080 |
Â
|
Â
|
|
1081 |
Â
#, php-format
|
1082 |
Â
msgctxt "error_log"
|
1083 |
Â
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
1098 |
Â
msgid "INVALID PARENT"
|
1099 |
Â
msgstr ""
|
1100 |
Â
|
Â
|
|
1101 |
Â
#, php-format
|
1102 |
Â
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
1103 |
Â
msgstr ""
|
1104 |
Â
|
Â
|
|
1105 |
Â
#, php-format
|
1106 |
Â
msgctxt "error_log"
|
1107 |
Â
msgid ""
|
1108 |
Â
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
1109 |
Â
msgstr ""
|
1110 |
Â
|
Â
|
|
1111 |
Â
#, php-format
|
1112 |
Â
msgctxt "error_log"
|
1113 |
Â
msgid ""
|
1114 |
Â
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
1115 |
Â
msgstr ""
|
1116 |
Â
|
Â
|
|
1117 |
Â
#, php-format
|
1118 |
Â
msgctxt "error_log"
|
1119 |
Â
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
1120 |
Â
msgstr ""
|
1121 |
Â
|
Â
|
|
1122 |
Â
#, php-format
|
1123 |
Â
msgctxt "error_log"
|
1124 |
Â
msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
|
1127 |
Â
msgid "Test; no closing parenthesis "
|
1128 |
Â
msgstr ""
|
1129 |
Â
|
Â
|
|
1130 |
Â
#, php-format
|
1131 |
Â
msgctxt "error_log"
|
1132 |
Â
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
1133 |
Â
msgstr ""
|
1134 |
Â
|
Â
|
|
1135 |
Â
#, php-format
|
1136 |
Â
msgctxt "error_log"
|
1137 |
Â
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
1138 |
Â
msgstr ""
|
1139 |
Â
|
Â
|
|
1140 |
Â
#, php-format
|
1141 |
Â
msgctxt "error_log"
|
1142 |
Â
msgid ""
|
1144 |
Â
"\"."
|
1145 |
Â
msgstr ""
|
1146 |
Â
|
Â
|
|
1147 |
Â
#, php-format
|
1148 |
Â
msgctxt "error_log"
|
1149 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
1150 |
Â
msgstr ""
|
1151 |
Â
|
Â
|
|
1152 |
Â
#, php-format
|
1153 |
Â
msgctxt "error_log"
|
1154 |
Â
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
1168 |
Â
msgid "No"
|
1169 |
Â
msgstr ""
|
1170 |
Â
|
Â
|
|
1171 |
Â
#, php-format
|
1172 |
Â
msgid "Deleting %1$s"
|
1173 |
Â
msgstr ""
|
1174 |
Â
|
Â
|
|
1175 |
Â
#, php-format
|
1176 |
Â
msgid "%1$s: meta:%2$s not found"
|
1177 |
Â
msgstr ""
|
1178 |
Â
|
Â
|
|
Â
|
|
Â
|
|
1179 |
Â
#, php-format
|
1180 |
Â
msgid "Adding %1$s = %2$s"
|
1181 |
Â
msgstr ""
|
1182 |
Â
|
Â
|
|
1183 |
Â
#, php-format
|
1184 |
Â
msgid "%1$s: Adding meta:%2$s; not found"
|
1185 |
Â
msgstr ""
|
1186 |
Â
|
Â
|
|
1187 |
Â
#, php-format
|
1188 |
Â
msgid "Deleting Null meta:%1$s"
|
1189 |
Â
msgstr ""
|
1190 |
Â
|
Â
|
|
1191 |
Â
#, php-format
|
1192 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
1193 |
Â
msgstr ""
|
1194 |
Â
|
Â
|
|
1195 |
Â
#, php-format
|
1196 |
Â
msgid "%1$s: Changing meta:%2$s; not found"
|
1197 |
Â
msgstr ""
|
1198 |
Â
|
Â
|
|
1199 |
Â
#, php-format
|
1200 |
Â
msgid "Deleting old %1$s values"
|
1201 |
Â
msgstr ""
|
1202 |
Â
|
Â
|
|
1203 |
Â
#, php-format
|
1204 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
1205 |
Â
msgstr ""
|
1207 |
Â
msgid "Could not retrieve Attachment."
|
1208 |
Â
msgstr ""
|
1209 |
Â
|
Â
|
|
1210 |
Â
#, php-format
|
1211 |
Â
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
1212 |
Â
msgstr ""
|
1213 |
Â
|
Â
|
|
1214 |
Â
#, php-format
|
1215 |
Â
msgid "Deleting ALT Text, was \"%1$s\""
|
1216 |
Â
msgstr ""
|
1217 |
Â
|
Â
|
|
1218 |
Â
#, php-format
|
1219 |
Â
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
1220 |
Â
msgstr ""
|
1221 |
Â
|
Â
|
|
1222 |
Â
#, php-format
|
1223 |
Â
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
1224 |
Â
msgstr ""
|
1238 |
Â
msgid "Pings"
|
1239 |
Â
msgstr ""
|
1240 |
Â
|
1241 |
+
#, php-format
|
1242 |
+
msgid "You cannot assign \"%1$s\" terms"
|
1243 |
+
msgstr ""
|
1244 |
+
|
1245 |
+
msgctxt "tag delimiter"
|
1246 |
+
msgid ","
|
1247 |
+
msgstr ""
|
1248 |
+
|
1249 |
Â
msgid "Adding"
|
1250 |
Â
msgstr ""
|
1251 |
Â
|
1258 |
Â
msgid "Ignoring"
|
1259 |
Â
msgstr ""
|
1260 |
Â
|
Â
|
|
1261 |
Â
#, php-format
|
1262 |
Â
msgid "%1$s \"%2$s\" terms"
|
1263 |
Â
msgstr ""
|
1264 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1265 |
Â
#, php-format
|
1266 |
Â
msgid "Item %1$d, no changes detected."
|
1267 |
Â
msgstr ""
|
1268 |
Â
|
Â
|
|
1269 |
Â
#, php-format
|
1270 |
Â
msgid "Item %1$d updated."
|
1271 |
Â
msgstr ""
|
1272 |
Â
|
Â
|
|
1273 |
Â
#, php-format
|
1274 |
Â
msgid "%1$s: Item %2$d update failed."
|
1275 |
Â
msgstr ""
|
1337 |
Â
msgid "IPTC/EXIF mapping updated."
|
1338 |
Â
msgstr ""
|
1339 |
Â
|
Â
|
|
1340 |
Â
msgid "M j, Y @ G:i"
|
1341 |
Â
msgstr ""
|
1342 |
Â
|
1361 |
Â
msgid "Attachment Metadata"
|
1362 |
Â
msgstr ""
|
1363 |
Â
|
Â
|
|
1364 |
Â
#, php-format
|
1365 |
Â
msgctxt "error_log"
|
1366 |
Â
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
1382 |
Â
msgid "All"
|
1383 |
Â
msgstr ""
|
1384 |
Â
|
1385 |
+
msgctxt "show_option_none"
|
1386 |
+
msgid "No"
|
1387 |
+
msgstr ""
|
1388 |
+
|
1389 |
Â
msgid "List View"
|
1390 |
Â
msgstr ""
|
1391 |
Â
|
1395 |
Â
msgid "Not Supported"
|
1396 |
Â
msgstr ""
|
1397 |
Â
|
Â
|
|
1398 |
Â
#, php-format
|
1399 |
Â
msgid "column_default: %1$s, %2$s"
|
1400 |
Â
msgstr ""
|
1450 |
Â
msgid "Unpublished"
|
1451 |
Â
msgstr ""
|
1452 |
Â
|
Â
|
|
1453 |
Â
#, php-format
|
1454 |
Â
msgid "%1$s from now"
|
1455 |
Â
msgstr ""
|
1456 |
Â
|
Â
|
|
1457 |
Â
#, php-format
|
1458 |
Â
msgid "%1$s ago"
|
1459 |
Â
msgstr ""
|
1515 |
Â
msgstr[0] ""
|
1516 |
Â
msgstr[1] ""
|
1517 |
Â
|
Â
|
|
1518 |
Â
#, php-format
|
1519 |
Â
msgid "Item %1$d moved to Trash."
|
1520 |
Â
msgstr ""
|
1525 |
Â
msgid "You are not allowed to edit Attachment: "
|
1526 |
Â
msgstr ""
|
1527 |
Â
|
Â
|
|
1528 |
Â
#, php-format
|
1529 |
Â
msgid "%1$s: Unknown bulk action %2$s"
|
1530 |
Â
msgstr ""
|
1532 |
Â
msgid "no changes detected"
|
1533 |
Â
msgstr ""
|
1534 |
Â
|
Â
|
|
1535 |
Â
#, php-format
|
1536 |
Â
msgid "Bulk Action %1$s - no items selected."
|
1537 |
Â
msgstr ""
|
1539 |
Â
msgid "You do not have permission to manage attachments."
|
1540 |
Â
msgstr ""
|
1541 |
Â
|
Â
|
|
1542 |
Â
#, php-format
|
1543 |
Â
msgctxt "deleted items"
|
1544 |
Â
msgid "%s item deleted."
|
1552 |
Â
msgid "Empty Terms Search; ignored"
|
1553 |
Â
msgstr ""
|
1554 |
Â
|
Â
|
|
Â
|
|
1555 |
Â
#, php-format
|
1556 |
Â
msgid "Unknown mla_admin_action - \"%1$s\""
|
1557 |
Â
msgstr ""
|
1589 |
Â
msgid "You are not allowed to delete this item."
|
1590 |
Â
msgstr ""
|
1591 |
Â
|
Â
|
|
1592 |
Â
#, php-format
|
1593 |
Â
msgid "%1$s: Item %2$d could NOT be deleted."
|
1594 |
Â
msgstr ""
|
1595 |
Â
|
Â
|
|
1596 |
Â
#, php-format
|
1597 |
Â
msgid "Item %1$d permanently deleted."
|
1598 |
Â
msgstr ""
|
1600 |
Â
msgid "You are not allowed to move this item out of the Trash."
|
1601 |
Â
msgstr ""
|
1602 |
Â
|
Â
|
|
1603 |
Â
#, php-format
|
1604 |
Â
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
1605 |
Â
msgstr ""
|
1606 |
Â
|
Â
|
|
1607 |
Â
#, php-format
|
1608 |
Â
msgid "Item %1$d restored from Trash."
|
1609 |
Â
msgstr ""
|
1611 |
Â
msgid "You are not allowed to move this item to the Trash."
|
1612 |
Â
msgstr ""
|
1613 |
Â
|
Â
|
|
1614 |
Â
#, php-format
|
1615 |
Â
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
1616 |
Â
msgstr ""
|
1621 |
Â
msgid "Tags"
|
1622 |
Â
msgstr ""
|
1623 |
Â
|
Â
|
|
Â
|
|
Â
|
|
1624 |
Â
#, php-format
|
1625 |
Â
msgid "Add New %1$s"
|
1626 |
Â
msgstr ""
|
1631 |
Â
msgid "Show all dates"
|
1632 |
Â
msgstr ""
|
1633 |
Â
|
Â
|
|
1634 |
Â
#, php-format
|
1635 |
Â
msgid "%1$s %2$d"
|
1636 |
Â
msgstr ""
|
1733 |
Â
msgid "Ignoring specification for Post MIME Type; using slug"
|
1734 |
Â
msgstr ""
|
1735 |
Â
|
Â
|
|
1736 |
Â
#, php-format
|
1737 |
Â
msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
|
1738 |
Â
msgstr ""
|
1740 |
Â
msgid "Slug"
|
1741 |
Â
msgstr ""
|
1742 |
Â
|
Â
|
|
1743 |
Â
#, php-format
|
1744 |
Â
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
1745 |
Â
msgstr ""
|
1746 |
Â
|
Â
|
|
1747 |
Â
#, php-format
|
1748 |
Â
msgid "Edit view \"%1$s\"; added"
|
1749 |
Â
msgstr ""
|
1750 |
Â
|
Â
|
|
1751 |
Â
#, php-format
|
1752 |
Â
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
1753 |
Â
msgstr ""
|
1754 |
Â
|
Â
|
|
1755 |
Â
#, php-format
|
1756 |
Â
msgid "Edit view \"%1$s\"; no changes detected"
|
1757 |
Â
msgstr ""
|
1758 |
Â
|
Â
|
|
1759 |
Â
#, php-format
|
1760 |
Â
msgid "Edit view \"%1$s\"; updated"
|
1761 |
Â
msgstr ""
|
1762 |
Â
|
Â
|
|
1763 |
Â
#, php-format
|
1764 |
Â
msgid "View \"%1$s\" reverted to standard"
|
1765 |
Â
msgstr ""
|
1766 |
Â
|
Â
|
|
1767 |
Â
#, php-format
|
1768 |
Â
msgid "View \"%1$s\" deleted"
|
1769 |
Â
msgstr ""
|
1770 |
Â
|
Â
|
|
1771 |
Â
#, php-format
|
1772 |
Â
msgid "%1$s: Did not find view \"%2$s\""
|
1773 |
Â
msgstr ""
|
1824 |
Â
msgid "Extension"
|
1825 |
Â
msgstr ""
|
1826 |
Â
|
Â
|
|
1827 |
Â
#, php-format
|
1828 |
Â
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
1829 |
Â
msgstr ""
|
1831 |
Â
msgid "MIME type is required"
|
1832 |
Â
msgstr ""
|
1833 |
Â
|
Â
|
|
1834 |
Â
#, php-format
|
1835 |
Â
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
1836 |
Â
msgstr ""
|
1837 |
Â
|
Â
|
|
1838 |
Â
#, php-format
|
1839 |
Â
msgid "Upload MIME Type \"%1$s\"; added"
|
1840 |
Â
msgstr ""
|
1842 |
Â
msgid "Cannot update Upload MIME Types"
|
1843 |
Â
msgstr ""
|
1844 |
Â
|
Â
|
|
1845 |
Â
#, php-format
|
1846 |
Â
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
1847 |
Â
msgstr ""
|
1848 |
Â
|
Â
|
|
1849 |
Â
#, php-format
|
1850 |
Â
msgid "Edit type \"%1$s\"; no changes detected"
|
1851 |
Â
msgstr ""
|
1852 |
Â
|
Â
|
|
1853 |
Â
#, php-format
|
1854 |
Â
msgid "Edit type \"%1$s\"; updated"
|
1855 |
Â
msgstr ""
|
1856 |
Â
|
Â
|
|
1857 |
Â
#, php-format
|
1858 |
Â
msgid "Upload MIME Type \"%1$s\"; reverted to standard"
|
1859 |
Â
msgstr ""
|
1860 |
Â
|
Â
|
|
1861 |
Â
#, php-format
|
1862 |
Â
msgid "Upload MIME Type \"%1$s\"; deleted"
|
1863 |
Â
msgstr ""
|
1864 |
Â
|
Â
|
|
1865 |
Â
#, php-format
|
1866 |
Â
msgid "%1$s: Did not find Upload type \"%2$s\""
|
1867 |
Â
msgstr ""
|
1927 |
Â
msgid "Attachments"
|
1928 |
Â
msgstr ""
|
1929 |
Â
|
Â
|
|
1930 |
Â
#, php-format
|
1931 |
Â
msgctxt "error_log"
|
1932 |
Â
msgid ""
|
1951 |
Â
msgid "tpls/mla-option-templates.tpl not found"
|
1952 |
Â
msgstr ""
|
1953 |
Â
|
Â
|
|
1954 |
Â
#, php-format
|
1955 |
Â
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
1956 |
Â
msgstr ""
|
1979 |
Â
msgid "Taxonomy"
|
1980 |
Â
msgstr ""
|
1981 |
Â
|
Â
|
|
1982 |
Â
#, php-format
|
1983 |
Â
msgid "List Filter ignored; %1$s not supported."
|
1984 |
Â
msgstr ""
|
1985 |
Â
|
Â
|
|
1986 |
Â
#, php-format
|
1987 |
Â
msgid "Inline Edit ignored; %1$s not supported."
|
1988 |
Â
msgstr ""
|
1989 |
Â
|
Â
|
|
1990 |
Â
#, php-format
|
1991 |
Â
msgid "Term Search ignored; %1$s not supported."
|
1992 |
Â
msgstr ""
|
1993 |
Â
|
Â
|
|
1994 |
Â
#, php-format
|
1995 |
Â
msgid "Checklist ignored; %1$s not supported."
|
1996 |
Â
msgstr ""
|
1997 |
Â
|
Â
|
|
1998 |
Â
#, php-format
|
1999 |
Â
msgid "Checked On Top ignored; %1$s not supported."
|
2000 |
Â
msgstr ""
|
2001 |
Â
|
Â
|
|
2002 |
Â
#, php-format
|
2003 |
Â
msgid "Update custom %1$s"
|
2004 |
Â
msgstr ""
|
2005 |
Â
|
Â
|
|
2006 |
Â
#, php-format
|
2007 |
Â
msgid "Reset custom %1$s"
|
2008 |
Â
msgstr ""
|
2031 |
Â
msgid "Template (see below)"
|
2032 |
Â
msgstr ""
|
2033 |
Â
|
Â
|
|
2034 |
Â
#, php-format
|
2035 |
Â
msgid "%1$s: New field %2$s already exists."
|
2036 |
Â
msgstr ""
|
2037 |
Â
|
Â
|
|
2038 |
Â
#, php-format
|
2039 |
Â
msgid "Adding new field %1$s."
|
2040 |
Â
msgstr ""
|
2041 |
Â
|
Â
|
|
2042 |
Â
#, php-format
|
2043 |
Â
msgid "Adding new rule for %1$s."
|
2044 |
Â
msgstr ""
|
2045 |
Â
|
Â
|
|
2046 |
Â
#, php-format
|
2047 |
Â
msgid "Deleting rule for %1$s."
|
2048 |
Â
msgstr ""
|
2049 |
Â
|
Â
|
|
2050 |
Â
#, php-format
|
2051 |
Â
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2052 |
Â
msgstr ""
|
2060 |
Â
msgid "Keep to Replace"
|
2061 |
Â
msgstr ""
|
2062 |
Â
|
Â
|
|
2063 |
Â
#, php-format
|
2064 |
Â
msgid "%1$s changing %2$s value from %3$s."
|
2065 |
Â
msgstr ""
|
2166 |
Â
msgid "Custom field mapping settings reset failed."
|
2167 |
Â
msgstr ""
|
2168 |
Â
|
Â
|
|
2169 |
Â
#, php-format
|
2170 |
Â
msgid "%1$s: No old values for %2$s."
|
2171 |
Â
msgstr ""
|
2197 |
Â
msgid "EXIF/Template Value"
|
2198 |
Â
msgstr ""
|
2199 |
Â
|
Â
|
|
2200 |
Â
#, php-format
|
2201 |
Â
msgid "%1$s: Render unknown custom %2$s."
|
2202 |
Â
msgstr ""
|
2203 |
Â
|
Â
|
|
2204 |
Â
#, php-format
|
2205 |
Â
msgid "%1$s: Update/delete unknown custom %2$s."
|
2206 |
Â
msgstr ""
|
2214 |
Â
msgid "IPTC/EXIF no mapping changes detected."
|
2215 |
Â
msgstr ""
|
2216 |
Â
|
Â
|
|
2217 |
Â
#, php-format
|
2218 |
Â
msgid "%1$s settings saved."
|
2219 |
Â
msgstr ""
|
2221 |
Â
msgid "Standard field"
|
2222 |
Â
msgstr ""
|
2223 |
Â
|
Â
|
|
2224 |
Â
#, php-format
|
2225 |
Â
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
2226 |
Â
msgstr ""
|
2231 |
Â
msgid "Custom field"
|
2232 |
Â
msgstr ""
|
2233 |
Â
|
Â
|
|
2234 |
Â
#, php-format
|
2235 |
Â
msgid "%1$s: Reset unknown custom %2$s"
|
2236 |
Â
msgstr ""
|
2337 |
Â
msgid "Language Options"
|
2338 |
Â
msgstr ""
|
2339 |
Â
|
Â
|
|
2340 |
Â
#, php-format
|
2341 |
Â
msgid ""
|
2342 |
Â
"In this tab you can find a number of options for controlling Polylang-"
|
2345 |
Â
"make."
|
2346 |
Â
msgstr ""
|
2347 |
Â
|
Â
|
|
2348 |
Â
#, php-format
|
2349 |
Â
msgid ""
|
2350 |
Â
"You can find more information about multilingual features in the %1$s "
|
2369 |
Â
msgid "Language settings saved."
|
2370 |
Â
msgstr ""
|
2371 |
Â
|
Â
|
|
2372 |
Â
#, php-format
|
2373 |
Â
msgctxt "message_list"
|
2374 |
Â
msgid "delete_option \"%1$s\""
|
2398 |
Â
msgid "No custom field mapping rules to process."
|
2399 |
Â
msgstr ""
|
2400 |
Â
|
Â
|
|
2401 |
Â
#, php-format
|
2402 |
Â
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
2403 |
Â
msgstr ""
|
2404 |
Â
|
Â
|
|
2405 |
Â
#, php-format
|
2406 |
Â
msgid ""
|
2407 |
Â
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
2408 |
Â
msgstr ""
|
2409 |
Â
|
2410 |
+
msgid ": No custom field name selected/entered"
|
2411 |
+
msgstr ""
|
2412 |
+
|
2413 |
+
msgid ": Rule already exists for the new name"
|
2414 |
+
msgstr ""
|
2415 |
+
|
2416 |
+
msgid "Rule added"
|
2417 |
+
msgstr ""
|
2418 |
+
|
2419 |
+
msgid ": Rule addition failed"
|
2420 |
+
msgstr ""
|
2421 |
+
|
2422 |
+
msgid ": Invalid rule name must be changed"
|
2423 |
+
msgstr ""
|
2424 |
+
|
2425 |
+
msgid ": Rule update failed"
|
2426 |
+
msgstr ""
|
2427 |
+
|
2428 |
+
msgid "Rule updated"
|
2429 |
+
msgstr ""
|
2430 |
+
|
2431 |
+
#, php-format
|
2432 |
+
msgid "Custom Field Rule \"%1$s\" deleted."
|
2433 |
+
msgstr ""
|
2434 |
+
|
2435 |
+
msgid "Edit Rule"
|
2436 |
+
msgstr ""
|
2437 |
+
|
2438 |
+
msgid ""
|
2439 |
+
"This is the name of the custom field to which the rule applies.<br>Only one "
|
2440 |
+
"rule is allowed for each custom field."
|
2441 |
+
msgstr ""
|
2442 |
+
|
2443 |
+
msgid "Change Name"
|
2444 |
+
msgstr ""
|
2445 |
+
|
2446 |
+
msgid "Cancel Name Change"
|
2447 |
+
msgstr ""
|
2448 |
+
|
2449 |
+
msgid "Enter new field"
|
2450 |
+
msgstr ""
|
2451 |
+
|
2452 |
+
msgid "Cancel new field"
|
2453 |
+
msgstr ""
|
2454 |
+
|
2455 |
+
msgid "Meta/Template"
|
2456 |
+
msgstr ""
|
2457 |
+
|
2458 |
+
msgid "WordPress attachment metadata element or Content Template"
|
2459 |
+
msgstr ""
|
2460 |
+
|
2461 |
+
msgid "Display as Media/Assistant column"
|
2462 |
+
msgstr ""
|
2463 |
+
|
2464 |
+
msgid "Add to Media/Assistant Quick Edit area"
|
2465 |
+
msgstr ""
|
2466 |
+
|
2467 |
+
msgid "Add to Media/Assistant Bulk Edit area"
|
2468 |
+
msgstr ""
|
2469 |
+
|
2470 |
+
msgid "Delete NULL Values"
|
2471 |
+
msgstr ""
|
2472 |
+
|
2473 |
+
msgid "Do not store empty custom field values"
|
2474 |
+
msgstr ""
|
2475 |
+
|
2476 |
+
msgid "Active"
|
2477 |
+
msgstr ""
|
2478 |
+
|
2479 |
+
msgid "Inactive"
|
2480 |
+
msgstr ""
|
2481 |
+
|
2482 |
+
#, php-format
|
2483 |
+
msgid "Custom Field Rule \"%1$s\": %2$s"
|
2484 |
+
msgstr ""
|
2485 |
+
|
2486 |
+
msgid "Edit Custom Field Rule cancelled."
|
2487 |
+
msgstr ""
|
2488 |
+
|
2489 |
+
#, php-format
|
2490 |
+
msgid "Unknown bulk action %1$s"
|
2491 |
+
msgstr ""
|
2492 |
+
|
2493 |
Â
msgid "Custom Field Mapping Progress"
|
2494 |
Â
msgstr ""
|
2495 |
Â
|
2520 |
Â
msgid "Custom Field and Attachment Metadata Processing Options"
|
2521 |
Â
msgstr ""
|
2522 |
Â
|
Â
|
|
Â
|
|
2523 |
Â
msgid ""
|
2524 |
Â
"In this tab you can define the rules for mapping several types of image "
|
2525 |
Â
"metadata to WordPress custom fields. You can also use this screen to define "
|
2526 |
Â
"rules for adding or updating fields within the WordPress-supplied "
|
2527 |
Â
"\"Attachment Metadata\", stored in the \"_wp_attachment_metadata\" custom "
|
2528 |
+
"field."
|
2529 |
Â
msgstr ""
|
2530 |
Â
|
2531 |
+
msgid ""
|
2532 |
+
"You can find more information about using the controls in this tab to define "
|
2533 |
+
"mapping rules and apply them by clicking the \"Help\" control in the upper-"
|
2534 |
+
"right corner of the screen."
|
2535 |
Â
msgstr ""
|
2536 |
Â
|
2537 |
+
msgid "Search results for"
|
2538 |
Â
msgstr ""
|
2539 |
Â
|
2540 |
+
msgid "Search Rules Text"
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2541 |
Â
msgstr ""
|
2542 |
Â
|
2543 |
+
msgid "Search Rules"
|
2544 |
Â
msgstr ""
|
2545 |
Â
|
2546 |
+
msgid "Execute All Rules"
|
2547 |
Â
msgstr ""
|
2548 |
Â
|
2549 |
+
msgid "Add New Rule"
|
2550 |
Â
msgstr ""
|
2551 |
Â
|
2552 |
+
msgid "Nothing to execute"
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2553 |
Â
msgstr ""
|
2554 |
Â
|
2555 |
+
msgid "Rule ID not found"
|
2556 |
+
msgstr ""
|
2557 |
+
|
2558 |
+
msgid "Rule not found"
|
2559 |
+
msgstr ""
|
2560 |
+
|
2561 |
+
msgctxt "list_table_column"
|
2562 |
+
msgid "Bad Name"
|
2563 |
+
msgstr ""
|
2564 |
+
|
2565 |
+
msgctxt "list_table_column"
|
2566 |
+
msgid "Meta/Template"
|
2567 |
+
msgstr ""
|
2568 |
+
|
2569 |
+
msgctxt "list_table_column"
|
2570 |
+
msgid "Visibility"
|
2571 |
+
msgstr ""
|
2572 |
+
|
2573 |
+
msgctxt "list_table_column"
|
2574 |
+
msgid "Existing Text"
|
2575 |
+
msgstr ""
|
2576 |
+
|
2577 |
+
msgctxt "list_table_column"
|
2578 |
+
msgid "Delete NULL"
|
2579 |
+
msgstr ""
|
2580 |
+
|
2581 |
+
msgctxt "list_table_column"
|
2582 |
+
msgid "Format"
|
2583 |
+
msgstr ""
|
2584 |
+
|
2585 |
+
msgctxt "list_table_column"
|
2586 |
+
msgid "Option"
|
2587 |
+
msgstr ""
|
2588 |
+
|
2589 |
+
msgid "Execute"
|
2590 |
+
msgstr ""
|
2591 |
+
|
2592 |
+
msgid "Purge custom field values"
|
2593 |
+
msgstr ""
|
2594 |
+
|
2595 |
+
msgid "Purge Values"
|
2596 |
+
msgstr ""
|
2597 |
+
|
2598 |
+
msgid "Any Status"
|
2599 |
+
msgstr ""
|
2600 |
+
|
2601 |
+
msgctxt "table_view_singular"
|
2602 |
+
msgid "MLA Column"
|
2603 |
+
msgstr ""
|
2604 |
+
|
2605 |
+
msgctxt "table_view_plural"
|
2606 |
+
msgid "MLA Column"
|
2607 |
+
msgstr ""
|
2608 |
+
|
2609 |
+
msgctxt "table_view_singular"
|
2610 |
+
msgid "Quick Edit"
|
2611 |
+
msgstr ""
|
2612 |
+
|
2613 |
+
msgctxt "table_view_plural"
|
2614 |
+
msgid "Quick Edit"
|
2615 |
+
msgstr ""
|
2616 |
+
|
2617 |
+
msgctxt "table_view_singular"
|
2618 |
+
msgid "Bulk Edit"
|
2619 |
+
msgstr ""
|
2620 |
+
|
2621 |
+
msgctxt "table_view_plural"
|
2622 |
+
msgid "Bulk Edit"
|
2623 |
+
msgstr ""
|
2624 |
+
|
2625 |
+
msgctxt "table_view_singular"
|
2626 |
+
msgid "Read Only"
|
2627 |
+
msgstr ""
|
2628 |
+
|
2629 |
+
msgctxt "table_view_plural"
|
2630 |
+
msgid "Read Only"
|
2631 |
Â
msgstr ""
|
2632 |
Â
|
Â
|
|
2633 |
Â
#, php-format
|
2634 |
Â
msgid "Example plugin \"%1$s\" not found"
|
2635 |
Â
msgstr ""
|
2636 |
Â
|
Â
|
|
2637 |
Â
#, php-format
|
2638 |
Â
msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
|
2639 |
Â
msgstr ""
|
2654 |
Â
"the plugins you must go to the Plugins/Installed Plugins admin submenu."
|
2655 |
Â
msgstr ""
|
2656 |
Â
|
Â
|
|
2657 |
Â
#, php-format
|
2658 |
Â
msgid ""
|
2659 |
Â
"You can find more information about using the example plugins in the %1$s "
|
2679 |
Â
msgid "Searches Name, Description, File Name and Tags"
|
2680 |
Â
msgstr ""
|
2681 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2682 |
Â
#, php-format
|
2683 |
Â
msgid "Empty mla_item_ID - \"%1$s\""
|
2684 |
Â
msgstr ""
|
2711 |
Â
msgid "View this item"
|
2712 |
Â
msgstr ""
|
2713 |
Â
|
Â
|
|
2714 |
Â
#, php-format
|
2715 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken. Error: %2$s"
|
2716 |
Â
msgstr ""
|
2717 |
Â
|
Â
|
|
2718 |
Â
#, php-format
|
2719 |
Â
msgid "Example plugin \"%1$s\" fs_connect failed; no action taken"
|
2720 |
Â
msgstr ""
|
2721 |
Â
|
Â
|
|
2722 |
Â
#, php-format
|
2723 |
Â
msgid ""
|
2724 |
Â
"Example plugin \"%1$s\" install_package failed; no action taken. Error: %2$s"
|
2725 |
Â
msgstr ""
|
2726 |
Â
|
Â
|
|
2727 |
Â
#, php-format
|
2728 |
Â
msgid "Example plugin \"%1$s\" remove old single file failed."
|
2729 |
Â
msgstr ""
|
2730 |
Â
|
Â
|
|
2731 |
Â
#, php-format
|
2732 |
Â
msgid "Example plugin \"%1$s\" already installed; no action taken"
|
2733 |
Â
msgstr ""
|
2734 |
Â
|
Â
|
|
2735 |
Â
#, php-format
|
2736 |
Â
msgid "Example plugin \"%1$s\" installed"
|
2737 |
Â
msgstr ""
|
2738 |
Â
|
Â
|
|
2739 |
Â
#, php-format
|
2740 |
Â
msgid "Example plugin \"%1$s\" not installed; no action taken"
|
2741 |
Â
msgstr ""
|
2742 |
Â
|
Â
|
|
2743 |
Â
#, php-format
|
2744 |
Â
msgid "Example plugin \"%1$s\" updated"
|
2745 |
Â
msgstr ""
|
2747 |
Â
msgid "Network"
|
2748 |
Â
msgstr ""
|
2749 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2750 |
Â
msgctxt "table_view_singular"
|
2751 |
Â
msgid "Installed"
|
2752 |
Â
msgstr ""
|
2771 |
Â
msgid "Uninstalled"
|
2772 |
Â
msgstr ""
|
2773 |
Â
|
Â
|
|
2774 |
Â
#, php-format
|
2775 |
Â
msgid "%1$s: No %2$s settings to process."
|
2776 |
Â
msgstr ""
|
2792 |
Â
"click \"Save Changes\" at the bottom of this page."
|
2793 |
Â
msgstr ""
|
2794 |
Â
|
2795 |
+
#, php-format
|
2796 |
+
msgid ""
|
2797 |
+
"You can find more information about using the controls in this tab to define "
|
2798 |
+
"mapping rules and apply them in the %1$s section of the Documentation."
|
2799 |
+
msgstr ""
|
2800 |
+
|
2801 |
Â
msgid "IPTC/EXIF Options documentation"
|
2802 |
Â
msgstr ""
|
2803 |
Â
|
2813 |
Â
msgid "Map All Attachments, Taxonomy Terms Now"
|
2814 |
Â
msgstr ""
|
2815 |
Â
|
2816 |
+
msgid "Custom field mapping"
|
2817 |
+
msgstr ""
|
2818 |
+
|
2819 |
Â
msgid "Map All Attachments, Custom Fields Now"
|
2820 |
Â
msgstr ""
|
2821 |
Â
|
Â
|
|
2822 |
Â
#, php-format
|
2823 |
Â
msgid ""
|
2824 |
Â
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
2826 |
Â
"performed.</strong>"
|
2827 |
Â
msgstr ""
|
2828 |
Â
|
Â
|
|
2829 |
Â
#, php-format
|
2830 |
Â
msgid "%1$s: %2$s type or shortcode not specified."
|
2831 |
Â
msgstr ""
|
2836 |
Â
msgid "style template"
|
2837 |
Â
msgstr ""
|
2838 |
Â
|
Â
|
|
2839 |
Â
#, php-format
|
2840 |
Â
msgid "%1$s: Blank %2$s name, reverting to \"%3$s\"."
|
2841 |
Â
msgstr ""
|
2842 |
Â
|
Â
|
|
2843 |
Â
#, php-format
|
2844 |
Â
msgid "%1$s: Reserved %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2845 |
Â
msgstr ""
|
2846 |
Â
|
Â
|
|
2847 |
Â
#, php-format
|
2848 |
Â
msgid "%1$s: Duplicate new %2$s name \"%3$s\", reverting to \"%4$s\"."
|
2849 |
Â
msgstr ""
|
2850 |
Â
|
Â
|
|
2851 |
Â
#, php-format
|
2852 |
Â
msgid "%1$s: New %2$s \"%3$s\" has no content; not added."
|
2853 |
Â
msgstr ""
|
2854 |
Â
|
Â
|
|
2855 |
Â
#, php-format
|
2856 |
Â
msgid "%1$s \"%2$s\" added."
|
2857 |
Â
msgstr ""
|
2858 |
Â
|
Â
|
|
2859 |
Â
#, php-format
|
2860 |
Â
msgid "%1$s \"%2$s\" copied to \"%3$s\"."
|
2861 |
Â
msgstr ""
|
2866 |
Â
msgid "markup template name"
|
2867 |
Â
msgstr ""
|
2868 |
Â
|
Â
|
|
2869 |
Â
#, php-format
|
2870 |
Â
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
2871 |
Â
msgstr ""
|
2872 |
Â
|
Â
|
|
2873 |
Â
#, php-format
|
2874 |
Â
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
2875 |
Â
msgstr ""
|
2876 |
Â
|
Â
|
|
2877 |
Â
#, php-format
|
2878 |
Â
msgid "%1$s: Reserved %2$s \"%3$s\", reverting to \"%4$s\"."
|
2879 |
Â
msgstr ""
|
2880 |
Â
|
Â
|
|
2881 |
Â
#, php-format
|
2882 |
Â
msgctxt "message_list"
|
2883 |
Â
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
2884 |
Â
msgstr ""
|
2885 |
Â
|
Â
|
|
2886 |
Â
#, php-format
|
2887 |
Â
msgid "%1$s \"%2$s\" updated."
|
2888 |
Â
msgstr ""
|
2889 |
Â
|
Â
|
|
2890 |
Â
#, php-format
|
2891 |
Â
msgid "%1$s \"%2$s\" no changes detected."
|
2892 |
Â
msgstr ""
|
2893 |
Â
|
Â
|
|
2894 |
Â
#, php-format
|
2895 |
Â
msgid "%1$s \"%2$s\" deleted."
|
2896 |
Â
msgstr ""
|
2898 |
Â
msgid "Shortcodes"
|
2899 |
Â
msgstr ""
|
2900 |
Â
|
Â
|
|
2901 |
Â
#, php-format
|
2902 |
Â
msgid "%1$s no changes detected."
|
2903 |
Â
msgstr ""
|
2960 |
Â
"shortcodes."
|
2961 |
Â
msgstr ""
|
2962 |
Â
|
Â
|
|
2963 |
Â
#, php-format
|
2964 |
Â
msgid ""
|
2965 |
Â
"You can find more information about shortcode templates and how MLA and "
|
2979 |
Â
msgid "Search Templates"
|
2980 |
Â
msgstr ""
|
2981 |
Â
|
Â
|
|
Â
|
|
Â
|
|
2982 |
Â
msgctxt "list_table_column"
|
2983 |
Â
msgid "Type"
|
2984 |
Â
msgstr ""
|
3004 |
Â
msgid "Delete"
|
3005 |
Â
msgstr ""
|
3006 |
Â
|
Â
|
|
Â
|
|
Â
|
|
3007 |
Â
msgid "Default"
|
3008 |
Â
msgstr ""
|
3009 |
Â
|
3090 |
Â
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3091 |
Â
msgstr ""
|
3092 |
Â
|
Â
|
|
3093 |
Â
#, php-format
|
3094 |
Â
msgid "Edit view \"%1$s\" cancelled."
|
3095 |
Â
msgstr ""
|
3108 |
Â
"extension must be in this list and be active."
|
3109 |
Â
msgstr ""
|
3110 |
Â
|
Â
|
|
3111 |
Â
#, php-format
|
3112 |
Â
msgid ""
|
3113 |
Â
"You can find more information about file extensions, MIME types and how "
|
3234 |
Â
"specifications (e.g. \"*/*ms*\")."
|
3235 |
Â
msgstr ""
|
3236 |
Â
|
Â
|
|
3237 |
Â
#, php-format
|
3238 |
Â
msgid ""
|
3239 |
Â
"You can find more information about library views, Post MIME types and how "
|
3269 |
Â
msgid "Shortcode templates per page"
|
3270 |
Â
msgstr ""
|
3271 |
Â
|
3272 |
+
msgid "Rules per page"
|
3273 |
+
msgstr ""
|
3274 |
+
|
3275 |
Â
msgid "Plugins per page"
|
3276 |
Â
msgstr ""
|
3277 |
Â
|
Â
|
|
3278 |
Â
#, php-format
|
3279 |
Â
msgctxt "error_log"
|
3280 |
Â
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
3307 |
Â
msgid "General Processing Options"
|
3308 |
Â
msgstr ""
|
3309 |
Â
|
Â
|
|
3310 |
Â
#, php-format
|
3311 |
Â
msgid ""
|
3312 |
Â
"In this tab you can find a number of options for controlling the "
|
3333 |
Â
msgid "Donate"
|
3334 |
Â
msgstr ""
|
3335 |
Â
|
Â
|
|
3336 |
Â
#, php-format
|
3337 |
Â
msgid ""
|
3338 |
Â
"This plugin was inspired by my work on the WordPress web site for our "
|
3361 |
Â
msgid "Debug settings saved."
|
3362 |
Â
msgstr ""
|
3363 |
Â
|
Â
|
|
3364 |
Â
#, php-format
|
3365 |
Â
msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
|
3366 |
Â
msgstr ""
|
3368 |
Â
msgid "Error Log"
|
3369 |
Â
msgstr ""
|
3370 |
Â
|
Â
|
|
3371 |
Â
#, php-format
|
3372 |
Â
msgid "Error log file (%1$s) not found; click Reset to create it."
|
3373 |
Â
msgstr ""
|
3378 |
Â
msgid "Debug Settings"
|
3379 |
Â
msgstr ""
|
3380 |
Â
|
Â
|
|
3381 |
Â
#, php-format
|
3382 |
Â
msgid "Click %1$s to update the %2$s."
|
3383 |
Â
msgstr ""
|
3391 |
Â
msgid "Unknown content tab"
|
3392 |
Â
msgstr ""
|
3393 |
Â
|
3394 |
+
msgid "Dismiss this notice"
|
3395 |
+
msgstr ""
|
3396 |
+
|
3397 |
Â
#, php-format
|
3398 |
Â
msgid "%s attachment"
|
3399 |
Â
msgid_plural "%s attachments"
|
3400 |
Â
msgstr[0] ""
|
3401 |
Â
msgstr[1] ""
|
3402 |
Â
|
Â
|
|
3403 |
Â
#, php-format
|
3404 |
Â
msgid "Deleted custom field value from %1$s."
|
3405 |
Â
msgstr ""
|
3407 |
Â
msgid "No attachments contained this custom field."
|
3408 |
Â
msgstr ""
|
3409 |
Â
|
Â
|
|
3410 |
Â
#, php-format
|
3411 |
Â
msgctxt "message_list"
|
3412 |
Â
msgid "%1$s - references updated."
|
3435 |
Â
msgid "ALL settings exported."
|
3436 |
Â
msgstr ""
|
3437 |
Â
|
Â
|
|
3438 |
Â
#, php-format
|
3439 |
Â
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
3440 |
Â
msgstr ""
|
3441 |
Â
|
Â
|
|
3442 |
Â
#, php-format
|
3443 |
Â
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
3444 |
Â
msgstr ""
|
3445 |
Â
|
Â
|
|
3446 |
Â
#, php-format
|
3447 |
Â
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
3448 |
Â
msgstr ""
|
3449 |
Â
|
Â
|
|
3450 |
Â
#, php-format
|
3451 |
Â
msgctxt "error_log"
|
3452 |
Â
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
3453 |
Â
msgstr ""
|
3454 |
Â
|
Â
|
|
3455 |
Â
#, php-format
|
3456 |
Â
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
3457 |
Â
msgstr ""
|
3458 |
Â
|
Â
|
|
3459 |
Â
#, php-format
|
3460 |
Â
msgid "Settings exported; %1$s settings recorded."
|
3461 |
Â
msgstr ""
|
3469 |
Â
msgid "The import settings dropdown selection is missing."
|
3470 |
Â
msgstr ""
|
3471 |
Â
|
Â
|
|
3472 |
Â
#, php-format
|
3473 |
Â
msgctxt "error_log"
|
3474 |
Â
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
3475 |
Â
msgstr ""
|
3476 |
Â
|
Â
|
|
3477 |
Â
#, php-format
|
3478 |
Â
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
3479 |
Â
msgstr ""
|
3486 |
Â
msgid "unchanged"
|
3487 |
Â
msgstr ""
|
3488 |
Â
|
Â
|
|
3489 |
Â
#, php-format
|
3490 |
Â
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
3491 |
Â
msgstr ""
|
3499 |
Â
msgid "not found"
|
3500 |
Â
msgstr ""
|
3501 |
Â
|
3502 |
+
msgid "mla_debug REQUEST"
|
3503 |
+
msgstr ""
|
3504 |
+
|
3505 |
+
msgid "mla_debug attributes"
|
3506 |
+
msgstr ""
|
3507 |
+
|
3508 |
+
msgid "mla_debug arguments"
|
3509 |
+
msgstr ""
|
3510 |
+
|
3511 |
Â
msgid "mla_debug empty gallery"
|
3512 |
Â
msgstr ""
|
3513 |
Â
|
3519 |
Â
msgid "unknown"
|
3520 |
Â
msgstr ""
|
3521 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
3522 |
Â
msgid "mla_debug empty cloud"
|
3523 |
Â
msgstr ""
|
3524 |
Â
|
3680 |
Â
msgid "Generate Thumbnails"
|
3681 |
Â
msgstr ""
|
3682 |
Â
|
Â
|
|
3683 |
Â
#, php-format
|
3684 |
Â
msgid "Item %1$d"
|
3685 |
Â
msgstr ""
|
3690 |
Â
msgid "Featured Image retained."
|
3691 |
Â
msgstr ""
|
3692 |
Â
|
Â
|
|
3693 |
Â
#, php-format
|
3694 |
Â
msgid "%1$s: %2$sno attached file."
|
3695 |
Â
msgstr ""
|
3697 |
Â
msgid "unsupported file type."
|
3698 |
Â
msgstr ""
|
3699 |
Â
|
Â
|
|
3700 |
Â
#, php-format
|
3701 |
Â
msgid "%1$s: %2$sthumbnail generation failed"
|
3702 |
Â
msgstr ""
|
3703 |
Â
|
Â
|
|
3704 |
Â
#, php-format
|
3705 |
Â
msgid "%1$sWordPress-style thumbnail generated."
|
3706 |
Â
msgstr ""
|
3707 |
Â
|
Â
|
|
3708 |
Â
#, php-format
|
3709 |
Â
msgid "%1$s: %2$swp_insert_attachment failed."
|
3710 |
Â
msgstr ""
|
3711 |
Â
|
Â
|
|
3712 |
Â
#, php-format
|
3713 |
Â
msgid "%1$sthumbnail generated as new item %2$s."
|
3714 |
Â
msgstr ""
|
3764 |
Â
msgid " WPML Media is not active."
|
3765 |
Â
msgstr ""
|
3766 |
Â
|
Â
|
|
3767 |
Â
#, php-format
|
3768 |
Â
msgid ""
|
3769 |
Â
"In this tab you can find a number of options for controlling WPML-specific "
|
3788 |
Â
msgid "You must resolve these conflicts before this plugin can safely load."
|
3789 |
Â
msgstr ""
|
3790 |
Â
|
Â
|
|
3791 |
Â
msgid ""
|
3792 |
Â
"Enhances the Media Library; powerful [mla_gallery], taxonomy support, IPTC/"
|
3793 |
Â
"EXIF processing, bulk & quick edit actions and where-used reporting."
|
phpDocs/classes/AC_Addon_MLA_Editing_Strategy.html
ADDED
@@ -0,0 +1,489 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
5 |
+
<meta charset="utf-8"/>
|
6 |
+
<title>Media Library Assistant</title>
|
7 |
+
<meta name="author" content=""/>
|
8 |
+
<meta name="description" content=""/>
|
9 |
+
|
10 |
+
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
11 |
+
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
12 |
+
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
13 |
+
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
14 |
+
|
15 |
+
<!--[if lt IE 9]>
|
16 |
+
<script src="../js/html5.js"></script>
|
17 |
+
<![endif]-->
|
18 |
+
<script src="../js/jquery-1.11.0.min.js"></script>
|
19 |
+
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
20 |
+
<script src="../js/bootstrap.min.js"></script>
|
21 |
+
<script src="../js/jquery.smooth-scroll.js"></script>
|
22 |
+
<script src="../js/prism.min.js"></script>
|
23 |
+
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
24 |
+
<script type="text/javascript">
|
25 |
+
function loadExternalCodeSnippets() {
|
26 |
+
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
27 |
+
var src = pre.getAttribute('data-src');
|
28 |
+
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
29 |
+
var language = 'php';
|
30 |
+
|
31 |
+
var code = document.createElement('code');
|
32 |
+
code.className = 'language-' + language;
|
33 |
+
|
34 |
+
pre.textContent = '';
|
35 |
+
|
36 |
+
code.textContent = 'Loading…';
|
37 |
+
|
38 |
+
pre.appendChild(code);
|
39 |
+
|
40 |
+
var xhr = new XMLHttpRequest();
|
41 |
+
|
42 |
+
xhr.open('GET', src, true);
|
43 |
+
|
44 |
+
xhr.onreadystatechange = function () {
|
45 |
+
if (xhr.readyState == 4) {
|
46 |
+
|
47 |
+
if (xhr.status < 400 && xhr.responseText) {
|
48 |
+
code.textContent = xhr.responseText;
|
49 |
+
|
50 |
+
Prism.highlightElement(code);
|
51 |
+
}
|
52 |
+
else if (xhr.status >= 400) {
|
53 |
+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
54 |
+
}
|
55 |
+
else {
|
56 |
+
code.textContent = '✖ Error: File does not exist or is empty';
|
57 |
+
}
|
58 |
+
}
|
59 |
+
};
|
60 |
+
|
61 |
+
xhr.send(null);
|
62 |
+
});
|
63 |
+
}
|
64 |
+
|
65 |
+
$(document).ready(function(){
|
66 |
+
loadExternalCodeSnippets();
|
67 |
+
});
|
68 |
+
$('#source-view').on('shown', function () {
|
69 |
+
loadExternalCodeSnippets();
|
70 |
+
})
|
71 |
+
</script>
|
72 |
+
|
73 |
+
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
74 |
+
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
75 |
+
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
76 |
+
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
77 |
+
</head>
|
78 |
+
<body>
|
79 |
+
|
80 |
+
<div class="navbar navbar-fixed-top">
|
81 |
+
<div class="navbar-inner">
|
82 |
+
<div class="container">
|
83 |
+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
84 |
+
<i class="icon-ellipsis-vertical"></i>
|
85 |
+
</a>
|
86 |
+
<a class="brand" href="../index.html">Media Library Assistant</a>
|
87 |
+
|
88 |
+
<div class="nav-collapse">
|
89 |
+
<ul class="nav pull-right">
|
90 |
+
<li class="dropdown" id="charts-menu">
|
91 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
92 |
+
Charts <b class="caret"></b>
|
93 |
+
</a>
|
94 |
+
<ul class="dropdown-menu">
|
95 |
+
<li>
|
96 |
+
<a href="../graphs/class.html">
|
97 |
+
<i class="icon-list-alt"></i> Class hierarchy diagram
|
98 |
+
</a>
|
99 |
+
</li>
|
100 |
+
</ul>
|
101 |
+
</li>
|
102 |
+
<li class="dropdown" id="reports-menu">
|
103 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
104 |
+
Reports <b class="caret"></b>
|
105 |
+
</a>
|
106 |
+
<ul class="dropdown-menu">
|
107 |
+
<li>
|
108 |
+
<a href="../reports/errors.html">
|
109 |
+
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">0</span>
|
110 |
+
</a>
|
111 |
+
</li>
|
112 |
+
<li>
|
113 |
+
<a href="../reports/markers.html">
|
114 |
+
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">5</span>
|
115 |
+
</a>
|
116 |
+
</li>
|
117 |
+
<li>
|
118 |
+
<a href="../reports/deprecated.html">
|
119 |
+
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
120 |
+
</a>
|
121 |
+
</li>
|
122 |
+
</ul>
|
123 |
+
</li>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
<!--<div class="go_to_top">-->
|
129 |
+
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
130 |
+
<!--</div>-->
|
131 |
+
</div>
|
132 |
+
|
133 |
+
<div id="___" class="container-fluid">
|
134 |
+
<section class="row-fluid">
|
135 |
+
<div class="span2 sidebar">
|
136 |
+
<div class="accordion" style="margin-bottom: 0">
|
137 |
+
<div class="accordion-group">
|
138 |
+
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1333898002"></a>
|
140 |
+
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
+
</div>
|
142 |
+
<div id="namespace-1333898002" class="accordion-body collapse in">
|
143 |
+
<div class="accordion-inner">
|
144 |
+
|
145 |
+
|
146 |
+
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
+
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
+
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
+
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
+
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
+
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
+
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
158 |
+
<li class="class"><a href="../classes/MLA_Polylang_Shortcodes.html">MLA_Polylang_Shortcodes</a></li>
|
159 |
+
<li class="class"><a href="../classes/MLA_Template_List_Table.html">MLA_Template_List_Table</a></li>
|
160 |
+
<li class="class"><a href="../classes/MLA_Template_Query.html">MLA_Template_Query</a></li>
|
161 |
+
<li class="class"><a href="../classes/MLA_Thumbnail.html">MLA_Thumbnail</a></li>
|
162 |
+
<li class="class"><a href="../classes/MLA_Upgrader_Skin.html">MLA_Upgrader_Skin</a></li>
|
163 |
+
<li class="class"><a href="../classes/MLA_Upload_List_Table.html">MLA_Upload_List_Table</a></li>
|
164 |
+
<li class="class"><a href="../classes/MLA_Upload_Optional_List_Table.html">MLA_Upload_Optional_List_Table</a></li>
|
165 |
+
<li class="class"><a href="../classes/MLA_View_List_Table.html">MLA_View_List_Table</a></li>
|
166 |
+
<li class="class"><a href="../classes/MLA_WPML.html">MLA_WPML</a></li>
|
167 |
+
<li class="class"><a href="../classes/MLA_WPML_List_Table.html">MLA_WPML_List_Table</a></li>
|
168 |
+
<li class="class"><a href="../classes/MLA_WPML_Shortcodes.html">MLA_WPML_Shortcodes</a></li>
|
169 |
+
<li class="class"><a href="../classes/MLA_WPML_Table.html">MLA_WPML_Table</a></li>
|
170 |
+
<li class="class"><a href="../classes/MLACore.html">MLACore</a></li>
|
171 |
+
<li class="class"><a href="../classes/MLACoreOptions.html">MLACoreOptions</a></li>
|
172 |
+
<li class="class"><a href="../classes/MLAData.html">MLAData</a></li>
|
173 |
+
<li class="class"><a href="../classes/MLAData_Source.html">MLAData_Source</a></li>
|
174 |
+
<li class="class"><a href="../classes/MLAEdit.html">MLAEdit</a></li>
|
175 |
+
<li class="class"><a href="../classes/MLAFileDownloader.html">MLAFileDownloader</a></li>
|
176 |
+
<li class="class"><a href="../classes/MLAImageProcessor.html">MLAImageProcessor</a></li>
|
177 |
+
<li class="class"><a href="../classes/MLAMime.html">MLAMime</a></li>
|
178 |
+
<li class="class"><a href="../classes/MLAModal.html">MLAModal</a></li>
|
179 |
+
<li class="class"><a href="../classes/MLAModal_Ajax.html">MLAModal_Ajax</a></li>
|
180 |
+
<li class="class"><a href="../classes/MLAMutex.html">MLAMutex</a></li>
|
181 |
+
<li class="class"><a href="../classes/MLAObjects.html">MLAObjects</a></li>
|
182 |
+
<li class="class"><a href="../classes/MLAOptions.html">MLAOptions</a></li>
|
183 |
+
<li class="class"><a href="../classes/MLAPDF.html">MLAPDF</a></li>
|
184 |
+
<li class="class"><a href="../classes/MLAQuery.html">MLAQuery</a></li>
|
185 |
+
<li class="class"><a href="../classes/MLAReferences.html">MLAReferences</a></li>
|
186 |
+
<li class="class"><a href="../classes/MLASettings.html">MLASettings</a></li>
|
187 |
+
<li class="class"><a href="../classes/MLASettings_CustomFields.html">MLASettings_CustomFields</a></li>
|
188 |
+
<li class="class"><a href="../classes/MLASettings_Documentation.html">MLASettings_Documentation</a></li>
|
189 |
+
<li class="class"><a href="../classes/MLASettings_IPTCEXIF.html">MLASettings_IPTCEXIF</a></li>
|
190 |
+
<li class="class"><a href="../classes/MLASettings_Shortcodes.html">MLASettings_Shortcodes</a></li>
|
191 |
+
<li class="class"><a href="../classes/MLASettings_Upload.html">MLASettings_Upload</a></li>
|
192 |
+
<li class="class"><a href="../classes/MLASettings_View.html">MLASettings_View</a></li>
|
193 |
+
<li class="class"><a href="../classes/MLAShortcode_Support.html">MLAShortcode_Support</a></li>
|
194 |
+
<li class="class"><a href="../classes/MLAShortcodes.html">MLAShortcodes</a></li>
|
195 |
+
<li class="class"><a href="../classes/MLATemplate_Support.html">MLATemplate_Support</a></li>
|
196 |
+
<li class="class"><a href="../classes/MLATest.html">MLATest</a></li>
|
197 |
+
<li class="class"><a href="../classes/MLATextWidget.html">MLATextWidget</a></li>
|
198 |
+
<li class="class"><a href="../classes/MLAUninstall.html">MLAUninstall</a></li>
|
199 |
+
</ul>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
</div>
|
206 |
+
</section>
|
207 |
+
<section class="row-fluid">
|
208 |
+
<div class="span10 offset2">
|
209 |
+
<div class="row-fluid">
|
210 |
+
<div class="span8 content class">
|
211 |
+
<nav>
|
212 |
+
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
213 |
+
</nav>
|
214 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
215 |
+
|
216 |
+
<h1><small>\</small>AC_Addon_MLA_Editing_Strategy</h1>
|
217 |
+
<p><em>Class Admin Columns Addon MLA (Media Library Assistant) Editing Strategy supports the Admin Columns plugin</em></p>
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
<section id="summary">
|
222 |
+
<h2>Summary</h2>
|
223 |
+
<section class="row-fluid heading">
|
224 |
+
<section class="span4">
|
225 |
+
<a href="#methods">Methods</a>
|
226 |
+
</section>
|
227 |
+
<section class="span4">
|
228 |
+
<a href="#properties">Properties</a>
|
229 |
+
</section>
|
230 |
+
<section class="span4">
|
231 |
+
<a href="#constants">Constants</a>
|
232 |
+
</section>
|
233 |
+
</section>
|
234 |
+
<section class="row-fluid public">
|
235 |
+
<section class="span4">
|
236 |
+
<a href="../classes/AC_Addon_MLA_Editing_Strategy.html#method_get_rows" class="">get_rows()</a><br />
|
237 |
+
<a href="../classes/AC_Addon_MLA_Editing_Strategy.html#method_user_has_write_permission" class="">user_has_write_permission()</a><br />
|
238 |
+
<a href="../classes/AC_Addon_MLA_Editing_Strategy.html#method_update" class="">update()</a><br />
|
239 |
+
</section>
|
240 |
+
<section class="span4">
|
241 |
+
<em>No public properties found</em>
|
242 |
+
</section>
|
243 |
+
<section class="span4">
|
244 |
+
<em>No constants found</em>
|
245 |
+
</section>
|
246 |
+
</section>
|
247 |
+
<section class="row-fluid protected">
|
248 |
+
<section class="span4">
|
249 |
+
<em>No protected methods found</em>
|
250 |
+
</section>
|
251 |
+
<section class="span4">
|
252 |
+
<em>No protected properties found</em>
|
253 |
+
</section>
|
254 |
+
<section class="span4">
|
255 |
+
<em>N/A</em>
|
256 |
+
</section>
|
257 |
+
</section>
|
258 |
+
<section class="row-fluid private">
|
259 |
+
<section class="span4">
|
260 |
+
<em>No private methods found</em>
|
261 |
+
</section>
|
262 |
+
<section class="span4">
|
263 |
+
<em>No private properties found</em>
|
264 |
+
</section>
|
265 |
+
<section class="span4">
|
266 |
+
<em>N/A</em>
|
267 |
+
</section>
|
268 |
+
</section>
|
269 |
+
</section>
|
270 |
+
</div>
|
271 |
+
<aside class="span4 detailsbar">
|
272 |
+
|
273 |
+
|
274 |
+
<dl>
|
275 |
+
<dt>File</dt>
|
276 |
+
<dd><a href="../files/includes.class-mla-admin-columns-support.html"><div class="path-wrapper">includes\class-mla-admin-columns-support.php</div></a></dd>
|
277 |
+
<dt>Package</dt>
|
278 |
+
<dd><div class="namespace-wrapper">Media Library Assistant</div></dd>
|
279 |
+
<dt>Class hierarchy</dt>
|
280 |
+
<dd class="hierarchy">
|
281 |
+
|
282 |
+
<div class="namespace-wrapper">\ACP_Editing_Strategy</div>
|
283 |
+
<div class="namespace-wrapper">\AC_Addon_MLA_Editing_Strategy</div>
|
284 |
+
</dd>
|
285 |
+
|
286 |
+
|
287 |
+
|
288 |
+
|
289 |
+
|
290 |
+
</dl>
|
291 |
+
<h2>Tags</h2>
|
292 |
+
<table class="table table-condensed">
|
293 |
+
<tr>
|
294 |
+
<th>
|
295 |
+
since
|
296 |
+
</th>
|
297 |
+
<td>
|
298 |
+
|
299 |
+
</td>
|
300 |
+
</tr>
|
301 |
+
</table>
|
302 |
+
</aside>
|
303 |
+
</div>
|
304 |
+
|
305 |
+
|
306 |
+
|
307 |
+
<a id="methods" name="methods"></a>
|
308 |
+
<div class="row-fluid">
|
309 |
+
<div class="span8 content class"><h2>Methods</h2></div>
|
310 |
+
<aside class="span4 detailsbar"></aside>
|
311 |
+
</div>
|
312 |
+
|
313 |
+
<div class="row-fluid">
|
314 |
+
<div class="span8 content class">
|
315 |
+
<a id="method_get_rows" name="method_get_rows" class="anchor"></a>
|
316 |
+
<article class="method">
|
317 |
+
<h3 class="public ">get_rows()</h3>
|
318 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
319 |
+
<pre class="signature" style="margin-right: 54px;">get_rows() : array</pre>
|
320 |
+
<p><em>Get the available items on the current page for passing them to JS</em></p>
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
|
325 |
+
<h4>Returns</h4>
|
326 |
+
array
|
327 |
+
— <p>Items on the current page ([entry_id] => (array) [entry_data])</p>
|
328 |
+
|
329 |
+
</article>
|
330 |
+
</div>
|
331 |
+
<aside class="span4 detailsbar">
|
332 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
333 |
+
<dl>
|
334 |
+
</dl>
|
335 |
+
<h2>Tags</h2>
|
336 |
+
<table class="table table-condensed">
|
337 |
+
<tr>
|
338 |
+
<th>
|
339 |
+
since
|
340 |
+
</th>
|
341 |
+
<td>
|
342 |
+
2.50
|
343 |
+
</td>
|
344 |
+
</tr>
|
345 |
+
</table>
|
346 |
+
</aside>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<div class="row-fluid">
|
350 |
+
<div class="span8 content class">
|
351 |
+
<a id="method_user_has_write_permission" name="method_user_has_write_permission" class="anchor"></a>
|
352 |
+
<article class="method">
|
353 |
+
<h3 class="public ">user_has_write_permission()</h3>
|
354 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
355 |
+
<pre class="signature" style="margin-right: 54px;">user_has_write_permission(integer <span class="argument">$post_id</span>) : boolean</pre>
|
356 |
+
<p><em>See if the user has write permission for a post/object</em></p>
|
357 |
+
|
358 |
+
|
359 |
+
<h4>Parameters</h4>
|
360 |
+
<table class="table table-condensed table-hover">
|
361 |
+
<tr>
|
362 |
+
<td>integer</td>
|
363 |
+
<td>$post_id </td>
|
364 |
+
<td><p>Object ID</p></td>
|
365 |
+
</tr>
|
366 |
+
</table>
|
367 |
+
|
368 |
+
|
369 |
+
<h4>Returns</h4>
|
370 |
+
boolean
|
371 |
+
— <p>$post->ID when user can edit object else false.</p>
|
372 |
+
|
373 |
+
</article>
|
374 |
+
</div>
|
375 |
+
<aside class="span4 detailsbar">
|
376 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
377 |
+
<dl>
|
378 |
+
</dl>
|
379 |
+
<h2>Tags</h2>
|
380 |
+
<table class="table table-condensed">
|
381 |
+
<tr>
|
382 |
+
<th>
|
383 |
+
since
|
384 |
+
</th>
|
385 |
+
<td>
|
386 |
+
2.50
|
387 |
+
</td>
|
388 |
+
</tr>
|
389 |
+
</table>
|
390 |
+
</aside>
|
391 |
+
</div>
|
392 |
+
|
393 |
+
<div class="row-fluid">
|
394 |
+
<div class="span8 content class">
|
395 |
+
<a id="method_update" name="method_update" class="anchor"></a>
|
396 |
+
<article class="method">
|
397 |
+
<h3 class="public ">update()</h3>
|
398 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
399 |
+
<pre class="signature" style="margin-right: 54px;">update( <span class="argument">$id</span>, array <span class="argument">$args</span>) </pre>
|
400 |
+
<p><em>Updates column content from inline editing</em></p>
|
401 |
+
|
402 |
+
|
403 |
+
<h4>Parameters</h4>
|
404 |
+
<table class="table table-condensed table-hover">
|
405 |
+
<tr>
|
406 |
+
<td></td>
|
407 |
+
<td>$id </td>
|
408 |
+
<td></td>
|
409 |
+
</tr>
|
410 |
+
<tr>
|
411 |
+
<td>array</td>
|
412 |
+
<td>$args </td>
|
413 |
+
<td></td>
|
414 |
+
</tr>
|
415 |
+
</table>
|
416 |
+
|
417 |
+
|
418 |
+
|
419 |
+
</article>
|
420 |
+
</div>
|
421 |
+
<aside class="span4 detailsbar">
|
422 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
423 |
+
<dl>
|
424 |
+
</dl>
|
425 |
+
<h2>Tags</h2>
|
426 |
+
<table class="table table-condensed">
|
427 |
+
<tr><td colspan="2"><em>None found</em></td></tr>
|
428 |
+
</table>
|
429 |
+
</aside>
|
430 |
+
</div>
|
431 |
+
|
432 |
+
</div>
|
433 |
+
</section>
|
434 |
+
|
435 |
+
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
436 |
+
<div class="modal-header">
|
437 |
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
438 |
+
<h3 id="source-view-label">class-mla-admin-columns-support.php</h3>
|
439 |
+
</div>
|
440 |
+
<div class="modal-body">
|
441 |
+
<pre data-src="../files/includes\class-mla-admin-columns-support.php.txt" class="language-php line-numbers"></pre>
|
442 |
+
</div>
|
443 |
+
</div>
|
444 |
+
|
445 |
+
<footer class="row-fluid">
|
446 |
+
<section class="span10 offset2">
|
447 |
+
<section class="row-fluid">
|
448 |
+
<section class="span10 offset1">
|
449 |
+
<section class="row-fluid footer-sections">
|
450 |
+
<section class="span4">
|
451 |
+
<h1><i class="icon-code"></i></h1>
|
452 |
+
<div>
|
453 |
+
<ul>
|
454 |
+
</ul>
|
455 |
+
</div>
|
456 |
+
</section>
|
457 |
+
<section class="span4">
|
458 |
+
<h1><i class="icon-bar-chart"></i></h1>
|
459 |
+
<div>
|
460 |
+
<ul>
|
461 |
+
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
462 |
+
</ul>
|
463 |
+
</div>
|
464 |
+
</section>
|
465 |
+
<section class="span4">
|
466 |
+
<h1><i class="icon-pushpin"></i></h1>
|
467 |
+
<div>
|
468 |
+
<ul>
|
469 |
+
<li><a href="../reports/errors.html">Errors</a></li>
|
470 |
+
<li><a href="../reports/markers.html">Markers</a></li>
|
471 |
+
</ul>
|
472 |
+
</div>
|
473 |
+
</section>
|
474 |
+
</section>
|
475 |
+
</section>
|
476 |
+
</section>
|
477 |
+
<section class="row-fluid">
|
478 |
+
<section class="span10 offset1">
|
479 |
+
<hr />
|
480 |
+
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
481 |
+
on March 18th, 2017 at 19:35.
|
482 |
+
</section>
|
483 |
+
</section>
|
484 |
+
</section>
|
485 |
+
</footer>
|
486 |
+
</div>
|
487 |
+
|
488 |
+
</body>
|
489 |
+
</html>
|
phpDocs/classes/AC_Addon_MLA_ListScreen.html
ADDED
@@ -0,0 +1,556 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
5 |
+
<meta charset="utf-8"/>
|
6 |
+
<title>Media Library Assistant</title>
|
7 |
+
<meta name="author" content=""/>
|
8 |
+
<meta name="description" content=""/>
|
9 |
+
|
10 |
+
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
11 |
+
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
12 |
+
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
13 |
+
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
14 |
+
|
15 |
+
<!--[if lt IE 9]>
|
16 |
+
<script src="../js/html5.js"></script>
|
17 |
+
<![endif]-->
|
18 |
+
<script src="../js/jquery-1.11.0.min.js"></script>
|
19 |
+
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
20 |
+
<script src="../js/bootstrap.min.js"></script>
|
21 |
+
<script src="../js/jquery.smooth-scroll.js"></script>
|
22 |
+
<script src="../js/prism.min.js"></script>
|
23 |
+
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
24 |
+
<script type="text/javascript">
|
25 |
+
function loadExternalCodeSnippets() {
|
26 |
+
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
27 |
+
var src = pre.getAttribute('data-src');
|
28 |
+
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
29 |
+
var language = 'php';
|
30 |
+
|
31 |
+
var code = document.createElement('code');
|
32 |
+
code.className = 'language-' + language;
|
33 |
+
|
34 |
+
pre.textContent = '';
|
35 |
+
|
36 |
+
code.textContent = 'Loading…';
|
37 |
+
|
38 |
+
pre.appendChild(code);
|
39 |
+
|
40 |
+
var xhr = new XMLHttpRequest();
|
41 |
+
|
42 |
+
xhr.open('GET', src, true);
|
43 |
+
|
44 |
+
xhr.onreadystatechange = function () {
|
45 |
+
if (xhr.readyState == 4) {
|
46 |
+
|
47 |
+
if (xhr.status < 400 && xhr.responseText) {
|
48 |
+
code.textContent = xhr.responseText;
|
49 |
+
|
50 |
+
Prism.highlightElement(code);
|
51 |
+
}
|
52 |
+
else if (xhr.status >= 400) {
|
53 |
+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
54 |
+
}
|
55 |
+
else {
|
56 |
+
code.textContent = '✖ Error: File does not exist or is empty';
|
57 |
+
}
|
58 |
+
}
|
59 |
+
};
|
60 |
+
|
61 |
+
xhr.send(null);
|
62 |
+
});
|
63 |
+
}
|
64 |
+
|
65 |
+
$(document).ready(function(){
|
66 |
+
loadExternalCodeSnippets();
|
67 |
+
});
|
68 |
+
$('#source-view').on('shown', function () {
|
69 |
+
loadExternalCodeSnippets();
|
70 |
+
})
|
71 |
+
</script>
|
72 |
+
|
73 |
+
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
74 |
+
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
75 |
+
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
76 |
+
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
77 |
+
</head>
|
78 |
+
<body>
|
79 |
+
|
80 |
+
<div class="navbar navbar-fixed-top">
|
81 |
+
<div class="navbar-inner">
|
82 |
+
<div class="container">
|
83 |
+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
84 |
+
<i class="icon-ellipsis-vertical"></i>
|
85 |
+
</a>
|
86 |
+
<a class="brand" href="../index.html">Media Library Assistant</a>
|
87 |
+
|
88 |
+
<div class="nav-collapse">
|
89 |
+
<ul class="nav pull-right">
|
90 |
+
<li class="dropdown" id="charts-menu">
|
91 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
92 |
+
Charts <b class="caret"></b>
|
93 |
+
</a>
|
94 |
+
<ul class="dropdown-menu">
|
95 |
+
<li>
|
96 |
+
<a href="../graphs/class.html">
|
97 |
+
<i class="icon-list-alt"></i> Class hierarchy diagram
|
98 |
+
</a>
|
99 |
+
</li>
|
100 |
+
</ul>
|
101 |
+
</li>
|
102 |
+
<li class="dropdown" id="reports-menu">
|
103 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
104 |
+
Reports <b class="caret"></b>
|
105 |
+
</a>
|
106 |
+
<ul class="dropdown-menu">
|
107 |
+
<li>
|
108 |
+
<a href="../reports/errors.html">
|
109 |
+
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">0</span>
|
110 |
+
</a>
|
111 |
+
</li>
|
112 |
+
<li>
|
113 |
+
<a href="../reports/markers.html">
|
114 |
+
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">5</span>
|
115 |
+
</a>
|
116 |
+
</li>
|
117 |
+
<li>
|
118 |
+
<a href="../reports/deprecated.html">
|
119 |
+
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
120 |
+
</a>
|
121 |
+
</li>
|
122 |
+
</ul>
|
123 |
+
</li>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
<!--<div class="go_to_top">-->
|
129 |
+
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
130 |
+
<!--</div>-->
|
131 |
+
</div>
|
132 |
+
|
133 |
+
<div id="___" class="container-fluid">
|
134 |
+
<section class="row-fluid">
|
135 |
+
<div class="span2 sidebar">
|
136 |
+
<div class="accordion" style="margin-bottom: 0">
|
137 |
+
<div class="accordion-group">
|
138 |
+
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-177783593"></a>
|
140 |
+
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
+
</div>
|
142 |
+
<div id="namespace-177783593" class="accordion-body collapse in">
|
143 |
+
<div class="accordion-inner">
|
144 |
+
|
145 |
+
|
146 |
+
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
+
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
+
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
+
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
+
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
+
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
+
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
158 |
+
<li class="class"><a href="../classes/MLA_Polylang_Shortcodes.html">MLA_Polylang_Shortcodes</a></li>
|
159 |
+
<li class="class"><a href="../classes/MLA_Template_List_Table.html">MLA_Template_List_Table</a></li>
|
160 |
+
<li class="class"><a href="../classes/MLA_Template_Query.html">MLA_Template_Query</a></li>
|
161 |
+
<li class="class"><a href="../classes/MLA_Thumbnail.html">MLA_Thumbnail</a></li>
|
162 |
+
<li class="class"><a href="../classes/MLA_Upgrader_Skin.html">MLA_Upgrader_Skin</a></li>
|
163 |
+
<li class="class"><a href="../classes/MLA_Upload_List_Table.html">MLA_Upload_List_Table</a></li>
|
164 |
+
<li class="class"><a href="../classes/MLA_Upload_Optional_List_Table.html">MLA_Upload_Optional_List_Table</a></li>
|
165 |
+
<li class="class"><a href="../classes/MLA_View_List_Table.html">MLA_View_List_Table</a></li>
|
166 |
+
<li class="class"><a href="../classes/MLA_WPML.html">MLA_WPML</a></li>
|
167 |
+
<li class="class"><a href="../classes/MLA_WPML_List_Table.html">MLA_WPML_List_Table</a></li>
|
168 |
+
<li class="class"><a href="../classes/MLA_WPML_Shortcodes.html">MLA_WPML_Shortcodes</a></li>
|
169 |
+
<li class="class"><a href="../classes/MLA_WPML_Table.html">MLA_WPML_Table</a></li>
|
170 |
+
<li class="class"><a href="../classes/MLACore.html">MLACore</a></li>
|
171 |
+
<li class="class"><a href="../classes/MLACoreOptions.html">MLACoreOptions</a></li>
|
172 |
+
<li class="class"><a href="../classes/MLAData.html">MLAData</a></li>
|
173 |
+
<li class="class"><a href="../classes/MLAData_Source.html">MLAData_Source</a></li>
|
174 |
+
<li class="class"><a href="../classes/MLAEdit.html">MLAEdit</a></li>
|
175 |
+
<li class="class"><a href="../classes/MLAFileDownloader.html">MLAFileDownloader</a></li>
|
176 |
+
<li class="class"><a href="../classes/MLAImageProcessor.html">MLAImageProcessor</a></li>
|
177 |
+
<li class="class"><a href="../classes/MLAMime.html">MLAMime</a></li>
|
178 |
+
<li class="class"><a href="../classes/MLAModal.html">MLAModal</a></li>
|
179 |
+
<li class="class"><a href="../classes/MLAModal_Ajax.html">MLAModal_Ajax</a></li>
|
180 |
+
<li class="class"><a href="../classes/MLAMutex.html">MLAMutex</a></li>
|
181 |
+
<li class="class"><a href="../classes/MLAObjects.html">MLAObjects</a></li>
|
182 |
+
<li class="class"><a href="../classes/MLAOptions.html">MLAOptions</a></li>
|
183 |
+
<li class="class"><a href="../classes/MLAPDF.html">MLAPDF</a></li>
|
184 |
+
<li class="class"><a href="../classes/MLAQuery.html">MLAQuery</a></li>
|
185 |
+
<li class="class"><a href="../classes/MLAReferences.html">MLAReferences</a></li>
|
186 |
+
<li class="class"><a href="../classes/MLASettings.html">MLASettings</a></li>
|
187 |
+
<li class="class"><a href="../classes/MLASettings_CustomFields.html">MLASettings_CustomFields</a></li>
|
188 |
+
<li class="class"><a href="../classes/MLASettings_Documentation.html">MLASettings_Documentation</a></li>
|
189 |
+
<li class="class"><a href="../classes/MLASettings_IPTCEXIF.html">MLASettings_IPTCEXIF</a></li>
|
190 |
+
<li class="class"><a href="../classes/MLASettings_Shortcodes.html">MLASettings_Shortcodes</a></li>
|
191 |
+
<li class="class"><a href="../classes/MLASettings_Upload.html">MLASettings_Upload</a></li>
|
192 |
+
<li class="class"><a href="../classes/MLASettings_View.html">MLASettings_View</a></li>
|
193 |
+
<li class="class"><a href="../classes/MLAShortcode_Support.html">MLAShortcode_Support</a></li>
|
194 |
+
<li class="class"><a href="../classes/MLAShortcodes.html">MLAShortcodes</a></li>
|
195 |
+
<li class="class"><a href="../classes/MLATemplate_Support.html">MLATemplate_Support</a></li>
|
196 |
+
<li class="class"><a href="../classes/MLATest.html">MLATest</a></li>
|
197 |
+
<li class="class"><a href="../classes/MLATextWidget.html">MLATextWidget</a></li>
|
198 |
+
<li class="class"><a href="../classes/MLAUninstall.html">MLAUninstall</a></li>
|
199 |
+
</ul>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
</div>
|
206 |
+
</section>
|
207 |
+
<section class="row-fluid">
|
208 |
+
<div class="span10 offset2">
|
209 |
+
<div class="row-fluid">
|
210 |
+
<div class="span8 content class">
|
211 |
+
<nav>
|
212 |
+
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
213 |
+
</nav>
|
214 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
215 |
+
|
216 |
+
<h1><small>\</small>AC_Addon_MLA_ListScreen</h1>
|
217 |
+
<p><em>Class Admin Columns Addon MLA (Media Library Assistant) List Screen supports the Admin Columns plugin</em></p>
|
218 |
+
|
219 |
+
|
220 |
+
|
221 |
+
<section id="summary">
|
222 |
+
<h2>Summary</h2>
|
223 |
+
<section class="row-fluid heading">
|
224 |
+
<section class="span4">
|
225 |
+
<a href="#methods">Methods</a>
|
226 |
+
</section>
|
227 |
+
<section class="span4">
|
228 |
+
<a href="#properties">Properties</a>
|
229 |
+
</section>
|
230 |
+
<section class="span4">
|
231 |
+
<a href="#constants">Constants</a>
|
232 |
+
</section>
|
233 |
+
</section>
|
234 |
+
<section class="row-fluid public">
|
235 |
+
<section class="span4">
|
236 |
+
<a href="../classes/AC_Addon_MLA_ListScreen.html#method___construct" class="">__construct()</a><br />
|
237 |
+
<a href="../classes/AC_Addon_MLA_ListScreen.html#method_set_manage_value_callback" class="">set_manage_value_callback()</a><br />
|
238 |
+
<a href="../classes/AC_Addon_MLA_ListScreen.html#method_get_column_headers" class="">get_column_headers()</a><br />
|
239 |
+
<a href="../classes/AC_Addon_MLA_ListScreen.html#method_column_default_value" class="">column_default_value()</a><br />
|
240 |
+
<a href="../classes/AC_Addon_MLA_ListScreen.html#method_get_list_table" class="">get_list_table()</a><br />
|
241 |
+
</section>
|
242 |
+
<section class="span4">
|
243 |
+
<em>No public properties found</em>
|
244 |
+
</section>
|
245 |
+
<section class="span4">
|
246 |
+
<em>No constants found</em>
|
247 |
+
</section>
|
248 |
+
</section>
|
249 |
+
<section class="row-fluid protected">
|
250 |
+
<section class="span4">
|
251 |
+
<em>No protected methods found</em>
|
252 |
+
</section>
|
253 |
+
<section class="span4">
|
254 |
+
<em>No protected properties found</em>
|
255 |
+
</section>
|
256 |
+
<section class="span4">
|
257 |
+
<em>N/A</em>
|
258 |
+
</section>
|
259 |
+
</section>
|
260 |
+
<section class="row-fluid private">
|
261 |
+
<section class="span4">
|
262 |
+
<em>No private methods found</em>
|
263 |
+
</section>
|
264 |
+
<section class="span4">
|
265 |
+
<em>No private properties found</em>
|
266 |
+
</section>
|
267 |
+
<section class="span4">
|
268 |
+
<em>N/A</em>
|
269 |
+
</section>
|
270 |
+
</section>
|
271 |
+
</section>
|
272 |
+
</div>
|
273 |
+
<aside class="span4 detailsbar">
|
274 |
+
|
275 |
+
|
276 |
+
<dl>
|
277 |
+
<dt>File</dt>
|
278 |
+
<dd><a href="../files/includes.class-mla-admin-columns-support.html"><div class="path-wrapper">includes\class-mla-admin-columns-support.php</div></a></dd>
|
279 |
+
<dt>Package</dt>
|
280 |
+
<dd><div class="namespace-wrapper">Media Library Assistant</div></dd>
|
281 |
+
<dt>Class hierarchy</dt>
|
282 |
+
<dd class="hierarchy">
|
283 |
+
|
284 |
+
<div class="namespace-wrapper">\AC_ListScreen_Media</div>
|
285 |
+
<div class="namespace-wrapper">\AC_Addon_MLA_ListScreen</div>
|
286 |
+
</dd>
|
287 |
+
|
288 |
+
|
289 |
+
|
290 |
+
|
291 |
+
|
292 |
+
</dl>
|
293 |
+
<h2>Tags</h2>
|
294 |
+
<table class="table table-condensed">
|
295 |
+
<tr>
|
296 |
+
<th>
|
297 |
+
since
|
298 |
+
</th>
|
299 |
+
<td>
|
300 |
+
|
301 |
+
</td>
|
302 |
+
</tr>
|
303 |
+
</table>
|
304 |
+
</aside>
|
305 |
+
</div>
|
306 |
+
|
307 |
+
|
308 |
+
|
309 |
+
<a id="methods" name="methods"></a>
|
310 |
+
<div class="row-fluid">
|
311 |
+
<div class="span8 content class"><h2>Methods</h2></div>
|
312 |
+
<aside class="span4 detailsbar"></aside>
|
313 |
+
</div>
|
314 |
+
|
315 |
+
<div class="row-fluid">
|
316 |
+
<div class="span8 content class">
|
317 |
+
<a id="method___construct" name="method___construct" class="anchor"></a>
|
318 |
+
<article class="method">
|
319 |
+
<h3 class="public ">__construct()</h3>
|
320 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
321 |
+
<pre class="signature" style="margin-right: 54px;">__construct() </pre>
|
322 |
+
<p><em>Initializes some properties, installs filters and then
|
323 |
+
calls the parent constructor to set some default configs.</em></p>
|
324 |
+
|
325 |
+
|
326 |
+
|
327 |
+
|
328 |
+
|
329 |
+
</article>
|
330 |
+
</div>
|
331 |
+
<aside class="span4 detailsbar">
|
332 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
333 |
+
<dl>
|
334 |
+
</dl>
|
335 |
+
<h2>Tags</h2>
|
336 |
+
<table class="table table-condensed">
|
337 |
+
<tr>
|
338 |
+
<th>
|
339 |
+
since
|
340 |
+
</th>
|
341 |
+
<td>
|
342 |
+
2.50
|
343 |
+
</td>
|
344 |
+
</tr>
|
345 |
+
</table>
|
346 |
+
</aside>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<div class="row-fluid">
|
350 |
+
<div class="span8 content class">
|
351 |
+
<a id="method_set_manage_value_callback" name="method_set_manage_value_callback" class="anchor"></a>
|
352 |
+
<article class="method">
|
353 |
+
<h3 class="public ">set_manage_value_callback()</h3>
|
354 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
355 |
+
<pre class="signature" style="margin-right: 54px;">set_manage_value_callback() </pre>
|
356 |
+
<p><em>Contains the hook that contains the manage_value callback</em></p>
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
|
361 |
+
|
362 |
+
</article>
|
363 |
+
</div>
|
364 |
+
<aside class="span4 detailsbar">
|
365 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
366 |
+
<dl>
|
367 |
+
</dl>
|
368 |
+
<h2>Tags</h2>
|
369 |
+
<table class="table table-condensed">
|
370 |
+
<tr>
|
371 |
+
<th>
|
372 |
+
since
|
373 |
+
</th>
|
374 |
+
<td>
|
375 |
+
2.50
|
376 |
+
</td>
|
377 |
+
</tr>
|
378 |
+
</table>
|
379 |
+
</aside>
|
380 |
+
</div>
|
381 |
+
|
382 |
+
<div class="row-fluid">
|
383 |
+
<div class="span8 content class">
|
384 |
+
<a id="method_get_column_headers" name="method_get_column_headers" class="anchor"></a>
|
385 |
+
<article class="method">
|
386 |
+
<h3 class="public ">get_column_headers()</h3>
|
387 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
388 |
+
<pre class="signature" style="margin-right: 54px;">get_column_headers() : array</pre>
|
389 |
+
<p><em>Default column headers</em></p>
|
390 |
+
|
391 |
+
|
392 |
+
|
393 |
+
|
394 |
+
<h4>Returns</h4>
|
395 |
+
array
|
396 |
+
|
397 |
+
</article>
|
398 |
+
</div>
|
399 |
+
<aside class="span4 detailsbar">
|
400 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
401 |
+
<dl>
|
402 |
+
</dl>
|
403 |
+
<h2>Tags</h2>
|
404 |
+
<table class="table table-condensed">
|
405 |
+
<tr>
|
406 |
+
<th>
|
407 |
+
since
|
408 |
+
</th>
|
409 |
+
<td>
|
410 |
+
2.50
|
411 |
+
</td>
|
412 |
+
</tr>
|
413 |
+
</table>
|
414 |
+
</aside>
|
415 |
+
</div>
|
416 |
+
|
417 |
+
<div class="row-fluid">
|
418 |
+
<div class="span8 content class">
|
419 |
+
<a id="method_column_default_value" name="method_column_default_value" class="anchor"></a>
|
420 |
+
<article class="method">
|
421 |
+
<h3 class="public ">column_default_value()</h3>
|
422 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
423 |
+
<pre class="signature" style="margin-right: 54px;">column_default_value(string|null <span class="argument">$content</span>, <span class="argument">$post</span>, string <span class="argument">$column_name</span>) : string|false</pre>
|
424 |
+
<p><em>Return the column value</em></p>
|
425 |
+
|
426 |
+
|
427 |
+
<h4>Parameters</h4>
|
428 |
+
<table class="table table-condensed table-hover">
|
429 |
+
<tr>
|
430 |
+
<td>string|null</td>
|
431 |
+
<td>$content </td>
|
432 |
+
<td></td>
|
433 |
+
</tr>
|
434 |
+
<tr>
|
435 |
+
<td></td>
|
436 |
+
<td>$post </td>
|
437 |
+
<td></td>
|
438 |
+
</tr>
|
439 |
+
<tr>
|
440 |
+
<td>string</td>
|
441 |
+
<td>$column_name </td>
|
442 |
+
<td></td>
|
443 |
+
</tr>
|
444 |
+
</table>
|
445 |
+
|
446 |
+
|
447 |
+
<h4>Returns</h4>
|
448 |
+
string|false
|
449 |
+
|
450 |
+
</article>
|
451 |
+
</div>
|
452 |
+
<aside class="span4 detailsbar">
|
453 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
454 |
+
<dl>
|
455 |
+
</dl>
|
456 |
+
<h2>Tags</h2>
|
457 |
+
<table class="table table-condensed">
|
458 |
+
<tr><td colspan="2"><em>None found</em></td></tr>
|
459 |
+
</table>
|
460 |
+
</aside>
|
461 |
+
</div>
|
462 |
+
|
463 |
+
<div class="row-fluid">
|
464 |
+
<div class="span8 content class">
|
465 |
+
<a id="method_get_list_table" name="method_get_list_table" class="anchor"></a>
|
466 |
+
<article class="method">
|
467 |
+
<h3 class="public ">get_list_table()</h3>
|
468 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
469 |
+
<pre class="signature" style="margin-right: 54px;">get_list_table(array <span class="argument">$args = array()</span>) : \WP_List_Table|false</pre>
|
470 |
+
<p><em>Create and return a new MLA List Table object</em></p>
|
471 |
+
|
472 |
+
|
473 |
+
<h4>Parameters</h4>
|
474 |
+
<table class="table table-condensed table-hover">
|
475 |
+
<tr>
|
476 |
+
<td>array</td>
|
477 |
+
<td>$args </td>
|
478 |
+
<td></td>
|
479 |
+
</tr>
|
480 |
+
</table>
|
481 |
+
|
482 |
+
|
483 |
+
<h4>Returns</h4>
|
484 |
+
\WP_List_Table|false
|
485 |
+
|
486 |
+
</article>
|
487 |
+
</div>
|
488 |
+
<aside class="span4 detailsbar">
|
489 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
490 |
+
<dl>
|
491 |
+
</dl>
|
492 |
+
<h2>Tags</h2>
|
493 |
+
<table class="table table-condensed">
|
494 |
+
<tr><td colspan="2"><em>None found</em></td></tr>
|
495 |
+
</table>
|
496 |
+
</aside>
|
497 |
+
</div>
|
498 |
+
|
499 |
+
</div>
|
500 |
+
</section>
|
501 |
+
|
502 |
+
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
503 |
+
<div class="modal-header">
|
504 |
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
505 |
+
<h3 id="source-view-label">class-mla-admin-columns-support.php</h3>
|
506 |
+
</div>
|
507 |
+
<div class="modal-body">
|
508 |
+
<pre data-src="../files/includes\class-mla-admin-columns-support.php.txt" class="language-php line-numbers"></pre>
|
509 |
+
</div>
|
510 |
+
</div>
|
511 |
+
|
512 |
+
<footer class="row-fluid">
|
513 |
+
<section class="span10 offset2">
|
514 |
+
<section class="row-fluid">
|
515 |
+
<section class="span10 offset1">
|
516 |
+
<section class="row-fluid footer-sections">
|
517 |
+
<section class="span4">
|
518 |
+
<h1><i class="icon-code"></i></h1>
|
519 |
+
<div>
|
520 |
+
<ul>
|
521 |
+
</ul>
|
522 |
+
</div>
|
523 |
+
</section>
|
524 |
+
<section class="span4">
|
525 |
+
<h1><i class="icon-bar-chart"></i></h1>
|
526 |
+
<div>
|
527 |
+
<ul>
|
528 |
+
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
529 |
+
</ul>
|
530 |
+
</div>
|
531 |
+
</section>
|
532 |
+
<section class="span4">
|
533 |
+
<h1><i class="icon-pushpin"></i></h1>
|
534 |
+
<div>
|
535 |
+
<ul>
|
536 |
+
<li><a href="../reports/errors.html">Errors</a></li>
|
537 |
+
<li><a href="../reports/markers.html">Markers</a></li>
|
538 |
+
</ul>
|
539 |
+
</div>
|
540 |
+
</section>
|
541 |
+
</section>
|
542 |
+
</section>
|
543 |
+
</section>
|
544 |
+
<section class="row-fluid">
|
545 |
+
<section class="span10 offset1">
|
546 |
+
<hr />
|
547 |
+
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
548 |
+
on March 18th, 2017 at 19:35.
|
549 |
+
</section>
|
550 |
+
</section>
|
551 |
+
</section>
|
552 |
+
</footer>
|
553 |
+
</div>
|
554 |
+
|
555 |
+
</body>
|
556 |
+
</html>
|
phpDocs/classes/CPAC_Deprecated_Storage_Model_MLA.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -776,7 +779,7 @@ For Admin Columns 2.4.9+</em></p>
|
|
776 |
Â
<section class="span10 offset1">
|
777 |
Â
<hr />
|
778 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
779 |
-
on
|
780 |
Â
</section>
|
781 |
Â
</section>
|
782 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1907556049"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1907556049" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
779 |
Â
<section class="span10 offset1">
|
780 |
Â
<hr />
|
781 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
782 |
+
on March 18th, 2017 at 19:35.
|
783 |
Â
</section>
|
784 |
Â
</section>
|
785 |
Â
</section>
|
phpDocs/classes/MLA.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -1684,7 +1687,7 @@ returns from Media/Edit Media initiated from Media/Assistant</em></p>
|
|
1684 |
Â
<section class="span10 offset1">
|
1685 |
Â
<hr />
|
1686 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1687 |
-
on
|
1688 |
Â
</section>
|
1689 |
Â
</section>
|
1690 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-279377282"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-279377282" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
1687 |
Â
<section class="span10 offset1">
|
1688 |
Â
<hr />
|
1689 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1690 |
+
on March 18th, 2017 at 19:35.
|
1691 |
Â
</section>
|
1692 |
Â
</section>
|
1693 |
Â
</section>
|
phpDocs/classes/MLACore.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -253,7 +256,11 @@
|
|
253 |
Â
<a href="../classes/MLACore.html#method_mla_debug_content" class="">mla_debug_content()</a><br />
|
254 |
Â
<a href="../classes/MLACore.html#method_mla_debug_flush" class="">mla_debug_flush()</a><br />
|
255 |
Â
<a href="../classes/MLACore.html#method_mla_debug_add" class="">mla_debug_add()</a><br />
|
256 |
-
<a href="../classes/MLACore.html#
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
257 |
Â
</section>
|
258 |
Â
<section class="span4">
|
259 |
Â
<a href="../classes/MLACore.html#property_original_php_log" class="">$original_php_log</a><br />
|
@@ -278,6 +285,7 @@
|
|
278 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_INSTALL" class="">MLA_ADMIN_SINGLE_EDIT_INSTALL</a><br />
|
279 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_UPDATE" class="">MLA_ADMIN_SINGLE_EDIT_UPDATE</a><br />
|
280 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" class="">MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP</a><br />
|
Â
|
|
281 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_MAP" class="">MLA_ADMIN_SINGLE_MAP</a><br />
|
282 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SET_PARENT" class="">MLA_ADMIN_SET_PARENT</a><br />
|
283 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_TERMS_SEARCH" class="">MLA_ADMIN_TERMS_SEARCH</a><br />
|
@@ -698,6 +706,34 @@
|
|
698 |
Â
|
699 |
Â
<div class="row-fluid">
|
700 |
Â
<div class="span8 content class">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
701 |
Â
<a id="constant_MLA_ADMIN_SINGLE_MAP" name="constant_MLA_ADMIN_SINGLE_MAP" class="anchor"></a>
|
702 |
Â
<article id="constant_MLA_ADMIN_SINGLE_MAP" class="constant">
|
703 |
Â
<h3 class="">MLA_ADMIN_SINGLE_MAP</h3>
|
@@ -2505,12 +2541,12 @@ or false/empty string to clear the value.</p></td>
|
|
2505 |
Â
|
2506 |
Â
<div class="row-fluid">
|
2507 |
Â
<div class="span8 content class">
|
2508 |
-
<a id="
|
2509 |
Â
<article class="method">
|
2510 |
-
<h3 class="public ">
|
2511 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
2512 |
-
<pre class="signature" style="margin-right: 54px;">
|
2513 |
-
<p><em>Define the Media/Assistant submenu screen to the Admin Columns plugin</em></p>
|
2514 |
Â
|
2515 |
Â
|
2516 |
Â
<h4>Parameters</h4>
|
@@ -2550,6 +2586,171 @@ or false/empty string to clear the value.</p></td>
|
|
2550 |
Â
</aside>
|
2551 |
Â
</div>
|
2552 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
2553 |
Â
<div class="row-fluid">
|
2554 |
Â
<div class="span8 content class">
|
2555 |
Â
<a id="method__debug_log" name="method__debug_log" class="anchor"></a>
|
@@ -2641,7 +2842,7 @@ or false/empty string to clear the value.</p></td>
|
|
2641 |
Â
<section class="span10 offset1">
|
2642 |
Â
<hr />
|
2643 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2644 |
-
on
|
2645 |
Â
</section>
|
2646 |
Â
</section>
|
2647 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-76166652"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-76166652" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
256 |
Â
<a href="../classes/MLACore.html#method_mla_debug_content" class="">mla_debug_content()</a><br />
|
257 |
Â
<a href="../classes/MLACore.html#method_mla_debug_flush" class="">mla_debug_flush()</a><br />
|
258 |
Â
<a href="../classes/MLACore.html#method_mla_debug_add" class="">mla_debug_add()</a><br />
|
259 |
+
<a href="../classes/MLACore.html#method_admin_columns_support_deprecated" class="">admin_columns_support_deprecated()</a><br />
|
260 |
+
<a href="../classes/MLACore.html#method_remove_column_types_deprecated" class="">remove_column_types_deprecated()</a><br />
|
261 |
+
<a href="../classes/MLACore.html#method_add_editing_strategy" class="">add_editing_strategy()</a><br />
|
262 |
+
<a href="../classes/MLACore.html#method_register_list_screen" class="">register_list_screen()</a><br />
|
263 |
+
<a href="../classes/MLACore.html#method_remove_column_types" class="">remove_column_types()</a><br />
|
264 |
Â
</section>
|
265 |
Â
<section class="span4">
|
266 |
Â
<a href="../classes/MLACore.html#property_original_php_log" class="">$original_php_log</a><br />
|
285 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_INSTALL" class="">MLA_ADMIN_SINGLE_EDIT_INSTALL</a><br />
|
286 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_UPDATE" class="">MLA_ADMIN_SINGLE_EDIT_UPDATE</a><br />
|
287 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" class="">MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP</a><br />
|
288 |
+
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE" class="">MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE</a><br />
|
289 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_MAP" class="">MLA_ADMIN_SINGLE_MAP</a><br />
|
290 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SET_PARENT" class="">MLA_ADMIN_SET_PARENT</a><br />
|
291 |
Â
<a href="../classes/MLACore.html#constant_MLA_ADMIN_TERMS_SEARCH" class="">MLA_ADMIN_TERMS_SEARCH</a><br />
|
706 |
Â
|
707 |
Â
<div class="row-fluid">
|
708 |
Â
<div class="span8 content class">
|
709 |
+
<a id="constant_MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE" name="constant_MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE" class="anchor"></a>
|
710 |
+
<article id="constant_MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE" class="constant">
|
711 |
+
<h3 class="">MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE</h3>
|
712 |
+
<pre class="signature">MLA_ADMIN_SINGLE_CUSTOM_FIELD_PURGE</pre>
|
713 |
+
<p><em>mla_admin_action value for purging Custom Field values</em></p>
|
714 |
+
|
715 |
+
</article>
|
716 |
+
</div>
|
717 |
+
<aside class="span4 detailsbar">
|
718 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
719 |
+
<dl>
|
720 |
+
</dl>
|
721 |
+
<h2>Tags</h2>
|
722 |
+
<table class="table table-condensed">
|
723 |
+
<tr>
|
724 |
+
<th>
|
725 |
+
since
|
726 |
+
</th>
|
727 |
+
<td>
|
728 |
+
|
729 |
+
</td>
|
730 |
+
</tr>
|
731 |
+
</table>
|
732 |
+
</aside>
|
733 |
+
</div>
|
734 |
+
|
735 |
+
<div class="row-fluid">
|
736 |
+
<div class="span8 content class">
|
737 |
Â
<a id="constant_MLA_ADMIN_SINGLE_MAP" name="constant_MLA_ADMIN_SINGLE_MAP" class="anchor"></a>
|
738 |
Â
<article id="constant_MLA_ADMIN_SINGLE_MAP" class="constant">
|
739 |
Â
<h3 class="">MLA_ADMIN_SINGLE_MAP</h3>
|
2541 |
Â
|
2542 |
Â
<div class="row-fluid">
|
2543 |
Â
<div class="span8 content class">
|
2544 |
+
<a id="method_admin_columns_support_deprecated" name="method_admin_columns_support_deprecated" class="anchor"></a>
|
2545 |
Â
<article class="method">
|
2546 |
+
<h3 class="public ">admin_columns_support_deprecated()</h3>
|
2547 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
2548 |
+
<pre class="signature" style="margin-right: 54px;">admin_columns_support_deprecated(array <span class="argument">$storage_models</span>, object <span class="argument">$cpac</span>) </pre>
|
2549 |
+
<p><em>Define the Media/Assistant submenu screen to the (old) Admin Columns plugin</em></p>
|
2550 |
Â
|
2551 |
Â
|
2552 |
Â
<h4>Parameters</h4>
|
2586 |
Â
</aside>
|
2587 |
Â
</div>
|
2588 |
Â
|
2589 |
+
<div class="row-fluid">
|
2590 |
+
<div class="span8 content class">
|
2591 |
+
<a id="method_remove_column_types_deprecated" name="method_remove_column_types_deprecated" class="anchor"></a>
|
2592 |
+
<article class="method">
|
2593 |
+
<h3 class="public ">remove_column_types_deprecated()</h3>
|
2594 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
2595 |
+
<pre class="signature" style="margin-right: 54px;">remove_column_types_deprecated(array<mixed,\CPAC_Column> <span class="argument">$columns</span>, <span class="argument">$storage_model</span>) </pre>
|
2596 |
+
<p><em>Remove duplicate columns from the Admin Columns "Custom" section</em></p>
|
2597 |
+
|
2598 |
+
|
2599 |
+
<h4>Parameters</h4>
|
2600 |
+
<table class="table table-condensed table-hover">
|
2601 |
+
<tr>
|
2602 |
+
<td>array<mixed,\CPAC_Column></td>
|
2603 |
+
<td>$columns </td>
|
2604 |
+
<td></td>
|
2605 |
+
</tr>
|
2606 |
+
<tr>
|
2607 |
+
<td></td>
|
2608 |
+
<td>$storage_model </td>
|
2609 |
+
<td></td>
|
2610 |
+
</tr>
|
2611 |
+
</table>
|
2612 |
+
|
2613 |
+
|
2614 |
+
|
2615 |
+
</article>
|
2616 |
+
</div>
|
2617 |
+
<aside class="span4 detailsbar">
|
2618 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
2619 |
+
<span class="label label-info">static</span>
|
2620 |
+
<dl>
|
2621 |
+
</dl>
|
2622 |
+
<h2>Tags</h2>
|
2623 |
+
<table class="table table-condensed">
|
2624 |
+
<tr>
|
2625 |
+
<th>
|
2626 |
+
since
|
2627 |
+
</th>
|
2628 |
+
<td>
|
2629 |
+
2.50
|
2630 |
+
</td>
|
2631 |
+
</tr>
|
2632 |
+
</table>
|
2633 |
+
</aside>
|
2634 |
+
</div>
|
2635 |
+
|
2636 |
+
<div class="row-fluid">
|
2637 |
+
<div class="span8 content class">
|
2638 |
+
<a id="method_add_editing_strategy" name="method_add_editing_strategy" class="anchor"></a>
|
2639 |
+
<article class="method">
|
2640 |
+
<h3 class="public ">add_editing_strategy()</h3>
|
2641 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
2642 |
+
<pre class="signature" style="margin-right: 54px;">add_editing_strategy(\ACP_Editing_Model <span class="argument">$model</span>) </pre>
|
2643 |
+
<p><em>Set MLA-specific inline editing strategy</em></p>
|
2644 |
+
|
2645 |
+
|
2646 |
+
<h4>Parameters</h4>
|
2647 |
+
<table class="table table-condensed table-hover">
|
2648 |
+
<tr>
|
2649 |
+
<td>\ACP_Editing_Model</td>
|
2650 |
+
<td>$model </td>
|
2651 |
+
<td></td>
|
2652 |
+
</tr>
|
2653 |
+
</table>
|
2654 |
+
|
2655 |
+
|
2656 |
+
|
2657 |
+
</article>
|
2658 |
+
</div>
|
2659 |
+
<aside class="span4 detailsbar">
|
2660 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
2661 |
+
<span class="label label-info">static</span>
|
2662 |
+
<dl>
|
2663 |
+
</dl>
|
2664 |
+
<h2>Tags</h2>
|
2665 |
+
<table class="table table-condensed">
|
2666 |
+
<tr>
|
2667 |
+
<th>
|
2668 |
+
since
|
2669 |
+
</th>
|
2670 |
+
<td>
|
2671 |
+
2.50
|
2672 |
+
</td>
|
2673 |
+
</tr>
|
2674 |
+
</table>
|
2675 |
+
</aside>
|
2676 |
+
</div>
|
2677 |
+
|
2678 |
+
<div class="row-fluid">
|
2679 |
+
<div class="span8 content class">
|
2680 |
+
<a id="method_register_list_screen" name="method_register_list_screen" class="anchor"></a>
|
2681 |
+
<article class="method">
|
2682 |
+
<h3 class="public ">register_list_screen()</h3>
|
2683 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
2684 |
+
<pre class="signature" style="margin-right: 54px;">register_list_screen() </pre>
|
2685 |
+
<p><em>Create and register MLA-specific list screen handler for Admin Columns</em></p>
|
2686 |
+
|
2687 |
+
|
2688 |
+
|
2689 |
+
|
2690 |
+
|
2691 |
+
</article>
|
2692 |
+
</div>
|
2693 |
+
<aside class="span4 detailsbar">
|
2694 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
2695 |
+
<span class="label label-info">static</span>
|
2696 |
+
<dl>
|
2697 |
+
</dl>
|
2698 |
+
<h2>Tags</h2>
|
2699 |
+
<table class="table table-condensed">
|
2700 |
+
<tr>
|
2701 |
+
<th>
|
2702 |
+
since
|
2703 |
+
</th>
|
2704 |
+
<td>
|
2705 |
+
2.50
|
2706 |
+
</td>
|
2707 |
+
</tr>
|
2708 |
+
</table>
|
2709 |
+
</aside>
|
2710 |
+
</div>
|
2711 |
+
|
2712 |
+
<div class="row-fluid">
|
2713 |
+
<div class="span8 content class">
|
2714 |
+
<a id="method_remove_column_types" name="method_remove_column_types" class="anchor"></a>
|
2715 |
+
<article class="method">
|
2716 |
+
<h3 class="public ">remove_column_types()</h3>
|
2717 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
2718 |
+
<pre class="signature" style="margin-right: 54px;">remove_column_types(\AC_ListScreen <span class="argument">$listscreen</span>) </pre>
|
2719 |
+
<p><em>Remove duplicate columns from the Admin Columns "Custom" section</em></p>
|
2720 |
+
|
2721 |
+
|
2722 |
+
<h4>Parameters</h4>
|
2723 |
+
<table class="table table-condensed table-hover">
|
2724 |
+
<tr>
|
2725 |
+
<td>\AC_ListScreen</td>
|
2726 |
+
<td>$listscreen </td>
|
2727 |
+
<td></td>
|
2728 |
+
</tr>
|
2729 |
+
</table>
|
2730 |
+
|
2731 |
+
|
2732 |
+
|
2733 |
+
</article>
|
2734 |
+
</div>
|
2735 |
+
<aside class="span4 detailsbar">
|
2736 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
2737 |
+
<span class="label label-info">static</span>
|
2738 |
+
<dl>
|
2739 |
+
</dl>
|
2740 |
+
<h2>Tags</h2>
|
2741 |
+
<table class="table table-condensed">
|
2742 |
+
<tr>
|
2743 |
+
<th>
|
2744 |
+
since
|
2745 |
+
</th>
|
2746 |
+
<td>
|
2747 |
+
2.50
|
2748 |
+
</td>
|
2749 |
+
</tr>
|
2750 |
+
</table>
|
2751 |
+
</aside>
|
2752 |
+
</div>
|
2753 |
+
|
2754 |
Â
<div class="row-fluid">
|
2755 |
Â
<div class="span8 content class">
|
2756 |
Â
<a id="method__debug_log" name="method__debug_log" class="anchor"></a>
|
2842 |
Â
<section class="span10 offset1">
|
2843 |
Â
<hr />
|
2844 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2845 |
+
on March 18th, 2017 at 19:35.
|
2846 |
Â
</section>
|
2847 |
Â
</section>
|
2848 |
Â
</section>
|
phpDocs/classes/MLACoreOptions.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -1800,7 +1803,7 @@ $message = ['reset']( 'reset', $key, $value, $_REQUEST );</p>
|
|
1800 |
Â
<section class="span10 offset1">
|
1801 |
Â
<hr />
|
1802 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1803 |
-
on
|
1804 |
Â
</section>
|
1805 |
Â
</section>
|
1806 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-360130724"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-360130724" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
1803 |
Â
<section class="span10 offset1">
|
1804 |
Â
<hr />
|
1805 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1806 |
+
on March 18th, 2017 at 19:35.
|
1807 |
Â
</section>
|
1808 |
Â
</section>
|
1809 |
Â
</section>
|
phpDocs/classes/MLAData.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -2905,7 +2908,7 @@ and meta data for a single attachment</em></p>
|
|
2905 |
Â
<section class="span10 offset1">
|
2906 |
Â
<hr />
|
2907 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2908 |
-
on
|
2909 |
Â
</section>
|
2910 |
Â
</section>
|
2911 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1262552368"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1262552368" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
2908 |
Â
<section class="span10 offset1">
|
2909 |
Â
<hr />
|
2910 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2911 |
+
on March 18th, 2017 at 19:35.
|
2912 |
Â
</section>
|
2913 |
Â
</section>
|
2914 |
Â
</section>
|
phpDocs/classes/MLAData_source.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -733,7 +736,7 @@ Isolates clients from changes to _evaluate_data_source().</p>
|
|
733 |
Â
<section class="span10 offset1">
|
734 |
Â
<hr />
|
735 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
736 |
-
on
|
737 |
Â
</section>
|
738 |
Â
</section>
|
739 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-816045298"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-816045298" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
736 |
Â
<section class="span10 offset1">
|
737 |
Â
<hr />
|
738 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
739 |
+
on March 18th, 2017 at 19:35.
|
740 |
Â
</section>
|
741 |
Â
</section>
|
742 |
Â
</section>
|
phpDocs/classes/MLAEdit.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -1311,7 +1314,7 @@ with just two arguments.</p>
|
|
1311 |
Â
<section class="span10 offset1">
|
1312 |
Â
<hr />
|
1313 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1314 |
-
on
|
1315 |
Â
</section>
|
1316 |
Â
</section>
|
1317 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-391299967"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-391299967" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
1314 |
Â
<section class="span10 offset1">
|
1315 |
Â
<hr />
|
1316 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1317 |
+
on March 18th, 2017 at 19:35.
|
1318 |
Â
</section>
|
1319 |
Â
</section>
|
1320 |
Â
</section>
|
phpDocs/classes/MLAFileDownloader.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -571,7 +574,7 @@
|
|
571 |
Â
<section class="span10 offset1">
|
572 |
Â
<hr />
|
573 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
574 |
-
on
|
575 |
Â
</section>
|
576 |
Â
</section>
|
577 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1457241491"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1457241491" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
574 |
Â
<section class="span10 offset1">
|
575 |
Â
<hr />
|
576 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
577 |
+
on March 18th, 2017 at 19:35.
|
578 |
Â
</section>
|
579 |
Â
</section>
|
580 |
Â
</section>
|
phpDocs/classes/MLAImageProcessor.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -837,7 +840,7 @@ mla_stream_quality, mla_stream_type, mla_stream_fit, mla_ghostscript_path</p>
|
|
837 |
Â
<section class="span10 offset1">
|
838 |
Â
<hr />
|
839 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
840 |
-
on
|
841 |
Â
</section>
|
842 |
Â
</section>
|
843 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1277596174"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1277596174" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
840 |
Â
<section class="span10 offset1">
|
841 |
Â
<hr />
|
842 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
843 |
+
on March 18th, 2017 at 19:35.
|
844 |
Â
</section>
|
845 |
Â
</section>
|
846 |
Â
</section>
|
phpDocs/classes/MLAMime.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -232,6 +235,7 @@ the Views and Uploads Settings tabs</em></p>
|
|
232 |
Â
<section class="row-fluid public">
|
233 |
Â
<section class="span4">
|
234 |
Â
<a href="../classes/MLAMime.html#method_initialize" class="">initialize()</a><br />
|
Â
|
|
235 |
Â
<a href="../classes/MLAMime.html#method_mla_sanitize_mime_type_filter" class="">mla_sanitize_mime_type_filter()</a><br />
|
236 |
Â
<a href="../classes/MLAMime.html#method_mla_ext2type_filter" class="">mla_ext2type_filter()</a><br />
|
237 |
Â
<a href="../classes/MLAMime.html#method_mla_wp_check_filetype_and_ext_filter" class="">mla_wp_check_filetype_and_ext_filter()</a><br />
|
@@ -935,6 +939,48 @@ for the column is DESC/Descending.</p>
|
|
935 |
Â
|
936 |
Â
<div class="row-fluid">
|
937 |
Â
<div class="span8 content class">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
938 |
Â
<a id="method_mla_sanitize_mime_type_filter" name="method_mla_sanitize_mime_type_filter" class="anchor"></a>
|
939 |
Â
<article class="method">
|
940 |
Â
<h3 class="public ">mla_sanitize_mime_type_filter()</h3>
|
@@ -3440,7 +3486,7 @@ Defined as public because it's a filter.</p>
|
|
3440 |
Â
<section class="span10 offset1">
|
3441 |
Â
<hr />
|
3442 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3443 |
-
on
|
3444 |
Â
</section>
|
3445 |
Â
</section>
|
3446 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1906630995"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1906630995" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
235 |
Â
<section class="row-fluid public">
|
236 |
Â
<section class="span4">
|
237 |
Â
<a href="../classes/MLAMime.html#method_initialize" class="">initialize()</a><br />
|
238 |
+
<a href="../classes/MLAMime.html#method_mla_getimagesize_mimes_to_exts_filter" class="">mla_getimagesize_mimes_to_exts_filter()</a><br />
|
239 |
Â
<a href="../classes/MLAMime.html#method_mla_sanitize_mime_type_filter" class="">mla_sanitize_mime_type_filter()</a><br />
|
240 |
Â
<a href="../classes/MLAMime.html#method_mla_ext2type_filter" class="">mla_ext2type_filter()</a><br />
|
241 |
Â
<a href="../classes/MLAMime.html#method_mla_wp_check_filetype_and_ext_filter" class="">mla_wp_check_filetype_and_ext_filter()</a><br />
|
939 |
Â
|
940 |
Â
<div class="row-fluid">
|
941 |
Â
<div class="span8 content class">
|
942 |
+
<a id="method_mla_getimagesize_mimes_to_exts_filter" name="method_mla_getimagesize_mimes_to_exts_filter" class="anchor"></a>
|
943 |
+
<article class="method">
|
944 |
+
<h3 class="public ">mla_getimagesize_mimes_to_exts_filter()</h3>
|
945 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
946 |
+
<pre class="signature" style="margin-right: 54px;">mla_getimagesize_mimes_to_exts_filter(array <span class="argument">$mime_to_ext</span>) </pre>
|
947 |
+
<p><em>Filters the list mapping image mime types to their respective extensions.</em></p>
|
948 |
+
<p>Mitigates a bug in WP 4.6.x and 4.7.x that prevents uploading SVG files.</p>
|
949 |
+
|
950 |
+
<h4>Parameters</h4>
|
951 |
+
<table class="table table-condensed table-hover">
|
952 |
+
<tr>
|
953 |
+
<td>array</td>
|
954 |
+
<td>$mime_to_ext </td>
|
955 |
+
<td><p>Array of image mime types and their matching extensions.</p></td>
|
956 |
+
</tr>
|
957 |
+
</table>
|
958 |
+
|
959 |
+
|
960 |
+
|
961 |
+
</article>
|
962 |
+
</div>
|
963 |
+
<aside class="span4 detailsbar">
|
964 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
965 |
+
<span class="label label-info">static</span>
|
966 |
+
<dl>
|
967 |
+
</dl>
|
968 |
+
<h2>Tags</h2>
|
969 |
+
<table class="table table-condensed">
|
970 |
+
<tr>
|
971 |
+
<th>
|
972 |
+
since
|
973 |
+
</th>
|
974 |
+
<td>
|
975 |
+
2.50
|
976 |
+
</td>
|
977 |
+
</tr>
|
978 |
+
</table>
|
979 |
+
</aside>
|
980 |
+
</div>
|
981 |
+
|
982 |
+
<div class="row-fluid">
|
983 |
+
<div class="span8 content class">
|
984 |
Â
<a id="method_mla_sanitize_mime_type_filter" name="method_mla_sanitize_mime_type_filter" class="anchor"></a>
|
985 |
Â
<article class="method">
|
986 |
Â
<h3 class="public ">mla_sanitize_mime_type_filter()</h3>
|
3486 |
Â
<section class="span10 offset1">
|
3487 |
Â
<hr />
|
3488 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3489 |
+
on March 18th, 2017 at 19:35.
|
3490 |
Â
</section>
|
3491 |
Â
</section>
|
3492 |
Â
</section>
|
phpDocs/classes/MLAModal.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -992,7 +995,7 @@ but only once per page load</em></p>
|
|
992 |
Â
<section class="span10 offset1">
|
993 |
Â
<hr />
|
994 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
995 |
-
on
|
996 |
Â
</section>
|
997 |
Â
</section>
|
998 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1889670105"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1889670105" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
995 |
Â
<section class="span10 offset1">
|
996 |
Â
<hr />
|
997 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
998 |
+
on March 18th, 2017 at 19:35.
|
999 |
Â
</section>
|
1000 |
Â
</section>
|
1001 |
Â
</section>
|
phpDocs/classes/MLAModal_Ajax.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -668,7 +671,7 @@ Declared public because it is a filter.</p>
|
|
668 |
Â
<section class="span10 offset1">
|
669 |
Â
<hr />
|
670 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
671 |
-
on
|
672 |
Â
</section>
|
673 |
Â
</section>
|
674 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1937898549"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1937898549" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
671 |
Â
<section class="span10 offset1">
|
672 |
Â
<hr />
|
673 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
674 |
+
on March 18th, 2017 at 19:35.
|
675 |
Â
</section>
|
676 |
Â
</section>
|
677 |
Â
</section>
|
phpDocs/classes/MLAMutex.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -722,7 +725,7 @@ for the [mla_gallery] mla_viewer=single option</em></p>
|
|
722 |
Â
<section class="span10 offset1">
|
723 |
Â
<hr />
|
724 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
725 |
-
on
|
726 |
Â
</section>
|
727 |
Â
</section>
|
728 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-722157718"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-722157718" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
725 |
Â
<section class="span10 offset1">
|
726 |
Â
<hr />
|
727 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
728 |
+
on March 18th, 2017 at 19:35.
|
729 |
Â
</section>
|
730 |
Â
</section>
|
731 |
Â
</section>
|
phpDocs/classes/MLAObjects.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -525,7 +528,7 @@ and alink to retrieve a list of them</p>
|
|
525 |
Â
<section class="span10 offset1">
|
526 |
Â
<hr />
|
527 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
528 |
-
on
|
529 |
Â
</section>
|
530 |
Â
</section>
|
531 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-842342075"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-842342075" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
528 |
Â
<section class="span10 offset1">
|
529 |
Â
<hr />
|
530 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
531 |
+
on March 18th, 2017 at 19:35.
|
532 |
Â
</section>
|
533 |
Â
</section>
|
534 |
Â
</section>
|
phpDocs/classes/MLAOptions.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -247,6 +250,8 @@ and provides functions to get and put them from/to WordPress option variables</e
|
|
247 |
Â
<a href="../classes/MLAOptions.html#method_mla_get_data_source" class="">mla_get_data_source()</a><br />
|
248 |
Â
<a href="../classes/MLAOptions.html#method_mla_is_data_source" class="">mla_is_data_source()</a><br />
|
249 |
Â
<a href="../classes/MLAOptions.html#method_mla_evaluate_custom_field_mapping" class="">mla_evaluate_custom_field_mapping()</a><br />
|
Â
|
|
Â
|
|
250 |
Â
<a href="../classes/MLAOptions.html#method_mla_custom_field_option_handler" class="">mla_custom_field_option_handler()</a><br />
|
251 |
Â
<a href="../classes/MLAOptions.html#method_mla_evaluate_iptc_exif_mapping" class="">mla_evaluate_iptc_exif_mapping()</a><br />
|
252 |
Â
<a href="../classes/MLAOptions.html#method_mla_iptc_exif_option_handler" class="">mla_iptc_exif_option_handler()</a><br />
|
@@ -273,8 +278,6 @@ and provides functions to get and put them from/to WordPress option variables</e
|
|
273 |
Â
<section class="span4">
|
274 |
Â
<a href="../classes/MLAOptions.html#method__load_option_templates" class="">_load_option_templates()</a><br />
|
275 |
Â
<a href="../classes/MLAOptions.html#method__update_attachment_metadata" class="">_update_attachment_metadata()</a><br />
|
276 |
-
<a href="../classes/MLAOptions.html#method__compose_custom_field_option_list" class="">_compose_custom_field_option_list()</a><br />
|
277 |
-
<a href="../classes/MLAOptions.html#method__compose_data_source_option_list" class="">_compose_data_source_option_list()</a><br />
|
278 |
Â
<a href="../classes/MLAOptions.html#method__update_custom_field_mapping" class="">_update_custom_field_mapping()</a><br />
|
279 |
Â
<a href="../classes/MLAOptions.html#method__get_term_id" class="">_get_term_id()</a><br />
|
280 |
Â
<a href="../classes/MLAOptions.html#method__compose_iptc_option_list" class="">_compose_iptc_option_list()</a><br />
|
@@ -1237,6 +1240,105 @@ to ensure that mapping is only performed for new additions, not metadata updates
|
|
1237 |
Â
|
1238 |
Â
<div class="row-fluid">
|
1239 |
Â
<div class="span8 content class">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1240 |
Â
<a id="method_mla_custom_field_option_handler" name="method_mla_custom_field_option_handler" class="anchor"></a>
|
1241 |
Â
<article class="method">
|
1242 |
Â
<h3 class="public ">mla_custom_field_option_handler()</h3>
|
@@ -1510,105 +1612,6 @@ to ensure that mapping is only performed for new additions, not metadata updates
|
|
1510 |
Â
|
1511 |
Â
<div class="row-fluid">
|
1512 |
Â
<div class="span8 content class">
|
1513 |
-
<a id="method__compose_custom_field_option_list" name="method__compose_custom_field_option_list" class="anchor"></a>
|
1514 |
-
<article class="method">
|
1515 |
-
<h3 class="private ">_compose_custom_field_option_list()</h3>
|
1516 |
-
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1517 |
-
<pre class="signature" style="margin-right: 54px;">_compose_custom_field_option_list( <span class="argument">$selection = 'none'</span>, <span class="argument">$blacklist = array()</span>) : string</pre>
|
1518 |
-
<p><em>Compose a Custom Field Options list with current selection</em></p>
|
1519 |
-
|
1520 |
-
|
1521 |
-
<h4>Parameters</h4>
|
1522 |
-
<table class="table table-condensed table-hover">
|
1523 |
-
<tr>
|
1524 |
-
<td></td>
|
1525 |
-
<td>$selection </td>
|
1526 |
-
<td></td>
|
1527 |
-
</tr>
|
1528 |
-
<tr>
|
1529 |
-
<td></td>
|
1530 |
-
<td>$blacklist </td>
|
1531 |
-
<td></td>
|
1532 |
-
</tr>
|
1533 |
-
</table>
|
1534 |
-
|
1535 |
-
|
1536 |
-
<h4>Returns</h4>
|
1537 |
-
string
|
1538 |
-
— <p>HTML markup with select field options</p>
|
1539 |
-
|
1540 |
-
</article>
|
1541 |
-
</div>
|
1542 |
-
<aside class="span4 detailsbar">
|
1543 |
-
<h1><i class="icon-arrow-down"></i></h1>
|
1544 |
-
<span class="label label-info">static</span>
|
1545 |
-
<dl>
|
1546 |
-
<dt>Uses</dt>
|
1547 |
-
<dd>$mla_option_templates</dd>
|
1548 |
-
</dl>
|
1549 |
-
<h2>Tags</h2>
|
1550 |
-
<table class="table table-condensed">
|
1551 |
-
<tr>
|
1552 |
-
<th>
|
1553 |
-
since
|
1554 |
-
</th>
|
1555 |
-
<td>
|
1556 |
-
1.10
|
1557 |
-
</td>
|
1558 |
-
</tr>
|
1559 |
-
</table>
|
1560 |
-
</aside>
|
1561 |
-
</div>
|
1562 |
-
|
1563 |
-
<div class="row-fluid">
|
1564 |
-
<div class="span8 content class">
|
1565 |
-
<a id="method__compose_data_source_option_list" name="method__compose_data_source_option_list" class="anchor"></a>
|
1566 |
-
<article class="method">
|
1567 |
-
<h3 class="private ">_compose_data_source_option_list()</h3>
|
1568 |
-
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1569 |
-
<pre class="signature" style="margin-right: 54px;">_compose_data_source_option_list( <span class="argument">$selection = 'none'</span>) : string</pre>
|
1570 |
-
<p><em>Compose a (Custom Field) Data Source Options list with current selection</em></p>
|
1571 |
-
|
1572 |
-
|
1573 |
-
<h4>Parameters</h4>
|
1574 |
-
<table class="table table-condensed table-hover">
|
1575 |
-
<tr>
|
1576 |
-
<td></td>
|
1577 |
-
<td>$selection </td>
|
1578 |
-
<td></td>
|
1579 |
-
</tr>
|
1580 |
-
</table>
|
1581 |
-
|
1582 |
-
|
1583 |
-
<h4>Returns</h4>
|
1584 |
-
string
|
1585 |
-
— <p>HTML markup with select field options</p>
|
1586 |
-
|
1587 |
-
</article>
|
1588 |
-
</div>
|
1589 |
-
<aside class="span4 detailsbar">
|
1590 |
-
<h1><i class="icon-arrow-down"></i></h1>
|
1591 |
-
<span class="label label-info">static</span>
|
1592 |
-
<dl>
|
1593 |
-
<dt>Uses</dt>
|
1594 |
-
<dd>$mla_option_templates</dd>
|
1595 |
-
</dl>
|
1596 |
-
<h2>Tags</h2>
|
1597 |
-
<table class="table table-condensed">
|
1598 |
-
<tr>
|
1599 |
-
<th>
|
1600 |
-
since
|
1601 |
-
</th>
|
1602 |
-
<td>
|
1603 |
-
1.10
|
1604 |
-
</td>
|
1605 |
-
</tr>
|
1606 |
-
</table>
|
1607 |
-
</aside>
|
1608 |
-
</div>
|
1609 |
-
|
1610 |
-
<div class="row-fluid">
|
1611 |
-
<div class="span8 content class">
|
1612 |
Â
<a id="method__update_custom_field_mapping" name="method__update_custom_field_mapping" class="anchor"></a>
|
1613 |
Â
<article class="method">
|
1614 |
Â
<h3 class="private ">_update_custom_field_mapping()</h3>
|
@@ -2053,7 +2056,7 @@ haven't been mapped to any attachments, yet.</p>
|
|
2053 |
Â
<section class="span10 offset1">
|
2054 |
Â
<hr />
|
2055 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2056 |
-
on
|
2057 |
Â
</section>
|
2058 |
Â
</section>
|
2059 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1831822591"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1831822591" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
250 |
Â
<a href="../classes/MLAOptions.html#method_mla_get_data_source" class="">mla_get_data_source()</a><br />
|
251 |
Â
<a href="../classes/MLAOptions.html#method_mla_is_data_source" class="">mla_is_data_source()</a><br />
|
252 |
Â
<a href="../classes/MLAOptions.html#method_mla_evaluate_custom_field_mapping" class="">mla_evaluate_custom_field_mapping()</a><br />
|
253 |
+
<a href="../classes/MLAOptions.html#method_mla_compose_custom_field_option_list" class="">mla_compose_custom_field_option_list()</a><br />
|
254 |
+
<a href="../classes/MLAOptions.html#method_mla_compose_data_source_option_list" class="">mla_compose_data_source_option_list()</a><br />
|
255 |
Â
<a href="../classes/MLAOptions.html#method_mla_custom_field_option_handler" class="">mla_custom_field_option_handler()</a><br />
|
256 |
Â
<a href="../classes/MLAOptions.html#method_mla_evaluate_iptc_exif_mapping" class="">mla_evaluate_iptc_exif_mapping()</a><br />
|
257 |
Â
<a href="../classes/MLAOptions.html#method_mla_iptc_exif_option_handler" class="">mla_iptc_exif_option_handler()</a><br />
|
278 |
Â
<section class="span4">
|
279 |
Â
<a href="../classes/MLAOptions.html#method__load_option_templates" class="">_load_option_templates()</a><br />
|
280 |
Â
<a href="../classes/MLAOptions.html#method__update_attachment_metadata" class="">_update_attachment_metadata()</a><br />
|
Â
|
|
Â
|
|
281 |
Â
<a href="../classes/MLAOptions.html#method__update_custom_field_mapping" class="">_update_custom_field_mapping()</a><br />
|
282 |
Â
<a href="../classes/MLAOptions.html#method__get_term_id" class="">_get_term_id()</a><br />
|
283 |
Â
<a href="../classes/MLAOptions.html#method__compose_iptc_option_list" class="">_compose_iptc_option_list()</a><br />
|
1240 |
Â
|
1241 |
Â
<div class="row-fluid">
|
1242 |
Â
<div class="span8 content class">
|
1243 |
+
<a id="method_mla_compose_custom_field_option_list" name="method_mla_compose_custom_field_option_list" class="anchor"></a>
|
1244 |
+
<article class="method">
|
1245 |
+
<h3 class="public ">mla_compose_custom_field_option_list()</h3>
|
1246 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1247 |
+
<pre class="signature" style="margin-right: 54px;">mla_compose_custom_field_option_list( <span class="argument">$selection = 'none'</span>, <span class="argument">$blacklist = array()</span>) : string</pre>
|
1248 |
+
<p><em>Compose a Custom Field Options list with current selection</em></p>
|
1249 |
+
|
1250 |
+
|
1251 |
+
<h4>Parameters</h4>
|
1252 |
+
<table class="table table-condensed table-hover">
|
1253 |
+
<tr>
|
1254 |
+
<td></td>
|
1255 |
+
<td>$selection </td>
|
1256 |
+
<td></td>
|
1257 |
+
</tr>
|
1258 |
+
<tr>
|
1259 |
+
<td></td>
|
1260 |
+
<td>$blacklist </td>
|
1261 |
+
<td></td>
|
1262 |
+
</tr>
|
1263 |
+
</table>
|
1264 |
+
|
1265 |
+
|
1266 |
+
<h4>Returns</h4>
|
1267 |
+
string
|
1268 |
+
— <p>HTML markup with select field options</p>
|
1269 |
+
|
1270 |
+
</article>
|
1271 |
+
</div>
|
1272 |
+
<aside class="span4 detailsbar">
|
1273 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
1274 |
+
<span class="label label-info">static</span>
|
1275 |
+
<dl>
|
1276 |
+
<dt>Uses</dt>
|
1277 |
+
<dd>$mla_option_templates</dd>
|
1278 |
+
</dl>
|
1279 |
+
<h2>Tags</h2>
|
1280 |
+
<table class="table table-condensed">
|
1281 |
+
<tr>
|
1282 |
+
<th>
|
1283 |
+
since
|
1284 |
+
</th>
|
1285 |
+
<td>
|
1286 |
+
1.10
|
1287 |
+
</td>
|
1288 |
+
</tr>
|
1289 |
+
</table>
|
1290 |
+
</aside>
|
1291 |
+
</div>
|
1292 |
+
|
1293 |
+
<div class="row-fluid">
|
1294 |
+
<div class="span8 content class">
|
1295 |
+
<a id="method_mla_compose_data_source_option_list" name="method_mla_compose_data_source_option_list" class="anchor"></a>
|
1296 |
+
<article class="method">
|
1297 |
+
<h3 class="public ">mla_compose_data_source_option_list()</h3>
|
1298 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1299 |
+
<pre class="signature" style="margin-right: 54px;">mla_compose_data_source_option_list( <span class="argument">$selection = 'none'</span>) : string</pre>
|
1300 |
+
<p><em>Compose a (Custom Field) Data Source Options list with current selection</em></p>
|
1301 |
+
|
1302 |
+
|
1303 |
+
<h4>Parameters</h4>
|
1304 |
+
<table class="table table-condensed table-hover">
|
1305 |
+
<tr>
|
1306 |
+
<td></td>
|
1307 |
+
<td>$selection </td>
|
1308 |
+
<td></td>
|
1309 |
+
</tr>
|
1310 |
+
</table>
|
1311 |
+
|
1312 |
+
|
1313 |
+
<h4>Returns</h4>
|
1314 |
+
string
|
1315 |
+
— <p>HTML markup with select field options</p>
|
1316 |
+
|
1317 |
+
</article>
|
1318 |
+
</div>
|
1319 |
+
<aside class="span4 detailsbar">
|
1320 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
1321 |
+
<span class="label label-info">static</span>
|
1322 |
+
<dl>
|
1323 |
+
<dt>Uses</dt>
|
1324 |
+
<dd>$mla_option_templates</dd>
|
1325 |
+
</dl>
|
1326 |
+
<h2>Tags</h2>
|
1327 |
+
<table class="table table-condensed">
|
1328 |
+
<tr>
|
1329 |
+
<th>
|
1330 |
+
since
|
1331 |
+
</th>
|
1332 |
+
<td>
|
1333 |
+
1.10
|
1334 |
+
</td>
|
1335 |
+
</tr>
|
1336 |
+
</table>
|
1337 |
+
</aside>
|
1338 |
+
</div>
|
1339 |
+
|
1340 |
+
<div class="row-fluid">
|
1341 |
+
<div class="span8 content class">
|
1342 |
Â
<a id="method_mla_custom_field_option_handler" name="method_mla_custom_field_option_handler" class="anchor"></a>
|
1343 |
Â
<article class="method">
|
1344 |
Â
<h3 class="public ">mla_custom_field_option_handler()</h3>
|
1612 |
Â
|
1613 |
Â
<div class="row-fluid">
|
1614 |
Â
<div class="span8 content class">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1615 |
Â
<a id="method__update_custom_field_mapping" name="method__update_custom_field_mapping" class="anchor"></a>
|
1616 |
Â
<article class="method">
|
1617 |
Â
<h3 class="private ">_update_custom_field_mapping()</h3>
|
2056 |
Â
<section class="span10 offset1">
|
2057 |
Â
<hr />
|
2058 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2059 |
+
on March 18th, 2017 at 19:35.
|
2060 |
Â
</section>
|
2061 |
Â
</section>
|
2062 |
Â
</section>
|
phpDocs/classes/MLAPDF.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -964,7 +967,7 @@ dictionary in the source string, excluding the enclosing delimiters.</p>
|
|
964 |
Â
<section class="span10 offset1">
|
965 |
Â
<hr />
|
966 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
967 |
-
on
|
968 |
Â
</section>
|
969 |
Â
</section>
|
970 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1110780343"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1110780343" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
967 |
Â
<section class="span10 offset1">
|
968 |
Â
<hr />
|
969 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
970 |
+
on March 18th, 2017 at 19:35.
|
971 |
Â
</section>
|
972 |
Â
</section>
|
973 |
Â
</section>
|
phpDocs/classes/MLAQuery.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -2089,7 +2092,7 @@ Modeled after wp_edit_attachments_query in wp-admin/post.php</p>
|
|
2089 |
Â
<section class="span10 offset1">
|
2090 |
Â
<hr />
|
2091 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2092 |
-
on
|
2093 |
Â
</section>
|
2094 |
Â
</section>
|
2095 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1989614373"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1989614373" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
2092 |
Â
<section class="span10 offset1">
|
2093 |
Â
<hr />
|
2094 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2095 |
+
on March 18th, 2017 at 19:35.
|
2096 |
Â
</section>
|
2097 |
Â
</section>
|
2098 |
Â
</section>
|
phpDocs/classes/MLAReferences.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -692,7 +695,7 @@ The array key is the parent_post ID; each entry contains post_title and post_typ
|
|
692 |
Â
<section class="span10 offset1">
|
693 |
Â
<hr />
|
694 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
695 |
-
on
|
696 |
Â
</section>
|
697 |
Â
</section>
|
698 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-367457369"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-367457369" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
695 |
Â
<section class="span10 offset1">
|
696 |
Â
<hr />
|
697 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
698 |
+
on March 18th, 2017 at 19:35.
|
699 |
Â
</section>
|
700 |
Â
</section>
|
701 |
Â
</section>
|
phpDocs/classes/MLASettings.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -253,6 +256,7 @@
|
|
253 |
Â
<section class="span4">
|
254 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_EDIT_VIEW_SLUG" class="">JAVASCRIPT_INLINE_EDIT_VIEW_SLUG</a><br />
|
255 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG" class="">JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG</a><br />
|
Â
|
|
256 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" class="">JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG</a><br />
|
257 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG" class="">JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG</a><br />
|
258 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_MAPPING_OBJECT" class="">JAVASCRIPT_INLINE_MAPPING_OBJECT</a><br />
|
@@ -393,6 +397,34 @@
|
|
393 |
Â
|
394 |
Â
<div class="row-fluid">
|
395 |
Â
<div class="span8 content class">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
396 |
Â
<a id="constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" name="constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" class="anchor"></a>
|
397 |
Â
<article id="constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" class="constant">
|
398 |
Â
<h3 class="">JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG</h3>
|
@@ -1822,7 +1854,7 @@ add settings link in the Plugins section entry for MLA.</em></p>
|
|
1822 |
Â
<section class="span10 offset1">
|
1823 |
Â
<hr />
|
1824 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1825 |
-
on
|
1826 |
Â
</section>
|
1827 |
Â
</section>
|
1828 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-956616975"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-956616975" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
256 |
Â
<section class="span4">
|
257 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_EDIT_VIEW_SLUG" class="">JAVASCRIPT_INLINE_EDIT_VIEW_SLUG</a><br />
|
258 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG" class="">JAVASCRIPT_INLINE_EDIT_UPLOAD_SLUG</a><br />
|
259 |
+
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG" class="">JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG</a><br />
|
260 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" class="">JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG</a><br />
|
261 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG" class="">JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG</a><br />
|
262 |
Â
<a href="../classes/MLASettings.html#constant_JAVASCRIPT_INLINE_MAPPING_OBJECT" class="">JAVASCRIPT_INLINE_MAPPING_OBJECT</a><br />
|
397 |
Â
|
398 |
Â
<div class="row-fluid">
|
399 |
Â
<div class="span8 content class">
|
400 |
+
<a id="constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG" name="constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG" class="anchor"></a>
|
401 |
+
<article id="constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG" class="constant">
|
402 |
+
<h3 class="">JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG</h3>
|
403 |
+
<pre class="signature">JAVASCRIPT_INLINE_EDIT_CUSTOM_SLUG</pre>
|
404 |
+
<p><em>Slug for localizing and enqueueing JavaScript - MLA Custom Fields List Table</em></p>
|
405 |
+
|
406 |
+
</article>
|
407 |
+
</div>
|
408 |
+
<aside class="span4 detailsbar">
|
409 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
410 |
+
<dl>
|
411 |
+
</dl>
|
412 |
+
<h2>Tags</h2>
|
413 |
+
<table class="table table-condensed">
|
414 |
+
<tr>
|
415 |
+
<th>
|
416 |
+
since
|
417 |
+
</th>
|
418 |
+
<td>
|
419 |
+
|
420 |
+
</td>
|
421 |
+
</tr>
|
422 |
+
</table>
|
423 |
+
</aside>
|
424 |
+
</div>
|
425 |
+
|
426 |
+
<div class="row-fluid">
|
427 |
+
<div class="span8 content class">
|
428 |
Â
<a id="constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" name="constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" class="anchor"></a>
|
429 |
Â
<article id="constant_JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG" class="constant">
|
430 |
Â
<h3 class="">JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG</h3>
|
1854 |
Â
<section class="span10 offset1">
|
1855 |
Â
<hr />
|
1856 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1857 |
+
on March 18th, 2017 at 19:35.
|
1858 |
Â
</section>
|
1859 |
Â
</section>
|
1860 |
Â
</section>
|
phpDocs/classes/MLASettings_CustomFields.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -234,12 +237,13 @@ Settings/Media Library Assistant Custom Fields tab</em></p>
|
|
234 |
Â
<a href="../classes/MLASettings_CustomFields.html#method_mla_admin_enqueue_scripts" class="">mla_admin_enqueue_scripts()</a><br />
|
235 |
Â
<a href="../classes/MLASettings_CustomFields.html#method_mla_compose_custom_field_tab" class="">mla_compose_custom_field_tab()</a><br />
|
236 |
Â
<a href="../classes/MLASettings_CustomFields.html#method_mla_inline_mapping_custom_action" class="">mla_inline_mapping_custom_action()</a><br />
|
Â
|
|
237 |
Â
</section>
|
238 |
Â
<section class="span4">
|
239 |
Â
<em>No public properties found</em>
|
240 |
Â
</section>
|
241 |
Â
<section class="span4">
|
242 |
-
<
|
243 |
Â
</section>
|
244 |
Â
</section>
|
245 |
Â
<section class="row-fluid protected">
|
@@ -257,6 +261,12 @@ Settings/Media Library Assistant Custom Fields tab</em></p>
|
|
257 |
Â
<section class="span4">
|
258 |
Â
<a href="../classes/MLASettings_CustomFields.html#method__save_custom_field_settings" class="">_save_custom_field_settings()</a><br />
|
259 |
Â
<a href="../classes/MLASettings_CustomFields.html#method__process_custom_field_mapping" class="">_process_custom_field_mapping()</a><br />
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
260 |
Â
</section>
|
261 |
Â
<section class="span4">
|
262 |
Â
<em>No private properties found</em>
|
@@ -299,7 +309,43 @@ Settings/Media Library Assistant Custom Fields tab</em></p>
|
|
299 |
Â
</aside>
|
300 |
Â
</div>
|
301 |
Â
|
302 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
303 |
Â
|
304 |
Â
<a id="methods" name="methods"></a>
|
305 |
Â
<div class="row-fluid">
|
@@ -420,6 +466,40 @@ Settings/Media Library Assistant Custom Fields tab</em></p>
|
|
420 |
Â
</aside>
|
421 |
Â
</div>
|
422 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
423 |
Â
<div class="row-fluid">
|
424 |
Â
<div class="span8 content class">
|
425 |
Â
<a id="method__save_custom_field_settings" name="method__save_custom_field_settings" class="anchor"></a>
|
@@ -474,8 +554,7 @@ Settings/Media Library Assistant Custom Fields tab</em></p>
|
|
474 |
Â
<h3 class="private ">_process_custom_field_mapping()</h3>
|
475 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
476 |
Â
<pre class="signature" style="margin-right: 54px;">_process_custom_field_mapping( <span class="argument">$settings = NULL</span>, <span class="argument">$offset</span>, <span class="argument">$length</span>) : array</pre>
|
477 |
-
<p><em>Process custom field settings against all image attachments
|
478 |
-
without saving the settings to the mla_option</em></p>
|
479 |
Â
|
480 |
Â
|
481 |
Â
<h4>Parameters</h4>
|
@@ -518,7 +597,285 @@ without saving the settings to the mla_option</em></p>
|
|
518 |
Â
since
|
519 |
Â
</th>
|
520 |
Â
<td>
|
521 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
522 |
Â
</td>
|
523 |
Â
</tr>
|
524 |
Â
</table>
|
@@ -574,7 +931,7 @@ without saving the settings to the mla_option</em></p>
|
|
574 |
Â
<section class="span10 offset1">
|
575 |
Â
<hr />
|
576 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
577 |
-
on
|
578 |
Â
</section>
|
579 |
Â
</section>
|
580 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-112039963"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-112039963" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
237 |
Â
<a href="../classes/MLASettings_CustomFields.html#method_mla_admin_enqueue_scripts" class="">mla_admin_enqueue_scripts()</a><br />
|
238 |
Â
<a href="../classes/MLASettings_CustomFields.html#method_mla_compose_custom_field_tab" class="">mla_compose_custom_field_tab()</a><br />
|
239 |
Â
<a href="../classes/MLASettings_CustomFields.html#method_mla_inline_mapping_custom_action" class="">mla_inline_mapping_custom_action()</a><br />
|
240 |
+
<a href="../classes/MLASettings_CustomFields.html#method_mla_inline_edit_custom_action" class="">mla_inline_edit_custom_action()</a><br />
|
241 |
Â
</section>
|
242 |
Â
<section class="span4">
|
243 |
Â
<em>No public properties found</em>
|
244 |
Â
</section>
|
245 |
Â
<section class="span4">
|
246 |
+
<a href="../classes/MLASettings_CustomFields.html#constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT" class="">JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT</a><br />
|
247 |
Â
</section>
|
248 |
Â
</section>
|
249 |
Â
<section class="row-fluid protected">
|
261 |
Â
<section class="span4">
|
262 |
Â
<a href="../classes/MLASettings_CustomFields.html#method__save_custom_field_settings" class="">_save_custom_field_settings()</a><br />
|
263 |
Â
<a href="../classes/MLASettings_CustomFields.html#method__process_custom_field_mapping" class="">_process_custom_field_mapping()</a><br />
|
264 |
+
<a href="../classes/MLASettings_CustomFields.html#method__add_custom_field_rule" class="">_add_custom_field_rule()</a><br />
|
265 |
+
<a href="../classes/MLASettings_CustomFields.html#method__update_custom_field_rule" class="">_update_custom_field_rule()</a><br />
|
266 |
+
<a href="../classes/MLASettings_CustomFields.html#method__delete_custom_field_rule" class="">_delete_custom_field_rule()</a><br />
|
267 |
+
<a href="../classes/MLASettings_CustomFields.html#method__bulk_update_custom_field_rule" class="">_bulk_update_custom_field_rule()</a><br />
|
268 |
+
<a href="../classes/MLASettings_CustomFields.html#method__compose_edit_custom_field_rule_tab" class="">_compose_edit_custom_field_rule_tab()</a><br />
|
269 |
+
<a href="../classes/MLASettings_CustomFields.html#method__purge_custom_field_values" class="">_purge_custom_field_values()</a><br />
|
270 |
Â
</section>
|
271 |
Â
<section class="span4">
|
272 |
Â
<em>No private properties found</em>
|
309 |
Â
</aside>
|
310 |
Â
</div>
|
311 |
Â
|
312 |
+
<a id="constants" name="constants"></a>
|
313 |
+
<div class="row-fluid">
|
314 |
+
<div class="span8 content class">
|
315 |
+
<h2>Constants</h2>
|
316 |
+
</div>
|
317 |
+
<aside class="span4 detailsbar"></aside>
|
318 |
+
</div>
|
319 |
+
|
320 |
+
<div class="row-fluid">
|
321 |
+
<div class="span8 content class">
|
322 |
+
<a id="constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT" name="constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT" class="anchor"></a>
|
323 |
+
<article id="constant_JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT" class="constant">
|
324 |
+
<h3 class="">JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT</h3>
|
325 |
+
<pre class="signature">JAVASCRIPT_INLINE_EDIT_CUSTOM_OBJECT</pre>
|
326 |
+
<p><em>Object name for localizing JavaScript - MLA Custom Fields List Table</em></p>
|
327 |
+
|
328 |
+
</article>
|
329 |
+
</div>
|
330 |
+
<aside class="span4 detailsbar">
|
331 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
332 |
+
<dl>
|
333 |
+
</dl>
|
334 |
+
<h2>Tags</h2>
|
335 |
+
<table class="table table-condensed">
|
336 |
+
<tr>
|
337 |
+
<th>
|
338 |
+
since
|
339 |
+
</th>
|
340 |
+
<td>
|
341 |
+
|
342 |
+
</td>
|
343 |
+
</tr>
|
344 |
+
</table>
|
345 |
+
</aside>
|
346 |
+
</div>
|
347 |
+
|
348 |
+
|
349 |
Â
|
350 |
Â
<a id="methods" name="methods"></a>
|
351 |
Â
<div class="row-fluid">
|
466 |
Â
</aside>
|
467 |
Â
</div>
|
468 |
Â
|
469 |
+
<div class="row-fluid">
|
470 |
+
<div class="span8 content class">
|
471 |
+
<a id="method_mla_inline_edit_custom_action" name="method_mla_inline_edit_custom_action" class="anchor"></a>
|
472 |
+
<article class="method">
|
473 |
+
<h3 class="public ">mla_inline_edit_custom_action()</h3>
|
474 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
475 |
+
<pre class="signature" style="margin-right: 54px;">mla_inline_edit_custom_action() : void</pre>
|
476 |
+
<p><em>Ajax handler for Custom Fields inline editing (quick edit)</em></p>
|
477 |
+
<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>
|
478 |
+
|
479 |
+
|
480 |
+
|
481 |
+
|
482 |
+
</article>
|
483 |
+
</div>
|
484 |
+
<aside class="span4 detailsbar">
|
485 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
486 |
+
<span class="label label-info">static</span>
|
487 |
+
<dl>
|
488 |
+
</dl>
|
489 |
+
<h2>Tags</h2>
|
490 |
+
<table class="table table-condensed">
|
491 |
+
<tr>
|
492 |
+
<th>
|
493 |
+
since
|
494 |
+
</th>
|
495 |
+
<td>
|
496 |
+
2.50
|
497 |
+
</td>
|
498 |
+
</tr>
|
499 |
+
</table>
|
500 |
+
</aside>
|
501 |
+
</div>
|
502 |
+
|
503 |
Â
<div class="row-fluid">
|
504 |
Â
<div class="span8 content class">
|
505 |
Â
<a id="method__save_custom_field_settings" name="method__save_custom_field_settings" class="anchor"></a>
|
554 |
Â
<h3 class="private ">_process_custom_field_mapping()</h3>
|
555 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
556 |
Â
<pre class="signature" style="margin-right: 54px;">_process_custom_field_mapping( <span class="argument">$settings = NULL</span>, <span class="argument">$offset</span>, <span class="argument">$length</span>) : array</pre>
|
557 |
+
<p><em>Process custom field settings against all image attachments</em></p>
|
Â
|
|
558 |
Â
|
559 |
Â
|
560 |
Â
<h4>Parameters</h4>
|
597 |
Â
since
|
598 |
Â
</th>
|
599 |
Â
<td>
|
600 |
+
2.50
|
601 |
+
</td>
|
602 |
+
</tr>
|
603 |
+
</table>
|
604 |
+
</aside>
|
605 |
+
</div>
|
606 |
+
|
607 |
+
<div class="row-fluid">
|
608 |
+
<div class="span8 content class">
|
609 |
+
<a id="method__add_custom_field_rule" name="method__add_custom_field_rule" class="anchor"></a>
|
610 |
+
<article class="method">
|
611 |
+
<h3 class="private ">_add_custom_field_rule()</h3>
|
612 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
613 |
+
<pre class="signature" style="margin-right: 54px;">_add_custom_field_rule() : string</pre>
|
614 |
+
<p><em>Add a custom field rule from values in $_REQUEST</em></p>
|
615 |
+
|
616 |
+
|
617 |
+
|
618 |
+
|
619 |
+
<h4>Returns</h4>
|
620 |
+
string
|
621 |
+
— <p>Message(s) reflecting the results of the operation</p>
|
622 |
+
|
623 |
+
</article>
|
624 |
+
</div>
|
625 |
+
<aside class="span4 detailsbar">
|
626 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
627 |
+
<span class="label label-info">static</span>
|
628 |
+
<dl>
|
629 |
+
<dt>Uses</dt>
|
630 |
+
<dd>$_REQUEST</dd>
|
631 |
+
</dl>
|
632 |
+
<h2>Tags</h2>
|
633 |
+
<table class="table table-condensed">
|
634 |
+
<tr>
|
635 |
+
<th>
|
636 |
+
since
|
637 |
+
</th>
|
638 |
+
<td>
|
639 |
+
2.50
|
640 |
+
</td>
|
641 |
+
</tr>
|
642 |
+
</table>
|
643 |
+
</aside>
|
644 |
+
</div>
|
645 |
+
|
646 |
+
<div class="row-fluid">
|
647 |
+
<div class="span8 content class">
|
648 |
+
<a id="method__update_custom_field_rule" name="method__update_custom_field_rule" class="anchor"></a>
|
649 |
+
<article class="method">
|
650 |
+
<h3 class="private ">_update_custom_field_rule()</h3>
|
651 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
652 |
+
<pre class="signature" style="margin-right: 54px;">_update_custom_field_rule(integer <span class="argument">$post_id</span>, <span class="argument">$template</span>) : array</pre>
|
653 |
+
<p><em>Update a custom field rule from full-screen Edit Rule values in $_REQUEST</em></p>
|
654 |
+
|
655 |
+
|
656 |
+
<h4>Parameters</h4>
|
657 |
+
<table class="table table-condensed table-hover">
|
658 |
+
<tr>
|
659 |
+
<td>integer</td>
|
660 |
+
<td>$post_id </td>
|
661 |
+
<td><p>ID value of rule to update</p></td>
|
662 |
+
</tr>
|
663 |
+
<tr>
|
664 |
+
<td></td>
|
665 |
+
<td>$template </td>
|
666 |
+
<td></td>
|
667 |
+
</tr>
|
668 |
+
</table>
|
669 |
+
|
670 |
+
|
671 |
+
<h4>Returns</h4>
|
672 |
+
array
|
673 |
+
— <p>'message' => status/error messages, 'body' => tab content</p>
|
674 |
+
|
675 |
+
</article>
|
676 |
+
</div>
|
677 |
+
<aside class="span4 detailsbar">
|
678 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
679 |
+
<span class="label label-info">static</span>
|
680 |
+
<dl>
|
681 |
+
<dt>Uses</dt>
|
682 |
+
<dd>$_REQUEST</dd>
|
683 |
+
</dl>
|
684 |
+
<h2>Tags</h2>
|
685 |
+
<table class="table table-condensed">
|
686 |
+
<tr>
|
687 |
+
<th>
|
688 |
+
since
|
689 |
+
</th>
|
690 |
+
<td>
|
691 |
+
2.50
|
692 |
+
</td>
|
693 |
+
</tr>
|
694 |
+
</table>
|
695 |
+
</aside>
|
696 |
+
</div>
|
697 |
+
|
698 |
+
<div class="row-fluid">
|
699 |
+
<div class="span8 content class">
|
700 |
+
<a id="method__delete_custom_field_rule" name="method__delete_custom_field_rule" class="anchor"></a>
|
701 |
+
<article class="method">
|
702 |
+
<h3 class="private ">_delete_custom_field_rule()</h3>
|
703 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
704 |
+
<pre class="signature" style="margin-right: 54px;">_delete_custom_field_rule(integer <span class="argument">$post_id</span>) : array</pre>
|
705 |
+
<p><em>Delete a custom field rule</em></p>
|
706 |
+
|
707 |
+
|
708 |
+
<h4>Parameters</h4>
|
709 |
+
<table class="table table-condensed table-hover">
|
710 |
+
<tr>
|
711 |
+
<td>integer</td>
|
712 |
+
<td>$post_id </td>
|
713 |
+
<td><p>ID value of rule to delete</p></td>
|
714 |
+
</tr>
|
715 |
+
</table>
|
716 |
+
|
717 |
+
|
718 |
+
<h4>Returns</h4>
|
719 |
+
array
|
720 |
+
— <p>Message(s) reflecting the results of the operation</p>
|
721 |
+
|
722 |
+
</article>
|
723 |
+
</div>
|
724 |
+
<aside class="span4 detailsbar">
|
725 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
726 |
+
<span class="label label-info">static</span>
|
727 |
+
<dl>
|
728 |
+
</dl>
|
729 |
+
<h2>Tags</h2>
|
730 |
+
<table class="table table-condensed">
|
731 |
+
<tr>
|
732 |
+
<th>
|
733 |
+
since
|
734 |
+
</th>
|
735 |
+
<td>
|
736 |
+
2.50
|
737 |
+
</td>
|
738 |
+
</tr>
|
739 |
+
</table>
|
740 |
+
</aside>
|
741 |
+
</div>
|
742 |
+
|
743 |
+
<div class="row-fluid">
|
744 |
+
<div class="span8 content class">
|
745 |
+
<a id="method__bulk_update_custom_field_rule" name="method__bulk_update_custom_field_rule" class="anchor"></a>
|
746 |
+
<article class="method">
|
747 |
+
<h3 class="private ">_bulk_update_custom_field_rule()</h3>
|
748 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
749 |
+
<pre class="signature" style="margin-right: 54px;">_bulk_update_custom_field_rule(integer <span class="argument">$post_id</span>) : string</pre>
|
750 |
+
<p><em>Update a custom field rule from Bulk Edit action values in $_REQUEST</em></p>
|
751 |
+
|
752 |
+
|
753 |
+
<h4>Parameters</h4>
|
754 |
+
<table class="table table-condensed table-hover">
|
755 |
+
<tr>
|
756 |
+
<td>integer</td>
|
757 |
+
<td>$post_id </td>
|
758 |
+
<td><p>ID value of rule to update</p></td>
|
759 |
+
</tr>
|
760 |
+
</table>
|
761 |
+
|
762 |
+
|
763 |
+
<h4>Returns</h4>
|
764 |
+
string
|
765 |
+
— <p>status/error message</p>
|
766 |
+
|
767 |
+
</article>
|
768 |
+
</div>
|
769 |
+
<aside class="span4 detailsbar">
|
770 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
771 |
+
<span class="label label-info">static</span>
|
772 |
+
<dl>
|
773 |
+
<dt>Uses</dt>
|
774 |
+
<dd>$_REQUEST</dd>
|
775 |
+
</dl>
|
776 |
+
<h2>Tags</h2>
|
777 |
+
<table class="table table-condensed">
|
778 |
+
<tr>
|
779 |
+
<th>
|
780 |
+
since
|
781 |
+
</th>
|
782 |
+
<td>
|
783 |
+
2.50
|
784 |
+
</td>
|
785 |
+
</tr>
|
786 |
+
</table>
|
787 |
+
</aside>
|
788 |
+
</div>
|
789 |
+
|
790 |
+
<div class="row-fluid">
|
791 |
+
<div class="span8 content class">
|
792 |
+
<a id="method__compose_edit_custom_field_rule_tab" name="method__compose_edit_custom_field_rule_tab" class="anchor"></a>
|
793 |
+
<article class="method">
|
794 |
+
<h3 class="private ">_compose_edit_custom_field_rule_tab()</h3>
|
795 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
796 |
+
<pre class="signature" style="margin-right: 54px;">_compose_edit_custom_field_rule_tab(array <span class="argument">$item</span>, <span class="argument">$template</span>) : array</pre>
|
797 |
+
<p><em>Compose the Edit Custom Field Rule tab content for the Settings/Custom Field subpage</em></p>
|
798 |
+
|
799 |
+
|
800 |
+
<h4>Parameters</h4>
|
801 |
+
<table class="table table-condensed table-hover">
|
802 |
+
<tr>
|
803 |
+
<td>array</td>
|
804 |
+
<td>$item </td>
|
805 |
+
<td><p>Data values for the item.</p></td>
|
806 |
+
</tr>
|
807 |
+
<tr>
|
808 |
+
<td></td>
|
809 |
+
<td>$template </td>
|
810 |
+
<td></td>
|
811 |
+
</tr>
|
812 |
+
</table>
|
813 |
+
|
814 |
+
|
815 |
+
<h4>Returns</h4>
|
816 |
+
array
|
817 |
+
— <p>'message' => status/error messages, 'body' => tab content</p>
|
818 |
+
|
819 |
+
</article>
|
820 |
+
</div>
|
821 |
+
<aside class="span4 detailsbar">
|
822 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
823 |
+
<span class="label label-info">static</span>
|
824 |
+
<dl>
|
825 |
+
</dl>
|
826 |
+
<h2>Tags</h2>
|
827 |
+
<table class="table table-condensed">
|
828 |
+
<tr>
|
829 |
+
<th>
|
830 |
+
since
|
831 |
+
</th>
|
832 |
+
<td>
|
833 |
+
2.50
|
834 |
+
</td>
|
835 |
+
</tr>
|
836 |
+
</table>
|
837 |
+
</aside>
|
838 |
+
</div>
|
839 |
+
|
840 |
+
<div class="row-fluid">
|
841 |
+
<div class="span8 content class">
|
842 |
+
<a id="method__purge_custom_field_values" name="method__purge_custom_field_values" class="anchor"></a>
|
843 |
+
<article class="method">
|
844 |
+
<h3 class="private ">_purge_custom_field_values()</h3>
|
845 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
846 |
+
<pre class="signature" style="margin-right: 54px;">_purge_custom_field_values(array <span class="argument">$rule_ids</span>) : array</pre>
|
847 |
+
<p><em>Purge one or more custom field vaues for Bulk action</em></p>
|
848 |
+
|
849 |
+
|
850 |
+
<h4>Parameters</h4>
|
851 |
+
<table class="table table-condensed table-hover">
|
852 |
+
<tr>
|
853 |
+
<td>array</td>
|
854 |
+
<td>$rule_ids </td>
|
855 |
+
<td><p>ID value of rule(s), to get field names</p></td>
|
856 |
+
</tr>
|
857 |
+
</table>
|
858 |
+
|
859 |
+
|
860 |
+
<h4>Returns</h4>
|
861 |
+
array
|
862 |
+
— <p>Message(s) reflecting the results of the operation</p>
|
863 |
+
|
864 |
+
</article>
|
865 |
+
</div>
|
866 |
+
<aside class="span4 detailsbar">
|
867 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
868 |
+
<span class="label label-info">static</span>
|
869 |
+
<dl>
|
870 |
+
</dl>
|
871 |
+
<h2>Tags</h2>
|
872 |
+
<table class="table table-condensed">
|
873 |
+
<tr>
|
874 |
+
<th>
|
875 |
+
since
|
876 |
+
</th>
|
877 |
+
<td>
|
878 |
+
2.50
|
879 |
Â
</td>
|
880 |
Â
</tr>
|
881 |
Â
</table>
|
931 |
Â
<section class="span10 offset1">
|
932 |
Â
<hr />
|
933 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
934 |
+
on March 18th, 2017 at 19:35.
|
935 |
Â
</section>
|
936 |
Â
</section>
|
937 |
Â
</section>
|
phpDocs/classes/MLASettings_Documentation.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -583,7 +586,7 @@ Settings/Media Library Assistant Documentation tab</em></p>
|
|
583 |
Â
<section class="span10 offset1">
|
584 |
Â
<hr />
|
585 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
586 |
-
on
|
587 |
Â
</section>
|
588 |
Â
</section>
|
589 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1786060906"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1786060906" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
586 |
Â
<section class="span10 offset1">
|
587 |
Â
<hr />
|
588 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
589 |
+
on March 18th, 2017 at 19:35.
|
590 |
Â
</section>
|
591 |
Â
</section>
|
592 |
Â
</section>
|
phpDocs/classes/MLASettings_IPTCEXIF.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -722,7 +725,7 @@ without saving the settings to the mla_option</em></p>
|
|
722 |
Â
<section class="span10 offset1">
|
723 |
Â
<hr />
|
724 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
725 |
-
on
|
726 |
Â
</section>
|
727 |
Â
</section>
|
728 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1743451974"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1743451974" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
725 |
Â
<section class="span10 offset1">
|
726 |
Â
<hr />
|
727 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
728 |
+
on March 18th, 2017 at 19:35.
|
729 |
Â
</section>
|
730 |
Â
</section>
|
731 |
Â
</section>
|
phpDocs/classes/MLASettings_Shortcodes.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -818,7 +821,7 @@ Settings/Media Library Assistant Shortcodes tab</em></p>
|
|
818 |
Â
<section class="span10 offset1">
|
819 |
Â
<hr />
|
820 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
821 |
-
on
|
822 |
Â
</section>
|
823 |
Â
</section>
|
824 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1928474054"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1928474054" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
821 |
Â
<section class="span10 offset1">
|
822 |
Â
<hr />
|
823 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
824 |
+
on March 18th, 2017 at 19:35.
|
825 |
Â
</section>
|
826 |
Â
</section>
|
827 |
Â
</section>
|
phpDocs/classes/MLASettings_Upload.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -432,7 +435,7 @@ Settings/Media Library Assistant Uploads tab</em></p>
|
|
432 |
Â
<h3 class="public ">mla_inline_edit_upload_action()</h3>
|
433 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
434 |
Â
<pre class="signature" style="margin-right: 54px;">mla_inline_edit_upload_action() : void</pre>
|
435 |
-
<p><em>Ajax handler for Upload MIME Types inline editing (quick
|
436 |
Â
<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>
|
437 |
Â
|
438 |
Â
|
@@ -742,7 +745,7 @@ Settings/Media Library Assistant Uploads tab</em></p>
|
|
742 |
Â
<section class="span10 offset1">
|
743 |
Â
<hr />
|
744 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
745 |
-
on
|
746 |
Â
</section>
|
747 |
Â
</section>
|
748 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1478140244"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1478140244" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
435 |
Â
<h3 class="public ">mla_inline_edit_upload_action()</h3>
|
436 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
437 |
Â
<pre class="signature" style="margin-right: 54px;">mla_inline_edit_upload_action() : void</pre>
|
438 |
+
<p><em>Ajax handler for Upload MIME Types inline editing (quick edit)</em></p>
|
439 |
Â
<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>
|
440 |
Â
|
441 |
Â
|
745 |
Â
<section class="span10 offset1">
|
746 |
Â
<hr />
|
747 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
748 |
+
on March 18th, 2017 at 19:35.
|
749 |
Â
</section>
|
750 |
Â
</section>
|
751 |
Â
</section>
|
phpDocs/classes/MLASettings_View.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -429,7 +432,7 @@ Settings/Media Library Assistant Views tab</em></p>
|
|
429 |
Â
<h3 class="public ">mla_inline_edit_view_action()</h3>
|
430 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
431 |
Â
<pre class="signature" style="margin-right: 54px;">mla_inline_edit_view_action() : void</pre>
|
432 |
-
<p><em>Ajax handler for Post MIME Types inline editing (quick
|
433 |
Â
<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>
|
434 |
Â
|
435 |
Â
|
@@ -594,7 +597,7 @@ Settings/Media Library Assistant Views tab</em></p>
|
|
594 |
Â
<section class="span10 offset1">
|
595 |
Â
<hr />
|
596 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
597 |
-
on
|
598 |
Â
</section>
|
599 |
Â
</section>
|
600 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1847398800"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1847398800" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
432 |
Â
<h3 class="public ">mla_inline_edit_view_action()</h3>
|
433 |
Â
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
434 |
Â
<pre class="signature" style="margin-right: 54px;">mla_inline_edit_view_action() : void</pre>
|
435 |
+
<p><em>Ajax handler for Post MIME Types inline editing (quick edit)</em></p>
|
436 |
Â
<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>
|
437 |
Â
|
438 |
Â
|
597 |
Â
<section class="span10 offset1">
|
598 |
Â
<hr />
|
599 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
600 |
+
on March 18th, 2017 at 19:35.
|
601 |
Â
</section>
|
602 |
Â
</section>
|
603 |
Â
</section>
|
phpDocs/classes/MLAShortcode_Support.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -2019,7 +2022,7 @@ relevant children are already in the $terms argument.</p>
|
|
2019 |
Â
<section class="span10 offset1">
|
2020 |
Â
<hr />
|
2021 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2022 |
-
on
|
2023 |
Â
</section>
|
2024 |
Â
</section>
|
2025 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1040860766"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1040860766" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
2022 |
Â
<section class="span10 offset1">
|
2023 |
Â
<hr />
|
2024 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2025 |
+
on March 18th, 2017 at 19:35.
|
2026 |
Â
</section>
|
2027 |
Â
</section>
|
2028 |
Â
</section>
|
phpDocs/classes/MLAShortcodes.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -835,7 +838,7 @@ to MLA users and loads the support class if the shortcodes are executed.</em></p
|
|
835 |
Â
<section class="span10 offset1">
|
836 |
Â
<hr />
|
837 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
838 |
-
on
|
839 |
Â
</section>
|
840 |
Â
</section>
|
841 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1317841096"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1317841096" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
838 |
Â
<section class="span10 offset1">
|
839 |
Â
<hr />
|
840 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
841 |
+
on March 18th, 2017 at 19:35.
|
842 |
Â
</section>
|
843 |
Â
</section>
|
844 |
Â
</section>
|
phpDocs/classes/MLATemplate_Support.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -785,7 +788,7 @@ localization calls cannot be placed in the "public static" array defin
|
|
785 |
Â
<section class="span10 offset1">
|
786 |
Â
<hr />
|
787 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
788 |
-
on
|
789 |
Â
</section>
|
790 |
Â
</section>
|
791 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-820923930"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-820923930" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
788 |
Â
<section class="span10 offset1">
|
789 |
Â
<hr />
|
790 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
791 |
+
on March 18th, 2017 at 19:35.
|
792 |
Â
</section>
|
793 |
Â
</section>
|
794 |
Â
</section>
|
phpDocs/classes/MLATest.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -550,7 +553,7 @@ to ensure the plugin can run in the current WordPress envrionment.</em></p>
|
|
550 |
Â
<section class="span10 offset1">
|
551 |
Â
<hr />
|
552 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
553 |
-
on
|
554 |
Â
</section>
|
555 |
Â
</section>
|
556 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1638301844"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1638301844" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
553 |
Â
<section class="span10 offset1">
|
554 |
Â
<hr />
|
555 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
556 |
+
on March 18th, 2017 at 19:35.
|
557 |
Â
</section>
|
558 |
Â
</section>
|
559 |
Â
</section>
|
phpDocs/classes/MLATextWidget.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -561,7 +564,7 @@
|
|
561 |
Â
<section class="span10 offset1">
|
562 |
Â
<hr />
|
563 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
564 |
-
on
|
565 |
Â
</section>
|
566 |
Â
</section>
|
567 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1653053070"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1653053070" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
564 |
Â
<section class="span10 offset1">
|
565 |
Â
<hr />
|
566 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
567 |
+
on March 18th, 2017 at 19:35.
|
568 |
Â
</section>
|
569 |
Â
</section>
|
570 |
Â
</section>
|
phpDocs/classes/MLAUninstall.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -386,7 +389,7 @@
|
|
386 |
Â
<section class="span10 offset1">
|
387 |
Â
<hr />
|
388 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
389 |
-
on
|
390 |
Â
</section>
|
391 |
Â
</section>
|
392 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-3448640"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-3448640" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
389 |
Â
<section class="span10 offset1">
|
390 |
Â
<hr />
|
391 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
392 |
+
on March 18th, 2017 at 19:35.
|
393 |
Â
</section>
|
394 |
Â
</section>
|
395 |
Â
</section>
|
phpDocs/classes/MLA_Ajax.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -236,7 +239,7 @@
|
|
236 |
Â
<a href="../classes/MLA_Ajax.html#method_mla_set_parent_ajax_action" class="">mla_set_parent_ajax_action()</a><br />
|
237 |
Â
</section>
|
238 |
Â
<section class="span4">
|
239 |
-
<
|
240 |
Â
</section>
|
241 |
Â
<section class="span4">
|
242 |
Â
<em>No constants found</em>
|
@@ -299,7 +302,46 @@
|
|
299 |
Â
</div>
|
300 |
Â
|
301 |
Â
|
302 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
303 |
Â
<a id="methods" name="methods"></a>
|
304 |
Â
<div class="row-fluid">
|
305 |
Â
<div class="span8 content class"><h2>Methods</h2></div>
|
@@ -534,7 +576,7 @@ Adds filters for post type and pagination.</p>
|
|
534 |
Â
<section class="span10 offset1">
|
535 |
Â
<hr />
|
536 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
537 |
-
on
|
538 |
Â
</section>
|
539 |
Â
</section>
|
540 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1712357105"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-1712357105" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
239 |
Â
<a href="../classes/MLA_Ajax.html#method_mla_set_parent_ajax_action" class="">mla_set_parent_ajax_action()</a><br />
|
240 |
Â
</section>
|
241 |
Â
<section class="span4">
|
242 |
+
<a href="../classes/MLA_Ajax.html#property_ajax_only" class="">$ajax_only</a><br />
|
243 |
Â
</section>
|
244 |
Â
<section class="span4">
|
245 |
Â
<em>No constants found</em>
|
302 |
Â
</div>
|
303 |
Â
|
304 |
Â
|
305 |
+
<a id="properties" name="properties"></a>
|
306 |
+
<div class="row-fluid">
|
307 |
+
<div class="span8 content class">
|
308 |
+
<h2>Properties</h2>
|
309 |
+
</div>
|
310 |
+
<aside class="span4 detailsbar"></aside>
|
311 |
+
</div>
|
312 |
+
|
313 |
+
<div class="row-fluid">
|
314 |
+
<div class="span8 content class">
|
315 |
+
<a id="property_ajax_only" name="property_ajax_only" class="anchor"></a>
|
316 |
+
<article class="property">
|
317 |
+
<h3 class="public ">$ajax_only</h3>
|
318 |
+
<pre class="signature">$ajax_only : boolean</pre>
|
319 |
+
<p><em>True if limiting MLA to AJAX support, false if loading all of MLA</em></p>
|
320 |
+
<p>Recorded here for debug logging purposes; set in mla-plugin-loader.php.</p>
|
321 |
+
|
322 |
+
<h4>Type</h4>
|
323 |
+
boolean
|
324 |
+
</article>
|
325 |
+
</div>
|
326 |
+
<aside class="span4 detailsbar">
|
327 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
328 |
+
<dl>
|
329 |
+
</dl>
|
330 |
+
<h2>Tags</h2>
|
331 |
+
<table class="table table-condensed">
|
332 |
+
<tr>
|
333 |
+
<th>
|
334 |
+
since
|
335 |
+
</th>
|
336 |
+
<td>
|
337 |
+
|
338 |
+
</td>
|
339 |
+
</tr>
|
340 |
+
</table>
|
341 |
+
</aside>
|
342 |
+
</div>
|
343 |
+
|
344 |
+
|
345 |
Â
<a id="methods" name="methods"></a>
|
346 |
Â
<div class="row-fluid">
|
347 |
Â
<div class="span8 content class"><h2>Methods</h2></div>
|
576 |
Â
<section class="span10 offset1">
|
577 |
Â
<hr />
|
578 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
579 |
+
on March 18th, 2017 at 19:35.
|
580 |
Â
</section>
|
581 |
Â
</section>
|
582 |
Â
</section>
|
phpDocs/classes/MLA_Checklist_Walker.html
CHANGED
@@ -136,19 +136,22 @@
|
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
-
<div id="namespace-
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
-
<li class="class"><a href="../classes/
|
148 |
-
<li class="class"><a href="../classes/
|
Â
|
|
149 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
Â
|
|
Â
|
|
152 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
153 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
154 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
@@ -478,7 +481,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p>
|
|
478 |
Â
<section class="span10 offset1">
|
479 |
Â
<hr />
|
480 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
481 |
-
on
|
482 |
Â
</section>
|
483 |
Â
</section>
|
484 |
Â
</section>
|
136 |
Â
<div class="accordion" style="margin-bottom: 0">
|
137 |
Â
<div class="accordion-group">
|
138 |
Â
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-991636208"></a>
|
140 |
Â
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
Â
</div>
|
142 |
+
<div id="namespace-991636208" class="accordion-body collapse in">
|
143 |
Â
<div class="accordion-inner">
|
144 |
Â
|
145 |
Â
|
146 |
Â
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
Â
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
Â
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
Â
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
Â
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
Â
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
Â
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
481 |
Â
<section class="span10 offset1">
|
482 |
Â
<hr />
|
483 |
Â
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
484 |
+
on March 18th, 2017 at 19:35.
|
485 |
Â
</section>
|
486 |
Â
</section>
|
487 |
Â
</section>
|
phpDocs/classes/MLA_Custom_Field_Query.html
ADDED
@@ -0,0 +1,1166 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
5 |
+
<meta charset="utf-8"/>
|
6 |
+
<title>Media Library Assistant</title>
|
7 |
+
<meta name="author" content=""/>
|
8 |
+
<meta name="description" content=""/>
|
9 |
+
|
10 |
+
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
11 |
+
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
12 |
+
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
13 |
+
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
14 |
+
|
15 |
+
<!--[if lt IE 9]>
|
16 |
+
<script src="../js/html5.js"></script>
|
17 |
+
<![endif]-->
|
18 |
+
<script src="../js/jquery-1.11.0.min.js"></script>
|
19 |
+
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
20 |
+
<script src="../js/bootstrap.min.js"></script>
|
21 |
+
<script src="../js/jquery.smooth-scroll.js"></script>
|
22 |
+
<script src="../js/prism.min.js"></script>
|
23 |
+
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
24 |
+
<script type="text/javascript">
|
25 |
+
function loadExternalCodeSnippets() {
|
26 |
+
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
27 |
+
var src = pre.getAttribute('data-src');
|
28 |
+
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
29 |
+
var language = 'php';
|
30 |
+
|
31 |
+
var code = document.createElement('code');
|
32 |
+
code.className = 'language-' + language;
|
33 |
+
|
34 |
+
pre.textContent = '';
|
35 |
+
|
36 |
+
code.textContent = 'Loading…';
|
37 |
+
|
38 |
+
pre.appendChild(code);
|
39 |
+
|
40 |
+
var xhr = new XMLHttpRequest();
|
41 |
+
|
42 |
+
xhr.open('GET', src, true);
|
43 |
+
|
44 |
+
xhr.onreadystatechange = function () {
|
45 |
+
if (xhr.readyState == 4) {
|
46 |
+
|
47 |
+
if (xhr.status < 400 && xhr.responseText) {
|
48 |
+
code.textContent = xhr.responseText;
|
49 |
+
|
50 |
+
Prism.highlightElement(code);
|
51 |
+
}
|
52 |
+
else if (xhr.status >= 400) {
|
53 |
+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
54 |
+
}
|
55 |
+
else {
|
56 |
+
code.textContent = '✖ Error: File does not exist or is empty';
|
57 |
+
}
|
58 |
+
}
|
59 |
+
};
|
60 |
+
|
61 |
+
xhr.send(null);
|
62 |
+
});
|
63 |
+
}
|
64 |
+
|
65 |
+
$(document).ready(function(){
|
66 |
+
loadExternalCodeSnippets();
|
67 |
+
});
|
68 |
+
$('#source-view').on('shown', function () {
|
69 |
+
loadExternalCodeSnippets();
|
70 |
+
})
|
71 |
+
</script>
|
72 |
+
|
73 |
+
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
74 |
+
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
75 |
+
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
76 |
+
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
77 |
+
</head>
|
78 |
+
<body>
|
79 |
+
|
80 |
+
<div class="navbar navbar-fixed-top">
|
81 |
+
<div class="navbar-inner">
|
82 |
+
<div class="container">
|
83 |
+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
84 |
+
<i class="icon-ellipsis-vertical"></i>
|
85 |
+
</a>
|
86 |
+
<a class="brand" href="../index.html">Media Library Assistant</a>
|
87 |
+
|
88 |
+
<div class="nav-collapse">
|
89 |
+
<ul class="nav pull-right">
|
90 |
+
<li class="dropdown" id="charts-menu">
|
91 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
92 |
+
Charts <b class="caret"></b>
|
93 |
+
</a>
|
94 |
+
<ul class="dropdown-menu">
|
95 |
+
<li>
|
96 |
+
<a href="../graphs/class.html">
|
97 |
+
<i class="icon-list-alt"></i> Class hierarchy diagram
|
98 |
+
</a>
|
99 |
+
</li>
|
100 |
+
</ul>
|
101 |
+
</li>
|
102 |
+
<li class="dropdown" id="reports-menu">
|
103 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
104 |
+
Reports <b class="caret"></b>
|
105 |
+
</a>
|
106 |
+
<ul class="dropdown-menu">
|
107 |
+
<li>
|
108 |
+
<a href="../reports/errors.html">
|
109 |
+
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">0</span>
|
110 |
+
</a>
|
111 |
+
</li>
|
112 |
+
<li>
|
113 |
+
<a href="../reports/markers.html">
|
114 |
+
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">5</span>
|
115 |
+
</a>
|
116 |
+
</li>
|
117 |
+
<li>
|
118 |
+
<a href="../reports/deprecated.html">
|
119 |
+
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
120 |
+
</a>
|
121 |
+
</li>
|
122 |
+
</ul>
|
123 |
+
</li>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
<!--<div class="go_to_top">-->
|
129 |
+
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
130 |
+
<!--</div>-->
|
131 |
+
</div>
|
132 |
+
|
133 |
+
<div id="___" class="container-fluid">
|
134 |
+
<section class="row-fluid">
|
135 |
+
<div class="span2 sidebar">
|
136 |
+
<div class="accordion" style="margin-bottom: 0">
|
137 |
+
<div class="accordion-group">
|
138 |
+
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1747861855"></a>
|
140 |
+
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
+
</div>
|
142 |
+
<div id="namespace-1747861855" class="accordion-body collapse in">
|
143 |
+
<div class="accordion-inner">
|
144 |
+
|
145 |
+
|
146 |
+
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
+
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
+
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
+
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
+
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
+
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
+
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
158 |
+
<li class="class"><a href="../classes/MLA_Polylang_Shortcodes.html">MLA_Polylang_Shortcodes</a></li>
|
159 |
+
<li class="class"><a href="../classes/MLA_Template_List_Table.html">MLA_Template_List_Table</a></li>
|
160 |
+
<li class="class"><a href="../classes/MLA_Template_Query.html">MLA_Template_Query</a></li>
|
161 |
+
<li class="class"><a href="../classes/MLA_Thumbnail.html">MLA_Thumbnail</a></li>
|
162 |
+
<li class="class"><a href="../classes/MLA_Upgrader_Skin.html">MLA_Upgrader_Skin</a></li>
|
163 |
+
<li class="class"><a href="../classes/MLA_Upload_List_Table.html">MLA_Upload_List_Table</a></li>
|
164 |
+
<li class="class"><a href="../classes/MLA_Upload_Optional_List_Table.html">MLA_Upload_Optional_List_Table</a></li>
|
165 |
+
<li class="class"><a href="../classes/MLA_View_List_Table.html">MLA_View_List_Table</a></li>
|
166 |
+
<li class="class"><a href="../classes/MLA_WPML.html">MLA_WPML</a></li>
|
167 |
+
<li class="class"><a href="../classes/MLA_WPML_List_Table.html">MLA_WPML_List_Table</a></li>
|
168 |
+
<li class="class"><a href="../classes/MLA_WPML_Shortcodes.html">MLA_WPML_Shortcodes</a></li>
|
169 |
+
<li class="class"><a href="../classes/MLA_WPML_Table.html">MLA_WPML_Table</a></li>
|
170 |
+
<li class="class"><a href="../classes/MLACore.html">MLACore</a></li>
|
171 |
+
<li class="class"><a href="../classes/MLACoreOptions.html">MLACoreOptions</a></li>
|
172 |
+
<li class="class"><a href="../classes/MLAData.html">MLAData</a></li>
|
173 |
+
<li class="class"><a href="../classes/MLAData_Source.html">MLAData_Source</a></li>
|
174 |
+
<li class="class"><a href="../classes/MLAEdit.html">MLAEdit</a></li>
|
175 |
+
<li class="class"><a href="../classes/MLAFileDownloader.html">MLAFileDownloader</a></li>
|
176 |
+
<li class="class"><a href="../classes/MLAImageProcessor.html">MLAImageProcessor</a></li>
|
177 |
+
<li class="class"><a href="../classes/MLAMime.html">MLAMime</a></li>
|
178 |
+
<li class="class"><a href="../classes/MLAModal.html">MLAModal</a></li>
|
179 |
+
<li class="class"><a href="../classes/MLAModal_Ajax.html">MLAModal_Ajax</a></li>
|
180 |
+
<li class="class"><a href="../classes/MLAMutex.html">MLAMutex</a></li>
|
181 |
+
<li class="class"><a href="../classes/MLAObjects.html">MLAObjects</a></li>
|
182 |
+
<li class="class"><a href="../classes/MLAOptions.html">MLAOptions</a></li>
|
183 |
+
<li class="class"><a href="../classes/MLAPDF.html">MLAPDF</a></li>
|
184 |
+
<li class="class"><a href="../classes/MLAQuery.html">MLAQuery</a></li>
|
185 |
+
<li class="class"><a href="../classes/MLAReferences.html">MLAReferences</a></li>
|
186 |
+
<li class="class"><a href="../classes/MLASettings.html">MLASettings</a></li>
|
187 |
+
<li class="class"><a href="../classes/MLASettings_CustomFields.html">MLASettings_CustomFields</a></li>
|
188 |
+
<li class="class"><a href="../classes/MLASettings_Documentation.html">MLASettings_Documentation</a></li>
|
189 |
+
<li class="class"><a href="../classes/MLASettings_IPTCEXIF.html">MLASettings_IPTCEXIF</a></li>
|
190 |
+
<li class="class"><a href="../classes/MLASettings_Shortcodes.html">MLASettings_Shortcodes</a></li>
|
191 |
+
<li class="class"><a href="../classes/MLASettings_Upload.html">MLASettings_Upload</a></li>
|
192 |
+
<li class="class"><a href="../classes/MLASettings_View.html">MLASettings_View</a></li>
|
193 |
+
<li class="class"><a href="../classes/MLAShortcode_Support.html">MLAShortcode_Support</a></li>
|
194 |
+
<li class="class"><a href="../classes/MLAShortcodes.html">MLAShortcodes</a></li>
|
195 |
+
<li class="class"><a href="../classes/MLATemplate_Support.html">MLATemplate_Support</a></li>
|
196 |
+
<li class="class"><a href="../classes/MLATest.html">MLATest</a></li>
|
197 |
+
<li class="class"><a href="../classes/MLATextWidget.html">MLATextWidget</a></li>
|
198 |
+
<li class="class"><a href="../classes/MLAUninstall.html">MLAUninstall</a></li>
|
199 |
+
</ul>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
</div>
|
206 |
+
</section>
|
207 |
+
<section class="row-fluid">
|
208 |
+
<div class="span10 offset2">
|
209 |
+
<div class="row-fluid">
|
210 |
+
<div class="span8 content class">
|
211 |
+
<nav>
|
212 |
+
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
213 |
+
</nav>
|
214 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
215 |
+
|
216 |
+
<h1><small>\</small>MLA_Custom_Field_Query</h1>
|
217 |
+
<p><em>Class MLA (Media Library Assistant) Custom Field Query implements the
|
218 |
+
searchable database of custom field mapping rules.</em></p>
|
219 |
+
|
220 |
+
|
221 |
+
|
222 |
+
<section id="summary">
|
223 |
+
<h2>Summary</h2>
|
224 |
+
<section class="row-fluid heading">
|
225 |
+
<section class="span4">
|
226 |
+
<a href="#methods">Methods</a>
|
227 |
+
</section>
|
228 |
+
<section class="span4">
|
229 |
+
<a href="#properties">Properties</a>
|
230 |
+
</section>
|
231 |
+
<section class="span4">
|
232 |
+
<a href="#constants">Constants</a>
|
233 |
+
</section>
|
234 |
+
</section>
|
235 |
+
<section class="row-fluid public">
|
236 |
+
<section class="span4">
|
237 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_put_custom_field_rules" class="">mla_put_custom_field_rules()</a><br />
|
238 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_count_custom_field_rules" class="">mla_count_custom_field_rules()</a><br />
|
239 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_query_custom_field_rules" class="">mla_query_custom_field_rules()</a><br />
|
240 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_find_custom_field_rule_ID" class="">mla_find_custom_field_rule_ID()</a><br />
|
241 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_custom_field_rule_names" class="">mla_custom_field_rule_names()</a><br />
|
242 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_find_custom_field_rule" class="">mla_find_custom_field_rule()</a><br />
|
243 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_convert_custom_field_rules" class="">mla_convert_custom_field_rules()</a><br />
|
244 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_update_custom_field_rule" class="">mla_update_custom_field_rule()</a><br />
|
245 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_replace_custom_field_rule" class="">mla_replace_custom_field_rule()</a><br />
|
246 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_add_custom_field_rule" class="">mla_add_custom_field_rule()</a><br />
|
247 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method_mla_tabulate_custom_field_items" class="">mla_tabulate_custom_field_items()</a><br />
|
248 |
+
</section>
|
249 |
+
<section class="span4">
|
250 |
+
<em>No public properties found</em>
|
251 |
+
</section>
|
252 |
+
<section class="span4">
|
253 |
+
<em>No constants found</em>
|
254 |
+
</section>
|
255 |
+
</section>
|
256 |
+
<section class="row-fluid protected">
|
257 |
+
<section class="span4">
|
258 |
+
<em>No protected methods found</em>
|
259 |
+
</section>
|
260 |
+
<section class="span4">
|
261 |
+
<em>No protected properties found</em>
|
262 |
+
</section>
|
263 |
+
<section class="span4">
|
264 |
+
<em>N/A</em>
|
265 |
+
</section>
|
266 |
+
</section>
|
267 |
+
<section class="row-fluid private">
|
268 |
+
<section class="span4">
|
269 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method__sort_uname_callback" class="">_sort_uname_callback()</a><br />
|
270 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method__get_custom_field_rules" class="">_get_custom_field_rules()</a><br />
|
271 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method__prepare_custom_field_rules_query" class="">_prepare_custom_field_rules_query()</a><br />
|
272 |
+
<a href="../classes/MLA_Custom_Field_Query.html#method__execute_custom_field_rules_query" class="">_execute_custom_field_rules_query()</a><br />
|
273 |
+
</section>
|
274 |
+
<section class="span4">
|
275 |
+
<a href="../classes/MLA_Custom_Field_Query.html#property__custom_field_rules" class="">$_custom_field_rules</a><br />
|
276 |
+
<a href="../classes/MLA_Custom_Field_Query.html#property__custom_field_rule_highest_ID" class="">$_custom_field_rule_highest_ID</a><br />
|
277 |
+
</section>
|
278 |
+
<section class="span4">
|
279 |
+
<em>N/A</em>
|
280 |
+
</section>
|
281 |
+
</section>
|
282 |
+
</section>
|
283 |
+
</div>
|
284 |
+
<aside class="span4 detailsbar">
|
285 |
+
|
286 |
+
|
287 |
+
<dl>
|
288 |
+
<dt>File</dt>
|
289 |
+
<dd><a href="../files/includes.class-mla-settings-custom-fields-tab.html"><div class="path-wrapper">includes\class-mla-settings-custom-fields-tab.php</div></a></dd>
|
290 |
+
<dt>Package</dt>
|
291 |
+
<dd><div class="namespace-wrapper">Media Library Assistant</div></dd>
|
292 |
+
<dt>Class hierarchy</dt>
|
293 |
+
<dd class="hierarchy">
|
294 |
+
<div class="namespace-wrapper">\MLA_Custom_Field_Query</div>
|
295 |
+
</dd>
|
296 |
+
|
297 |
+
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
</dl>
|
302 |
+
<h2>Tags</h2>
|
303 |
+
<table class="table table-condensed">
|
304 |
+
<tr>
|
305 |
+
<th>
|
306 |
+
since
|
307 |
+
</th>
|
308 |
+
<td>
|
309 |
+
|
310 |
+
</td>
|
311 |
+
</tr>
|
312 |
+
</table>
|
313 |
+
</aside>
|
314 |
+
</div>
|
315 |
+
|
316 |
+
|
317 |
+
<a id="properties" name="properties"></a>
|
318 |
+
<div class="row-fluid">
|
319 |
+
<div class="span8 content class">
|
320 |
+
<h2>Properties</h2>
|
321 |
+
</div>
|
322 |
+
<aside class="span4 detailsbar"></aside>
|
323 |
+
</div>
|
324 |
+
|
325 |
+
<div class="row-fluid">
|
326 |
+
<div class="span8 content class">
|
327 |
+
<a id="property__custom_field_rules" name="property__custom_field_rules" class="anchor"></a>
|
328 |
+
<article class="property">
|
329 |
+
<h3 class="private ">$_custom_field_rules</h3>
|
330 |
+
<pre class="signature">$_custom_field_rules : array</pre>
|
331 |
+
<p><em>In-memory representation of the custom field mapping rules</em></p>
|
332 |
+
|
333 |
+
|
334 |
+
<h4>Type</h4>
|
335 |
+
array
|
336 |
+
— {
|
337 |
+
Items by ID. Key $$ID is an index number starting with 1.
|
338 |
+
|
339 |
+
@type array $$ID {
|
340 |
+
Rule elements.
|
341 |
+
|
342 |
+
@type integer $post_ID Rule ID; equal to $$ID.
|
343 |
+
@type string $rule_name Rule name, to accomodate an old bug.
|
344 |
+
@type string $name Custom field name the rule applies to.
|
345 |
+
@type string $data_source Data source name, 'none', 'meta' or 'template'.
|
346 |
+
@type string $meta_name if ( $data_source = 'meta' ) attachment metadata element name,
|
347 |
+
if ( $data_source = 'template ) template value w/o "template:"
|
348 |
+
@type string $format Output format, 'native', 'commas' or 'raw'.
|
349 |
+
@type string $option Output option, 'text', 'single'. 'array' or 'multi'.
|
350 |
+
@type boolean $keep_existing Retain existing value(s), do not replace them.
|
351 |
+
@type boolean $no_null Delete empty (NULL) values.
|
352 |
+
@type boolean $mla_column Display the field as a Media/Assistant submenu table column.
|
353 |
+
@type boolean $quick_edit Add the field to the Media/Assistant submenu table Quick Edit area.
|
354 |
+
@type boolean $bulk_edit Add the field to the Media/Assistant submenu table Bulk Edit area.
|
355 |
+
@type boolean $inline_edit OBSOLETE - no longer used.
|
356 |
+
@type boolean $active True if rule should be applied during mapping.
|
357 |
+
@type boolean $read_only True if rule_name !== name, to prevent editing of "old bug" rules.
|
358 |
+
@type boolean $changed True if the rule has changed since loading.
|
359 |
+
@type boolean $deleted True if the rule has been deleted since loading.
|
360 |
+
} </article>
|
361 |
+
</div>
|
362 |
+
<aside class="span4 detailsbar">
|
363 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
364 |
+
<dl>
|
365 |
+
</dl>
|
366 |
+
<h2>Tags</h2>
|
367 |
+
<table class="table table-condensed">
|
368 |
+
<tr>
|
369 |
+
<th>
|
370 |
+
since
|
371 |
+
</th>
|
372 |
+
<td>
|
373 |
+
|
374 |
+
</td>
|
375 |
+
</tr>
|
376 |
+
</table>
|
377 |
+
</aside>
|
378 |
+
</div>
|
379 |
+
|
380 |
+
<div class="row-fluid">
|
381 |
+
<div class="span8 content class">
|
382 |
+
<a id="property__custom_field_rule_highest_ID" name="property__custom_field_rule_highest_ID" class="anchor"></a>
|
383 |
+
<article class="property">
|
384 |
+
<h3 class="private ">$_custom_field_rule_highest_ID</h3>
|
385 |
+
<pre class="signature">$_custom_field_rule_highest_ID : integer</pre>
|
386 |
+
<p><em>Highest existing custom field rule ID value</em></p>
|
387 |
+
|
388 |
+
|
389 |
+
<h4>Type</h4>
|
390 |
+
integer
|
391 |
+
</article>
|
392 |
+
</div>
|
393 |
+
<aside class="span4 detailsbar">
|
394 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
395 |
+
<dl>
|
396 |
+
</dl>
|
397 |
+
<h2>Tags</h2>
|
398 |
+
<table class="table table-condensed">
|
399 |
+
<tr>
|
400 |
+
<th>
|
401 |
+
since
|
402 |
+
</th>
|
403 |
+
<td>
|
404 |
+
|
405 |
+
</td>
|
406 |
+
</tr>
|
407 |
+
</table>
|
408 |
+
</aside>
|
409 |
+
</div>
|
410 |
+
|
411 |
+
|
412 |
+
<a id="methods" name="methods"></a>
|
413 |
+
<div class="row-fluid">
|
414 |
+
<div class="span8 content class"><h2>Methods</h2></div>
|
415 |
+
<aside class="span4 detailsbar"></aside>
|
416 |
+
</div>
|
417 |
+
|
418 |
+
<div class="row-fluid">
|
419 |
+
<div class="span8 content class">
|
420 |
+
<a id="method_mla_put_custom_field_rules" name="method_mla_put_custom_field_rules" class="anchor"></a>
|
421 |
+
<article class="method">
|
422 |
+
<h3 class="public ">mla_put_custom_field_rules()</h3>
|
423 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
424 |
+
<pre class="signature" style="margin-right: 54px;">mla_put_custom_field_rules() </pre>
|
425 |
+
<p><em>Flush the in-memory representation of the custom field rules to the option value</em></p>
|
426 |
+
|
427 |
+
|
428 |
+
|
429 |
+
|
430 |
+
|
431 |
+
</article>
|
432 |
+
</div>
|
433 |
+
<aside class="span4 detailsbar">
|
434 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
435 |
+
<span class="label label-info">static</span>
|
436 |
+
<dl>
|
437 |
+
</dl>
|
438 |
+
<h2>Tags</h2>
|
439 |
+
<table class="table table-condensed">
|
440 |
+
<tr>
|
441 |
+
<th>
|
442 |
+
since
|
443 |
+
</th>
|
444 |
+
<td>
|
445 |
+
2.50
|
446 |
+
</td>
|
447 |
+
</tr>
|
448 |
+
</table>
|
449 |
+
</aside>
|
450 |
+
</div>
|
451 |
+
|
452 |
+
<div class="row-fluid">
|
453 |
+
<div class="span8 content class">
|
454 |
+
<a id="method_mla_count_custom_field_rules" name="method_mla_count_custom_field_rules" class="anchor"></a>
|
455 |
+
<article class="method">
|
456 |
+
<h3 class="public ">mla_count_custom_field_rules()</h3>
|
457 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
458 |
+
<pre class="signature" style="margin-right: 54px;">mla_count_custom_field_rules( <span class="argument">$request</span>) : integer</pre>
|
459 |
+
<p><em>Get the total number of MLA custom_field_rule objects</em></p>
|
460 |
+
|
461 |
+
|
462 |
+
<h4>Parameters</h4>
|
463 |
+
<table class="table table-condensed table-hover">
|
464 |
+
<tr>
|
465 |
+
<td></td>
|
466 |
+
<td>$request </td>
|
467 |
+
<td></td>
|
468 |
+
</tr>
|
469 |
+
</table>
|
470 |
+
|
471 |
+
|
472 |
+
<h4>Returns</h4>
|
473 |
+
integer
|
474 |
+
— <p>Number of MLA custom_field_rule objects</p>
|
475 |
+
|
476 |
+
</article>
|
477 |
+
</div>
|
478 |
+
<aside class="span4 detailsbar">
|
479 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
480 |
+
<span class="label label-info">static</span>
|
481 |
+
<dl>
|
482 |
+
</dl>
|
483 |
+
<h2>Tags</h2>
|
484 |
+
<table class="table table-condensed">
|
485 |
+
<tr>
|
486 |
+
<th>
|
487 |
+
since
|
488 |
+
</th>
|
489 |
+
<td>
|
490 |
+
2.50
|
491 |
+
</td>
|
492 |
+
</tr>
|
493 |
+
</table>
|
494 |
+
</aside>
|
495 |
+
</div>
|
496 |
+
|
497 |
+
<div class="row-fluid">
|
498 |
+
<div class="span8 content class">
|
499 |
+
<a id="method_mla_query_custom_field_rules" name="method_mla_query_custom_field_rules" class="anchor"></a>
|
500 |
+
<article class="method">
|
501 |
+
<h3 class="public ">mla_query_custom_field_rules()</h3>
|
502 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
503 |
+
<pre class="signature" style="margin-right: 54px;">mla_query_custom_field_rules( <span class="argument">$request</span>, <span class="argument">$offset</span>, <span class="argument">$count</span>) : array</pre>
|
504 |
+
<p><em>Retrieve MLA custom_field_rule objects for list table display</em></p>
|
505 |
+
|
506 |
+
|
507 |
+
<h4>Parameters</h4>
|
508 |
+
<table class="table table-condensed table-hover">
|
509 |
+
<tr>
|
510 |
+
<td></td>
|
511 |
+
<td>$request </td>
|
512 |
+
<td></td>
|
513 |
+
</tr>
|
514 |
+
<tr>
|
515 |
+
<td></td>
|
516 |
+
<td>$offset </td>
|
517 |
+
<td></td>
|
518 |
+
</tr>
|
519 |
+
<tr>
|
520 |
+
<td></td>
|
521 |
+
<td>$count </td>
|
522 |
+
<td></td>
|
523 |
+
</tr>
|
524 |
+
</table>
|
525 |
+
|
526 |
+
|
527 |
+
<h4>Returns</h4>
|
528 |
+
array
|
529 |
+
— <p>MLA custom_field_rule objects</p>
|
530 |
+
|
531 |
+
</article>
|
532 |
+
</div>
|
533 |
+
<aside class="span4 detailsbar">
|
534 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
535 |
+
<span class="label label-info">static</span>
|
536 |
+
<dl>
|
537 |
+
</dl>
|
538 |
+
<h2>Tags</h2>
|
539 |
+
<table class="table table-condensed">
|
540 |
+
<tr>
|
541 |
+
<th>
|
542 |
+
since
|
543 |
+
</th>
|
544 |
+
<td>
|
545 |
+
2.50
|
546 |
+
</td>
|
547 |
+
</tr>
|
548 |
+
</table>
|
549 |
+
</aside>
|
550 |
+
</div>
|
551 |
+
|
552 |
+
<div class="row-fluid">
|
553 |
+
<div class="span8 content class">
|
554 |
+
<a id="method_mla_find_custom_field_rule_ID" name="method_mla_find_custom_field_rule_ID" class="anchor"></a>
|
555 |
+
<article class="method">
|
556 |
+
<h3 class="public ">mla_find_custom_field_rule_ID()</h3>
|
557 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
558 |
+
<pre class="signature" style="margin-right: 54px;">mla_find_custom_field_rule_ID(string <span class="argument">$rule_name</span>) : integer</pre>
|
559 |
+
<p><em>Find a Custom Field Rule ID given its rule name</em></p>
|
560 |
+
|
561 |
+
|
562 |
+
<h4>Parameters</h4>
|
563 |
+
<table class="table table-condensed table-hover">
|
564 |
+
<tr>
|
565 |
+
<td>string</td>
|
566 |
+
<td>$rule_name </td>
|
567 |
+
<td><p>MLA Custom Field Rule name.</p></td>
|
568 |
+
</tr>
|
569 |
+
</table>
|
570 |
+
|
571 |
+
|
572 |
+
<h4>Returns</h4>
|
573 |
+
integer
|
574 |
+
— <p>Rule ID if the rule exists else zero (0).</p>
|
575 |
+
|
576 |
+
</article>
|
577 |
+
</div>
|
578 |
+
<aside class="span4 detailsbar">
|
579 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
580 |
+
<span class="label label-info">static</span>
|
581 |
+
<dl>
|
582 |
+
</dl>
|
583 |
+
<h2>Tags</h2>
|
584 |
+
<table class="table table-condensed">
|
585 |
+
<tr>
|
586 |
+
<th>
|
587 |
+
since
|
588 |
+
</th>
|
589 |
+
<td>
|
590 |
+
2.50
|
591 |
+
</td>
|
592 |
+
</tr>
|
593 |
+
</table>
|
594 |
+
</aside>
|
595 |
+
</div>
|
596 |
+
|
597 |
+
<div class="row-fluid">
|
598 |
+
<div class="span8 content class">
|
599 |
+
<a id="method_mla_custom_field_rule_names" name="method_mla_custom_field_rule_names" class="anchor"></a>
|
600 |
+
<article class="method">
|
601 |
+
<h3 class="public ">mla_custom_field_rule_names()</h3>
|
602 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
603 |
+
<pre class="signature" style="margin-right: 54px;">mla_custom_field_rule_names() : array</pre>
|
604 |
+
<p><em>Return the custom field rule names</em></p>
|
605 |
+
|
606 |
+
|
607 |
+
|
608 |
+
|
609 |
+
<h4>Returns</h4>
|
610 |
+
array
|
611 |
+
— <p>MLA custom_field_rule name => name</p>
|
612 |
+
|
613 |
+
</article>
|
614 |
+
</div>
|
615 |
+
<aside class="span4 detailsbar">
|
616 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
617 |
+
<span class="label label-info">static</span>
|
618 |
+
<dl>
|
619 |
+
</dl>
|
620 |
+
<h2>Tags</h2>
|
621 |
+
<table class="table table-condensed">
|
622 |
+
<tr>
|
623 |
+
<th>
|
624 |
+
since
|
625 |
+
</th>
|
626 |
+
<td>
|
627 |
+
2.50
|
628 |
+
</td>
|
629 |
+
</tr>
|
630 |
+
</table>
|
631 |
+
</aside>
|
632 |
+
</div>
|
633 |
+
|
634 |
+
<div class="row-fluid">
|
635 |
+
<div class="span8 content class">
|
636 |
+
<a id="method_mla_find_custom_field_rule" name="method_mla_find_custom_field_rule" class="anchor"></a>
|
637 |
+
<article class="method">
|
638 |
+
<h3 class="public ">mla_find_custom_field_rule()</h3>
|
639 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
640 |
+
<pre class="signature" style="margin-right: 54px;">mla_find_custom_field_rule(integer <span class="argument">$ID</span>) : array</pre>
|
641 |
+
<p><em>Find a Custom Field Rule given its ID</em></p>
|
642 |
+
|
643 |
+
|
644 |
+
<h4>Parameters</h4>
|
645 |
+
<table class="table table-condensed table-hover">
|
646 |
+
<tr>
|
647 |
+
<td>integer</td>
|
648 |
+
<td>$ID </td>
|
649 |
+
<td><p>MLA Custom Field Rule ID</p></td>
|
650 |
+
</tr>
|
651 |
+
</table>
|
652 |
+
|
653 |
+
|
654 |
+
<h4>Returns</h4>
|
655 |
+
array
|
656 |
+
— <p>MLA custom_field_rule array</p>
|
657 |
+
|
658 |
+
</article>
|
659 |
+
</div>
|
660 |
+
<aside class="span4 detailsbar">
|
661 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
662 |
+
<span class="label label-info">static</span>
|
663 |
+
<dl>
|
664 |
+
</dl>
|
665 |
+
<h2>Tags</h2>
|
666 |
+
<table class="table table-condensed">
|
667 |
+
<tr>
|
668 |
+
<th>
|
669 |
+
since
|
670 |
+
</th>
|
671 |
+
<td>
|
672 |
+
2.50
|
673 |
+
</td>
|
674 |
+
</tr>
|
675 |
+
</table>
|
676 |
+
</aside>
|
677 |
+
</div>
|
678 |
+
|
679 |
+
<div class="row-fluid">
|
680 |
+
<div class="span8 content class">
|
681 |
+
<a id="method_mla_convert_custom_field_rules" name="method_mla_convert_custom_field_rules" class="anchor"></a>
|
682 |
+
<article class="method">
|
683 |
+
<h3 class="public ">mla_convert_custom_field_rules()</h3>
|
684 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
685 |
+
<pre class="signature" style="margin-right: 54px;">mla_convert_custom_field_rules( <span class="argument">$rule_ids</span>) : array</pre>
|
686 |
+
<p><em>Convert a Custom Field Rule to an old-style mapping rule, given its ID</em></p>
|
687 |
+
|
688 |
+
|
689 |
+
<h4>Parameters</h4>
|
690 |
+
<table class="table table-condensed table-hover">
|
691 |
+
<tr>
|
692 |
+
<td></td>
|
693 |
+
<td>$rule_ids </td>
|
694 |
+
<td></td>
|
695 |
+
</tr>
|
696 |
+
</table>
|
697 |
+
|
698 |
+
|
699 |
+
<h4>Returns</h4>
|
700 |
+
array
|
701 |
+
— <p>MLA custom_field_mapping values (can be empty)</p>
|
702 |
+
|
703 |
+
</article>
|
704 |
+
</div>
|
705 |
+
<aside class="span4 detailsbar">
|
706 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
707 |
+
<span class="label label-info">static</span>
|
708 |
+
<dl>
|
709 |
+
</dl>
|
710 |
+
<h2>Tags</h2>
|
711 |
+
<table class="table table-condensed">
|
712 |
+
<tr>
|
713 |
+
<th>
|
714 |
+
since
|
715 |
+
</th>
|
716 |
+
<td>
|
717 |
+
2.50
|
718 |
+
</td>
|
719 |
+
</tr>
|
720 |
+
</table>
|
721 |
+
</aside>
|
722 |
+
</div>
|
723 |
+
|
724 |
+
<div class="row-fluid">
|
725 |
+
<div class="span8 content class">
|
726 |
+
<a id="method_mla_update_custom_field_rule" name="method_mla_update_custom_field_rule" class="anchor"></a>
|
727 |
+
<article class="method">
|
728 |
+
<h3 class="public ">mla_update_custom_field_rule()</h3>
|
729 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
730 |
+
<pre class="signature" style="margin-right: 54px;">mla_update_custom_field_rule(integer <span class="argument">$ID</span>, string <span class="argument">$key</span>, string <span class="argument">$value</span>) : boolean</pre>
|
731 |
+
<p><em>Update a Custom Field Rule property given its ID and key.</em></p>
|
732 |
+
|
733 |
+
|
734 |
+
<h4>Parameters</h4>
|
735 |
+
<table class="table table-condensed table-hover">
|
736 |
+
<tr>
|
737 |
+
<td>integer</td>
|
738 |
+
<td>$ID </td>
|
739 |
+
<td><p>MLA Custom Field Rule ID.</p></td>
|
740 |
+
</tr>
|
741 |
+
<tr>
|
742 |
+
<td>string</td>
|
743 |
+
<td>$key </td>
|
744 |
+
<td><p>MLA Custom Field Rule property.</p></td>
|
745 |
+
</tr>
|
746 |
+
<tr>
|
747 |
+
<td>string</td>
|
748 |
+
<td>$value </td>
|
749 |
+
<td><p>MLA Custom Field Rule new value.</p></td>
|
750 |
+
</tr>
|
751 |
+
</table>
|
752 |
+
|
753 |
+
|
754 |
+
<h4>Returns</h4>
|
755 |
+
boolean
|
756 |
+
— <p>true if object exists else false.</p>
|
757 |
+
|
758 |
+
</article>
|
759 |
+
</div>
|
760 |
+
<aside class="span4 detailsbar">
|
761 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
762 |
+
<span class="label label-info">static</span>
|
763 |
+
<dl>
|
764 |
+
</dl>
|
765 |
+
<h2>Tags</h2>
|
766 |
+
<table class="table table-condensed">
|
767 |
+
<tr>
|
768 |
+
<th>
|
769 |
+
since
|
770 |
+
</th>
|
771 |
+
<td>
|
772 |
+
2.50
|
773 |
+
</td>
|
774 |
+
</tr>
|
775 |
+
</table>
|
776 |
+
</aside>
|
777 |
+
</div>
|
778 |
+
|
779 |
+
<div class="row-fluid">
|
780 |
+
<div class="span8 content class">
|
781 |
+
<a id="method_mla_replace_custom_field_rule" name="method_mla_replace_custom_field_rule" class="anchor"></a>
|
782 |
+
<article class="method">
|
783 |
+
<h3 class="public ">mla_replace_custom_field_rule()</h3>
|
784 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
785 |
+
<pre class="signature" style="margin-right: 54px;">mla_replace_custom_field_rule(array <span class="argument">$value</span>) : boolean</pre>
|
786 |
+
<p><em>Replace a Custom Field Rule given its value array.</em></p>
|
787 |
+
|
788 |
+
|
789 |
+
<h4>Parameters</h4>
|
790 |
+
<table class="table table-condensed table-hover">
|
791 |
+
<tr>
|
792 |
+
<td>array</td>
|
793 |
+
<td>$value </td>
|
794 |
+
<td><p>MLA Custom Field Rule new value.</p></td>
|
795 |
+
</tr>
|
796 |
+
</table>
|
797 |
+
|
798 |
+
|
799 |
+
<h4>Returns</h4>
|
800 |
+
boolean
|
801 |
+
— <p>true if object exists else false.</p>
|
802 |
+
|
803 |
+
</article>
|
804 |
+
</div>
|
805 |
+
<aside class="span4 detailsbar">
|
806 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
807 |
+
<span class="label label-info">static</span>
|
808 |
+
<dl>
|
809 |
+
</dl>
|
810 |
+
<h2>Tags</h2>
|
811 |
+
<table class="table table-condensed">
|
812 |
+
<tr>
|
813 |
+
<th>
|
814 |
+
since
|
815 |
+
</th>
|
816 |
+
<td>
|
817 |
+
2.50
|
818 |
+
</td>
|
819 |
+
</tr>
|
820 |
+
</table>
|
821 |
+
</aside>
|
822 |
+
</div>
|
823 |
+
|
824 |
+
<div class="row-fluid">
|
825 |
+
<div class="span8 content class">
|
826 |
+
<a id="method_mla_add_custom_field_rule" name="method_mla_add_custom_field_rule" class="anchor"></a>
|
827 |
+
<article class="method">
|
828 |
+
<h3 class="public ">mla_add_custom_field_rule()</h3>
|
829 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
830 |
+
<pre class="signature" style="margin-right: 54px;">mla_add_custom_field_rule(array <span class="argument">$value</span>) : boolean</pre>
|
831 |
+
<p><em>Insert a Custom Field Rule given its value array.</em></p>
|
832 |
+
|
833 |
+
|
834 |
+
<h4>Parameters</h4>
|
835 |
+
<table class="table table-condensed table-hover">
|
836 |
+
<tr>
|
837 |
+
<td>array</td>
|
838 |
+
<td>$value </td>
|
839 |
+
<td><p>MLA Custom Field Rule new value.</p></td>
|
840 |
+
</tr>
|
841 |
+
</table>
|
842 |
+
|
843 |
+
|
844 |
+
<h4>Returns</h4>
|
845 |
+
boolean
|
846 |
+
— <p>true if addition succeeds else false.</p>
|
847 |
+
|
848 |
+
</article>
|
849 |
+
</div>
|
850 |
+
<aside class="span4 detailsbar">
|
851 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
852 |
+
<span class="label label-info">static</span>
|
853 |
+
<dl>
|
854 |
+
</dl>
|
855 |
+
<h2>Tags</h2>
|
856 |
+
<table class="table table-condensed">
|
857 |
+
<tr>
|
858 |
+
<th>
|
859 |
+
since
|
860 |
+
</th>
|
861 |
+
<td>
|
862 |
+
2.50
|
863 |
+
</td>
|
864 |
+
</tr>
|
865 |
+
</table>
|
866 |
+
</aside>
|
867 |
+
</div>
|
868 |
+
|
869 |
+
<div class="row-fluid">
|
870 |
+
<div class="span8 content class">
|
871 |
+
<a id="method_mla_tabulate_custom_field_items" name="method_mla_tabulate_custom_field_items" class="anchor"></a>
|
872 |
+
<article class="method">
|
873 |
+
<h3 class="public ">mla_tabulate_custom_field_items()</h3>
|
874 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
875 |
+
<pre class="signature" style="margin-right: 54px;">mla_tabulate_custom_field_items( <span class="argument">$s = ''</span>) : array</pre>
|
876 |
+
<p><em>Tabulate MLA custom_field_rule objects by view for list table display</em></p>
|
877 |
+
|
878 |
+
|
879 |
+
<h4>Parameters</h4>
|
880 |
+
<table class="table table-condensed table-hover">
|
881 |
+
<tr>
|
882 |
+
<td></td>
|
883 |
+
<td>$s </td>
|
884 |
+
<td></td>
|
885 |
+
</tr>
|
886 |
+
</table>
|
887 |
+
|
888 |
+
|
889 |
+
<h4>Returns</h4>
|
890 |
+
array
|
891 |
+
— <p>( 'singular' label, 'plural' label, 'count' of items )</p>
|
892 |
+
|
893 |
+
</article>
|
894 |
+
</div>
|
895 |
+
<aside class="span4 detailsbar">
|
896 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
897 |
+
<span class="label label-info">static</span>
|
898 |
+
<dl>
|
899 |
+
</dl>
|
900 |
+
<h2>Tags</h2>
|
901 |
+
<table class="table table-condensed">
|
902 |
+
<tr>
|
903 |
+
<th>
|
904 |
+
since
|
905 |
+
</th>
|
906 |
+
<td>
|
907 |
+
2.50
|
908 |
+
</td>
|
909 |
+
</tr>
|
910 |
+
</table>
|
911 |
+
</aside>
|
912 |
+
</div>
|
913 |
+
|
914 |
+
<div class="row-fluid">
|
915 |
+
<div class="span8 content class">
|
916 |
+
<a id="method__sort_uname_callback" name="method__sort_uname_callback" class="anchor"></a>
|
917 |
+
<article class="method">
|
918 |
+
<h3 class="private ">_sort_uname_callback()</h3>
|
919 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
920 |
+
<pre class="signature" style="margin-right: 54px;">_sort_uname_callback(array <span class="argument">$a</span>, array <span class="argument">$b</span>) : integer</pre>
|
921 |
+
<p><em>Callback to sort array by a 'name' key.</em></p>
|
922 |
+
|
923 |
+
|
924 |
+
<h4>Parameters</h4>
|
925 |
+
<table class="table table-condensed table-hover">
|
926 |
+
<tr>
|
927 |
+
<td>array</td>
|
928 |
+
<td>$a </td>
|
929 |
+
<td><p>The first array.</p></td>
|
930 |
+
</tr>
|
931 |
+
<tr>
|
932 |
+
<td>array</td>
|
933 |
+
<td>$b </td>
|
934 |
+
<td><p>The second array.</p></td>
|
935 |
+
</tr>
|
936 |
+
</table>
|
937 |
+
|
938 |
+
|
939 |
+
<h4>Returns</h4>
|
940 |
+
integer
|
941 |
+
— <p>The comparison result.</p>
|
942 |
+
|
943 |
+
</article>
|
944 |
+
</div>
|
945 |
+
<aside class="span4 detailsbar">
|
946 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
947 |
+
<span class="label label-info">static</span>
|
948 |
+
<dl>
|
949 |
+
</dl>
|
950 |
+
<h2>Tags</h2>
|
951 |
+
<table class="table table-condensed">
|
952 |
+
<tr>
|
953 |
+
<th>
|
954 |
+
since
|
955 |
+
</th>
|
956 |
+
<td>
|
957 |
+
2.50
|
958 |
+
</td>
|
959 |
+
</tr>
|
960 |
+
</table>
|
961 |
+
</aside>
|
962 |
+
</div>
|
963 |
+
|
964 |
+
<div class="row-fluid">
|
965 |
+
<div class="span8 content class">
|
966 |
+
<a id="method__get_custom_field_rules" name="method__get_custom_field_rules" class="anchor"></a>
|
967 |
+
<article class="method">
|
968 |
+
<h3 class="private ">_get_custom_field_rules()</h3>
|
969 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
970 |
+
<pre class="signature" style="margin-right: 54px;">_get_custom_field_rules(boolean <span class="argument">$force_refresh = false</span>) : boolean</pre>
|
971 |
+
<p><em>Assemble the in-memory representation of the custom field rules</em></p>
|
972 |
+
|
973 |
+
|
974 |
+
<h4>Parameters</h4>
|
975 |
+
<table class="table table-condensed table-hover">
|
976 |
+
<tr>
|
977 |
+
<td>boolean</td>
|
978 |
+
<td>$force_refresh </td>
|
979 |
+
<td><p>Optional. Force a reload of rules. Default false.</p></td>
|
980 |
+
</tr>
|
981 |
+
</table>
|
982 |
+
|
983 |
+
|
984 |
+
<h4>Returns</h4>
|
985 |
+
boolean
|
986 |
+
— <p>Success (true) or failure (false) of the operation</p>
|
987 |
+
|
988 |
+
</article>
|
989 |
+
</div>
|
990 |
+
<aside class="span4 detailsbar">
|
991 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
992 |
+
<span class="label label-info">static</span>
|
993 |
+
<dl>
|
994 |
+
</dl>
|
995 |
+
<h2>Tags</h2>
|
996 |
+
<table class="table table-condensed">
|
997 |
+
<tr>
|
998 |
+
<th>
|
999 |
+
since
|
1000 |
+
</th>
|
1001 |
+
<td>
|
1002 |
+
2.50
|
1003 |
+
</td>
|
1004 |
+
</tr>
|
1005 |
+
</table>
|
1006 |
+
</aside>
|
1007 |
+
</div>
|
1008 |
+
|
1009 |
+
<div class="row-fluid">
|
1010 |
+
<div class="span8 content class">
|
1011 |
+
<a id="method__prepare_custom_field_rules_query" name="method__prepare_custom_field_rules_query" class="anchor"></a>
|
1012 |
+
<article class="method">
|
1013 |
+
<h3 class="private ">_prepare_custom_field_rules_query()</h3>
|
1014 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1015 |
+
<pre class="signature" style="margin-right: 54px;">_prepare_custom_field_rules_query( <span class="argument">$raw_request</span>, <span class="argument">$offset</span>, <span class="argument">$count</span>) : array</pre>
|
1016 |
+
<p><em>Sanitize and expand query arguments from request variables</em></p>
|
1017 |
+
|
1018 |
+
|
1019 |
+
<h4>Parameters</h4>
|
1020 |
+
<table class="table table-condensed table-hover">
|
1021 |
+
<tr>
|
1022 |
+
<td></td>
|
1023 |
+
<td>$raw_request </td>
|
1024 |
+
<td></td>
|
1025 |
+
</tr>
|
1026 |
+
<tr>
|
1027 |
+
<td></td>
|
1028 |
+
<td>$offset </td>
|
1029 |
+
<td></td>
|
1030 |
+
</tr>
|
1031 |
+
<tr>
|
1032 |
+
<td></td>
|
1033 |
+
<td>$count </td>
|
1034 |
+
<td></td>
|
1035 |
+
</tr>
|
1036 |
+
</table>
|
1037 |
+
|
1038 |
+
|
1039 |
+
<h4>Returns</h4>
|
1040 |
+
array
|
1041 |
+
— <p>revised arguments suitable for query</p>
|
1042 |
+
|
1043 |
+
</article>
|
1044 |
+
</div>
|
1045 |
+
<aside class="span4 detailsbar">
|
1046 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
1047 |
+
<span class="label label-info">static</span>
|
1048 |
+
<dl>
|
1049 |
+
</dl>
|
1050 |
+
<h2>Tags</h2>
|
1051 |
+
<table class="table table-condensed">
|
1052 |
+
<tr>
|
1053 |
+
<th>
|
1054 |
+
since
|
1055 |
+
</th>
|
1056 |
+
<td>
|
1057 |
+
2.50
|
1058 |
+
</td>
|
1059 |
+
</tr>
|
1060 |
+
</table>
|
1061 |
+
</aside>
|
1062 |
+
</div>
|
1063 |
+
|
1064 |
+
<div class="row-fluid">
|
1065 |
+
<div class="span8 content class">
|
1066 |
+
<a id="method__execute_custom_field_rules_query" name="method__execute_custom_field_rules_query" class="anchor"></a>
|
1067 |
+
<article class="method">
|
1068 |
+
<h3 class="private ">_execute_custom_field_rules_query()</h3>
|
1069 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1070 |
+
<pre class="signature" style="margin-right: 54px;">_execute_custom_field_rules_query( <span class="argument">$request</span>) : array</pre>
|
1071 |
+
<p><em>Query the plugin_examples items</em></p>
|
1072 |
+
|
1073 |
+
|
1074 |
+
<h4>Parameters</h4>
|
1075 |
+
<table class="table table-condensed table-hover">
|
1076 |
+
<tr>
|
1077 |
+
<td></td>
|
1078 |
+
<td>$request </td>
|
1079 |
+
<td></td>
|
1080 |
+
</tr>
|
1081 |
+
</table>
|
1082 |
+
|
1083 |
+
|
1084 |
+
<h4>Returns</h4>
|
1085 |
+
array
|
1086 |
+
— <p>query results; array of MLA post_mime_type objects</p>
|
1087 |
+
|
1088 |
+
</article>
|
1089 |
+
</div>
|
1090 |
+
<aside class="span4 detailsbar">
|
1091 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
1092 |
+
<span class="label label-info">static</span>
|
1093 |
+
<dl>
|
1094 |
+
</dl>
|
1095 |
+
<h2>Tags</h2>
|
1096 |
+
<table class="table table-condensed">
|
1097 |
+
<tr>
|
1098 |
+
<th>
|
1099 |
+
since
|
1100 |
+
</th>
|
1101 |
+
<td>
|
1102 |
+
2.50
|
1103 |
+
</td>
|
1104 |
+
</tr>
|
1105 |
+
</table>
|
1106 |
+
</aside>
|
1107 |
+
</div>
|
1108 |
+
|
1109 |
+
</div>
|
1110 |
+
</section>
|
1111 |
+
|
1112 |
+
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
|
1113 |
+
<div class="modal-header">
|
1114 |
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
1115 |
+
<h3 id="source-view-label">class-mla-settings-custom-fields-tab.php</h3>
|
1116 |
+
</div>
|
1117 |
+
<div class="modal-body">
|
1118 |
+
<pre data-src="../files/includes\class-mla-settings-custom-fields-tab.php.txt" class="language-php line-numbers"></pre>
|
1119 |
+
</div>
|
1120 |
+
</div>
|
1121 |
+
|
1122 |
+
<footer class="row-fluid">
|
1123 |
+
<section class="span10 offset2">
|
1124 |
+
<section class="row-fluid">
|
1125 |
+
<section class="span10 offset1">
|
1126 |
+
<section class="row-fluid footer-sections">
|
1127 |
+
<section class="span4">
|
1128 |
+
<h1><i class="icon-code"></i></h1>
|
1129 |
+
<div>
|
1130 |
+
<ul>
|
1131 |
+
</ul>
|
1132 |
+
</div>
|
1133 |
+
</section>
|
1134 |
+
<section class="span4">
|
1135 |
+
<h1><i class="icon-bar-chart"></i></h1>
|
1136 |
+
<div>
|
1137 |
+
<ul>
|
1138 |
+
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
|
1139 |
+
</ul>
|
1140 |
+
</div>
|
1141 |
+
</section>
|
1142 |
+
<section class="span4">
|
1143 |
+
<h1><i class="icon-pushpin"></i></h1>
|
1144 |
+
<div>
|
1145 |
+
<ul>
|
1146 |
+
<li><a href="../reports/errors.html">Errors</a></li>
|
1147 |
+
<li><a href="../reports/markers.html">Markers</a></li>
|
1148 |
+
</ul>
|
1149 |
+
</div>
|
1150 |
+
</section>
|
1151 |
+
</section>
|
1152 |
+
</section>
|
1153 |
+
</section>
|
1154 |
+
<section class="row-fluid">
|
1155 |
+
<section class="span10 offset1">
|
1156 |
+
<hr />
|
1157 |
+
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1158 |
+
on March 18th, 2017 at 19:35.
|
1159 |
+
</section>
|
1160 |
+
</section>
|
1161 |
+
</section>
|
1162 |
+
</footer>
|
1163 |
+
</div>
|
1164 |
+
|
1165 |
+
</body>
|
1166 |
+
</html>
|
phpDocs/classes/MLA_Custom_Fields_List_Table.html
ADDED
@@ -0,0 +1,2074 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
5 |
+
<meta charset="utf-8"/>
|
6 |
+
<title>Media Library Assistant</title>
|
7 |
+
<meta name="author" content=""/>
|
8 |
+
<meta name="description" content=""/>
|
9 |
+
|
10 |
+
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
|
11 |
+
<link href="../css/font-awesome.min.css" rel="stylesheet">
|
12 |
+
<link href="../css/prism.css" rel="stylesheet" media="all"/>
|
13 |
+
<link href="../css/template.css" rel="stylesheet" media="all"/>
|
14 |
+
|
15 |
+
<!--[if lt IE 9]>
|
16 |
+
<script src="../js/html5.js"></script>
|
17 |
+
<![endif]-->
|
18 |
+
<script src="../js/jquery-1.11.0.min.js"></script>
|
19 |
+
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
|
20 |
+
<script src="../js/bootstrap.min.js"></script>
|
21 |
+
<script src="../js/jquery.smooth-scroll.js"></script>
|
22 |
+
<script src="../js/prism.min.js"></script>
|
23 |
+
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
|
24 |
+
<script type="text/javascript">
|
25 |
+
function loadExternalCodeSnippets() {
|
26 |
+
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
|
27 |
+
var src = pre.getAttribute('data-src');
|
28 |
+
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
|
29 |
+
var language = 'php';
|
30 |
+
|
31 |
+
var code = document.createElement('code');
|
32 |
+
code.className = 'language-' + language;
|
33 |
+
|
34 |
+
pre.textContent = '';
|
35 |
+
|
36 |
+
code.textContent = 'Loading…';
|
37 |
+
|
38 |
+
pre.appendChild(code);
|
39 |
+
|
40 |
+
var xhr = new XMLHttpRequest();
|
41 |
+
|
42 |
+
xhr.open('GET', src, true);
|
43 |
+
|
44 |
+
xhr.onreadystatechange = function () {
|
45 |
+
if (xhr.readyState == 4) {
|
46 |
+
|
47 |
+
if (xhr.status < 400 && xhr.responseText) {
|
48 |
+
code.textContent = xhr.responseText;
|
49 |
+
|
50 |
+
Prism.highlightElement(code);
|
51 |
+
}
|
52 |
+
else if (xhr.status >= 400) {
|
53 |
+
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
54 |
+
}
|
55 |
+
else {
|
56 |
+
code.textContent = '✖ Error: File does not exist or is empty';
|
57 |
+
}
|
58 |
+
}
|
59 |
+
};
|
60 |
+
|
61 |
+
xhr.send(null);
|
62 |
+
});
|
63 |
+
}
|
64 |
+
|
65 |
+
$(document).ready(function(){
|
66 |
+
loadExternalCodeSnippets();
|
67 |
+
});
|
68 |
+
$('#source-view').on('shown', function () {
|
69 |
+
loadExternalCodeSnippets();
|
70 |
+
})
|
71 |
+
</script>
|
72 |
+
|
73 |
+
<link rel="shortcut icon" href="../images/favicon.ico"/>
|
74 |
+
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
|
75 |
+
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
|
76 |
+
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
|
77 |
+
</head>
|
78 |
+
<body>
|
79 |
+
|
80 |
+
<div class="navbar navbar-fixed-top">
|
81 |
+
<div class="navbar-inner">
|
82 |
+
<div class="container">
|
83 |
+
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
84 |
+
<i class="icon-ellipsis-vertical"></i>
|
85 |
+
</a>
|
86 |
+
<a class="brand" href="../index.html">Media Library Assistant</a>
|
87 |
+
|
88 |
+
<div class="nav-collapse">
|
89 |
+
<ul class="nav pull-right">
|
90 |
+
<li class="dropdown" id="charts-menu">
|
91 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
92 |
+
Charts <b class="caret"></b>
|
93 |
+
</a>
|
94 |
+
<ul class="dropdown-menu">
|
95 |
+
<li>
|
96 |
+
<a href="../graphs/class.html">
|
97 |
+
<i class="icon-list-alt"></i> Class hierarchy diagram
|
98 |
+
</a>
|
99 |
+
</li>
|
100 |
+
</ul>
|
101 |
+
</li>
|
102 |
+
<li class="dropdown" id="reports-menu">
|
103 |
+
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
104 |
+
Reports <b class="caret"></b>
|
105 |
+
</a>
|
106 |
+
<ul class="dropdown-menu">
|
107 |
+
<li>
|
108 |
+
<a href="../reports/errors.html">
|
109 |
+
<i class="icon-list-alt"></i> Errors <span class="label label-info pull-right">0</span>
|
110 |
+
</a>
|
111 |
+
</li>
|
112 |
+
<li>
|
113 |
+
<a href="../reports/markers.html">
|
114 |
+
<i class="icon-list-alt"></i> Markers <span class="label label-info pull-right">5</span>
|
115 |
+
</a>
|
116 |
+
</li>
|
117 |
+
<li>
|
118 |
+
<a href="../reports/deprecated.html">
|
119 |
+
<i class="icon-list-alt"></i> Deprecated <span class="label label-info pull-right">0</span>
|
120 |
+
</a>
|
121 |
+
</li>
|
122 |
+
</ul>
|
123 |
+
</li>
|
124 |
+
</ul>
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
</div>
|
128 |
+
<!--<div class="go_to_top">-->
|
129 |
+
<!--<a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a>-->
|
130 |
+
<!--</div>-->
|
131 |
+
</div>
|
132 |
+
|
133 |
+
<div id="___" class="container-fluid">
|
134 |
+
<section class="row-fluid">
|
135 |
+
<div class="span2 sidebar">
|
136 |
+
<div class="accordion" style="margin-bottom: 0">
|
137 |
+
<div class="accordion-group">
|
138 |
+
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1678047456"></a>
|
140 |
+
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
+
</div>
|
142 |
+
<div id="namespace-1678047456" class="accordion-body collapse in">
|
143 |
+
<div class="accordion-inner">
|
144 |
+
|
145 |
+
|
146 |
+
<ul>
|
147 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_Editing_Strategy.html">AC_Addon_MLA_Editing_Strategy</a></li>
|
148 |
+
<li class="class"><a href="../classes/AC_Addon_MLA_ListScreen.html">AC_Addon_MLA_ListScreen</a></li>
|
149 |
+
<li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
|
150 |
+
<li class="class"><a href="../classes/MLA.html">MLA</a></li>
|
151 |
+
<li class="class"><a href="../classes/MLA_Ajax.html">MLA_Ajax</a></li>
|
152 |
+
<li class="class"><a href="../classes/MLA_Checklist_Walker.html">MLA_Checklist_Walker</a></li>
|
153 |
+
<li class="class"><a href="../classes/MLA_Custom_Field_Query.html">MLA_Custom_Field_Query</a></li>
|
154 |
+
<li class="class"><a href="../classes/MLA_Custom_Fields_List_Table.html">MLA_Custom_Fields_List_Table</a></li>
|
155 |
+
<li class="class"><a href="../classes/MLA_Example_List_Table.html">MLA_Example_List_Table</a></li>
|
156 |
+
<li class="class"><a href="../classes/MLA_List_Table.html">MLA_List_Table</a></li>
|
157 |
+
<li class="class"><a href="../classes/MLA_Polylang.html">MLA_Polylang</a></li>
|
158 |
+
<li class="class"><a href="../classes/MLA_Polylang_Shortcodes.html">MLA_Polylang_Shortcodes</a></li>
|
159 |
+
<li class="class"><a href="../classes/MLA_Template_List_Table.html">MLA_Template_List_Table</a></li>
|
160 |
+
<li class="class"><a href="../classes/MLA_Template_Query.html">MLA_Template_Query</a></li>
|
161 |
+
<li class="class"><a href="../classes/MLA_Thumbnail.html">MLA_Thumbnail</a></li>
|
162 |
+
<li class="class"><a href="../classes/MLA_Upgrader_Skin.html">MLA_Upgrader_Skin</a></li>
|
163 |
+
<li class="class"><a href="../classes/MLA_Upload_List_Table.html">MLA_Upload_List_Table</a></li>
|
164 |
+
<li class="class"><a href="../classes/MLA_Upload_Optional_List_Table.html">MLA_Upload_Optional_List_Table</a></li>
|
165 |
+
<li class="class"><a href="../classes/MLA_View_List_Table.html">MLA_View_List_Table</a></li>
|
166 |
+
<li class="class"><a href="../classes/MLA_WPML.html">MLA_WPML</a></li>
|
167 |
+
<li class="class"><a href="../classes/MLA_WPML_List_Table.html">MLA_WPML_List_Table</a></li>
|
168 |
+
<li class="class"><a href="../classes/MLA_WPML_Shortcodes.html">MLA_WPML_Shortcodes</a></li>
|
169 |
+
<li class="class"><a href="../classes/MLA_WPML_Table.html">MLA_WPML_Table</a></li>
|
170 |
+
<li class="class"><a href="../classes/MLACore.html">MLACore</a></li>
|
171 |
+
<li class="class"><a href="../classes/MLACoreOptions.html">MLACoreOptions</a></li>
|
172 |
+
<li class="class"><a href="../classes/MLAData.html">MLAData</a></li>
|
173 |
+
<li class="class"><a href="../classes/MLAData_Source.html">MLAData_Source</a></li>
|
174 |
+
<li class="class"><a href="../classes/MLAEdit.html">MLAEdit</a></li>
|
175 |
+
<li class="class"><a href="../classes/MLAFileDownloader.html">MLAFileDownloader</a></li>
|
176 |
+
<li class="class"><a href="../classes/MLAImageProcessor.html">MLAImageProcessor</a></li>
|
177 |
+
<li class="class"><a href="../classes/MLAMime.html">MLAMime</a></li>
|
178 |
+
<li class="class"><a href="../classes/MLAModal.html">MLAModal</a></li>
|
179 |
+
<li class="class"><a href="../classes/MLAModal_Ajax.html">MLAModal_Ajax</a></li>
|
180 |
+
<li class="class"><a href="../classes/MLAMutex.html">MLAMutex</a></li>
|
181 |
+
<li class="class"><a href="../classes/MLAObjects.html">MLAObjects</a></li>
|
182 |
+
<li class="class"><a href="../classes/MLAOptions.html">MLAOptions</a></li>
|
183 |
+
<li class="class"><a href="../classes/MLAPDF.html">MLAPDF</a></li>
|
184 |
+
<li class="class"><a href="../classes/MLAQuery.html">MLAQuery</a></li>
|
185 |
+
<li class="class"><a href="../classes/MLAReferences.html">MLAReferences</a></li>
|
186 |
+
<li class="class"><a href="../classes/MLASettings.html">MLASettings</a></li>
|
187 |
+
<li class="class"><a href="../classes/MLASettings_CustomFields.html">MLASettings_CustomFields</a></li>
|
188 |
+
<li class="class"><a href="../classes/MLASettings_Documentation.html">MLASettings_Documentation</a></li>
|
189 |
+
<li class="class"><a href="../classes/MLASettings_IPTCEXIF.html">MLASettings_IPTCEXIF</a></li>
|
190 |
+
<li class="class"><a href="../classes/MLASettings_Shortcodes.html">MLASettings_Shortcodes</a></li>
|
191 |
+
<li class="class"><a href="../classes/MLASettings_Upload.html">MLASettings_Upload</a></li>
|
192 |
+
<li class="class"><a href="../classes/MLASettings_View.html">MLASettings_View</a></li>
|
193 |
+
<li class="class"><a href="../classes/MLAShortcode_Support.html">MLAShortcode_Support</a></li>
|
194 |
+
<li class="class"><a href="../classes/MLAShortcodes.html">MLAShortcodes</a></li>
|
195 |
+
<li class="class"><a href="../classes/MLATemplate_Support.html">MLATemplate_Support</a></li>
|
196 |
+
<li class="class"><a href="../classes/MLATest.html">MLATest</a></li>
|
197 |
+
<li class="class"><a href="../classes/MLATextWidget.html">MLATextWidget</a></li>
|
198 |
+
<li class="class"><a href="../classes/MLAUninstall.html">MLAUninstall</a></li>
|
199 |
+
</ul>
|
200 |
+
</div>
|
201 |
+
</div>
|
202 |
+
</div>
|
203 |
+
</div>
|
204 |
+
|
205 |
+
</div>
|
206 |
+
</section>
|
207 |
+
<section class="row-fluid">
|
208 |
+
<div class="span10 offset2">
|
209 |
+
<div class="row-fluid">
|
210 |
+
<div class="span8 content class">
|
211 |
+
<nav>
|
212 |
+
<a href="../namespaces/default.html">\</a> <i class="icon-level-up"></i>
|
213 |
+
</nav>
|
214 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
|
215 |
+
|
216 |
+
<h1><small>\</small>MLA_Custom_Fields_List_Table</h1>
|
217 |
+
<p><em>Class MLA (Media Library Assistant) Custom Fields List Table implements the "Custom Fields"
|
218 |
+
admin settings submenu table</em></p>
|
219 |
+
<p>Extends the core WP_List_Table class.</p>
|
220 |
+
|
221 |
+
|
222 |
+
<section id="summary">
|
223 |
+
<h2>Summary</h2>
|
224 |
+
<section class="row-fluid heading">
|
225 |
+
<section class="span4">
|
226 |
+
<a href="#methods">Methods</a>
|
227 |
+
</section>
|
228 |
+
<section class="span4">
|
229 |
+
<a href="#properties">Properties</a>
|
230 |
+
</section>
|
231 |
+
<section class="span4">
|
232 |
+
<a href="#constants">Constants</a>
|
233 |
+
</section>
|
234 |
+
</section>
|
235 |
+
<section class="row-fluid public">
|
236 |
+
<section class="span4">
|
237 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method___construct" class="">__construct()</a><br />
|
238 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_get_sortable_columns" class="">mla_get_sortable_columns()</a><br />
|
239 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_submenu_arguments" class="">mla_submenu_arguments()</a><br />
|
240 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_manage_hidden_columns_filter" class="">mla_manage_hidden_columns_filter()</a><br />
|
241 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_manage_columns_filter" class="">mla_manage_columns_filter()</a><br />
|
242 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_admin_init" class="">mla_admin_init()</a><br />
|
243 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_ajax_user_can" class="">ajax_user_can()</a><br />
|
244 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_default" class="">column_default()</a><br />
|
245 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_cb" class="">column_cb()</a><br />
|
246 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_name" class="">column_name()</a><br />
|
247 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_rule_name" class="">column_rule_name()</a><br />
|
248 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_data_source" class="">column_data_source()</a><br />
|
249 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_meta_name" class="">column_meta_name()</a><br />
|
250 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_visibility" class="">column_visibility()</a><br />
|
251 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_status" class="">column_status()</a><br />
|
252 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_existing_text" class="">column_existing_text()</a><br />
|
253 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_delete_null" class="">column_delete_null()</a><br />
|
254 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_format" class="">column_format()</a><br />
|
255 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_column_option" class="">column_option()</a><br />
|
256 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_pagination" class="">pagination()</a><br />
|
257 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_get_columns" class="">get_columns()</a><br />
|
258 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_get_hidden_columns" class="">get_hidden_columns()</a><br />
|
259 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_get_sortable_columns" class="">get_sortable_columns()</a><br />
|
260 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method__get_view" class="">_get_view()</a><br />
|
261 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_get_views" class="">get_views()</a><br />
|
262 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_get_bulk_actions" class="">get_bulk_actions()</a><br />
|
263 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_get_bulk_actions" class="">mla_get_bulk_actions()</a><br />
|
264 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_mla_get_custom_field_status_dropdown" class="">mla_get_custom_field_status_dropdown()</a><br />
|
265 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_extra_tablenav" class="">extra_tablenav()</a><br />
|
266 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_prepare_items" class="">prepare_items()</a><br />
|
267 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_single_row" class="">single_row()</a><br />
|
268 |
+
</section>
|
269 |
+
<section class="span4">
|
270 |
+
<em>No public properties found</em>
|
271 |
+
</section>
|
272 |
+
<section class="span4">
|
273 |
+
<em>No constants found</em>
|
274 |
+
</section>
|
275 |
+
</section>
|
276 |
+
<section class="row-fluid protected">
|
277 |
+
<section class="span4">
|
278 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_get_default_primary_column_name" class="">get_default_primary_column_name()</a><br />
|
279 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method_handle_row_actions" class="">handle_row_actions()</a><br />
|
280 |
+
</section>
|
281 |
+
<section class="span4">
|
282 |
+
<em>No protected properties found</em>
|
283 |
+
</section>
|
284 |
+
<section class="span4">
|
285 |
+
<em>N/A</em>
|
286 |
+
</section>
|
287 |
+
</section>
|
288 |
+
<section class="row-fluid private">
|
289 |
+
<section class="span4">
|
290 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method__default_hidden_columns" class="">_default_hidden_columns()</a><br />
|
291 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method__localize_default_columns_array" class="">_localize_default_columns_array()</a><br />
|
292 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method__build_rollover_actions" class="">_build_rollover_actions()</a><br />
|
293 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#method__build_inline_data" class="">_build_inline_data()</a><br />
|
294 |
+
</section>
|
295 |
+
<section class="span4">
|
296 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#property_default_columns" class="">$default_columns</a><br />
|
297 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#property_default_hidden_columns" class="">$default_hidden_columns</a><br />
|
298 |
+
<a href="../classes/MLA_Custom_Fields_List_Table.html#property_default_sortable_columns" class="">$default_sortable_columns</a><br />
|
299 |
+
</section>
|
300 |
+
<section class="span4">
|
301 |
+
<em>N/A</em>
|
302 |
+
</section>
|
303 |
+
</section>
|
304 |
+
</section>
|
305 |
+
</div>
|
306 |
+
<aside class="span4 detailsbar">
|
307 |
+
|
308 |
+
|
309 |
+
<dl>
|
310 |
+
<dt>File</dt>
|
311 |
+
<dd><a href="../files/includes.class-mla-settings-custom-fields-tab.html"><div class="path-wrapper">includes\class-mla-settings-custom-fields-tab.php</div></a></dd>
|
312 |
+
<dt>Package</dt>
|
313 |
+
<dd><div class="namespace-wrapper">Media Library Assistant</div></dd>
|
314 |
+
<dt>Class hierarchy</dt>
|
315 |
+
<dd class="hierarchy">
|
316 |
+
|
317 |
+
<div class="namespace-wrapper">\WP_List_Table</div>
|
318 |
+
<div class="namespace-wrapper">\MLA_Custom_Fields_List_Table</div>
|
319 |
+
</dd>
|
320 |
+
|
321 |
+
|
322 |
+
|
323 |
+
|
324 |
+
|
325 |
+
</dl>
|
326 |
+
<h2>Tags</h2>
|
327 |
+
<table class="table table-condensed">
|
328 |
+
<tr>
|
329 |
+
<th>
|
330 |
+
since
|
331 |
+
</th>
|
332 |
+
<td>
|
333 |
+
|
334 |
+
</td>
|
335 |
+
</tr>
|
336 |
+
</table>
|
337 |
+
</aside>
|
338 |
+
</div>
|
339 |
+
|
340 |
+
|
341 |
+
<a id="properties" name="properties"></a>
|
342 |
+
<div class="row-fluid">
|
343 |
+
<div class="span8 content class">
|
344 |
+
<h2>Properties</h2>
|
345 |
+
</div>
|
346 |
+
<aside class="span4 detailsbar"></aside>
|
347 |
+
</div>
|
348 |
+
|
349 |
+
<div class="row-fluid">
|
350 |
+
<div class="span8 content class">
|
351 |
+
<a id="property_default_columns" name="property_default_columns" class="anchor"></a>
|
352 |
+
<article class="property">
|
353 |
+
<h3 class="private ">$default_columns</h3>
|
354 |
+
<pre class="signature">$default_columns : array</pre>
|
355 |
+
<p><em>Table column definitions</em></p>
|
356 |
+
<p>This array defines table columns and titles where the key is the column slug (and class)
|
357 |
+
and the value is the column's title text.</p>
|
358 |
+
<p>All of the columns are added to this array by MLA_Custom_Fields_List_Table::_localize_default_columns_array.</p>
|
359 |
+
|
360 |
+
<h4>Type</h4>
|
361 |
+
array
|
362 |
+
</article>
|
363 |
+
</div>
|
364 |
+
<aside class="span4 detailsbar">
|
365 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
366 |
+
<dl>
|
367 |
+
</dl>
|
368 |
+
<h2>Tags</h2>
|
369 |
+
<table class="table table-condensed">
|
370 |
+
<tr>
|
371 |
+
<th>
|
372 |
+
since
|
373 |
+
</th>
|
374 |
+
<td>
|
375 |
+
|
376 |
+
</td>
|
377 |
+
</tr>
|
378 |
+
</table>
|
379 |
+
</aside>
|
380 |
+
</div>
|
381 |
+
|
382 |
+
<div class="row-fluid">
|
383 |
+
<div class="span8 content class">
|
384 |
+
<a id="property_default_hidden_columns" name="property_default_hidden_columns" class="anchor"></a>
|
385 |
+
<article class="property">
|
386 |
+
<h3 class="private ">$default_hidden_columns</h3>
|
387 |
+
<pre class="signature">$default_hidden_columns : array</pre>
|
388 |
+
<p><em>Default values for hidden columns</em></p>
|
389 |
+
<p>This array is used when the user-level option is not set, i.e.,
|
390 |
+
the user has not altered the selection of hidden columns.</p>
|
391 |
+
<p>The value on the right-hand side must match the column slug, e.g.,
|
392 |
+
array(0 => 'ID_parent, 1 => 'title_name').</p>
|
393 |
+
|
394 |
+
<h4>Type</h4>
|
395 |
+
array
|
396 |
+
</article>
|
397 |
+
</div>
|
398 |
+
<aside class="span4 detailsbar">
|
399 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
400 |
+
<dl>
|
401 |
+
</dl>
|
402 |
+
<h2>Tags</h2>
|
403 |
+
<table class="table table-condensed">
|
404 |
+
<tr>
|
405 |
+
<th>
|
406 |
+
since
|
407 |
+
</th>
|
408 |
+
<td>
|
409 |
+
|
410 |
+
</td>
|
411 |
+
</tr>
|
412 |
+
</table>
|
413 |
+
</aside>
|
414 |
+
</div>
|
415 |
+
|
416 |
+
<div class="row-fluid">
|
417 |
+
<div class="span8 content class">
|
418 |
+
<a id="property_default_sortable_columns" name="property_default_sortable_columns" class="anchor"></a>
|
419 |
+
<article class="property">
|
420 |
+
<h3 class="private ">$default_sortable_columns</h3>
|
421 |
+
<pre class="signature">$default_sortable_columns : array</pre>
|
422 |
+
<p><em>Sortable column definitions</em></p>
|
423 |
+
<p>This array defines the table columns that can be sorted. The array key
|
424 |
+
is the column slug that needs to be sortable, and the value is database column
|
425 |
+
to sort by. Often, the key and value will be the same, but this is not always
|
426 |
+
the case (as the value is a column name from the database, not the list table).</p>
|
427 |
+
<p>The array value also contains a boolean which is 'true' if the initial sort order
|
428 |
+
for the column is DESC/Descending.</p>
|
429 |
+
|
430 |
+
<h4>Type</h4>
|
431 |
+
array
|
432 |
+
— {
|
433 |
+
@type array $$column_slug {
|
434 |
+
@type string $orderby_name Database column or other sorting slug.
|
435 |
+
@type boolean $descending Optional. True to make the initial orderby DESC.
|
436 |
+
}
|
437 |
+
} </article>
|
438 |
+
</div>
|
439 |
+
<aside class="span4 detailsbar">
|
440 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
441 |
+
<dl>
|
442 |
+
</dl>
|
443 |
+
<h2>Tags</h2>
|
444 |
+
<table class="table table-condensed">
|
445 |
+
<tr>
|
446 |
+
<th>
|
447 |
+
since
|
448 |
+
</th>
|
449 |
+
<td>
|
450 |
+
|
451 |
+
</td>
|
452 |
+
</tr>
|
453 |
+
</table>
|
454 |
+
</aside>
|
455 |
+
</div>
|
456 |
+
|
457 |
+
|
458 |
+
<a id="methods" name="methods"></a>
|
459 |
+
<div class="row-fluid">
|
460 |
+
<div class="span8 content class"><h2>Methods</h2></div>
|
461 |
+
<aside class="span4 detailsbar"></aside>
|
462 |
+
</div>
|
463 |
+
|
464 |
+
<div class="row-fluid">
|
465 |
+
<div class="span8 content class">
|
466 |
+
<a id="method___construct" name="method___construct" class="anchor"></a>
|
467 |
+
<article class="method">
|
468 |
+
<h3 class="public ">__construct()</h3>
|
469 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
470 |
+
<pre class="signature" style="margin-right: 54px;">__construct() : void</pre>
|
471 |
+
<p><em>Initializes some properties from $_REQUEST variables, then
|
472 |
+
calls the parent constructor to set some default configs.</em></p>
|
473 |
+
|
474 |
+
|
475 |
+
|
476 |
+
|
477 |
+
|
478 |
+
</article>
|
479 |
+
</div>
|
480 |
+
<aside class="span4 detailsbar">
|
481 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
482 |
+
<dl>
|
483 |
+
</dl>
|
484 |
+
<h2>Tags</h2>
|
485 |
+
<table class="table table-condensed">
|
486 |
+
<tr>
|
487 |
+
<th>
|
488 |
+
since
|
489 |
+
</th>
|
490 |
+
<td>
|
491 |
+
2.50
|
492 |
+
</td>
|
493 |
+
</tr>
|
494 |
+
</table>
|
495 |
+
</aside>
|
496 |
+
</div>
|
497 |
+
|
498 |
+
<div class="row-fluid">
|
499 |
+
<div class="span8 content class">
|
500 |
+
<a id="method_mla_get_sortable_columns" name="method_mla_get_sortable_columns" class="anchor"></a>
|
501 |
+
<article class="method">
|
502 |
+
<h3 class="public ">mla_get_sortable_columns()</h3>
|
503 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
504 |
+
<pre class="signature" style="margin-right: 54px;">mla_get_sortable_columns() : array</pre>
|
505 |
+
<p><em>Return the names and display values of the sortable columns</em></p>
|
506 |
+
|
507 |
+
|
508 |
+
|
509 |
+
|
510 |
+
<h4>Returns</h4>
|
511 |
+
array
|
512 |
+
— <p>name => array( orderby value, heading ) for sortable columns</p>
|
513 |
+
|
514 |
+
</article>
|
515 |
+
</div>
|
516 |
+
<aside class="span4 detailsbar">
|
517 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
518 |
+
<span class="label label-info">static</span>
|
519 |
+
<dl>
|
520 |
+
</dl>
|
521 |
+
<h2>Tags</h2>
|
522 |
+
<table class="table table-condensed">
|
523 |
+
<tr>
|
524 |
+
<th>
|
525 |
+
since
|
526 |
+
</th>
|
527 |
+
<td>
|
528 |
+
2.50
|
529 |
+
</td>
|
530 |
+
</tr>
|
531 |
+
</table>
|
532 |
+
</aside>
|
533 |
+
</div>
|
534 |
+
|
535 |
+
<div class="row-fluid">
|
536 |
+
<div class="span8 content class">
|
537 |
+
<a id="method_mla_submenu_arguments" name="method_mla_submenu_arguments" class="anchor"></a>
|
538 |
+
<article class="method">
|
539 |
+
<h3 class="public ">mla_submenu_arguments()</h3>
|
540 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
541 |
+
<pre class="signature" style="margin-right: 54px;">mla_submenu_arguments(boolean <span class="argument">$include_filters = true</span>) : array</pre>
|
542 |
+
<p><em>Process $_REQUEST, building $submenu_arguments</em></p>
|
543 |
+
|
544 |
+
|
545 |
+
<h4>Parameters</h4>
|
546 |
+
<table class="table table-condensed table-hover">
|
547 |
+
<tr>
|
548 |
+
<td>boolean</td>
|
549 |
+
<td>$include_filters </td>
|
550 |
+
<td><p>Optional. Include the "click filter" values in the results. Default true.</p></td>
|
551 |
+
</tr>
|
552 |
+
</table>
|
553 |
+
|
554 |
+
|
555 |
+
<h4>Returns</h4>
|
556 |
+
array
|
557 |
+
— <p>non-empty view, search, filter and sort arguments</p>
|
558 |
+
|
559 |
+
</article>
|
560 |
+
</div>
|
561 |
+
<aside class="span4 detailsbar">
|
562 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
563 |
+
<span class="label label-info">static</span>
|
564 |
+
<dl>
|
565 |
+
</dl>
|
566 |
+
<h2>Tags</h2>
|
567 |
+
<table class="table table-condensed">
|
568 |
+
<tr>
|
569 |
+
<th>
|
570 |
+
since
|
571 |
+
</th>
|
572 |
+
<td>
|
573 |
+
2.50
|
574 |
+
</td>
|
575 |
+
</tr>
|
576 |
+
</table>
|
577 |
+
</aside>
|
578 |
+
</div>
|
579 |
+
|
580 |
+
<div class="row-fluid">
|
581 |
+
<div class="span8 content class">
|
582 |
+
<a id="method_mla_manage_hidden_columns_filter" name="method_mla_manage_hidden_columns_filter" class="anchor"></a>
|
583 |
+
<article class="method">
|
584 |
+
<h3 class="public ">mla_manage_hidden_columns_filter()</h3>
|
585 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
586 |
+
<pre class="signature" style="margin-right: 54px;">mla_manage_hidden_columns_filter( <span class="argument">$result</span>, <span class="argument">$option</span>, <span class="argument">$user_data</span>) : array</pre>
|
587 |
+
<p><em>Handler for filter 'get_user_option_managesettings_page_mla-settings-menu-custom_fieldcolumnshidden'</em></p>
|
588 |
+
<p>Required because the screen.php get_hidden_columns function only uses
|
589 |
+
the get_user_option result. Set when the file is loaded because the object
|
590 |
+
is not created in time for the call from screen.php.</p>
|
591 |
+
|
592 |
+
<h4>Parameters</h4>
|
593 |
+
<table class="table table-condensed table-hover">
|
594 |
+
<tr>
|
595 |
+
<td></td>
|
596 |
+
<td>$result </td>
|
597 |
+
<td></td>
|
598 |
+
</tr>
|
599 |
+
<tr>
|
600 |
+
<td></td>
|
601 |
+
<td>$option </td>
|
602 |
+
<td></td>
|
603 |
+
</tr>
|
604 |
+
<tr>
|
605 |
+
<td></td>
|
606 |
+
<td>$user_data </td>
|
607 |
+
<td></td>
|
608 |
+
</tr>
|
609 |
+
</table>
|
610 |
+
|
611 |
+
|
612 |
+
<h4>Returns</h4>
|
613 |
+
array
|
614 |
+
— <p>updated list of hidden columns</p>
|
615 |
+
|
616 |
+
</article>
|
617 |
+
</div>
|
618 |
+
<aside class="span4 detailsbar">
|
619 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
620 |
+
<span class="label label-info">static</span>
|
621 |
+
<dl>
|
622 |
+
</dl>
|
623 |
+
<h2>Tags</h2>
|
624 |
+
<table class="table table-condensed">
|
625 |
+
<tr>
|
626 |
+
<th>
|
627 |
+
since
|
628 |
+
</th>
|
629 |
+
<td>
|
630 |
+
2.50
|
631 |
+
</td>
|
632 |
+
</tr>
|
633 |
+
</table>
|
634 |
+
</aside>
|
635 |
+
</div>
|
636 |
+
|
637 |
+
<div class="row-fluid">
|
638 |
+
<div class="span8 content class">
|
639 |
+
<a id="method_mla_manage_columns_filter" name="method_mla_manage_columns_filter" class="anchor"></a>
|
640 |
+
<article class="method">
|
641 |
+
<h3 class="public ">mla_manage_columns_filter()</h3>
|
642 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
643 |
+
<pre class="signature" style="margin-right: 54px;">mla_manage_columns_filter() : array</pre>
|
644 |
+
<p><em>Handler for filter 'manage_settings_page_mla-settings-menu_columns'</em></p>
|
645 |
+
<p>This required filter dictates the table's columns and titles. Set when the
|
646 |
+
file is loaded because the list_table object isn't created in time
|
647 |
+
to affect the "screen options" setup.</p>
|
648 |
+
|
649 |
+
|
650 |
+
|
651 |
+
<h4>Returns</h4>
|
652 |
+
array
|
653 |
+
— <p>list of table columns</p>
|
654 |
+
|
655 |
+
</article>
|
656 |
+
</div>
|
657 |
+
<aside class="span4 detailsbar">
|
658 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
659 |
+
<span class="label label-info">static</span>
|
660 |
+
<dl>
|
661 |
+
</dl>
|
662 |
+
<h2>Tags</h2>
|
663 |
+
<table class="table table-condensed">
|
664 |
+
<tr>
|
665 |
+
<th>
|
666 |
+
since
|
667 |
+
</th>
|
668 |
+
<td>
|
669 |
+
2.50
|
670 |
+
</td>
|
671 |
+
</tr>
|
672 |
+
</table>
|
673 |
+
</aside>
|
674 |
+
</div>
|
675 |
+
|
676 |
+
<div class="row-fluid">
|
677 |
+
<div class="span8 content class">
|
678 |
+
<a id="method_mla_admin_init" name="method_mla_admin_init" class="anchor"></a>
|
679 |
+
<article class="method">
|
680 |
+
<h3 class="public ">mla_admin_init()</h3>
|
681 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
682 |
+
<pre class="signature" style="margin-right: 54px;">mla_admin_init() : void</pre>
|
683 |
+
<p><em>Called in the admin_init action because the list_table object isn't
|
684 |
+
created in time to affect the "screen options" setup.</em></p>
|
685 |
+
|
686 |
+
|
687 |
+
|
688 |
+
|
689 |
+
|
690 |
+
</article>
|
691 |
+
</div>
|
692 |
+
<aside class="span4 detailsbar">
|
693 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
694 |
+
<span class="label label-info">static</span>
|
695 |
+
<dl>
|
696 |
+
</dl>
|
697 |
+
<h2>Tags</h2>
|
698 |
+
<table class="table table-condensed">
|
699 |
+
<tr>
|
700 |
+
<th>
|
701 |
+
since
|
702 |
+
</th>
|
703 |
+
<td>
|
704 |
+
2.50
|
705 |
+
</td>
|
706 |
+
</tr>
|
707 |
+
</table>
|
708 |
+
</aside>
|
709 |
+
</div>
|
710 |
+
|
711 |
+
<div class="row-fluid">
|
712 |
+
<div class="span8 content class">
|
713 |
+
<a id="method_ajax_user_can" name="method_ajax_user_can" class="anchor"></a>
|
714 |
+
<article class="method">
|
715 |
+
<h3 class="public ">ajax_user_can()</h3>
|
716 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
717 |
+
<pre class="signature" style="margin-right: 54px;">ajax_user_can() : boolean</pre>
|
718 |
+
<p><em>Checks the current user's permissions</em></p>
|
719 |
+
|
720 |
+
|
721 |
+
|
722 |
+
|
723 |
+
<h4>Returns</h4>
|
724 |
+
boolean
|
725 |
+
|
726 |
+
</article>
|
727 |
+
</div>
|
728 |
+
<aside class="span4 detailsbar">
|
729 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
730 |
+
<dl>
|
731 |
+
</dl>
|
732 |
+
<h2>Tags</h2>
|
733 |
+
<table class="table table-condensed">
|
734 |
+
<tr>
|
735 |
+
<th>
|
736 |
+
since
|
737 |
+
</th>
|
738 |
+
<td>
|
739 |
+
2.50
|
740 |
+
</td>
|
741 |
+
</tr>
|
742 |
+
</table>
|
743 |
+
</aside>
|
744 |
+
</div>
|
745 |
+
|
746 |
+
<div class="row-fluid">
|
747 |
+
<div class="span8 content class">
|
748 |
+
<a id="method_column_default" name="method_column_default" class="anchor"></a>
|
749 |
+
<article class="method">
|
750 |
+
<h3 class="public ">column_default()</h3>
|
751 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
752 |
+
<pre class="signature" style="margin-right: 54px;">column_default( <span class="argument">$item</span>, <span class="argument">$column_name</span>) : string</pre>
|
753 |
+
<p><em>Supply a column value if no column-specific function has been defined</em></p>
|
754 |
+
<p>Called when the parent class can't find a method specifically built for a
|
755 |
+
given column. All columns should have a specific method, so this function
|
756 |
+
returns a troubleshooting message.</p>
|
757 |
+
|
758 |
+
<h4>Parameters</h4>
|
759 |
+
<table class="table table-condensed table-hover">
|
760 |
+
<tr>
|
761 |
+
<td></td>
|
762 |
+
<td>$item </td>
|
763 |
+
<td></td>
|
764 |
+
</tr>
|
765 |
+
<tr>
|
766 |
+
<td></td>
|
767 |
+
<td>$column_name </td>
|
768 |
+
<td></td>
|
769 |
+
</tr>
|
770 |
+
</table>
|
771 |
+
|
772 |
+
|
773 |
+
<h4>Returns</h4>
|
774 |
+
string
|
775 |
+
— <p>Text or HTML to be placed inside the column</p>
|
776 |
+
|
777 |
+
</article>
|
778 |
+
</div>
|
779 |
+
<aside class="span4 detailsbar">
|
780 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
781 |
+
<dl>
|
782 |
+
</dl>
|
783 |
+
<h2>Tags</h2>
|
784 |
+
<table class="table table-condensed">
|
785 |
+
<tr>
|
786 |
+
<th>
|
787 |
+
since
|
788 |
+
</th>
|
789 |
+
<td>
|
790 |
+
2.50
|
791 |
+
</td>
|
792 |
+
</tr>
|
793 |
+
</table>
|
794 |
+
</aside>
|
795 |
+
</div>
|
796 |
+
|
797 |
+
<div class="row-fluid">
|
798 |
+
<div class="span8 content class">
|
799 |
+
<a id="method_column_cb" name="method_column_cb" class="anchor"></a>
|
800 |
+
<article class="method">
|
801 |
+
<h3 class="public ">column_cb()</h3>
|
802 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
803 |
+
<pre class="signature" style="margin-right: 54px;">column_cb( <span class="argument">$item</span>) : string</pre>
|
804 |
+
<p><em>Displays checkboxes for using bulk actions. The 'cb' column
|
805 |
+
is given special treatment when columns are processed.</em></p>
|
806 |
+
|
807 |
+
|
808 |
+
<h4>Parameters</h4>
|
809 |
+
<table class="table table-condensed table-hover">
|
810 |
+
<tr>
|
811 |
+
<td></td>
|
812 |
+
<td>$item </td>
|
813 |
+
<td></td>
|
814 |
+
</tr>
|
815 |
+
</table>
|
816 |
+
|
817 |
+
|
818 |
+
<h4>Returns</h4>
|
819 |
+
string
|
820 |
+
— <p>HTML markup to be placed inside the column</p>
|
821 |
+
|
822 |
+
</article>
|
823 |
+
</div>
|
824 |
+
<aside class="span4 detailsbar">
|
825 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
826 |
+
<dl>
|
827 |
+
</dl>
|
828 |
+
<h2>Tags</h2>
|
829 |
+
<table class="table table-condensed">
|
830 |
+
<tr>
|
831 |
+
<th>
|
832 |
+
since
|
833 |
+
</th>
|
834 |
+
<td>
|
835 |
+
2.50
|
836 |
+
</td>
|
837 |
+
</tr>
|
838 |
+
</table>
|
839 |
+
</aside>
|
840 |
+
</div>
|
841 |
+
|
842 |
+
<div class="row-fluid">
|
843 |
+
<div class="span8 content class">
|
844 |
+
<a id="method_column_name" name="method_column_name" class="anchor"></a>
|
845 |
+
<article class="method">
|
846 |
+
<h3 class="public ">column_name()</h3>
|
847 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
848 |
+
<pre class="signature" style="margin-right: 54px;">column_name( <span class="argument">$item</span>) : string</pre>
|
849 |
+
<p><em>Populate the Name column</em></p>
|
850 |
+
|
851 |
+
|
852 |
+
<h4>Parameters</h4>
|
853 |
+
<table class="table table-condensed table-hover">
|
854 |
+
<tr>
|
855 |
+
<td></td>
|
856 |
+
<td>$item </td>
|
857 |
+
<td></td>
|
858 |
+
</tr>
|
859 |
+
</table>
|
860 |
+
|
861 |
+
|
862 |
+
<h4>Returns</h4>
|
863 |
+
string
|
864 |
+
— <p>HTML markup to be placed inside the column</p>
|
865 |
+
|
866 |
+
</article>
|
867 |
+
</div>
|
868 |
+
<aside class="span4 detailsbar">
|
869 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
870 |
+
<dl>
|
871 |
+
</dl>
|
872 |
+
<h2>Tags</h2>
|
873 |
+
<table class="table table-condensed">
|
874 |
+
<tr>
|
875 |
+
<th>
|
876 |
+
since
|
877 |
+
</th>
|
878 |
+
<td>
|
879 |
+
2.50
|
880 |
+
</td>
|
881 |
+
</tr>
|
882 |
+
</table>
|
883 |
+
</aside>
|
884 |
+
</div>
|
885 |
+
|
886 |
+
<div class="row-fluid">
|
887 |
+
<div class="span8 content class">
|
888 |
+
<a id="method_column_rule_name" name="method_column_rule_name" class="anchor"></a>
|
889 |
+
<article class="method">
|
890 |
+
<h3 class="public ">column_rule_name()</h3>
|
891 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
892 |
+
<pre class="signature" style="margin-right: 54px;">column_rule_name( <span class="argument">$item</span>) : string</pre>
|
893 |
+
<p><em>Populate the Bad Name column</em></p>
|
894 |
+
|
895 |
+
|
896 |
+
<h4>Parameters</h4>
|
897 |
+
<table class="table table-condensed table-hover">
|
898 |
+
<tr>
|
899 |
+
<td></td>
|
900 |
+
<td>$item </td>
|
901 |
+
<td></td>
|
902 |
+
</tr>
|
903 |
+
</table>
|
904 |
+
|
905 |
+
|
906 |
+
<h4>Returns</h4>
|
907 |
+
string
|
908 |
+
— <p>HTML markup to be placed inside the column</p>
|
909 |
+
|
910 |
+
</article>
|
911 |
+
</div>
|
912 |
+
<aside class="span4 detailsbar">
|
913 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
914 |
+
<dl>
|
915 |
+
</dl>
|
916 |
+
<h2>Tags</h2>
|
917 |
+
<table class="table table-condensed">
|
918 |
+
<tr>
|
919 |
+
<th>
|
920 |
+
since
|
921 |
+
</th>
|
922 |
+
<td>
|
923 |
+
2.50
|
924 |
+
</td>
|
925 |
+
</tr>
|
926 |
+
</table>
|
927 |
+
</aside>
|
928 |
+
</div>
|
929 |
+
|
930 |
+
<div class="row-fluid">
|
931 |
+
<div class="span8 content class">
|
932 |
+
<a id="method_column_data_source" name="method_column_data_source" class="anchor"></a>
|
933 |
+
<article class="method">
|
934 |
+
<h3 class="public ">column_data_source()</h3>
|
935 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
936 |
+
<pre class="signature" style="margin-right: 54px;">column_data_source( <span class="argument">$item</span>) : string</pre>
|
937 |
+
<p><em>Populate the Source column</em></p>
|
938 |
+
|
939 |
+
|
940 |
+
<h4>Parameters</h4>
|
941 |
+
<table class="table table-condensed table-hover">
|
942 |
+
<tr>
|
943 |
+
<td></td>
|
944 |
+
<td>$item </td>
|
945 |
+
<td></td>
|
946 |
+
</tr>
|
947 |
+
</table>
|
948 |
+
|
949 |
+
|
950 |
+
<h4>Returns</h4>
|
951 |
+
string
|
952 |
+
— <p>HTML markup to be placed inside the column</p>
|
953 |
+
|
954 |
+
</article>
|
955 |
+
</div>
|
956 |
+
<aside class="span4 detailsbar">
|
957 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
958 |
+
<dl>
|
959 |
+
</dl>
|
960 |
+
<h2>Tags</h2>
|
961 |
+
<table class="table table-condensed">
|
962 |
+
<tr>
|
963 |
+
<th>
|
964 |
+
since
|
965 |
+
</th>
|
966 |
+
<td>
|
967 |
+
2.50
|
968 |
+
</td>
|
969 |
+
</tr>
|
970 |
+
</table>
|
971 |
+
</aside>
|
972 |
+
</div>
|
973 |
+
|
974 |
+
<div class="row-fluid">
|
975 |
+
<div class="span8 content class">
|
976 |
+
<a id="method_column_meta_name" name="method_column_meta_name" class="anchor"></a>
|
977 |
+
<article class="method">
|
978 |
+
<h3 class="public ">column_meta_name()</h3>
|
979 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
980 |
+
<pre class="signature" style="margin-right: 54px;">column_meta_name( <span class="argument">$item</span>) : string</pre>
|
981 |
+
<p><em>Populate the Meta/Template column</em></p>
|
982 |
+
|
983 |
+
|
984 |
+
<h4>Parameters</h4>
|
985 |
+
<table class="table table-condensed table-hover">
|
986 |
+
<tr>
|
987 |
+
<td></td>
|
988 |
+
<td>$item </td>
|
989 |
+
<td></td>
|
990 |
+
</tr>
|
991 |
+
</table>
|
992 |
+
|
993 |
+
|
994 |
+
<h4>Returns</h4>
|
995 |
+
string
|
996 |
+
— <p>HTML markup to be placed inside the column</p>
|
997 |
+
|
998 |
+
</article>
|
999 |
+
</div>
|
1000 |
+
<aside class="span4 detailsbar">
|
1001 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
1002 |
+
<dl>
|
1003 |
+
</dl>
|
1004 |
+
<h2>Tags</h2>
|
1005 |
+
<table class="table table-condensed">
|
1006 |
+
<tr>
|
1007 |
+
<th>
|
1008 |
+
since
|
1009 |
+
</th>
|
1010 |
+
<td>
|
1011 |
+
2.50
|
1012 |
+
</td>
|
1013 |
+
</tr>
|
1014 |
+
</table>
|
1015 |
+
</aside>
|
1016 |
+
</div>
|
1017 |
+
|
1018 |
+
<div class="row-fluid">
|
1019 |
+
<div class="span8 content class">
|
1020 |
+
<a id="method_column_visibility" name="method_column_visibility" class="anchor"></a>
|
1021 |
+
<article class="method">
|
1022 |
+
<h3 class="public ">column_visibility()</h3>
|
1023 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1024 |
+
<pre class="signature" style="margin-right: 54px;">column_visibility( <span class="argument">$item</span>) : string</pre>
|
1025 |
+
<p><em>Populate the Visibility column</em></p>
|
1026 |
+
|
1027 |
+
|
1028 |
+
<h4>Parameters</h4>
|
1029 |
+
<table class="table table-condensed table-hover">
|
1030 |
+
<tr>
|
1031 |
+
<td></td>
|
1032 |
+
<td>$item </td>
|
1033 |
+
<td></td>
|
1034 |
+
</tr>
|
1035 |
+
</table>
|
1036 |
+
|
1037 |
+
|
1038 |
+
<h4>Returns</h4>
|
1039 |
+
string
|
1040 |
+
— <p>HTML markup to be placed inside the column</p>
|
1041 |
+
|
1042 |
+
</article>
|
1043 |
+
</div>
|
1044 |
+
<aside class="span4 detailsbar">
|
1045 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
1046 |
+
<dl>
|
1047 |
+
</dl>
|
1048 |
+
<h2>Tags</h2>
|
1049 |
+
<table class="table table-condensed">
|
1050 |
+
<tr>
|
1051 |
+
<th>
|
1052 |
+
since
|
1053 |
+
</th>
|
1054 |
+
<td>
|
1055 |
+
2.50
|
1056 |
+
</td>
|
1057 |
+
</tr>
|
1058 |
+
</table>
|
1059 |
+
</aside>
|
1060 |
+
</div>
|
1061 |
+
|
1062 |
+
<div class="row-fluid">
|
1063 |
+
<div class="span8 content class">
|
1064 |
+
<a id="method_column_status" name="method_column_status" class="anchor"></a>
|
1065 |
+
<article class="method">
|
1066 |
+
<h3 class="public ">column_status()</h3>
|
1067 |
+
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1068 |
+
<pre class="signature" style="margin-right: 54px;">column_status( <span class="argument">$item</span>) : string</pre>
|
1069 |
+
<p><em>Populate the Status column</em></p>
|
1070 |
+
|
1071 |
+
|
1072 |
+
<h4>Parameters</h4>
|
1073 |
+
<table class="table table-condensed table-hover">
|
1074 |
+
<tr>
|
1075 |
+
|