Media Library Assistant - Version 2.25

Version Description

  • New: Argument Substitution Parameters can be added to custom markup templates to provide default values for shortcode parameters. See the Other Notes section section or the Settings/Media Library Assistant Documentation tab for more information.
  • New: For the Media/Assistant submenu, the list/grid view switcher has been added so you can access the WordPress Media/Library grid view even if the Media/Library submenu entry has been suppressed. A new option in the Settings/Media Library Assistant General tab controls the switcher display.
  • New: Two new Settings/Media Library Assistant General tab options, "Delete Option Settings" and "Delete Option Backups", let you delete MLA settings from the WordPress options table and/or MLA settings backup files when you delete the plugin. The default is to retain settings and backup files, as in previous MLA versions.
  • New: The /media-library-assistant/examples/mla-hooks-example.php.txt example plugin has been enhanced with a new "custom SQL" example. The new example selects one or more "recently uploaded" images that are attached to a post/page.
  • New: The /media-library-assistant/examples/mla-metadata-mapping-hooks-example.php.txt example plugin has been enhanced to restore IPTC/EXIF/XMP metadata to files processed by the Easy Watermark plugin during the upload process.
  • New: A performance improvement has been made to the /media-library-assistant/examples/mla-tax-query-example.php.txt example plugin, replacing two separate SQL queries with a single query/subquery.
  • New: For the Settings/Media Library Assistant Debug tab, you can enter "0" (zero) in the MLA Reporting text box to suppress all MLA debug messages but keep the Debug tab active.
  • New: Error reporting for damaged mla-default-mime-types.tpl files is now optional, and some additional information has been added to the messages.
  • Fix: When invoking the Media/Edit Media submenu from the Media/Assistant submenu "Edit" rollover action, "Update" and "Trash"/"Delete Permanently" actions preserve Media/Assistant as their source.
  • Fix: XML parsing has been improved to avoid PHP Warning messages for documents with empty rdf:description sections.
  • Fix: Initial values are provided for the $post object when [mla_tag_cloud] is called without a parent post/page.
  • Fix: Default values for itemtag, termtag and captiontag are provided when a custom markup template is used with [mla_tag_cloud].
  • Fix: A new filter, mla_tag_cloud_raw_attributes has been added to match the corresponding [mla_gallery] filter. The mla-cloud-hooks-example.php.txt example plugin has been updated to document the new filter.
  • Fix: For XMLRPC calls, the full plugin functionality is loaded so Media Item uploads trigger IPTC/EXIF and Custom Field mapping rules.
  • Fix: The Relevanssi "prevent default request" filter definitions have been repaired, eliminating some PHP warning messages and restoring proper queries in the [mla_gallery] shortcode.
  • Fix: Changes have been made in mla-media-modal-scripts.js to increase compatibility with Enhanced Media Library, by wpUXsolutions.
  • Fix: Changes have been made in the Media/Assistant submenu screen and in mla-media-modal-scripts.js to increase compatibility with WP Media Folder, by JoomUnited.
  • Fix: Some template and metadata parsing error messages have been converted from unconditional error_log() calls to MLA Debug calls so they can be suppressed when not needed.
  • Fix: Information on the [mla_tag_cloud] itemtag, termtag and captiontag parameters has been added to the Documentation tab.
Download this release

Release Info

Developer dglingren
Plugin Icon 128x128 Media Library Assistant
Version 2.25
Comparing to
See all releases

Code changes from version 2.24 to 2.25

Files changed (82) hide show
  1. examples/mla-cloud-hooks-example.php.txt +37 -3
  2. examples/mla-hooks-example.php.txt +80 -4
  3. examples/mla-metadata-mapping-hooks-example.php.txt +102 -367
  4. examples/mla-tax-query-example.php.txt +20 -63
  5. includes/class-mla-admin-columns-support.php +12 -3
  6. includes/class-mla-ajax.php +1 -1
  7. includes/class-mla-core-options.php +1310 -0
  8. includes/class-mla-core.php +140 -1314
  9. includes/class-mla-data-query.php +45 -5
  10. includes/class-mla-data-references.php +12 -12
  11. includes/class-mla-data.php +29 -19
  12. includes/class-mla-edit-media.php +36 -6
  13. includes/class-mla-list-table.php +38 -4
  14. includes/class-mla-main.php +30 -21
  15. includes/class-mla-media-modal-ajax.php +9 -9
  16. includes/class-mla-media-modal.php +23 -23
  17. includes/class-mla-mime-types.php +29 -17
  18. includes/class-mla-objects.php +1 -1
  19. includes/class-mla-options.php +96 -89
  20. includes/class-mla-settings.php +151 -101
  21. includes/class-mla-shortcode-support.php +1319 -153
  22. includes/class-mla-shortcodes.php +22 -1
  23. includes/class-mla-upload-list-table.php +6 -6
  24. includes/class-mla-upload-optional-list-table.php +5 -5
  25. includes/class-mla-view-list-table.php +7 -7
  26. includes/class-mla-wpml-support.php +1 -1
  27. includes/mla-main-search-box-template.php +2 -2
  28. includes/mla-plugin-loader.php +1 -1
  29. index.php +7 -5
  30. js/mla-media-modal-scripts.js +22 -7
  31. js/mla-media-modal-scripts.min.js +1743 -1
  32. languages/media-library-assistant-en_US - References.pot +1065 -968
  33. languages/media-library-assistant-en_US.po +50 -6
  34. languages/media-library-assistant-en_US.pot +49 -5
  35. languages/media-library-assistant-nl_NL.mo +0 -0
  36. languages/media-library-assistant-nl_NL.po +1623 -1558
  37. mla-uninstall.php +92 -0
  38. phpDocs/classes.svg +152 -138
  39. phpDocs/classes/CPAC_Storage_Model_MLA.html +19 -2
  40. phpDocs/classes/MLA.html +7 -4
  41. phpDocs/classes/MLACore.html +36 -444
  42. phpDocs/classes/MLAData.html +2 -2
  43. phpDocs/classes/MLAData_source.html +2 -2
  44. phpDocs/classes/MLAEdit.html +25 -2
  45. phpDocs/classes/MLAImageProcessor.html +2 -2
  46. phpDocs/classes/MLAMime.html +2 -2
  47. phpDocs/classes/MLAModal.html +2 -2
  48. phpDocs/classes/MLAModal_Ajax.html +2 -2
  49. phpDocs/classes/MLAMutex.html +2 -2
  50. phpDocs/classes/MLAObjects.html +2 -2
  51. phpDocs/classes/MLAOptions.html +2 -16
  52. phpDocs/classes/MLAPDF.html +2 -2
  53. phpDocs/classes/MLAQuery.html +25 -2
  54. phpDocs/classes/MLAReferences.html +2 -2
  55. phpDocs/classes/MLASettings.html +2 -2
  56. phpDocs/classes/MLAShortcode_Support.html +203 -5
  57. phpDocs/classes/MLAShortcodes.html +25 -2
  58. phpDocs/classes/MLATest.html +2 -2
  59. phpDocs/classes/MLATextWidget.html +2 -2
  60. phpDocs/classes/MLA_Ajax.html +2 -2
  61. phpDocs/classes/MLA_Checklist_Walker.html +2 -2
  62. phpDocs/classes/MLA_List_Table.html +20 -2
  63. phpDocs/classes/MLA_Polylang.html +2 -2
  64. phpDocs/classes/MLA_Thumbnail.html +2 -2
  65. phpDocs/classes/MLA_Upload_List_Table.html +2 -2
  66. phpDocs/classes/MLA_Upload_Optional_List_Table.html +2 -2
  67. phpDocs/classes/MLA_View_List_Table.html +2 -2
  68. phpDocs/classes/MLA_WPML.html +2 -2
  69. phpDocs/classes/MLA_WPML_List_Table.html +26 -2
  70. phpDocs/classes/MLA_WPML_Table.html +2 -2
  71. phpDocs/classes/MNA_Pad_Counts_Walker.html +2 -2
  72. phpDocs/deprecated.html +2 -2
  73. phpDocs/errors.html +4 -2
  74. phpDocs/graph_class.html +2 -2
  75. phpDocs/index.html +3 -3
  76. phpDocs/markers.html +30 -5
  77. phpDocs/namespaces/global.html +34 -2
  78. phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html +2 -2
  79. phpDocs/packages/Media Library Assistant.MLA.Child.html +2 -2
  80. phpDocs/packages/Media Library Assistant.MLA.html +2 -2
  81. phpDocs/packages/Media Library Assistant.html +39 -2
  82. phpDocs/structure.xml +118 -275
examples/mla-cloud-hooks-example.php.txt CHANGED
@@ -7,7 +7,7 @@
7
  * available in the [mla_tag_cloud] shortcode.
8
  *
9
  * @package MLA Tag Cloud Hooks Example
10
- * @version 1.01
11
  */
12
 
13
  /*
@@ -15,10 +15,10 @@ Plugin Name: MLA Tag Cloud Hooks Example
15
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
16
  Description: Provides an example of hooking the filters provided by the [mla_tag_cloud] shortcode
17
  Author: David Lingren
18
- Version: 1.01
19
  Author URI: http://fairtradejudaica.org/our-story/staff/
20
 
21
- Copyright 2013 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
@@ -67,6 +67,7 @@ class MLATagCloudHooksExample {
67
  *
68
  * Comment out the filters you don't need; save them for future use
69
  */
 
70
  add_filter( 'mla_tag_cloud_attributes', 'MLATagCloudHooksExample::mla_tag_cloud_attributes_filter', 10, 1 );
71
  add_filter( 'mla_tag_cloud_arguments', 'MLATagCloudHooksExample::mla_tag_cloud_arguments_filter', 10, 1 );
72
  add_filter( 'mla_get_terms_query_attributes', 'MLATagCloudHooksExample::mla_get_terms_query_attributes_filter', 10, 1 );
@@ -112,6 +113,39 @@ class MLATagCloudHooksExample {
112
  */
113
  private static $shortcode_attributes = array();
114
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  /**
116
  * MLA Tag Cloud (Display) Attributes
117
  *
7
  * available in the [mla_tag_cloud] shortcode.
8
  *
9
  * @package MLA Tag Cloud Hooks Example
10
+ * @version 1.02
11
  */
12
 
13
  /*
15
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
16
  Description: Provides an example of hooking the filters provided by the [mla_tag_cloud] shortcode
17
  Author: David Lingren
18
+ Version: 1.02
19
  Author URI: http://fairtradejudaica.org/our-story/staff/
20
 
21
+ Copyright 2013-2016 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
67
  *
68
  * Comment out the filters you don't need; save them for future use
69
  */
70
+ add_filter( 'mla_tag_cloud_raw_attributes', 'MLATagCloudHooksExample::mla_tag_cloud_raw_attributes_filter', 10, 1 );
71
  add_filter( 'mla_tag_cloud_attributes', 'MLATagCloudHooksExample::mla_tag_cloud_attributes_filter', 10, 1 );
72
  add_filter( 'mla_tag_cloud_arguments', 'MLATagCloudHooksExample::mla_tag_cloud_arguments_filter', 10, 1 );
73
  add_filter( 'mla_get_terms_query_attributes', 'MLATagCloudHooksExample::mla_get_terms_query_attributes_filter', 10, 1 );
113
  */
114
  private static $shortcode_attributes = array();
115
 
116
+ /**
117
+ * MLA Tag Cloud Raw (Display) Attributes
118
+ *
119
+ * This filter gives you an opportunity to record or modify the arguments passed in to the shortcode
120
+ * before they pass through the logic to handle the 'mla_page_parameter' and "request:" prefix processing.
121
+ *
122
+ * The $shortcode_attributes array is where you will find any of your own parameters that are coded in the
123
+ * shortcode, e.g., [mla_tag_cloud my_parameter="my value"].
124
+ *
125
+ * @since 1.02
126
+ *
127
+ * @param array the raw shortcode parameters passed in to the shortcode
128
+ *
129
+ * @return array updated shortcode attributes
130
+ */
131
+ public static function mla_tag_cloud_raw_attributes_filter( $shortcode_attributes ) {
132
+ /*
133
+ * Uncomment the error_log statements in any of the filters to see what's passed in
134
+ */
135
+ //error_log( 'MLATagCloudHooksExample::mla_tag_cloud_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
136
+
137
+ /*
138
+ * Note that the global $post; object is available here and in all later filters.
139
+ * It contains the post/page on which the [mla_tag_cloud] appears.
140
+ * Some [mla_tag_cloud] invocations are not associated with a post/page; these will
141
+ * have a substitute $post object with $post->ID == 0.
142
+ */
143
+ global $post;
144
+ //error_log( 'MLATagCloudHooksExample::mla_tag_cloud_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
145
+
146
+ return $shortcode_attributes;
147
+ } // mla_tag_cloud_raw_attributes_filter
148
+
149
  /**
150
  * MLA Tag Cloud (Display) Attributes
151
  *
examples/mla-hooks-example.php.txt CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Provides examples of hooking the filters provided by the [mla_gallery] shortcode:
4
  *
5
- * - In the "mla_gallery_query_arguments" filter is an example of custom SQL queries
6
  * that replace the usual get_posts/WP_Query results.
7
  *
8
  * - In the "mla_gallery_item_values" filter are six examples that modify the
@@ -16,7 +16,7 @@
16
  * and illustrates some of the techniques you can use to customize the gallery display.
17
  *
18
  * @package MLA Gallery Hooks Example
19
- * @version 1.07
20
  */
21
 
22
  /*
@@ -24,10 +24,10 @@ Plugin Name: MLA Gallery Hooks Example
24
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
25
  Description: Provides examples of hooking the filters provided by the [mla_gallery] shortcode
26
  Author: David Lingren
27
- Version: 1.07
28
  Author URI: http://fairtradejudaica.org/our-story/staff/
29
 
30
- Copyright 2013, 2014 David Lingren
31
 
32
  This program is free software; you can redistribute it and/or modify
33
  it under the terms of the GNU General Public License as published by
@@ -330,9 +330,83 @@ class MLAGalleryHooksExample {
330
  */
331
  public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
332
  //error_log( 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
 
333
 
334
  self::$all_query_parameters = $all_query_parameters;
335
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
336
  /*
337
  * This example executes a custom SQL query that cannot be done with the usual
338
  * WordPress WP_Query arguments. The query results are fed back to the [mla_gallery]
@@ -524,6 +598,8 @@ class MLAGalleryHooksExample {
524
  } else {
525
  $all_query_parameters['include'] = '1'; // return no images
526
  }
 
 
527
  } // parameter "my_custom_sql" is present
528
 
529
  return $all_query_parameters;
2
  /**
3
  * Provides examples of hooking the filters provided by the [mla_gallery] shortcode:
4
  *
5
+ * - In the "mla_gallery_query_arguments" filter are two examples of custom SQL queries
6
  * that replace the usual get_posts/WP_Query results.
7
  *
8
  * - In the "mla_gallery_item_values" filter are six examples that modify the
16
  * and illustrates some of the techniques you can use to customize the gallery display.
17
  *
18
  * @package MLA Gallery Hooks Example
19
+ * @version 1.08
20
  */
21
 
22
  /*
24
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
25
  Description: Provides examples of hooking the filters provided by the [mla_gallery] shortcode
26
  Author: David Lingren
27
+ Version: 1.08
28
  Author URI: http://fairtradejudaica.org/our-story/staff/
29
 
30
+ Copyright 2013 - 2016 David Lingren
31
 
32
  This program is free software; you can redistribute it and/or modify
33
  it under the terms of the GNU General Public License as published by
330
  */
331
  public static function mla_gallery_query_arguments_filter( $all_query_parameters ) {
332
  //error_log( 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
333
+ //error_log( 'MLAGalleryHooksExample::mla_gallery_query_arguments_filter self::$shortcode_attributes = ' . var_export( self::$shortcode_attributes, true ), 0 );
334
 
335
  self::$all_query_parameters = $all_query_parameters;
336
 
337
+ /*
338
+ * This example executes a custom SQL query that cannot be done with the usual
339
+ * WordPress WP_Query arguments. The query results are fed back to the [mla_gallery]
340
+ * shortcode as a list of attachments using the "include" parameter.
341
+ *
342
+ * The query supported in this example's "recent_random_uploads" parameter selects one
343
+ * random image from the "most recent" uploads. The number of uploads considered "most recent"
344
+ * is taken from the value of the shortcode parameter, e.g., "most_recent_uploads=10" to
345
+ * select ten recent uploads.
346
+ *
347
+ * You can also display more than one image by adding a second value to the parameter,
348
+ * e.g., "most_recent_uploads=10,2" to display 2 of the ten most recent uploads.
349
+ *
350
+ * We use a shortcode parameter of our own to apply this filter on a gallery-by-gallery
351
+ * basis, leaving other [mla_gallery] instances untouched. If the "recent_random_uploads"
352
+ * parameter is not present, we have nothing to do. If the parameter IS present, build a
353
+ * custom query that first selects the recent uploads and then picks one of them at random.
354
+ */
355
+ if ( isset( self::$shortcode_attributes['recent_random_uploads'] ) ) {
356
+ global $wpdb;
357
+
358
+ // Extract the number of "recent posts" to consider and the (optional) number to display
359
+ $limits = explode( ',', self::$shortcode_attributes['recent_random_uploads'] );
360
+ $recent_limit = absint( $limits[0] );
361
+ if ( 0 == $recent_limit ) {
362
+ return $all_query_parameters;
363
+ }
364
+
365
+ $display_limit = isset( $limits[1] ) ? absint( $limits[1] ) : 1;
366
+ if ( 0 == $display_limit ) {
367
+ $display_limit = 1;
368
+ }
369
+
370
+ // Build an array of SQL clauses
371
+ $query = array();
372
+ $query_parameters = array();
373
+
374
+ $query[] = "SELECT p.ID FROM (";
375
+ $query[] = "SELECT ID FROM {$wpdb->posts} WHERE (";
376
+ $query[] = "( post_type = 'attachment' )";
377
+ $query[] = "AND ( post_status = 'inherit' )";
378
+ $query[] = "AND ( post_parent > 0 )";
379
+ $query[] = "AND ( post_mime_type LIKE 'image/%%' )";
380
+ $query[] = ") ORDER BY post_date DESC";
381
+
382
+ $query[] = "LIMIT %d";
383
+ $query_parameters[] = $recent_limit;
384
+
385
+ $query[] = ") AS p ORDER BY RAND()";
386
+
387
+ $query[] = "LIMIT %d";
388
+ $query_parameters[] = $display_limit;
389
+
390
+ $query = join(' ', $query);
391
+ $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
392
+ if ( is_array( $ids ) ) {
393
+ $includes = array();
394
+ foreach ( $ids as $id ) {
395
+ $includes[] = $id->ID;
396
+ }
397
+ $all_query_parameters['include'] = implode( ',', $includes );
398
+ } else {
399
+ $all_query_parameters['include'] = '1'; // return no images
400
+ }
401
+
402
+ // Remove redundant parameters from the final query
403
+ $all_query_parameters['post_mime_type'] = 'all';
404
+ $all_query_parameters['orderby'] = 'none';
405
+ $all_query_parameters['post_status'] = 'all';
406
+
407
+ return $all_query_parameters;
408
+ } // parameter "recent_random_uploads" is present
409
+
410
  /*
411
  * This example executes a custom SQL query that cannot be done with the usual
412
  * WordPress WP_Query arguments. The query results are fed back to the [mla_gallery]
598
  } else {
599
  $all_query_parameters['include'] = '1'; // return no images
600
  }
601
+
602
+ return $all_query_parameters;
603
  } // parameter "my_custom_sql" is present
604
 
605
  return $all_query_parameters;
examples/mla-metadata-mapping-hooks-example.php.txt CHANGED
@@ -8,7 +8,7 @@
8
  * file do the actual work.
9
  *
10
  * @package MLA Metadata Mapping Hooks Example
11
- * @version 1.02
12
  */
13
 
14
  /*
@@ -16,10 +16,10 @@ Plugin Name: MLA Metadata Mapping Hooks Example
16
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
17
  Description: Provides an advanced example of the filters provided by the IPTC/EXIF and Custom Field mapping features
18
  Author: David Lingren
19
- Version: 1.02
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
- Copyright 2014 David Lingren
23
 
24
  This program is free software; you can redistribute it and/or modify
25
  it under the terms of the GNU General Public License as published by
@@ -61,32 +61,13 @@ class MLAMetadataHooksExample {
61
  if ( ! is_admin() )
62
  return;
63
 
64
- /*
65
- * add_filter parameters:
66
- * $tag - name of the hook you're filtering; defined by [mla_gallery]
67
- * $function_to_add - function to be called when [mla_gallery] applies the filter
68
- * $priority - default 10; lower runs earlier, higher runs later
69
- * $accepted_args - number of arguments your function accepts
70
- *
71
- * Comment out the filters you don't need; save them for future use
72
- */
73
  add_filter( 'mla_upload_prefilter', 'MLAMetadataHooksExample::mla_upload_prefilter_filter', 10, 2 );
74
  add_filter( 'mla_upload_filter', 'MLAMetadataHooksExample::mla_upload_filter_filter', 10, 2 );
75
-
76
  add_action( 'mla_add_attachment', 'MLAMetadataHooksExample::mla_add_attachment_action', 10, 1 );
77
-
78
  add_filter( 'mla_update_attachment_metadata_options', 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter', 10, 3 );
79
  add_filter( 'mla_update_attachment_metadata_prefilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter', 10, 3 );
 
80
  add_filter( 'mla_update_attachment_metadata_postfilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_postfilter_filter', 10, 3 );
81
-
82
- add_filter( 'mla_mapping_settings', 'MLAMetadataHooksExample::mla_mapping_settings_filter', 10, 4 );
83
- add_filter( 'mla_mapping_rule', 'MLAMetadataHooksExample::mla_mapping_rule_filter', 10, 4 );
84
- add_filter( 'mla_mapping_custom_value', 'MLAMetadataHooksExample::mla_mapping_custom_value_filter', 10, 5 );
85
- add_filter( 'mla_mapping_iptc_value', 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter', 10, 5 );
86
- add_filter( 'mla_mapping_exif_value', 'MLAMetadataHooksExample::mla_mapping_exif_value_filter', 10, 5 );
87
- add_filter( 'mla_mapping_updates', 'MLAMetadataHooksExample::mla_mapping_updates_filter', 10, 5 );
88
-
89
- add_filter( 'mla_get_options_tablist', 'MLAMetadataHooksExample::mla_get_options_tablist_filter', 10, 3 );
90
  }
91
 
92
  /**
@@ -95,16 +76,44 @@ class MLAMetadataHooksExample {
95
  * Array elements are:
96
  * 'post_id' => 0,
97
  * 'mla_iptc_metadata' => array(),
98
- * 'mla_exif_metadata' => array(),
 
99
  * 'wp_image_metadata' => array(),
 
 
 
100
  *
101
  * @since 1.00
102
  *
103
  * @var array
104
  */
105
  private static $image_metadata = array();
 
 
 
 
 
 
 
 
 
 
 
106
  private static $raw_metadata = array();
107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  /**
109
  * MLA Mapping Upload Prefilter
110
  *
@@ -140,11 +149,11 @@ class MLAMetadataHooksExample {
140
  */
141
  if ( 'image/jpeg' == $file['type'] ) {
142
  self::$raw_metadata = self::_extract_jpeg_metadata( $file['tmp_name'] );
143
- error_log( 'MLAMetadataHooksExample::mla_upload_prefilter_filter $raw_metadata = ' . var_export( self::$raw_metadata, true ), 0 );
144
  } else {
145
  self::$raw_metadata = array();
146
  }
147
 
 
148
  return $file;
149
  } // mla_upload_prefilter_filter
150
 
@@ -199,6 +208,7 @@ class MLAMetadataHooksExample {
199
  * Save the information for use in the later filters
200
  */
201
  self::$image_metadata['post_id'] = $post_id;
 
202
  } // mla_add_attachment_action
203
 
204
  /**
@@ -228,7 +238,7 @@ class MLAMetadataHooksExample {
228
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $post_id = ' . var_export( $post_id, true ), 0 );
229
 
230
  return $options;
231
- } // mla_update_attachment_metadata_prefilter_filter
232
 
233
  /**
234
  * MLA Update Attachment Metadata Prefilter
@@ -258,17 +268,55 @@ class MLAMetadataHooksExample {
258
  * If the metadata has been stripped, try to replace it
259
  * NOTE: Uncomment/comment the "self::" and "$data = " lines to activate/deactivate
260
  */
261
- if ( isset( $data['image_meta']['created_timestamp'] )
262
- && empty( $data['image_meta']['created_timestamp'] ) ) {
263
- //self::_replace_jpeg_metadata( self::$image_metadata['postload_file']['file'], self::$raw_metadata );
264
- //$data = wp_generate_attachment_metadata( $post_id, self::$image_metadata['postload_file']['file'] );
265
- error_log( 'regenerated data = ' . var_export( $data, true ), 0 );
266
-
267
  }
268
 
269
  return $data;
270
  } // mla_update_attachment_metadata_prefilter_filter
271
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  /**
273
  * MLA Update Attachment Metadata Postfilter
274
  *
@@ -292,322 +340,6 @@ class MLAMetadataHooksExample {
292
  return $data;
293
  } // mla_update_attachment_metadata_postfilter_filter
294
 
295
- /**
296
- * MLA Mapping Settings Filter
297
- *
298
- * This filter is called before any mapping rules are executed.
299
- * You can add, change or delete rules from the array.
300
- *
301
- * @since 1.00
302
- *
303
- * @param array mapping rules
304
- * @param integer post ID to be evaluated
305
- * @param string category/scope to evaluate against, e.g., custom_field_mapping or single_attachment_mapping
306
- * @param array attachment_metadata, default NULL
307
- *
308
- * @return array updated mapping rules
309
- */
310
- public static function mla_mapping_settings_filter( $settings, $post_id, $category, $attachment_metadata ) {
311
- //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $settings = ' . var_export( $settings, true ), 0 );
312
- //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $post_id = ' . var_export( $post_id, true ), 0 );
313
- //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $category = ' . var_export( $category, true ), 0 );
314
- //error_log( 'MLAMetadataHooksExample::mla_mapping_settings_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
315
-
316
- /*
317
- * $category gives the context in which the rule is applied:
318
- * 'custom_field_mapping' - mapping custom fields for ALL attachments
319
- * 'single_attachment_mapping' - mapping custom fields for ONE attachments
320
- *
321
- * 'iptc_exif_mapping' - mapping ALL IPTC/EXIF rules
322
- * 'iptc_exif_standard_mapping' - mapping standard field rules
323
- * 'iptc_exif_taxonomy_mapping' - mapping taxonomy term rules
324
- * 'iptc_exif_custom_mapping' - mapping IPTC/EXIF custom field rules
325
- *
326
- * NOTE: 'iptc_exif_mapping' will never be passed to the 'mla_mapping_rule' filter.
327
- * There, one of the three more specific values will be passed.
328
- */
329
-
330
- /*
331
- * For Custom Field Mapping, $settings is an array indexed by
332
- * the custom field name.
333
- * Each array element is a mapping rule; an array containing:
334
- * 'name' => custom field name
335
- * 'data_source' => 'none', 'meta', 'template' or data source name
336
- * 'keep_existing' => boolean; true to preserve existing content
337
- * 'format' => 'native', 'commas', 'raw'
338
- * 'mla_column' => boolean; not used
339
- * 'quick_edit' => boolean; not used
340
- * 'bulk_edit' => boolean; not used
341
- * 'meta_name' => attachment metadata element name or content template
342
- * 'option' => 'text', 'single', 'export', 'array', 'multi'
343
- * 'no_null' => boolean; true to delete empty custom field values
344
- *
345
- * For IPTC/EXIF Mapping, $settings is an array indexed by
346
- * the mapping category; 'standard', 'taxonomy' and 'custom'.
347
- * Each category is an array of rules, with slightly different formats.
348
- *
349
- * Each 'standard' category array element is a rule (array) containing:
350
- * 'name' => field slug; 'post_title', 'post_name', 'image_alt', 'post_excerpt', 'post_content'
351
- * 'iptc_value' => IPTC Identifier or friendly name
352
- * 'exif_value' => EXIF element name
353
- * 'iptc_first' => boolean; true to prefer IPTC value over EXIF value
354
- * 'keep_existing' => boolean; true to preserve existing content
355
- *
356
- * Each 'taxonomy' category array element is a rule (array) containing:
357
- * 'name' => taxonomy slug, e.g., 'post_tag', 'attachment_category'
358
- * 'hierarchical' => boolean; true for hierarchical taxonomies
359
- * 'iptc_value' => IPTC Identifier or friendly name
360
- * 'exif_value' => EXIF element name
361
- * 'iptc_first' => boolean; true to prefer IPTC value over EXIF value
362
- * 'keep_existing' => boolean; true to preserve existing content
363
- * 'parent' => zero for none or the term_id of the parent
364
- * 'delimiters' => term separator(s), e.g., ',;'
365
- *
366
- * Each 'custom' category array element is a rule (array) containing:
367
- * 'name' => custom field name
368
- * 'iptc_value' => IPTC Identifier or friendly name
369
- * 'exif_value' => EXIF element name
370
- * 'iptc_first' => boolean; true to prefer IPTC value over EXIF value
371
- * 'keep_existing' => boolean; true to preserve existing content
372
- */
373
- return $settings;
374
- } // mla_mapping_settings_filter
375
-
376
- /**
377
- * MLA Mapping Rule Filter
378
- *
379
- * This filter is called once for each mapping rule, before the rule
380
- * is evaluated. You can change the rule parameters, or prevent rule
381
- * evaluation by returning $setting_value['data_source'] = 'none';
382
- *
383
- * @since 1.00
384
- *
385
- * @param array custom_field_mapping rule
386
- * @param integer post ID to be evaluated
387
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
388
- * @param array attachment_metadata, default NULL
389
- *
390
- * @return array updated custom_field_mapping rule
391
- */
392
- public static function mla_mapping_rule_filter( $setting_value, $post_id, $category, $attachment_metadata ) {
393
- //error_log( 'MLAMetadataHooksExample::mla_mapping_rule_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
394
- //error_log( 'MLAMetadataHooksExample::mla_mapping_rule_filter $post_id = ' . var_export( $post_id, true ), 0 );
395
- //error_log( 'MLAMetadataHooksExample::mla_mapping_rule_filter $category = ' . var_export( $category, true ), 0 );
396
- //error_log( 'MLAMetadataHooksExample::mla_mapping_rule_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
397
-
398
- /*
399
- * $setting_value is an array containing a mapping rule; see above
400
- * To stop this rule's evaluation and mapping, return NULL
401
- */
402
- return $setting_value;
403
- } // mla_mapping_rule_filter
404
-
405
- /**
406
- * MLA Mapping Custom Field Value Filter
407
- *
408
- * This filter is called once for each custom field mapping rule, after the rule
409
- * is evaluated. You can change the new value produced by the rule.
410
- *
411
- * @since 1.00
412
- *
413
- * @param mixed value returned by the rule
414
- * @param array custom_field_mapping rule
415
- * @param integer post ID to be evaluated
416
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
417
- * @param array attachment_metadata, default NULL
418
- *
419
- * @return array updated rule value
420
- */
421
- public static function mla_mapping_custom_value_filter( $new_text, $setting_value, $post_id, $category, $attachment_metadata ) {
422
- //error_log( 'MLAMetadataHooksExample::mla_mapping_custom_value_filter $new_text = ' . var_export( $new_text, true ), 0 );
423
- //error_log( 'MLAMetadataHooksExample::mla_mapping_custom_value_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
424
- //error_log( 'MLAMetadataHooksExample::mla_mapping_custom_value_filter $post_id = ' . var_export( $post_id, true ), 0 );
425
- //error_log( 'MLAMetadataHooksExample::mla_mapping_custom_value_filter $category = ' . var_export( $category, true ), 0 );
426
- //error_log( 'MLAMetadataHooksExample::mla_mapping_custom_value_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
427
-
428
- /*
429
- * You can use MLAOptions::mla_get_data_source() to get anything available;
430
- * for example:
431
- */
432
- $my_setting = array(
433
- 'data_source' => 'size_names',
434
- 'option' => 'array'
435
- );
436
- //$size_names = MLAOptions::mla_get_data_source($post_id, $category, $my_setting, $attachment_metadata);
437
- //error_log( 'MLAMetadataHooksExample::mla_mapping_custom_value_filter $size_names = ' . var_export( $size_names, true ), 0 );
438
-
439
- /*
440
- * For "empty" values, return ' '.
441
- */
442
- return $new_text;
443
- } // mla_mapping_custom_value_filter
444
-
445
- /**
446
- * MLA Mapping IPTC Value Filter
447
- *
448
- * This filter is called once for each IPTC/EXIF mapping rule, after the IPTC
449
- * portion of the rule is evaluated. You can change the new value produced by
450
- * the rule.
451
- *
452
- * @since 1.00
453
- *
454
- * @param mixed IPTC value returned by the rule
455
- * @param array custom_field_mapping rule
456
- * @param integer post ID to be evaluated
457
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
458
- * @param array attachment_metadata, default NULL
459
- *
460
- * @return array updated rule IPTC value
461
- */
462
- public static function mla_mapping_iptc_value_filter( $iptc_value, $setting_value, $post_id, $category, $attachment_metadata ) {
463
- //error_log( 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter $iptc_value = ' . var_export( $iptc_value, true ), 0 );
464
- //error_log( 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
465
- //error_log( 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter $post_id = ' . var_export( $post_id, true ), 0 );
466
- //error_log( 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter $category = ' . var_export( $category, true ), 0 );
467
- //error_log( 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
468
-
469
- /*
470
- * You can use MLAOptions::mla_get_data_source() to get anything available;
471
- * for example:
472
- */
473
- $my_setting = array(
474
- 'data_source' => 'template',
475
- 'meta_name' => '([+iptc:keywords+])',
476
- 'option' => 'array'
477
- );
478
- //$keywords = MLAOptions::mla_get_data_source($post_id, $category, $my_setting, $attachment_metadata);
479
- //error_log( 'MLAMetadataHooksExample::mla_mapping_iptc_value_filter $keywords = ' . var_export( $keywords, true ), 0 );
480
-
481
- /*
482
- * For "empty" values, return ''.
483
- */
484
- return $iptc_value;
485
- } // mla_mapping_iptc_value_filter
486
-
487
- /**
488
- * MLA Mapping EXIF Value Filter
489
- *
490
- * This filter is called once for each IPTC/EXIF mapping rule, after the EXIF
491
- * portion of the rule is evaluated. You can change the new value produced by
492
- * the rule.
493
- *
494
- * @since 1.00
495
- *
496
- * @param mixed EXIF/Template value returned by the rule
497
- * @param array custom_field_mapping rule
498
- * @param integer post ID to be evaluated
499
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
500
- * @param array attachment_metadata, default NULL
501
- *
502
- * @return array updated rule EXIF/Template value
503
- */
504
- public static function mla_mapping_exif_value_filter( $exif_value, $setting_value, $post_id, $category, $attachment_metadata ) {
505
- //error_log( 'MLAMetadataHooksExample::mla_mapping_exif_value_filter $exif_value = ' . var_export( $exif_value, true ), 0 );
506
- //error_log( 'MLAMetadataHooksExample::mla_mapping_exif_value_filter $setting_value = ' . var_export( $setting_value, true ), 0 );
507
- //error_log( 'MLAMetadataHooksExample::mla_mapping_exif_value_filter $post_id = ' . var_export( $post_id, true ), 0 );
508
- //error_log( 'MLAMetadataHooksExample::mla_mapping_exif_value_filter $category = ' . var_export( $category, true ), 0 );
509
- //error_log( 'MLAMetadataHooksExample::mla_mapping_exif_value_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
510
-
511
- /*
512
- * You can use MLAOptions::mla_get_data_source() to get anything available;
513
- * for example:
514
- */
515
- $my_setting = array(
516
- 'data_source' => 'template',
517
- 'meta_name' => '([+exif:Copyright+])',
518
- 'option' => 'array'
519
- );
520
- //$copyright = MLAOptions::mla_get_data_source($post_id, $category, $my_setting, $attachment_metadata);
521
- //error_log( 'MLAMetadataHooksExample::mla_mapping_exif_value_filter $copyright = ' . var_export( $copyright, true ), 0 );
522
-
523
- /*
524
- * For "empty" 'text' values, return ''.
525
- * For "empty" 'array' values, return NULL.
526
- */
527
- return $exif_value;
528
- } // mla_mapping_exif_value_filter
529
-
530
- /**
531
- * MLA Mapping Updates Filter
532
- *
533
- * This filter is called AFTER all mapping rules are applied.
534
- * You can add, change or remove updates for the attachment's
535
- * standard fields, taxonomies and/or custom fields.
536
- *
537
- * @since 1.00
538
- *
539
- * @param array updates for the attachment's standard fields, taxonomies and/or custom fields
540
- * @param integer post ID to be evaluated
541
- * @param string category/scope to evaluate against: custom_field_mapping or single_attachment_mapping
542
- * @param array mapping rules
543
- * @param array attachment_metadata, default NULL
544
- *
545
- * @return array updated attachment's updates
546
- */
547
- public static function mla_mapping_updates_filter( $updates, $post_id, $category, $settings, $attachment_metadata ) {
548
- //error_log( 'MLAMetadataHooksExample::mla_mapping_updates_filter $updates = ' . var_export( $updates, true ), 0 );
549
- //error_log( 'MLAMetadataHooksExample::mla_mapping_updates_filter $post_id = ' . var_export( $post_id, true ), 0 );
550
- //error_log( 'MLAMetadataHooksExample::mla_mapping_updates_filter $category = ' . var_export( $category, true ), 0 );
551
- //error_log( 'MLAMetadataHooksExample::mla_mapping_updates_filter $settings = ' . var_export( $settings, true ), 0 );
552
- //error_log( 'MLAMetadataHooksExample::mla_mapping_updates_filter $attachment_metadata = ' . var_export( $attachment_metadata, true ), 0 );
553
-
554
- /*
555
- * To stop this rule's updates, return an empty array, i.e., return array();
556
- */
557
- return $updates;
558
- } // mla_mapping_updates_filter
559
-
560
- /**
561
- * MLA Mapping Updates Filter
562
- *
563
- * This filter is called AFTER all mapping rules are applied.
564
- * You can add, change or remove updates for the attachment's
565
- * standard fields, taxonomies and/or custom fields.
566
- *
567
- * @since 1.02
568
- *
569
- * @param array|false The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed.
570
- * @param array The entire tablist
571
- * @param string|NULL tab slug for single-element return or NULL to return entire tablist
572
- *
573
- * @return array updated attachment's updates
574
- */
575
- public static function mla_get_options_tablist_filter( $results, $mla_tablist, $tab ) {
576
- //error_log( 'MLAMetadataHooksExample::mla_get_options_tablist_filter $results = ' . var_export( $results, true ), 0 );
577
- //error_log( 'MLAMetadataHooksExample::mla_get_options_tablist_filter $mla_tablist = ' . var_export( $mla_tablist, true ), 0 );
578
- //error_log( 'MLAMetadataHooksExample::mla_get_options_tablist_filter $tab = ' . var_export( $tab, true ), 0 );
579
-
580
- /*
581
- * Return an updated $mla_tablist ( $tab = NULL ), an updated single element or false
582
- */
583
- return $results;
584
-
585
- /*
586
- * Comment out the above return statement to fall through to this example,
587
- * which removes the "Uploads" tab from the Settings/Media Library Assistant submenu
588
- */
589
- if ( NULL == $tab ) {
590
- unset( $results['upload'] );
591
- } elseif ( 'upload' == $tab ) {
592
- $results = false;
593
- }
594
-
595
- return $results;
596
- } // mla_get_options_tablist_filter
597
-
598
- /*
599
- * Selected JPEG Section Markers
600
- */
601
- const SOF0 = 0xC0; // Baseline Encoding
602
- const SOI = 0xD8; // Start of image
603
- const EOI = 0xD9; // End of image
604
- const SOS = 0xDA; // Start of scan (image data)
605
- const APP0 = 0xE0; // Application segment 0 JFIF Header
606
- const APP1 = 0xE1; // Application segment 1 EXIF/XMP
607
- const APP2 = 0xE2; // Application segment 2 EXIF Flashpix extensions
608
- const APP13 = 0xED; // Application segment 13 IPTC
609
- const COM = 0xFE; // Comment
610
-
611
  /**
612
  * Enumerate the sections of a JPEG file
613
  *
@@ -686,7 +418,7 @@ class MLAMetadataHooksExample {
686
 
687
  $section_value['length'] = $file_offset - $section_value['offset'];
688
  $section_array[] = $section_value;
689
- error_log( 'MLAMetadataHooksExample::_enumerate_jpeg_sections $section_value = ' . var_export( $section_value, true ), 0 );
690
  } // while offset < length
691
 
692
  return $section_array;
@@ -721,6 +453,7 @@ class MLAMetadataHooksExample {
721
  } // foreach section
722
  }
723
 
 
724
  return $metadata;
725
  } // _extract_jpeg_metadata
726
 
@@ -735,12 +468,12 @@ class MLAMetadataHooksExample {
735
  * @return void
736
  */
737
  private static function _replace_jpeg_metadata( $path, $metadata ) {
738
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $path = ' . var_export( $path, true ), 0 );
739
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $marker = ' . var_export( $metadata[0]['marker'], true ), 0 );
740
 
741
  $pathinfo = pathinfo( $path );
742
  $temp_path = $pathinfo['dirname'] . '/' . $pathinfo['filename'] . '-MLA' . $pathinfo['extension'];
743
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $temp_path = ' . var_export( $temp_path, true ), 0 );
744
 
745
  /*
746
  * Default to the old COM section if the destination file lacks one
@@ -776,10 +509,10 @@ class MLAMetadataHooksExample {
776
  unset( $destination_sections[ $index ] );
777
  }
778
  }
779
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $SOI_section = ' . var_export( $SOI_section, true ), 0 );
780
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $APP0_section = ' . var_export( $APP0_section, true ), 0 );
781
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $COM_section = ' . var_export( $COM_section, true ), 0 );
782
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $destination_sections = ' . var_export( $destination_sections, true ), 0 );
783
 
784
  if ( ( NULL == $SOI_section ) || ( NULL == $APP0_section ) ) {
785
  return;
@@ -788,19 +521,19 @@ class MLAMetadataHooksExample {
788
  @unlink( $temp_path );
789
  $temp_handle = @fopen( $temp_path, 'wb' );
790
  if ( false === $temp_handle ) {
791
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fopen error = ' . var_export( error_get_last(), true ), 0 );
792
  return;
793
  }
794
 
795
  if ( false === @fwrite( $temp_handle, $SOI_section ) ) {
796
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite SOI error = ' . var_export( error_get_last(), true ), 0 );
797
  @fclose( $temp_handle );
798
  @unlink( $temp_path );
799
  return;
800
  }
801
 
802
  if ( false === @fwrite( $temp_handle, $APP0_section ) ) {
803
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite APP0 error = ' . var_export( error_get_last(), true ), 0 );
804
  @fclose( $temp_handle );
805
  @unlink( $temp_path );
806
  return;
@@ -808,7 +541,7 @@ class MLAMetadataHooksExample {
808
 
809
  if ( ! empty( $COM_section ) ) {
810
  if ( false === @fwrite( $temp_handle, $COM_section ) ) {
811
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite COM error = ' . var_export( error_get_last(), true ), 0 );
812
  @fclose( $temp_handle );
813
  @unlink( $temp_path );
814
  return;
@@ -816,9 +549,10 @@ class MLAMetadataHooksExample {
816
  }
817
 
818
  foreach ( $metadata as $section ) {
 
819
  if ( false === @fwrite( $temp_handle, $section['content'] ) ) {
820
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite metadata marker = ' . var_export( $section['marker'], true ), 0 );
821
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite metadata error = ' . var_export( error_get_last(), true ), 0 );
822
  @fclose( $temp_handle );
823
  @unlink( $temp_path );
824
  return;
@@ -826,9 +560,10 @@ class MLAMetadataHooksExample {
826
  }
827
 
828
  foreach ( $destination_sections as $section ) {
 
829
  if ( false === @fwrite( $temp_handle, substr( $file_contents, $section['offset'], $section['length'] ) ) ) {
830
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite destination_sections marker = ' . var_export( $section['marker'], true ), 0 );
831
- error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite destination_sections error = ' . var_export( error_get_last(), true ), 0 );
832
  @fclose( $temp_handle );
833
  @unlink( $temp_path );
834
  return;
@@ -836,17 +571,17 @@ class MLAMetadataHooksExample {
836
  }
837
 
838
  if ( false === @fclose( $temp_handle ) ) {
839
- error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata fclose = ' . var_export( error_get_last(), true ), 0 );
840
  return;
841
  }
842
 
843
  if ( false === @unlink( $path ) ) {
844
- error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata unlink = ' . var_export( error_get_last(), true ), 0 );
845
  return;
846
  }
847
 
848
  if ( false === @rename( $temp_path, $path ) ) {
849
- error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata rename = ' . var_export( error_get_last(), true ), 0 );
850
  return;
851
  }
852
  } // if $file_contents
8
  * file do the actual work.
9
  *
10
  * @package MLA Metadata Mapping Hooks Example
11
+ * @version 1.03
12
  */
13
 
14
  /*
16
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
17
  Description: Provides an advanced example of the filters provided by the IPTC/EXIF and Custom Field mapping features
18
  Author: David Lingren
19
+ Version: 1.03
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
+ Copyright 2014-2016 David Lingren
23
 
24
  This program is free software; you can redistribute it and/or modify
25
  it under the terms of the GNU General Public License as published by
61
  if ( ! is_admin() )
62
  return;
63
 
 
 
 
 
 
 
 
 
 
64
  add_filter( 'mla_upload_prefilter', 'MLAMetadataHooksExample::mla_upload_prefilter_filter', 10, 2 );
65
  add_filter( 'mla_upload_filter', 'MLAMetadataHooksExample::mla_upload_filter_filter', 10, 2 );
 
66
  add_action( 'mla_add_attachment', 'MLAMetadataHooksExample::mla_add_attachment_action', 10, 1 );
 
67
  add_filter( 'mla_update_attachment_metadata_options', 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter', 10, 3 );
68
  add_filter( 'mla_update_attachment_metadata_prefilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter', 10, 3 );
69
+ add_action( 'mla_begin_mapping', 'MLAMetadataHooksExample::mla_begin_mapping_action', 10, 2 );
70
  add_filter( 'mla_update_attachment_metadata_postfilter', 'MLAMetadataHooksExample::mla_update_attachment_metadata_postfilter_filter', 10, 3 );
 
 
 
 
 
 
 
 
 
71
  }
72
 
73
  /**
76
  * Array elements are:
77
  * 'post_id' => 0,
78
  * 'mla_iptc_metadata' => array(),
79
+ * 'mla_xmp_metadata' => array(),
80
+ * 'mla_pdf_metadata' => array(),
81
  * 'wp_image_metadata' => array(),
82
+ * 'preload_file' => array( 'name', 'type', 'tmp_name', 'error', 'size' )
83
+ * 'postload_file' => array( 'file', 'url', 'type' )
84
+ * 'id3_metadata' => array(),
85
  *
86
  * @since 1.00
87
  *
88
  * @var array
89
  */
90
  private static $image_metadata = array();
91
+
92
+ /**
93
+ * Save the original JPEG metadata when a file is first uploaded
94
+ *
95
+ * Each array element is:
96
+ * array ( 'marker' => integer section marker, 'content' => string section contents )
97
+ *
98
+ * @since 1.00
99
+ *
100
+ * @var array
101
+ */
102
  private static $raw_metadata = array();
103
 
104
+ /*
105
+ * Selected JPEG Section Markers
106
+ */
107
+ const SOF0 = 0xC0; // 192 Baseline Encoding
108
+ const SOI = 0xD8; // 216 Start of image
109
+ const EOI = 0xD9; // 217 End of image
110
+ const SOS = 0xDA; // 218 Start of scan (image data)
111
+ const APP0 = 0xE0; // 224 Application segment 0 JFIF Header
112
+ const APP1 = 0xE1; // 225 Application segment 1 EXIF/XMP
113
+ const APP2 = 0xE2; // 226 Application segment 2 EXIF Flashpix extensions
114
+ const APP13 = 0xED; // 237 Application segment 13 IPTC
115
+ const COM = 0xFE; // 254 Comment
116
+
117
  /**
118
  * MLA Mapping Upload Prefilter
119
  *
149
  */
150
  if ( 'image/jpeg' == $file['type'] ) {
151
  self::$raw_metadata = self::_extract_jpeg_metadata( $file['tmp_name'] );
 
152
  } else {
153
  self::$raw_metadata = array();
154
  }
155
 
156
+ //error_log( 'MLAMetadataHooksExample::mla_upload_prefilter_filter $raw_metadata = ' . var_export( self::$raw_metadata, true ), 0 );
157
  return $file;
158
  } // mla_upload_prefilter_filter
159
 
208
  * Save the information for use in the later filters
209
  */
210
  self::$image_metadata['post_id'] = $post_id;
211
+ //error_log( 'MLAMetadataHooksExample::mla_add_attachment_action self::$image_metadata = ' . var_export( self::$image_metadata, true ), 0 );
212
  } // mla_add_attachment_action
213
 
214
  /**
238
  //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_options_filter $post_id = ' . var_export( $post_id, true ), 0 );
239
 
240
  return $options;
241
+ } // mla_update_attachment_metadata_options_filter
242
 
243
  /**
244
  * MLA Update Attachment Metadata Prefilter
268
  * If the metadata has been stripped, try to replace it
269
  * NOTE: Uncomment/comment the "self::" and "$data = " lines to activate/deactivate
270
  */
271
+ if ( isset( $data['image_meta']['created_timestamp'] ) && empty( $data['image_meta']['created_timestamp'] ) ) {
272
+ self::_replace_jpeg_metadata( self::$image_metadata['postload_file']['file'], self::$raw_metadata );
273
+ $data = wp_generate_attachment_metadata( $post_id, self::$image_metadata['postload_file']['file'] );
274
+ //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_prefilter_filter regenerated data = ' . var_export( $data, true ), 0 );
 
 
275
  }
276
 
277
  return $data;
278
  } // mla_update_attachment_metadata_prefilter_filter
279
 
280
+ /**
281
+ * MLA Begin Mapping Action
282
+ *
283
+ * This action is called once, before any mapping rules are executed for any item(s).
284
+ *
285
+ * @since 1.01
286
+ *
287
+ * @param string what kind of mapping action is starting:
288
+ * single_custom, single_iptc_exif, bulk_custom, bulk_iptc_exif,
289
+ * create_metadata, update_metadata, custom_fields, custom_rule,
290
+ * iptc_exif_standard, iptc_exif_taxonomy, iptc_exif_custom,
291
+ * iptc_exif_custom_rule
292
+ * @param mixed Attachment ID or NULL, depending on scope
293
+ *
294
+ * @return void updated mapping rules
295
+ */
296
+ public static function mla_begin_mapping_action( $source, $post_id = NULL ) {
297
+ //error_log( 'MLAMappingHooksExample::mla_begin_mapping_action $source = ' . var_export( $source, true ), 0 );
298
+ //error_log( 'MLAMappingHooksExample::mla_begin_mapping_action $post_id = ' . var_export( $post_id, true ), 0 );
299
+
300
+ /*
301
+ * Replace the metadata removed from the images processed by the Easy Watermark plugin
302
+ */
303
+ if ( 'image/jpeg' == self::$image_metadata['postload_file']['type'] ) {
304
+ $metadata = self::_extract_jpeg_metadata( self::$image_metadata['postload_file']['file'] );
305
+ //error_log( 'MLAMetadataHooksExample::mla_update_attachment_metadata_postfilter_filter $metadata = ' . var_export( $metadata, true ), 0 );
306
+ $no_metadata = true;
307
+ foreach ( $metadata as $section ) {
308
+ if ( in_array( $section['marker'], array( self::APP1, self::APP2, self::APP13 ) ) ) {
309
+ $no_metadata = false;
310
+ break;
311
+ }
312
+ }
313
+
314
+ if ( $no_metadata ) {
315
+ self::_replace_jpeg_metadata( self::$image_metadata['postload_file']['file'], self::$raw_metadata );
316
+ }
317
+ }
318
+ } // mla_begin_mapping_action
319
+
320
  /**
321
  * MLA Update Attachment Metadata Postfilter
322
  *
340
  return $data;
341
  } // mla_update_attachment_metadata_postfilter_filter
342
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
343
  /**
344
  * Enumerate the sections of a JPEG file
345
  *
418
 
419
  $section_value['length'] = $file_offset - $section_value['offset'];
420
  $section_array[] = $section_value;
421
+ //error_log( 'MLAMetadataHooksExample::_enumerate_jpeg_sections $section_value = ' . var_export( $section_value, true ), 0 );
422
  } // while offset < length
423
 
424
  return $section_array;
453
  } // foreach section
454
  }
455
 
456
+ //error_log( 'MLAMetadataHooksExample::_extract_jpeg_metadata $metadata = ' . var_export( $metadata, true ), 0 );
457
  return $metadata;
458
  } // _extract_jpeg_metadata
459
 
468
  * @return void
469
  */
470
  private static function _replace_jpeg_metadata( $path, $metadata ) {
471
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $path = ' . var_export( $path, true ), 0 );
472
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $marker = ' . var_export( $metadata[0]['marker'], true ), 0 );
473
 
474
  $pathinfo = pathinfo( $path );
475
  $temp_path = $pathinfo['dirname'] . '/' . $pathinfo['filename'] . '-MLA' . $pathinfo['extension'];
476
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $temp_path = ' . var_export( $temp_path, true ), 0 );
477
 
478
  /*
479
  * Default to the old COM section if the destination file lacks one
509
  unset( $destination_sections[ $index ] );
510
  }
511
  }
512
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $SOI_section = ' . var_export( $SOI_section, true ), 0 );
513
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $APP0_section = ' . var_export( $APP0_section, true ), 0 );
514
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $COM_section = ' . var_export( $COM_section, true ), 0 );
515
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata $destination_sections = ' . var_export( $destination_sections, true ), 0 );
516
 
517
  if ( ( NULL == $SOI_section ) || ( NULL == $APP0_section ) ) {
518
  return;
521
  @unlink( $temp_path );
522
  $temp_handle = @fopen( $temp_path, 'wb' );
523
  if ( false === $temp_handle ) {
524
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fopen error = ' . var_export( error_get_last(), true ), 0 );
525
  return;
526
  }
527
 
528
  if ( false === @fwrite( $temp_handle, $SOI_section ) ) {
529
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite SOI error = ' . var_export( error_get_last(), true ), 0 );
530
  @fclose( $temp_handle );
531
  @unlink( $temp_path );
532
  return;
533
  }
534
 
535
  if ( false === @fwrite( $temp_handle, $APP0_section ) ) {
536
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite APP0 error = ' . var_export( error_get_last(), true ), 0 );
537
  @fclose( $temp_handle );
538
  @unlink( $temp_path );
539
  return;
541
 
542
  if ( ! empty( $COM_section ) ) {
543
  if ( false === @fwrite( $temp_handle, $COM_section ) ) {
544
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite COM error = ' . var_export( error_get_last(), true ), 0 );
545
  @fclose( $temp_handle );
546
  @unlink( $temp_path );
547
  return;
549
  }
550
 
551
  foreach ( $metadata as $section ) {
552
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata metadata $section marker = ' . var_export( $section['marker'], true ), 0 );
553
  if ( false === @fwrite( $temp_handle, $section['content'] ) ) {
554
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite metadata marker = ' . var_export( $section['marker'], true ), 0 );
555
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite metadata error = ' . var_export( error_get_last(), true ), 0 );
556
  @fclose( $temp_handle );
557
  @unlink( $temp_path );
558
  return;
560
  }
561
 
562
  foreach ( $destination_sections as $section ) {
563
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata destination_sections $section marker = ' . var_export( $section['marker'], true ), 0 );
564
  if ( false === @fwrite( $temp_handle, substr( $file_contents, $section['offset'], $section['length'] ) ) ) {
565
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite destination_sections marker = ' . var_export( $section['marker'], true ), 0 );
566
+ //error_log( 'MLAMetadataHooksExample::_replace_jpeg_metadata fwrite destination_sections error = ' . var_export( error_get_last(), true ), 0 );
567
  @fclose( $temp_handle );
568
  @unlink( $temp_path );
569
  return;
571
  }
572
 
573
  if ( false === @fclose( $temp_handle ) ) {
574
+ //error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata fclose = ' . var_export( error_get_last(), true ), 0 );
575
  return;
576
  }
577
 
578
  if ( false === @unlink( $path ) ) {
579
+ //error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata unlink = ' . var_export( error_get_last(), true ), 0 );
580
  return;
581
  }
582
 
583
  if ( false === @rename( $temp_path, $path ) ) {
584
+ //error_log( 'ERROR: MLAMetadataHooksExample::_replace_jpeg_metadata rename = ' . var_export( error_get_last(), true ), 0 );
585
  return;
586
  }
587
  } // if $file_contents
examples/mla-tax-query-example.php.txt CHANGED
@@ -15,7 +15,7 @@
15
  * "mla_gallery_query_arguments" function for documentation on the parameter.
16
  *
17
  * @package MLA tax query Example
18
- * @version 1.02
19
  */
20
 
21
  /*
@@ -23,10 +23,10 @@ Plugin Name: MLA tax query Example
23
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
24
  Description: Replaces the WP_Query tax_query with a more efficient, direct SQL query
25
  Author: David Lingren
26
- Version: 1.02
27
  Author URI: http://fairtradejudaica.org/our-story/staff/
28
 
29
- Copyright 2013 - 2015 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
@@ -112,11 +112,6 @@ class MLATaxQueryExample {
112
  * @return array updated shortcode attributes
113
  */
114
  public static function mla_gallery_attributes( $shortcode_attributes ) {
115
- /*
116
- * Uncomment the error_log statements in any of the filters to see what's passed in
117
- */
118
- //error_log( __LINE__ . ' MLATaxQueryExample::mla_gallery_attributes $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
119
-
120
  /*
121
  * Save the attributes for use in the later filters
122
  */
@@ -178,7 +173,7 @@ class MLATaxQueryExample {
178
  } // foreach $shortcode_attributes
179
 
180
  // mla_terms_taxonomies is shared with keyword search.
181
- self::$search_attributes['mla_terms_search']['taxonomies'] = MLAOptions::mla_supported_taxonomies( 'term-search' );
182
 
183
  if ( empty( self::$search_attributes['mla_search_fields'] ) ) {
184
  self::$search_attributes['mla_search_fields'] = array( 'title', 'content' );
@@ -249,8 +244,6 @@ class MLATaxQueryExample {
249
  }
250
  } // my_custom_sql present
251
 
252
- //error_log( __LINE__ . ' MLATaxQueryExample::mla_gallery_arguments $all_display_parameters = ' . var_export( $all_display_parameters, true ), 0 );
253
-
254
  self::$all_display_parameters = $all_display_parameters;
255
  return $all_display_parameters;
256
  } // mla_gallery_arguments
@@ -316,8 +309,6 @@ class MLATaxQueryExample {
316
  */
317
  private static function single_query( $all_query_parameters, $is_pagination = false ) {
318
  global $wpdb;
319
- //error_log( __LINE__ . ' MLATaxQueryExample::single_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
320
- //error_log( __LINE__ . ' MLATaxQueryExample::single_query $is_pagination = ' . var_export( $is_pagination, true ), 0 );
321
 
322
  /*
323
  * This example executes a custom SQL query that is much simpler than the usual
@@ -464,7 +455,6 @@ class MLATaxQueryExample {
464
  $query = join(' ', $query);
465
  if ( $is_pagination ) {
466
  $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
467
- //error_log( __LINE__ . ' MLATaxQueryExample::single_query $count = ' . var_export( $count, true ), 0 );
468
  return $count;
469
  }
470
 
@@ -479,7 +469,6 @@ class MLATaxQueryExample {
479
  $all_query_parameters['include'] = '1'; // return no images
480
  }
481
 
482
- //error_log( __LINE__ . ' MLATaxQueryExample::single_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
483
  return $all_query_parameters;
484
  } // single_query
485
 
@@ -505,16 +494,14 @@ class MLATaxQueryExample {
505
  */
506
  private static function double_query( $all_query_parameters, $is_pagination = false ) {
507
  global $wpdb;
508
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
509
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $is_pagination = ' . var_export( $is_pagination, true ), 0 );
510
 
511
  /*
512
- * This example executes two custom SQL queries that are more efficient than the usual
513
  * WordPress WP_Query arguments.
514
  *
515
- * The first query is on taxonomy and term(s) only, yielding a list of object_id
516
  * (post ID) values.
517
- * The second query filters the list by post_mime_type and/or keyword search, orders
518
  * it and paginates it.
519
  */
520
 
@@ -564,34 +551,24 @@ class MLATaxQueryExample {
564
  }
565
 
566
  // Build an array of SQL clauses for the term_relationships query
567
- $query = array();
568
- $query_parameters = array();
569
 
570
- $query[] = "SELECT DISTINCT tr.object_id FROM {$wpdb->term_relationships} as tr";
571
 
572
  $placeholders = array();
573
  if ( ! empty( $ttids ) ) {
574
  foreach ( $ttids as $ttid ) {
575
  $placeholders[] = '%s';
576
- $query_parameters[] = $ttid;
577
  }
578
  } else {
579
  $placeholders[] = '%s';
580
- $query_parameters[] = '0';
581
  }
582
 
583
- $query[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
584
- $query = join(' ', $query);
585
- $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
586
- if ( is_array( $ids ) ) {
587
- $includes = array();
588
- foreach ( $ids as $id ) {
589
- $includes[] = $id->object_id;
590
- }
591
- } else {
592
- $all_query_parameters['include'] = '1'; // return no items
593
- return $all_query_parameters;
594
- }
595
 
596
  // Build an array of SQL clauses for the posts query
597
  $query = array();
@@ -603,18 +580,7 @@ class MLATaxQueryExample {
603
  $query[] = "SELECT ID FROM {$wpdb->posts} as p";
604
  }
605
 
606
- $placeholders = array();
607
- if ( ! empty( $includes ) ) {
608
- foreach ( $includes as $include ) {
609
- $placeholders[] = '%s';
610
- $query_parameters[] = $include;
611
- }
612
- } else {
613
- $placeholders[] = '%s';
614
- $query_parameters[] = '0';
615
- }
616
-
617
- $query[] = 'WHERE ( ( p.ID IN (' . join( ',', $placeholders ) . ') )';
618
 
619
  if ( ! empty( self::$shortcode_attributes['post_mime_type'] ) ) {
620
  if ( 'all' != strtolower( self::$shortcode_attributes['post_mime_type'] ) ) {
@@ -628,17 +594,14 @@ class MLATaxQueryExample {
628
  global $wpdb;
629
  $prefix = $wpdb->posts . '.';
630
 
631
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query self::$search_attributes = ' . var_export( self::$search_attributes, true ), 0 );
632
-
633
- MLAData::$search_parameters = self::$search_attributes;
634
 
635
  $query_object = (object) array();
636
- $search_clause = MLAData::mla_query_posts_search_filter( '', $query_object );
637
  $search_clause = str_replace( array( $prefix, '%' ), array( 'p.', '%%' ), $search_clause );
638
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $search_clause = ' . var_export( $search_clause, true ), 0 );
639
  $query[] = $search_clause;
640
 
641
- MLAData::$search_parameters = array( 'debug' => 'none' );
642
  }
643
 
644
  // Close the WHERE clause
@@ -772,17 +735,12 @@ class MLATaxQueryExample {
772
  $all_query_parameters['mla_paginate_total'] = NULL ;
773
  } // ! is_pagination
774
 
775
- $query = join(' ', $query);
776
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $query = ' . var_export( $query, true ), 0 );
777
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $query_parameters = ' . var_export( $query_parameters, true ), 0 );
778
  if ( $is_pagination ) {
779
- $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
780
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $count = ' . var_export( $count, true ), 0 );
781
- return $count;
782
  }
783
 
784
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
785
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $ids = ' . var_export( $ids, true ), 0 );
786
  if ( is_array( $ids ) ) {
787
  $includes = array();
788
  foreach ( $ids as $id ) {
@@ -793,7 +751,6 @@ class MLATaxQueryExample {
793
  $all_query_parameters['include'] = '1'; // return no items
794
  }
795
 
796
- //error_log( __LINE__ . ' MLATaxQueryExample::double_query $all_query_parameters = ' . var_export( $all_query_parameters, true ), 0 );
797
  return $all_query_parameters;
798
  } // double_query
799
  } // Class MLATaxQueryExample
15
  * "mla_gallery_query_arguments" function for documentation on the parameter.
16
  *
17
  * @package MLA tax query Example
18
+ * @version 1.03
19
  */
20
 
21
  /*
23
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
24
  Description: Replaces the WP_Query tax_query with a more efficient, direct SQL query
25
  Author: David Lingren
26
+ Version: 1.03
27
  Author URI: http://fairtradejudaica.org/our-story/staff/
28
 
29
+ Copyright 2013 - 2016 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
112
  * @return array updated shortcode attributes
113
  */
114
  public static function mla_gallery_attributes( $shortcode_attributes ) {
 
 
 
 
 
115
  /*
116
  * Save the attributes for use in the later filters
117
  */
173
  } // foreach $shortcode_attributes
174
 
175
  // mla_terms_taxonomies is shared with keyword search.
176
+ self::$search_attributes['mla_terms_search']['taxonomies'] = MLACore::mla_supported_taxonomies( 'term-search' );
177
 
178
  if ( empty( self::$search_attributes['mla_search_fields'] ) ) {
179
  self::$search_attributes['mla_search_fields'] = array( 'title', 'content' );
244
  }
245
  } // my_custom_sql present
246
 
 
 
247
  self::$all_display_parameters = $all_display_parameters;
248
  return $all_display_parameters;
249
  } // mla_gallery_arguments
309
  */
310
  private static function single_query( $all_query_parameters, $is_pagination = false ) {
311
  global $wpdb;
 
 
312
 
313
  /*
314
  * This example executes a custom SQL query that is much simpler than the usual
455
  $query = join(' ', $query);
456
  if ( $is_pagination ) {
457
  $count = $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
 
458
  return $count;
459
  }
460
 
469
  $all_query_parameters['include'] = '1'; // return no images
470
  }
471
 
 
472
  return $all_query_parameters;
473
  } // single_query
474
 
494
  */
495
  private static function double_query( $all_query_parameters, $is_pagination = false ) {
496
  global $wpdb;
 
 
497
 
498
  /*
499
+ * This example executes a custom SQL query that is more efficient than the usual
500
  * WordPress WP_Query arguments.
501
  *
502
+ * The subquery is on taxonomy and term(s) only, yielding a list of object_id
503
  * (post ID) values.
504
+ * The main query filters the list by post_mime_type and/or keyword search, orders
505
  * it and paginates it.
506
  */
507
 
551
  }
552
 
553
  // Build an array of SQL clauses for the term_relationships query
554
+ $subquery = array();
555
+ $subquery_parameters = array();
556
 
557
+ $subquery[] = "SELECT DISTINCT tr.object_id FROM {$wpdb->term_relationships} as tr";
558
 
559
  $placeholders = array();
560
  if ( ! empty( $ttids ) ) {
561
  foreach ( $ttids as $ttid ) {
562
  $placeholders[] = '%s';
563
+ $subquery_parameters[] = $ttid;
564
  }
565
  } else {
566
  $placeholders[] = '%s';
567
+ $subquery_parameters[] = '0';
568
  }
569
 
570
+ $subquery[] = 'WHERE ( tr.term_taxonomy_id IN (' . join( ',', $placeholders ) . ') )';
571
+ $subquery = join(' ', $subquery);
 
 
 
 
 
 
 
 
 
 
572
 
573
  // Build an array of SQL clauses for the posts query
574
  $query = array();
580
  $query[] = "SELECT ID FROM {$wpdb->posts} as p";
581
  }
582
 
583
+ $query[] = 'WHERE ( ( p.ID IN ( ' . $wpdb->prepare( $subquery, $subquery_parameters ) . ' ) )';
 
 
 
 
 
 
 
 
 
 
 
584
 
585
  if ( ! empty( self::$shortcode_attributes['post_mime_type'] ) ) {
586
  if ( 'all' != strtolower( self::$shortcode_attributes['post_mime_type'] ) ) {
594
  global $wpdb;
595
  $prefix = $wpdb->posts . '.';
596
 
597
+ MLAQuery::$search_parameters = self::$search_attributes;
 
 
598
 
599
  $query_object = (object) array();
600
+ $search_clause = MLAQuery::mla_query_posts_search_filter( '', $query_object );
601
  $search_clause = str_replace( array( $prefix, '%' ), array( 'p.', '%%' ), $search_clause );
 
602
  $query[] = $search_clause;
603
 
604
+ MLAQuery::$search_parameters = array( 'debug' => 'none' );
605
  }
606
 
607
  // Close the WHERE clause
735
  $all_query_parameters['mla_paginate_total'] = NULL ;
736
  } // ! is_pagination
737
 
738
+ $query = join(' ', $query);
 
 
739
  if ( $is_pagination ) {
740
+ return $wpdb->get_var( $wpdb->prepare( $query, $query_parameters ) );
 
 
741
  }
742
 
743
  $ids = $wpdb->get_results( $wpdb->prepare( $query, $query_parameters ) );
 
744
  if ( is_array( $ids ) ) {
745
  $includes = array();
746
  foreach ( $ids as $id ) {
751
  $all_query_parameters['include'] = '1'; // return no items
752
  }
753
 
 
754
  return $all_query_parameters;
755
  } // double_query
756
  } // Class MLATaxQueryExample
includes/class-mla-admin-columns-support.php CHANGED
@@ -14,6 +14,14 @@ defined( 'ABSPATH' ) or die();
14
  * @since 2.22
15
  */
16
  class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
 
 
 
 
 
 
 
 
17
  /**
18
  * Initializes some properties, installs filters and then
19
  * calls the parent constructor to set some default configs.
@@ -27,6 +35,7 @@ class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
27
  $this->type = 'media';
28
  $this->meta_type = 'post';
29
  $this->page = 'upload';
 
30
  $this->post_type = 'attachment';
31
  $this->menu_type = 'other';
32
 
@@ -157,7 +166,7 @@ class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
157
  public function is_current_screen() {
158
  $is_current_screen = parent::is_current_screen();
159
  if ( ! $is_current_screen ) {
160
- if ( ! empty( $_REQUEST['page'] ) && 'mla-menu' == $_REQUEST['page'] ) {
161
  $is_current_screen = true;
162
  }
163
  }
@@ -175,7 +184,7 @@ class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
175
  public function is_columns_screen() {
176
  $is_columns_screen = parent::is_columns_screen();
177
  if ( ! $is_columns_screen ) {
178
- if ( ! empty( $_REQUEST['page'] ) && 'mla-menu' == $_REQUEST['page'] ) {
179
  $is_columns_screen = true;
180
  }
181
  }
@@ -191,7 +200,7 @@ class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
191
  * @return string Link to the Media/Assistant submenu screen
192
  */
193
  protected function get_screen_link() {
194
- return is_network_admin() ? network_admin_url( $this->page . '.php?page=mla-menu' ) : admin_url( $this->page . '.php?page=mla-menu' );
195
  }
196
 
197
  /**
14
  * @since 2.22
15
  */
16
  class CPAC_Storage_Model_MLA extends CPAC_Storage_Model {
17
+ /**
18
+ * Identifies submenu entry in the Admin sidebar, e.g., Media/Assistant in Media
19
+ *
20
+ * @since 2.25
21
+ * @var string
22
+ */
23
+ public $subpage;
24
+
25
  /**
26
  * Initializes some properties, installs filters and then
27
  * calls the parent constructor to set some default configs.
35
  $this->type = 'media';
36
  $this->meta_type = 'post';
37
  $this->page = 'upload';
38
+ $this->subpage = MLACore::ADMIN_PAGE_SLUG;
39
  $this->post_type = 'attachment';
40
  $this->menu_type = 'other';
41
 
166
  public function is_current_screen() {
167
  $is_current_screen = parent::is_current_screen();
168
  if ( ! $is_current_screen ) {
169
+ if ( ! empty( $_REQUEST['page'] ) && MLACore::ADMIN_PAGE_SLUG == $_REQUEST['page'] ) {
170
  $is_current_screen = true;
171
  }
172
  }
184
  public function is_columns_screen() {
185
  $is_columns_screen = parent::is_columns_screen();
186
  if ( ! $is_columns_screen ) {
187
+ if ( ! empty( $_REQUEST['page'] ) && MLACore::ADMIN_PAGE_SLUG == $_REQUEST['page'] ) {
188
  $is_columns_screen = true;
189
  }
190
  }
200
  * @return string Link to the Media/Assistant submenu screen
201
  */
202
  protected function get_screen_link() {
203
+ return is_network_admin() ? network_admin_url( $this->page . '.php?page=' . MLACore::ADMIN_PAGE_SLUG ) : admin_url( $this->page . '.php?page=' . MLACore::ADMIN_PAGE_SLUG );
204
  }
205
 
206
  /**
includes/class-mla-ajax.php CHANGED
@@ -258,7 +258,7 @@ class MLA_Ajax {
258
  /*
259
  * Check for Media Manager Enhancements
260
  */
261
- if ( ( ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TOOLBAR ) ) || ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_GRID_TOOLBAR ) ) ) ) {
262
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-media-modal-ajax.php' );
263
  add_action( 'init', 'MLAModal_Ajax::initialize', 0x7FFFFFFF );
264
  }
258
  /*
259
  * Check for Media Manager Enhancements
260
  */
261
+ if ( ( ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) || ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR ) ) ) ) {
262
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-media-modal-ajax.php' );
263
  add_action( 'init', 'MLAModal_Ajax::initialize', 0x7FFFFFFF );
264
  }
includes/class-mla-core-options.php ADDED
@@ -0,0 +1,1310 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Media Library Assistant Option Definitions
4
+ *
5
+ * @package Media Library Assistant
6
+ * @since 2.25
7
+ */
8
+ defined( 'ABSPATH' ) or die();
9
+
10
+ /**
11
+ * Class MLA (Media Library Assistant) Core Options defines MLA option settings and defaults
12
+ *
13
+ * @package Media Library Assistant
14
+ * @since 2.25
15
+ */
16
+ class MLACoreOptions {
17
+ /**
18
+ * Provides a unique name for the settings page
19
+ *
20
+ * @since 2.20
21
+ *
22
+ * @var string
23
+ */
24
+ const MLA_SETTINGS_SLUG = 'mla-settings-menu';
25
+
26
+ /**
27
+ * Provides a unique name for the current version option
28
+ */
29
+ const MLA_VERSION_OPTION = 'current_version';
30
+
31
+ /**
32
+ * Provides a unique name for the exclude revisions option
33
+ */
34
+ const MLA_EXCLUDE_REVISIONS = 'exclude_revisions';
35
+
36
+ /**
37
+ * Provides a unique name for a database tuning option
38
+ */
39
+ const MLA_FEATURED_IN_TUNING = 'featured_in_tuning';
40
+
41
+ /**
42
+ * Provides a unique name for a database tuning option
43
+ */
44
+ const MLA_INSERTED_IN_TUNING = 'inserted_in_tuning';
45
+
46
+ /**
47
+ * Provides a unique name for a database tuning option
48
+ */
49
+ const MLA_GALLERY_IN_TUNING = 'gallery_in_tuning';
50
+
51
+ /**
52
+ * Provides a unique name for a database tuning option
53
+ */
54
+ const MLA_MLA_GALLERY_IN_TUNING = 'mla_gallery_in_tuning';
55
+
56
+ /**
57
+ * Provides a unique name for the taxonomy count Attachments option
58
+ */
59
+ const MLA_COUNT_TERM_ATTACHMENTS = 'count_term_attachments';
60
+
61
+ /**
62
+ * Provides a unique name for the taxonomy support option
63
+ */
64
+ const MLA_TAXONOMY_SUPPORT = 'taxonomy_support';
65
+
66
+ /**
67
+ * Provides a unique name for the admin screen page title option
68
+ */
69
+ const MLA_SCREEN_PAGE_TITLE = 'admin_screen_page_title';
70
+
71
+ /**
72
+ * Provides a unique name for the admin screen menu title option
73
+ */
74
+ const MLA_SCREEN_MENU_TITLE = 'admin_screen_menu_title';
75
+
76
+ /**
77
+ * Provides a unique name for the admin screen menu order option
78
+ */
79
+ const MLA_SCREEN_ORDER = 'admin_screen_menu_order';
80
+
81
+ /**
82
+ * Provides a unique name for the admin screen remove Media/Library option
83
+ */
84
+ const MLA_SCREEN_DISPLAY_LIBRARY = 'admin_screen_display_default';
85
+
86
+ /**
87
+ * Provides a unique name for the Media/Assistant list/grid switcher option
88
+ */
89
+ const MLA_SCREEN_DISPLAY_SWITCHER = 'admin_screen_display_switcher';
90
+
91
+ /**
92
+ * Provides a unique name for the default orderby option
93
+ */
94
+ const MLA_DEFAULT_ORDERBY = 'default_orderby';
95
+
96
+ /**
97
+ * Provides a unique name for the default order option
98
+ */
99
+ const MLA_DEFAULT_ORDER = 'default_order';
100
+
101
+ /**
102
+ * Provides a unique name for the Media/Assistant submenu table views width option
103
+ */
104
+ const MLA_TABLE_VIEWS_WIDTH = 'table_views_width';
105
+
106
+ /**
107
+ * Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option
108
+ */
109
+ const MLA_TABLE_ICON_SIZE = 'table_icon_size';
110
+
111
+ /**
112
+ * Provides a unique name for the Bulk Update and Map All chunk size option
113
+ */
114
+ const MLA_BULK_CHUNK_SIZE = 'bulk_chunk_size';
115
+
116
+ /**
117
+ * Provides a unique name for the taxonomy filter maximum depth option
118
+ */
119
+ const MLA_TAXONOMY_FILTER_DEPTH = 'taxonomy_filter_depth';
120
+
121
+ /**
122
+ * Provides a unique name for the taxonomy filter maximum depth option
123
+ */
124
+ const MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN = 'taxonomy_filter_include_children';
125
+
126
+ /**
127
+ * Provides a unique name for the display Search Media controls option
128
+ */
129
+ const MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS = 'search_media_filter_show_controls';
130
+
131
+ /**
132
+ * Provides a unique name for the display Search Media controls option
133
+ */
134
+ const MLA_SEARCH_MEDIA_FILTER_DEFAULTS = 'search_media_filter_defaults';
135
+
136
+ /**
137
+ * Provides a "size" attribute value for the EXIF/Template Value field
138
+ */
139
+ const MLA_EXIF_SIZE = 30;
140
+
141
+ /**
142
+ * Provides a unique name for the Custom Field "new rule" key
143
+ */
144
+ const MLA_NEW_CUSTOM_RULE = '__NEW_RULE__';
145
+
146
+ /**
147
+ * Provides a unique name for the Custom Field "new field" key
148
+ */
149
+ const MLA_NEW_CUSTOM_FIELD = '__NEW_FIELD__';
150
+
151
+ /**
152
+ * Provides a unique name for the "searchable taxonomies" option
153
+ */
154
+ const MLA_EDIT_MEDIA_SEARCH_TAXONOMY = 'edit_media_search_taxonomy';
155
+
156
+ /**
157
+ * Provides a unique name for the Edit Media additional meta boxes option
158
+ */
159
+ const MLA_EDIT_MEDIA_META_BOXES = 'edit_media_meta_boxes';
160
+
161
+ /**
162
+ * Provides a unique name for the Media/Add New bulk edit option
163
+ */
164
+ const MLA_ADD_NEW_BULK_EDIT = 'add_new_bulk_edit';
165
+
166
+ /**
167
+ * Provides a unique name for the Media/Add New bulk edit "on top" option
168
+ */
169
+ const MLA_ADD_NEW_BULK_EDIT_ON_TOP = 'add_new_bulk_edit_on_top';
170
+
171
+ /**
172
+ * Provides a unique name for the Media/Add New bulk edit "Open Automatically" option
173
+ */
174
+ const MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN = 'add_new_bulk_edit_auto_open';
175
+
176
+ /**
177
+ * Provides a unique name for the Media Grid toolbar option, which
178
+ * also controls the ATTACHMENT DETAILS enhancements
179
+ */
180
+ const MLA_MEDIA_GRID_TOOLBAR = 'media_grid_toolbar';
181
+
182
+ /**
183
+ * Provides a unique name for the Media Manager toolbar option, which
184
+ * also controls the ATTACHMENT DETAILS enhancements
185
+ */
186
+ const MLA_MEDIA_MODAL_TOOLBAR = 'media_modal_toolbar';
187
+
188
+ /**
189
+ * Provides a unique name for the Media Manager toolbar MIME Types option
190
+ */
191
+ const MLA_MEDIA_MODAL_MIMETYPES = 'media_modal_mimetypes';
192
+
193
+ /**
194
+ * Provides a unique name for the Media Manager toolbar Month and Year option
195
+ */
196
+ const MLA_MEDIA_MODAL_MONTHS = 'media_modal_months';
197
+
198
+ /**
199
+ * Provides a unique name for the Media Manager toolbar Taxonomy Terms option
200
+ */
201
+ const MLA_MEDIA_MODAL_TERMS = 'media_modal_terms';
202
+
203
+ /**
204
+ * Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option
205
+ */
206
+ const MLA_MEDIA_MODAL_TERMS_SEARCH = 'media_modal_terms_search';
207
+
208
+ /**
209
+ * Provides a unique name for the Media Manager toolbar Search Box option
210
+ */
211
+ const MLA_MEDIA_MODAL_SEARCHBOX = 'media_modal_searchbox';
212
+
213
+ /**
214
+ * Provides a unique name for the Media Manager toolbar Search Box Controls option
215
+ */
216
+ const MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS = 'media_modal_searchbox_controls';
217
+
218
+ /**
219
+ * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
220
+ * This option is for hierarchical taxonomies, e.g., "Att. Categories".
221
+ */
222
+ const MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX = 'media_modal_details_category_metabox';
223
+
224
+ /**
225
+ * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
226
+ * This option is for flat taxonomies, e.g., "Att. Tags".
227
+ */
228
+ const MLA_MEDIA_MODAL_DETAILS_TAG_METABOX = 'media_modal_details_tag_metabox';
229
+
230
+ /**
231
+ * Provides a unique name for the Media Manager Attachment Details auto-fill option
232
+ */
233
+ const MLA_MEDIA_MODAL_DETAILS_AUTOFILL = 'media_modal_details_autofill';
234
+
235
+ /**
236
+ * Provides a unique name for the Media Manager orderby option
237
+ */
238
+ const MLA_MEDIA_MODAL_ORDERBY = 'media_modal_orderby';
239
+
240
+ /**
241
+ * Provides a unique name for the Media Manager order option
242
+ */
243
+ const MLA_MEDIA_MODAL_ORDER = 'media_modal_order';
244
+
245
+ /**
246
+ * Provides a unique name for the Media Manager Force Image Default Setings option
247
+ */
248
+ const MLA_DELETE_OPTION_SETTINGS = 'delete_option_settings';
249
+
250
+ /**
251
+ * Provides a unique name for the Media Manager Force Image Default Setings option
252
+ */
253
+ const MLA_DELETE_OPTION_BACKUPS = 'delete_option_backups';
254
+
255
+ /**
256
+ * Provides a unique name for the Media Manager Force Image Default Setings option
257
+ */
258
+ const MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS = 'media_modal_apply_display_settings';
259
+
260
+ /**
261
+ * Provides a unique name for the Post MIME Types option
262
+ */
263
+ const MLA_POST_MIME_TYPES = 'post_mime_types';
264
+
265
+ /**
266
+ * Provides a unique name for the Enable Post MIME Types option
267
+ */
268
+ const MLA_ENABLE_POST_MIME_TYPES = 'enable_post_mime_types';
269
+
270
+ /**
271
+ * Provides a unique name for the Upload MIME Types option
272
+ */
273
+ const MLA_UPLOAD_MIMES = 'upload_mimes';
274
+
275
+ /**
276
+ * Provides a unique name for the Enable Upload MIME Types option
277
+ */
278
+ const MLA_ENABLE_UPLOAD_MIMES = 'enable_upload_mimes';
279
+
280
+ /**
281
+ * Provides a unique name for the Enable MLA Icons option
282
+ */
283
+ const MLA_ENABLE_MLA_ICONS = 'enable_mla_icons';
284
+
285
+ /**
286
+ * Provides a unique name for the Debug display limit option
287
+ */
288
+ const MLA_DEBUG_DISPLAY_LIMIT = 'debug_display_limit';
289
+
290
+ /**
291
+ * Provides a unique name for the Debug alternate log file option
292
+ */
293
+ const MLA_DEBUG_FILE = 'debug_file';
294
+
295
+ /**
296
+ * Provides a unique name for the Debug replace PHP log file option
297
+ */
298
+ const MLA_DEBUG_REPLACE_PHP_LOG = 'debug_replace_php_log';
299
+
300
+ /**
301
+ * Provides a unique name for the Debug replace PHP error_reporting option
302
+ */
303
+ const MLA_DEBUG_REPLACE_PHP_REPORTING = 'debug_replace_php_reporting';
304
+
305
+ /**
306
+ * Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option
307
+ */
308
+ const MLA_DEBUG_REPLACE_LEVEL = 'debug_replace_level';
309
+
310
+ /**
311
+ * $mla_option_definitions defines the database options and admin page areas for setting/updating them
312
+ *
313
+ * The array must be populated at runtime in MLACoreOptions::mla_localize_option_definitions_array();
314
+ * localization calls cannot be placed in the "public static" array definition itself.
315
+ *
316
+ * Each option is defined by an array with the following elements:
317
+ *
318
+ * array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)
319
+ *
320
+ * tab => Settings page tab id for the option
321
+ * name => admin page label or heading text
322
+ * type => 'checkbox', 'header', 'radio', 'select', 'text', 'textarea', 'custom', 'hidden'
323
+ * std => default value
324
+ * help => help text
325
+ * size => text size, default 40
326
+ * cols => textbox columns, default 90
327
+ * rows => textbox rows, default 5
328
+ * options => array of radio or select option values
329
+ * texts => array of radio or select option display texts
330
+ * render => rendering function for 'custom' options. Usage:
331
+ * $options_list .= ['render']( 'render', $key, $value );
332
+ * update => update function for 'custom' options; returns nothing. Usage:
333
+ * $message = ['update']( 'update', $key, $value, $_REQUEST );
334
+ * delete => delete function for 'custom' options; returns nothing. Usage:
335
+ * $message = ['delete']( 'delete', $key, $value, $_REQUEST );
336
+ * reset => reset function for 'custom' options; returns nothing. Usage:
337
+ * $message = ['reset']( 'reset', $key, $value, $_REQUEST );
338
+ */
339
+
340
+ public static $mla_option_definitions = array ();
341
+
342
+ /**
343
+ * Localize $mla_option_definitions array
344
+ *
345
+ * Localization must be done at runtime; these calls cannot be placed in the
346
+ * "public static" array definition itself. Called from MLATest::initialize.
347
+ *
348
+ * @since 2.20
349
+ *
350
+ * @return void
351
+ */
352
+ public static function mla_localize_option_definitions_array() {
353
+ self::$mla_option_definitions = array (
354
+ /*
355
+ * This option records the highest MLA version so-far installed
356
+ */
357
+ self::MLA_VERSION_OPTION =>
358
+ array('tab' => '',
359
+ 'type' => 'hidden',
360
+ 'std' => '0'),
361
+
362
+ /*
363
+ * These checkboxes are no longer used;
364
+ * they are retained for the database version/update check
365
+ */
366
+ 'attachment_category' =>
367
+ array('tab' => '',
368
+ 'name' => __( 'Attachment Categories', 'media-library-assistant' ),
369
+ 'type' => 'hidden', // checkbox',
370
+ 'autoload' => true,
371
+ 'std' => 'checked',
372
+ 'help' => __( 'Check this option to add support for Attachment Categories.', 'media-library-assistant' )),
373
+
374
+ 'attachment_tag' =>
375
+ array('tab' => '',
376
+ 'name' => __( 'Attachment Tags', 'media-library-assistant' ),
377
+ 'type' => 'hidden', // checkbox',
378
+ 'autoload' => true,
379
+ 'std' => 'checked',
380
+ 'help' => __( 'Check this option to add support for Attachment Tags.'), 'media-library-assistant' ),
381
+
382
+ 'where_used_header' =>
383
+ array('tab' => 'general',
384
+ 'name' => __( 'Where-used Reporting', 'media-library-assistant' ),
385
+ 'type' => 'header'),
386
+
387
+ self::MLA_EXCLUDE_REVISIONS =>
388
+ array('tab' => 'general',
389
+ 'name' => __( 'Exclude Revisions', 'media-library-assistant' ),
390
+ 'type' => 'checkbox',
391
+ 'autoload' => true,
392
+ 'std' => 'checked',
393
+ 'help' => __( 'Check this option to exclude revisions from where-used reporting.', 'media-library-assistant' )),
394
+
395
+ 'where_used_subheader' =>
396
+ array('tab' => 'general',
397
+ 'name' => __( 'Where-used database access tuning', 'media-library-assistant' ),
398
+ 'type' => 'subheader'),
399
+
400
+ self::MLA_FEATURED_IN_TUNING =>
401
+ array('tab' => 'general',
402
+ 'name' => __( 'Featured in', 'media-library-assistant' ),
403
+ 'type' => 'select',
404
+ 'autoload' => true,
405
+ 'std' => 'disabled',
406
+ 'options' => array('enabled', 'disabled'),
407
+ 'texts' => array( __( 'Enabled', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
408
+ 'help' => __( 'Search database posts and pages for Featured Image attachments.', 'media-library-assistant' )),
409
+
410
+ self::MLA_INSERTED_IN_TUNING =>
411
+ array('tab' => 'general',
412
+ 'name' => __( 'Inserted in', 'media-library-assistant' ),
413
+ 'type' => 'select',
414
+ 'autoload' => true,
415
+ 'std' => 'disabled',
416
+ 'options' => array('enabled', 'base', 'disabled'),
417
+ 'texts' => array( __( 'Enabled', 'media-library-assistant' ), __( 'Base', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
418
+ 'help' => __( 'Search database posts and pages for attachments embedded in content.<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base name and extension only.', 'media-library-assistant' )),
419
+
420
+ self::MLA_GALLERY_IN_TUNING =>
421
+ array('tab' => 'general',
422
+ 'name' => __( 'Gallery in', 'media-library-assistant' ),
423
+ 'type' => 'select',
424
+ 'autoload' => true,
425
+ 'std' => 'disabled',
426
+ 'options' => array('dynamic', 'refresh', 'cached', 'disabled'),
427
+ 'texts' => array( __( 'Dynamic', 'media-library-assistant' ), __( 'Refresh', 'media-library-assistant' ), __( 'Cached', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
428
+ 'help' => __( 'Search database posts and pages for [ gallery ] shortcode results.<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached.', 'media-library-assistant' )),
429
+
430
+ self::MLA_MLA_GALLERY_IN_TUNING =>
431
+ array('tab' => 'general',
432
+ 'name' => __( 'MLA Gallery in', 'media-library-assistant' ),
433
+ 'type' => 'select',
434
+ 'autoload' => true,
435
+ 'std' => 'disabled',
436
+ 'options' => array('dynamic', 'refresh', 'cached', 'disabled'),
437
+ 'texts' => array( __( 'Dynamic', 'media-library-assistant' ), __( 'Refresh', 'media-library-assistant' ), __( 'Cached', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
438
+ 'help' => __( 'Search database posts and pages for [mla_gallery] shortcode results.<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached.', 'media-library-assistant' )),
439
+
440
+ 'taxonomy_header' =>
441
+ array('tab' => 'general',
442
+ 'name' => __( 'Taxonomy Support', 'media-library-assistant' ),
443
+ 'type' => 'header'),
444
+
445
+ self::MLA_COUNT_TERM_ATTACHMENTS =>
446
+ array('tab' => 'general',
447
+ 'name' => __( 'Compute Attachments Column', 'media-library-assistant' ),
448
+ 'type' => 'checkbox',
449
+ 'autoload' => true,
450
+ 'std' => 'checked',
451
+ 'help' => __( 'Check this option to calculate attachments per term in the Attachments Column.', 'media-library-assistant' )),
452
+
453
+ self::MLA_TAXONOMY_SUPPORT =>
454
+ array('tab' => 'general',
455
+ 'help' => __( 'Check the "<strong>Support</strong>" box to add the taxonomy to the Assistant and the Edit Media screen.', 'media-library-assistant' ) . '<br>' .
456
+ __( 'Check the "<strong>Inline Edit</strong>" box to display the taxonomy in the Quick Edit and Bulk Edit areas.', 'media-library-assistant' ) . '<br>' .
457
+ __( 'Check the "<strong>Term Search</strong>" box to add the taxonomy to the "Search Media/Terms" list.', 'media-library-assistant' ) .
458
+ sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . self::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#terms_search' ), __( 'click here', 'media-library-assistant' ) )
459
+ . '<br>' .
460
+ __( 'Check the "<strong>Checklist</strong>" box to enable the checklist-style meta box for a flat taxonomy.', 'media-library-assistant' ) . '&nbsp;' .
461
+ __( 'You must also check the <strong>"Enable enhanced checklist taxonomies"</strong> box below to enable this feature.', 'media-library-assistant' ) . '<br>' .
462
+ __( 'Check the "<strong>Checked On Top</strong>" box to moved checked terms to the top of the checklist-style meta box.', 'media-library-assistant' ) . '<br>' .
463
+ __( 'Use the "<strong>List Filter</strong>" option to select the taxonomy on which to filter the Assistant table listing.', 'media-library-assistant' ),
464
+ 'std' => array (
465
+ 'tax_support' => array (
466
+ 'attachment_category' => 'checked',
467
+ 'attachment_tag' => 'checked',
468
+ ),
469
+ 'tax_quick_edit' => array (
470
+ 'attachment_category' => 'checked',
471
+ 'attachment_tag' => 'checked',
472
+ ),
473
+ 'tax_term_search' => array (
474
+ 'attachment_category' => 'checked',
475
+ 'attachment_tag' => 'checked',
476
+ ),
477
+ 'tax_flat_checklist' => array(),
478
+ 'tax_checked_on_top' => NULL, // default "true", handled in mla_initialize_tax_checked_on_top
479
+ 'tax_filter' => 'attachment_category'
480
+ ),
481
+ 'type' => 'custom',
482
+ 'render' => 'mla_taxonomy_option_handler',
483
+ 'update' => 'mla_taxonomy_option_handler',
484
+ 'delete' => 'mla_taxonomy_option_handler',
485
+ 'reset' => 'mla_taxonomy_option_handler'),
486
+
487
+ 'media_assistant_header' =>
488
+ array('tab' => 'general',
489
+ 'name' => __( 'Media/Assistant Screen Options', 'media-library-assistant' ),
490
+ 'type' => 'header'),
491
+
492
+ 'admin_sidebar_subheader' =>
493
+ array('tab' => 'general',
494
+ 'name' => __( 'Admin Menu Options', 'media-library-assistant' ),
495
+ 'type' => 'subheader'),
496
+
497
+ self::MLA_SCREEN_PAGE_TITLE =>
498
+ array('tab' => 'general',
499
+ 'name' => __( 'Page Title', 'media-library-assistant' ),
500
+ 'type' => 'text',
501
+ 'autoload' => true,
502
+ 'std' => __( 'Media Library Assistant', 'media-library-assistant' ),
503
+ 'size' => 40,
504
+ 'help' => __( 'Enter the title for the Media/Assistant submenu page', 'media-library-assistant' )),
505
+
506
+ self::MLA_SCREEN_MENU_TITLE =>
507
+ array('tab' => 'general',
508
+ 'name' => __( 'Menu Title', 'media-library-assistant' ),
509
+ 'type' => 'text',
510
+ 'autoload' => true,
511
+ 'std' => __( 'Assistant', 'media-library-assistant' ),
512
+ 'size' => 20,
513
+ 'help' => __( 'Enter the title for the Media/Assistant submenu entry', 'media-library-assistant' )),
514
+
515
+ self::MLA_SCREEN_ORDER =>
516
+ array('tab' => 'general',
517
+ 'name' => __( 'Submenu Order', 'media-library-assistant' ),
518
+ 'type' => 'text',
519
+ 'autoload' => true,
520
+ 'std' => '0',
521
+ 'size' => 2,
522
+ 'help' => __( 'Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;&nbsp;6-9 = after "Library",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after "Add New"', 'media-library-assistant' )),
523
+
524
+ self::MLA_SCREEN_DISPLAY_LIBRARY =>
525
+ array('tab' => 'general',
526
+ 'name' => __( 'Display Media/Library', 'media-library-assistant' ),
527
+ 'type' => 'checkbox',
528
+ 'autoload' => true,
529
+ 'std' => 'checked',
530
+ 'help' => __( 'Check/uncheck this option to display/remove the WordPress Media/Library submenu entry.', 'media-library-assistant' )),
531
+
532
+ self::MLA_SCREEN_DISPLAY_SWITCHER =>
533
+ array('tab' => 'general',
534
+ 'name' => __( 'Display Media/Assistant list/grid view switcher', 'media-library-assistant' ),
535
+ 'type' => 'checkbox',
536
+ 'autoload' => true,
537
+ 'std' => '',
538
+ 'help' => __( 'Check/uncheck this option to display/remove the "list/grid" view switcher on the Media/Assistant submenu.', 'media-library-assistant' )),
539
+
540
+ 'table_defaults_subheader' =>
541
+ array('tab' => 'general',
542
+ 'name' => __( 'Table Defaults', 'media-library-assistant' ),
543
+ 'type' => 'subheader'),
544
+
545
+ self::MLA_DEFAULT_ORDERBY =>
546
+ array('tab' => 'general',
547
+ 'name' => __( 'Order By', 'media-library-assistant' ),
548
+ 'type' => 'select',
549
+ 'autoload' => true,
550
+ 'std' => 'ID',
551
+ 'options' => array('none', 'ID'),
552
+ 'texts' => array( __( 'None', 'media-library-assistant' ), __( 'ID/Parent', 'media-library-assistant' ) ),
553
+ 'help' => __( 'Select the column for the sort order of the Assistant table listing.', 'media-library-assistant' )),
554
+
555
+ self::MLA_DEFAULT_ORDER =>
556
+ array('tab' => 'general',
557
+ 'name' => __( 'Order', 'media-library-assistant' ),
558
+ 'type' => 'radio',
559
+ 'autoload' => true,
560
+ 'std' => 'DESC',
561
+ 'options' => array('ASC', 'DESC'),
562
+ 'texts' => array( __( 'Ascending', 'media-library-assistant' ), __( 'Descending', 'media-library-assistant' ) ),
563
+ 'help' => __( 'Choose the sort order.', 'media-library-assistant' )),
564
+
565
+ self::MLA_TABLE_VIEWS_WIDTH =>
566
+ array('tab' => 'general',
567
+ 'name' => __( 'Views Width', 'media-library-assistant' ),
568
+ 'type' => 'text',
569
+ 'autoload' => true,
570
+ 'std' => '',
571
+ 'size' => 10,
572
+ 'help' => __( 'Enter the width for the views list, in pixels (px) or percent (%)', 'media-library-assistant' )),
573
+
574
+ self::MLA_TABLE_ICON_SIZE =>
575
+ array('tab' => 'general',
576
+ 'name' => __( 'Icon Size', 'media-library-assistant' ),
577
+ 'type' => 'text',
578
+ 'autoload' => true,
579
+ 'std' => '',
580
+ 'size' => 5,
581
+ 'help' => __( 'Enter the size of the thumbnail/icon images, in pixels', 'media-library-assistant' )),
582
+
583
+ self::MLA_BULK_CHUNK_SIZE =>
584
+ array('tab' => 'general',
585
+ 'name' => __( 'Bulk Chunk Size', 'media-library-assistant' ),
586
+ 'type' => 'text',
587
+ 'autoload' => true,
588
+ 'std' => '25',
589
+ 'size' => 5,
590
+ 'help' => __( 'Enter the size of the Bulk Edit and Map All processing chunks', 'media-library-assistant' )),
591
+
592
+ 'taxonomy_filter_subheader' =>
593
+ array('tab' => 'general',
594
+ 'name' => __( 'Taxonomy Filter parameters', 'media-library-assistant' ),
595
+ 'type' => 'subheader'),
596
+
597
+ self::MLA_TAXONOMY_FILTER_DEPTH =>
598
+ array('tab' => 'general',
599
+ 'name' => __( 'Maximum Depth', 'media-library-assistant' ),
600
+ 'type' => 'text',
601
+ 'autoload' => true,
602
+ 'std' => '3',
603
+ 'size' => 2,
604
+ 'help' => __( 'Enter the number of levels displayed for hierarchial taxonomies; enter zero for no limit.', 'media-library-assistant' )),
605
+
606
+ self::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN =>
607
+ array('tab' => 'general',
608
+ 'name' => __( 'Include Children', 'media-library-assistant' ),
609
+ 'type' => 'checkbox',
610
+ 'autoload' => true,
611
+ 'std' => 'checked',
612
+ 'help' => __( 'Check/uncheck this option to include/exclude children for hierarchical taxonomies.', 'media-library-assistant' )),
613
+
614
+ 'search_media_subheader' =>
615
+ array('tab' => 'general',
616
+ 'name' => __( 'Search Media Defaults', 'media-library-assistant' ),
617
+ 'type' => 'subheader'),
618
+
619
+ self::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS =>
620
+ array('tab' => 'general',
621
+ 'name' => __( 'Display Search Controls', 'media-library-assistant' ),
622
+ 'type' => 'checkbox',
623
+ 'autoload' => true,
624
+ 'std' => 'checked',
625
+ 'help' => __( 'Check/uncheck this option to display/hide the and/or connector and search fields controls.', 'media-library-assistant' )),
626
+
627
+ self::MLA_SEARCH_MEDIA_FILTER_DEFAULTS =>
628
+ array('tab' => 'general',
629
+ 'help' => __( 'Use these controls to set defaults for the and/or connector and search fields controls.<br>These defaults will be used for the Search Media boxes on both the Media/Assistant submenu<br>and the Media Manager Modal Window.', 'media-library-assistant' ),
630
+ 'autoload' => true,
631
+ 'std' => array (
632
+ 'search_connector' => 'AND',
633
+ 'search_fields' => array ( 'title', 'content' ),
634
+ ),
635
+ 'type' => 'custom',
636
+ 'render' => 'mla_search_option_handler',
637
+ 'update' => 'mla_search_option_handler',
638
+ 'delete' => 'mla_search_option_handler',
639
+ 'reset' => 'mla_search_option_handler'),
640
+
641
+ 'edit_media_header' =>
642
+ array('tab' => 'general',
643
+ 'name' => __( 'Media/Edit Media Enhancements', 'media-library-assistant' ),
644
+ 'type' => 'header'),
645
+
646
+ self::MLA_EDIT_MEDIA_SEARCH_TAXONOMY =>
647
+ array('tab' => 'general',
648
+ 'name' => __( 'Enable &quot;enhanced checklist&quot; taxonomies', 'media-library-assistant' ),
649
+ 'type' => 'checkbox',
650
+ 'autoload' => true,
651
+ 'std' => 'checked',
652
+ 'help' => __( 'Check this option to enable the "? Search" feature for hierarchical taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables the "checklist-style" support for flat taxonomies, e.g., Att. Tags.', 'media-library-assistant' )),
653
+
654
+ self::MLA_EDIT_MEDIA_META_BOXES =>
655
+ array('tab' => 'general',
656
+ 'name' => __( 'Enable Edit Media additional meta boxes', 'media-library-assistant' ),
657
+ 'type' => 'checkbox',
658
+ 'autoload' => true,
659
+ 'std' => 'checked',
660
+ 'help' => __( 'Check this option to add "Parent Info", "Menu Order", "Attachment Metadata" and four "where-used" meta boxes to the Edit Media screen.', 'media-library-assistant' ) . '<br>&nbsp;&nbsp;' .
661
+ __( 'You can also use Filters to customize the meta boxes.', 'media-library-assistant' ) .
662
+ sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . self::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#mla_edit_meta_boxes' ), __( 'click here', 'media-library-assistant' ) ) ),
663
+
664
+ 'media_add_new_header' =>
665
+ array('tab' => 'general',
666
+ 'name' => __( 'Media/Add New Enhancements', 'media-library-assistant' ),
667
+ 'type' => 'header'),
668
+
669
+ self::MLA_ADD_NEW_BULK_EDIT =>
670
+ array('tab' => 'general',
671
+ 'name' => __( 'Enable &quot;bulk edit&quot; area', 'media-library-assistant' ),
672
+ 'type' => 'checkbox',
673
+ 'autoload' => true,
674
+ 'std' => 'checked',
675
+ 'help' => __( 'Check this option to enable the "Bulk Edit area" feature on the Media/Add New screen.', 'media-library-assistant' )),
676
+
677
+ self::MLA_ADD_NEW_BULK_EDIT_ON_TOP =>
678
+ array('tab' => 'general',
679
+ 'name' => __( '&quot;bulk edit&quot; area on top', 'media-library-assistant' ),
680
+ 'type' => 'checkbox',
681
+ 'autoload' => true,
682
+ 'std' => '',
683
+ 'help' => __( 'Check this option to move the "Bulk Edit area" to the top of the Media/Add New screen.', 'media-library-assistant' )),
684
+
685
+ self::MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN =>
686
+ array('tab' => 'general',
687
+ 'name' => __( '&quot;bulk edit&quot; area initially open', 'media-library-assistant' ),
688
+ 'type' => 'checkbox',
689
+ 'std' => '',
690
+ 'help' => __( 'Check this option to automatically open the "Bulk Edit area" when the Media/Add New screen is displayed.', 'media-library-assistant' )),
691
+
692
+ 'media_modal_header' =>
693
+ array('tab' => 'general',
694
+ 'name' => __( 'Media Manager/Media Grid Enhancements', 'media-library-assistant' ),
695
+ 'type' => 'header'),
696
+
697
+ self::MLA_MEDIA_GRID_TOOLBAR =>
698
+ array('tab' => 'general',
699
+ 'name' => __( 'Enable Media Grid Enhancements', 'media-library-assistant' ),
700
+ 'type' => 'checkbox',
701
+ 'std' => 'checked',
702
+ 'help' => __( 'Check/uncheck this option to enable/disable Media Library Grid View Enhancements.', 'media-library-assistant' )),
703
+
704
+ self::MLA_MEDIA_MODAL_TOOLBAR =>
705
+ array('tab' => 'general',
706
+ 'name' => __( 'Enable Media Manager Enhancements', 'media-library-assistant' ),
707
+ 'type' => 'checkbox',
708
+ 'std' => 'checked',
709
+ 'help' => __( 'Check/uncheck this option to enable/disable Media Manager Modal Window Enhancements.', 'media-library-assistant' )),
710
+
711
+ self::MLA_MEDIA_MODAL_MIMETYPES =>
712
+ array('tab' => 'general',
713
+ 'name' => __( 'Media Manager Enhanced MIME Type filter', 'media-library-assistant' ),
714
+ 'type' => 'checkbox',
715
+ 'std' => 'checked',
716
+ 'help' => __( 'Check this option to filter by more MIME Types, e.g., text, applications.', 'media-library-assistant' )),
717
+
718
+ self::MLA_MEDIA_MODAL_MONTHS =>
719
+ array('tab' => 'general',
720
+ 'name' => __( 'Media Manager Month and Year filter', 'media-library-assistant' ),
721
+ 'type' => 'checkbox',
722
+ 'std' => 'checked',
723
+ 'help' => __( 'Check this option to filter by month and year uploaded.', 'media-library-assistant' )),
724
+
725
+ self::MLA_MEDIA_MODAL_TERMS =>
726
+ array('tab' => 'general',
727
+ 'name' => __( 'Media Manager Category/Tag filter', 'media-library-assistant' ),
728
+ 'type' => 'checkbox',
729
+ 'std' => 'checked',
730
+ 'help' => __( 'Check this option to filter by taxonomy terms.', 'media-library-assistant' )),
731
+
732
+ self::MLA_MEDIA_MODAL_TERMS_SEARCH =>
733
+ array('tab' => 'general',
734
+ 'name' => __( 'Media Manager Terms Search popup', 'media-library-assistant' ),
735
+ 'type' => 'checkbox',
736
+ 'std' => 'checked',
737
+ 'help' => __( 'Check this option to enable the "Terms Search" popup window.', 'media-library-assistant' )),
738
+
739
+ self::MLA_MEDIA_MODAL_SEARCHBOX =>
740
+ array('tab' => 'general',
741
+ 'name' => __( 'Media Manager Enhanced Search Media box', 'media-library-assistant' ),
742
+ 'type' => 'checkbox',
743
+ 'std' => 'checked',
744
+ 'help' => __( 'Check this option to enable search box enhancements.', 'media-library-assistant' )),
745
+
746
+ self::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS =>
747
+ array('tab' => 'general',
748
+ 'name' => __( 'Media Manager Enhanced Search Media Controls', 'media-library-assistant' ),
749
+ 'type' => 'checkbox',
750
+ 'std' => 'checked',
751
+ 'help' => __( 'Check/uncheck this option to display/hide the and/or connector and search fields controls.', 'media-library-assistant' )),
752
+
753
+ self::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX =>
754
+ array('tab' => 'general',
755
+ 'name' => __( 'Media Manager Checklist meta boxes', 'media-library-assistant' ),
756
+ 'type' => 'checkbox',
757
+ 'std' => 'checked',
758
+ 'help' => __( 'Check this option to enable MLA-enhanced meta boxes in the "ATTACHMENT DETAILS" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a <strong>"checklist-style"</strong> meta box.', 'media-library-assistant' )),
759
+
760
+ self::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX =>
761
+ array('tab' => 'general',
762
+ 'name' => __( 'Media Manager Flat meta boxes', 'media-library-assistant' ),
763
+ 'type' => 'checkbox',
764
+ 'std' => 'checked',
765
+ 'help' => __( 'Check this option to enable MLA-enhanced meta boxes in the "ATTACHMENT DETAILS" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</strong>, e.g., "Tags" or "Att. Tags", that do not use the "checklist-style" meta box.', 'media-library-assistant' )),
766
+
767
+ self::MLA_MEDIA_MODAL_DETAILS_AUTOFILL =>
768
+ array('tab' => 'general',
769
+ 'name' => __( 'Media Manager auto-fill meta boxes', 'media-library-assistant' ),
770
+ 'type' => 'checkbox',
771
+ 'std' => '',
772
+ 'help' => __( 'Check this option to automatically fill MLA-enhanced meta boxes in the "ATTACHMENT DETAILS" pane<br>&nbsp;&nbsp;when the item is selected.', 'media-library-assistant' )),
773
+
774
+ self::MLA_MEDIA_MODAL_ORDERBY =>
775
+ array('tab' => '',
776
+ 'name' => __( 'Media Manager Order By', 'media-library-assistant' ),
777
+ 'type' => 'select',
778
+ 'std' => 'default',
779
+ 'options' => array('default', 'none', 'title_name'),
780
+ 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'None', 'media-library-assistant' ), __( 'Title/Name', 'media-library-assistant' )),
781
+ 'help' => __( 'If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a column for the sort order of the Media Library listing.', 'media-library-assistant' )),
782
+
783
+ self::MLA_MEDIA_MODAL_ORDER =>
784
+ array('tab' => '',
785
+ 'name' => __( 'Media Manager Order', 'media-library-assistant' ),
786
+ 'type' => 'radio',
787
+ 'std' => 'default',
788
+ 'options' => array('default', 'ASC', 'DESC'),
789
+ 'texts' => array( '&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', 'Ascending', 'Descending' ),
790
+ 'help' => __( 'Choose the sort order.', 'media-library-assistant' )),
791
+
792
+ 'attachment_display_settings_subheader' =>
793
+ array('tab' => 'general',
794
+ 'name' => __( 'Attachment Display Settings', 'media-library-assistant' ),
795
+ 'type' => 'subheader'),
796
+
797
+ self::MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS =>
798
+ array('tab' => 'general',
799
+ 'name' => __( 'Media Manager Apply Display Settings', 'media-library-assistant' ),
800
+ 'type' => 'checkbox',
801
+ 'std' => 'checked',
802
+ 'help' => __( 'Check this option to always start with the Attachment Display Settings set here,<br>&nbsp;&nbsp;overriding browser-/cookie-based defaults.', 'media-library-assistant' )),
803
+
804
+ 'image_default_align' =>
805
+ array('tab' => 'general',
806
+ 'name' => __( 'Alignment', 'media-library-assistant' ),
807
+ /* translators: 1: option name, e.g., Alignment, Link To or Size */
808
+ 'help' => sprintf( __( 'Select a value for the default %1$s option in the Attachment Display Settings.', 'media-library-assistant' ), __( 'Alignment', 'media-library-assistant' ) ),
809
+ 'std' => 'default',
810
+ 'options' => array('default', 'left', 'center', 'right', 'none'),
811
+ 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'Left', 'media-library-assistant' ), __( 'Center', 'media-library-assistant' ), __( 'Right', 'media-library-assistant' ), __( 'None', 'media-library-assistant' )),
812
+ 'type' => 'custom',
813
+ 'render' => 'mla_attachment_display_settings_option_handler',
814
+ 'update' => 'mla_attachment_display_settings_option_handler',
815
+ 'delete' => 'mla_attachment_display_settings_option_handler',
816
+ 'reset' => 'mla_attachment_display_settings_option_handler'),
817
+
818
+ 'image_default_link_type' =>
819
+ array('tab' => 'general',
820
+ 'name' => __( 'Link To', 'media-library-assistant' ),
821
+ /* translators: 1: option name, e.g., Alignment, Link To or Size */
822
+ 'help' => sprintf( __( 'Select a value for the default %1$s option in the Attachment Display Settings.', 'media-library-assistant' ), __( 'Link To', 'media-library-assistant' ) ),
823
+ 'std' => 'default',
824
+ 'options' => array('default', 'file', 'post', 'custom', 'none'),
825
+ 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'Media File', 'media-library-assistant' ), __( 'Attachment Page', 'media-library-assistant' ), __( 'Custom URL', 'media-library-assistant' ), __( 'None', 'media-library-assistant' )),
826
+ 'type' => 'custom',
827
+ 'render' => 'mla_attachment_display_settings_option_handler',
828
+ 'update' => 'mla_attachment_display_settings_option_handler',
829
+ 'delete' => 'mla_attachment_display_settings_option_handler',
830
+ 'reset' => 'mla_attachment_display_settings_option_handler'),
831
+
832
+ 'image_default_size' =>
833
+ array('tab' => 'general',
834
+ 'name' => __( 'Size', 'media-library-assistant' ),
835
+ /* translators: 1: option name, e.g., Alignment, Link To or Size */
836
+ 'help' => sprintf( __( 'Select a value for the default %1$s option in the Attachment Display Settings.', 'media-library-assistant' ), __( 'Size', 'media-library-assistant' ) ),
837
+ 'std' => 'default',
838
+ 'options' => array('default', 'thumbnail', 'medium', 'large', 'full'),
839
+ 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'Thumbnail', 'media-library-assistant' ), __( 'Medium', 'media-library-assistant' ), __( 'Large', 'media-library-assistant' ), __( 'Full Size', 'media-library-assistant' )),
840
+ 'type' => 'custom',
841
+ 'render' => 'mla_attachment_display_settings_option_handler',
842
+ 'update' => 'mla_attachment_display_settings_option_handler',
843
+ 'delete' => 'mla_attachment_display_settings_option_handler',
844
+ 'reset' => 'mla_attachment_display_settings_option_handler'),
845
+
846
+ 'uninstall_plugin_subheader' =>
847
+ array('tab' => 'general',
848
+ 'name' => __( 'Uninstall (Delete) Plugin Settings', 'media-library-assistant' ),
849
+ 'type' => 'subheader'),
850
+
851
+ self::MLA_DELETE_OPTION_SETTINGS =>
852
+ array('tab' => 'general',
853
+ 'name' => __( 'Delete Option Settings', 'media-library-assistant' ),
854
+ 'type' => 'checkbox',
855
+ 'std' => '',
856
+ 'help' => __( 'Check this option to remove all MLA option settings from the database when the plugin is deleted.<br>&nbsp;&nbsp;<strong>You can make a backup copy</strong> of your settings below by clicking "', 'media-library-assistant' ) . __( 'Export ALL Settings', 'media-library-assistant' ) . '".' ),
857
+
858
+ self::MLA_DELETE_OPTION_BACKUPS =>
859
+ array('tab' => 'general',
860
+ 'name' => __( 'Delete Option Settings Backups', 'media-library-assistant' ),
861
+ 'type' => 'checkbox',
862
+ 'std' => '',
863
+ 'help' => __( 'Check this option to remove the <code>/wp-content/mla-backup</code> directory and its contents when the plugin is deleted.', 'media-library-assistant' )),
864
+
865
+ 'template_header' =>
866
+ array('tab' => 'mla_gallery',
867
+ 'name' => __( 'Default [mla_gallery] Templates and Settings', 'media-library-assistant' ),
868
+ 'type' => 'header'),
869
+
870
+ 'default_tag_cloud_style' =>
871
+ array('tab' => '',
872
+ 'name' => __( 'Style Template', 'media-library-assistant' ),
873
+ 'type' => 'select',
874
+ 'std' => 'tag-cloud',
875
+ 'options' => array(),
876
+ 'texts' => array(),
877
+ /* translators: 1: template type 2: shortcode */
878
+ 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'Style Template', 'media-library-assistant' ), '[mla_tag_cloud]' ) ),
879
+
880
+ 'default_tag_cloud_markup' =>
881
+ array('tab' => '',
882
+ 'name' => __( 'Markup Template', 'media-library-assistant' ),
883
+ 'type' => 'select',
884
+ 'std' => 'tag-cloud',
885
+ 'options' => array(),
886
+ 'texts' => array(),
887
+ /* translators: 1: template type 2: shortcode */
888
+ 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'markup template', 'media-library-assistant' ), '[mla_tag_cloud]' ) ),
889
+
890
+ 'mla_tag_cloud_columns' =>
891
+ array('tab' => '',
892
+ 'name' => __( 'Default columns', 'media-library-assistant' ),
893
+ 'type' => 'text',
894
+ 'std' => '3',
895
+ 'size' => 3,
896
+ 'help' => __( 'Enter the number of [mla_tag_cloud] columns; must be a positive integer.', 'media-library-assistant' )),
897
+
898
+ 'mla_tag_cloud_margin' =>
899
+ array('tab' => '',
900
+ 'name' => __( 'Default mla_margin', 'media-library-assistant' ),
901
+ 'type' => 'text',
902
+ 'std' => '1.5%',
903
+ 'size' => 10,
904
+ 'help' => __( 'Enter the CSS "margin" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
905
+
906
+ 'mla_tag_cloud_itemwidth' =>
907
+ array('tab' => '',
908
+ 'name' => __( 'Default mla_itemwidth', 'media-library-assistant' ),
909
+ 'type' => 'text',
910
+ 'std' => 'calculate',
911
+ 'size' => 10,
912
+ 'help' => __( 'Enter the CSS "width" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "calculate" (the default) to calculate the value taking the "margin" value into account.<br>&nbsp;&nbsp;Enter "exact" to calculate the value without considering the "margin" value.<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
913
+
914
+ 'default_style' =>
915
+ array('tab' => 'mla_gallery',
916
+ 'name' => __( 'Style Template', 'media-library-assistant' ),
917
+ 'type' => 'select',
918
+ 'std' => 'default',
919
+ 'options' => array(),
920
+ 'texts' => array(),
921
+ /* translators: 1: template type 2: shortcode */
922
+ 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'Style Template', 'media-library-assistant' ), '[mla_gallery]' ) ),
923
+
924
+ 'default_markup' =>
925
+ array('tab' => 'mla_gallery',
926
+ 'name' => __( 'Markup Template', 'media-library-assistant' ),
927
+ 'type' => 'select',
928
+ 'std' => 'default',
929
+ 'options' => array(),
930
+ 'texts' => array(),
931
+ /* translators: 1: template type 2: shortcode */
932
+ 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'markup template', 'media-library-assistant' ), '[mla_gallery]' ) ),
933
+
934
+ 'mla_gallery_columns' =>
935
+ array('tab' => 'mla_gallery',
936
+ 'name' => __( 'Default columns', 'media-library-assistant' ),
937
+ 'type' => 'text',
938
+ 'std' => '3',
939
+ 'size' => 3,
940
+ 'help' => __( 'Enter the number of [mla_gallery] columns; must be a positive integer.', 'media-library-assistant' )),
941
+
942
+ 'mla_gallery_margin' =>
943
+ array('tab' => 'mla_gallery',
944
+ 'name' => __( 'Default mla_margin', 'media-library-assistant' ),
945
+ 'type' => 'text',
946
+ 'std' => '1.5%',
947
+ 'size' => 10,
948
+ 'help' => __( 'Enter the CSS "margin" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
949
+
950
+ 'mla_gallery_itemwidth' =>
951
+ array('tab' => 'mla_gallery',
952
+ 'name' => __( 'Default mla_itemwidth', 'media-library-assistant' ),
953
+ 'type' => 'text',
954
+ 'std' => 'calculate',
955
+ 'size' => 10,
956
+ 'help' => __( 'Enter the CSS "width" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "calculate" (the default) to calculate the value taking the "margin" value into account.<br>&nbsp;&nbsp;Enter "exact" to calculate the value without considering the "margin" value.<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
957
+
958
+ 'mal_viewer_header' =>
959
+ array('tab' => 'mla_gallery',
960
+ 'name' => __( 'Thumbnail Substitution Support, mla_viewer', 'media-library-assistant' ),
961
+ 'type' => 'subheader'),
962
+
963
+ 'enable_mla_viewer' =>
964
+ array('tab' => 'mla_gallery',
965
+ 'name' => __( 'Enable thumbnail substitution', 'media-library-assistant' ),
966
+ 'type' => 'checkbox',
967
+ 'std' => 'checked',
968
+ 'help' => __( 'Check this option to allow the "mla_viewer" to generate thumbnail images for PDF documents. Thumbnails are generated dynamically, each time the item appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both Ghostscript and Imagick/ImageMagick must be installed for this feature.</strong>', 'media-library-assistant' )),
969
+
970
+ 'enable_featured_image' =>
971
+ array('tab' => 'mla_gallery',
972
+ 'name' => __( 'Enable Featured Images', 'media-library-assistant' ),
973
+ 'type' => 'checkbox',
974
+ 'std' => 'checked',
975
+ 'help' => __( 'Check this option to extend Featured Image support to all Media Library items. The Featured Image can be used as a thumbnail image for the item in an [mla_gallery] display.', 'media-library-assistant' )),
976
+
977
+ 'enable_featured_image_generation' =>
978
+ array('tab' => 'mla_gallery',
979
+ 'name' => __( 'Enable Featured Image Generation', 'media-library-assistant' ),
980
+ 'type' => 'checkbox',
981
+ 'std' => 'checked',
982
+ 'help' => __( 'Check this option to enable the "Thumbnail" generation action in the Media/Assistant submenu Bulk Actions dropdown.', 'media-library-assistant' )),
983
+
984
+ 'enable_ghostscript_check' =>
985
+ array('tab' => 'mla_gallery',
986
+ 'name' => __( 'Enable explicit Ghostscript check', 'media-library-assistant' ),
987
+ 'type' => 'checkbox',
988
+ 'std' => 'checked',
989
+ 'help' => __( 'Check this option to enable the explicit check for Ghostscript support required for thumbnail generation. If your Ghostscript software is in a non-standard location, unchecking this option bypasses the check. Bad things can happen if Ghostscript is missing but Imagick/ImageMagick is present, so leave this option checked unless you know it is safe to turn it off.', 'media-library-assistant' )),
990
+
991
+ 'ghostscript_path' =>
992
+ array('tab' => 'mla_gallery',
993
+ 'name' => __( 'Ghostscript path', 'media-library-assistant' ),
994
+ 'type' => 'text',
995
+ 'std' => '',
996
+ 'size' => 20,
997
+ 'help' => __( 'If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will override the search for Ghostscript in other places.', 'media-library-assistant' )),
998
+
999
+ /*
1000
+ * Managed by mla_get_style_templates and mla_put_style_templates
1001
+ */
1002
+ 'style_templates' =>
1003
+ array('tab' => '',
1004
+ 'type' => 'hidden',
1005
+ 'std' => array()),
1006
+
1007
+ /*
1008
+ * Managed by mla_get_markup_templates and mla_put_markup_templates
1009
+ */
1010
+ 'markup_templates' =>
1011
+ array('tab' => '',
1012
+ 'type' => 'hidden',
1013
+ 'std' => array()),
1014
+
1015
+ 'enable_custom_field_mapping' =>
1016
+ array('tab' => 'custom_field',
1017
+ 'name' => __( 'Enable custom field mapping when adding new media', 'media-library-assistant' ),
1018
+ 'type' => 'checkbox',
1019
+ 'std' => '',
1020
+ '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' )),
1021
+
1022
+ 'enable_custom_field_update' =>
1023
+ array('tab' => 'custom_field',
1024
+ 'name' => __( 'Enable custom field mapping when updating media metadata', 'media-library-assistant' ),
1025
+ 'type' => 'checkbox',
1026
+ 'std' => '',
1027
+ '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' )),
1028
+
1029
+ 'custom_field_mapping' =>
1030
+ array('tab' => '',
1031
+ 'help' => __( 'Update the custom field mapping values above, then click Save Changes to make the updates permanent.<br>You can also make temporary updates and click a Map All Attachments button to apply the rule(s) to all attachments without saving any rule changes.', 'media-library-assistant' ),
1032
+ 'std' => array(),
1033
+ 'type' => 'custom',
1034
+ 'render' => 'mla_custom_field_option_handler',
1035
+ 'update' => 'mla_custom_field_option_handler',
1036
+ 'delete' => 'mla_custom_field_option_handler',
1037
+ 'reset' => 'mla_custom_field_option_handler'),
1038
+
1039
+ 'enable_iptc_exif_mapping' =>
1040
+ array('tab' => 'iptc_exif',
1041
+ 'name' => __( 'Enable IPTC/EXIF Mapping when adding new media', 'media-library-assistant' ),
1042
+ 'type' => 'checkbox',
1043
+ 'std' => '',
1044
+ 'help' => __( 'Check this option to enable mapping when uploading new media (attachments).<br>&nbsp;&nbsp;Does NOT affect the operation of the "Map" buttons on the bulk edit, single edit and settings screens.', 'media-library-assistant' )),
1045
+
1046
+ 'enable_iptc_exif_update' =>
1047
+ array('tab' => 'iptc_exif',
1048
+ 'name' => __( 'Enable IPTC/EXIF Mapping when updating media metadata', 'media-library-assistant' ),
1049
+ 'type' => 'checkbox',
1050
+ 'std' => '',
1051
+ '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' )),
1052
+
1053
+ 'iptc_exif_standard_mapping' =>
1054
+ array('tab' => '',
1055
+ 'help' => __( 'Update the standard field mapping values above, then click <strong>Save Changes</strong> to make the updates permanent.<br>You can also make temporary updates and click <strong>Map All Attachments, Standard Fields Now</strong> to apply the updates to all attachments without saving the rule changes.', 'media-library-assistant' ),
1056
+ 'std' => NULL,
1057
+ 'type' => 'custom',
1058
+ 'render' => 'mla_iptc_exif_option_handler',
1059
+ 'update' => 'mla_iptc_exif_option_handler',
1060
+ 'delete' => 'mla_iptc_exif_option_handler',
1061
+ 'reset' => 'mla_iptc_exif_option_handler'),
1062
+
1063
+ 'iptc_exif_taxonomy_mapping' =>
1064
+ array('tab' => '',
1065
+ 'help' => __( 'Update the taxonomy term mapping values above, then click <strong>Save Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>.', 'media-library-assistant' ),
1066
+ 'std' => NULL,
1067
+ 'type' => 'custom',
1068
+ 'render' => 'mla_iptc_exif_option_handler',
1069
+ 'update' => 'mla_iptc_exif_option_handler',
1070
+ 'delete' => 'mla_iptc_exif_option_handler',
1071
+ 'reset' => 'mla_iptc_exif_option_handler'),
1072
+
1073
+ 'iptc_exif_custom_mapping' =>
1074
+ array('tab' => '',
1075
+ 'help' => __( '<strong>Update</strong> individual custom field mapping values above, or make several updates and click <strong>Save Changes</strong> below to apply them all at once.<br>You can also <strong>add a new rule</strong> for an existing field or <strong>add a new field</strong> and rule.<br>You can make temporary updates and click <strong>Map All Attachments, Custom Fields Now</strong> to apply the updates to all attachments without saving the rule changes.', 'media-library-assistant' ),
1076
+ 'std' => NULL,
1077
+ 'type' => 'custom',
1078
+ 'render' => 'mla_iptc_exif_option_handler',
1079
+ 'update' => 'mla_iptc_exif_option_handler',
1080
+ 'delete' => 'mla_iptc_exif_option_handler',
1081
+ 'reset' => 'mla_iptc_exif_option_handler'),
1082
+
1083
+ 'iptc_exif_mapping' =>
1084
+ array('tab' => '',
1085
+ 'help' => __( 'IPTC/EXIF Mapping help', 'media-library-assistant' ),
1086
+ 'std' => array (
1087
+ 'standard' => array (
1088
+ 'post_title' => array (
1089
+ 'name' => __( 'Title', 'media-library-assistant' ),
1090
+ 'iptc_value' => 'none',
1091
+ 'exif_value' => '',
1092
+ 'iptc_first' => true,
1093
+ 'keep_existing' => true
1094
+ ),
1095
+ 'post_name' => array (
1096
+ 'name' => __( 'Name/Slug', 'media-library-assistant' ),
1097
+ 'iptc_value' => 'none',
1098
+ 'exif_value' => '',
1099
+ 'iptc_first' => true,
1100
+ 'keep_existing' => true
1101
+ ),
1102
+ 'image_alt' => array (
1103
+ 'name' => __( 'ALT Text', 'media-library-assistant' ),
1104
+ 'iptc_value' => 'none',
1105
+ 'exif_value' => '',
1106
+ 'iptc_first' => true,
1107
+ 'keep_existing' => true
1108
+ ),
1109
+ 'post_excerpt' => array (
1110
+ 'name' => __( 'Caption', 'media-library-assistant' ),
1111
+ 'iptc_value' => 'none',
1112
+ 'exif_value' => '',
1113
+ 'iptc_first' => true,
1114
+ 'keep_existing' => true
1115
+ ),
1116
+ 'post_content' => array (
1117
+ 'name' => __( 'Description', 'media-library-assistant' ),
1118
+ 'iptc_value' => 'none',
1119
+ 'exif_value' => '',
1120
+ 'iptc_first' => true,
1121
+ 'keep_existing' => true
1122
+ ),
1123
+ ),
1124
+ 'taxonomy' => array (
1125
+ ),
1126
+ 'custom' => array (
1127
+ )
1128
+ ),
1129
+ 'type' => 'custom',
1130
+ 'render' => 'mla_iptc_exif_option_handler',
1131
+ 'update' => 'mla_iptc_exif_option_handler',
1132
+ 'delete' => 'mla_iptc_exif_option_handler',
1133
+ 'reset' => 'mla_iptc_exif_option_handler'),
1134
+
1135
+ self::MLA_ENABLE_POST_MIME_TYPES =>
1136
+ array('tab' => 'view',
1137
+ 'name' => __( 'Enable View and Post MIME Type Support', 'media-library-assistant' ),
1138
+ 'type' => 'checkbox',
1139
+ 'std' => 'checked',
1140
+ 'help' => __( 'Check/uncheck this option to enable/disable Post MIME Type Support, then click <strong>Save Changes</strong> to record the new setting.', 'media-library-assistant' ) ),
1141
+
1142
+ self::MLA_POST_MIME_TYPES =>
1143
+ array('tab' => '',
1144
+ 'type' => 'custom',
1145
+ 'render' => 'mla_post_mime_types_option_handler',
1146
+ 'update' => 'mla_post_mime_types_option_handler',
1147
+ 'delete' => 'mla_post_mime_types_option_handler',
1148
+ 'reset' => 'mla_post_mime_types_option_handler',
1149
+ 'help' => __( 'Post MIME Types help.', 'media-library-assistant' ),
1150
+ 'std' => array(
1151
+ 'all' => array(
1152
+ 'singular' => _x( 'All', 'table_view_singular', 'media-library-assistant' ),
1153
+ 'plural' => _x( 'All', 'table_view_plural', 'media-library-assistant' ),
1154
+ 'specification' => '',
1155
+ 'post_mime_type' => false,
1156
+ 'table_view' => true,
1157
+ 'menu_order' => 0,
1158
+ 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1159
+ ),
1160
+ 'image' => array(
1161
+ 'singular' => _x( 'Image', 'table_view_singular', 'media-library-assistant' ),
1162
+ 'plural' => _x( 'Images', 'table_view_plural', 'media-library-assistant' ),
1163
+ 'specification' => '',
1164
+ 'post_mime_type' => true,
1165
+ 'table_view' => true,
1166
+ 'menu_order' => 0,
1167
+ 'description' => _x( 'All image subtypes', 'post_mime_types_description', 'media-library-assistant' )
1168
+ ),
1169
+ 'audio' => array(
1170
+ 'singular' => _x( 'Audio', 'table_view_singular', 'media-library-assistant' ),
1171
+ 'plural' => _x( 'Audio', 'table_view_plural', 'media-library-assistant' ),
1172
+ 'specification' => '',
1173
+ 'post_mime_type' => true,
1174
+ 'table_view' => true,
1175
+ 'menu_order' => 0,
1176
+ 'description' => _x( 'All audio subtypes', 'post_mime_types_description', 'media-library-assistant' )
1177
+ ),
1178
+ 'video' => array(
1179
+ 'singular' => _x( 'Video', 'table_view_singular', 'media-library-assistant' ),
1180
+ 'plural' => _x( 'Video', 'table_view_plural', 'media-library-assistant' ),
1181
+ 'specification' => '',
1182
+ 'post_mime_type' => true,
1183
+ 'table_view' => true,
1184
+ 'menu_order' => 0,
1185
+ 'description' => _x( 'All video subtypes', 'post_mime_types_description', 'media-library-assistant' )
1186
+ ),
1187
+ 'text' => array(
1188
+ 'singular' => _x( 'Text', 'table_view_singular', 'media-library-assistant' ),
1189
+ 'plural' => _x( 'Text', 'table_view_plural', 'media-library-assistant' ),
1190
+ 'specification' => '',
1191
+ 'post_mime_type' => true,
1192
+ 'table_view' => true,
1193
+ 'menu_order' => 0,
1194
+ 'description' => _x( 'All text subtypes', 'post_mime_types_description', 'media-library-assistant' )
1195
+ ),
1196
+ 'application' => array(
1197
+ 'singular' => _x( 'Application', 'table_view_singular', 'media-library-assistant' ),
1198
+ 'plural' => _x( 'Applications', 'table_view_plural', 'media-library-assistant' ),
1199
+ 'specification' => '',
1200
+ 'post_mime_type' => true,
1201
+ 'table_view' => true,
1202
+ 'menu_order' => 0,
1203
+ 'description' => _x( 'All application subtypes', 'post_mime_types_description', 'media-library-assistant' )
1204
+ ),
1205
+ 'detached' => array(
1206
+ 'singular' => _x( 'Unattached', 'table_view_singular', 'media-library-assistant' ),
1207
+ 'plural' => _x( 'Unattached', 'table_view_plural', 'media-library-assistant' ),
1208
+ 'specification' => '',
1209
+ 'post_mime_type' => false,
1210
+ 'table_view' => true,
1211
+ 'menu_order' => 0,
1212
+ 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1213
+ ),
1214
+ 'attached' => array(
1215
+ 'singular' => _x( 'Attached', 'table_view_singular', 'media-library-assistant' ),
1216
+ 'plural' => _x( 'Attached', 'table_view_plural', 'media-library-assistant' ),
1217
+ 'specification' => '',
1218
+ 'post_mime_type' => false,
1219
+ 'table_view' => true,
1220
+ 'menu_order' => 0,
1221
+ 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1222
+ ),
1223
+ 'trash' => array(
1224
+ 'singular' => _x( 'Trash', 'table_view_singular', 'media-library-assistant' ),
1225
+ 'plural' => _x( 'Trash', 'table_view_plural', 'media-library-assistant' ),
1226
+ 'specification' => '',
1227
+ 'post_mime_type' => false,
1228
+ 'table_view' => true,
1229
+ 'menu_order' => 0,
1230
+ 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1231
+ )
1232
+ )),
1233
+
1234
+ self::MLA_ENABLE_UPLOAD_MIMES =>
1235
+ array('tab' => 'upload',
1236
+ 'name' => __( 'Enable Upload MIME Type Support', 'media-library-assistant' ),
1237
+ 'type' => 'checkbox',
1238
+ 'std' => 'checked',
1239
+ 'help' => __( 'Check/uncheck this option to enable/disable Upload MIME Type Support, then click <strong>Save Changes</strong> to record the new setting.', 'media-library-assistant' )),
1240
+
1241
+ self::MLA_UPLOAD_MIMES =>
1242
+ array('tab' => '',
1243
+ 'type' => 'custom',
1244
+ 'render' => 'mla_upload_mimes_option_handler',
1245
+ 'update' => 'mla_upload_mimes_option_handler',
1246
+ 'delete' => 'mla_upload_mimes_option_handler',
1247
+ 'reset' => 'mla_upload_mimes_option_handler',
1248
+ 'help' => __( 'Upload MIME Types help.', 'media-library-assistant' ),
1249
+ 'std' => false), // false to detect first-time load; will become an array
1250
+
1251
+ self::MLA_ENABLE_MLA_ICONS =>
1252
+ array('tab' => 'upload',
1253
+ 'name' => __( 'Enable MLA File Type Icons Support', 'media-library-assistant' ),
1254
+ 'type' => 'checkbox',
1255
+ 'std' => 'checked',
1256
+ 'help' => __( 'Check/uncheck this option to enable/disable MLA File Type Icons Support, then click <strong>Save Changes</strong> to record the new setting.', 'media-library-assistant' )),
1257
+
1258
+ self::MLA_DEBUG_DISPLAY_LIMIT =>
1259
+ array('tab' => 'debug',
1260
+ 'name' => __( 'Display Limit', 'media-library-assistant' ),
1261
+ 'type' => 'text',
1262
+ 'std' => '131072',
1263
+ 'size' => 5,
1264
+ 'help' => __( 'Enter the maximum number of debug log characters to display; enter zero or leave blank for no limit.', 'media-library-assistant' )),
1265
+
1266
+ self::MLA_DEBUG_FILE =>
1267
+ array('tab' => 'debug',
1268
+ 'name' => __( 'Debug File', 'media-library-assistant' ),
1269
+ 'type' => 'text',
1270
+ 'std' => '',
1271
+ 'size' => 60,
1272
+ 'help' => __( 'Enter the name of an alternate, MLA-specific debug log file; leave blank to use the PHP error_log.', 'media-library-assistant' )),
1273
+
1274
+ self::MLA_DEBUG_REPLACE_PHP_LOG =>
1275
+ array('tab' => 'debug',
1276
+ 'name' => __( 'Replace PHP error_log file', 'media-library-assistant' ),
1277
+ 'type' => 'checkbox',
1278
+ 'std' => '',
1279
+ 'help' => __( 'Check this option to replace the PHP error_log file with the MLA Debug File.<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File.', 'media-library-assistant' )),
1280
+
1281
+ self::MLA_DEBUG_REPLACE_PHP_REPORTING =>
1282
+ array('tab' => 'debug',
1283
+ 'name' => __( 'PHP Reporting', 'media-library-assistant' ),
1284
+ 'type' => 'text',
1285
+ 'std' => '',
1286
+ 'size' => 10,
1287
+ 'help' => __( 'Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to use the existing PHP error_reporting value.', 'media-library-assistant' )),
1288
+
1289
+ self::MLA_DEBUG_REPLACE_LEVEL =>
1290
+ array('tab' => 'debug',
1291
+ 'name' => __( 'MLA Reporting', 'media-library-assistant' ),
1292
+ 'type' => 'text',
1293
+ 'std' => '',
1294
+ 'size' => 10,
1295
+ 'help' => __( 'Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use the existing MLA_DEBUG_LEVEL value.', 'media-library-assistant' )),
1296
+
1297
+ /* Here are examples of the other option types
1298
+ 'textarea' =>
1299
+ array('tab' => '',
1300
+ 'name' => 'Text Area',
1301
+ 'type' => 'textarea',
1302
+ 'std' => 'default text area',
1303
+ 'cols' => 60,
1304
+ 'rows' => 4,
1305
+ 'help' => __( 'Enter the text area...'),
1306
+ */
1307
+ );
1308
+ }
1309
+ } // class MLACoreOptions
1310
+ ?>
includes/class-mla-core.php CHANGED
@@ -32,6 +32,15 @@ class MLACore {
32
  */
33
  public static $original_php_reporting = '?';
34
 
 
 
 
 
 
 
 
 
 
35
  /**
36
  * Constant to log Ajax debug activity
37
  *
@@ -149,284 +158,6 @@ class MLACore {
149
  */
150
  const JAVASCRIPT_UPDATE_COMPAT_ACTION = 'mla-update-compat-fields';
151
 
152
- /**
153
- * Provides a unique name for the settings page
154
- *
155
- * @since 2.20
156
- *
157
- * @var string
158
- */
159
- const MLA_SETTINGS_SLUG = 'mla-settings-menu';
160
-
161
- /**
162
- * Provides a unique name for the current version option
163
- */
164
- const MLA_VERSION_OPTION = 'current_version';
165
-
166
- /**
167
- * Provides a unique name for the exclude revisions option
168
- */
169
- const MLA_EXCLUDE_REVISIONS = 'exclude_revisions';
170
-
171
- /**
172
- * Provides a unique name for a database tuning option
173
- */
174
- const MLA_FEATURED_IN_TUNING = 'featured_in_tuning';
175
-
176
- /**
177
- * Provides a unique name for a database tuning option
178
- */
179
- const MLA_INSERTED_IN_TUNING = 'inserted_in_tuning';
180
-
181
- /**
182
- * Provides a unique name for a database tuning option
183
- */
184
- const MLA_GALLERY_IN_TUNING = 'gallery_in_tuning';
185
-
186
- /**
187
- * Provides a unique name for a database tuning option
188
- */
189
- const MLA_MLA_GALLERY_IN_TUNING = 'mla_gallery_in_tuning';
190
-
191
- /**
192
- * Provides a unique name for the taxonomy count Attachments option
193
- */
194
- const MLA_COUNT_TERM_ATTACHMENTS = 'count_term_attachments';
195
-
196
- /**
197
- * Provides a unique name for the taxonomy support option
198
- */
199
- const MLA_TAXONOMY_SUPPORT = 'taxonomy_support';
200
-
201
- /**
202
- * Provides a unique name for the admin screen page title option
203
- */
204
- const MLA_SCREEN_PAGE_TITLE = 'admin_screen_page_title';
205
-
206
- /**
207
- * Provides a unique name for the admin screen menu title option
208
- */
209
- const MLA_SCREEN_MENU_TITLE = 'admin_screen_menu_title';
210
-
211
- /**
212
- * Provides a unique name for the admin screen menu order option
213
- */
214
- const MLA_SCREEN_ORDER = 'admin_screen_menu_order';
215
-
216
- /**
217
- * Provides a unique name for the admin screen remove Media/Library option
218
- */
219
- const MLA_SCREEN_DISPLAY_LIBRARY = 'admin_screen_display_default';
220
-
221
- /**
222
- * Provides a unique name for the default orderby option
223
- */
224
- const MLA_DEFAULT_ORDERBY = 'default_orderby';
225
-
226
- /**
227
- * Provides a unique name for the default order option
228
- */
229
- const MLA_DEFAULT_ORDER = 'default_order';
230
-
231
- /**
232
- * Provides a unique name for the Media/Assistant submenu table views width option
233
- */
234
- const MLA_TABLE_VIEWS_WIDTH = 'table_views_width';
235
-
236
- /**
237
- * Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option
238
- */
239
- const MLA_TABLE_ICON_SIZE = 'table_icon_size';
240
-
241
- /**
242
- * Provides a unique name for the Bulk Update and Map All chunk size option
243
- */
244
- const MLA_BULK_CHUNK_SIZE = 'bulk_chunk_size';
245
-
246
- /**
247
- * Provides a unique name for the taxonomy filter maximum depth option
248
- */
249
- const MLA_TAXONOMY_FILTER_DEPTH = 'taxonomy_filter_depth';
250
-
251
- /**
252
- * Provides a unique name for the taxonomy filter maximum depth option
253
- */
254
- const MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN = 'taxonomy_filter_include_children';
255
-
256
- /**
257
- * Provides a unique name for the display Search Media controls option
258
- */
259
- const MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS = 'search_media_filter_show_controls';
260
-
261
- /**
262
- * Provides a unique name for the display Search Media controls option
263
- */
264
- const MLA_SEARCH_MEDIA_FILTER_DEFAULTS = 'search_media_filter_defaults';
265
-
266
- /**
267
- * Provides a "size" attribute value for the EXIF/Template Value field
268
- */
269
- const MLA_EXIF_SIZE = 30;
270
-
271
- /**
272
- * Provides a unique name for the Custom Field "new rule" key
273
- */
274
- const MLA_NEW_CUSTOM_RULE = '__NEW_RULE__';
275
-
276
- /**
277
- * Provides a unique name for the Custom Field "new field" key
278
- */
279
- const MLA_NEW_CUSTOM_FIELD = '__NEW_FIELD__';
280
-
281
- /**
282
- * Provides a unique name for the "searchable taxonomies" option
283
- */
284
- const MLA_EDIT_MEDIA_SEARCH_TAXONOMY = 'edit_media_search_taxonomy';
285
-
286
- /**
287
- * Provides a unique name for the Edit Media additional meta boxes option
288
- */
289
- const MLA_EDIT_MEDIA_META_BOXES = 'edit_media_meta_boxes';
290
-
291
- /**
292
- * Provides a unique name for the Media/Add New bulk edit option
293
- */
294
- const MLA_ADD_NEW_BULK_EDIT = 'add_new_bulk_edit';
295
-
296
- /**
297
- * Provides a unique name for the Media/Add New bulk edit "on top" option
298
- */
299
- const MLA_ADD_NEW_BULK_EDIT_ON_TOP = 'add_new_bulk_edit_on_top';
300
-
301
- /**
302
- * Provides a unique name for the Media/Add New bulk edit "Open Automatically" option
303
- */
304
- const MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN = 'add_new_bulk_edit_auto_open';
305
-
306
- /**
307
- * Provides a unique name for the Media Grid toolbar option, which
308
- * also controls the ATTACHMENT DETAILS enhancements
309
- */
310
- const MLA_MEDIA_GRID_TOOLBAR = 'media_grid_toolbar';
311
-
312
- /**
313
- * Provides a unique name for the Media Manager toolbar option, which
314
- * also controls the ATTACHMENT DETAILS enhancements
315
- */
316
- const MLA_MEDIA_MODAL_TOOLBAR = 'media_modal_toolbar';
317
-
318
- /**
319
- * Provides a unique name for the Media Manager toolbar MIME Types option
320
- */
321
- const MLA_MEDIA_MODAL_MIMETYPES = 'media_modal_mimetypes';
322
-
323
- /**
324
- * Provides a unique name for the Media Manager toolbar Month and Year option
325
- */
326
- const MLA_MEDIA_MODAL_MONTHS = 'media_modal_months';
327
-
328
- /**
329
- * Provides a unique name for the Media Manager toolbar Taxonomy Terms option
330
- */
331
- const MLA_MEDIA_MODAL_TERMS = 'media_modal_terms';
332
-
333
- /**
334
- * Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option
335
- */
336
- const MLA_MEDIA_MODAL_TERMS_SEARCH = 'media_modal_terms_search';
337
-
338
- /**
339
- * Provides a unique name for the Media Manager toolbar Search Box option
340
- */
341
- const MLA_MEDIA_MODAL_SEARCHBOX = 'media_modal_searchbox';
342
-
343
- /**
344
- * Provides a unique name for the Media Manager toolbar Search Box Controls option
345
- */
346
- const MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS = 'media_modal_searchbox_controls';
347
-
348
- /**
349
- * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
350
- * This option is for hierarchical taxonomies, e.g., "Att. Categories".
351
- */
352
- const MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX = 'media_modal_details_category_metabox';
353
-
354
- /**
355
- * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
356
- * This option is for flat taxonomies, e.g., "Att. Tags".
357
- */
358
- const MLA_MEDIA_MODAL_DETAILS_TAG_METABOX = 'media_modal_details_tag_metabox';
359
-
360
- /**
361
- * Provides a unique name for the Media Manager Attachment Details auto-fill option
362
- */
363
- const MLA_MEDIA_MODAL_DETAILS_AUTOFILL = 'media_modal_details_autofill';
364
-
365
- /**
366
- * Provides a unique name for the Media Manager orderby option
367
- */
368
- const MLA_MEDIA_MODAL_ORDERBY = 'media_modal_orderby';
369
-
370
- /**
371
- * Provides a unique name for the Media Manager order option
372
- */
373
- const MLA_MEDIA_MODAL_ORDER = 'media_modal_order';
374
-
375
- /**
376
- * Provides a unique name for the Media Manager Force Image Default Setings option
377
- */
378
- const MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS = 'media_modal_apply_display_settings';
379
-
380
- /**
381
- * Provides a unique name for the Post MIME Types option
382
- */
383
- const MLA_POST_MIME_TYPES = 'post_mime_types';
384
-
385
- /**
386
- * Provides a unique name for the Enable Post MIME Types option
387
- */
388
- const MLA_ENABLE_POST_MIME_TYPES = 'enable_post_mime_types';
389
-
390
- /**
391
- * Provides a unique name for the Upload MIME Types option
392
- */
393
- const MLA_UPLOAD_MIMES = 'upload_mimes';
394
-
395
- /**
396
- * Provides a unique name for the Enable Upload MIME Types option
397
- */
398
- const MLA_ENABLE_UPLOAD_MIMES = 'enable_upload_mimes';
399
-
400
- /**
401
- * Provides a unique name for the Enable MLA Icons option
402
- */
403
- const MLA_ENABLE_MLA_ICONS = 'enable_mla_icons';
404
-
405
- /**
406
- * Provides a unique name for the Debug display limit option
407
- */
408
- const MLA_DEBUG_DISPLAY_LIMIT = 'debug_display_limit';
409
-
410
- /**
411
- * Provides a unique name for the Debug alternate log file option
412
- */
413
- const MLA_DEBUG_FILE = 'debug_file';
414
-
415
- /**
416
- * Provides a unique name for the Debug replace PHP log file option
417
- */
418
- const MLA_DEBUG_REPLACE_PHP_LOG = 'debug_replace_php_log';
419
-
420
- /**
421
- * Provides a unique name for the Debug replace PHP error_reporting option
422
- */
423
- const MLA_DEBUG_REPLACE_PHP_REPORTING = 'debug_replace_php_reporting';
424
-
425
- /**
426
- * Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option
427
- */
428
- const MLA_DEBUG_REPLACE_LEVEL = 'debug_replace_level';
429
-
430
  /**
431
  * Option setting for "Featured in" reporting
432
  *
@@ -479,86 +210,35 @@ class MLACore {
479
  * @return void
480
  */
481
  public static function initialize( ) {
482
- if ( 'disabled' == MLACore::mla_get_option( MLACore::MLA_FEATURED_IN_TUNING ) ) {
483
  MLACore::$process_featured_in = false;
484
  }
485
 
486
- if ( 'disabled' == MLACore::mla_get_option( MLACore::MLA_INSERTED_IN_TUNING ) ) {
487
  MLACore::$process_inserted_in = false;
488
  }
489
 
490
- if ( 'disabled' == MLACore::mla_get_option( MLACore::MLA_GALLERY_IN_TUNING ) ) {
491
  MLACore::$process_gallery_in = false;
492
  }
493
 
494
- if ( 'disabled' == MLACore::mla_get_option( MLACore::MLA_MLA_GALLERY_IN_TUNING ) ) {
495
  MLACore::$process_mla_gallery_in = false;
496
  }
497
- }
498
-
499
- /**
500
- * Load a plugin text domain and alternate debug file
501
- *
502
- * The "add_action" for this function is in mla-plugin-loader.php, because the "initialize"
503
- * function above doesn't run in time.
504
- * Defined as public because it's an action.
505
- *
506
- * @since 1.60
507
- *
508
- * @return void
509
- */
510
- public static function mla_plugins_loaded_action(){
511
- $text_domain = 'media-library-assistant';
512
- $locale = apply_filters( 'mla_plugin_locale', get_locale(), $text_domain );
513
-
514
- /*
515
- * To override the plugin's translation files for one, some or all strings,
516
- * create a sub-directory named 'media-library-assistant' in the WordPress
517
- * WP_LANG_DIR (e.g., /wp-content/languages) directory.
518
- */
519
- load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
520
- load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
521
-
522
  /*
523
- * This must/will be repeated in class-mla-tests.php to reflect translations
 
524
  */
525
- MLACore::mla_localize_option_definitions_array();
 
 
526
 
527
- /*
528
- * Do not process debug options unless MLA_DEBUG_LEVEL is set in wp-config.php
529
- */
530
- if ( MLA_DEBUG_LEVEL & 1 ) {
531
- /*
532
- * Set up alternate MLA debug log file
533
- */
534
- $error_log_name = MLACore::mla_get_option( MLACore::MLA_DEBUG_FILE );
535
- if ( ! empty( $error_log_name ) ) {
536
- MLACore::mla_debug_file( $error_log_name );
537
-
538
- /*
539
- * Override PHP error_log file
540
- */
541
- if ( 'checked' === MLACore::mla_get_option( MLACore::MLA_DEBUG_REPLACE_PHP_LOG ) ) {
542
- $result = ini_set('error_log', WP_CONTENT_DIR . self::$mla_debug_file );
543
- }
544
- }
545
-
546
- /*
547
- * PHP error_reporting must be done later in class-mla-tests.php
548
- * Override MLA debug levels
549
- */
550
- MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
551
- $mla_reporting = trim( MLACore::mla_get_option( MLACore::MLA_DEBUG_REPLACE_LEVEL ) );
552
- if ( ! empty( $mla_reporting ) ) {
553
- MLACore::$mla_debug_level = ( 0 + $mla_reporting ) | 1;
554
- }
555
- } // MLA_DEBUG_LEVEL & 1
556
-
557
  /*
558
  * Override the cookie-based Attachment Display Settings, if desired
559
  * consider ignoring 'action' => 'send-attachment-to-editor',
560
  */
561
- if ( 'checked' === MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS ) ) {
562
  $image_default_align = get_option( 'image_default_align' );
563
  $image_default_link_type = get_option( 'image_default_link_type' );
564
  $image_default_size = get_option( 'image_default_size' );
@@ -610,951 +290,86 @@ class MLACore {
610
  }
611
 
612
  /**
613
- * $mla_option_definitions defines the database options and admin page areas for setting/updating them
614
- *
615
- * The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array();
616
- * localization calls cannot be placed in the "public static" array definition itself.
617
- *
618
- * Each option is defined by an array with the following elements:
619
- *
620
- * array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)
621
- *
622
- * tab => Settings page tab id for the option
623
- * name => admin page label or heading text
624
- * type => 'checkbox', 'header', 'radio', 'select', 'text', 'textarea', 'custom', 'hidden'
625
- * std => default value
626
- * help => help text
627
- * size => text size, default 40
628
- * cols => textbox columns, default 90
629
- * rows => textbox rows, default 5
630
- * options => array of radio or select option values
631
- * texts => array of radio or select option display texts
632
- * render => rendering function for 'custom' options. Usage:
633
- * $options_list .= ['render']( 'render', $key, $value );
634
- * update => update function for 'custom' options; returns nothing. Usage:
635
- * $message = ['update']( 'update', $key, $value, $_REQUEST );
636
- * delete => delete function for 'custom' options; returns nothing. Usage:
637
- * $message = ['delete']( 'delete', $key, $value, $_REQUEST );
638
- * reset => reset function for 'custom' options; returns nothing. Usage:
639
- * $message = ['reset']( 'reset', $key, $value, $_REQUEST );
640
- */
641
-
642
- public static $mla_option_definitions = array ();
643
-
644
- /**
645
- * Localize $mla_option_definitions array
646
- *
647
- * Localization must be done at runtime; these calls cannot be placed in the
648
- * "public static" array definition itself. Called from MLATest::initialize.
649
  *
650
- * @since 2.20
651
  *
652
  * @return void
653
  */
654
- public static function mla_localize_option_definitions_array() {
655
- self::$mla_option_definitions = array (
656
- /*
657
- * This option records the highest MLA version so-far installed
658
- */
659
- self::MLA_VERSION_OPTION =>
660
- array('tab' => '',
661
- 'type' => 'hidden',
662
- 'std' => '0'),
663
-
664
- /*
665
- * These checkboxes are no longer used;
666
- * they are retained for the database version/update check
667
- */
668
- 'attachment_category' =>
669
- array('tab' => '',
670
- 'name' => __( 'Attachment Categories', 'media-library-assistant' ),
671
- 'type' => 'hidden', // checkbox',
672
- 'std' => 'checked',
673
- 'help' => __( 'Check this option to add support for Attachment Categories.', 'media-library-assistant' )),
674
-
675
- 'attachment_tag' =>
676
- array('tab' => '',
677
- 'name' => __( 'Attachment Tags', 'media-library-assistant' ),
678
- 'type' => 'hidden', // checkbox',
679
- 'std' => 'checked',
680
- 'help' => __( 'Check this option to add support for Attachment Tags.'), 'media-library-assistant' ),
681
-
682
- 'where_used_header' =>
683
- array('tab' => 'general',
684
- 'name' => __( 'Where-used Reporting', 'media-library-assistant' ),
685
- 'type' => 'header'),
686
-
687
- self::MLA_EXCLUDE_REVISIONS =>
688
- array('tab' => 'general',
689
- 'name' => __( 'Exclude Revisions', 'media-library-assistant' ),
690
- 'type' => 'checkbox',
691
- 'std' => 'checked',
692
- 'help' => __( 'Check this option to exclude revisions from where-used reporting.', 'media-library-assistant' )),
693
-
694
- 'where_used_subheader' =>
695
- array('tab' => 'general',
696
- 'name' => __( 'Where-used database access tuning', 'media-library-assistant' ),
697
- 'type' => 'subheader'),
698
-
699
- self::MLA_FEATURED_IN_TUNING =>
700
- array('tab' => 'general',
701
- 'name' => __( 'Featured in', 'media-library-assistant' ),
702
- 'type' => 'select',
703
- 'std' => 'disabled',
704
- 'options' => array('enabled', 'disabled'),
705
- 'texts' => array( __( 'Enabled', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
706
- 'help' => __( 'Search database posts and pages for Featured Image attachments.', 'media-library-assistant' )),
707
-
708
- self::MLA_INSERTED_IN_TUNING =>
709
- array('tab' => 'general',
710
- 'name' => __( 'Inserted in', 'media-library-assistant' ),
711
- 'type' => 'select',
712
- 'std' => 'disabled',
713
- 'options' => array('enabled', 'base', 'disabled'),
714
- 'texts' => array( __( 'Enabled', 'media-library-assistant' ), __( 'Base', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
715
- 'help' => __( 'Search database posts and pages for attachments embedded in content.<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base name and extension only.', 'media-library-assistant' )),
716
-
717
- self::MLA_GALLERY_IN_TUNING =>
718
- array('tab' => 'general',
719
- 'name' => __( 'Gallery in', 'media-library-assistant' ),
720
- 'type' => 'select',
721
- 'std' => 'disabled',
722
- 'options' => array('dynamic', 'refresh', 'cached', 'disabled'),
723
- 'texts' => array( __( 'Dynamic', 'media-library-assistant' ), __( 'Refresh', 'media-library-assistant' ), __( 'Cached', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
724
- 'help' => __( 'Search database posts and pages for [gallery] shortcode results.<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached.', 'media-library-assistant' )),
725
-
726
- self::MLA_MLA_GALLERY_IN_TUNING =>
727
- array('tab' => 'general',
728
- 'name' => __( 'MLA Gallery in', 'media-library-assistant' ),
729
- 'type' => 'select',
730
- 'std' => 'disabled',
731
- 'options' => array('dynamic', 'refresh', 'cached', 'disabled'),
732
- 'texts' => array( __( 'Dynamic', 'media-library-assistant' ), __( 'Refresh', 'media-library-assistant' ), __( 'Cached', 'media-library-assistant' ), __( 'Disabled', 'media-library-assistant' ) ),
733
- 'help' => __( 'Search database posts and pages for [mla_gallery] shortcode results.<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached.', 'media-library-assistant' )),
734
-
735
- 'taxonomy_header' =>
736
- array('tab' => 'general',
737
- 'name' => __( 'Taxonomy Support', 'media-library-assistant' ),
738
- 'type' => 'header'),
739
-
740
- self::MLA_COUNT_TERM_ATTACHMENTS =>
741
- array('tab' => 'general',
742
- 'name' => __( 'Compute Attachments Column', 'media-library-assistant' ),
743
- 'type' => 'checkbox',
744
- 'std' => 'checked',
745
- 'help' => __( 'Check this option to calculate attachments per term in the Attachments Column.', 'media-library-assistant' )),
746
-
747
- self::MLA_TAXONOMY_SUPPORT =>
748
- array('tab' => 'general',
749
- 'help' => __( 'Check the "<strong>Support</strong>" box to add the taxonomy to the Assistant and the Edit Media screen.', 'media-library-assistant' ) . '<br>' .
750
- __( 'Check the "<strong>Inline Edit</strong>" box to display the taxonomy in the Quick Edit and Bulk Edit areas.', 'media-library-assistant' ) . '<br>' .
751
- __( 'Check the "<strong>Term Search</strong>" box to add the taxonomy to the "Search Media/Terms" list.', 'media-library-assistant' ) .
752
- sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLACore::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#terms_search' ), __( 'click here', 'media-library-assistant' ) )
753
- . '<br>' .
754
- __( 'Check the "<strong>Checklist</strong>" box to enable the checklist-style meta box for a flat taxonomy.', 'media-library-assistant' ) . '&nbsp;' .
755
- __( 'You must also check the <strong>"Enable enhanced checklist taxonomies"</strong> box below to enable this feature.', 'media-library-assistant' ) . '<br>' .
756
- __( 'Check the "<strong>Checked On Top</strong>" box to moved checked terms to the top of the checklist-style meta box.', 'media-library-assistant' ) . '<br>' .
757
- __( 'Use the "<strong>List Filter</strong>" option to select the taxonomy on which to filter the Assistant table listing.', 'media-library-assistant' ),
758
- 'std' => array (
759
- 'tax_support' => array (
760
- 'attachment_category' => 'checked',
761
- 'attachment_tag' => 'checked',
762
- ),
763
- 'tax_quick_edit' => array (
764
- 'attachment_category' => 'checked',
765
- 'attachment_tag' => 'checked',
766
- ),
767
- 'tax_term_search' => array (
768
- 'attachment_category' => 'checked',
769
- 'attachment_tag' => 'checked',
770
- ),
771
- 'tax_flat_checklist' => array(),
772
- 'tax_checked_on_top' => NULL, // default "true", handled in mla_initialize_tax_checked_on_top
773
- 'tax_filter' => 'attachment_category'
774
- ),
775
- 'type' => 'custom',
776
- 'render' => 'mla_taxonomy_option_handler',
777
- 'update' => 'mla_taxonomy_option_handler',
778
- 'delete' => 'mla_taxonomy_option_handler',
779
- 'reset' => 'mla_taxonomy_option_handler'),
780
-
781
- 'media_assistant_header' =>
782
- array('tab' => 'general',
783
- 'name' => __( 'Media/Assistant Screen Options', 'media-library-assistant' ),
784
- 'type' => 'header'),
785
-
786
- 'admin_sidebar_subheader' =>
787
- array('tab' => 'general',
788
- 'name' => __( 'Admin Menu Options', 'media-library-assistant' ),
789
- 'type' => 'subheader'),
790
-
791
- self::MLA_SCREEN_PAGE_TITLE =>
792
- array('tab' => 'general',
793
- 'name' => __( 'Page Title', 'media-library-assistant' ),
794
- 'type' => 'text',
795
- 'std' => __( 'Media Library Assistant', 'media-library-assistant' ),
796
- 'size' => 40,
797
- 'help' => __( 'Enter the title for the Media/Assistant submenu page', 'media-library-assistant' )),
798
-
799
- self::MLA_SCREEN_MENU_TITLE =>
800
- array('tab' => 'general',
801
- 'name' => __( 'Menu Title', 'media-library-assistant' ),
802
- 'type' => 'text',
803
- 'std' => __( 'Assistant', 'media-library-assistant' ),
804
- 'size' => 20,
805
- 'help' => __( 'Enter the title for the Media/Assistant submenu entry', 'media-library-assistant' )),
806
-
807
- self::MLA_SCREEN_ORDER =>
808
- array('tab' => 'general',
809
- 'name' => __( 'Submenu Order', 'media-library-assistant' ),
810
- 'type' => 'text',
811
- 'std' => '0',
812
- 'size' => 2,
813
- 'help' => __( 'Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;&nbsp;6-9 = after "Library",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after "Add New"', 'media-library-assistant' )),
814
-
815
- self::MLA_SCREEN_DISPLAY_LIBRARY =>
816
- array('tab' => 'general',
817
- 'name' => __( 'Display Media/Library', 'media-library-assistant' ),
818
- 'type' => 'checkbox',
819
- 'std' => 'checked',
820
- 'help' => __( 'Check/uncheck this option to display/remove the WordPress Media/Library submenu entry.', 'media-library-assistant' )),
821
-
822
- 'table_defaults_subheader' =>
823
- array('tab' => 'general',
824
- 'name' => __( 'Table Defaults', 'media-library-assistant' ),
825
- 'type' => 'subheader'),
826
-
827
- self::MLA_DEFAULT_ORDERBY =>
828
- array('tab' => 'general',
829
- 'name' => __( 'Order By', 'media-library-assistant' ),
830
- 'type' => 'select',
831
- 'std' => 'ID',
832
- 'options' => array('none', 'ID'),
833
- 'texts' => array( __( 'None', 'media-library-assistant' ), __( 'ID/Parent', 'media-library-assistant' ) ),
834
- 'help' => __( 'Select the column for the sort order of the Assistant table listing.', 'media-library-assistant' )),
835
-
836
- self::MLA_DEFAULT_ORDER =>
837
- array('tab' => 'general',
838
- 'name' => __( 'Order', 'media-library-assistant' ),
839
- 'type' => 'radio',
840
- 'std' => 'DESC',
841
- 'options' => array('ASC', 'DESC'),
842
- 'texts' => array( __( 'Ascending', 'media-library-assistant' ), __( 'Descending', 'media-library-assistant' ) ),
843
- 'help' => __( 'Choose the sort order.', 'media-library-assistant' )),
844
-
845
- self::MLA_TABLE_VIEWS_WIDTH =>
846
- array('tab' => 'general',
847
- 'name' => __( 'Views Width', 'media-library-assistant' ),
848
- 'type' => 'text',
849
- 'std' => '',
850
- 'size' => 10,
851
- 'help' => __( 'Enter the width for the views list, in pixels (px) or percent (%)', 'media-library-assistant' )),
852
-
853
- self::MLA_TABLE_ICON_SIZE =>
854
- array('tab' => 'general',
855
- 'name' => __( 'Icon Size', 'media-library-assistant' ),
856
- 'type' => 'text',
857
- 'std' => '',
858
- 'size' => 5,
859
- 'help' => __( 'Enter the size of the thumbnail/icon images, in pixels', 'media-library-assistant' )),
860
-
861
- self::MLA_BULK_CHUNK_SIZE =>
862
- array('tab' => 'general',
863
- 'name' => __( 'Bulk Chunk Size', 'media-library-assistant' ),
864
- 'type' => 'text',
865
- 'std' => '25',
866
- 'size' => 5,
867
- 'help' => __( 'Enter the size of the Bulk Edit and Map All processing chunks', 'media-library-assistant' )),
868
-
869
- 'taxonomy_filter_subheader' =>
870
- array('tab' => 'general',
871
- 'name' => __( 'Taxonomy Filter parameters', 'media-library-assistant' ),
872
- 'type' => 'subheader'),
873
-
874
- self::MLA_TAXONOMY_FILTER_DEPTH =>
875
- array('tab' => 'general',
876
- 'name' => __( 'Maximum Depth', 'media-library-assistant' ),
877
- 'type' => 'text',
878
- 'std' => '3',
879
- 'size' => 2,
880
- 'help' => __( 'Enter the number of levels displayed for hierarchial taxonomies; enter zero for no limit.', 'media-library-assistant' )),
881
-
882
- self::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN =>
883
- array('tab' => 'general',
884
- 'name' => __( 'Include Children', 'media-library-assistant' ),
885
- 'type' => 'checkbox',
886
- 'std' => 'checked',
887
- 'help' => __( 'Check/uncheck this option to include/exclude children for hierarchical taxonomies.', 'media-library-assistant' )),
888
-
889
- 'search_media_subheader' =>
890
- array('tab' => 'general',
891
- 'name' => __( 'Search Media Defaults', 'media-library-assistant' ),
892
- 'type' => 'subheader'),
893
-
894
- self::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS =>
895
- array('tab' => 'general',
896
- 'name' => __( 'Display Search Controls', 'media-library-assistant' ),
897
- 'type' => 'checkbox',
898
- 'std' => 'checked',
899
- 'help' => __( 'Check/uncheck this option to display/hide the and/or connector and search fields controls.', 'media-library-assistant' )),
900
-
901
- self::MLA_SEARCH_MEDIA_FILTER_DEFAULTS =>
902
- array('tab' => 'general',
903
- 'help' => __( 'Use these controls to set defaults for the and/or connector and search fields controls.<br>These defaults will be used for the Search Media boxes on both the Media/Assistant submenu<br>and the Media Manager Modal Window.', 'media-library-assistant' ),
904
- 'std' => array (
905
- 'search_connector' => 'AND',
906
- 'search_fields' => array ( 'title', 'content' ),
907
- ),
908
- 'type' => 'custom',
909
- 'render' => 'mla_search_option_handler',
910
- 'update' => 'mla_search_option_handler',
911
- 'delete' => 'mla_search_option_handler',
912
- 'reset' => 'mla_search_option_handler'),
913
-
914
- 'edit_media_header' =>
915
- array('tab' => 'general',
916
- 'name' => __( 'Media/Edit Media Enhancements', 'media-library-assistant' ),
917
- 'type' => 'header'),
918
-
919
- self::MLA_EDIT_MEDIA_SEARCH_TAXONOMY =>
920
- array('tab' => 'general',
921
- 'name' => __( 'Enable &quot;enhanced checklist&quot; taxonomies', 'media-library-assistant' ),
922
- 'type' => 'checkbox',
923
- 'std' => 'checked',
924
- 'help' => __( 'Check this option to enable the "? Search" feature for hierarchical taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables the "checklist-style" support for flat taxonomies, e.g., Att. Tags.', 'media-library-assistant' )),
925
-
926
- self::MLA_EDIT_MEDIA_META_BOXES =>
927
- array('tab' => 'general',
928
- 'name' => __( 'Enable Edit Media additional meta boxes', 'media-library-assistant' ),
929
- 'type' => 'checkbox',
930
- 'std' => 'checked',
931
- 'help' => __( 'Check this option to add "Parent Info", "Menu Order", "Attachment Metadata" and four "where-used" meta boxes to the Edit Media screen.', 'media-library-assistant' ) . '<br>&nbsp;&nbsp;' .
932
- __( 'You can also use Filters to customize the meta boxes.', 'media-library-assistant' ) .
933
- sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLACore::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#mla_edit_meta_boxes' ), __( 'click here', 'media-library-assistant' ) ) ),
934
-
935
- 'media_add_new_header' =>
936
- array('tab' => 'general',
937
- 'name' => __( 'Media/Add New Enhancements', 'media-library-assistant' ),
938
- 'type' => 'header'),
939
-
940
- self::MLA_ADD_NEW_BULK_EDIT =>
941
- array('tab' => 'general',
942
- 'name' => __( 'Enable &quot;bulk edit&quot; area', 'media-library-assistant' ),
943
- 'type' => 'checkbox',
944
- 'std' => 'checked',
945
- 'help' => __( 'Check this option to enable the "Bulk Edit area" feature on the Media/Add New screen.', 'media-library-assistant' )),
946
-
947
- self::MLA_ADD_NEW_BULK_EDIT_ON_TOP =>
948
- array('tab' => 'general',
949
- 'name' => __( '&quot;bulk edit&quot; area on top', 'media-library-assistant' ),
950
- 'type' => 'checkbox',
951
- 'std' => '',
952
- 'help' => __( 'Check this option to move the "Bulk Edit area" to the top of the Media/Add New screen.', 'media-library-assistant' )),
953
-
954
- self::MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN =>
955
- array('tab' => 'general',
956
- 'name' => __( '&quot;bulk edit&quot; area initially open', 'media-library-assistant' ),
957
- 'type' => 'checkbox',
958
- 'std' => '',
959
- 'help' => __( 'Check this option to automatically open the "Bulk Edit area" when the Media/Add New screen is displayed.', 'media-library-assistant' )),
960
-
961
- 'media_modal_header' =>
962
- array('tab' => 'general',
963
- 'name' => __( 'Media Manager/Media Grid Enhancements', 'media-library-assistant' ),
964
- 'type' => 'header'),
965
-
966
- self::MLA_MEDIA_GRID_TOOLBAR =>
967
- array('tab' => 'general',
968
- 'name' => __( 'Enable Media Grid Enhancements', 'media-library-assistant' ),
969
- 'type' => 'checkbox',
970
- 'std' => 'checked',
971
- 'help' => __( 'Check/uncheck this option to enable/disable Media Library Grid View Enhancements.', 'media-library-assistant' )),
972
-
973
- self::MLA_MEDIA_MODAL_TOOLBAR =>
974
- array('tab' => 'general',
975
- 'name' => __( 'Enable Media Manager Enhancements', 'media-library-assistant' ),
976
- 'type' => 'checkbox',
977
- 'std' => 'checked',
978
- 'help' => __( 'Check/uncheck this option to enable/disable Media Manager Modal Window Enhancements.', 'media-library-assistant' )),
979
-
980
- self::MLA_MEDIA_MODAL_MIMETYPES =>
981
- array('tab' => 'general',
982
- 'name' => __( 'Media Manager Enhanced MIME Type filter', 'media-library-assistant' ),
983
- 'type' => 'checkbox',
984
- 'std' => 'checked',
985
- 'help' => __( 'Check this option to filter by more MIME Types, e.g., text, applications.', 'media-library-assistant' )),
986
-
987
- self::MLA_MEDIA_MODAL_MONTHS =>
988
- array('tab' => 'general',
989
- 'name' => __( 'Media Manager Month and Year filter', 'media-library-assistant' ),
990
- 'type' => 'checkbox',
991
- 'std' => 'checked',
992
- 'help' => __( 'Check this option to filter by month and year uploaded.', 'media-library-assistant' )),
993
-
994
- self::MLA_MEDIA_MODAL_TERMS =>
995
- array('tab' => 'general',
996
- 'name' => __( 'Media Manager Category/Tag filter', 'media-library-assistant' ),
997
- 'type' => 'checkbox',
998
- 'std' => 'checked',
999
- 'help' => __( 'Check this option to filter by taxonomy terms.', 'media-library-assistant' )),
1000
-
1001
- self::MLA_MEDIA_MODAL_TERMS_SEARCH =>
1002
- array('tab' => 'general',
1003
- 'name' => __( 'Media Manager Terms Search popup', 'media-library-assistant' ),
1004
- 'type' => 'checkbox',
1005
- 'std' => 'checked',
1006
- 'help' => __( 'Check this option to enable the "Terms Search" popup window.', 'media-library-assistant' )),
1007
-
1008
- self::MLA_MEDIA_MODAL_SEARCHBOX =>
1009
- array('tab' => 'general',
1010
- 'name' => __( 'Media Manager Enhanced Search Media box', 'media-library-assistant' ),
1011
- 'type' => 'checkbox',
1012
- 'std' => 'checked',
1013
- 'help' => __( 'Check this option to enable search box enhancements.', 'media-library-assistant' )),
1014
-
1015
- self::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS =>
1016
- array('tab' => 'general',
1017
- 'name' => __( 'Media Manager Enhanced Search Media Controls', 'media-library-assistant' ),
1018
- 'type' => 'checkbox',
1019
- 'std' => 'checked',
1020
- 'help' => __( 'Check/uncheck this option to display/hide the and/or connector and search fields controls.', 'media-library-assistant' )),
1021
-
1022
- self::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX =>
1023
- array('tab' => 'general',
1024
- 'name' => __( 'Media Manager Checklist meta boxes', 'media-library-assistant' ),
1025
- 'type' => 'checkbox',
1026
- 'std' => 'checked',
1027
- 'help' => __( 'Check this option to enable MLA-enhanced meta boxes in the "ATTACHMENT DETAILS" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a <strong>"checklist-style"</strong> meta box.', 'media-library-assistant' )),
1028
-
1029
- self::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX =>
1030
- array('tab' => 'general',
1031
- 'name' => __( 'Media Manager Flat meta boxes', 'media-library-assistant' ),
1032
- 'type' => 'checkbox',
1033
- 'std' => 'checked',
1034
- 'help' => __( 'Check this option to enable MLA-enhanced meta boxes in the "ATTACHMENT DETAILS" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</strong>, e.g., "Tags" or "Att. Tags", that do not use the "checklist-style" meta box.', 'media-library-assistant' )),
1035
-
1036
- self::MLA_MEDIA_MODAL_DETAILS_AUTOFILL =>
1037
- array('tab' => 'general',
1038
- 'name' => __( 'Media Manager auto-fill meta boxes', 'media-library-assistant' ),
1039
- 'type' => 'checkbox',
1040
- 'std' => '',
1041
- 'help' => __( 'Check this option to automatically fill MLA-enhanced meta boxes in the "ATTACHMENT DETAILS" pane<br>&nbsp;&nbsp;when the item is selected.', 'media-library-assistant' )),
1042
-
1043
- self::MLA_MEDIA_MODAL_ORDERBY =>
1044
- array('tab' => '',
1045
- 'name' => __( 'Media Manager Order By', 'media-library-assistant' ),
1046
- 'type' => 'select',
1047
- 'std' => 'default',
1048
- 'options' => array('default', 'none', 'title_name'),
1049
- 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'None', 'media-library-assistant' ), __( 'Title/Name', 'media-library-assistant' )),
1050
- 'help' => __( 'If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a column for the sort order of the Media Library listing.', 'media-library-assistant' )),
1051
-
1052
- self::MLA_MEDIA_MODAL_ORDER =>
1053
- array('tab' => '',
1054
- 'name' => __( 'Media Manager Order', 'media-library-assistant' ),
1055
- 'type' => 'radio',
1056
- 'std' => 'default',
1057
- 'options' => array('default', 'ASC', 'DESC'),
1058
- 'texts' => array( '&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', 'Ascending', 'Descending' ),
1059
- 'help' => __( 'Choose the sort order.', 'media-library-assistant' )),
1060
-
1061
- 'attachment_display_settings_subheader' =>
1062
- array('tab' => 'general',
1063
- 'name' => __( 'Attachment Display Settings', 'media-library-assistant' ),
1064
- 'type' => 'subheader'),
1065
-
1066
- self::MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS =>
1067
- array('tab' => 'general',
1068
- 'name' => __( 'Media Manager Apply Display Settings', 'media-library-assistant' ),
1069
- 'type' => 'checkbox',
1070
- 'std' => 'checked',
1071
- 'help' => __( 'Check this option to always start with the Attachment Display Settings set here,<br>&nbsp;&nbsp;overriding browser-/cookie-based defaults.', 'media-library-assistant' )),
1072
-
1073
- 'image_default_align' =>
1074
- array('tab' => 'general',
1075
- 'name' => __( 'Alignment', 'media-library-assistant' ),
1076
- /* translators: 1: option name, e.g., Alignment, Link To or Size */
1077
- 'help' => sprintf( __( 'Select a value for the default %1$s option in the Attachment Display Settings.', 'media-library-assistant' ), __( 'Alignment', 'media-library-assistant' ) ),
1078
- 'std' => 'default',
1079
- 'options' => array('default', 'left', 'center', 'right', 'none'),
1080
- 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'Left', 'media-library-assistant' ), __( 'Center', 'media-library-assistant' ), __( 'Right', 'media-library-assistant' ), __( 'None', 'media-library-assistant' )),
1081
- 'type' => 'custom',
1082
- 'render' => 'mla_attachment_display_settings_option_handler',
1083
- 'update' => 'mla_attachment_display_settings_option_handler',
1084
- 'delete' => 'mla_attachment_display_settings_option_handler',
1085
- 'reset' => 'mla_attachment_display_settings_option_handler'),
1086
-
1087
- 'image_default_link_type' =>
1088
- array('tab' => 'general',
1089
- 'name' => __( 'Link To', 'media-library-assistant' ),
1090
- /* translators: 1: option name, e.g., Alignment, Link To or Size */
1091
- 'help' => sprintf( __( 'Select a value for the default %1$s option in the Attachment Display Settings.', 'media-library-assistant' ), __( 'Link To', 'media-library-assistant' ) ),
1092
- 'std' => 'default',
1093
- 'options' => array('default', 'file', 'post', 'custom', 'none'),
1094
- 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'Media File', 'media-library-assistant' ), __( 'Attachment Page', 'media-library-assistant' ), __( 'Custom URL', 'media-library-assistant' ), __( 'None', 'media-library-assistant' )),
1095
- 'type' => 'custom',
1096
- 'render' => 'mla_attachment_display_settings_option_handler',
1097
- 'update' => 'mla_attachment_display_settings_option_handler',
1098
- 'delete' => 'mla_attachment_display_settings_option_handler',
1099
- 'reset' => 'mla_attachment_display_settings_option_handler'),
1100
-
1101
- 'image_default_size' =>
1102
- array('tab' => 'general',
1103
- 'name' => __( 'Size', 'media-library-assistant' ),
1104
- /* translators: 1: option name, e.g., Alignment, Link To or Size */
1105
- 'help' => sprintf( __( 'Select a value for the default %1$s option in the Attachment Display Settings.', 'media-library-assistant' ), __( 'Size', 'media-library-assistant' ) ),
1106
- 'std' => 'default',
1107
- 'options' => array('default', 'thumbnail', 'medium', 'large', 'full'),
1108
- 'texts' => array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;', __( 'Thumbnail', 'media-library-assistant' ), __( 'Medium', 'media-library-assistant' ), __( 'Large', 'media-library-assistant' ), __( 'Full Size', 'media-library-assistant' )),
1109
- 'type' => 'custom',
1110
- 'render' => 'mla_attachment_display_settings_option_handler',
1111
- 'update' => 'mla_attachment_display_settings_option_handler',
1112
- 'delete' => 'mla_attachment_display_settings_option_handler',
1113
- 'reset' => 'mla_attachment_display_settings_option_handler'),
1114
-
1115
- 'template_header' =>
1116
- array('tab' => 'mla_gallery',
1117
- 'name' => __( 'Default [mla_gallery] Templates and Settings', 'media-library-assistant' ),
1118
- 'type' => 'header'),
1119
-
1120
- 'default_tag_cloud_style' =>
1121
- array('tab' => '',
1122
- 'name' => __( 'Style Template', 'media-library-assistant' ),
1123
- 'type' => 'select',
1124
- 'std' => 'tag-cloud',
1125
- 'options' => array(),
1126
- 'texts' => array(),
1127
- /* translators: 1: template type 2: shortcode */
1128
- 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'Style Template', 'media-library-assistant' ), '[mla_tag_cloud]' ) ),
1129
-
1130
- 'default_tag_cloud_markup' =>
1131
- array('tab' => '',
1132
- 'name' => __( 'Markup Template', 'media-library-assistant' ),
1133
- 'type' => 'select',
1134
- 'std' => 'tag-cloud',
1135
- 'options' => array(),
1136
- 'texts' => array(),
1137
- /* translators: 1: template type 2: shortcode */
1138
- 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'markup template', 'media-library-assistant' ), '[mla_tag_cloud]' ) ),
1139
-
1140
- 'mla_tag_cloud_columns' =>
1141
- array('tab' => '',
1142
- 'name' => __( 'Default columns', 'media-library-assistant' ),
1143
- 'type' => 'text',
1144
- 'std' => '3',
1145
- 'size' => 3,
1146
- 'help' => __( 'Enter the number of [mla_tag_cloud] columns; must be a positive integer.', 'media-library-assistant' )),
1147
-
1148
- 'mla_tag_cloud_margin' =>
1149
- array('tab' => '',
1150
- 'name' => __( 'Default mla_margin', 'media-library-assistant' ),
1151
- 'type' => 'text',
1152
- 'std' => '1.5%',
1153
- 'size' => 10,
1154
- 'help' => __( 'Enter the CSS "margin" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
1155
-
1156
- 'mla_tag_cloud_itemwidth' =>
1157
- array('tab' => '',
1158
- 'name' => __( 'Default mla_itemwidth', 'media-library-assistant' ),
1159
- 'type' => 'text',
1160
- 'std' => 'calculate',
1161
- 'size' => 10,
1162
- 'help' => __( 'Enter the CSS "width" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "calculate" (the default) to calculate the value taking the "margin" value into account.<br>&nbsp;&nbsp;Enter "exact" to calculate the value without considering the "margin" value.<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
1163
-
1164
- 'default_style' =>
1165
- array('tab' => 'mla_gallery',
1166
- 'name' => __( 'Style Template', 'media-library-assistant' ),
1167
- 'type' => 'select',
1168
- 'std' => 'default',
1169
- 'options' => array(),
1170
- 'texts' => array(),
1171
- /* translators: 1: template type 2: shortcode */
1172
- 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'Style Template', 'media-library-assistant' ), '[mla_gallery]' ) ),
1173
-
1174
- 'default_markup' =>
1175
- array('tab' => 'mla_gallery',
1176
- 'name' => __( 'Markup Template', 'media-library-assistant' ),
1177
- 'type' => 'select',
1178
- 'std' => 'default',
1179
- 'options' => array(),
1180
- 'texts' => array(),
1181
- /* translators: 1: template type 2: shortcode */
1182
- 'help' => sprintf( __( 'Select the default %1$s for your %2$s shortcodes.', 'media-library-assistant' ), __( 'markup template', 'media-library-assistant' ), '[mla_gallery]' ) ),
1183
-
1184
- 'mla_gallery_columns' =>
1185
- array('tab' => 'mla_gallery',
1186
- 'name' => __( 'Default columns', 'media-library-assistant' ),
1187
- 'type' => 'text',
1188
- 'std' => '3',
1189
- 'size' => 3,
1190
- 'help' => __( 'Enter the number of [mla_gallery] columns; must be a positive integer.', 'media-library-assistant' )),
1191
-
1192
- 'mla_gallery_margin' =>
1193
- array('tab' => 'mla_gallery',
1194
- 'name' => __( 'Default mla_margin', 'media-library-assistant' ),
1195
- 'type' => 'text',
1196
- 'std' => '1.5%',
1197
- 'size' => 10,
1198
- 'help' => __( 'Enter the CSS "margin" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
1199
-
1200
- 'mla_gallery_itemwidth' =>
1201
- array('tab' => 'mla_gallery',
1202
- 'name' => __( 'Default mla_itemwidth', 'media-library-assistant' ),
1203
- 'type' => 'text',
1204
- 'std' => 'calculate',
1205
- 'size' => 10,
1206
- 'help' => __( 'Enter the CSS "width" property value, in length (px, em, pt, etc.), percent (%), "auto" or "inherit".<br>&nbsp;&nbsp;Enter "calculate" (the default) to calculate the value taking the "margin" value into account.<br>&nbsp;&nbsp;Enter "exact" to calculate the value without considering the "margin" value.<br>&nbsp;&nbsp;Enter "none" to remove the property entirely.', 'media-library-assistant' )),
1207
-
1208
- 'mal_viewer_header' =>
1209
- array('tab' => 'mla_gallery',
1210
- 'name' => __( 'Thumbnail Substitution Support, mla_viewer', 'media-library-assistant' ),
1211
- 'type' => 'subheader'),
1212
-
1213
- 'enable_mla_viewer' =>
1214
- array('tab' => 'mla_gallery',
1215
- 'name' => __( 'Enable thumbnail substitution', 'media-library-assistant' ),
1216
- 'type' => 'checkbox',
1217
- 'std' => 'checked',
1218
- 'help' => __( 'Check this option to allow the "mla_viewer" to generate thumbnail images for PDF documents. Thumbnails are generated dynamically, each time the item appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both Ghostscript and Imagick/ImageMagick must be installed for this feature.</strong>', 'media-library-assistant' )),
1219
-
1220
- 'enable_featured_image' =>
1221
- array('tab' => 'mla_gallery',
1222
- 'name' => __( 'Enable Featured Images', 'media-library-assistant' ),
1223
- 'type' => 'checkbox',
1224
- 'std' => 'checked',
1225
- 'help' => __( 'Check this option to extend Featured Image support to all Media Library items. The Featured Image can be used as a thumbnail image for the item in an [mla_gallery] display.', 'media-library-assistant' )),
1226
-
1227
- 'enable_featured_image_generation' =>
1228
- array('tab' => 'mla_gallery',
1229
- 'name' => __( 'Enable Featured Image Generation', 'media-library-assistant' ),
1230
- 'type' => 'checkbox',
1231
- 'std' => 'checked',
1232
- 'help' => __( 'Check this option to enable the "Thumbnail" generation action in the Media/Assistant submenu Bulk Actions dropdown.', 'media-library-assistant' )),
1233
-
1234
- 'enable_ghostscript_check' =>
1235
- array('tab' => 'mla_gallery',
1236
- 'name' => __( 'Enable explicit Ghostscript check', 'media-library-assistant' ),
1237
- 'type' => 'checkbox',
1238
- 'std' => 'checked',
1239
- 'help' => __( 'Check this option to enable the explicit check for Ghostscript support required for thumbnail generation. If your Ghostscript software is in a non-standard location, unchecking this option bypasses the check. Bad things can happen if Ghostscript is missing but Imagick/ImageMagick is present, so leave this option checked unless you know it is safe to turn it off.', 'media-library-assistant' )),
1240
-
1241
- 'ghostscript_path' =>
1242
- array('tab' => 'mla_gallery',
1243
- 'name' => __( 'Ghostscript path', 'media-library-assistant' ),
1244
- 'type' => 'text',
1245
- 'std' => '',
1246
- 'size' => 20,
1247
- 'help' => __( 'If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will override the search for Ghostscript in other places.', 'media-library-assistant' )),
1248
 
 
 
 
 
 
 
 
 
 
1249
  /*
1250
- * Managed by mla_get_style_templates and mla_put_style_templates
1251
  */
1252
- 'style_templates' =>
1253
- array('tab' => '',
1254
- 'type' => 'hidden',
1255
- 'std' => array()),
 
 
 
 
 
 
 
1256
 
1257
  /*
1258
- * Managed by mla_get_markup_templates and mla_put_markup_templates
 
1259
  */
1260
- 'markup_templates' =>
1261
- array('tab' => '',
1262
- 'type' => 'hidden',
1263
- 'std' => array()),
1264
-
1265
- 'enable_custom_field_mapping' =>
1266
- array('tab' => 'custom_field',
1267
- 'name' => __( 'Enable custom field mapping when adding new media', 'media-library-assistant' ),
1268
- 'type' => 'checkbox',
1269
- 'std' => '',
1270
- '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' )),
1271
-
1272
- 'enable_custom_field_update' =>
1273
- array('tab' => 'custom_field',
1274
- 'name' => __( 'Enable custom field mapping when updating media metadata', 'media-library-assistant' ),
1275
- 'type' => 'checkbox',
1276
- 'std' => '',
1277
- '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' )),
1278
-
1279
- 'custom_field_mapping' =>
1280
- array('tab' => '',
1281
- 'help' => __( 'Update the custom field mapping values above, then click Save Changes to make the updates permanent.<br>You can also make temporary updates and click a Map All Attachments button to apply the rule(s) to all attachments without saving any rule changes.', 'media-library-assistant' ),
1282
- 'std' => array(),
1283
- 'type' => 'custom',
1284
- 'render' => 'mla_custom_field_option_handler',
1285
- 'update' => 'mla_custom_field_option_handler',
1286
- 'delete' => 'mla_custom_field_option_handler',
1287
- 'reset' => 'mla_custom_field_option_handler'),
1288
-
1289
- 'enable_iptc_exif_mapping' =>
1290
- array('tab' => 'iptc_exif',
1291
- 'name' => __( 'Enable IPTC/EXIF Mapping when adding new media', 'media-library-assistant' ),
1292
- 'type' => 'checkbox',
1293
- 'std' => '',
1294
- 'help' => __( 'Check this option to enable mapping when uploading new media (attachments).<br>&nbsp;&nbsp;Does NOT affect the operation of the "Map" buttons on the bulk edit, single edit and settings screens.', 'media-library-assistant' )),
1295
-
1296
- 'enable_iptc_exif_update' =>
1297
- array('tab' => 'iptc_exif',
1298
- 'name' => __( 'Enable IPTC/EXIF Mapping when updating media metadata', 'media-library-assistant' ),
1299
- 'type' => 'checkbox',
1300
- 'std' => '',
1301
- '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' )),
1302
-
1303
- 'iptc_exif_standard_mapping' =>
1304
- array('tab' => '',
1305
- 'help' => __( 'Update the standard field mapping values above, then click <strong>Save Changes</strong> to make the updates permanent.<br>You can also make temporary updates and click <strong>Map All Attachments, Standard Fields Now</strong> to apply the updates to all attachments without saving the rule changes.', 'media-library-assistant' ),
1306
- 'std' => NULL,
1307
- 'type' => 'custom',
1308
- 'render' => 'mla_iptc_exif_option_handler',
1309
- 'update' => 'mla_iptc_exif_option_handler',
1310
- 'delete' => 'mla_iptc_exif_option_handler',
1311
- 'reset' => 'mla_iptc_exif_option_handler'),
1312
-
1313
- 'iptc_exif_taxonomy_mapping' =>
1314
- array('tab' => '',
1315
- 'help' => __( 'Update the taxonomy term mapping values above, then click <strong>Save Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>.', 'media-library-assistant' ),
1316
- 'std' => NULL,
1317
- 'type' => 'custom',
1318
- 'render' => 'mla_iptc_exif_option_handler',
1319
- 'update' => 'mla_iptc_exif_option_handler',
1320
- 'delete' => 'mla_iptc_exif_option_handler',
1321
- 'reset' => 'mla_iptc_exif_option_handler'),
1322
-
1323
- 'iptc_exif_custom_mapping' =>
1324
- array('tab' => '',
1325
- 'help' => __( '<strong>Update</strong> individual custom field mapping values above, or make several updates and click <strong>Save Changes</strong> below to apply them all at once.<br>You can also <strong>add a new rule</strong> for an existing field or <strong>add a new field</strong> and rule.<br>You can make temporary updates and click <strong>Map All Attachments, Custom Fields Now</strong> to apply the updates to all attachments without saving the rule changes.', 'media-library-assistant' ),
1326
- 'std' => NULL,
1327
- 'type' => 'custom',
1328
- 'render' => 'mla_iptc_exif_option_handler',
1329
- 'update' => 'mla_iptc_exif_option_handler',
1330
- 'delete' => 'mla_iptc_exif_option_handler',
1331
- 'reset' => 'mla_iptc_exif_option_handler'),
1332
-
1333
- 'iptc_exif_mapping' =>
1334
- array('tab' => '',
1335
- 'help' => __( 'IPTC/EXIF Mapping help', 'media-library-assistant' ),
1336
- 'std' => array (
1337
- 'standard' => array (
1338
- 'post_title' => array (
1339
- 'name' => __( 'Title', 'media-library-assistant' ),
1340
- 'iptc_value' => 'none',
1341
- 'exif_value' => '',
1342
- 'iptc_first' => true,
1343
- 'keep_existing' => true
1344
- ),
1345
- 'post_name' => array (
1346
- 'name' => __( 'Name/Slug', 'media-library-assistant' ),
1347
- 'iptc_value' => 'none',
1348
- 'exif_value' => '',
1349
- 'iptc_first' => true,
1350
- 'keep_existing' => true
1351
- ),
1352
- 'image_alt' => array (
1353
- 'name' => __( 'ALT Text', 'media-library-assistant' ),
1354
- 'iptc_value' => 'none',
1355
- 'exif_value' => '',
1356
- 'iptc_first' => true,
1357
- 'keep_existing' => true
1358
- ),
1359
- 'post_excerpt' => array (
1360
- 'name' => __( 'Caption', 'media-library-assistant' ),
1361
- 'iptc_value' => 'none',
1362
- 'exif_value' => '',
1363
- 'iptc_first' => true,
1364
- 'keep_existing' => true
1365
- ),
1366
- 'post_content' => array (
1367
- 'name' => __( 'Description', 'media-library-assistant' ),
1368
- 'iptc_value' => 'none',
1369
- 'exif_value' => '',
1370
- 'iptc_first' => true,
1371
- 'keep_existing' => true
1372
- ),
1373
- ),
1374
- 'taxonomy' => array (
1375
- ),
1376
- 'custom' => array (
1377
- )
1378
- ),
1379
- 'type' => 'custom',
1380
- 'render' => 'mla_iptc_exif_option_handler',
1381
- 'update' => 'mla_iptc_exif_option_handler',
1382
- 'delete' => 'mla_iptc_exif_option_handler',
1383
- 'reset' => 'mla_iptc_exif_option_handler'),
1384
-
1385
- self::MLA_ENABLE_POST_MIME_TYPES =>
1386
- array('tab' => 'view',
1387
- 'name' => __( 'Enable View and Post MIME Type Support', 'media-library-assistant' ),
1388
- 'type' => 'checkbox',
1389
- 'std' => 'checked',
1390
- 'help' => __( 'Check/uncheck this option to enable/disable Post MIME Type Support, then click <strong>Save Changes</strong> to record the new setting.', 'media-library-assistant' ) ),
1391
-
1392
- self::MLA_POST_MIME_TYPES =>
1393
- array('tab' => '',
1394
- 'type' => 'custom',
1395
- 'render' => 'mla_post_mime_types_option_handler',
1396
- 'update' => 'mla_post_mime_types_option_handler',
1397
- 'delete' => 'mla_post_mime_types_option_handler',
1398
- 'reset' => 'mla_post_mime_types_option_handler',
1399
- 'help' => __( 'Post MIME Types help.', 'media-library-assistant' ),
1400
- 'std' => array(
1401
- 'all' => array(
1402
- 'singular' => _x( 'All', 'table_view_singular', 'media-library-assistant' ),
1403
- 'plural' => _x( 'All', 'table_view_plural', 'media-library-assistant' ),
1404
- 'specification' => '',
1405
- 'post_mime_type' => false,
1406
- 'table_view' => true,
1407
- 'menu_order' => 0,
1408
- 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1409
- ),
1410
- 'image' => array(
1411
- 'singular' => _x( 'Image', 'table_view_singular', 'media-library-assistant' ),
1412
- 'plural' => _x( 'Images', 'table_view_plural', 'media-library-assistant' ),
1413
- 'specification' => '',
1414
- 'post_mime_type' => true,
1415
- 'table_view' => true,
1416
- 'menu_order' => 0,
1417
- 'description' => _x( 'All image subtypes', 'post_mime_types_description', 'media-library-assistant' )
1418
- ),
1419
- 'audio' => array(
1420
- 'singular' => _x( 'Audio', 'table_view_singular', 'media-library-assistant' ),
1421
- 'plural' => _x( 'Audio', 'table_view_plural', 'media-library-assistant' ),
1422
- 'specification' => '',
1423
- 'post_mime_type' => true,
1424
- 'table_view' => true,
1425
- 'menu_order' => 0,
1426
- 'description' => _x( 'All audio subtypes', 'post_mime_types_description', 'media-library-assistant' )
1427
- ),
1428
- 'video' => array(
1429
- 'singular' => _x( 'Video', 'table_view_singular', 'media-library-assistant' ),
1430
- 'plural' => _x( 'Video', 'table_view_plural', 'media-library-assistant' ),
1431
- 'specification' => '',
1432
- 'post_mime_type' => true,
1433
- 'table_view' => true,
1434
- 'menu_order' => 0,
1435
- 'description' => _x( 'All video subtypes', 'post_mime_types_description', 'media-library-assistant' )
1436
- ),
1437
- 'text' => array(
1438
- 'singular' => _x( 'Text', 'table_view_singular', 'media-library-assistant' ),
1439
- 'plural' => _x( 'Text', 'table_view_plural', 'media-library-assistant' ),
1440
- 'specification' => '',
1441
- 'post_mime_type' => true,
1442
- 'table_view' => true,
1443
- 'menu_order' => 0,
1444
- 'description' => _x( 'All text subtypes', 'post_mime_types_description', 'media-library-assistant' )
1445
- ),
1446
- 'application' => array(
1447
- 'singular' => _x( 'Application', 'table_view_singular', 'media-library-assistant' ),
1448
- 'plural' => _x( 'Applications', 'table_view_plural', 'media-library-assistant' ),
1449
- 'specification' => '',
1450
- 'post_mime_type' => true,
1451
- 'table_view' => true,
1452
- 'menu_order' => 0,
1453
- 'description' => _x( 'All application subtypes', 'post_mime_types_description', 'media-library-assistant' )
1454
- ),
1455
- 'detached' => array(
1456
- 'singular' => _x( 'Unattached', 'table_view_singular', 'media-library-assistant' ),
1457
- 'plural' => _x( 'Unattached', 'table_view_plural', 'media-library-assistant' ),
1458
- 'specification' => '',
1459
- 'post_mime_type' => false,
1460
- 'table_view' => true,
1461
- 'menu_order' => 0,
1462
- 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1463
- ),
1464
- 'attached' => array(
1465
- 'singular' => _x( 'Attached', 'table_view_singular', 'media-library-assistant' ),
1466
- 'plural' => _x( 'Attached', 'table_view_plural', 'media-library-assistant' ),
1467
- 'specification' => '',
1468
- 'post_mime_type' => false,
1469
- 'table_view' => true,
1470
- 'menu_order' => 0,
1471
- 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1472
- ),
1473
- 'trash' => array(
1474
- 'singular' => _x( 'Trash', 'table_view_singular', 'media-library-assistant' ),
1475
- 'plural' => _x( 'Trash', 'table_view_plural', 'media-library-assistant' ),
1476
- 'specification' => '',
1477
- 'post_mime_type' => false,
1478
- 'table_view' => true,
1479
- 'menu_order' => 0,
1480
- 'description' => _x( 'Built-in view', 'post_mime_types_description', 'media-library-assistant' )
1481
- )
1482
- )),
1483
-
1484
- self::MLA_ENABLE_UPLOAD_MIMES =>
1485
- array('tab' => 'upload',
1486
- 'name' => __( 'Enable Upload MIME Type Support', 'media-library-assistant' ),
1487
- 'type' => 'checkbox',
1488
- 'std' => 'checked',
1489
- 'help' => __( 'Check/uncheck this option to enable/disable Upload MIME Type Support, then click <strong>Save Changes</strong> to record the new setting.', 'media-library-assistant' )),
1490
-
1491
- self::MLA_UPLOAD_MIMES =>
1492
- array('tab' => '',
1493
- 'type' => 'custom',
1494
- 'render' => 'mla_upload_mimes_option_handler',
1495
- 'update' => 'mla_upload_mimes_option_handler',
1496
- 'delete' => 'mla_upload_mimes_option_handler',
1497
- 'reset' => 'mla_upload_mimes_option_handler',
1498
- 'help' => __( 'Upload MIME Types help.', 'media-library-assistant' ),
1499
- 'std' => false), // false to detect first-time load; will become an array
1500
-
1501
- self::MLA_ENABLE_MLA_ICONS =>
1502
- array('tab' => 'upload',
1503
- 'name' => __( 'Enable MLA File Type Icons Support', 'media-library-assistant' ),
1504
- 'type' => 'checkbox',
1505
- 'std' => 'checked',
1506
- 'help' => __( 'Check/uncheck this option to enable/disable MLA File Type Icons Support, then click <strong>Save Changes</strong> to record the new setting.', 'media-library-assistant' )),
1507
-
1508
- self::MLA_DEBUG_DISPLAY_LIMIT =>
1509
- array('tab' => 'debug',
1510
- 'name' => __( 'Display Limit', 'media-library-assistant' ),
1511
- 'type' => 'text',
1512
- 'std' => '131072',
1513
- 'size' => 5,
1514
- 'help' => __( 'Enter the maximum number of debug log characters to display; enter zero or leave blank for no limit.', 'media-library-assistant' )),
1515
-
1516
- self::MLA_DEBUG_FILE =>
1517
- array('tab' => 'debug',
1518
- 'name' => __( 'Debug File', 'media-library-assistant' ),
1519
- 'type' => 'text',
1520
- 'std' => '',
1521
- 'size' => 60,
1522
- 'help' => __( 'Enter the name of an alternate, MLA-specific debug log file; leave blank to use the PHP error_log.', 'media-library-assistant' )),
1523
-
1524
- self::MLA_DEBUG_REPLACE_PHP_LOG =>
1525
- array('tab' => 'debug',
1526
- 'name' => __( 'Replace PHP error_log file', 'media-library-assistant' ),
1527
- 'type' => 'checkbox',
1528
- 'std' => '',
1529
- 'help' => __( 'Check this option to replace the PHP error_log file with the MLA Debug File.<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File.', 'media-library-assistant' )),
1530
-
1531
- self::MLA_DEBUG_REPLACE_PHP_REPORTING =>
1532
- array('tab' => 'debug',
1533
- 'name' => __( 'PHP Reporting', 'media-library-assistant' ),
1534
- 'type' => 'text',
1535
- 'std' => '',
1536
- 'size' => 10,
1537
- 'help' => __( 'Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to use the existing PHP error_reporting value.', 'media-library-assistant' )),
1538
-
1539
- self::MLA_DEBUG_REPLACE_LEVEL =>
1540
- array('tab' => 'debug',
1541
- 'name' => __( 'MLA Reporting', 'media-library-assistant' ),
1542
- 'type' => 'text',
1543
- 'std' => '',
1544
- 'size' => 10,
1545
- 'help' => __( 'Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use the existing MLA_DEBUG_LEVEL value.', 'media-library-assistant' )),
1546
-
1547
- /* Here are examples of the other option types
1548
- 'textarea' =>
1549
- array('tab' => '',
1550
- 'name' => 'Text Area',
1551
- 'type' => 'textarea',
1552
- 'std' => 'default text area',
1553
- 'cols' => 60,
1554
- 'rows' => 4,
1555
- 'help' => __( 'Enter the text area...'),
1556
- */
1557
- );
1558
  }
1559
 
1560
  /**
@@ -1562,12 +377,12 @@ class MLACore {
1562
  *
1563
  * Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.
1564
  *
1565
- * @sin20 2.02
1566
  *
1567
  * @return void
1568
  */
1569
  public static function mla_initialize_tax_checked_on_top() {
1570
- if ( NULL === MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] ) {
1571
  /*
1572
  * WordPress default is 'checked_ontop' => true
1573
  * Initialize tax_checked_on_top defaults to true for all supported taxonomies
@@ -1578,7 +393,7 @@ class MLACore {
1578
  $checked_on_top[ $new_key ] = 'checked';
1579
  }
1580
 
1581
- MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] = $checked_on_top;
1582
  }
1583
  }
1584
 
@@ -1597,11 +412,11 @@ class MLACore {
1597
  */
1598
  public static function mla_get_option( $option, $get_default = false, $get_stored = false, &$option_table = NULL ) {
1599
  if ( NULL == $option_table ) {
1600
- if ( empty( self::$mla_option_definitions ) ) {
1601
- MLACore::mla_localize_option_definitions_array();
1602
  }
1603
 
1604
- $option_table =& self::$mla_option_definitions;
1605
  }
1606
 
1607
  if ( ! array_key_exists( $option, $option_table ) ) {
@@ -1636,15 +451,21 @@ class MLACore {
1636
  */
1637
  public static function mla_update_option( $option, $newvalue, &$option_table = NULL ) {
1638
  if ( NULL == $option_table ) {
1639
- if ( empty( self::$mla_option_definitions ) ) {
1640
- MLACore::mla_localize_option_definitions_array();
1641
  }
1642
 
1643
- $option_table =& self::$mla_option_definitions;
1644
  }
1645
 
1646
  if ( array_key_exists( $option, $option_table ) ) {
1647
- return update_option( MLA_OPTION_PREFIX . $option, $newvalue );
 
 
 
 
 
 
1648
  }
1649
 
1650
  return false;
@@ -1662,11 +483,11 @@ class MLACore {
1662
  */
1663
  public static function mla_delete_option( $option, &$option_table = NULL ) {
1664
  if ( NULL == $option_table ) {
1665
- if ( empty( self::$mla_option_definitions ) ) {
1666
- MLACore::mla_localize_option_definitions_array();
1667
  }
1668
 
1669
- $option_table =& self::$mla_option_definitions;
1670
  }
1671
 
1672
  if ( array_key_exists( $option, $option_table ) ) {
@@ -1819,56 +640,56 @@ class MLACore {
1819
  * string if $tax_name is '' and $support_type is 'filter', returns the taxonomy to filter by.
1820
  */
1821
  public static function mla_taxonomy_support($tax_name, $support_type = 'support') {
1822
- $tax_options = MLACore::mla_get_option( MLACore::MLA_TAXONOMY_SUPPORT );
1823
 
1824
  switch ( $support_type ) {
1825
  case 'support':
1826
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1827
  return isset( $_REQUEST['tax_support'][ $tax_name ] );
1828
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1829
- return array_key_exists( $tax_name, MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'] );
1830
  }
1831
 
1832
- $tax_support = isset( $tax_options['tax_support'] ) ? $tax_options['tax_support'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
1833
  return array_key_exists( $tax_name, $tax_support );
1834
  case 'quick-edit':
1835
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1836
  return isset( $_REQUEST['tax_quick_edit'][ $tax_name ] );
1837
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1838
- return array_key_exists( $tax_name, MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
1839
  }
1840
 
1841
- $tax_quick_edit = isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
1842
  return array_key_exists( $tax_name, $tax_quick_edit );
1843
  case 'term-search':
1844
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1845
  return isset( $_REQUEST['tax_term_search'][ $tax_name ] );
1846
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1847
- return array_key_exists( $tax_name, MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
1848
  }
1849
 
1850
- $tax_term_search = isset( $tax_options['tax_term_search'] ) ? $tax_options['tax_term_search'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
1851
  return array_key_exists( $tax_name, $tax_term_search );
1852
  case 'flat-checklist':
1853
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1854
  return isset( $_REQUEST['tax_flat_checklist'][ $tax_name ] );
1855
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1856
- return array_key_exists( $tax_name, MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
1857
  }
1858
 
1859
- $tax_flat_checklist = isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
1860
  return array_key_exists( $tax_name, $tax_flat_checklist );
1861
  case 'checked-on-top':
1862
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1863
  return isset( $_REQUEST['tax_checked_on_top'][ $tax_name ] );
1864
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1865
- return array_key_exists( $tax_name, MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
1866
  }
1867
 
1868
- $tax_checked_on_top = isset( $tax_options['tax_checked_on_top'] ) ? $tax_options['tax_checked_on_top'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
1869
  return array_key_exists( $tax_name, $tax_checked_on_top );
1870
  case 'filter':
1871
- $tax_filter = isset( $tax_options['tax_filter'] ) ? $tax_options['tax_filter'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
1872
  if ( '' == $tax_name ) {
1873
  return $tax_filter;
1874
  }
@@ -1877,7 +698,7 @@ class MLACore {
1877
  $tax_filter = isset( $_REQUEST['tax_filter'] ) ? $_REQUEST['tax_filter'] : '';
1878
  return ( $tax_name == $tax_filter );
1879
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1880
- return array_key_exists( $tax_name, MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'] );
1881
  }
1882
 
1883
  return ( $tax_name == $tax_filter );
@@ -1896,56 +717,56 @@ class MLACore {
1896
  * @return array taxonomies assigned to $support_type; can be empty.
1897
  */
1898
  public static function mla_supported_taxonomies($support_type = 'support') {
1899
- $tax_options = MLACore::mla_get_option( MLACore::MLA_TAXONOMY_SUPPORT );
1900
  switch ( $support_type ) {
1901
  case 'support':
1902
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1903
  return isset( $_REQUEST['tax_support'] ) ? array_keys( $_REQUEST['tax_support'] ) : array();
1904
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1905
- return array_keys( MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'] );
1906
  }
1907
 
1908
- return array_keys( isset( $tax_options['tax_support'] ) ? $tax_options['tax_support'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'] );
1909
  case 'quick-edit':
1910
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1911
  return isset( $_REQUEST['tax_quick_edit'] ) ? array_keys( $_REQUEST['tax_quick_edit'] ) : array();
1912
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1913
- return array_keys( MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
1914
  }
1915
 
1916
- return array_keys( isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
1917
  case 'term-search':
1918
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1919
  return isset( $_REQUEST['tax_term_search'] ) ? array_keys( $_REQUEST['tax_term_search'] ) : array();
1920
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1921
- return array_keys( MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
1922
  }
1923
 
1924
- return array_keys( isset( $tax_options['tax_term_search'] ) ? $tax_options['tax_term_search'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
1925
  case 'flat-checklist':
1926
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1927
  return isset( $_REQUEST['tax_flat_checklist'] ) ? array_keys( $_REQUEST['tax_flat_checklist'] ) : array();
1928
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1929
- return array_keys( MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
1930
  }
1931
 
1932
- return array_keys( isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
1933
  case 'checked-on-top':
1934
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1935
  return isset( $_REQUEST['tax_checked_on_top'] ) ? array_keys( $_REQUEST['tax_checked_on_top'] ) : array();
1936
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1937
- return array_keys( MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
1938
  }
1939
 
1940
- return array_keys( isset( $tax_options['tax_checked_on_top'] ) ? $tax_options['tax_checked_on_top'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
1941
  case 'filter':
1942
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
1943
  return isset( $_REQUEST['tax_filter'] ) ? (array) $_REQUEST['tax_filter'] : array();
1944
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
1945
- return (array) MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
1946
  }
1947
 
1948
- return (array) isset( $tax_options['tax_filter'] ) ? $tax_options['tax_filter'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
1949
  default:
1950
  return array();
1951
  } // $support_type
@@ -2556,6 +1377,11 @@ class MLACore {
2556
  }
2557
  } // Class MLACore
2558
 
 
 
 
 
 
2559
  /**
2560
  * Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output
2561
  *
32
  */
33
  public static $original_php_reporting = '?';
34
 
35
+ /**
36
+ * Constant to log "any" debug activity
37
+ *
38
+ * @since 2.25
39
+ *
40
+ * @var integer
41
+ */
42
+ CONST MLA_DEBUG_CATEGORY_ANY = 0x00000001;
43
+
44
  /**
45
  * Constant to log Ajax debug activity
46
  *
158
  */
159
  const JAVASCRIPT_UPDATE_COMPAT_ACTION = 'mla-update-compat-fields';
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  /**
162
  * Option setting for "Featured in" reporting
163
  *
210
  * @return void
211
  */
212
  public static function initialize( ) {
213
+ if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_FEATURED_IN_TUNING ) ) {
214
  MLACore::$process_featured_in = false;
215
  }
216
 
217
+ if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_INSERTED_IN_TUNING ) ) {
218
  MLACore::$process_inserted_in = false;
219
  }
220
 
221
+ if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_GALLERY_IN_TUNING ) ) {
222
  MLACore::$process_gallery_in = false;
223
  }
224
 
225
+ if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING ) ) {
226
  MLACore::$process_mla_gallery_in = false;
227
  }
228
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  /*
230
+ * Look for redirects from the Media/Edit Media screen when it was picked from the
231
+ * "Edit" rollover action on the Media/Assistant submenu
232
  */
233
+ if ( isset( $_REQUEST['mla_source'] ) ) {
234
+ add_filter( 'wp_redirect', 'MLACore::mla_wp_redirect_filter', 10, 2 );
235
+ }
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  /*
238
  * Override the cookie-based Attachment Display Settings, if desired
239
  * consider ignoring 'action' => 'send-attachment-to-editor',
240
  */
241
+ if ( 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS ) ) {
242
  $image_default_align = get_option( 'image_default_align' );
243
  $image_default_link_type = get_option( 'image_default_link_type' );
244
  $image_default_size = get_option( 'image_default_size' );
290
  }
291
 
292
  /**
293
+ * Load a plugin text domain and alternate debug file
294
+ *
295
+ * The "add_action" for this function is in mla-plugin-loader.php, because the "initialize"
296
+ * function above doesn't run in time.
297
+ * Defined as public because it's an action.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  *
299
+ * @since 1.60
300
  *
301
  * @return void
302
  */
303
+ public static function mla_plugins_loaded_action(){
304
+ $text_domain = 'media-library-assistant';
305
+ $locale = apply_filters( 'mla_plugin_locale', get_locale(), $text_domain );
306
+
307
+ /*
308
+ * To override the plugin's translation files for one, some or all strings,
309
+ * create a sub-directory named 'media-library-assistant' in the WordPress
310
+ * WP_LANG_DIR (e.g., /wp-content/languages) directory.
311
+ */
312
+ load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
313
+ load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
314
 
315
+ /*
316
+ * This must/will be repeated in class-mla-tests.php to reflect translations
317
+ */
318
+ MLACoreOptions::mla_localize_option_definitions_array();
319
+
320
+ /*
321
+ * Do not process debug options unless MLA_DEBUG_LEVEL is set in wp-config.php
322
+ */
323
+ if ( MLA_DEBUG_LEVEL & 1 ) {
324
  /*
325
+ * Set up alternate MLA debug log file
326
  */
327
+ $error_log_name = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_FILE );
328
+ if ( ! empty( $error_log_name ) ) {
329
+ MLACore::mla_debug_file( $error_log_name );
330
+
331
+ /*
332
+ * Override PHP error_log file
333
+ */
334
+ if ( 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_PHP_LOG ) ) {
335
+ $result = ini_set('error_log', WP_CONTENT_DIR . self::$mla_debug_file );
336
+ }
337
+ }
338
 
339
  /*
340
+ * PHP error_reporting must be done later in class-mla-tests.php
341
+ * Override MLA debug levels
342
  */
343
+ MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
344
+ $mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
345
+ if ( strlen( $mla_reporting ) ) {
346
+ $mla_reporting = 0 + $mla_reporting;
347
+ if ( $mla_reporting ) {
348
+ MLACore::$mla_debug_level = $mla_reporting | 1;
349
+ } else {
350
+ MLACore::$mla_debug_level = 0;
351
+ }
352
+ }
353
+ } // MLA_DEBUG_LEVEL & 1
354
+ }
355
+
356
+ /**
357
+ * Filter the redirect location.
358
+ *
359
+ * @since 2.25
360
+ *
361
+ * @param string $location The path to redirect to.
362
+ * @param int $status Status code to use.
363
+ */
364
+ public static function mla_wp_redirect_filter( $location, $status ) {
365
+ /*
366
+ * Check for Update, Trash or Delete Permanently on Media/Edit Media screen,
367
+ */
368
+ if ( ( false !== strpos( $location, 'upload.php?' ) ) || ( false !== strpos( $location, 'post.php?' ) ) ) {
369
+ $location = add_query_arg( array( 'mla_source' => $_REQUEST['mla_source'] ), $location );
370
+ }
371
+
372
+ return $location;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  }
374
 
375
  /**
377
  *
378
  * Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.
379
  *
380
+ * @since 2.02
381
  *
382
  * @return void
383
  */
384
  public static function mla_initialize_tax_checked_on_top() {
385
+ if ( NULL === MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] ) {
386
  /*
387
  * WordPress default is 'checked_ontop' => true
388
  * Initialize tax_checked_on_top defaults to true for all supported taxonomies
393
  $checked_on_top[ $new_key ] = 'checked';
394
  }
395
 
396
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] = $checked_on_top;
397
  }
398
  }
399
 
412
  */
413
  public static function mla_get_option( $option, $get_default = false, $get_stored = false, &$option_table = NULL ) {
414
  if ( NULL == $option_table ) {
415
+ if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
416
+ MLACoreOptions::mla_localize_option_definitions_array();
417
  }
418
 
419
+ $option_table =& MLACoreOptions::$mla_option_definitions;
420
  }
421
 
422
  if ( ! array_key_exists( $option, $option_table ) ) {
451
  */
452
  public static function mla_update_option( $option, $newvalue, &$option_table = NULL ) {
453
  if ( NULL == $option_table ) {
454
+ if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
455
+ MLACoreOptions::mla_localize_option_definitions_array();
456
  }
457
 
458
+ $option_table =& MLACoreOptions::$mla_option_definitions;
459
  }
460
 
461
  if ( array_key_exists( $option, $option_table ) ) {
462
+ if ( isset( $option_table[ $option ]['autoload'] ) ) {
463
+ $autoload = (boolean) $option_table[ $option ]['autoload'];
464
+ } else {
465
+ $autoload = true;
466
+ }
467
+
468
+ return update_option( MLA_OPTION_PREFIX . $option, $newvalue, $autoload );
469
  }
470
 
471
  return false;
483
  */
484
  public static function mla_delete_option( $option, &$option_table = NULL ) {
485
  if ( NULL == $option_table ) {
486
+ if ( empty( MLACoreOptions::$mla_option_definitions ) ) {
487
+ MLACoreOptions::mla_localize_option_definitions_array();
488
  }
489
 
490
+ $option_table =& MLACoreOptions::$mla_option_definitions;
491
  }
492
 
493
  if ( array_key_exists( $option, $option_table ) ) {
640
  * string if $tax_name is '' and $support_type is 'filter', returns the taxonomy to filter by.
641
  */
642
  public static function mla_taxonomy_support($tax_name, $support_type = 'support') {
643
+ $tax_options = MLACore::mla_get_option( MLACoreOptions::MLA_TAXONOMY_SUPPORT );
644
 
645
  switch ( $support_type ) {
646
  case 'support':
647
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
648
  return isset( $_REQUEST['tax_support'][ $tax_name ] );
649
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
650
+ return array_key_exists( $tax_name, MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'] );
651
  }
652
 
653
+ $tax_support = isset( $tax_options['tax_support'] ) ? $tax_options['tax_support'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
654
  return array_key_exists( $tax_name, $tax_support );
655
  case 'quick-edit':
656
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
657
  return isset( $_REQUEST['tax_quick_edit'][ $tax_name ] );
658
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
659
+ return array_key_exists( $tax_name, MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
660
  }
661
 
662
+ $tax_quick_edit = isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
663
  return array_key_exists( $tax_name, $tax_quick_edit );
664
  case 'term-search':
665
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
666
  return isset( $_REQUEST['tax_term_search'][ $tax_name ] );
667
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
668
+ return array_key_exists( $tax_name, MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
669
  }
670
 
671
+ $tax_term_search = isset( $tax_options['tax_term_search'] ) ? $tax_options['tax_term_search'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
672
  return array_key_exists( $tax_name, $tax_term_search );
673
  case 'flat-checklist':
674
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
675
  return isset( $_REQUEST['tax_flat_checklist'][ $tax_name ] );
676
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
677
+ return array_key_exists( $tax_name, MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
678
  }
679
 
680
+ $tax_flat_checklist = isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
681
  return array_key_exists( $tax_name, $tax_flat_checklist );
682
  case 'checked-on-top':
683
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
684
  return isset( $_REQUEST['tax_checked_on_top'][ $tax_name ] );
685
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
686
+ return array_key_exists( $tax_name, MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
687
  }
688
 
689
+ $tax_checked_on_top = isset( $tax_options['tax_checked_on_top'] ) ? $tax_options['tax_checked_on_top'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
690
  return array_key_exists( $tax_name, $tax_checked_on_top );
691
  case 'filter':
692
+ $tax_filter = isset( $tax_options['tax_filter'] ) ? $tax_options['tax_filter'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
693
  if ( '' == $tax_name ) {
694
  return $tax_filter;
695
  }
698
  $tax_filter = isset( $_REQUEST['tax_filter'] ) ? $_REQUEST['tax_filter'] : '';
699
  return ( $tax_name == $tax_filter );
700
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
701
+ return array_key_exists( $tax_name, MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'] );
702
  }
703
 
704
  return ( $tax_name == $tax_filter );
717
  * @return array taxonomies assigned to $support_type; can be empty.
718
  */
719
  public static function mla_supported_taxonomies($support_type = 'support') {
720
+ $tax_options = MLACore::mla_get_option( MLACoreOptions::MLA_TAXONOMY_SUPPORT );
721
  switch ( $support_type ) {
722
  case 'support':
723
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
724
  return isset( $_REQUEST['tax_support'] ) ? array_keys( $_REQUEST['tax_support'] ) : array();
725
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
726
+ return array_keys( MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'] );
727
  }
728
 
729
+ return array_keys( isset( $tax_options['tax_support'] ) ? $tax_options['tax_support'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'] );
730
  case 'quick-edit':
731
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
732
  return isset( $_REQUEST['tax_quick_edit'] ) ? array_keys( $_REQUEST['tax_quick_edit'] ) : array();
733
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
734
+ return array_keys( MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
735
  }
736
 
737
+ return array_keys( isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
738
  case 'term-search':
739
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
740
  return isset( $_REQUEST['tax_term_search'] ) ? array_keys( $_REQUEST['tax_term_search'] ) : array();
741
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
742
+ return array_keys( MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
743
  }
744
 
745
+ return array_keys( isset( $tax_options['tax_term_search'] ) ? $tax_options['tax_term_search'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
746
  case 'flat-checklist':
747
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
748
  return isset( $_REQUEST['tax_flat_checklist'] ) ? array_keys( $_REQUEST['tax_flat_checklist'] ) : array();
749
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
750
+ return array_keys( MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
751
  }
752
 
753
+ return array_keys( isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
754
  case 'checked-on-top':
755
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
756
  return isset( $_REQUEST['tax_checked_on_top'] ) ? array_keys( $_REQUEST['tax_checked_on_top'] ) : array();
757
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
758
+ return array_keys( MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
759
  }
760
 
761
+ return array_keys( isset( $tax_options['tax_checked_on_top'] ) ? $tax_options['tax_checked_on_top'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
762
  case 'filter':
763
  if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
764
  return isset( $_REQUEST['tax_filter'] ) ? (array) $_REQUEST['tax_filter'] : array();
765
  } elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
766
+ return (array) MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
767
  }
768
 
769
+ return (array) isset( $tax_options['tax_filter'] ) ? $tax_options['tax_filter'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
770
  default:
771
  return array();
772
  } // $support_type
1377
  }
1378
  } // Class MLACore
1379
 
1380
+ /*
1381
+ * Option definitions and default values.
1382
+ */
1383
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core-options.php' );
1384
+
1385
  /**
1386
  * Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output
1387
  *
includes/class-mla-data-query.php CHANGED
@@ -671,7 +671,7 @@ class MLAQuery {
671
  * Make sure the current orderby choice still exists or revert to default.
672
  */
673
  $default_orderby = array_merge( array( 'none' => array('none',false) ), self::mla_get_sortable_columns( ) );
674
- $current_orderby = MLACore::mla_get_option( MLACore::MLA_DEFAULT_ORDERBY );
675
  $found_current = false;
676
  foreach ( $default_orderby as $key => $value ) {
677
  if ( $current_orderby == $value[0] ) {
@@ -693,14 +693,14 @@ class MLAQuery {
693
  }
694
  } // foreach
695
  } else {
696
- MLACore::mla_delete_option( MLACore::MLA_DEFAULT_ORDERBY );
697
- $current_orderby = MLACore::mla_get_option( MLACore::MLA_DEFAULT_ORDERBY );
698
  }
699
 
700
  $clean_request = array (
701
  'm' => 0,
702
  'orderby' => $current_orderby,
703
- 'order' => MLACore::mla_get_option( MLACore::MLA_DEFAULT_ORDER ),
704
  'post_type' => 'attachment',
705
  'post_status' => 'inherit',
706
  'mla_search_connector' => 'AND',
@@ -1029,7 +1029,7 @@ class MLAQuery {
1029
  'terms' => array(
1030
  (int) $clean_request['mla_filter_term']
1031
  ),
1032
- 'include_children' => ( 'checked' == MLACore::mla_get_option( MLACore::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN ) )
1033
  )
1034
  );
1035
  } // mla_filter_term != -1
@@ -1074,6 +1074,7 @@ class MLAQuery {
1074
  */
1075
  private static function _execute_list_table_query( $request ) {
1076
  global $wpdb;
 
1077
 
1078
  add_filter( 'posts_search', 'MLAQuery::mla_query_posts_search_filter', 10, 2 ); // $search, &$this
1079
  add_filter( 'posts_where', 'MLAQuery::mla_query_posts_where_filter' );
@@ -1090,6 +1091,22 @@ class MLAQuery {
1090
  add_filter( 'relevanssi_admin_search_ok', 'MLAQuery::mla_query_relevanssi_admin_search_ok_filter' );
1091
  }
1092
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1093
  if ( isset( self::$query_parameters['debug'] ) ) {
1094
  global $wp_filter;
1095
  $debug_array = array( 'posts_search' => $wp_filter['posts_search'], 'posts_join' => $wp_filter['posts_join'], 'posts_where' => $wp_filter['posts_where'], 'posts_orderby' => $wp_filter['posts_orderby'] );
@@ -1115,6 +1132,15 @@ class MLAQuery {
1115
  MLACore::mla_debug_add( sprintf( _x( '%1$s: _execute_list_table_query SQL_request = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $results->request, true ) ) );
1116
  } // debug
1117
 
 
 
 
 
 
 
 
 
 
1118
  if ( function_exists( 'relevanssi_prevent_default_request' ) ) {
1119
  remove_filter( 'relevanssi_admin_search_ok', 'MLAQuery::mla_query_relevanssi_admin_search_ok_filter' );
1120
  }
@@ -1799,6 +1825,20 @@ class MLAQuery {
1799
  return false;
1800
  }
1801
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1802
  /**
1803
  * Filters all clauses for get_terms queries
1804
  *
671
  * Make sure the current orderby choice still exists or revert to default.
672
  */
673
  $default_orderby = array_merge( array( 'none' => array('none',false) ), self::mla_get_sortable_columns( ) );
674
+ $current_orderby = MLACore::mla_get_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
675
  $found_current = false;
676
  foreach ( $default_orderby as $key => $value ) {
677
  if ( $current_orderby == $value[0] ) {
693
  }
694
  } // foreach
695
  } else {
696
+ MLACore::mla_delete_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
697
+ $current_orderby = MLACore::mla_get_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
698
  }
699
 
700
  $clean_request = array (
701
  'm' => 0,
702
  'orderby' => $current_orderby,
703
+ 'order' => MLACore::mla_get_option( MLACoreOptions::MLA_DEFAULT_ORDER ),
704
  'post_type' => 'attachment',
705
  'post_status' => 'inherit',
706
  'mla_search_connector' => 'AND',
1029
  'terms' => array(
1030
  (int) $clean_request['mla_filter_term']
1031
  ),
1032
+ 'include_children' => ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN ) )
1033
  )
1034
  );
1035
  } // mla_filter_term != -1
1074
  */
1075
  private static function _execute_list_table_query( $request ) {
1076
  global $wpdb;
1077
+ static $wpmf_pre_get_posts_priority = false, $wpmf_pre_get_posts1_priority = false;
1078
 
1079
  add_filter( 'posts_search', 'MLAQuery::mla_query_posts_search_filter', 10, 2 ); // $search, &$this
1080
  add_filter( 'posts_where', 'MLAQuery::mla_query_posts_where_filter' );
1091
  add_filter( 'relevanssi_admin_search_ok', 'MLAQuery::mla_query_relevanssi_admin_search_ok_filter' );
1092
  }
1093
 
1094
+ /*
1095
+ * Remove WP Media Folders actions from MLA queries for the Media/Assistant submenu table
1096
+ */
1097
+ if ( isset( $GLOBALS['wp_media_folder'] ) && isset( $_REQUEST['page'] ) && ( MLACore::ADMIN_PAGE_SLUG == $_REQUEST['page'] ) ) {
1098
+ $wpmf_pre_get_posts_priority = has_filter( 'pre_get_posts', array( $GLOBALS['wp_media_folder'], 'wpmf_pre_get_posts' ) );
1099
+ $wpmf_pre_get_posts1_priority = has_filter( 'pre_get_posts', array( $GLOBALS['wp_media_folder'], 'wpmf_pre_get_posts1' ) );
1100
+ }
1101
+
1102
+ if ( false !== $wpmf_pre_get_posts_priority ) {
1103
+ remove_action( 'pre_get_posts', array( $GLOBALS['wp_media_folder'], 'wpmf_pre_get_posts' ), $wpmf_pre_get_posts_priority );
1104
+ }
1105
+
1106
+ if ( false !== $wpmf_pre_get_posts1_priority ) {
1107
+ remove_action( 'pre_get_posts', array( $GLOBALS['wp_media_folder'], 'wpmf_pre_get_posts1' ), $wpmf_pre_get_posts1_priority );
1108
+ }
1109
+
1110
  if ( isset( self::$query_parameters['debug'] ) ) {
1111
  global $wp_filter;
1112
  $debug_array = array( 'posts_search' => $wp_filter['posts_search'], 'posts_join' => $wp_filter['posts_join'], 'posts_where' => $wp_filter['posts_where'], 'posts_orderby' => $wp_filter['posts_orderby'] );
1132
  MLACore::mla_debug_add( sprintf( _x( '%1$s: _execute_list_table_query SQL_request = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $results->request, true ) ) );
1133
  } // debug
1134
 
1135
+
1136
+ if ( false !== $wpmf_pre_get_posts1_priority ) {
1137
+ add_action( 'pre_get_posts', array( $GLOBALS['wp_media_folder'], 'wpmf_pre_get_posts1' ), $wpmf_pre_get_posts1_priority );
1138
+ }
1139
+
1140
+ if ( false !== $wpmf_pre_get_posts_priority ) {
1141
+ add_action( 'pre_get_posts', array( $GLOBALS['wp_media_folder'], 'wpmf_pre_get_posts' ), $wpmf_pre_get_posts_priority );
1142
+ }
1143
+
1144
  if ( function_exists( 'relevanssi_prevent_default_request' ) ) {
1145
  remove_filter( 'relevanssi_admin_search_ok', 'MLAQuery::mla_query_relevanssi_admin_search_ok_filter' );
1146
  }
1825
  return false;
1826
  }
1827
 
1828
+ /**
1829
+ * Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
1830
+ * Defined as public because it's a filter.
1831
+ *
1832
+ * @since 2.25
1833
+ *
1834
+ * @param boolean Default setting
1835
+ *
1836
+ * @return boolean Updated setting
1837
+ */
1838
+ public static function mla_query_relevanssi_prevent_default_request_filter( $prevent ) {
1839
+ return false;
1840
+ }
1841
+
1842
  /**
1843
  * Filters all clauses for get_terms queries
1844
  *
includes/class-mla-data-references.php CHANGED
@@ -138,7 +138,7 @@ class MLAReferences {
138
  /*
139
  * Process the where-used settings option
140
  */
141
- if ('checked' == MLACore::mla_get_option( MLACore::MLA_EXCLUDE_REVISIONS ) ) {
142
  $exclude_revisions = "(post_type <> 'revision') AND ";
143
  } else {
144
  $exclude_revisions = '';
@@ -192,7 +192,7 @@ class MLAReferences {
192
  $reference_tests++;
193
 
194
  if ( NULL == $inserted_in_option ) {
195
- $inserted_in_option = MLACore::mla_get_option( MLACore::MLA_INSERTED_IN_TUNING );
196
  $references['inserted_option'] = $inserted_in_option;
197
  }
198
 
@@ -273,7 +273,7 @@ class MLAReferences {
273
  */
274
  if ( MLACore::$process_mla_gallery_in ) {
275
  $reference_tests++;
276
- if ( self::_build_mla_galleries( MLACore::MLA_MLA_GALLERY_IN_TUNING, self::$mla_galleries, '[mla_gallery', $exclude_revisions ) ) {
277
  $galleries = self::_search_mla_galleries( self::$mla_galleries, $ID );
278
  if ( ! empty( $galleries ) ) {
279
  $references['found_reference'] = true;
@@ -295,7 +295,7 @@ class MLAReferences {
295
  */
296
  if ( MLACore::$process_gallery_in ) {
297
  $reference_tests++;
298
- if ( self::_build_mla_galleries( MLACore::MLA_GALLERY_IN_TUNING, self::$galleries, '[gallery', $exclude_revisions ) ) {
299
  $galleries = self::_search_mla_galleries( self::$galleries, $ID );
300
  if ( ! empty( $galleries ) ) {
301
  $references['found_reference'] = true;
@@ -383,7 +383,7 @@ class MLAReferences {
383
  'parent_errors' => ''
384
  );
385
 
386
- $inserted_in_option = MLACore::mla_get_option( MLACore::MLA_INSERTED_IN_TUNING );
387
  $initial_references['inserted_option'] = $inserted_in_option;
388
 
389
  /*
@@ -451,7 +451,7 @@ class MLAReferences {
451
  $files[ $index ] = $references;
452
  }
453
 
454
- if ('checked' == MLACore::mla_get_option( MLACore::MLA_EXCLUDE_REVISIONS ) ) {
455
  $exclude_revisions = " AND (p.post_type <> 'revision')";
456
  } else {
457
  $exclude_revisions = '';
@@ -526,13 +526,13 @@ class MLAReferences {
526
  } // process_inserted_in
527
 
528
  if ( MLACore::$process_mla_gallery_in ) {
529
- $have_mla_galleries = self::_build_mla_galleries( MLACore::MLA_MLA_GALLERY_IN_TUNING, self::$mla_galleries, '[mla_gallery', $exclude_revisions );
530
  } else {
531
  $have_mla_galleries = false;
532
  }
533
 
534
  if ( MLACore::$process_gallery_in ) {
535
- $have_galleries = self::_build_mla_galleries( MLACore::MLA_GALLERY_IN_TUNING, self::$galleries, '[gallery', $exclude_revisions );
536
  } else {
537
  $have_mla_galleries = false;
538
  }
@@ -616,7 +616,7 @@ class MLAReferences {
616
  */
617
  if ( MLACore::$process_mla_gallery_in ) {
618
  $reference_tests++;
619
- if ( self::_build_mla_galleries( MLACore::MLA_MLA_GALLERY_IN_TUNING, self::$mla_galleries, '[mla_gallery', $exclude_revisions ) ) {
620
  $galleries = self::_search_mla_galleries( self::$mla_galleries, $attachment->ID );
621
  if ( ! empty( $galleries ) ) {
622
  $references['found_reference'] = true;
@@ -638,7 +638,7 @@ class MLAReferences {
638
  */
639
  if ( MLACore::$process_gallery_in ) {
640
  $reference_tests++;
641
- if ( self::_build_mla_galleries( MLACore::MLA_GALLERY_IN_TUNING, self::$galleries, '[gallery', $exclude_revisions ) ) {
642
  $galleries = self::_search_mla_galleries( self::$galleries, $attachment->ID );
643
  if ( ! empty( $galleries ) ) {
644
  $references['found_reference'] = true;
@@ -735,10 +735,10 @@ class MLAReferences {
735
  */
736
  public static function mla_flush_mla_galleries_handler( $option_name ) {
737
  switch ( $option_name ) {
738
- case MLACore::MLA_GALLERY_IN_TUNING:
739
  self::$galleries = NULL;
740
  break;
741
- case MLACore::MLA_MLA_GALLERY_IN_TUNING:
742
  self::$mla_galleries = NULL;
743
  break;
744
  default:
138
  /*
139
  * Process the where-used settings option
140
  */
141
+ if ('checked' == MLACore::mla_get_option( MLACoreOptions::MLA_EXCLUDE_REVISIONS ) ) {
142
  $exclude_revisions = "(post_type <> 'revision') AND ";
143
  } else {
144
  $exclude_revisions = '';
192
  $reference_tests++;
193
 
194
  if ( NULL == $inserted_in_option ) {
195
+ $inserted_in_option = MLACore::mla_get_option( MLACoreOptions::MLA_INSERTED_IN_TUNING );
196
  $references['inserted_option'] = $inserted_in_option;
197
  }
198
 
273
  */
274
  if ( MLACore::$process_mla_gallery_in ) {
275
  $reference_tests++;
276
+ if ( self::_build_mla_galleries( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING, self::$mla_galleries, '[mla_gallery', $exclude_revisions ) ) {
277
  $galleries = self::_search_mla_galleries( self::$mla_galleries, $ID );
278
  if ( ! empty( $galleries ) ) {
279
  $references['found_reference'] = true;
295
  */
296
  if ( MLACore::$process_gallery_in ) {
297
  $reference_tests++;
298
+ if ( self::_build_mla_galleries( MLACoreOptions::MLA_GALLERY_IN_TUNING, self::$galleries, '[gallery', $exclude_revisions ) ) {
299
  $galleries = self::_search_mla_galleries( self::$galleries, $ID );
300
  if ( ! empty( $galleries ) ) {
301
  $references['found_reference'] = true;
383
  'parent_errors' => ''
384
  );
385
 
386
+ $inserted_in_option = MLACore::mla_get_option( MLACoreOptions::MLA_INSERTED_IN_TUNING );
387
  $initial_references['inserted_option'] = $inserted_in_option;
388
 
389
  /*
451
  $files[ $index ] = $references;
452
  }
453
 
454
+ if ('checked' == MLACore::mla_get_option( MLACoreOptions::MLA_EXCLUDE_REVISIONS ) ) {
455
  $exclude_revisions = " AND (p.post_type <> 'revision')";
456
  } else {
457
  $exclude_revisions = '';
526
  } // process_inserted_in
527
 
528
  if ( MLACore::$process_mla_gallery_in ) {
529
+ $have_mla_galleries = self::_build_mla_galleries( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING, self::$mla_galleries, '[mla_gallery', $exclude_revisions );
530
  } else {
531
  $have_mla_galleries = false;
532
  }
533
 
534
  if ( MLACore::$process_gallery_in ) {
535
+ $have_galleries = self::_build_mla_galleries( MLACoreOptions::MLA_GALLERY_IN_TUNING, self::$galleries, '[gallery', $exclude_revisions );
536
  } else {
537
  $have_mla_galleries = false;
538
  }
616
  */
617
  if ( MLACore::$process_mla_gallery_in ) {
618
  $reference_tests++;
619
+ if ( self::_build_mla_galleries( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING, self::$mla_galleries, '[mla_gallery', $exclude_revisions ) ) {
620
  $galleries = self::_search_mla_galleries( self::$mla_galleries, $attachment->ID );
621
  if ( ! empty( $galleries ) ) {
622
  $references['found_reference'] = true;
638
  */
639
  if ( MLACore::$process_gallery_in ) {
640
  $reference_tests++;
641
+ if ( self::_build_mla_galleries( MLACoreOptions::MLA_GALLERY_IN_TUNING, self::$galleries, '[gallery', $exclude_revisions ) ) {
642
  $galleries = self::_search_mla_galleries( self::$galleries, $attachment->ID );
643
  if ( ! empty( $galleries ) ) {
644
  $references['found_reference'] = true;
735
  */
736
  public static function mla_flush_mla_galleries_handler( $option_name ) {
737
  switch ( $option_name ) {
738
+ case MLACoreOptions::MLA_GALLERY_IN_TUNING:
739
  self::$galleries = NULL;
740
  break;
741
+ case MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING:
742
  self::$mla_galleries = NULL;
743
  break;
744
  default:
includes/class-mla-data.php CHANGED
@@ -47,7 +47,7 @@ class MLAData {
47
  $template_end = strpos( $tpl, '+]', $nest );
48
  if ( false === $template_end ) {
49
  /* translators: 1: ERROR tag 2: template excerpt */
50
- error_log( sprintf( _x( '%1$s: _find_template_substring no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), 0 );
51
  return '';
52
  }
53
 
@@ -106,7 +106,7 @@ class MLAData {
106
  } else { // found template
107
  if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
108
  /* translators: 1: ERROR tag 2: template excerpt */
109
- error_log( sprintf( _x( '%1$s: mla_parse_array_template no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), 0 );
110
  return $tpl;
111
  } // no end delimiter
112
 
@@ -194,7 +194,7 @@ class MLAData {
194
  } else { // found template
195
  if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
196
  /* translators: 1: ERROR tag 2: template excerpt */
197
- error_log( sprintf( _x( '%1$s: mla_parse_template no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), 0 );
198
  return $tpl;
199
  } // no end delimiter
200
 
@@ -238,7 +238,7 @@ class MLAData {
238
  $test_end = strpos( $tpl, ')', $nest );
239
  if ( false === $test_end ) {
240
  /* translators: 1: ERROR tag 2: template string */
241
- error_log( sprintf( _x( '%1$s: _find_test_substring no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $nest ) ), 0 );
242
  return '';
243
  }
244
 
@@ -497,7 +497,7 @@ class MLAData {
497
  break;
498
  default:
499
  /* translators: 1: ERROR tag 2: node type, e.g., template */
500
- error_log( sprintf( _x( '%1$s: _evaluate_template_array_node unknown type "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $node ), 0 );
501
  } // node type
502
  } // isset node type
503
 
@@ -560,7 +560,7 @@ class MLAData {
560
  return $results;
561
  default:
562
  /* translators: 1: ERROR tag 2: node type, e.g., template */
563
- error_log( sprintf( _x( '%1$s: _evaluate_template_node unknown type "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $node ), 0 );
564
  } // node type
565
 
566
  return '';
@@ -1148,7 +1148,7 @@ class MLAData {
1148
  $template_end = strpos( $tpl, '+]', $nest );
1149
  if ( false === $template_end ) {
1150
  /* translators: 1: ERROR tag 2: template excerpt */
1151
- error_log( sprintf( _x( '%1$s: mla_get_template_placeholders no template-end delimiter dump = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), self::mla_hex_dump( substr( $tpl, $template_offset, 128 ), 128, 16 ) ), 0 );
1152
  return array();
1153
  }
1154
 
@@ -1352,13 +1352,13 @@ class MLAData {
1352
  $item = get_post( $post_id );
1353
  if ( empty( $item ) ) {
1354
  /* translators: 1: ERROR tag 2: post ID */
1355
- error_log( sprintf( _x( '%1$s: mla_get_attachment_by_id(%2$d) not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ), 0 );
1356
  return NULL;
1357
  }
1358
 
1359
  if ( $item->post_type != 'attachment' ) {
1360
  /* translators: 1: ERROR tag 2: post ID 3: post_type */
1361
- error_log( sprintf( _x( '%1$s: mla_get_attachment_by_id(%2$d) wrong post_type "%3$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id, $item->post_type ), 0 );
1362
  return NULL;
1363
  }
1364
 
@@ -1564,8 +1564,8 @@ class MLAData {
1564
  * @return void
1565
  */
1566
  public static function mla_save_post_action( $post_id ) {
1567
- MLAQuery::mla_flush_mla_galleries( MLACore::MLA_GALLERY_IN_TUNING );
1568
- MLAQuery::mla_flush_mla_galleries( MLACore::MLA_MLA_GALLERY_IN_TUNING );
1569
  }
1570
 
1571
  /**
@@ -1702,21 +1702,27 @@ class MLAData {
1702
  //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$file_name}, {$file_offset} ) ", 0 );
1703
  $chunksize = 16384;
1704
  $xmp_chunk = file_get_contents( $file_name, true, NULL, $file_offset, $chunksize );
 
1705
 
1706
  /*
1707
  * If necessary and possible, advance the $xmp_chunk through the file until it contains the start tag
1708
  */
1709
  if ( false === ( $start_tag = strpos( $xmp_chunk, '<x:xmpmeta' ) ) && ( $chunksize == strlen( $xmp_chunk ) ) ) {
1710
  $new_offset = $file_offset + ( $chunksize - 16 );
 
1711
  $xmp_chunk = file_get_contents( $file_name, true, NULL, $new_offset, $chunksize );
 
1712
  while ( false === ( $start_tag = strpos( $xmp_chunk, '<x:xmpmeta' ) ) && ( $chunksize == strlen( $xmp_chunk ) ) ) {
1713
  $new_offset = $new_offset + ( $chunksize - 16 );
 
1714
  $xmp_chunk = file_get_contents( $file_name, true, NULL, $new_offset, $chunksize );
 
1715
  } // while not found
1716
  } else { // if not found
1717
  $new_offset = $file_offset;
1718
  }
1719
 
 
1720
  if ( false === $start_tag ) {
1721
  return NULL;
1722
  }
@@ -1748,11 +1754,11 @@ class MLAData {
1748
  $xml_parser = xml_parser_create('UTF-8');
1749
  if ( xml_parser_set_option( $xml_parser, XML_OPTION_SKIP_WHITE, 0 ) && xml_parser_set_option( $xml_parser, XML_OPTION_CASE_FOLDING, 0 ) ) {
1750
  if ( 0 == xml_parse_into_struct( $xml_parser, $xmp_string, $xmp_values ) ) {
1751
- error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . _x( 'mla_parse_xmp_metadata xml_parse_into_struct failed.', 'error_log', 'media-library-assistant' ), 0 );
1752
  $xmp_values = array();
1753
  }
1754
  } else {
1755
- error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . _x( 'mla_parse_xmp_metadata set option failed.', 'error_log', 'media-library-assistant' ), 0 );
1756
  }
1757
 
1758
  xml_parser_free($xml_parser);
@@ -1807,23 +1813,24 @@ class MLAData {
1807
  switch ( $value['type'] ) {
1808
  case 'open':
1809
  $levels[ ++$current_level ] = array( 'key' => $value['tag'], 'values' => $node_attributes );
 
1810
  break;
1811
  case 'close':
1812
  if ( 0 < --$current_level ) {
1813
  $top_level = array_pop( $levels );
1814
- //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$index} ) case 'close': top_level = " . var_export( $top_level, true ), 0 );
1815
- //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$index} ) case 'close': levels( {$current_level} ) before = " . var_export( $levels, true ), 0 );
1816
  if ( 'rdf:li' == $top_level['key'] ) {
1817
  $levels[ $current_level ]['values'][] = $top_level['values'];
1818
  } else {
1819
  if ( isset( $levels[ $current_level ]['values'][ $top_level['key'] ] ) ) {
1820
- $levels[ $current_level ]['values'][ $top_level['key'] ] = array_merge( $levels[ $current_level ]['values'][ $top_level['key'] ], $top_level['values'] );
1821
  } else {
1822
  $levels[ $current_level ]['values'][ $top_level['key'] ] = $top_level['values'];
1823
  }
1824
  }
1825
  }
1826
- //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$index} ) case 'close': levels( {$current_level} ) after = " . var_export( $levels, true ), 0 );
1827
  break;
1828
  case 'complete':
1829
  if ( 'x-default' != $language ) {
@@ -1841,6 +1848,9 @@ class MLAData {
1841
  $complete_value = $node_attributes;
1842
  }
1843
 
 
 
 
1844
  if ( 'rdf:li' == $value['tag'] ) {
1845
  $levels[ $current_level ]['values'][] = $complete_value;
1846
  } else {
@@ -2910,7 +2920,7 @@ class MLAData {
2910
  if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
2911
  $results['mla_iptc_errors'] = MLAData::$mla_IPTC_EXIF_errors;
2912
  MLAData::$mla_IPTC_EXIF_errors = array();
2913
- error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_iptc_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
2914
  }
2915
 
2916
  if ( ! is_array( $iptc_values ) ) {
@@ -2938,7 +2948,7 @@ class MLAData {
2938
  if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
2939
  $results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
2940
  MLAData::$mla_IPTC_EXIF_errors = array();
2941
- error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
2942
  }
2943
  } // exif_read_data
2944
 
47
  $template_end = strpos( $tpl, '+]', $nest );
48
  if ( false === $template_end ) {
49
  /* translators: 1: ERROR tag 2: template excerpt */
50
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: _find_template_substring no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
51
  return '';
52
  }
53
 
106
  } else { // found template
107
  if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
108
  /* translators: 1: ERROR tag 2: template excerpt */
109
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_parse_array_template no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
110
  return $tpl;
111
  } // no end delimiter
112
 
194
  } else { // found template
195
  if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
196
  /* translators: 1: ERROR tag 2: template excerpt */
197
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_parse_template no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
198
  return $tpl;
199
  } // no end delimiter
200
 
238
  $test_end = strpos( $tpl, ')', $nest );
239
  if ( false === $test_end ) {
240
  /* translators: 1: ERROR tag 2: template string */
241
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: _find_test_substring no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $nest ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
242
  return '';
243
  }
244
 
497
  break;
498
  default:
499
  /* translators: 1: ERROR tag 2: node type, e.g., template */
500
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: _evaluate_template_array_node unknown type "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $node ), MLACore::MLA_DEBUG_CATEGORY_ANY );
501
  } // node type
502
  } // isset node type
503
 
560
  return $results;
561
  default:
562
  /* translators: 1: ERROR tag 2: node type, e.g., template */
563
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: _evaluate_template_node unknown type "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $node ), MLACore::MLA_DEBUG_CATEGORY_ANY );
564
  } // node type
565
 
566
  return '';
1148
  $template_end = strpos( $tpl, '+]', $nest );
1149
  if ( false === $template_end ) {
1150
  /* translators: 1: ERROR tag 2: template excerpt */
1151
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_get_template_placeholders no template-end delimiter dump = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), self::mla_hex_dump( substr( $tpl, $template_offset, 128 ), 128, 16 ) ), MLACore::MLA_DEBUG_CATEGORY_ANY );
1152
  return array();
1153
  }
1154
 
1352
  $item = get_post( $post_id );
1353
  if ( empty( $item ) ) {
1354
  /* translators: 1: ERROR tag 2: post ID */
1355
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_get_attachment_by_id(%2$d) not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ), MLACore::MLA_DEBUG_CATEGORY_ANY );
1356
  return NULL;
1357
  }
1358
 
1359
  if ( $item->post_type != 'attachment' ) {
1360
  /* translators: 1: ERROR tag 2: post ID 3: post_type */
1361
+ MLACore::mla_debug_add( __LINE__ . sprintf( _x( '%1$s: mla_get_attachment_by_id(%2$d) wrong post_type "%3$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id, $item->post_type ), MLACore::MLA_DEBUG_CATEGORY_ANY );
1362
  return NULL;
1363
  }
1364
 
1564
  * @return void
1565
  */
1566
  public static function mla_save_post_action( $post_id ) {
1567
+ MLAQuery::mla_flush_mla_galleries( MLACoreOptions::MLA_GALLERY_IN_TUNING );
1568
+ MLAQuery::mla_flush_mla_galleries( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING );
1569
  }
1570
 
1571
  /**
1702
  //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$file_name}, {$file_offset} ) ", 0 );
1703
  $chunksize = 16384;
1704
  $xmp_chunk = file_get_contents( $file_name, true, NULL, $file_offset, $chunksize );
1705
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$file_offset} ) chunk = \r\n" . MLAData::mla_hex_dump( $xmp_chunk ), 0 );
1706
 
1707
  /*
1708
  * If necessary and possible, advance the $xmp_chunk through the file until it contains the start tag
1709
  */
1710
  if ( false === ( $start_tag = strpos( $xmp_chunk, '<x:xmpmeta' ) ) && ( $chunksize == strlen( $xmp_chunk ) ) ) {
1711
  $new_offset = $file_offset + ( $chunksize - 16 );
1712
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$new_offset} ) ", 0 );
1713
  $xmp_chunk = file_get_contents( $file_name, true, NULL, $new_offset, $chunksize );
1714
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$new_offset} ) chunk = \r\n" . MLAData::mla_hex_dump( $xmp_chunk ), 0 );
1715
  while ( false === ( $start_tag = strpos( $xmp_chunk, '<x:xmpmeta' ) ) && ( $chunksize == strlen( $xmp_chunk ) ) ) {
1716
  $new_offset = $new_offset + ( $chunksize - 16 );
1717
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$new_offset} ) ", 0 );
1718
  $xmp_chunk = file_get_contents( $file_name, true, NULL, $new_offset, $chunksize );
1719
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$new_offset} ) chunk = \r\n" . MLAData::mla_hex_dump( $xmp_chunk ), 0 );
1720
  } // while not found
1721
  } else { // if not found
1722
  $new_offset = $file_offset;
1723
  }
1724
 
1725
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata( {$start_tag} ) ", 0 );
1726
  if ( false === $start_tag ) {
1727
  return NULL;
1728
  }
1754
  $xml_parser = xml_parser_create('UTF-8');
1755
  if ( xml_parser_set_option( $xml_parser, XML_OPTION_SKIP_WHITE, 0 ) && xml_parser_set_option( $xml_parser, XML_OPTION_CASE_FOLDING, 0 ) ) {
1756
  if ( 0 == xml_parse_into_struct( $xml_parser, $xmp_string, $xmp_values ) ) {
1757
+ MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . _x( 'mla_parse_xmp_metadata xml_parse_into_struct failed.', 'error_log', 'media-library-assistant' ), MLACore::MLA_DEBUG_CATEGORY_ANY );
1758
  $xmp_values = array();
1759
  }
1760
  } else {
1761
+ MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . _x( 'mla_parse_xmp_metadata set option failed.', 'error_log', 'media-library-assistant' ), MLACore::MLA_DEBUG_CATEGORY_ANY );
1762
  }
1763
 
1764
  xml_parser_free($xml_parser);
1813
  switch ( $value['type'] ) {
1814
  case 'open':
1815
  $levels[ ++$current_level ] = array( 'key' => $value['tag'], 'values' => $node_attributes );
1816
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$current_level}, {$index} ) case 'open': top_level = " . var_export( $levels[ $current_level ], true ), 0 );
1817
  break;
1818
  case 'close':
1819
  if ( 0 < --$current_level ) {
1820
  $top_level = array_pop( $levels );
1821
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$current_level}, {$index} ) case 'close': top_level = " . var_export( $top_level, true ), 0 );
1822
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$current_level}, {$index} ) case 'close': levels( {$current_level} ) before = " . var_export( $levels, true ), 0 );
1823
  if ( 'rdf:li' == $top_level['key'] ) {
1824
  $levels[ $current_level ]['values'][] = $top_level['values'];
1825
  } else {
1826
  if ( isset( $levels[ $current_level ]['values'][ $top_level['key'] ] ) ) {
1827
+ $levels[ $current_level ]['values'][ $top_level['key'] ] = array_merge( (array) $levels[ $current_level ]['values'][ $top_level['key'] ], $top_level['values'] );
1828
  } else {
1829
  $levels[ $current_level ]['values'][ $top_level['key'] ] = $top_level['values'];
1830
  }
1831
  }
1832
  }
1833
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$current_level}, {$index} ) case 'close': levels( {$current_level} ) after = " . var_export( $levels, true ), 0 );
1834
  break;
1835
  case 'complete':
1836
  if ( 'x-default' != $language ) {
1848
  $complete_value = $node_attributes;
1849
  }
1850
 
1851
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$index} ) case 'complete': value = " . var_export( $value, true ), 0 );
1852
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$index} ) case 'complete': complete_value = " . var_export( $complete_value, true ), 0 );
1853
+ //error_log( __LINE__ . " MLAData::mla_parse_xmp_metadata xmp_values( {$index} ) case 'complete': (array) complete_value = " . var_export( (array) $complete_value, true ), 0 );
1854
  if ( 'rdf:li' == $value['tag'] ) {
1855
  $levels[ $current_level ]['values'][] = $complete_value;
1856
  } else {
2920
  if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
2921
  $results['mla_iptc_errors'] = MLAData::$mla_IPTC_EXIF_errors;
2922
  MLAData::$mla_IPTC_EXIF_errors = array();
2923
+ MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_iptc_errors] = ' . var_export( $results['mla_exif_errors'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
2924
  }
2925
 
2926
  if ( ! is_array( $iptc_values ) ) {
2948
  if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
2949
  $results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
2950
  MLAData::$mla_IPTC_EXIF_errors = array();
2951
+ MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
2952
  }
2953
  } // exif_read_data
2954
 
includes/class-mla-edit-media.php CHANGED
@@ -89,7 +89,7 @@ class MLAEdit {
89
  /*
90
  * Check for Media/Add New bulk edit area updates
91
  */
92
- if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) && ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ADD_NEW_BULK_EDIT ) ) ) {
93
  /*
94
  * If any of the mapping rule options is enabled, use the MLA filter so this
95
  * filter is called after mapping rules have run. If none are enabled,
@@ -156,7 +156,7 @@ class MLAEdit {
156
  /*
157
  * Add New Bulk Edit Area
158
  */
159
- if ( 'media-new.php' == $page_hook && ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ADD_NEW_BULK_EDIT ) ) ) {
160
  if ( $wp_locale->is_rtl() ) {
161
  wp_register_style( 'mla-add-new-bulk-edit', MLA_PLUGIN_URL . 'css/mla-add-new-bulk-edit-rtl.css', false, MLA::CURRENT_MLA_VERSION );
162
  wp_register_style( 'mla-add-new-bulk-edit' . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent-rtl.css', false, MLA::CURRENT_MLA_VERSION );
@@ -179,8 +179,8 @@ class MLAEdit {
179
  'uploadTitle' => __( 'Upload New Media items', 'media-library-assistant' ),
180
  'toggleOpen' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
181
  'toggleClose' => __( 'Close Bulk Edit area', 'media-library-assistant' ),
182
- 'areaOnTop' => ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ADD_NEW_BULK_EDIT_ON_TOP ) ),
183
- 'areaOpen' => ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN ) ),
184
  'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
185
  'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
186
  'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
@@ -537,6 +537,9 @@ class MLAEdit {
537
  $view_args = array( 'page' => MLACore::ADMIN_PAGE_SLUG, 'mla_item_ID' => $post->ID );
538
  if ( isset( $_REQUEST['mla_source'] ) ) {
539
  $view_args['mla_source'] = $_REQUEST['mla_source'];
 
 
 
540
  }
541
  if ( isset( $_REQUEST['lang'] ) ) {
542
  $view_args['lang'] = $_REQUEST['lang'];
@@ -544,6 +547,10 @@ class MLAEdit {
544
 
545
  echo '<span id="mla_metadata_links" style="font-weight: bold; line-height: 2em">';
546
 
 
 
 
 
547
  echo '<a href="' . add_query_arg( $view_args, wp_nonce_url( 'upload.php?mla_admin_action=' . MLA::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Map Custom Field metadata for this item', 'media-library-assistant' ) . '">' . __( 'Map Custom Field metadata', 'media-library-assistant' ) . '</a><br>';
548
 
549
  echo '<a href="' . add_query_arg( $view_args, wp_nonce_url( 'upload.php?mla_admin_action=' . MLA::MLA_ADMIN_SINGLE_MAP, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Map IPTC/EXIF metadata for this item', 'media-library-assistant' ) . '">' . __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ) . '</a>';
@@ -552,6 +559,29 @@ class MLAEdit {
552
  echo "</div><!-- .misc-pub-section -->\n";
553
  } // mla_attachment_submitbox_action
554
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  /**
556
  * Registers meta boxes for the Edit Media screen.
557
  * Declared public because it is an action.
@@ -582,7 +612,7 @@ class MLAEdit {
582
  $screen = convert_to_screen( 'attachment' );
583
  $page = $screen->id;
584
 
585
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_EDIT_MEDIA_SEARCH_TAXONOMY ) ) {
586
  $taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
587
  foreach ( $taxonomies as $key => $value ) {
588
  if ( MLACore::mla_taxonomy_support( $key ) ) {
@@ -613,7 +643,7 @@ class MLAEdit {
613
  } // foreach
614
  } // MLA_EDIT_MEDIA_SEARCH_TAXONOMY
615
 
616
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_EDIT_MEDIA_META_BOXES ) ) {
617
  $active_boxes = apply_filters( 'mla_edit_media_meta_boxes', array(
618
  'mla-parent-info' => 'mla-parent-info', 'mla-menu-order' => 'mla-menu-order', 'mla-image-metadata' => 'mla-image-metadata', 'mla-featured-in' => 'mla-featured-in', 'mla-inserted-in' => 'mla-inserted-in', 'mla-gallery-in' => 'mla-gallery-in', 'mla-mla-gallery-in' => 'mla-mla-gallery-in' ) );
619
 
89
  /*
90
  * Check for Media/Add New bulk edit area updates
91
  */
92
+ if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) && ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
93
  /*
94
  * If any of the mapping rule options is enabled, use the MLA filter so this
95
  * filter is called after mapping rules have run. If none are enabled,
156
  /*
157
  * Add New Bulk Edit Area
158
  */
159
+ if ( 'media-new.php' == $page_hook && ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
160
  if ( $wp_locale->is_rtl() ) {
161
  wp_register_style( 'mla-add-new-bulk-edit', MLA_PLUGIN_URL . 'css/mla-add-new-bulk-edit-rtl.css', false, MLA::CURRENT_MLA_VERSION );
162
  wp_register_style( 'mla-add-new-bulk-edit' . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent-rtl.css', false, MLA::CURRENT_MLA_VERSION );
179
  'uploadTitle' => __( 'Upload New Media items', 'media-library-assistant' ),
180
  'toggleOpen' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
181
  'toggleClose' => __( 'Close Bulk Edit area', 'media-library-assistant' ),
182
+ 'areaOnTop' => ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ADD_NEW_BULK_EDIT_ON_TOP ) ),
183
+ 'areaOpen' => ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN ) ),
184
  'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
185
  'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
186
  'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
537
  $view_args = array( 'page' => MLACore::ADMIN_PAGE_SLUG, 'mla_item_ID' => $post->ID );
538
  if ( isset( $_REQUEST['mla_source'] ) ) {
539
  $view_args['mla_source'] = $_REQUEST['mla_source'];
540
+
541
+ // apply_filters( 'get_delete_post_link', wp_nonce_url( $delete_link, "$action-post_{$post->ID}" ), $post->ID, $force_delete ) in /wp-includes/link-template.php
542
+ add_filter( 'get_delete_post_link', 'MLAEdit::get_delete_post_link_filter', 10, 3 );
543
  }
544
  if ( isset( $_REQUEST['lang'] ) ) {
545
  $view_args['lang'] = $_REQUEST['lang'];
547
 
548
  echo '<span id="mla_metadata_links" style="font-weight: bold; line-height: 2em">';
549
 
550
+ if ( isset( $_REQUEST['mla_source'] ) ) {
551
+ echo '<input name="mla_source" type="hidden" id="mla_source" value="' . $_REQUEST['mla_source'] . '" />';
552
+ }
553
+
554
  echo '<a href="' . add_query_arg( $view_args, wp_nonce_url( 'upload.php?mla_admin_action=' . MLA::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Map Custom Field metadata for this item', 'media-library-assistant' ) . '">' . __( 'Map Custom Field metadata', 'media-library-assistant' ) . '</a><br>';
555
 
556
  echo '<a href="' . add_query_arg( $view_args, wp_nonce_url( 'upload.php?mla_admin_action=' . MLA::MLA_ADMIN_SINGLE_MAP, MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME ) ) . '" title="' . __( 'Map IPTC/EXIF metadata for this item', 'media-library-assistant' ) . '">' . __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ) . '</a>';
559
  echo "</div><!-- .misc-pub-section -->\n";
560
  } // mla_attachment_submitbox_action
561
 
562
+ /**
563
+ * Adds mla_source argument to Trash/Delete link.
564
+ * Declared public because it is a filter.
565
+ *
566
+ * @since 2.25
567
+ *
568
+ * @param string $link The delete link.
569
+ * @param int $post_id Post ID.
570
+ * @param bool $force_delete Whether to bypass the trash and force deletion. Default false.
571
+ */
572
+ public static function get_delete_post_link_filter( $link, $post_id, $force_delete ) {
573
+ /*
574
+ * Add mla_source to force return to the Media/Assistant submenu
575
+ */
576
+ if ( $force_delete ) {
577
+ $link = add_query_arg( 'mla_source', 'delete', $link );
578
+ } else {
579
+ $link = add_query_arg( 'mla_source', 'trash', $link );
580
+ }
581
+
582
+ return $link;
583
+ } // get_delete_post_link_filter
584
+
585
  /**
586
  * Registers meta boxes for the Edit Media screen.
587
  * Declared public because it is an action.
612
  $screen = convert_to_screen( 'attachment' );
613
  $page = $screen->id;
614
 
615
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_EDIT_MEDIA_SEARCH_TAXONOMY ) ) {
616
  $taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
617
  foreach ( $taxonomies as $key => $value ) {
618
  if ( MLACore::mla_taxonomy_support( $key ) ) {
643
  } // foreach
644
  } // MLA_EDIT_MEDIA_SEARCH_TAXONOMY
645
 
646
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_EDIT_MEDIA_META_BOXES ) ) {
647
  $active_boxes = apply_filters( 'mla_edit_media_meta_boxes', array(
648
  'mla-parent-info' => 'mla-parent-info', 'mla-menu-order' => 'mla-menu-order', 'mla-image-metadata' => 'mla-image-metadata', 'mla-featured-in' => 'mla-featured-in', 'mla-inserted-in' => 'mla-inserted-in', 'mla-gallery-in' => 'mla-gallery-in', 'mla-mla-gallery-in' => 'mla-mla-gallery-in' ) );
649
 
includes/class-mla-list-table.php CHANGED
@@ -172,7 +172,7 @@ class MLA_List_Table extends WP_List_Table {
172
  'exclude' => '',
173
  // 'exclude_tree => '',
174
  'echo' => true,
175
- 'depth' => MLACore::mla_get_option( MLACore::MLA_TAXONOMY_FILTER_DEPTH ),
176
  'tab_index' => 0,
177
  'name' => 'mla_filter_term',
178
  'id' => 'name',
@@ -716,8 +716,8 @@ class MLA_List_Table extends WP_List_Table {
716
  $item_id = $item->ID;
717
  }
718
 
719
- $icon_width = MLACore::mla_get_option( MLACore::MLA_TABLE_ICON_SIZE );
720
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
721
  if ( empty( $icon_width ) ) {
722
  $icon_width = $icon_height = 64;
723
  } else {
@@ -1532,7 +1532,7 @@ class MLA_List_Table extends WP_List_Table {
1532
  $mla_types[ $value->slug ] = $value;
1533
  }
1534
 
1535
- $default_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, true );
1536
  $posts_per_type = (array) wp_count_attachments();
1537
  $post_mime_types = get_post_mime_types();
1538
  $avail_post_mime_types = self::_avail_mime_types( $posts_per_type );
@@ -1716,6 +1716,40 @@ class MLA_List_Table extends WP_List_Table {
1716
  return apply_filters( 'mla_list_table_get_bulk_actions', $actions );
1717
  }
1718
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1719
  /**
1720
  * Extra controls to be displayed between bulk actions and pagination
1721
  *
172
  'exclude' => '',
173
  // 'exclude_tree => '',
174
  'echo' => true,
175
+ 'depth' => MLACore::mla_get_option( MLACoreOptions::MLA_TAXONOMY_FILTER_DEPTH ),
176
  'tab_index' => 0,
177
  'name' => 'mla_filter_term',
178
  'id' => 'name',
716
  $item_id = $item->ID;
717
  }
718
 
719
+ $icon_width = MLACore::mla_get_option( MLACoreOptions::MLA_TABLE_ICON_SIZE );
720
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
721
  if ( empty( $icon_width ) ) {
722
  $icon_width = $icon_height = 64;
723
  } else {
1532
  $mla_types[ $value->slug ] = $value;
1533
  }
1534
 
1535
+ $default_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, true );
1536
  $posts_per_type = (array) wp_count_attachments();
1537
  $post_mime_types = get_post_mime_types();
1538
  $avail_post_mime_types = self::_avail_mime_types( $posts_per_type );
1716
  return apply_filters( 'mla_list_table_get_bulk_actions', $actions );
1717
  }
1718
 
1719
+ /**
1720
+ * Generate the table navigation above or below the table
1721
+ *
1722
+ * Adds the list/grid switcher in WP 4.0+
1723
+ *
1724
+ * @since 2.25
1725
+ *
1726
+ * @param string 'top' or 'bottom', i.e., above or below the table rows
1727
+ */
1728
+ function display_tablenav( $which ) {
1729
+ if ( 'top' === $which ) {
1730
+ wp_nonce_field( 'bulk-' . $this->_args['plural'] );
1731
+ }
1732
+ ?>
1733
+
1734
+ <div class="tablenav <?php echo esc_attr( $which ); ?>">
1735
+ <?php if ( 'top' === $which && MLAQuery::$wp_4dot0_plus && ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_DISPLAY_SWITCHER ) )): ?>
1736
+ <div class="view-switch media-grid-view-switch" style="float: left"> <a class="view-list current" href="<?php echo admin_url( 'upload.php?page=' . MLACore::ADMIN_PAGE_SLUG ); ?>"> <span class="screen-reader-text">List View</span> </a> <a class="view-grid" href="<?php echo admin_url( 'upload.php?mode=grid' ); ?>"> <span class="screen-reader-text">Grid View</span> </a> </div>
1737
+ <?php endif; ?>
1738
+
1739
+ <?php if ( $this->has_items() ): ?>
1740
+ <div class="alignleft actions bulkactions">
1741
+ <?php $this->bulk_actions( $which ); ?>
1742
+ </div>
1743
+ <?php endif;
1744
+ $this->extra_tablenav( $which );
1745
+ $this->pagination( $which );
1746
+ ?>
1747
+
1748
+ <br class="clear" />
1749
+ </div>
1750
+ <?php
1751
+ }
1752
+
1753
  /**
1754
  * Extra controls to be displayed between bulk actions and pagination
1755
  *
includes/class-mla-main.php CHANGED
@@ -29,7 +29,7 @@ class MLA {
29
  *
30
  * @var string
31
  */
32
- const CURRENT_MLA_VERSION = '2.24';
33
 
34
  /**
35
  * Current date for Development Version, empty for production versions
@@ -223,6 +223,7 @@ class MLA {
223
  * @return void
224
  */
225
  public static function mla_admin_init_action() {
 
226
  //error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
227
  /*
228
  * Process secure file download requests
@@ -292,7 +293,7 @@ class MLA {
292
  /*
293
  * Optional - limit width of the views list
294
  */
295
- $width_value = MLACore::mla_get_option( MLACore::MLA_TABLE_VIEWS_WIDTH );
296
  if ( !empty( $width_value ) ) {
297
  if ( is_numeric( $width_value ) ) {
298
  $width_value .= 'px';
@@ -309,8 +310,8 @@ class MLA {
309
  /*
310
  * Optional - change the size of the thumbnail/icon images
311
  */
312
- $icon_value = MLACore::mla_get_option( MLACore::MLA_TABLE_ICON_SIZE );
313
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
314
  if ( empty( $icon_value ) ) {
315
  $icon_value = 64;
316
  } else {
@@ -399,7 +400,7 @@ class MLA {
399
 
400
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
401
 
402
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
403
  wp_register_style( self::STYLESHEET_SLUG . '-nolibrary', MLA_PLUGIN_URL . 'css/mla-nolibrary.css', false, self::CURRENT_MLA_VERSION );
404
  wp_enqueue_style( self::STYLESHEET_SLUG . '-nolibrary' );
405
  }
@@ -461,7 +462,7 @@ class MLA {
461
  'bulkSuccess' => __( 'Succeeded', 'media-library-assistant' ),
462
  'bulkFailure' => __( 'Failed', 'media-library-assistant' ),
463
  'bulkCanceled' => __( 'CANCELED', 'media-library-assistant' ),
464
- 'bulkChunkSize' => MLACore::mla_get_option( MLACore::MLA_BULK_CHUNK_SIZE ),
465
  'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
466
  'useSpinnerClass' => false,
467
  'ajax_action' => MLACore::JAVASCRIPT_INLINE_EDIT_SLUG,
@@ -489,18 +490,16 @@ class MLA {
489
  public static function mla_admin_menu_action( ) {
490
  global $submenu;
491
 
492
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
493
- add_action( 'load-upload.php', 'MLA::mla_load_media_action' );
494
- }
495
 
496
- $page_title = MLACore::mla_get_option( MLACore::MLA_SCREEN_PAGE_TITLE );
497
  if ( empty( $page_title ) ) {
498
- $page_title = MLACore::mla_get_option( MLACore::MLA_SCREEN_PAGE_TITLE, true );
499
  }
500
 
501
- $menu_title = MLACore::mla_get_option( MLACore::MLA_SCREEN_MENU_TITLE );
502
  if ( empty( $menu_title ) ) {
503
- $menu_title = MLACore::mla_get_option( MLACore::MLA_SCREEN_MENU_TITLE, true );
504
  }
505
 
506
  $hook = add_submenu_page( 'upload.php', $page_title, $menu_title, 'upload_files', MLACore::ADMIN_PAGE_SLUG, 'MLA::mla_render_admin_page' );
@@ -527,10 +526,10 @@ class MLA {
527
  /*
528
  * If we are suppressing the Media/Library submenu, force Media/Assistant to come first
529
  */
530
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
531
  $menu_position = 4;
532
  } else {
533
- $menu_position = (integer) MLACore::mla_get_option( MLACore::MLA_SCREEN_ORDER );
534
  }
535
 
536
  if ( $menu_position && is_array( $submenu['upload.php'] ) ) {
@@ -549,14 +548,24 @@ class MLA {
549
  }
550
 
551
  /**
552
- * Redirect to Media/Assistant if Media/Library is hidden
 
553
  *
554
  * @since 1.60
555
  *
556
  * @return void
557
  */
558
  public static function mla_load_media_action( ) {
559
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
 
 
 
 
 
 
 
 
 
560
  $query_args = '?page=' . MLACore::ADMIN_PAGE_SLUG;
561
 
562
  /*
@@ -752,8 +761,8 @@ class MLA {
752
  /*
753
  * Make sure the "Assistant" submenu line is bolded if the Media/Library submenu is hidden
754
  */
755
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_SCREEN_DISPLAY_LIBRARY ) &&
756
- 'upload.php' == $parent_file && 'upload.php' == $submenu_file ) {
757
  $submenu_file = 'upload.php?page=' . MLACore::ADMIN_PAGE_SLUG;
758
  }
759
 
@@ -1341,9 +1350,9 @@ class MLA {
1341
 
1342
  $bulk_action = self::_current_bulk_action();
1343
 
1344
- $page_title = MLACore::mla_get_option( MLACore::MLA_SCREEN_PAGE_TITLE );
1345
  if ( empty( $page_title ) ) {
1346
- $page_title = MLACore::mla_get_option( MLACore::MLA_SCREEN_PAGE_TITLE, true );
1347
  }
1348
 
1349
  echo "<div class=\"wrap\">\n";
29
  *
30
  * @var string
31
  */
32
+ const CURRENT_MLA_VERSION = '2.25';
33
 
34
  /**
35
  * Current date for Development Version, empty for production versions
223
  * @return void
224
  */
225
  public static function mla_admin_init_action() {
226
+ //error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action referer = ' . var_export( wp_get_referer(), true ), 0 );
227
  //error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
228
  /*
229
  * Process secure file download requests
293
  /*
294
  * Optional - limit width of the views list
295
  */
296
+ $width_value = MLACore::mla_get_option( MLACoreOptions::MLA_TABLE_VIEWS_WIDTH );
297
  if ( !empty( $width_value ) ) {
298
  if ( is_numeric( $width_value ) ) {
299
  $width_value .= 'px';
310
  /*
311
  * Optional - change the size of the thumbnail/icon images
312
  */
313
+ $icon_value = MLACore::mla_get_option( MLACoreOptions::MLA_TABLE_ICON_SIZE );
314
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
315
  if ( empty( $icon_value ) ) {
316
  $icon_value = 64;
317
  } else {
400
 
401
  $suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
402
 
403
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
404
  wp_register_style( self::STYLESHEET_SLUG . '-nolibrary', MLA_PLUGIN_URL . 'css/mla-nolibrary.css', false, self::CURRENT_MLA_VERSION );
405
  wp_enqueue_style( self::STYLESHEET_SLUG . '-nolibrary' );
406
  }
462
  'bulkSuccess' => __( 'Succeeded', 'media-library-assistant' ),
463
  'bulkFailure' => __( 'Failed', 'media-library-assistant' ),
464
  'bulkCanceled' => __( 'CANCELED', 'media-library-assistant' ),
465
+ 'bulkChunkSize' => MLACore::mla_get_option( MLACoreOptions::MLA_BULK_CHUNK_SIZE ),
466
  'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
467
  'useSpinnerClass' => false,
468
  'ajax_action' => MLACore::JAVASCRIPT_INLINE_EDIT_SLUG,
490
  public static function mla_admin_menu_action( ) {
491
  global $submenu;
492
 
493
+ add_action( 'load-upload.php', 'MLA::mla_load_media_action' );
 
 
494
 
495
+ $page_title = MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_PAGE_TITLE );
496
  if ( empty( $page_title ) ) {
497
+ $page_title = MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_PAGE_TITLE, true );
498
  }
499
 
500
+ $menu_title = MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_MENU_TITLE );
501
  if ( empty( $menu_title ) ) {
502
+ $menu_title = MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_MENU_TITLE, true );
503
  }
504
 
505
  $hook = add_submenu_page( 'upload.php', $page_title, $menu_title, 'upload_files', MLACore::ADMIN_PAGE_SLUG, 'MLA::mla_render_admin_page' );
526
  /*
527
  * If we are suppressing the Media/Library submenu, force Media/Assistant to come first
528
  */
529
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
530
  $menu_position = 4;
531
  } else {
532
+ $menu_position = (integer) MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_ORDER );
533
  }
534
 
535
  if ( $menu_position && is_array( $submenu['upload.php'] ) ) {
548
  }
549
 
550
  /**
551
+ * Redirect to Media/Assistant if Media/Library is hidden or a trash/delete
552
+ * returns from Media/Edit Media initiated from Media/Assistant
553
  *
554
  * @since 1.60
555
  *
556
  * @return void
557
  */
558
  public static function mla_load_media_action( ) {
559
+ $mla_source = isset( $_REQUEST['mla_source'] ) && in_array( $_REQUEST['mla_source'], array ( 'trash', 'delete' ) );
560
+
561
+ if ( $mla_source || ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) ) {
562
+ /*
563
+ * Allow "grid" view even if the list view is suppressed
564
+ */
565
+ if ( isset( $_REQUEST['mode'] ) && 'grid' === $_REQUEST['mode'] ) {
566
+ return;
567
+ }
568
+
569
  $query_args = '?page=' . MLACore::ADMIN_PAGE_SLUG;
570
 
571
  /*
761
  /*
762
  * Make sure the "Assistant" submenu line is bolded if the Media/Library submenu is hidden
763
  */
764
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_DISPLAY_LIBRARY ) &&
765
+ 'upload.php' == $parent_file && ( empty( $submenu_file ) || 'upload.php' == $submenu_file ) ) {
766
  $submenu_file = 'upload.php?page=' . MLACore::ADMIN_PAGE_SLUG;
767
  }
768
 
1350
 
1351
  $bulk_action = self::_current_bulk_action();
1352
 
1353
+ $page_title = MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_PAGE_TITLE );
1354
  if ( empty( $page_title ) ) {
1355
+ $page_title = MLACore::mla_get_option( MLACoreOptions::MLA_SCREEN_PAGE_TITLE, true );
1356
  }
1357
 
1358
  echo "<div class=\"wrap\">\n";
includes/class-mla-media-modal-ajax.php CHANGED
@@ -78,7 +78,7 @@ class MLAModal_Ajax {
78
  }
79
 
80
  if ( $use_checklist ) {
81
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
82
  $enhanced_taxonomies[] = $key;
83
 
84
  if ( class_exists( 'Media_Categories' ) && is_array( Media_Categories::$instances ) ) {
@@ -247,11 +247,11 @@ class MLAModal_Ajax {
247
  * Make sure the appropriate MMMW Enhancement option has been checked
248
  */
249
  if ( $use_checklist ) {
250
- if ( 'checked' !== MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
251
  continue;
252
  }
253
  } else {
254
- if ( 'checked' !== MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) ) {
255
  continue;
256
  }
257
  }
@@ -362,7 +362,7 @@ class MLAModal_Ajax {
362
  }
363
 
364
  if ( $use_checklist ) {
365
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
366
  unset( $requested[ $index ] );
367
  $label = $value->label;
368
  $terms = get_object_term_cache( $post_id, $key );
@@ -412,7 +412,7 @@ class MLAModal_Ajax {
412
  $results[ $key ] = $row;
413
  } // checked
414
  } /* use_checklist */ else { // flat
415
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) ) {
416
  unset( $requested[ $index ] );
417
  $label = $value->label;
418
  $terms = get_object_term_cache( $post_id, $key );
@@ -668,7 +668,7 @@ class MLAModal_Ajax {
668
  /*
669
  * Check for sorting override
670
  */
671
- $option = MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_ORDERBY );
672
  if ( 'default' != $option ) {
673
  /*
674
  * Make sure the current orderby choice still exists or revert to default.
@@ -683,14 +683,14 @@ class MLAModal_Ajax {
683
  }
684
 
685
  if ( ! $found_current ) {
686
- MLACore::mla_delete_option( MLACore::MLA_DEFAULT_ORDERBY );
687
- $option = MLACore::mla_get_option( MLACore::MLA_DEFAULT_ORDERBY );
688
  }
689
 
690
  $query['orderby'] = $option;
691
  }
692
 
693
- $option = MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_ORDER );
694
  if ( 'default' != $option ) {
695
  $query['order'] = $option;
696
  }
78
  }
79
 
80
  if ( $use_checklist ) {
81
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
82
  $enhanced_taxonomies[] = $key;
83
 
84
  if ( class_exists( 'Media_Categories' ) && is_array( Media_Categories::$instances ) ) {
247
  * Make sure the appropriate MMMW Enhancement option has been checked
248
  */
249
  if ( $use_checklist ) {
250
+ if ( 'checked' !== MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
251
  continue;
252
  }
253
  } else {
254
+ if ( 'checked' !== MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) ) {
255
  continue;
256
  }
257
  }
362
  }
363
 
364
  if ( $use_checklist ) {
365
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
366
  unset( $requested[ $index ] );
367
  $label = $value->label;
368
  $terms = get_object_term_cache( $post_id, $key );
412
  $results[ $key ] = $row;
413
  } // checked
414
  } /* use_checklist */ else { // flat
415
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) ) {
416
  unset( $requested[ $index ] );
417
  $label = $value->label;
418
  $terms = get_object_term_cache( $post_id, $key );
668
  /*
669
  * Check for sorting override
670
  */
671
+ $option = MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY );
672
  if ( 'default' != $option ) {
673
  /*
674
  * Make sure the current orderby choice still exists or revert to default.
683
  }
684
 
685
  if ( ! $found_current ) {
686
+ MLACore::mla_delete_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
687
+ $option = MLACore::mla_get_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
688
  }
689
 
690
  $query['orderby'] = $option;
691
  }
692
 
693
+ $option = MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_ORDER );
694
  if ( 'default' != $option ) {
695
  $query['order'] = $option;
696
  }
includes/class-mla-media-modal.php CHANGED
@@ -72,7 +72,7 @@ class MLAModal {
72
  * do_action( 'wp_enqueue_media' );
73
  */
74
 
75
- if ( ( ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TOOLBAR ) ) || ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_GRID_TOOLBAR ) ) ) ) {
76
  add_filter( 'media_view_settings', 'MLAModal::mla_media_view_settings_filter', 10, 2 );
77
  add_filter( 'media_view_strings', 'MLAModal::mla_media_view_strings_filter', 10, 2 );
78
  add_action( 'wp_enqueue_media', 'MLAModal::mla_wp_enqueue_media_action', 10, 0 );
@@ -229,7 +229,7 @@ class MLAModal {
229
  }
230
  }
231
 
232
- $default_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, true );
233
  self::$mla_media_modal_settings['comma'] = _x( ',', 'tag_delimiter', 'media-library-assistant' );
234
  self::$mla_media_modal_settings['ajaxNonce'] = wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
235
  self::$mla_media_modal_settings['allMimeTypes'] = MLAMime::mla_pluck_table_views();
@@ -256,21 +256,21 @@ class MLAModal {
256
  self::$mla_media_modal_settings['termsIndent'] = '-';
257
  }
258
 
259
- self::$mla_media_modal_settings['enableMediaGrid'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_GRID_TOOLBAR ) );
260
- self::$mla_media_modal_settings['enableMediaModal'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TOOLBAR ) );
261
- self::$mla_media_modal_settings['enableDetailsCategory'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) );
262
- self::$mla_media_modal_settings['enableDetailsTag'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) );
263
- self::$mla_media_modal_settings['enableMimeTypes'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_MIMETYPES ) );
264
- self::$mla_media_modal_settings['enableMonthsDropdown'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_MONTHS ) );
265
- self::$mla_media_modal_settings['enableSearchBox'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_SEARCHBOX ) );
266
- self::$mla_media_modal_settings['enableSearchBoxControls'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS ) );
267
 
268
  $supported_taxonomies = MLACore::mla_supported_taxonomies('support');
269
- self::$mla_media_modal_settings['enableTermsDropdown'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TERMS ) ) && ( ! empty( $supported_taxonomies ) );
270
- self::$mla_media_modal_settings['enableTermsAutofill'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_AUTOFILL ) ) && ( ! empty( $supported_taxonomies ) );
271
 
272
  $supported_taxonomies = MLACore::mla_supported_taxonomies('term-search');
273
- self::$mla_media_modal_settings['enableTermsSearch'] = ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TERMS_SEARCH ) ) && ( ! empty( $supported_taxonomies ) );
274
 
275
  /*
276
  * Compile a list of the enhanced taxonomies
@@ -286,11 +286,11 @@ class MLAModal {
286
  * Make sure the appropriate MMMW Enhancement option has been checked
287
  */
288
  if ( $use_checklist ) {
289
- if ( 'checked' === MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
290
  self::$mla_media_modal_settings['enhancedTaxonomies'][] = $key;
291
  }
292
  } else {
293
- if ( 'checked' === MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) ) {
294
  self::$mla_media_modal_settings['enhancedTaxonomies'][] = $key;
295
  }
296
  }
@@ -300,7 +300,7 @@ class MLAModal {
300
  /*
301
  * Set and filter the initial values for toolbar controls
302
  */
303
- $search_defaults = MLACore::mla_get_option( MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS );
304
  $initial_values = array(
305
  'filterMime' => 'all',
306
  'filterUploaded' => 'all',
@@ -356,7 +356,7 @@ class MLAModal {
356
  $mla_strings = array(
357
  'searchBoxPlaceholder' => __( 'Search Box', 'media-library-assistant' ),
358
  'loadingText' => __( 'Loading...', 'media-library-assistant' ),
359
- 'searchBoxControlsStyle' => ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS ) ) ? 'display: inline;' : 'display: none;',
360
  );
361
 
362
  $strings = array_merge( $strings, array( 'mla_strings' => $mla_strings ) );
@@ -382,10 +382,10 @@ class MLAModal {
382
 
383
  if ( is_object( $screen ) ) {
384
  if ( 'upload' == $screen->base ) {
385
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_MEDIA_GRID_TOOLBAR ) ) {
386
  return;
387
  }
388
- } elseif ( 'checked' != MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TOOLBAR ) ) {
389
  return;
390
  }
391
  }
@@ -403,7 +403,7 @@ class MLAModal {
403
 
404
  wp_enqueue_script( self::JAVASCRIPT_MEDIA_MODAL_SLUG, MLA_PLUGIN_URL . "js/mla-media-modal-scripts{$suffix}.js", array( 'media-views', 'wp-lists', 'suggest' ), MLA::CURRENT_MLA_VERSION, false );
405
 
406
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TERMS_SEARCH ) ) {
407
  MLAModal::mla_add_terms_search_scripts();
408
  }
409
  } // mla_wp_enqueue_media_action
@@ -424,10 +424,10 @@ class MLAModal {
424
  $screen = get_current_screen();
425
 
426
  if ( 'upload' == $screen->base ) {
427
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_MEDIA_GRID_TOOLBAR ) ) {
428
  return;
429
  }
430
- } elseif ( 'checked' != MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_TOOLBAR ) ) {
431
  return;
432
  }
433
  } else {
@@ -462,7 +462,7 @@ class MLAModal {
462
  }
463
 
464
  if ( $use_checklist ) {
465
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
466
  $enhanced_taxonomies[] = $key;
467
 
468
  if ( class_exists( 'Media_Categories' ) && is_array( Media_Categories::$instances ) ) {
72
  * do_action( 'wp_enqueue_media' );
73
  */
74
 
75
+ if ( ( ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) || ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR ) ) ) ) {
76
  add_filter( 'media_view_settings', 'MLAModal::mla_media_view_settings_filter', 10, 2 );
77
  add_filter( 'media_view_strings', 'MLAModal::mla_media_view_strings_filter', 10, 2 );
78
  add_action( 'wp_enqueue_media', 'MLAModal::mla_wp_enqueue_media_action', 10, 0 );
229
  }
230
  }
231
 
232
+ $default_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, true );
233
  self::$mla_media_modal_settings['comma'] = _x( ',', 'tag_delimiter', 'media-library-assistant' );
234
  self::$mla_media_modal_settings['ajaxNonce'] = wp_create_nonce( MLACore::MLA_ADMIN_NONCE_ACTION, MLACore::MLA_ADMIN_NONCE_NAME );
235
  self::$mla_media_modal_settings['allMimeTypes'] = MLAMime::mla_pluck_table_views();
256
  self::$mla_media_modal_settings['termsIndent'] = '-';
257
  }
258
 
259
+ self::$mla_media_modal_settings['enableMediaGrid'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR ) );
260
+ self::$mla_media_modal_settings['enableMediaModal'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) );
261
+ self::$mla_media_modal_settings['enableDetailsCategory'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) );
262
+ self::$mla_media_modal_settings['enableDetailsTag'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) );
263
+ self::$mla_media_modal_settings['enableMimeTypes'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_MIMETYPES ) );
264
+ self::$mla_media_modal_settings['enableMonthsDropdown'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_MONTHS ) );
265
+ self::$mla_media_modal_settings['enableSearchBox'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_SEARCHBOX ) );
266
+ self::$mla_media_modal_settings['enableSearchBoxControls'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS ) );
267
 
268
  $supported_taxonomies = MLACore::mla_supported_taxonomies('support');
269
+ self::$mla_media_modal_settings['enableTermsDropdown'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TERMS ) ) && ( ! empty( $supported_taxonomies ) );
270
+ self::$mla_media_modal_settings['enableTermsAutofill'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_AUTOFILL ) ) && ( ! empty( $supported_taxonomies ) );
271
 
272
  $supported_taxonomies = MLACore::mla_supported_taxonomies('term-search');
273
+ self::$mla_media_modal_settings['enableTermsSearch'] = ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TERMS_SEARCH ) ) && ( ! empty( $supported_taxonomies ) );
274
 
275
  /*
276
  * Compile a list of the enhanced taxonomies
286
  * Make sure the appropriate MMMW Enhancement option has been checked
287
  */
288
  if ( $use_checklist ) {
289
+ if ( 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
290
  self::$mla_media_modal_settings['enhancedTaxonomies'][] = $key;
291
  }
292
  } else {
293
+ if ( 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX ) ) {
294
  self::$mla_media_modal_settings['enhancedTaxonomies'][] = $key;
295
  }
296
  }
300
  /*
301
  * Set and filter the initial values for toolbar controls
302
  */
303
+ $search_defaults = MLACore::mla_get_option( MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS );
304
  $initial_values = array(
305
  'filterMime' => 'all',
306
  'filterUploaded' => 'all',
356
  $mla_strings = array(
357
  'searchBoxPlaceholder' => __( 'Search Box', 'media-library-assistant' ),
358
  'loadingText' => __( 'Loading...', 'media-library-assistant' ),
359
+ 'searchBoxControlsStyle' => ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS ) ) ? 'display: inline;' : 'display: none;',
360
  );
361
 
362
  $strings = array_merge( $strings, array( 'mla_strings' => $mla_strings ) );
382
 
383
  if ( is_object( $screen ) ) {
384
  if ( 'upload' == $screen->base ) {
385
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR ) ) {
386
  return;
387
  }
388
+ } elseif ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
389
  return;
390
  }
391
  }
403
 
404
  wp_enqueue_script( self::JAVASCRIPT_MEDIA_MODAL_SLUG, MLA_PLUGIN_URL . "js/mla-media-modal-scripts{$suffix}.js", array( 'media-views', 'wp-lists', 'suggest' ), MLA::CURRENT_MLA_VERSION, false );
405
 
406
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TERMS_SEARCH ) ) {
407
  MLAModal::mla_add_terms_search_scripts();
408
  }
409
  } // mla_wp_enqueue_media_action
424
  $screen = get_current_screen();
425
 
426
  if ( 'upload' == $screen->base ) {
427
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR ) ) {
428
  return;
429
  }
430
+ } elseif ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
431
  return;
432
  }
433
  } else {
462
  }
463
 
464
  if ( $use_checklist ) {
465
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX ) ) {
466
  $enhanced_taxonomies[] = $key;
467
 
468
  if ( class_exists( 'Media_Categories' ) && is_array( Media_Categories::$instances ) ) {
includes/class-mla-mime-types.php CHANGED
@@ -26,7 +26,7 @@ class MLAMime {
26
  add_filter( 'ext2type', 'MLAMime::mla_ext2type_filter', 0x7FFFFFFF, 1 );
27
  // add_filter( 'wp_check_filetype_and_ext', 'MLAMime::mla_wp_check_filetype_and_ext_filter', 0x7FFFFFFF, 4 );
28
 
29
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_UPLOAD_MIMES ) ) {
30
  if ( function_exists('wp_get_mime_types') ) {
31
  add_filter( 'mime_types', 'MLAMime::mla_mime_types_filter', 0x7FFFFFFF, 1 );
32
  }
@@ -34,7 +34,7 @@ class MLAMime {
34
  add_filter( 'upload_mimes', 'MLAMime::mla_upload_mimes_filter', 0x7FFFFFFF, 2 );
35
  }
36
 
37
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_POST_MIME_TYPES ) ) {
38
  add_filter( 'post_mime_types', 'MLAMime::mla_post_mime_types_filter', 0x7FFFFFFF, 1 );
39
  }
40
 
@@ -126,7 +126,7 @@ class MLAMime {
126
  $items = self::mla_query_upload_items( array( 'mla_upload_view' => 'active' ), 0, 0 );
127
  $pairs = array();
128
  foreach ( $items as $value )
129
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
130
  $pairs[ $value->slug ] = $value->icon_type;
131
  } else {
132
  $pairs[ $value->slug ] = $value->wp_icon_type;
@@ -391,7 +391,7 @@ class MLAMime {
391
  * @return string Updated path to the icon directory, no trailing slash
392
  */
393
  public static function mla_icon_dir_filter( $path ) {
394
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
395
  return MLA_PLUGIN_PATH . 'images/crystal';
396
  }
397
 
@@ -411,7 +411,7 @@ class MLAMime {
411
  * @return string Updated path to the icon directory URL, no trailing slash
412
  */
413
  public static function mla_icon_dir_uri_filter( $uri ) {
414
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
415
  return MLA_PLUGIN_URL . 'images/crystal';
416
  }
417
 
@@ -431,7 +431,7 @@ class MLAMime {
431
  * @return array Updated (path => URI) array
432
  */
433
  public static function mla_icon_dirs_filter( $path_uri_array ) {
434
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
435
  $path_uri_array [ MLA_PLUGIN_PATH . 'images/crystal' ] = MLA_PLUGIN_URL . 'images/crystal';
436
  }
437
 
@@ -724,7 +724,7 @@ class MLAMime {
724
  /*
725
  * Start with MLA standard types
726
  */
727
- $mla_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, true );
728
  if ( ! is_array( $mla_types ) ) {
729
  $mla_types = array ();
730
  }
@@ -734,7 +734,7 @@ class MLAMime {
734
  * filter-enhanced extensions, retain anything new as a custom type.
735
  * Otherwise, add the current MLA custom types.
736
  */
737
- $custom_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, false, true );
738
 
739
  if ( is_array( $custom_types ) ) {
740
  $mla_types = array_merge( $mla_types, $custom_types );
@@ -785,7 +785,7 @@ class MLAMime {
785
  private static function _put_post_mime_templates() {
786
  $mla_post_mimes = array ();
787
 
788
- $mla_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, true );
789
 
790
  foreach ( self::$mla_post_mime_templates as $slug => $value ) {
791
  unset( $value['post_ID'] );
@@ -796,7 +796,7 @@ class MLAMime {
796
  $mla_post_mimes[ $slug ] = $value;
797
  }
798
 
799
- MLACore::mla_update_option( MLACore::MLA_POST_MIME_TYPES, $mla_post_mimes );
800
  return true;
801
  }
802
 
@@ -1560,7 +1560,7 @@ class MLAMime {
1560
  * @return array ( width, height )
1561
  */
1562
  public static function mla_get_icon_type_size( $icon_type ) {
1563
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
1564
  return array( 'width' => 64, 'height' => 64 );
1565
  }
1566
 
@@ -1701,7 +1701,7 @@ class MLAMime {
1701
  * filter-enhanced extensions, retain anything new as a custom type.
1702
  */
1703
  $custom_types = array();
1704
- $mla_upload_mimes = MLACore::mla_get_option( MLACore::MLA_UPLOAD_MIMES );
1705
  if ( is_array( $mla_upload_mimes ) ) {
1706
  $first_time_called = false;
1707
  $custom_types = $mla_upload_mimes['custom'];
@@ -1748,12 +1748,19 @@ class MLAMime {
1748
  $template_array = MLACore::mla_load_template( 'mla-default-mime-types.tpl' );
1749
  if ( isset( $template_array['mla-mime-types'] ) ) {
1750
  $mla_mime_types = preg_split('/[\r\n]+/', $template_array['mla-mime-types'] );
 
1751
  foreach ( $mla_mime_types as $mla_type ) {
 
 
 
 
 
 
1752
  $array = explode(',', $mla_type );
1753
 
1754
  // Bypass damaged entries
1755
  if ( 5 > count( $array ) ) {
1756
- error_log( __LINE__ . ' _get_upload_mime_templates mla-default-mime-types.tpl $array = ' . var_export( $array, true ), 0 );
1757
  continue;
1758
  }
1759
 
@@ -1774,7 +1781,7 @@ class MLAMime {
1774
  'core_icon_type' => self::mla_get_core_icon_type( $array[0] )
1775
  );
1776
 
1777
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
1778
  self::$mla_upload_mime_templates[ $key ]['icon_type'] = self::$mla_upload_mime_templates[ $key ]['mla_icon_type'];
1779
  }
1780
  }
@@ -1820,7 +1827,7 @@ class MLAMime {
1820
  'core_icon_type' => $core_icon_type
1821
  );
1822
 
1823
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
1824
  self::$mla_upload_mime_templates[ $key ]['icon_type'] = self::$mla_upload_mime_templates[ $key ]['mla_icon_type'];
1825
  }
1826
  }
@@ -1913,7 +1920,7 @@ class MLAMime {
1913
  }
1914
  }
1915
 
1916
- MLACore::mla_update_option( MLACore::MLA_UPLOAD_MIMES, $mla_upload_mimes );
1917
  return true;
1918
  }
1919
 
@@ -2510,11 +2517,16 @@ class MLAMime {
2510
 
2511
  $ID = 0;
2512
  foreach ( $mla_mime_types as $mla_type ) {
 
 
 
 
 
2513
  $array = explode(',', $mla_type );
2514
 
2515
  // Bypass damaged entries
2516
  if ( 3 > count( $array ) ) {
2517
- error_log( __LINE__ . ' _get_optional_upload_mime_templates mla-default-mime-types.tpl $array = ' . var_export( $array, true ), 0 );
2518
  continue;
2519
  }
2520
 
26
  add_filter( 'ext2type', 'MLAMime::mla_ext2type_filter', 0x7FFFFFFF, 1 );
27
  // add_filter( 'wp_check_filetype_and_ext', 'MLAMime::mla_wp_check_filetype_and_ext_filter', 0x7FFFFFFF, 4 );
28
 
29
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES ) ) {
30
  if ( function_exists('wp_get_mime_types') ) {
31
  add_filter( 'mime_types', 'MLAMime::mla_mime_types_filter', 0x7FFFFFFF, 1 );
32
  }
34
  add_filter( 'upload_mimes', 'MLAMime::mla_upload_mimes_filter', 0x7FFFFFFF, 2 );
35
  }
36
 
37
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_POST_MIME_TYPES ) ) {
38
  add_filter( 'post_mime_types', 'MLAMime::mla_post_mime_types_filter', 0x7FFFFFFF, 1 );
39
  }
40
 
126
  $items = self::mla_query_upload_items( array( 'mla_upload_view' => 'active' ), 0, 0 );
127
  $pairs = array();
128
  foreach ( $items as $value )
129
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
130
  $pairs[ $value->slug ] = $value->icon_type;
131
  } else {
132
  $pairs[ $value->slug ] = $value->wp_icon_type;
391
  * @return string Updated path to the icon directory, no trailing slash
392
  */
393
  public static function mla_icon_dir_filter( $path ) {
394
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
395
  return MLA_PLUGIN_PATH . 'images/crystal';
396
  }
397
 
411
  * @return string Updated path to the icon directory URL, no trailing slash
412
  */
413
  public static function mla_icon_dir_uri_filter( $uri ) {
414
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
415
  return MLA_PLUGIN_URL . 'images/crystal';
416
  }
417
 
431
  * @return array Updated (path => URI) array
432
  */
433
  public static function mla_icon_dirs_filter( $path_uri_array ) {
434
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
435
  $path_uri_array [ MLA_PLUGIN_PATH . 'images/crystal' ] = MLA_PLUGIN_URL . 'images/crystal';
436
  }
437
 
724
  /*
725
  * Start with MLA standard types
726
  */
727
+ $mla_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, true );
728
  if ( ! is_array( $mla_types ) ) {
729
  $mla_types = array ();
730
  }
734
  * filter-enhanced extensions, retain anything new as a custom type.
735
  * Otherwise, add the current MLA custom types.
736
  */
737
+ $custom_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, false, true );
738
 
739
  if ( is_array( $custom_types ) ) {
740
  $mla_types = array_merge( $mla_types, $custom_types );
785
  private static function _put_post_mime_templates() {
786
  $mla_post_mimes = array ();
787
 
788
+ $mla_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, true );
789
 
790
  foreach ( self::$mla_post_mime_templates as $slug => $value ) {
791
  unset( $value['post_ID'] );
796
  $mla_post_mimes[ $slug ] = $value;
797
  }
798
 
799
+ MLACore::mla_update_option( MLACoreOptions::MLA_POST_MIME_TYPES, $mla_post_mimes );
800
  return true;
801
  }
802
 
1560
  * @return array ( width, height )
1561
  */
1562
  public static function mla_get_icon_type_size( $icon_type ) {
1563
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
1564
  return array( 'width' => 64, 'height' => 64 );
1565
  }
1566
 
1701
  * filter-enhanced extensions, retain anything new as a custom type.
1702
  */
1703
  $custom_types = array();
1704
+ $mla_upload_mimes = MLACore::mla_get_option( MLACoreOptions::MLA_UPLOAD_MIMES );
1705
  if ( is_array( $mla_upload_mimes ) ) {
1706
  $first_time_called = false;
1707
  $custom_types = $mla_upload_mimes['custom'];
1748
  $template_array = MLACore::mla_load_template( 'mla-default-mime-types.tpl' );
1749
  if ( isset( $template_array['mla-mime-types'] ) ) {
1750
  $mla_mime_types = preg_split('/[\r\n]+/', $template_array['mla-mime-types'] );
1751
+ $line_number = 0;
1752
  foreach ( $mla_mime_types as $mla_type ) {
1753
+ $line_number++;
1754
+ // Ignore blank lines
1755
+ if ( empty( $mla_type ) ) {
1756
+ continue;
1757
+ }
1758
+
1759
  $array = explode(',', $mla_type );
1760
 
1761
  // Bypass damaged entries
1762
  if ( 5 > count( $array ) ) {
1763
+ MLACore::mla_debug_add( __LINE__ . " _get_upload_mime_templates mla-default-mime-types.tpl section mla-mime-types( {$line_number} '{$mla_type}' ) \$array = " . var_export( $array, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
1764
  continue;
1765
  }
1766
 
1781
  'core_icon_type' => self::mla_get_core_icon_type( $array[0] )
1782
  );
1783
 
1784
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
1785
  self::$mla_upload_mime_templates[ $key ]['icon_type'] = self::$mla_upload_mime_templates[ $key ]['mla_icon_type'];
1786
  }
1787
  }
1827
  'core_icon_type' => $core_icon_type
1828
  );
1829
 
1830
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
1831
  self::$mla_upload_mime_templates[ $key ]['icon_type'] = self::$mla_upload_mime_templates[ $key ]['mla_icon_type'];
1832
  }
1833
  }
1920
  }
1921
  }
1922
 
1923
+ MLACore::mla_update_option( MLACoreOptions::MLA_UPLOAD_MIMES, $mla_upload_mimes );
1924
  return true;
1925
  }
1926
 
2517
 
2518
  $ID = 0;
2519
  foreach ( $mla_mime_types as $mla_type ) {
2520
+ // Ignore blank lines
2521
+ if ( empty( $mla_type ) ) {
2522
+ continue;
2523
+ }
2524
+
2525
  $array = explode(',', $mla_type );
2526
 
2527
  // Bypass damaged entries
2528
  if ( 3 > count( $array ) ) {
2529
+ MLACore::mla_debug_add( __LINE__ . " _get_upload_mime_templates mla-default-mime-types.tpl section mla-optional-mime-types( {$ID} '{$mla_type}' ) \$array = " . var_export( $array, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
2530
  continue;
2531
  }
2532
 
includes/class-mla-objects.php CHANGED
@@ -199,7 +199,7 @@ class MLAObjects {
199
 
200
  $tax_object = get_taxonomy( $taxonomy );
201
 
202
- $count_terms = 'checked' == MLACore::mla_get_option( MLACore::MLA_COUNT_TERM_ATTACHMENTS );
203
  if ( $count_terms ) {
204
  $terms = get_transient( MLA_OPTION_PREFIX . 't_term_counts_' . $taxonomy );
205
 
199
 
200
  $tax_object = get_taxonomy( $taxonomy );
201
 
202
+ $count_terms = 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_COUNT_TERM_ATTACHMENTS );
203
  if ( $count_terms ) {
204
  $terms = get_transient( MLA_OPTION_PREFIX . 't_term_counts_' . $taxonomy );
205
 
includes/class-mla-options.php CHANGED
@@ -19,261 +19,261 @@ class MLAOptions {
19
  /**
20
  * Provides a unique name for the current version option
21
  */
22
- const MLA_VERSION_OPTION = MLACore::MLA_VERSION_OPTION; // 'current_version';
23
 
24
  /**
25
  * Provides a unique name for the exclude revisions option
26
  */
27
- const MLA_EXCLUDE_REVISIONS = MLACore::MLA_EXCLUDE_REVISIONS; // 'exclude_revisions';
28
 
29
  /**
30
  * Provides a unique name for a database tuning option
31
  */
32
- const MLA_FEATURED_IN_TUNING = MLACore::MLA_FEATURED_IN_TUNING; // 'featured_in_tuning';
33
 
34
  /**
35
  * Provides a unique name for a database tuning option
36
  */
37
- const MLA_INSERTED_IN_TUNING = MLACore::MLA_INSERTED_IN_TUNING; // 'inserted_in_tuning';
38
 
39
  /**
40
  * Provides a unique name for a database tuning option
41
  */
42
- const MLA_GALLERY_IN_TUNING = MLACore::MLA_GALLERY_IN_TUNING; // 'gallery_in_tuning';
43
 
44
  /**
45
  * Provides a unique name for a database tuning option
46
  */
47
- const MLA_MLA_GALLERY_IN_TUNING = MLACore::MLA_MLA_GALLERY_IN_TUNING; // 'mla_gallery_in_tuning';
48
 
49
  /**
50
  * Provides a unique name for the taxonomy count Attachments option
51
  */
52
- const MLA_COUNT_TERM_ATTACHMENTS = MLACore::MLA_COUNT_TERM_ATTACHMENTS; // 'count_term_attachments';
53
 
54
  /**
55
  * Provides a unique name for the taxonomy support option
56
  */
57
- const MLA_TAXONOMY_SUPPORT = MLACore::MLA_TAXONOMY_SUPPORT; // 'taxonomy_support';
58
 
59
  /**
60
  * Provides a unique name for the admin screen page title option
61
  */
62
- const MLA_SCREEN_PAGE_TITLE = MLACore::MLA_SCREEN_PAGE_TITLE; // 'admin_screen_page_title';
63
 
64
  /**
65
  * Provides a unique name for the admin screen menu title option
66
  */
67
- const MLA_SCREEN_MENU_TITLE = MLACore::MLA_SCREEN_MENU_TITLE; // 'admin_screen_menu_title';
68
 
69
  /**
70
  * Provides a unique name for the admin screen menu order option
71
  */
72
- const MLA_SCREEN_ORDER = MLACore::MLA_SCREEN_ORDER; // 'admin_screen_menu_order';
73
 
74
  /**
75
  * Provides a unique name for the admin screen remove Media/Library option
76
  */
77
- const MLA_SCREEN_DISPLAY_LIBRARY = MLACore::MLA_SCREEN_DISPLAY_LIBRARY; // 'admin_screen_display_default';
78
 
79
  /**
80
  * Provides a unique name for the default orderby option
81
  */
82
- const MLA_DEFAULT_ORDERBY = MLACore::MLA_DEFAULT_ORDERBY; // 'default_orderby';
83
 
84
  /**
85
  * Provides a unique name for the default order option
86
  */
87
- const MLA_DEFAULT_ORDER = MLACore::MLA_DEFAULT_ORDER; // 'default_order';
88
 
89
  /**
90
  * Provides a unique name for the Media/Assistant submenu table views width option
91
  */
92
- const MLA_TABLE_VIEWS_WIDTH = MLACore::MLA_TABLE_VIEWS_WIDTH; // 'table_views_width';
93
 
94
  /**
95
  * Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option
96
  */
97
- const MLA_TABLE_ICON_SIZE = MLACore::MLA_TABLE_ICON_SIZE; // 'table_icon_size';
98
 
99
  /**
100
  * Provides a unique name for the Bulk Update and Map All chunk size option
101
  */
102
- const MLA_BULK_CHUNK_SIZE = MLACore::MLA_BULK_CHUNK_SIZE; // 'bulk_chunk_size';
103
 
104
  /**
105
  * Provides a unique name for the taxonomy filter maximum depth option
106
  */
107
- const MLA_TAXONOMY_FILTER_DEPTH = MLACore::MLA_TAXONOMY_FILTER_DEPTH; // 'taxonomy_filter_depth';
108
 
109
  /**
110
  * Provides a unique name for the taxonomy filter maximum depth option
111
  */
112
- const MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN = MLACore::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN; // 'taxonomy_filter_include_children';
113
 
114
  /**
115
  * Provides a unique name for the display Search Media controls option
116
  */
117
- const MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS = MLACore::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS; // 'search_media_filter_show_controls';
118
 
119
  /**
120
  * Provides a unique name for the display Search Media controls option
121
  */
122
- const MLA_SEARCH_MEDIA_FILTER_DEFAULTS = MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS; // 'search_media_filter_defaults';
123
 
124
  /**
125
  * Provides a "size" attribute value for the EXIF/Template Value field
126
  */
127
- const MLA_EXIF_SIZE = MLACore::MLA_EXIF_SIZE; // 30;
128
 
129
  /**
130
  * Provides a unique name for the Custom Field "new rule" key
131
  */
132
- const MLA_NEW_CUSTOM_RULE = MLACore::MLA_NEW_CUSTOM_RULE; // '__NEW_RULE__';
133
 
134
  /**
135
  * Provides a unique name for the Custom Field "new field" key
136
  */
137
- const MLA_NEW_CUSTOM_FIELD = MLACore::MLA_NEW_CUSTOM_FIELD; // '__NEW_FIELD__';
138
 
139
  /**
140
  * Provides a unique name for the "searchable taxonomies" option
141
  */
142
- const MLA_EDIT_MEDIA_SEARCH_TAXONOMY = MLACore::MLA_EDIT_MEDIA_SEARCH_TAXONOMY; // 'edit_media_search_taxonomy';
143
 
144
  /**
145
  * Provides a unique name for the Edit Media additional meta boxes option
146
  */
147
- const MLA_EDIT_MEDIA_META_BOXES = MLACore::MLA_EDIT_MEDIA_META_BOXES; // 'edit_media_meta_boxes';
148
 
149
  /**
150
  * Provides a unique name for the Media/Add New bulk edit option
151
  */
152
- const MLA_ADD_NEW_BULK_EDIT = MLACore::MLA_ADD_NEW_BULK_EDIT; // 'add_new_bulk_edit';
153
 
154
  /**
155
  * Provides a unique name for the Media/Add New bulk edit "on top" option
156
  */
157
- const MLA_ADD_NEW_BULK_EDIT_ON_TOP = MLACore::MLA_ADD_NEW_BULK_EDIT_ON_TOP; // 'add_new_bulk_edit_on_top';
158
 
159
  /**
160
  * Provides a unique name for the Media Grid toolbar option, which
161
  * also controls the ATTACHMENT DETAILS enhancements
162
  */
163
- const MLA_MEDIA_GRID_TOOLBAR = MLACore::MLA_MEDIA_GRID_TOOLBAR; // 'media_grid_toolbar';
164
 
165
  /**
166
  * Provides a unique name for the Media Manager toolbar option, which
167
  * also controls the ATTACHMENT DETAILS enhancements
168
  */
169
- const MLA_MEDIA_MODAL_TOOLBAR = MLACore::MLA_MEDIA_MODAL_TOOLBAR; // 'media_modal_toolbar';
170
 
171
  /**
172
  * Provides a unique name for the Media Manager toolbar MIME Types option
173
  */
174
- const MLA_MEDIA_MODAL_MIMETYPES = MLACore::MLA_MEDIA_MODAL_MIMETYPES; // 'media_modal_mimetypes';
175
 
176
  /**
177
  * Provides a unique name for the Media Manager toolbar Month and Year option
178
  */
179
- const MLA_MEDIA_MODAL_MONTHS = MLACore::MLA_MEDIA_MODAL_MONTHS; // 'media_modal_months';
180
 
181
  /**
182
  * Provides a unique name for the Media Manager toolbar Taxonomy Terms option
183
  */
184
- const MLA_MEDIA_MODAL_TERMS = MLACore::MLA_MEDIA_MODAL_TERMS; // 'media_modal_terms';
185
 
186
  /**
187
  * Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option
188
  */
189
- const MLA_MEDIA_MODAL_TERMS_SEARCH = MLACore::MLA_MEDIA_MODAL_TERMS_SEARCH; // 'media_modal_terms_search';
190
 
191
  /**
192
  * Provides a unique name for the Media Manager toolbar Search Box option
193
  */
194
- const MLA_MEDIA_MODAL_SEARCHBOX = MLACore::MLA_MEDIA_MODAL_SEARCHBOX; // 'media_modal_searchbox';
195
 
196
  /**
197
  * Provides a unique name for the Media Manager toolbar Search Box Controls option
198
  */
199
- const MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS = MLACore::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS; // 'media_modal_searchbox_controls';
200
 
201
  /**
202
  * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
203
  * This option is for hierarchical taxonomies, e.g., "Att. Categories".
204
  */
205
- const MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX = MLACore::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX; // 'media_modal_details_category_metabox';
206
 
207
  /**
208
  * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
209
  * This option is for flat taxonomies, e.g., "Att. Tags".
210
  */
211
- const MLA_MEDIA_MODAL_DETAILS_TAG_METABOX = MLACore::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX; // 'media_modal_details_tag_metabox';
212
 
213
  /**
214
  * Provides a unique name for the Media Manager Attachment Details auto-fill option
215
  */
216
- const MLA_MEDIA_MODAL_DETAILS_AUTOFILL = MLACore::MLA_MEDIA_MODAL_DETAILS_AUTOFILL; // 'media_modal_details_autofill';
217
 
218
  /**
219
  * Provides a unique name for the Media Manager orderby option
220
  */
221
- const MLA_MEDIA_MODAL_ORDERBY = MLACore::MLA_MEDIA_MODAL_ORDERBY; // 'media_modal_orderby';
222
 
223
  /**
224
  * Provides a unique name for the Media Manager order option
225
  */
226
- const MLA_MEDIA_MODAL_ORDER = MLACore::MLA_MEDIA_MODAL_ORDER; // 'media_modal_order';
227
 
228
  /**
229
  * Provides a unique name for the Post MIME Types option
230
  */
231
- const MLA_POST_MIME_TYPES = MLACore::MLA_POST_MIME_TYPES; // 'post_mime_types';
232
 
233
  /**
234
  * Provides a unique name for the Enable Post MIME Types option
235
  */
236
- const MLA_ENABLE_POST_MIME_TYPES = MLACore::MLA_ENABLE_POST_MIME_TYPES; // 'enable_post_mime_types';
237
 
238
  /**
239
  * Provides a unique name for the Upload MIME Types option
240
  */
241
- const MLA_UPLOAD_MIMES = MLACore::MLA_UPLOAD_MIMES; // 'upload_mimes';
242
 
243
  /**
244
  * Provides a unique name for the Enable Upload MIME Types option
245
  */
246
- const MLA_ENABLE_UPLOAD_MIMES = MLACore::MLA_ENABLE_UPLOAD_MIMES; // 'enable_upload_mimes';
247
 
248
  /**
249
  * Provides a unique name for the Enable MLA Icons option
250
  */
251
- const MLA_ENABLE_MLA_ICONS = MLACore::MLA_ENABLE_MLA_ICONS; // 'enable_mla_icons';
252
 
253
  /**
254
  * Provides a unique name for the Debug display limit option
255
  */
256
- const MLA_DEBUG_DISPLAY_LIMIT = MLACore::MLA_DEBUG_DISPLAY_LIMIT; // 'debug_display_limit';
257
 
258
  /**
259
  * Provides a unique name for the Debug alternate log file option
260
  */
261
- const MLA_DEBUG_FILE = MLACore::MLA_DEBUG_FILE; // 'debug_file';
262
 
263
  /**
264
  * Provides a unique name for the Debug replace PHP log file option
265
  */
266
- const MLA_DEBUG_REPLACE_PHP_LOG = MLACore::MLA_DEBUG_REPLACE_PHP_LOG; // 'debug_replace_php_log';
267
 
268
  /**
269
  * Provides a unique name for the Debug replace PHP error_reporting option
270
  */
271
- const MLA_DEBUG_REPLACE_PHP_REPORTING = MLACore::MLA_DEBUG_REPLACE_PHP_REPORTING; // 'debug_replace_php_reporting';
272
 
273
  /**
274
  * Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option
275
  */
276
- const MLA_DEBUG_REPLACE_LEVEL = MLACore::MLA_DEBUG_REPLACE_LEVEL; // 'debug_replace_level';
277
 
278
  /**
279
  * $mla_option_definitions moved to MLACore::
@@ -344,10 +344,10 @@ class MLAOptions {
344
  * @since 1.70
345
  *
346
  * @return void
347
- */
348
  public static function mla_localize_option_definitions_array() {
349
- MLACore::mla_localize_option_definitions_array();
350
- }
351
 
352
  /**
353
  * Get ALL style templates from $mla_templates, including 'default'
@@ -406,6 +406,13 @@ class MLAOptions {
406
 
407
  $templates = array();
408
  foreach ( MLAShortcode_Support::$mla_custom_templates as $key => $value ) {
 
 
 
 
 
 
 
409
  // Note order: -row-open must precede -open!
410
  $tail = strrpos( $key, '-row-open-markup' );
411
  if ( ! ( false === $tail ) ) {
@@ -630,12 +637,12 @@ class MLAOptions {
630
  case 'render':
631
  $taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
632
  $current_values = MLACore::mla_get_option( $key );
633
- $tax_support = isset( $current_values['tax_support'] ) ? $current_values['tax_support'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
634
- $tax_quick_edit = isset( $current_values['tax_quick_edit'] ) ? $current_values['tax_quick_edit'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
635
- $tax_term_search = isset( $current_values['tax_term_search'] ) ? $current_values['tax_term_search'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
636
- $tax_flat_checklist = isset( $current_values['tax_flat_checklist'] ) ? $current_values['tax_flat_checklist'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
637
- $tax_checked_on_top = isset( $current_values['tax_checked_on_top'] ) ? $current_values['tax_checked_on_top'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
638
- $tax_filter = isset( $current_values['tax_filter'] ) ? $current_values['tax_filter'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
639
 
640
  /*
641
  * Always display our own taxonomies, even if not registered.
@@ -713,12 +720,12 @@ class MLAOptions {
713
  return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['taxonomy-table'], $option_values );
714
  case 'update':
715
  case 'delete':
716
- $tax_support = isset( $args['tax_support'] ) ? $args['tax_support'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
717
- $tax_quick_edit = isset( $args['tax_quick_edit'] ) ? $args['tax_quick_edit'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
718
- $tax_term_search = isset( $args['tax_term_search'] ) ? $args['tax_term_search'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
719
- $tax_flat_checklist = isset( $args['tax_flat_checklist'] ) ? $args['tax_flat_checklist'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
720
- $tax_checked_on_top = isset( $args['tax_checked_on_top'] ) ? $args['tax_checked_on_top'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
721
- $tax_filter = isset( $args['tax_filter'] ) ? $args['tax_filter'] : MLACore::$mla_option_definitions[ MLACore::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
722
 
723
  $msg = '';
724
 
@@ -806,8 +813,8 @@ class MLAOptions {
806
  switch ( $action ) {
807
  case 'render':
808
  $current_values = MLACore::mla_get_option( $key );
809
- $search_connector = isset( $current_values['search_connector'] ) ? $current_values['search_connector'] : MLACore::$mla_option_definitions[ MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_connector'];
810
- $search_fields = isset( $current_values['search_fields'] ) ? $current_values['search_fields'] : MLACore::$mla_option_definitions[ MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_fields'];
811
 
812
  $option_values = array (
813
  'and_checked' => ( 'AND' == $search_connector ) ? 'checked="checked"' : '',
@@ -831,14 +838,14 @@ class MLAOptions {
831
 
832
  'terms_checked' => ( in_array( 'terms', $search_fields ) ) ? 'checked="checked"' : '',
833
  'Terms' => __( 'Terms', 'media-library-assistant' ),
834
- 'help' => MLACore::$mla_option_definitions[ MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['help']
835
  );
836
 
837
  return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['search-table'], $option_values );
838
  case 'update':
839
  case 'delete':
840
- $search_connector = isset( $args['search_connector'] ) ? $args['search_connector'] : MLACore::$mla_option_definitions[ MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_connector'];
841
- $search_fields = isset( $args['search_fields'] ) ? $args['search_fields'] : MLACore::$mla_option_definitions[ MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_fields'];
842
 
843
  $msg = '';
844
 
@@ -1358,7 +1365,7 @@ class MLAOptions {
1358
  /*
1359
  * Check for the addition of a new rule or field
1360
  */
1361
- if ( MLACore::MLA_NEW_CUSTOM_FIELD === $the_key ) {
1362
  if ( empty( $new_key ) ) {
1363
  continue;
1364
  }
@@ -1372,7 +1379,7 @@ class MLAOptions {
1372
  /* translators: 1: custom field name */
1373
  $message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
1374
  $any_setting_changed = true;
1375
- } elseif ( MLACore::MLA_NEW_CUSTOM_RULE === $the_key ) {
1376
  if ( 'none' == $new_key ) {
1377
  continue;
1378
  }
@@ -1694,7 +1701,7 @@ class MLAOptions {
1694
  'column_count' => 7,
1695
  'column_count_meta' => (7 - 2),
1696
  'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
1697
- 'index' => MLACore::MLA_NEW_CUSTOM_RULE,
1698
  'field_name_options' => MLAOptions::_compose_custom_field_option_list( 'none', $current_values ),
1699
  'data_source_options' => MLAOptions::_compose_data_source_option_list( 'none' ),
1700
  'keep_selected' => '',
@@ -1738,7 +1745,7 @@ class MLAOptions {
1738
  'column_count' => 7,
1739
  'column_count_meta' => (7 - 2),
1740
  'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
1741
- 'index' => MLACore::MLA_NEW_CUSTOM_FIELD,
1742
  'field_name_size' => '24',
1743
  'data_source_options' => MLAOptions::_compose_data_source_option_list( 'none' ),
1744
  'keep_selected' => '',
@@ -1810,7 +1817,7 @@ class MLAOptions {
1810
 
1811
  return $results . $messages;
1812
  case 'reset':
1813
- $current_values = MLACore::$mla_option_definitions['custom_field_mapping']['std'];
1814
  $settings_changed = MLACore::mla_update_option( 'custom_field_mapping', $current_values );
1815
  if ( $settings_changed ) {
1816
  return __( 'Custom field mapping settings saved.', 'media-library-assistant' ) . "\r\n";
@@ -2410,7 +2417,7 @@ class MLAOptions {
2410
  /*
2411
  * Field Title can change as a result of localization
2412
  */
2413
- $new_value['name'] = MLACore::$mla_option_definitions['iptc_exif_mapping']['std']['standard'][ $new_key ]['name'];
2414
 
2415
  if ( $old_values['name'] != $new_value['name'] ) {
2416
  $any_setting_changed = true;
@@ -2618,7 +2625,7 @@ class MLAOptions {
2618
  /*
2619
  * Check for the addition of a new field or new rule
2620
  */
2621
- if ( MLACore::MLA_NEW_CUSTOM_FIELD === $the_key ) {
2622
  if ( empty( $new_key ) ) {
2623
  continue;
2624
  }
@@ -2632,7 +2639,7 @@ class MLAOptions {
2632
  /* translators: 1: custom field name */
2633
  $message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
2634
  $any_setting_changed = true;
2635
- } elseif ( MLACore::MLA_NEW_CUSTOM_RULE === $the_key ) {
2636
  if ( 'none' == $new_key ) {
2637
  continue;
2638
  }
@@ -2831,7 +2838,7 @@ class MLAOptions {
2831
  'name_attr' => esc_attr( $row_value['name'] ),
2832
  'name' => esc_html( $row_value['name'] ),
2833
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( $row_value['iptc_value'] ),
2834
- 'exif_size' => MLACore::MLA_EXIF_SIZE,
2835
  'exif_text' => esc_attr( $row_value['exif_value'] ),
2836
  'iptc_selected' => '',
2837
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
@@ -2885,7 +2892,7 @@ class MLAOptions {
2885
  'name' => esc_html( $row_value->labels->name ),
2886
  'hierarchical' => (string) $row_value->hierarchical,
2887
  'iptc_field_options' => '',
2888
- 'exif_size' => MLACore::MLA_EXIF_SIZE,
2889
  'exif_text' => '',
2890
  'iptc_selected' => '',
2891
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
@@ -3005,7 +3012,7 @@ class MLAOptions {
3005
  'name_attr' => esc_attr( $current_value['name'] ),
3006
  'name' => esc_html( $current_value['name'] ),
3007
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( $current_value['iptc_value'] ),
3008
- 'exif_size' => MLACore::MLA_EXIF_SIZE,
3009
  'exif_text' => esc_attr( $current_value['exif_value'] ),
3010
  'iptc_selected' => '',
3011
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
@@ -3097,10 +3104,10 @@ class MLAOptions {
3097
  'column_count' => 5 ,
3098
  'column_count_meta' => (5 - 2),
3099
  'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
3100
- 'index' => MLACore::MLA_NEW_CUSTOM_RULE,
3101
  'field_name_options' => MLAOptions::_compose_custom_field_option_list( 'none', $current_values['custom'] ),
3102
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( 'none' ),
3103
- 'exif_size' => MLACore::MLA_EXIF_SIZE,
3104
  'exif_text' => '',
3105
  'iptc_selected' => 'selected="selected"',
3106
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
@@ -3143,10 +3150,10 @@ class MLAOptions {
3143
  'column_count' => 5 ,
3144
  'column_count_meta' => (5 - 2),
3145
  'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
3146
- 'index' => MLACore::MLA_NEW_CUSTOM_FIELD,
3147
  'field_name_size' => '24',
3148
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( 'none' ),
3149
- 'exif_size' => MLACore::MLA_EXIF_SIZE,
3150
  'exif_text' => '',
3151
  'iptc_selected' => 'selected="selected"',
3152
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
@@ -3256,7 +3263,7 @@ class MLAOptions {
3256
  case 'reset':
3257
  switch ( $key ) {
3258
  case 'iptc_exif_standard_mapping':
3259
- $current_values['standard'] = MLACore::$mla_option_definitions['iptc_exif_mapping']['std']['standard'];
3260
  $settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
3261
  if ( $settings_changed ) {
3262
  /* translators: 1: field type */
@@ -3266,7 +3273,7 @@ class MLAOptions {
3266
  return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
3267
  }
3268
  case 'iptc_exif_taxonomy_mapping':
3269
- $current_values['taxonomy'] = MLACore::$mla_option_definitions['iptc_exif_mapping']['std']['taxonomy'];
3270
  $settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
3271
  if ( $settings_changed ) {
3272
  /* translators: 1: field type */
@@ -3276,7 +3283,7 @@ class MLAOptions {
3276
  return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
3277
  }
3278
  case 'iptc_exif_custom_mapping':
3279
- $current_values['custom'] = MLACore::$mla_option_definitions['iptc_exif_mapping']['std']['custom'];
3280
  $settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
3281
  if ( $settings_changed ) {
3282
  /* translators: 1: field type */
19
  /**
20
  * Provides a unique name for the current version option
21
  */
22
+ const MLA_VERSION_OPTION = MLACoreOptions::MLA_VERSION_OPTION; // 'current_version';
23
 
24
  /**
25
  * Provides a unique name for the exclude revisions option
26
  */
27
+ const MLA_EXCLUDE_REVISIONS = MLACoreOptions::MLA_EXCLUDE_REVISIONS; // 'exclude_revisions';
28
 
29
  /**
30
  * Provides a unique name for a database tuning option
31
  */
32
+ const MLA_FEATURED_IN_TUNING = MLACoreOptions::MLA_FEATURED_IN_TUNING; // 'featured_in_tuning';
33
 
34
  /**
35
  * Provides a unique name for a database tuning option
36
  */
37
+ const MLA_INSERTED_IN_TUNING = MLACoreOptions::MLA_INSERTED_IN_TUNING; // 'inserted_in_tuning';
38
 
39
  /**
40
  * Provides a unique name for a database tuning option
41
  */
42
+ const MLA_GALLERY_IN_TUNING = MLACoreOptions::MLA_GALLERY_IN_TUNING; // 'gallery_in_tuning';
43
 
44
  /**
45
  * Provides a unique name for a database tuning option
46
  */
47
+ const MLA_MLA_GALLERY_IN_TUNING = MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING; // 'mla_gallery_in_tuning';
48
 
49
  /**
50
  * Provides a unique name for the taxonomy count Attachments option
51
  */
52
+ const MLA_COUNT_TERM_ATTACHMENTS = MLACoreOptions::MLA_COUNT_TERM_ATTACHMENTS; // 'count_term_attachments';
53
 
54
  /**
55
  * Provides a unique name for the taxonomy support option
56
  */
57
+ const MLA_TAXONOMY_SUPPORT = MLACoreOptions::MLA_TAXONOMY_SUPPORT; // 'taxonomy_support';
58
 
59
  /**
60
  * Provides a unique name for the admin screen page title option
61
  */
62
+ const MLA_SCREEN_PAGE_TITLE = MLACoreOptions::MLA_SCREEN_PAGE_TITLE; // 'admin_screen_page_title';
63
 
64
  /**
65
  * Provides a unique name for the admin screen menu title option
66
  */
67
+ const MLA_SCREEN_MENU_TITLE = MLACoreOptions::MLA_SCREEN_MENU_TITLE; // 'admin_screen_menu_title';
68
 
69
  /**
70
  * Provides a unique name for the admin screen menu order option
71
  */
72
+ const MLA_SCREEN_ORDER = MLACoreOptions::MLA_SCREEN_ORDER; // 'admin_screen_menu_order';
73
 
74
  /**
75
  * Provides a unique name for the admin screen remove Media/Library option
76
  */
77
+ const MLA_SCREEN_DISPLAY_LIBRARY = MLACoreOptions::MLA_SCREEN_DISPLAY_LIBRARY; // 'admin_screen_display_default';
78
 
79
  /**
80
  * Provides a unique name for the default orderby option
81
  */
82
+ const MLA_DEFAULT_ORDERBY = MLACoreOptions::MLA_DEFAULT_ORDERBY; // 'default_orderby';
83
 
84
  /**
85
  * Provides a unique name for the default order option
86
  */
87
+ const MLA_DEFAULT_ORDER = MLACoreOptions::MLA_DEFAULT_ORDER; // 'default_order';
88
 
89
  /**
90
  * Provides a unique name for the Media/Assistant submenu table views width option
91
  */
92
+ const MLA_TABLE_VIEWS_WIDTH = MLACoreOptions::MLA_TABLE_VIEWS_WIDTH; // 'table_views_width';
93
 
94
  /**
95
  * Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option
96
  */
97
+ const MLA_TABLE_ICON_SIZE = MLACoreOptions::MLA_TABLE_ICON_SIZE; // 'table_icon_size';
98
 
99
  /**
100
  * Provides a unique name for the Bulk Update and Map All chunk size option
101
  */
102
+ const MLA_BULK_CHUNK_SIZE = MLACoreOptions::MLA_BULK_CHUNK_SIZE; // 'bulk_chunk_size';
103
 
104
  /**
105
  * Provides a unique name for the taxonomy filter maximum depth option
106
  */
107
+ const MLA_TAXONOMY_FILTER_DEPTH = MLACoreOptions::MLA_TAXONOMY_FILTER_DEPTH; // 'taxonomy_filter_depth';
108
 
109
  /**
110
  * Provides a unique name for the taxonomy filter maximum depth option
111
  */
112
+ const MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN = MLACoreOptions::MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN; // 'taxonomy_filter_include_children';
113
 
114
  /**
115
  * Provides a unique name for the display Search Media controls option
116
  */
117
+ const MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS = MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS; // 'search_media_filter_show_controls';
118
 
119
  /**
120
  * Provides a unique name for the display Search Media controls option
121
  */
122
+ const MLA_SEARCH_MEDIA_FILTER_DEFAULTS = MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS; // 'search_media_filter_defaults';
123
 
124
  /**
125
  * Provides a "size" attribute value for the EXIF/Template Value field
126
  */
127
+ const MLA_EXIF_SIZE = MLACoreOptions::MLA_EXIF_SIZE; // 30;
128
 
129
  /**
130
  * Provides a unique name for the Custom Field "new rule" key
131
  */
132
+ const MLA_NEW_CUSTOM_RULE = MLACoreOptions::MLA_NEW_CUSTOM_RULE; // '__NEW_RULE__';
133
 
134
  /**
135
  * Provides a unique name for the Custom Field "new field" key
136
  */
137
+ const MLA_NEW_CUSTOM_FIELD = MLACoreOptions::MLA_NEW_CUSTOM_FIELD; // '__NEW_FIELD__';
138
 
139
  /**
140
  * Provides a unique name for the "searchable taxonomies" option
141
  */
142
+ const MLA_EDIT_MEDIA_SEARCH_TAXONOMY = MLACoreOptions::MLA_EDIT_MEDIA_SEARCH_TAXONOMY; // 'edit_media_search_taxonomy';
143
 
144
  /**
145
  * Provides a unique name for the Edit Media additional meta boxes option
146
  */
147
+ const MLA_EDIT_MEDIA_META_BOXES = MLACoreOptions::MLA_EDIT_MEDIA_META_BOXES; // 'edit_media_meta_boxes';
148
 
149
  /**
150
  * Provides a unique name for the Media/Add New bulk edit option
151
  */
152
+ const MLA_ADD_NEW_BULK_EDIT = MLACoreOptions::MLA_ADD_NEW_BULK_EDIT; // 'add_new_bulk_edit';
153
 
154
  /**
155
  * Provides a unique name for the Media/Add New bulk edit "on top" option
156
  */
157
+ const MLA_ADD_NEW_BULK_EDIT_ON_TOP = MLACoreOptions::MLA_ADD_NEW_BULK_EDIT_ON_TOP; // 'add_new_bulk_edit_on_top';
158
 
159
  /**
160
  * Provides a unique name for the Media Grid toolbar option, which
161
  * also controls the ATTACHMENT DETAILS enhancements
162
  */
163
+ const MLA_MEDIA_GRID_TOOLBAR = MLACoreOptions::MLA_MEDIA_GRID_TOOLBAR; // 'media_grid_toolbar';
164
 
165
  /**
166
  * Provides a unique name for the Media Manager toolbar option, which
167
  * also controls the ATTACHMENT DETAILS enhancements
168
  */
169
+ const MLA_MEDIA_MODAL_TOOLBAR = MLACoreOptions::MLA_MEDIA_MODAL_TOOLBAR; // 'media_modal_toolbar';
170
 
171
  /**
172
  * Provides a unique name for the Media Manager toolbar MIME Types option
173
  */
174
+ const MLA_MEDIA_MODAL_MIMETYPES = MLACoreOptions::MLA_MEDIA_MODAL_MIMETYPES; // 'media_modal_mimetypes';
175
 
176
  /**
177
  * Provides a unique name for the Media Manager toolbar Month and Year option
178
  */
179
+ const MLA_MEDIA_MODAL_MONTHS = MLACoreOptions::MLA_MEDIA_MODAL_MONTHS; // 'media_modal_months';
180
 
181
  /**
182
  * Provides a unique name for the Media Manager toolbar Taxonomy Terms option
183
  */
184
+ const MLA_MEDIA_MODAL_TERMS = MLACoreOptions::MLA_MEDIA_MODAL_TERMS; // 'media_modal_terms';
185
 
186
  /**
187
  * Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option
188
  */
189
+ const MLA_MEDIA_MODAL_TERMS_SEARCH = MLACoreOptions::MLA_MEDIA_MODAL_TERMS_SEARCH; // 'media_modal_terms_search';
190
 
191
  /**
192
  * Provides a unique name for the Media Manager toolbar Search Box option
193
  */
194
+ const MLA_MEDIA_MODAL_SEARCHBOX = MLACoreOptions::MLA_MEDIA_MODAL_SEARCHBOX; // 'media_modal_searchbox';
195
 
196
  /**
197
  * Provides a unique name for the Media Manager toolbar Search Box Controls option
198
  */
199
+ const MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS = MLACoreOptions::MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS; // 'media_modal_searchbox_controls';
200
 
201
  /**
202
  * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
203
  * This option is for hierarchical taxonomies, e.g., "Att. Categories".
204
  */
205
+ const MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX = MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX; // 'media_modal_details_category_metabox';
206
 
207
  /**
208
  * Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
209
  * This option is for flat taxonomies, e.g., "Att. Tags".
210
  */
211
+ const MLA_MEDIA_MODAL_DETAILS_TAG_METABOX = MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_TAG_METABOX; // 'media_modal_details_tag_metabox';
212
 
213
  /**
214
  * Provides a unique name for the Media Manager Attachment Details auto-fill option
215
  */
216
+ const MLA_MEDIA_MODAL_DETAILS_AUTOFILL = MLACoreOptions::MLA_MEDIA_MODAL_DETAILS_AUTOFILL; // 'media_modal_details_autofill';
217
 
218
  /**
219
  * Provides a unique name for the Media Manager orderby option
220
  */
221
+ const MLA_MEDIA_MODAL_ORDERBY = MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY; // 'media_modal_orderby';
222
 
223
  /**
224
  * Provides a unique name for the Media Manager order option
225
  */
226
+ const MLA_MEDIA_MODAL_ORDER = MLACoreOptions::MLA_MEDIA_MODAL_ORDER; // 'media_modal_order';
227
 
228
  /**
229
  * Provides a unique name for the Post MIME Types option
230
  */
231
+ const MLA_POST_MIME_TYPES = MLACoreOptions::MLA_POST_MIME_TYPES; // 'post_mime_types';
232
 
233
  /**
234
  * Provides a unique name for the Enable Post MIME Types option
235
  */
236
+ const MLA_ENABLE_POST_MIME_TYPES = MLACoreOptions::MLA_ENABLE_POST_MIME_TYPES; // 'enable_post_mime_types';
237
 
238
  /**
239
  * Provides a unique name for the Upload MIME Types option
240
  */
241
+ const MLA_UPLOAD_MIMES = MLACoreOptions::MLA_UPLOAD_MIMES; // 'upload_mimes';
242
 
243
  /**
244
  * Provides a unique name for the Enable Upload MIME Types option
245
  */
246
+ const MLA_ENABLE_UPLOAD_MIMES = MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES; // 'enable_upload_mimes';
247
 
248
  /**
249
  * Provides a unique name for the Enable MLA Icons option
250
  */
251
+ const MLA_ENABLE_MLA_ICONS = MLACoreOptions::MLA_ENABLE_MLA_ICONS; // 'enable_mla_icons';
252
 
253
  /**
254
  * Provides a unique name for the Debug display limit option
255
  */
256
+ const MLA_DEBUG_DISPLAY_LIMIT = MLACoreOptions::MLA_DEBUG_DISPLAY_LIMIT; // 'debug_display_limit';
257
 
258
  /**
259
  * Provides a unique name for the Debug alternate log file option
260
  */
261
+ const MLA_DEBUG_FILE = MLACoreOptions::MLA_DEBUG_FILE; // 'debug_file';
262
 
263
  /**
264
  * Provides a unique name for the Debug replace PHP log file option
265
  */
266
+ const MLA_DEBUG_REPLACE_PHP_LOG = MLACoreOptions::MLA_DEBUG_REPLACE_PHP_LOG; // 'debug_replace_php_log';
267
 
268
  /**
269
  * Provides a unique name for the Debug replace PHP error_reporting option
270
  */
271
+ const MLA_DEBUG_REPLACE_PHP_REPORTING = MLACoreOptions::MLA_DEBUG_REPLACE_PHP_REPORTING; // 'debug_replace_php_reporting';
272
 
273
  /**
274
  * Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option
275
  */
276
+ const MLA_DEBUG_REPLACE_LEVEL = MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL; // 'debug_replace_level';
277
 
278
  /**
279
  * $mla_option_definitions moved to MLACore::
344
  * @since 1.70
345
  *
346
  * @return void
347
+ * /
348
  public static function mla_localize_option_definitions_array() {
349
+ MLACoreOptions::mla_localize_option_definitions_array();
350
+ } // */
351
 
352
  /**
353
  * Get ALL style templates from $mla_templates, including 'default'
406
 
407
  $templates = array();
408
  foreach ( MLAShortcode_Support::$mla_custom_templates as $key => $value ) {
409
+ $tail = strrpos( $key, '-arguments-markup' );
410
+ if ( ! ( false === $tail ) ) {
411
+ $name = substr( $key, 0, $tail );
412
+ $templates[ $name ]['arguments'] = $value;
413
+ continue;
414
+ }
415
+
416
  // Note order: -row-open must precede -open!
417
  $tail = strrpos( $key, '-row-open-markup' );
418
  if ( ! ( false === $tail ) ) {
637
  case 'render':
638
  $taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
639
  $current_values = MLACore::mla_get_option( $key );
640
+ $tax_support = isset( $current_values['tax_support'] ) ? $current_values['tax_support'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
641
+ $tax_quick_edit = isset( $current_values['tax_quick_edit'] ) ? $current_values['tax_quick_edit'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
642
+ $tax_term_search = isset( $current_values['tax_term_search'] ) ? $current_values['tax_term_search'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
643
+ $tax_flat_checklist = isset( $current_values['tax_flat_checklist'] ) ? $current_values['tax_flat_checklist'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
644
+ $tax_checked_on_top = isset( $current_values['tax_checked_on_top'] ) ? $current_values['tax_checked_on_top'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
645
+ $tax_filter = isset( $current_values['tax_filter'] ) ? $current_values['tax_filter'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
646
 
647
  /*
648
  * Always display our own taxonomies, even if not registered.
720
  return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['taxonomy-table'], $option_values );
721
  case 'update':
722
  case 'delete':
723
+ $tax_support = isset( $args['tax_support'] ) ? $args['tax_support'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
724
+ $tax_quick_edit = isset( $args['tax_quick_edit'] ) ? $args['tax_quick_edit'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
725
+ $tax_term_search = isset( $args['tax_term_search'] ) ? $args['tax_term_search'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
726
+ $tax_flat_checklist = isset( $args['tax_flat_checklist'] ) ? $args['tax_flat_checklist'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
727
+ $tax_checked_on_top = isset( $args['tax_checked_on_top'] ) ? $args['tax_checked_on_top'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
728
+ $tax_filter = isset( $args['tax_filter'] ) ? $args['tax_filter'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
729
 
730
  $msg = '';
731
 
813
  switch ( $action ) {
814
  case 'render':
815
  $current_values = MLACore::mla_get_option( $key );
816
+ $search_connector = isset( $current_values['search_connector'] ) ? $current_values['search_connector'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_connector'];
817
+ $search_fields = isset( $current_values['search_fields'] ) ? $current_values['search_fields'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_fields'];
818
 
819
  $option_values = array (
820
  'and_checked' => ( 'AND' == $search_connector ) ? 'checked="checked"' : '',
838
 
839
  'terms_checked' => ( in_array( 'terms', $search_fields ) ) ? 'checked="checked"' : '',
840
  'Terms' => __( 'Terms', 'media-library-assistant' ),
841
+ 'help' => MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['help']
842
  );
843
 
844
  return MLAData::mla_parse_template( MLAOptions::$mla_option_templates['search-table'], $option_values );
845
  case 'update':
846
  case 'delete':
847
+ $search_connector = isset( $args['search_connector'] ) ? $args['search_connector'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_connector'];
848
+ $search_fields = isset( $args['search_fields'] ) ? $args['search_fields'] : MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS ]['std']['search_fields'];
849
 
850
  $msg = '';
851
 
1365
  /*
1366
  * Check for the addition of a new rule or field
1367
  */
1368
+ if ( MLACoreOptions::MLA_NEW_CUSTOM_FIELD === $the_key ) {
1369
  if ( empty( $new_key ) ) {
1370
  continue;
1371
  }
1379
  /* translators: 1: custom field name */
1380
  $message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
1381
  $any_setting_changed = true;
1382
+ } elseif ( MLACoreOptions::MLA_NEW_CUSTOM_RULE === $the_key ) {
1383
  if ( 'none' == $new_key ) {
1384
  continue;
1385
  }
1701
  'column_count' => 7,
1702
  'column_count_meta' => (7 - 2),
1703
  'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
1704
+ 'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
1705
  'field_name_options' => MLAOptions::_compose_custom_field_option_list( 'none', $current_values ),
1706
  'data_source_options' => MLAOptions::_compose_data_source_option_list( 'none' ),
1707
  'keep_selected' => '',
1745
  'column_count' => 7,
1746
  'column_count_meta' => (7 - 2),
1747
  'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
1748
+ 'index' => MLACoreOptions::MLA_NEW_CUSTOM_FIELD,
1749
  'field_name_size' => '24',
1750
  'data_source_options' => MLAOptions::_compose_data_source_option_list( 'none' ),
1751
  'keep_selected' => '',
1817
 
1818
  return $results . $messages;
1819
  case 'reset':
1820
+ $current_values = MLACoreOptions::$mla_option_definitions['custom_field_mapping']['std'];
1821
  $settings_changed = MLACore::mla_update_option( 'custom_field_mapping', $current_values );
1822
  if ( $settings_changed ) {
1823
  return __( 'Custom field mapping settings saved.', 'media-library-assistant' ) . "\r\n";
2417
  /*
2418
  * Field Title can change as a result of localization
2419
  */
2420
+ $new_value['name'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['standard'][ $new_key ]['name'];
2421
 
2422
  if ( $old_values['name'] != $new_value['name'] ) {
2423
  $any_setting_changed = true;
2625
  /*
2626
  * Check for the addition of a new field or new rule
2627
  */
2628
+ if ( MLACoreOptions::MLA_NEW_CUSTOM_FIELD === $the_key ) {
2629
  if ( empty( $new_key ) ) {
2630
  continue;
2631
  }
2639
  /* translators: 1: custom field name */
2640
  $message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
2641
  $any_setting_changed = true;
2642
+ } elseif ( MLACoreOptions::MLA_NEW_CUSTOM_RULE === $the_key ) {
2643
  if ( 'none' == $new_key ) {
2644
  continue;
2645
  }
2838
  'name_attr' => esc_attr( $row_value['name'] ),
2839
  'name' => esc_html( $row_value['name'] ),
2840
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( $row_value['iptc_value'] ),
2841
+ 'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
2842
  'exif_text' => esc_attr( $row_value['exif_value'] ),
2843
  'iptc_selected' => '',
2844
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
2892
  'name' => esc_html( $row_value->labels->name ),
2893
  'hierarchical' => (string) $row_value->hierarchical,
2894
  'iptc_field_options' => '',
2895
+ 'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
2896
  'exif_text' => '',
2897
  'iptc_selected' => '',
2898
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
3012
  'name_attr' => esc_attr( $current_value['name'] ),
3013
  'name' => esc_html( $current_value['name'] ),
3014
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( $current_value['iptc_value'] ),
3015
+ 'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
3016
  'exif_text' => esc_attr( $current_value['exif_value'] ),
3017
  'iptc_selected' => '',
3018
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
3104
  'column_count' => 5 ,
3105
  'column_count_meta' => (5 - 2),
3106
  'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
3107
+ 'index' => MLACoreOptions::MLA_NEW_CUSTOM_RULE,
3108
  'field_name_options' => MLAOptions::_compose_custom_field_option_list( 'none', $current_values['custom'] ),
3109
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( 'none' ),
3110
+ 'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
3111
  'exif_text' => '',
3112
  'iptc_selected' => 'selected="selected"',
3113
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
3150
  'column_count' => 5 ,
3151
  'column_count_meta' => (5 - 2),
3152
  'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
3153
+ 'index' => MLACoreOptions::MLA_NEW_CUSTOM_FIELD,
3154
  'field_name_size' => '24',
3155
  'iptc_field_options' => MLAOptions::_compose_iptc_option_list( 'none' ),
3156
+ 'exif_size' => MLACoreOptions::MLA_EXIF_SIZE,
3157
  'exif_text' => '',
3158
  'iptc_selected' => 'selected="selected"',
3159
  'IPTC' => __( 'IPTC', 'media-library-assistant' ),
3263
  case 'reset':
3264
  switch ( $key ) {
3265
  case 'iptc_exif_standard_mapping':
3266
+ $current_values['standard'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['standard'];
3267
  $settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
3268
  if ( $settings_changed ) {
3269
  /* translators: 1: field type */
3273
  return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
3274
  }
3275
  case 'iptc_exif_taxonomy_mapping':
3276
+ $current_values['taxonomy'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['taxonomy'];
3277
  $settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
3278
  if ( $settings_changed ) {
3279
  /* translators: 1: field type */
3283
  return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
3284
  }
3285
  case 'iptc_exif_custom_mapping':
3286
+ $current_values['custom'] = MLACoreOptions::$mla_option_definitions['iptc_exif_mapping']['std']['custom'];
3287
  $settings_changed = MLACore::mla_update_option( 'iptc_exif_mapping', $current_values );
3288
  if ( $settings_changed ) {
3289
  /* translators: 1: field type */
includes/class-mla-settings.php CHANGED
@@ -110,7 +110,7 @@ class MLASettings {
110
  * @return void
111
  */
112
  private static function _version_upgrade( ) {
113
- $current_version = MLACore::mla_get_option( MLACore::MLA_VERSION_OPTION );
114
 
115
  if ( version_compare( '.30', $current_version, '>' ) ) {
116
  /*
@@ -120,7 +120,7 @@ class MLASettings {
120
  $category_option = MLACore::mla_get_option( 'attachment_category' );
121
  $tag_option = MLACore::mla_get_option( 'attachment_tag' );
122
  if ( ! ( ( 'checked' == $category_option ) && ( 'checked' == $tag_option ) ) ) {
123
- $tax_option = MLACore::mla_get_option( MLACore::MLA_TAXONOMY_SUPPORT );
124
  if ( 'checked' != $category_option ) {
125
  if ( isset( $tax_option['tax_support']['attachment_category'] ) ) {
126
  unset( $tax_option['tax_support']['attachment_category'] );
@@ -133,7 +133,7 @@ class MLASettings {
133
  }
134
  }
135
 
136
- MLAOptions::mla_taxonomy_option_handler( 'update', 'taxonomy_support', MLACore::$mla_option_definitions['taxonomy_support'], $tax_option );
137
  } // one or both options unchecked
138
 
139
  MLACore::mla_delete_option( 'attachment_category' );
@@ -238,7 +238,7 @@ class MLASettings {
238
  MLACore::mla_update_option( 'iptc_exif_mapping', $option_value );
239
  } // version is less than 2.13
240
 
241
- MLACore::mla_update_option( MLACore::MLA_VERSION_OPTION, MLA::CURRENT_MLA_VERSION );
242
  }
243
 
244
  /**
@@ -249,6 +249,12 @@ class MLASettings {
249
  * @return void
250
  */
251
  public static function mla_activation_hook( ) {
 
 
 
 
 
 
252
  }
253
 
254
  /**
@@ -259,6 +265,22 @@ class MLASettings {
259
  * @return void
260
  */
261
  public static function mla_deactivation_hook( ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
  }
263
 
264
  /**
@@ -349,7 +371,7 @@ class MLASettings {
349
  }
350
 
351
  $mapping_variables = array(
352
- 'bulkChunkSize' => MLACore::mla_get_option( MLACore::MLA_BULK_CHUNK_SIZE ),
353
  'bulkWaiting' => __( 'Waiting', 'media-library-assistant' ),
354
  'bulkRunning' => __( 'Running', 'media-library-assistant' ),
355
  'bulkComplete' => __( 'Complete', 'media-library-assistant' ),
@@ -455,7 +477,7 @@ class MLASettings {
455
  }
456
 
457
  $tab = self::mla_get_options_tablist( $tab ) ? '-' . $tab : '-general';
458
- self::$current_page_hook = add_submenu_page( 'options-general.php', __( 'Media Library Assistant', 'media-library-assistant' ) . ' ' . __( 'Settings', 'media-library-assistant' ), __( 'Media Library Assistant', 'media-library-assistant' ), 'manage_options', MLACore::MLA_SETTINGS_SLUG . $tab, 'MLASettings::mla_render_settings_page' );
459
  add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_menu_options_action' );
460
  add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_help_tab_action' );
461
  add_filter( 'plugin_action_links', 'MLASettings::mla_add_plugin_settings_link_filter', 10, 2 );
@@ -519,7 +541,7 @@ class MLASettings {
519
  /*
520
  * Is this our page and the Views or Uploads tab?
521
  */
522
- if ( ! in_array( $screen->id, array( 'settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-view', 'settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-upload' ) ) ) {
523
  return;
524
  }
525
 
@@ -968,7 +990,7 @@ class MLASettings {
968
  */
969
  public static function mla_add_plugin_settings_link_filter( $links, $file ) {
970
  if ( $file == 'media-library-assistant/index.php' ) {
971
- $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=' . MLACore::MLA_SETTINGS_SLUG . '-general' ), __( 'Settings', 'media-library-assistant' ) );
972
  array_unshift( $links, $settings_link );
973
  }
974
 
@@ -1324,7 +1346,7 @@ class MLASettings {
1324
  $item_values = array(
1325
  'data-tab-id' => $key,
1326
  'nav-tab-active' => ( $active_tab == $key ) ? 'nav-tab-active' : '',
1327
- 'settings-page' => MLACore::MLA_SETTINGS_SLUG . '-' . $key,
1328
  'title' => $item['title']
1329
  );
1330
 
@@ -1405,8 +1427,8 @@ class MLASettings {
1405
  $shortcodes = array(
1406
  // array("name" => "shortcode", "description" => "This shortcode...")
1407
  // array( 'name' => 'mla_attachment_list', 'description' => __( 'renders a complete list of all attachments and references to them.', 'media-library-assistant' ) ),
1408
- array( 'name' => 'mla_gallery', 'description' => __( 'enhanced version of the WordPress [gallery] shortcode.', 'media-library-assistant' ) . sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLACore::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#mla_gallery' ), __( 'click here', 'media-library-assistant' ) ) ),
1409
- array( 'name' => 'mla_tag_cloud', 'description' => __( 'enhanced version of the WordPress Tag Cloud.', 'media-library-assistant' ) . sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLACore::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#mla_tag_cloud' ), __( 'click here', 'media-library-assistant' ) ) )
1410
  );
1411
 
1412
  $shortcode_list = '';
@@ -1436,44 +1458,44 @@ class MLASettings {
1436
 
1437
  uksort( $columns, 'strnatcasecmp' );
1438
  $options = array_merge( array('None' => 'none'), $columns );
1439
- $current = MLACore::mla_get_option( MLACore::MLA_DEFAULT_ORDERBY );
1440
- MLACore::$mla_option_definitions[MLACore::MLA_DEFAULT_ORDERBY]['options'] = array();
1441
- MLACore::$mla_option_definitions[MLACore::MLA_DEFAULT_ORDERBY]['texts'] = array();
1442
  $found_current = false;
1443
  foreach ($options as $key => $value ) {
1444
- MLACore::$mla_option_definitions[MLACore::MLA_DEFAULT_ORDERBY]['options'][] = $value;
1445
- MLACore::$mla_option_definitions[MLACore::MLA_DEFAULT_ORDERBY]['texts'][] = $key;
1446
  if ( $current == $value ) {
1447
  $found_current = true;
1448
  }
1449
  }
1450
 
1451
  if ( ! $found_current ) {
1452
- MLACore::mla_delete_option( MLACore::MLA_DEFAULT_ORDERBY );
1453
  }
1454
 
1455
  /*
1456
  * Validate the Media Manager sort order or revert to default
1457
  */
1458
  $options = array_merge( array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;' => 'default', 'None' => 'none'), $columns );
1459
- $current = MLACore::mla_get_option( MLACore::MLA_MEDIA_MODAL_ORDERBY );
1460
- MLACore::$mla_option_definitions[MLACore::MLA_MEDIA_MODAL_ORDERBY]['options'] = array();
1461
- MLACore::$mla_option_definitions[MLACore::MLA_MEDIA_MODAL_ORDERBY]['texts'] = array();
1462
  $found_current = false;
1463
  foreach ($options as $key => $value ) {
1464
- MLACore::$mla_option_definitions[MLACore::MLA_MEDIA_MODAL_ORDERBY]['options'][] = $value;
1465
- MLACore::$mla_option_definitions[MLACore::MLA_MEDIA_MODAL_ORDERBY]['texts'][] = $key;
1466
  if ( $current == $value ) {
1467
  $found_current = true;
1468
  }
1469
  }
1470
 
1471
  if ( ! $found_current ) {
1472
- MLACore::mla_delete_option( MLACore::MLA_MEDIA_MODAL_ORDERBY );
1473
  }
1474
 
1475
  $options_list = '';
1476
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
1477
  if ( 'general' == $value['tab'] ) {
1478
  $options_list .= self::mla_compose_option_row( $key, $value );
1479
  }
@@ -1717,12 +1739,12 @@ class MLASettings {
1717
  /*
1718
  * Check for disabled status
1719
  */
1720
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_ENABLE_POST_MIME_TYPES ) ) {
1721
  /*
1722
  * Fill in with any page-level options
1723
  */
1724
  $options_list = '';
1725
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
1726
  if ( 'view' == $value['tab'] ) {
1727
  $options_list .= self::mla_compose_option_row( $key, $value );
1728
  }
@@ -1767,7 +1789,7 @@ class MLASettings {
1767
  * Start with any page-level options
1768
  */
1769
  $options_list = '';
1770
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
1771
  if ( 'view' == $value['tab'] ) {
1772
  $options_list .= self::mla_compose_option_row( $key, $value );
1773
  }
@@ -2186,12 +2208,12 @@ class MLASettings {
2186
  /*
2187
  * Check for disabled status
2188
  */
2189
- if ( 'checked' != MLACore::mla_get_option( MLACore::MLA_ENABLE_UPLOAD_MIMES ) ) {
2190
  /*
2191
  * Fill in with any page-level options
2192
  */
2193
  $options_list = '';
2194
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
2195
  if ( 'upload' == $value['tab'] ) {
2196
  $options_list .= self::mla_compose_option_row( $key, $value );
2197
  }
@@ -2234,7 +2256,7 @@ class MLASettings {
2234
  * Start with any page-level options
2235
  */
2236
  $options_list = '';
2237
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
2238
  if ( 'upload' == $value['tab'] ) {
2239
  $options_list .= self::mla_compose_option_row( $key, $value );
2240
  }
@@ -2347,10 +2369,10 @@ class MLASettings {
2347
  /*
2348
  * Build default template selection lists; leave out the [mla_tag_cloud] templates
2349
  */
2350
- MLACore::$mla_option_definitions['default_style']['options'][] = 'none';
2351
- MLACore::$mla_option_definitions['default_style']['texts'][] = '&mdash; ' . __( 'None', 'media-library-assistant' ) . ' &mdash;';
2352
- MLACore::$mla_option_definitions['default_style']['options'][] = 'theme';
2353
- MLACore::$mla_option_definitions['default_style']['texts'][] = '&mdash; ' . __( 'Theme', 'media-library-assistant' ) . ' &mdash;';
2354
 
2355
  $templates = MLAOptions::mla_get_style_templates();
2356
  ksort($templates);
@@ -2359,8 +2381,8 @@ class MLASettings {
2359
  continue;
2360
  }
2361
 
2362
- MLACore::$mla_option_definitions['default_style']['options'][] = $key;
2363
- MLACore::$mla_option_definitions['default_style']['texts'][] = $key;
2364
  }
2365
 
2366
  $templates = MLAOptions::mla_get_markup_templates();
@@ -2370,8 +2392,8 @@ class MLASettings {
2370
  continue;
2371
  }
2372
 
2373
- MLACore::$mla_option_definitions['default_markup']['options'][] = $key;
2374
- MLACore::$mla_option_definitions['default_markup']['texts'][] = $key;
2375
  }
2376
 
2377
  /*
@@ -2390,14 +2412,14 @@ class MLASettings {
2390
  }
2391
 
2392
  if ( ! empty( $not_supported_warning ) ) {
2393
- MLACore::$mla_option_definitions['enable_mla_viewer']['help'] = '<strong>' . __( 'WARNING:', 'media-library-assistant' ) . __( ' MLA Viewer support may not be available', 'media-library-assistant' ) . ':</strong>' . $not_supported_warning;
2394
  }
2395
 
2396
  /*
2397
  * Start with any page-level options
2398
  */
2399
  $options_list = '';
2400
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
2401
  if ( 'mla_gallery' == $value['tab'] ) {
2402
  $options_list .= self::mla_compose_option_row( $key, $value );
2403
  }
@@ -2523,6 +2545,12 @@ class MLASettings {
2523
  'name_text' => $default,
2524
  'control_cells' => $control_cells,
2525
 
 
 
 
 
 
 
2526
  'Open' => __( 'Open', 'media-library-assistant' ),
2527
  'open_name' => "mla_markup_templates_open[{$default}]",
2528
  'open_id' => "mla_markup_templates_open_{$default}",
@@ -2574,39 +2602,45 @@ class MLASettings {
2574
 
2575
  $template_values = array (
2576
  'Name' => __( 'Name', 'media-library-assistant' ),
2577
- 'name_name' => 'mla_markup_templates_name[' . $slug . ']',
2578
- 'name_id' => 'mla_markup_templates_name_' . $slug,
2579
  'readonly' => '',
2580
  'name_text' => $slug,
2581
  'control_cells' => $control_cells,
2582
 
 
 
 
 
 
 
2583
  'Open' => __( 'Open', 'media-library-assistant' ),
2584
- 'open_name' => 'mla_markup_templates_open[' . $slug . ']',
2585
- 'open_id' => 'mla_markup_templates_open_' . $slug,
2586
- 'open_text' => esc_textarea( $value['open'] ),
2587
  'open_help' => __( 'Markup for the beginning of the gallery. List of parameters, e.g., [+selector+], on Documentation tab.', 'media-library-assistant' ),
2588
 
2589
  'Row' => __( 'Row', 'media-library-assistant' ),
2590
- 'row_open_name' => 'mla_markup_templates_row_open[' . $slug . ']',
2591
- 'row_open_id' => 'mla_markup_templates_row_open_' . $slug,
2592
- 'row_open_text' => esc_textarea( $value['row-open'] ),
2593
  'row_open_help' => __( 'Markup for the beginning of each row.', 'media-library-assistant' ),
2594
 
2595
  'Item' => __( 'Item', 'media-library-assistant' ),
2596
- 'item_name' => 'mla_markup_templates_item[' . $slug . ']',
2597
- 'item_id' => 'mla_markup_templates_item_' . $slug,
2598
- 'item_text' => esc_textarea( $value['item'] ),
2599
  'item_help' => __( 'Markup for each item/cell.', 'media-library-assistant' ),
2600
 
2601
  'Close' => __( 'Close', 'media-library-assistant' ),
2602
- 'row_close_name' => 'mla_markup_templates_row_close[' . $slug . ']',
2603
- 'row_close_id' => 'mla_markup_templates_row_close_' . $slug,
2604
- 'row_close_text' => esc_textarea( $value['row-close'] ),
2605
  'row_close_help' => __( 'Markup for the end of each row.', 'media-library-assistant' ),
2606
 
2607
- 'close_name' => 'mla_markup_templates_close[' . $slug . ']',
2608
- 'close_id' => 'mla_markup_templates_close_' . $slug,
2609
- 'close_text' => esc_textarea( $value['close'] ),
2610
  'close_help' => __( 'Markup for the end of the gallery.', 'media-library-assistant' )
2611
  );
2612
 
@@ -2630,6 +2664,12 @@ class MLASettings {
2630
  'name_text' => '',
2631
  'control_cells' => $control_cells,
2632
 
 
 
 
 
 
 
2633
  'Open' => __( 'Open', 'media-library-assistant' ),
2634
  'open_name' => 'mla_markup_templates_open[blank]',
2635
  'open_id' => 'mla_markup_templates_open_blank',
@@ -2795,7 +2835,7 @@ class MLASettings {
2795
  * Start with any page-level options
2796
  */
2797
  $options_list = '';
2798
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
2799
  if ( 'custom_field' == $value['tab'] ) {
2800
  $options_list .= self::mla_compose_option_row( $key, $value );
2801
  }
@@ -2806,7 +2846,7 @@ class MLASettings {
2806
  /*
2807
  * Add mapping options
2808
  */
2809
- $page_values['custom_options_list'] = MLAOptions::mla_custom_field_option_handler( 'render', 'custom_field_mapping', MLACore::$mla_option_definitions['custom_field_mapping'] );
2810
 
2811
  $page_content['body'] = MLAData::mla_parse_template( self::$page_template_array['custom-field-tab'], $page_values );
2812
  return $page_content;
@@ -2934,7 +2974,7 @@ class MLASettings {
2934
  * Start with any page-level options
2935
  */
2936
  $options_list = '';
2937
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
2938
  if ( 'iptc_exif' == $value['tab'] ) {
2939
  $options_list .= self::mla_compose_option_row( $key, $value );
2940
  }
@@ -2945,11 +2985,11 @@ class MLASettings {
2945
  /*
2946
  * Add mapping options
2947
  */
2948
- $page_values['standard_options_list'] = MLAOptions::mla_iptc_exif_option_handler( 'render', 'iptc_exif_standard_mapping', MLACore::$mla_option_definitions['iptc_exif_standard_mapping'] );
2949
 
2950
- $page_values['taxonomy_options_list'] = MLAOptions::mla_iptc_exif_option_handler( 'render', 'iptc_exif_taxonomy_mapping', MLACore::$mla_option_definitions['iptc_exif_taxonomy_mapping'] );
2951
 
2952
- $page_values['custom_options_list'] = MLAOptions::mla_iptc_exif_option_handler( 'render', 'iptc_exif_custom_mapping', MLACore::$mla_option_definitions['iptc_exif_custom_mapping'] );
2953
 
2954
  $page_content['body'] = MLAData::mla_parse_template( self::$page_template_array['iptc-exif-tab'], $page_values );
2955
  return $page_content;
@@ -2989,7 +3029,7 @@ class MLASettings {
2989
  private static function _save_debug_settings( ) {
2990
  $message_list = '';
2991
 
2992
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
2993
  if ( 'debug' == $value['tab'] ) {
2994
  $message_list .= self::mla_update_option_row( $key, $value );
2995
  } // view option
@@ -3055,7 +3095,7 @@ class MLASettings {
3055
  /*
3056
  * Find the appropriate error log file
3057
  */
3058
- $error_log_name = MLACore::mla_get_option( MLACore::MLA_DEBUG_FILE );
3059
  if ( empty( $error_log_name ) ) {
3060
  $error_log_name = ini_get( 'error_log' );
3061
  } else {
@@ -3102,7 +3142,7 @@ class MLASettings {
3102
  * Start with any page-level options
3103
  */
3104
  $options_list = '';
3105
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
3106
  if ( 'debug' == $value['tab'] ) {
3107
  $options_list .= self::mla_compose_option_row( $key, $value );
3108
  }
@@ -3111,17 +3151,17 @@ class MLASettings {
3111
  /*
3112
  * Gather Debug Settings
3113
  */
3114
- $display_limit = MLACore::mla_get_option( MLACore::MLA_DEBUG_DISPLAY_LIMIT );
3115
- $debug_file = MLACore::mla_get_option( MLACore::MLA_DEBUG_FILE );
3116
- $replace_php = MLACore::mla_get_option( MLACore::MLA_DEBUG_REPLACE_PHP_LOG );
3117
- $php_reporting = MLACore::mla_get_option( MLACore::MLA_DEBUG_REPLACE_PHP_REPORTING );
3118
- $mla_reporting = MLACore::mla_get_option( MLACore::MLA_DEBUG_REPLACE_LEVEL );
3119
 
3120
  if ( $error_log_exists ) {
3121
  /*
3122
  * Add debug content
3123
  */
3124
- $display_limit = absint( MLACore::mla_get_option( MLACore::MLA_DEBUG_DISPLAY_LIMIT ) );
3125
  $error_log_size = filesize( $error_log_name );
3126
 
3127
  if ( 0 < $display_limit ) {
@@ -3301,7 +3341,7 @@ class MLASettings {
3301
  /*
3302
  * Start with any page-level options
3303
  */
3304
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
3305
  if ( 'mla_gallery' == $value['tab'] ) {
3306
  $this_setting_changed = false;
3307
  $old_value = MLACore::mla_get_option( $key );
@@ -3426,14 +3466,17 @@ class MLASettings {
3426
  * Get the current markup contents for comparison
3427
  */
3428
  $old_templates = MLAOptions::mla_get_markup_templates();
 
3429
  $new_templates = array();
3430
  $new_names = $_REQUEST['mla_markup_templates_name'];
 
3431
  $new_values['open'] = stripslashes_deep( $_REQUEST['mla_markup_templates_open'] );
3432
  $new_values['row-open'] = stripslashes_deep( $_REQUEST['mla_markup_templates_row_open'] );
3433
  $new_values['item'] = stripslashes_deep( $_REQUEST['mla_markup_templates_item'] );
3434
  $new_values['row-close'] = stripslashes_deep( $_REQUEST['mla_markup_templates_row_close'] );
3435
  $new_values['close'] = stripslashes_deep( $_REQUEST['mla_markup_templates_close'] );
3436
  $new_deletes = isset( $_REQUEST['mla_markup_templates_delete'] ) ? $_REQUEST['mla_markup_templates_delete']: array();
 
3437
 
3438
  /*
3439
  * Build new markup template array, noting changes
@@ -3497,6 +3540,12 @@ class MLASettings {
3497
  } // name changed
3498
 
3499
  if ( 'blank' != $name ) {
 
 
 
 
 
 
3500
  if ( $new_values['open'][ $name ] != $old_templates[ $name ]['open'] ) {
3501
  /* translators: 1: template name */
3502
  $message_list .= '<br>' . sprintf( _x( 'Updating open markup for "%1$s".', 'message_list', 'media-library-assistant' ), $new_slug );
@@ -3528,6 +3577,7 @@ class MLASettings {
3528
  }
3529
  } // ! 'blank'
3530
 
 
3531
  $new_templates[ $new_slug ]['open'] = $new_values['open'][ $name ];
3532
  $new_templates[ $new_slug ]['row-open'] = $new_values['row-open'][ $name ];
3533
  $new_templates[ $new_slug ]['item'] = $new_values['item'][ $name ];
@@ -3576,7 +3626,7 @@ class MLASettings {
3576
  private static function _save_view_settings( ) {
3577
  $message_list = '';
3578
 
3579
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
3580
  if ( 'view' == $value['tab'] ) {
3581
  $message_list .= self::mla_update_option_row( $key, $value );
3582
  } // view option
@@ -3607,10 +3657,10 @@ class MLASettings {
3607
  private static function _save_upload_settings( ) {
3608
  $message_list = '';
3609
 
3610
- if ( ! isset( $_REQUEST[ MLA_OPTION_PREFIX . MLACore::MLA_ENABLE_UPLOAD_MIMES ] ) )
3611
- unset( $_REQUEST[ MLA_OPTION_PREFIX . MLACore::MLA_ENABLE_MLA_ICONS ] );
3612
 
3613
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
3614
  if ( 'upload' == $value['tab'] ) {
3615
  $message_list .= self::mla_update_option_row( $key, $value );
3616
  } // upload option
@@ -3647,11 +3697,11 @@ class MLASettings {
3647
  if ( NULL == $settings ) {
3648
  $source = 'custom_fields';
3649
  $settings = ( isset( $_REQUEST['custom_field_mapping'] ) ) ? stripslashes_deep( $_REQUEST['custom_field_mapping'] ) : array();
3650
- if ( isset( $settings[ MLACore::MLA_NEW_CUSTOM_FIELD ] ) ) {
3651
- unset( $settings[ MLACore::MLA_NEW_CUSTOM_FIELD ] );
3652
  }
3653
- if ( isset( $settings[ MLACore::MLA_NEW_CUSTOM_RULE ] ) ) {
3654
- unset( $settings[ MLACore::MLA_NEW_CUSTOM_RULE ] );
3655
  }
3656
  } else {
3657
  $source = 'custom_rule';
@@ -3753,7 +3803,7 @@ class MLASettings {
3753
  /*
3754
  * Start with any page-level options
3755
  */
3756
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
3757
  if ( 'custom_field' == $value['tab'] ) {
3758
  $option_messages .= self::mla_update_option_row( $key, $value );
3759
  }
@@ -3771,7 +3821,7 @@ class MLASettings {
3771
  // $message_list = $option_messages . '<br>';
3772
 
3773
  return array(
3774
- 'message' => $message_list . MLAOptions::mla_custom_field_option_handler( 'update', 'custom_field_mapping', MLACore::$mla_option_definitions['custom_field_mapping'], $new_values ),
3775
  'body' => ''
3776
  );
3777
  } // _save_custom_field_settings
@@ -3942,11 +3992,11 @@ class MLASettings {
3942
  if ( NULL == $settings ) {
3943
  $source = 'iptc_exif_custom';
3944
  $settings = ( isset( $_REQUEST['iptc_exif_mapping'] ) ) ? stripslashes_deep( $_REQUEST['iptc_exif_mapping'] ) : array();
3945
- if ( isset( $settings['custom'][ MLACore::MLA_NEW_CUSTOM_FIELD ] ) ) {
3946
- unset( $settings['custom'][ MLACore::MLA_NEW_CUSTOM_FIELD ] );
3947
  }
3948
- if ( isset( $settings['custom'][ MLACore::MLA_NEW_CUSTOM_RULE ] ) ) {
3949
- unset( $settings['custom'][ MLACore::MLA_NEW_CUSTOM_RULE ] );
3950
  }
3951
  } else {
3952
  $source = 'iptc_exif_custom_rule';
@@ -4024,7 +4074,7 @@ class MLASettings {
4024
  */
4025
  private static function _save_iptc_exif_custom_settings( $new_values ) {
4026
  return array(
4027
- 'message' => MLAOptions::mla_iptc_exif_option_handler( 'update', 'iptc_exif_custom_mapping', MLACore::$mla_option_definitions['iptc_exif_mapping'], $new_values ),
4028
  'body' => ''
4029
  );
4030
  } // _save_iptc_exif_custom_settings
@@ -4045,7 +4095,7 @@ class MLASettings {
4045
  /*
4046
  * Start with any page-level options
4047
  */
4048
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
4049
  if ( 'iptc_exif' == $value['tab'] ) {
4050
  $option_messages .= self::mla_update_option_row( $key, $value );
4051
  }
@@ -4062,7 +4112,7 @@ class MLASettings {
4062
  $new_values = ( isset( $_REQUEST['iptc_exif_mapping'] ) ) ? $_REQUEST['iptc_exif_mapping'] : array( 'standard' => array(), 'taxonomy' => array(), 'custom' => array() );
4063
 
4064
  return array(
4065
- 'message' => $message_list . MLAOptions::mla_iptc_exif_option_handler( 'update', 'iptc_exif_mapping', MLACore::$mla_option_definitions['iptc_exif_mapping'], $new_values ),
4066
  'body' => ''
4067
  );
4068
  } // _save_iptc_exif_settings
@@ -4079,36 +4129,36 @@ class MLASettings {
4079
  private static function _save_general_settings( ) {
4080
  $message_list = '';
4081
 
4082
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
4083
  if ( 'general' == $value['tab'] ) {
4084
  switch ( $key ) {
4085
- case MLACore::MLA_FEATURED_IN_TUNING:
4086
  MLACore::$process_featured_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4087
  break;
4088
- case MLACore::MLA_INSERTED_IN_TUNING:
4089
  MLACore::$process_inserted_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4090
  break;
4091
- case MLACore::MLA_GALLERY_IN_TUNING:
4092
  MLACore::$process_gallery_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4093
 
4094
  if ( 'refresh' == $_REQUEST[ MLA_OPTION_PREFIX . $key ] ) {
4095
- MLAQuery::mla_flush_mla_galleries( MLACore::MLA_GALLERY_IN_TUNING );
4096
  /* translators: 1: reference type, e.g., Gallery in */
4097
  $message_list .= "<br>" . sprintf( _x( '%1$s - references updated.', 'message_list', 'media-library-assistant' ), __( 'Gallery in', 'media-library-assistant' ) ) . "\r\n";
4098
  $_REQUEST[ MLA_OPTION_PREFIX . $key ] = 'cached';
4099
  }
4100
  break;
4101
- case MLACore::MLA_MLA_GALLERY_IN_TUNING:
4102
  MLACore::$process_mla_gallery_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4103
 
4104
  if ( 'refresh' == $_REQUEST[ MLA_OPTION_PREFIX . $key ] ) {
4105
- MLAQuery::mla_flush_mla_galleries( MLACore::MLA_MLA_GALLERY_IN_TUNING );
4106
  /* translators: 1: reference type, e.g., Gallery in */
4107
  $message_list .= "<br>" . sprintf( _x( '%1$s - references updated.', 'message_list', 'media-library-assistant' ), __( 'MLA Gallery in', 'media-library-assistant' ) ) . "\r\n";
4108
  $_REQUEST[ MLA_OPTION_PREFIX . $key ] = 'cached';
4109
  }
4110
  break;
4111
- case MLACore::MLA_TAXONOMY_SUPPORT:
4112
  /*
4113
  * Replace missing "checkbox" arguments with empty arrays,
4114
  * denoting that all of the boxes are unchecked.
@@ -4129,7 +4179,7 @@ class MLASettings {
4129
  $_REQUEST['tax_checked_on_top'] = array();
4130
  }
4131
  break;
4132
- case MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS:
4133
  /*
4134
  * Replace missing "checkbox" arguments with empty arrays,
4135
  * denoting that all of the boxes are unchecked.
@@ -4169,7 +4219,7 @@ class MLASettings {
4169
  private static function _reset_general_settings( ) {
4170
  $message_list = '';
4171
 
4172
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
4173
  if ( 'general' == $value['tab'] ) {
4174
  if ( 'custom' == $value['type'] && isset( $value['reset'] ) ) {
4175
  $message = call_user_func( array( 'MLAOptions', $value['reset'] ), 'reset', $key, $value, $_REQUEST );
@@ -4288,7 +4338,7 @@ class MLASettings {
4288
  /*
4289
  * Accumulate the settings into an array, then serialize it for writing to the file.
4290
  */
4291
- foreach ( MLACore::$mla_option_definitions as $key => $value ) {
4292
  $stored_value = MLACore::mla_get_option( $key, false, true );
4293
  if ( false !== $stored_value ) {
4294
  $settings[ $key ] = $stored_value;
110
  * @return void
111
  */
112
  private static function _version_upgrade( ) {
113
+ $current_version = MLACore::mla_get_option( MLACoreOptions::MLA_VERSION_OPTION );
114
 
115
  if ( version_compare( '.30', $current_version, '>' ) ) {
116
  /*
120
  $category_option = MLACore::mla_get_option( 'attachment_category' );
121
  $tag_option = MLACore::mla_get_option( 'attachment_tag' );
122
  if ( ! ( ( 'checked' == $category_option ) && ( 'checked' == $tag_option ) ) ) {
123
+ $tax_option = MLACore::mla_get_option( MLACoreOptions::MLA_TAXONOMY_SUPPORT );
124
  if ( 'checked' != $category_option ) {
125
  if ( isset( $tax_option['tax_support']['attachment_category'] ) ) {
126
  unset( $tax_option['tax_support']['attachment_category'] );
133
  }
134
  }
135
 
136
+ MLAOptions::mla_taxonomy_option_handler( 'update', 'taxonomy_support', MLACoreOptions::$mla_option_definitions['taxonomy_support'], $tax_option );
137
  } // one or both options unchecked
138
 
139
  MLACore::mla_delete_option( 'attachment_category' );
238
  MLACore::mla_update_option( 'iptc_exif_mapping', $option_value );
239
  } // version is less than 2.13
240
 
241
+ MLACore::mla_update_option( MLACoreOptions::MLA_VERSION_OPTION, MLA::CURRENT_MLA_VERSION );
242
  }
243
 
244
  /**
249
  * @return void
250
  */
251
  public static function mla_activation_hook( ) {
252
+ /*
253
+ * Disable the uninstall file while the plugin is active
254
+ */
255
+ if ( file_exists( MLA_PLUGIN_PATH . 'uninstall.php' ) ) {
256
+ @rename ( MLA_PLUGIN_PATH . 'uninstall.php' , MLA_PLUGIN_PATH . 'mla-uninstall.php' );
257
+ }
258
  }
259
 
260
  /**
265
  * @return void
266
  */
267
  public static function mla_deactivation_hook( ) {
268
+ $delete_option_settings = 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_DELETE_OPTION_SETTINGS );
269
+ $delete_option_backups = 'checked' === MLACore::mla_get_option( MLACoreOptions::MLA_DELETE_OPTION_BACKUPS );
270
+
271
+ /*
272
+ * We only need the uninstall file if one or both options are true,
273
+ * otherwise disable it to prevent a false "Delete files and data" warning
274
+ */
275
+ if ( $delete_option_backups || $delete_option_settings ) {
276
+ if ( file_exists( MLA_PLUGIN_PATH . 'mla-uninstall.php' ) ) {
277
+ @rename ( MLA_PLUGIN_PATH . 'mla-uninstall.php' , MLA_PLUGIN_PATH . 'uninstall.php' );
278
+ }
279
+ } else {
280
+ if ( file_exists( MLA_PLUGIN_PATH . 'uninstall.php' ) ) {
281
+ @rename ( MLA_PLUGIN_PATH . 'uninstall.php' , MLA_PLUGIN_PATH . 'mla-uninstall.php' );
282
+ }
283
+ }
284
  }
285
 
286
  /**
371
  }
372
 
373
  $mapping_variables = array(
374
+ 'bulkChunkSize' => MLACore::mla_get_option( MLACoreOptions::MLA_BULK_CHUNK_SIZE ),
375
  'bulkWaiting' => __( 'Waiting', 'media-library-assistant' ),
376
  'bulkRunning' => __( 'Running', 'media-library-assistant' ),
377
  'bulkComplete' => __( 'Complete', 'media-library-assistant' ),
477
  }
478
 
479
  $tab = self::mla_get_options_tablist( $tab ) ? '-' . $tab : '-general';
480
+ self::$current_page_hook = add_submenu_page( 'options-general.php', __( 'Media Library Assistant', 'media-library-assistant' ) . ' ' . __( 'Settings', 'media-library-assistant' ), __( 'Media Library Assistant', 'media-library-assistant' ), 'manage_options', MLACoreOptions::MLA_SETTINGS_SLUG . $tab, 'MLASettings::mla_render_settings_page' );
481
  add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_menu_options_action' );
482
  add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_help_tab_action' );
483
  add_filter( 'plugin_action_links', 'MLASettings::mla_add_plugin_settings_link_filter', 10, 2 );
541
  /*
542
  * Is this our page and the Views or Uploads tab?
543
  */
544
+ if ( ! in_array( $screen->id, array( 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-view', 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-upload' ) ) ) {
545
  return;
546
  }
547
 
990
  */
991
  public static function mla_add_plugin_settings_link_filter( $links, $file ) {
992
  if ( $file == 'media-library-assistant/index.php' ) {
993
+ $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=' . MLACoreOptions::MLA_SETTINGS_SLUG . '-general' ), __( 'Settings', 'media-library-assistant' ) );
994
  array_unshift( $links, $settings_link );
995
  }
996
 
1346
  $item_values = array(
1347
  'data-tab-id' => $key,
1348
  'nav-tab-active' => ( $active_tab == $key ) ? 'nav-tab-active' : '',
1349
+ 'settings-page' => MLACoreOptions::MLA_SETTINGS_SLUG . '-' . $key,
1350
  'title' => $item['title']
1351
  );
1352
 
1427
  $shortcodes = array(
1428
  // array("name" => "shortcode", "description" => "This shortcode...")
1429
  // array( 'name' => 'mla_attachment_list', 'description' => __( 'renders a complete list of all attachments and references to them.', 'media-library-assistant' ) ),
1430
+ array( 'name' => 'mla_gallery', 'description' => __( 'enhanced version of the WordPress [gallery] shortcode.', 'media-library-assistant' ) . sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLACoreOptions::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#mla_gallery' ), __( 'click here', 'media-library-assistant' ) ) ),
1431
+ array( 'name' => 'mla_tag_cloud', 'description' => __( 'enhanced version of the WordPress Tag Cloud.', 'media-library-assistant' ) . sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLACoreOptions::MLA_SETTINGS_SLUG . '-documentation&amp;mla_tab=documentation#mla_tag_cloud' ), __( 'click here', 'media-library-assistant' ) ) )
1432
  );
1433
 
1434
  $shortcode_list = '';
1458
 
1459
  uksort( $columns, 'strnatcasecmp' );
1460
  $options = array_merge( array('None' => 'none'), $columns );
1461
+ $current = MLACore::mla_get_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
1462
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_DEFAULT_ORDERBY ]['options'] = array();
1463
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_DEFAULT_ORDERBY ]['texts'] = array();
1464
  $found_current = false;
1465
  foreach ($options as $key => $value ) {
1466
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_DEFAULT_ORDERBY ]['options'][] = $value;
1467
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_DEFAULT_ORDERBY ]['texts'][] = $key;
1468
  if ( $current == $value ) {
1469
  $found_current = true;
1470
  }
1471
  }
1472
 
1473
  if ( ! $found_current ) {
1474
+ MLACore::mla_delete_option( MLACoreOptions::MLA_DEFAULT_ORDERBY );
1475
  }
1476
 
1477
  /*
1478
  * Validate the Media Manager sort order or revert to default
1479
  */
1480
  $options = array_merge( array('&mdash; ' . __( 'Media Manager Default', 'media-library-assistant' ) . ' &mdash;' => 'default', 'None' => 'none'), $columns );
1481
+ $current = MLACore::mla_get_option( MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY );
1482
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY ]['options'] = array();
1483
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY ]['texts'] = array();
1484
  $found_current = false;
1485
  foreach ($options as $key => $value ) {
1486
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY ]['options'][] = $value;
1487
+ MLACoreOptions::$mla_option_definitions[ MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY ]['texts'][] = $key;
1488
  if ( $current == $value ) {
1489
  $found_current = true;
1490
  }
1491
  }
1492
 
1493
  if ( ! $found_current ) {
1494
+ MLACore::mla_delete_option( MLACoreOptions::MLA_MEDIA_MODAL_ORDERBY );
1495
  }
1496
 
1497
  $options_list = '';
1498
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
1499
  if ( 'general' == $value['tab'] ) {
1500
  $options_list .= self::mla_compose_option_row( $key, $value );
1501
  }
1739
  /*
1740
  * Check for disabled status
1741
  */
1742
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_POST_MIME_TYPES ) ) {
1743
  /*
1744
  * Fill in with any page-level options
1745
  */
1746
  $options_list = '';
1747
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
1748
  if ( 'view' == $value['tab'] ) {
1749
  $options_list .= self::mla_compose_option_row( $key, $value );
1750
  }
1789
  * Start with any page-level options
1790
  */
1791
  $options_list = '';
1792
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
1793
  if ( 'view' == $value['tab'] ) {
1794
  $options_list .= self::mla_compose_option_row( $key, $value );
1795
  }
2208
  /*
2209
  * Check for disabled status
2210
  */
2211
+ if ( 'checked' != MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES ) ) {
2212
  /*
2213
  * Fill in with any page-level options
2214
  */
2215
  $options_list = '';
2216
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
2217
  if ( 'upload' == $value['tab'] ) {
2218
  $options_list .= self::mla_compose_option_row( $key, $value );
2219
  }
2256
  * Start with any page-level options
2257
  */
2258
  $options_list = '';
2259
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
2260
  if ( 'upload' == $value['tab'] ) {
2261
  $options_list .= self::mla_compose_option_row( $key, $value );
2262
  }
2369
  /*
2370
  * Build default template selection lists; leave out the [mla_tag_cloud] templates
2371
  */
2372
+ MLACoreOptions::$mla_option_definitions['default_style']['options'][] = 'none';
2373
+ MLACoreOptions::$mla_option_definitions['default_style']['texts'][] = '&mdash; ' . __( 'None', 'media-library-assistant' ) . ' &mdash;';
2374
+ MLACoreOptions::$mla_option_definitions['default_style']['options'][] = 'theme';
2375
+ MLACoreOptions::$mla_option_definitions['default_style']['texts'][] = '&mdash; ' . __( 'Theme', 'media-library-assistant' ) . ' &mdash;';
2376
 
2377
  $templates = MLAOptions::mla_get_style_templates();
2378
  ksort($templates);
2381
  continue;
2382
  }
2383
 
2384
+ MLACoreOptions::$mla_option_definitions['default_style']['options'][] = $key;
2385
+ MLACoreOptions::$mla_option_definitions['default_style']['texts'][] = $key;
2386
  }
2387
 
2388
  $templates = MLAOptions::mla_get_markup_templates();
2392
  continue;
2393
  }
2394
 
2395
+ MLACoreOptions::$mla_option_definitions['default_markup']['options'][] = $key;
2396
+ MLACoreOptions::$mla_option_definitions['default_markup']['texts'][] = $key;
2397
  }
2398
 
2399
  /*
2412
  }
2413
 
2414
  if ( ! empty( $not_supported_warning ) ) {
2415
+ MLACoreOptions::$mla_option_definitions['enable_mla_viewer']['help'] = '<strong>' . __( 'WARNING:', 'media-library-assistant' ) . __( ' MLA Viewer support may not be available', 'media-library-assistant' ) . ':</strong>' . $not_supported_warning;
2416
  }
2417
 
2418
  /*
2419
  * Start with any page-level options
2420
  */
2421
  $options_list = '';
2422
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
2423
  if ( 'mla_gallery' == $value['tab'] ) {
2424
  $options_list .= self::mla_compose_option_row( $key, $value );
2425
  }
2545
  'name_text' => $default,
2546
  'control_cells' => $control_cells,
2547
 
2548
+ 'Arguments' => __( 'Arguments', 'media-library-assistant' ),
2549
+ 'arguments_name' => "mla_markup_templates_arguments[{$default}]",
2550
+ 'arguments_id' => "mla_markup_templates_arguments_{$default}",
2551
+ 'arguments_text' => isset( $value['arguments'] ) ? esc_textarea( $value['arguments'] ) : '',
2552
+ 'arguments_help' => __( 'Default shortcode parameter values.', 'media-library-assistant' ),
2553
+
2554
  'Open' => __( 'Open', 'media-library-assistant' ),
2555
  'open_name' => "mla_markup_templates_open[{$default}]",
2556
  'open_id' => "mla_markup_templates_open_{$default}",
2602
 
2603
  $template_values = array (
2604
  'Name' => __( 'Name', 'media-library-assistant' ),
2605
+ 'name_name' => "mla_markup_templates_name[{$slug}]",
2606
+ 'name_id' => "mla_markup_templates_name_{$slug}",
2607
  'readonly' => '',
2608
  'name_text' => $slug,
2609
  'control_cells' => $control_cells,
2610
 
2611
+ 'Arguments' => __( 'Arguments', 'media-library-assistant' ),
2612
+ 'arguments_name' => "mla_markup_templates_arguments[{$slug}]",
2613
+ 'arguments_id' => "mla_markup_templates_arguments_{$slug}",
2614
+ 'arguments_text' => isset( $value['arguments'] ) ? esc_textarea( $value['arguments'] ) : '',
2615
+ 'arguments_help' => __( 'Default shortcode parameter values.', 'media-library-assistant' ),
2616
+
2617
  'Open' => __( 'Open', 'media-library-assistant' ),
2618
+ 'open_name' => "mla_markup_templates_open[{$slug}]",
2619
+ 'open_id' => "mla_markup_templates_open_{$slug}",
2620
+ 'open_text' => isset( $value['open'] ) ? esc_textarea( $value['open'] ) : '',
2621
  'open_help' => __( 'Markup for the beginning of the gallery. List of parameters, e.g., [+selector+], on Documentation tab.', 'media-library-assistant' ),
2622
 
2623
  'Row' => __( 'Row', 'media-library-assistant' ),
2624
+ 'row_open_name' => "mla_markup_templates_row_open[{$slug}]",
2625
+ 'row_open_id' => "mla_markup_templates_row_open_{$slug}",
2626
+ 'row_open_text' => isset( $value['row-open'] ) ? esc_textarea( $value['row-open'] ) : '',
2627
  'row_open_help' => __( 'Markup for the beginning of each row.', 'media-library-assistant' ),
2628
 
2629
  'Item' => __( 'Item', 'media-library-assistant' ),
2630
+ 'item_name' => "mla_markup_templates_item[{$slug}]",
2631
+ 'item_id' => "mla_markup_templates_item_{$slug}",
2632
+ 'item_text' => isset( $value['item'] ) ? esc_textarea( $value['item'] ) : '',
2633
  'item_help' => __( 'Markup for each item/cell.', 'media-library-assistant' ),
2634
 
2635
  'Close' => __( 'Close', 'media-library-assistant' ),
2636
+ 'row_close_name' => "mla_markup_templates_row_close[{$slug}]",
2637
+ 'row_close_id' => "mla_markup_templates_row_close_{$slug}",
2638
+ 'row_close_text' => isset( $value['row-close'] ) ? esc_textarea( $value['row-close'] ) : '',
2639
  'row_close_help' => __( 'Markup for the end of each row.', 'media-library-assistant' ),
2640
 
2641
+ 'close_name' => "mla_markup_templates_close[{$slug}]",
2642
+ 'close_id' => "mla_markup_templates_close_{$slug}",
2643
+ 'close_text' => isset( $value['close'] ) ? esc_textarea( $value['close'] ) : '',
2644
  'close_help' => __( 'Markup for the end of the gallery.', 'media-library-assistant' )
2645
  );
2646
 
2664
  'name_text' => '',
2665
  'control_cells' => $control_cells,
2666
 
2667
+ 'Arguments' => __( 'Arguments', 'media-library-assistant' ),
2668
+ 'arguments_name' => 'mla_markup_templates_arguments[blank]',
2669
+ 'arguments_id' => 'mla_markup_templates_arguments_blank',
2670
+ 'arguments_text' => '',
2671
+ 'arguments_help' => __( 'Default shortcode parameter values.', 'media-library-assistant' ),
2672
+
2673
  'Open' => __( 'Open', 'media-library-assistant' ),
2674
  'open_name' => 'mla_markup_templates_open[blank]',
2675
  'open_id' => 'mla_markup_templates_open_blank',
2835
  * Start with any page-level options
2836
  */
2837
  $options_list = '';
2838
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
2839
  if ( 'custom_field' == $value['tab'] ) {
2840
  $options_list .= self::mla_compose_option_row( $key, $value );
2841
  }
2846
  /*
2847
  * Add mapping options
2848
  */
2849
+ $page_values['custom_options_list'] = MLAOptions::mla_custom_field_option_handler( 'render', 'custom_field_mapping', MLACoreOptions::$mla_option_definitions['custom_field_mapping'] );
2850
 
2851
  $page_content['body'] = MLAData::mla_parse_template( self::$page_template_array['custom-field-tab'], $page_values );
2852
  return $page_content;
2974
  * Start with any page-level options
2975
  */
2976
  $options_list = '';
2977
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
2978
  if ( 'iptc_exif' == $value['tab'] ) {
2979
  $options_list .= self::mla_compose_option_row( $key, $value );
2980
  }
2985
  /*
2986
  * Add mapping options
2987
  */
2988
+ $page_values['standard_options_list'] = MLAOptions::mla_iptc_exif_option_handler( 'render', 'iptc_exif_standard_mapping', MLACoreOptions::$mla_option_definitions['iptc_exif_standard_mapping'] );
2989
 
2990
+ $page_values['taxonomy_options_list'] = MLAOptions::mla_iptc_exif_option_handler( 'render', 'iptc_exif_taxonomy_mapping', MLACoreOptions::$mla_option_definitions['iptc_exif_taxonomy_mapping'] );
2991
 
2992
+ $page_values['custom_options_list'] = MLAOptions::mla_iptc_exif_option_handler( 'render', 'iptc_exif_custom_mapping', MLACoreOptions::$mla_option_definitions['iptc_exif_custom_mapping'] );
2993
 
2994
  $page_content['body'] = MLAData::mla_parse_template( self::$page_template_array['iptc-exif-tab'], $page_values );
2995
  return $page_content;
3029
  private static function _save_debug_settings( ) {
3030
  $message_list = '';
3031
 
3032
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
3033
  if ( 'debug' == $value['tab'] ) {
3034
  $message_list .= self::mla_update_option_row( $key, $value );
3035
  } // view option
3095
  /*
3096
  * Find the appropriate error log file
3097
  */
3098
+ $error_log_name = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_FILE );
3099
  if ( empty( $error_log_name ) ) {
3100
  $error_log_name = ini_get( 'error_log' );
3101
  } else {
3142
  * Start with any page-level options
3143
  */
3144
  $options_list = '';
3145
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
3146
  if ( 'debug' == $value['tab'] ) {
3147
  $options_list .= self::mla_compose_option_row( $key, $value );
3148
  }
3151
  /*
3152
  * Gather Debug Settings
3153
  */
3154
+ $display_limit = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_DISPLAY_LIMIT );
3155
+ $debug_file = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_FILE );
3156
+ $replace_php = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_PHP_LOG );
3157
+ $php_reporting = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_PHP_REPORTING );
3158
+ $mla_reporting = MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL );
3159
 
3160
  if ( $error_log_exists ) {
3161
  /*
3162
  * Add debug content
3163
  */
3164
+ $display_limit = absint( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_DISPLAY_LIMIT ) );
3165
  $error_log_size = filesize( $error_log_name );
3166
 
3167
  if ( 0 < $display_limit ) {
3341
  /*
3342
  * Start with any page-level options
3343
  */
3344
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
3345
  if ( 'mla_gallery' == $value['tab'] ) {
3346
  $this_setting_changed = false;
3347
  $old_value = MLACore::mla_get_option( $key );
3466
  * Get the current markup contents for comparison
3467
  */
3468
  $old_templates = MLAOptions::mla_get_markup_templates();
3469
+ //error_log( __LINE__ . ' _save_gallery_settings $old_templates = ' . var_export( $old_templates, true ), 0 );
3470
  $new_templates = array();
3471
  $new_names = $_REQUEST['mla_markup_templates_name'];
3472
+ $new_values['arguments'] = stripslashes_deep( $_REQUEST['mla_markup_templates_arguments'] );
3473
  $new_values['open'] = stripslashes_deep( $_REQUEST['mla_markup_templates_open'] );
3474
  $new_values['row-open'] = stripslashes_deep( $_REQUEST['mla_markup_templates_row_open'] );
3475
  $new_values['item'] = stripslashes_deep( $_REQUEST['mla_markup_templates_item'] );
3476
  $new_values['row-close'] = stripslashes_deep( $_REQUEST['mla_markup_templates_row_close'] );
3477
  $new_values['close'] = stripslashes_deep( $_REQUEST['mla_markup_templates_close'] );
3478
  $new_deletes = isset( $_REQUEST['mla_markup_templates_delete'] ) ? $_REQUEST['mla_markup_templates_delete']: array();
3479
+ //error_log( __LINE__ . ' _save_gallery_settings $new_values = ' . var_export( $new_values, true ), 0 );
3480
 
3481
  /*
3482
  * Build new markup template array, noting changes
3540
  } // name changed
3541
 
3542
  if ( 'blank' != $name ) {
3543
+ if ( $new_values['arguments'][ $name ] != $old_templates[ $name ]['arguments'] ) {
3544
+ /* translators: 1: template name */
3545
+ $message_list .= '<br>' . sprintf( _x( 'Updating arguments markup for "%1$s".', 'message_list', 'media-library-assistant' ), $new_slug );
3546
+ $templates_changed = true;
3547
+ }
3548
+
3549
  if ( $new_values['open'][ $name ] != $old_templates[ $name ]['open'] ) {
3550
  /* translators: 1: template name */
3551
  $message_list .= '<br>' . sprintf( _x( 'Updating open markup for "%1$s".', 'message_list', 'media-library-assistant' ), $new_slug );
3577
  }
3578
  } // ! 'blank'
3579
 
3580
+ $new_templates[ $new_slug ]['arguments'] = $new_values['arguments'][ $name ];
3581
  $new_templates[ $new_slug ]['open'] = $new_values['open'][ $name ];
3582
  $new_templates[ $new_slug ]['row-open'] = $new_values['row-open'][ $name ];
3583
  $new_templates[ $new_slug ]['item'] = $new_values['item'][ $name ];
3626
  private static function _save_view_settings( ) {
3627
  $message_list = '';
3628
 
3629
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
3630
  if ( 'view' == $value['tab'] ) {
3631
  $message_list .= self::mla_update_option_row( $key, $value );
3632
  } // view option
3657
  private static function _save_upload_settings( ) {
3658
  $message_list = '';
3659
 
3660
+ if ( ! isset( $_REQUEST[ MLA_OPTION_PREFIX . MLACoreOptions::MLA_ENABLE_UPLOAD_MIMES ] ) )
3661
+ unset( $_REQUEST[ MLA_OPTION_PREFIX . MLACoreOptions::MLA_ENABLE_MLA_ICONS ] );
3662
 
3663
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
3664
  if ( 'upload' == $value['tab'] ) {
3665
  $message_list .= self::mla_update_option_row( $key, $value );
3666
  } // upload option
3697
  if ( NULL == $settings ) {
3698
  $source = 'custom_fields';
3699
  $settings = ( isset( $_REQUEST['custom_field_mapping'] ) ) ? stripslashes_deep( $_REQUEST['custom_field_mapping'] ) : array();
3700
+ if ( isset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
3701
+ unset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_FIELD ] );
3702
  }
3703
+ if ( isset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_RULE ] ) ) {
3704
+ unset( $settings[ MLACoreOptions::MLA_NEW_CUSTOM_RULE ] );
3705
  }
3706
  } else {
3707
  $source = 'custom_rule';
3803
  /*
3804
  * Start with any page-level options
3805
  */
3806
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
3807
  if ( 'custom_field' == $value['tab'] ) {
3808
  $option_messages .= self::mla_update_option_row( $key, $value );
3809
  }
3821
  // $message_list = $option_messages . '<br>';
3822
 
3823
  return array(
3824
+ 'message' => $message_list . MLAOptions::mla_custom_field_option_handler( 'update', 'custom_field_mapping', MLACoreOptions::$mla_option_definitions['custom_field_mapping'], $new_values ),
3825
  'body' => ''
3826
  );
3827
  } // _save_custom_field_settings
3992
  if ( NULL == $settings ) {
3993
  $source = 'iptc_exif_custom';
3994
  $settings = ( isset( $_REQUEST['iptc_exif_mapping'] ) ) ? stripslashes_deep( $_REQUEST['iptc_exif_mapping'] ) : array();
3995
+ if ( isset( $settings['custom'][ MLACoreOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
3996
+ unset( $settings['custom'][ MLACoreOptions::MLA_NEW_CUSTOM_FIELD ] );
3997
  }
3998
+ if ( isset( $settings['custom'][ MLACoreOptions::MLA_NEW_CUSTOM_RULE ] ) ) {
3999
+ unset( $settings['custom'][ MLACoreOptions::MLA_NEW_CUSTOM_RULE ] );
4000
  }
4001
  } else {
4002
  $source = 'iptc_exif_custom_rule';
4074
  */
4075
  private static function _save_iptc_exif_custom_settings( $new_values ) {
4076
  return array(
4077
+ 'message' => MLAOptions::mla_iptc_exif_option_handler( 'update', 'iptc_exif_custom_mapping', MLACoreOptions::$mla_option_definitions['iptc_exif_mapping'], $new_values ),
4078
  'body' => ''
4079
  );
4080
  } // _save_iptc_exif_custom_settings
4095
  /*
4096
  * Start with any page-level options
4097
  */
4098
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
4099
  if ( 'iptc_exif' == $value['tab'] ) {
4100
  $option_messages .= self::mla_update_option_row( $key, $value );
4101
  }
4112
  $new_values = ( isset( $_REQUEST['iptc_exif_mapping'] ) ) ? $_REQUEST['iptc_exif_mapping'] : array( 'standard' => array(), 'taxonomy' => array(), 'custom' => array() );
4113
 
4114
  return array(
4115
+ 'message' => $message_list . MLAOptions::mla_iptc_exif_option_handler( 'update', 'iptc_exif_mapping', MLACoreOptions::$mla_option_definitions['iptc_exif_mapping'], $new_values ),
4116
  'body' => ''
4117
  );
4118
  } // _save_iptc_exif_settings
4129
  private static function _save_general_settings( ) {
4130
  $message_list = '';
4131
 
4132
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
4133
  if ( 'general' == $value['tab'] ) {
4134
  switch ( $key ) {
4135
+ case MLACoreOptions::MLA_FEATURED_IN_TUNING:
4136
  MLACore::$process_featured_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4137
  break;
4138
+ case MLACoreOptions::MLA_INSERTED_IN_TUNING:
4139
  MLACore::$process_inserted_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4140
  break;
4141
+ case MLACoreOptions::MLA_GALLERY_IN_TUNING:
4142
  MLACore::$process_gallery_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4143
 
4144
  if ( 'refresh' == $_REQUEST[ MLA_OPTION_PREFIX . $key ] ) {
4145
+ MLAQuery::mla_flush_mla_galleries( MLACoreOptions::MLA_GALLERY_IN_TUNING );
4146
  /* translators: 1: reference type, e.g., Gallery in */
4147
  $message_list .= "<br>" . sprintf( _x( '%1$s - references updated.', 'message_list', 'media-library-assistant' ), __( 'Gallery in', 'media-library-assistant' ) ) . "\r\n";
4148
  $_REQUEST[ MLA_OPTION_PREFIX . $key ] = 'cached';
4149
  }
4150
  break;
4151
+ case MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING:
4152
  MLACore::$process_mla_gallery_in = ( 'disabled' != $_REQUEST[ MLA_OPTION_PREFIX . $key ] );
4153
 
4154
  if ( 'refresh' == $_REQUEST[ MLA_OPTION_PREFIX . $key ] ) {
4155
+ MLAQuery::mla_flush_mla_galleries( MLACoreOptions::MLA_MLA_GALLERY_IN_TUNING );
4156
  /* translators: 1: reference type, e.g., Gallery in */
4157
  $message_list .= "<br>" . sprintf( _x( '%1$s - references updated.', 'message_list', 'media-library-assistant' ), __( 'MLA Gallery in', 'media-library-assistant' ) ) . "\r\n";
4158
  $_REQUEST[ MLA_OPTION_PREFIX . $key ] = 'cached';
4159
  }
4160
  break;
4161
+ case MLACoreOptions::MLA_TAXONOMY_SUPPORT:
4162
  /*
4163
  * Replace missing "checkbox" arguments with empty arrays,
4164
  * denoting that all of the boxes are unchecked.
4179
  $_REQUEST['tax_checked_on_top'] = array();
4180
  }
4181
  break;
4182
+ case MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS:
4183
  /*
4184
  * Replace missing "checkbox" arguments with empty arrays,
4185
  * denoting that all of the boxes are unchecked.
4219
  private static function _reset_general_settings( ) {
4220
  $message_list = '';
4221
 
4222
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
4223
  if ( 'general' == $value['tab'] ) {
4224
  if ( 'custom' == $value['type'] && isset( $value['reset'] ) ) {
4225
  $message = call_user_func( array( 'MLAOptions', $value['reset'] ), 'reset', $key, $value, $_REQUEST );
4338
  /*
4339
  * Accumulate the settings into an array, then serialize it for writing to the file.
4340
  */
4341
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
4342
  $stored_value = MLACore::mla_get_option( $key, false, true );
4343
  if ( false !== $stored_value ) {
4344
  $settings[ $key ] = $stored_value;
includes/class-mla-shortcode-support.php CHANGED
@@ -51,10 +51,10 @@ class MLAShortcode_Support {
51
  * Load the default templates
52
  */
53
  if ( is_null( MLAShortcode_Support::$mla_custom_templates ) ) {
54
- MLACore::mla_debug_add( '<strong>mla_debug _load_option_templates()</strong> ' . __( 'error loading tpls/mla-option-templates.tpl', 'media-library-assistant' ) );
55
  return;
56
  } elseif ( !MLAShortcode_Support::$mla_custom_templates ) {
57
- MLACore::mla_debug_add( '<strong>mla_debug _load_option_templates()</strong> ' . __( 'tpls/mla-option-templates.tpl not found', 'media-library-assistant' ) );
58
  MLAShortcode_Support::$mla_custom_templates = NULL;
59
  return;
60
  }
@@ -72,11 +72,41 @@ class MLAShortcode_Support {
72
  $templates = MLACore::mla_get_option( 'markup_templates' );
73
  if ( is_array( $templates ) ) {
74
  foreach ( $templates as $name => $value ) {
75
- MLAShortcode_Support::$mla_custom_templates[ $name . '-open-markup' ] = $value['open'];
76
- MLAShortcode_Support::$mla_custom_templates[ $name . '-row-open-markup' ] = $value['row-open'];
77
- MLAShortcode_Support::$mla_custom_templates[ $name . '-item-markup' ] = $value['item'];
78
- MLAShortcode_Support::$mla_custom_templates[ $name . '-row-close-markup' ] = $value['row-close'];
79
- MLAShortcode_Support::$mla_custom_templates[ $name . '-close-markup' ] = $value['close'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  } // foreach $templates
81
  } // is_array
82
  }
@@ -93,7 +123,7 @@ class MLAShortcode_Support {
93
  */
94
  public static function mla_fetch_gallery_template( $key, $type = 'style' ) {
95
  if ( ! is_array( MLAShortcode_Support::$mla_custom_templates ) ) {
96
- MLACore::mla_debug_add( '<strong>mla_fetch_gallery_template()</strong> ' . __( 'no templates exist', 'media-library-assistant' ) );
97
  return NULL;
98
  }
99
 
@@ -101,7 +131,7 @@ class MLAShortcode_Support {
101
  if ( array_key_exists( $array_key, MLAShortcode_Support::$mla_custom_templates ) ) {
102
  return MLAShortcode_Support::$mla_custom_templates[ $array_key ];
103
  } else {
104
- MLACore::mla_debug_add( "<strong>mla_fetch_gallery_template( {$key}, {$type} )</strong> " . __( 'not found', 'media-library-assistant' ) );
105
  return false;
106
  }
107
  }
@@ -361,12 +391,12 @@ class MLAShortcode_Support {
361
  $attr = apply_filters( 'mla_gallery_raw_attributes', $attr );
362
 
363
  /*
364
- * The mla_paginate_current parameter can be changed to support multiple galleries per page.
 
365
  */
366
  if ( ! isset( $attr['mla_page_parameter'] ) ) {
367
  $attr['mla_page_parameter'] = self::$mla_get_shortcode_attachments_parameters['mla_page_parameter'];
368
  }
369
-
370
  $mla_page_parameter = $attr['mla_page_parameter'];
371
 
372
  /*
@@ -379,7 +409,7 @@ class MLAShortcode_Support {
379
  $attr[ $mla_page_parameter ] = $_REQUEST[ $mla_page_parameter ];
380
  }
381
  }
382
-
383
  /*
384
  * These are the parameters for gallery display
385
  */
@@ -491,7 +521,16 @@ class MLAShortcode_Support {
491
  );
492
 
493
  /*
494
- * Look for page-level and 'request:' substitution parameters,
 
 
 
 
 
 
 
 
 
495
  * which can be added to any input parameter
496
  */
497
  foreach ( $attr as $attr_key => $attr_value ) {
@@ -504,7 +543,8 @@ class MLAShortcode_Support {
504
  }
505
 
506
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
507
- $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, NULL, $page_values );
 
508
  $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
509
  }
510
 
@@ -516,6 +556,15 @@ class MLAShortcode_Support {
516
  $content = apply_filters( 'mla_gallery_initial_content', $content, $attr );
517
  $arguments = shortcode_atts( $default_arguments, $attr );
518
  $arguments = apply_filters( 'mla_gallery_arguments', $arguments );
 
 
 
 
 
 
 
 
 
519
 
520
  self::$mla_debug = ( ! empty( $arguments['mla_debug'] ) ) ? trim( strtolower( $arguments['mla_debug'] ) ) : false;
521
  if ( self::$mla_debug ) {
@@ -640,7 +689,7 @@ class MLAShortcode_Support {
640
 
641
  $size = $size_class = $arguments['size'];
642
  if ( 'icon' == strtolower( $size) ) {
643
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
644
  $size = array( 64, 64 );
645
  } else {
646
  $size = array( 60, 60 );
@@ -1113,7 +1162,6 @@ class MLAShortcode_Support {
1113
  $item_values['pagelink'] = sprintf( '<a href=\'%1$s\'>%2$s</a>', $attachment->guid, $attachment->post_title );
1114
  $item_values['filelink'] = sprintf( '<a href=\'%1$s\'>%2$s</a>', get_permalink( $attachment->ID ), $attachment->post_title );
1115
  }
1116
-
1117
  if ( in_array( $attachment->post_mime_type, array( 'image/svg+xml' ) ) ) {
1118
  $registered_dimensions = self::_registered_dimensions();
1119
  if ( isset( $registered_dimensions[ $size_class ] ) ) {
@@ -1610,6 +1658,25 @@ class MLAShortcode_Support {
1610
  public static function mla_tag_cloud( $attr ) {
1611
  global $post;
1612
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1613
  /*
1614
  * These are the default parameters for tag cloud display
1615
  */
@@ -1671,7 +1738,14 @@ class MLAShortcode_Support {
1671
  );
1672
 
1673
  /*
1674
- * The mla_paginate_current parameter can be changed to support multiple galleries per page.
 
 
 
 
 
 
 
1675
  */
1676
  if ( ! isset( $attr['mla_page_parameter'] ) ) {
1677
  $attr['mla_page_parameter'] = $defaults['mla_page_parameter'];
@@ -1720,7 +1794,16 @@ class MLAShortcode_Support {
1720
  );
1721
 
1722
  /*
1723
- * Look for 'request' substitution parameters,
 
 
 
 
 
 
 
 
 
1724
  * which can be added to any input parameter
1725
  */
1726
  foreach ( $attr as $attr_key => $attr_value ) {
@@ -1733,7 +1816,8 @@ class MLAShortcode_Support {
1733
  }
1734
 
1735
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
1736
- $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, NULL, $page_values );
 
1737
  $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
1738
  }
1739
 
@@ -1741,8 +1825,8 @@ class MLAShortcode_Support {
1741
  $arguments = shortcode_atts( $defaults, $attr );
1742
 
1743
  /*
1744
- * $mla_page_parameter, if non-default, doesn't make it through the shortcode_atts filter,
1745
- * so we handle it separately
1746
  */
1747
  if ( ! isset( $arguments[ $mla_page_parameter ] ) ) {
1748
  if ( isset( $attr[ $mla_page_parameter ] ) ) {
@@ -1800,8 +1884,17 @@ class MLAShortcode_Support {
1800
 
1801
  if ( NULL == $arguments['mla_markup'] ) {
1802
  $arguments['mla_markup'] = $default_markup;
 
 
 
1803
  $arguments['itemtag'] = 'dl';
 
 
 
1804
  $arguments['termtag'] = 'dt';
 
 
 
1805
  $arguments['captiontag'] = 'dd';
1806
  }
1807
  }
@@ -1851,7 +1944,7 @@ class MLAShortcode_Support {
1851
  * Invalid taxonomy names return WP_Error
1852
  */
1853
  if ( is_wp_error( $tags ) ) {
1854
- $cloud .= '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $tags->get_error_message() . '</strong>, ' . $tags->get_error_data( $tags->get_error_code() );
1855
 
1856
  if ( 'array' == $arguments['mla_output'] ) {
1857
  return array( $cloud );
@@ -1940,16 +2033,16 @@ class MLAShortcode_Support {
1940
  if ( is_wp_error( $link ) ) {
1941
  $cloud = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $link->get_error_message() . '</strong>, ' . $link->get_error_data( $link->get_error_code() );
1942
 
1943
- if ( 'array' == $arguments['mla_output'] ) {
1944
- return array( $cloud );
1945
- }
1946
-
1947
- if ( empty($arguments['echo']) ) {
1948
- return $cloud;
1949
- }
1950
-
1951
- echo $cloud;
1952
- return;
1953
  }
1954
 
1955
  if ( 'edit' == $arguments['link'] ) {
@@ -2087,7 +2180,7 @@ class MLAShortcode_Support {
2087
  $open_template = MLAShortcode_support::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
2088
  if ( false === $open_template ) {
2089
  $markup_values['mla_markup'] = $default_markup;
2090
- $open_template = MLAShortcode_support::mla_fetch_gallery_template( $default_markup, 'markup' );
2091
  }
2092
 
2093
  if ( empty( $open_template ) ) {
@@ -2244,7 +2337,7 @@ class MLAShortcode_Support {
2244
  $item_values['editlink_url'] = $tag->edit_link;
2245
  $item_values['termlink_url'] = $tag->term_link;
2246
  // Added in the code below:
2247
- // 'caption', 'link_attributes', 'current_item_class', 'rollover_text', 'link_style', 'link_text', 'editlink', 'termlink', 'thelink'
2248
 
2249
  if ( ! empty( $arguments['current_item'] ) ) {
2250
  if ( is_integer( $arguments['current_item'] ) ) {
@@ -2277,12 +2370,6 @@ class MLAShortcode_Support {
2277
  $item_values['caption'] = '';
2278
  }
2279
 
2280
- if ( ! empty( $arguments['mla_link_text'] ) ) {
2281
- $link_text = self::_process_shortcode_parameter( $arguments['mla_link_text'], $item_values );
2282
- } else {
2283
- $link_text = false;
2284
- }
2285
-
2286
  /*
2287
  * Apply the Display Content parameters.
2288
  */
@@ -2327,19 +2414,22 @@ class MLAShortcode_Support {
2327
  }
2328
 
2329
  /*
2330
- * Editlink, termlink and thelink
2331
  */
 
2332
  $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_style'], $item_values['link_text'] );
2333
  $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_style'], $item_values['link_text'] );
2334
 
2335
  if ( ! empty( $link_href ) ) {
2336
  $item_values['thelink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $link_href, $item_values['rollover_text'], $item_values['link_style'], $item_values['link_text'] );
 
 
2337
  } elseif ( 'edit' == $arguments['link'] ) {
2338
  $item_values['thelink'] = $item_values['editlink'];
2339
  } elseif ( 'view' == $arguments['link'] ) {
2340
  $item_values['thelink'] = $item_values['termlink'];
2341
  } elseif ( 'span' == $arguments['link'] ) {
2342
- $item_values['thelink'] = sprintf( '<span %1$sstyle="%2$s">%3$s</a>', $link_attributes, $item_values['link_style'], $item_values['link_text'] );
2343
  } else {
2344
  $item_values['thelink'] = $item_values['link_text'];
2345
  }
@@ -2411,8 +2501,6 @@ class MLAShortcode_Support {
2411
  } // switch format
2412
  }
2413
 
2414
- //$cloud = wp_generate_tag_cloud( $tags, $arguments );
2415
-
2416
  if ( 'array' == $arguments['mla_output'] || empty($arguments['echo']) ) {
2417
  return $cloud;
2418
  }
@@ -2455,133 +2543,916 @@ class MLAShortcode_Support {
2455
  }
2456
 
2457
  /**
2458
- * Computes image dimensions for scalable graphics, e.g., SVG
2459
  *
2460
- * @since 2.20
2461
  *
2462
- * @return array
 
 
 
 
 
 
 
 
 
2463
  */
2464
- private static function _registered_dimensions() {
2465
- global $_wp_additional_image_sizes;
2466
-
2467
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ENABLE_MLA_ICONS ) ) {
2468
- $sizes = array( 'icon' => array( 64, 64 ) );
2469
  } else {
2470
- $sizes = array( 'icon' => array( 60, 60 ) );
 
2471
  }
2472
 
2473
- foreach( get_intermediate_image_sizes() as $s ) {
2474
- $sizes[ $s ] = array( 0, 0 );
 
 
 
 
 
 
 
 
 
 
 
2475
 
2476
- if( in_array( $s, array( 'thumbnail', 'medium', 'large' ) ) ) {
2477
- $sizes[ $s ][0] = get_option( $s . '_size_w' );
2478
- $sizes[ $s ][1] = get_option( $s . '_size_h' );
2479
- } else {
2480
- if( isset( $_wp_additional_image_sizes ) && isset( $_wp_additional_image_sizes[ $s ] ) ) {
2481
- $sizes[ $s ] = array( $_wp_additional_image_sizes[ $s ]['width'], $_wp_additional_image_sizes[ $s ]['height'], );
2482
- }
2483
- }
2484
- }
2485
-
2486
- return $sizes;
2487
- }
2488
 
2489
- /**
2490
- * Handles brace/bracket escaping and parses template for a shortcode parameter
2491
- *
2492
- * @since 2.20
2493
- *
2494
- * @param string raw shortcode parameter, e.g., "text {+field+} {brackets} \\{braces\\}"
2495
- * @param string template substitution values, e.g., ('instance' => '1', ... )
2496
- *
2497
- * @return string parameter with brackets, braces, substitution parameters and templates processed
2498
- */
2499
- private static function _process_shortcode_parameter( $text, $markup_values ) {
2500
- $new_text = str_replace( '{', '[', str_replace( '}', ']', $text ) );
2501
- $new_text = str_replace( '\[', '{', str_replace( '\]', '}', $new_text ) );
2502
- return MLAData::mla_parse_template( $new_text, $markup_values );
2503
- }
2504
 
2505
- /**
2506
- * Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'
2507
- *
2508
- * @since 2.20
2509
- *
2510
- * @param array value(s) for mla_output_type parameter
2511
- * @param string template substitution values, e.g., ('instance' => '1', ... )
2512
- * @param string merged default and passed shortcode parameter values
2513
- * @param integer number of attachments in the gallery, without pagination
2514
- * @param string output text so far, may include debug values
2515
- *
2516
- * @return mixed false or string with HTML for pagination output types
2517
- */
2518
- private static function _paginate_links( $output_parameters, $markup_values, $arguments, $found_rows, $output = '' ) {
2519
- if ( 2 > $markup_values['last_page'] ) {
2520
- return '';
2521
- }
2522
 
2523
- $show_all = $prev_next = false;
 
 
2524
 
2525
- if ( isset ( $output_parameters[1] ) ) {
2526
- switch ( $output_parameters[1] ) {
2527
- case 'show_all':
2528
- $show_all = true;
2529
- break;
2530
- case 'prev_next':
2531
- $prev_next = true;
2532
  }
2533
- }
2534
 
2535
- $mla_page_parameter = $arguments['mla_page_parameter'];
2536
- $current_page = $markup_values['current_page'];
2537
- $last_page = $markup_values['last_page'];
2538
- $end_size = absint( $arguments['mla_end_size'] );
2539
- $mid_size = absint( $arguments['mla_mid_size'] );
2540
- $posts_per_page = $markup_values['posts_per_page'];
2541
 
2542
- $new_target = ( ! empty( $arguments['mla_target'] ) ) ? 'target="' . $arguments['mla_target'] . '" ' : '';
 
 
 
 
2543
 
2544
- /*
2545
- * these will add to the default classes
2546
- */
2547
- $new_class = ( ! empty( $arguments['mla_link_class'] ) ) ? ' ' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_class'], $markup_values ) ) : '';
 
 
 
2548
 
2549
- $new_attributes = ( ! empty( $arguments['mla_link_attributes'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_attributes'], $markup_values ) ) . ' ' : '';
 
2550
 
2551
- //$new_base = ( ! empty( $arguments['mla_link_href'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) ) : $markup_values['new_url'];
2552
- $new_base = ( ! empty( $arguments['mla_link_href'] ) ) ? self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) : $markup_values['new_url'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2553
 
2554
- /*
2555
- * Build the array of page links
2556
- */
2557
- $page_links = array();
2558
- $dots = false;
 
 
 
 
 
 
2559
 
2560
- if ( $prev_next && $current_page && 1 < $current_page ) {
2561
- $markup_values['new_page'] = $current_page - 1;
2562
- $new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
2563
- $new_url = remove_query_arg( $mla_page_parameter, $new_base );
2564
- $new_url = add_query_arg( array( $mla_page_parameter => $current_page - 1 ), $new_url );
2565
- $prev_text = ( ! empty( $arguments['mla_prev_text'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_prev_text'], $markup_values ) ) : '&laquo; ' . __( 'Previous', 'media-library-assistant' );
2566
- $page_links[] = sprintf( '<a %1$sclass="prev page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
2567
- /* %1$s */ $new_target,
2568
- /* %2$s */ $new_class,
2569
- /* %3$s */ $new_attributes,
2570
- /* %4$s */ $new_title,
2571
- /* %5$s */ $new_url,
2572
- /* %6$s */ $prev_text );
2573
- }
2574
 
2575
- for ( $new_page = 1; $new_page <= $last_page; $new_page++ ) {
2576
- $new_page_display = number_format_i18n( $new_page );
2577
- $markup_values['new_page'] = $new_page;
2578
- $new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
2579
 
2580
- if ( $new_page == $current_page ) {
2581
- // build current page span
2582
- $page_links[] = sprintf( '<span class="page-numbers current%1$s">%2$s</span>',
2583
- /* %1$s */ $new_class,
2584
- /* %2$s */ $new_page_display );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2585
  $dots = true;
2586
  } else {
2587
  if ( $show_all || ( $new_page <= $end_size || ( $current_page && $new_page >= $current_page - $mid_size && $new_page <= $current_page + $mid_size ) || $new_page > $last_page - $end_size ) ) {
@@ -3774,9 +4645,11 @@ class MLAShortcode_Support {
3774
  * Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
3775
  * relevanssi_prevent_default_request( $request, $query )
3776
  * apply_filters('relevanssi_admin_search_ok', $admin_search_ok, $query );
 
3777
  */
3778
  if ( function_exists( 'relevanssi_prevent_default_request' ) ) {
3779
- add_filter( 'relevanssi_admin_search_ok', 'MLAData::mla_query_relevanssi_admin_search_ok_filter' );
 
3780
  }
3781
 
3782
  if ( class_exists( 'MLA_Polylang' ) ) {
@@ -3806,7 +4679,8 @@ class MLAShortcode_Support {
3806
  }
3807
 
3808
  if ( function_exists( 'relevanssi_prevent_default_request' ) ) {
3809
- remove_filter( 'relevanssi_admin_search_ok', 'MLAData::mla_query_relevanssi_admin_search_ok_filter' );
 
3810
  }
3811
 
3812
  remove_filter( 'posts_join', 'MLAShortcode_Support::mla_shortcode_query_posts_join_filter', 0x7FFFFFFF );
@@ -3977,7 +4851,7 @@ class MLAShortcode_Support {
3977
  }
3978
 
3979
  /**
3980
- * Data selection parameters for [mla_tag_cloud]
3981
  *
3982
  * @since 2.20
3983
  *
@@ -4054,6 +4928,9 @@ class MLAShortcode_Support {
4054
  *
4055
  * offset - number of term objects to skip, for pagination. Default 0.
4056
  *
 
 
 
4057
  * @since 2.20
4058
  *
4059
  * @param array taxonomies to search and query parameters
@@ -4380,10 +5257,299 @@ class MLAShortcode_Support {
4380
 
4381
  $tags['found_rows'] = $found_rows;
4382
  $tags = apply_filters( 'mla_get_terms_query_results', $tags );
 
4383
 
4384
  return $tags;
4385
  } // mla_get_terms
4386
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4387
  /**
4388
  * Add count of children to parent count.
4389
  *
51
  * Load the default templates
52
  */
53
  if ( is_null( MLAShortcode_Support::$mla_custom_templates ) ) {
54
+ MLACore::mla_debug_add( '<strong>mla_debug _load_option_templates()</strong> ' . __( 'error loading tpls/mla-option-templates.tpl', 'media-library-assistant' ), MLACore::MLA_DEBUG_CATEGORY_ANY );
55
  return;
56
  } elseif ( !MLAShortcode_Support::$mla_custom_templates ) {
57
+ MLACore::mla_debug_add( '<strong>mla_debug _load_option_templates()</strong> ' . __( 'tpls/mla-option-templates.tpl not found', 'media-library-assistant' ), MLACore::MLA_DEBUG_CATEGORY_ANY );
58
  MLAShortcode_Support::$mla_custom_templates = NULL;
59
  return;
60
  }
72
  $templates = MLACore::mla_get_option( 'markup_templates' );
73
  if ( is_array( $templates ) ) {
74
  foreach ( $templates as $name => $value ) {
75
+ if ( isset( $value['arguments'] ) ) {
76
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-arguments-markup' ] = $value['arguments'];
77
+ } else {
78
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-arguments-markup' ] = false;
79
+ }
80
+
81
+ if ( isset( $value['open'] ) ) {
82
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-open-markup' ] = $value['open'];
83
+ } else {
84
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-open-markup' ] = false;
85
+ }
86
+
87
+ if ( isset( $value['row-open'] ) ) {
88
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-row-open-markup' ] = $value['row-open'];
89
+ } else {
90
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-row-open-markup' ] = false;
91
+ }
92
+
93
+ if ( isset( $value['item'] ) ) {
94
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-item-markup' ] = $value['item'];
95
+ } else {
96
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-item-markup' ] = false;
97
+ }
98
+
99
+ if ( isset( $value['row-close'] ) ) {
100
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-row-close-markup' ] = $value['row-close'];
101
+ } else {
102
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-row-close-markup' ] = false;
103
+ }
104
+
105
+ if ( isset( $value['close'] ) ) {
106
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-close-markup' ] = $value['close'];
107
+ } else {
108
+ MLAShortcode_Support::$mla_custom_templates[ $name . '-close-markup' ] = false;
109
+ }
110
  } // foreach $templates
111
  } // is_array
112
  }
123
  */
124
  public static function mla_fetch_gallery_template( $key, $type = 'style' ) {
125
  if ( ! is_array( MLAShortcode_Support::$mla_custom_templates ) ) {
126
+ MLACore::mla_debug_add( '<strong>mla_fetch_gallery_template()</strong> ' . __( 'no templates exist', 'media-library-assistant' ), MLACore::MLA_DEBUG_CATEGORY_ANY );
127
  return NULL;
128
  }
129
 
131
  if ( array_key_exists( $array_key, MLAShortcode_Support::$mla_custom_templates ) ) {
132
  return MLAShortcode_Support::$mla_custom_templates[ $array_key ];
133
  } else {
134
+ MLACore::mla_debug_add( "<strong>mla_fetch_gallery_template( {$key}, {$type} )</strong> " . __( 'not found', 'media-library-assistant' ), MLACore::MLA_DEBUG_CATEGORY_ANY );
135
  return false;
136
  }
137
  }
391
  $attr = apply_filters( 'mla_gallery_raw_attributes', $attr );
392
 
393
  /*
394
+ * The mla_paginate_current parameter can be changed to support
395
+ * multiple galleries per page.
396
  */
397
  if ( ! isset( $attr['mla_page_parameter'] ) ) {
398
  $attr['mla_page_parameter'] = self::$mla_get_shortcode_attachments_parameters['mla_page_parameter'];
399
  }
 
400
  $mla_page_parameter = $attr['mla_page_parameter'];
401
 
402
  /*
409
  $attr[ $mla_page_parameter ] = $_REQUEST[ $mla_page_parameter ];
410
  }
411
  }
412
+
413
  /*
414
  * These are the parameters for gallery display
415
  */
521
  );
522
 
523
  /*
524
+ * Apply default arguments set in the markup template
525
+ */
526
+ $template = isset( $attr['mla_markup'] ) ? $attr['mla_markup'] : $mla_arguments['mla_markup'];
527
+ $arguments = self::mla_fetch_gallery_template( $template . '-arguments', 'markup' );
528
+ if ( !empty( $arguments ) ) {
529
+ $attr = wp_parse_args( $attr, self::_validate_attributes( array(), $arguments ) );
530
+ }
531
+
532
+ /*
533
+ * Look for page-level, 'request:' and 'query:' substitution parameters,
534
  * which can be added to any input parameter
535
  */
536
  foreach ( $attr as $attr_key => $attr_value ) {
543
  }
544
 
545
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
546
+ // $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, NULL, $page_values );
547
+ $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, $attr, $page_values );
548
  $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
549
  }
550
 
556
  $content = apply_filters( 'mla_gallery_initial_content', $content, $attr );
557
  $arguments = shortcode_atts( $default_arguments, $attr );
558
  $arguments = apply_filters( 'mla_gallery_arguments', $arguments );
559
+
560
+ /*
561
+ * Look for "no effect" alternate gallery shortcode to support plugins such as Justified Image Grid
562
+ */
563
+ if ( is_string( $arguments['mla_alt_shortcode'] ) && ( 'mla_gallery' == $arguments['mla_alt_shortcode'] ) ) {
564
+ $arguments['mla_alt_shortcode'] = NULL;
565
+ $arguments['mla_alt_ids_name'] = 'ids';
566
+ $arguments['mla_alt_ids_value'] = NULL;
567
+ }
568
 
569
  self::$mla_debug = ( ! empty( $arguments['mla_debug'] ) ) ? trim( strtolower( $arguments['mla_debug'] ) ) : false;
570
  if ( self::$mla_debug ) {
689
 
690
  $size = $size_class = $arguments['size'];
691
  if ( 'icon' == strtolower( $size) ) {
692
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
693
  $size = array( 64, 64 );
694
  } else {
695
  $size = array( 60, 60 );
1162
  $item_values['pagelink'] = sprintf( '<a href=\'%1$s\'>%2$s</a>', $attachment->guid, $attachment->post_title );
1163
  $item_values['filelink'] = sprintf( '<a href=\'%1$s\'>%2$s</a>', get_permalink( $attachment->ID ), $attachment->post_title );
1164
  }
 
1165
  if ( in_array( $attachment->post_mime_type, array( 'image/svg+xml' ) ) ) {
1166
  $registered_dimensions = self::_registered_dimensions();
1167
  if ( isset( $registered_dimensions[ $size_class ] ) ) {
1658
  public static function mla_tag_cloud( $attr ) {
1659
  global $post;
1660
 
1661
+ /*
1662
+ * Some do_shortcode callers may not have a specific post in mind
1663
+ */
1664
+ if ( ! is_object( $post ) ) {
1665
+ $post = (object) array(
1666
+ 'ID' => 0,
1667
+ 'post_author' => '0',
1668
+ 'post_date' => '',
1669
+ 'post_content' => '',
1670
+ 'post_title' => '',
1671
+ 'post_excerpt' => '',
1672
+ 'post_status' => '',
1673
+ 'post_name' => '',
1674
+ 'post_modified' => '',
1675
+ 'guid' => '',
1676
+ 'post_type' => '',
1677
+ );
1678
+ }
1679
+
1680
  /*
1681
  * These are the default parameters for tag cloud display
1682
  */
1738
  );
1739
 
1740
  /*
1741
+ * Filter the attributes before $mla_page_parameter and "request:" prefix processing.
1742
+ */
1743
+
1744
+ $attr = apply_filters( 'mla_tag_cloud_raw_attributes', $attr );
1745
+
1746
+ /*
1747
+ * The mla_paginate_current parameter can be changed to support
1748
+ * multiple clouds per page.
1749
  */
1750
  if ( ! isset( $attr['mla_page_parameter'] ) ) {
1751
  $attr['mla_page_parameter'] = $defaults['mla_page_parameter'];
1794
  );
1795
 
1796
  /*
1797
+ * Apply default arguments set in the markup template
1798
+ */
1799
+ $template = isset( $attr['mla_markup'] ) ? $attr['mla_markup'] : $mla_arguments['mla_markup'];
1800
+ $arguments = self::mla_fetch_gallery_template( $template . '-arguments', 'markup' );
1801
+ if ( !empty( $arguments ) ) {
1802
+ $attr = wp_parse_args( $attr, self::_validate_attributes( array(), $arguments ) );
1803
+ }
1804
+
1805
+ /*
1806
+ * Look for page-level, 'request:' and 'query:' substitution parameters,
1807
  * which can be added to any input parameter
1808
  */
1809
  foreach ( $attr as $attr_key => $attr_value ) {
1816
  }
1817
 
1818
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
1819
+ // $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, NULL, $page_values );
1820
+ $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, $attr, $page_values );
1821
  $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
1822
  }
1823
 
1825
  $arguments = shortcode_atts( $defaults, $attr );
1826
 
1827
  /*
1828
+ * $mla_page_parameter, if non-default, doesn't make it through the shortcode_atts
1829
+ * filter, so we handle it separately
1830
  */
1831
  if ( ! isset( $arguments[ $mla_page_parameter ] ) ) {
1832
  if ( isset( $attr[ $mla_page_parameter ] ) ) {
1884
 
1885
  if ( NULL == $arguments['mla_markup'] ) {
1886
  $arguments['mla_markup'] = $default_markup;
1887
+ }
1888
+
1889
+ if ( empty( $attr['itemtag'] ) ) {
1890
  $arguments['itemtag'] = 'dl';
1891
+ }
1892
+
1893
+ if ( empty( $attr['termtag'] ) ) {
1894
  $arguments['termtag'] = 'dt';
1895
+ }
1896
+
1897
+ if ( empty( $attr['captiontag'] ) ) {
1898
  $arguments['captiontag'] = 'dd';
1899
  }
1900
  }
1944
  * Invalid taxonomy names return WP_Error
1945
  */
1946
  if ( is_wp_error( $tags ) ) {
1947
+ $cloud = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $tags->get_error_message() . '</strong>, ' . $tags->get_error_data( $tags->get_error_code() );
1948
 
1949
  if ( 'array' == $arguments['mla_output'] ) {
1950
  return array( $cloud );
2033
  if ( is_wp_error( $link ) ) {
2034
  $cloud = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $link->get_error_message() . '</strong>, ' . $link->get_error_data( $link->get_error_code() );
2035
 
2036
+ if ( 'array' == $arguments['mla_output'] ) {
2037
+ return array( $cloud );
2038
+ }
2039
+
2040
+ if ( empty($arguments['echo']) ) {
2041
+ return $cloud;
2042
+ }
2043
+
2044
+ echo $cloud;
2045
+ return;
2046
  }
2047
 
2048
  if ( 'edit' == $arguments['link'] ) {
2180
  $open_template = MLAShortcode_support::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
2181
  if ( false === $open_template ) {
2182
  $markup_values['mla_markup'] = $default_markup;
2183
+ $open_template = MLAShortcode_support::mla_fetch_gallery_template( $default_markup . '-open', 'markup' );
2184
  }
2185
 
2186
  if ( empty( $open_template ) ) {
2337
  $item_values['editlink_url'] = $tag->edit_link;
2338
  $item_values['termlink_url'] = $tag->term_link;
2339
  // Added in the code below:
2340
+ // 'caption', 'link_attributes', 'current_item_class', 'rollover_text', 'link_style', 'link_text', 'currentlink', 'editlink', 'termlink', 'thelink'
2341
 
2342
  if ( ! empty( $arguments['current_item'] ) ) {
2343
  if ( is_integer( $arguments['current_item'] ) ) {
2370
  $item_values['caption'] = '';
2371
  }
2372
 
 
 
 
 
 
 
2373
  /*
2374
  * Apply the Display Content parameters.
2375
  */
2414
  }
2415
 
2416
  /*
2417
+ * Currentlink, editlink, termlink and thelink
2418
  */
2419
+ $item_values['currentlink'] = sprintf( '<a %1$shref="%2$s?current_item=%3$d" title="%4$s" style="%5$s">%6$s</a>', $link_attributes, $item_values['page_url'], $item_values['term_id'], $item_values['rollover_text'], $item_values['link_style'], $item_values['link_text'] );
2420
  $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_style'], $item_values['link_text'] );
2421
  $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_style'], $item_values['link_text'] );
2422
 
2423
  if ( ! empty( $link_href ) ) {
2424
  $item_values['thelink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $link_href, $item_values['rollover_text'], $item_values['link_style'], $item_values['link_text'] );
2425
+ } elseif ( 'current' == $arguments['link'] ) {
2426
+ $item_values['thelink'] = $item_values['currentlink'];
2427
  } elseif ( 'edit' == $arguments['link'] ) {
2428
  $item_values['thelink'] = $item_values['editlink'];
2429
  } elseif ( 'view' == $arguments['link'] ) {
2430
  $item_values['thelink'] = $item_values['termlink'];
2431
  } elseif ( 'span' == $arguments['link'] ) {
2432
+ $item_values['thelink'] = sprintf( '<span %1$sstyle="%2$s">%3$s</span>', $link_attributes, $item_values['link_style'], $item_values['link_text'] );
2433
  } else {
2434
  $item_values['thelink'] = $item_values['link_text'];
2435
  }
2501
  } // switch format
2502
  }
2503
 
 
 
2504
  if ( 'array' == $arguments['mla_output'] || empty($arguments['echo']) ) {
2505
  return $cloud;
2506
  }
2543
  }
2544
 
2545
  /**
2546
+ * Compose one level of an mla_term_list
2547
  *
2548
+ * Adds shortcode output text and term-specific links to arrays passed by reference.
2549
  *
2550
+ * @since 2.25
2551
+ *
2552
+ * @param string $list Shortcode output text, by reference
2553
+ * @param array $links Term-specific links for flat/array output, by reference
2554
+ * @param array $terms Term objects, by reference
2555
+ * @param array $markup_values Style and list-level substitution parameters, by reference
2556
+ * @param array $arguments Shortcode parameters, including defaults, by reference
2557
+ * @param array $attr Shortcode parameters, explicit, by reference
2558
+ *
2559
+ * @return void Appends to &$list, &$links
2560
  */
2561
+ public static function _compose_term_list( &$list, &$links, &$terms, &$markup_values, &$arguments, &$attr ) {
2562
+ $term = current( $terms );
2563
+ if ( $term->parent ) {
2564
+ $markup_values['itemtag_class'] = 'class="term-list term-list-taxonomy-' . $term->taxonomy . ' children" ';
2565
+ $markup_values['itemtag_id'] = 'id="' . $markup_values['selector'] . '-' . $term->parent . '" ';
2566
  } else {
2567
+ $markup_values['itemtag_class'] = 'class="term-list term-list-taxonomy-' . $term->taxonomy . '" ';
2568
+ $markup_values['itemtag_id'] = 'id="' . $markup_values['selector'] . '" ';
2569
  }
2570
 
2571
+ /*
2572
+ * These are the default parameters for term list display
2573
+ */
2574
+ $mla_item_specific_arguments = array(
2575
+ 'mla_link_attributes' => '',
2576
+ 'mla_link_class' => '',
2577
+ // 'mla_link_style' => '',
2578
+ 'mla_link_href' => '',
2579
+ 'mla_link_text' => '',
2580
+ 'mla_nolink_text' => '',
2581
+ 'mla_rollover_text' => '',
2582
+ 'mla_caption' => ''
2583
+ );
2584
 
2585
+ /*
2586
+ * Determine output type and templates
2587
+ */
2588
+ $output_parameters = array_map( 'strtolower', array_map( 'trim', explode( ',', $arguments['mla_output'] ) ) );
 
 
 
 
 
 
 
 
2589
 
2590
+ $is_list = 'list' == $output_parameters[0];
2591
+ $is_dropdown = 'dropdown' == $output_parameters[0];
2592
+ $is_checklist = 'checklist' == $output_parameters[0];
2593
+ $is_hierarchical = !empty( $arguments['hierarchical'] ) && ( 'true' == strtolower( $arguments['hierarchical'] ) );
 
 
 
 
 
 
 
 
 
 
 
2594
 
2595
+ if ( $is_list ) {
2596
+ $open_template = MLAShortcode_support::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
2597
+ if ( false === $open_template ) {
2598
+ $markup_values['mla_markup'] = $default_markup;
2599
+ $open_template = MLAShortcode_support::mla_fetch_gallery_template( $default_markup . '-open', 'markup' );
2600
+ }
 
 
 
 
 
 
 
 
 
 
 
2601
 
2602
+ if ( empty( $open_template ) ) {
2603
+ $open_template = '';
2604
+ }
2605
 
2606
+ $item_template = MLAShortcode_support::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-item', 'markup' );
2607
+ if ( empty( $item_template ) ) {
2608
+ $item_template = '';
 
 
 
 
2609
  }
 
2610
 
2611
+ $close_template = MLAShortcode_support::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-close', 'markup' );
2612
+ if ( empty( $close_template ) ) {
2613
+ $close_template = '';
2614
+ }
 
 
2615
 
2616
+ /*
2617
+ * Look for gallery-level markup substitution parameters
2618
+ */
2619
+ $new_text = $open_template . $close_template;
2620
+ $markup_values = MLAData::mla_expand_field_level_parameters( $new_text, $attr, $markup_values );
2621
 
2622
+ $markup_values = apply_filters( 'mla_term_list_open_values', $markup_values );
2623
+ $open_template = apply_filters( 'mla_term_list_open_template', $open_template );
2624
+ if ( empty( $open_template ) ) {
2625
+ $gallery_open = '';
2626
+ } else {
2627
+ $gallery_open = MLAData::mla_parse_template( $open_template, $markup_values );
2628
+ }
2629
 
2630
+ $list .= apply_filters( 'mla_term_list_open_parse', $gallery_open, $open_template, $markup_values );
2631
+ } // is_list
2632
 
2633
+ foreach ( $terms as $key => $term ) {
2634
+ //error_log( __LINE__ . " _compose_term_list {$key} => " . var_export( $term, true ), 0 );
2635
+ $item_values = $markup_values;
2636
+
2637
+ /*
2638
+ * fill in item-specific elements
2639
+ */
2640
+ $item_values['key'] = $key;
2641
+ $item_values['term_id'] = $term->term_id;
2642
+ $item_values['name'] = wptexturize( $term->name );
2643
+ $item_values['slug'] = wptexturize( $term->slug );
2644
+ $item_values['term_group'] = $term->term_group;
2645
+ $item_values['term_taxonomy_id'] = $term->term_taxonomy_id;
2646
+ $item_values['taxonomy'] = wptexturize( $term->taxonomy );
2647
+ $item_values['current_item_class'] = '';
2648
+ $item_values['description'] = wptexturize( $term->description );
2649
+ $item_values['parent'] = $term->parent;
2650
+ $item_values['level'] = $term->level;
2651
+ $item_values['count'] = isset ( $term->count ) ? $term->count : 0;
2652
+ $item_values['link_url'] = $term->link;
2653
+ $item_values['editlink_url'] = $term->edit_link;
2654
+ $item_values['termlink_url'] = $term->term_link;
2655
+ $item_values['children'] = '';
2656
+ $item_values['termtag_attributes'] = '';
2657
+ $item_values['termtag_class'] = $term->parent ? 'class="term-list-term children" ' : 'class="term-list-term" ';
2658
+ $item_values['termtag_id'] = sprintf( 'id="%1$s-%2$d" ', $item_values['taxonomy'], $item_values['term_id'] );
2659
+ // Added in the code below:
2660
+ // 'current_item_class', 'caption', 'link_attributes', 'rollover_text', 'link_style', 'link_text', 'currentlink', 'editlink', 'termlink', 'thelink'
2661
 
2662
+ if ( ! empty( $arguments['current_item'] ) ) {
2663
+ if ( is_integer( $arguments['current_item'] ) ) {
2664
+ if ( $arguments['current_item'] == $term->term_id ) {
2665
+ $item_values['current_item_class'] = $arguments['current_item_class'];
2666
+ }
2667
+ } else {
2668
+ if ( $arguments['current_item'] == $term->slug ) {
2669
+ $item_values['current_item_class'] = $arguments['current_item_class'];
2670
+ }
2671
+ }
2672
+ }
2673
 
2674
+
2675
+ /*
2676
+ * Add item_specific field-level substitution parameters
2677
+ */
2678
+ $new_text = isset( $item_template ) ? $item_template : '';
2679
+ foreach( $mla_item_specific_arguments as $index => $value ) {
2680
+ $new_text .= str_replace( '{+', '[+', str_replace( '+}', '+]', $arguments[ $index ] ) );
2681
+ }
 
 
 
 
 
 
2682
 
2683
+ $item_values = MLAData::mla_expand_field_level_parameters( $new_text, $attr, $item_values );
 
 
 
2684
 
2685
+ if ( $item_values['captiontag'] ) {
2686
+ $item_values['caption'] = wptexturize( $term->description );
2687
+ if ( ! empty( $arguments['mla_caption'] ) ) {
2688
+ $item_values['caption'] = wptexturize( self::_process_shortcode_parameter( $arguments['mla_caption'], $item_values ) );
2689
+ }
2690
+ } else {
2691
+ $item_values['caption'] = '';
2692
+ }
2693
+
2694
+ /*
2695
+ * Apply the Display Content parameters.
2696
+ */
2697
+ if ( ! empty( $arguments['mla_target'] ) ) {
2698
+ $link_attributes = 'target="' . $arguments['mla_target'] . '" ';
2699
+ } else {
2700
+ $link_attributes = '';
2701
+ }
2702
+
2703
+ if ( ! empty( $arguments['mla_link_attributes'] ) ) {
2704
+ $link_attributes .= self::_process_shortcode_parameter( $arguments['mla_link_attributes'], $item_values ) . ' ';
2705
+ }
2706
+
2707
+ if ( ! empty( $arguments['mla_link_class'] ) ) {
2708
+ $link_attributes .= 'class="' . self::_process_shortcode_parameter( $arguments['mla_link_class'], $item_values ) . '" ';
2709
+ }
2710
+
2711
+ $item_values['link_attributes'] = $link_attributes;
2712
+
2713
+ $item_values['rollover_text'] = sprintf( _n( $item_values['single_text'], $item_values['multiple_text'], $item_values['count'], 'media-library-assistant' ), number_format_i18n( $item_values['count'] ) );
2714
+ if ( ! empty( $arguments['mla_rollover_text'] ) ) {
2715
+ $item_values['rollover_text'] = esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $item_values ) );
2716
+ }
2717
+
2718
+ if ( ! empty( $arguments['mla_link_href'] ) ) {
2719
+ $link_href = self::_process_shortcode_parameter( $arguments['mla_link_href'], $item_values );
2720
+ $item_values['link_url'] = $link_href;
2721
+ } else {
2722
+ $link_href = '';
2723
+ }
2724
+
2725
+ if ( ! empty( $arguments['mla_link_text'] ) ) {
2726
+ $item_values['link_text'] = esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_text'], $item_values ) );
2727
+ } else {
2728
+ $item_values['link_text'] = $item_values['name'];
2729
+ }
2730
+
2731
+ if ( ! empty( $arguments['show_count'] ) && ( 'true' == strtolower( $arguments['show_count'] ) ) ) {
2732
+ $item_values['link_text'] .= ' (' . $item_values['count'] . ')';
2733
+ }
2734
+
2735
+ /*
2736
+ * Currentlink, editlink, termlink and thelink TODO - link style
2737
+ */
2738
+ $item_values['currentlink'] = sprintf( '<a %1$shref="%2$s?current_item=%3$d" title="%4$s" style="%5$s">%6$s</a>', $link_attributes, $item_values['page_url'], $item_values['term_id'], $item_values['rollover_text'], '', $item_values['link_text'] );
2739
+ $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'] );
2740
+ $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'] );
2741
+
2742
+ if ( ! empty( $link_href ) ) {
2743
+ $item_values['thelink'] = sprintf( '<a %1$shref="%2$s" title="%3$s" style="%4$s">%5$s</a>', $link_attributes, $link_href, $item_values['rollover_text'], '', $item_values['link_text'] );
2744
+ } elseif ( 'current' == $arguments['link'] ) {
2745
+ $item_values['thelink'] = $item_values['currentlink'];
2746
+ } elseif ( 'edit' == $arguments['link'] ) {
2747
+ $item_values['thelink'] = $item_values['editlink'];
2748
+ } elseif ( 'view' == $arguments['link'] ) {
2749
+ $item_values['thelink'] = $item_values['termlink'];
2750
+ } elseif ( 'span' == $arguments['link'] ) {
2751
+ $item_values['thelink'] = sprintf( '<span %1$sstyle="%2$s">%3$s</span>', $link_attributes, '', $item_values['link_text'] );
2752
+ } else {
2753
+ $item_values['thelink'] = $item_values['link_text'];
2754
+ }
2755
+
2756
+ $child_links = array();
2757
+ if ( $is_hierarchical && !empty( $term->children ) ) {
2758
+ self::_compose_term_list( $item_values['children'], $child_links, $term->children, $markup_values, $arguments, $attr );
2759
+ }
2760
+
2761
+ if ( $is_list ) {
2762
+ /*
2763
+ * item markup
2764
+ */
2765
+ $item_values = apply_filters( 'mla_term_list_item_values', $item_values );
2766
+ $item_template = apply_filters( 'mla_term_list_item_template', $item_template );
2767
+ $parse_value = MLAData::mla_parse_template( $item_template, $item_values );
2768
+ $list .= apply_filters( 'mla_term_list_item_parse', $parse_value, $item_template, $item_values );
2769
+ } else {
2770
+ $item_values = apply_filters( 'mla_term_list_item_values', $item_values );
2771
+ $links[] = apply_filters( 'mla_term_list_item_parse', $item_values['thelink'], NULL, $item_values );
2772
+
2773
+ if ( $is_hierarchical && !empty( $child_links ) ) {
2774
+ $links = array_merge( $links, $child_links );
2775
+ }
2776
+ }
2777
+ } // foreach tag
2778
+
2779
+ if ( $is_list ) {
2780
+ $markup_values = apply_filters( 'mla_term_list_close_values', $markup_values );
2781
+ $close_template = apply_filters( 'mla_term_list_close_template', $close_template );
2782
+ $parse_value = MLAData::mla_parse_template( $close_template, $markup_values );
2783
+ $list .= apply_filters( 'mla_term_list_close_parse', $parse_value, $close_template, $markup_values );
2784
+ } // is_list
2785
+ else {
2786
+ switch ( $markup_values['mla_output'] ) {
2787
+ case 'array' :
2788
+ $list =& $links;
2789
+ break;
2790
+ case 'flat' :
2791
+ default :
2792
+ $list .= join( $markup_values['separator'], $links );
2793
+ break;
2794
+ } // switch format
2795
+ }
2796
+ //error_log( __LINE__ . ' _compose links = ' . var_export( $links, true ), 0 );
2797
+ }
2798
+
2799
+ /**
2800
+ * The MLA Term List support function.
2801
+ *
2802
+ * This is an alternative to the WordPress wp_list_categories, wp_dropdown_categories
2803
+ * and wp_terms_checklist functions, with additional options to customize the hyperlink
2804
+ * behind each term.
2805
+ *
2806
+ * @since 2.25
2807
+ *
2808
+ * @param array $attr Attributes of the shortcode.
2809
+ *
2810
+ * @return string HTML content to display the term list, dropdown control or checklist.
2811
+ */
2812
+ public static function mla_term_list( $attr ) {
2813
+ global $post;
2814
+
2815
+ /*
2816
+ * Some do_shortcode callers may not have a specific post in mind
2817
+ */
2818
+ if ( ! is_object( $post ) ) {
2819
+ $post = (object) array(
2820
+ 'ID' => 0,
2821
+ 'post_author' => '0',
2822
+ 'post_date' => '',
2823
+ 'post_content' => '',
2824
+ 'post_title' => '',
2825
+ 'post_excerpt' => '',
2826
+ 'post_status' => '',
2827
+ 'post_name' => '',
2828
+ 'post_modified' => '',
2829
+ 'guid' => '',
2830
+ 'post_type' => '',
2831
+ );
2832
+ }
2833
+
2834
+ /*
2835
+ * These are the default parameters for term list display
2836
+ */
2837
+ $mla_item_specific_arguments = array(
2838
+ 'mla_link_attributes' => '',
2839
+ 'mla_link_class' => '',
2840
+ // 'mla_link_style' => '',
2841
+ 'mla_link_href' => '',
2842
+ 'mla_link_text' => '',
2843
+ 'mla_nolink_text' => '',
2844
+ 'mla_rollover_text' => '',
2845
+ 'mla_caption' => ''
2846
+ );
2847
+
2848
+ $mla_arguments = array_merge( array(
2849
+ 'mla_output' => 'list',
2850
+ 'hierarchical' => 'true',
2851
+ 'depth' => 0,
2852
+ 'child_of' => 0,
2853
+ 'include_tree' => NULL,
2854
+ 'exclude_tree' => NULL,
2855
+ 'mla_style' => NULL,
2856
+ 'mla_markup' => NULL,
2857
+ 'mla_target' => '',
2858
+ 'mla_debug' => false,
2859
+
2860
+ // Pagination parameters
2861
+ //'term_id' => NULL,
2862
+ //'mla_end_size'=> 1,
2863
+ //'mla_mid_size' => 2,
2864
+ //'mla_prev_text' => '&laquo; ' . __( 'Previous', 'media-library-assistant' ),
2865
+ //'mla_next_text' => __( 'Next', 'media-library-assistant' ) . ' &raquo;',
2866
+ //'mla_page_parameter' => 'mla_list_current',
2867
+ //'mla_list_current' => NULL,
2868
+ //'mla_paginate_total' => NULL,
2869
+ //'mla_paginate_type' => 'plain'
2870
+ ),
2871
+ $mla_item_specific_arguments
2872
+ );
2873
+
2874
+ $defaults = array_merge(
2875
+ self::$mla_get_terms_parameters,
2876
+ array(
2877
+ 'separator' => "\n",
2878
+ 'single_text' => '%d item',
2879
+ 'multiple_text' => '%d items',
2880
+
2881
+ 'echo' => false,
2882
+ 'link' => 'view',
2883
+ 'current_item' => '',
2884
+ 'current_item_class' => 'mla_current_item',
2885
+ 'show_count' => false,
2886
+
2887
+ 'itemtag' => 'ul',
2888
+ 'termtag' => 'li',
2889
+ 'captiontag' => '',
2890
+ ),
2891
+ $mla_arguments
2892
+ );
2893
+
2894
+ /*
2895
+ * Filter the attributes before "request:" prefix processing.
2896
+ */
2897
+
2898
+ $attr = apply_filters( 'mla_term_list_raw_attributes', $attr );
2899
+
2900
+ // $instance supports multiple lists in one page/post
2901
+ static $instance = 0;
2902
+ $instance++;
2903
+
2904
+ /*
2905
+ * Some values are already known, and can be used in data selection parameters
2906
+ */
2907
+ $upload_dir = wp_upload_dir();
2908
+ $page_values = array(
2909
+ 'instance' => $instance,
2910
+ 'selector' => "mla_term_list-{$instance}",
2911
+ 'site_url' => site_url(),
2912
+ 'base_url' => $upload_dir['baseurl'],
2913
+ 'base_dir' => $upload_dir['basedir'],
2914
+ 'id' => $post->ID,
2915
+ 'page_ID' => $post->ID,
2916
+ 'page_author' => $post->post_author,
2917
+ 'page_date' => $post->post_date,
2918
+ 'page_content' => $post->post_content,
2919
+ 'page_title' => $post->post_title,
2920
+ 'page_excerpt' => $post->post_excerpt,
2921
+ 'page_status' => $post->post_status,
2922
+ 'page_name' => $post->post_name,
2923
+ 'page_modified' => $post->post_modified,
2924
+ 'page_guid' => $post->guid,
2925
+ 'page_type' => $post->post_type,
2926
+ 'page_url' => get_page_link(),
2927
+ );
2928
+
2929
+ /*
2930
+ * Apply default arguments set in the markup template
2931
+ */
2932
+ $template = isset( $attr['mla_markup'] ) ? $attr['mla_markup'] : $mla_arguments['mla_markup'];
2933
+ $arguments = self::mla_fetch_gallery_template( $template . '-arguments', 'markup' );
2934
+ if ( !empty( $arguments ) ) {
2935
+ $attr = wp_parse_args( $attr, self::_validate_attributes( array(), $arguments ) );
2936
+ }
2937
+
2938
+ /*
2939
+ * Adjust data selection arguments; remove pagination-specific arguments
2940
+ */
2941
+ unset( $attr['limit'] );
2942
+ unset( $attr['offset'] );
2943
+
2944
+ /*
2945
+ * Look for page-level, 'request:' and 'query:' substitution parameters,
2946
+ * which can be added to any input parameter
2947
+ */
2948
+ foreach ( $attr as $attr_key => $attr_value ) {
2949
+ /*
2950
+ * item-specific Display Content parameters must be evaluated
2951
+ * later, when all of the information is available.
2952
+ */
2953
+ if ( array_key_exists( $attr_key, $mla_item_specific_arguments ) ) {
2954
+ continue;
2955
+ }
2956
+
2957
+ $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
2958
+ $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, $attr, $page_values );
2959
+ $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
2960
+ }
2961
+
2962
+ $attr = apply_filters( 'mla_term_list_attributes', $attr );
2963
+ $arguments = shortcode_atts( $defaults, $attr );
2964
+
2965
+ /*
2966
+ * Clean up the current_item to separate term_id from slug
2967
+ */
2968
+ if ( ! empty( $arguments['current_item'] ) && ctype_digit( $arguments['current_item'] ) ) {
2969
+ $arguments['current_item'] = absint( $arguments['current_item'] );
2970
+ }
2971
+
2972
+ $arguments = apply_filters( 'mla_term_list_arguments', $arguments );
2973
+
2974
+ self::$mla_debug = ( ! empty( $arguments['mla_debug'] ) ) ? trim( strtolower( $arguments['mla_debug'] ) ) : false;
2975
+ if ( self::$mla_debug ) {
2976
+ if ( 'true' == self::$mla_debug ) {
2977
+ MLACore::mla_debug_mode( 'buffer' );
2978
+ } elseif ( 'log' == self::$mla_debug ) {
2979
+ MLACore::mla_debug_mode( 'log' );
2980
+ } else {
2981
+ self::$mla_debug = false;
2982
+ }
2983
+ }
2984
+
2985
+ if ( self::$mla_debug ) {
2986
+ MLACore::mla_debug_add( '<strong>' . __( 'mla_debug attributes', 'media-library-assistant' ) . '</strong> = ' . var_export( $attr, true ) );
2987
+ MLACore::mla_debug_add( '<strong>' . __( 'mla_debug arguments', 'media-library-assistant' ) . '</strong> = ' . var_export( $arguments, true ) );
2988
+ }
2989
+
2990
+ /*
2991
+ * Determine output type and templates
2992
+ */
2993
+ $output_parameters = array_map( 'strtolower', array_map( 'trim', explode( ',', $arguments['mla_output'] ) ) );
2994
+
2995
+ if ( $is_list = 'list' == $output_parameters[0] ) {
2996
+ $default_style = 'none';
2997
+ if ( empty( $arguments['captiontag'] ) ) {
2998
+ $default_markup = 'term-list-ul';
2999
+ } else {
3000
+ $default_markup = 'term-list-dl';
3001
+
3002
+ if ( 'dd' == $arguments['captiontag'] ) {
3003
+ $arguments['itemtag'] = 'dl';
3004
+ $arguments['termtag'] = 'dt';
3005
+ }
3006
+ }
3007
+
3008
+ if ( NULL == $arguments['mla_style'] ) {
3009
+ $arguments['mla_style'] = $default_style;
3010
+ }
3011
+
3012
+ if ( NULL == $arguments['mla_markup'] ) {
3013
+ $arguments['mla_markup'] = $default_markup;
3014
+ }
3015
+ }
3016
+
3017
+ if ( $is_dropdown = 'dropdown' == $output_parameters[0] ) {
3018
+ $default_style = 'none';
3019
+ $default_markup = 'term-list-dropdown';
3020
+
3021
+ if ( NULL == $arguments['mla_style'] ) {
3022
+ $arguments['mla_style'] = $default_style;
3023
+ }
3024
+
3025
+ if ( NULL == $arguments['mla_markup'] ) {
3026
+ $arguments['mla_markup'] = $default_markup;
3027
+ }
3028
+ }
3029
+
3030
+ if ( $is_checklist = 'checklist' == $output_parameters[0] ) {
3031
+ $default_style = 'none';
3032
+ $default_markup = 'term-list-checklist';
3033
+
3034
+ if ( NULL == $arguments['mla_style'] ) {
3035
+ $arguments['mla_style'] = $default_style;
3036
+ }
3037
+
3038
+ if ( NULL == $arguments['mla_markup'] ) {
3039
+ $arguments['mla_markup'] = $default_markup;
3040
+ }
3041
+ }
3042
+
3043
+ $is_hierarchical = !empty( $arguments['hierarchical'] ) && ( 'true' == strtolower( $arguments['hierarchical'] ) );
3044
+
3045
+ /*
3046
+ * Convert lists to arrays
3047
+ */
3048
+ if ( is_string( $arguments['taxonomy'] ) ) {
3049
+ $arguments['taxonomy'] = explode( ',', $arguments['taxonomy'] );
3050
+ }
3051
+
3052
+ if ( is_string( $arguments['post_type'] ) ) {
3053
+ $arguments['post_type'] = explode( ',', $arguments['post_type'] );
3054
+ }
3055
+
3056
+ if ( is_string( $arguments['post_status'] ) ) {
3057
+ $arguments['post_status'] = explode( ',', $arguments['post_status'] );
3058
+ }
3059
+
3060
+ // Hierarchical exclude is done in _get_term_tree to exclude children
3061
+ if ( $is_hierarchical && isset( $arguments['exclude'] ) ) {
3062
+ $exclude_later = $arguments['exclude'];
3063
+ unset( $arguments['exclude'] );
3064
+ } else {
3065
+ $exclude_later = NULL;
3066
+ }
3067
+
3068
+ $tags = self::mla_get_terms( $arguments );
3069
+
3070
+ if ( !empty( $exclude_later ) ) {
3071
+ $arguments['exclude'] = $exclude_later;
3072
+ }
3073
+
3074
+ /*
3075
+ * Invalid taxonomy names return WP_Error
3076
+ */
3077
+ if ( is_wp_error( $tags ) ) {
3078
+ $list = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $tags->get_error_message() . '</strong>, ' . $tags->get_error_data( $tags->get_error_code() );
3079
+
3080
+ if ( 'array' == $arguments['mla_output'] ) {
3081
+ return array( $list );
3082
+ }
3083
+
3084
+ if ( empty($arguments['echo']) ) {
3085
+ return $list;
3086
+ }
3087
+
3088
+ echo $list;
3089
+ return;
3090
+ }
3091
+
3092
+ /*
3093
+ * Fill in the item_specific link properties, calculate list parameters
3094
+ */
3095
+ if ( isset( $tags['found_rows'] ) ) {
3096
+ $found_rows = $tags['found_rows'];
3097
+ unset( $tags['found_rows'] );
3098
+ } else {
3099
+ $found_rows = count( $tags );
3100
+ }
3101
+
3102
+ if ( 0 == $found_rows ) {
3103
+ if ( self::$mla_debug ) {
3104
+ MLACore::mla_debug_add( '<strong>' . __( 'mla_debug empty list', 'media-library-assistant' ) . '</strong>, query = ' . var_export( $arguments, true ) );
3105
+ $list = MLACore::mla_debug_flush();
3106
+
3107
+ if ( '<p></p>' == $list ) {
3108
+ $list = '';
3109
+ }
3110
+ } else {
3111
+ $list = '';
3112
+ }
3113
+
3114
+ $list .= $arguments['mla_nolink_text'];
3115
+ if ( 'array' == $arguments['mla_output'] ) {
3116
+ return array( $list );
3117
+ }
3118
+
3119
+ if ( empty($arguments['echo']) ) {
3120
+ return $list;
3121
+ }
3122
+
3123
+ echo $list;
3124
+ return;
3125
+ }
3126
+
3127
+ if ( self::$mla_debug ) {
3128
+ $list = MLACore::mla_debug_flush();
3129
+ } else {
3130
+ $list = '';
3131
+ }
3132
+
3133
+ if ( $is_hierarchical ) {
3134
+ $tags = self::_get_term_tree( $tags, $arguments );
3135
+
3136
+ if ( is_wp_error( $tags ) ) {
3137
+ $list = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $tags->get_error_message() . '</strong>, ' . $tags->get_error_data( $tags->get_error_code() );
3138
+
3139
+ if ( 'array' == $arguments['mla_output'] ) {
3140
+ return array( $list );
3141
+ }
3142
+
3143
+ if ( empty($arguments['echo']) ) {
3144
+ return $list;
3145
+ }
3146
+
3147
+ echo $list;
3148
+ return;
3149
+ }
3150
+
3151
+ if ( isset( $tags['found_rows'] ) ) {
3152
+ $found_rows = $tags['found_rows'];
3153
+ unset( $tags['found_rows'] );
3154
+ } else {
3155
+ $found_rows = count( $tags );
3156
+ }
3157
+ } else {
3158
+ // TODO Make this conditional on $arguments['link']
3159
+ foreach ( $tags as $key => $tag ) {
3160
+ $link = get_edit_tag_link( $tag->term_id, $tag->taxonomy );
3161
+ if ( ! is_wp_error( $link ) ) {
3162
+ $tags[ $key ]->edit_link = $link;
3163
+ $link = get_term_link( intval($tag->term_id), $tag->taxonomy );
3164
+ $tags[ $key ]->term_link = $link;
3165
+ }
3166
+
3167
+ if ( is_wp_error( $link ) ) {
3168
+ $list = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $link->get_error_message() . '</strong>, ' . $link->get_error_data( $link->get_error_code() );
3169
+
3170
+ if ( 'array' == $arguments['mla_output'] ) {
3171
+ return array( $list );
3172
+ }
3173
+
3174
+ if ( empty($arguments['echo']) ) {
3175
+ return $list;
3176
+ }
3177
+
3178
+ echo $list;
3179
+ return;
3180
+ }
3181
+
3182
+ if ( 'edit' == $arguments['link'] ) {
3183
+ $tags[ $key ]->link = $tags[ $key ]->edit_link;
3184
+ } else {
3185
+ $tags[ $key ]->link = $tags[ $key ]->term_link;
3186
+ }
3187
+ } // foreach tag
3188
+ }
3189
+
3190
+ $style_values = array_merge( $page_values, array(
3191
+ 'mla_output' => $arguments['mla_output'],
3192
+ 'mla_style' => $arguments['mla_style'],
3193
+ 'mla_markup' => $arguments['mla_markup'],
3194
+ 'taxonomy' => implode( '-', $arguments['taxonomy'] ),
3195
+ 'current_item' => $arguments['current_item'],
3196
+ 'itemtag' => tag_escape( $arguments['itemtag'] ),
3197
+ 'termtag' => tag_escape( $arguments['termtag'] ),
3198
+ 'captiontag' => tag_escape( $arguments['captiontag'] ),
3199
+ 'itemtag_attributes' => '',
3200
+ 'itemtag_class' => 'class="term-list term-list-taxonomy-' . implode( '-', $arguments['taxonomy'] ) . '" ',
3201
+ 'itemtag_id' => 'id="' . $page_values['selector'] . '" ',
3202
+ //'columns' => $columns,
3203
+ //'itemwidth' => $width_string,
3204
+ //'margin' => $margin_string,
3205
+ //'float' => $float,
3206
+ 'all_found_rows' => $found_rows,
3207
+ 'found_rows' => $found_rows,
3208
+ //'min_count' => $min_count,
3209
+ //'max_count' => $max_count,
3210
+ //'min_scaled_count' => $min_scaled_count,
3211
+ //'max_scaled_count' => $max_scaled_count,
3212
+ //'spread' => $spread,
3213
+ //'smallest' => $arguments['smallest'],
3214
+ //'largest' => $arguments['largest'],
3215
+ //'unit' => $arguments['unit'],
3216
+ //'font_spread' => $font_spread,
3217
+ //'font_step' => $font_step,
3218
+ 'separator' => $arguments['separator'],
3219
+ 'single_text' => $arguments['single_text'],
3220
+ 'multiple_text' => $arguments['multiple_text'],
3221
+ 'echo' => $arguments['echo'],
3222
+ 'link' => $arguments['link']
3223
+ ) );
3224
+
3225
+ $style_template = $gallery_style = '';
3226
+ $use_mla_term_list_style = $is_list && ( 'none' != strtolower( $style_values['mla_style'] ) );
3227
+ if ( apply_filters( 'use_mla_term_list_style', $use_mla_term_list_style, $style_values['mla_style'] ) ) {
3228
+ $style_template = MLAShortcode_support::mla_fetch_gallery_template( $style_values['mla_style'], 'style' );
3229
+ if ( empty( $style_template ) ) {
3230
+ $style_values['mla_style'] = $default_style;
3231
+ $style_template = MLAShortcode_support::mla_fetch_gallery_template( $default_style, 'style' );
3232
+ }
3233
+
3234
+ if ( ! empty ( $style_template ) ) {
3235
+ /*
3236
+ * Look for 'query' and 'request' substitution parameters
3237
+ */
3238
+ $style_values = MLAData::mla_expand_field_level_parameters( $style_template, $attr, $style_values );
3239
+
3240
+ $style_values = apply_filters( 'mla_term_list_style_values', $style_values );
3241
+ $style_template = apply_filters( 'mla_term_list_style_template', $style_template );
3242
+ $gallery_style = MLAData::mla_parse_template( $style_template, $style_values );
3243
+ $gallery_style = apply_filters( 'mla_term_list_style_parse', $gallery_style, $style_template, $style_values );
3244
+ } // !empty template
3245
+ } // use_mla_term_list_style
3246
+
3247
+ $list .= $gallery_style;
3248
+ $markup_values = $style_values;
3249
+
3250
+ /*
3251
+ * Accumulate links for flat and array output
3252
+ */
3253
+ $tag_links = array();
3254
+
3255
+ if ( $is_hierarchical ) {
3256
+ foreach( $tags as $taxonomy => $root_terms ) {
3257
+
3258
+ if ( isset( $root_terms['found_rows'] ) ) {
3259
+ $markup_values['found_rows'] = $root_terms['found_rows'];
3260
+ unset( $root_terms['found_rows'] );
3261
+ } else {
3262
+ $markup_values['found_rows'] = count( $root_terms );
3263
+ }
3264
+
3265
+ self::_compose_term_list( $list, $tag_links, $root_terms, $markup_values, $arguments, $attr );
3266
+ }
3267
+ } else {
3268
+ self::_compose_term_list( $list, $tag_links, $tags, $markup_values, $arguments, $attr );
3269
+ }
3270
+
3271
+ if ( 'array' == $arguments['mla_output'] || empty($arguments['echo']) ) {
3272
+ return $list;
3273
+ }
3274
+
3275
+ echo $list;
3276
+ }
3277
+
3278
+ /**
3279
+ * The MLA Term List shortcode.
3280
+ *
3281
+ * This is an interface to the mla_term_list function.
3282
+ *
3283
+ * @since 2.25
3284
+ *
3285
+ * @param array $attr Attributes of the shortcode.
3286
+ * @param string $content Optional content for enclosing shortcodes
3287
+ *
3288
+ * @return string HTML content to display the term list.
3289
+ */
3290
+ public static function mla_term_list_shortcode( $attr, $content = NULL ) {
3291
+ /*
3292
+ * Make sure $attr is an array, even if it's empty,
3293
+ * and repair damage caused by link-breaks in the source text
3294
+ */
3295
+ $attr = self::_validate_attributes( $attr, $content );
3296
+
3297
+ /*
3298
+ * The 'array' format makes no sense in a shortcode
3299
+ */
3300
+ if ( isset( $attr['mla_output'] ) && 'array' == $attr['mla_output'] ) {
3301
+ $attr['mla_output'] = 'flat';
3302
+ }
3303
+
3304
+ /*
3305
+ * A shortcode must return its content to the caller, so "echo" makes no sense
3306
+ */
3307
+ $attr['echo'] = false;
3308
+
3309
+ if ( empty( $attr['mla_output'] ) ) {
3310
+ return 'mla_output is empty';
3311
+ }
3312
+
3313
+ switch ( $attr['mla_output'] ) {
3314
+ case 'wp_list_categories':
3315
+ return wp_list_categories( $attr );
3316
+ case 'wp_dropdown_categories':
3317
+ return wp_dropdown_categories( $attr );
3318
+ case 'wp_terms_checklist':
3319
+ require_once( ABSPATH . 'wp-admin/includes/template.php' );
3320
+ return wp_terms_checklist( 0, $attr );
3321
+ default:
3322
+ //return 'mla_output not recognized';
3323
+ }
3324
+
3325
+ return self::mla_term_list( $attr );
3326
+ }
3327
+
3328
+ /**
3329
+ * Computes image dimensions for scalable graphics, e.g., SVG
3330
+ *
3331
+ * @since 2.20
3332
+ *
3333
+ * @return array
3334
+ */
3335
+ private static function _registered_dimensions() {
3336
+ global $_wp_additional_image_sizes;
3337
+
3338
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ENABLE_MLA_ICONS ) ) {
3339
+ $sizes = array( 'icon' => array( 64, 64 ) );
3340
+ } else {
3341
+ $sizes = array( 'icon' => array( 60, 60 ) );
3342
+ }
3343
+
3344
+ foreach( get_intermediate_image_sizes() as $s ) {
3345
+ $sizes[ $s ] = array( 0, 0 );
3346
+
3347
+ if( in_array( $s, array( 'thumbnail', 'medium', 'large' ) ) ) {
3348
+ $sizes[ $s ][0] = get_option( $s . '_size_w' );
3349
+ $sizes[ $s ][1] = get_option( $s . '_size_h' );
3350
+ } else {
3351
+ if( isset( $_wp_additional_image_sizes ) && isset( $_wp_additional_image_sizes[ $s ] ) ) {
3352
+ $sizes[ $s ] = array( $_wp_additional_image_sizes[ $s ]['width'], $_wp_additional_image_sizes[ $s ]['height'], );
3353
+ }
3354
+ }
3355
+ }
3356
+
3357
+ return $sizes;
3358
+ }
3359
+
3360
+ /**
3361
+ * Handles brace/bracket escaping and parses template for a shortcode parameter
3362
+ *
3363
+ * @since 2.20
3364
+ *
3365
+ * @param string raw shortcode parameter, e.g., "text {+field+} {brackets} \\{braces\\}"
3366
+ * @param string template substitution values, e.g., ('instance' => '1', ... )
3367
+ *
3368
+ * @return string parameter with brackets, braces, substitution parameters and templates processed
3369
+ */
3370
+ private static function _process_shortcode_parameter( $text, $markup_values ) {
3371
+ $new_text = str_replace( '{', '[', str_replace( '}', ']', $text ) );
3372
+ $new_text = str_replace( '\[', '{', str_replace( '\]', '}', $new_text ) );
3373
+ return MLAData::mla_parse_template( $new_text, $markup_values );
3374
+ }
3375
+
3376
+ /**
3377
+ * Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'
3378
+ *
3379
+ * @since 2.20
3380
+ *
3381
+ * @param array value(s) for mla_output_type parameter
3382
+ * @param string template substitution values, e.g., ('instance' => '1', ... )
3383
+ * @param string merged default and passed shortcode parameter values
3384
+ * @param integer number of attachments in the gallery, without pagination
3385
+ * @param string output text so far, may include debug values
3386
+ *
3387
+ * @return mixed false or string with HTML for pagination output types
3388
+ */
3389
+ private static function _paginate_links( $output_parameters, $markup_values, $arguments, $found_rows, $output = '' ) {
3390
+ if ( 2 > $markup_values['last_page'] ) {
3391
+ return '';
3392
+ }
3393
+
3394
+ $show_all = $prev_next = false;
3395
+
3396
+ if ( isset ( $output_parameters[1] ) ) {
3397
+ switch ( $output_parameters[1] ) {
3398
+ case 'show_all':
3399
+ $show_all = true;
3400
+ break;
3401
+ case 'prev_next':
3402
+ $prev_next = true;
3403
+ }
3404
+ }
3405
+
3406
+ $mla_page_parameter = $arguments['mla_page_parameter'];
3407
+ $current_page = $markup_values['current_page'];
3408
+ $last_page = $markup_values['last_page'];
3409
+ $end_size = absint( $arguments['mla_end_size'] );
3410
+ $mid_size = absint( $arguments['mla_mid_size'] );
3411
+ $posts_per_page = $markup_values['posts_per_page'];
3412
+
3413
+ $new_target = ( ! empty( $arguments['mla_target'] ) ) ? 'target="' . $arguments['mla_target'] . '" ' : '';
3414
+
3415
+ /*
3416
+ * these will add to the default classes
3417
+ */
3418
+ $new_class = ( ! empty( $arguments['mla_link_class'] ) ) ? ' ' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_class'], $markup_values ) ) : '';
3419
+
3420
+ $new_attributes = ( ! empty( $arguments['mla_link_attributes'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_attributes'], $markup_values ) ) . ' ' : '';
3421
+
3422
+ //$new_base = ( ! empty( $arguments['mla_link_href'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) ) : $markup_values['new_url'];
3423
+ $new_base = ( ! empty( $arguments['mla_link_href'] ) ) ? self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) : $markup_values['new_url'];
3424
+
3425
+ /*
3426
+ * Build the array of page links
3427
+ */
3428
+ $page_links = array();
3429
+ $dots = false;
3430
+
3431
+ if ( $prev_next && $current_page && 1 < $current_page ) {
3432
+ $markup_values['new_page'] = $current_page - 1;
3433
+ $new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
3434
+ $new_url = remove_query_arg( $mla_page_parameter, $new_base );
3435
+ $new_url = add_query_arg( array( $mla_page_parameter => $current_page - 1 ), $new_url );
3436
+ $prev_text = ( ! empty( $arguments['mla_prev_text'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_prev_text'], $markup_values ) ) : '&laquo; ' . __( 'Previous', 'media-library-assistant' );
3437
+ $page_links[] = sprintf( '<a %1$sclass="prev page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
3438
+ /* %1$s */ $new_target,
3439
+ /* %2$s */ $new_class,
3440
+ /* %3$s */ $new_attributes,
3441
+ /* %4$s */ $new_title,
3442
+ /* %5$s */ $new_url,
3443
+ /* %6$s */ $prev_text );
3444
+ }
3445
+
3446
+ for ( $new_page = 1; $new_page <= $last_page; $new_page++ ) {
3447
+ $new_page_display = number_format_i18n( $new_page );
3448
+ $markup_values['new_page'] = $new_page;
3449
+ $new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
3450
+
3451
+ if ( $new_page == $current_page ) {
3452
+ // build current page span
3453
+ $page_links[] = sprintf( '<span class="page-numbers current%1$s">%2$s</span>',
3454
+ /* %1$s */ $new_class,
3455
+ /* %2$s */ $new_page_display );
3456
  $dots = true;
3457
  } else {
3458
  if ( $show_all || ( $new_page <= $end_size || ( $current_page && $new_page >= $current_page - $mid_size && $new_page <= $current_page + $mid_size ) || $new_page > $last_page - $end_size ) ) {
4645
  * Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
4646
  * relevanssi_prevent_default_request( $request, $query )
4647
  * apply_filters('relevanssi_admin_search_ok', $admin_search_ok, $query );
4648
+ * apply_filters('relevanssi_prevent_default_request', $prevent, $query );
4649
  */
4650
  if ( function_exists( 'relevanssi_prevent_default_request' ) ) {
4651
+ add_filter( 'relevanssi_admin_search_ok', 'MLAQuery::mla_query_relevanssi_admin_search_ok_filter' );
4652
+ add_filter( 'relevanssi_prevent_default_request', 'MLAQuery::mla_query_relevanssi_prevent_default_request_filter' );
4653
  }
4654
 
4655
  if ( class_exists( 'MLA_Polylang' ) ) {
4679
  }
4680
 
4681
  if ( function_exists( 'relevanssi_prevent_default_request' ) ) {
4682
+ remove_filter( 'relevanssi_admin_search_ok', 'MLAQuery::mla_query_relevanssi_admin_search_ok_filter' );
4683
+ remove_filter( 'relevanssi_prevent_default_request', 'MLAQuery::mla_query_relevanssi_prevent_default_request_filter' );
4684
  }
4685
 
4686
  remove_filter( 'posts_join', 'MLAShortcode_Support::mla_shortcode_query_posts_join_filter', 0x7FFFFFFF );
4851
  }
4852
 
4853
  /**
4854
+ * Data selection parameters for [mla_tag_cloud], [mla_term_list]
4855
  *
4856
  * @since 2.20
4857
  *
4928
  *
4929
  * offset - number of term objects to skip, for pagination. Default 0.
4930
  *
4931
+ * fields - string with fields for the SQL SELECT clause, e.g.,
4932
+ * 't.term_id, t.name, t.slug, COUNT(p.ID) AS `count`'
4933
+ *
4934
  * @since 2.20
4935
  *
4936
  * @param array taxonomies to search and query parameters
5257
 
5258
  $tags['found_rows'] = $found_rows;
5259
  $tags = apply_filters( 'mla_get_terms_query_results', $tags );
5260
+ //error_log( __LINE__ . ' mla_get_terms tags = ' . var_export( $tags, true ), 0 );
5261
 
5262
  return $tags;
5263
  } // mla_get_terms
5264
 
5265
+ /**
5266
+ * Walk a list of terms and find hierarchy, preserving source order.
5267
+ *
5268
+ * @since 2.25
5269
+ *
5270
+ * @param array $terms Term objects, by reference
5271
+ * @param array $arguments Shortcode arguments, including defaults
5272
+ *
5273
+ * @return array ( [taxonomy] => array( [root terms] => array( [fields], array( 'children' => [child terms] )
5274
+ */
5275
+ private static function _get_term_tree( &$terms, $arguments = array() ) {
5276
+ $term = current( $terms );
5277
+
5278
+ if ( empty( $term ) or ! isset( $term->parent ) ) {
5279
+ return array();
5280
+ }
5281
+
5282
+ /*
5283
+ * Set found_rows aside to be restored later
5284
+ */
5285
+ if ( isset( $terms['found_rows'] ) ) {
5286
+ $found_rows = $terms['found_rows'];
5287
+ unset( $terms['found_rows'] );
5288
+ } else {
5289
+ $found_rows = NULL;
5290
+ }
5291
+
5292
+ $child_of = ! empty( $arguments['child_of'] ) ? absint( $arguments['child_of'] ) : NULL;
5293
+ $include_tree = ! empty( $arguments['include_tree'] ) ? wp_parse_id_list( $arguments['include_tree'] ) : NULL;
5294
+ $exclude_tree = empty( $include_tree ) && !empty( $arguments['exclude_tree'] ) ? wp_parse_id_list( $arguments['exclude_tree'] ) : NULL;
5295
+
5296
+ $depth = !empty( $arguments['depth'] ) ? absint( $arguments['depth'] ) : 0;
5297
+ $term_tree = array();
5298
+ $root_ids = array();
5299
+ $parents = array();
5300
+ $child_ids = array();
5301
+ foreach( $terms as $term ) {
5302
+ // TODO Make this conditional on $arguments['link']
5303
+ $link = get_edit_tag_link( $term->term_id, $term->taxonomy );
5304
+ if ( ! is_wp_error( $link ) ) {
5305
+ $term->edit_link = $link;
5306
+ $link = get_term_link( intval($term->term_id), $term->taxonomy );
5307
+ $term->term_link = $link;
5308
+ }
5309
+
5310
+ if ( is_wp_error( $link ) ) {
5311
+ return $link;
5312
+ }
5313
+
5314
+ if ( 'edit' == $arguments['link'] ) {
5315
+ $term->link = $term->edit_link;
5316
+ } else {
5317
+ $term->link = $term->term_link;
5318
+ }
5319
+
5320
+ $term->children = array();
5321
+ $parent = absint( $term->parent );
5322
+ if ( 0 == $parent ) {
5323
+ $term_tree[ $term->taxonomy ][] = $term;
5324
+ $root_ids[ $term->taxonomy ][ $term->term_id ] = count( $term_tree[ $term->taxonomy ] ) - 1;
5325
+ } else {
5326
+ $parents[ $term->taxonomy ][ $term->parent ][] = $term;
5327
+ $child_ids[ $term->taxonomy ][ $term->term_id ] = absint( $term->parent );
5328
+ }
5329
+ }
5330
+ //error_log( __LINE__ . ' _get_term_tree root terms = ' . var_export( $term_tree, true ), 0 );
5331
+ //error_log( __LINE__ . ' _get_term_tree root ids = ' . var_export( $root_ids, true ), 0 );
5332
+ //error_log( __LINE__ . ' _get_term_tree parents = ' . var_export( $parents, true ), 0 );
5333
+ //error_log( __LINE__ . ' _get_term_tree child ids = ' . var_export( $child_ids, true ), 0 );
5334
+
5335
+ /*
5336
+ * Collapse multi-level children
5337
+ */
5338
+ foreach ( $parents as $taxonomy => $tax_parents ) {
5339
+ if ( ! isset( $term_tree[ $taxonomy ] ) ) {
5340
+ $term_tree[ $taxonomy ] = array();
5341
+ $root_ids[ $taxonomy ] = array();
5342
+ }
5343
+
5344
+ while ( !empty( $tax_parents ) ) {
5345
+ foreach( $tax_parents as $parent_id => $children ) {
5346
+ foreach( $children as $index => $child ) {
5347
+ if ( ! array_key_exists( $child->term_id, $tax_parents ) ) {
5348
+ //error_log( __LINE__ . " _get_term_tree leaf = " . var_export( $child, true ), 0 );
5349
+
5350
+ if ( array_key_exists( $child->parent, $root_ids[ $taxonomy ] ) ) {
5351
+ // Found a root node - attach the leaf
5352
+ $term_tree[ $taxonomy ][ $root_ids[ $taxonomy ][ $child->parent ] ]->children[] = $child;
5353
+ } elseif ( isset( $child_ids[ $taxonomy ][ $child->parent ] ) ) {
5354
+ // Found a non-root parent node - attach the leaf
5355
+ $the_parent = $child_ids[ $taxonomy ][ $child->parent ];
5356
+ //error_log( __LINE__ . " _get_term_tree tax_parents[{$the_parent}] = " . var_export( $tax_parents[ $the_parent ], true ), 0 );
5357
+ foreach( $tax_parents[ $the_parent ] as $candidate_index => $candidate ) {
5358
+ //error_log( __LINE__ . " _get_term_tree tax_parents[{$the_parent}][ {$candidate_index} ] = " . var_export( $candidate, true ), 0 );
5359
+ if ( $candidate->term_id == $child->parent ) {
5360
+ $parents[ $taxonomy ][ $the_parent ][ $candidate_index ]->children[] = $child;
5361
+ break;
5362
+ }
5363
+ } // foreach candidate
5364
+ } else {
5365
+ // No parent exists; make this a root node
5366
+ $term_tree[ $taxonomy ][] = $child;
5367
+ $root_ids[ $taxonomy ][ $child->term_id ] = count( $term_tree[ $taxonomy ] ) - 1;
5368
+ } // Move the leaf node
5369
+
5370
+ unset( $tax_parents[ $parent_id ][ $index ] );
5371
+ if ( empty( $tax_parents[ $parent_id ] ) ) {
5372
+ unset( $tax_parents[ $parent_id ] );
5373
+ }
5374
+ } // leaf node; no children
5375
+ } // foreach child
5376
+ } // foreach parent_id
5377
+ //error_log( __LINE__ . ' _get_term_tree tax_parents = ' . var_export( $tax_parents, true ), 0 );
5378
+ }
5379
+ } // foreach taxonomy
5380
+
5381
+ /*
5382
+ * Calculate and potentially trim parent/child tree
5383
+ */
5384
+ $all_terms_count = 0;
5385
+ foreach ( array_keys( $term_tree ) as $taxonomy ) {
5386
+ if ( $child_of ) {
5387
+ $result = self::_find_child_of( $term_tree[ $taxonomy ], $child_of );
5388
+ if ( false !== $result ) {
5389
+ $term_tree[ $taxonomy ] = $result->children;
5390
+ } else {
5391
+ $term_tree[ $taxonomy ] = array();
5392
+ continue;
5393
+ }
5394
+ } // $child_of
5395
+
5396
+ if ( $include_tree ) {
5397
+ $result = self::_find_include_tree( $term_tree[ $taxonomy ], $include_tree );
5398
+ if ( false !== $result ) {
5399
+ $term_tree[ $taxonomy ] = $result;
5400
+ } else {
5401
+ $term_tree[ $taxonomy ] = array();
5402
+ continue;
5403
+ }
5404
+ } // $include_tree
5405
+
5406
+ if ( $exclude_tree ) {
5407
+ self::_remove_exclude_tree( $term_tree[ $taxonomy ], $exclude_tree );
5408
+ } // $include_tree
5409
+ error_log( __LINE__ . ' _get_term_tree root terms = ' . var_export( $term_tree, true ), 0 );
5410
+
5411
+ $term_count = 0;
5412
+ $root_limit = count( $term_tree[ $taxonomy ] );
5413
+
5414
+ if ( $root_limit ) {
5415
+ for ( $root_index = 0; $root_index < $root_limit; $root_index++ ) {
5416
+ if ( isset( $term_tree[ $taxonomy ][ $root_index ] ) ) {
5417
+ $term_count++;
5418
+ $term_tree[ $taxonomy ][ $root_index ]->level = 0;
5419
+ if ( ! empty( $term_tree[ $taxonomy ][ $root_index ]->children ) ) {
5420
+ $term_count += self::_count_term_children( $term_tree[ $taxonomy ][ $root_index ], $depth );
5421
+ }
5422
+ } else {
5423
+ $root_limit++;
5424
+ }
5425
+ }
5426
+ }
5427
+
5428
+ error_log( __LINE__ . " _get_term_tree( {$taxonomy} ) terms = " . var_export( $term_count, true ), 0 );
5429
+ $term_tree[ $taxonomy ]['found_rows'] = $term_count;
5430
+ $all_terms_count += $term_count;
5431
+ }
5432
+
5433
+ $term_tree['found_rows'] = $all_terms_count;
5434
+ error_log( __LINE__ . ' _get_term_tree root terms = ' . var_export( $term_tree, true ), 0 );
5435
+ return $term_tree;
5436
+ } // _get_term_tree
5437
+
5438
+ /**
5439
+ * Find a term that matches $child_of
5440
+ *
5441
+ * @since 2.25
5442
+ *
5443
+ * @param array $parents Potential parent Term objects, by reference
5444
+ * @param integer $parent_id Term_id of the desired parent
5445
+ *
5446
+ * @return mixed Term object of the desired parent else false
5447
+ */
5448
+ private static function _find_child_of( &$parents, $parent_id ) {
5449
+ foreach( $parents as $parent ) {
5450
+ if ( $parent_id == $parent->term_id ) {
5451
+ return $parent;
5452
+ }
5453
+
5454
+ $result = self::_find_child_of( $parent->children, $parent_id );
5455
+ if ( false !== $result ) {
5456
+ return $result;
5457
+ }
5458
+ }
5459
+
5460
+ return false;
5461
+ } // _find_child_of
5462
+
5463
+ /**
5464
+ * Find the term(s) that match $include_tree
5465
+ *
5466
+ * @since 2.25
5467
+ *
5468
+ * @param array $terms Potential term objects, by reference
5469
+ * @param array $include_tree term_id(s) of the desired terms
5470
+ *
5471
+ * @return mixed Term object(s) of the desired terms else false
5472
+ */
5473
+ private static function _find_include_tree( &$terms, $include_tree ) {
5474
+ $new_tree = array();
5475
+
5476
+ foreach( $terms as $term ) {
5477
+ if ( in_array( $term->term_id, $include_tree ) ) {
5478
+ $new_tree[] = $term;
5479
+ } elseif ( !empty( $term->children ) ) {
5480
+ $result = self::_find_include_tree( $term->children, $include_tree );
5481
+ if ( false !== $result ) {
5482
+ $new_tree = array_merge( $new_tree, $result );
5483
+ }
5484
+ }
5485
+ }
5486
+
5487
+ if ( empty( $new_tree ) ) {
5488
+ return false;
5489
+ }
5490
+
5491
+ return $new_tree;
5492
+ } // _find_include_tree
5493
+
5494
+ /**
5495
+ * Remove the term(s) that match $exclude_tree
5496
+ *
5497
+ * @since 2.25
5498
+ *
5499
+ * @param array $terms Potential term objects, by reference
5500
+ * @param array $exclude_tree term_id(s) of the desired terms
5501
+ *
5502
+ * @return void Term object(s) are removed from the &parents array
5503
+ */
5504
+ private static function _remove_exclude_tree( &$terms, $exclude_tree ) {
5505
+ foreach( $terms as $index => $term ) {
5506
+ if ( in_array( $term->term_id, $exclude_tree ) ) {
5507
+ unset( $terms[ $index ] );
5508
+ } elseif ( !empty( $term->children ) ) {
5509
+ self::_remove_exclude_tree( $term->children, $exclude_tree );
5510
+ }
5511
+ }
5512
+ } // _remove_exclude_tree
5513
+
5514
+ /**
5515
+ * Add level to term children and count them, all levels.
5516
+ *
5517
+ * Recalculates term counts by including items from child terms. Assumes all
5518
+ * relevant children are already in the $terms argument.
5519
+ *
5520
+ * @since 2.25
5521
+ *
5522
+ * @param object $parent Parent Term objects, by reference
5523
+ * @param integer $depth Maximum depth of parent/child relationship
5524
+ *
5525
+ * @return integer Total number of children, all levels
5526
+ */
5527
+ private static function _count_term_children( &$parent, $depth = 0 ) {
5528
+ $term_count = 0;
5529
+ $child_level = $parent->level + 1;
5530
+
5531
+ // level is zero-based, depth is one-based
5532
+ if ( $depth && $child_level >= $depth ) {
5533
+ $parent->children = array();
5534
+ return 0;
5535
+ }
5536
+
5537
+ $child_limit = count( $parent->children );
5538
+ for ( $child_index = 0; $child_index < $child_limit; $child_index++ ) {
5539
+ if ( isset( $parent->children[ $child_index ] ) ) {
5540
+ $term_count++;
5541
+ $parent->children[ $child_index ]->level = $child_level;
5542
+ if ( ! empty( $parent->children[ $child_index ]->children ) ) {
5543
+ $term_count += self::_count_term_children( $parent->children[ $child_index ], $depth );
5544
+ }
5545
+ } else {
5546
+ $child_limit++;
5547
+ }
5548
+ }
5549
+
5550
+ return $term_count;
5551
+ } // _count_term_children
5552
+
5553
  /**
5554
  * Add count of children to parent count.
5555
  *
includes/class-mla-shortcodes.php CHANGED
@@ -24,6 +24,7 @@ class MLAShortcodes {
24
  public static function initialize() {
25
  add_shortcode( 'mla_gallery', 'MLAShortcodes::mla_gallery_shortcode' );
26
  add_shortcode( 'mla_tag_cloud', 'MLAShortcodes::mla_tag_cloud_shortcode' );
 
27
 
28
  /*
29
  * Avoid wptexturize defect
@@ -69,7 +70,7 @@ class MLAShortcodes {
69
  if ( !class_exists( 'MLAShortcode_Support' ) ) {
70
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcode-support.php' );
71
  }
72
-
73
  return MLAShortcode_Support::mla_gallery_shortcode( $attr, $content );
74
  }
75
 
@@ -93,6 +94,26 @@ class MLAShortcodes {
93
  return MLAShortcode_Support::mla_tag_cloud_shortcode( $attr, $content );
94
  }
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  /**
97
  * The WP_Query object used to select items for the gallery.
98
  *
24
  public static function initialize() {
25
  add_shortcode( 'mla_gallery', 'MLAShortcodes::mla_gallery_shortcode' );
26
  add_shortcode( 'mla_tag_cloud', 'MLAShortcodes::mla_tag_cloud_shortcode' );
27
+ //add_shortcode( 'mla_term_list', 'MLAShortcodes::mla_term_list_shortcode' );
28
 
29
  /*
30
  * Avoid wptexturize defect
70
  if ( !class_exists( 'MLAShortcode_Support' ) ) {
71
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcode-support.php' );
72
  }
73
+
74
  return MLAShortcode_Support::mla_gallery_shortcode( $attr, $content );
75
  }
76
 
94
  return MLAShortcode_Support::mla_tag_cloud_shortcode( $attr, $content );
95
  }
96
 
97
+ /**
98
+ * The MLA Term List shortcode.
99
+ *
100
+ * Compatibility shim for MLAShortcode_Support::mla_term_list_shortcode
101
+ *
102
+ * @since 2.25
103
+ *
104
+ * @param array $attr Attributes of the shortcode.
105
+ * @param string $content Optional content for enclosing shortcodes
106
+ *
107
+ * @return string HTML content to display the tag cloud.
108
+ */
109
+ public static function mla_term_list_shortcode( $attr, $content = NULL ) {
110
+ if ( !class_exists( 'MLAShortcode_Support' ) ) {
111
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcode-support.php' );
112
+ }
113
+
114
+ return MLAShortcode_Support::mla_term_list_shortcode( $attr, $content );
115
+ }
116
+
117
  /**
118
  * The WP_Query object used to select items for the gallery.
119
  *
includes/class-mla-upload-list-table.php CHANGED
@@ -243,8 +243,8 @@ class MLA_Upload_List_Table extends WP_List_Table {
243
  }
244
 
245
  if ( isset( $_REQUEST['mla_tab'] ) && $_REQUEST['mla_tab'] == 'upload' ) {
246
- add_filter( 'get_user_option_managesettings_page_' . MLACore::MLA_SETTINGS_SLUG . '-uploadcolumnshidden', 'MLA_Upload_list_Table::mla_manage_hidden_columns_filter', 10, 3 );
247
- add_filter( 'manage_settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-upload_columns', 'MLA_Upload_list_Table::mla_manage_columns_filter', 10, 0 );
248
  add_action( 'admin_print_styles', 'MLA_Upload_List_Table::mla_admin_print_styles_action' );
249
  }
250
  }
@@ -268,7 +268,7 @@ class MLA_Upload_List_Table extends WP_List_Table {
268
  'singular' => 'upload_type', //singular name of the listed records
269
  'plural' => 'upload_types', //plural name of the listed records
270
  'ajax' => true, //does this table support ajax?
271
- 'screen' => 'settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-upload'
272
  ) );
273
 
274
  /*
@@ -384,7 +384,7 @@ class MLA_Upload_List_Table extends WP_List_Table {
384
  */
385
 
386
  $view_args = array(
387
- 'page' => MLACore::MLA_SETTINGS_SLUG . '-upload',
388
  'mla_tab' => 'upload',
389
  'mla_item_slug' => urlencode( $item->slug )
390
  );
@@ -598,7 +598,7 @@ class MLA_Upload_List_Table extends WP_List_Table {
598
  * @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
599
  */
600
  function get_hidden_columns( ) {
601
- $columns = get_user_option( 'managesettings_page_' . MLACore::MLA_SETTINGS_SLUG . '-uploadcolumnshidden' );
602
 
603
  if ( is_array( $columns ) ) {
604
  return $columns;
@@ -656,7 +656,7 @@ class MLA_Upload_List_Table extends WP_List_Table {
656
  /*
657
  * Remember the view filters
658
  */
659
- $base_url = 'options-general.php?page=' . MLACore::MLA_SETTINGS_SLUG . '-upload&mla_tab=upload';
660
 
661
  if ( isset( $_REQUEST['s'] ) ) {
662
  $base_url = add_query_arg( array( 's' => $_REQUEST['s'] ), $base_url );
243
  }
244
 
245
  if ( isset( $_REQUEST['mla_tab'] ) && $_REQUEST['mla_tab'] == 'upload' ) {
246
+ add_filter( 'get_user_option_managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-uploadcolumnshidden', 'MLA_Upload_list_Table::mla_manage_hidden_columns_filter', 10, 3 );
247
+ add_filter( 'manage_settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-upload_columns', 'MLA_Upload_list_Table::mla_manage_columns_filter', 10, 0 );
248
  add_action( 'admin_print_styles', 'MLA_Upload_List_Table::mla_admin_print_styles_action' );
249
  }
250
  }
268
  'singular' => 'upload_type', //singular name of the listed records
269
  'plural' => 'upload_types', //plural name of the listed records
270
  'ajax' => true, //does this table support ajax?
271
+ 'screen' => 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-upload'
272
  ) );
273
 
274
  /*
384
  */
385
 
386
  $view_args = array(
387
+ 'page' => MLACoreOptions::MLA_SETTINGS_SLUG . '-upload',
388
  'mla_tab' => 'upload',
389
  'mla_item_slug' => urlencode( $item->slug )
390
  );
598
  * @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
599
  */
600
  function get_hidden_columns( ) {
601
+ $columns = get_user_option( 'managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-uploadcolumnshidden' );
602
 
603
  if ( is_array( $columns ) ) {
604
  return $columns;
656
  /*
657
  * Remember the view filters
658
  */
659
+ $base_url = 'options-general.php?page=' . MLACoreOptions::MLA_SETTINGS_SLUG . '-upload&mla_tab=upload';
660
 
661
  if ( isset( $_REQUEST['s'] ) ) {
662
  $base_url = add_query_arg( array( 's' => $_REQUEST['s'] ), $base_url );
includes/class-mla-upload-optional-list-table.php CHANGED
@@ -182,8 +182,8 @@ class MLA_Upload_Optional_List_Table extends WP_List_Table {
182
  */
183
  public static function mla_admin_init_action( ) {
184
  if ( isset( $_REQUEST['mla-optional-uploads-display'] ) || isset( $_REQUEST['mla-optional-uploads-search'] ) ) {
185
- add_filter( 'get_user_option_managesettings_page_' . MLACore::MLA_SETTINGS_SLUG . '-uploadcolumnshidden', 'MLA_Upload_Optional_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
186
- add_filter( 'manage_settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-upload_columns', 'MLA_Upload_Optional_List_Table::mla_manage_columns_filter', 10, 0 );
187
  }
188
  }
189
 
@@ -201,7 +201,7 @@ class MLA_Upload_Optional_List_Table extends WP_List_Table {
201
  'singular' => 'optional_upload_type', //singular name of the listed records
202
  'plural' => 'optional_upload_types', //plural name of the listed records
203
  'ajax' => false, //does this table support ajax?
204
- 'screen' => 'settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-upload'
205
  ) );
206
 
207
  /*
@@ -261,7 +261,7 @@ class MLA_Upload_Optional_List_Table extends WP_List_Table {
261
  */
262
 
263
  $view_args = array(
264
- 'page' => MLACore::MLA_SETTINGS_SLUG . '-upload',
265
  'mla_tab' => 'upload',
266
  'mla_item_ID' => urlencode( $item->ID )
267
  );
@@ -365,7 +365,7 @@ class MLA_Upload_Optional_List_Table extends WP_List_Table {
365
  * @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
366
  */
367
  function get_hidden_columns( ) {
368
- $columns = get_user_option( 'managesettings_page_' . MLACore::MLA_SETTINGS_SLUG . '-viewcolumnshidden' );
369
 
370
  if ( is_array( $columns ) ) {
371
  return $columns;
182
  */
183
  public static function mla_admin_init_action( ) {
184
  if ( isset( $_REQUEST['mla-optional-uploads-display'] ) || isset( $_REQUEST['mla-optional-uploads-search'] ) ) {
185
+ add_filter( 'get_user_option_managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-uploadcolumnshidden', 'MLA_Upload_Optional_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
186
+ add_filter( 'manage_settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-upload_columns', 'MLA_Upload_Optional_List_Table::mla_manage_columns_filter', 10, 0 );
187
  }
188
  }
189
 
201
  'singular' => 'optional_upload_type', //singular name of the listed records
202
  'plural' => 'optional_upload_types', //plural name of the listed records
203
  'ajax' => false, //does this table support ajax?
204
+ 'screen' => 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-upload'
205
  ) );
206
 
207
  /*
261
  */
262
 
263
  $view_args = array(
264
+ 'page' => MLACoreOptions::MLA_SETTINGS_SLUG . '-upload',
265
  'mla_tab' => 'upload',
266
  'mla_item_ID' => urlencode( $item->ID )
267
  );
365
  * @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
366
  */
367
  function get_hidden_columns( ) {
368
+ $columns = get_user_option( 'managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-viewcolumnshidden' );
369
 
370
  if ( is_array( $columns ) ) {
371
  return $columns;
includes/class-mla-view-list-table.php CHANGED
@@ -190,8 +190,8 @@ class MLA_View_List_Table extends WP_List_Table {
190
  */
191
  public static function mla_admin_init_action( ) {
192
  if ( isset( $_REQUEST['mla_tab'] ) && $_REQUEST['mla_tab'] == 'view' ) {
193
- add_filter( 'get_user_option_managesettings_page_' . MLACore::MLA_SETTINGS_SLUG . '-viewcolumnshidden', 'MLA_View_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
194
- add_filter( 'manage_settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-view_columns', 'MLA_View_List_Table::mla_manage_columns_filter', 10, 0 );
195
  }
196
  }
197
 
@@ -214,7 +214,7 @@ class MLA_View_List_Table extends WP_List_Table {
214
  'singular' => 'post_mime_type', //singular name of the listed records
215
  'plural' => 'post_mime_types', //plural name of the listed records
216
  'ajax' => true, //does this table support ajax?
217
- 'screen' => 'settings_page_' . MLACore::MLA_SETTINGS_SLUG . '-view'
218
  ) );
219
 
220
  /*
@@ -318,7 +318,7 @@ class MLA_View_List_Table extends WP_List_Table {
318
  */
319
 
320
  $view_args = array(
321
- 'page' => MLACore::MLA_SETTINGS_SLUG . '-view',
322
  'mla_tab' => 'view',
323
  'mla_item_slug' => urlencode( $item->slug )
324
  );
@@ -338,12 +338,12 @@ class MLA_View_List_Table extends WP_List_Table {
338
  /*
339
  * Get the standard and custom types
340
  */
341
- $mla_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, true );
342
  if ( ! is_array( $mla_types ) ) {
343
  $mla_types = array ();
344
  }
345
 
346
- $custom_types = MLACore::mla_get_option( MLACore::MLA_POST_MIME_TYPES, false, true );
347
  if ( ! is_array( $custom_types ) ) {
348
  $custom_types = array ();
349
  }
@@ -517,7 +517,7 @@ class MLA_View_List_Table extends WP_List_Table {
517
  * @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
518
  */
519
  function get_hidden_columns( ) {
520
- $columns = get_user_option( 'managesettings_page_' . MLACore::MLA_SETTINGS_SLUG . '-viewcolumnshidden' );
521
 
522
  if ( is_array( $columns ) ) {
523
  return $columns;
190
  */
191
  public static function mla_admin_init_action( ) {
192
  if ( isset( $_REQUEST['mla_tab'] ) && $_REQUEST['mla_tab'] == 'view' ) {
193
+ add_filter( 'get_user_option_managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-viewcolumnshidden', 'MLA_View_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
194
+ add_filter( 'manage_settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-view_columns', 'MLA_View_List_Table::mla_manage_columns_filter', 10, 0 );
195
  }
196
  }
197
 
214
  'singular' => 'post_mime_type', //singular name of the listed records
215
  'plural' => 'post_mime_types', //plural name of the listed records
216
  'ajax' => true, //does this table support ajax?
217
+ 'screen' => 'settings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-view'
218
  ) );
219
 
220
  /*
318
  */
319
 
320
  $view_args = array(
321
+ 'page' => MLACoreOptions::MLA_SETTINGS_SLUG . '-view',
322
  'mla_tab' => 'view',
323
  'mla_item_slug' => urlencode( $item->slug )
324
  );
338
  /*
339
  * Get the standard and custom types
340
  */
341
+ $mla_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, true );
342
  if ( ! is_array( $mla_types ) ) {
343
  $mla_types = array ();
344
  }
345
 
346
+ $custom_types = MLACore::mla_get_option( MLACoreOptions::MLA_POST_MIME_TYPES, false, true );
347
  if ( ! is_array( $custom_types ) ) {
348
  $custom_types = array ();
349
  }
517
  * @return array Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')
518
  */
519
  function get_hidden_columns( ) {
520
+ $columns = get_user_option( 'managesettings_page_' . MLACoreOptions::MLA_SETTINGS_SLUG . '-viewcolumnshidden' );
521
 
522
  if ( is_array( $columns ) ) {
523
  return $columns;
includes/class-mla-wpml-support.php CHANGED
@@ -215,7 +215,7 @@ class MLA_WPML {
215
  /*
216
  * Apply the "Always Translate Media" override
217
  */
218
- if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) && class_exists( 'WPML_Media' ) && ( 'checked' == MLACore::mla_get_option( MLACore::MLA_ADD_NEW_BULK_EDIT ) ) ) {
219
  $content_defaults = WPML_Media::get_setting( 'new_content_settings' );
220
  $wpml_value = isset( $content_defaults['always_translate_media'] ) && $content_defaults['always_translate_media'];
221
 
215
  /*
216
  * Apply the "Always Translate Media" override
217
  */
218
+ if ( ! empty( $_REQUEST['mlaAddNewBulkEditFormString'] ) && class_exists( 'WPML_Media' ) && ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
219
  $content_defaults = WPML_Media::get_setting( 'new_content_settings' );
220
  $wpml_value = isset( $content_defaults['always_translate_media'] ) && $content_defaults['always_translate_media'];
221
 
includes/mla-main-search-box-template.php CHANGED
@@ -18,13 +18,13 @@ if ( !empty( $_REQUEST['s'] ) ) {
18
  $search_fields = isset ( $_REQUEST['mla_search_fields'] ) ? $_REQUEST['mla_search_fields'] : array();
19
  $search_connector = $_REQUEST['mla_search_connector'];
20
  } else {
21
- $search_value = MLACore::mla_get_option( MLACore::MLA_SEARCH_MEDIA_FILTER_DEFAULTS );
22
  $search_fields = $search_value['search_fields'];
23
  $search_connector = $search_value['search_connector'];
24
  $search_value = '';
25
  }
26
 
27
- if ( 'checked' == MLACore::mla_get_option( MLACore::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS ) ) {
28
  $controls_style = 'style="display: inline;"';
29
  } else {
30
  $controls_style = 'style="display: none;"';
18
  $search_fields = isset ( $_REQUEST['mla_search_fields'] ) ? $_REQUEST['mla_search_fields'] : array();
19
  $search_connector = $_REQUEST['mla_search_connector'];
20
  } else {
21
+ $search_value = MLACore::mla_get_option( MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS );
22
  $search_fields = $search_value['search_fields'];
23
  $search_connector = $search_value['search_connector'];
24
  $search_value = '';
25
  }
26
 
27
+ if ( 'checked' == MLACore::mla_get_option( MLACoreOptions::MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS ) ) {
28
  $controls_style = 'style="display: inline;"';
29
  } else {
30
  $controls_style = 'style="display: none;"';
includes/mla-plugin-loader.php CHANGED
@@ -71,7 +71,7 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
71
  /*
72
  * Front end posts/pages only need shortcode support; load the interface shims.
73
  */
74
- if( ! ( defined('WP_ADMIN') && WP_ADMIN ) ) {
75
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcodes.php' );
76
  add_action( 'init', 'MLAShortcodes::initialize', 0x7FFFFFFF );
77
  return;
71
  /*
72
  * Front end posts/pages only need shortcode support; load the interface shims.
73
  */
74
+ if( ! ( ( defined('WP_ADMIN') && WP_ADMIN ) || ( defined('XMLRPC_REQUEST') && XMLRPC_REQUEST ) ) ) {
75
  require_once( MLA_PLUGIN_PATH . 'includes/class-mla-shortcodes.php' );
76
  add_action( 'init', 'MLAShortcodes::initialize', 0x7FFFFFFF );
77
  return;
index.php CHANGED
@@ -6,7 +6,7 @@
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
- * @version 2.24
10
  */
11
 
12
  /*
@@ -16,10 +16,10 @@ Description: Enhances the Media Library; powerful [mla_gallery], taxonomy suppor
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
- Version: 2.24
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
- Copyright 2011-2015 David Lingren
23
 
24
  This program is free software; you can redistribute it and/or modify
25
  it under the terms of the GNU General Public License as published by
@@ -178,8 +178,10 @@ function mla_name_conflict_reporting_action () {
178
  if ( empty( $mla_name_conflict_error_messages ) ) {
179
  require_once('includes/mla-plugin-loader.php');
180
 
181
- //register_activation_hook( __FILE__, array( 'MLASettings', 'mla_activation_hook' ) );
182
- //register_deactivation_hook( __FILE__, array( 'MLASettings', 'mla_deactivation_hook' ) );
 
 
183
  }
184
  else {
185
  add_action( 'admin_notices', 'mla_name_conflict_reporting_action' );
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
+ * @version 2.25
10
  */
11
 
12
  /*
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
+ Version: 2.25
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
+ Copyright 2011-2016 David Lingren
23
 
24
  This program is free software; you can redistribute it and/or modify
25
  it under the terms of the GNU General Public License as published by
178
  if ( empty( $mla_name_conflict_error_messages ) ) {
179
  require_once('includes/mla-plugin-loader.php');
180
 
181
+ if ( class_exists( 'MLASettings' ) ) {
182
+ register_activation_hook( __FILE__, array( 'MLASettings', 'mla_activation_hook' ) );
183
+ register_deactivation_hook( __FILE__, array( 'MLASettings', 'mla_deactivation_hook' ) );
184
+ }
185
  }
186
  else {
187
  add_action( 'admin_notices', 'mla_name_conflict_reporting_action' );
js/mla-media-modal-scripts.js CHANGED
@@ -28,6 +28,8 @@ var wp, wpAjax, ajaxurl, jQuery, _,
28
  };
29
 
30
  (function($){
 
 
31
  /* for debug : trace every event triggered in the MediaFrame controller * /
32
  var originalMediaFrameTrigger = wp.media.view.MediaFrame.prototype.trigger;
33
  wp.media.view.MediaFrame.prototype.trigger = function(){
@@ -760,7 +762,7 @@ wp.media.view.MlaSearch.on( 'all', MlaSearchOn );
760
 
761
  createToolbar: function() {
762
  var filters, state = this.controller._state;
763
-
764
  mlaModal.settings.state = state;
765
  mlaModal.settings.$el = this.controller.$el;
766
  if ( 'undefined' === typeof mlaModal.settings.query[ state ] ) {
@@ -774,10 +776,16 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
774
  // */
775
 
776
  // Apply the original method to create the toolbar
777
- wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply( this, arguments );
 
778
  mlaModal.utility.mlaAttachmentsBrowser = this;
779
  filters = this.options.filters;
780
 
 
 
 
 
 
781
  if ( ( 'all' === filters ) && mlaModal.settings.enableMimeTypes ) {
782
  this.toolbar.unset( 'filters', { silent: true } );
783
  this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.Mla({
@@ -823,10 +831,11 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
823
 
824
  if ( this.options.search ) {
825
  if ( mlaModal.settings.enableSearchBox ) {
826
- this.listenTo( this.controller, 'content:activate', this.hideDefaultSearch );
827
- this.listenTo( this.controller, 'router:render', this.hideDefaultSearch );
828
- this.listenTo( this.controller, 'uploader:ready', this.hideDefaultSearch );
829
- this.listenTo( this.controller, 'edit:activate', this.hideDefaultSearch );
 
830
  this.toolbar.set( 'MlaSearch', new wp.media.view.MlaSearch({
831
  controller: this.controller,
832
  model: this.collection.props,
@@ -843,7 +852,13 @@ this.listenTo( this.controller, 'all', this.toolbarEvent );
843
  },
844
 
845
  hideDefaultSearch: function() {
846
- $( '#media-search-input', this.el ).hide();
 
 
 
 
 
 
847
  },
848
 
849
  updateFilters: function( taxonomy, selectMarkup ) {
28
  };
29
 
30
  (function($){
31
+ var mlaDrop = wp.media.view.AttachmentsBrowser;
32
+
33
  /* for debug : trace every event triggered in the MediaFrame controller * /
34
  var originalMediaFrameTrigger = wp.media.view.MediaFrame.prototype.trigger;
35
  wp.media.view.MediaFrame.prototype.trigger = function(){
762
 
763
  createToolbar: function() {
764
  var filters, state = this.controller._state;
765
+
766
  mlaModal.settings.state = state;
767
  mlaModal.settings.$el = this.controller.$el;
768
  if ( 'undefined' === typeof mlaModal.settings.query[ state ] ) {
776
  // */
777
 
778
  // Apply the original method to create the toolbar
779
+ //wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply( this, arguments );
780
+ mlaDrop.prototype.createToolbar.apply( this, arguments );
781
  mlaModal.utility.mlaAttachmentsBrowser = this;
782
  filters = this.options.filters;
783
 
784
+ // Enhanced Media Library (eml) plugin has CSS styles that require this patch
785
+ if ( typeof window.eml !== "undefined" ) {
786
+ $( '.media-toolbar', this.$el ).css( 'overflow', 'hidden' );
787
+ }
788
+
789
  if ( ( 'all' === filters ) && mlaModal.settings.enableMimeTypes ) {
790
  this.toolbar.unset( 'filters', { silent: true } );
791
  this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.Mla({
831
 
832
  if ( this.options.search ) {
833
  if ( mlaModal.settings.enableSearchBox ) {
834
+ this.controller.on( 'content:activate', this.hideDefaultSearch );
835
+ this.controller.on( 'router:render', this.hideDefaultSearch );
836
+ this.controller.on( 'uploader:ready', this.hideDefaultSearch );
837
+ this.controller.on( 'edit:activate', this.hideDefaultSearch );
838
+
839
  this.toolbar.set( 'MlaSearch', new wp.media.view.MlaSearch({
840
  controller: this.controller,
841
  model: this.collection.props,
852
  },
853
 
854
  hideDefaultSearch: function() {
855
+ var defaultSearch = $( '#media-search-input', this.el );
856
+
857
+ if ( 0 === defaultSearch.length ) {
858
+ defaultSearch = $( 'div.media-toolbar-primary > input.search', this.el )
859
+ }
860
+
861
+ defaultSearch.hide();
862
  },
863
 
864
  updateFilters: function( taxonomy, selectMarkup ) {
js/mla-media-modal-scripts.min.js CHANGED
@@ -1 +1,1743 @@
1
- var wp,wpAjax,ajaxurl,jQuery,_,getUserSetting,setUserSetting,deleteUserSetting,mlaTaxonomy,mlaModal={strings:{},settings:{},initialHTML:{},uploading:false,cid:null,utility:{originalMediaAjax:null,mlaAttachmentsBrowser:null,parseTermsOptions:null,arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mlaModal.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;delete wp.media.view.l10n.mla_strings;mlaModal.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{screen:"unknown",enableMediaGrid:false,enableMediaModal:false}:wp.media.view.settings.mla_settings;delete wp.media.view.settings.mla_settings;if(!(mlaModal.settings.enableMediaGrid||mlaModal.settings.enableMediaModal)){return}if(("grid"===mlaModal.settings.screen)&&false===mlaModal.settings.enableMediaGrid){return}if(("modal"===mlaModal.settings.screen)&&false===mlaModal.settings.enableMediaModal){return}mlaModal.utility.originalMediaAjax=wp.media.ajax;wp.media.ajax=function(h,d){var g=mlaModal.settings.state,f,c,e,b;if(_.isObject(h)){d=h}else{d=d||{};d.data=_.extend(d.data||{},{action:h})}if("query-attachments"==d.data.action){f=d.data.query;c=typeof f.s;if("object"==c){e=f.s}else{if("string"==c){e={mla_search_value:f.s}}else{e={mla_search_value:""}}}if("undefined"!=typeof f.post_mime_type){mlaModal.settings.query[g].filterMime=f.post_mime_type}else{mlaModal.settings.query[g].filterMime="all"}if("undefined"!=typeof e.mla_filter_month){mlaModal.settings.query[g].filterMonth=e.mla_filter_month}else{if("undefined"!=typeof f.year){mlaModal.settings.query[g].filterMonth=(100*f.year)+(1*f.monthnum)}else{}}if("undefined"!=typeof e.mla_filter_term){mlaModal.settings.query[g].filterTerm=e.mla_filter_term}if("undefined"!=typeof e.mla_search_value){mlaModal.settings.query[g].searchValue=e.mla_search_value}b={mla_filter_month:mlaModal.settings.query[g].filterMonth,mla_filter_term:mlaModal.settings.query[g].filterTerm,mla_terms_search:mlaModal.settings.query[g].termsSearch,mla_search_clicks:mlaModal.settings.query[g].searchClicks,mla_search_value:mlaModal.settings.query[g].searchValue,mla_search_fields:mlaModal.settings.query[g].searchFields,mla_search_connector:mlaModal.settings.query[g].searchConnector};mlaModal.settings.query[g].termsSearch="";a("#mla-terms-search-input").html("").val("");d.data.query.s=b}return mlaModal.utility.originalMediaAjax.call(this,d)};if(mlaModal.settings.enableMimeTypes){wp.media.view.AttachmentFilters.Mla=wp.media.view.AttachmentFilters.extend({createFilters:function(){var c=this.controller._state,b={};_.each(mlaModal.settings.allMimeTypes||{},function(e,d){if(("grid"===mlaModal.settings.screen)||("trash"!==d)){b[d]={text:e,props:{type:d,uploadedTo:null,orderby:"date",order:"DESC"}}}});b.all={text:wp.media.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};if(wp.media.view.settings.post.id){b.uploaded={text:wp.media.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20}}this.filters=b;if("undefined"===typeof b[mlaModal.settings.query[c].filterMime]){mlaModal.settings.query[c].filterMime="all"}if(mlaModal.settings.query[c].filterMime!="all"){this.model.set(b[mlaModal.settings.query[c].filterMime].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMime,c=b.toJSON();if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}_.find(this.filters,function(g,h){var f=_.all(g.props,function(j,i){return j===(_.isUndefined(c[i])?null:c[i])});if(f){return d=h}});this.$el.val(d)},change:function(){var c=a(this.el).closest("div.media-toolbar"),b=this.filters[this.el.value];if(b){this.model.set(b.props,{silent:true});a("#mla-search-submit",c).click()}}});wp.media.view.AttachmentFilters.MlaUploaded=wp.media.view.AttachmentFilters.extend({createFilters:function(){var c=this.model.get("type"),b=wp.media.view.settings.mimeTypes,f,e=this.controller._state,d={};if(b&&c){f=b[c]}_.each(mlaModal.settings.uploadMimeTypes||{},function(h,g){if(("grid"===mlaModal.settings.screen)||("trash"!==g)){d[g]={text:h,props:{type:g,uploadedTo:null,orderby:"date",order:"DESC"}}}});d.all={text:f||wp.media.view.l10n.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC"},priority:10};d.uploaded={text:wp.media.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20};d.unattached={text:wp.media.view.l10n.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC"},priority:50};this.filters=d;if("undefined"===typeof d[mlaModal.settings.query[e].filterUploaded]){mlaModal.settings.query[e].filterUploaded="all"}if(mlaModal.settings.query[e].filterUploaded!="all"){this.model.set(d[mlaModal.settings.query[e].filterUploaded].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMime,c=b.toJSON();if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}_.find(this.filters,function(g,h){var f=_.all(g.props,function(j,i){return j===(_.isUndefined(c[i])?null:c[i])});if(f){return d=h}});this.$el.val(d)},change:function(){var c=a(this.el).closest("div.media-toolbar"),b=this.filters[this.el.value];if(b){this.model.set(b.props,{silent:true});a("#mla-search-submit",c).click()}}})}if(mlaModal.settings.enableMonthsDropdown){wp.media.view.AttachmentFilters.MlaMonths=wp.media.view.AttachmentFilters.extend({className:"attachment-filters",id:"media-attachment-date-filters",createFilters:function(){var c=this.controller._state,b={};_.each(mlaModal.settings.months||{},function(e,d){b[d]={text:e,props:{s:{mla_filter_month:d}}}});this.filters=b;if("undefined"===typeof b[mlaModal.settings.query[c].filterMonth]){mlaModal.settings.query[c].filterMonth=0}if(mlaModal.settings.query[c].filterMonth>0){this.model.set(b[mlaModal.settings.query[c].filterMonth].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterMonth,c=b.toJSON();if(_.isUndefined(c.s)){c.s={}}if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}if(_.isUndefined(c.s.mla_filter_month)){c.s.mla_filter_month=mlaModal.settings.query[e].filterMonth}else{mlaModal.settings.query[e].filterMonth=c.s.mla_filter_month}_.find(this.filters,function(g,h){var f=_.all(g.props,function(i){return i.mla_filter_month==mlaModal.settings.query[e].filterMonth});if(f){return d=h}});this.$el.val(d)},change:function(){var b=this.filters[this.el.value],c;if(b){c={s:{mla_filter_month:b.props.s.mla_filter_month}};this.model.set(c)}}})}if(mlaModal.settings.enableTermsDropdown){wp.media.view.AttachmentFilters.MlaTerms=wp.media.view.AttachmentFilters.extend({className:"attachment-filters",id:"media-attachment-term-filters",createFilters:function(){var d=this.controller._state,b,c={};_.each(mlaModal.settings.termsText||{},function(f,e){c[e]={text:f,props:{s:{mla_filter_term:parseInt(mlaModal.settings.termsValue[e])}}}});this.filters=c;b=_.indexOf(mlaModal.settings.termsValue,mlaModal.settings.query[d].filterTerm);if(b>0){this.model.set(c[b].props,{silent:false})}},select:function(){var e=this.controller._state,b=this.model,d=mlaModal.settings.query[e].filterTerm,c=b.toJSON();if(_.isUndefined(c.s)){c.s={}}if(false===mlaModal.settings.enableSearchBox){if("string"==typeof c.search){mlaModal.settings.query[e].searchValue=c.search}else{mlaModal.settings.query[e].searchValue=""}}if(_.isUndefined(c.s.mla_filter_term)){c.s.mla_filter_term=mlaModal.settings.query[e].filterTerm}else{mlaModal.settings.query[e].filterTerm=c.s.mla_filter_term}_.find(this.filters,function(g,h){var f=_.all(g.props,function(i){return i.mla_filter_term==mlaModal.settings.query[e].filterTerm});if(f){return d=h}});this.$el.val(d)},change:function(){var b=this.filters[this.el.value],c;if(b){c={s:{mla_filter_term:b.props.s.mla_filter_term}};this.model.set(c)}}})}if(mlaModal.settings.enableTermsSearch){wp.media.view.MlaTermsSearch=wp.media.View.extend({tagName:"span",className:"mla-terms-search",template:wp.media.template("mla-terms-search-button"),attributes:{type:"mla-terms-search-button"},events:{change:"termsSearchOpen",click:"termsSearchOpen",},render:function(){this.$el.html(this.template(mlaModal.strings));return this},termsSearchOpen:function(c){var b=a(this.el).closest("div.media-toolbar");if(("click"==c.type)&&("mla_terms_search"===c.target.name)){mlaTaxonomy.termsSearch.open();a("#mla-terms-search-form").off("submit");a("#mla-terms-search-form").submit(function(h){var d,g,f={phrases:"",taxonomies:[]};h.preventDefault();d=a("#mla-terms-search-form").serializeArray();for(g=0;g<d.length;g++){switch(d[g].name){case"mla_terms_search[phrases]":f.phrases=d[g].value;break;case"mla_terms_search[radio_phrases]":f.radio_phrases=d[g].value;break;case"mla_terms_search[radio_terms]":f.radio_terms=d[g].value;break;case"mla_terms_search[taxonomies][]":f.taxonomies[f.taxonomies.length]=d[g].value;break}}mlaModal.settings.query[mlaModal.settings.state].termsSearch=f;a("#mla-search-submit",b).click();return false});a("#mla-terms-search-input").keypress(function(d){if(13==d.which){d.preventDefault();a("#mla-terms-search-submit").click()}})}}})}if(mlaModal.settings.enableSearchBox){wp.media.view.MlaSearch=wp.media.View.extend({tagName:"div",className:"mla-search-box",template:wp.media.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{input:"search",change:"search",click:"search",search:"search",MlaSearch:"search"},initialize:function(){var b=this.controller._state;if("undefined"===typeof mlaModal.settings.query[b]){mlaModal.settings.query[b]=_.clone(mlaModal.settings.query.initial);mlaModal.settings.query[b].searchFields=_.clone(mlaModal.settings.query.initial.searchFields)}},render:function(){var c=this.controller._state,b=_.extend(mlaModal.strings,mlaModal.settings.query[c]);this.$el.html(this.template(b));return this},search:function(d){var e=this.controller._state,b,f,c;if(("input"==d.type)&&("s[mla_search_value]"==d.target.name)){mlaModal.settings.query[e].searchValue=d.target.value;return}if(("click"==d.type)&&("mla_search_submit"!=d.target.name)){return}switch(d.target.name){case"s[mla_search_value]":mlaModal.settings.query[e].searchValue=d.target.value;break;case"mla_search_submit":b={mla_filter_month:mlaModal.settings.query[e].filterMonth,mla_filter_term:mlaModal.settings.query[e].filterTerm,mla_terms_search:mlaModal.settings.query[e].termsSearch,mla_search_clicks:mlaModal.settings.query[e].searchClicks++,mla_search_value:mlaModal.settings.query[e].searchValue,mla_search_fields:mlaModal.settings.query[e].searchFields,mla_search_connector:mlaModal.settings.query[e].searchConnector};this.model.set({s:b});break;case"s[mla_search_connector]":mlaModal.settings.query[e].searchConnector=d.target.value;break;case"s[mla_search_title]":f=mlaModal.settings.query[e].searchFields;c=f.indexOf("title");if(-1==c){f.push("title")}else{f.splice(c,1)}mlaModal.settings.query[e].searchFields=f;break;case"s[mla_search_name]":c=mlaModal.settings.query[e].searchFields.indexOf("name");if(-1==c){mlaModal.settings.query[e].searchFields.push("name")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_alt_text]":c=mlaModal.settings.query[e].searchFields.indexOf("alt-text");if(-1==c){mlaModal.settings.query[e].searchFields.push("alt-text")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_excerpt]":c=mlaModal.settings.query[e].searchFields.indexOf("excerpt");if(-1==c){mlaModal.settings.query[e].searchFields.push("excerpt")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_content]":c=mlaModal.settings.query[e].searchFields.indexOf("content");if(-1==c){mlaModal.settings.query[e].searchFields.push("content")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break;case"s[mla_search_terms]":c=mlaModal.settings.query[e].searchFields.indexOf("terms");if(-1==c){mlaModal.settings.query[e].searchFields.push("terms")}else{mlaModal.settings.query[e].searchFields.splice(c,1)}break}}})}else{wp.media.view.MlaSearch=wp.media.View.extend({tagName:"span",className:"mla-simulate-search-button",template:wp.media.template("mla-simulate-search-button"),attributes:{type:"mla-simulate-search-button"},events:{click:"simulateSearch",},render:function(){this.$el.html(this.template(mlaModal.strings));return this},simulateSearch:function(){var c=this.controller._state,b={mla_filter_month:mlaModal.settings.query[c].filterMonth,mla_filter_term:mlaModal.settings.query[c].filterTerm,mla_terms_search:mlaModal.settings.query[c].termsSearch,mla_search_clicks:mlaModal.settings.query[c].searchClicks++,mla_search_value:mlaModal.settings.query[c].searchValue,mla_search_fields:mlaModal.settings.query[c].searchFields,mla_search_connector:mlaModal.settings.query[c].searchConnector};this.model.set({s:b})}})}if(mlaModal.settings.enableMimeTypes||mlaModal.settings.enableMonthsDropdown||mlaModal.settings.enableTermsDropdown||mlaModal.settings.enableTermsSearch||mlaModal.settings.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var b,c=this.controller._state;mlaModal.settings.state=c;mlaModal.settings.$el=this.controller.$el;if("undefined"===typeof mlaModal.settings.query[c]){mlaModal.settings.query[c]=_.clone(mlaModal.settings.query.initial);mlaModal.settings.query[c].searchFields=_.clone(mlaModal.settings.query.initial.searchFields)}wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);mlaModal.utility.mlaAttachmentsBrowser=this;b=this.options.filters;if(("all"===b)&&mlaModal.settings.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new wp.media.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(("uploaded"===b)&&mlaModal.settings.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new wp.media.view.AttachmentFilters.MlaUploaded({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search&&mlaModal.settings.enableMonthsDropdown){this.toolbar.unset("dateFilter",{silent:true});this.toolbar.set("dateFilter",new wp.media.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-75}).render())}if(this.options.search&&mlaModal.settings.enableTermsDropdown){this.toolbar.set("terms",new wp.media.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-50}).render())}if(this.options.search&&mlaModal.settings.enableTermsSearch){this.toolbar.set("termsSearch",new wp.media.view.MlaTermsSearch({controller:this.controller,model:this.collection.props,priority:-50}).render())}if(this.options.search){if(mlaModal.settings.enableSearchBox){this.listenTo(this.controller,"content:activate",this.hideDefaultSearch);this.listenTo(this.controller,"router:render",this.hideDefaultSearch);this.listenTo(this.controller,"uploader:ready",this.hideDefaultSearch);this.listenTo(this.controller,"edit:activate",this.hideDefaultSearch);this.toolbar.set("MlaSearch",new wp.media.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}else{this.toolbar.set("MlaSearch",new wp.media.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:70}).render())}}},hideDefaultSearch:function(){a("#media-search-input",this.el).hide()},updateFilters:function(b,c){var d={};if(this.options.search&&mlaModal.settings.enableTermsDropdown&&mlaModal.settings.termsTaxonomy==b){d=mlaModal.utility.parseTermsOptions(c);mlaModal.settings.termsClass=d.termsClass;mlaModal.settings.termsText=d.termsText;mlaModal.settings.termsValue=d.termsValue;this.toolbar.unset("terms",{silent:true});this.toolbar.set("terms",new wp.media.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}}})}mlaModal.utility.parseTermsOptions=function(h){var g={termsClass:[mlaModal.settings.termsClass[0],mlaModal.settings.termsClass[1]],termsText:[mlaModal.settings.termsText[0],mlaModal.settings.termsText[1]],termsValue:[mlaModal.settings.termsValue[0],mlaModal.settings.termsValue[1]]},d=2,b,c,f=/\<option(( class=\"([^\"]+)\" )|( ))value=((\'([^\']+)\')|(\"([^\"]+)\"))([^\>]*)\>([^\<]*)\<.*/g,e=[];if("object"===typeof h){d=mlaModal.settings.termsValue.length;for(b=2;b<d;b++){e[b]={termsClass:mlaModal.settings.termsClass[b],termsText:mlaModal.settings.termsText[b],termsValue:mlaModal.settings.termsValue[b]};if("undefined"!==typeof h[mlaModal.settings.termsValue[b]]){delete h[mlaModal.settings.termsValue[b]]}}for(c in h){e[b++]={termsClass:"level-0",termsText:h[c],termsValue:c.toString()}}if(d===b){return{termsClass:mlaModal.settings.termsClass,termsText:mlaModal.settings.termsText,termsValue:mlaModal.settings.termsValue}}e.sort(function(j,i){if(j.termsText>i.termsText){return 1}else{if(j.termsText<i.termsText){return -1}else{return 0}}});b=2;for(c in e){g.termsClass[b]=e[c].termsClass;g.termsText[b]=e[c].termsText;g.termsValue[b++]=e[c].termsValue}return g}e=f.exec(h);while(null!==(e=f.exec(h))){g.termsClass[d]=e[3];g.termsValue[d]=("undefined"===typeof e[6])?e[9]:e[7];g.termsText[d++]=e[11].replace("&nbsp;",mlaModal.settings.termsIndent)}return g};mlaModal.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(mlaModal.settings.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(mlaModal.settings.comma)}return c};mlaModal.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mlaModal.tagBox={cleanTags:function(c){var b=mlaModal.settings.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=mlaModal.settings.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(mlaModal.settings.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mlaModal.tagBox.parseTags(this)});j.prepend("&nbsp;").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=mlaModal.settings.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mlaModal.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mlaModal.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mlaModal.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:mlaModal.settings.comma+" "})});e.siblings(":first").click(function(){mlaModal.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(){var j,h=this,g=mlaModal.utility.arrayCleanup(a(".server-tags",h).val()),i=mlaModal.utility.arrayCleanup(a(".the-tags",h).val());if(g===i){return}a(h).css("opacity","0.5");j={id:f,};j[b]=i;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,j).done(function(l){var m,k,n;for(k in l){if("object"===typeof(l[k]["object-terms"])){if(null!==mlaModal.utility.mlaAttachmentsBrowser){mlaModal.utility.mlaAttachmentsBrowser.updateFilters(k,l[k]["object-terms"])}delete l[k]["object-terms"]}for(n in l[k]){a("#"+n,h).replaceWith(l[k][n])}m=a("#mla-taxonomy-"+k,h);mlaModal.tagBox.quickClicks(m)}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(){mlaModal.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}})}if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("selection:reset",function(){mlaModal.cid=null});this.on("selection:unsingle",function(){mlaModal.cid=null});this.on("selection:single",function(b){mlaModal.cid=b.cid});this.on("change:uploading",function(){mlaModal.uploading=true});this.on("change",function(b){var c=false,d;if(mlaModal.uploading&&mlaModal.cid===b.cid){mlaModal.uploading=false;c=true}else{if(false===b.attributes.uploading){d=_.clone(b.changed);delete d.title;delete d.caption;delete d.alt;delete d.description;if(!_.isEmpty(d)){c=true}}}if(true===c){mlaModal.utility.hookCompatTaxonomies(b.get("id"),mlaModal.settings.$el)}})}})}mlaModal.utility.hookCompatTaxonomies=function(e,c){var b,d=null;a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));if(-1!=mlaModal.settings.enhancedTaxonomies.indexOf(b)){a(".compat-field-"+b+" th",c).click({id:e,currentTaxonomy:b,el:c},function(f){mlaModal.utility.fillCompatTaxonomies(f.data)});a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).show()}else{a(this).remove()}});if(null===d){d=b}}else{a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).remove()}})}});a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));if(-1!=mlaModal.settings.enhancedTaxonomies.indexOf(b)){a(".compat-field-"+b+" th",c).click({id:e,currentTaxonomy:b,el:c},function(f){mlaModal.utility.fillCompatTaxonomies(f.data)});a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).show()}else{a(this).remove()}});if(null===d){d=b}}else{a("tr.compat-field-"+b,c).each(function(){if(a(this).hasClass("mla-taxonomy-row")){a(this).remove()}})}});if(mlaModal.settings.enableTermsAutofill&&null!==d){a(".compat-field-"+d+" th",c).click()}};mlaModal.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .categorydiv",c).html(mlaModal.strings.loadingText)});a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .tagsdiv",c).html(mlaModal.strings.loadingText)});if(e.length){wp.media.post(mlaModal.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mlaModal.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mlaModal.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mlaModal.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(){var q,n,p=[],o=g.find(i+"-checklist input:checked");o.each(function(){p[p.length]=a(this).val()});p.sort(function(s,r){return s-r});p=p.join(",");n=g.siblings(j).val();if(n===p){return}g.siblings(j).val(p);g.prop("disabled",true);q={id:c,};q[f]=p;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,q).done(function(s){var r,t;for(r in s){for(t in s[r]){g.find("#"+t).html(s[r][t])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find("#new"+f+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove();if(null!==mlaModal.utility.mlaAttachmentsBrowser){mlaModal.utility.mlaAttachmentsBrowser.updateFilters(f,o)}}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var r,q,s,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}r=g.find(l).val();q=g.find(i+"-checklist li");s=g.find(i+"-checklist-pop li");if(0<r.length){q.hide();s.hide()}else{q.show();s.show()}o=g.find(i+"-checklist label:matchTerms('"+r+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+r+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mlaModal.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mlaModal.tagBox.init(c,e,b)})}}}(jQuery));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // uses Global ajaxurl
2
+
3
+ var wp, wpAjax, ajaxurl, jQuery, _,
4
+ getUserSetting, setUserSetting, deleteUserSetting,
5
+ mlaTaxonomy,
6
+ mlaModal = {
7
+ // Properties
8
+ strings: {},
9
+ settings: {},
10
+ initialHTML: {},
11
+ uploading: false,
12
+ cid: null,
13
+
14
+ // Utility functions
15
+ utility: {
16
+ originalMediaAjax: null,
17
+ mlaAttachmentsBrowser: null,
18
+ parseTermsOptions: null,
19
+ arrayCleanup: null,
20
+ parseTaxonomyId: null,
21
+ hookCompatTaxonomies: null,
22
+ fillCompatTaxonomies: null,
23
+ supportCompatTaxonomies: null
24
+ },
25
+
26
+ // Components
27
+ tagBox: null
28
+ };
29
+
30
+ (function($){
31
+ var mlaDrop = wp.media.view.AttachmentsBrowser;
32
+
33
+ /* for debug : trace every event triggered in the MediaFrame controller * /
34
+ var originalMediaFrameTrigger = wp.media.view.MediaFrame.prototype.trigger;
35
+ wp.media.view.MediaFrame.prototype.trigger = function(){
36
+ console.log('MediaFrame Event: ', arguments[0]);
37
+ originalMediaFrameTrigger.apply(this, Array.prototype.slice.call(arguments));
38
+ } // */
39
+
40
+ /* for debug : trace every event triggered in the view.Attachment controller * /
41
+ var originalAttachmentTrigger = wp.media.view.Attachment.prototype.trigger;
42
+ wp.media.view.Attachment.prototype.trigger = function(){
43
+ console.log('view.Attachment Event: ', arguments[0]);
44
+ originalAttachmentTrigger.apply(this, Array.prototype.slice.call(arguments));
45
+ } // */
46
+
47
+ /* for debug : trace every event triggered in the model.Attachment controller * /
48
+ var originalModelAttachmentTrigger = wp.media.model.Attachment.prototype.trigger;
49
+ wp.media.model.Attachment.prototype.trigger = function(){
50
+ console.log('model.Attachment Event: ', arguments[0]);
51
+ originalModelAttachmentTrigger.apply(this, Array.prototype.slice.call(arguments));
52
+ } // */
53
+
54
+ /* for debug : trace every event triggered in the view.AttachmentCompat controller * /
55
+ var originalAttachmentCompatTrigger = wp.media.view.AttachmentCompat.prototype.trigger;
56
+ wp.media.view.AttachmentCompat.prototype.trigger = function(){
57
+ console.log('view.AttachmentCompat Event: ', arguments[0]);
58
+
59
+ originalAttachmentCompatTrigger.apply(this, Array.prototype.slice.call(arguments));
60
+ } // */
61
+
62
+ /* for debug : trace every event triggered in the model.Selection controller * /
63
+ var originalModelSelectionTrigger = wp.media.model.Selection.prototype.trigger;
64
+ wp.media.model.Selection.prototype.trigger = function(){
65
+ console.log('model.Selection Event: ', arguments[0]);
66
+
67
+ originalModelSelectionTrigger.apply(this, Array.prototype.slice.call(arguments));
68
+ } // */
69
+
70
+ /* for debug : trace every invocation of the media.post method * /
71
+ var originalMediaPost = media.post;
72
+ media.post = function( action, data ) {
73
+ //console.log('media.post action: ', action );
74
+ //console.log('media.post data: ', JSON.stringify( data ) );
75
+
76
+ return originalMediaPost.apply(this, Array.prototype.slice.call(arguments));
77
+ }; // */
78
+
79
+ /* for debug : trace every invocation of the wp.ajax.send function * /
80
+ var originalWpAjaxSend = wp.ajax.send;
81
+ wp.ajax.send = function( action, data ) {
82
+ //console.log('wp.ajax.send action: ', JSON.stringify( action ) );
83
+ //console.log('wp.ajax.send data: ', JSON.stringify( data ) );
84
+
85
+ return originalWpAjaxSend.apply(this, Array.prototype.slice.call(arguments));
86
+ }; // */
87
+
88
+ /**
89
+ * Localized settings and strings
90
+ */
91
+ mlaModal.strings = typeof wp.media.view.l10n.mla_strings === 'undefined' ? {} : wp.media.view.l10n.mla_strings;
92
+ delete wp.media.view.l10n.mla_strings;
93
+
94
+ mlaModal.settings = typeof wp.media.view.settings.mla_settings === 'undefined' ? { screen: 'unknown', enableMediaGrid: false, enableMediaModal: false } : wp.media.view.settings.mla_settings;
95
+ delete wp.media.view.settings.mla_settings;
96
+
97
+ /*
98
+ * Do not proceed unless there's positive indication that the MLA enhancements
99
+ * have been enabled!
100
+ */
101
+ if ( ! ( mlaModal.settings.enableMediaGrid || mlaModal.settings.enableMediaModal ) ) {
102
+ return;
103
+ }
104
+
105
+ if ( ( 'grid' === mlaModal.settings.screen ) && false === mlaModal.settings.enableMediaGrid ) {
106
+ return;
107
+ }
108
+
109
+ if ( ( 'modal' === mlaModal.settings.screen ) && false === mlaModal.settings.enableMediaModal ) {
110
+ return;
111
+ }
112
+
113
+ /*
114
+ * Parse outgoing Ajax requests, look for the 'query-attachments' action and stuff
115
+ * our arguments into the "s" field because MMMW only monitors that one field.
116
+ */
117
+ mlaModal.utility.originalMediaAjax = wp.media.ajax;
118
+ wp.media.ajax = function( action, options ) {
119
+ var state = mlaModal.settings.state, query, stype, s, searchValues;
120
+
121
+ if ( _.isObject( action ) ) {
122
+ options = action;
123
+ } else {
124
+ options = options || {};
125
+ options.data = _.extend( options.data || {}, { action: action });
126
+ }
127
+
128
+ if ( 'query-attachments' == options.data.action ) {
129
+ query = options.data.query;
130
+ stype = typeof query.s;
131
+ if ( 'object' == stype )
132
+ s = query.s;
133
+ else if ( 'string' == stype )
134
+ s = { 'mla_search_value': query.s };
135
+ else
136
+ s = { 'mla_search_value': '' };
137
+
138
+ if ( 'undefined' != typeof query.post_mime_type )
139
+ mlaModal.settings.query[state].filterMime = query.post_mime_type;
140
+ else
141
+ mlaModal.settings.query[state].filterMime = 'all';
142
+
143
+ if ( 'undefined' != typeof s.mla_filter_month ){
144
+ mlaModal.settings.query[state].filterMonth = s.mla_filter_month;
145
+ } else {
146
+ if ( 'undefined' != typeof query.year ) {
147
+ // Media Grid native dateFilter
148
+ mlaModal.settings.query[state].filterMonth = ( 100 * query.year ) + ( 1 * query.monthnum ) ;
149
+ } else {
150
+ // mlaModal.settings.query[state].filterMonth = 0;
151
+ }
152
+ }
153
+
154
+ if ( 'undefined' != typeof s.mla_filter_term )
155
+ mlaModal.settings.query[state].filterTerm = s.mla_filter_term;
156
+
157
+ if ( 'undefined' != typeof s.mla_search_value )
158
+ mlaModal.settings.query[state].searchValue = s.mla_search_value;
159
+
160
+ searchValues = {
161
+ 'mla_filter_month': mlaModal.settings.query[state].filterMonth,
162
+ 'mla_filter_term': mlaModal.settings.query[state].filterTerm,
163
+ 'mla_terms_search': mlaModal.settings.query[state].termsSearch,
164
+ 'mla_search_clicks': mlaModal.settings.query[state].searchClicks,
165
+ 'mla_search_value': mlaModal.settings.query[state].searchValue,
166
+ 'mla_search_fields': mlaModal.settings.query[state].searchFields,
167
+ 'mla_search_connector': mlaModal.settings.query[state].searchConnector };
168
+
169
+ //Terms Search is not sticky
170
+ mlaModal.settings.query[state].termsSearch = '';
171
+ $( '#mla-terms-search-input' ).html( '' ).val( '' );
172
+
173
+ options.data.query.s = searchValues;
174
+ }
175
+
176
+ return mlaModal.utility.originalMediaAjax.call(this, options );
177
+ }; // wp.media.ajax
178
+
179
+ /**
180
+ * Extended Filters dropdown with more Mime Types
181
+ */
182
+ if ( mlaModal.settings.enableMimeTypes ) {
183
+ wp.media.view.AttachmentFilters.Mla = wp.media.view.AttachmentFilters.extend({
184
+ createFilters: function() {
185
+ var state = this.controller._state,
186
+ filters = {};
187
+
188
+ _.each( mlaModal.settings.allMimeTypes || {}, function( text, key ) {
189
+ if ( ( 'grid' === mlaModal.settings.screen ) || ( 'trash' !== key ) ) {
190
+ filters[ key ] = {
191
+ text: text,
192
+ props: {
193
+ type: key,
194
+ uploadedTo: null,
195
+ orderby: 'date',
196
+ order: 'DESC'
197
+ }
198
+ };
199
+ }
200
+ });
201
+
202
+ filters.all = {
203
+ text: wp.media.view.l10n.allMediaItems,
204
+ props: {
205
+ type: null,
206
+ uploadedTo: null,
207
+ orderby: 'date',
208
+ order: 'DESC'
209
+ },
210
+ priority: 10
211
+ };
212
+
213
+ if ( wp.media.view.settings.post.id ) {
214
+ filters.uploaded = {
215
+ text: wp.media.view.l10n.uploadedToThisPost,
216
+ props: {
217
+ type: null,
218
+ uploadedTo: wp.media.view.settings.post.id,
219
+ orderby: 'menuOrder',
220
+ order: 'ASC'
221
+ },
222
+ priority: 20
223
+ };
224
+ }
225
+
226
+ this.filters = filters;
227
+ if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterMime ] ) {
228
+ mlaModal.settings.query[state].filterMime = 'all';
229
+ }
230
+
231
+ if ( mlaModal.settings.query[state].filterMime != 'all' ) {
232
+ this.model.set( filters[ mlaModal.settings.query[state].filterMime ].props, { silent: false } );
233
+ }
234
+ },
235
+
236
+ select: function() {
237
+ var state = this.controller._state,
238
+ model = this.model,
239
+ value = mlaModal.settings.query[state].filterMime,
240
+ props = model.toJSON();
241
+
242
+ if ( false === mlaModal.settings.enableSearchBox ) {
243
+ if ( 'string' == typeof props.search ) {
244
+ mlaModal.settings.query[state].searchValue = props.search;
245
+ } else {
246
+ mlaModal.settings.query[state].searchValue = '';
247
+ }
248
+ }
249
+
250
+ _.find( this.filters, function( filter, id ) {
251
+ var equal = _.all( filter.props, function( prop, key ) {
252
+ return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
253
+ });
254
+
255
+ if ( equal ) {
256
+ return value = id;
257
+ }
258
+ });
259
+
260
+ this.$el.val( value );
261
+ },
262
+
263
+ change: function() {
264
+ var toolbar = $( this.el ).closest( 'div.media-toolbar' ),
265
+ filter = this.filters[ this.el.value ];
266
+
267
+ if ( filter ) {
268
+ // silent because we must change the "s" prop before triggering an update
269
+ this.model.set( filter.props, { silent: true } );
270
+ $( '#mla-search-submit', toolbar ).click();
271
+ }
272
+ }
273
+ });
274
+
275
+ wp.media.view.AttachmentFilters.MlaUploaded = wp.media.view.AttachmentFilters.extend({
276
+ createFilters: function() {
277
+ var type = this.model.get('type'),
278
+ types = wp.media.view.settings.mimeTypes,
279
+ text,
280
+ state = this.controller._state,
281
+ filters = {};
282
+
283
+ if ( types && type ) {
284
+ text = types[ type ];
285
+ }
286
+
287
+ _.each( mlaModal.settings.uploadMimeTypes || {}, function( text, key ) {
288
+ if ( ( 'grid' === mlaModal.settings.screen ) || ( 'trash' !== key ) ) {
289
+ filters[ key ] = {
290
+ text: text,
291
+ props: {
292
+ type: key,
293
+ uploadedTo: null,
294
+ orderby: 'date',
295
+ order: 'DESC'
296
+ }
297
+ };
298
+ }
299
+ });
300
+
301
+ filters.all = {
302
+ text: text || wp.media.view.l10n.allMediaItems,
303
+ props: {
304
+ uploadedTo: null,
305
+ orderby: 'date',
306
+ order: 'DESC'
307
+ },
308
+ priority: 10
309
+ };
310
+
311
+ filters.uploaded = {
312
+ text: wp.media.view.l10n.uploadedToThisPost,
313
+ props: {
314
+ type: null,
315
+ uploadedTo: wp.media.view.settings.post.id,
316
+ orderby: 'menuOrder',
317
+ order: 'ASC'
318
+ },
319
+ priority: 20
320
+ };
321
+
322
+ filters.unattached = {
323
+ text: wp.media.view.l10n.unattached,
324
+ props: {
325
+ uploadedTo: 0,
326
+ orderby: 'menuOrder',
327
+ order: 'ASC'
328
+ },
329
+ priority: 50
330
+ };
331
+
332
+ this.filters = filters;
333
+ if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterUploaded ] ) {
334
+ mlaModal.settings.query[state].filterUploaded = 'all';
335
+ }
336
+
337
+ if ( mlaModal.settings.query[state].filterUploaded != 'all' ) {
338
+ this.model.set( filters[ mlaModal.settings.query[state].filterUploaded ].props, { silent: false } );
339
+ }
340
+ },
341
+
342
+ select: function() {
343
+ var state = this.controller._state,
344
+ model = this.model,
345
+ value = mlaModal.settings.query[state].filterMime,
346
+ props = model.toJSON();
347
+
348
+ if ( false === mlaModal.settings.enableSearchBox ) {
349
+ if ( 'string' == typeof props.search ) {
350
+ mlaModal.settings.query[state].searchValue = props.search;
351
+ } else {
352
+ mlaModal.settings.query[state].searchValue = '';
353
+ }
354
+ }
355
+
356
+ _.find( this.filters, function( filter, id ) {
357
+ var equal = _.all( filter.props, function( prop, key ) {
358
+ return prop === ( _.isUndefined( props[ key ] ) ? null : props[ key ] );
359
+ });
360
+
361
+ if ( equal ) {
362
+ return value = id;
363
+ }
364
+ });
365
+
366
+ this.$el.val( value );
367
+ },
368
+
369
+ change: function() {
370
+ var toolbar = $( this.el ).closest( 'div.media-toolbar' ),
371
+ filter = this.filters[ this.el.value ];
372
+
373
+ if ( filter ) {
374
+ // silent because we must change the "s" prop before triggering an update
375
+ this.model.set( filter.props, { silent: true } );
376
+ $( '#mla-search-submit', toolbar ).click();
377
+ }
378
+ }
379
+ });
380
+ }
381
+
382
+ /**
383
+ * Extended Filters dropdown with month and year selection values
384
+ */
385
+ if ( mlaModal.settings.enableMonthsDropdown ) {
386
+ wp.media.view.AttachmentFilters.MlaMonths = wp.media.view.AttachmentFilters.extend({
387
+ className: 'attachment-filters',
388
+ id: 'media-attachment-date-filters',
389
+
390
+ createFilters: function() {
391
+ var state = this.controller._state,
392
+ filters = {};
393
+
394
+ _.each( mlaModal.settings.months || {}, function( text, key ) {
395
+ filters[ key ] = {
396
+ text: text,
397
+ props: { s: { 'mla_filter_month': key } }
398
+ };
399
+ });
400
+
401
+ this.filters = filters;
402
+ if ( 'undefined' === typeof filters[ mlaModal.settings.query[state].filterMonth ] ) {
403
+ mlaModal.settings.query[state].filterMonth = 0;
404
+ }
405
+
406
+ if ( mlaModal.settings.query[state].filterMonth > 0 )
407
+ this.model.set( filters[ mlaModal.settings.query[state].filterMonth ].props, { silent: false } );
408
+ },
409
+
410
+ select: function() {
411
+ var state = this.controller._state,
412
+ model = this.model,
413
+ value = mlaModal.settings.query[state].filterMonth,
414
+ props = model.toJSON();
415
+
416
+ if ( _.isUndefined( props.s ) )
417
+ props.s = {};
418
+
419
+ if ( false === mlaModal.settings.enableSearchBox ) {
420
+ if ( 'string' == typeof props.search ) {
421
+ mlaModal.settings.query[state].searchValue = props.search;
422
+ } else {
423
+ mlaModal.settings.query[state].searchValue = '';
424
+ }
425
+ }
426
+
427
+ if (_.isUndefined( props.s.mla_filter_month ) )
428
+ props.s.mla_filter_month = mlaModal.settings.query[state].filterMonth;
429
+ else
430
+ mlaModal.settings.query[state].filterMonth = props.s.mla_filter_month;
431
+
432
+ _.find( this.filters, function( filter, id ) {
433
+ var equal = _.all( filter.props, function( prop ) {
434
+ return prop.mla_filter_month == mlaModal.settings.query[state].filterMonth;
435
+ });
436
+
437
+ if ( equal )
438
+ return value = id;
439
+ });
440
+
441
+ this.$el.val( value );
442
+ },
443
+
444
+ change: function() {
445
+ var filter = this.filters[ this.el.value ], newProps;
446
+ if ( filter ) {
447
+ newProps = { s: { 'mla_filter_month': filter.props.s.mla_filter_month } };
448
+ this.model.set( newProps );
449
+ }
450
+ }
451
+ });
452
+ }
453
+
454
+ /**
455
+ * Extended Filters dropdown with taxonomy term selection values
456
+ */
457
+ if ( mlaModal.settings.enableTermsDropdown ) {
458
+ wp.media.view.AttachmentFilters.MlaTerms = wp.media.view.AttachmentFilters.extend({
459
+ className: 'attachment-filters',
460
+ id: 'media-attachment-term-filters',
461
+
462
+ createFilters: function() {
463
+ var state = this.controller._state, index,
464
+ filters = {};
465
+
466
+ _.each( mlaModal.settings.termsText || {}, function( text, key ) {
467
+ filters[ key ] = {
468
+ text: text,
469
+ props: { s: { 'mla_filter_term': parseInt( mlaModal.settings.termsValue[ key ] ) } }
470
+ };
471
+ });
472
+
473
+ this.filters = filters;
474
+ // need to translate from termsValue to the index value
475
+ index = _.indexOf( mlaModal.settings.termsValue, mlaModal.settings.query[state].filterTerm );
476
+ if ( index > 0 )
477
+ this.model.set( filters[ index ].props, { silent: false } );
478
+ },
479
+
480
+ select: function() {
481
+ var state = this.controller._state,
482
+ model = this.model,
483
+ value = mlaModal.settings.query[state].filterTerm,
484
+ props = model.toJSON();
485
+
486
+ if ( _.isUndefined( props.s ) )
487
+ props.s = {};
488
+
489
+ if ( false === mlaModal.settings.enableSearchBox ) {
490
+ if ( 'string' == typeof props.search ) {
491
+ mlaModal.settings.query[state].searchValue = props.search;
492
+ } else {
493
+ mlaModal.settings.query[state].searchValue = '';
494
+ }
495
+ }
496
+
497
+ if (_.isUndefined( props.s.mla_filter_term ) )
498
+ props.s.mla_filter_term = mlaModal.settings.query[state].filterTerm;
499
+ else
500
+ mlaModal.settings.query[state].filterTerm = props.s.mla_filter_term;
501
+
502
+ _.find( this.filters, function( filter, id ) {
503
+ var equal = _.all( filter.props, function( prop ) {
504
+ return prop.mla_filter_term == mlaModal.settings.query[state].filterTerm;
505
+ });
506
+
507
+ if ( equal )
508
+ return value = id;
509
+ });
510
+
511
+ this.$el.val( value );
512
+ },
513
+
514
+ change: function() {
515
+ var filter = this.filters[ this.el.value ], newProps;
516
+
517
+ if ( filter ) {
518
+ newProps = { s: { 'mla_filter_term': filter.props.s.mla_filter_term } };
519
+ this.model.set( newProps );
520
+ }
521
+ }
522
+ });
523
+ }
524
+
525
+ /**
526
+ * Extended Terms Search activation button
527
+ */
528
+ if ( mlaModal.settings.enableTermsSearch ) {
529
+ wp.media.view.MlaTermsSearch = wp.media.View.extend({
530
+ tagName: 'span',
531
+ className: 'mla-terms-search',
532
+ template: wp.media.template('mla-terms-search-button'),
533
+
534
+ attributes: {
535
+ type: 'mla-terms-search-button'
536
+ },
537
+
538
+ events: {
539
+ 'change': 'termsSearchOpen',
540
+ 'click': 'termsSearchOpen',
541
+ },
542
+
543
+ render: function() {
544
+ this.$el.html( this.template( mlaModal.strings ) );
545
+ return this;
546
+ },
547
+
548
+ termsSearchOpen: function( event ) {
549
+ var toolbar = $( this.el ).closest( 'div.media-toolbar' );
550
+
551
+ if ( ( 'click' == event.type ) && ( 'mla_terms_search' === event.target.name ) ) {
552
+ mlaTaxonomy.termsSearch.open();
553
+
554
+ $( '#mla-terms-search-form' ).off( 'submit' ); // only fire once per open
555
+ $( '#mla-terms-search-form' ).submit( function( e ){
556
+ var inputs, inputIndex, termsSearch = { phrases: '', taxonomies: [] };
557
+
558
+ e.preventDefault();
559
+
560
+ inputs = $( '#mla-terms-search-form' ).serializeArray();
561
+ for( inputIndex = 0; inputIndex < inputs.length; inputIndex++ ) {
562
+ switch ( inputs[ inputIndex ].name ) {
563
+ case 'mla_terms_search[phrases]':
564
+ termsSearch.phrases = inputs[ inputIndex ].value;
565
+ break;
566
+ case 'mla_terms_search[radio_phrases]':
567
+ termsSearch.radio_phrases = inputs[ inputIndex ].value;
568
+ break;
569
+ case 'mla_terms_search[radio_terms]':
570
+ termsSearch.radio_terms = inputs[ inputIndex ].value;
571
+ break;
572
+ case 'mla_terms_search[taxonomies][]':
573
+ termsSearch.taxonomies[ termsSearch.taxonomies.length ] = inputs[ inputIndex ].value;
574
+ break;
575
+ }
576
+ }
577
+
578
+ mlaModal.settings.query[mlaModal.settings.state].termsSearch = termsSearch;
579
+ $( '#mla-search-submit', toolbar ).click();
580
+ return false;
581
+ });
582
+
583
+ $( '#mla-terms-search-input' ).keypress( function( e ){
584
+ if ( 13 == e.which ) {
585
+ e.preventDefault();
586
+ $( '#mla-terms-search-submit' ).click();
587
+ }
588
+ });
589
+ }
590
+ }
591
+ }); // wp.media.view.MlaTermsSearch
592
+ } // mlaModal.settings.enableTermsSearch
593
+
594
+ /* for debug : trace every event triggered in the wp.media.view.MlaSearch * /
595
+ function MlaSearchOn( eventName ) {
596
+ console.log('wp.media.view.MlaSearch Event: ', eventName);
597
+ } // */
598
+
599
+ /**
600
+ * Extended wp.media.view.Search
601
+ */
602
+ if ( mlaModal.settings.enableSearchBox ) {
603
+ wp.media.view.MlaSearch = wp.media.View.extend({
604
+ tagName: 'div',
605
+ className: 'mla-search-box',
606
+ template: wp.media.template('mla-search-box'),
607
+
608
+ attributes: {
609
+ type: 'mla-search-box'
610
+ },
611
+
612
+ events: {
613
+ 'input': 'search',
614
+ 'change': 'search',
615
+ 'click': 'search',
616
+ 'search': 'search',
617
+ 'MlaSearch': 'search'
618
+ },
619
+
620
+ initialize: function() {
621
+ var state = this.controller._state;
622
+ /* for debug : trace every event triggered in the wp.media.view.MlaSearch * /
623
+ wp.media.view.MlaSearch.off( 'all', MlaSearchOn );
624
+ wp.media.view.MlaSearch.on( 'all', MlaSearchOn );
625
+ // */
626
+
627
+ if ( 'undefined' === typeof mlaModal.settings.query[ state ] ) {
628
+ mlaModal.settings.query[ state ] = _.clone( mlaModal.settings.query.initial );
629
+ mlaModal.settings.query[ state ].searchFields = _.clone( mlaModal.settings.query.initial.searchFields );
630
+ }
631
+ },
632
+
633
+ render: function() {
634
+ var state = this.controller._state,
635
+ data = _.extend( mlaModal.strings, mlaModal.settings.query[ state ] );
636
+ this.$el.html( this.template( data ) );
637
+ return this;
638
+ },
639
+
640
+ search: function( event ) {
641
+ var state = this.controller._state, searchValues, searchFields, index;
642
+
643
+ if ( ( 'input' == event.type ) && ( 's[mla_search_value]' == event.target.name ) ) {
644
+ mlaModal.settings.query[ state ].searchValue = event.target.value;
645
+ return;
646
+ }
647
+
648
+ if ( ( 'click' == event.type ) && ( 'mla_search_submit' != event.target.name ) ) {
649
+ return;
650
+ }
651
+
652
+ switch ( event.target.name ) {
653
+ case 's[mla_search_value]':
654
+ mlaModal.settings.query[ state ].searchValue = event.target.value;
655
+ break;
656
+ case 'mla_search_submit':
657
+ searchValues = {
658
+ 'mla_filter_month': mlaModal.settings.query[ state ].filterMonth,
659
+ 'mla_filter_term': mlaModal.settings.query[ state ].filterTerm,
660
+ 'mla_terms_search': mlaModal.settings.query[ state ].termsSearch,
661
+ 'mla_search_clicks': mlaModal.settings.query[ state ].searchClicks++,
662
+ 'mla_search_value': mlaModal.settings.query[ state ].searchValue,
663
+ 'mla_search_fields': mlaModal.settings.query[ state ].searchFields,
664
+ 'mla_search_connector': mlaModal.settings.query[ state ].searchConnector };
665
+ this.model.set({ 's': searchValues });
666
+ break;
667
+ case 's[mla_search_connector]':
668
+ mlaModal.settings.query[ state ].searchConnector = event.target.value;
669
+ break;
670
+ case 's[mla_search_title]':
671
+ searchFields = mlaModal.settings.query[ state ].searchFields;
672
+ index = searchFields.indexOf( 'title' );
673
+ if ( -1 == index )
674
+ searchFields.push( 'title' );
675
+ else
676
+ searchFields.splice( index, 1 );
677
+
678
+ mlaModal.settings.query[ state ].searchFields = searchFields;
679
+ break;
680
+ case 's[mla_search_name]':
681
+ index = mlaModal.settings.query[ state ].searchFields.indexOf( 'name' );
682
+ if ( -1 == index )
683
+ mlaModal.settings.query[ state ].searchFields.push( 'name' );
684
+ else
685
+ mlaModal.settings.query[ state ].searchFields.splice( index, 1 );
686
+ break;
687
+ case 's[mla_search_alt_text]':
688
+ index = mlaModal.settings.query[ state ].searchFields.indexOf( 'alt-text' );
689
+ if ( -1 == index )
690
+ mlaModal.settings.query[ state ].searchFields.push( 'alt-text' );
691
+ else
692
+ mlaModal.settings.query[ state ].searchFields.splice( index, 1 );
693
+ break;
694
+ case 's[mla_search_excerpt]':
695
+ index = mlaModal.settings.query[ state ].searchFields.indexOf( 'excerpt' );
696
+ if ( -1 == index )
697
+ mlaModal.settings.query[ state ].searchFields.push( 'excerpt' );
698
+ else
699
+ mlaModal.settings.query[ state ].searchFields.splice( index, 1 );
700
+ break;
701
+ case 's[mla_search_content]':
702
+ index = mlaModal.settings.query[ state ].searchFields.indexOf( 'content' );
703
+ if ( -1 == index )
704
+ mlaModal.settings.query[ state ].searchFields.push( 'content' );
705
+ else
706
+ mlaModal.settings.query[ state ].searchFields.splice( index, 1 );
707
+ break;
708
+ case 's[mla_search_terms]':
709
+ index = mlaModal.settings.query[ state ].searchFields.indexOf( 'terms' );
710
+ if ( -1 == index )
711
+ mlaModal.settings.query[ state ].searchFields.push( 'terms' );
712
+ else
713
+ mlaModal.settings.query[ state ].searchFields.splice( index, 1 );
714
+ break;
715
+ }
716
+ }
717
+ }); // wp.media.view.MlaSearch
718
+ } else {
719
+ wp.media.view.MlaSearch = wp.media.View.extend({
720
+ tagName: 'span',
721
+ className: 'mla-simulate-search-button',
722
+ template: wp.media.template('mla-simulate-search-button'),
723
+
724
+ attributes: {
725
+ type: 'mla-simulate-search-button'
726
+ },
727
+
728
+ events: {
729
+ 'click': 'simulateSearch',
730
+ },
731
+
732
+ render: function() {
733
+ this.$el.html( this.template( mlaModal.strings ) );
734
+ return this;
735
+ },
736
+
737
+ simulateSearch: function() {
738
+ var state = this.controller._state, searchValues = {
739
+ 'mla_filter_month': mlaModal.settings.query[ state ].filterMonth,
740
+ 'mla_filter_term': mlaModal.settings.query[ state ].filterTerm,
741
+ 'mla_terms_search': mlaModal.settings.query[ state ].termsSearch,
742
+ 'mla_search_clicks': mlaModal.settings.query[ state ].searchClicks++,
743
+ 'mla_search_value': mlaModal.settings.query[ state ].searchValue,
744
+ 'mla_search_fields': mlaModal.settings.query[ state ].searchFields,
745
+ 'mla_search_connector': mlaModal.settings.query[ state ].searchConnector };
746
+ this.model.set({ 's': searchValues });
747
+ }
748
+ }); // Simulated search
749
+ } // mlaModal.settings.enableSearchBox
750
+
751
+ /**
752
+ * Add/replace media-toolbar controls with our own
753
+ */
754
+ if ( mlaModal.settings.enableMimeTypes || mlaModal.settings.enableMonthsDropdown || mlaModal.settings.enableTermsDropdown || mlaModal.settings.enableTermsSearch || mlaModal.settings.enableSearchBox ) {
755
+ wp.media.view.AttachmentsBrowser = wp.media.view.AttachmentsBrowser.extend({
756
+ /* for debug : trace every event triggered in this.controller * /
757
+ toolbarEvent: function( eventName ) {
758
+ var id = this.model.attributes.id;
759
+ console.log('toolbarEvent this.model.attributes: ', JSON.stringify( this.model.attributes ));
760
+ console.log('toolbarEvent( ', id, ' ) Event: ', eventName);
761
+ }, // */
762
+
763
+ createToolbar: function() {
764
+ var filters, state = this.controller._state;
765
+
766
+ mlaModal.settings.state = state;
767
+ mlaModal.settings.$el = this.controller.$el;
768
+ if ( 'undefined' === typeof mlaModal.settings.query[ state ] ) {
769
+ mlaModal.settings.query[ state ] = _.clone( mlaModal.settings.query.initial );
770
+ mlaModal.settings.query[ state ].searchFields = _.clone( mlaModal.settings.query.initial.searchFields );
771
+ }
772
+
773
+ /* for debug : trace every event triggered in the this.controller * /
774
+ this.stopListening( this.controller );
775
+ this.listenTo( this.controller, 'all', this.toolbarEvent );
776
+ // */
777
+
778
+ // Apply the original method to create the toolbar
779
+ //wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply( this, arguments );
780
+ mlaDrop.prototype.createToolbar.apply( this, arguments );
781
+ mlaModal.utility.mlaAttachmentsBrowser = this;
782
+ filters = this.options.filters;
783
+
784
+ // Enhanced Media Library (eml) plugin has CSS styles that require this patch
785
+ if ( typeof window.eml !== "undefined" ) {
786
+ $( '.media-toolbar', this.$el ).css( 'overflow', 'hidden' );
787
+ }
788
+
789
+ if ( ( 'all' === filters ) && mlaModal.settings.enableMimeTypes ) {
790
+ this.toolbar.unset( 'filters', { silent: true } );
791
+ this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.Mla({
792
+ controller: this.controller,
793
+ model: this.collection.props,
794
+ priority: -80
795
+ }).render() );
796
+ }
797
+
798
+ if ( ( 'uploaded' === filters ) && mlaModal.settings.enableMimeTypes ) {
799
+ this.toolbar.unset( 'filters', { silent: true } );
800
+ this.toolbar.set( 'filters', new wp.media.view.AttachmentFilters.MlaUploaded({
801
+ controller: this.controller,
802
+ model: this.collection.props,
803
+ priority: -80
804
+ }).render() );
805
+ }
806
+
807
+ if ( this.options.search && mlaModal.settings.enableMonthsDropdown ) {
808
+ this.toolbar.unset( 'dateFilter', { silent: true } );
809
+ this.toolbar.set( 'dateFilter', new wp.media.view.AttachmentFilters.MlaMonths({
810
+ controller: this.controller,
811
+ model: this.collection.props,
812
+ priority: -75
813
+ }).render() );
814
+ }
815
+
816
+ if ( this.options.search && mlaModal.settings.enableTermsDropdown ) {
817
+ this.toolbar.set( 'terms', new wp.media.view.AttachmentFilters.MlaTerms({
818
+ controller: this.controller,
819
+ model: this.collection.props,
820
+ priority: -50
821
+ }).render() );
822
+ }
823
+
824
+ if ( this.options.search && mlaModal.settings.enableTermsSearch ) {
825
+ this.toolbar.set( 'termsSearch', new wp.media.view.MlaTermsSearch({
826
+ controller: this.controller,
827
+ model: this.collection.props,
828
+ priority: -50
829
+ }).render() );
830
+ }
831
+
832
+ if ( this.options.search ) {
833
+ if ( mlaModal.settings.enableSearchBox ) {
834
+ this.controller.on( 'content:activate', this.hideDefaultSearch );
835
+ this.controller.on( 'router:render', this.hideDefaultSearch );
836
+ this.controller.on( 'uploader:ready', this.hideDefaultSearch );
837
+ this.controller.on( 'edit:activate', this.hideDefaultSearch );
838
+
839
+ this.toolbar.set( 'MlaSearch', new wp.media.view.MlaSearch({
840
+ controller: this.controller,
841
+ model: this.collection.props,
842
+ priority: 60
843
+ }).render() );
844
+ } else {
845
+ this.toolbar.set( 'MlaSearch', new wp.media.view.MlaSearch({
846
+ controller: this.controller,
847
+ model: this.collection.props,
848
+ priority: 70
849
+ }).render() );
850
+ }
851
+ }
852
+ },
853
+
854
+ hideDefaultSearch: function() {
855
+ var defaultSearch = $( '#media-search-input', this.el );
856
+
857
+ if ( 0 === defaultSearch.length ) {
858
+ defaultSearch = $( 'div.media-toolbar-primary > input.search', this.el )
859
+ }
860
+
861
+ defaultSearch.hide();
862
+ },
863
+
864
+ updateFilters: function( taxonomy, selectMarkup ) {
865
+ var newOptions = {};
866
+
867
+ if ( this.options.search && mlaModal.settings.enableTermsDropdown && mlaModal.settings.termsTaxonomy == taxonomy ) {
868
+ newOptions = mlaModal.utility.parseTermsOptions( selectMarkup );
869
+ mlaModal.settings.termsClass = newOptions.termsClass;
870
+ mlaModal.settings.termsText = newOptions.termsText;
871
+ mlaModal.settings.termsValue = newOptions.termsValue;
872
+
873
+ this.toolbar.unset( 'terms', { silent: true } );
874
+ this.toolbar.set( 'terms', new wp.media.view.AttachmentFilters.MlaTerms({
875
+ controller: this.controller,
876
+ model: this.collection.props,
877
+ priority: -80
878
+ }).render() );
879
+ }
880
+ }
881
+ });
882
+ } // one or more MLA options enabled
883
+
884
+ /**
885
+ * extract value and text elements from Dropdown HTML option tags
886
+ */
887
+ mlaModal.utility.parseTermsOptions = function ( selectMarkup ) {
888
+ var termsOptions = {
889
+ 'termsClass': [ mlaModal.settings.termsClass[0], mlaModal.settings.termsClass[1] ],
890
+ 'termsText': [ mlaModal.settings.termsText[0], mlaModal.settings.termsText[1] ],
891
+ 'termsValue': [ mlaModal.settings.termsValue[0], mlaModal.settings.termsValue[1] ]
892
+ }, termsCount = 2, termsIndex, termId,
893
+ regEx = /\<option(( class=\"([^\"]+)\" )|( ))value=((\'([^\']+)\')|(\"([^\"]+)\"))([^\>]*)\>([^\<]*)\<.*/g,
894
+ results = [];
895
+
896
+ // Check for flat taxonomy updates
897
+ if ( 'object' === typeof selectMarkup ) {
898
+ termsCount = mlaModal.settings.termsValue.length;
899
+
900
+ /*
901
+ * Create a sortable array of the existing terms, and
902
+ * remove existing terms from the selectMarkup array
903
+ */
904
+ for ( termsIndex = 2; termsIndex < termsCount; termsIndex++ ) {
905
+ results[ termsIndex ] = {
906
+ 'termsClass': mlaModal.settings.termsClass[ termsIndex ],
907
+ 'termsText': mlaModal.settings.termsText[ termsIndex ],
908
+ 'termsValue': mlaModal.settings.termsValue[ termsIndex ]
909
+ };
910
+
911
+ if ( 'undefined' !== typeof selectMarkup[ mlaModal.settings.termsValue[ termsIndex ] ] ) {
912
+ delete selectMarkup[ mlaModal.settings.termsValue[ termsIndex ] ];
913
+ }
914
+ }
915
+
916
+ // Add surviving terms, if any, to the sortable array
917
+ for ( termId in selectMarkup ) {
918
+ results[ termsIndex++ ] = {
919
+ 'termsClass': 'level-0',
920
+ 'termsText': selectMarkup[ termId ],
921
+ 'termsValue': termId.toString()
922
+ };
923
+ }
924
+
925
+ if ( termsCount === termsIndex ) {
926
+ // no changes
927
+ return {
928
+ 'termsClass': mlaModal.settings.termsClass,
929
+ 'termsText': mlaModal.settings.termsText,
930
+ 'termsValue': mlaModal.settings.termsValue
931
+ };
932
+ }
933
+
934
+ // Something was added; sort the array and re-build the filter arrays
935
+ results.sort( function ( a, b ) {
936
+ if ( a.termsText > b.termsText ) {
937
+ return 1;
938
+ } else {
939
+ if ( a.termsText < b.termsText ) {
940
+ return -1;
941
+ } else {
942
+ return 0;
943
+ }
944
+ }
945
+ } );
946
+
947
+ termsIndex = 2;
948
+ for ( termId in results ) {
949
+ termsOptions.termsClass[ termsIndex ] = results[ termId ].termsClass;
950
+ termsOptions.termsText[ termsIndex ] = results[ termId ].termsText;
951
+ termsOptions.termsValue[ termsIndex++ ] = results[ termId ].termsValue;
952
+ }
953
+
954
+ return termsOptions;
955
+ }
956
+
957
+ // Test the contents and skip the first match, the "no parent" placeholder
958
+ results = regEx.exec( selectMarkup );
959
+ while ( null !== ( results = regEx.exec( selectMarkup ) ) ) {
960
+ termsOptions.termsClass[termsCount] = results[3];
961
+ termsOptions.termsValue[termsCount] = ( 'undefined' === typeof results[6] ) ? results[9] : results[7];
962
+ termsOptions.termsText[termsCount++] = results[11].replace( '&nbsp;', mlaModal.settings.termsIndent );
963
+ }
964
+
965
+ return termsOptions;
966
+ };
967
+
968
+ /**
969
+ * return a sorted array with any duplicate, whitespace or values removed
970
+ * Adapted from /wp-admin/js/post.js
971
+ */
972
+ mlaModal.utility.arrayCleanup = function ( arrayIn ) {
973
+ var arrayOut = [], isString = ( 'string' === typeof arrayIn );
974
+
975
+ if( isString ) {
976
+ arrayIn = arrayIn.split( mlaModal.settings.comma );
977
+ }
978
+
979
+ jQuery.each( arrayIn, function( key, val ) {
980
+ val = jQuery.trim( val );
981
+
982
+ if ( val && jQuery.inArray( val, arrayOut ) == -1 ) {
983
+ arrayOut.push( val );
984
+ }
985
+
986
+ });
987
+
988
+ arrayOut.sort();
989
+
990
+ if( isString ) {
991
+ arrayOut = arrayOut.join( mlaModal.settings.comma );
992
+ }
993
+
994
+ return arrayOut;
995
+ };
996
+
997
+ /**
998
+ * Extract the taxonomy name from an HTML id attribute,
999
+ * removing the 'mla-' and 'taxonomy-' prefixes.
1000
+ */
1001
+ mlaModal.utility.parseTaxonomyId = function ( id ) {
1002
+ var taxonomyParts = id.split( '-' );
1003
+
1004
+ taxonomyParts.shift(); // 'mla-'
1005
+ taxonomyParts.shift(); // 'taxonomy-'
1006
+ return taxonomyParts.join('-');
1007
+ };
1008
+
1009
+ /**
1010
+ * Support functions for flat taxonomies, e.g. Tags, Att. Tags
1011
+ */
1012
+ mlaModal.tagBox = {
1013
+ /**
1014
+ * Remove duplicate commas and whitespace from a string containing a tag list
1015
+ */
1016
+ cleanTags : function( tags ) {
1017
+ var comma = mlaModal.settings.comma;
1018
+ if ( ',' !== comma ) {
1019
+ tags = tags.replace( new RegExp( comma, 'g' ), ',' );
1020
+ }
1021
+
1022
+ tags = tags.replace( /\s*,\s*/g, ',' ).replace( /,+/g, ',' ).replace( /[,\s]+$/, '' ).replace( /^[,\s]+/, '' );
1023
+
1024
+ if ( ',' !== comma ) {
1025
+ tags = tags.replace( /,/g, comma );
1026
+ }
1027
+
1028
+ return tags;
1029
+ },
1030
+
1031
+ /**
1032
+ * Remove a tag from the list when the "X" button is clicked
1033
+ */
1034
+ parseTags : function( el ) {
1035
+ var id = el.id, num = id.split( '-check-num-' )[1],
1036
+ tagsDiv = $( el ).closest( '.tagsdiv' ),
1037
+ thetags = tagsDiv.find( '.the-tags' ), comma = mlaModal.settings.comma,
1038
+ current_tags = thetags.val().split( comma ), new_tags = [];
1039
+
1040
+ delete current_tags[ num ];
1041
+
1042
+ $.each( current_tags, function( key, val ) {
1043
+ val = $.trim( val );
1044
+ if ( val ) {
1045
+ new_tags.push( val );
1046
+ }
1047
+ });
1048
+
1049
+ thetags.val( this.cleanTags( new_tags.join( comma ) ) );
1050
+
1051
+ this.quickClicks( tagsDiv );
1052
+ return false;
1053
+ },
1054
+
1055
+ /**
1056
+ * Build or rebuild the current tag list prefaced with "X" buttons,
1057
+ * using the hidden '.the-tags' textbox field as input
1058
+ */
1059
+ quickClicks : function( el ) {
1060
+ var thetags = $( '.the-tags', el ),
1061
+ tagchecklist = $( '.tagchecklist', el ),
1062
+ id = $( el ).attr( 'id' ),
1063
+ current_tags, disabled;
1064
+
1065
+ if ( !thetags.length ) {
1066
+ return;
1067
+ }
1068
+
1069
+ disabled = thetags.prop( 'disabled' );
1070
+
1071
+ current_tags = thetags.val().split( mlaModal.settings.comma );
1072
+ tagchecklist.empty();
1073
+
1074
+ $.each( current_tags, function( key, val ) {
1075
+ var span, xbutton;
1076
+
1077
+ val = $.trim( val );
1078
+
1079
+ if ( ! val ) {
1080
+ return;
1081
+ }
1082
+
1083
+ // Create a new span, and ensure the text is properly escaped.
1084
+ span = $( '<span />' ).text( val );
1085
+
1086
+ // If tags editing isn't disabled, create the X button.
1087
+ if ( ! disabled ) {
1088
+ xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton">X</a>' );
1089
+ xbutton.click( function(){ mlaModal.tagBox.parseTags( this ); });
1090
+ span.prepend( '&nbsp;' ).prepend( xbutton );
1091
+ }
1092
+
1093
+ // Append the span to the tag list.
1094
+ tagchecklist.append( span );
1095
+ });
1096
+ },
1097
+
1098
+ /**
1099
+ * Add one or more tags from the 'input.newtag' text field or from the "a" element
1100
+ */
1101
+ flushTags : function( tagsDiv, a, f ) {
1102
+ var tagsval, newtags, text,
1103
+ tags = $( '.the-tags', tagsDiv ),
1104
+ newtag = $( 'input.newtag', tagsDiv ),
1105
+ comma = mlaModal.settings.comma;
1106
+
1107
+ a = a || false;
1108
+
1109
+ text = a ? $( a ).text() : newtag.val();
1110
+ tagsval = tags.val();
1111
+ newtags = tagsval ? tagsval + comma + text : text;
1112
+
1113
+ newtags = mlaModal.utility.arrayCleanup( this.cleanTags( newtags ) );
1114
+ tags.val( newtags );
1115
+ this.quickClicks( tagsDiv );
1116
+
1117
+ if ( !a ) {
1118
+ newtag.val( '' );
1119
+ }
1120
+
1121
+ if ( 'undefined' == typeof( f ) ) {
1122
+ newtag.focus();
1123
+ }
1124
+
1125
+ return false;
1126
+ },
1127
+
1128
+ /**
1129
+ * Retrieve the tag cloud for this taxonomy
1130
+ */
1131
+ getCloud : function( id, taxonomy ) {
1132
+ $.post( ajaxurl, {'action':'get-tagcloud', 'tax':taxonomy}, function( r, stat ) {
1133
+ if ( 0 === r || 'success' != stat ) {
1134
+ r = wpAjax.broken;
1135
+ }
1136
+
1137
+ r = $( '<p id="tagcloud-'+taxonomy+'" class="the-tagcloud">'+r+'</p>' );
1138
+ $( 'a', r ).click( function(){
1139
+ mlaModal.tagBox.flushTags( $( this ).closest( '.mla-taxonomy-field' ).children( '.tagsdiv' ), this );
1140
+ return false;
1141
+ });
1142
+
1143
+ $( '#'+id ).after( r );
1144
+ });
1145
+ },
1146
+
1147
+ init : function( attachmentId, taxonomy, context ) {
1148
+ var tagsDiv, ajaxTag;
1149
+ tagsDiv = $( '#mla-taxonomy-' + taxonomy, context );
1150
+ ajaxTag = $( 'div.ajaxtag', tagsDiv );
1151
+
1152
+ mlaModal.tagBox.quickClicks( tagsDiv );
1153
+
1154
+ $( 'input.tagadd', ajaxTag ).click(function(){
1155
+ mlaModal.tagBox.flushTags( $(this).closest( '.tagsdiv' ) );
1156
+ });
1157
+
1158
+ $( 'input.newtag', ajaxTag ).keyup( function( e ){
1159
+ if ( 13 == e.which ) {
1160
+ mlaModal.tagBox.flushTags( tagsDiv );
1161
+ return false;
1162
+ }
1163
+ }).keypress( function( e ){
1164
+ if ( 13 == e.which ) {
1165
+ e.preventDefault();
1166
+ return false;
1167
+ }
1168
+ }).each( function(){
1169
+ $( this ).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxonomy, { delay: 500, resultsClass: 'mla_ac_results', selectClass: 'mla_ac_over', matchClass: 'mla_ac_match', minchars: 2, multiple: true, multipleSep: mlaModal.settings.comma + ' ' } );
1170
+ });
1171
+
1172
+ // get the tag cloud on first click, then toggle visibility
1173
+ tagsDiv.siblings( ':first' ).click( function(){
1174
+ mlaModal.tagBox.getCloud( $( 'a', this ).attr( 'id' ), taxonomy );
1175
+ $( 'a', this ).unbind().click( function(){
1176
+ $( this ).siblings( '.the-tagcloud' ).toggle();
1177
+ return false;
1178
+ });
1179
+ return false;
1180
+ });
1181
+
1182
+ // Update the taxonomy terms, if changed, on the server when the mouse leaves the tagsdiv area
1183
+ $( '.compat-field-' + taxonomy + ' td', context ).on( "mouseleave", function() {
1184
+ var query, tableData = this,
1185
+ oldTerms = mlaModal.utility.arrayCleanup( $( '.server-tags', tableData ).val() ),
1186
+ termList = mlaModal.utility.arrayCleanup( $( '.the-tags', tableData ).val() );
1187
+
1188
+ if ( oldTerms === termList ) {
1189
+ return;
1190
+ }
1191
+
1192
+ $( tableData ).css( 'opacity', '0.5' );
1193
+
1194
+ /**
1195
+ * wp.ajax.send( [action], [options] )
1196
+ */
1197
+ query = {
1198
+ id: attachmentId,
1199
+ };
1200
+ query[ taxonomy ] = termList;
1201
+
1202
+ wp.media.post( mlaModal.settings.ajaxUpdateCompatAction, query ).done( function( results ) {
1203
+ var tagsDiv, taxonomy, list;
1204
+
1205
+ for ( taxonomy in results ) {
1206
+ if ( 'object' === typeof( results[ taxonomy][ 'object-terms' ] ) ) {
1207
+ if ( null !== mlaModal.utility.mlaAttachmentsBrowser ) {
1208
+ mlaModal.utility.mlaAttachmentsBrowser.updateFilters( taxonomy, results[ taxonomy][ 'object-terms' ] );
1209
+ }
1210
+
1211
+ delete results[ taxonomy][ 'object-terms' ];
1212
+ }
1213
+
1214
+ for ( list in results[ taxonomy ] ) {
1215
+ $( "#" + list, tableData ).replaceWith( results[ taxonomy ][ list ] );
1216
+ }
1217
+
1218
+ tagsDiv = $( '#mla-taxonomy-' + taxonomy, tableData );
1219
+ mlaModal.tagBox.quickClicks( tagsDiv );
1220
+ }
1221
+
1222
+ $( tableData ).css( 'opacity', '1.0' );
1223
+ });
1224
+ });
1225
+
1226
+ // Don't let changes propogate to the Backbone model
1227
+ tagsDiv.on( 'change', function( event ) {
1228
+ event.stopPropagation();
1229
+ return false;
1230
+ });
1231
+
1232
+ $( '.the-tags, .server-tags .newtag', tagsDiv ).on( 'change', function( event ) {
1233
+ event.stopPropagation();
1234
+ return false;
1235
+ });
1236
+ }
1237
+ }; // mlaModal.tagBox
1238
+
1239
+ /*
1240
+ * We can extend the AttachmentCompat object because it's not instantiated until
1241
+ * the sidebar is created for a selected attachment.
1242
+ */
1243
+ if ( mlaModal.settings.enableDetailsCategory || mlaModal.settings.enableDetailsTag ) {
1244
+ wp.media.view.AttachmentCompat = wp.media.view.AttachmentCompat.extend({
1245
+ initialize: function() {
1246
+ // Call the base method in the super class
1247
+ wp.media.view.AttachmentCompat.__super__.initialize.apply( this, arguments );
1248
+
1249
+ // Hook the 'ready' event when the sidebar has been rendered so we can add our enhancements
1250
+ this.on( 'ready', function() {
1251
+ mlaModal.utility.hookCompatTaxonomies( this.model.get('id'), this.el );
1252
+ });
1253
+ }
1254
+ });
1255
+ }
1256
+
1257
+ /*
1258
+ * We can extend the model.Selection object because it's not instantiated until
1259
+ * the sidebar is created for a selected attachment.
1260
+ */
1261
+ if ( mlaModal.settings.enableDetailsCategory || mlaModal.settings.enableDetailsTag ) {
1262
+ wp.media.model.Selection = wp.media.model.Selection.extend({
1263
+ /* for debug : trace every event triggered in the wp.media.model.Selection * /
1264
+ selectionEvent: function( eventName, eventModel, eventContext, eventFlags ) {
1265
+ var attributes = null, id = 0, cid = 'none';
1266
+
1267
+ if ( 'undefined' != typeof eventModel.cid ) {
1268
+ cid = eventModel.cid;
1269
+ }
1270
+
1271
+ if ( 'undefined' != typeof eventModel.id ) {
1272
+ id = eventModel.id;
1273
+ }
1274
+
1275
+ if ( 'undefined' != typeof eventModel.attributes ) {
1276
+ attributes = _.clone( eventModel.attributes );
1277
+ delete( attributes.file );
1278
+ console.log('selectionEvent ', eventName, '( ', cid, ', ', id, ' ) eventModel.attributes: ', JSON.stringify( attributes ) );
1279
+ } else {
1280
+ console.log('selectionEvent ', eventName, '( ', cid, ', ', id, ' )' );
1281
+ }
1282
+ }, // */
1283
+
1284
+ initialize: function() {
1285
+ // Call the base method in the super class
1286
+ wp.media.model.Selection.__super__.initialize.apply( this, arguments );
1287
+
1288
+ /* for debug : trace every event triggered in the wp.media.model.Selection * /
1289
+ this.stopListening( this );
1290
+ this.listenTo( this, 'all', this.selectionEvent );
1291
+ // */
1292
+
1293
+ // Hook the 'selection:reset' event so we can add our enhancements when it's done
1294
+ this.on( 'selection:reset', function( /* model */ ) {
1295
+ mlaModal.cid = null;
1296
+ });
1297
+
1298
+ // Hook the 'selection:unsingle' event so we can add our enhancements when it's done
1299
+ this.on( 'selection:unsingle', function( /* model */ ) {
1300
+ mlaModal.cid = null;
1301
+ });
1302
+
1303
+ // Hook the 'selection:single' event so we can add our enhancements when it's done
1304
+ this.on( 'selection:single', function( model ) {
1305
+ mlaModal.cid = model.cid;
1306
+ });
1307
+
1308
+ // Hook the 'change:uploading' event so we can add our enhancements when it's done
1309
+ this.on( 'change:uploading', function( /* model */ ) {
1310
+ mlaModal.uploading = true;
1311
+ });
1312
+
1313
+ // Hook the 'change' event when the sidebar has been rendered so we can add our enhancements
1314
+ this.on( 'change', function( model ) {
1315
+ var hookCompat = false, changed;
1316
+
1317
+ if ( mlaModal.uploading && mlaModal.cid === model.cid ) {
1318
+ mlaModal.uploading = false;
1319
+ hookCompat = true;
1320
+ } else {
1321
+ // ignore changes during upload
1322
+ if ( false === model.attributes.uploading ) {
1323
+ // filter out trivial changes
1324
+ changed = _.clone( model.changed );
1325
+ delete changed.title;
1326
+ delete changed.caption;
1327
+ delete changed.alt;
1328
+ delete changed.description;
1329
+
1330
+ if ( ! _.isEmpty( changed ) ) {
1331
+ hookCompat = true;
1332
+ }
1333
+ }
1334
+ }
1335
+
1336
+ if ( true === hookCompat ) {
1337
+ mlaModal.utility.hookCompatTaxonomies( model.get('id'), mlaModal.settings.$el );
1338
+ //mlaModal.utility.hookCompatTaxonomies( model.get('id'), wp.media.frame.$el );
1339
+ }
1340
+ });
1341
+ }
1342
+ });
1343
+ }
1344
+
1345
+ /**
1346
+ * Install the "click to expand" handler for MLA Searchable Taxonomy Meta Boxes
1347
+ */
1348
+ mlaModal.utility.hookCompatTaxonomies = function( attachmentId, context ) {
1349
+ var taxonomy, clickTaxonomy = null;
1350
+
1351
+ $('.mla-taxonomy-field .categorydiv', context ).each( function(){
1352
+ taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
1353
+
1354
+ if ( -1 != mlaModal.settings.enhancedTaxonomies.indexOf( taxonomy ) ) {
1355
+ // Load the taxonomy checklists on first expansion
1356
+ $( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
1357
+ mlaModal.utility.fillCompatTaxonomies( event.data );
1358
+ });
1359
+
1360
+ // Delete the default row, show the enhanced row
1361
+ $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1362
+ if ( $(this).hasClass('mla-taxonomy-row') ) {
1363
+ $(this).show();
1364
+ } else {
1365
+ $(this).remove();
1366
+ }
1367
+ });
1368
+
1369
+ if ( null === clickTaxonomy ) {
1370
+ clickTaxonomy = taxonomy;
1371
+ }
1372
+ } else {
1373
+ // Delete the enhanced row
1374
+ $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1375
+ if ( $(this).hasClass('mla-taxonomy-row') ) {
1376
+ $(this).remove();
1377
+ }
1378
+ });
1379
+ }
1380
+ });
1381
+
1382
+ $('.mla-taxonomy-field .tagsdiv', context ).each( function(){
1383
+ taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
1384
+
1385
+ if ( -1 != mlaModal.settings.enhancedTaxonomies.indexOf( taxonomy ) ) {
1386
+ // Load the taxonomy checklists on first expansion
1387
+ $( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
1388
+ mlaModal.utility.fillCompatTaxonomies( event.data );
1389
+ });
1390
+
1391
+ // Delete the default row, show the enhanced row
1392
+ $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1393
+ if ( $(this).hasClass('mla-taxonomy-row') ) {
1394
+ $(this).show();
1395
+ } else {
1396
+ $(this).remove();
1397
+ }
1398
+ });
1399
+
1400
+ if ( null === clickTaxonomy ) {
1401
+ clickTaxonomy = taxonomy;
1402
+ }
1403
+ } else {
1404
+ // Delete the enhanced row
1405
+ $( 'tr.compat-field-' + taxonomy, context ).each( function(){
1406
+ if ( $(this).hasClass('mla-taxonomy-row') ) {
1407
+ $(this).remove();
1408
+ }
1409
+ });
1410
+ }
1411
+ });
1412
+
1413
+ if ( mlaModal.settings.enableTermsAutofill && null !== clickTaxonomy ) {
1414
+ $( '.compat-field-' + clickTaxonomy + ' th', context ).click();
1415
+ }
1416
+ };
1417
+
1418
+ /**
1419
+ * Replace the "Loading..." placeholders with the MLA Searchable Taxonomy Meta Boxes
1420
+ */
1421
+ mlaModal.utility.fillCompatTaxonomies = function( data ) {
1422
+ var context = data.el, query = [], taxonomy, fieldClass;
1423
+
1424
+ $('.mla-taxonomy-field .categorydiv', context ).each( function(){
1425
+ taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
1426
+ query[ query.length ] = taxonomy;
1427
+ fieldClass = '.compat-field-' + taxonomy;
1428
+
1429
+ // Save the initial markup for when we change attachments
1430
+ if ( "undefined" === typeof( mlaModal.initialHTML[ taxonomy ] ) ) {
1431
+ mlaModal.initialHTML[ taxonomy ] = $( fieldClass, context ).html();
1432
+ } else {
1433
+ $( fieldClass, context ).html( mlaModal.initialHTML[ taxonomy ] );
1434
+ }
1435
+
1436
+ $( fieldClass + ' .categorydiv', context ).html( mlaModal.strings.loadingText );
1437
+ });
1438
+
1439
+ $( '.mla-taxonomy-field .tagsdiv', context ).each( function(){
1440
+ taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
1441
+ query[ query.length ] = taxonomy;
1442
+ fieldClass = '.compat-field-' + taxonomy;
1443
+
1444
+ if ( "undefined" === typeof( mlaModal.initialHTML[ taxonomy ] ) ) {
1445
+ mlaModal.initialHTML[ taxonomy ] = $( fieldClass, context ).html();
1446
+ } else {
1447
+ $( fieldClass, context ).html( mlaModal.initialHTML[ taxonomy ] );
1448
+ }
1449
+
1450
+ $( fieldClass + ' .tagsdiv', context ).html( mlaModal.strings.loadingText );
1451
+ });
1452
+
1453
+ if ( query.length ) {
1454
+ /**
1455
+ * wp.ajax.send( [action], [options] )
1456
+ *
1457
+ * Sends a POST request to WordPress.
1458
+ *
1459
+ * @param {string} action The slug of the action to fire in WordPress.
1460
+ * @param {object} options The options passed to jQuery.ajax.
1461
+ * @return {$.promise} A jQuery promise that represents the request.
1462
+ */
1463
+ wp.media.post( mlaModal.settings.ajaxFillCompatAction, {
1464
+ // json: true,
1465
+ id: data.id,
1466
+ query: query,
1467
+ }).done( function( results ) {
1468
+ var taxonomy, fieldClass;
1469
+
1470
+ for ( taxonomy in results ) {
1471
+ fieldClass = '.compat-field-' + taxonomy;
1472
+
1473
+ $( fieldClass, context ).html( results[ taxonomy ] );
1474
+ }
1475
+
1476
+ mlaModal.utility.supportCompatTaxonomies( data );
1477
+ $( '.compat-field-' + data.currentTaxonomy + ' td', context ).show();
1478
+ });
1479
+ } // query.length
1480
+ };
1481
+
1482
+ /**
1483
+ * Support the MLA Searchable Taxonomy Meta Boxes
1484
+ */
1485
+ mlaModal.utility.supportCompatTaxonomies = function( data ) {
1486
+ var attachmentId = data.id, context = data.el;
1487
+
1488
+ if ( mlaModal.settings.enableDetailsCategory ) {
1489
+ $( '.mla-taxonomy-field .categorydiv', context ).each( function(){
1490
+ var thisJQuery = $(this), catAddBefore, catAddAfter, taxonomy, settingName,
1491
+ taxonomyIdPrefix, taxonomyNewIdSelector, taxonomySearchIdSelector, taxonomyTermsId;
1492
+
1493
+ taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
1494
+ settingName = taxonomy + '_tab';
1495
+ taxonomyIdPrefix = '#mla-' + taxonomy;
1496
+ taxonomyNewIdSelector = '#mla-new-' + taxonomy;
1497
+ taxonomySearchIdSelector = '#mla-search-' + taxonomy;
1498
+ taxonomyTermsId = '#mla-attachments-' + attachmentId + '-' + taxonomy;
1499
+
1500
+ if ( taxonomy == 'category' ) {
1501
+ settingName = 'cats';
1502
+ }
1503
+
1504
+ // override "Media Categories" style sheet
1505
+ thisJQuery.find( '.category-tabs' ).show();
1506
+
1507
+ // Expand/collapse the meta box contents
1508
+ $( '.compat-field-' + taxonomy + ' th', context ).click( function() {
1509
+ $(this).siblings( 'td' ).slideToggle();
1510
+ });
1511
+
1512
+ // Update the taxonomy terms, if changed, on the server when the mouse leaves the checklist area
1513
+ thisJQuery.on( "mouseleave", function() {
1514
+ var query, oldTerms, termList = [], checked = thisJQuery.find( taxonomyIdPrefix + '-checklist input:checked' );
1515
+
1516
+ checked.each( function() {
1517
+ termList[ termList.length ] = $(this).val();
1518
+ });
1519
+
1520
+ termList.sort( function( a, b ) { return a - b; } );
1521
+ termList = termList.join( ',' );
1522
+
1523
+ oldTerms = thisJQuery.siblings( taxonomyTermsId ).val();
1524
+ if ( oldTerms === termList ) {
1525
+ return;
1526
+ }
1527
+
1528
+ thisJQuery.siblings( taxonomyTermsId ).val( termList );
1529
+ thisJQuery.prop( 'disabled', true );
1530
+
1531
+ /**
1532
+ * wp.ajax.send( [action], [options] )
1533
+ */
1534
+ query = {
1535
+ id: attachmentId,
1536
+ };
1537
+ query[ taxonomy ] = termList;
1538
+
1539
+ wp.media.post( mlaModal.settings.ajaxUpdateCompatAction,
1540
+ query ).done( function( results ) {
1541
+ var taxonomy, list;
1542
+
1543
+ for ( taxonomy in results ) {
1544
+ for ( list in results[ taxonomy ] ) {
1545
+ thisJQuery.find( "#" + list ).html( results[ taxonomy ][ list ] );
1546
+ }
1547
+ }
1548
+
1549
+ thisJQuery.find( taxonomySearchIdSelector ).val( '' );
1550
+ thisJQuery.find( taxonomyIdPrefix + '-searcher' ).addClass( 'mla-hidden-children' );
1551
+ thisJQuery.prop( 'disabled', false );
1552
+ });
1553
+ });
1554
+
1555
+ // Don't let checkbox changes propogate to the Backbone model
1556
+ thisJQuery.on( 'change input[type="checkbox"]', function( event ) {
1557
+ event.stopPropagation();
1558
+ return false;
1559
+ });
1560
+
1561
+ /*
1562
+ * Taxonomy meta box code from /wp-admin/js/post.js
1563
+ */
1564
+
1565
+ // Switch between "All ..." and "Most Used"
1566
+ thisJQuery.find( taxonomyIdPrefix + '-tabs a' ).click( function(){
1567
+ var t = $(this).attr('href');
1568
+ $(this).parent().addClass('tabs').siblings('li').removeClass('tabs');
1569
+ thisJQuery.find( taxonomyIdPrefix + '-tabs' ).siblings('.tabs-panel').hide();
1570
+ thisJQuery.find( t ).show();
1571
+ $(this).focus();
1572
+
1573
+ // Store the "all/most used" setting in a cookie
1574
+ if ( "#mla-" + taxonomy + '-all' == t ) {
1575
+ deleteUserSetting( settingName );
1576
+ } else {
1577
+ setUserSetting( settingName, 'pop' );
1578
+ }
1579
+
1580
+ return false;
1581
+ });
1582
+
1583
+ // Reflect tab selection remembered in cookie
1584
+ if ( getUserSetting( settingName ) ) {
1585
+ thisJQuery.find( taxonomyIdPrefix + '-tabs a[href="#mla-' + taxonomy + '-pop"]' ).click();
1586
+ }
1587
+
1588
+ // Toggle the "Add New ..." sub panel
1589
+ thisJQuery.find( taxonomyIdPrefix + '-add-toggle' ).click( function() {
1590
+ thisJQuery.find( taxonomyIdPrefix + '-searcher' ).addClass( 'mla-hidden-children' );
1591
+ thisJQuery.find( taxonomyIdPrefix + '-adder' ).toggleClass( 'mla-hidden-children' );
1592
+ thisJQuery.find( taxonomyIdPrefix + '-tabs a[href="#mla-' + taxonomy + '-all"]' ).click();
1593
+
1594
+ thisJQuery.find( taxonomyIdPrefix + '-checklist li' ).show();
1595
+ thisJQuery.find( taxonomyIdPrefix + '-checklist-pop li' ).show();
1596
+
1597
+ if ( false === thisJQuery.find( taxonomyIdPrefix + '-adder' ).hasClass( 'mla-hidden-children' ) ) {
1598
+ thisJQuery.find( taxonomyNewIdSelector ).val( '' ).removeClass( 'form-input-tip' );
1599
+ thisJQuery.find( taxonomyNewIdSelector ).focus();
1600
+ }
1601
+ return false;
1602
+ });
1603
+
1604
+ // Convert "Enter" key to a click
1605
+ thisJQuery.find( taxonomyNewIdSelector ).keypress( function(event){
1606
+ if( 13 === event.keyCode ) {
1607
+ event.preventDefault();
1608
+ thisJQuery.find( taxonomyIdPrefix + '-add-submit' ).click();
1609
+ }
1610
+ });
1611
+
1612
+ thisJQuery.find( taxonomyIdPrefix + '-add-submit' ).click( function(){
1613
+ thisJQuery.find( taxonomyNewIdSelector ).focus();
1614
+ });
1615
+
1616
+ catAddBefore = function( s ) {
1617
+ if ( ! thisJQuery.find( taxonomyNewIdSelector ).val() )
1618
+ return false;
1619
+
1620
+ s.data += '&' + thisJQuery.find( taxonomyIdPrefix + '-checklist :checked' ).serialize();
1621
+ thisJQuery.prop( 'disabled', true );
1622
+ return s;
1623
+ };
1624
+
1625
+ catAddAfter = function( r, s ) {
1626
+ var sup, drop = thisJQuery.find( '#new' + taxonomy + '_parent' );
1627
+
1628
+ thisJQuery.prop( 'disabled', false );
1629
+ if ( 'undefined' != s.parsed.responses[0] && ( sup = s.parsed.responses[0].supplemental.newcat_parent ) ) {
1630
+ drop.before( sup );
1631
+ drop.remove();
1632
+ if ( null !== mlaModal.utility.mlaAttachmentsBrowser ) {
1633
+ mlaModal.utility.mlaAttachmentsBrowser.updateFilters( taxonomy, sup );
1634
+ }
1635
+ }
1636
+ };
1637
+
1638
+ // wpList is in /wp-includes/js/wp-lists.js
1639
+ // handled in /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term()
1640
+ thisJQuery.find( taxonomyIdPrefix + '-checklist' ).wpList({
1641
+ alt: '',
1642
+ response: 'mla-' + taxonomy + '-ajax-response',
1643
+ addBefore: catAddBefore,
1644
+ addAfter: catAddAfter
1645
+ });
1646
+
1647
+ // Synchronize checkbox changes between "All ..." and "Most Used" panels
1648
+ thisJQuery.find( taxonomyIdPrefix + '-checklist, ' + taxonomyIdPrefix + '-checklist-pop' ).on( 'click', 'li.popular-category > label input[type="checkbox"]', function() {
1649
+ var t = $(this), c = t.is(':checked'), id = t.val();
1650
+
1651
+ if ( id && t.parents( '#mla-taxonomy-'+ taxonomy ).length ) {
1652
+ $('#in-' + taxonomy + '-' + id + ', #in-popular-' + taxonomy + '-' + id).prop( 'checked', c );
1653
+ }
1654
+ });
1655
+
1656
+ /*
1657
+ * Searchable meta box code from mla-edit-media-scripts.js
1658
+ */
1659
+ $.extend( $.expr[":"], {
1660
+ "matchTerms": function( elem, i, match, array ) {
1661
+ return ( elem.textContent || elem.innerText || "" ).toLowerCase().indexOf( ( match[3] || "" ).toLowerCase() ) >= 0;
1662
+ }
1663
+ });
1664
+
1665
+ thisJQuery.find( taxonomySearchIdSelector ).keypress( function( event ){
1666
+ // Enter key cancels the filter and closes the search field
1667
+ if( 13 === event.keyCode ) {
1668
+ event.preventDefault();
1669
+ thisJQuery.find( taxonomySearchIdSelector ).val( '' );
1670
+ thisJQuery.find( taxonomyIdPrefix + '-searcher' ).addClass( 'mla-hidden-children' );
1671
+
1672
+ thisJQuery.find( taxonomyIdPrefix + '-checklist li' ).show();
1673
+ thisJQuery.find( taxonomyIdPrefix + '-checklist-pop li' ).show();
1674
+ return;
1675
+ }
1676
+
1677
+ } );
1678
+
1679
+ thisJQuery.find( taxonomySearchIdSelector ).keyup( function( event ){
1680
+ var searchValue, termList, termListPopular, matchingTerms, matchingTermsPopular;
1681
+
1682
+ // keyup happens after keypress; change the focus if the text box has been closed
1683
+ if( 13 === event.keyCode ) {
1684
+ event.preventDefault();
1685
+ thisJQuery.find( taxonomyIdPrefix + '-search-toggle' ).focus();
1686
+ return;
1687
+ }
1688
+
1689
+ searchValue = thisJQuery.find( taxonomySearchIdSelector ).val();
1690
+ termList = thisJQuery.find( taxonomyIdPrefix + '-checklist li' );
1691
+ termListPopular = thisJQuery.find( taxonomyIdPrefix + '-checklist-pop li' );
1692
+
1693
+ if ( 0 < searchValue.length ) {
1694
+ termList.hide();
1695
+ termListPopular.hide();
1696
+ } else {
1697
+ termList.show();
1698
+ termListPopular.show();
1699
+ }
1700
+
1701
+ matchingTerms = thisJQuery.find( taxonomyIdPrefix + "-checklist label:matchTerms('" + searchValue + "')");
1702
+ matchingTerms.closest( 'li' ).find( 'li' ).andSelf().show();
1703
+ matchingTerms.parents( taxonomyIdPrefix + '-checklist li' ).show();
1704
+
1705
+ matchingTermsPopular = thisJQuery.find( taxonomyIdPrefix + "-checklist-pop label:matchTerms('" + searchValue + "')");
1706
+ matchingTermsPopular.closest( 'li' ).find( 'li' ).andSelf().show();
1707
+ matchingTermsPopular.parents( taxonomyIdPrefix + '-checklist li' ).show();
1708
+ } );
1709
+
1710
+ // Toggle the "Search" sub panel
1711
+ thisJQuery.find( taxonomyIdPrefix + '-search-toggle' ).click( function() {
1712
+ thisJQuery.find( taxonomyIdPrefix + '-adder ').addClass( 'mla-hidden-children' );
1713
+ thisJQuery.find( taxonomyIdPrefix + '-searcher' ).toggleClass( 'mla-hidden-children' );
1714
+ thisJQuery.find( taxonomyIdPrefix + '-tabs a[href="#mla-' + taxonomy + '-all"]' ).click();
1715
+
1716
+ thisJQuery.find( taxonomyIdPrefix + '-checklist li' ).show();
1717
+ thisJQuery.find( taxonomyIdPrefix + '-checklist-pop li' ).show();
1718
+
1719
+ if ( false === thisJQuery.find( taxonomyIdPrefix + '-searcher' ).hasClass( 'mla-hidden-children' ) ) {
1720
+ thisJQuery.find( taxonomySearchIdSelector ).val( '' ).removeClass( 'form-input-tip' );
1721
+ thisJQuery.find( taxonomySearchIdSelector ).focus();
1722
+ }
1723
+
1724
+ return false;
1725
+ });
1726
+ }); // .categorydiv.each
1727
+ } // mlaModal.settings.enableDetailsCategory
1728
+
1729
+ if ( mlaModal.settings.enableDetailsTag ) {
1730
+ $('.mla-taxonomy-field .tagsdiv', context ).each( function(){
1731
+ var taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
1732
+
1733
+ // Expand/collapse the meta box contents
1734
+ $( '.compat-field-' + taxonomy + ' th', context ).click( function() {
1735
+ $(this).siblings( 'td' ).slideToggle();
1736
+ });
1737
+
1738
+ // Install support for flat taxonomies
1739
+ mlaModal.tagBox.init( attachmentId, taxonomy, context );
1740
+ }); // .tagsdiv.each
1741
+ } // mlaModal.settings.enableDetailsTag
1742
+ }; // mlaModal.utility.supportCompatTaxonomies
1743
+ }( 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-01-23 23:08-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"
@@ -21,43 +21,43 @@ msgstr ""
21
  "X-Poedit-SearchPath-2: index.php\n"
22
 
23
  #. translators: Name of the plugin/theme
24
- #: includes/class-mla-admin-columns-support.php:25
25
- #: includes/class-mla-core.php:795 includes/class-mla-settings.php:458
26
- #: includes/class-mla-settings.php:3232 includes/class-mla-settings.php:3252
27
  #: index.php:48
28
  msgid "Media Library Assistant"
29
  msgstr ""
30
 
31
- #: includes/class-mla-admin-columns-support.php:26
32
- #: includes/class-mla-core.php:803
33
  msgid "Assistant"
34
  msgstr ""
35
 
36
- #: includes/class-mla-ajax.php:162 includes/class-mla-core.php:1339
37
- #: includes/class-mla-data.php:3520 includes/class-mla-edit-media.php:426
38
- #: includes/class-mla-main.php:1841 includes/class-mla-main.php:2031
39
- #: includes/class-mla-objects.php:316 includes/class-mla-options.php:818
40
  #: includes/mla-main-search-box-template.php:50
41
  #: includes/mla-media-modal-js-template.php:40
42
  msgid "Title"
43
  msgstr ""
44
 
45
- #: includes/class-mla-ajax.php:162 includes/class-mla-main.php:1842
46
  #: includes/class-mla-thumbnail-generation.php:436
47
  msgid "Type"
48
  msgstr ""
49
 
50
- #: includes/class-mla-ajax.php:162 includes/class-mla-main.php:1843
51
  msgid "Date"
52
  msgstr ""
53
 
54
- #: includes/class-mla-ajax.php:162 includes/class-mla-main.php:1844
55
- #: includes/class-mla-settings.php:2276
56
  msgid "Status"
57
  msgstr ""
58
 
59
  #: includes/class-mla-ajax.php:166 includes/class-mla-list-table.php:792
60
- #: includes/class-mla-list-table.php:913 includes/class-mla-main.php:456
61
  #: includes/class-mla-polylang-support.php:386
62
  #: includes/class-mla-thumbnail-generation.php:97
63
  msgid "(no title)"
@@ -67,7 +67,7 @@ msgstr ""
67
  msgid "Published"
68
  msgstr ""
69
 
70
- #: includes/class-mla-ajax.php:175 includes/class-mla-edit-media.php:787
71
  #: includes/class-mla-list-table.php:559
72
  msgid "Scheduled"
73
  msgstr ""
@@ -76,7 +76,7 @@ msgstr ""
76
  msgid "Pending Review"
77
  msgstr ""
78
 
79
- #: includes/class-mla-ajax.php:181 includes/class-mla-edit-media.php:793
80
  #: includes/class-mla-list-table.php:556
81
  msgid "Draft"
82
  msgstr ""
@@ -90,9 +90,9 @@ msgid "Y/m/d"
90
  msgstr ""
91
 
92
  #: includes/class-mla-ajax.php:220 includes/class-mla-ajax.php:227
93
- #: includes/class-mla-ajax.php:236 includes/class-mla-core.php:1728
94
- #: includes/class-mla-core.php:1746 includes/class-mla-core.php:2123
95
- #: includes/class-mla-core.php:2129 includes/class-mla-core.php:2133
96
  #: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
97
  #: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
98
  #: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:666
@@ -101,135 +101,141 @@ msgstr ""
101
  #: includes/class-mla-data.php:344 includes/class-mla-data.php:500
102
  #: includes/class-mla-data.php:563 includes/class-mla-data.php:1151
103
  #: includes/class-mla-data.php:1355 includes/class-mla-data.php:1361
104
- #: includes/class-mla-data.php:1751 includes/class-mla-data.php:1755
105
- #: includes/class-mla-data.php:2913 includes/class-mla-data.php:2941
106
- #: includes/class-mla-data.php:3273 includes/class-mla-data.php:3286
107
- #: includes/class-mla-data.php:3308 includes/class-mla-data.php:3497
108
- #: includes/class-mla-data.php:3543 includes/class-mla-data.php:3575
109
- #: includes/class-mla-data.php:3591 includes/class-mla-data.php:3781
110
- #: includes/class-mla-edit-media.php:316 includes/class-mla-edit-media.php:701
111
- #: includes/class-mla-edit-media.php:741 includes/class-mla-main.php:677
112
- #: includes/class-mla-main.php:806 includes/class-mla-main.php:1147
113
- #: includes/class-mla-main.php:1203 includes/class-mla-main.php:1228
114
- #: includes/class-mla-main.php:1354 includes/class-mla-main.php:1406
115
- #: includes/class-mla-main.php:1497 includes/class-mla-main.php:1528
116
- #: includes/class-mla-main.php:1664 includes/class-mla-main.php:1671
117
- #: includes/class-mla-main.php:1827 includes/class-mla-main.php:1902
118
- #: includes/class-mla-main.php:2150 includes/class-mla-main.php:2158
119
- #: includes/class-mla-main.php:2182 includes/class-mla-main.php:2190
120
- #: includes/class-mla-main.php:2222 includes/class-mla-main.php:2230
121
  #: includes/class-mla-media-modal.php:571 includes/class-mla-mime-types.php:477
122
  #: includes/class-mla-mime-types.php:873 includes/class-mla-mime-types.php:961
123
  #: includes/class-mla-mime-types.php:1107
124
  #: includes/class-mla-mime-types.php:1130
125
- #: includes/class-mla-mime-types.php:1934
126
- #: includes/class-mla-mime-types.php:1945
127
- #: includes/class-mla-mime-types.php:1958
128
- #: includes/class-mla-mime-types.php:1966
129
- #: includes/class-mla-mime-types.php:1971
130
- #: includes/class-mla-mime-types.php:2014
131
- #: includes/class-mla-mime-types.php:2033
132
- #: includes/class-mla-mime-types.php:2084
133
- #: includes/class-mla-mime-types.php:2118
134
- #: includes/class-mla-mime-types.php:2203
135
- #: includes/class-mla-mime-types.php:2282
136
- #: includes/class-mla-mime-types.php:2291
137
- #: includes/class-mla-mime-types.php:2323 includes/class-mla-objects.php:239
138
- #: includes/class-mla-options.php:611 includes/class-mla-options.php:788
139
- #: includes/class-mla-options.php:864 includes/class-mla-options.php:1368
140
- #: includes/class-mla-options.php:1805 includes/class-mla-options.php:1818
141
- #: includes/class-mla-options.php:1822 includes/class-mla-options.php:2406
142
- #: includes/class-mla-options.php:2628 includes/class-mla-options.php:3197
143
- #: includes/class-mla-options.php:3241 includes/class-mla-options.php:3249
144
- #: includes/class-mla-options.php:3266 includes/class-mla-options.php:3276
145
- #: includes/class-mla-options.php:3286 includes/class-mla-options.php:3294
146
- #: includes/class-mla-options.php:3298 includes/class-mla-settings.php:571
147
- #: includes/class-mla-settings.php:635 includes/class-mla-settings.php:649
148
- #: includes/class-mla-settings.php:678 includes/class-mla-settings.php:689
149
- #: includes/class-mla-settings.php:779 includes/class-mla-settings.php:913
150
- #: includes/class-mla-settings.php:1043 includes/class-mla-settings.php:1080
151
- #: includes/class-mla-settings.php:1219 includes/class-mla-settings.php:1581
152
- #: includes/class-mla-settings.php:1613 includes/class-mla-settings.php:1690
153
- #: includes/class-mla-settings.php:2027 includes/class-mla-settings.php:2078
154
- #: includes/class-mla-settings.php:2157 includes/class-mla-settings.php:2730
155
- #: includes/class-mla-settings.php:2872 includes/class-mla-settings.php:3095
156
- #: includes/class-mla-settings.php:3146 includes/class-mla-settings.php:3232
157
- #: includes/class-mla-settings.php:3264 includes/class-mla-settings.php:3267
158
- #: includes/class-mla-settings.php:3271 includes/class-mla-settings.php:3372
159
- #: includes/class-mla-settings.php:3378 includes/class-mla-settings.php:3392
160
- #: includes/class-mla-settings.php:3399 includes/class-mla-settings.php:3421
161
- #: includes/class-mla-settings.php:3463 includes/class-mla-settings.php:3469
162
- #: includes/class-mla-settings.php:3483 includes/class-mla-settings.php:3490
163
- #: includes/class-mla-settings.php:3542 includes/class-mla-settings.php:3663
164
- #: includes/class-mla-settings.php:3796 includes/class-mla-settings.php:3870
165
- #: includes/class-mla-settings.php:3959 includes/class-mla-settings.php:4316
166
- #: includes/class-mla-settings.php:4320 includes/class-mla-settings.php:4331
167
- #: includes/class-mla-settings.php:4338 includes/class-mla-settings.php:4347
168
- #: includes/class-mla-settings.php:4384 includes/class-mla-settings.php:4392
169
- #: includes/class-mla-settings.php:4401
170
- #: includes/class-mla-shortcode-support.php:1854
171
- #: includes/class-mla-shortcode-support.php:1941
172
- #: includes/class-mla-shortcode-support.php:3212
173
- #: includes/class-mla-shortcode-support.php:3540
174
- #: includes/class-mla-shortcode-support.php:3571
 
 
 
175
  #: includes/class-mla-thumbnail-generation.php:256
176
  #: includes/class-mla-thumbnail-generation.php:270
177
  #: includes/class-mla-thumbnail-generation.php:316
178
  msgid "ERROR"
179
  msgstr ""
180
 
181
- #: includes/class-mla-ajax.php:220 includes/class-mla-main.php:1664
182
  msgid "No post ID found"
183
  msgstr ""
184
 
185
- #: includes/class-mla-ajax.php:227 includes/class-mla-main.php:1671
186
  #: includes/class-mla-polylang-support.php:291
187
  msgid "You are not allowed to edit this Attachment."
188
  msgstr ""
189
 
190
- #: includes/class-mla-core.php:670 includes/class-mla-options.php:645
191
  msgid "Attachment Categories"
192
  msgstr ""
193
 
194
- #: includes/class-mla-core.php:673
195
  msgid "Check this option to add support for Attachment Categories."
196
  msgstr ""
197
 
198
- #: includes/class-mla-core.php:677 includes/class-mla-options.php:660
199
  msgid "Attachment Tags"
200
  msgstr ""
201
 
202
- #: includes/class-mla-core.php:680
203
  msgid "Check this option to add support for Attachment Tags."
204
  msgstr ""
205
 
206
- #: includes/class-mla-core.php:684 includes/class-mla-settings.php:1377
207
  msgid "Where-used Reporting"
208
  msgstr ""
209
 
210
- #: includes/class-mla-core.php:689
211
  msgid "Exclude Revisions"
212
  msgstr ""
213
 
214
- #: includes/class-mla-core.php:692
215
  msgid "Check this option to exclude revisions from where-used reporting."
216
  msgstr ""
217
 
218
- #: includes/class-mla-core.php:696
219
  msgid "Where-used database access tuning"
220
  msgstr ""
221
 
222
- #: includes/class-mla-core.php:701 includes/class-mla-edit-media.php:636
223
- #: includes/class-mla-edit-media.php:886
224
  msgid "Featured in"
225
  msgstr ""
226
 
227
- #: includes/class-mla-core.php:705 includes/class-mla-core.php:714
 
228
  msgid "Enabled"
229
  msgstr ""
230
 
231
- #: includes/class-mla-core.php:705 includes/class-mla-core.php:714
232
- #: includes/class-mla-core.php:723 includes/class-mla-core.php:732
 
 
233
  #: includes/class-mla-list-table.php:1019
234
  #: includes/class-mla-list-table.php:1064
235
  #: includes/class-mla-list-table.php:1114
@@ -237,58 +243,62 @@ msgstr ""
237
  msgid "Disabled"
238
  msgstr ""
239
 
240
- #: includes/class-mla-core.php:706
241
  msgid "Search database posts and pages for Featured Image attachments."
242
  msgstr ""
243
 
244
- #: includes/class-mla-core.php:710 includes/class-mla-edit-media.php:640
245
- #: includes/class-mla-edit-media.php:925
246
  msgid "Inserted in"
247
  msgstr ""
248
 
249
- #: includes/class-mla-core.php:714
250
  msgid "Base"
251
  msgstr ""
252
 
253
- #: includes/class-mla-core.php:715
254
  msgid ""
255
  "Search database posts and pages for attachments embedded in content."
256
  "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
257
  "name and extension only."
258
  msgstr ""
259
 
260
- #: includes/class-mla-core.php:719 includes/class-mla-edit-media.php:644
261
- #: includes/class-mla-edit-media.php:960 includes/class-mla-settings.php:4097
 
262
  msgid "Gallery in"
263
  msgstr ""
264
 
265
- #: includes/class-mla-core.php:723 includes/class-mla-core.php:732
 
266
  msgid "Dynamic"
267
  msgstr ""
268
 
269
- #: includes/class-mla-core.php:723 includes/class-mla-core.php:732
270
- #: includes/class-mla-main.php:2061 includes/class-mla-settings.php:2766
271
- #: includes/class-mla-settings.php:2902
272
  msgid "Refresh"
273
  msgstr ""
274
 
275
- #: includes/class-mla-core.php:723 includes/class-mla-core.php:732
 
276
  msgid "Cached"
277
  msgstr ""
278
 
279
- #: includes/class-mla-core.php:724
280
  msgid ""
281
- "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
282
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
283
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
284
  msgstr ""
285
 
286
- #: includes/class-mla-core.php:728 includes/class-mla-edit-media.php:648
287
- #: includes/class-mla-edit-media.php:995 includes/class-mla-settings.php:4107
 
288
  msgid "MLA Gallery in"
289
  msgstr ""
290
 
291
- #: includes/class-mla-core.php:733
292
  msgid ""
293
  "Search database posts and pages for [mla_gallery] shortcode results."
294
  "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
@@ -296,101 +306,103 @@ msgid ""
296
  "Cached."
297
  msgstr ""
298
 
299
- #: includes/class-mla-core.php:737 includes/class-mla-settings.php:1377
300
  msgid "Taxonomy Support"
301
  msgstr ""
302
 
303
- #: includes/class-mla-core.php:742
304
  msgid "Compute Attachments Column"
305
  msgstr ""
306
 
307
- #: includes/class-mla-core.php:745
308
  msgid ""
309
  "Check this option to calculate attachments per term in the Attachments "
310
  "Column."
311
  msgstr ""
312
 
313
- #: includes/class-mla-core.php:749
314
  msgid ""
315
  "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
316
  "Assistant and the Edit Media screen."
317
  msgstr ""
318
 
319
- #: includes/class-mla-core.php:750
320
  msgid ""
321
  "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
322
  "the Quick Edit and Bulk Edit areas."
323
  msgstr ""
324
 
325
- #: includes/class-mla-core.php:751
326
  msgid ""
327
  "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
328
  "\"Search Media/Terms\" list."
329
  msgstr ""
330
 
331
- #: includes/class-mla-core.php:752 includes/class-mla-core.php:933
332
- #: includes/class-mla-settings.php:1408 includes/class-mla-settings.php:1409
 
333
  msgid "For complete documentation"
334
  msgstr ""
335
 
336
- #: includes/class-mla-core.php:752 includes/class-mla-core.php:933
337
- #: includes/class-mla-settings.php:1408 includes/class-mla-settings.php:1409
 
338
  msgid "click here"
339
  msgstr ""
340
 
341
- #: includes/class-mla-core.php:754
342
  msgid ""
343
  "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
344
  "meta box for a flat taxonomy."
345
  msgstr ""
346
 
347
- #: includes/class-mla-core.php:755
348
  msgid ""
349
  "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
350
  "strong> box below to enable this feature."
351
  msgstr ""
352
 
353
- #: includes/class-mla-core.php:756
354
  msgid ""
355
  "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
356
  "the top of the checklist-style meta box."
357
  msgstr ""
358
 
359
- #: includes/class-mla-core.php:757
360
  msgid ""
361
  "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
362
  "which to filter the Assistant table listing."
363
  msgstr ""
364
 
365
- #: includes/class-mla-core.php:783
366
  msgid "Media/Assistant Screen Options"
367
  msgstr ""
368
 
369
- #: includes/class-mla-core.php:788
370
  msgid "Admin Menu Options"
371
  msgstr ""
372
 
373
- #: includes/class-mla-core.php:793
374
  msgid "Page Title"
375
  msgstr ""
376
 
377
- #: includes/class-mla-core.php:797
378
  msgid "Enter the title for the Media/Assistant submenu page"
379
  msgstr ""
380
 
381
- #: includes/class-mla-core.php:801
382
  msgid "Menu Title"
383
  msgstr ""
384
 
385
- #: includes/class-mla-core.php:805
386
  msgid "Enter the title for the Media/Assistant submenu entry"
387
  msgstr ""
388
 
389
- #: includes/class-mla-core.php:809
390
  msgid "Submenu Order"
391
  msgstr ""
392
 
393
- #: includes/class-mla-core.php:813
394
  msgid ""
395
  "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
396
  "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
@@ -398,272 +410,286 @@ msgid ""
398
  "\""
399
  msgstr ""
400
 
401
- #: includes/class-mla-core.php:817
402
  msgid "Display Media/Library"
403
  msgstr ""
404
 
405
- #: includes/class-mla-core.php:820
406
  msgid ""
407
  "Check/uncheck this option to display/remove the WordPress Media/Library "
408
  "submenu entry."
409
  msgstr ""
410
 
411
- #: includes/class-mla-core.php:824
 
 
 
 
 
 
 
 
 
 
412
  msgid "Table Defaults"
413
  msgstr ""
414
 
415
- #: includes/class-mla-core.php:829
416
  msgid "Order By"
417
  msgstr ""
418
 
419
- #: includes/class-mla-core.php:833 includes/class-mla-core.php:1049
420
- #: includes/class-mla-core.php:1080 includes/class-mla-core.php:1094
 
 
421
  #: includes/class-mla-list-table.php:433 includes/class-mla-list-table.php:1272
422
- #: includes/class-mla-settings.php:2351
423
  msgid "None"
424
  msgstr ""
425
 
426
- #: includes/class-mla-core.php:833
427
  msgid "ID/Parent"
428
  msgstr ""
429
 
430
- #: includes/class-mla-core.php:834
431
  msgid "Select the column for the sort order of the Assistant table listing."
432
  msgstr ""
433
 
434
- #: includes/class-mla-core.php:838
435
  msgid "Order"
436
  msgstr ""
437
 
438
- #: includes/class-mla-core.php:842
439
  msgid "Ascending"
440
  msgstr ""
441
 
442
- #: includes/class-mla-core.php:842
443
  msgid "Descending"
444
  msgstr ""
445
 
446
- #: includes/class-mla-core.php:843 includes/class-mla-core.php:1059
 
447
  msgid "Choose the sort order."
448
  msgstr ""
449
 
450
- #: includes/class-mla-core.php:847
451
  msgid "Views Width"
452
  msgstr ""
453
 
454
- #: includes/class-mla-core.php:851
455
  msgid "Enter the width for the views list, in pixels (px) or percent (%)"
456
  msgstr ""
457
 
458
- #: includes/class-mla-core.php:855
459
  msgid "Icon Size"
460
  msgstr ""
461
 
462
- #: includes/class-mla-core.php:859
463
  msgid "Enter the size of the thumbnail/icon images, in pixels"
464
  msgstr ""
465
 
466
- #: includes/class-mla-core.php:863
467
  msgid "Bulk Chunk Size"
468
  msgstr ""
469
 
470
- #: includes/class-mla-core.php:867
471
  msgid "Enter the size of the Bulk Edit and Map All processing chunks"
472
  msgstr ""
473
 
474
- #: includes/class-mla-core.php:871
475
  msgid "Taxonomy Filter parameters"
476
  msgstr ""
477
 
478
- #: includes/class-mla-core.php:876
479
  msgid "Maximum Depth"
480
  msgstr ""
481
 
482
- #: includes/class-mla-core.php:880
483
  msgid ""
484
  "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
485
  "for no limit."
486
  msgstr ""
487
 
488
- #: includes/class-mla-core.php:884
489
  msgid "Include Children"
490
  msgstr ""
491
 
492
- #: includes/class-mla-core.php:887
493
  msgid ""
494
  "Check/uncheck this option to include/exclude children for hierarchical "
495
  "taxonomies."
496
  msgstr ""
497
 
498
- #: includes/class-mla-core.php:891
499
  msgid "Search Media Defaults"
500
  msgstr ""
501
 
502
- #: includes/class-mla-core.php:896
503
  msgid "Display Search Controls"
504
  msgstr ""
505
 
506
- #: includes/class-mla-core.php:899 includes/class-mla-core.php:1020
 
507
  msgid ""
508
  "Check/uncheck this option to display/hide the and/or connector and search "
509
  "fields controls."
510
  msgstr ""
511
 
512
- #: includes/class-mla-core.php:903
513
  msgid ""
514
  "Use these controls to set defaults for the and/or connector and search "
515
  "fields controls.<br>These defaults will be used for the Search Media boxes "
516
  "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
517
  msgstr ""
518
 
519
- #: includes/class-mla-core.php:916
520
  msgid "Media/Edit Media Enhancements"
521
  msgstr ""
522
 
523
- #: includes/class-mla-core.php:921
524
  msgid "Enable &quot;enhanced checklist&quot; taxonomies"
525
  msgstr ""
526
 
527
- #: includes/class-mla-core.php:924
528
  msgid ""
529
  "Check this option to enable the \"? Search\" feature for hierarchical "
530
  "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
531
  "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
532
  msgstr ""
533
 
534
- #: includes/class-mla-core.php:928
535
  msgid "Enable Edit Media additional meta boxes"
536
  msgstr ""
537
 
538
- #: includes/class-mla-core.php:931
539
  msgid ""
540
  "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
541
  "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
542
  msgstr ""
543
 
544
- #: includes/class-mla-core.php:932
545
  msgid "You can also use Filters to customize the meta boxes."
546
  msgstr ""
547
 
548
- #: includes/class-mla-core.php:937
549
  msgid "Media/Add New Enhancements"
550
  msgstr ""
551
 
552
- #: includes/class-mla-core.php:942
553
  msgid "Enable &quot;bulk edit&quot; area"
554
  msgstr ""
555
 
556
- #: includes/class-mla-core.php:945
557
  msgid ""
558
  "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
559
  "New screen."
560
  msgstr ""
561
 
562
- #: includes/class-mla-core.php:949
563
  msgid "&quot;bulk edit&quot; area on top"
564
  msgstr ""
565
 
566
- #: includes/class-mla-core.php:952
567
  msgid ""
568
  "Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
569
  "New screen."
570
  msgstr ""
571
 
572
- #: includes/class-mla-core.php:956
573
  msgid "&quot;bulk edit&quot; area initially open"
574
  msgstr ""
575
 
576
- #: includes/class-mla-core.php:959
577
  msgid ""
578
  "Check this option to automatically open the \"Bulk Edit area\" when the "
579
  "Media/Add New screen is displayed."
580
  msgstr ""
581
 
582
- #: includes/class-mla-core.php:963
583
  msgid "Media Manager/Media Grid Enhancements"
584
  msgstr ""
585
 
586
- #: includes/class-mla-core.php:968
587
  msgid "Enable Media Grid Enhancements"
588
  msgstr ""
589
 
590
- #: includes/class-mla-core.php:971
591
  msgid ""
592
  "Check/uncheck this option to enable/disable Media Library Grid View "
593
  "Enhancements."
594
  msgstr ""
595
 
596
- #: includes/class-mla-core.php:975
597
  msgid "Enable Media Manager Enhancements"
598
  msgstr ""
599
 
600
- #: includes/class-mla-core.php:978
601
  msgid ""
602
  "Check/uncheck this option to enable/disable Media Manager Modal Window "
603
  "Enhancements."
604
  msgstr ""
605
 
606
- #: includes/class-mla-core.php:982
607
  msgid "Media Manager Enhanced MIME Type filter"
608
  msgstr ""
609
 
610
- #: includes/class-mla-core.php:985
611
  msgid ""
612
  "Check this option to filter by more MIME Types, e.g., text, applications."
613
  msgstr ""
614
 
615
- #: includes/class-mla-core.php:989
616
  msgid "Media Manager Month and Year filter"
617
  msgstr ""
618
 
619
- #: includes/class-mla-core.php:992
620
  msgid "Check this option to filter by month and year uploaded."
621
  msgstr ""
622
 
623
- #: includes/class-mla-core.php:996
624
  msgid "Media Manager Category/Tag filter"
625
  msgstr ""
626
 
627
- #: includes/class-mla-core.php:999
628
  msgid "Check this option to filter by taxonomy terms."
629
  msgstr ""
630
 
631
- #: includes/class-mla-core.php:1003
632
  msgid "Media Manager Terms Search popup"
633
  msgstr ""
634
 
635
- #: includes/class-mla-core.php:1006
636
  msgid "Check this option to enable the \"Terms Search\" popup window."
637
  msgstr ""
638
 
639
- #: includes/class-mla-core.php:1010
640
  msgid "Media Manager Enhanced Search Media box"
641
  msgstr ""
642
 
643
- #: includes/class-mla-core.php:1013
644
  msgid "Check this option to enable search box enhancements."
645
  msgstr ""
646
 
647
- #: includes/class-mla-core.php:1017
648
  msgid "Media Manager Enhanced Search Media Controls"
649
  msgstr ""
650
 
651
- #: includes/class-mla-core.php:1024
652
  msgid "Media Manager Checklist meta boxes"
653
  msgstr ""
654
 
655
- #: includes/class-mla-core.php:1027
656
  msgid ""
657
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
658
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
659
  "<strong>\"checklist-style\"</strong> meta box."
660
  msgstr ""
661
 
662
- #: includes/class-mla-core.php:1031
663
  msgid "Media Manager Flat meta boxes"
664
  msgstr ""
665
 
666
- #: includes/class-mla-core.php:1034
667
  msgid ""
668
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
669
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
@@ -671,172 +697,217 @@ msgid ""
671
  "style\" meta box."
672
  msgstr ""
673
 
674
- #: includes/class-mla-core.php:1038
675
  msgid "Media Manager auto-fill meta boxes"
676
  msgstr ""
677
 
678
- #: includes/class-mla-core.php:1041
679
  msgid ""
680
  "Check this option to automatically fill MLA-enhanced meta boxes in the "
681
  "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
682
  msgstr ""
683
 
684
- #: includes/class-mla-core.php:1045
685
  msgid "Media Manager Order By"
686
  msgstr ""
687
 
688
- #: includes/class-mla-core.php:1049 includes/class-mla-core.php:1058
689
- #: includes/class-mla-core.php:1080 includes/class-mla-core.php:1094
690
- #: includes/class-mla-core.php:1108 includes/class-mla-settings.php:1458
 
 
691
  msgid "Media Manager Default"
692
  msgstr ""
693
 
694
- #: includes/class-mla-core.php:1049
695
  msgid "Title/Name"
696
  msgstr ""
697
 
698
- #: includes/class-mla-core.php:1050
699
  msgid ""
700
  "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
701
  "column for the sort order of the Media Library listing."
702
  msgstr ""
703
 
704
- #: includes/class-mla-core.php:1054
705
  msgid "Media Manager Order"
706
  msgstr ""
707
 
708
- #: includes/class-mla-core.php:1063
709
  msgid "Attachment Display Settings"
710
  msgstr ""
711
 
712
- #: includes/class-mla-core.php:1068
713
  msgid "Media Manager Apply Display Settings"
714
  msgstr ""
715
 
716
- #: includes/class-mla-core.php:1071
717
  msgid ""
718
  "Check this option to always start with the Attachment Display Settings set "
719
  "here,<br>&nbsp;&nbsp;overriding browser-/cookie-based defaults."
720
  msgstr ""
721
 
722
- #: includes/class-mla-core.php:1075 includes/class-mla-core.php:1077
 
723
  msgid "Alignment"
724
  msgstr ""
725
 
726
  #. translators: 1: option name, e.g., Alignment, Link To or Size
727
- #: includes/class-mla-core.php:1077 includes/class-mla-core.php:1091
728
- #: includes/class-mla-core.php:1105
 
729
  #, php-format
730
  msgid ""
731
  "Select a value for the default %1$s option in the Attachment Display "
732
  "Settings."
733
  msgstr ""
734
 
735
- #: includes/class-mla-core.php:1080
736
  msgid "Left"
737
  msgstr ""
738
 
739
- #: includes/class-mla-core.php:1080
740
  msgid "Center"
741
  msgstr ""
742
 
743
- #: includes/class-mla-core.php:1080
744
  msgid "Right"
745
  msgstr ""
746
 
747
- #: includes/class-mla-core.php:1089 includes/class-mla-core.php:1091
 
748
  msgid "Link To"
749
  msgstr ""
750
 
751
- #: includes/class-mla-core.php:1094
752
  msgid "Media File"
753
  msgstr ""
754
 
755
- #: includes/class-mla-core.php:1094
756
  msgid "Attachment Page"
757
  msgstr ""
758
 
759
- #: includes/class-mla-core.php:1094
760
  msgid "Custom URL"
761
  msgstr ""
762
 
763
- #: includes/class-mla-core.php:1103 includes/class-mla-core.php:1105
 
764
  msgid "Size"
765
  msgstr ""
766
 
767
- #: includes/class-mla-core.php:1108
768
  #: includes/class-mla-thumbnail-generation.php:396
769
  #: includes/class-mla-thumbnail-generation.php:443
770
  msgid "Thumbnail"
771
  msgstr ""
772
 
773
- #: includes/class-mla-core.php:1108
774
  msgid "Medium"
775
  msgstr ""
776
 
777
- #: includes/class-mla-core.php:1108
778
  msgid "Large"
779
  msgstr ""
780
 
781
- #: includes/class-mla-core.php:1108
782
  msgid "Full Size"
783
  msgstr ""
784
 
785
- #: includes/class-mla-core.php:1117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
786
  msgid "Default [mla_gallery] Templates and Settings"
787
  msgstr ""
788
 
789
- #: includes/class-mla-core.php:1122 includes/class-mla-core.php:1128
790
- #: includes/class-mla-core.php:1166 includes/class-mla-core.php:1172
791
- #: includes/class-mla-settings.php:3361 includes/class-mla-settings.php:3372
792
- #: includes/class-mla-settings.php:3378 includes/class-mla-settings.php:3382
793
- #: includes/class-mla-settings.php:3410 includes/class-mla-settings.php:3421
 
 
794
  msgid "Style Template"
795
  msgstr ""
796
 
797
  #. translators: 1: template type 2: shortcode
798
- #: includes/class-mla-core.php:1128 includes/class-mla-core.php:1138
799
- #: includes/class-mla-core.php:1172 includes/class-mla-core.php:1182
 
 
800
  #, php-format
801
  msgid "Select the default %1$s for your %2$s shortcodes."
802
  msgstr ""
803
 
804
- #: includes/class-mla-core.php:1132 includes/class-mla-core.php:1176
 
805
  msgid "Markup Template"
806
  msgstr ""
807
 
808
- #: includes/class-mla-core.php:1138 includes/class-mla-core.php:1182
809
- #: includes/class-mla-settings.php:3450 includes/class-mla-settings.php:3463
810
- #: includes/class-mla-settings.php:3469 includes/class-mla-settings.php:3473
811
- #: includes/class-mla-settings.php:3542
812
  msgid "markup template"
813
  msgstr ""
814
 
815
- #: includes/class-mla-core.php:1142 includes/class-mla-core.php:1186
 
816
  msgid "Default columns"
817
  msgstr ""
818
 
819
- #: includes/class-mla-core.php:1146
820
  msgid ""
821
  "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
822
  msgstr ""
823
 
824
- #: includes/class-mla-core.php:1150 includes/class-mla-core.php:1194
 
825
  msgid "Default mla_margin"
826
  msgstr ""
827
 
828
- #: includes/class-mla-core.php:1154 includes/class-mla-core.php:1198
 
829
  msgid ""
830
  "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
831
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
832
  "remove the property entirely."
833
  msgstr ""
834
 
835
- #: includes/class-mla-core.php:1158 includes/class-mla-core.php:1202
 
836
  msgid "Default mla_itemwidth"
837
  msgstr ""
838
 
839
- #: includes/class-mla-core.php:1162 includes/class-mla-core.php:1206
 
840
  msgid ""
841
  "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
842
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
@@ -846,19 +917,19 @@ msgid ""
846
  "the property entirely."
847
  msgstr ""
848
 
849
- #: includes/class-mla-core.php:1190
850
  msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
851
  msgstr ""
852
 
853
- #: includes/class-mla-core.php:1210
854
  msgid "Thumbnail Substitution Support, mla_viewer"
855
  msgstr ""
856
 
857
- #: includes/class-mla-core.php:1215
858
  msgid "Enable thumbnail substitution"
859
  msgstr ""
860
 
861
- #: includes/class-mla-core.php:1218
862
  msgid ""
863
  "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
864
  "for PDF documents. Thumbnails are generated dynamically, each time the item "
@@ -867,32 +938,32 @@ msgid ""
867
  "strong>"
868
  msgstr ""
869
 
870
- #: includes/class-mla-core.php:1222
871
  msgid "Enable Featured Images"
872
  msgstr ""
873
 
874
- #: includes/class-mla-core.php:1225
875
  msgid ""
876
  "Check this option to extend Featured Image support to all Media Library "
877
  "items. The Featured Image can be used as a thumbnail image for the item in "
878
  "an [mla_gallery] display."
879
  msgstr ""
880
 
881
- #: includes/class-mla-core.php:1229
882
  msgid "Enable Featured Image Generation"
883
  msgstr ""
884
 
885
- #: includes/class-mla-core.php:1232
886
  msgid ""
887
  "Check this option to enable the \"Thumbnail\" generation action in the Media/"
888
  "Assistant submenu Bulk Actions dropdown."
889
  msgstr ""
890
 
891
- #: includes/class-mla-core.php:1236
892
  msgid "Enable explicit Ghostscript check"
893
  msgstr ""
894
 
895
- #: includes/class-mla-core.php:1239
896
  msgid ""
897
  "Check this option to enable the explicit check for Ghostscript support "
898
  "required for thumbnail generation. If your Ghostscript software is in a non-"
@@ -901,22 +972,22 @@ msgid ""
901
  "leave this option checked unless you know it is safe to turn it off."
902
  msgstr ""
903
 
904
- #: includes/class-mla-core.php:1243
905
  msgid "Ghostscript path"
906
  msgstr ""
907
 
908
- #: includes/class-mla-core.php:1247
909
  msgid ""
910
  "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
911
  "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
912
  "override the search for Ghostscript in other places."
913
  msgstr ""
914
 
915
- #: includes/class-mla-core.php:1267
916
  msgid "Enable custom field mapping when adding new media"
917
  msgstr ""
918
 
919
- #: includes/class-mla-core.php:1270
920
  msgid ""
921
  "Check this option to enable mapping when uploading new media (attachments)."
922
  "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
@@ -924,18 +995,19 @@ msgid ""
924
  "buttons on the bulk edit, single edit and settings screens."
925
  msgstr ""
926
 
927
- #: includes/class-mla-core.php:1274
928
  msgid "Enable custom field mapping when updating media metadata"
929
  msgstr ""
930
 
931
- #: includes/class-mla-core.php:1277 includes/class-mla-core.php:1301
 
932
  msgid ""
933
  "Check this option to enable mapping when media (attachments) metadata is "
934
  "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
935
  "functions are used."
936
  msgstr ""
937
 
938
- #: includes/class-mla-core.php:1281
939
  msgid ""
940
  "Update the custom field mapping values above, then click Save Changes to "
941
  "make the updates permanent.<br>You can also make temporary updates and click "
@@ -943,22 +1015,22 @@ msgid ""
943
  "saving any rule changes."
944
  msgstr ""
945
 
946
- #: includes/class-mla-core.php:1291
947
  msgid "Enable IPTC/EXIF Mapping when adding new media"
948
  msgstr ""
949
 
950
- #: includes/class-mla-core.php:1294
951
  msgid ""
952
  "Check this option to enable mapping when uploading new media (attachments)."
953
  "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
954
  "bulk edit, single edit and settings screens."
955
  msgstr ""
956
 
957
- #: includes/class-mla-core.php:1298
958
  msgid "Enable IPTC/EXIF Mapping when updating media metadata"
959
  msgstr ""
960
 
961
- #: includes/class-mla-core.php:1305
962
  msgid ""
963
  "Update the standard field mapping values above, then click <strong>Save "
964
  "Changes</strong> to make the updates permanent.<br>You can also make "
@@ -967,13 +1039,13 @@ msgid ""
967
  "changes."
968
  msgstr ""
969
 
970
- #: includes/class-mla-core.php:1315
971
  msgid ""
972
  "Update the taxonomy term mapping values above, then click <strong>Save "
973
  "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
974
  msgstr ""
975
 
976
- #: includes/class-mla-core.php:1325
977
  msgid ""
978
  "<strong>Update</strong> individual custom field mapping values above, or "
979
  "make several updates and click <strong>Save Changes</strong> below to apply "
@@ -984,293 +1056,298 @@ msgid ""
984
  "changes."
985
  msgstr ""
986
 
987
- #: includes/class-mla-core.php:1335
988
  msgid "IPTC/EXIF Mapping help"
989
  msgstr ""
990
 
991
- #: includes/class-mla-core.php:1346 includes/class-mla-data.php:3546
992
- #: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:2032
993
  msgid "Name/Slug"
994
  msgstr ""
995
 
996
- #: includes/class-mla-core.php:1353 includes/class-mla-data.php:3588
997
  #: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:1214
998
- #: includes/class-mla-main.php:2035 includes/class-mla-options.php:824
999
  #: includes/mla-main-search-box-template.php:52
1000
  #: includes/mla-media-modal-js-template.php:48
1001
  msgid "ALT Text"
1002
  msgstr ""
1003
 
1004
- #: includes/class-mla-core.php:1360 includes/class-mla-data.php:3601
1005
- #: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:2033
1006
- #: includes/class-mla-options.php:827
1007
  #: includes/mla-main-search-box-template.php:53
1008
  #: includes/mla-media-modal-js-template.php:53
1009
  msgid "Caption"
1010
  msgstr ""
1011
 
1012
- #: includes/class-mla-core.php:1367 includes/class-mla-data.php:3610
1013
- #: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:2034
1014
- #: includes/class-mla-options.php:830 includes/class-mla-settings.php:1547
1015
- #: includes/class-mla-settings.php:1804 includes/class-mla-settings.php:1902
1016
- #: includes/class-mla-settings.php:2266
1017
  #: includes/mla-main-search-box-template.php:54
1018
  #: includes/mla-media-modal-js-template.php:57
1019
  msgid "Description"
1020
  msgstr ""
1021
 
1022
- #: includes/class-mla-core.php:1387
1023
  msgid "Enable View and Post MIME Type Support"
1024
  msgstr ""
1025
 
1026
- #: includes/class-mla-core.php:1390
1027
  msgid ""
1028
  "Check/uncheck this option to enable/disable Post MIME Type Support, then "
1029
  "click <strong>Save Changes</strong> to record the new setting."
1030
  msgstr ""
1031
 
1032
- #: includes/class-mla-core.php:1399
1033
  msgid "Post MIME Types help."
1034
  msgstr ""
1035
 
1036
- #: includes/class-mla-core.php:1402 includes/class-mla-mime-types.php:1366
 
1037
  msgctxt "table_view_singular"
1038
  msgid "All"
1039
  msgstr ""
1040
 
1041
- #: includes/class-mla-core.php:1403 includes/class-mla-mime-types.php:1367
 
1042
  msgctxt "table_view_plural"
1043
  msgid "All"
1044
  msgstr ""
1045
 
1046
- #: includes/class-mla-core.php:1408 includes/class-mla-core.php:1462
1047
- #: includes/class-mla-core.php:1471 includes/class-mla-core.php:1480
 
 
1048
  msgctxt "post_mime_types_description"
1049
  msgid "Built-in view"
1050
  msgstr ""
1051
 
1052
- #: includes/class-mla-core.php:1411
1053
  msgctxt "table_view_singular"
1054
  msgid "Image"
1055
  msgstr ""
1056
 
1057
- #: includes/class-mla-core.php:1412
1058
  msgctxt "table_view_plural"
1059
  msgid "Images"
1060
  msgstr ""
1061
 
1062
- #: includes/class-mla-core.php:1417
1063
  msgctxt "post_mime_types_description"
1064
  msgid "All image subtypes"
1065
  msgstr ""
1066
 
1067
- #: includes/class-mla-core.php:1420
1068
  msgctxt "table_view_singular"
1069
  msgid "Audio"
1070
  msgstr ""
1071
 
1072
- #: includes/class-mla-core.php:1421
1073
  msgctxt "table_view_plural"
1074
  msgid "Audio"
1075
  msgstr ""
1076
 
1077
- #: includes/class-mla-core.php:1426
1078
  msgctxt "post_mime_types_description"
1079
  msgid "All audio subtypes"
1080
  msgstr ""
1081
 
1082
- #: includes/class-mla-core.php:1429
1083
  msgctxt "table_view_singular"
1084
  msgid "Video"
1085
  msgstr ""
1086
 
1087
- #: includes/class-mla-core.php:1430
1088
  msgctxt "table_view_plural"
1089
  msgid "Video"
1090
  msgstr ""
1091
 
1092
- #: includes/class-mla-core.php:1435
1093
  msgctxt "post_mime_types_description"
1094
  msgid "All video subtypes"
1095
  msgstr ""
1096
 
1097
- #: includes/class-mla-core.php:1438
1098
  msgctxt "table_view_singular"
1099
  msgid "Text"
1100
  msgstr ""
1101
 
1102
- #: includes/class-mla-core.php:1439
1103
  msgctxt "table_view_plural"
1104
  msgid "Text"
1105
  msgstr ""
1106
 
1107
- #: includes/class-mla-core.php:1444
1108
  msgctxt "post_mime_types_description"
1109
  msgid "All text subtypes"
1110
  msgstr ""
1111
 
1112
- #: includes/class-mla-core.php:1447
1113
  msgctxt "table_view_singular"
1114
  msgid "Application"
1115
  msgstr ""
1116
 
1117
- #: includes/class-mla-core.php:1448
1118
  msgctxt "table_view_plural"
1119
  msgid "Applications"
1120
  msgstr ""
1121
 
1122
- #: includes/class-mla-core.php:1453
1123
  msgctxt "post_mime_types_description"
1124
  msgid "All application subtypes"
1125
  msgstr ""
1126
 
1127
- #: includes/class-mla-core.php:1456 includes/class-mla-list-table.php:1409
 
1128
  msgctxt "table_view_singular"
1129
  msgid "Unattached"
1130
  msgstr ""
1131
 
1132
- #: includes/class-mla-core.php:1457
1133
  msgctxt "table_view_plural"
1134
  msgid "Unattached"
1135
  msgstr ""
1136
 
1137
- #: includes/class-mla-core.php:1465
1138
  msgctxt "table_view_singular"
1139
  msgid "Attached"
1140
  msgstr ""
1141
 
1142
- #: includes/class-mla-core.php:1466
1143
  msgctxt "table_view_plural"
1144
  msgid "Attached"
1145
  msgstr ""
1146
 
1147
- #: includes/class-mla-core.php:1474
1148
  msgctxt "table_view_singular"
1149
  msgid "Trash"
1150
  msgstr ""
1151
 
1152
- #: includes/class-mla-core.php:1475
1153
  msgctxt "table_view_plural"
1154
  msgid "Trash"
1155
  msgstr ""
1156
 
1157
- #: includes/class-mla-core.php:1486
1158
  msgid "Enable Upload MIME Type Support"
1159
  msgstr ""
1160
 
1161
- #: includes/class-mla-core.php:1489
1162
  msgid ""
1163
  "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
1164
  "click <strong>Save Changes</strong> to record the new setting."
1165
  msgstr ""
1166
 
1167
- #: includes/class-mla-core.php:1498
1168
  msgid "Upload MIME Types help."
1169
  msgstr ""
1170
 
1171
- #: includes/class-mla-core.php:1503
1172
  msgid "Enable MLA File Type Icons Support"
1173
  msgstr ""
1174
 
1175
- #: includes/class-mla-core.php:1506
1176
  msgid ""
1177
  "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
1178
  "then click <strong>Save Changes</strong> to record the new setting."
1179
  msgstr ""
1180
 
1181
- #: includes/class-mla-core.php:1510
1182
  msgid "Display Limit"
1183
  msgstr ""
1184
 
1185
- #: includes/class-mla-core.php:1514
1186
  msgid ""
1187
  "Enter the maximum number of debug log characters to display; enter zero or "
1188
  "leave blank for no limit."
1189
  msgstr ""
1190
 
1191
- #: includes/class-mla-core.php:1518
1192
  msgid "Debug File"
1193
  msgstr ""
1194
 
1195
- #: includes/class-mla-core.php:1522
1196
  msgid ""
1197
  "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
1198
  "use the PHP error_log."
1199
  msgstr ""
1200
 
1201
- #: includes/class-mla-core.php:1526
1202
  msgid "Replace PHP error_log file"
1203
  msgstr ""
1204
 
1205
- #: includes/class-mla-core.php:1529
1206
  msgid ""
1207
  "Check this option to replace the PHP error_log file with the MLA Debug File."
1208
  "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
1209
  msgstr ""
1210
 
1211
- #: includes/class-mla-core.php:1533
1212
  msgid "PHP Reporting"
1213
  msgstr ""
1214
 
1215
- #: includes/class-mla-core.php:1537
1216
  msgid ""
1217
  "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
1218
  "use the existing PHP error_reporting value."
1219
  msgstr ""
1220
 
1221
- #: includes/class-mla-core.php:1541
1222
  msgid "MLA Reporting"
1223
  msgstr ""
1224
 
1225
- #: includes/class-mla-core.php:1545
1226
  msgid ""
1227
  "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
1228
  "the existing MLA_DEBUG_LEVEL value."
1229
  msgstr ""
1230
 
1231
  #. translators: 1: ERROR tag 2: path and file name
1232
- #: includes/class-mla-core.php:1728
1233
  #, php-format
1234
  msgctxt "error_log"
1235
  msgid "%1$s: mla_load_template file \"%2$s\" not found."
1236
  msgstr ""
1237
 
1238
  #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
1239
- #: includes/class-mla-core.php:1746
1240
  #, php-format
1241
  msgctxt "error_log"
1242
  msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
1243
  msgstr ""
1244
 
1245
  #. translators: 1: ERROR tag 2: raw_mime_type
1246
- #: includes/class-mla-core.php:2123
1247
  #, php-format
1248
  msgid "%1$s: Bad specification part \"%2$s\""
1249
  msgstr ""
1250
 
1251
  #. translators: 1: ERROR tag 2: option, e.g., any, match, null
1252
- #: includes/class-mla-core.php:2129
1253
  #, php-format
1254
  msgid "%1$s: Bad specification option \"%2$s\""
1255
  msgstr ""
1256
 
1257
  #. translators: 1: ERROR tag 2: prefix, e.g., custom
1258
- #: includes/class-mla-core.php:2133
1259
  #, php-format
1260
  msgid "%1$s: Bad specification prefix \"%2$s\""
1261
  msgstr ""
1262
 
1263
- #: includes/class-mla-core.php:2233
1264
  msgid "Most Used"
1265
  msgstr ""
1266
 
1267
  #. translators: %s: add new taxonomy label
1268
- #: includes/class-mla-core.php:2262
1269
  #, php-format
1270
  msgid "+ %s"
1271
  msgstr ""
1272
 
1273
- #: includes/class-mla-core.php:2268 includes/class-mla-main.php:1833
1274
  #: includes/class-mla-media-modal.php:601
1275
  #: includes/mla-media-modal-js-template.php:28
1276
  #: includes/mla-media-modal-js-template.php:71
@@ -1419,86 +1496,86 @@ msgstr ""
1419
 
1420
  #. translators: 1: ERROR tag 2: function name 3: non-array value
1421
  #: includes/class-mla-data-query.php:666 includes/class-mla-edit-media.php:316
1422
- #: includes/class-mla-main.php:1827 includes/class-mla-main.php:1902
1423
  #: includes/class-mla-media-modal.php:571 includes/class-mla-mime-types.php:477
1424
  #: includes/class-mla-mime-types.php:1130
1425
- #: includes/class-mla-mime-types.php:2323 includes/class-mla-settings.php:1581
1426
- #: includes/class-mla-settings.php:2027
1427
  #, php-format
1428
  msgctxt "error_log"
1429
  msgid "%1$s: %2$s non-array \"%3$s\""
1430
  msgstr ""
1431
 
1432
  #. translators: 1: DEBUG tag 2: query filter details
1433
- #: includes/class-mla-data-query.php:1098
1434
  #, php-format
1435
  msgctxt "error_log"
1436
  msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
1437
  msgstr ""
1438
 
1439
- #: includes/class-mla-data-query.php:1098
1440
- #: includes/class-mla-data-query.php:1113
1441
  #: includes/class-mla-data-query.php:1115
1442
- #: includes/class-mla-data-query.php:1541
1443
- #: includes/class-mla-data-query.php:1613
1444
- #: includes/class-mla-data-query.php:1685
1445
- #: includes/class-mla-data-query.php:1782
1446
- #: includes/class-mla-data-query.php:1860
1447
- #: includes/class-mla-data-query.php:1879
 
 
1448
  msgid "DEBUG"
1449
  msgstr ""
1450
 
1451
  #. translators: 1: DEBUG tag 2: query details
1452
- #: includes/class-mla-data-query.php:1113
1453
  #, php-format
1454
  msgctxt "error_log"
1455
  msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
1456
  msgstr ""
1457
 
1458
  #. translators: 1: DEBUG tag 2: SQL statement
1459
- #: includes/class-mla-data-query.php:1115
1460
  #, php-format
1461
  msgctxt "error_log"
1462
  msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
1463
  msgstr ""
1464
 
1465
  #. translators: 1: DEBUG tag 2: search filter details
1466
- #: includes/class-mla-data-query.php:1541
1467
  #, php-format
1468
  msgctxt "error_log"
1469
  msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
1470
  msgstr ""
1471
 
1472
  #. translators: 1: DEBUG tag 2: where filter details
1473
- #: includes/class-mla-data-query.php:1613
1474
  #, php-format
1475
  msgctxt "error_log"
1476
  msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
1477
  msgstr ""
1478
 
1479
  #. translators: 1: DEBUG tag 2: join filter details
1480
- #: includes/class-mla-data-query.php:1685
1481
  #, php-format
1482
  msgctxt "error_log"
1483
  msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
1484
  msgstr ""
1485
 
1486
  #. translators: 1: DEBUG tag 2: orderby details details
1487
- #: includes/class-mla-data-query.php:1782
1488
  #, php-format
1489
  msgctxt "error_log"
1490
  msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
1491
  msgstr ""
1492
 
1493
  #. translators: 1: DEBUG tag 2: SQL clauses
1494
- #: includes/class-mla-data-query.php:1860
1495
  #, php-format
1496
  msgctxt "error_log"
1497
  msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
1498
  msgstr ""
1499
 
1500
  #. translators: 1: DEBUG tag 2: SQL clauses
1501
- #: includes/class-mla-data-query.php:1879
1502
  #, php-format
1503
  msgctxt "error_log"
1504
  msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
@@ -1609,25 +1686,25 @@ msgctxt "error_log"
1609
  msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
1610
  msgstr ""
1611
 
1612
- #: includes/class-mla-data.php:1751
1613
  msgctxt "error_log"
1614
  msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
1615
  msgstr ""
1616
 
1617
- #: includes/class-mla-data.php:1755
1618
  msgctxt "error_log"
1619
  msgid "mla_parse_xmp_metadata set option failed."
1620
  msgstr ""
1621
 
1622
- #: includes/class-mla-data.php:3009 includes/class-mla-settings.php:1814
1623
  #: includes/class-mla-view-list-table.php:430
1624
  #: includes/class-mla-view-list-table.php:446
1625
  #: includes/class-mla-wpml-support.php:1595
1626
  msgid "Yes"
1627
  msgstr ""
1628
 
1629
- #: includes/class-mla-data.php:3011 includes/class-mla-list-table.php:166
1630
- #: includes/class-mla-settings.php:1813
1631
  #: includes/class-mla-view-list-table.php:432
1632
  #: includes/class-mla-view-list-table.php:448
1633
  #: includes/class-mla-wpml-support.php:1596
@@ -1635,13 +1712,13 @@ msgid "No"
1635
  msgstr ""
1636
 
1637
  #. translators: 1: meta_key
1638
- #: includes/class-mla-data.php:3270 includes/class-mla-data.php:3368
1639
  #, php-format
1640
  msgid "Deleting %1$s"
1641
  msgstr ""
1642
 
1643
  #. translators: 1: ERROR tag 2: meta_key
1644
- #: includes/class-mla-data.php:3273
1645
  #, php-format
1646
  msgid "%1$s: meta:%2$s not found"
1647
  msgstr ""
@@ -1649,164 +1726,164 @@ msgstr ""
1649
  #. translators: 1: meta_key 2: meta_value
1650
  #. translators: 1: meta_key 2: new_value
1651
  #. translators: 1: meta_key 2: meta_value
1652
- #: includes/class-mla-data.php:3282 includes/class-mla-data.php:3379
1653
- #: includes/class-mla-data.php:3385
1654
  #, php-format
1655
  msgid "Adding %1$s = %2$s"
1656
  msgstr ""
1657
 
1658
  #. translators: 1: ERROR tag 2: meta_key
1659
- #: includes/class-mla-data.php:3286
1660
  #, php-format
1661
  msgid "%1$s: Adding meta:%2$s; not found"
1662
  msgstr ""
1663
 
1664
  #. translators: 1: meta_key
1665
- #: includes/class-mla-data.php:3293
1666
  #, php-format
1667
  msgid "Deleting Null meta:%1$s"
1668
  msgstr ""
1669
 
1670
  #. translators: 1: element name 2: old_value 3: new_value
1671
- #: includes/class-mla-data.php:3303 includes/class-mla-data.php:3454
1672
- #: includes/class-mla-data.php:3520 includes/class-mla-data.php:3546
1673
- #: includes/class-mla-data.php:3588 includes/class-mla-data.php:3601
1674
- #: includes/class-mla-data.php:3610 includes/class-mla-data.php:3621
1675
- #: includes/class-mla-data.php:3632 includes/class-mla-data.php:3645
1676
- #: includes/class-mla-data.php:3654 includes/class-mla-data.php:3663
1677
- #: includes/class-mla-mime-types.php:964 includes/class-mla-mime-types.php:2087
1678
  #, php-format
1679
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
1680
  msgstr ""
1681
 
1682
  #. translators: 1: ERROR tag 2: meta_key
1683
- #: includes/class-mla-data.php:3308
1684
  #, php-format
1685
  msgid "%1$s: Changing meta:%2$s; not found"
1686
  msgstr ""
1687
 
1688
  #. translators: 1: meta_key
1689
- #: includes/class-mla-data.php:3409
1690
  #, php-format
1691
  msgid "Deleting old %1$s values"
1692
  msgstr ""
1693
 
1694
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
1695
- #: includes/class-mla-data.php:3439
1696
  #, php-format
1697
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
1698
  msgstr ""
1699
 
1700
- #: includes/class-mla-data.php:3497
1701
  msgid "Could not retrieve Attachment."
1702
  msgstr ""
1703
 
1704
  #. translators: 1: ERROR tag 2: old_value
1705
- #: includes/class-mla-data.php:3543
1706
  #, php-format
1707
  msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
1708
  msgstr ""
1709
 
1710
  #. translators: 1: old_value
1711
- #: includes/class-mla-data.php:3572
1712
  #, php-format
1713
  msgid "Deleting ALT Text, was \"%1$s\""
1714
  msgstr ""
1715
 
1716
  #. translators: 1: ERROR tag 2: old_value
1717
- #: includes/class-mla-data.php:3575
1718
  #, php-format
1719
  msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
1720
  msgstr ""
1721
 
1722
  #. translators: 1: ERROR tag 2: old_value 3: new_value
1723
- #: includes/class-mla-data.php:3591
1724
  #, php-format
1725
  msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
1726
  msgstr ""
1727
 
1728
- #: includes/class-mla-data.php:3621 includes/class-mla-list-table.php:916
1729
  #: includes/class-mla-list-table.php:919 includes/class-mla-list-table.php:922
1730
- #: includes/class-mla-list-table.php:990 includes/class-mla-options.php:2576
1731
- #: includes/class-mla-options.php:2958
1732
  msgid "Parent"
1733
  msgstr ""
1734
 
1735
- #: includes/class-mla-data.php:3632 includes/class-mla-edit-media.php:625
1736
- #: includes/class-mla-edit-media.php:828 includes/class-mla-main.php:2038
1737
- #: includes/class-mla-settings.php:1545 includes/class-mla-settings.php:1802
1738
  msgid "Menu Order"
1739
  msgstr ""
1740
 
1741
- #: includes/class-mla-data.php:3645 includes/class-mla-edit-media.php:395
1742
  #: includes/class-mla-list-table.php:1370
1743
- #: includes/class-mla-list-table.php:1373 includes/class-mla-main.php:1908
1744
- #: includes/class-mla-main.php:2010
1745
  msgid "Author"
1746
  msgstr ""
1747
 
1748
- #: includes/class-mla-data.php:3654 includes/class-mla-edit-media.php:420
1749
- #: includes/class-mla-main.php:2050
1750
  msgid "Comments"
1751
  msgstr ""
1752
 
1753
- #: includes/class-mla-data.php:3663 includes/class-mla-edit-media.php:421
1754
- #: includes/class-mla-main.php:2051
1755
  msgid "Pings"
1756
  msgstr ""
1757
 
1758
- #: includes/class-mla-data.php:3695
1759
  msgid "Adding"
1760
  msgstr ""
1761
 
1762
- #: includes/class-mla-data.php:3700
1763
  msgid "Removing"
1764
  msgstr ""
1765
 
1766
- #: includes/class-mla-data.php:3709
1767
  msgid "Replacing"
1768
  msgstr ""
1769
 
1770
- #: includes/class-mla-data.php:3717
1771
  msgid "Ignoring"
1772
  msgstr ""
1773
 
1774
  #. translators: 1: action_name, 2: taxonomy
1775
- #: includes/class-mla-data.php:3730
1776
  #, php-format
1777
  msgid "%1$s \"%2$s\" terms"
1778
  msgstr ""
1779
 
1780
  #. translators: 1: taxonomy
1781
- #: includes/class-mla-data.php:3734
1782
  #, php-format
1783
  msgid "You cannot assign \"%1$s\" terms"
1784
  msgstr ""
1785
 
1786
  #. translators: 1: post ID
1787
- #: includes/class-mla-data.php:3746 includes/class-mla-main.php:1213
1788
  #, php-format
1789
  msgid "Item %1$d, no changes detected."
1790
  msgstr ""
1791
 
1792
  #. translators: 1: post ID
1793
- #: includes/class-mla-data.php:3767
1794
  #, php-format
1795
  msgid "Item %1$d updated."
1796
  msgstr ""
1797
 
1798
  #. translators: 1: ERROR tag 2: post ID
1799
- #: includes/class-mla-data.php:3781
1800
  #, php-format
1801
  msgid "%1$s: Item %2$d update failed."
1802
  msgstr ""
1803
 
1804
  #: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:184
1805
- #: includes/class-mla-edit-media.php:237 includes/class-mla-main.php:465
1806
- #: includes/class-mla-main.php:993 includes/class-mla-main.php:1721
1807
- #: includes/class-mla-media-modal.php:233 includes/class-mla-options.php:2089
1808
  #: includes/class-mla-polylang-support.php:390
1809
- #: includes/class-mla-settings.php:342
1810
  #: includes/class-mla-thumbnail-generation.php:99
1811
  msgctxt "tag_delimiter"
1812
  msgid ","
@@ -1825,39 +1902,39 @@ msgid "Close Bulk Edit area"
1825
  msgstr ""
1826
 
1827
  #: includes/class-mla-edit-media.php:185 includes/class-mla-edit-media.php:239
1828
- #: includes/class-mla-main.php:452
1829
  msgid "An ajax.fail error has occurred. Please reload the page and try again."
1830
  msgstr ""
1831
 
1832
  #: includes/class-mla-edit-media.php:186 includes/class-mla-edit-media.php:240
1833
- #: includes/class-mla-main.php:453
1834
  msgid "An ajax.done error has occurred. Please reload the page and try again."
1835
  msgstr ""
1836
 
1837
- #: includes/class-mla-edit-media.php:338 includes/class-mla-main.php:1943
1838
  msgid "more"
1839
  msgstr ""
1840
 
1841
- #: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:1944
1842
  msgid "less"
1843
  msgstr ""
1844
 
1845
  #: includes/class-mla-edit-media.php:342 includes/class-mla-edit-media.php:373
1846
- #: includes/class-mla-main.php:1947 includes/class-mla-main.php:1985
1847
  msgid "Add"
1848
  msgstr ""
1849
 
1850
  #: includes/class-mla-edit-media.php:343 includes/class-mla-edit-media.php:374
1851
- #: includes/class-mla-main.php:1948 includes/class-mla-main.php:1986
1852
  msgid "Remove"
1853
  msgstr ""
1854
 
1855
  #: includes/class-mla-edit-media.php:344 includes/class-mla-edit-media.php:375
1856
- #: includes/class-mla-main.php:1949 includes/class-mla-main.php:1987
1857
- #: includes/class-mla-options.php:1604 includes/class-mla-options.php:1703
1858
- #: includes/class-mla-options.php:1747 includes/class-mla-options.php:2843
1859
- #: includes/class-mla-options.php:2897 includes/class-mla-options.php:3017
1860
- #: includes/class-mla-options.php:3112 includes/class-mla-options.php:3158
1861
  msgid "Replace"
1862
  msgstr ""
1863
 
@@ -1867,32 +1944,32 @@ msgid ""
1867
  "menu for more information."
1868
  msgstr ""
1869
 
1870
- #: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:2044
1871
- #: includes/class-mla-settings.php:3180
1872
  msgid "Reset"
1873
  msgstr ""
1874
 
1875
- #: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:2052
1876
- #: includes/class-mla-main.php:2098 includes/class-mla-settings.php:1812
1877
- #: includes/class-mla-settings.php:1850 includes/class-mla-settings.php:2277
1878
  msgid "No Change"
1879
  msgstr ""
1880
 
1881
- #: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:2053
1882
  msgid "Allow"
1883
  msgstr ""
1884
 
1885
- #: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:2054
1886
  msgid "Do not allow"
1887
  msgstr ""
1888
 
1889
  #: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:916
1890
- #: includes/class-mla-list-table.php:987 includes/class-mla-main.php:2036
1891
  msgid "Parent ID"
1892
  msgstr ""
1893
 
1894
- #: includes/class-mla-edit-media.php:432 includes/class-mla-edit-media.php:808
1895
- #: includes/class-mla-main.php:2037
1896
  #: includes/class-mla-upload-optional-list-table.php:281
1897
  msgid "Select"
1898
  msgstr ""
@@ -1914,55 +1991,55 @@ msgstr ""
1914
  msgid "Last modified"
1915
  msgstr ""
1916
 
1917
- #: includes/class-mla-edit-media.php:547
1918
  msgid "Map Custom Field metadata for this item"
1919
  msgstr ""
1920
 
1921
- #: includes/class-mla-edit-media.php:547 includes/class-mla-main.php:1632
1922
- #: includes/class-mla-main.php:2057
1923
  msgid "Map Custom Field metadata"
1924
  msgstr ""
1925
 
1926
- #: includes/class-mla-edit-media.php:549
1927
  msgid "Map IPTC/EXIF metadata for this item"
1928
  msgstr ""
1929
 
1930
- #: includes/class-mla-edit-media.php:549 includes/class-mla-main.php:1635
1931
- #: includes/class-mla-main.php:2056
1932
  msgid "Map IPTC/EXIF metadata"
1933
  msgstr ""
1934
 
1935
- #: includes/class-mla-edit-media.php:621 includes/class-mla-edit-media.php:809
1936
  msgid "Parent Info"
1937
  msgstr ""
1938
 
1939
- #: includes/class-mla-edit-media.php:631 includes/class-mla-edit-media.php:852
1940
  msgid "Attachment Metadata"
1941
  msgstr ""
1942
 
1943
  #. translators: 1: ERROR tag 2: function name 3: template key
1944
- #: includes/class-mla-edit-media.php:701 includes/class-mla-edit-media.php:741
1945
- #: includes/class-mla-main.php:677 includes/class-mla-settings.php:571
1946
  #, php-format
1947
  msgctxt "error_log"
1948
  msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
1949
  msgstr ""
1950
 
1951
- #: includes/class-mla-edit-media.php:790 includes/class-mla-list-table.php:562
1952
  msgctxt "post state"
1953
  msgid "Pending"
1954
  msgstr ""
1955
 
1956
- #: includes/class-mla-edit-media.php:807
1957
  msgid "Post Parent"
1958
  msgstr ""
1959
 
1960
- #: includes/class-mla-edit-media.php:808 includes/class-mla-main.php:1832
1961
  msgid "Select Parent"
1962
  msgstr ""
1963
 
1964
- #: includes/class-mla-edit-media.php:875 includes/class-mla-edit-media.php:913
1965
- #: includes/class-mla-edit-media.php:949 includes/class-mla-edit-media.php:984
1966
  #: includes/class-mla-list-table.php:1037
1967
  #: includes/class-mla-list-table.php:1086
1968
  #: includes/class-mla-list-table.php:1132
@@ -2043,8 +2120,8 @@ msgstr ""
2043
  msgid "Edit this item inline"
2044
  msgstr ""
2045
 
2046
- #: includes/class-mla-list-table.php:667 includes/class-mla-main.php:2030
2047
- #: includes/class-mla-options.php:1479 includes/class-mla-options.php:1783
2048
  #: includes/class-mla-upload-list-table.php:406
2049
  #: includes/class-mla-view-list-table.php:353
2050
  msgid "Quick Edit"
@@ -2072,11 +2149,11 @@ msgstr ""
2072
  msgid "Delete Permanently"
2073
  msgstr ""
2074
 
2075
- #: includes/class-mla-list-table.php:686 includes/class-mla-settings.php:3170
2076
  msgid "Download"
2077
  msgstr ""
2078
 
2079
- #: includes/class-mla-list-table.php:690 includes/class-mla-settings.php:1790
2080
  msgid "View"
2081
  msgstr ""
2082
 
@@ -2084,8 +2161,8 @@ msgstr ""
2084
  msgid "(no title: bad ID)"
2085
  msgstr ""
2086
 
2087
- #: includes/class-mla-list-table.php:1257 includes/class-mla-settings.php:1895
2088
- #: includes/class-mla-settings.php:2260
2089
  msgid "MIME Type"
2090
  msgstr ""
2091
 
@@ -2123,64 +2200,64 @@ msgid_plural "All"
2123
  msgstr[0] ""
2124
  msgstr[1] ""
2125
 
2126
- #: includes/class-mla-list-table.php:1770
2127
  msgid "Filter"
2128
  msgstr ""
2129
 
2130
- #: includes/class-mla-list-table.php:1773
2131
  #: includes/mla-media-modal-js-template.php:68
2132
  msgid "Terms Search"
2133
  msgstr ""
2134
 
2135
- #: includes/class-mla-list-table.php:1778
2136
  #: includes/class-mla-polylang-support.php:1904
2137
  #: includes/class-mla-thumbnail-generation.php:445
2138
  msgid "Clear Filter-by"
2139
  msgstr ""
2140
 
2141
- #: includes/class-mla-list-table.php:1781
2142
  msgid "Empty Trash"
2143
  msgstr ""
2144
 
2145
- #: includes/class-mla-main.php:454
2146
  msgid "Error while saving the changes."
2147
  msgstr ""
2148
 
2149
- #: includes/class-mla-main.php:455 includes/class-mla-settings.php:340
2150
  msgid "Remove From Bulk Edit"
2151
  msgstr ""
2152
 
2153
- #: includes/class-mla-main.php:457
2154
  msgid "Bulk Edit items"
2155
  msgstr ""
2156
 
2157
- #: includes/class-mla-main.php:458 includes/class-mla-main.php:2058
2158
- #: includes/class-mla-settings.php:353
2159
  msgid "Waiting"
2160
  msgstr ""
2161
 
2162
- #: includes/class-mla-main.php:459 includes/class-mla-main.php:2060
2163
- #: includes/class-mla-settings.php:355
2164
  msgid "Complete"
2165
  msgstr ""
2166
 
2167
- #: includes/class-mla-main.php:460 includes/class-mla-settings.php:356
2168
  msgid "Unchanged"
2169
  msgstr ""
2170
 
2171
- #: includes/class-mla-main.php:461 includes/class-mla-settings.php:357
2172
  msgid "Succeeded"
2173
  msgstr ""
2174
 
2175
- #: includes/class-mla-main.php:462 includes/class-mla-settings.php:358
2176
  msgid "Failed"
2177
  msgstr ""
2178
 
2179
- #: includes/class-mla-main.php:463 includes/class-mla-settings.php:361
2180
  msgid "CANCELED"
2181
  msgstr ""
2182
 
2183
- #: includes/class-mla-main.php:566
2184
  #, php-format
2185
  msgid "Item permanently deleted."
2186
  msgid_plural "%d items permanently deleted."
@@ -2188,42 +2265,42 @@ msgstr[0] ""
2188
  msgstr[1] ""
2189
 
2190
  #. translators: 1: post ID
2191
- #: includes/class-mla-main.php:571 includes/class-mla-main.php:2237
2192
  #, php-format
2193
  msgid "Item %1$d moved to Trash."
2194
  msgstr ""
2195
 
2196
- #: includes/class-mla-main.php:590
2197
  msgid "Entries per page"
2198
  msgstr ""
2199
 
2200
- #: includes/class-mla-main.php:1147
2201
  msgid "You are not allowed to edit Attachment: "
2202
  msgstr ""
2203
 
2204
  #. translators: 1: ERROR tag 2: bulk action
2205
- #: includes/class-mla-main.php:1203
2206
  #, php-format
2207
  msgid "%1$s: Unknown bulk action %2$s"
2208
  msgstr ""
2209
 
2210
- #: includes/class-mla-main.php:1225
2211
  msgid "no changes detected"
2212
  msgstr ""
2213
 
2214
  #. translators: 1: action name, e.g., edit
2215
- #: includes/class-mla-main.php:1272 includes/class-mla-settings.php:1669
2216
- #: includes/class-mla-settings.php:2136
2217
  #, php-format
2218
  msgid "Bulk Action %1$s - no items selected."
2219
  msgstr ""
2220
 
2221
- #: includes/class-mla-main.php:1355
2222
  msgid "You do not have permission to manage attachments."
2223
  msgstr ""
2224
 
2225
  #. translators: 1: number of items
2226
- #: includes/class-mla-main.php:1415
2227
  #, php-format
2228
  msgctxt "deleted items"
2229
  msgid "%s item deleted."
@@ -2231,112 +2308,112 @@ msgid_plural "%s items deleted."
2231
  msgstr[0] ""
2232
  msgstr[1] ""
2233
 
2234
- #: includes/class-mla-main.php:1417
2235
  msgid "No items deleted."
2236
  msgstr ""
2237
 
2238
- #: includes/class-mla-main.php:1471
2239
  msgid "Empty Terms Search; ignored"
2240
  msgstr ""
2241
 
2242
  #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
2243
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
2244
- #: includes/class-mla-main.php:1483 includes/class-mla-settings.php:1706
2245
- #: includes/class-mla-settings.php:2175
2246
  #, php-format
2247
  msgid "Unknown mla_admin_action - \"%1$s\""
2248
  msgstr ""
2249
 
2250
- #: includes/class-mla-main.php:1516
2251
  msgid "term search results for"
2252
  msgstr ""
2253
 
2254
- #: includes/class-mla-main.php:1519
2255
  msgid "post/parent results for"
2256
  msgstr ""
2257
 
2258
- #: includes/class-mla-main.php:1521
2259
  msgid "search results for"
2260
  msgstr ""
2261
 
2262
- #: includes/class-mla-main.php:1638 includes/class-mla-main.php:1854
2263
- #: includes/class-mla-main.php:2045 includes/class-mla-settings.php:1549
2264
- #: includes/class-mla-settings.php:1810 includes/class-mla-settings.php:1904
2265
- #: includes/class-mla-settings.php:2274
2266
  msgid "Update"
2267
  msgstr ""
2268
 
2269
- #: includes/class-mla-main.php:1789
2270
  msgid "All Post Types"
2271
  msgstr ""
2272
 
2273
- #: includes/class-mla-main.php:1835
2274
  msgid "For"
2275
  msgstr ""
2276
 
2277
- #: includes/class-mla-main.php:1845
2278
- #: includes/class-mla-shortcode-support.php:975
2279
  msgid "Unattached"
2280
  msgstr ""
2281
 
2282
- #: includes/class-mla-main.php:1850 includes/class-mla-main.php:2043
2283
  #: includes/class-mla-polylang-support.php:1897
2284
- #: includes/class-mla-settings.php:1550 includes/class-mla-settings.php:1809
2285
- #: includes/class-mla-settings.php:1905 includes/class-mla-settings.php:1977
2286
- #: includes/class-mla-settings.php:2273 includes/class-mla-settings.php:2763
2287
- #: includes/class-mla-settings.php:2899
2288
  #: includes/class-mla-thumbnail-generation.php:446
2289
  msgid "Cancel"
2290
  msgstr ""
2291
 
2292
- #: includes/class-mla-main.php:2046 includes/class-mla-options.php:1493
2293
- #: includes/class-mla-options.php:1784 includes/class-mla-settings.php:1811
2294
- #: includes/class-mla-settings.php:2275
2295
  msgid "Bulk Edit"
2296
  msgstr ""
2297
 
2298
- #: includes/class-mla-main.php:2059
2299
  msgid "In-process"
2300
  msgstr ""
2301
 
2302
- #: includes/class-mla-main.php:2150
2303
  msgid "You are not allowed to delete this item."
2304
  msgstr ""
2305
 
2306
  #. translators: 1: ERROR tag 2: post ID
2307
- #: includes/class-mla-main.php:2158
2308
  #, php-format
2309
  msgid "%1$s: Item %2$d could NOT be deleted."
2310
  msgstr ""
2311
 
2312
  #. translators: 1: post ID
2313
- #: includes/class-mla-main.php:2165
2314
  #, php-format
2315
  msgid "Item %1$d permanently deleted."
2316
  msgstr ""
2317
 
2318
- #: includes/class-mla-main.php:2182
2319
  msgid "You are not allowed to move this item out of the Trash."
2320
  msgstr ""
2321
 
2322
  #. translators: 1: ERROR tag 2: post ID
2323
- #: includes/class-mla-main.php:2190
2324
  #, php-format
2325
  msgid "%1$s: Item %2$d could NOT be restored from Trash."
2326
  msgstr ""
2327
 
2328
  #. translators: 1: post ID
2329
- #: includes/class-mla-main.php:2205
2330
  #, php-format
2331
  msgid "Item %1$d restored from Trash."
2332
  msgstr ""
2333
 
2334
- #: includes/class-mla-main.php:2222
2335
  msgid "You are not allowed to move this item to the Trash."
2336
  msgstr ""
2337
 
2338
  #. translators: 1: ERROR tag 2: post ID
2339
- #: includes/class-mla-main.php:2230
2340
  #, php-format
2341
  msgid "%1$s: Item %2$d could NOT be moved to Trash."
2342
  msgstr ""
@@ -2353,12 +2430,13 @@ msgstr ""
2353
  msgid "Tags"
2354
  msgstr ""
2355
 
 
2356
  #. translators: %s: add new taxonomy label
2357
  #. translators: %s: add new View
2358
  #. translators: %s: add new Upload MIME Type
2359
  #: includes/class-mla-media-modal-ajax.php:452
2360
  #: includes/class-mla-objects.php:46 includes/class-mla-objects.php:76
2361
- #: includes/class-mla-settings.php:1790 includes/class-mla-settings.php:2256
2362
  #, php-format
2363
  msgid "Add New %1$s"
2364
  msgstr ""
@@ -2429,14 +2507,14 @@ msgid "Ignoring specification for Post MIME Type; using slug"
2429
  msgstr ""
2430
 
2431
  #. translators: 1: element name 2: bad_value 3: good_value
2432
- #: includes/class-mla-mime-types.php:865 includes/class-mla-mime-types.php:1950
2433
  #, php-format
2434
  msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
2435
  msgstr ""
2436
 
2437
  #: includes/class-mla-mime-types.php:865 includes/class-mla-mime-types.php:953
2438
- #: includes/class-mla-mime-types.php:964 includes/class-mla-settings.php:1534
2439
- #: includes/class-mla-settings.php:1791
2440
  msgid "Slug"
2441
  msgstr ""
2442
 
@@ -2453,7 +2531,7 @@ msgid "Edit view \"%1$s\"; added"
2453
  msgstr ""
2454
 
2455
  #. translators: 1: element name 2: bad_value 3: good_value
2456
- #: includes/class-mla-mime-types.php:953 includes/class-mla-mime-types.php:2076
2457
  #, php-format
2458
  msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
2459
  msgstr ""
@@ -2542,83 +2620,83 @@ msgstr ""
2542
  msgid "icon"
2543
  msgstr ""
2544
 
2545
- #: includes/class-mla-mime-types.php:1934
2546
- #: includes/class-mla-mime-types.php:2033
2547
  msgid "Cannot load Upload MIME Types"
2548
  msgstr ""
2549
 
2550
- #: includes/class-mla-mime-types.php:1945
2551
  msgid "Extension is required"
2552
  msgstr ""
2553
 
2554
- #: includes/class-mla-mime-types.php:1950
2555
- #: includes/class-mla-mime-types.php:2076
2556
- #: includes/class-mla-mime-types.php:2087 includes/class-mla-settings.php:1893
2557
- #: includes/class-mla-settings.php:2258
2558
  msgid "Extension"
2559
  msgstr ""
2560
 
2561
  #. translators: 1: ERROR tag 2: slug
2562
- #: includes/class-mla-mime-types.php:1958
2563
  #, php-format
2564
  msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
2565
  msgstr ""
2566
 
2567
- #: includes/class-mla-mime-types.php:1966
2568
  msgid "MIME type is required"
2569
  msgstr ""
2570
 
2571
  #. translators: 1: ERROR tag 2: clean_mime_type
2572
- #: includes/class-mla-mime-types.php:1971
2573
- #: includes/class-mla-mime-types.php:2118
2574
  #, php-format
2575
  msgid "%1$s: Bad MIME type; try \"%2$s\""
2576
  msgstr ""
2577
 
2578
  #. translators: 1: slug
2579
- #: includes/class-mla-mime-types.php:2008
2580
  #, php-format
2581
  msgid "Upload MIME Type \"%1$s\"; added"
2582
  msgstr ""
2583
 
2584
- #: includes/class-mla-mime-types.php:2014
2585
- #: includes/class-mla-mime-types.php:2203
2586
- #: includes/class-mla-mime-types.php:2282
2587
  msgid "Cannot update Upload MIME Types"
2588
  msgstr ""
2589
 
2590
  #. translators: 1: ERROR tag 2: slug
2591
- #: includes/class-mla-mime-types.php:2084
2592
  #, php-format
2593
  msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
2594
  msgstr ""
2595
 
2596
  #. translators: 1: slug
2597
- #: includes/class-mla-mime-types.php:2183
2598
  #, php-format
2599
  msgid "Edit type \"%1$s\"; no changes detected"
2600
  msgstr ""
2601
 
2602
  #. translators: 1: slug
2603
- #: includes/class-mla-mime-types.php:2197
2604
  #, php-format
2605
  msgid "Edit type \"%1$s\"; updated"
2606
  msgstr ""
2607
 
2608
  #. translators: 1: slug
2609
- #: includes/class-mla-mime-types.php:2270
2610
  #, php-format
2611
  msgid "Upload MIME Type \"%1$s\"; reverted to standard"
2612
  msgstr ""
2613
 
2614
  #. translators: 1: slug
2615
- #: includes/class-mla-mime-types.php:2276
2616
  #, php-format
2617
  msgid "Upload MIME Type \"%1$s\"; deleted"
2618
  msgstr ""
2619
 
2620
  #. translators: 1: ERROR tag 2: slug
2621
- #: includes/class-mla-mime-types.php:2291
2622
  #, php-format
2623
  msgid "%1$s: Did not find Upload type \"%2$s\""
2624
  msgstr ""
@@ -2738,482 +2816,482 @@ msgid "tpls/mla-option-templates.tpl not found"
2738
  msgstr ""
2739
 
2740
  #: includes/class-mla-options.php:361 includes/class-mla-options.php:403
2741
- #: includes/class-mla-shortcode-support.php:96
2742
  msgid "no templates exist"
2743
  msgstr ""
2744
 
2745
  #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2746
- #: includes/class-mla-options.php:611 includes/class-mla-options.php:788
2747
- #: includes/class-mla-options.php:864 includes/class-mla-options.php:1822
2748
- #: includes/class-mla-options.php:3298
2749
  #, php-format
2750
  msgid "%1$s: Custom %2$s unknown action \"%3$s\""
2751
  msgstr ""
2752
 
2753
- #: includes/class-mla-options.php:702
2754
  msgid "Support"
2755
  msgstr ""
2756
 
2757
- #: includes/class-mla-options.php:703
2758
  msgid "Inline Edit"
2759
  msgstr ""
2760
 
2761
- #: includes/class-mla-options.php:704
2762
  msgid "Term Search"
2763
  msgstr ""
2764
 
2765
- #: includes/class-mla-options.php:705
2766
  msgid "Checklist"
2767
  msgstr ""
2768
 
2769
- #: includes/class-mla-options.php:706
2770
  msgid "Checked On Top"
2771
  msgstr ""
2772
 
2773
- #: includes/class-mla-options.php:707
2774
  msgid "List Filter"
2775
  msgstr ""
2776
 
2777
- #: includes/class-mla-options.php:708
2778
  msgid "Taxonomy"
2779
  msgstr ""
2780
 
2781
  #. translators: 1: taxonomy name
2782
- #: includes/class-mla-options.php:727
2783
  #, php-format
2784
  msgid "List Filter ignored; %1$s not supported."
2785
  msgstr ""
2786
 
2787
  #. translators: 1: taxonomy name
2788
- #: includes/class-mla-options.php:734
2789
  #, php-format
2790
  msgid "Inline Edit ignored; %1$s not supported."
2791
  msgstr ""
2792
 
2793
  #. translators: 1: taxonomy name
2794
- #: includes/class-mla-options.php:742
2795
  #, php-format
2796
  msgid "Term Search ignored; %1$s not supported."
2797
  msgstr ""
2798
 
2799
  #. translators: 1: taxonomy name
2800
- #: includes/class-mla-options.php:752
2801
  #, php-format
2802
  msgid "Checklist ignored; %1$s not supported."
2803
  msgstr ""
2804
 
2805
  #. translators: 1: taxonomy name
2806
- #: includes/class-mla-options.php:760
2807
  #, php-format
2808
  msgid "Checked On Top ignored; %1$s not supported."
2809
  msgstr ""
2810
 
2811
  #. translators: 1: option name, e.g., taxonomy_support
2812
- #: includes/class-mla-options.php:778 includes/class-mla-options.php:854
2813
  #, php-format
2814
  msgid "Update custom %1$s"
2815
  msgstr ""
2816
 
2817
  #. translators: 1: option name, e.g., taxonomy_support
2818
- #: includes/class-mla-options.php:785 includes/class-mla-options.php:861
2819
- #: includes/class-mla-options.php:3291
2820
  #, php-format
2821
  msgid "Reset custom %1$s"
2822
  msgstr ""
2823
 
2824
- #: includes/class-mla-options.php:814
2825
  #: includes/mla-main-search-box-template.php:46
2826
  #: includes/mla-media-modal-js-template.php:32
2827
  msgid "and"
2828
  msgstr ""
2829
 
2830
- #: includes/class-mla-options.php:816
2831
  #: includes/mla-main-search-box-template.php:48
2832
  #: includes/mla-media-modal-js-template.php:36
2833
  msgid "or"
2834
  msgstr ""
2835
 
2836
- #: includes/class-mla-options.php:821 includes/class-mla-settings.php:2425
2837
- #: includes/class-mla-settings.php:2458 includes/class-mla-settings.php:2484
2838
- #: includes/class-mla-settings.php:2519 includes/class-mla-settings.php:2576
2839
- #: includes/class-mla-settings.php:2626
2840
  #: includes/mla-main-search-box-template.php:51
2841
  #: includes/mla-media-modal-js-template.php:44
2842
  msgid "Name"
2843
  msgstr ""
2844
 
2845
- #: includes/class-mla-options.php:833
2846
  #: includes/mla-main-search-box-template.php:55
2847
  #: includes/mla-media-modal-js-template.php:62
2848
  msgid "Terms"
2849
  msgstr ""
2850
 
2851
- #: includes/class-mla-options.php:1236 includes/class-mla-options.php:1282
2852
- #: includes/class-mla-options.php:2320 includes/class-mla-options.php:2351
2853
- #: includes/class-mla-settings.php:1856
2854
  msgid "None (select a value)"
2855
  msgstr ""
2856
 
2857
- #: includes/class-mla-options.php:1289
2858
  msgid "Metadata (see below)"
2859
  msgstr ""
2860
 
2861
- #: includes/class-mla-options.php:1296
2862
  msgid "Template (see below)"
2863
  msgstr ""
2864
 
2865
  #. translators: 1: ERROR tag 2: custom field name
2866
- #: includes/class-mla-options.php:1368 includes/class-mla-options.php:2628
2867
  #, php-format
2868
  msgid "%1$s: New field %2$s already exists."
2869
  msgstr ""
2870
 
2871
  #. translators: 1: custom field name
2872
- #: includes/class-mla-options.php:1373 includes/class-mla-options.php:2633
2873
  #, php-format
2874
  msgid "Adding new field %1$s."
2875
  msgstr ""
2876
 
2877
  #. translators: 1: custom field name
2878
- #: includes/class-mla-options.php:1381 includes/class-mla-options.php:2641
2879
  #, php-format
2880
  msgid "Adding new rule for %1$s."
2881
  msgstr ""
2882
 
2883
  #. translators: 1: custom field name
2884
- #: includes/class-mla-options.php:1407 includes/class-mla-options.php:2502
2885
- #: includes/class-mla-options.php:2667
2886
  #, php-format
2887
  msgid "Deleting rule for %1$s."
2888
  msgstr ""
2889
 
2890
  #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2891
- #: includes/class-mla-options.php:1430 includes/class-mla-options.php:1451
2892
- #: includes/class-mla-options.php:1501 includes/class-mla-options.php:1508
2893
- #: includes/class-mla-options.php:2418 includes/class-mla-options.php:2425
2894
- #: includes/class-mla-options.php:2432 includes/class-mla-options.php:2527
2895
- #: includes/class-mla-options.php:2534 includes/class-mla-options.php:2569
2896
- #: includes/class-mla-options.php:2576 includes/class-mla-options.php:2677
2897
- #: includes/class-mla-options.php:2684 includes/class-mla-options.php:2719
2898
- #: includes/class-mla-options.php:2726
2899
  #, php-format
2900
  msgid "%1$s changing %2$s from %3$s to %4$s."
2901
  msgstr ""
2902
 
2903
- #: includes/class-mla-options.php:1430 includes/class-mla-options.php:1779
2904
  msgid "Data Source"
2905
  msgstr ""
2906
 
2907
- #: includes/class-mla-options.php:1436 includes/class-mla-options.php:2452
2908
- #: includes/class-mla-options.php:2554 includes/class-mla-options.php:2704
2909
  msgid "Replace to Keep"
2910
  msgstr ""
2911
 
2912
- #: includes/class-mla-options.php:1439 includes/class-mla-options.php:2455
2913
- #: includes/class-mla-options.php:2557 includes/class-mla-options.php:2707
2914
  msgid "Keep to Replace"
2915
  msgstr ""
2916
 
2917
  #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2918
- #: includes/class-mla-options.php:1444 includes/class-mla-options.php:1465
2919
- #: includes/class-mla-options.php:1479 includes/class-mla-options.php:1493
2920
- #: includes/class-mla-options.php:1522 includes/class-mla-options.php:2446
2921
- #: includes/class-mla-options.php:2460 includes/class-mla-options.php:2548
2922
- #: includes/class-mla-options.php:2562 includes/class-mla-options.php:2698
2923
- #: includes/class-mla-options.php:2712 includes/class-mla-options.php:2740
2924
  #, php-format
2925
  msgid "%1$s changing %2$s value from %3$s."
2926
  msgstr ""
2927
 
2928
- #: includes/class-mla-options.php:1444 includes/class-mla-options.php:1780
2929
- #: includes/class-mla-options.php:2460 includes/class-mla-options.php:2562
2930
- #: includes/class-mla-options.php:2712 includes/class-mla-options.php:2866
2931
- #: includes/class-mla-options.php:2956 includes/class-mla-options.php:3189
2932
  msgid "Existing Text"
2933
  msgstr ""
2934
 
2935
- #: includes/class-mla-options.php:1451 includes/class-mla-options.php:1781
2936
- #: includes/class-mla-options.php:2719 includes/class-mla-options.php:3018
2937
- #: includes/class-mla-options.php:3113 includes/class-mla-options.php:3159
2938
  msgid "Format"
2939
  msgstr ""
2940
 
2941
- #: includes/class-mla-options.php:1457 includes/class-mla-options.php:1471
2942
- #: includes/class-mla-options.php:1485 includes/class-mla-options.php:1514
2943
- #: includes/class-mla-options.php:2732
2944
  msgid "unchecked to checked"
2945
  msgstr ""
2946
 
2947
- #: includes/class-mla-options.php:1460 includes/class-mla-options.php:1474
2948
- #: includes/class-mla-options.php:1488 includes/class-mla-options.php:1517
2949
- #: includes/class-mla-options.php:2735
2950
  msgid "checked to unchecked"
2951
  msgstr ""
2952
 
2953
- #: includes/class-mla-options.php:1465 includes/class-mla-options.php:1782
2954
  msgid "MLA Column"
2955
  msgstr ""
2956
 
2957
- #: includes/class-mla-options.php:1501
2958
  msgid "Metavalue name"
2959
  msgstr ""
2960
 
2961
- #: includes/class-mla-options.php:1508 includes/class-mla-options.php:1616
2962
- #: includes/class-mla-options.php:1715 includes/class-mla-options.php:1759
2963
- #: includes/class-mla-options.php:2726 includes/class-mla-options.php:3025
2964
- #: includes/class-mla-options.php:3120 includes/class-mla-options.php:3166
2965
  msgid "Option"
2966
  msgstr ""
2967
 
2968
- #: includes/class-mla-options.php:1522 includes/class-mla-options.php:1628
2969
- #: includes/class-mla-options.php:1727 includes/class-mla-options.php:1771
2970
- #: includes/class-mla-options.php:2740 includes/class-mla-options.php:3037
2971
- #: includes/class-mla-options.php:3132 includes/class-mla-options.php:3178
2972
  msgid "Delete NULL values"
2973
  msgstr ""
2974
 
2975
- #: includes/class-mla-options.php:1561 includes/class-mla-options.php:2968
2976
  msgid "No Custom Field Mapping Rules Defined"
2977
  msgstr ""
2978
 
2979
- #: includes/class-mla-options.php:1602 includes/class-mla-options.php:1701
2980
- #: includes/class-mla-options.php:1745 includes/class-mla-options.php:2841
2981
- #: includes/class-mla-options.php:2895 includes/class-mla-options.php:3015
2982
- #: includes/class-mla-options.php:3110 includes/class-mla-options.php:3156
2983
  #: includes/class-mla-thumbnail-generation.php:438
2984
  msgid "Keep"
2985
  msgstr ""
2986
 
2987
- #: includes/class-mla-options.php:1606 includes/class-mla-options.php:1705
2988
- #: includes/class-mla-options.php:1749 includes/class-mla-options.php:3020
2989
- #: includes/class-mla-options.php:3115 includes/class-mla-options.php:3161
2990
  msgid "Native"
2991
  msgstr ""
2992
 
2993
- #: includes/class-mla-options.php:1608 includes/class-mla-options.php:1707
2994
- #: includes/class-mla-options.php:1751 includes/class-mla-options.php:3022
2995
- #: includes/class-mla-options.php:3117 includes/class-mla-options.php:3163
2996
  msgid "Commas"
2997
  msgstr ""
2998
 
2999
- #: includes/class-mla-options.php:1610 includes/class-mla-options.php:1709
3000
- #: includes/class-mla-options.php:1753 includes/class-mla-options.php:3024
3001
- #: includes/class-mla-options.php:3119 includes/class-mla-options.php:3165
3002
  msgid "Raw"
3003
  msgstr ""
3004
 
3005
- #: includes/class-mla-options.php:1618 includes/class-mla-options.php:1717
3006
- #: includes/class-mla-options.php:1761 includes/class-mla-options.php:3027
3007
- #: includes/class-mla-options.php:3122 includes/class-mla-options.php:3168
3008
  msgid "Text"
3009
  msgstr ""
3010
 
3011
- #: includes/class-mla-options.php:1620 includes/class-mla-options.php:1719
3012
- #: includes/class-mla-options.php:1763 includes/class-mla-options.php:3029
3013
- #: includes/class-mla-options.php:3124 includes/class-mla-options.php:3170
3014
  msgid "Single"
3015
  msgstr ""
3016
 
3017
- #: includes/class-mla-options.php:1622 includes/class-mla-options.php:1721
3018
- #: includes/class-mla-options.php:1765 includes/class-mla-options.php:3031
3019
- #: includes/class-mla-options.php:3126 includes/class-mla-options.php:3172
3020
  msgid "Export"
3021
  msgstr ""
3022
 
3023
- #: includes/class-mla-options.php:1624 includes/class-mla-options.php:1723
3024
- #: includes/class-mla-options.php:1767 includes/class-mla-options.php:3033
3025
- #: includes/class-mla-options.php:3128 includes/class-mla-options.php:3174
3026
  msgid "Array"
3027
  msgstr ""
3028
 
3029
- #: includes/class-mla-options.php:1626 includes/class-mla-options.php:1725
3030
- #: includes/class-mla-options.php:1769 includes/class-mla-options.php:3035
3031
- #: includes/class-mla-options.php:3130 includes/class-mla-options.php:3176
3032
  msgid "Multi"
3033
  msgstr ""
3034
 
3035
- #: includes/class-mla-options.php:1629 includes/class-mla-options.php:3038
3036
  msgid "Delete Rule"
3037
  msgstr ""
3038
 
3039
- #: includes/class-mla-options.php:1630 includes/class-mla-options.php:3039
3040
  msgid "Delete Rule AND Field"
3041
  msgstr ""
3042
 
3043
- #: includes/class-mla-options.php:1631 includes/class-mla-options.php:3040
3044
  msgid "Update Rule"
3045
  msgstr ""
3046
 
3047
- #: includes/class-mla-options.php:1632 includes/class-mla-options.php:3041
3048
- #: includes/class-mla-settings.php:722 includes/class-mla-settings.php:853
3049
  msgid "Map All Attachments"
3050
  msgstr ""
3051
 
3052
- #: includes/class-mla-options.php:1696 includes/class-mla-options.php:3099
3053
  msgid "Add a new Mapping Rule"
3054
  msgstr ""
3055
 
3056
- #: includes/class-mla-options.php:1728 includes/class-mla-options.php:3133
3057
  msgid "Add Rule"
3058
  msgstr ""
3059
 
3060
- #: includes/class-mla-options.php:1729 includes/class-mla-options.php:3134
3061
  msgid "Add Rule and Map All Attachments"
3062
  msgstr ""
3063
 
3064
- #: includes/class-mla-options.php:1740 includes/class-mla-options.php:3145
3065
  msgid "Add a new Field and Mapping Rule"
3066
  msgstr ""
3067
 
3068
- #: includes/class-mla-options.php:1772 includes/class-mla-options.php:3179
3069
  msgid "Add Field"
3070
  msgstr ""
3071
 
3072
- #: includes/class-mla-options.php:1773 includes/class-mla-options.php:3180
3073
  msgid "Add Field and Map All Attachments"
3074
  msgstr ""
3075
 
3076
- #: includes/class-mla-options.php:1778 includes/class-mla-options.php:2418
3077
- #: includes/class-mla-options.php:2862 includes/class-mla-options.php:2952
3078
- #: includes/class-mla-options.php:3185
3079
  msgid "Field Title"
3080
  msgstr ""
3081
 
3082
- #: includes/class-mla-options.php:1803
3083
  msgid "Custom field mapping rules updated."
3084
  msgstr ""
3085
 
3086
- #: includes/class-mla-options.php:1805
3087
  msgid "Custom field mapping rules update failed."
3088
  msgstr ""
3089
 
3090
- #: includes/class-mla-options.php:1808 includes/class-mla-settings.php:767
3091
- #: includes/class-mla-settings.php:773
3092
  msgid "Custom field no mapping rule changes detected."
3093
  msgstr ""
3094
 
3095
- #: includes/class-mla-options.php:1816
3096
  msgid "Custom field mapping settings saved."
3097
  msgstr ""
3098
 
3099
- #: includes/class-mla-options.php:1818
3100
  msgid "Custom field mapping settings reset failed."
3101
  msgstr ""
3102
 
3103
  #. translators: 1: ERROR tag 2: custom field name
3104
- #: includes/class-mla-options.php:2406
3105
  #, php-format
3106
  msgid "%1$s: No old values for %2$s."
3107
  msgstr ""
3108
 
3109
- #: includes/class-mla-options.php:2425 includes/class-mla-options.php:2527
3110
- #: includes/class-mla-options.php:2677 includes/class-mla-options.php:2863
3111
- #: includes/class-mla-options.php:2953 includes/class-mla-options.php:3186
3112
  msgid "IPTC Value"
3113
  msgstr ""
3114
 
3115
- #: includes/class-mla-options.php:2432 includes/class-mla-options.php:2534
3116
- #: includes/class-mla-options.php:2684
3117
  msgid "EXIF Value"
3118
  msgstr ""
3119
 
3120
- #: includes/class-mla-options.php:2438 includes/class-mla-options.php:2540
3121
- #: includes/class-mla-options.php:2690
3122
  msgid "EXIF to IPTC"
3123
  msgstr ""
3124
 
3125
- #: includes/class-mla-options.php:2441 includes/class-mla-options.php:2543
3126
- #: includes/class-mla-options.php:2693
3127
  msgid "IPTC to EXIF"
3128
  msgstr ""
3129
 
3130
- #: includes/class-mla-options.php:2446 includes/class-mla-options.php:2548
3131
- #: includes/class-mla-options.php:2698 includes/class-mla-options.php:2865
3132
- #: includes/class-mla-options.php:2955 includes/class-mla-options.php:3188
3133
  msgid "Priority"
3134
  msgstr ""
3135
 
3136
- #: includes/class-mla-options.php:2569 includes/class-mla-options.php:2957
3137
  msgid "Delimiter(s)"
3138
  msgstr ""
3139
 
3140
- #: includes/class-mla-options.php:2837 includes/class-mla-options.php:2891
3141
- #: includes/class-mla-options.php:3011 includes/class-mla-options.php:3106
3142
- #: includes/class-mla-options.php:3152
3143
  msgid "IPTC"
3144
  msgstr ""
3145
 
3146
- #: includes/class-mla-options.php:2839 includes/class-mla-options.php:2893
3147
- #: includes/class-mla-options.php:3013 includes/class-mla-options.php:3108
3148
- #: includes/class-mla-options.php:3154
3149
  msgid "EXIF"
3150
  msgstr ""
3151
 
3152
- #: includes/class-mla-options.php:2864 includes/class-mla-options.php:2954
3153
- #: includes/class-mla-options.php:3187
3154
  msgid "EXIF/Template Value"
3155
  msgstr ""
3156
 
3157
  #. translators: 1: ERROR tag 2: option name
3158
- #: includes/class-mla-options.php:3197
3159
  #, php-format
3160
  msgid "%1$s: Render unknown custom %2$s."
3161
  msgstr ""
3162
 
3163
  #. translators: 1: ERROR tag 2: option name
3164
- #: includes/class-mla-options.php:3241
3165
  #, php-format
3166
  msgid "%1$s: Update/delete unknown custom %2$s."
3167
  msgstr ""
3168
 
3169
- #: includes/class-mla-options.php:3247
3170
  msgid "IPTC/EXIF mapping settings updated."
3171
  msgstr ""
3172
 
3173
- #: includes/class-mla-options.php:3249
3174
  msgid "IPTC/EXIF settings update failed."
3175
  msgstr ""
3176
 
3177
- #: includes/class-mla-options.php:3252 includes/class-mla-settings.php:901
3178
- #: includes/class-mla-settings.php:907
3179
  msgid "IPTC/EXIF no mapping changes detected."
3180
  msgstr ""
3181
 
3182
  #. translators: 1: field type
3183
- #: includes/class-mla-options.php:3263 includes/class-mla-options.php:3273
3184
- #: includes/class-mla-options.php:3283 includes/class-mla-settings.php:3548
3185
  #, php-format
3186
  msgid "%1$s settings saved."
3187
  msgstr ""
3188
 
3189
- #: includes/class-mla-options.php:3263 includes/class-mla-options.php:3266
3190
- #: includes/class-mla-settings.php:3796 includes/class-mla-settings.php:3838
3191
- #: includes/class-mla-settings.php:3841
3192
  msgid "Standard field"
3193
  msgstr ""
3194
 
3195
  #. translators: 1: ERROR tag 2: field type
3196
- #: includes/class-mla-options.php:3266 includes/class-mla-options.php:3276
3197
- #: includes/class-mla-options.php:3286
3198
  #, php-format
3199
  msgid "%1$s: IPTC/EXIF %2$s settings update failed."
3200
  msgstr ""
3201
 
3202
- #: includes/class-mla-options.php:3273 includes/class-mla-options.php:3276
3203
- #: includes/class-mla-settings.php:3870 includes/class-mla-settings.php:3912
3204
- #: includes/class-mla-settings.php:3915
3205
  msgid "Taxonomy term"
3206
  msgstr ""
3207
 
3208
- #: includes/class-mla-options.php:3283 includes/class-mla-options.php:3286
3209
- #: includes/class-mla-settings.php:3696 includes/class-mla-settings.php:3699
3210
- #: includes/class-mla-settings.php:3959 includes/class-mla-settings.php:4001
3211
- #: includes/class-mla-settings.php:4004
3212
  msgid "Custom field"
3213
  msgstr ""
3214
 
3215
  #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
3216
- #: includes/class-mla-options.php:3294
3217
  #, php-format
3218
  msgid "%1$s: Reset unknown custom %2$s"
3219
  msgstr ""
@@ -3409,12 +3487,12 @@ msgid "WPML &amp; Polylang Multilingual Support; the MLA Language Tab"
3409
  msgstr ""
3410
 
3411
  #: includes/class-mla-polylang-support.php:2388
3412
- #: includes/class-mla-settings.php:1378 includes/class-mla-settings.php:1735
3413
- #: includes/class-mla-settings.php:1788 includes/class-mla-settings.php:2204
3414
- #: includes/class-mla-settings.php:2254 includes/class-mla-settings.php:2342
3415
- #: includes/class-mla-settings.php:2784 includes/class-mla-settings.php:2787
3416
- #: includes/class-mla-settings.php:2926 includes/class-mla-settings.php:2928
3417
- #: includes/class-mla-settings.php:3212 includes/class-mla-settings.php:3214
3418
  #: includes/class-mla-wpml-support.php:1760
3419
  msgid "Save Changes"
3420
  msgstr ""
@@ -3425,8 +3503,8 @@ msgid "Delete Language options and restore default settings"
3425
  msgstr ""
3426
 
3427
  #: includes/class-mla-polylang-support.php:2392
3428
- #: includes/class-mla-settings.php:1117 includes/class-mla-settings.php:1383
3429
- #: includes/class-mla-settings.php:2337
3430
  #: includes/class-mla-wpml-support.php:1764
3431
  msgid "Go to Top"
3432
  msgstr ""
@@ -3438,7 +3516,7 @@ msgstr ""
3438
 
3439
  #. translators: 1: option name
3440
  #: includes/class-mla-polylang-support.php:2460
3441
- #: includes/class-mla-settings.php:4181
3442
  #: includes/class-mla-wpml-support.php:1832
3443
  #, php-format
3444
  msgctxt "message_list"
@@ -3450,111 +3528,111 @@ msgstr ""
3450
  msgid "Language settings reset to default values."
3451
  msgstr ""
3452
 
3453
- #: includes/class-mla-settings.php:339
3454
  msgid "Error while making the changes."
3455
  msgstr ""
3456
 
3457
- #: includes/class-mla-settings.php:341
3458
  msgid "no slug"
3459
  msgstr ""
3460
 
3461
- #: includes/class-mla-settings.php:354
3462
  msgid "Running"
3463
  msgstr ""
3464
 
3465
- #: includes/class-mla-settings.php:359
3466
  msgid "Skipped"
3467
  msgstr ""
3468
 
3469
- #: includes/class-mla-settings.php:360
3470
  msgid "Reprocessed"
3471
  msgstr ""
3472
 
3473
- #: includes/class-mla-settings.php:458 includes/class-mla-settings.php:971
3474
- #: includes/class-mla-settings.php:3253
3475
  msgid "Settings"
3476
  msgstr ""
3477
 
3478
- #: includes/class-mla-settings.php:477
3479
  msgid "Views per page"
3480
  msgstr ""
3481
 
3482
- #: includes/class-mla-settings.php:488
3483
  msgid "Types per page"
3484
  msgstr ""
3485
 
3486
- #: includes/class-mla-settings.php:499
3487
  msgid "Upload types per page"
3488
  msgstr ""
3489
 
3490
- #: includes/class-mla-settings.php:635
3491
  msgid "No view slug found"
3492
  msgstr ""
3493
 
3494
- #: includes/class-mla-settings.php:678
3495
  msgid "No upload slug found"
3496
  msgstr ""
3497
 
3498
- #: includes/class-mla-settings.php:718 includes/class-mla-settings.php:2785
3499
- #: includes/class-mla-settings.php:2789
3500
  msgid "Map All Rules, All Attachments Now"
3501
  msgstr ""
3502
 
3503
- #: includes/class-mla-settings.php:842 includes/class-mla-settings.php:2918
3504
  msgid "Map All Attachments, Standard Fields Now"
3505
  msgstr ""
3506
 
3507
- #: includes/class-mla-settings.php:845 includes/class-mla-settings.php:2921
3508
  msgid "Map All Attachments, Taxonomy Terms Now"
3509
  msgstr ""
3510
 
3511
- #: includes/class-mla-settings.php:848 includes/class-mla-settings.php:2924
3512
  msgid "Map All Attachments, Custom Fields Now"
3513
  msgstr ""
3514
 
3515
  #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
3516
- #: includes/class-mla-settings.php:1043 includes/class-mla-settings.php:1080
3517
- #: includes/class-mla-settings.php:1219
3518
  #, php-format
3519
  msgctxt "error_log"
3520
  msgid "%1$s: %2$s unknown type = \"%3$s\""
3521
  msgstr ""
3522
 
3523
- #: includes/class-mla-settings.php:1268
3524
  msgid "General"
3525
  msgstr ""
3526
 
3527
- #: includes/class-mla-settings.php:1269
3528
  msgid "Views"
3529
  msgstr ""
3530
 
3531
- #: includes/class-mla-settings.php:1270
3532
  msgid "Uploads"
3533
  msgstr ""
3534
 
3535
- #: includes/class-mla-settings.php:1271 includes/class-mla-settings.php:3548
3536
- #: includes/class-mla-settings.php:3551
3537
  msgid "MLA Gallery"
3538
  msgstr ""
3539
 
3540
- #: includes/class-mla-settings.php:1272
3541
  msgid "Custom Fields"
3542
  msgstr ""
3543
 
3544
- #: includes/class-mla-settings.php:1274
3545
  msgid "Documentation"
3546
  msgstr ""
3547
 
3548
- #: includes/class-mla-settings.php:1275
3549
  msgid "Debug"
3550
  msgstr ""
3551
 
3552
- #: includes/class-mla-settings.php:1375
3553
  msgid "General Processing Options"
3554
  msgstr ""
3555
 
3556
  #. translators: 1: - 4: page subheader values
3557
- #: includes/class-mla-settings.php:1377
3558
  #, php-format
3559
  msgid ""
3560
  "In this tab you can find a number of options for controlling the "
@@ -3563,36 +3641,32 @@ msgid ""
3563
  "any changes you make."
3564
  msgstr ""
3565
 
3566
- #: includes/class-mla-settings.php:1377
3567
  msgid "Media/Assistant Table Defaults"
3568
  msgstr ""
3569
 
3570
- #: includes/class-mla-settings.php:1377
3571
  msgid "Media Manager Enhancements"
3572
  msgstr ""
3573
 
3574
- #: includes/class-mla-settings.php:1379
3575
- msgid "Export ALL Settings"
3576
- msgstr ""
3577
-
3578
- #: includes/class-mla-settings.php:1380
3579
  msgid "Delete General options and restore default settings"
3580
  msgstr ""
3581
 
3582
- #: includes/class-mla-settings.php:1384 includes/class-mla-settings.php:3245
3583
  msgid "Support Our Work"
3584
  msgstr ""
3585
 
3586
- #: includes/class-mla-settings.php:1385 includes/class-mla-settings.php:1388
3587
  msgid "Donate to FTJ"
3588
  msgstr ""
3589
 
3590
- #: includes/class-mla-settings.php:1386 includes/class-mla-settings.php:3246
3591
  msgid "Donate"
3592
  msgstr ""
3593
 
3594
  #. translators: 1: donation hyperlink
3595
- #: includes/class-mla-settings.php:1388
3596
  #, php-format
3597
  msgid ""
3598
  "This plugin was inspired by my work on the WordPress web site for our "
@@ -3601,27 +3675,27 @@ msgid ""
3601
  "our work. Thank you!"
3602
  msgstr ""
3603
 
3604
- #: includes/class-mla-settings.php:1388
3605
  msgid "tax-deductible donation"
3606
  msgstr ""
3607
 
3608
- #: includes/class-mla-settings.php:1408
3609
  msgid "enhanced version of the WordPress [gallery] shortcode."
3610
  msgstr ""
3611
 
3612
- #: includes/class-mla-settings.php:1409
3613
  msgid "enhanced version of the WordPress Tag Cloud."
3614
  msgstr ""
3615
 
3616
- #: includes/class-mla-settings.php:1421
3617
  msgid "Shortcodes made available by this plugin"
3618
  msgstr ""
3619
 
3620
- #: includes/class-mla-settings.php:1529
3621
  msgid "Edit View"
3622
  msgstr ""
3623
 
3624
- #: includes/class-mla-settings.php:1535 includes/class-mla-settings.php:1792
3625
  msgid ""
3626
  "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
3627
  "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
@@ -3630,25 +3704,25 @@ msgid ""
3630
  "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3631
  msgstr ""
3632
 
3633
- #: includes/class-mla-settings.php:1536 includes/class-mla-settings.php:1793
3634
  msgid "Singular Label"
3635
  msgstr ""
3636
 
3637
- #: includes/class-mla-settings.php:1537 includes/class-mla-settings.php:1794
3638
  msgid "Plural Label"
3639
  msgstr ""
3640
 
3641
- #: includes/class-mla-settings.php:1538 includes/class-mla-settings.php:1795
3642
  msgid ""
3643
  "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
3644
  "column headers and other display purposes."
3645
  msgstr ""
3646
 
3647
- #: includes/class-mla-settings.php:1539 includes/class-mla-settings.php:1796
3648
  msgid "Specification"
3649
  msgstr ""
3650
 
3651
- #: includes/class-mla-settings.php:1540 includes/class-mla-settings.php:1797
3652
  msgid ""
3653
  "If the MIME type specification differs from the slug, enter it here. You may "
3654
  "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
@@ -3656,60 +3730,60 @@ msgid ""
3656
  "MIME Type box is checked."
3657
  msgstr ""
3658
 
3659
- #: includes/class-mla-settings.php:1541 includes/class-mla-settings.php:1798
3660
  msgid "Post MIME Type"
3661
  msgstr ""
3662
 
3663
- #: includes/class-mla-settings.php:1542 includes/class-mla-settings.php:1799
3664
  msgid ""
3665
  "Check this box if you want to add this entry to the list of MIME types "
3666
  "returned by wp_get_mime_types()."
3667
  msgstr ""
3668
 
3669
- #: includes/class-mla-settings.php:1543 includes/class-mla-settings.php:1800
3670
  msgid "Table View"
3671
  msgstr ""
3672
 
3673
- #: includes/class-mla-settings.php:1544 includes/class-mla-settings.php:1801
3674
  msgid ""
3675
  "Check this box if you want to add this entry to the list of Media/Assistant "
3676
  "table views."
3677
  msgstr ""
3678
 
3679
- #: includes/class-mla-settings.php:1546 includes/class-mla-settings.php:1803
3680
  msgid ""
3681
  "You can choose your own table view order by entering a number (1 for first, "
3682
  "etc.) in this field."
3683
  msgstr ""
3684
 
3685
- #: includes/class-mla-settings.php:1548 includes/class-mla-settings.php:1805
3686
- #: includes/class-mla-settings.php:1903 includes/class-mla-settings.php:2267
3687
  msgid ""
3688
  "The description can contain any documentation or notes you need to "
3689
  "understand or use the item."
3690
  msgstr ""
3691
 
3692
  #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
3693
- #: includes/class-mla-settings.php:1659 includes/class-mla-settings.php:2125
3694
  #, php-format
3695
  msgid "Unknown bulk action %1$s"
3696
  msgstr ""
3697
 
3698
  #. translators: 1: view name/slug
3699
- #: includes/class-mla-settings.php:1698 includes/class-mla-settings.php:2167
3700
  #, php-format
3701
  msgid "Edit view \"%1$s\" cancelled."
3702
  msgstr ""
3703
 
3704
- #: includes/class-mla-settings.php:1732
3705
  msgid "View and Post MIME Type Support is disabled"
3706
  msgstr ""
3707
 
3708
- #: includes/class-mla-settings.php:1777 includes/class-mla-settings.php:1780
3709
  msgid "Library Views/Post MIME Type Processing"
3710
  msgstr ""
3711
 
3712
- #: includes/class-mla-settings.php:1778
3713
  msgid ""
3714
  "In this tab you can manage the list of \"Post MIME Types\", which are used "
3715
  "by WordPress to define the views for the <em><strong>Media/Library</strong></"
@@ -3721,7 +3795,7 @@ msgid ""
3721
  msgstr ""
3722
 
3723
  #. translators: 1: Documentation hyperlink
3724
- #: includes/class-mla-settings.php:1780
3725
  #, php-format
3726
  msgid ""
3727
  "You can find more information about library views, Post MIME types and how "
@@ -3730,87 +3804,87 @@ msgid ""
3730
  "screen."
3731
  msgstr ""
3732
 
3733
- #: includes/class-mla-settings.php:1780
3734
  msgid "Library View Processing documentation"
3735
  msgstr ""
3736
 
3737
- #: includes/class-mla-settings.php:1784 includes/class-mla-settings.php:1973
3738
- #: includes/class-mla-settings.php:2279
3739
  msgid "Displaying search results for"
3740
  msgstr ""
3741
 
3742
- #: includes/class-mla-settings.php:1785
3743
  msgid "Search Views"
3744
  msgstr ""
3745
 
3746
- #: includes/class-mla-settings.php:1806
3747
  msgid "Add View"
3748
  msgstr ""
3749
 
3750
- #: includes/class-mla-settings.php:1808 includes/class-mla-settings.php:2272
3751
  msgid "<strong>Quick Edit</strong>"
3752
  msgstr ""
3753
 
3754
- #: includes/class-mla-settings.php:1888
3755
  msgid "Edit Upload MIME Type"
3756
  msgstr ""
3757
 
3758
- #: includes/class-mla-settings.php:1894
3759
  msgid ""
3760
  "The &#8220;extension&#8221; is the file extension for this type, and a "
3761
  "unique key for the item. It must be all lowercase and contain only letters "
3762
  "and numbers."
3763
  msgstr ""
3764
 
3765
- #: includes/class-mla-settings.php:1896 includes/class-mla-settings.php:2261
3766
  msgid ""
3767
  "The MIME Type must be all lowercase and contain only letters, numbers, "
3768
  "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
3769
  "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3770
  msgstr ""
3771
 
3772
- #: includes/class-mla-settings.php:1897 includes/class-mla-settings.php:2262
3773
  msgid "Icon Type"
3774
  msgstr ""
3775
 
3776
- #: includes/class-mla-settings.php:1899 includes/class-mla-settings.php:2263
3777
  msgid ""
3778
  "The Icon Type selects a thumbnail image displayed for non-image file types, "
3779
  "such as PDF documents."
3780
  msgstr ""
3781
 
3782
- #: includes/class-mla-settings.php:1900 includes/class-mla-settings.php:2264
3783
  #: includes/class-mla-upload-list-table.php:515
3784
  msgid "Inactive"
3785
  msgstr ""
3786
 
3787
- #: includes/class-mla-settings.php:1901 includes/class-mla-settings.php:2265
3788
  msgid ""
3789
  "Check this box if you want to remove this entry from the list of Upload MIME "
3790
  "Types returned by get_allowed_mime_types()."
3791
  msgstr ""
3792
 
3793
- #: includes/class-mla-settings.php:1972
3794
  msgid "Known File Extension/MIME Type Associations"
3795
  msgstr ""
3796
 
3797
- #: includes/class-mla-settings.php:1974
3798
  msgid "Search Known MIME Types"
3799
  msgstr ""
3800
 
3801
- #: includes/class-mla-settings.php:1976 includes/class-mla-settings.php:2250
3802
  msgid "To search by extension, use \".\", e.g., \".doc\""
3803
  msgstr ""
3804
 
3805
- #: includes/class-mla-settings.php:2201
3806
  msgid "Upload MIME Type Support is disabled"
3807
  msgstr ""
3808
 
3809
- #: includes/class-mla-settings.php:2244 includes/class-mla-settings.php:2247
3810
  msgid "File Extension and MIME Type Processing"
3811
  msgstr ""
3812
 
3813
- #: includes/class-mla-settings.php:2245
3814
  msgid ""
3815
  "In this tab you can manage the list of file extension/MIME Type "
3816
  "associations, which are used by WordPress to decide what kind of files can "
@@ -3820,7 +3894,7 @@ msgid ""
3820
  msgstr ""
3821
 
3822
  #. translators: 1: Documentation hyperlink
3823
- #: includes/class-mla-settings.php:2247
3824
  #, php-format
3825
  msgid ""
3826
  "You can find more information about file extensions, MIME types and how "
@@ -3828,57 +3902,57 @@ msgid ""
3828
  "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
3829
  msgstr ""
3830
 
3831
- #: includes/class-mla-settings.php:2247
3832
  msgid "File Extension Processing documentation"
3833
  msgstr ""
3834
 
3835
- #: includes/class-mla-settings.php:2249
3836
  msgid "Search Uploads"
3837
  msgstr ""
3838
 
3839
- #: includes/class-mla-settings.php:2256
3840
  msgid "Upload MIME Type"
3841
  msgstr ""
3842
 
3843
- #: includes/class-mla-settings.php:2257
3844
  msgid ""
3845
  "To search the database of over 1,500 known extension/type associations, "
3846
  "click \"Search Known Types\" below the form."
3847
  msgstr ""
3848
 
3849
- #: includes/class-mla-settings.php:2259
3850
  msgid ""
3851
  "The &#8220;extension&#8221; is the file extension for this type, and unique "
3852
  "key for the item. It must be all lowercase and contain only letters and "
3853
  "numbers."
3854
  msgstr ""
3855
 
3856
- #: includes/class-mla-settings.php:2268
3857
  msgid "Add Upload MIME Type"
3858
  msgstr ""
3859
 
3860
- #: includes/class-mla-settings.php:2270
3861
  msgid "Search Known Types"
3862
  msgstr ""
3863
 
3864
- #: includes/class-mla-settings.php:2278
3865
  #: includes/class-mla-upload-list-table.php:517
3866
  msgid "Active"
3867
  msgstr ""
3868
 
3869
- #: includes/class-mla-settings.php:2331
3870
  msgid "MLA Gallery Options"
3871
  msgstr ""
3872
 
3873
- #: includes/class-mla-settings.php:2332
3874
  msgid "Go to Style Templates"
3875
  msgstr ""
3876
 
3877
- #: includes/class-mla-settings.php:2333
3878
  msgid "Go to Markup Templates"
3879
  msgstr ""
3880
 
3881
- #: includes/class-mla-settings.php:2334
3882
  msgid ""
3883
  "In this tab you can view the default style and markup templates. You can "
3884
  "also define additional templates and use the <code>mla_style</code> and "
@@ -3888,168 +3962,178 @@ msgid ""
3888
  "Changes\" at the bottom of this page."
3889
  msgstr ""
3890
 
3891
- #: includes/class-mla-settings.php:2338
3892
  msgid "Style Templates"
3893
  msgstr ""
3894
 
3895
- #: includes/class-mla-settings.php:2340
3896
  msgid "Markup Templates"
3897
  msgstr ""
3898
 
3899
- #: includes/class-mla-settings.php:2353
3900
  msgid "Theme"
3901
  msgstr ""
3902
 
3903
- #: includes/class-mla-settings.php:2382
3904
  msgid "Imagick support is not installed."
3905
  msgstr ""
3906
 
3907
- #: includes/class-mla-settings.php:2389
3908
  msgid "Ghostscript support is not installed."
3909
  msgstr ""
3910
 
3911
- #: includes/class-mla-settings.php:2393
3912
  #: includes/class-mla-wpml-support.php:1747
3913
  #: includes/class-mla-wpml-support.php:1749
3914
  msgid "WARNING:"
3915
  msgstr ""
3916
 
3917
- #: includes/class-mla-settings.php:2393
3918
  msgid " MLA Viewer support may not be available"
3919
  msgstr ""
3920
 
3921
- #: includes/class-mla-settings.php:2420
3922
  msgid ""
3923
  "This default template cannot be altered or deleted, but you can copy the "
3924
  "styles."
3925
  msgstr ""
3926
 
3927
- #: includes/class-mla-settings.php:2431 includes/class-mla-settings.php:2464
3928
- #: includes/class-mla-settings.php:2490
3929
  msgid "Styles"
3930
  msgstr ""
3931
 
3932
- #: includes/class-mla-settings.php:2435 includes/class-mla-settings.php:2468
3933
- #: includes/class-mla-settings.php:2494
3934
  msgid ""
3935
  "List of substitution parameters, e.g., [+selector+], on Documentation tab."
3936
  msgstr ""
3937
 
3938
- #: includes/class-mla-settings.php:2452 includes/class-mla-settings.php:2570
3939
  msgid "Delete this template"
3940
  msgstr ""
3941
 
3942
- #: includes/class-mla-settings.php:2453 includes/class-mla-settings.php:2571
3943
  msgid ""
3944
  "Check the box to delete this template when you press Update at the bottom of "
3945
  "the page."
3946
  msgstr ""
3947
 
3948
- #: includes/class-mla-settings.php:2479
3949
  msgid "Fill in a name and styles to add a new template."
3950
  msgstr ""
3951
 
3952
- #: includes/class-mla-settings.php:2514
3953
  msgid ""
3954
  "This default template cannot be altered or deleted, but you can copy the "
3955
  "markup."
3956
  msgstr ""
3957
 
3958
- #: includes/class-mla-settings.php:2526 includes/class-mla-settings.php:2583
3959
- #: includes/class-mla-settings.php:2633
 
 
 
 
 
 
 
 
 
 
3960
  msgid "Open"
3961
  msgstr ""
3962
 
3963
- #: includes/class-mla-settings.php:2530 includes/class-mla-settings.php:2587
3964
- #: includes/class-mla-settings.php:2637
3965
  msgid ""
3966
  "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
3967
  "+], on Documentation tab."
3968
  msgstr ""
3969
 
3970
- #: includes/class-mla-settings.php:2532 includes/class-mla-settings.php:2589
3971
- #: includes/class-mla-settings.php:2639
3972
  msgid "Row"
3973
  msgstr ""
3974
 
3975
- #: includes/class-mla-settings.php:2536 includes/class-mla-settings.php:2643
3976
  msgid "Markup for the beginning of each row in the gallery."
3977
  msgstr ""
3978
 
3979
- #: includes/class-mla-settings.php:2538 includes/class-mla-settings.php:2595
3980
- #: includes/class-mla-settings.php:2645
3981
  msgid "Item"
3982
  msgstr ""
3983
 
3984
- #: includes/class-mla-settings.php:2542 includes/class-mla-settings.php:2649
3985
  msgid "Markup for each item/cell of the gallery."
3986
  msgstr ""
3987
 
3988
- #: includes/class-mla-settings.php:2544 includes/class-mla-settings.php:2601
3989
- #: includes/class-mla-settings.php:2651 includes/class-mla-settings.php:2765
3990
- #: includes/class-mla-settings.php:2901
3991
  msgid "Close"
3992
  msgstr ""
3993
 
3994
- #: includes/class-mla-settings.php:2548 includes/class-mla-settings.php:2655
3995
  msgid "Markup for the end of each row in the gallery."
3996
  msgstr ""
3997
 
3998
- #: includes/class-mla-settings.php:2553 includes/class-mla-settings.php:2610
3999
- #: includes/class-mla-settings.php:2660
4000
  msgid "Markup for the end of the gallery."
4001
  msgstr ""
4002
 
4003
- #: includes/class-mla-settings.php:2593
4004
  msgid "Markup for the beginning of each row."
4005
  msgstr ""
4006
 
4007
- #: includes/class-mla-settings.php:2599
4008
  msgid "Markup for each item/cell."
4009
  msgstr ""
4010
 
4011
- #: includes/class-mla-settings.php:2605
4012
  msgid "Markup for the end of each row."
4013
  msgstr ""
4014
 
4015
- #: includes/class-mla-settings.php:2621
4016
  msgid "Fill in a name and markup to add a new template."
4017
  msgstr ""
4018
 
4019
- #: includes/class-mla-settings.php:2757
4020
  msgid "Custom Field Mapping Progress"
4021
  msgstr ""
4022
 
4023
- #: includes/class-mla-settings.php:2758 includes/class-mla-settings.php:2894
4024
  msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
4025
  msgstr ""
4026
 
4027
- #: includes/class-mla-settings.php:2759 includes/class-mla-settings.php:2895
4028
  msgid "Close the window"
4029
  msgstr ""
4030
 
4031
- #: includes/class-mla-settings.php:2760 includes/class-mla-settings.php:2896
4032
  msgid "Reload the page"
4033
  msgstr ""
4034
 
4035
- #: includes/class-mla-settings.php:2761 includes/class-mla-settings.php:2897
4036
  msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
4037
  msgstr ""
4038
 
4039
- #: includes/class-mla-settings.php:2762 includes/class-mla-settings.php:2898
4040
  msgid "Progress"
4041
  msgstr ""
4042
 
4043
- #: includes/class-mla-settings.php:2764 includes/class-mla-settings.php:2900
4044
  msgid "Resume"
4045
  msgstr ""
4046
 
4047
- #: includes/class-mla-settings.php:2774 includes/class-mla-settings.php:2778
4048
  msgid "Custom Field and Attachment Metadata Processing Options"
4049
  msgstr ""
4050
 
4051
  #. translators: 1: Documentation hyperlink
4052
- #: includes/class-mla-settings.php:2776
4053
  #, php-format
4054
  msgid ""
4055
  "In this tab you can define the rules for mapping several types of image "
@@ -4059,32 +4143,32 @@ msgid ""
4059
  "field. See the %1$s section of the Documentation for details."
4060
  msgstr ""
4061
 
4062
- #: includes/class-mla-settings.php:2776
4063
  msgid "Updating Attachment Metadata Documentation"
4064
  msgstr ""
4065
 
4066
- #: includes/class-mla-settings.php:2776
4067
  msgid "Adding or changing Attachment Metadata"
4068
  msgstr ""
4069
 
4070
  #. translators: 1: Documentation hyperlink
4071
- #: includes/class-mla-settings.php:2778 includes/class-mla-settings.php:2913
4072
  #, php-format
4073
  msgid ""
4074
  "You can find more information about using the controls in this tab to define "
4075
  "mapping rules and apply them in the %1$s section of the Documentation."
4076
  msgstr ""
4077
 
4078
- #: includes/class-mla-settings.php:2778
4079
  msgid "Custom Field Options documentation"
4080
  msgstr ""
4081
 
4082
- #: includes/class-mla-settings.php:2782 includes/class-mla-settings.php:2923
4083
  msgid "Custom field mapping"
4084
  msgstr ""
4085
 
4086
  #. translators: 1: "Save Changes"
4087
- #: includes/class-mla-settings.php:2787
4088
  #, php-format
4089
  msgid ""
4090
  "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
@@ -4093,22 +4177,22 @@ msgid ""
4093
  msgstr ""
4094
 
4095
  #. translators: 1: "Map All Rules..."
4096
- #: includes/class-mla-settings.php:2789
4097
  #, php-format
4098
  msgid ""
4099
  "Click %1$s to apply all the rules at once (rule changes will be applied but "
4100
  "not saved)."
4101
  msgstr ""
4102
 
4103
- #: includes/class-mla-settings.php:2893
4104
  msgid "IPTC &amp; EXIF Mapping Progress"
4105
  msgstr ""
4106
 
4107
- #: includes/class-mla-settings.php:2910 includes/class-mla-settings.php:2913
4108
  msgid "IPTC &amp; EXIF Processing Options"
4109
  msgstr ""
4110
 
4111
- #: includes/class-mla-settings.php:2911
4112
  msgid ""
4113
  "In this tab you can define the rules for mapping IPTC (International Press "
4114
  "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
@@ -4117,20 +4201,20 @@ msgid ""
4117
  "click \"Save Changes\" at the bottom of this page."
4118
  msgstr ""
4119
 
4120
- #: includes/class-mla-settings.php:2913
4121
  msgid "IPTC/EXIF Options documentation"
4122
  msgstr ""
4123
 
4124
- #: includes/class-mla-settings.php:2917
4125
  msgid "Standard field mapping"
4126
  msgstr ""
4127
 
4128
- #: includes/class-mla-settings.php:2920
4129
  msgid "Taxonomy term mapping"
4130
  msgstr ""
4131
 
4132
  #. translators: 1: "Save Changes"
4133
- #: includes/class-mla-settings.php:2928
4134
  #, php-format
4135
  msgid ""
4136
  "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
@@ -4138,198 +4222,205 @@ msgid ""
4138
  "performed.</strong>"
4139
  msgstr ""
4140
 
4141
- #: includes/class-mla-settings.php:2999
4142
  msgid "Debug settings saved."
4143
  msgstr ""
4144
 
4145
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4146
- #: includes/class-mla-settings.php:3095
4147
  #, php-format
4148
  msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
4149
  msgstr ""
4150
 
4151
- #: includes/class-mla-settings.php:3095 includes/class-mla-settings.php:3146
4152
- #: includes/class-mla-settings.php:3170 includes/class-mla-settings.php:3180
4153
- #: includes/class-mla-settings.php:3206
4154
  msgid "Error Log"
4155
  msgstr ""
4156
 
4157
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4158
- #: includes/class-mla-settings.php:3146
4159
  #, php-format
4160
  msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
4161
  msgstr ""
4162
 
4163
  #. translators: 1: file name
4164
- #: includes/class-mla-settings.php:3156
4165
  #, php-format
4166
  msgid "Error log file (%1$s) not found; click Reset to create it."
4167
  msgstr ""
4168
 
4169
- #: includes/class-mla-settings.php:3201 includes/class-mla-settings.php:3214
4170
  msgid "Debug Options"
4171
  msgstr ""
4172
 
4173
- #: includes/class-mla-settings.php:3204
4174
  msgid "Debug Settings"
4175
  msgstr ""
4176
 
4177
  #. translators: 1: "Save Changes"
4178
- #: includes/class-mla-settings.php:3214
4179
  #, php-format
4180
  msgid "Click %1$s to update the %2$s."
4181
  msgstr ""
4182
 
4183
- #: includes/class-mla-settings.php:3233
4184
  msgid "You do not have permission to manage plugin settings."
4185
  msgstr ""
4186
 
4187
- #: includes/class-mla-settings.php:3264
4188
  msgid "Cannot render content tab"
4189
  msgstr ""
4190
 
4191
- #: includes/class-mla-settings.php:3267
4192
  msgid "Unknown content tab"
4193
  msgstr ""
4194
 
4195
  #. translators: 1: template type 2: template name
4196
- #: includes/class-mla-settings.php:3361 includes/class-mla-settings.php:3450
4197
  #, php-format
4198
  msgctxt "message_list"
4199
  msgid "Deleting %1$s \"%2$s\"."
4200
  msgstr ""
4201
 
4202
  #. translators: 1: ERROR tag 2: template name 3: template type
4203
- #: includes/class-mla-settings.php:3372 includes/class-mla-settings.php:3463
4204
  #, php-format
4205
  msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
4206
  msgstr ""
4207
 
4208
  #. translators: 1: ERROR tag 2: template name 3: template type
4209
- #: includes/class-mla-settings.php:3378 includes/class-mla-settings.php:3469
4210
  #, php-format
4211
  msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
4212
  msgstr ""
4213
 
4214
  #. translators: 1: template type 2: template name
4215
- #: includes/class-mla-settings.php:3382 includes/class-mla-settings.php:3473
4216
  #, php-format
4217
  msgctxt "message_list"
4218
  msgid "Adding new %1$s \"%2$s\"."
4219
  msgstr ""
4220
 
4221
  #. translators: 1: ERROR tag 2: element name 3: old value
4222
- #: includes/class-mla-settings.php:3392 includes/class-mla-settings.php:3483
4223
  #, php-format
4224
  msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
4225
  msgstr ""
4226
 
4227
- #: includes/class-mla-settings.php:3392 includes/class-mla-settings.php:3399
4228
- #: includes/class-mla-settings.php:3403
4229
  msgid "style template name"
4230
  msgstr ""
4231
 
4232
  #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
4233
- #: includes/class-mla-settings.php:3399 includes/class-mla-settings.php:3490
4234
  #, php-format
4235
  msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
4236
  msgstr ""
4237
 
4238
  #. translators: 1: element name 2: old_value 3: new_value
4239
- #: includes/class-mla-settings.php:3403 includes/class-mla-settings.php:3494
4240
  #, php-format
4241
  msgctxt "message_list"
4242
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
4243
  msgstr ""
4244
 
4245
  #. translators: 1: template type 2: template name
4246
- #: includes/class-mla-settings.php:3410
4247
  #, php-format
4248
  msgctxt "message_list"
4249
  msgid "Updating contents of %1$s \"%2$s\"."
4250
  msgstr ""
4251
 
4252
  #. translators: 1: ERROR tag 2: template type
4253
- #: includes/class-mla-settings.php:3421 includes/class-mla-settings.php:3542
4254
  #, php-format
4255
  msgid "%1$s: Update of %2$s failed."
4256
  msgstr ""
4257
 
4258
- #: includes/class-mla-settings.php:3483 includes/class-mla-settings.php:3490
4259
- #: includes/class-mla-settings.php:3494
4260
  msgid "markup template name"
4261
  msgstr ""
4262
 
4263
  #. translators: 1: template name
4264
- #: includes/class-mla-settings.php:3502
 
 
 
 
 
 
 
4265
  #, php-format
4266
  msgctxt "message_list"
4267
  msgid "Updating open markup for \"%1$s\"."
4268
  msgstr ""
4269
 
4270
  #. translators: 1: template name
4271
- #: includes/class-mla-settings.php:3508
4272
  #, php-format
4273
  msgctxt "message_list"
4274
  msgid "Updating row open markup for \"%1$s\"."
4275
  msgstr ""
4276
 
4277
  #. translators: 1: template name
4278
- #: includes/class-mla-settings.php:3514
4279
  #, php-format
4280
  msgctxt "message_list"
4281
  msgid "Updating item markup for \"%1$s\"."
4282
  msgstr ""
4283
 
4284
  #. translators: 1: template name
4285
- #: includes/class-mla-settings.php:3520
4286
  #, php-format
4287
  msgctxt "message_list"
4288
  msgid "Updating row close markup for \"%1$s\"."
4289
  msgstr ""
4290
 
4291
  #. translators: 1: template name
4292
- #: includes/class-mla-settings.php:3526
4293
  #, php-format
4294
  msgctxt "message_list"
4295
  msgid "Updating close markup for \"%1$s\"."
4296
  msgstr ""
4297
 
4298
  #. translators: 1: field type
4299
- #: includes/class-mla-settings.php:3551
4300
  #, php-format
4301
  msgid "%1$s no changes detected."
4302
  msgstr ""
4303
 
4304
- #: includes/class-mla-settings.php:3586
4305
  msgid "View settings saved."
4306
  msgstr ""
4307
 
4308
- #: includes/class-mla-settings.php:3620
4309
  msgid "Upload MIME Type settings saved."
4310
  msgstr ""
4311
 
4312
- #: includes/class-mla-settings.php:3663
4313
  msgid "No custom field mapping rules to process."
4314
  msgstr ""
4315
 
4316
  #. translators: 1: field type 2: examined count 3: updated count
4317
- #: includes/class-mla-settings.php:3696 includes/class-mla-settings.php:3838
4318
- #: includes/class-mla-settings.php:3912 includes/class-mla-settings.php:4001
4319
  #, php-format
4320
  msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
4321
  msgstr ""
4322
 
4323
  #. translators: 1: field type 2: examined count
4324
- #: includes/class-mla-settings.php:3699 includes/class-mla-settings.php:3841
4325
- #: includes/class-mla-settings.php:3915 includes/class-mla-settings.php:4004
4326
  #, php-format
4327
  msgid ""
4328
  "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
4329
  msgstr ""
4330
 
4331
  #. translators: 1: number of attachments
4332
- #: includes/class-mla-settings.php:3730
4333
  #, php-format
4334
  msgid "%s attachment"
4335
  msgid_plural "%s attachments"
@@ -4337,253 +4428,259 @@ msgstr[0] ""
4337
  msgstr[1] ""
4338
 
4339
  #. translators: 1: singular/plural number of attachments
4340
- #: includes/class-mla-settings.php:3732
4341
  #, php-format
4342
  msgid "Deleted custom field value from %1$s."
4343
  msgstr ""
4344
 
4345
- #: includes/class-mla-settings.php:3735
4346
  msgid "No attachments contained this custom field."
4347
  msgstr ""
4348
 
4349
  #. translators: 1: ERROR tag 2: field type
4350
- #: includes/class-mla-settings.php:3796 includes/class-mla-settings.php:3870
4351
- #: includes/class-mla-settings.php:3959
4352
  #, php-format
4353
  msgid "%1$s: No %2$s settings to process."
4354
  msgstr ""
4355
 
4356
- #: includes/class-mla-settings.php:3829 includes/class-mla-settings.php:3903
4357
- #: includes/class-mla-settings.php:3992
4358
  msgid "updated."
4359
  msgstr ""
4360
 
4361
  #. translators: 1: reference type, e.g., Gallery in
4362
- #: includes/class-mla-settings.php:4097 includes/class-mla-settings.php:4107
4363
  #, php-format
4364
  msgctxt "message_list"
4365
  msgid "%1$s - references updated."
4366
  msgstr ""
4367
 
4368
- #: includes/class-mla-settings.php:4150
4369
  msgid "General settings saved."
4370
  msgstr ""
4371
 
4372
- #: includes/class-mla-settings.php:4189
4373
  msgid "General settings reset to default values."
4374
  msgstr ""
4375
 
4376
- #: includes/class-mla-settings.php:4231
4377
  msgid "select settings"
4378
  msgstr ""
4379
 
4380
- #: includes/class-mla-settings.php:4251
4381
  msgid "Import ALL Settings"
4382
  msgstr ""
4383
 
4384
- #: includes/class-mla-settings.php:4280 includes/class-mla-settings.php:4296
4385
  msgctxt "message_list"
4386
  msgid "exported"
4387
  msgstr ""
4388
 
4389
- #: includes/class-mla-settings.php:4282 includes/class-mla-settings.php:4298
4390
  msgctxt "message_list"
4391
  msgid "skipped"
4392
  msgstr ""
4393
 
4394
- #: includes/class-mla-settings.php:4305
4395
  msgid "ALL settings exported."
4396
  msgstr ""
4397
 
4398
  #. translators: 1: ERROR tag 2: backup directory name
4399
- #: includes/class-mla-settings.php:4316
4400
  #, php-format
4401
  msgid "%1$s: The settings directory ( %2$s ) cannot be created."
4402
  msgstr ""
4403
 
4404
  #. translators: 1: ERROR tag 2: backup directory name
4405
- #: includes/class-mla-settings.php:4320
4406
  #, php-format
4407
  msgid "%1$s: The settings directory ( %2$s ) is not writable."
4408
  msgstr ""
4409
 
4410
  #. translators: 1: ERROR tag 2: backup file name
4411
- #: includes/class-mla-settings.php:4331
4412
  #, php-format
4413
  msgid "%1$s: The settings file ( %2$s ) could not be opened."
4414
  msgstr ""
4415
 
4416
  #. translators: 1: ERROR tag 2: PHP error information
4417
- #: includes/class-mla-settings.php:4338
4418
  #, php-format
4419
  msgctxt "error_log"
4420
  msgid "%1$s: _export_settings $error_info = \"%2$s\"."
4421
  msgstr ""
4422
 
4423
  #. translators: 1: ERROR tag 2: backup file name 3: error message
4424
- #: includes/class-mla-settings.php:4347
4425
  #, php-format
4426
  msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
4427
  msgstr ""
4428
 
4429
  #. translators: 1: number of option settings
4430
- #: includes/class-mla-settings.php:4353
4431
  #, php-format
4432
  msgid "Settings exported; %1$s settings recorded."
4433
  msgstr ""
4434
 
4435
- #: includes/class-mla-settings.php:4371
4436
  msgid "No settings imported."
4437
  msgstr ""
4438
 
4439
- #: includes/class-mla-settings.php:4380
4440
  msgid "Please select an import settings file from the dropdown list."
4441
  msgstr ""
4442
 
4443
- #: includes/class-mla-settings.php:4384
4444
  msgid "The import settings dropdown selection is missing."
4445
  msgstr ""
4446
 
4447
  #. translators: 1: ERROR tag 2: PHP error information
4448
- #: includes/class-mla-settings.php:4392
4449
  #, php-format
4450
  msgctxt "error_log"
4451
  msgid "%1$s: _import_settings $error_info = \"%2$s\"."
4452
  msgstr ""
4453
 
4454
  #. translators: 1: ERROR tag 2: backup file name 3: error message
4455
- #: includes/class-mla-settings.php:4401
4456
  #, php-format
4457
  msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
4458
  msgstr ""
4459
 
4460
- #: includes/class-mla-settings.php:4420 includes/class-mla-settings.php:4436
4461
  msgctxt "message_list"
4462
  msgid "updated"
4463
  msgstr ""
4464
 
4465
- #: includes/class-mla-settings.php:4423 includes/class-mla-settings.php:4439
4466
  msgctxt "message_list"
4467
  msgid "unchanged"
4468
  msgstr ""
4469
 
4470
  #. translators: 1: number of option settings updated 2: number of option settings unchanged
4471
- #: includes/class-mla-settings.php:4444
4472
  #, php-format
4473
  msgid "Settings imported; %1$s updated, %2$s unchanged."
4474
  msgstr ""
4475
 
4476
- #: includes/class-mla-shortcode-support.php:104
4477
  msgid "not found"
4478
  msgstr ""
4479
 
4480
- #: includes/class-mla-shortcode-support.php:433
4481
- #: includes/class-mla-shortcode-support.php:1641
4482
- #: includes/class-mla-shortcode-support.php:2565
4483
- #: includes/class-mla-shortcode-support.php:2852
4484
  msgid "Previous"
4485
  msgstr ""
4486
 
4487
- #: includes/class-mla-shortcode-support.php:434
4488
- #: includes/class-mla-shortcode-support.php:1642
4489
- #: includes/class-mla-shortcode-support.php:2614
4490
- #: includes/class-mla-shortcode-support.php:2858
4491
  msgid "Next"
4492
  msgstr ""
4493
 
4494
- #: includes/class-mla-shortcode-support.php:550
4495
  msgid "mla_debug empty gallery"
4496
  msgstr ""
4497
 
4498
- #: includes/class-mla-shortcode-support.php:625
4499
  msgid ""
4500
  "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
4501
  "<strong>default</strong>, query = "
4502
  msgstr ""
4503
 
4504
- #: includes/class-mla-shortcode-support.php:998
4505
  msgid "unknown"
4506
  msgstr ""
4507
 
4508
- #: includes/class-mla-shortcode-support.php:1784
 
4509
  msgid "mla_debug attributes"
4510
  msgstr ""
4511
 
4512
- #: includes/class-mla-shortcode-support.php:1785
 
4513
  msgid "mla_debug arguments"
4514
  msgstr ""
4515
 
4516
- #: includes/class-mla-shortcode-support.php:1880
4517
  msgid "mla_debug empty cloud"
4518
  msgstr ""
4519
 
4520
- #: includes/class-mla-shortcode-support.php:3212
4521
- #: includes/class-mla-shortcode-support.php:3540
4522
- #: includes/class-mla-shortcode-support.php:3571
 
 
 
 
4523
  msgid "Invalid mla_gallery"
4524
  msgstr ""
4525
 
4526
- #: includes/class-mla-shortcode-support.php:3820
4527
  msgid "mla_debug query"
4528
  msgstr ""
4529
 
4530
- #: includes/class-mla-shortcode-support.php:3821
4531
  msgid "mla_debug request"
4532
  msgstr ""
4533
 
4534
- #: includes/class-mla-shortcode-support.php:3822
4535
  msgid "mla_debug query_vars"
4536
  msgstr ""
4537
 
4538
- #: includes/class-mla-shortcode-support.php:3823
4539
  msgid "mla_debug post_count"
4540
  msgstr ""
4541
 
4542
- #: includes/class-mla-shortcode-support.php:3891
4543
  msgid "mla_debug WHERE filter"
4544
  msgstr ""
4545
 
4546
- #: includes/class-mla-shortcode-support.php:3910
4547
  msgid "mla_debug modified WHERE filter"
4548
  msgstr ""
4549
 
4550
- #: includes/class-mla-shortcode-support.php:3933
4551
  msgid "mla_debug ORDER BY filter, incoming"
4552
  msgstr ""
4553
 
4554
- #: includes/class-mla-shortcode-support.php:3933
4555
  msgid "Replacement ORDER BY clause"
4556
  msgstr ""
4557
 
4558
- #: includes/class-mla-shortcode-support.php:3956
4559
  msgid "mla_debug posts_clauses filter"
4560
  msgstr ""
4561
 
4562
- #: includes/class-mla-shortcode-support.php:3974
4563
  msgid "mla_debug posts_clauses_request filter"
4564
  msgstr ""
4565
 
4566
- #: includes/class-mla-shortcode-support.php:4164
4567
  msgid "Invalid taxonomy"
4568
  msgstr ""
4569
 
4570
- #: includes/class-mla-shortcode-support.php:4370
4571
  msgid "mla_debug query arguments"
4572
  msgstr ""
4573
 
4574
- #: includes/class-mla-shortcode-support.php:4371
4575
  msgid "mla_debug last_query"
4576
  msgstr ""
4577
 
4578
- #: includes/class-mla-shortcode-support.php:4372
4579
  msgid "mla_debug last_error"
4580
  msgstr ""
4581
 
4582
- #: includes/class-mla-shortcode-support.php:4373
4583
  msgid "mla_debug num_rows"
4584
  msgstr ""
4585
 
4586
- #: includes/class-mla-shortcode-support.php:4374
4587
  msgid "mla_debug found_rows"
4588
  msgstr ""
4589
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Media Library Assistant\n"
5
+ "POT-Creation-Date: 2016-04-08 20: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"
21
  "X-Poedit-SearchPath-2: index.php\n"
22
 
23
  #. translators: Name of the plugin/theme
24
+ #: includes/class-mla-admin-columns-support.php:33
25
+ #: includes/class-mla-core-options.php:502 includes/class-mla-settings.php:480
26
+ #: includes/class-mla-settings.php:3272 includes/class-mla-settings.php:3292
27
  #: index.php:48
28
  msgid "Media Library Assistant"
29
  msgstr ""
30
 
31
+ #: includes/class-mla-admin-columns-support.php:34
32
+ #: includes/class-mla-core-options.php:511
33
  msgid "Assistant"
34
  msgstr ""
35
 
36
+ #: includes/class-mla-ajax.php:162 includes/class-mla-core-options.php:1089
37
+ #: includes/class-mla-data.php:3530 includes/class-mla-edit-media.php:426
38
+ #: includes/class-mla-main.php:1850 includes/class-mla-main.php:2040
39
+ #: includes/class-mla-objects.php:316 includes/class-mla-options.php:825
40
  #: includes/mla-main-search-box-template.php:50
41
  #: includes/mla-media-modal-js-template.php:40
42
  msgid "Title"
43
  msgstr ""
44
 
45
+ #: includes/class-mla-ajax.php:162 includes/class-mla-main.php:1851
46
  #: includes/class-mla-thumbnail-generation.php:436
47
  msgid "Type"
48
  msgstr ""
49
 
50
+ #: includes/class-mla-ajax.php:162 includes/class-mla-main.php:1852
51
  msgid "Date"
52
  msgstr ""
53
 
54
+ #: includes/class-mla-ajax.php:162 includes/class-mla-main.php:1853
55
+ #: includes/class-mla-settings.php:2298
56
  msgid "Status"
57
  msgstr ""
58
 
59
  #: includes/class-mla-ajax.php:166 includes/class-mla-list-table.php:792
60
+ #: includes/class-mla-list-table.php:913 includes/class-mla-main.php:457
61
  #: includes/class-mla-polylang-support.php:386
62
  #: includes/class-mla-thumbnail-generation.php:97
63
  msgid "(no title)"
67
  msgid "Published"
68
  msgstr ""
69
 
70
+ #: includes/class-mla-ajax.php:175 includes/class-mla-edit-media.php:817
71
  #: includes/class-mla-list-table.php:559
72
  msgid "Scheduled"
73
  msgstr ""
76
  msgid "Pending Review"
77
  msgstr ""
78
 
79
+ #: includes/class-mla-ajax.php:181 includes/class-mla-edit-media.php:823
80
  #: includes/class-mla-list-table.php:556
81
  msgid "Draft"
82
  msgstr ""
90
  msgstr ""
91
 
92
  #: includes/class-mla-ajax.php:220 includes/class-mla-ajax.php:227
93
+ #: includes/class-mla-ajax.php:236 includes/class-mla-core.php:549
94
+ #: includes/class-mla-core.php:567 includes/class-mla-core.php:944
95
+ #: includes/class-mla-core.php:950 includes/class-mla-core.php:954
96
  #: includes/class-mla-data-pdf.php:216 includes/class-mla-data-pdf.php:517
97
  #: includes/class-mla-data-pdf.php:519 includes/class-mla-data-pdf.php:565
98
  #: includes/class-mla-data-pdf.php:749 includes/class-mla-data-query.php:666
101
  #: includes/class-mla-data.php:344 includes/class-mla-data.php:500
102
  #: includes/class-mla-data.php:563 includes/class-mla-data.php:1151
103
  #: includes/class-mla-data.php:1355 includes/class-mla-data.php:1361
104
+ #: includes/class-mla-data.php:1757 includes/class-mla-data.php:1761
105
+ #: includes/class-mla-data.php:2923 includes/class-mla-data.php:2951
106
+ #: includes/class-mla-data.php:3283 includes/class-mla-data.php:3296
107
+ #: includes/class-mla-data.php:3318 includes/class-mla-data.php:3507
108
+ #: includes/class-mla-data.php:3553 includes/class-mla-data.php:3585
109
+ #: includes/class-mla-data.php:3601 includes/class-mla-data.php:3791
110
+ #: includes/class-mla-edit-media.php:316 includes/class-mla-edit-media.php:731
111
+ #: includes/class-mla-edit-media.php:771 includes/class-mla-main.php:686
112
+ #: includes/class-mla-main.php:815 includes/class-mla-main.php:1156
113
+ #: includes/class-mla-main.php:1212 includes/class-mla-main.php:1237
114
+ #: includes/class-mla-main.php:1363 includes/class-mla-main.php:1415
115
+ #: includes/class-mla-main.php:1506 includes/class-mla-main.php:1537
116
+ #: includes/class-mla-main.php:1673 includes/class-mla-main.php:1680
117
+ #: includes/class-mla-main.php:1836 includes/class-mla-main.php:1911
118
+ #: includes/class-mla-main.php:2159 includes/class-mla-main.php:2167
119
+ #: includes/class-mla-main.php:2191 includes/class-mla-main.php:2199
120
+ #: includes/class-mla-main.php:2231 includes/class-mla-main.php:2239
121
  #: includes/class-mla-media-modal.php:571 includes/class-mla-mime-types.php:477
122
  #: includes/class-mla-mime-types.php:873 includes/class-mla-mime-types.php:961
123
  #: includes/class-mla-mime-types.php:1107
124
  #: includes/class-mla-mime-types.php:1130
125
+ #: includes/class-mla-mime-types.php:1941
126
+ #: includes/class-mla-mime-types.php:1952
127
+ #: includes/class-mla-mime-types.php:1965
128
+ #: includes/class-mla-mime-types.php:1973
129
+ #: includes/class-mla-mime-types.php:1978
130
+ #: includes/class-mla-mime-types.php:2021
131
+ #: includes/class-mla-mime-types.php:2040
132
+ #: includes/class-mla-mime-types.php:2091
133
+ #: includes/class-mla-mime-types.php:2125
134
+ #: includes/class-mla-mime-types.php:2210
135
+ #: includes/class-mla-mime-types.php:2289
136
+ #: includes/class-mla-mime-types.php:2298
137
+ #: includes/class-mla-mime-types.php:2330 includes/class-mla-objects.php:239
138
+ #: includes/class-mla-options.php:618 includes/class-mla-options.php:795
139
+ #: includes/class-mla-options.php:871 includes/class-mla-options.php:1375
140
+ #: includes/class-mla-options.php:1812 includes/class-mla-options.php:1825
141
+ #: includes/class-mla-options.php:1829 includes/class-mla-options.php:2413
142
+ #: includes/class-mla-options.php:2635 includes/class-mla-options.php:3204
143
+ #: includes/class-mla-options.php:3248 includes/class-mla-options.php:3256
144
+ #: includes/class-mla-options.php:3273 includes/class-mla-options.php:3283
145
+ #: includes/class-mla-options.php:3293 includes/class-mla-options.php:3301
146
+ #: includes/class-mla-options.php:3305 includes/class-mla-settings.php:593
147
+ #: includes/class-mla-settings.php:657 includes/class-mla-settings.php:671
148
+ #: includes/class-mla-settings.php:700 includes/class-mla-settings.php:711
149
+ #: includes/class-mla-settings.php:801 includes/class-mla-settings.php:935
150
+ #: includes/class-mla-settings.php:1065 includes/class-mla-settings.php:1102
151
+ #: includes/class-mla-settings.php:1241 includes/class-mla-settings.php:1603
152
+ #: includes/class-mla-settings.php:1635 includes/class-mla-settings.php:1712
153
+ #: includes/class-mla-settings.php:2049 includes/class-mla-settings.php:2100
154
+ #: includes/class-mla-settings.php:2179 includes/class-mla-settings.php:2770
155
+ #: includes/class-mla-settings.php:2912 includes/class-mla-settings.php:3135
156
+ #: includes/class-mla-settings.php:3186 includes/class-mla-settings.php:3272
157
+ #: includes/class-mla-settings.php:3304 includes/class-mla-settings.php:3307
158
+ #: includes/class-mla-settings.php:3311 includes/class-mla-settings.php:3412
159
+ #: includes/class-mla-settings.php:3418 includes/class-mla-settings.php:3432
160
+ #: includes/class-mla-settings.php:3439 includes/class-mla-settings.php:3461
161
+ #: includes/class-mla-settings.php:3506 includes/class-mla-settings.php:3512
162
+ #: includes/class-mla-settings.php:3526 includes/class-mla-settings.php:3533
163
+ #: includes/class-mla-settings.php:3592 includes/class-mla-settings.php:3713
164
+ #: includes/class-mla-settings.php:3846 includes/class-mla-settings.php:3920
165
+ #: includes/class-mla-settings.php:4009 includes/class-mla-settings.php:4366
166
+ #: includes/class-mla-settings.php:4370 includes/class-mla-settings.php:4381
167
+ #: includes/class-mla-settings.php:4388 includes/class-mla-settings.php:4397
168
+ #: includes/class-mla-settings.php:4434 includes/class-mla-settings.php:4442
169
+ #: includes/class-mla-settings.php:4451
170
+ #: includes/class-mla-shortcode-support.php:1947
171
+ #: includes/class-mla-shortcode-support.php:2034
172
+ #: includes/class-mla-shortcode-support.php:3078
173
+ #: includes/class-mla-shortcode-support.php:3137
174
+ #: includes/class-mla-shortcode-support.php:3168
175
+ #: includes/class-mla-shortcode-support.php:4083
176
+ #: includes/class-mla-shortcode-support.php:4411
177
+ #: includes/class-mla-shortcode-support.php:4442
178
  #: includes/class-mla-thumbnail-generation.php:256
179
  #: includes/class-mla-thumbnail-generation.php:270
180
  #: includes/class-mla-thumbnail-generation.php:316
181
  msgid "ERROR"
182
  msgstr ""
183
 
184
+ #: includes/class-mla-ajax.php:220 includes/class-mla-main.php:1673
185
  msgid "No post ID found"
186
  msgstr ""
187
 
188
+ #: includes/class-mla-ajax.php:227 includes/class-mla-main.php:1680
189
  #: includes/class-mla-polylang-support.php:291
190
  msgid "You are not allowed to edit this Attachment."
191
  msgstr ""
192
 
193
+ #: includes/class-mla-core-options.php:368 includes/class-mla-options.php:652
194
  msgid "Attachment Categories"
195
  msgstr ""
196
 
197
+ #: includes/class-mla-core-options.php:372
198
  msgid "Check this option to add support for Attachment Categories."
199
  msgstr ""
200
 
201
+ #: includes/class-mla-core-options.php:376 includes/class-mla-options.php:667
202
  msgid "Attachment Tags"
203
  msgstr ""
204
 
205
+ #: includes/class-mla-core-options.php:380
206
  msgid "Check this option to add support for Attachment Tags."
207
  msgstr ""
208
 
209
+ #: includes/class-mla-core-options.php:384 includes/class-mla-settings.php:1399
210
  msgid "Where-used Reporting"
211
  msgstr ""
212
 
213
+ #: includes/class-mla-core-options.php:389
214
  msgid "Exclude Revisions"
215
  msgstr ""
216
 
217
+ #: includes/class-mla-core-options.php:393
218
  msgid "Check this option to exclude revisions from where-used reporting."
219
  msgstr ""
220
 
221
+ #: includes/class-mla-core-options.php:397
222
  msgid "Where-used database access tuning"
223
  msgstr ""
224
 
225
+ #: includes/class-mla-core-options.php:402
226
+ #: includes/class-mla-edit-media.php:666 includes/class-mla-edit-media.php:916
227
  msgid "Featured in"
228
  msgstr ""
229
 
230
+ #: includes/class-mla-core-options.php:407
231
+ #: includes/class-mla-core-options.php:417
232
  msgid "Enabled"
233
  msgstr ""
234
 
235
+ #: includes/class-mla-core-options.php:407
236
+ #: includes/class-mla-core-options.php:417
237
+ #: includes/class-mla-core-options.php:427
238
+ #: includes/class-mla-core-options.php:437
239
  #: includes/class-mla-list-table.php:1019
240
  #: includes/class-mla-list-table.php:1064
241
  #: includes/class-mla-list-table.php:1114
243
  msgid "Disabled"
244
  msgstr ""
245
 
246
+ #: includes/class-mla-core-options.php:408
247
  msgid "Search database posts and pages for Featured Image attachments."
248
  msgstr ""
249
 
250
+ #: includes/class-mla-core-options.php:412
251
+ #: includes/class-mla-edit-media.php:670 includes/class-mla-edit-media.php:955
252
  msgid "Inserted in"
253
  msgstr ""
254
 
255
+ #: includes/class-mla-core-options.php:417
256
  msgid "Base"
257
  msgstr ""
258
 
259
+ #: includes/class-mla-core-options.php:418
260
  msgid ""
261
  "Search database posts and pages for attachments embedded in content."
262
  "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
263
  "name and extension only."
264
  msgstr ""
265
 
266
+ #: includes/class-mla-core-options.php:422
267
+ #: includes/class-mla-edit-media.php:674 includes/class-mla-edit-media.php:990
268
+ #: includes/class-mla-settings.php:4147
269
  msgid "Gallery in"
270
  msgstr ""
271
 
272
+ #: includes/class-mla-core-options.php:427
273
+ #: includes/class-mla-core-options.php:437
274
  msgid "Dynamic"
275
  msgstr ""
276
 
277
+ #: includes/class-mla-core-options.php:427
278
+ #: includes/class-mla-core-options.php:437 includes/class-mla-main.php:2070
279
+ #: includes/class-mla-settings.php:2806 includes/class-mla-settings.php:2942
280
  msgid "Refresh"
281
  msgstr ""
282
 
283
+ #: includes/class-mla-core-options.php:427
284
+ #: includes/class-mla-core-options.php:437
285
  msgid "Cached"
286
  msgstr ""
287
 
288
+ #: includes/class-mla-core-options.php:428
289
  msgid ""
290
+ "Search database posts and pages for [ gallery ] shortcode results.<br>&nbsp;"
291
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
292
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
293
  msgstr ""
294
 
295
+ #: includes/class-mla-core-options.php:432
296
+ #: includes/class-mla-edit-media.php:678 includes/class-mla-edit-media.php:1025
297
+ #: includes/class-mla-settings.php:4157
298
  msgid "MLA Gallery in"
299
  msgstr ""
300
 
301
+ #: includes/class-mla-core-options.php:438
302
  msgid ""
303
  "Search database posts and pages for [mla_gallery] shortcode results."
304
  "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
306
  "Cached."
307
  msgstr ""
308
 
309
+ #: includes/class-mla-core-options.php:442 includes/class-mla-settings.php:1399
310
  msgid "Taxonomy Support"
311
  msgstr ""
312
 
313
+ #: includes/class-mla-core-options.php:447
314
  msgid "Compute Attachments Column"
315
  msgstr ""
316
 
317
+ #: includes/class-mla-core-options.php:451
318
  msgid ""
319
  "Check this option to calculate attachments per term in the Attachments "
320
  "Column."
321
  msgstr ""
322
 
323
+ #: includes/class-mla-core-options.php:455
324
  msgid ""
325
  "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
326
  "Assistant and the Edit Media screen."
327
  msgstr ""
328
 
329
+ #: includes/class-mla-core-options.php:456
330
  msgid ""
331
  "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
332
  "the Quick Edit and Bulk Edit areas."
333
  msgstr ""
334
 
335
+ #: includes/class-mla-core-options.php:457
336
  msgid ""
337
  "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
338
  "\"Search Media/Terms\" list."
339
  msgstr ""
340
 
341
+ #: includes/class-mla-core-options.php:458
342
+ #: includes/class-mla-core-options.php:662 includes/class-mla-settings.php:1430
343
+ #: includes/class-mla-settings.php:1431
344
  msgid "For complete documentation"
345
  msgstr ""
346
 
347
+ #: includes/class-mla-core-options.php:458
348
+ #: includes/class-mla-core-options.php:662 includes/class-mla-settings.php:1430
349
+ #: includes/class-mla-settings.php:1431
350
  msgid "click here"
351
  msgstr ""
352
 
353
+ #: includes/class-mla-core-options.php:460
354
  msgid ""
355
  "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
356
  "meta box for a flat taxonomy."
357
  msgstr ""
358
 
359
+ #: includes/class-mla-core-options.php:461
360
  msgid ""
361
  "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
362
  "strong> box below to enable this feature."
363
  msgstr ""
364
 
365
+ #: includes/class-mla-core-options.php:462
366
  msgid ""
367
  "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
368
  "the top of the checklist-style meta box."
369
  msgstr ""
370
 
371
+ #: includes/class-mla-core-options.php:463
372
  msgid ""
373
  "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
374
  "which to filter the Assistant table listing."
375
  msgstr ""
376
 
377
+ #: includes/class-mla-core-options.php:489
378
  msgid "Media/Assistant Screen Options"
379
  msgstr ""
380
 
381
+ #: includes/class-mla-core-options.php:494
382
  msgid "Admin Menu Options"
383
  msgstr ""
384
 
385
+ #: includes/class-mla-core-options.php:499
386
  msgid "Page Title"
387
  msgstr ""
388
 
389
+ #: includes/class-mla-core-options.php:504
390
  msgid "Enter the title for the Media/Assistant submenu page"
391
  msgstr ""
392
 
393
+ #: includes/class-mla-core-options.php:508
394
  msgid "Menu Title"
395
  msgstr ""
396
 
397
+ #: includes/class-mla-core-options.php:513
398
  msgid "Enter the title for the Media/Assistant submenu entry"
399
  msgstr ""
400
 
401
+ #: includes/class-mla-core-options.php:517
402
  msgid "Submenu Order"
403
  msgstr ""
404
 
405
+ #: includes/class-mla-core-options.php:522
406
  msgid ""
407
  "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
408
  "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
410
  "\""
411
  msgstr ""
412
 
413
+ #: includes/class-mla-core-options.php:526
414
  msgid "Display Media/Library"
415
  msgstr ""
416
 
417
+ #: includes/class-mla-core-options.php:530
418
  msgid ""
419
  "Check/uncheck this option to display/remove the WordPress Media/Library "
420
  "submenu entry."
421
  msgstr ""
422
 
423
+ #: includes/class-mla-core-options.php:534
424
+ msgid "Display Media/Assistant list/grid view switcher"
425
+ msgstr ""
426
+
427
+ #: includes/class-mla-core-options.php:538
428
+ msgid ""
429
+ "Check/uncheck this option to display/remove the \"list/grid\" view switcher "
430
+ "on the Media/Assistant submenu."
431
+ msgstr ""
432
+
433
+ #: includes/class-mla-core-options.php:542
434
  msgid "Table Defaults"
435
  msgstr ""
436
 
437
+ #: includes/class-mla-core-options.php:547
438
  msgid "Order By"
439
  msgstr ""
440
 
441
+ #: includes/class-mla-core-options.php:552
442
+ #: includes/class-mla-core-options.php:780
443
+ #: includes/class-mla-core-options.php:811
444
+ #: includes/class-mla-core-options.php:825
445
  #: includes/class-mla-list-table.php:433 includes/class-mla-list-table.php:1272
446
+ #: includes/class-mla-settings.php:2373
447
  msgid "None"
448
  msgstr ""
449
 
450
+ #: includes/class-mla-core-options.php:552
451
  msgid "ID/Parent"
452
  msgstr ""
453
 
454
+ #: includes/class-mla-core-options.php:553
455
  msgid "Select the column for the sort order of the Assistant table listing."
456
  msgstr ""
457
 
458
+ #: includes/class-mla-core-options.php:557
459
  msgid "Order"
460
  msgstr ""
461
 
462
+ #: includes/class-mla-core-options.php:562
463
  msgid "Ascending"
464
  msgstr ""
465
 
466
+ #: includes/class-mla-core-options.php:562
467
  msgid "Descending"
468
  msgstr ""
469
 
470
+ #: includes/class-mla-core-options.php:563
471
+ #: includes/class-mla-core-options.php:790
472
  msgid "Choose the sort order."
473
  msgstr ""
474
 
475
+ #: includes/class-mla-core-options.php:567
476
  msgid "Views Width"
477
  msgstr ""
478
 
479
+ #: includes/class-mla-core-options.php:572
480
  msgid "Enter the width for the views list, in pixels (px) or percent (%)"
481
  msgstr ""
482
 
483
+ #: includes/class-mla-core-options.php:576
484
  msgid "Icon Size"
485
  msgstr ""
486
 
487
+ #: includes/class-mla-core-options.php:581
488
  msgid "Enter the size of the thumbnail/icon images, in pixels"
489
  msgstr ""
490
 
491
+ #: includes/class-mla-core-options.php:585
492
  msgid "Bulk Chunk Size"
493
  msgstr ""
494
 
495
+ #: includes/class-mla-core-options.php:590
496
  msgid "Enter the size of the Bulk Edit and Map All processing chunks"
497
  msgstr ""
498
 
499
+ #: includes/class-mla-core-options.php:594
500
  msgid "Taxonomy Filter parameters"
501
  msgstr ""
502
 
503
+ #: includes/class-mla-core-options.php:599
504
  msgid "Maximum Depth"
505
  msgstr ""
506
 
507
+ #: includes/class-mla-core-options.php:604
508
  msgid ""
509
  "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
510
  "for no limit."
511
  msgstr ""
512
 
513
+ #: includes/class-mla-core-options.php:608
514
  msgid "Include Children"
515
  msgstr ""
516
 
517
+ #: includes/class-mla-core-options.php:612
518
  msgid ""
519
  "Check/uncheck this option to include/exclude children for hierarchical "
520
  "taxonomies."
521
  msgstr ""
522
 
523
+ #: includes/class-mla-core-options.php:616
524
  msgid "Search Media Defaults"
525
  msgstr ""
526
 
527
+ #: includes/class-mla-core-options.php:621
528
  msgid "Display Search Controls"
529
  msgstr ""
530
 
531
+ #: includes/class-mla-core-options.php:625
532
+ #: includes/class-mla-core-options.php:751
533
  msgid ""
534
  "Check/uncheck this option to display/hide the and/or connector and search "
535
  "fields controls."
536
  msgstr ""
537
 
538
+ #: includes/class-mla-core-options.php:629
539
  msgid ""
540
  "Use these controls to set defaults for the and/or connector and search "
541
  "fields controls.<br>These defaults will be used for the Search Media boxes "
542
  "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
543
  msgstr ""
544
 
545
+ #: includes/class-mla-core-options.php:643
546
  msgid "Media/Edit Media Enhancements"
547
  msgstr ""
548
 
549
+ #: includes/class-mla-core-options.php:648
550
  msgid "Enable &quot;enhanced checklist&quot; taxonomies"
551
  msgstr ""
552
 
553
+ #: includes/class-mla-core-options.php:652
554
  msgid ""
555
  "Check this option to enable the \"? Search\" feature for hierarchical "
556
  "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
557
  "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
558
  msgstr ""
559
 
560
+ #: includes/class-mla-core-options.php:656
561
  msgid "Enable Edit Media additional meta boxes"
562
  msgstr ""
563
 
564
+ #: includes/class-mla-core-options.php:660
565
  msgid ""
566
  "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
567
  "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
568
  msgstr ""
569
 
570
+ #: includes/class-mla-core-options.php:661
571
  msgid "You can also use Filters to customize the meta boxes."
572
  msgstr ""
573
 
574
+ #: includes/class-mla-core-options.php:666
575
  msgid "Media/Add New Enhancements"
576
  msgstr ""
577
 
578
+ #: includes/class-mla-core-options.php:671
579
  msgid "Enable &quot;bulk edit&quot; area"
580
  msgstr ""
581
 
582
+ #: includes/class-mla-core-options.php:675
583
  msgid ""
584
  "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
585
  "New screen."
586
  msgstr ""
587
 
588
+ #: includes/class-mla-core-options.php:679
589
  msgid "&quot;bulk edit&quot; area on top"
590
  msgstr ""
591
 
592
+ #: includes/class-mla-core-options.php:683
593
  msgid ""
594
  "Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
595
  "New screen."
596
  msgstr ""
597
 
598
+ #: includes/class-mla-core-options.php:687
599
  msgid "&quot;bulk edit&quot; area initially open"
600
  msgstr ""
601
 
602
+ #: includes/class-mla-core-options.php:690
603
  msgid ""
604
  "Check this option to automatically open the \"Bulk Edit area\" when the "
605
  "Media/Add New screen is displayed."
606
  msgstr ""
607
 
608
+ #: includes/class-mla-core-options.php:694
609
  msgid "Media Manager/Media Grid Enhancements"
610
  msgstr ""
611
 
612
+ #: includes/class-mla-core-options.php:699
613
  msgid "Enable Media Grid Enhancements"
614
  msgstr ""
615
 
616
+ #: includes/class-mla-core-options.php:702
617
  msgid ""
618
  "Check/uncheck this option to enable/disable Media Library Grid View "
619
  "Enhancements."
620
  msgstr ""
621
 
622
+ #: includes/class-mla-core-options.php:706
623
  msgid "Enable Media Manager Enhancements"
624
  msgstr ""
625
 
626
+ #: includes/class-mla-core-options.php:709
627
  msgid ""
628
  "Check/uncheck this option to enable/disable Media Manager Modal Window "
629
  "Enhancements."
630
  msgstr ""
631
 
632
+ #: includes/class-mla-core-options.php:713
633
  msgid "Media Manager Enhanced MIME Type filter"
634
  msgstr ""
635
 
636
+ #: includes/class-mla-core-options.php:716
637
  msgid ""
638
  "Check this option to filter by more MIME Types, e.g., text, applications."
639
  msgstr ""
640
 
641
+ #: includes/class-mla-core-options.php:720
642
  msgid "Media Manager Month and Year filter"
643
  msgstr ""
644
 
645
+ #: includes/class-mla-core-options.php:723
646
  msgid "Check this option to filter by month and year uploaded."
647
  msgstr ""
648
 
649
+ #: includes/class-mla-core-options.php:727
650
  msgid "Media Manager Category/Tag filter"
651
  msgstr ""
652
 
653
+ #: includes/class-mla-core-options.php:730
654
  msgid "Check this option to filter by taxonomy terms."
655
  msgstr ""
656
 
657
+ #: includes/class-mla-core-options.php:734
658
  msgid "Media Manager Terms Search popup"
659
  msgstr ""
660
 
661
+ #: includes/class-mla-core-options.php:737
662
  msgid "Check this option to enable the \"Terms Search\" popup window."
663
  msgstr ""
664
 
665
+ #: includes/class-mla-core-options.php:741
666
  msgid "Media Manager Enhanced Search Media box"
667
  msgstr ""
668
 
669
+ #: includes/class-mla-core-options.php:744
670
  msgid "Check this option to enable search box enhancements."
671
  msgstr ""
672
 
673
+ #: includes/class-mla-core-options.php:748
674
  msgid "Media Manager Enhanced Search Media Controls"
675
  msgstr ""
676
 
677
+ #: includes/class-mla-core-options.php:755
678
  msgid "Media Manager Checklist meta boxes"
679
  msgstr ""
680
 
681
+ #: includes/class-mla-core-options.php:758
682
  msgid ""
683
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
684
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
685
  "<strong>\"checklist-style\"</strong> meta box."
686
  msgstr ""
687
 
688
+ #: includes/class-mla-core-options.php:762
689
  msgid "Media Manager Flat meta boxes"
690
  msgstr ""
691
 
692
+ #: includes/class-mla-core-options.php:765
693
  msgid ""
694
  "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
695
  "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
697
  "style\" meta box."
698
  msgstr ""
699
 
700
+ #: includes/class-mla-core-options.php:769
701
  msgid "Media Manager auto-fill meta boxes"
702
  msgstr ""
703
 
704
+ #: includes/class-mla-core-options.php:772
705
  msgid ""
706
  "Check this option to automatically fill MLA-enhanced meta boxes in the "
707
  "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
708
  msgstr ""
709
 
710
+ #: includes/class-mla-core-options.php:776
711
  msgid "Media Manager Order By"
712
  msgstr ""
713
 
714
+ #: includes/class-mla-core-options.php:780
715
+ #: includes/class-mla-core-options.php:789
716
+ #: includes/class-mla-core-options.php:811
717
+ #: includes/class-mla-core-options.php:825
718
+ #: includes/class-mla-core-options.php:839 includes/class-mla-settings.php:1480
719
  msgid "Media Manager Default"
720
  msgstr ""
721
 
722
+ #: includes/class-mla-core-options.php:780
723
  msgid "Title/Name"
724
  msgstr ""
725
 
726
+ #: includes/class-mla-core-options.php:781
727
  msgid ""
728
  "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
729
  "column for the sort order of the Media Library listing."
730
  msgstr ""
731
 
732
+ #: includes/class-mla-core-options.php:785
733
  msgid "Media Manager Order"
734
  msgstr ""
735
 
736
+ #: includes/class-mla-core-options.php:794
737
  msgid "Attachment Display Settings"
738
  msgstr ""
739
 
740
+ #: includes/class-mla-core-options.php:799
741
  msgid "Media Manager Apply Display Settings"
742
  msgstr ""
743
 
744
+ #: includes/class-mla-core-options.php:802
745
  msgid ""
746
  "Check this option to always start with the Attachment Display Settings set "
747
  "here,<br>&nbsp;&nbsp;overriding browser-/cookie-based defaults."
748
  msgstr ""
749
 
750
+ #: includes/class-mla-core-options.php:806
751
+ #: includes/class-mla-core-options.php:808
752
  msgid "Alignment"
753
  msgstr ""
754
 
755
  #. translators: 1: option name, e.g., Alignment, Link To or Size
756
+ #: includes/class-mla-core-options.php:808
757
+ #: includes/class-mla-core-options.php:822
758
+ #: includes/class-mla-core-options.php:836
759
  #, php-format
760
  msgid ""
761
  "Select a value for the default %1$s option in the Attachment Display "
762
  "Settings."
763
  msgstr ""
764
 
765
+ #: includes/class-mla-core-options.php:811
766
  msgid "Left"
767
  msgstr ""
768
 
769
+ #: includes/class-mla-core-options.php:811
770
  msgid "Center"
771
  msgstr ""
772
 
773
+ #: includes/class-mla-core-options.php:811
774
  msgid "Right"
775
  msgstr ""
776
 
777
+ #: includes/class-mla-core-options.php:820
778
+ #: includes/class-mla-core-options.php:822
779
  msgid "Link To"
780
  msgstr ""
781
 
782
+ #: includes/class-mla-core-options.php:825
783
  msgid "Media File"
784
  msgstr ""
785
 
786
+ #: includes/class-mla-core-options.php:825
787
  msgid "Attachment Page"
788
  msgstr ""
789
 
790
+ #: includes/class-mla-core-options.php:825
791
  msgid "Custom URL"
792
  msgstr ""
793
 
794
+ #: includes/class-mla-core-options.php:834
795
+ #: includes/class-mla-core-options.php:836
796
  msgid "Size"
797
  msgstr ""
798
 
799
+ #: includes/class-mla-core-options.php:839
800
  #: includes/class-mla-thumbnail-generation.php:396
801
  #: includes/class-mla-thumbnail-generation.php:443
802
  msgid "Thumbnail"
803
  msgstr ""
804
 
805
+ #: includes/class-mla-core-options.php:839
806
  msgid "Medium"
807
  msgstr ""
808
 
809
+ #: includes/class-mla-core-options.php:839
810
  msgid "Large"
811
  msgstr ""
812
 
813
+ #: includes/class-mla-core-options.php:839
814
  msgid "Full Size"
815
  msgstr ""
816
 
817
+ #: includes/class-mla-core-options.php:848
818
+ msgid "Uninstall (Delete) Plugin Settings"
819
+ msgstr ""
820
+
821
+ #: includes/class-mla-core-options.php:853
822
+ msgid "Delete Option Settings"
823
+ msgstr ""
824
+
825
+ #: includes/class-mla-core-options.php:856
826
+ msgid ""
827
+ "Check this option to remove all MLA option settings from the database when "
828
+ "the plugin is deleted.<br>&nbsp;&nbsp;<strong>You can make a backup copy</"
829
+ "strong> of your settings below by clicking \""
830
+ msgstr ""
831
+
832
+ #: includes/class-mla-core-options.php:856 includes/class-mla-settings.php:1401
833
+ msgid "Export ALL Settings"
834
+ msgstr ""
835
+
836
+ #: includes/class-mla-core-options.php:860
837
+ msgid "Delete Option Settings Backups"
838
+ msgstr ""
839
+
840
+ #: includes/class-mla-core-options.php:863
841
+ msgid ""
842
+ "Check this option to remove the <code>/wp-content/mla-backup</code> "
843
+ "directory and its contents when the plugin is deleted."
844
+ msgstr ""
845
+
846
+ #: includes/class-mla-core-options.php:867
847
  msgid "Default [mla_gallery] Templates and Settings"
848
  msgstr ""
849
 
850
+ #: includes/class-mla-core-options.php:872
851
+ #: includes/class-mla-core-options.php:878
852
+ #: includes/class-mla-core-options.php:916
853
+ #: includes/class-mla-core-options.php:922 includes/class-mla-settings.php:3401
854
+ #: includes/class-mla-settings.php:3412 includes/class-mla-settings.php:3418
855
+ #: includes/class-mla-settings.php:3422 includes/class-mla-settings.php:3450
856
+ #: includes/class-mla-settings.php:3461
857
  msgid "Style Template"
858
  msgstr ""
859
 
860
  #. translators: 1: template type 2: shortcode
861
+ #: includes/class-mla-core-options.php:878
862
+ #: includes/class-mla-core-options.php:888
863
+ #: includes/class-mla-core-options.php:922
864
+ #: includes/class-mla-core-options.php:932
865
  #, php-format
866
  msgid "Select the default %1$s for your %2$s shortcodes."
867
  msgstr ""
868
 
869
+ #: includes/class-mla-core-options.php:882
870
+ #: includes/class-mla-core-options.php:926
871
  msgid "Markup Template"
872
  msgstr ""
873
 
874
+ #: includes/class-mla-core-options.php:888
875
+ #: includes/class-mla-core-options.php:932 includes/class-mla-settings.php:3493
876
+ #: includes/class-mla-settings.php:3506 includes/class-mla-settings.php:3512
877
+ #: includes/class-mla-settings.php:3516 includes/class-mla-settings.php:3592
878
  msgid "markup template"
879
  msgstr ""
880
 
881
+ #: includes/class-mla-core-options.php:892
882
+ #: includes/class-mla-core-options.php:936
883
  msgid "Default columns"
884
  msgstr ""
885
 
886
+ #: includes/class-mla-core-options.php:896
887
  msgid ""
888
  "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
889
  msgstr ""
890
 
891
+ #: includes/class-mla-core-options.php:900
892
+ #: includes/class-mla-core-options.php:944
893
  msgid "Default mla_margin"
894
  msgstr ""
895
 
896
+ #: includes/class-mla-core-options.php:904
897
+ #: includes/class-mla-core-options.php:948
898
  msgid ""
899
  "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
900
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
901
  "remove the property entirely."
902
  msgstr ""
903
 
904
+ #: includes/class-mla-core-options.php:908
905
+ #: includes/class-mla-core-options.php:952
906
  msgid "Default mla_itemwidth"
907
  msgstr ""
908
 
909
+ #: includes/class-mla-core-options.php:912
910
+ #: includes/class-mla-core-options.php:956
911
  msgid ""
912
  "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
913
  "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
917
  "the property entirely."
918
  msgstr ""
919
 
920
+ #: includes/class-mla-core-options.php:940
921
  msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
922
  msgstr ""
923
 
924
+ #: includes/class-mla-core-options.php:960
925
  msgid "Thumbnail Substitution Support, mla_viewer"
926
  msgstr ""
927
 
928
+ #: includes/class-mla-core-options.php:965
929
  msgid "Enable thumbnail substitution"
930
  msgstr ""
931
 
932
+ #: includes/class-mla-core-options.php:968
933
  msgid ""
934
  "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
935
  "for PDF documents. Thumbnails are generated dynamically, each time the item "
938
  "strong>"
939
  msgstr ""
940
 
941
+ #: includes/class-mla-core-options.php:972
942
  msgid "Enable Featured Images"
943
  msgstr ""
944
 
945
+ #: includes/class-mla-core-options.php:975
946
  msgid ""
947
  "Check this option to extend Featured Image support to all Media Library "
948
  "items. The Featured Image can be used as a thumbnail image for the item in "
949
  "an [mla_gallery] display."
950
  msgstr ""
951
 
952
+ #: includes/class-mla-core-options.php:979
953
  msgid "Enable Featured Image Generation"
954
  msgstr ""
955
 
956
+ #: includes/class-mla-core-options.php:982
957
  msgid ""
958
  "Check this option to enable the \"Thumbnail\" generation action in the Media/"
959
  "Assistant submenu Bulk Actions dropdown."
960
  msgstr ""
961
 
962
+ #: includes/class-mla-core-options.php:986
963
  msgid "Enable explicit Ghostscript check"
964
  msgstr ""
965
 
966
+ #: includes/class-mla-core-options.php:989
967
  msgid ""
968
  "Check this option to enable the explicit check for Ghostscript support "
969
  "required for thumbnail generation. If your Ghostscript software is in a non-"
972
  "leave this option checked unless you know it is safe to turn it off."
973
  msgstr ""
974
 
975
+ #: includes/class-mla-core-options.php:993
976
  msgid "Ghostscript path"
977
  msgstr ""
978
 
979
+ #: includes/class-mla-core-options.php:997
980
  msgid ""
981
  "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
982
  "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
983
  "override the search for Ghostscript in other places."
984
  msgstr ""
985
 
986
+ #: includes/class-mla-core-options.php:1017
987
  msgid "Enable custom field mapping when adding new media"
988
  msgstr ""
989
 
990
+ #: includes/class-mla-core-options.php:1020
991
  msgid ""
992
  "Check this option to enable mapping when uploading new media (attachments)."
993
  "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
995
  "buttons on the bulk edit, single edit and settings screens."
996
  msgstr ""
997
 
998
+ #: includes/class-mla-core-options.php:1024
999
  msgid "Enable custom field mapping when updating media metadata"
1000
  msgstr ""
1001
 
1002
+ #: includes/class-mla-core-options.php:1027
1003
+ #: includes/class-mla-core-options.php:1051
1004
  msgid ""
1005
  "Check this option to enable mapping when media (attachments) metadata is "
1006
  "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
1007
  "functions are used."
1008
  msgstr ""
1009
 
1010
+ #: includes/class-mla-core-options.php:1031
1011
  msgid ""
1012
  "Update the custom field mapping values above, then click Save Changes to "
1013
  "make the updates permanent.<br>You can also make temporary updates and click "
1015
  "saving any rule changes."
1016
  msgstr ""
1017
 
1018
+ #: includes/class-mla-core-options.php:1041
1019
  msgid "Enable IPTC/EXIF Mapping when adding new media"
1020
  msgstr ""
1021
 
1022
+ #: includes/class-mla-core-options.php:1044
1023
  msgid ""
1024
  "Check this option to enable mapping when uploading new media (attachments)."
1025
  "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
1026
  "bulk edit, single edit and settings screens."
1027
  msgstr ""
1028
 
1029
+ #: includes/class-mla-core-options.php:1048
1030
  msgid "Enable IPTC/EXIF Mapping when updating media metadata"
1031
  msgstr ""
1032
 
1033
+ #: includes/class-mla-core-options.php:1055
1034
  msgid ""
1035
  "Update the standard field mapping values above, then click <strong>Save "
1036
  "Changes</strong> to make the updates permanent.<br>You can also make "
1039
  "changes."
1040
  msgstr ""
1041
 
1042
+ #: includes/class-mla-core-options.php:1065
1043
  msgid ""
1044
  "Update the taxonomy term mapping values above, then click <strong>Save "
1045
  "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
1046
  msgstr ""
1047
 
1048
+ #: includes/class-mla-core-options.php:1075
1049
  msgid ""
1050
  "<strong>Update</strong> individual custom field mapping values above, or "
1051
  "make several updates and click <strong>Save Changes</strong> below to apply "
1056
  "changes."
1057
  msgstr ""
1058
 
1059
+ #: includes/class-mla-core-options.php:1085
1060
  msgid "IPTC/EXIF Mapping help"
1061
  msgstr ""
1062
 
1063
+ #: includes/class-mla-core-options.php:1096 includes/class-mla-data.php:3556
1064
+ #: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:2041
1065
  msgid "Name/Slug"
1066
  msgstr ""
1067
 
1068
+ #: includes/class-mla-core-options.php:1103 includes/class-mla-data.php:3598
1069
  #: includes/class-mla-edit-media.php:430 includes/class-mla-list-table.php:1214
1070
+ #: includes/class-mla-main.php:2044 includes/class-mla-options.php:831
1071
  #: includes/mla-main-search-box-template.php:52
1072
  #: includes/mla-media-modal-js-template.php:48
1073
  msgid "ALT Text"
1074
  msgstr ""
1075
 
1076
+ #: includes/class-mla-core-options.php:1110 includes/class-mla-data.php:3611
1077
+ #: includes/class-mla-edit-media.php:428 includes/class-mla-main.php:2042
1078
+ #: includes/class-mla-options.php:834
1079
  #: includes/mla-main-search-box-template.php:53
1080
  #: includes/mla-media-modal-js-template.php:53
1081
  msgid "Caption"
1082
  msgstr ""
1083
 
1084
+ #: includes/class-mla-core-options.php:1117 includes/class-mla-data.php:3620
1085
+ #: includes/class-mla-edit-media.php:429 includes/class-mla-main.php:2043
1086
+ #: includes/class-mla-options.php:837 includes/class-mla-settings.php:1569
1087
+ #: includes/class-mla-settings.php:1826 includes/class-mla-settings.php:1924
1088
+ #: includes/class-mla-settings.php:2288
1089
  #: includes/mla-main-search-box-template.php:54
1090
  #: includes/mla-media-modal-js-template.php:57
1091
  msgid "Description"
1092
  msgstr ""
1093
 
1094
+ #: includes/class-mla-core-options.php:1137
1095
  msgid "Enable View and Post MIME Type Support"
1096
  msgstr ""
1097
 
1098
+ #: includes/class-mla-core-options.php:1140
1099
  msgid ""
1100
  "Check/uncheck this option to enable/disable Post MIME Type Support, then "
1101
  "click <strong>Save Changes</strong> to record the new setting."
1102
  msgstr ""
1103
 
1104
+ #: includes/class-mla-core-options.php:1149
1105
  msgid "Post MIME Types help."
1106
  msgstr ""
1107
 
1108
+ #: includes/class-mla-core-options.php:1152
1109
+ #: includes/class-mla-mime-types.php:1366
1110
  msgctxt "table_view_singular"
1111
  msgid "All"
1112
  msgstr ""
1113
 
1114
+ #: includes/class-mla-core-options.php:1153
1115
+ #: includes/class-mla-mime-types.php:1367
1116
  msgctxt "table_view_plural"
1117
  msgid "All"
1118
  msgstr ""
1119
 
1120
+ #: includes/class-mla-core-options.php:1158
1121
+ #: includes/class-mla-core-options.php:1212
1122
+ #: includes/class-mla-core-options.php:1221
1123
+ #: includes/class-mla-core-options.php:1230
1124
  msgctxt "post_mime_types_description"
1125
  msgid "Built-in view"
1126
  msgstr ""
1127
 
1128
+ #: includes/class-mla-core-options.php:1161
1129
  msgctxt "table_view_singular"
1130
  msgid "Image"
1131
  msgstr ""
1132
 
1133
+ #: includes/class-mla-core-options.php:1162
1134
  msgctxt "table_view_plural"
1135
  msgid "Images"
1136
  msgstr ""
1137
 
1138
+ #: includes/class-mla-core-options.php:1167
1139
  msgctxt "post_mime_types_description"
1140
  msgid "All image subtypes"
1141
  msgstr ""
1142
 
1143
+ #: includes/class-mla-core-options.php:1170
1144
  msgctxt "table_view_singular"
1145
  msgid "Audio"
1146
  msgstr ""
1147
 
1148
+ #: includes/class-mla-core-options.php:1171
1149
  msgctxt "table_view_plural"
1150
  msgid "Audio"
1151
  msgstr ""
1152
 
1153
+ #: includes/class-mla-core-options.php:1176
1154
  msgctxt "post_mime_types_description"
1155
  msgid "All audio subtypes"
1156
  msgstr ""
1157
 
1158
+ #: includes/class-mla-core-options.php:1179
1159
  msgctxt "table_view_singular"
1160
  msgid "Video"
1161
  msgstr ""
1162
 
1163
+ #: includes/class-mla-core-options.php:1180
1164
  msgctxt "table_view_plural"
1165
  msgid "Video"
1166
  msgstr ""
1167
 
1168
+ #: includes/class-mla-core-options.php:1185
1169
  msgctxt "post_mime_types_description"
1170
  msgid "All video subtypes"
1171
  msgstr ""
1172
 
1173
+ #: includes/class-mla-core-options.php:1188
1174
  msgctxt "table_view_singular"
1175
  msgid "Text"
1176
  msgstr ""
1177
 
1178
+ #: includes/class-mla-core-options.php:1189
1179
  msgctxt "table_view_plural"
1180
  msgid "Text"
1181
  msgstr ""
1182
 
1183
+ #: includes/class-mla-core-options.php:1194
1184
  msgctxt "post_mime_types_description"
1185
  msgid "All text subtypes"
1186
  msgstr ""
1187
 
1188
+ #: includes/class-mla-core-options.php:1197
1189
  msgctxt "table_view_singular"
1190
  msgid "Application"
1191
  msgstr ""
1192
 
1193
+ #: includes/class-mla-core-options.php:1198
1194
  msgctxt "table_view_plural"
1195
  msgid "Applications"
1196
  msgstr ""
1197
 
1198
+ #: includes/class-mla-core-options.php:1203
1199
  msgctxt "post_mime_types_description"
1200
  msgid "All application subtypes"
1201
  msgstr ""
1202
 
1203
+ #: includes/class-mla-core-options.php:1206
1204
+ #: includes/class-mla-list-table.php:1409
1205
  msgctxt "table_view_singular"
1206
  msgid "Unattached"
1207
  msgstr ""
1208
 
1209
+ #: includes/class-mla-core-options.php:1207
1210
  msgctxt "table_view_plural"
1211
  msgid "Unattached"
1212
  msgstr ""
1213
 
1214
+ #: includes/class-mla-core-options.php:1215
1215
  msgctxt "table_view_singular"
1216
  msgid "Attached"
1217
  msgstr ""
1218
 
1219
+ #: includes/class-mla-core-options.php:1216
1220
  msgctxt "table_view_plural"
1221
  msgid "Attached"
1222
  msgstr ""
1223
 
1224
+ #: includes/class-mla-core-options.php:1224
1225
  msgctxt "table_view_singular"
1226
  msgid "Trash"
1227
  msgstr ""
1228
 
1229
+ #: includes/class-mla-core-options.php:1225
1230
  msgctxt "table_view_plural"
1231
  msgid "Trash"
1232
  msgstr ""
1233
 
1234
+ #: includes/class-mla-core-options.php:1236
1235
  msgid "Enable Upload MIME Type Support"
1236
  msgstr ""
1237
 
1238
+ #: includes/class-mla-core-options.php:1239
1239
  msgid ""
1240
  "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
1241
  "click <strong>Save Changes</strong> to record the new setting."
1242
  msgstr ""
1243
 
1244
+ #: includes/class-mla-core-options.php:1248
1245
  msgid "Upload MIME Types help."
1246
  msgstr ""
1247
 
1248
+ #: includes/class-mla-core-options.php:1253
1249
  msgid "Enable MLA File Type Icons Support"
1250
  msgstr ""
1251
 
1252
+ #: includes/class-mla-core-options.php:1256
1253
  msgid ""
1254
  "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
1255
  "then click <strong>Save Changes</strong> to record the new setting."
1256
  msgstr ""
1257
 
1258
+ #: includes/class-mla-core-options.php:1260
1259
  msgid "Display Limit"
1260
  msgstr ""
1261
 
1262
+ #: includes/class-mla-core-options.php:1264
1263
  msgid ""
1264
  "Enter the maximum number of debug log characters to display; enter zero or "
1265
  "leave blank for no limit."
1266
  msgstr ""
1267
 
1268
+ #: includes/class-mla-core-options.php:1268
1269
  msgid "Debug File"
1270
  msgstr ""
1271
 
1272
+ #: includes/class-mla-core-options.php:1272
1273
  msgid ""
1274
  "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
1275
  "use the PHP error_log."
1276
  msgstr ""
1277
 
1278
+ #: includes/class-mla-core-options.php:1276
1279
  msgid "Replace PHP error_log file"
1280
  msgstr ""
1281
 
1282
+ #: includes/class-mla-core-options.php:1279
1283
  msgid ""
1284
  "Check this option to replace the PHP error_log file with the MLA Debug File."
1285
  "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
1286
  msgstr ""
1287
 
1288
+ #: includes/class-mla-core-options.php:1283
1289
  msgid "PHP Reporting"
1290
  msgstr ""
1291
 
1292
+ #: includes/class-mla-core-options.php:1287
1293
  msgid ""
1294
  "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
1295
  "use the existing PHP error_reporting value."
1296
  msgstr ""
1297
 
1298
+ #: includes/class-mla-core-options.php:1291
1299
  msgid "MLA Reporting"
1300
  msgstr ""
1301
 
1302
+ #: includes/class-mla-core-options.php:1295
1303
  msgid ""
1304
  "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
1305
  "the existing MLA_DEBUG_LEVEL value."
1306
  msgstr ""
1307
 
1308
  #. translators: 1: ERROR tag 2: path and file name
1309
+ #: includes/class-mla-core.php:549
1310
  #, php-format
1311
  msgctxt "error_log"
1312
  msgid "%1$s: mla_load_template file \"%2$s\" not found."
1313
  msgstr ""
1314
 
1315
  #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
1316
+ #: includes/class-mla-core.php:567
1317
  #, php-format
1318
  msgctxt "error_log"
1319
  msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
1320
  msgstr ""
1321
 
1322
  #. translators: 1: ERROR tag 2: raw_mime_type
1323
+ #: includes/class-mla-core.php:944
1324
  #, php-format
1325
  msgid "%1$s: Bad specification part \"%2$s\""
1326
  msgstr ""
1327
 
1328
  #. translators: 1: ERROR tag 2: option, e.g., any, match, null
1329
+ #: includes/class-mla-core.php:950
1330
  #, php-format
1331
  msgid "%1$s: Bad specification option \"%2$s\""
1332
  msgstr ""
1333
 
1334
  #. translators: 1: ERROR tag 2: prefix, e.g., custom
1335
+ #: includes/class-mla-core.php:954
1336
  #, php-format
1337
  msgid "%1$s: Bad specification prefix \"%2$s\""
1338
  msgstr ""
1339
 
1340
+ #: includes/class-mla-core.php:1054
1341
  msgid "Most Used"
1342
  msgstr ""
1343
 
1344
  #. translators: %s: add new taxonomy label
1345
+ #: includes/class-mla-core.php:1083
1346
  #, php-format
1347
  msgid "+ %s"
1348
  msgstr ""
1349
 
1350
+ #: includes/class-mla-core.php:1089 includes/class-mla-main.php:1842
1351
  #: includes/class-mla-media-modal.php:601
1352
  #: includes/mla-media-modal-js-template.php:28
1353
  #: includes/mla-media-modal-js-template.php:71
1496
 
1497
  #. translators: 1: ERROR tag 2: function name 3: non-array value
1498
  #: includes/class-mla-data-query.php:666 includes/class-mla-edit-media.php:316
1499
+ #: includes/class-mla-main.php:1836 includes/class-mla-main.php:1911
1500
  #: includes/class-mla-media-modal.php:571 includes/class-mla-mime-types.php:477
1501
  #: includes/class-mla-mime-types.php:1130
1502
+ #: includes/class-mla-mime-types.php:2330 includes/class-mla-settings.php:1603
1503
+ #: includes/class-mla-settings.php:2049
1504
  #, php-format
1505
  msgctxt "error_log"
1506
  msgid "%1$s: %2$s non-array \"%3$s\""
1507
  msgstr ""
1508
 
1509
  #. translators: 1: DEBUG tag 2: query filter details
1510
+ #: includes/class-mla-data-query.php:1115
1511
  #, php-format
1512
  msgctxt "error_log"
1513
  msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
1514
  msgstr ""
1515
 
 
 
1516
  #: includes/class-mla-data-query.php:1115
1517
+ #: includes/class-mla-data-query.php:1130
1518
+ #: includes/class-mla-data-query.php:1132
1519
+ #: includes/class-mla-data-query.php:1567
1520
+ #: includes/class-mla-data-query.php:1639
1521
+ #: includes/class-mla-data-query.php:1711
1522
+ #: includes/class-mla-data-query.php:1808
1523
+ #: includes/class-mla-data-query.php:1900
1524
+ #: includes/class-mla-data-query.php:1919
1525
  msgid "DEBUG"
1526
  msgstr ""
1527
 
1528
  #. translators: 1: DEBUG tag 2: query details
1529
+ #: includes/class-mla-data-query.php:1130
1530
  #, php-format
1531
  msgctxt "error_log"
1532
  msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
1533
  msgstr ""
1534
 
1535
  #. translators: 1: DEBUG tag 2: SQL statement
1536
+ #: includes/class-mla-data-query.php:1132
1537
  #, php-format
1538
  msgctxt "error_log"
1539
  msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
1540
  msgstr ""
1541
 
1542
  #. translators: 1: DEBUG tag 2: search filter details
1543
+ #: includes/class-mla-data-query.php:1567
1544
  #, php-format
1545
  msgctxt "error_log"
1546
  msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
1547
  msgstr ""
1548
 
1549
  #. translators: 1: DEBUG tag 2: where filter details
1550
+ #: includes/class-mla-data-query.php:1639
1551
  #, php-format
1552
  msgctxt "error_log"
1553
  msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
1554
  msgstr ""
1555
 
1556
  #. translators: 1: DEBUG tag 2: join filter details
1557
+ #: includes/class-mla-data-query.php:1711
1558
  #, php-format
1559
  msgctxt "error_log"
1560
  msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
1561
  msgstr ""
1562
 
1563
  #. translators: 1: DEBUG tag 2: orderby details details
1564
+ #: includes/class-mla-data-query.php:1808
1565
  #, php-format
1566
  msgctxt "error_log"
1567
  msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
1568
  msgstr ""
1569
 
1570
  #. translators: 1: DEBUG tag 2: SQL clauses
1571
+ #: includes/class-mla-data-query.php:1900
1572
  #, php-format
1573
  msgctxt "error_log"
1574
  msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
1575
  msgstr ""
1576
 
1577
  #. translators: 1: DEBUG tag 2: SQL clauses
1578
+ #: includes/class-mla-data-query.php:1919
1579
  #, php-format
1580
  msgctxt "error_log"
1581
  msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
1686
  msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
1687
  msgstr ""
1688
 
1689
+ #: includes/class-mla-data.php:1757
1690
  msgctxt "error_log"
1691
  msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
1692
  msgstr ""
1693
 
1694
+ #: includes/class-mla-data.php:1761
1695
  msgctxt "error_log"
1696
  msgid "mla_parse_xmp_metadata set option failed."
1697
  msgstr ""
1698
 
1699
+ #: includes/class-mla-data.php:3019 includes/class-mla-settings.php:1836
1700
  #: includes/class-mla-view-list-table.php:430
1701
  #: includes/class-mla-view-list-table.php:446
1702
  #: includes/class-mla-wpml-support.php:1595
1703
  msgid "Yes"
1704
  msgstr ""
1705
 
1706
+ #: includes/class-mla-data.php:3021 includes/class-mla-list-table.php:166
1707
+ #: includes/class-mla-settings.php:1835
1708
  #: includes/class-mla-view-list-table.php:432
1709
  #: includes/class-mla-view-list-table.php:448
1710
  #: includes/class-mla-wpml-support.php:1596
1712
  msgstr ""
1713
 
1714
  #. translators: 1: meta_key
1715
+ #: includes/class-mla-data.php:3280 includes/class-mla-data.php:3378
1716
  #, php-format
1717
  msgid "Deleting %1$s"
1718
  msgstr ""
1719
 
1720
  #. translators: 1: ERROR tag 2: meta_key
1721
+ #: includes/class-mla-data.php:3283
1722
  #, php-format
1723
  msgid "%1$s: meta:%2$s not found"
1724
  msgstr ""
1726
  #. translators: 1: meta_key 2: meta_value
1727
  #. translators: 1: meta_key 2: new_value
1728
  #. translators: 1: meta_key 2: meta_value
1729
+ #: includes/class-mla-data.php:3292 includes/class-mla-data.php:3389
1730
+ #: includes/class-mla-data.php:3395
1731
  #, php-format
1732
  msgid "Adding %1$s = %2$s"
1733
  msgstr ""
1734
 
1735
  #. translators: 1: ERROR tag 2: meta_key
1736
+ #: includes/class-mla-data.php:3296
1737
  #, php-format
1738
  msgid "%1$s: Adding meta:%2$s; not found"
1739
  msgstr ""
1740
 
1741
  #. translators: 1: meta_key
1742
+ #: includes/class-mla-data.php:3303
1743
  #, php-format
1744
  msgid "Deleting Null meta:%1$s"
1745
  msgstr ""
1746
 
1747
  #. translators: 1: element name 2: old_value 3: new_value
1748
+ #: includes/class-mla-data.php:3313 includes/class-mla-data.php:3464
1749
+ #: includes/class-mla-data.php:3530 includes/class-mla-data.php:3556
1750
+ #: includes/class-mla-data.php:3598 includes/class-mla-data.php:3611
1751
+ #: includes/class-mla-data.php:3620 includes/class-mla-data.php:3631
1752
+ #: includes/class-mla-data.php:3642 includes/class-mla-data.php:3655
1753
+ #: includes/class-mla-data.php:3664 includes/class-mla-data.php:3673
1754
+ #: includes/class-mla-mime-types.php:964 includes/class-mla-mime-types.php:2094
1755
  #, php-format
1756
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
1757
  msgstr ""
1758
 
1759
  #. translators: 1: ERROR tag 2: meta_key
1760
+ #: includes/class-mla-data.php:3318
1761
  #, php-format
1762
  msgid "%1$s: Changing meta:%2$s; not found"
1763
  msgstr ""
1764
 
1765
  #. translators: 1: meta_key
1766
+ #: includes/class-mla-data.php:3419
1767
  #, php-format
1768
  msgid "Deleting old %1$s values"
1769
  msgstr ""
1770
 
1771
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
1772
+ #: includes/class-mla-data.php:3449
1773
  #, php-format
1774
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
1775
  msgstr ""
1776
 
1777
+ #: includes/class-mla-data.php:3507
1778
  msgid "Could not retrieve Attachment."
1779
  msgstr ""
1780
 
1781
  #. translators: 1: ERROR tag 2: old_value
1782
+ #: includes/class-mla-data.php:3553
1783
  #, php-format
1784
  msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
1785
  msgstr ""
1786
 
1787
  #. translators: 1: old_value
1788
+ #: includes/class-mla-data.php:3582
1789
  #, php-format
1790
  msgid "Deleting ALT Text, was \"%1$s\""
1791
  msgstr ""
1792
 
1793
  #. translators: 1: ERROR tag 2: old_value
1794
+ #: includes/class-mla-data.php:3585
1795
  #, php-format
1796
  msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
1797
  msgstr ""
1798
 
1799
  #. translators: 1: ERROR tag 2: old_value 3: new_value
1800
+ #: includes/class-mla-data.php:3601
1801
  #, php-format
1802
  msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
1803
  msgstr ""
1804
 
1805
+ #: includes/class-mla-data.php:3631 includes/class-mla-list-table.php:916
1806
  #: includes/class-mla-list-table.php:919 includes/class-mla-list-table.php:922
1807
+ #: includes/class-mla-list-table.php:990 includes/class-mla-options.php:2583
1808
+ #: includes/class-mla-options.php:2965
1809
  msgid "Parent"
1810
  msgstr ""
1811
 
1812
+ #: includes/class-mla-data.php:3642 includes/class-mla-edit-media.php:655
1813
+ #: includes/class-mla-edit-media.php:858 includes/class-mla-main.php:2047
1814
+ #: includes/class-mla-settings.php:1567 includes/class-mla-settings.php:1824
1815
  msgid "Menu Order"
1816
  msgstr ""
1817
 
1818
+ #: includes/class-mla-data.php:3655 includes/class-mla-edit-media.php:395
1819
  #: includes/class-mla-list-table.php:1370
1820
+ #: includes/class-mla-list-table.php:1373 includes/class-mla-main.php:1917
1821
+ #: includes/class-mla-main.php:2019
1822
  msgid "Author"
1823
  msgstr ""
1824
 
1825
+ #: includes/class-mla-data.php:3664 includes/class-mla-edit-media.php:420
1826
+ #: includes/class-mla-main.php:2059
1827
  msgid "Comments"
1828
  msgstr ""
1829
 
1830
+ #: includes/class-mla-data.php:3673 includes/class-mla-edit-media.php:421
1831
+ #: includes/class-mla-main.php:2060
1832
  msgid "Pings"
1833
  msgstr ""
1834
 
1835
+ #: includes/class-mla-data.php:3705
1836
  msgid "Adding"
1837
  msgstr ""
1838
 
1839
+ #: includes/class-mla-data.php:3710
1840
  msgid "Removing"
1841
  msgstr ""
1842
 
1843
+ #: includes/class-mla-data.php:3719
1844
  msgid "Replacing"
1845
  msgstr ""
1846
 
1847
+ #: includes/class-mla-data.php:3727
1848
  msgid "Ignoring"
1849
  msgstr ""
1850
 
1851
  #. translators: 1: action_name, 2: taxonomy
1852
+ #: includes/class-mla-data.php:3740
1853
  #, php-format
1854
  msgid "%1$s \"%2$s\" terms"
1855
  msgstr ""
1856
 
1857
  #. translators: 1: taxonomy
1858
+ #: includes/class-mla-data.php:3744
1859
  #, php-format
1860
  msgid "You cannot assign \"%1$s\" terms"
1861
  msgstr ""
1862
 
1863
  #. translators: 1: post ID
1864
+ #: includes/class-mla-data.php:3756 includes/class-mla-main.php:1222
1865
  #, php-format
1866
  msgid "Item %1$d, no changes detected."
1867
  msgstr ""
1868
 
1869
  #. translators: 1: post ID
1870
+ #: includes/class-mla-data.php:3777
1871
  #, php-format
1872
  msgid "Item %1$d updated."
1873
  msgstr ""
1874
 
1875
  #. translators: 1: ERROR tag 2: post ID
1876
+ #: includes/class-mla-data.php:3791
1877
  #, php-format
1878
  msgid "%1$s: Item %2$d update failed."
1879
  msgstr ""
1880
 
1881
  #: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:184
1882
+ #: includes/class-mla-edit-media.php:237 includes/class-mla-main.php:466
1883
+ #: includes/class-mla-main.php:1002 includes/class-mla-main.php:1730
1884
+ #: includes/class-mla-media-modal.php:233 includes/class-mla-options.php:2096
1885
  #: includes/class-mla-polylang-support.php:390
1886
+ #: includes/class-mla-settings.php:364
1887
  #: includes/class-mla-thumbnail-generation.php:99
1888
  msgctxt "tag_delimiter"
1889
  msgid ","
1902
  msgstr ""
1903
 
1904
  #: includes/class-mla-edit-media.php:185 includes/class-mla-edit-media.php:239
1905
+ #: includes/class-mla-main.php:453
1906
  msgid "An ajax.fail error has occurred. Please reload the page and try again."
1907
  msgstr ""
1908
 
1909
  #: includes/class-mla-edit-media.php:186 includes/class-mla-edit-media.php:240
1910
+ #: includes/class-mla-main.php:454
1911
  msgid "An ajax.done error has occurred. Please reload the page and try again."
1912
  msgstr ""
1913
 
1914
+ #: includes/class-mla-edit-media.php:338 includes/class-mla-main.php:1952
1915
  msgid "more"
1916
  msgstr ""
1917
 
1918
+ #: includes/class-mla-edit-media.php:339 includes/class-mla-main.php:1953
1919
  msgid "less"
1920
  msgstr ""
1921
 
1922
  #: includes/class-mla-edit-media.php:342 includes/class-mla-edit-media.php:373
1923
+ #: includes/class-mla-main.php:1956 includes/class-mla-main.php:1994
1924
  msgid "Add"
1925
  msgstr ""
1926
 
1927
  #: includes/class-mla-edit-media.php:343 includes/class-mla-edit-media.php:374
1928
+ #: includes/class-mla-main.php:1957 includes/class-mla-main.php:1995
1929
  msgid "Remove"
1930
  msgstr ""
1931
 
1932
  #: includes/class-mla-edit-media.php:344 includes/class-mla-edit-media.php:375
1933
+ #: includes/class-mla-main.php:1958 includes/class-mla-main.php:1996
1934
+ #: includes/class-mla-options.php:1611 includes/class-mla-options.php:1710
1935
+ #: includes/class-mla-options.php:1754 includes/class-mla-options.php:2850
1936
+ #: includes/class-mla-options.php:2904 includes/class-mla-options.php:3024
1937
+ #: includes/class-mla-options.php:3119 includes/class-mla-options.php:3165
1938
  msgid "Replace"
1939
  msgstr ""
1940
 
1944
  "menu for more information."
1945
  msgstr ""
1946
 
1947
+ #: includes/class-mla-edit-media.php:416 includes/class-mla-main.php:2053
1948
+ #: includes/class-mla-settings.php:3220
1949
  msgid "Reset"
1950
  msgstr ""
1951
 
1952
+ #: includes/class-mla-edit-media.php:422 includes/class-mla-main.php:2061
1953
+ #: includes/class-mla-main.php:2107 includes/class-mla-settings.php:1834
1954
+ #: includes/class-mla-settings.php:1872 includes/class-mla-settings.php:2299
1955
  msgid "No Change"
1956
  msgstr ""
1957
 
1958
+ #: includes/class-mla-edit-media.php:423 includes/class-mla-main.php:2062
1959
  msgid "Allow"
1960
  msgstr ""
1961
 
1962
+ #: includes/class-mla-edit-media.php:424 includes/class-mla-main.php:2063
1963
  msgid "Do not allow"
1964
  msgstr ""
1965
 
1966
  #: includes/class-mla-edit-media.php:431 includes/class-mla-list-table.php:916
1967
+ #: includes/class-mla-list-table.php:987 includes/class-mla-main.php:2045
1968
  msgid "Parent ID"
1969
  msgstr ""
1970
 
1971
+ #: includes/class-mla-edit-media.php:432 includes/class-mla-edit-media.php:838
1972
+ #: includes/class-mla-main.php:2046
1973
  #: includes/class-mla-upload-optional-list-table.php:281
1974
  msgid "Select"
1975
  msgstr ""
1991
  msgid "Last modified"
1992
  msgstr ""
1993
 
1994
+ #: includes/class-mla-edit-media.php:554
1995
  msgid "Map Custom Field metadata for this item"
1996
  msgstr ""
1997
 
1998
+ #: includes/class-mla-edit-media.php:554 includes/class-mla-main.php:1641
1999
+ #: includes/class-mla-main.php:2066
2000
  msgid "Map Custom Field metadata"
2001
  msgstr ""
2002
 
2003
+ #: includes/class-mla-edit-media.php:556
2004
  msgid "Map IPTC/EXIF metadata for this item"
2005
  msgstr ""
2006
 
2007
+ #: includes/class-mla-edit-media.php:556 includes/class-mla-main.php:1644
2008
+ #: includes/class-mla-main.php:2065
2009
  msgid "Map IPTC/EXIF metadata"
2010
  msgstr ""
2011
 
2012
+ #: includes/class-mla-edit-media.php:651 includes/class-mla-edit-media.php:839
2013
  msgid "Parent Info"
2014
  msgstr ""
2015
 
2016
+ #: includes/class-mla-edit-media.php:661 includes/class-mla-edit-media.php:882
2017
  msgid "Attachment Metadata"
2018
  msgstr ""
2019
 
2020
  #. translators: 1: ERROR tag 2: function name 3: template key
2021
+ #: includes/class-mla-edit-media.php:731 includes/class-mla-edit-media.php:771
2022
+ #: includes/class-mla-main.php:686 includes/class-mla-settings.php:593
2023
  #, php-format
2024
  msgctxt "error_log"
2025
  msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
2026
  msgstr ""
2027
 
2028
+ #: includes/class-mla-edit-media.php:820 includes/class-mla-list-table.php:562
2029
  msgctxt "post state"
2030
  msgid "Pending"
2031
  msgstr ""
2032
 
2033
+ #: includes/class-mla-edit-media.php:837
2034
  msgid "Post Parent"
2035
  msgstr ""
2036
 
2037
+ #: includes/class-mla-edit-media.php:838 includes/class-mla-main.php:1841
2038
  msgid "Select Parent"
2039
  msgstr ""
2040
 
2041
+ #: includes/class-mla-edit-media.php:905 includes/class-mla-edit-media.php:943
2042
+ #: includes/class-mla-edit-media.php:979 includes/class-mla-edit-media.php:1014
2043
  #: includes/class-mla-list-table.php:1037
2044
  #: includes/class-mla-list-table.php:1086
2045
  #: includes/class-mla-list-table.php:1132
2120
  msgid "Edit this item inline"
2121
  msgstr ""
2122
 
2123
+ #: includes/class-mla-list-table.php:667 includes/class-mla-main.php:2039
2124
+ #: includes/class-mla-options.php:1486 includes/class-mla-options.php:1790
2125
  #: includes/class-mla-upload-list-table.php:406
2126
  #: includes/class-mla-view-list-table.php:353
2127
  msgid "Quick Edit"
2149
  msgid "Delete Permanently"
2150
  msgstr ""
2151
 
2152
+ #: includes/class-mla-list-table.php:686 includes/class-mla-settings.php:3210
2153
  msgid "Download"
2154
  msgstr ""
2155
 
2156
+ #: includes/class-mla-list-table.php:690 includes/class-mla-settings.php:1812
2157
  msgid "View"
2158
  msgstr ""
2159
 
2161
  msgid "(no title: bad ID)"
2162
  msgstr ""
2163
 
2164
+ #: includes/class-mla-list-table.php:1257 includes/class-mla-settings.php:1917
2165
+ #: includes/class-mla-settings.php:2282
2166
  msgid "MIME Type"
2167
  msgstr ""
2168
 
2200
  msgstr[0] ""
2201
  msgstr[1] ""
2202
 
2203
+ #: includes/class-mla-list-table.php:1804
2204
  msgid "Filter"
2205
  msgstr ""
2206
 
2207
+ #: includes/class-mla-list-table.php:1807
2208
  #: includes/mla-media-modal-js-template.php:68
2209
  msgid "Terms Search"
2210
  msgstr ""
2211
 
2212
+ #: includes/class-mla-list-table.php:1812
2213
  #: includes/class-mla-polylang-support.php:1904
2214
  #: includes/class-mla-thumbnail-generation.php:445
2215
  msgid "Clear Filter-by"
2216
  msgstr ""
2217
 
2218
+ #: includes/class-mla-list-table.php:1815
2219
  msgid "Empty Trash"
2220
  msgstr ""
2221
 
2222
+ #: includes/class-mla-main.php:455
2223
  msgid "Error while saving the changes."
2224
  msgstr ""
2225
 
2226
+ #: includes/class-mla-main.php:456 includes/class-mla-settings.php:362
2227
  msgid "Remove From Bulk Edit"
2228
  msgstr ""
2229
 
2230
+ #: includes/class-mla-main.php:458
2231
  msgid "Bulk Edit items"
2232
  msgstr ""
2233
 
2234
+ #: includes/class-mla-main.php:459 includes/class-mla-main.php:2067
2235
+ #: includes/class-mla-settings.php:375
2236
  msgid "Waiting"
2237
  msgstr ""
2238
 
2239
+ #: includes/class-mla-main.php:460 includes/class-mla-main.php:2069
2240
+ #: includes/class-mla-settings.php:377
2241
  msgid "Complete"
2242
  msgstr ""
2243
 
2244
+ #: includes/class-mla-main.php:461 includes/class-mla-settings.php:378
2245
  msgid "Unchanged"
2246
  msgstr ""
2247
 
2248
+ #: includes/class-mla-main.php:462 includes/class-mla-settings.php:379
2249
  msgid "Succeeded"
2250
  msgstr ""
2251
 
2252
+ #: includes/class-mla-main.php:463 includes/class-mla-settings.php:380
2253
  msgid "Failed"
2254
  msgstr ""
2255
 
2256
+ #: includes/class-mla-main.php:464 includes/class-mla-settings.php:383
2257
  msgid "CANCELED"
2258
  msgstr ""
2259
 
2260
+ #: includes/class-mla-main.php:575
2261
  #, php-format
2262
  msgid "Item permanently deleted."
2263
  msgid_plural "%d items permanently deleted."
2265
  msgstr[1] ""
2266
 
2267
  #. translators: 1: post ID
2268
+ #: includes/class-mla-main.php:580 includes/class-mla-main.php:2246
2269
  #, php-format
2270
  msgid "Item %1$d moved to Trash."
2271
  msgstr ""
2272
 
2273
+ #: includes/class-mla-main.php:599
2274
  msgid "Entries per page"
2275
  msgstr ""
2276
 
2277
+ #: includes/class-mla-main.php:1156
2278
  msgid "You are not allowed to edit Attachment: "
2279
  msgstr ""
2280
 
2281
  #. translators: 1: ERROR tag 2: bulk action
2282
+ #: includes/class-mla-main.php:1212
2283
  #, php-format
2284
  msgid "%1$s: Unknown bulk action %2$s"
2285
  msgstr ""
2286
 
2287
+ #: includes/class-mla-main.php:1234
2288
  msgid "no changes detected"
2289
  msgstr ""
2290
 
2291
  #. translators: 1: action name, e.g., edit
2292
+ #: includes/class-mla-main.php:1281 includes/class-mla-settings.php:1691
2293
+ #: includes/class-mla-settings.php:2158
2294
  #, php-format
2295
  msgid "Bulk Action %1$s - no items selected."
2296
  msgstr ""
2297
 
2298
+ #: includes/class-mla-main.php:1364
2299
  msgid "You do not have permission to manage attachments."
2300
  msgstr ""
2301
 
2302
  #. translators: 1: number of items
2303
+ #: includes/class-mla-main.php:1424
2304
  #, php-format
2305
  msgctxt "deleted items"
2306
  msgid "%s item deleted."
2308
  msgstr[0] ""
2309
  msgstr[1] ""
2310
 
2311
+ #: includes/class-mla-main.php:1426
2312
  msgid "No items deleted."
2313
  msgstr ""
2314
 
2315
+ #: includes/class-mla-main.php:1480
2316
  msgid "Empty Terms Search; ignored"
2317
  msgstr ""
2318
 
2319
  #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
2320
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
2321
+ #: includes/class-mla-main.php:1492 includes/class-mla-settings.php:1728
2322
+ #: includes/class-mla-settings.php:2197
2323
  #, php-format
2324
  msgid "Unknown mla_admin_action - \"%1$s\""
2325
  msgstr ""
2326
 
2327
+ #: includes/class-mla-main.php:1525
2328
  msgid "term search results for"
2329
  msgstr ""
2330
 
2331
+ #: includes/class-mla-main.php:1528
2332
  msgid "post/parent results for"
2333
  msgstr ""
2334
 
2335
+ #: includes/class-mla-main.php:1530
2336
  msgid "search results for"
2337
  msgstr ""
2338
 
2339
+ #: includes/class-mla-main.php:1647 includes/class-mla-main.php:1863
2340
+ #: includes/class-mla-main.php:2054 includes/class-mla-settings.php:1571
2341
+ #: includes/class-mla-settings.php:1832 includes/class-mla-settings.php:1926
2342
+ #: includes/class-mla-settings.php:2296
2343
  msgid "Update"
2344
  msgstr ""
2345
 
2346
+ #: includes/class-mla-main.php:1798
2347
  msgid "All Post Types"
2348
  msgstr ""
2349
 
2350
+ #: includes/class-mla-main.php:1844
2351
  msgid "For"
2352
  msgstr ""
2353
 
2354
+ #: includes/class-mla-main.php:1854
2355
+ #: includes/class-mla-shortcode-support.php:1024
2356
  msgid "Unattached"
2357
  msgstr ""
2358
 
2359
+ #: includes/class-mla-main.php:1859 includes/class-mla-main.php:2052
2360
  #: includes/class-mla-polylang-support.php:1897
2361
+ #: includes/class-mla-settings.php:1572 includes/class-mla-settings.php:1831
2362
+ #: includes/class-mla-settings.php:1927 includes/class-mla-settings.php:1999
2363
+ #: includes/class-mla-settings.php:2295 includes/class-mla-settings.php:2803
2364
+ #: includes/class-mla-settings.php:2939
2365
  #: includes/class-mla-thumbnail-generation.php:446
2366
  msgid "Cancel"
2367
  msgstr ""
2368
 
2369
+ #: includes/class-mla-main.php:2055 includes/class-mla-options.php:1500
2370
+ #: includes/class-mla-options.php:1791 includes/class-mla-settings.php:1833
2371
+ #: includes/class-mla-settings.php:2297
2372
  msgid "Bulk Edit"
2373
  msgstr ""
2374
 
2375
+ #: includes/class-mla-main.php:2068
2376
  msgid "In-process"
2377
  msgstr ""
2378
 
2379
+ #: includes/class-mla-main.php:2159
2380
  msgid "You are not allowed to delete this item."
2381
  msgstr ""
2382
 
2383
  #. translators: 1: ERROR tag 2: post ID
2384
+ #: includes/class-mla-main.php:2167
2385
  #, php-format
2386
  msgid "%1$s: Item %2$d could NOT be deleted."
2387
  msgstr ""
2388
 
2389
  #. translators: 1: post ID
2390
+ #: includes/class-mla-main.php:2174
2391
  #, php-format
2392
  msgid "Item %1$d permanently deleted."
2393
  msgstr ""
2394
 
2395
+ #: includes/class-mla-main.php:2191
2396
  msgid "You are not allowed to move this item out of the Trash."
2397
  msgstr ""
2398
 
2399
  #. translators: 1: ERROR tag 2: post ID
2400
+ #: includes/class-mla-main.php:2199
2401
  #, php-format
2402
  msgid "%1$s: Item %2$d could NOT be restored from Trash."
2403
  msgstr ""
2404
 
2405
  #. translators: 1: post ID
2406
+ #: includes/class-mla-main.php:2214
2407
  #, php-format
2408
  msgid "Item %1$d restored from Trash."
2409
  msgstr ""
2410
 
2411
+ #: includes/class-mla-main.php:2231
2412
  msgid "You are not allowed to move this item to the Trash."
2413
  msgstr ""
2414
 
2415
  #. translators: 1: ERROR tag 2: post ID
2416
+ #: includes/class-mla-main.php:2239
2417
  #, php-format
2418
  msgid "%1$s: Item %2$d could NOT be moved to Trash."
2419
  msgstr ""
2430
  msgid "Tags"
2431
  msgstr ""
2432
 
2433
+ #. translators: %s: add new taxonomy label
2434
  #. translators: %s: add new taxonomy label
2435
  #. translators: %s: add new View
2436
  #. translators: %s: add new Upload MIME Type
2437
  #: includes/class-mla-media-modal-ajax.php:452
2438
  #: includes/class-mla-objects.php:46 includes/class-mla-objects.php:76
2439
+ #: includes/class-mla-settings.php:1812 includes/class-mla-settings.php:2278
2440
  #, php-format
2441
  msgid "Add New %1$s"
2442
  msgstr ""
2507
  msgstr ""
2508
 
2509
  #. translators: 1: element name 2: bad_value 3: good_value
2510
+ #: includes/class-mla-mime-types.php:865 includes/class-mla-mime-types.php:1957
2511
  #, php-format
2512
  msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
2513
  msgstr ""
2514
 
2515
  #: includes/class-mla-mime-types.php:865 includes/class-mla-mime-types.php:953
2516
+ #: includes/class-mla-mime-types.php:964 includes/class-mla-settings.php:1556
2517
+ #: includes/class-mla-settings.php:1813
2518
  msgid "Slug"
2519
  msgstr ""
2520
 
2531
  msgstr ""
2532
 
2533
  #. translators: 1: element name 2: bad_value 3: good_value
2534
+ #: includes/class-mla-mime-types.php:953 includes/class-mla-mime-types.php:2083
2535
  #, php-format
2536
  msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
2537
  msgstr ""
2620
  msgid "icon"
2621
  msgstr ""
2622
 
2623
+ #: includes/class-mla-mime-types.php:1941
2624
+ #: includes/class-mla-mime-types.php:2040
2625
  msgid "Cannot load Upload MIME Types"
2626
  msgstr ""
2627
 
2628
+ #: includes/class-mla-mime-types.php:1952
2629
  msgid "Extension is required"
2630
  msgstr ""
2631
 
2632
+ #: includes/class-mla-mime-types.php:1957
2633
+ #: includes/class-mla-mime-types.php:2083
2634
+ #: includes/class-mla-mime-types.php:2094 includes/class-mla-settings.php:1915
2635
+ #: includes/class-mla-settings.php:2280
2636
  msgid "Extension"
2637
  msgstr ""
2638
 
2639
  #. translators: 1: ERROR tag 2: slug
2640
+ #: includes/class-mla-mime-types.php:1965
2641
  #, php-format
2642
  msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
2643
  msgstr ""
2644
 
2645
+ #: includes/class-mla-mime-types.php:1973
2646
  msgid "MIME type is required"
2647
  msgstr ""
2648
 
2649
  #. translators: 1: ERROR tag 2: clean_mime_type
2650
+ #: includes/class-mla-mime-types.php:1978
2651
+ #: includes/class-mla-mime-types.php:2125
2652
  #, php-format
2653
  msgid "%1$s: Bad MIME type; try \"%2$s\""
2654
  msgstr ""
2655
 
2656
  #. translators: 1: slug
2657
+ #: includes/class-mla-mime-types.php:2015
2658
  #, php-format
2659
  msgid "Upload MIME Type \"%1$s\"; added"
2660
  msgstr ""
2661
 
2662
+ #: includes/class-mla-mime-types.php:2021
2663
+ #: includes/class-mla-mime-types.php:2210
2664
+ #: includes/class-mla-mime-types.php:2289
2665
  msgid "Cannot update Upload MIME Types"
2666
  msgstr ""
2667
 
2668
  #. translators: 1: ERROR tag 2: slug
2669
+ #: includes/class-mla-mime-types.php:2091
2670
  #, php-format
2671
  msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
2672
  msgstr ""
2673
 
2674
  #. translators: 1: slug
2675
+ #: includes/class-mla-mime-types.php:2190
2676
  #, php-format
2677
  msgid "Edit type \"%1$s\"; no changes detected"
2678
  msgstr ""
2679
 
2680
  #. translators: 1: slug
2681
+ #: includes/class-mla-mime-types.php:2204
2682
  #, php-format
2683
  msgid "Edit type \"%1$s\"; updated"
2684
  msgstr ""
2685
 
2686
  #. translators: 1: slug
2687
+ #: includes/class-mla-mime-types.php:2277
2688
  #, php-format
2689
  msgid "Upload MIME Type \"%1$s\"; reverted to standard"
2690
  msgstr ""
2691
 
2692
  #. translators: 1: slug
2693
+ #: includes/class-mla-mime-types.php:2283
2694
  #, php-format
2695
  msgid "Upload MIME Type \"%1$s\"; deleted"
2696
  msgstr ""
2697
 
2698
  #. translators: 1: ERROR tag 2: slug
2699
+ #: includes/class-mla-mime-types.php:2298
2700
  #, php-format
2701
  msgid "%1$s: Did not find Upload type \"%2$s\""
2702
  msgstr ""
2816
  msgstr ""
2817
 
2818
  #: includes/class-mla-options.php:361 includes/class-mla-options.php:403
2819
+ #: includes/class-mla-shortcode-support.php:126
2820
  msgid "no templates exist"
2821
  msgstr ""
2822
 
2823
  #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2824
+ #: includes/class-mla-options.php:618 includes/class-mla-options.php:795
2825
+ #: includes/class-mla-options.php:871 includes/class-mla-options.php:1829
2826
+ #: includes/class-mla-options.php:3305
2827
  #, php-format
2828
  msgid "%1$s: Custom %2$s unknown action \"%3$s\""
2829
  msgstr ""
2830
 
2831
+ #: includes/class-mla-options.php:709
2832
  msgid "Support"
2833
  msgstr ""
2834
 
2835
+ #: includes/class-mla-options.php:710
2836
  msgid "Inline Edit"
2837
  msgstr ""
2838
 
2839
+ #: includes/class-mla-options.php:711
2840
  msgid "Term Search"
2841
  msgstr ""
2842
 
2843
+ #: includes/class-mla-options.php:712
2844
  msgid "Checklist"
2845
  msgstr ""
2846
 
2847
+ #: includes/class-mla-options.php:713
2848
  msgid "Checked On Top"
2849
  msgstr ""
2850
 
2851
+ #: includes/class-mla-options.php:714
2852
  msgid "List Filter"
2853
  msgstr ""
2854
 
2855
+ #: includes/class-mla-options.php:715
2856
  msgid "Taxonomy"
2857
  msgstr ""
2858
 
2859
  #. translators: 1: taxonomy name
2860
+ #: includes/class-mla-options.php:734
2861
  #, php-format
2862
  msgid "List Filter ignored; %1$s not supported."
2863
  msgstr ""
2864
 
2865
  #. translators: 1: taxonomy name
2866
+ #: includes/class-mla-options.php:741
2867
  #, php-format
2868
  msgid "Inline Edit ignored; %1$s not supported."
2869
  msgstr ""
2870
 
2871
  #. translators: 1: taxonomy name
2872
+ #: includes/class-mla-options.php:749
2873
  #, php-format
2874
  msgid "Term Search ignored; %1$s not supported."
2875
  msgstr ""
2876
 
2877
  #. translators: 1: taxonomy name
2878
+ #: includes/class-mla-options.php:759
2879
  #, php-format
2880
  msgid "Checklist ignored; %1$s not supported."
2881
  msgstr ""
2882
 
2883
  #. translators: 1: taxonomy name
2884
+ #: includes/class-mla-options.php:767
2885
  #, php-format
2886
  msgid "Checked On Top ignored; %1$s not supported."
2887
  msgstr ""
2888
 
2889
  #. translators: 1: option name, e.g., taxonomy_support
2890
+ #: includes/class-mla-options.php:785 includes/class-mla-options.php:861
2891
  #, php-format
2892
  msgid "Update custom %1$s"
2893
  msgstr ""
2894
 
2895
  #. translators: 1: option name, e.g., taxonomy_support
2896
+ #: includes/class-mla-options.php:792 includes/class-mla-options.php:868
2897
+ #: includes/class-mla-options.php:3298
2898
  #, php-format
2899
  msgid "Reset custom %1$s"
2900
  msgstr ""
2901
 
2902
+ #: includes/class-mla-options.php:821
2903
  #: includes/mla-main-search-box-template.php:46
2904
  #: includes/mla-media-modal-js-template.php:32
2905
  msgid "and"
2906
  msgstr ""
2907
 
2908
+ #: includes/class-mla-options.php:823
2909
  #: includes/mla-main-search-box-template.php:48
2910
  #: includes/mla-media-modal-js-template.php:36
2911
  msgid "or"
2912
  msgstr ""
2913
 
2914
+ #: includes/class-mla-options.php:828 includes/class-mla-settings.php:2447
2915
+ #: includes/class-mla-settings.php:2480 includes/class-mla-settings.php:2506
2916
+ #: includes/class-mla-settings.php:2541 includes/class-mla-settings.php:2604
2917
+ #: includes/class-mla-settings.php:2660
2918
  #: includes/mla-main-search-box-template.php:51
2919
  #: includes/mla-media-modal-js-template.php:44
2920
  msgid "Name"
2921
  msgstr ""
2922
 
2923
+ #: includes/class-mla-options.php:840
2924
  #: includes/mla-main-search-box-template.php:55
2925
  #: includes/mla-media-modal-js-template.php:62
2926
  msgid "Terms"
2927
  msgstr ""
2928
 
2929
+ #: includes/class-mla-options.php:1243 includes/class-mla-options.php:1289
2930
+ #: includes/class-mla-options.php:2327 includes/class-mla-options.php:2358
2931
+ #: includes/class-mla-settings.php:1878
2932
  msgid "None (select a value)"
2933
  msgstr ""
2934
 
2935
+ #: includes/class-mla-options.php:1296
2936
  msgid "Metadata (see below)"
2937
  msgstr ""
2938
 
2939
+ #: includes/class-mla-options.php:1303
2940
  msgid "Template (see below)"
2941
  msgstr ""
2942
 
2943
  #. translators: 1: ERROR tag 2: custom field name
2944
+ #: includes/class-mla-options.php:1375 includes/class-mla-options.php:2635
2945
  #, php-format
2946
  msgid "%1$s: New field %2$s already exists."
2947
  msgstr ""
2948
 
2949
  #. translators: 1: custom field name
2950
+ #: includes/class-mla-options.php:1380 includes/class-mla-options.php:2640
2951
  #, php-format
2952
  msgid "Adding new field %1$s."
2953
  msgstr ""
2954
 
2955
  #. translators: 1: custom field name
2956
+ #: includes/class-mla-options.php:1388 includes/class-mla-options.php:2648
2957
  #, php-format
2958
  msgid "Adding new rule for %1$s."
2959
  msgstr ""
2960
 
2961
  #. translators: 1: custom field name
2962
+ #: includes/class-mla-options.php:1414 includes/class-mla-options.php:2509
2963
+ #: includes/class-mla-options.php:2674
2964
  #, php-format
2965
  msgid "Deleting rule for %1$s."
2966
  msgstr ""
2967
 
2968
  #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2969
+ #: includes/class-mla-options.php:1437 includes/class-mla-options.php:1458
2970
+ #: includes/class-mla-options.php:1508 includes/class-mla-options.php:1515
2971
+ #: includes/class-mla-options.php:2425 includes/class-mla-options.php:2432
2972
+ #: includes/class-mla-options.php:2439 includes/class-mla-options.php:2534
2973
+ #: includes/class-mla-options.php:2541 includes/class-mla-options.php:2576
2974
+ #: includes/class-mla-options.php:2583 includes/class-mla-options.php:2684
2975
+ #: includes/class-mla-options.php:2691 includes/class-mla-options.php:2726
2976
+ #: includes/class-mla-options.php:2733
2977
  #, php-format
2978
  msgid "%1$s changing %2$s from %3$s to %4$s."
2979
  msgstr ""
2980
 
2981
+ #: includes/class-mla-options.php:1437 includes/class-mla-options.php:1786
2982
  msgid "Data Source"
2983
  msgstr ""
2984
 
2985
+ #: includes/class-mla-options.php:1443 includes/class-mla-options.php:2459
2986
+ #: includes/class-mla-options.php:2561 includes/class-mla-options.php:2711
2987
  msgid "Replace to Keep"
2988
  msgstr ""
2989
 
2990
+ #: includes/class-mla-options.php:1446 includes/class-mla-options.php:2462
2991
+ #: includes/class-mla-options.php:2564 includes/class-mla-options.php:2714
2992
  msgid "Keep to Replace"
2993
  msgstr ""
2994
 
2995
  #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2996
+ #: includes/class-mla-options.php:1451 includes/class-mla-options.php:1472
2997
+ #: includes/class-mla-options.php:1486 includes/class-mla-options.php:1500
2998
+ #: includes/class-mla-options.php:1529 includes/class-mla-options.php:2453
2999
+ #: includes/class-mla-options.php:2467 includes/class-mla-options.php:2555
3000
+ #: includes/class-mla-options.php:2569 includes/class-mla-options.php:2705
3001
+ #: includes/class-mla-options.php:2719 includes/class-mla-options.php:2747
3002
  #, php-format
3003
  msgid "%1$s changing %2$s value from %3$s."
3004
  msgstr ""
3005
 
3006
+ #: includes/class-mla-options.php:1451 includes/class-mla-options.php:1787
3007
+ #: includes/class-mla-options.php:2467 includes/class-mla-options.php:2569
3008
+ #: includes/class-mla-options.php:2719 includes/class-mla-options.php:2873
3009
+ #: includes/class-mla-options.php:2963 includes/class-mla-options.php:3196
3010
  msgid "Existing Text"
3011
  msgstr ""
3012
 
3013
+ #: includes/class-mla-options.php:1458 includes/class-mla-options.php:1788
3014
+ #: includes/class-mla-options.php:2726 includes/class-mla-options.php:3025
3015
+ #: includes/class-mla-options.php:3120 includes/class-mla-options.php:3166
3016
  msgid "Format"
3017
  msgstr ""
3018
 
3019
+ #: includes/class-mla-options.php:1464 includes/class-mla-options.php:1478
3020
+ #: includes/class-mla-options.php:1492 includes/class-mla-options.php:1521
3021
+ #: includes/class-mla-options.php:2739
3022
  msgid "unchecked to checked"
3023
  msgstr ""
3024
 
3025
+ #: includes/class-mla-options.php:1467 includes/class-mla-options.php:1481
3026
+ #: includes/class-mla-options.php:1495 includes/class-mla-options.php:1524
3027
+ #: includes/class-mla-options.php:2742
3028
  msgid "checked to unchecked"
3029
  msgstr ""
3030
 
3031
+ #: includes/class-mla-options.php:1472 includes/class-mla-options.php:1789
3032
  msgid "MLA Column"
3033
  msgstr ""
3034
 
3035
+ #: includes/class-mla-options.php:1508
3036
  msgid "Metavalue name"
3037
  msgstr ""
3038
 
3039
+ #: includes/class-mla-options.php:1515 includes/class-mla-options.php:1623
3040
+ #: includes/class-mla-options.php:1722 includes/class-mla-options.php:1766
3041
+ #: includes/class-mla-options.php:2733 includes/class-mla-options.php:3032
3042
+ #: includes/class-mla-options.php:3127 includes/class-mla-options.php:3173
3043
  msgid "Option"
3044
  msgstr ""
3045
 
3046
+ #: includes/class-mla-options.php:1529 includes/class-mla-options.php:1635
3047
+ #: includes/class-mla-options.php:1734 includes/class-mla-options.php:1778
3048
+ #: includes/class-mla-options.php:2747 includes/class-mla-options.php:3044
3049
+ #: includes/class-mla-options.php:3139 includes/class-mla-options.php:3185
3050
  msgid "Delete NULL values"
3051
  msgstr ""
3052
 
3053
+ #: includes/class-mla-options.php:1568 includes/class-mla-options.php:2975
3054
  msgid "No Custom Field Mapping Rules Defined"
3055
  msgstr ""
3056
 
3057
+ #: includes/class-mla-options.php:1609 includes/class-mla-options.php:1708
3058
+ #: includes/class-mla-options.php:1752 includes/class-mla-options.php:2848
3059
+ #: includes/class-mla-options.php:2902 includes/class-mla-options.php:3022
3060
+ #: includes/class-mla-options.php:3117 includes/class-mla-options.php:3163
3061
  #: includes/class-mla-thumbnail-generation.php:438
3062
  msgid "Keep"
3063
  msgstr ""
3064
 
3065
+ #: includes/class-mla-options.php:1613 includes/class-mla-options.php:1712
3066
+ #: includes/class-mla-options.php:1756 includes/class-mla-options.php:3027
3067
+ #: includes/class-mla-options.php:3122 includes/class-mla-options.php:3168
3068
  msgid "Native"
3069
  msgstr ""
3070
 
3071
+ #: includes/class-mla-options.php:1615 includes/class-mla-options.php:1714
3072
+ #: includes/class-mla-options.php:1758 includes/class-mla-options.php:3029
3073
+ #: includes/class-mla-options.php:3124 includes/class-mla-options.php:3170
3074
  msgid "Commas"
3075
  msgstr ""
3076
 
3077
+ #: includes/class-mla-options.php:1617 includes/class-mla-options.php:1716
3078
+ #: includes/class-mla-options.php:1760 includes/class-mla-options.php:3031
3079
+ #: includes/class-mla-options.php:3126 includes/class-mla-options.php:3172
3080
  msgid "Raw"
3081
  msgstr ""
3082
 
3083
+ #: includes/class-mla-options.php:1625 includes/class-mla-options.php:1724
3084
+ #: includes/class-mla-options.php:1768 includes/class-mla-options.php:3034
3085
+ #: includes/class-mla-options.php:3129 includes/class-mla-options.php:3175
3086
  msgid "Text"
3087
  msgstr ""
3088
 
3089
+ #: includes/class-mla-options.php:1627 includes/class-mla-options.php:1726
3090
+ #: includes/class-mla-options.php:1770 includes/class-mla-options.php:3036
3091
+ #: includes/class-mla-options.php:3131 includes/class-mla-options.php:3177
3092
  msgid "Single"
3093
  msgstr ""
3094
 
3095
+ #: includes/class-mla-options.php:1629 includes/class-mla-options.php:1728
3096
+ #: includes/class-mla-options.php:1772 includes/class-mla-options.php:3038
3097
+ #: includes/class-mla-options.php:3133 includes/class-mla-options.php:3179
3098
  msgid "Export"
3099
  msgstr ""
3100
 
3101
+ #: includes/class-mla-options.php:1631 includes/class-mla-options.php:1730
3102
+ #: includes/class-mla-options.php:1774 includes/class-mla-options.php:3040
3103
+ #: includes/class-mla-options.php:3135 includes/class-mla-options.php:3181
3104
  msgid "Array"
3105
  msgstr ""
3106
 
3107
+ #: includes/class-mla-options.php:1633 includes/class-mla-options.php:1732
3108
+ #: includes/class-mla-options.php:1776 includes/class-mla-options.php:3042
3109
+ #: includes/class-mla-options.php:3137 includes/class-mla-options.php:3183
3110
  msgid "Multi"
3111
  msgstr ""
3112
 
3113
+ #: includes/class-mla-options.php:1636 includes/class-mla-options.php:3045
3114
  msgid "Delete Rule"
3115
  msgstr ""
3116
 
3117
+ #: includes/class-mla-options.php:1637 includes/class-mla-options.php:3046
3118
  msgid "Delete Rule AND Field"
3119
  msgstr ""
3120
 
3121
+ #: includes/class-mla-options.php:1638 includes/class-mla-options.php:3047
3122
  msgid "Update Rule"
3123
  msgstr ""
3124
 
3125
+ #: includes/class-mla-options.php:1639 includes/class-mla-options.php:3048
3126
+ #: includes/class-mla-settings.php:744 includes/class-mla-settings.php:875
3127
  msgid "Map All Attachments"
3128
  msgstr ""
3129
 
3130
+ #: includes/class-mla-options.php:1703 includes/class-mla-options.php:3106
3131
  msgid "Add a new Mapping Rule"
3132
  msgstr ""
3133
 
3134
+ #: includes/class-mla-options.php:1735 includes/class-mla-options.php:3140
3135
  msgid "Add Rule"
3136
  msgstr ""
3137
 
3138
+ #: includes/class-mla-options.php:1736 includes/class-mla-options.php:3141
3139
  msgid "Add Rule and Map All Attachments"
3140
  msgstr ""
3141
 
3142
+ #: includes/class-mla-options.php:1747 includes/class-mla-options.php:3152
3143
  msgid "Add a new Field and Mapping Rule"
3144
  msgstr ""
3145
 
3146
+ #: includes/class-mla-options.php:1779 includes/class-mla-options.php:3186
3147
  msgid "Add Field"
3148
  msgstr ""
3149
 
3150
+ #: includes/class-mla-options.php:1780 includes/class-mla-options.php:3187
3151
  msgid "Add Field and Map All Attachments"
3152
  msgstr ""
3153
 
3154
+ #: includes/class-mla-options.php:1785 includes/class-mla-options.php:2425
3155
+ #: includes/class-mla-options.php:2869 includes/class-mla-options.php:2959
3156
+ #: includes/class-mla-options.php:3192
3157
  msgid "Field Title"
3158
  msgstr ""
3159
 
3160
+ #: includes/class-mla-options.php:1810
3161
  msgid "Custom field mapping rules updated."
3162
  msgstr ""
3163
 
3164
+ #: includes/class-mla-options.php:1812
3165
  msgid "Custom field mapping rules update failed."
3166
  msgstr ""
3167
 
3168
+ #: includes/class-mla-options.php:1815 includes/class-mla-settings.php:789
3169
+ #: includes/class-mla-settings.php:795
3170
  msgid "Custom field no mapping rule changes detected."
3171
  msgstr ""
3172
 
3173
+ #: includes/class-mla-options.php:1823
3174
  msgid "Custom field mapping settings saved."
3175
  msgstr ""
3176
 
3177
+ #: includes/class-mla-options.php:1825
3178
  msgid "Custom field mapping settings reset failed."
3179
  msgstr ""
3180
 
3181
  #. translators: 1: ERROR tag 2: custom field name
3182
+ #: includes/class-mla-options.php:2413
3183
  #, php-format
3184
  msgid "%1$s: No old values for %2$s."
3185
  msgstr ""
3186
 
3187
+ #: includes/class-mla-options.php:2432 includes/class-mla-options.php:2534
3188
+ #: includes/class-mla-options.php:2684 includes/class-mla-options.php:2870
3189
+ #: includes/class-mla-options.php:2960 includes/class-mla-options.php:3193
3190
  msgid "IPTC Value"
3191
  msgstr ""
3192
 
3193
+ #: includes/class-mla-options.php:2439 includes/class-mla-options.php:2541
3194
+ #: includes/class-mla-options.php:2691
3195
  msgid "EXIF Value"
3196
  msgstr ""
3197
 
3198
+ #: includes/class-mla-options.php:2445 includes/class-mla-options.php:2547
3199
+ #: includes/class-mla-options.php:2697
3200
  msgid "EXIF to IPTC"
3201
  msgstr ""
3202
 
3203
+ #: includes/class-mla-options.php:2448 includes/class-mla-options.php:2550
3204
+ #: includes/class-mla-options.php:2700
3205
  msgid "IPTC to EXIF"
3206
  msgstr ""
3207
 
3208
+ #: includes/class-mla-options.php:2453 includes/class-mla-options.php:2555
3209
+ #: includes/class-mla-options.php:2705 includes/class-mla-options.php:2872
3210
+ #: includes/class-mla-options.php:2962 includes/class-mla-options.php:3195
3211
  msgid "Priority"
3212
  msgstr ""
3213
 
3214
+ #: includes/class-mla-options.php:2576 includes/class-mla-options.php:2964
3215
  msgid "Delimiter(s)"
3216
  msgstr ""
3217
 
3218
+ #: includes/class-mla-options.php:2844 includes/class-mla-options.php:2898
3219
+ #: includes/class-mla-options.php:3018 includes/class-mla-options.php:3113
3220
+ #: includes/class-mla-options.php:3159
3221
  msgid "IPTC"
3222
  msgstr ""
3223
 
3224
+ #: includes/class-mla-options.php:2846 includes/class-mla-options.php:2900
3225
+ #: includes/class-mla-options.php:3020 includes/class-mla-options.php:3115
3226
+ #: includes/class-mla-options.php:3161
3227
  msgid "EXIF"
3228
  msgstr ""
3229
 
3230
+ #: includes/class-mla-options.php:2871 includes/class-mla-options.php:2961
3231
+ #: includes/class-mla-options.php:3194
3232
  msgid "EXIF/Template Value"
3233
  msgstr ""
3234
 
3235
  #. translators: 1: ERROR tag 2: option name
3236
+ #: includes/class-mla-options.php:3204
3237
  #, php-format
3238
  msgid "%1$s: Render unknown custom %2$s."
3239
  msgstr ""
3240
 
3241
  #. translators: 1: ERROR tag 2: option name
3242
+ #: includes/class-mla-options.php:3248
3243
  #, php-format
3244
  msgid "%1$s: Update/delete unknown custom %2$s."
3245
  msgstr ""
3246
 
3247
+ #: includes/class-mla-options.php:3254
3248
  msgid "IPTC/EXIF mapping settings updated."
3249
  msgstr ""
3250
 
3251
+ #: includes/class-mla-options.php:3256
3252
  msgid "IPTC/EXIF settings update failed."
3253
  msgstr ""
3254
 
3255
+ #: includes/class-mla-options.php:3259 includes/class-mla-settings.php:923
3256
+ #: includes/class-mla-settings.php:929
3257
  msgid "IPTC/EXIF no mapping changes detected."
3258
  msgstr ""
3259
 
3260
  #. translators: 1: field type
3261
+ #: includes/class-mla-options.php:3270 includes/class-mla-options.php:3280
3262
+ #: includes/class-mla-options.php:3290 includes/class-mla-settings.php:3598
3263
  #, php-format
3264
  msgid "%1$s settings saved."
3265
  msgstr ""
3266
 
3267
+ #: includes/class-mla-options.php:3270 includes/class-mla-options.php:3273
3268
+ #: includes/class-mla-settings.php:3846 includes/class-mla-settings.php:3888
3269
+ #: includes/class-mla-settings.php:3891
3270
  msgid "Standard field"
3271
  msgstr ""
3272
 
3273
  #. translators: 1: ERROR tag 2: field type
3274
+ #: includes/class-mla-options.php:3273 includes/class-mla-options.php:3283
3275
+ #: includes/class-mla-options.php:3293
3276
  #, php-format
3277
  msgid "%1$s: IPTC/EXIF %2$s settings update failed."
3278
  msgstr ""
3279
 
3280
+ #: includes/class-mla-options.php:3280 includes/class-mla-options.php:3283
3281
+ #: includes/class-mla-settings.php:3920 includes/class-mla-settings.php:3962
3282
+ #: includes/class-mla-settings.php:3965
3283
  msgid "Taxonomy term"
3284
  msgstr ""
3285
 
3286
+ #: includes/class-mla-options.php:3290 includes/class-mla-options.php:3293
3287
+ #: includes/class-mla-settings.php:3746 includes/class-mla-settings.php:3749
3288
+ #: includes/class-mla-settings.php:4009 includes/class-mla-settings.php:4051
3289
+ #: includes/class-mla-settings.php:4054
3290
  msgid "Custom field"
3291
  msgstr ""
3292
 
3293
  #. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
3294
+ #: includes/class-mla-options.php:3301
3295
  #, php-format
3296
  msgid "%1$s: Reset unknown custom %2$s"
3297
  msgstr ""
3487
  msgstr ""
3488
 
3489
  #: includes/class-mla-polylang-support.php:2388
3490
+ #: includes/class-mla-settings.php:1400 includes/class-mla-settings.php:1757
3491
+ #: includes/class-mla-settings.php:1810 includes/class-mla-settings.php:2226
3492
+ #: includes/class-mla-settings.php:2276 includes/class-mla-settings.php:2364
3493
+ #: includes/class-mla-settings.php:2824 includes/class-mla-settings.php:2827
3494
+ #: includes/class-mla-settings.php:2966 includes/class-mla-settings.php:2968
3495
+ #: includes/class-mla-settings.php:3252 includes/class-mla-settings.php:3254
3496
  #: includes/class-mla-wpml-support.php:1760
3497
  msgid "Save Changes"
3498
  msgstr ""
3503
  msgstr ""
3504
 
3505
  #: includes/class-mla-polylang-support.php:2392
3506
+ #: includes/class-mla-settings.php:1139 includes/class-mla-settings.php:1405
3507
+ #: includes/class-mla-settings.php:2359
3508
  #: includes/class-mla-wpml-support.php:1764
3509
  msgid "Go to Top"
3510
  msgstr ""
3516
 
3517
  #. translators: 1: option name
3518
  #: includes/class-mla-polylang-support.php:2460
3519
+ #: includes/class-mla-settings.php:4231
3520
  #: includes/class-mla-wpml-support.php:1832
3521
  #, php-format
3522
  msgctxt "message_list"
3528
  msgid "Language settings reset to default values."
3529
  msgstr ""
3530
 
3531
+ #: includes/class-mla-settings.php:361
3532
  msgid "Error while making the changes."
3533
  msgstr ""
3534
 
3535
+ #: includes/class-mla-settings.php:363
3536
  msgid "no slug"
3537
  msgstr ""
3538
 
3539
+ #: includes/class-mla-settings.php:376
3540
  msgid "Running"
3541
  msgstr ""
3542
 
3543
+ #: includes/class-mla-settings.php:381
3544
  msgid "Skipped"
3545
  msgstr ""
3546
 
3547
+ #: includes/class-mla-settings.php:382
3548
  msgid "Reprocessed"
3549
  msgstr ""
3550
 
3551
+ #: includes/class-mla-settings.php:480 includes/class-mla-settings.php:993
3552
+ #: includes/class-mla-settings.php:3293
3553
  msgid "Settings"
3554
  msgstr ""
3555
 
3556
+ #: includes/class-mla-settings.php:499
3557
  msgid "Views per page"
3558
  msgstr ""
3559
 
3560
+ #: includes/class-mla-settings.php:510
3561
  msgid "Types per page"
3562
  msgstr ""
3563
 
3564
+ #: includes/class-mla-settings.php:521
3565
  msgid "Upload types per page"
3566
  msgstr ""
3567
 
3568
+ #: includes/class-mla-settings.php:657
3569
  msgid "No view slug found"
3570
  msgstr ""
3571
 
3572
+ #: includes/class-mla-settings.php:700
3573
  msgid "No upload slug found"
3574
  msgstr ""
3575
 
3576
+ #: includes/class-mla-settings.php:740 includes/class-mla-settings.php:2825
3577
+ #: includes/class-mla-settings.php:2829
3578
  msgid "Map All Rules, All Attachments Now"
3579
  msgstr ""
3580
 
3581
+ #: includes/class-mla-settings.php:864 includes/class-mla-settings.php:2958
3582
  msgid "Map All Attachments, Standard Fields Now"
3583
  msgstr ""
3584
 
3585
+ #: includes/class-mla-settings.php:867 includes/class-mla-settings.php:2961
3586
  msgid "Map All Attachments, Taxonomy Terms Now"
3587
  msgstr ""
3588
 
3589
+ #: includes/class-mla-settings.php:870 includes/class-mla-settings.php:2964
3590
  msgid "Map All Attachments, Custom Fields Now"
3591
  msgstr ""
3592
 
3593
  #. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
3594
+ #: includes/class-mla-settings.php:1065 includes/class-mla-settings.php:1102
3595
+ #: includes/class-mla-settings.php:1241
3596
  #, php-format
3597
  msgctxt "error_log"
3598
  msgid "%1$s: %2$s unknown type = \"%3$s\""
3599
  msgstr ""
3600
 
3601
+ #: includes/class-mla-settings.php:1290
3602
  msgid "General"
3603
  msgstr ""
3604
 
3605
+ #: includes/class-mla-settings.php:1291
3606
  msgid "Views"
3607
  msgstr ""
3608
 
3609
+ #: includes/class-mla-settings.php:1292
3610
  msgid "Uploads"
3611
  msgstr ""
3612
 
3613
+ #: includes/class-mla-settings.php:1293 includes/class-mla-settings.php:3598
3614
+ #: includes/class-mla-settings.php:3601
3615
  msgid "MLA Gallery"
3616
  msgstr ""
3617
 
3618
+ #: includes/class-mla-settings.php:1294
3619
  msgid "Custom Fields"
3620
  msgstr ""
3621
 
3622
+ #: includes/class-mla-settings.php:1296
3623
  msgid "Documentation"
3624
  msgstr ""
3625
 
3626
+ #: includes/class-mla-settings.php:1297
3627
  msgid "Debug"
3628
  msgstr ""
3629
 
3630
+ #: includes/class-mla-settings.php:1397
3631
  msgid "General Processing Options"
3632
  msgstr ""
3633
 
3634
  #. translators: 1: - 4: page subheader values
3635
+ #: includes/class-mla-settings.php:1399
3636
  #, php-format
3637
  msgid ""
3638
  "In this tab you can find a number of options for controlling the "
3641
  "any changes you make."
3642
  msgstr ""
3643
 
3644
+ #: includes/class-mla-settings.php:1399
3645
  msgid "Media/Assistant Table Defaults"
3646
  msgstr ""
3647
 
3648
+ #: includes/class-mla-settings.php:1399
3649
  msgid "Media Manager Enhancements"
3650
  msgstr ""
3651
 
3652
+ #: includes/class-mla-settings.php:1402
 
 
 
 
3653
  msgid "Delete General options and restore default settings"
3654
  msgstr ""
3655
 
3656
+ #: includes/class-mla-settings.php:1406 includes/class-mla-settings.php:3285
3657
  msgid "Support Our Work"
3658
  msgstr ""
3659
 
3660
+ #: includes/class-mla-settings.php:1407 includes/class-mla-settings.php:1410
3661
  msgid "Donate to FTJ"
3662
  msgstr ""
3663
 
3664
+ #: includes/class-mla-settings.php:1408 includes/class-mla-settings.php:3286
3665
  msgid "Donate"
3666
  msgstr ""
3667
 
3668
  #. translators: 1: donation hyperlink
3669
+ #: includes/class-mla-settings.php:1410
3670
  #, php-format
3671
  msgid ""
3672
  "This plugin was inspired by my work on the WordPress web site for our "
3675
  "our work. Thank you!"
3676
  msgstr ""
3677
 
3678
+ #: includes/class-mla-settings.php:1410
3679
  msgid "tax-deductible donation"
3680
  msgstr ""
3681
 
3682
+ #: includes/class-mla-settings.php:1430
3683
  msgid "enhanced version of the WordPress [gallery] shortcode."
3684
  msgstr ""
3685
 
3686
+ #: includes/class-mla-settings.php:1431
3687
  msgid "enhanced version of the WordPress Tag Cloud."
3688
  msgstr ""
3689
 
3690
+ #: includes/class-mla-settings.php:1443
3691
  msgid "Shortcodes made available by this plugin"
3692
  msgstr ""
3693
 
3694
+ #: includes/class-mla-settings.php:1551
3695
  msgid "Edit View"
3696
  msgstr ""
3697
 
3698
+ #: includes/class-mla-settings.php:1557 includes/class-mla-settings.php:1814
3699
  msgid ""
3700
  "The &#8220;slug&#8221; is the URL-friendly, unique key for the view. It must "
3701
  "be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
3704
  "MIME</strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3705
  msgstr ""
3706
 
3707
+ #: includes/class-mla-settings.php:1558 includes/class-mla-settings.php:1815
3708
  msgid "Singular Label"
3709
  msgstr ""
3710
 
3711
+ #: includes/class-mla-settings.php:1559 includes/class-mla-settings.php:1816
3712
  msgid "Plural Label"
3713
  msgstr ""
3714
 
3715
+ #: includes/class-mla-settings.php:1560 includes/class-mla-settings.php:1817
3716
  msgid ""
3717
  "The labels, e.g., &#8220;Image&#8221; and &#8220;Images&#8221; are used for "
3718
  "column headers and other display purposes."
3719
  msgstr ""
3720
 
3721
+ #: includes/class-mla-settings.php:1561 includes/class-mla-settings.php:1818
3722
  msgid "Specification"
3723
  msgstr ""
3724
 
3725
+ #: includes/class-mla-settings.php:1562 includes/class-mla-settings.php:1819
3726
  msgid ""
3727
  "If the MIME type specification differs from the slug, enter it here. You may "
3728
  "include multiple MIME types, e.g., &#8220;audio,video&#8221; and/or wildcard "
3730
  "MIME Type box is checked."
3731
  msgstr ""
3732
 
3733
+ #: includes/class-mla-settings.php:1563 includes/class-mla-settings.php:1820
3734
  msgid "Post MIME Type"
3735
  msgstr ""
3736
 
3737
+ #: includes/class-mla-settings.php:1564 includes/class-mla-settings.php:1821
3738
  msgid ""
3739
  "Check this box if you want to add this entry to the list of MIME types "
3740
  "returned by wp_get_mime_types()."
3741
  msgstr ""
3742
 
3743
+ #: includes/class-mla-settings.php:1565 includes/class-mla-settings.php:1822
3744
  msgid "Table View"
3745
  msgstr ""
3746
 
3747
+ #: includes/class-mla-settings.php:1566 includes/class-mla-settings.php:1823
3748
  msgid ""
3749
  "Check this box if you want to add this entry to the list of Media/Assistant "
3750
  "table views."
3751
  msgstr ""
3752
 
3753
+ #: includes/class-mla-settings.php:1568 includes/class-mla-settings.php:1825
3754
  msgid ""
3755
  "You can choose your own table view order by entering a number (1 for first, "
3756
  "etc.) in this field."
3757
  msgstr ""
3758
 
3759
+ #: includes/class-mla-settings.php:1570 includes/class-mla-settings.php:1827
3760
+ #: includes/class-mla-settings.php:1925 includes/class-mla-settings.php:2289
3761
  msgid ""
3762
  "The description can contain any documentation or notes you need to "
3763
  "understand or use the item."
3764
  msgstr ""
3765
 
3766
  #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
3767
+ #: includes/class-mla-settings.php:1681 includes/class-mla-settings.php:2147
3768
  #, php-format
3769
  msgid "Unknown bulk action %1$s"
3770
  msgstr ""
3771
 
3772
  #. translators: 1: view name/slug
3773
+ #: includes/class-mla-settings.php:1720 includes/class-mla-settings.php:2189
3774
  #, php-format
3775
  msgid "Edit view \"%1$s\" cancelled."
3776
  msgstr ""
3777
 
3778
+ #: includes/class-mla-settings.php:1754
3779
  msgid "View and Post MIME Type Support is disabled"
3780
  msgstr ""
3781
 
3782
+ #: includes/class-mla-settings.php:1799 includes/class-mla-settings.php:1802
3783
  msgid "Library Views/Post MIME Type Processing"
3784
  msgstr ""
3785
 
3786
+ #: includes/class-mla-settings.php:1800
3787
  msgid ""
3788
  "In this tab you can manage the list of \"Post MIME Types\", which are used "
3789
  "by WordPress to define the views for the <em><strong>Media/Library</strong></"
3795
  msgstr ""
3796
 
3797
  #. translators: 1: Documentation hyperlink
3798
+ #: includes/class-mla-settings.php:1802
3799
  #, php-format
3800
  msgid ""
3801
  "You can find more information about library views, Post MIME types and how "
3804
  "screen."
3805
  msgstr ""
3806
 
3807
+ #: includes/class-mla-settings.php:1802
3808
  msgid "Library View Processing documentation"
3809
  msgstr ""
3810
 
3811
+ #: includes/class-mla-settings.php:1806 includes/class-mla-settings.php:1995
3812
+ #: includes/class-mla-settings.php:2301
3813
  msgid "Displaying search results for"
3814
  msgstr ""
3815
 
3816
+ #: includes/class-mla-settings.php:1807
3817
  msgid "Search Views"
3818
  msgstr ""
3819
 
3820
+ #: includes/class-mla-settings.php:1828
3821
  msgid "Add View"
3822
  msgstr ""
3823
 
3824
+ #: includes/class-mla-settings.php:1830 includes/class-mla-settings.php:2294
3825
  msgid "<strong>Quick Edit</strong>"
3826
  msgstr ""
3827
 
3828
+ #: includes/class-mla-settings.php:1910
3829
  msgid "Edit Upload MIME Type"
3830
  msgstr ""
3831
 
3832
+ #: includes/class-mla-settings.php:1916
3833
  msgid ""
3834
  "The &#8220;extension&#8221; is the file extension for this type, and a "
3835
  "unique key for the item. It must be all lowercase and contain only letters "
3836
  "and numbers."
3837
  msgstr ""
3838
 
3839
+ #: includes/class-mla-settings.php:1918 includes/class-mla-settings.php:2283
3840
  msgid ""
3841
  "The MIME Type must be all lowercase and contain only letters, numbers, "
3842
  "periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
3843
  "strong> type, e.g., &#8220;image&#8221; or &#8220;image/jpeg&#8221;."
3844
  msgstr ""
3845
 
3846
+ #: includes/class-mla-settings.php:1919 includes/class-mla-settings.php:2284
3847
  msgid "Icon Type"
3848
  msgstr ""
3849
 
3850
+ #: includes/class-mla-settings.php:1921 includes/class-mla-settings.php:2285
3851
  msgid ""
3852
  "The Icon Type selects a thumbnail image displayed for non-image file types, "
3853
  "such as PDF documents."
3854
  msgstr ""
3855
 
3856
+ #: includes/class-mla-settings.php:1922 includes/class-mla-settings.php:2286
3857
  #: includes/class-mla-upload-list-table.php:515
3858
  msgid "Inactive"
3859
  msgstr ""
3860
 
3861
+ #: includes/class-mla-settings.php:1923 includes/class-mla-settings.php:2287
3862
  msgid ""
3863
  "Check this box if you want to remove this entry from the list of Upload MIME "
3864
  "Types returned by get_allowed_mime_types()."
3865
  msgstr ""
3866
 
3867
+ #: includes/class-mla-settings.php:1994
3868
  msgid "Known File Extension/MIME Type Associations"
3869
  msgstr ""
3870
 
3871
+ #: includes/class-mla-settings.php:1996
3872
  msgid "Search Known MIME Types"
3873
  msgstr ""
3874
 
3875
+ #: includes/class-mla-settings.php:1998 includes/class-mla-settings.php:2272
3876
  msgid "To search by extension, use \".\", e.g., \".doc\""
3877
  msgstr ""
3878
 
3879
+ #: includes/class-mla-settings.php:2223
3880
  msgid "Upload MIME Type Support is disabled"
3881
  msgstr ""
3882
 
3883
+ #: includes/class-mla-settings.php:2266 includes/class-mla-settings.php:2269
3884
  msgid "File Extension and MIME Type Processing"
3885
  msgstr ""
3886
 
3887
+ #: includes/class-mla-settings.php:2267
3888
  msgid ""
3889
  "In this tab you can manage the list of file extension/MIME Type "
3890
  "associations, which are used by WordPress to decide what kind of files can "
3894
  msgstr ""
3895
 
3896
  #. translators: 1: Documentation hyperlink
3897
+ #: includes/class-mla-settings.php:2269
3898
  #, php-format
3899
  msgid ""
3900
  "You can find more information about file extensions, MIME types and how "
3902
  "the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
3903
  msgstr ""
3904
 
3905
+ #: includes/class-mla-settings.php:2269
3906
  msgid "File Extension Processing documentation"
3907
  msgstr ""
3908
 
3909
+ #: includes/class-mla-settings.php:2271
3910
  msgid "Search Uploads"
3911
  msgstr ""
3912
 
3913
+ #: includes/class-mla-settings.php:2278
3914
  msgid "Upload MIME Type"
3915
  msgstr ""
3916
 
3917
+ #: includes/class-mla-settings.php:2279
3918
  msgid ""
3919
  "To search the database of over 1,500 known extension/type associations, "
3920
  "click \"Search Known Types\" below the form."
3921
  msgstr ""
3922
 
3923
+ #: includes/class-mla-settings.php:2281
3924
  msgid ""
3925
  "The &#8220;extension&#8221; is the file extension for this type, and unique "
3926
  "key for the item. It must be all lowercase and contain only letters and "
3927
  "numbers."
3928
  msgstr ""
3929
 
3930
+ #: includes/class-mla-settings.php:2290
3931
  msgid "Add Upload MIME Type"
3932
  msgstr ""
3933
 
3934
+ #: includes/class-mla-settings.php:2292
3935
  msgid "Search Known Types"
3936
  msgstr ""
3937
 
3938
+ #: includes/class-mla-settings.php:2300
3939
  #: includes/class-mla-upload-list-table.php:517
3940
  msgid "Active"
3941
  msgstr ""
3942
 
3943
+ #: includes/class-mla-settings.php:2353
3944
  msgid "MLA Gallery Options"
3945
  msgstr ""
3946
 
3947
+ #: includes/class-mla-settings.php:2354
3948
  msgid "Go to Style Templates"
3949
  msgstr ""
3950
 
3951
+ #: includes/class-mla-settings.php:2355
3952
  msgid "Go to Markup Templates"
3953
  msgstr ""
3954
 
3955
+ #: includes/class-mla-settings.php:2356
3956
  msgid ""
3957
  "In this tab you can view the default style and markup templates. You can "
3958
  "also define additional templates and use the <code>mla_style</code> and "
3962
  "Changes\" at the bottom of this page."
3963
  msgstr ""
3964
 
3965
+ #: includes/class-mla-settings.php:2360
3966
  msgid "Style Templates"
3967
  msgstr ""
3968
 
3969
+ #: includes/class-mla-settings.php:2362
3970
  msgid "Markup Templates"
3971
  msgstr ""
3972
 
3973
+ #: includes/class-mla-settings.php:2375
3974
  msgid "Theme"
3975
  msgstr ""
3976
 
3977
+ #: includes/class-mla-settings.php:2404
3978
  msgid "Imagick support is not installed."
3979
  msgstr ""
3980
 
3981
+ #: includes/class-mla-settings.php:2411
3982
  msgid "Ghostscript support is not installed."
3983
  msgstr ""
3984
 
3985
+ #: includes/class-mla-settings.php:2415
3986
  #: includes/class-mla-wpml-support.php:1747
3987
  #: includes/class-mla-wpml-support.php:1749
3988
  msgid "WARNING:"
3989
  msgstr ""
3990
 
3991
+ #: includes/class-mla-settings.php:2415
3992
  msgid " MLA Viewer support may not be available"
3993
  msgstr ""
3994
 
3995
+ #: includes/class-mla-settings.php:2442
3996
  msgid ""
3997
  "This default template cannot be altered or deleted, but you can copy the "
3998
  "styles."
3999
  msgstr ""
4000
 
4001
+ #: includes/class-mla-settings.php:2453 includes/class-mla-settings.php:2486
4002
+ #: includes/class-mla-settings.php:2512
4003
  msgid "Styles"
4004
  msgstr ""
4005
 
4006
+ #: includes/class-mla-settings.php:2457 includes/class-mla-settings.php:2490
4007
+ #: includes/class-mla-settings.php:2516
4008
  msgid ""
4009
  "List of substitution parameters, e.g., [+selector+], on Documentation tab."
4010
  msgstr ""
4011
 
4012
+ #: includes/class-mla-settings.php:2474 includes/class-mla-settings.php:2598
4013
  msgid "Delete this template"
4014
  msgstr ""
4015
 
4016
+ #: includes/class-mla-settings.php:2475 includes/class-mla-settings.php:2599
4017
  msgid ""
4018
  "Check the box to delete this template when you press Update at the bottom of "
4019
  "the page."
4020
  msgstr ""
4021
 
4022
+ #: includes/class-mla-settings.php:2501
4023
  msgid "Fill in a name and styles to add a new template."
4024
  msgstr ""
4025
 
4026
+ #: includes/class-mla-settings.php:2536
4027
  msgid ""
4028
  "This default template cannot be altered or deleted, but you can copy the "
4029
  "markup."
4030
  msgstr ""
4031
 
4032
+ #: includes/class-mla-settings.php:2548 includes/class-mla-settings.php:2611
4033
+ #: includes/class-mla-settings.php:2667
4034
+ msgid "Arguments"
4035
+ msgstr ""
4036
+
4037
+ #: includes/class-mla-settings.php:2552 includes/class-mla-settings.php:2615
4038
+ #: includes/class-mla-settings.php:2671
4039
+ msgid "Default shortcode parameter values."
4040
+ msgstr ""
4041
+
4042
+ #: includes/class-mla-settings.php:2554 includes/class-mla-settings.php:2617
4043
+ #: includes/class-mla-settings.php:2673
4044
  msgid "Open"
4045
  msgstr ""
4046
 
4047
+ #: includes/class-mla-settings.php:2558 includes/class-mla-settings.php:2621
4048
+ #: includes/class-mla-settings.php:2677
4049
  msgid ""
4050
  "Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
4051
  "+], on Documentation tab."
4052
  msgstr ""
4053
 
4054
+ #: includes/class-mla-settings.php:2560 includes/class-mla-settings.php:2623
4055
+ #: includes/class-mla-settings.php:2679
4056
  msgid "Row"
4057
  msgstr ""
4058
 
4059
+ #: includes/class-mla-settings.php:2564 includes/class-mla-settings.php:2683
4060
  msgid "Markup for the beginning of each row in the gallery."
4061
  msgstr ""
4062
 
4063
+ #: includes/class-mla-settings.php:2566 includes/class-mla-settings.php:2629
4064
+ #: includes/class-mla-settings.php:2685
4065
  msgid "Item"
4066
  msgstr ""
4067
 
4068
+ #: includes/class-mla-settings.php:2570 includes/class-mla-settings.php:2689
4069
  msgid "Markup for each item/cell of the gallery."
4070
  msgstr ""
4071
 
4072
+ #: includes/class-mla-settings.php:2572 includes/class-mla-settings.php:2635
4073
+ #: includes/class-mla-settings.php:2691 includes/class-mla-settings.php:2805
4074
+ #: includes/class-mla-settings.php:2941
4075
  msgid "Close"
4076
  msgstr ""
4077
 
4078
+ #: includes/class-mla-settings.php:2576 includes/class-mla-settings.php:2695
4079
  msgid "Markup for the end of each row in the gallery."
4080
  msgstr ""
4081
 
4082
+ #: includes/class-mla-settings.php:2581 includes/class-mla-settings.php:2644
4083
+ #: includes/class-mla-settings.php:2700
4084
  msgid "Markup for the end of the gallery."
4085
  msgstr ""
4086
 
4087
+ #: includes/class-mla-settings.php:2627
4088
  msgid "Markup for the beginning of each row."
4089
  msgstr ""
4090
 
4091
+ #: includes/class-mla-settings.php:2633
4092
  msgid "Markup for each item/cell."
4093
  msgstr ""
4094
 
4095
+ #: includes/class-mla-settings.php:2639
4096
  msgid "Markup for the end of each row."
4097
  msgstr ""
4098
 
4099
+ #: includes/class-mla-settings.php:2655
4100
  msgid "Fill in a name and markup to add a new template."
4101
  msgstr ""
4102
 
4103
+ #: includes/class-mla-settings.php:2797
4104
  msgid "Custom Field Mapping Progress"
4105
  msgstr ""
4106
 
4107
+ #: includes/class-mla-settings.php:2798 includes/class-mla-settings.php:2934
4108
  msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
4109
  msgstr ""
4110
 
4111
+ #: includes/class-mla-settings.php:2799 includes/class-mla-settings.php:2935
4112
  msgid "Close the window"
4113
  msgstr ""
4114
 
4115
+ #: includes/class-mla-settings.php:2800 includes/class-mla-settings.php:2936
4116
  msgid "Reload the page"
4117
  msgstr ""
4118
 
4119
+ #: includes/class-mla-settings.php:2801 includes/class-mla-settings.php:2937
4120
  msgid "Click the browser&rsquo;s Stop, Back or forward buttons"
4121
  msgstr ""
4122
 
4123
+ #: includes/class-mla-settings.php:2802 includes/class-mla-settings.php:2938
4124
  msgid "Progress"
4125
  msgstr ""
4126
 
4127
+ #: includes/class-mla-settings.php:2804 includes/class-mla-settings.php:2940
4128
  msgid "Resume"
4129
  msgstr ""
4130
 
4131
+ #: includes/class-mla-settings.php:2814 includes/class-mla-settings.php:2818
4132
  msgid "Custom Field and Attachment Metadata Processing Options"
4133
  msgstr ""
4134
 
4135
  #. translators: 1: Documentation hyperlink
4136
+ #: includes/class-mla-settings.php:2816
4137
  #, php-format
4138
  msgid ""
4139
  "In this tab you can define the rules for mapping several types of image "
4143
  "field. See the %1$s section of the Documentation for details."
4144
  msgstr ""
4145
 
4146
+ #: includes/class-mla-settings.php:2816
4147
  msgid "Updating Attachment Metadata Documentation"
4148
  msgstr ""
4149
 
4150
+ #: includes/class-mla-settings.php:2816
4151
  msgid "Adding or changing Attachment Metadata"
4152
  msgstr ""
4153
 
4154
  #. translators: 1: Documentation hyperlink
4155
+ #: includes/class-mla-settings.php:2818 includes/class-mla-settings.php:2953
4156
  #, php-format
4157
  msgid ""
4158
  "You can find more information about using the controls in this tab to define "
4159
  "mapping rules and apply them in the %1$s section of the Documentation."
4160
  msgstr ""
4161
 
4162
+ #: includes/class-mla-settings.php:2818
4163
  msgid "Custom Field Options documentation"
4164
  msgstr ""
4165
 
4166
+ #: includes/class-mla-settings.php:2822 includes/class-mla-settings.php:2963
4167
  msgid "Custom field mapping"
4168
  msgstr ""
4169
 
4170
  #. translators: 1: "Save Changes"
4171
+ #: includes/class-mla-settings.php:2827
4172
  #, php-format
4173
  msgid ""
4174
  "Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
4177
  msgstr ""
4178
 
4179
  #. translators: 1: "Map All Rules..."
4180
+ #: includes/class-mla-settings.php:2829
4181
  #, php-format
4182
  msgid ""
4183
  "Click %1$s to apply all the rules at once (rule changes will be applied but "
4184
  "not saved)."
4185
  msgstr ""
4186
 
4187
+ #: includes/class-mla-settings.php:2933
4188
  msgid "IPTC &amp; EXIF Mapping Progress"
4189
  msgstr ""
4190
 
4191
+ #: includes/class-mla-settings.php:2950 includes/class-mla-settings.php:2953
4192
  msgid "IPTC &amp; EXIF Processing Options"
4193
  msgstr ""
4194
 
4195
+ #: includes/class-mla-settings.php:2951
4196
  msgid ""
4197
  "In this tab you can define the rules for mapping IPTC (International Press "
4198
  "Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
4201
  "click \"Save Changes\" at the bottom of this page."
4202
  msgstr ""
4203
 
4204
+ #: includes/class-mla-settings.php:2953
4205
  msgid "IPTC/EXIF Options documentation"
4206
  msgstr ""
4207
 
4208
+ #: includes/class-mla-settings.php:2957
4209
  msgid "Standard field mapping"
4210
  msgstr ""
4211
 
4212
+ #: includes/class-mla-settings.php:2960
4213
  msgid "Taxonomy term mapping"
4214
  msgstr ""
4215
 
4216
  #. translators: 1: "Save Changes"
4217
+ #: includes/class-mla-settings.php:2968
4218
  #, php-format
4219
  msgid ""
4220
  "Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
4222
  "performed.</strong>"
4223
  msgstr ""
4224
 
4225
+ #: includes/class-mla-settings.php:3039
4226
  msgid "Debug settings saved."
4227
  msgstr ""
4228
 
4229
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4230
+ #: includes/class-mla-settings.php:3135
4231
  #, php-format
4232
  msgid "%1$s: Reseting the %2$s file ( %3$s ) \"%4$s\"."
4233
  msgstr ""
4234
 
4235
+ #: includes/class-mla-settings.php:3135 includes/class-mla-settings.php:3186
4236
+ #: includes/class-mla-settings.php:3210 includes/class-mla-settings.php:3220
4237
+ #: includes/class-mla-settings.php:3246
4238
  msgid "Error Log"
4239
  msgstr ""
4240
 
4241
  #. translators: 1: ERROR tag 2: file type 3: file name 4: error message
4242
+ #: includes/class-mla-settings.php:3186
4243
  #, php-format
4244
  msgid "%1$s: Reading the %2$s file ( %3$s ) \"%4$s\"."
4245
  msgstr ""
4246
 
4247
  #. translators: 1: file name
4248
+ #: includes/class-mla-settings.php:3196
4249
  #, php-format
4250
  msgid "Error log file (%1$s) not found; click Reset to create it."
4251
  msgstr ""
4252
 
4253
+ #: includes/class-mla-settings.php:3241 includes/class-mla-settings.php:3254
4254
  msgid "Debug Options"
4255
  msgstr ""
4256
 
4257
+ #: includes/class-mla-settings.php:3244
4258
  msgid "Debug Settings"
4259
  msgstr ""
4260
 
4261
  #. translators: 1: "Save Changes"
4262
+ #: includes/class-mla-settings.php:3254
4263
  #, php-format
4264
  msgid "Click %1$s to update the %2$s."
4265
  msgstr ""
4266
 
4267
+ #: includes/class-mla-settings.php:3273
4268
  msgid "You do not have permission to manage plugin settings."
4269
  msgstr ""
4270
 
4271
+ #: includes/class-mla-settings.php:3304
4272
  msgid "Cannot render content tab"
4273
  msgstr ""
4274
 
4275
+ #: includes/class-mla-settings.php:3307
4276
  msgid "Unknown content tab"
4277
  msgstr ""
4278
 
4279
  #. translators: 1: template type 2: template name
4280
+ #: includes/class-mla-settings.php:3401 includes/class-mla-settings.php:3493
4281
  #, php-format
4282
  msgctxt "message_list"
4283
  msgid "Deleting %1$s \"%2$s\"."
4284
  msgstr ""
4285
 
4286
  #. translators: 1: ERROR tag 2: template name 3: template type
4287
+ #: includes/class-mla-settings.php:3412 includes/class-mla-settings.php:3506
4288
  #, php-format
4289
  msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
4290
  msgstr ""
4291
 
4292
  #. translators: 1: ERROR tag 2: template name 3: template type
4293
+ #: includes/class-mla-settings.php:3418 includes/class-mla-settings.php:3512
4294
  #, php-format
4295
  msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
4296
  msgstr ""
4297
 
4298
  #. translators: 1: template type 2: template name
4299
+ #: includes/class-mla-settings.php:3422 includes/class-mla-settings.php:3516
4300
  #, php-format
4301
  msgctxt "message_list"
4302
  msgid "Adding new %1$s \"%2$s\"."
4303
  msgstr ""
4304
 
4305
  #. translators: 1: ERROR tag 2: element name 3: old value
4306
+ #: includes/class-mla-settings.php:3432 includes/class-mla-settings.php:3526
4307
  #, php-format
4308
  msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
4309
  msgstr ""
4310
 
4311
+ #: includes/class-mla-settings.php:3432 includes/class-mla-settings.php:3439
4312
+ #: includes/class-mla-settings.php:3443
4313
  msgid "style template name"
4314
  msgstr ""
4315
 
4316
  #. translators: 1: ERROR tag 2: element name 3: new value 4: old value
4317
+ #: includes/class-mla-settings.php:3439 includes/class-mla-settings.php:3533
4318
  #, php-format
4319
  msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
4320
  msgstr ""
4321
 
4322
  #. translators: 1: element name 2: old_value 3: new_value
4323
+ #: includes/class-mla-settings.php:3443 includes/class-mla-settings.php:3537
4324
  #, php-format
4325
  msgctxt "message_list"
4326
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
4327
  msgstr ""
4328
 
4329
  #. translators: 1: template type 2: template name
4330
+ #: includes/class-mla-settings.php:3450
4331
  #, php-format
4332
  msgctxt "message_list"
4333
  msgid "Updating contents of %1$s \"%2$s\"."
4334
  msgstr ""
4335
 
4336
  #. translators: 1: ERROR tag 2: template type
4337
+ #: includes/class-mla-settings.php:3461 includes/class-mla-settings.php:3592
4338
  #, php-format
4339
  msgid "%1$s: Update of %2$s failed."
4340
  msgstr ""
4341
 
4342
+ #: includes/class-mla-settings.php:3526 includes/class-mla-settings.php:3533
4343
+ #: includes/class-mla-settings.php:3537
4344
  msgid "markup template name"
4345
  msgstr ""
4346
 
4347
  #. translators: 1: template name
4348
+ #: includes/class-mla-settings.php:3545
4349
+ #, php-format
4350
+ msgctxt "message_list"
4351
+ msgid "Updating arguments markup for \"%1$s\"."
4352
+ msgstr ""
4353
+
4354
+ #. translators: 1: template name
4355
+ #: includes/class-mla-settings.php:3551
4356
  #, php-format
4357
  msgctxt "message_list"
4358
  msgid "Updating open markup for \"%1$s\"."
4359
  msgstr ""
4360
 
4361
  #. translators: 1: template name
4362
+ #: includes/class-mla-settings.php:3557
4363
  #, php-format
4364
  msgctxt "message_list"
4365
  msgid "Updating row open markup for \"%1$s\"."
4366
  msgstr ""
4367
 
4368
  #. translators: 1: template name
4369
+ #: includes/class-mla-settings.php:3563
4370
  #, php-format
4371
  msgctxt "message_list"
4372
  msgid "Updating item markup for \"%1$s\"."
4373
  msgstr ""
4374
 
4375
  #. translators: 1: template name
4376
+ #: includes/class-mla-settings.php:3569
4377
  #, php-format
4378
  msgctxt "message_list"
4379
  msgid "Updating row close markup for \"%1$s\"."
4380
  msgstr ""
4381
 
4382
  #. translators: 1: template name
4383
+ #: includes/class-mla-settings.php:3575
4384
  #, php-format
4385
  msgctxt "message_list"
4386
  msgid "Updating close markup for \"%1$s\"."
4387
  msgstr ""
4388
 
4389
  #. translators: 1: field type
4390
+ #: includes/class-mla-settings.php:3601
4391
  #, php-format
4392
  msgid "%1$s no changes detected."
4393
  msgstr ""
4394
 
4395
+ #: includes/class-mla-settings.php:3636
4396
  msgid "View settings saved."
4397
  msgstr ""
4398
 
4399
+ #: includes/class-mla-settings.php:3670
4400
  msgid "Upload MIME Type settings saved."
4401
  msgstr ""
4402
 
4403
+ #: includes/class-mla-settings.php:3713
4404
  msgid "No custom field mapping rules to process."
4405
  msgstr ""
4406
 
4407
  #. translators: 1: field type 2: examined count 3: updated count
4408
+ #: includes/class-mla-settings.php:3746 includes/class-mla-settings.php:3888
4409
+ #: includes/class-mla-settings.php:3962 includes/class-mla-settings.php:4051
4410
  #, php-format
4411
  msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
4412
  msgstr ""
4413
 
4414
  #. translators: 1: field type 2: examined count
4415
+ #: includes/class-mla-settings.php:3749 includes/class-mla-settings.php:3891
4416
+ #: includes/class-mla-settings.php:3965 includes/class-mla-settings.php:4054
4417
  #, php-format
4418
  msgid ""
4419
  "%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
4420
  msgstr ""
4421
 
4422
  #. translators: 1: number of attachments
4423
+ #: includes/class-mla-settings.php:3780
4424
  #, php-format
4425
  msgid "%s attachment"
4426
  msgid_plural "%s attachments"
4428
  msgstr[1] ""
4429
 
4430
  #. translators: 1: singular/plural number of attachments
4431
+ #: includes/class-mla-settings.php:3782
4432
  #, php-format
4433
  msgid "Deleted custom field value from %1$s."
4434
  msgstr ""
4435
 
4436
+ #: includes/class-mla-settings.php:3785
4437
  msgid "No attachments contained this custom field."
4438
  msgstr ""
4439
 
4440
  #. translators: 1: ERROR tag 2: field type
4441
+ #: includes/class-mla-settings.php:3846 includes/class-mla-settings.php:3920
4442
+ #: includes/class-mla-settings.php:4009
4443
  #, php-format
4444
  msgid "%1$s: No %2$s settings to process."
4445
  msgstr ""
4446
 
4447
+ #: includes/class-mla-settings.php:3879 includes/class-mla-settings.php:3953
4448
+ #: includes/class-mla-settings.php:4042
4449
  msgid "updated."
4450
  msgstr ""
4451
 
4452
  #. translators: 1: reference type, e.g., Gallery in
4453
+ #: includes/class-mla-settings.php:4147 includes/class-mla-settings.php:4157
4454
  #, php-format
4455
  msgctxt "message_list"
4456
  msgid "%1$s - references updated."
4457
  msgstr ""
4458
 
4459
+ #: includes/class-mla-settings.php:4200
4460
  msgid "General settings saved."
4461
  msgstr ""
4462
 
4463
+ #: includes/class-mla-settings.php:4239
4464
  msgid "General settings reset to default values."
4465
  msgstr ""
4466
 
4467
+ #: includes/class-mla-settings.php:4281
4468
  msgid "select settings"
4469
  msgstr ""
4470
 
4471
+ #: includes/class-mla-settings.php:4301
4472
  msgid "Import ALL Settings"
4473
  msgstr ""
4474
 
4475
+ #: includes/class-mla-settings.php:4330 includes/class-mla-settings.php:4346
4476
  msgctxt "message_list"
4477
  msgid "exported"
4478
  msgstr ""
4479
 
4480
+ #: includes/class-mla-settings.php:4332 includes/class-mla-settings.php:4348
4481
  msgctxt "message_list"
4482
  msgid "skipped"
4483
  msgstr ""
4484
 
4485
+ #: includes/class-mla-settings.php:4355
4486
  msgid "ALL settings exported."
4487
  msgstr ""
4488
 
4489
  #. translators: 1: ERROR tag 2: backup directory name
4490
+ #: includes/class-mla-settings.php:4366
4491
  #, php-format
4492
  msgid "%1$s: The settings directory ( %2$s ) cannot be created."
4493
  msgstr ""
4494
 
4495
  #. translators: 1: ERROR tag 2: backup directory name
4496
+ #: includes/class-mla-settings.php:4370
4497
  #, php-format
4498
  msgid "%1$s: The settings directory ( %2$s ) is not writable."
4499
  msgstr ""
4500
 
4501
  #. translators: 1: ERROR tag 2: backup file name
4502
+ #: includes/class-mla-settings.php:4381
4503
  #, php-format
4504
  msgid "%1$s: The settings file ( %2$s ) could not be opened."
4505
  msgstr ""
4506
 
4507
  #. translators: 1: ERROR tag 2: PHP error information
4508
+ #: includes/class-mla-settings.php:4388
4509
  #, php-format
4510
  msgctxt "error_log"
4511
  msgid "%1$s: _export_settings $error_info = \"%2$s\"."
4512
  msgstr ""
4513
 
4514
  #. translators: 1: ERROR tag 2: backup file name 3: error message
4515
+ #: includes/class-mla-settings.php:4397
4516
  #, php-format
4517
  msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
4518
  msgstr ""
4519
 
4520
  #. translators: 1: number of option settings
4521
+ #: includes/class-mla-settings.php:4403
4522
  #, php-format
4523
  msgid "Settings exported; %1$s settings recorded."
4524
  msgstr ""
4525
 
4526
+ #: includes/class-mla-settings.php:4421
4527
  msgid "No settings imported."
4528
  msgstr ""
4529
 
4530
+ #: includes/class-mla-settings.php:4430
4531
  msgid "Please select an import settings file from the dropdown list."
4532
  msgstr ""
4533
 
4534
+ #: includes/class-mla-settings.php:4434
4535
  msgid "The import settings dropdown selection is missing."
4536
  msgstr ""
4537
 
4538
  #. translators: 1: ERROR tag 2: PHP error information
4539
+ #: includes/class-mla-settings.php:4442
4540
  #, php-format
4541
  msgctxt "error_log"
4542
  msgid "%1$s: _import_settings $error_info = \"%2$s\"."
4543
  msgstr ""
4544
 
4545
  #. translators: 1: ERROR tag 2: backup file name 3: error message
4546
+ #: includes/class-mla-settings.php:4451
4547
  #, php-format
4548
  msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
4549
  msgstr ""
4550
 
4551
+ #: includes/class-mla-settings.php:4470 includes/class-mla-settings.php:4486
4552
  msgctxt "message_list"
4553
  msgid "updated"
4554
  msgstr ""
4555
 
4556
+ #: includes/class-mla-settings.php:4473 includes/class-mla-settings.php:4489
4557
  msgctxt "message_list"
4558
  msgid "unchanged"
4559
  msgstr ""
4560
 
4561
  #. translators: 1: number of option settings updated 2: number of option settings unchanged
4562
+ #: includes/class-mla-settings.php:4494
4563
  #, php-format
4564
  msgid "Settings imported; %1$s updated, %2$s unchanged."
4565
  msgstr ""
4566
 
4567
+ #: includes/class-mla-shortcode-support.php:134
4568
  msgid "not found"
4569
  msgstr ""
4570
 
4571
+ #: includes/class-mla-shortcode-support.php:463
4572
+ #: includes/class-mla-shortcode-support.php:1708
4573
+ #: includes/class-mla-shortcode-support.php:3436
4574
+ #: includes/class-mla-shortcode-support.php:3723
4575
  msgid "Previous"
4576
  msgstr ""
4577
 
4578
+ #: includes/class-mla-shortcode-support.php:464
4579
+ #: includes/class-mla-shortcode-support.php:1709
4580
+ #: includes/class-mla-shortcode-support.php:3485
4581
+ #: includes/class-mla-shortcode-support.php:3729
4582
  msgid "Next"
4583
  msgstr ""
4584
 
4585
+ #: includes/class-mla-shortcode-support.php:599
4586
  msgid "mla_debug empty gallery"
4587
  msgstr ""
4588
 
4589
+ #: includes/class-mla-shortcode-support.php:674
4590
  msgid ""
4591
  "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
4592
  "<strong>default</strong>, query = "
4593
  msgstr ""
4594
 
4595
+ #: includes/class-mla-shortcode-support.php:1047
4596
  msgid "unknown"
4597
  msgstr ""
4598
 
4599
+ #: includes/class-mla-shortcode-support.php:1868
4600
+ #: includes/class-mla-shortcode-support.php:2986
4601
  msgid "mla_debug attributes"
4602
  msgstr ""
4603
 
4604
+ #: includes/class-mla-shortcode-support.php:1869
4605
+ #: includes/class-mla-shortcode-support.php:2987
4606
  msgid "mla_debug arguments"
4607
  msgstr ""
4608
 
4609
+ #: includes/class-mla-shortcode-support.php:1973
4610
  msgid "mla_debug empty cloud"
4611
  msgstr ""
4612
 
4613
+ #: includes/class-mla-shortcode-support.php:3104
4614
+ msgid "mla_debug empty list"
4615
+ msgstr ""
4616
+
4617
+ #: includes/class-mla-shortcode-support.php:4083
4618
+ #: includes/class-mla-shortcode-support.php:4411
4619
+ #: includes/class-mla-shortcode-support.php:4442
4620
  msgid "Invalid mla_gallery"
4621
  msgstr ""
4622
 
4623
+ #: includes/class-mla-shortcode-support.php:4694
4624
  msgid "mla_debug query"
4625
  msgstr ""
4626
 
4627
+ #: includes/class-mla-shortcode-support.php:4695
4628
  msgid "mla_debug request"
4629
  msgstr ""
4630
 
4631
+ #: includes/class-mla-shortcode-support.php:4696
4632
  msgid "mla_debug query_vars"
4633
  msgstr ""
4634
 
4635
+ #: includes/class-mla-shortcode-support.php:4697
4636
  msgid "mla_debug post_count"
4637
  msgstr ""
4638
 
4639
+ #: includes/class-mla-shortcode-support.php:4765
4640
  msgid "mla_debug WHERE filter"
4641
  msgstr ""
4642
 
4643
+ #: includes/class-mla-shortcode-support.php:4784
4644
  msgid "mla_debug modified WHERE filter"
4645
  msgstr ""
4646
 
4647
+ #: includes/class-mla-shortcode-support.php:4807
4648
  msgid "mla_debug ORDER BY filter, incoming"
4649
  msgstr ""
4650
 
4651
+ #: includes/class-mla-shortcode-support.php:4807
4652
  msgid "Replacement ORDER BY clause"
4653
  msgstr ""
4654
 
4655
+ #: includes/class-mla-shortcode-support.php:4830
4656
  msgid "mla_debug posts_clauses filter"
4657
  msgstr ""
4658
 
4659
+ #: includes/class-mla-shortcode-support.php:4848
4660
  msgid "mla_debug posts_clauses_request filter"
4661
  msgstr ""
4662
 
4663
+ #: includes/class-mla-shortcode-support.php:5041
4664
  msgid "Invalid taxonomy"
4665
  msgstr ""
4666
 
4667
+ #: includes/class-mla-shortcode-support.php:5247
4668
  msgid "mla_debug query arguments"
4669
  msgstr ""
4670
 
4671
+ #: includes/class-mla-shortcode-support.php:5248
4672
  msgid "mla_debug last_query"
4673
  msgstr ""
4674
 
4675
+ #: includes/class-mla-shortcode-support.php:5249
4676
  msgid "mla_debug last_error"
4677
  msgstr ""
4678
 
4679
+ #: includes/class-mla-shortcode-support.php:5250
4680
  msgid "mla_debug num_rows"
4681
  msgstr ""
4682
 
4683
+ #: includes/class-mla-shortcode-support.php:5251
4684
  msgid "mla_debug found_rows"
4685
  msgstr ""
4686
 
languages/media-library-assistant-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
- "POT-Creation-Date: 2016-01-23 23:06-0800\n"
5
- "PO-Revision-Date: 2016-01-23 23:06-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"
@@ -128,7 +128,7 @@ msgid "Cached"
128
  msgstr ""
129
 
130
  msgid ""
131
- "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
132
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
133
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
134
  msgstr ""
@@ -231,6 +231,14 @@ msgid ""
231
  "submenu entry."
232
  msgstr ""
233
 
 
 
 
 
 
 
 
 
234
  msgid "Table Defaults"
235
  msgstr ""
236
 
@@ -516,6 +524,29 @@ msgstr ""
516
  msgid "Full Size"
517
  msgstr ""
518
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
519
  msgid "Default [mla_gallery] Templates and Settings"
520
  msgstr ""
521
 
@@ -1641,6 +1672,7 @@ msgstr ""
1641
  msgid "Tags"
1642
  msgstr ""
1643
 
 
1644
  #. translators: %s: add new taxonomy label
1645
  #. translators: %s: add new View
1646
  #. translators: %s: add new Upload MIME Type
@@ -2470,9 +2502,6 @@ msgstr ""
2470
  msgid "Media Manager Enhancements"
2471
  msgstr ""
2472
 
2473
- msgid "Export ALL Settings"
2474
- msgstr ""
2475
-
2476
  msgid "Delete General options and restore default settings"
2477
  msgstr ""
2478
 
@@ -2772,6 +2801,12 @@ msgid ""
2772
  "markup."
2773
  msgstr ""
2774
 
 
 
 
 
 
 
2775
  msgid "Open"
2776
  msgstr ""
2777
 
@@ -3008,6 +3043,12 @@ msgstr ""
3008
  msgid "markup template name"
3009
  msgstr ""
3010
 
 
 
 
 
 
 
3011
  #. translators: 1: template name
3012
  #, php-format
3013
  msgctxt "message_list"
@@ -3208,6 +3249,9 @@ msgstr ""
3208
  msgid "mla_debug empty cloud"
3209
  msgstr ""
3210
 
 
 
 
3211
  msgid "Invalid mla_gallery"
3212
  msgstr ""
3213
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
+ "POT-Creation-Date: 2016-04-08 20:54-0700\n"
5
+ "PO-Revision-Date: 2016-04-08 20:55-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"
128
  msgstr ""
129
 
130
  msgid ""
131
+ "Search database posts and pages for [ gallery ] shortcode results.<br>&nbsp;"
132
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
133
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
134
  msgstr ""
231
  "submenu entry."
232
  msgstr ""
233
 
234
+ msgid "Display Media/Assistant list/grid view switcher"
235
+ msgstr ""
236
+
237
+ msgid ""
238
+ "Check/uncheck this option to display/remove the \"list/grid\" view switcher "
239
+ "on the Media/Assistant submenu."
240
+ msgstr ""
241
+
242
  msgid "Table Defaults"
243
  msgstr ""
244
 
524
  msgid "Full Size"
525
  msgstr ""
526
 
527
+ msgid "Uninstall (Delete) Plugin Settings"
528
+ msgstr ""
529
+
530
+ msgid "Delete Option Settings"
531
+ msgstr ""
532
+
533
+ msgid ""
534
+ "Check this option to remove all MLA option settings from the database when "
535
+ "the plugin is deleted.<br>&nbsp;&nbsp;<strong>You can make a backup copy</"
536
+ "strong> of your settings below by clicking \""
537
+ msgstr ""
538
+
539
+ msgid "Export ALL Settings"
540
+ msgstr ""
541
+
542
+ msgid "Delete Option Settings Backups"
543
+ msgstr ""
544
+
545
+ msgid ""
546
+ "Check this option to remove the <code>/wp-content/mla-backup</code> "
547
+ "directory and its contents when the plugin is deleted."
548
+ msgstr ""
549
+
550
  msgid "Default [mla_gallery] Templates and Settings"
551
  msgstr ""
552
 
1672
  msgid "Tags"
1673
  msgstr ""
1674
 
1675
+ #. translators: %s: add new taxonomy label
1676
  #. translators: %s: add new taxonomy label
1677
  #. translators: %s: add new View
1678
  #. translators: %s: add new Upload MIME Type
2502
  msgid "Media Manager Enhancements"
2503
  msgstr ""
2504
 
 
 
 
2505
  msgid "Delete General options and restore default settings"
2506
  msgstr ""
2507
 
2801
  "markup."
2802
  msgstr ""
2803
 
2804
+ msgid "Arguments"
2805
+ msgstr ""
2806
+
2807
+ msgid "Default shortcode parameter values."
2808
+ msgstr ""
2809
+
2810
  msgid "Open"
2811
  msgstr ""
2812
 
3043
  msgid "markup template name"
3044
  msgstr ""
3045
 
3046
+ #. translators: 1: template name
3047
+ #, php-format
3048
+ msgctxt "message_list"
3049
+ msgid "Updating arguments markup for \"%1$s\"."
3050
+ msgstr ""
3051
+
3052
  #. translators: 1: template name
3053
  #, php-format
3054
  msgctxt "message_list"
3249
  msgid "mla_debug empty cloud"
3250
  msgstr ""
3251
 
3252
+ msgid "mla_debug empty list"
3253
+ msgstr ""
3254
+
3255
  msgid "Invalid mla_gallery"
3256
  msgstr ""
3257
 
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-01-23 23: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"
@@ -129,7 +129,7 @@ msgid "Cached"
129
  msgstr ""
130
 
131
  msgid ""
132
- "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
133
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
134
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
135
  msgstr ""
@@ -232,6 +232,14 @@ msgid ""
232
  "submenu entry."
233
  msgstr ""
234
 
 
 
 
 
 
 
 
 
235
  msgid "Table Defaults"
236
  msgstr ""
237
 
@@ -517,6 +525,29 @@ msgstr ""
517
  msgid "Full Size"
518
  msgstr ""
519
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  msgid "Default [mla_gallery] Templates and Settings"
521
  msgstr ""
522
 
@@ -1642,6 +1673,7 @@ msgstr ""
1642
  msgid "Tags"
1643
  msgstr ""
1644
 
 
1645
  #. translators: %s: add new taxonomy label
1646
  #. translators: %s: add new View
1647
  #. translators: %s: add new Upload MIME Type
@@ -2471,9 +2503,6 @@ msgstr ""
2471
  msgid "Media Manager Enhancements"
2472
  msgstr ""
2473
 
2474
- msgid "Export ALL Settings"
2475
- msgstr ""
2476
-
2477
  msgid "Delete General options and restore default settings"
2478
  msgstr ""
2479
 
@@ -2773,6 +2802,12 @@ msgid ""
2773
  "markup."
2774
  msgstr ""
2775
 
 
 
 
 
 
 
2776
  msgid "Open"
2777
  msgstr ""
2778
 
@@ -3009,6 +3044,12 @@ msgstr ""
3009
  msgid "markup template name"
3010
  msgstr ""
3011
 
 
 
 
 
 
 
3012
  #. translators: 1: template name
3013
  #, php-format
3014
  msgctxt "message_list"
@@ -3209,6 +3250,9 @@ msgstr ""
3209
  msgid "mla_debug empty cloud"
3210
  msgstr ""
3211
 
 
 
 
3212
  msgid "Invalid mla_gallery"
3213
  msgstr ""
3214
 
2
  msgid ""
3
  msgstr ""
4
  "Project-Id-Version: Media Library Assistant\n"
5
+ "POT-Creation-Date: 2016-04-08 20:53-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"
129
  msgstr ""
130
 
131
  msgid ""
132
+ "Search database posts and pages for [ gallery ] shortcode results.<br>&nbsp;"
133
  "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
134
  "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
135
  msgstr ""
232
  "submenu entry."
233
  msgstr ""
234
 
235
+ msgid "Display Media/Assistant list/grid view switcher"
236
+ msgstr ""
237
+
238
+ msgid ""
239
+ "Check/uncheck this option to display/remove the \"list/grid\" view switcher "
240
+ "on the Media/Assistant submenu."
241
+ msgstr ""
242
+
243
  msgid "Table Defaults"
244
  msgstr ""
245
 
525
  msgid "Full Size"
526
  msgstr ""
527
 
528
+ msgid "Uninstall (Delete) Plugin Settings"
529
+ msgstr ""
530
+
531
+ msgid "Delete Option Settings"
532
+ msgstr ""
533
+
534
+ msgid ""
535
+ "Check this option to remove all MLA option settings from the database when "
536
+ "the plugin is deleted.<br>&nbsp;&nbsp;<strong>You can make a backup copy</"
537
+ "strong> of your settings below by clicking \""
538
+ msgstr ""
539
+
540
+ msgid "Export ALL Settings"
541
+ msgstr ""
542
+
543
+ msgid "Delete Option Settings Backups"
544
+ msgstr ""
545
+
546
+ msgid ""
547
+ "Check this option to remove the <code>/wp-content/mla-backup</code> "
548
+ "directory and its contents when the plugin is deleted."
549
+ msgstr ""
550
+
551
  msgid "Default [mla_gallery] Templates and Settings"
552
  msgstr ""
553
 
1673
  msgid "Tags"
1674
  msgstr ""
1675
 
1676
+ #. translators: %s: add new taxonomy label
1677
  #. translators: %s: add new taxonomy label
1678
  #. translators: %s: add new View
1679
  #. translators: %s: add new Upload MIME Type
2503
  msgid "Media Manager Enhancements"
2504
  msgstr ""
2505
 
 
 
 
2506
  msgid "Delete General options and restore default settings"
2507
  msgstr ""
2508
 
2802
  "markup."
2803
  msgstr ""
2804
 
2805
+ msgid "Arguments"
2806
+ msgstr ""
2807
+
2808
+ msgid "Default shortcode parameter values."
2809
+ msgstr ""
2810
+
2811
  msgid "Open"
2812
  msgstr ""
2813
 
3044
  msgid "markup template name"
3045
  msgstr ""
3046
 
3047
+ #. translators: 1: template name
3048
+ #, php-format
3049
+ msgctxt "message_list"
3050
+ msgid "Updating arguments markup for \"%1$s\"."
3051
+ msgstr ""
3052
+
3053
  #. translators: 1: template name
3054
  #, php-format
3055
  msgctxt "message_list"
3250
  msgid "mla_debug empty cloud"
3251
  msgstr ""
3252
 
3253
+ msgid "mla_debug empty list"
3254
+ msgstr ""
3255
+
3256
  msgid "Invalid mla_gallery"
3257
  msgstr ""
3258
 
languages/media-library-assistant-nl_NL.mo CHANGED
Binary file
languages/media-library-assistant-nl_NL.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
- "POT-Creation-Date: 2015-08-29 11:33-0700\n"
5
- "PO-Revision-Date: 2015-08-31 22:01+0100\n"
6
  "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
  "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
  "Language: nl\n"
@@ -18,913 +18,1019 @@ msgstr ""
18
  "X-Poedit-SearchPath-0: includes\n"
19
  "X-Poedit-SearchPath-1: tests\n"
20
 
21
- #. translators: 1: ERROR tag 2: index
22
- #, php-format
23
- msgctxt "error_log"
24
- msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
25
- msgstr ""
26
- "%1$s: _build_pdf_indirect_objects foutieve waarde bij $index = \"%2$d\"."
27
 
28
- msgid "ERROR"
29
- msgstr "FOUT"
30
 
31
- #. translators: 1: ERROR tag 2: source offset 3: nest level
32
- #, php-format
33
- msgctxt "error_log"
34
- msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
35
- msgstr "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
36
 
37
- #. translators: 1: ERROR tag 2: dictionary excerpt
38
- #, php-format
39
- msgctxt "error_log"
40
- msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
41
- msgstr "%1$s: _parse_pdf_dictionary geen einde delimiter dump = %2$s."
42
 
43
- #. translators: 1: ERROR tag 2: entry name 3: value excerpt
44
- #, php-format
45
- msgctxt "error_log"
46
- msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
47
- msgstr "%1$s: _parse_pdf_dictionary foutieve waarde [ %2$s ] dump = %3$s"
48
 
49
- #. translators: 1: ERROR tag 2: path and file
50
- #, php-format
51
- msgctxt "error_log"
52
- msgid "%1$s: File \"%2$s\", startxref not found."
53
- msgstr "%1$s: File \"%2$s\", startxref niet gevonden."
54
 
55
- #. translators: 1: ERROR tag 2: path and file name
56
- #, php-format
57
- msgctxt "error_log"
58
- msgid "%1$s: mla_load_template file \"%2$s\" not found."
59
- msgstr "%1$s: mla_load_template file \"%2$s\" niet gevonden."
60
 
61
- #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
62
- #, php-format
63
- msgctxt "error_log"
64
- msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
65
- msgstr "%1$s: mla_load_template file \"%2$s\" verkeerd source type \"%3$s\"."
66
 
67
- #. translators: 1: ERROR tag 2: template excerpt
68
- #, php-format
69
- msgctxt "error_log"
70
- msgid ""
71
- "%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
72
- msgstr ""
73
- "%1$s: _find_template_substring geen template einde delimiter, slot = \"%2$s"
74
- "\"."
75
 
76
- #. translators: 1: ERROR tag 2: template excerpt
77
- #, php-format
78
- msgctxt "error_log"
79
- msgid ""
80
- "%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
81
- msgstr ""
82
- "%1$s: mla_parse_array_template geen template einde delimiter, slot = \"%2$s"
83
- "\"."
84
 
85
- #. translators: 1: ERROR tag 2: template excerpt
86
- #, php-format
87
- msgctxt "error_log"
88
- msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
89
- msgstr "%1$s: mla_parse_template geen einde delimiter, slot = \"%2$s\"."
90
 
91
- #. translators: 1: ERROR tag 2: template string
92
- #, php-format
93
- msgctxt "error_log"
94
- msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
95
- msgstr "%1$s: _find_test_substring geen einde delimiter, slot = \"%2$s\"."
96
 
97
- msgid "Test; no closing parenthesis "
98
- msgstr "Test; geen sluithaakje "
99
 
100
- #. translators: 1: ERROR tag 2: node type, e.g., template
101
- #, php-format
102
- msgctxt "error_log"
103
- msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
104
- msgstr "%1$s: _evaluate_template_array_node onbekend type \"%2$s\"."
105
 
106
- #. translators: 1: ERROR tag 2: node type, e.g., template
107
- #, php-format
108
- msgctxt "error_log"
109
- msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
110
- msgstr "%1$s: _evaluate_template_node onbekend type \"%2$s\"."
111
 
112
- #. translators: 1: ERROR tag 2: template excerpt
113
- #, php-format
114
- msgctxt "error_log"
115
- msgid ""
116
- "%1$s: mla_get_template_placeholders no template-end delimiter dump = \"%2$s"
117
- "\"."
118
- msgstr ""
119
- "%1$s: mla_get_template_placeholders geen template-end delimiter dump = \"%2$s"
120
- "\"."
121
 
122
- #. translators: 1: ERROR tag 2: function name 3: non-array value
123
- #, php-format
124
- msgctxt "error_log"
125
- msgid "%1$s: %2$s non-array \"%3$s\""
126
- msgstr "%1$s: %2$s non-array \"%3$s\""
127
 
128
- #. translators: 1: DEBUG tag 2: query filter details
129
- #, php-format
130
- msgctxt "error_log"
131
- msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
132
- msgstr "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
133
 
134
- msgid "DEBUG"
135
- msgstr "DEBUG"
136
 
137
- #. translators: 1: DEBUG tag 2: query details
138
- #, php-format
139
- msgctxt "error_log"
140
- msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
141
- msgstr "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
142
 
143
- #. translators: 1: DEBUG tag 2: SQL statement
144
- #, php-format
145
- msgctxt "error_log"
146
- msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
147
- msgstr "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
148
 
149
- #. translators: 1: DEBUG tag 2: search filter details
150
- #, php-format
151
- msgctxt "error_log"
152
- msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
153
- msgstr "%1$s: mla_query_posts_search_filter = \"%2$s\"."
154
 
155
- #. translators: 1: DEBUG tag 2: where filter details
156
- #, php-format
157
- msgctxt "error_log"
158
- msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
159
- msgstr "%1$s: mla_query_posts_where_filter = \"%2$s\"."
160
 
161
- #. translators: 1: DEBUG tag 2: join filter details
162
- #, php-format
163
- msgctxt "error_log"
164
- msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
165
- msgstr "%1$s: mla_query_posts_join_filter = \"%2$s\"."
166
 
167
- #. translators: 1: DEBUG tag 2: orderby details details
168
- #, php-format
169
- msgctxt "error_log"
170
- msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
171
- msgstr "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
172
 
173
- #. translators: 1: DEBUG tag 2: SQL clauses
174
- #, php-format
175
- msgctxt "error_log"
176
- msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
177
- msgstr "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
178
 
179
- #. translators: 1: DEBUG tag 2: SQL clauses
180
- #, php-format
181
- msgctxt "error_log"
182
- msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
183
- msgstr "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
184
 
185
- #. translators: 1: ERROR tag 2: post ID
186
- #, php-format
187
- msgctxt "error_log"
188
- msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
189
- msgstr "%1$s: mla_get_attachment_by_id(%2$d) niet gevonden."
190
 
191
- #. translators: 1: ERROR tag 2: post ID 3: post_type
192
- #, php-format
193
- msgctxt "error_log"
194
- msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
195
- msgstr "%1$s: mla_get_attachment_by_id(%2$d) verkeerd post_type \"%3$s\"."
196
 
197
- msgid "NO REFERENCE TESTS"
198
- msgstr "GEEN REFERENTIE TESTEN"
 
 
 
 
 
 
199
 
200
- msgid "ORPHAN"
201
- msgstr "WEES"
202
 
203
- msgid "UNUSED"
204
- msgstr "ONGEBRUIKT"
205
 
206
- msgid "UNATTACHED"
207
- msgstr "ONGEKOPPELD"
208
 
209
- msgid "INVALID PARENT"
210
- msgstr "FOUTIEVE PARENT"
211
 
212
- #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
213
- #, php-format
214
- msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
215
- msgstr "(%1$s) %2$s (ID %3$d) query \"%4$s\" fout gegaan, resultaat \"%5$s\""
 
 
 
 
 
216
 
217
- msgctxt "error_log"
218
- msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
219
- msgstr "mla_parse_xmp_metadata xml_parse_into_struct is fout gegaan."
220
 
221
- msgctxt "error_log"
222
- msgid "mla_parse_xmp_metadata set option failed."
223
- msgstr "mla_parse_xmp_metadata set option is fout gegaan."
224
-
225
- msgid "Yes"
226
- msgstr "Ja"
 
 
 
 
227
 
228
- msgid "No"
229
- msgstr "Nee"
230
 
231
- #. translators: 1: meta_key
232
- #, php-format
233
- msgid "Deleting %1$s"
234
- msgstr "Verwijderen %1$s"
235
 
236
- #. translators: 1: ERROR tag 2: meta_key
237
- #, php-format
238
- msgid "%1$s: meta:%2$s not found"
239
- msgstr "%1$s: meta:%2$s niet gevonden"
 
240
 
241
- #. translators: 1: meta_key 2: meta_value
242
- #. translators: 1: meta_key 2: new_value
243
- #. translators: 1: meta_key 2: meta_value
244
- #, php-format
245
- msgid "Adding %1$s = %2$s"
246
- msgstr "Toevoegen %1$s = %2$s"
247
 
248
- #. translators: 1: ERROR tag 2: meta_key
249
- #, php-format
250
- msgid "%1$s: Adding meta:%2$s; not found"
251
- msgstr "%1$s: Toevoegen meta:%2$s; niet gevonden"
 
 
252
 
253
- #. translators: 1: meta_key
254
- #, php-format
255
- msgid "Deleting Null meta:%1$s"
256
- msgstr "Verwijder Lege meta:%1$s"
 
 
257
 
258
- #. translators: 1: element name 2: old_value 3: new_value
259
- #, php-format
260
- msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
261
- msgstr "Wijzig %1$s van \"%2$s\" in \"%3$s\""
262
 
263
- #. translators: 1: ERROR tag 2: meta_key
264
- #, php-format
265
- msgid "%1$s: Changing meta:%2$s; not found"
266
- msgstr "%1$s: Wijzig meta:%2$s; niet gevonden"
267
 
268
- #. translators: 1: meta_key
269
- #, php-format
270
- msgid "Deleting old %1$s values"
271
- msgstr "Verwijder oude %1$s waarden"
 
 
272
 
273
- #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
274
- #, php-format
275
- msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
276
- msgstr "Wijzig %1$s van \"%2$s\" in \"%3$s\"; %4$d wijzigingen"
 
 
277
 
278
- msgid "Could not retrieve Attachment."
279
- msgstr "Kan Attachment niet vinden."
 
 
 
 
280
 
281
- msgid "Title"
282
- msgstr "Titel"
 
 
 
 
283
 
284
- #. translators: 1: ERROR tag 2: old_value
285
- #, php-format
286
- msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
287
- msgstr "%1$s: Kon Naam/Slug \"%2$s\" niet wijzigen; naam bestaat al"
288
 
289
- msgid "Name/Slug"
290
- msgstr "Naam/Slug"
291
 
292
- #. translators: 1: old_value
293
- #, php-format
294
- msgid "Deleting ALT Text, was \"%1$s\""
295
- msgstr "Wijzig ALT Tekst, was \"%1$s\""
296
 
297
- #. translators: 1: ERROR tag 2: old_value
298
- #, php-format
299
- msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
300
- msgstr "%1$s: Kon ALT Tekst niet wijzigen, blijft \"%2$s\""
301
 
302
- msgid "ALT Text"
303
- msgstr "ALT Tekst"
304
 
305
- #. translators: 1: ERROR tag 2: old_value 3: new_value
306
- #, php-format
307
- msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
308
- msgstr "%1$s: Kon ALT Tekst niet wijzigen van \"%2$s\" in \"%3$s\""
309
 
310
- msgid "Caption"
311
- msgstr "Onderschrift"
312
 
313
- msgid "Description"
314
- msgstr "Beschrijving"
 
 
 
 
 
 
 
 
315
 
316
- msgid "Parent"
317
- msgstr "Parent"
318
 
319
- msgid "Menu Order"
320
- msgstr "Menu Volgorde"
 
 
 
 
321
 
322
- msgid "Author"
323
- msgstr "Auteur"
324
 
325
- msgid "Comments"
326
- msgstr "Commentaar"
327
 
328
- msgid "Pings"
329
- msgstr "Pings"
330
 
331
- msgid "Adding"
332
- msgstr "Toevoegen"
333
 
334
- msgid "Removing"
335
- msgstr "Verwijderen"
 
336
 
337
- msgid "Replacing"
338
- msgstr "Vervangen"
339
 
340
- msgid "Ignoring"
341
- msgstr "Negeren"
342
 
343
- #. translators: 1: action_name, 2: taxonomy
344
- #, php-format
345
- msgid "%1$s \"%2$s\" terms"
346
- msgstr "%1$s \"%2$s\" termen"
347
 
348
- #. translators: 1: taxonomy
349
- #, php-format
350
- msgid "You cannot assign \"%1$s\" terms"
351
- msgstr "Je kunt geen \"%1$s\" termen toekennen"
352
 
353
- #. translators: 1: post ID
354
- #, php-format
355
- msgid "Item %1$d, no changes detected."
356
- msgstr "Onderdeel %1$d, geen wijzigingen gevonden."
357
 
358
- #. translators: 1: post ID
359
- #, php-format
360
- msgid "Item %1$d updated."
361
- msgstr "Onderdeel %1$d gewijzigd."
362
 
363
- #. translators: 1: ERROR tag 2: post ID
364
- #, php-format
365
- msgid "%1$s: Item %2$d update failed."
366
- msgstr "%1$s: Onderdeel %2$d wijziging fout gegaan."
367
 
368
- msgctxt "tag_delimiter"
369
- msgid ","
370
- msgstr ","
371
 
372
- msgid "Upload New Media items"
373
- msgstr "Upload Nieuwe Media onderdelen"
374
 
375
- msgid "An ajax.fail error has occurred. Please reload the page and try again."
376
- msgstr ""
377
- "Een ajax.fail fout is opgetreden. Herlaad de pagina en probeer opnieuw."
378
 
379
- msgid "An ajax.done error has occurred. Please reload the page and try again."
380
- msgstr ""
381
- "Een ajax.done fout is opgetreden. Herlaad de pagina en probeer opnieuw."
382
 
383
- msgid "Open Bulk Edit area"
384
- msgstr "Open Bulk Edit gebied"
385
 
386
- msgid "Close Bulk Edit area"
387
- msgstr "Sluit Bulk Edit gebied"
 
 
 
 
388
 
389
- msgid "more"
390
- msgstr "meer"
391
 
392
- msgid "less"
393
- msgstr "minder"
 
 
 
 
394
 
395
- msgid "Add"
396
- msgstr "Voeg toe"
397
 
398
- msgid "Remove"
399
- msgstr "Verwijder"
400
 
401
- msgid "Replace"
402
- msgstr "Vervang"
 
 
 
 
403
 
404
  msgid ""
405
- "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
406
- "menu for more information."
 
407
  msgstr ""
408
- "BELANGRIJK: Maak uw berichten VOORDAT nieuwe items te uploaden. Kies het "
409
- "Help menu voor meer informatie."
 
 
410
 
411
- msgid "No Change"
412
- msgstr "Geen Wijziging"
413
 
414
- msgid "Allow"
415
- msgstr "Sta toe"
416
 
417
- msgid "Do not allow"
418
- msgstr "Sta niet toe"
 
 
 
 
 
 
 
419
 
420
- msgid "Parent ID"
421
- msgstr "Parent ID"
422
 
423
- msgid "Select"
424
- msgstr "Selecteer"
 
 
 
 
 
425
 
426
- msgid "Custom field mapping updated."
427
- msgstr "Custom veld vertaling gewijzigd."
428
 
429
- msgid "IPTC/EXIF mapping updated."
430
- msgstr "IPTC/EXIF vertaling gewijzigd."
431
 
432
- #. translators: date_i18n format for last modified date and time
433
- msgid "M j, Y @ G:i"
434
- msgstr "j M, Y @ G:i"
435
 
436
- msgid "Last modified"
437
- msgstr "Laatst gewijzigd"
 
 
 
 
438
 
439
- msgid "Map Custom Field metadata for this item"
440
- msgstr "Vertaal Custom Veld metadata voor dit onderdeel"
441
 
442
- msgid "Map Custom Field metadata"
443
- msgstr "Vertaal Custom Veld Metadata"
 
 
 
 
444
 
445
- msgid "Map IPTC/EXIF metadata for this item"
446
- msgstr "Vertaal IPTC/EXIF metadata voor dit onderdeel"
447
 
448
- msgid "Map IPTC/EXIF metadata"
449
- msgstr "Vertaal IPTC/EXIF metadata"
 
 
 
 
450
 
451
- msgid "Parent Info"
452
- msgstr "Parent Informatie"
453
 
454
- msgid "Attachment Metadata"
455
- msgstr "Attachment Metadata"
456
 
457
- msgid "Featured in"
458
- msgstr "Komt voor in"
 
 
 
 
459
 
460
- msgid "Inserted in"
461
- msgstr "Toegevoegd aan"
462
 
463
- msgid "Gallery in"
464
- msgstr "Galerij in"
 
 
 
 
465
 
466
- msgid "MLA Gallery in"
467
- msgstr "MLA Galerij in"
468
 
469
- #. translators: 1: ERROR tag 2: function name 3: template key
470
- #, php-format
471
- msgctxt "error_log"
472
- msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
473
- msgstr "%1$s: %2$s negeert \"%3$s\"; geen titel/volgorde"
474
 
475
- msgid "Scheduled"
476
- msgstr "Gepland"
477
 
478
- msgctxt "post state"
479
- msgid "Pending"
480
- msgstr "Wacht"
481
 
482
- msgid "Draft"
483
- msgstr "Voorstel"
484
 
485
- msgid "Post Parent"
486
- msgstr "Post Parent"
487
 
488
- msgid "Select Parent"
489
- msgstr "Selecteer Parent"
490
 
491
- msgid "PARENT"
492
- msgstr "PARENT"
493
 
494
- msgid "Most Used"
495
- msgstr "Meest Gebruikt"
496
 
497
- #. translators: %s: add new taxonomy label
498
- #, php-format
499
- msgid "+ %s"
500
- msgstr "+ %s"
501
 
502
- msgid "Search"
503
- msgstr "Zoek"
504
 
505
- msgctxt "list_table_column"
506
- msgid "ID/Parent"
507
- msgstr "ID/Parent"
508
 
509
- msgctxt "list_table_column"
510
- msgid "Title/Name"
511
- msgstr "Titel/Naam"
 
 
 
 
 
512
 
513
- msgctxt "list_table_column"
514
- msgid "Title"
515
- msgstr "Titel"
516
 
517
- msgctxt "list_table_column"
518
- msgid "Name"
519
- msgstr "Naam"
 
 
 
 
 
 
 
520
 
521
- msgctxt "list_table_column"
522
- msgid "Parent ID"
523
- msgstr "Parent ID"
524
 
525
- msgctxt "list_table_column"
526
- msgid "Menu Order"
527
- msgstr "Menu Volgorde"
 
 
 
 
528
 
529
- msgctxt "list_table_column"
530
- msgid "Featured in"
531
- msgstr "Komt voor in"
532
 
533
- msgctxt "list_table_column"
534
- msgid "Inserted in"
535
- msgstr "Toegevoegd aan"
536
 
537
- msgctxt "list_table_column"
538
- msgid "Gallery in"
539
- msgstr "Galerij in"
540
-
541
- msgctxt "list_table_column"
542
- msgid "MLA Gallery in"
543
- msgstr "MLA Galerij in"
544
 
545
- msgctxt "list_table_column"
546
- msgid "ALT Text"
547
- msgstr "ALT Tekst"
 
 
 
548
 
549
- msgctxt "list_table_column"
550
- msgid "Caption"
551
- msgstr "Onderschrift"
552
 
553
- msgctxt "list_table_column"
554
- msgid "Description"
555
- msgstr "Beschrijving"
556
 
557
- msgctxt "list_table_column"
558
- msgid "MIME Type"
559
- msgstr "MIME Type"
560
 
561
- msgctxt "list_table_column"
562
- msgid "File URL"
563
- msgstr "Bestand URL"
 
 
 
564
 
565
- msgctxt "list_table_column"
566
- msgid "Base File"
567
- msgstr "Bron Bestand"
568
 
569
- msgctxt "list_table_column"
570
- msgid "Date"
571
- msgstr "Datum"
 
 
 
 
 
572
 
573
- msgctxt "list_table_column"
574
- msgid "Last Modified"
575
- msgstr "Laatst Gewijzigd"
576
 
577
- msgctxt "list_table_column"
578
- msgid "Author"
579
- msgstr "Auteur"
580
 
581
- msgctxt "list_table_column"
582
- msgid "Attached to"
583
- msgstr "Gekoppeld aan"
584
 
585
- msgid "All"
586
- msgstr "Alles"
587
 
588
- msgid "List View"
589
- msgstr "Lijst weergave"
590
 
591
- msgid "None"
592
- msgstr "Geen"
593
 
594
- msgid "Filter by"
595
- msgstr "Filter"
596
 
597
- msgid "Not Supported"
598
- msgstr "Niet Ondersteund"
599
 
600
- #. translators: 1: column_name 2: column_values
601
- #, php-format
602
- msgid "column_default: %1$s, %2$s"
603
- msgstr "column_default: %1$s, %2$s"
604
 
605
- msgid "Edit"
606
- msgstr "Wijzig"
607
 
608
- msgid "Trash"
609
- msgstr "Prullenbak"
610
 
611
- msgid "Restore this item from the Trash"
612
- msgstr "Herstel dit onderdeel vanuit de Prullenbak"
613
 
614
- msgid "Restore"
615
- msgstr "Herstel"
616
 
617
- msgid "Edit this item"
618
- msgstr "Wijzig dit onderdeel"
619
 
620
- msgid "Edit this item inline"
621
- msgstr "Wijzig dit onderdeel \"inline\""
 
 
622
 
623
- msgid "Quick Edit"
624
- msgstr "Snel Wijzig"
625
 
626
- msgid "Move this item to the Trash"
627
- msgstr "Gooi dit onderdeel in de Prullenbak"
628
 
629
- msgid "Move to Trash"
630
- msgstr "Gooi in Prullenbak"
631
 
632
- msgid "Delete this item Permanently"
633
- msgstr "Verwijder dit onderdeel Permanent"
 
 
634
 
635
- msgid "Delete Permanently"
636
- msgstr "Verwijder Permanent"
637
 
638
- msgid "Download"
639
- msgstr "Download"
 
 
 
 
 
 
640
 
641
- msgid "View"
642
- msgstr "Bekijk"
643
 
644
- msgid "(no title)"
645
- msgstr "(geen titel)"
 
 
 
 
 
 
 
 
 
 
 
 
646
 
647
- msgid "(no title: bad ID)"
648
- msgstr "(geen titel: foutief ID)"
 
649
 
650
- msgid "Disabled"
651
- msgstr "Uitgezet"
652
 
653
- msgid "MIME Type"
654
- msgstr "MIME Type"
655
 
656
- msgid "Base File"
657
- msgstr "Bron Bestand"
 
 
 
 
 
 
 
 
 
 
658
 
659
- msgid "Unpublished"
660
- msgstr "Niet gepubliceerd"
661
 
662
- #. translators: 1: upload/last modified date and time
663
- #, php-format
664
- msgid "%1$s from now"
665
- msgstr "%1$s van nu"
 
 
 
 
 
666
 
667
- #. translators: 1: upload/last modified date and time
668
- #, php-format
669
- msgid "%1$s ago"
670
- msgstr "%1$s geleden"
671
 
672
- #. translators: format for upload/last modified date
673
- #. translators: date format in table columns, see http://php.net/date
674
- msgid "Y/m/d"
675
- msgstr "Y/m/d"
 
 
676
 
677
- msgctxt "table_view_singular"
678
- msgid "Unattached"
679
- msgstr "Ongekoppeld"
680
 
681
- msgid "Set Parent"
682
- msgstr "Zet Parent"
 
 
 
 
 
 
 
 
 
 
 
683
 
684
- msgctxt "uploaded files"
685
- msgid "All"
686
- msgid_plural "All"
687
- msgstr[0] "Een"
688
- msgstr[1] "Alle"
689
 
690
- msgid "Filter"
691
- msgstr "Filter"
 
 
 
 
 
 
 
692
 
693
- msgid "Terms Search"
694
- msgstr "Termen Zoeken"
695
 
696
- msgid "Clear Filter-by"
697
- msgstr "Schoon Filter-door"
 
 
 
 
 
 
 
 
698
 
699
- msgid "Empty Trash"
700
- msgstr "Leeg Prullenbak"
701
 
702
- msgid "Error while saving the changes."
703
- msgstr "Fout tijdens opslaan wijzigingen."
 
 
 
 
 
 
704
 
705
- msgid "Remove From Bulk Edit"
706
- msgstr "Verwijder Uit Bulk Edit"
 
 
 
 
 
 
 
 
 
707
 
708
- msgid "Bulk Edit items"
709
- msgstr "Bulk Edit onderdelen"
710
 
711
- msgid "Waiting"
712
- msgstr "Wacht"
 
 
 
 
 
 
713
 
714
- msgid "Complete"
715
- msgstr "Gereed"
716
 
717
- msgid "Unchanged"
718
- msgstr "Ongewijzigd"
 
 
 
 
 
 
 
 
 
 
719
 
720
- msgid "Succeeded"
721
- msgstr "Geslaagd"
 
 
 
 
 
722
 
723
- msgid "Failed"
724
- msgstr "Mislukt"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
725
 
726
- msgid "CANCELED"
727
- msgstr "GESTOPT"
728
 
729
- #, php-format
730
- msgid "Item permanently deleted."
731
- msgid_plural "%d items permanently deleted."
732
- msgstr[0] "Onderdeel permanent verwijderd."
733
- msgstr[1] "%d onderdelen permanent verwijderd."
734
 
735
- #. translators: 1: post ID
736
- #, php-format
737
- msgid "Item %1$d moved to Trash."
738
- msgstr "Onderdeel %1$d in Prullenbak geplaatst."
739
 
740
- msgid "Entries per page"
741
- msgstr "Berichten per pagina"
742
 
743
- msgid "You are not allowed to edit Attachment: "
744
- msgstr "U mag deze Attachment niet wijzigen: "
745
 
746
- #. translators: 1: ERROR tag 2: bulk action
747
- #, php-format
748
- msgid "%1$s: Unknown bulk action %2$s"
749
- msgstr "%1$s: Onbekende bulk actie %2$s"
750
 
751
- msgid "no changes detected"
752
- msgstr "geen wijzigingen gevonden"
 
 
 
 
753
 
754
- #. translators: 1: action name, e.g., edit
755
- #, php-format
756
- msgid "Bulk Action %1$s - no items selected."
757
- msgstr "Bulk Actie %1$s - geen onderdelen geselecteerd."
758
 
759
- msgid "You do not have permission to manage attachments."
760
- msgstr "U heeft geen rechten om attachments te beheren."
 
761
 
762
- #. translators: 1: number of items
763
- #, php-format
764
- msgctxt "deleted items"
765
- msgid "%s item deleted."
766
- msgid_plural "%s items deleted."
767
- msgstr[0] "%s onderdeel verwijderd."
768
- msgstr[1] "%s onderdelen verwijderd."
769
 
770
- msgid "No items deleted."
771
- msgstr "Geen onderdelen verwijderd."
 
772
 
773
- msgid "Empty Terms Search; ignored"
774
- msgstr "Leeg Termen Zoek; genegeerd"
 
775
 
776
- #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
777
- #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
778
- #, php-format
779
- msgid "Unknown mla_admin_action - \"%1$s\""
780
- msgstr "Onbekende mla_admin_action - \"%1$s\""
781
 
782
- msgid "term search results for"
783
- msgstr "zoekterm resultaat voor"
 
784
 
785
- msgid "post/parent results for"
786
- msgstr "post/parent resultaat voor"
 
787
 
788
- msgid "search results for"
789
- msgstr "zoekresultaat voor"
 
790
 
791
- msgid "Type"
792
- msgstr "Type"
 
793
 
794
- msgid "Date"
795
- msgstr "Datum"
 
796
 
797
- msgid "Status"
798
- msgstr "Status"
 
799
 
800
- msgid "Published"
801
- msgstr "Gepubliceerd"
 
802
 
803
- msgid "Pending Review"
804
- msgstr "Wacht op Review"
 
805
 
806
- msgid "No post ID found"
807
- msgstr "Geen post ID gevonden"
 
808
 
809
- msgid "You are not allowed to edit this Attachment."
810
- msgstr "U mag deze Attachment niet bewerken."
 
811
 
812
- msgid "Update"
813
- msgstr "Bijwerken"
 
814
 
815
- msgid "All Post Types"
816
- msgstr "Alle Post Types"
 
817
 
818
- msgid "For"
819
- msgstr "Voor"
 
820
 
 
821
  msgid "Unattached"
822
  msgstr "Ongekoppeld"
823
 
824
- msgid "Cancel"
825
- msgstr "Beëindig"
826
-
827
- msgid "Bulk Edit"
828
- msgstr "Bulk Edit"
829
-
830
- msgid "In-process"
831
- msgstr "In bewerking"
832
-
833
- msgid "Refresh"
834
- msgstr "Ververs"
835
-
836
- msgid "You are not allowed to delete this item."
837
- msgstr "U mag dit onderdeel niet verwijderen."
838
-
839
- #. translators: 1: ERROR tag 2: post ID
840
- #, php-format
841
- msgid "%1$s: Item %2$d could NOT be deleted."
842
- msgstr "%1$s: Onderdeel %2$d kon NIET verwijderd worden."
843
-
844
- #. translators: 1: post ID
845
- #, php-format
846
- msgid "Item %1$d permanently deleted."
847
- msgstr "Onderdeel %1$d permanent verwijderd."
848
-
849
- msgid "You are not allowed to move this item out of the Trash."
850
- msgstr "U mag dit onderdeel niet uit de Prullenbak verwijderen."
851
 
852
- #. translators: 1: ERROR tag 2: post ID
853
- #, php-format
854
- msgid "%1$s: Item %2$d could NOT be restored from Trash."
855
- msgstr "%1$s: Onderdeel %2$d kon NIET hersteld worden uit de Prullenbak."
856
 
857
- #. translators: 1: post ID
858
- #, php-format
859
- msgid "Item %1$d restored from Trash."
860
- msgstr "Onderdeel %1$d hersteld vanuit Prullenbak."
861
 
862
- msgid "You are not allowed to move this item to the Trash."
863
- msgstr "U mag dit onderdeel niet verwijderen uit de Prullenbak."
 
864
 
865
- #. translators: 1: ERROR tag 2: post ID
866
- #, php-format
867
- msgid "%1$s: Item %2$d could NOT be moved to Trash."
868
- msgstr "%1$s: Onderdeel %2$d kon NIET verwijderd worden uit de Prullenbak."
869
 
870
- msgid "Click to toggle"
871
- msgstr "Klik om te switchen"
872
 
873
- msgid "Show all dates"
874
- msgstr "Toon alle data"
 
 
 
 
 
875
 
876
- #. translators: 1: month name, 2: 4-digit year
877
- #, php-format
878
- msgid "%1$s %2$d"
879
- msgstr "%1$s %2$d"
880
 
881
- msgid "Search Box"
882
- msgstr "Zoek Box"
883
 
884
- msgid "Loading..."
885
- msgstr "Laden..."
 
 
 
 
 
886
 
887
- msgid "Tags"
888
- msgstr "Tags"
889
 
890
- #. translators: %s: add new taxonomy label
891
- #. translators: %s: add new View
892
- #. translators: %s: add new Upload MIME Type
893
- #, php-format
894
- msgid "Add New %1$s"
895
- msgstr "Voeg Nieuw %1$s Toe"
896
 
897
- msgid "Choose from the most used tags"
898
- msgstr "Kies vanuit de meest gebruikte tags"
899
 
900
- msgid "Search Terms"
901
- msgstr "Zoek Termen"
 
 
 
 
902
 
903
- msgid "There are no taxonomies to search"
904
- msgstr "Er zijn geen taxonomieën te doorzoeken"
905
 
906
- msgid "All phrases"
907
- msgstr "Alle regels"
 
 
 
 
 
908
 
909
- msgid "Any phrase"
910
- msgstr "Willekeurige regel"
911
 
912
- msgid "All terms"
913
- msgstr "Alle termen"
 
 
 
 
914
 
915
- msgid "Any term"
916
- msgstr "Willekeurige term"
917
 
918
- msgid "Exact"
919
- msgstr "Exact"
 
 
 
 
920
 
921
- msgctxt "post_mime_types"
922
- msgid "Manage"
923
- msgstr "Beheer"
 
 
924
 
925
- msgctxt "post_mime_types_description"
926
- msgid "Copied from previous filter/plugin"
927
- msgstr "Gekopieerd van vorig(e) filter/plugin"
 
 
928
 
929
  #. translators: 1: ERROR tag 2: raw_mime_type
930
  #, php-format
@@ -941,1144 +1047,1071 @@ msgstr "%1$s: Foutieve specificatie optie \"%2$s\""
941
  msgid "%1$s: Bad specification prefix \"%2$s\""
942
  msgstr "%1$s: Foutieve specificatie prefix \"%2$s\""
943
 
944
- msgid "Ignoring specification for Post MIME Type; using slug"
945
- msgstr "Negeer specificatie voor Post MIME Type; gebruik slug"
946
 
947
- #. translators: 1: element name 2: bad_value 3: good_value
948
  #, php-format
949
- msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
950
- msgstr "<br>Wijzig %1$s \"%2$s\" naar juiste waarde \"%3$s\""
951
 
952
- msgid "Slug"
953
- msgstr "Slug"
954
 
955
- #. translators: 1: ERROR tag 2: slug
956
  #, php-format
957
- msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
958
- msgstr "%1$s: Kon Slug \"%2$s\" niet toevoegen; waarde bestaat al"
 
 
959
 
960
- #. translators: 1: slug
961
  #, php-format
962
- msgid "Edit view \"%1$s\"; added"
963
- msgstr "Bewerk view \"%1$s\"; toegevoegd"
 
964
 
965
- #. translators: 1: element name 2: bad_value 3: good_value
966
  #, php-format
967
- msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
968
- msgstr "<br>Wijzig nieuw %1$s \"%2$s\" naar juiste waarde \"%3$s\""
 
969
 
970
- #. translators: 1: slug
971
  #, php-format
972
- msgid "Edit view \"%1$s\"; no changes detected"
973
- msgstr "Bewerk view \"%1$s\"; geen wijzigingen gevonden"
 
974
 
975
- #. translators: 1: slug
976
  #, php-format
977
- msgid "Edit view \"%1$s\"; updated"
978
- msgstr "Bewerk view \"%1$s\"; gewijzigd"
 
979
 
980
- #. translators: 1: slug
981
- #, php-format
982
- msgid "View \"%1$s\" reverted to standard"
983
- msgstr "View \"%1$s\" teruggezet naar standaard"
984
 
985
- #. translators: 1: slug
986
- #, php-format
987
- msgid "View \"%1$s\" deleted"
988
- msgstr "View \"%1$s\" verwijderd"
989
 
990
- #. translators: 1: ERROR tag 2: slug
991
- #, php-format
992
- msgid "%1$s: Did not find view \"%2$s\""
993
- msgstr "%1$s: Kon view \"%2$s\" niet vinden"
994
 
995
- msgctxt "table_view_singular"
996
- msgid "All"
997
- msgstr "Alles"
998
 
999
- msgctxt "table_view_plural"
1000
- msgid "All"
1001
- msgstr "Alles"
1002
 
1003
- msgctxt "table_view_singular"
1004
- msgid "Active"
1005
- msgstr "Actief"
1006
 
1007
- msgctxt "table_view_plural"
1008
- msgid "Active"
1009
- msgstr "Actief"
1010
-
1011
- msgctxt "table_view_singular"
1012
- msgid "Inactive"
1013
- msgstr "Inactief"
1014
 
1015
- msgctxt "table_view_plural"
1016
- msgid "Inactive"
1017
- msgstr "Inactief"
1018
 
1019
- msgctxt "table_view_singular"
1020
- msgid "WordPress"
1021
- msgstr "WordPress"
1022
 
1023
- msgctxt "table_view_plural"
1024
- msgid "WordPress"
1025
- msgstr "WordPress"
1026
 
1027
- msgctxt "table_view_singular"
1028
- msgid "MLA"
1029
- msgstr "MLA"
1030
 
1031
- msgctxt "table_view_plural"
1032
- msgid "MLA"
1033
- msgstr "MLA"
1034
 
1035
- msgctxt "table_view_singular"
1036
- msgid "Custom"
1037
- msgstr "Custom"
1038
 
1039
- msgctxt "table_view_plural"
1040
- msgid "Custom"
1041
- msgstr "Custom"
1042
 
1043
- msgid "icon"
1044
- msgstr "symbool"
 
1045
 
1046
- msgid "Cannot load Upload MIME Types"
1047
- msgstr "Kan Upload MIME Types niet laden"
 
1048
 
1049
- msgid "Extension is required"
1050
- msgstr "Extensie is verplicht"
 
1051
 
1052
- msgid "Extension"
1053
- msgstr "Extensie"
 
1054
 
1055
- #. translators: 1: ERROR tag 2: slug
1056
- #, php-format
1057
- msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1058
- msgstr "%1$s: Kon extensie \"%2$s\" niet toevoegen; waarde bestaat al"
1059
 
1060
- msgid "MIME type is required"
1061
- msgstr "MIME type is verplicht"
 
1062
 
1063
- #. translators: 1: ERROR tag 2: clean_mime_type
1064
  #, php-format
1065
- msgid "%1$s: Bad MIME type; try \"%2$s\""
1066
- msgstr "%1$s: Foutief MIME type; probeer \"%2$s\""
 
1067
 
1068
- #. translators: 1: slug
1069
  #, php-format
1070
- msgid "Upload MIME Type \"%1$s\"; added"
1071
- msgstr "Upload MIME Type \"%1$s\"; toegevoegd"
 
1072
 
1073
- msgid "Cannot update Upload MIME Types"
1074
- msgstr "Kan Upload MIME Types niet bijwerken"
1075
 
1076
- #. translators: 1: ERROR tag 2: slug
1077
  #, php-format
1078
- msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1079
- msgstr "%1$s: Kon nieuwe extensie \"%2$s\" niet toevoegen; waarde bestaat al"
 
1080
 
1081
- #. translators: 1: slug
1082
  #, php-format
1083
- msgid "Edit type \"%1$s\"; no changes detected"
1084
- msgstr "Bewerk type \"%1$s\"; geen wijzigingen gevonden"
 
1085
 
1086
- #. translators: 1: slug
1087
  #, php-format
1088
- msgid "Edit type \"%1$s\"; updated"
1089
- msgstr "Bewerk type \"%1$s\"; bijgewerkt"
 
1090
 
1091
- #. translators: 1: slug
1092
  #, php-format
1093
- msgid "Upload MIME Type \"%1$s\"; reverted to standard"
1094
- msgstr "Upload MIME Type \"%1$s\"; teruggezet naar standaard"
 
1095
 
1096
- #. translators: 1: slug
1097
  #, php-format
1098
- msgid "Upload MIME Type \"%1$s\"; deleted"
1099
- msgstr "Upload MIME Type \"%1$s\"; verwijderd"
 
1100
 
1101
- #. translators: 1: ERROR tag 2: slug
1102
  #, php-format
1103
- msgid "%1$s: Did not find Upload type \"%2$s\""
1104
- msgstr "%1$s: Kon Upload type \"%2$s\" niet vinden"
1105
-
1106
- msgctxt "taxonomy_name_plural"
1107
- msgid "Att. Categories"
1108
- msgstr "Gekopp. Categorieën"
1109
-
1110
- msgctxt "taxonomy_name_singular"
1111
- msgid "Att. Category"
1112
- msgstr "Gekopp. Categorie"
1113
-
1114
- msgid "Search Att. Categories"
1115
- msgstr "Zoek Gekopp. Categorieën"
1116
-
1117
- msgid "All Att. Categories"
1118
- msgstr "Alle Gekopp. Categorieën"
1119
 
1120
- msgid "Parent Att. Category"
1121
- msgstr "Parent Gekopp. Categorie"
 
 
 
1122
 
1123
- msgid "Edit Att. Category"
1124
- msgstr "Bewerk Gekopp. Categorie"
 
 
 
1125
 
1126
- msgid "Update Att. Category"
1127
- msgstr "Wijzig Gekopp. Categorie"
1128
 
1129
- msgid "Att. Category"
1130
- msgstr "Gekopp. Categorie"
1131
 
1132
- msgid "New Att. Category Name"
1133
- msgstr "Nieuwe Gekopp. Categorie Naam"
1134
 
1135
- msgctxt "taxonomy_name_plural"
1136
- msgid "Att. Tags"
1137
- msgstr "Gekopp. Tags"
1138
 
1139
- msgctxt "taxonomy_name_singular"
1140
- msgid "Att. Tag"
1141
- msgstr "Gekopp. Tag"
1142
 
1143
- msgid "Search Att. Tags"
1144
- msgstr "Zoek Gekopp. Tags"
 
 
1145
 
1146
- msgid "All Att. Tags"
1147
- msgstr "Alle Gekopp. Tags"
 
 
 
 
 
 
1148
 
1149
- msgid "Parent Att. Tag"
1150
- msgstr "Parent Gekopp. Tag"
 
 
 
 
 
 
1151
 
1152
- msgid "Edit Att. Tag"
1153
- msgstr "Bewerk Gekopp. Tag"
 
 
 
1154
 
1155
- msgid "Update Att. Tag"
1156
- msgstr "Wijzig Gekopp. Tag"
 
 
 
1157
 
1158
- msgid "Att. Tag"
1159
- msgstr "Gekopp. Tag"
1160
 
1161
- msgid "New Att. Tag Name"
1162
- msgstr "Nieuwe Gekopp. Tag Naam"
 
 
 
1163
 
1164
- msgid "Attachments"
1165
- msgstr "Attachments"
 
 
 
1166
 
1167
- #. translators: 1: ERROR tag 2: taxonomy 3: error message
1168
  #, php-format
1169
  msgctxt "error_log"
1170
  msgid ""
1171
- "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
1172
- msgstr ""
1173
- "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term foutief: \"%3$s\""
1174
-
1175
- msgid "click to search"
1176
- msgstr "klik om te zoeken"
1177
 
1178
- msgid "Shortcode(s), HTML and/or Plain Text"
1179
- msgstr "Shortcode(s), HTML en/of Gewone Tekst"
 
 
 
1180
 
1181
- msgid "MLA Text"
1182
- msgstr "MLA Tekst"
 
 
 
1183
 
1184
- msgid "Automatically add paragraphs"
1185
- msgstr "Voeg automatisch paragrafen toe"
 
1186
 
1187
- msgid "error loading tpls/mla-option-templates.tpl"
1188
- msgstr "fout bij laden tpls/mla-option-templates.tpl"
 
1189
 
1190
- msgid "tpls/mla-option-templates.tpl not found"
1191
- msgstr "tpls/mla-option-templates.tpl niet gevonden"
1192
 
1193
- msgid "Attachment Categories"
1194
- msgstr "Attachment Categorieën"
1195
 
1196
- msgid "Check this option to add support for Attachment Categories."
1197
- msgstr ""
1198
- "Kies deze optie om ondersteuning voor Attachment Categorieën toe te voegen."
 
1199
 
1200
- msgid "Attachment Tags"
1201
- msgstr "Attachment Tags"
 
 
1202
 
1203
- msgid "Check this option to add support for Attachment Tags."
1204
- msgstr "Kies deze optie om ondersteuning voor Attachment Tags toe te voegen."
 
 
 
 
1205
 
1206
- msgid "Where-used Reporting"
1207
- msgstr "Waar-gebruikt Rapportage"
 
 
1208
 
1209
- msgid "Exclude Revisions"
1210
- msgstr "Sluit Revisies Uit"
 
 
1211
 
1212
- msgid "Check this option to exclude revisions from where-used reporting."
1213
- msgstr ""
1214
- "Kies deze optie om revisies van de waar-gebruikt rapportage uit te sluiten."
 
1215
 
1216
- msgid "Where-used database access tuning"
1217
- msgstr "Waar-gebruikt database toegang tuning"
 
 
1218
 
1219
- msgid "Enabled"
1220
- msgstr "Gekozen"
 
 
1221
 
1222
- msgid "Search database posts and pages for Featured Image attachments."
1223
- msgstr ""
1224
- "Doorzoek database berichten en paginas naar Gekoppelde Afbeelding "
1225
- "attachments."
1226
 
1227
- msgid "Base"
1228
- msgstr "Basis"
1229
 
1230
- msgid ""
1231
- "Search database posts and pages for attachments embedded in content."
1232
- "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
1233
- "name and extension only."
1234
- msgstr ""
1235
- "Doorzoek database berichten en paginas naar attachments opgenomen in de "
1236
- "inhoud.<br>&nbsp;&nbsp;Basis = negeer gemiddelde omvang suffixen; gebruik "
1237
- "alleen pad, basis naam en extensie."
1238
 
1239
- msgid "Dynamic"
1240
- msgstr "Dynamisch"
 
 
1241
 
1242
- msgid "Cached"
1243
- msgstr "Gecachet"
 
 
1244
 
1245
- msgid ""
1246
- "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
1247
- "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
1248
- "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
1249
- msgstr ""
1250
- "Doorzoek database berichten en paginas naar [gallery] shortcode resultaten."
1251
- "<br>&nbsp;&nbsp;Dynamisch = eenmaal per pagina load, Gecachet = eenmaal elke "
1252
- "login, Niet gekozen = nooit.<br>&nbsp;&nbsp;Ververs = werk referenties bij, "
1253
- "daarna op Gecachet."
1254
 
1255
- msgid ""
1256
- "Search database posts and pages for [mla_gallery] shortcode results."
1257
- "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
1258
- "Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to "
1259
- "Cached."
1260
- msgstr ""
1261
- "Doorzoek database berichten en paginas naar [mla_gallery] shortcode "
1262
- "resultaten.<br>&nbsp;&nbsp;Dynamisch = eenmaal per pagina load, Gecachet = "
1263
- "eenmaal per login, Niet gekozen = nooit.<br>&nbsp;&nbsp;Ververs = werk "
1264
- "referenties bij, daarna op Gecachet."
1265
 
1266
- msgid "Taxonomy Support"
1267
- msgstr "Taxonomie Ondersteuning"
1268
 
1269
- msgid "Compute Attachments Column"
1270
- msgstr "Bereken Attachments Kolom"
1271
 
1272
- msgid ""
1273
- "Check this option to calculate attachments per term in the Attachments "
1274
- "Column."
1275
- msgstr ""
1276
- "Kies deze optie om attachments per term in de Attachments Kolom te berekenen."
1277
 
1278
- msgid ""
1279
- "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
1280
- "Assistant and the Edit Media screen."
1281
- msgstr ""
1282
- "Kies de \"<strong>Ondersteuning</strong>\" box om de taxonomie toe te voegen "
1283
- "aan het Assistant en Bewerk Media scherm."
1284
 
1285
- msgid ""
1286
- "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
1287
- "the Quick Edit and Bulk Edit areas."
1288
- msgstr ""
1289
- "Kies de \"<strong>Inline Bewerk</strong>\" box om de taxonomie te tonen in "
1290
- "de Quick Edit en Bulk Edit gebieden."
1291
 
1292
- msgid ""
1293
- "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
1294
- "\"Search Media/Terms\" list."
1295
- msgstr ""
1296
- "Kies de \"<strong>Zoek Term</strong>\" box om de taxonomie toe te voegen aan "
1297
- "de \"Zoek Media/Termen\" lijst."
1298
 
1299
- msgid "For complete documentation"
1300
- msgstr "Voor volledige documentatie"
1301
 
1302
- msgid "click here"
1303
- msgstr "klik hier"
1304
 
1305
- msgid ""
1306
- "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
1307
- "meta box for a flat taxonomy."
1308
- msgstr ""
1309
- "Kies de \"<strong>Checklist</strong>\" box om de checklist-stijl meta box te "
1310
- "activeren voor een platte taxonomie."
1311
 
1312
- msgid ""
1313
- "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
1314
- "strong> box below to enable this feature."
1315
- msgstr ""
1316
- "U moet ook de <strong>\"Activeer uitgebreide checklist taxonomieën\"</"
1317
- "strong> box kiezen om deze mogelijkheid te kunnen activeren."
1318
 
1319
- msgid ""
1320
- "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
1321
- "the top of the checklist-style meta box."
1322
- msgstr ""
1323
- "Kies de \"<strong>Gekozen bovenaan</strong>\" box om gekozen termen aan de "
1324
- "bovenkant van de checklist-stijl meta box te tonen."
1325
 
1326
- msgid ""
1327
- "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
1328
- "which to filter the Assistant table listing."
1329
- msgstr ""
1330
- "Gebruik de \"<strong>Lijst Filter</strong>\" optie om de taxonomie waarop "
1331
- "gefilterd moet worden in de Assistant tabel listing."
1332
 
1333
- msgid "Media/Assistant Screen Options"
1334
- msgstr "Media/Assistant Scherm Opties"
 
 
1335
 
1336
- msgid "Admin Menu Options"
1337
- msgstr "Admin Menu Opties"
 
1338
 
1339
- msgid "Page Title"
1340
- msgstr "Pagina Titel"
1341
 
1342
- #. translators: Name of the plugin/theme
1343
- msgid "Media Library Assistant"
1344
- msgstr "Media Library Assistant"
1345
 
1346
- msgid "Enter the title for the Media/Assistant submenu page"
1347
- msgstr "Geef de titel voor de Media/Assistant submenu pagina"
1348
 
1349
- msgid "Menu Title"
1350
- msgstr "Menu Titel"
 
1351
 
1352
- msgid "Assistant"
1353
- msgstr "Assistent"
 
1354
 
1355
- msgid "Enter the title for the Media/Assistant submenu entry"
1356
- msgstr "Geef de titel voor het Media/Assistant submenu bericht"
1357
 
1358
- msgid "Submenu Order"
1359
- msgstr "Submenu Volgorde"
1360
 
1361
- msgid ""
1362
- "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
1363
- "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
1364
- "&nbsp;6-9 = after \"Library\",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after \"Add New"
1365
- "\""
1366
- msgstr ""
1367
- "Geef de positie op voor het Media/Assistant submenu bericht.<br>&nbsp;"
1368
- "&nbsp;0 = natuurlijke volgorde (aan de onderkant),&nbsp;&nbsp;&nbsp;&nbsp;1 "
1369
- "- 4 = aan de bovenkant<br>&nbsp;&nbsp;6-9 = na \"Bibliotheek\",&nbsp;&nbsp;"
1370
- "&nbsp;&nbsp;11-16 = na \"Voeg Toe\""
1371
 
1372
- msgid "Display Media/Library"
1373
- msgstr "Toon Media/Bibliotheek"
 
 
 
1374
 
1375
  msgid ""
1376
- "Check/uncheck this option to display/remove the WordPress Media/Library "
1377
- "submenu entry."
1378
  msgstr ""
1379
- "Gebruik deze optie om het WordPress Media/Bibliotheek submenu bericht te "
1380
- "tonen/verbergen."
1381
-
1382
- msgid "Table Defaults"
1383
- msgstr "Tabel Defaults"
1384
 
1385
- msgid "Order By"
1386
- msgstr "Sorteer Op"
1387
 
1388
- msgid "Title/Name"
1389
- msgstr "Titel/Naam"
1390
 
1391
- msgid "Select the column for the sort order of the Assistant table listing."
1392
- msgstr ""
1393
- "Selecteer de kolom voor de sorteervolgorde van de Assistant tabel listing."
1394
 
1395
- msgid "Order"
1396
- msgstr "Volgorde"
1397
 
1398
- msgid "Ascending"
1399
- msgstr "Oplopend"
1400
 
1401
- msgid "Descending"
1402
- msgstr "Aflopend"
1403
 
1404
- msgid "Choose the sort order."
1405
- msgstr "Kies de sorteervolgorde."
1406
 
1407
- msgid "Views Width"
1408
- msgstr "View Breedte"
1409
 
1410
- msgid "Enter the width for the views list, in pixels (px) or percent (%)"
1411
- msgstr "Geef de breedte op voor de views list, in pixels (px) of procent (%)"
 
1412
 
1413
- msgid "Icon Size"
1414
- msgstr "Symbool Grootte"
1415
 
1416
- msgid "Enter the size of the thumbnail/icon images, in pixels"
1417
- msgstr "Geef de grootte van de thumbnail/symbool afbeeldingen, in pixels"
1418
 
1419
- msgid "Bulk Chunk Size"
1420
- msgstr "Bulk Chunk Grootte"
1421
 
1422
- msgid "Enter the size of the Bulk Edit and Map All processing chunks"
1423
- msgstr "Geef de grootte van de Bulk Edit en Vertaal alle verwerking chunks"
1424
 
1425
- msgid "Taxonomy Filter parameters"
1426
- msgstr "Taxonomie Filter parameters"
1427
 
1428
- msgid "Maximum Depth"
1429
- msgstr "Maximum Diepte"
1430
 
1431
- msgid ""
1432
- "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
1433
- "for no limit."
1434
- msgstr ""
1435
- "Geef het aantal te tonen levels voor hierarchische taxonomieën; toets nul "
1436
- "voor geen limiet."
1437
 
1438
- msgid "Include Children"
1439
- msgstr "Inclusief Kinderen"
 
 
 
1440
 
1441
- msgid ""
1442
- "Check/uncheck this option to include/exclude children for hierarchical "
1443
- "taxonomies."
1444
- msgstr ""
1445
- "Gebruik deze optie om kinderen wel/niet op te nemen in hierarchische "
1446
- "taxonomieën."
1447
 
1448
- msgid "Search Media Defaults"
1449
- msgstr "Zoek Media Defaults"
1450
 
1451
- msgid "Display Search Controls"
1452
- msgstr "Toon Zoek Besturing"
1453
 
1454
- msgid ""
1455
- "Check/uncheck this option to display/hide the and/or connector and search "
1456
- "fields controls."
1457
- msgstr ""
1458
- "Gebruik deze optie om en/of connectoren en zoek veld besturing te tonen/"
1459
- "verbergen."
1460
 
1461
- msgid ""
1462
- "Use these controls to set defaults for the and/or connector and search "
1463
- "fields controls.<br>These defaults will be used for the Search Media boxes "
1464
- "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
1465
- msgstr ""
1466
- "Gebruik deze besturing om defaults voor de en/of connector en zoek veld "
1467
- "besturing te zetten.<br>Deze defaults zullen voor de Zoek Media boxen bij "
1468
- "zowel het Media/Assistant submenu<br>en de Media Manager Modal Window worden "
1469
- "gebruikt."
1470
 
1471
- msgid "Media/Edit Media Enhancements"
1472
- msgstr "Media/Bewerk Media Toevoegingen"
1473
 
1474
- msgid "Enable &quot;enhanced checklist&quot; taxonomies"
1475
- msgstr "Activeer &quot;verbeterde checklist&quot; taxonomieën"
1476
 
1477
- msgid ""
1478
- "Check this option to enable the \"? Search\" feature for hierarchical "
1479
- "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
1480
- "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
1481
- msgstr ""
1482
- "Kies deze optie om de \"? Zoek\" mogelijkheid voor hierarchische taxonomieën "
1483
- "te gebruiken, bijv., Gekopp. Categorieën.<br>&nbsp;&nbsp;Deze optie "
1484
- "activeert ook de mogelijkheid van de \"checklist-stijl\" ondersteuning van "
1485
- "platte taxonomieën, bijv., Gekopp. Tags."
1486
 
1487
- msgid "Enable Edit Media additional meta boxes"
1488
- msgstr "Activeer Bewerk Media additionele meta boxen"
 
 
1489
 
1490
- msgid ""
1491
- "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
1492
- "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
1493
- msgstr ""
1494
- "Kies deze optie om \"Parent Info\", \"Menu Volgorde\", \"Attachment Metadata"
1495
- "\" en vier \"waar-gebruikt\" meta boxen toe te voegen aan het Bewerk Media "
1496
- "scherm."
1497
 
1498
- msgid "You can also use Filters to customize the meta boxes."
1499
- msgstr "U kunt ook Filters gebruiken om de meta boxen te wijzigen."
1500
 
1501
- msgid "Media/Add New Enhancements"
1502
- msgstr "Media/Voeg Nieuwe Uitbreidingen Toe"
1503
 
1504
- msgid "Enable &quot;bulk edit&quot; area"
1505
- msgstr "Activeer &quot;bulk edit&quot; gebied"
1506
 
1507
- msgid ""
1508
- "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
1509
- "New screen."
1510
- msgstr ""
1511
- "Kies deze optie om de \"Bulk Edit gebied\" mogelijkheid te activeren op het "
1512
- "Media/Voeg Toe scherm."
1513
 
1514
- msgid "Media Manager/Media Grid Enhancements"
1515
- msgstr "Media Manager/Media Grid Uitbreidingen"
1516
 
1517
- msgid "Enable Media Grid Enhancements"
1518
- msgstr "Activeer Media Grid Uitbreidingen"
1519
 
1520
- msgid ""
1521
- "Check/uncheck this option to enable/disable Media Library Grid View "
1522
- "Enhancements."
1523
- msgstr ""
1524
- "Gebruik deze optie om de Media Bibliotheek Grid View Uitbreidingen te "
1525
- "activeren."
1526
 
1527
- msgid "Enable Media Manager Enhancements"
1528
- msgstr "Activeer Media Manager Uitbreidingen"
1529
 
1530
- msgid ""
1531
- "Check/uncheck this option to enable/disable Media Manager Modal Window "
1532
- "Enhancements."
1533
- msgstr ""
1534
- "Gebruik deze optie om de Media Manager Modal Window Uitbreidingen te "
1535
- "activeren."
1536
 
1537
- msgid "Media Manager Enhanced MIME Type filter"
1538
- msgstr "Media Manager Enhanced MIME Type filter"
1539
 
1540
- msgid ""
1541
- "Check this option to filter by more MIME Types, e.g., text, applications."
1542
- msgstr ""
1543
- "Gebruik deze optie om op meer MIME Typen te filteren, bijv., tekst, "
1544
- "applicaties."
1545
 
1546
- msgid "Media Manager Month and Year filter"
1547
- msgstr "Media Manager Maand en Jaar filter"
1548
 
1549
- msgid "Check this option to filter by month and year uploaded."
1550
- msgstr "Gebruik deze optie om op maand en jaar van upload te filteren."
1551
 
1552
- msgid "Media Manager Category/Tag filter"
1553
- msgstr "Media Manager Categorie/Tag filter"
1554
 
1555
- msgid "Check this option to filter by taxonomy terms."
1556
- msgstr "Gebruik deze optie om op taxonomie termen te filteren."
1557
 
1558
- msgid "Media Manager Terms Search popup"
1559
- msgstr "Media Manager Zoek Termen popup"
1560
 
1561
- msgid "Check this option to enable the \"Terms Search\" popup window."
1562
- msgstr "Gebruik deze optie om het \"Zoek Termen\" popup window te activeren."
 
 
1563
 
1564
- msgid "Media Manager Enhanced Search Media box"
1565
- msgstr "Media Manager Enhanced Zoek Media box"
 
 
1566
 
1567
- msgid "Check this option to enable search box enhancements."
1568
- msgstr "Gebruik deze optie om zoek box uitbreidingen te activeren."
1569
 
1570
- msgid "Media Manager Enhanced Search Media Controls"
1571
- msgstr "Media Manager Enhanced Zoek Media Besturing"
 
 
 
1572
 
1573
- msgid "Media Manager Checklist meta boxes"
1574
- msgstr "Media Manager Checklist meta boxen"
1575
 
1576
- msgid ""
1577
- "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1578
- "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
1579
- "<strong>\"checklist-style\"</strong> meta box."
1580
- msgstr ""
1581
- "Kies deze optie om MLA-verbeterde meta boxen te activeren in het "
1582
- "\"ATTACHMENT DETAILS\" scherm.<br>&nbsp;&nbsp;Deze optie is voor elke "
1583
- "taxonomie die een <strong>\"checklist-stijl\"</strong> meta box gebruikt."
1584
 
1585
- msgid "Media Manager Flat meta boxes"
1586
- msgstr "Media Manager Platte meta boxen"
1587
 
1588
- msgid ""
1589
- "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
1590
- "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
1591
- "strong>, e.g., \"Tags\" or \"Att. Tags\", that do not use the \"checklist-"
1592
- "style\" meta box."
1593
- msgstr ""
1594
- "Gebruik deze optie om MLA-uitgebreide meta boxen te activeren in het "
1595
- "\"ATTACHMENT DETAILS\" deel te activeren.<br>&nbsp;&nbsp;Deze optie is voor "
1596
- "<strong>platte taxonomieën</strong>, bijv., \"Tags\" of \"Gekopp. Tags\", "
1597
- "die de \"checklist-stijl\" meta box niet gebruiken."
1598
 
1599
- msgid "Media Manager auto-fill meta boxes"
1600
- msgstr "Media Manager auto-vul meta boxen"
1601
 
1602
- msgid ""
1603
- "Check this option to automatically fill MLA-enhanced meta boxes in the "
1604
- "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
1605
- msgstr ""
1606
- "Gebruik deze optie om MLA-uitgebreide meta boxen automatisch te vullen in "
1607
- "het \"ATTACHMENT DETAILS\" deel<br>&nbsp;&nbsp;wanner het onderdeel is "
1608
- "geselecteerd."
1609
 
1610
- msgid "Media Manager Order By"
1611
- msgstr "Media Manager Sorteer Op"
1612
 
1613
- msgid "Media Manager Default"
1614
- msgstr "Media Manager Default"
1615
 
1616
- msgid ""
1617
- "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
1618
- "column for the sort order of the Media Library listing."
1619
- msgstr ""
1620
- "Als u de Media Manager default wilt wijzigen,<br>&nbsp;&nbsp;selecteer dan "
1621
- "een kolom voor de sorteervolgorde van de Media Library listing."
1622
 
1623
- msgid "Media Manager Order"
1624
- msgstr "Media Manager Volgorde"
1625
 
1626
- msgid "Attachment Display Settings"
1627
- msgstr "Attachment Display Instellingen"
1628
 
1629
- msgid "Alignment"
1630
- msgstr "Uitlijning"
 
 
 
1631
 
1632
- #. translators: 1: option name, e.g., Alignment, Link To or Size
1633
  #, php-format
1634
- msgid ""
1635
- "Select a value for the default %1$s option in the Attachment Display "
1636
- "Settings."
1637
- msgstr ""
1638
- "Selecteer een waarde als default voor de %1$s optie in de Attachment Display "
1639
- "Instellingen."
1640
 
1641
- msgid "Left"
1642
- msgstr "Links"
 
 
1643
 
1644
- msgid "Center"
1645
- msgstr "Centraal"
1646
 
1647
- msgid "Right"
1648
- msgstr "Rechts"
1649
 
1650
- msgid "Link To"
1651
- msgstr "Link Naar"
 
 
1652
 
1653
- msgid "Media File"
1654
- msgstr "Media Bestand"
1655
 
1656
- msgid "Attachment Page"
1657
- msgstr "Attachment Pagina"
 
 
1658
 
1659
- msgid "Custom URL"
1660
- msgstr "Custom URL"
1661
 
1662
- msgid "Size"
1663
- msgstr "Grootte"
 
 
 
 
 
1664
 
1665
- msgid "Thumbnail"
1666
- msgstr "Thumbnail"
1667
 
1668
- msgid "Medium"
1669
- msgstr "Medium"
1670
 
1671
- msgid "Large"
1672
- msgstr "Groot"
 
 
 
1673
 
1674
- msgid "Full Size"
1675
- msgstr "Volledig"
1676
 
1677
- msgid "Default [mla_gallery] Templates and Settings"
1678
- msgstr "Default [mla_gallery] Templates en Instellingen"
1679
 
1680
- msgid "Style Template"
1681
- msgstr "Stijl Template"
1682
 
1683
- #. translators: 1: template type 2: shortcode
1684
- #, php-format
1685
- msgid "Select the default %1$s for your %2$s shortcodes."
1686
- msgstr "Selecteer de default %1$s voor uw %2$s shortcodes."
1687
 
1688
- msgid "Markup Template"
1689
- msgstr "Markup Template"
1690
 
1691
- msgid "markup template"
1692
- msgstr "markup template"
1693
 
1694
- msgid "Default columns"
1695
- msgstr "Default kolommen"
1696
 
1697
- msgid ""
1698
- "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
1699
- msgstr ""
1700
- "Geef het aantal van [mla_tag_cloud] kolommen; moet een positief getal zijn."
1701
 
1702
- msgid "Default mla_margin"
1703
- msgstr "Default mla_margin"
1704
 
1705
- msgid ""
1706
- "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
1707
- "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
1708
- "remove the property entirely."
1709
- msgstr ""
1710
- "Geef de CSS \"margin\" eigenschap waarde, in lengte (px, em, pt, etc.), "
1711
- "procent (%), \"auto\" of \"inherit\".<br>&nbsp;&nbsp;Geef \"none\" om de "
1712
- "eigenschap in zijn geheel te verwijderen."
1713
 
1714
- msgid "Default mla_itemwidth"
1715
- msgstr "Default mla_itemwidth"
1716
 
1717
- msgid ""
1718
- "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
1719
- "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
1720
- "\" (the default) to calculate the value taking the \"margin\" value into "
1721
- "account.<br>&nbsp;&nbsp;Enter \"exact\" to calculate the value without "
1722
- "considering the \"margin\" value.<br>&nbsp;&nbsp;Enter \"none\" to remove "
1723
- "the property entirely."
1724
- msgstr ""
1725
- "Geef de CSS \"width\" eigenschap waarde, in lengte (px, em, pt, etc.), "
1726
- "procent (%), \"auto\" of \"inherit\".<br>&nbsp;&nbsp;Geef \"calculate\" (de "
1727
- "default) om de waarde te berekenen met in acht neming van de \"margin\" "
1728
- "waarde.<br>&nbsp;&nbsp;Geef \"exact\" om de waarde te berekenen zonder de "
1729
- "\"margin\" waarde in acht te nemen.<br>&nbsp;&nbsp;Geef \"none\" om de "
1730
- "eigenschap in zijn geheel te verwijderen."
1731
 
1732
- msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
1733
- msgstr ""
1734
- "Geef het aantal van [mla_gallery] kolommen; moet een positief getal zijn."
 
1735
 
1736
- msgid "Thumbnail Substitution Support, mla_viewer"
1737
- msgstr "Thumbnail Vervanging Support, mla_viewer"
1738
 
1739
- msgid "Enable thumbnail substitution"
1740
- msgstr "Activeer thumbnail vervanging"
 
 
1741
 
1742
- msgid ""
1743
- "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
1744
- "for PDF documents. Thumbnails are generated dynamically, each time the item "
1745
- "appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both "
1746
- "Ghostscript and Imagick/ImageMagick must be installed for this feature.</"
1747
- "strong>"
1748
- msgstr ""
1749
- "Kies deze optie om de \"mla_viewer\" toe te staan om thumbnail afbeeldingen "
1750
- "aan te maken voor PDF documenten. Thumbnails worden dynamisch gegenereerd, "
1751
- "elke keer als een item in een [mla_gallery] display voorkomt.<br>&nbsp;&nbsp;"
1752
- "<strong>BELANGRIJK: zowel Ghostscript als Imagick/ImageMagick moeten "
1753
- "geïnstalleerd zijn voor deze optie.</strong>"
1754
 
1755
- msgid "Enable Featured Images"
1756
- msgstr "Activeer Uitgelichte Afbeeldingen"
1757
 
1758
- msgid ""
1759
- "Check this option to extend Featured Image support to all Media Library "
1760
- "items. The Featured Image can be used as a thumbnail image for the item in "
1761
- "an [mla_gallery] display."
1762
- msgstr ""
1763
- "Kies deze optie om de Uitgelichte Afbeelding ondersteuning uit te breiden "
1764
- "naar alle Media Bibliotheek items. De Uitgelichte Afbeelding kan als "
1765
- "thumbnail afbeelding voor het item in een [mla_gallery] display worden "
1766
- "gebruikt."
1767
 
1768
- msgid "Enable Featured Image Generation"
1769
- msgstr "Activeer Uitgelichte Afbeelding Aanmaak"
1770
 
1771
- msgid ""
1772
- "Check this option to enable the \"Thumbnail\" generation action in the Media/"
1773
- "Assistant submenu Bulk Actions dropdown."
1774
- msgstr ""
1775
- "Kies deze optie om de \"Thumbnail\" aanmaak actie te activeren in de Media/"
1776
- "Assistent submenu Bulk Acties dropdown."
1777
 
1778
- msgid "Enable explicit Ghostscript check"
1779
- msgstr "Activeer uitdrukkelijke Ghostscript controle"
 
 
 
 
1780
 
1781
- msgid ""
1782
- "Check this option to enable the explicit check for Ghostscript support "
1783
- "required for thumbnail generation. If your Ghostscript software is in a non-"
1784
- "standard location, unchecking this option bypasses the check. Bad things can "
1785
- "happen if Ghostscript is missing but Imagick/ImageMagick is present, so "
1786
- "leave this option checked unless you know it is safe to turn it off."
1787
- msgstr ""
1788
- "Kies deze optie om het uitdrukkelijk controleren te activeren van "
1789
- "Ghostscript ondersteuning bij thumbnail aanmaak. Als uw Ghostscript software "
1790
- "zich op een niet-standaard locatie bevindt, wordt deze controle overgeslagen "
1791
- "als u deze optie uit zet. Er kunnen zaken fout gaan als Ghostscript afwezig "
1792
- "is en Imagick/ImageMagick niet, dus laat deze optie aan staan tenzij u zeker "
1793
- "weet dat het veilig is om hem uit te zetten."
1794
 
1795
- msgid "Ghostscript path"
1796
- msgstr "Ghostscript pad"
1797
 
1798
- msgid ""
1799
- "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
1800
- "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
1801
- "override the search for Ghostscript in other places."
1802
- msgstr ""
1803
- "Als uw &ldquo;gs&rdquo; executable zich op een niet-standaard locatie "
1804
- "bevindt, geef dan hier de volledige locatie op, b.v., &ldquo;/usr/bin/"
1805
- "gs&rdquo;. Deze waarde zal dan gebruikt worden op andere plaatsen voor het "
1806
- "gebruik van Ghostscript."
1807
 
1808
- msgid "Enable custom field mapping when adding new media"
1809
- msgstr "Activeer custom veld vertaling bij het toevoegen van nieuwe media"
1810
 
1811
- msgid ""
1812
- "Check this option to enable mapping when uploading new media (attachments)."
1813
- "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
1814
- "this option.<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" "
1815
- "buttons on the bulk edit, single edit and settings screens."
1816
- msgstr ""
1817
- "Gebruik deze optie om vertaling te activeren bij het uploaden van nieuwe "
1818
- "media (attachments).<br>&nbsp;&nbsp;Klik Sla Wijzigingen Op onderaan het "
1819
- "scherm als u deze optie wijzigt.<br>&nbsp;&nbsp;Beïnvloedt de werking van de "
1820
- "\"Vertaal\" knoppen NIET op de bulk edit, single edit en instelling schermen."
1821
 
1822
- msgid "Enable custom field mapping when updating media metadata"
1823
- msgstr "Activeer custom veld vertaling bij het wijzigen van media metadata"
1824
 
1825
- msgid ""
1826
- "Check this option to enable mapping when media (attachments) metadata is "
1827
- "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
1828
- "functions are used."
1829
- msgstr ""
1830
- "Gebruik deze optie om vertaling te activeren wanneer media (attachments) "
1831
- "metadata wordt geregenereerd,<br>&nbsp;&nbsp;bijv., wanneer de Media/Bewerk "
1832
- "Media \"Bewerk Afbeelding\" functies worden gebruikt."
1833
 
1834
- msgid ""
1835
- "Update the custom field mapping values above, then click Save Changes to "
1836
- "make the updates permanent.<br>You can also make temporary updates and click "
1837
- "a Map All Attachments button to apply the rule(s) to all attachments without "
1838
- "saving any rule changes."
1839
- msgstr ""
1840
- "Werk de custom veld vertaling waarden hierboven bij, klik daarna Sla "
1841
- "Wijzigingen Op om de wijzigingen permanent te maken.<br>U kunt ook "
1842
- "tijdelijke wijzigingen maken en de Vertaal Alle Attachments knop klikken om "
1843
- "de regel(s) toe te passen op alle attachments zonder dat de regelwijzigingen "
1844
- "opgeslagen worden."
1845
 
1846
- msgid "Enable IPTC/EXIF Mapping when adding new media"
1847
- msgstr "Activeer IPTC/EXIF Vertaling bij het toevoegen van nieuwe media"
1848
 
1849
- msgid ""
1850
- "Check this option to enable mapping when uploading new media (attachments)."
1851
- "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
1852
- "bulk edit, single edit and settings screens."
1853
- msgstr ""
1854
- "Gebruik deze optie om het vertalen te activeren bij het uploaden van nieuwe "
1855
- "media (attachments).<br>&nbsp;&nbsp;Beïnvloedt de werking van de \"Vertaal\" "
1856
- "knoppen NIET op de bulk edit, single edit en instellingen schermen."
1857
 
1858
- msgid "Enable IPTC/EXIF Mapping when updating media metadata"
1859
- msgstr "Activeer IPTC/EXIF Vertaling bij het wijzigen van media metadata"
1860
 
1861
- msgid ""
1862
- "Update the standard field mapping values above, then click <strong>Save "
1863
- "Changes</strong> to make the updates permanent.<br>You can also make "
1864
- "temporary updates and click <strong>Map All Attachments, Standard Fields "
1865
- "Now</strong> to apply the updates to all attachments without saving the rule "
1866
- "changes."
1867
- msgstr ""
1868
- "Werk de standaard veld vertaling waarden hierboven bij, klik daarna "
1869
- "<strong>Sla Wijzigingen Op</strong> om de wijzigingen permanent te maken."
1870
- "<br>U kunt ook tijdelijke wijzigingen aanbrengen en <strong>Vertaal Alle "
1871
- "Attachments, Standaard Velden Nu</strong> klikken om de wijzigingen aan te "
1872
- "brengen op alle attachments zonder dat de regelwijzigingen opgeslagen worden."
1873
 
1874
- msgid ""
1875
- "Update the taxonomy term mapping values above, then click <strong>Save "
1876
- "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
1877
- msgstr ""
1878
- "Werk de taxonomie term vertaling waarden hierboven bij, klik daarna "
1879
- "<strong>Sla Wijzigingen Op</strong> of <strong>Vertaal Alle Attachments, "
1880
- "Taxonomieën Termen Nu</strong>."
1881
 
1882
- msgid ""
1883
- "<strong>Update</strong> individual custom field mapping values above, or "
1884
- "make several updates and click <strong>Save Changes</strong> below to apply "
1885
- "them all at once.<br>You can also <strong>add a new rule</strong> for an "
1886
- "existing field or <strong>add a new field</strong> and rule.<br>You can make "
1887
- "temporary updates and click <strong>Map All Attachments, Custom Fields Now</"
1888
- "strong> to apply the updates to all attachments without saving the rule "
1889
- "changes."
1890
- msgstr ""
1891
- "<strong>Wijzig</strong> individuele custom veld vertaling waarden hierboven, "
1892
- "of maak verschillende wijzigingen en klik <strong>Sla Wijzigingen Op</"
1893
- "strong> hieronder om de wijzigingen in een keer aan te brengen.<br>U kunt "
1894
- "ook een <strong>nieuwe regel toevoegen</strong> voor een bestaand veld of "
1895
- "<strong>een nieuw veld toevoegen</strong> en een regel toevoegen.<br>U kunt "
1896
- "tijdelijke wijzigingen aanbrengen en <strong>Vertaal Alle Attachments, "
1897
- "Custom Velden Nu</strong> klikken om de wijzigingen aan te brengen op alle "
1898
- "attachments zonder dat de regels gewijzigd worden."
1899
 
1900
- msgid "IPTC/EXIF Mapping help"
1901
- msgstr "IPTC/EXIF Vertaal hulp"
1902
 
1903
- msgid "Enable View and Post MIME Type Support"
1904
- msgstr "Activeer View en Post MIME Type Ondersteuning"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1905
 
1906
- msgid ""
1907
- "Check/uncheck this option to enable/disable Post MIME Type Support, then "
1908
- "click <strong>Save Changes</strong> to record the new setting."
1909
- msgstr ""
1910
- "Gebruik deze optie om Post MIME Type Ondersteuning te activeren, klik daarna "
1911
- "<strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op te slaan."
1912
 
1913
- msgid "Post MIME Types help."
1914
- msgstr "Post MIME Typen hulp."
 
 
1915
 
1916
- msgctxt "post_mime_types_description"
1917
- msgid "Built-in view"
1918
- msgstr "Ingebouwde view"
1919
 
1920
- msgctxt "table_view_singular"
1921
- msgid "Image"
1922
- msgstr "Afbeelding"
 
1923
 
1924
- msgctxt "table_view_plural"
1925
- msgid "Images"
1926
- msgstr "Afbeeldingen"
 
1927
 
1928
- msgctxt "post_mime_types_description"
1929
- msgid "All image subtypes"
1930
- msgstr "Alle afbeelding subtypen"
1931
 
1932
- msgctxt "table_view_singular"
1933
- msgid "Audio"
1934
- msgstr "Audio"
 
1935
 
1936
- msgctxt "table_view_plural"
1937
- msgid "Audio"
1938
- msgstr "Audio"
 
1939
 
1940
- msgctxt "post_mime_types_description"
1941
- msgid "All audio subtypes"
1942
- msgstr "Alle audio subtypen"
 
1943
 
1944
- msgctxt "table_view_singular"
1945
- msgid "Video"
1946
- msgstr "Video"
 
1947
 
1948
- msgctxt "table_view_plural"
1949
- msgid "Video"
1950
- msgstr "Video"
 
1951
 
1952
- msgctxt "post_mime_types_description"
1953
- msgid "All video subtypes"
1954
- msgstr "Alle video subtypen"
 
1955
 
1956
- msgctxt "table_view_singular"
1957
- msgid "Text"
1958
- msgstr "Tekst"
1959
 
1960
- msgctxt "table_view_plural"
1961
- msgid "Text"
1962
- msgstr "Tekst"
1963
 
1964
- msgctxt "post_mime_types_description"
1965
- msgid "All text subtypes"
1966
- msgstr "Alle tekst subtypen"
1967
 
1968
- msgctxt "table_view_singular"
1969
- msgid "Application"
1970
- msgstr "Applicatie"
1971
 
1972
- msgctxt "table_view_plural"
1973
- msgid "Applications"
1974
- msgstr "Applicaties"
1975
 
1976
- msgctxt "post_mime_types_description"
1977
- msgid "All application subtypes"
1978
- msgstr "Alle applicatie subtypen"
1979
 
1980
- msgctxt "table_view_plural"
1981
- msgid "Unattached"
1982
- msgstr "Ongekoppeld"
1983
 
1984
- msgctxt "table_view_singular"
1985
- msgid "Attached"
1986
- msgstr "Gekoppeld"
1987
 
1988
- msgctxt "table_view_plural"
1989
- msgid "Attached"
1990
- msgstr "Gekoppeld"
1991
 
1992
- msgctxt "table_view_singular"
1993
- msgid "Trash"
1994
- msgstr "Prullenbak"
1995
 
1996
- msgctxt "table_view_plural"
1997
- msgid "Trash"
1998
- msgstr "Prullenbak"
1999
 
2000
- msgid "Enable Upload MIME Type Support"
2001
- msgstr "Activeer Upload MIME Type Ondersteuning"
2002
 
2003
- msgid ""
2004
- "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
2005
- "click <strong>Save Changes</strong> to record the new setting."
2006
- msgstr ""
2007
- "Gebruik deze optie om Upload MIME Type Ondersteuning te activeren, klik "
2008
- "daarna <strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op te "
2009
- "slaan."
2010
 
2011
- msgid "Upload MIME Types help."
2012
- msgstr "Upload MIME Typen hulp."
2013
 
2014
- msgid "Enable MLA File Type Icons Support"
2015
- msgstr "Activeer MLA Bestandstype Symbolen Ondersteuning"
2016
 
2017
- msgid ""
2018
- "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
2019
- "then click <strong>Save Changes</strong> to record the new setting."
2020
- msgstr ""
2021
- "Gebruik deze optie om MLA Bestandstype Symbolen Ondersteuning te activeren, "
2022
- "klik daarna <strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op "
2023
- "te slaan."
2024
 
2025
- msgid "Display Limit"
2026
- msgstr "Display Limiet"
2027
 
2028
- msgid ""
2029
- "Enter the maximum number of debug log characters to display; enter zero or "
2030
- "leave blank for no limit."
2031
- msgstr ""
2032
- "Geef het maximum aantal te tonen karakters van de debug log; toets nul of "
2033
- "laat waarde leeg voor geen limiet."
2034
 
2035
- msgid "Debug File"
2036
- msgstr "Debug Bestand"
2037
 
 
 
 
2038
  msgid ""
2039
- "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
2040
- "use the PHP error_log."
2041
  msgstr ""
2042
- "Geef de naam van een alternatief MLA-specifiek debug log bestand; laat blank "
2043
- "om de PHP error_log te gebruiken."
2044
 
2045
- msgid "Replace PHP error_log file"
2046
- msgstr "Vervang PHP error_log file"
2047
 
2048
- msgid ""
2049
- "Check this option to replace the PHP error_log file with the MLA Debug File."
2050
- "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
2051
- msgstr ""
2052
- "Kies deze optie om de PHP error_log file te vervangen door de MLA Debug File."
2053
- "<br>&nbsp;&nbsp;maakt het mogelijk om PHP meldingen op te vangen in de MLA "
2054
- "Debug File."
2055
 
2056
- msgid "PHP Reporting"
2057
- msgstr "PHP Rapportage"
2058
 
2059
- msgid ""
2060
- "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
2061
- "use the existing PHP error_reporting value."
2062
- msgstr ""
2063
- "Geef een numerieke error_reporting waarde, bijv., 0x7FFF of 32767; laat leeg "
2064
- "om de bestaande PHP error_reporting waarde te gebruiken."
2065
 
2066
- msgid "MLA Reporting"
2067
- msgstr "MLA Rapportage"
2068
 
2069
- msgid ""
2070
- "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
2071
- "the existing MLA_DEBUG_LEVEL value."
2072
- msgstr ""
2073
- "Geef een numerieke MLA_DEBUG_LEVEL waarde, bijv., 0x0003 of 3; laat leeg om "
2074
- "de bestaande MLA_DEBUG_LEVEL waarde te gebruiken."
2075
 
2076
  msgid "no templates exist"
2077
  msgstr "er bestaan geen templates"
2078
 
2079
- msgid "not found"
2080
- msgstr "niet gevonden"
2081
-
2082
  #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2083
  #, php-format
2084
  msgid "%1$s: Custom %2$s unknown action \"%3$s\""
@@ -2480,6 +2513,16 @@ msgstr ""
2480
  "Kies deze optie om algemene termen te synchroniseren in alle item "
2481
  "vertalingen."
2482
 
 
 
 
 
 
 
 
 
 
 
2483
  msgid "Language Options"
2484
  msgstr "Taal Opties"
2485
 
@@ -2531,6 +2574,9 @@ msgstr "delete_option \"%1$s\""
2531
  msgid "Language settings reset to default values."
2532
  msgstr "Taal instellingen reset naar default waarden."
2533
 
 
 
 
2534
  msgid "no slug"
2535
  msgstr "geen slug"
2536
 
@@ -2957,8 +3003,11 @@ msgstr "Imagick ondersteuning is niet geïnstalleerd."
2957
  msgid "Ghostscript support is not installed."
2958
  msgstr "Ghostscript ondersteuning is niet geïnstalleerd"
2959
 
2960
- msgid "WARNING: MLA Viewer support may not be available"
2961
- msgstr "WAARSCHUWING: MLA Viewer ondersteuning kan niet beschikbaar zijn"
 
 
 
2962
 
2963
  msgid ""
2964
  "This default template cannot be altered or deleted, but you can copy the "
@@ -3180,9 +3229,6 @@ msgstr "%1$s: Het %2$s bestand aan het lezen ( %3$s ) \"%4$s\"."
3180
  msgid "Error log file (%1$s) not found; click Reset to create it."
3181
  msgstr "Error log file (%1$s) niet gevonden; klik Reset om hem aan te maken."
3182
 
3183
- msgid "Reset"
3184
- msgstr "Reset"
3185
-
3186
  msgid "Debug Options"
3187
  msgstr "Debug Opties"
3188
 
@@ -3223,7 +3269,7 @@ msgstr "%1$s: Dubbele naam \"%2$s\", nieuwe %3$s overgeslagen."
3223
  #, php-format
3224
  msgctxt "message_list"
3225
  msgid "Adding new %1$s \"%2$s\"."
3226
- msgstr "Voeg nieuw toe %1$s \"%2$s\"."
3227
 
3228
  #. translators: 1: ERROR tag 2: element name 3: old value
3229
  #, php-format
@@ -3431,6 +3477,9 @@ msgstr "ongewijzigd"
3431
  msgid "Settings imported; %1$s updated, %2$s unchanged."
3432
  msgstr "Instellingen ge&iuml;mporteerd; %1$s bijgewerkt, %2$s ongewijzigd."
3433
 
 
 
 
3434
  msgid "Previous"
3435
  msgstr "Vorige"
3436
 
@@ -3638,6 +3687,10 @@ msgstr "Selecteer dit bericht"
3638
  msgid "Select these entries"
3639
  msgstr "Selecteer deze berichten"
3640
 
 
 
 
 
3641
  msgctxt "list_table_column"
3642
  msgid "Specification"
3643
  msgstr "Specificatie"
@@ -3665,6 +3718,15 @@ msgstr "Volgorde"
3665
  msgid "Duplicate translation created; update as desired."
3666
  msgstr "Dubbele vertaling aangemaakt; update eventueel."
3667
 
 
 
 
 
 
 
 
 
 
3668
  #. translators: 1: - 4: page subheader values
3669
  #, php-format
3670
  msgid ""
@@ -3704,6 +3766,9 @@ msgstr ""
3704
  "ondersteuning, IPTC/EXIF verwerking, bulk & snel bewerken acties en waar-"
3705
  "gebruikt bepaling."
3706
 
 
 
 
3707
  #~ msgid "Enable enhanced \"checklist\" taxonomies"
3708
  #~ msgstr "Kies uitgebreide \"checklist\" taxonomieën"
3709
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
+ "POT-Creation-Date: 2016-01-23 23:01-0800\n"
5
+ "PO-Revision-Date: 2016-04-02 18:28+0100\n"
6
  "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
  "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
  "Language: nl\n"
18
  "X-Poedit-SearchPath-0: includes\n"
19
  "X-Poedit-SearchPath-1: tests\n"
20
 
21
+ #. translators: Name of the plugin/theme
22
+ msgid "Media Library Assistant"
23
+ msgstr "Media Library Assistant"
 
 
 
24
 
25
+ msgid "Assistant"
26
+ msgstr "Assistent"
27
 
28
+ msgid "Title"
29
+ msgstr "Titel"
 
 
 
30
 
31
+ msgid "Type"
32
+ msgstr "Type"
 
 
 
33
 
34
+ msgid "Date"
35
+ msgstr "Datum"
 
 
 
36
 
37
+ msgid "Status"
38
+ msgstr "Status"
 
 
 
39
 
40
+ msgid "(no title)"
41
+ msgstr "(geen titel)"
 
 
 
42
 
43
+ msgid "Published"
44
+ msgstr "Gepubliceerd"
 
 
 
45
 
46
+ msgid "Scheduled"
47
+ msgstr "Gepland"
 
 
 
 
 
 
48
 
49
+ msgid "Pending Review"
50
+ msgstr "Wacht op Review"
 
 
 
 
 
 
51
 
52
+ msgid "Draft"
53
+ msgstr "Voorstel"
 
 
 
54
 
55
+ #. translators: date format in table columns, see http://php.net/date
56
+ #. translators: format for upload/last modified date
57
+ msgid "Y/m/d"
58
+ msgstr "Y/m/d"
 
59
 
60
+ msgid "ERROR"
61
+ msgstr "FOUT"
62
 
63
+ msgid "No post ID found"
64
+ msgstr "Geen post ID gevonden"
 
 
 
65
 
66
+ msgid "You are not allowed to edit this Attachment."
67
+ msgstr "U mag deze Attachment niet bewerken."
 
 
 
68
 
69
+ msgid "Attachment Categories"
70
+ msgstr "Attachment Categorieën"
 
 
 
 
 
 
 
71
 
72
+ msgid "Check this option to add support for Attachment Categories."
73
+ msgstr ""
74
+ "Kies deze optie om ondersteuning voor Attachment Categorieën toe te voegen."
 
 
75
 
76
+ msgid "Attachment Tags"
77
+ msgstr "Attachment Tags"
 
 
 
78
 
79
+ msgid "Check this option to add support for Attachment Tags."
80
+ msgstr "Kies deze optie om ondersteuning voor Attachment Tags toe te voegen."
81
 
82
+ msgid "Where-used Reporting"
83
+ msgstr "Waar-gebruikt Rapportage"
 
 
 
84
 
85
+ msgid "Exclude Revisions"
86
+ msgstr "Sluit Revisies Uit"
 
 
 
87
 
88
+ msgid "Check this option to exclude revisions from where-used reporting."
89
+ msgstr ""
90
+ "Kies deze optie om revisies van de waar-gebruikt rapportage uit te sluiten."
 
 
91
 
92
+ msgid "Where-used database access tuning"
93
+ msgstr "Waar-gebruikt database toegang tuning"
 
 
 
94
 
95
+ msgid "Featured in"
96
+ msgstr "Komt voor in"
 
 
 
97
 
98
+ msgid "Enabled"
99
+ msgstr "Gekozen"
 
 
 
100
 
101
+ msgid "Disabled"
102
+ msgstr "Uitgezet"
 
 
 
103
 
104
+ msgid "Search database posts and pages for Featured Image attachments."
105
+ msgstr ""
106
+ "Doorzoek database berichten en paginas naar Gekoppelde Afbeelding "
107
+ "attachments."
 
108
 
109
+ msgid "Inserted in"
110
+ msgstr "Toegevoegd aan"
 
 
 
111
 
112
+ msgid "Base"
113
+ msgstr "Basis"
 
 
 
114
 
115
+ msgid ""
116
+ "Search database posts and pages for attachments embedded in content."
117
+ "<br>&nbsp;&nbsp;Base = ignore intermediate size suffixes; use path, base "
118
+ "name and extension only."
119
+ msgstr ""
120
+ "Doorzoek database berichten en paginas naar attachments opgenomen in de "
121
+ "inhoud.<br>&nbsp;&nbsp;Basis = negeer gemiddelde omvang suffixen; gebruik "
122
+ "alleen pad, basis naam en extensie."
123
 
124
+ msgid "Gallery in"
125
+ msgstr "Galerij in"
126
 
127
+ msgid "Dynamic"
128
+ msgstr "Dynamisch"
129
 
130
+ msgid "Refresh"
131
+ msgstr "Ververs"
132
 
133
+ msgid "Cached"
134
+ msgstr "Gecachet"
135
 
136
+ msgid ""
137
+ "Search database posts and pages for [gallery] shortcode results.<br>&nbsp;"
138
+ "&nbsp;Dynamic = once every page load, Cached = once every login, Disabled = "
139
+ "never.<br>&nbsp;&nbsp;Refresh = update references, then set to Cached."
140
+ msgstr ""
141
+ "Doorzoek database berichten en paginas naar [gallery] shortcode resultaten."
142
+ "<br>&nbsp;&nbsp;Dynamisch = eenmaal per pagina load, Gecachet = eenmaal elke "
143
+ "login, Niet gekozen = nooit.<br>&nbsp;&nbsp;Ververs = werk referenties bij, "
144
+ "daarna op Gecachet."
145
 
146
+ msgid "MLA Gallery in"
147
+ msgstr "MLA Galerij in"
 
148
 
149
+ msgid ""
150
+ "Search database posts and pages for [mla_gallery] shortcode results."
151
+ "<br>&nbsp;&nbsp;Dynamic = once every page load, Cached = once every login, "
152
+ "Disabled = never.<br>&nbsp;&nbsp;Refresh = update references, then set to "
153
+ "Cached."
154
+ msgstr ""
155
+ "Doorzoek database berichten en paginas naar [mla_gallery] shortcode "
156
+ "resultaten.<br>&nbsp;&nbsp;Dynamisch = eenmaal per pagina load, Gecachet = "
157
+ "eenmaal per login, Niet gekozen = nooit.<br>&nbsp;&nbsp;Ververs = werk "
158
+ "referenties bij, daarna op Gecachet."
159
 
160
+ msgid "Taxonomy Support"
161
+ msgstr "Taxonomie Ondersteuning"
162
 
163
+ msgid "Compute Attachments Column"
164
+ msgstr "Bereken Attachments Kolom"
 
 
165
 
166
+ msgid ""
167
+ "Check this option to calculate attachments per term in the Attachments "
168
+ "Column."
169
+ msgstr ""
170
+ "Kies deze optie om attachments per term in de Attachments Kolom te berekenen."
171
 
172
+ msgid ""
173
+ "Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
174
+ "Assistant and the Edit Media screen."
175
+ msgstr ""
176
+ "Kies de \"<strong>Ondersteuning</strong>\" box om de taxonomie toe te voegen "
177
+ "aan het Assistant en Bewerk Media scherm."
178
 
179
+ msgid ""
180
+ "Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
181
+ "the Quick Edit and Bulk Edit areas."
182
+ msgstr ""
183
+ "Kies de \"<strong>Inline Bewerk</strong>\" box om de taxonomie te tonen in "
184
+ "de Quick Edit en Bulk Edit gebieden."
185
 
186
+ msgid ""
187
+ "Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
188
+ "\"Search Media/Terms\" list."
189
+ msgstr ""
190
+ "Kies de \"<strong>Zoek Term</strong>\" box om de taxonomie toe te voegen aan "
191
+ "de \"Zoek Media/Termen\" lijst."
192
 
193
+ msgid "For complete documentation"
194
+ msgstr "Voor volledige documentatie"
 
 
195
 
196
+ msgid "click here"
197
+ msgstr "klik hier"
 
 
198
 
199
+ msgid ""
200
+ "Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
201
+ "meta box for a flat taxonomy."
202
+ msgstr ""
203
+ "Kies de \"<strong>Checklist</strong>\" box om de checklist-stijl meta box te "
204
+ "activeren voor een platte taxonomie."
205
 
206
+ msgid ""
207
+ "You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
208
+ "strong> box below to enable this feature."
209
+ msgstr ""
210
+ "U moet ook de <strong>\"Activeer uitgebreide checklist taxonomieën\"</"
211
+ "strong> box kiezen om deze mogelijkheid te kunnen activeren."
212
 
213
+ msgid ""
214
+ "Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
215
+ "the top of the checklist-style meta box."
216
+ msgstr ""
217
+ "Kies de \"<strong>Gekozen bovenaan</strong>\" box om gekozen termen aan de "
218
+ "bovenkant van de checklist-stijl meta box te tonen."
219
 
220
+ msgid ""
221
+ "Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
222
+ "which to filter the Assistant table listing."
223
+ msgstr ""
224
+ "Gebruik de \"<strong>Lijst Filter</strong>\" optie om de taxonomie waarop "
225
+ "gefilterd moet worden in de Assistant tabel listing."
226
 
227
+ msgid "Media/Assistant Screen Options"
228
+ msgstr "Media/Assistant Scherm Opties"
 
 
229
 
230
+ msgid "Admin Menu Options"
231
+ msgstr "Admin Menu Opties"
232
 
233
+ msgid "Page Title"
234
+ msgstr "Pagina Titel"
 
 
235
 
236
+ msgid "Enter the title for the Media/Assistant submenu page"
237
+ msgstr "Geef de titel voor de Media/Assistant submenu pagina"
 
 
238
 
239
+ msgid "Menu Title"
240
+ msgstr "Menu Titel"
241
 
242
+ msgid "Enter the title for the Media/Assistant submenu entry"
243
+ msgstr "Geef de titel voor het Media/Assistant submenu bericht"
 
 
244
 
245
+ msgid "Submenu Order"
246
+ msgstr "Submenu Volgorde"
247
 
248
+ msgid ""
249
+ "Enter the position of the Media/Assistant submenu entry.<br>&nbsp;&nbsp;0 = "
250
+ "natural order (at bottom),&nbsp;&nbsp;&nbsp;&nbsp;1 - 4 = at top<br>&nbsp;"
251
+ "&nbsp;6-9 = after \"Library\",&nbsp;&nbsp;&nbsp;&nbsp;11-16 = after \"Add New"
252
+ "\""
253
+ msgstr ""
254
+ "Geef de positie op voor het Media/Assistant submenu bericht.<br>&nbsp;"
255
+ "&nbsp;0 = natuurlijke volgorde (aan de onderkant),&nbsp;&nbsp;&nbsp;&nbsp;1 "
256
+ "- 4 = aan de bovenkant<br>&nbsp;&nbsp;6-9 = na \"Bibliotheek\",&nbsp;&nbsp;"
257
+ "&nbsp;&nbsp;11-16 = na \"Voeg Toe\""
258
 
259
+ msgid "Display Media/Library"
260
+ msgstr "Toon Media/Bibliotheek"
261
 
262
+ msgid ""
263
+ "Check/uncheck this option to display/remove the WordPress Media/Library "
264
+ "submenu entry."
265
+ msgstr ""
266
+ "Gebruik deze optie om het WordPress Media/Bibliotheek submenu bericht te "
267
+ "tonen/verbergen."
268
 
269
+ msgid "Table Defaults"
270
+ msgstr "Tabel Defaults"
271
 
272
+ msgid "Order By"
273
+ msgstr "Sorteer Op"
274
 
275
+ msgid "None"
276
+ msgstr "Geen"
277
 
278
+ msgid "ID/Parent"
279
+ msgstr "ID/Ouder"
280
 
281
+ msgid "Select the column for the sort order of the Assistant table listing."
282
+ msgstr ""
283
+ "Selecteer de kolom voor de sorteervolgorde van de Assistant tabel listing."
284
 
285
+ msgid "Order"
286
+ msgstr "Volgorde"
287
 
288
+ msgid "Ascending"
289
+ msgstr "Oplopend"
290
 
291
+ msgid "Descending"
292
+ msgstr "Aflopend"
 
 
293
 
294
+ msgid "Choose the sort order."
295
+ msgstr "Kies de sorteervolgorde."
 
 
296
 
297
+ msgid "Views Width"
298
+ msgstr "View Breedte"
 
 
299
 
300
+ msgid "Enter the width for the views list, in pixels (px) or percent (%)"
301
+ msgstr "Geef de breedte op voor de views list, in pixels (px) of procent (%)"
 
 
302
 
303
+ msgid "Icon Size"
304
+ msgstr "Symbool Grootte"
 
 
305
 
306
+ msgid "Enter the size of the thumbnail/icon images, in pixels"
307
+ msgstr "Geef de grootte van de thumbnail/symbool afbeeldingen, in pixels"
 
308
 
309
+ msgid "Bulk Chunk Size"
310
+ msgstr "Bulk Chunk Grootte"
311
 
312
+ msgid "Enter the size of the Bulk Edit and Map All processing chunks"
313
+ msgstr "Geef de grootte van de Bulk Edit en Vertaal alle verwerking chunks"
 
314
 
315
+ msgid "Taxonomy Filter parameters"
316
+ msgstr "Taxonomie Filter parameters"
 
317
 
318
+ msgid "Maximum Depth"
319
+ msgstr "Maximum Diepte"
320
 
321
+ msgid ""
322
+ "Enter the number of levels displayed for hierarchial taxonomies; enter zero "
323
+ "for no limit."
324
+ msgstr ""
325
+ "Geef het aantal te tonen levels voor hierarchische taxonomieën; toets nul "
326
+ "voor geen limiet."
327
 
328
+ msgid "Include Children"
329
+ msgstr "Inclusief Kinderen"
330
 
331
+ msgid ""
332
+ "Check/uncheck this option to include/exclude children for hierarchical "
333
+ "taxonomies."
334
+ msgstr ""
335
+ "Gebruik deze optie om kinderen wel/niet op te nemen in hierarchische "
336
+ "taxonomieën."
337
 
338
+ msgid "Search Media Defaults"
339
+ msgstr "Zoek Media Defaults"
340
 
341
+ msgid "Display Search Controls"
342
+ msgstr "Toon Zoek Besturing"
343
 
344
+ msgid ""
345
+ "Check/uncheck this option to display/hide the and/or connector and search "
346
+ "fields controls."
347
+ msgstr ""
348
+ "Gebruik deze optie om en/of connectoren en zoek veld besturing te tonen/"
349
+ "verbergen."
350
 
351
  msgid ""
352
+ "Use these controls to set defaults for the and/or connector and search "
353
+ "fields controls.<br>These defaults will be used for the Search Media boxes "
354
+ "on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
355
  msgstr ""
356
+ "Gebruik deze besturing om defaults voor de en/of connector en zoek veld "
357
+ "besturing te zetten.<br>Deze defaults zullen voor de Zoek Media boxen bij "
358
+ "zowel het Media/Assistant submenu<br>en de Media Manager Modal Window worden "
359
+ "gebruikt."
360
 
361
+ msgid "Media/Edit Media Enhancements"
362
+ msgstr "Media/Bewerk Media Toevoegingen"
363
 
364
+ msgid "Enable &quot;enhanced checklist&quot; taxonomies"
365
+ msgstr "Activeer &quot;verbeterde checklist&quot; taxonomieën"
366
 
367
+ msgid ""
368
+ "Check this option to enable the \"? Search\" feature for hierarchical "
369
+ "taxonomies, e.g., Att. Categories.<br>&nbsp;&nbsp;This option also enables "
370
+ "the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
371
+ msgstr ""
372
+ "Kies deze optie om de \"? Zoek\" mogelijkheid voor hierarchische taxonomieën "
373
+ "te gebruiken, bijv., Gekopp. Categorieën.<br>&nbsp;&nbsp;Deze optie "
374
+ "activeert ook de mogelijkheid van de \"checklist-stijl\" ondersteuning van "
375
+ "platte taxonomieën, bijv., Gekopp. Tags."
376
 
377
+ msgid "Enable Edit Media additional meta boxes"
378
+ msgstr "Activeer Bewerk Media additionele meta boxen"
379
 
380
+ msgid ""
381
+ "Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
382
+ "Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
383
+ msgstr ""
384
+ "Kies deze optie om \"Parent Info\", \"Menu Volgorde\", \"Attachment Metadata"
385
+ "\" en vier \"waar-gebruikt\" meta boxen toe te voegen aan het Bewerk Media "
386
+ "scherm."
387
 
388
+ msgid "You can also use Filters to customize the meta boxes."
389
+ msgstr "U kunt ook Filters gebruiken om de meta boxen te wijzigen."
390
 
391
+ msgid "Media/Add New Enhancements"
392
+ msgstr "Media/Voeg Nieuwe Uitbreidingen Toe"
393
 
394
+ msgid "Enable &quot;bulk edit&quot; area"
395
+ msgstr "Activeer &quot;bulk edit&quot; gebied"
 
396
 
397
+ msgid ""
398
+ "Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
399
+ "New screen."
400
+ msgstr ""
401
+ "Kies deze optie om de \"Bulk Edit gebied\" mogelijkheid te activeren op het "
402
+ "Media/Voeg Toe scherm."
403
 
404
+ msgid "&quot;bulk edit&quot; area on top"
405
+ msgstr "&quot;bulk edit&quot; gebied bovenaan"
406
 
407
+ msgid ""
408
+ "Check this option to move the \"Bulk Edit area\" to the top of the Media/Add "
409
+ "New screen."
410
+ msgstr ""
411
+ "Kies deze optie om het \"Bulk Edit gebied\" bovenaan het Media/Voeg Nieuw "
412
+ "Toe scherm te plaatsen."
413
 
414
+ msgid "&quot;bulk edit&quot; area initially open"
415
+ msgstr "&quot;bulk edit&quot; gebied initieel open"
416
 
417
+ msgid ""
418
+ "Check this option to automatically open the \"Bulk Edit area\" when the "
419
+ "Media/Add New screen is displayed."
420
+ msgstr ""
421
+ "Kies deze optie om automatisch het \"Bulk Edit gebied\" te openen wanneer "
422
+ "het Media/Voeg Nieuw Toe scherm getoond wordt."
423
 
424
+ msgid "Media Manager/Media Grid Enhancements"
425
+ msgstr "Media Manager/Media Grid Uitbreidingen"
426
 
427
+ msgid "Enable Media Grid Enhancements"
428
+ msgstr "Activeer Media Grid Uitbreidingen"
429
 
430
+ msgid ""
431
+ "Check/uncheck this option to enable/disable Media Library Grid View "
432
+ "Enhancements."
433
+ msgstr ""
434
+ "Gebruik deze optie om de Media Bibliotheek Grid View Uitbreidingen te "
435
+ "activeren."
436
 
437
+ msgid "Enable Media Manager Enhancements"
438
+ msgstr "Activeer Media Manager Uitbreidingen"
439
 
440
+ msgid ""
441
+ "Check/uncheck this option to enable/disable Media Manager Modal Window "
442
+ "Enhancements."
443
+ msgstr ""
444
+ "Gebruik deze optie om de Media Manager Modal Window Uitbreidingen te "
445
+ "activeren."
446
 
447
+ msgid "Media Manager Enhanced MIME Type filter"
448
+ msgstr "Media Manager Enhanced MIME Type filter"
449
 
450
+ msgid ""
451
+ "Check this option to filter by more MIME Types, e.g., text, applications."
452
+ msgstr ""
453
+ "Gebruik deze optie om op meer MIME Typen te filteren, bijv., tekst, "
454
+ "applicaties."
455
 
456
+ msgid "Media Manager Month and Year filter"
457
+ msgstr "Media Manager Maand en Jaar filter"
458
 
459
+ msgid "Check this option to filter by month and year uploaded."
460
+ msgstr "Gebruik deze optie om op maand en jaar van upload te filteren."
 
461
 
462
+ msgid "Media Manager Category/Tag filter"
463
+ msgstr "Media Manager Categorie/Tag filter"
464
 
465
+ msgid "Check this option to filter by taxonomy terms."
466
+ msgstr "Gebruik deze optie om op taxonomie termen te filteren."
467
 
468
+ msgid "Media Manager Terms Search popup"
469
+ msgstr "Media Manager Zoek Termen popup"
470
 
471
+ msgid "Check this option to enable the \"Terms Search\" popup window."
472
+ msgstr "Gebruik deze optie om het \"Zoek Termen\" popup window te activeren."
473
 
474
+ msgid "Media Manager Enhanced Search Media box"
475
+ msgstr "Media Manager Enhanced Zoek Media box"
476
 
477
+ msgid "Check this option to enable search box enhancements."
478
+ msgstr "Gebruik deze optie om zoek box uitbreidingen te activeren."
 
 
479
 
480
+ msgid "Media Manager Enhanced Search Media Controls"
481
+ msgstr "Media Manager Enhanced Zoek Media Besturing"
482
 
483
+ msgid "Media Manager Checklist meta boxes"
484
+ msgstr "Media Manager Checklist meta boxen"
 
485
 
486
+ msgid ""
487
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
488
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for any taxonomy that uses a "
489
+ "<strong>\"checklist-style\"</strong> meta box."
490
+ msgstr ""
491
+ "Kies deze optie om MLA-verbeterde meta boxen te activeren in het "
492
+ "\"ATTACHMENT DETAILS\" scherm.<br>&nbsp;&nbsp;Deze optie is voor elke "
493
+ "taxonomie die een <strong>\"checklist-stijl\"</strong> meta box gebruikt."
494
 
495
+ msgid "Media Manager Flat meta boxes"
496
+ msgstr "Media Manager Platte meta boxen"
 
497
 
498
+ msgid ""
499
+ "Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
500
+ "DETAILS\" pane.<br>&nbsp;&nbsp;This option is for <strong>flat taxonomies</"
501
+ "strong>, e.g., \"Tags\" or \"Att. Tags\", that do not use the \"checklist-"
502
+ "style\" meta box."
503
+ msgstr ""
504
+ "Gebruik deze optie om MLA-uitgebreide meta boxen te activeren in het "
505
+ "\"ATTACHMENT DETAILS\" deel te activeren.<br>&nbsp;&nbsp;Deze optie is voor "
506
+ "<strong>platte taxonomieën</strong>, bijv., \"Tags\" of \"Gekopp. Tags\", "
507
+ "die de \"checklist-stijl\" meta box niet gebruiken."
508
 
509
+ msgid "Media Manager auto-fill meta boxes"
510
+ msgstr "Media Manager auto-vul meta boxen"
 
511
 
512
+ msgid ""
513
+ "Check this option to automatically fill MLA-enhanced meta boxes in the "
514
+ "\"ATTACHMENT DETAILS\" pane<br>&nbsp;&nbsp;when the item is selected."
515
+ msgstr ""
516
+ "Gebruik deze optie om MLA-uitgebreide meta boxen automatisch te vullen in "
517
+ "het \"ATTACHMENT DETAILS\" deel<br>&nbsp;&nbsp;wanner het onderdeel is "
518
+ "geselecteerd."
519
 
520
+ msgid "Media Manager Order By"
521
+ msgstr "Media Manager Sorteer Op"
 
522
 
523
+ msgid "Media Manager Default"
524
+ msgstr "Media Manager Default"
 
525
 
526
+ msgid "Title/Name"
527
+ msgstr "Titel/Naam"
 
 
 
 
 
528
 
529
+ msgid ""
530
+ "If you want to override the Media Manager default,<br>&nbsp;&nbsp;select a "
531
+ "column for the sort order of the Media Library listing."
532
+ msgstr ""
533
+ "Als u de Media Manager default wilt wijzigen,<br>&nbsp;&nbsp;selecteer dan "
534
+ "een kolom voor de sorteervolgorde van de Media Library listing."
535
 
536
+ msgid "Media Manager Order"
537
+ msgstr "Media Manager Volgorde"
 
538
 
539
+ msgid "Attachment Display Settings"
540
+ msgstr "Attachment Display Instellingen"
 
541
 
542
+ msgid "Media Manager Apply Display Settings"
543
+ msgstr "Media Manager Activeer Display Instellingen"
 
544
 
545
+ msgid ""
546
+ "Check this option to always start with the Attachment Display Settings set "
547
+ "here,<br>&nbsp;&nbsp;overriding browser-/cookie-based defaults."
548
+ msgstr ""
549
+ "Kies deze optie om altijd met de Attachment Display Instellingen te starten,"
550
+ "<br>&nbsp;&nbsp;browser-/cookie-gebaseerde defaults worden overschreven."
551
 
552
+ msgid "Alignment"
553
+ msgstr "Uitlijning"
 
554
 
555
+ #. translators: 1: option name, e.g., Alignment, Link To or Size
556
+ #, php-format
557
+ msgid ""
558
+ "Select a value for the default %1$s option in the Attachment Display "
559
+ "Settings."
560
+ msgstr ""
561
+ "Selecteer een waarde als default voor de %1$s optie in de Attachment Display "
562
+ "Instellingen."
563
 
564
+ msgid "Left"
565
+ msgstr "Links"
 
566
 
567
+ msgid "Center"
568
+ msgstr "Centraal"
 
569
 
570
+ msgid "Right"
571
+ msgstr "Rechts"
 
572
 
573
+ msgid "Link To"
574
+ msgstr "Link Naar"
575
 
576
+ msgid "Media File"
577
+ msgstr "Media Bestand"
578
 
579
+ msgid "Attachment Page"
580
+ msgstr "Attachment Pagina"
581
 
582
+ msgid "Custom URL"
583
+ msgstr "Custom URL"
584
 
585
+ msgid "Size"
586
+ msgstr "Grootte"
587
 
588
+ msgid "Thumbnail"
589
+ msgstr "Thumbnail"
 
 
590
 
591
+ msgid "Medium"
592
+ msgstr "Medium"
593
 
594
+ msgid "Large"
595
+ msgstr "Groot"
596
 
597
+ msgid "Full Size"
598
+ msgstr "Volledig"
599
 
600
+ msgid "Default [mla_gallery] Templates and Settings"
601
+ msgstr "Default [mla_gallery] Templates en Instellingen"
602
 
603
+ msgid "Style Template"
604
+ msgstr "Stijl Template"
605
 
606
+ #. translators: 1: template type 2: shortcode
607
+ #, php-format
608
+ msgid "Select the default %1$s for your %2$s shortcodes."
609
+ msgstr "Selecteer de default %1$s voor uw %2$s shortcodes."
610
 
611
+ msgid "Markup Template"
612
+ msgstr "Markup Template"
613
 
614
+ msgid "markup template"
615
+ msgstr "markup template"
616
 
617
+ msgid "Default columns"
618
+ msgstr "Default kolommen"
619
 
620
+ msgid ""
621
+ "Enter the number of [mla_tag_cloud] columns; must be a positive integer."
622
+ msgstr ""
623
+ "Geef het aantal van [mla_tag_cloud] kolommen; moet een positief getal zijn."
624
 
625
+ msgid "Default mla_margin"
626
+ msgstr "Default mla_margin"
627
 
628
+ msgid ""
629
+ "Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
630
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"none\" to "
631
+ "remove the property entirely."
632
+ msgstr ""
633
+ "Geef de CSS \"margin\" eigenschap waarde, in lengte (px, em, pt, etc.), "
634
+ "procent (%), \"auto\" of \"inherit\".<br>&nbsp;&nbsp;Geef \"none\" om de "
635
+ "eigenschap in zijn geheel te verwijderen."
636
 
637
+ msgid "Default mla_itemwidth"
638
+ msgstr "Default mla_itemwidth"
639
 
640
+ msgid ""
641
+ "Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
642
+ "percent (%), \"auto\" or \"inherit\".<br>&nbsp;&nbsp;Enter \"calculate"
643
+ "\" (the default) to calculate the value taking the \"margin\" value into "
644
+ "account.<br>&nbsp;&nbsp;Enter \"exact\" to calculate the value without "
645
+ "considering the \"margin\" value.<br>&nbsp;&nbsp;Enter \"none\" to remove "
646
+ "the property entirely."
647
+ msgstr ""
648
+ "Geef de CSS \"width\" eigenschap waarde, in lengte (px, em, pt, etc.), "
649
+ "procent (%), \"auto\" of \"inherit\".<br>&nbsp;&nbsp;Geef \"calculate\" (de "
650
+ "default) om de waarde te berekenen met in acht neming van de \"margin\" "
651
+ "waarde.<br>&nbsp;&nbsp;Geef \"exact\" om de waarde te berekenen zonder de "
652
+ "\"margin\" waarde in acht te nemen.<br>&nbsp;&nbsp;Geef \"none\" om de "
653
+ "eigenschap in zijn geheel te verwijderen."
654
 
655
+ msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
656
+ msgstr ""
657
+ "Geef het aantal van [mla_gallery] kolommen; moet een positief getal zijn."
658
 
659
+ msgid "Thumbnail Substitution Support, mla_viewer"
660
+ msgstr "Thumbnail Vervanging Support, mla_viewer"
661
 
662
+ msgid "Enable thumbnail substitution"
663
+ msgstr "Activeer thumbnail vervanging"
664
 
665
+ msgid ""
666
+ "Check this option to allow the \"mla_viewer\" to generate thumbnail images "
667
+ "for PDF documents. Thumbnails are generated dynamically, each time the item "
668
+ "appears in an [mla_gallery] display.<br>&nbsp;&nbsp;<strong>IMPORTANT: both "
669
+ "Ghostscript and Imagick/ImageMagick must be installed for this feature.</"
670
+ "strong>"
671
+ msgstr ""
672
+ "Kies deze optie om de \"mla_viewer\" toe te staan om thumbnail afbeeldingen "
673
+ "aan te maken voor PDF documenten. Thumbnails worden dynamisch gegenereerd, "
674
+ "elke keer als een item in een [mla_gallery] display voorkomt.<br>&nbsp;&nbsp;"
675
+ "<strong>BELANGRIJK: zowel Ghostscript als Imagick/ImageMagick moeten "
676
+ "geïnstalleerd zijn voor deze optie.</strong>"
677
 
678
+ msgid "Enable Featured Images"
679
+ msgstr "Activeer Uitgelichte Afbeeldingen"
680
 
681
+ msgid ""
682
+ "Check this option to extend Featured Image support to all Media Library "
683
+ "items. The Featured Image can be used as a thumbnail image for the item in "
684
+ "an [mla_gallery] display."
685
+ msgstr ""
686
+ "Kies deze optie om de Uitgelichte Afbeelding ondersteuning uit te breiden "
687
+ "naar alle Media Bibliotheek items. De Uitgelichte Afbeelding kan als "
688
+ "thumbnail afbeelding voor het item in een [mla_gallery] display worden "
689
+ "gebruikt."
690
 
691
+ msgid "Enable Featured Image Generation"
692
+ msgstr "Activeer Uitgelichte Afbeelding Aanmaak"
 
 
693
 
694
+ msgid ""
695
+ "Check this option to enable the \"Thumbnail\" generation action in the Media/"
696
+ "Assistant submenu Bulk Actions dropdown."
697
+ msgstr ""
698
+ "Kies deze optie om de \"Thumbnail\" aanmaak actie te activeren in de Media/"
699
+ "Assistent submenu Bulk Acties dropdown."
700
 
701
+ msgid "Enable explicit Ghostscript check"
702
+ msgstr "Activeer uitdrukkelijke Ghostscript controle"
 
703
 
704
+ msgid ""
705
+ "Check this option to enable the explicit check for Ghostscript support "
706
+ "required for thumbnail generation. If your Ghostscript software is in a non-"
707
+ "standard location, unchecking this option bypasses the check. Bad things can "
708
+ "happen if Ghostscript is missing but Imagick/ImageMagick is present, so "
709
+ "leave this option checked unless you know it is safe to turn it off."
710
+ msgstr ""
711
+ "Kies deze optie om het uitdrukkelijk controleren te activeren van "
712
+ "Ghostscript ondersteuning bij thumbnail aanmaak. Als uw Ghostscript software "
713
+ "zich op een niet-standaard locatie bevindt, wordt deze controle overgeslagen "
714
+ "als u deze optie uit zet. Er kunnen zaken fout gaan als Ghostscript afwezig "
715
+ "is en Imagick/ImageMagick niet, dus laat deze optie aan staan tenzij u zeker "
716
+ "weet dat het veilig is om hem uit te zetten."
717
 
718
+ msgid "Ghostscript path"
719
+ msgstr "Ghostscript pad"
 
 
 
720
 
721
+ msgid ""
722
+ "If your &ldquo;gs&rdquo; executable is in a non-standard location, enter the "
723
+ "full path and filename here, e.g., &ldquo;/usr/bin/gs&rdquo;. It will "
724
+ "override the search for Ghostscript in other places."
725
+ msgstr ""
726
+ "Als uw &ldquo;gs&rdquo; executable zich op een niet-standaard locatie "
727
+ "bevindt, geef dan hier de volledige locatie op, b.v., &ldquo;/usr/bin/"
728
+ "gs&rdquo;. Deze waarde zal dan gebruikt worden op andere plaatsen voor het "
729
+ "gebruik van Ghostscript."
730
 
731
+ msgid "Enable custom field mapping when adding new media"
732
+ msgstr "Activeer custom veld vertaling bij het toevoegen van nieuwe media"
733
 
734
+ msgid ""
735
+ "Check this option to enable mapping when uploading new media (attachments)."
736
+ "<br>&nbsp;&nbsp;Click Save Changes at the bottom of the screen if you change "
737
+ "this option.<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" "
738
+ "buttons on the bulk edit, single edit and settings screens."
739
+ msgstr ""
740
+ "Gebruik deze optie om vertaling te activeren bij het uploaden van nieuwe "
741
+ "media (attachments).<br>&nbsp;&nbsp;Klik Sla Wijzigingen Op onderaan het "
742
+ "scherm als u deze optie wijzigt.<br>&nbsp;&nbsp;Beïnvloedt de werking van de "
743
+ "\"Vertaal\" knoppen NIET op de bulk edit, single edit en instelling schermen."
744
 
745
+ msgid "Enable custom field mapping when updating media metadata"
746
+ msgstr "Activeer custom veld vertaling bij het wijzigen van media metadata"
747
 
748
+ msgid ""
749
+ "Check this option to enable mapping when media (attachments) metadata is "
750
+ "regenerated,<br>&nbsp;&nbsp;e.g., when the Media/Edit Media \"Edit Image\" "
751
+ "functions are used."
752
+ msgstr ""
753
+ "Gebruik deze optie om vertaling te activeren wanneer media (attachments) "
754
+ "metadata wordt geregenereerd,<br>&nbsp;&nbsp;bijv., wanneer de Media/Bewerk "
755
+ "Media \"Bewerk Afbeelding\" functies worden gebruikt."
756
 
757
+ msgid ""
758
+ "Update the custom field mapping values above, then click Save Changes to "
759
+ "make the updates permanent.<br>You can also make temporary updates and click "
760
+ "a Map All Attachments button to apply the rule(s) to all attachments without "
761
+ "saving any rule changes."
762
+ msgstr ""
763
+ "Werk de custom veld vertaling waarden hierboven bij, klik daarna Sla "
764
+ "Wijzigingen Op om de wijzigingen permanent te maken.<br>U kunt ook "
765
+ "tijdelijke wijzigingen maken en de Vertaal Alle Attachments knop klikken om "
766
+ "de regel(s) toe te passen op alle attachments zonder dat de regelwijzigingen "
767
+ "opgeslagen worden."
768
 
769
+ msgid "Enable IPTC/EXIF Mapping when adding new media"
770
+ msgstr "Activeer IPTC/EXIF Vertaling bij het toevoegen van nieuwe media"
771
 
772
+ msgid ""
773
+ "Check this option to enable mapping when uploading new media (attachments)."
774
+ "<br>&nbsp;&nbsp;Does NOT affect the operation of the \"Map\" buttons on the "
775
+ "bulk edit, single edit and settings screens."
776
+ msgstr ""
777
+ "Gebruik deze optie om het vertalen te activeren bij het uploaden van nieuwe "
778
+ "media (attachments).<br>&nbsp;&nbsp;Beïnvloedt de werking van de \"Vertaal\" "
779
+ "knoppen NIET op de bulk edit, single edit en instellingen schermen."
780
 
781
+ msgid "Enable IPTC/EXIF Mapping when updating media metadata"
782
+ msgstr "Activeer IPTC/EXIF Vertaling bij het wijzigen van media metadata"
783
 
784
+ msgid ""
785
+ "Update the standard field mapping values above, then click <strong>Save "
786
+ "Changes</strong> to make the updates permanent.<br>You can also make "
787
+ "temporary updates and click <strong>Map All Attachments, Standard Fields "
788
+ "Now</strong> to apply the updates to all attachments without saving the rule "
789
+ "changes."
790
+ msgstr ""
791
+ "Werk de standaard veld vertaling waarden hierboven bij, klik daarna "
792
+ "<strong>Sla Wijzigingen Op</strong> om de wijzigingen permanent te maken."
793
+ "<br>U kunt ook tijdelijke wijzigingen aanbrengen en <strong>Vertaal Alle "
794
+ "Attachments, Standaard Velden Nu</strong> klikken om de wijzigingen aan te "
795
+ "brengen op alle attachments zonder dat de regelwijzigingen opgeslagen worden."
796
 
797
+ msgid ""
798
+ "Update the taxonomy term mapping values above, then click <strong>Save "
799
+ "Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
800
+ msgstr ""
801
+ "Werk de taxonomie term vertaling waarden hierboven bij, klik daarna "
802
+ "<strong>Sla Wijzigingen Op</strong> of <strong>Vertaal Alle Attachments, "
803
+ "Taxonomieën Termen Nu</strong>."
804
 
805
+ msgid ""
806
+ "<strong>Update</strong> individual custom field mapping values above, or "
807
+ "make several updates and click <strong>Save Changes</strong> below to apply "
808
+ "them all at once.<br>You can also <strong>add a new rule</strong> for an "
809
+ "existing field or <strong>add a new field</strong> and rule.<br>You can make "
810
+ "temporary updates and click <strong>Map All Attachments, Custom Fields Now</"
811
+ "strong> to apply the updates to all attachments without saving the rule "
812
+ "changes."
813
+ msgstr ""
814
+ "<strong>Wijzig</strong> individuele custom veld vertaling waarden hierboven, "
815
+ "of maak verschillende wijzigingen en klik <strong>Sla Wijzigingen Op</"
816
+ "strong> hieronder om de wijzigingen in een keer aan te brengen.<br>U kunt "
817
+ "ook een <strong>nieuwe regel toevoegen</strong> voor een bestaand veld of "
818
+ "<strong>een nieuw veld toevoegen</strong> en een regel toevoegen.<br>U kunt "
819
+ "tijdelijke wijzigingen aanbrengen en <strong>Vertaal Alle Attachments, "
820
+ "Custom Velden Nu</strong> klikken om de wijzigingen aan te brengen op alle "
821
+ "attachments zonder dat de regels gewijzigd worden."
822
 
823
+ msgid "IPTC/EXIF Mapping help"
824
+ msgstr "IPTC/EXIF Vertaal hulp"
825
 
826
+ msgid "Name/Slug"
827
+ msgstr "Naam/Slug"
 
 
 
828
 
829
+ msgid "ALT Text"
830
+ msgstr "ALT Tekst"
 
 
831
 
832
+ msgid "Caption"
833
+ msgstr "Onderschrift"
834
 
835
+ msgid "Description"
836
+ msgstr "Beschrijving"
837
 
838
+ msgid "Enable View and Post MIME Type Support"
839
+ msgstr "Activeer View en Post MIME Type Ondersteuning"
 
 
840
 
841
+ msgid ""
842
+ "Check/uncheck this option to enable/disable Post MIME Type Support, then "
843
+ "click <strong>Save Changes</strong> to record the new setting."
844
+ msgstr ""
845
+ "Gebruik deze optie om Post MIME Type Ondersteuning te activeren, klik daarna "
846
+ "<strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op te slaan."
847
 
848
+ msgid "Post MIME Types help."
849
+ msgstr "Post MIME Typen hulp."
 
 
850
 
851
+ msgctxt "table_view_singular"
852
+ msgid "All"
853
+ msgstr "Alles"
854
 
855
+ msgctxt "table_view_plural"
856
+ msgid "All"
857
+ msgstr "Alles"
 
 
 
 
858
 
859
+ msgctxt "post_mime_types_description"
860
+ msgid "Built-in view"
861
+ msgstr "Ingebouwde view"
862
 
863
+ msgctxt "table_view_singular"
864
+ msgid "Image"
865
+ msgstr "Afbeelding"
866
 
867
+ msgctxt "table_view_plural"
868
+ msgid "Images"
869
+ msgstr "Afbeeldingen"
 
 
870
 
871
+ msgctxt "post_mime_types_description"
872
+ msgid "All image subtypes"
873
+ msgstr "Alle afbeelding subtypen"
874
 
875
+ msgctxt "table_view_singular"
876
+ msgid "Audio"
877
+ msgstr "Audio"
878
 
879
+ msgctxt "table_view_plural"
880
+ msgid "Audio"
881
+ msgstr "Audio"
882
 
883
+ msgctxt "post_mime_types_description"
884
+ msgid "All audio subtypes"
885
+ msgstr "Alle audio subtypen"
886
 
887
+ msgctxt "table_view_singular"
888
+ msgid "Video"
889
+ msgstr "Video"
890
 
891
+ msgctxt "table_view_plural"
892
+ msgid "Video"
893
+ msgstr "Video"
894
 
895
+ msgctxt "post_mime_types_description"
896
+ msgid "All video subtypes"
897
+ msgstr "Alle video subtypen"
898
 
899
+ msgctxt "table_view_singular"
900
+ msgid "Text"
901
+ msgstr "Tekst"
902
 
903
+ msgctxt "table_view_plural"
904
+ msgid "Text"
905
+ msgstr "Tekst"
906
 
907
+ msgctxt "post_mime_types_description"
908
+ msgid "All text subtypes"
909
+ msgstr "Alle tekst subtypen"
910
 
911
+ msgctxt "table_view_singular"
912
+ msgid "Application"
913
+ msgstr "Applicatie"
914
 
915
+ msgctxt "table_view_plural"
916
+ msgid "Applications"
917
+ msgstr "Applicaties"
918
 
919
+ msgctxt "post_mime_types_description"
920
+ msgid "All application subtypes"
921
+ msgstr "Alle applicatie subtypen"
922
 
923
+ msgctxt "table_view_singular"
924
  msgid "Unattached"
925
  msgstr "Ongekoppeld"
926
 
927
+ msgctxt "table_view_plural"
928
+ msgid "Unattached"
929
+ msgstr "Ongekoppeld"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
930
 
931
+ msgctxt "table_view_singular"
932
+ msgid "Attached"
933
+ msgstr "Gekoppeld"
 
934
 
935
+ msgctxt "table_view_plural"
936
+ msgid "Attached"
937
+ msgstr "Gekoppeld"
 
938
 
939
+ msgctxt "table_view_singular"
940
+ msgid "Trash"
941
+ msgstr "Prullenbak"
942
 
943
+ msgctxt "table_view_plural"
944
+ msgid "Trash"
945
+ msgstr "Prullenbak"
 
946
 
947
+ msgid "Enable Upload MIME Type Support"
948
+ msgstr "Activeer Upload MIME Type Ondersteuning"
949
 
950
+ msgid ""
951
+ "Check/uncheck this option to enable/disable Upload MIME Type Support, then "
952
+ "click <strong>Save Changes</strong> to record the new setting."
953
+ msgstr ""
954
+ "Gebruik deze optie om Upload MIME Type Ondersteuning te activeren, klik "
955
+ "daarna <strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op te "
956
+ "slaan."
957
 
958
+ msgid "Upload MIME Types help."
959
+ msgstr "Upload MIME Typen hulp."
 
 
960
 
961
+ msgid "Enable MLA File Type Icons Support"
962
+ msgstr "Activeer MLA Bestandstype Symbolen Ondersteuning"
963
 
964
+ msgid ""
965
+ "Check/uncheck this option to enable/disable MLA File Type Icons Support, "
966
+ "then click <strong>Save Changes</strong> to record the new setting."
967
+ msgstr ""
968
+ "Gebruik deze optie om MLA Bestandstype Symbolen Ondersteuning te activeren, "
969
+ "klik daarna <strong>Sla Wijzigingen Op</strong> om de nieuwe instelling op "
970
+ "te slaan."
971
 
972
+ msgid "Display Limit"
973
+ msgstr "Display Limiet"
974
 
975
+ msgid ""
976
+ "Enter the maximum number of debug log characters to display; enter zero or "
977
+ "leave blank for no limit."
978
+ msgstr ""
979
+ "Geef het maximum aantal te tonen karakters van de debug log; toets nul of "
980
+ "laat waarde leeg voor geen limiet."
981
 
982
+ msgid "Debug File"
983
+ msgstr "Debug Bestand"
984
 
985
+ msgid ""
986
+ "Enter the name of an alternate, MLA-specific debug log file; leave blank to "
987
+ "use the PHP error_log."
988
+ msgstr ""
989
+ "Geef de naam van een alternatief MLA-specifiek debug log bestand; laat blank "
990
+ "om de PHP error_log te gebruiken."
991
 
992
+ msgid "Replace PHP error_log file"
993
+ msgstr "Vervang PHP error_log file"
994
 
995
+ msgid ""
996
+ "Check this option to replace the PHP error_log file with the MLA Debug File."
997
+ "<br>&nbsp;&nbsp;allows capture of PHP messages in the MLA Debug File."
998
+ msgstr ""
999
+ "Kies deze optie om de PHP error_log file te vervangen door de MLA Debug File."
1000
+ "<br>&nbsp;&nbsp;maakt het mogelijk om PHP meldingen op te vangen in de MLA "
1001
+ "Debug File."
1002
 
1003
+ msgid "PHP Reporting"
1004
+ msgstr "PHP Rapportage"
1005
 
1006
+ msgid ""
1007
+ "Enter a numeric error_reporting value, e.g., 0x7FFF or 32767; leave blank to "
1008
+ "use the existing PHP error_reporting value."
1009
+ msgstr ""
1010
+ "Geef een numerieke error_reporting waarde, bijv., 0x7FFF of 32767; laat leeg "
1011
+ "om de bestaande PHP error_reporting waarde te gebruiken."
1012
 
1013
+ msgid "MLA Reporting"
1014
+ msgstr "MLA Rapportage"
1015
 
1016
+ msgid ""
1017
+ "Enter a numeric MLA_DEBUG_LEVEL value, e.g., 0x0003 or 3; leave blank to use "
1018
+ "the existing MLA_DEBUG_LEVEL value."
1019
+ msgstr ""
1020
+ "Geef een numerieke MLA_DEBUG_LEVEL waarde, bijv., 0x0003 of 3; laat leeg om "
1021
+ "de bestaande MLA_DEBUG_LEVEL waarde te gebruiken."
1022
 
1023
+ #. translators: 1: ERROR tag 2: path and file name
1024
+ #, php-format
1025
+ msgctxt "error_log"
1026
+ msgid "%1$s: mla_load_template file \"%2$s\" not found."
1027
+ msgstr "%1$s: mla_load_template file \"%2$s\" niet gevonden."
1028
 
1029
+ #. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
1030
+ #, php-format
1031
+ msgctxt "error_log"
1032
+ msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
1033
+ msgstr "%1$s: mla_load_template file \"%2$s\" verkeerd source type \"%3$s\"."
1034
 
1035
  #. translators: 1: ERROR tag 2: raw_mime_type
1036
  #, php-format
1047
  msgid "%1$s: Bad specification prefix \"%2$s\""
1048
  msgstr "%1$s: Foutieve specificatie prefix \"%2$s\""
1049
 
1050
+ msgid "Most Used"
1051
+ msgstr "Meest Gebruikt"
1052
 
1053
+ #. translators: %s: add new taxonomy label
1054
  #, php-format
1055
+ msgid "+ %s"
1056
+ msgstr "+ %s"
1057
 
1058
+ msgid "Search"
1059
+ msgstr "Zoek"
1060
 
1061
+ #. translators: 1: ERROR tag 2: index
1062
  #, php-format
1063
+ msgctxt "error_log"
1064
+ msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
1065
+ msgstr ""
1066
+ "%1$s: _build_pdf_indirect_objects foutieve waarde bij $index = \"%2$d\"."
1067
 
1068
+ #. translators: 1: ERROR tag 2: source offset 3: nest level
1069
  #, php-format
1070
+ msgctxt "error_log"
1071
+ msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
1072
+ msgstr "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
1073
 
1074
+ #. translators: 1: ERROR tag 2: dictionary excerpt
1075
  #, php-format
1076
+ msgctxt "error_log"
1077
+ msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
1078
+ msgstr "%1$s: _parse_pdf_dictionary geen einde delimiter dump = %2$s."
1079
 
1080
+ #. translators: 1: ERROR tag 2: entry name 3: value excerpt
1081
  #, php-format
1082
+ msgctxt "error_log"
1083
+ msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
1084
+ msgstr "%1$s: _parse_pdf_dictionary foutieve waarde [ %2$s ] dump = %3$s"
1085
 
1086
+ #. translators: 1: ERROR tag 2: path and file
1087
  #, php-format
1088
+ msgctxt "error_log"
1089
+ msgid "%1$s: File \"%2$s\", startxref not found."
1090
+ msgstr "%1$s: File \"%2$s\", startxref niet gevonden."
1091
 
1092
+ msgctxt "list_table_column"
1093
+ msgid "ID/Parent"
1094
+ msgstr "ID/Parent"
 
1095
 
1096
+ msgctxt "list_table_column"
1097
+ msgid "Title/Name"
1098
+ msgstr "Titel/Naam"
 
1099
 
1100
+ msgctxt "list_table_column"
1101
+ msgid "Title"
1102
+ msgstr "Titel"
 
1103
 
1104
+ msgctxt "list_table_column"
1105
+ msgid "Name"
1106
+ msgstr "Naam"
1107
 
1108
+ msgctxt "list_table_column"
1109
+ msgid "Parent ID"
1110
+ msgstr "Parent ID"
1111
 
1112
+ msgctxt "list_table_column"
1113
+ msgid "Menu Order"
1114
+ msgstr "Menu Volgorde"
1115
 
1116
+ msgctxt "list_table_column"
1117
+ msgid "Featured in"
1118
+ msgstr "Komt voor in"
 
 
 
 
1119
 
1120
+ msgctxt "list_table_column"
1121
+ msgid "Inserted in"
1122
+ msgstr "Toegevoegd aan"
1123
 
1124
+ msgctxt "list_table_column"
1125
+ msgid "Gallery in"
1126
+ msgstr "Galerij in"
1127
 
1128
+ msgctxt "list_table_column"
1129
+ msgid "MLA Gallery in"
1130
+ msgstr "MLA Galerij in"
1131
 
1132
+ msgctxt "list_table_column"
1133
+ msgid "ALT Text"
1134
+ msgstr "ALT Tekst"
1135
 
1136
+ msgctxt "list_table_column"
1137
+ msgid "Caption"
1138
+ msgstr "Onderschrift"
1139
 
1140
+ msgctxt "list_table_column"
1141
+ msgid "Description"
1142
+ msgstr "Beschrijving"
1143
 
1144
+ msgctxt "list_table_column"
1145
+ msgid "MIME Type"
1146
+ msgstr "MIME Type"
1147
 
1148
+ msgctxt "list_table_column"
1149
+ msgid "File URL"
1150
+ msgstr "Bestand URL"
1151
 
1152
+ msgctxt "list_table_column"
1153
+ msgid "Base File"
1154
+ msgstr "Bron Bestand"
1155
 
1156
+ msgctxt "list_table_column"
1157
+ msgid "Date"
1158
+ msgstr "Datum"
1159
 
1160
+ msgctxt "list_table_column"
1161
+ msgid "Last Modified"
1162
+ msgstr "Laatst Gewijzigd"
1163
 
1164
+ msgctxt "list_table_column"
1165
+ msgid "Author"
1166
+ msgstr "Auteur"
 
1167
 
1168
+ msgctxt "list_table_column"
1169
+ msgid "Attached to"
1170
+ msgstr "Gekoppeld aan"
1171
 
1172
+ #. translators: 1: ERROR tag 2: function name 3: non-array value
1173
  #, php-format
1174
+ msgctxt "error_log"
1175
+ msgid "%1$s: %2$s non-array \"%3$s\""
1176
+ msgstr "%1$s: %2$s non-array \"%3$s\""
1177
 
1178
+ #. translators: 1: DEBUG tag 2: query filter details
1179
  #, php-format
1180
+ msgctxt "error_log"
1181
+ msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
1182
+ msgstr "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
1183
 
1184
+ msgid "DEBUG"
1185
+ msgstr "DEBUG"
1186
 
1187
+ #. translators: 1: DEBUG tag 2: query details
1188
  #, php-format
1189
+ msgctxt "error_log"
1190
+ msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
1191
+ msgstr "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
1192
 
1193
+ #. translators: 1: DEBUG tag 2: SQL statement
1194
  #, php-format
1195
+ msgctxt "error_log"
1196
+ msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
1197
+ msgstr "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
1198
 
1199
+ #. translators: 1: DEBUG tag 2: search filter details
1200
  #, php-format
1201
+ msgctxt "error_log"
1202
+ msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
1203
+ msgstr "%1$s: mla_query_posts_search_filter = \"%2$s\"."
1204
 
1205
+ #. translators: 1: DEBUG tag 2: where filter details
1206
  #, php-format
1207
+ msgctxt "error_log"
1208
+ msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
1209
+ msgstr "%1$s: mla_query_posts_where_filter = \"%2$s\"."
1210
 
1211
+ #. translators: 1: DEBUG tag 2: join filter details
1212
  #, php-format
1213
+ msgctxt "error_log"
1214
+ msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
1215
+ msgstr "%1$s: mla_query_posts_join_filter = \"%2$s\"."
1216
 
1217
+ #. translators: 1: DEBUG tag 2: orderby details details
1218
  #, php-format
1219
+ msgctxt "error_log"
1220
+ msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
1221
+ msgstr "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
 
 
 
 
 
 
 
 
 
 
 
 
 
1222
 
1223
+ #. translators: 1: DEBUG tag 2: SQL clauses
1224
+ #, php-format
1225
+ msgctxt "error_log"
1226
+ msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
1227
+ msgstr "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
1228
 
1229
+ #. translators: 1: DEBUG tag 2: SQL clauses
1230
+ #, php-format
1231
+ msgctxt "error_log"
1232
+ msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
1233
+ msgstr "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
1234
 
1235
+ msgid "NO REFERENCE TESTS"
1236
+ msgstr "GEEN REFERENTIE TESTEN"
1237
 
1238
+ msgid "ORPHAN"
1239
+ msgstr "WEES"
1240
 
1241
+ msgid "UNUSED"
1242
+ msgstr "ONGEBRUIKT"
1243
 
1244
+ msgid "UNATTACHED"
1245
+ msgstr "ONGEKOPPELD"
 
1246
 
1247
+ msgid "INVALID PARENT"
1248
+ msgstr "FOUTIEVE PARENT"
 
1249
 
1250
+ #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
1251
+ #, php-format
1252
+ msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
1253
+ msgstr "(%1$s) %2$s (ID %3$d) query \"%4$s\" fout gegaan, resultaat \"%5$s\""
1254
 
1255
+ #. translators: 1: ERROR tag 2: template excerpt
1256
+ #, php-format
1257
+ msgctxt "error_log"
1258
+ msgid ""
1259
+ "%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
1260
+ msgstr ""
1261
+ "%1$s: _find_template_substring geen template einde delimiter, slot = \"%2$s"
1262
+ "\"."
1263
 
1264
+ #. translators: 1: ERROR tag 2: template excerpt
1265
+ #, php-format
1266
+ msgctxt "error_log"
1267
+ msgid ""
1268
+ "%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
1269
+ msgstr ""
1270
+ "%1$s: mla_parse_array_template geen template einde delimiter, slot = \"%2$s"
1271
+ "\"."
1272
 
1273
+ #. translators: 1: ERROR tag 2: template excerpt
1274
+ #, php-format
1275
+ msgctxt "error_log"
1276
+ msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
1277
+ msgstr "%1$s: mla_parse_template geen einde delimiter, slot = \"%2$s\"."
1278
 
1279
+ #. translators: 1: ERROR tag 2: template string
1280
+ #, php-format
1281
+ msgctxt "error_log"
1282
+ msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
1283
+ msgstr "%1$s: _find_test_substring geen einde delimiter, slot = \"%2$s\"."
1284
 
1285
+ msgid "Test; no closing parenthesis "
1286
+ msgstr "Test; geen sluithaakje "
1287
 
1288
+ #. translators: 1: ERROR tag 2: node type, e.g., template
1289
+ #, php-format
1290
+ msgctxt "error_log"
1291
+ msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
1292
+ msgstr "%1$s: _evaluate_template_array_node onbekend type \"%2$s\"."
1293
 
1294
+ #. translators: 1: ERROR tag 2: node type, e.g., template
1295
+ #, php-format
1296
+ msgctxt "error_log"
1297
+ msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
1298
+ msgstr "%1$s: _evaluate_template_node onbekend type \"%2$s\"."
1299
 
1300
+ #. translators: 1: ERROR tag 2: template excerpt
1301
  #, php-format
1302
  msgctxt "error_log"
1303
  msgid ""
1304
+ "%1$s: mla_get_template_placeholders no template-end delimiter dump = \"%2$s"
1305
+ "\"."
1306
+ msgstr ""
1307
+ "%1$s: mla_get_template_placeholders geen template-end delimiter dump = \"%2$s"
1308
+ "\"."
 
1309
 
1310
+ #. translators: 1: ERROR tag 2: post ID
1311
+ #, php-format
1312
+ msgctxt "error_log"
1313
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
1314
+ msgstr "%1$s: mla_get_attachment_by_id(%2$d) niet gevonden."
1315
 
1316
+ #. translators: 1: ERROR tag 2: post ID 3: post_type
1317
+ #, php-format
1318
+ msgctxt "error_log"
1319
+ msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
1320
+ msgstr "%1$s: mla_get_attachment_by_id(%2$d) verkeerd post_type \"%3$s\"."
1321
 
1322
+ msgctxt "error_log"
1323
+ msgid "mla_parse_xmp_metadata xml_parse_into_struct failed."
1324
+ msgstr "mla_parse_xmp_metadata xml_parse_into_struct is fout gegaan."
1325
 
1326
+ msgctxt "error_log"
1327
+ msgid "mla_parse_xmp_metadata set option failed."
1328
+ msgstr "mla_parse_xmp_metadata set option is fout gegaan."
1329
 
1330
+ msgid "Yes"
1331
+ msgstr "Ja"
1332
 
1333
+ msgid "No"
1334
+ msgstr "Nee"
1335
 
1336
+ #. translators: 1: meta_key
1337
+ #, php-format
1338
+ msgid "Deleting %1$s"
1339
+ msgstr "Verwijderen %1$s"
1340
 
1341
+ #. translators: 1: ERROR tag 2: meta_key
1342
+ #, php-format
1343
+ msgid "%1$s: meta:%2$s not found"
1344
+ msgstr "%1$s: meta:%2$s niet gevonden"
1345
 
1346
+ #. translators: 1: meta_key 2: meta_value
1347
+ #. translators: 1: meta_key 2: new_value
1348
+ #. translators: 1: meta_key 2: meta_value
1349
+ #, php-format
1350
+ msgid "Adding %1$s = %2$s"
1351
+ msgstr "Toevoegen %1$s = %2$s"
1352
 
1353
+ #. translators: 1: ERROR tag 2: meta_key
1354
+ #, php-format
1355
+ msgid "%1$s: Adding meta:%2$s; not found"
1356
+ msgstr "%1$s: Toevoegen meta:%2$s; niet gevonden"
1357
 
1358
+ #. translators: 1: meta_key
1359
+ #, php-format
1360
+ msgid "Deleting Null meta:%1$s"
1361
+ msgstr "Verwijder Lege meta:%1$s"
1362
 
1363
+ #. translators: 1: element name 2: old_value 3: new_value
1364
+ #, php-format
1365
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
1366
+ msgstr "Wijzig %1$s van \"%2$s\" in \"%3$s\""
1367
 
1368
+ #. translators: 1: ERROR tag 2: meta_key
1369
+ #, php-format
1370
+ msgid "%1$s: Changing meta:%2$s; not found"
1371
+ msgstr "%1$s: Wijzig meta:%2$s; niet gevonden"
1372
 
1373
+ #. translators: 1: meta_key
1374
+ #, php-format
1375
+ msgid "Deleting old %1$s values"
1376
+ msgstr "Verwijder oude %1$s waarden"
1377
 
1378
+ #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
1379
+ #, php-format
1380
+ msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
1381
+ msgstr "Wijzig %1$s van \"%2$s\" in \"%3$s\"; %4$d wijzigingen"
1382
 
1383
+ msgid "Could not retrieve Attachment."
1384
+ msgstr "Kan Attachment niet vinden."
1385
 
1386
+ #. translators: 1: ERROR tag 2: old_value
1387
+ #, php-format
1388
+ msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
1389
+ msgstr "%1$s: Kon Naam/Slug \"%2$s\" niet wijzigen; naam bestaat al"
 
 
 
 
1390
 
1391
+ #. translators: 1: old_value
1392
+ #, php-format
1393
+ msgid "Deleting ALT Text, was \"%1$s\""
1394
+ msgstr "Wijzig ALT Tekst, was \"%1$s\""
1395
 
1396
+ #. translators: 1: ERROR tag 2: old_value
1397
+ #, php-format
1398
+ msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
1399
+ msgstr "%1$s: Kon ALT Tekst niet wijzigen, blijft \"%2$s\""
1400
 
1401
+ #. translators: 1: ERROR tag 2: old_value 3: new_value
1402
+ #, php-format
1403
+ msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
1404
+ msgstr "%1$s: Kon ALT Tekst niet wijzigen van \"%2$s\" in \"%3$s\""
 
 
 
 
 
1405
 
1406
+ msgid "Parent"
1407
+ msgstr "Parent"
 
 
 
 
 
 
 
 
1408
 
1409
+ msgid "Menu Order"
1410
+ msgstr "Menu Volgorde"
1411
 
1412
+ msgid "Author"
1413
+ msgstr "Auteur"
1414
 
1415
+ msgid "Comments"
1416
+ msgstr "Commentaar"
 
 
 
1417
 
1418
+ msgid "Pings"
1419
+ msgstr "Pings"
 
 
 
 
1420
 
1421
+ msgid "Adding"
1422
+ msgstr "Toevoegen"
 
 
 
 
1423
 
1424
+ msgid "Removing"
1425
+ msgstr "Verwijderen"
 
 
 
 
1426
 
1427
+ msgid "Replacing"
1428
+ msgstr "Vervangen"
1429
 
1430
+ msgid "Ignoring"
1431
+ msgstr "Negeren"
1432
 
1433
+ #. translators: 1: action_name, 2: taxonomy
1434
+ #, php-format
1435
+ msgid "%1$s \"%2$s\" terms"
1436
+ msgstr "%1$s \"%2$s\" termen"
 
 
1437
 
1438
+ #. translators: 1: taxonomy
1439
+ #, php-format
1440
+ msgid "You cannot assign \"%1$s\" terms"
1441
+ msgstr "Je kunt geen \"%1$s\" termen toekennen"
 
 
1442
 
1443
+ #. translators: 1: post ID
1444
+ #, php-format
1445
+ msgid "Item %1$d, no changes detected."
1446
+ msgstr "Onderdeel %1$d, geen wijzigingen gevonden."
 
 
1447
 
1448
+ #. translators: 1: post ID
1449
+ #, php-format
1450
+ msgid "Item %1$d updated."
1451
+ msgstr "Onderdeel %1$d gewijzigd."
 
 
1452
 
1453
+ #. translators: 1: ERROR tag 2: post ID
1454
+ #, php-format
1455
+ msgid "%1$s: Item %2$d update failed."
1456
+ msgstr "%1$s: Onderdeel %2$d wijziging fout gegaan."
1457
 
1458
+ msgctxt "tag_delimiter"
1459
+ msgid ","
1460
+ msgstr ","
1461
 
1462
+ msgid "Upload New Media items"
1463
+ msgstr "Upload Nieuwe Media onderdelen"
1464
 
1465
+ msgid "Open Bulk Edit area"
1466
+ msgstr "Open Bulk Edit gebied"
 
1467
 
1468
+ msgid "Close Bulk Edit area"
1469
+ msgstr "Sluit Bulk Edit gebied"
1470
 
1471
+ msgid "An ajax.fail error has occurred. Please reload the page and try again."
1472
+ msgstr ""
1473
+ "Een ajax.fail fout is opgetreden. Herlaad de pagina en probeer opnieuw."
1474
 
1475
+ msgid "An ajax.done error has occurred. Please reload the page and try again."
1476
+ msgstr ""
1477
+ "Een ajax.done fout is opgetreden. Herlaad de pagina en probeer opnieuw."
1478
 
1479
+ msgid "more"
1480
+ msgstr "meer"
1481
 
1482
+ msgid "less"
1483
+ msgstr "minder"
1484
 
1485
+ msgid "Add"
1486
+ msgstr "Voeg toe"
 
 
 
 
 
 
 
 
1487
 
1488
+ msgid "Remove"
1489
+ msgstr "Verwijder"
1490
+
1491
+ msgid "Replace"
1492
+ msgstr "Vervang"
1493
 
1494
  msgid ""
1495
+ "IMPORTANT: Make your entries BEFORE uploading new items. Pull down the Help "
1496
+ "menu for more information."
1497
  msgstr ""
1498
+ "BELANGRIJK: Maak uw berichten VOORDAT nieuwe items te uploaden. Kies het "
1499
+ "Help menu voor meer informatie."
 
 
 
1500
 
1501
+ msgid "Reset"
1502
+ msgstr "Reset"
1503
 
1504
+ msgid "No Change"
1505
+ msgstr "Geen Wijziging"
1506
 
1507
+ msgid "Allow"
1508
+ msgstr "Sta toe"
 
1509
 
1510
+ msgid "Do not allow"
1511
+ msgstr "Sta niet toe"
1512
 
1513
+ msgid "Parent ID"
1514
+ msgstr "Parent ID"
1515
 
1516
+ msgid "Select"
1517
+ msgstr "Selecteer"
1518
 
1519
+ msgid "Custom field mapping updated."
1520
+ msgstr "Custom veld vertaling gewijzigd."
1521
 
1522
+ msgid "IPTC/EXIF mapping updated."
1523
+ msgstr "IPTC/EXIF vertaling gewijzigd."
1524
 
1525
+ #. translators: date_i18n format for last modified date and time
1526
+ msgid "M j, Y @ G:i"
1527
+ msgstr "j M, Y @ G:i"
1528
 
1529
+ msgid "Last modified"
1530
+ msgstr "Laatst gewijzigd"
1531
 
1532
+ msgid "Map Custom Field metadata for this item"
1533
+ msgstr "Vertaal Custom Veld metadata voor dit onderdeel"
1534
 
1535
+ msgid "Map Custom Field metadata"
1536
+ msgstr "Vertaal Custom Veld Metadata"
1537
 
1538
+ msgid "Map IPTC/EXIF metadata for this item"
1539
+ msgstr "Vertaal IPTC/EXIF metadata voor dit onderdeel"
1540
 
1541
+ msgid "Map IPTC/EXIF metadata"
1542
+ msgstr "Vertaal IPTC/EXIF metadata"
1543
 
1544
+ msgid "Parent Info"
1545
+ msgstr "Parent Informatie"
1546
 
1547
+ msgid "Attachment Metadata"
1548
+ msgstr "Attachment Metadata"
 
 
 
 
1549
 
1550
+ #. translators: 1: ERROR tag 2: function name 3: template key
1551
+ #, php-format
1552
+ msgctxt "error_log"
1553
+ msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
1554
+ msgstr "%1$s: %2$s negeert \"%3$s\"; geen titel/volgorde"
1555
 
1556
+ msgctxt "post state"
1557
+ msgid "Pending"
1558
+ msgstr "Wacht"
 
 
 
1559
 
1560
+ msgid "Post Parent"
1561
+ msgstr "Post Parent"
1562
 
1563
+ msgid "Select Parent"
1564
+ msgstr "Selecteer Parent"
1565
 
1566
+ msgid "PARENT"
1567
+ msgstr "PARENT"
 
 
 
 
1568
 
1569
+ msgid "All"
1570
+ msgstr "Alles"
 
 
 
 
 
 
 
1571
 
1572
+ msgid "List View"
1573
+ msgstr "Lijst weergave"
1574
 
1575
+ msgid "Filter by"
1576
+ msgstr "Filter"
1577
 
1578
+ msgid "Not Supported"
1579
+ msgstr "Niet Ondersteund"
 
 
 
 
 
 
 
1580
 
1581
+ #. translators: 1: column_name 2: column_values
1582
+ #, php-format
1583
+ msgid "column_default: %1$s, %2$s"
1584
+ msgstr "column_default: %1$s, %2$s"
1585
 
1586
+ msgid "Edit"
1587
+ msgstr "Wijzig"
 
 
 
 
 
1588
 
1589
+ msgid "Trash"
1590
+ msgstr "Prullenbak"
1591
 
1592
+ msgid "Restore this item from the Trash"
1593
+ msgstr "Herstel dit onderdeel vanuit de Prullenbak"
1594
 
1595
+ msgid "Restore"
1596
+ msgstr "Herstel"
1597
 
1598
+ msgid "Edit this item"
1599
+ msgstr "Wijzig dit onderdeel"
 
 
 
 
1600
 
1601
+ msgid "Edit this item inline"
1602
+ msgstr "Wijzig dit onderdeel \"inline\""
1603
 
1604
+ msgid "Quick Edit"
1605
+ msgstr "Snel Wijzig"
1606
 
1607
+ msgid "Move this item to the Trash"
1608
+ msgstr "Gooi dit onderdeel in de Prullenbak"
 
 
 
 
1609
 
1610
+ msgid "Move to Trash"
1611
+ msgstr "Gooi in Prullenbak"
1612
 
1613
+ msgid "Delete this item Permanently"
1614
+ msgstr "Verwijder dit onderdeel Permanent"
 
 
 
 
1615
 
1616
+ msgid "Delete Permanently"
1617
+ msgstr "Verwijder Permanent"
1618
 
1619
+ msgid "Download"
1620
+ msgstr "Download"
 
 
 
1621
 
1622
+ msgid "View"
1623
+ msgstr "View"
1624
 
1625
+ msgid "(no title: bad ID)"
1626
+ msgstr "(geen titel: foutief ID)"
1627
 
1628
+ msgid "MIME Type"
1629
+ msgstr "MIME Type"
1630
 
1631
+ msgid "Base File"
1632
+ msgstr "Bron Bestand"
1633
 
1634
+ msgid "Unpublished"
1635
+ msgstr "Niet gepubliceerd"
1636
 
1637
+ #. translators: 1: upload/last modified date and time
1638
+ #, php-format
1639
+ msgid "%1$s from now"
1640
+ msgstr "%1$s van nu"
1641
 
1642
+ #. translators: 1: upload/last modified date and time
1643
+ #, php-format
1644
+ msgid "%1$s ago"
1645
+ msgstr "%1$s geleden"
1646
 
1647
+ msgid "Set Parent"
1648
+ msgstr "Zet Parent"
1649
 
1650
+ msgctxt "uploaded files"
1651
+ msgid "All"
1652
+ msgid_plural "All"
1653
+ msgstr[0] "Een"
1654
+ msgstr[1] "Alle"
1655
 
1656
+ msgid "Filter"
1657
+ msgstr "Filter"
1658
 
1659
+ msgid "Terms Search"
1660
+ msgstr "Termen Zoeken"
 
 
 
 
 
 
1661
 
1662
+ msgid "Clear Filter-by"
1663
+ msgstr "Schoon Filter-door"
1664
 
1665
+ msgid "Empty Trash"
1666
+ msgstr "Leeg Prullenbak"
 
 
 
 
 
 
 
 
1667
 
1668
+ msgid "Error while saving the changes."
1669
+ msgstr "Fout tijdens opslaan wijzigingen."
1670
 
1671
+ msgid "Remove From Bulk Edit"
1672
+ msgstr "Verwijder Uit Bulk Edit"
 
 
 
 
 
1673
 
1674
+ msgid "Bulk Edit items"
1675
+ msgstr "Bulk Edit onderdelen"
1676
 
1677
+ msgid "Waiting"
1678
+ msgstr "Wacht"
1679
 
1680
+ msgid "Complete"
1681
+ msgstr "Gereed"
 
 
 
 
1682
 
1683
+ msgid "Unchanged"
1684
+ msgstr "Ongewijzigd"
1685
 
1686
+ msgid "Succeeded"
1687
+ msgstr "Geslaagd"
1688
 
1689
+ msgid "Failed"
1690
+ msgstr "Mislukt"
1691
+
1692
+ msgid "CANCELED"
1693
+ msgstr "GESTOPT"
1694
 
 
1695
  #, php-format
1696
+ msgid "Item permanently deleted."
1697
+ msgid_plural "%d items permanently deleted."
1698
+ msgstr[0] "Onderdeel permanent verwijderd."
1699
+ msgstr[1] "%d onderdelen permanent verwijderd."
 
 
1700
 
1701
+ #. translators: 1: post ID
1702
+ #, php-format
1703
+ msgid "Item %1$d moved to Trash."
1704
+ msgstr "Onderdeel %1$d in Prullenbak geplaatst."
1705
 
1706
+ msgid "Entries per page"
1707
+ msgstr "Berichten per pagina"
1708
 
1709
+ msgid "You are not allowed to edit Attachment: "
1710
+ msgstr "U mag deze Attachment niet wijzigen: "
1711
 
1712
+ #. translators: 1: ERROR tag 2: bulk action
1713
+ #, php-format
1714
+ msgid "%1$s: Unknown bulk action %2$s"
1715
+ msgstr "%1$s: Onbekende bulk actie %2$s"
1716
 
1717
+ msgid "no changes detected"
1718
+ msgstr "geen wijzigingen gevonden"
1719
 
1720
+ #. translators: 1: action name, e.g., edit
1721
+ #, php-format
1722
+ msgid "Bulk Action %1$s - no items selected."
1723
+ msgstr "Bulk Actie %1$s - geen onderdelen geselecteerd."
1724
 
1725
+ msgid "You do not have permission to manage attachments."
1726
+ msgstr "U heeft geen rechten om attachments te beheren."
1727
 
1728
+ #. translators: 1: number of items
1729
+ #, php-format
1730
+ msgctxt "deleted items"
1731
+ msgid "%s item deleted."
1732
+ msgid_plural "%s items deleted."
1733
+ msgstr[0] "%s onderdeel verwijderd."
1734
+ msgstr[1] "%s onderdelen verwijderd."
1735
 
1736
+ msgid "No items deleted."
1737
+ msgstr "Geen onderdelen verwijderd."
1738
 
1739
+ msgid "Empty Terms Search; ignored"
1740
+ msgstr "Leeg Termen Zoek; genegeerd"
1741
 
1742
+ #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
1743
+ #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
1744
+ #, php-format
1745
+ msgid "Unknown mla_admin_action - \"%1$s\""
1746
+ msgstr "Onbekende mla_admin_action - \"%1$s\""
1747
 
1748
+ msgid "term search results for"
1749
+ msgstr "zoekterm resultaat voor"
1750
 
1751
+ msgid "post/parent results for"
1752
+ msgstr "post/parent resultaat voor"
1753
 
1754
+ msgid "search results for"
1755
+ msgstr "zoekresultaat voor"
1756
 
1757
+ msgid "Update"
1758
+ msgstr "Bijwerken"
 
 
1759
 
1760
+ msgid "All Post Types"
1761
+ msgstr "Alle Post Types"
1762
 
1763
+ msgid "For"
1764
+ msgstr "Voor"
1765
 
1766
+ msgid "Unattached"
1767
+ msgstr "Ongekoppeld"
1768
 
1769
+ msgid "Cancel"
1770
+ msgstr "Beëindig"
 
 
1771
 
1772
+ msgid "Bulk Edit"
1773
+ msgstr "Bulk Edit"
1774
 
1775
+ msgid "In-process"
1776
+ msgstr "In bewerking"
 
 
 
 
 
 
1777
 
1778
+ msgid "You are not allowed to delete this item."
1779
+ msgstr "U mag dit onderdeel niet verwijderen."
1780
 
1781
+ #. translators: 1: ERROR tag 2: post ID
1782
+ #, php-format
1783
+ msgid "%1$s: Item %2$d could NOT be deleted."
1784
+ msgstr "%1$s: Onderdeel %2$d kon NIET verwijderd worden."
 
 
 
 
 
 
 
 
 
 
1785
 
1786
+ #. translators: 1: post ID
1787
+ #, php-format
1788
+ msgid "Item %1$d permanently deleted."
1789
+ msgstr "Onderdeel %1$d permanent verwijderd."
1790
 
1791
+ msgid "You are not allowed to move this item out of the Trash."
1792
+ msgstr "U mag dit onderdeel niet uit de Prullenbak verwijderen."
1793
 
1794
+ #. translators: 1: ERROR tag 2: post ID
1795
+ #, php-format
1796
+ msgid "%1$s: Item %2$d could NOT be restored from Trash."
1797
+ msgstr "%1$s: Onderdeel %2$d kon NIET hersteld worden uit de Prullenbak."
1798
 
1799
+ #. translators: 1: post ID
1800
+ #, php-format
1801
+ msgid "Item %1$d restored from Trash."
1802
+ msgstr "Onderdeel %1$d hersteld vanuit Prullenbak."
 
 
 
 
 
 
 
 
1803
 
1804
+ msgid "You are not allowed to move this item to the Trash."
1805
+ msgstr "U mag dit onderdeel niet verwijderen uit de Prullenbak."
1806
 
1807
+ #. translators: 1: ERROR tag 2: post ID
1808
+ #, php-format
1809
+ msgid "%1$s: Item %2$d could NOT be moved to Trash."
1810
+ msgstr "%1$s: Onderdeel %2$d kon NIET verwijderd worden uit de Prullenbak."
 
 
 
 
 
1811
 
1812
+ msgid "Click to toggle"
1813
+ msgstr "Klik om te switchen"
1814
 
1815
+ msgid "Tags"
1816
+ msgstr "Tags"
 
 
 
 
1817
 
1818
+ #. translators: %s: add new taxonomy label
1819
+ #. translators: %s: add new View
1820
+ #. translators: %s: add new Upload MIME Type
1821
+ #, php-format
1822
+ msgid "Add New %1$s"
1823
+ msgstr "Voeg Nieuwe %1$s Toe"
1824
 
1825
+ msgid "Choose from the most used tags"
1826
+ msgstr "Kies vanuit de meest gebruikte tags"
 
 
 
 
 
 
 
 
 
 
 
1827
 
1828
+ msgid "Show all dates"
1829
+ msgstr "Toon alle data"
1830
 
1831
+ #. translators: 1: month name, 2: 4-digit year
1832
+ #, php-format
1833
+ msgid "%1$s %2$d"
1834
+ msgstr "%1$s %2$d"
 
 
 
 
 
1835
 
1836
+ msgid "Search Box"
1837
+ msgstr "Zoek Box"
1838
 
1839
+ msgid "Loading..."
1840
+ msgstr "Laden..."
 
 
 
 
 
 
 
 
1841
 
1842
+ msgid "Search Terms"
1843
+ msgstr "Zoek Termen"
1844
 
1845
+ msgid "There are no taxonomies to search"
1846
+ msgstr "Er zijn geen taxonomieën te doorzoeken"
 
 
 
 
 
 
1847
 
1848
+ msgid "All phrases"
1849
+ msgstr "Alle regels"
 
 
 
 
 
 
 
 
 
1850
 
1851
+ msgid "Any phrase"
1852
+ msgstr "Willekeurige regel"
1853
 
1854
+ msgid "All terms"
1855
+ msgstr "Alle termen"
 
 
 
 
 
 
1856
 
1857
+ msgid "Any term"
1858
+ msgstr "Willekeurige term"
1859
 
1860
+ msgid "Exact"
1861
+ msgstr "Exact"
 
 
 
 
 
 
 
 
 
 
1862
 
1863
+ msgctxt "post_mime_types"
1864
+ msgid "Manage"
1865
+ msgstr "Beheer"
 
 
 
 
1866
 
1867
+ msgctxt "post_mime_types_description"
1868
+ msgid "Copied from previous filter/plugin"
1869
+ msgstr "Gekopieerd van vorig(e) filter/plugin"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1870
 
1871
+ msgid "Ignoring specification for Post MIME Type; using slug"
1872
+ msgstr "Negeer specificatie voor Post MIME Type; gebruik slug"
1873
 
1874
+ #. translators: 1: element name 2: bad_value 3: good_value
1875
+ #, php-format
1876
+ msgid "<br>Changing %1$s \"%2$s\" to valid value \"%3$s\""
1877
+ msgstr "<br>Wijzig %1$s \"%2$s\" naar juiste waarde \"%3$s\""
1878
+
1879
+ msgid "Slug"
1880
+ msgstr "Slug"
1881
+
1882
+ #. translators: 1: ERROR tag 2: slug
1883
+ #, php-format
1884
+ msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
1885
+ msgstr "%1$s: Kon Slug \"%2$s\" niet toevoegen; waarde bestaat al"
1886
+
1887
+ #. translators: 1: slug
1888
+ #, php-format
1889
+ msgid "Edit view \"%1$s\"; added"
1890
+ msgstr "Bewerk view \"%1$s\"; toegevoegd"
1891
+
1892
+ #. translators: 1: element name 2: bad_value 3: good_value
1893
+ #, php-format
1894
+ msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
1895
+ msgstr "<br>Wijzig nieuwe %1$s \"%2$s\" naar juiste waarde \"%3$s\""
1896
+
1897
+ #. translators: 1: slug
1898
+ #, php-format
1899
+ msgid "Edit view \"%1$s\"; no changes detected"
1900
+ msgstr "Bewerk view \"%1$s\"; geen wijzigingen gevonden"
1901
+
1902
+ #. translators: 1: slug
1903
+ #, php-format
1904
+ msgid "Edit view \"%1$s\"; updated"
1905
+ msgstr "Bewerk view \"%1$s\"; gewijzigd"
1906
+
1907
+ #. translators: 1: slug
1908
+ #, php-format
1909
+ msgid "View \"%1$s\" reverted to standard"
1910
+ msgstr "View \"%1$s\" teruggezet naar standaard"
1911
+
1912
+ #. translators: 1: slug
1913
+ #, php-format
1914
+ msgid "View \"%1$s\" deleted"
1915
+ msgstr "View \"%1$s\" verwijderd"
1916
+
1917
+ #. translators: 1: ERROR tag 2: slug
1918
+ #, php-format
1919
+ msgid "%1$s: Did not find view \"%2$s\""
1920
+ msgstr "%1$s: Kon view \"%2$s\" niet vinden"
1921
+
1922
+ msgctxt "table_view_singular"
1923
+ msgid "Active"
1924
+ msgstr "Actief"
1925
+
1926
+ msgctxt "table_view_plural"
1927
+ msgid "Active"
1928
+ msgstr "Actief"
1929
+
1930
+ msgctxt "table_view_singular"
1931
+ msgid "Inactive"
1932
+ msgstr "Inactief"
1933
+
1934
+ msgctxt "table_view_plural"
1935
+ msgid "Inactive"
1936
+ msgstr "Inactief"
1937
+
1938
+ msgctxt "table_view_singular"
1939
+ msgid "WordPress"
1940
+ msgstr "WordPress"
1941
+
1942
+ msgctxt "table_view_plural"
1943
+ msgid "WordPress"
1944
+ msgstr "WordPress"
1945
+
1946
+ msgctxt "table_view_singular"
1947
+ msgid "MLA"
1948
+ msgstr "MLA"
1949
+
1950
+ msgctxt "table_view_plural"
1951
+ msgid "MLA"
1952
+ msgstr "MLA"
1953
+
1954
+ msgctxt "table_view_singular"
1955
+ msgid "Custom"
1956
+ msgstr "Custom"
1957
+
1958
+ msgctxt "table_view_plural"
1959
+ msgid "Custom"
1960
+ msgstr "Custom"
1961
+
1962
+ msgid "icon"
1963
+ msgstr "symbool"
1964
+
1965
+ msgid "Cannot load Upload MIME Types"
1966
+ msgstr "Kan Upload MIME Types niet laden"
1967
+
1968
+ msgid "Extension is required"
1969
+ msgstr "Extensie is verplicht"
1970
 
1971
+ msgid "Extension"
1972
+ msgstr "Extensie"
 
 
 
 
1973
 
1974
+ #. translators: 1: ERROR tag 2: slug
1975
+ #, php-format
1976
+ msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
1977
+ msgstr "%1$s: Kon extensie \"%2$s\" niet toevoegen; waarde bestaat al"
1978
 
1979
+ msgid "MIME type is required"
1980
+ msgstr "MIME type is verplicht"
 
1981
 
1982
+ #. translators: 1: ERROR tag 2: clean_mime_type
1983
+ #, php-format
1984
+ msgid "%1$s: Bad MIME type; try \"%2$s\""
1985
+ msgstr "%1$s: Foutief MIME type; probeer \"%2$s\""
1986
 
1987
+ #. translators: 1: slug
1988
+ #, php-format
1989
+ msgid "Upload MIME Type \"%1$s\"; added"
1990
+ msgstr "Upload MIME Type \"%1$s\"; toegevoegd"
1991
 
1992
+ msgid "Cannot update Upload MIME Types"
1993
+ msgstr "Kan Upload MIME Types niet bijwerken"
 
1994
 
1995
+ #. translators: 1: ERROR tag 2: slug
1996
+ #, php-format
1997
+ msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
1998
+ msgstr "%1$s: Kon nieuwe extensie \"%2$s\" niet toevoegen; waarde bestaat al"
1999
 
2000
+ #. translators: 1: slug
2001
+ #, php-format
2002
+ msgid "Edit type \"%1$s\"; no changes detected"
2003
+ msgstr "Bewerk type \"%1$s\"; geen wijzigingen gevonden"
2004
 
2005
+ #. translators: 1: slug
2006
+ #, php-format
2007
+ msgid "Edit type \"%1$s\"; updated"
2008
+ msgstr "Bewerk type \"%1$s\"; bijgewerkt"
2009
 
2010
+ #. translators: 1: slug
2011
+ #, php-format
2012
+ msgid "Upload MIME Type \"%1$s\"; reverted to standard"
2013
+ msgstr "Upload MIME Type \"%1$s\"; teruggezet naar standaard"
2014
 
2015
+ #. translators: 1: slug
2016
+ #, php-format
2017
+ msgid "Upload MIME Type \"%1$s\"; deleted"
2018
+ msgstr "Upload MIME Type \"%1$s\"; verwijderd"
2019
 
2020
+ #. translators: 1: ERROR tag 2: slug
2021
+ #, php-format
2022
+ msgid "%1$s: Did not find Upload type \"%2$s\""
2023
+ msgstr "%1$s: Kon Upload type \"%2$s\" niet vinden"
2024
 
2025
+ msgctxt "taxonomy_name_plural"
2026
+ msgid "Att. Categories"
2027
+ msgstr "Gekopp. Categorieën"
2028
 
2029
+ msgctxt "taxonomy_name_singular"
2030
+ msgid "Att. Category"
2031
+ msgstr "Gekopp. Categorie"
2032
 
2033
+ msgid "Search Att. Categories"
2034
+ msgstr "Zoek Gekopp. Categorieën"
 
2035
 
2036
+ msgid "All Att. Categories"
2037
+ msgstr "Alle Gekopp. Categorieën"
 
2038
 
2039
+ msgid "Parent Att. Category"
2040
+ msgstr "Parent Gekopp. Categorie"
 
2041
 
2042
+ msgid "Edit Att. Category"
2043
+ msgstr "Bewerk Gekopp. Categorie"
 
2044
 
2045
+ msgid "Update Att. Category"
2046
+ msgstr "Wijzig Gekopp. Categorie"
 
2047
 
2048
+ msgid "Att. Category"
2049
+ msgstr "Gekopp. Categorie"
 
2050
 
2051
+ msgid "New Att. Category Name"
2052
+ msgstr "Nieuwe Gekopp. Categorie Naam"
 
2053
 
2054
+ msgctxt "taxonomy_name_plural"
2055
+ msgid "Att. Tags"
2056
+ msgstr "Gekopp. Tags"
2057
 
2058
+ msgctxt "taxonomy_name_singular"
2059
+ msgid "Att. Tag"
2060
+ msgstr "Gekopp. Tag"
2061
 
2062
+ msgid "Search Att. Tags"
2063
+ msgstr "Zoek Gekopp. Tags"
2064
 
2065
+ msgid "All Att. Tags"
2066
+ msgstr "Alle Gekopp. Tags"
 
 
 
 
 
2067
 
2068
+ msgid "Parent Att. Tag"
2069
+ msgstr "Parent Gekopp. Tag"
2070
 
2071
+ msgid "Edit Att. Tag"
2072
+ msgstr "Bewerk Gekopp. Tag"
2073
 
2074
+ msgid "Update Att. Tag"
2075
+ msgstr "Wijzig Gekopp. Tag"
 
 
 
 
 
2076
 
2077
+ msgid "Att. Tag"
2078
+ msgstr "Gekopp. Tag"
2079
 
2080
+ msgid "New Att. Tag Name"
2081
+ msgstr "Nieuwe Gekopp. Tag Naam"
 
 
 
 
2082
 
2083
+ msgid "Attachments"
2084
+ msgstr "Attachments"
2085
 
2086
+ #. translators: 1: ERROR tag 2: taxonomy 3: error message
2087
+ #, php-format
2088
+ msgctxt "error_log"
2089
  msgid ""
2090
+ "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
 
2091
  msgstr ""
2092
+ "%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term foutief: \"%3$s\""
 
2093
 
2094
+ msgid "click to search"
2095
+ msgstr "klik om te zoeken"
2096
 
2097
+ msgid "Shortcode(s), HTML and/or Plain Text"
2098
+ msgstr "Shortcode(s), HTML en/of Gewone Tekst"
 
 
 
 
 
2099
 
2100
+ msgid "MLA Text"
2101
+ msgstr "MLA Tekst"
2102
 
2103
+ msgid "Automatically add paragraphs"
2104
+ msgstr "Voeg automatisch paragrafen toe"
 
 
 
 
2105
 
2106
+ msgid "error loading tpls/mla-option-templates.tpl"
2107
+ msgstr "fout bij laden tpls/mla-option-templates.tpl"
2108
 
2109
+ msgid "tpls/mla-option-templates.tpl not found"
2110
+ msgstr "tpls/mla-option-templates.tpl niet gevonden"
 
 
 
 
2111
 
2112
  msgid "no templates exist"
2113
  msgstr "er bestaan geen templates"
2114
 
 
 
 
2115
  #. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
2116
  #, php-format
2117
  msgid "%1$s: Custom %2$s unknown action \"%3$s\""
2513
  "Kies deze optie om algemene termen te synchroniseren in alle item "
2514
  "vertalingen."
2515
 
2516
+ msgid "Term Mapping Replication"
2517
+ msgstr "Term Mapping Replicatie"
2518
+
2519
+ msgid ""
2520
+ "When mapping IPTC/EXIF metadata to taxonomy terms, make them available in "
2521
+ "all languages."
2522
+ msgstr ""
2523
+ "Wanneer IPTC/EXIF metadata gemapt worden naar taxonomie termen, maak ze dan "
2524
+ "beschikbaar in alle talen."
2525
+
2526
  msgid "Language Options"
2527
  msgstr "Taal Opties"
2528
 
2574
  msgid "Language settings reset to default values."
2575
  msgstr "Taal instellingen reset naar default waarden."
2576
 
2577
+ msgid "Error while making the changes."
2578
+ msgstr "Fout tijdens het aanbrengen van de wijzigingen."
2579
+
2580
  msgid "no slug"
2581
  msgstr "geen slug"
2582
 
3003
  msgid "Ghostscript support is not installed."
3004
  msgstr "Ghostscript ondersteuning is niet geïnstalleerd"
3005
 
3006
+ msgid "WARNING:"
3007
+ msgstr "WAARSCHUWING:"
3008
+
3009
+ msgid " MLA Viewer support may not be available"
3010
+ msgstr " MLA Viewer support zou niet bechikbaar kunnen zijn"
3011
 
3012
  msgid ""
3013
  "This default template cannot be altered or deleted, but you can copy the "
3229
  msgid "Error log file (%1$s) not found; click Reset to create it."
3230
  msgstr "Error log file (%1$s) niet gevonden; klik Reset om hem aan te maken."
3231
 
 
 
 
3232
  msgid "Debug Options"
3233
  msgstr "Debug Opties"
3234
 
3269
  #, php-format
3270
  msgctxt "message_list"
3271
  msgid "Adding new %1$s \"%2$s\"."
3272
+ msgstr "Voeg nieuw %1$s \"%2$s\" toe."
3273
 
3274
  #. translators: 1: ERROR tag 2: element name 3: old value
3275
  #, php-format
3477
  msgid "Settings imported; %1$s updated, %2$s unchanged."
3478
  msgstr "Instellingen ge&iuml;mporteerd; %1$s bijgewerkt, %2$s ongewijzigd."
3479
 
3480
+ msgid "not found"
3481
+ msgstr "niet gevonden"
3482
+
3483
  msgid "Previous"
3484
  msgstr "Vorige"
3485
 
3687
  msgid "Select these entries"
3688
  msgstr "Selecteer deze berichten"
3689
 
3690
+ msgctxt "list_table_column"
3691
+ msgid "Slug"
3692
+ msgstr "Slug"
3693
+
3694
  msgctxt "list_table_column"
3695
  msgid "Specification"
3696
  msgstr "Specificatie"
3718
  msgid "Duplicate translation created; update as desired."
3719
  msgstr "Dubbele vertaling aangemaakt; update eventueel."
3720
 
3721
+ msgid "Make media available in all languages"
3722
+ msgstr "Maak media beschikbaar in alle talen"
3723
+
3724
+ msgid " WPML Media is not installed."
3725
+ msgstr " WPML Media is niet ge&iuml;nstalleerd."
3726
+
3727
+ msgid " WPML Media is not active."
3728
+ msgstr " WPML Media is niet actief."
3729
+
3730
  #. translators: 1: - 4: page subheader values
3731
  #, php-format
3732
  msgid ""
3766
  "ondersteuning, IPTC/EXIF verwerking, bulk & snel bewerken acties en waar-"
3767
  "gebruikt bepaling."
3768
 
3769
+ #~ msgid "WARNING: MLA Viewer support may not be available"
3770
+ #~ msgstr "WAARSCHUWING: MLA Viewer ondersteuning kan niet beschikbaar zijn"
3771
+
3772
  #~ msgid "Enable enhanced \"checklist\" taxonomies"
3773
  #~ msgstr "Kies uitgebreide \"checklist\" taxonomieën"
3774
 
mla-uninstall.php ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Media Library Assistant Uninstall
4
+ *
5
+ * Uninstalling (deleting) Media Library Assistant deletes option settings.
6
+ *
7
+ * @package Media Library Assistant
8
+ * @since 2.25
9
+ */
10
+
11
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
12
+ exit;
13
+ }
14
+
15
+ /**
16
+ * Provides path information to the plugin root in file system format, including the trailing slash.
17
+ */
18
+ define( 'MLA_PLUGIN_PATH', rtrim( dirname( __FILE__ ), '/\\' ) . '/' );
19
+
20
+ if ( ! defined( 'MLA_BACKUP_DIR' ) ) {
21
+ /**
22
+ * Provides the absolute path to the MLA backup directory, including the trailing slash.
23
+ * This constant can be overriden by defining it in the wp_config.php file.
24
+ */
25
+ $content_dir = ( defined('WP_CONTENT_DIR') ) ? WP_CONTENT_DIR : ABSPATH . 'wp-content';
26
+ define( 'MLA_BACKUP_DIR', $content_dir . '/mla-backup/' );
27
+ unset( $content_dir );
28
+ }
29
+
30
+ if ( ! defined('MLA_OPTION_PREFIX') ) {
31
+ /**
32
+ * Gives a unique prefix for plugin options; can be set in wp-config.php
33
+ */
34
+ define('MLA_OPTION_PREFIX', 'mla_');
35
+ }
36
+
37
+ /*
38
+ * Load the MLA Options table to get the option settings list
39
+ */
40
+ require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core-options.php' );
41
+ MLACoreOptions::mla_localize_option_definitions_array();
42
+
43
+ /**
44
+ * Class MLA (Media Library Assistant) Uninstall deletes the data associated with the MLA plugin
45
+ *
46
+ * @package Media Library Assistant
47
+ * @since 2.25
48
+ */
49
+ class MLAUninstall {
50
+ /**
51
+ * Delete option settings and/or backup directory, if the appropriate MLA General options are set
52
+ *
53
+ * @since 2.25
54
+ */
55
+ public static function process_uninstall( ) {
56
+ $delete_option_settings = 'checked' === get_option( MLA_OPTION_PREFIX . MLACoreOptions::MLA_DELETE_OPTION_SETTINGS, false );
57
+ $delete_option_backups = 'checked' === get_option( MLA_OPTION_PREFIX . MLACoreOptions::MLA_DELETE_OPTION_BACKUPS, false );
58
+
59
+ /*
60
+ * Delete saved settings
61
+ */
62
+ if ( $delete_option_settings ) {
63
+ foreach ( MLACoreOptions::$mla_option_definitions as $key => $value ) {
64
+ if ( in_array( $value['type'], array( 'header', 'subheader' ) ) ) {
65
+ continue;
66
+ } else {
67
+ $result = delete_option( MLA_OPTION_PREFIX .$key );
68
+ }
69
+ }
70
+ } // $delete_option_settings
71
+
72
+ /*
73
+ * Delete backup files and directory (best efforts)
74
+ */
75
+ if ( $delete_option_backups && file_exists( MLA_BACKUP_DIR ) ) {
76
+ $files = @scandir( MLA_BACKUP_DIR, SCANDIR_SORT_NONE );
77
+ if ( is_array( $files ) ) {
78
+ foreach ( $files as $file ) {
79
+ if ( 0 === strpos( $file, '.' ) ) {
80
+ continue;
81
+ }
82
+
83
+ @unlink( MLA_BACKUP_DIR . $file );
84
+ }
85
+ } // is_array
86
+
87
+ @rmdir( MLA_BACKUP_DIR );
88
+ } // $delete_option_backups
89
+ } // process_uninstall
90
+ } // class MLAUninstall
91
+ MLAUninstall::process_uninstall();
92
+ ?>
phpDocs/classes.svg CHANGED
@@ -4,315 +4,329 @@
4
  <!-- Generated by graphviz version 2.28.0 (20110507.0327)
5
  -->
6
  <!-- Title: G Pages: 1 -->
7
- <svg width="730pt" height="1946pt"
8
- viewBox="0.00 0.00 730.00 1946.47" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
- <g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1942.47)">
10
  <title>G</title>
11
- <polygon fill="white" stroke="white" points="-4,5 -4,-1942.47 727,-1942.47 727,5 -4,5"/>
12
  <g id="graph2" class="cluster"><title>cluster_global</title>
13
- <polyline fill="none" stroke="gray" points="263,-184.471 702,-184.471 "/>
14
- <path fill="none" stroke="gray" d="M702,-184.471C708,-184.471 714,-190.471 714,-196.471"/>
15
- <polyline fill="none" stroke="gray" points="714,-196.471 714,-1918.47 "/>
16
- <path fill="none" stroke="gray" d="M714,-1918.47C714,-1924.47 708,-1930.47 702,-1930.47"/>
17
- <polyline fill="none" stroke="gray" points="702,-1930.47 263,-1930.47 "/>
18
- <path fill="none" stroke="gray" d="M263,-1930.47C257,-1930.47 251,-1924.47 251,-1918.47"/>
19
- <polyline fill="none" stroke="gray" points="251,-1918.47 251,-196.471 "/>
20
- <path fill="none" stroke="gray" d="M251,-196.471C251,-190.471 257,-184.471 263,-184.471"/>
21
- <text text-anchor="middle" x="482.5" y="-1917.67" font-family="Times New Roman,serif" font-size="11.00" fill="gray">global</text>
22
  </g>
23
  <!-- \\MNA_Pad_Counts_Walker -->
24
  <g id="node2" class="node"><title>\\MNA_Pad_Counts_Walker</title>
25
  <a xlink:href="examples.twentytwelve-mla.content-tosca30-dropdown.html" xlink:title="MNA_Pad_Counts_Walker" target="_parent">
26
- <polygon fill="none" stroke="black" points="675,-1686.47 517,-1686.47 517,-1650.47 675,-1650.47 675,-1686.47"/>
27
- <text text-anchor="middle" x="596" y="-1665.67" font-family="Courier,monospace" font-size="11.00">MNA_Pad_Counts_Walker</text>
28
  </a>
29
  </g>
30
  <!-- \\Walker_Category -->
31
- <g id="node36" class="node"><title>\\Walker_Category</title>
32
- <ellipse fill="none" stroke="black" cx="315" cy="-158.471" rx="77.1866" ry="18"/>
33
- <text text-anchor="middle" x="315" y="-154.771" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\Walker_Category</text>
34
  </g>
35
  <!-- \\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category -->
36
  <g id="edge3" class="edge"><title>\\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category</title>
37
- <path fill="none" stroke="black" d="M516.96,-1662.15C505.043,-1657.81 494.053,-1651.26 486,-1641.47 279.436,-1390.48 623.311,-429.174 414,-180.471 409.726,-175.393 404.557,-171.339 398.853,-168.116"/>
38
- <polygon fill="none" stroke="black" points="400.039,-164.806 389.501,-163.708 397.055,-171.138 400.039,-164.806"/>
39
  </g>
40
  <!-- \\CPAC_Storage_Model_MLA -->
41
  <g id="node3" class="node"><title>\\CPAC_Storage_Model_MLA</title>
42
  <a xlink:href="includes.class-mla-admin-columns-support.html" xlink:title="CPAC_Storage_Model_MLA" target="_parent">
43
- <polygon fill="none" stroke="black" points="678.5,-930.471 513.5,-930.471 513.5,-894.471 678.5,-894.471 678.5,-930.471"/>
44
- <text text-anchor="middle" x="596" y="-909.671" font-family="Courier,monospace" font-size="11.00">CPAC_Storage_Model_MLA</text>
45
  </a>
46
  </g>
47
  <!-- \\CPAC_Storage_Model -->
48
- <g id="node38" class="node"><title>\\CPAC_Storage_Model</title>
49
- <ellipse fill="none" stroke="black" cx="315" cy="-104.471" rx="98.5829" ry="18"/>
50
- <text text-anchor="middle" x="315" y="-100.771" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\CPAC_Storage_Model</text>
51
  </g>
52
  <!-- \\CPAC_Storage_Model_MLA&#45;&gt;\\CPAC_Storage_Model -->
53
  <g id="edge5" class="edge"><title>\\CPAC_Storage_Model_MLA&#45;&gt;\\CPAC_Storage_Model</title>
54
- <path fill="none" stroke="black" d="M513.231,-904.258C502.852,-899.999 493.321,-893.961 486,-885.471 376.082,-758 522.25,-260.362 414,-131.471 410.542,-127.354 406.519,-123.834 402.114,-120.828"/>
55
- <polygon fill="none" stroke="black" points="403.626,-117.658 393.221,-115.658 400.107,-123.71 403.626,-117.658"/>
56
  </g>
57
  <!-- \\MLA_Ajax -->
58
  <g id="node4" class="node"><title>\\MLA_Ajax</title>
59
  <a xlink:href="includes.class-mla-ajax.html" xlink:title="MLA_Ajax" target="_parent">
60
- <polygon fill="none" stroke="black" points="631.5,-1794.47 560.5,-1794.47 560.5,-1758.47 631.5,-1758.47 631.5,-1794.47"/>
61
- <text text-anchor="middle" x="596" y="-1773.67" font-family="Courier,monospace" font-size="11.00">MLA_Ajax</text>
 
 
 
 
 
 
 
62
  </a>
63
  </g>
64
  <!-- \\MLACore -->
65
- <g id="node5" class="node"><title>\\MLACore</title>
66
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLACore" target="_parent">
67
- <polygon fill="none" stroke="black" points="628,-1740.47 564,-1740.47 564,-1704.47 628,-1704.47 628,-1740.47"/>
68
- <text text-anchor="middle" x="596" y="-1719.67" font-family="Courier,monospace" font-size="11.00">MLACore</text>
69
  </a>
70
  </g>
71
  <!-- \\MLA_Checklist_Walker -->
72
- <g id="node6" class="node"><title>\\MLA_Checklist_Walker</title>
73
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLA_Checklist_Walker" target="_parent">
74
- <polygon fill="none" stroke="black" points="672,-1848.47 520,-1848.47 520,-1812.47 672,-1812.47 672,-1848.47"/>
75
- <text text-anchor="middle" x="596" y="-1827.67" font-family="Courier,monospace" font-size="11.00">MLA_Checklist_Walker</text>
76
  </a>
77
  </g>
78
  <!-- \\MLA_Checklist_Walker&#45;&gt;\\Walker_Category -->
79
  <g id="edge7" class="edge"><title>\\MLA_Checklist_Walker&#45;&gt;\\Walker_Category</title>
80
- <path fill="none" stroke="black" d="M519.963,-1825.24C506.886,-1820.93 494.708,-1814.1 486,-1803.47 371.634,-1663.81 529.894,-318.864 414,-180.471 409.739,-175.383 404.578,-171.321 398.88,-168.093"/>
81
- <polygon fill="none" stroke="black" points="400.072,-164.786 389.535,-163.68 397.083,-171.115 400.072,-164.786"/>
82
  </g>
83
  <!-- \\MLAPDF -->
84
- <g id="node7" class="node"><title>\\MLAPDF</title>
85
  <a xlink:href="includes.class-mla-data-pdf.html" xlink:title="MLAPDF" target="_parent">
86
- <polygon fill="none" stroke="black" points="624.5,-1632.47 567.5,-1632.47 567.5,-1596.47 624.5,-1596.47 624.5,-1632.47"/>
87
- <text text-anchor="middle" x="596" y="-1611.67" font-family="Courier,monospace" font-size="11.00">MLAPDF</text>
88
  </a>
89
  </g>
90
  <!-- \\MLAQuery -->
91
- <g id="node8" class="node"><title>\\MLAQuery</title>
92
  <a xlink:href="includes.class-mla-data-query.html" xlink:title="MLAQuery" target="_parent">
93
- <polygon fill="none" stroke="black" points="631.5,-1578.47 560.5,-1578.47 560.5,-1542.47 631.5,-1542.47 631.5,-1578.47"/>
94
- <text text-anchor="middle" x="596" y="-1557.67" font-family="Courier,monospace" font-size="11.00">MLAQuery</text>
95
  </a>
96
  </g>
97
  <!-- \\MLAReferences -->
98
- <g id="node9" class="node"><title>\\MLAReferences</title>
99
  <a xlink:href="includes.class-mla-data-references.html" xlink:title="MLAReferences" target="_parent">
100
- <polygon fill="none" stroke="black" points="648,-1524.47 544,-1524.47 544,-1488.47 648,-1488.47 648,-1524.47"/>
101
- <text text-anchor="middle" x="596" y="-1503.67" font-family="Courier,monospace" font-size="11.00">MLAReferences</text>
102
  </a>
103
  </g>
104
  <!-- \\MLAData_Source -->
105
- <g id="node10" class="node"><title>\\MLAData_Source</title>
106
  <a xlink:href="includes.class-mla-data-source.html" xlink:title="MLAData_Source" target="_parent">
107
- <polygon fill="none" stroke="black" points="651.5,-1470.47 540.5,-1470.47 540.5,-1434.47 651.5,-1434.47 651.5,-1470.47"/>
108
- <text text-anchor="middle" x="596" y="-1449.67" font-family="Courier,monospace" font-size="11.00">MLAData_Source</text>
109
  </a>
110
  </g>
111
  <!-- \\MLAData -->
112
- <g id="node11" class="node"><title>\\MLAData</title>
113
  <a xlink:href="includes.class-mla-data.html" xlink:title="MLAData" target="_parent">
114
- <polygon fill="none" stroke="black" points="628,-1416.47 564,-1416.47 564,-1380.47 628,-1380.47 628,-1416.47"/>
115
- <text text-anchor="middle" x="596" y="-1395.67" font-family="Courier,monospace" font-size="11.00">MLAData</text>
116
  </a>
117
  </g>
118
  <!-- \\MLAEdit -->
119
- <g id="node12" class="node"><title>\\MLAEdit</title>
120
  <a xlink:href="includes.class-mla-edit-media.html" xlink:title="MLAEdit" target="_parent">
121
- <polygon fill="none" stroke="black" points="628,-1362.47 564,-1362.47 564,-1326.47 628,-1326.47 628,-1362.47"/>
122
- <text text-anchor="middle" x="596" y="-1341.67" font-family="Courier,monospace" font-size="11.00">MLAEdit</text>
123
  </a>
124
  </g>
125
  <!-- \\MLAImageProcessor -->
126
- <g id="node13" class="node"><title>\\MLAImageProcessor</title>
127
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAImageProcessor" target="_parent">
128
- <polygon fill="none" stroke="black" points="661.5,-1308.47 530.5,-1308.47 530.5,-1272.47 661.5,-1272.47 661.5,-1308.47"/>
129
- <text text-anchor="middle" x="596" y="-1287.67" font-family="Courier,monospace" font-size="11.00">MLAImageProcessor</text>
130
  </a>
131
  </g>
132
  <!-- \\MLAMutex -->
133
- <g id="node14" class="node"><title>\\MLAMutex</title>
134
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAMutex" target="_parent">
135
- <polygon fill="none" stroke="black" points="631.5,-1254.47 560.5,-1254.47 560.5,-1218.47 631.5,-1218.47 631.5,-1254.47"/>
136
- <text text-anchor="middle" x="596" y="-1233.67" font-family="Courier,monospace" font-size="11.00">MLAMutex</text>
137
  </a>
138
  </g>
139
  <!-- \\MLA_List_Table -->
140
- <g id="node15" class="node"><title>\\MLA_List_Table</title>
141
  <a xlink:href="includes.class-mla-list-table.html" xlink:title="MLA_List_Table" target="_parent">
142
- <polygon fill="none" stroke="black" points="370.5,-1066.47 259.5,-1066.47 259.5,-1030.47 370.5,-1030.47 370.5,-1066.47"/>
143
- <text text-anchor="middle" x="315" y="-1045.67" font-family="Courier,monospace" font-size="11.00">MLA_List_Table</text>
144
  </a>
145
  </g>
146
  <!-- \\WP_List_Table -->
147
- <g id="node41" class="node"><title>\\WP_List_Table</title>
148
- <ellipse fill="none" stroke="black" cx="72" cy="-526.471" rx="71.4873" ry="18"/>
149
- <text text-anchor="middle" x="72" y="-522.771" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_List_Table</text>
150
  </g>
151
  <!-- \\MLA_List_Table&#45;&gt;\\WP_List_Table -->
152
  <g id="edge9" class="edge"><title>\\MLA_List_Table&#45;&gt;\\WP_List_Table</title>
153
- <path fill="none" stroke="black" d="M259.492,-1046.56C243.778,-1043.49 227.73,-1037.54 216,-1026.47 145.192,-959.638 92.1903,-650.495 77.2537,-554.79"/>
154
- <polygon fill="none" stroke="black" points="80.6812,-554.051 75.6975,-544.702 73.763,-555.119 80.6812,-554.051"/>
155
  </g>
156
  <!-- \\MLA -->
157
- <g id="node16" class="node"><title>\\MLA</title>
158
  <a xlink:href="includes.class-mla-main.html" xlink:title="MLA" target="_parent">
159
- <polygon fill="none" stroke="black" points="623,-1200.47 569,-1200.47 569,-1164.47 623,-1164.47 623,-1200.47"/>
160
- <text text-anchor="middle" x="596" y="-1179.67" font-family="Courier,monospace" font-size="11.00">MLA</text>
161
  </a>
162
  </g>
163
  <!-- \\MLAModal_Ajax -->
164
- <g id="node17" class="node"><title>\\MLAModal_Ajax</title>
165
  <a xlink:href="includes.class-mla-media-modal-ajax.html" xlink:title="MLAModal_Ajax" target="_parent">
166
- <polygon fill="none" stroke="black" points="648,-1146.47 544,-1146.47 544,-1110.47 648,-1110.47 648,-1146.47"/>
167
- <text text-anchor="middle" x="596" y="-1125.67" font-family="Courier,monospace" font-size="11.00">MLAModal_Ajax</text>
168
  </a>
169
  </g>
170
  <!-- \\MLAModal -->
171
- <g id="node18" class="node"><title>\\MLAModal</title>
172
  <a xlink:href="includes.class-mla-media-modal.html" xlink:title="MLAModal" target="_parent">
173
- <polygon fill="none" stroke="black" points="631.5,-1092.47 560.5,-1092.47 560.5,-1056.47 631.5,-1056.47 631.5,-1092.47"/>
174
- <text text-anchor="middle" x="596" y="-1071.67" font-family="Courier,monospace" font-size="11.00">MLAModal</text>
175
  </a>
176
  </g>
177
  <!-- \\MLAMime -->
178
- <g id="node19" class="node"><title>\\MLAMime</title>
179
  <a xlink:href="includes.class-mla-mime-types.html" xlink:title="MLAMime" target="_parent">
180
- <polygon fill="none" stroke="black" points="628,-1038.47 564,-1038.47 564,-1002.47 628,-1002.47 628,-1038.47"/>
181
- <text text-anchor="middle" x="596" y="-1017.67" font-family="Courier,monospace" font-size="11.00">MLAMime</text>
182
  </a>
183
  </g>
184
  <!-- \\MLAObjects -->
185
- <g id="node20" class="node"><title>\\MLAObjects</title>
186
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLAObjects" target="_parent">
187
- <polygon fill="none" stroke="black" points="638,-984.471 554,-984.471 554,-948.471 638,-948.471 638,-984.471"/>
188
- <text text-anchor="middle" x="596" y="-963.671" font-family="Courier,monospace" font-size="11.00">MLAObjects</text>
189
  </a>
190
  </g>
191
  <!-- \\MLATextWidget -->
192
- <g id="node21" class="node"><title>\\MLATextWidget</title>
193
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLATextWidget" target="_parent">
194
- <polygon fill="none" stroke="black" points="648,-552.471 544,-552.471 544,-516.471 648,-516.471 648,-552.471"/>
195
- <text text-anchor="middle" x="596" y="-531.671" font-family="Courier,monospace" font-size="11.00">MLATextWidget</text>
196
  </a>
197
  </g>
198
  <!-- \\WP_Widget -->
199
- <g id="node43" class="node"><title>\\WP_Widget</title>
200
- <ellipse fill="none" stroke="black" cx="315" cy="-50.4711" rx="58.4896" ry="18"/>
201
- <text text-anchor="middle" x="315" y="-46.7711" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_Widget</text>
202
  </g>
203
  <!-- \\MLATextWidget&#45;&gt;\\WP_Widget -->
204
  <g id="edge11" class="edge"><title>\\MLATextWidget&#45;&gt;\\WP_Widget</title>
205
- <path fill="none" stroke="black" d="M543.856,-533.58C523.147,-530.535 500.702,-523.35 486,-507.471 354.352,-365.287 543.787,-221.356 414,-77.4711 405.466,-68.0099 393.95,-61.7377 381.814,-57.6084"/>
206
- <polygon fill="none" stroke="black" points="382.574,-54.1839 371.993,-54.7361 380.609,-60.9025 382.574,-54.1839"/>
207
  </g>
208
  <!-- \\MLAOptions -->
209
- <g id="node22" class="node"><title>\\MLAOptions</title>
210
  <a xlink:href="includes.class-mla-options.html" xlink:title="MLAOptions" target="_parent">
211
- <polygon fill="none" stroke="black" points="638,-876.471 554,-876.471 554,-840.471 638,-840.471 638,-876.471"/>
212
- <text text-anchor="middle" x="596" y="-855.671" font-family="Courier,monospace" font-size="11.00">MLAOptions</text>
213
  </a>
214
  </g>
215
  <!-- \\MLA_Polylang -->
216
- <g id="node23" class="node"><title>\\MLA_Polylang</title>
217
  <a xlink:href="includes.class-mla-polylang-support.html" xlink:title="MLA_Polylang" target="_parent">
218
- <polygon fill="none" stroke="black" points="645,-822.471 547,-822.471 547,-786.471 645,-786.471 645,-822.471"/>
219
- <text text-anchor="middle" x="596" y="-801.671" font-family="Courier,monospace" font-size="11.00">MLA_Polylang</text>
220
  </a>
221
  </g>
222
  <!-- \\MLASettings -->
223
- <g id="node24" class="node"><title>\\MLASettings</title>
224
  <a xlink:href="includes.class-mla-settings.html" xlink:title="MLASettings" target="_parent">
225
- <polygon fill="none" stroke="black" points="641.5,-768.471 550.5,-768.471 550.5,-732.471 641.5,-732.471 641.5,-768.471"/>
226
- <text text-anchor="middle" x="596" y="-747.671" font-family="Courier,monospace" font-size="11.00">MLASettings</text>
227
  </a>
228
  </g>
229
  <!-- \\MLAShortcode_Support -->
230
- <g id="node25" class="node"><title>\\MLAShortcode_Support</title>
231
  <a xlink:href="includes.class-mla-shortcode-support.html" xlink:title="MLAShortcode_Support" target="_parent">
232
- <polygon fill="none" stroke="black" points="672,-714.471 520,-714.471 520,-678.471 672,-678.471 672,-714.471"/>
233
- <text text-anchor="middle" x="596" y="-693.671" font-family="Courier,monospace" font-size="11.00">MLAShortcode_Support</text>
234
  </a>
235
  </g>
236
  <!-- \\MLAShortcodes -->
237
- <g id="node26" class="node"><title>\\MLAShortcodes</title>
238
  <a xlink:href="includes.class-mla-shortcodes.html" xlink:title="MLAShortcodes" target="_parent">
239
- <polygon fill="none" stroke="black" points="648,-660.471 544,-660.471 544,-624.471 648,-624.471 648,-660.471"/>
240
- <text text-anchor="middle" x="596" y="-639.671" font-family="Courier,monospace" font-size="11.00">MLAShortcodes</text>
241
  </a>
242
  </g>
243
  <!-- \\MLA_Thumbnail -->
244
- <g id="node27" class="node"><title>\\MLA_Thumbnail</title>
245
  <a xlink:href="includes.class-mla-thumbnail-generation.html" xlink:title="MLA_Thumbnail" target="_parent">
246
- <polygon fill="none" stroke="black" points="648,-606.471 544,-606.471 544,-570.471 648,-570.471 648,-606.471"/>
247
- <text text-anchor="middle" x="596" y="-585.671" font-family="Courier,monospace" font-size="11.00">MLA_Thumbnail</text>
248
  </a>
249
  </g>
250
  <!-- \\MLA_Upload_List_Table -->
251
- <g id="node28" class="node"><title>\\MLA_Upload_List_Table</title>
252
  <a xlink:href="includes.class-mla-upload-list-table.html" xlink:title="MLA_Upload_List_Table" target="_parent">
253
- <polygon fill="none" stroke="black" points="675,-498.471 517,-498.471 517,-462.471 675,-462.471 675,-498.471"/>
254
- <text text-anchor="middle" x="596" y="-477.671" font-family="Courier,monospace" font-size="11.00">MLA_Upload_List_Table</text>
255
  </a>
256
  </g>
257
  <!-- \\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table -->
258
  <g id="edge13" class="edge"><title>\\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table</title>
259
- <path fill="none" stroke="black" d="M516.783,-472.939C505.183,-468.695 494.344,-462.483 486,-453.471 354.352,-311.287 549.252,-162.231 414,-23.4711 383.032,8.2998 360.203,-0.659233 316,-4.47109"/>
260
  </g>
261
  <!-- \\MLA_Upload_Optional_List_Table -->
262
- <g id="node29" class="node"><title>\\MLA_Upload_Optional_List_Table</title>
263
  <a xlink:href="includes.class-mla-upload-optional-list-table.html" xlink:title="MLA_Upload_Optional_List_Table" target="_parent">
264
- <polygon fill="none" stroke="black" points="705.5,-444.471 486.5,-444.471 486.5,-408.471 705.5,-408.471 705.5,-444.471"/>
265
- <text text-anchor="middle" x="596" y="-423.671" font-family="Courier,monospace" font-size="11.00">MLA_Upload_Optional_List_Table</text>
266
  </a>
267
  </g>
268
  <!-- \\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table -->
269
  <g id="edge15" class="edge"><title>\\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table</title>
270
- <path fill="none" stroke="black" d="M496.147,-408.174C492.495,-405.613 489.085,-402.726 486,-399.471 368.956,-275.977 534.174,-143.922 414,-23.4711 382.664,7.93693 360.203,-0.659233 316,-4.47109"/>
271
  </g>
272
  <!-- \\MLA_View_List_Table -->
273
- <g id="node30" class="node"><title>\\MLA_View_List_Table</title>
274
  <a xlink:href="includes.class-mla-view-list-table.html" xlink:title="MLA_View_List_Table" target="_parent">
275
- <polygon fill="none" stroke="black" points="668.5,-336.471 523.5,-336.471 523.5,-300.471 668.5,-300.471 668.5,-336.471"/>
276
- <text text-anchor="middle" x="596" y="-315.671" font-family="Courier,monospace" font-size="11.00">MLA_View_List_Table</text>
277
  </a>
278
  </g>
279
  <!-- \\MLA_View_List_Table&#45;&gt;\\WP_List_Table -->
280
  <g id="edge17" class="edge"><title>\\MLA_View_List_Table&#45;&gt;\\WP_List_Table</title>
281
- <path fill="none" stroke="black" d="M523.395,-312.166C509.573,-308.001 496.231,-301.503 486,-291.471 397.937,-205.121 504.249,-107.534 414,-23.4711 381.535,6.76829 360.203,-0.659233 316,-4.47109"/>
282
- <path fill="none" stroke="black" d="M314,-4.47109C269.797,-8.28294 248.684,6.53168 216,-23.4711 143.793,-89.7549 91.6588,-402.077 77.1068,-498.228"/>
283
- <polygon fill="none" stroke="black" points="73.6099,-497.948 75.5928,-508.356 80.5329,-498.983 73.6099,-497.948"/>
284
  </g>
285
  <!-- \\MLA_WPML -->
286
- <g id="node31" class="node"><title>\\MLA_WPML</title>
287
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML" target="_parent">
288
- <polygon fill="none" stroke="black" points="631.5,-390.471 560.5,-390.471 560.5,-354.471 631.5,-354.471 631.5,-390.471"/>
289
- <text text-anchor="middle" x="596" y="-369.671" font-family="Courier,monospace" font-size="11.00">MLA_WPML</text>
290
  </a>
291
  </g>
292
  <!-- \\MLA_WPML_List_Table -->
293
- <g id="node32" class="node"><title>\\MLA_WPML_List_Table</title>
294
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_List_Table" target="_parent">
295
- <polygon fill="none" stroke="black" points="668.5,-1902.47 523.5,-1902.47 523.5,-1866.47 668.5,-1866.47 668.5,-1902.47"/>
296
- <text text-anchor="middle" x="596" y="-1881.67" font-family="Courier,monospace" font-size="11.00">MLA_WPML_List_Table</text>
297
  </a>
298
  </g>
299
  <!-- \\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table -->
300
  <g id="edge19" class="edge"><title>\\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table</title>
301
- <path fill="none" stroke="black" d="M523.247,-1878.68C509.351,-1874.49 496.018,-1867.85 486,-1857.47 374.157,-1741.56 327.75,-1206.98 318.013,-1077.01"/>
302
- <polygon fill="none" stroke="black" points="321.478,-1076.41 317.254,-1066.7 314.497,-1076.93 321.478,-1076.41"/>
303
  </g>
304
  <!-- \\MLA_WPML_Table -->
305
- <g id="node33" class="node"><title>\\MLA_WPML_Table</title>
306
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_Table" target="_parent">
307
- <polygon fill="none" stroke="black" points="651.5,-282.471 540.5,-282.471 540.5,-246.471 651.5,-246.471 651.5,-282.471"/>
308
- <text text-anchor="middle" x="596" y="-261.671" font-family="Courier,monospace" font-size="11.00">MLA_WPML_Table</text>
 
 
 
 
 
 
 
309
  </a>
310
  </g>
311
  <!-- \\MLATest -->
312
- <g id="node34" class="node"><title>\\MLATest</title>
313
  <a xlink:href="tests.class-mla-tests.html" xlink:title="MLATest" target="_parent">
314
- <polygon fill="none" stroke="black" points="628,-228.471 564,-228.471 564,-192.471 628,-192.471 628,-228.471"/>
315
- <text text-anchor="middle" x="596" y="-207.671" font-family="Courier,monospace" font-size="11.00">MLATest</text>
316
  </a>
317
  </g>
318
  </g>
4
  <!-- Generated by graphviz version 2.28.0 (20110507.0327)
5
  -->
6
  <!-- Title: G Pages: 1 -->
7
+ <svg width="730pt" height="2054pt"
8
+ viewBox="0.00 0.00 730.00 2054.19" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
+ <g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 2050.19)">
10
  <title>G</title>
11
+ <polygon fill="white" stroke="white" points="-4,5 -4,-2050.19 727,-2050.19 727,5 -4,5"/>
12
  <g id="graph2" class="cluster"><title>cluster_global</title>
13
+ <polyline fill="none" stroke="gray" points="263,-184.187 702,-184.187 "/>
14
+ <path fill="none" stroke="gray" d="M702,-184.187C708,-184.187 714,-190.187 714,-196.187"/>
15
+ <polyline fill="none" stroke="gray" points="714,-196.187 714,-2026.19 "/>
16
+ <path fill="none" stroke="gray" d="M714,-2026.19C714,-2032.19 708,-2038.19 702,-2038.19"/>
17
+ <polyline fill="none" stroke="gray" points="702,-2038.19 263,-2038.19 "/>
18
+ <path fill="none" stroke="gray" d="M263,-2038.19C257,-2038.19 251,-2032.19 251,-2026.19"/>
19
+ <polyline fill="none" stroke="gray" points="251,-2026.19 251,-196.187 "/>
20
+ <path fill="none" stroke="gray" d="M251,-196.187C251,-190.187 257,-184.187 263,-184.187"/>
21
+ <text text-anchor="middle" x="482.5" y="-2025.39" font-family="Times New Roman,serif" font-size="11.00" fill="gray">global</text>
22
  </g>
23
  <!-- \\MNA_Pad_Counts_Walker -->
24
  <g id="node2" class="node"><title>\\MNA_Pad_Counts_Walker</title>
25
  <a xlink:href="examples.twentytwelve-mla.content-tosca30-dropdown.html" xlink:title="MNA_Pad_Counts_Walker" target="_parent">
26
+ <polygon fill="none" stroke="black" points="675,-1740.19 517,-1740.19 517,-1704.19 675,-1704.19 675,-1740.19"/>
27
+ <text text-anchor="middle" x="596" y="-1719.39" font-family="Courier,monospace" font-size="11.00">MNA_Pad_Counts_Walker</text>
28
  </a>
29
  </g>
30
  <!-- \\Walker_Category -->
31
+ <g id="node38" class="node"><title>\\Walker_Category</title>
32
+ <ellipse fill="none" stroke="black" cx="315" cy="-158.187" rx="77.1866" ry="18"/>
33
+ <text text-anchor="middle" x="315" y="-154.487" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\Walker_Category</text>
34
  </g>
35
  <!-- \\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category -->
36
  <g id="edge3" class="edge"><title>\\MNA_Pad_Counts_Walker&#45;&gt;\\Walker_Category</title>
37
+ <path fill="none" stroke="black" d="M516.946,-1715.88C505.03,-1711.54 494.044,-1704.98 486,-1695.19 379.024,-1564.97 522.402,-309.219 414,-180.187 409.731,-175.105 404.565,-171.048 398.863,-167.824"/>
38
+ <polygon fill="none" stroke="black" points="400.051,-164.514 389.513,-163.414 397.065,-170.845 400.051,-164.514"/>
39
  </g>
40
  <!-- \\CPAC_Storage_Model_MLA -->
41
  <g id="node3" class="node"><title>\\CPAC_Storage_Model_MLA</title>
42
  <a xlink:href="includes.class-mla-admin-columns-support.html" xlink:title="CPAC_Storage_Model_MLA" target="_parent">
43
+ <polygon fill="none" stroke="black" points="678.5,-984.187 513.5,-984.187 513.5,-948.187 678.5,-948.187 678.5,-984.187"/>
44
+ <text text-anchor="middle" x="596" y="-963.387" font-family="Courier,monospace" font-size="11.00">CPAC_Storage_Model_MLA</text>
45
  </a>
46
  </g>
47
  <!-- \\CPAC_Storage_Model -->
48
+ <g id="node40" class="node"><title>\\CPAC_Storage_Model</title>
49
+ <ellipse fill="none" stroke="black" cx="315" cy="-104.187" rx="98.5829" ry="18"/>
50
+ <text text-anchor="middle" x="315" y="-100.487" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\CPAC_Storage_Model</text>
51
  </g>
52
  <!-- \\CPAC_Storage_Model_MLA&#45;&gt;\\CPAC_Storage_Model -->
53
  <g id="edge5" class="edge"><title>\\CPAC_Storage_Model_MLA&#45;&gt;\\CPAC_Storage_Model</title>
54
+ <path fill="none" stroke="black" d="M513.453,-958.127C502.975,-953.855 493.357,-947.774 486,-939.187 368.711,-802.295 529.498,-269.594 414,-131.187 410.555,-127.058 406.542,-123.53 402.144,-120.518"/>
55
+ <polygon fill="none" stroke="black" points="403.664,-117.353 393.263,-115.339 400.138,-123.4 403.664,-117.353"/>
56
  </g>
57
  <!-- \\MLA_Ajax -->
58
  <g id="node4" class="node"><title>\\MLA_Ajax</title>
59
  <a xlink:href="includes.class-mla-ajax.html" xlink:title="MLA_Ajax" target="_parent">
60
+ <polygon fill="none" stroke="black" points="631.5,-1902.19 560.5,-1902.19 560.5,-1866.19 631.5,-1866.19 631.5,-1902.19"/>
61
+ <text text-anchor="middle" x="596" y="-1881.39" font-family="Courier,monospace" font-size="11.00">MLA_Ajax</text>
62
+ </a>
63
+ </g>
64
+ <!-- \\MLACoreOptions -->
65
+ <g id="node5" class="node"><title>\\MLACoreOptions</title>
66
+ <a xlink:href="includes.class-mla-core-options.html" xlink:title="MLACoreOptions" target="_parent">
67
+ <polygon fill="none" stroke="black" points="651.5,-1848.19 540.5,-1848.19 540.5,-1812.19 651.5,-1812.19 651.5,-1848.19"/>
68
+ <text text-anchor="middle" x="596" y="-1827.39" font-family="Courier,monospace" font-size="11.00">MLACoreOptions</text>
69
  </a>
70
  </g>
71
  <!-- \\MLACore -->
72
+ <g id="node6" class="node"><title>\\MLACore</title>
73
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLACore" target="_parent">
74
+ <polygon fill="none" stroke="black" points="628,-1794.19 564,-1794.19 564,-1758.19 628,-1758.19 628,-1794.19"/>
75
+ <text text-anchor="middle" x="596" y="-1773.39" font-family="Courier,monospace" font-size="11.00">MLACore</text>
76
  </a>
77
  </g>
78
  <!-- \\MLA_Checklist_Walker -->
79
+ <g id="node7" class="node"><title>\\MLA_Checklist_Walker</title>
80
  <a xlink:href="includes.class-mla-core.html" xlink:title="MLA_Checklist_Walker" target="_parent">
81
+ <polygon fill="none" stroke="black" points="672,-1956.19 520,-1956.19 520,-1920.19 672,-1920.19 672,-1956.19"/>
82
+ <text text-anchor="middle" x="596" y="-1935.39" font-family="Courier,monospace" font-size="11.00">MLA_Checklist_Walker</text>
83
  </a>
84
  </g>
85
  <!-- \\MLA_Checklist_Walker&#45;&gt;\\Walker_Category -->
86
  <g id="edge7" class="edge"><title>\\MLA_Checklist_Walker&#45;&gt;\\Walker_Category</title>
87
+ <path fill="none" stroke="black" d="M519.94,-1932.97C506.865,-1928.66 494.693,-1921.83 486,-1911.19 364.244,-1762.08 537.388,-327.942 414,-180.187 409.746,-175.093 404.59,-171.027 398.895,-167.796"/>
88
+ <polygon fill="none" stroke="black" points="400.091,-164.49 389.554,-163.379 397.099,-170.818 400.091,-164.49"/>
89
  </g>
90
  <!-- \\MLAPDF -->
91
+ <g id="node8" class="node"><title>\\MLAPDF</title>
92
  <a xlink:href="includes.class-mla-data-pdf.html" xlink:title="MLAPDF" target="_parent">
93
+ <polygon fill="none" stroke="black" points="624.5,-1686.19 567.5,-1686.19 567.5,-1650.19 624.5,-1650.19 624.5,-1686.19"/>
94
+ <text text-anchor="middle" x="596" y="-1665.39" font-family="Courier,monospace" font-size="11.00">MLAPDF</text>
95
  </a>
96
  </g>
97
  <!-- \\MLAQuery -->
98
+ <g id="node9" class="node"><title>\\MLAQuery</title>
99
  <a xlink:href="includes.class-mla-data-query.html" xlink:title="MLAQuery" target="_parent">
100
+ <polygon fill="none" stroke="black" points="631.5,-1632.19 560.5,-1632.19 560.5,-1596.19 631.5,-1596.19 631.5,-1632.19"/>
101
+ <text text-anchor="middle" x="596" y="-1611.39" font-family="Courier,monospace" font-size="11.00">MLAQuery</text>
102
  </a>
103
  </g>
104
  <!-- \\MLAReferences -->
105
+ <g id="node10" class="node"><title>\\MLAReferences</title>
106
  <a xlink:href="includes.class-mla-data-references.html" xlink:title="MLAReferences" target="_parent">
107
+ <polygon fill="none" stroke="black" points="648,-1578.19 544,-1578.19 544,-1542.19 648,-1542.19 648,-1578.19"/>
108
+ <text text-anchor="middle" x="596" y="-1557.39" font-family="Courier,monospace" font-size="11.00">MLAReferences</text>
109
  </a>
110
  </g>
111
  <!-- \\MLAData_Source -->
112
+ <g id="node11" class="node"><title>\\MLAData_Source</title>
113
  <a xlink:href="includes.class-mla-data-source.html" xlink:title="MLAData_Source" target="_parent">
114
+ <polygon fill="none" stroke="black" points="651.5,-1524.19 540.5,-1524.19 540.5,-1488.19 651.5,-1488.19 651.5,-1524.19"/>
115
+ <text text-anchor="middle" x="596" y="-1503.39" font-family="Courier,monospace" font-size="11.00">MLAData_Source</text>
116
  </a>
117
  </g>
118
  <!-- \\MLAData -->
119
+ <g id="node12" class="node"><title>\\MLAData</title>
120
  <a xlink:href="includes.class-mla-data.html" xlink:title="MLAData" target="_parent">
121
+ <polygon fill="none" stroke="black" points="628,-1470.19 564,-1470.19 564,-1434.19 628,-1434.19 628,-1470.19"/>
122
+ <text text-anchor="middle" x="596" y="-1449.39" font-family="Courier,monospace" font-size="11.00">MLAData</text>
123
  </a>
124
  </g>
125
  <!-- \\MLAEdit -->
126
+ <g id="node13" class="node"><title>\\MLAEdit</title>
127
  <a xlink:href="includes.class-mla-edit-media.html" xlink:title="MLAEdit" target="_parent">
128
+ <polygon fill="none" stroke="black" points="628,-1416.19 564,-1416.19 564,-1380.19 628,-1380.19 628,-1416.19"/>
129
+ <text text-anchor="middle" x="596" y="-1395.39" font-family="Courier,monospace" font-size="11.00">MLAEdit</text>
130
  </a>
131
  </g>
132
  <!-- \\MLAImageProcessor -->
133
+ <g id="node14" class="node"><title>\\MLAImageProcessor</title>
134
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAImageProcessor" target="_parent">
135
+ <polygon fill="none" stroke="black" points="661.5,-1362.19 530.5,-1362.19 530.5,-1326.19 661.5,-1326.19 661.5,-1362.19"/>
136
+ <text text-anchor="middle" x="596" y="-1341.39" font-family="Courier,monospace" font-size="11.00">MLAImageProcessor</text>
137
  </a>
138
  </g>
139
  <!-- \\MLAMutex -->
140
+ <g id="node15" class="node"><title>\\MLAMutex</title>
141
  <a xlink:href="includes.class-mla-image-processor.html" xlink:title="MLAMutex" target="_parent">
142
+ <polygon fill="none" stroke="black" points="631.5,-1308.19 560.5,-1308.19 560.5,-1272.19 631.5,-1272.19 631.5,-1308.19"/>
143
+ <text text-anchor="middle" x="596" y="-1287.39" font-family="Courier,monospace" font-size="11.00">MLAMutex</text>
144
  </a>
145
  </g>
146
  <!-- \\MLA_List_Table -->
147
+ <g id="node16" class="node"><title>\\MLA_List_Table</title>
148
  <a xlink:href="includes.class-mla-list-table.html" xlink:title="MLA_List_Table" target="_parent">
149
+ <polygon fill="none" stroke="black" points="370.5,-1120.19 259.5,-1120.19 259.5,-1084.19 370.5,-1084.19 370.5,-1120.19"/>
150
+ <text text-anchor="middle" x="315" y="-1099.39" font-family="Courier,monospace" font-size="11.00">MLA_List_Table</text>
151
  </a>
152
  </g>
153
  <!-- \\WP_List_Table -->
154
+ <g id="node43" class="node"><title>\\WP_List_Table</title>
155
+ <ellipse fill="none" stroke="black" cx="72" cy="-553.187" rx="71.4873" ry="18"/>
156
+ <text text-anchor="middle" x="72" y="-549.487" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_List_Table</text>
157
  </g>
158
  <!-- \\MLA_List_Table&#45;&gt;\\WP_List_Table -->
159
  <g id="edge9" class="edge"><title>\\MLA_List_Table&#45;&gt;\\WP_List_Table</title>
160
+ <path fill="none" stroke="black" d="M259.399,-1100.37C243.681,-1097.3 227.654,-1091.34 216,-1080.19 141.724,-1009.12 90.6682,-680.254 76.7956,-581.379"/>
161
+ <polygon fill="none" stroke="black" points="80.2322,-580.68 75.3929,-571.255 73.2984,-581.641 80.2322,-580.68"/>
162
  </g>
163
  <!-- \\MLA -->
164
+ <g id="node17" class="node"><title>\\MLA</title>
165
  <a xlink:href="includes.class-mla-main.html" xlink:title="MLA" target="_parent">
166
+ <polygon fill="none" stroke="black" points="623,-1254.19 569,-1254.19 569,-1218.19 623,-1218.19 623,-1254.19"/>
167
+ <text text-anchor="middle" x="596" y="-1233.39" font-family="Courier,monospace" font-size="11.00">MLA</text>
168
  </a>
169
  </g>
170
  <!-- \\MLAModal_Ajax -->
171
+ <g id="node18" class="node"><title>\\MLAModal_Ajax</title>
172
  <a xlink:href="includes.class-mla-media-modal-ajax.html" xlink:title="MLAModal_Ajax" target="_parent">
173
+ <polygon fill="none" stroke="black" points="648,-1200.19 544,-1200.19 544,-1164.19 648,-1164.19 648,-1200.19"/>
174
+ <text text-anchor="middle" x="596" y="-1179.39" font-family="Courier,monospace" font-size="11.00">MLAModal_Ajax</text>
175
  </a>
176
  </g>
177
  <!-- \\MLAModal -->
178
+ <g id="node19" class="node"><title>\\MLAModal</title>
179
  <a xlink:href="includes.class-mla-media-modal.html" xlink:title="MLAModal" target="_parent">
180
+ <polygon fill="none" stroke="black" points="631.5,-1146.19 560.5,-1146.19 560.5,-1110.19 631.5,-1110.19 631.5,-1146.19"/>
181
+ <text text-anchor="middle" x="596" y="-1125.39" font-family="Courier,monospace" font-size="11.00">MLAModal</text>
182
  </a>
183
  </g>
184
  <!-- \\MLAMime -->
185
+ <g id="node20" class="node"><title>\\MLAMime</title>
186
  <a xlink:href="includes.class-mla-mime-types.html" xlink:title="MLAMime" target="_parent">
187
+ <polygon fill="none" stroke="black" points="628,-1092.19 564,-1092.19 564,-1056.19 628,-1056.19 628,-1092.19"/>
188
+ <text text-anchor="middle" x="596" y="-1071.39" font-family="Courier,monospace" font-size="11.00">MLAMime</text>
189
  </a>
190
  </g>
191
  <!-- \\MLAObjects -->
192
+ <g id="node21" class="node"><title>\\MLAObjects</title>
193
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLAObjects" target="_parent">
194
+ <polygon fill="none" stroke="black" points="638,-1038.19 554,-1038.19 554,-1002.19 638,-1002.19 638,-1038.19"/>
195
+ <text text-anchor="middle" x="596" y="-1017.39" font-family="Courier,monospace" font-size="11.00">MLAObjects</text>
196
  </a>
197
  </g>
198
  <!-- \\MLATextWidget -->
199
+ <g id="node22" class="node"><title>\\MLATextWidget</title>
200
  <a xlink:href="includes.class-mla-objects.html" xlink:title="MLATextWidget" target="_parent">
201
+ <polygon fill="none" stroke="black" points="648,-606.187 544,-606.187 544,-570.187 648,-570.187 648,-606.187"/>
202
+ <text text-anchor="middle" x="596" y="-585.387" font-family="Courier,monospace" font-size="11.00">MLATextWidget</text>
203
  </a>
204
  </g>
205
  <!-- \\WP_Widget -->
206
+ <g id="node45" class="node"><title>\\WP_Widget</title>
207
+ <ellipse fill="none" stroke="black" cx="315" cy="-50.1869" rx="58.4896" ry="18"/>
208
+ <text text-anchor="middle" x="315" y="-46.4869" font-family="Times New Roman,serif" font-size="14.00" fill="gray">\WP_Widget</text>
209
  </g>
210
  <!-- \\MLATextWidget&#45;&gt;\\WP_Widget -->
211
  <g id="edge11" class="edge"><title>\\MLATextWidget&#45;&gt;\\WP_Widget</title>
212
+ <path fill="none" stroke="black" d="M543.997,-587.465C523.185,-584.467 500.622,-577.271 486,-561.187 339.706,-400.268 558.188,-239.996 414,-77.1869 405.552,-67.6483 394.075,-61.3424 381.948,-57.2046"/>
213
+ <polygon fill="none" stroke="black" points="382.71,-53.7807 372.129,-54.3305 380.743,-60.4988 382.71,-53.7807"/>
214
  </g>
215
  <!-- \\MLAOptions -->
216
+ <g id="node23" class="node"><title>\\MLAOptions</title>
217
  <a xlink:href="includes.class-mla-options.html" xlink:title="MLAOptions" target="_parent">
218
+ <polygon fill="none" stroke="black" points="638,-930.187 554,-930.187 554,-894.187 638,-894.187 638,-930.187"/>
219
+ <text text-anchor="middle" x="596" y="-909.387" font-family="Courier,monospace" font-size="11.00">MLAOptions</text>
220
  </a>
221
  </g>
222
  <!-- \\MLA_Polylang -->
223
+ <g id="node24" class="node"><title>\\MLA_Polylang</title>
224
  <a xlink:href="includes.class-mla-polylang-support.html" xlink:title="MLA_Polylang" target="_parent">
225
+ <polygon fill="none" stroke="black" points="645,-876.187 547,-876.187 547,-840.187 645,-840.187 645,-876.187"/>
226
+ <text text-anchor="middle" x="596" y="-855.387" font-family="Courier,monospace" font-size="11.00">MLA_Polylang</text>
227
  </a>
228
  </g>
229
  <!-- \\MLASettings -->
230
+ <g id="node25" class="node"><title>\\MLASettings</title>
231
  <a xlink:href="includes.class-mla-settings.html" xlink:title="MLASettings" target="_parent">
232
+ <polygon fill="none" stroke="black" points="641.5,-822.187 550.5,-822.187 550.5,-786.187 641.5,-786.187 641.5,-822.187"/>
233
+ <text text-anchor="middle" x="596" y="-801.387" font-family="Courier,monospace" font-size="11.00">MLASettings</text>
234
  </a>
235
  </g>
236
  <!-- \\MLAShortcode_Support -->
237
+ <g id="node26" class="node"><title>\\MLAShortcode_Support</title>
238
  <a xlink:href="includes.class-mla-shortcode-support.html" xlink:title="MLAShortcode_Support" target="_parent">
239
+ <polygon fill="none" stroke="black" points="672,-768.187 520,-768.187 520,-732.187 672,-732.187 672,-768.187"/>
240
+ <text text-anchor="middle" x="596" y="-747.387" font-family="Courier,monospace" font-size="11.00">MLAShortcode_Support</text>
241
  </a>
242
  </g>
243
  <!-- \\MLAShortcodes -->
244
+ <g id="node27" class="node"><title>\\MLAShortcodes</title>
245
  <a xlink:href="includes.class-mla-shortcodes.html" xlink:title="MLAShortcodes" target="_parent">
246
+ <polygon fill="none" stroke="black" points="648,-714.187 544,-714.187 544,-678.187 648,-678.187 648,-714.187"/>
247
+ <text text-anchor="middle" x="596" y="-693.387" font-family="Courier,monospace" font-size="11.00">MLAShortcodes</text>
248
  </a>
249
  </g>
250
  <!-- \\MLA_Thumbnail -->
251
+ <g id="node28" class="node"><title>\\MLA_Thumbnail</title>
252
  <a xlink:href="includes.class-mla-thumbnail-generation.html" xlink:title="MLA_Thumbnail" target="_parent">
253
+ <polygon fill="none" stroke="black" points="648,-660.187 544,-660.187 544,-624.187 648,-624.187 648,-660.187"/>
254
+ <text text-anchor="middle" x="596" y="-639.387" font-family="Courier,monospace" font-size="11.00">MLA_Thumbnail</text>
255
  </a>
256
  </g>
257
  <!-- \\MLA_Upload_List_Table -->
258
+ <g id="node29" class="node"><title>\\MLA_Upload_List_Table</title>
259
  <a xlink:href="includes.class-mla-upload-list-table.html" xlink:title="MLA_Upload_List_Table" target="_parent">
260
+ <polygon fill="none" stroke="black" points="675,-552.187 517,-552.187 517,-516.187 675,-516.187 675,-552.187"/>
261
+ <text text-anchor="middle" x="596" y="-531.387" font-family="Courier,monospace" font-size="11.00">MLA_Upload_List_Table</text>
262
  </a>
263
  </g>
264
  <!-- \\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table -->
265
  <g id="edge13" class="edge"><title>\\MLA_Upload_List_Table&#45;&gt;\\WP_List_Table</title>
266
+ <path fill="none" stroke="black" d="M516.918,-526.885C505.23,-522.624 494.328,-516.347 486,-507.187 339.706,-346.268 564.374,-180.3 414,-23.1869 383.323,8.86483 360.268,-1.2252 316,-4.18694"/>
267
  </g>
268
  <!-- \\MLA_Upload_Optional_List_Table -->
269
+ <g id="node30" class="node"><title>\\MLA_Upload_Optional_List_Table</title>
270
  <a xlink:href="includes.class-mla-upload-optional-list-table.html" xlink:title="MLA_Upload_Optional_List_Table" target="_parent">
271
+ <polygon fill="none" stroke="black" points="705.5,-498.187 486.5,-498.187 486.5,-462.187 705.5,-462.187 705.5,-498.187"/>
272
+ <text text-anchor="middle" x="596" y="-477.387" font-family="Courier,monospace" font-size="11.00">MLA_Upload_Optional_List_Table</text>
273
  </a>
274
  </g>
275
  <!-- \\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table -->
276
  <g id="edge15" class="edge"><title>\\MLA_Upload_Optional_List_Table&#45;&gt;\\WP_List_Table</title>
277
+ <path fill="none" stroke="black" d="M496.052,-461.978C492.425,-459.394 489.046,-456.477 486,-453.187 354.352,-311.003 549.252,-161.947 414,-23.1869 383.032,8.58395 360.268,-1.2252 316,-4.18694"/>
278
  </g>
279
  <!-- \\MLA_View_List_Table -->
280
+ <g id="node31" class="node"><title>\\MLA_View_List_Table</title>
281
  <a xlink:href="includes.class-mla-view-list-table.html" xlink:title="MLA_View_List_Table" target="_parent">
282
+ <polygon fill="none" stroke="black" points="668.5,-390.187 523.5,-390.187 523.5,-354.187 668.5,-354.187 668.5,-390.187"/>
283
+ <text text-anchor="middle" x="596" y="-369.387" font-family="Courier,monospace" font-size="11.00">MLA_View_List_Table</text>
284
  </a>
285
  </g>
286
  <!-- \\MLA_View_List_Table&#45;&gt;\\WP_List_Table -->
287
  <g id="edge17" class="edge"><title>\\MLA_View_List_Table&#45;&gt;\\WP_List_Table</title>
288
+ <path fill="none" stroke="black" d="M523.348,-366.294C509.446,-362.112 496.084,-355.504 486,-345.187 383.497,-240.316 519.16,-125.394 414,-23.1869 382.185,7.73505 360.268,-1.2252 316,-4.18694"/>
289
+ <path fill="none" stroke="black" d="M314,-4.18694C269.732,-7.14868 248.481,7.03496 216,-23.1869 140.341,-93.5829 90.2454,-425.068 76.6986,-524.759"/>
290
+ <polygon fill="none" stroke="black" points="73.1899,-524.59 75.3298,-534.967 80.1279,-525.521 73.1899,-524.59"/>
291
  </g>
292
  <!-- \\MLA_WPML -->
293
+ <g id="node32" class="node"><title>\\MLA_WPML</title>
294
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML" target="_parent">
295
+ <polygon fill="none" stroke="black" points="631.5,-444.187 560.5,-444.187 560.5,-408.187 631.5,-408.187 631.5,-444.187"/>
296
+ <text text-anchor="middle" x="596" y="-423.387" font-family="Courier,monospace" font-size="11.00">MLA_WPML</text>
297
  </a>
298
  </g>
299
  <!-- \\MLA_WPML_List_Table -->
300
+ <g id="node33" class="node"><title>\\MLA_WPML_List_Table</title>
301
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_List_Table" target="_parent">
302
+ <polygon fill="none" stroke="black" points="668.5,-2010.19 523.5,-2010.19 523.5,-1974.19 668.5,-1974.19 668.5,-2010.19"/>
303
+ <text text-anchor="middle" x="596" y="-1989.39" font-family="Courier,monospace" font-size="11.00">MLA_WPML_List_Table</text>
304
  </a>
305
  </g>
306
  <!-- \\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table -->
307
  <g id="edge19" class="edge"><title>\\MLA_WPML_List_Table&#45;&gt;\\MLA_List_Table</title>
308
+ <path fill="none" stroke="black" d="M523.429,-1986.57C509.438,-1982.38 496.019,-1975.7 486,-1965.19 367.276,-1840.58 325.826,-1266.31 317.616,-1130.87"/>
309
+ <polygon fill="none" stroke="black" points="321.087,-1130.28 317.001,-1120.5 314.1,-1130.69 321.087,-1130.28"/>
310
  </g>
311
  <!-- \\MLA_WPML_Table -->
312
+ <g id="node34" class="node"><title>\\MLA_WPML_Table</title>
313
  <a xlink:href="includes.class-mla-wpml-support.html" xlink:title="MLA_WPML_Table" target="_parent">
314
+ <polygon fill="none" stroke="black" points="651.5,-336.187 540.5,-336.187 540.5,-300.187 651.5,-300.187 651.5,-336.187"/>
315
+ <text text-anchor="middle" x="596" y="-315.387" font-family="Courier,monospace" font-size="11.00">MLA_WPML_Table</text>
316
+ </a>
317
+ </g>
318
+ <!-- \\MLAUninstall -->
319
+ <g id="node35" class="node"><title>\\MLAUninstall</title>
320
+ <a xlink:href="mla-uninstall.html" xlink:title="MLAUninstall" target="_parent">
321
+ <polygon fill="none" stroke="black" points="645,-282.187 547,-282.187 547,-246.187 645,-246.187 645,-282.187"/>
322
+ <text text-anchor="middle" x="596" y="-261.387" font-family="Courier,monospace" font-size="11.00">MLAUninstall</text>
323
  </a>
324
  </g>
325
  <!-- \\MLATest -->
326
+ <g id="node36" class="node"><title>\\MLATest</title>
327
  <a xlink:href="tests.class-mla-tests.html" xlink:title="MLATest" target="_parent">
328
+ <polygon fill="none" stroke="black" points="628,-228.187 564,-228.187 564,-192.187 628,-192.187 628,-228.187"/>
329
+ <text text-anchor="middle" x="596" y="-207.387" font-family="Courier,monospace" font-size="11.00">MLATest</text>
330
  </a>
331
  </g>
332
  </g>
phpDocs/classes/CPAC_Storage_Model_MLA.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -74,6 +74,9 @@ For Admin Columns 2.4.9+</span><pre>is_current_screen()</pre></a></li>
74
  <li class="method public "><a href="#manage_value" title="manage_value :: Return the content of an Admin Columns custom column"><span class="description">Return the content of an Admin Columns custom column</span><pre>manage_value()</pre></a></li>
75
  <li class="nav-header protected">» Protected</li>
76
  <li class="method protected "><a href="#get_screen_link" title="get_screen_link :: Return a link to the Media/Assistant submenu screen"><span class="description">Return a link to the Media/Assistant submenu screen</span><pre>get_screen_link()</pre></a></li>
 
 
 
77
  </ul>
78
  </div>
79
  <div class="span8">
@@ -260,6 +263,20 @@ For Admin Columns 2.4.9+</h2>
260
  <code>string</code>Link to the Media/Assistant submenu screen</div>
261
  </div></div>
262
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  </div>
264
  </div>
265
  </div>
@@ -267,7 +284,7 @@ For Admin Columns 2.4.9+</h2>
267
  <div class="row"><footer class="span12">
268
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
269
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
270
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
271
  </div>
272
  </body>
273
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
74
  <li class="method public "><a href="#manage_value" title="manage_value :: Return the content of an Admin Columns custom column"><span class="description">Return the content of an Admin Columns custom column</span><pre>manage_value()</pre></a></li>
75
  <li class="nav-header protected">» Protected</li>
76
  <li class="method protected "><a href="#get_screen_link" title="get_screen_link :: Return a link to the Media/Assistant submenu screen"><span class="description">Return a link to the Media/Assistant submenu screen</span><pre>get_screen_link()</pre></a></li>
77
+ <li class="nav-header">
78
+ <i class="icon-custom icon-property"></i> Properties</li>
79
+ <li class="property public "><a href="#%24subpage" title="$subpage :: Identifies submenu entry in the Admin sidebar, e.g., Media/Assistant in Media"><span class="description">Identifies submenu entry in the Admin sidebar, e.g., Media/Assistant in Media</span><pre>$subpage</pre></a></li>
80
  </ul>
81
  </div>
82
  <div class="span8">
263
  <code>string</code>Link to the Media/Assistant submenu screen</div>
264
  </div></div>
265
  </div>
266
+ <h3>
267
+ <i class="icon-custom icon-property"></i> Properties</h3>
268
+ <a name="%24subpage" id="$subpage"> </a><div class="element clickable property public $subpage" data-toggle="collapse" data-target=".$subpage .collapse">
269
+ <h2>Identifies submenu entry in the Admin sidebar, e.g., Media/Assistant in Media</h2>
270
+ <pre>$subpage : string</pre>
271
+ <div class="labels"></div>
272
+ <div class="row collapse"><div class="detail-description">
273
+ <p class="long_description"></p>
274
+ <table class="table table-bordered"><tr>
275
+ <th>since</th>
276
+ <td>2.25</td>
277
+ </tr></table>
278
+ </div></div>
279
+ </div>
280
  </div>
281
  </div>
282
  </div>
284
  <div class="row"><footer class="span12">
285
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
286
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
287
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
288
  </div>
289
  </body>
290
  </html>
phpDocs/classes/MLA.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -67,7 +67,9 @@
67
  <li class="method public "><a href="#mla_authors_dropdown" title="mla_authors_dropdown :: Get the edit Authors dropdown box, if user has suitable permissions"><span class="description">Get the edit Authors dropdown box, if user has suitable permissions</span><pre>mla_authors_dropdown()</pre></a></li>
68
  <li class="method public "><a href="#mla_clear_filter_by" title="mla_clear_filter_by :: Clear the Media/Assistant submenu Filter-by variables"><span class="description">Clear the Media/Assistant submenu Filter-by variables</span><pre>mla_clear_filter_by()</pre></a></li>
69
  <li class="method public "><a href="#mla_inline_edit_ajax_action" title="mla_inline_edit_ajax_action :: Ajax handler for inline editing"><span class="description">Ajax handler for inline editing</span><pre>mla_inline_edit_ajax_action()</pre></a></li>
70
- <li class="method public "><a href="#mla_load_media_action" title="mla_load_media_action :: Redirect to Media/Assistant if Media/Library is hidden"><span class="description">Redirect to Media/Assistant if Media/Library is hidden</span><pre>mla_load_media_action()</pre></a></li>
 
 
71
  <li class="method public "><a href="#mla_name_conflict_reporting_action" title="mla_name_conflict_reporting_action :: Displays name conflict error messages at the top of the Dashboard"><span class="description">Displays name conflict error messages at the top of the Dashboard</span><pre>mla_name_conflict_reporting_action()</pre></a></li>
72
  <li class="method public "><a href="#mla_parent_file_filter" title="mla_parent_file_filter :: Cleanup menus for Edit Tags/Categories page"><span class="description">Cleanup menus for Edit Tags/Categories page</span><pre>mla_parent_file_filter()</pre></a></li>
73
  <li class="method public "><a href="#mla_prepare_bulk_edits" title="mla_prepare_bulk_edits :: Prepare Bulk Edit field-level updates"><span class="description">Prepare Bulk Edit field-level updates</span><pre>mla_prepare_bulk_edits()</pre></a></li>
@@ -280,7 +282,8 @@ add settings link in the Plugins section entry for MLA.</p></p>
280
  </div></div>
281
  </div>
282
  <a name="mla_load_media_action" id="mla_load_media_action"></a><div class="element clickable method public mla_load_media_action" data-toggle="collapse" data-target=".mla_load_media_action .collapse">
283
- <h2>Redirect to Media/Assistant if Media/Library is hidden</h2>
 
284
  <pre>mla_load_media_action() : void</pre>
285
  <div class="labels"></div>
286
  <div class="row collapse"><div class="detail-description">
@@ -767,7 +770,7 @@ add settings link in the Plugins section entry for MLA.</p></p>
767
  <div class="row"><footer class="span12">
768
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
769
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
770
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
771
  </div>
772
  </body>
773
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
67
  <li class="method public "><a href="#mla_authors_dropdown" title="mla_authors_dropdown :: Get the edit Authors dropdown box, if user has suitable permissions"><span class="description">Get the edit Authors dropdown box, if user has suitable permissions</span><pre>mla_authors_dropdown()</pre></a></li>
68
  <li class="method public "><a href="#mla_clear_filter_by" title="mla_clear_filter_by :: Clear the Media/Assistant submenu Filter-by variables"><span class="description">Clear the Media/Assistant submenu Filter-by variables</span><pre>mla_clear_filter_by()</pre></a></li>
69
  <li class="method public "><a href="#mla_inline_edit_ajax_action" title="mla_inline_edit_ajax_action :: Ajax handler for inline editing"><span class="description">Ajax handler for inline editing</span><pre>mla_inline_edit_ajax_action()</pre></a></li>
70
+ <li class="method public "><a href="#mla_load_media_action" title="mla_load_media_action :: Redirect to Media/Assistant if Media/Library is hidden or a trash/delete
71
+ returns from Media/Edit Media initiated from Media/Assistant"><span class="description">Redirect to Media/Assistant if Media/Library is hidden or a trash/delete
72
+ returns from Media/Edit Media initiated from Media/Assistant</span><pre>mla_load_media_action()</pre></a></li>
73
  <li class="method public "><a href="#mla_name_conflict_reporting_action" title="mla_name_conflict_reporting_action :: Displays name conflict error messages at the top of the Dashboard"><span class="description">Displays name conflict error messages at the top of the Dashboard</span><pre>mla_name_conflict_reporting_action()</pre></a></li>
74
  <li class="method public "><a href="#mla_parent_file_filter" title="mla_parent_file_filter :: Cleanup menus for Edit Tags/Categories page"><span class="description">Cleanup menus for Edit Tags/Categories page</span><pre>mla_parent_file_filter()</pre></a></li>
75
  <li class="method public "><a href="#mla_prepare_bulk_edits" title="mla_prepare_bulk_edits :: Prepare Bulk Edit field-level updates"><span class="description">Prepare Bulk Edit field-level updates</span><pre>mla_prepare_bulk_edits()</pre></a></li>
282
  </div></div>
283
  </div>
284
  <a name="mla_load_media_action" id="mla_load_media_action"></a><div class="element clickable method public mla_load_media_action" data-toggle="collapse" data-target=".mla_load_media_action .collapse">
285
+ <h2>Redirect to Media/Assistant if Media/Library is hidden or a trash/delete
286
+ returns from Media/Edit Media initiated from Media/Assistant</h2>
287
  <pre>mla_load_media_action() : void</pre>
288
  <div class="labels"></div>
289
  <div class="row collapse"><div class="detail-description">
770
  <div class="row"><footer class="span12">
771
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
772
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
773
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
774
  </div>
775
  </body>
776
  </html>
phpDocs/classes/MLACore.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -70,7 +70,6 @@
70
  <li class="method public "><a href="#mla_get_option" title="mla_get_option :: Return the stored value or default value of a defined MLA option"><span class="description">Return the stored value or default value of a defined MLA option</span><pre>mla_get_option()</pre></a></li>
71
  <li class="method public "><a href="#mla_initialize_tax_checked_on_top" title='mla_initialize_tax_checked_on_top :: Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies'><span class="description">Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies</span><pre>mla_initialize_tax_checked_on_top()</pre></a></li>
72
  <li class="method public "><a href="#mla_load_template" title="mla_load_template :: Load an HTML template from a file"><span class="description">Load an HTML template from a file</span><pre>mla_load_template()</pre></a></li>
73
- <li class="method public "><a href="#mla_localize_option_definitions_array" title="mla_localize_option_definitions_array :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_localize_option_definitions_array()</pre></a></li>
74
  <li class="method public "><a href="#mla_parse_view_specification" title="mla_parse_view_specification :: Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains"><span class="description">Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains</span><pre>mla_parse_view_specification()</pre></a></li>
75
  <li class="method public "><a href="#mla_plugins_loaded_action" title="mla_plugins_loaded_action :: Load a plugin text domain and alternate debug file"><span class="description">Load a plugin text domain and alternate debug file</span><pre>mla_plugins_loaded_action()</pre></a></li>
76
  <li class="method public "><a href="#mla_prepare_view_query" title="mla_prepare_view_query :: Convert a Library View/Post MIME Type specification to WP_Query parameters"><span class="description">Convert a Library View/Post MIME Type specification to WP_Query parameters</span><pre>mla_prepare_view_query()</pre></a></li>
@@ -79,13 +78,13 @@
79
  settings are being updated or reset."><span class="description">Determine MLA support for a taxonomy, handling the special case where the
80
  settings are being updated or reset.</span><pre>mla_taxonomy_support()</pre></a></li>
81
  <li class="method public "><a href="#mla_update_option" title="mla_update_option :: Add or update the stored value of a defined MLA option"><span class="description">Add or update the stored value of a defined MLA option</span><pre>mla_update_option()</pre></a></li>
 
82
  <li class="nav-header private">» Private</li>
83
  <li class="method private "><a href="#_debug_log" title="_debug_log :: Write a debug message to the appropriate log file"><span class="description">Write a debug message to the appropriate log file</span><pre>_debug_log()</pre></a></li>
84
  <li class="nav-header">
85
  <i class="icon-custom icon-property"></i> Properties</li>
86
  <li class="property public "><a href="#%24admin_columns_storage_model" title="$admin_columns_storage_model :: Admin Columns support storage model object for the Media/Assistant submenu"><span class="description">Admin Columns support storage model object for the Media/Assistant submenu</span><pre>$admin_columns_storage_model</pre></a></li>
87
  <li class="property public "><a href="#%24mla_debug_level" title="$mla_debug_level :: Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option"><span class="description">Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</span><pre>$mla_debug_level</pre></a></li>
88
- <li class="property public "><a href="#%24mla_option_definitions" title="$mla_option_definitions :: $mla_option_definitions defines the database options and admin page areas for setting/updating them"><span class="description">$mla_option_definitions defines the database options and admin page areas for setting/updating them</span><pre>$mla_option_definitions</pre></a></li>
89
  <li class="property public "><a href="#%24original_php_log" title="$original_php_log :: Original PHP error_log path and file"><span class="description">Original PHP error_log path and file</span><pre>$original_php_log</pre></a></li>
90
  <li class="property public "><a href="#%24original_php_reporting" title="$original_php_reporting :: Original PHP error_reporting value"><span class="description">Original PHP error_reporting value</span><pre>$original_php_reporting</pre></a></li>
91
  <li class="property public "><a href="#%24process_featured_in" title='$process_featured_in :: Option setting for "Featured in" reporting'><span class="description">Option setting for "Featured in" reporting</span><pre>$process_featured_in</pre></a></li>
@@ -103,76 +102,15 @@ settings are being updated or reset.</span><pre>mla_taxonomy_support()</pre></a>
103
  <li class="constant "><a href="#JAVASCRIPT_INLINE_EDIT_SLUG" title="JAVASCRIPT_INLINE_EDIT_SLUG :: Slug for localizing and enqueueing JavaScript - MLA List Table"><span class="description">Slug for localizing and enqueueing JavaScript - MLA List Table</span><pre>JAVASCRIPT_INLINE_EDIT_SLUG</pre></a></li>
104
  <li class="constant "><a href="#JAVASCRIPT_QUERY_ATTACHMENTS_ACTION" title='JAVASCRIPT_QUERY_ATTACHMENTS_ACTION :: Slug for the "query attachments" action - Add Media and related dialogs'><span class="description">Slug for the "query attachments" action - Add Media and related dialogs</span><pre>JAVASCRIPT_QUERY_ATTACHMENTS_ACTION</pre></a></li>
105
  <li class="constant "><a href="#JAVASCRIPT_UPDATE_COMPAT_ACTION" title='JAVASCRIPT_UPDATE_COMPAT_ACTION :: Slug for the "update compat-attachment-fields" action - Add Media and related dialogs'><span class="description">Slug for the "update compat-attachment-fields" action - Add Media and related dialogs</span><pre>JAVASCRIPT_UPDATE_COMPAT_ACTION</pre></a></li>
106
- <li class="constant "><a href="#MLA_ADD_NEW_BULK_EDIT" title="MLA_ADD_NEW_BULK_EDIT :: Provides a unique name for the Media/Add New bulk edit option"><span class="description">Provides a unique name for the Media/Add New bulk edit option</span><pre>MLA_ADD_NEW_BULK_EDIT</pre></a></li>
107
- <li class="constant "><a href="#MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN" title='MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN :: Provides a unique name for the Media/Add New bulk edit "Open Automatically" option'><span class="description">Provides a unique name for the Media/Add New bulk edit "Open Automatically" option</span><pre>MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN</pre></a></li>
108
- <li class="constant "><a href="#MLA_ADD_NEW_BULK_EDIT_ON_TOP" title='MLA_ADD_NEW_BULK_EDIT_ON_TOP :: Provides a unique name for the Media/Add New bulk edit "on top" option'><span class="description">Provides a unique name for the Media/Add New bulk edit "on top" option</span><pre>MLA_ADD_NEW_BULK_EDIT_ON_TOP</pre></a></li>
109
  <li class="constant "><a href="#MLA_ADMIN_NONCE_ACTION" title="MLA_ADMIN_NONCE_ACTION :: Action name; gives a context for the nonce"><span class="description">Action name; gives a context for the nonce</span><pre>MLA_ADMIN_NONCE_ACTION</pre></a></li>
110
  <li class="constant "><a href="#MLA_ADMIN_NONCE_NAME" title="MLA_ADMIN_NONCE_NAME :: Nonce name; uniquely identifies the nonce"><span class="description">Nonce name; uniquely identifies the nonce</span><pre>MLA_ADMIN_NONCE_NAME</pre></a></li>
111
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_DELETE" title="MLA_ADMIN_SINGLE_DELETE :: mla_admin_action value for permanently deleting a single item"><span class="description">mla_admin_action value for permanently deleting a single item</span><pre>MLA_ADMIN_SINGLE_DELETE</pre></a></li>
112
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_RESTORE" title="MLA_ADMIN_SINGLE_RESTORE :: mla_admin_action value for restoring a single item from the trash"><span class="description">mla_admin_action value for restoring a single item from the trash</span><pre>MLA_ADMIN_SINGLE_RESTORE</pre></a></li>
113
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_TRASH" title="MLA_ADMIN_SINGLE_TRASH :: mla_admin_action value for moving a single item to the trash"><span class="description">mla_admin_action value for moving a single item to the trash</span><pre>MLA_ADMIN_SINGLE_TRASH</pre></a></li>
114
- <li class="constant "><a href="#MLA_BULK_CHUNK_SIZE" title="MLA_BULK_CHUNK_SIZE :: Provides a unique name for the Bulk Update and Map All chunk size option"><span class="description">Provides a unique name for the Bulk Update and Map All chunk size option</span><pre>MLA_BULK_CHUNK_SIZE</pre></a></li>
115
- <li class="constant "><a href="#MLA_COUNT_TERM_ATTACHMENTS" title="MLA_COUNT_TERM_ATTACHMENTS :: Provides a unique name for the taxonomy count Attachments option"><span class="description">Provides a unique name for the taxonomy count Attachments option</span><pre>MLA_COUNT_TERM_ATTACHMENTS</pre></a></li>
116
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_AJAX" title="MLA_DEBUG_CATEGORY_AJAX :: Constant to log Ajax debug activity"><span class="description">Constant to log Ajax debug activity</span><pre>MLA_DEBUG_CATEGORY_AJAX</pre></a></li>
 
117
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_LANGUAGE" title="MLA_DEBUG_CATEGORY_LANGUAGE :: Constant to log WPML/Polylang action/filter activity"><span class="description">Constant to log WPML/Polylang action/filter activity</span><pre>MLA_DEBUG_CATEGORY_LANGUAGE</pre></a></li>
118
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_THUMBNAIL" title="MLA_DEBUG_CATEGORY_THUMBNAIL :: Constant to log Ghostscript/Imagick activity"><span class="description">Constant to log Ghostscript/Imagick activity</span><pre>MLA_DEBUG_CATEGORY_THUMBNAIL</pre></a></li>
119
- <li class="constant "><a href="#MLA_DEBUG_DISPLAY_LIMIT" title="MLA_DEBUG_DISPLAY_LIMIT :: Provides a unique name for the Debug display limit option"><span class="description">Provides a unique name for the Debug display limit option</span><pre>MLA_DEBUG_DISPLAY_LIMIT</pre></a></li>
120
- <li class="constant "><a href="#MLA_DEBUG_FILE" title="MLA_DEBUG_FILE :: Provides a unique name for the Debug alternate log file option"><span class="description">Provides a unique name for the Debug alternate log file option</span><pre>MLA_DEBUG_FILE</pre></a></li>
121
- <li class="constant "><a href="#MLA_DEBUG_REPLACE_LEVEL" title="MLA_DEBUG_REPLACE_LEVEL :: Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option"><span class="description">Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option</span><pre>MLA_DEBUG_REPLACE_LEVEL</pre></a></li>
122
- <li class="constant "><a href="#MLA_DEBUG_REPLACE_PHP_LOG" title="MLA_DEBUG_REPLACE_PHP_LOG :: Provides a unique name for the Debug replace PHP log file option"><span class="description">Provides a unique name for the Debug replace PHP log file option</span><pre>MLA_DEBUG_REPLACE_PHP_LOG</pre></a></li>
123
- <li class="constant "><a href="#MLA_DEBUG_REPLACE_PHP_REPORTING" title="MLA_DEBUG_REPLACE_PHP_REPORTING :: Provides a unique name for the Debug replace PHP error_reporting option"><span class="description">Provides a unique name for the Debug replace PHP error_reporting option</span><pre>MLA_DEBUG_REPLACE_PHP_REPORTING</pre></a></li>
124
- <li class="constant "><a href="#MLA_DEFAULT_ORDER" title="MLA_DEFAULT_ORDER :: Provides a unique name for the default order option"><span class="description">Provides a unique name for the default order option</span><pre>MLA_DEFAULT_ORDER</pre></a></li>
125
- <li class="constant "><a href="#MLA_DEFAULT_ORDERBY" title="MLA_DEFAULT_ORDERBY :: Provides a unique name for the default orderby option"><span class="description">Provides a unique name for the default orderby option</span><pre>MLA_DEFAULT_ORDERBY</pre></a></li>
126
- <li class="constant "><a href="#MLA_EDIT_MEDIA_META_BOXES" title="MLA_EDIT_MEDIA_META_BOXES :: Provides a unique name for the Edit Media additional meta boxes option"><span class="description">Provides a unique name for the Edit Media additional meta boxes option</span><pre>MLA_EDIT_MEDIA_META_BOXES</pre></a></li>
127
- <li class="constant "><a href="#MLA_EDIT_MEDIA_SEARCH_TAXONOMY" title='MLA_EDIT_MEDIA_SEARCH_TAXONOMY :: Provides a unique name for the "searchable taxonomies" option'><span class="description">Provides a unique name for the "searchable taxonomies" option</span><pre>MLA_EDIT_MEDIA_SEARCH_TAXONOMY</pre></a></li>
128
- <li class="constant "><a href="#MLA_ENABLE_MLA_ICONS" title="MLA_ENABLE_MLA_ICONS :: Provides a unique name for the Enable MLA Icons option"><span class="description">Provides a unique name for the Enable MLA Icons option</span><pre>MLA_ENABLE_MLA_ICONS</pre></a></li>
129
- <li class="constant "><a href="#MLA_ENABLE_POST_MIME_TYPES" title="MLA_ENABLE_POST_MIME_TYPES :: Provides a unique name for the Enable Post MIME Types option"><span class="description">Provides a unique name for the Enable Post MIME Types option</span><pre>MLA_ENABLE_POST_MIME_TYPES</pre></a></li>
130
- <li class="constant "><a href="#MLA_ENABLE_UPLOAD_MIMES" title="MLA_ENABLE_UPLOAD_MIMES :: Provides a unique name for the Enable Upload MIME Types option"><span class="description">Provides a unique name for the Enable Upload MIME Types option</span><pre>MLA_ENABLE_UPLOAD_MIMES</pre></a></li>
131
- <li class="constant "><a href="#MLA_EXCLUDE_REVISIONS" title="MLA_EXCLUDE_REVISIONS :: Provides a unique name for the exclude revisions option"><span class="description">Provides a unique name for the exclude revisions option</span><pre>MLA_EXCLUDE_REVISIONS</pre></a></li>
132
- <li class="constant "><a href="#MLA_EXIF_SIZE" title='MLA_EXIF_SIZE :: Provides a "size" attribute value for the EXIF/Template Value field'><span class="description">Provides a "size" attribute value for the EXIF/Template Value field</span><pre>MLA_EXIF_SIZE</pre></a></li>
133
- <li class="constant "><a href="#MLA_FEATURED_IN_TUNING" title="MLA_FEATURED_IN_TUNING :: Provides a unique name for a database tuning option"><span class="description">Provides a unique name for a database tuning option</span><pre>MLA_FEATURED_IN_TUNING</pre></a></li>
134
- <li class="constant "><a href="#MLA_GALLERY_IN_TUNING" title="MLA_GALLERY_IN_TUNING :: Provides a unique name for a database tuning option"><span class="description">Provides a unique name for a database tuning option</span><pre>MLA_GALLERY_IN_TUNING</pre></a></li>
135
- <li class="constant "><a href="#MLA_INSERTED_IN_TUNING" title="MLA_INSERTED_IN_TUNING :: Provides a unique name for a database tuning option"><span class="description">Provides a unique name for a database tuning option</span><pre>MLA_INSERTED_IN_TUNING</pre></a></li>
136
- <li class="constant "><a href="#MLA_MEDIA_GRID_TOOLBAR" title="MLA_MEDIA_GRID_TOOLBAR :: Provides a unique name for the Media Grid toolbar option, which
137
- also controls the ATTACHMENT DETAILS enhancements"><span class="description">Provides a unique name for the Media Grid toolbar option, which
138
- also controls the ATTACHMENT DETAILS enhancements</span><pre>MLA_MEDIA_GRID_TOOLBAR</pre></a></li>
139
- <li class="constant "><a href="#MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS" title="MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS :: Provides a unique name for the Media Manager Force Image Default Setings option"><span class="description">Provides a unique name for the Media Manager Force Image Default Setings option</span><pre>MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS</pre></a></li>
140
- <li class="constant "><a href="#MLA_MEDIA_MODAL_DETAILS_AUTOFILL" title="MLA_MEDIA_MODAL_DETAILS_AUTOFILL :: Provides a unique name for the Media Manager Attachment Details auto-fill option"><span class="description">Provides a unique name for the Media Manager Attachment Details auto-fill option</span><pre>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</pre></a></li>
141
- <li class="constant "><a href="#MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX" title='MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX :: Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
142
- This option is for hierarchical taxonomies, e.g., "Att.'><span class="description">Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
143
- This option is for hierarchical taxonomies, e.g., "Att.</span><pre>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</pre></a></li>
144
- <li class="constant "><a href="#MLA_MEDIA_MODAL_DETAILS_TAG_METABOX" title='MLA_MEDIA_MODAL_DETAILS_TAG_METABOX :: Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
145
- This option is for flat taxonomies, e.g., "Att.'><span class="description">Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
146
- This option is for flat taxonomies, e.g., "Att.</span><pre>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</pre></a></li>
147
- <li class="constant "><a href="#MLA_MEDIA_MODAL_MIMETYPES" title="MLA_MEDIA_MODAL_MIMETYPES :: Provides a unique name for the Media Manager toolbar MIME Types option"><span class="description">Provides a unique name for the Media Manager toolbar MIME Types option</span><pre>MLA_MEDIA_MODAL_MIMETYPES</pre></a></li>
148
- <li class="constant "><a href="#MLA_MEDIA_MODAL_MONTHS" title="MLA_MEDIA_MODAL_MONTHS :: Provides a unique name for the Media Manager toolbar Month and Year option"><span class="description">Provides a unique name for the Media Manager toolbar Month and Year option</span><pre>MLA_MEDIA_MODAL_MONTHS</pre></a></li>
149
- <li class="constant "><a href="#MLA_MEDIA_MODAL_ORDER" title="MLA_MEDIA_MODAL_ORDER :: Provides a unique name for the Media Manager order option"><span class="description">Provides a unique name for the Media Manager order option</span><pre>MLA_MEDIA_MODAL_ORDER</pre></a></li>
150
- <li class="constant "><a href="#MLA_MEDIA_MODAL_ORDERBY" title="MLA_MEDIA_MODAL_ORDERBY :: Provides a unique name for the Media Manager orderby option"><span class="description">Provides a unique name for the Media Manager orderby option</span><pre>MLA_MEDIA_MODAL_ORDERBY</pre></a></li>
151
- <li class="constant "><a href="#MLA_MEDIA_MODAL_SEARCHBOX" title="MLA_MEDIA_MODAL_SEARCHBOX :: Provides a unique name for the Media Manager toolbar Search Box option"><span class="description">Provides a unique name for the Media Manager toolbar Search Box option</span><pre>MLA_MEDIA_MODAL_SEARCHBOX</pre></a></li>
152
- <li class="constant "><a href="#MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS" title="MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS :: Provides a unique name for the Media Manager toolbar Search Box Controls option"><span class="description">Provides a unique name for the Media Manager toolbar Search Box Controls option</span><pre>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</pre></a></li>
153
- <li class="constant "><a href="#MLA_MEDIA_MODAL_TERMS" title="MLA_MEDIA_MODAL_TERMS :: Provides a unique name for the Media Manager toolbar Taxonomy Terms option"><span class="description">Provides a unique name for the Media Manager toolbar Taxonomy Terms option</span><pre>MLA_MEDIA_MODAL_TERMS</pre></a></li>
154
- <li class="constant "><a href="#MLA_MEDIA_MODAL_TERMS_SEARCH" title='MLA_MEDIA_MODAL_TERMS_SEARCH :: Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option'><span class="description">Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option</span><pre>MLA_MEDIA_MODAL_TERMS_SEARCH</pre></a></li>
155
- <li class="constant "><a href="#MLA_MEDIA_MODAL_TOOLBAR" title="MLA_MEDIA_MODAL_TOOLBAR :: Provides a unique name for the Media Manager toolbar option, which
156
- also controls the ATTACHMENT DETAILS enhancements"><span class="description">Provides a unique name for the Media Manager toolbar option, which
157
- also controls the ATTACHMENT DETAILS enhancements</span><pre>MLA_MEDIA_MODAL_TOOLBAR</pre></a></li>
158
- <li class="constant "><a href="#MLA_MLA_GALLERY_IN_TUNING" title="MLA_MLA_GALLERY_IN_TUNING :: Provides a unique name for a database tuning option"><span class="description">Provides a unique name for a database tuning option</span><pre>MLA_MLA_GALLERY_IN_TUNING</pre></a></li>
159
- <li class="constant "><a href="#MLA_NEW_CUSTOM_FIELD" title='MLA_NEW_CUSTOM_FIELD :: Provides a unique name for the Custom Field "new field" key'><span class="description">Provides a unique name for the Custom Field "new field" key</span><pre>MLA_NEW_CUSTOM_FIELD</pre></a></li>
160
- <li class="constant "><a href="#MLA_NEW_CUSTOM_RULE" title='MLA_NEW_CUSTOM_RULE :: Provides a unique name for the Custom Field "new rule" key'><span class="description">Provides a unique name for the Custom Field "new rule" key</span><pre>MLA_NEW_CUSTOM_RULE</pre></a></li>
161
- <li class="constant "><a href="#MLA_POST_MIME_TYPES" title="MLA_POST_MIME_TYPES :: Provides a unique name for the Post MIME Types option"><span class="description">Provides a unique name for the Post MIME Types option</span><pre>MLA_POST_MIME_TYPES</pre></a></li>
162
- <li class="constant "><a href="#MLA_SCREEN_DISPLAY_LIBRARY" title="MLA_SCREEN_DISPLAY_LIBRARY :: Provides a unique name for the admin screen remove Media/Library option"><span class="description">Provides a unique name for the admin screen remove Media/Library option</span><pre>MLA_SCREEN_DISPLAY_LIBRARY</pre></a></li>
163
- <li class="constant "><a href="#MLA_SCREEN_MENU_TITLE" title="MLA_SCREEN_MENU_TITLE :: Provides a unique name for the admin screen menu title option"><span class="description">Provides a unique name for the admin screen menu title option</span><pre>MLA_SCREEN_MENU_TITLE</pre></a></li>
164
- <li class="constant "><a href="#MLA_SCREEN_ORDER" title="MLA_SCREEN_ORDER :: Provides a unique name for the admin screen menu order option"><span class="description">Provides a unique name for the admin screen menu order option</span><pre>MLA_SCREEN_ORDER</pre></a></li>
165
- <li class="constant "><a href="#MLA_SCREEN_PAGE_TITLE" title="MLA_SCREEN_PAGE_TITLE :: Provides a unique name for the admin screen page title option"><span class="description">Provides a unique name for the admin screen page title option</span><pre>MLA_SCREEN_PAGE_TITLE</pre></a></li>
166
- <li class="constant "><a href="#MLA_SEARCH_MEDIA_FILTER_DEFAULTS" title="MLA_SEARCH_MEDIA_FILTER_DEFAULTS :: Provides a unique name for the display Search Media controls option"><span class="description">Provides a unique name for the display Search Media controls option</span><pre>MLA_SEARCH_MEDIA_FILTER_DEFAULTS</pre></a></li>
167
- <li class="constant "><a href="#MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS" title="MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS :: Provides a unique name for the display Search Media controls option"><span class="description">Provides a unique name for the display Search Media controls option</span><pre>MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS</pre></a></li>
168
- <li class="constant "><a href="#MLA_SETTINGS_SLUG" title="MLA_SETTINGS_SLUG :: Provides a unique name for the settings page"><span class="description">Provides a unique name for the settings page</span><pre>MLA_SETTINGS_SLUG</pre></a></li>
169
- <li class="constant "><a href="#MLA_TABLE_ICON_SIZE" title="MLA_TABLE_ICON_SIZE :: Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option"><span class="description">Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option</span><pre>MLA_TABLE_ICON_SIZE</pre></a></li>
170
- <li class="constant "><a href="#MLA_TABLE_VIEWS_WIDTH" title="MLA_TABLE_VIEWS_WIDTH :: Provides a unique name for the Media/Assistant submenu table views width option"><span class="description">Provides a unique name for the Media/Assistant submenu table views width option</span><pre>MLA_TABLE_VIEWS_WIDTH</pre></a></li>
171
- <li class="constant "><a href="#MLA_TAXONOMY_FILTER_DEPTH" title="MLA_TAXONOMY_FILTER_DEPTH :: Provides a unique name for the taxonomy filter maximum depth option"><span class="description">Provides a unique name for the taxonomy filter maximum depth option</span><pre>MLA_TAXONOMY_FILTER_DEPTH</pre></a></li>
172
- <li class="constant "><a href="#MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN" title="MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN :: Provides a unique name for the taxonomy filter maximum depth option"><span class="description">Provides a unique name for the taxonomy filter maximum depth option</span><pre>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</pre></a></li>
173
- <li class="constant "><a href="#MLA_TAXONOMY_SUPPORT" title="MLA_TAXONOMY_SUPPORT :: Provides a unique name for the taxonomy support option"><span class="description">Provides a unique name for the taxonomy support option</span><pre>MLA_TAXONOMY_SUPPORT</pre></a></li>
174
- <li class="constant "><a href="#MLA_UPLOAD_MIMES" title="MLA_UPLOAD_MIMES :: Provides a unique name for the Upload MIME Types option"><span class="description">Provides a unique name for the Upload MIME Types option</span><pre>MLA_UPLOAD_MIMES</pre></a></li>
175
- <li class="constant "><a href="#MLA_VERSION_OPTION" title="MLA_VERSION_OPTION :: Provides a unique name for the current version option"><span class="description">Provides a unique name for the current version option</span><pre>MLA_VERSION_OPTION</pre></a></li>
176
  </ul>
177
  </div>
178
  <div class="span8">
@@ -444,7 +382,7 @@ will be added to the front of the value if necessary.</p></p>
444
  <div class="row collapse"><div class="detail-description">
445
  <p class="long_description"><p>Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.</p></p>
446
  <table class="table table-bordered"><tr>
447
- <th>sin20</th>
448
  <td>2.02</td>
449
  </tr></table>
450
  </div></div>
@@ -475,19 +413,6 @@ where "key" becomes the key part of the array.</p></p>
475
  <code>string</code><code>array</code><code>false</code><code>NULL</code>string for files that do not contain template divider comments, array for files containing template divider comments, false if file or option does not exist, NULL if file could not be loaded.</div>
476
  </div></div>
477
  </div>
478
- <a name="mla_localize_option_definitions_array" id="mla_localize_option_definitions_array"></a><div class="element clickable method public mla_localize_option_definitions_array" data-toggle="collapse" data-target=".mla_localize_option_definitions_array .collapse">
479
- <h2>Localize $mla_option_definitions array</h2>
480
- <pre>mla_localize_option_definitions_array() : void</pre>
481
- <div class="labels"></div>
482
- <div class="row collapse"><div class="detail-description">
483
- <p class="long_description"><p>Localization must be done at runtime; these calls cannot be placed in the
484
- "public static" array definition itself. Called from MLATest::initialize.</p></p>
485
- <table class="table table-bordered"><tr>
486
- <th>since</th>
487
- <td>2.20</td>
488
- </tr></table>
489
- </div></div>
490
- </div>
491
  <a name="mla_parse_view_specification" id="mla_parse_view_specification"></a><div class="element clickable method public mla_parse_view_specification" data-toggle="collapse" data-target=".mla_parse_view_specification .collapse">
492
  <h2>Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains</h2>
493
  <pre>mla_parse_view_specification(string | array $specification) : array</pre>
@@ -614,6 +539,25 @@ settings are being updated or reset.</h2>
614
  <code>boolean</code>True if the value was changed or false if the update failed</div>
615
  </div></div>
616
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
617
  <a name="_debug_log" id="_debug_log"></a><div class="element clickable method private _debug_log" data-toggle="collapse" data-target="._debug_log .collapse">
618
  <h2>Write a debug message to the appropriate log file</h2>
619
  <pre>_debug_log(string $message) </pre>
@@ -656,36 +600,6 @@ settings are being updated or reset.</h2>
656
  </tr></table>
657
  </div></div>
658
  </div>
659
- <a name="%24mla_option_definitions" id="$mla_option_definitions"> </a><div class="element clickable property public $mla_option_definitions" data-toggle="collapse" data-target=".$mla_option_definitions .collapse">
660
- <h2>$mla_option_definitions defines the database options and admin page areas for setting/updating them</h2>
661
- <pre>$mla_option_definitions </pre>
662
- <div class="labels"></div>
663
- <div class="row collapse"><div class="detail-description"><p class="long_description"><p>The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array();
664
- localization calls cannot be placed in the "public static" array definition itself.</p>
665
-
666
- <p>Each option is defined by an array with the following elements:</p>
667
-
668
- <p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
669
-
670
- <p>tab => Settings page tab id for the option
671
- name => admin page label or heading text
672
- type => 'checkbox', 'header', 'radio', 'select', 'text', 'textarea', 'custom', 'hidden'
673
- std => default value
674
- help => help text
675
- size => text size, default 40
676
- cols => textbox columns, default 90
677
- rows => textbox rows, default 5
678
- options => array of radio or select option values
679
- texts => array of radio or select option display texts
680
- render => rendering function for 'custom' options. Usage:
681
- $options_list .= ['render']( 'render', $key, $value );
682
- update => update function for 'custom' options; returns nothing. Usage:
683
- $message = ['update']( 'update', $key, $value, $_REQUEST );
684
- delete => delete function for 'custom' options; returns nothing. Usage:
685
- $message = ['delete']( 'delete', $key, $value, $_REQUEST );
686
- reset => reset function for 'custom' options; returns nothing. Usage:
687
- $message = ['reset']( 'reset', $key, $value, $_REQUEST );</p></p></div></div>
688
- </div>
689
  <a name="%24original_php_log" id="$original_php_log"> </a><div class="element clickable property public $original_php_log" data-toggle="collapse" data-target=".$original_php_log .collapse">
690
  <h2>Original PHP error_log path and file</h2>
691
  <pre>$original_php_log : string</pre>
@@ -856,24 +770,6 @@ reset => reset function for 'custom' options; returns nothing. Usage:
856
  </tr></table>
857
  </div></div>
858
  </div>
859
- <a name="MLA_ADD_NEW_BULK_EDIT" id="MLA_ADD_NEW_BULK_EDIT"> </a><div class="element clickable constant MLA_ADD_NEW_BULK_EDIT" data-toggle="collapse" data-target=".MLA_ADD_NEW_BULK_EDIT .collapse">
860
- <h2>Provides a unique name for the Media/Add New bulk edit option</h2>
861
- <pre>MLA_ADD_NEW_BULK_EDIT </pre>
862
- <div class="labels"></div>
863
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
864
- </div>
865
- <a name="MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN" id="MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN"> </a><div class="element clickable constant MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN" data-toggle="collapse" data-target=".MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN .collapse">
866
- <h2>Provides a unique name for the Media/Add New bulk edit "Open Automatically" option</h2>
867
- <pre>MLA_ADD_NEW_BULK_EDIT_AUTO_OPEN </pre>
868
- <div class="labels"></div>
869
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
870
- </div>
871
- <a name="MLA_ADD_NEW_BULK_EDIT_ON_TOP" id="MLA_ADD_NEW_BULK_EDIT_ON_TOP"> </a><div class="element clickable constant MLA_ADD_NEW_BULK_EDIT_ON_TOP" data-toggle="collapse" data-target=".MLA_ADD_NEW_BULK_EDIT_ON_TOP .collapse">
872
- <h2>Provides a unique name for the Media/Add New bulk edit "on top" option</h2>
873
- <pre>MLA_ADD_NEW_BULK_EDIT_ON_TOP </pre>
874
- <div class="labels"></div>
875
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
876
- </div>
877
  <a name="MLA_ADMIN_NONCE_ACTION" id="MLA_ADMIN_NONCE_ACTION"> </a><div class="element clickable constant MLA_ADMIN_NONCE_ACTION" data-toggle="collapse" data-target=".MLA_ADMIN_NONCE_ACTION .collapse">
878
  <h2>Action name; gives a context for the nonce</h2>
879
  <pre>MLA_ADMIN_NONCE_ACTION : string</pre>
@@ -934,18 +830,6 @@ reset => reset function for 'custom' options; returns nothing. Usage:
934
  </tr></table>
935
  </div></div>
936
  </div>
937
- <a name="MLA_BULK_CHUNK_SIZE" id="MLA_BULK_CHUNK_SIZE"> </a><div class="element clickable constant MLA_BULK_CHUNK_SIZE" data-toggle="collapse" data-target=".MLA_BULK_CHUNK_SIZE .collapse">
938
- <h2>Provides a unique name for the Bulk Update and Map All chunk size option</h2>
939
- <pre>MLA_BULK_CHUNK_SIZE </pre>
940
- <div class="labels"></div>
941
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
942
- </div>
943
- <a name="MLA_COUNT_TERM_ATTACHMENTS" id="MLA_COUNT_TERM_ATTACHMENTS"> </a><div class="element clickable constant MLA_COUNT_TERM_ATTACHMENTS" data-toggle="collapse" data-target=".MLA_COUNT_TERM_ATTACHMENTS .collapse">
944
- <h2>Provides a unique name for the taxonomy count Attachments option</h2>
945
- <pre>MLA_COUNT_TERM_ATTACHMENTS </pre>
946
- <div class="labels"></div>
947
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
948
- </div>
949
  <a name="MLA_DEBUG_CATEGORY_AJAX" id="MLA_DEBUG_CATEGORY_AJAX"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_AJAX" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_AJAX .collapse">
950
  <h2>Constant to log Ajax debug activity</h2>
951
  <pre>MLA_DEBUG_CATEGORY_AJAX : integer</pre>
@@ -958,334 +842,42 @@ reset => reset function for 'custom' options; returns nothing. Usage:
958
  </tr></table>
959
  </div></div>
960
  </div>
961
- <a name="MLA_DEBUG_CATEGORY_LANGUAGE" id="MLA_DEBUG_CATEGORY_LANGUAGE"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_LANGUAGE" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_LANGUAGE .collapse">
962
- <h2>Constant to log WPML/Polylang action/filter activity</h2>
963
- <pre>MLA_DEBUG_CATEGORY_LANGUAGE : integer</pre>
964
  <div class="labels"></div>
965
  <div class="row collapse"><div class="detail-description">
966
  <p class="long_description"></p>
967
  <table class="table table-bordered"><tr>
968
  <th>since</th>
969
- <td>2.15</td>
970
  </tr></table>
971
  </div></div>
972
  </div>
973
- <a name="MLA_DEBUG_CATEGORY_THUMBNAIL" id="MLA_DEBUG_CATEGORY_THUMBNAIL"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_THUMBNAIL" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_THUMBNAIL .collapse">
974
- <h2>Constant to log Ghostscript/Imagick activity</h2>
975
- <pre>MLA_DEBUG_CATEGORY_THUMBNAIL : integer</pre>
976
  <div class="labels"></div>
977
  <div class="row collapse"><div class="detail-description">
978
  <p class="long_description"></p>
979
  <table class="table table-bordered"><tr>
980
  <th>since</th>
981
- <td>2.23</td>
982
  </tr></table>
983
  </div></div>
984
  </div>
985
- <a name="MLA_DEBUG_DISPLAY_LIMIT" id="MLA_DEBUG_DISPLAY_LIMIT"> </a><div class="element clickable constant MLA_DEBUG_DISPLAY_LIMIT" data-toggle="collapse" data-target=".MLA_DEBUG_DISPLAY_LIMIT .collapse">
986
- <h2>Provides a unique name for the Debug display limit option</h2>
987
- <pre>MLA_DEBUG_DISPLAY_LIMIT </pre>
988
- <div class="labels"></div>
989
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
990
- </div>
991
- <a name="MLA_DEBUG_FILE" id="MLA_DEBUG_FILE"> </a><div class="element clickable constant MLA_DEBUG_FILE" data-toggle="collapse" data-target=".MLA_DEBUG_FILE .collapse">
992
- <h2>Provides a unique name for the Debug alternate log file option</h2>
993
- <pre>MLA_DEBUG_FILE </pre>
994
- <div class="labels"></div>
995
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
996
- </div>
997
- <a name="MLA_DEBUG_REPLACE_LEVEL" id="MLA_DEBUG_REPLACE_LEVEL"> </a><div class="element clickable constant MLA_DEBUG_REPLACE_LEVEL" data-toggle="collapse" data-target=".MLA_DEBUG_REPLACE_LEVEL .collapse">
998
- <h2>Provides a unique name for the Debug replace MLA_DEBUG_LEVEL option</h2>
999
- <pre>MLA_DEBUG_REPLACE_LEVEL </pre>
1000
- <div class="labels"></div>
1001
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1002
- </div>
1003
- <a name="MLA_DEBUG_REPLACE_PHP_LOG" id="MLA_DEBUG_REPLACE_PHP_LOG"> </a><div class="element clickable constant MLA_DEBUG_REPLACE_PHP_LOG" data-toggle="collapse" data-target=".MLA_DEBUG_REPLACE_PHP_LOG .collapse">
1004
- <h2>Provides a unique name for the Debug replace PHP log file option</h2>
1005
- <pre>MLA_DEBUG_REPLACE_PHP_LOG </pre>
1006
- <div class="labels"></div>
1007
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1008
- </div>
1009
- <a name="MLA_DEBUG_REPLACE_PHP_REPORTING" id="MLA_DEBUG_REPLACE_PHP_REPORTING"> </a><div class="element clickable constant MLA_DEBUG_REPLACE_PHP_REPORTING" data-toggle="collapse" data-target=".MLA_DEBUG_REPLACE_PHP_REPORTING .collapse">
1010
- <h2>Provides a unique name for the Debug replace PHP error_reporting option</h2>
1011
- <pre>MLA_DEBUG_REPLACE_PHP_REPORTING </pre>
1012
- <div class="labels"></div>
1013
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1014
- </div>
1015
- <a name="MLA_DEFAULT_ORDER" id="MLA_DEFAULT_ORDER"> </a><div class="element clickable constant MLA_DEFAULT_ORDER" data-toggle="collapse" data-target=".MLA_DEFAULT_ORDER .collapse">
1016
- <h2>Provides a unique name for the default order option</h2>
1017
- <pre>MLA_DEFAULT_ORDER </pre>
1018
- <div class="labels"></div>
1019
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1020
- </div>
1021
- <a name="MLA_DEFAULT_ORDERBY" id="MLA_DEFAULT_ORDERBY"> </a><div class="element clickable constant MLA_DEFAULT_ORDERBY" data-toggle="collapse" data-target=".MLA_DEFAULT_ORDERBY .collapse">
1022
- <h2>Provides a unique name for the default orderby option</h2>
1023
- <pre>MLA_DEFAULT_ORDERBY </pre>
1024
- <div class="labels"></div>
1025
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1026
- </div>
1027
- <a name="MLA_EDIT_MEDIA_META_BOXES" id="MLA_EDIT_MEDIA_META_BOXES"> </a><div class="element clickable constant MLA_EDIT_MEDIA_META_BOXES" data-toggle="collapse" data-target=".MLA_EDIT_MEDIA_META_BOXES .collapse">
1028
- <h2>Provides a unique name for the Edit Media additional meta boxes option</h2>
1029
- <pre>MLA_EDIT_MEDIA_META_BOXES </pre>
1030
- <div class="labels"></div>
1031
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1032
- </div>
1033
- <a name="MLA_EDIT_MEDIA_SEARCH_TAXONOMY" id="MLA_EDIT_MEDIA_SEARCH_TAXONOMY"> </a><div class="element clickable constant MLA_EDIT_MEDIA_SEARCH_TAXONOMY" data-toggle="collapse" data-target=".MLA_EDIT_MEDIA_SEARCH_TAXONOMY .collapse">
1034
- <h2>Provides a unique name for the "searchable taxonomies" option</h2>
1035
- <pre>MLA_EDIT_MEDIA_SEARCH_TAXONOMY </pre>
1036
- <div class="labels"></div>
1037
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1038
- </div>
1039
- <a name="MLA_ENABLE_MLA_ICONS" id="MLA_ENABLE_MLA_ICONS"> </a><div class="element clickable constant MLA_ENABLE_MLA_ICONS" data-toggle="collapse" data-target=".MLA_ENABLE_MLA_ICONS .collapse">
1040
- <h2>Provides a unique name for the Enable MLA Icons option</h2>
1041
- <pre>MLA_ENABLE_MLA_ICONS </pre>
1042
- <div class="labels"></div>
1043
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1044
- </div>
1045
- <a name="MLA_ENABLE_POST_MIME_TYPES" id="MLA_ENABLE_POST_MIME_TYPES"> </a><div class="element clickable constant MLA_ENABLE_POST_MIME_TYPES" data-toggle="collapse" data-target=".MLA_ENABLE_POST_MIME_TYPES .collapse">
1046
- <h2>Provides a unique name for the Enable Post MIME Types option</h2>
1047
- <pre>MLA_ENABLE_POST_MIME_TYPES </pre>
1048
- <div class="labels"></div>
1049
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1050
- </div>
1051
- <a name="MLA_ENABLE_UPLOAD_MIMES" id="MLA_ENABLE_UPLOAD_MIMES"> </a><div class="element clickable constant MLA_ENABLE_UPLOAD_MIMES" data-toggle="collapse" data-target=".MLA_ENABLE_UPLOAD_MIMES .collapse">
1052
- <h2>Provides a unique name for the Enable Upload MIME Types option</h2>
1053
- <pre>MLA_ENABLE_UPLOAD_MIMES </pre>
1054
- <div class="labels"></div>
1055
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1056
- </div>
1057
- <a name="MLA_EXCLUDE_REVISIONS" id="MLA_EXCLUDE_REVISIONS"> </a><div class="element clickable constant MLA_EXCLUDE_REVISIONS" data-toggle="collapse" data-target=".MLA_EXCLUDE_REVISIONS .collapse">
1058
- <h2>Provides a unique name for the exclude revisions option</h2>
1059
- <pre>MLA_EXCLUDE_REVISIONS </pre>
1060
- <div class="labels"></div>
1061
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1062
- </div>
1063
- <a name="MLA_EXIF_SIZE" id="MLA_EXIF_SIZE"> </a><div class="element clickable constant MLA_EXIF_SIZE" data-toggle="collapse" data-target=".MLA_EXIF_SIZE .collapse">
1064
- <h2>Provides a "size" attribute value for the EXIF/Template Value field</h2>
1065
- <pre>MLA_EXIF_SIZE </pre>
1066
- <div class="labels"></div>
1067
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1068
- </div>
1069
- <a name="MLA_FEATURED_IN_TUNING" id="MLA_FEATURED_IN_TUNING"> </a><div class="element clickable constant MLA_FEATURED_IN_TUNING" data-toggle="collapse" data-target=".MLA_FEATURED_IN_TUNING .collapse">
1070
- <h2>Provides a unique name for a database tuning option</h2>
1071
- <pre>MLA_FEATURED_IN_TUNING </pre>
1072
- <div class="labels"></div>
1073
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1074
- </div>
1075
- <a name="MLA_GALLERY_IN_TUNING" id="MLA_GALLERY_IN_TUNING"> </a><div class="element clickable constant MLA_GALLERY_IN_TUNING" data-toggle="collapse" data-target=".MLA_GALLERY_IN_TUNING .collapse">
1076
- <h2>Provides a unique name for a database tuning option</h2>
1077
- <pre>MLA_GALLERY_IN_TUNING </pre>
1078
- <div class="labels"></div>
1079
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1080
- </div>
1081
- <a name="MLA_INSERTED_IN_TUNING" id="MLA_INSERTED_IN_TUNING"> </a><div class="element clickable constant MLA_INSERTED_IN_TUNING" data-toggle="collapse" data-target=".MLA_INSERTED_IN_TUNING .collapse">
1082
- <h2>Provides a unique name for a database tuning option</h2>
1083
- <pre>MLA_INSERTED_IN_TUNING </pre>
1084
- <div class="labels"></div>
1085
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1086
- </div>
1087
- <a name="MLA_MEDIA_GRID_TOOLBAR" id="MLA_MEDIA_GRID_TOOLBAR"> </a><div class="element clickable constant MLA_MEDIA_GRID_TOOLBAR" data-toggle="collapse" data-target=".MLA_MEDIA_GRID_TOOLBAR .collapse">
1088
- <h2>Provides a unique name for the Media Grid toolbar option, which
1089
- also controls the ATTACHMENT DETAILS enhancements</h2>
1090
- <pre>MLA_MEDIA_GRID_TOOLBAR </pre>
1091
- <div class="labels"></div>
1092
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1093
- </div>
1094
- <a name="MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS" id="MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS"> </a><div class="element clickable constant MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS .collapse">
1095
- <h2>Provides a unique name for the Media Manager Force Image Default Setings option</h2>
1096
- <pre>MLA_MEDIA_MODAL_APPLY_DISPLAY_SETTINGS </pre>
1097
- <div class="labels"></div>
1098
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1099
- </div>
1100
- <a name="MLA_MEDIA_MODAL_DETAILS_AUTOFILL" id="MLA_MEDIA_MODAL_DETAILS_AUTOFILL"> </a><div class="element clickable constant MLA_MEDIA_MODAL_DETAILS_AUTOFILL" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_DETAILS_AUTOFILL .collapse">
1101
- <h2>Provides a unique name for the Media Manager Attachment Details auto-fill option</h2>
1102
- <pre>MLA_MEDIA_MODAL_DETAILS_AUTOFILL </pre>
1103
- <div class="labels"></div>
1104
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1105
- </div>
1106
- <a name="MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX" id="MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX"> </a><div class="element clickable constant MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX .collapse">
1107
- <h2>Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
1108
- This option is for hierarchical taxonomies, e.g., "Att.</h2>
1109
- <pre>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX </pre>
1110
- <div class="labels"></div>
1111
- <div class="row collapse"><div class="detail-description"><p class="long_description"><p>Categories".</p></p></div></div>
1112
- </div>
1113
- <a name="MLA_MEDIA_MODAL_DETAILS_TAG_METABOX" id="MLA_MEDIA_MODAL_DETAILS_TAG_METABOX"> </a><div class="element clickable constant MLA_MEDIA_MODAL_DETAILS_TAG_METABOX" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_DETAILS_TAG_METABOX .collapse">
1114
- <h2>Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
1115
- This option is for flat taxonomies, e.g., "Att.</h2>
1116
- <pre>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX </pre>
1117
- <div class="labels"></div>
1118
- <div class="row collapse"><div class="detail-description"><p class="long_description"><p>Tags".</p></p></div></div>
1119
- </div>
1120
- <a name="MLA_MEDIA_MODAL_MIMETYPES" id="MLA_MEDIA_MODAL_MIMETYPES"> </a><div class="element clickable constant MLA_MEDIA_MODAL_MIMETYPES" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_MIMETYPES .collapse">
1121
- <h2>Provides a unique name for the Media Manager toolbar MIME Types option</h2>
1122
- <pre>MLA_MEDIA_MODAL_MIMETYPES </pre>
1123
- <div class="labels"></div>
1124
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1125
- </div>
1126
- <a name="MLA_MEDIA_MODAL_MONTHS" id="MLA_MEDIA_MODAL_MONTHS"> </a><div class="element clickable constant MLA_MEDIA_MODAL_MONTHS" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_MONTHS .collapse">
1127
- <h2>Provides a unique name for the Media Manager toolbar Month and Year option</h2>
1128
- <pre>MLA_MEDIA_MODAL_MONTHS </pre>
1129
- <div class="labels"></div>
1130
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1131
- </div>
1132
- <a name="MLA_MEDIA_MODAL_ORDER" id="MLA_MEDIA_MODAL_ORDER"> </a><div class="element clickable constant MLA_MEDIA_MODAL_ORDER" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_ORDER .collapse">
1133
- <h2>Provides a unique name for the Media Manager order option</h2>
1134
- <pre>MLA_MEDIA_MODAL_ORDER </pre>
1135
- <div class="labels"></div>
1136
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1137
- </div>
1138
- <a name="MLA_MEDIA_MODAL_ORDERBY" id="MLA_MEDIA_MODAL_ORDERBY"> </a><div class="element clickable constant MLA_MEDIA_MODAL_ORDERBY" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_ORDERBY .collapse">
1139
- <h2>Provides a unique name for the Media Manager orderby option</h2>
1140
- <pre>MLA_MEDIA_MODAL_ORDERBY </pre>
1141
- <div class="labels"></div>
1142
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1143
- </div>
1144
- <a name="MLA_MEDIA_MODAL_SEARCHBOX" id="MLA_MEDIA_MODAL_SEARCHBOX"> </a><div class="element clickable constant MLA_MEDIA_MODAL_SEARCHBOX" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_SEARCHBOX .collapse">
1145
- <h2>Provides a unique name for the Media Manager toolbar Search Box option</h2>
1146
- <pre>MLA_MEDIA_MODAL_SEARCHBOX </pre>
1147
- <div class="labels"></div>
1148
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1149
- </div>
1150
- <a name="MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS" id="MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS"> </a><div class="element clickable constant MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS .collapse">
1151
- <h2>Provides a unique name for the Media Manager toolbar Search Box Controls option</h2>
1152
- <pre>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS </pre>
1153
- <div class="labels"></div>
1154
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1155
- </div>
1156
- <a name="MLA_MEDIA_MODAL_TERMS" id="MLA_MEDIA_MODAL_TERMS"> </a><div class="element clickable constant MLA_MEDIA_MODAL_TERMS" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_TERMS .collapse">
1157
- <h2>Provides a unique name for the Media Manager toolbar Taxonomy Terms option</h2>
1158
- <pre>MLA_MEDIA_MODAL_TERMS </pre>
1159
- <div class="labels"></div>
1160
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1161
- </div>
1162
- <a name="MLA_MEDIA_MODAL_TERMS_SEARCH" id="MLA_MEDIA_MODAL_TERMS_SEARCH"> </a><div class="element clickable constant MLA_MEDIA_MODAL_TERMS_SEARCH" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_TERMS_SEARCH .collapse">
1163
- <h2>Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option</h2>
1164
- <pre>MLA_MEDIA_MODAL_TERMS_SEARCH </pre>
1165
- <div class="labels"></div>
1166
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1167
- </div>
1168
- <a name="MLA_MEDIA_MODAL_TOOLBAR" id="MLA_MEDIA_MODAL_TOOLBAR"> </a><div class="element clickable constant MLA_MEDIA_MODAL_TOOLBAR" data-toggle="collapse" data-target=".MLA_MEDIA_MODAL_TOOLBAR .collapse">
1169
- <h2>Provides a unique name for the Media Manager toolbar option, which
1170
- also controls the ATTACHMENT DETAILS enhancements</h2>
1171
- <pre>MLA_MEDIA_MODAL_TOOLBAR </pre>
1172
- <div class="labels"></div>
1173
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1174
- </div>
1175
- <a name="MLA_MLA_GALLERY_IN_TUNING" id="MLA_MLA_GALLERY_IN_TUNING"> </a><div class="element clickable constant MLA_MLA_GALLERY_IN_TUNING" data-toggle="collapse" data-target=".MLA_MLA_GALLERY_IN_TUNING .collapse">
1176
- <h2>Provides a unique name for a database tuning option</h2>
1177
- <pre>MLA_MLA_GALLERY_IN_TUNING </pre>
1178
- <div class="labels"></div>
1179
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1180
- </div>
1181
- <a name="MLA_NEW_CUSTOM_FIELD" id="MLA_NEW_CUSTOM_FIELD"> </a><div class="element clickable constant MLA_NEW_CUSTOM_FIELD" data-toggle="collapse" data-target=".MLA_NEW_CUSTOM_FIELD .collapse">
1182
- <h2>Provides a unique name for the Custom Field "new field" key</h2>
1183
- <pre>MLA_NEW_CUSTOM_FIELD </pre>
1184
- <div class="labels"></div>
1185
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1186
- </div>
1187
- <a name="MLA_NEW_CUSTOM_RULE" id="MLA_NEW_CUSTOM_RULE"> </a><div class="element clickable constant MLA_NEW_CUSTOM_RULE" data-toggle="collapse" data-target=".MLA_NEW_CUSTOM_RULE .collapse">
1188
- <h2>Provides a unique name for the Custom Field "new rule" key</h2>
1189
- <pre>MLA_NEW_CUSTOM_RULE </pre>
1190
- <div class="labels"></div>
1191
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1192
- </div>
1193
- <a name="MLA_POST_MIME_TYPES" id="MLA_POST_MIME_TYPES"> </a><div class="element clickable constant MLA_POST_MIME_TYPES" data-toggle="collapse" data-target=".MLA_POST_MIME_TYPES .collapse">
1194
- <h2>Provides a unique name for the Post MIME Types option</h2>
1195
- <pre>MLA_POST_MIME_TYPES </pre>
1196
- <div class="labels"></div>
1197
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1198
- </div>
1199
- <a name="MLA_SCREEN_DISPLAY_LIBRARY" id="MLA_SCREEN_DISPLAY_LIBRARY"> </a><div class="element clickable constant MLA_SCREEN_DISPLAY_LIBRARY" data-toggle="collapse" data-target=".MLA_SCREEN_DISPLAY_LIBRARY .collapse">
1200
- <h2>Provides a unique name for the admin screen remove Media/Library option</h2>
1201
- <pre>MLA_SCREEN_DISPLAY_LIBRARY </pre>
1202
- <div class="labels"></div>
1203
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1204
- </div>
1205
- <a name="MLA_SCREEN_MENU_TITLE" id="MLA_SCREEN_MENU_TITLE"> </a><div class="element clickable constant MLA_SCREEN_MENU_TITLE" data-toggle="collapse" data-target=".MLA_SCREEN_MENU_TITLE .collapse">
1206
- <h2>Provides a unique name for the admin screen menu title option</h2>
1207
- <pre>MLA_SCREEN_MENU_TITLE </pre>
1208
- <div class="labels"></div>
1209
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1210
- </div>
1211
- <a name="MLA_SCREEN_ORDER" id="MLA_SCREEN_ORDER"> </a><div class="element clickable constant MLA_SCREEN_ORDER" data-toggle="collapse" data-target=".MLA_SCREEN_ORDER .collapse">
1212
- <h2>Provides a unique name for the admin screen menu order option</h2>
1213
- <pre>MLA_SCREEN_ORDER </pre>
1214
- <div class="labels"></div>
1215
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1216
- </div>
1217
- <a name="MLA_SCREEN_PAGE_TITLE" id="MLA_SCREEN_PAGE_TITLE"> </a><div class="element clickable constant MLA_SCREEN_PAGE_TITLE" data-toggle="collapse" data-target=".MLA_SCREEN_PAGE_TITLE .collapse">
1218
- <h2>Provides a unique name for the admin screen page title option</h2>
1219
- <pre>MLA_SCREEN_PAGE_TITLE </pre>
1220
- <div class="labels"></div>
1221
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1222
- </div>
1223
- <a name="MLA_SEARCH_MEDIA_FILTER_DEFAULTS" id="MLA_SEARCH_MEDIA_FILTER_DEFAULTS"> </a><div class="element clickable constant MLA_SEARCH_MEDIA_FILTER_DEFAULTS" data-toggle="collapse" data-target=".MLA_SEARCH_MEDIA_FILTER_DEFAULTS .collapse">
1224
- <h2>Provides a unique name for the display Search Media controls option</h2>
1225
- <pre>MLA_SEARCH_MEDIA_FILTER_DEFAULTS </pre>
1226
- <div class="labels"></div>
1227
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1228
- </div>
1229
- <a name="MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS" id="MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS"> </a><div class="element clickable constant MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS" data-toggle="collapse" data-target=".MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS .collapse">
1230
- <h2>Provides a unique name for the display Search Media controls option</h2>
1231
- <pre>MLA_SEARCH_MEDIA_FILTER_SHOW_CONTROLS </pre>
1232
- <div class="labels"></div>
1233
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1234
- </div>
1235
- <a name="MLA_SETTINGS_SLUG" id="MLA_SETTINGS_SLUG"> </a><div class="element clickable constant MLA_SETTINGS_SLUG" data-toggle="collapse" data-target=".MLA_SETTINGS_SLUG .collapse">
1236
- <h2>Provides a unique name for the settings page</h2>
1237
- <pre>MLA_SETTINGS_SLUG : string</pre>
1238
  <div class="labels"></div>
1239
  <div class="row collapse"><div class="detail-description">
1240
  <p class="long_description"></p>
1241
  <table class="table table-bordered"><tr>
1242
  <th>since</th>
1243
- <td>2.20</td>
1244
  </tr></table>
1245
  </div></div>
1246
  </div>
1247
- <a name="MLA_TABLE_ICON_SIZE" id="MLA_TABLE_ICON_SIZE"> </a><div class="element clickable constant MLA_TABLE_ICON_SIZE" data-toggle="collapse" data-target=".MLA_TABLE_ICON_SIZE .collapse">
1248
- <h2>Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option</h2>
1249
- <pre>MLA_TABLE_ICON_SIZE </pre>
1250
- <div class="labels"></div>
1251
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1252
- </div>
1253
- <a name="MLA_TABLE_VIEWS_WIDTH" id="MLA_TABLE_VIEWS_WIDTH"> </a><div class="element clickable constant MLA_TABLE_VIEWS_WIDTH" data-toggle="collapse" data-target=".MLA_TABLE_VIEWS_WIDTH .collapse">
1254
- <h2>Provides a unique name for the Media/Assistant submenu table views width option</h2>
1255
- <pre>MLA_TABLE_VIEWS_WIDTH </pre>
1256
- <div class="labels"></div>
1257
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1258
- </div>
1259
- <a name="MLA_TAXONOMY_FILTER_DEPTH" id="MLA_TAXONOMY_FILTER_DEPTH"> </a><div class="element clickable constant MLA_TAXONOMY_FILTER_DEPTH" data-toggle="collapse" data-target=".MLA_TAXONOMY_FILTER_DEPTH .collapse">
1260
- <h2>Provides a unique name for the taxonomy filter maximum depth option</h2>
1261
- <pre>MLA_TAXONOMY_FILTER_DEPTH </pre>
1262
- <div class="labels"></div>
1263
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1264
- </div>
1265
- <a name="MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN" id="MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN"> </a><div class="element clickable constant MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN" data-toggle="collapse" data-target=".MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN .collapse">
1266
- <h2>Provides a unique name for the taxonomy filter maximum depth option</h2>
1267
- <pre>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN </pre>
1268
- <div class="labels"></div>
1269
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1270
- </div>
1271
- <a name="MLA_TAXONOMY_SUPPORT" id="MLA_TAXONOMY_SUPPORT"> </a><div class="element clickable constant MLA_TAXONOMY_SUPPORT" data-toggle="collapse" data-target=".MLA_TAXONOMY_SUPPORT .collapse">
1272
- <h2>Provides a unique name for the taxonomy support option</h2>
1273
- <pre>MLA_TAXONOMY_SUPPORT </pre>
1274
- <div class="labels"></div>
1275
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1276
- </div>
1277
- <a name="MLA_UPLOAD_MIMES" id="MLA_UPLOAD_MIMES"> </a><div class="element clickable constant MLA_UPLOAD_MIMES" data-toggle="collapse" data-target=".MLA_UPLOAD_MIMES .collapse">
1278
- <h2>Provides a unique name for the Upload MIME Types option</h2>
1279
- <pre>MLA_UPLOAD_MIMES </pre>
1280
- <div class="labels"></div>
1281
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1282
- </div>
1283
- <a name="MLA_VERSION_OPTION" id="MLA_VERSION_OPTION"> </a><div class="element clickable constant MLA_VERSION_OPTION" data-toggle="collapse" data-target=".MLA_VERSION_OPTION .collapse">
1284
- <h2>Provides a unique name for the current version option</h2>
1285
- <pre>MLA_VERSION_OPTION </pre>
1286
- <div class="labels"></div>
1287
- <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
1288
- </div>
1289
  </div>
1290
  </div>
1291
  </div>
@@ -1293,7 +885,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
1293
  <div class="row"><footer class="span12">
1294
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1295
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1296
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
1297
  </div>
1298
  </body>
1299
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
70
  <li class="method public "><a href="#mla_get_option" title="mla_get_option :: Return the stored value or default value of a defined MLA option"><span class="description">Return the stored value or default value of a defined MLA option</span><pre>mla_get_option()</pre></a></li>
71
  <li class="method public "><a href="#mla_initialize_tax_checked_on_top" title='mla_initialize_tax_checked_on_top :: Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies'><span class="description">Initialize "tax_checked_on_top" =&gt; "checked" default for all supported taxonomies</span><pre>mla_initialize_tax_checked_on_top()</pre></a></li>
72
  <li class="method public "><a href="#mla_load_template" title="mla_load_template :: Load an HTML template from a file"><span class="description">Load an HTML template from a file</span><pre>mla_load_template()</pre></a></li>
 
73
  <li class="method public "><a href="#mla_parse_view_specification" title="mla_parse_view_specification :: Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains"><span class="description">Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains</span><pre>mla_parse_view_specification()</pre></a></li>
74
  <li class="method public "><a href="#mla_plugins_loaded_action" title="mla_plugins_loaded_action :: Load a plugin text domain and alternate debug file"><span class="description">Load a plugin text domain and alternate debug file</span><pre>mla_plugins_loaded_action()</pre></a></li>
75
  <li class="method public "><a href="#mla_prepare_view_query" title="mla_prepare_view_query :: Convert a Library View/Post MIME Type specification to WP_Query parameters"><span class="description">Convert a Library View/Post MIME Type specification to WP_Query parameters</span><pre>mla_prepare_view_query()</pre></a></li>
78
  settings are being updated or reset."><span class="description">Determine MLA support for a taxonomy, handling the special case where the
79
  settings are being updated or reset.</span><pre>mla_taxonomy_support()</pre></a></li>
80
  <li class="method public "><a href="#mla_update_option" title="mla_update_option :: Add or update the stored value of a defined MLA option"><span class="description">Add or update the stored value of a defined MLA option</span><pre>mla_update_option()</pre></a></li>
81
+ <li class="method public "><a href="#mla_wp_redirect_filter" title="mla_wp_redirect_filter :: Filter the redirect location."><span class="description">Filter the redirect location.</span><pre>mla_wp_redirect_filter()</pre></a></li>
82
  <li class="nav-header private">» Private</li>
83
  <li class="method private "><a href="#_debug_log" title="_debug_log :: Write a debug message to the appropriate log file"><span class="description">Write a debug message to the appropriate log file</span><pre>_debug_log()</pre></a></li>
84
  <li class="nav-header">
85
  <i class="icon-custom icon-property"></i> Properties</li>
86
  <li class="property public "><a href="#%24admin_columns_storage_model" title="$admin_columns_storage_model :: Admin Columns support storage model object for the Media/Assistant submenu"><span class="description">Admin Columns support storage model object for the Media/Assistant submenu</span><pre>$admin_columns_storage_model</pre></a></li>
87
  <li class="property public "><a href="#%24mla_debug_level" title="$mla_debug_level :: Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option"><span class="description">Effective MLA Debug Level, from MLA_DEBUG_LEVEL or override option</span><pre>$mla_debug_level</pre></a></li>
 
88
  <li class="property public "><a href="#%24original_php_log" title="$original_php_log :: Original PHP error_log path and file"><span class="description">Original PHP error_log path and file</span><pre>$original_php_log</pre></a></li>
89
  <li class="property public "><a href="#%24original_php_reporting" title="$original_php_reporting :: Original PHP error_reporting value"><span class="description">Original PHP error_reporting value</span><pre>$original_php_reporting</pre></a></li>
90
  <li class="property public "><a href="#%24process_featured_in" title='$process_featured_in :: Option setting for "Featured in" reporting'><span class="description">Option setting for "Featured in" reporting</span><pre>$process_featured_in</pre></a></li>
102
  <li class="constant "><a href="#JAVASCRIPT_INLINE_EDIT_SLUG" title="JAVASCRIPT_INLINE_EDIT_SLUG :: Slug for localizing and enqueueing JavaScript - MLA List Table"><span class="description">Slug for localizing and enqueueing JavaScript - MLA List Table</span><pre>JAVASCRIPT_INLINE_EDIT_SLUG</pre></a></li>
103
  <li class="constant "><a href="#JAVASCRIPT_QUERY_ATTACHMENTS_ACTION" title='JAVASCRIPT_QUERY_ATTACHMENTS_ACTION :: Slug for the "query attachments" action - Add Media and related dialogs'><span class="description">Slug for the "query attachments" action - Add Media and related dialogs</span><pre>JAVASCRIPT_QUERY_ATTACHMENTS_ACTION</pre></a></li>
104
  <li class="constant "><a href="#JAVASCRIPT_UPDATE_COMPAT_ACTION" title='JAVASCRIPT_UPDATE_COMPAT_ACTION :: Slug for the "update compat-attachment-fields" action - Add Media and related dialogs'><span class="description">Slug for the "update compat-attachment-fields" action - Add Media and related dialogs</span><pre>JAVASCRIPT_UPDATE_COMPAT_ACTION</pre></a></li>
 
 
 
105
  <li class="constant "><a href="#MLA_ADMIN_NONCE_ACTION" title="MLA_ADMIN_NONCE_ACTION :: Action name; gives a context for the nonce"><span class="description">Action name; gives a context for the nonce</span><pre>MLA_ADMIN_NONCE_ACTION</pre></a></li>
106
  <li class="constant "><a href="#MLA_ADMIN_NONCE_NAME" title="MLA_ADMIN_NONCE_NAME :: Nonce name; uniquely identifies the nonce"><span class="description">Nonce name; uniquely identifies the nonce</span><pre>MLA_ADMIN_NONCE_NAME</pre></a></li>
107
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_DELETE" title="MLA_ADMIN_SINGLE_DELETE :: mla_admin_action value for permanently deleting a single item"><span class="description">mla_admin_action value for permanently deleting a single item</span><pre>MLA_ADMIN_SINGLE_DELETE</pre></a></li>
108
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_RESTORE" title="MLA_ADMIN_SINGLE_RESTORE :: mla_admin_action value for restoring a single item from the trash"><span class="description">mla_admin_action value for restoring a single item from the trash</span><pre>MLA_ADMIN_SINGLE_RESTORE</pre></a></li>
109
  <li class="constant "><a href="#MLA_ADMIN_SINGLE_TRASH" title="MLA_ADMIN_SINGLE_TRASH :: mla_admin_action value for moving a single item to the trash"><span class="description">mla_admin_action value for moving a single item to the trash</span><pre>MLA_ADMIN_SINGLE_TRASH</pre></a></li>
 
 
110
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_AJAX" title="MLA_DEBUG_CATEGORY_AJAX :: Constant to log Ajax debug activity"><span class="description">Constant to log Ajax debug activity</span><pre>MLA_DEBUG_CATEGORY_AJAX</pre></a></li>
111
+ <li class="constant "><a href="#MLA_DEBUG_CATEGORY_ANY" title='MLA_DEBUG_CATEGORY_ANY :: Constant to log "any" debug activity'><span class="description">Constant to log "any" debug activity</span><pre>MLA_DEBUG_CATEGORY_ANY</pre></a></li>
112
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_LANGUAGE" title="MLA_DEBUG_CATEGORY_LANGUAGE :: Constant to log WPML/Polylang action/filter activity"><span class="description">Constant to log WPML/Polylang action/filter activity</span><pre>MLA_DEBUG_CATEGORY_LANGUAGE</pre></a></li>
113
  <li class="constant "><a href="#MLA_DEBUG_CATEGORY_THUMBNAIL" title="MLA_DEBUG_CATEGORY_THUMBNAIL :: Constant to log Ghostscript/Imagick activity"><span class="description">Constant to log Ghostscript/Imagick activity</span><pre>MLA_DEBUG_CATEGORY_THUMBNAIL</pre></a></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  </ul>
115
  </div>
116
  <div class="span8">
382
  <div class="row collapse"><div class="detail-description">
383
  <p class="long_description"><p>Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.</p></p>
384
  <table class="table table-bordered"><tr>
385
+ <th>since</th>
386
  <td>2.02</td>
387
  </tr></table>
388
  </div></div>
413
  <code>string</code><code>array</code><code>false</code><code>NULL</code>string for files that do not contain template divider comments, array for files containing template divider comments, false if file or option does not exist, NULL if file could not be loaded.</div>
414
  </div></div>
415
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
416
  <a name="mla_parse_view_specification" id="mla_parse_view_specification"></a><div class="element clickable method public mla_parse_view_specification" data-toggle="collapse" data-target=".mla_parse_view_specification .collapse">
417
  <h2>Analyze a Library View/Post MIME Type specification, returning an array of the placeholders it contains</h2>
418
  <pre>mla_parse_view_specification(string | array $specification) : array</pre>
539
  <code>boolean</code>True if the value was changed or false if the update failed</div>
540
  </div></div>
541
  </div>
542
+ <a name="mla_wp_redirect_filter" id="mla_wp_redirect_filter"></a><div class="element clickable method public mla_wp_redirect_filter" data-toggle="collapse" data-target=".mla_wp_redirect_filter .collapse">
543
+ <h2>Filter the redirect location.</h2>
544
+ <pre>mla_wp_redirect_filter(string $location, int $status) </pre>
545
+ <div class="labels"></div>
546
+ <div class="row collapse"><div class="detail-description">
547
+ <p class="long_description"></p>
548
+ <table class="table table-bordered"><tr>
549
+ <th>since</th>
550
+ <td>2.25</td>
551
+ </tr></table>
552
+ <h3>Parameters</h3>
553
+ <div class="subelement argument">
554
+ <h4>$location</h4>
555
+ <code>string</code><p>The path to redirect to.</p></div>
556
+ <div class="subelement argument">
557
+ <h4>$status</h4>
558
+ <code>int</code><p>Status code to use.</p></div>
559
+ </div></div>
560
+ </div>
561
  <a name="_debug_log" id="_debug_log"></a><div class="element clickable method private _debug_log" data-toggle="collapse" data-target="._debug_log .collapse">
562
  <h2>Write a debug message to the appropriate log file</h2>
563
  <pre>_debug_log(string $message) </pre>
600
  </tr></table>
601
  </div></div>
602
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
603
  <a name="%24original_php_log" id="$original_php_log"> </a><div class="element clickable property public $original_php_log" data-toggle="collapse" data-target=".$original_php_log .collapse">
604
  <h2>Original PHP error_log path and file</h2>
605
  <pre>$original_php_log : string</pre>
770
  </tr></table>
771
  </div></div>
772
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
773
  <a name="MLA_ADMIN_NONCE_ACTION" id="MLA_ADMIN_NONCE_ACTION"> </a><div class="element clickable constant MLA_ADMIN_NONCE_ACTION" data-toggle="collapse" data-target=".MLA_ADMIN_NONCE_ACTION .collapse">
774
  <h2>Action name; gives a context for the nonce</h2>
775
  <pre>MLA_ADMIN_NONCE_ACTION : string</pre>
830
  </tr></table>
831
  </div></div>
832
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
833
  <a name="MLA_DEBUG_CATEGORY_AJAX" id="MLA_DEBUG_CATEGORY_AJAX"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_AJAX" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_AJAX .collapse">
834
  <h2>Constant to log Ajax debug activity</h2>
835
  <pre>MLA_DEBUG_CATEGORY_AJAX : integer</pre>
842
  </tr></table>
843
  </div></div>
844
  </div>
845
+ <a name="MLA_DEBUG_CATEGORY_ANY" id="MLA_DEBUG_CATEGORY_ANY"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_ANY" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_ANY .collapse">
846
+ <h2>Constant to log "any" debug activity</h2>
847
+ <pre>MLA_DEBUG_CATEGORY_ANY : integer</pre>
848
  <div class="labels"></div>
849
  <div class="row collapse"><div class="detail-description">
850
  <p class="long_description"></p>
851
  <table class="table table-bordered"><tr>
852
  <th>since</th>
853
+ <td>2.25</td>
854
  </tr></table>
855
  </div></div>
856
  </div>
857
+ <a name="MLA_DEBUG_CATEGORY_LANGUAGE" id="MLA_DEBUG_CATEGORY_LANGUAGE"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_LANGUAGE" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_LANGUAGE .collapse">
858
+ <h2>Constant to log WPML/Polylang action/filter activity</h2>
859
+ <pre>MLA_DEBUG_CATEGORY_LANGUAGE : integer</pre>
860
  <div class="labels"></div>
861
  <div class="row collapse"><div class="detail-description">
862
  <p class="long_description"></p>
863
  <table class="table table-bordered"><tr>
864
  <th>since</th>
865
+ <td>2.15</td>
866
  </tr></table>
867
  </div></div>
868
  </div>
869
+ <a name="MLA_DEBUG_CATEGORY_THUMBNAIL" id="MLA_DEBUG_CATEGORY_THUMBNAIL"> </a><div class="element clickable constant MLA_DEBUG_CATEGORY_THUMBNAIL" data-toggle="collapse" data-target=".MLA_DEBUG_CATEGORY_THUMBNAIL .collapse">
870
+ <h2>Constant to log Ghostscript/Imagick activity</h2>
871
+ <pre>MLA_DEBUG_CATEGORY_THUMBNAIL : integer</pre>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
872
  <div class="labels"></div>
873
  <div class="row collapse"><div class="detail-description">
874
  <p class="long_description"></p>
875
  <table class="table table-bordered"><tr>
876
  <th>since</th>
877
+ <td>2.23</td>
878
  </tr></table>
879
  </div></div>
880
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
881
  </div>
882
  </div>
883
  </div>
885
  <div class="row"><footer class="span12">
886
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
887
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
888
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
889
  </div>
890
  </body>
891
  </html>
phpDocs/classes/MLAData.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -1320,7 +1320,7 @@ the "IPTC-NAA Information Interchange Model Version No. 4.1".</p></p>
1320
  <div class="row"><footer class="span12">
1321
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1322
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1323
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1324
  </div>
1325
  </body>
1326
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
1320
  <div class="row"><footer class="span12">
1321
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1322
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1323
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
1324
  </div>
1325
  </body>
1326
  </html>
phpDocs/classes/MLAData_source.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -286,7 +286,7 @@ excludes "template:" and "meta:" values.</p></p>
286
  <div class="row"><footer class="span12">
287
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
288
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
289
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
290
  </div>
291
  </body>
292
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
286
  <div class="row"><footer class="span12">
287
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
288
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
289
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
290
  </div>
291
  </body>
292
  </html>
phpDocs/classes/MLAEdit.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -57,6 +57,7 @@
57
  <ul class="side-nav nav nav-list">
58
  <li class="nav-header">
59
  <i class="icon-custom icon-method"></i> Methods</li>
 
60
  <li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
61
  <li class="method public "><a href="#mla_add_meta_boxes_action" title="mla_add_meta_boxes_action :: Registers meta boxes for the Edit Media screen."><span class="description">Registers meta boxes for the Edit Media screen.</span><pre>mla_add_meta_boxes_action()</pre></a></li>
62
  <li class="method public "><a href="#mla_admin_enqueue_scripts_action" title="mla_admin_enqueue_scripts_action :: Load the plugin's Style Sheet and Javascript files"><span class="description">Load the plugin's Style Sheet and Javascript files</span><pre>mla_admin_enqueue_scripts_action()</pre></a></li>
@@ -112,6 +113,28 @@
112
  </table>
113
  <h3>
114
  <i class="icon-custom icon-method"></i> Methods</h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  <a name="initialize" id="initialize"></a><div class="element clickable method public initialize" data-toggle="collapse" data-target=".initialize .collapse">
116
  <h2>Initialization function, similar to __construct()</h2>
117
  <pre>initialize() : void</pre>
@@ -471,7 +494,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
471
  <div class="row"><footer class="span12">
472
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
473
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
474
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
475
  </div>
476
  </body>
477
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
57
  <ul class="side-nav nav nav-list">
58
  <li class="nav-header">
59
  <i class="icon-custom icon-method"></i> Methods</li>
60
+ <li class="method public "><a href="#get_delete_post_link_filter" title="get_delete_post_link_filter :: Adds mla_source argument to Trash/Delete link."><span class="description">Adds mla_source argument to Trash/Delete link.</span><pre>get_delete_post_link_filter()</pre></a></li>
61
  <li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
62
  <li class="method public "><a href="#mla_add_meta_boxes_action" title="mla_add_meta_boxes_action :: Registers meta boxes for the Edit Media screen."><span class="description">Registers meta boxes for the Edit Media screen.</span><pre>mla_add_meta_boxes_action()</pre></a></li>
63
  <li class="method public "><a href="#mla_admin_enqueue_scripts_action" title="mla_admin_enqueue_scripts_action :: Load the plugin's Style Sheet and Javascript files"><span class="description">Load the plugin's Style Sheet and Javascript files</span><pre>mla_admin_enqueue_scripts_action()</pre></a></li>
113
  </table>
114
  <h3>
115
  <i class="icon-custom icon-method"></i> Methods</h3>
116
+ <a name="get_delete_post_link_filter" id="get_delete_post_link_filter"></a><div class="element clickable method public get_delete_post_link_filter" data-toggle="collapse" data-target=".get_delete_post_link_filter .collapse">
117
+ <h2>Adds mla_source argument to Trash/Delete link.</h2>
118
+ <pre>get_delete_post_link_filter(string $link, int $post_id, bool $force_delete) </pre>
119
+ <div class="labels"></div>
120
+ <div class="row collapse"><div class="detail-description">
121
+ <p class="long_description"><p>Declared public because it is a filter.</p></p>
122
+ <table class="table table-bordered"><tr>
123
+ <th>since</th>
124
+ <td>2.25</td>
125
+ </tr></table>
126
+ <h3>Parameters</h3>
127
+ <div class="subelement argument">
128
+ <h4>$link</h4>
129
+ <code>string</code><p>The delete link.</p></div>
130
+ <div class="subelement argument">
131
+ <h4>$post_id</h4>
132
+ <code>int</code><p>Post ID.</p></div>
133
+ <div class="subelement argument">
134
+ <h4>$force_delete</h4>
135
+ <code>bool</code><p>Whether to bypass the trash and force deletion. Default false.</p></div>
136
+ </div></div>
137
+ </div>
138
  <a name="initialize" id="initialize"></a><div class="element clickable method public initialize" data-toggle="collapse" data-target=".initialize .collapse">
139
  <h2>Initialization function, similar to __construct()</h2>
140
  <pre>initialize() : void</pre>
494
  <div class="row"><footer class="span12">
495
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
496
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
497
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
498
  </div>
499
  </body>
500
  </html>
phpDocs/classes/MLAImageProcessor.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -326,7 +326,7 @@ optional $_REQUEST parameters are:
326
  <div class="row"><footer class="span12">
327
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
328
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
329
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
330
  </div>
331
  </body>
332
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
326
  <div class="row"><footer class="span12">
327
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
328
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
329
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
330
  </div>
331
  </body>
332
  </html>
phpDocs/classes/MLAMime.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -1308,7 +1308,7 @@ Defined as public because it's a filter.</p></p>
1308
  <div class="row"><footer class="span12">
1309
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1310
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1311
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1312
  </div>
1313
  </body>
1314
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
1308
  <div class="row"><footer class="span12">
1309
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1310
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1311
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
1312
  </div>
1313
  </body>
1314
  </html>
phpDocs/classes/MLAModal.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -373,7 +373,7 @@ and mla_print_media_templates_action</h2>
373
  <div class="row"><footer class="span12">
374
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
375
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
376
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
377
  </div>
378
  </body>
379
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
373
  <div class="row"><footer class="span12">
374
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
375
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
376
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
377
  </div>
378
  </body>
379
  </html>
phpDocs/classes/MLAModal_Ajax.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -226,7 +226,7 @@ Declared public because it is a filter.</p></p>
226
  <div class="row"><footer class="span12">
227
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
228
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
229
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
230
  </div>
231
  </body>
232
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
226
  <div class="row"><footer class="span12">
227
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
228
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
229
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
230
  </div>
231
  </body>
232
  </html>
phpDocs/classes/MLAMutex.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -251,7 +251,7 @@ for the [mla_gallery] mla_viewer=single option</p>
251
  <div class="row"><footer class="span12">
252
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
253
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
254
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
255
  </div>
256
  </body>
257
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
251
  <div class="row"><footer class="span12">
252
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
253
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
254
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
255
  </div>
256
  </body>
257
  </html>
phpDocs/classes/MLAObjects.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -171,7 +171,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
171
  <div class="row"><footer class="span12">
172
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
173
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
174
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
175
  </div>
176
  </body>
177
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
171
  <div class="row"><footer class="span12">
172
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
173
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
174
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
175
  </div>
176
  </body>
177
  </html>
phpDocs/classes/MLAOptions.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -70,7 +70,6 @@
70
  <li class="method public "><a href="#mla_get_style_templates" title="mla_get_style_templates :: Get ALL style templates from $mla_templates, including 'default'"><span class="description">Get ALL style templates from $mla_templates, including 'default'</span><pre>mla_get_style_templates()</pre></a></li>
71
  <li class="method public "><a href="#mla_iptc_exif_option_handler" title="mla_iptc_exif_option_handler :: Render and manage iptc/exif support options"><span class="description">Render and manage iptc/exif support options</span><pre>mla_iptc_exif_option_handler()</pre></a></li>
72
  <li class="method public "><a href="#mla_is_data_source" title="mla_is_data_source :: Identify custom field mapping data source; WP_ADMIN mode"><span class="description">Identify custom field mapping data source; WP_ADMIN mode</span><pre>mla_is_data_source()</pre></a></li>
73
- <li class="method public "><a href="#mla_localize_option_definitions_array" title="mla_localize_option_definitions_array :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_localize_option_definitions_array()</pre></a></li>
74
  <li class="method public "><a href="#mla_put_markup_templates" title="mla_put_markup_templates :: Put user-defined markup templates to $mla_templates and database"><span class="description">Put user-defined markup templates to $mla_templates and database</span><pre>mla_put_markup_templates()</pre></a></li>
75
  <li class="method public "><a href="#mla_put_style_templates" title="mla_put_style_templates :: Put user-defined style templates to $mla_templates and database"><span class="description">Put user-defined style templates to $mla_templates and database</span><pre>mla_put_style_templates()</pre></a></li>
76
  <li class="method public "><a href="#mla_search_option_handler" title="mla_search_option_handler :: Render and manage Search box options, e.g., connector and search fields"><span class="description">Render and manage Search box options, e.g., connector and search fields</span><pre>mla_search_option_handler()</pre></a></li>
@@ -527,19 +526,6 @@ and provides functions to get and put them from/to WordPress option variables</p
527
  <code>boolean</code>true if candidate name matches a data source</div>
528
  </div></div>
529
  </div>
530
- <a name="mla_localize_option_definitions_array" id="mla_localize_option_definitions_array"></a><div class="element clickable method public mla_localize_option_definitions_array" data-toggle="collapse" data-target=".mla_localize_option_definitions_array .collapse">
531
- <h2>Localize $mla_option_definitions array</h2>
532
- <pre>mla_localize_option_definitions_array() : void</pre>
533
- <div class="labels"></div>
534
- <div class="row collapse"><div class="detail-description">
535
- <p class="long_description"><p>Localization must be done at runtime; these calls cannot be placed in the
536
- "public static" array definition itself. Called from MLATest::initialize.</p></p>
537
- <table class="table table-bordered"><tr>
538
- <th>since</th>
539
- <td>1.70</td>
540
- </tr></table>
541
- </div></div>
542
- </div>
543
  <a name="mla_put_markup_templates" id="mla_put_markup_templates"></a><div class="element clickable method public mla_put_markup_templates" data-toggle="collapse" data-target=".mla_put_markup_templates .collapse">
544
  <h2>Put user-defined markup templates to $mla_templates and database</h2>
545
  <pre>mla_put_markup_templates(array $templates) : boolean</pre>
@@ -1412,7 +1398,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
1412
  <div class="row"><footer class="span12">
1413
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1414
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1415
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1416
  </div>
1417
  </body>
1418
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
70
  <li class="method public "><a href="#mla_get_style_templates" title="mla_get_style_templates :: Get ALL style templates from $mla_templates, including 'default'"><span class="description">Get ALL style templates from $mla_templates, including 'default'</span><pre>mla_get_style_templates()</pre></a></li>
71
  <li class="method public "><a href="#mla_iptc_exif_option_handler" title="mla_iptc_exif_option_handler :: Render and manage iptc/exif support options"><span class="description">Render and manage iptc/exif support options</span><pre>mla_iptc_exif_option_handler()</pre></a></li>
72
  <li class="method public "><a href="#mla_is_data_source" title="mla_is_data_source :: Identify custom field mapping data source; WP_ADMIN mode"><span class="description">Identify custom field mapping data source; WP_ADMIN mode</span><pre>mla_is_data_source()</pre></a></li>
 
73
  <li class="method public "><a href="#mla_put_markup_templates" title="mla_put_markup_templates :: Put user-defined markup templates to $mla_templates and database"><span class="description">Put user-defined markup templates to $mla_templates and database</span><pre>mla_put_markup_templates()</pre></a></li>
74
  <li class="method public "><a href="#mla_put_style_templates" title="mla_put_style_templates :: Put user-defined style templates to $mla_templates and database"><span class="description">Put user-defined style templates to $mla_templates and database</span><pre>mla_put_style_templates()</pre></a></li>
75
  <li class="method public "><a href="#mla_search_option_handler" title="mla_search_option_handler :: Render and manage Search box options, e.g., connector and search fields"><span class="description">Render and manage Search box options, e.g., connector and search fields</span><pre>mla_search_option_handler()</pre></a></li>
526
  <code>boolean</code>true if candidate name matches a data source</div>
527
  </div></div>
528
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
529
  <a name="mla_put_markup_templates" id="mla_put_markup_templates"></a><div class="element clickable method public mla_put_markup_templates" data-toggle="collapse" data-target=".mla_put_markup_templates .collapse">
530
  <h2>Put user-defined markup templates to $mla_templates and database</h2>
531
  <pre>mla_put_markup_templates(array $templates) : boolean</pre>
1398
  <div class="row"><footer class="span12">
1399
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1400
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1401
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
1402
  </div>
1403
  </body>
1404
  </html>
phpDocs/classes/MLAPDF.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -382,7 +382,7 @@ The array value is array( number, generation, start, optional /length )</p></p>
382
  <div class="row"><footer class="span12">
383
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
384
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
385
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
386
  </div>
387
  </body>
388
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
382
  <div class="row"><footer class="span12">
383
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
384
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
385
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
386
  </div>
387
  </body>
388
  </html>
phpDocs/classes/MLAQuery.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -79,6 +79,9 @@
79
  <li class="method public "><a href="#mla_query_relevanssi_admin_search_ok_filter" title="mla_query_relevanssi_admin_search_ok_filter :: Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
80
  Defined as public because it's a filter."><span class="description">Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
81
  Defined as public because it's a filter.</span><pre>mla_query_relevanssi_admin_search_ok_filter()</pre></a></li>
 
 
 
82
  <li class="method public "><a href="#mla_query_terms_clauses_filter" title="mla_query_terms_clauses_filter :: Filters all clauses for get_terms queries"><span class="description">Filters all clauses for get_terms queries</span><pre>mla_query_terms_clauses_filter()</pre></a></li>
83
  <li class="method public "><a href="#mla_search_terms_tidy" title="mla_search_terms_tidy :: Replaces a WordPress function deprecated in v3.7"><span class="description">Replaces a WordPress function deprecated in v3.7</span><pre>mla_search_terms_tidy()</pre></a></li>
84
  <li class="nav-header private">» Private</li>
@@ -532,6 +535,26 @@ Defined as public because it's a filter.</h2>
532
  <code>boolean</code>Updated setting</div>
533
  </div></div>
534
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
535
  <a name="mla_query_terms_clauses_filter" id="mla_query_terms_clauses_filter"></a><div class="element clickable method public mla_query_terms_clauses_filter" data-toggle="collapse" data-target=".mla_query_terms_clauses_filter .collapse">
536
  <h2>Filters all clauses for get_terms queries</h2>
537
  <pre>mla_query_terms_clauses_filter(array $pieces, array $taxonomies, array $args) </pre>
@@ -845,7 +868,7 @@ custom field Table Views.</p></p>
845
  <div class="row"><footer class="span12">
846
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
847
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
848
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
849
  </div>
850
  </body>
851
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
79
  <li class="method public "><a href="#mla_query_relevanssi_admin_search_ok_filter" title="mla_query_relevanssi_admin_search_ok_filter :: Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
80
  Defined as public because it's a filter."><span class="description">Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
81
  Defined as public because it's a filter.</span><pre>mla_query_relevanssi_admin_search_ok_filter()</pre></a></li>
82
+ <li class="method public "><a href="#mla_query_relevanssi_prevent_default_request_filter" title="mla_query_relevanssi_prevent_default_request_filter :: Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
83
+ Defined as public because it's a filter."><span class="description">Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
84
+ Defined as public because it's a filter.</span><pre>mla_query_relevanssi_prevent_default_request_filter()</pre></a></li>
85
  <li class="method public "><a href="#mla_query_terms_clauses_filter" title="mla_query_terms_clauses_filter :: Filters all clauses for get_terms queries"><span class="description">Filters all clauses for get_terms queries</span><pre>mla_query_terms_clauses_filter()</pre></a></li>
86
  <li class="method public "><a href="#mla_search_terms_tidy" title="mla_search_terms_tidy :: Replaces a WordPress function deprecated in v3.7"><span class="description">Replaces a WordPress function deprecated in v3.7</span><pre>mla_search_terms_tidy()</pre></a></li>
87
  <li class="nav-header private">» Private</li>
535
  <code>boolean</code>Updated setting</div>
536
  </div></div>
537
  </div>
538
+ <a name="mla_query_relevanssi_prevent_default_request_filter" id="mla_query_relevanssi_prevent_default_request_filter"></a><div class="element clickable method public mla_query_relevanssi_prevent_default_request_filter" data-toggle="collapse" data-target=".mla_query_relevanssi_prevent_default_request_filter .collapse">
539
+ <h2>Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
540
+ Defined as public because it's a filter.</h2>
541
+ <pre>mla_query_relevanssi_prevent_default_request_filter(boolean $prevent) : boolean</pre>
542
+ <div class="labels"></div>
543
+ <div class="row collapse"><div class="detail-description">
544
+ <p class="long_description"></p>
545
+ <table class="table table-bordered"><tr>
546
+ <th>since</th>
547
+ <td>2.25</td>
548
+ </tr></table>
549
+ <h3>Parameters</h3>
550
+ <div class="subelement argument">
551
+ <h4>$prevent</h4>
552
+ <code>boolean</code><p>Default setting</p></div>
553
+ <h3>Returns</h3>
554
+ <div class="subelement response">
555
+ <code>boolean</code>Updated setting</div>
556
+ </div></div>
557
+ </div>
558
  <a name="mla_query_terms_clauses_filter" id="mla_query_terms_clauses_filter"></a><div class="element clickable method public mla_query_terms_clauses_filter" data-toggle="collapse" data-target=".mla_query_terms_clauses_filter .collapse">
559
  <h2>Filters all clauses for get_terms queries</h2>
560
  <pre>mla_query_terms_clauses_filter(array $pieces, array $taxonomies, array $args) </pre>
868
  <div class="row"><footer class="span12">
869
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
870
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
871
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
872
  </div>
873
  </body>
874
  </html>
phpDocs/classes/MLAReferences.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -256,7 +256,7 @@ each page load and cached for subsequent calls.</p></p>
256
  <div class="row"><footer class="span12">
257
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
258
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
259
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
260
  </div>
261
  </body>
262
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
256
  <div class="row"><footer class="span12">
257
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
258
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
259
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
260
  </div>
261
  </body>
262
  </html>
phpDocs/classes/MLASettings.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -1349,7 +1349,7 @@ localization calls cannot be placed in the "public static" array definition itse
1349
  <div class="row"><footer class="span12">
1350
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1351
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1352
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1353
  </div>
1354
  </body>
1355
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
1349
  <div class="row"><footer class="span12">
1350
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1351
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1352
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
1353
  </div>
1354
  </body>
1355
  </html>
phpDocs/classes/MLAShortcode_Support.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -57,6 +57,7 @@
57
  <ul class="side-nav nav nav-list">
58
  <li class="nav-header">
59
  <i class="icon-custom icon-method"></i> Methods</li>
 
60
  <li class="method public "><a href="#mla_fetch_gallery_template" title="mla_fetch_gallery_template :: Fetch style or markup template from $mla_templates"><span class="description">Fetch style or markup template from $mla_templates</span><pre>mla_fetch_gallery_template()</pre></a></li>
61
  <li class="method public "><a href="#mla_gallery_shortcode" title="mla_gallery_shortcode :: The MLA Gallery shortcode."><span class="description">The MLA Gallery shortcode.</span><pre>mla_gallery_shortcode()</pre></a></li>
62
  <li class="method public "><a href="#mla_get_shortcode_attachments" title="mla_get_shortcode_attachments :: Parses shortcode parameters and returns the gallery objects"><span class="description">Parses shortcode parameters and returns the gallery objects</span><pre>mla_get_shortcode_attachments()</pre></a></li>
@@ -70,12 +71,19 @@
70
  <li class="method public "><a href="#mla_shortcode_query_posts_where_filter" title="mla_shortcode_query_posts_where_filter :: Filters the WHERE clause for shortcode queries"><span class="description">Filters the WHERE clause for shortcode queries</span><pre>mla_shortcode_query_posts_where_filter()</pre></a></li>
71
  <li class="method public "><a href="#mla_tag_cloud" title="mla_tag_cloud :: The MLA Tag Cloud support function."><span class="description">The MLA Tag Cloud support function.</span><pre>mla_tag_cloud()</pre></a></li>
72
  <li class="method public "><a href="#mla_tag_cloud_shortcode" title="mla_tag_cloud_shortcode :: The MLA Tag Cloud shortcode."><span class="description">The MLA Tag Cloud shortcode.</span><pre>mla_tag_cloud_shortcode()</pre></a></li>
 
 
73
  <li class="nav-header private">» Private</li>
 
 
 
 
74
  <li class="method private "><a href="#_pad_term_counts" title="_pad_term_counts :: Add count of children to parent count."><span class="description">Add count of children to parent count.</span><pre>_pad_term_counts()</pre></a></li>
75
  <li class="method private "><a href="#_paginate_links" title="_paginate_links :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_paginate_links()</pre></a></li>
76
  <li class="method private "><a href="#_process_pagination_output_types" title="_process_pagination_output_types :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_process_pagination_output_types()</pre></a></li>
77
  <li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
78
  <li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
 
79
  <li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
80
  <li class="method private "><a href="#_validate_attributes" title="_validate_attributes :: Make sure $attr is an array, repair line-break damage, merge with $content"><span class="description">Make sure $attr is an array, repair line-break damage, merge with $content</span><pre>_validate_attributes()</pre></a></li>
81
  <li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
@@ -85,7 +93,7 @@
85
  <li class="nav-header private">» Private</li>
86
  <li class="property private "><a href="#%24mla_debug" title="$mla_debug :: Turn debug collection and display on or off"><span class="description">Turn debug collection and display on or off</span><pre>$mla_debug</pre></a></li>
87
  <li class="property private "><a href="#%24mla_get_shortcode_attachments_parameters" title="$mla_get_shortcode_attachments_parameters :: Data selection parameters for the WP_Query in [mla_gallery]"><span class="description">Data selection parameters for the WP_Query in [mla_gallery]</span><pre>$mla_get_shortcode_attachments_parameters</pre></a></li>
88
- <li class="property private "><a href="#%24mla_get_terms_parameters" title="$mla_get_terms_parameters :: Data selection parameters for [mla_tag_cloud]"><span class="description">Data selection parameters for [mla_tag_cloud]</span><pre>$mla_get_terms_parameters</pre></a></li>
89
  <li class="property private "><a href="#%24query_parameters" title='$query_parameters :: WP_Query filter "parameters"'><span class="description">WP_Query filter "parameters"</span><pre>$query_parameters</pre></a></li>
90
  </ul>
91
  </div>
@@ -117,6 +125,39 @@ mla_get_shortcode_attachments() and mla_get_terms() database access functions.</
117
  </table>
118
  <h3>
119
  <i class="icon-custom icon-method"></i> Methods</h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
120
  <a name="mla_fetch_gallery_template" id="mla_fetch_gallery_template"></a><div class="element clickable method public mla_fetch_gallery_template" data-toggle="collapse" data-target=".mla_fetch_gallery_template .collapse">
121
  <h2>Fetch style or markup template from $mla_templates</h2>
122
  <pre>mla_fetch_gallery_template(string $key, string $type) : string | boolean | null</pre>
@@ -238,7 +279,10 @@ descending and then by term_id before this value is applied. Default 0.</p>
238
 
239
  <p>limit - final number of term objects to return, for pagination. Default 0.</p>
240
 
241
- <p>offset - number of term objects to skip, for pagination. Default 0.</p></p>
 
 
 
242
  <table class="table table-bordered"><tr>
243
  <th>since</th>
244
  <td>2.20</td>
@@ -431,6 +475,140 @@ options to customize the hyperlink behind each term.</p></p>
431
  <code>string</code>HTML content to display the tag cloud.</div>
432
  </div></div>
433
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
434
  <a name="_pad_term_counts" id="_pad_term_counts"></a><div class="element clickable method private _pad_term_counts" data-toggle="collapse" data-target="._pad_term_counts .collapse">
435
  <h2>Add count of children to parent count.</h2>
436
  <pre>_pad_term_counts(array $terms, string $taxonomy, array $post_types, array $post_stati) : null</pre>
@@ -569,6 +747,26 @@ relevant children are already in the $terms argument.</p></p>
569
  <div class="subelement response"><code>array</code></div>
570
  </div></div>
571
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572
  <a name="_sanitize_query_specification" id="_sanitize_query_specification"></a><div class="element clickable method private _sanitize_query_specification" data-toggle="collapse" data-target="._sanitize_query_specification .collapse">
573
  <h2>Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</h2>
574
  <pre>_sanitize_query_specification(string $specification) : string</pre>
@@ -682,7 +880,7 @@ Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().
682
  </div></div>
683
  </div>
684
  <a name="%24mla_get_terms_parameters" id="$mla_get_terms_parameters"> </a><div class="element clickable property private $mla_get_terms_parameters" data-toggle="collapse" data-target=".$mla_get_terms_parameters .collapse">
685
- <h2>Data selection parameters for [mla_tag_cloud]</h2>
686
  <pre>$mla_get_terms_parameters : array</pre>
687
  <div class="labels"></div>
688
  <div class="row collapse"><div class="detail-description">
@@ -716,7 +914,7 @@ any further logic required to translate those values is contained in the filter.
716
  <div class="row"><footer class="span12">
717
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
718
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
719
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
720
  </div>
721
  </body>
722
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
57
  <ul class="side-nav nav nav-list">
58
  <li class="nav-header">
59
  <i class="icon-custom icon-method"></i> Methods</li>
60
+ <li class="method public "><a href="#_compose_term_list" title="_compose_term_list :: Compose one level of an mla_term_list"><span class="description">Compose one level of an mla_term_list</span><pre>_compose_term_list()</pre></a></li>
61
  <li class="method public "><a href="#mla_fetch_gallery_template" title="mla_fetch_gallery_template :: Fetch style or markup template from $mla_templates"><span class="description">Fetch style or markup template from $mla_templates</span><pre>mla_fetch_gallery_template()</pre></a></li>
62
  <li class="method public "><a href="#mla_gallery_shortcode" title="mla_gallery_shortcode :: The MLA Gallery shortcode."><span class="description">The MLA Gallery shortcode.</span><pre>mla_gallery_shortcode()</pre></a></li>
63
  <li class="method public "><a href="#mla_get_shortcode_attachments" title="mla_get_shortcode_attachments :: Parses shortcode parameters and returns the gallery objects"><span class="description">Parses shortcode parameters and returns the gallery objects</span><pre>mla_get_shortcode_attachments()</pre></a></li>
71
  <li class="method public "><a href="#mla_shortcode_query_posts_where_filter" title="mla_shortcode_query_posts_where_filter :: Filters the WHERE clause for shortcode queries"><span class="description">Filters the WHERE clause for shortcode queries</span><pre>mla_shortcode_query_posts_where_filter()</pre></a></li>
72
  <li class="method public "><a href="#mla_tag_cloud" title="mla_tag_cloud :: The MLA Tag Cloud support function."><span class="description">The MLA Tag Cloud support function.</span><pre>mla_tag_cloud()</pre></a></li>
73
  <li class="method public "><a href="#mla_tag_cloud_shortcode" title="mla_tag_cloud_shortcode :: The MLA Tag Cloud shortcode."><span class="description">The MLA Tag Cloud shortcode.</span><pre>mla_tag_cloud_shortcode()</pre></a></li>
74
+ <li class="method public "><a href="#mla_term_list" title="mla_term_list :: The MLA Term List support function."><span class="description">The MLA Term List support function.</span><pre>mla_term_list()</pre></a></li>
75
+ <li class="method public "><a href="#mla_term_list_shortcode" title="mla_term_list_shortcode :: The MLA Term List shortcode."><span class="description">The MLA Term List shortcode.</span><pre>mla_term_list_shortcode()</pre></a></li>
76
  <li class="nav-header private">» Private</li>
77
+ <li class="method private "><a href="#_count_term_children" title="_count_term_children :: Add level to term children and count them, all levels."><span class="description">Add level to term children and count them, all levels.</span><pre>_count_term_children()</pre></a></li>
78
+ <li class="method private "><a href="#_find_child_of" title="_find_child_of :: Find a term that matches $child_of"><span class="description">Find a term that matches $child_of</span><pre>_find_child_of()</pre></a></li>
79
+ <li class="method private "><a href="#_find_include_tree" title="_find_include_tree :: Find the term(s) that match $include_tree"><span class="description">Find the term(s) that match $include_tree</span><pre>_find_include_tree()</pre></a></li>
80
+ <li class="method private "><a href="#_get_term_tree" title="_get_term_tree :: Walk a list of terms and find hierarchy, preserving source order."><span class="description">Walk a list of terms and find hierarchy, preserving source order.</span><pre>_get_term_tree()</pre></a></li>
81
  <li class="method private "><a href="#_pad_term_counts" title="_pad_term_counts :: Add count of children to parent count."><span class="description">Add count of children to parent count.</span><pre>_pad_term_counts()</pre></a></li>
82
  <li class="method private "><a href="#_paginate_links" title="_paginate_links :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_paginate_links()</pre></a></li>
83
  <li class="method private "><a href="#_process_pagination_output_types" title="_process_pagination_output_types :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_process_pagination_output_types()</pre></a></li>
84
  <li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
85
  <li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
86
+ <li class="method private "><a href="#_remove_exclude_tree" title="_remove_exclude_tree :: Remove the term(s) that match $exclude_tree"><span class="description">Remove the term(s) that match $exclude_tree</span><pre>_remove_exclude_tree()</pre></a></li>
87
  <li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
88
  <li class="method private "><a href="#_validate_attributes" title="_validate_attributes :: Make sure $attr is an array, repair line-break damage, merge with $content"><span class="description">Make sure $attr is an array, repair line-break damage, merge with $content</span><pre>_validate_attributes()</pre></a></li>
89
  <li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
93
  <li class="nav-header private">» Private</li>
94
  <li class="property private "><a href="#%24mla_debug" title="$mla_debug :: Turn debug collection and display on or off"><span class="description">Turn debug collection and display on or off</span><pre>$mla_debug</pre></a></li>
95
  <li class="property private "><a href="#%24mla_get_shortcode_attachments_parameters" title="$mla_get_shortcode_attachments_parameters :: Data selection parameters for the WP_Query in [mla_gallery]"><span class="description">Data selection parameters for the WP_Query in [mla_gallery]</span><pre>$mla_get_shortcode_attachments_parameters</pre></a></li>
96
+ <li class="property private "><a href="#%24mla_get_terms_parameters" title="$mla_get_terms_parameters :: Data selection parameters for [mla_tag_cloud], [mla_term_list]"><span class="description">Data selection parameters for [mla_tag_cloud], [mla_term_list]</span><pre>$mla_get_terms_parameters</pre></a></li>
97
  <li class="property private "><a href="#%24query_parameters" title='$query_parameters :: WP_Query filter "parameters"'><span class="description">WP_Query filter "parameters"</span><pre>$query_parameters</pre></a></li>
98
  </ul>
99
  </div>
125
  </table>
126
  <h3>
127
  <i class="icon-custom icon-method"></i> Methods</h3>
128
+ <a name="_compose_term_list" id="_compose_term_list"></a><div class="element clickable method public _compose_term_list" data-toggle="collapse" data-target="._compose_term_list .collapse">
129
+ <h2>Compose one level of an mla_term_list</h2>
130
+ <pre>_compose_term_list(string $list, array $links, array $terms, array $markup_values, array $arguments, array $attr) : void</pre>
131
+ <div class="labels"></div>
132
+ <div class="row collapse"><div class="detail-description">
133
+ <p class="long_description"><p>Adds shortcode output text and term-specific links to arrays passed by reference.</p></p>
134
+ <table class="table table-bordered"><tr>
135
+ <th>since</th>
136
+ <td>2.25</td>
137
+ </tr></table>
138
+ <h3>Parameters</h3>
139
+ <div class="subelement argument">
140
+ <h4>$list</h4>
141
+ <code>string</code><p>Shortcode output text, by reference</p></div>
142
+ <div class="subelement argument">
143
+ <h4>$links</h4>
144
+ <code>array</code><p>Term-specific links for flat/array output, by reference</p>
145
+ </div>
146
+ <div class="subelement argument">
147
+ <h4>$terms</h4>
148
+ <code>array</code><p>Term objects, by reference</p></div>
149
+ <div class="subelement argument">
150
+ <h4>$markup_values</h4>
151
+ <code>array</code><p>Style and list-level substitution parameters, by reference</p>
152
+ </div>
153
+ <div class="subelement argument">
154
+ <h4>$arguments</h4>
155
+ <code>array</code><p>Shortcode parameters, including defaults, by reference</p></div>
156
+ <div class="subelement argument">
157
+ <h4>$attr</h4>
158
+ <code>array</code><p>Shortcode parameters, explicit, by reference</p></div>
159
+ </div></div>
160
+ </div>
161
  <a name="mla_fetch_gallery_template" id="mla_fetch_gallery_template"></a><div class="element clickable method public mla_fetch_gallery_template" data-toggle="collapse" data-target=".mla_fetch_gallery_template .collapse">
162
  <h2>Fetch style or markup template from $mla_templates</h2>
163
  <pre>mla_fetch_gallery_template(string $key, string $type) : string | boolean | null</pre>
279
 
280
  <p>limit - final number of term objects to return, for pagination. Default 0.</p>
281
 
282
+ <p>offset - number of term objects to skip, for pagination. Default 0.</p>
283
+
284
+ <p>fields - string with fields for the SQL SELECT clause, e.g.,
285
+ 't.term_id, t.name, t.slug, COUNT(p.ID) AS <code>count</code>'</p></p>
286
  <table class="table table-bordered"><tr>
287
  <th>since</th>
288
  <td>2.20</td>
475
  <code>string</code>HTML content to display the tag cloud.</div>
476
  </div></div>
477
  </div>
478
+ <a name="mla_term_list" id="mla_term_list"></a><div class="element clickable method public mla_term_list" data-toggle="collapse" data-target=".mla_term_list .collapse">
479
+ <h2>The MLA Term List support function.</h2>
480
+ <pre>mla_term_list(array $attr) : string</pre>
481
+ <div class="labels"></div>
482
+ <div class="row collapse"><div class="detail-description">
483
+ <p class="long_description"><p>This is an alternative to the WordPress wp_list_categories, wp_dropdown_categories
484
+ and wp_terms_checklist functions, with additional options to customize the hyperlink
485
+ behind each term.</p></p>
486
+ <table class="table table-bordered"><tr>
487
+ <th>since</th>
488
+ <td>2.25</td>
489
+ </tr></table>
490
+ <h3>Parameters</h3>
491
+ <div class="subelement argument">
492
+ <h4>$attr</h4>
493
+ <code>array</code><p>Attributes of the shortcode.</p></div>
494
+ <h3>Returns</h3>
495
+ <div class="subelement response">
496
+ <code>string</code>HTML content to display the term list, dropdown control or checklist.</div>
497
+ </div></div>
498
+ </div>
499
+ <a name="mla_term_list_shortcode" id="mla_term_list_shortcode"></a><div class="element clickable method public mla_term_list_shortcode" data-toggle="collapse" data-target=".mla_term_list_shortcode .collapse">
500
+ <h2>The MLA Term List shortcode.</h2>
501
+ <pre>mla_term_list_shortcode(array $attr, string $content) : string</pre>
502
+ <div class="labels"></div>
503
+ <div class="row collapse"><div class="detail-description">
504
+ <p class="long_description"><p>This is an interface to the mla_term_list function.</p></p>
505
+ <table class="table table-bordered"><tr>
506
+ <th>since</th>
507
+ <td>2.25</td>
508
+ </tr></table>
509
+ <h3>Parameters</h3>
510
+ <div class="subelement argument">
511
+ <h4>$attr</h4>
512
+ <code>array</code><p>Attributes of the shortcode.</p></div>
513
+ <div class="subelement argument">
514
+ <h4>$content</h4>
515
+ <code>string</code><p>Optional content for enclosing shortcodes</p></div>
516
+ <h3>Returns</h3>
517
+ <div class="subelement response">
518
+ <code>string</code>HTML content to display the term list.</div>
519
+ </div></div>
520
+ </div>
521
+ <a name="_count_term_children" id="_count_term_children"></a><div class="element clickable method private _count_term_children" data-toggle="collapse" data-target="._count_term_children .collapse">
522
+ <h2>Add level to term children and count them, all levels.</h2>
523
+ <pre>_count_term_children(object $parent, integer $depth) : integer</pre>
524
+ <div class="labels"></div>
525
+ <div class="row collapse"><div class="detail-description">
526
+ <p class="long_description"><p>Recalculates term counts by including items from child terms. Assumes all
527
+ relevant children are already in the $terms argument.</p></p>
528
+ <table class="table table-bordered"><tr>
529
+ <th>since</th>
530
+ <td>2.25</td>
531
+ </tr></table>
532
+ <h3>Parameters</h3>
533
+ <div class="subelement argument">
534
+ <h4>$parent</h4>
535
+ <code>object</code><p>Parent Term objects, by reference</p></div>
536
+ <div class="subelement argument">
537
+ <h4>$depth</h4>
538
+ <code>integer</code><p>Maximum depth of parent/child relationship</p>
539
+ </div>
540
+ <h3>Returns</h3>
541
+ <div class="subelement response">
542
+ <code>integer</code>Total number of children, all levels</div>
543
+ </div></div>
544
+ </div>
545
+ <a name="_find_child_of" id="_find_child_of"></a><div class="element clickable method private _find_child_of" data-toggle="collapse" data-target="._find_child_of .collapse">
546
+ <h2>Find a term that matches $child_of</h2>
547
+ <pre>_find_child_of(array $parents, integer $parent_id) : mixed</pre>
548
+ <div class="labels"></div>
549
+ <div class="row collapse"><div class="detail-description">
550
+ <p class="long_description"></p>
551
+ <table class="table table-bordered"><tr>
552
+ <th>since</th>
553
+ <td>2.25</td>
554
+ </tr></table>
555
+ <h3>Parameters</h3>
556
+ <div class="subelement argument">
557
+ <h4>$parents</h4>
558
+ <code>array</code><p>Potential parent Term objects, by reference</p></div>
559
+ <div class="subelement argument">
560
+ <h4>$parent_id</h4>
561
+ <code>integer</code><p>Term_id of the desired parent</p></div>
562
+ <h3>Returns</h3>
563
+ <div class="subelement response">
564
+ <code>mixed</code>Term object of the desired parent else false</div>
565
+ </div></div>
566
+ </div>
567
+ <a name="_find_include_tree" id="_find_include_tree"></a><div class="element clickable method private _find_include_tree" data-toggle="collapse" data-target="._find_include_tree .collapse">
568
+ <h2>Find the term(s) that match $include_tree</h2>
569
+ <pre>_find_include_tree(array $terms, array $include_tree) : mixed</pre>
570
+ <div class="labels"></div>
571
+ <div class="row collapse"><div class="detail-description">
572
+ <p class="long_description"></p>
573
+ <table class="table table-bordered"><tr>
574
+ <th>since</th>
575
+ <td>2.25</td>
576
+ </tr></table>
577
+ <h3>Parameters</h3>
578
+ <div class="subelement argument">
579
+ <h4>$terms</h4>
580
+ <code>array</code><p>Potential term objects, by reference</p></div>
581
+ <div class="subelement argument">
582
+ <h4>$include_tree</h4>
583
+ <code>array</code><p>term_id(s) of the desired terms</p>
584
+ </div>
585
+ <h3>Returns</h3>
586
+ <div class="subelement response">
587
+ <code>mixed</code>Term object(s) of the desired terms else false</div>
588
+ </div></div>
589
+ </div>
590
+ <a name="_get_term_tree" id="_get_term_tree"></a><div class="element clickable method private _get_term_tree" data-toggle="collapse" data-target="._get_term_tree .collapse">
591
+ <h2>Walk a list of terms and find hierarchy, preserving source order.</h2>
592
+ <pre>_get_term_tree(array $terms, array $arguments) : array</pre>
593
+ <div class="labels"></div>
594
+ <div class="row collapse"><div class="detail-description">
595
+ <p class="long_description"></p>
596
+ <table class="table table-bordered"><tr>
597
+ <th>since</th>
598
+ <td>2.25</td>
599
+ </tr></table>
600
+ <h3>Parameters</h3>
601
+ <div class="subelement argument">
602
+ <h4>$terms</h4>
603
+ <code>array</code><p>Term objects, by reference</p></div>
604
+ <div class="subelement argument">
605
+ <h4>$arguments</h4>
606
+ <code>array</code><p>Shortcode arguments, including defaults</p></div>
607
+ <h3>Returns</h3>
608
+ <div class="subelement response">
609
+ <code>array</code>( [taxonomy] => array( [root terms] => array( [fields], array( 'children' => [child terms] )</div>
610
+ </div></div>
611
+ </div>
612
  <a name="_pad_term_counts" id="_pad_term_counts"></a><div class="element clickable method private _pad_term_counts" data-toggle="collapse" data-target="._pad_term_counts .collapse">
613
  <h2>Add count of children to parent count.</h2>
614
  <pre>_pad_term_counts(array $terms, string $taxonomy, array $post_types, array $post_stati) : null</pre>
747
  <div class="subelement response"><code>array</code></div>
748
  </div></div>
749
  </div>
750
+ <a name="_remove_exclude_tree" id="_remove_exclude_tree"></a><div class="element clickable method private _remove_exclude_tree" data-toggle="collapse" data-target="._remove_exclude_tree .collapse">
751
+ <h2>Remove the term(s) that match $exclude_tree</h2>
752
+ <pre>_remove_exclude_tree(array $terms, array $exclude_tree) : void</pre>
753
+ <div class="labels"></div>
754
+ <div class="row collapse"><div class="detail-description">
755
+ <p class="long_description"></p>
756
+ <table class="table table-bordered"><tr>
757
+ <th>since</th>
758
+ <td>2.25</td>
759
+ </tr></table>
760
+ <h3>Parameters</h3>
761
+ <div class="subelement argument">
762
+ <h4>$terms</h4>
763
+ <code>array</code><p>Potential term objects, by reference</p></div>
764
+ <div class="subelement argument">
765
+ <h4>$exclude_tree</h4>
766
+ <code>array</code><p>term_id(s) of the desired terms</p>
767
+ </div>
768
+ </div></div>
769
+ </div>
770
  <a name="_sanitize_query_specification" id="_sanitize_query_specification"></a><div class="element clickable method private _sanitize_query_specification" data-toggle="collapse" data-target="._sanitize_query_specification .collapse">
771
  <h2>Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</h2>
772
  <pre>_sanitize_query_specification(string $specification) : string</pre>
880
  </div></div>
881
  </div>
882
  <a name="%24mla_get_terms_parameters" id="$mla_get_terms_parameters"> </a><div class="element clickable property private $mla_get_terms_parameters" data-toggle="collapse" data-target=".$mla_get_terms_parameters .collapse">
883
+ <h2>Data selection parameters for [mla_tag_cloud], [mla_term_list]</h2>
884
  <pre>$mla_get_terms_parameters : array</pre>
885
  <div class="labels"></div>
886
  <div class="row collapse"><div class="detail-description">
914
  <div class="row"><footer class="span12">
915
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
916
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
917
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
918
  </div>
919
  </body>
920
  </html>
phpDocs/classes/MLAShortcodes.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -65,6 +65,7 @@
65
  <li class="method public "><a href="#mla_is_data_source" title="mla_is_data_source :: Identify custom field mapping data source; front end posts/pages mode"><span class="description">Identify custom field mapping data source; front end posts/pages mode</span><pre>mla_is_data_source()</pre></a></li>
66
  <li class="method public "><a href="#mla_no_texturize_shortcodes_filter" title="mla_no_texturize_shortcodes_filter :: Prevents wptexturizing of the [mla_gallery] shortcode, avoiding a bug in WP 4.0."><span class="description">Prevents wptexturizing of the [mla_gallery] shortcode, avoiding a bug in WP 4.0.</span><pre>mla_no_texturize_shortcodes_filter()</pre></a></li>
67
  <li class="method public "><a href="#mla_tag_cloud_shortcode" title="mla_tag_cloud_shortcode :: The MLA Tag Cloud shortcode."><span class="description">The MLA Tag Cloud shortcode.</span><pre>mla_tag_cloud_shortcode()</pre></a></li>
 
68
  <li class="nav-header">
69
  <i class="icon-custom icon-property"></i> Properties</li>
70
  <li class="property public "><a href="#%24mla_gallery_wp_query_object" title="$mla_gallery_wp_query_object :: The WP_Query object used to select items for the gallery."><span class="description">The WP_Query object used to select items for the gallery.</span><pre>$mla_gallery_wp_query_object</pre></a></li>
@@ -269,6 +270,28 @@ to MLA users and loads the support class if the shortcodes are executed.</p>
269
  <code>string</code>HTML content to display the tag cloud.</div>
270
  </div></div>
271
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  <h3>
273
  <i class="icon-custom icon-property"></i> Properties</h3>
274
  <a name="%24mla_gallery_wp_query_object" id="$mla_gallery_wp_query_object"> </a><div class="element clickable property public $mla_gallery_wp_query_object" data-toggle="collapse" data-target=".$mla_gallery_wp_query_object .collapse">
@@ -291,7 +314,7 @@ to MLA users and loads the support class if the shortcodes are executed.</p>
291
  <div class="row"><footer class="span12">
292
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
293
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
294
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
295
  </div>
296
  </body>
297
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
65
  <li class="method public "><a href="#mla_is_data_source" title="mla_is_data_source :: Identify custom field mapping data source; front end posts/pages mode"><span class="description">Identify custom field mapping data source; front end posts/pages mode</span><pre>mla_is_data_source()</pre></a></li>
66
  <li class="method public "><a href="#mla_no_texturize_shortcodes_filter" title="mla_no_texturize_shortcodes_filter :: Prevents wptexturizing of the [mla_gallery] shortcode, avoiding a bug in WP 4.0."><span class="description">Prevents wptexturizing of the [mla_gallery] shortcode, avoiding a bug in WP 4.0.</span><pre>mla_no_texturize_shortcodes_filter()</pre></a></li>
67
  <li class="method public "><a href="#mla_tag_cloud_shortcode" title="mla_tag_cloud_shortcode :: The MLA Tag Cloud shortcode."><span class="description">The MLA Tag Cloud shortcode.</span><pre>mla_tag_cloud_shortcode()</pre></a></li>
68
+ <li class="method public "><a href="#mla_term_list_shortcode" title="mla_term_list_shortcode :: The MLA Term List shortcode."><span class="description">The MLA Term List shortcode.</span><pre>mla_term_list_shortcode()</pre></a></li>
69
  <li class="nav-header">
70
  <i class="icon-custom icon-property"></i> Properties</li>
71
  <li class="property public "><a href="#%24mla_gallery_wp_query_object" title="$mla_gallery_wp_query_object :: The WP_Query object used to select items for the gallery."><span class="description">The WP_Query object used to select items for the gallery.</span><pre>$mla_gallery_wp_query_object</pre></a></li>
270
  <code>string</code>HTML content to display the tag cloud.</div>
271
  </div></div>
272
  </div>
273
+ <a name="mla_term_list_shortcode" id="mla_term_list_shortcode"></a><div class="element clickable method public mla_term_list_shortcode" data-toggle="collapse" data-target=".mla_term_list_shortcode .collapse">
274
+ <h2>The MLA Term List shortcode.</h2>
275
+ <pre>mla_term_list_shortcode(array $attr, string $content) : string</pre>
276
+ <div class="labels"></div>
277
+ <div class="row collapse"><div class="detail-description">
278
+ <p class="long_description"><p>Compatibility shim for MLAShortcode_Support::mla_term_list_shortcode</p></p>
279
+ <table class="table table-bordered"><tr>
280
+ <th>since</th>
281
+ <td>2.25</td>
282
+ </tr></table>
283
+ <h3>Parameters</h3>
284
+ <div class="subelement argument">
285
+ <h4>$attr</h4>
286
+ <code>array</code><p>Attributes of the shortcode.</p></div>
287
+ <div class="subelement argument">
288
+ <h4>$content</h4>
289
+ <code>string</code><p>Optional content for enclosing shortcodes</p></div>
290
+ <h3>Returns</h3>
291
+ <div class="subelement response">
292
+ <code>string</code>HTML content to display the tag cloud.</div>
293
+ </div></div>
294
+ </div>
295
  <h3>
296
  <i class="icon-custom icon-property"></i> Properties</h3>
297
  <a name="%24mla_gallery_wp_query_object" id="$mla_gallery_wp_query_object"> </a><div class="element clickable property public $mla_gallery_wp_query_object" data-toggle="collapse" data-target=".$mla_gallery_wp_query_object .collapse">
314
  <div class="row"><footer class="span12">
315
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
316
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
317
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
318
  </div>
319
  </body>
320
  </html>
phpDocs/classes/MLATest.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -178,7 +178,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
phpDocs/classes/MLATextWidget.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -178,7 +178,7 @@
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
178
  <div class="row"><footer class="span12">
179
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
180
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
181
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
phpDocs/classes/MLA_Ajax.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -164,7 +164,7 @@ Adds filters for post type and pagination.</p></p>
164
  <div class="row"><footer class="span12">
165
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
166
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
167
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
168
  </div>
169
  </body>
170
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
164
  <div class="row"><footer class="span12">
165
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
166
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
167
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
168
  </div>
169
  </body>
170
  </html>
phpDocs/classes/MLA_Checklist_Walker.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -163,7 +163,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p></p>
163
  <div class="row"><footer class="span12">
164
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
165
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
166
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
163
  <div class="row"><footer class="span12">
164
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
165
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
166
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
phpDocs/classes/MLA_List_Table.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -84,6 +84,7 @@ calls the parent constructor to set some default configs.</span><pre>__construct
84
  <li class="method public "><a href="#column_post_name" title="column_post_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_name()</pre></a></li>
85
  <li class="method public "><a href="#column_post_title" title="column_post_title :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_title()</pre></a></li>
86
  <li class="method public "><a href="#column_title_name" title="column_title_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_title_name()</pre></a></li>
 
87
  <li class="method public "><a href="#extra_tablenav" title="extra_tablenav :: Extra controls to be displayed between bulk actions and pagination"><span class="description">Extra controls to be displayed between bulk actions and pagination</span><pre>extra_tablenav()</pre></a></li>
88
  <li class="method public "><a href="#get_bulk_actions" title="get_bulk_actions :: Get an associative array ( option_name =&gt; option_title ) with the list
89
  of bulk actions available on this table."><span class="description">Get an associative array ( option_name =&gt; option_title ) with the list
@@ -654,6 +655,23 @@ a specific method, so this function returns a troubleshooting message.</p></p>
654
  <code>string</code>HTML markup to be placed inside the column</div>
655
  </div></div>
656
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
657
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
658
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
659
  <pre>extra_tablenav(string $which) : void</pre>
@@ -1258,7 +1276,7 @@ visible column and add div tags.</p></p>
1258
  <div class="row"><footer class="span12">
1259
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1260
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1261
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1262
  </div>
1263
  </body>
1264
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
84
  <li class="method public "><a href="#column_post_name" title="column_post_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_name()</pre></a></li>
85
  <li class="method public "><a href="#column_post_title" title="column_post_title :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_title()</pre></a></li>
86
  <li class="method public "><a href="#column_title_name" title="column_title_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_title_name()</pre></a></li>
87
+ <li class="method public "><a href="#display_tablenav" title="display_tablenav :: Generate the table navigation above or below the table"><span class="description">Generate the table navigation above or below the table</span><pre>display_tablenav()</pre></a></li>
88
  <li class="method public "><a href="#extra_tablenav" title="extra_tablenav :: Extra controls to be displayed between bulk actions and pagination"><span class="description">Extra controls to be displayed between bulk actions and pagination</span><pre>extra_tablenav()</pre></a></li>
89
  <li class="method public "><a href="#get_bulk_actions" title="get_bulk_actions :: Get an associative array ( option_name =&gt; option_title ) with the list
90
  of bulk actions available on this table."><span class="description">Get an associative array ( option_name =&gt; option_title ) with the list
655
  <code>string</code>HTML markup to be placed inside the column</div>
656
  </div></div>
657
  </div>
658
+ <a name="display_tablenav" id="display_tablenav"></a><div class="element clickable method public display_tablenav" data-toggle="collapse" data-target=".display_tablenav .collapse">
659
+ <h2>Generate the table navigation above or below the table</h2>
660
+ <pre>display_tablenav(string $which) </pre>
661
+ <div class="labels"></div>
662
+ <div class="row collapse"><div class="detail-description">
663
+ <p class="long_description"><p>Adds the list/grid switcher in WP 4.0+</p></p>
664
+ <table class="table table-bordered"><tr>
665
+ <th>since</th>
666
+ <td>2.25</td>
667
+ </tr></table>
668
+ <h3>Parameters</h3>
669
+ <div class="subelement argument">
670
+ <h4>$which</h4>
671
+ <code>string</code><p>'top' or 'bottom', i.e., above or below the table rows</p>
672
+ </div>
673
+ </div></div>
674
+ </div>
675
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
676
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
677
  <pre>extra_tablenav(string $which) : void</pre>
1276
  <div class="row"><footer class="span12">
1277
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1278
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1279
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
1280
  </div>
1281
  </body>
1282
  </html>
phpDocs/classes/MLA_Polylang.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -1480,7 +1480,7 @@ Polylang uses term_id as the "element_id".</p></p>
1480
  <div class="row"><footer class="span12">
1481
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1482
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1483
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1484
  </div>
1485
  </body>
1486
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
1480
  <div class="row"><footer class="span12">
1481
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1482
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1483
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
1484
  </div>
1485
  </body>
1486
  </html>
phpDocs/classes/MLA_Thumbnail.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -335,7 +335,7 @@ markup used for the Quick and Bulk Edit forms.</td>
335
  <div class="row"><footer class="span12">
336
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
337
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
338
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
339
  </div>
340
  </body>
341
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
335
  <div class="row"><footer class="span12">
336
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
337
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
338
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
339
  </div>
340
  </body>
341
  </html>
phpDocs/classes/MLA_Upload_List_Table.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -819,7 +819,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
819
  <div class="row"><footer class="span12">
820
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
821
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
822
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
823
  </div>
824
  </body>
825
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
819
  <div class="row"><footer class="span12">
820
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
821
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
822
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
823
  </div>
824
  </body>
825
  </html>
phpDocs/classes/MLA_Upload_Optional_List_Table.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -554,7 +554,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
554
  <div class="row"><footer class="span12">
555
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
556
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
557
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
558
  </div>
559
  </body>
560
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
554
  <div class="row"><footer class="span12">
555
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
556
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
557
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
558
  </div>
559
  </body>
560
  </html>
phpDocs/classes/MLA_View_List_Table.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -703,7 +703,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
703
  <div class="row"><footer class="span12">
704
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
705
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
706
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
707
  </div>
708
  </body>
709
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
703
  <div class="row"><footer class="span12">
704
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
705
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
706
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
707
  </div>
708
  </body>
709
  </html>
phpDocs/classes/MLA_WPML.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -1109,7 +1109,7 @@ Bulk Edit on Upload area</h2>
1109
  <div class="row"><footer class="span12">
1110
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1111
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1112
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1113
  </div>
1114
  </body>
1115
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
1109
  <div class="row"><footer class="span12">
1110
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1111
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1112
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
1113
  </div>
1114
  </body>
1115
  </html>
phpDocs/classes/MLA_WPML_List_Table.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -84,6 +84,7 @@ calls the parent constructor to set some default configs.</span><pre>__construct
84
  <li class="method public inherited"><a href="#column_post_name" title="column_post_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_name()</pre></a></li>
85
  <li class="method public inherited"><a href="#column_post_title" title="column_post_title :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_title()</pre></a></li>
86
  <li class="method public inherited"><a href="#column_title_name" title="column_title_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_title_name()</pre></a></li>
 
87
  <li class="method public inherited"><a href="#extra_tablenav" title="extra_tablenav :: Extra controls to be displayed between bulk actions and pagination"><span class="description">Extra controls to be displayed between bulk actions and pagination</span><pre>extra_tablenav()</pre></a></li>
88
  <li class="method public inherited"><a href="#get_bulk_actions" title="get_bulk_actions :: Get an associative array ( option_name =&gt; option_title ) with the list
89
  of bulk actions available on this table."><span class="description">Get an associative array ( option_name =&gt; option_title ) with the list
@@ -804,6 +805,29 @@ a specific method, so this function returns a troubleshooting message.</p></p>
804
  <code>string</code>HTML markup to be placed inside the column</div>
805
  </div></div>
806
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
807
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
808
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
809
  <pre>extra_tablenav(string $which) : void</pre>
@@ -1602,7 +1626,7 @@ visible column and add div tags.</p></p>
1602
  <div class="row"><footer class="span12">
1603
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1604
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1605
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
1606
  </div>
1607
  </body>
1608
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
84
  <li class="method public inherited"><a href="#column_post_name" title="column_post_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_name()</pre></a></li>
85
  <li class="method public inherited"><a href="#column_post_title" title="column_post_title :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_post_title()</pre></a></li>
86
  <li class="method public inherited"><a href="#column_title_name" title="column_title_name :: Supply the content for a custom column"><span class="description">Supply the content for a custom column</span><pre>column_title_name()</pre></a></li>
87
+ <li class="method public inherited"><a href="#display_tablenav" title="display_tablenav :: Generate the table navigation above or below the table"><span class="description">Generate the table navigation above or below the table</span><pre>display_tablenav()</pre></a></li>
88
  <li class="method public inherited"><a href="#extra_tablenav" title="extra_tablenav :: Extra controls to be displayed between bulk actions and pagination"><span class="description">Extra controls to be displayed between bulk actions and pagination</span><pre>extra_tablenav()</pre></a></li>
89
  <li class="method public inherited"><a href="#get_bulk_actions" title="get_bulk_actions :: Get an associative array ( option_name =&gt; option_title ) with the list
90
  of bulk actions available on this table."><span class="description">Get an associative array ( option_name =&gt; option_title ) with the list
805
  <code>string</code>HTML markup to be placed inside the column</div>
806
  </div></div>
807
  </div>
808
+ <a name="display_tablenav" id="display_tablenav"></a><div class="element clickable method public display_tablenav" data-toggle="collapse" data-target=".display_tablenav .collapse">
809
+ <h2>Generate the table navigation above or below the table</h2>
810
+ <pre>display_tablenav(string $which) </pre>
811
+ <div class="labels"><span class="label">Inherited</span></div>
812
+ <div class="row collapse"><div class="detail-description">
813
+ <p class="long_description"><p>Adds the list/grid switcher in WP 4.0+</p></p>
814
+ <table class="table table-bordered">
815
+ <tr>
816
+ <th>since</th>
817
+ <td>2.25</td>
818
+ </tr>
819
+ <tr>
820
+ <th>inherited_from</th>
821
+ <td>\MLA_List_Table::display_tablenav()</td>
822
+ </tr>
823
+ </table>
824
+ <h3>Parameters</h3>
825
+ <div class="subelement argument">
826
+ <h4>$which</h4>
827
+ <code>string</code><p>'top' or 'bottom', i.e., above or below the table rows</p>
828
+ </div>
829
+ </div></div>
830
+ </div>
831
  <a name="extra_tablenav" id="extra_tablenav"></a><div class="element clickable method public extra_tablenav" data-toggle="collapse" data-target=".extra_tablenav .collapse">
832
  <h2>Extra controls to be displayed between bulk actions and pagination</h2>
833
  <pre>extra_tablenav(string $which) : void</pre>
1626
  <div class="row"><footer class="span12">
1627
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
1628
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1629
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
1630
  </div>
1631
  </body>
1632
  </html>
phpDocs/classes/MLA_WPML_Table.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -410,7 +410,7 @@ The count is made language-specific by WPML filters when the current_language is
410
  <div class="row"><footer class="span12">
411
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
412
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
413
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
414
  </div>
415
  </body>
416
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
410
  <div class="row"><footer class="span12">
411
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
412
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
413
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
414
  </div>
415
  </body>
416
  </html>
phpDocs/classes/MNA_Pad_Counts_Walker.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -139,7 +139,7 @@ Class Walker_Category is defined in /wp-includes/category-template.php</p></p>
139
  <div class="row"><footer class="span12">
140
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
141
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
142
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
143
  </div>
144
  </body>
145
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
139
  <div class="row"><footer class="span12">
140
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
141
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
142
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
143
  </div>
144
  </body>
145
  </html>
phpDocs/deprecated.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -67,7 +67,7 @@
67
  <div class="row"><footer class="span12">
68
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
69
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
70
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
67
  <div class="row"><footer class="span12">
68
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
69
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
70
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
phpDocs/errors.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -116,12 +116,14 @@
116
  <div class="package-contents"></div>
117
  <div class="package-contents"></div>
118
  <div class="package-contents"></div>
 
 
119
  </div>
120
  </div>
121
  <div class="row"><footer class="span12">
122
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
123
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
124
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
125
  </div>
126
  </body>
127
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
116
  <div class="package-contents"></div>
117
  <div class="package-contents"></div>
118
  <div class="package-contents"></div>
119
+ <div class="package-contents"></div>
120
+ <div class="package-contents"></div>
121
  </div>
122
  </div>
123
  <div class="row"><footer class="span12">
124
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
125
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
126
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
127
  </div>
128
  </body>
129
  </html>
phpDocs/graph_class.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -64,7 +64,7 @@
64
  </script><div class="row"><footer class="span12">
65
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
66
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
67
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
64
  </script><div class="row"><footer class="span12">
65
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
66
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
67
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
phpDocs/index.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -76,7 +76,7 @@
76
  <span class="label label-info">0</span></a></li>
77
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
78
  <ul><li>todo 
79
- <span class="label label-info">1</span>
80
  </li></ul></a></li>
81
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
82
  <span class="label label-info">0</span></a></li>
@@ -86,7 +86,7 @@
86
  <div class="row"><footer class="span12">
87
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
88
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
89
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
76
  <span class="label label-info">0</span></a></li>
77
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
78
  <ul><li>todo 
79
+ <span class="label label-info">3</span>
80
  </li></ul></a></li>
81
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
82
  <span class="label label-info">0</span></a></li>
86
  <div class="row"><footer class="span12">
87
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
88
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
89
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
phpDocs/markers.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -53,6 +53,7 @@
53
  <div class="span4"><ul class="side-nav nav nav-list">
54
  <li class="nav-header">Navigation</li>
55
  <li><a href="#includes%5Cclass-mla-data-pdf.php"><i class="icon-file"></i>includes\class-mla-data-pdf.php</a></li>
 
56
  </ul></div>
57
  <div class="span8">
58
  <ul class="breadcrumb">
@@ -64,10 +65,11 @@
64
  <div class="alert alert-info">
65
  The following markers were found:
66
  <ul><li>todo 
67
- <span class="label label-info">1</span>
68
  </li></ul>
69
  </div>
70
- <div id="marker-accordion"><div class="package-contents">
 
71
  <a name="includes%5Cclass-mla-data-pdf.php" id="includes\class-mla-data-pdf.php"></a><h3>
72
  <i class="icon-file"></i>includes\class-mla-data-pdf.php<small style="float: right;padding-right: 10px;">1</small>
73
  </h3>
@@ -83,13 +85,36 @@
83
  <td>encode the rest</td>
84
  </tr>
85
  </table></div>
86
- </div></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  </div>
88
  </div>
89
  <div class="row"><footer class="span12">
90
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
91
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
92
- generated on 2016-01-23T23:00:27-08:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
53
  <div class="span4"><ul class="side-nav nav nav-list">
54
  <li class="nav-header">Navigation</li>
55
  <li><a href="#includes%5Cclass-mla-data-pdf.php"><i class="icon-file"></i>includes\class-mla-data-pdf.php</a></li>
56
+ <li><a href="#includes%5Cclass-mla-shortcode-support.php"><i class="icon-file"></i>includes\class-mla-shortcode-support.php</a></li>
57
  </ul></div>
58
  <div class="span8">
59
  <ul class="breadcrumb">
65
  <div class="alert alert-info">
66
  The following markers were found:
67
  <ul><li>todo 
68
+ <span class="label label-info">3</span>
69
  </li></ul>
70
  </div>
71
+ <div id="marker-accordion">
72
+ <div class="package-contents">
73
  <a name="includes%5Cclass-mla-data-pdf.php" id="includes\class-mla-data-pdf.php"></a><h3>
74
  <i class="icon-file"></i>includes\class-mla-data-pdf.php<small style="float: right;padding-right: 10px;">1</small>
75
  </h3>
85
  <td>encode the rest</td>
86
  </tr>
87
  </table></div>
88
+ </div>
89
+ <div class="package-contents">
90
+ <a name="includes%5Cclass-mla-shortcode-support.php" id="includes\class-mla-shortcode-support.php"></a><h3>
91
+ <i class="icon-file"></i>includes\class-mla-shortcode-support.php<small style="float: right;padding-right: 10px;">2</small>
92
+ </h3>
93
+ <div><table class="table markers table-bordered">
94
+ <tr>
95
+ <th>Type</th>
96
+ <th>Line</th>
97
+ <th>Description</th>
98
+ </tr>
99
+ <tr>
100
+ <td>todo</td>
101
+ <td>3158</td>
102
+ <td>Make this conditional on $arguments['link']</td>
103
+ </tr>
104
+ <tr>
105
+ <td>todo</td>
106
+ <td>5302</td>
107
+ <td>Make this conditional on $arguments['link']</td>
108
+ </tr>
109
+ </table></div>
110
+ </div>
111
+ </div>
112
  </div>
113
  </div>
114
  <div class="row"><footer class="span12">
115
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
116
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
117
+ generated on 2016-04-08T17:25:40-07:00.<br></footer></div>
118
  </div>
119
  </body>
120
  </html>
phpDocs/namespaces/global.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -292,6 +292,13 @@ of images and files held in the WordPress Media Library.</p>
292
  <div class="details collapse"></div>
293
  <a href="../classes/MLACore.html" class="more">« More »</a>
294
  </div>
 
 
 
 
 
 
 
295
  <a name="MLAData" id="MLAData"></a><div class="element ajax clickable class" href="../classes/MLAData.html">
296
  <h1>MLAData<a href="../classes/MLAData.html">¶</a>
297
  </h1>
@@ -429,6 +436,13 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
429
  <div class="details collapse"></div>
430
  <a href="../classes/MLATextWidget.html" class="more">« More »</a>
431
  </div>
 
 
 
 
 
 
 
432
  <a name="MLA_Ajax" id="MLA_Ajax"></a><div class="element ajax clickable class" href="../classes/MLA_Ajax.html">
433
  <h1>MLA_Ajax<a href="../classes/MLA_Ajax.html">¶</a>
434
  </h1>
@@ -526,6 +540,12 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
526
  <div class="labels"></div>
527
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
528
  </div>
 
 
 
 
 
 
529
  <a name="MLA_DEBUG_LEVEL" id="MLA_DEBUG_LEVEL"> </a><div class="element clickable constant MLA_DEBUG_LEVEL" data-toggle="collapse" data-target=".MLA_DEBUG_LEVEL .collapse">
530
  <h2>Activates debug options; can be set in wp-config.php</h2>
531
  <pre>MLA_DEBUG_LEVEL </pre>
@@ -538,6 +558,12 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
538
  <div class="labels"></div>
539
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
540
  </div>
 
 
 
 
 
 
541
  <a name="MLA_PLUGIN_BASENAME" id="MLA_PLUGIN_BASENAME"> </a><div class="element clickable constant MLA_PLUGIN_BASENAME" data-toggle="collapse" data-target=".MLA_PLUGIN_BASENAME .collapse">
542
  <h2>Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</h2>
543
  <pre>MLA_PLUGIN_BASENAME </pre>
@@ -550,6 +576,12 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
550
  <div class="labels"></div>
551
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
552
  </div>
 
 
 
 
 
 
553
  <a name="MLA_PLUGIN_URL" id="MLA_PLUGIN_URL"> </a><div class="element clickable constant MLA_PLUGIN_URL" data-toggle="collapse" data-target=".MLA_PLUGIN_URL .collapse">
554
  <h2>Provides path information to the plugin root in URL format.</h2>
555
  <pre>MLA_PLUGIN_URL </pre>
@@ -562,7 +594,7 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
562
  <div class="row"><footer class="span12">
563
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
564
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
565
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
566
  </div>
567
  </body>
568
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
292
  <div class="details collapse"></div>
293
  <a href="../classes/MLACore.html" class="more">« More »</a>
294
  </div>
295
+ <a name="MLACoreOptions" id="MLACoreOptions"></a><div class="element ajax clickable class" href="../classes/MLACoreOptions.html">
296
+ <h1>MLACoreOptions<a href="../classes/MLACoreOptions.html">¶</a>
297
+ </h1>
298
+ <p class="short_description">Class MLA (Media Library Assistant) Core Options defines MLA option settings and defaults</p>
299
+ <div class="details collapse"></div>
300
+ <a href="../classes/MLACoreOptions.html" class="more">« More »</a>
301
+ </div>
302
  <a name="MLAData" id="MLAData"></a><div class="element ajax clickable class" href="../classes/MLAData.html">
303
  <h1>MLAData<a href="../classes/MLAData.html">¶</a>
304
  </h1>
436
  <div class="details collapse"></div>
437
  <a href="../classes/MLATextWidget.html" class="more">« More »</a>
438
  </div>
439
+ <a name="MLAUninstall" id="MLAUninstall"></a><div class="element ajax clickable class" href="../classes/MLAUninstall.html">
440
+ <h1>MLAUninstall<a href="../classes/MLAUninstall.html">¶</a>
441
+ </h1>
442
+ <p class="short_description">Class MLA (Media Library Assistant) Uninstall deletes the data associated with the MLA plugin</p>
443
+ <div class="details collapse"></div>
444
+ <a href="../classes/MLAUninstall.html" class="more">« More »</a>
445
+ </div>
446
  <a name="MLA_Ajax" id="MLA_Ajax"></a><div class="element ajax clickable class" href="../classes/MLA_Ajax.html">
447
  <h1>MLA_Ajax<a href="../classes/MLA_Ajax.html">¶</a>
448
  </h1>
540
  <div class="labels"></div>
541
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
542
  </div>
543
+ <a name="MLA_BACKUP_DIR" id="MLA_BACKUP_DIR"> </a><div class="element clickable constant MLA_BACKUP_DIR" data-toggle="collapse" data-target=".MLA_BACKUP_DIR .collapse">
544
+ <h2>MLA_BACKUP_DIR</h2>
545
+ <pre>MLA_BACKUP_DIR </pre>
546
+ <div class="labels"></div>
547
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
548
+ </div>
549
  <a name="MLA_DEBUG_LEVEL" id="MLA_DEBUG_LEVEL"> </a><div class="element clickable constant MLA_DEBUG_LEVEL" data-toggle="collapse" data-target=".MLA_DEBUG_LEVEL .collapse">
550
  <h2>Activates debug options; can be set in wp-config.php</h2>
551
  <pre>MLA_DEBUG_LEVEL </pre>
558
  <div class="labels"></div>
559
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
560
  </div>
561
+ <a name="MLA_OPTION_PREFIX" id="MLA_OPTION_PREFIX"> </a><div class="element clickable constant MLA_OPTION_PREFIX" data-toggle="collapse" data-target=".MLA_OPTION_PREFIX .collapse">
562
+ <h2>Gives a unique prefix for plugin options; can be set in wp-config.php</h2>
563
+ <pre>MLA_OPTION_PREFIX </pre>
564
+ <div class="labels"></div>
565
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
566
+ </div>
567
  <a name="MLA_PLUGIN_BASENAME" id="MLA_PLUGIN_BASENAME"> </a><div class="element clickable constant MLA_PLUGIN_BASENAME" data-toggle="collapse" data-target=".MLA_PLUGIN_BASENAME .collapse">
568
  <h2>Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</h2>
569
  <pre>MLA_PLUGIN_BASENAME </pre>
576
  <div class="labels"></div>
577
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
578
  </div>
579
+ <a name="MLA_PLUGIN_PATH" id="MLA_PLUGIN_PATH"> </a><div class="element clickable constant MLA_PLUGIN_PATH" data-toggle="collapse" data-target=".MLA_PLUGIN_PATH .collapse">
580
+ <h2>Provides path information to the plugin root in file system format, including the trailing slash.</h2>
581
+ <pre>MLA_PLUGIN_PATH </pre>
582
+ <div class="labels"></div>
583
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
584
+ </div>
585
  <a name="MLA_PLUGIN_URL" id="MLA_PLUGIN_URL"> </a><div class="element clickable constant MLA_PLUGIN_URL" data-toggle="collapse" data-target=".MLA_PLUGIN_URL .collapse">
586
  <h2>Provides path information to the plugin root in URL format.</h2>
587
  <pre>MLA_PLUGIN_URL </pre>
594
  <div class="row"><footer class="span12">
595
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
596
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
597
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
598
  </div>
599
  </body>
600
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -268,7 +268,7 @@ display an "accordian-style" list.</p></p>
268
  <div class="row"><footer class="span12">
269
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
270
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
271
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
272
  </div>
273
  </body>
274
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
268
  <div class="row"><footer class="span12">
269
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
270
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
271
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
272
  </div>
273
  </body>
274
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -265,7 +265,7 @@ display an "accordian-style" list.</p></p>
265
  <div class="row"><footer class="span12">
266
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
267
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
268
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
269
  </div>
270
  </body>
271
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
265
  <div class="row"><footer class="span12">
266
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
267
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
268
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
269
  </div>
270
  </body>
271
  </html>
phpDocs/packages/Media Library Assistant.MLA.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -276,7 +276,7 @@ display an "accordian-style" list.</p></p>
276
  <div class="row"><footer class="span12">
277
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
278
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
279
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
280
  </div>
281
  </body>
282
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
276
  <div class="row"><footer class="span12">
277
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
278
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
279
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
280
  </div>
281
  </body>
282
  </html>
phpDocs/packages/Media Library Assistant.html CHANGED
@@ -34,7 +34,7 @@
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
- <span class="label label-info">1</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
@@ -75,6 +75,7 @@
75
  <li><a href="#MNA_Pad_Counts_Walker" title="Class MNA_Pad_Counts_Walker adds accurate, padded attachment counts to taxonomy terms.">MNA_Pad_Counts_Walker</a></li>
76
  <li><a href="#CPAC_Storage_Model_MLA" title="Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin">CPAC_Storage_Model_MLA</a></li>
77
  <li><a href="#MLA_Ajax" title="Class MLA (Media Library Assistant) Ajax contains handlers for simple Ajax requests">MLA_Ajax</a></li>
 
78
  <li><a href="#MLACore" title="Class MLA (Media Library Assistant) Core is the minimum support required for all other MLA features">MLACore</a></li>
79
  <li><a href="#MLA_Checklist_Walker" title="Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output">MLA_Checklist_Walker</a></li>
80
  <li><a href="#MLAPDF" title="Class MLA (Media Library Assistant) PDF extracts legacy and XMP meta data from PDF files">MLAPDF</a></li>
@@ -120,15 +121,19 @@ family of plugins, including WPML Media">MLA_WPML</a></li>
120
  <li><a href="#MLA_WPML_List_Table" title="Class MLA (Media Library Assistant) WPML List Table adds a reference to an MLA_WPML object">MLA_WPML_List_Table</a></li>
121
  <li><a href="#MLA_WPML_Table" title="Class MLA (Media Library Assistant) WPML Table provides support for the WPML Multilingual CMS
122
  family of plugins, including WPML Media, for an MLA_List_Table object.">MLA_WPML_Table</a></li>
 
123
  <li><a href="#MLATest" title="Class MLA (Media Library Assistant) Test provides basic run-time tests
124
  to ensure the plugin can run in the current WordPress envrionment.">MLATest</a></li>
125
  <li class="nav-header">
126
  <i class="icon-custom icon-constant"></i> Constants</li>
127
  <li class="constant "><a href="#MLA_BACKUP_DIR" title="MLA_BACKUP_DIR :: "><span class="description">MLA_BACKUP_DIR</span><pre>MLA_BACKUP_DIR</pre></a></li>
 
128
  <li class="constant "><a href="#MLA_DEBUG_LEVEL" title="MLA_DEBUG_LEVEL :: Activates debug options; can be set in wp-config.php"><span class="description">Activates debug options; can be set in wp-config.php</span><pre>MLA_DEBUG_LEVEL</pre></a></li>
129
  <li class="constant "><a href="#MLA_OPTION_PREFIX" title="MLA_OPTION_PREFIX :: Gives a unique prefix for plugin options; can be set in wp-config.php"><span class="description">Gives a unique prefix for plugin options; can be set in wp-config.php</span><pre>MLA_OPTION_PREFIX</pre></a></li>
 
130
  <li class="constant "><a href="#MLA_PLUGIN_BASENAME" title="MLA_PLUGIN_BASENAME :: Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes."><span class="description">Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</span><pre>MLA_PLUGIN_BASENAME</pre></a></li>
131
  <li class="constant "><a href="#MLA_PLUGIN_PATH" title="MLA_PLUGIN_PATH :: Provides path information to the plugin root in file system format, including the trailing slash."><span class="description">Provides path information to the plugin root in file system format, including the trailing slash.</span><pre>MLA_PLUGIN_PATH</pre></a></li>
 
132
  <li class="constant "><a href="#MLA_PLUGIN_URL" title="MLA_PLUGIN_URL :: Provides path information to the plugin root in URL format."><span class="description">Provides path information to the plugin root in URL format.</span><pre>MLA_PLUGIN_URL</pre></a></li>
133
  </ul>
134
  </div>
@@ -190,6 +195,13 @@ of images and files held in the WordPress Media Library.</p>
190
  <div class="details collapse"></div>
191
  <a href="../classes/MLACore.html" class="more">« More »</a>
192
  </div>
 
 
 
 
 
 
 
193
  <a name="MLAData" id="MLAData"></a><div class="element ajax clickable class" href="../classes/MLAData.html">
194
  <h1>MLAData<a href="../classes/MLAData.html">¶</a>
195
  </h1>
@@ -327,6 +339,13 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
327
  <div class="details collapse"></div>
328
  <a href="../classes/MLATextWidget.html" class="more">« More »</a>
329
  </div>
 
 
 
 
 
 
 
330
  <a name="MLA_Ajax" id="MLA_Ajax"></a><div class="element ajax clickable class" href="../classes/MLA_Ajax.html">
331
  <h1>MLA_Ajax<a href="../classes/MLA_Ajax.html">¶</a>
332
  </h1>
@@ -424,6 +443,12 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
424
  <div class="labels"></div>
425
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
426
  </div>
 
 
 
 
 
 
427
  <a name="MLA_DEBUG_LEVEL" id="MLA_DEBUG_LEVEL"> </a><div class="element clickable constant MLA_DEBUG_LEVEL" data-toggle="collapse" data-target=".MLA_DEBUG_LEVEL .collapse">
428
  <h2>Activates debug options; can be set in wp-config.php</h2>
429
  <pre>MLA_DEBUG_LEVEL </pre>
@@ -436,6 +461,12 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
436
  <div class="labels"></div>
437
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
438
  </div>
 
 
 
 
 
 
439
  <a name="MLA_PLUGIN_BASENAME" id="MLA_PLUGIN_BASENAME"> </a><div class="element clickable constant MLA_PLUGIN_BASENAME" data-toggle="collapse" data-target=".MLA_PLUGIN_BASENAME .collapse">
440
  <h2>Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</h2>
441
  <pre>MLA_PLUGIN_BASENAME </pre>
@@ -448,6 +479,12 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</p>
448
  <div class="labels"></div>
449
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
450
  </div>
 
 
 
 
 
 
451
  <a name="MLA_PLUGIN_URL" id="MLA_PLUGIN_URL"> </a><div class="element clickable constant MLA_PLUGIN_URL" data-toggle="collapse" data-target=".MLA_PLUGIN_URL .collapse">
452
  <h2>Provides path information to the plugin root in URL format.</h2>
453
  <pre>MLA_PLUGIN_URL </pre>
@@ -664,7 +701,7 @@ display an "accordian-style" list.</p></p>
664
  <div class="row"><footer class="span12">
665
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
666
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
667
- generated on 2016-01-23T23:00:26-08:00.<br></footer></div>
668
  </div>
669
  </body>
670
  </html>
34
  <span class="label label-info">0</span></a></li>
35
  <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
36
  <ul><li>todo 
37
+ <span class="label label-info">3</span>
38
  </li></ul></a></li>
39
  <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
40
  <span class="label label-info">0</span></a></li>
75
  <li><a href="#MNA_Pad_Counts_Walker" title="Class MNA_Pad_Counts_Walker adds accurate, padded attachment counts to taxonomy terms.">MNA_Pad_Counts_Walker</a></li>
76
  <li><a href="#CPAC_Storage_Model_MLA" title="Class CPAC Storage Model MLA (Media Library Assistant) supports the Admin Columns plugin">CPAC_Storage_Model_MLA</a></li>
77
  <li><a href="#MLA_Ajax" title="Class MLA (Media Library Assistant) Ajax contains handlers for simple Ajax requests">MLA_Ajax</a></li>
78
+ <li><a href="#MLACoreOptions" title="Class MLA (Media Library Assistant) Core Options defines MLA option settings and defaults">MLACoreOptions</a></li>
79
  <li><a href="#MLACore" title="Class MLA (Media Library Assistant) Core is the minimum support required for all other MLA features">MLACore</a></li>
80
  <li><a href="#MLA_Checklist_Walker" title="Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output">MLA_Checklist_Walker</a></li>
81
  <li><a href="#MLAPDF" title="Class MLA (Media Library Assistant) PDF extracts legacy and XMP meta data from PDF files">MLAPDF</a></li>
121
  <li><a href="#MLA_WPML_List_Table" title="Class MLA (Media Library Assistant) WPML List Table adds a reference to an MLA_WPML object">MLA_WPML_List_Table</a></li>
122
  <li><a href="#MLA_WPML_Table" title="Class MLA (Media Library Assistant) WPML Table provides support for the WPML Multilingual CMS
123
  family of plugins, including WPML Media, for an MLA_List_Table object.">MLA_WPML_Table</a></li>
124
+ <li><a href="#MLAUninstall" title="Class MLA (Media Library Assistant) Uninstall deletes the data associated with the MLA plugin">MLAUninstall</a></li>
125
  <li><a href="#MLATest" title="Class MLA (Media Library Assistant) Test provides basic run-time tests
126
  to ensure the plugin can run in the current WordPress envrionment.">MLATest</a></li>
127
  <li class="nav-header">
128
  <i class="icon-custom icon-constant"></i> Constants</li>
129
  <li class="constant "><a href="#MLA_BACKUP_DIR" title="MLA_BACKUP_DIR :: "><span class="description">MLA_BACKUP_DIR</span><pre>MLA_BACKUP_DIR</pre></a></li>
130
+ <li class="constant "><a href="#MLA_BACKUP_DIR" title="MLA_BACKUP_DIR :: "><span class="description">MLA_BACKUP_DIR</span><pre>MLA_BACKUP_DIR</pre></a></li>
131
  <li class="constant "><a href="#MLA_DEBUG_LEVEL" title="MLA_DEBUG_LEVEL :: Activates debug options; can be set in wp-config.php"><span class="description">Activates debug options; can be set in wp-config.php</span><pre>MLA_DEBUG_LEVEL</pre></a></li>
132
  <li class="constant "><a href="#MLA_OPTION_PREFIX" title="MLA_OPTION_PREFIX :: Gives a unique prefix for plugin options; can be set in wp-config.php"><span class="description">Gives a unique prefix for plugin options; can be set in wp-config.php</span><pre>MLA_OPTION_PREFIX</pre></a></li>
133
+ <li class="constant "><a href="#MLA_OPTION_PREFIX" title="MLA_OPTION_PREFIX :: Gives a unique prefix for plugin options; can be set in wp-config.php"><span class="description">Gives a unique prefix for plugin options; can be set in wp-config.php</span><pre>MLA_OPTION_PREFIX</pre></a></li>
134
  <li class="constant "><a href="#MLA_PLUGIN_BASENAME" title="MLA_PLUGIN_BASENAME :: Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes."><span class="description">Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</span><pre>MLA_PLUGIN_BASENAME</pre></a></li>
135
  <li class="constant "><a href="#MLA_PLUGIN_PATH" title="MLA_PLUGIN_PATH :: Provides path information to the plugin root in file system format, including the trailing slash."><span class="description">Provides path information to the plugin root in file system format, including the trailing slash.</span><pre>MLA_PLUGIN_PATH</pre></a></li>
136
+ <li class="constant "><a href="#MLA_PLUGIN_PATH" title="MLA_PLUGIN_PATH :: Provides path information to the plugin root in file system format, including the trailing slash."><span class="description">Provides path information to the plugin root in file system format, including the trailing slash.</span><pre>MLA_PLUGIN_PATH</pre></a></li>
137
  <li class="constant "><a href="#MLA_PLUGIN_URL" title="MLA_PLUGIN_URL :: Provides path information to the plugin root in URL format."><span class="description">Provides path information to the plugin root in URL format.</span><pre>MLA_PLUGIN_URL</pre></a></li>
138
  </ul>
139
  </div>
195
  <div class="details collapse"></div>
196
  <a href="../classes/MLACore.html" class="more">« More »</a>
197
  </div>
198
+ <a name="MLACoreOptions" id="MLACoreOptions"></a><div class="element ajax clickable class" href="../classes/MLACoreOptions.html">
199
+ <h1>MLACoreOptions<a href="../classes/MLACoreOptions.html">¶</a>
200
+ </h1>
201
+ <p class="short_description">Class MLA (Media Library Assistant) Core Options defines MLA option settings and defaults</p>
202
+ <div class="details collapse"></div>
203
+ <a href="../classes/MLACoreOptions.html" class="more">« More »</a>
204
+ </div>
205
  <a name="MLAData" id="MLAData"></a><div class="element ajax clickable class" href="../classes/MLAData.html">
206
  <h1>MLAData<a href="../classes/MLAData.html">¶</a>
207
  </h1>
339
  <div class="details collapse"></div>
340
  <a href="../classes/MLATextWidget.html" class="more">« More »</a>
341
  </div>
342
+ <a name="MLAUninstall" id="MLAUninstall"></a><div class="element ajax clickable class" href="../classes/MLAUninstall.html">
343
+ <h1>MLAUninstall<a href="../classes/MLAUninstall.html">¶</a>
344
+ </h1>
345
+ <p class="short_description">Class MLA (Media Library Assistant) Uninstall deletes the data associated with the MLA plugin</p>
346
+ <div class="details collapse"></div>
347
+ <a href="../classes/MLAUninstall.html" class="more">« More »</a>
348
+ </div>
349
  <a name="MLA_Ajax" id="MLA_Ajax"></a><div class="element ajax clickable class" href="../classes/MLA_Ajax.html">
350
  <h1>MLA_Ajax<a href="../classes/MLA_Ajax.html">¶</a>
351
  </h1>
443
  <div class="labels"></div>
444
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
445
  </div>
446
+ <a name="MLA_BACKUP_DIR" id="MLA_BACKUP_DIR"> </a><div class="element clickable constant MLA_BACKUP_DIR" data-toggle="collapse" data-target=".MLA_BACKUP_DIR .collapse">
447
+ <h2>MLA_BACKUP_DIR</h2>
448
+ <pre>MLA_BACKUP_DIR </pre>
449
+ <div class="labels"></div>
450
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
451
+ </div>
452
  <a name="MLA_DEBUG_LEVEL" id="MLA_DEBUG_LEVEL"> </a><div class="element clickable constant MLA_DEBUG_LEVEL" data-toggle="collapse" data-target=".MLA_DEBUG_LEVEL .collapse">
453
  <h2>Activates debug options; can be set in wp-config.php</h2>
454
  <pre>MLA_DEBUG_LEVEL </pre>
461
  <div class="labels"></div>
462
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
463
  </div>
464
+ <a name="MLA_OPTION_PREFIX" id="MLA_OPTION_PREFIX"> </a><div class="element clickable constant MLA_OPTION_PREFIX" data-toggle="collapse" data-target=".MLA_OPTION_PREFIX .collapse">
465
+ <h2>Gives a unique prefix for plugin options; can be set in wp-config.php</h2>
466
+ <pre>MLA_OPTION_PREFIX </pre>
467
+ <div class="labels"></div>
468
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
469
+ </div>
470
  <a name="MLA_PLUGIN_BASENAME" id="MLA_PLUGIN_BASENAME"> </a><div class="element clickable constant MLA_PLUGIN_BASENAME" data-toggle="collapse" data-target=".MLA_PLUGIN_BASENAME .collapse">
471
  <h2>Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</h2>
472
  <pre>MLA_PLUGIN_BASENAME </pre>
479
  <div class="labels"></div>
480
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
481
  </div>
482
+ <a name="MLA_PLUGIN_PATH" id="MLA_PLUGIN_PATH"> </a><div class="element clickable constant MLA_PLUGIN_PATH" data-toggle="collapse" data-target=".MLA_PLUGIN_PATH .collapse">
483
+ <h2>Provides path information to the plugin root in file system format, including the trailing slash.</h2>
484
+ <pre>MLA_PLUGIN_PATH </pre>
485
+ <div class="labels"></div>
486
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
487
+ </div>
488
  <a name="MLA_PLUGIN_URL" id="MLA_PLUGIN_URL"> </a><div class="element clickable constant MLA_PLUGIN_URL" data-toggle="collapse" data-target=".MLA_PLUGIN_URL .collapse">
489
  <h2>Provides path information to the plugin root in URL format.</h2>
490
  <pre>MLA_PLUGIN_URL </pre>
701
  <div class="row"><footer class="span12">
702
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
703
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
704
+ generated on 2016-04-08T17:25:39-07:00.<br></footer></div>
705
  </div>
706
  </body>
707
  </html>
phpDocs/structure.xml CHANGED
@@ -622,17 +622,17 @@ different template.</p>]]></long-description>
622
  <tag line="2" name="since" description="MLA 1.80"/>
623
  </docblock>
624
  </file>
625
- <file path="includes\class-mla-admin-columns-support.php" hash="38838d3c528a4b97123f7762468f884e" package="Media Library Assistant">
626
  <docblock line="2">
627
  <description><![CDATA[Media Library Assistant Admin Columns (plugin) Support]]></description>
628
  <long-description><![CDATA[]]></long-description>
629
  <tag line="2" name="package" description="Media Library Assistant"/>
630
  <tag line="2" name="since" description="2.22"/>
631
  </docblock>
632
- <include line="60" type="Require Once" package="Media Library Assistant">
633
  <name/>
634
  </include>
635
- <include line="76" type="Require Once" package="Media Library Assistant">
636
  <name/>
637
  </include>
638
  <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
@@ -645,150 +645,162 @@ different template.</p>]]></long-description>
645
  <tag line="10" name="package" description="Media Library Assistant"/>
646
  <tag line="10" name="since" description="2.22"/>
647
  </docblock>
648
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="23" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
 
 
 
649
  <name>__construct</name>
650
  <full_name>__construct</full_name>
651
- <docblock line="17">
652
  <description><![CDATA[Initializes some properties, installs filters and then
653
  calls the parent constructor to set some default configs.]]></description>
654
  <long-description><![CDATA[]]></long-description>
655
- <tag line="17" name="since" description="2.22"/>
656
  </docblock>
657
  </method>
658
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="45" package="Media Library Assistant">
659
  <name>init_manage_columns</name>
660
  <full_name>init_manage_columns</full_name>
661
- <docblock line="40">
662
  <description><![CDATA[Added in Admin Columns update to v2.4.9]]></description>
663
  <long-description><![CDATA[]]></long-description>
664
- <tag line="40" name="since" description="2.23"/>
665
  </docblock>
666
  </method>
667
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="58" package="Media Library Assistant">
668
  <name>get_default_columns</name>
669
  <full_name>get_default_columns</full_name>
670
- <docblock line="51">
671
  <description><![CDATA[Returns the Media/Assistant submenu table column definitions]]></description>
672
  <long-description><![CDATA[]]></long-description>
673
- <tag line="51" name="since" description="2.22"/>
674
- <tag line="51" name="return" description="( 'column_slug' =&gt; 'column_heading' )" type="array">
675
  <type by_reference="false">array</type>
676
  </tag>
677
  </docblock>
678
  </method>
679
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="74" package="Media Library Assistant">
680
  <name>get_default_column_names</name>
681
  <full_name>get_default_column_names</full_name>
682
- <docblock line="67">
683
  <description><![CDATA[Returns the Media/Assistant submenu table column slugs/keys]]></description>
684
  <long-description><![CDATA[]]></long-description>
685
- <tag line="67" name="since" description="2.22"/>
686
- <tag line="67" name="return" description="( index =&gt; 'column_slug' )" type="array">
687
  <type by_reference="false">array</type>
688
  </tag>
689
  </docblock>
690
  </method>
691
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="91" package="Media Library Assistant">
692
  <name>get_meta</name>
693
  <full_name>get_meta</full_name>
694
- <docblock line="83">
695
  <description><![CDATA[Returns the custom fields assigned to Media Library items, removing those already present
696
  in the Media/Assistant submenu table]]></description>
697
  <long-description><![CDATA[]]></long-description>
698
- <tag line="83" name="since" description="2.22"/>
699
- <tag line="83" name="return" description="( index =&gt; array( 0 =&gt; 'custom field name' ) )" type="array">
700
  <type by_reference="false">array</type>
701
  </tag>
702
  </docblock>
703
  </method>
704
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="133" package="Media Library Assistant">
705
  <name>manage_value</name>
706
  <full_name>manage_value</full_name>
707
- <docblock line="122">
708
  <description><![CDATA[Return the content of an Admin Columns custom column]]></description>
709
  <long-description><![CDATA[]]></long-description>
710
- <tag line="122" name="since" description="2.22"/>
711
- <tag line="122" name="param" description="Current column content (empty string)" type="string" variable="$content">
712
  <type by_reference="false">string</type>
713
  </tag>
714
- <tag line="122" name="param" description="Current Media Library item" type="object" variable="$item">
715
  <type by_reference="false">object</type>
716
  </tag>
717
- <tag line="122" name="param" description="Current column slug" type="string" variable="$column_name">
718
  <type by_reference="false">string</type>
719
  </tag>
720
- <tag line="122" name="return" description="Column value or NULL if not an Admin Columns custom column" type="string">
721
  <type by_reference="false">string</type>
722
  </tag>
723
  </docblock>
724
- <argument line="133">
725
  <name>$content</name>
726
  <default><![CDATA[]]></default>
727
  <type/>
728
  </argument>
729
- <argument line="133">
730
  <name>$item</name>
731
  <default><![CDATA[]]></default>
732
  <type/>
733
  </argument>
734
- <argument line="133">
735
  <name>$column_name</name>
736
  <default><![CDATA[]]></default>
737
  <type/>
738
  </argument>
739
  </method>
740
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="157" package="Media Library Assistant">
741
  <name>is_current_screen</name>
742
  <full_name>is_current_screen</full_name>
743
- <docblock line="149">
744
  <description><![CDATA[Test for current screen = the Media/Assistant submenu screen,
745
  For Admin Columns 2.4.9+]]></description>
746
  <long-description><![CDATA[]]></long-description>
747
- <tag line="149" name="since" description="2.23"/>
748
- <tag line="149" name="return" description="true if the Media/Assistant submenu is the current screen" type="boolean">
749
  <type by_reference="false">boolean</type>
750
  </tag>
751
  </docblock>
752
  </method>
753
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="175" package="Media Library Assistant">
754
  <name>is_columns_screen</name>
755
  <full_name>is_columns_screen</full_name>
756
- <docblock line="168">
757
  <description><![CDATA[Test for current screen = the Media/Assistant submenu screen]]></description>
758
  <long-description><![CDATA[]]></long-description>
759
- <tag line="168" name="since" description="2.22"/>
760
- <tag line="168" name="return" description="true if the Media/Assistant submenu is the current screen" type="boolean">
761
  <type by_reference="false">boolean</type>
762
  </tag>
763
  </docblock>
764
  </method>
765
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="193" package="Media Library Assistant">
766
  <name>get_screen_link</name>
767
  <full_name>get_screen_link</full_name>
768
- <docblock line="186">
769
  <description><![CDATA[Return a link to the Media/Assistant submenu screen]]></description>
770
  <long-description><![CDATA[]]></long-description>
771
- <tag line="186" name="since" description="2.22"/>
772
- <tag line="186" name="return" description="Link to the Media/Assistant submenu screen" type="string">
773
  <type by_reference="false">string</type>
774
  </tag>
775
  </docblock>
776
  </method>
777
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="204" package="Media Library Assistant">
778
  <name>get_edit_link</name>
779
  <full_name>get_edit_link</full_name>
780
- <docblock line="197">
781
  <description><![CDATA[Return a link to the Media/Assistant submenu Edit columns screen]]></description>
782
  <long-description><![CDATA[]]></long-description>
783
- <tag line="197" name="since" description="2.22"/>
784
- <tag line="197" name="return" description="Link to the Media/Assistant submenu Edit columns screen" type="string">
785
  <type by_reference="false">string</type>
786
  </tag>
787
  </docblock>
788
  </method>
789
  </class>
790
  </file>
791
- <file path="includes\class-mla-ajax.php" hash="a3d749eb55ed21d0d84b3ed34c7d1a02" package="Media Library Assistant">
792
  <docblock line="2">
793
  <description><![CDATA[Media Library Assistant Ajax Handlers]]></description>
794
  <long-description><![CDATA[]]></long-description>
@@ -882,695 +894,802 @@ Adds filters for post type and pagination.</p>]]></long-description>
882
  </method>
883
  </class>
884
  </file>
885
- <file path="includes\class-mla-core.php" hash="e95ba3310cb0b17ddb764434002039ff" package="Media Library Assistant">
886
  <docblock line="2">
887
- <description><![CDATA[Media Library Assistant Core objects]]></description>
888
  <long-description><![CDATA[]]></long-description>
889
  <tag line="2" name="package" description="Media Library Assistant"/>
890
- <tag line="2" name="since" description="2.20"/>
891
  </docblock>
892
- <include line="2528" type="Require Once" package="Media Library Assistant">
893
- <name/>
894
- </include>
895
- <include line="2623" type="Require Once" package="Media Library Assistant">
896
- <name/>
897
- </include>
898
- <include line="2629" type="Require Once" package="Media Library Assistant">
899
- <name/>
900
- </include>
901
  <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
902
  <extends/>
903
- <name>MLACore</name>
904
- <full_name>\MLACore</full_name>
905
  <docblock line="10">
906
- <description><![CDATA[Class MLA (Media Library Assistant) Core is the minimum support required for all other MLA features]]></description>
907
  <long-description><![CDATA[]]></long-description>
908
  <tag line="10" name="package" description="Media Library Assistant"/>
909
- <tag line="10" name="since" description="2.20"/>
910
  </docblock>
911
- <constant namespace="global" line="42" package="Media Library Assistant">
912
- <name>MLA_DEBUG_CATEGORY_AJAX</name>
913
- <full_name>MLA_DEBUG_CATEGORY_AJAX</full_name>
914
- <value><![CDATA[2]]></value>
915
- <docblock line="35">
916
- <description><![CDATA[Constant to log Ajax debug activity]]></description>
917
- <long-description><![CDATA[]]></long-description>
918
- <tag line="35" name="since" description="2.13"/>
919
- <tag line="35" name="var" description="" type="integer">
920
- <type by_reference="false">integer</type>
921
- </tag>
922
- </docblock>
923
- </constant>
924
- <constant namespace="global" line="51" package="Media Library Assistant">
925
- <name>MLA_DEBUG_CATEGORY_LANGUAGE</name>
926
- <full_name>MLA_DEBUG_CATEGORY_LANGUAGE</full_name>
927
- <value><![CDATA[4]]></value>
928
- <docblock line="44">
929
- <description><![CDATA[Constant to log WPML/Polylang action/filter activity]]></description>
930
- <long-description><![CDATA[]]></long-description>
931
- <tag line="44" name="since" description="2.15"/>
932
- <tag line="44" name="var" description="" type="integer">
933
- <type by_reference="false">integer</type>
934
- </tag>
935
- </docblock>
936
- </constant>
937
- <constant namespace="global" line="60" package="Media Library Assistant">
938
- <name>MLA_DEBUG_CATEGORY_THUMBNAIL</name>
939
- <full_name>MLA_DEBUG_CATEGORY_THUMBNAIL</full_name>
940
- <value><![CDATA[8]]></value>
941
- <docblock line="53">
942
- <description><![CDATA[Constant to log Ghostscript/Imagick activity]]></description>
943
- <long-description><![CDATA[]]></long-description>
944
- <tag line="53" name="since" description="2.23"/>
945
- <tag line="53" name="var" description="" type="integer">
946
- <type by_reference="false">integer</type>
947
- </tag>
948
- </docblock>
949
- </constant>
950
- <constant namespace="global" line="69" package="Media Library Assistant">
951
- <name>ADMIN_PAGE_SLUG</name>
952
- <full_name>ADMIN_PAGE_SLUG</full_name>
953
- <value><![CDATA['mla-menu']]></value>
954
- <docblock line="62">
955
- <description><![CDATA[Slug for adding plugin submenu]]></description>
956
- <long-description><![CDATA[]]></long-description>
957
- <tag line="62" name="since" description="0.1"/>
958
- <tag line="62" name="var" description="" type="string">
959
- <type by_reference="false">string</type>
960
- </tag>
961
- </docblock>
962
- </constant>
963
- <constant namespace="global" line="78" package="Media Library Assistant">
964
- <name>MLA_ADMIN_SINGLE_DELETE</name>
965
- <full_name>MLA_ADMIN_SINGLE_DELETE</full_name>
966
- <value><![CDATA['single_item_delete']]></value>
967
- <docblock line="71">
968
- <description><![CDATA[mla_admin_action value for permanently deleting a single item]]></description>
969
- <long-description><![CDATA[]]></long-description>
970
- <tag line="71" name="since" description="0.1"/>
971
- <tag line="71" name="var" description="" type="string">
972
- <type by_reference="false">string</type>
973
- </tag>
974
- </docblock>
975
- </constant>
976
- <constant namespace="global" line="87" package="Media Library Assistant">
977
- <name>MLA_ADMIN_SINGLE_TRASH</name>
978
- <full_name>MLA_ADMIN_SINGLE_TRASH</full_name>
979
- <value><![CDATA['single_item_trash']]></value>
980
- <docblock line="80">
981
- <description><![CDATA[mla_admin_action value for moving a single item to the trash]]></description>
982
- <long-description><![CDATA[]]></long-description>
983
- <tag line="80" name="since" description="0.1"/>
984
- <tag line="80" name="var" description="" type="string">
985
- <type by_reference="false">string</type>
986
- </tag>
987
- </docblock>
988
- </constant>
989
- <constant namespace="global" line="96" package="Media Library Assistant">
990
- <name>MLA_ADMIN_SINGLE_RESTORE</name>
991
- <full_name>MLA_ADMIN_SINGLE_RESTORE</full_name>
992
- <value><![CDATA['single_item_restore']]></value>
993
- <docblock line="89">
994
- <description><![CDATA[mla_admin_action value for restoring a single item from the trash]]></description>
995
- <long-description><![CDATA[]]></long-description>
996
- <tag line="89" name="since" description="0.1"/>
997
- <tag line="89" name="var" description="" type="string">
998
- <type by_reference="false">string</type>
999
- </tag>
1000
- </docblock>
1001
- </constant>
1002
- <constant namespace="global" line="105" package="Media Library Assistant">
1003
- <name>MLA_ADMIN_NONCE_ACTION</name>
1004
- <full_name>MLA_ADMIN_NONCE_ACTION</full_name>
1005
- <value><![CDATA['mla_admin_nonce_action']]></value>
1006
- <docblock line="98">
1007
- <description><![CDATA[Action name; gives a context for the nonce]]></description>
1008
- <long-description><![CDATA[]]></long-description>
1009
- <tag line="98" name="since" description="0.1"/>
1010
- <tag line="98" name="var" description="" type="string">
1011
- <type by_reference="false">string</type>
1012
- </tag>
1013
- </docblock>
1014
- </constant>
1015
- <constant namespace="global" line="114" package="Media Library Assistant">
1016
- <name>MLA_ADMIN_NONCE_NAME</name>
1017
- <full_name>MLA_ADMIN_NONCE_NAME</full_name>
1018
- <value><![CDATA['mla_admin_nonce']]></value>
1019
- <docblock line="107">
1020
- <description><![CDATA[Nonce name; uniquely identifies the nonce]]></description>
1021
- <long-description><![CDATA[]]></long-description>
1022
- <tag line="107" name="since" description="2.13"/>
1023
- <tag line="107" name="var" description="" type="string">
1024
- <type by_reference="false">string</type>
1025
- </tag>
1026
- </docblock>
1027
- </constant>
1028
- <constant namespace="global" line="123" package="Media Library Assistant">
1029
- <name>JAVASCRIPT_INLINE_EDIT_SLUG</name>
1030
- <full_name>JAVASCRIPT_INLINE_EDIT_SLUG</full_name>
1031
- <value><![CDATA['mla-inline-edit-scripts']]></value>
1032
- <docblock line="116">
1033
- <description><![CDATA[Slug for localizing and enqueueing JavaScript - MLA List Table]]></description>
1034
- <long-description><![CDATA[]]></long-description>
1035
- <tag line="116" name="since" description="0.20"/>
1036
- <tag line="116" name="var" description="" type="string">
1037
- <type by_reference="false">string</type>
1038
- </tag>
1039
- </docblock>
1040
- </constant>
1041
- <constant namespace="global" line="132" package="Media Library Assistant">
1042
- <name>JAVASCRIPT_QUERY_ATTACHMENTS_ACTION</name>
1043
- <full_name>JAVASCRIPT_QUERY_ATTACHMENTS_ACTION</full_name>
1044
- <value><![CDATA['mla-query-attachments']]></value>
1045
- <docblock line="125">
1046
- <description><![CDATA[Slug for the "query attachments" action - Add Media and related dialogs]]></description>
1047
- <long-description><![CDATA[]]></long-description>
1048
- <tag line="125" name="since" description="1.80"/>
1049
- <tag line="125" name="var" description="" type="string">
1050
- <type by_reference="false">string</type>
1051
- </tag>
1052
- </docblock>
1053
- </constant>
1054
- <constant namespace="global" line="141" package="Media Library Assistant">
1055
- <name>JAVASCRIPT_FILL_COMPAT_ACTION</name>
1056
- <full_name>JAVASCRIPT_FILL_COMPAT_ACTION</full_name>
1057
- <value><![CDATA['mla-fill-compat-fields']]></value>
1058
- <docblock line="134">
1059
- <description><![CDATA[Slug for the "fill compat-attachment-fields" action - Add Media and related dialogs]]></description>
1060
- <long-description><![CDATA[]]></long-description>
1061
- <tag line="134" name="since" description="1.80"/>
1062
- <tag line="134" name="var" description="" type="string">
1063
- <type by_reference="false">string</type>
1064
- </tag>
1065
- </docblock>
1066
- </constant>
1067
- <constant namespace="global" line="150" package="Media Library Assistant">
1068
- <name>JAVASCRIPT_UPDATE_COMPAT_ACTION</name>
1069
- <full_name>JAVASCRIPT_UPDATE_COMPAT_ACTION</full_name>
1070
- <value><![CDATA['mla-update-compat-fields']]></value>
1071
- <docblock line="143">
1072
- <description><![CDATA[Slug for the "update compat-attachment-fields" action - Add Media and related dialogs]]></description>
1073
- <long-description><![CDATA[]]></long-description>
1074
- <tag line="143" name="since" description="1.80"/>
1075
- <tag line="143" name="var" description="" type="string">
1076
- <type by_reference="false">string</type>
1077
- </tag>
1078
- </docblock>
1079
- </constant>
1080
- <constant namespace="global" line="159" package="Media Library Assistant">
1081
  <name>MLA_SETTINGS_SLUG</name>
1082
  <full_name>MLA_SETTINGS_SLUG</full_name>
1083
  <value><![CDATA['mla-settings-menu']]></value>
1084
- <docblock line="152">
1085
  <description><![CDATA[Provides a unique name for the settings page]]></description>
1086
  <long-description><![CDATA[]]></long-description>
1087
- <tag line="152" name="since" description="2.20"/>
1088
- <tag line="152" name="var" description="" type="string">
1089
  <type by_reference="false">string</type>
1090
  </tag>
1091
  </docblock>
1092
  </constant>
1093
- <constant namespace="global" line="164" package="Media Library Assistant">
1094
  <name>MLA_VERSION_OPTION</name>
1095
  <full_name>MLA_VERSION_OPTION</full_name>
1096
  <value><![CDATA['current_version']]></value>
1097
- <docblock line="161">
1098
  <description><![CDATA[Provides a unique name for the current version option]]></description>
1099
  <long-description><![CDATA[]]></long-description>
1100
  </docblock>
1101
  </constant>
1102
- <constant namespace="global" line="169" package="Media Library Assistant">
1103
  <name>MLA_EXCLUDE_REVISIONS</name>
1104
  <full_name>MLA_EXCLUDE_REVISIONS</full_name>
1105
  <value><![CDATA['exclude_revisions']]></value>
1106
- <docblock line="166">
1107
  <description><![CDATA[Provides a unique name for the exclude revisions option]]></description>
1108
  <long-description><![CDATA[]]></long-description>
1109
  </docblock>
1110
  </constant>
1111
- <constant namespace="global" line="174" package="Media Library Assistant">
1112
  <name>MLA_FEATURED_IN_TUNING</name>
1113
  <full_name>MLA_FEATURED_IN_TUNING</full_name>
1114
  <value><![CDATA['featured_in_tuning']]></value>
1115
- <docblock line="171">
1116
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
1117
  <long-description><![CDATA[]]></long-description>
1118
  </docblock>
1119
  </constant>
1120
- <constant namespace="global" line="179" package="Media Library Assistant">
1121
  <name>MLA_INSERTED_IN_TUNING</name>
1122
  <full_name>MLA_INSERTED_IN_TUNING</full_name>
1123
  <value><![CDATA['inserted_in_tuning']]></value>
1124
- <docblock line="176">
1125
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
1126
  <long-description><![CDATA[]]></long-description>
1127
  </docblock>
1128
  </constant>
1129
- <constant namespace="global" line="184" package="Media Library Assistant">
1130
  <name>MLA_GALLERY_IN_TUNING</name>
1131
  <full_name>MLA_GALLERY_IN_TUNING</full_name>
1132
  <value><![CDATA['gallery_in_tuning']]></value>
1133
- <docblock line="181">
1134
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
1135
  <long-description><![CDATA[]]></long-description>
1136
  </docblock>
1137
  </constant>
1138
- <constant namespace="global" line="189" package="Media Library Assistant">
1139
  <name>MLA_MLA_GALLERY_IN_TUNING</name>
1140
  <full_name>MLA_MLA_GALLERY_IN_TUNING</full_name>
1141
  <value><![CDATA['mla_gallery_in_tuning']]></value>
1142
- <docblock line="186">
1143
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
1144
  <long-description><![CDATA[]]></long-description>
1145
  </docblock>
1146
  </constant>
1147
- <constant namespace="global" line="194" package="Media Library Assistant">
1148
  <name>MLA_COUNT_TERM_ATTACHMENTS</name>
1149
  <full_name>MLA_COUNT_TERM_ATTACHMENTS</full_name>
1150
  <value><![CDATA['count_term_attachments']]></value>
1151
- <docblock line="191">
1152
  <description><![CDATA[Provides a unique name for the taxonomy count Attachments option]]></description>
1153
  <long-description><![CDATA[]]></long-description>
1154
  </docblock>
1155
  </constant>
1156
- <constant namespace="global" line="199" package="Media Library Assistant">
1157
  <name>MLA_TAXONOMY_SUPPORT</name>
1158
  <full_name>MLA_TAXONOMY_SUPPORT</full_name>
1159
  <value><![CDATA['taxonomy_support']]></value>
1160
- <docblock line="196">
1161
  <description><![CDATA[Provides a unique name for the taxonomy support option]]></description>
1162
  <long-description><![CDATA[]]></long-description>
1163
  </docblock>
1164
  </constant>
1165
- <constant namespace="global" line="204" package="Media Library Assistant">
1166
  <name>MLA_SCREEN_PAGE_TITLE</name>
1167
  <full_name>MLA_SCREEN_PAGE_TITLE</full_name>
1168
  <value><![CDATA['admin_screen_page_title']]></value>
1169
- <docblock line="201">
1170
  <description><![CDATA[Provides a unique name for the admin screen page title option]]></description>
1171
  <long-description><![CDATA[]]></long-description>
1172
  </docblock>
1173
  </constant>
1174
- <constant namespace="global" line="209" package="Media Library Assistant">
1175
  <name>MLA_SCREEN_MENU_TITLE</name>
1176
  <full_name>MLA_SCREEN_MENU_TITLE</full_name>
1177
  <value><![CDATA['admin_screen_menu_title']]></value>
1178
- <docblock line="206">
1179
  <description><![CDATA[Provides a unique name for the admin screen menu title option]]></description>
1180
  <long-description><![CDATA[]]></long-description>
1181
  </docblock>
1182
  </constant>
1183
- <constant namespace="global" line="214" package="Media Library Assistant">
1184
  <name>MLA_SCREEN_ORDER</name>
1185
  <full_name>MLA_SCREEN_ORDER</full_name>
1186
  <value><![CDATA['admin_screen_menu_order']]></value>
1187
- <docblock line="211">
1188
  <description><![CDATA[Provides a unique name for the admin screen menu order option]]></description>
1189
  <long-description><![CDATA[]]></long-description>
1190
  </docblock>
1191
  </constant>
1192
- <constant namespace="global" line="219" package="Media Library Assistant">
1193
  <name>MLA_SCREEN_DISPLAY_LIBRARY</name>
1194
  <full_name>MLA_SCREEN_DISPLAY_LIBRARY</full_name>
1195
  <value><![CDATA['admin_screen_display_default']]></value>
1196
- <docblock line="216">
1197
  <description><![CDATA[Provides a unique name for the admin screen remove Media/Library option]]></description>
1198
  <long-description><![CDATA[]]></long-description>
1199
  </docblock>
1200
  </constant>
1201
- <constant namespace="global" line="224" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
1202
  <name>MLA_DEFAULT_ORDERBY</name>
1203
  <full_name>MLA_DEFAULT_ORDERBY</full_name>
1204
  <value><![CDATA['default_orderby']]></value>
1205
- <docblock line="221">
1206
  <description><![CDATA[Provides a unique name for the default orderby option]]></description>
1207
  <long-description><![CDATA[]]></long-description>
1208
  </docblock>
1209
  </constant>
1210
- <constant namespace="global" line="229" package="Media Library Assistant">
1211
  <name>MLA_DEFAULT_ORDER</name>
1212
  <full_name>MLA_DEFAULT_ORDER</full_name>
1213
  <value><![CDATA['default_order']]></value>
1214
- <docblock line="226">
1215
  <description><![CDATA[Provides a unique name for the default order option]]></description>
1216
  <long-description><![CDATA[]]></long-description>
1217
  </docblock>
1218
  </constant>
1219
- <constant namespace="global" line="234" package="Media Library Assistant">
1220
  <name>MLA_TABLE_VIEWS_WIDTH</name>
1221
  <full_name>MLA_TABLE_VIEWS_WIDTH</full_name>
1222
  <value><![CDATA['table_views_width']]></value>
1223
- <docblock line="231">
1224
  <description><![CDATA[Provides a unique name for the Media/Assistant submenu table views width option]]></description>
1225
  <long-description><![CDATA[]]></long-description>
1226
  </docblock>
1227
  </constant>
1228
- <constant namespace="global" line="239" package="Media Library Assistant">
1229
  <name>MLA_TABLE_ICON_SIZE</name>
1230
  <full_name>MLA_TABLE_ICON_SIZE</full_name>
1231
  <value><![CDATA['table_icon_size']]></value>
1232
- <docblock line="236">
1233
  <description><![CDATA[Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option]]></description>
1234
  <long-description><![CDATA[]]></long-description>
1235
  </docblock>
1236
  </constant>
1237
- <constant namespace="global" line="244" package="Media Library Assistant">
1238
  <name>MLA_BULK_CHUNK_SIZE</name>
1239
  <full_name>MLA_BULK_CHUNK_SIZE</full_name>
1240
  <value><![CDATA['bulk_chunk_size']]></value>
1241
- <docblock line="241">
1242
  <description><![CDATA[Provides a unique name for the Bulk Update and Map All chunk size option]]></description>
1243
  <long-description><![CDATA[]]></long-description>
1244
  </docblock>
1245
  </constant>
1246
- <constant namespace="global" line="249" package="Media Library Assistant">
1247
  <name>MLA_TAXONOMY_FILTER_DEPTH</name>
1248
  <full_name>MLA_TAXONOMY_FILTER_DEPTH</full_name>
1249
  <value><![CDATA['taxonomy_filter_depth']]></value>
1250
- <docblock line="246">
1251
  <description><![CDATA[Provides a unique name for the taxonomy filter maximum depth option]]></description>
1252
  <long-description><![CDATA[]]></long-description>
1253
  </docblock>
1254
  </constant>
1255
- <constant namespace="global" line="254" package="Media Library Assistant">
1256
  <name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</name>
1257
  <full_name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</full_name>
1258
  <value><![CDATA['taxonomy_filter_include_children']]></value>
1259
- <docblock line="251">
622
  <tag line="2" name="since" description="MLA 1.80"/>
623
  </docblock>
624
  </file>
625
+ <file path="includes\class-mla-admin-columns-support.php" hash="c8d7411956c5b0cfbf6deaaad3ef99be" package="Media Library Assistant">
626
  <docblock line="2">
627
  <description><![CDATA[Media Library Assistant Admin Columns (plugin) Support]]></description>
628
  <long-description><![CDATA[]]></long-description>
629
  <tag line="2" name="package" description="Media Library Assistant"/>
630
  <tag line="2" name="since" description="2.22"/>
631
  </docblock>
632
+ <include line="69" type="Require Once" package="Media Library Assistant">
633
  <name/>
634
  </include>
635
+ <include line="85" type="Require Once" package="Media Library Assistant">
636
  <name/>
637
  </include>
638
  <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
645
  <tag line="10" name="package" description="Media Library Assistant"/>
646
  <tag line="10" name="since" description="2.22"/>
647
  </docblock>
648
+ <property final="false" static="false" visibility="public" line="23" namespace="global" package="Media Library Assistant">
649
+ <name>$subpage</name>
650
+ <default><![CDATA[]]></default>
651
+ <docblock line="17">
652
+ <description><![CDATA[Identifies submenu entry in the Admin sidebar, e.g., Media/Assistant in Media]]></description>
653
+ <long-description><![CDATA[]]></long-description>
654
+ <tag line="17" name="since" description="2.25"/>
655
+ <tag line="17" name="var" description="" type="string">
656
+ <type by_reference="false">string</type>
657
+ </tag>
658
+ </docblock>
659
+ </property>
660
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="31" package="Media Library Assistant">
661
  <name>__construct</name>
662
  <full_name>__construct</full_name>
663
+ <docblock line="25">
664
  <description><![CDATA[Initializes some properties, installs filters and then
665
  calls the parent constructor to set some default configs.]]></description>
666
  <long-description><![CDATA[]]></long-description>
667
+ <tag line="25" name="since" description="2.22"/>
668
  </docblock>
669
  </method>
670
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="54" package="Media Library Assistant">
671
  <name>init_manage_columns</name>
672
  <full_name>init_manage_columns</full_name>
673
+ <docblock line="49">
674
  <description><![CDATA[Added in Admin Columns update to v2.4.9]]></description>
675
  <long-description><![CDATA[]]></long-description>
676
+ <tag line="49" name="since" description="2.23"/>
677
  </docblock>
678
  </method>
679
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="67" package="Media Library Assistant">
680
  <name>get_default_columns</name>
681
  <full_name>get_default_columns</full_name>
682
+ <docblock line="60">
683
  <description><![CDATA[Returns the Media/Assistant submenu table column definitions]]></description>
684
  <long-description><![CDATA[]]></long-description>
685
+ <tag line="60" name="since" description="2.22"/>
686
+ <tag line="60" name="return" description="( 'column_slug' =&gt; 'column_heading' )" type="array">
687
  <type by_reference="false">array</type>
688
  </tag>
689
  </docblock>
690
  </method>
691
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="83" package="Media Library Assistant">
692
  <name>get_default_column_names</name>
693
  <full_name>get_default_column_names</full_name>
694
+ <docblock line="76">
695
  <description><![CDATA[Returns the Media/Assistant submenu table column slugs/keys]]></description>
696
  <long-description><![CDATA[]]></long-description>
697
+ <tag line="76" name="since" description="2.22"/>
698
+ <tag line="76" name="return" description="( index =&gt; 'column_slug' )" type="array">
699
  <type by_reference="false">array</type>
700
  </tag>
701
  </docblock>
702
  </method>
703
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="100" package="Media Library Assistant">
704
  <name>get_meta</name>
705
  <full_name>get_meta</full_name>
706
+ <docblock line="92">
707
  <description><![CDATA[Returns the custom fields assigned to Media Library items, removing those already present
708
  in the Media/Assistant submenu table]]></description>
709
  <long-description><![CDATA[]]></long-description>
710
+ <tag line="92" name="since" description="2.22"/>
711
+ <tag line="92" name="return" description="( index =&gt; array( 0 =&gt; 'custom field name' ) )" type="array">
712
  <type by_reference="false">array</type>
713
  </tag>
714
  </docblock>
715
  </method>
716
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="142" package="Media Library Assistant">
717
  <name>manage_value</name>
718
  <full_name>manage_value</full_name>
719
+ <docblock line="131">
720
  <description><![CDATA[Return the content of an Admin Columns custom column]]></description>
721
  <long-description><![CDATA[]]></long-description>
722
+ <tag line="131" name="since" description="2.22"/>
723
+ <tag line="131" name="param" description="Current column content (empty string)" type="string" variable="$content">
724
  <type by_reference="false">string</type>
725
  </tag>
726
+ <tag line="131" name="param" description="Current Media Library item" type="object" variable="$item">
727
  <type by_reference="false">object</type>
728
  </tag>
729
+ <tag line="131" name="param" description="Current column slug" type="string" variable="$column_name">
730
  <type by_reference="false">string</type>
731
  </tag>
732
+ <tag line="131" name="return" description="Column value or NULL if not an Admin Columns custom column" type="string">
733
  <type by_reference="false">string</type>
734
  </tag>
735
  </docblock>
736
+ <argument line="142">
737
  <name>$content</name>
738
  <default><![CDATA[]]></default>
739
  <type/>
740
  </argument>
741
+ <argument line="142">
742
  <name>$item</name>
743
  <default><![CDATA[]]></default>
744
  <type/>
745
  </argument>
746
+ <argument line="142">
747
  <name>$column_name</name>
748
  <default><![CDATA[]]></default>
749
  <type/>
750
  </argument>
751
  </method>
752
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="166" package="Media Library Assistant">
753
  <name>is_current_screen</name>
754
  <full_name>is_current_screen</full_name>
755
+ <docblock line="158">
756
  <description><![CDATA[Test for current screen = the Media/Assistant submenu screen,
757
  For Admin Columns 2.4.9+]]></description>
758
  <long-description><![CDATA[]]></long-description>
759
+ <tag line="158" name="since" description="2.23"/>
760
+ <tag line="158" name="return" description="true if the Media/Assistant submenu is the current screen" type="boolean">
761
  <type by_reference="false">boolean</type>
762
  </tag>
763
  </docblock>
764
  </method>
765
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="184" package="Media Library Assistant">
766
  <name>is_columns_screen</name>
767
  <full_name>is_columns_screen</full_name>
768
+ <docblock line="177">
769
  <description><![CDATA[Test for current screen = the Media/Assistant submenu screen]]></description>
770
  <long-description><![CDATA[]]></long-description>
771
+ <tag line="177" name="since" description="2.22"/>
772
+ <tag line="177" name="return" description="true if the Media/Assistant submenu is the current screen" type="boolean">
773
  <type by_reference="false">boolean</type>
774
  </tag>
775
  </docblock>
776
  </method>
777
+ <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="202" package="Media Library Assistant">
778
  <name>get_screen_link</name>
779
  <full_name>get_screen_link</full_name>
780
+ <docblock line="195">
781
  <description><![CDATA[Return a link to the Media/Assistant submenu screen]]></description>
782
  <long-description><![CDATA[]]></long-description>
783
+ <tag line="195" name="since" description="2.22"/>
784
+ <tag line="195" name="return" description="Link to the Media/Assistant submenu screen" type="string">
785
  <type by_reference="false">string</type>
786
  </tag>
787
  </docblock>
788
  </method>
789
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="213" package="Media Library Assistant">
790
  <name>get_edit_link</name>
791
  <full_name>get_edit_link</full_name>
792
+ <docblock line="206">
793
  <description><![CDATA[Return a link to the Media/Assistant submenu Edit columns screen]]></description>
794
  <long-description><![CDATA[]]></long-description>
795
+ <tag line="206" name="since" description="2.22"/>
796
+ <tag line="206" name="return" description="Link to the Media/Assistant submenu Edit columns screen" type="string">
797
  <type by_reference="false">string</type>
798
  </tag>
799
  </docblock>
800
  </method>
801
  </class>
802
  </file>
803
+ <file path="includes\class-mla-ajax.php" hash="00ebf723bb31a6eb93758d856cddb65c" package="Media Library Assistant">
804
  <docblock line="2">
805
  <description><![CDATA[Media Library Assistant Ajax Handlers]]></description>
806
  <long-description><![CDATA[]]></long-description>
894
  </method>
895
  </class>
896
  </file>
897
+ <file path="includes\class-mla-core-options.php" hash="12f0a00e6ee0fd0fdbdf6c15accea0b4" package="Media Library Assistant">
898
  <docblock line="2">
899
+ <description><![CDATA[Media Library Assistant Option Definitions]]></description>
900
  <long-description><![CDATA[]]></long-description>
901
  <tag line="2" name="package" description="Media Library Assistant"/>
902
+ <tag line="2" name="since" description="2.25"/>
903
  </docblock>
 
 
 
 
 
 
 
 
 
904
  <class final="false" abstract="false" namespace="global" line="16" package="Media Library Assistant">
905
  <extends/>
906
+ <name>MLACoreOptions</name>
907
+ <full_name>\MLACoreOptions</full_name>
908
  <docblock line="10">
909
+ <description><![CDATA[Class MLA (Media Library Assistant) Core Options defines MLA option settings and defaults]]></description>
910
  <long-description><![CDATA[]]></long-description>
911
  <tag line="10" name="package" description="Media Library Assistant"/>
912
+ <tag line="10" name="since" description="2.25"/>
913
  </docblock>
914
+ <constant namespace="global" line="24" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
915
  <name>MLA_SETTINGS_SLUG</name>
916
  <full_name>MLA_SETTINGS_SLUG</full_name>
917
  <value><![CDATA['mla-settings-menu']]></value>
918
+ <docblock line="17">
919
  <description><![CDATA[Provides a unique name for the settings page]]></description>
920
  <long-description><![CDATA[]]></long-description>
921
+ <tag line="17" name="since" description="2.20"/>
922
+ <tag line="17" name="var" description="" type="string">
923
  <type by_reference="false">string</type>
924
  </tag>
925
  </docblock>
926
  </constant>
927
+ <constant namespace="global" line="29" package="Media Library Assistant">
928
  <name>MLA_VERSION_OPTION</name>
929
  <full_name>MLA_VERSION_OPTION</full_name>
930
  <value><![CDATA['current_version']]></value>
931
+ <docblock line="26">
932
  <description><![CDATA[Provides a unique name for the current version option]]></description>
933
  <long-description><![CDATA[]]></long-description>
934
  </docblock>
935
  </constant>
936
+ <constant namespace="global" line="34" package="Media Library Assistant">
937
  <name>MLA_EXCLUDE_REVISIONS</name>
938
  <full_name>MLA_EXCLUDE_REVISIONS</full_name>
939
  <value><![CDATA['exclude_revisions']]></value>
940
+ <docblock line="31">
941
  <description><![CDATA[Provides a unique name for the exclude revisions option]]></description>
942
  <long-description><![CDATA[]]></long-description>
943
  </docblock>
944
  </constant>
945
+ <constant namespace="global" line="39" package="Media Library Assistant">
946
  <name>MLA_FEATURED_IN_TUNING</name>
947
  <full_name>MLA_FEATURED_IN_TUNING</full_name>
948
  <value><![CDATA['featured_in_tuning']]></value>
949
+ <docblock line="36">
950
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
951
  <long-description><![CDATA[]]></long-description>
952
  </docblock>
953
  </constant>
954
+ <constant namespace="global" line="44" package="Media Library Assistant">
955
  <name>MLA_INSERTED_IN_TUNING</name>
956
  <full_name>MLA_INSERTED_IN_TUNING</full_name>
957
  <value><![CDATA['inserted_in_tuning']]></value>
958
+ <docblock line="41">
959
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
960
  <long-description><![CDATA[]]></long-description>
961
  </docblock>
962
  </constant>
963
+ <constant namespace="global" line="49" package="Media Library Assistant">
964
  <name>MLA_GALLERY_IN_TUNING</name>
965
  <full_name>MLA_GALLERY_IN_TUNING</full_name>
966
  <value><![CDATA['gallery_in_tuning']]></value>
967
+ <docblock line="46">
968
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
969
  <long-description><![CDATA[]]></long-description>
970
  </docblock>
971
  </constant>
972
+ <constant namespace="global" line="54" package="Media Library Assistant">
973
  <name>MLA_MLA_GALLERY_IN_TUNING</name>
974
  <full_name>MLA_MLA_GALLERY_IN_TUNING</full_name>
975
  <value><![CDATA['mla_gallery_in_tuning']]></value>
976
+ <docblock line="51">
977
  <description><![CDATA[Provides a unique name for a database tuning option]]></description>
978
  <long-description><![CDATA[]]></long-description>
979
  </docblock>
980
  </constant>
981
+ <constant namespace="global" line="59" package="Media Library Assistant">
982
  <name>MLA_COUNT_TERM_ATTACHMENTS</name>
983
  <full_name>MLA_COUNT_TERM_ATTACHMENTS</full_name>
984
  <value><![CDATA['count_term_attachments']]></value>
985
+ <docblock line="56">
986
  <description><![CDATA[Provides a unique name for the taxonomy count Attachments option]]></description>
987
  <long-description><![CDATA[]]></long-description>
988
  </docblock>
989
  </constant>
990
+ <constant namespace="global" line="64" package="Media Library Assistant">
991
  <name>MLA_TAXONOMY_SUPPORT</name>
992
  <full_name>MLA_TAXONOMY_SUPPORT</full_name>
993
  <value><![CDATA['taxonomy_support']]></value>
994
+ <docblock line="61">
995
  <description><![CDATA[Provides a unique name for the taxonomy support option]]></description>
996
  <long-description><![CDATA[]]></long-description>
997
  </docblock>
998
  </constant>
999
+ <constant namespace="global" line="69" package="Media Library Assistant">
1000
  <name>MLA_SCREEN_PAGE_TITLE</name>
1001
  <full_name>MLA_SCREEN_PAGE_TITLE</full_name>
1002
  <value><![CDATA['admin_screen_page_title']]></value>
1003
+ <docblock line="66">
1004
  <description><![CDATA[Provides a unique name for the admin screen page title option]]></description>
1005
  <long-description><![CDATA[]]></long-description>
1006
  </docblock>
1007
  </constant>
1008
+ <constant namespace="global" line="74" package="Media Library Assistant">
1009
  <name>MLA_SCREEN_MENU_TITLE</name>
1010
  <full_name>MLA_SCREEN_MENU_TITLE</full_name>
1011
  <value><![CDATA['admin_screen_menu_title']]></value>
1012
+ <docblock line="71">
1013
  <description><![CDATA[Provides a unique name for the admin screen menu title option]]></description>
1014
  <long-description><![CDATA[]]></long-description>
1015
  </docblock>
1016
  </constant>
1017
+ <constant namespace="global" line="79" package="Media Library Assistant">
1018
  <name>MLA_SCREEN_ORDER</name>
1019
  <full_name>MLA_SCREEN_ORDER</full_name>
1020
  <value><![CDATA['admin_screen_menu_order']]></value>
1021
+ <docblock line="76">
1022
  <description><![CDATA[Provides a unique name for the admin screen menu order option]]></description>
1023
  <long-description><![CDATA[]]></long-description>
1024
  </docblock>
1025
  </constant>
1026
+ <constant namespace="global" line="84" package="Media Library Assistant">
1027
  <name>MLA_SCREEN_DISPLAY_LIBRARY</name>
1028
  <full_name>MLA_SCREEN_DISPLAY_LIBRARY</full_name>
1029
  <value><![CDATA['admin_screen_display_default']]></value>
1030
+ <docblock line="81">
1031
  <description><![CDATA[Provides a unique name for the admin screen remove Media/Library option]]></description>
1032
  <long-description><![CDATA[]]></long-description>
1033
  </docblock>
1034
  </constant>
1035
+ <constant namespace="global" line="89" package="Media Library Assistant">
1036
+ <name>MLA_SCREEN_DISPLAY_SWITCHER</name>
1037
+ <full_name>MLA_SCREEN_DISPLAY_SWITCHER</full_name>
1038
+ <value><![CDATA['admin_screen_display_switcher']]></value>
1039
+ <docblock line="86">
1040
+ <description><![CDATA[Provides a unique name for the Media/Assistant list/grid switcher option]]></description>
1041
+ <long-description><![CDATA[]]></long-description>
1042
+ </docblock>
1043
+ </constant>
1044
+ <constant namespace="global" line="94" package="Media Library Assistant">
1045
  <name>MLA_DEFAULT_ORDERBY</name>
1046
  <full_name>MLA_DEFAULT_ORDERBY</full_name>
1047
  <value><![CDATA['default_orderby']]></value>
1048
+ <docblock line="91">
1049
  <description><![CDATA[Provides a unique name for the default orderby option]]></description>
1050
  <long-description><![CDATA[]]></long-description>
1051
  </docblock>
1052
  </constant>
1053
+ <constant namespace="global" line="99" package="Media Library Assistant">
1054
  <name>MLA_DEFAULT_ORDER</name>
1055
  <full_name>MLA_DEFAULT_ORDER</full_name>
1056
  <value><![CDATA['default_order']]></value>
1057
+ <docblock line="96">
1058
  <description><![CDATA[Provides a unique name for the default order option]]></description>
1059
  <long-description><![CDATA[]]></long-description>
1060
  </docblock>
1061
  </constant>
1062
+ <constant namespace="global" line="104" package="Media Library Assistant">
1063
  <name>MLA_TABLE_VIEWS_WIDTH</name>
1064
  <full_name>MLA_TABLE_VIEWS_WIDTH</full_name>
1065
  <value><![CDATA['table_views_width']]></value>
1066
+ <docblock line="101">
1067
  <description><![CDATA[Provides a unique name for the Media/Assistant submenu table views width option]]></description>
1068
  <long-description><![CDATA[]]></long-description>
1069
  </docblock>
1070
  </constant>
1071
+ <constant namespace="global" line="109" package="Media Library Assistant">
1072
  <name>MLA_TABLE_ICON_SIZE</name>
1073
  <full_name>MLA_TABLE_ICON_SIZE</full_name>
1074
  <value><![CDATA['table_icon_size']]></value>
1075
+ <docblock line="106">
1076
  <description><![CDATA[Provides a unique name for the Media/Assistant submenu table thumbnail/icon size option]]></description>
1077
  <long-description><![CDATA[]]></long-description>
1078
  </docblock>
1079
  </constant>
1080
+ <constant namespace="global" line="114" package="Media Library Assistant">
1081
  <name>MLA_BULK_CHUNK_SIZE</name>
1082
  <full_name>MLA_BULK_CHUNK_SIZE</full_name>
1083
  <value><![CDATA['bulk_chunk_size']]></value>
1084
+ <docblock line="111">
1085
  <description><![CDATA[Provides a unique name for the Bulk Update and Map All chunk size option]]></description>
1086
  <long-description><![CDATA[]]></long-description>
1087
  </docblock>
1088
  </constant>
1089
+ <constant namespace="global" line="119" package="Media Library Assistant">
1090
  <name>MLA_TAXONOMY_FILTER_DEPTH</name>
1091
  <full_name>MLA_TAXONOMY_FILTER_DEPTH</full_name>
1092
  <value><![CDATA['taxonomy_filter_depth']]></value>
1093
+ <docblock line="116">
1094
  <description><![CDATA[Provides a unique name for the taxonomy filter maximum depth option]]></description>
1095
  <long-description><![CDATA[]]></long-description>
1096
  </docblock>
1097
  </constant>
1098
+ <constant namespace="global" line="124" package="Media Library Assistant">
1099
  <name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</name>
1100
  <full_name>MLA_TAXONOMY_FILTER_INCLUDE_CHILDREN</full_name>
1101
  <value><![CDATA['taxonomy_filter_include_children']]></value>
1102
+ <docblock line="121">