Media Library Assistant - Version 2.01

Version Description

  • New: For IPTC/EXIF mapping of taxonomy terms, significant performance improvements. Explicit handling of special cases and new caching code for "map all" processing eliminates unnecessary database queries.
  • New: For the Media/Assistant submenu, the "where-used" displays have improved. The post status (Draft, Pending, Future) is now included (it is also included in the "Parent Info" meta box on the Media/Edit Media screen). The parent post/page is moved to the top of the references list. The "Inserted in" file name is no longer displayed for the "base" option to save space.
  • New: For [mla_gallery] and [mla_tag_cloud], several new galley-/cloud- substitution values have been added. You can use these, for example, to add page-level information like Title or Date to data selection parameters.
  • New: An example of Media/Assistant submenu support for Advanced Custom Fields Checkbox variables is provided at /media-library-assistant/examples/mla-acf-checkbox-example.txt
  • New: An example of mapping PDF metadata to Standard Fields and Taxonomy Terms has been added to the "IPTC/EXIF Mapping for PDF Documents" section of the Settings/Media Library Assistant Documentation tab.
  • Fix: For [mla_gallery], the Google File Viewer parameter (mla_viewer) has been disabled. Recent changes by Google, beyond MLA control, have removed support for this feature.
  • Fix: Where-used reference information is no longer computed during file uploads, improving performance.
  • Fix: For the Media/Assistant submenu Bulk Edit area, updates to the "Categories" taxonomy are now handled correctly.
  • Fix: For [mla_gallery], a defect in the default handling of the post_parent parameter has been fixed. The defect was introduced in version 2.00.
  • Fix: For [mla_gallery], a defect in the handling of the exact=true parameter has been fixed.
  • Fix: For the "Select Parent" popup window, a defect in handling invalid post_status values has been fixed.
Download this release

Release Info

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

Code changes from version 2.00 to 2.01

Files changed (41) hide show
  1. css/mla-edit-media-style.css +15 -5
  2. css/mla-style.css +12 -2
  3. includes/class-mla-data.php +119 -71
  4. includes/class-mla-edit-media.php +19 -6
  5. includes/class-mla-list-table.php +116 -41
  6. includes/class-mla-main.php +118 -5
  7. includes/class-mla-media-modal.php +10 -1
  8. includes/class-mla-options.php +142 -45
  9. includes/class-mla-shortcodes.php +77 -39
  10. index.php +2 -2
  11. languages/media-library-assistant-en_US.pot +453 -446
  12. phpDocs/classes/MLA.html +1 -1
  13. phpDocs/classes/MLAData.html +20 -13
  14. phpDocs/classes/MLAEdit.html +1 -1
  15. phpDocs/classes/MLAMime.html +1 -1
  16. phpDocs/classes/MLAModal.html +1 -1
  17. phpDocs/classes/MLAObjects.html +1 -1
  18. phpDocs/classes/MLAOptions.html +37 -2
  19. phpDocs/classes/MLASettings.html +1 -1
  20. phpDocs/classes/MLAShortcodes.html +1 -1
  21. phpDocs/classes/MLATest.html +1 -1
  22. phpDocs/classes/MLATextWidget.html +1 -1
  23. phpDocs/classes/MLA_Checklist_Walker.html +1 -1
  24. phpDocs/classes/MLA_List_Table.html +21 -1
  25. phpDocs/classes/MLA_Upload_List_Table.html +1 -1
  26. phpDocs/classes/MLA_Upload_Optional_List_Table.html +1 -1
  27. phpDocs/classes/MLA_View_List_Table.html +1 -1
  28. phpDocs/classes/MNA_Pad_Counts_Walker.html +1 -1
  29. phpDocs/deprecated.html +1 -1
  30. phpDocs/errors.html +1 -1
  31. phpDocs/graph_class.html +1 -1
  32. phpDocs/index.html +1 -1
  33. phpDocs/markers.html +2 -2
  34. phpDocs/namespaces/global.html +1 -1
  35. phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html +1 -1
  36. phpDocs/packages/Media Library Assistant.MLA.Child.html +1 -1
  37. phpDocs/packages/Media Library Assistant.MLA.html +1 -1
  38. phpDocs/packages/Media Library Assistant.html +1 -1
  39. phpDocs/structure.xml +1328 -1239
  40. readme.txt +17 -3
  41. tpls/documentation-settings-tab.tpl +232 -115
css/mla-edit-media-style.css CHANGED
@@ -13,13 +13,23 @@
13
  width: 100%;
14
  }
15
 
16
- #mla_post_parent,
17
- #mla_parent_info {
18
- width: 96%;
 
 
 
19
  }
20
 
21
  #mla_set_parent {
22
- display:inline;
23
  line-height: 16px;
24
- margin: 1px;
 
 
 
 
 
 
 
25
  }
 
13
  width: 100%;
14
  }
15
 
16
+ /*
17
+ * Parent Info meta box
18
+ */
19
+
20
+ #mla_post_parent {
21
+ width: 4em;
22
  }
23
 
24
  #mla_set_parent {
 
25
  line-height: 16px;
26
+ margin: 1px 4px;
27
+ }
28
+
29
+ #mla_parent_info {
30
+ height: 25px;
31
+ line-height: 16px;
32
+ width: 100%;
33
+ margin: 4px 0;
34
  }
35
+
css/mla-style.css CHANGED
@@ -155,6 +155,11 @@ textarea[readonly] {
155
  width: 6em
156
  }
157
 
 
 
 
 
 
158
  .quick-edit-row-attachment fieldset.inline-edit-col-left label span.input-text-wrap,
159
  .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.input-text-wrap {
160
  margin-left: 6em
@@ -171,11 +176,16 @@ textarea[readonly] {
171
  padding-top: 2px;
172
  }
173
 
174
- .quick-edit-row-attachment fieldset.inline-edit-col-left input#inline-edit-post-set-parent,
 
 
 
 
 
175
  .bulk-edit-row-attachment fieldset.inline-edit-col-right input#bulk-edit-set-parent {
176
  display:inline;
177
  line-height: 16px;
178
- margin: .2em .4em .2em 0em;
179
  }
180
 
181
  .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent-title .input-text-wrap input[type=text] {
155
  width: 6em
156
  }
157
 
158
+ .quick-edit-row-attachment fieldset.inline-edit-col-center span.catshow,
159
+ .bulk-edit-row-attachment fieldset.inline-edit-col-center span.catshow {
160
+ display: none
161
+ }
162
+
163
  .quick-edit-row-attachment fieldset.inline-edit-col-left label span.input-text-wrap,
164
  .bulk-edit-row-attachment fieldset.inline-edit-col-right label span.input-text-wrap {
165
  margin-left: 6em
176
  padding-top: 2px;
177
  }
178
 
179
+ .quick-edit-row-attachment fieldset.inline-edit-col-left input#inline-edit-post-set-parent {
180
+ display:inline;
181
+ line-height: 16px;
182
+ margin: .2em .4em .2em .0em;
183
+ }
184
+
185
  .bulk-edit-row-attachment fieldset.inline-edit-col-right input#bulk-edit-set-parent {
186
  display:inline;
187
  line-height: 16px;
188
+ margin: .2em .4em .2em .4em;
189
  }
190
 
191
  .quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent-title .input-text-wrap input[type=text] {
includes/class-mla-data.php CHANGED
@@ -867,7 +867,11 @@ class MLAData {
867
  break;
868
  case 'terms':
869
  if ( 0 < $post_id ) {
870
- $terms = wp_get_object_terms( $post_id, $value['value'] );
 
 
 
 
871
  } else {
872
  break;
873
  }
@@ -877,12 +881,14 @@ class MLAData {
877
  $text = implode( ',', $terms->get_error_messages() );
878
  } elseif ( ! empty( $terms ) ) {
879
  if ( 'single' == $value['option'] || 1 == count( $terms ) ) {
880
- $text = sanitize_term_field( 'name', $terms[0]->name, $terms[0]->term_id, $value, 'display' );
 
 
881
  } elseif ( 'export' == $value['option'] ) {
882
  $text = sanitize_text_field( var_export( $terms, true ) );
883
  } else {
884
  foreach ( $terms as $term ) {
885
- $term_name = sanitize_term_field( 'name', $term->name, $term->term_id, $value, 'display' );
886
  $text .= strlen( $text ) ? ', ' . $term_name : $term_name;
887
  }
888
  }
@@ -1891,7 +1897,7 @@ class MLAData {
1891
  // WordPress v3.7 says: there are no line breaks in <input /> fields
1892
  self::$search_parameters['s'] = str_replace( array( "\r", "\n" ), '', self::$search_parameters['s'] );
1893
 
1894
- if ( self::$search_parameters['sentence'] ) {
1895
  $terms_search = array( self::$search_parameters['s'] );
1896
  } else {
1897
  // v3.6.1 was '/".*?("|$)|((?<=[\r\n\t ",+])|^)[^\r\n\t ",+]+/'
@@ -2343,10 +2349,12 @@ class MLAData {
2343
  * @since 0.1
2344
  * @uses $post WordPress global variable
2345
  *
2346
- * @param int The ID of the attachment post
 
 
2347
  * @return NULL|array NULL on failure else associative array
2348
  */
2349
- public static function mla_get_attachment_by_id( $post_id ) {
2350
  global $post;
2351
  static $save_id = -1, $post_data;
2352
 
@@ -2385,9 +2393,9 @@ class MLAData {
2385
  $post_data = array_merge( $post_data, self::mla_fetch_attachment_metadata( $post_id ) );
2386
 
2387
  /*
2388
- * Add references
2389
  */
2390
- $post_data['mla_references'] = self::mla_fetch_attachment_references( $post_id, $post_data['post_parent'] );
2391
 
2392
  $save_id = $post_id;
2393
  return $post_data;
@@ -2427,6 +2435,10 @@ class MLAData {
2427
  if ( isset( $parent->post_type ) ) {
2428
  $parent_data['parent_type'] = $parent->post_type;
2429
  }
 
 
 
 
2430
  }
2431
 
2432
  $save_id = $parent_id;
@@ -2648,10 +2660,11 @@ class MLAData {
2648
  *
2649
  * @param int post ID of attachment
2650
  * @param int post ID of attachment's parent, if any
 
2651
  *
2652
  * @return array Reference information; see $references array comments
2653
  */
2654
- public static function mla_fetch_attachment_references( $ID, $parent ) {
2655
  global $wpdb;
2656
  static $save_id = -1, $references, $inserted_in_option = NULL;
2657
 
@@ -2661,8 +2674,9 @@ class MLAData {
2661
  $save_id = -1;
2662
  return NULL;
2663
  }
2664
-
2665
  /*
 
2666
  * tested_reference true if any of the four where-used types was processed
2667
  * found_reference true if any where-used array is not empty()
2668
  * found_parent true if $parent matches a where-used post ID
@@ -2683,10 +2697,12 @@ class MLAData {
2683
  * galleries Array of objects with the post_type and post_title of each post
2684
  * that was returned by a [gallery] shortcode
2685
  * parent_type 'post' or 'page' or the custom post type of the attachment's parent
 
2686
  * parent_title post_title of the attachment's parent
2687
  * parent_errors UNATTACHED, ORPHAN, BAD/INVALID PARENT
2688
  */
2689
  $references = array(
 
2690
  'tested_reference' => false,
2691
  'found_reference' => false,
2692
  'found_parent' => false,
@@ -2700,10 +2716,15 @@ class MLAData {
2700
  'mla_galleries' => array(),
2701
  'galleries' => array(),
2702
  'parent_type' => '',
 
2703
  'parent_title' => '',
2704
  'parent_errors' => ''
2705
  );
2706
 
 
 
 
 
2707
  /*
2708
  * Fill in Parent data
2709
  */
@@ -2712,6 +2733,10 @@ class MLAData {
2712
  $references['parent_type'] = $parent_data['parent_type'];
2713
  }
2714
 
 
 
 
 
2715
  if ( isset( $parent_data['parent_title'] ) ) {
2716
  $references['parent_title'] = $parent_data['parent_title'];
2717
  }
@@ -2729,8 +2754,9 @@ class MLAData {
2729
  $sizes = isset( $attachment_metadata['sizes'] ) ? $attachment_metadata['sizes'] : NULL;
2730
  if ( ! empty( $sizes ) ) {
2731
  // Using the name as the array key ensures each name is added only once
2732
- foreach ( $sizes as $size ) {
2733
- $references['files'][ $references['path'] . $size['file'] ] = $size;
 
2734
  }
2735
  }
2736
 
@@ -2740,6 +2766,7 @@ class MLAData {
2740
  'width' => isset( $attachment_metadata['width'] ) ? $attachment_metadata['width'] : 0,
2741
  'height' => isset( $attachment_metadata['height'] ) ? $attachment_metadata['height'] : 0,
2742
  'mime_type' => isset( $base_type['type'] ) ? $base_type['type'] : 'unknown',
 
2743
  );
2744
 
2745
  $references['files'][ $references['base_file'] ] = $base_reference;
@@ -2775,7 +2802,7 @@ class MLAData {
2775
  foreach ( $features as $feature ) {
2776
  $feature_results = $wpdb->get_results(
2777
  "
2778
- SELECT post_type, post_title
2779
  FROM {$wpdb->posts}
2780
  WHERE {$exclude_revisions}(ID = {$feature->post_id})
2781
  "
@@ -2796,18 +2823,20 @@ class MLAData {
2796
  /*
2797
  * Look for item(s) inserted in post_content
2798
  */
 
2799
  if ( MLAOptions::$process_inserted_in ) {
2800
  $reference_tests++;
2801
 
2802
  if ( NULL == $inserted_in_option ) {
2803
  $inserted_in_option = MLAOptions::mla_get_option( MLAOptions::MLA_INSERTED_IN_TUNING );
 
2804
  }
2805
-
2806
  $wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
2807
  if ( 'base' == $inserted_in_option ) {
2808
  $query_parameters = array();
2809
  $query = array();
2810
- $query[] = "SELECT ID, post_type, post_title, CONVERT(`post_content` USING utf8 ) AS POST_CONTENT FROM {$wpdb->posts} WHERE {$exclude_revisions} ( %s=%s";
2811
  $query_parameters[] = '1'; // for empty file name array
2812
  $query_parameters[] = '0'; // for empty file name array
2813
 
@@ -2857,7 +2886,7 @@ class MLAData {
2857
 
2858
  $inserts = $wpdb->get_results(
2859
  $wpdb->prepare(
2860
- "SELECT ID, post_type, post_title FROM {$wpdb->posts}
2861
  WHERE {$exclude_revisions}(CONVERT(`post_content` USING utf8 ) LIKE %s)", "%{$like}%"
2862
  )
2863
  );
@@ -2972,6 +3001,7 @@ class MLAData {
2972
  * See element definitions above
2973
  */
2974
  $initial_references = array(
 
2975
  'tested_reference' => false,
2976
  'found_reference' => false,
2977
  'found_parent' => false,
@@ -2985,6 +3015,7 @@ class MLAData {
2985
  'mla_galleries' => array(),
2986
  'galleries' => array(),
2987
  'parent_type' => '',
 
2988
  'parent_title' => '',
2989
  'parent_errors' => ''
2990
  );
@@ -3021,8 +3052,9 @@ class MLAData {
3021
  $sizes = isset( $attachment_metadata['sizes'] ) ? $attachment_metadata['sizes'] : NULL;
3022
  if ( ! empty( $sizes ) ) {
3023
  /* Using the path and name as the array key ensures each name is added only once */
3024
- foreach ( $sizes as $size ) {
3025
- $references['files'][ $references['path'] . $size['file'] ] = $size;
 
3026
  }
3027
  }
3028
 
@@ -3033,6 +3065,7 @@ class MLAData {
3033
  'width' => isset( $attachment_metadata['width'] ) ? $attachment_metadata['width'] : 0,
3034
  'height' => isset( $attachment_metadata['height'] ) ? $attachment_metadata['height'] : 0,
3035
  'mime_type' => ( isset( $base_type['type'] ) && false !== $base_type['type'] ) ? $base_type['type'] : 'unknown',
 
3036
  );
3037
 
3038
  $references['files'][ $references['base_file'] ] = $base_reference;
@@ -3052,7 +3085,7 @@ class MLAData {
3052
  $attachment_ids = implode( ',', $attachment_ids );
3053
  $results = $wpdb->get_results(
3054
  "
3055
- SELECT m.meta_value, p.ID, p.post_type, p.post_title
3056
  FROM {$wpdb->postmeta} AS m INNER JOIN {$wpdb->posts} AS p ON m.post_id = p.ID
3057
  WHERE ( m.meta_key = '_thumbnail_id' )
3058
  AND ( m.meta_value IN ( {$attachment_ids} ) ){$exclude_revisions}
@@ -3060,7 +3093,7 @@ class MLAData {
3060
  );
3061
 
3062
  foreach ( $results as $result ) {
3063
- $features[ $result->meta_value ][ $result->ID ] = (object) array( 'post_title' => $result->post_title, 'post_type' => $result->post_type );
3064
  }
3065
  } // $process_featured_in
3066
 
@@ -3069,11 +3102,12 @@ class MLAData {
3069
  }
3070
 
3071
  $inserted_in_option = MLAOptions::mla_get_option( MLAOptions::MLA_INSERTED_IN_TUNING );
 
3072
  if ( MLAOptions::$process_inserted_in ) {
3073
  $wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
3074
  $query_parameters = array();
3075
  $query = array();
3076
- $query[] = "SELECT ID, post_type, post_title, CONVERT(`post_content` USING utf8 ) AS POST_CONTENT FROM {$wpdb->posts} WHERE ( %s=%s";
3077
  // for empty file name array
3078
  $query_parameters[] = '1';
3079
  $query_parameters[] = '0';
@@ -3144,6 +3178,10 @@ class MLAData {
3144
  $references['parent_type'] = $attachment->parent_type;
3145
  }
3146
 
 
 
 
 
3147
  if ( isset( $attachment->parent_title ) ) {
3148
  $references['parent_title'] = $attachment->parent_title;
3149
  }
@@ -3284,6 +3322,7 @@ class MLAData {
3284
  * The outer array is keyed by post_id. It contains an associative array with:
3285
  * ['parent_title'] post_title of the gallery parent,
3286
  * ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
 
3287
  * ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
3288
  * ['galleries'] array of [gallery] entries numbered from one (1), containing:
3289
  * galleries[X]['query'] contains a string with the arguments of the [gallery],
@@ -3406,7 +3445,7 @@ class MLAData {
3406
  $results = $wpdb->get_results(
3407
  $wpdb->prepare(
3408
  "
3409
- SELECT ID, post_type, post_title, post_content
3410
  FROM {$wpdb->posts}
3411
  WHERE {$exclude_revisions}(
3412
  CONVERT(`post_content` USING utf8 )
@@ -3425,6 +3464,7 @@ class MLAData {
3425
  $result_id = $result->ID;
3426
  $galleries_array[ $result_id ]['parent_title'] = $result->post_title;
3427
  $galleries_array[ $result_id ]['parent_type'] = $result->post_type;
 
3428
  $galleries_array[ $result_id ]['results'] = array();
3429
  $galleries_array[ $result_id ]['galleries'] = array();
3430
  $instance = 0;
@@ -3483,7 +3523,7 @@ class MLAData {
3483
  if ( ! empty( $galleries_array ) ) {
3484
  foreach ( $galleries_array as $parent_id => $gallery ) {
3485
  if ( in_array( $attachment_id, $gallery['results'] ) ) {
3486
- $gallery_refs[ $parent_id ] = array ( 'post_title' => $gallery['parent_title'], 'post_type' => $gallery['parent_type'] );
3487
  }
3488
  } // foreach gallery
3489
  } // ! empty
@@ -5680,7 +5720,7 @@ class MLAData {
5680
  * @return array success/failure message and NULL content
5681
  */
5682
  public static function mla_update_single_item( $post_id, $new_data, $tax_input = NULL, $tax_actions = NULL ) {
5683
- $post_data = self::mla_get_attachment_by_id( $post_id );
5684
  if ( !isset( $post_data ) ) {
5685
  return array(
5686
  'message' => __( 'ERROR: Could not retrieve Attachment.', 'media-library-assistant' ),
@@ -5862,10 +5902,7 @@ class MLAData {
5862
  $taxonomy_obj = get_taxonomy( $taxonomy );
5863
 
5864
  if ( current_user_can( $taxonomy_obj->cap->assign_terms ) ) {
5865
- $terms_before = wp_get_post_terms( $post_id, $taxonomy, array(
5866
- 'fields' => 'ids' // all'
5867
- ) );
5868
- if ( is_array( $tags ) ) // array = hierarchical, string = non-hierarchical.
5869
  $tags = array_filter( $tags );
5870
 
5871
  switch ( $tax_action ) {
@@ -5875,24 +5912,33 @@ class MLAData {
5875
  break;
5876
  case 'remove':
5877
  $action_name = __( 'Removing', 'media-library-assistant' );
5878
- $tags = self::_remove_tags( $terms_before, $tags, $taxonomy_obj );
5879
  $result = wp_set_post_terms( $post_id, $tags, $taxonomy );
 
 
 
 
5880
  break;
5881
  case 'replace':
5882
  $action_name = __( 'Replacing', 'media-library-assistant' );
5883
  $result = wp_set_post_terms( $post_id, $tags, $taxonomy );
 
 
 
 
5884
  break;
5885
  default:
5886
  $action_name = __( 'Ignoring', 'media-library-assistant' );
5887
  $result = NULL;
5888
  // ignore anything else
5889
  }
5890
-
5891
- $terms_after = wp_get_post_terms( $post_id, $taxonomy, array(
5892
- 'fields' => 'ids' // all'
5893
- ) );
5894
-
5895
- if ( $terms_before != $terms_after ) {
 
5896
  delete_transient( MLA_OPTION_PREFIX . 't_term_counts_' . $taxonomy );
5897
  /* translators: 1: action_name, 2: taxonomy */
5898
  $message .= sprintf( __( '%1$s "%2$s" terms', 'media-library-assistant' ) . '<br>', $action_name, $taxonomy );
@@ -5945,50 +5991,52 @@ class MLAData {
5945
  }
5946
 
5947
  /**
5948
- * Remove tags from a term ids list
5949
  *
5950
  * @since 0.40
5951
  *
5952
- * @param array The term ids currently assigned
5953
- * @param array | string The term ids (array) or names (string) to remove
5954
  * @param object The taxonomy object
5955
  *
5956
- * @return array Term ids of the surviving tags
5957
  */
5958
- private static function _remove_tags( $terms_before, $tags, $taxonomy_obj ) {
5959
- if ( ! is_array( $tags ) ) {
5960
- /*
5961
- * Convert names to term ids
5962
- */
5963
- $comma = _x( ',', 'tag_delimiter', 'media-library-assistant' );
5964
- if ( ',' !== $comma ) {
5965
- $tags = str_replace( $comma, ',', $tags );
5966
- }
5967
-
5968
- $terms = explode( ',', trim( $tags, " \n\t\r\0\x0B," ) );
5969
-
5970
- $tags = array();
5971
- foreach ( (array) $terms as $term) {
5972
- if ( !strlen(trim($term)) ) {
5973
- continue;
5974
- }
5975
-
5976
- // Skip if a non-existent term name is passed.
5977
- if ( ! $term_info = term_exists($term, $taxonomy_obj->name ) ) {
5978
- continue;
 
 
 
 
 
5979
  }
5980
-
5981
- if ( is_wp_error($term_info) ) {
5982
- continue;
 
 
5983
  }
5984
-
5985
- $tags[] = $term_info['term_id'];
5986
- } // foreach term
5987
- } // not an array
5988
-
5989
- $tags = array_map( 'intval', $tags );
5990
- $tags = array_unique( $tags );
5991
- $terms_after = array_diff( array_map( 'intval', $terms_before ), $tags );
5992
  return $terms_after;
5993
  }
5994
 
867
  break;
868
  case 'terms':
869
  if ( 0 < $post_id ) {
870
+ $terms = get_object_term_cache( $post_id, $value['value'] );
871
+ if ( false === $terms ) {
872
+ $terms = wp_get_object_terms( $post_id, $value['value'] );
873
+ wp_cache_add( $post_id, $terms, $value['value'] . '_relationships' );
874
+ }
875
  } else {
876
  break;
877
  }
881
  $text = implode( ',', $terms->get_error_messages() );
882
  } elseif ( ! empty( $terms ) ) {
883
  if ( 'single' == $value['option'] || 1 == count( $terms ) ) {
884
+ reset( $terms );
885
+ $term = current( $terms );
886
+ $text = sanitize_term_field( 'name', $term->name, $term->term_id, $value['value'], 'display' );
887
  } elseif ( 'export' == $value['option'] ) {
888
  $text = sanitize_text_field( var_export( $terms, true ) );
889
  } else {
890
  foreach ( $terms as $term ) {
891
+ $term_name = sanitize_term_field( 'name', $term->name, $term->term_id, $value['value'], 'display' );
892
  $text .= strlen( $text ) ? ', ' . $term_name : $term_name;
893
  }
894
  }
1897
  // WordPress v3.7 says: there are no line breaks in <input /> fields
1898
  self::$search_parameters['s'] = str_replace( array( "\r", "\n" ), '', self::$search_parameters['s'] );
1899
 
1900
+ if ( self::$search_parameters['sentence'] || self::$search_parameters['exact'] ) {
1901
  $terms_search = array( self::$search_parameters['s'] );
1902
  } else {
1903
  // v3.6.1 was '/".*?("|$)|((?<=[\r\n\t ",+])|^)[^\r\n\t ",+]+/'
2349
  * @since 0.1
2350
  * @uses $post WordPress global variable
2351
  *
2352
+ * @param integer The ID of the attachment post
2353
+ * @param boolean True to add references, false to skip references
2354
+ *
2355
  * @return NULL|array NULL on failure else associative array
2356
  */
2357
+ public static function mla_get_attachment_by_id( $post_id, $add_references = true ) {
2358
  global $post;
2359
  static $save_id = -1, $post_data;
2360
 
2393
  $post_data = array_merge( $post_data, self::mla_fetch_attachment_metadata( $post_id ) );
2394
 
2395
  /*
2396
+ * Add references, if requested, or "empty" references array
2397
  */
2398
+ $post_data['mla_references'] = self::mla_fetch_attachment_references( $post_id, $post_data['post_parent'], $add_references );
2399
 
2400
  $save_id = $post_id;
2401
  return $post_data;
2435
  if ( isset( $parent->post_type ) ) {
2436
  $parent_data['parent_type'] = $parent->post_type;
2437
  }
2438
+
2439
+ if ( isset( $parent->post_status ) ) {
2440
+ $parent_data['parent_status'] = $parent->post_status;
2441
+ }
2442
  }
2443
 
2444
  $save_id = $parent_id;
2660
  *
2661
  * @param int post ID of attachment
2662
  * @param int post ID of attachment's parent, if any
2663
+ * @param boolean True to compute references, false to return empty values
2664
  *
2665
  * @return array Reference information; see $references array comments
2666
  */
2667
+ public static function mla_fetch_attachment_references( $ID, $parent, $add_references = true ) {
2668
  global $wpdb;
2669
  static $save_id = -1, $references, $inserted_in_option = NULL;
2670
 
2674
  $save_id = -1;
2675
  return NULL;
2676
  }
2677
+
2678
  /*
2679
+ * inserted_option 'enabled', 'base' or 'disabled'
2680
  * tested_reference true if any of the four where-used types was processed
2681
  * found_reference true if any where-used array is not empty()
2682
  * found_parent true if $parent matches a where-used post ID
2697
  * galleries Array of objects with the post_type and post_title of each post
2698
  * that was returned by a [gallery] shortcode
2699
  * parent_type 'post' or 'page' or the custom post type of the attachment's parent
2700
+ * parent_status 'publish', 'private', 'future', 'pending', 'draft'
2701
  * parent_title post_title of the attachment's parent
2702
  * parent_errors UNATTACHED, ORPHAN, BAD/INVALID PARENT
2703
  */
2704
  $references = array(
2705
+ 'inserted_option' => '',
2706
  'tested_reference' => false,
2707
  'found_reference' => false,
2708
  'found_parent' => false,
2716
  'mla_galleries' => array(),
2717
  'galleries' => array(),
2718
  'parent_type' => '',
2719
+ 'parent_status' => '',
2720
  'parent_title' => '',
2721
  'parent_errors' => ''
2722
  );
2723
 
2724
+ if ( ! $add_references ) {
2725
+ return $references;
2726
+ }
2727
+
2728
  /*
2729
  * Fill in Parent data
2730
  */
2733
  $references['parent_type'] = $parent_data['parent_type'];
2734
  }
2735
 
2736
+ if ( isset( $parent_data['parent_status'] ) ) {
2737
+ $references['parent_status'] = $parent_data['parent_status'];
2738
+ }
2739
+
2740
  if ( isset( $parent_data['parent_title'] ) ) {
2741
  $references['parent_title'] = $parent_data['parent_title'];
2742
  }
2754
  $sizes = isset( $attachment_metadata['sizes'] ) ? $attachment_metadata['sizes'] : NULL;
2755
  if ( ! empty( $sizes ) ) {
2756
  // Using the name as the array key ensures each name is added only once
2757
+ foreach ( $sizes as $size => $size_info ) {
2758
+ $size_info['size'] = $size;
2759
+ $references['files'][ $references['path'] . $size_info['file'] ] = $size_info;
2760
  }
2761
  }
2762
 
2766
  'width' => isset( $attachment_metadata['width'] ) ? $attachment_metadata['width'] : 0,
2767
  'height' => isset( $attachment_metadata['height'] ) ? $attachment_metadata['height'] : 0,
2768
  'mime_type' => isset( $base_type['type'] ) ? $base_type['type'] : 'unknown',
2769
+ 'size' => 'full',
2770
  );
2771
 
2772
  $references['files'][ $references['base_file'] ] = $base_reference;
2802
  foreach ( $features as $feature ) {
2803
  $feature_results = $wpdb->get_results(
2804
  "
2805
+ SELECT ID, post_type, post_status, post_title
2806
  FROM {$wpdb->posts}
2807
  WHERE {$exclude_revisions}(ID = {$feature->post_id})
2808
  "
2823
  /*
2824
  * Look for item(s) inserted in post_content
2825
  */
2826
+ $references['inserted_option'] = $inserted_in_option;
2827
  if ( MLAOptions::$process_inserted_in ) {
2828
  $reference_tests++;
2829
 
2830
  if ( NULL == $inserted_in_option ) {
2831
  $inserted_in_option = MLAOptions::mla_get_option( MLAOptions::MLA_INSERTED_IN_TUNING );
2832
+ $references['inserted_option'] = $inserted_in_option;
2833
  }
2834
+
2835
  $wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
2836
  if ( 'base' == $inserted_in_option ) {
2837
  $query_parameters = array();
2838
  $query = array();
2839
+ $query[] = "SELECT ID, post_type, post_status, post_title, CONVERT(`post_content` USING utf8 ) AS POST_CONTENT FROM {$wpdb->posts} WHERE {$exclude_revisions} ( %s=%s";
2840
  $query_parameters[] = '1'; // for empty file name array
2841
  $query_parameters[] = '0'; // for empty file name array
2842
 
2886
 
2887
  $inserts = $wpdb->get_results(
2888
  $wpdb->prepare(
2889
+ "SELECT ID, post_type, post_status, post_title FROM {$wpdb->posts}
2890
  WHERE {$exclude_revisions}(CONVERT(`post_content` USING utf8 ) LIKE %s)", "%{$like}%"
2891
  )
2892
  );
3001
  * See element definitions above
3002
  */
3003
  $initial_references = array(
3004
+ 'inserted_option' => '',
3005
  'tested_reference' => false,
3006
  'found_reference' => false,
3007
  'found_parent' => false,
3015
  'mla_galleries' => array(),
3016
  'galleries' => array(),
3017
  'parent_type' => '',
3018
+ 'parent_status' => '',
3019
  'parent_title' => '',
3020
  'parent_errors' => ''
3021
  );
3052
  $sizes = isset( $attachment_metadata['sizes'] ) ? $attachment_metadata['sizes'] : NULL;
3053
  if ( ! empty( $sizes ) ) {
3054
  /* Using the path and name as the array key ensures each name is added only once */
3055
+ foreach ( $sizes as $size => $size_info ) {
3056
+ $size_info['size'] = $size;
3057
+ $references['files'][ $references['path'] . $size_info['file'] ] = $size_info;
3058
  }
3059
  }
3060
 
3065
  'width' => isset( $attachment_metadata['width'] ) ? $attachment_metadata['width'] : 0,
3066
  'height' => isset( $attachment_metadata['height'] ) ? $attachment_metadata['height'] : 0,
3067
  'mime_type' => ( isset( $base_type['type'] ) && false !== $base_type['type'] ) ? $base_type['type'] : 'unknown',
3068
+ 'size' => 'full',
3069
  );
3070
 
3071
  $references['files'][ $references['base_file'] ] = $base_reference;
3085
  $attachment_ids = implode( ',', $attachment_ids );
3086
  $results = $wpdb->get_results(
3087
  "
3088
+ SELECT m.meta_value, p.ID, p.post_type, p.post_status, p.post_title
3089
  FROM {$wpdb->postmeta} AS m INNER JOIN {$wpdb->posts} AS p ON m.post_id = p.ID
3090
  WHERE ( m.meta_key = '_thumbnail_id' )
3091
  AND ( m.meta_value IN ( {$attachment_ids} ) ){$exclude_revisions}
3093
  );
3094
 
3095
  foreach ( $results as $result ) {
3096
+ $features[ $result->meta_value ][ $result->ID ] = (object) array( 'ID' => $result->ID, 'post_title' => $result->post_title, 'post_type' => $result->post_type, 'post_status' => $result->post_status );
3097
  }
3098
  } // $process_featured_in
3099
 
3102
  }
3103
 
3104
  $inserted_in_option = MLAOptions::mla_get_option( MLAOptions::MLA_INSERTED_IN_TUNING );
3105
+ $initial_references['inserted_option'] = $inserted_in_option;
3106
  if ( MLAOptions::$process_inserted_in ) {
3107
  $wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
3108
  $query_parameters = array();
3109
  $query = array();
3110
+ $query[] = "SELECT ID, post_type, post_status, post_title, CONVERT(`post_content` USING utf8 ) AS POST_CONTENT FROM {$wpdb->posts} WHERE ( %s=%s";
3111
  // for empty file name array
3112
  $query_parameters[] = '1';
3113
  $query_parameters[] = '0';
3178
  $references['parent_type'] = $attachment->parent_type;
3179
  }
3180
 
3181
+ if ( isset( $attachment->parent_status ) ) {
3182
+ $references['parent_status'] = $attachment->parent_status;
3183
+ }
3184
+
3185
  if ( isset( $attachment->parent_title ) ) {
3186
  $references['parent_title'] = $attachment->parent_title;
3187
  }
3322
  * The outer array is keyed by post_id. It contains an associative array with:
3323
  * ['parent_title'] post_title of the gallery parent,
3324
  * ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
3325
+ * ['parent_status'] 'publish', 'private', 'future', 'pending', 'draft'
3326
  * ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
3327
  * ['galleries'] array of [gallery] entries numbered from one (1), containing:
3328
  * galleries[X]['query'] contains a string with the arguments of the [gallery],
3445
  $results = $wpdb->get_results(
3446
  $wpdb->prepare(
3447
  "
3448
+ SELECT ID, post_type, post_status, post_title, post_content
3449
  FROM {$wpdb->posts}
3450
  WHERE {$exclude_revisions}(
3451
  CONVERT(`post_content` USING utf8 )
3464
  $result_id = $result->ID;
3465
  $galleries_array[ $result_id ]['parent_title'] = $result->post_title;
3466
  $galleries_array[ $result_id ]['parent_type'] = $result->post_type;
3467
+ $galleries_array[ $result_id ]['parent_status'] = $result->post_status;
3468
  $galleries_array[ $result_id ]['results'] = array();
3469
  $galleries_array[ $result_id ]['galleries'] = array();
3470
  $instance = 0;
3523
  if ( ! empty( $galleries_array ) ) {
3524
  foreach ( $galleries_array as $parent_id => $gallery ) {
3525
  if ( in_array( $attachment_id, $gallery['results'] ) ) {
3526
+ $gallery_refs[ $parent_id ] = array ( 'ID' => $parent_id, 'post_title' => $gallery['parent_title'], 'post_type' => $gallery['parent_type'], 'post_status' => $gallery['parent_status'] );
3527
  }
3528
  } // foreach gallery
3529
  } // ! empty
5720
  * @return array success/failure message and NULL content
5721
  */
5722
  public static function mla_update_single_item( $post_id, $new_data, $tax_input = NULL, $tax_actions = NULL ) {
5723
+ $post_data = self::mla_get_attachment_by_id( $post_id, false );
5724
  if ( !isset( $post_data ) ) {
5725
  return array(
5726
  'message' => __( 'ERROR: Could not retrieve Attachment.', 'media-library-assistant' ),
5902
  $taxonomy_obj = get_taxonomy( $taxonomy );
5903
 
5904
  if ( current_user_can( $taxonomy_obj->cap->assign_terms ) ) {
5905
+ if ( is_array( $tags ) ) // array of int = hierarchical, array of string = non-hierarchical.
 
 
 
5906
  $tags = array_filter( $tags );
5907
 
5908
  switch ( $tax_action ) {
5912
  break;
5913
  case 'remove':
5914
  $action_name = __( 'Removing', 'media-library-assistant' );
5915
+ $tags = self::_remove_terms( $post_id, $tags, $taxonomy_obj );
5916
  $result = wp_set_post_terms( $post_id, $tags, $taxonomy );
5917
+
5918
+ if ( empty( $tags ) ) {
5919
+ $result = true;
5920
+ }
5921
  break;
5922
  case 'replace':
5923
  $action_name = __( 'Replacing', 'media-library-assistant' );
5924
  $result = wp_set_post_terms( $post_id, $tags, $taxonomy );
5925
+
5926
+ if ( empty( $tags ) ) {
5927
+ $result = true;
5928
+ }
5929
  break;
5930
  default:
5931
  $action_name = __( 'Ignoring', 'media-library-assistant' );
5932
  $result = NULL;
5933
  // ignore anything else
5934
  }
5935
+
5936
+ /*
5937
+ * Definitive results check would use:
5938
+ * do_action( 'set_object_terms', $object_id, $terms, $tt_ids, $taxonomy, $append, $old_tt_ids );
5939
+ * in /wp_includes/taxonomy.php function wp_set_object_terms()
5940
+ */
5941
+ if ( ! empty( $result ) ) {
5942
  delete_transient( MLA_OPTION_PREFIX . 't_term_counts_' . $taxonomy );
5943
  /* translators: 1: action_name, 2: taxonomy */
5944
  $message .= sprintf( __( '%1$s "%2$s" terms', 'media-library-assistant' ) . '<br>', $action_name, $taxonomy );
5991
  }
5992
 
5993
  /**
5994
+ * Remove terms from an attachment's assignments
5995
  *
5996
  * @since 0.40
5997
  *
5998
+ * @param integer The ID of the attachment to be updated
5999
+ * @param array The term ids (integer array) or names (string array) to remove
6000
  * @param object The taxonomy object
6001
  *
6002
+ * @return array Term ids/names of the surviving terms
6003
  */
6004
+ private static function _remove_terms( $post_id, $terms, $taxonomy_obj ) {
6005
+ $taxonomy = $taxonomy_obj->name;
6006
+ $hierarchical = $taxonomy_obj->hierarchical;
6007
+
6008
+ /*
6009
+ * Get the current terms for the terms_after check
6010
+ */
6011
+ $current_terms = get_object_term_cache( $post_id, $taxonomy );
6012
+ if ( false === $current_terms ) {
6013
+ $current_terms = wp_get_object_terms( $post_id, $taxonomy );
6014
+ wp_cache_add( $post_id, $current_terms, $taxonomy . '_relationships' );
6015
+ }
6016
+
6017
+ $terms_before = array();
6018
+ foreach( $current_terms as $term ) {
6019
+ $terms_before[ $term->term_id ] = $term->name;
6020
+ }
6021
+
6022
+ $terms_after = array();
6023
+ if ( $hierarchical ) {
6024
+ $terms = array_map( 'intval', $terms );
6025
+ $terms = array_unique( $terms );
6026
+
6027
+ foreach( $terms_before as $index => $term ) {
6028
+ if ( ! in_array( $index, $terms ) ) {
6029
+ $terms_after[] = $index;
6030
  }
6031
+ }
6032
+ } else {
6033
+ foreach( $terms_before as $index => $term ) {
6034
+ if ( ! in_array( $term, $terms ) ) {
6035
+ $terms_after[] = $term;
6036
  }
6037
+ }
6038
+ }
6039
+
 
 
 
 
 
6040
  return $terms_after;
6041
  }
6042
 
includes/class-mla-edit-media.php CHANGED
@@ -413,7 +413,22 @@ class MLAEdit {
413
  if ( empty(self::$mla_references['parent_title'] ) ) {
414
  $parent_info = self::$mla_references['parent_errors'];
415
  } else {
416
- $parent_info = sprintf( '(%1$s) %2$s %3$s', self::$mla_references['parent_type'], self::$mla_references['parent_title'], self::$mla_references['parent_errors'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
417
  }
418
  } else {
419
  $parent_info = '';
@@ -421,11 +436,9 @@ class MLAEdit {
421
 
422
  $parent_info = apply_filters( 'mla_parent_info_meta_box', $parent_info, self::$mla_references, $post );
423
 
424
- echo '<table><tr>';
425
- echo '<td><label class="screen-reader-text" for="mla_post_parent">' . __( 'Post Parent', 'media-library-assistant' ) . '</label><input name="mla_post_parent" type="text" size="4" id="mla_post_parent" value="' . $post->post_parent . "\" /></td>\n";
426
- echo '<td><label class="screen-reader-text" for="mla_parent_info">' . __( 'Parent Info', 'media-library-assistant' ) . '</label><input class="readonly" name="mla_parent_info" type="text" readonly="readonly" disabled="disabled" id="mla_parent_info" value="' . esc_attr( $parent_info ) . "\" /></td>\n";
427
- echo '<td><label class="screen-reader-text" for="mla_parent_info">' . __( 'Select Parent', 'media-library-assistant' ) . '</label><input id="mla_set_parent" class="button-primary parent" type="button" name="post_parent_set" value="' . __( 'Select', 'media-library-assistant' ) . '" /></td>';
428
- echo '</tr></table>';
429
 
430
  echo MLA::mla_set_parent_form( false );
431
  }
413
  if ( empty(self::$mla_references['parent_title'] ) ) {
414
  $parent_info = self::$mla_references['parent_errors'];
415
  } else {
416
+ $flag = ', ';
417
+ switch ( self::$mla_references['parent_status'] ) {
418
+ case 'future' :
419
+ $flag .= __('Scheduled');
420
+ break;
421
+ case 'pending' :
422
+ $flag .= _x('Pending', 'post state');
423
+ break;
424
+ case 'draft' :
425
+ $flag .= __('Draft');
426
+ break;
427
+ default:
428
+ $flag = '';
429
+ }
430
+
431
+ $parent_info = sprintf( '%1$s (%2$s%3$s) %4$s', self::$mla_references['parent_title'], self::$mla_references['parent_type'], $flag, self::$mla_references['parent_errors'] );
432
  }
433
  } else {
434
  $parent_info = '';
436
 
437
  $parent_info = apply_filters( 'mla_parent_info_meta_box', $parent_info, self::$mla_references, $post );
438
 
439
+ echo '<label class="screen-reader-text" for="mla_post_parent">' . __( 'Post Parent', 'media-library-assistant' ) . '</label><input name="mla_post_parent" id="mla_post_parent" type="text" value="' . $post->post_parent . "\" />\n";
440
+ echo '<label class="screen-reader-text" for="mla_parent_info">' . __( 'Select Parent', 'media-library-assistant' ) . '</label><input name="post_parent_set" id="mla_set_parent" class="button-primary parent" type="button" value="' . __( 'Select', 'media-library-assistant' ) . '" />';
441
+ echo '<label class="screen-reader-text" for="mla_parent_info">' . __( 'Parent Info', 'media-library-assistant' ) . '</label><input name="mla_parent_info" id="mla_parent_info" type="text" readonly="readonly" disabled="disabled" value="' . esc_attr( $parent_info ) . "\" /></span>\n";
 
 
442
 
443
  echo MLA::mla_set_parent_form( false );
444
  }
includes/class-mla-list-table.php CHANGED
@@ -617,6 +617,7 @@ class MLA_List_Table extends WP_List_Table {
617
 
618
  if ( false === $terms ) {
619
  $terms = wp_get_object_terms( $item->ID, $taxonomy );
 
620
  }
621
 
622
  if ( !is_wp_error( $terms ) ) {
@@ -626,7 +627,7 @@ class MLA_List_Table extends WP_List_Table {
626
 
627
  $list = array();
628
  foreach ( $terms as $term ) {
629
- $term_name = esc_html( sanitize_term_field( 'name', $term->name, $term->term_id, 'category', 'display' ) );
630
  $list[] = sprintf( '<a href="%1$s" title="' . __( 'Filter by', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%3$s</a>', esc_url( add_query_arg( array_merge( self::mla_submenu_arguments( false ), array(
631
  'page' => MLA::ADMIN_PAGE_SLUG,
632
  'mla-tax' => $taxonomy,
@@ -745,7 +746,35 @@ class MLA_List_Table extends WP_List_Table {
745
  }
746
 
747
  return sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%3$s</a>', admin_url( $edit_url ), esc_attr( $item->post_title ), $thumb );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
748
  }
 
 
 
749
 
750
  /**
751
  * Add rollover actions to exactly one of the following displayed columns:
@@ -877,6 +906,7 @@ class MLA_List_Table extends WP_List_Table {
877
  $terms = get_object_term_cache( $item->ID, $tax_name );
878
  if ( false === $terms ) {
879
  $terms = wp_get_object_terms( $item->ID, $tax_name );
 
880
  }
881
 
882
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
@@ -1053,23 +1083,34 @@ class MLA_List_Table extends WP_List_Table {
1053
  if ( !MLAOptions::$process_featured_in ) {
1054
  return __( 'Disabled', 'media-library-assistant' );
1055
  }
 
 
 
 
 
 
 
 
 
 
1056
 
1057
  $value = '';
1058
-
1059
- foreach ( $item->mla_references['features'] as $feature_id => $feature ) {
1060
- if ( $feature_id == $item->post_parent ) {
 
1061
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1062
  } else {
1063
  $parent = '';
1064
  }
1065
 
1066
- $value .= sprintf( '(%1$s %2$s%3$s), <a href="%4$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%5$s&#8221;">%6$s</a>',
1067
- /*%1$s*/ esc_attr( $feature->post_type ),
1068
- /*%2$s*/ $feature_id,
1069
- /*%3$s*/ $parent,
1070
- /*%4$s*/ esc_url( add_query_arg( array('post' => $feature_id, 'action' => 'edit'), 'post.php' ) ),
1071
- /*%5$s*/ esc_attr( $feature->post_title ),
1072
- /*%6$s*/ esc_attr( $feature->post_title ) ) . "<br>\r\n";
1073
  } // foreach $feature
1074
 
1075
  return $value;
@@ -1089,24 +1130,36 @@ class MLA_List_Table extends WP_List_Table {
1089
  }
1090
 
1091
  $value = '';
1092
-
1093
  foreach ( $item->mla_references['inserts'] as $file => $inserts ) {
1094
- $value .= sprintf( '<strong>%1$s</strong><br>', $file );
 
 
1095
 
 
 
 
 
 
 
 
 
 
1096
  foreach ( $inserts as $insert ) {
 
 
1097
  if ( $insert->ID == $item->post_parent ) {
1098
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1099
  } else {
1100
  $parent = '';
1101
  }
1102
 
1103
- $value .= sprintf( '(%1$s %2$s%3$s), <a href="%4$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%5$s&#8221;">%6$s</a>',
1104
- /*%1$s*/ esc_attr( $insert->post_type ),
1105
- /*%2$s*/ $insert->ID,
1106
- /*%3$s*/ $parent,
1107
- /*%4$s*/ esc_url( add_query_arg( array('post' => $insert->ID, 'action' => 'edit'), 'post.php' ) ),
1108
- /*%5$s*/ esc_attr( $insert->post_title ),
1109
- /*%6$s*/ esc_attr( $insert->post_title ) ) . "<br>\r\n";
1110
  } // foreach $insert
1111
  } // foreach $file
1112
 
@@ -1126,22 +1179,33 @@ class MLA_List_Table extends WP_List_Table {
1126
  return __( 'Disabled', 'media-library-assistant' );
1127
  }
1128
 
 
 
 
 
 
 
 
 
 
 
1129
  $value = '';
1130
-
1131
- foreach ( $item->mla_references['galleries'] as $ID => $gallery ) {
1132
- if ( $ID == $item->post_parent ) {
 
1133
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1134
  } else {
1135
  $parent = '';
1136
  }
1137
 
1138
- $value .= sprintf( '(%1$s %2$s%3$s), <a href="%4$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%5$s&#8221;">%6$s</a>',
1139
- /*%1$s*/ esc_attr( $gallery['post_type'] ),
1140
- /*%2$s*/ $ID,
1141
- /*%3$s*/ $parent,
1142
- /*%4$s*/ esc_url( add_query_arg( array('post' => $ID, 'action' => 'edit'), 'post.php' ) ),
1143
- /*%5$s*/ esc_attr( $gallery['post_title'] ),
1144
- /*%6$s*/ esc_attr( $gallery['post_title'] ) ) . "<br>\r\n";
1145
  } // foreach $gallery
1146
 
1147
  return $value;
@@ -1160,22 +1224,33 @@ class MLA_List_Table extends WP_List_Table {
1160
  return __( 'Disabled', 'media-library-assistant' );
1161
  }
1162
 
 
 
 
 
 
 
 
 
 
 
1163
  $value = '';
1164
-
1165
- foreach ( $item->mla_references['mla_galleries'] as $ID => $gallery ) {
1166
- if ( $ID == $item->post_parent ) {
 
1167
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1168
  } else {
1169
  $parent = '';
1170
  }
1171
 
1172
- $value .= sprintf( '(%1$s %2$s%3$s), <a href="%4$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%5$s&#8221;">%6$s</a>',
1173
- /*%1$s*/ esc_attr( $gallery['post_type'] ),
1174
- /*%2$s*/ $ID,
1175
- /*%3$s*/ $parent,
1176
- /*%4$s*/ esc_url( add_query_arg( array('post' => $ID, 'action' => 'edit'), 'post.php' ) ),
1177
- /*%5$s*/ esc_attr( $gallery['post_title'] ),
1178
- /*%6$s*/ esc_attr( $gallery['post_title'] ) ) . "<br>\r\n";
1179
  } // foreach $gallery
1180
 
1181
  return $value;
@@ -1387,7 +1462,7 @@ class MLA_List_Table extends WP_List_Table {
1387
  }
1388
 
1389
  if ( isset( $item->parent_type ) ) {
1390
- $parent_type = '(' . $item->parent_type . ' ' . (string) $item->post_parent . ')';
1391
  } else {
1392
  $parent_type = '';
1393
  }
617
 
618
  if ( false === $terms ) {
619
  $terms = wp_get_object_terms( $item->ID, $taxonomy );
620
+ wp_cache_add( $item->ID, $terms, $taxonomy . '_relationships' );
621
  }
622
 
623
  if ( !is_wp_error( $terms ) ) {
627
 
628
  $list = array();
629
  foreach ( $terms as $term ) {
630
+ $term_name = esc_html( sanitize_term_field( 'name', $term->name, $term->term_id, $taxonomy, 'display' ) );
631
  $list[] = sprintf( '<a href="%1$s" title="' . __( 'Filter by', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%3$s</a>', esc_url( add_query_arg( array_merge( self::mla_submenu_arguments( false ), array(
632
  'page' => MLA::ADMIN_PAGE_SLUG,
633
  'mla-tax' => $taxonomy,
746
  }
747
 
748
  return sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%3$s</a>', admin_url( $edit_url ), esc_attr( $item->post_title ), $thumb );
749
+ }
750
+
751
+ /**
752
+ * Translate post_status 'future', 'pending' and 'draft' to label
753
+ *
754
+ * @since 2.01
755
+ *
756
+ * @param string post_status
757
+ *
758
+ * @return string Status label or empty string
759
+ */
760
+ protected function _format_post_status( $post_status ) {
761
+ $flag = ',<br>';
762
+ switch ( $post_status ) {
763
+ case 'future' :
764
+ $flag .= __('Scheduled');
765
+ break;
766
+ case 'pending' :
767
+ $flag .= _x('Pending', 'post state');
768
+ break;
769
+ case 'draft' :
770
+ $flag .= __('Draft');
771
+ break;
772
+ default:
773
+ $flag = '';
774
  }
775
+
776
+ return $flag;
777
+ }
778
 
779
  /**
780
  * Add rollover actions to exactly one of the following displayed columns:
906
  $terms = get_object_term_cache( $item->ID, $tax_name );
907
  if ( false === $terms ) {
908
  $terms = wp_get_object_terms( $item->ID, $tax_name );
909
+ wp_cache_add( $item->ID, $terms, $tax_name . '_relationships' );
910
  }
911
 
912
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
1083
  if ( !MLAOptions::$process_featured_in ) {
1084
  return __( 'Disabled', 'media-library-assistant' );
1085
  }
1086
+
1087
+ /*
1088
+ * Move parent to the top of the list
1089
+ */
1090
+ $features = $item->mla_references['features'];
1091
+ if ( isset( $features[ $item->post_parent ] ) ) {
1092
+ $parent = $features[ $item->post_parent ];
1093
+ unset( $features[ $item->post_parent ] );
1094
+ array_unshift( $features, $parent );
1095
+ }
1096
 
1097
  $value = '';
1098
+ foreach ( $features as $feature ) {
1099
+ $status = self::_format_post_status( $feature->post_status );
1100
+
1101
+ if ( $feature->ID == $item->post_parent ) {
1102
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1103
  } else {
1104
  $parent = '';
1105
  }
1106
 
1107
+ $value .= sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%2$s</a> (%3$s %4$s%5$s%6$s), ',
1108
+ /*%1$s*/ esc_url( add_query_arg( array('post' => $feature->ID, 'action' => 'edit'), 'post.php' ) ),
1109
+ /*%2$s*/ esc_attr( $feature->post_title ),
1110
+ /*%3$s*/ esc_attr( $feature->post_type ),
1111
+ /*%4$s*/ $feature->ID,
1112
+ /*%5$s*/ $status,
1113
+ /*%6$s*/ $parent ) . "<br>\r\n";
1114
  } // foreach $feature
1115
 
1116
  return $value;
1130
  }
1131
 
1132
  $value = '';
 
1133
  foreach ( $item->mla_references['inserts'] as $file => $inserts ) {
1134
+ if ( 'base' != $item->mla_references['inserted_option'] ) {
1135
+ $value .= sprintf( '<strong>%1$s</strong><br>', $file );
1136
+ }
1137
 
1138
+ /*
1139
+ * Move parent to the top of the list
1140
+ */
1141
+ if ( isset( $inserts[ $item->post_parent ] ) ) {
1142
+ $parent = $inserts[ $item->post_parent ];
1143
+ unset( $inserts[ $item->post_parent ] );
1144
+ array_unshift( $inserts, $parent );
1145
+ }
1146
+
1147
  foreach ( $inserts as $insert ) {
1148
+ $status = self::_format_post_status( $insert->post_status );
1149
+
1150
  if ( $insert->ID == $item->post_parent ) {
1151
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1152
  } else {
1153
  $parent = '';
1154
  }
1155
 
1156
+ $value .= sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%2$s</a> (%3$s %4$s%5$s%6$s), ',
1157
+ /*%1$s*/ esc_url( add_query_arg( array('post' => $insert->ID, 'action' => 'edit'), 'post.php' ) ),
1158
+ /*%2$s*/ esc_attr( $insert->post_title ),
1159
+ /*%3$s*/ esc_attr( $insert->post_type ),
1160
+ /*%4$s*/ $insert->ID,
1161
+ /*%3$s*/ $status,
1162
+ /*%6$s*/ $parent ) . "<br>\r\n";
1163
  } // foreach $insert
1164
  } // foreach $file
1165
 
1179
  return __( 'Disabled', 'media-library-assistant' );
1180
  }
1181
 
1182
+ /*
1183
+ * Move parent to the top of the list
1184
+ */
1185
+ $galleries = $item->mla_references['galleries'];
1186
+ if ( isset( $galleries[ $item->post_parent ] ) ) {
1187
+ $parent = $galleries[ $item->post_parent ];
1188
+ unset( $galleries[ $item->post_parent ] );
1189
+ array_unshift( $galleries, $parent );
1190
+ }
1191
+
1192
  $value = '';
1193
+ foreach ( $galleries as $ID => $gallery ) {
1194
+ $status = self::_format_post_status( $gallery['post_status'] );
1195
+
1196
+ if ( $gallery['ID'] == $item->post_parent ) {
1197
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1198
  } else {
1199
  $parent = '';
1200
  }
1201
 
1202
+ $value .= sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%2$s</a> (%3$s %4$s%5$s%6$s),',
1203
+ /*%1$s*/ esc_url( add_query_arg( array('post' => $gallery['ID'], 'action' => 'edit'), 'post.php' ) ),
1204
+ /*%2$s*/ esc_attr( $gallery['post_title'] ),
1205
+ /*%3$s*/ esc_attr( $gallery['post_type'] ),
1206
+ /*%4$s*/ $gallery['ID'],
1207
+ /*%5$s*/ $status,
1208
+ /*%6$s*/ $parent ) . "<br>\r\n";
1209
  } // foreach $gallery
1210
 
1211
  return $value;
1224
  return __( 'Disabled', 'media-library-assistant' );
1225
  }
1226
 
1227
+ /*
1228
+ * Move parent to the top of the list
1229
+ */
1230
+ $mla_galleries = $item->mla_references['mla_galleries'];
1231
+ if ( isset( $mla_galleries[ $item->post_parent ] ) ) {
1232
+ $parent = $mla_galleries[ $item->post_parent ];
1233
+ unset( $mla_galleries[ $item->post_parent ] );
1234
+ array_unshift( $mla_galleries, $parent );
1235
+ }
1236
+
1237
  $value = '';
1238
+ foreach ( $mla_galleries as $gallery ) {
1239
+ $status = self::_format_post_status( $gallery['post_status'] );
1240
+
1241
+ if ( $gallery['ID'] == $item->post_parent ) {
1242
  $parent = ',<br>' . __( 'PARENT', 'media-library-assistant' );
1243
  } else {
1244
  $parent = '';
1245
  }
1246
 
1247
+ $value .= sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' &#8220;%2$s&#8221;">%2$s</a> (%3$s %4$s%5$s%6$s),',
1248
+ /*%1$s*/ esc_url( add_query_arg( array('post' => $gallery['ID'], 'action' => 'edit'), 'post.php' ) ),
1249
+ /*%2$s*/ esc_attr( $gallery['post_title'] ),
1250
+ /*%3$s*/ esc_attr( $gallery['post_type'] ),
1251
+ /*%4$s*/ $gallery['ID'],
1252
+ /*%5$s*/ $status,
1253
+ /*%6$s*/ $parent ) . "<br>\r\n";
1254
  } // foreach $gallery
1255
 
1256
  return $value;
1462
  }
1463
 
1464
  if ( isset( $item->parent_type ) ) {
1465
+ $parent_type = '(' . $item->parent_type . ' ' . (string) $item->post_parent . self::_format_post_status( $item->parent_status ) . ')';
1466
  } else {
1467
  $parent_type = '';
1468
  }
includes/class-mla-main.php CHANGED
@@ -29,7 +29,7 @@ class MLA {
29
  *
30
  * @var string
31
  */
32
- const CURRENT_MLA_VERSION = '2.00';
33
 
34
  /**
35
  * Slug for registering and enqueueing plugin style sheet
@@ -855,7 +855,6 @@ class MLA {
855
  */
856
  private static function _process_bulk_action( $bulk_action ) {
857
  $page_content = array( 'message' => '', 'body' => '', 'unchanged' => 0, 'success' => 0, 'failure' => 0, 'item_results' => array() );
858
-
859
  if ( isset( $_REQUEST['cb_attachment'] ) ) {
860
  $item_content = apply_filters( 'mla_list_table_begin_bulk_action', NULL, $bulk_action );
861
  if ( is_null( $item_content ) ) {
@@ -1004,12 +1003,113 @@ class MLA {
1004
  $new_data[ 'custom_updates' ] = $custom_fields;
1005
  }
1006
 
1007
- $item_content = MLAData::mla_update_single_item( $post_id, $new_data, $_REQUEST['tax_input'], $_REQUEST['tax_action'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1008
  break;
1009
  case 'restore':
1010
  $item_content = self::_restore_single_item( $post_id );
1011
  break;
1012
- //case 'tag':
1013
  case 'trash':
1014
  $item_content = self::_trash_single_item( $post_id );
1015
  break;
@@ -1591,6 +1691,19 @@ class MLA {
1591
  * @return void echo json results or error message, then die()
1592
  */
1593
  private static function _bulk_edit_ajax_handler() {
 
 
 
 
 
 
 
 
 
 
 
 
 
1594
  /*
1595
  * Convert bulk_action to the old button name/value variables
1596
  */
@@ -1801,7 +1914,7 @@ class MLA {
1801
  'Date' => __( 'Date', 'media-library-assistant' ),
1802
  'Status' => __( 'Status', 'media-library-assistant' ),
1803
  'Unattached' => __( 'Unattached', 'media-library-assistant' ),
1804
- 'mla_find_posts_nonce' => wp_nonce_field( 'mla_find_posts', 'mla-set-parent-ajax-nonce', false ),
1805
  );
1806
 
1807
  ob_start();
29
  *
30
  * @var string
31
  */
32
+ const CURRENT_MLA_VERSION = '2.01';
33
 
34
  /**
35
  * Slug for registering and enqueueing plugin style sheet
855
  */
856
  private static function _process_bulk_action( $bulk_action ) {
857
  $page_content = array( 'message' => '', 'body' => '', 'unchanged' => 0, 'success' => 0, 'failure' => 0, 'item_results' => array() );
 
858
  if ( isset( $_REQUEST['cb_attachment'] ) ) {
859
  $item_content = apply_filters( 'mla_list_table_begin_bulk_action', NULL, $bulk_action );
860
  if ( is_null( $item_content ) ) {
1003
  $new_data[ 'custom_updates' ] = $custom_fields;
1004
  }
1005
 
1006
+ /*
1007
+ * Taxonomy Support
1008
+ */
1009
+ $tax_input = array();
1010
+ foreach ( $_REQUEST['tax_input'] as $taxonomy => $terms ) {
1011
+ if ( ! empty( $_REQUEST['tax_action'] ) ) {
1012
+ $tax_action = $_REQUEST['tax_action'][ $taxonomy ];
1013
+ } else {
1014
+ $tax_action = 'replace';
1015
+ }
1016
+
1017
+ /*
1018
+ * Ignore empty updates
1019
+ */
1020
+ if ( $hierarchical = is_array( $terms ) ) {
1021
+ if ( false !== ( $index = array_search( 0, $terms ) ) ) {
1022
+ unset( $terms[ $index ] );
1023
+ }
1024
+ } else {
1025
+ /*
1026
+ * Parse out individual terms
1027
+ */
1028
+ $comma = _x( ',', 'tag_delimiter', 'media-library-assistant' );
1029
+ if ( ',' !== $comma ) {
1030
+ $tags = str_replace( $comma, ',', $terms );
1031
+ }
1032
+
1033
+ $fragments = explode( ',', trim( $terms, " \n\t\r\0\x0B," ) );
1034
+ $terms = array();
1035
+ foreach( $fragments as $fragment ) {
1036
+ $fragment = trim( wp_unslash( $fragment ) );
1037
+ if ( ! empty( $fragment ) ) {
1038
+ $terms[] = $fragment;
1039
+ }
1040
+ } // foreach fragment
1041
+
1042
+ $terms = array_unique( $terms );
1043
+ }
1044
+
1045
+ if ( empty( $terms ) && 'replace' != $tax_action ) {
1046
+ continue;
1047
+ }
1048
+
1049
+ $post_terms = get_object_term_cache( $post_id, $taxonomy );
1050
+ if ( false === $post_terms ) {
1051
+ $post_terms = wp_get_object_terms( $post_id, $taxonomy );
1052
+ wp_cache_add( $post_id, $post_terms, $taxonomy . '_relationships' );
1053
+ }
1054
+
1055
+ $current_terms = array();
1056
+ foreach( $post_terms as $new_term ) {
1057
+ if ( $hierarchical ) {
1058
+ $current_terms[ $new_term->term_id ] = $new_term->term_id;
1059
+ } else {
1060
+ $current_terms[ $new_term->name ] = $new_term->name;
1061
+ }
1062
+ }
1063
+
1064
+ if ( 'add' == $tax_action ) {
1065
+ /*
1066
+ * Add new terms; remove existing terms
1067
+ */
1068
+ foreach ( $terms as $index => $new_term ) {
1069
+ if ( isset( $current_terms[ $new_term ] ) ) {
1070
+ unset( $terms[ $index ] );
1071
+ }
1072
+ }
1073
+
1074
+ $do_update = ! empty( $terms );
1075
+ } elseif ( 'remove' == $tax_action ) {
1076
+ /*
1077
+ * Remove only the existing terms
1078
+ */
1079
+ foreach ( $terms as $index => $new_term ) {
1080
+ if ( ! isset( $current_terms[ $new_term ] ) ) {
1081
+ unset( $terms[ $index ] );
1082
+ }
1083
+ }
1084
+
1085
+ $do_update = ! empty( $terms );
1086
+ } else {
1087
+ /*
1088
+ * Replace all terms; if the new terms match the term
1089
+ * cache, we can skip the update
1090
+ */
1091
+ foreach ( $terms as $new_term ) {
1092
+ if ( isset( $current_terms[ $new_term ] ) ) {
1093
+ unset( $current_terms[ $new_term ] );
1094
+ } else {
1095
+ $current_terms[ $new_term ] = $new_term;
1096
+ break; // not a match; stop checking
1097
+ }
1098
+ }
1099
+
1100
+ $do_update = ! empty( $current_terms );
1101
+ }
1102
+
1103
+ if ( $do_update ) {
1104
+ $tax_input[ $taxonomy ] = $terms;
1105
+ }
1106
+ } // foreach taxonomy
1107
+
1108
+ $item_content = MLAData::mla_update_single_item( $post_id, $new_data, $tax_input, $_REQUEST['tax_action'] );
1109
  break;
1110
  case 'restore':
1111
  $item_content = self::_restore_single_item( $post_id );
1112
  break;
 
1113
  case 'trash':
1114
  $item_content = self::_trash_single_item( $post_id );
1115
  break;
1691
  * @return void echo json results or error message, then die()
1692
  */
1693
  private static function _bulk_edit_ajax_handler() {
1694
+ /*
1695
+ * The category taxonomy (edit screens) is a special case because
1696
+ * post_categories_meta_box() changes the input name
1697
+ */
1698
+ if ( !isset( $_REQUEST['tax_input'] ) ) {
1699
+ $_REQUEST['tax_input'] = array();
1700
+ }
1701
+
1702
+ if ( isset( $_REQUEST['post_category'] ) ) {
1703
+ $_REQUEST['tax_input']['category'] = $_REQUEST['post_category'];
1704
+ unset ( $_REQUEST['post_category'] );
1705
+ }
1706
+
1707
  /*
1708
  * Convert bulk_action to the old button name/value variables
1709
  */
1914
  'Date' => __( 'Date', 'media-library-assistant' ),
1915
  'Status' => __( 'Status', 'media-library-assistant' ),
1916
  'Unattached' => __( 'Unattached', 'media-library-assistant' ),
1917
+ 'mla_find_posts_nonce' => wp_nonce_field( 'mla_find_posts', 'mla-set-parent-ajax-nonce', false, false ),
1918
  );
1919
 
1920
  ob_start();
includes/class-mla-media-modal.php CHANGED
@@ -219,6 +219,7 @@ class MLAModal {
219
 
220
  if ( false === $terms ) {
221
  $terms = wp_get_object_terms( $post_id, $key );
 
222
  }
223
 
224
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
@@ -775,6 +776,7 @@ class MLAModal {
775
 
776
  if ( false === $terms ) {
777
  $terms = wp_get_object_terms( $post_id, $key );
 
778
  }
779
 
780
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
@@ -824,6 +826,7 @@ class MLAModal {
824
 
825
  if ( false === $terms ) {
826
  $terms = wp_get_object_terms( $post_id, $key );
 
827
  }
828
 
829
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
@@ -954,7 +957,13 @@ class MLAModal {
954
 
955
  $results[$key]["mla-{$key}-checklist"] = ob_get_clean();
956
  } else {
957
- $terms = wp_get_object_terms( $id, $key );
 
 
 
 
 
 
958
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
959
  $terms = array();
960
  }
219
 
220
  if ( false === $terms ) {
221
  $terms = wp_get_object_terms( $post_id, $key );
222
+ wp_cache_add( $post_id, $terms, $key . '_relationships' );
223
  }
224
 
225
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
776
 
777
  if ( false === $terms ) {
778
  $terms = wp_get_object_terms( $post_id, $key );
779
+ wp_cache_add( $post_id, $terms, $key . '_relationships' );
780
  }
781
 
782
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
826
 
827
  if ( false === $terms ) {
828
  $terms = wp_get_object_terms( $post_id, $key );
829
+ wp_cache_add( $post_id, $terms, $key . '_relationships' );
830
  }
831
 
832
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
957
 
958
  $results[$key]["mla-{$key}-checklist"] = ob_get_clean();
959
  } else {
960
+ $terms = get_object_term_cache( $id, $key );
961
+
962
+ if ( false === $terms ) {
963
+ $terms = wp_get_object_terms( $id, $key );
964
+ wp_cache_add( $id, $terms, $key . '_relationships' );
965
+ }
966
+
967
  if ( is_wp_error( $terms ) || empty( $terms ) ) {
968
  $terms = array();
969
  }
includes/class-mla-options.php CHANGED
@@ -1991,7 +1991,7 @@ class MLAOptions {
1991
 
1992
  if ( $options['enable_iptc_exif_mapping'] ) {
1993
  $item = get_post( $post_id );
1994
- $updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping', NULL, $data );
1995
  $updates = self::_update_attachment_metadata( $updates, $data );
1996
 
1997
  if ( !empty( $updates ) ) {
@@ -2216,6 +2216,10 @@ class MLAOptions {
2216
  global $wpdb;
2217
  static $post_info = NULL;
2218
 
 
 
 
 
2219
  /*
2220
  * Check for $post_id match
2221
  */
@@ -2235,7 +2239,7 @@ class MLAOptions {
2235
  $data_source = 'ID';
2236
  }
2237
 
2238
- if ( property_exists( $post_info[$post_id], $data_source ) ) {
2239
  $post_array = (array) $post_info[$post_id];
2240
  $value = $post_array[ $data_source ];
2241
  } else {
@@ -3544,6 +3548,54 @@ class MLAOptions {
3544
  } // switch $action
3545
  } // mla_custom_field_option_handler
3546
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3547
  /**
3548
  * Evaluate IPTC/EXIF mapping updates for a post
3549
  *
@@ -3553,10 +3605,11 @@ class MLAOptions {
3553
  * @param string category to evaluate against, e.g., iptc_exif_standard_mapping or iptc_exif_mapping
3554
  * @param array (optional) iptc_exif_mapping values, default - current option value
3555
  * @param array (optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter
 
3556
  *
3557
  * @return array Updates suitable for MLAData::mla_update_single_item, if any
3558
  */
3559
- public static function mla_evaluate_iptc_exif_mapping( $post, $category, $settings = NULL, $attachment_metadata = NULL ) {
3560
  $image_metadata = MLAData::mla_fetch_attachment_image_metadata( $post->ID );
3561
  $updates = array();
3562
  $update_all = ( 'iptc_exif_mapping' == $category );
@@ -3673,7 +3726,7 @@ class MLAOptions {
3673
  /*
3674
  * Convert checkbox value(s)
3675
  */
3676
- $setting_value['hierarchical'] = (boolean) $setting_value['hierarchical'];
3677
 
3678
  $setting_value = apply_filters( 'mla_mapping_rule', $setting_value, $post->ID, 'iptc_exif_taxonomy_mapping', $attachment_metadata );
3679
  if ( NULL === $setting_value ) {
@@ -3722,7 +3775,7 @@ class MLAOptions {
3722
  }
3723
 
3724
  /*
3725
- * Parse out individual terms if Delimiter(s) are present
3726
  */
3727
  if ( ! empty( $setting_value['delimiters'] ) ) {
3728
  $text = $setting_value['delimiters'];
@@ -3731,53 +3784,97 @@ class MLAOptions {
3731
  $delimiters[] = $text[0];
3732
  $text = substr($text, 1);
3733
  }
3734
-
3735
- if ( is_scalar( $new_text ) ) {
3736
- $new_text = array( $new_text );
3737
- }
3738
-
3739
- foreach( $delimiters as $delimiter ) {
3740
- $new_terms = array();
3741
- foreach ( $new_text as $text ) {
3742
- $fragments = explode( $delimiter, $text );
3743
- foreach( $fragments as $fragment ) {
3744
- $fragment = trim( $fragment );
3745
- if ( ! empty( $fragment ) ) {
3746
- $new_terms[] = $fragment;
3747
- }
3748
- } // foreach fragment
3749
- } // foreach $text
3750
- $new_text = array_unique( $new_terms );
3751
- } // foreach $delimiter
3752
  }
3753
 
3754
- if ( !empty( $new_text ) ) {
3755
- if ( $setting_value['hierarchical'] ) {
3756
- if ( is_string( $new_text ) ) {
3757
- $new_text = array( $new_text );
3758
- }
3759
 
3760
- $new_terms = array();
3761
- foreach ( $new_text as $new_term ) {
3762
- $term_object = term_exists( $new_term, $setting_key );
3763
- if ($term_object !== 0 && $term_object !== null) {
3764
- $new_terms[] = $term_object['term_id'];
3765
- } else {
3766
- $term_object = wp_insert_term( $new_term, $setting_key, array( 'parent' => $tax_parent ) );
3767
- if ( ( ! is_wp_error( $term_object ) ) && isset( $term_object['term_id'] ) ) {
3768
- $new_terms[] = $term_object['term_id'];
3769
  }
3770
- }
3771
- } // foreach new_term
 
 
3772
 
3773
- $tax_inputs[ $setting_key ] = $new_terms;
3774
- } // hierarchical
3775
- else {
3776
- $tax_inputs[ $setting_key ] = $new_text;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3777
  }
 
3778
 
3779
- $tax_actions[ $setting_key ] = $tax_action;
3780
- } // new_text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3781
  } // foreach new setting
3782
 
3783
  if ( ! empty( $tax_inputs ) ) {
1991
 
1992
  if ( $options['enable_iptc_exif_mapping'] ) {
1993
  $item = get_post( $post_id );
1994
+ $updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping', NULL, $data, true );
1995
  $updates = self::_update_attachment_metadata( $updates, $data );
1996
 
1997
  if ( !empty( $updates ) ) {
2216
  global $wpdb;
2217
  static $post_info = NULL;
2218
 
2219
+ if ( 0 == $post_id ) {
2220
+ return false;
2221
+ }
2222
+
2223
  /*
2224
  * Check for $post_id match
2225
  */
2239
  $data_source = 'ID';
2240
  }
2241
 
2242
+ if ( isset( $post_info[$post_id] ) && property_exists( $post_info[$post_id], $data_source ) ) {
2243
  $post_array = (array) $post_info[$post_id];
2244
  $value = $post_array[ $data_source ];
2245
  } else {
3548
  } // switch $action
3549
  } // mla_custom_field_option_handler
3550
 
3551
+ /**
3552
+ * Build and search a cache of taxonomy and term name to term ID mappings
3553
+ *
3554
+ * @since 2.01
3555
+ *
3556
+ * @param string term name (not slug)
3557
+ * @param integer zero or term's parent term_id
3558
+ * @param string taxonomy slug
3559
+ * @param array term objects currently assigned to the item
3560
+ *
3561
+ * @return integer term_id for the term name
3562
+ */
3563
+ private static function _get_term_id( $term_name, $term_parent, $taxonomy, &$post_terms ) {
3564
+ static $term_cache = array();
3565
+
3566
+ if ( isset( $term_cache[ $taxonomy ] ) && isset( $term_cache[ $taxonomy ][ $term_parent ] ) && isset( $term_cache[ $taxonomy ][ $term_parent ][ $term_name ] ) ) {
3567
+ return $term_cache[ $taxonomy ][ $term_parent ][ $term_name ];
3568
+ }
3569
+
3570
+ if ( is_array( $post_terms ) ) {
3571
+ $term_id = 0;
3572
+ foreach( $post_terms as $post_term ) {
3573
+ $term_cache[ $taxonomy ][ $post_term->parent ][ $post_term->name ] = $post_term->term_id;
3574
+ if ( $term_name == $post_term->name && $term_parent == $post_term->parent ) {
3575
+ $term_id = $post_term->term_id;
3576
+ }
3577
+ }
3578
+
3579
+ if ( 0 < $term_id ) {
3580
+ return $term_id;
3581
+ }
3582
+ }
3583
+
3584
+ $post_term = term_exists( $term_name, $taxonomy, $term_parent );
3585
+ if ( $post_term !== 0 && $post_term !== NULL ) {
3586
+ $term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
3587
+ return $post_term['term_id'];
3588
+ }
3589
+
3590
+ $post_term = wp_insert_term( $term_name, $taxonomy, array( 'parent' => $term_parent ) );
3591
+ if ( ( ! is_wp_error( $post_term ) ) && isset( $post_term['term_id'] ) ) {
3592
+ $term_cache[ $taxonomy ][ $term_parent ][ $term_name ] = $post_term['term_id'];
3593
+ return $post_term['term_id'];
3594
+ }
3595
+
3596
+ return 0;
3597
+ } // _get_term_id
3598
+
3599
  /**
3600
  * Evaluate IPTC/EXIF mapping updates for a post
3601
  *
3605
  * @param string category to evaluate against, e.g., iptc_exif_standard_mapping or iptc_exif_mapping
3606
  * @param array (optional) iptc_exif_mapping values, default - current option value
3607
  * @param array (optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter
3608
+ * @param boolean (optional) true if uploading a new item else false (default)
3609
  *
3610
  * @return array Updates suitable for MLAData::mla_update_single_item, if any
3611
  */
3612
+ public static function mla_evaluate_iptc_exif_mapping( $post, $category, $settings = NULL, $attachment_metadata = NULL, $is_upload = false ) {
3613
  $image_metadata = MLAData::mla_fetch_attachment_image_metadata( $post->ID );
3614
  $updates = array();
3615
  $update_all = ( 'iptc_exif_mapping' == $category );
3726
  /*
3727
  * Convert checkbox value(s)
3728
  */
3729
+ $hierarchical = $setting_value['hierarchical'] = (boolean) $setting_value['hierarchical'];
3730
 
3731
  $setting_value = apply_filters( 'mla_mapping_rule', $setting_value, $post->ID, 'iptc_exif_taxonomy_mapping', $attachment_metadata );
3732
  if ( NULL === $setting_value ) {
3775
  }
3776
 
3777
  /*
3778
+ * Parse out individual terms
3779
  */
3780
  if ( ! empty( $setting_value['delimiters'] ) ) {
3781
  $text = $setting_value['delimiters'];
3784
  $delimiters[] = $text[0];
3785
  $text = substr($text, 1);
3786
  }
3787
+ } else {
3788
+ $delimiters = array( _x( ',', 'tag_delimiter', 'media-library-assistant' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3789
  }
3790
 
3791
+ if ( is_scalar( $new_text ) ) {
3792
+ $new_text = array( $new_text );
3793
+ }
 
 
3794
 
3795
+ foreach( $delimiters as $delimiter ) {
3796
+ $new_terms = array();
3797
+ foreach ( $new_text as $text ) {
3798
+ $fragments = explode( $delimiter, $text );
3799
+ foreach( $fragments as $fragment ) {
3800
+ $fragment = trim( wp_unslash( $fragment ) );
3801
+ if ( ! empty( $fragment ) ) {
3802
+ $new_terms[] = $fragment;
 
3803
  }
3804
+ } // foreach fragment
3805
+ } // foreach $text
3806
+ $new_text = array_unique( $new_terms );
3807
+ } // foreach $delimiter
3808
 
3809
+ if ( empty( $new_text ) ) {
3810
+ continue;
3811
+ }
3812
+
3813
+ $current_terms = array();
3814
+ if ( ! $is_upload ) {
3815
+ $post_terms = get_object_term_cache( $post->ID, $setting_key );
3816
+ if ( false === $post_terms ) {
3817
+ $post_terms = wp_get_object_terms( $post->ID, $setting_key );
3818
+ wp_cache_add( $post->ID, $post_terms, $setting_key . '_relationships' );
3819
+ }
3820
+
3821
+ foreach( $post_terms as $new_term ) {
3822
+ if ( $hierarchical ) {
3823
+ $current_terms[ $new_term->term_id ] = $new_term->term_id;
3824
+ } else {
3825
+ $current_terms[ $new_term->name ] = $new_term->name;
3826
+ }
3827
  }
3828
+ }
3829
 
3830
+ /*
3831
+ * Hierarchical taxonomies require term_id, flat require term names
3832
+ */
3833
+ if ( $hierarchical ) {
3834
+ /*
3835
+ * Convert text to term_id
3836
+ */
3837
+ $new_terms = array();
3838
+ foreach ( $new_text as $new_term ) {
3839
+ if ( 0 < $new_term = self::_get_term_id( $new_term, $tax_parent, $setting_key, $post_terms ) ) {
3840
+ $new_terms[] = $new_term;
3841
+ }
3842
+ } // foreach new_term
3843
+ } else {
3844
+ $new_terms = $new_text;
3845
+ }
3846
+
3847
+ if ( 'replace' == $tax_action ) {
3848
+ /*
3849
+ * If the new terms match the term cache, we can skip the update
3850
+ */
3851
+ foreach ( $new_terms as $new_term ) {
3852
+ if ( isset( $current_terms[ $new_term ] ) ) {
3853
+ unset( $current_terms[ $new_term ] );
3854
+ } else {
3855
+ $current_terms[ $new_term ] = $new_term;
3856
+ break; // not a match; stop checking
3857
+ }
3858
+ }
3859
+
3860
+ $do_update = ! empty( $current_terms );
3861
+ } else {
3862
+ /*
3863
+ * We are adding terms; remove existing terms
3864
+ */
3865
+ foreach ( $new_terms as $index => $new_term ) {
3866
+ if ( isset( $current_terms[ esc_attr( $new_term ) ] ) ) {
3867
+ unset( $new_terms[ $index ] );
3868
+ }
3869
+ }
3870
+
3871
+ $do_update = ! empty( $new_terms );
3872
+ }
3873
+
3874
+ if ( $do_update ) {
3875
+ $tax_inputs[ $setting_key ] = $new_terms;
3876
+ $tax_actions[ $setting_key ] = $tax_action;
3877
+ }
3878
  } // foreach new setting
3879
 
3880
  if ( ! empty( $tax_inputs ) ) {
includes/class-mla-shortcodes.php CHANGED
@@ -218,8 +218,37 @@ class MLAShortcodes {
218
  $mla_arguments
219
  );
220
 
 
 
 
 
221
  /*
222
- * Look for 'request' substitution parameters,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  * which can be added to any input parameter
224
  */
225
  foreach ( $attr as $attr_key => $attr_value ) {
@@ -232,11 +261,8 @@ class MLAShortcodes {
232
  }
233
 
234
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
235
- $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value );
236
-
237
- if ( ! empty( $replacement_values ) ) {
238
- $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
239
- }
240
  }
241
 
242
  /*
@@ -349,6 +375,14 @@ class MLAShortcodes {
349
  return $output;
350
  }
351
 
 
 
 
 
 
 
 
 
352
  $size = $size_class = $arguments['size'];
353
  if ( 'icon' == strtolower( $size) ) {
354
  if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
@@ -382,10 +416,6 @@ class MLAShortcodes {
382
  $arguments['mla_viewer_width'] = absint( $arguments['mla_viewer_width'] );
383
  }
384
 
385
- // $instance supports multiple galleries in one page/post
386
- static $instance = 0;
387
- $instance++;
388
-
389
  /*
390
  * The default MLA style template includes "margin: 1.5%" to put a bit of
391
  * minimum space between the columns. "mla_margin" can be used to change
@@ -427,11 +457,9 @@ class MLAShortcodes {
427
  $float = is_rtl() ? 'right' : 'left';
428
  }
429
 
430
- $style_values = array(
431
  'mla_style' => $arguments['mla_style'],
432
  'mla_markup' => $arguments['mla_markup'],
433
- 'instance' => $instance,
434
- 'id' => $post->ID,
435
  'itemtag' => tag_escape( $arguments['itemtag'] ),
436
  'icontag' => tag_escape( $arguments['icontag'] ),
437
  'captiontag' => tag_escape( $arguments['captiontag'] ),
@@ -439,9 +467,8 @@ class MLAShortcodes {
439
  'itemwidth' => $width_string,
440
  'margin' => $margin_string,
441
  'float' => $float,
442
- 'selector' => "mla_gallery-{$instance}",
443
  'size_class' => sanitize_html_class( $size_class )
444
- );
445
 
446
  $style_template = $gallery_style = '';
447
 
@@ -495,13 +522,7 @@ class MLAShortcodes {
495
  } // !empty template
496
  } // use_mla_gallery_style
497
 
498
- $upload_dir = wp_upload_dir();
499
  $markup_values = $style_values;
500
- $markup_values['site_url'] = site_url();
501
- $markup_values['base_url'] = $upload_dir['baseurl'];
502
- $markup_values['base_dir'] = $upload_dir['basedir'];
503
- $markup_values['page_ID'] = get_the_ID();
504
- $markup_values['page_url'] = ( 0 < $markup_values['page_ID'] ) ? get_page_link() : '';
505
 
506
  $open_template = MLAOptions::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
507
  if ( false === $open_template ) {
@@ -740,7 +761,6 @@ class MLAShortcodes {
740
  foreach( $mla_item_specific_arguments as $index => $value ) {
741
  $new_text .= str_replace( '{+', '[+', str_replace( '+}', '+]', $arguments[ $index ] ) );
742
  }
743
-
744
  $item_values = MLAData::mla_expand_field_level_parameters( $new_text, $attr, $item_values, $attachment->ID );
745
 
746
  if ( $item_values['captiontag'] ) {
@@ -1092,6 +1112,8 @@ class MLAShortcodes {
1092
  * @return string HTML content to display the tag cloud.
1093
  */
1094
  public static function mla_tag_cloud( $attr ) {
 
 
1095
  /*
1096
  * These are the default parameters for tag cloud display
1097
  */
@@ -1172,6 +1194,35 @@ class MLAShortcodes {
1172
  }
1173
  }
1174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1175
  /*
1176
  * Look for 'request' substitution parameters,
1177
  * which can be added to any input parameter
@@ -1186,11 +1237,8 @@ class MLAShortcodes {
1186
  }
1187
 
1188
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
1189
- $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value );
1190
-
1191
- if ( ! empty( $replacement_values ) ) {
1192
- $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
1193
- }
1194
  }
1195
 
1196
  $attr = apply_filters( 'mla_tag_cloud_attributes', $attr );
@@ -1399,10 +1447,6 @@ class MLAShortcodes {
1399
  }
1400
  } // foreach tag
1401
 
1402
- // $instance supports multiple clouds in one page/post
1403
- static $instance = 0;
1404
- $instance++;
1405
-
1406
  /*
1407
  * The default MLA style template includes "margin: 1.5%" to put a bit of
1408
  * minimum space between the columns. "mla_margin" can be used to change
@@ -1459,11 +1503,10 @@ class MLAShortcodes {
1459
 
1460
  $font_step = $font_spread / $spread;
1461
 
1462
- $style_values = array(
1463
  'mla_output' => $arguments['mla_output'],
1464
  'mla_style' => $arguments['mla_style'],
1465
  'mla_markup' => $arguments['mla_markup'],
1466
- 'instance' => $instance,
1467
  'taxonomy' => implode( '-', $arguments['taxonomy'] ),
1468
  'current_item' => $arguments['current_item'],
1469
  'itemtag' => tag_escape( $arguments['itemtag'] ),
@@ -1473,7 +1516,6 @@ class MLAShortcodes {
1473
  'itemwidth' => $width_string,
1474
  'margin' => $margin_string,
1475
  'float' => $float,
1476
- 'selector' => "mla_tag_cloud-{$instance}",
1477
  'found_rows' => $found_rows,
1478
  'min_count' => $min_count,
1479
  'max_count' => $max_count,
@@ -1490,7 +1532,7 @@ class MLAShortcodes {
1490
  'multiple_text' => $arguments['multiple_text'],
1491
  'echo' => $arguments['echo'],
1492
  'link' => $arguments['link']
1493
- );
1494
 
1495
  $style_template = $gallery_style = '';
1496
  $use_mla_tag_cloud_style = ( $is_grid || $is_list ) && ( 'none' != strtolower( $style_values['mla_style'] ) );
@@ -1527,11 +1569,7 @@ class MLAShortcodes {
1527
  } // !empty template
1528
  } // use_mla_tag_cloud_style
1529
 
1530
- $upload_dir = wp_upload_dir();
1531
  $markup_values = $style_values;
1532
- $markup_values['site_url'] = site_url();
1533
- $markup_values['page_ID'] = get_the_ID();
1534
- $markup_values['page_url'] = ( 0 < $markup_values['page_ID'] ) ? get_page_link() : '';
1535
 
1536
  if ( $is_grid || $is_list ) {
1537
  $open_template = MLAOptions::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
218
  $mla_arguments
219
  );
220
 
221
+ // $instance supports multiple galleries in one page/post
222
+ static $instance = 0;
223
+ $instance++;
224
+
225
  /*
226
+ * Some values are already known, and can be used in data selection parameters
227
+ */
228
+ $upload_dir = wp_upload_dir();
229
+ $page_values = array(
230
+ 'instance' => $instance,
231
+ 'selector' => "mla_gallery-{$instance}",
232
+ 'site_url' => site_url(),
233
+ 'base_url' => $upload_dir['baseurl'],
234
+ 'base_dir' => $upload_dir['basedir'],
235
+ 'id' => $post->ID,
236
+ 'page_ID' => $post->ID,
237
+ 'page_author' => $post->post_author,
238
+ 'page_date' => $post->post_date,
239
+ 'page_content' => $post->post_content,
240
+ 'page_title' => $post->post_title,
241
+ 'page_excerpt' => $post->post_excerpt,
242
+ 'page_status' => $post->post_status,
243
+ 'page_name' => $post->post_name,
244
+ 'page_modified' => $post->post_modified,
245
+ 'page_guid' => $post->guid,
246
+ 'page_type' => $post->post_type,
247
+ 'page_url' => get_page_link(),
248
+ );
249
+
250
+ /*
251
+ * Look for page-level and 'request:' substitution parameters,
252
  * which can be added to any input parameter
253
  */
254
  foreach ( $attr as $attr_key => $attr_value ) {
261
  }
262
 
263
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
264
+ $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, NULL, $page_values );
265
+ $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
 
 
 
266
  }
267
 
268
  /*
375
  return $output;
376
  }
377
 
378
+ /*
379
+ * Google File Viewer no longer works at all!
380
+ */
381
+ if ( !empty( $arguments['mla_viewer'] ) && ( 'true' == strtolower( $arguments['mla_viewer'] ) ) ) {
382
+ $arguments['mla_viewer'] = false;
383
+ $arguments['size'] = 'icon';
384
+ }
385
+
386
  $size = $size_class = $arguments['size'];
387
  if ( 'icon' == strtolower( $size) ) {
388
  if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
416
  $arguments['mla_viewer_width'] = absint( $arguments['mla_viewer_width'] );
417
  }
418
 
 
 
 
 
419
  /*
420
  * The default MLA style template includes "margin: 1.5%" to put a bit of
421
  * minimum space between the columns. "mla_margin" can be used to change
457
  $float = is_rtl() ? 'right' : 'left';
458
  }
459
 
460
+ $style_values = array_merge( $page_values, array(
461
  'mla_style' => $arguments['mla_style'],
462
  'mla_markup' => $arguments['mla_markup'],
 
 
463
  'itemtag' => tag_escape( $arguments['itemtag'] ),
464
  'icontag' => tag_escape( $arguments['icontag'] ),
465
  'captiontag' => tag_escape( $arguments['captiontag'] ),
467
  'itemwidth' => $width_string,
468
  'margin' => $margin_string,
469
  'float' => $float,
 
470
  'size_class' => sanitize_html_class( $size_class )
471
+ ) );
472
 
473
  $style_template = $gallery_style = '';
474
 
522
  } // !empty template
523
  } // use_mla_gallery_style
524
 
 
525
  $markup_values = $style_values;
 
 
 
 
 
526
 
527
  $open_template = MLAOptions::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
528
  if ( false === $open_template ) {
761
  foreach( $mla_item_specific_arguments as $index => $value ) {
762
  $new_text .= str_replace( '{+', '[+', str_replace( '+}', '+]', $arguments[ $index ] ) );
763
  }
 
764
  $item_values = MLAData::mla_expand_field_level_parameters( $new_text, $attr, $item_values, $attachment->ID );
765
 
766
  if ( $item_values['captiontag'] ) {
1112
  * @return string HTML content to display the tag cloud.
1113
  */
1114
  public static function mla_tag_cloud( $attr ) {
1115
+ global $post;
1116
+
1117
  /*
1118
  * These are the default parameters for tag cloud display
1119
  */
1194
  }
1195
  }
1196
 
1197
+ // $instance supports multiple clouds in one page/post
1198
+ static $instance = 0;
1199
+ $instance++;
1200
+
1201
+ /*
1202
+ * Some values are already known, and can be used in data selection parameters
1203
+ */
1204
+ $upload_dir = wp_upload_dir();
1205
+ $page_values = array(
1206
+ 'instance' => $instance,
1207
+ 'selector' => "mla_tag_cloud-{$instance}",
1208
+ 'site_url' => site_url(),
1209
+ 'base_url' => $upload_dir['baseurl'],
1210
+ 'base_dir' => $upload_dir['basedir'],
1211
+ 'id' => $post->ID,
1212
+ 'page_ID' => $post->ID,
1213
+ 'page_author' => $post->post_author,
1214
+ 'page_date' => $post->post_date,
1215
+ 'page_content' => $post->post_content,
1216
+ 'page_title' => $post->post_title,
1217
+ 'page_excerpt' => $post->post_excerpt,
1218
+ 'page_status' => $post->post_status,
1219
+ 'page_name' => $post->post_name,
1220
+ 'page_modified' => $post->post_modified,
1221
+ 'page_guid' => $post->guid,
1222
+ 'page_type' => $post->post_type,
1223
+ 'page_url' => get_page_link(),
1224
+ );
1225
+
1226
  /*
1227
  * Look for 'request' substitution parameters,
1228
  * which can be added to any input parameter
1237
  }
1238
 
1239
  $attr_value = str_replace( '{+', '[+', str_replace( '+}', '+]', $attr_value ) );
1240
+ $replacement_values = MLAData::mla_expand_field_level_parameters( $attr_value, NULL, $page_values );
1241
+ $attr[ $attr_key ] = MLAData::mla_parse_template( $attr_value, $replacement_values );
 
 
 
1242
  }
1243
 
1244
  $attr = apply_filters( 'mla_tag_cloud_attributes', $attr );
1447
  }
1448
  } // foreach tag
1449
 
 
 
 
 
1450
  /*
1451
  * The default MLA style template includes "margin: 1.5%" to put a bit of
1452
  * minimum space between the columns. "mla_margin" can be used to change
1503
 
1504
  $font_step = $font_spread / $spread;
1505
 
1506
+ $style_values = array_merge( $page_values, array(
1507
  'mla_output' => $arguments['mla_output'],
1508
  'mla_style' => $arguments['mla_style'],
1509
  'mla_markup' => $arguments['mla_markup'],
 
1510
  'taxonomy' => implode( '-', $arguments['taxonomy'] ),
1511
  'current_item' => $arguments['current_item'],
1512
  'itemtag' => tag_escape( $arguments['itemtag'] ),
1516
  'itemwidth' => $width_string,
1517
  'margin' => $margin_string,
1518
  'float' => $float,
 
1519
  'found_rows' => $found_rows,
1520
  'min_count' => $min_count,
1521
  'max_count' => $max_count,
1532
  'multiple_text' => $arguments['multiple_text'],
1533
  'echo' => $arguments['echo'],
1534
  'link' => $arguments['link']
1535
+ ) );
1536
 
1537
  $style_template = $gallery_style = '';
1538
  $use_mla_tag_cloud_style = ( $is_grid || $is_list ) && ( 'none' != strtolower( $style_values['mla_style'] ) );
1569
  } // !empty template
1570
  } // use_mla_tag_cloud_style
1571
 
 
1572
  $markup_values = $style_values;
 
 
 
1573
 
1574
  if ( $is_grid || $is_list ) {
1575
  $open_template = MLAOptions::mla_fetch_gallery_template( $markup_values['mla_markup'] . '-open', 'markup' );
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.00
10
  */
11
 
12
  /*
@@ -16,7 +16,7 @@ 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.00
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2014 David Lingren
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
+ * @version 2.01
10
  */
11
 
12
  /*
16
  Author: David Lingren, Fair Trade Judaica
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
+ Version: 2.01
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2014 David Lingren
languages/media-library-assistant-en_US.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
- "POT-Creation-Date: 2015-01-05 13:33-0800\n"
5
- "PO-Revision-Date: 2015-01-05 13:38-0800\n"
6
  "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
  "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
  "Language: en_US\n"
@@ -80,7 +80,7 @@ msgid "ERROR: _evaluate_template_node unknown type \"%1$s\"."
80
  msgstr ""
81
 
82
  #. translators: 1: template excerpt
83
- #: includes/class-mla-data.php:1065
84
  #, php-format
85
  msgctxt "error_log"
86
  msgid ""
@@ -89,8 +89,8 @@ msgid ""
89
  msgstr ""
90
 
91
  #. translators: 1: function name 2: non-array value
92
- #: includes/class-mla-data.php:1302 includes/class-mla-main.php:1783
93
- #: includes/class-mla-main.php:1858 includes/class-mla-media-modal.php:1176
94
  #: includes/class-mla-mime-types.php:483
95
  #: includes/class-mla-mime-types.php:1218
96
  #: includes/class-mla-mime-types.php:2361 includes/class-mla-settings.php:1524
@@ -101,246 +101,246 @@ msgid "ERROR: %1$s non-array \"%2$s\""
101
  msgstr ""
102
 
103
  #. translators: 1: query filter details
104
- #: includes/class-mla-data.php:1717
105
  #, php-format
106
  msgid "_execute_list_table_query $wp_filter = \"%1$s\"."
107
  msgstr ""
108
 
109
  #. translators: 1: query filter details
110
- #: includes/class-mla-data.php:1720
111
  #, php-format
112
  msgctxt "error_log"
113
  msgid "DEBUG: _execute_list_table_query $wp_filter = \"%1$s\"."
114
  msgstr ""
115
 
116
  #. translators: 1: query details
117
- #: includes/class-mla-data.php:1737
118
  #, php-format
119
  msgid "_execute_list_table_query WP_Query = \"%1$s\"."
120
  msgstr ""
121
 
122
  #. translators: 1: SQL statement
123
- #: includes/class-mla-data.php:1739
124
  #, php-format
125
  msgid "_execute_list_table_query SQL_request = \"%1$s\"."
126
  msgstr ""
127
 
128
  #. translators: 1: query details
129
- #: includes/class-mla-data.php:1742
130
  #, php-format
131
  msgctxt "error_log"
132
  msgid "DEBUG: _execute_list_table_query WP_Query = \"%1$s\"."
133
  msgstr ""
134
 
135
  #. translators: 1: SQL statement
136
- #: includes/class-mla-data.php:1744
137
  #, php-format
138
  msgctxt "error_log"
139
  msgid "DEBUG: _execute_list_table_query SQL_request = \"%1$s\"."
140
  msgstr ""
141
 
142
  #. translators: 1: search filter details
143
- #: includes/class-mla-data.php:2040
144
  #, php-format
145
  msgid "mla_query_posts_search_filter = \"%1$s\"."
146
  msgstr ""
147
 
148
  #. translators: 1: search filter details
149
- #: includes/class-mla-data.php:2043
150
  #, php-format
151
  msgctxt "error_log"
152
  msgid "DEBUG: mla_query_posts_search_filter = \"%1$s\"."
153
  msgstr ""
154
 
155
  #. translators: 1: where filter details
156
- #: includes/class-mla-data.php:2109
157
  #, php-format
158
  msgid "mla_query_posts_where_filter = \"%1$s\"."
159
  msgstr ""
160
 
161
  #. translators: 1: where filter details
162
- #: includes/class-mla-data.php:2112
163
  #, php-format
164
  msgctxt "error_log"
165
  msgid "DEBUG: mla_query_posts_where_filter = \"%1$s\"."
166
  msgstr ""
167
 
168
  #. translators: 1: join filter details
169
- #: includes/class-mla-data.php:2163
170
  #, php-format
171
  msgid "mla_query_posts_join_filter = \"%1$s\"."
172
  msgstr ""
173
 
174
  #. translators: 1: join filter details
175
- #: includes/class-mla-data.php:2166
176
  #, php-format
177
  msgctxt "error_log"
178
  msgid "DEBUG: mla_query_posts_join_filter = \"%1$s\"."
179
  msgstr ""
180
 
181
  #. translators: 1: orderby details details
182
- #: includes/class-mla-data.php:2265
183
  #, php-format
184
  msgid "mla_query_posts_orderby_filter = \"%1$s\"."
185
  msgstr ""
186
 
187
  #. translators: 1: orderby details details
188
- #: includes/class-mla-data.php:2268
189
  #, php-format
190
  msgctxt "error_log"
191
  msgid "DEBUG: mla_query_posts_orderby_filter = \"%1$s\"."
192
  msgstr ""
193
 
194
  #. translators: 1: SQL clauses
195
- #: includes/class-mla-data.php:2304
196
  #, php-format
197
  msgid "mla_query_posts_clauses_filter = \"%1$s\"."
198
  msgstr ""
199
 
200
  #. translators: 1: SQL clauses
201
- #: includes/class-mla-data.php:2307
202
  #, php-format
203
  msgctxt "error_log"
204
  msgid "DEBUG: mla_query_posts_clauses_filter = \"%1$s\"."
205
  msgstr ""
206
 
207
  #. translators: 1: SQL clauses
208
- #: includes/class-mla-data.php:2328
209
  #, php-format
210
  msgid "mla_query_posts_clauses_request_filter = \"%1$s\"."
211
  msgstr ""
212
 
213
  #. translators: 1: SQL clauses
214
- #: includes/class-mla-data.php:2331
215
  #, php-format
216
  msgctxt "error_log"
217
  msgid "DEBUG: mla_query_posts_clauses_request_filter = \"%1$s\"."
218
  msgstr ""
219
 
220
  #. translators: 1: post ID
221
- #: includes/class-mla-data.php:2363
222
  #, php-format
223
  msgctxt "error_log"
224
  msgid "ERROR: mla_get_attachment_by_id(%1$d) not found."
225
  msgstr ""
226
 
227
  #. translators: 1: post ID 2: post_type
228
- #: includes/class-mla-data.php:2369
229
  #, php-format
230
  msgctxt "error_log"
231
  msgid "ERROR: mla_get_attachment_by_id(%1$d) wrong post_type \"%2$s\"."
232
  msgstr ""
233
 
234
- #: includes/class-mla-data.php:2929 includes/class-mla-data.php:3252
235
- #: includes/class-mla-list-table.php:959
236
  msgid "NO REFERENCE TESTS"
237
  msgstr ""
238
 
239
- #: includes/class-mla-data.php:2935 includes/class-mla-data.php:3258
240
- #: includes/class-mla-options.php:2661 includes/class-mla-options.php:2662
241
  msgid "ORPHAN"
242
  msgstr ""
243
 
244
- #: includes/class-mla-data.php:2939 includes/class-mla-data.php:3262
245
  msgid "UNUSED"
246
  msgstr ""
247
 
248
- #: includes/class-mla-data.php:2944 includes/class-mla-data.php:3267
249
  msgid "UNATTACHED"
250
  msgstr ""
251
 
252
- #: includes/class-mla-data.php:2946 includes/class-mla-data.php:3269
253
  msgid "INVALID PARENT"
254
  msgstr ""
255
 
256
  #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
257
- #: includes/class-mla-data.php:3448
258
  #, php-format
259
  msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
260
  msgstr ""
261
 
262
  #. translators: 1: index
263
- #: includes/class-mla-data.php:3694
264
  #, php-format
265
  msgctxt "error_log"
266
  msgid "ERROR: _build_pdf_indirect_objects bad value at $index = \"%1$d\"."
267
  msgstr ""
268
 
269
  #. translators: 1: source offset 2: nest level
270
- #: includes/class-mla-data.php:4019
271
  #, php-format
272
  msgctxt "error_log"
273
  msgid "ERROR: _parse_pdf_dictionary offset = %1$d, nest = %2$d."
274
  msgstr ""
275
 
276
  #. translators: 1: dictionary excerpt
277
- #: includes/class-mla-data.php:4021
278
  #, php-format
279
  msgctxt "error_log"
280
  msgid "ERROR: _parse_pdf_dictionary no end delimiter dump = %1$s."
281
  msgstr ""
282
 
283
  #. translators: 1: entry name 2: value excerpt
284
- #: includes/class-mla-data.php:4067
285
  #, php-format
286
  msgctxt "error_log"
287
  msgid "ERROR: _parse_pdf_dictionary bad value [ %1$s ] dump = %2$s"
288
  msgstr ""
289
 
290
- #: includes/class-mla-data.php:4181
291
  msgctxt "error_log"
292
  msgid "ERROR: _parse_xmp_metadata xml_parse_into_struct failed."
293
  msgstr ""
294
 
295
- #: includes/class-mla-data.php:4184
296
  msgctxt "error_log"
297
  msgid "ERROR: _parse_xmp_metadata set option failed."
298
  msgstr ""
299
 
300
  #. translators: 1: path and file
301
- #: includes/class-mla-data.php:4541
302
  #, php-format
303
  msgctxt "error_log"
304
  msgid "ERROR: File \"%1$s\", startxref not found."
305
  msgstr ""
306
 
307
  #. translators: 1: meta_key
308
- #: includes/class-mla-data.php:5459
309
  #, php-format
310
  msgid "Deleting meta:%1$s"
311
  msgstr ""
312
 
313
  #. translators: 1: meta_key
314
- #: includes/class-mla-data.php:5462
315
  #, php-format
316
  msgid "ERROR: meta:%1$s not found"
317
  msgstr ""
318
 
319
  #. translators: 1: meta_key 2: meta_value
320
- #: includes/class-mla-data.php:5471
321
  #, php-format
322
  msgid "Adding meta:%1$s = %2$s"
323
  msgstr ""
324
 
325
  #. translators: 1: meta_key
326
- #: includes/class-mla-data.php:5475
327
  #, php-format
328
  msgid "ERROR: Adding meta:%1$s; not found"
329
  msgstr ""
330
 
331
  #. translators: 1: meta_key
332
- #: includes/class-mla-data.php:5482
333
  #, php-format
334
  msgid "Deleting Null meta:%1$s"
335
  msgstr ""
336
 
337
  #. translators: 1: element name 2: old_value 3: new_value
338
- #: includes/class-mla-data.php:5492 includes/class-mla-data.php:5643
339
- #: includes/class-mla-data.php:5704 includes/class-mla-data.php:5730
340
- #: includes/class-mla-data.php:5764 includes/class-mla-data.php:5777
341
- #: includes/class-mla-data.php:5786 includes/class-mla-data.php:5797
342
- #: includes/class-mla-data.php:5808 includes/class-mla-data.php:5821
343
- #: includes/class-mla-data.php:5830 includes/class-mla-data.php:5839
344
  #: includes/class-mla-mime-types.php:1052
345
  #: includes/class-mla-mime-types.php:2125
346
  #, php-format
@@ -348,48 +348,48 @@ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
348
  msgstr ""
349
 
350
  #. translators: 1: meta_key
351
- #: includes/class-mla-data.php:5497
352
  #, php-format
353
  msgid "ERROR: Changing meta:%1$s; not found"
354
  msgstr ""
355
 
356
  #. translators: 1: meta_key
357
- #: includes/class-mla-data.php:5557
358
  #, php-format
359
  msgid "Deleting %1$s"
360
  msgstr ""
361
 
362
  #. translators: 1: meta_key 2: new_value
363
- #: includes/class-mla-data.php:5568
364
  #, php-format
365
  msgid "Adding %1$s = [%2$s]"
366
  msgstr ""
367
 
368
  #. translators: 1: meta_key 2: meta_value
369
- #: includes/class-mla-data.php:5574
370
  #, php-format
371
  msgid "Adding %1$s = %2$s"
372
  msgstr ""
373
 
374
  #. translators: 1: meta_key
375
- #: includes/class-mla-data.php:5598
376
  #, php-format
377
  msgid "Deleting old %1$s values"
378
  msgstr ""
379
 
380
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
381
- #: includes/class-mla-data.php:5628
382
  #, php-format
383
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
384
  msgstr ""
385
 
386
- #: includes/class-mla-data.php:5686 includes/class-mla-main.php:2146
387
  msgid "ERROR: Could not retrieve Attachment."
388
  msgstr ""
389
 
390
- #: includes/class-mla-data.php:5704 includes/class-mla-main.php:1505
391
- #: includes/class-mla-main.php:1797 includes/class-mla-main.php:1987
392
- #: includes/class-mla-main.php:2364 includes/class-mla-objects.php:275
393
  #: includes/class-mla-options.php:1030 includes/class-mla-options.php:1790
394
  #: includes/mla-main-search-box-template.php:42
395
  #: includes/mla-media-modal-js-template.php:32
@@ -397,30 +397,30 @@ msgid "Title"
397
  msgstr ""
398
 
399
  #. translators: 1: old_value
400
- #: includes/class-mla-data.php:5727
401
  #, php-format
402
  msgid "ERROR: Could not change Name/Slug \"%1$s\"; name already exists"
403
  msgstr ""
404
 
405
- #: includes/class-mla-data.php:5730 includes/class-mla-main.php:1988
406
- #: includes/class-mla-main.php:2367 includes/class-mla-options.php:1037
407
  msgid "Name/Slug"
408
  msgstr ""
409
 
410
  #. translators: 1: old_value
411
- #: includes/class-mla-data.php:5756
412
  #, php-format
413
  msgid "Deleting ALT Text, was \"%1$s\""
414
  msgstr ""
415
 
416
  #. translators: 1: old_value
417
- #: includes/class-mla-data.php:5759
418
  #, php-format
419
  msgid "ERROR: Could not delete ALT Text, remains \"%1$s\""
420
  msgstr ""
421
 
422
- #: includes/class-mla-data.php:5764 includes/class-mla-list-table.php:1204
423
- #: includes/class-mla-main.php:1991 includes/class-mla-main.php:2370
424
  #: includes/class-mla-options.php:1044 includes/class-mla-options.php:1796
425
  #: includes/mla-main-search-box-template.php:44
426
  #: includes/mla-media-modal-js-template.php:40
@@ -428,21 +428,21 @@ msgid "ALT Text"
428
  msgstr ""
429
 
430
  #. translators: 1: old_value 2: new_value
431
- #: includes/class-mla-data.php:5767
432
  #, php-format
433
  msgid "ERROR: Could not change ALT Text from \"%1$s\" to \"%2$s\""
434
  msgstr ""
435
 
436
- #: includes/class-mla-data.php:5777 includes/class-mla-main.php:1989
437
- #: includes/class-mla-main.php:2373 includes/class-mla-options.php:1051
438
  #: includes/class-mla-options.php:1799
439
  #: includes/mla-main-search-box-template.php:45
440
  #: includes/mla-media-modal-js-template.php:45
441
  msgid "Caption"
442
  msgstr ""
443
 
444
- #: includes/class-mla-data.php:5786 includes/class-mla-main.php:1990
445
- #: includes/class-mla-main.php:2375 includes/class-mla-options.php:1058
446
  #: includes/class-mla-options.php:1802 includes/class-mla-settings.php:1490
447
  #: includes/class-mla-settings.php:1746 includes/class-mla-settings.php:1844
448
  #: includes/class-mla-settings.php:2207
@@ -451,83 +451,83 @@ msgstr ""
451
  msgid "Description"
452
  msgstr ""
453
 
454
- #: includes/class-mla-data.php:5797 includes/class-mla-list-table.php:933
455
- #: includes/class-mla-list-table.php:1025 includes/class-mla-options.php:4145
456
- #: includes/class-mla-options.php:4485
457
  msgid "Parent"
458
  msgstr ""
459
 
460
- #: includes/class-mla-data.php:5808 includes/class-mla-edit-media.php:307
461
- #: includes/class-mla-edit-media.php:447 includes/class-mla-main.php:1994
462
- #: includes/class-mla-main.php:2381 includes/class-mla-settings.php:1488
463
  #: includes/class-mla-settings.php:1744
464
  msgid "Menu Order"
465
  msgstr ""
466
 
467
- #: includes/class-mla-data.php:5821 includes/class-mla-list-table.php:1361
468
- #: includes/class-mla-main.php:1864 includes/class-mla-main.php:1966
469
- #: includes/class-mla-main.php:2195
470
  msgid "Author"
471
  msgstr ""
472
 
473
- #: includes/class-mla-data.php:5830 includes/class-mla-main.php:2005
474
  msgid "Comments"
475
  msgstr ""
476
 
477
- #: includes/class-mla-data.php:5839 includes/class-mla-main.php:2006
478
  msgid "Pings"
479
  msgstr ""
480
 
481
- #: includes/class-mla-data.php:5873
482
  msgid "Adding"
483
  msgstr ""
484
 
485
- #: includes/class-mla-data.php:5877
486
  msgid "Removing"
487
  msgstr ""
488
 
489
- #: includes/class-mla-data.php:5882
490
  msgid "Replacing"
491
  msgstr ""
492
 
493
- #: includes/class-mla-data.php:5886
494
  msgid "Ignoring"
495
  msgstr ""
496
 
497
  #. translators: 1: action_name, 2: taxonomy
498
- #: includes/class-mla-data.php:5898
499
  #, php-format
500
  msgid "%1$s \"%2$s\" terms"
501
  msgstr ""
502
 
503
  #. translators: 1: taxonomy
504
- #: includes/class-mla-data.php:5902
505
  #, php-format
506
  msgid "You cannot assign \"%1$s\" terms"
507
  msgstr ""
508
 
509
  #. translators: 1: post ID
510
- #: includes/class-mla-data.php:5914 includes/class-mla-main.php:1031
511
  #, php-format
512
  msgid "Item %1$d, no changes detected."
513
  msgstr ""
514
 
515
  #. translators: 1: post ID
516
- #: includes/class-mla-data.php:5926
517
  #, php-format
518
  msgid "Item %1$d updated."
519
  msgstr ""
520
 
521
  #. translators: 1: post ID
522
- #: includes/class-mla-data.php:5940
523
  #, php-format
524
  msgid "ERROR: Item %1$d update failed."
525
  msgstr ""
526
 
527
- #: includes/class-mla-data.php:5963 includes/class-mla-edit-media.php:125
528
- #: includes/class-mla-edit-media.php:170 includes/class-mla-main.php:340
529
- #: includes/class-mla-main.php:377 includes/class-mla-main.php:1675
530
- #: includes/class-mla-settings.php:340
531
  msgctxt "tag_delimiter"
532
  msgid ","
533
  msgstr ""
@@ -553,7 +553,7 @@ msgstr ""
553
  msgid "M j, Y @ G:i"
554
  msgstr ""
555
 
556
- #: includes/class-mla-edit-media.php:218 includes/class-mla-main.php:2359
557
  msgid "Last modified"
558
  msgstr ""
559
 
@@ -561,8 +561,8 @@ msgstr ""
561
  msgid "Map Custom Field metadata for this item"
562
  msgstr ""
563
 
564
- #: includes/class-mla-edit-media.php:229 includes/class-mla-main.php:1597
565
- #: includes/class-mla-main.php:2012
566
  msgid "Map Custom Field Metadata"
567
  msgstr ""
568
 
@@ -574,33 +574,33 @@ msgstr ""
574
  msgid "Map IPTC/EXIF Metadata"
575
  msgstr ""
576
 
577
- #: includes/class-mla-edit-media.php:303 includes/class-mla-edit-media.php:426
578
- #: includes/class-mla-main.php:2377
579
  msgid "Parent Info"
580
  msgstr ""
581
 
582
- #: includes/class-mla-edit-media.php:313 includes/class-mla-edit-media.php:471
583
  msgid "Attachment Metadata"
584
  msgstr ""
585
 
586
- #: includes/class-mla-edit-media.php:318 includes/class-mla-edit-media.php:505
587
- #: includes/class-mla-main.php:2388 includes/class-mla-options.php:467
588
  msgid "Featured in"
589
  msgstr ""
590
 
591
- #: includes/class-mla-edit-media.php:322 includes/class-mla-edit-media.php:544
592
- #: includes/class-mla-main.php:2390 includes/class-mla-options.php:476
593
  msgid "Inserted in"
594
  msgstr ""
595
 
596
- #: includes/class-mla-edit-media.php:326 includes/class-mla-edit-media.php:579
597
- #: includes/class-mla-main.php:2392 includes/class-mla-options.php:485
598
  #: includes/class-mla-settings.php:3722
599
  msgid "Gallery in"
600
  msgstr ""
601
 
602
- #: includes/class-mla-edit-media.php:330 includes/class-mla-edit-media.php:614
603
- #: includes/class-mla-main.php:2394 includes/class-mla-options.php:494
604
  #: includes/class-mla-settings.php:3732
605
  msgid "MLA Gallery in"
606
  msgstr ""
@@ -613,41 +613,56 @@ msgctxt "error_log"
613
  msgid "ERROR: %1$s discarding \"%2$s\"; no title/order"
614
  msgstr ""
615
 
616
- #: includes/class-mla-edit-media.php:425
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
617
  msgid "Post Parent"
618
  msgstr ""
619
 
620
- #: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:1788
621
  msgid "Select Parent"
622
  msgstr ""
623
 
624
- #: includes/class-mla-edit-media.php:427 includes/class-mla-main.php:1993
625
  #: includes/class-mla-upload-optional-list-table.php:281
626
  msgid "Select"
627
  msgstr ""
628
 
629
- #: includes/class-mla-edit-media.php:494 includes/class-mla-edit-media.php:532
630
- #: includes/class-mla-edit-media.php:568 includes/class-mla-edit-media.php:603
631
- #: includes/class-mla-list-table.php:1061
632
- #: includes/class-mla-list-table.php:1098
633
- #: includes/class-mla-list-table.php:1133
634
- #: includes/class-mla-list-table.php:1167 includes/class-mla-main.php:2208
635
- #: includes/class-mla-main.php:2227 includes/class-mla-main.php:2244
636
- #: includes/class-mla-main.php:2260
637
  msgid "PARENT"
638
  msgstr ""
639
 
640
- #: includes/class-mla-edit-media.php:797
641
  msgid "Most Used"
642
  msgstr ""
643
 
644
  #. translators: %s: add new taxonomy label
645
- #: includes/class-mla-edit-media.php:826
646
  #, php-format
647
  msgid "+ %s"
648
  msgstr ""
649
 
650
- #: includes/class-mla-edit-media.php:832
651
  msgid "?&nbsp;Search"
652
  msgstr ""
653
 
@@ -766,26 +781,26 @@ msgstr ""
766
  msgid "No"
767
  msgstr ""
768
 
769
- #: includes/class-mla-list-table.php:624
770
- #: includes/class-mla-list-table.php:1262 includes/class-mla-options.php:598
771
  #: includes/class-mla-options.php:788 includes/class-mla-options.php:812
772
  #: includes/class-mla-options.php:826 includes/class-mla-settings.php:2290
773
  msgid "None"
774
  msgstr ""
775
 
776
- #: includes/class-mla-list-table.php:630 includes/class-mla-list-table.php:658
777
- #: includes/class-mla-list-table.php:1200
778
- #: includes/class-mla-list-table.php:1244
779
- #: includes/class-mla-list-table.php:1274
780
  msgid "Filter by"
781
  msgstr ""
782
 
783
- #: includes/class-mla-list-table.php:640
784
  msgid "not supported"
785
  msgstr ""
786
 
787
  #. translators: 1: column_name 2: column_values
788
- #: includes/class-mla-list-table.php:678
789
  #: includes/class-mla-upload-list-table.php:247
790
  #: includes/class-mla-upload-optional-list-table.php:228
791
  #: includes/class-mla-view-list-table.php:236
@@ -793,21 +808,21 @@ msgstr ""
793
  msgid "column_default: %1$s, %2$s"
794
  msgstr ""
795
 
796
- #: includes/class-mla-list-table.php:744 includes/class-mla-list-table.php:789
797
- #: includes/class-mla-list-table.php:791
798
  #: includes/class-mla-upload-list-table.php:312
799
  #: includes/class-mla-view-list-table.php:302
800
  msgid "Edit this item"
801
  msgstr ""
802
 
803
- #: includes/class-mla-list-table.php:744 includes/class-mla-list-table.php:747
804
- #: includes/class-mla-list-table.php:789 includes/class-mla-list-table.php:791
805
- #: includes/class-mla-list-table.php:1066
806
- #: includes/class-mla-list-table.php:1103
807
- #: includes/class-mla-list-table.php:1138
808
- #: includes/class-mla-list-table.php:1172
809
- #: includes/class-mla-list-table.php:1378
810
- #: includes/class-mla-list-table.php:1682
811
  #: includes/class-mla-upload-list-table.php:312
812
  #: includes/class-mla-upload-list-table.php:610
813
  #: includes/class-mla-view-list-table.php:302
@@ -815,155 +830,155 @@ msgstr ""
815
  msgid "Edit"
816
  msgstr ""
817
 
818
- #: includes/class-mla-list-table.php:777
819
  msgid "Restore this item from the Trash"
820
  msgstr ""
821
 
822
- #: includes/class-mla-list-table.php:777
823
- #: includes/class-mla-list-table.php:1679
824
  msgid "Restore"
825
  msgstr ""
826
 
827
- #: includes/class-mla-list-table.php:794
828
  #: includes/class-mla-upload-list-table.php:314
829
  #: includes/class-mla-view-list-table.php:304
830
  msgid "Edit this item inline"
831
  msgstr ""
832
 
833
- #: includes/class-mla-list-table.php:794 includes/class-mla-main.php:1986
834
- #: includes/class-mla-options.php:3223 includes/class-mla-options.php:3504
835
  #: includes/class-mla-upload-list-table.php:314
836
  #: includes/class-mla-view-list-table.php:304
837
  msgid "Quick Edit"
838
  msgstr ""
839
 
840
- #: includes/class-mla-list-table.php:800
841
  msgid "Move this item to the Trash"
842
  msgstr ""
843
 
844
- #: includes/class-mla-list-table.php:800
845
- #: includes/class-mla-list-table.php:1685
846
  msgid "Move to Trash"
847
  msgstr ""
848
 
849
- #: includes/class-mla-list-table.php:805
850
  #: includes/class-mla-upload-list-table.php:318
851
  #: includes/class-mla-view-list-table.php:310
852
  msgid "Delete this item Permanently"
853
  msgstr ""
854
 
855
- #: includes/class-mla-list-table.php:805
856
- #: includes/class-mla-list-table.php:1680
857
- #: includes/class-mla-list-table.php:1687
858
  #: includes/class-mla-upload-list-table.php:318
859
  #: includes/class-mla-view-list-table.php:310
860
  #: includes/class-mla-view-list-table.php:514
861
  msgid "Delete Permanently"
862
  msgstr ""
863
 
864
- #: includes/class-mla-list-table.php:813
865
  msgid "Download"
866
  msgstr ""
867
 
868
- #: includes/class-mla-list-table.php:816
869
  msgid "View"
870
  msgstr ""
871
 
872
- #: includes/class-mla-list-table.php:856 includes/class-mla-list-table.php:927
873
- #: includes/class-mla-main.php:368 includes/class-mla-main.php:1509
874
  msgid "(no title)"
875
  msgstr ""
876
 
877
- #: includes/class-mla-list-table.php:930
878
- #: includes/class-mla-list-table.php:1022
879
  msgid "Filter by Parent ID"
880
  msgstr ""
881
 
882
- #: includes/class-mla-list-table.php:1019
883
  msgid "(no title: bad ID)"
884
  msgstr ""
885
 
886
- #: includes/class-mla-list-table.php:1054
887
- #: includes/class-mla-list-table.php:1088
888
- #: includes/class-mla-list-table.php:1126
889
- #: includes/class-mla-list-table.php:1160 includes/class-mla-main.php:2216
890
- #: includes/class-mla-main.php:2236 includes/class-mla-main.php:2252
891
- #: includes/class-mla-main.php:2268 includes/class-mla-options.php:471
892
  #: includes/class-mla-options.php:480 includes/class-mla-options.php:489
893
  #: includes/class-mla-options.php:498
894
  msgid "Disabled"
895
  msgstr ""
896
 
897
- #: includes/class-mla-list-table.php:1247 includes/class-mla-settings.php:1837
898
  #: includes/class-mla-settings.php:2201
899
  msgid "MIME Type"
900
  msgstr ""
901
 
902
- #: includes/class-mla-list-table.php:1278
903
  msgid "Base File"
904
  msgstr ""
905
 
906
- #: includes/class-mla-list-table.php:1294
907
- #: includes/class-mla-list-table.php:1327
908
  msgid "Unpublished"
909
  msgstr ""
910
 
911
  #. translators: 1: upload/last modified date and time
912
- #: includes/class-mla-list-table.php:1303
913
- #: includes/class-mla-list-table.php:1334
914
  #, php-format
915
  msgid "%1$s from now"
916
  msgstr ""
917
 
918
  #. translators: 1: upload/last modified date and time
919
- #: includes/class-mla-list-table.php:1306
920
- #: includes/class-mla-list-table.php:1336
921
  #, php-format
922
  msgid "%1$s ago"
923
  msgstr ""
924
 
925
  #. translators: format for upload/last modified date
926
  #. translators: date format in table columns, see http://php.net/date
927
- #: includes/class-mla-list-table.php:1310
928
- #: includes/class-mla-list-table.php:1339
929
- #: includes/class-mla-list-table.php:1395 includes/class-mla-main.php:1532
930
  msgid "Y/m/d"
931
  msgstr ""
932
 
933
- #: includes/class-mla-list-table.php:1358
934
  msgid "Filter by Author ID"
935
  msgstr ""
936
 
937
- #: includes/class-mla-list-table.php:1397 includes/class-mla-options.php:1147
938
  msgctxt "post_mime_types_singular"
939
  msgid "Unattached"
940
  msgstr ""
941
 
942
- #: includes/class-mla-list-table.php:1400
943
  msgid "Set Parent"
944
  msgstr ""
945
 
946
- #: includes/class-mla-list-table.php:1531
947
  msgctxt "uploaded files"
948
  msgid "All"
949
  msgid_plural "All"
950
  msgstr[0] ""
951
  msgstr[1] ""
952
 
953
- #: includes/class-mla-list-table.php:1713
954
  msgid "Filter"
955
  msgstr ""
956
 
957
- #: includes/class-mla-list-table.php:1717
958
  #: includes/mla-media-modal-js-template.php:58
959
  msgid "Terms Search"
960
  msgstr ""
961
 
962
- #: includes/class-mla-list-table.php:1723
963
  msgid "Clear Filter-by"
964
  msgstr ""
965
 
966
- #: includes/class-mla-list-table.php:1727
967
  msgid "Empty Trash"
968
  msgstr ""
969
 
@@ -979,12 +994,12 @@ msgstr ""
979
  msgid "Bulk Edit items"
980
  msgstr ""
981
 
982
- #: includes/class-mla-main.php:370 includes/class-mla-main.php:2013
983
  #: includes/class-mla-settings.php:349
984
  msgid "Waiting"
985
  msgstr ""
986
 
987
- #: includes/class-mla-main.php:371 includes/class-mla-main.php:2015
988
  #: includes/class-mla-settings.php:351
989
  msgid "Complete"
990
  msgstr ""
@@ -1013,7 +1028,7 @@ msgstr[0] ""
1013
  msgstr[1] ""
1014
 
1015
  #. translators: 1: post ID
1016
- #: includes/class-mla-main.php:491 includes/class-mla-main.php:2476
1017
  #, php-format
1018
  msgid "Item %1$d moved to Trash."
1019
  msgstr ""
@@ -1022,44 +1037,44 @@ msgstr ""
1022
  msgid "Entries per page"
1023
  msgstr ""
1024
 
1025
- #: includes/class-mla-main.php:887
1026
  msgid "ERROR: You are not allowed to edit Attachment: "
1027
  msgstr ""
1028
 
1029
- #: includes/class-mla-main.php:1021
1030
  #, php-format
1031
  msgid "ERROR: Unknown bulk action %1$s"
1032
  msgstr ""
1033
 
1034
- #: includes/class-mla-main.php:1043
1035
  msgid "no changes detected"
1036
  msgstr ""
1037
 
1038
- #: includes/class-mla-main.php:1046 includes/class-mla-main.php:1194
1039
- #: includes/class-mla-main.php:1305 includes/class-mla-main.php:1336
1040
- #: includes/class-mla-main.php:1572 includes/class-mla-settings.php:631
1041
  #: includes/class-mla-settings.php:671 includes/class-mla-settings.php:759
1042
  #: includes/class-mla-settings.php:891 includes/class-mla-settings.php:1556
1043
  #: includes/class-mla-settings.php:1633 includes/class-mla-settings.php:2020
1044
  #: includes/class-mla-settings.php:2099 includes/class-mla-settings.php:2648
1045
  #: includes/class-mla-settings.php:2780 includes/class-mla-settings.php:2923
1046
- #: includes/class-mla-shortcodes.php:1307
1047
- #: includes/class-mla-shortcodes.php:1381
1048
  msgid "ERROR:"
1049
  msgstr ""
1050
 
1051
  #. translators: 1: action name, e.g., edit
1052
- #: includes/class-mla-main.php:1087 includes/class-mla-settings.php:1612
1053
  #: includes/class-mla-settings.php:2078
1054
  #, php-format
1055
  msgid "Bulk Action %1$s - no items selected."
1056
  msgstr ""
1057
 
1058
- #: includes/class-mla-main.php:1136
1059
  msgid "You do not have permission to manage attachments."
1060
  msgstr ""
1061
 
1062
- #: includes/class-mla-main.php:1202
1063
  #, php-format
1064
  msgctxt "deleted items"
1065
  msgid "%s item deleted."
@@ -1067,342 +1082,334 @@ msgid_plural "%s items deleted."
1067
  msgstr[0] ""
1068
  msgstr[1] ""
1069
 
1070
- #: includes/class-mla-main.php:1204
1071
  msgid "No items deleted."
1072
  msgstr ""
1073
 
1074
- #: includes/class-mla-main.php:1229
1075
  msgid "Edit single item"
1076
  msgstr ""
1077
 
1078
  #. translators: 1: post ID
1079
- #: includes/class-mla-main.php:1244
1080
  #, php-format
1081
  msgid "Item %1$d cancelled."
1082
  msgstr ""
1083
 
1084
- #: includes/class-mla-main.php:1279
1085
  msgid "Empty Terms Search; ignored"
1086
  msgstr ""
1087
 
1088
  #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
1089
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
1090
- #: includes/class-mla-main.php:1291 includes/class-mla-settings.php:1649
1091
  #: includes/class-mla-settings.php:2117
1092
  #, php-format
1093
  msgid "Unknown mla_admin_action - \"%1$s\""
1094
  msgstr ""
1095
 
1096
- #: includes/class-mla-main.php:1324
1097
  msgid "term search results for"
1098
  msgstr ""
1099
 
1100
- #: includes/class-mla-main.php:1327
1101
  msgid "post/parent results for"
1102
  msgstr ""
1103
 
1104
- #: includes/class-mla-main.php:1329
1105
  msgid "search results for"
1106
  msgstr ""
1107
 
1108
- #: includes/class-mla-main.php:1505 includes/class-mla-main.php:1798
1109
  msgid "Type"
1110
  msgstr ""
1111
 
1112
- #: includes/class-mla-main.php:1505 includes/class-mla-main.php:1799
1113
  msgid "Date"
1114
  msgstr ""
1115
 
1116
- #: includes/class-mla-main.php:1505 includes/class-mla-main.php:1800
1117
  #: includes/class-mla-settings.php:2217
1118
  msgid "Status"
1119
  msgstr ""
1120
 
1121
- #: includes/class-mla-main.php:1515
1122
  msgid "Published"
1123
  msgstr ""
1124
 
1125
- #: includes/class-mla-main.php:1518
1126
- msgid "Scheduled"
1127
- msgstr ""
1128
-
1129
- #: includes/class-mla-main.php:1521
1130
  msgid "Pending Review"
1131
  msgstr ""
1132
 
1133
- #: includes/class-mla-main.php:1524
1134
- msgid "Draft"
1135
- msgstr ""
1136
-
1137
- #: includes/class-mla-main.php:1561 includes/class-mla-main.php:1630
1138
  msgid "ERROR: No post ID found"
1139
  msgstr ""
1140
 
1141
- #: includes/class-mla-main.php:1568 includes/class-mla-main.php:1637
1142
- #: includes/class-mla-main.php:2153
1143
  msgid "You are not allowed to edit this Attachment."
1144
  msgstr ""
1145
 
1146
- #: includes/class-mla-main.php:1600 includes/class-mla-main.php:2011
1147
- #: includes/class-mla-main.php:2352
1148
  msgid "Map IPTC/EXIF metadata"
1149
  msgstr ""
1150
 
1151
- #: includes/class-mla-main.php:1603 includes/class-mla-main.php:1810
1152
- #: includes/class-mla-main.php:2000 includes/class-mla-main.php:2351
1153
  #: includes/class-mla-settings.php:1492 includes/class-mla-settings.php:1752
1154
  #: includes/class-mla-settings.php:1846 includes/class-mla-settings.php:2215
1155
  msgid "Update"
1156
  msgstr ""
1157
 
1158
- #: includes/class-mla-main.php:1745
1159
  msgid "All Post Types"
1160
  msgstr ""
1161
 
1162
- #: includes/class-mla-main.php:1789 includes/class-mla-media-modal.php:1206
1163
  #: includes/mla-media-modal-js-template.php:20
1164
  #: includes/mla-media-modal-js-template.php:61
1165
  msgid "Search"
1166
  msgstr ""
1167
 
1168
- #: includes/class-mla-main.php:1791
1169
  msgid "For"
1170
  msgstr ""
1171
 
1172
- #: includes/class-mla-main.php:1801
1173
  msgid "Unattached"
1174
  msgstr ""
1175
 
1176
- #: includes/class-mla-main.php:1806 includes/class-mla-main.php:1999
1177
- #: includes/class-mla-main.php:2350 includes/class-mla-settings.php:1493
1178
  #: includes/class-mla-settings.php:1751 includes/class-mla-settings.php:1847
1179
  #: includes/class-mla-settings.php:1919 includes/class-mla-settings.php:2214
1180
  #: includes/class-mla-settings.php:2681 includes/class-mla-settings.php:2807
1181
  msgid "Cancel"
1182
  msgstr ""
1183
 
1184
- #: includes/class-mla-main.php:1899
1185
  msgid "more"
1186
  msgstr ""
1187
 
1188
- #: includes/class-mla-main.php:1900
1189
  msgid "less"
1190
  msgstr ""
1191
 
1192
- #: includes/class-mla-main.php:1903 includes/class-mla-main.php:1941
1193
  msgid "Add"
1194
  msgstr ""
1195
 
1196
- #: includes/class-mla-main.php:1904 includes/class-mla-main.php:1942
1197
  msgid "Remove"
1198
  msgstr ""
1199
 
1200
- #: includes/class-mla-main.php:1905 includes/class-mla-main.php:1943
1201
- #: includes/class-mla-options.php:3321 includes/class-mla-options.php:3423
1202
- #: includes/class-mla-options.php:3467 includes/class-mla-options.php:4374
1203
- #: includes/class-mla-options.php:4424 includes/class-mla-options.php:4521
1204
- #: includes/class-mla-options.php:4565 includes/class-mla-options.php:4590
1205
  msgid "Replace"
1206
  msgstr ""
1207
 
1208
- #: includes/class-mla-main.php:1992
1209
  msgid "Parent ID"
1210
  msgstr ""
1211
 
1212
- #: includes/class-mla-main.php:2001 includes/class-mla-options.php:3237
1213
- #: includes/class-mla-options.php:3505 includes/class-mla-settings.php:1753
1214
  #: includes/class-mla-settings.php:2216
1215
  msgid "Bulk Edit"
1216
  msgstr ""
1217
 
1218
- #: includes/class-mla-main.php:2007 includes/class-mla-main.php:2053
1219
  #: includes/class-mla-settings.php:1754 includes/class-mla-settings.php:1792
1220
  #: includes/class-mla-settings.php:2218
1221
  msgid "No Change"
1222
  msgstr ""
1223
 
1224
- #: includes/class-mla-main.php:2008
1225
  msgid "Allow"
1226
  msgstr ""
1227
 
1228
- #: includes/class-mla-main.php:2009
1229
  msgid "Do not allow"
1230
  msgstr ""
1231
 
1232
- #: includes/class-mla-main.php:2014
1233
  msgid "In-process"
1234
  msgstr ""
1235
 
1236
- #: includes/class-mla-main.php:2016 includes/class-mla-options.php:489
1237
  #: includes/class-mla-options.php:498 includes/class-mla-settings.php:2683
1238
  #: includes/class-mla-settings.php:2809
1239
  msgid "Refresh"
1240
  msgstr ""
1241
 
1242
- #: includes/class-mla-main.php:2105
1243
  msgid "ERROR: You are not allowed to delete this item."
1244
  msgstr ""
1245
 
1246
  #. translators: 1: post ID
1247
- #: includes/class-mla-main.php:2113
1248
  #, php-format
1249
  msgid "ERROR: Item %1$d could NOT be deleted."
1250
  msgstr ""
1251
 
1252
  #. translators: 1: post ID
1253
- #: includes/class-mla-main.php:2120
1254
  #, php-format
1255
  msgid "Item %1$d permanently deleted."
1256
  msgstr ""
1257
 
1258
  #. translators: 1: page_template_array
1259
- #: includes/class-mla-main.php:2180
1260
  #, php-format
1261
  msgctxt "error_log"
1262
  msgid "ERROR: MLA::_display_single_item \\$page_template_array = \"%1$s\""
1263
  msgstr ""
1264
 
1265
- #: includes/class-mla-main.php:2354
1266
  msgid "File name"
1267
  msgstr ""
1268
 
1269
- #: includes/class-mla-main.php:2356
1270
  msgid "File type"
1271
  msgstr ""
1272
 
1273
- #: includes/class-mla-main.php:2357
1274
  msgid "Upload date"
1275
  msgstr ""
1276
 
1277
- #: includes/class-mla-main.php:2361
1278
  msgid "Dimensions"
1279
  msgstr ""
1280
 
1281
- #: includes/class-mla-main.php:2365
1282
  msgid "required"
1283
  msgstr ""
1284
 
1285
- #: includes/class-mla-main.php:2369
1286
  msgid "Must be unique; will be validated."
1287
  msgstr ""
1288
 
1289
- #: includes/class-mla-main.php:2372
1290
  msgid "Alternate text for the image, e.g. &#8220;The Mona Lisa&#8221;"
1291
  msgstr ""
1292
 
1293
- #: includes/class-mla-main.php:2380
1294
  msgid "ID, type and title of parent, if any."
1295
  msgstr ""
1296
 
1297
- #: includes/class-mla-main.php:2383
1298
  msgid "File URL"
1299
  msgstr ""
1300
 
1301
- #: includes/class-mla-main.php:2385
1302
  msgid "Location of the uploaded file."
1303
  msgstr ""
1304
 
1305
- #: includes/class-mla-main.php:2386
1306
  msgid "Image Metadata"
1307
  msgstr ""
1308
 
1309
- #: includes/class-mla-main.php:2421
1310
  msgid "ERROR: You are not allowed to move this item out of the Trash."
1311
  msgstr ""
1312
 
1313
  #. translators: 1: post ID
1314
- #: includes/class-mla-main.php:2429
1315
  #, php-format
1316
  msgid "ERROR: Item %1$d could NOT be restored from Trash."
1317
  msgstr ""
1318
 
1319
  #. translators: 1: post ID
1320
- #: includes/class-mla-main.php:2444
1321
  #, php-format
1322
  msgid "Item %1$d restored from Trash."
1323
  msgstr ""
1324
 
1325
- #: includes/class-mla-main.php:2461
1326
  msgid "ERROR: You are not allowed to move this item to the Trash."
1327
  msgstr ""
1328
 
1329
  #. translators: 1: post ID
1330
- #: includes/class-mla-main.php:2469
1331
  #, php-format
1332
  msgid "ERROR: Item %1$d could NOT be moved to Trash."
1333
  msgstr ""
1334
 
1335
- #: includes/class-mla-media-modal.php:244
1336
- #: includes/class-mla-media-modal.php:250
1337
- #: includes/class-mla-media-modal.php:809
1338
- #: includes/class-mla-media-modal.php:843
1339
- #: includes/class-mla-media-modal.php:888
1340
  msgid "Click to toggle"
1341
  msgstr ""
1342
 
1343
- #: includes/class-mla-media-modal.php:287
1344
  msgid "Show all dates"
1345
  msgstr ""
1346
 
1347
  #. translators: 1: month name, 2: 4-digit year
1348
- #: includes/class-mla-media-modal.php:302
1349
  #, php-format
1350
  msgid "%1$s %2$d"
1351
  msgstr ""
1352
 
1353
- #: includes/class-mla-media-modal.php:413
1354
  msgctxt "tag delimiter"
1355
  msgid ","
1356
  msgstr ""
1357
 
1358
- #: includes/class-mla-media-modal.php:518
1359
  msgid "Search Box"
1360
  msgstr ""
1361
 
1362
- #: includes/class-mla-media-modal.php:519
1363
  msgid "Loading..."
1364
  msgstr ""
1365
 
1366
- #: includes/class-mla-media-modal.php:854
1367
  msgid "Tags"
1368
  msgstr ""
1369
 
1370
  #. translators: %s: add new taxonomy label
1371
- #: includes/class-mla-media-modal.php:856
1372
  #, php-format
1373
  msgid "Add New %1$s"
1374
  msgstr ""
1375
 
1376
- #: includes/class-mla-media-modal.php:872
1377
  msgid "Choose from the most used tags"
1378
  msgstr ""
1379
 
1380
- #: includes/class-mla-media-modal.php:894
1381
  msgid "Not Supported"
1382
  msgstr ""
1383
 
1384
- #: includes/class-mla-media-modal.php:1189
1385
- #: includes/class-mla-media-modal.php:1205
1386
  msgid "Search Terms"
1387
  msgstr ""
1388
 
1389
- #: includes/class-mla-media-modal.php:1190
1390
  msgid "There are no taxonomies to search"
1391
  msgstr ""
1392
 
1393
- #: includes/class-mla-media-modal.php:1208
1394
  msgid "All phrases"
1395
  msgstr ""
1396
 
1397
- #: includes/class-mla-media-modal.php:1210
1398
  msgid "Any phrase"
1399
  msgstr ""
1400
 
1401
- #: includes/class-mla-media-modal.php:1212
1402
  msgid "All terms"
1403
  msgstr ""
1404
 
1405
- #: includes/class-mla-media-modal.php:1214
1406
  msgid "Any term"
1407
  msgstr ""
1408
 
@@ -2574,8 +2581,8 @@ msgstr ""
2574
 
2575
  #. translators: 1: option name 2: action, e.g., update, delete, reset
2576
  #: includes/class-mla-options.php:1596 includes/class-mla-options.php:1760
2577
- #: includes/class-mla-options.php:1836 includes/class-mla-options.php:3543
2578
- #: includes/class-mla-options.php:4710
2579
  #, php-format
2580
  msgid "ERROR: Custom %1$s unknown action \"%2$s\""
2581
  msgstr ""
@@ -2636,7 +2643,7 @@ msgstr ""
2636
 
2637
  #. translators: 1: option name, e.g., taxonomy_support
2638
  #: includes/class-mla-options.php:1757 includes/class-mla-options.php:1833
2639
- #: includes/class-mla-options.php:4703
2640
  #, php-format
2641
  msgid "Reset custom %1$s"
2642
  msgstr ""
@@ -2668,350 +2675,350 @@ msgstr ""
2668
  msgid "Terms"
2669
  msgstr ""
2670
 
2671
- #: includes/class-mla-options.php:2906 includes/class-mla-options.php:3026
2672
- #: includes/class-mla-options.php:3891 includes/class-mla-options.php:3922
2673
  #: includes/class-mla-settings.php:1798
2674
  msgid "None (select a value)"
2675
  msgstr ""
2676
 
2677
- #: includes/class-mla-options.php:3033
2678
  msgid "Metadata (see below)"
2679
  msgstr ""
2680
 
2681
- #: includes/class-mla-options.php:3040
2682
  msgid "Template (see below)"
2683
  msgstr ""
2684
 
2685
  #. translators: 1: custom field name
2686
- #: includes/class-mla-options.php:3105 includes/class-mla-options.php:4194
2687
  #, php-format
2688
  msgid "ERROR: New field %1$s already exists."
2689
  msgstr ""
2690
 
2691
  #. translators: 1: custom field name
2692
- #: includes/class-mla-options.php:3110 includes/class-mla-options.php:4199
2693
  #, php-format
2694
  msgid "Adding new field %1$s."
2695
  msgstr ""
2696
 
2697
  #. translators: 1: custom field name
2698
- #: includes/class-mla-options.php:3120 includes/class-mla-options.php:4209
2699
  #, php-format
2700
  msgid "Adding new rule for %1$s."
2701
  msgstr ""
2702
 
2703
  #. translators: 1: custom field name
2704
- #: includes/class-mla-options.php:3151 includes/class-mla-options.php:4071
2705
- #: includes/class-mla-options.php:4230
2706
  #, php-format
2707
  msgid "Deleting rule for %1$s."
2708
  msgstr ""
2709
 
2710
  #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2711
- #: includes/class-mla-options.php:3174 includes/class-mla-options.php:3195
2712
- #: includes/class-mla-options.php:3245 includes/class-mla-options.php:3252
2713
- #: includes/class-mla-options.php:3988 includes/class-mla-options.php:3995
2714
- #: includes/class-mla-options.php:4002 includes/class-mla-options.php:4096
2715
- #: includes/class-mla-options.php:4103 includes/class-mla-options.php:4138
2716
- #: includes/class-mla-options.php:4145 includes/class-mla-options.php:4240
2717
- #: includes/class-mla-options.php:4247
2718
  #, php-format
2719
  msgid "%1$s changing %2$s from %3$s to %4$s."
2720
  msgstr ""
2721
 
2722
- #: includes/class-mla-options.php:3174 includes/class-mla-options.php:3500
2723
  msgid "Data Source"
2724
  msgstr ""
2725
 
2726
- #: includes/class-mla-options.php:3180 includes/class-mla-options.php:4022
2727
- #: includes/class-mla-options.php:4123 includes/class-mla-options.php:4267
2728
  msgid "Replace to Keep"
2729
  msgstr ""
2730
 
2731
- #: includes/class-mla-options.php:3183 includes/class-mla-options.php:4025
2732
- #: includes/class-mla-options.php:4126 includes/class-mla-options.php:4270
2733
  msgid "Keep to Replace"
2734
  msgstr ""
2735
 
2736
  #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2737
- #: includes/class-mla-options.php:3188 includes/class-mla-options.php:3209
2738
- #: includes/class-mla-options.php:3223 includes/class-mla-options.php:3237
2739
- #: includes/class-mla-options.php:3266 includes/class-mla-options.php:4016
2740
- #: includes/class-mla-options.php:4030 includes/class-mla-options.php:4117
2741
- #: includes/class-mla-options.php:4131 includes/class-mla-options.php:4261
2742
- #: includes/class-mla-options.php:4275
2743
  #, php-format
2744
  msgid "%1$s changing %2$s value from %3$s."
2745
  msgstr ""
2746
 
2747
- #: includes/class-mla-options.php:3188 includes/class-mla-options.php:3501
2748
- #: includes/class-mla-options.php:4030 includes/class-mla-options.php:4131
2749
- #: includes/class-mla-options.php:4275 includes/class-mla-options.php:4397
2750
- #: includes/class-mla-options.php:4483 includes/class-mla-options.php:4601
2751
  msgid "Existing Text"
2752
  msgstr ""
2753
 
2754
- #: includes/class-mla-options.php:3195 includes/class-mla-options.php:3502
2755
  msgid "Format"
2756
  msgstr ""
2757
 
2758
- #: includes/class-mla-options.php:3201 includes/class-mla-options.php:3215
2759
- #: includes/class-mla-options.php:3229 includes/class-mla-options.php:3258
2760
  msgid "unchecked to checked"
2761
  msgstr ""
2762
 
2763
- #: includes/class-mla-options.php:3204 includes/class-mla-options.php:3218
2764
- #: includes/class-mla-options.php:3232 includes/class-mla-options.php:3261
2765
  msgid "checked to unchecked"
2766
  msgstr ""
2767
 
2768
- #: includes/class-mla-options.php:3209 includes/class-mla-options.php:3503
2769
  msgid "MLA Column"
2770
  msgstr ""
2771
 
2772
- #: includes/class-mla-options.php:3245
2773
  msgid "Metavalue name"
2774
  msgstr ""
2775
 
2776
- #: includes/class-mla-options.php:3252 includes/class-mla-options.php:3335
2777
- #: includes/class-mla-options.php:3436 includes/class-mla-options.php:3480
2778
  msgid "Option"
2779
  msgstr ""
2780
 
2781
- #: includes/class-mla-options.php:3266
2782
  msgid "Delete NULL"
2783
  msgstr ""
2784
 
2785
- #: includes/class-mla-options.php:3305 includes/class-mla-options.php:4495
2786
  msgid "No Custom Field Mapping Rules Defined"
2787
  msgstr ""
2788
 
2789
- #: includes/class-mla-options.php:3319 includes/class-mla-options.php:3421
2790
- #: includes/class-mla-options.php:3465 includes/class-mla-options.php:4372
2791
- #: includes/class-mla-options.php:4422 includes/class-mla-options.php:4519
2792
- #: includes/class-mla-options.php:4563 includes/class-mla-options.php:4588
2793
  msgid "Keep"
2794
  msgstr ""
2795
 
2796
- #: includes/class-mla-options.php:3323 includes/class-mla-options.php:3425
2797
- #: includes/class-mla-options.php:3469
2798
  msgid "Native"
2799
  msgstr ""
2800
 
2801
- #: includes/class-mla-options.php:3325 includes/class-mla-options.php:3427
2802
- #: includes/class-mla-options.php:3471
2803
  msgid "Commas"
2804
  msgstr ""
2805
 
2806
- #: includes/class-mla-options.php:3327 includes/class-mla-options.php:3429
2807
- #: includes/class-mla-options.php:3473
2808
  msgid "Raw"
2809
  msgstr ""
2810
 
2811
- #: includes/class-mla-options.php:3337 includes/class-mla-options.php:3438
2812
- #: includes/class-mla-options.php:3482
2813
  msgid "Text"
2814
  msgstr ""
2815
 
2816
- #: includes/class-mla-options.php:3339 includes/class-mla-options.php:3440
2817
- #: includes/class-mla-options.php:3484
2818
  msgid "Single"
2819
  msgstr ""
2820
 
2821
- #: includes/class-mla-options.php:3341 includes/class-mla-options.php:3442
2822
- #: includes/class-mla-options.php:3486
2823
  msgid "Export"
2824
  msgstr ""
2825
 
2826
- #: includes/class-mla-options.php:3343 includes/class-mla-options.php:3444
2827
- #: includes/class-mla-options.php:3488
2828
  msgid "Array"
2829
  msgstr ""
2830
 
2831
- #: includes/class-mla-options.php:3345 includes/class-mla-options.php:3446
2832
- #: includes/class-mla-options.php:3490
2833
  msgid "Multi"
2834
  msgstr ""
2835
 
2836
- #: includes/class-mla-options.php:3347 includes/class-mla-options.php:3448
2837
- #: includes/class-mla-options.php:3492
2838
  msgid "Delete NULL values"
2839
  msgstr ""
2840
 
2841
- #: includes/class-mla-options.php:3348 includes/class-mla-options.php:4522
2842
  msgid "Delete Rule"
2843
  msgstr ""
2844
 
2845
- #: includes/class-mla-options.php:3349 includes/class-mla-options.php:4523
2846
  msgid "Delete Rule AND Field"
2847
  msgstr ""
2848
 
2849
- #: includes/class-mla-options.php:3350 includes/class-mla-options.php:4524
2850
  msgid "Update Rule"
2851
  msgstr ""
2852
 
2853
- #: includes/class-mla-options.php:3351 includes/class-mla-options.php:4525
2854
  #: includes/class-mla-settings.php:704 includes/class-mla-settings.php:833
2855
  msgid "Map All Attachments"
2856
  msgstr ""
2857
 
2858
- #: includes/class-mla-options.php:3416 includes/class-mla-options.php:4552
2859
  msgid "Add a new Mapping Rule"
2860
  msgstr ""
2861
 
2862
- #: includes/class-mla-options.php:3449 includes/class-mla-options.php:4566
2863
  msgid "Add Rule"
2864
  msgstr ""
2865
 
2866
- #: includes/class-mla-options.php:3450 includes/class-mla-options.php:4567
2867
  msgid "Add Rule and Map All Attachments"
2868
  msgstr ""
2869
 
2870
- #: includes/class-mla-options.php:3460 includes/class-mla-options.php:4577
2871
  msgid "Add a new Field and Mapping Rule"
2872
  msgstr ""
2873
 
2874
- #: includes/class-mla-options.php:3493 includes/class-mla-options.php:4591
2875
  msgid "Add Field"
2876
  msgstr ""
2877
 
2878
- #: includes/class-mla-options.php:3494 includes/class-mla-options.php:4592
2879
  msgid "Add Field and Map All Attachments"
2880
  msgstr ""
2881
 
2882
- #: includes/class-mla-options.php:3499 includes/class-mla-options.php:3988
2883
- #: includes/class-mla-options.php:4393 includes/class-mla-options.php:4479
2884
- #: includes/class-mla-options.php:4597
2885
  msgid "Field Title"
2886
  msgstr ""
2887
 
2888
- #: includes/class-mla-options.php:3524
2889
  msgid "Custom field mapping rules updated."
2890
  msgstr ""
2891
 
2892
- #: includes/class-mla-options.php:3526
2893
  msgid "ERROR: Custom field mapping rules update failed."
2894
  msgstr ""
2895
 
2896
- #: includes/class-mla-options.php:3529 includes/class-mla-settings.php:747
2897
  #: includes/class-mla-settings.php:753
2898
  msgid "Custom field no mapping rule changes detected."
2899
  msgstr ""
2900
 
2901
- #: includes/class-mla-options.php:3537
2902
  msgid "Custom field mapping settings saved."
2903
  msgstr ""
2904
 
2905
- #: includes/class-mla-options.php:3539
2906
  msgid "ERROR: Custom field mapping settings reset failed."
2907
  msgstr ""
2908
 
2909
  #. translators: 1: custom field name
2910
- #: includes/class-mla-options.php:3976
2911
  #, php-format
2912
  msgid "ERROR: No old values for %1$s."
2913
  msgstr ""
2914
 
2915
- #: includes/class-mla-options.php:3995 includes/class-mla-options.php:4096
2916
- #: includes/class-mla-options.php:4240 includes/class-mla-options.php:4394
2917
- #: includes/class-mla-options.php:4480 includes/class-mla-options.php:4598
2918
  msgid "IPTC Value"
2919
  msgstr ""
2920
 
2921
- #: includes/class-mla-options.php:4002 includes/class-mla-options.php:4103
2922
- #: includes/class-mla-options.php:4247
2923
  msgid "EXIF Value"
2924
  msgstr ""
2925
 
2926
- #: includes/class-mla-options.php:4008 includes/class-mla-options.php:4109
2927
- #: includes/class-mla-options.php:4253
2928
  msgid "EXIF to IPTC"
2929
  msgstr ""
2930
 
2931
- #: includes/class-mla-options.php:4011 includes/class-mla-options.php:4112
2932
- #: includes/class-mla-options.php:4256
2933
  msgid "IPTC to EXIF"
2934
  msgstr ""
2935
 
2936
- #: includes/class-mla-options.php:4016 includes/class-mla-options.php:4117
2937
- #: includes/class-mla-options.php:4261 includes/class-mla-options.php:4396
2938
- #: includes/class-mla-options.php:4482 includes/class-mla-options.php:4600
2939
  msgid "Priority"
2940
  msgstr ""
2941
 
2942
- #: includes/class-mla-options.php:4138 includes/class-mla-options.php:4484
2943
  msgid "Delimiter(s)"
2944
  msgstr ""
2945
 
2946
- #: includes/class-mla-options.php:4368 includes/class-mla-options.php:4418
2947
- #: includes/class-mla-options.php:4515 includes/class-mla-options.php:4559
2948
- #: includes/class-mla-options.php:4584
2949
  msgid "IPTC"
2950
  msgstr ""
2951
 
2952
- #: includes/class-mla-options.php:4370 includes/class-mla-options.php:4420
2953
- #: includes/class-mla-options.php:4517 includes/class-mla-options.php:4561
2954
- #: includes/class-mla-options.php:4586
2955
  msgid "EXIF"
2956
  msgstr ""
2957
 
2958
- #: includes/class-mla-options.php:4395 includes/class-mla-options.php:4481
2959
- #: includes/class-mla-options.php:4599
2960
  msgid "EXIF/Template Value"
2961
  msgstr ""
2962
 
2963
  #. translators: 1: option name
2964
- #: includes/class-mla-options.php:4609
2965
  #, php-format
2966
  msgid "ERROR: Render unknown custom %1$s."
2967
  msgstr ""
2968
 
2969
  #. translators: 1: option name
2970
- #: includes/class-mla-options.php:4653
2971
  #, php-format
2972
  msgid "ERROR: Update/delete unknown custom %1$s."
2973
  msgstr ""
2974
 
2975
- #: includes/class-mla-options.php:4659
2976
  msgid "IPTC/EXIF mapping settings updated."
2977
  msgstr ""
2978
 
2979
- #: includes/class-mla-options.php:4661
2980
  msgid "ERROR: IPTC/EXIF settings update failed."
2981
  msgstr ""
2982
 
2983
- #: includes/class-mla-options.php:4664 includes/class-mla-settings.php:879
2984
  #: includes/class-mla-settings.php:885
2985
  msgid "IPTC/EXIF no mapping changes detected."
2986
  msgstr ""
2987
 
2988
  #. translators: 1: field type
2989
- #: includes/class-mla-options.php:4675 includes/class-mla-options.php:4685
2990
- #: includes/class-mla-options.php:4695 includes/class-mla-settings.php:3187
2991
  #, php-format
2992
  msgid "%1$s settings saved."
2993
  msgstr ""
2994
 
2995
- #: includes/class-mla-options.php:4675 includes/class-mla-options.php:4678
2996
  #: includes/class-mla-settings.php:3431 includes/class-mla-settings.php:3470
2997
  #: includes/class-mla-settings.php:3473
2998
  msgid "Standard field"
2999
  msgstr ""
3000
 
3001
  #. translators: 1: field type
3002
- #: includes/class-mla-options.php:4678 includes/class-mla-options.php:4688
3003
- #: includes/class-mla-options.php:4698
3004
  #, php-format
3005
  msgid "ERROR: IPTC/EXIF %1$s settings update failed."
3006
  msgstr ""
3007
 
3008
- #: includes/class-mla-options.php:4685 includes/class-mla-options.php:4688
3009
  #: includes/class-mla-settings.php:3502 includes/class-mla-settings.php:3541
3010
  #: includes/class-mla-settings.php:3544
3011
  msgid "Taxonomy term"
3012
  msgstr ""
3013
 
3014
- #: includes/class-mla-options.php:4695 includes/class-mla-options.php:4698
3015
  #: includes/class-mla-settings.php:3332 includes/class-mla-settings.php:3335
3016
  #: includes/class-mla-settings.php:3587 includes/class-mla-settings.php:3626
3017
  #: includes/class-mla-settings.php:3629
@@ -3019,7 +3026,7 @@ msgid "Custom field"
3019
  msgstr ""
3020
 
3021
  #. translators: 1: option name, e.g., taxonomy_support
3022
- #: includes/class-mla-options.php:4706
3023
  #, php-format
3024
  msgid "ERROR: Reset unknown custom %1$s"
3025
  msgstr ""
@@ -4001,116 +4008,116 @@ msgid "Settings imported; %1$s updated, %2$s unchanged."
4001
  msgstr ""
4002
 
4003
  #: includes/class-mla-shortcodes.php:190
4004
- #: includes/class-mla-shortcodes.php:1123
4005
- #: includes/class-mla-shortcodes.php:2015
4006
- #: includes/class-mla-shortcodes.php:2292
4007
  msgid "Previous"
4008
  msgstr ""
4009
 
4010
  #: includes/class-mla-shortcodes.php:191
4011
- #: includes/class-mla-shortcodes.php:1124
4012
- #: includes/class-mla-shortcodes.php:2062
4013
- #: includes/class-mla-shortcodes.php:2298
4014
  msgid "Next"
4015
  msgstr ""
4016
 
4017
- #: includes/class-mla-shortcodes.php:272
4018
  msgid "mla_debug empty gallery"
4019
  msgstr ""
4020
 
4021
- #: includes/class-mla-shortcodes.php:336
4022
  msgid ""
4023
  "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
4024
  "<strong>default</strong>, query = "
4025
  msgstr ""
4026
 
4027
- #: includes/class-mla-shortcodes.php:653
4028
  msgid "unattached"
4029
  msgstr ""
4030
 
4031
- #: includes/class-mla-shortcodes.php:674
4032
  msgid "unknown"
4033
  msgstr ""
4034
 
4035
- #: includes/class-mla-shortcodes.php:1230
4036
  msgid "mla_debug attributes"
4037
  msgstr ""
4038
 
4039
- #: includes/class-mla-shortcodes.php:1231
4040
  msgid "mla_debug arguments"
4041
  msgstr ""
4042
 
4043
- #: includes/class-mla-shortcodes.php:1323
4044
  msgid "mla_debug empty cloud"
4045
  msgstr ""
4046
 
4047
- #: includes/class-mla-shortcodes.php:2673
4048
- #: includes/class-mla-shortcodes.php:2997
4049
- #: includes/class-mla-shortcodes.php:3028
4050
  msgid "ERROR: Invalid mla_gallery"
4051
  msgstr ""
4052
 
4053
- #: includes/class-mla-shortcodes.php:3269
4054
  msgid "mla_debug query"
4055
  msgstr ""
4056
 
4057
- #: includes/class-mla-shortcodes.php:3270
4058
  msgid "mla_debug request"
4059
  msgstr ""
4060
 
4061
- #: includes/class-mla-shortcodes.php:3271
4062
  msgid "mla_debug query_vars"
4063
  msgstr ""
4064
 
4065
- #: includes/class-mla-shortcodes.php:3272
4066
  msgid "mla_debug post_count"
4067
  msgstr ""
4068
 
4069
- #: includes/class-mla-shortcodes.php:3340
4070
  msgid "mla_debug WHERE filter"
4071
  msgstr ""
4072
 
4073
- #: includes/class-mla-shortcodes.php:3359
4074
  msgid "mla_debug modified WHERE filter"
4075
  msgstr ""
4076
 
4077
- #: includes/class-mla-shortcodes.php:3382
4078
  msgid "mla_debug ORDER BY filter, incoming"
4079
  msgstr ""
4080
 
4081
- #: includes/class-mla-shortcodes.php:3382
4082
  msgid "Replacement ORDER BY clause"
4083
  msgstr ""
4084
 
4085
- #: includes/class-mla-shortcodes.php:3405
4086
  msgid "mla_debug posts_clauses filter"
4087
  msgstr ""
4088
 
4089
- #: includes/class-mla-shortcodes.php:3423
4090
  msgid "mla_debug posts_clauses_request filter"
4091
  msgstr ""
4092
 
4093
- #: includes/class-mla-shortcodes.php:3613
4094
  msgid "Invalid taxonomy"
4095
  msgstr ""
4096
 
4097
- #: includes/class-mla-shortcodes.php:3819
4098
  msgid "mla_debug query arguments"
4099
  msgstr ""
4100
 
4101
- #: includes/class-mla-shortcodes.php:3820
4102
  msgid "mla_debug last_query"
4103
  msgstr ""
4104
 
4105
- #: includes/class-mla-shortcodes.php:3821
4106
  msgid "mla_debug last_error"
4107
  msgstr ""
4108
 
4109
- #: includes/class-mla-shortcodes.php:3822
4110
  msgid "mla_debug num_rows"
4111
  msgstr ""
4112
 
4113
- #: includes/class-mla-shortcodes.php:3823
4114
  msgid "mla_debug found_rows"
4115
  msgstr ""
4116
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
+ "POT-Creation-Date: 2015-01-22 20:37-0800\n"
5
+ "PO-Revision-Date: 2015-01-22 20:38-0800\n"
6
  "Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
7
  "Language-Team: David Lingren <david@fairtradejudaica.org>\n"
8
  "Language: en_US\n"
80
  msgstr ""
81
 
82
  #. translators: 1: template excerpt
83
+ #: includes/class-mla-data.php:1071
84
  #, php-format
85
  msgctxt "error_log"
86
  msgid ""
89
  msgstr ""
90
 
91
  #. translators: 1: function name 2: non-array value
92
+ #: includes/class-mla-data.php:1308 includes/class-mla-main.php:1898
93
+ #: includes/class-mla-main.php:1973 includes/class-mla-media-modal.php:1185
94
  #: includes/class-mla-mime-types.php:483
95
  #: includes/class-mla-mime-types.php:1218
96
  #: includes/class-mla-mime-types.php:2361 includes/class-mla-settings.php:1524
101
  msgstr ""
102
 
103
  #. translators: 1: query filter details
104
+ #: includes/class-mla-data.php:1723
105
  #, php-format
106
  msgid "_execute_list_table_query $wp_filter = \"%1$s\"."
107
  msgstr ""
108
 
109
  #. translators: 1: query filter details
110
+ #: includes/class-mla-data.php:1726
111
  #, php-format
112
  msgctxt "error_log"
113
  msgid "DEBUG: _execute_list_table_query $wp_filter = \"%1$s\"."
114
  msgstr ""
115
 
116
  #. translators: 1: query details
117
+ #: includes/class-mla-data.php:1743
118
  #, php-format
119
  msgid "_execute_list_table_query WP_Query = \"%1$s\"."
120
  msgstr ""
121
 
122
  #. translators: 1: SQL statement
123
+ #: includes/class-mla-data.php:1745
124
  #, php-format
125
  msgid "_execute_list_table_query SQL_request = \"%1$s\"."
126
  msgstr ""
127
 
128
  #. translators: 1: query details
129
+ #: includes/class-mla-data.php:1748
130
  #, php-format
131
  msgctxt "error_log"
132
  msgid "DEBUG: _execute_list_table_query WP_Query = \"%1$s\"."
133
  msgstr ""
134
 
135
  #. translators: 1: SQL statement
136
+ #: includes/class-mla-data.php:1750
137
  #, php-format
138
  msgctxt "error_log"
139
  msgid "DEBUG: _execute_list_table_query SQL_request = \"%1$s\"."
140
  msgstr ""
141
 
142
  #. translators: 1: search filter details
143
+ #: includes/class-mla-data.php:2046
144
  #, php-format
145
  msgid "mla_query_posts_search_filter = \"%1$s\"."
146
  msgstr ""
147
 
148
  #. translators: 1: search filter details
149
+ #: includes/class-mla-data.php:2049
150
  #, php-format
151
  msgctxt "error_log"
152
  msgid "DEBUG: mla_query_posts_search_filter = \"%1$s\"."
153
  msgstr ""
154
 
155
  #. translators: 1: where filter details
156
+ #: includes/class-mla-data.php:2115
157
  #, php-format
158
  msgid "mla_query_posts_where_filter = \"%1$s\"."
159
  msgstr ""
160
 
161
  #. translators: 1: where filter details
162
+ #: includes/class-mla-data.php:2118
163
  #, php-format
164
  msgctxt "error_log"
165
  msgid "DEBUG: mla_query_posts_where_filter = \"%1$s\"."
166
  msgstr ""
167
 
168
  #. translators: 1: join filter details
169
+ #: includes/class-mla-data.php:2169
170
  #, php-format
171
  msgid "mla_query_posts_join_filter = \"%1$s\"."
172
  msgstr ""
173
 
174
  #. translators: 1: join filter details
175
+ #: includes/class-mla-data.php:2172
176
  #, php-format
177
  msgctxt "error_log"
178
  msgid "DEBUG: mla_query_posts_join_filter = \"%1$s\"."
179
  msgstr ""
180
 
181
  #. translators: 1: orderby details details
182
+ #: includes/class-mla-data.php:2271
183
  #, php-format
184
  msgid "mla_query_posts_orderby_filter = \"%1$s\"."
185
  msgstr ""
186
 
187
  #. translators: 1: orderby details details
188
+ #: includes/class-mla-data.php:2274
189
  #, php-format
190
  msgctxt "error_log"
191
  msgid "DEBUG: mla_query_posts_orderby_filter = \"%1$s\"."
192
  msgstr ""
193
 
194
  #. translators: 1: SQL clauses
195
+ #: includes/class-mla-data.php:2310
196
  #, php-format
197
  msgid "mla_query_posts_clauses_filter = \"%1$s\"."
198
  msgstr ""
199
 
200
  #. translators: 1: SQL clauses
201
+ #: includes/class-mla-data.php:2313
202
  #, php-format
203
  msgctxt "error_log"
204
  msgid "DEBUG: mla_query_posts_clauses_filter = \"%1$s\"."
205
  msgstr ""
206
 
207
  #. translators: 1: SQL clauses
208
+ #: includes/class-mla-data.php:2334
209
  #, php-format
210
  msgid "mla_query_posts_clauses_request_filter = \"%1$s\"."
211
  msgstr ""
212
 
213
  #. translators: 1: SQL clauses
214
+ #: includes/class-mla-data.php:2337
215
  #, php-format
216
  msgctxt "error_log"
217
  msgid "DEBUG: mla_query_posts_clauses_request_filter = \"%1$s\"."
218
  msgstr ""
219
 
220
  #. translators: 1: post ID
221
+ #: includes/class-mla-data.php:2371
222
  #, php-format
223
  msgctxt "error_log"
224
  msgid "ERROR: mla_get_attachment_by_id(%1$d) not found."
225
  msgstr ""
226
 
227
  #. translators: 1: post ID 2: post_type
228
+ #: includes/class-mla-data.php:2377
229
  #, php-format
230
  msgctxt "error_log"
231
  msgid "ERROR: mla_get_attachment_by_id(%1$d) wrong post_type \"%2$s\"."
232
  msgstr ""
233
 
234
+ #: includes/class-mla-data.php:2958 includes/class-mla-data.php:3290
235
+ #: includes/class-mla-list-table.php:989
236
  msgid "NO REFERENCE TESTS"
237
  msgstr ""
238
 
239
+ #: includes/class-mla-data.php:2964 includes/class-mla-data.php:3296
240
+ #: includes/class-mla-options.php:2665 includes/class-mla-options.php:2666
241
  msgid "ORPHAN"
242
  msgstr ""
243
 
244
+ #: includes/class-mla-data.php:2968 includes/class-mla-data.php:3300
245
  msgid "UNUSED"
246
  msgstr ""
247
 
248
+ #: includes/class-mla-data.php:2973 includes/class-mla-data.php:3305
249
  msgid "UNATTACHED"
250
  msgstr ""
251
 
252
+ #: includes/class-mla-data.php:2975 includes/class-mla-data.php:3307
253
  msgid "INVALID PARENT"
254
  msgstr ""
255
 
256
  #. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
257
+ #: includes/class-mla-data.php:3488
258
  #, php-format
259
  msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
260
  msgstr ""
261
 
262
  #. translators: 1: index
263
+ #: includes/class-mla-data.php:3734
264
  #, php-format
265
  msgctxt "error_log"
266
  msgid "ERROR: _build_pdf_indirect_objects bad value at $index = \"%1$d\"."
267
  msgstr ""
268
 
269
  #. translators: 1: source offset 2: nest level
270
+ #: includes/class-mla-data.php:4059
271
  #, php-format
272
  msgctxt "error_log"
273
  msgid "ERROR: _parse_pdf_dictionary offset = %1$d, nest = %2$d."
274
  msgstr ""
275
 
276
  #. translators: 1: dictionary excerpt
277
+ #: includes/class-mla-data.php:4061
278
  #, php-format
279
  msgctxt "error_log"
280
  msgid "ERROR: _parse_pdf_dictionary no end delimiter dump = %1$s."
281
  msgstr ""
282
 
283
  #. translators: 1: entry name 2: value excerpt
284
+ #: includes/class-mla-data.php:4107
285
  #, php-format
286
  msgctxt "error_log"
287
  msgid "ERROR: _parse_pdf_dictionary bad value [ %1$s ] dump = %2$s"
288
  msgstr ""
289
 
290
+ #: includes/class-mla-data.php:4221
291
  msgctxt "error_log"
292
  msgid "ERROR: _parse_xmp_metadata xml_parse_into_struct failed."
293
  msgstr ""
294
 
295
+ #: includes/class-mla-data.php:4224
296
  msgctxt "error_log"
297
  msgid "ERROR: _parse_xmp_metadata set option failed."
298
  msgstr ""
299
 
300
  #. translators: 1: path and file
301
+ #: includes/class-mla-data.php:4581
302
  #, php-format
303
  msgctxt "error_log"
304
  msgid "ERROR: File \"%1$s\", startxref not found."
305
  msgstr ""
306
 
307
  #. translators: 1: meta_key
308
+ #: includes/class-mla-data.php:5499
309
  #, php-format
310
  msgid "Deleting meta:%1$s"
311
  msgstr ""
312
 
313
  #. translators: 1: meta_key
314
+ #: includes/class-mla-data.php:5502
315
  #, php-format
316
  msgid "ERROR: meta:%1$s not found"
317
  msgstr ""
318
 
319
  #. translators: 1: meta_key 2: meta_value
320
+ #: includes/class-mla-data.php:5511
321
  #, php-format
322
  msgid "Adding meta:%1$s = %2$s"
323
  msgstr ""
324
 
325
  #. translators: 1: meta_key
326
+ #: includes/class-mla-data.php:5515
327
  #, php-format
328
  msgid "ERROR: Adding meta:%1$s; not found"
329
  msgstr ""
330
 
331
  #. translators: 1: meta_key
332
+ #: includes/class-mla-data.php:5522
333
  #, php-format
334
  msgid "Deleting Null meta:%1$s"
335
  msgstr ""
336
 
337
  #. translators: 1: element name 2: old_value 3: new_value
338
+ #: includes/class-mla-data.php:5532 includes/class-mla-data.php:5683
339
+ #: includes/class-mla-data.php:5744 includes/class-mla-data.php:5770
340
+ #: includes/class-mla-data.php:5804 includes/class-mla-data.php:5817
341
+ #: includes/class-mla-data.php:5826 includes/class-mla-data.php:5837
342
+ #: includes/class-mla-data.php:5848 includes/class-mla-data.php:5861
343
+ #: includes/class-mla-data.php:5870 includes/class-mla-data.php:5879
344
  #: includes/class-mla-mime-types.php:1052
345
  #: includes/class-mla-mime-types.php:2125
346
  #, php-format
348
  msgstr ""
349
 
350
  #. translators: 1: meta_key
351
+ #: includes/class-mla-data.php:5537
352
  #, php-format
353
  msgid "ERROR: Changing meta:%1$s; not found"
354
  msgstr ""
355
 
356
  #. translators: 1: meta_key
357
+ #: includes/class-mla-data.php:5597
358
  #, php-format
359
  msgid "Deleting %1$s"
360
  msgstr ""
361
 
362
  #. translators: 1: meta_key 2: new_value
363
+ #: includes/class-mla-data.php:5608
364
  #, php-format
365
  msgid "Adding %1$s = [%2$s]"
366
  msgstr ""
367
 
368
  #. translators: 1: meta_key 2: meta_value
369
+ #: includes/class-mla-data.php:5614
370
  #, php-format
371
  msgid "Adding %1$s = %2$s"
372
  msgstr ""
373
 
374
  #. translators: 1: meta_key
375
+ #: includes/class-mla-data.php:5638
376
  #, php-format
377
  msgid "Deleting old %1$s values"
378
  msgstr ""
379
 
380
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
381
+ #: includes/class-mla-data.php:5668
382
  #, php-format
383
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
384
  msgstr ""
385
 
386
+ #: includes/class-mla-data.php:5726 includes/class-mla-main.php:2261
387
  msgid "ERROR: Could not retrieve Attachment."
388
  msgstr ""
389
 
390
+ #: includes/class-mla-data.php:5744 includes/class-mla-main.php:1605
391
+ #: includes/class-mla-main.php:1912 includes/class-mla-main.php:2102
392
+ #: includes/class-mla-main.php:2479 includes/class-mla-objects.php:275
393
  #: includes/class-mla-options.php:1030 includes/class-mla-options.php:1790
394
  #: includes/mla-main-search-box-template.php:42
395
  #: includes/mla-media-modal-js-template.php:32
397
  msgstr ""
398
 
399
  #. translators: 1: old_value
400
+ #: includes/class-mla-data.php:5767
401
  #, php-format
402
  msgid "ERROR: Could not change Name/Slug \"%1$s\"; name already exists"
403
  msgstr ""
404
 
405
+ #: includes/class-mla-data.php:5770 includes/class-mla-main.php:2103
406
+ #: includes/class-mla-main.php:2482 includes/class-mla-options.php:1037
407
  msgid "Name/Slug"
408
  msgstr ""
409
 
410
  #. translators: 1: old_value
411
+ #: includes/class-mla-data.php:5796
412
  #, php-format
413
  msgid "Deleting ALT Text, was \"%1$s\""
414
  msgstr ""
415
 
416
  #. translators: 1: old_value
417
+ #: includes/class-mla-data.php:5799
418
  #, php-format
419
  msgid "ERROR: Could not delete ALT Text, remains \"%1$s\""
420
  msgstr ""
421
 
422
+ #: includes/class-mla-data.php:5804 includes/class-mla-list-table.php:1279
423
+ #: includes/class-mla-main.php:2106 includes/class-mla-main.php:2485
424
  #: includes/class-mla-options.php:1044 includes/class-mla-options.php:1796
425
  #: includes/mla-main-search-box-template.php:44
426
  #: includes/mla-media-modal-js-template.php:40
428
  msgstr ""
429
 
430
  #. translators: 1: old_value 2: new_value
431
+ #: includes/class-mla-data.php:5807
432
  #, php-format
433
  msgid "ERROR: Could not change ALT Text from \"%1$s\" to \"%2$s\""
434
  msgstr ""
435
 
436
+ #: includes/class-mla-data.php:5817 includes/class-mla-main.php:2104
437
+ #: includes/class-mla-main.php:2488 includes/class-mla-options.php:1051
438
  #: includes/class-mla-options.php:1799
439
  #: includes/mla-main-search-box-template.php:45
440
  #: includes/mla-media-modal-js-template.php:45
441
  msgid "Caption"
442
  msgstr ""
443
 
444
+ #: includes/class-mla-data.php:5826 includes/class-mla-main.php:2105
445
+ #: includes/class-mla-main.php:2490 includes/class-mla-options.php:1058
446
  #: includes/class-mla-options.php:1802 includes/class-mla-settings.php:1490
447
  #: includes/class-mla-settings.php:1746 includes/class-mla-settings.php:1844
448
  #: includes/class-mla-settings.php:2207
451
  msgid "Description"
452
  msgstr ""
453
 
454
+ #: includes/class-mla-data.php:5837 includes/class-mla-list-table.php:963
455
+ #: includes/class-mla-list-table.php:1055 includes/class-mla-options.php:4242
456
+ #: includes/class-mla-options.php:4582
457
  msgid "Parent"
458
  msgstr ""
459
 
460
+ #: includes/class-mla-data.php:5848 includes/class-mla-edit-media.php:307
461
+ #: includes/class-mla-edit-media.php:460 includes/class-mla-main.php:2109
462
+ #: includes/class-mla-main.php:2496 includes/class-mla-settings.php:1488
463
  #: includes/class-mla-settings.php:1744
464
  msgid "Menu Order"
465
  msgstr ""
466
 
467
+ #: includes/class-mla-data.php:5861 includes/class-mla-list-table.php:1436
468
+ #: includes/class-mla-main.php:1979 includes/class-mla-main.php:2081
469
+ #: includes/class-mla-main.php:2310
470
  msgid "Author"
471
  msgstr ""
472
 
473
+ #: includes/class-mla-data.php:5870 includes/class-mla-main.php:2120
474
  msgid "Comments"
475
  msgstr ""
476
 
477
+ #: includes/class-mla-data.php:5879 includes/class-mla-main.php:2121
478
  msgid "Pings"
479
  msgstr ""
480
 
481
+ #: includes/class-mla-data.php:5910
482
  msgid "Adding"
483
  msgstr ""
484
 
485
+ #: includes/class-mla-data.php:5914
486
  msgid "Removing"
487
  msgstr ""
488
 
489
+ #: includes/class-mla-data.php:5923
490
  msgid "Replacing"
491
  msgstr ""
492
 
493
+ #: includes/class-mla-data.php:5931
494
  msgid "Ignoring"
495
  msgstr ""
496
 
497
  #. translators: 1: action_name, 2: taxonomy
498
+ #: includes/class-mla-data.php:5944
499
  #, php-format
500
  msgid "%1$s \"%2$s\" terms"
501
  msgstr ""
502
 
503
  #. translators: 1: taxonomy
504
+ #: includes/class-mla-data.php:5948
505
  #, php-format
506
  msgid "You cannot assign \"%1$s\" terms"
507
  msgstr ""
508
 
509
  #. translators: 1: post ID
510
+ #: includes/class-mla-data.php:5960 includes/class-mla-main.php:1131
511
  #, php-format
512
  msgid "Item %1$d, no changes detected."
513
  msgstr ""
514
 
515
  #. translators: 1: post ID
516
+ #: includes/class-mla-data.php:5972
517
  #, php-format
518
  msgid "Item %1$d updated."
519
  msgstr ""
520
 
521
  #. translators: 1: post ID
522
+ #: includes/class-mla-data.php:5986
523
  #, php-format
524
  msgid "ERROR: Item %1$d update failed."
525
  msgstr ""
526
 
527
+ #: includes/class-mla-edit-media.php:125 includes/class-mla-edit-media.php:170
528
+ #: includes/class-mla-main.php:340 includes/class-mla-main.php:377
529
+ #: includes/class-mla-main.php:1028 includes/class-mla-main.php:1790
530
+ #: includes/class-mla-options.php:3788 includes/class-mla-settings.php:340
531
  msgctxt "tag_delimiter"
532
  msgid ","
533
  msgstr ""
553
  msgid "M j, Y @ G:i"
554
  msgstr ""
555
 
556
+ #: includes/class-mla-edit-media.php:218 includes/class-mla-main.php:2474
557
  msgid "Last modified"
558
  msgstr ""
559
 
561
  msgid "Map Custom Field metadata for this item"
562
  msgstr ""
563
 
564
+ #: includes/class-mla-edit-media.php:229 includes/class-mla-main.php:1712
565
+ #: includes/class-mla-main.php:2127
566
  msgid "Map Custom Field Metadata"
567
  msgstr ""
568
 
574
  msgid "Map IPTC/EXIF Metadata"
575
  msgstr ""
576
 
577
+ #: includes/class-mla-edit-media.php:303 includes/class-mla-edit-media.php:441
578
+ #: includes/class-mla-main.php:2492
579
  msgid "Parent Info"
580
  msgstr ""
581
 
582
+ #: includes/class-mla-edit-media.php:313 includes/class-mla-edit-media.php:484
583
  msgid "Attachment Metadata"
584
  msgstr ""
585
 
586
+ #: includes/class-mla-edit-media.php:318 includes/class-mla-edit-media.php:518
587
+ #: includes/class-mla-main.php:2503 includes/class-mla-options.php:467
588
  msgid "Featured in"
589
  msgstr ""
590
 
591
+ #: includes/class-mla-edit-media.php:322 includes/class-mla-edit-media.php:557
592
+ #: includes/class-mla-main.php:2505 includes/class-mla-options.php:476
593
  msgid "Inserted in"
594
  msgstr ""
595
 
596
+ #: includes/class-mla-edit-media.php:326 includes/class-mla-edit-media.php:592
597
+ #: includes/class-mla-main.php:2507 includes/class-mla-options.php:485
598
  #: includes/class-mla-settings.php:3722
599
  msgid "Gallery in"
600
  msgstr ""
601
 
602
+ #: includes/class-mla-edit-media.php:330 includes/class-mla-edit-media.php:627
603
+ #: includes/class-mla-main.php:2509 includes/class-mla-options.php:494
604
  #: includes/class-mla-settings.php:3732
605
  msgid "MLA Gallery in"
606
  msgstr ""
613
  msgid "ERROR: %1$s discarding \"%2$s\"; no title/order"
614
  msgstr ""
615
 
616
+ #: includes/class-mla-edit-media.php:419 includes/class-mla-list-table.php:764
617
+ #: includes/class-mla-main.php:1618
618
+ msgid "Scheduled"
619
+ msgstr ""
620
+
621
+ #: includes/class-mla-edit-media.php:422 includes/class-mla-list-table.php:767
622
+ msgctxt "post state"
623
+ msgid "Pending"
624
+ msgstr ""
625
+
626
+ #: includes/class-mla-edit-media.php:425 includes/class-mla-list-table.php:770
627
+ #: includes/class-mla-main.php:1624
628
+ msgid "Draft"
629
+ msgstr ""
630
+
631
+ #: includes/class-mla-edit-media.php:439
632
  msgid "Post Parent"
633
  msgstr ""
634
 
635
+ #: includes/class-mla-edit-media.php:440 includes/class-mla-main.php:1903
636
  msgid "Select Parent"
637
  msgstr ""
638
 
639
+ #: includes/class-mla-edit-media.php:440 includes/class-mla-main.php:2108
640
  #: includes/class-mla-upload-optional-list-table.php:281
641
  msgid "Select"
642
  msgstr ""
643
 
644
+ #: includes/class-mla-edit-media.php:507 includes/class-mla-edit-media.php:545
645
+ #: includes/class-mla-edit-media.php:581 includes/class-mla-edit-media.php:616
646
+ #: includes/class-mla-list-table.php:1102
647
+ #: includes/class-mla-list-table.php:1151
648
+ #: includes/class-mla-list-table.php:1197
649
+ #: includes/class-mla-list-table.php:1242 includes/class-mla-main.php:2323
650
+ #: includes/class-mla-main.php:2342 includes/class-mla-main.php:2359
651
+ #: includes/class-mla-main.php:2375
652
  msgid "PARENT"
653
  msgstr ""
654
 
655
+ #: includes/class-mla-edit-media.php:810
656
  msgid "Most Used"
657
  msgstr ""
658
 
659
  #. translators: %s: add new taxonomy label
660
+ #: includes/class-mla-edit-media.php:839
661
  #, php-format
662
  msgid "+ %s"
663
  msgstr ""
664
 
665
+ #: includes/class-mla-edit-media.php:845
666
  msgid "?&nbsp;Search"
667
  msgstr ""
668
 
781
  msgid "No"
782
  msgstr ""
783
 
784
+ #: includes/class-mla-list-table.php:625
785
+ #: includes/class-mla-list-table.php:1337 includes/class-mla-options.php:598
786
  #: includes/class-mla-options.php:788 includes/class-mla-options.php:812
787
  #: includes/class-mla-options.php:826 includes/class-mla-settings.php:2290
788
  msgid "None"
789
  msgstr ""
790
 
791
+ #: includes/class-mla-list-table.php:631 includes/class-mla-list-table.php:659
792
+ #: includes/class-mla-list-table.php:1275
793
+ #: includes/class-mla-list-table.php:1319
794
+ #: includes/class-mla-list-table.php:1349
795
  msgid "Filter by"
796
  msgstr ""
797
 
798
+ #: includes/class-mla-list-table.php:641
799
  msgid "not supported"
800
  msgstr ""
801
 
802
  #. translators: 1: column_name 2: column_values
803
+ #: includes/class-mla-list-table.php:679
804
  #: includes/class-mla-upload-list-table.php:247
805
  #: includes/class-mla-upload-optional-list-table.php:228
806
  #: includes/class-mla-view-list-table.php:236
808
  msgid "column_default: %1$s, %2$s"
809
  msgstr ""
810
 
811
+ #: includes/class-mla-list-table.php:745 includes/class-mla-list-table.php:818
812
+ #: includes/class-mla-list-table.php:820
813
  #: includes/class-mla-upload-list-table.php:312
814
  #: includes/class-mla-view-list-table.php:302
815
  msgid "Edit this item"
816
  msgstr ""
817
 
818
+ #: includes/class-mla-list-table.php:745 includes/class-mla-list-table.php:748
819
+ #: includes/class-mla-list-table.php:818 includes/class-mla-list-table.php:820
820
+ #: includes/class-mla-list-table.php:1107
821
+ #: includes/class-mla-list-table.php:1156
822
+ #: includes/class-mla-list-table.php:1202
823
+ #: includes/class-mla-list-table.php:1247
824
+ #: includes/class-mla-list-table.php:1453
825
+ #: includes/class-mla-list-table.php:1757
826
  #: includes/class-mla-upload-list-table.php:312
827
  #: includes/class-mla-upload-list-table.php:610
828
  #: includes/class-mla-view-list-table.php:302
830
  msgid "Edit"
831
  msgstr ""
832
 
833
+ #: includes/class-mla-list-table.php:806
834
  msgid "Restore this item from the Trash"
835
  msgstr ""
836
 
837
+ #: includes/class-mla-list-table.php:806
838
+ #: includes/class-mla-list-table.php:1754
839
  msgid "Restore"
840
  msgstr ""
841
 
842
+ #: includes/class-mla-list-table.php:823
843
  #: includes/class-mla-upload-list-table.php:314
844
  #: includes/class-mla-view-list-table.php:304
845
  msgid "Edit this item inline"
846
  msgstr ""
847
 
848
+ #: includes/class-mla-list-table.php:823 includes/class-mla-main.php:2101
849
+ #: includes/class-mla-options.php:3227 includes/class-mla-options.php:3508
850
  #: includes/class-mla-upload-list-table.php:314
851
  #: includes/class-mla-view-list-table.php:304
852
  msgid "Quick Edit"
853
  msgstr ""
854
 
855
+ #: includes/class-mla-list-table.php:829
856
  msgid "Move this item to the Trash"
857
  msgstr ""
858
 
859
+ #: includes/class-mla-list-table.php:829
860
+ #: includes/class-mla-list-table.php:1760
861
  msgid "Move to Trash"
862
  msgstr ""
863
 
864
+ #: includes/class-mla-list-table.php:834
865
  #: includes/class-mla-upload-list-table.php:318
866
  #: includes/class-mla-view-list-table.php:310
867
  msgid "Delete this item Permanently"
868
  msgstr ""
869
 
870
+ #: includes/class-mla-list-table.php:834
871
+ #: includes/class-mla-list-table.php:1755
872
+ #: includes/class-mla-list-table.php:1762
873
  #: includes/class-mla-upload-list-table.php:318
874
  #: includes/class-mla-view-list-table.php:310
875
  #: includes/class-mla-view-list-table.php:514
876
  msgid "Delete Permanently"
877
  msgstr ""
878
 
879
+ #: includes/class-mla-list-table.php:842
880
  msgid "Download"
881
  msgstr ""
882
 
883
+ #: includes/class-mla-list-table.php:845
884
  msgid "View"
885
  msgstr ""
886
 
887
+ #: includes/class-mla-list-table.php:885 includes/class-mla-list-table.php:957
888
+ #: includes/class-mla-main.php:368 includes/class-mla-main.php:1609
889
  msgid "(no title)"
890
  msgstr ""
891
 
892
+ #: includes/class-mla-list-table.php:960
893
+ #: includes/class-mla-list-table.php:1052
894
  msgid "Filter by Parent ID"
895
  msgstr ""
896
 
897
+ #: includes/class-mla-list-table.php:1049
898
  msgid "(no title: bad ID)"
899
  msgstr ""
900
 
901
+ #: includes/class-mla-list-table.php:1084
902
+ #: includes/class-mla-list-table.php:1129
903
+ #: includes/class-mla-list-table.php:1179
904
+ #: includes/class-mla-list-table.php:1224 includes/class-mla-main.php:2331
905
+ #: includes/class-mla-main.php:2351 includes/class-mla-main.php:2367
906
+ #: includes/class-mla-main.php:2383 includes/class-mla-options.php:471
907
  #: includes/class-mla-options.php:480 includes/class-mla-options.php:489
908
  #: includes/class-mla-options.php:498
909
  msgid "Disabled"
910
  msgstr ""
911
 
912
+ #: includes/class-mla-list-table.php:1322 includes/class-mla-settings.php:1837
913
  #: includes/class-mla-settings.php:2201
914
  msgid "MIME Type"
915
  msgstr ""
916
 
917
+ #: includes/class-mla-list-table.php:1353
918
  msgid "Base File"
919
  msgstr ""
920
 
921
+ #: includes/class-mla-list-table.php:1369
922
+ #: includes/class-mla-list-table.php:1402
923
  msgid "Unpublished"
924
  msgstr ""
925
 
926
  #. translators: 1: upload/last modified date and time
927
+ #: includes/class-mla-list-table.php:1378
928
+ #: includes/class-mla-list-table.php:1409
929
  #, php-format
930
  msgid "%1$s from now"
931
  msgstr ""
932
 
933
  #. translators: 1: upload/last modified date and time
934
+ #: includes/class-mla-list-table.php:1381
935
+ #: includes/class-mla-list-table.php:1411
936
  #, php-format
937
  msgid "%1$s ago"
938
  msgstr ""
939
 
940
  #. translators: format for upload/last modified date
941
  #. translators: date format in table columns, see http://php.net/date
942
+ #: includes/class-mla-list-table.php:1385
943
+ #: includes/class-mla-list-table.php:1414
944
+ #: includes/class-mla-list-table.php:1470 includes/class-mla-main.php:1634
945
  msgid "Y/m/d"
946
  msgstr ""
947
 
948
+ #: includes/class-mla-list-table.php:1433
949
  msgid "Filter by Author ID"
950
  msgstr ""
951
 
952
+ #: includes/class-mla-list-table.php:1472 includes/class-mla-options.php:1147
953
  msgctxt "post_mime_types_singular"
954
  msgid "Unattached"
955
  msgstr ""
956
 
957
+ #: includes/class-mla-list-table.php:1475
958
  msgid "Set Parent"
959
  msgstr ""
960
 
961
+ #: includes/class-mla-list-table.php:1606
962
  msgctxt "uploaded files"
963
  msgid "All"
964
  msgid_plural "All"
965
  msgstr[0] ""
966
  msgstr[1] ""
967
 
968
+ #: includes/class-mla-list-table.php:1788
969
  msgid "Filter"
970
  msgstr ""
971
 
972
+ #: includes/class-mla-list-table.php:1792
973
  #: includes/mla-media-modal-js-template.php:58
974
  msgid "Terms Search"
975
  msgstr ""
976
 
977
+ #: includes/class-mla-list-table.php:1798
978
  msgid "Clear Filter-by"
979
  msgstr ""
980
 
981
+ #: includes/class-mla-list-table.php:1802
982
  msgid "Empty Trash"
983
  msgstr ""
984
 
994
  msgid "Bulk Edit items"
995
  msgstr ""
996
 
997
+ #: includes/class-mla-main.php:370 includes/class-mla-main.php:2128
998
  #: includes/class-mla-settings.php:349
999
  msgid "Waiting"
1000
  msgstr ""
1001
 
1002
+ #: includes/class-mla-main.php:371 includes/class-mla-main.php:2130
1003
  #: includes/class-mla-settings.php:351
1004
  msgid "Complete"
1005
  msgstr ""
1028
  msgstr[1] ""
1029
 
1030
  #. translators: 1: post ID
1031
+ #: includes/class-mla-main.php:491 includes/class-mla-main.php:2591
1032
  #, php-format
1033
  msgid "Item %1$d moved to Trash."
1034
  msgstr ""
1037
  msgid "Entries per page"
1038
  msgstr ""
1039
 
1040
+ #: includes/class-mla-main.php:886
1041
  msgid "ERROR: You are not allowed to edit Attachment: "
1042
  msgstr ""
1043
 
1044
+ #: includes/class-mla-main.php:1121
1045
  #, php-format
1046
  msgid "ERROR: Unknown bulk action %1$s"
1047
  msgstr ""
1048
 
1049
+ #: includes/class-mla-main.php:1143
1050
  msgid "no changes detected"
1051
  msgstr ""
1052
 
1053
+ #: includes/class-mla-main.php:1146 includes/class-mla-main.php:1294
1054
+ #: includes/class-mla-main.php:1405 includes/class-mla-main.php:1436
1055
+ #: includes/class-mla-main.php:1674 includes/class-mla-settings.php:631
1056
  #: includes/class-mla-settings.php:671 includes/class-mla-settings.php:759
1057
  #: includes/class-mla-settings.php:891 includes/class-mla-settings.php:1556
1058
  #: includes/class-mla-settings.php:1633 includes/class-mla-settings.php:2020
1059
  #: includes/class-mla-settings.php:2099 includes/class-mla-settings.php:2648
1060
  #: includes/class-mla-settings.php:2780 includes/class-mla-settings.php:2923
1061
+ #: includes/class-mla-shortcodes.php:1355
1062
+ #: includes/class-mla-shortcodes.php:1429
1063
  msgid "ERROR:"
1064
  msgstr ""
1065
 
1066
  #. translators: 1: action name, e.g., edit
1067
+ #: includes/class-mla-main.php:1187 includes/class-mla-settings.php:1612
1068
  #: includes/class-mla-settings.php:2078
1069
  #, php-format
1070
  msgid "Bulk Action %1$s - no items selected."
1071
  msgstr ""
1072
 
1073
+ #: includes/class-mla-main.php:1236
1074
  msgid "You do not have permission to manage attachments."
1075
  msgstr ""
1076
 
1077
+ #: includes/class-mla-main.php:1302
1078
  #, php-format
1079
  msgctxt "deleted items"
1080
  msgid "%s item deleted."
1082
  msgstr[0] ""
1083
  msgstr[1] ""
1084
 
1085
+ #: includes/class-mla-main.php:1304
1086
  msgid "No items deleted."
1087
  msgstr ""
1088
 
1089
+ #: includes/class-mla-main.php:1329
1090
  msgid "Edit single item"
1091
  msgstr ""
1092
 
1093
  #. translators: 1: post ID
1094
+ #: includes/class-mla-main.php:1344
1095
  #, php-format
1096
  msgid "Item %1$d cancelled."
1097
  msgstr ""
1098
 
1099
+ #: includes/class-mla-main.php:1379
1100
  msgid "Empty Terms Search; ignored"
1101
  msgstr ""
1102
 
1103
  #. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
1104
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
1105
+ #: includes/class-mla-main.php:1391 includes/class-mla-settings.php:1649
1106
  #: includes/class-mla-settings.php:2117
1107
  #, php-format
1108
  msgid "Unknown mla_admin_action - \"%1$s\""
1109
  msgstr ""
1110
 
1111
+ #: includes/class-mla-main.php:1424
1112
  msgid "term search results for"
1113
  msgstr ""
1114
 
1115
+ #: includes/class-mla-main.php:1427
1116
  msgid "post/parent results for"
1117
  msgstr ""
1118
 
1119
+ #: includes/class-mla-main.php:1429
1120
  msgid "search results for"
1121
  msgstr ""
1122
 
1123
+ #: includes/class-mla-main.php:1605 includes/class-mla-main.php:1913
1124
  msgid "Type"
1125
  msgstr ""
1126
 
1127
+ #: includes/class-mla-main.php:1605 includes/class-mla-main.php:1914
1128
  msgid "Date"
1129
  msgstr ""
1130
 
1131
+ #: includes/class-mla-main.php:1605 includes/class-mla-main.php:1915
1132
  #: includes/class-mla-settings.php:2217
1133
  msgid "Status"
1134
  msgstr ""
1135
 
1136
+ #: includes/class-mla-main.php:1615
1137
  msgid "Published"
1138
  msgstr ""
1139
 
1140
+ #: includes/class-mla-main.php:1621
 
 
 
 
1141
  msgid "Pending Review"
1142
  msgstr ""
1143
 
1144
+ #: includes/class-mla-main.php:1663 includes/class-mla-main.php:1745
 
 
 
 
1145
  msgid "ERROR: No post ID found"
1146
  msgstr ""
1147
 
1148
+ #: includes/class-mla-main.php:1670 includes/class-mla-main.php:1752
1149
+ #: includes/class-mla-main.php:2268
1150
  msgid "You are not allowed to edit this Attachment."
1151
  msgstr ""
1152
 
1153
+ #: includes/class-mla-main.php:1715 includes/class-mla-main.php:2126
1154
+ #: includes/class-mla-main.php:2467
1155
  msgid "Map IPTC/EXIF metadata"
1156
  msgstr ""
1157
 
1158
+ #: includes/class-mla-main.php:1718 includes/class-mla-main.php:1925
1159
+ #: includes/class-mla-main.php:2115 includes/class-mla-main.php:2466
1160
  #: includes/class-mla-settings.php:1492 includes/class-mla-settings.php:1752
1161
  #: includes/class-mla-settings.php:1846 includes/class-mla-settings.php:2215
1162
  msgid "Update"
1163
  msgstr ""
1164
 
1165
+ #: includes/class-mla-main.php:1860
1166
  msgid "All Post Types"
1167
  msgstr ""
1168
 
1169
+ #: includes/class-mla-main.php:1904 includes/class-mla-media-modal.php:1215
1170
  #: includes/mla-media-modal-js-template.php:20
1171
  #: includes/mla-media-modal-js-template.php:61
1172
  msgid "Search"
1173
  msgstr ""
1174
 
1175
+ #: includes/class-mla-main.php:1906
1176
  msgid "For"
1177
  msgstr ""
1178
 
1179
+ #: includes/class-mla-main.php:1916
1180
  msgid "Unattached"
1181
  msgstr ""
1182
 
1183
+ #: includes/class-mla-main.php:1921 includes/class-mla-main.php:2114
1184
+ #: includes/class-mla-main.php:2465 includes/class-mla-settings.php:1493
1185
  #: includes/class-mla-settings.php:1751 includes/class-mla-settings.php:1847
1186
  #: includes/class-mla-settings.php:1919 includes/class-mla-settings.php:2214
1187
  #: includes/class-mla-settings.php:2681 includes/class-mla-settings.php:2807
1188
  msgid "Cancel"
1189
  msgstr ""
1190
 
1191
+ #: includes/class-mla-main.php:2014
1192
  msgid "more"
1193
  msgstr ""
1194
 
1195
+ #: includes/class-mla-main.php:2015
1196
  msgid "less"
1197
  msgstr ""
1198
 
1199
+ #: includes/class-mla-main.php:2018 includes/class-mla-main.php:2056
1200
  msgid "Add"
1201
  msgstr ""
1202
 
1203
+ #: includes/class-mla-main.php:2019 includes/class-mla-main.php:2057
1204
  msgid "Remove"
1205
  msgstr ""
1206
 
1207
+ #: includes/class-mla-main.php:2020 includes/class-mla-main.php:2058
1208
+ #: includes/class-mla-options.php:3325 includes/class-mla-options.php:3427
1209
+ #: includes/class-mla-options.php:3471 includes/class-mla-options.php:4471
1210
+ #: includes/class-mla-options.php:4521 includes/class-mla-options.php:4618
1211
+ #: includes/class-mla-options.php:4662 includes/class-mla-options.php:4687
1212
  msgid "Replace"
1213
  msgstr ""
1214
 
1215
+ #: includes/class-mla-main.php:2107
1216
  msgid "Parent ID"
1217
  msgstr ""
1218
 
1219
+ #: includes/class-mla-main.php:2116 includes/class-mla-options.php:3241
1220
+ #: includes/class-mla-options.php:3509 includes/class-mla-settings.php:1753
1221
  #: includes/class-mla-settings.php:2216
1222
  msgid "Bulk Edit"
1223
  msgstr ""
1224
 
1225
+ #: includes/class-mla-main.php:2122 includes/class-mla-main.php:2168
1226
  #: includes/class-mla-settings.php:1754 includes/class-mla-settings.php:1792
1227
  #: includes/class-mla-settings.php:2218
1228
  msgid "No Change"
1229
  msgstr ""
1230
 
1231
+ #: includes/class-mla-main.php:2123
1232
  msgid "Allow"
1233
  msgstr ""
1234
 
1235
+ #: includes/class-mla-main.php:2124
1236
  msgid "Do not allow"
1237
  msgstr ""
1238
 
1239
+ #: includes/class-mla-main.php:2129
1240
  msgid "In-process"
1241
  msgstr ""
1242
 
1243
+ #: includes/class-mla-main.php:2131 includes/class-mla-options.php:489
1244
  #: includes/class-mla-options.php:498 includes/class-mla-settings.php:2683
1245
  #: includes/class-mla-settings.php:2809
1246
  msgid "Refresh"
1247
  msgstr ""
1248
 
1249
+ #: includes/class-mla-main.php:2220
1250
  msgid "ERROR: You are not allowed to delete this item."
1251
  msgstr ""
1252
 
1253
  #. translators: 1: post ID
1254
+ #: includes/class-mla-main.php:2228
1255
  #, php-format
1256
  msgid "ERROR: Item %1$d could NOT be deleted."
1257
  msgstr ""
1258
 
1259
  #. translators: 1: post ID
1260
+ #: includes/class-mla-main.php:2235
1261
  #, php-format
1262
  msgid "Item %1$d permanently deleted."
1263
  msgstr ""
1264
 
1265
  #. translators: 1: page_template_array
1266
+ #: includes/class-mla-main.php:2295
1267
  #, php-format
1268
  msgctxt "error_log"
1269
  msgid "ERROR: MLA::_display_single_item \\$page_template_array = \"%1$s\""
1270
  msgstr ""
1271
 
1272
+ #: includes/class-mla-main.php:2469
1273
  msgid "File name"
1274
  msgstr ""
1275
 
1276
+ #: includes/class-mla-main.php:2471
1277
  msgid "File type"
1278
  msgstr ""
1279
 
1280
+ #: includes/class-mla-main.php:2472
1281
  msgid "Upload date"
1282
  msgstr ""
1283
 
1284
+ #: includes/class-mla-main.php:2476
1285
  msgid "Dimensions"
1286
  msgstr ""
1287
 
1288
+ #: includes/class-mla-main.php:2480
1289
  msgid "required"
1290
  msgstr ""
1291
 
1292
+ #: includes/class-mla-main.php:2484
1293
  msgid "Must be unique; will be validated."
1294
  msgstr ""
1295
 
1296
+ #: includes/class-mla-main.php:2487
1297
  msgid "Alternate text for the image, e.g. &#8220;The Mona Lisa&#8221;"
1298
  msgstr ""
1299
 
1300
+ #: includes/class-mla-main.php:2495
1301
  msgid "ID, type and title of parent, if any."
1302
  msgstr ""
1303
 
1304
+ #: includes/class-mla-main.php:2498
1305
  msgid "File URL"
1306
  msgstr ""
1307
 
1308
+ #: includes/class-mla-main.php:2500
1309
  msgid "Location of the uploaded file."
1310
  msgstr ""
1311
 
1312
+ #: includes/class-mla-main.php:2501
1313
  msgid "Image Metadata"
1314
  msgstr ""
1315
 
1316
+ #: includes/class-mla-main.php:2536
1317
  msgid "ERROR: You are not allowed to move this item out of the Trash."
1318
  msgstr ""
1319
 
1320
  #. translators: 1: post ID
1321
+ #: includes/class-mla-main.php:2544
1322
  #, php-format
1323
  msgid "ERROR: Item %1$d could NOT be restored from Trash."
1324
  msgstr ""
1325
 
1326
  #. translators: 1: post ID
1327
+ #: includes/class-mla-main.php:2559
1328
  #, php-format
1329
  msgid "Item %1$d restored from Trash."
1330
  msgstr ""
1331
 
1332
+ #: includes/class-mla-main.php:2576
1333
  msgid "ERROR: You are not allowed to move this item to the Trash."
1334
  msgstr ""
1335
 
1336
  #. translators: 1: post ID
1337
+ #: includes/class-mla-main.php:2584
1338
  #, php-format
1339
  msgid "ERROR: Item %1$d could NOT be moved to Trash."
1340
  msgstr ""
1341
 
1342
+ #: includes/class-mla-media-modal.php:245
1343
+ #: includes/class-mla-media-modal.php:251
1344
+ #: includes/class-mla-media-modal.php:811
1345
+ #: includes/class-mla-media-modal.php:846
1346
+ #: includes/class-mla-media-modal.php:891
1347
  msgid "Click to toggle"
1348
  msgstr ""
1349
 
1350
+ #: includes/class-mla-media-modal.php:288
1351
  msgid "Show all dates"
1352
  msgstr ""
1353
 
1354
  #. translators: 1: month name, 2: 4-digit year
1355
+ #: includes/class-mla-media-modal.php:303
1356
  #, php-format
1357
  msgid "%1$s %2$d"
1358
  msgstr ""
1359
 
1360
+ #: includes/class-mla-media-modal.php:414
1361
  msgctxt "tag delimiter"
1362
  msgid ","
1363
  msgstr ""
1364
 
1365
+ #: includes/class-mla-media-modal.php:519
1366
  msgid "Search Box"
1367
  msgstr ""
1368
 
1369
+ #: includes/class-mla-media-modal.php:520
1370
  msgid "Loading..."
1371
  msgstr ""
1372
 
1373
+ #: includes/class-mla-media-modal.php:857
1374
  msgid "Tags"
1375
  msgstr ""
1376
 
1377
  #. translators: %s: add new taxonomy label
1378
+ #: includes/class-mla-media-modal.php:859
1379
  #, php-format
1380
  msgid "Add New %1$s"
1381
  msgstr ""
1382
 
1383
+ #: includes/class-mla-media-modal.php:875
1384
  msgid "Choose from the most used tags"
1385
  msgstr ""
1386
 
1387
+ #: includes/class-mla-media-modal.php:897
1388
  msgid "Not Supported"
1389
  msgstr ""
1390
 
1391
+ #: includes/class-mla-media-modal.php:1198
1392
+ #: includes/class-mla-media-modal.php:1214
1393
  msgid "Search Terms"
1394
  msgstr ""
1395
 
1396
+ #: includes/class-mla-media-modal.php:1199
1397
  msgid "There are no taxonomies to search"
1398
  msgstr ""
1399
 
1400
+ #: includes/class-mla-media-modal.php:1217
1401
  msgid "All phrases"
1402
  msgstr ""
1403
 
1404
+ #: includes/class-mla-media-modal.php:1219
1405
  msgid "Any phrase"
1406
  msgstr ""
1407
 
1408
+ #: includes/class-mla-media-modal.php:1221
1409
  msgid "All terms"
1410
  msgstr ""
1411
 
1412
+ #: includes/class-mla-media-modal.php:1223
1413
  msgid "Any term"
1414
  msgstr ""
1415
 
2581
 
2582
  #. translators: 1: option name 2: action, e.g., update, delete, reset
2583
  #: includes/class-mla-options.php:1596 includes/class-mla-options.php:1760
2584
+ #: includes/class-mla-options.php:1836 includes/class-mla-options.php:3547
2585
+ #: includes/class-mla-options.php:4807
2586
  #, php-format
2587
  msgid "ERROR: Custom %1$s unknown action \"%2$s\""
2588
  msgstr ""
2643
 
2644
  #. translators: 1: option name, e.g., taxonomy_support
2645
  #: includes/class-mla-options.php:1757 includes/class-mla-options.php:1833
2646
+ #: includes/class-mla-options.php:4800
2647
  #, php-format
2648
  msgid "Reset custom %1$s"
2649
  msgstr ""
2675
  msgid "Terms"
2676
  msgstr ""
2677
 
2678
+ #: includes/class-mla-options.php:2910 includes/class-mla-options.php:3030
2679
+ #: includes/class-mla-options.php:3988 includes/class-mla-options.php:4019
2680
  #: includes/class-mla-settings.php:1798
2681
  msgid "None (select a value)"
2682
  msgstr ""
2683
 
2684
+ #: includes/class-mla-options.php:3037
2685
  msgid "Metadata (see below)"
2686
  msgstr ""
2687
 
2688
+ #: includes/class-mla-options.php:3044
2689
  msgid "Template (see below)"
2690
  msgstr ""
2691
 
2692
  #. translators: 1: custom field name
2693
+ #: includes/class-mla-options.php:3109 includes/class-mla-options.php:4291
2694
  #, php-format
2695
  msgid "ERROR: New field %1$s already exists."
2696
  msgstr ""
2697
 
2698
  #. translators: 1: custom field name
2699
+ #: includes/class-mla-options.php:3114 includes/class-mla-options.php:4296
2700
  #, php-format
2701
  msgid "Adding new field %1$s."
2702
  msgstr ""
2703
 
2704
  #. translators: 1: custom field name
2705
+ #: includes/class-mla-options.php:3124 includes/class-mla-options.php:4306
2706
  #, php-format
2707
  msgid "Adding new rule for %1$s."
2708
  msgstr ""
2709
 
2710
  #. translators: 1: custom field name
2711
+ #: includes/class-mla-options.php:3155 includes/class-mla-options.php:4168
2712
+ #: includes/class-mla-options.php:4327
2713
  #, php-format
2714
  msgid "Deleting rule for %1$s."
2715
  msgstr ""
2716
 
2717
  #. translators: 1: custom field name 2: attribute 3: old value 4: new value
2718
+ #: includes/class-mla-options.php:3178 includes/class-mla-options.php:3199
2719
+ #: includes/class-mla-options.php:3249 includes/class-mla-options.php:3256
2720
+ #: includes/class-mla-options.php:4085 includes/class-mla-options.php:4092
2721
+ #: includes/class-mla-options.php:4099 includes/class-mla-options.php:4193
2722
+ #: includes/class-mla-options.php:4200 includes/class-mla-options.php:4235
2723
+ #: includes/class-mla-options.php:4242 includes/class-mla-options.php:4337
2724
+ #: includes/class-mla-options.php:4344
2725
  #, php-format
2726
  msgid "%1$s changing %2$s from %3$s to %4$s."
2727
  msgstr ""
2728
 
2729
+ #: includes/class-mla-options.php:3178 includes/class-mla-options.php:3504
2730
  msgid "Data Source"
2731
  msgstr ""
2732
 
2733
+ #: includes/class-mla-options.php:3184 includes/class-mla-options.php:4119
2734
+ #: includes/class-mla-options.php:4220 includes/class-mla-options.php:4364
2735
  msgid "Replace to Keep"
2736
  msgstr ""
2737
 
2738
+ #: includes/class-mla-options.php:3187 includes/class-mla-options.php:4122
2739
+ #: includes/class-mla-options.php:4223 includes/class-mla-options.php:4367
2740
  msgid "Keep to Replace"
2741
  msgstr ""
2742
 
2743
  #. translators: 1: custom field name 2: attribute 3: old value 'to' new value
2744
+ #: includes/class-mla-options.php:3192 includes/class-mla-options.php:3213
2745
+ #: includes/class-mla-options.php:3227 includes/class-mla-options.php:3241
2746
+ #: includes/class-mla-options.php:3270 includes/class-mla-options.php:4113
2747
+ #: includes/class-mla-options.php:4127 includes/class-mla-options.php:4214
2748
+ #: includes/class-mla-options.php:4228 includes/class-mla-options.php:4358
2749
+ #: includes/class-mla-options.php:4372
2750
  #, php-format
2751
  msgid "%1$s changing %2$s value from %3$s."
2752
  msgstr ""
2753
 
2754
+ #: includes/class-mla-options.php:3192 includes/class-mla-options.php:3505
2755
+ #: includes/class-mla-options.php:4127 includes/class-mla-options.php:4228
2756
+ #: includes/class-mla-options.php:4372 includes/class-mla-options.php:4494
2757
+ #: includes/class-mla-options.php:4580 includes/class-mla-options.php:4698
2758
  msgid "Existing Text"
2759
  msgstr ""
2760
 
2761
+ #: includes/class-mla-options.php:3199 includes/class-mla-options.php:3506
2762
  msgid "Format"
2763
  msgstr ""
2764
 
2765
+ #: includes/class-mla-options.php:3205 includes/class-mla-options.php:3219
2766
+ #: includes/class-mla-options.php:3233 includes/class-mla-options.php:3262
2767
  msgid "unchecked to checked"
2768
  msgstr ""
2769
 
2770
+ #: includes/class-mla-options.php:3208 includes/class-mla-options.php:3222
2771
+ #: includes/class-mla-options.php:3236 includes/class-mla-options.php:3265
2772
  msgid "checked to unchecked"
2773
  msgstr ""
2774
 
2775
+ #: includes/class-mla-options.php:3213 includes/class-mla-options.php:3507
2776
  msgid "MLA Column"
2777
  msgstr ""
2778
 
2779
+ #: includes/class-mla-options.php:3249
2780
  msgid "Metavalue name"
2781
  msgstr ""
2782
 
2783
+ #: includes/class-mla-options.php:3256 includes/class-mla-options.php:3339
2784
+ #: includes/class-mla-options.php:3440 includes/class-mla-options.php:3484
2785
  msgid "Option"
2786
  msgstr ""
2787
 
2788
+ #: includes/class-mla-options.php:3270
2789
  msgid "Delete NULL"
2790
  msgstr ""
2791
 
2792
+ #: includes/class-mla-options.php:3309 includes/class-mla-options.php:4592
2793
  msgid "No Custom Field Mapping Rules Defined"
2794
  msgstr ""
2795
 
2796
+ #: includes/class-mla-options.php:3323 includes/class-mla-options.php:3425
2797
+ #: includes/class-mla-options.php:3469 includes/class-mla-options.php:4469
2798
+ #: includes/class-mla-options.php:4519 includes/class-mla-options.php:4616
2799
+ #: includes/class-mla-options.php:4660 includes/class-mla-options.php:4685
2800
  msgid "Keep"
2801
  msgstr ""
2802
 
2803
+ #: includes/class-mla-options.php:3327 includes/class-mla-options.php:3429
2804
+ #: includes/class-mla-options.php:3473
2805
  msgid "Native"
2806
  msgstr ""
2807
 
2808
+ #: includes/class-mla-options.php:3329 includes/class-mla-options.php:3431
2809
+ #: includes/class-mla-options.php:3475
2810
  msgid "Commas"
2811
  msgstr ""
2812
 
2813
+ #: includes/class-mla-options.php:3331 includes/class-mla-options.php:3433
2814
+ #: includes/class-mla-options.php:3477
2815
  msgid "Raw"
2816
  msgstr ""
2817
 
2818
+ #: includes/class-mla-options.php:3341 includes/class-mla-options.php:3442
2819
+ #: includes/class-mla-options.php:3486
2820
  msgid "Text"
2821
  msgstr ""
2822
 
2823
+ #: includes/class-mla-options.php:3343 includes/class-mla-options.php:3444
2824
+ #: includes/class-mla-options.php:3488
2825
  msgid "Single"
2826
  msgstr ""
2827
 
2828
+ #: includes/class-mla-options.php:3345 includes/class-mla-options.php:3446
2829
+ #: includes/class-mla-options.php:3490
2830
  msgid "Export"
2831
  msgstr ""
2832
 
2833
+ #: includes/class-mla-options.php:3347 includes/class-mla-options.php:3448
2834
+ #: includes/class-mla-options.php:3492
2835
  msgid "Array"
2836
  msgstr ""
2837
 
2838
+ #: includes/class-mla-options.php:3349 includes/class-mla-options.php:3450
2839
+ #: includes/class-mla-options.php:3494
2840
  msgid "Multi"
2841
  msgstr ""
2842
 
2843
+ #: includes/class-mla-options.php:3351 includes/class-mla-options.php:3452
2844
+ #: includes/class-mla-options.php:3496
2845
  msgid "Delete NULL values"
2846
  msgstr ""
2847
 
2848
+ #: includes/class-mla-options.php:3352 includes/class-mla-options.php:4619
2849
  msgid "Delete Rule"
2850
  msgstr ""
2851
 
2852
+ #: includes/class-mla-options.php:3353 includes/class-mla-options.php:4620
2853
  msgid "Delete Rule AND Field"
2854
  msgstr ""
2855
 
2856
+ #: includes/class-mla-options.php:3354 includes/class-mla-options.php:4621
2857
  msgid "Update Rule"
2858
  msgstr ""
2859
 
2860
+ #: includes/class-mla-options.php:3355 includes/class-mla-options.php:4622
2861
  #: includes/class-mla-settings.php:704 includes/class-mla-settings.php:833
2862
  msgid "Map All Attachments"
2863
  msgstr ""
2864
 
2865
+ #: includes/class-mla-options.php:3420 includes/class-mla-options.php:4649
2866
  msgid "Add a new Mapping Rule"
2867
  msgstr ""
2868
 
2869
+ #: includes/class-mla-options.php:3453 includes/class-mla-options.php:4663
2870
  msgid "Add Rule"
2871
  msgstr ""
2872
 
2873
+ #: includes/class-mla-options.php:3454 includes/class-mla-options.php:4664
2874
  msgid "Add Rule and Map All Attachments"
2875
  msgstr ""
2876
 
2877
+ #: includes/class-mla-options.php:3464 includes/class-mla-options.php:4674
2878
  msgid "Add a new Field and Mapping Rule"
2879
  msgstr ""
2880
 
2881
+ #: includes/class-mla-options.php:3497 includes/class-mla-options.php:4688
2882
  msgid "Add Field"
2883
  msgstr ""
2884
 
2885
+ #: includes/class-mla-options.php:3498 includes/class-mla-options.php:4689
2886
  msgid "Add Field and Map All Attachments"
2887
  msgstr ""
2888
 
2889
+ #: includes/class-mla-options.php:3503 includes/class-mla-options.php:4085
2890
+ #: includes/class-mla-options.php:4490 includes/class-mla-options.php:4576
2891
+ #: includes/class-mla-options.php:4694
2892
  msgid "Field Title"
2893
  msgstr ""
2894
 
2895
+ #: includes/class-mla-options.php:3528
2896
  msgid "Custom field mapping rules updated."
2897
  msgstr ""
2898
 
2899
+ #: includes/class-mla-options.php:3530
2900
  msgid "ERROR: Custom field mapping rules update failed."
2901
  msgstr ""
2902
 
2903
+ #: includes/class-mla-options.php:3533 includes/class-mla-settings.php:747
2904
  #: includes/class-mla-settings.php:753
2905
  msgid "Custom field no mapping rule changes detected."
2906
  msgstr ""
2907
 
2908
+ #: includes/class-mla-options.php:3541
2909
  msgid "Custom field mapping settings saved."
2910
  msgstr ""
2911
 
2912
+ #: includes/class-mla-options.php:3543
2913
  msgid "ERROR: Custom field mapping settings reset failed."
2914
  msgstr ""
2915
 
2916
  #. translators: 1: custom field name
2917
+ #: includes/class-mla-options.php:4073
2918
  #, php-format
2919
  msgid "ERROR: No old values for %1$s."
2920
  msgstr ""
2921
 
2922
+ #: includes/class-mla-options.php:4092 includes/class-mla-options.php:4193
2923
+ #: includes/class-mla-options.php:4337 includes/class-mla-options.php:4491
2924
+ #: includes/class-mla-options.php:4577 includes/class-mla-options.php:4695
2925
  msgid "IPTC Value"
2926
  msgstr ""
2927
 
2928
+ #: includes/class-mla-options.php:4099 includes/class-mla-options.php:4200
2929
+ #: includes/class-mla-options.php:4344
2930
  msgid "EXIF Value"
2931
  msgstr ""
2932
 
2933
+ #: includes/class-mla-options.php:4105 includes/class-mla-options.php:4206
2934
+ #: includes/class-mla-options.php:4350
2935
  msgid "EXIF to IPTC"
2936
  msgstr ""
2937
 
2938
+ #: includes/class-mla-options.php:4108 includes/class-mla-options.php:4209
2939
+ #: includes/class-mla-options.php:4353
2940
  msgid "IPTC to EXIF"
2941
  msgstr ""
2942
 
2943
+ #: includes/class-mla-options.php:4113 includes/class-mla-options.php:4214
2944
+ #: includes/class-mla-options.php:4358 includes/class-mla-options.php:4493
2945
+ #: includes/class-mla-options.php:4579 includes/class-mla-options.php:4697
2946
  msgid "Priority"
2947
  msgstr ""
2948
 
2949
+ #: includes/class-mla-options.php:4235 includes/class-mla-options.php:4581
2950
  msgid "Delimiter(s)"
2951
  msgstr ""
2952
 
2953
+ #: includes/class-mla-options.php:4465 includes/class-mla-options.php:4515
2954
+ #: includes/class-mla-options.php:4612 includes/class-mla-options.php:4656
2955
+ #: includes/class-mla-options.php:4681
2956
  msgid "IPTC"
2957
  msgstr ""
2958
 
2959
+ #: includes/class-mla-options.php:4467 includes/class-mla-options.php:4517
2960
+ #: includes/class-mla-options.php:4614 includes/class-mla-options.php:4658
2961
+ #: includes/class-mla-options.php:4683
2962
  msgid "EXIF"
2963
  msgstr ""
2964
 
2965
+ #: includes/class-mla-options.php:4492 includes/class-mla-options.php:4578
2966
+ #: includes/class-mla-options.php:4696
2967
  msgid "EXIF/Template Value"
2968
  msgstr ""
2969
 
2970
  #. translators: 1: option name
2971
+ #: includes/class-mla-options.php:4706
2972
  #, php-format
2973
  msgid "ERROR: Render unknown custom %1$s."
2974
  msgstr ""
2975
 
2976
  #. translators: 1: option name
2977
+ #: includes/class-mla-options.php:4750
2978
  #, php-format
2979
  msgid "ERROR: Update/delete unknown custom %1$s."
2980
  msgstr ""
2981
 
2982
+ #: includes/class-mla-options.php:4756
2983
  msgid "IPTC/EXIF mapping settings updated."
2984
  msgstr ""
2985
 
2986
+ #: includes/class-mla-options.php:4758
2987
  msgid "ERROR: IPTC/EXIF settings update failed."
2988
  msgstr ""
2989
 
2990
+ #: includes/class-mla-options.php:4761 includes/class-mla-settings.php:879
2991
  #: includes/class-mla-settings.php:885
2992
  msgid "IPTC/EXIF no mapping changes detected."
2993
  msgstr ""
2994
 
2995
  #. translators: 1: field type
2996
+ #: includes/class-mla-options.php:4772 includes/class-mla-options.php:4782
2997
+ #: includes/class-mla-options.php:4792 includes/class-mla-settings.php:3187
2998
  #, php-format
2999
  msgid "%1$s settings saved."
3000
  msgstr ""
3001
 
3002
+ #: includes/class-mla-options.php:4772 includes/class-mla-options.php:4775
3003
  #: includes/class-mla-settings.php:3431 includes/class-mla-settings.php:3470
3004
  #: includes/class-mla-settings.php:3473
3005
  msgid "Standard field"
3006
  msgstr ""
3007
 
3008
  #. translators: 1: field type
3009
+ #: includes/class-mla-options.php:4775 includes/class-mla-options.php:4785
3010
+ #: includes/class-mla-options.php:4795
3011
  #, php-format
3012
  msgid "ERROR: IPTC/EXIF %1$s settings update failed."
3013
  msgstr ""
3014
 
3015
+ #: includes/class-mla-options.php:4782 includes/class-mla-options.php:4785
3016
  #: includes/class-mla-settings.php:3502 includes/class-mla-settings.php:3541
3017
  #: includes/class-mla-settings.php:3544
3018
  msgid "Taxonomy term"
3019
  msgstr ""
3020
 
3021
+ #: includes/class-mla-options.php:4792 includes/class-mla-options.php:4795
3022
  #: includes/class-mla-settings.php:3332 includes/class-mla-settings.php:3335
3023
  #: includes/class-mla-settings.php:3587 includes/class-mla-settings.php:3626
3024
  #: includes/class-mla-settings.php:3629
3026
  msgstr ""
3027
 
3028
  #. translators: 1: option name, e.g., taxonomy_support
3029
+ #: includes/class-mla-options.php:4803
3030
  #, php-format
3031
  msgid "ERROR: Reset unknown custom %1$s"
3032
  msgstr ""
4008
  msgstr ""
4009
 
4010
  #: includes/class-mla-shortcodes.php:190
4011
+ #: includes/class-mla-shortcodes.php:1145
4012
+ #: includes/class-mla-shortcodes.php:2053
4013
+ #: includes/class-mla-shortcodes.php:2330
4014
  msgid "Previous"
4015
  msgstr ""
4016
 
4017
  #: includes/class-mla-shortcodes.php:191
4018
+ #: includes/class-mla-shortcodes.php:1146
4019
+ #: includes/class-mla-shortcodes.php:2100
4020
+ #: includes/class-mla-shortcodes.php:2336
4021
  msgid "Next"
4022
  msgstr ""
4023
 
4024
+ #: includes/class-mla-shortcodes.php:298
4025
  msgid "mla_debug empty gallery"
4026
  msgstr ""
4027
 
4028
+ #: includes/class-mla-shortcodes.php:362
4029
  msgid ""
4030
  "<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
4031
  "<strong>default</strong>, query = "
4032
  msgstr ""
4033
 
4034
+ #: includes/class-mla-shortcodes.php:674
4035
  msgid "unattached"
4036
  msgstr ""
4037
 
4038
+ #: includes/class-mla-shortcodes.php:695
4039
  msgid "unknown"
4040
  msgstr ""
4041
 
4042
+ #: includes/class-mla-shortcodes.php:1278
4043
  msgid "mla_debug attributes"
4044
  msgstr ""
4045
 
4046
+ #: includes/class-mla-shortcodes.php:1279
4047
  msgid "mla_debug arguments"
4048
  msgstr ""
4049
 
4050
+ #: includes/class-mla-shortcodes.php:1371
4051
  msgid "mla_debug empty cloud"
4052
  msgstr ""
4053
 
4054
+ #: includes/class-mla-shortcodes.php:2711
4055
+ #: includes/class-mla-shortcodes.php:3039
4056
+ #: includes/class-mla-shortcodes.php:3070
4057
  msgid "ERROR: Invalid mla_gallery"
4058
  msgstr ""
4059
 
4060
+ #: includes/class-mla-shortcodes.php:3311
4061
  msgid "mla_debug query"
4062
  msgstr ""
4063
 
4064
+ #: includes/class-mla-shortcodes.php:3312
4065
  msgid "mla_debug request"
4066
  msgstr ""
4067
 
4068
+ #: includes/class-mla-shortcodes.php:3313
4069
  msgid "mla_debug query_vars"
4070
  msgstr ""
4071
 
4072
+ #: includes/class-mla-shortcodes.php:3314
4073
  msgid "mla_debug post_count"
4074
  msgstr ""
4075
 
4076
+ #: includes/class-mla-shortcodes.php:3382
4077
  msgid "mla_debug WHERE filter"
4078
  msgstr ""
4079
 
4080
+ #: includes/class-mla-shortcodes.php:3401
4081
  msgid "mla_debug modified WHERE filter"
4082
  msgstr ""
4083
 
4084
+ #: includes/class-mla-shortcodes.php:3424
4085
  msgid "mla_debug ORDER BY filter, incoming"
4086
  msgstr ""
4087
 
4088
+ #: includes/class-mla-shortcodes.php:3424
4089
  msgid "Replacement ORDER BY clause"
4090
  msgstr ""
4091
 
4092
+ #: includes/class-mla-shortcodes.php:3447
4093
  msgid "mla_debug posts_clauses filter"
4094
  msgstr ""
4095
 
4096
+ #: includes/class-mla-shortcodes.php:3465
4097
  msgid "mla_debug posts_clauses_request filter"
4098
  msgstr ""
4099
 
4100
+ #: includes/class-mla-shortcodes.php:3655
4101
  msgid "Invalid taxonomy"
4102
  msgstr ""
4103
 
4104
+ #: includes/class-mla-shortcodes.php:3861
4105
  msgid "mla_debug query arguments"
4106
  msgstr ""
4107
 
4108
+ #: includes/class-mla-shortcodes.php:3862
4109
  msgid "mla_debug last_query"
4110
  msgstr ""
4111
 
4112
+ #: includes/class-mla-shortcodes.php:3863
4113
  msgid "mla_debug last_error"
4114
  msgstr ""
4115
 
4116
+ #: includes/class-mla-shortcodes.php:3864
4117
  msgid "mla_debug num_rows"
4118
  msgstr ""
4119
 
4120
+ #: includes/class-mla-shortcodes.php:3865
4121
  msgid "mla_debug found_rows"
4122
  msgstr ""
4123
 
phpDocs/classes/MLA.html CHANGED
@@ -866,7 +866,7 @@ change the meta data for a single attachment.</h2>
866
  <div class="row"><footer class="span12">
867
  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>
868
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
869
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
870
  </div>
871
  </body>
872
  </html>
866
  <div class="row"><footer class="span12">
867
  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>
868
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
869
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
870
  </div>
871
  </body>
872
  </html>
phpDocs/classes/MLAData.html CHANGED
@@ -123,7 +123,7 @@ and meta data for a single attachment</span><pre>mla_update_single_item()</pre><
123
  <li class="method private "><a href="#_prepare_list_table_query" title="_prepare_list_table_query :: Sanitize and expand query arguments from request variables"><span class="description">Sanitize and expand query arguments from request variables</span><pre>_prepare_list_table_query()</pre></a></li>
124
  <li class="method private "><a href="#_process_field_level_array" title="_process_field_level_array :: Process an markup field array value according to the supplied data-format option"><span class="description">Process an markup field array value according to the supplied data-format option</span><pre>_process_field_level_array()</pre></a></li>
125
  <li class="method private "><a href="#_rational_to_decimal" title="_rational_to_decimal :: Convert an EXIF GPS rational value to a PHP float value"><span class="description">Convert an EXIF GPS rational value to a PHP float value</span><pre>_rational_to_decimal()</pre></a></li>
126
- <li class="method private "><a href="#_remove_tags" title="_remove_tags :: Remove tags from a term ids list"><span class="description">Remove tags from a term ids list</span><pre>_remove_tags()</pre></a></li>
127
  <li class="method private "><a href="#_search_mla_galleries" title="_search_mla_galleries :: Search the $mla_galleries or $galleries array"><span class="description">Search the $mla_galleries or $galleries array</span><pre>_search_mla_galleries()</pre></a></li>
128
  <li class="method private "><a href="#_set_array_element" title="_set_array_element :: Adds or replaces the value of a key in a possibly nested array structure"><span class="description">Adds or replaces the value of a key in a possibly nested array structure</span><pre>_set_array_element()</pre></a></li>
129
  <li class="method private "><a href="#_unset_array_element" title="_unset_array_element :: Deletes the value of a key in a possibly nested array structure"><span class="description">Deletes the value of a key in a possibly nested array structure</span><pre>_unset_array_element()</pre></a></li>
@@ -419,7 +419,7 @@ are stripped out or converted to an 'mla</em>' equivalent.</p></p>
419
  </div>
420
  <a name="mla_fetch_attachment_references" id="mla_fetch_attachment_references"></a><div class="element clickable method public mla_fetch_attachment_references" data-toggle="collapse" data-target=".mla_fetch_attachment_references .collapse">
421
  <h2>Find Featured Image and inserted image/link references to an attachment</h2>
422
- <pre>mla_fetch_attachment_references(int $ID, int $parent) : array</pre>
423
  <div class="labels"></div>
424
  <div class="row collapse"><div class="detail-description">
425
  <p class="long_description"><p>Searches all post and page content to see if the attachment is used
@@ -436,6 +436,9 @@ as a Featured Image or inserted in the post as an image or link.</p></p>
436
  <h4>$parent</h4>
437
  <code>int</code><p>post ID of attachment's parent, if any</p>
438
  </div>
 
 
 
439
  <h3>Returns</h3>
440
  <div class="subelement response">
441
  <code>array</code>Reference information; see $references array comments</div>
@@ -491,7 +494,7 @@ Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>
491
  </div>
492
  <a name="mla_get_attachment_by_id" id="mla_get_attachment_by_id"></a><div class="element clickable method public mla_get_attachment_by_id" data-toggle="collapse" data-target=".mla_get_attachment_by_id .collapse">
493
  <h2>Retrieve an Attachment array given a $post_id</h2>
494
- <pre>mla_get_attachment_by_id(int $post_id) : NULL | array</pre>
495
  <div class="labels"></div>
496
  <div class="row collapse"><div class="detail-description">
497
  <p class="long_description"><p>The (associative) array will contain every field that can be found in
@@ -509,7 +512,10 @@ the posts and postmeta tables, and all references to the attachment.</p></p>
509
  <h3>Parameters</h3>
510
  <div class="subelement argument">
511
  <h4>$post_id</h4>
512
- <code>int</code><p>The ID of the attachment post</p></div>
 
 
 
513
  <h3>Returns</h3>
514
  <div class="subelement response">
515
  <code>NULL</code><code>array</code>NULL on failure else associative array</div>
@@ -1578,9 +1584,9 @@ Modeled after wp_edit_attachments_query in wp-admin/post.php</p></p>
1578
  <code>float</code>numerator/denominator</div>
1579
  </div></div>
1580
  </div>
1581
- <a name="_remove_tags" id="_remove_tags"></a><div class="element clickable method private _remove_tags" data-toggle="collapse" data-target="._remove_tags .collapse">
1582
- <h2>Remove tags from a term ids list</h2>
1583
- <pre>_remove_tags(array $terms_before, array $tags, object $taxonomy_obj) : array</pre>
1584
  <div class="labels"></div>
1585
  <div class="row collapse"><div class="detail-description">
1586
  <p class="long_description"></p>
@@ -1590,18 +1596,18 @@ Modeled after wp_edit_attachments_query in wp-admin/post.php</p></p>
1590
  </tr></table>
1591
  <h3>Parameters</h3>
1592
  <div class="subelement argument">
1593
- <h4>$terms_before</h4>
1594
- <code>array</code><p>The term ids currently assigned</p></div>
1595
  <div class="subelement argument">
1596
- <h4>$tags</h4>
1597
- <code>array</code><p>| string The term ids (array) or names (string) to remove</p>
1598
  </div>
1599
  <div class="subelement argument">
1600
  <h4>$taxonomy_obj</h4>
1601
  <code>object</code><p>The taxonomy object</p></div>
1602
  <h3>Returns</h3>
1603
  <div class="subelement response">
1604
- <code>array</code>Term ids of the surviving tags</div>
1605
  </div></div>
1606
  </div>
1607
  <a name="_search_mla_galleries" id="_search_mla_galleries"></a><div class="element clickable method private _search_mla_galleries" data-toggle="collapse" data-target="._search_mla_galleries .collapse">
@@ -1730,6 +1736,7 @@ each page load and cached for subsequent calls.</p>
1730
  <p>The outer array is keyed by post_id. It contains an associative array with:
1731
  ['parent_title'] post_title of the gallery parent,
1732
  ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
 
1733
  ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
1734
  ['galleries'] array of [gallery] entries numbered from one (1), containing:
1735
  galleries[X]['query'] contains a string with the arguments of the [gallery],
@@ -1908,7 +1915,7 @@ ALT Text and custom field columns.</p></p>
1908
  <div class="row"><footer class="span12">
1909
  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>
1910
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1911
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
1912
  </div>
1913
  </body>
1914
  </html>
123
  <li class="method private "><a href="#_prepare_list_table_query" title="_prepare_list_table_query :: Sanitize and expand query arguments from request variables"><span class="description">Sanitize and expand query arguments from request variables</span><pre>_prepare_list_table_query()</pre></a></li>
124
  <li class="method private "><a href="#_process_field_level_array" title="_process_field_level_array :: Process an markup field array value according to the supplied data-format option"><span class="description">Process an markup field array value according to the supplied data-format option</span><pre>_process_field_level_array()</pre></a></li>
125
  <li class="method private "><a href="#_rational_to_decimal" title="_rational_to_decimal :: Convert an EXIF GPS rational value to a PHP float value"><span class="description">Convert an EXIF GPS rational value to a PHP float value</span><pre>_rational_to_decimal()</pre></a></li>
126
+ <li class="method private "><a href="#_remove_terms" title="_remove_terms :: Remove terms from an attachment's assignments"><span class="description">Remove terms from an attachment's assignments</span><pre>_remove_terms()</pre></a></li>
127
  <li class="method private "><a href="#_search_mla_galleries" title="_search_mla_galleries :: Search the $mla_galleries or $galleries array"><span class="description">Search the $mla_galleries or $galleries array</span><pre>_search_mla_galleries()</pre></a></li>
128
  <li class="method private "><a href="#_set_array_element" title="_set_array_element :: Adds or replaces the value of a key in a possibly nested array structure"><span class="description">Adds or replaces the value of a key in a possibly nested array structure</span><pre>_set_array_element()</pre></a></li>
129
  <li class="method private "><a href="#_unset_array_element" title="_unset_array_element :: Deletes the value of a key in a possibly nested array structure"><span class="description">Deletes the value of a key in a possibly nested array structure</span><pre>_unset_array_element()</pre></a></li>
419
  </div>
420
  <a name="mla_fetch_attachment_references" id="mla_fetch_attachment_references"></a><div class="element clickable method public mla_fetch_attachment_references" data-toggle="collapse" data-target=".mla_fetch_attachment_references .collapse">
421
  <h2>Find Featured Image and inserted image/link references to an attachment</h2>
422
+ <pre>mla_fetch_attachment_references(int $ID, int $parent, boolean $add_references) : array</pre>
423
  <div class="labels"></div>
424
  <div class="row collapse"><div class="detail-description">
425
  <p class="long_description"><p>Searches all post and page content to see if the attachment is used
436
  <h4>$parent</h4>
437
  <code>int</code><p>post ID of attachment's parent, if any</p>
438
  </div>
439
+ <div class="subelement argument">
440
+ <h4>$add_references</h4>
441
+ <code>boolean</code><p>True to compute references, false to return empty values</p></div>
442
  <h3>Returns</h3>
443
  <div class="subelement response">
444
  <code>array</code>Reference information; see $references array comments</div>
494
  </div>
495
  <a name="mla_get_attachment_by_id" id="mla_get_attachment_by_id"></a><div class="element clickable method public mla_get_attachment_by_id" data-toggle="collapse" data-target=".mla_get_attachment_by_id .collapse">
496
  <h2>Retrieve an Attachment array given a $post_id</h2>
497
+ <pre>mla_get_attachment_by_id(integer $post_id, boolean $add_references) : NULL | array</pre>
498
  <div class="labels"></div>
499
  <div class="row collapse"><div class="detail-description">
500
  <p class="long_description"><p>The (associative) array will contain every field that can be found in
512
  <h3>Parameters</h3>
513
  <div class="subelement argument">
514
  <h4>$post_id</h4>
515
+ <code>integer</code><p>The ID of the attachment post</p></div>
516
+ <div class="subelement argument">
517
+ <h4>$add_references</h4>
518
+ <code>boolean</code><p>True to add references, false to skip references</p></div>
519
  <h3>Returns</h3>
520
  <div class="subelement response">
521
  <code>NULL</code><code>array</code>NULL on failure else associative array</div>
1584
  <code>float</code>numerator/denominator</div>
1585
  </div></div>
1586
  </div>
1587
+ <a name="_remove_terms" id="_remove_terms"></a><div class="element clickable method private _remove_terms" data-toggle="collapse" data-target="._remove_terms .collapse">
1588
+ <h2>Remove terms from an attachment's assignments</h2>
1589
+ <pre>_remove_terms(integer $post_id, array $terms, object $taxonomy_obj) : array</pre>
1590
  <div class="labels"></div>
1591
  <div class="row collapse"><div class="detail-description">
1592
  <p class="long_description"></p>
1596
  </tr></table>
1597
  <h3>Parameters</h3>
1598
  <div class="subelement argument">
1599
+ <h4>$post_id</h4>
1600
+ <code>integer</code><p>The ID of the attachment to be updated</p></div>
1601
  <div class="subelement argument">
1602
+ <h4>$terms</h4>
1603
+ <code>array</code><p>The term ids (integer array) or names (string array) to remove</p>
1604
  </div>
1605
  <div class="subelement argument">
1606
  <h4>$taxonomy_obj</h4>
1607
  <code>object</code><p>The taxonomy object</p></div>
1608
  <h3>Returns</h3>
1609
  <div class="subelement response">
1610
+ <code>array</code>Term ids/names of the surviving terms</div>
1611
  </div></div>
1612
  </div>
1613
  <a name="_search_mla_galleries" id="_search_mla_galleries"></a><div class="element clickable method private _search_mla_galleries" data-toggle="collapse" data-target="._search_mla_galleries .collapse">
1736
  <p>The outer array is keyed by post_id. It contains an associative array with:
1737
  ['parent_title'] post_title of the gallery parent,
1738
  ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
1739
+ ['parent_status'] 'publish', 'private', 'future', 'pending', 'draft'
1740
  ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
1741
  ['galleries'] array of [gallery] entries numbered from one (1), containing:
1742
  galleries[X]['query'] contains a string with the arguments of the [gallery],
1915
  <div class="row"><footer class="span12">
1916
  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>
1917
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1918
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
1919
  </div>
1920
  </body>
1921
  </html>
phpDocs/classes/MLAEdit.html CHANGED
@@ -450,7 +450,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
450
  <div class="row"><footer class="span12">
451
  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>
452
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
453
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
454
  </div>
455
  </body>
456
  </html>
450
  <div class="row"><footer class="span12">
451
  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>
452
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
453
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
454
  </div>
455
  </body>
456
  </html>
phpDocs/classes/MLAMime.html CHANGED
@@ -1288,7 +1288,7 @@ Defined as public because it's a filter.</p></p>
1288
  <div class="row"><footer class="span12">
1289
  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>
1290
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1291
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
1292
  </div>
1293
  </body>
1294
  </html>
1288
  <div class="row"><footer class="span12">
1289
  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>
1290
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1291
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
1292
  </div>
1293
  </body>
1294
  </html>
phpDocs/classes/MLAModal.html CHANGED
@@ -515,7 +515,7 @@ and mla_print_media_templates_action</h2>
515
  <div class="row"><footer class="span12">
516
  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>
517
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
518
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
519
  </div>
520
  </body>
521
  </html>
515
  <div class="row"><footer class="span12">
516
  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>
517
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
518
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
519
  </div>
520
  </body>
521
  </html>
phpDocs/classes/MLAObjects.html CHANGED
@@ -172,7 +172,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
172
  <div class="row"><footer class="span12">
173
  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>
174
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
175
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
176
  </div>
177
  </body>
178
  </html>
172
  <div class="row"><footer class="span12">
173
  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>
174
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
175
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
176
  </div>
177
  </body>
178
  </html>
phpDocs/classes/MLAOptions.html CHANGED
@@ -96,6 +96,7 @@ settings are being updated or reset.</span><pre>mla_taxonomy_support()</pre></a>
96
  <li class="method private "><a href="#_evaluate_file_information" title="_evaluate_file_information :: Evaluate file information for custom field mapping"><span class="description">Evaluate file information for custom field mapping</span><pre>_evaluate_file_information()</pre></a></li>
97
  <li class="method private "><a href="#_evaluate_post_information" title="_evaluate_post_information :: Evaluate post information for custom field mapping"><span class="description">Evaluate post information for custom field mapping</span><pre>_evaluate_post_information()</pre></a></li>
98
  <li class="method private "><a href="#_get_custom_field_names" title="_get_custom_field_names :: Generate a list of all (post) Custom Field names"><span class="description">Generate a list of all (post) Custom Field names</span><pre>_get_custom_field_names()</pre></a></li>
 
99
  <li class="method private "><a href="#_load_option_templates" title="_load_option_templates :: Load style and markup templates to $mla_templates"><span class="description">Load style and markup templates to $mla_templates</span><pre>_load_option_templates()</pre></a></li>
100
  <li class="method private "><a href="#_update_attachment_metadata" title="_update_attachment_metadata :: Update _wp_attachment_metadata for just-inserted attachment"><span class="description">Update _wp_attachment_metadata for just-inserted attachment</span><pre>_update_attachment_metadata()</pre></a></li>
101
  <li class="method private "><a href="#_update_custom_field_mapping" title="_update_custom_field_mapping :: Update custom field mappings"><span class="description">Update custom field mappings</span><pre>_update_custom_field_mapping()</pre></a></li>
@@ -391,7 +392,7 @@ and provides functions to get and put them from/to WordPress option variables</p
391
  </div>
392
  <a name="mla_evaluate_iptc_exif_mapping" id="mla_evaluate_iptc_exif_mapping"></a><div class="element clickable method public mla_evaluate_iptc_exif_mapping" data-toggle="collapse" data-target=".mla_evaluate_iptc_exif_mapping .collapse">
393
  <h2>Evaluate IPTC/EXIF mapping updates for a post</h2>
394
- <pre>mla_evaluate_iptc_exif_mapping(object $post, string $category, array $settings, array $attachment_metadata) : array</pre>
395
  <div class="labels"></div>
396
  <div class="row collapse"><div class="detail-description">
397
  <p class="long_description"></p>
@@ -414,6 +415,10 @@ and provides functions to get and put them from/to WordPress option variables</p
414
  <h4>$attachment_metadata</h4>
415
  <code>array</code><p>(optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter</p>
416
  </div>
 
 
 
 
417
  <h3>Returns</h3>
418
  <div class="subelement response">
419
  <code>array</code>Updates suitable for MLAData::mla_update_single_item, if any</div>
@@ -1087,6 +1092,36 @@ haven't been mapped to any attachments, yet.</p></p>
1087
  <code>array</code>Custom field names from the postmeta table and MLA rules</div>
1088
  </div></div>
1089
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  <a name="_load_option_templates" id="_load_option_templates"></a><div class="element clickable method private _load_option_templates" data-toggle="collapse" data-target="._load_option_templates .collapse">
1091
  <h2>Load style and markup templates to $mla_templates</h2>
1092
  <pre>_load_option_templates() : void</pre>
@@ -1603,7 +1638,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
1603
  <div class="row"><footer class="span12">
1604
  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>
1605
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1606
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
1607
  </div>
1608
  </body>
1609
  </html>
96
  <li class="method private "><a href="#_evaluate_file_information" title="_evaluate_file_information :: Evaluate file information for custom field mapping"><span class="description">Evaluate file information for custom field mapping</span><pre>_evaluate_file_information()</pre></a></li>
97
  <li class="method private "><a href="#_evaluate_post_information" title="_evaluate_post_information :: Evaluate post information for custom field mapping"><span class="description">Evaluate post information for custom field mapping</span><pre>_evaluate_post_information()</pre></a></li>
98
  <li class="method private "><a href="#_get_custom_field_names" title="_get_custom_field_names :: Generate a list of all (post) Custom Field names"><span class="description">Generate a list of all (post) Custom Field names</span><pre>_get_custom_field_names()</pre></a></li>
99
+ <li class="method private "><a href="#_get_term_id" title="_get_term_id :: Build and search a cache of taxonomy and term name to term ID mappings"><span class="description">Build and search a cache of taxonomy and term name to term ID mappings</span><pre>_get_term_id()</pre></a></li>
100
  <li class="method private "><a href="#_load_option_templates" title="_load_option_templates :: Load style and markup templates to $mla_templates"><span class="description">Load style and markup templates to $mla_templates</span><pre>_load_option_templates()</pre></a></li>
101
  <li class="method private "><a href="#_update_attachment_metadata" title="_update_attachment_metadata :: Update _wp_attachment_metadata for just-inserted attachment"><span class="description">Update _wp_attachment_metadata for just-inserted attachment</span><pre>_update_attachment_metadata()</pre></a></li>
102
  <li class="method private "><a href="#_update_custom_field_mapping" title="_update_custom_field_mapping :: Update custom field mappings"><span class="description">Update custom field mappings</span><pre>_update_custom_field_mapping()</pre></a></li>
392
  </div>
393
  <a name="mla_evaluate_iptc_exif_mapping" id="mla_evaluate_iptc_exif_mapping"></a><div class="element clickable method public mla_evaluate_iptc_exif_mapping" data-toggle="collapse" data-target=".mla_evaluate_iptc_exif_mapping .collapse">
394
  <h2>Evaluate IPTC/EXIF mapping updates for a post</h2>
395
+ <pre>mla_evaluate_iptc_exif_mapping(object $post, string $category, array $settings, array $attachment_metadata, boolean $is_upload) : array</pre>
396
  <div class="labels"></div>
397
  <div class="row collapse"><div class="detail-description">
398
  <p class="long_description"></p>
415
  <h4>$attachment_metadata</h4>
416
  <code>array</code><p>(optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter</p>
417
  </div>
418
+ <div class="subelement argument">
419
+ <h4>$is_upload</h4>
420
+ <code>boolean</code><p>(optional) true if uploading a new item else false (default)</p>
421
+ </div>
422
  <h3>Returns</h3>
423
  <div class="subelement response">
424
  <code>array</code>Updates suitable for MLAData::mla_update_single_item, if any</div>
1092
  <code>array</code>Custom field names from the postmeta table and MLA rules</div>
1093
  </div></div>
1094
  </div>
1095
+ <a name="_get_term_id" id="_get_term_id"></a><div class="element clickable method private _get_term_id" data-toggle="collapse" data-target="._get_term_id .collapse">
1096
+ <h2>Build and search a cache of taxonomy and term name to term ID mappings</h2>
1097
+ <pre>_get_term_id(string $term_name, integer $term_parent, string $taxonomy, array $post_terms) : integer</pre>
1098
+ <div class="labels"></div>
1099
+ <div class="row collapse"><div class="detail-description">
1100
+ <p class="long_description"></p>
1101
+ <table class="table table-bordered"><tr>
1102
+ <th>since</th>
1103
+ <td>2.01</td>
1104
+ </tr></table>
1105
+ <h3>Parameters</h3>
1106
+ <div class="subelement argument">
1107
+ <h4>$term_name</h4>
1108
+ <code>string</code><p>term name (not slug)</p>
1109
+ </div>
1110
+ <div class="subelement argument">
1111
+ <h4>$term_parent</h4>
1112
+ <code>integer</code><p>zero or term's parent term_id</p>
1113
+ </div>
1114
+ <div class="subelement argument">
1115
+ <h4>$taxonomy</h4>
1116
+ <code>string</code><p>taxonomy slug</p></div>
1117
+ <div class="subelement argument">
1118
+ <h4>$post_terms</h4>
1119
+ <code>array</code><p>term objects currently assigned to the item</p></div>
1120
+ <h3>Returns</h3>
1121
+ <div class="subelement response">
1122
+ <code>integer</code>term_id for the term name</div>
1123
+ </div></div>
1124
+ </div>
1125
  <a name="_load_option_templates" id="_load_option_templates"></a><div class="element clickable method private _load_option_templates" data-toggle="collapse" data-target="._load_option_templates .collapse">
1126
  <h2>Load style and markup templates to $mla_templates</h2>
1127
  <pre>_load_option_templates() : void</pre>
1638
  <div class="row"><footer class="span12">
1639
  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>
1640
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1641
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
1642
  </div>
1643
  </body>
1644
  </html>
phpDocs/classes/MLASettings.html CHANGED
@@ -1290,7 +1290,7 @@ because Localization calls cannot be placed in the "public static" array definit
1290
  <div class="row"><footer class="span12">
1291
  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>
1292
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1293
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
1294
  </div>
1295
  </body>
1296
  </html>
1290
  <div class="row"><footer class="span12">
1291
  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>
1292
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1293
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
1294
  </div>
1295
  </body>
1296
  </html>
phpDocs/classes/MLAShortcodes.html CHANGED
@@ -687,7 +687,7 @@ any further logic required to translate those values is contained in the filter.
687
  <div class="row"><footer class="span12">
688
  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>
689
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
690
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
691
  </div>
692
  </body>
693
  </html>
687
  <div class="row"><footer class="span12">
688
  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>
689
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
690
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
691
  </div>
692
  </body>
693
  </html>
phpDocs/classes/MLATest.html CHANGED
@@ -165,7 +165,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
165
  <div class="row"><footer class="span12">
166
  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>
167
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
168
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
169
  </div>
170
  </body>
171
  </html>
165
  <div class="row"><footer class="span12">
166
  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>
167
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
168
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
169
  </div>
170
  </body>
171
  </html>
phpDocs/classes/MLATextWidget.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
182
  </div>
183
  </body>
184
  </html>
phpDocs/classes/MLA_Checklist_Walker.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
phpDocs/classes/MLA_List_Table.html CHANGED
@@ -116,6 +116,7 @@ and the value is db column (or other criteria) to sort by.</span><pre>get_sortab
116
  <li class="method protected "><a href="#_build_rollover_actions" title="_build_rollover_actions :: Add rollover actions to exactly one of the following displayed columns:
117
  'ID_parent', 'title_name', 'post_title', 'post_name'"><span class="description">Add rollover actions to exactly one of the following displayed columns:
118
  'ID_parent', 'title_name', 'post_title', 'post_name'</span><pre>_build_rollover_actions()</pre></a></li>
 
119
  <li class="nav-header">
120
  <i class="icon-custom icon-property"></i> Properties</li>
121
  <li class="nav-header protected">» Protected</li>
@@ -1083,6 +1084,25 @@ but uses the output of wp_count_attachments() as input.</p></p>
1083
  <code>array</code>Names and URLs of row-level actions</div>
1084
  </div></div>
1085
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1086
  <h3>
1087
  <i class="icon-custom icon-property"></i> Properties</h3>
1088
  <a name="%24currently_hidden" id="$currently_hidden"> </a><div class="element clickable property protected $currently_hidden" data-toggle="collapse" data-target=".$currently_hidden .collapse">
@@ -1176,7 +1196,7 @@ MLA_List_Table::mla_admin_init_action.</p></p>
1176
  <div class="row"><footer class="span12">
1177
  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>
1178
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1179
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
1180
  </div>
1181
  </body>
1182
  </html>
116
  <li class="method protected "><a href="#_build_rollover_actions" title="_build_rollover_actions :: Add rollover actions to exactly one of the following displayed columns:
117
  'ID_parent', 'title_name', 'post_title', 'post_name'"><span class="description">Add rollover actions to exactly one of the following displayed columns:
118
  'ID_parent', 'title_name', 'post_title', 'post_name'</span><pre>_build_rollover_actions()</pre></a></li>
119
+ <li class="method protected "><a href="#_format_post_status" title="_format_post_status :: Translate post_status 'future', 'pending' and 'draft' to label"><span class="description">Translate post_status 'future', 'pending' and 'draft' to label</span><pre>_format_post_status()</pre></a></li>
120
  <li class="nav-header">
121
  <i class="icon-custom icon-property"></i> Properties</li>
122
  <li class="nav-header protected">» Protected</li>
1084
  <code>array</code>Names and URLs of row-level actions</div>
1085
  </div></div>
1086
  </div>
1087
+ <a name="_format_post_status" id="_format_post_status"></a><div class="element clickable method protected _format_post_status" data-toggle="collapse" data-target="._format_post_status .collapse">
1088
+ <h2>Translate post_status 'future', 'pending' and 'draft' to label</h2>
1089
+ <pre>_format_post_status(string $post_status) : string</pre>
1090
+ <div class="labels"></div>
1091
+ <div class="row collapse"><div class="detail-description">
1092
+ <p class="long_description"></p>
1093
+ <table class="table table-bordered"><tr>
1094
+ <th>since</th>
1095
+ <td>2.01</td>
1096
+ </tr></table>
1097
+ <h3>Parameters</h3>
1098
+ <div class="subelement argument">
1099
+ <h4>$post_status</h4>
1100
+ <code>string</code><p>post_status</p></div>
1101
+ <h3>Returns</h3>
1102
+ <div class="subelement response">
1103
+ <code>string</code>Status label or empty string</div>
1104
+ </div></div>
1105
+ </div>
1106
  <h3>
1107
  <i class="icon-custom icon-property"></i> Properties</h3>
1108
  <a name="%24currently_hidden" id="$currently_hidden"> </a><div class="element clickable property protected $currently_hidden" data-toggle="collapse" data-target=".$currently_hidden .collapse">
1196
  <div class="row"><footer class="span12">
1197
  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>
1198
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1199
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
1200
  </div>
1201
  </body>
1202
  </html>
phpDocs/classes/MLA_Upload_List_Table.html CHANGED
@@ -736,7 +736,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
736
  <div class="row"><footer class="span12">
737
  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>
738
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
739
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
740
  </div>
741
  </body>
742
  </html>
736
  <div class="row"><footer class="span12">
737
  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>
738
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
739
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
740
  </div>
741
  </body>
742
  </html>
phpDocs/classes/MLA_Upload_Optional_List_Table.html CHANGED
@@ -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 2015-01-05T13:15:02-08:00.<br></footer></div>
558
  </div>
559
  </body>
560
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
558
  </div>
559
  </body>
560
  </html>
phpDocs/classes/MLA_View_List_Table.html CHANGED
@@ -633,7 +633,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
633
  <div class="row"><footer class="span12">
634
  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>
635
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
636
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
637
  </div>
638
  </body>
639
  </html>
633
  <div class="row"><footer class="span12">
634
  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>
635
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
636
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
637
  </div>
638
  </body>
639
  </html>
phpDocs/classes/MNA_Pad_Counts_Walker.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
143
  </div>
144
  </body>
145
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
143
  </div>
144
  </body>
145
  </html>
phpDocs/deprecated.html CHANGED
@@ -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 2015-01-05T13:15:02-08:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
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 2015-01-22T20:33:03-08:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
phpDocs/errors.html CHANGED
@@ -107,7 +107,7 @@
107
  <div class="row"><footer class="span12">
108
  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>
109
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
110
- generated on 2015-01-05T13:15:02-08:00.<br></footer></div>
111
  </div>
112
  </body>
113
  </html>
107
  <div class="row"><footer class="span12">
108
  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>
109
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
110
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
111
  </div>
112
  </body>
113
  </html>
phpDocs/graph_class.html CHANGED
@@ -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 2015-01-05T13:15:02-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
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 2015-01-22T20:33:03-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
phpDocs/index.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
phpDocs/markers.html CHANGED
@@ -79,7 +79,7 @@
79
  </tr>
80
  <tr>
81
  <td>todo</td>
82
- <td>3865</td>
83
  <td>encode the rest</td>
84
  </tr>
85
  </table></div>
@@ -89,7 +89,7 @@
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 2015-01-05T13:15:02-08:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
79
  </tr>
80
  <tr>
81
  <td>todo</td>
82
+ <td>3905</td>
83
  <td>encode the rest</td>
84
  </tr>
85
  </table></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 2015-01-22T20:33:02-08:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
phpDocs/namespaces/global.html CHANGED
@@ -432,7 +432,7 @@ searchable database of exension/type associations for the "Uploads" admin settin
432
  <div class="row"><footer class="span12">
433
  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>
434
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
435
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
436
  </div>
437
  </body>
438
  </html>
432
  <div class="row"><footer class="span12">
433
  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>
434
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
435
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
436
  </div>
437
  </body>
438
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
272
  </div>
273
  </body>
274
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
272
  </div>
273
  </body>
274
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
269
  </div>
270
  </body>
271
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
269
  </div>
270
  </body>
271
  </html>
phpDocs/packages/Media Library Assistant.MLA.html CHANGED
@@ -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 2015-01-05T13:15:01-08:00.<br></footer></div>
280
  </div>
281
  </body>
282
  </html>
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 2015-01-22T20:33:02-08:00.<br></footer></div>
280
  </div>
281
  </body>
282
  </html>
phpDocs/packages/Media Library Assistant.html CHANGED
@@ -505,7 +505,7 @@ display an "accordian-style" list.</p></p>
505
  <div class="row"><footer class="span12">
506
  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>
507
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
508
- generated on 2015-01-05T13:15:01-08:00.<br></footer></div>
509
  </div>
510
  </body>
511
  </html>
505
  <div class="row"><footer class="span12">
506
  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>
507
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
508
+ generated on 2015-01-22T20:33:02-08:00.<br></footer></div>
509
  </div>
510
  </body>
511
  </html>
phpDocs/structure.xml CHANGED
@@ -622,7 +622,7 @@ 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-data.php" hash="24af925908edfeae51a47586286e5214" package="Media Library Assistant">
626
  <docblock line="2">
627
  <description><![CDATA[Database and template file access for MLA needs]]></description>
628
  <long-description><![CDATA[]]></long-description>
@@ -663,22 +663,22 @@ ALT Text and custom field columns.</p>]]></long-description>
663
  </tag>
664
  </docblock>
665
  </property>
666
- <property final="false" static="true" visibility="private" line="1144" namespace="global" package="Media Library Assistant">
667
  <name>$mla_list_table_items</name>
668
  <default><![CDATA[NULL]]></default>
669
- <docblock line="1137">
670
  <description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
671
  <long-description><![CDATA[]]></long-description>
672
- <tag line="1137" name="since" description="1.40"/>
673
- <tag line="1137" name="var" description="" type="array">
674
  <type by_reference="false">array</type>
675
  </tag>
676
  </docblock>
677
  </property>
678
- <property final="false" static="true" visibility="private" line="1250" namespace="global" package="Media Library Assistant">
679
  <name>$query_parameters</name>
680
  <default><![CDATA[array()]]></default>
681
- <docblock line="1236">
682
  <description><![CDATA[WP_Query filter "parameters"]]></description>
683
  <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
684
  The parameters are set up in the _prepare_list_table_query function, and
@@ -686,16 +686,16 @@ any further logic required to translate those values is contained in the filters
686
 
687
  <p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns,
688
  detached, orderby, order, mla-metavalue, debug (also in search_parameters)</p>]]></long-description>
689
- <tag line="1236" name="since" description="0.30"/>
690
- <tag line="1236" name="var" description="" type="array">
691
  <type by_reference="false">array</type>
692
  </tag>
693
  </docblock>
694
  </property>
695
- <property final="false" static="true" visibility="public" line="1279" namespace="global" package="Media Library Assistant">
696
  <name>$search_parameters</name>
697
  <default><![CDATA[array()]]></default>
698
- <docblock line="1252">
699
  <description><![CDATA[WP_Query 'posts_search' filter "parameters"]]></description>
700
  <long-description><![CDATA[<p>This array defines parameters for the query's posts_search filter, which uses
701
  'search_string' to add a clause to the query's WHERE clause. It is shared between
@@ -716,16 +716,16 @@ Note: 'alt-text' is not supported in [mla_gallery]
716
  ['debug'] => internal element, console/log/shortcode/none
717
  ['mla_debug_messages'] => internal element, added when debug = 'shortcode'
718
  ['tax_terms_count'] => internal element, shared with JOIN and GROUP BY filters</p>]]></long-description>
719
- <tag line="1252" name="since" description="2.00"/>
720
- <tag line="1252" name="var" description="" type="array">
721
  <type by_reference="false">array</type>
722
  </tag>
723
  </docblock>
724
  </property>
725
- <property final="false" static="true" visibility="private" line="3296" namespace="global" package="Media Library Assistant">
726
  <name>$galleries</name>
727
  <default><![CDATA[null]]></default>
728
- <docblock line="3277">
729
  <description><![CDATA[Objects containing [gallery] shortcodes]]></description>
730
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
731
  and array(s) of which attachments each [gallery] contains. The arrays are built once
@@ -734,130 +734,131 @@ each page load and cached for subsequent calls.</p>
734
  <p>The outer array is keyed by post_id. It contains an associative array with:
735
  ['parent_title'] post_title of the gallery parent,
736
  ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
 
737
  ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
738
  ['galleries'] array of [gallery] entries numbered from one (1), containing:
739
  galleries[X]['query'] contains a string with the arguments of the [gallery],
740
  galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
741
- <tag line="3277" name="since" description="0.70"/>
742
- <tag line="3277" name="var" description="" type="array">
743
  <type by_reference="false">array</type>
744
  </tag>
745
  </docblock>
746
  </property>
747
- <property final="false" static="true" visibility="private" line="3309" namespace="global" package="Media Library Assistant">
748
  <name>$mla_galleries</name>
749
  <default><![CDATA[null]]></default>
750
- <docblock line="3298">
751
  <description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
752
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
753
  and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
754
  each page load and cached for subsequent calls.</p>]]></long-description>
755
- <tag line="3298" name="since" description="0.70"/>
756
- <tag line="3298" name="var" description="" type="array">
757
  <type by_reference="false">array</type>
758
  </tag>
759
  </docblock>
760
  </property>
761
- <property final="false" static="true" visibility="private" line="3505" namespace="global" package="Media Library Assistant">
762
  <name>$pdf_indirect_objects</name>
763
  <default><![CDATA[NULL]]></default>
764
- <docblock line="3494">
765
  <description><![CDATA[Array of PDF indirect objects]]></description>
766
  <long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
767
  The array key is ( object ID * 1000 ) + object generation.
768
  The array value is array( number, generation, start, optional /length )</p>]]></long-description>
769
- <tag line="3494" name="since" description="1.50"/>
770
- <tag line="3494" name="var" description="" type="array">
771
  <type by_reference="false">array</type>
772
  </tag>
773
  </docblock>
774
  </property>
775
- <property final="false" static="true" visibility="private" line="4616" namespace="global" package="Media Library Assistant">
776
  <name>$utf8_chars</name>
777
  <default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
778
- <docblock line="4609">
779
  <description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
780
  <long-description><![CDATA[]]></long-description>
781
- <tag line="4609" name="since" description="1.41"/>
782
- <tag line="4609" name="var" description="" type="array">
783
  <type by_reference="false">array</type>
784
  </tag>
785
  </docblock>
786
  </property>
787
- <property final="false" static="true" visibility="private" line="4676" namespace="global" package="Media Library Assistant">
788
  <name>$mla_iptc_records</name>
789
  <default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
790
- <docblock line="4666">
791
  <description><![CDATA[IPTC Dataset identifiers and names]]></description>
792
  <long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
793
  the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
794
- <tag line="4666" name="since" description="0.90"/>
795
- <tag line="4666" name="var" description="" type="array">
796
  <type by_reference="false">array</type>
797
  </tag>
798
  </docblock>
799
  </property>
800
- <property final="false" static="true" visibility="public" line="4775" namespace="global" package="Media Library Assistant">
801
  <name>$mla_iptc_keys</name>
802
  <default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
803
- <docblock line="4765">
804
  <description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
805
  <long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
806
  the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
807
- <tag line="4765" name="since" description="0.90"/>
808
- <tag line="4765" name="var" description="" type="array">
809
  <type by_reference="false">array</type>
810
  </tag>
811
  </docblock>
812
  </property>
813
- <property final="false" static="true" visibility="private" line="4874" namespace="global" package="Media Library Assistant">
814
  <name>$mla_iptc_descriptions</name>
815
  <default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
816
- <docblock line="4864">
817
  <description><![CDATA[IPTC Dataset descriptions]]></description>
818
  <long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
819
  the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
820
- <tag line="4864" name="since" description="0.90"/>
821
- <tag line="4864" name="var" description="" type="array">
822
  <type by_reference="false">array</type>
823
  </tag>
824
  </docblock>
825
  </property>
826
- <property final="false" static="true" visibility="private" line="4973" namespace="global" package="Media Library Assistant">
827
  <name>$mla_iptc_formats</name>
828
  <default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 0 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 0 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
829
- <docblock line="4963">
830
  <description><![CDATA[IPTC file format identifiers and descriptions]]></description>
831
  <long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
832
  the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
833
- <tag line="4963" name="since" description="0.90"/>
834
- <tag line="4963" name="var" description="" type="array">
835
  <type by_reference="false">array</type>
836
  </tag>
837
  </docblock>
838
  </property>
839
- <property final="false" static="true" visibility="private" line="5016" namespace="global" package="Media Library Assistant">
840
  <name>$mla_iptc_image_types</name>
841
  <default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
842
- <docblock line="5006">
843
  <description><![CDATA[IPTC image type identifiers and descriptions]]></description>
844
  <long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
845
  the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
846
- <tag line="5006" name="since" description="0.90"/>
847
- <tag line="5006" name="var" description="" type="array">
848
  <type by_reference="false">array</type>
849
  </tag>
850
  </docblock>
851
  </property>
852
- <property final="false" static="true" visibility="private" line="5190" namespace="global" package="Media Library Assistant">
853
  <name>$mla_IPTC_EXIF_errors</name>
854
  <default><![CDATA[array()]]></default>
855
- <docblock line="5182">
856
  <description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
857
  and mla_fetch_attachment_image_metadata]]></description>
858
  <long-description><![CDATA[]]></long-description>
859
- <tag line="5182" name="since" description="1.81"/>
860
- <tag line="5182" name="var" description="" type="array">
861
  <type by_reference="false">array</type>
862
  </tag>
863
  </docblock>
@@ -1210,1496 +1211,1512 @@ All but request and query require an attachment ID.</p>]]></long-description>
1210
  <type/>
1211
  </argument>
1212
  </method>
1213
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1051" package="Media Library Assistant">
1214
  <name>mla_get_template_placeholders</name>
1215
  <full_name>mla_get_template_placeholders</full_name>
1216
- <docblock line="1040">
1217
  <description><![CDATA[Analyze a template, returning an array of the placeholders it contains]]></description>
1218
  <long-description><![CDATA[]]></long-description>
1219
- <tag line="1040" name="since" description="0.90"/>
1220
- <tag line="1040" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
1221
  <type by_reference="false">string</type>
1222
  </tag>
1223
- <tag line="1040" name="param" description="Optional: default option value" type="string" variable="$default_option">
1224
  <type by_reference="false">string</type>
1225
  </tag>
1226
- <tag line="1040" name="return" description="Placeholder information: each entry is an array with ['prefix'] =&gt; string, ['value'] =&gt; string, ['option'] =&gt; string 'text'|single'|'export'|'array'|'multi'" type="array">
1227
  <type by_reference="false">array</type>
1228
  </tag>
1229
  </docblock>
1230
- <argument line="1051">
1231
  <name>$tpl</name>
1232
  <default><![CDATA[]]></default>
1233
  <type/>
1234
  </argument>
1235
- <argument line="1051">
1236
  <name>$default_option</name>
1237
  <default><![CDATA['text']]></default>
1238
  <type/>
1239
  </argument>
1240
  </method>
1241
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1157" package="Media Library Assistant">
1242
  <name>mla_count_list_table_items</name>
1243
  <full_name>mla_count_list_table_items</full_name>
1244
- <docblock line="1146">
1245
  <description><![CDATA[Get the total number of attachment posts]]></description>
1246
  <long-description><![CDATA[]]></long-description>
1247
- <tag line="1146" name="since" description="0.30"/>
1248
- <tag line="1146" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
1249
  <type by_reference="false">array</type>
1250
  </tag>
1251
- <tag line="1146" name="param" description="(optional) number of rows to skip over to reach desired page" type="int" variable="$offset">
1252
  <type by_reference="false">int</type>
1253
  </tag>
1254
- <tag line="1146" name="param" description="(optional) number of rows on each page" type="int" variable="$count">
1255
  <type by_reference="false">int</type>
1256
  </tag>
1257
- <tag line="1146" name="return" description="Number of attachment posts" type="integer">
1258
  <type by_reference="false">integer</type>
1259
  </tag>
1260
  </docblock>
1261
- <argument line="1157">
1262
  <name>$request</name>
1263
  <default><![CDATA[]]></default>
1264
  <type/>
1265
  </argument>
1266
- <argument line="1157">
1267
  <name>$offset</name>
1268
  <default><![CDATA[NULL]]></default>
1269
  <type/>
1270
  </argument>
1271
- <argument line="1157">
1272
  <name>$count</name>
1273
  <default><![CDATA[NULL]]></default>
1274
  <type/>
1275
  </argument>
1276
  </method>
1277
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1185" package="Media Library Assistant">
1278
  <name>mla_query_list_table_items</name>
1279
  <full_name>mla_query_list_table_items</full_name>
1280
- <docblock line="1171">
1281
  <description><![CDATA[Retrieve attachment objects for list table display]]></description>
1282
  <long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
1283
  Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
1284
- <tag line="1171" name="since" description="0.1"/>
1285
- <tag line="1171" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
1286
  <type by_reference="false">array</type>
1287
  </tag>
1288
- <tag line="1171" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
1289
  <type by_reference="false">int</type>
1290
  </tag>
1291
- <tag line="1171" name="param" description="number of rows on each page" type="int" variable="$count">
1292
  <type by_reference="false">int</type>
1293
  </tag>
1294
- <tag line="1171" name="return" description="attachment objects (posts) including parent data, meta data and references" type="array">
1295
  <type by_reference="false">array</type>
1296
  </tag>
1297
  </docblock>
1298
- <argument line="1185">
1299
  <name>$request</name>
1300
  <default><![CDATA[]]></default>
1301
  <type/>
1302
  </argument>
1303
- <argument line="1185">
1304
  <name>$offset</name>
1305
  <default><![CDATA[]]></default>
1306
  <type/>
1307
  </argument>
1308
- <argument line="1185">
1309
  <name>$count</name>
1310
  <default><![CDATA[]]></default>
1311
  <type/>
1312
  </argument>
1313
  </method>
1314
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1231" package="Media Library Assistant">
1315
  <name>mla_query_media_modal_items</name>
1316
  <full_name>mla_query_media_modal_items</full_name>
1317
- <docblock line="1218">
1318
  <description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
1319
  <long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
1320
- <tag line="1218" name="since" description="1.20"/>
1321
- <tag line="1218" name="param" description="query parameters from Media Manager" type="array" variable="$request">
1322
  <type by_reference="false">array</type>
1323
  </tag>
1324
- <tag line="1218" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
1325
  <type by_reference="false">int</type>
1326
  </tag>
1327
- <tag line="1218" name="param" description="number of rows on each page" type="int" variable="$count">
1328
  <type by_reference="false">int</type>
1329
  </tag>
1330
- <tag line="1218" name="return" description="attachment objects (posts)" type="array">
1331
  <type by_reference="false">array</type>
1332
  </tag>
1333
  </docblock>
1334
- <argument line="1231">
1335
  <name>$request</name>
1336
  <default><![CDATA[]]></default>
1337
  <type/>
1338
  </argument>
1339
- <argument line="1231">
1340
  <name>$offset</name>
1341
  <default><![CDATA[]]></default>
1342
  <type/>
1343
  </argument>
1344
- <argument line="1231">
1345
  <name>$count</name>
1346
  <default><![CDATA[]]></default>
1347
  <type/>
1348
  </argument>
1349
  </method>
1350
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1295" package="Media Library Assistant">
1351
  <name>_prepare_list_table_query</name>
1352
  <full_name>_prepare_list_table_query</full_name>
1353
- <docblock line="1281">
1354
  <description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
1355
  <long-description><![CDATA[<p>Prepare the arguments for WP_Query.
1356
  Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
1357
- <tag line="1281" name="since" description="0.1"/>
1358
- <tag line="1281" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
1359
  <type by_reference="false">array</type>
1360
  </tag>
1361
- <tag line="1281" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
1362
  <type by_reference="false">int</type>
1363
  </tag>
1364
- <tag line="1281" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
1365
  <type by_reference="false">int</type>
1366
  </tag>
1367
- <tag line="1281" name="return" description="revised arguments suitable for WP_Query" type="array">
1368
  <type by_reference="false">array</type>
1369
  </tag>
1370
  </docblock>
1371
- <argument line="1295">
1372
  <name>$raw_request</name>
1373
  <default><![CDATA[]]></default>
1374
  <type/>
1375
  </argument>
1376
- <argument line="1295">
1377
  <name>$offset</name>
1378
  <default><![CDATA[0]]></default>
1379
  <type/>
1380
  </argument>
1381
- <argument line="1295">
1382
  <name>$count</name>
1383
  <default><![CDATA[0]]></default>
1384
  <type/>
1385
  </argument>
1386
  </method>
1387
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1673" package="Media Library Assistant">
1388
  <name>_execute_list_table_query</name>
1389
  <full_name>_execute_list_table_query</full_name>
1390
- <docblock line="1664">
1391
  <description><![CDATA[Add filters, run query, remove filters]]></description>
1392
  <long-description><![CDATA[]]></long-description>
1393
- <tag line="1664" name="since" description="0.30"/>
1394
- <tag line="1664" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
1395
  <type by_reference="false">array</type>
1396
  </tag>
1397
- <tag line="1664" name="return" description="WP_Query object with query results" type="object">
1398
  <type by_reference="false">object</type>
1399
  </tag>
1400
  </docblock>
1401
- <argument line="1673">
1402
  <name>$request</name>
1403
  <default><![CDATA[]]></default>
1404
  <type/>
1405
  </argument>
1406
  </method>
1407
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1776" package="Media Library Assistant">
1408
  <name>mla_search_terms_tidy</name>
1409
  <full_name>mla_search_terms_tidy</full_name>
1410
- <docblock line="1765">
1411
  <description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
1412
  <long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
1413
- <tag line="1765" name="since" description="1.51"/>
1414
- <tag line="1765" name="param" description="search term before modification" type="string" variable="$term">
1415
  <type by_reference="false">string</type>
1416
  </tag>
1417
- <tag line="1765" name="return" description="cleaned up search term" type="string">
1418
  <type by_reference="false">string</type>
1419
  </tag>
1420
  </docblock>
1421
- <argument line="1776">
1422
  <name>$term</name>
1423
  <default><![CDATA[]]></default>
1424
  <type/>
1425
  </argument>
1426
  </method>
1427
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1792" package="Media Library Assistant">
1428
  <name>mla_query_posts_search_filter</name>
1429
  <full_name>mla_query_posts_search_filter</full_name>
1430
- <docblock line="1780">
1431
  <description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
1432
  <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
1433
- <tag line="1780" name="since" description="0.60"/>
1434
- <tag line="1780" name="param" description="query clause before modification" type="string" variable="$search_string">
1435
  <type by_reference="false">string</type>
1436
  </tag>
1437
- <tag line="1780" name="param" description="WP_Query object" type="object" variable="$query_object">
1438
  <type by_reference="false">object</type>
1439
  </tag>
1440
- <tag line="1780" name="return" description="query clause after keyword search addition" type="string">
1441
  <type by_reference="false">string</type>
1442
  </tag>
1443
  </docblock>
1444
- <argument line="1792">
1445
  <name>$search_string</name>
1446
  <default><![CDATA[]]></default>
1447
  <type/>
1448
  </argument>
1449
- <argument line="1792">
1450
  <name>$query_object</name>
1451
  <default><![CDATA[]]></default>
1452
  <type/>
1453
  </argument>
1454
  </method>
1455
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2062" package="Media Library Assistant">
1456
  <name>mla_query_posts_where_filter</name>
1457
  <full_name>mla_query_posts_where_filter</full_name>
1458
- <docblock line="2050">
1459
  <description><![CDATA[Adds/modifies the WHERE clause for meta values, LIKE patterns and detached items]]></description>
1460
  <long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
1461
  Defined as public because it's a filter.</p>]]></long-description>
1462
- <tag line="2050" name="since" description="0.1"/>
1463
- <tag line="2050" name="param" description="query clause before modification" type="string" variable="$where_clause">
1464
  <type by_reference="false">string</type>
1465
  </tag>
1466
- <tag line="2050" name="return" description="query clause after modification" type="string">
1467
  <type by_reference="false">string</type>
1468
  </tag>
1469
  </docblock>
1470
- <argument line="2062">
1471
  <name>$where_clause</name>
1472
  <default><![CDATA[]]></default>
1473
  <type/>
1474
  </argument>
1475
  </method>
1476
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2130" package="Media Library Assistant">
1477
  <name>mla_query_posts_join_filter</name>
1478
  <full_name>mla_query_posts_join_filter</full_name>
1479
- <docblock line="2119">
1480
  <description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
1481
  <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
1482
- <tag line="2119" name="since" description="0.30"/>
1483
- <tag line="2119" name="param" description="query clause before modification" type="string" variable="$join_clause">
1484
  <type by_reference="false">string</type>
1485
  </tag>
1486
- <tag line="2119" name="return" description="query clause after &quot;LEFT JOIN view ON post_id&quot; item modification" type="string">
1487
  <type by_reference="false">string</type>
1488
  </tag>
1489
  </docblock>
1490
- <argument line="2130">
1491
  <name>$join_clause</name>
1492
  <default><![CDATA[]]></default>
1493
  <type/>
1494
  </argument>
1495
  </method>
1496
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2185" package="Media Library Assistant">
1497
  <name>mla_query_posts_groupby_filter</name>
1498
  <full_name>mla_query_posts_groupby_filter</full_name>
1499
- <docblock line="2173">
1500
  <description><![CDATA[Adds a GROUPBY clause, if required]]></description>
1501
  <long-description><![CDATA[<p>Taxonomy text queries require a GROUPBY clause.
1502
  Defined as public because it's a filter.</p>]]></long-description>
1503
- <tag line="2173" name="since" description="1.90"/>
1504
- <tag line="2173" name="param" description="query clause before modification" type="string" variable="$groupby_clause">
1505
  <type by_reference="false">string</type>
1506
  </tag>
1507
- <tag line="2173" name="return" description="updated query clause" type="string">
1508
  <type by_reference="false">string</type>
1509
  </tag>
1510
  </docblock>
1511
- <argument line="2185">
1512
  <name>$groupby_clause</name>
1513
  <default><![CDATA[]]></default>
1514
  <type/>
1515
  </argument>
1516
  </method>
1517
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2207" package="Media Library Assistant">
1518
  <name>mla_query_posts_orderby_filter</name>
1519
  <full_name>mla_query_posts_orderby_filter</full_name>
1520
- <docblock line="2195">
1521
  <description><![CDATA[Adds a ORDERBY clause, if required]]></description>
1522
  <long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
1523
  Defined as public because it's a filter.</p>]]></long-description>
1524
- <tag line="2195" name="since" description="0.30"/>
1525
- <tag line="2195" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
1526
  <type by_reference="false">string</type>
1527
  </tag>
1528
- <tag line="2195" name="return" description="updated query clause" type="string">
1529
  <type by_reference="false">string</type>
1530
  </tag>
1531
  </docblock>
1532
- <argument line="2207">
1533
  <name>$orderby_clause</name>
1534
  <default><![CDATA[]]></default>
1535
  <type/>
1536
  </argument>
1537
  </method>
1538
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2285" package="Media Library Assistant">
1539
  <name>mla_query_relevanssi_admin_search_ok_filter</name>
1540
  <full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
1541
- <docblock line="2275">
1542
  <description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
1543
  Defined as public because it's a filter.]]></description>
1544
  <long-description><![CDATA[]]></long-description>
1545
- <tag line="2275" name="since" description="1.80"/>
1546
- <tag line="2275" name="param" description="Default setting" type="boolean" variable="$admin_search_ok">
1547
  <type by_reference="false">boolean</type>
1548
  </tag>
1549
- <tag line="2275" name="return" description="Updated setting" type="boolean">
1550
  <type by_reference="false">boolean</type>
1551
  </tag>
1552
  </docblock>
1553
- <argument line="2285">
1554
  <name>$admin_search_ok</name>
1555
  <default><![CDATA[]]></default>
1556
  <type/>
1557
  </argument>
1558
  </method>
1559
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2301" package="Media Library Assistant">
1560
  <name>mla_query_posts_clauses_filter</name>
1561
  <full_name>mla_query_posts_clauses_filter</full_name>
1562
- <docblock line="2289">
1563
  <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
1564
  <long-description><![CDATA[<p>This is for debug purposes only.
1565
  Defined as public because it's a filter.</p>]]></long-description>
1566
- <tag line="2289" name="since" description="1.80"/>
1567
- <tag line="2289" name="param" description="query clauses before modification" type="array" variable="$pieces">
1568
  <type by_reference="false">array</type>
1569
  </tag>
1570
- <tag line="2289" name="return" description="query clauses after modification (none)" type="array">
1571
  <type by_reference="false">array</type>
1572
  </tag>
1573
  </docblock>
1574
- <argument line="2301">
1575
  <name>$pieces</name>
1576
  <default><![CDATA[]]></default>
1577
  <type/>
1578
  </argument>
1579
  </method>
1580
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2325" package="Media Library Assistant">
1581
  <name>mla_query_posts_clauses_request_filter</name>
1582
  <full_name>mla_query_posts_clauses_request_filter</full_name>
1583
- <docblock line="2313">
1584
  <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
1585
  <long-description><![CDATA[<p>This is for debug purposes only.
1586
  Defined as public because it's a filter.</p>]]></long-description>
1587
- <tag line="2313" name="since" description="1.80"/>
1588
- <tag line="2313" name="param" description="query clauses before modification" type="array" variable="$pieces">
1589
  <type by_reference="false">array</type>
1590
  </tag>
1591
- <tag line="2313" name="return" description="query clauses after modification (none)" type="array">
1592
  <type by_reference="false">array</type>
1593
  </tag>
1594
  </docblock>
1595
- <argument line="2325">
1596
  <name>$pieces</name>
1597
  <default><![CDATA[]]></default>
1598
  <type/>
1599
  </argument>
1600
  </method>
1601
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2349" package="Media Library Assistant">
1602
  <name>mla_get_attachment_by_id</name>
1603
  <full_name>mla_get_attachment_by_id</full_name>
1604
- <docblock line="2337">
1605
  <description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
1606
  <long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
1607
  the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
1608
- <tag line="2337" name="since" description="0.1"/>
1609
- <tag line="2337" name="uses" description="\global\$post" refers="\global\$post"/>
1610
- <tag line="2337" name="param" description="The ID of the attachment post" type="int" variable="$post_id">
1611
- <type by_reference="false">int</type>
 
 
 
1612
  </tag>
1613
- <tag line="2337" name="return" description="NULL on failure else associative array" type="NULL|array">
1614
  <type by_reference="false">NULL</type>
1615
  <type by_reference="false">array</type>
1616
  </tag>
1617
  </docblock>
1618
- <argument line="2349">
1619
  <name>$post_id</name>
1620
  <default><![CDATA[]]></default>
1621
  <type/>
1622
  </argument>
 
 
 
 
 
1623
  </method>
1624
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2405" package="Media Library Assistant">
1625
  <name>mla_fetch_attachment_parent_data</name>
1626
  <full_name>mla_fetch_attachment_parent_data</full_name>
1627
- <docblock line="2396">
1628
  <description><![CDATA[Returns information about an attachment's parent, if found]]></description>
1629
  <long-description><![CDATA[]]></long-description>
1630
- <tag line="2396" name="since" description="0.1"/>
1631
- <tag line="2396" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
1632
  <type by_reference="false">int</type>
1633
  </tag>
1634
- <tag line="2396" name="return" description="Parent information; post_date, post_title and post_type" type="array">
1635
  <type by_reference="false">array</type>
1636
  </tag>
1637
  </docblock>
1638
- <argument line="2405">
1639
  <name>$parent_id</name>
1640
  <default><![CDATA[]]></default>
1641
  <type/>
1642
  </argument>
1643
  </method>
1644
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2447" package="Media Library Assistant">
1645
  <name>_set_array_element</name>
1646
  <full_name>_set_array_element</full_name>
1647
- <docblock line="2436">
1648
  <description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
1649
  <long-description><![CDATA[]]></long-description>
1650
- <tag line="2436" name="since" description="1.51"/>
1651
- <tag line="2436" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
1652
  <type by_reference="false">string</type>
1653
  </tag>
1654
- <tag line="2436" name="param" description="replacement value, string or array, by reference" type="mixed" variable="$value">
1655
  <type by_reference="false">mixed</type>
1656
  </tag>
1657
- <tag line="2436" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
1658
  <type by_reference="false">array</type>
1659
  </tag>
1660
- <tag line="2436" name="return" description="true if $needle element set, false if not" type="boolean">
1661
  <type by_reference="false">boolean</type>
1662
  </tag>
1663
  </docblock>
1664
- <argument line="2447">
1665
  <name>$needle</name>
1666
  <default><![CDATA[]]></default>
1667
  <type/>
1668
  </argument>
1669
- <argument line="2447">
1670
  <name>$value</name>
1671
  <default><![CDATA[]]></default>
1672
  <type/>
1673
  </argument>
1674
- <argument line="2447">
1675
  <name>$haystack</name>
1676
  <default><![CDATA[]]></default>
1677
  <type/>
1678
  </argument>
1679
  </method>
1680
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2481" package="Media Library Assistant">
1681
  <name>_unset_array_element</name>
1682
  <full_name>_unset_array_element</full_name>
1683
- <docblock line="2471">
1684
  <description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
1685
  <long-description><![CDATA[]]></long-description>
1686
- <tag line="2471" name="since" description="1.51"/>
1687
- <tag line="2471" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
1688
  <type by_reference="false">string</type>
1689
  </tag>
1690
- <tag line="2471" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
1691
  <type by_reference="false">array</type>
1692
  </tag>
1693
- <tag line="2471" name="return" description="true if $needle element found, false if not" type="boolean">
1694
  <type by_reference="false">boolean</type>
1695
  </tag>
1696
  </docblock>
1697
- <argument line="2481">
1698
  <name>$needle</name>
1699
  <default><![CDATA[]]></default>
1700
  <type/>
1701
  </argument>
1702
- <argument line="2481">
1703
  <name>$haystack</name>
1704
  <default><![CDATA[]]></default>
1705
  <type/>
1706
  </argument>
1707
  </method>
1708
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2516" package="Media Library Assistant">
1709
  <name>mla_find_array_element</name>
1710
  <full_name>mla_find_array_element</full_name>
1711
- <docblock line="2501">
1712
  <description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
1713
  <long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
1714
  Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
1715
- <tag line="2501" name="since" description="1.30"/>
1716
- <tag line="2501" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
1717
  <type by_reference="false">string</type>
1718
  </tag>
1719
- <tag line="2501" name="param" description="PHP nested arrays" type="array" variable="$haystack">
1720
  <type by_reference="false">array</type>
1721
  </tag>
1722
- <tag line="2501" name="param" description="data option 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
1723
  <type by_reference="false">string</type>
1724
  </tag>
1725
- <tag line="2501" name="param" description="keep existing values - for 'multi' option" type="boolean" variable="$keep_existing">
1726
  <type by_reference="false">boolean</type>
1727
  </tag>
1728
- <tag line="2501" name="return" description="string or array value matching key(.key ...) or ''" type="mixed">
1729
  <type by_reference="false">mixed</type>
1730
  </tag>
1731
  </docblock>
1732
- <argument line="2516">
1733
  <name>$needle</name>
1734
  <default><![CDATA[]]></default>
1735
  <type/>
1736
  </argument>
1737
- <argument line="2516">
1738
  <name>$haystack</name>
1739
  <default><![CDATA[]]></default>
1740
  <type/>
1741
  </argument>
1742
- <argument line="2516">
1743
  <name>$option</name>
1744
  <default><![CDATA[]]></default>
1745
  <type/>
1746
  </argument>
1747
- <argument line="2516">
1748
  <name>$keep_existing</name>
1749
  <default><![CDATA[false]]></default>
1750
  <type/>
1751
  </argument>
1752
  </method>
1753
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2569" package="Media Library Assistant">
1754
  <name>mla_fetch_attachment_metadata</name>
1755
  <full_name>mla_fetch_attachment_metadata</full_name>
1756
- <docblock line="2557">
1757
  <description><![CDATA[Fetch and filter meta data for an attachment]]></description>
1758
  <long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
1759
  are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
1760
- <tag line="2557" name="since" description="0.1"/>
1761
- <tag line="2557" name="param" description="post ID of attachment" type="int" variable="$post_id">
1762
  <type by_reference="false">int</type>
1763
  </tag>
1764
- <tag line="2557" name="return" description="Meta data variables" type="array">
1765
  <type by_reference="false">array</type>
1766
  </tag>
1767
  </docblock>
1768
- <argument line="2569">
1769
  <name>$post_id</name>
1770
  <default><![CDATA[]]></default>
1771
  <type/>
1772
  </argument>
1773
  </method>
1774
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2654" package="Media Library Assistant">
1775
  <name>mla_fetch_attachment_references</name>
1776
  <full_name>mla_fetch_attachment_references</full_name>
1777
- <docblock line="2641">
1778
  <description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
1779
  <long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
1780
  as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
1781
- <tag line="2641" name="since" description="0.1"/>
1782
- <tag line="2641" name="param" description="post ID of attachment" type="int" variable="$ID">
1783
  <type by_reference="false">int</type>
1784
  </tag>
1785
- <tag line="2641" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent">
1786
  <type by_reference="false">int</type>
1787
  </tag>
1788
- <tag line="2641" name="return" description="Reference information; see $references array comments" type="array">
 
 
 
1789
  <type by_reference="false">array</type>
1790
  </tag>
1791
  </docblock>
1792
- <argument line="2654">
1793
  <name>$ID</name>
1794
  <default><![CDATA[]]></default>
1795
  <type/>
1796
  </argument>
1797
- <argument line="2654">
1798
  <name>$parent</name>
1799
  <default><![CDATA[]]></default>
1800
  <type/>
1801
  </argument>
 
 
 
 
 
1802
  </method>
1803
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2968" package="Media Library Assistant">
1804
  <name>mla_attachment_array_fetch_references</name>
1805
  <full_name>mla_attachment_array_fetch_references</full_name>
1806
- <docblock line="2956">
1807
  <description><![CDATA[Add Featured Image and inserted image/link references to an array of attachments]]></description>
1808
  <long-description><![CDATA[<p>Searches all post and page content to see if the attachmenta are used
1809
  as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
1810
- <tag line="2956" name="since" description="1.94"/>
1811
- <tag line="2956" name="param" description="WP_Post objects, passed by reference" type="array" variable="$attachments">
1812
  <type by_reference="false">array</type>
1813
  </tag>
1814
- <tag line="2956" name="return" description="updates WP_Post objects with new mla_references property" type="void">
1815
  <type by_reference="false">void</type>
1816
  </tag>
1817
  </docblock>
1818
- <argument line="2968">
1819
  <name>$attachments</name>
1820
  <default><![CDATA[]]></default>
1821
  <type/>
1822
  </argument>
1823
  </method>
1824
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3320" package="Media Library Assistant">
1825
  <name>mla_flush_mla_galleries</name>
1826
  <full_name>mla_flush_mla_galleries</full_name>
1827
- <docblock line="3311">
1828
  <description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
1829
  <long-description><![CDATA[]]></long-description>
1830
- <tag line="3311" name="since" description="1.00"/>
1831
- <tag line="3311" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
1832
  <type by_reference="false">string</type>
1833
  </tag>
1834
- <tag line="3311" name="return" description="" type="void">
1835
  <type by_reference="false">void</type>
1836
  </tag>
1837
  </docblock>
1838
- <argument line="3320">
1839
  <name>$option_name</name>
1840
  <default><![CDATA[]]></default>
1841
  <type/>
1842
  </argument>
1843
  </method>
1844
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3344" package="Media Library Assistant">
1845
  <name>mla_save_post_action</name>
1846
  <full_name>mla_save_post_action</full_name>
1847
- <docblock line="3335">
1848
  <description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
1849
  <long-description><![CDATA[]]></long-description>
1850
- <tag line="3335" name="since" description="1.00"/>
1851
- <tag line="3335" name="param" description="ID of post/page/attachment; not used at this time" type="integer" variable="$post_id">
1852
  <type by_reference="false">integer</type>
1853
  </tag>
1854
- <tag line="3335" name="return" description="" type="void">
1855
  <type by_reference="false">void</type>
1856
  </tag>
1857
  </docblock>
1858
- <argument line="3344">
1859
  <name>$post_id</name>
1860
  <default><![CDATA[]]></default>
1861
  <type/>
1862
  </argument>
1863
  </method>
1864
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3361" package="Media Library Assistant">
1865
  <name>_build_mla_galleries</name>
1866
  <full_name>_build_mla_galleries</full_name>
1867
- <docblock line="3349">
1868
  <description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
1869
  <long-description><![CDATA[]]></long-description>
1870
- <tag line="3349" name="since" description="0.70"/>
1871
- <tag line="3349" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
1872
  <type by_reference="false">string</type>
1873
  </tag>
1874
- <tag line="3349" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
1875
  <type by_reference="false">array</type>
1876
  </tag>
1877
- <tag line="3349" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
1878
  <type by_reference="false">string</type>
1879
  </tag>
1880
- <tag line="3349" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
1881
  <type by_reference="false">boolean</type>
1882
  </tag>
1883
- <tag line="3349" name="return" description="true if the galleries array is not empty" type="boolean">
1884
  <type by_reference="false">boolean</type>
1885
  </tag>
1886
  </docblock>
1887
- <argument line="3361">
1888
  <name>$option_name</name>
1889
  <default><![CDATA[]]></default>
1890
  <type/>
1891
  </argument>
1892
- <argument line="3361">
1893
  <name>$galleries_array</name>
1894
  <default><![CDATA[]]></default>
1895
  <type/>
1896
  </argument>
1897
- <argument line="3361">
1898
  <name>$shortcode</name>
1899
  <default><![CDATA[]]></default>
1900
  <type/>
1901
  </argument>
1902
- <argument line="3361">
1903
  <name>$exclude_revisions</name>
1904
  <default><![CDATA[]]></default>
1905
  <type/>
1906
  </argument>
1907
  </method>
1908
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3481" package="Media Library Assistant">
1909
  <name>_search_mla_galleries</name>
1910
  <full_name>_search_mla_galleries</full_name>
1911
- <docblock line="3470">
1912
  <description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
1913
  <long-description><![CDATA[]]></long-description>
1914
- <tag line="3470" name="since" description="0.70"/>
1915
- <tag line="3470" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
1916
  <type by_reference="false">array</type>
1917
  </tag>
1918
- <tag line="3470" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
1919
  <type by_reference="false">int</type>
1920
  </tag>
1921
- <tag line="3470" name="return" description="All posts/pages with one or more galleries that include the attachment. The array key is the parent_post ID; each entry contains post_title and post_type." type="array">
1922
  <type by_reference="false">array</type>
1923
  </tag>
1924
  </docblock>
1925
- <argument line="3481">
1926
  <name>$galleries_array</name>
1927
  <default><![CDATA[]]></default>
1928
  <type/>
1929
  </argument>
1930
- <argument line="3481">
1931
  <name>$attachment_id</name>
1932
  <default><![CDATA[]]></default>
1933
  <type/>
1934
  </argument>
1935
  </method>
1936
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3520" package="Media Library Assistant">
1937
  <name>_parse_pdf_xref_subsection</name>
1938
  <full_name>_parse_pdf_xref_subsection</full_name>
1939
- <docblock line="3507">
1940
  <description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
1941
  <long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
1942
- <tag line="3507" name="since" description="1.50"/>
1943
- <tag line="3507" name="param" description="buffer containing the subsection" type="string" variable="$xref_section">
1944
  <type by_reference="false">string</type>
1945
  </tag>
1946
- <tag line="3507" name="param" description="offset within the buffer of the first entry" type="integer" variable="$offset">
1947
  <type by_reference="false">integer</type>
1948
  </tag>
1949
- <tag line="3507" name="param" description="number of the first object in the subsection" type="integer" variable="$object_id">
1950
  <type by_reference="false">integer</type>
1951
  </tag>
1952
- <tag line="3507" name="param" description="number of entries in the subsection" type="integer" variable="$count">
1953
  <type by_reference="false">integer</type>
1954
  </tag>
1955
- <tag line="3507" name="return" description="" type="void">
1956
  <type by_reference="false">void</type>
1957
  </tag>
1958
  </docblock>
1959
- <argument line="3520">
1960
  <name>$xref_section</name>
1961
  <default><![CDATA[]]></default>
1962
  <type/>
1963
  </argument>
1964
- <argument line="3520">
1965
  <name>$offset</name>
1966
  <default><![CDATA[]]></default>
1967
  <type/>
1968
  </argument>
1969
- <argument line="3520">
1970
  <name>$object_id</name>
1971
  <default><![CDATA[]]></default>
1972
  <type/>
1973
  </argument>
1974
- <argument line="3520">
1975
  <name>$count</name>
1976
  <default><![CDATA[]]></default>
1977
  <type/>
1978
  </argument>
1979
  </method>
1980
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3552" package="Media Library Assistant">
1981
  <name>_parse_pdf_xref_section</name>
1982
  <full_name>_parse_pdf_xref_section</full_name>
1983
- <docblock line="3541">
1984
  <description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
1985
  <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
1986
- <tag line="3541" name="since" description="1.50"/>
1987
- <tag line="3541" name="param" description="full path and file name" type="string" variable="$file_name">
1988
  <type by_reference="false">string</type>
1989
  </tag>
1990
- <tag line="3541" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
1991
  <type by_reference="false">integer</type>
1992
  </tag>
1993
- <tag line="3541" name="return" description="length of the section" type="integer">
1994
  <type by_reference="false">integer</type>
1995
  </tag>
1996
  </docblock>
1997
- <argument line="3552">
1998
  <name>$file_name</name>
1999
  <default><![CDATA[]]></default>
2000
  <type/>
2001
  </argument>
2002
- <argument line="3552">
2003
  <name>$file_offset</name>
2004
  <default><![CDATA[]]></default>
2005
  <type/>
2006
  </argument>
2007
  </method>
2008
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3586" package="Media Library Assistant">
2009
  <name>_parse_pdf_xref_stream</name>
2010
  <full_name>_parse_pdf_xref_stream</full_name>
2011
- <docblock line="3574">
2012
  <description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
2013
  <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2014
- <tag line="3574" name="since" description="1.50"/>
2015
- <tag line="3574" name="param" description="full path and file name" type="string" variable="$file_name">
2016
  <type by_reference="false">string</type>
2017
  </tag>
2018
- <tag line="3574" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
2019
  <type by_reference="false">integer</type>
2020
  </tag>
2021
- <tag line="3574" name="param" description="&quot;/W&quot; entry, representing the size of the fields in a single entry" type="string" variable="$entry_parms_string">
2022
  <type by_reference="false">string</type>
2023
  </tag>
2024
- <tag line="3574" name="return" description="length of the stream" type="integer">
2025
  <type by_reference="false">integer</type>
2026
  </tag>
2027
  </docblock>
2028
- <argument line="3586">
2029
  <name>$file_name</name>
2030
  <default><![CDATA[]]></default>
2031
  <type/>
2032
  </argument>
2033
- <argument line="3586">
2034
  <name>$file_offset</name>
2035
  <default><![CDATA[]]></default>
2036
  <type/>
2037
  </argument>
2038
- <argument line="3586">
2039
  <name>$entry_parms_string</name>
2040
  <default><![CDATA[]]></default>
2041
  <type/>
2042
  </argument>
2043
  </method>
2044
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3665" package="Media Library Assistant">
2045
  <name>_build_pdf_indirect_objects</name>
2046
  <full_name>_build_pdf_indirect_objects</full_name>
2047
- <docblock line="3655">
2048
  <description><![CDATA[Build an array of indirect object definitions]]></description>
2049
  <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2050
- <tag line="3655" name="since" description="1.50"/>
2051
- <tag line="3655" name="param" description="The entire PDF document, passsed by reference" type="string" variable="$string">
2052
  <type by_reference="false">string</type>
2053
  </tag>
2054
- <tag line="3655" name="return" description="" type="void">
2055
  <type by_reference="false">void</type>
2056
  </tag>
2057
  </docblock>
2058
- <argument line="3665">
2059
  <name>$string</name>
2060
  <default><![CDATA[]]></default>
2061
  <type/>
2062
  </argument>
2063
  </method>
2064
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3713" package="Media Library Assistant">
2065
  <name>_find_pdf_indirect_dictionary</name>
2066
  <full_name>_find_pdf_indirect_dictionary</full_name>
2067
- <docblock line="3699">
2068
  <description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
2069
  <long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
2070
  This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
2071
- <tag line="3699" name="since" description="1.50"/>
2072
- <tag line="3699" name="param" description="full path and file name" type="string" variable="$file_name">
2073
  <type by_reference="false">string</type>
2074
  </tag>
2075
- <tag line="3699" name="param" description="The object number" type="integer" variable="$object">
2076
  <type by_reference="false">integer</type>
2077
  </tag>
2078
- <tag line="3699" name="param" description="The object generation number; default zero (0)" type="integer" variable="$generation">
2079
  <type by_reference="false">integer</type>
2080
  </tag>
2081
- <tag line="3699" name="return" description="NULL on failure else array( 'start' =&gt; offset in the file, 'length' =&gt; object length, 'content' =&gt; dictionary contents )" type="mixed">
2082
  <type by_reference="false">mixed</type>
2083
  </tag>
2084
  </docblock>
2085
- <argument line="3713">
2086
  <name>$file_name</name>
2087
  <default><![CDATA[]]></default>
2088
  <type/>
2089
  </argument>
2090
- <argument line="3713">
2091
  <name>$object</name>
2092
  <default><![CDATA[]]></default>
2093
  <type/>
2094
  </argument>
2095
- <argument line="3713">
2096
  <name>$generation</name>
2097
  <default><![CDATA[0]]></default>
2098
  <type/>
2099
  </argument>
2100
  </method>
2101
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3810" package="Media Library Assistant">
2102
  <name>_parse_iso8601_date</name>
2103
  <full_name>_parse_iso8601_date</full_name>
2104
- <docblock line="3801">
2105
  <description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
2106
  <long-description><![CDATA[]]></long-description>
2107
- <tag line="3801" name="since" description="1.50"/>
2108
- <tag line="3801" name="param" description="ISO string of the form YYYY-MM-DDTHH:MM:SS-HH:MM (inc time zone)" type="string" variable="$source_string">
2109
  <type by_reference="false">string</type>
2110
  </tag>
2111
- <tag line="3801" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
2112
  <type by_reference="false">string</type>
2113
  </tag>
2114
  </docblock>
2115
- <argument line="3810">
2116
  <name>$source_string</name>
2117
  <default><![CDATA[]]></default>
2118
  <type/>
2119
  </argument>
2120
  </method>
2121
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3833" package="Media Library Assistant">
2122
  <name>_parse_pdf_date</name>
2123
  <full_name>_parse_pdf_date</full_name>
2124
- <docblock line="3824">
2125
  <description><![CDATA[Parse a PDF date string]]></description>
2126
  <long-description><![CDATA[]]></long-description>
2127
- <tag line="3824" name="since" description="1.50"/>
2128
- <tag line="3824" name="param" description="PDF date string of the form D:YYYYMMDDHHmmSSOHH'mm" type="string" variable="$source_string">
2129
  <type by_reference="false">string</type>
2130
  </tag>
2131
- <tag line="3824" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
2132
  <type by_reference="false">string</type>
2133
  </tag>
2134
  </docblock>
2135
- <argument line="3833">
2136
  <name>$source_string</name>
2137
  <default><![CDATA[]]></default>
2138
  <type/>
2139
  </argument>
2140
  </method>
2141
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3856" package="Media Library Assistant">
2142
  <name>_parse_pdf_UTF16BE</name>
2143
  <full_name>_parse_pdf_UTF16BE</full_name>
2144
- <docblock line="3847">
2145
  <description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
2146
  <long-description><![CDATA[]]></long-description>
2147
- <tag line="3847" name="since" description="1.50"/>
2148
- <tag line="3847" name="param" description="PDF string of 16-bit characters" type="string" variable="$source_string">
2149
  <type by_reference="false">string</type>
2150
  </tag>
2151
- <tag line="3847" name="return" description="UTF-8 encoded string" type="string">
2152
  <type by_reference="false">string</type>
2153
  </tag>
2154
  </docblock>
2155
- <argument line="3856">
2156
  <name>$source_string</name>
2157
  <default><![CDATA[]]></default>
2158
  <type/>
2159
  </argument>
2160
  </method>
2161
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3885" package="Media Library Assistant">
2162
  <name>_parse_pdf_string</name>
2163
  <full_name>_parse_pdf_string</full_name>
2164
- <docblock line="3872">
2165
  <description><![CDATA[Parse a PDF string object]]></description>
2166
  <long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
2167
  the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
2168
- <tag line="3872" name="since" description="1.50"/>
2169
- <tag line="3872" name="param" description="data within which the string occurs" type="string" variable="$source_string">
2170
  <type by_reference="false">string</type>
2171
  </tag>
2172
- <tag line="3872" name="param" description="offset within the source string of the opening '(' character." type="integer" variable="$offset">
2173
  <type by_reference="false">integer</type>
2174
  </tag>
2175
- <tag line="3872" name="return" description="( key =&gt; array( 'type' =&gt; type, 'value' =&gt; value, '/length' =&gt; length ) ) for the string" type="array">
2176
  <type by_reference="false">array</type>
2177
  </tag>
2178
  </docblock>
2179
- <argument line="3885">
2180
  <name>$source_string</name>
2181
  <default><![CDATA[]]></default>
2182
  <type/>
2183
  </argument>
2184
- <argument line="3885">
2185
  <name>$offset</name>
2186
  <default><![CDATA[]]></default>
2187
  <type/>
2188
  </argument>
2189
  </method>
2190
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3979" package="Media Library Assistant">
2191
  <name>_parse_pdf_LPD_dictionary</name>
2192
  <full_name>_parse_pdf_LPD_dictionary</full_name>
2193
- <docblock line="3965">
2194
  <description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
2195
  <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2196
  indirect (object), name, array, dictionary, stream, and null.
2197
  The array also has a '/length' element containing the number of bytes occupied by the
2198
  dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
2199
- <tag line="3965" name="since" description="1.50"/>
2200
- <tag line="3965" name="param" description="data within which the object occurs, typically the start of a PDF document" type="string" variable="$source_string">
2201
  <type by_reference="false">string</type>
2202
  </tag>
2203
- <tag line="3965" name="param" description="filesize of the PDF document, for validation purposes, or zero (0) to ignore filesize" type="integer" variable="$filesize">
2204
  <type by_reference="false">integer</type>
2205
  </tag>
2206
- <tag line="3965" name="return" description="array of dictionary objects on success, false on failure" type="mixed">
2207
  <type by_reference="false">mixed</type>
2208
  </tag>
2209
  </docblock>
2210
- <argument line="3979">
2211
  <name>$source_string</name>
2212
  <default><![CDATA[]]></default>
2213
  <type/>
2214
  </argument>
2215
- <argument line="3979">
2216
  <name>$filesize</name>
2217
  <default><![CDATA[]]></default>
2218
  <type/>
2219
  </argument>
2220
  </method>
2221
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4004" package="Media Library Assistant">
2222
  <name>_parse_pdf_dictionary</name>
2223
  <full_name>_parse_pdf_dictionary</full_name>
2224
- <docblock line="3990">
2225
  <description><![CDATA[Parse a PDF dictionary object]]></description>
2226
  <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2227
  indirect (object), name, array, dictionary, stream, and null.
2228
  The array also has a '/length' element containing the number of bytes occupied by the
2229
  dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
2230
- <tag line="3990" name="since" description="1.50"/>
2231
- <tag line="3990" name="param" description="data within which the string occurs" type="string" variable="$source_string">
2232
  <type by_reference="false">string</type>
2233
  </tag>
2234
- <tag line="3990" name="param" description="offset within the source string of the opening '&lt;&lt;' characters or the first content character." type="integer" variable="$offset">
2235
  <type by_reference="false">integer</type>
2236
  </tag>
2237
- <tag line="3990" name="return" description="( '/length' =&gt; length, key =&gt; array( 'type' =&gt; type, 'value' =&gt; value ) ) for each dictionary field" type="array">
2238
  <type by_reference="false">array</type>
2239
  </tag>
2240
  </docblock>
2241
- <argument line="4004">
2242
  <name>$source_string</name>
2243
  <default><![CDATA[]]></default>
2244
  <type/>
2245
  </argument>
2246
- <argument line="4004">
2247
  <name>$offset</name>
2248
  <default><![CDATA[]]></default>
2249
  <type/>
2250
  </argument>
2251
  </method>
2252
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4136" package="Media Library Assistant">
2253
  <name>_parse_xmp_metadata</name>
2254
  <full_name>_parse_xmp_metadata</full_name>
2255
- <docblock line="4122">
2256
  <description><![CDATA[Parse an XMP object]]></description>
2257
  <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2258
  indirect (object), name, array, dictionary, stream, and null.
2259
  The array also has a '/length' element containing the number of bytes occupied by the
2260
  dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
2261
- <tag line="4122" name="since" description="1.50"/>
2262
- <tag line="4122" name="param" description="full path and file name" type="string" variable="$file_name">
2263
  <type by_reference="false">string</type>
2264
  </tag>
2265
- <tag line="4122" name="param" description="offset within the file of the search start point" type="integer" variable="$file_offset">
2266
  <type by_reference="false">integer</type>
2267
  </tag>
2268
- <tag line="4122" name="return" description="array of metadata values or NULL on failure" type="mixed">
2269
  <type by_reference="false">mixed</type>
2270
  </tag>
2271
  </docblock>
2272
- <argument line="4136">
2273
  <name>$file_name</name>
2274
  <default><![CDATA[]]></default>
2275
  <type/>
2276
  </argument>
2277
- <argument line="4136">
2278
  <name>$file_offset</name>
2279
  <default><![CDATA[]]></default>
2280
  <type/>
2281
  </argument>
2282
  </method>
2283
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4425" package="Media Library Assistant">
2284
  <name>_extract_pdf_trailer</name>
2285
  <full_name>_extract_pdf_trailer</full_name>
2286
- <docblock line="4415">
2287
  <description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
2288
  <long-description><![CDATA[]]></long-description>
2289
- <tag line="4415" name="since" description="1.50"/>
2290
- <tag line="4415" name="param" description="full path to the desired file" type="string" variable="$file_name">
2291
  <type by_reference="false">string</type>
2292
  </tag>
2293
- <tag line="4415" name="param" description="offset within file of the cross-reference table" type="integer" variable="$file_offset">
2294
  <type by_reference="false">integer</type>
2295
  </tag>
2296
- <tag line="4415" name="return" description="array of &quot;PDF dictionary arrays&quot;, newest first, or NULL on failure" type="mixed">
2297
  <type by_reference="false">mixed</type>
2298
  </tag>
2299
  </docblock>
2300
- <argument line="4425">
2301
  <name>$file_name</name>
2302
  <default><![CDATA[]]></default>
2303
  <type/>
2304
  </argument>
2305
- <argument line="4425">
2306
  <name>$file_offset</name>
2307
  <default><![CDATA[]]></default>
2308
  <type/>
2309
  </argument>
2310
  </method>
2311
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4511" package="Media Library Assistant">
2312
  <name>_extract_pdf_metadata</name>
2313
  <full_name>_extract_pdf_metadata</full_name>
2314
- <docblock line="4502">
2315
  <description><![CDATA[Extract Metadata from a PDF file]]></description>
2316
  <long-description><![CDATA[]]></long-description>
2317
- <tag line="4502" name="since" description="1.50"/>
2318
- <tag line="4502" name="param" description="full path to the desired file" type="string" variable="$file_name">
2319
  <type by_reference="false">string</type>
2320
  </tag>
2321
- <tag line="4502" name="return" description="( key =&gt; value ) for each metadata field, in string format" type="array">
2322
  <type by_reference="false">array</type>
2323
  </tag>
2324
  </docblock>
2325
- <argument line="4511">
2326
  <name>$file_name</name>
2327
  <default><![CDATA[]]></default>
2328
  <type/>
2329
  </argument>
2330
  </method>
2331
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4644" package="Media Library Assistant">
2332
  <name>_bin_to_utf8</name>
2333
  <full_name>_bin_to_utf8</full_name>
2334
- <docblock line="4635">
2335
  <description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
2336
  <long-description><![CDATA[]]></long-description>
2337
- <tag line="4635" name="since" description="1.41"/>
2338
- <tag line="4635" name="param" description="unencoded string" type="string" variable="$string">
2339
  <type by_reference="false">string</type>
2340
  </tag>
2341
- <tag line="4635" name="return" description="UTF-8 encoded string" type="string">
2342
  <type by_reference="false">string</type>
2343
  </tag>
2344
  </docblock>
2345
- <argument line="4644">
2346
  <name>$string</name>
2347
  <default><![CDATA[]]></default>
2348
  <type/>
2349
  </argument>
2350
  </method>
2351
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5042" package="Media Library Assistant">
2352
  <name>mla_iptc_metadata_value</name>
2353
  <full_name>mla_iptc_metadata_value</full_name>
2354
- <docblock line="5032">
2355
  <description><![CDATA[Parse one IPTC metadata field]]></description>
2356
  <long-description><![CDATA[]]></long-description>
2357
- <tag line="5032" name="since" description="1.41"/>
2358
- <tag line="5032" name="param" description="field name - IPTC Identifier or friendly name/slug" type="string" variable="$iptc_key">
2359
  <type by_reference="false">string</type>
2360
  </tag>
2361
- <tag line="5032" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
2362
  <type by_reference="false">string</type>
2363
  </tag>
2364
- <tag line="5032" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
2365
  <type by_reference="false">mixed</type>
2366
  </tag>
2367
  </docblock>
2368
- <argument line="5042">
2369
  <name>$iptc_key</name>
2370
  <default><![CDATA[]]></default>
2371
  <type/>
2372
  </argument>
2373
- <argument line="5042">
2374
  <name>$item_metadata</name>
2375
  <default><![CDATA[]]></default>
2376
  <type/>
2377
  </argument>
2378
  </method>
2379
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5074" package="Media Library Assistant">
2380
  <name>mla_exif_metadata_value</name>
2381
  <full_name>mla_exif_metadata_value</full_name>
2382
- <docblock line="5062">
2383
  <description><![CDATA[Parse one EXIF metadata field]]></description>
2384
  <long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
2385
- <tag line="5062" name="since" description="1.13"/>
2386
- <tag line="5062" name="param" description="field name" type="string" variable="$exif_key">
2387
  <type by_reference="false">string</type>
2388
  </tag>
2389
- <tag line="5062" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
2390
  <type by_reference="false">string</type>
2391
  </tag>
2392
- <tag line="5062" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
2393
  <type by_reference="false">mixed</type>
2394
  </tag>
2395
  </docblock>
2396
- <argument line="5074">
2397
  <name>$exif_key</name>
2398
  <default><![CDATA[]]></default>
2399
  <type/>
2400
  </argument>
2401
- <argument line="5074">
2402
  <name>$item_metadata</name>
2403
  <default><![CDATA[]]></default>
2404
  <type/>
2405
  </argument>
2406
  </method>
2407
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5135" package="Media Library Assistant">
2408
  <name>mla_pdf_metadata_value</name>
2409
  <full_name>mla_pdf_metadata_value</full_name>
2410
- <docblock line="5123">
2411
  <description><![CDATA[Parse one PDF metadata field]]></description>
2412
  <long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
2413
- <tag line="5123" name="since" description="1.50"/>
2414
- <tag line="5123" name="param" description="field name" type="string" variable="$pdf_key">
2415
  <type by_reference="false">string</type>
2416
  </tag>
2417
- <tag line="5123" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
2418
  <type by_reference="false">string</type>
2419
  </tag>
2420
- <tag line="5123" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
2421
  <type by_reference="false">mixed</type>
2422
  </tag>
2423
  </docblock>
2424
- <argument line="5135">
2425
  <name>$pdf_key</name>
2426
  <default><![CDATA[]]></default>
2427
  <type/>
2428
  </argument>
2429
- <argument line="5135">
2430
  <name>$item_metadata</name>
2431
  <default><![CDATA[]]></default>
2432
  <type/>
2433
  </argument>
2434
  </method>
2435
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5177" package="Media Library Assistant">
2436
  <name>_rational_to_decimal</name>
2437
  <full_name>_rational_to_decimal</full_name>
2438
- <docblock line="5168">
2439
  <description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
2440
  <long-description><![CDATA[]]></long-description>
2441
- <tag line="5168" name="since" description="1.50"/>
2442
- <tag line="5168" name="param" description="array( 0 =&gt; numerator, 1 =&gt; denominator )" type="array" variable="$rational">
2443
  <type by_reference="false">array</type>
2444
  </tag>
2445
- <tag line="5168" name="return" description="numerator/denominator" type="float">
2446
  <type by_reference="false">float</type>
2447
  </tag>
2448
  </docblock>
2449
- <argument line="5177">
2450
  <name>$rational</name>
2451
  <default><![CDATA[]]></default>
2452
  <type/>
2453
  </argument>
2454
  </method>
2455
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5204" package="Media Library Assistant">
2456
  <name>mla_IPTC_EXIF_error_handler</name>
2457
  <full_name>mla_IPTC_EXIF_error_handler</full_name>
2458
- <docblock line="5192">
2459
  <description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
2460
  <long-description><![CDATA[]]></long-description>
2461
- <tag line="5192" name="since" description="1.81"/>
2462
- <tag line="5192" name="param" description="the level of the error raised" type="int" variable="$type">
2463
  <type by_reference="false">int</type>
2464
  </tag>
2465
- <tag line="5192" name="param" description="the error message" type="string" variable="$string">
2466
  <type by_reference="false">string</type>
2467
  </tag>
2468
- <tag line="5192" name="param" description="the filename that the error was raised in" type="string" variable="$file">
2469
  <type by_reference="false">string</type>
2470
  </tag>
2471
- <tag line="5192" name="param" description="the line number the error was raised at" type="int" variable="$line">
2472
  <type by_reference="false">int</type>
2473
  </tag>
2474
- <tag line="5192" name="return" description="true, to bypass PHP error handler" type="boolean">
2475
  <type by_reference="false">boolean</type>
2476
  </tag>
2477
  </docblock>
2478
- <argument line="5204">
2479
  <name>$type</name>
2480
  <default><![CDATA[]]></default>
2481
  <type/>
2482
  </argument>
2483
- <argument line="5204">
2484
  <name>$string</name>
2485
  <default><![CDATA[]]></default>
2486
  <type/>
2487
  </argument>
2488
- <argument line="5204">
2489
  <name>$file</name>
2490
  <default><![CDATA[]]></default>
2491
  <type/>
2492
  </argument>
2493
- <argument line="5204">
2494
  <name>$line</name>
2495
  <default><![CDATA[]]></default>
2496
  <type/>
2497
  </argument>
2498
  </method>
2499
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5242" package="Media Library Assistant">
2500
  <name>mla_fetch_attachment_image_metadata</name>
2501
  <full_name>mla_fetch_attachment_image_metadata</full_name>
2502
- <docblock line="5232">
2503
  <description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
2504
  <long-description><![CDATA[]]></long-description>
2505
- <tag line="5232" name="since" description="0.90"/>
2506
- <tag line="5232" name="param" description="post ID of attachment" type="int" variable="$post_id">
2507
  <type by_reference="false">int</type>
2508
  </tag>
2509
- <tag line="5232" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
2510
  <type by_reference="false">string</type>
2511
  </tag>
2512
- <tag line="5232" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
2513
  <type by_reference="false">array</type>
2514
  </tag>
2515
  </docblock>
2516
- <argument line="5242">
2517
  <name>$post_id</name>
2518
  <default><![CDATA[]]></default>
2519
  <type/>
2520
  </argument>
2521
- <argument line="5242">
2522
  <name>$path</name>
2523
  <default><![CDATA['']]></default>
2524
  <type/>
2525
  </argument>
2526
  </method>
2527
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5431" package="Media Library Assistant">
2528
  <name>mla_update_wp_attachment_metadata</name>
2529
  <full_name>mla_update_wp_attachment_metadata</full_name>
2530
- <docblock line="5421">
2531
  <description><![CDATA[Update "meta:" data for a single attachment]]></description>
2532
  <long-description><![CDATA[]]></long-description>
2533
- <tag line="5421" name="since" description="1.51"/>
2534
- <tag line="5421" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
2535
  <type by_reference="false">array</type>
2536
  </tag>
2537
- <tag line="5421" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2538
  <type by_reference="false">array</type>
2539
  </tag>
2540
- <tag line="5421" name="return" description="success/failure message(s); empty string if no changes." type="string">
2541
  <type by_reference="false">string</type>
2542
  </tag>
2543
  </docblock>
2544
- <argument line="5431">
2545
  <name>$current_values</name>
2546
  <default><![CDATA[]]></default>
2547
  <type/>
2548
  </argument>
2549
- <argument line="5431">
2550
  <name>$new_meta</name>
2551
  <default><![CDATA[]]></default>
2552
  <type/>
2553
  </argument>
2554
  </method>
2555
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5515" package="Media Library Assistant">
2556
  <name>mla_update_item_postmeta</name>
2557
  <full_name>mla_update_item_postmeta</full_name>
2558
- <docblock line="5505">
2559
  <description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
2560
  <long-description><![CDATA[]]></long-description>
2561
- <tag line="5505" name="since" description="1.40"/>
2562
- <tag line="5505" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2563
  <type by_reference="false">int</type>
2564
  </tag>
2565
- <tag line="5505" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2566
  <type by_reference="false">array</type>
2567
  </tag>
2568
- <tag line="5505" name="return" description="success/failure message(s)" type="string">
2569
  <type by_reference="false">string</type>
2570
  </tag>
2571
  </docblock>
2572
- <argument line="5515">
2573
  <name>$post_id</name>
2574
  <default><![CDATA[]]></default>
2575
  <type/>
2576
  </argument>
2577
- <argument line="5515">
2578
  <name>$new_meta</name>
2579
  <default><![CDATA[]]></default>
2580
  <type/>
2581
  </argument>
2582
  </method>
2583
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5682" package="Media Library Assistant">
2584
  <name>mla_update_single_item</name>
2585
  <full_name>mla_update_single_item</full_name>
2586
- <docblock line="5669">
2587
  <description><![CDATA[Update a single item; change the "post" data, taxonomy terms
2588
  and meta data for a single attachment]]></description>
2589
  <long-description><![CDATA[]]></long-description>
2590
- <tag line="5669" name="since" description="0.1"/>
2591
- <tag line="5669" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2592
  <type by_reference="false">int</type>
2593
  </tag>
2594
- <tag line="5669" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_data">
2595
  <type by_reference="false">array</type>
2596
  </tag>
2597
- <tag line="5669" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
2598
  <type by_reference="false">array</type>
2599
  </tag>
2600
- <tag line="5669" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
2601
  <type by_reference="false">array</type>
2602
  </tag>
2603
- <tag line="5669" name="return" description="success/failure message and NULL content" type="array">
2604
  <type by_reference="false">array</type>
2605
  </tag>
2606
  </docblock>
2607
- <argument line="5682">
2608
  <name>$post_id</name>
2609
  <default><![CDATA[]]></default>
2610
  <type/>
2611
  </argument>
2612
- <argument line="5682">
2613
  <name>$new_data</name>
2614
  <default><![CDATA[]]></default>
2615
  <type/>
2616
  </argument>
2617
- <argument line="5682">
2618
  <name>$tax_input</name>
2619
  <default><![CDATA[NULL]]></default>
2620
  <type/>
2621
  </argument>
2622
- <argument line="5682">
2623
  <name>$tax_actions</name>
2624
  <default><![CDATA[NULL]]></default>
2625
  <type/>
2626
  </argument>
2627
  </method>
2628
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5958" package="Media Library Assistant">
2629
- <name>_remove_tags</name>
2630
- <full_name>_remove_tags</full_name>
2631
- <docblock line="5947">
2632
- <description><![CDATA[Remove tags from a term ids list]]></description>
2633
  <long-description><![CDATA[]]></long-description>
2634
- <tag line="5947" name="since" description="0.40"/>
2635
- <tag line="5947" name="param" description="The term ids currently assigned" type="array" variable="$terms_before">
2636
- <type by_reference="false">array</type>
2637
  </tag>
2638
- <tag line="5947" name="param" description="| string The term ids (array) or names (string) to remove" type="array" variable="$tags">
2639
  <type by_reference="false">array</type>
2640
  </tag>
2641
- <tag line="5947" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
2642
  <type by_reference="false">object</type>
2643
  </tag>
2644
- <tag line="5947" name="return" description="Term ids of the surviving tags" type="array">
2645
  <type by_reference="false">array</type>
2646
  </tag>
2647
  </docblock>
2648
- <argument line="5958">
2649
- <name>$terms_before</name>
2650
  <default><![CDATA[]]></default>
2651
  <type/>
2652
  </argument>
2653
- <argument line="5958">
2654
- <name>$tags</name>
2655
  <default><![CDATA[]]></default>
2656
  <type/>
2657
  </argument>
2658
- <argument line="5958">
2659
  <name>$taxonomy_obj</name>
2660
  <default><![CDATA[]]></default>
2661
  <type/>
2662
  </argument>
2663
  </method>
2664
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="6007" package="Media Library Assistant">
2665
  <name>_hex_dump</name>
2666
  <full_name>_hex_dump</full_name>
2667
- <docblock line="5995">
2668
  <description><![CDATA[Format printable version of binary data]]></description>
2669
  <long-description><![CDATA[]]></long-description>
2670
- <tag line="5995" name="since" description="0.90"/>
2671
- <tag line="5995" name="param" description="Binary data" type="string" variable="$data">
2672
  <type by_reference="false">string</type>
2673
  </tag>
2674
- <tag line="5995" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
2675
  <type by_reference="false">integer</type>
2676
  </tag>
2677
- <tag line="5995" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
2678
  <type by_reference="false">\intger</type>
2679
  </tag>
2680
- <tag line="5995" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
2681
  <type by_reference="false">integer</type>
2682
  </tag>
2683
- <tag line="5995" name="return" description="Printable representation of $data" type="string">
2684
  <type by_reference="false">string</type>
2685
  </tag>
2686
  </docblock>
2687
- <argument line="6007">
2688
  <name>$data</name>
2689
  <default><![CDATA[]]></default>
2690
  <type/>
2691
  </argument>
2692
- <argument line="6007">
2693
  <name>$limit</name>
2694
  <default><![CDATA[0]]></default>
2695
  <type/>
2696
  </argument>
2697
- <argument line="6007">
2698
  <name>$bytes_per_row</name>
2699
  <default><![CDATA[16]]></default>
2700
  <type/>
2701
  </argument>
2702
- <argument line="6007">
2703
  <name>$offset</name>
2704
  <default><![CDATA[-1]]></default>
2705
  <type/>
@@ -2707,10 +2724,10 @@ and meta data for a single attachment]]></description>
2707
  </method>
2708
  </class>
2709
  <markers>
2710
- <todo line="3865">encode the rest</todo>
2711
  </markers>
2712
  </file>
2713
- <file path="includes\class-mla-edit-media.php" hash="75c542ede2570895091b3ac839d4248b" package="Media Library Assistant">
2714
  <docblock line="2">
2715
  <description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
2716
  <long-description><![CDATA[]]></long-description>
@@ -2931,297 +2948,297 @@ The array is built once each page load and cached for subsequent calls.</p>]]></
2931
  <type/>
2932
  </argument>
2933
  </method>
2934
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="443" package="Media Library Assistant">
2935
  <name>mla_menu_order_handler</name>
2936
  <full_name>mla_menu_order_handler</full_name>
2937
- <docblock line="433">
2938
  <description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
2939
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
2940
- <tag line="433" name="since" description="0.80"/>
2941
- <tag line="433" name="param" description="current post" type="object" variable="$post">
2942
  <type by_reference="false">object</type>
2943
  </tag>
2944
- <tag line="433" name="return" description="echoes the HTML markup for the meta box content" type="void">
2945
  <type by_reference="false">void</type>
2946
  </tag>
2947
  </docblock>
2948
- <argument line="443">
2949
  <name>$post</name>
2950
  <default><![CDATA[]]></default>
2951
  <type/>
2952
  </argument>
2953
  </method>
2954
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="460" package="Media Library Assistant">
2955
  <name>mla_image_metadata_handler</name>
2956
  <full_name>mla_image_metadata_handler</full_name>
2957
- <docblock line="450">
2958
  <description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
2959
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
2960
- <tag line="450" name="since" description="0.80"/>
2961
- <tag line="450" name="param" description="current post" type="object" variable="$post">
2962
  <type by_reference="false">object</type>
2963
  </tag>
2964
- <tag line="450" name="return" description="echoes the HTML markup for the meta box content" type="void">
2965
  <type by_reference="false">void</type>
2966
  </tag>
2967
  </docblock>
2968
- <argument line="460">
2969
  <name>$post</name>
2970
  <default><![CDATA[]]></default>
2971
  <type/>
2972
  </argument>
2973
  </method>
2974
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="485" package="Media Library Assistant">
2975
  <name>mla_featured_in_handler</name>
2976
  <full_name>mla_featured_in_handler</full_name>
2977
- <docblock line="475">
2978
  <description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
2979
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
2980
- <tag line="475" name="since" description="0.80"/>
2981
- <tag line="475" name="param" description="current post" type="object" variable="$post">
2982
  <type by_reference="false">object</type>
2983
  </tag>
2984
- <tag line="475" name="return" description="echoes the HTML markup for the meta box content" type="void">
2985
  <type by_reference="false">void</type>
2986
  </tag>
2987
  </docblock>
2988
- <argument line="485">
2989
  <name>$post</name>
2990
  <default><![CDATA[]]></default>
2991
  <type/>
2992
  </argument>
2993
  </method>
2994
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="520" package="Media Library Assistant">
2995
  <name>mla_inserted_in_handler</name>
2996
  <full_name>mla_inserted_in_handler</full_name>
2997
- <docblock line="510">
2998
  <description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
2999
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
3000
- <tag line="510" name="since" description="0.80"/>
3001
- <tag line="510" name="param" description="current post" type="object" variable="$post">
3002
  <type by_reference="false">object</type>
3003
  </tag>
3004
- <tag line="510" name="return" description="echoes the HTML markup for the meta box content" type="void">
3005
  <type by_reference="false">void</type>
3006
  </tag>
3007
  </docblock>
3008
- <argument line="520">
3009
  <name>$post</name>
3010
  <default><![CDATA[]]></default>
3011
  <type/>
3012
  </argument>
3013
  </method>
3014
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="559" package="Media Library Assistant">
3015
  <name>mla_gallery_in_handler</name>
3016
  <full_name>mla_gallery_in_handler</full_name>
3017
- <docblock line="549">
3018
  <description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
3019
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
3020
- <tag line="549" name="since" description="0.80"/>
3021
- <tag line="549" name="param" description="current post" type="object" variable="$post">
3022
  <type by_reference="false">object</type>
3023
  </tag>
3024
- <tag line="549" name="return" description="echoes the HTML markup for the meta box content" type="void">
3025
  <type by_reference="false">void</type>
3026
  </tag>
3027
  </docblock>
3028
- <argument line="559">
3029
  <name>$post</name>
3030
  <default><![CDATA[]]></default>
3031
  <type/>
3032
  </argument>
3033
  </method>
3034
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="594" package="Media Library Assistant">
3035
  <name>mla_mla_gallery_in_handler</name>
3036
  <full_name>mla_mla_gallery_in_handler</full_name>
3037
- <docblock line="584">
3038
  <description><![CDATA[Renders the MLA Gallery in meta box on the Edit Media page.]]></description>
3039
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
3040
- <tag line="584" name="since" description="0.80"/>
3041
- <tag line="584" name="param" description="current post" type="object" variable="$post">
3042
  <type by_reference="false">object</type>
3043
  </tag>
3044
- <tag line="584" name="return" description="echoes the HTML markup for the meta box content" type="void">
3045
  <type by_reference="false">void</type>
3046
  </tag>
3047
  </docblock>
3048
- <argument line="594">
3049
  <name>$post</name>
3050
  <default><![CDATA[]]></default>
3051
  <type/>
3052
  </argument>
3053
  </method>
3054
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="629" package="Media Library Assistant">
3055
  <name>mla_edit_attachment_action</name>
3056
  <full_name>mla_edit_attachment_action</full_name>
3057
- <docblock line="619">
3058
  <description><![CDATA[Saves updates from the Edit Media screen.]]></description>
3059
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
3060
- <tag line="619" name="since" description="0.80"/>
3061
- <tag line="619" name="param" description="ID of the current post" type="integer" variable="$post_ID">
3062
  <type by_reference="false">integer</type>
3063
  </tag>
3064
- <tag line="619" name="return" description="" type="void">
3065
  <type by_reference="false">void</type>
3066
  </tag>
3067
  </docblock>
3068
- <argument line="629">
3069
  <name>$post_ID</name>
3070
  <default><![CDATA[]]></default>
3071
  <type/>
3072
  </argument>
3073
  </method>
3074
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="655" package="Media Library Assistant">
3075
  <name>_mla_ajax_add_flat_term</name>
3076
  <full_name>_mla_ajax_add_flat_term</full_name>
3077
- <docblock line="644">
3078
  <description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
3079
  <long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
3080
- <tag line="644" name="since" description="1.80"/>
3081
- <tag line="644" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
3082
  <type by_reference="false">string</type>
3083
  </tag>
3084
- <tag line="644" name="return" description="Sends JSON response with updated HTML for the checklist" type="void">
3085
  <type by_reference="false">void</type>
3086
  </tag>
3087
  </docblock>
3088
- <argument line="655">
3089
  <name>$key</name>
3090
  <default><![CDATA[]]></default>
3091
  <type/>
3092
  </argument>
3093
  </method>
3094
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="718" package="Media Library Assistant">
3095
  <name>mla_checklist_meta_box</name>
3096
  <full_name>mla_checklist_meta_box</full_name>
3097
- <docblock line="703">
3098
  <description><![CDATA[Display taxonomy "checklist" form fields]]></description>
3099
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
3100
  Includes the "? Search" area to filter the term checklist by entering part
3101
  or all of a word/phrase in the term label.
3102
  Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
3103
- <tag line="703" name="since" description="1.71"/>
3104
- <tag line="703" name="param" description="The current post" type="object" variable="$target_post">
3105
  <type by_reference="false">object</type>
3106
  </tag>
3107
- <tag line="703" name="param" description="The meta box parameters" type="array" variable="$box">
3108
  <type by_reference="false">array</type>
3109
  </tag>
3110
- <tag line="703" name="return" description="Echoes HTML for the form fields" type="void">
3111
  <type by_reference="false">void</type>
3112
  </tag>
3113
  </docblock>
3114
- <argument line="718">
3115
  <name>$target_post</name>
3116
  <default><![CDATA[]]></default>
3117
  <type/>
3118
  </argument>
3119
- <argument line="718">
3120
  <name>$box</name>
3121
  <default><![CDATA[]]></default>
3122
  <type/>
3123
  </argument>
3124
  </method>
3125
  </class>
3126
- <class final="false" abstract="false" namespace="global" line="877" package="Media Library Assistant">
3127
  <extends>\Walker_Category</extends>
3128
  <name>MLA_Checklist_Walker</name>
3129
  <full_name>\MLA_Checklist_Walker</full_name>
3130
- <docblock line="867">
3131
  <description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
3132
  <long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
3133
  Class Walker_Category is defined in /wp-includes/category-template.php.
3134
  Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
3135
- <tag line="867" name="package" description="Media Library Assistant"/>
3136
- <tag line="867" name="since" description="1.80"/>
3137
  </docblock>
3138
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="891" package="Media Library Assistant">
3139
  <name>start_el</name>
3140
  <full_name>start_el</full_name>
3141
- <docblock line="878">
3142
  <description><![CDATA[Start the element output.]]></description>
3143
  <long-description><![CDATA[]]></long-description>
3144
- <tag line="878" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
3145
- <tag line="878" name="since" description="1.80"/>
3146
- <tag line="878" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
3147
  <type by_reference="false">string</type>
3148
  </tag>
3149
- <tag line="878" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
3150
  <type by_reference="false">object</type>
3151
  </tag>
3152
- <tag line="878" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
3153
  <type by_reference="false">int</type>
3154
  </tag>
3155
- <tag line="878" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
3156
  <type by_reference="false">array</type>
3157
  </tag>
3158
- <tag line="878" name="param" description="ID of the current category." type="int" variable="$id">
3159
  <type by_reference="false">int</type>
3160
  </tag>
3161
  </docblock>
3162
- <argument line="891">
3163
  <name>$output</name>
3164
  <default><![CDATA[]]></default>
3165
  <type/>
3166
  </argument>
3167
- <argument line="891">
3168
  <name>$taxonomy_object</name>
3169
  <default><![CDATA[]]></default>
3170
  <type/>
3171
  </argument>
3172
- <argument line="891">
3173
  <name>$depth</name>
3174
  <default><![CDATA[0]]></default>
3175
  <type/>
3176
  </argument>
3177
- <argument line="891">
3178
  <name>$args</name>
3179
  <default><![CDATA[array()]]></default>
3180
  <type/>
3181
  </argument>
3182
- <argument line="891">
3183
  <name>$id</name>
3184
  <default><![CDATA[0]]></default>
3185
  <type/>
3186
  </argument>
3187
  </method>
3188
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="924" package="Media Library Assistant">
3189
  <name>end_el</name>
3190
  <full_name>end_el</full_name>
3191
- <docblock line="912">
3192
  <description><![CDATA[Ends the element output, if needed.]]></description>
3193
  <long-description><![CDATA[]]></long-description>
3194
- <tag line="912" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
3195
- <tag line="912" name="since" description="1.80"/>
3196
- <tag line="912" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
3197
  <type by_reference="false">string</type>
3198
  </tag>
3199
- <tag line="912" name="param" description="The current term object." type="object" variable="$category">
3200
  <type by_reference="false">object</type>
3201
  </tag>
3202
- <tag line="912" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
3203
  <type by_reference="false">int</type>
3204
  </tag>
3205
- <tag line="912" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
3206
  <type by_reference="false">array</type>
3207
  </tag>
3208
  </docblock>
3209
- <argument line="924">
3210
  <name>$output</name>
3211
  <default><![CDATA[]]></default>
3212
  <type/>
3213
  </argument>
3214
- <argument line="924">
3215
  <name>$category</name>
3216
  <default><![CDATA[]]></default>
3217
  <type/>
3218
  </argument>
3219
- <argument line="924">
3220
  <name>$depth</name>
3221
  <default><![CDATA[0]]></default>
3222
  <type/>
3223
  </argument>
3224
- <argument line="924">
3225
  <name>$args</name>
3226
  <default><![CDATA[array()]]></default>
3227
  <type/>
@@ -3229,7 +3246,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-descri
3229
  </method>
3230
  </class>
3231
  </file>
3232
- <file path="includes\class-mla-list-table.php" hash="504fe98d3323f0b3ddbb4bce0aaa3e69" package="Media Library Assistant">
3233
  <docblock line="2">
3234
  <description><![CDATA[Media Library Assistant extended List Table class]]></description>
3235
  <long-description><![CDATA[]]></long-description>
@@ -3623,674 +3640,694 @@ a specific method, so this function returns a troubleshooting message.</p>]]></l
3623
  <type/>
3624
  </argument>
3625
  </method>
3626
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="694" package="Media Library Assistant">
3627
  <name>column_cb</name>
3628
  <full_name>column_cb</full_name>
3629
- <docblock line="685">
3630
  <description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
3631
  <long-description><![CDATA[<p>The 'cb' column
3632
  is given special treatment when columns are processed.</p>]]></long-description>
3633
- <tag line="685" name="since" description="0.1"/>
3634
- <tag line="685" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3635
  <type by_reference="false">array</type>
3636
  </tag>
3637
- <tag line="685" name="return" description="HTML markup to be placed inside the column" type="string">
3638
  <type by_reference="false">string</type>
3639
  </tag>
3640
  </docblock>
3641
- <argument line="694">
3642
  <name>$item</name>
3643
  <default><![CDATA[]]></default>
3644
  <type/>
3645
  </argument>
3646
  </method>
3647
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="709" package="Media Library Assistant">
3648
  <name>column_icon</name>
3649
  <full_name>column_icon</full_name>
3650
- <docblock line="701">
3651
  <description><![CDATA[Supply the content for a custom column]]></description>
3652
  <long-description><![CDATA[]]></long-description>
3653
- <tag line="701" name="since" description="0.1"/>
3654
- <tag line="701" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3655
  <type by_reference="false">array</type>
3656
  </tag>
3657
- <tag line="701" name="return" description="HTML markup to be placed inside the column" type="string">
3658
  <type by_reference="false">string</type>
3659
  </tag>
3660
  </docblock>
3661
- <argument line="709">
3662
  <name>$item</name>
3663
  <default><![CDATA[]]></default>
3664
  <type/>
3665
  </argument>
3666
  </method>
3667
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="761" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3668
  <name>_build_rollover_actions</name>
3669
  <full_name>_build_rollover_actions</full_name>
3670
- <docblock line="750">
3671
  <description><![CDATA[Add rollover actions to exactly one of the following displayed columns:
3672
  'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
3673
  <long-description><![CDATA[]]></long-description>
3674
- <tag line="750" name="since" description="0.1"/>
3675
- <tag line="750" name="param" description="A singular attachment (post) object" type="object" variable="$item">
3676
  <type by_reference="false">object</type>
3677
  </tag>
3678
- <tag line="750" name="param" description="Current column name" type="string" variable="$column">
3679
  <type by_reference="false">string</type>
3680
  </tag>
3681
- <tag line="750" name="return" description="Names and URLs of row-level actions" type="array">
3682
  <type by_reference="false">array</type>
3683
  </tag>
3684
  </docblock>
3685
- <argument line="761">
3686
  <name>$item</name>
3687
  <default><![CDATA[]]></default>
3688
  <type/>
3689
  </argument>
3690
- <argument line="761">
3691
  <name>$column</name>
3692
  <default><![CDATA[]]></default>
3693
  <type/>
3694
  </argument>
3695
  </method>
3696
- <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="835" package="Media Library Assistant">
3697
  <name>_build_inline_data</name>
3698
  <full_name>_build_inline_data</full_name>
3699
- <docblock line="826">
3700
  <description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
3701
  <long-description><![CDATA[]]></long-description>
3702
- <tag line="826" name="since" description="0.20"/>
3703
- <tag line="826" name="param" description="A singular attachment (post) object" type="object" variable="$item">
3704
  <type by_reference="false">object</type>
3705
  </tag>
3706
- <tag line="826" name="return" description="HTML &lt;div&gt; with row data" type="string">
3707
  <type by_reference="false">string</type>
3708
  </tag>
3709
  </docblock>
3710
- <argument line="835">
3711
  <name>$item</name>
3712
  <default><![CDATA[]]></default>
3713
  <type/>
3714
  </argument>
3715
  </method>
3716
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="921" package="Media Library Assistant">
3717
  <name>column_ID_parent</name>
3718
  <full_name>column_ID_parent</full_name>
3719
- <docblock line="913">
3720
  <description><![CDATA[Supply the content for a custom column]]></description>
3721
  <long-description><![CDATA[]]></long-description>
3722
- <tag line="913" name="since" description="0.1"/>
3723
- <tag line="913" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3724
  <type by_reference="false">array</type>
3725
  </tag>
3726
- <tag line="913" name="return" description="HTML markup to be placed inside the column" type="string">
3727
  <type by_reference="false">string</type>
3728
  </tag>
3729
  </docblock>
3730
- <argument line="921">
3731
  <name>$item</name>
3732
  <default><![CDATA[]]></default>
3733
  <type/>
3734
  </argument>
3735
  </method>
3736
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="954" package="Media Library Assistant">
3737
  <name>column_title_name</name>
3738
  <full_name>column_title_name</full_name>
3739
- <docblock line="946">
3740
  <description><![CDATA[Supply the content for a custom column]]></description>
3741
  <long-description><![CDATA[]]></long-description>
3742
- <tag line="946" name="since" description="0.1"/>
3743
- <tag line="946" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3744
  <type by_reference="false">array</type>
3745
  </tag>
3746
- <tag line="946" name="return" description="HTML markup to be placed inside the column" type="string">
3747
  <type by_reference="false">string</type>
3748
  </tag>
3749
  </docblock>
3750
- <argument line="954">
3751
  <name>$item</name>
3752
  <default><![CDATA[]]></default>
3753
  <type/>
3754
  </argument>
3755
  </method>
3756
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="978" package="Media Library Assistant">
3757
  <name>column_post_title</name>
3758
  <full_name>column_post_title</full_name>
3759
- <docblock line="970">
3760
  <description><![CDATA[Supply the content for a custom column]]></description>
3761
  <long-description><![CDATA[]]></long-description>
3762
- <tag line="970" name="since" description="0.1"/>
3763
- <tag line="970" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3764
  <type by_reference="false">array</type>
3765
  </tag>
3766
- <tag line="970" name="return" description="HTML markup to be placed inside the column" type="string">
3767
  <type by_reference="false">string</type>
3768
  </tag>
3769
  </docblock>
3770
- <argument line="978">
3771
  <name>$item</name>
3772
  <default><![CDATA[]]></default>
3773
  <type/>
3774
  </argument>
3775
  </method>
3776
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="996" package="Media Library Assistant">
3777
  <name>column_post_name</name>
3778
  <full_name>column_post_name</full_name>
3779
- <docblock line="988">
3780
  <description><![CDATA[Supply the content for a custom column]]></description>
3781
  <long-description><![CDATA[]]></long-description>
3782
- <tag line="988" name="since" description="0.1"/>
3783
- <tag line="988" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3784
  <type by_reference="false">array</type>
3785
  </tag>
3786
- <tag line="988" name="return" description="HTML markup to be placed inside the column" type="string">
3787
  <type by_reference="false">string</type>
3788
  </tag>
3789
  </docblock>
3790
- <argument line="996">
3791
  <name>$item</name>
3792
  <default><![CDATA[]]></default>
3793
  <type/>
3794
  </argument>
3795
  </method>
3796
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1014" package="Media Library Assistant">
3797
  <name>column_parent</name>
3798
  <full_name>column_parent</full_name>
3799
- <docblock line="1006">
3800
  <description><![CDATA[Supply the content for a custom column]]></description>
3801
  <long-description><![CDATA[]]></long-description>
3802
- <tag line="1006" name="since" description="0.1"/>
3803
- <tag line="1006" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3804
  <type by_reference="false">array</type>
3805
  </tag>
3806
- <tag line="1006" name="return" description="HTML markup to be placed inside the column" type="string">
3807
  <type by_reference="false">string</type>
3808
  </tag>
3809
  </docblock>
3810
- <argument line="1014">
3811
  <name>$item</name>
3812
  <default><![CDATA[]]></default>
3813
  <type/>
3814
  </argument>
3815
  </method>
3816
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1040" package="Media Library Assistant">
3817
  <name>column_menu_order</name>
3818
  <full_name>column_menu_order</full_name>
3819
- <docblock line="1032">
3820
  <description><![CDATA[Supply the content for a custom column]]></description>
3821
  <long-description><![CDATA[]]></long-description>
3822
- <tag line="1032" name="since" description="0.60"/>
3823
- <tag line="1032" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3824
  <type by_reference="false">array</type>
3825
  </tag>
3826
- <tag line="1032" name="return" description="HTML markup to be placed inside the column" type="string">
3827
  <type by_reference="false">string</type>
3828
  </tag>
3829
  </docblock>
3830
- <argument line="1040">
3831
  <name>$item</name>
3832
  <default><![CDATA[]]></default>
3833
  <type/>
3834
  </argument>
3835
  </method>
3836
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1052" package="Media Library Assistant">
3837
  <name>column_featured</name>
3838
  <full_name>column_featured</full_name>
3839
- <docblock line="1044">
3840
  <description><![CDATA[Supply the content for a custom column]]></description>
3841
  <long-description><![CDATA[]]></long-description>
3842
- <tag line="1044" name="since" description="0.1"/>
3843
- <tag line="1044" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3844
  <type by_reference="false">array</type>
3845
  </tag>
3846
- <tag line="1044" name="return" description="HTML markup to be placed inside the column" type="string">
3847
  <type by_reference="false">string</type>
3848
  </tag>
3849
  </docblock>
3850
- <argument line="1052">
3851
  <name>$item</name>
3852
  <default><![CDATA[]]></default>
3853
  <type/>
3854
  </argument>
3855
  </method>
3856
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1086" package="Media Library Assistant">
3857
  <name>column_inserted</name>
3858
  <full_name>column_inserted</full_name>
3859
- <docblock line="1078">
3860
  <description><![CDATA[Supply the content for a custom column]]></description>
3861
  <long-description><![CDATA[]]></long-description>
3862
- <tag line="1078" name="since" description="0.1"/>
3863
- <tag line="1078" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3864
  <type by_reference="false">array</type>
3865
  </tag>
3866
- <tag line="1078" name="return" description="HTML markup to be placed inside the column" type="string">
3867
  <type by_reference="false">string</type>
3868
  </tag>
3869
  </docblock>
3870
- <argument line="1086">
3871
  <name>$item</name>
3872
  <default><![CDATA[]]></default>
3873
  <type/>
3874
  </argument>
3875
  </method>
3876
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1124" package="Media Library Assistant">
3877
  <name>column_galleries</name>
3878
  <full_name>column_galleries</full_name>
3879
- <docblock line="1116">
3880
  <description><![CDATA[Supply the content for a custom column]]></description>
3881
  <long-description><![CDATA[]]></long-description>
3882
- <tag line="1116" name="since" description="0.70"/>
3883
- <tag line="1116" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3884
  <type by_reference="false">array</type>
3885
  </tag>
3886
- <tag line="1116" name="return" description="HTML markup to be placed inside the column" type="string">
3887
  <type by_reference="false">string</type>
3888
  </tag>
3889
  </docblock>
3890
- <argument line="1124">
3891
  <name>$item</name>
3892
  <default><![CDATA[]]></default>
3893
  <type/>
3894
  </argument>
3895
  </method>
3896
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1158" package="Media Library Assistant">
3897
  <name>column_mla_galleries</name>
3898
  <full_name>column_mla_galleries</full_name>
3899
- <docblock line="1150">
3900
  <description><![CDATA[Supply the content for a custom column]]></description>
3901
  <long-description><![CDATA[]]></long-description>
3902
- <tag line="1150" name="since" description="0.70"/>
3903
- <tag line="1150" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3904
  <type by_reference="false">array</type>
3905
  </tag>
3906
- <tag line="1150" name="return" description="HTML markup to be placed inside the column" type="string">
3907
  <type by_reference="false">string</type>
3908
  </tag>
3909
  </docblock>
3910
- <argument line="1158">
3911
  <name>$item</name>
3912
  <default><![CDATA[]]></default>
3913
  <type/>
3914
  </argument>
3915
  </method>
3916
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1192" package="Media Library Assistant">
3917
  <name>column_alt_text</name>
3918
  <full_name>column_alt_text</full_name>
3919
- <docblock line="1184">
3920
  <description><![CDATA[Supply the content for a custom column]]></description>
3921
  <long-description><![CDATA[]]></long-description>
3922
- <tag line="1184" name="since" description="0.1"/>
3923
- <tag line="1184" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3924
  <type by_reference="false">array</type>
3925
  </tag>
3926
- <tag line="1184" name="return" description="HTML markup to be placed inside the column" type="string">
3927
  <type by_reference="false">string</type>
3928
  </tag>
3929
  </docblock>
3930
- <argument line="1192">
3931
  <name>$item</name>
3932
  <default><![CDATA[]]></default>
3933
  <type/>
3934
  </argument>
3935
  </method>
3936
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1219" package="Media Library Assistant">
3937
  <name>column_caption</name>
3938
  <full_name>column_caption</full_name>
3939
- <docblock line="1211">
3940
  <description><![CDATA[Supply the content for a custom column]]></description>
3941
  <long-description><![CDATA[]]></long-description>
3942
- <tag line="1211" name="since" description="0.1"/>
3943
- <tag line="1211" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3944
  <type by_reference="false">array</type>
3945
  </tag>
3946
- <tag line="1211" name="return" description="HTML markup to be placed inside the column" type="string">
3947
  <type by_reference="false">string</type>
3948
  </tag>
3949
  </docblock>
3950
- <argument line="1219">
3951
  <name>$item</name>
3952
  <default><![CDATA[]]></default>
3953
  <type/>
3954
  </argument>
3955
  </method>
3956
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1231" package="Media Library Assistant">
3957
  <name>column_description</name>
3958
  <full_name>column_description</full_name>
3959
- <docblock line="1223">
3960
  <description><![CDATA[Supply the content for a custom column]]></description>
3961
  <long-description><![CDATA[]]></long-description>
3962
- <tag line="1223" name="since" description="0.1"/>
3963
- <tag line="1223" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3964
  <type by_reference="false">array</type>
3965
  </tag>
3966
- <tag line="1223" name="return" description="HTML markup to be placed inside the column" type="string">
3967
  <type by_reference="false">string</type>
3968
  </tag>
3969
  </docblock>
3970
- <argument line="1231">
3971
  <name>$item</name>
3972
  <default><![CDATA[]]></default>
3973
  <type/>
3974
  </argument>
3975
  </method>
3976
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1243" package="Media Library Assistant">
3977
  <name>column_post_mime_type</name>
3978
  <full_name>column_post_mime_type</full_name>
3979
- <docblock line="1235">
3980
  <description><![CDATA[Supply the content for a custom column]]></description>
3981
  <long-description><![CDATA[]]></long-description>
3982
- <tag line="1235" name="since" description="0.30"/>
3983
- <tag line="1235" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3984
  <type by_reference="false">array</type>
3985
  </tag>
3986
- <tag line="1235" name="return" description="HTML markup to be placed inside the column" type="string">
3987
  <type by_reference="false">string</type>
3988
  </tag>
3989
  </docblock>
3990
- <argument line="1243">
3991
  <name>$item</name>
3992
  <default><![CDATA[]]></default>
3993
  <type/>
3994
  </argument>
3995
  </method>
3996
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1259" package="Media Library Assistant">
3997
  <name>column_file_url</name>
3998
  <full_name>column_file_url</full_name>
3999
- <docblock line="1251">
4000
  <description><![CDATA[Supply the content for a custom column]]></description>
4001
  <long-description><![CDATA[]]></long-description>
4002
- <tag line="1251" name="since" description="0.1"/>
4003
- <tag line="1251" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4004
  <type by_reference="false">array</type>
4005
  </tag>
4006
- <tag line="1251" name="return" description="HTML markup to be placed inside the column" type="string">
4007
  <type by_reference="false">string</type>
4008
  </tag>
4009
  </docblock>
4010
- <argument line="1259">
4011
  <name>$item</name>
4012
  <default><![CDATA[]]></default>
4013
  <type/>
4014
  </argument>
4015
  </method>
4016
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1273" package="Media Library Assistant">
4017
  <name>column_base_file</name>
4018
  <full_name>column_base_file</full_name>
4019
- <docblock line="1265">
4020
  <description><![CDATA[Supply the content for a custom column]]></description>
4021
  <long-description><![CDATA[]]></long-description>
4022
- <tag line="1265" name="since" description="0.1"/>
4023
- <tag line="1265" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4024
  <type by_reference="false">array</type>
4025
  </tag>
4026
- <tag line="1265" name="return" description="HTML markup to be placed inside the column" type="string">
4027
  <type by_reference="false">string</type>
4028
  </tag>
4029
  </docblock>
4030
- <argument line="1273">
4031
  <name>$item</name>
4032
  <default><![CDATA[]]></default>
4033
  <type/>
4034
  </argument>
4035
  </method>
4036
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1290" package="Media Library Assistant">
4037
  <name>column_date</name>
4038
  <full_name>column_date</full_name>
4039
- <docblock line="1282">
4040
  <description><![CDATA[Supply the content for a custom column]]></description>
4041
  <long-description><![CDATA[]]></long-description>
4042
- <tag line="1282" name="since" description="0.1"/>
4043
- <tag line="1282" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4044
  <type by_reference="false">array</type>
4045
  </tag>
4046
- <tag line="1282" name="return" description="HTML markup to be placed inside the column" type="string">
4047
  <type by_reference="false">string</type>
4048
  </tag>
4049
  </docblock>
4050
- <argument line="1290">
4051
  <name>$item</name>
4052
  <default><![CDATA[]]></default>
4053
  <type/>
4054
  </argument>
4055
  </method>
4056
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1325" package="Media Library Assistant">
4057
  <name>column_modified</name>
4058
  <full_name>column_modified</full_name>
4059
- <docblock line="1317">
4060
  <description><![CDATA[Supply the content for a custom column]]></description>
4061
  <long-description><![CDATA[]]></long-description>
4062
- <tag line="1317" name="since" description="0.30"/>
4063
- <tag line="1317" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4064
  <type by_reference="false">array</type>
4065
  </tag>
4066
- <tag line="1317" name="return" description="HTML markup to be placed inside the column" type="string">
4067
  <type by_reference="false">string</type>
4068
  </tag>
4069
  </docblock>
4070
- <argument line="1325">
4071
  <name>$item</name>
4072
  <default><![CDATA[]]></default>
4073
  <type/>
4074
  </argument>
4075
  </method>
4076
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1354" package="Media Library Assistant">
4077
  <name>column_author</name>
4078
  <full_name>column_author</full_name>
4079
- <docblock line="1346">
4080
  <description><![CDATA[Supply the content for a custom column]]></description>
4081
  <long-description><![CDATA[]]></long-description>
4082
- <tag line="1346" name="since" description="0.30"/>
4083
- <tag line="1346" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4084
  <type by_reference="false">array</type>
4085
  </tag>
4086
- <tag line="1346" name="return" description="HTML markup to be placed inside the column" type="string">
4087
  <type by_reference="false">string</type>
4088
  </tag>
4089
  </docblock>
4090
- <argument line="1354">
4091
  <name>$item</name>
4092
  <default><![CDATA[]]></default>
4093
  <type/>
4094
  </argument>
4095
  </method>
4096
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1376" package="Media Library Assistant">
4097
  <name>column_attached_to</name>
4098
  <full_name>column_attached_to</full_name>
4099
- <docblock line="1368">
4100
  <description><![CDATA[Supply the content for a custom column]]></description>
4101
  <long-description><![CDATA[]]></long-description>
4102
- <tag line="1368" name="since" description="0.1"/>
4103
- <tag line="1368" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4104
  <type by_reference="false">array</type>
4105
  </tag>
4106
- <tag line="1368" name="return" description="HTML markup to be placed inside the column" type="string">
4107
  <type by_reference="false">string</type>
4108
  </tag>
4109
  </docblock>
4110
- <argument line="1376">
4111
  <name>$item</name>
4112
  <default><![CDATA[]]></default>
4113
  <type/>
4114
  </argument>
4115
  </method>
4116
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1413" package="Media Library Assistant">
4117
  <name>pagination</name>
4118
  <full_name>pagination</full_name>
4119
- <docblock line="1405">
4120
  <description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
4121
  <long-description><![CDATA[]]></long-description>
4122
- <tag line="1405" name="since" description="1.42"/>
4123
- <tag line="1405" name="param" description="'top' | 'bottom'" type="string" variable="$which">
4124
  <type by_reference="false">string</type>
4125
  </tag>
4126
- <tag line="1405" name="return" description="" type="void">
4127
  <type by_reference="false">void</type>
4128
  </tag>
4129
  </docblock>
4130
- <argument line="1413">
4131
  <name>$which</name>
4132
  <default><![CDATA[]]></default>
4133
  <type/>
4134
  </argument>
4135
  </method>
4136
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1427" package="Media Library Assistant">
4137
  <name>get_columns</name>
4138
  <full_name>get_columns</full_name>
4139
- <docblock line="1420">
4140
  <description><![CDATA[This method dictates the table's columns and titles]]></description>
4141
  <long-description><![CDATA[]]></long-description>
4142
- <tag line="1420" name="since" description="0.1"/>
4143
- <tag line="1420" name="return" description="Column information: 'slugs'=&gt;'Visible Titles'" type="array">
4144
  <type by_reference="false">array</type>
4145
  </tag>
4146
  </docblock>
4147
  </method>
4148
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1439" package="Media Library Assistant">
4149
  <name>get_hidden_columns</name>
4150
  <full_name>get_hidden_columns</full_name>
4151
- <docblock line="1431">
4152
  <description><![CDATA[Returns the list of currently hidden columns from a user option or
4153
  from default values if the option is not set]]></description>
4154
  <long-description><![CDATA[]]></long-description>
4155
- <tag line="1431" name="since" description="0.1"/>
4156
- <tag line="1431" name="return" description="Column information,e.g., array(0 =&gt; 'ID_parent, 1 =&gt; 'title_name')" type="array">
4157
  <type by_reference="false">array</type>
4158
  </tag>
4159
  </docblock>
4160
  </method>
4161
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1464" package="Media Library Assistant">
4162
  <name>get_sortable_columns</name>
4163
  <full_name>get_sortable_columns</full_name>
4164
- <docblock line="1455">
4165
  <description><![CDATA[Returns an array where the key is the column that needs to be sortable
4166
  and the value is db column (or other criteria) to sort by.]]></description>
4167
  <long-description><![CDATA[]]></long-description>
4168
- <tag line="1455" name="since" description="0.1"/>
4169
- <tag line="1455" name="return" description="Sortable column information,e.g., 'slug' =&gt; array('data_value', (boolean) initial_descending )" type="array">
4170
  <type by_reference="false">array</type>
4171
  </tag>
4172
  </docblock>
4173
  </method>
4174
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1475" package="Media Library Assistant">
4175
  <name>print_column_headers</name>
4176
  <full_name>print_column_headers</full_name>
4177
- <docblock line="1468">
4178
  <description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
4179
  <long-description><![CDATA[]]></long-description>
4180
- <tag line="1468" name="since" description="1.42"/>
4181
- <tag line="1468" name="param" description="Whether to set the id attribute or not" type="bool" variable="$with_id">
4182
  <type by_reference="false">bool</type>
4183
  </tag>
4184
  </docblock>
4185
- <argument line="1475">
4186
  <name>$with_id</name>
4187
  <default><![CDATA[true]]></default>
4188
  <type/>
4189
  </argument>
4190
  </method>
4191
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1492" package="Media Library Assistant">
4192
  <name>_get_view</name>
4193
  <full_name>_get_view</full_name>
4194
- <docblock line="1482">
4195
  <description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
4196
  <long-description><![CDATA[]]></long-description>
4197
- <tag line="1482" name="since" description="1.40"/>
4198
- <tag line="1482" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
4199
  <type by_reference="false">string</type>
4200
  </tag>
4201
- <tag line="1482" name="param" description="Slug for current view" type="string" variable="$current_view">
4202
  <type by_reference="false">string</type>
4203
  </tag>
4204
- <tag line="1482" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
4205
  <type by_reference="false">string</type>
4206
  </tag>
4207
  </docblock>
4208
- <argument line="1492">
4209
  <name>$view_slug</name>
4210
  <default><![CDATA[]]></default>
4211
  <type/>
4212
  </argument>
4213
- <argument line="1492">
4214
  <name>$current_view</name>
4215
  <default><![CDATA[]]></default>
4216
  <type/>
4217
  </argument>
4218
  </method>
4219
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1619" package="Media Library Assistant">
4220
  <name>get_views</name>
4221
  <full_name>get_views</full_name>
4222
- <docblock line="1611">
4223
  <description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
4224
  <long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
4225
- <tag line="1611" name="since" description="0.1"/>
4226
- <tag line="1611" name="return" description="View information,e.g., array ( id =&gt; link )" type="array">
4227
  <type by_reference="false">array</type>
4228
  </tag>
4229
  </docblock>
4230
  </method>
4231
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1675" package="Media Library Assistant">
4232
  <name>get_bulk_actions</name>
4233
  <full_name>get_bulk_actions</full_name>
4234
- <docblock line="1667">
4235
  <description><![CDATA[Get an associative array ( option_name => option_title ) with the list
4236
  of bulk actions available on this table.]]></description>
4237
  <long-description><![CDATA[]]></long-description>
4238
- <tag line="1667" name="since" description="0.1"/>
4239
- <tag line="1667" name="return" description="Contains all the bulk actions: 'slugs'=&gt;'Visible Titles'" type="array">
4240
  <type by_reference="false">array</type>
4241
  </tag>
4242
  </docblock>
4243
  </method>
4244
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1705" package="Media Library Assistant">
4245
  <name>extra_tablenav</name>
4246
  <full_name>extra_tablenav</full_name>
4247
- <docblock line="1694">
4248
  <description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
4249
  <long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
4250
- <tag line="1694" name="since" description="0.1"/>
4251
- <tag line="1694" name="param" description="'top' or 'bottom', i.e., above or below the table rows" type="string" variable="$which">
4252
  <type by_reference="false">string</type>
4253
  </tag>
4254
- <tag line="1694" name="return" description="Contains all the bulk actions: 'slugs'=&gt;'Visible Titles'" type="array">
4255
  <type by_reference="false">array</type>
4256
  </tag>
4257
  </docblock>
4258
- <argument line="1705">
4259
  <name>$which</name>
4260
  <default><![CDATA[]]></default>
4261
  <type/>
4262
  </argument>
4263
  </method>
4264
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1745" package="Media Library Assistant">
4265
  <name>prepare_items</name>
4266
  <full_name>prepare_items</full_name>
4267
- <docblock line="1733">
4268
  <description><![CDATA[Prepares the list of items for displaying]]></description>
4269
  <long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
4270
  be used to query the database, sort and filter the data, and generally
4271
  get it ready to be displayed. At a minimum, we should set $this->items and
4272
  $this->set_pagination_args().</p>]]></long-description>
4273
- <tag line="1733" name="since" description="0.1"/>
4274
- <tag line="1733" name="return" description="" type="void">
4275
  <type by_reference="false">void</type>
4276
  </tag>
4277
  </docblock>
4278
  </method>
4279
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1800" package="Media Library Assistant">
4280
  <name>single_row</name>
4281
  <full_name>single_row</full_name>
4282
- <docblock line="1791">
4283
  <description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
4284
  <long-description><![CDATA[]]></long-description>
4285
- <tag line="1791" name="since" description=".20"/>
4286
- <tag line="1791" name="param" description="the current item" type="object" variable="$item">
4287
  <type by_reference="false">object</type>
4288
  </tag>
4289
- <tag line="1791" name="return" description="Echoes the row HTML" type="void">
4290
  <type by_reference="false">void</type>
4291
  </tag>
4292
  </docblock>
4293
- <argument line="1800">
4294
  <name>$item</name>
4295
  <default><![CDATA[]]></default>
4296
  <type/>
@@ -4298,7 +4335,7 @@ $this->set_pagination_args().</p>]]></long-description>
4298
  </method>
4299
  </class>
4300
  </file>
4301
- <file path="includes\class-mla-main.php" hash="b80589e35029cfbfc5c48ce7971495ba" package="Media Library Assistant">
4302
  <docblock line="2">
4303
  <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
4304
  <long-description><![CDATA[]]></long-description>
@@ -4308,7 +4345,7 @@ $this->set_pagination_args().</p>]]></long-description>
4308
  <include line="13" type="Require Once" package="Media Library Assistant">
4309
  <name/>
4310
  </include>
4311
- <include line="1417" type="Require Once" package="Media Library Assistant">
4312
  <name/>
4313
  </include>
4314
  <class final="false" abstract="false" namespace="global" line="23" package="Media Library Assistant">
@@ -4325,7 +4362,7 @@ of images and files held in the WordPress Media Library.]]></description>
4325
  <constant namespace="global" line="32" package="Media Library Assistant">
4326
  <name>CURRENT_MLA_VERSION</name>
4327
  <full_name>CURRENT_MLA_VERSION</full_name>
4328
- <value><![CDATA['2.00']]></value>
4329
  <docblock line="25">
4330
  <description><![CDATA[Current version number]]></description>
4331
  <long-description><![CDATA[]]></long-description>
@@ -4833,262 +4870,262 @@ going to the Edit Media screen.</p>]]></long-description>
4833
  <type/>
4834
  </argument>
4835
  </method>
4836
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1106" package="Media Library Assistant">
4837
  <name>mla_render_admin_page</name>
4838
  <full_name>mla_render_admin_page</full_name>
4839
- <docblock line="1099">
4840
  <description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
4841
  <long-description><![CDATA[]]></long-description>
4842
- <tag line="1099" name="since" description="0.1"/>
4843
- <tag line="1099" name="return" description="" type="void">
4844
  <type by_reference="false">void</type>
4845
  </tag>
4846
  </docblock>
4847
  </method>
4848
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1470" package="Media Library Assistant">
4849
  <name>mla_find_posts_ajax_action</name>
4850
  <full_name>mla_find_posts_ajax_action</full_name>
4851
- <docblock line="1460">
4852
  <description><![CDATA[Ajax handler to fetch candidates for the "Set Parent" popup window]]></description>
4853
  <long-description><![CDATA[<p>Adapted from wp_ajax_find_posts in /wp-admin/includes/ajax-actions.php.
4854
  Adds filters for post type and pagination.</p>]]></long-description>
4855
- <tag line="1460" name="since" description="1.90"/>
4856
- <tag line="1460" name="return" description="passes results to wp_send_json_success() for JSON encoding and transmission" type="void">
4857
  <type by_reference="false">void</type>
4858
  </tag>
4859
  </docblock>
4860
  </method>
4861
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1557" package="Media Library Assistant">
4862
  <name>mla_set_parent_ajax_action</name>
4863
  <full_name>mla_set_parent_ajax_action</full_name>
4864
- <docblock line="1548">
4865
  <description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
4866
  <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4867
- <tag line="1548" name="since" description="0.20"/>
4868
- <tag line="1548" name="return" description="echo HTML &lt;td&gt; innerHTML for updated call or error message, then die()" type="void">
4869
  <type by_reference="false">void</type>
4870
  </tag>
4871
  </docblock>
4872
  </method>
4873
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1591" package="Media Library Assistant">
4874
  <name>_bulk_edit_ajax_handler</name>
4875
  <full_name>_bulk_edit_ajax_handler</full_name>
4876
- <docblock line="1584">
4877
  <description><![CDATA[Ajax handler for bulk editing and mapping]]></description>
4878
  <long-description><![CDATA[]]></long-description>
4879
- <tag line="1584" name="since" description="2.00"/>
4880
- <tag line="1584" name="return" description="echo json results or error message, then die()" type="void">
4881
  <type by_reference="false">void</type>
4882
  </tag>
4883
  </docblock>
4884
  </method>
4885
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1619" package="Media Library Assistant">
4886
  <name>mla_inline_edit_ajax_action</name>
4887
  <full_name>mla_inline_edit_ajax_action</full_name>
4888
- <docblock line="1610">
4889
  <description><![CDATA[Ajax handler for inline editing]]></description>
4890
  <long-description><![CDATA[<p>Adapted for Quick Edit from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4891
- <tag line="1610" name="since" description="0.20"/>
4892
- <tag line="1610" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
4893
  <type by_reference="false">void</type>
4894
  </tag>
4895
  </docblock>
4896
  </method>
4897
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1740" package="Media Library Assistant">
4898
  <name>_compose_post_type_select</name>
4899
  <full_name>_compose_post_type_select</full_name>
4900
- <docblock line="1729">
4901
  <description><![CDATA[Compose a Post Type Options list with current selection]]></description>
4902
  <long-description><![CDATA[]]></long-description>
4903
- <tag line="1729" name="since" description="1.90"/>
4904
- <tag line="1729" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
4905
- <tag line="1729" name="param" description="template parts" type="array" variable="$templates">
4906
  <type by_reference="false">array</type>
4907
  </tag>
4908
- <tag line="1729" name="param" description="current selection or 'all' (default)" type="string" variable="$selection">
4909
  <type by_reference="false">string</type>
4910
  </tag>
4911
- <tag line="1729" name="return" description="HTML markup with select field options" type="string">
4912
  <type by_reference="false">string</type>
4913
  </tag>
4914
  </docblock>
4915
- <argument line="1740">
4916
  <name>$templates</name>
4917
  <default><![CDATA[]]></default>
4918
  <type/>
4919
  </argument>
4920
- <argument line="1740">
4921
  <name>$selection</name>
4922
  <default><![CDATA['all']]></default>
4923
  <type/>
4924
  </argument>
4925
  </method>
4926
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1779" package="Media Library Assistant">
4927
  <name>mla_set_parent_form</name>
4928
  <full_name>mla_set_parent_form</full_name>
4929
- <docblock line="1770">
4930
  <description><![CDATA[Build the hidden form for the "Set Parent" popup modal window]]></description>
4931
  <long-description><![CDATA[]]></long-description>
4932
- <tag line="1770" name="since" description="1.90"/>
4933
- <tag line="1770" name="param" description="true to return complete form, false to return mla-set-parent-div" type="boolean" variable="$return_form">
4934
  <type by_reference="false">boolean</type>
4935
  </tag>
4936
- <tag line="1770" name="return" description="HTML &lt;form&gt; markup for hidden form" type="string">
4937
  <type by_reference="false">string</type>
4938
  </tag>
4939
  </docblock>
4940
- <argument line="1779">
4941
  <name>$return_form</name>
4942
  <default><![CDATA[true]]></default>
4943
  <type/>
4944
  </argument>
4945
  </method>
4946
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1842" package="Media Library Assistant">
4947
  <name>_build_inline_edit_form</name>
4948
  <full_name>_build_inline_edit_form</full_name>
4949
- <docblock line="1831">
4950
  <description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
4951
  <long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
4952
- <tag line="1831" name="since" description="0.20"/>
4953
- <tag line="1831" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
4954
  <type by_reference="false">object</type>
4955
  </tag>
4956
- <tag line="1831" name="return" description="HTML &lt;form&gt; markup for hidden rows" type="string">
4957
  <type by_reference="false">string</type>
4958
  </tag>
4959
  </docblock>
4960
- <argument line="1842">
4961
  <name>$MLAListTable</name>
4962
  <default><![CDATA[]]></default>
4963
  <type/>
4964
  </argument>
4965
  </method>
4966
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2037" package="Media Library Assistant">
4967
  <name>_authors_dropdown</name>
4968
  <full_name>_authors_dropdown</full_name>
4969
- <docblock line="2026">
4970
  <description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
4971
  <long-description><![CDATA[]]></long-description>
4972
- <tag line="2026" name="since" description="0.20"/>
4973
- <tag line="2026" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
4974
  <type by_reference="false">integer</type>
4975
  </tag>
4976
- <tag line="2026" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
4977
  <type by_reference="false">string</type>
4978
  </tag>
4979
- <tag line="2026" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
4980
  <type by_reference="false">string</type>
4981
  </tag>
4982
- <tag line="2026" name="return" description="HTML markup for the dropdown field or False" type="string|false">
4983
  <type by_reference="false">string</type>
4984
  <type by_reference="false">false</type>
4985
  </tag>
4986
  </docblock>
4987
- <argument line="2037">
4988
  <name>$author</name>
4989
  <default><![CDATA[0]]></default>
4990
  <type/>
4991
  </argument>
4992
- <argument line="2037">
4993
  <name>$name</name>
4994
  <default><![CDATA['post_author']]></default>
4995
  <type/>
4996
  </argument>
4997
- <argument line="2037">
4998
  <name>$class</name>
4999
  <default><![CDATA['authors']]></default>
5000
  <type/>
5001
  </argument>
5002
  </method>
5003
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2071" package="Media Library Assistant">
5004
  <name>_current_bulk_action</name>
5005
  <full_name>_current_bulk_action</full_name>
5006
- <docblock line="2064">
5007
  <description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
5008
  <long-description><![CDATA[]]></long-description>
5009
- <tag line="2064" name="since" description="0.1"/>
5010
- <tag line="2064" name="return" description="The action name or False if no action was selected" type="string|false">
5011
  <type by_reference="false">string</type>
5012
  <type by_reference="false">false</type>
5013
  </tag>
5014
  </docblock>
5015
  </method>
5016
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2102" package="Media Library Assistant">
5017
  <name>_delete_single_item</name>
5018
  <full_name>_delete_single_item</full_name>
5019
- <docblock line="2093">
5020
  <description><![CDATA[Delete a single item permanently]]></description>
5021
  <long-description><![CDATA[]]></long-description>
5022
- <tag line="2093" name="since" description="0.1"/>
5023
- <tag line="2093" name="param" description="The form POST data" type="array" variable="$post_id">
5024
  <type by_reference="false">array</type>
5025
  </tag>
5026
- <tag line="2093" name="return" description="success/failure message and NULL content" type="array">
5027
  <type by_reference="false">array</type>
5028
  </tag>
5029
  </docblock>
5030
- <argument line="2102">
5031
  <name>$post_id</name>
5032
  <default><![CDATA[]]></default>
5033
  <type/>
5034
  </argument>
5035
  </method>
5036
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2137" package="Media Library Assistant">
5037
  <name>_display_single_item</name>
5038
  <full_name>_display_single_item</full_name>
5039
- <docblock line="2125">
5040
  <description><![CDATA[Display a single item sub page; prepare the form to
5041
  change the meta data for a single attachment.]]></description>
5042
  <long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
5043
- <tag line="2125" name="since" description="0.1"/>
5044
- <tag line="2125" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
5045
  <type by_reference="false">integer</type>
5046
  </tag>
5047
- <tag line="2125" name="return" description="message and/or HTML content" type="array">
5048
  <type by_reference="false">array</type>
5049
  </tag>
5050
  </docblock>
5051
- <argument line="2137">
5052
  <name>$post_id</name>
5053
  <default><![CDATA[]]></default>
5054
  <type/>
5055
  </argument>
5056
  </method>
5057
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2418" package="Media Library Assistant">
5058
  <name>_restore_single_item</name>
5059
  <full_name>_restore_single_item</full_name>
5060
- <docblock line="2409">
5061
  <description><![CDATA[Restore a single item from the Trash]]></description>
5062
  <long-description><![CDATA[]]></long-description>
5063
- <tag line="2409" name="since" description="0.1"/>
5064
- <tag line="2409" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
5065
  <type by_reference="false">integer</type>
5066
  </tag>
5067
- <tag line="2409" name="return" description="success/failure message and NULL content" type="array">
5068
  <type by_reference="false">array</type>
5069
  </tag>
5070
  </docblock>
5071
- <argument line="2418">
5072
  <name>$post_id</name>
5073
  <default><![CDATA[]]></default>
5074
  <type/>
5075
  </argument>
5076
  </method>
5077
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2458" package="Media Library Assistant">
5078
  <name>_trash_single_item</name>
5079
  <full_name>_trash_single_item</full_name>
5080
- <docblock line="2449">
5081
  <description><![CDATA[Move a single item to Trash]]></description>
5082
  <long-description><![CDATA[]]></long-description>
5083
- <tag line="2449" name="since" description="0.1"/>
5084
- <tag line="2449" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
5085
  <type by_reference="false">integer</type>
5086
  </tag>
5087
- <tag line="2449" name="return" description="success/failure message and NULL content" type="array">
5088
  <type by_reference="false">array</type>
5089
  </tag>
5090
  </docblock>
5091
- <argument line="2458">
5092
  <name>$post_id</name>
5093
  <default><![CDATA[]]></default>
5094
  <type/>
@@ -5096,14 +5133,14 @@ change the meta data for a single attachment.]]></description>
5096
  </method>
5097
  </class>
5098
  </file>
5099
- <file path="includes\class-mla-media-modal.php" hash="be4a41d5fc64f405e94cb7d1f651a50e" package="Media Library Assistant">
5100
  <docblock line="2">
5101
  <description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
5102
  <long-description><![CDATA[]]></long-description>
5103
  <tag line="2" name="package" description="Media Library Assistant"/>
5104
  <tag line="2" name="since" description="1.20"/>
5105
  </docblock>
5106
- <include line="588" type="Require Once" package="Media Library Assistant">
5107
  <name/>
5108
  </include>
5109
  <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
@@ -5219,15 +5256,15 @@ change the meta data for a single attachment.]]></description>
5219
  </tag>
5220
  </docblock>
5221
  </property>
5222
- <property final="false" static="true" visibility="private" line="351" namespace="global" package="Media Library Assistant">
5223
  <name>$mla_media_modal_settings</name>
5224
  <default><![CDATA[array('screen' => 'modal', 'state' => 'initial', 'comma' => ',', 'ajaxNonce' => '', 'ajaxFillCompatAction' => self::JAVASCRIPT_FILL_COMPAT_ACTION, 'ajaxQueryAttachmentsAction' => self::JAVASCRIPT_QUERY_ATTACHMENTS_ACTION, 'ajaxUpdateCompatAction' => self::JAVASCRIPT_UPDATE_COMPAT_ACTION, 'enableDetailsCategory' => false, 'enableDetailsTag' => false, 'enableMimeTypes' => false, 'enableMonthsDropdown' => false, 'enableSearchBox' => false, 'enableSearchBoxControls' => false, 'enableTermsDropdown' => false, 'enableTermsSearch' => false, 'enableTermsAutofill' => false, 'query' => array('initial' => array('filterMime' => NULL, 'filterMonth' => NULL, 'filterTerm' => NULL, 'searchConnector' => NULL, 'searchFields' => NULL, 'searchValue' => NULL, 'searchClicks' => 0)), 'mimeTypes' => '', 'months' => '', 'termsClass' => array(), 'termsIndent' => '&nbsp;', 'termsTaxonomy' => '', 'termsText' => array(), 'termsValue' => array())]]></default>
5225
- <docblock line="343">
5226
  <description><![CDATA[Share the settings values between mla_media_view_settings_filter
5227
  and mla_print_media_templates_action]]></description>
5228
  <long-description><![CDATA[]]></long-description>
5229
- <tag line="343" name="since" description="1.20"/>
5230
- <tag line="343" name="var" description="" type="array">
5231
  <type by_reference="false">array</type>
5232
  </tag>
5233
  </docblock>
@@ -5297,221 +5334,221 @@ Declared public because it is a filter.</p>]]></long-description>
5297
  <type/>
5298
  </argument>
5299
  </method>
5300
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="276" package="Media Library Assistant">
5301
  <name>_months_dropdown</name>
5302
  <full_name>_months_dropdown</full_name>
5303
- <docblock line="265">
5304
  <description><![CDATA[Display a monthly dropdown for filtering items]]></description>
5305
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown()</p>]]></long-description>
5306
- <tag line="265" name="since" description="1.20"/>
5307
- <tag line="265" name="param" description="post_type, e.g., 'attachment'" type="string" variable="$post_type">
5308
  <type by_reference="false">string</type>
5309
  </tag>
5310
- <tag line="265" name="return" description="( value =&gt; label ) pairs" type="array">
5311
  <type by_reference="false">array</type>
5312
  </tag>
5313
  </docblock>
5314
- <argument line="276">
5315
  <name>$post_type</name>
5316
  <default><![CDATA[]]></default>
5317
  <type/>
5318
  </argument>
5319
  </method>
5320
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="317" package="Media Library Assistant">
5321
  <name>_terms_options</name>
5322
  <full_name>_terms_options</full_name>
5323
- <docblock line="308">
5324
  <description><![CDATA[Extract value and text elements from Dropdown HTML option tags]]></description>
5325
  <long-description><![CDATA[]]></long-description>
5326
- <tag line="308" name="since" description="1.20"/>
5327
- <tag line="308" name="param" description="HTML markup for taxonomy terms dropdown &lt;select&gt; tag" type="string" variable="$markup">
5328
  <type by_reference="false">string</type>
5329
  </tag>
5330
- <tag line="308" name="return" description="( 'class' =&gt; $class_array, 'value' =&gt; $value_array, 'text' =&gt; $text_array )" type="array">
5331
  <type by_reference="false">array</type>
5332
  </tag>
5333
  </docblock>
5334
- <argument line="317">
5335
  <name>$markup</name>
5336
  <default><![CDATA[]]></default>
5337
  <type/>
5338
  </argument>
5339
  </method>
5340
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="399" package="Media Library Assistant">
5341
  <name>mla_media_view_settings_filter</name>
5342
  <full_name>mla_media_view_settings_filter</full_name>
5343
- <docblock line="388">
5344
  <description><![CDATA[Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
5345
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
5346
- <tag line="388" name="since" description="1.20"/>
5347
- <tag line="388" name="param" description="associative array with setting =&gt; value pairs" type="array" variable="$settings">
5348
  <type by_reference="false">array</type>
5349
  </tag>
5350
- <tag line="388" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
5351
  <type by_reference="false">object</type>
5352
  </tag>
5353
- <tag line="388" name="return" description="updated $settings array" type="array">
5354
  <type by_reference="false">array</type>
5355
  </tag>
5356
  </docblock>
5357
- <argument line="399">
5358
  <name>$settings</name>
5359
  <default><![CDATA[]]></default>
5360
  <type/>
5361
  </argument>
5362
- <argument line="399">
5363
  <name>$post</name>
5364
  <default><![CDATA[]]></default>
5365
  <type/>
5366
  </argument>
5367
  </method>
5368
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="516" package="Media Library Assistant">
5369
  <name>mla_media_view_strings_filter</name>
5370
  <full_name>mla_media_view_strings_filter</full_name>
5371
- <docblock line="505">
5372
  <description><![CDATA[Adds strings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
5373
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
5374
- <tag line="505" name="since" description="1.20"/>
5375
- <tag line="505" name="param" description="associative array with string =&gt; value pairs" type="array" variable="$strings">
5376
  <type by_reference="false">array</type>
5377
  </tag>
5378
- <tag line="505" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
5379
  <type by_reference="false">object</type>
5380
  </tag>
5381
- <tag line="505" name="return" description="updated $strings array" type="array">
5382
  <type by_reference="false">array</type>
5383
  </tag>
5384
  </docblock>
5385
- <argument line="516">
5386
  <name>$strings</name>
5387
  <default><![CDATA[]]></default>
5388
  <type/>
5389
  </argument>
5390
- <argument line="516">
5391
  <name>$post</name>
5392
  <default><![CDATA[]]></default>
5393
  <type/>
5394
  </argument>
5395
  </method>
5396
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="535" package="Media Library Assistant">
5397
  <name>mla_wp_enqueue_media_action</name>
5398
  <full_name>mla_wp_enqueue_media_action</full_name>
5399
- <docblock line="527">
5400
  <description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
5401
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5402
- <tag line="527" name="since" description="1.20"/>
5403
- <tag line="527" name="return" description="" type="void">
5404
  <type by_reference="false">void</type>
5405
  </tag>
5406
  </docblock>
5407
  </method>
5408
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="571" package="Media Library Assistant">
5409
  <name>mla_print_media_templates_action</name>
5410
  <full_name>mla_print_media_templates_action</full_name>
5411
- <docblock line="563">
5412
  <description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
5413
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5414
- <tag line="563" name="since" description="1.20"/>
5415
- <tag line="563" name="return" description="echoes HTML script tags for the templates" type="void">
5416
  <type by_reference="false">void</type>
5417
  </tag>
5418
  </docblock>
5419
  </method>
5420
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="601" package="Media Library Assistant">
5421
  <name>mla_admin_init_action</name>
5422
  <full_name>mla_admin_init_action</full_name>
5423
- <docblock line="591">
5424
  <description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
5425
  <long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
5426
  Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
5427
- <tag line="591" name="since" description="1.20"/>
5428
- <tag line="591" name="return" description="" type="void">
5429
  <type by_reference="false">void</type>
5430
  </tag>
5431
  </docblock>
5432
  </method>
5433
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="740" package="Media Library Assistant">
5434
  <name>mla_fill_compat_fields_action</name>
5435
  <full_name>mla_fill_compat_fields_action</full_name>
5436
- <docblock line="731">
5437
  <description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
5438
  <long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
5439
- <tag line="731" name="since" description="1.80"/>
5440
- <tag line="731" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
5441
  <type by_reference="false">void</type>
5442
  </tag>
5443
  </docblock>
5444
  </method>
5445
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="914" package="Media Library Assistant">
5446
  <name>mla_update_compat_fields_action</name>
5447
  <full_name>mla_update_compat_fields_action</full_name>
5448
- <docblock line="905">
5449
  <description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
5450
  <long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
5451
- <tag line="905" name="since" description="1.80"/>
5452
- <tag line="905" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
5453
  <type by_reference="false">void</type>
5454
  </tag>
5455
  </docblock>
5456
  </method>
5457
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="991" package="Media Library Assistant">
5458
  <name>mla_query_attachments_action</name>
5459
  <full_name>mla_query_attachments_action</full_name>
5460
- <docblock line="982">
5461
  <description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
5462
  <long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
5463
- <tag line="982" name="since" description="1.20"/>
5464
- <tag line="982" name="return" description="passes array of post arrays to wp_send_json_success() for JSON encoding and transmission" type="void">
5465
  <type by_reference="false">void</type>
5466
  </tag>
5467
  </docblock>
5468
  </method>
5469
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1105" package="Media Library Assistant">
5470
  <name>mla_add_terms_search_scripts</name>
5471
  <full_name>mla_add_terms_search_scripts</full_name>
5472
- <docblock line="1097">
5473
  <description><![CDATA[Add the styles and scripts for the "Search Terms" popup modal window,
5474
  but only once per page load]]></description>
5475
  <long-description><![CDATA[]]></long-description>
5476
- <tag line="1097" name="since" description="1.90"/>
5477
- <tag line="1097" name="return" description="" type="void">
5478
  <type by_reference="false">void</type>
5479
  </tag>
5480
  </docblock>
5481
  </method>
5482
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1145" package="Media Library Assistant">
5483
  <name>mla_add_terms_search_form</name>
5484
  <full_name>mla_add_terms_search_form</full_name>
5485
- <docblock line="1137">
5486
  <description><![CDATA[Add the hidden form for the "Search Terms" popup modal window,
5487
  but only once per page load]]></description>
5488
  <long-description><![CDATA[]]></long-description>
5489
- <tag line="1137" name="since" description="1.90"/>
5490
- <tag line="1137" name="return" description="" type="void">
5491
  <type by_reference="false">void</type>
5492
  </tag>
5493
  </docblock>
5494
  </method>
5495
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1161" package="Media Library Assistant">
5496
  <name>mla_echo_terms_search_form</name>
5497
  <full_name>mla_echo_terms_search_form</full_name>
5498
- <docblock line="1154">
5499
  <description><![CDATA[Echo the hidden form for the "Search Terms" popup modal window]]></description>
5500
  <long-description><![CDATA[]]></long-description>
5501
- <tag line="1154" name="since" description="1.90"/>
5502
- <tag line="1154" name="return" description="Echos the HTML &lt;form&gt; markup for hidden form" type="void">
5503
  <type by_reference="false">void</type>
5504
  </tag>
5505
  </docblock>
5506
  </method>
5507
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1172" package="Media Library Assistant">
5508
  <name>mla_terms_search_form</name>
5509
  <full_name>mla_terms_search_form</full_name>
5510
- <docblock line="1165">
5511
  <description><![CDATA[Build the hidden form for the "Search Terms" popup modal window]]></description>
5512
  <long-description><![CDATA[]]></long-description>
5513
- <tag line="1165" name="since" description="1.90"/>
5514
- <tag line="1165" name="return" description="HTML &lt;form&gt; markup for hidden form" type="string">
5515
  <type by_reference="false">string</type>
5516
  </tag>
5517
  </docblock>
@@ -6976,7 +7013,7 @@ which returns a count of the attachments assigned a given term]]></description>
6976
  </method>
6977
  </class>
6978
  </file>
6979
- <file path="includes\class-mla-options.php" hash="dc3b4dad51d123710a2fa48744be0d8f" package="Media Library Assistant">
6980
  <docblock line="2">
6981
  <description><![CDATA[Manages the plugin option settings]]></description>
6982
  <long-description><![CDATA[]]></long-description>
@@ -7505,14 +7542,14 @@ added to the Media Library.</p>]]></long-description>
7505
  </tag>
7506
  </docblock>
7507
  </property>
7508
- <property final="false" static="true" visibility="private" line="2935" namespace="global" package="Media Library Assistant">
7509
  <name>$custom_field_data_sources</name>
7510
  <default><![CDATA[array('post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'comment_status', 'ping_status', 'post_name', 'post_modified', 'post_modified_gmt', 'post_content_filtered', 'parent', 'post_parent', 'guid', 'menu_order', 'mime_type', 'post_mime_type', 'comment_count', 'absolute_path', 'absolute_file_name', 'base_file', 'path', 'file_name', 'name_only', 'extension', 'file_size', 'upload_date', 'dimensions', 'pixels', 'width', 'height', 'orientation', 'hwstring_small', 'size_keys', 'size_names', 'size_bytes', 'size_pixels', 'size_dimensions', 'size_name[size]', 'size_bytes[size]', 'size_pixels[size]', 'size_dimensions[size]', 'parent_date', 'parent_type', 'parent_title', 'parent_issues', 'reference_issues', 'featured_in', 'featured_in_title', 'inserted_in', 'inserted_in_title', 'gallery_in', 'gallery_in_title', 'mla_gallery_in', 'mla_gallery_in_title', 'aperture', 'credit', 'camera', 'caption', 'created_timestamp', 'copyright', 'focal_length', 'iso', 'shutter_speed', 'title')]]></default>
7511
- <docblock line="2928">
7512
  <description><![CDATA[Array of Data Source names for custom field mapping]]></description>
7513
  <long-description><![CDATA[]]></long-description>
7514
- <tag line="2928" name="since" description="1.10"/>
7515
- <tag line="2928" name="var" description="" type="array">
7516
  <type by_reference="false">array</type>
7517
  </tag>
7518
  </docblock>
@@ -8156,552 +8193,604 @@ to ensure that mapping is only performed for new additions, not metadata updates
8156
  <type/>
8157
  </argument>
8158
  </method>
8159
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2271" package="Media Library Assistant">
8160
  <name>_evaluate_array_result</name>
8161
  <full_name>_evaluate_array_result</full_name>
8162
- <docblock line="2260">
8163
  <description><![CDATA[Evaluate post information for custom field mapping]]></description>
8164
  <long-description><![CDATA[]]></long-description>
8165
- <tag line="2260" name="since" description="1.40"/>
8166
- <tag line="2260" name="param" description="field value(s)" type="array" variable="$value">
8167
  <type by_reference="false">array</type>
8168
  </tag>
8169
- <tag line="2260" name="param" description="format option text|single|export|array|multi" type="string" variable="$option">
8170
  <type by_reference="false">string</type>
8171
  </tag>
8172
- <tag line="2260" name="param" description="keep existing value(s) - for 'multi' option" type="boolean" variable="$keep_existing">
8173
  <type by_reference="false">boolean</type>
8174
  </tag>
8175
- <tag line="2260" name="return" description="array for option = array|multi else string" type="mixed">
8176
  <type by_reference="false">mixed</type>
8177
  </tag>
8178
  </docblock>
8179
- <argument line="2271">
8180
  <name>$value</name>
8181
  <default><![CDATA[]]></default>
8182
  <type/>
8183
  </argument>
8184
- <argument line="2271">
8185
  <name>$option</name>
8186
  <default><![CDATA[]]></default>
8187
  <type/>
8188
  </argument>
8189
- <argument line="2271">
8190
  <name>$keep_existing</name>
8191
  <default><![CDATA[]]></default>
8192
  <type/>
8193
  </argument>
8194
  </method>
8195
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2311" package="Media Library Assistant">
8196
  <name>mla_get_data_source</name>
8197
  <full_name>mla_get_data_source</full_name>
8198
- <docblock line="2296">
8199
  <description><![CDATA[Get IPTC/EXIF or custom field mapping data source]]></description>
8200
  <long-description><![CDATA[<p>Defined as public so MLA Mapping Hooks clients can call it.
8201
  Isolates clients from changes to _evaluate_data_source().</p>]]></long-description>
8202
- <tag line="2296" name="since" description="1.70"/>
8203
- <tag line="2296" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
8204
  <type by_reference="false">integer</type>
8205
  </tag>
8206
- <tag line="2296" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
8207
  <type by_reference="false">string</type>
8208
  </tag>
8209
- <tag line="2296" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
8210
  <type by_reference="false">array</type>
8211
  </tag>
8212
- <tag line="2296" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
8213
  <type by_reference="false">array</type>
8214
  </tag>
8215
- <tag line="2296" name="return" description="data source value" type="string|array">
8216
  <type by_reference="false">string</type>
8217
  <type by_reference="false">array</type>
8218
  </tag>
8219
  </docblock>
8220
- <argument line="2311">
8221
  <name>$post_id</name>
8222
  <default><![CDATA[]]></default>
8223
  <type/>
8224
  </argument>
8225
- <argument line="2311">
8226
  <name>$category</name>
8227
  <default><![CDATA[]]></default>
8228
  <type/>
8229
  </argument>
8230
- <argument line="2311">
8231
  <name>$data_value</name>
8232
  <default><![CDATA[]]></default>
8233
  <type/>
8234
  </argument>
8235
- <argument line="2311">
8236
  <name>$attachment_metadata</name>
8237
  <default><![CDATA[NULL]]></default>
8238
  <type/>
8239
  </argument>
8240
  </method>
8241
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2336" package="Media Library Assistant">
8242
  <name>mla_is_data_source</name>
8243
  <full_name>mla_is_data_source</full_name>
8244
- <docblock line="2324">
8245
  <description><![CDATA[Identify custom field mapping data source]]></description>
8246
  <long-description><![CDATA[<p>Determines whether a name matches any of the element-level data source dropdown options, i.e.,
8247
  excludes "template:" and "meta:" values.</p>]]></long-description>
8248
- <tag line="2324" name="since" description="1.80"/>
8249
- <tag line="2324" name="param" description="candidate data source name" type="string" variable="$candidate_name">
8250
  <type by_reference="false">string</type>
8251
  </tag>
8252
- <tag line="2324" name="return" description="true if candidate name matches a data source" type="boolean">
8253
  <type by_reference="false">boolean</type>
8254
  </tag>
8255
  </docblock>
8256
- <argument line="2336">
8257
  <name>$candidate_name</name>
8258
  <default><![CDATA[]]></default>
8259
  <type/>
8260
  </argument>
8261
  </method>
8262
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2371" package="Media Library Assistant">
8263
  <name>_evaluate_data_source</name>
8264
  <full_name>_evaluate_data_source</full_name>
8265
- <docblock line="2359">
8266
  <description><![CDATA[Evaluate custom field mapping data source]]></description>
8267
  <long-description><![CDATA[]]></long-description>
8268
- <tag line="2359" name="since" description="1.10"/>
8269
- <tag line="2359" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
8270
  <type by_reference="false">integer</type>
8271
  </tag>
8272
- <tag line="2359" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
8273
  <type by_reference="false">string</type>
8274
  </tag>
8275
- <tag line="2359" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
8276
  <type by_reference="false">array</type>
8277
  </tag>
8278
- <tag line="2359" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
8279
  <type by_reference="false">array</type>
8280
  </tag>
8281
- <tag line="2359" name="return" description="data source value" type="string|array">
8282
  <type by_reference="false">string</type>
8283
  <type by_reference="false">array</type>
8284
  </tag>
8285
  </docblock>
8286
- <argument line="2371">
8287
  <name>$post_id</name>
8288
  <default><![CDATA[]]></default>
8289
  <type/>
8290
  </argument>
8291
- <argument line="2371">
8292
  <name>$category</name>
8293
  <default><![CDATA[]]></default>
8294
  <type/>
8295
  </argument>
8296
- <argument line="2371">
8297
  <name>$data_value</name>
8298
  <default><![CDATA[]]></default>
8299
  <type/>
8300
  </argument>
8301
- <argument line="2371">
8302
  <name>$attachment_metadata</name>
8303
  <default><![CDATA[NULL]]></default>
8304
  <type/>
8305
  </argument>
8306
  </method>
8307
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2802" package="Media Library Assistant">
8308
  <name>mla_evaluate_custom_field_mapping</name>
8309
  <full_name>mla_evaluate_custom_field_mapping</full_name>
8310
- <docblock line="2790">
8311
  <description><![CDATA[Evaluate custom field mapping updates for a post]]></description>
8312
  <long-description><![CDATA[]]></long-description>
8313
- <tag line="2790" name="since" description="1.10"/>
8314
- <tag line="2790" name="param" description="post ID to be evaluated" type="integer" variable="$post_id">
8315
  <type by_reference="false">integer</type>
8316
  </tag>
8317
- <tag line="2790" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
8318
  <type by_reference="false">string</type>
8319
  </tag>
8320
- <tag line="2790" name="param" description="(optional) custom_field_mapping values, default NULL (use current option value)" type="array" variable="$settings">
8321
  <type by_reference="false">array</type>
8322
  </tag>
8323
- <tag line="2790" name="param" description="(optional) attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
8324
  <type by_reference="false">array</type>
8325
  </tag>
8326
- <tag line="2790" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
8327
  <type by_reference="false">array</type>
8328
  </tag>
8329
  </docblock>
8330
- <argument line="2802">
8331
  <name>$post_id</name>
8332
  <default><![CDATA[]]></default>
8333
  <type/>
8334
  </argument>
8335
- <argument line="2802">
8336
  <name>$category</name>
8337
  <default><![CDATA[]]></default>
8338
  <type/>
8339
  </argument>
8340
- <argument line="2802">
8341
  <name>$settings</name>
8342
  <default><![CDATA[NULL]]></default>
8343
  <type/>
8344
  </argument>
8345
- <argument line="2802">
8346
  <name>$attachment_metadata</name>
8347
  <default><![CDATA[NULL]]></default>
8348
  <type/>
8349
  </argument>
8350
  </method>
8351
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2901" package="Media Library Assistant">
8352
  <name>_compose_custom_field_option_list</name>
8353
  <full_name>_compose_custom_field_option_list</full_name>
8354
- <docblock line="2890">
8355
  <description><![CDATA[Compose a Custom Field Options list with current selection]]></description>
8356
  <long-description><![CDATA[]]></long-description>
8357
- <tag line="2890" name="since" description="1.10"/>
8358
- <tag line="2890" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8359
- <tag line="2890" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
8360
  <type by_reference="false">string</type>
8361
  </tag>
8362
- <tag line="2890" name="param" description="optional list of terms to exclude from the list" type="array" variable="$blacklist">
8363
  <type by_reference="false">array</type>
8364
  </tag>
8365
- <tag line="2890" name="return" description="HTML markup with select field options" type="string">
8366
  <type by_reference="false">string</type>
8367
  </tag>
8368
  </docblock>
8369
- <argument line="2901">
8370
  <name>$selection</name>
8371
  <default><![CDATA['none']]></default>
8372
  <type/>
8373
  </argument>
8374
- <argument line="2901">
8375
  <name>$blacklist</name>
8376
  <default><![CDATA[array()]]></default>
8377
  <type/>
8378
  </argument>
8379
  </method>
8380
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3020" package="Media Library Assistant">
8381
  <name>_compose_data_source_option_list</name>
8382
  <full_name>_compose_data_source_option_list</full_name>
8383
- <docblock line="3010">
8384
  <description><![CDATA[Compose a (Custom Field) Data Source Options list with current selection]]></description>
8385
  <long-description><![CDATA[]]></long-description>
8386
- <tag line="3010" name="since" description="1.10"/>
8387
- <tag line="3010" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8388
- <tag line="3010" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
8389
  <type by_reference="false">string</type>
8390
  </tag>
8391
- <tag line="3010" name="return" description="HTML markup with select field options" type="string">
8392
  <type by_reference="false">string</type>
8393
  </tag>
8394
  </docblock>
8395
- <argument line="3020">
8396
  <name>$selection</name>
8397
  <default><![CDATA['none']]></default>
8398
  <type/>
8399
  </argument>
8400
  </method>
8401
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3084" package="Media Library Assistant">
8402
  <name>_update_custom_field_mapping</name>
8403
  <full_name>_update_custom_field_mapping</full_name>
8404
- <docblock line="3074">
8405
  <description><![CDATA[Update custom field mappings]]></description>
8406
  <long-description><![CDATA[]]></long-description>
8407
- <tag line="3074" name="since" description="1.10"/>
8408
- <tag line="3074" name="param" description="current custom_field_mapping values" type="array" variable="$current_values">
8409
  <type by_reference="false">array</type>
8410
  </tag>
8411
- <tag line="3074" name="param" description="new values" type="array" variable="$new_values">
8412
  <type by_reference="false">array</type>
8413
  </tag>
8414
- <tag line="3074" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated custom_field_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8415
  <type by_reference="false">array</type>
8416
  </tag>
8417
  </docblock>
8418
- <argument line="3084">
8419
  <name>$current_values</name>
8420
  <default><![CDATA[]]></default>
8421
  <type/>
8422
  </argument>
8423
- <argument line="3084">
8424
  <name>$new_values</name>
8425
  <default><![CDATA[]]></default>
8426
  <type/>
8427
  </argument>
8428
  </method>
8429
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3297" package="Media Library Assistant">
8430
  <name>mla_custom_field_option_handler</name>
8431
  <full_name>mla_custom_field_option_handler</full_name>
8432
- <docblock line="3284">
8433
  <description><![CDATA[Render and manage custom field mapping options]]></description>
8434
  <long-description><![CDATA[]]></long-description>
8435
- <tag line="3284" name="since" description="1.10"/>
8436
- <tag line="3284" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8437
- <tag line="3284" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
8438
  <type by_reference="false">string</type>
8439
  </tag>
8440
- <tag line="3284" name="param" description="option name, e.g., 'custom_field_mapping'" type="string" variable="$key">
8441
  <type by_reference="false">string</type>
8442
  </tag>
8443
- <tag line="3284" name="param" description="option parameters" type="array" variable="$value">
8444
  <type by_reference="false">array</type>
8445
  </tag>
8446
- <tag line="3284" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
8447
  <type by_reference="false">array</type>
8448
  </tag>
8449
- <tag line="3284" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
8450
  <type by_reference="false">string</type>
8451
  </tag>
8452
  </docblock>
8453
- <argument line="3297">
8454
  <name>$action</name>
8455
  <default><![CDATA[]]></default>
8456
  <type/>
8457
  </argument>
8458
- <argument line="3297">
8459
  <name>$key</name>
8460
  <default><![CDATA[]]></default>
8461
  <type/>
8462
  </argument>
8463
- <argument line="3297">
8464
  <name>$value</name>
8465
  <default><![CDATA[]]></default>
8466
  <type/>
8467
  </argument>
8468
- <argument line="3297">
8469
  <name>$args</name>
8470
  <default><![CDATA[null]]></default>
8471
  <type/>
8472
  </argument>
8473
  </method>
8474
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3559" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8475
  <name>mla_evaluate_iptc_exif_mapping</name>
8476
  <full_name>mla_evaluate_iptc_exif_mapping</full_name>
8477
- <docblock line="3547">
8478
  <description><![CDATA[Evaluate IPTC/EXIF mapping updates for a post]]></description>
8479
  <long-description><![CDATA[]]></long-description>
8480
- <tag line="3547" name="since" description="1.00"/>
8481
- <tag line="3547" name="param" description="post object with current values" type="object" variable="$post">
8482
  <type by_reference="false">object</type>
8483
  </tag>
8484
- <tag line="3547" name="param" description="category to evaluate against, e.g., iptc_exif_standard_mapping or iptc_exif_mapping" type="string" variable="$category">
8485
  <type by_reference="false">string</type>
8486
  </tag>
8487
- <tag line="3547" name="param" description="(optional) iptc_exif_mapping values, default - current option value" type="array" variable="$settings">
8488
  <type by_reference="false">array</type>
8489
  </tag>
8490
- <tag line="3547" name="param" description="(optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter" type="array" variable="$attachment_metadata">
8491
  <type by_reference="false">array</type>
8492
  </tag>
8493
- <tag line="3547" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
 
 
 
8494
  <type by_reference="false">array</type>
8495
  </tag>
8496
  </docblock>
8497
- <argument line="3559">
8498
  <name>$post</name>
8499
  <default><![CDATA[]]></default>
8500
  <type/>
8501
  </argument>
8502
- <argument line="3559">
8503
  <name>$category</name>
8504
  <default><![CDATA[]]></default>
8505
  <type/>
8506
  </argument>
8507
- <argument line="3559">
8508
  <name>$settings</name>
8509
  <default><![CDATA[NULL]]></default>
8510
  <type/>
8511
  </argument>
8512
- <argument line="3559">
8513
  <name>$attachment_metadata</name>
8514
  <default><![CDATA[NULL]]></default>
8515
  <type/>
8516
  </argument>
 
 
 
 
 
8517
  </method>
8518
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3886" package="Media Library Assistant">
8519
  <name>_compose_iptc_option_list</name>
8520
  <full_name>_compose_iptc_option_list</full_name>
8521
- <docblock line="3876">
8522
  <description><![CDATA[Compose an IPTC Options list with current selection]]></description>
8523
  <long-description><![CDATA[]]></long-description>
8524
- <tag line="3876" name="since" description="1.00"/>
8525
- <tag line="3876" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8526
- <tag line="3876" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
8527
  <type by_reference="false">string</type>
8528
  </tag>
8529
- <tag line="3876" name="return" description="HTML markup with select field options" type="string">
8530
  <type by_reference="false">string</type>
8531
  </tag>
8532
  </docblock>
8533
- <argument line="3886">
8534
  <name>$selection</name>
8535
  <default><![CDATA['none']]></default>
8536
  <type/>
8537
  </argument>
8538
  </method>
8539
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3919" package="Media Library Assistant">
8540
  <name>_compose_parent_option_list</name>
8541
  <full_name>_compose_parent_option_list</full_name>
8542
- <docblock line="3908">
8543
  <description><![CDATA[Compose an hierarchical taxonomy Parent options list with current selection]]></description>
8544
  <long-description><![CDATA[]]></long-description>
8545
- <tag line="3908" name="since" description="1.00"/>
8546
- <tag line="3908" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8547
- <tag line="3908" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
8548
  <type by_reference="false">string</type>
8549
  </tag>
8550
- <tag line="3908" name="param" description="current selection or 0 (zero, default)" type="integer" variable="$selection">
8551
  <type by_reference="false">integer</type>
8552
  </tag>
8553
- <tag line="3908" name="return" description="HTML markup with select field options" type="string">
8554
  <type by_reference="false">string</type>
8555
  </tag>
8556
  </docblock>
8557
- <argument line="3919">
8558
  <name>$taxonomy</name>
8559
  <default><![CDATA[]]></default>
8560
  <type/>
8561
  </argument>
8562
- <argument line="3919">
8563
  <name>$selection</name>
8564
  <default><![CDATA[0]]></default>
8565
  <type/>
8566
  </argument>
8567
  </method>
8568
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3965" package="Media Library Assistant">
8569
  <name>_update_iptc_exif_standard_mapping</name>
8570
  <full_name>_update_iptc_exif_standard_mapping</full_name>
8571
- <docblock line="3955">
8572
  <description><![CDATA[Update Standard field portion of IPTC/EXIF mappings]]></description>
8573
  <long-description><![CDATA[]]></long-description>
8574
- <tag line="3955" name="since" description="1.00"/>
8575
- <tag line="3955" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
8576
  <type by_reference="false">array</type>
8577
  </tag>
8578
- <tag line="3955" name="param" description="new values" type="array" variable="$new_values">
8579
  <type by_reference="false">array</type>
8580
  </tag>
8581
- <tag line="3955" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8582
  <type by_reference="false">array</type>
8583
  </tag>
8584
  </docblock>
8585
- <argument line="3965">
8586
  <name>$current_values</name>
8587
  <default><![CDATA[]]></default>
8588
  <type/>
8589
  </argument>
8590
- <argument line="3965">
8591
  <name>$new_values</name>
8592
  <default><![CDATA[]]></default>
8593
  <type/>
8594
  </argument>
8595
  </method>
8596
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4058" package="Media Library Assistant">
8597
  <name>_update_iptc_exif_taxonomy_mapping</name>
8598
  <full_name>_update_iptc_exif_taxonomy_mapping</full_name>
8599
- <docblock line="4048">
8600
  <description><![CDATA[Update Taxonomy term portion of IPTC/EXIF mappings]]></description>
8601
  <long-description><![CDATA[]]></long-description>
8602
- <tag line="4048" name="since" description="1.00"/>
8603
- <tag line="4048" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
8604
  <type by_reference="false">array</type>
8605
  </tag>
8606
- <tag line="4048" name="param" description="new values" type="array" variable="$new_values">
8607
  <type by_reference="false">array</type>
8608
  </tag>
8609
- <tag line="4048" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8610
  <type by_reference="false">array</type>
8611
  </tag>
8612
  </docblock>
8613
- <argument line="4058">
8614
  <name>$current_values</name>
8615
  <default><![CDATA[]]></default>
8616
  <type/>
8617
  </argument>
8618
- <argument line="4058">
8619
  <name>$new_values</name>
8620
  <default><![CDATA[]]></default>
8621
  <type/>
8622
  </argument>
8623
  </method>
8624
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4173" package="Media Library Assistant">
8625
  <name>_update_iptc_exif_custom_mapping</name>
8626
  <full_name>_update_iptc_exif_custom_mapping</full_name>
8627
- <docblock line="4163">
8628
  <description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
8629
  <long-description><![CDATA[]]></long-description>
8630
- <tag line="4163" name="since" description="1.00"/>
8631
- <tag line="4163" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
8632
  <type by_reference="false">array</type>
8633
  </tag>
8634
- <tag line="4163" name="param" description="new values" type="array" variable="$new_values">
8635
  <type by_reference="false">array</type>
8636
  </tag>
8637
- <tag line="4163" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8638
  <type by_reference="false">array</type>
8639
  </tag>
8640
  </docblock>
8641
- <argument line="4173">
8642
  <name>$current_values</name>
8643
  <default><![CDATA[]]></default>
8644
  <type/>
8645
  </argument>
8646
- <argument line="4173">
8647
  <name>$new_values</name>
8648
  <default><![CDATA[]]></default>
8649
  <type/>
8650
  </argument>
8651
  </method>
8652
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4303" package="Media Library Assistant">
8653
  <name>_get_custom_field_names</name>
8654
  <full_name>_get_custom_field_names</full_name>
8655
- <docblock line="4293">
8656
  <description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
8657
  <long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
8658
  haven't been mapped to any attachments, yet.</p>]]></long-description>
8659
- <tag line="4293" name="since" description="1.00"/>
8660
- <tag line="4293" name="return" description="Custom field names from the postmeta table and MLA rules" type="array">
8661
  <type by_reference="false">array</type>
8662
  </tag>
8663
  </docblock>
8664
  </method>
8665
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4349" package="Media Library Assistant">
8666
  <name>mla_iptc_exif_option_handler</name>
8667
  <full_name>mla_iptc_exif_option_handler</full_name>
8668
- <docblock line="4336">
8669
  <description><![CDATA[Render and manage iptc/exif support options]]></description>
8670
  <long-description><![CDATA[]]></long-description>
8671
- <tag line="4336" name="since" description="1.00"/>
8672
- <tag line="4336" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8673
- <tag line="4336" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
8674
  <type by_reference="false">string</type>
8675
  </tag>
8676
- <tag line="4336" name="param" description="option name, e.g., 'iptc_exif_mapping'" type="string" variable="$key">
8677
  <type by_reference="false">string</type>
8678
  </tag>
8679
- <tag line="4336" name="param" description="option parameters" type="array" variable="$value">
8680
  <type by_reference="false">array</type>
8681
  </tag>
8682
- <tag line="4336" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
8683
  <type by_reference="false">array</type>
8684
  </tag>
8685
- <tag line="4336" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
8686
  <type by_reference="false">string</type>
8687
  </tag>
8688
  </docblock>
8689
- <argument line="4349">
8690
  <name>$action</name>
8691
  <default><![CDATA[]]></default>
8692
  <type/>
8693
  </argument>
8694
- <argument line="4349">
8695
  <name>$key</name>
8696
  <default><![CDATA[]]></default>
8697
  <type/>
8698
  </argument>
8699
- <argument line="4349">
8700
  <name>$value</name>
8701
  <default><![CDATA[]]></default>
8702
  <type/>
8703
  </argument>
8704
- <argument line="4349">
8705
  <name>$args</name>
8706
  <default><![CDATA[null]]></default>
8707
  <type/>
@@ -9806,7 +9895,7 @@ without saving the settings to the mla_option]]></description>
9806
  </method>
9807
  </class>
9808
  </file>
9809
- <file path="includes\class-mla-shortcodes.php" hash="38e5ec92f09ffa8ca3ddf611502a3950" package="Media Library Assistant">
9810
  <docblock line="2">
9811
  <description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
9812
  <long-description><![CDATA[]]></long-description>
@@ -9847,55 +9936,55 @@ without saving the settings to the mla_option]]></description>
9847
  </tag>
9848
  </docblock>
9849
  </property>
9850
- <property final="false" static="true" visibility="private" line="2321" namespace="global" package="Media Library Assistant">
9851
  <name>$query_parameters</name>
9852
  <default><![CDATA[array()]]></default>
9853
- <docblock line="2308">
9854
  <description><![CDATA[WP_Query filter "parameters"]]></description>
9855
  <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
9856
  The parameters are set up in the mla_get_shortcode_attachments function, and
9857
  any further logic required to translate those values is contained in the filter.</p>
9858
 
9859
  <p>Array index values are: orderby, post_parent</p>]]></long-description>
9860
- <tag line="2308" name="since" description="1.13"/>
9861
- <tag line="2308" name="var" description="" type="array">
9862
  <type by_reference="false">array</type>
9863
  </tag>
9864
  </docblock>
9865
  </property>
9866
- <property final="false" static="true" visibility="private" line="2462" namespace="global" package="Media Library Assistant">
9867
  <name>$mla_get_shortcode_attachments_parameters</name>
9868
  <default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'date_query' => '', 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 'mla_terms_phrases' => '', 'mla_terms_taxonomies' => '', 'mla_phrase_connector' => '', 'mla_term_connector' => '', 's' => '', 'mla_search_fields' => '', 'mla_search_connector' => '', 'sentence' => '', 'exact' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
9869
- <docblock line="2455">
9870
  <description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
9871
  <long-description><![CDATA[]]></long-description>
9872
- <tag line="2455" name="since" description="1.30"/>
9873
- <tag line="2455" name="var" description="" type="array">
9874
  <type by_reference="false">array</type>
9875
  </tag>
9876
  </docblock>
9877
  </property>
9878
- <property final="false" static="true" visibility="public" line="2546" namespace="global" package="Media Library Assistant">
9879
  <name>$mla_gallery_wp_query_object</name>
9880
  <default><![CDATA[NULL]]></default>
9881
- <docblock line="2536">
9882
  <description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
9883
  <long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
9884
  "mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
9885
- <tag line="2536" name="since" description="1.51"/>
9886
- <tag line="2536" name="var" description="" type="object">
9887
  <type by_reference="false">object</type>
9888
  </tag>
9889
  </docblock>
9890
  </property>
9891
- <property final="false" static="true" visibility="private" line="3435" namespace="global" package="Media Library Assistant">
9892
  <name>$mla_get_terms_parameters</name>
9893
  <default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', 'post_type' => 'attachment', 'post_status' => 'inherit', 'ids' => array(), 'fields' => 't.term_id, t.name, t.slug, t.term_group, tt.term_taxonomy_id, tt.taxonomy, tt.description, tt.parent, COUNT(p.ID) AS `count`', 'include' => '', 'exclude' => '', 'parent' => '', 'minimum' => 0, 'no_count' => false, 'number' => 0, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'pad_counts' => false, 'limit' => 0, 'offset' => 0)]]></default>
9894
- <docblock line="3428">
9895
  <description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
9896
  <long-description><![CDATA[]]></long-description>
9897
- <tag line="3428" name="since" description="1.60"/>
9898
- <tag line="3428" name="var" description="" type="array">
9899
  <type by_reference="false">array</type>
9900
  </tag>
9901
  </docblock>
@@ -9974,411 +10063,411 @@ Enhancements include many additional selection parameters and full taxonomy supp
9974
  <type/>
9975
  </argument>
9976
  </method>
9977
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1094" package="Media Library Assistant">
9978
  <name>mla_tag_cloud</name>
9979
  <full_name>mla_tag_cloud</full_name>
9980
- <docblock line="1082">
9981
  <description><![CDATA[The MLA Tag Cloud support function.]]></description>
9982
  <long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
9983
  options to customize the hyperlink behind each term.</p>]]></long-description>
9984
- <tag line="1082" name="since" description="1.60"/>
9985
- <tag line="1082" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
9986
  <type by_reference="false">array</type>
9987
  </tag>
9988
- <tag line="1082" name="return" description="HTML content to display the tag cloud." type="string">
9989
  <type by_reference="false">string</type>
9990
  </tag>
9991
  </docblock>
9992
- <argument line="1094">
9993
  <name>$attr</name>
9994
  <default><![CDATA[]]></default>
9995
  <type/>
9996
  </argument>
9997
  </method>
9998
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1884" package="Media Library Assistant">
9999
  <name>mla_tag_cloud_shortcode</name>
10000
  <full_name>mla_tag_cloud_shortcode</full_name>
10001
- <docblock line="1873">
10002
  <description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
10003
  <long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
10004
- <tag line="1873" name="since" description="1.60"/>
10005
- <tag line="1873" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
10006
  <type by_reference="false">array</type>
10007
  </tag>
10008
- <tag line="1873" name="return" description="HTML content to display the tag cloud." type="string">
10009
  <type by_reference="false">string</type>
10010
  </tag>
10011
  </docblock>
10012
- <argument line="1884">
10013
  <name>$attr</name>
10014
  <default><![CDATA[]]></default>
10015
  <type/>
10016
  </argument>
10017
  </method>
10018
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1916" package="Media Library Assistant">
10019
  <name>_registered_dimensions</name>
10020
  <full_name>_registered_dimensions</full_name>
10021
- <docblock line="1909">
10022
  <description><![CDATA[Computes image dimensions for scalable graphics, e.g., SVG]]></description>
10023
  <long-description><![CDATA[]]></long-description>
10024
- <tag line="1909" name="since" description="1.82"/>
10025
- <tag line="1909" name="return" description="" type="array">
10026
  <type by_reference="false">array</type>
10027
  </tag>
10028
  </docblock>
10029
  </method>
10030
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1951" package="Media Library Assistant">
10031
  <name>_process_shortcode_parameter</name>
10032
  <full_name>_process_shortcode_parameter</full_name>
10033
- <docblock line="1941">
10034
  <description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
10035
  <long-description><![CDATA[]]></long-description>
10036
- <tag line="1941" name="since" description="1.14"/>
10037
- <tag line="1941" name="param" description="raw shortcode parameter, e.g., &quot;text {+field+} {brackets} \\{braces\\}&quot;" type="string" variable="$text">
10038
  <type by_reference="false">string</type>
10039
  </tag>
10040
- <tag line="1941" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
10041
  <type by_reference="false">string</type>
10042
  </tag>
10043
- <tag line="1941" name="return" description="parameter with brackets, braces, substitution parameters and templates processed" type="string">
10044
  <type by_reference="false">string</type>
10045
  </tag>
10046
  </docblock>
10047
- <argument line="1951">
10048
  <name>$text</name>
10049
  <default><![CDATA[]]></default>
10050
  <type/>
10051
  </argument>
10052
- <argument line="1951">
10053
  <name>$markup_values</name>
10054
  <default><![CDATA[]]></default>
10055
  <type/>
10056
  </argument>
10057
  </method>
10058
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1970" package="Media Library Assistant">
10059
  <name>_paginate_links</name>
10060
  <full_name>_paginate_links</full_name>
10061
- <docblock line="1957">
10062
  <description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
10063
  <long-description><![CDATA[]]></long-description>
10064
- <tag line="1957" name="since" description="1.42"/>
10065
- <tag line="1957" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
10066
  <type by_reference="false">array</type>
10067
  </tag>
10068
- <tag line="1957" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
10069
  <type by_reference="false">string</type>
10070
  </tag>
10071
- <tag line="1957" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
10072
  <type by_reference="false">string</type>
10073
  </tag>
10074
- <tag line="1957" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
10075
  <type by_reference="false">integer</type>
10076
  </tag>
10077
- <tag line="1957" name="param" description="output text so far, may include debug values" type="string" variable="$output">
10078
  <type by_reference="false">string</type>
10079
  </tag>
10080
- <tag line="1957" name="return" description="false or string with HTML for pagination output types" type="mixed">
10081
  <type by_reference="false">mixed</type>
10082
  </tag>
10083
  </docblock>
10084
- <argument line="1970">
10085
  <name>$output_parameters</name>
10086
  <default><![CDATA[]]></default>
10087
  <type/>
10088
  </argument>
10089
- <argument line="1970">
10090
  <name>$markup_values</name>
10091
  <default><![CDATA[]]></default>
10092
  <type/>
10093
  </argument>
10094
- <argument line="1970">
10095
  <name>$arguments</name>
10096
  <default><![CDATA[]]></default>
10097
  <type/>
10098
  </argument>
10099
- <argument line="1970">
10100
  <name>$found_rows</name>
10101
  <default><![CDATA[]]></default>
10102
  <type/>
10103
  </argument>
10104
- <argument line="1970">
10105
  <name>$output</name>
10106
  <default><![CDATA['']]></default>
10107
  <type/>
10108
  </argument>
10109
  </method>
10110
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2100" package="Media Library Assistant">
10111
  <name>_process_pagination_output_types</name>
10112
  <full_name>_process_pagination_output_types</full_name>
10113
- <docblock line="2086">
10114
  <description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
10115
  <long-description><![CDATA[]]></long-description>
10116
- <tag line="2086" name="since" description="1.42"/>
10117
- <tag line="2086" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
10118
  <type by_reference="false">array</type>
10119
  </tag>
10120
- <tag line="2086" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
10121
  <type by_reference="false">string</type>
10122
  </tag>
10123
- <tag line="2086" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
10124
  <type by_reference="false">string</type>
10125
  </tag>
10126
- <tag line="2086" name="param" description="raw passed shortcode parameter values" type="string" variable="$attr">
10127
  <type by_reference="false">string</type>
10128
  </tag>
10129
- <tag line="2086" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
10130
  <type by_reference="false">integer</type>
10131
  </tag>
10132
- <tag line="2086" name="param" description="output text so far, may include debug values" type="string" variable="$output">
10133
  <type by_reference="false">string</type>
10134
  </tag>
10135
- <tag line="2086" name="return" description="false or string with HTML for pagination output types" type="mixed">
10136
  <type by_reference="false">mixed</type>
10137
  </tag>
10138
  </docblock>
10139
- <argument line="2100">
10140
  <name>$output_parameters</name>
10141
  <default><![CDATA[]]></default>
10142
  <type/>
10143
  </argument>
10144
- <argument line="2100">
10145
  <name>$markup_values</name>
10146
  <default><![CDATA[]]></default>
10147
  <type/>
10148
  </argument>
10149
- <argument line="2100">
10150
  <name>$arguments</name>
10151
  <default><![CDATA[]]></default>
10152
  <type/>
10153
  </argument>
10154
- <argument line="2100">
10155
  <name>$attr</name>
10156
  <default><![CDATA[]]></default>
10157
  <type/>
10158
  </argument>
10159
- <argument line="2100">
10160
  <name>$found_rows</name>
10161
  <default><![CDATA[]]></default>
10162
  <type/>
10163
  </argument>
10164
- <argument line="2100">
10165
  <name>$output</name>
10166
  <default><![CDATA['']]></default>
10167
  <type/>
10168
  </argument>
10169
  </method>
10170
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2332" package="Media Library Assistant">
10171
  <name>_sanitize_query_specification</name>
10172
  <full_name>_sanitize_query_specification</full_name>
10173
- <docblock line="2323">
10174
  <description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
10175
  <long-description><![CDATA[]]></long-description>
10176
- <tag line="2323" name="since" description="1.14"/>
10177
- <tag line="2323" name="param" description="query specification; PHP nested arrays" type="string" variable="$specification">
10178
  <type by_reference="false">string</type>
10179
  </tag>
10180
- <tag line="2323" name="return" description="query specification with HTML escape sequences and line breaks removed" type="string">
10181
  <type by_reference="false">string</type>
10182
  </tag>
10183
  </docblock>
10184
- <argument line="2332">
10185
  <name>$specification</name>
10186
  <default><![CDATA[]]></default>
10187
  <type/>
10188
  </argument>
10189
  </method>
10190
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2352" package="Media Library Assistant">
10191
  <name>_validate_sql_orderby</name>
10192
  <full_name>_validate_sql_orderby</full_name>
10193
- <docblock line="2338">
10194
  <description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
10195
  <long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
10196
  Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
10197
- <tag line="2338" name="since" description="1.20"/>
10198
- <tag line="2338" name="param" description="Validated query parameters; 'order', 'orderby', 'meta_key', 'post__in'." type="array" variable="$query_parameters">
10199
  <type by_reference="false">array</type>
10200
  </tag>
10201
- <tag line="2338" name="param" description="Optional. Database table prefix; can be empty. Default taken from $wpdb-&gt;posts." type="string" variable="$table_prefix">
10202
  <type by_reference="false">string</type>
10203
  </tag>
10204
- <tag line="2338" name="param" description="Optional. Field names (keys) and database column equivalents (values). Defaults from [mla_gallery]." type="array" variable="$allowed_keys">
10205
  <type by_reference="false">array</type>
10206
  </tag>
10207
- <tag line="2338" name="param" description="Optional. Field names (values) that require a BINARY prefix to preserve case order. Default array()" type="array" variable="$binary_keys">
10208
  <type by_reference="false">array</type>
10209
  </tag>
10210
- <tag line="2338" name="return" description="Returns the orderby clause if present, false otherwise." type="string|bool">
10211
  <type by_reference="false">string</type>
10212
  <type by_reference="false">bool</type>
10213
  </tag>
10214
  </docblock>
10215
- <argument line="2352">
10216
  <name>$query_parameters</name>
10217
  <default><![CDATA[]]></default>
10218
  <type/>
10219
  </argument>
10220
- <argument line="2352">
10221
  <name>$table_prefix</name>
10222
  <default><![CDATA[NULL]]></default>
10223
  <type/>
10224
  </argument>
10225
- <argument line="2352">
10226
  <name>$allowed_keys</name>
10227
  <default><![CDATA[NULL]]></default>
10228
  <type/>
10229
  </argument>
10230
- <argument line="2352">
10231
  <name>$binary_keys</name>
10232
  <default><![CDATA[array()]]></default>
10233
  <type/>
10234
  </argument>
10235
  </method>
10236
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2559" package="Media Library Assistant">
10237
  <name>mla_get_shortcode_attachments</name>
10238
  <full_name>mla_get_shortcode_attachments</full_name>
10239
- <docblock line="2548">
10240
  <description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
10241
  <long-description><![CDATA[]]></long-description>
10242
- <tag line="2548" name="since" description=".50"/>
10243
- <tag line="2548" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
10244
  <type by_reference="false">int</type>
10245
  </tag>
10246
- <tag line="2548" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
10247
  <type by_reference="false">array</type>
10248
  </tag>
10249
- <tag line="2548" name="param" description="true to calculate and return ['found_posts'] as an array element" type="boolean" variable="$return_found_rows">
10250
  <type by_reference="false">boolean</type>
10251
  </tag>
10252
- <tag line="2548" name="return" description="List of attachments returned from WP_Query" type="array">
10253
  <type by_reference="false">array</type>
10254
  </tag>
10255
  </docblock>
10256
- <argument line="2559">
10257
  <name>$post_parent</name>
10258
  <default><![CDATA[]]></default>
10259
  <type/>
10260
  </argument>
10261
- <argument line="2559">
10262
  <name>$attr</name>
10263
  <default><![CDATA[]]></default>
10264
  <type/>
10265
  </argument>
10266
- <argument line="2559">
10267
  <name>$return_found_rows</name>
10268
  <default><![CDATA[NULL]]></default>
10269
  <type/>
10270
  </argument>
10271
  </method>
10272
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3290" package="Media Library Assistant">
10273
  <name>mla_shortcode_query_posts_join_filter</name>
10274
  <full_name>mla_shortcode_query_posts_join_filter</full_name>
10275
- <docblock line="3279">
10276
  <description><![CDATA[Filters the JOIN clause for shortcode queries]]></description>
10277
  <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
10278
- <tag line="3279" name="since" description="1.90"/>
10279
- <tag line="3279" name="param" description="query clause before modification" type="string" variable="$join_clause">
10280
  <type by_reference="false">string</type>
10281
  </tag>
10282
- <tag line="3279" name="return" description="query clause after item modification" type="string">
10283
  <type by_reference="false">string</type>
10284
  </tag>
10285
  </docblock>
10286
- <argument line="3290">
10287
  <name>$join_clause</name>
10288
  <default><![CDATA[]]></default>
10289
  <type/>
10290
  </argument>
10291
  </method>
10292
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3335" package="Media Library Assistant">
10293
  <name>mla_shortcode_query_posts_where_filter</name>
10294
  <full_name>mla_shortcode_query_posts_where_filter</full_name>
10295
- <docblock line="3321">
10296
  <description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
10297
  <long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
10298
  phrase to circumvent subsequent Role Scoper modification of the clause.
10299
  Handles post_parent "any" and "none" cases.
10300
  Defined as public because it's a filter.</p>]]></long-description>
10301
- <tag line="3321" name="since" description="0.70"/>
10302
- <tag line="3321" name="param" description="query clause before modification" type="string" variable="$where_clause">
10303
  <type by_reference="false">string</type>
10304
  </tag>
10305
- <tag line="3321" name="return" description="query clause after modification" type="string">
10306
  <type by_reference="false">string</type>
10307
  </tag>
10308
  </docblock>
10309
- <argument line="3335">
10310
  <name>$where_clause</name>
10311
  <default><![CDATA[]]></default>
10312
  <type/>
10313
  </argument>
10314
  </method>
10315
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3377" package="Media Library Assistant">
10316
  <name>mla_shortcode_query_posts_orderby_filter</name>
10317
  <full_name>mla_shortcode_query_posts_orderby_filter</full_name>
10318
- <docblock line="3365">
10319
  <description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
10320
  <long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
10321
  Defined as public because it's a filter.</p>]]></long-description>
10322
- <tag line="3365" name="since" description="1.20"/>
10323
- <tag line="3365" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
10324
  <type by_reference="false">string</type>
10325
  </tag>
10326
- <tag line="3365" name="return" description="query clause after modification" type="string">
10327
  <type by_reference="false">string</type>
10328
  </tag>
10329
  </docblock>
10330
- <argument line="3377">
10331
  <name>$orderby_clause</name>
10332
  <default><![CDATA[]]></default>
10333
  <type/>
10334
  </argument>
10335
  </method>
10336
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3404" package="Media Library Assistant">
10337
  <name>mla_shortcode_query_posts_clauses_filter</name>
10338
  <full_name>mla_shortcode_query_posts_clauses_filter</full_name>
10339
- <docblock line="3392">
10340
  <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
10341
  <long-description><![CDATA[<p>This is for debug purposes only.
10342
  Defined as public because it's a filter.</p>]]></long-description>
10343
- <tag line="3392" name="since" description="1.30"/>
10344
- <tag line="3392" name="param" description="query clauses before modification" type="array" variable="$pieces">
10345
  <type by_reference="false">array</type>
10346
  </tag>
10347
- <tag line="3392" name="return" description="query clauses after modification (none)" type="array">
10348
  <type by_reference="false">array</type>
10349
  </tag>
10350
  </docblock>
10351
- <argument line="3404">
10352
  <name>$pieces</name>
10353
  <default><![CDATA[]]></default>
10354
  <type/>
10355
  </argument>
10356
  </method>
10357
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3422" package="Media Library Assistant">
10358
  <name>mla_shortcode_query_posts_clauses_request_filter</name>
10359
  <full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
10360
- <docblock line="3410">
10361
  <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
10362
  <long-description><![CDATA[<p>This is for debug purposes only.
10363
  Defined as public because it's a filter.</p>]]></long-description>
10364
- <tag line="3410" name="since" description="1.30"/>
10365
- <tag line="3410" name="param" description="query clauses before modification" type="array" variable="$pieces">
10366
  <type by_reference="false">array</type>
10367
  </tag>
10368
- <tag line="3410" name="return" description="query clauses after modification (none)" type="array">
10369
  <type by_reference="false">array</type>
10370
  </tag>
10371
  </docblock>
10372
- <argument line="3422">
10373
  <name>$pieces</name>
10374
  <default><![CDATA[]]></default>
10375
  <type/>
10376
  </argument>
10377
  </method>
10378
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3512" package="Media Library Assistant">
10379
  <name>mla_get_terms</name>
10380
  <full_name>mla_get_terms</full_name>
10381
- <docblock line="3458">
10382
  <description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
10383
  <long-description><![CDATA[<p>Alternative to WordPress /wp-includes/taxonomy.php function get_terms() that provides
10384
  an accurate count of attachments associated with each term.</p>
@@ -10424,60 +10513,60 @@ descending and then by term_id before this value is applied. Default 0.</p>
10424
  <p>limit - final number of term objects to return, for pagination. Default 0.</p>
10425
 
10426
  <p>offset - number of term objects to skip, for pagination. Default 0.</p>]]></long-description>
10427
- <tag line="3458" name="since" description="1.60"/>
10428
- <tag line="3458" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
10429
  <type by_reference="false">array</type>
10430
  </tag>
10431
- <tag line="3458" name="return" description="array of term objects, empty if none found" type="array">
10432
  <type by_reference="false">array</type>
10433
  </tag>
10434
  </docblock>
10435
- <argument line="3512">
10436
  <name>$attr</name>
10437
  <default><![CDATA[]]></default>
10438
  <type/>
10439
  </argument>
10440
  </method>
10441
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3850" package="Media Library Assistant">
10442
  <name>_pad_term_counts</name>
10443
  <full_name>_pad_term_counts</full_name>
10444
- <docblock line="3836">
10445
  <description><![CDATA[Add count of children to parent count.]]></description>
10446
  <long-description><![CDATA[<p>Recalculates term counts by including items from child terms. Assumes all
10447
  relevant children are already in the $terms argument.</p>]]></long-description>
10448
- <tag line="3836" name="since" description="1.90"/>
10449
- <tag line="3836" name="param" description="Array of Term objects, by reference" type="array" variable="$terms">
10450
  <type by_reference="false">array</type>
10451
  </tag>
10452
- <tag line="3836" name="param" description="Term Context" type="string" variable="$taxonomy">
10453
  <type by_reference="false">string</type>
10454
  </tag>
10455
- <tag line="3836" name="param" description="Qualifying post type value(s)" type="array" variable="$post_types">
10456
  <type by_reference="false">array</type>
10457
  </tag>
10458
- <tag line="3836" name="param" description="Qualifying post status value(s)" type="array" variable="$post_stati">
10459
  <type by_reference="false">array</type>
10460
  </tag>
10461
- <tag line="3836" name="return" description="Will break from function if conditions are not met." type="null">
10462
  <type by_reference="false">null</type>
10463
  </tag>
10464
  </docblock>
10465
- <argument line="3850">
10466
  <name>$terms</name>
10467
  <default><![CDATA[]]></default>
10468
  <type/>
10469
  </argument>
10470
- <argument line="3850">
10471
  <name>$taxonomy</name>
10472
  <default><![CDATA[]]></default>
10473
  <type/>
10474
  </argument>
10475
- <argument line="3850">
10476
  <name>$post_types</name>
10477
  <default><![CDATA[NULL]]></default>
10478
  <type/>
10479
  </argument>
10480
- <argument line="3850">
10481
  <name>$post_stati</name>
10482
  <default><![CDATA[NULL]]></default>
10483
  <type/>
@@ -12195,13 +12284,13 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
12195
  </docblock>
12196
  </function>
12197
  </file>
12198
- <file path="index.php" hash="c35a146f7df599b34bc3135486648086" package="Media Library Assistant">
12199
  <docblock line="2">
12200
  <description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
12201
  <long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
12202
  will the rest of the plugin be loaded and run.</p>]]></long-description>
12203
  <tag line="2" name="package" description="Media Library Assistant"/>
12204
- <tag line="2" name="version" description="2.00"/>
12205
  </docblock>
12206
  <include line="150" type="Require Once" package="Media Library Assistant">
12207
  <name>includes/mla-plugin-loader.php</name>
622
  <tag line="2" name="since" description="MLA 1.80"/>
623
  </docblock>
624
  </file>
625
+ <file path="includes\class-mla-data.php" hash="f033436f56d1487fba6cfcb0be5ef73b" package="Media Library Assistant">
626
  <docblock line="2">
627
  <description><![CDATA[Database and template file access for MLA needs]]></description>
628
  <long-description><![CDATA[]]></long-description>
663
  </tag>
664
  </docblock>
665
  </property>
666
+ <property final="false" static="true" visibility="private" line="1150" namespace="global" package="Media Library Assistant">
667
  <name>$mla_list_table_items</name>
668
  <default><![CDATA[NULL]]></default>
669
+ <docblock line="1143">
670
  <description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
671
  <long-description><![CDATA[]]></long-description>
672
+ <tag line="1143" name="since" description="1.40"/>
673
+ <tag line="1143" name="var" description="" type="array">
674
  <type by_reference="false">array</type>
675
  </tag>
676
  </docblock>
677
  </property>
678
+ <property final="false" static="true" visibility="private" line="1256" namespace="global" package="Media Library Assistant">
679
  <name>$query_parameters</name>
680
  <default><![CDATA[array()]]></default>
681
+ <docblock line="1242">
682
  <description><![CDATA[WP_Query filter "parameters"]]></description>
683
  <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
684
  The parameters are set up in the _prepare_list_table_query function, and
686
 
687
  <p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns,
688
  detached, orderby, order, mla-metavalue, debug (also in search_parameters)</p>]]></long-description>
689
+ <tag line="1242" name="since" description="0.30"/>
690
+ <tag line="1242" name="var" description="" type="array">
691
  <type by_reference="false">array</type>
692
  </tag>
693
  </docblock>
694
  </property>
695
+ <property final="false" static="true" visibility="public" line="1285" namespace="global" package="Media Library Assistant">
696
  <name>$search_parameters</name>
697
  <default><![CDATA[array()]]></default>
698
+ <docblock line="1258">
699
  <description><![CDATA[WP_Query 'posts_search' filter "parameters"]]></description>
700
  <long-description><![CDATA[<p>This array defines parameters for the query's posts_search filter, which uses
701
  'search_string' to add a clause to the query's WHERE clause. It is shared between
716
  ['debug'] => internal element, console/log/shortcode/none
717
  ['mla_debug_messages'] => internal element, added when debug = 'shortcode'
718
  ['tax_terms_count'] => internal element, shared with JOIN and GROUP BY filters</p>]]></long-description>
719
+ <tag line="1258" name="since" description="2.00"/>
720
+ <tag line="1258" name="var" description="" type="array">
721
  <type by_reference="false">array</type>
722
  </tag>
723
  </docblock>
724
  </property>
725
+ <property final="false" static="true" visibility="private" line="3335" namespace="global" package="Media Library Assistant">
726
  <name>$galleries</name>
727
  <default><![CDATA[null]]></default>
728
+ <docblock line="3315">
729
  <description><![CDATA[Objects containing [gallery] shortcodes]]></description>
730
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
731
  and array(s) of which attachments each [gallery] contains. The arrays are built once
734
  <p>The outer array is keyed by post_id. It contains an associative array with:
735
  ['parent_title'] post_title of the gallery parent,
736
  ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
737
+ ['parent_status'] 'publish', 'private', 'future', 'pending', 'draft'
738
  ['results'] array ( ID => ID ) of attachments appearing in ANY of the parent's galleries.
739
  ['galleries'] array of [gallery] entries numbered from one (1), containing:
740
  galleries[X]['query'] contains a string with the arguments of the [gallery],
741
  galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
742
+ <tag line="3315" name="since" description="0.70"/>
743
+ <tag line="3315" name="var" description="" type="array">
744
  <type by_reference="false">array</type>
745
  </tag>
746
  </docblock>
747
  </property>
748
+ <property final="false" static="true" visibility="private" line="3348" namespace="global" package="Media Library Assistant">
749
  <name>$mla_galleries</name>
750
  <default><![CDATA[null]]></default>
751
+ <docblock line="3337">
752
  <description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
753
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
754
  and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
755
  each page load and cached for subsequent calls.</p>]]></long-description>
756
+ <tag line="3337" name="since" description="0.70"/>
757
+ <tag line="3337" name="var" description="" type="array">
758
  <type by_reference="false">array</type>
759
  </tag>
760
  </docblock>
761
  </property>
762
+ <property final="false" static="true" visibility="private" line="3545" namespace="global" package="Media Library Assistant">
763
  <name>$pdf_indirect_objects</name>
764
  <default><![CDATA[NULL]]></default>
765
+ <docblock line="3534">
766
  <description><![CDATA[Array of PDF indirect objects]]></description>
767
  <long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
768
  The array key is ( object ID * 1000 ) + object generation.
769
  The array value is array( number, generation, start, optional /length )</p>]]></long-description>
770
+ <tag line="3534" name="since" description="1.50"/>
771
+ <tag line="3534" name="var" description="" type="array">
772
  <type by_reference="false">array</type>
773
  </tag>
774
  </docblock>
775
  </property>
776
+ <property final="false" static="true" visibility="private" line="4656" namespace="global" package="Media Library Assistant">
777
  <name>$utf8_chars</name>
778
  <default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
779
+ <docblock line="4649">
780
  <description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
781
  <long-description><![CDATA[]]></long-description>
782
+ <tag line="4649" name="since" description="1.41"/>
783
+ <tag line="4649" name="var" description="" type="array">
784
  <type by_reference="false">array</type>
785
  </tag>
786
  </docblock>
787
  </property>
788
+ <property final="false" static="true" visibility="private" line="4716" namespace="global" package="Media Library Assistant">
789
  <name>$mla_iptc_records</name>
790
  <default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
791
+ <docblock line="4706">
792
  <description><![CDATA[IPTC Dataset identifiers and names]]></description>
793
  <long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
794
  the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
795
+ <tag line="4706" name="since" description="0.90"/>
796
+ <tag line="4706" name="var" description="" type="array">
797
  <type by_reference="false">array</type>
798
  </tag>
799
  </docblock>
800
  </property>
801
+ <property final="false" static="true" visibility="public" line="4815" namespace="global" package="Media Library Assistant">
802
  <name>$mla_iptc_keys</name>
803
  <default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
804
+ <docblock line="4805">
805
  <description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
806
  <long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
807
  the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
808
+ <tag line="4805" name="since" description="0.90"/>
809
+ <tag line="4805" name="var" description="" type="array">
810
  <type by_reference="false">array</type>
811
  </tag>
812
  </docblock>
813
  </property>
814
+ <property final="false" static="true" visibility="private" line="4914" namespace="global" package="Media Library Assistant">
815
  <name>$mla_iptc_descriptions</name>
816
  <default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
817
+ <docblock line="4904">
818
  <description><![CDATA[IPTC Dataset descriptions]]></description>
819
  <long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
820
  the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
821
+ <tag line="4904" name="since" description="0.90"/>
822
+ <tag line="4904" name="var" description="" type="array">
823
  <type by_reference="false">array</type>
824
  </tag>
825
  </docblock>
826
  </property>
827
+ <property final="false" static="true" visibility="private" line="5013" namespace="global" package="Media Library Assistant">
828
  <name>$mla_iptc_formats</name>
829
  <default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 0 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 0 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
830
+ <docblock line="5003">
831
  <description><![CDATA[IPTC file format identifiers and descriptions]]></description>
832
  <long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
833
  the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
834
+ <tag line="5003" name="since" description="0.90"/>
835
+ <tag line="5003" name="var" description="" type="array">
836
  <type by_reference="false">array</type>
837
  </tag>
838
  </docblock>
839
  </property>
840
+ <property final="false" static="true" visibility="private" line="5056" namespace="global" package="Media Library Assistant">
841
  <name>$mla_iptc_image_types</name>
842
  <default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
843
+ <docblock line="5046">
844
  <description><![CDATA[IPTC image type identifiers and descriptions]]></description>
845
  <long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
846
  the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
847
+ <tag line="5046" name="since" description="0.90"/>
848
+ <tag line="5046" name="var" description="" type="array">
849
  <type by_reference="false">array</type>
850
  </tag>
851
  </docblock>
852
  </property>
853
+ <property final="false" static="true" visibility="private" line="5230" namespace="global" package="Media Library Assistant">
854
  <name>$mla_IPTC_EXIF_errors</name>
855
  <default><![CDATA[array()]]></default>
856
+ <docblock line="5222">
857
  <description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
858
  and mla_fetch_attachment_image_metadata]]></description>
859
  <long-description><![CDATA[]]></long-description>
860
+ <tag line="5222" name="since" description="1.81"/>
861
+ <tag line="5222" name="var" description="" type="array">
862
  <type by_reference="false">array</type>
863
  </tag>
864
  </docblock>
1211
  <type/>
1212
  </argument>
1213
  </method>
1214
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1057" package="Media Library Assistant">
1215
  <name>mla_get_template_placeholders</name>
1216
  <full_name>mla_get_template_placeholders</full_name>
1217
+ <docblock line="1046">
1218
  <description><![CDATA[Analyze a template, returning an array of the placeholders it contains]]></description>
1219
  <long-description><![CDATA[]]></long-description>
1220
+ <tag line="1046" name="since" description="0.90"/>
1221
+ <tag line="1046" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
1222
  <type by_reference="false">string</type>
1223
  </tag>
1224
+ <tag line="1046" name="param" description="Optional: default option value" type="string" variable="$default_option">
1225
  <type by_reference="false">string</type>
1226
  </tag>
1227
+ <tag line="1046" name="return" description="Placeholder information: each entry is an array with ['prefix'] =&gt; string, ['value'] =&gt; string, ['option'] =&gt; string 'text'|single'|'export'|'array'|'multi'" type="array">
1228
  <type by_reference="false">array</type>
1229
  </tag>
1230
  </docblock>
1231
+ <argument line="1057">
1232
  <name>$tpl</name>
1233
  <default><![CDATA[]]></default>
1234
  <type/>
1235
  </argument>
1236
+ <argument line="1057">
1237
  <name>$default_option</name>
1238
  <default><![CDATA['text']]></default>
1239
  <type/>
1240
  </argument>
1241
  </method>
1242
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1163" package="Media Library Assistant">
1243
  <name>mla_count_list_table_items</name>
1244
  <full_name>mla_count_list_table_items</full_name>
1245
+ <docblock line="1152">
1246
  <description><![CDATA[Get the total number of attachment posts]]></description>
1247
  <long-description><![CDATA[]]></long-description>
1248
+ <tag line="1152" name="since" description="0.30"/>
1249
+ <tag line="1152" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
1250
  <type by_reference="false">array</type>
1251
  </tag>
1252
+ <tag line="1152" name="param" description="(optional) number of rows to skip over to reach desired page" type="int" variable="$offset">
1253
  <type by_reference="false">int</type>
1254
  </tag>
1255
+ <tag line="1152" name="param" description="(optional) number of rows on each page" type="int" variable="$count">
1256
  <type by_reference="false">int</type>
1257
  </tag>
1258
+ <tag line="1152" name="return" description="Number of attachment posts" type="integer">
1259
  <type by_reference="false">integer</type>
1260
  </tag>
1261
  </docblock>
1262
+ <argument line="1163">
1263
  <name>$request</name>
1264
  <default><![CDATA[]]></default>
1265
  <type/>
1266
  </argument>
1267
+ <argument line="1163">
1268
  <name>$offset</name>
1269
  <default><![CDATA[NULL]]></default>
1270
  <type/>
1271
  </argument>
1272
+ <argument line="1163">
1273
  <name>$count</name>
1274
  <default><![CDATA[NULL]]></default>
1275
  <type/>
1276
  </argument>
1277
  </method>
1278
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1191" package="Media Library Assistant">
1279
  <name>mla_query_list_table_items</name>
1280
  <full_name>mla_query_list_table_items</full_name>
1281
+ <docblock line="1177">
1282
  <description><![CDATA[Retrieve attachment objects for list table display]]></description>
1283
  <long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
1284
  Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
1285
+ <tag line="1177" name="since" description="0.1"/>
1286
+ <tag line="1177" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
1287
  <type by_reference="false">array</type>
1288
  </tag>
1289
+ <tag line="1177" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
1290
  <type by_reference="false">int</type>
1291
  </tag>
1292
+ <tag line="1177" name="param" description="number of rows on each page" type="int" variable="$count">
1293
  <type by_reference="false">int</type>
1294
  </tag>
1295
+ <tag line="1177" name="return" description="attachment objects (posts) including parent data, meta data and references" type="array">
1296
  <type by_reference="false">array</type>
1297
  </tag>
1298
  </docblock>
1299
+ <argument line="1191">
1300
  <name>$request</name>
1301
  <default><![CDATA[]]></default>
1302
  <type/>
1303
  </argument>
1304
+ <argument line="1191">
1305
  <name>$offset</name>
1306
  <default><![CDATA[]]></default>
1307
  <type/>
1308
  </argument>
1309
+ <argument line="1191">
1310
  <name>$count</name>
1311
  <default><![CDATA[]]></default>
1312
  <type/>
1313
  </argument>
1314
  </method>
1315
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1237" package="Media Library Assistant">
1316
  <name>mla_query_media_modal_items</name>
1317
  <full_name>mla_query_media_modal_items</full_name>
1318
+ <docblock line="1224">
1319
  <description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
1320
  <long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
1321
+ <tag line="1224" name="since" description="1.20"/>
1322
+ <tag line="1224" name="param" description="query parameters from Media Manager" type="array" variable="$request">
1323
  <type by_reference="false">array</type>
1324
  </tag>
1325
+ <tag line="1224" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
1326
  <type by_reference="false">int</type>
1327
  </tag>
1328
+ <tag line="1224" name="param" description="number of rows on each page" type="int" variable="$count">
1329
  <type by_reference="false">int</type>
1330
  </tag>
1331
+ <tag line="1224" name="return" description="attachment objects (posts)" type="array">
1332
  <type by_reference="false">array</type>
1333
  </tag>
1334
  </docblock>
1335
+ <argument line="1237">
1336
  <name>$request</name>
1337
  <default><![CDATA[]]></default>
1338
  <type/>
1339
  </argument>
1340
+ <argument line="1237">
1341
  <name>$offset</name>
1342
  <default><![CDATA[]]></default>
1343
  <type/>
1344
  </argument>
1345
+ <argument line="1237">
1346
  <name>$count</name>
1347
  <default><![CDATA[]]></default>
1348
  <type/>
1349
  </argument>
1350
  </method>
1351
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1301" package="Media Library Assistant">
1352
  <name>_prepare_list_table_query</name>
1353
  <full_name>_prepare_list_table_query</full_name>
1354
+ <docblock line="1287">
1355
  <description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
1356
  <long-description><![CDATA[<p>Prepare the arguments for WP_Query.
1357
  Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
1358
+ <tag line="1287" name="since" description="0.1"/>
1359
+ <tag line="1287" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
1360
  <type by_reference="false">array</type>
1361
  </tag>
1362
+ <tag line="1287" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
1363
  <type by_reference="false">int</type>
1364
  </tag>
1365
+ <tag line="1287" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
1366
  <type by_reference="false">int</type>
1367
  </tag>
1368
+ <tag line="1287" name="return" description="revised arguments suitable for WP_Query" type="array">
1369
  <type by_reference="false">array</type>
1370
  </tag>
1371
  </docblock>
1372
+ <argument line="1301">
1373
  <name>$raw_request</name>
1374
  <default><![CDATA[]]></default>
1375
  <type/>
1376
  </argument>
1377
+ <argument line="1301">
1378
  <name>$offset</name>
1379
  <default><![CDATA[0]]></default>
1380
  <type/>
1381
  </argument>
1382
+ <argument line="1301">
1383
  <name>$count</name>
1384
  <default><![CDATA[0]]></default>
1385
  <type/>
1386
  </argument>
1387
  </method>
1388
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1679" package="Media Library Assistant">
1389
  <name>_execute_list_table_query</name>
1390
  <full_name>_execute_list_table_query</full_name>
1391
+ <docblock line="1670">
1392
  <description><![CDATA[Add filters, run query, remove filters]]></description>
1393
  <long-description><![CDATA[]]></long-description>
1394
+ <tag line="1670" name="since" description="0.30"/>
1395
+ <tag line="1670" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
1396
  <type by_reference="false">array</type>
1397
  </tag>
1398
+ <tag line="1670" name="return" description="WP_Query object with query results" type="object">
1399
  <type by_reference="false">object</type>
1400
  </tag>
1401
  </docblock>
1402
+ <argument line="1679">
1403
  <name>$request</name>
1404
  <default><![CDATA[]]></default>
1405
  <type/>
1406
  </argument>
1407
  </method>
1408
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1782" package="Media Library Assistant">
1409
  <name>mla_search_terms_tidy</name>
1410
  <full_name>mla_search_terms_tidy</full_name>
1411
+ <docblock line="1771">
1412
  <description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
1413
  <long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
1414
+ <tag line="1771" name="since" description="1.51"/>
1415
+ <tag line="1771" name="param" description="search term before modification" type="string" variable="$term">
1416
  <type by_reference="false">string</type>
1417
  </tag>
1418
+ <tag line="1771" name="return" description="cleaned up search term" type="string">
1419
  <type by_reference="false">string</type>
1420
  </tag>
1421
  </docblock>
1422
+ <argument line="1782">
1423
  <name>$term</name>
1424
  <default><![CDATA[]]></default>
1425
  <type/>
1426
  </argument>
1427
  </method>
1428
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1798" package="Media Library Assistant">
1429
  <name>mla_query_posts_search_filter</name>
1430
  <full_name>mla_query_posts_search_filter</full_name>
1431
+ <docblock line="1786">
1432
  <description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
1433
  <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
1434
+ <tag line="1786" name="since" description="0.60"/>
1435
+ <tag line="1786" name="param" description="query clause before modification" type="string" variable="$search_string">
1436
  <type by_reference="false">string</type>
1437
  </tag>
1438
+ <tag line="1786" name="param" description="WP_Query object" type="object" variable="$query_object">
1439
  <type by_reference="false">object</type>
1440
  </tag>
1441
+ <tag line="1786" name="return" description="query clause after keyword search addition" type="string">
1442
  <type by_reference="false">string</type>
1443
  </tag>
1444
  </docblock>
1445
+ <argument line="1798">
1446
  <name>$search_string</name>
1447
  <default><![CDATA[]]></default>
1448
  <type/>
1449
  </argument>
1450
+ <argument line="1798">
1451
  <name>$query_object</name>
1452
  <default><![CDATA[]]></default>
1453
  <type/>
1454
  </argument>
1455
  </method>
1456
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2068" package="Media Library Assistant">
1457
  <name>mla_query_posts_where_filter</name>
1458
  <full_name>mla_query_posts_where_filter</full_name>
1459
+ <docblock line="2056">
1460
  <description><![CDATA[Adds/modifies the WHERE clause for meta values, LIKE patterns and detached items]]></description>
1461
  <long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
1462
  Defined as public because it's a filter.</p>]]></long-description>
1463
+ <tag line="2056" name="since" description="0.1"/>
1464
+ <tag line="2056" name="param" description="query clause before modification" type="string" variable="$where_clause">
1465
  <type by_reference="false">string</type>
1466
  </tag>
1467
+ <tag line="2056" name="return" description="query clause after modification" type="string">
1468
  <type by_reference="false">string</type>
1469
  </tag>
1470
  </docblock>
1471
+ <argument line="2068">
1472
  <name>$where_clause</name>
1473
  <default><![CDATA[]]></default>
1474
  <type/>
1475
  </argument>
1476
  </method>
1477
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2136" package="Media Library Assistant">
1478
  <name>mla_query_posts_join_filter</name>
1479
  <full_name>mla_query_posts_join_filter</full_name>
1480
+ <docblock line="2125">
1481
  <description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
1482
  <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
1483
+ <tag line="2125" name="since" description="0.30"/>
1484
+ <tag line="2125" name="param" description="query clause before modification" type="string" variable="$join_clause">
1485
  <type by_reference="false">string</type>
1486
  </tag>
1487
+ <tag line="2125" name="return" description="query clause after &quot;LEFT JOIN view ON post_id&quot; item modification" type="string">
1488
  <type by_reference="false">string</type>
1489
  </tag>
1490
  </docblock>
1491
+ <argument line="2136">
1492
  <name>$join_clause</name>
1493
  <default><![CDATA[]]></default>
1494
  <type/>
1495
  </argument>
1496
  </method>
1497
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2191" package="Media Library Assistant">
1498
  <name>mla_query_posts_groupby_filter</name>
1499
  <full_name>mla_query_posts_groupby_filter</full_name>
1500
+ <docblock line="2179">
1501
  <description><![CDATA[Adds a GROUPBY clause, if required]]></description>
1502
  <long-description><![CDATA[<p>Taxonomy text queries require a GROUPBY clause.
1503
  Defined as public because it's a filter.</p>]]></long-description>
1504
+ <tag line="2179" name="since" description="1.90"/>
1505
+ <tag line="2179" name="param" description="query clause before modification" type="string" variable="$groupby_clause">
1506
  <type by_reference="false">string</type>
1507
  </tag>
1508
+ <tag line="2179" name="return" description="updated query clause" type="string">
1509
  <type by_reference="false">string</type>
1510
  </tag>
1511
  </docblock>
1512
+ <argument line="2191">
1513
  <name>$groupby_clause</name>
1514
  <default><![CDATA[]]></default>
1515
  <type/>
1516
  </argument>
1517
  </method>
1518
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2213" package="Media Library Assistant">
1519
  <name>mla_query_posts_orderby_filter</name>
1520
  <full_name>mla_query_posts_orderby_filter</full_name>
1521
+ <docblock line="2201">
1522
  <description><![CDATA[Adds a ORDERBY clause, if required]]></description>
1523
  <long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
1524
  Defined as public because it's a filter.</p>]]></long-description>
1525
+ <tag line="2201" name="since" description="0.30"/>
1526
+ <tag line="2201" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
1527
  <type by_reference="false">string</type>
1528
  </tag>
1529
+ <tag line="2201" name="return" description="updated query clause" type="string">
1530
  <type by_reference="false">string</type>
1531
  </tag>
1532
  </docblock>
1533
+ <argument line="2213">
1534
  <name>$orderby_clause</name>
1535
  <default><![CDATA[]]></default>
1536
  <type/>
1537
  </argument>
1538
  </method>
1539
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2291" package="Media Library Assistant">
1540
  <name>mla_query_relevanssi_admin_search_ok_filter</name>
1541
  <full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
1542
+ <docblock line="2281">
1543
  <description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
1544
  Defined as public because it's a filter.]]></description>
1545
  <long-description><![CDATA[]]></long-description>
1546
+ <tag line="2281" name="since" description="1.80"/>
1547
+ <tag line="2281" name="param" description="Default setting" type="boolean" variable="$admin_search_ok">
1548
  <type by_reference="false">boolean</type>
1549
  </tag>
1550
+ <tag line="2281" name="return" description="Updated setting" type="boolean">
1551
  <type by_reference="false">boolean</type>
1552
  </tag>
1553
  </docblock>
1554
+ <argument line="2291">
1555
  <name>$admin_search_ok</name>
1556
  <default><![CDATA[]]></default>
1557
  <type/>
1558
  </argument>
1559
  </method>
1560
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2307" package="Media Library Assistant">
1561
  <name>mla_query_posts_clauses_filter</name>
1562
  <full_name>mla_query_posts_clauses_filter</full_name>
1563
+ <docblock line="2295">
1564
  <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
1565
  <long-description><![CDATA[<p>This is for debug purposes only.
1566
  Defined as public because it's a filter.</p>]]></long-description>
1567
+ <tag line="2295" name="since" description="1.80"/>
1568
+ <tag line="2295" name="param" description="query clauses before modification" type="array" variable="$pieces">
1569
  <type by_reference="false">array</type>
1570
  </tag>
1571
+ <tag line="2295" name="return" description="query clauses after modification (none)" type="array">
1572
  <type by_reference="false">array</type>
1573
  </tag>
1574
  </docblock>
1575
+ <argument line="2307">
1576
  <name>$pieces</name>
1577
  <default><![CDATA[]]></default>
1578
  <type/>
1579
  </argument>
1580
  </method>
1581
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2331" package="Media Library Assistant">
1582
  <name>mla_query_posts_clauses_request_filter</name>
1583
  <full_name>mla_query_posts_clauses_request_filter</full_name>
1584
+ <docblock line="2319">
1585
  <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
1586
  <long-description><![CDATA[<p>This is for debug purposes only.
1587
  Defined as public because it's a filter.</p>]]></long-description>
1588
+ <tag line="2319" name="since" description="1.80"/>
1589
+ <tag line="2319" name="param" description="query clauses before modification" type="array" variable="$pieces">
1590
  <type by_reference="false">array</type>
1591
  </tag>
1592
+ <tag line="2319" name="return" description="query clauses after modification (none)" type="array">
1593
  <type by_reference="false">array</type>
1594
  </tag>
1595
  </docblock>
1596
+ <argument line="2331">
1597
  <name>$pieces</name>
1598
  <default><![CDATA[]]></default>
1599
  <type/>
1600
  </argument>
1601
  </method>
1602
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2357" package="Media Library Assistant">
1603
  <name>mla_get_attachment_by_id</name>
1604
  <full_name>mla_get_attachment_by_id</full_name>
1605
+ <docblock line="2343">
1606
  <description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
1607
  <long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
1608
  the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
1609
+ <tag line="2343" name="since" description="0.1"/>
1610
+ <tag line="2343" name="uses" description="\global\$post" refers="\global\$post"/>
1611
+ <tag line="2343" name="param" description="The ID of the attachment post" type="integer" variable="$post_id">
1612
+ <type by_reference="false">integer</type>
1613
+ </tag>
1614
+ <tag line="2343" name="param" description="True to add references, false to skip references" type="boolean" variable="$add_references">
1615
+ <type by_reference="false">boolean</type>
1616
  </tag>
1617
+ <tag line="2343" name="return" description="NULL on failure else associative array" type="NULL|array">
1618
  <type by_reference="false">NULL</type>
1619
  <type by_reference="false">array</type>
1620
  </tag>
1621
  </docblock>
1622
+ <argument line="2357">
1623
  <name>$post_id</name>
1624
  <default><![CDATA[]]></default>
1625
  <type/>
1626
  </argument>
1627
+ <argument line="2357">
1628
+ <name>$add_references</name>
1629
+ <default><![CDATA[true]]></default>
1630
+ <type/>
1631
+ </argument>
1632
  </method>
1633
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2413" package="Media Library Assistant">
1634
  <name>mla_fetch_attachment_parent_data</name>
1635
  <full_name>mla_fetch_attachment_parent_data</full_name>
1636
+ <docblock line="2404">
1637
  <description><![CDATA[Returns information about an attachment's parent, if found]]></description>
1638
  <long-description><![CDATA[]]></long-description>
1639
+ <tag line="2404" name="since" description="0.1"/>
1640
+ <tag line="2404" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
1641
  <type by_reference="false">int</type>
1642
  </tag>
1643
+ <tag line="2404" name="return" description="Parent information; post_date, post_title and post_type" type="array">
1644
  <type by_reference="false">array</type>
1645
  </tag>
1646
  </docblock>
1647
+ <argument line="2413">
1648
  <name>$parent_id</name>
1649
  <default><![CDATA[]]></default>
1650
  <type/>
1651
  </argument>
1652
  </method>
1653
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2459" package="Media Library Assistant">
1654
  <name>_set_array_element</name>
1655
  <full_name>_set_array_element</full_name>
1656
+ <docblock line="2448">
1657
  <description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
1658
  <long-description><![CDATA[]]></long-description>
1659
+ <tag line="2448" name="since" description="1.51"/>
1660
+ <tag line="2448" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
1661
  <type by_reference="false">string</type>
1662
  </tag>
1663
+ <tag line="2448" name="param" description="replacement value, string or array, by reference" type="mixed" variable="$value">
1664
  <type by_reference="false">mixed</type>
1665
  </tag>
1666
+ <tag line="2448" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
1667
  <type by_reference="false">array</type>
1668
  </tag>
1669
+ <tag line="2448" name="return" description="true if $needle element set, false if not" type="boolean">
1670
  <type by_reference="false">boolean</type>
1671
  </tag>
1672
  </docblock>
1673
+ <argument line="2459">
1674
  <name>$needle</name>
1675
  <default><![CDATA[]]></default>
1676
  <type/>
1677
  </argument>
1678
+ <argument line="2459">
1679
  <name>$value</name>
1680
  <default><![CDATA[]]></default>
1681
  <type/>
1682
  </argument>
1683
+ <argument line="2459">
1684
  <name>$haystack</name>
1685
  <default><![CDATA[]]></default>
1686
  <type/>
1687
  </argument>
1688
  </method>
1689
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2493" package="Media Library Assistant">
1690
  <name>_unset_array_element</name>
1691
  <full_name>_unset_array_element</full_name>
1692
+ <docblock line="2483">
1693
  <description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
1694
  <long-description><![CDATA[]]></long-description>
1695
+ <tag line="2483" name="since" description="1.51"/>
1696
+ <tag line="2483" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
1697
  <type by_reference="false">string</type>
1698
  </tag>
1699
+ <tag line="2483" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
1700
  <type by_reference="false">array</type>
1701
  </tag>
1702
+ <tag line="2483" name="return" description="true if $needle element found, false if not" type="boolean">
1703
  <type by_reference="false">boolean</type>
1704
  </tag>
1705
  </docblock>
1706
+ <argument line="2493">
1707
  <name>$needle</name>
1708
  <default><![CDATA[]]></default>
1709
  <type/>
1710
  </argument>
1711
+ <argument line="2493">
1712
  <name>$haystack</name>
1713
  <default><![CDATA[]]></default>
1714
  <type/>
1715
  </argument>
1716
  </method>
1717
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2528" package="Media Library Assistant">
1718
  <name>mla_find_array_element</name>
1719
  <full_name>mla_find_array_element</full_name>
1720
+ <docblock line="2513">
1721
  <description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
1722
  <long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
1723
  Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
1724
+ <tag line="2513" name="since" description="1.30"/>
1725
+ <tag line="2513" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
1726
  <type by_reference="false">string</type>
1727
  </tag>
1728
+ <tag line="2513" name="param" description="PHP nested arrays" type="array" variable="$haystack">
1729
  <type by_reference="false">array</type>
1730
  </tag>
1731
+ <tag line="2513" name="param" description="data option 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
1732
  <type by_reference="false">string</type>
1733
  </tag>
1734
+ <tag line="2513" name="param" description="keep existing values - for 'multi' option" type="boolean" variable="$keep_existing">
1735
  <type by_reference="false">boolean</type>
1736
  </tag>
1737
+ <tag line="2513" name="return" description="string or array value matching key(.key ...) or ''" type="mixed">
1738
  <type by_reference="false">mixed</type>
1739
  </tag>
1740
  </docblock>
1741
+ <argument line="2528">
1742
  <name>$needle</name>
1743
  <default><![CDATA[]]></default>
1744
  <type/>
1745
  </argument>
1746
+ <argument line="2528">
1747
  <name>$haystack</name>
1748
  <default><![CDATA[]]></default>
1749
  <type/>
1750
  </argument>
1751
+ <argument line="2528">
1752
  <name>$option</name>
1753
  <default><![CDATA[]]></default>
1754
  <type/>
1755
  </argument>
1756
+ <argument line="2528">
1757
  <name>$keep_existing</name>
1758
  <default><![CDATA[false]]></default>
1759
  <type/>
1760
  </argument>
1761
  </method>
1762
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2581" package="Media Library Assistant">
1763
  <name>mla_fetch_attachment_metadata</name>
1764
  <full_name>mla_fetch_attachment_metadata</full_name>
1765
+ <docblock line="2569">
1766
  <description><![CDATA[Fetch and filter meta data for an attachment]]></description>
1767
  <long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
1768
  are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
1769
+ <tag line="2569" name="since" description="0.1"/>
1770
+ <tag line="2569" name="param" description="post ID of attachment" type="int" variable="$post_id">
1771
  <type by_reference="false">int</type>
1772
  </tag>
1773
+ <tag line="2569" name="return" description="Meta data variables" type="array">
1774
  <type by_reference="false">array</type>
1775
  </tag>
1776
  </docblock>
1777
+ <argument line="2581">
1778
  <name>$post_id</name>
1779
  <default><![CDATA[]]></default>
1780
  <type/>
1781
  </argument>
1782
  </method>
1783
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2667" package="Media Library Assistant">
1784
  <name>mla_fetch_attachment_references</name>
1785
  <full_name>mla_fetch_attachment_references</full_name>
1786
+ <docblock line="2653">
1787
  <description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
1788
  <long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
1789
  as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
1790
+ <tag line="2653" name="since" description="0.1"/>
1791
+ <tag line="2653" name="param" description="post ID of attachment" type="int" variable="$ID">
1792
  <type by_reference="false">int</type>
1793
  </tag>
1794
+ <tag line="2653" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent">
1795
  <type by_reference="false">int</type>
1796
  </tag>
1797
+ <tag line="2653" name="param" description="True to compute references, false to return empty values" type="boolean" variable="$add_references">
1798
+ <type by_reference="false">boolean</type>
1799
+ </tag>
1800
+ <tag line="2653" name="return" description="Reference information; see $references array comments" type="array">
1801
  <type by_reference="false">array</type>
1802
  </tag>
1803
  </docblock>
1804
+ <argument line="2667">
1805
  <name>$ID</name>
1806
  <default><![CDATA[]]></default>
1807
  <type/>
1808
  </argument>
1809
+ <argument line="2667">
1810
  <name>$parent</name>
1811
  <default><![CDATA[]]></default>
1812
  <type/>
1813
  </argument>
1814
+ <argument line="2667">
1815
+ <name>$add_references</name>
1816
+ <default><![CDATA[true]]></default>
1817
+ <type/>
1818
+ </argument>
1819
  </method>
1820
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2997" package="Media Library Assistant">
1821
  <name>mla_attachment_array_fetch_references</name>
1822
  <full_name>mla_attachment_array_fetch_references</full_name>
1823
+ <docblock line="2985">
1824
  <description><![CDATA[Add Featured Image and inserted image/link references to an array of attachments]]></description>
1825
  <long-description><![CDATA[<p>Searches all post and page content to see if the attachmenta are used
1826
  as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
1827
+ <tag line="2985" name="since" description="1.94"/>
1828
+ <tag line="2985" name="param" description="WP_Post objects, passed by reference" type="array" variable="$attachments">
1829
  <type by_reference="false">array</type>
1830
  </tag>
1831
+ <tag line="2985" name="return" description="updates WP_Post objects with new mla_references property" type="void">
1832
  <type by_reference="false">void</type>
1833
  </tag>
1834
  </docblock>
1835
+ <argument line="2997">
1836
  <name>$attachments</name>
1837
  <default><![CDATA[]]></default>
1838
  <type/>
1839
  </argument>
1840
  </method>
1841
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3359" package="Media Library Assistant">
1842
  <name>mla_flush_mla_galleries</name>
1843
  <full_name>mla_flush_mla_galleries</full_name>
1844
+ <docblock line="3350">
1845
  <description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
1846
  <long-description><![CDATA[]]></long-description>
1847
+ <tag line="3350" name="since" description="1.00"/>
1848
+ <tag line="3350" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
1849
  <type by_reference="false">string</type>
1850
  </tag>
1851
+ <tag line="3350" name="return" description="" type="void">
1852
  <type by_reference="false">void</type>
1853
  </tag>
1854
  </docblock>
1855
+ <argument line="3359">
1856
  <name>$option_name</name>
1857
  <default><![CDATA[]]></default>
1858
  <type/>
1859
  </argument>
1860
  </method>
1861
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3383" package="Media Library Assistant">
1862
  <name>mla_save_post_action</name>
1863
  <full_name>mla_save_post_action</full_name>
1864
+ <docblock line="3374">
1865
  <description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
1866
  <long-description><![CDATA[]]></long-description>
1867
+ <tag line="3374" name="since" description="1.00"/>
1868
+ <tag line="3374" name="param" description="ID of post/page/attachment; not used at this time" type="integer" variable="$post_id">
1869
  <type by_reference="false">integer</type>
1870
  </tag>
1871
+ <tag line="3374" name="return" description="" type="void">
1872
  <type by_reference="false">void</type>
1873
  </tag>
1874
  </docblock>
1875
+ <argument line="3383">
1876
  <name>$post_id</name>
1877
  <default><![CDATA[]]></default>
1878
  <type/>
1879
  </argument>
1880
  </method>
1881
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3400" package="Media Library Assistant">
1882
  <name>_build_mla_galleries</name>
1883
  <full_name>_build_mla_galleries</full_name>
1884
+ <docblock line="3388">
1885
  <description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
1886
  <long-description><![CDATA[]]></long-description>
1887
+ <tag line="3388" name="since" description="0.70"/>
1888
+ <tag line="3388" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
1889
  <type by_reference="false">string</type>
1890
  </tag>
1891
+ <tag line="3388" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
1892
  <type by_reference="false">array</type>
1893
  </tag>
1894
+ <tag line="3388" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
1895
  <type by_reference="false">string</type>
1896
  </tag>
1897
+ <tag line="3388" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
1898
  <type by_reference="false">boolean</type>
1899
  </tag>
1900
+ <tag line="3388" name="return" description="true if the galleries array is not empty" type="boolean">
1901
  <type by_reference="false">boolean</type>
1902
  </tag>
1903
  </docblock>
1904
+ <argument line="3400">
1905
  <name>$option_name</name>
1906
  <default><![CDATA[]]></default>
1907
  <type/>
1908
  </argument>
1909
+ <argument line="3400">
1910
  <name>$galleries_array</name>
1911
  <default><![CDATA[]]></default>
1912
  <type/>
1913
  </argument>
1914
+ <argument line="3400">
1915
  <name>$shortcode</name>
1916
  <default><![CDATA[]]></default>
1917
  <type/>
1918
  </argument>
1919
+ <argument line="3400">
1920
  <name>$exclude_revisions</name>
1921
  <default><![CDATA[]]></default>
1922
  <type/>
1923
  </argument>
1924
  </method>
1925
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3521" package="Media Library Assistant">
1926
  <name>_search_mla_galleries</name>
1927
  <full_name>_search_mla_galleries</full_name>
1928
+ <docblock line="3510">
1929
  <description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
1930
  <long-description><![CDATA[]]></long-description>
1931
+ <tag line="3510" name="since" description="0.70"/>
1932
+ <tag line="3510" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
1933
  <type by_reference="false">array</type>
1934
  </tag>
1935
+ <tag line="3510" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
1936
  <type by_reference="false">int</type>
1937
  </tag>
1938
+ <tag line="3510" name="return" description="All posts/pages with one or more galleries that include the attachment. The array key is the parent_post ID; each entry contains post_title and post_type." type="array">
1939
  <type by_reference="false">array</type>
1940
  </tag>
1941
  </docblock>
1942
+ <argument line="3521">
1943
  <name>$galleries_array</name>
1944
  <default><![CDATA[]]></default>
1945
  <type/>
1946
  </argument>
1947
+ <argument line="3521">
1948
  <name>$attachment_id</name>
1949
  <default><![CDATA[]]></default>
1950
  <type/>
1951
  </argument>
1952
  </method>
1953
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3560" package="Media Library Assistant">
1954
  <name>_parse_pdf_xref_subsection</name>
1955
  <full_name>_parse_pdf_xref_subsection</full_name>
1956
+ <docblock line="3547">
1957
  <description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
1958
  <long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
1959
+ <tag line="3547" name="since" description="1.50"/>
1960
+ <tag line="3547" name="param" description="buffer containing the subsection" type="string" variable="$xref_section">
1961
  <type by_reference="false">string</type>
1962
  </tag>
1963
+ <tag line="3547" name="param" description="offset within the buffer of the first entry" type="integer" variable="$offset">
1964
  <type by_reference="false">integer</type>
1965
  </tag>
1966
+ <tag line="3547" name="param" description="number of the first object in the subsection" type="integer" variable="$object_id">
1967
  <type by_reference="false">integer</type>
1968
  </tag>
1969
+ <tag line="3547" name="param" description="number of entries in the subsection" type="integer" variable="$count">
1970
  <type by_reference="false">integer</type>
1971
  </tag>
1972
+ <tag line="3547" name="return" description="" type="void">
1973
  <type by_reference="false">void</type>
1974
  </tag>
1975
  </docblock>
1976
+ <argument line="3560">
1977
  <name>$xref_section</name>
1978
  <default><![CDATA[]]></default>
1979
  <type/>
1980
  </argument>
1981
+ <argument line="3560">
1982
  <name>$offset</name>
1983
  <default><![CDATA[]]></default>
1984
  <type/>
1985
  </argument>
1986
+ <argument line="3560">
1987
  <name>$object_id</name>
1988
  <default><![CDATA[]]></default>
1989
  <type/>
1990
  </argument>
1991
+ <argument line="3560">
1992
  <name>$count</name>
1993
  <default><![CDATA[]]></default>
1994
  <type/>
1995
  </argument>
1996
  </method>
1997
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3592" package="Media Library Assistant">
1998
  <name>_parse_pdf_xref_section</name>
1999
  <full_name>_parse_pdf_xref_section</full_name>
2000
+ <docblock line="3581">
2001
  <description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
2002
  <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2003
+ <tag line="3581" name="since" description="1.50"/>
2004
+ <tag line="3581" name="param" description="full path and file name" type="string" variable="$file_name">
2005
  <type by_reference="false">string</type>
2006
  </tag>
2007
+ <tag line="3581" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
2008
  <type by_reference="false">integer</type>
2009
  </tag>
2010
+ <tag line="3581" name="return" description="length of the section" type="integer">
2011
  <type by_reference="false">integer</type>
2012
  </tag>
2013
  </docblock>
2014
+ <argument line="3592">
2015
  <name>$file_name</name>
2016
  <default><![CDATA[]]></default>
2017
  <type/>
2018
  </argument>
2019
+ <argument line="3592">
2020
  <name>$file_offset</name>
2021
  <default><![CDATA[]]></default>
2022
  <type/>
2023
  </argument>
2024
  </method>
2025
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3626" package="Media Library Assistant">
2026
  <name>_parse_pdf_xref_stream</name>
2027
  <full_name>_parse_pdf_xref_stream</full_name>
2028
+ <docblock line="3614">
2029
  <description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
2030
  <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2031
+ <tag line="3614" name="since" description="1.50"/>
2032
+ <tag line="3614" name="param" description="full path and file name" type="string" variable="$file_name">
2033
  <type by_reference="false">string</type>
2034
  </tag>
2035
+ <tag line="3614" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
2036
  <type by_reference="false">integer</type>
2037
  </tag>
2038
+ <tag line="3614" name="param" description="&quot;/W&quot; entry, representing the size of the fields in a single entry" type="string" variable="$entry_parms_string">
2039
  <type by_reference="false">string</type>
2040
  </tag>
2041
+ <tag line="3614" name="return" description="length of the stream" type="integer">
2042
  <type by_reference="false">integer</type>
2043
  </tag>
2044
  </docblock>
2045
+ <argument line="3626">
2046
  <name>$file_name</name>
2047
  <default><![CDATA[]]></default>
2048
  <type/>
2049
  </argument>
2050
+ <argument line="3626">
2051
  <name>$file_offset</name>
2052
  <default><![CDATA[]]></default>
2053
  <type/>
2054
  </argument>
2055
+ <argument line="3626">
2056
  <name>$entry_parms_string</name>
2057
  <default><![CDATA[]]></default>
2058
  <type/>
2059
  </argument>
2060
  </method>
2061
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3705" package="Media Library Assistant">
2062
  <name>_build_pdf_indirect_objects</name>
2063
  <full_name>_build_pdf_indirect_objects</full_name>
2064
+ <docblock line="3695">
2065
  <description><![CDATA[Build an array of indirect object definitions]]></description>
2066
  <long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
2067
+ <tag line="3695" name="since" description="1.50"/>
2068
+ <tag line="3695" name="param" description="The entire PDF document, passsed by reference" type="string" variable="$string">
2069
  <type by_reference="false">string</type>
2070
  </tag>
2071
+ <tag line="3695" name="return" description="" type="void">
2072
  <type by_reference="false">void</type>
2073
  </tag>
2074
  </docblock>
2075
+ <argument line="3705">
2076
  <name>$string</name>
2077
  <default><![CDATA[]]></default>
2078
  <type/>
2079
  </argument>
2080
  </method>
2081
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3753" package="Media Library Assistant">
2082
  <name>_find_pdf_indirect_dictionary</name>
2083
  <full_name>_find_pdf_indirect_dictionary</full_name>
2084
+ <docblock line="3739">
2085
  <description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
2086
  <long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
2087
  This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
2088
+ <tag line="3739" name="since" description="1.50"/>
2089
+ <tag line="3739" name="param" description="full path and file name" type="string" variable="$file_name">
2090
  <type by_reference="false">string</type>
2091
  </tag>
2092
+ <tag line="3739" name="param" description="The object number" type="integer" variable="$object">
2093
  <type by_reference="false">integer</type>
2094
  </tag>
2095
+ <tag line="3739" name="param" description="The object generation number; default zero (0)" type="integer" variable="$generation">
2096
  <type by_reference="false">integer</type>
2097
  </tag>
2098
+ <tag line="3739" name="return" description="NULL on failure else array( 'start' =&gt; offset in the file, 'length' =&gt; object length, 'content' =&gt; dictionary contents )" type="mixed">
2099
  <type by_reference="false">mixed</type>
2100
  </tag>
2101
  </docblock>
2102
+ <argument line="3753">
2103
  <name>$file_name</name>
2104
  <default><![CDATA[]]></default>
2105
  <type/>
2106
  </argument>
2107
+ <argument line="3753">
2108
  <name>$object</name>
2109
  <default><![CDATA[]]></default>
2110
  <type/>
2111
  </argument>
2112
+ <argument line="3753">
2113
  <name>$generation</name>
2114
  <default><![CDATA[0]]></default>
2115
  <type/>
2116
  </argument>
2117
  </method>
2118
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3850" package="Media Library Assistant">
2119
  <name>_parse_iso8601_date</name>
2120
  <full_name>_parse_iso8601_date</full_name>
2121
+ <docblock line="3841">
2122
  <description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
2123
  <long-description><![CDATA[]]></long-description>
2124
+ <tag line="3841" name="since" description="1.50"/>
2125
+ <tag line="3841" name="param" description="ISO string of the form YYYY-MM-DDTHH:MM:SS-HH:MM (inc time zone)" type="string" variable="$source_string">
2126
  <type by_reference="false">string</type>
2127
  </tag>
2128
+ <tag line="3841" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
2129
  <type by_reference="false">string</type>
2130
  </tag>
2131
  </docblock>
2132
+ <argument line="3850">
2133
  <name>$source_string</name>
2134
  <default><![CDATA[]]></default>
2135
  <type/>
2136
  </argument>
2137
  </method>
2138
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3873" package="Media Library Assistant">
2139
  <name>_parse_pdf_date</name>
2140
  <full_name>_parse_pdf_date</full_name>
2141
+ <docblock line="3864">
2142
  <description><![CDATA[Parse a PDF date string]]></description>
2143
  <long-description><![CDATA[]]></long-description>
2144
+ <tag line="3864" name="since" description="1.50"/>
2145
+ <tag line="3864" name="param" description="PDF date string of the form D:YYYYMMDDHHmmSSOHH'mm" type="string" variable="$source_string">
2146
  <type by_reference="false">string</type>
2147
  </tag>
2148
+ <tag line="3864" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
2149
  <type by_reference="false">string</type>
2150
  </tag>
2151
  </docblock>
2152
+ <argument line="3873">
2153
  <name>$source_string</name>
2154
  <default><![CDATA[]]></default>
2155
  <type/>
2156
  </argument>
2157
  </method>
2158
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3896" package="Media Library Assistant">
2159
  <name>_parse_pdf_UTF16BE</name>
2160
  <full_name>_parse_pdf_UTF16BE</full_name>
2161
+ <docblock line="3887">
2162
  <description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
2163
  <long-description><![CDATA[]]></long-description>
2164
+ <tag line="3887" name="since" description="1.50"/>
2165
+ <tag line="3887" name="param" description="PDF string of 16-bit characters" type="string" variable="$source_string">
2166
  <type by_reference="false">string</type>
2167
  </tag>
2168
+ <tag line="3887" name="return" description="UTF-8 encoded string" type="string">
2169
  <type by_reference="false">string</type>
2170
  </tag>
2171
  </docblock>
2172
+ <argument line="3896">
2173
  <name>$source_string</name>
2174
  <default><![CDATA[]]></default>
2175
  <type/>
2176
  </argument>
2177
  </method>
2178
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3925" package="Media Library Assistant">
2179
  <name>_parse_pdf_string</name>
2180
  <full_name>_parse_pdf_string</full_name>
2181
+ <docblock line="3912">
2182
  <description><![CDATA[Parse a PDF string object]]></description>
2183
  <long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
2184
  the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
2185
+ <tag line="3912" name="since" description="1.50"/>
2186
+ <tag line="3912" name="param" description="data within which the string occurs" type="string" variable="$source_string">
2187
  <type by_reference="false">string</type>
2188
  </tag>
2189
+ <tag line="3912" name="param" description="offset within the source string of the opening '(' character." type="integer" variable="$offset">
2190
  <type by_reference="false">integer</type>
2191
  </tag>
2192
+ <tag line="3912" name="return" description="( key =&gt; array( 'type' =&gt; type, 'value' =&gt; value, '/length' =&gt; length ) ) for the string" type="array">
2193
  <type by_reference="false">array</type>
2194
  </tag>
2195
  </docblock>
2196
+ <argument line="3925">
2197
  <name>$source_string</name>
2198
  <default><![CDATA[]]></default>
2199
  <type/>
2200
  </argument>
2201
+ <argument line="3925">
2202
  <name>$offset</name>
2203
  <default><![CDATA[]]></default>
2204
  <type/>
2205
  </argument>
2206
  </method>
2207
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4019" package="Media Library Assistant">
2208
  <name>_parse_pdf_LPD_dictionary</name>
2209
  <full_name>_parse_pdf_LPD_dictionary</full_name>
2210
+ <docblock line="4005">
2211
  <description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
2212
  <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2213
  indirect (object), name, array, dictionary, stream, and null.
2214
  The array also has a '/length' element containing the number of bytes occupied by the
2215
  dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
2216
+ <tag line="4005" name="since" description="1.50"/>
2217
+ <tag line="4005" name="param" description="data within which the object occurs, typically the start of a PDF document" type="string" variable="$source_string">
2218
  <type by_reference="false">string</type>
2219
  </tag>
2220
+ <tag line="4005" name="param" description="filesize of the PDF document, for validation purposes, or zero (0) to ignore filesize" type="integer" variable="$filesize">
2221
  <type by_reference="false">integer</type>
2222
  </tag>
2223
+ <tag line="4005" name="return" description="array of dictionary objects on success, false on failure" type="mixed">
2224
  <type by_reference="false">mixed</type>
2225
  </tag>
2226
  </docblock>
2227
+ <argument line="4019">
2228
  <name>$source_string</name>
2229
  <default><![CDATA[]]></default>
2230
  <type/>
2231
  </argument>
2232
+ <argument line="4019">
2233
  <name>$filesize</name>
2234
  <default><![CDATA[]]></default>
2235
  <type/>
2236
  </argument>
2237
  </method>
2238
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4044" package="Media Library Assistant">
2239
  <name>_parse_pdf_dictionary</name>
2240
  <full_name>_parse_pdf_dictionary</full_name>
2241
+ <docblock line="4030">
2242
  <description><![CDATA[Parse a PDF dictionary object]]></description>
2243
  <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2244
  indirect (object), name, array, dictionary, stream, and null.
2245
  The array also has a '/length' element containing the number of bytes occupied by the
2246
  dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
2247
+ <tag line="4030" name="since" description="1.50"/>
2248
+ <tag line="4030" name="param" description="data within which the string occurs" type="string" variable="$source_string">
2249
  <type by_reference="false">string</type>
2250
  </tag>
2251
+ <tag line="4030" name="param" description="offset within the source string of the opening '&lt;&lt;' characters or the first content character." type="integer" variable="$offset">
2252
  <type by_reference="false">integer</type>
2253
  </tag>
2254
+ <tag line="4030" name="return" description="( '/length' =&gt; length, key =&gt; array( 'type' =&gt; type, 'value' =&gt; value ) ) for each dictionary field" type="array">
2255
  <type by_reference="false">array</type>
2256
  </tag>
2257
  </docblock>
2258
+ <argument line="4044">
2259
  <name>$source_string</name>
2260
  <default><![CDATA[]]></default>
2261
  <type/>
2262
  </argument>
2263
+ <argument line="4044">
2264
  <name>$offset</name>
2265
  <default><![CDATA[]]></default>
2266
  <type/>
2267
  </argument>
2268
  </method>
2269
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4176" package="Media Library Assistant">
2270
  <name>_parse_xmp_metadata</name>
2271
  <full_name>_parse_xmp_metadata</full_name>
2272
+ <docblock line="4162">
2273
  <description><![CDATA[Parse an XMP object]]></description>
2274
  <long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
2275
  indirect (object), name, array, dictionary, stream, and null.
2276
  The array also has a '/length' element containing the number of bytes occupied by the
2277
  dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
2278
+ <tag line="4162" name="since" description="1.50"/>
2279
+ <tag line="4162" name="param" description="full path and file name" type="string" variable="$file_name">
2280
  <type by_reference="false">string</type>
2281
  </tag>
2282
+ <tag line="4162" name="param" description="offset within the file of the search start point" type="integer" variable="$file_offset">
2283
  <type by_reference="false">integer</type>
2284
  </tag>
2285
+ <tag line="4162" name="return" description="array of metadata values or NULL on failure" type="mixed">
2286
  <type by_reference="false">mixed</type>
2287
  </tag>
2288
  </docblock>
2289
+ <argument line="4176">
2290
  <name>$file_name</name>
2291
  <default><![CDATA[]]></default>
2292
  <type/>
2293
  </argument>
2294
+ <argument line="4176">
2295
  <name>$file_offset</name>
2296
  <default><![CDATA[]]></default>
2297
  <type/>
2298
  </argument>
2299
  </method>
2300
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4465" package="Media Library Assistant">
2301
  <name>_extract_pdf_trailer</name>
2302
  <full_name>_extract_pdf_trailer</full_name>
2303
+ <docblock line="4455">
2304
  <description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
2305
  <long-description><![CDATA[]]></long-description>
2306
+ <tag line="4455" name="since" description="1.50"/>
2307
+ <tag line="4455" name="param" description="full path to the desired file" type="string" variable="$file_name">
2308
  <type by_reference="false">string</type>
2309
  </tag>
2310
+ <tag line="4455" name="param" description="offset within file of the cross-reference table" type="integer" variable="$file_offset">
2311
  <type by_reference="false">integer</type>
2312
  </tag>
2313
+ <tag line="4455" name="return" description="array of &quot;PDF dictionary arrays&quot;, newest first, or NULL on failure" type="mixed">
2314
  <type by_reference="false">mixed</type>
2315
  </tag>
2316
  </docblock>
2317
+ <argument line="4465">
2318
  <name>$file_name</name>
2319
  <default><![CDATA[]]></default>
2320
  <type/>
2321
  </argument>
2322
+ <argument line="4465">
2323
  <name>$file_offset</name>
2324
  <default><![CDATA[]]></default>
2325
  <type/>
2326
  </argument>
2327
  </method>
2328
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4551" package="Media Library Assistant">
2329
  <name>_extract_pdf_metadata</name>
2330
  <full_name>_extract_pdf_metadata</full_name>
2331
+ <docblock line="4542">
2332
  <description><![CDATA[Extract Metadata from a PDF file]]></description>
2333
  <long-description><![CDATA[]]></long-description>
2334
+ <tag line="4542" name="since" description="1.50"/>
2335
+ <tag line="4542" name="param" description="full path to the desired file" type="string" variable="$file_name">
2336
  <type by_reference="false">string</type>
2337
  </tag>
2338
+ <tag line="4542" name="return" description="( key =&gt; value ) for each metadata field, in string format" type="array">
2339
  <type by_reference="false">array</type>
2340
  </tag>
2341
  </docblock>
2342
+ <argument line="4551">
2343
  <name>$file_name</name>
2344
  <default><![CDATA[]]></default>
2345
  <type/>
2346
  </argument>
2347
  </method>
2348
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4684" package="Media Library Assistant">
2349
  <name>_bin_to_utf8</name>
2350
  <full_name>_bin_to_utf8</full_name>
2351
+ <docblock line="4675">
2352
  <description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
2353
  <long-description><![CDATA[]]></long-description>
2354
+ <tag line="4675" name="since" description="1.41"/>
2355
+ <tag line="4675" name="param" description="unencoded string" type="string" variable="$string">
2356
  <type by_reference="false">string</type>
2357
  </tag>
2358
+ <tag line="4675" name="return" description="UTF-8 encoded string" type="string">
2359
  <type by_reference="false">string</type>
2360
  </tag>
2361
  </docblock>
2362
+ <argument line="4684">
2363
  <name>$string</name>
2364
  <default><![CDATA[]]></default>
2365
  <type/>
2366
  </argument>
2367
  </method>
2368
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5082" package="Media Library Assistant">
2369
  <name>mla_iptc_metadata_value</name>
2370
  <full_name>mla_iptc_metadata_value</full_name>
2371
+ <docblock line="5072">
2372
  <description><![CDATA[Parse one IPTC metadata field]]></description>
2373
  <long-description><![CDATA[]]></long-description>
2374
+ <tag line="5072" name="since" description="1.41"/>
2375
+ <tag line="5072" name="param" description="field name - IPTC Identifier or friendly name/slug" type="string" variable="$iptc_key">
2376
  <type by_reference="false">string</type>
2377
  </tag>
2378
+ <tag line="5072" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
2379
  <type by_reference="false">string</type>
2380
  </tag>
2381
+ <tag line="5072" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
2382
  <type by_reference="false">mixed</type>
2383
  </tag>
2384
  </docblock>
2385
+ <argument line="5082">
2386
  <name>$iptc_key</name>
2387
  <default><![CDATA[]]></default>
2388
  <type/>
2389
  </argument>
2390
+ <argument line="5082">
2391
  <name>$item_metadata</name>
2392
  <default><![CDATA[]]></default>
2393
  <type/>
2394
  </argument>
2395
  </method>
2396
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5114" package="Media Library Assistant">
2397
  <name>mla_exif_metadata_value</name>
2398
  <full_name>mla_exif_metadata_value</full_name>
2399
+ <docblock line="5102">
2400
  <description><![CDATA[Parse one EXIF metadata field]]></description>
2401
  <long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
2402
+ <tag line="5102" name="since" description="1.13"/>
2403
+ <tag line="5102" name="param" description="field name" type="string" variable="$exif_key">
2404
  <type by_reference="false">string</type>
2405
  </tag>
2406
+ <tag line="5102" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
2407
  <type by_reference="false">string</type>
2408
  </tag>
2409
+ <tag line="5102" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
2410
  <type by_reference="false">mixed</type>
2411
  </tag>
2412
  </docblock>
2413
+ <argument line="5114">
2414
  <name>$exif_key</name>
2415
  <default><![CDATA[]]></default>
2416
  <type/>
2417
  </argument>
2418
+ <argument line="5114">
2419
  <name>$item_metadata</name>
2420
  <default><![CDATA[]]></default>
2421
  <type/>
2422
  </argument>
2423
  </method>
2424
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5175" package="Media Library Assistant">
2425
  <name>mla_pdf_metadata_value</name>
2426
  <full_name>mla_pdf_metadata_value</full_name>
2427
+ <docblock line="5163">
2428
  <description><![CDATA[Parse one PDF metadata field]]></description>
2429
  <long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
2430
+ <tag line="5163" name="since" description="1.50"/>
2431
+ <tag line="5163" name="param" description="field name" type="string" variable="$pdf_key">
2432
  <type by_reference="false">string</type>
2433
  </tag>
2434
+ <tag line="5163" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
2435
  <type by_reference="false">string</type>
2436
  </tag>
2437
+ <tag line="5163" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
2438
  <type by_reference="false">mixed</type>
2439
  </tag>
2440
  </docblock>
2441
+ <argument line="5175">
2442
  <name>$pdf_key</name>
2443
  <default><![CDATA[]]></default>
2444
  <type/>
2445
  </argument>
2446
+ <argument line="5175">
2447
  <name>$item_metadata</name>
2448
  <default><![CDATA[]]></default>
2449
  <type/>
2450
  </argument>
2451
  </method>
2452
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5217" package="Media Library Assistant">
2453
  <name>_rational_to_decimal</name>
2454
  <full_name>_rational_to_decimal</full_name>
2455
+ <docblock line="5208">
2456
  <description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
2457
  <long-description><![CDATA[]]></long-description>
2458
+ <tag line="5208" name="since" description="1.50"/>
2459
+ <tag line="5208" name="param" description="array( 0 =&gt; numerator, 1 =&gt; denominator )" type="array" variable="$rational">
2460
  <type by_reference="false">array</type>
2461
  </tag>
2462
+ <tag line="5208" name="return" description="numerator/denominator" type="float">
2463
  <type by_reference="false">float</type>
2464
  </tag>
2465
  </docblock>
2466
+ <argument line="5217">
2467
  <name>$rational</name>
2468
  <default><![CDATA[]]></default>
2469
  <type/>
2470
  </argument>
2471
  </method>
2472
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5244" package="Media Library Assistant">
2473
  <name>mla_IPTC_EXIF_error_handler</name>
2474
  <full_name>mla_IPTC_EXIF_error_handler</full_name>
2475
+ <docblock line="5232">
2476
  <description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
2477
  <long-description><![CDATA[]]></long-description>
2478
+ <tag line="5232" name="since" description="1.81"/>
2479
+ <tag line="5232" name="param" description="the level of the error raised" type="int" variable="$type">
2480
  <type by_reference="false">int</type>
2481
  </tag>
2482
+ <tag line="5232" name="param" description="the error message" type="string" variable="$string">
2483
  <type by_reference="false">string</type>
2484
  </tag>
2485
+ <tag line="5232" name="param" description="the filename that the error was raised in" type="string" variable="$file">
2486
  <type by_reference="false">string</type>
2487
  </tag>
2488
+ <tag line="5232" name="param" description="the line number the error was raised at" type="int" variable="$line">
2489
  <type by_reference="false">int</type>
2490
  </tag>
2491
+ <tag line="5232" name="return" description="true, to bypass PHP error handler" type="boolean">
2492
  <type by_reference="false">boolean</type>
2493
  </tag>
2494
  </docblock>
2495
+ <argument line="5244">
2496
  <name>$type</name>
2497
  <default><![CDATA[]]></default>
2498
  <type/>
2499
  </argument>
2500
+ <argument line="5244">
2501
  <name>$string</name>
2502
  <default><![CDATA[]]></default>
2503
  <type/>
2504
  </argument>
2505
+ <argument line="5244">
2506
  <name>$file</name>
2507
  <default><![CDATA[]]></default>
2508
  <type/>
2509
  </argument>
2510
+ <argument line="5244">
2511
  <name>$line</name>
2512
  <default><![CDATA[]]></default>
2513
  <type/>
2514
  </argument>
2515
  </method>
2516
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5282" package="Media Library Assistant">
2517
  <name>mla_fetch_attachment_image_metadata</name>
2518
  <full_name>mla_fetch_attachment_image_metadata</full_name>
2519
+ <docblock line="5272">
2520
  <description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
2521
  <long-description><![CDATA[]]></long-description>
2522
+ <tag line="5272" name="since" description="0.90"/>
2523
+ <tag line="5272" name="param" description="post ID of attachment" type="int" variable="$post_id">
2524
  <type by_reference="false">int</type>
2525
  </tag>
2526
+ <tag line="5272" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
2527
  <type by_reference="false">string</type>
2528
  </tag>
2529
+ <tag line="5272" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
2530
  <type by_reference="false">array</type>
2531
  </tag>
2532
  </docblock>
2533
+ <argument line="5282">
2534
  <name>$post_id</name>
2535
  <default><![CDATA[]]></default>
2536
  <type/>
2537
  </argument>
2538
+ <argument line="5282">
2539
  <name>$path</name>
2540
  <default><![CDATA['']]></default>
2541
  <type/>
2542
  </argument>
2543
  </method>
2544
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5471" package="Media Library Assistant">
2545
  <name>mla_update_wp_attachment_metadata</name>
2546
  <full_name>mla_update_wp_attachment_metadata</full_name>
2547
+ <docblock line="5461">
2548
  <description><![CDATA[Update "meta:" data for a single attachment]]></description>
2549
  <long-description><![CDATA[]]></long-description>
2550
+ <tag line="5461" name="since" description="1.51"/>
2551
+ <tag line="5461" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
2552
  <type by_reference="false">array</type>
2553
  </tag>
2554
+ <tag line="5461" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2555
  <type by_reference="false">array</type>
2556
  </tag>
2557
+ <tag line="5461" name="return" description="success/failure message(s); empty string if no changes." type="string">
2558
  <type by_reference="false">string</type>
2559
  </tag>
2560
  </docblock>
2561
+ <argument line="5471">
2562
  <name>$current_values</name>
2563
  <default><![CDATA[]]></default>
2564
  <type/>
2565
  </argument>
2566
+ <argument line="5471">
2567
  <name>$new_meta</name>
2568
  <default><![CDATA[]]></default>
2569
  <type/>
2570
  </argument>
2571
  </method>
2572
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5555" package="Media Library Assistant">
2573
  <name>mla_update_item_postmeta</name>
2574
  <full_name>mla_update_item_postmeta</full_name>
2575
+ <docblock line="5545">
2576
  <description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
2577
  <long-description><![CDATA[]]></long-description>
2578
+ <tag line="5545" name="since" description="1.40"/>
2579
+ <tag line="5545" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2580
  <type by_reference="false">int</type>
2581
  </tag>
2582
+ <tag line="5545" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2583
  <type by_reference="false">array</type>
2584
  </tag>
2585
+ <tag line="5545" name="return" description="success/failure message(s)" type="string">
2586
  <type by_reference="false">string</type>
2587
  </tag>
2588
  </docblock>
2589
+ <argument line="5555">
2590
  <name>$post_id</name>
2591
  <default><![CDATA[]]></default>
2592
  <type/>
2593
  </argument>
2594
+ <argument line="5555">
2595
  <name>$new_meta</name>
2596
  <default><![CDATA[]]></default>
2597
  <type/>
2598
  </argument>
2599
  </method>
2600
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5722" package="Media Library Assistant">
2601
  <name>mla_update_single_item</name>
2602
  <full_name>mla_update_single_item</full_name>
2603
+ <docblock line="5709">
2604
  <description><![CDATA[Update a single item; change the "post" data, taxonomy terms
2605
  and meta data for a single attachment]]></description>
2606
  <long-description><![CDATA[]]></long-description>
2607
+ <tag line="5709" name="since" description="0.1"/>
2608
+ <tag line="5709" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2609
  <type by_reference="false">int</type>
2610
  </tag>
2611
+ <tag line="5709" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_data">
2612
  <type by_reference="false">array</type>
2613
  </tag>
2614
+ <tag line="5709" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
2615
  <type by_reference="false">array</type>
2616
  </tag>
2617
+ <tag line="5709" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
2618
  <type by_reference="false">array</type>
2619
  </tag>
2620
+ <tag line="5709" name="return" description="success/failure message and NULL content" type="array">
2621
  <type by_reference="false">array</type>
2622
  </tag>
2623
  </docblock>
2624
+ <argument line="5722">
2625
  <name>$post_id</name>
2626
  <default><![CDATA[]]></default>
2627
  <type/>
2628
  </argument>
2629
+ <argument line="5722">
2630
  <name>$new_data</name>
2631
  <default><![CDATA[]]></default>
2632
  <type/>
2633
  </argument>
2634
+ <argument line="5722">
2635
  <name>$tax_input</name>
2636
  <default><![CDATA[NULL]]></default>
2637
  <type/>
2638
  </argument>
2639
+ <argument line="5722">
2640
  <name>$tax_actions</name>
2641
  <default><![CDATA[NULL]]></default>
2642
  <type/>
2643
  </argument>
2644
  </method>
2645
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="6004" package="Media Library Assistant">
2646
+ <name>_remove_terms</name>
2647
+ <full_name>_remove_terms</full_name>
2648
+ <docblock line="5993">
2649
+ <description><![CDATA[Remove terms from an attachment's assignments]]></description>
2650
  <long-description><![CDATA[]]></long-description>
2651
+ <tag line="5993" name="since" description="0.40"/>
2652
+ <tag line="5993" name="param" description="The ID of the attachment to be updated" type="integer" variable="$post_id">
2653
+ <type by_reference="false">integer</type>
2654
  </tag>
2655
+ <tag line="5993" name="param" description="The term ids (integer array) or names (string array) to remove" type="array" variable="$terms">
2656
  <type by_reference="false">array</type>
2657
  </tag>
2658
+ <tag line="5993" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
2659
  <type by_reference="false">object</type>
2660
  </tag>
2661
+ <tag line="5993" name="return" description="Term ids/names of the surviving terms" type="array">
2662
  <type by_reference="false">array</type>
2663
  </tag>
2664
  </docblock>
2665
+ <argument line="6004">
2666
+ <name>$post_id</name>
2667
  <default><![CDATA[]]></default>
2668
  <type/>
2669
  </argument>
2670
+ <argument line="6004">
2671
+ <name>$terms</name>
2672
  <default><![CDATA[]]></default>
2673
  <type/>
2674
  </argument>
2675
+ <argument line="6004">
2676
  <name>$taxonomy_obj</name>
2677
  <default><![CDATA[]]></default>
2678
  <type/>
2679
  </argument>
2680
  </method>
2681
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="6055" package="Media Library Assistant">
2682
  <name>_hex_dump</name>
2683
  <full_name>_hex_dump</full_name>
2684
+ <docblock line="6043">
2685
  <description><![CDATA[Format printable version of binary data]]></description>
2686
  <long-description><![CDATA[]]></long-description>
2687
+ <tag line="6043" name="since" description="0.90"/>
2688
+ <tag line="6043" name="param" description="Binary data" type="string" variable="$data">
2689
  <type by_reference="false">string</type>
2690
  </tag>
2691
+ <tag line="6043" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
2692
  <type by_reference="false">integer</type>
2693
  </tag>
2694
+ <tag line="6043" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
2695
  <type by_reference="false">\intger</type>
2696
  </tag>
2697
+ <tag line="6043" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
2698
  <type by_reference="false">integer</type>
2699
  </tag>
2700
+ <tag line="6043" name="return" description="Printable representation of $data" type="string">
2701
  <type by_reference="false">string</type>
2702
  </tag>
2703
  </docblock>
2704
+ <argument line="6055">
2705
  <name>$data</name>
2706
  <default><![CDATA[]]></default>
2707
  <type/>
2708
  </argument>
2709
+ <argument line="6055">
2710
  <name>$limit</name>
2711
  <default><![CDATA[0]]></default>
2712
  <type/>
2713
  </argument>
2714
+ <argument line="6055">
2715
  <name>$bytes_per_row</name>
2716
  <default><![CDATA[16]]></default>
2717
  <type/>
2718
  </argument>
2719
+ <argument line="6055">
2720
  <name>$offset</name>
2721
  <default><![CDATA[-1]]></default>
2722
  <type/>
2724
  </method>
2725
  </class>
2726
  <markers>
2727
+ <todo line="3905">encode the rest</todo>
2728
  </markers>
2729
  </file>
2730
+ <file path="includes\class-mla-edit-media.php" hash="d310cbaeff08960273ce7beb6e692109" package="Media Library Assistant">
2731
  <docblock line="2">
2732
  <description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
2733
  <long-description><![CDATA[]]></long-description>
2948
  <type/>
2949
  </argument>
2950
  </method>
2951
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="456" package="Media Library Assistant">
2952
  <name>mla_menu_order_handler</name>
2953
  <full_name>mla_menu_order_handler</full_name>
2954
+ <docblock line="446">
2955
  <description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
2956
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
2957
+ <tag line="446" name="since" description="0.80"/>
2958
+ <tag line="446" name="param" description="current post" type="object" variable="$post">
2959
  <type by_reference="false">object</type>
2960
  </tag>
2961
+ <tag line="446" name="return" description="echoes the HTML markup for the meta box content" type="void">
2962
  <type by_reference="false">void</type>
2963
  </tag>
2964
  </docblock>
2965
+ <argument line="456">
2966
  <name>$post</name>
2967
  <default><![CDATA[]]></default>
2968
  <type/>
2969
  </argument>
2970
  </method>
2971
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="473" package="Media Library Assistant">
2972
  <name>mla_image_metadata_handler</name>
2973
  <full_name>mla_image_metadata_handler</full_name>
2974
+ <docblock line="463">
2975
  <description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
2976
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
2977
+ <tag line="463" name="since" description="0.80"/>
2978
+ <tag line="463" name="param" description="current post" type="object" variable="$post">
2979
  <type by_reference="false">object</type>
2980
  </tag>
2981
+ <tag line="463" name="return" description="echoes the HTML markup for the meta box content" type="void">
2982
  <type by_reference="false">void</type>
2983
  </tag>
2984
  </docblock>
2985
+ <argument line="473">
2986
  <name>$post</name>
2987
  <default><![CDATA[]]></default>
2988
  <type/>
2989
  </argument>
2990
  </method>
2991
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="498" package="Media Library Assistant">
2992
  <name>mla_featured_in_handler</name>
2993
  <full_name>mla_featured_in_handler</full_name>
2994
+ <docblock line="488">
2995
  <description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
2996
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
2997
+ <tag line="488" name="since" description="0.80"/>
2998
+ <tag line="488" name="param" description="current post" type="object" variable="$post">
2999
  <type by_reference="false">object</type>
3000
  </tag>
3001
+ <tag line="488" name="return" description="echoes the HTML markup for the meta box content" type="void">
3002
  <type by_reference="false">void</type>
3003
  </tag>
3004
  </docblock>
3005
+ <argument line="498">
3006
  <name>$post</name>
3007
  <default><![CDATA[]]></default>
3008
  <type/>
3009
  </argument>
3010
  </method>
3011
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="533" package="Media Library Assistant">
3012
  <name>mla_inserted_in_handler</name>
3013
  <full_name>mla_inserted_in_handler</full_name>
3014
+ <docblock line="523">
3015
  <description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
3016
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
3017
+ <tag line="523" name="since" description="0.80"/>
3018
+ <tag line="523" name="param" description="current post" type="object" variable="$post">
3019
  <type by_reference="false">object</type>
3020
  </tag>
3021
+ <tag line="523" name="return" description="echoes the HTML markup for the meta box content" type="void">
3022
  <type by_reference="false">void</type>
3023
  </tag>
3024
  </docblock>
3025
+ <argument line="533">
3026
  <name>$post</name>
3027
  <default><![CDATA[]]></default>
3028
  <type/>
3029
  </argument>
3030
  </method>
3031
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="572" package="Media Library Assistant">
3032
  <name>mla_gallery_in_handler</name>
3033
  <full_name>mla_gallery_in_handler</full_name>
3034
+ <docblock line="562">
3035
  <description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
3036
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
3037
+ <tag line="562" name="since" description="0.80"/>
3038
+ <tag line="562" name="param" description="current post" type="object" variable="$post">
3039
  <type by_reference="false">object</type>
3040
  </tag>
3041
+ <tag line="562" name="return" description="echoes the HTML markup for the meta box content" type="void">
3042
  <type by_reference="false">void</type>
3043
  </tag>
3044
  </docblock>
3045
+ <argument line="572">
3046
  <name>$post</name>
3047
  <default><![CDATA[]]></default>
3048
  <type/>
3049
  </argument>
3050
  </method>
3051
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="607" package="Media Library Assistant">
3052
  <name>mla_mla_gallery_in_handler</name>
3053
  <full_name>mla_mla_gallery_in_handler</full_name>
3054
+ <docblock line="597">
3055
  <description><![CDATA[Renders the MLA Gallery in meta box on the Edit Media page.]]></description>
3056
  <long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
3057
+ <tag line="597" name="since" description="0.80"/>
3058
+ <tag line="597" name="param" description="current post" type="object" variable="$post">
3059
  <type by_reference="false">object</type>
3060
  </tag>
3061
+ <tag line="597" name="return" description="echoes the HTML markup for the meta box content" type="void">
3062
  <type by_reference="false">void</type>
3063
  </tag>
3064
  </docblock>
3065
+ <argument line="607">
3066
  <name>$post</name>
3067
  <default><![CDATA[]]></default>
3068
  <type/>
3069
  </argument>
3070
  </method>
3071
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="642" package="Media Library Assistant">
3072
  <name>mla_edit_attachment_action</name>
3073
  <full_name>mla_edit_attachment_action</full_name>
3074
+ <docblock line="632">
3075
  <description><![CDATA[Saves updates from the Edit Media screen.]]></description>
3076
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
3077
+ <tag line="632" name="since" description="0.80"/>
3078
+ <tag line="632" name="param" description="ID of the current post" type="integer" variable="$post_ID">
3079
  <type by_reference="false">integer</type>
3080
  </tag>
3081
+ <tag line="632" name="return" description="" type="void">
3082
  <type by_reference="false">void</type>
3083
  </tag>
3084
  </docblock>
3085
+ <argument line="642">
3086
  <name>$post_ID</name>
3087
  <default><![CDATA[]]></default>
3088
  <type/>
3089
  </argument>
3090
  </method>
3091
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="668" package="Media Library Assistant">
3092
  <name>_mla_ajax_add_flat_term</name>
3093
  <full_name>_mla_ajax_add_flat_term</full_name>
3094
+ <docblock line="657">
3095
  <description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
3096
  <long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
3097
+ <tag line="657" name="since" description="1.80"/>
3098
+ <tag line="657" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
3099
  <type by_reference="false">string</type>
3100
  </tag>
3101
+ <tag line="657" name="return" description="Sends JSON response with updated HTML for the checklist" type="void">
3102
  <type by_reference="false">void</type>
3103
  </tag>
3104
  </docblock>
3105
+ <argument line="668">
3106
  <name>$key</name>
3107
  <default><![CDATA[]]></default>
3108
  <type/>
3109
  </argument>
3110
  </method>
3111
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="731" package="Media Library Assistant">
3112
  <name>mla_checklist_meta_box</name>
3113
  <full_name>mla_checklist_meta_box</full_name>
3114
+ <docblock line="716">
3115
  <description><![CDATA[Display taxonomy "checklist" form fields]]></description>
3116
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
3117
  Includes the "? Search" area to filter the term checklist by entering part
3118
  or all of a word/phrase in the term label.
3119
  Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
3120
+ <tag line="716" name="since" description="1.71"/>
3121
+ <tag line="716" name="param" description="The current post" type="object" variable="$target_post">
3122
  <type by_reference="false">object</type>
3123
  </tag>
3124
+ <tag line="716" name="param" description="The meta box parameters" type="array" variable="$box">
3125
  <type by_reference="false">array</type>
3126
  </tag>
3127
+ <tag line="716" name="return" description="Echoes HTML for the form fields" type="void">
3128
  <type by_reference="false">void</type>
3129
  </tag>
3130
  </docblock>
3131
+ <argument line="731">
3132
  <name>$target_post</name>
3133
  <default><![CDATA[]]></default>
3134
  <type/>
3135
  </argument>
3136
+ <argument line="731">
3137
  <name>$box</name>
3138
  <default><![CDATA[]]></default>
3139
  <type/>
3140
  </argument>
3141
  </method>
3142
  </class>
3143
+ <class final="false" abstract="false" namespace="global" line="890" package="Media Library Assistant">
3144
  <extends>\Walker_Category</extends>
3145
  <name>MLA_Checklist_Walker</name>
3146
  <full_name>\MLA_Checklist_Walker</full_name>
3147
+ <docblock line="880">
3148
  <description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
3149
  <long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
3150
  Class Walker_Category is defined in /wp-includes/category-template.php.
3151
  Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
3152
+ <tag line="880" name="package" description="Media Library Assistant"/>
3153
+ <tag line="880" name="since" description="1.80"/>
3154
  </docblock>
3155
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="904" package="Media Library Assistant">
3156
  <name>start_el</name>
3157
  <full_name>start_el</full_name>
3158
+ <docblock line="891">
3159
  <description><![CDATA[Start the element output.]]></description>
3160
  <long-description><![CDATA[]]></long-description>
3161
+ <tag line="891" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
3162
+ <tag line="891" name="since" description="1.80"/>
3163
+ <tag line="891" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
3164
  <type by_reference="false">string</type>
3165
  </tag>
3166
+ <tag line="891" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
3167
  <type by_reference="false">object</type>
3168
  </tag>
3169
+ <tag line="891" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
3170
  <type by_reference="false">int</type>
3171
  </tag>
3172
+ <tag line="891" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
3173
  <type by_reference="false">array</type>
3174
  </tag>
3175
+ <tag line="891" name="param" description="ID of the current category." type="int" variable="$id">
3176
  <type by_reference="false">int</type>
3177
  </tag>
3178
  </docblock>
3179
+ <argument line="904">
3180
  <name>$output</name>
3181
  <default><![CDATA[]]></default>
3182
  <type/>
3183
  </argument>
3184
+ <argument line="904">
3185
  <name>$taxonomy_object</name>
3186
  <default><![CDATA[]]></default>
3187
  <type/>
3188
  </argument>
3189
+ <argument line="904">
3190
  <name>$depth</name>
3191
  <default><![CDATA[0]]></default>
3192
  <type/>
3193
  </argument>
3194
+ <argument line="904">
3195
  <name>$args</name>
3196
  <default><![CDATA[array()]]></default>
3197
  <type/>
3198
  </argument>
3199
+ <argument line="904">
3200
  <name>$id</name>
3201
  <default><![CDATA[0]]></default>
3202
  <type/>
3203
  </argument>
3204
  </method>
3205
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="937" package="Media Library Assistant">
3206
  <name>end_el</name>
3207
  <full_name>end_el</full_name>
3208
+ <docblock line="925">
3209
  <description><![CDATA[Ends the element output, if needed.]]></description>
3210
  <long-description><![CDATA[]]></long-description>
3211
+ <tag line="925" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
3212
+ <tag line="925" name="since" description="1.80"/>
3213
+ <tag line="925" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
3214
  <type by_reference="false">string</type>
3215
  </tag>
3216
+ <tag line="925" name="param" description="The current term object." type="object" variable="$category">
3217
  <type by_reference="false">object</type>
3218
  </tag>
3219
+ <tag line="925" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
3220
  <type by_reference="false">int</type>
3221
  </tag>
3222
+ <tag line="925" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
3223
  <type by_reference="false">array</type>
3224
  </tag>
3225
  </docblock>
3226
+ <argument line="937">
3227
  <name>$output</name>
3228
  <default><![CDATA[]]></default>
3229
  <type/>
3230
  </argument>
3231
+ <argument line="937">
3232
  <name>$category</name>
3233
  <default><![CDATA[]]></default>
3234
  <type/>
3235
  </argument>
3236
+ <argument line="937">
3237
  <name>$depth</name>
3238
  <default><![CDATA[0]]></default>
3239
  <type/>
3240
  </argument>
3241
+ <argument line="937">
3242
  <name>$args</name>
3243
  <default><![CDATA[array()]]></default>
3244
  <type/>
3246
  </method>
3247
  </class>
3248
  </file>
3249
+ <file path="includes\class-mla-list-table.php" hash="f36967910e263b00cfff7dfc7cd62f59" package="Media Library Assistant">
3250
  <docblock line="2">
3251
  <description><![CDATA[Media Library Assistant extended List Table class]]></description>
3252
  <long-description><![CDATA[]]></long-description>
3640
  <type/>
3641
  </argument>
3642
  </method>
3643
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="695" package="Media Library Assistant">
3644
  <name>column_cb</name>
3645
  <full_name>column_cb</full_name>
3646
+ <docblock line="686">
3647
  <description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
3648
  <long-description><![CDATA[<p>The 'cb' column
3649
  is given special treatment when columns are processed.</p>]]></long-description>
3650
+ <tag line="686" name="since" description="0.1"/>
3651
+ <tag line="686" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3652
  <type by_reference="false">array</type>
3653
  </tag>
3654
+ <tag line="686" name="return" description="HTML markup to be placed inside the column" type="string">
3655
  <type by_reference="false">string</type>
3656
  </tag>
3657
  </docblock>
3658
+ <argument line="695">
3659
  <name>$item</name>
3660
  <default><![CDATA[]]></default>
3661
  <type/>
3662
  </argument>
3663
  </method>
3664
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="710" package="Media Library Assistant">
3665
  <name>column_icon</name>
3666
  <full_name>column_icon</full_name>
3667
+ <docblock line="702">
3668
  <description><![CDATA[Supply the content for a custom column]]></description>
3669
  <long-description><![CDATA[]]></long-description>
3670
+ <tag line="702" name="since" description="0.1"/>
3671
+ <tag line="702" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3672
  <type by_reference="false">array</type>
3673
  </tag>
3674
+ <tag line="702" name="return" description="HTML markup to be placed inside the column" type="string">
3675
  <type by_reference="false">string</type>
3676
  </tag>
3677
  </docblock>
3678
+ <argument line="710">
3679
  <name>$item</name>
3680
  <default><![CDATA[]]></default>
3681
  <type/>
3682
  </argument>
3683
  </method>
3684
+ <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="760" package="Media Library Assistant">
3685
+ <name>_format_post_status</name>
3686
+ <full_name>_format_post_status</full_name>
3687
+ <docblock line="751">
3688
+ <description><![CDATA[Translate post_status 'future', 'pending' and 'draft' to label]]></description>
3689
+ <long-description><![CDATA[]]></long-description>
3690
+ <tag line="751" name="since" description="2.01"/>
3691
+ <tag line="751" name="param" description="post_status" type="string" variable="$post_status">
3692
+ <type by_reference="false">string</type>
3693
+ </tag>
3694
+ <tag line="751" name="return" description="Status label or empty string" type="string">
3695
+ <type by_reference="false">string</type>
3696
+ </tag>
3697
+ </docblock>
3698
+ <argument line="760">
3699
+ <name>$post_status</name>
3700
+ <default><![CDATA[]]></default>
3701
+ <type/>
3702
+ </argument>
3703
+ </method>
3704
+ <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="790" package="Media Library Assistant">
3705
  <name>_build_rollover_actions</name>
3706
  <full_name>_build_rollover_actions</full_name>
3707
+ <docblock line="779">
3708
  <description><![CDATA[Add rollover actions to exactly one of the following displayed columns:
3709
  'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
3710
  <long-description><![CDATA[]]></long-description>
3711
+ <tag line="779" name="since" description="0.1"/>
3712
+ <tag line="779" name="param" description="A singular attachment (post) object" type="object" variable="$item">
3713
  <type by_reference="false">object</type>
3714
  </tag>
3715
+ <tag line="779" name="param" description="Current column name" type="string" variable="$column">
3716
  <type by_reference="false">string</type>
3717
  </tag>
3718
+ <tag line="779" name="return" description="Names and URLs of row-level actions" type="array">
3719
  <type by_reference="false">array</type>
3720
  </tag>
3721
  </docblock>
3722
+ <argument line="790">
3723
  <name>$item</name>
3724
  <default><![CDATA[]]></default>
3725
  <type/>
3726
  </argument>
3727
+ <argument line="790">
3728
  <name>$column</name>
3729
  <default><![CDATA[]]></default>
3730
  <type/>
3731
  </argument>
3732
  </method>
3733
+ <method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="864" package="Media Library Assistant">
3734
  <name>_build_inline_data</name>
3735
  <full_name>_build_inline_data</full_name>
3736
+ <docblock line="855">
3737
  <description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
3738
  <long-description><![CDATA[]]></long-description>
3739
+ <tag line="855" name="since" description="0.20"/>
3740
+ <tag line="855" name="param" description="A singular attachment (post) object" type="object" variable="$item">
3741
  <type by_reference="false">object</type>
3742
  </tag>
3743
+ <tag line="855" name="return" description="HTML &lt;div&gt; with row data" type="string">
3744
  <type by_reference="false">string</type>
3745
  </tag>
3746
  </docblock>
3747
+ <argument line="864">
3748
  <name>$item</name>
3749
  <default><![CDATA[]]></default>
3750
  <type/>
3751
  </argument>
3752
  </method>
3753
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="951" package="Media Library Assistant">
3754
  <name>column_ID_parent</name>
3755
  <full_name>column_ID_parent</full_name>
3756
+ <docblock line="943">
3757
  <description><![CDATA[Supply the content for a custom column]]></description>
3758
  <long-description><![CDATA[]]></long-description>
3759
+ <tag line="943" name="since" description="0.1"/>
3760
+ <tag line="943" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3761
  <type by_reference="false">array</type>
3762
  </tag>
3763
+ <tag line="943" name="return" description="HTML markup to be placed inside the column" type="string">
3764
  <type by_reference="false">string</type>
3765
  </tag>
3766
  </docblock>
3767
+ <argument line="951">
3768
  <name>$item</name>
3769
  <default><![CDATA[]]></default>
3770
  <type/>
3771
  </argument>
3772
  </method>
3773
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="984" package="Media Library Assistant">
3774
  <name>column_title_name</name>
3775
  <full_name>column_title_name</full_name>
3776
+ <docblock line="976">
3777
  <description><![CDATA[Supply the content for a custom column]]></description>
3778
  <long-description><![CDATA[]]></long-description>
3779
+ <tag line="976" name="since" description="0.1"/>
3780
+ <tag line="976" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3781
  <type by_reference="false">array</type>
3782
  </tag>
3783
+ <tag line="976" name="return" description="HTML markup to be placed inside the column" type="string">
3784
  <type by_reference="false">string</type>
3785
  </tag>
3786
  </docblock>
3787
+ <argument line="984">
3788
  <name>$item</name>
3789
  <default><![CDATA[]]></default>
3790
  <type/>
3791
  </argument>
3792
  </method>
3793
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1008" package="Media Library Assistant">
3794
  <name>column_post_title</name>
3795
  <full_name>column_post_title</full_name>
3796
+ <docblock line="1000">
3797
  <description><![CDATA[Supply the content for a custom column]]></description>
3798
  <long-description><![CDATA[]]></long-description>
3799
+ <tag line="1000" name="since" description="0.1"/>
3800
+ <tag line="1000" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3801
  <type by_reference="false">array</type>
3802
  </tag>
3803
+ <tag line="1000" name="return" description="HTML markup to be placed inside the column" type="string">
3804
  <type by_reference="false">string</type>
3805
  </tag>
3806
  </docblock>
3807
+ <argument line="1008">
3808
  <name>$item</name>
3809
  <default><![CDATA[]]></default>
3810
  <type/>
3811
  </argument>
3812
  </method>
3813
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1026" package="Media Library Assistant">
3814
  <name>column_post_name</name>
3815
  <full_name>column_post_name</full_name>
3816
+ <docblock line="1018">
3817
  <description><![CDATA[Supply the content for a custom column]]></description>
3818
  <long-description><![CDATA[]]></long-description>
3819
+ <tag line="1018" name="since" description="0.1"/>
3820
+ <tag line="1018" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3821
  <type by_reference="false">array</type>
3822
  </tag>
3823
+ <tag line="1018" name="return" description="HTML markup to be placed inside the column" type="string">
3824
  <type by_reference="false">string</type>
3825
  </tag>
3826
  </docblock>
3827
+ <argument line="1026">
3828
  <name>$item</name>
3829
  <default><![CDATA[]]></default>
3830
  <type/>
3831
  </argument>
3832
  </method>
3833
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1044" package="Media Library Assistant">
3834
  <name>column_parent</name>
3835
  <full_name>column_parent</full_name>
3836
+ <docblock line="1036">
3837
  <description><![CDATA[Supply the content for a custom column]]></description>
3838
  <long-description><![CDATA[]]></long-description>
3839
+ <tag line="1036" name="since" description="0.1"/>
3840
+ <tag line="1036" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3841
  <type by_reference="false">array</type>
3842
  </tag>
3843
+ <tag line="1036" name="return" description="HTML markup to be placed inside the column" type="string">
3844
  <type by_reference="false">string</type>
3845
  </tag>
3846
  </docblock>
3847
+ <argument line="1044">
3848
  <name>$item</name>
3849
  <default><![CDATA[]]></default>
3850
  <type/>
3851
  </argument>
3852
  </method>
3853
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1070" package="Media Library Assistant">
3854
  <name>column_menu_order</name>
3855
  <full_name>column_menu_order</full_name>
3856
+ <docblock line="1062">
3857
  <description><![CDATA[Supply the content for a custom column]]></description>
3858
  <long-description><![CDATA[]]></long-description>
3859
+ <tag line="1062" name="since" description="0.60"/>
3860
+ <tag line="1062" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3861
  <type by_reference="false">array</type>
3862
  </tag>
3863
+ <tag line="1062" name="return" description="HTML markup to be placed inside the column" type="string">
3864
  <type by_reference="false">string</type>
3865
  </tag>
3866
  </docblock>
3867
+ <argument line="1070">
3868
  <name>$item</name>
3869
  <default><![CDATA[]]></default>
3870
  <type/>
3871
  </argument>
3872
  </method>
3873
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1082" package="Media Library Assistant">
3874
  <name>column_featured</name>
3875
  <full_name>column_featured</full_name>
3876
+ <docblock line="1074">
3877
  <description><![CDATA[Supply the content for a custom column]]></description>
3878
  <long-description><![CDATA[]]></long-description>
3879
+ <tag line="1074" name="since" description="0.1"/>
3880
+ <tag line="1074" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3881
  <type by_reference="false">array</type>
3882
  </tag>
3883
+ <tag line="1074" name="return" description="HTML markup to be placed inside the column" type="string">
3884
  <type by_reference="false">string</type>
3885
  </tag>
3886
  </docblock>
3887
+ <argument line="1082">
3888
  <name>$item</name>
3889
  <default><![CDATA[]]></default>
3890
  <type/>
3891
  </argument>
3892
  </method>
3893
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1127" package="Media Library Assistant">
3894
  <name>column_inserted</name>
3895
  <full_name>column_inserted</full_name>
3896
+ <docblock line="1119">
3897
  <description><![CDATA[Supply the content for a custom column]]></description>
3898
  <long-description><![CDATA[]]></long-description>
3899
+ <tag line="1119" name="since" description="0.1"/>
3900
+ <tag line="1119" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3901
  <type by_reference="false">array</type>
3902
  </tag>
3903
+ <tag line="1119" name="return" description="HTML markup to be placed inside the column" type="string">
3904
  <type by_reference="false">string</type>
3905
  </tag>
3906
  </docblock>
3907
+ <argument line="1127">
3908
  <name>$item</name>
3909
  <default><![CDATA[]]></default>
3910
  <type/>
3911
  </argument>
3912
  </method>
3913
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1177" package="Media Library Assistant">
3914
  <name>column_galleries</name>
3915
  <full_name>column_galleries</full_name>
3916
+ <docblock line="1169">
3917
  <description><![CDATA[Supply the content for a custom column]]></description>
3918
  <long-description><![CDATA[]]></long-description>
3919
+ <tag line="1169" name="since" description="0.70"/>
3920
+ <tag line="1169" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3921
  <type by_reference="false">array</type>
3922
  </tag>
3923
+ <tag line="1169" name="return" description="HTML markup to be placed inside the column" type="string">
3924
  <type by_reference="false">string</type>
3925
  </tag>
3926
  </docblock>
3927
+ <argument line="1177">
3928
  <name>$item</name>
3929
  <default><![CDATA[]]></default>
3930
  <type/>
3931
  </argument>
3932
  </method>
3933
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1222" package="Media Library Assistant">
3934
  <name>column_mla_galleries</name>
3935
  <full_name>column_mla_galleries</full_name>
3936
+ <docblock line="1214">
3937
  <description><![CDATA[Supply the content for a custom column]]></description>
3938
  <long-description><![CDATA[]]></long-description>
3939
+ <tag line="1214" name="since" description="0.70"/>
3940
+ <tag line="1214" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3941
  <type by_reference="false">array</type>
3942
  </tag>
3943
+ <tag line="1214" name="return" description="HTML markup to be placed inside the column" type="string">
3944
  <type by_reference="false">string</type>
3945
  </tag>
3946
  </docblock>
3947
+ <argument line="1222">
3948
  <name>$item</name>
3949
  <default><![CDATA[]]></default>
3950
  <type/>
3951
  </argument>
3952
  </method>
3953
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1267" package="Media Library Assistant">
3954
  <name>column_alt_text</name>
3955
  <full_name>column_alt_text</full_name>
3956
+ <docblock line="1259">
3957
  <description><![CDATA[Supply the content for a custom column]]></description>
3958
  <long-description><![CDATA[]]></long-description>
3959
+ <tag line="1259" name="since" description="0.1"/>
3960
+ <tag line="1259" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3961
  <type by_reference="false">array</type>
3962
  </tag>
3963
+ <tag line="1259" name="return" description="HTML markup to be placed inside the column" type="string">
3964
  <type by_reference="false">string</type>
3965
  </tag>
3966
  </docblock>
3967
+ <argument line="1267">
3968
  <name>$item</name>
3969
  <default><![CDATA[]]></default>
3970
  <type/>
3971
  </argument>
3972
  </method>
3973
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1294" package="Media Library Assistant">
3974
  <name>column_caption</name>
3975
  <full_name>column_caption</full_name>
3976
+ <docblock line="1286">
3977
  <description><![CDATA[Supply the content for a custom column]]></description>
3978
  <long-description><![CDATA[]]></long-description>
3979
+ <tag line="1286" name="since" description="0.1"/>
3980
+ <tag line="1286" name="param" description="A singular attachment (post) object" type="array" variable="$item">
3981
  <type by_reference="false">array</type>
3982
  </tag>
3983
+ <tag line="1286" name="return" description="HTML markup to be placed inside the column" type="string">
3984
  <type by_reference="false">string</type>
3985
  </tag>
3986
  </docblock>
3987
+ <argument line="1294">
3988
  <name>$item</name>
3989
  <default><![CDATA[]]></default>
3990
  <type/>
3991
  </argument>
3992
  </method>
3993
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1306" package="Media Library Assistant">
3994
  <name>column_description</name>
3995
  <full_name>column_description</full_name>
3996
+ <docblock line="1298">
3997
  <description><![CDATA[Supply the content for a custom column]]></description>
3998
  <long-description><![CDATA[]]></long-description>
3999
+ <tag line="1298" name="since" description="0.1"/>
4000
+ <tag line="1298" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4001
  <type by_reference="false">array</type>
4002
  </tag>
4003
+ <tag line="1298" name="return" description="HTML markup to be placed inside the column" type="string">
4004
  <type by_reference="false">string</type>
4005
  </tag>
4006
  </docblock>
4007
+ <argument line="1306">
4008
  <name>$item</name>
4009
  <default><![CDATA[]]></default>
4010
  <type/>
4011
  </argument>
4012
  </method>
4013
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1318" package="Media Library Assistant">
4014
  <name>column_post_mime_type</name>
4015
  <full_name>column_post_mime_type</full_name>
4016
+ <docblock line="1310">
4017
  <description><![CDATA[Supply the content for a custom column]]></description>
4018
  <long-description><![CDATA[]]></long-description>
4019
+ <tag line="1310" name="since" description="0.30"/>
4020
+ <tag line="1310" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4021
  <type by_reference="false">array</type>
4022
  </tag>
4023
+ <tag line="1310" name="return" description="HTML markup to be placed inside the column" type="string">
4024
  <type by_reference="false">string</type>
4025
  </tag>
4026
  </docblock>
4027
+ <argument line="1318">
4028
  <name>$item</name>
4029
  <default><![CDATA[]]></default>
4030
  <type/>
4031
  </argument>
4032
  </method>
4033
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1334" package="Media Library Assistant">
4034
  <name>column_file_url</name>
4035
  <full_name>column_file_url</full_name>
4036
+ <docblock line="1326">
4037
  <description><![CDATA[Supply the content for a custom column]]></description>
4038
  <long-description><![CDATA[]]></long-description>
4039
+ <tag line="1326" name="since" description="0.1"/>
4040
+ <tag line="1326" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4041
  <type by_reference="false">array</type>
4042
  </tag>
4043
+ <tag line="1326" name="return" description="HTML markup to be placed inside the column" type="string">
4044
  <type by_reference="false">string</type>
4045
  </tag>
4046
  </docblock>
4047
+ <argument line="1334">
4048
  <name>$item</name>
4049
  <default><![CDATA[]]></default>
4050
  <type/>
4051
  </argument>
4052
  </method>
4053
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1348" package="Media Library Assistant">
4054
  <name>column_base_file</name>
4055
  <full_name>column_base_file</full_name>
4056
+ <docblock line="1340">
4057
  <description><![CDATA[Supply the content for a custom column]]></description>
4058
  <long-description><![CDATA[]]></long-description>
4059
+ <tag line="1340" name="since" description="0.1"/>
4060
+ <tag line="1340" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4061
  <type by_reference="false">array</type>
4062
  </tag>
4063
+ <tag line="1340" name="return" description="HTML markup to be placed inside the column" type="string">
4064
  <type by_reference="false">string</type>
4065
  </tag>
4066
  </docblock>
4067
+ <argument line="1348">
4068
  <name>$item</name>
4069
  <default><![CDATA[]]></default>
4070
  <type/>
4071
  </argument>
4072
  </method>
4073
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1365" package="Media Library Assistant">
4074
  <name>column_date</name>
4075
  <full_name>column_date</full_name>
4076
+ <docblock line="1357">
4077
  <description><![CDATA[Supply the content for a custom column]]></description>
4078
  <long-description><![CDATA[]]></long-description>
4079
+ <tag line="1357" name="since" description="0.1"/>
4080
+ <tag line="1357" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4081
  <type by_reference="false">array</type>
4082
  </tag>
4083
+ <tag line="1357" name="return" description="HTML markup to be placed inside the column" type="string">
4084
  <type by_reference="false">string</type>
4085
  </tag>
4086
  </docblock>
4087
+ <argument line="1365">
4088
  <name>$item</name>
4089
  <default><![CDATA[]]></default>
4090
  <type/>
4091
  </argument>
4092
  </method>
4093
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1400" package="Media Library Assistant">
4094
  <name>column_modified</name>
4095
  <full_name>column_modified</full_name>
4096
+ <docblock line="1392">
4097
  <description><![CDATA[Supply the content for a custom column]]></description>
4098
  <long-description><![CDATA[]]></long-description>
4099
+ <tag line="1392" name="since" description="0.30"/>
4100
+ <tag line="1392" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4101
  <type by_reference="false">array</type>
4102
  </tag>
4103
+ <tag line="1392" name="return" description="HTML markup to be placed inside the column" type="string">
4104
  <type by_reference="false">string</type>
4105
  </tag>
4106
  </docblock>
4107
+ <argument line="1400">
4108
  <name>$item</name>
4109
  <default><![CDATA[]]></default>
4110
  <type/>
4111
  </argument>
4112
  </method>
4113
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1429" package="Media Library Assistant">
4114
  <name>column_author</name>
4115
  <full_name>column_author</full_name>
4116
+ <docblock line="1421">
4117
  <description><![CDATA[Supply the content for a custom column]]></description>
4118
  <long-description><![CDATA[]]></long-description>
4119
+ <tag line="1421" name="since" description="0.30"/>
4120
+ <tag line="1421" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4121
  <type by_reference="false">array</type>
4122
  </tag>
4123
+ <tag line="1421" name="return" description="HTML markup to be placed inside the column" type="string">
4124
  <type by_reference="false">string</type>
4125
  </tag>
4126
  </docblock>
4127
+ <argument line="1429">
4128
  <name>$item</name>
4129
  <default><![CDATA[]]></default>
4130
  <type/>
4131
  </argument>
4132
  </method>
4133
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1451" package="Media Library Assistant">
4134
  <name>column_attached_to</name>
4135
  <full_name>column_attached_to</full_name>
4136
+ <docblock line="1443">
4137
  <description><![CDATA[Supply the content for a custom column]]></description>
4138
  <long-description><![CDATA[]]></long-description>
4139
+ <tag line="1443" name="since" description="0.1"/>
4140
+ <tag line="1443" name="param" description="A singular attachment (post) object" type="array" variable="$item">
4141
  <type by_reference="false">array</type>
4142
  </tag>
4143
+ <tag line="1443" name="return" description="HTML markup to be placed inside the column" type="string">
4144
  <type by_reference="false">string</type>
4145
  </tag>
4146
  </docblock>
4147
+ <argument line="1451">
4148
  <name>$item</name>
4149
  <default><![CDATA[]]></default>
4150
  <type/>
4151
  </argument>
4152
  </method>
4153
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1488" package="Media Library Assistant">
4154
  <name>pagination</name>
4155
  <full_name>pagination</full_name>
4156
+ <docblock line="1480">
4157
  <description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
4158
  <long-description><![CDATA[]]></long-description>
4159
+ <tag line="1480" name="since" description="1.42"/>
4160
+ <tag line="1480" name="param" description="'top' | 'bottom'" type="string" variable="$which">
4161
  <type by_reference="false">string</type>
4162
  </tag>
4163
+ <tag line="1480" name="return" description="" type="void">
4164
  <type by_reference="false">void</type>
4165
  </tag>
4166
  </docblock>
4167
+ <argument line="1488">
4168
  <name>$which</name>
4169
  <default><![CDATA[]]></default>
4170
  <type/>
4171
  </argument>
4172
  </method>
4173
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1502" package="Media Library Assistant">
4174
  <name>get_columns</name>
4175
  <full_name>get_columns</full_name>
4176
+ <docblock line="1495">
4177
  <description><![CDATA[This method dictates the table's columns and titles]]></description>
4178
  <long-description><![CDATA[]]></long-description>
4179
+ <tag line="1495" name="since" description="0.1"/>
4180
+ <tag line="1495" name="return" description="Column information: 'slugs'=&gt;'Visible Titles'" type="array">
4181
  <type by_reference="false">array</type>
4182
  </tag>
4183
  </docblock>
4184
  </method>
4185
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1514" package="Media Library Assistant">
4186
  <name>get_hidden_columns</name>
4187
  <full_name>get_hidden_columns</full_name>
4188
+ <docblock line="1506">
4189
  <description><![CDATA[Returns the list of currently hidden columns from a user option or
4190
  from default values if the option is not set]]></description>
4191
  <long-description><![CDATA[]]></long-description>
4192
+ <tag line="1506" name="since" description="0.1"/>
4193
+ <tag line="1506" name="return" description="Column information,e.g., array(0 =&gt; 'ID_parent, 1 =&gt; 'title_name')" type="array">
4194
  <type by_reference="false">array</type>
4195
  </tag>
4196
  </docblock>
4197
  </method>
4198
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1539" package="Media Library Assistant">
4199
  <name>get_sortable_columns</name>
4200
  <full_name>get_sortable_columns</full_name>
4201
+ <docblock line="1530">
4202
  <description><![CDATA[Returns an array where the key is the column that needs to be sortable
4203
  and the value is db column (or other criteria) to sort by.]]></description>
4204
  <long-description><![CDATA[]]></long-description>
4205
+ <tag line="1530" name="since" description="0.1"/>
4206
+ <tag line="1530" name="return" description="Sortable column information,e.g., 'slug' =&gt; array('data_value', (boolean) initial_descending )" type="array">
4207
  <type by_reference="false">array</type>
4208
  </tag>
4209
  </docblock>
4210
  </method>
4211
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1550" package="Media Library Assistant">
4212
  <name>print_column_headers</name>
4213
  <full_name>print_column_headers</full_name>
4214
+ <docblock line="1543">
4215
  <description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
4216
  <long-description><![CDATA[]]></long-description>
4217
+ <tag line="1543" name="since" description="1.42"/>
4218
+ <tag line="1543" name="param" description="Whether to set the id attribute or not" type="bool" variable="$with_id">
4219
  <type by_reference="false">bool</type>
4220
  </tag>
4221
  </docblock>
4222
+ <argument line="1550">
4223
  <name>$with_id</name>
4224
  <default><![CDATA[true]]></default>
4225
  <type/>
4226
  </argument>
4227
  </method>
4228
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1567" package="Media Library Assistant">
4229
  <name>_get_view</name>
4230
  <full_name>_get_view</full_name>
4231
+ <docblock line="1557">
4232
  <description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
4233
  <long-description><![CDATA[]]></long-description>
4234
+ <tag line="1557" name="since" description="1.40"/>
4235
+ <tag line="1557" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
4236
  <type by_reference="false">string</type>
4237
  </tag>
4238
+ <tag line="1557" name="param" description="Slug for current view" type="string" variable="$current_view">
4239
  <type by_reference="false">string</type>
4240
  </tag>
4241
+ <tag line="1557" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
4242
  <type by_reference="false">string</type>
4243
  </tag>
4244
  </docblock>
4245
+ <argument line="1567">
4246
  <name>$view_slug</name>
4247
  <default><![CDATA[]]></default>
4248
  <type/>
4249
  </argument>
4250
+ <argument line="1567">
4251
  <name>$current_view</name>
4252
  <default><![CDATA[]]></default>
4253
  <type/>
4254
  </argument>
4255
  </method>
4256
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1694" package="Media Library Assistant">
4257
  <name>get_views</name>
4258
  <full_name>get_views</full_name>
4259
+ <docblock line="1686">
4260
  <description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
4261
  <long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
4262
+ <tag line="1686" name="since" description="0.1"/>
4263
+ <tag line="1686" name="return" description="View information,e.g., array ( id =&gt; link )" type="array">
4264
  <type by_reference="false">array</type>
4265
  </tag>
4266
  </docblock>
4267
  </method>
4268
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1750" package="Media Library Assistant">
4269
  <name>get_bulk_actions</name>
4270
  <full_name>get_bulk_actions</full_name>
4271
+ <docblock line="1742">
4272
  <description><![CDATA[Get an associative array ( option_name => option_title ) with the list
4273
  of bulk actions available on this table.]]></description>
4274
  <long-description><![CDATA[]]></long-description>
4275
+ <tag line="1742" name="since" description="0.1"/>
4276
+ <tag line="1742" name="return" description="Contains all the bulk actions: 'slugs'=&gt;'Visible Titles'" type="array">
4277
  <type by_reference="false">array</type>
4278
  </tag>
4279
  </docblock>
4280
  </method>
4281
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1780" package="Media Library Assistant">
4282
  <name>extra_tablenav</name>
4283
  <full_name>extra_tablenav</full_name>
4284
+ <docblock line="1769">
4285
  <description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
4286
  <long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
4287
+ <tag line="1769" name="since" description="0.1"/>
4288
+ <tag line="1769" name="param" description="'top' or 'bottom', i.e., above or below the table rows" type="string" variable="$which">
4289
  <type by_reference="false">string</type>
4290
  </tag>
4291
+ <tag line="1769" name="return" description="Contains all the bulk actions: 'slugs'=&gt;'Visible Titles'" type="array">
4292
  <type by_reference="false">array</type>
4293
  </tag>
4294
  </docblock>
4295
+ <argument line="1780">
4296
  <name>$which</name>
4297
  <default><![CDATA[]]></default>
4298
  <type/>
4299
  </argument>
4300
  </method>
4301
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1820" package="Media Library Assistant">
4302
  <name>prepare_items</name>
4303
  <full_name>prepare_items</full_name>
4304
+ <docblock line="1808">
4305
  <description><![CDATA[Prepares the list of items for displaying]]></description>
4306
  <long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
4307
  be used to query the database, sort and filter the data, and generally
4308
  get it ready to be displayed. At a minimum, we should set $this->items and
4309
  $this->set_pagination_args().</p>]]></long-description>
4310
+ <tag line="1808" name="since" description="0.1"/>
4311
+ <tag line="1808" name="return" description="" type="void">
4312
  <type by_reference="false">void</type>
4313
  </tag>
4314
  </docblock>
4315
  </method>
4316
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1875" package="Media Library Assistant">
4317
  <name>single_row</name>
4318
  <full_name>single_row</full_name>
4319
+ <docblock line="1866">
4320
  <description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
4321
  <long-description><![CDATA[]]></long-description>
4322
+ <tag line="1866" name="since" description=".20"/>
4323
+ <tag line="1866" name="param" description="the current item" type="object" variable="$item">
4324
  <type by_reference="false">object</type>
4325
  </tag>
4326
+ <tag line="1866" name="return" description="Echoes the row HTML" type="void">
4327
  <type by_reference="false">void</type>
4328
  </tag>
4329
  </docblock>
4330
+ <argument line="1875">
4331
  <name>$item</name>
4332
  <default><![CDATA[]]></default>
4333
  <type/>
4335
  </method>
4336
  </class>
4337
  </file>
4338
+ <file path="includes\class-mla-main.php" hash="c14725f7b1076a25d803e4a130460aed" package="Media Library Assistant">
4339
  <docblock line="2">
4340
  <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
4341
  <long-description><![CDATA[]]></long-description>
4345
  <include line="13" type="Require Once" package="Media Library Assistant">
4346
  <name/>
4347
  </include>
4348
+ <include line="1517" type="Require Once" package="Media Library Assistant">
4349
  <name/>
4350
  </include>
4351
  <class final="false" abstract="false" namespace="global" line="23" package="Media Library Assistant">
4362
  <constant namespace="global" line="32" package="Media Library Assistant">
4363
  <name>CURRENT_MLA_VERSION</name>
4364
  <full_name>CURRENT_MLA_VERSION</full_name>
4365
+ <value><![CDATA['2.01']]></value>
4366
  <docblock line="25">
4367
  <description><![CDATA[Current version number]]></description>
4368
  <long-description><![CDATA[]]></long-description>
4870
  <type/>
4871
  </argument>
4872
  </method>
4873
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1206" package="Media Library Assistant">
4874
  <name>mla_render_admin_page</name>
4875
  <full_name>mla_render_admin_page</full_name>
4876
+ <docblock line="1199">
4877
  <description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
4878
  <long-description><![CDATA[]]></long-description>
4879
+ <tag line="1199" name="since" description="0.1"/>
4880
+ <tag line="1199" name="return" description="" type="void">
4881
  <type by_reference="false">void</type>
4882
  </tag>
4883
  </docblock>
4884
  </method>
4885
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1570" package="Media Library Assistant">
4886
  <name>mla_find_posts_ajax_action</name>
4887
  <full_name>mla_find_posts_ajax_action</full_name>
4888
+ <docblock line="1560">
4889
  <description><![CDATA[Ajax handler to fetch candidates for the "Set Parent" popup window]]></description>
4890
  <long-description><![CDATA[<p>Adapted from wp_ajax_find_posts in /wp-admin/includes/ajax-actions.php.
4891
  Adds filters for post type and pagination.</p>]]></long-description>
4892
+ <tag line="1560" name="since" description="1.90"/>
4893
+ <tag line="1560" name="return" description="passes results to wp_send_json_success() for JSON encoding and transmission" type="void">
4894
  <type by_reference="false">void</type>
4895
  </tag>
4896
  </docblock>
4897
  </method>
4898
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1659" package="Media Library Assistant">
4899
  <name>mla_set_parent_ajax_action</name>
4900
  <full_name>mla_set_parent_ajax_action</full_name>
4901
+ <docblock line="1650">
4902
  <description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
4903
  <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4904
+ <tag line="1650" name="since" description="0.20"/>
4905
+ <tag line="1650" name="return" description="echo HTML &lt;td&gt; innerHTML for updated call or error message, then die()" type="void">
4906
  <type by_reference="false">void</type>
4907
  </tag>
4908
  </docblock>
4909
  </method>
4910
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1693" package="Media Library Assistant">
4911
  <name>_bulk_edit_ajax_handler</name>
4912
  <full_name>_bulk_edit_ajax_handler</full_name>
4913
+ <docblock line="1686">
4914
  <description><![CDATA[Ajax handler for bulk editing and mapping]]></description>
4915
  <long-description><![CDATA[]]></long-description>
4916
+ <tag line="1686" name="since" description="2.00"/>
4917
+ <tag line="1686" name="return" description="echo json results or error message, then die()" type="void">
4918
  <type by_reference="false">void</type>
4919
  </tag>
4920
  </docblock>
4921
  </method>
4922
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1734" package="Media Library Assistant">
4923
  <name>mla_inline_edit_ajax_action</name>
4924
  <full_name>mla_inline_edit_ajax_action</full_name>
4925
+ <docblock line="1725">
4926
  <description><![CDATA[Ajax handler for inline editing]]></description>
4927
  <long-description><![CDATA[<p>Adapted for Quick Edit from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4928
+ <tag line="1725" name="since" description="0.20"/>
4929
+ <tag line="1725" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
4930
  <type by_reference="false">void</type>
4931
  </tag>
4932
  </docblock>
4933
  </method>
4934
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1855" package="Media Library Assistant">
4935
  <name>_compose_post_type_select</name>
4936
  <full_name>_compose_post_type_select</full_name>
4937
+ <docblock line="1844">
4938
  <description><![CDATA[Compose a Post Type Options list with current selection]]></description>
4939
  <long-description><![CDATA[]]></long-description>
4940
+ <tag line="1844" name="since" description="1.90"/>
4941
+ <tag line="1844" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
4942
+ <tag line="1844" name="param" description="template parts" type="array" variable="$templates">
4943
  <type by_reference="false">array</type>
4944
  </tag>
4945
+ <tag line="1844" name="param" description="current selection or 'all' (default)" type="string" variable="$selection">
4946
  <type by_reference="false">string</type>
4947
  </tag>
4948
+ <tag line="1844" name="return" description="HTML markup with select field options" type="string">
4949
  <type by_reference="false">string</type>
4950
  </tag>
4951
  </docblock>
4952
+ <argument line="1855">
4953
  <name>$templates</name>
4954
  <default><![CDATA[]]></default>
4955
  <type/>
4956
  </argument>
4957
+ <argument line="1855">
4958
  <name>$selection</name>
4959
  <default><![CDATA['all']]></default>
4960
  <type/>
4961
  </argument>
4962
  </method>
4963
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1894" package="Media Library Assistant">
4964
  <name>mla_set_parent_form</name>
4965
  <full_name>mla_set_parent_form</full_name>
4966
+ <docblock line="1885">
4967
  <description><![CDATA[Build the hidden form for the "Set Parent" popup modal window]]></description>
4968
  <long-description><![CDATA[]]></long-description>
4969
+ <tag line="1885" name="since" description="1.90"/>
4970
+ <tag line="1885" name="param" description="true to return complete form, false to return mla-set-parent-div" type="boolean" variable="$return_form">
4971
  <type by_reference="false">boolean</type>
4972
  </tag>
4973
+ <tag line="1885" name="return" description="HTML &lt;form&gt; markup for hidden form" type="string">
4974
  <type by_reference="false">string</type>
4975
  </tag>
4976
  </docblock>
4977
+ <argument line="1894">
4978
  <name>$return_form</name>
4979
  <default><![CDATA[true]]></default>
4980
  <type/>
4981
  </argument>
4982
  </method>
4983
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1957" package="Media Library Assistant">
4984
  <name>_build_inline_edit_form</name>
4985
  <full_name>_build_inline_edit_form</full_name>
4986
+ <docblock line="1946">
4987
  <description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
4988
  <long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
4989
+ <tag line="1946" name="since" description="0.20"/>
4990
+ <tag line="1946" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
4991
  <type by_reference="false">object</type>
4992
  </tag>
4993
+ <tag line="1946" name="return" description="HTML &lt;form&gt; markup for hidden rows" type="string">
4994
  <type by_reference="false">string</type>
4995
  </tag>
4996
  </docblock>
4997
+ <argument line="1957">
4998
  <name>$MLAListTable</name>
4999
  <default><![CDATA[]]></default>
5000
  <type/>
5001
  </argument>
5002
  </method>
5003
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2152" package="Media Library Assistant">
5004
  <name>_authors_dropdown</name>
5005
  <full_name>_authors_dropdown</full_name>
5006
+ <docblock line="2141">
5007
  <description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
5008
  <long-description><![CDATA[]]></long-description>
5009
+ <tag line="2141" name="since" description="0.20"/>
5010
+ <tag line="2141" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
5011
  <type by_reference="false">integer</type>
5012
  </tag>
5013
+ <tag line="2141" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
5014
  <type by_reference="false">string</type>
5015
  </tag>
5016
+ <tag line="2141" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
5017
  <type by_reference="false">string</type>
5018
  </tag>
5019
+ <tag line="2141" name="return" description="HTML markup for the dropdown field or False" type="string|false">
5020
  <type by_reference="false">string</type>
5021
  <type by_reference="false">false</type>
5022
  </tag>
5023
  </docblock>
5024
+ <argument line="2152">
5025
  <name>$author</name>
5026
  <default><![CDATA[0]]></default>
5027
  <type/>
5028
  </argument>
5029
+ <argument line="2152">
5030
  <name>$name</name>
5031
  <default><![CDATA['post_author']]></default>
5032
  <type/>
5033
  </argument>
5034
+ <argument line="2152">
5035
  <name>$class</name>
5036
  <default><![CDATA['authors']]></default>
5037
  <type/>
5038
  </argument>
5039
  </method>
5040
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2186" package="Media Library Assistant">
5041
  <name>_current_bulk_action</name>
5042
  <full_name>_current_bulk_action</full_name>
5043
+ <docblock line="2179">
5044
  <description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
5045
  <long-description><![CDATA[]]></long-description>
5046
+ <tag line="2179" name="since" description="0.1"/>
5047
+ <tag line="2179" name="return" description="The action name or False if no action was selected" type="string|false">
5048
  <type by_reference="false">string</type>
5049
  <type by_reference="false">false</type>
5050
  </tag>
5051
  </docblock>
5052
  </method>
5053
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2217" package="Media Library Assistant">
5054
  <name>_delete_single_item</name>
5055
  <full_name>_delete_single_item</full_name>
5056
+ <docblock line="2208">
5057
  <description><![CDATA[Delete a single item permanently]]></description>
5058
  <long-description><![CDATA[]]></long-description>
5059
+ <tag line="2208" name="since" description="0.1"/>
5060
+ <tag line="2208" name="param" description="The form POST data" type="array" variable="$post_id">
5061
  <type by_reference="false">array</type>
5062
  </tag>
5063
+ <tag line="2208" name="return" description="success/failure message and NULL content" type="array">
5064
  <type by_reference="false">array</type>
5065
  </tag>
5066
  </docblock>
5067
+ <argument line="2217">
5068
  <name>$post_id</name>
5069
  <default><![CDATA[]]></default>
5070
  <type/>
5071
  </argument>
5072
  </method>
5073
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2252" package="Media Library Assistant">
5074
  <name>_display_single_item</name>
5075
  <full_name>_display_single_item</full_name>
5076
+ <docblock line="2240">
5077
  <description><![CDATA[Display a single item sub page; prepare the form to
5078
  change the meta data for a single attachment.]]></description>
5079
  <long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
5080
+ <tag line="2240" name="since" description="0.1"/>
5081
+ <tag line="2240" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
5082
  <type by_reference="false">integer</type>
5083
  </tag>
5084
+ <tag line="2240" name="return" description="message and/or HTML content" type="array">
5085
  <type by_reference="false">array</type>
5086
  </tag>
5087
  </docblock>
5088
+ <argument line="2252">
5089
  <name>$post_id</name>
5090
  <default><![CDATA[]]></default>
5091
  <type/>
5092
  </argument>
5093
  </method>
5094
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2533" package="Media Library Assistant">
5095
  <name>_restore_single_item</name>
5096
  <full_name>_restore_single_item</full_name>
5097
+ <docblock line="2524">
5098
  <description><![CDATA[Restore a single item from the Trash]]></description>
5099
  <long-description><![CDATA[]]></long-description>
5100
+ <tag line="2524" name="since" description="0.1"/>
5101
+ <tag line="2524" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
5102
  <type by_reference="false">integer</type>
5103
  </tag>
5104
+ <tag line="2524" name="return" description="success/failure message and NULL content" type="array">
5105
  <type by_reference="false">array</type>
5106
  </tag>
5107
  </docblock>
5108
+ <argument line="2533">
5109
  <name>$post_id</name>
5110
  <default><![CDATA[]]></default>
5111
  <type/>
5112
  </argument>
5113
  </method>
5114
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2573" package="Media Library Assistant">
5115
  <name>_trash_single_item</name>
5116
  <full_name>_trash_single_item</full_name>
5117
+ <docblock line="2564">
5118
  <description><![CDATA[Move a single item to Trash]]></description>
5119
  <long-description><![CDATA[]]></long-description>
5120
+ <tag line="2564" name="since" description="0.1"/>
5121
+ <tag line="2564" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
5122
  <type by_reference="false">integer</type>
5123
  </tag>
5124
+ <tag line="2564" name="return" description="success/failure message and NULL content" type="array">
5125
  <type by_reference="false">array</type>
5126
  </tag>
5127
  </docblock>
5128
+ <argument line="2573">
5129
  <name>$post_id</name>
5130
  <default><![CDATA[]]></default>
5131
  <type/>
5133
  </method>
5134
  </class>
5135
  </file>
5136
+ <file path="includes\class-mla-media-modal.php" hash="ddf1646a7dea779bb07c58b5eaf211e4" package="Media Library Assistant">
5137
  <docblock line="2">
5138
  <description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
5139
  <long-description><![CDATA[]]></long-description>
5140
  <tag line="2" name="package" description="Media Library Assistant"/>
5141
  <tag line="2" name="since" description="1.20"/>
5142
  </docblock>
5143
+ <include line="589" type="Require Once" package="Media Library Assistant">
5144
  <name/>
5145
  </include>
5146
  <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
5256
  </tag>
5257
  </docblock>
5258
  </property>
5259
+ <property final="false" static="true" visibility="private" line="352" namespace="global" package="Media Library Assistant">
5260
  <name>$mla_media_modal_settings</name>
5261
  <default><![CDATA[array('screen' => 'modal', 'state' => 'initial', 'comma' => ',', 'ajaxNonce' => '', 'ajaxFillCompatAction' => self::JAVASCRIPT_FILL_COMPAT_ACTION, 'ajaxQueryAttachmentsAction' => self::JAVASCRIPT_QUERY_ATTACHMENTS_ACTION, 'ajaxUpdateCompatAction' => self::JAVASCRIPT_UPDATE_COMPAT_ACTION, 'enableDetailsCategory' => false, 'enableDetailsTag' => false, 'enableMimeTypes' => false, 'enableMonthsDropdown' => false, 'enableSearchBox' => false, 'enableSearchBoxControls' => false, 'enableTermsDropdown' => false, 'enableTermsSearch' => false, 'enableTermsAutofill' => false, 'query' => array('initial' => array('filterMime' => NULL, 'filterMonth' => NULL, 'filterTerm' => NULL, 'searchConnector' => NULL, 'searchFields' => NULL, 'searchValue' => NULL, 'searchClicks' => 0)), 'mimeTypes' => '', 'months' => '', 'termsClass' => array(), 'termsIndent' => '&nbsp;', 'termsTaxonomy' => '', 'termsText' => array(), 'termsValue' => array())]]></default>
5262
+ <docblock line="344">
5263
  <description><![CDATA[Share the settings values between mla_media_view_settings_filter
5264
  and mla_print_media_templates_action]]></description>
5265
  <long-description><![CDATA[]]></long-description>
5266
+ <tag line="344" name="since" description="1.20"/>
5267
+ <tag line="344" name="var" description="" type="array">
5268
  <type by_reference="false">array</type>
5269
  </tag>
5270
  </docblock>
5334
  <type/>
5335
  </argument>
5336
  </method>
5337
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="277" package="Media Library Assistant">
5338
  <name>_months_dropdown</name>
5339
  <full_name>_months_dropdown</full_name>
5340
+ <docblock line="266">
5341
  <description><![CDATA[Display a monthly dropdown for filtering items]]></description>
5342
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown()</p>]]></long-description>
5343
+ <tag line="266" name="since" description="1.20"/>
5344
+ <tag line="266" name="param" description="post_type, e.g., 'attachment'" type="string" variable="$post_type">
5345
  <type by_reference="false">string</type>
5346
  </tag>
5347
+ <tag line="266" name="return" description="( value =&gt; label ) pairs" type="array">
5348
  <type by_reference="false">array</type>
5349
  </tag>
5350
  </docblock>
5351
+ <argument line="277">
5352
  <name>$post_type</name>
5353
  <default><![CDATA[]]></default>
5354
  <type/>
5355
  </argument>
5356
  </method>
5357
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="318" package="Media Library Assistant">
5358
  <name>_terms_options</name>
5359
  <full_name>_terms_options</full_name>
5360
+ <docblock line="309">
5361
  <description><![CDATA[Extract value and text elements from Dropdown HTML option tags]]></description>
5362
  <long-description><![CDATA[]]></long-description>
5363
+ <tag line="309" name="since" description="1.20"/>
5364
+ <tag line="309" name="param" description="HTML markup for taxonomy terms dropdown &lt;select&gt; tag" type="string" variable="$markup">
5365
  <type by_reference="false">string</type>
5366
  </tag>
5367
+ <tag line="309" name="return" description="( 'class' =&gt; $class_array, 'value' =&gt; $value_array, 'text' =&gt; $text_array )" type="array">
5368
  <type by_reference="false">array</type>
5369
  </tag>
5370
  </docblock>
5371
+ <argument line="318">
5372
  <name>$markup</name>
5373
  <default><![CDATA[]]></default>
5374
  <type/>
5375
  </argument>
5376
  </method>
5377
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="400" package="Media Library Assistant">
5378
  <name>mla_media_view_settings_filter</name>
5379
  <full_name>mla_media_view_settings_filter</full_name>
5380
+ <docblock line="389">
5381
  <description><![CDATA[Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
5382
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
5383
+ <tag line="389" name="since" description="1.20"/>
5384
+ <tag line="389" name="param" description="associative array with setting =&gt; value pairs" type="array" variable="$settings">
5385
  <type by_reference="false">array</type>
5386
  </tag>
5387
+ <tag line="389" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
5388
  <type by_reference="false">object</type>
5389
  </tag>
5390
+ <tag line="389" name="return" description="updated $settings array" type="array">
5391
  <type by_reference="false">array</type>
5392
  </tag>
5393
  </docblock>
5394
+ <argument line="400">
5395
  <name>$settings</name>
5396
  <default><![CDATA[]]></default>
5397
  <type/>
5398
  </argument>
5399
+ <argument line="400">
5400
  <name>$post</name>
5401
  <default><![CDATA[]]></default>
5402
  <type/>
5403
  </argument>
5404
  </method>
5405
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="517" package="Media Library Assistant">
5406
  <name>mla_media_view_strings_filter</name>
5407
  <full_name>mla_media_view_strings_filter</full_name>
5408
+ <docblock line="506">
5409
  <description><![CDATA[Adds strings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
5410
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
5411
+ <tag line="506" name="since" description="1.20"/>
5412
+ <tag line="506" name="param" description="associative array with string =&gt; value pairs" type="array" variable="$strings">
5413
  <type by_reference="false">array</type>
5414
  </tag>
5415
+ <tag line="506" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
5416
  <type by_reference="false">object</type>
5417
  </tag>
5418
+ <tag line="506" name="return" description="updated $strings array" type="array">
5419
  <type by_reference="false">array</type>
5420
  </tag>
5421
  </docblock>
5422
+ <argument line="517">
5423
  <name>$strings</name>
5424
  <default><![CDATA[]]></default>
5425
  <type/>
5426
  </argument>
5427
+ <argument line="517">
5428
  <name>$post</name>
5429
  <default><![CDATA[]]></default>
5430
  <type/>
5431
  </argument>
5432
  </method>
5433
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="536" package="Media Library Assistant">
5434
  <name>mla_wp_enqueue_media_action</name>
5435
  <full_name>mla_wp_enqueue_media_action</full_name>
5436
+ <docblock line="528">
5437
  <description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
5438
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5439
+ <tag line="528" name="since" description="1.20"/>
5440
+ <tag line="528" name="return" description="" type="void">
5441
  <type by_reference="false">void</type>
5442
  </tag>
5443
  </docblock>
5444
  </method>
5445
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="572" package="Media Library Assistant">
5446
  <name>mla_print_media_templates_action</name>
5447
  <full_name>mla_print_media_templates_action</full_name>
5448
+ <docblock line="564">
5449
  <description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
5450
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
5451
+ <tag line="564" name="since" description="1.20"/>
5452
+ <tag line="564" name="return" description="echoes HTML script tags for the templates" type="void">
5453
  <type by_reference="false">void</type>
5454
  </tag>
5455
  </docblock>
5456
  </method>
5457
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="602" package="Media Library Assistant">
5458
  <name>mla_admin_init_action</name>
5459
  <full_name>mla_admin_init_action</full_name>
5460
+ <docblock line="592">
5461
  <description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
5462
  <long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
5463
  Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
5464
+ <tag line="592" name="since" description="1.20"/>
5465
+ <tag line="592" name="return" description="" type="void">
5466
  <type by_reference="false">void</type>
5467
  </tag>
5468
  </docblock>
5469
  </method>
5470
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="741" package="Media Library Assistant">
5471
  <name>mla_fill_compat_fields_action</name>
5472
  <full_name>mla_fill_compat_fields_action</full_name>
5473
+ <docblock line="732">
5474
  <description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
5475
  <long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
5476
+ <tag line="732" name="since" description="1.80"/>
5477
+ <tag line="732" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
5478
  <type by_reference="false">void</type>
5479
  </tag>
5480
  </docblock>
5481
  </method>
5482
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="917" package="Media Library Assistant">
5483
  <name>mla_update_compat_fields_action</name>
5484
  <full_name>mla_update_compat_fields_action</full_name>
5485
+ <docblock line="908">
5486
  <description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
5487
  <long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
5488
+ <tag line="908" name="since" description="1.80"/>
5489
+ <tag line="908" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
5490
  <type by_reference="false">void</type>
5491
  </tag>
5492
  </docblock>
5493
  </method>
5494
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1000" package="Media Library Assistant">
5495
  <name>mla_query_attachments_action</name>
5496
  <full_name>mla_query_attachments_action</full_name>
5497
+ <docblock line="991">
5498
  <description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
5499
  <long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
5500
+ <tag line="991" name="since" description="1.20"/>
5501
+ <tag line="991" name="return" description="passes array of post arrays to wp_send_json_success() for JSON encoding and transmission" type="void">
5502
  <type by_reference="false">void</type>
5503
  </tag>
5504
  </docblock>
5505
  </method>
5506
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1114" package="Media Library Assistant">
5507
  <name>mla_add_terms_search_scripts</name>
5508
  <full_name>mla_add_terms_search_scripts</full_name>
5509
+ <docblock line="1106">
5510
  <description><![CDATA[Add the styles and scripts for the "Search Terms" popup modal window,
5511
  but only once per page load]]></description>
5512
  <long-description><![CDATA[]]></long-description>
5513
+ <tag line="1106" name="since" description="1.90"/>
5514
+ <tag line="1106" name="return" description="" type="void">
5515
  <type by_reference="false">void</type>
5516
  </tag>
5517
  </docblock>
5518
  </method>
5519
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1154" package="Media Library Assistant">
5520
  <name>mla_add_terms_search_form</name>
5521
  <full_name>mla_add_terms_search_form</full_name>
5522
+ <docblock line="1146">
5523
  <description><![CDATA[Add the hidden form for the "Search Terms" popup modal window,
5524
  but only once per page load]]></description>
5525
  <long-description><![CDATA[]]></long-description>
5526
+ <tag line="1146" name="since" description="1.90"/>
5527
+ <tag line="1146" name="return" description="" type="void">
5528
  <type by_reference="false">void</type>
5529
  </tag>
5530
  </docblock>
5531
  </method>
5532
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1170" package="Media Library Assistant">
5533
  <name>mla_echo_terms_search_form</name>
5534
  <full_name>mla_echo_terms_search_form</full_name>
5535
+ <docblock line="1163">
5536
  <description><![CDATA[Echo the hidden form for the "Search Terms" popup modal window]]></description>
5537
  <long-description><![CDATA[]]></long-description>
5538
+ <tag line="1163" name="since" description="1.90"/>
5539
+ <tag line="1163" name="return" description="Echos the HTML &lt;form&gt; markup for hidden form" type="void">
5540
  <type by_reference="false">void</type>
5541
  </tag>
5542
  </docblock>
5543
  </method>
5544
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1181" package="Media Library Assistant">
5545
  <name>mla_terms_search_form</name>
5546
  <full_name>mla_terms_search_form</full_name>
5547
+ <docblock line="1174">
5548
  <description><![CDATA[Build the hidden form for the "Search Terms" popup modal window]]></description>
5549
  <long-description><![CDATA[]]></long-description>
5550
+ <tag line="1174" name="since" description="1.90"/>
5551
+ <tag line="1174" name="return" description="HTML &lt;form&gt; markup for hidden form" type="string">
5552
  <type by_reference="false">string</type>
5553
  </tag>
5554
  </docblock>
7013
  </method>
7014
  </class>
7015
  </file>
7016
+ <file path="includes\class-mla-options.php" hash="8333a91b17c85c974b036f2746a7e1fb" package="Media Library Assistant">
7017
  <docblock line="2">
7018
  <description><![CDATA[Manages the plugin option settings]]></description>
7019
  <long-description><![CDATA[]]></long-description>
7542
  </tag>
7543
  </docblock>
7544
  </property>
7545
+ <property final="false" static="true" visibility="private" line="2939" namespace="global" package="Media Library Assistant">
7546
  <name>$custom_field_data_sources</name>
7547
  <default><![CDATA[array('post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'comment_status', 'ping_status', 'post_name', 'post_modified', 'post_modified_gmt', 'post_content_filtered', 'parent', 'post_parent', 'guid', 'menu_order', 'mime_type', 'post_mime_type', 'comment_count', 'absolute_path', 'absolute_file_name', 'base_file', 'path', 'file_name', 'name_only', 'extension', 'file_size', 'upload_date', 'dimensions', 'pixels', 'width', 'height', 'orientation', 'hwstring_small', 'size_keys', 'size_names', 'size_bytes', 'size_pixels', 'size_dimensions', 'size_name[size]', 'size_bytes[size]', 'size_pixels[size]', 'size_dimensions[size]', 'parent_date', 'parent_type', 'parent_title', 'parent_issues', 'reference_issues', 'featured_in', 'featured_in_title', 'inserted_in', 'inserted_in_title', 'gallery_in', 'gallery_in_title', 'mla_gallery_in', 'mla_gallery_in_title', 'aperture', 'credit', 'camera', 'caption', 'created_timestamp', 'copyright', 'focal_length', 'iso', 'shutter_speed', 'title')]]></default>
7548
+ <docblock line="2932">
7549
  <description><![CDATA[Array of Data Source names for custom field mapping]]></description>
7550
  <long-description><![CDATA[]]></long-description>
7551
+ <tag line="2932" name="since" description="1.10"/>
7552
+ <tag line="2932" name="var" description="" type="array">
7553
  <type by_reference="false">array</type>
7554
  </tag>
7555
  </docblock>
8193
  <type/>
8194
  </argument>
8195
  </method>
8196
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2275" package="Media Library Assistant">
8197
  <name>_evaluate_array_result</name>
8198
  <full_name>_evaluate_array_result</full_name>
8199
+ <docblock line="2264">
8200
  <description><![CDATA[Evaluate post information for custom field mapping]]></description>
8201
  <long-description><![CDATA[]]></long-description>
8202
+ <tag line="2264" name="since" description="1.40"/>
8203
+ <tag line="2264" name="param" description="field value(s)" type="array" variable="$value">
8204
  <type by_reference="false">array</type>
8205
  </tag>
8206
+ <tag line="2264" name="param" description="format option text|single|export|array|multi" type="string" variable="$option">
8207
  <type by_reference="false">string</type>
8208
  </tag>
8209
+ <tag line="2264" name="param" description="keep existing value(s) - for 'multi' option" type="boolean" variable="$keep_existing">
8210
  <type by_reference="false">boolean</type>
8211
  </tag>
8212
+ <tag line="2264" name="return" description="array for option = array|multi else string" type="mixed">
8213
  <type by_reference="false">mixed</type>
8214
  </tag>
8215
  </docblock>
8216
+ <argument line="2275">
8217
  <name>$value</name>
8218
  <default><![CDATA[]]></default>
8219
  <type/>
8220
  </argument>
8221
+ <argument line="2275">
8222
  <name>$option</name>
8223
  <default><![CDATA[]]></default>
8224
  <type/>
8225
  </argument>
8226
+ <argument line="2275">
8227
  <name>$keep_existing</name>
8228
  <default><![CDATA[]]></default>
8229
  <type/>
8230
  </argument>
8231
  </method>
8232
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2315" package="Media Library Assistant">
8233
  <name>mla_get_data_source</name>
8234
  <full_name>mla_get_data_source</full_name>
8235
+ <docblock line="2300">
8236
  <description><![CDATA[Get IPTC/EXIF or custom field mapping data source]]></description>
8237
  <long-description><![CDATA[<p>Defined as public so MLA Mapping Hooks clients can call it.
8238
  Isolates clients from changes to _evaluate_data_source().</p>]]></long-description>
8239
+ <tag line="2300" name="since" description="1.70"/>
8240
+ <tag line="2300" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
8241
  <type by_reference="false">integer</type>
8242
  </tag>
8243
+ <tag line="2300" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
8244
  <type by_reference="false">string</type>
8245
  </tag>
8246
+ <tag line="2300" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
8247
  <type by_reference="false">array</type>
8248
  </tag>
8249
+ <tag line="2300" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
8250
  <type by_reference="false">array</type>
8251
  </tag>
8252
+ <tag line="2300" name="return" description="data source value" type="string|array">
8253
  <type by_reference="false">string</type>
8254
  <type by_reference="false">array</type>
8255
  </tag>
8256
  </docblock>
8257
+ <argument line="2315">
8258
  <name>$post_id</name>
8259
  <default><![CDATA[]]></default>
8260
  <type/>
8261
  </argument>
8262
+ <argument line="2315">
8263
  <name>$category</name>
8264
  <default><![CDATA[]]></default>
8265
  <type/>
8266
  </argument>
8267
+ <argument line="2315">
8268
  <name>$data_value</name>
8269
  <default><![CDATA[]]></default>
8270
  <type/>
8271
  </argument>
8272
+ <argument line="2315">
8273
  <name>$attachment_metadata</name>
8274
  <default><![CDATA[NULL]]></default>
8275
  <type/>
8276
  </argument>
8277
  </method>
8278
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2340" package="Media Library Assistant">
8279
  <name>mla_is_data_source</name>
8280
  <full_name>mla_is_data_source</full_name>
8281
+ <docblock line="2328">
8282
  <description><![CDATA[Identify custom field mapping data source]]></description>
8283
  <long-description><![CDATA[<p>Determines whether a name matches any of the element-level data source dropdown options, i.e.,
8284
  excludes "template:" and "meta:" values.</p>]]></long-description>
8285
+ <tag line="2328" name="since" description="1.80"/>
8286
+ <tag line="2328" name="param" description="candidate data source name" type="string" variable="$candidate_name">
8287
  <type by_reference="false">string</type>
8288
  </tag>
8289
+ <tag line="2328" name="return" description="true if candidate name matches a data source" type="boolean">
8290
  <type by_reference="false">boolean</type>
8291
  </tag>
8292
  </docblock>
8293
+ <argument line="2340">
8294
  <name>$candidate_name</name>
8295
  <default><![CDATA[]]></default>
8296
  <type/>
8297
  </argument>
8298
  </method>
8299
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2375" package="Media Library Assistant">
8300
  <name>_evaluate_data_source</name>
8301
  <full_name>_evaluate_data_source</full_name>
8302
+ <docblock line="2363">
8303
  <description><![CDATA[Evaluate custom field mapping data source]]></description>
8304
  <long-description><![CDATA[]]></long-description>
8305
+ <tag line="2363" name="since" description="1.10"/>
8306
+ <tag line="2363" name="param" description="post-&gt;ID of attachment" type="integer" variable="$post_id">
8307
  <type by_reference="false">integer</type>
8308
  </tag>
8309
+ <tag line="2363" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
8310
  <type by_reference="false">string</type>
8311
  </tag>
8312
+ <tag line="2363" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
8313
  <type by_reference="false">array</type>
8314
  </tag>
8315
+ <tag line="2363" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
8316
  <type by_reference="false">array</type>
8317
  </tag>
8318
+ <tag line="2363" name="return" description="data source value" type="string|array">
8319
  <type by_reference="false">string</type>
8320
  <type by_reference="false">array</type>
8321
  </tag>
8322
  </docblock>
8323
+ <argument line="2375">
8324
  <name>$post_id</name>
8325
  <default><![CDATA[]]></default>
8326
  <type/>
8327
  </argument>
8328
+ <argument line="2375">
8329
  <name>$category</name>
8330
  <default><![CDATA[]]></default>
8331
  <type/>
8332
  </argument>
8333
+ <argument line="2375">
8334
  <name>$data_value</name>
8335
  <default><![CDATA[]]></default>
8336
  <type/>
8337
  </argument>
8338
+ <argument line="2375">
8339
  <name>$attachment_metadata</name>
8340
  <default><![CDATA[NULL]]></default>
8341
  <type/>
8342
  </argument>
8343
  </method>
8344
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2806" package="Media Library Assistant">
8345
  <name>mla_evaluate_custom_field_mapping</name>
8346
  <full_name>mla_evaluate_custom_field_mapping</full_name>
8347
+ <docblock line="2794">
8348
  <description><![CDATA[Evaluate custom field mapping updates for a post]]></description>
8349
  <long-description><![CDATA[]]></long-description>
8350
+ <tag line="2794" name="since" description="1.10"/>
8351
+ <tag line="2794" name="param" description="post ID to be evaluated" type="integer" variable="$post_id">
8352
  <type by_reference="false">integer</type>
8353
  </tag>
8354
+ <tag line="2794" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
8355
  <type by_reference="false">string</type>
8356
  </tag>
8357
+ <tag line="2794" name="param" description="(optional) custom_field_mapping values, default NULL (use current option value)" type="array" variable="$settings">
8358
  <type by_reference="false">array</type>
8359
  </tag>
8360
+ <tag line="2794" name="param" description="(optional) attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
8361
  <type by_reference="false">array</type>
8362
  </tag>
8363
+ <tag line="2794" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
8364
  <type by_reference="false">array</type>
8365
  </tag>
8366
  </docblock>
8367
+ <argument line="2806">
8368
  <name>$post_id</name>
8369
  <default><![CDATA[]]></default>
8370
  <type/>
8371
  </argument>
8372
+ <argument line="2806">
8373
  <name>$category</name>
8374
  <default><![CDATA[]]></default>
8375
  <type/>
8376
  </argument>
8377
+ <argument line="2806">
8378
  <name>$settings</name>
8379
  <default><![CDATA[NULL]]></default>
8380
  <type/>
8381
  </argument>
8382
+ <argument line="2806">
8383
  <name>$attachment_metadata</name>
8384
  <default><![CDATA[NULL]]></default>
8385
  <type/>
8386
  </argument>
8387
  </method>
8388
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2905" package="Media Library Assistant">
8389
  <name>_compose_custom_field_option_list</name>
8390
  <full_name>_compose_custom_field_option_list</full_name>
8391
+ <docblock line="2894">
8392
  <description><![CDATA[Compose a Custom Field Options list with current selection]]></description>
8393
  <long-description><![CDATA[]]></long-description>
8394
+ <tag line="2894" name="since" description="1.10"/>
8395
+ <tag line="2894" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8396
+ <tag line="2894" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
8397
  <type by_reference="false">string</type>
8398
  </tag>
8399
+ <tag line="2894" name="param" description="optional list of terms to exclude from the list" type="array" variable="$blacklist">
8400
  <type by_reference="false">array</type>
8401
  </tag>
8402
+ <tag line="2894" name="return" description="HTML markup with select field options" type="string">
8403
  <type by_reference="false">string</type>
8404
  </tag>
8405
  </docblock>
8406
+ <argument line="2905">
8407
  <name>$selection</name>
8408
  <default><![CDATA['none']]></default>
8409
  <type/>
8410
  </argument>
8411
+ <argument line="2905">
8412
  <name>$blacklist</name>
8413
  <default><![CDATA[array()]]></default>
8414
  <type/>
8415
  </argument>
8416
  </method>
8417
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3024" package="Media Library Assistant">
8418
  <name>_compose_data_source_option_list</name>
8419
  <full_name>_compose_data_source_option_list</full_name>
8420
+ <docblock line="3014">
8421
  <description><![CDATA[Compose a (Custom Field) Data Source Options list with current selection]]></description>
8422
  <long-description><![CDATA[]]></long-description>
8423
+ <tag line="3014" name="since" description="1.10"/>
8424
+ <tag line="3014" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8425
+ <tag line="3014" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
8426
  <type by_reference="false">string</type>
8427
  </tag>
8428
+ <tag line="3014" name="return" description="HTML markup with select field options" type="string">
8429
  <type by_reference="false">string</type>
8430
  </tag>
8431
  </docblock>
8432
+ <argument line="3024">
8433
  <name>$selection</name>
8434
  <default><![CDATA['none']]></default>
8435
  <type/>
8436
  </argument>
8437
  </method>
8438
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3088" package="Media Library Assistant">
8439
  <name>_update_custom_field_mapping</name>
8440
  <full_name>_update_custom_field_mapping</full_name>
8441
+ <docblock line="3078">
8442
  <description><![CDATA[Update custom field mappings]]></description>
8443
  <long-description><![CDATA[]]></long-description>
8444
+ <tag line="3078" name="since" description="1.10"/>
8445
+ <tag line="3078" name="param" description="current custom_field_mapping values" type="array" variable="$current_values">
8446
  <type by_reference="false">array</type>
8447
  </tag>
8448
+ <tag line="3078" name="param" description="new values" type="array" variable="$new_values">
8449
  <type by_reference="false">array</type>
8450
  </tag>
8451
+ <tag line="3078" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated custom_field_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8452
  <type by_reference="false">array</type>
8453
  </tag>
8454
  </docblock>
8455
+ <argument line="3088">
8456
  <name>$current_values</name>
8457
  <default><![CDATA[]]></default>
8458
  <type/>
8459
  </argument>
8460
+ <argument line="3088">
8461
  <name>$new_values</name>
8462
  <default><![CDATA[]]></default>
8463
  <type/>
8464
  </argument>
8465
  </method>
8466
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3301" package="Media Library Assistant">
8467
  <name>mla_custom_field_option_handler</name>
8468
  <full_name>mla_custom_field_option_handler</full_name>
8469
+ <docblock line="3288">
8470
  <description><![CDATA[Render and manage custom field mapping options]]></description>
8471
  <long-description><![CDATA[]]></long-description>
8472
+ <tag line="3288" name="since" description="1.10"/>
8473
+ <tag line="3288" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8474
+ <tag line="3288" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
8475
  <type by_reference="false">string</type>
8476
  </tag>
8477
+ <tag line="3288" name="param" description="option name, e.g., 'custom_field_mapping'" type="string" variable="$key">
8478
  <type by_reference="false">string</type>
8479
  </tag>
8480
+ <tag line="3288" name="param" description="option parameters" type="array" variable="$value">
8481
  <type by_reference="false">array</type>
8482
  </tag>
8483
+ <tag line="3288" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
8484
  <type by_reference="false">array</type>
8485
  </tag>
8486
+ <tag line="3288" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
8487
  <type by_reference="false">string</type>
8488
  </tag>
8489
  </docblock>
8490
+ <argument line="3301">
8491
  <name>$action</name>
8492
  <default><![CDATA[]]></default>
8493
  <type/>
8494
  </argument>
8495
+ <argument line="3301">
8496
  <name>$key</name>
8497
  <default><![CDATA[]]></default>
8498
  <type/>
8499
  </argument>
8500
+ <argument line="3301">
8501
  <name>$value</name>
8502
  <default><![CDATA[]]></default>
8503
  <type/>
8504
  </argument>
8505
+ <argument line="3301">
8506
  <name>$args</name>
8507
  <default><![CDATA[null]]></default>
8508
  <type/>
8509
  </argument>
8510
  </method>
8511
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3563" package="Media Library Assistant">
8512
+ <name>_get_term_id</name>
8513
+ <full_name>_get_term_id</full_name>
8514
+ <docblock line="3551">
8515
+ <description><![CDATA[Build and search a cache of taxonomy and term name to term ID mappings]]></description>
8516
+ <long-description><![CDATA[]]></long-description>
8517
+ <tag line="3551" name="since" description="2.01"/>
8518
+ <tag line="3551" name="param" description="term name (not slug)" type="string" variable="$term_name">
8519
+ <type by_reference="false">string</type>
8520
+ </tag>
8521
+ <tag line="3551" name="param" description="zero or term's parent term_id" type="integer" variable="$term_parent">
8522
+ <type by_reference="false">integer</type>
8523
+ </tag>
8524
+ <tag line="3551" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
8525
+ <type by_reference="false">string</type>
8526
+ </tag>
8527
+ <tag line="3551" name="param" description="term objects currently assigned to the item" type="array" variable="$post_terms">
8528
+ <type by_reference="false">array</type>
8529
+ </tag>
8530
+ <tag line="3551" name="return" description="term_id for the term name" type="integer">
8531
+ <type by_reference="false">integer</type>
8532
+ </tag>
8533
+ </docblock>
8534
+ <argument line="3563">
8535
+ <name>$term_name</name>
8536
+ <default><![CDATA[]]></default>
8537
+ <type/>
8538
+ </argument>
8539
+ <argument line="3563">
8540
+ <name>$term_parent</name>
8541
+ <default><![CDATA[]]></default>
8542
+ <type/>
8543
+ </argument>
8544
+ <argument line="3563">
8545
+ <name>$taxonomy</name>
8546
+ <default><![CDATA[]]></default>
8547
+ <type/>
8548
+ </argument>
8549
+ <argument line="3563">
8550
+ <name>$post_terms</name>
8551
+ <default><![CDATA[]]></default>
8552
+ <type/>
8553
+ </argument>
8554
+ </method>
8555
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3612" package="Media Library Assistant">
8556
  <name>mla_evaluate_iptc_exif_mapping</name>
8557
  <full_name>mla_evaluate_iptc_exif_mapping</full_name>
8558
+ <docblock line="3599">
8559
  <description><![CDATA[Evaluate IPTC/EXIF mapping updates for a post]]></description>
8560
  <long-description><![CDATA[]]></long-description>
8561
+ <tag line="3599" name="since" description="1.00"/>
8562
+ <tag line="3599" name="param" description="post object with current values" type="object" variable="$post">
8563
  <type by_reference="false">object</type>
8564
  </tag>
8565
+ <tag line="3599" name="param" description="category to evaluate against, e.g., iptc_exif_standard_mapping or iptc_exif_mapping" type="string" variable="$category">
8566
  <type by_reference="false">string</type>
8567
  </tag>
8568
+ <tag line="3599" name="param" description="(optional) iptc_exif_mapping values, default - current option value" type="array" variable="$settings">
8569
  <type by_reference="false">array</type>
8570
  </tag>
8571
+ <tag line="3599" name="param" description="(optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter" type="array" variable="$attachment_metadata">
8572
  <type by_reference="false">array</type>
8573
  </tag>
8574
+ <tag line="3599" name="param" description="(optional) true if uploading a new item else false (default)" type="boolean" variable="$is_upload">
8575
+ <type by_reference="false">boolean</type>
8576
+ </tag>
8577
+ <tag line="3599" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
8578
  <type by_reference="false">array</type>
8579
  </tag>
8580
  </docblock>
8581
+ <argument line="3612">
8582
  <name>$post</name>
8583
  <default><![CDATA[]]></default>
8584
  <type/>
8585
  </argument>
8586
+ <argument line="3612">
8587
  <name>$category</name>
8588
  <default><![CDATA[]]></default>
8589
  <type/>
8590
  </argument>
8591
+ <argument line="3612">
8592
  <name>$settings</name>
8593
  <default><![CDATA[NULL]]></default>
8594
  <type/>
8595
  </argument>
8596
+ <argument line="3612">
8597
  <name>$attachment_metadata</name>
8598
  <default><![CDATA[NULL]]></default>
8599
  <type/>
8600
  </argument>
8601
+ <argument line="3612">
8602
+ <name>$is_upload</name>
8603
+ <default><![CDATA[false]]></default>
8604
+ <type/>
8605
+ </argument>
8606
  </method>
8607
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3983" package="Media Library Assistant">
8608
  <name>_compose_iptc_option_list</name>
8609
  <full_name>_compose_iptc_option_list</full_name>
8610
+ <docblock line="3973">
8611
  <description><![CDATA[Compose an IPTC Options list with current selection]]></description>
8612
  <long-description><![CDATA[]]></long-description>
8613
+ <tag line="3973" name="since" description="1.00"/>
8614
+ <tag line="3973" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8615
+ <tag line="3973" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
8616
  <type by_reference="false">string</type>
8617
  </tag>
8618
+ <tag line="3973" name="return" description="HTML markup with select field options" type="string">
8619
  <type by_reference="false">string</type>
8620
  </tag>
8621
  </docblock>
8622
+ <argument line="3983">
8623
  <name>$selection</name>
8624
  <default><![CDATA['none']]></default>
8625
  <type/>
8626
  </argument>
8627
  </method>
8628
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4016" package="Media Library Assistant">
8629
  <name>_compose_parent_option_list</name>
8630
  <full_name>_compose_parent_option_list</full_name>
8631
+ <docblock line="4005">
8632
  <description><![CDATA[Compose an hierarchical taxonomy Parent options list with current selection]]></description>
8633
  <long-description><![CDATA[]]></long-description>
8634
+ <tag line="4005" name="since" description="1.00"/>
8635
+ <tag line="4005" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8636
+ <tag line="4005" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
8637
  <type by_reference="false">string</type>
8638
  </tag>
8639
+ <tag line="4005" name="param" description="current selection or 0 (zero, default)" type="integer" variable="$selection">
8640
  <type by_reference="false">integer</type>
8641
  </tag>
8642
+ <tag line="4005" name="return" description="HTML markup with select field options" type="string">
8643
  <type by_reference="false">string</type>
8644
  </tag>
8645
  </docblock>
8646
+ <argument line="4016">
8647
  <name>$taxonomy</name>
8648
  <default><![CDATA[]]></default>
8649
  <type/>
8650
  </argument>
8651
+ <argument line="4016">
8652
  <name>$selection</name>
8653
  <default><![CDATA[0]]></default>
8654
  <type/>
8655
  </argument>
8656
  </method>
8657
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4062" package="Media Library Assistant">
8658
  <name>_update_iptc_exif_standard_mapping</name>
8659
  <full_name>_update_iptc_exif_standard_mapping</full_name>
8660
+ <docblock line="4052">
8661
  <description><![CDATA[Update Standard field portion of IPTC/EXIF mappings]]></description>
8662
  <long-description><![CDATA[]]></long-description>
8663
+ <tag line="4052" name="since" description="1.00"/>
8664
+ <tag line="4052" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
8665
  <type by_reference="false">array</type>
8666
  </tag>
8667
+ <tag line="4052" name="param" description="new values" type="array" variable="$new_values">
8668
  <type by_reference="false">array</type>
8669
  </tag>
8670
+ <tag line="4052" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8671
  <type by_reference="false">array</type>
8672
  </tag>
8673
  </docblock>
8674
+ <argument line="4062">
8675
  <name>$current_values</name>
8676
  <default><![CDATA[]]></default>
8677
  <type/>
8678
  </argument>
8679
+ <argument line="4062">
8680
  <name>$new_values</name>
8681
  <default><![CDATA[]]></default>
8682
  <type/>
8683
  </argument>
8684
  </method>
8685
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4155" package="Media Library Assistant">
8686
  <name>_update_iptc_exif_taxonomy_mapping</name>
8687
  <full_name>_update_iptc_exif_taxonomy_mapping</full_name>
8688
+ <docblock line="4145">
8689
  <description><![CDATA[Update Taxonomy term portion of IPTC/EXIF mappings]]></description>
8690
  <long-description><![CDATA[]]></long-description>
8691
+ <tag line="4145" name="since" description="1.00"/>
8692
+ <tag line="4145" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
8693
  <type by_reference="false">array</type>
8694
  </tag>
8695
+ <tag line="4145" name="param" description="new values" type="array" variable="$new_values">
8696
  <type by_reference="false">array</type>
8697
  </tag>
8698
+ <tag line="4145" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8699
  <type by_reference="false">array</type>
8700
  </tag>
8701
  </docblock>
8702
+ <argument line="4155">
8703
  <name>$current_values</name>
8704
  <default><![CDATA[]]></default>
8705
  <type/>
8706
  </argument>
8707
+ <argument line="4155">
8708
  <name>$new_values</name>
8709
  <default><![CDATA[]]></default>
8710
  <type/>
8711
  </argument>
8712
  </method>
8713
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4270" package="Media Library Assistant">
8714
  <name>_update_iptc_exif_custom_mapping</name>
8715
  <full_name>_update_iptc_exif_custom_mapping</full_name>
8716
+ <docblock line="4260">
8717
  <description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
8718
  <long-description><![CDATA[]]></long-description>
8719
+ <tag line="4260" name="since" description="1.00"/>
8720
+ <tag line="4260" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
8721
  <type by_reference="false">array</type>
8722
  </tag>
8723
+ <tag line="4260" name="param" description="new values" type="array" variable="$new_values">
8724
  <type by_reference="false">array</type>
8725
  </tag>
8726
+ <tag line="4260" name="return" description="( 'message' =&gt; HTML message(s) reflecting results, 'values' =&gt; updated iptc_exif_mapping values, 'changed' =&gt; true if any changes detected else false )" type="array">
8727
  <type by_reference="false">array</type>
8728
  </tag>
8729
  </docblock>
8730
+ <argument line="4270">
8731
  <name>$current_values</name>
8732
  <default><![CDATA[]]></default>
8733
  <type/>
8734
  </argument>
8735
+ <argument line="4270">
8736
  <name>$new_values</name>
8737
  <default><![CDATA[]]></default>
8738
  <type/>
8739
  </argument>
8740
  </method>
8741
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4400" package="Media Library Assistant">
8742
  <name>_get_custom_field_names</name>
8743
  <full_name>_get_custom_field_names</full_name>
8744
+ <docblock line="4390">
8745
  <description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
8746
  <long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
8747
  haven't been mapped to any attachments, yet.</p>]]></long-description>
8748
+ <tag line="4390" name="since" description="1.00"/>
8749
+ <tag line="4390" name="return" description="Custom field names from the postmeta table and MLA rules" type="array">
8750
  <type by_reference="false">array</type>
8751
  </tag>
8752
  </docblock>
8753
  </method>
8754
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4446" package="Media Library Assistant">
8755
  <name>mla_iptc_exif_option_handler</name>
8756
  <full_name>mla_iptc_exif_option_handler</full_name>
8757
+ <docblock line="4433">
8758
  <description><![CDATA[Render and manage iptc/exif support options]]></description>
8759
  <long-description><![CDATA[]]></long-description>
8760
+ <tag line="4433" name="since" description="1.00"/>
8761
+ <tag line="4433" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
8762
+ <tag line="4433" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
8763
  <type by_reference="false">string</type>
8764
  </tag>
8765
+ <tag line="4433" name="param" description="option name, e.g., 'iptc_exif_mapping'" type="string" variable="$key">
8766
  <type by_reference="false">string</type>
8767
  </tag>
8768
+ <tag line="4433" name="param" description="option parameters" type="array" variable="$value">
8769
  <type by_reference="false">array</type>
8770
  </tag>
8771
+ <tag line="4433" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
8772
  <type by_reference="false">array</type>
8773
  </tag>
8774
+ <tag line="4433" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
8775
  <type by_reference="false">string</type>
8776
  </tag>
8777
  </docblock>
8778
+ <argument line="4446">
8779
  <name>$action</name>
8780
  <default><![CDATA[]]></default>
8781
  <type/>
8782
  </argument>
8783
+ <argument line="4446">
8784
  <name>$key</name>
8785
  <default><![CDATA[]]></default>
8786
  <type/>
8787
  </argument>
8788
+ <argument line="4446">
8789
  <name>$value</name>
8790
  <default><![CDATA[]]></default>
8791
  <type/>
8792
  </argument>
8793
+ <argument line="4446">
8794
  <name>$args</name>
8795
  <default><![CDATA[null]]></default>
8796
  <type/>
9895
  </method>
9896
  </class>
9897
  </file>
9898
+ <file path="includes\class-mla-shortcodes.php" hash="bd2236d7f0889027ad092cf294dc51a3" package="Media Library Assistant">
9899
  <docblock line="2">
9900
  <description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
9901
  <long-description><![CDATA[]]></long-description>
9936
  </tag>
9937
  </docblock>
9938
  </property>
9939
+ <property final="false" static="true" visibility="private" line="2359" namespace="global" package="Media Library Assistant">
9940
  <name>$query_parameters</name>
9941
  <default><![CDATA[array()]]></default>
9942
+ <docblock line="2346">
9943
  <description><![CDATA[WP_Query filter "parameters"]]></description>
9944
  <long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
9945
  The parameters are set up in the mla_get_shortcode_attachments function, and
9946
  any further logic required to translate those values is contained in the filter.</p>
9947
 
9948
  <p>Array index values are: orderby, post_parent</p>]]></long-description>
9949
+ <tag line="2346" name="since" description="1.13"/>
9950
+ <tag line="2346" name="var" description="" type="array">
9951
  <type by_reference="false">array</type>
9952
  </tag>
9953
  </docblock>
9954
  </property>
9955
+ <property final="false" static="true" visibility="private" line="2500" namespace="global" package="Media Library Assistant">
9956
  <name>$mla_get_shortcode_attachments_parameters</name>
9957
  <default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'date_query' => '', 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 'mla_terms_phrases' => '', 'mla_terms_taxonomies' => '', 'mla_phrase_connector' => '', 'mla_term_connector' => '', 's' => '', 'mla_search_fields' => '', 'mla_search_connector' => '', 'sentence' => '', 'exact' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
9958
+ <docblock line="2493">
9959
  <description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
9960
  <long-description><![CDATA[]]></long-description>
9961
+ <tag line="2493" name="since" description="1.30"/>
9962
+ <tag line="2493" name="var" description="" type="array">
9963
  <type by_reference="false">array</type>
9964
  </tag>
9965
  </docblock>
9966
  </property>
9967
+ <property final="false" static="true" visibility="public" line="2584" namespace="global" package="Media Library Assistant">
9968
  <name>$mla_gallery_wp_query_object</name>
9969
  <default><![CDATA[NULL]]></default>
9970
+ <docblock line="2574">
9971
  <description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
9972
  <long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
9973
  "mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
9974
+ <tag line="2574" name="since" description="1.51"/>
9975
+ <tag line="2574" name="var" description="" type="object">
9976
  <type by_reference="false">object</type>
9977
  </tag>
9978
  </docblock>
9979
  </property>
9980
+ <property final="false" static="true" visibility="private" line="3477" namespace="global" package="Media Library Assistant">
9981
  <name>$mla_get_terms_parameters</name>
9982
  <default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', 'post_type' => 'attachment', 'post_status' => 'inherit', 'ids' => array(), 'fields' => 't.term_id, t.name, t.slug, t.term_group, tt.term_taxonomy_id, tt.taxonomy, tt.description, tt.parent, COUNT(p.ID) AS `count`', 'include' => '', 'exclude' => '', 'parent' => '', 'minimum' => 0, 'no_count' => false, 'number' => 0, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'pad_counts' => false, 'limit' => 0, 'offset' => 0)]]></default>
9983
+ <docblock line="3470">
9984
  <description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
9985
  <long-description><![CDATA[]]></long-description>
9986
+ <tag line="3470" name="since" description="1.60"/>
9987
+ <tag line="3470" name="var" description="" type="array">
9988
  <type by_reference="false">array</type>
9989
  </tag>
9990
  </docblock>
10063
  <type/>
10064
  </argument>
10065
  </method>
10066
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1114" package="Media Library Assistant">
10067
  <name>mla_tag_cloud</name>
10068
  <full_name>mla_tag_cloud</full_name>
10069
+ <docblock line="1102">
10070
  <description><![CDATA[The MLA Tag Cloud support function.]]></description>
10071
  <long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
10072
  options to customize the hyperlink behind each term.</p>]]></long-description>
10073
+ <tag line="1102" name="since" description="1.60"/>
10074
+ <tag line="1102" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
10075
  <type by_reference="false">array</type>
10076
  </tag>
10077
+ <tag line="1102" name="return" description="HTML content to display the tag cloud." type="string">
10078
  <type by_reference="false">string</type>
10079
  </tag>
10080
  </docblock>
10081
+ <argument line="1114">
10082
  <name>$attr</name>
10083
  <default><![CDATA[]]></default>
10084
  <type/>
10085
  </argument>
10086
  </method>
10087
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1922" package="Media Library Assistant">
10088
  <name>mla_tag_cloud_shortcode</name>
10089
  <full_name>mla_tag_cloud_shortcode</full_name>
10090
+ <docblock line="1911">
10091
  <description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
10092
  <long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
10093
+ <tag line="1911" name="since" description="1.60"/>
10094
+ <tag line="1911" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
10095
  <type by_reference="false">array</type>
10096
  </tag>
10097
+ <tag line="1911" name="return" description="HTML content to display the tag cloud." type="string">
10098
  <type by_reference="false">string</type>
10099
  </tag>
10100
  </docblock>
10101
+ <argument line="1922">
10102
  <name>$attr</name>
10103
  <default><![CDATA[]]></default>
10104
  <type/>
10105
  </argument>
10106
  </method>
10107
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1954" package="Media Library Assistant">
10108
  <name>_registered_dimensions</name>
10109
  <full_name>_registered_dimensions</full_name>
10110
+ <docblock line="1947">
10111
  <description><![CDATA[Computes image dimensions for scalable graphics, e.g., SVG]]></description>
10112
  <long-description><![CDATA[]]></long-description>
10113
+ <tag line="1947" name="since" description="1.82"/>
10114
+ <tag line="1947" name="return" description="" type="array">
10115
  <type by_reference="false">array</type>
10116
  </tag>
10117
  </docblock>
10118
  </method>
10119
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1989" package="Media Library Assistant">
10120
  <name>_process_shortcode_parameter</name>
10121
  <full_name>_process_shortcode_parameter</full_name>
10122
+ <docblock line="1979">
10123
  <description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
10124
  <long-description><![CDATA[]]></long-description>
10125
+ <tag line="1979" name="since" description="1.14"/>
10126
+ <tag line="1979" name="param" description="raw shortcode parameter, e.g., &quot;text {+field+} {brackets} \\{braces\\}&quot;" type="string" variable="$text">
10127
  <type by_reference="false">string</type>
10128
  </tag>
10129
+ <tag line="1979" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
10130
  <type by_reference="false">string</type>
10131
  </tag>
10132
+ <tag line="1979" name="return" description="parameter with brackets, braces, substitution parameters and templates processed" type="string">
10133
  <type by_reference="false">string</type>
10134
  </tag>
10135
  </docblock>
10136
+ <argument line="1989">
10137
  <name>$text</name>
10138
  <default><![CDATA[]]></default>
10139
  <type/>
10140
  </argument>
10141
+ <argument line="1989">
10142
  <name>$markup_values</name>
10143
  <default><![CDATA[]]></default>
10144
  <type/>
10145
  </argument>
10146
  </method>
10147
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2008" package="Media Library Assistant">
10148
  <name>_paginate_links</name>
10149
  <full_name>_paginate_links</full_name>
10150
+ <docblock line="1995">
10151
  <description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
10152
  <long-description><![CDATA[]]></long-description>
10153
+ <tag line="1995" name="since" description="1.42"/>
10154
+ <tag line="1995" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
10155
  <type by_reference="false">array</type>
10156
  </tag>
10157
+ <tag line="1995" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
10158
  <type by_reference="false">string</type>
10159
  </tag>
10160
+ <tag line="1995" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
10161
  <type by_reference="false">string</type>
10162
  </tag>
10163
+ <tag line="1995" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
10164
  <type by_reference="false">integer</type>
10165
  </tag>
10166
+ <tag line="1995" name="param" description="output text so far, may include debug values" type="string" variable="$output">
10167
  <type by_reference="false">string</type>
10168
  </tag>
10169
+ <tag line="1995" name="return" description="false or string with HTML for pagination output types" type="mixed">
10170
  <type by_reference="false">mixed</type>
10171
  </tag>
10172
  </docblock>
10173
+ <argument line="2008">
10174
  <name>$output_parameters</name>
10175
  <default><![CDATA[]]></default>
10176
  <type/>
10177
  </argument>
10178
+ <argument line="2008">
10179
  <name>$markup_values</name>
10180
  <default><![CDATA[]]></default>
10181
  <type/>
10182
  </argument>
10183
+ <argument line="2008">
10184
  <name>$arguments</name>
10185
  <default><![CDATA[]]></default>
10186
  <type/>
10187
  </argument>
10188
+ <argument line="2008">
10189
  <name>$found_rows</name>
10190
  <default><![CDATA[]]></default>
10191
  <type/>
10192
  </argument>
10193
+ <argument line="2008">
10194
  <name>$output</name>
10195
  <default><![CDATA['']]></default>
10196
  <type/>
10197
  </argument>
10198
  </method>
10199
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2138" package="Media Library Assistant">
10200
  <name>_process_pagination_output_types</name>
10201
  <full_name>_process_pagination_output_types</full_name>
10202
+ <docblock line="2124">
10203
  <description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
10204
  <long-description><![CDATA[]]></long-description>
10205
+ <tag line="2124" name="since" description="1.42"/>
10206
+ <tag line="2124" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
10207
  <type by_reference="false">array</type>
10208
  </tag>
10209
+ <tag line="2124" name="param" description="template substitution values, e.g., ('instance' =&gt; '1', ... )" type="string" variable="$markup_values">
10210
  <type by_reference="false">string</type>
10211
  </tag>
10212
+ <tag line="2124" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
10213
  <type by_reference="false">string</type>
10214
  </tag>
10215
+ <tag line="2124" name="param" description="raw passed shortcode parameter values" type="string" variable="$attr">
10216
  <type by_reference="false">string</type>
10217
  </tag>
10218
+ <tag line="2124" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
10219
  <type by_reference="false">integer</type>
10220
  </tag>
10221
+ <tag line="2124" name="param" description="output text so far, may include debug values" type="string" variable="$output">
10222
  <type by_reference="false">string</type>
10223
  </tag>
10224
+ <tag line="2124" name="return" description="false or string with HTML for pagination output types" type="mixed">
10225
  <type by_reference="false">mixed</type>
10226
  </tag>
10227
  </docblock>
10228
+ <argument line="2138">
10229
  <name>$output_parameters</name>
10230
  <default><![CDATA[]]></default>
10231
  <type/>
10232
  </argument>
10233
+ <argument line="2138">
10234
  <name>$markup_values</name>
10235
  <default><![CDATA[]]></default>
10236
  <type/>
10237
  </argument>
10238
+ <argument line="2138">
10239
  <name>$arguments</name>
10240
  <default><![CDATA[]]></default>
10241
  <type/>
10242
  </argument>
10243
+ <argument line="2138">
10244
  <name>$attr</name>
10245
  <default><![CDATA[]]></default>
10246
  <type/>
10247
  </argument>
10248
+ <argument line="2138">
10249
  <name>$found_rows</name>
10250
  <default><![CDATA[]]></default>
10251
  <type/>
10252
  </argument>
10253
+ <argument line="2138">
10254
  <name>$output</name>
10255
  <default><![CDATA['']]></default>
10256
  <type/>
10257
  </argument>
10258
  </method>
10259
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2370" package="Media Library Assistant">
10260
  <name>_sanitize_query_specification</name>
10261
  <full_name>_sanitize_query_specification</full_name>
10262
+ <docblock line="2361">
10263
  <description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
10264
  <long-description><![CDATA[]]></long-description>
10265
+ <tag line="2361" name="since" description="1.14"/>
10266
+ <tag line="2361" name="param" description="query specification; PHP nested arrays" type="string" variable="$specification">
10267
  <type by_reference="false">string</type>
10268
  </tag>
10269
+ <tag line="2361" name="return" description="query specification with HTML escape sequences and line breaks removed" type="string">
10270
  <type by_reference="false">string</type>
10271
  </tag>
10272
  </docblock>
10273
+ <argument line="2370">
10274
  <name>$specification</name>
10275
  <default><![CDATA[]]></default>
10276
  <type/>
10277
  </argument>
10278
  </method>
10279
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2390" package="Media Library Assistant">
10280
  <name>_validate_sql_orderby</name>
10281
  <full_name>_validate_sql_orderby</full_name>
10282
+ <docblock line="2376">
10283
  <description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
10284
  <long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
10285
  Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
10286
+ <tag line="2376" name="since" description="1.20"/>
10287
+ <tag line="2376" name="param" description="Validated query parameters; 'order', 'orderby', 'meta_key', 'post__in'." type="array" variable="$query_parameters">
10288
  <type by_reference="false">array</type>
10289
  </tag>
10290
+ <tag line="2376" name="param" description="Optional. Database table prefix; can be empty. Default taken from $wpdb-&gt;posts." type="string" variable="$table_prefix">
10291
  <type by_reference="false">string</type>
10292
  </tag>
10293
+ <tag line="2376" name="param" description="Optional. Field names (keys) and database column equivalents (values). Defaults from [mla_gallery]." type="array" variable="$allowed_keys">
10294
  <type by_reference="false">array</type>
10295
  </tag>
10296
+ <tag line="2376" name="param" description="Optional. Field names (values) that require a BINARY prefix to preserve case order. Default array()" type="array" variable="$binary_keys">
10297
  <type by_reference="false">array</type>
10298
  </tag>
10299
+ <tag line="2376" name="return" description="Returns the orderby clause if present, false otherwise." type="string|bool">
10300
  <type by_reference="false">string</type>
10301
  <type by_reference="false">bool</type>
10302
  </tag>
10303
  </docblock>
10304
+ <argument line="2390">
10305
  <name>$query_parameters</name>
10306
  <default><![CDATA[]]></default>
10307
  <type/>
10308
  </argument>
10309
+ <argument line="2390">
10310
  <name>$table_prefix</name>
10311
  <default><![CDATA[NULL]]></default>
10312
  <type/>
10313
  </argument>
10314
+ <argument line="2390">
10315
  <name>$allowed_keys</name>
10316
  <default><![CDATA[NULL]]></default>
10317
  <type/>
10318
  </argument>
10319
+ <argument line="2390">
10320
  <name>$binary_keys</name>
10321
  <default><![CDATA[array()]]></default>
10322
  <type/>
10323
  </argument>
10324
  </method>
10325
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2597" package="Media Library Assistant">
10326
  <name>mla_get_shortcode_attachments</name>
10327
  <full_name>mla_get_shortcode_attachments</full_name>
10328
+ <docblock line="2586">
10329
  <description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
10330
  <long-description><![CDATA[]]></long-description>
10331
+ <tag line="2586" name="since" description=".50"/>
10332
+ <tag line="2586" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
10333
  <type by_reference="false">int</type>
10334
  </tag>
10335
+ <tag line="2586" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
10336
  <type by_reference="false">array</type>
10337
  </tag>
10338
+ <tag line="2586" name="param" description="true to calculate and return ['found_posts'] as an array element" type="boolean" variable="$return_found_rows">
10339
  <type by_reference="false">boolean</type>
10340
  </tag>
10341
+ <tag line="2586" name="return" description="List of attachments returned from WP_Query" type="array">
10342
  <type by_reference="false">array</type>
10343
  </tag>
10344
  </docblock>
10345
+ <argument line="2597">
10346
  <name>$post_parent</name>
10347
  <default><![CDATA[]]></default>
10348
  <type/>
10349
  </argument>
10350
+ <argument line="2597">
10351
  <name>$attr</name>
10352
  <default><![CDATA[]]></default>
10353
  <type/>
10354
  </argument>
10355
+ <argument line="2597">
10356
  <name>$return_found_rows</name>
10357
  <default><![CDATA[NULL]]></default>
10358
  <type/>
10359
  </argument>
10360
  </method>
10361
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3332" package="Media Library Assistant">
10362
  <name>mla_shortcode_query_posts_join_filter</name>
10363
  <full_name>mla_shortcode_query_posts_join_filter</full_name>
10364
+ <docblock line="3321">
10365
  <description><![CDATA[Filters the JOIN clause for shortcode queries]]></description>
10366
  <long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
10367
+ <tag line="3321" name="since" description="1.90"/>
10368
+ <tag line="3321" name="param" description="query clause before modification" type="string" variable="$join_clause">
10369
  <type by_reference="false">string</type>
10370
  </tag>
10371
+ <tag line="3321" name="return" description="query clause after item modification" type="string">
10372
  <type by_reference="false">string</type>
10373
  </tag>
10374
  </docblock>
10375
+ <argument line="3332">
10376
  <name>$join_clause</name>
10377
  <default><![CDATA[]]></default>
10378
  <type/>
10379
  </argument>
10380
  </method>
10381
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3377" package="Media Library Assistant">
10382
  <name>mla_shortcode_query_posts_where_filter</name>
10383
  <full_name>mla_shortcode_query_posts_where_filter</full_name>
10384
+ <docblock line="3363">
10385
  <description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
10386
  <long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
10387
  phrase to circumvent subsequent Role Scoper modification of the clause.
10388
  Handles post_parent "any" and "none" cases.
10389
  Defined as public because it's a filter.</p>]]></long-description>
10390
+ <tag line="3363" name="since" description="0.70"/>
10391
+ <tag line="3363" name="param" description="query clause before modification" type="string" variable="$where_clause">
10392
  <type by_reference="false">string</type>
10393
  </tag>
10394
+ <tag line="3363" name="return" description="query clause after modification" type="string">
10395
  <type by_reference="false">string</type>
10396
  </tag>
10397
  </docblock>
10398
+ <argument line="3377">
10399
  <name>$where_clause</name>
10400
  <default><![CDATA[]]></default>
10401
  <type/>
10402
  </argument>
10403
  </method>
10404
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3419" package="Media Library Assistant">
10405
  <name>mla_shortcode_query_posts_orderby_filter</name>
10406
  <full_name>mla_shortcode_query_posts_orderby_filter</full_name>
10407
+ <docblock line="3407">
10408
  <description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
10409
  <long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
10410
  Defined as public because it's a filter.</p>]]></long-description>
10411
+ <tag line="3407" name="since" description="1.20"/>
10412
+ <tag line="3407" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
10413
  <type by_reference="false">string</type>
10414
  </tag>
10415
+ <tag line="3407" name="return" description="query clause after modification" type="string">
10416
  <type by_reference="false">string</type>
10417
  </tag>
10418
  </docblock>
10419
+ <argument line="3419">
10420
  <name>$orderby_clause</name>
10421
  <default><![CDATA[]]></default>
10422
  <type/>
10423
  </argument>
10424
  </method>
10425
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3446" package="Media Library Assistant">
10426
  <name>mla_shortcode_query_posts_clauses_filter</name>
10427
  <full_name>mla_shortcode_query_posts_clauses_filter</full_name>
10428
+ <docblock line="3434">
10429
  <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
10430
  <long-description><![CDATA[<p>This is for debug purposes only.
10431
  Defined as public because it's a filter.</p>]]></long-description>
10432
+ <tag line="3434" name="since" description="1.30"/>
10433
+ <tag line="3434" name="param" description="query clauses before modification" type="array" variable="$pieces">
10434
  <type by_reference="false">array</type>
10435
  </tag>
10436
+ <tag line="3434" name="return" description="query clauses after modification (none)" type="array">
10437
  <type by_reference="false">array</type>
10438
  </tag>
10439
  </docblock>
10440
+ <argument line="3446">
10441
  <name>$pieces</name>
10442
  <default><![CDATA[]]></default>
10443
  <type/>
10444
  </argument>
10445
  </method>
10446
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3464" package="Media Library Assistant">
10447
  <name>mla_shortcode_query_posts_clauses_request_filter</name>
10448
  <full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
10449
+ <docblock line="3452">
10450
  <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
10451
  <long-description><![CDATA[<p>This is for debug purposes only.
10452
  Defined as public because it's a filter.</p>]]></long-description>
10453
+ <tag line="3452" name="since" description="1.30"/>
10454
+ <tag line="3452" name="param" description="query clauses before modification" type="array" variable="$pieces">
10455
  <type by_reference="false">array</type>
10456
  </tag>
10457
+ <tag line="3452" name="return" description="query clauses after modification (none)" type="array">
10458
  <type by_reference="false">array</type>
10459
  </tag>
10460
  </docblock>
10461
+ <argument line="3464">
10462
  <name>$pieces</name>
10463
  <default><![CDATA[]]></default>
10464
  <type/>
10465
  </argument>
10466
  </method>
10467
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3554" package="Media Library Assistant">
10468
  <name>mla_get_terms</name>
10469
  <full_name>mla_get_terms</full_name>
10470
+ <docblock line="3500">
10471
  <description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
10472
  <long-description><![CDATA[<p>Alternative to WordPress /wp-includes/taxonomy.php function get_terms() that provides
10473
  an accurate count of attachments associated with each term.</p>
10513
  <p>limit - final number of term objects to return, for pagination. Default 0.</p>
10514
 
10515
  <p>offset - number of term objects to skip, for pagination. Default 0.</p>]]></long-description>
10516
+ <tag line="3500" name="since" description="1.60"/>
10517
+ <tag line="3500" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
10518
  <type by_reference="false">array</type>
10519
  </tag>
10520
+ <tag line="3500" name="return" description="array of term objects, empty if none found" type="array">
10521
  <type by_reference="false">array</type>
10522
  </tag>
10523
  </docblock>
10524
+ <argument line="3554">
10525
  <name>$attr</name>
10526
  <default><![CDATA[]]></default>
10527
  <type/>
10528
  </argument>
10529
  </method>
10530
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3892" package="Media Library Assistant">
10531
  <name>_pad_term_counts</name>
10532
  <full_name>_pad_term_counts</full_name>
10533
+ <docblock line="3878">
10534
  <description><![CDATA[Add count of children to parent count.]]></description>
10535
  <long-description><![CDATA[<p>Recalculates term counts by including items from child terms. Assumes all
10536
  relevant children are already in the $terms argument.</p>]]></long-description>
10537
+ <tag line="3878" name="since" description="1.90"/>
10538
+ <tag line="3878" name="param" description="Array of Term objects, by reference" type="array" variable="$terms">
10539
  <type by_reference="false">array</type>
10540
  </tag>
10541
+ <tag line="3878" name="param" description="Term Context" type="string" variable="$taxonomy">
10542
  <type by_reference="false">string</type>
10543
  </tag>
10544
+ <tag line="3878" name="param" description="Qualifying post type value(s)" type="array" variable="$post_types">
10545
  <type by_reference="false">array</type>
10546
  </tag>
10547
+ <tag line="3878" name="param" description="Qualifying post status value(s)" type="array" variable="$post_stati">
10548
  <type by_reference="false">array</type>
10549
  </tag>
10550
+ <tag line="3878" name="return" description="Will break from function if conditions are not met." type="null">
10551
  <type by_reference="false">null</type>
10552
  </tag>
10553
  </docblock>
10554
+ <argument line="3892">
10555
  <name>$terms</name>
10556
  <default><![CDATA[]]></default>
10557
  <type/>
10558
  </argument>
10559
+ <argument line="3892">
10560
  <name>$taxonomy</name>
10561
  <default><![CDATA[]]></default>
10562
  <type/>
10563
  </argument>
10564
+ <argument line="3892">
10565
  <name>$post_types</name>
10566
  <default><![CDATA[NULL]]></default>
10567
  <type/>
10568
  </argument>
10569
+ <argument line="3892">
10570
  <name>$post_stati</name>
10571
  <default><![CDATA[NULL]]></default>
10572
  <type/>
12284
  </docblock>
12285
  </function>
12286
  </file>
12287
+ <file path="index.php" hash="c72a37a8538e14a9ac0f1d0c1484f5bd" package="Media Library Assistant">
12288
  <docblock line="2">
12289
  <description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
12290
  <long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
12291
  will the rest of the plugin be loaded and run.</p>]]></long-description>
12292
  <tag line="2" name="package" description="Media Library Assistant"/>
12293
+ <tag line="2" name="version" description="2.01"/>
12294
  </docblock>
12295
  <include line="150" type="Require Once" package="Media Library Assistant">
12296
  <name>includes/mla-plugin-loader.php</name>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://fairtradejudaica.org/make-a-difference/donate/
4
  Tags: attachment, attachments, documents, gallery, image, images, media, library, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, GPS, PDF, meta, metadata, photo, photos, photograph, photographs, photoblog, photo albums, lightroom, photoshop, MIME, mime-type, icon, upload, file extensions
5
  Requires at least: 3.5.0
6
  Tested up to: 4.1
7
- Stable tag: 2.00
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -151,6 +151,20 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
151
  9. The Media Manager popup modal window showing additional filters for date and taxonomy terms. Also shows the enhanced Search Media box and the full-function taxonomy support in the ATTACHMENT DETAILS area.
152
 
153
  == Changelog ==
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  = 2.00 =
155
  * New: **Requires WordPress v3.5 or greater.**
156
  * New: **Enhanced Keyword(s) Search and Taxonomy term keyword(s) search for the `[mla_gallery]` shortcode**. See the [Other Notes section](http://wordpress.org/extend/plugins/media-library-assistant/other_notes/ "Click here, then scroll down") section or the Settings/Media Library Assistant Documentation tab for more information.
@@ -225,8 +239,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
225
 
226
  == Upgrade Notice ==
227
 
228
- = 2.00 =
229
- Requires WP v3.5+. Ajax-powered bulk edit and mapping, front-end "terms search" for [mla_gallery]. Five other enhancements, two fixes.
230
 
231
  == Other Notes ==
232
 
4
  Tags: attachment, attachments, documents, gallery, image, images, media, library, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, GPS, PDF, meta, metadata, photo, photos, photograph, photographs, photoblog, photo albums, lightroom, photoshop, MIME, mime-type, icon, upload, file extensions
5
  Requires at least: 3.5.0
6
  Tested up to: 4.1
7
+ Stable tag: 2.01
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
151
  9. The Media Manager popup modal window showing additional filters for date and taxonomy terms. Also shows the enhanced Search Media box and the full-function taxonomy support in the ATTACHMENT DETAILS area.
152
 
153
  == Changelog ==
154
+
155
+ = 2.01 =
156
+ * New: For **IPTC/EXIF mapping of taxonomy terms, significant performance improvements.** Explicit handling of special cases and new caching code for "map all" processing eliminates unnecessary database queries.
157
+ * New: For the Media/Assistant submenu, the **"where-used" displays have improved**. The post status (Draft, Pending, Future) is now included (it is also included in the "Parent Info" meta box on the Media/Edit Media screen). The parent post/page is moved to the top of the references list. The "Inserted in" file name is no longer displayed for the "base" option to save space.
158
+ * New: For `[mla_gallery]` and `[mla_tag_cloud]`, several new **galley-/cloud- substitution values** have been added. You can use these, for example, to add page-level information like Title or Date to data selection parameters.
159
+ * New: An example of Media/Assistant submenu support for Advanced Custom Fields Checkbox variables is provided at `/media-library-assistant/examples/mla-acf-checkbox-example.txt`
160
+ * New: An example of mapping PDF metadata to Standard Fields and Taxonomy Terms has been added to the "IPTC/EXIF Mapping for PDF Documents" section of the Settings/Media Library Assistant Documentation tab.
161
+ * Fix: For `[mla_gallery]`, the **Google File Viewer parameter (mla_viewer) has been disabled**. Recent changes by Google, beyond MLA control, have removed support for this feature.
162
+ * Fix: Where-used reference information is no longer computed during file uploads, improving performance.
163
+ * Fix: For the Media/Assistant submenu Bulk Edit area, updates to the "Categories" taxonomy are now handled correctly.
164
+ * Fix: For `[mla_gallery]`, a defect in the default handling of the `post_parent` parameter has been fixed. The defect was introduced in version 2.00.
165
+ * Fix: For `[mla_gallery]`, a defect in the handling of the `exact=true` parameter has been fixed.
166
+ * Fix: For the "Select Parent" popup window, a defect in handling invalid post_status values has been fixed.
167
+
168
  = 2.00 =
169
  * New: **Requires WordPress v3.5 or greater.**
170
  * New: **Enhanced Keyword(s) Search and Taxonomy term keyword(s) search for the `[mla_gallery]` shortcode**. See the [Other Notes section](http://wordpress.org/extend/plugins/media-library-assistant/other_notes/ "Click here, then scroll down") section or the Settings/Media Library Assistant Documentation tab for more information.
239
 
240
  == Upgrade Notice ==
241
 
242
+ = 2.01 =
243
+ Google File Viewer (mla_viewer) disabled. IPTC/EXIF mapping performance gains. Four other enhancements, five fixes.
244
 
245
  == Other Notes ==
246
 
tpls/documentation-settings-tab.tpl CHANGED
@@ -3,6 +3,8 @@
3
  <h3>Plugin and Shortcode Documentation. In this tab, jump to:</h3>
4
  <div style="float:left; margin-right: 15px;"><a href="#mla_gallery"><strong>MLA Gallery Shortcode</strong></a>
5
  <ul style="list-style-position:inside; list-style:disc; line-height: 15px; padding-left: 20px">
 
 
6
  <li><a href="#gallery_display_style">Gallery Display Style</a></li>
7
  <li><a href="#gallery_display_content">Gallery Display Content</a></li>
8
  <li><a href="#google_file_viewer_support">Google File Viewer Support</a></li>
@@ -151,7 +153,120 @@ The <code>[mla_gallery]</code> shortcode is used in a post, page or custom post
151
  <h4>Option/Parameter Documentation Sources</h4>
152
  <p>
153
  All of the options/parameters documented for the <code>[gallery]</code> shortcode are supported by the <code>[mla_gallery]</code> shortcode; you can find them in the <a href="http://codex.wordpress.org/Gallery_Shortcode" title="WordPress Codex link" target="_blank">WordPress Codex</a>. Most of the parameters documented for the WP_Query class are also supported; see the <a href="http://codex.wordpress.org/Class_Reference/WP_Query" title="WordPress Codex link" target="_blank">Codex WP_Query class reference</a>. Because the <code>[mla_gallery]</code> shortcode is designed to work with Media Library items, there are some parameter differences and extensions; these are documented below.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  <a name="gallery_display_style"></a>
 
155
  </p>
156
  <h4>Gallery Display Style</h4>
157
  <p>
@@ -278,7 +393,7 @@ Twelve <code>[mla_gallery]</code> parameters provide an easy way to control the
278
  <tr>
279
  </table>
280
  <p>
281
- All but the "mla_target" parameter support the <a href="#mla_markup_parameters">Markup</a>, <a href="#mla_attachment_parameters">Attachment-specific</a>, <a href="#mla_variable_parameters">Field-level</a> and <a href="#mla_template_parameters">Content Template</a> substitution arguments defined for Markup Templates. For example, if you code "<code>mla_rollover_text='{+date+} : {+description+}'</code>, the rollover text will contain the upload date, a colon, and the full description of each gallery item. Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the WordPress shortcode parser reserves square brackets ("[" and "]") for its own use.
282
  </p>
283
  <p>
284
  The "mla_link_href" parameter is a great way to change the destination your gallery item links to or add arguments to the link for later processing. For example, to make a gallery item link back to the page/post it is attached to, you can code: <code>mla_link_href='{+site_url+}/?page_id={+parent+}'</code>. You can also add arguments to the link, e.g., <code>mla_link_href='{+link_url+}?myarg1=myvalue1&amp;amp;myarg2=myvalue2'</code>. Note the use of the HTML entity name "&amp;amp;" to put an ampersand in the value; the WordPress "visual" post editor will replace "&", "<" and ">" with "&amp;amp;", "&amp;lt;" and "&amp;gt;" whether you like it not. The <strong>only</strong> markup parameter modified by this parameter is "link". Other markup parameters such as "pagelink", "filelink" and "link_url" are not modified.
@@ -1066,7 +1181,7 @@ Eight parameters provide an easy way to control the contents of tag cloud items
1066
  <tr>
1067
  </table>
1068
  <p>
1069
- All but the "mla_target" parameter support the <a href="#tag_cloud_markup_parameters">Markup</a>, <a href="#tag_cloud_item_parameters">Item-specific</a>, <a href="#tag_cloud_variable_parameters">Field-level</a> and <a href="#mla_template_parameters">Content Template</a> substitution arguments defined for Markup Templates. For example, if you code "<code>mla_rollover_text='{+slug+} : {+rollover_text+}'</code>, the rollover text will contain the term slug, a colon, and the appropriate "single text" or "multiple text". Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the WordPress shortcode parser reserves square brackets ("[" and "]") for its own use.
1070
  </p>
1071
  <p>
1072
  The "mla_link_href" parameter is a great way to change the destination your cloud item links to and/or add arguments to the link for later processing. For example, to make a gallery item link back to the current page/post you can code: <code>mla_link_href='{+page_url+}'</code>. You can also add arguments to the link, e.g., <code>mla_link_href='{+page_url+}&amp;amp;myarg=myvalue'</code>. Note the use of the HTML entity name "&amp;amp;" to put an ampersand in the value; the WordPress "visual" post editor will replace "&", "<" and ">" with "&amp;amp;", "&amp;lt;" and "&amp;gt;" whether you like it not. The <strong>only</strong> markup parameters modified by this parameter are "link_url" and "thelink". The markup parameters "viewlink" and "editlink" are not modified.
@@ -1172,6 +1287,113 @@ The "mla_debug" parameter controls the display of information about the query pa
1172
  </p>
1173
  <h4>Tag Cloud Substitution Parameters</h4>
1174
  <p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1175
  Style and Markup templates give you great flexibility for the content and format of each [mla_tag_cloud] when you use the "list" and "grid" output formats. You can define as many templates as you need.
1176
  </p>
1177
  <p>
@@ -1208,10 +1430,6 @@ Tag cloud substitution parameters for the <strong>Style template</strong> are:
1208
  <td>shortcode parameter, default = 'tag-cloud-ul', or 'tag-cloud-dl' if the "captiontag" parameter is present.</td>
1209
  </tr>
1210
  <tr>
1211
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
1212
- <td>starts at '1', incremented for each additional shortcode in the post/page</td>
1213
- </tr>
1214
- <tr>
1215
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">taxonomy</td>
1216
  <td>the slug of the taxonomy on which the cloud is based. Multiple taxonomy slugs are joined with a dash to form a single value.</td>
1217
  </tr>
@@ -1248,10 +1466,6 @@ Tag cloud substitution parameters for the <strong>Style template</strong> are:
1248
  <td>'right' if current locale is RTL, 'left' if not</td>
1249
  </tr>
1250
  <tr>
1251
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">selector</td>
1252
- <td>"mla_gallery-{$instance}", e.g., mla_gallery-1</td>
1253
- </tr>
1254
- <tr>
1255
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">found_rows</td>
1256
  <td>the number of terms retrieved for the cloud</td>
1257
  </tr>
@@ -1317,22 +1531,8 @@ Tag cloud substitution parameters for the <strong>Style template</strong> are:
1317
  </tr>
1318
  </table>
1319
  <p>
1320
- Tag cloud substitution parameters for the <strong>Markup template</strong> are available in all of the template sections. They include all of the parameters defined above (for the Style template). Additional markup-specific parameters are:
1321
  </p>
1322
- <table>
1323
- <tr>
1324
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">site_url</td>
1325
- <td>absolute URL to the site directory, without trailing slash</td>
1326
- </tr>
1327
- <tr>
1328
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_ID</td>
1329
- <td>the ID value of the page or post on which the tag cloud appears, if any.</td>
1330
- </tr>
1331
- <tr>
1332
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_url</td>
1333
- <td>absolute URL to the page or post on which the tag cloud appears, if any, with trailing slash</td>
1334
- </tr>
1335
- </table>
1336
  <p>
1337
  Tag cloud <strong>item-specific substitution parameters</strong> for the Markup template are available in the "Item" section of the template. They include all of the parameters defined above (for the Style and Markup templates) Additional item-specific parameters are:
1338
  </p>
@@ -1523,14 +1723,14 @@ The "limit=10" parameter (on <strong>both</strong> shortcodes) limits the term d
1523
  <p>Now we'll make the cloud a convenient way to control a term-specific <code>[mla_gallery]</code>. The next step uses the "mla_link_href" parameter to change the link destination of each cloud term, returning to the current page with the term id of the selected term. We also add the "mla_cloud_current" parameter to each of these new links, so the tag cloud page is retained when a term is selected:
1524
  </p>
1525
  <p>
1526
- <code>[mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_link_href="{+page_url+}?current_id={+term_id+}&amp;amp;mla_cloud_current={+request:mla_cloud_current+}]<br />
1527
  [mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_output="paginate_links,prev_next"]</code>
1528
  </p>
1529
  <p>
1530
  The "&amp;amp;" before the "mla_cloud_current" parameter is required to get by the WordPress Visual Editor. The "{+request:mla_cloud_current+}" value copies the current page number from the URL ($_REQUEST array) and adds it to each term's link. Now, let's use the "current_id={+term_id+}" information in the link to compose a term-specific <code>[mla_gallery]</code>:
1531
  </p>
1532
  <p>
1533
- <code>[mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_link_href="{+page_url+}?current_id={+term_id+}&amp;amp;mla_cloud_current={+request:mla_cloud_current+}]<br />
1534
  [mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_output="paginate_links,prev_next"]
1535
  <br />&nbsp;<br />
1536
  [mla_gallery post_mime_type=all tax_query="array ( 0 => array ( 'taxonomy' => 'attachment_category', 'field' => 'id', 'terms' => array( {+request:current_id+} ), 'include_children' => false ) )" mla_caption="{+title+}" columns=5 size=icon link=file]</code>
@@ -1542,7 +1742,7 @@ The most complicated part of the new shortcode is the "tax_query" parameter, whi
1542
  We can easily paginate the term-specific gallery by adding a second <code>[mla_gallery]</code> shortcode and a "posts_per_page" parameter to both shortcodes:
1543
  </p>
1544
  <p>
1545
- <code>[mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_link_href="{+page_url+}?current_id={+term_id+}&amp;amp;mla_cloud_current={+request:mla_cloud_current+}]<br />
1546
  [mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_output="paginate_links,prev_next"]
1547
  <br />&nbsp;<br />
1548
  [mla_gallery post_mime_type=all tax_query="array ( 0 => array ( 'taxonomy' => 'attachment_category', 'field' => 'id', 'terms' => array( {+request:current_id+} ), 'include_children' => false ) )" mla_caption="{+title+}" columns=5 posts_per_page=5 size=icon link=file]
@@ -2035,6 +2235,7 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
2035
  <a href="#backtotop">Go to Top</a>
2036
  </p>
2037
  <h4>Substitution parameters for style templates</h4>
 
2038
  <table>
2039
  <tr>
2040
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_style</td>
@@ -2045,14 +2246,6 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
2045
  <td>shortcode parameter, default = 'default'</td>
2046
  </tr>
2047
  <tr>
2048
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
2049
- <td>starts at '1', incremented for each additional shortcode in the post/page</td>
2050
- </tr>
2051
- <tr>
2052
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">id</td>
2053
- <td>post ID of the post/page in which the gallery appears</td>
2054
- </tr>
2055
- <tr>
2056
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemtag</td>
2057
  <td>shortcode parameter, default = 'dl', or 'figure' for HTML5 themes</td>
2058
  </tr>
@@ -2081,10 +2274,6 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
2081
  <td>'right' if current locale is RTL, 'left' if not</td>
2082
  </tr>
2083
  <tr>
2084
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">selector</td>
2085
- <td>"mla_gallery-{$instance}", e.g., mla_gallery-1</td>
2086
- </tr>
2087
- <tr>
2088
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">size_class</td>
2089
  <td>shortcode 'size' parameter, default = 'thumbnail'</td>
2090
  </tr>
@@ -2095,82 +2284,10 @@ In a template, substitution parameters are surrounded by opening ('[+') and clos
2095
  <a href="#backtotop">Go to Top</a>
2096
  </p>
2097
  <h4>Substitution parameters for markup templates</h4>
2098
- <table>
2099
- <tr>
2100
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_style</td>
2101
- <td>shortcode parameter, default = 'default'</td>
2102
- </tr>
2103
- <tr>
2104
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_markup</td>
2105
- <td>shortcode parameter, default = 'default'</td>
2106
- </tr>
2107
- <tr>
2108
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
2109
- <td>starts at '1', incremented for each additional shortcode in the post/page</td>
2110
- </tr>
2111
- <tr>
2112
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">id</td>
2113
- <td>post_ID of the post/page in which the gallery appears</td>
2114
- </tr>
2115
- <tr>
2116
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemtag</td>
2117
- <td>shortcode parameter, default = 'dl', or 'figure' for HTML5 themes</td>
2118
- </tr>
2119
- <tr>
2120
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">icontag</td>
2121
- <td>shortcode parameter, default = 'dt', or 'div' for HTML5 themes</td>
2122
- </tr>
2123
- <tr>
2124
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">captiontag</td>
2125
- <td>shortcode parameter, default = 'dd', or 'figcaption' for HTML5 themes</td>
2126
- </tr>
2127
- <tr>
2128
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">columns</td>
2129
- <td>shortcode parameter, default = '3'</td>
2130
- </tr>
2131
- <tr>
2132
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemwidth</td>
2133
- <td>shortcode parameter, default is calculated by dividing 100% by the number of columns and subtracting twice the margin value, e.g., 30.3% for three columns and a margin value of 1.5%. Can also contain other dimensional values such as '10px' or CSS-specific values like 'auto' or 'inherit'.</td>
2134
- </tr>
2135
- <tr>
2136
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">margin</td>
2137
- <td>shortcode parameter, default = '1.5%'. Can also contain other dimensional values such as '10px' or CSS-specific values like 'auto' or 'inherit'.</td>
2138
- </tr>
2139
- <tr>
2140
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">float</td>
2141
- <td>'right' if current locale is RTL, 'left' if not</td>
2142
- </tr>
2143
- <tr>
2144
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">selector</td>
2145
- <td>"mla_gallery-{$instance}", e.g., mla_gallery-1</td>
2146
- </tr>
2147
- <tr>
2148
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">size_class</td>
2149
- <td>shortcode 'size' parameter, default = "thumbnail". If this parameter contains "none" or an empty string (size="") the attachment title will be displayed instead of the image/icon.</td>
2150
- </tr>
2151
- <tr>
2152
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">site_url</td>
2153
- <td>absolute URL to the site directory, without trailing slash</td>
2154
- </tr>
2155
- <tr>
2156
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_ID</td>
2157
- <td>the ID value of the page or post on which the gallery appears, if any.</td>
2158
- </tr>
2159
- <tr>
2160
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_url</td>
2161
- <td>absolute URL to the page or post on which the gallery appears, if any, with trailing slash</td>
2162
- </tr>
2163
- <tr>
2164
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">base_url</td>
2165
- <td>absolute URL to the upload directory, without trailing slash</td>
2166
- </tr>
2167
- <tr>
2168
- <td style="padding-right: 10px; vertical-align: top; font-weight:bold">base_dir</td>
2169
- <td>absolute (full) path to the upload directory, without trailing slash</td>
2170
- </tr>
2171
- </table>
2172
  <a name="mla_attachment_parameters"></a>
2173
- &nbsp;
2174
  <p>
2175
  <a href="#backtotop">Go to Top</a>
2176
  </p>
3
  <h3>Plugin and Shortcode Documentation. In this tab, jump to:</h3>
4
  <div style="float:left; margin-right: 15px;"><a href="#mla_gallery"><strong>MLA Gallery Shortcode</strong></a>
5
  <ul style="list-style-position:inside; list-style:disc; line-height: 15px; padding-left: 20px">
6
+ <li><a href="#gallery_substitution">Substitution Parameters</a></li>
7
+ <li><a href="#gallery_specific">Gallery-specific Substitution Parameters</a></li>
8
  <li><a href="#gallery_display_style">Gallery Display Style</a></li>
9
  <li><a href="#gallery_display_content">Gallery Display Content</a></li>
10
  <li><a href="#google_file_viewer_support">Google File Viewer Support</a></li>
153
  <h4>Option/Parameter Documentation Sources</h4>
154
  <p>
155
  All of the options/parameters documented for the <code>[gallery]</code> shortcode are supported by the <code>[mla_gallery]</code> shortcode; you can find them in the <a href="http://codex.wordpress.org/Gallery_Shortcode" title="WordPress Codex link" target="_blank">WordPress Codex</a>. Most of the parameters documented for the WP_Query class are also supported; see the <a href="http://codex.wordpress.org/Class_Reference/WP_Query" title="WordPress Codex link" target="_blank">Codex WP_Query class reference</a>. Because the <code>[mla_gallery]</code> shortcode is designed to work with Media Library items, there are some parameter differences and extensions; these are documented below.
156
+ <a name="gallery_substitution"></a>
157
+ </p>
158
+ <h4>Substitution Parameters</h4>
159
+ <p>
160
+ Substitution parameters are a powerful way to add general and attachment-specific values to the cloud display. For example, if you code "<code>mla_rollover_text='{+date+} : {+description+}'</code>, the rollover text will contain the upload date, a colon, and the full description of each gallery item. There are dozens of parameter names like `date` and `description` divided in several categories:
161
+ <table>
162
+ <tr>
163
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#gallery_specific">Gallery-specific</a></td>
164
+ <td>values that are known at the beginning of shortcode processing and remain the same for the entire shortcode, such as the ID and URL of the post/page in which the shortcode appears</td>
165
+ </tr>
166
+ <tr>
167
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_style_parameters">Style</a></td>
168
+ <td>values that are known when the gallery-specific CSS inline styles are composed just before gallery output begins</td>
169
+ </tr>
170
+ <tr>
171
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_markup_parameters">Markup</a></td>
172
+ <td>values that are known at the beginning of gallery output processing and remain the same for the entire gallery</td>
173
+ </tr>
174
+ <tr>
175
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_attachment_parameters">Attachment-specific</a></td>
176
+ <td style="vertical-align: top">values that change for each item in the gallery, such as Title and Caption</td>
177
+ </tr>
178
+ <tr>
179
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_variable_parameters">Field-level</a></td>
180
+ <td>additional values from sources like query arguments, custom fields, taxonomy terms and attachment metadata</td>
181
+ </tr>
182
+ <tr>
183
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_template_parameters">Content Template</a></td>
184
+ <td>lets you compose a value from multiple substitution parameters and test for empty values, choose among two or more alternatives or suppress output entirely</td>
185
+ </tr>
186
+ </table>
187
+ &nbsp;<br />
188
+ Click on any of the category names in the above table to go to the Documentation section describing the names available in that category and how to use them.
189
+ </p>
190
+ <p>
191
+ To use a substitution parameter in your shortcode, simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in Style and Markup templates, since the WordPress shortcode parser reserves square brackets ("[" and "]") for its own use. Also, because square brackets are reserved, <strong>you must substitute curly braces for square brackets</strong> if your parameter values require them. For example, if your shortcode parameter is <code>mla_link_attributes='rel="shadowbox{sbalbum-{+instance+}};player=img"'</code>, the actual attribute added to the link will be <code>rel="shadowbox[sbalbum-1];player=img"</code>. If you must code a curly brace in a parameter value, preface it with <strong>two backslash characters</strong>, e.g., "\\{" or "\\}".
192
+ <a name="gallery_specific"></a>
193
+ </p>
194
+ <h4>Gallery-specific Substitution Parameters</h4>
195
+ <p>
196
+ Gallery-specific substitution parameters are known at the beginning of shortcode processing and they do not change during processing. They can be used, for example, in any of the data selection parameters to change the items selected for the gallery based on information about the post/page on which the gallery appears. The gallery-specific substitution parameters are:
197
+ <table>
198
+ <tr>
199
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">site_url</td>
200
+ <td>absolute URL to the site directory, without trailing slash</td>
201
+ </tr>
202
+ <tr>
203
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">base_url</td>
204
+ <td>absolute URL to the upload directory, without trailing slash</td>
205
+ </tr>
206
+ <tr>
207
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">base_dir</td>
208
+ <td>absolute (full) path to the upload directory, without trailing slash</td>
209
+ </tr>
210
+ <tr>
211
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
212
+ <td>starts at '1', incremented for each additional shortcode in the post/page</td>
213
+ </tr>
214
+ <tr>
215
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">selector</td>
216
+ <td>"mla_gallery-{$instance}", e.g., mla_gallery-1</td>
217
+ </tr>
218
+ <tr>
219
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_ID,<br />id</td>
220
+ <td style="vertical-align: top">the <code>ID</code> value of the post/page in which the gallery appears</td>
221
+ </tr>
222
+ <tr>
223
+ <tr>
224
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_author</td>
225
+ <td>the <code>post_author</code> value of the post/page in which the gallery appears</td>
226
+ </tr>
227
+ <tr>
228
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_date</td>
229
+ <td>the <code>post_date</code> value of the post/page in which the gallery appears</td>
230
+ </tr>
231
+ <tr>
232
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_content</td>
233
+ <td>the <code>post_content</code> value of the post/page in which the gallery appears</td>
234
+ </tr>
235
+ <tr>
236
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_title</td>
237
+ <td>the <code>post_title</code> value of the post/page in which the gallery appears</td>
238
+ </tr>
239
+ <tr>
240
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_excerpt</td>
241
+ <td>the <code>post_excerpt</code> value of the post/page in which the gallery appears</td>
242
+ </tr>
243
+ <tr>
244
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_status</td>
245
+ <td>the <code>post_status</code> value of the post/page in which the gallery appears</td>
246
+ </tr>
247
+ <tr>
248
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_name</td>
249
+ <td>the <code>post_name</code> value of the post/page in which the gallery appears</td>
250
+ </tr>
251
+ <tr>
252
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_modified</td>
253
+ <td>the <code>post_modified</code> value of the post/page in which the gallery appears</td>
254
+ </tr>
255
+ <tr>
256
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_guid</td>
257
+ <td>the <code>post_guid</code> value of the post/page in which the gallery appears</td>
258
+ </tr>
259
+ <tr>
260
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_type</td>
261
+ <td>the <code>post_type</code> value of the post/page in which the gallery appears</td>
262
+ </tr>
263
+ <tr>
264
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_url</td>
265
+ <td>absolute URL to the page or post on which the gallery appears, if any, with trailing slash</td>
266
+ </tr>
267
+ </table>
268
  <a name="gallery_display_style"></a>
269
+ &nbsp;<br />
270
  </p>
271
  <h4>Gallery Display Style</h4>
272
  <p>
393
  <tr>
394
  </table>
395
  <p>
396
+ All but the "mla_target" parameter support the <a href="#mla_markup_parameters">Markup</a>, <a href="#mla_attachment_parameters">Attachment-specific</a>, <a href="#mla_variable_parameters">Field-level</a> and <a href="#mla_template_parameters">Content Template</a> substitution parameters defined for Markup Templates. For example, if you code "<code>mla_rollover_text='{+date+} : {+description+}'</code>, the rollover text will contain the upload date, a colon, and the full description of each gallery item. Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the WordPress shortcode parser reserves square brackets ("[" and "]") for its own use.
397
  </p>
398
  <p>
399
  The "mla_link_href" parameter is a great way to change the destination your gallery item links to or add arguments to the link for later processing. For example, to make a gallery item link back to the page/post it is attached to, you can code: <code>mla_link_href='{+site_url+}/?page_id={+parent+}'</code>. You can also add arguments to the link, e.g., <code>mla_link_href='{+link_url+}?myarg1=myvalue1&amp;amp;myarg2=myvalue2'</code>. Note the use of the HTML entity name "&amp;amp;" to put an ampersand in the value; the WordPress "visual" post editor will replace "&", "<" and ">" with "&amp;amp;", "&amp;lt;" and "&amp;gt;" whether you like it not. The <strong>only</strong> markup parameter modified by this parameter is "link". Other markup parameters such as "pagelink", "filelink" and "link_url" are not modified.
1181
  <tr>
1182
  </table>
1183
  <p>
1184
+ All but the "mla_target" parameter support the <a href="#tag_cloud_markup_parameters">Markup</a>, <a href="#tag_cloud_item_parameters">Item-specific</a>, <a href="#tag_cloud_variable_parameters">Field-level</a> and <a href="#mla_template_parameters">Content Template</a> substitution parameters defined for Markup Templates. For example, if you code "<code>mla_rollover_text='{+slug+} : {+rollover_text+}'</code>, the rollover text will contain the term slug, a colon, and the appropriate "single text" or "multiple text". Simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in the templates, since the WordPress shortcode parser reserves square brackets ("[" and "]") for its own use.
1185
  </p>
1186
  <p>
1187
  The "mla_link_href" parameter is a great way to change the destination your cloud item links to and/or add arguments to the link for later processing. For example, to make a gallery item link back to the current page/post you can code: <code>mla_link_href='{+page_url+}'</code>. You can also add arguments to the link, e.g., <code>mla_link_href='{+page_url+}&amp;amp;myarg=myvalue'</code>. Note the use of the HTML entity name "&amp;amp;" to put an ampersand in the value; the WordPress "visual" post editor will replace "&", "<" and ">" with "&amp;amp;", "&amp;lt;" and "&amp;gt;" whether you like it not. The <strong>only</strong> markup parameters modified by this parameter are "link_url" and "thelink". The markup parameters "viewlink" and "editlink" are not modified.
1287
  </p>
1288
  <h4>Tag Cloud Substitution Parameters</h4>
1289
  <p>
1290
+ Substitution parameters are a powerful way to add general and attachment-specific values to the gallery display. For example, if you code "<code>mla_link_href="{+page_url+}?current_id={+term_id+}&amp;mla_cloud_current={+request:mla_cloud_current+}"</code>, the hyperlinks behind each cloud term will contain the page URL and the taxonomy term ID. There are many parameter names like `page_url` and `term_id` divided in several categories:
1291
+ <table>
1292
+ <tr>
1293
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Cloud-specific</td>
1294
+ <td>values that are known at the beginning of shortcode processing and remain the same for the entire shortcode, such as the ID and URL of the post/page in which the shortcode appears</td>
1295
+ </tr>
1296
+ <tr>
1297
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Style</td>
1298
+ <td>values that are known when the cloud-specific CSS inline styles are composed just before cloud output begins</td>
1299
+ </tr>
1300
+ <tr>
1301
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Markup</td>
1302
+ <td>values that are known at the beginning of cloud output processing and remain the same for the entire cloud</td>
1303
+ </tr>
1304
+ <tr>
1305
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">Item-specific</a></td>
1306
+ <td style="vertical-align: top">values that change for each term/item in the cloud, such as Name and Description</td>
1307
+ </tr>
1308
+ <tr>
1309
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_variable_parameters">Field-level</a></td>
1310
+ <td>additional values from sources like query arguments and shortcode parameters</td>
1311
+ </tr>
1312
+ <tr>
1313
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold"><a href="#mla_template_parameters">Content Template</a></td>
1314
+ <td>lets you compose a value from multiple substitution parameters and test for empty values, choose among two or more alternatives or suppress output entirely</td>
1315
+ </tr>
1316
+ </table>
1317
+ &nbsp;<br />
1318
+ The following paragraphs go into more detail about each category and the parameter names within them.
1319
+ </p>
1320
+ <p>
1321
+ To use a substitution parameter in your shortcode, simply add "{+" before the substitution parameter name and add "+}" after the name. Note that the enclosing delimiters are different than those used in Style and Markup templates, since the WordPress shortcode parser reserves square brackets ("[" and "]") for its own use. Also, because square brackets are reserved, <strong>you must substitute curly braces for square brackets</strong> if your parameter values require them. For example, if your shortcode parameter is <code>mla_link_attributes='rel="shadowbox{sbalbum-{+instance+}};player=img"'</code>, the actual attribute added to the link will be <code>rel="shadowbox[sbalbum-1];player=img"</code>. If you must code a curly brace in a parameter value, preface it with <strong>two backslash characters</strong>, e.g., "\\{" or "\\}".
1322
+ </p>
1323
+ <p>
1324
+ <strong>Cloud-specific substitution parameters</strong> are known at the beginning of shortcode processing and they do not change during processing. They can be used, for example, in any of the data selection parameters to change the items selected for the cloud based on information about the post/page on which the cloud appears. The cloud-specific substitution parameters are:
1325
+ <table>
1326
+ <tr>
1327
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">site_url</td>
1328
+ <td>absolute URL to the site directory, without trailing slash</td>
1329
+ </tr>
1330
+ <tr>
1331
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">base_url</td>
1332
+ <td>absolute URL to the upload directory, without trailing slash</td>
1333
+ </tr>
1334
+ <tr>
1335
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">base_dir</td>
1336
+ <td>absolute (full) path to the upload directory, without trailing slash</td>
1337
+ </tr>
1338
+ <tr>
1339
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">instance</td>
1340
+ <td>starts at '1', incremented for each additional shortcode in the post/page</td>
1341
+ </tr>
1342
+ <tr>
1343
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">selector</td>
1344
+ <td>"mla_tag_cloud-{$instance}", e.g., mla_tag_cloud-1</td>
1345
+ </tr>
1346
+ <tr>
1347
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_ID,<br />id</td>
1348
+ <td style="vertical-align: top">the <code>ID</code> value of the post/page in which the cloud appears</td>
1349
+ </tr>
1350
+ <tr>
1351
+ <tr>
1352
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_author</td>
1353
+ <td>the <code>post_author</code> value of the post/page in which the cloud appears</td>
1354
+ </tr>
1355
+ <tr>
1356
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_date</td>
1357
+ <td>the <code>post_date</code> value of the post/page in which the cloud appears</td>
1358
+ </tr>
1359
+ <tr>
1360
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_content</td>
1361
+ <td>the <code>post_content</code> value of the post/page in which the cloud appears</td>
1362
+ </tr>
1363
+ <tr>
1364
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_title</td>
1365
+ <td>the <code>post_title</code> value of the post/page in which the cloud appears</td>
1366
+ </tr>
1367
+ <tr>
1368
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_excerpt</td>
1369
+ <td>the <code>post_excerpt</code> value of the post/page in which the cloud appears</td>
1370
+ </tr>
1371
+ <tr>
1372
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_status</td>
1373
+ <td>the <code>post_status</code> value of the post/page in which the cloud appears</td>
1374
+ </tr>
1375
+ <tr>
1376
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_name</td>
1377
+ <td>the <code>post_name</code> value of the post/page in which the cloud appears</td>
1378
+ </tr>
1379
+ <tr>
1380
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_modified</td>
1381
+ <td>the <code>post_modified</code> value of the post/page in which the cloud appears</td>
1382
+ </tr>
1383
+ <tr>
1384
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_guid</td>
1385
+ <td>the <code>post_guid</code> value of the post/page in which the cloud appears</td>
1386
+ </tr>
1387
+ <tr>
1388
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_type</td>
1389
+ <td>the <code>post_type</code> value of the post/page in which the cloud appears</td>
1390
+ </tr>
1391
+ <tr>
1392
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">page_url</td>
1393
+ <td>absolute URL to the page or post on which the cloud appears, if any, with trailing slash</td>
1394
+ </tr>
1395
+ </table>
1396
+ <p>
1397
  Style and Markup templates give you great flexibility for the content and format of each [mla_tag_cloud] when you use the "list" and "grid" output formats. You can define as many templates as you need.
1398
  </p>
1399
  <p>
1430
  <td>shortcode parameter, default = 'tag-cloud-ul', or 'tag-cloud-dl' if the "captiontag" parameter is present.</td>
1431
  </tr>
1432
  <tr>
 
 
 
 
1433
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">taxonomy</td>
1434
  <td>the slug of the taxonomy on which the cloud is based. Multiple taxonomy slugs are joined with a dash to form a single value.</td>
1435
  </tr>
1466
  <td>'right' if current locale is RTL, 'left' if not</td>
1467
  </tr>
1468
  <tr>
 
 
 
 
1469
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">found_rows</td>
1470
  <td>the number of terms retrieved for the cloud</td>
1471
  </tr>
1531
  </tr>
1532
  </table>
1533
  <p>
1534
+ Tag cloud substitution parameters for the <strong>Markup template</strong> are available in all of the template sections. All of the <strong>cloud-specific substitution parameters</strong> and the <strong>substitution parameters for Style templates</strong> are available for use in markup templates. There are no additional substitution parameters defined at the start of markup processing, but there are <a href="#mla_tag_cloud_hooks">MLA Tag Cloud Filters (Hooks)</a> that could add, modify or delete parameters available for markup processing, if your application uses them.
1535
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1536
  <p>
1537
  Tag cloud <strong>item-specific substitution parameters</strong> for the Markup template are available in the "Item" section of the template. They include all of the parameters defined above (for the Style and Markup templates) Additional item-specific parameters are:
1538
  </p>
1723
  <p>Now we'll make the cloud a convenient way to control a term-specific <code>[mla_gallery]</code>. The next step uses the "mla_link_href" parameter to change the link destination of each cloud term, returning to the current page with the term id of the selected term. We also add the "mla_cloud_current" parameter to each of these new links, so the tag cloud page is retained when a term is selected:
1724
  </p>
1725
  <p>
1726
+ <code>[mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_link_href="{+page_url+}?current_id={+term_id+}&amp;amp;mla_cloud_current={+request:mla_cloud_current+}"]<br />
1727
  [mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_output="paginate_links,prev_next"]</code>
1728
  </p>
1729
  <p>
1730
  The "&amp;amp;" before the "mla_cloud_current" parameter is required to get by the WordPress Visual Editor. The "{+request:mla_cloud_current+}" value copies the current page number from the URL ($_REQUEST array) and adds it to each term's link. Now, let's use the "current_id={+term_id+}" information in the link to compose a term-specific <code>[mla_gallery]</code>:
1731
  </p>
1732
  <p>
1733
+ <code>[mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_link_href="{+page_url+}?current_id={+term_id+}&amp;amp;mla_cloud_current={+request:mla_cloud_current+}"]<br />
1734
  [mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_output="paginate_links,prev_next"]
1735
  <br />&nbsp;<br />
1736
  [mla_gallery post_mime_type=all tax_query="array ( 0 => array ( 'taxonomy' => 'attachment_category', 'field' => 'id', 'terms' => array( {+request:current_id+} ), 'include_children' => false ) )" mla_caption="{+title+}" columns=5 size=icon link=file]</code>
1742
  We can easily paginate the term-specific gallery by adding a second <code>[mla_gallery]</code> shortcode and a "posts_per_page" parameter to both shortcodes:
1743
  </p>
1744
  <p>
1745
+ <code>[mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_link_href="{+page_url+}?current_id={+term_id+}&amp;amp;mla_cloud_current={+request:mla_cloud_current+}"]<br />
1746
  [mla_tag_cloud taxonomy=attachment_category number=0 limit=10 mla_output="paginate_links,prev_next"]
1747
  <br />&nbsp;<br />
1748
  [mla_gallery post_mime_type=all tax_query="array ( 0 => array ( 'taxonomy' => 'attachment_category', 'field' => 'id', 'terms' => array( {+request:current_id+} ), 'include_children' => false ) )" mla_caption="{+title+}" columns=5 posts_per_page=5 size=icon link=file]
2235
  <a href="#backtotop">Go to Top</a>
2236
  </p>
2237
  <h4>Substitution parameters for style templates</h4>
2238
+ All of the <a href="#gallery_specific">gallery-specific substitution parameters</a> are available for use in style templates. These additional substitution parameters are also available:
2239
  <table>
2240
  <tr>
2241
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">mla_style</td>
2246
  <td>shortcode parameter, default = 'default'</td>
2247
  </tr>
2248
  <tr>
 
 
 
 
 
 
 
 
2249
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">itemtag</td>
2250
  <td>shortcode parameter, default = 'dl', or 'figure' for HTML5 themes</td>
2251
  </tr>
2274
  <td>'right' if current locale is RTL, 'left' if not</td>
2275
  </tr>
2276
  <tr>
 
 
 
 
2277
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">size_class</td>
2278
  <td>shortcode 'size' parameter, default = 'thumbnail'</td>
2279
  </tr>
2284
  <a href="#backtotop">Go to Top</a>
2285
  </p>
2286
  <h4>Substitution parameters for markup templates</h4>
2287
+ <p>
2288
+ All of the <a href="#gallery_specific">gallery-specific substitution parameters</a> and the <a href="#mla_style_parameters">Substitution parameters for style templates</a> are available for use in markup templates. There are no additional substitution parameters defined at the start of markup processing, but there are <a href="#mla_gallery_hooks">MLA Gallery Filters (Hooks)</a> that could add, modify or delete parameters available for markup processing, if your application uses them.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2289
  <a name="mla_attachment_parameters"></a>
2290
+ </p>
2291
  <p>
2292
  <a href="#backtotop">Go to Top</a>
2293
  </p>