Media Library Assistant - Version 2.50

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 an rtmedia_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 the mla_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 new hierarchical=combine parameter value.
  • New: For [mla_galley], a new tax_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 to wp-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], when mla_option_value="{+slug+}" is present numeric slug values are not confused with term_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/or tax_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 to shpik <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 Icon 128x128 Media Library Assistant
Version 2.50
Comparing to
See all releases

Code changes from version 2.41 to 2.50

Files changed (83) hide show
  1. css/mla-media-modal-style.css +17 -0
  2. css/mla-style-rtl.css +22 -0
  3. css/mla-style.css +55 -3
  4. examples/plugins/buddypress-hooks-example.php +205 -102
  5. examples/plugins/mla-jhdean-mapping-hooks-example.php +385 -65
  6. examples/plugins/mla-parent-category-mapping-example.php +100 -0
  7. examples/plugins/mla-substitution-parameter-hooks-example.php +28 -12
  8. examples/plugins/mla-ui-elements-example.php +202 -100
  9. examples/plugins/woofixit.php +228 -20
  10. includes/class-mla-admin-columns-support-deprecated.php +4 -0
  11. includes/class-mla-admin-columns-support.php +112 -65
  12. includes/class-mla-ajax.php +16 -3
  13. includes/class-mla-core-options.php +2 -2
  14. includes/class-mla-core.php +142 -12
  15. includes/class-mla-data-query.php +2 -1
  16. includes/class-mla-data.php +93 -50
  17. includes/class-mla-file-downloader.php +29 -13
  18. includes/class-mla-list-table.php +4 -3
  19. includes/class-mla-main.php +8 -1
  20. includes/class-mla-mime-types.php +47 -25
  21. includes/class-mla-options.php +36 -27
  22. includes/class-mla-polylang-shortcode-support.php +8 -3
  23. includes/class-mla-polylang-support.php +19 -37
  24. includes/class-mla-settings-custom-fields-tab.php +2289 -217
  25. includes/class-mla-settings-documentation-tab.php +6 -2
  26. includes/class-mla-settings-shortcodes-tab.php +8 -5
  27. includes/class-mla-settings-upload-tab.php +16 -7
  28. includes/class-mla-settings-view-tab.php +10 -5
  29. includes/class-mla-settings.php +31 -14
  30. includes/class-mla-shortcode-support.php +204 -79
  31. includes/class-mla-thumbnail-generation.php +3 -0
  32. includes/mla-main-search-box-template.php +13 -7
  33. includes/mla-plugin-loader.php +10 -4
  34. index.php +3 -3
  35. js/mla-add-new-bulk-edit-scripts.min.js +1 -1
  36. js/mla-inline-edit-scripts.min.js +1 -1
  37. js/{mla-inline-edit-upload-scripts.js → mla-inline-edit-settings-scripts.js} +30 -24
  38. js/mla-inline-edit-settings-scripts.min.js +1 -0
  39. js/mla-inline-edit-upload-scripts.min.js +0 -1
  40. js/mla-inline-edit-view-scripts.js +0 -217
  41. js/mla-inline-edit-view-scripts.min.js +0 -1
  42. js/mla-inline-mapping-scripts.js +54 -2
  43. js/mla-inline-mapping-scripts.min.js +1 -325
  44. languages/media-library-assistant-en_US - References.pot +1453 -1330
  45. languages/media-library-assistant-en_US.po +251 -279
  46. languages/media-library-assistant-en_US.pot +250 -278
  47. phpDocs/classes/AC_Addon_MLA_Editing_Strategy.html +489 -0
  48. phpDocs/classes/AC_Addon_MLA_ListScreen.html +556 -0
  49. phpDocs/classes/CPAC_Deprecated_Storage_Model_MLA.html +8 -5
  50. phpDocs/classes/MLA.html +8 -5
  51. phpDocs/classes/MLACore.html +211 -10
  52. phpDocs/classes/MLACoreOptions.html +8 -5
  53. phpDocs/classes/MLAData.html +8 -5
  54. phpDocs/classes/MLAData_source.html +8 -5
  55. phpDocs/classes/MLAEdit.html +8 -5
  56. phpDocs/classes/MLAFileDownloader.html +8 -5
  57. phpDocs/classes/MLAImageProcessor.html +8 -5
  58. phpDocs/classes/MLAMime.html +51 -5
  59. phpDocs/classes/MLAModal.html +8 -5
  60. phpDocs/classes/MLAModal_Ajax.html +8 -5
  61. phpDocs/classes/MLAMutex.html +8 -5
  62. phpDocs/classes/MLAObjects.html +8 -5
  63. phpDocs/classes/MLAOptions.html +109 -106
  64. phpDocs/classes/MLAPDF.html +8 -5
  65. phpDocs/classes/MLAQuery.html +8 -5
  66. phpDocs/classes/MLAReferences.html +8 -5
  67. phpDocs/classes/MLASettings.html +37 -5
  68. phpDocs/classes/MLASettings_CustomFields.html +367 -10
  69. phpDocs/classes/MLASettings_Documentation.html +8 -5
  70. phpDocs/classes/MLASettings_IPTCEXIF.html +8 -5
  71. phpDocs/classes/MLASettings_Shortcodes.html +8 -5
  72. phpDocs/classes/MLASettings_Upload.html +9 -6
  73. phpDocs/classes/MLASettings_View.html +9 -6
  74. phpDocs/classes/MLAShortcode_Support.html +8 -5
  75. phpDocs/classes/MLAShortcodes.html +8 -5
  76. phpDocs/classes/MLATemplate_Support.html +8 -5
  77. phpDocs/classes/MLATest.html +8 -5
  78. phpDocs/classes/MLATextWidget.html +8 -5
  79. phpDocs/classes/MLAUninstall.html +8 -5
  80. phpDocs/classes/MLA_Ajax.html +49 -7
  81. phpDocs/classes/MLA_Checklist_Walker.html +8 -5
  82. phpDocs/classes/MLA_Custom_Field_Query.html +1166 -0
  83. 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 Uploads 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-view .inline-edit-col-left {
256
- width: 40%
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: 59%
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.06
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.06
40
  Author URI: http://fairtradejudaica.org/our-story/staff/
41
 
42
- Copyright 2013 - 2016 David Lingren
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
- * MLA Gallery (Display) Attributes
101
  *
102
- * This filter gives you an opportunity to record or modify the arguments passed in to the shortcode
103
- * before they are merged with the default arguments used for the gallery display.
104
  *
105
- * The $shortcode_attributes array is where you will find any of your own parameters that are coded in the
106
- * shortcode, e.g., [mla_gallery my_parameter="my value"].
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- // Save the attributes for use in the later filters
133
- self::$shortcode_attributes = $shortcode_attributes;
 
 
 
 
 
 
 
 
 
134
 
135
- //error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  return $shortcode_attributes;
137
  } // mla_gallery_attributes
138
 
139
  /**
140
- * Save some of the WP_Query object properties
141
  *
142
  * @since 1.00
143
  *
144
  * @var array
145
  */
146
- private static $wp_query_properties = array();
147
-
148
  /**
149
- * MLA Gallery WP Query Object
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
- //error_log( 'MLABuddyPressHooksExample::mla_gallery_wp_query_object $query_arguments = ' . var_export( $query_arguments, true ), 0 );
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 == self::$wp_query_properties ['post_count'] ) {
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
- $post_info = array();
201
  if ( is_array( $results ) ) {
202
  foreach ( $results as $value ) {
203
- $post_info[ $value->media_id ] = $value;
204
  }
205
  }
206
-
207
- //error_log( __LINE__ . ' MLABuddyPressHooksExample::mla_gallery_wp_query_object $post_info = ' . var_export( $post_info, true ), 0 );
208
- self::$wp_query_properties ['post_info'] = $post_info;
209
  } // mla_gallery_wp_query_object
210
 
211
  /**
212
- * MLA Gallery The Attachments
 
 
 
213
  *
214
- * If the 'rtmedia' parameter is present, removes items from the attachments array
215
- * unless they are in the 'post_info' array of rtMedia items.
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::$wp_query_properties ['post_info'][ $attachment->ID ] ) ) {
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
- * MLA Gallery Alternate Shortcode Blacklist
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
- //error_log( __LINE__ . ' mla_gallery_alt_shortcode_blacklist blacklist = ' . var_export( $blacklist, true ), 0 );
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
- * MLA Gallery Alternate Shortcode IDs
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::$wp_query_properties ['post_info'][ $attachment->ID ] ) ) {
319
- $ids[] = self::$wp_query_properties ['post_info'][ $attachment->ID ]->id;
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
- * MLA Gallery Item Values
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::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ] ) ) {
431
- $post_info = self::$wp_query_properties ['post_info'][ $item_values['attachment_ID'] ];
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 the Title is replaced by a hyperlink using the IPTC 2#005 Object Name value.
 
 
 
 
 
 
 
 
 
 
6
  *
7
  * @package MLA jhdean Mapping Hooks Example
8
- * @version 1.01
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: Replace Title with hyperlink, for Jeff Dean.
15
  Author: David Lingren
16
- Version: 1.01
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
 
19
- Copyright 2014 - 2015 David Lingren
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
- * MLA Mapping Updates Filter
74
  *
75
- * This filter is called AFTER all mapping rules are applied.
76
- * You can add, change or remove updates for the attachment's
77
- * standard fields, taxonomies and/or custom fields.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  *
79
  * @since 1.00
80
  *
81
- * @param array updates for the attachment's standard fields, taxonomies and/or custom fields
82
- * @param integer post ID to be evaluated
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 updated attachment's updates
88
  */
89
- public static function mla_mapping_updates_filter( $updates, $post_id, $category, $settings, $attachment_metadata ) {
90
- /*
91
- * We are only concerned with Standard Field mapping
92
- */
93
- if ( ! in_array( $category, array( 'iptc_exif_mapping', 'iptc_exif_standard_mapping' ) ) ) {
94
- return $updates;
95
  }
96
 
97
- /*
98
- * If $updates[ 'post_title' ] is set, some mapping rule
99
- * has been set up, so we respect the result. If not,
100
- * use whatever the current Title value is.
101
- */
102
- if ( isset( $updates[ 'post_title' ] ) ) {
103
- $old_value = $updates[ 'post_title' ];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  } else {
105
- $post = get_post( $post_id );
106
- $old_value = $post->post_title;
107
  }
 
 
 
 
 
 
 
 
 
108
 
109
- /*
110
- * Derive the new Title from the IPTC Object Name, if present.
111
- * You can use MLAOptions::mla_get_data_source() to get anything available.
112
- */
113
- $my_setting = array(
114
- 'data_source' => 'template',
115
- 'meta_name' => '([+iptc:2#005+])',
116
- 'option' => 'raw'
117
- );
118
- $object_name = trim( MLAOptions::mla_get_data_source( $post_id, 'single_attachment_mapping', $my_setting, NULL ) );
 
 
 
 
119
 
120
- if ( ! empty( $object_name ) ) {
121
- $object_link = strtolower( str_replace( array( ' ', '-', '_', '.' ), '-', $object_name ) );
122
 
123
- $new_title = sprintf( '<a id="detail-title" target="blank" href="http://www.jhdstaging.jeffreyhdean.com/portfolio/%1$s/"> %2$s </a>', $object_link, $object_name );
124
 
125
- $new_jig_link = sprintf( 'http://www.jeffreyhdean.jhddevelopment.dev/portfolio/%1$s/', $object_link );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
 
127
- if ( $old_value != $new_title ) {
128
- $updates[ 'post_title' ] = $new_title;
129
-
130
- // Create or add to the custom field updates
131
- if ( empty( $updates[ 'custom_updates' ] ) ) {
132
- $updates[ 'custom_updates' ] = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
134
 
135
- $updates[ 'custom_updates' ][ 'jig_image_link' ] = $new_jig_link;
 
 
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>&nbsp;</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>&nbsp;</td><td>JIG link substitution parameter is:</td></tr>' . "\n";
239
+ echo "\t\t" . ' <tr><td>&nbsp;</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>&nbsp;</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>&nbsp;</td><td>Title hyperlink substitution parameters are:</td></tr>' . "\n";
267
+ echo "\t\t" . ' <tr><td>&nbsp;</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>&nbsp;</td><td>- %2$s => IPTC Object Name in plain text format</td></tr>' . "\n";
269
 
270
+ echo "\t\t" . ' <tr><td colspan=2>&nbsp;</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.06
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.06
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
- //error_log( __LINE__ . " MLASubstitutionParameterExample::mla_expand_custom_prefix( {$key}, {$post_id} ) parent = " . var_export( $parent, true ), 0 );
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->$value['value'];
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
- $custom_value = '';
359
  }
360
 
361
  foreach ( $custom_value as $element ) {
362
  $field_value = sanitize_text_field( $element );
363
 
364
  if ( 'array' == $value['option'] ) {
365
- $custom_value[] = $field_value;
366
  } else {
367
- $custom_value .= strlen( $custom_value ) ? ', ' . $field_value : $field_value;
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->$value['value'];
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
- $custom_value = '';
410
  }
411
 
412
  foreach ( $custom_value as $element ) {
413
  $field_value = sanitize_text_field( $element );
414
 
415
  if ( 'array' == $value['option'] ) {
416
- $custom_value[] = $field_value;
417
  } else {
418
- $custom_value .= strlen( $custom_value ) ? ', ' . $field_value : $field_value;
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 selected
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 settings for
12
- * terms search, keyword search, taxonomy queries and posts_per_page when the page is refreshed or
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 do the
16
- * actions in 2. and will also match the taxonomy_slug to a simple taxonomy query (if present) and
17
- * add that query to the taxonomy queries. If the simple query is 'muie-no-terms', it will be ignored.
 
18
  *
19
- * 4. Shortcodes are provided to generate text box controls and retain their settings when the page
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 selected taxonomy
 
28
  *
29
- * 5. With a bit of work you can add a tag cloud that works with these filters. Here's an example you can
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.05
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.05
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 term_list_name parameters from [mla_term_list] to [mla_gallery] for muie_filters
135
  *
136
  * @since 1.05
137
  *
138
- * @var array
139
  */
140
- private static $term_list_names = array();
 
 
 
 
 
 
 
 
 
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
- //error_log( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
 
 
 
151
 
152
- // Multiple dropdowns for the same taxonomy?
153
- if ( !empty( $shortcode_attributes['mla_markup'] ) && 'term-list-named' === $shortcode_attributes['mla_markup'] ) {
154
- $term_list_name = $shortcode_attributes['term_list_name'];
155
- } else {
156
- $term_list_name = false;
157
- }
158
- //error_log( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes $term_list_name = ' . var_export( $term_list_name, true ), 0 );
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
- if ( $term_list_name && !empty( $_REQUEST[ $term_list_name ] ) ) {
176
- $_REQUEST['tax_input'][ $shortcode_attributes['taxonomy'] ][] = $_REQUEST[ $term_list_name ];
177
- self::$term_list_names[ $term_list_name ] = $_REQUEST[ $term_list_name ];
178
- }
 
 
 
 
 
179
 
180
- // If nothing is set for this taxonomy we're done
181
- if ( empty( $_REQUEST['tax_input'] ) || !array_key_exists( $shortcode_attributes['taxonomy'], $_REQUEST['tax_input'] ) ) {
182
- return $shortcode_attributes;
 
 
 
183
  }
 
184
 
185
- $terms = $_REQUEST['tax_input'][ $shortcode_attributes['taxonomy'] ];
186
- //error_log( __LINE__ . ' MLAUIElementsExample::mla_term_list_attributes $terms = ' . var_export( $terms, true ), 0 );
 
187
 
188
- // Check for a dropdown control with "All Terms" selected
189
- if ( empty( $shortcode_attributes['option_all_value'] ) ) {
190
- $option_all = array_search( '0', $terms );
191
- } else {
192
- $option_all = array_search( $shortcode_attributes['option_all_value'], $terms );
193
  }
194
 
195
- if ( false !== $option_all ) {
196
- unset( $terms[ $option_all ] );
197
  }
 
198
 
199
- if ( empty( $shortcode_attributes['option_all_text'] ) ) {
200
- $option_all = array_search( '', $terms );
 
 
 
201
  } else {
202
- $option_all = array_search( sanitize_title( $shortcode_attributes['option_all_text'] ), $terms );
203
  }
204
 
205
- if ( false !== $option_all ) {
206
- unset( $terms[ $option_all ] );
207
- }
208
 
209
- // Pass selected terms to the shortcode
210
- if ( !empty( $terms ) ) {
211
- if ( $term_list_name && !empty( $_REQUEST[ $term_list_name ] ) ) {
212
- $shortcode_attributes[ $shortcode_attributes['mla_item_parameter'] ] = $_REQUEST[ $term_list_name ];
213
  } else {
214
- $shortcode_attributes[ $shortcode_attributes['mla_item_parameter'] ] = implode( ',', $_REQUEST['tax_input'][ $shortcode_attributes['taxonomy'] ] );
215
  }
216
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
217
 
218
- unset( $shortcode_attributes['use_filters'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- //error_log( __LINE__ . ' MLAUIElementsExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
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 term_list_name=] parameter(s)
305
- if ( !empty( self::$term_list_names ) ) {
306
- $muie_filters = array_merge( $muie_filters, self::$term_list_names );
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
- $tax_operator = 'IN';
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
- $tax_operator = $attr_value;
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
- $field = 'term_id';
 
372
  foreach ( $terms as $term ) {
373
- if ( ! is_integer( $term ) ) {
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
- $tax_query .= "array('taxonomy' => '{$taxonomy}' ,'field' => '{$field}','terms' => {$values}, 'operator' => '" . $tax_operator . "'), ";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 a Tools/Woo Fixit submenu with buttons to perform a variety of
 
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 "Woocommerce product category"
66
- * opened on 9/17/2015 by "vnp_nl".
67
- * https://wordpress.org/support/topic/woocommerce-product-category-2/
68
  *
69
  * @package WooCommerce Fixit
70
- * @version 1.28
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: 1.28
79
  Author URI: http://fairtradejudaica.org/our-story/staff/
80
 
81
- Copyright 2014-2015 David Lingren
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 = '1.27';
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
- * The filters are only useful in the admin section; exit if in front-end posts/pages
212
- */
 
213
  if ( !is_admin() )
214
  return;
215
 
216
- //add_action( 'admin_init', 'Woo_Fixit::admin_init_action' );
217
- add_action( 'admin_menu', 'Woo_Fixit::admin_menu_action' );
218
  }
219
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  /**
221
  * Admin Init Action
222
  *
@@ -224,7 +432,7 @@ class Woo_Fixit {
224
  *
225
  * @return void
226
  */
227
- public static function admin_init_action() {
228
  }
229
 
230
  /**
@@ -234,7 +442,7 @@ class Woo_Fixit {
234
  *
235
  * @return void
236
  */
237
- public static function admin_menu_action( ) {
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 ( isset( $value['_product_image_gallery'] ) ) {
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 ( isset( $value['_product_image_gallery'] ) ) {
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 ( isset( $value['_product_image_gallery'] ) ) {
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.22
7
  */
8
  defined( 'ABSPATH' ) or die();
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  /**
11
- * Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin
12
  *
13
  * @package Media Library Assistant
14
- * @since 2.22
15
  */
16
- class CPAC_Storage_Model_MLA extends AC_StorageModel_Media {
17
 
18
  /**
19
- * Calls the parent function to set some default configs,
20
- * then initializes some MLA-specific properties.
21
  *
22
- * @since 2.22
23
  */
24
- public function init() {
25
- parent::init();
 
26
 
27
- $this->key = 'mla-media-assistant';
28
- $this->label = __( 'Media Library Assistant' );
29
- $this->singular_label = __( 'Assistant' );
30
- $this->screen = 'media_page_' . MLACore::ADMIN_PAGE_SLUG;
31
- $this->subpage = MLACore::ADMIN_PAGE_SLUG;
32
 
 
 
33
  }
34
 
35
  /**
36
- * Sets an MLA filter to handle custom column display.
37
  *
38
- * @since 2.22
39
  */
40
- public function init_manage_value() {
41
- add_filter( 'mla_list_table_column_default', array( $this, 'mla_manage_value' ), 100, 3 );
 
42
  }
43
 
44
  /**
45
- * Returns the Media/Assistant sub menu table column slugs/keys
46
  *
47
- * @since 2.22
48
  *
49
- * @return array ( index => 'column_slug' )
50
  */
51
- public function get_default_column_names() {
52
  if ( ! class_exists( 'MLAQuery' ) ) {
 
53
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-data-query.php' );
54
  MLAQuery::initialize();
55
  }
 
 
56
 
57
- return array_keys( apply_filters( 'mla_list_table_get_columns', MLAQuery::$default_columns ) );
58
  }
59
 
60
  /**
61
- * Returns the custom fields assigned to Media Library items, removing those already present
62
- * in the Media/Assistant submenu table
63
  *
64
- * @since 2.22
 
 
65
  *
66
- * @return array ( index => array( 0 => 'custom field name' ) )
67
  */
68
- public function get_meta() {
69
- global $wpdb;
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
- return $meta;
 
97
  }
98
 
 
99
  /**
100
- * Return the content of an Admin Columns custom column
101
- *
102
- * @since 2.22
103
  *
104
- * @param string $content Current column content (empty string)
105
- * @param object $item Current Media Library item
106
- * @param string $column_name Current column slug
107
  *
108
- * @return string Column value or NULL if not an Admin Columns custom column
109
  */
110
- public function mla_manage_value( $content, $item, $column_name ) {
111
- $value = $this->get_display_value_by_column_name( $column_name, $item->ID );
 
112
 
113
- return $value ? $value : $content;
 
 
 
 
114
  }
115
- } // class CPAC_Storage_Model_MLA
 
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
- //error_log( __LINE__ . ' DEBUG: MLA_Ajax::mla_admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
 
 
35
  if ( $_REQUEST['action'] !== 'heartbeat' ) {
36
- //error_log( __LINE__ . ' DEBUG: MLA_Ajax::mla_admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
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' => __( 'Check this option to enable mapping when uploading new media (attachments).<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change this option.<br>&nbsp;&nbsp;Does NOT affect the operation of the "Map" buttons on the bulk edit, single edit and settings screens.', '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' => __( 'Check this option to enable mapping when media (attachments) metadata is regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media "Edit Image" functions are used.', 'media-library-assistant' )),
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.41';
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 admin_columns_support( $storage_models, $cpac ) {
1574
- // Check for the correct Storage model
1575
- if( class_exists( 'AC_StorageModel_Media', false ) ) {
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::admin_columns_support', 10, 2 );
 
 
 
 
 
 
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 ), 3 ) . $mb_suffix;
810
  } elseif ( $threshold < $number ) {
811
- $value = number_format( ( $number/1024 ), 3 ) . $kb_suffix;
812
  } else {
813
  $value = number_format( $number );
814
  }
@@ -984,7 +986,9 @@ class MLAData {
984
  }
985
  }
986
 
987
- if ( is_scalar( $record ) ) {
 
 
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( '/\[\+([^:]+):(.+)\+\]/', $match, $matches );
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
- if ( is_array( $tags ) ) // array of int = hierarchical, comma-delimited string = non-hierarchical.
3874
- $tags = array_filter( $tags );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3875
 
3876
- switch ( $tax_action ) {
3877
- case 'add':
3878
- if ( ! empty( $tags ) ) {
3879
- $action_name = __( 'Adding', 'media-library-assistant' );
3880
- $result = wp_set_post_terms( $post_id, $tags, $taxonomy, true );
3881
- }
3882
- break;
3883
- case 'remove':
3884
- $action_name = __( 'Removing', 'media-library-assistant' );
3885
- $tags = self::_remove_terms( $post_id, $tags, $taxonomy_obj );
3886
- $result = wp_set_post_terms( $post_id, $tags, $taxonomy );
 
 
 
 
 
 
 
 
 
 
 
 
3887
 
3888
- if ( empty( $tags ) ) {
3889
- $result = true;
3890
- }
3891
- break;
3892
- case 'replace':
3893
- $action_name = __( 'Replacing', 'media-library-assistant' );
3894
- $result = wp_set_post_terms( $post_id, $tags, $taxonomy );
 
 
 
 
3895
 
3896
- if ( empty( $tags ) ) {
3897
- $result = true;
3898
- }
3899
- break;
3900
- default:
3901
- $action_name = __( 'Ignoring', 'media-library-assistant' );
3902
- $result = NULL;
3903
- // ignore anything else
3904
- }
3905
 
3906
- /*
3907
- * Definitive results check would use:
3908
- * do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids );
3909
- * in /wp_includes/taxonomy.php function wp_set_object_terms()
3910
- */
3911
- if ( ! empty( $result ) ) {
3912
- delete_transient( MLA_OPTION_PREFIX . 't_term_counts_' . $taxonomy );
3913
- /* translators: 1: action_name, 2: taxonomy */
3914
- $message .= sprintf( __( '%1$s "%2$s" terms', 'media-library-assistant' ) . '<br>', $action_name, $taxonomy );
3915
- }
3916
- } else { // current_user_can
3917
- /* translators: 1: taxonomy */
3918
- $message .= sprintf( __( 'You cannot assign "%1$s" terms', 'media-library-assistant' ) . '<br>', $taxonomy );
 
 
 
 
 
 
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 string current list of hidden columns, if any
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 = 'mla_debug $wp_filter[set-screen-option] priority = ' . var_export( $priority, true ) . '<br />';
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
- $found = false !== stripos( $slug, $keyword );
1465
- $found |= false !== stripos( $value['mime_type'], $keyword );
1466
- $found |= false !== stripos( $value['icon_type'], $keyword );
1467
- $found |= false !== stripos( $value['core_type'], $keyword );
1468
- $found |= false !== stripos( $value['mla_type'], $keyword );
1469
- $found |= false !== stripos( $value['core_icon_type'], $keyword );
1470
- $found |= false !== stripos( $value['description'], $keyword );
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
- * Make sure it's really custom
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::_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,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
- private static function _compose_custom_field_option_list( $selection = 'none', $blacklist = array() ) {
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
- } // _compose_custom_field_option_list
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
- private static function _compose_data_source_option_list( $selection = 'none' ) {
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
- } // _compose_data_source_option_list
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::_compose_data_source_option_list( $current_value['data_source'] ),
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::_compose_custom_field_option_list( 'none', $current_values ),
1335
- 'data_source_options' => MLAOptions::_compose_data_source_option_list( 'none' ),
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::_compose_data_source_option_list( 'none' ),
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
- $post_term = term_exists( $term_name, $taxonomy, $term_parent );
1496
- if ( $post_term !== 0 && $post_term !== NULL ) {
1497
- $term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
1498
- return $post_term['term_id'];
 
 
 
 
 
 
 
 
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::_compose_custom_field_option_list( 'none', $current_values['custom'] ),
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
- * Defined in /media-library-assistant/includes/class-mla-shortcode-support.php
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
- * Defined in /wp-admin/admin.php
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 script variables
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' => false,
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 array | NULL specific custom_field_mapping values
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
- * Add mapping options
100
  */
101
- $new_values = ( isset( $_REQUEST['custom_field_mapping'] ) ) ? $_REQUEST['custom_field_mapping'] : array();
 
 
 
 
 
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 1.10
120
  * @uses $_REQUEST if passed a NULL parameter
121
  *
122
- * @param array | NULL specific custom_field_mapping values
123
- * @param integer offset for chunk mapping
124
- * @param integer length for chunk mapping
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 = ( isset( $_REQUEST['custom_field_mapping'] ) ) ? stripslashes_deep( $_REQUEST['custom_field_mapping'] ) : array();
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
- * Check for action or submit buttons.
204
- * Initialize page messages and content.
205
- */
206
- if ( isset( $_REQUEST['custom_field_mapping'] ) && is_array( $_REQUEST['custom_field_mapping'] ) ) {
 
 
 
 
 
 
 
 
 
207
  check_admin_referer( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
 
 
 
 
 
 
 
 
 
 
208
 
209
- /*
210
- * Check for page-level submit buttons to change settings or map attachments.
211
- * Initialize page messages and content.
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
- * Check for single-rule action buttons
225
- */
226
- foreach ( $_REQUEST['custom_field_mapping'] as $key => $value ) {
227
- $value = stripslashes_deep( $value );
228
-
229
- if ( isset( $value['action'] ) ) {
230
- $settings = array( $key => $value );
231
- foreach ( $value['action'] as $action => $label ) {
232
- switch( $action ) {
233
- case 'delete_field':
234
- $delete_result = MLASettings::mla_delete_custom_field( $value );
235
- case 'delete_rule':
236
- case 'add_rule':
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 'map_now':
245
- $page_content = self::_process_custom_field_mapping( $settings );
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>&nbsp;<br>' . $map_content['message'];
255
- }
256
  break;
257
  default:
258
- // ignore everything else
259
- } //switch action
260
- } // foreach action
261
- } /// isset action
262
- } // foreach rule
263
- } // specific rule check
264
- } // isset custom_field_mapping
265
- else {
266
- $page_content = array(
267
- 'message' => '',
268
- 'body' => ''
269
- );
270
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
271
 
272
  if ( !empty( $page_content['body'] ) ) {
273
  return $page_content;
274
  }
275
 
276
- $page_template_array = MLACore::mla_load_template( 'admin-display-settings-custom-fields-tab.tpl' );
277
- if ( ! is_array( $page_template_array ) ) {
278
- /* translators: 1: ERROR tag 2: function name 3: non-array value */
279
- $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_custom_field_tab', var_export( $page_template_array, true ) );
280
- return $page_content;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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' => sprintf( __( '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. See the %1$s section of the Documentation for details.', 'media-library-assistant' ), '<a href="[+settingsURL+]?page=mla-settings-menu-documentation&amp;mla_tab=documentation#attachment_metadata_mapping" title="' . __( 'Updating Attachment Metadata Documentation', 'media-library-assistant' ) . '">' . __( 'Adding or changing Attachment Metadata', 'media-library-assistant' ) . '</a>' ),
305
  /* translators: 1: Documentation hyperlink */
306
- 'You can find' => sprintf( __( 'You can find more information about using the controls in this tab to define mapping rules and apply them in the %1$s section of the Documentation.', 'media-library-assistant' ), '<a href="[+settingsURL+]?page=mla-settings-menu-documentation&amp;mla_tab=documentation#mla_custom_field_mapping" title="' . __( 'Custom Field Options documentation', 'media-library-assistant' ) . '">' . __( 'Custom Field and Attachment Metadata Processing Options', 'media-library-assistant' ) . '</a>' ),
307
  'settingsURL' => admin_url('options-general.php'),
308
- 'form_url' => admin_url( 'options-general.php' ) . '?page=mla-settings-menu-custom_field&mla_tab=custom_field',
309
- 'options_list' => '',
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
- '_wp_http_referer' => wp_referer_field( false )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- $page_values['options_list'] = $options_list;
 
 
 
 
 
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
- * Convert the ajax bulk_action back to the older Submit button equivalent
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
- if ( isset( $_REQUEST['custom_field_mapping'] ) && is_array( $_REQUEST['custom_field_mapping'] ) ) {
374
- /*
375
- * Find the current chunk
376
- */
377
- $offset = isset( $_REQUEST['offset'] ) ? $_REQUEST['offset'] : 0;
378
- $length = isset( $_REQUEST['length'] ) ? $_REQUEST['length'] : 0;
 
379
 
380
- /*
381
- * Check for page-level submit button to map attachments.
382
- */
383
- if ( !empty( $_REQUEST['custom-field-options-map'] ) ) {
384
- $page_content = self::_process_custom_field_mapping( NULL, $offset, $length );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385
  } else {
386
- $page_content = array(
387
- 'message' => '',
388
- 'body' => '',
389
- 'processed' => 0,
390
- 'unchanged' => 0,
391
- 'success' => 0
392
- );
393
-
394
- /*
395
- * Check for single-rule action buttons
396
- */
397
- foreach ( $_REQUEST['custom_field_mapping'] as $key => $value ) {
398
- $value = stripslashes_deep( $value );
399
-
400
- if ( isset( $value['action'] ) ) {
401
- $settings = array( $key => $value );
402
- foreach ( $value['action'] as $action => $label ) {
403
- switch( $action ) {
404
- case 'map_now':
405
- $page_content = self::_process_custom_field_mapping( $settings, $offset, $length );
406
- break;
407
- case 'add_rule_map':
408
- if ( 'none' == $value['name'] ) {
409
- $page_content['message'] = __( 'Custom field no mapping rule changes detected.', 'media-library-assistant' );
410
- break;
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>&nbsp;<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' ) . ':&nbsp;</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-menucolumnshidden'
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
- return $result ? $result : self::_default_hidden_columns();
 
 
 
 
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-examplecolumnshidden'
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-menucolumnshidden'
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
- return $result ? $result : self::_default_hidden_columns();
 
 
 
 
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 'all'.
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 = 'mla_inline_edit_upload_vars';
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-upload-scripts{$suffix}.js",
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 and bulk edit)
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-menucolumnshidden'
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
- return $result ? $result : self::_default_hidden_columns();
 
 
 
 
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-menucolumnshidden'
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
- return $result ? $result : self::_default_hidden_columns();
 
 
 
 
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 = 'mla_inline_edit_view_vars';
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-view-scripts{$suffix}.js",
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 and bulk edit)
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-menucolumnshidden'
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
- return $result ? $result : self::_default_hidden_columns();
 
 
 
 
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 = 'mla_errors';
 
1457
  } else {
1458
- $messages_class = 'mla_messages';
 
1459
  }
1460
 
1461
  $page_values['messages'] = MLAData::mla_parse_template( self::$page_template_array['messages'], array(
 
1462
  'messages' => $page_content['message'],
1463
- 'mla_messages_class' => $messages_class
 
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 attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
1890
- MLACore::mla_debug_add( '<strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
 
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 = !empty( $arguments['hierarchical'] ) && ( 'true' == strtolower( $arguments['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
- if ( is_integer( $current_item ) ) {
2793
- if ( $current_item == $term->term_id ) {
 
 
 
 
 
 
 
 
 
 
2794
  $item_values['current_item_class'] = $arguments['current_item_class'];
2795
  break;
2796
  }
2797
  } else {
2798
- if ( $current_item == $term->slug ) {
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$d" title="%6$s" style="%7$s">%8$s</a>', $link_attributes, $item_values['page_url'], $current_item_delimiter, $mla_item_parameter, $item_values['term_id'], $item_values['rollover_text'], '', $item_values['link_text'] );
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 attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
3233
- MLACore::mla_debug_add( '<strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
 
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 = !empty( $arguments['hierarchical'] ) && ( 'true' == strtolower( $arguments['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' => $arguments['option_none_value'],
3418
  'name' => $arguments['option_none_text'],
3419
- 'slug' => sanitize_title( $arguments['option_none_text'] ),
3420
  'term_group' => '0',
3421
- 'term_taxonomy_id' => $arguments['option_none_value'],
3422
- 'taxonomy' => current( $arguments['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
- } /* tax_query */ elseif ( array_key_exists( $key, $all_taxonomies ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- <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' )?>&nbsp;
47
- <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' )?>&nbsp;
48
- <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' )?>&nbsp;
49
- <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' )?>&nbsp;
50
- <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' )?>&nbsp;
51
- <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' )?>&nbsp;
52
- <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>
 
 
 
 
 
 
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' ); ?>&nbsp;
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' )?>&nbsp;</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' )?>&nbsp;</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' )?>&nbsp;</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' )?>&nbsp;</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' )?>&nbsp;</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' )?>&nbsp;</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' ); ?>&nbsp;
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
- $ajax_exceptions = array_merge( $ajax_exceptions, explode( ',', MLA_AJAX_EXCEPTIONS ) );
 
 
 
 
114
  }
115
 
116
- $ajax_only = true;
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.40
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 & quick edit actions and where-used reporting.
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
- Version: 2.41
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")},};a(document).ready(function(){mla.addNewBulkEdit.init()})})(jQuery);
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, inlineEditUpload, mla_inline_edit_upload_vars;
4
 
5
  (function($) {
6
- inlineEditUpload = {
7
 
8
  init : function(){
9
  var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit');
10
 
11
- t.type = 'upload';
12
- t.what = '#upload-';
13
 
14
  // prepare the edit rows
15
  qeRow.keyup(function(e){
16
  if (e.which == 27)
17
- return inlineEditUpload.revert();
18
  });
19
  bulkRow.keyup(function(e){
20
  if (e.which == 27)
21
- return inlineEditUpload.revert();
22
  });
23
 
24
  $('a.cancel', qeRow).click(function(){
25
- return inlineEditUpload.revert();
26
  });
27
  $('a.save', qeRow).click(function(){
28
- return inlineEditUpload.save(this);
29
  });
30
  $('td', qeRow).keydown(function(e){
31
  if ( e.which == 13 )
32
- return inlineEditUpload.save(this);
33
  });
34
 
35
  $('a.cancel', bulkRow).click(function(){
36
- return inlineEditUpload.revert();
37
  });
38
 
39
  // add events
40
  $('a.editinline').live('click', function(){
41
- inlineEditUpload.edit(this);
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() || mla_inline_edit_upload_vars.notitle;
80
- te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+mla_inline_edit_upload_vars.ntdeltitle+'">X</a>'+theTitle+'</div>';
81
  }
82
  });
83
 
@@ -102,8 +102,8 @@ inlineEditUpload = {
102
  if ( typeof(id) == 'object' )
103
  id = t.getId(id);
104
 
105
- fields = mla_inline_edit_upload_vars.fields;
106
- checkboxes = mla_inline_edit_upload_vars.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 ( mla_inline_edit_upload_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_upload_vars.ajax_action,
151
- mla_admin_nonce: mla_inline_edit_upload_vars.ajax_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 ( mla_inline_edit_upload_vars.useSpinnerClass ) {
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
- $(inlineEditUpload.what+id).remove();
170
  $('#edit-'+id).before(r).remove();
171
- $(inlineEditUpload.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_upload_vars.error).show();
178
  }
179
  }, 'html');
180
  return false;
@@ -191,7 +197,7 @@ inlineEditUpload = {
191
  $('#bulk-titles').html('');
192
  $('#inlineedit').append( $('#bulk-edit') );
193
  } else {
194
- if ( mla_inline_edit_upload_vars.useSpinnerClass ) {
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(){inlineEditUpload.init();});
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 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
 
@@ -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
- /* global ajaxurl */
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: 2016-11-29 19:01-0800\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,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.4\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,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:28
27
- #: includes/class-mla-core-options.php:533 includes/class-mla-settings.php:404
28
- #: includes/class-mla-settings.php:1403 includes/class-mla-settings.php:1423
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:29
36
  #: includes/class-mla-core-options.php:542
37
  msgid "Assistant"
38
  msgstr ""
39
 
40
- #. translators: 1: ERROR tag 2: path and file name
41
- #: includes/backup-class-mla-core.php:727 includes/class-mla-core.php:733
42
- #, php-format
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:46
212
  #: includes/mla-media-modal-js-template.php:40
213
  msgid "Title"
214
  msgstr ""
215
 
216
- #: includes/class-mla-ajax.php:167 includes/class-mla-main.php:1775
217
- #: includes/class-mla-thumbnail-generation.php:532
218
  msgid "Type"
219
  msgstr ""
220
 
221
- #: includes/class-mla-ajax.php:167 includes/class-mla-main.php:1776
222
  msgid "Date"
223
  msgstr ""
224
 
225
- #: includes/class-mla-ajax.php:167 includes/class-mla-main.php:1777
226
- #: includes/class-mla-settings-upload-tab.php:551
 
 
227
  msgid "Status"
228
  msgstr ""
229
 
230
- #: includes/class-mla-ajax.php:171 includes/class-mla-list-table.php:844
231
- #: includes/class-mla-list-table.php:965 includes/class-mla-main.php:379
232
- #: includes/class-mla-polylang-support.php:377
233
  #: includes/class-mla-thumbnail-generation.php:97
234
  msgid "(no title)"
235
  msgstr ""
236
 
237
- #: includes/class-mla-ajax.php:177
238
  msgid "Published"
239
  msgstr ""
240
 
241
- #: includes/class-mla-ajax.php:180 includes/class-mla-edit-media.php:817
242
- #: includes/class-mla-list-table.php:611
243
  msgid "Scheduled"
244
  msgstr ""
245
 
246
- #: includes/class-mla-ajax.php:183
247
  msgid "Pending Review"
248
  msgstr ""
249
 
250
- #: includes/class-mla-ajax.php:186 includes/class-mla-edit-media.php:823
251
- #: includes/class-mla-list-table.php:608
252
  msgid "Draft"
253
  msgstr ""
254
 
255
- #. translators: date format in table columns, see http://php.net/date
256
- #. translators: format for upload/last modified date
257
- #: includes/class-mla-ajax.php:196 includes/class-mla-list-table.php:1374
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:225 includes/class-mla-main.php:1594
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  msgid "No post ID found"
265
  msgstr ""
266
 
267
- #: includes/class-mla-ajax.php:232 includes/class-mla-main.php:1601
268
- #: includes/class-mla-polylang-support.php:274
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:1010
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:1071
319
- #: includes/class-mla-list-table.php:1116
320
- #: includes/class-mla-list-table.php:1166
321
- #: includes/class-mla-list-table.php:1211
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:1513
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:1994
358
- #: includes/class-mla-settings-custom-fields-tab.php:294
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:1523
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:1010
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:1041
433
- #: includes/class-mla-settings.php:1042 includes/class-mla-settings.php:1043
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:1041
439
- #: includes/class-mla-settings.php:1042 includes/class-mla-settings.php:1043
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:485 includes/class-mla-list-table.php:1324
542
- #: includes/class-mla-settings-shortcodes-tab.php:636
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:1092
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:479
897
- #: includes/class-mla-thumbnail-generation.php:543
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:1012
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
- msgid ""
1084
- "Check this option to enable mapping when uploading new media (attachments)."
1085
- "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
1086
- "this option.<br>&nbsp;&nbsp;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>&nbsp;&nbsp;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:3661
1156
- #: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:1965
1157
  msgid "Name/Slug"
1158
  msgstr ""
1159
 
1160
- #: includes/class-mla-core-options.php:1134 includes/class-mla-data.php:3703
1161
- #: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:1266
1162
- #: includes/class-mla-main.php:1968 includes/class-mla-options.php:457
1163
- #: includes/mla-main-search-box-template.php:48
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:3716
1169
- #: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:1966
1170
  #: includes/class-mla-options.php:460
1171
- #: includes/mla-main-search-box-template.php:49
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:3725
1177
- #: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:1967
1178
  #: includes/class-mla-options.php:463
1179
- #: includes/class-mla-settings-upload-tab.php:173
1180
- #: includes/class-mla-settings-upload-tab.php:541
1181
- #: includes/class-mla-settings-view-tab.php:131
1182
- #: includes/class-mla-settings-view-tab.php:387
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:50
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:1614
1210
- #: includes/class-mla-settings-documentation-tab.php:1580
1211
- #: includes/class-mla-settings-shortcodes-tab.php:2010
 
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:1615
1218
- #: includes/class-mla-settings-documentation-tab.php:1581
1219
- #: includes/class-mla-settings-shortcodes-tab.php:2011
 
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:1480
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
- #. translators: 1: ERROR tag 2: index
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-documentation-tab.php:518
1464
- #: includes/class-mla-settings-shortcodes-tab.php:963
 
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:529
1510
- #: includes/class-mla-mime-types.php:604 includes/class-mla-mime-types.php:685
1511
- #: includes/class-mla-settings-documentation-tab.php:521
1512
- #: includes/class-mla-settings-shortcodes-tab.php:966
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:521
1518
- #: includes/class-mla-mime-types.php:601
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:1760 includes/class-mla-main.php:1835
1556
- #: includes/class-mla-media-modal.php:575 includes/class-mla-mime-types.php:725
1557
- #: includes/class-mla-mime-types.php:1378
1558
- #: includes/class-mla-mime-types.php:2578
1559
- #: includes/class-mla-settings-custom-fields-tab.php:279
 
1560
  #: includes/class-mla-settings-documentation-tab.php:297
1561
- #: includes/class-mla-settings-documentation-tab.php:1301
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:1657
1565
- #: includes/class-mla-settings-upload-tab.php:300
1566
- #: includes/class-mla-settings-view-tab.php:165
1567
  #, php-format
1568
  msgctxt "error_log"
1569
  msgid "%1$s: %2$s non-array \"%3$s\""
1570
  msgstr ""
1571
 
1572
- #. translators: 1: DEBUG tag 2: query filter details
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:1137
1580
- #: includes/class-mla-data-query.php:1152
1581
- #: includes/class-mla-data-query.php:1154
1582
- #: includes/class-mla-data-query.php:1676
1583
- #: includes/class-mla-data-query.php:1748
1584
- #: includes/class-mla-data-query.php:1820
1585
- #: includes/class-mla-data-query.php:1917
1586
- #: includes/class-mla-data-query.php:2009
1587
- #: includes/class-mla-data-query.php:2028
1588
  msgid "DEBUG"
1589
  msgstr ""
1590
 
1591
- #. translators: 1: DEBUG tag 2: query details
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
- #. translators: 1: DEBUG tag 2: SQL statement
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
- #. translators: 1: DEBUG tag 2: search filter details
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
- #. translators: 1: DEBUG tag 2: where filter details
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
- #. translators: 1: DEBUG tag 2: join filter details
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
- #. translators: 1: DEBUG tag 2: orderby details details
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
- #. translators: 1: DEBUG tag 2: SQL clauses
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
- #. translators: 1: DEBUG tag 2: SQL clauses
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:991
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
- #. translators: 1: ERROR tag 2: template excerpt
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
- #. translators: 1: ERROR tag 2: post ID
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
- #. translators: 1: ERROR tag 2: post ID 3: post_type
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:1855
1753
  msgctxt "error_log"
1754
  msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
1755
  msgstr ""
1756
 
1757
- #: includes/class-mla-data.php:1859
1758
  msgctxt "error_log"
1759
  msgid "mla_parse_xmp_metadata set option failed."
1760
  msgstr ""
1761
 
1762
- #: includes/class-mla-data.php:3129
1763
- #: includes/class-mla-settings-view-tab.php:397
1764
- #: includes/class-mla-settings-view-tab.php:794
1765
- #: includes/class-mla-settings-view-tab.php:810
 
 
1766
  #: includes/class-mla-wpml-support.php:1528
1767
  msgid "Yes"
1768
  msgstr ""
1769
 
1770
- #: includes/class-mla-data.php:3131 includes/class-mla-list-table.php:218
1771
- #: includes/class-mla-settings-view-tab.php:396
1772
- #: includes/class-mla-settings-view-tab.php:796
1773
- #: includes/class-mla-settings-view-tab.php:812
 
 
1774
  #: includes/class-mla-wpml-support.php:1529
1775
  msgid "No"
1776
  msgstr ""
1777
 
1778
- #. translators: 1: meta_key
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
- #. translators: 1: ERROR tag 2: meta_key
1785
- #: includes/class-mla-data.php:3382
1786
  #, php-format
1787
  msgid "%1$s: meta:%2$s not found"
1788
  msgstr ""
1789
 
1790
- #. translators: 1: meta_key 2: meta_value
1791
- #. translators: 1: meta_key 2: new_value
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
- #. translators: 1: ERROR tag 2: meta_key
1800
- #: includes/class-mla-data.php:3395
1801
  #, php-format
1802
  msgid "%1$s: Adding meta:%2$s; not found"
1803
  msgstr ""
1804
 
1805
- #. translators: 1: meta_key
1806
- #: includes/class-mla-data.php:3402
1807
  #, php-format
1808
  msgid "Deleting Null meta:%1$s"
1809
  msgstr ""
1810
 
1811
- #. translators: 1: element name 2: old_value 3: new_value
1812
- #: includes/class-mla-data.php:3412 includes/class-mla-data.php:3569
1813
- #: includes/class-mla-data.php:3635 includes/class-mla-data.php:3661
1814
- #: includes/class-mla-data.php:3703 includes/class-mla-data.php:3716
1815
- #: includes/class-mla-data.php:3725 includes/class-mla-data.php:3736
1816
- #: includes/class-mla-data.php:3747 includes/class-mla-data.php:3760
1817
- #: includes/class-mla-data.php:3769 includes/class-mla-data.php:3778
1818
- #: includes/class-mla-mime-types.php:1212
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
- #. translators: 1: ERROR tag 2: meta_key
1825
- #: includes/class-mla-data.php:3417
1826
  #, php-format
1827
  msgid "%1$s: Changing meta:%2$s; not found"
1828
  msgstr ""
1829
 
1830
- #. translators: 1: meta_key
1831
- #: includes/class-mla-data.php:3524
1832
  #, php-format
1833
  msgid "Deleting old %1$s values"
1834
  msgstr ""
1835
 
1836
- #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
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:3612
1843
  msgid "Could not retrieve Attachment."
1844
  msgstr ""
1845
 
1846
- #. translators: 1: ERROR tag 2: old_value
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
- #. translators: 1: old_value
1853
- #: includes/class-mla-data.php:3687
1854
  #, php-format
1855
  msgid "Deleting ALT Text, was \"%1$s\""
1856
  msgstr ""
1857
 
1858
- #. translators: 1: ERROR tag 2: old_value
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
- #. translators: 1: ERROR tag 2: old_value 3: new_value
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:3736 includes/class-mla-list-table.php:968
1871
- #: includes/class-mla-list-table.php:971 includes/class-mla-list-table.php:974
1872
- #: includes/class-mla-list-table.php:1042 includes/class-mla-options.php:2211
1873
- #: includes/class-mla-options.php:2593
1874
  msgid "Parent"
1875
  msgstr ""
1876
 
1877
- #: includes/class-mla-data.php:3747 includes/class-mla-edit-media.php:655
1878
- #: includes/class-mla-edit-media.php:858 includes/class-mla-main.php:1971
1879
- #: includes/class-mla-settings-view-tab.php:129
1880
- #: includes/class-mla-settings-view-tab.php:385
1881
  msgid "Menu Order"
1882
  msgstr ""
1883
 
1884
- #: includes/class-mla-data.php:3760 includes/class-mla-edit-media.php:395
1885
- #: includes/class-mla-list-table.php:1422
1886
- #: includes/class-mla-list-table.php:1425 includes/class-mla-main.php:1841
1887
- #: includes/class-mla-main.php:1943
1888
  msgid "Author"
1889
  msgstr ""
1890
 
1891
- #: includes/class-mla-data.php:3769 includes/class-mla-edit-media.php:420
1892
- #: includes/class-mla-main.php:1983
1893
  msgid "Comments"
1894
  msgstr ""
1895
 
1896
- #: includes/class-mla-data.php:3778 includes/class-mla-edit-media.php:421
1897
- #: includes/class-mla-main.php:1984
1898
  msgid "Pings"
1899
  msgstr ""
1900
 
1901
- #: includes/class-mla-data.php:3810
 
 
 
 
 
 
 
 
 
 
1902
  msgid "Adding"
1903
  msgstr ""
1904
 
1905
- #: includes/class-mla-data.php:3815
1906
  msgid "Removing"
1907
  msgstr ""
1908
 
1909
- #: includes/class-mla-data.php:3824
1910
  msgid "Replacing"
1911
  msgstr ""
1912
 
1913
- #: includes/class-mla-data.php:3832
1914
  msgid "Ignoring"
1915
  msgstr ""
1916
 
1917
- #. translators: 1: action_name, 2: taxonomy
1918
- #: includes/class-mla-data.php:3845
1919
  #, php-format
1920
  msgid "%1$s \"%2$s\" terms"
1921
  msgstr ""
1922
 
1923
- #. translators: 1: taxonomy
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
- #. translators: 1: post ID
1936
- #: includes/class-mla-data.php:3882
1937
  #, php-format
1938
  msgid "Item %1$d updated."
1939
  msgstr ""
1940
 
1941
- #. translators: 1: ERROR tag 2: post ID
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:388
1949
- #: includes/class-mla-main.php:924 includes/class-mla-main.php:1651
1950
- #: includes/class-mla-media-modal.php:236 includes/class-mla-options.php:1724
1951
- #: includes/class-mla-polylang-support.php:381
1952
- #: includes/class-mla-settings-custom-fields-tab.php:39
 
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:375
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:376
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:1876
1984
  msgid "more"
1985
  msgstr ""
1986
 
1987
- #: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:1877
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:1880 includes/class-mla-main.php:1918
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:1881 includes/class-mla-main.php:1919
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:1882 includes/class-mla-main.php:1920
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:2478
2005
- #: includes/class-mla-options.php:2532 includes/class-mla-options.php:2652
2006
- #: includes/class-mla-options.php:2747 includes/class-mla-options.php:2793
 
 
 
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:1977
2017
- #: includes/class-mla-settings.php:1351
2018
  msgid "Reset"
2019
  msgstr ""
2020
 
2021
- #: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:1985
2022
- #: includes/class-mla-main.php:2031
2023
- #: includes/class-mla-settings-upload-tab.php:121
2024
- #: includes/class-mla-settings-upload-tab.php:552
2025
- #: includes/class-mla-settings-view-tab.php:395
 
2026
  msgid "No Change"
2027
  msgstr ""
2028
 
2029
- #: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:1986
2030
  msgid "Allow"
2031
  msgstr ""
2032
 
2033
- #: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:1987
2034
  msgid "Do not allow"
2035
  msgstr ""
2036
 
2037
- #: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:968
2038
- #: includes/class-mla-list-table.php:1039 includes/class-mla-main.php:1969
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:1970
2044
- #: includes/class-mla-settings-upload-tab.php:1473
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:1562
2070
- #: includes/class-mla-main.php:1990
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:1565
2079
- #: includes/class-mla-main.php:1989
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:608 includes/class-mla-settings.php:542
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:614
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:1765
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:1089
2115
- #: includes/class-mla-list-table.php:1138
2116
- #: includes/class-mla-list-table.php:1184
2117
- #: includes/class-mla-list-table.php:1229
2118
  msgid "PARENT"
2119
  msgstr ""
2120
 
@@ -2122,288 +2082,302 @@ msgstr ""
2122
  msgid "All"
2123
  msgstr ""
2124
 
2125
- #: includes/class-mla-list-table.php:424
2126
- #: includes/class-mla-settings-upload-tab.php:646
2127
- #: includes/class-mla-settings-view-tab.php:489
 
 
 
 
 
 
2128
  msgid "List View"
2129
  msgstr ""
2130
 
2131
- #: includes/class-mla-list-table.php:491 includes/class-mla-list-table.php:524
2132
- #: includes/class-mla-list-table.php:968 includes/class-mla-list-table.php:1039
2133
- #: includes/class-mla-list-table.php:1262
2134
- #: includes/class-mla-list-table.php:1306
2135
- #: includes/class-mla-list-table.php:1338
2136
- #: includes/class-mla-list-table.php:1422
2137
  msgid "Filter by"
2138
  msgstr ""
2139
 
2140
- #: includes/class-mla-list-table.php:501
2141
  #: includes/class-mla-media-modal-ajax.php:490
2142
  msgid "Not Supported"
2143
  msgstr ""
2144
 
2145
- #. translators: 1: column_name 2: column_values
2146
- #: includes/class-mla-list-table.php:544
2147
- #: includes/class-mla-settings-documentation-tab.php:603
2148
- #: includes/class-mla-settings-shortcodes-tab.php:1036
2149
- #: includes/class-mla-settings-upload-tab.php:853
2150
- #: includes/class-mla-settings-upload-tab.php:1420
2151
- #: includes/class-mla-settings-view-tab.php:649
2152
  #, php-format
2153
  msgid "column_default: %1$s, %2$s"
2154
  msgstr ""
2155
 
2156
- #: includes/class-mla-list-table.php:592 includes/class-mla-list-table.php:718
2157
- #: includes/class-mla-list-table.php:1094
2158
- #: includes/class-mla-list-table.php:1143
2159
- #: includes/class-mla-list-table.php:1189
2160
- #: includes/class-mla-list-table.php:1234
2161
- #: includes/class-mla-list-table.php:1456
2162
- #: includes/class-mla-list-table.php:1782
2163
- #: includes/class-mla-polylang-support.php:380
2164
- #: includes/class-mla-settings-shortcodes-tab.php:1084
2165
- #: includes/class-mla-settings-upload-tab.php:918
2166
- #: includes/class-mla-settings-upload-tab.php:1220
2167
- #: includes/class-mla-settings-view-tab.php:715
2168
- #: includes/class-mla-settings-view-tab.php:930
 
 
2169
  msgid "Edit"
2170
  msgstr ""
2171
 
2172
- #: includes/class-mla-list-table.php:617
2173
- #: includes/class-mla-thumbnail-generation.php:540
2174
  msgid "Trash"
2175
  msgstr ""
2176
 
2177
- #: includes/class-mla-list-table.php:707
2178
  msgid "Restore this item from the Trash"
2179
  msgstr ""
2180
 
2181
- #: includes/class-mla-list-table.php:707 includes/class-mla-list-table.php:1779
2182
  msgid "Restore"
2183
  msgstr ""
2184
 
2185
- #: includes/class-mla-list-table.php:718
2186
- #: includes/class-mla-settings-shortcodes-tab.php:1084
2187
- #: includes/class-mla-settings-upload-tab.php:918
2188
- #: includes/class-mla-settings-view-tab.php:715
 
2189
  msgid "Edit this item"
2190
  msgstr ""
2191
 
2192
- #: includes/class-mla-list-table.php:719
2193
- #: includes/class-mla-settings-upload-tab.php:920
2194
- #: includes/class-mla-settings-view-tab.php:717
 
2195
  msgid "Edit this item inline"
2196
  msgstr ""
2197
 
2198
- #: includes/class-mla-list-table.php:719 includes/class-mla-main.php:1963
2199
  #: includes/class-mla-options.php:1114 includes/class-mla-options.php:1418
2200
- #: includes/class-mla-settings-upload-tab.php:920
2201
- #: includes/class-mla-settings-view-tab.php:717
 
 
 
 
2202
  msgid "Quick Edit"
2203
  msgstr ""
2204
 
2205
- #: includes/class-mla-list-table.php:725
2206
  msgid "Move this item to the Trash"
2207
  msgstr ""
2208
 
2209
- #: includes/class-mla-list-table.php:725 includes/class-mla-list-table.php:1785
2210
  msgid "Move to Trash"
2211
  msgstr ""
2212
 
2213
- #: includes/class-mla-list-table.php:730
2214
- #: includes/class-mla-settings-shortcodes-tab.php:1090
2215
- #: includes/class-mla-settings-upload-tab.php:924
2216
- #: includes/class-mla-settings-view-tab.php:723
 
2217
  msgid "Delete this item Permanently"
2218
  msgstr ""
2219
 
2220
- #: includes/class-mla-list-table.php:730 includes/class-mla-list-table.php:1780
2221
- #: includes/class-mla-list-table.php:1787
2222
- #: includes/class-mla-settings-shortcodes-tab.php:1090
2223
- #: includes/class-mla-settings-upload-tab.php:924
2224
- #: includes/class-mla-settings-view-tab.php:723
2225
- #: includes/class-mla-settings-view-tab.php:931
 
 
2226
  msgid "Delete Permanently"
2227
  msgstr ""
2228
 
2229
- #: includes/class-mla-list-table.php:738
2230
- #: includes/class-mla-settings-documentation-tab.php:673
2231
- #: includes/class-mla-settings.php:1341
2232
  msgid "Download"
2233
  msgstr ""
2234
 
2235
- #: includes/class-mla-list-table.php:742
2236
- #: includes/class-mla-settings-documentation-tab.php:676
2237
- #: includes/class-mla-settings-shortcodes-tab.php:1082
2238
- #: includes/class-mla-settings-view-tab.php:373
2239
  msgid "View"
2240
  msgstr ""
2241
 
2242
- #: includes/class-mla-list-table.php:1036
2243
  msgid "(no title: bad ID)"
2244
  msgstr ""
2245
 
2246
- #: includes/class-mla-list-table.php:1309
2247
- #: includes/class-mla-settings-upload-tab.php:166
2248
- #: includes/class-mla-settings-upload-tab.php:535
2249
  msgid "MIME Type"
2250
  msgstr ""
2251
 
2252
- #: includes/class-mla-list-table.php:1342
2253
  msgid "Base File"
2254
  msgstr ""
2255
 
2256
- #: includes/class-mla-list-table.php:1358
2257
- #: includes/class-mla-list-table.php:1391
2258
  msgid "Unpublished"
2259
  msgstr ""
2260
 
2261
- #. translators: 1: upload/last modified date and time
2262
- #: includes/class-mla-list-table.php:1367
2263
- #: includes/class-mla-list-table.php:1398
2264
  #, php-format
2265
  msgid "%1$s from now"
2266
  msgstr ""
2267
 
2268
- #. translators: 1: upload/last modified date and time
2269
- #: includes/class-mla-list-table.php:1370
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:1463
2276
  msgid "(Private post)"
2277
  msgstr ""
2278
 
2279
- #: includes/class-mla-list-table.php:1484
2280
  msgid "Set Parent"
2281
  msgstr ""
2282
 
2283
- #: includes/class-mla-list-table.php:1634
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:1879
2291
- #: includes/class-mla-settings-shortcodes-tab.php:1371
 
2292
  msgid "Filter"
2293
  msgstr ""
2294
 
2295
- #: includes/class-mla-list-table.php:1882
2296
  #: includes/mla-media-modal-js-template.php:72
2297
  msgid "Terms Search"
2298
  msgstr ""
2299
 
2300
- #: includes/class-mla-list-table.php:1887
2301
- #: includes/class-mla-polylang-support.php:2021
2302
- #: includes/class-mla-thumbnail-generation.php:545
2303
  msgid "Clear Filter-by"
2304
  msgstr ""
2305
 
2306
- #: includes/class-mla-list-table.php:1890
2307
  msgid "Empty Trash"
2308
  msgstr ""
2309
 
2310
- #: includes/class-mla-main.php:377
2311
  msgid "Error while saving the changes."
2312
  msgstr ""
2313
 
2314
- #: includes/class-mla-main.php:378
2315
- #: includes/class-mla-settings-custom-fields-tab.php:37
 
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:380
2323
  msgid "Bulk Edit items"
2324
  msgstr ""
2325
 
2326
- #: includes/class-mla-main.php:381 includes/class-mla-main.php:1991
2327
- #: includes/class-mla-settings-custom-fields-tab.php:43
2328
  #: includes/class-mla-settings-iptc-exif-tab.php:43
2329
  msgid "Waiting"
2330
  msgstr ""
2331
 
2332
- #: includes/class-mla-main.php:382 includes/class-mla-main.php:1993
2333
- #: includes/class-mla-settings-custom-fields-tab.php:45
2334
  #: includes/class-mla-settings-iptc-exif-tab.php:45
2335
  msgid "Complete"
2336
  msgstr ""
2337
 
2338
- #: includes/class-mla-main.php:383
2339
- #: includes/class-mla-settings-custom-fields-tab.php:46
2340
  #: includes/class-mla-settings-iptc-exif-tab.php:46
2341
  msgid "Unchanged"
2342
  msgstr ""
2343
 
2344
- #: includes/class-mla-main.php:384
2345
- #: includes/class-mla-settings-custom-fields-tab.php:47
2346
  #: includes/class-mla-settings-iptc-exif-tab.php:47
2347
  msgid "Succeeded"
2348
  msgstr ""
2349
 
2350
- #: includes/class-mla-main.php:385
2351
- #: includes/class-mla-settings-custom-fields-tab.php:48
2352
  #: includes/class-mla-settings-iptc-exif-tab.php:48
2353
  msgid "Failed"
2354
  msgstr ""
2355
 
2356
- #: includes/class-mla-main.php:386
2357
  msgid "CANCELED"
2358
  msgstr ""
2359
 
2360
- #: includes/class-mla-main.php:497
2361
  #, php-format
2362
  msgid "Item permanently deleted."
2363
  msgid_plural "%d items permanently deleted."
2364
  msgstr[0] ""
2365
  msgstr[1] ""
2366
 
2367
- #. translators: 1: post ID
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:521
2374
  msgid "Entries per page"
2375
  msgstr ""
2376
 
2377
- #: includes/class-mla-main.php:1078
2378
  msgid "You are not allowed to edit Attachment: "
2379
  msgstr ""
2380
 
2381
- #. translators: 1: ERROR tag 2: bulk action
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:1156
2388
  msgid "no changes detected"
2389
  msgstr ""
2390
 
2391
- #. translators: 1: action name, e.g., edit
2392
- #: includes/class-mla-main.php:1203
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:410
2396
- #: includes/class-mla-settings-view-tab.php:253
2397
  #, php-format
2398
  msgid "Bulk Action %1$s - no items selected."
2399
  msgstr ""
2400
 
2401
- #: includes/class-mla-main.php:1287
2402
  msgid "You do not have permission to manage attachments."
2403
  msgstr ""
2404
 
2405
- #. translators: 1: number of items
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:1349
2415
  msgid "No items deleted."
2416
  msgstr ""
2417
 
2418
- #: includes/class-mla-main.php:1403
2419
  msgid "Empty Terms Search; ignored"
2420
  msgstr ""
2421
 
2422
- #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
2423
- #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
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:449
2428
- #: includes/class-mla-settings-view-tab.php:290
2429
  #, php-format
2430
  msgid "Unknown mla_admin_action - \"%1$s\""
2431
  msgstr ""
2432
 
2433
- #: includes/class-mla-main.php:1448
2434
  msgid "term search results for"
2435
  msgstr ""
2436
 
2437
- #: includes/class-mla-main.php:1451
2438
  msgid "post/parent results for"
2439
  msgstr ""
2440
 
2441
- #: includes/class-mla-main.php:1453
2442
  msgid "search results for"
2443
  msgstr ""
2444
 
2445
- #: includes/class-mla-main.php:1568 includes/class-mla-main.php:1787
2446
- #: includes/class-mla-main.php:1978
2447
- #: includes/class-mla-settings-documentation-tab.php:663
2448
- #: includes/class-mla-settings-documentation-tab.php:884
 
 
2449
  #: includes/class-mla-settings-shortcodes-tab.php:484
2450
- #: includes/class-mla-settings-upload-tab.php:175
2451
- #: includes/class-mla-settings-upload-tab.php:549
2452
- #: includes/class-mla-settings-view-tab.php:133
2453
- #: includes/class-mla-settings-view-tab.php:393
2454
  msgid "Update"
2455
  msgstr ""
2456
 
2457
- #: includes/class-mla-main.php:1722
2458
  msgid "All Post Types"
2459
  msgstr ""
2460
 
2461
- #: includes/class-mla-main.php:1768
2462
  msgid "For"
2463
  msgstr ""
2464
 
2465
- #: includes/class-mla-main.php:1778
2466
  #: includes/class-mla-shortcode-support.php:993
2467
  msgid "Unattached"
2468
  msgstr ""
2469
 
2470
- #: includes/class-mla-main.php:1783 includes/class-mla-main.php:1976
2471
- #: includes/class-mla-polylang-support.php:2014
2472
- #: includes/class-mla-settings-custom-fields-tab.php:291
 
 
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:176
2478
- #: includes/class-mla-settings-upload-tab.php:250
2479
- #: includes/class-mla-settings-upload-tab.php:548
2480
- #: includes/class-mla-settings-view-tab.php:134
2481
- #: includes/class-mla-settings-view-tab.php:392
2482
- #: includes/class-mla-thumbnail-generation.php:546
2483
  msgid "Cancel"
2484
  msgstr ""
2485
 
2486
- #: includes/class-mla-main.php:1979 includes/class-mla-options.php:1128
2487
  #: includes/class-mla-options.php:1419
2488
- #: includes/class-mla-settings-upload-tab.php:550
2489
- #: includes/class-mla-settings-view-tab.php:394
 
 
 
2490
  msgid "Bulk Edit"
2491
  msgstr ""
2492
 
2493
- #: includes/class-mla-main.php:1992
2494
  msgid "In-process"
2495
  msgstr ""
2496
 
2497
- #: includes/class-mla-main.php:2083
2498
  msgid "You are not allowed to delete this item."
2499
  msgstr ""
2500
 
2501
- #. translators: 1: ERROR tag 2: post ID
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
- #. translators: 1: post ID
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:2115
2514
  msgid "You are not allowed to move this item out of the Trash."
2515
  msgstr ""
2516
 
2517
- #. translators: 1: ERROR tag 2: post ID
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
- #. translators: 1: post ID
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:2155
2530
  msgid "You are not allowed to move this item to the Trash."
2531
  msgstr ""
2532
 
2533
- #. translators: 1: ERROR tag 2: post ID
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:531
2557
- #: includes/class-mla-settings-view-tab.php:373
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:368
2614
  msgctxt "post_mime_types"
2615
  msgid "Manage"
2616
  msgstr ""
2617
 
2618
- #: includes/class-mla-mime-types.php:520 includes/class-mla-mime-types.php:600
2619
  msgctxt "list_table_column"
2620
  msgid "Extension"
2621
  msgstr ""
2622
 
2623
- #: includes/class-mla-mime-types.php:522
2624
  msgctxt "list_table_column"
2625
  msgid "Icon Type"
2626
  msgstr ""
2627
 
2628
- #: includes/class-mla-mime-types.php:523
 
2629
  msgctxt "list_table_column"
2630
  msgid "Source"
2631
  msgstr ""
2632
 
2633
- #: includes/class-mla-mime-types.php:524
 
2634
  msgctxt "list_table_column"
2635
  msgid "Status"
2636
  msgstr ""
2637
 
2638
- #: includes/class-mla-mime-types.php:525 includes/class-mla-mime-types.php:602
2639
  msgctxt "list_table_column"
2640
  msgid "WordPress Type"
2641
  msgstr ""
2642
 
2643
- #: includes/class-mla-mime-types.php:526 includes/class-mla-mime-types.php:603
2644
  msgctxt "list_table_column"
2645
  msgid "MLA Type"
2646
  msgstr ""
2647
 
2648
- #: includes/class-mla-mime-types.php:527
2649
  msgctxt "list_table_column"
2650
  msgid "Std. Source"
2651
  msgstr ""
2652
 
2653
- #: includes/class-mla-mime-types.php:528
2654
  msgctxt "list_table_column"
2655
  msgid "Std. Icon Type"
2656
  msgstr ""
2657
 
2658
- #: includes/class-mla-mime-types.php:678
2659
  msgctxt "list_table_column"
2660
  msgid "Slug"
2661
  msgstr ""
2662
 
2663
- #: includes/class-mla-mime-types.php:679
2664
  msgctxt "list_table_column"
2665
  msgid "Specification"
2666
  msgstr ""
2667
 
2668
- #: includes/class-mla-mime-types.php:680
2669
  msgctxt "list_table_column"
2670
  msgid "Post Mime"
2671
  msgstr ""
2672
 
2673
- #: includes/class-mla-mime-types.php:681
2674
  msgctxt "list_table_column"
2675
  msgid "Table View"
2676
  msgstr ""
2677
 
2678
- #: includes/class-mla-mime-types.php:682
2679
  msgctxt "list_table_column"
2680
  msgid "Singular Name"
2681
  msgstr ""
2682
 
2683
- #: includes/class-mla-mime-types.php:683
2684
  msgctxt "list_table_column"
2685
  msgid "Plural Name"
2686
  msgstr ""
2687
 
2688
- #: includes/class-mla-mime-types.php:684
2689
  msgctxt "list_table_column"
2690
  msgid "Order"
2691
  msgstr ""
2692
 
2693
- #: includes/class-mla-mime-types.php:1006
2694
  msgctxt "post_mime_types_description"
2695
  msgid "Copied from previous filter/plugin"
2696
  msgstr ""
2697
 
2698
- #: includes/class-mla-mime-types.php:1107
2699
- #: includes/class-mla-mime-types.php:1224
2700
  msgid "Ignoring specification for Post MIME Type; using slug"
2701
  msgstr ""
2702
 
2703
- #. translators: 1: element name 2: bad_value 3: good_value
2704
- #: includes/class-mla-mime-types.php:1113
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:1113
2711
- #: includes/class-mla-mime-types.php:1201
2712
- #: includes/class-mla-mime-types.php:1212
2713
- #: includes/class-mla-settings-view-tab.php:118
2714
- #: includes/class-mla-settings-view-tab.php:374
2715
  msgid "Slug"
2716
  msgstr ""
2717
 
2718
- #. translators: 1: ERROR tag 2: slug
2719
- #: includes/class-mla-mime-types.php:1121
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
- #. translators: 1: slug
2726
- #: includes/class-mla-mime-types.php:1156
2727
  #, php-format
2728
  msgid "Edit view \"%1$s\"; added"
2729
  msgstr ""
2730
 
2731
- #. translators: 1: element name 2: bad_value 3: good_value
2732
- #: includes/class-mla-mime-types.php:1201
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
- #. translators: 1: slug
2739
- #: includes/class-mla-mime-types.php:1254
2740
  #, php-format
2741
  msgid "Edit view \"%1$s\"; no changes detected"
2742
  msgstr ""
2743
 
2744
- #. translators: 1: slug
2745
- #: includes/class-mla-mime-types.php:1268
2746
  #, php-format
2747
  msgid "Edit view \"%1$s\"; updated"
2748
  msgstr ""
2749
 
2750
- #. translators: 1: slug
2751
- #: includes/class-mla-mime-types.php:1341
2752
  #, php-format
2753
  msgid "View \"%1$s\" reverted to standard"
2754
  msgstr ""
2755
 
2756
- #. translators: 1: slug
2757
- #: includes/class-mla-mime-types.php:1347
2758
  #, php-format
2759
  msgid "View \"%1$s\" deleted"
2760
  msgstr ""
2761
 
2762
- #. translators: 1: ERROR tag 2: slug
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:1618
2769
- #: includes/class-mla-settings-documentation-tab.php:1588
2770
  msgctxt "table_view_singular"
2771
  msgid "Active"
2772
  msgstr ""
2773
 
2774
- #: includes/class-mla-mime-types.php:1619
2775
- #: includes/class-mla-settings-documentation-tab.php:1589
2776
  msgctxt "table_view_plural"
2777
  msgid "Active"
2778
  msgstr ""
2779
 
2780
- #: includes/class-mla-mime-types.php:1622
2781
- #: includes/class-mla-settings-documentation-tab.php:1592
2782
  msgctxt "table_view_singular"
2783
  msgid "Inactive"
2784
  msgstr ""
2785
 
2786
- #: includes/class-mla-mime-types.php:1623
2787
- #: includes/class-mla-settings-documentation-tab.php:1593
2788
  msgctxt "table_view_plural"
2789
  msgid "Inactive"
2790
  msgstr ""
2791
 
2792
- #: includes/class-mla-mime-types.php:1626
2793
  msgctxt "table_view_singular"
2794
  msgid "WordPress"
2795
  msgstr ""
2796
 
2797
- #: includes/class-mla-mime-types.php:1627
2798
  msgctxt "table_view_plural"
2799
  msgid "WordPress"
2800
  msgstr ""
2801
 
2802
- #: includes/class-mla-mime-types.php:1630
2803
  msgctxt "table_view_singular"
2804
  msgid "MLA"
2805
  msgstr ""
2806
 
2807
- #: includes/class-mla-mime-types.php:1631
2808
  msgctxt "table_view_plural"
2809
  msgid "MLA"
2810
  msgstr ""
2811
 
2812
- #: includes/class-mla-mime-types.php:1634
2813
  msgctxt "table_view_singular"
2814
  msgid "Custom"
2815
  msgstr ""
2816
 
2817
- #: includes/class-mla-mime-types.php:1635
2818
  msgctxt "table_view_plural"
2819
  msgid "Custom"
2820
  msgstr ""
2821
 
2822
- #: includes/class-mla-mime-types.php:1890
2823
  msgid "icon"
2824
  msgstr ""
2825
 
2826
- #: includes/class-mla-mime-types.php:2189
2827
- #: includes/class-mla-mime-types.php:2288
2828
  msgid "Cannot load Upload MIME Types"
2829
  msgstr ""
2830
 
2831
- #: includes/class-mla-mime-types.php:2200
2832
  msgid "Extension is required"
2833
  msgstr ""
2834
 
2835
- #: includes/class-mla-mime-types.php:2205
2836
- #: includes/class-mla-mime-types.php:2331
2837
- #: includes/class-mla-mime-types.php:2342
2838
- #: includes/class-mla-settings-upload-tab.php:164
2839
- #: includes/class-mla-settings-upload-tab.php:533
2840
  msgid "Extension"
2841
  msgstr ""
2842
 
2843
- #. translators: 1: ERROR tag 2: slug
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:2221
2850
  msgid "MIME type is required"
2851
  msgstr ""
2852
 
2853
- #. translators: 1: ERROR tag 2: clean_mime_type
2854
- #: includes/class-mla-mime-types.php:2226
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
- #. translators: 1: slug
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:2269
2867
- #: includes/class-mla-mime-types.php:2458
2868
- #: includes/class-mla-mime-types.php:2537
2869
  msgid "Cannot update Upload MIME Types"
2870
  msgstr ""
2871
 
2872
- #. translators: 1: ERROR tag 2: slug
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
- #. translators: 1: slug
2879
- #: includes/class-mla-mime-types.php:2438
2880
  #, php-format
2881
  msgid "Edit type \"%1$s\"; no changes detected"
2882
  msgstr ""
2883
 
2884
- #. translators: 1: slug
2885
- #: includes/class-mla-mime-types.php:2452
2886
  #, php-format
2887
  msgid "Edit type \"%1$s\"; updated"
2888
  msgstr ""
2889
 
2890
- #. translators: 1: slug
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
- #. translators: 1: slug
2897
- #: includes/class-mla-mime-types.php:2531
2898
  #, php-format
2899
  msgid "Upload MIME Type \"%1$s\"; deleted"
2900
  msgstr ""
2901
 
2902
- #. translators: 1: ERROR tag 2: slug
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:2933
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:2926
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:54
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:55
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:47
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:51
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:52
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:1955 includes/class-mla-options.php:1986
3137
- #: includes/class-mla-settings-upload-tab.php:127
3138
  msgid "None (select a value)"
3139
  msgstr ""
3140
 
@@ -3146,95 +3094,98 @@ msgstr ""
3146
  msgid "Template (see below)"
3147
  msgstr ""
3148
 
3149
- #. translators: 1: ERROR tag 2: custom field name
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
- #. translators: 1: custom field name
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
- #. translators: 1: custom field name
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
- #. translators: 1: custom field name
3168
- #: includes/class-mla-options.php:1042 includes/class-mla-options.php:2137
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:2053 includes/class-mla-options.php:2060
3178
- #: includes/class-mla-options.php:2067 includes/class-mla-options.php:2162
3179
- #: includes/class-mla-options.php:2169 includes/class-mla-options.php:2204
3180
- #: includes/class-mla-options.php:2211 includes/class-mla-options.php:2312
3181
- #: includes/class-mla-options.php:2319 includes/class-mla-options.php:2354
3182
- #: includes/class-mla-options.php:2361
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:2087
3192
- #: includes/class-mla-options.php:2189 includes/class-mla-options.php:2339
3193
  msgid "Replace to Keep"
3194
  msgstr ""
3195
 
3196
- #: includes/class-mla-options.php:1074 includes/class-mla-options.php:2090
3197
- #: includes/class-mla-options.php:2192 includes/class-mla-options.php:2342
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:2081
3205
- #: includes/class-mla-options.php:2095 includes/class-mla-options.php:2183
3206
- #: includes/class-mla-options.php:2197 includes/class-mla-options.php:2333
3207
- #: includes/class-mla-options.php:2347 includes/class-mla-options.php:2375
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:2095 includes/class-mla-options.php:2197
3214
- #: includes/class-mla-options.php:2347 includes/class-mla-options.php:2501
3215
- #: includes/class-mla-options.php:2591 includes/class-mla-options.php:2824
 
 
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:2354 includes/class-mla-options.php:2653
3221
- #: includes/class-mla-options.php:2748 includes/class-mla-options.php:2794
 
 
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:2367
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:2370
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:2361 includes/class-mla-options.php:2660
3248
- #: includes/class-mla-options.php:2755 includes/class-mla-options.php:2801
 
 
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:2375 includes/class-mla-options.php:2672
3255
- #: includes/class-mla-options.php:2767 includes/class-mla-options.php:2813
3256
  msgid "Delete NULL values"
3257
  msgstr ""
3258
 
3259
- #: includes/class-mla-options.php:1196 includes/class-mla-options.php:2603
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:2476
3265
- #: includes/class-mla-options.php:2530 includes/class-mla-options.php:2650
3266
- #: includes/class-mla-options.php:2745 includes/class-mla-options.php:2791
3267
- #: includes/class-mla-thumbnail-generation.php:538
 
 
 
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:2655
3273
- #: includes/class-mla-options.php:2750 includes/class-mla-options.php:2796
 
 
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:2657
3279
- #: includes/class-mla-options.php:2752 includes/class-mla-options.php:2798
 
 
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:2659
3285
- #: includes/class-mla-options.php:2754 includes/class-mla-options.php:2800
 
 
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:2662
3291
- #: includes/class-mla-options.php:2757 includes/class-mla-options.php:2803
 
 
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:2664
3297
- #: includes/class-mla-options.php:2759 includes/class-mla-options.php:2805
 
 
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:2666
3303
- #: includes/class-mla-options.php:2761 includes/class-mla-options.php:2807
 
 
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:2668
3309
- #: includes/class-mla-options.php:2763 includes/class-mla-options.php:2809
 
 
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:2670
3315
- #: includes/class-mla-options.php:2765 includes/class-mla-options.php:2811
 
 
3316
  msgid "Multi"
3317
  msgstr ""
3318
 
3319
- #: includes/class-mla-options.php:1264 includes/class-mla-options.php:2673
3320
  msgid "Delete Rule"
3321
  msgstr ""
3322
 
3323
- #: includes/class-mla-options.php:1265 includes/class-mla-options.php:2674
3324
  msgid "Delete Rule AND Field"
3325
  msgstr ""
3326
 
3327
- #: includes/class-mla-options.php:1266 includes/class-mla-options.php:2675
3328
  msgid "Update Rule"
3329
  msgstr ""
3330
 
3331
- #: includes/class-mla-options.php:1267 includes/class-mla-options.php:2676
3332
- #: includes/class-mla-settings-custom-fields-tab.php:364
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:2734
3338
  msgid "Add a new Mapping Rule"
3339
  msgstr ""
3340
 
3341
- #: includes/class-mla-options.php:1363 includes/class-mla-options.php:2768
 
3342
  msgid "Add Rule"
3343
  msgstr ""
3344
 
3345
- #: includes/class-mla-options.php:1364 includes/class-mla-options.php:2769
3346
  msgid "Add Rule and Map All Attachments"
3347
  msgstr ""
3348
 
3349
- #: includes/class-mla-options.php:1375 includes/class-mla-options.php:2780
3350
  msgid "Add a new Field and Mapping Rule"
3351
  msgstr ""
3352
 
3353
- #: includes/class-mla-options.php:1407 includes/class-mla-options.php:2814
3354
  msgid "Add Field"
3355
  msgstr ""
3356
 
3357
- #: includes/class-mla-options.php:1408 includes/class-mla-options.php:2815
3358
  msgid "Add Field and Map All Attachments"
3359
  msgstr ""
3360
 
3361
- #: includes/class-mla-options.php:1413 includes/class-mla-options.php:2053
3362
- #: includes/class-mla-options.php:2497 includes/class-mla-options.php:2587
3363
- #: includes/class-mla-options.php:2820
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
- #. translators: 1: ERROR tag 2: custom field name
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:2060 includes/class-mla-options.php:2162
3396
- #: includes/class-mla-options.php:2312 includes/class-mla-options.php:2498
3397
- #: includes/class-mla-options.php:2588 includes/class-mla-options.php:2821
3398
  msgid "IPTC Value"
3399
  msgstr ""
3400
 
3401
- #: includes/class-mla-options.php:2067 includes/class-mla-options.php:2169
3402
- #: includes/class-mla-options.php:2319
3403
  msgid "EXIF Value"
3404
  msgstr ""
3405
 
3406
- #: includes/class-mla-options.php:2073 includes/class-mla-options.php:2175
3407
- #: includes/class-mla-options.php:2325
3408
  msgid "EXIF to IPTC"
3409
  msgstr ""
3410
 
3411
- #: includes/class-mla-options.php:2076 includes/class-mla-options.php:2178
3412
- #: includes/class-mla-options.php:2328
3413
  msgid "IPTC to EXIF"
3414
  msgstr ""
3415
 
3416
- #: includes/class-mla-options.php:2081 includes/class-mla-options.php:2183
3417
- #: includes/class-mla-options.php:2333 includes/class-mla-options.php:2500
3418
- #: includes/class-mla-options.php:2590 includes/class-mla-options.php:2823
3419
  msgid "Priority"
3420
  msgstr ""
3421
 
3422
- #: includes/class-mla-options.php:2204 includes/class-mla-options.php:2592
3423
  msgid "Delimiter(s)"
3424
  msgstr ""
3425
 
3426
- #: includes/class-mla-options.php:2472 includes/class-mla-options.php:2526
3427
- #: includes/class-mla-options.php:2646 includes/class-mla-options.php:2741
3428
- #: includes/class-mla-options.php:2787
3429
  msgid "IPTC"
3430
  msgstr ""
3431
 
3432
- #: includes/class-mla-options.php:2474 includes/class-mla-options.php:2528
3433
- #: includes/class-mla-options.php:2648 includes/class-mla-options.php:2743
3434
- #: includes/class-mla-options.php:2789
3435
  msgid "EXIF"
3436
  msgstr ""
3437
 
3438
- #: includes/class-mla-options.php:2499 includes/class-mla-options.php:2589
3439
- #: includes/class-mla-options.php:2822
3440
  msgid "EXIF/Template Value"
3441
  msgstr ""
3442
 
3443
- #. translators: 1: ERROR tag 2: option name
3444
- #: includes/class-mla-options.php:2832
3445
  #, php-format
3446
  msgid "%1$s: Render unknown custom %2$s."
3447
  msgstr ""
3448
 
3449
- #. translators: 1: ERROR tag 2: option name
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:2882
3456
  msgid "IPTC/EXIF mapping settings updated."
3457
  msgstr ""
3458
 
3459
- #: includes/class-mla-options.php:2884
3460
  msgid "IPTC/EXIF settings update failed."
3461
  msgstr ""
3462
 
3463
- #: includes/class-mla-options.php:2887
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
- #. translators: 1: field type
3470
- #: includes/class-mla-options.php:2898 includes/class-mla-options.php:2908
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:2898 includes/class-mla-options.php:2901
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
- #. translators: 1: ERROR tag 2: field type
3485
- #: includes/class-mla-options.php:2901 includes/class-mla-options.php:2911
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:2908 includes/class-mla-options.php:2911
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:2918 includes/class-mla-options.php:2921
3499
- #: includes/class-mla-settings-custom-fields-tab.php:179
3500
- #: includes/class-mla-settings-custom-fields-tab.php:182
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
- #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
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:267
3514
  msgid "ERROR: No post ID found"
3515
  msgstr ""
3516
 
3517
- #: includes/class-mla-polylang-support.php:375
3518
  msgid "Error while saving the translations."
3519
  msgstr ""
3520
 
3521
- #: includes/class-mla-polylang-support.php:376
3522
  msgid "Remove From Bulk Translate"
3523
  msgstr ""
3524
 
3525
- #: includes/class-mla-polylang-support.php:378
3526
  msgid "Bulk Translate items"
3527
  msgstr ""
3528
 
3529
- #: includes/class-mla-polylang-support.php:379
3530
  msgid "Add new"
3531
  msgstr ""
3532
 
3533
- #: includes/class-mla-polylang-support.php:1852
3534
- #: includes/class-mla-polylang-support.php:2219
3535
- #: includes/class-mla-thumbnail-generation.php:572
3536
  msgid "Bulk Translations"
3537
  msgstr ""
3538
 
3539
- #: includes/class-mla-polylang-support.php:1876
3540
  msgid "Translate"
3541
  msgstr ""
3542
 
3543
- #: includes/class-mla-polylang-support.php:2004
3544
  msgid "All Languages"
3545
  msgstr ""
3546
 
3547
- #: includes/class-mla-polylang-support.php:2011
3548
- #: includes/class-mla-polylang-support.php:2284
3549
- #: includes/class-mla-polylang-support.php:2444
3550
  msgid "Quick Translate"
3551
  msgstr ""
3552
 
3553
- #: includes/class-mla-polylang-support.php:2015
3554
  msgid "Set Language"
3555
  msgstr ""
3556
 
3557
- #: includes/class-mla-polylang-support.php:2016
3558
- #: includes/class-mla-polylang-support.php:2451
3559
  msgid "Bulk Translate"
3560
  msgstr ""
3561
 
3562
- #: includes/class-mla-polylang-support.php:2017
3563
  msgid "Add or Modify Translation"
3564
  msgstr ""
3565
 
3566
- #: includes/class-mla-polylang-support.php:2018
3567
- #: includes/class-mla-polylang-support.php:2075
3568
- #: includes/class-mla-polylang-support.php:2388
3569
- #: includes/class-mla-polylang-support.php:2503
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:2020
3577
- #: includes/class-mla-thumbnail-generation.php:544
3578
  msgid "Options"
3579
  msgstr ""
3580
 
3581
- #: includes/class-mla-polylang-support.php:2284
3582
  msgid "Translate this item inline"
3583
  msgstr ""
3584
 
3585
- #: includes/class-mla-polylang-support.php:2425
3586
- #: includes/class-mla-polylang-support.php:2530
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:2430
3593
  #: includes/class-mla-wpml-support.php:1590
3594
  msgid "Language Column"
3595
  msgstr ""
3596
 
3597
- #: includes/class-mla-polylang-support.php:2433
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:2437
3605
  #: includes/class-mla-wpml-support.php:1597
3606
  msgid "Translations Column"
3607
  msgstr ""
3608
 
3609
- #: includes/class-mla-polylang-support.php:2440
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:2447
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:2454
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:2458
3629
- #: includes/class-mla-polylang-support.php:2530
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:2463
3636
  #: includes/class-mla-wpml-support.php:1609
3637
  msgid "Term Assignment"
3638
  msgstr ""
3639
 
3640
- #: includes/class-mla-polylang-support.php:2466
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:2470
3647
  #: includes/class-mla-wpml-support.php:1616
3648
  msgid "Term Synchronization"
3649
  msgstr ""
3650
 
3651
- #: includes/class-mla-polylang-support.php:2473
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:2477
3658
  #: includes/class-mla-wpml-support.php:1623
3659
  msgid "Term Mapping Replication"
3660
  msgstr ""
3661
 
3662
- #: includes/class-mla-polylang-support.php:2480
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:2528
3670
  #: includes/class-mla-wpml-support.php:1686
3671
  msgid "Language Options"
3672
  msgstr ""
3673
 
3674
- #. translators: 1: - 4: page subheader values
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
- #. translators: 1: Documentation hyperlink
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:2532
3694
  #: includes/class-mla-wpml-support.php:1690
3695
  msgid "Language Options documentation"
3696
  msgstr ""
3697
 
3698
- #: includes/class-mla-polylang-support.php:2532
3699
  #: includes/class-mla-wpml-support.php:1690
3700
  msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
3701
  msgstr ""
3702
 
3703
- #: includes/class-mla-polylang-support.php:2535
3704
- #: includes/class-mla-settings-custom-fields-tab.php:312
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:721
3709
- #: includes/class-mla-settings-upload-tab.php:479
3710
- #: includes/class-mla-settings-upload-tab.php:529
3711
- #: includes/class-mla-settings-view-tab.php:319
3712
- #: includes/class-mla-settings-view-tab.php:371
3713
- #: includes/class-mla-settings.php:1011 includes/class-mla-settings.php:1383
3714
- #: includes/class-mla-settings.php:1385
3715
  #: includes/class-mla-wpml-support.php:1693
3716
  msgid "Save Changes"
3717
  msgstr ""
3718
 
3719
- #: includes/class-mla-polylang-support.php:2536
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:2539
3725
- #: includes/class-mla-settings.php:749 includes/class-mla-settings.php:1016
3726
  #: includes/class-mla-wpml-support.php:1697
3727
  msgid "Go to Top"
3728
  msgstr ""
3729
 
3730
- #: includes/class-mla-polylang-support.php:2576
3731
  #: includes/class-mla-wpml-support.php:1734
3732
  msgid "Language settings saved."
3733
  msgstr ""
3734
 
3735
- #. translators: 1: option name
3736
- #: includes/class-mla-polylang-support.php:2607
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:2615
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:36
 
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:38
 
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:44
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:49
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:50
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:51
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:146
3784
  msgid "No custom field mapping rules to process."
3785
  msgstr ""
3786
 
3787
- #. translators: 1: field type 2: examined count 3: updated count
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
- #. translators: 1: field type 2: examined count
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:285
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:286
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:287
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:288
3826
  #: includes/class-mla-settings-iptc-exif-tab.php:456
3827
  msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
3828
  msgstr ""
3829
 
3830
- #: includes/class-mla-settings-custom-fields-tab.php:289
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:290
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:292
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:293
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:302
3859
- #: includes/class-mla-settings-custom-fields-tab.php:306
3860
  msgid "Custom Field and Attachment Metadata Processing Options"
3861
  msgstr ""
3862
 
3863
- #. translators: 1: Documentation hyperlink
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. See the %1$s section of the Documentation for details."
3872
  msgstr ""
3873
 
3874
- #: includes/class-mla-settings-custom-fields-tab.php:304
3875
- msgid "Updating Attachment Metadata Documentation"
 
 
 
3876
  msgstr ""
3877
 
3878
- #: includes/class-mla-settings-custom-fields-tab.php:304
3879
- msgid "Adding or changing Attachment Metadata"
 
3880
  msgstr ""
3881
 
3882
- #. translators: 1: Documentation hyperlink
3883
- #: includes/class-mla-settings-custom-fields-tab.php:306
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:306
3892
- msgid "Custom Field Options documentation"
3893
  msgstr ""
3894
 
3895
- #: includes/class-mla-settings-custom-fields-tab.php:310
3896
- #: includes/class-mla-settings-iptc-exif-tab.php:483
3897
- msgid "Custom field mapping"
3898
  msgstr ""
3899
 
3900
- #: includes/class-mla-settings-custom-fields-tab.php:313
3901
- #: includes/class-mla-settings-custom-fields-tab.php:317
3902
- #: includes/class-mla-settings-custom-fields-tab.php:360
3903
- msgid "Map All Rules, All Attachments Now"
3904
  msgstr ""
3905
 
3906
- #. translators: 1: "Save Changes"
3907
- #: includes/class-mla-settings-custom-fields-tab.php:315
3908
- #, php-format
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
- #. translators: 1: "Map All Rules..."
3916
- #: includes/class-mla-settings-custom-fields-tab.php:317
3917
- #, php-format
3918
- msgid ""
3919
- "Click %1$s to apply all the rules at once (rule changes will be applied but "
3920
- "not saved)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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:976
3926
- #: includes/class-mla-settings-documentation-tab.php:1061
3927
- #: includes/class-mla-settings-documentation-tab.php:1091
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:1317
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:245
3949
- #: includes/class-mla-settings-upload-tab.php:554
3950
- #: includes/class-mla-settings-view-tab.php:367
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:519
4011
  msgctxt "list_table_column"
4012
  msgid "Current Version"
4013
  msgstr ""
4014
 
4015
- #: includes/class-mla-settings-documentation-tab.php:520
4016
  msgctxt "list_table_column"
4017
  msgid "Installed Version"
4018
  msgstr ""
4019
 
4020
- #: includes/class-mla-settings-documentation-tab.php:522
4021
  msgctxt "list_table_column"
4022
  msgid "File Name"
4023
  msgstr ""
4024
 
4025
- #: includes/class-mla-settings-documentation-tab.php:523
4026
  msgctxt "list_table_column"
4027
  msgid "Tags"
4028
  msgstr ""
4029
 
4030
- #: includes/class-mla-settings-documentation-tab.php:659
4031
  msgid "Install this plugin"
4032
  msgstr ""
4033
 
4034
- #: includes/class-mla-settings-documentation-tab.php:659
4035
- #: includes/class-mla-settings-documentation-tab.php:883
4036
  msgid "Install"
4037
  msgstr ""
4038
 
4039
- #: includes/class-mla-settings-documentation-tab.php:663
4040
  msgid "Update this plugin"
4041
  msgstr ""
4042
 
4043
- #: includes/class-mla-settings-documentation-tab.php:676
4044
- #: includes/class-mla-settings-shortcodes-tab.php:1082
4045
  msgid "View this item"
4046
  msgstr ""
4047
 
4048
- #. translators: 1: plugin name, 2: WP_Error message
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
- #. translators: 1: plugin name
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
- #. translators: 1: plugin name, 2: WP_Error message
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
- #. translators: 1: plugin name, 2: WP_Error message
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
- #. translators: 1: plugin name
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
- #. translators: 1: plugin name
4080
- #: includes/class-mla-settings-documentation-tab.php:1072
4081
  #, php-format
4082
  msgid "Example plugin \"%1$s\" installed"
4083
  msgstr ""
4084
 
4085
- #. translators: 1: plugin name
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
- #. translators: 1: plugin name
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:1247
4098
  msgid "Network"
4099
  msgstr ""
4100
 
4101
- #: includes/class-mla-settings-documentation-tab.php:1249
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:1585
4120
  msgctxt "table_view_plural"
4121
  msgid "Installed"
4122
  msgstr ""
4123
 
4124
- #: includes/class-mla-settings-documentation-tab.php:1596
4125
  msgctxt "table_view_singular"
4126
  msgid "Network"
4127
  msgstr ""
4128
 
4129
- #: includes/class-mla-settings-documentation-tab.php:1597
4130
  msgctxt "table_view_plural"
4131
  msgid "Network"
4132
  msgstr ""
4133
 
4134
- #: includes/class-mla-settings-documentation-tab.php:1600
4135
  msgctxt "table_view_singular"
4136
  msgid "Uninstalled"
4137
  msgstr ""
4138
 
4139
- #: includes/class-mla-settings-documentation-tab.php:1601
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:904
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:1087
4365
- #: includes/class-mla-settings-shortcodes-tab.php:1309
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:638
4378
  msgid "Theme"
4379
  msgstr ""
4380
 
4381
- #: includes/class-mla-settings-shortcodes-tab.php:659
4382
  msgid "Imagick support is not installed."
4383
  msgstr ""
4384
 
4385
- #: includes/class-mla-settings-shortcodes-tab.php:666
4386
  msgid "Ghostscript support is not installed."
4387
  msgstr ""
4388
 
4389
- #: includes/class-mla-settings-shortcodes-tab.php:670
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:670
4396
  msgid " MLA Viewer support may not be available"
4397
  msgstr ""
4398
 
4399
- #: includes/class-mla-settings-shortcodes-tab.php:707
4400
  msgid "MLA Shortcode Options"
4401
  msgstr ""
4402
 
4403
- #: includes/class-mla-settings-shortcodes-tab.php:708
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
- #. translators: 1: Documentation hyperlink
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:710
4421
  msgid "Style and Markup Templates documentation"
4422
  msgstr ""
4423
 
4424
- #: includes/class-mla-settings-shortcodes-tab.php:710
4425
  msgid "Style and Markup Templates"
4426
  msgstr ""
4427
 
4428
- #: includes/class-mla-settings-shortcodes-tab.php:716
4429
  msgid "Add New Template"
4430
  msgstr ""
4431
 
4432
- #: includes/class-mla-settings-shortcodes-tab.php:717
4433
  msgid "Search Templates"
4434
  msgstr ""
4435
 
4436
- #: includes/class-mla-settings-shortcodes-tab.php:719
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:965
4446
  msgctxt "list_table_column"
4447
  msgid "Shortcode"
4448
  msgstr ""
4449
 
4450
- #: includes/class-mla-settings-shortcodes-tab.php:1087
4451
  msgid "Make a copy"
4452
  msgstr ""
4453
 
4454
- #: includes/class-mla-settings-shortcodes-tab.php:1107
4455
  msgid "default"
4456
  msgstr ""
4457
 
4458
- #: includes/class-mla-settings-shortcodes-tab.php:1120
4459
- #: includes/class-mla-settings-shortcodes-tab.php:2014
4460
  msgctxt "table_view_singular"
4461
  msgid "Style"
4462
  msgstr ""
4463
 
4464
- #: includes/class-mla-settings-shortcodes-tab.php:1120
4465
- #: includes/class-mla-settings-shortcodes-tab.php:2018
4466
  msgctxt "table_view_singular"
4467
  msgid "Markup"
4468
  msgstr ""
4469
 
4470
- #: includes/class-mla-settings-shortcodes-tab.php:1308
4471
- #: includes/class-mla-thumbnail-generation.php:541
4472
  msgid "Delete"
4473
  msgstr ""
4474
 
4475
- #: includes/class-mla-settings-shortcodes-tab.php:1325
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:1331
4484
  msgid "Custom"
4485
  msgstr ""
4486
 
4487
- #: includes/class-mla-settings-shortcodes-tab.php:2015
4488
  msgctxt "table_view_plural"
4489
  msgid "Style"
4490
  msgstr ""
4491
 
4492
- #: includes/class-mla-settings-shortcodes-tab.php:2019
4493
  msgctxt "table_view_plural"
4494
  msgid "Markup"
4495
  msgstr ""
4496
 
4497
- #: includes/class-mla-settings-shortcodes-tab.php:2022
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:2023
4505
  msgctxt "table_view_plural"
4506
  msgid "Gallery"
4507
  msgstr ""
4508
 
4509
- #: includes/class-mla-settings-shortcodes-tab.php:2026
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:2027
4517
  msgctxt "table_view_plural"
4518
  msgid "Tag Cloud"
4519
  msgstr ""
4520
 
4521
- #: includes/class-mla-settings-shortcodes-tab.php:2030
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:2031
4529
  msgctxt "table_view_plural"
4530
  msgid "Term List"
4531
  msgstr ""
4532
 
4533
- #: includes/class-mla-settings-upload-tab.php:92
4534
  msgid "Upload MIME Type settings saved."
4535
  msgstr ""
4536
 
4537
- #: includes/class-mla-settings-upload-tab.php:159
4538
  msgid "Edit Upload MIME Type"
4539
  msgstr ""
4540
 
4541
- #: includes/class-mla-settings-upload-tab.php:165
4542
  msgid ""
4543
  "The &#8220;extension&#8221; 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:167
4549
- #: includes/class-mla-settings-upload-tab.php:536
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., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
4554
  msgstr ""
4555
 
4556
- #: includes/class-mla-settings-upload-tab.php:168
4557
- #: includes/class-mla-settings-upload-tab.php:537
4558
  msgid "Icon Type"
4559
  msgstr ""
4560
 
4561
- #: includes/class-mla-settings-upload-tab.php:170
4562
- #: includes/class-mla-settings-upload-tab.php:538
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:172
4569
- #: includes/class-mla-settings-upload-tab.php:540
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:174
4576
- #: includes/class-mla-settings-upload-tab.php:542
4577
- #: includes/class-mla-settings-view-tab.php:132
4578
- #: includes/class-mla-settings-view-tab.php:388
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:244
4585
  msgid "Known File Extension/MIME Type Associations"
4586
  msgstr ""
4587
 
4588
- #: includes/class-mla-settings-upload-tab.php:246
4589
  msgid "Search Known MIME Types"
4590
  msgstr ""
4591
 
4592
- #: includes/class-mla-settings-upload-tab.php:248
4593
  msgid "Search Types"
4594
  msgstr ""
4595
 
4596
- #: includes/class-mla-settings-upload-tab.php:249
4597
- #: includes/class-mla-settings-upload-tab.php:525
4598
  msgid "To search by extension, use \".\", e.g., \".doc\""
4599
  msgstr ""
4600
 
4601
- #. translators: 1: view name/slug
4602
- #: includes/class-mla-settings-upload-tab.php:441
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:476
4609
  msgid "Upload MIME Type Support is disabled"
4610
  msgstr ""
4611
 
4612
- #: includes/class-mla-settings-upload-tab.php:519
4613
- #: includes/class-mla-settings-upload-tab.php:522
4614
  msgid "File Extension and MIME Type Processing"
4615
  msgstr ""
4616
 
4617
- #: includes/class-mla-settings-upload-tab.php:520
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
- #. translators: 1: Documentation hyperlink
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:522
4636
  msgid "File Extension Processing documentation"
4637
  msgstr ""
4638
 
4639
- #: includes/class-mla-settings-upload-tab.php:524
4640
  msgid "Search Uploads"
4641
  msgstr ""
4642
 
4643
- #: includes/class-mla-settings-upload-tab.php:531
4644
  msgid "Upload MIME Type"
4645
  msgstr ""
4646
 
4647
- #: includes/class-mla-settings-upload-tab.php:532
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:534
4654
  msgid ""
4655
  "The &#8220;extension&#8221; 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:543
4661
  msgid "Add Upload MIME Type"
4662
  msgstr ""
4663
 
4664
- #: includes/class-mla-settings-upload-tab.php:545
4665
  msgid "Search Known Types"
4666
  msgstr ""
4667
 
4668
- #: includes/class-mla-settings-upload-tab.php:547
4669
- #: includes/class-mla-settings-view-tab.php:391
4670
  msgid "<strong>Quick Edit</strong>"
4671
  msgstr ""
4672
 
4673
- #: includes/class-mla-settings-upload-tab.php:593
4674
  msgid "No upload slug found"
4675
  msgstr ""
4676
 
4677
- #: includes/class-mla-settings-upload-tab.php:926
4678
- #: includes/class-mla-settings-view-tab.php:721
4679
  msgid "Revert to standard item"
4680
  msgstr ""
4681
 
4682
- #: includes/class-mla-settings-upload-tab.php:926
4683
- #: includes/class-mla-settings-view-tab.php:721
4684
  msgid "Revert to Standard"
4685
  msgstr ""
4686
 
4687
- #: includes/class-mla-settings-upload-tab.php:1221
4688
  msgid "Delete/Revert Custom"
4689
  msgstr ""
4690
 
4691
- #: includes/class-mla-settings-upload-tab.php:1473
4692
  msgid "Select this entry"
4693
  msgstr ""
4694
 
4695
- #: includes/class-mla-settings-upload-tab.php:1606
4696
  msgid "Select these entries"
4697
  msgstr ""
4698
 
4699
- #: includes/class-mla-settings-view-tab.php:89
4700
  msgid "View settings saved."
4701
  msgstr ""
4702
 
4703
- #: includes/class-mla-settings-view-tab.php:113
4704
  msgid "Edit View"
4705
  msgstr ""
4706
 
4707
- #: includes/class-mla-settings-view-tab.php:119
4708
- #: includes/class-mla-settings-view-tab.php:375
4709
  msgid ""
4710
  "The &#8220;slug&#8221; 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., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
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 "Plural Label"
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., &#8220;Image&#8221; and &#8220;Images&#8221; 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 "Specification"
 
 
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., &#8220;audio,video&#8221; 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:125
4749
- #: includes/class-mla-settings-view-tab.php:381
4750
  msgid "Post MIME Type"
4751
  msgstr ""
4752
 
4753
- #: includes/class-mla-settings-view-tab.php:126
4754
- #: includes/class-mla-settings-view-tab.php:382
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:127
4761
- #: includes/class-mla-settings-view-tab.php:383
4762
  msgid "Table View"
4763
  msgstr ""
4764
 
4765
- #: includes/class-mla-settings-view-tab.php:128
4766
- #: includes/class-mla-settings-view-tab.php:384
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:130
4773
- #: includes/class-mla-settings-view-tab.php:386
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:316
4780
  msgid "View and Post MIME Type Support is disabled"
4781
  msgstr ""
4782
 
4783
- #: includes/class-mla-settings-view-tab.php:360
4784
- #: includes/class-mla-settings-view-tab.php:363
4785
  msgid "Library Views/Post MIME Type Processing"
4786
  msgstr ""
4787
 
4788
- #: includes/class-mla-settings-view-tab.php:361
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
- #. translators: 1: Documentation hyperlink
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:363
4810
  msgid "Library View Processing documentation"
4811
  msgstr ""
4812
 
4813
- #: includes/class-mla-settings-view-tab.php:368
4814
  msgid "Search Views"
4815
  msgstr ""
4816
 
4817
- #: includes/class-mla-settings-view-tab.php:389
4818
  msgid "Add View"
4819
  msgstr ""
4820
 
4821
- #: includes/class-mla-settings-view-tab.php:432
4822
  msgid "No view slug found"
4823
  msgstr ""
4824
 
4825
- #: includes/class-mla-settings.php:404 includes/class-mla-settings.php:603
4826
- #: includes/class-mla-settings.php:1424
4827
  msgid "Settings"
4828
  msgstr ""
4829
 
4830
- #: includes/class-mla-settings.php:423
4831
  msgid "Views per page"
4832
  msgstr ""
4833
 
4834
- #: includes/class-mla-settings.php:434
4835
  msgid "Types per page"
4836
  msgstr ""
4837
 
4838
- #: includes/class-mla-settings.php:445
4839
  msgid "Upload types per page"
4840
  msgstr ""
4841
 
4842
- #: includes/class-mla-settings.php:456
4843
  msgid "Shortcode templates per page"
4844
  msgstr ""
4845
 
4846
- #: includes/class-mla-settings.php:468
 
 
 
 
4847
  msgid "Plugins per page"
4848
  msgstr ""
4849
 
4850
- #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
4851
- #: includes/class-mla-settings.php:675 includes/class-mla-settings.php:712
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:750 includes/class-mla-settings.php:1017
4859
  msgid "Go to Bottom"
4860
  msgstr ""
4861
 
4862
- #: includes/class-mla-settings.php:901
4863
  msgid "General"
4864
  msgstr ""
4865
 
4866
- #: includes/class-mla-settings.php:902
4867
  msgid "Views"
4868
  msgstr ""
4869
 
4870
- #: includes/class-mla-settings.php:903
4871
  msgid "Uploads"
4872
  msgstr ""
4873
 
4874
- #: includes/class-mla-settings.php:905
4875
  msgid "Custom Fields"
4876
  msgstr ""
4877
 
4878
- #: includes/class-mla-settings.php:906
4879
  msgid "IPTC/EXIF"
4880
  msgstr ""
4881
 
4882
- #: includes/class-mla-settings.php:907
4883
  msgid "Documentation"
4884
  msgstr ""
4885
 
4886
- #: includes/class-mla-settings.php:908
4887
  msgid "Debug"
4888
  msgstr ""
4889
 
4890
- #: includes/class-mla-settings.php:1008
4891
  msgid "General Processing Options"
4892
  msgstr ""
4893
 
4894
- #. translators: 1: - 4: page subheader values
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:1010
4905
  msgid "Media/Assistant Table Defaults"
4906
  msgstr ""
4907
 
4908
- #: includes/class-mla-settings.php:1010
4909
  msgid "Media Manager Enhancements"
4910
  msgstr ""
4911
 
4912
- #: includes/class-mla-settings.php:1013
4913
  msgid "Delete General options and restore default settings"
4914
  msgstr ""
4915
 
4916
- #: includes/class-mla-settings.php:1018 includes/class-mla-settings.php:1416
4917
  msgid "Support Our Work"
4918
  msgstr ""
4919
 
4920
- #: includes/class-mla-settings.php:1019 includes/class-mla-settings.php:1022
4921
  msgid "Donate to FTJ"
4922
  msgstr ""
4923
 
4924
- #: includes/class-mla-settings.php:1020 includes/class-mla-settings.php:1417
4925
  msgid "Donate"
4926
  msgstr ""
4927
 
4928
- #. translators: 1: donation hyperlink
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:1022
4939
  msgid "tax-deductible donation"
4940
  msgstr ""
4941
 
4942
- #: includes/class-mla-settings.php:1041
4943
  msgid "enhanced version of the WordPress [gallery] shortcode."
4944
  msgstr ""
4945
 
4946
- #: includes/class-mla-settings.php:1042
4947
  msgid "enhanced version of the WordPress Tag Cloud."
4948
  msgstr ""
4949
 
4950
- #: includes/class-mla-settings.php:1043
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:1055
4957
  msgid "Shortcodes made available by this plugin"
4958
  msgstr ""
4959
 
4960
- #: includes/class-mla-settings.php:1170
4961
  msgid "Debug settings saved."
4962
  msgstr ""
4963
 
4964
- #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
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:1266 includes/class-mla-settings.php:1317
4971
- #: includes/class-mla-settings.php:1341 includes/class-mla-settings.php:1351
4972
- #: includes/class-mla-settings.php:1377
4973
  msgid "Error Log"
4974
  msgstr ""
4975
 
4976
- #. translators: 1: file name
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:1372 includes/class-mla-settings.php:1385
4983
  msgid "Debug Options"
4984
  msgstr ""
4985
 
4986
- #: includes/class-mla-settings.php:1375
4987
  msgid "Debug Settings"
4988
  msgstr ""
4989
 
4990
- #. translators: 1: "Save Changes"
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:1404
4997
  msgid "You do not have permission to manage plugin settings."
4998
  msgstr ""
4999
 
5000
- #: includes/class-mla-settings.php:1436
5001
  msgid "Cannot render content tab"
5002
  msgstr ""
5003
 
5004
- #: includes/class-mla-settings.php:1439
5005
  msgid "Unknown content tab"
5006
  msgstr ""
5007
 
5008
- #. translators: 1: number of attachments
5009
- #: includes/class-mla-settings.php:1478
 
 
 
5010
  #, php-format
5011
  msgid "%s attachment"
5012
  msgid_plural "%s attachments"
5013
  msgstr[0] ""
5014
  msgstr[1] ""
5015
 
5016
- #. translators: 1: singular/plural number of attachments
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:1483
5023
  msgid "No attachments contained this custom field."
5024
  msgstr ""
5025
 
5026
- #. translators: 1: reference type, e.g., Gallery in
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:1566
5034
  msgid "General settings saved."
5035
  msgstr ""
5036
 
5037
- #: includes/class-mla-settings.php:1605
5038
  msgid "General settings reset to default values."
5039
  msgstr ""
5040
 
5041
- #: includes/class-mla-settings.php:1647
5042
  msgid "select settings"
5043
  msgstr ""
5044
 
5045
- #: includes/class-mla-settings.php:1667
5046
  msgid "Import ALL Settings"
5047
  msgstr ""
5048
 
5049
- #: includes/class-mla-settings.php:1696 includes/class-mla-settings.php:1712
5050
  msgctxt "message_list"
5051
  msgid "exported"
5052
  msgstr ""
5053
 
5054
- #: includes/class-mla-settings.php:1698 includes/class-mla-settings.php:1714
5055
  msgctxt "message_list"
5056
  msgid "skipped"
5057
  msgstr ""
5058
 
5059
- #: includes/class-mla-settings.php:1721
5060
  msgid "ALL settings exported."
5061
  msgstr ""
5062
 
5063
- #. translators: 1: ERROR tag 2: backup directory name
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
- #. translators: 1: ERROR tag 2: backup directory name
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
- #. translators: 1: ERROR tag 2: backup file name
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
- #. translators: 1: ERROR tag 2: PHP error information
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
- #. translators: 1: ERROR tag 2: backup file name 3: error message
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
- #. translators: 1: number of option settings
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:1787
5101
  msgid "No settings imported."
5102
  msgstr ""
5103
 
5104
- #: includes/class-mla-settings.php:1796
5105
  msgid "Please select an import settings file from the dropdown list."
5106
  msgstr ""
5107
 
5108
- #: includes/class-mla-settings.php:1800
5109
  msgid "The import settings dropdown selection is missing."
5110
  msgstr ""
5111
 
5112
- #. translators: 1: ERROR tag 2: PHP error information
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
- #. translators: 1: ERROR tag 2: backup file name 3: error message
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:1836 includes/class-mla-settings.php:1852
5126
  msgctxt "message_list"
5127
  msgid "updated"
5128
  msgstr ""
5129
 
5130
- #: includes/class-mla-settings.php:1839 includes/class-mla-settings.php:1855
5131
  msgctxt "message_list"
5132
  msgid "unchanged"
5133
  msgstr ""
5134
 
5135
- #. translators: 1: number of option settings updated 2: number of option settings unchanged
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:1746
5143
- #: includes/class-mla-shortcode-support.php:3768
5144
- #: includes/class-mla-shortcode-support.php:4054
5145
  msgid "Previous"
5146
  msgstr ""
5147
 
5148
  #: includes/class-mla-shortcode-support.php:414
5149
- #: includes/class-mla-shortcode-support.php:1747
5150
- #: includes/class-mla-shortcode-support.php:3817
5151
- #: includes/class-mla-shortcode-support.php:4060
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:1898
5158
- #: includes/class-mla-shortcode-support.php:1905
5159
- #: includes/class-mla-shortcode-support.php:3241
5160
- #: includes/class-mla-shortcode-support.php:3248
5161
  #: includes/class-mla-template-support.php:598
5162
  msgid "not found"
5163
  msgstr ""
5164
 
5165
- #: includes/class-mla-shortcode-support.php:560
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5166
  msgid "mla_debug empty gallery"
5167
  msgstr ""
5168
 
5169
- #: includes/class-mla-shortcode-support.php:647
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:1889
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:3390
5194
  msgid "mla_debug empty list"
5195
  msgstr ""
5196
 
5197
- #: includes/class-mla-shortcode-support.php:3413
5198
  msgid "no-terms"
5199
  msgstr ""
5200
 
5201
- #: includes/class-mla-shortcode-support.php:4455
5202
- #: includes/class-mla-shortcode-support.php:4813
5203
- #: includes/class-mla-shortcode-support.php:4844
5204
  msgid "Invalid mla_gallery"
5205
  msgstr ""
5206
 
5207
- #: includes/class-mla-shortcode-support.php:5132
5208
  msgid "mla_debug query"
5209
  msgstr ""
5210
 
5211
- #: includes/class-mla-shortcode-support.php:5133
5212
  msgid "mla_debug request"
5213
  msgstr ""
5214
 
5215
- #: includes/class-mla-shortcode-support.php:5134
5216
  msgid "mla_debug query_vars"
5217
  msgstr ""
5218
 
5219
- #: includes/class-mla-shortcode-support.php:5135
5220
  msgid "mla_debug post_count"
5221
  msgstr ""
5222
 
5223
- #: includes/class-mla-shortcode-support.php:5203
5224
  msgid "mla_debug WHERE filter"
5225
  msgstr ""
5226
 
5227
- #: includes/class-mla-shortcode-support.php:5227
5228
  msgid "mla_debug modified WHERE filter"
5229
  msgstr ""
5230
 
5231
- #: includes/class-mla-shortcode-support.php:5250
5232
  msgid "mla_debug ORDER BY filter, incoming"
5233
  msgstr ""
5234
 
5235
- #: includes/class-mla-shortcode-support.php:5250
5236
  msgid "Replacement ORDER BY clause"
5237
  msgstr ""
5238
 
5239
- #: includes/class-mla-shortcode-support.php:5273
5240
  msgid "mla_debug posts_clauses filter"
5241
  msgstr ""
5242
 
5243
- #: includes/class-mla-shortcode-support.php:5291
5244
  msgid "mla_debug posts_clauses_request filter"
5245
  msgstr ""
5246
 
5247
- #: includes/class-mla-shortcode-support.php:5484
5248
  msgid "Invalid taxonomy"
5249
  msgstr ""
5250
 
5251
- #: includes/class-mla-shortcode-support.php:5674
5252
  msgid "mla_debug query arguments"
5253
  msgstr ""
5254
 
5255
- #: includes/class-mla-shortcode-support.php:5675
5256
  msgid "mla_debug last_query"
5257
  msgstr ""
5258
 
5259
- #: includes/class-mla-shortcode-support.php:5676
5260
  msgid "mla_debug last_error"
5261
  msgstr ""
5262
 
5263
- #: includes/class-mla-shortcode-support.php:5677
5264
  msgid "mla_debug num_rows"
5265
  msgstr ""
5266
 
5267
- #: includes/class-mla-shortcode-support.php:5678
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:524
5430
  msgid "Generate Thumbnails"
5431
  msgstr ""
5432
 
5433
- #. translators: 1: post ID
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:298
5440
  msgid "has native thumbnail."
5441
  msgstr ""
5442
 
5443
- #: includes/class-mla-thumbnail-generation.php:319
5444
  msgid "Featured Image retained."
5445
  msgstr ""
5446
 
5447
- #. translators: 1: ERROR tag 2: Item post ID
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:333
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
- #. translators: 1: Item post ID
5465
- #: includes/class-mla-thumbnail-generation.php:351
5466
  #, php-format
5467
  msgid "%1$sWordPress-style thumbnail generated."
5468
  msgstr ""
5469
 
5470
- #. translators: 1: ERROR tag 2: Item post ID
5471
- #: includes/class-mla-thumbnail-generation.php:399
5472
  #, php-format
5473
  msgid "%1$s: %2$swp_insert_attachment failed."
5474
  msgstr ""
5475
 
5476
- #. translators: 1: Item post ID, 2: new thumbnail item ID
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:460
 
5483
  msgid "Generated Thumbnails"
5484
  msgstr ""
5485
 
5486
- #: includes/class-mla-thumbnail-generation.php:514
5487
  msgid ""
5488
  "Type &ldquo;WP&rdquo; generates native WordPress thumbnails without creating "
5489
  "a separate image item."
5490
  msgstr ""
5491
 
5492
- #: includes/class-mla-thumbnail-generation.php:525
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:526
5498
  msgid "Width"
5499
  msgstr ""
5500
 
5501
- #: includes/class-mla-thumbnail-generation.php:527
5502
  msgid "Height"
5503
  msgstr ""
5504
 
5505
- #: includes/class-mla-thumbnail-generation.php:528
5506
  msgid "Best Fit"
5507
  msgstr ""
5508
 
5509
- #: includes/class-mla-thumbnail-generation.php:529
5510
  msgid "Page"
5511
  msgstr ""
5512
 
5513
- #: includes/class-mla-thumbnail-generation.php:530
5514
  msgid "Resolution"
5515
  msgstr ""
5516
 
5517
- #: includes/class-mla-thumbnail-generation.php:531
5518
  msgid "Quality"
5519
  msgstr ""
5520
 
5521
- #: includes/class-mla-thumbnail-generation.php:537
5522
  msgid "Existing Items"
5523
  msgstr ""
5524
 
5525
- #: includes/class-mla-thumbnail-generation.php:539
5526
  msgid "Ignore"
5527
  msgstr ""
5528
 
5529
- #: includes/class-mla-thumbnail-generation.php:542
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>&nbsp;&nbsp;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 &amp; 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&rsquo;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 &#8220;extension&#8221; 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., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
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 &#8220;extension&#8221; 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 &#8220;slug&#8221; 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., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
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., &#8220;Image&#8221; and &#8220;Images&#8221; 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., &#8220;audio,video&#8221; 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 &ldquo;WP&rdquo; 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: 2016-11-29 19:03-0800\n"
5
- "PO-Revision-Date: 2016-11-29 19:03-0800\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.4\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,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>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
706
- "this option.<br>&nbsp;&nbsp;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>&nbsp;&nbsp;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
- #. translators: 1: ERROR tag 2: index
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. See the %1$s section of the Documentation for details."
2563
  msgstr ""
2564
 
2565
- msgid "Updating Attachment Metadata Documentation"
 
 
 
2566
  msgstr ""
2567
 
2568
- msgid "Adding or changing Attachment Metadata"
2569
  msgstr ""
2570
 
2571
- #. translators: 1: Documentation hyperlink
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 "Custom Field Options documentation"
2579
  msgstr ""
2580
 
2581
- msgid "Custom field mapping"
2582
  msgstr ""
2583
 
2584
- msgid "Map All Rules, All Attachments Now"
2585
  msgstr ""
2586
 
2587
- #. translators: 1: "Save Changes"
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
- #. translators: 1: "Map All Rules..."
2596
- #, php-format
2597
- msgid ""
2598
- "Click %1$s to apply all the rules at once (rule changes will be applied but "
2599
- "not saved)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- #. translators: 1: number of attachments
 
 
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>&nbsp;&nbsp;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: 2016-11-29 19:02-0800\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,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.4\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,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>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
707
- "this option.<br>&nbsp;&nbsp;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>&nbsp;&nbsp;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
- #. translators: 1: ERROR tag 2: index
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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. See the %1$s section of the Documentation for details."
2564
  msgstr ""
2565
 
2566
- msgid "Updating Attachment Metadata Documentation"
 
 
 
2567
  msgstr ""
2568
 
2569
- msgid "Adding or changing Attachment Metadata"
2570
  msgstr ""
2571
 
2572
- #. translators: 1: Documentation hyperlink
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 "Custom Field Options documentation"
2580
  msgstr ""
2581
 
2582
- msgid "Custom field mapping"
2583
  msgstr ""
2584
 
2585
- msgid "Map All Rules, All Attachments Now"
2586
  msgstr ""
2587
 
2588
- #. translators: 1: "Save Changes"
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
- #. translators: 1: "Map All Rules..."
2597
- #, php-format
2598
- msgid ""
2599
- "Click %1$s to apply all the rules at once (rule changes will be applied but "
2600
- "not saved)."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
- #. translators: 1: number of attachments
 
 
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>&nbsp;&nbsp;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>&#160;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>&#160;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>&#160;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>&#160;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&#160;&#160;<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
+ &mdash; <p>Items on the current page ([entry_id] =&gt; (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
+ &mdash; <p>$post-&gt;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>&#160;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>&#160;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>&#160;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>&#160;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&#160;&#160;<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-367477661"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-367477661" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1531779101"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1531779101" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1653746069"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1653746069" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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#method_admin_columns_support" class="">admin_columns_support()</a><br />
 
 
 
 
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="method_admin_columns_support" name="method_admin_columns_support" class="anchor"></a>
2509
  <article class="method">
2510
- <h3 class="public ">admin_columns_support()</h3>
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;">admin_columns_support(array <span class="argument">$storage_models</span>, object <span class="argument">$cpac</span>) </pre>
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 January 8th, 2017 at 11:24.
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&lt;mixed,\CPAC_Column&gt; <span class="argument">$columns</span>, <span class="argument">$storage_model</span>) </pre>
2596
+ <p><em>Remove duplicate columns from the Admin Columns &quot;Custom&quot; section</em></p>
2597
+
2598
+
2599
+ <h4>Parameters</h4>
2600
+ <table class="table table-condensed table-hover">
2601
+ <tr>
2602
+ <td>array&lt;mixed,\CPAC_Column&gt;</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 &quot;Custom&quot; 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-1782240980"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1782240980" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-930473240"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-930473240" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-528645118"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-528645118" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-331079552"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-331079552" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-703483622"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-703483622" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-483250971"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-483250971" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-967934790"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-967934790" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1533892961"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1533892961" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-456883186"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-456883186" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-171217801"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-171217801" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-950720575"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-950720575" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1421746317"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1421746317" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 = &#039;none&#039;</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
- &mdash; <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 = &#039;none&#039;</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
- &mdash; <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 January 8th, 2017 at 11:24.
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 = &#039;none&#039;</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
+ &mdash; <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 = &#039;none&#039;</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
+ &mdash; <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-1807062630"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1807062630" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1159065805"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1159065805" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1221365644"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1221365644" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1796265830"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1796265830" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1937719750"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1937719750" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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
- <em>No constants found</em>
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
- 1.10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 January 8th, 2017 at 11:24.
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
+ &mdash; <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
+ &mdash; <p>'message' =&gt; status/error messages, 'body' =&gt; 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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <p>'message' =&gt; status/error messages, 'body' =&gt; 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
+ &mdash; <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-1896552058"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1896552058" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1995270064"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1995270064" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1661525049"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1661525049" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-384859655"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-384859655" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 and bulk edit)</em></p>
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 January 8th, 2017 at 11:24.
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-50236415"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-50236415" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 and bulk edit)</em></p>
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 January 8th, 2017 at 11:24.
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-565647259"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-565647259" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-400423287"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-400423287" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-1243006812"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1243006812" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 &quot;public static&quot; 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 January 8th, 2017 at 11:24.
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-431365809"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-431365809" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-2072638107"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-2072638107" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-671647517"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-671647517" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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-711563251"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-711563251" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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
- <em>No public properties found</em>
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 January 8th, 2017 at 11:24.
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-1920527438"></a>
140
  <a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
141
  </div>
142
- <div id="namespace-1920527438" class="accordion-body collapse in">
143
  <div class="accordion-inner">
144
 
145
 
146
  <ul>
147
- <li class="class"><a href="../classes/CPAC_Deprecated_Storage_Model_MLA.html">CPAC_Deprecated_Storage_Model_MLA</a></li>
148
- <li class="class"><a href="../classes/CPAC_Storage_Model_MLA.html">CPAC_Storage_Model_MLA</a></li>
 
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 January 8th, 2017 at 11:24.
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>&#160;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>&#160;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>&#160;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>&#160;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&#160;&#160;<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
+ &mdash; {
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, &#039;none&#039;, &#039;meta&#039; or &#039;template&#039;.
346
+ @type string $meta_name if ( $data_source = &#039;meta&#039; ) attachment metadata element name,
347
+ if ( $data_source = &#039;template ) template value w/o &quot;template:&quot;
348
+ @type string $format Output format, &#039;native&#039;, &#039;commas&#039; or &#039;raw&#039;.
349
+ @type string $option Output option, &#039;text&#039;, &#039;single&#039;. &#039;array&#039; or &#039;multi&#039;.
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 &quot;old bug&quot; 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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <p>MLA custom_field_rule name =&gt; 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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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 = &#039;&#039;</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
+ &mdash; <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 &#039;name&#039; 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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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>&#160;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>&#160;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>&#160;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>&#160;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&#160;&#160;<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 &quot;Custom Fields&quot;
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 =&gt; 'ID_parent, 1 =&gt; '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
+ &mdash; {
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
+ &mdash; <p>name =&gt; 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 &quot;click filter&quot; values in the results. Default true.</p></td>
551
+ </tr>
552
+ </table>
553
+
554
+
555
+ <h4>Returns</h4>
556
+ array
557
+ &mdash; <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 &#039;get_user_option_managesettings_page_mla-settings-menu-custom_fieldcolumnshidden&#039;</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
+ &mdash; <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 &#039;manage_settings_page_mla-settings-menu_columns&#039;</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 &quot;screen options&quot; setup.</p>
648
+
649
+
650
+
651
+ <h4>Returns</h4>
652
+ array
653
+ &mdash; <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&#039;t
684
+ created in time to affect the &quot;screen options&quot; 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&#039;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
+ &mdash; <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 &#039;cb&#039; 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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+ &mdash; <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
+