Media Library Assistant - Version 1.81

Version Description

  • Important Fix: A serious defect in the Media Libarary Modal Window has been corrected. The defect caused drag & drop file uploading to fail under many circumstances.
  • New: For [mla_tag_cloud], the "ids" parameter has been added to support item-specific term clouds, i.e., a cloud containing only those terms assigned to one (or more) items.
  • New: A "single image with tag list" page template has been added to the Mla Child Theme in the /examples directory.
  • Fix: A Load Text Domain function has been added to the /examples/twentytwelve-mla child theme.
  • Fix: If the Settings/Media Library Assistant General tab "Page Title" and/or "Menu Title" fields are empty, the default values are now used, including translated values if applicable.
  • Fix: Failure to load translation file from the /plugins/media-library-assistant/languages directory has been fixed. Note that the translation file must include the plugin slug, e.g., media-library-assistant-en_US.mo
  • Fix: PHP (5.4.x) Strict Standards warning for MLAData::mla_get_attachment_by_id() has been resolved.
  • Fix: For [mla_gallery], $wp_filter debug display with mla_debug=true is more reliable.
Download this release

Release Info

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

Code changes from version 1.80 to 1.81

Files changed (45) hide show
  1. examples/twentytwelve-mla/content-single-image.php +127 -0
  2. examples/twentytwelve-mla/content-tag-gallery.php +8 -1
  3. examples/twentytwelve-mla/functions.php +67 -7
  4. examples/twentytwelve-mla/image.php +0 -1
  5. examples/twentytwelve-mla/languages/{en_US.pot → mla-child-theme-en_US.pot} +0 -0
  6. examples/twentytwelve-mla/page-single-image.php +37 -0
  7. examples/twentytwelve-mla/style.css +2 -2
  8. examples/twentytwelve-mla/taxonomy.php +1 -1
  9. includes/class-mla-data.php +68 -1
  10. includes/class-mla-main.php +14 -2
  11. includes/class-mla-shortcodes.php +46 -2
  12. index.php +13 -3
  13. js/mla-media-modal-scripts.js +59 -34
  14. js/mla-media-modal-scripts.min.js +1 -1
  15. languages/{en_US.pot → media-library-assistant-en_US.pot} +142 -142
  16. phpDocs/classes/MLA.html +1 -1
  17. phpDocs/classes/MLAData.html +46 -1
  18. phpDocs/classes/MLAEdit.html +3 -6
  19. phpDocs/classes/MLAMime.html +1 -1
  20. phpDocs/classes/MLAModal.html +1 -1
  21. phpDocs/classes/MLAObjects.html +1 -1
  22. phpDocs/classes/MLAOptions.html +1 -1
  23. phpDocs/classes/MLASettings.html +1 -1
  24. phpDocs/classes/MLAShortcodes.html +1 -1
  25. phpDocs/classes/MLATest.html +1 -1
  26. phpDocs/classes/MLATextWidget.html +1 -1
  27. phpDocs/classes/MLA_Checklist_Walker.html +1 -1
  28. phpDocs/classes/MLA_List_Table.html +1 -1
  29. phpDocs/classes/MLA_Upload_List_Table.html +1 -1
  30. phpDocs/classes/MLA_Upload_Optional_List_Table.html +1 -1
  31. phpDocs/classes/MLA_View_List_Table.html +1 -1
  32. phpDocs/deprecated.html +1 -1
  33. phpDocs/errors.html +3 -1
  34. phpDocs/graph_class.html +1 -1
  35. phpDocs/index.html +1 -1
  36. phpDocs/markers.html +1 -1
  37. phpDocs/namespaces/global.html +37 -2
  38. phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html +35 -2
  39. phpDocs/packages/Media Library Assistant.MLA.Child.html +31 -2
  40. phpDocs/packages/Media Library Assistant.MLA.html +31 -2
  41. phpDocs/packages/Media Library Assistant.html +38 -2
  42. phpDocs/structure.xml +488 -350
  43. readme.txt +13 -3
  44. tests/class-mla-tests.php +5 -0
  45. tpls/documentation-settings-tab.tpl +5 -1
examples/twentytwelve-mla/content-single-image.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The template used for displaying "attachment page" content in page-single-image.php
4
+ *
5
+ * You must select the attachment you want by adding a query parameter
6
+ * to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.
7
+ *
8
+ * The global $post variable contains the post object of the calling page.
9
+ *
10
+ * @package Media Library Assistant
11
+ * @subpackage MLA_Child_Theme
12
+ * @version 1.00
13
+ * @since MLA 1.80
14
+ */
15
+
16
+ /**
17
+ * The original static page that brought us here
18
+ *
19
+ * @global $post
20
+ */
21
+ global $post;
22
+ ?>
23
+ <?php
24
+ /*
25
+ * Emulate the logic in edit_post_link(), because we want to edit the static page, not the attachment
26
+ */
27
+ $before = '<span class="edit-link">';
28
+ $url = get_edit_post_link( $post->ID );
29
+ $link = $link = '<a class="post-edit-link" href="' . $url . '">' . __( 'Edit', 'mla-child-theme' ) . '</a>';
30
+ $after = '</span>';
31
+ $edit_post_link = $before . apply_filters( 'edit_post_link', $link, $post->ID ) . $after;
32
+
33
+ /*
34
+ * The attachment's ID must be set as an HTML query parameter
35
+ */
36
+ $post_id = isset( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : 0;
37
+ if ( $post_id ) {
38
+ $query = new WP_Query( array( 'p' => $post_id, 'post_type' => 'attachment', 'post_status' => 'inherit', 'orderby' => 'none', 'update_post_term_cache' => false ) );
39
+ } else {
40
+ echo '<h1>ERROR: No Post ID</h1>';
41
+ return;
42
+ }
43
+
44
+ if ( $query->have_posts() ) {
45
+ $page = $post; // in case we need it later
46
+ $query->the_post(); // simulate "the loop"
47
+ } else {
48
+ echo '<h1>ERROR: No Attachment Object</h1>';
49
+ return;
50
+ }
51
+ ?>
52
+ <article id="post-<?php the_ID(); ?>" class="post-<?php the_ID(); ?> attachment type-attachment status-inherit hentry">
53
+ <header class="entry-header">
54
+ <h1 class="entry-title"><?php the_title(); ?></h1>
55
+ <footer class="entry-meta">
56
+ <?php
57
+ $metadata = wp_get_attachment_metadata();
58
+ printf( __( '<span class="meta-prep meta-prep-entry-date">Published </span> <span class="entry-date"><time class="entry-date" datetime="%1$s">%2$s</time></span> at <a href="%3$s" title="Link to full-size image">%4$s &times; %5$s</a> .', 'twentytwelve' ),
59
+ esc_attr( get_the_date( 'c' ) ),
60
+ esc_html( get_the_date() ),
61
+ esc_url( wp_get_attachment_url() ),
62
+ $metadata['width'],
63
+ $metadata['height']
64
+ );
65
+ ?>
66
+ <?php echo $edit_post_link; ?>
67
+ </footer><!-- .entry-meta -->
68
+ </header><!-- .entry-header -->
69
+
70
+ <div class="entry-content">
71
+ <div class="entry-attachment">
72
+ <div class="attachment">
73
+ <a href="<?php echo esc_url( wp_get_attachment_url() ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment"><?php
74
+ /**
75
+ * Filter the image attachment size to use.
76
+ *
77
+ * @since Twenty Twelve 1.0
78
+ *
79
+ * @param array $size {
80
+ * @type int The attachment height in pixels.
81
+ * @type int The attachment width in pixels.
82
+ * }
83
+ */
84
+ $attachment_size = apply_filters( 'twentytwelve_attachment_size', array( 960, 960 ) );
85
+ echo wp_get_attachment_image( $post->ID, $attachment_size );
86
+ ?></a>
87
+
88
+ <?php if ( ! empty( $post->post_excerpt ) ) : ?>
89
+ <div class="entry-caption">
90
+ <?php the_excerpt(); ?>
91
+ </div>
92
+ <?php endif; ?>
93
+ </div><!-- .attachment -->
94
+ </div><!-- .entry-attachment -->
95
+ <div class="entry-description">
96
+ <?php echo esc_attr( $post->post_content ); ?><br />
97
+ &nbsp;
98
+ </div><!-- .entry-description -->
99
+ </div><!-- .entry-content -->
100
+
101
+ <div class="entry-terms">
102
+ <?php
103
+ $attr = array();
104
+ /*
105
+ * You can change the default taxonomy slug by adding a query variable, e.g.,
106
+ * "?taxonomy=attachment_category"
107
+ */
108
+ if ( ! empty( $_REQUEST['taxonomy'] ) ) {
109
+ $attr['taxonomy'] = $_REQUEST['taxonomy'];
110
+ }
111
+
112
+ /*
113
+ * You can change the default destination page by adding a query variable, e.g.,
114
+ * "?page_path=some-other-page"
115
+ */
116
+ if ( ! empty( $_REQUEST['page_path'] ) ) {
117
+ $attr['page_path'] = $_REQUEST['page_path'];
118
+ }
119
+
120
+ mla_custom_terms_list( get_the_ID(), $attr ); // Child theme function
121
+ ?>
122
+ </div><!-- .entry-terms -->
123
+
124
+ <footer class="entry-meta">
125
+ <?php echo $edit_post_link; ?>
126
+ </footer><!-- .entry-meta -->
127
+ </article><!-- #post -->
examples/twentytwelve-mla/content-tag-gallery.php CHANGED
@@ -33,6 +33,7 @@ global $post;
33
  <?php the_content(); ?>
34
  <?php
35
  $attr = array(
 
36
  'taxonomy' => 'attachment_tag',
37
  'term' => '',
38
  'post_mime_type' => 'image',
@@ -64,13 +65,19 @@ global $post;
64
  if ( ! empty( $_REQUEST['mla_paginate_current'] ) ) {
65
  $attr['current_page'] = $_REQUEST['mla_paginate_current'];
66
  }
67
-
68
  $count = mla_paginated_term_gallery( $attr ); // Child theme function
69
  ?>
 
 
 
 
 
70
  <div class="pagination loop-pagination">
71
  <?php echo do_shortcode( sprintf( '[mla_gallery mla_paginate_rows="%1$s" mla_output="previous_page" numberposts="%2$s" mla_link_class="prev page-numbers" mla_link_text="<span class=\'meta-nav\'>&#9668;</span> Previous"]', $count, $attr['posts_per_page'] ) ); ?>
72
  <?php echo do_shortcode( sprintf( '[mla_gallery mla_paginate_rows="%1$s" mla_output="next_page" numberposts="%2$s" mla_link_class="next page-numbers" mla_link_text="Next <span class=\'meta-nav\'>&#9658;</span>"]', $count, $attr['posts_per_page'] ) ); ?>
73
  </div>
 
74
  <?php //wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
75
  </div><!-- .entry-content -->
76
  <footer class="entry-meta">
33
  <?php the_content(); ?>
34
  <?php
35
  $attr = array(
36
+ 'page' => '/single-image/',
37
  'taxonomy' => 'attachment_tag',
38
  'term' => '',
39
  'post_mime_type' => 'image',
65
  if ( ! empty( $_REQUEST['mla_paginate_current'] ) ) {
66
  $attr['current_page'] = $_REQUEST['mla_paginate_current'];
67
  }
68
+
69
  $count = mla_paginated_term_gallery( $attr ); // Child theme function
70
  ?>
71
+ <div class="pagination loop-pagination">
72
+ <?php echo do_shortcode( sprintf( '[mla_gallery mla_paginate_rows="%1$s" mla_output="previous_page,first" numberposts="%2$s" mla_link_class="prev page-numbers" mla_link_text="{Page {+current_page+} of {+last_page+}}"]', $count, $attr['posts_per_page'] ) ); ?>
73
+ <?php echo do_shortcode( sprintf( '[mla_gallery mla_paginate_rows="%1$s" mla_output="paginate_links,prev_next" numberposts="%2$s" mla_link_class="page-numbers" mla_prev_text="&#9668;" mla_next_text="&#9658;"]', $count, $attr['posts_per_page'] ) ); ?>
74
+ </div>
75
+ <!-- This alternative is basic Previous/Next pagination
76
  <div class="pagination loop-pagination">
77
  <?php echo do_shortcode( sprintf( '[mla_gallery mla_paginate_rows="%1$s" mla_output="previous_page" numberposts="%2$s" mla_link_class="prev page-numbers" mla_link_text="<span class=\'meta-nav\'>&#9668;</span> Previous"]', $count, $attr['posts_per_page'] ) ); ?>
78
  <?php echo do_shortcode( sprintf( '[mla_gallery mla_paginate_rows="%1$s" mla_output="next_page" numberposts="%2$s" mla_link_class="next page-numbers" mla_link_text="Next <span class=\'meta-nav\'>&#9658;</span>"]', $count, $attr['posts_per_page'] ) ); ?>
79
  </div>
80
+ This alternative is basic Previous/Next pagination -->
81
  <?php //wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
82
  </div><!-- .entry-content -->
83
  <footer class="entry-meta">
examples/twentytwelve-mla/functions.php CHANGED
@@ -8,7 +8,7 @@
8
  *
9
  * @package Media Library Assistant
10
  * @subpackage MLA_Child_Theme
11
- * @version 1.00
12
  * @since MLA 1.80
13
  */
14
 
@@ -22,11 +22,69 @@ if ( ! is_admin() ) {
22
  //remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds
23
  //remove_action( 'wp_head', 'rsd_link' ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
24
  //remove_action( 'wp_head', 'wlwmanifest_link' ); // Display the link to the Windows Live Writer manifest file.
25
- remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); // Display relational links for the posts adjacent to the current post.
 
26
  //remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version
27
  //remove_action( 'wp_head', 'rel_canonical' ); // Display the canonical link fo a singular page
28
  }
29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  /**
31
  * Generate a taxonomy- and term-specific [mla_gallery]
32
  *
@@ -78,7 +136,7 @@ function mla_tag_gallery( $attr = NULL ) {
78
  *
79
  * This function uses $wpdb functions for efficiency.
80
  *
81
- * @param array Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page
82
  *
83
  * @return integer number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags
84
  */
@@ -98,6 +156,7 @@ function mla_paginated_term_gallery( $attr = NULL ) {
98
  * Create the PHP variables we need
99
  */
100
  extract( shortcode_atts( array(
 
101
  'taxonomy' => 'attachment_tag',
102
  'term' => '',
103
  'post_mime_type' => 'all',
@@ -137,9 +196,10 @@ function mla_paginated_term_gallery( $attr = NULL ) {
137
  $posts = implode( ',', $wpdb->get_col( 'SELECT p.ID FROM ' . $wpdb->posts . ' as p WHERE ( p.ID IN ( ' . $posts . ' )' . $mime_where . ') LIMIT ' . $offset . ', ' . $posts_per_page ) );
138
  }
139
 
140
- /* translators: 1: term name, 2: taxonomy label */
141
- $output = '<h3>' . sprintf( __( 'Gallery for term "%1$s" in taxonomy "%2$s"', 'mla-child-theme' ), $term->name, $taxonomy->labels->name ) . '</h3>';
142
- $output .= '<p>' . do_shortcode( sprintf( '[mla_gallery ids="%1$s" post_mime_type="%2$s" mla_paginate_current=1 mla_nolink_text="No items found" update_post_term_cache="false"]', $posts, $post_mime_type ) . "</p>\r\n" );
 
143
 
144
  echo $output;
145
  return $count;
@@ -185,7 +245,7 @@ function mla_custom_terms_list( $ID, $attr = NULL ) {
185
  /* translators: 1: taxonomy slug */
186
  $output = '<h3>' . sprintf( __( 'Terms list for taxonomy: %1$s', 'mla-child-theme' ), $taxonomy ) . '</h3>';
187
  /* translators: 1: term name */
188
- $title = sprintf( __( 'Gallery for %1$s', 'mla-child-theme' ), $term->name );
189
  foreach ( $terms as $term ) {
190
  $output .= '<p>' . sprintf( '<a href=%1$s%2$s?my_taxonomy=%3$s&my_term=%4$s title="%5$s">%6$s</a>', $site_url, $page_path, $taxonomy, $term->slug, $title, $term->name ) . "</p>\n";
191
  }// foreach term
8
  *
9
  * @package Media Library Assistant
10
  * @subpackage MLA_Child_Theme
11
+ * @version 1.01
12
  * @since MLA 1.80
13
  */
14
 
22
  //remove_action( 'wp_head', 'feed_links_extra', 3 ); // Display the links to the extra feeds such as category feeds
23
  //remove_action( 'wp_head', 'rsd_link' ); // Display the link to the Really Simple Discovery service endpoint, EditURI link
24
  //remove_action( 'wp_head', 'wlwmanifest_link' ); // Display the link to the Windows Live Writer manifest file.
25
+ remove_action( 'wp_head', 'adjacent_posts_rel_link', 10, 0 ); // Display relational links for the posts adjacent to the current post. OBSOLETE?
26
+ remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 ); // Display relational links for the posts adjacent to the current post.
27
  //remove_action( 'wp_head', 'wp_generator' ); // Display the XHTML generator that is generated on the wp_head hook, WP version
28
  //remove_action( 'wp_head', 'rel_canonical' ); // Display the canonical link fo a singular page
29
  }
30
 
31
+ /**
32
+ * Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
33
+ * and/or from the theme's own directory.
34
+ *
35
+ * @return void
36
+ */
37
+ function mla_after_setup_theme_action() {
38
+ $domain = 'mla-child-theme';
39
+
40
+ load_theme_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain );
41
+ load_theme_textdomain( $domain, get_stylesheet_directory() . '/languages' );
42
+
43
+ //the third call is made in the parent theme twentytwelve_setup() function
44
+ //load_theme_textdomain( $domain, get_template_directory() . '/languages' );
45
+ }
46
+ add_action( 'after_setup_theme', 'mla_after_setup_theme_action' );
47
+
48
+ /**
49
+ * Customize the <title> tag content for the Tag Gallery and Single Image pages
50
+ *
51
+ * @param string The default page title
52
+ * @param string $sep How to separate the various items within the page title
53
+ * @param string $seplocation Optional. Direction to display title, 'right'.
54
+ *
55
+ * @return string updated title value
56
+ */
57
+ function mla_wp_title_filter( $title, $sep, $seplocation ) {
58
+ $sep = " {$sep} ";
59
+
60
+ if ( is_page() ) {
61
+ $page = single_post_title( '', false );
62
+
63
+ /*
64
+ * Match specific page titles and replace the default, page title,
65
+ * with more interesting term or file information.
66
+ */
67
+ if ( 'Tag Gallery' == $page ) {
68
+ $taxonomy = isset( $_REQUEST['my_taxonomy'] ) ? $_REQUEST['my_taxonomy'] : NULL;
69
+ $slug = isset( $_REQUEST['my_term'] ) ? $_REQUEST['my_term'] : NULL;
70
+ if ( $taxonomy && $slug ) {
71
+ $term = get_term_by( 'slug', $slug, $taxonomy );
72
+ return $term->name . $sep;
73
+ }
74
+ } elseif ( 'Single Image' == $page ) {
75
+ $post_id = isset( $_REQUEST['post_id'] ) ? $_REQUEST['post_id'] : 0;
76
+ if ( $post_id ) {
77
+ $file = get_attached_file( $post_id );
78
+ $pathinfo = pathinfo( $file );
79
+ return $pathinfo['basename'] . $sep;
80
+ }
81
+ }
82
+ } // is_page
83
+
84
+ return $title;
85
+ }
86
+ add_filter( 'wp_title', 'mla_wp_title_filter', 10, 3 );
87
+
88
  /**
89
  * Generate a taxonomy- and term-specific [mla_gallery]
90
  *
136
  *
137
  * This function uses $wpdb functions for efficiency.
138
  *
139
+ * @param array Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page
140
  *
141
  * @return integer number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags
142
  */
156
  * Create the PHP variables we need
157
  */
158
  extract( shortcode_atts( array(
159
+ 'page' => NULL,
160
  'taxonomy' => 'attachment_tag',
161
  'term' => '',
162
  'post_mime_type' => 'all',
196
  $posts = implode( ',', $wpdb->get_col( 'SELECT p.ID FROM ' . $wpdb->posts . ' as p WHERE ( p.ID IN ( ' . $posts . ' )' . $mime_where . ') LIMIT ' . $offset . ', ' . $posts_per_page ) );
197
  }
198
 
199
+ $href = empty( $page ) ? '{+link_url+}' : "{+site_url+}{$page}";
200
+ /* translators: 1: term name, 2: taxonomy label */
201
+ $output = '<h3>' . sprintf( __( 'Gallery for term "%1$s" in taxonomy "%2$s"', 'mla-child-theme' ), $term->name, $taxonomy->labels->name ) . '</h3>';
202
+ $output .= '<p>' . do_shortcode( sprintf( '[mla_gallery ids="%1$s" post_mime_type="%2$s" mla_paginate_current=1 mla_nolink_text="No items found" update_post_term_cache="false" mla_link_href="%3$s?post_id={+attachment_ID+}"]', $posts, $post_mime_type, $href ) . "</p>\r\n" );
203
 
204
  echo $output;
205
  return $count;
245
  /* translators: 1: taxonomy slug */
246
  $output = '<h3>' . sprintf( __( 'Terms list for taxonomy: %1$s', 'mla-child-theme' ), $taxonomy ) . '</h3>';
247
  /* translators: 1: term name */
248
+ $title = sprintf( __( 'Gallery for %1$s', 'mla-child-theme' ), $taxonomy );
249
  foreach ( $terms as $term ) {
250
  $output .= '<p>' . sprintf( '<a href=%1$s%2$s?my_taxonomy=%3$s&my_term=%4$s title="%5$s">%6$s</a>', $site_url, $page_path, $taxonomy, $term->slug, $title, $term->name ) . "</p>\n";
251
  }// foreach term
examples/twentytwelve-mla/image.php CHANGED
@@ -10,7 +10,6 @@
10
  * @version 1.00
11
  * @since MLA 1.80
12
  */
13
-
14
  get_header(); ?>
15
 
16
  <div id="primary" class="site-content">
10
  * @version 1.00
11
  * @since MLA 1.80
12
  */
 
13
  get_header(); ?>
14
 
15
  <div id="primary" class="site-content">
examples/twentytwelve-mla/languages/{en_US.pot → mla-child-theme-en_US.pot} RENAMED
File without changes
examples/twentytwelve-mla/page-single-image.php ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * The template for displaying the "Tag Gallery" page, which
4
+ * must be defined as a static WordPress "Page" post type.
5
+ *
6
+ * Please note that this is the WordPress construct of pages
7
+ * and that other 'pages' on your WordPress site will use a
8
+ * different template.
9
+ *
10
+ * @package Media Library Assistant
11
+ * @subpackage MLA_Child_Theme
12
+ * @version 1.00
13
+ * @since MLA 1.80
14
+ */
15
+
16
+ /**
17
+ * Harmless declaration to suppress phpDocumentor "No page-level DocBlock" error
18
+ *
19
+ * @global $post
20
+ */
21
+ global $post;
22
+
23
+ get_header(); ?>
24
+
25
+ <div id="primary" class="site-content">
26
+ <div id="content" role="main">
27
+
28
+ <?php while ( have_posts() ) : the_post(); ?>
29
+ <?php get_template_part( 'content', 'single-image' ); ?>
30
+ <?php //comments_template( '', true ); ?>
31
+ <?php endwhile; // end of the loop. ?>
32
+
33
+ </div><!-- #content -->
34
+ </div><!-- #primary -->
35
+
36
+ <?php //get_sidebar(); ?>
37
+ <?php get_footer(); ?>
examples/twentytwelve-mla/style.css CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * @package Media Library Assistant
7
  * @subpackage MLA_Child_Theme
8
- * @version 1.00
9
  * @since MLA 1.80
10
  */
11
 
@@ -16,7 +16,7 @@ Description: Enhancements to the baseline theme, generated in response to MLA su
16
  Author: David Lingren
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
  Template: twentytwelve
19
- Version: 1.00
20
  Tags: attachment, attachments, documents, gallery, image, images, media, library, media library, 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
21
  Text Domain: mla-child-theme
22
  Domain Path: /languages
5
  *
6
  * @package Media Library Assistant
7
  * @subpackage MLA_Child_Theme
8
+ * @version 1.01
9
  * @since MLA 1.80
10
  */
11
 
16
  Author: David Lingren
17
  Author URI: http://fairtradejudaica.org/our-story/staff/
18
  Template: twentytwelve
19
+ Version: 1.01
20
  Tags: attachment, attachments, documents, gallery, image, images, media, library, media library, 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
21
  Text Domain: mla-child-theme
22
  Domain Path: /languages
examples/twentytwelve-mla/taxonomy.php CHANGED
@@ -18,7 +18,7 @@ global $wp_query;
18
 
19
  $is_media_archive = in_array( $wp_query->query_vars['taxonomy'], array( 'attachment_category', 'attachment_tag' ) );
20
  if ( $is_media_archive ) {
21
- if ( true || isset( $_REQUEST['use_mla_gallery'] ) ) {
22
  $use_mla_gallery = true;
23
  } else {
24
  $args = array_merge( $wp_query->query_vars, array( 'post_type' => 'attachment', 'post_status' => 'inherit' ) );
18
 
19
  $is_media_archive = in_array( $wp_query->query_vars['taxonomy'], array( 'attachment_category', 'attachment_tag' ) );
20
  if ( $is_media_archive ) {
21
+ if ( isset( $_REQUEST['use_mla_gallery'] ) ) {
22
  $use_mla_gallery = true;
23
  } else {
24
  $args = array_merge( $wp_query->query_vars, array( 'post_type' => 'attachment', 'post_status' => 'inherit' ) );
includes/class-mla-data.php CHANGED
@@ -2065,7 +2065,7 @@ class MLAData {
2065
  * @param int The ID of the attachment post
2066
  * @return NULL|array NULL on failure else associative array
2067
  */
2068
- function mla_get_attachment_by_id( $post_id ) {
2069
  global $post;
2070
  static $save_id = -1, $post_data;
2071
 
@@ -4558,6 +4558,56 @@ class MLAData {
4558
  return $parts[0] / ( $parts[1] ? $parts[1] : 1);
4559
  }
4560
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4561
  /**
4562
  * Fetch and filter IPTC and EXIF or PDF metadata for an image attachment
4563
  *
@@ -4590,7 +4640,16 @@ class MLAData {
4590
 
4591
  if ( is_callable( 'iptcparse' ) ) {
4592
  if ( !empty( $info['APP13'] ) ) {
 
4593
  $iptc_values = iptcparse( $info['APP13'] );
 
 
 
 
 
 
 
 
4594
  if ( ! is_array( $iptc_values ) ) {
4595
  $iptc_values = array();
4596
  }
@@ -4609,7 +4668,15 @@ class MLAData {
4609
  }
4610
 
4611
  if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
 
4612
  $results['mla_exif_metadata'] = $exif_data = exif_read_data( $path );
 
 
 
 
 
 
 
4613
  }
4614
  }
4615
 
2065
  * @param int The ID of the attachment post
2066
  * @return NULL|array NULL on failure else associative array
2067
  */
2068
+ public static function mla_get_attachment_by_id( $post_id ) {
2069
  global $post;
2070
  static $save_id = -1, $post_data;
2071
 
4558
  return $parts[0] / ( $parts[1] ? $parts[1] : 1);
4559
  }
4560
 
4561
+ /**
4562
+ * Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
4563
+ * and mla_fetch_attachment_image_metadata
4564
+ *
4565
+ * @since 1.81
4566
+ *
4567
+ * @var array
4568
+ */
4569
+ private static $mla_IPTC_EXIF_errors = array();
4570
+
4571
+ /**
4572
+ * Intercept IPTC and EXIF parse errors
4573
+ *
4574
+ * @since 1.81
4575
+ *
4576
+ * @param int the level of the error raised
4577
+ * @param string the error message
4578
+ * @param string the filename that the error was raised in
4579
+ * @param int the line number the error was raised at
4580
+ *
4581
+ * @return boolean true, to bypass PHP error handler
4582
+ */
4583
+ public static function mla_IPTC_EXIF_error_handler( $type, $string, $file, $line ) {
4584
+ //error_log( 'mla_IPTC_EXIF_error_handler $type = ' . var_export( $type, true ), 0 );
4585
+ //error_log( 'mla_IPTC_EXIF_error_handler $string = ' . var_export( $string, true ), 0 );
4586
+ //error_log( 'mla_IPTC_EXIF_error_handler $file = ' . var_export( $file, true ), 0 );
4587
+ //error_log( 'mla_IPTC_EXIF_error_handler $line = ' . var_export( $line, true ), 0 );
4588
+
4589
+ switch ( $type ) {
4590
+ case E_ERROR:
4591
+ $level = 'E_ERROR';
4592
+ break;
4593
+ case E_WARNING:
4594
+ $level = 'E_WARNING';
4595
+ break;
4596
+ case E_NOTICE:
4597
+ $level = 'E_NOTICE';
4598
+ break;
4599
+ default:
4600
+ $level = 'OTHER';
4601
+ }
4602
+
4603
+ $path_info = pathinfo( $file );
4604
+ $file_name = $path_info['basename'];
4605
+ MLAData::$mla_IPTC_EXIF_errors[] = "{$level} ({$type}) - {$string} [{$file_name} : {$line}]";
4606
+
4607
+ /* Don't execute PHP internal error handler */
4608
+ return true;
4609
+ }
4610
+
4611
  /**
4612
  * Fetch and filter IPTC and EXIF or PDF metadata for an image attachment
4613
  *
4640
 
4641
  if ( is_callable( 'iptcparse' ) ) {
4642
  if ( !empty( $info['APP13'] ) ) {
4643
+ //set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
4644
  $iptc_values = iptcparse( $info['APP13'] );
4645
+ //restore_error_handler();
4646
+
4647
+ if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
4648
+ $results['mla_iptc_errors'] = MLAData::$mla_IPTC_EXIF_errors;
4649
+ MLAData::$mla_IPTC_EXIF_errors = array();
4650
+ error_log( 'ERROR: $results[mla_iptc_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
4651
+ }
4652
+
4653
  if ( ! is_array( $iptc_values ) ) {
4654
  $iptc_values = array();
4655
  }
4668
  }
4669
 
4670
  if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
4671
+ //set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
4672
  $results['mla_exif_metadata'] = $exif_data = exif_read_data( $path );
4673
+ //restore_error_handler();
4674
+
4675
+ if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
4676
+ $results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
4677
+ MLAData::$mla_IPTC_EXIF_errors = array();
4678
+ error_log( 'ERROR: $results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
4679
+ }
4680
  }
4681
  }
4682
 
includes/class-mla-main.php CHANGED
@@ -29,7 +29,7 @@ class MLA {
29
  *
30
  * @var string
31
  */
32
- const CURRENT_MLA_VERSION = '1.80';
33
 
34
  /**
35
  * Slug for registering and enqueueing plugin style sheet
@@ -206,7 +206,7 @@ class MLA {
206
  * WP_LANG_DIR (e.g., /wp-content/languages) directory.
207
  */
208
  load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
209
- load_plugin_textdomain( $text_domain, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
210
 
211
  /*
212
  * Now we can localize values in other plugin components
@@ -345,7 +345,15 @@ class MLA {
345
  }
346
 
347
  $page_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_PAGE_TITLE );
 
 
 
 
348
  $menu_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_MENU_TITLE );
 
 
 
 
349
  $hook = add_submenu_page( 'upload.php', $page_title, $menu_title, 'upload_files', self::ADMIN_PAGE_SLUG, 'MLA::mla_render_admin_page' );
350
  add_action( 'load-' . $hook, 'MLA::mla_add_menu_options' );
351
  add_action( 'load-' . $hook, 'MLA::mla_add_help_tab' );
@@ -742,6 +750,10 @@ class MLA {
742
  $bulk_action = self::_current_bulk_action();
743
 
744
  $page_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_PAGE_TITLE );
 
 
 
 
745
  echo "<div class=\"wrap\">\n";
746
  echo "<div id=\"icon-upload\" class=\"icon32\"><br/></div>\n";
747
  echo "<h2>{$page_title}"; // trailing </h2> is action-specific
29
  *
30
  * @var string
31
  */
32
+ const CURRENT_MLA_VERSION = '1.81';
33
 
34
  /**
35
  * Slug for registering and enqueueing plugin style sheet
206
  * WP_LANG_DIR (e.g., /wp-content/languages) directory.
207
  */
208
  load_textdomain( $text_domain, trailingslashit( WP_LANG_DIR ) . $text_domain . '/' . $text_domain . '-' . $locale . '.mo' );
209
+ load_plugin_textdomain( $text_domain, false, MLA_PLUGIN_BASENAME . '/languages/' );
210
 
211
  /*
212
  * Now we can localize values in other plugin components
345
  }
346
 
347
  $page_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_PAGE_TITLE );
348
+ if ( empty( $page_title ) ) {
349
+ $page_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_PAGE_TITLE, true );
350
+ }
351
+
352
  $menu_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_MENU_TITLE );
353
+ if ( empty( $menu_title ) ) {
354
+ $menu_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_MENU_TITLE, true );
355
+ }
356
+
357
  $hook = add_submenu_page( 'upload.php', $page_title, $menu_title, 'upload_files', self::ADMIN_PAGE_SLUG, 'MLA::mla_render_admin_page' );
358
  add_action( 'load-' . $hook, 'MLA::mla_add_menu_options' );
359
  add_action( 'load-' . $hook, 'MLA::mla_add_help_tab' );
750
  $bulk_action = self::_current_bulk_action();
751
 
752
  $page_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_PAGE_TITLE );
753
+ if ( empty( $page_title ) ) {
754
+ $page_title = MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_PAGE_TITLE, true );
755
+ }
756
+
757
  echo "<div class=\"wrap\">\n";
758
  echo "<div id=\"icon-upload\" class=\"icon32\"><br/></div>\n";
759
  echo "<h2>{$page_title}"; // trailing </h2> is action-specific
includes/class-mla-shortcodes.php CHANGED
@@ -2923,8 +2923,22 @@ class MLAShortcodes {
2923
 
2924
  if ( self::$mla_debug ) {
2925
  global $wp_filter;
2926
- self::$mla_debug_messages .= '<p><strong>mla_debug $wp_filter[posts_where]</strong> = ' . var_export( $wp_filter['posts_where'], true ) . '</p>';
2927
- self::$mla_debug_messages .= '<p><strong>mla_debug $wp_filter[posts_orderby]</strong> = ' . var_export( $wp_filter['posts_orderby'], true ) . '</p>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2928
  }
2929
 
2930
  /*
@@ -3091,6 +3105,7 @@ class MLAShortcodes {
3091
  private static $mla_get_terms_parameters = array(
3092
  'taxonomy' => 'post_tag',
3093
  'post_mime_type' => 'all',
 
3094
  '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`',
3095
  'include' => '',
3096
  'exclude' => '',
@@ -3225,6 +3240,35 @@ class MLAShortcodes {
3225
 
3226
  $query[] = 'WHERE ( tt.taxonomy IN (' . join( ',', $placeholders ) . ')';
3227
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3228
  /*
3229
  * Add include/exclude and parent constraints to WHERE cluse
3230
  */
2923
 
2924
  if ( self::$mla_debug ) {
2925
  global $wp_filter;
2926
+
2927
+ foreach( $wp_filter['posts_where'] as $priority => $filters ) {
2928
+ self::$mla_debug_messages .= '<p><strong>mla_debug $wp_filter[posts_where]</strong> priority = ' . var_export( $priority, true ) . '<br />';
2929
+ foreach ( $filters as $name => $descriptor ) {
2930
+ self::$mla_debug_messages .= 'filter name = ' . var_export( $name, true ) . '<br />';
2931
+ }
2932
+ self::$mla_debug_messages .= '</p>';
2933
+ }
2934
+
2935
+ foreach( $wp_filter['posts_orderby'] as $priority => $filters ) {
2936
+ self::$mla_debug_messages .= '<p><strong>mla_debug $wp_filter[posts_orderby]</strong> priority = ' . var_export( $priority, true ) . '<br />';
2937
+ foreach ( $filters as $name => $descriptor ) {
2938
+ self::$mla_debug_messages .= 'filter name = ' . var_export( $name, true ) . '<br />';
2939
+ }
2940
+ self::$mla_debug_messages .= '</p>';
2941
+ }
2942
  }
2943
 
2944
  /*
3105
  private static $mla_get_terms_parameters = array(
3106
  'taxonomy' => 'post_tag',
3107
  'post_mime_type' => 'all',
3108
+ 'ids' => array(),
3109
  '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`',
3110
  'include' => '',
3111
  'exclude' => '',
3240
 
3241
  $query[] = 'WHERE ( tt.taxonomy IN (' . join( ',', $placeholders ) . ')';
3242
 
3243
+ /*
3244
+ * The "ids" parameter can build an item-specific cloud.
3245
+ * Compile a list of all the terms assigned to the items.
3246
+ */
3247
+ if ( ! empty( $arguments['ids'] ) && empty( $arguments['include'] ) ) {
3248
+ $ids = wp_parse_id_list( $arguments['ids'] );
3249
+ $includes = array();
3250
+ foreach ( $ids as $id ) {
3251
+ foreach ($taxonomies as $taxonomy) {
3252
+ $terms = get_the_terms( $id, $taxonomy );
3253
+ if ( is_array( $terms ) ) {
3254
+ foreach( $terms as $term ) {
3255
+ $includes[ $term->term_id ] = $term->term_id;
3256
+ } // terms
3257
+ }
3258
+ } // taxonomies
3259
+ } // ids
3260
+
3261
+ /*
3262
+ * If there are no terms we want an empty cloud
3263
+ */
3264
+ if ( empty( $includes ) ) {
3265
+ $arguments['include'] = (string) 0x7FFFFFFF;
3266
+ } else {
3267
+ ksort( $includes );
3268
+ $arguments['include'] = implode( ',', $includes );
3269
+ }
3270
+ }
3271
+
3272
  /*
3273
  * Add include/exclude and parent constraints to WHERE cluse
3274
  */
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 1.80
10
  */
11
 
12
  /*
@@ -16,7 +16,7 @@ Description: Enhances the Media Library; powerful[mla_gallery], taxonomy support
16
  Author: David Lingren
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
- Version: 1.80
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2013 David Lingren
@@ -51,7 +51,17 @@ else {
51
  */
52
  define( 'MLA_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
53
  }
54
-
 
 
 
 
 
 
 
 
 
 
55
  if ( defined( 'MLA_PLUGIN_URL' ) ) {
56
  $mla_name_conflict_error_messages .= '<li>constant MLA_PLUGIN_URL</li>';
57
  }
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
+ * @version 1.81
10
  */
11
 
12
  /*
16
  Author: David Lingren
17
  Text Domain: media-library-assistant
18
  Domain Path: /languages
19
+ Version: 1.81
20
  Author URI: http://fairtradejudaica.org/our-story/staff/
21
 
22
  Copyright 2011-2013 David Lingren
51
  */
52
  define( 'MLA_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
53
  }
54
+
55
+ if ( defined( 'MLA_PLUGIN_BASENAME' ) ) {
56
+ $mla_name_conflict_error_messages .= '<li>constant MLA_PLUGIN_BASENAME</li>';
57
+ }
58
+ else {
59
+ /**
60
+ * Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.
61
+ */
62
+ define( 'MLA_PLUGIN_BASENAME', dirname( plugin_basename( __FILE__ ) ) );
63
+ }
64
+
65
  if ( defined( 'MLA_PLUGIN_URL' ) ) {
66
  $mla_name_conflict_error_messages .= '<li>constant MLA_PLUGIN_URL</li>';
67
  }
js/mla-media-modal-scripts.js CHANGED
@@ -410,6 +410,7 @@ var mla = {
410
  settings: {},
411
  initialHTML: {},
412
  uploading: false,
 
413
 
414
  // Utility functions
415
  utility: {
@@ -699,46 +700,70 @@ var mla = {
699
  * We can extend the AttachmentCompat object because it's not instantiated until
700
  * the sidebar is created for a selected attachment.
701
  */
702
- wp.media.view.AttachmentCompat = wp.media.view.AttachmentCompat.extend({
703
- initialize: function() {
704
- // Call the base method in the super class
705
- wp.media.view.AttachmentCompat.__super__.initialize.apply( this, arguments );
706
-
707
- // Hook the 'ready' event when the sidebar has been rendered so we can add our enhancements
708
- this.on( 'ready', function( event ) {
709
- // console.log( 'view.AttachmentCompat Event: ', this.model.get('id') );
710
- mla.utility.hookCompatTaxonomies( this.model.get('id'), this.el );
711
- });
712
- }
713
- });
 
 
714
 
715
  /*
716
  * We can extend the model.Selection object because it's not instantiated until
717
  * the sidebar is created for a selected attachment.
718
  */
719
- wp.media.model.Selection = wp.media.model.Selection.extend({
720
- initialize: function() {
721
- // Call the base method in the super class
722
- wp.media.model.Selection.__super__.initialize.apply( this, arguments );
723
-
724
- // Hook the 'change:uploading' event so we can add our enhancements when it's done
725
- this.on( 'change:uploading', function( model ) {
726
- // console.log( 'model.Selection change:uploading Event: ', model.get('id') );
727
- mla.uploading = true;
728
- });
729
-
730
- // Hook the 'change' event when the sidebar has been rendered so we can add our enhancements
731
- this.on( 'change', function( model ) {
732
- // console.log( 'model.Selection change Event: ', model.get('id') );
733
 
734
- if ( mla.uploading ) {
735
- mla.utility.hookCompatTaxonomies( model.get('id'), wp.media.frame.$el );
736
- mla.uploading = false;
737
- }
738
- });
739
- }
740
- }); // */
741
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
742
  /**
743
  * Install the "click to expand" handler for MLA Searchable Taxonomy Meta Boxes
744
  */
410
  settings: {},
411
  initialHTML: {},
412
  uploading: false,
413
+ cid: null,
414
 
415
  // Utility functions
416
  utility: {
700
  * We can extend the AttachmentCompat object because it's not instantiated until
701
  * the sidebar is created for a selected attachment.
702
  */
703
+ if ( mla.settings.enableDetailsCategory || mla.settings.enableDetailsTag ) {
704
+ wp.media.view.AttachmentCompat = wp.media.view.AttachmentCompat.extend({
705
+ initialize: function() {
706
+ // Call the base method in the super class
707
+ wp.media.view.AttachmentCompat.__super__.initialize.apply( this, arguments );
708
+
709
+ // Hook the 'ready' event when the sidebar has been rendered so we can add our enhancements
710
+ this.on( 'ready', function( event ) {
711
+ //console.log( 'view.AttachmentCompat ready Event: ', this.model.get('id') );
712
+ mla.utility.hookCompatTaxonomies( this.model.get('id'), this.el );
713
+ });
714
+ }
715
+ });
716
+ }
717
 
718
  /*
719
  * We can extend the model.Selection object because it's not instantiated until
720
  * the sidebar is created for a selected attachment.
721
  */
722
+ if ( mla.settings.enableDetailsCategory || mla.settings.enableDetailsTag ) {
723
+ wp.media.model.Selection = wp.media.model.Selection.extend({
724
+ initialize: function() {
725
+ // Call the base method in the super class
726
+ wp.media.model.Selection.__super__.initialize.apply( this, arguments );
 
 
 
 
 
 
 
 
 
727
 
728
+ // Hook the 'selection:reset' event so we can add our enhancements when it's done
729
+ this.on( 'selection:reset', function( model ) {
730
+ //console.log( 'model.Selection selection:reset Event: cid ', model.cid, ', id ', model.get('id') );
731
+ mla.cid = null;
732
+ });
733
+
734
+ // Hook the 'selection:unsingle' event so we can add our enhancements when it's done
735
+ this.on( 'selection:unsingle', function( model ) {
736
+ //console.log( 'model.Selection selection:unsingle Event: cid ', model.cid, ', id ', model.get('id') );
737
+ mla.cid = null;
738
+ });
739
+
740
+ // Hook the 'selection:single' event so we can add our enhancements when it's done
741
+ this.on( 'selection:single', function( model ) {
742
+ //console.log( 'model.Selection selection:single Event: cid ', model.cid, ', id ', model.get('id') );
743
+ mla.cid = model.cid;
744
+ });
745
+
746
+ // Hook the 'change:uploading' event so we can add our enhancements when it's done
747
+ this.on( 'change:uploading', function( model ) {
748
+ //console.log( 'model.Selection change:uploading Event: cid ', model.cid, ', id ', model.get('id') );
749
+ mla.uploading = true;
750
+ });
751
+
752
+ // Hook the 'change' event when the sidebar has been rendered so we can add our enhancements
753
+ this.on( 'change', function( model ) {
754
+ //console.log( 'model.Selection change Event: cid ', model.cid, ', id ', model.get('id') );
755
+
756
+ if ( mla.uploading && mla.cid === model.cid ) {
757
+ var mediaFrame = wp.media.editor.get('content'),
758
+ compat = mediaFrame.content.get('compat');
759
+ mla.utility.hookCompatTaxonomies( model.get('id'), compat.sidebar.$el );
760
+ mla.uploading = false;
761
+ }
762
+ });
763
+ }
764
+ });
765
+ }
766
+
767
  /**
768
  * Install the "click to expand" handler for MLA Searchable Taxonomy Meta Boxes
769
  */
js/mla-media-modal-scripts.min.js CHANGED
@@ -1 +1 @@
1
- (function(c){var e=wp.media,d={},a={},b=null;b=e.ajax;e.ajax=function(g,f){if(_.isObject(g)){f=g}else{f=f||{};f.data=_.extend(f.data||{},{action:g})}if("query-attachments"==f.data.action){stype=typeof f.data.query.s;if("object"==stype){s=f.data.query.s}else{if("string"==stype){s={mla_search_value:f.data.query.s}}else{s={}}}if("undefined"!=typeof s.mla_filter_month){a.filterMonth=s.mla_filter_month}if("undefined"!=typeof s.mla_filter_term){a.filterTerm=s.mla_filter_term}if("undefined"!=typeof s.mla_search_value){a.searchValue=s.mla_search_value}searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};f.data.query.s=searchValues}return b.call(this,f)};d=typeof e.view.l10n.mla_strings==="undefined"?{}:e.view.l10n.mla_strings;a=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;if(a.enableMimeTypes){e.view.AttachmentFilters.Mla=e.view.AttachmentFilters.extend({createFilters:function(){var f={};_.each(a.mimeTypes||{},function(h,g){f[g]={text:h,props:{type:g,uploadedTo:null,orderby:"date",order:"DESC"}}});f.all={text:e.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};f.uploaded={text:e.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:e.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20};this.filters=f}})}if(a.enableMonthsDropdown){e.view.AttachmentFilters.MlaMonths=e.view.AttachmentFilters.extend({className:"attachment-months",createFilters:function(){var f={};_.each(a.months||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_month:g}}}});this.filters=f},select:function(){var f=this.model,h=a.filterMonth,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_month)){g.s.mla_filter_month=a.filterMonth}else{a.filterMonth=g.s.mla_filter_month}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_month==a.filterMonth});if(i){return h=k}});this.$el.val(h)}})}if(a.enableTermsDropdown){e.view.AttachmentFilters.MlaTerms=e.view.AttachmentFilters.extend({className:"attachment-terms",createFilters:function(){var f={};_.each(a.termsText||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_term:parseInt(a.termsValue[g])}}}});this.filters=f},select:function(){var f=this.model,h=a.filterTerm,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_term)){g.s.mla_filter_term=a.filterTerm}else{a.filterTerm=g.s.mla_filter_term}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_term==a.filterTerm});if(i){return h=k}});this.$el.val(h)}})}if(a.enableSearchBox){e.view.MlaSearch=e.View.extend({tagName:"div",className:"mla-search-box",template:e.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{change:"search",click:"search",search:"search",MlaSearch:"search"},render:function(){this.$el.html(this.template(d));return this},search:function(f){if(("click"==f.type)&&("mla_search_submit"!=f.target.name)){return}switch(f.target.name){case"s[mla_search_value]":a.searchValue=f.target.value;case"mla_search_submit":searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};this.model.set({s:searchValues});break;case"s[mla_search_connector]":a.searchConnector=f.target.value;break;case"s[mla_search_title]":index=a.searchFields.indexOf("title");if(-1==index){a.searchFields.push("title")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_name]":index=a.searchFields.indexOf("name");if(-1==index){a.searchFields.push("name")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_alt_text]":index=a.searchFields.indexOf("alt-text");if(-1==index){a.searchFields.push("alt-text")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_excerpt]":index=a.searchFields.indexOf("excerpt");if(-1==index){a.searchFields.push("excerpt")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_content]":index=a.searchFields.indexOf("content");if(-1==index){a.searchFields.push("content")}else{a.searchFields.splice(index,1)}break}}})}if(a.enableMimeTypes||a.enableMonthsDropdown||a.enableTermsDropdown||a.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var f;wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);f=this.options.filters;if(("all"===f)&&a.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new e.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableMonthsDropdown){this.toolbar.set("months",new e.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableTermsDropdown){this.toolbar.set("terms",new e.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search){if(a.enableSearchBox){this.toolbar.unset("search",{silent:true});this.toolbar.set("MlaSearch",new e.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}}if(this.options.dragInfo){this.toolbar.set("dragInfo",new e.View({el:c('<div class="instructions">'+e.view.l10n.dragInfo+"</div>")[0],priority:-40}))}}})}}(jQuery));var mla={strings:{},settings:{},initialHTML:{},uploading:false,utility:{arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mla.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;mla.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;mla.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(postL10n.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(postL10n.comma)}return c};mla.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mla.tagBox={cleanTags:function(c){var b=postL10n.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=postL10n.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(postL10n.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mla.tagBox.parseTags(this)});j.prepend("&nbsp;").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=postL10n.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mla.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mla.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mla.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mla.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mla.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:postL10n.comma+" "})});e.siblings(":first").click(function(){mla.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(i){var k,h=this,g=mla.utility.arrayCleanup(a(".server-tags",h).val()),j=mla.utility.arrayCleanup(a(".the-tags",h).val());if(g===j){return}a(h).css("opacity","0.5");k={id:f,};k[b]=j;wp.media.post(mla.settings.ajaxUpdateCompatAction,k).done(function(m){var l,n;for(l in m){for(n in m[l]){a("#"+n,h).replaceWith(m[l][n])}}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(b){mla.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}});wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("change:uploading",function(b){mla.uploading=true});this.on("change",function(b){if(mla.uploading){mla.utility.hookCompatTaxonomies(b.get("id"),wp.media.frame.$el);mla.uploading=false}})}});mla.utility.hookCompatTaxonomies=function(d,c){var b;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mla.utility.fillCompatTaxonomies(e.data)})})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mla.utility.fillCompatTaxonomies(e.data)})})}};mla.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mla.initialHTML[b])){mla.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mla.initialHTML[b])}a(d+" .categorydiv",c).html(mla.strings.loadingText)})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mla.initialHTML[b])){mla.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mla.initialHTML[b])}a(d+" .tagsdiv",c).html(mla.strings.loadingText)})}if(e.length){wp.media.post(mla.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mla.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mla.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mla.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(p){var r,n,q=[],o=g.find(i+"-checklist input:checked");o.each(function(t){q[q.length]=a(this).val()});q.sort(function(u,t){return u-t});q=q.join(",");n=g.siblings(j).val();if(n===q){return}g.siblings(j).val(q);g.prop("disabled",true);r={id:c,};r[f]=q;wp.media.post(mla.settings.ajaxUpdateCompatAction,r).done(function(u){var t,v;for(t in u){for(v in u[t]){g.find("#"+v).html(u[t][v])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find(m+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove()}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var q,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}q=g.find(l).val(),termList=g.find(i+"-checklist li");termListPopular=g.find(i+"-checklist-pop li");if(0<q.length){termList.hide();termListPopular.hide()}else{termList.show();termListPopular.show()}o=g.find(i+"-checklist label:matchTerms('"+q+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+q+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mla.tagBox.init(c,e,b)})}}}(jQuery));
1
+ (function(c){var e=wp.media,d={},a={},b=null;b=e.ajax;e.ajax=function(g,f){if(_.isObject(g)){f=g}else{f=f||{};f.data=_.extend(f.data||{},{action:g})}if("query-attachments"==f.data.action){stype=typeof f.data.query.s;if("object"==stype){s=f.data.query.s}else{if("string"==stype){s={mla_search_value:f.data.query.s}}else{s={}}}if("undefined"!=typeof s.mla_filter_month){a.filterMonth=s.mla_filter_month}if("undefined"!=typeof s.mla_filter_term){a.filterTerm=s.mla_filter_term}if("undefined"!=typeof s.mla_search_value){a.searchValue=s.mla_search_value}searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};f.data.query.s=searchValues}return b.call(this,f)};d=typeof e.view.l10n.mla_strings==="undefined"?{}:e.view.l10n.mla_strings;a=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;if(a.enableMimeTypes){e.view.AttachmentFilters.Mla=e.view.AttachmentFilters.extend({createFilters:function(){var f={};_.each(a.mimeTypes||{},function(h,g){f[g]={text:h,props:{type:g,uploadedTo:null,orderby:"date",order:"DESC"}}});f.all={text:e.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};f.uploaded={text:e.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:e.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20};this.filters=f}})}if(a.enableMonthsDropdown){e.view.AttachmentFilters.MlaMonths=e.view.AttachmentFilters.extend({className:"attachment-months",createFilters:function(){var f={};_.each(a.months||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_month:g}}}});this.filters=f},select:function(){var f=this.model,h=a.filterMonth,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_month)){g.s.mla_filter_month=a.filterMonth}else{a.filterMonth=g.s.mla_filter_month}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_month==a.filterMonth});if(i){return h=k}});this.$el.val(h)}})}if(a.enableTermsDropdown){e.view.AttachmentFilters.MlaTerms=e.view.AttachmentFilters.extend({className:"attachment-terms",createFilters:function(){var f={};_.each(a.termsText||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_term:parseInt(a.termsValue[g])}}}});this.filters=f},select:function(){var f=this.model,h=a.filterTerm,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_term)){g.s.mla_filter_term=a.filterTerm}else{a.filterTerm=g.s.mla_filter_term}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_term==a.filterTerm});if(i){return h=k}});this.$el.val(h)}})}if(a.enableSearchBox){e.view.MlaSearch=e.View.extend({tagName:"div",className:"mla-search-box",template:e.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{change:"search",click:"search",search:"search",MlaSearch:"search"},render:function(){this.$el.html(this.template(d));return this},search:function(f){if(("click"==f.type)&&("mla_search_submit"!=f.target.name)){return}switch(f.target.name){case"s[mla_search_value]":a.searchValue=f.target.value;case"mla_search_submit":searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};this.model.set({s:searchValues});break;case"s[mla_search_connector]":a.searchConnector=f.target.value;break;case"s[mla_search_title]":index=a.searchFields.indexOf("title");if(-1==index){a.searchFields.push("title")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_name]":index=a.searchFields.indexOf("name");if(-1==index){a.searchFields.push("name")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_alt_text]":index=a.searchFields.indexOf("alt-text");if(-1==index){a.searchFields.push("alt-text")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_excerpt]":index=a.searchFields.indexOf("excerpt");if(-1==index){a.searchFields.push("excerpt")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_content]":index=a.searchFields.indexOf("content");if(-1==index){a.searchFields.push("content")}else{a.searchFields.splice(index,1)}break}}})}if(a.enableMimeTypes||a.enableMonthsDropdown||a.enableTermsDropdown||a.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var f;wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);f=this.options.filters;if(("all"===f)&&a.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new e.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableMonthsDropdown){this.toolbar.set("months",new e.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableTermsDropdown){this.toolbar.set("terms",new e.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search){if(a.enableSearchBox){this.toolbar.unset("search",{silent:true});this.toolbar.set("MlaSearch",new e.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}}if(this.options.dragInfo){this.toolbar.set("dragInfo",new e.View({el:c('<div class="instructions">'+e.view.l10n.dragInfo+"</div>")[0],priority:-40}))}}})}}(jQuery));var mla={strings:{},settings:{},initialHTML:{},uploading:false,cid:null,utility:{arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mla.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;mla.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;mla.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(postL10n.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(postL10n.comma)}return c};mla.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mla.tagBox={cleanTags:function(c){var b=postL10n.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=postL10n.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(postL10n.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mla.tagBox.parseTags(this)});j.prepend("&nbsp;").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=postL10n.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mla.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mla.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mla.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mla.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mla.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:postL10n.comma+" "})});e.siblings(":first").click(function(){mla.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(i){var k,h=this,g=mla.utility.arrayCleanup(a(".server-tags",h).val()),j=mla.utility.arrayCleanup(a(".the-tags",h).val());if(g===j){return}a(h).css("opacity","0.5");k={id:f,};k[b]=j;wp.media.post(mla.settings.ajaxUpdateCompatAction,k).done(function(m){var l,n;for(l in m){for(n in m[l]){a("#"+n,h).replaceWith(m[l][n])}}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};if(mla.settings.enableDetailsCategory||mla.settings.enableDetailsTag){wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(b){mla.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}})}if(mla.settings.enableDetailsCategory||mla.settings.enableDetailsTag){wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("selection:reset",function(b){mla.cid=null});this.on("selection:unsingle",function(b){mla.cid=null});this.on("selection:single",function(b){mla.cid=b.cid});this.on("change:uploading",function(b){mla.uploading=true});this.on("change",function(d){if(mla.uploading&&mla.cid===d.cid){var b=wp.media.editor.get("content"),c=b.content.get("compat");mla.utility.hookCompatTaxonomies(d.get("id"),c.sidebar.$el);mla.uploading=false}})}})}mla.utility.hookCompatTaxonomies=function(d,c){var b;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mla.utility.fillCompatTaxonomies(e.data)})})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mla.utility.fillCompatTaxonomies(e.data)})})}};mla.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mla.initialHTML[b])){mla.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mla.initialHTML[b])}a(d+" .categorydiv",c).html(mla.strings.loadingText)})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mla.initialHTML[b])){mla.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mla.initialHTML[b])}a(d+" .tagsdiv",c).html(mla.strings.loadingText)})}if(e.length){wp.media.post(mla.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mla.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mla.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mla.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(p){var r,n,q=[],o=g.find(i+"-checklist input:checked");o.each(function(t){q[q.length]=a(this).val()});q.sort(function(u,t){return u-t});q=q.join(",");n=g.siblings(j).val();if(n===q){return}g.siblings(j).val(q);g.prop("disabled",true);r={id:c,};r[f]=q;wp.media.post(mla.settings.ajaxUpdateCompatAction,r).done(function(u){var t,v;for(t in u){for(v in u[t]){g.find("#"+v).html(u[t][v])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find(m+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove()}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var q,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}q=g.find(l).val(),termList=g.find(i+"-checklist li");termListPopular=g.find(i+"-checklist-pop li");if(0<q.length){termList.hide();termListPopular.hide()}else{termList.show();termListPopular.show()}o=g.find(i+"-checklist label:matchTerms('"+q+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+q+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mla.tagBox.init(c,e,b)})}}}(jQuery));
languages/{en_US.pot → media-library-assistant-en_US.pot} RENAMED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
- "POT-Creation-Date: 2014-03-28 14:58-0800\n"
5
- "PO-Revision-Date: 2014-03-28 14:59-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"
@@ -89,7 +89,7 @@ msgid ""
89
  msgstr ""
90
 
91
  #. translators: 1: function name 2: non-array value
92
- #: includes/class-mla-data.php:1253 includes/class-mla-main.php:1321
93
  #: includes/class-mla-mime-types.php:483
94
  #: includes/class-mla-mime-types.php:1218
95
  #: includes/class-mla-mime-types.php:2355 includes/class-mla-settings.php:1162
@@ -303,42 +303,42 @@ msgid "ERROR: File \"%1$s\", startxref not found."
303
  msgstr ""
304
 
305
  #. translators: 1: meta_key
306
- #: includes/class-mla-data.php:4770
307
  #, php-format
308
  msgid "Deleting meta:%1$s"
309
  msgstr ""
310
 
311
  #. translators: 1: meta_key
312
- #: includes/class-mla-data.php:4773
313
  #, php-format
314
  msgid "ERROR: meta:%1$s not found"
315
  msgstr ""
316
 
317
  #. translators: 1: meta_key 2: meta_value
318
- #: includes/class-mla-data.php:4782
319
  #, php-format
320
  msgid "Adding meta:%1$s = %2$s"
321
  msgstr ""
322
 
323
  #. translators: 1: meta_key
324
- #: includes/class-mla-data.php:4786
325
  #, php-format
326
  msgid "ERROR: Adding meta:%1$s; not found"
327
  msgstr ""
328
 
329
  #. translators: 1: meta_key
330
- #: includes/class-mla-data.php:4793
331
  #, php-format
332
  msgid "Deleting Null meta:%1$s"
333
  msgstr ""
334
 
335
  #. translators: 1: element name 2: old_value 3: new_value
336
- #: includes/class-mla-data.php:4803 includes/class-mla-data.php:4954
337
- #: includes/class-mla-data.php:5015 includes/class-mla-data.php:5041
338
- #: includes/class-mla-data.php:5075 includes/class-mla-data.php:5088
339
- #: includes/class-mla-data.php:5097 includes/class-mla-data.php:5108
340
- #: includes/class-mla-data.php:5119 includes/class-mla-data.php:5132
341
- #: includes/class-mla-data.php:5141 includes/class-mla-data.php:5150
342
  #: includes/class-mla-mime-types.php:1052
343
  #: includes/class-mla-mime-types.php:2119
344
  #, php-format
@@ -346,182 +346,182 @@ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
346
  msgstr ""
347
 
348
  #. translators: 1: meta_key
349
- #: includes/class-mla-data.php:4808
350
  #, php-format
351
  msgid "ERROR: Changing meta:%1$s; not found"
352
  msgstr ""
353
 
354
  #. translators: 1: meta_key
355
- #: includes/class-mla-data.php:4868
356
  #, php-format
357
  msgid "Deleting %1$s"
358
  msgstr ""
359
 
360
  #. translators: 1: meta_key 2: new_value
361
- #: includes/class-mla-data.php:4879
362
  #, php-format
363
  msgid "Adding %1$s = [%2$s]"
364
  msgstr ""
365
 
366
  #. translators: 1: meta_key 2: meta_value
367
- #: includes/class-mla-data.php:4885
368
  #, php-format
369
  msgid "Adding %1$s = %2$s"
370
  msgstr ""
371
 
372
  #. translators: 1: meta_key
373
- #: includes/class-mla-data.php:4909
374
  #, php-format
375
  msgid "Deleting old %1$s values"
376
  msgstr ""
377
 
378
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
379
- #: includes/class-mla-data.php:4939
380
  #, php-format
381
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
382
  msgstr ""
383
 
384
- #: includes/class-mla-data.php:4997 includes/class-mla-main.php:1598
385
  msgid "ERROR: Could not retrieve Attachment."
386
  msgstr ""
387
 
388
- #: includes/class-mla-data.php:5015 includes/class-mla-main.php:1125
389
- #: includes/class-mla-main.php:1127 includes/class-mla-main.php:1448
390
- #: includes/class-mla-main.php:1816 includes/class-mla-objects.php:273
391
  #: includes/class-mla-options.php:919
392
  #: includes/mla-media-modal-js-template.php:32
393
  msgid "Title"
394
  msgstr ""
395
 
396
  #. translators: 1: old_value
397
- #: includes/class-mla-data.php:5038
398
  #, php-format
399
  msgid "ERROR: Could not change Name/Slug \"%1$s\"; name already exists"
400
  msgstr ""
401
 
402
- #: includes/class-mla-data.php:5041 includes/class-mla-main.php:1449
403
- #: includes/class-mla-main.php:1819 includes/class-mla-options.php:926
404
  msgid "Name/Slug"
405
  msgstr ""
406
 
407
  #. translators: 1: old_value
408
- #: includes/class-mla-data.php:5067
409
  #, php-format
410
  msgid "Deleting ALT Text, was \"%1$s\""
411
  msgstr ""
412
 
413
  #. translators: 1: old_value
414
- #: includes/class-mla-data.php:5070
415
  #, php-format
416
  msgid "ERROR: Could not delete ALT Text, remains \"%1$s\""
417
  msgstr ""
418
 
419
- #: includes/class-mla-data.php:5075 includes/class-mla-list-table.php:931
420
- #: includes/class-mla-main.php:1137 includes/class-mla-main.php:1139
421
- #: includes/class-mla-main.php:1452 includes/class-mla-main.php:1822
422
  #: includes/class-mla-options.php:933
423
  #: includes/mla-media-modal-js-template.php:41
424
  msgid "ALT Text"
425
  msgstr ""
426
 
427
  #. translators: 1: old_value 2: new_value
428
- #: includes/class-mla-data.php:5078
429
  #, php-format
430
  msgid "ERROR: Could not change ALT Text from \"%1$s\" to \"%2$s\""
431
  msgstr ""
432
 
433
- #: includes/class-mla-data.php:5088 includes/class-mla-main.php:1143
434
- #: includes/class-mla-main.php:1145 includes/class-mla-main.php:1450
435
- #: includes/class-mla-main.php:1825 includes/class-mla-options.php:940
436
  #: includes/mla-media-modal-js-template.php:45
437
  msgid "Caption"
438
  msgstr ""
439
 
440
- #: includes/class-mla-data.php:5097 includes/class-mla-main.php:1149
441
- #: includes/class-mla-main.php:1151 includes/class-mla-main.php:1451
442
- #: includes/class-mla-main.php:1827 includes/class-mla-options.php:947
443
  #: includes/class-mla-settings.php:1128 includes/class-mla-settings.php:1385
444
  #: includes/class-mla-settings.php:1484 includes/class-mla-settings.php:1848
445
  #: includes/mla-media-modal-js-template.php:49
446
  msgid "Description"
447
  msgstr ""
448
 
449
- #: includes/class-mla-data.php:5108 includes/class-mla-list-table.php:666
450
  #: includes/class-mla-list-table.php:758 includes/class-mla-options.php:3751
451
  #: includes/class-mla-options.php:4091
452
  msgid "Parent"
453
  msgstr ""
454
 
455
- #: includes/class-mla-data.php:5119 includes/class-mla-edit-media.php:284
456
- #: includes/class-mla-edit-media.php:410 includes/class-mla-main.php:1454
457
- #: includes/class-mla-main.php:1833 includes/class-mla-settings.php:1126
458
  #: includes/class-mla-settings.php:1383
459
  msgid "Menu Order"
460
  msgstr ""
461
 
462
- #: includes/class-mla-data.php:5132 includes/class-mla-list-table.php:1080
463
- #: includes/class-mla-main.php:1327 includes/class-mla-main.php:1429
464
- #: includes/class-mla-main.php:1647
465
  msgid "Author"
466
  msgstr ""
467
 
468
- #: includes/class-mla-data.php:5141 includes/class-mla-main.php:1465
469
  msgid "Comments"
470
  msgstr ""
471
 
472
- #: includes/class-mla-data.php:5150 includes/class-mla-main.php:1466
473
  msgid "Pings"
474
  msgstr ""
475
 
476
- #: includes/class-mla-data.php:5184
477
  msgid "Adding"
478
  msgstr ""
479
 
480
- #: includes/class-mla-data.php:5188
481
  msgid "Removing"
482
  msgstr ""
483
 
484
- #: includes/class-mla-data.php:5193
485
  msgid "Replacing"
486
  msgstr ""
487
 
488
- #: includes/class-mla-data.php:5197
489
  msgid "Ignoring"
490
  msgstr ""
491
 
492
  #. translators: 1: action_name, 2: taxonomy
493
- #: includes/class-mla-data.php:5209
494
  #, php-format
495
  msgid "%1$s \"%2$s\" terms"
496
  msgstr ""
497
 
498
  #. translators: 1: taxonomy
499
- #: includes/class-mla-data.php:5213
500
  #, php-format
501
  msgid "You cannot assign \"%1$s\" terms"
502
  msgstr ""
503
 
504
  #. translators: 1: post ID
505
- #: includes/class-mla-data.php:5225
506
  #, php-format
507
  msgid "Item %1$d, no changes detected."
508
  msgstr ""
509
 
510
  #. translators: 1: post ID
511
- #: includes/class-mla-data.php:5237
512
  #, php-format
513
  msgid "Item %1$d updated."
514
  msgstr ""
515
 
516
  #. translators: 1: post ID
517
- #: includes/class-mla-data.php:5251
518
  #, php-format
519
  msgid "ERROR: Item %1$d update failed."
520
  msgstr ""
521
 
522
- #: includes/class-mla-data.php:5274 includes/class-mla-edit-media.php:125
523
  #: includes/class-mla-edit-media.php:163 includes/class-mla-main.php:297
524
- #: includes/class-mla-main.php:317 includes/class-mla-main.php:1257
525
  #: includes/class-mla-settings.php:307 includes/class-mla-settings.php:325
526
  msgctxt "tag_delimiter"
527
  msgid ","
@@ -540,7 +540,7 @@ msgstr ""
540
  msgid "M j, Y @ G:i"
541
  msgstr ""
542
 
543
- #: includes/class-mla-edit-media.php:202 includes/class-mla-main.php:1811
544
  msgid "Last modified"
545
  msgstr ""
546
 
@@ -548,7 +548,7 @@ msgstr ""
548
  msgid "Map Custom Field metadata for this item"
549
  msgstr ""
550
 
551
- #: includes/class-mla-edit-media.php:213 includes/class-mla-main.php:1472
552
  msgid "Map Custom Field Metadata"
553
  msgstr ""
554
 
@@ -561,7 +561,7 @@ msgid "Map IPTC/EXIF Metadata"
561
  msgstr ""
562
 
563
  #: includes/class-mla-edit-media.php:283 includes/class-mla-edit-media.php:395
564
- #: includes/class-mla-main.php:1829
565
  msgid "Parent Info"
566
  msgstr ""
567
 
@@ -570,29 +570,29 @@ msgid "Attachment Metadata"
570
  msgstr ""
571
 
572
  #: includes/class-mla-edit-media.php:292 includes/class-mla-edit-media.php:464
573
- #: includes/class-mla-main.php:1840 includes/class-mla-options.php:431
574
  msgid "Featured in"
575
  msgstr ""
576
 
577
  #: includes/class-mla-edit-media.php:296 includes/class-mla-edit-media.php:500
578
- #: includes/class-mla-main.php:1842 includes/class-mla-options.php:440
579
  msgid "Inserted in"
580
  msgstr ""
581
 
582
  #: includes/class-mla-edit-media.php:300 includes/class-mla-edit-media.php:532
583
- #: includes/class-mla-main.php:1844 includes/class-mla-options.php:449
584
  #: includes/class-mla-settings.php:3290
585
  msgid "Gallery in"
586
  msgstr ""
587
 
588
  #: includes/class-mla-edit-media.php:304 includes/class-mla-edit-media.php:564
589
- #: includes/class-mla-main.php:1846 includes/class-mla-options.php:458
590
  #: includes/class-mla-settings.php:3300
591
  msgid "MLA Gallery in"
592
  msgstr ""
593
 
594
  #. translators: 1: function name 2: template key
595
- #: includes/class-mla-edit-media.php:347 includes/class-mla-main.php:531
596
  #: includes/class-mla-settings.php:469
597
  #, php-format
598
  msgctxt "error_log"
@@ -607,8 +607,8 @@ msgstr ""
607
  #: includes/class-mla-edit-media.php:523 includes/class-mla-edit-media.php:555
608
  #: includes/class-mla-list-table.php:794 includes/class-mla-list-table.php:831
609
  #: includes/class-mla-list-table.php:866 includes/class-mla-list-table.php:900
610
- #: includes/class-mla-main.php:1660 includes/class-mla-main.php:1679
611
- #: includes/class-mla-main.php:1696 includes/class-mla-main.php:1712
612
  msgid "PARENT"
613
  msgstr ""
614
 
@@ -800,7 +800,7 @@ msgstr ""
800
  msgid "Edit this item inline"
801
  msgstr ""
802
 
803
- #: includes/class-mla-list-table.php:551 includes/class-mla-main.php:1447
804
  #: includes/class-mla-options.php:2867 includes/class-mla-options.php:3139
805
  #: includes/class-mla-upload-list-table.php:314
806
  #: includes/class-mla-view-list-table.php:304
@@ -849,8 +849,8 @@ msgstr ""
849
 
850
  #: includes/class-mla-list-table.php:787 includes/class-mla-list-table.php:821
851
  #: includes/class-mla-list-table.php:859 includes/class-mla-list-table.php:893
852
- #: includes/class-mla-main.php:1668 includes/class-mla-main.php:1688
853
- #: includes/class-mla-main.php:1704 includes/class-mla-main.php:1720
854
  #: includes/class-mla-options.php:435 includes/class-mla-options.php:444
855
  #: includes/class-mla-options.php:453 includes/class-mla-options.php:462
856
  msgid "Disabled"
@@ -925,7 +925,7 @@ msgstr ""
925
  msgid "Remove From Bulk Edit"
926
  msgstr ""
927
 
928
- #: includes/class-mla-main.php:415
929
  #, php-format
930
  msgid "Item permanently deleted."
931
  msgid_plural "%d items permanently deleted."
@@ -933,35 +933,35 @@ msgstr[0] ""
933
  msgstr[1] ""
934
 
935
  #. translators: 1: post ID
936
- #: includes/class-mla-main.php:420 includes/class-mla-main.php:1928
937
  #, php-format
938
  msgid "Item %1$d moved to Trash."
939
  msgstr ""
940
 
941
- #: includes/class-mla-main.php:439
942
  msgid "Entries per page"
943
  msgstr ""
944
 
945
- #: includes/class-mla-main.php:751
946
  msgid "You do not have permission to manage attachments."
947
  msgstr ""
948
 
949
  #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
950
- #: includes/class-mla-main.php:890 includes/class-mla-settings.php:1240
951
  #: includes/class-mla-settings.php:1707
952
  #, php-format
953
  msgid "Unknown bulk action %1$s"
954
  msgstr ""
955
 
956
  #. translators: 1: action name, e.g., edit
957
- #: includes/class-mla-main.php:915 includes/class-mla-settings.php:1250
958
  #: includes/class-mla-settings.php:1718
959
  #, php-format
960
  msgid "Bulk Action %1$s - no items selected."
961
  msgstr ""
962
 
963
- #: includes/class-mla-main.php:941 includes/class-mla-main.php:1002
964
- #: includes/class-mla-main.php:1031 includes/class-mla-settings.php:547
965
  #: includes/class-mla-settings.php:587 includes/class-mla-settings.php:1194
966
  #: includes/class-mla-settings.php:1271 includes/class-mla-settings.php:1660
967
  #: includes/class-mla-settings.php:1739 includes/class-mla-settings.php:2290
@@ -971,7 +971,7 @@ msgstr ""
971
  msgid "ERROR:"
972
  msgstr ""
973
 
974
- #: includes/class-mla-main.php:949
975
  #, php-format
976
  msgctxt "deleted items"
977
  msgid "%s item deleted."
@@ -979,51 +979,51 @@ msgid_plural "%s items deleted."
979
  msgstr[0] ""
980
  msgstr[1] ""
981
 
982
- #: includes/class-mla-main.php:951
983
  msgid "No items deleted."
984
  msgstr ""
985
 
986
- #: includes/class-mla-main.php:966
987
  msgid "Edit single item"
988
  msgstr ""
989
 
990
  #. translators: 1: post ID
991
- #: includes/class-mla-main.php:979
992
  #, php-format
993
  msgid "Item %1$d cancelled."
994
  msgstr ""
995
 
996
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
997
- #: includes/class-mla-main.php:993 includes/class-mla-settings.php:1287
998
  #: includes/class-mla-settings.php:1757
999
  #, php-format
1000
  msgid "Unknown mla_admin_action - \"%1$s\""
1001
  msgstr ""
1002
 
1003
- #: includes/class-mla-main.php:1022
1004
  msgid "post/parent results for"
1005
  msgstr ""
1006
 
1007
- #: includes/class-mla-main.php:1024
1008
  msgid "search results for"
1009
  msgstr ""
1010
 
1011
- #: includes/class-mla-main.php:1113
1012
  #: includes/mla-media-modal-js-template.php:17
1013
  msgid "Search Media"
1014
  msgstr ""
1015
 
1016
- #: includes/class-mla-main.php:1117 includes/class-mla-main.php:1120
1017
  #: includes/mla-media-modal-js-template.php:24
1018
  msgid "and"
1019
  msgstr ""
1020
 
1021
- #: includes/class-mla-main.php:1118 includes/class-mla-main.php:1121
1022
  #: includes/mla-media-modal-js-template.php:28
1023
  msgid "or"
1024
  msgstr ""
1025
 
1026
- #: includes/class-mla-main.php:1131 includes/class-mla-main.php:1133
1027
  #: includes/class-mla-settings.php:1987 includes/class-mla-settings.php:2020
1028
  #: includes/class-mla-settings.php:2046 includes/class-mla-settings.php:2081
1029
  #: includes/class-mla-settings.php:2138 includes/class-mla-settings.php:2188
@@ -1031,31 +1031,31 @@ msgstr ""
1031
  msgid "Name"
1032
  msgstr ""
1033
 
1034
- #: includes/class-mla-main.php:1212
1035
  msgid "ERROR: No post ID found"
1036
  msgstr ""
1037
 
1038
- #: includes/class-mla-main.php:1219 includes/class-mla-main.php:1605
1039
  msgid "You are not allowed to edit this Attachment."
1040
  msgstr ""
1041
 
1042
- #: includes/class-mla-main.php:1362
1043
  msgid "more"
1044
  msgstr ""
1045
 
1046
- #: includes/class-mla-main.php:1363
1047
  msgid "less"
1048
  msgstr ""
1049
 
1050
- #: includes/class-mla-main.php:1366 includes/class-mla-main.php:1404
1051
  msgid "Add"
1052
  msgstr ""
1053
 
1054
- #: includes/class-mla-main.php:1367 includes/class-mla-main.php:1405
1055
  msgid "Remove"
1056
  msgstr ""
1057
 
1058
- #: includes/class-mla-main.php:1368 includes/class-mla-main.php:1406
1059
  #: includes/class-mla-options.php:2965 includes/class-mla-options.php:3062
1060
  #: includes/class-mla-options.php:3104 includes/class-mla-options.php:3980
1061
  #: includes/class-mla-options.php:4030 includes/class-mla-options.php:4127
@@ -1063,136 +1063,136 @@ msgstr ""
1063
  msgid "Replace"
1064
  msgstr ""
1065
 
1066
- #: includes/class-mla-main.php:1453
1067
  msgid "Parent ID"
1068
  msgstr ""
1069
 
1070
- #: includes/class-mla-main.php:1459 includes/class-mla-main.php:1802
1071
  #: includes/class-mla-settings.php:1131 includes/class-mla-settings.php:1390
1072
  #: includes/class-mla-settings.php:1487 includes/class-mla-settings.php:1559
1073
  #: includes/class-mla-settings.php:1855
1074
  msgid "Cancel"
1075
  msgstr ""
1076
 
1077
- #: includes/class-mla-main.php:1460 includes/class-mla-main.php:1803
1078
  #: includes/class-mla-settings.php:1130 includes/class-mla-settings.php:1391
1079
  #: includes/class-mla-settings.php:1486 includes/class-mla-settings.php:1856
1080
  msgid "Update"
1081
  msgstr ""
1082
 
1083
- #: includes/class-mla-main.php:1461 includes/class-mla-options.php:2881
1084
  #: includes/class-mla-options.php:3140 includes/class-mla-settings.php:1392
1085
  #: includes/class-mla-settings.php:1857
1086
  msgid "Bulk Edit"
1087
  msgstr ""
1088
 
1089
- #: includes/class-mla-main.php:1467 includes/class-mla-main.php:1505
1090
  #: includes/class-mla-settings.php:1393 includes/class-mla-settings.php:1431
1091
  #: includes/class-mla-settings.php:1859
1092
  msgid "No Change"
1093
  msgstr ""
1094
 
1095
- #: includes/class-mla-main.php:1468
1096
  msgid "Allow"
1097
  msgstr ""
1098
 
1099
- #: includes/class-mla-main.php:1469
1100
  msgid "Do not allow"
1101
  msgstr ""
1102
 
1103
- #: includes/class-mla-main.php:1471 includes/class-mla-main.php:1804
1104
  msgid "Map IPTC/EXIF metadata"
1105
  msgstr ""
1106
 
1107
- #: includes/class-mla-main.php:1557
1108
  msgid "ERROR: You are not allowed to delete this item."
1109
  msgstr ""
1110
 
1111
  #. translators: 1: post ID
1112
- #: includes/class-mla-main.php:1565
1113
  #, php-format
1114
  msgid "ERROR: Item %1$d could NOT be deleted."
1115
  msgstr ""
1116
 
1117
  #. translators: 1: post ID
1118
- #: includes/class-mla-main.php:1572
1119
  #, php-format
1120
  msgid "Item %1$d permanently deleted."
1121
  msgstr ""
1122
 
1123
  #. translators: 1: page_template_array
1124
- #: includes/class-mla-main.php:1632
1125
  #, php-format
1126
  msgctxt "error_log"
1127
  msgid "ERROR: MLA::_display_single_item \\$page_template_array = \"%1$s\""
1128
  msgstr ""
1129
 
1130
- #: includes/class-mla-main.php:1806
1131
  msgid "File name"
1132
  msgstr ""
1133
 
1134
- #: includes/class-mla-main.php:1808
1135
  msgid "File type"
1136
  msgstr ""
1137
 
1138
- #: includes/class-mla-main.php:1809
1139
  msgid "Upload date"
1140
  msgstr ""
1141
 
1142
- #: includes/class-mla-main.php:1813
1143
  msgid "Dimensions"
1144
  msgstr ""
1145
 
1146
- #: includes/class-mla-main.php:1817
1147
  msgid "required"
1148
  msgstr ""
1149
 
1150
- #: includes/class-mla-main.php:1821
1151
  msgid "Must be unique; will be validated."
1152
  msgstr ""
1153
 
1154
- #: includes/class-mla-main.php:1824
1155
  msgid "Alternate text for the image, e.g. &#8220;The Mona Lisa&#8221;"
1156
  msgstr ""
1157
 
1158
- #: includes/class-mla-main.php:1832
1159
  msgid "ID, type and title of parent, if any."
1160
  msgstr ""
1161
 
1162
- #: includes/class-mla-main.php:1835
1163
  msgid "File URL"
1164
  msgstr ""
1165
 
1166
- #: includes/class-mla-main.php:1837
1167
  msgid "Location of the uploaded file."
1168
  msgstr ""
1169
 
1170
- #: includes/class-mla-main.php:1838
1171
  msgid "Image Metadata"
1172
  msgstr ""
1173
 
1174
- #: includes/class-mla-main.php:1873
1175
  msgid "ERROR: You are not allowed to move this item out of the Trash."
1176
  msgstr ""
1177
 
1178
  #. translators: 1: post ID
1179
- #: includes/class-mla-main.php:1881
1180
  #, php-format
1181
  msgid "ERROR: Item %1$d could NOT be restored from Trash."
1182
  msgstr ""
1183
 
1184
  #. translators: 1: post ID
1185
- #: includes/class-mla-main.php:1896
1186
  #, php-format
1187
  msgid "Item %1$d restored from Trash."
1188
  msgstr ""
1189
 
1190
- #: includes/class-mla-main.php:1913
1191
  msgid "ERROR: You are not allowed to move this item to the Trash."
1192
  msgstr ""
1193
 
1194
  #. translators: 1: post ID
1195
- #: includes/class-mla-main.php:1921
1196
  #, php-format
1197
  msgid "ERROR: Item %1$d could NOT be moved to Trash."
1198
  msgstr ""
@@ -3706,67 +3706,67 @@ msgstr ""
3706
  msgid "ERROR: Invalid mla_gallery"
3707
  msgstr ""
3708
 
3709
- #: includes/class-mla-shortcodes.php:2967
3710
  msgid "mla_debug query"
3711
  msgstr ""
3712
 
3713
- #: includes/class-mla-shortcodes.php:2968
3714
  msgid "mla_debug request"
3715
  msgstr ""
3716
 
3717
- #: includes/class-mla-shortcodes.php:2969
3718
  msgid "mla_debug query_vars"
3719
  msgstr ""
3720
 
3721
- #: includes/class-mla-shortcodes.php:2970
3722
  msgid "mla_debug post_count"
3723
  msgstr ""
3724
 
3725
- #: includes/class-mla-shortcodes.php:2996
3726
  msgid "mla_debug WHERE filter"
3727
  msgstr ""
3728
 
3729
- #: includes/class-mla-shortcodes.php:3015
3730
  msgid "mla_debug modified WHERE filter"
3731
  msgstr ""
3732
 
3733
- #: includes/class-mla-shortcodes.php:3038
3734
  msgid "mla_debug ORDER BY filter, incoming"
3735
  msgstr ""
3736
 
3737
- #: includes/class-mla-shortcodes.php:3038
3738
  msgid "Replacement ORDER BY clause"
3739
  msgstr ""
3740
 
3741
- #: includes/class-mla-shortcodes.php:3061
3742
  msgid "mla_debug posts_clauses filter"
3743
  msgstr ""
3744
 
3745
- #: includes/class-mla-shortcodes.php:3079
3746
  msgid "mla_debug posts_clauses_request filter"
3747
  msgstr ""
3748
 
3749
- #: includes/class-mla-shortcodes.php:3215
3750
  msgid "Invalid taxonomy"
3751
  msgstr ""
3752
 
3753
- #: includes/class-mla-shortcodes.php:3367
3754
  msgid "mla_debug query arguments"
3755
  msgstr ""
3756
 
3757
- #: includes/class-mla-shortcodes.php:3368
3758
  msgid "mla_debug last_query"
3759
  msgstr ""
3760
 
3761
- #: includes/class-mla-shortcodes.php:3369
3762
  msgid "mla_debug last_error"
3763
  msgstr ""
3764
 
3765
- #: includes/class-mla-shortcodes.php:3370
3766
  msgid "mla_debug num_rows"
3767
  msgstr ""
3768
 
3769
- #: includes/class-mla-shortcodes.php:3371
3770
  msgid "mla_debug found_rows"
3771
  msgstr ""
3772
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Media Library Assistant\n"
4
+ "POT-Creation-Date: 2014-04-02 22:19-0800\n"
5
+ "PO-Revision-Date: 2014-04-02 22:19-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"
89
  msgstr ""
90
 
91
  #. translators: 1: function name 2: non-array value
92
+ #: includes/class-mla-data.php:1253 includes/class-mla-main.php:1333
93
  #: includes/class-mla-mime-types.php:483
94
  #: includes/class-mla-mime-types.php:1218
95
  #: includes/class-mla-mime-types.php:2355 includes/class-mla-settings.php:1162
303
  msgstr ""
304
 
305
  #. translators: 1: meta_key
306
+ #: includes/class-mla-data.php:4837
307
  #, php-format
308
  msgid "Deleting meta:%1$s"
309
  msgstr ""
310
 
311
  #. translators: 1: meta_key
312
+ #: includes/class-mla-data.php:4840
313
  #, php-format
314
  msgid "ERROR: meta:%1$s not found"
315
  msgstr ""
316
 
317
  #. translators: 1: meta_key 2: meta_value
318
+ #: includes/class-mla-data.php:4849
319
  #, php-format
320
  msgid "Adding meta:%1$s = %2$s"
321
  msgstr ""
322
 
323
  #. translators: 1: meta_key
324
+ #: includes/class-mla-data.php:4853
325
  #, php-format
326
  msgid "ERROR: Adding meta:%1$s; not found"
327
  msgstr ""
328
 
329
  #. translators: 1: meta_key
330
+ #: includes/class-mla-data.php:4860
331
  #, php-format
332
  msgid "Deleting Null meta:%1$s"
333
  msgstr ""
334
 
335
  #. translators: 1: element name 2: old_value 3: new_value
336
+ #: includes/class-mla-data.php:4870 includes/class-mla-data.php:5021
337
+ #: includes/class-mla-data.php:5082 includes/class-mla-data.php:5108
338
+ #: includes/class-mla-data.php:5142 includes/class-mla-data.php:5155
339
+ #: includes/class-mla-data.php:5164 includes/class-mla-data.php:5175
340
+ #: includes/class-mla-data.php:5186 includes/class-mla-data.php:5199
341
+ #: includes/class-mla-data.php:5208 includes/class-mla-data.php:5217
342
  #: includes/class-mla-mime-types.php:1052
343
  #: includes/class-mla-mime-types.php:2119
344
  #, php-format
346
  msgstr ""
347
 
348
  #. translators: 1: meta_key
349
+ #: includes/class-mla-data.php:4875
350
  #, php-format
351
  msgid "ERROR: Changing meta:%1$s; not found"
352
  msgstr ""
353
 
354
  #. translators: 1: meta_key
355
+ #: includes/class-mla-data.php:4935
356
  #, php-format
357
  msgid "Deleting %1$s"
358
  msgstr ""
359
 
360
  #. translators: 1: meta_key 2: new_value
361
+ #: includes/class-mla-data.php:4946
362
  #, php-format
363
  msgid "Adding %1$s = [%2$s]"
364
  msgstr ""
365
 
366
  #. translators: 1: meta_key 2: meta_value
367
+ #: includes/class-mla-data.php:4952
368
  #, php-format
369
  msgid "Adding %1$s = %2$s"
370
  msgstr ""
371
 
372
  #. translators: 1: meta_key
373
+ #: includes/class-mla-data.php:4976
374
  #, php-format
375
  msgid "Deleting old %1$s values"
376
  msgstr ""
377
 
378
  #. translators: 1: meta_key 2: old_value 3: new_value 4: update count
379
+ #: includes/class-mla-data.php:5006
380
  #, php-format
381
  msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
382
  msgstr ""
383
 
384
+ #: includes/class-mla-data.php:5064 includes/class-mla-main.php:1610
385
  msgid "ERROR: Could not retrieve Attachment."
386
  msgstr ""
387
 
388
+ #: includes/class-mla-data.php:5082 includes/class-mla-main.php:1137
389
+ #: includes/class-mla-main.php:1139 includes/class-mla-main.php:1460
390
+ #: includes/class-mla-main.php:1828 includes/class-mla-objects.php:273
391
  #: includes/class-mla-options.php:919
392
  #: includes/mla-media-modal-js-template.php:32
393
  msgid "Title"
394
  msgstr ""
395
 
396
  #. translators: 1: old_value
397
+ #: includes/class-mla-data.php:5105
398
  #, php-format
399
  msgid "ERROR: Could not change Name/Slug \"%1$s\"; name already exists"
400
  msgstr ""
401
 
402
+ #: includes/class-mla-data.php:5108 includes/class-mla-main.php:1461
403
+ #: includes/class-mla-main.php:1831 includes/class-mla-options.php:926
404
  msgid "Name/Slug"
405
  msgstr ""
406
 
407
  #. translators: 1: old_value
408
+ #: includes/class-mla-data.php:5134
409
  #, php-format
410
  msgid "Deleting ALT Text, was \"%1$s\""
411
  msgstr ""
412
 
413
  #. translators: 1: old_value
414
+ #: includes/class-mla-data.php:5137
415
  #, php-format
416
  msgid "ERROR: Could not delete ALT Text, remains \"%1$s\""
417
  msgstr ""
418
 
419
+ #: includes/class-mla-data.php:5142 includes/class-mla-list-table.php:931
420
+ #: includes/class-mla-main.php:1149 includes/class-mla-main.php:1151
421
+ #: includes/class-mla-main.php:1464 includes/class-mla-main.php:1834
422
  #: includes/class-mla-options.php:933
423
  #: includes/mla-media-modal-js-template.php:41
424
  msgid "ALT Text"
425
  msgstr ""
426
 
427
  #. translators: 1: old_value 2: new_value
428
+ #: includes/class-mla-data.php:5145
429
  #, php-format
430
  msgid "ERROR: Could not change ALT Text from \"%1$s\" to \"%2$s\""
431
  msgstr ""
432
 
433
+ #: includes/class-mla-data.php:5155 includes/class-mla-main.php:1155
434
+ #: includes/class-mla-main.php:1157 includes/class-mla-main.php:1462
435
+ #: includes/class-mla-main.php:1837 includes/class-mla-options.php:940
436
  #: includes/mla-media-modal-js-template.php:45
437
  msgid "Caption"
438
  msgstr ""
439
 
440
+ #: includes/class-mla-data.php:5164 includes/class-mla-main.php:1161
441
+ #: includes/class-mla-main.php:1163 includes/class-mla-main.php:1463
442
+ #: includes/class-mla-main.php:1839 includes/class-mla-options.php:947
443
  #: includes/class-mla-settings.php:1128 includes/class-mla-settings.php:1385
444
  #: includes/class-mla-settings.php:1484 includes/class-mla-settings.php:1848
445
  #: includes/mla-media-modal-js-template.php:49
446
  msgid "Description"
447
  msgstr ""
448
 
449
+ #: includes/class-mla-data.php:5175 includes/class-mla-list-table.php:666
450
  #: includes/class-mla-list-table.php:758 includes/class-mla-options.php:3751
451
  #: includes/class-mla-options.php:4091
452
  msgid "Parent"
453
  msgstr ""
454
 
455
+ #: includes/class-mla-data.php:5186 includes/class-mla-edit-media.php:284
456
+ #: includes/class-mla-edit-media.php:410 includes/class-mla-main.php:1466
457
+ #: includes/class-mla-main.php:1845 includes/class-mla-settings.php:1126
458
  #: includes/class-mla-settings.php:1383
459
  msgid "Menu Order"
460
  msgstr ""
461
 
462
+ #: includes/class-mla-data.php:5199 includes/class-mla-list-table.php:1080
463
+ #: includes/class-mla-main.php:1339 includes/class-mla-main.php:1441
464
+ #: includes/class-mla-main.php:1659
465
  msgid "Author"
466
  msgstr ""
467
 
468
+ #: includes/class-mla-data.php:5208 includes/class-mla-main.php:1477
469
  msgid "Comments"
470
  msgstr ""
471
 
472
+ #: includes/class-mla-data.php:5217 includes/class-mla-main.php:1478
473
  msgid "Pings"
474
  msgstr ""
475
 
476
+ #: includes/class-mla-data.php:5251
477
  msgid "Adding"
478
  msgstr ""
479
 
480
+ #: includes/class-mla-data.php:5255
481
  msgid "Removing"
482
  msgstr ""
483
 
484
+ #: includes/class-mla-data.php:5260
485
  msgid "Replacing"
486
  msgstr ""
487
 
488
+ #: includes/class-mla-data.php:5264
489
  msgid "Ignoring"
490
  msgstr ""
491
 
492
  #. translators: 1: action_name, 2: taxonomy
493
+ #: includes/class-mla-data.php:5276
494
  #, php-format
495
  msgid "%1$s \"%2$s\" terms"
496
  msgstr ""
497
 
498
  #. translators: 1: taxonomy
499
+ #: includes/class-mla-data.php:5280
500
  #, php-format
501
  msgid "You cannot assign \"%1$s\" terms"
502
  msgstr ""
503
 
504
  #. translators: 1: post ID
505
+ #: includes/class-mla-data.php:5292
506
  #, php-format
507
  msgid "Item %1$d, no changes detected."
508
  msgstr ""
509
 
510
  #. translators: 1: post ID
511
+ #: includes/class-mla-data.php:5304
512
  #, php-format
513
  msgid "Item %1$d updated."
514
  msgstr ""
515
 
516
  #. translators: 1: post ID
517
+ #: includes/class-mla-data.php:5318
518
  #, php-format
519
  msgid "ERROR: Item %1$d update failed."
520
  msgstr ""
521
 
522
+ #: includes/class-mla-data.php:5341 includes/class-mla-edit-media.php:125
523
  #: includes/class-mla-edit-media.php:163 includes/class-mla-main.php:297
524
+ #: includes/class-mla-main.php:317 includes/class-mla-main.php:1269
525
  #: includes/class-mla-settings.php:307 includes/class-mla-settings.php:325
526
  msgctxt "tag_delimiter"
527
  msgid ","
540
  msgid "M j, Y @ G:i"
541
  msgstr ""
542
 
543
+ #: includes/class-mla-edit-media.php:202 includes/class-mla-main.php:1823
544
  msgid "Last modified"
545
  msgstr ""
546
 
548
  msgid "Map Custom Field metadata for this item"
549
  msgstr ""
550
 
551
+ #: includes/class-mla-edit-media.php:213 includes/class-mla-main.php:1484
552
  msgid "Map Custom Field Metadata"
553
  msgstr ""
554
 
561
  msgstr ""
562
 
563
  #: includes/class-mla-edit-media.php:283 includes/class-mla-edit-media.php:395
564
+ #: includes/class-mla-main.php:1841
565
  msgid "Parent Info"
566
  msgstr ""
567
 
570
  msgstr ""
571
 
572
  #: includes/class-mla-edit-media.php:292 includes/class-mla-edit-media.php:464
573
+ #: includes/class-mla-main.php:1852 includes/class-mla-options.php:431
574
  msgid "Featured in"
575
  msgstr ""
576
 
577
  #: includes/class-mla-edit-media.php:296 includes/class-mla-edit-media.php:500
578
+ #: includes/class-mla-main.php:1854 includes/class-mla-options.php:440
579
  msgid "Inserted in"
580
  msgstr ""
581
 
582
  #: includes/class-mla-edit-media.php:300 includes/class-mla-edit-media.php:532
583
+ #: includes/class-mla-main.php:1856 includes/class-mla-options.php:449
584
  #: includes/class-mla-settings.php:3290
585
  msgid "Gallery in"
586
  msgstr ""
587
 
588
  #: includes/class-mla-edit-media.php:304 includes/class-mla-edit-media.php:564
589
+ #: includes/class-mla-main.php:1858 includes/class-mla-options.php:458
590
  #: includes/class-mla-settings.php:3300
591
  msgid "MLA Gallery in"
592
  msgstr ""
593
 
594
  #. translators: 1: function name 2: template key
595
+ #: includes/class-mla-edit-media.php:347 includes/class-mla-main.php:539
596
  #: includes/class-mla-settings.php:469
597
  #, php-format
598
  msgctxt "error_log"
607
  #: includes/class-mla-edit-media.php:523 includes/class-mla-edit-media.php:555
608
  #: includes/class-mla-list-table.php:794 includes/class-mla-list-table.php:831
609
  #: includes/class-mla-list-table.php:866 includes/class-mla-list-table.php:900
610
+ #: includes/class-mla-main.php:1672 includes/class-mla-main.php:1691
611
+ #: includes/class-mla-main.php:1708 includes/class-mla-main.php:1724
612
  msgid "PARENT"
613
  msgstr ""
614
 
800
  msgid "Edit this item inline"
801
  msgstr ""
802
 
803
+ #: includes/class-mla-list-table.php:551 includes/class-mla-main.php:1459
804
  #: includes/class-mla-options.php:2867 includes/class-mla-options.php:3139
805
  #: includes/class-mla-upload-list-table.php:314
806
  #: includes/class-mla-view-list-table.php:304
849
 
850
  #: includes/class-mla-list-table.php:787 includes/class-mla-list-table.php:821
851
  #: includes/class-mla-list-table.php:859 includes/class-mla-list-table.php:893
852
+ #: includes/class-mla-main.php:1680 includes/class-mla-main.php:1700
853
+ #: includes/class-mla-main.php:1716 includes/class-mla-main.php:1732
854
  #: includes/class-mla-options.php:435 includes/class-mla-options.php:444
855
  #: includes/class-mla-options.php:453 includes/class-mla-options.php:462
856
  msgid "Disabled"
925
  msgid "Remove From Bulk Edit"
926
  msgstr ""
927
 
928
+ #: includes/class-mla-main.php:423
929
  #, php-format
930
  msgid "Item permanently deleted."
931
  msgid_plural "%d items permanently deleted."
933
  msgstr[1] ""
934
 
935
  #. translators: 1: post ID
936
+ #: includes/class-mla-main.php:428 includes/class-mla-main.php:1940
937
  #, php-format
938
  msgid "Item %1$d moved to Trash."
939
  msgstr ""
940
 
941
+ #: includes/class-mla-main.php:447
942
  msgid "Entries per page"
943
  msgstr ""
944
 
945
+ #: includes/class-mla-main.php:763
946
  msgid "You do not have permission to manage attachments."
947
  msgstr ""
948
 
949
  #. translators: 1: bulk_action, e.g., delete, edit, restore, trash
950
+ #: includes/class-mla-main.php:902 includes/class-mla-settings.php:1240
951
  #: includes/class-mla-settings.php:1707
952
  #, php-format
953
  msgid "Unknown bulk action %1$s"
954
  msgstr ""
955
 
956
  #. translators: 1: action name, e.g., edit
957
+ #: includes/class-mla-main.php:927 includes/class-mla-settings.php:1250
958
  #: includes/class-mla-settings.php:1718
959
  #, php-format
960
  msgid "Bulk Action %1$s - no items selected."
961
  msgstr ""
962
 
963
+ #: includes/class-mla-main.php:953 includes/class-mla-main.php:1014
964
+ #: includes/class-mla-main.php:1043 includes/class-mla-settings.php:547
965
  #: includes/class-mla-settings.php:587 includes/class-mla-settings.php:1194
966
  #: includes/class-mla-settings.php:1271 includes/class-mla-settings.php:1660
967
  #: includes/class-mla-settings.php:1739 includes/class-mla-settings.php:2290
971
  msgid "ERROR:"
972
  msgstr ""
973
 
974
+ #: includes/class-mla-main.php:961
975
  #, php-format
976
  msgctxt "deleted items"
977
  msgid "%s item deleted."
979
  msgstr[0] ""
980
  msgstr[1] ""
981
 
982
+ #: includes/class-mla-main.php:963
983
  msgid "No items deleted."
984
  msgstr ""
985
 
986
+ #: includes/class-mla-main.php:978
987
  msgid "Edit single item"
988
  msgstr ""
989
 
990
  #. translators: 1: post ID
991
+ #: includes/class-mla-main.php:991
992
  #, php-format
993
  msgid "Item %1$d cancelled."
994
  msgstr ""
995
 
996
  #. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
997
+ #: includes/class-mla-main.php:1005 includes/class-mla-settings.php:1287
998
  #: includes/class-mla-settings.php:1757
999
  #, php-format
1000
  msgid "Unknown mla_admin_action - \"%1$s\""
1001
  msgstr ""
1002
 
1003
+ #: includes/class-mla-main.php:1034
1004
  msgid "post/parent results for"
1005
  msgstr ""
1006
 
1007
+ #: includes/class-mla-main.php:1036
1008
  msgid "search results for"
1009
  msgstr ""
1010
 
1011
+ #: includes/class-mla-main.php:1125
1012
  #: includes/mla-media-modal-js-template.php:17
1013
  msgid "Search Media"
1014
  msgstr ""
1015
 
1016
+ #: includes/class-mla-main.php:1129 includes/class-mla-main.php:1132
1017
  #: includes/mla-media-modal-js-template.php:24
1018
  msgid "and"
1019
  msgstr ""
1020
 
1021
+ #: includes/class-mla-main.php:1130 includes/class-mla-main.php:1133
1022
  #: includes/mla-media-modal-js-template.php:28
1023
  msgid "or"
1024
  msgstr ""
1025
 
1026
+ #: includes/class-mla-main.php:1143 includes/class-mla-main.php:1145
1027
  #: includes/class-mla-settings.php:1987 includes/class-mla-settings.php:2020
1028
  #: includes/class-mla-settings.php:2046 includes/class-mla-settings.php:2081
1029
  #: includes/class-mla-settings.php:2138 includes/class-mla-settings.php:2188
1031
  msgid "Name"
1032
  msgstr ""
1033
 
1034
+ #: includes/class-mla-main.php:1224
1035
  msgid "ERROR: No post ID found"
1036
  msgstr ""
1037
 
1038
+ #: includes/class-mla-main.php:1231 includes/class-mla-main.php:1617
1039
  msgid "You are not allowed to edit this Attachment."
1040
  msgstr ""
1041
 
1042
+ #: includes/class-mla-main.php:1374
1043
  msgid "more"
1044
  msgstr ""
1045
 
1046
+ #: includes/class-mla-main.php:1375
1047
  msgid "less"
1048
  msgstr ""
1049
 
1050
+ #: includes/class-mla-main.php:1378 includes/class-mla-main.php:1416
1051
  msgid "Add"
1052
  msgstr ""
1053
 
1054
+ #: includes/class-mla-main.php:1379 includes/class-mla-main.php:1417
1055
  msgid "Remove"
1056
  msgstr ""
1057
 
1058
+ #: includes/class-mla-main.php:1380 includes/class-mla-main.php:1418
1059
  #: includes/class-mla-options.php:2965 includes/class-mla-options.php:3062
1060
  #: includes/class-mla-options.php:3104 includes/class-mla-options.php:3980
1061
  #: includes/class-mla-options.php:4030 includes/class-mla-options.php:4127
1063
  msgid "Replace"
1064
  msgstr ""
1065
 
1066
+ #: includes/class-mla-main.php:1465
1067
  msgid "Parent ID"
1068
  msgstr ""
1069
 
1070
+ #: includes/class-mla-main.php:1471 includes/class-mla-main.php:1814
1071
  #: includes/class-mla-settings.php:1131 includes/class-mla-settings.php:1390
1072
  #: includes/class-mla-settings.php:1487 includes/class-mla-settings.php:1559
1073
  #: includes/class-mla-settings.php:1855
1074
  msgid "Cancel"
1075
  msgstr ""
1076
 
1077
+ #: includes/class-mla-main.php:1472 includes/class-mla-main.php:1815
1078
  #: includes/class-mla-settings.php:1130 includes/class-mla-settings.php:1391
1079
  #: includes/class-mla-settings.php:1486 includes/class-mla-settings.php:1856
1080
  msgid "Update"
1081
  msgstr ""
1082
 
1083
+ #: includes/class-mla-main.php:1473 includes/class-mla-options.php:2881
1084
  #: includes/class-mla-options.php:3140 includes/class-mla-settings.php:1392
1085
  #: includes/class-mla-settings.php:1857
1086
  msgid "Bulk Edit"
1087
  msgstr ""
1088
 
1089
+ #: includes/class-mla-main.php:1479 includes/class-mla-main.php:1517
1090
  #: includes/class-mla-settings.php:1393 includes/class-mla-settings.php:1431
1091
  #: includes/class-mla-settings.php:1859
1092
  msgid "No Change"
1093
  msgstr ""
1094
 
1095
+ #: includes/class-mla-main.php:1480
1096
  msgid "Allow"
1097
  msgstr ""
1098
 
1099
+ #: includes/class-mla-main.php:1481
1100
  msgid "Do not allow"
1101
  msgstr ""
1102
 
1103
+ #: includes/class-mla-main.php:1483 includes/class-mla-main.php:1816
1104
  msgid "Map IPTC/EXIF metadata"
1105
  msgstr ""
1106
 
1107
+ #: includes/class-mla-main.php:1569
1108
  msgid "ERROR: You are not allowed to delete this item."
1109
  msgstr ""
1110
 
1111
  #. translators: 1: post ID
1112
+ #: includes/class-mla-main.php:1577
1113
  #, php-format
1114
  msgid "ERROR: Item %1$d could NOT be deleted."
1115
  msgstr ""
1116
 
1117
  #. translators: 1: post ID
1118
+ #: includes/class-mla-main.php:1584
1119
  #, php-format
1120
  msgid "Item %1$d permanently deleted."
1121
  msgstr ""
1122
 
1123
  #. translators: 1: page_template_array
1124
+ #: includes/class-mla-main.php:1644
1125
  #, php-format
1126
  msgctxt "error_log"
1127
  msgid "ERROR: MLA::_display_single_item \\$page_template_array = \"%1$s\""
1128
  msgstr ""
1129
 
1130
+ #: includes/class-mla-main.php:1818
1131
  msgid "File name"
1132
  msgstr ""
1133
 
1134
+ #: includes/class-mla-main.php:1820
1135
  msgid "File type"
1136
  msgstr ""
1137
 
1138
+ #: includes/class-mla-main.php:1821
1139
  msgid "Upload date"
1140
  msgstr ""
1141
 
1142
+ #: includes/class-mla-main.php:1825
1143
  msgid "Dimensions"
1144
  msgstr ""
1145
 
1146
+ #: includes/class-mla-main.php:1829
1147
  msgid "required"
1148
  msgstr ""
1149
 
1150
+ #: includes/class-mla-main.php:1833
1151
  msgid "Must be unique; will be validated."
1152
  msgstr ""
1153
 
1154
+ #: includes/class-mla-main.php:1836
1155
  msgid "Alternate text for the image, e.g. &#8220;The Mona Lisa&#8221;"
1156
  msgstr ""
1157
 
1158
+ #: includes/class-mla-main.php:1844
1159
  msgid "ID, type and title of parent, if any."
1160
  msgstr ""
1161
 
1162
+ #: includes/class-mla-main.php:1847
1163
  msgid "File URL"
1164
  msgstr ""
1165
 
1166
+ #: includes/class-mla-main.php:1849
1167
  msgid "Location of the uploaded file."
1168
  msgstr ""
1169
 
1170
+ #: includes/class-mla-main.php:1850
1171
  msgid "Image Metadata"
1172
  msgstr ""
1173
 
1174
+ #: includes/class-mla-main.php:1885
1175
  msgid "ERROR: You are not allowed to move this item out of the Trash."
1176
  msgstr ""
1177
 
1178
  #. translators: 1: post ID
1179
+ #: includes/class-mla-main.php:1893
1180
  #, php-format
1181
  msgid "ERROR: Item %1$d could NOT be restored from Trash."
1182
  msgstr ""
1183
 
1184
  #. translators: 1: post ID
1185
+ #: includes/class-mla-main.php:1908
1186
  #, php-format
1187
  msgid "Item %1$d restored from Trash."
1188
  msgstr ""
1189
 
1190
+ #: includes/class-mla-main.php:1925
1191
  msgid "ERROR: You are not allowed to move this item to the Trash."
1192
  msgstr ""
1193
 
1194
  #. translators: 1: post ID
1195
+ #: includes/class-mla-main.php:1933
1196
  #, php-format
1197
  msgid "ERROR: Item %1$d could NOT be moved to Trash."
1198
  msgstr ""
3706
  msgid "ERROR: Invalid mla_gallery"
3707
  msgstr ""
3708
 
3709
+ #: includes/class-mla-shortcodes.php:2981
3710
  msgid "mla_debug query"
3711
  msgstr ""
3712
 
3713
+ #: includes/class-mla-shortcodes.php:2982
3714
  msgid "mla_debug request"
3715
  msgstr ""
3716
 
3717
+ #: includes/class-mla-shortcodes.php:2983
3718
  msgid "mla_debug query_vars"
3719
  msgstr ""
3720
 
3721
+ #: includes/class-mla-shortcodes.php:2984
3722
  msgid "mla_debug post_count"
3723
  msgstr ""
3724
 
3725
+ #: includes/class-mla-shortcodes.php:3010
3726
  msgid "mla_debug WHERE filter"
3727
  msgstr ""
3728
 
3729
+ #: includes/class-mla-shortcodes.php:3029
3730
  msgid "mla_debug modified WHERE filter"
3731
  msgstr ""
3732
 
3733
+ #: includes/class-mla-shortcodes.php:3052
3734
  msgid "mla_debug ORDER BY filter, incoming"
3735
  msgstr ""
3736
 
3737
+ #: includes/class-mla-shortcodes.php:3052
3738
  msgid "Replacement ORDER BY clause"
3739
  msgstr ""
3740
 
3741
+ #: includes/class-mla-shortcodes.php:3075
3742
  msgid "mla_debug posts_clauses filter"
3743
  msgstr ""
3744
 
3745
+ #: includes/class-mla-shortcodes.php:3093
3746
  msgid "mla_debug posts_clauses_request filter"
3747
  msgstr ""
3748
 
3749
+ #: includes/class-mla-shortcodes.php:3230
3750
  msgid "Invalid taxonomy"
3751
  msgstr ""
3752
 
3753
+ #: includes/class-mla-shortcodes.php:3411
3754
  msgid "mla_debug query arguments"
3755
  msgstr ""
3756
 
3757
+ #: includes/class-mla-shortcodes.php:3412
3758
  msgid "mla_debug last_query"
3759
  msgstr ""
3760
 
3761
+ #: includes/class-mla-shortcodes.php:3413
3762
  msgid "mla_debug last_error"
3763
  msgstr ""
3764
 
3765
+ #: includes/class-mla-shortcodes.php:3414
3766
  msgid "mla_debug num_rows"
3767
  msgstr ""
3768
 
3769
+ #: includes/class-mla-shortcodes.php:3415
3770
  msgid "mla_debug found_rows"
3771
  msgstr ""
3772
 
phpDocs/classes/MLA.html CHANGED
@@ -716,7 +716,7 @@ change the meta data for a single attachment.</h2>
716
  <div class="row"><footer class="span12">
717
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
718
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
719
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
720
  </div>
721
  </body>
722
  </html>
716
  <div class="row"><footer class="span12">
717
  Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
718
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
719
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
720
  </div>
721
  </body>
722
  </html>
phpDocs/classes/MLAData.html CHANGED
@@ -59,6 +59,7 @@
59
  <i class="icon-custom icon-method"></i> Methods</li>
60
  <li class="method public "><a href="#_hex_dump" title="_hex_dump :: Format printable version of binary data"><span class="description">Format printable version of binary data</span><pre>_hex_dump()</pre></a></li>
61
  <li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
 
62
  <li class="method public "><a href="#mla_count_list_table_items" title="mla_count_list_table_items :: Get the total number of attachment posts"><span class="description">Get the total number of attachment posts</span><pre>mla_count_list_table_items()</pre></a></li>
63
  <li class="method public "><a href="#mla_exif_metadata_value" title="mla_exif_metadata_value :: Parse one EXIF metadata field"><span class="description">Parse one EXIF metadata field</span><pre>mla_exif_metadata_value()</pre></a></li>
64
  <li class="method public "><a href="#mla_expand_field_level_parameters" title="mla_expand_field_level_parameters :: Analyze a template, expanding Field-level Markup Substitution Parameters"><span class="description">Analyze a template, expanding Field-level Markup Substitution Parameters</span><pre>mla_expand_field_level_parameters()</pre></a></li>
@@ -129,6 +130,9 @@ and meta data for a single attachment</span><pre>mla_update_single_item()</pre><
129
  <li class="property public "><a href="#%24mla_iptc_keys" title="$mla_iptc_keys :: IPTC Dataset friendly name/slug and identifiers"><span class="description">IPTC Dataset friendly name/slug and identifiers</span><pre>$mla_iptc_keys</pre></a></li>
130
  <li class="nav-header private">» Private</li>
131
  <li class="property private "><a href="#%24galleries" title="$galleries :: Objects containing [gallery] shortcodes"><span class="description">Objects containing [gallery] shortcodes</span><pre>$galleries</pre></a></li>
 
 
 
132
  <li class="property private "><a href="#%24mla_alt_text_view" title="$mla_alt_text_view :: Provides a unique name for the ALT Text/custom field SQL View"><span class="description">Provides a unique name for the ALT Text/custom field SQL View</span><pre>$mla_alt_text_view</pre></a></li>
133
  <li class="property private "><a href="#%24mla_galleries" title="$mla_galleries :: Objects containing [mla_gallery] shortcodes"><span class="description">Objects containing [mla_gallery] shortcodes</span><pre>$mla_galleries</pre></a></li>
134
  <li class="property private "><a href="#%24mla_iptc_descriptions" title="$mla_iptc_descriptions :: IPTC Dataset descriptions"><span class="description">IPTC Dataset descriptions</span><pre>$mla_iptc_descriptions</pre></a></li>
@@ -213,6 +217,34 @@ Templates separate HTML markup from PHP code for easier maintenance and localiza
213
  </tr></table>
214
  </div></div>
215
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  <a name="mla_count_list_table_items" id="mla_count_list_table_items"></a><div class="element clickable method public mla_count_list_table_items" data-toggle="collapse" data-target=".mla_count_list_table_items .collapse">
217
  <h2>Get the total number of attachment posts</h2>
218
  <pre>mla_count_list_table_items(array $request, int $offset, int $count) : integer</pre>
@@ -1637,6 +1669,19 @@ galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in
1637
  </tr></table>
1638
  </div></div>
1639
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
1640
  <a name="%24mla_alt_text_view" id="$mla_alt_text_view"> </a><div class="element clickable property private $mla_alt_text_view" data-toggle="collapse" data-target=".$mla_alt_text_view .collapse">
1641
  <h2>Provides a unique name for the ALT Text/custom field SQL View</h2>
1642
  <pre>$mla_alt_text_view : array</pre>
@@ -1791,7 +1836,7 @@ ALT Text and custom field columns.</p></p>
1791
  <div class="row"><footer class="span12">
1792
  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>
1793
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1794
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
1795
  </div>
1796
  </body>
1797
  </html>
59
  <i class="icon-custom icon-method"></i> Methods</li>
60
  <li class="method public "><a href="#_hex_dump" title="_hex_dump :: Format printable version of binary data"><span class="description">Format printable version of binary data</span><pre>_hex_dump()</pre></a></li>
61
  <li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
62
+ <li class="method public "><a href="#mla_IPTC_EXIF_error_handler" title="mla_IPTC_EXIF_error_handler :: Intercept IPTC and EXIF parse errors"><span class="description">Intercept IPTC and EXIF parse errors</span><pre>mla_IPTC_EXIF_error_handler()</pre></a></li>
63
  <li class="method public "><a href="#mla_count_list_table_items" title="mla_count_list_table_items :: Get the total number of attachment posts"><span class="description">Get the total number of attachment posts</span><pre>mla_count_list_table_items()</pre></a></li>
64
  <li class="method public "><a href="#mla_exif_metadata_value" title="mla_exif_metadata_value :: Parse one EXIF metadata field"><span class="description">Parse one EXIF metadata field</span><pre>mla_exif_metadata_value()</pre></a></li>
65
  <li class="method public "><a href="#mla_expand_field_level_parameters" title="mla_expand_field_level_parameters :: Analyze a template, expanding Field-level Markup Substitution Parameters"><span class="description">Analyze a template, expanding Field-level Markup Substitution Parameters</span><pre>mla_expand_field_level_parameters()</pre></a></li>
130
  <li class="property public "><a href="#%24mla_iptc_keys" title="$mla_iptc_keys :: IPTC Dataset friendly name/slug and identifiers"><span class="description">IPTC Dataset friendly name/slug and identifiers</span><pre>$mla_iptc_keys</pre></a></li>
131
  <li class="nav-header private">» Private</li>
132
  <li class="property private "><a href="#%24galleries" title="$galleries :: Objects containing [gallery] shortcodes"><span class="description">Objects containing [gallery] shortcodes</span><pre>$galleries</pre></a></li>
133
+ <li class="property private "><a href="#%24mla_IPTC_EXIF_errors" title="$mla_IPTC_EXIF_errors :: Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
134
+ and mla_fetch_attachment_image_metadata"><span class="description">Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
135
+ and mla_fetch_attachment_image_metadata</span><pre>$mla_IPTC_EXIF_errors</pre></a></li>
136
  <li class="property private "><a href="#%24mla_alt_text_view" title="$mla_alt_text_view :: Provides a unique name for the ALT Text/custom field SQL View"><span class="description">Provides a unique name for the ALT Text/custom field SQL View</span><pre>$mla_alt_text_view</pre></a></li>
137
  <li class="property private "><a href="#%24mla_galleries" title="$mla_galleries :: Objects containing [mla_gallery] shortcodes"><span class="description">Objects containing [mla_gallery] shortcodes</span><pre>$mla_galleries</pre></a></li>
138
  <li class="property private "><a href="#%24mla_iptc_descriptions" title="$mla_iptc_descriptions :: IPTC Dataset descriptions"><span class="description">IPTC Dataset descriptions</span><pre>$mla_iptc_descriptions</pre></a></li>
217
  </tr></table>
218
  </div></div>
219
  </div>
220
+ <a name="mla_IPTC_EXIF_error_handler" id="mla_IPTC_EXIF_error_handler"></a><div class="element clickable method public mla_IPTC_EXIF_error_handler" data-toggle="collapse" data-target=".mla_IPTC_EXIF_error_handler .collapse">
221
+ <h2>Intercept IPTC and EXIF parse errors</h2>
222
+ <pre>mla_IPTC_EXIF_error_handler(int $type, string $string, string $file, int $line) : boolean</pre>
223
+ <div class="labels"></div>
224
+ <div class="row collapse"><div class="detail-description">
225
+ <p class="long_description"></p>
226
+ <table class="table table-bordered"><tr>
227
+ <th>since</th>
228
+ <td>1.81</td>
229
+ </tr></table>
230
+ <h3>Parameters</h3>
231
+ <div class="subelement argument">
232
+ <h4>$type</h4>
233
+ <code>int</code><p>the level of the error raised</p></div>
234
+ <div class="subelement argument">
235
+ <h4>$string</h4>
236
+ <code>string</code><p>the error message</p></div>
237
+ <div class="subelement argument">
238
+ <h4>$file</h4>
239
+ <code>string</code><p>the filename that the error was raised in</p></div>
240
+ <div class="subelement argument">
241
+ <h4>$line</h4>
242
+ <code>int</code><p>the line number the error was raised at</p></div>
243
+ <h3>Returns</h3>
244
+ <div class="subelement response">
245
+ <code>boolean</code>true, to bypass PHP error handler</div>
246
+ </div></div>
247
+ </div>
248
  <a name="mla_count_list_table_items" id="mla_count_list_table_items"></a><div class="element clickable method public mla_count_list_table_items" data-toggle="collapse" data-target=".mla_count_list_table_items .collapse">
249
  <h2>Get the total number of attachment posts</h2>
250
  <pre>mla_count_list_table_items(array $request, int $offset, int $count) : integer</pre>
1669
  </tr></table>
1670
  </div></div>
1671
  </div>
1672
+ <a name="%24mla_IPTC_EXIF_errors" id="$mla_IPTC_EXIF_errors"> </a><div class="element clickable property private $mla_IPTC_EXIF_errors" data-toggle="collapse" data-target=".$mla_IPTC_EXIF_errors .collapse">
1673
+ <h2>Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
1674
+ and mla_fetch_attachment_image_metadata</h2>
1675
+ <pre>$mla_IPTC_EXIF_errors : array</pre>
1676
+ <div class="labels"></div>
1677
+ <div class="row collapse"><div class="detail-description">
1678
+ <p class="long_description"></p>
1679
+ <table class="table table-bordered"><tr>
1680
+ <th>since</th>
1681
+ <td>1.81</td>
1682
+ </tr></table>
1683
+ </div></div>
1684
+ </div>
1685
  <a name="%24mla_alt_text_view" id="$mla_alt_text_view"> </a><div class="element clickable property private $mla_alt_text_view" data-toggle="collapse" data-target=".$mla_alt_text_view .collapse">
1686
  <h2>Provides a unique name for the ALT Text/custom field SQL View</h2>
1687
  <pre>$mla_alt_text_view : array</pre>
1836
  <div class="row"><footer class="span12">
1837
  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>
1838
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1839
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
1840
  </div>
1841
  </body>
1842
  </html>
phpDocs/classes/MLAEdit.html CHANGED
@@ -74,9 +74,7 @@
74
  <li class="method public "><a href="#mla_parent_info_handler" title="mla_parent_info_handler :: Renders the Parent Info meta box on the Edit Media page."><span class="description">Renders the Parent Info meta box on the Edit Media page.</span><pre>mla_parent_info_handler()</pre></a></li>
75
  <li class="method public "><a href="#mla_post_updated_messages_filter" title="mla_post_updated_messages_filter :: Adds mapping update messages for display at the top of the Edit Media screen."><span class="description">Adds mapping update messages for display at the top of the Edit Media screen.</span><pre>mla_post_updated_messages_filter()</pre></a></li>
76
  <li class="nav-header private">» Private</li>
77
- <li class="method private "><a href="#_mla_ajax_add_flat_term" title='_mla_ajax_add_flat_term :: Add flat taxonomy term from "checklist" meta box on both the Edit/Edit Media screen and
78
- the Media Manager Modal WIndow'><span class="description">Add flat taxonomy term from "checklist" meta box on both the Edit/Edit Media screen and
79
- the Media Manager Modal WIndow</span><pre>_mla_ajax_add_flat_term()</pre></a></li>
80
  <li class="nav-header">
81
  <i class="icon-custom icon-property"></i> Properties</li>
82
  <li class="nav-header private">» Private</li>
@@ -376,8 +374,7 @@ Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>
376
  </div></div>
377
  </div>
378
  <a name="_mla_ajax_add_flat_term" id="_mla_ajax_add_flat_term"></a><div class="element clickable method private _mla_ajax_add_flat_term" data-toggle="collapse" data-target="._mla_ajax_add_flat_term .collapse">
379
- <h2>Add flat taxonomy term from "checklist" meta box on both the Edit/Edit Media screen and
380
- the Media Manager Modal WIndow</h2>
381
  <pre>_mla_ajax_add_flat_term(string $key) : void</pre>
382
  <div class="labels"></div>
383
  <div class="row collapse"><div class="detail-description">
@@ -453,7 +450,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
453
  <div class="row"><footer class="span12">
454
  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>
455
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
456
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
457
  </div>
458
  </body>
459
  </html>
74
  <li class="method public "><a href="#mla_parent_info_handler" title="mla_parent_info_handler :: Renders the Parent Info meta box on the Edit Media page."><span class="description">Renders the Parent Info meta box on the Edit Media page.</span><pre>mla_parent_info_handler()</pre></a></li>
75
  <li class="method public "><a href="#mla_post_updated_messages_filter" title="mla_post_updated_messages_filter :: Adds mapping update messages for display at the top of the Edit Media screen."><span class="description">Adds mapping update messages for display at the top of the Edit Media screen.</span><pre>mla_post_updated_messages_filter()</pre></a></li>
76
  <li class="nav-header private">» Private</li>
77
+ <li class="method private "><a href="#_mla_ajax_add_flat_term" title='_mla_ajax_add_flat_term :: Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window'><span class="description">Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window</span><pre>_mla_ajax_add_flat_term()</pre></a></li>
 
 
78
  <li class="nav-header">
79
  <i class="icon-custom icon-property"></i> Properties</li>
80
  <li class="nav-header private">» Private</li>
374
  </div></div>
375
  </div>
376
  <a name="_mla_ajax_add_flat_term" id="_mla_ajax_add_flat_term"></a><div class="element clickable method private _mla_ajax_add_flat_term" data-toggle="collapse" data-target="._mla_ajax_add_flat_term .collapse">
377
+ <h2>Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window</h2>
 
378
  <pre>_mla_ajax_add_flat_term(string $key) : void</pre>
379
  <div class="labels"></div>
380
  <div class="row collapse"><div class="detail-description">
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 2014-04-02T22:02:17-07: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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07:00.<br></footer></div>
1292
  </div>
1293
  </body>
1294
  </html>
phpDocs/classes/MLAModal.html CHANGED
@@ -441,7 +441,7 @@ and mla_print_media_templates_action</h2>
441
  <div class="row"><footer class="span12">
442
  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>
443
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
444
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
445
  </div>
446
  </body>
447
  </html>
441
  <div class="row"><footer class="span12">
442
  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>
443
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
444
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
445
  </div>
446
  </body>
447
  </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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07:00.<br></footer></div>
176
  </div>
177
  </body>
178
  </html>
phpDocs/classes/MLAOptions.html CHANGED
@@ -1489,7 +1489,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
1489
  <div class="row"><footer class="span12">
1490
  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>
1491
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1492
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
1493
  </div>
1494
  </body>
1495
  </html>
1489
  <div class="row"><footer class="span12">
1490
  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>
1491
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1492
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
1493
  </div>
1494
  </body>
1495
  </html>
phpDocs/classes/MLASettings.html CHANGED
@@ -1172,7 +1172,7 @@ render => rendering function for tab messages and content. Usage:
1172
  <div class="row"><footer class="span12">
1173
  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>
1174
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1175
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
1176
  </div>
1177
  </body>
1178
  </html>
1172
  <div class="row"><footer class="span12">
1173
  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>
1174
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1175
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
1176
  </div>
1177
  </body>
1178
  </html>
phpDocs/classes/MLAShortcodes.html CHANGED
@@ -575,7 +575,7 @@ any further logic required to translate those values is contained in the filter.
575
  <div class="row"><footer class="span12">
576
  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>
577
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
578
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
579
  </div>
580
  </body>
581
  </html>
575
  <div class="row"><footer class="span12">
576
  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>
577
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
578
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
579
  </div>
580
  </body>
581
  </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 2014-03-27T17:01:49-07: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 2014-04-02T22:02:17-07: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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07: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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07:00.<br></footer></div>
167
  </div>
168
  </body>
169
  </html>
phpDocs/classes/MLA_List_Table.html CHANGED
@@ -1113,7 +1113,7 @@ MLA_List_Table::mla_admin_init_action.</p></p>
1113
  <div class="row"><footer class="span12">
1114
  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>
1115
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1116
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
1117
  </div>
1118
  </body>
1119
  </html>
1113
  <div class="row"><footer class="span12">
1114
  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>
1115
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
1116
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
1117
  </div>
1118
  </body>
1119
  </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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07: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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07: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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:17-07:00.<br></footer></div>
637
  </div>
638
  </body>
639
  </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 2014-03-27T17:01:49-07: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 2014-04-02T22:02:17-07:00.<br></footer></div>
71
  </div>
72
  </body>
73
  </html>
phpDocs/errors.html CHANGED
@@ -91,12 +91,14 @@
91
  <div class="package-contents"></div>
92
  <div class="package-contents"></div>
93
  <div class="package-contents"></div>
 
 
94
  </div>
95
  </div>
96
  <div class="row"><footer class="span12">
97
  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>
98
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
99
- generated on 2014-03-27T17:01:49-07:00.<br></footer></div>
100
  </div>
101
  </body>
102
  </html>
91
  <div class="package-contents"></div>
92
  <div class="package-contents"></div>
93
  <div class="package-contents"></div>
94
+ <div class="package-contents"></div>
95
+ <div class="package-contents"></div>
96
  </div>
97
  </div>
98
  <div class="row"><footer class="span12">
99
  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>
100
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
101
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
102
  </div>
103
  </body>
104
  </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 2014-03-27T17:01:49-07: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 2014-04-02T22:02:17-07: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 2014-03-27T17:01:48-07: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 2014-04-02T22:02:16-07:00.<br></footer></div>
90
  </div>
91
  </body>
92
  </html>
phpDocs/markers.html CHANGED
@@ -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 2014-03-27T17:01:49-07:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
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 2014-04-02T22:02:17-07:00.<br></footer></div>
93
  </div>
94
  </body>
95
  </html>
phpDocs/namespaces/global.html CHANGED
@@ -72,6 +72,13 @@
72
  <div class="namespace-indent">
73
  <h3>
74
  <i class="icon-custom icon-function"></i> Functions</h3>
 
 
 
 
 
 
 
75
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
76
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
77
  listing the terms assigned to a specific post or Media Library item.</h2>
@@ -116,7 +123,7 @@ listing the terms assigned to a specific post or Media Library item.</h2>
116
  <h3>Parameters</h3>
117
  <div class="subelement argument">
118
  <h4>$attr</h4>
119
- <code>array</code><p>Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
120
  <h3>Returns</h3>
121
  <div class="subelement response">
122
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
@@ -162,6 +169,28 @@ display an "accordian-style" list.</p></p>
162
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
163
  </div></div>
164
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  <h3>
166
  <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
167
  <a name="MLA" id="MLA"></a><div class="element ajax clickable class" href="../classes/MLA.html">
@@ -295,6 +324,12 @@ searchable database of exension/type associations for the "Uploads" admin settin
295
  <div class="labels"></div>
296
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
297
  </div>
 
 
 
 
 
 
298
  <a name="MLA_PLUGIN_PATH" id="MLA_PLUGIN_PATH"> </a><div class="element clickable constant MLA_PLUGIN_PATH" data-toggle="collapse" data-target=".MLA_PLUGIN_PATH .collapse">
299
  <h2>Provides path information to the plugin root in file system format, including the trailing slash.</h2>
300
  <pre>MLA_PLUGIN_PATH </pre>
@@ -313,7 +348,7 @@ searchable database of exension/type associations for the "Uploads" admin settin
313
  <div class="row"><footer class="span12">
314
  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>
315
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
316
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
317
  </div>
318
  </body>
319
  </html>
72
  <div class="namespace-indent">
73
  <h3>
74
  <i class="icon-custom icon-function"></i> Functions</h3>
75
+ <a name="mla_after_setup_theme_action" id="mla_after_setup_theme_action"></a><div class="element clickable function mla_after_setup_theme_action" data-toggle="collapse" data-target=".mla_after_setup_theme_action .collapse">
76
+ <h2>Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
77
+ and/or from the theme's own directory.</h2>
78
+ <pre>mla_after_setup_theme_action() : void</pre>
79
+ <div class="labels"></div>
80
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
81
+ </div>
82
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
83
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
84
  listing the terms assigned to a specific post or Media Library item.</h2>
123
  <h3>Parameters</h3>
124
  <div class="subelement argument">
125
  <h4>$attr</h4>
126
+ <code>array</code><p>Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
127
  <h3>Returns</h3>
128
  <div class="subelement response">
129
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
169
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
170
  </div></div>
171
  </div>
172
+ <a name="mla_wp_title_filter" id="mla_wp_title_filter"></a><div class="element clickable function mla_wp_title_filter" data-toggle="collapse" data-target=".mla_wp_title_filter .collapse">
173
+ <h2>Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages</h2>
174
+ <pre>mla_wp_title_filter(string $title, string $sep, string $seplocation) : string</pre>
175
+ <div class="labels"></div>
176
+ <div class="row collapse"><div class="detail-description">
177
+ <p class="long_description"></p>
178
+ <h3>Parameters</h3>
179
+ <div class="subelement argument">
180
+ <h4>$title</h4>
181
+ <code>string</code><p>The default page title</p></div>
182
+ <div class="subelement argument">
183
+ <h4>$sep</h4>
184
+ <code>string</code><p>How to separate the various items within the page title</p></div>
185
+ <div class="subelement argument">
186
+ <h4>$seplocation</h4>
187
+ <code>string</code><p>Optional. Direction to display title, 'right'.</p>
188
+ </div>
189
+ <h3>Returns</h3>
190
+ <div class="subelement response">
191
+ <code>string</code>updated title value</div>
192
+ </div></div>
193
+ </div>
194
  <h3>
195
  <i class="icon-custom icon-class"></i> Classes and interfaces</h3>
196
  <a name="MLA" id="MLA"></a><div class="element ajax clickable class" href="../classes/MLA.html">
324
  <div class="labels"></div>
325
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
326
  </div>
327
+ <a name="MLA_PLUGIN_BASENAME" id="MLA_PLUGIN_BASENAME"> </a><div class="element clickable constant MLA_PLUGIN_BASENAME" data-toggle="collapse" data-target=".MLA_PLUGIN_BASENAME .collapse">
328
+ <h2>Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</h2>
329
+ <pre>MLA_PLUGIN_BASENAME </pre>
330
+ <div class="labels"></div>
331
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
332
+ </div>
333
  <a name="MLA_PLUGIN_PATH" id="MLA_PLUGIN_PATH"> </a><div class="element clickable constant MLA_PLUGIN_PATH" data-toggle="collapse" data-target=".MLA_PLUGIN_PATH .collapse">
334
  <h2>Provides path information to the plugin root in file system format, including the trailing slash.</h2>
335
  <pre>MLA_PLUGIN_PATH </pre>
348
  <div class="row"><footer class="span12">
349
  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>
350
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
351
+ generated on 2014-04-02T22:02:16-07:00.<br></footer></div>
352
  </div>
353
  </body>
354
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html CHANGED
@@ -62,6 +62,9 @@
62
  </li>
63
  <li class="nav-header">
64
  <i class="icon-custom icon-function"></i> Functions</li>
 
 
 
65
  <li class="function "><a href="#mla_custom_terms_list" title="mla_custom_terms_list :: Generate a list of taxonomy- and term-specific links to the page of your choice,
66
  listing the terms assigned to a specific post or Media Library item."><span class="description">Generate a list of taxonomy- and term-specific links to the page of your choice,
67
  listing the terms assigned to a specific post or Media Library item.</span><pre>mla_custom_terms_list</pre></a></li>
@@ -69,6 +72,7 @@ listing the terms assigned to a specific post or Media Library item.</span><pre>
69
  <li class="function "><a href="#mla_paginated_term_gallery" title="mla_paginated_term_gallery :: Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page"><span class="description">Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page</span><pre>mla_paginated_term_gallery</pre></a></li>
70
  <li class="function "><a href="#mla_tag_gallery" title="mla_tag_gallery :: Generate a taxonomy- and term-specific [mla_gallery]"><span class="description">Generate a taxonomy- and term-specific [mla_gallery]</span><pre>mla_tag_gallery</pre></a></li>
71
  <li class="function "><a href="#mla_taxonomy_terms_list" title="mla_taxonomy_terms_list :: Generate a list of taxonomy- and term-specific links to the page of your choice."><span class="description">Generate a list of taxonomy- and term-specific links to the page of your choice.</span><pre>mla_taxonomy_terms_list</pre></a></li>
 
72
  </ul>
73
  </div>
74
  <div class="span8 package-contents">
@@ -84,6 +88,13 @@ listing the terms assigned to a specific post or Media Library item.</span><pre>
84
  <div class="package-indent">
85
  <h3>
86
  <i class="icon-custom icon-function"></i> Functions</h3>
 
 
 
 
 
 
 
87
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
88
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
89
  listing the terms assigned to a specific post or Media Library item.</h2>
@@ -116,7 +127,7 @@ listing the terms assigned to a specific post or Media Library item.</h2>
116
  <h3>Parameters</h3>
117
  <div class="subelement argument">
118
  <h4>$attr</h4>
119
- <code>array</code><p>Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
120
  <h3>Returns</h3>
121
  <div class="subelement response">
122
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
@@ -150,13 +161,35 @@ display an "accordian-style" list.</p></p>
150
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
151
  </div></div>
152
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  </div>
154
  </div>
155
  </div>
156
  <div class="row"><footer class="span12">
157
  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>
158
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
159
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
160
  </div>
161
  </body>
162
  </html>
62
  </li>
63
  <li class="nav-header">
64
  <i class="icon-custom icon-function"></i> Functions</li>
65
+ <li class="function "><a href="#mla_after_setup_theme_action" title="mla_after_setup_theme_action :: Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
66
+ and/or from the theme's own directory."><span class="description">Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
67
+ and/or from the theme's own directory.</span><pre>mla_after_setup_theme_action</pre></a></li>
68
  <li class="function "><a href="#mla_custom_terms_list" title="mla_custom_terms_list :: Generate a list of taxonomy- and term-specific links to the page of your choice,
69
  listing the terms assigned to a specific post or Media Library item."><span class="description">Generate a list of taxonomy- and term-specific links to the page of your choice,
70
  listing the terms assigned to a specific post or Media Library item.</span><pre>mla_custom_terms_list</pre></a></li>
72
  <li class="function "><a href="#mla_paginated_term_gallery" title="mla_paginated_term_gallery :: Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page"><span class="description">Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page</span><pre>mla_paginated_term_gallery</pre></a></li>
73
  <li class="function "><a href="#mla_tag_gallery" title="mla_tag_gallery :: Generate a taxonomy- and term-specific [mla_gallery]"><span class="description">Generate a taxonomy- and term-specific [mla_gallery]</span><pre>mla_tag_gallery</pre></a></li>
74
  <li class="function "><a href="#mla_taxonomy_terms_list" title="mla_taxonomy_terms_list :: Generate a list of taxonomy- and term-specific links to the page of your choice."><span class="description">Generate a list of taxonomy- and term-specific links to the page of your choice.</span><pre>mla_taxonomy_terms_list</pre></a></li>
75
+ <li class="function "><a href="#mla_wp_title_filter" title="mla_wp_title_filter :: Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages"><span class="description">Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages</span><pre>mla_wp_title_filter</pre></a></li>
76
  </ul>
77
  </div>
78
  <div class="span8 package-contents">
88
  <div class="package-indent">
89
  <h3>
90
  <i class="icon-custom icon-function"></i> Functions</h3>
91
+ <a name="mla_after_setup_theme_action" id="mla_after_setup_theme_action"></a><div class="element clickable function mla_after_setup_theme_action" data-toggle="collapse" data-target=".mla_after_setup_theme_action .collapse">
92
+ <h2>Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
93
+ and/or from the theme's own directory.</h2>
94
+ <pre>mla_after_setup_theme_action() : void</pre>
95
+ <div class="labels"></div>
96
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
97
+ </div>
98
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
99
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
100
  listing the terms assigned to a specific post or Media Library item.</h2>
127
  <h3>Parameters</h3>
128
  <div class="subelement argument">
129
  <h4>$attr</h4>
130
+ <code>array</code><p>Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
131
  <h3>Returns</h3>
132
  <div class="subelement response">
133
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
161
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
162
  </div></div>
163
  </div>
164
+ <a name="mla_wp_title_filter" id="mla_wp_title_filter"></a><div class="element clickable function mla_wp_title_filter" data-toggle="collapse" data-target=".mla_wp_title_filter .collapse">
165
+ <h2>Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages</h2>
166
+ <pre>mla_wp_title_filter(string $title, string $sep, string $seplocation) : string</pre>
167
+ <div class="labels"></div>
168
+ <div class="row collapse"><div class="detail-description">
169
+ <p class="long_description"></p>
170
+ <h3>Parameters</h3>
171
+ <div class="subelement argument">
172
+ <h4>$title</h4>
173
+ <code>string</code><p>The default page title</p></div>
174
+ <div class="subelement argument">
175
+ <h4>$sep</h4>
176
+ <code>string</code><p>How to separate the various items within the page title</p></div>
177
+ <div class="subelement argument">
178
+ <h4>$seplocation</h4>
179
+ <code>string</code><p>Optional. Direction to display title, 'right'.</p>
180
+ </div>
181
+ <h3>Returns</h3>
182
+ <div class="subelement response">
183
+ <code>string</code>updated title value</div>
184
+ </div></div>
185
+ </div>
186
  </div>
187
  </div>
188
  </div>
189
  <div class="row"><footer class="span12">
190
  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>
191
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
192
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
193
  </div>
194
  </body>
195
  </html>
phpDocs/packages/Media Library Assistant.MLA.Child.html CHANGED
@@ -86,6 +86,13 @@
86
  <div class="package-indent">
87
  <h3>
88
  <i class="icon-custom icon-function"></i> Functions</h3>
 
 
 
 
 
 
 
89
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
90
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
91
  listing the terms assigned to a specific post or Media Library item.</h2>
@@ -118,7 +125,7 @@ listing the terms assigned to a specific post or Media Library item.</h2>
118
  <h3>Parameters</h3>
119
  <div class="subelement argument">
120
  <h4>$attr</h4>
121
- <code>array</code><p>Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
122
  <h3>Returns</h3>
123
  <div class="subelement response">
124
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
@@ -152,6 +159,28 @@ display an "accordian-style" list.</p></p>
152
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
153
  </div></div>
154
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  </div>
156
  </div>
157
  </div>
@@ -159,7 +188,7 @@ display an "accordian-style" list.</p></p>
159
  <div class="row"><footer class="span12">
160
  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>
161
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
162
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
163
  </div>
164
  </body>
165
  </html>
86
  <div class="package-indent">
87
  <h3>
88
  <i class="icon-custom icon-function"></i> Functions</h3>
89
+ <a name="mla_after_setup_theme_action" id="mla_after_setup_theme_action"></a><div class="element clickable function mla_after_setup_theme_action" data-toggle="collapse" data-target=".mla_after_setup_theme_action .collapse">
90
+ <h2>Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
91
+ and/or from the theme's own directory.</h2>
92
+ <pre>mla_after_setup_theme_action() : void</pre>
93
+ <div class="labels"></div>
94
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
95
+ </div>
96
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
97
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
98
  listing the terms assigned to a specific post or Media Library item.</h2>
125
  <h3>Parameters</h3>
126
  <div class="subelement argument">
127
  <h4>$attr</h4>
128
+ <code>array</code><p>Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
129
  <h3>Returns</h3>
130
  <div class="subelement response">
131
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
159
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
160
  </div></div>
161
  </div>
162
+ <a name="mla_wp_title_filter" id="mla_wp_title_filter"></a><div class="element clickable function mla_wp_title_filter" data-toggle="collapse" data-target=".mla_wp_title_filter .collapse">
163
+ <h2>Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages</h2>
164
+ <pre>mla_wp_title_filter(string $title, string $sep, string $seplocation) : string</pre>
165
+ <div class="labels"></div>
166
+ <div class="row collapse"><div class="detail-description">
167
+ <p class="long_description"></p>
168
+ <h3>Parameters</h3>
169
+ <div class="subelement argument">
170
+ <h4>$title</h4>
171
+ <code>string</code><p>The default page title</p></div>
172
+ <div class="subelement argument">
173
+ <h4>$sep</h4>
174
+ <code>string</code><p>How to separate the various items within the page title</p></div>
175
+ <div class="subelement argument">
176
+ <h4>$seplocation</h4>
177
+ <code>string</code><p>Optional. Direction to display title, 'right'.</p>
178
+ </div>
179
+ <h3>Returns</h3>
180
+ <div class="subelement response">
181
+ <code>string</code>updated title value</div>
182
+ </div></div>
183
+ </div>
184
  </div>
185
  </div>
186
  </div>
188
  <div class="row"><footer class="span12">
189
  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>
190
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
191
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
192
  </div>
193
  </body>
194
  </html>
phpDocs/packages/Media Library Assistant.MLA.html CHANGED
@@ -96,6 +96,13 @@
96
  <div class="package-indent">
97
  <h3>
98
  <i class="icon-custom icon-function"></i> Functions</h3>
 
 
 
 
 
 
 
99
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
100
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
101
  listing the terms assigned to a specific post or Media Library item.</h2>
@@ -128,7 +135,7 @@ listing the terms assigned to a specific post or Media Library item.</h2>
128
  <h3>Parameters</h3>
129
  <div class="subelement argument">
130
  <h4>$attr</h4>
131
- <code>array</code><p>Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
132
  <h3>Returns</h3>
133
  <div class="subelement response">
134
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
@@ -162,6 +169,28 @@ display an "accordian-style" list.</p></p>
162
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
163
  </div></div>
164
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  </div>
166
  </div>
167
  </div>
@@ -170,7 +199,7 @@ display an "accordian-style" list.</p></p>
170
  <div class="row"><footer class="span12">
171
  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>
172
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
173
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
174
  </div>
175
  </body>
176
  </html>
96
  <div class="package-indent">
97
  <h3>
98
  <i class="icon-custom icon-function"></i> Functions</h3>
99
+ <a name="mla_after_setup_theme_action" id="mla_after_setup_theme_action"></a><div class="element clickable function mla_after_setup_theme_action" data-toggle="collapse" data-target=".mla_after_setup_theme_action .collapse">
100
+ <h2>Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
101
+ and/or from the theme's own directory.</h2>
102
+ <pre>mla_after_setup_theme_action() : void</pre>
103
+ <div class="labels"></div>
104
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
105
+ </div>
106
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
107
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
108
  listing the terms assigned to a specific post or Media Library item.</h2>
135
  <h3>Parameters</h3>
136
  <div class="subelement argument">
137
  <h4>$attr</h4>
138
+ <code>array</code><p>Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
139
  <h3>Returns</h3>
140
  <div class="subelement response">
141
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
169
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
170
  </div></div>
171
  </div>
172
+ <a name="mla_wp_title_filter" id="mla_wp_title_filter"></a><div class="element clickable function mla_wp_title_filter" data-toggle="collapse" data-target=".mla_wp_title_filter .collapse">
173
+ <h2>Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages</h2>
174
+ <pre>mla_wp_title_filter(string $title, string $sep, string $seplocation) : string</pre>
175
+ <div class="labels"></div>
176
+ <div class="row collapse"><div class="detail-description">
177
+ <p class="long_description"></p>
178
+ <h3>Parameters</h3>
179
+ <div class="subelement argument">
180
+ <h4>$title</h4>
181
+ <code>string</code><p>The default page title</p></div>
182
+ <div class="subelement argument">
183
+ <h4>$sep</h4>
184
+ <code>string</code><p>How to separate the various items within the page title</p></div>
185
+ <div class="subelement argument">
186
+ <h4>$seplocation</h4>
187
+ <code>string</code><p>Optional. Direction to display title, 'right'.</p>
188
+ </div>
189
+ <h3>Returns</h3>
190
+ <div class="subelement response">
191
+ <code>string</code>updated title value</div>
192
+ </div></div>
193
+ </div>
194
  </div>
195
  </div>
196
  </div>
199
  <div class="row"><footer class="span12">
200
  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>
201
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
202
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
203
  </div>
204
  </body>
205
  </html>
phpDocs/packages/Media Library Assistant.html CHANGED
@@ -97,6 +97,7 @@ to ensure the plugin can run in the current WordPress envrionment.">MLATest</a><
97
  <i class="icon-custom icon-constant"></i> Constants</li>
98
  <li class="constant "><a href="#MLA_BACKUP_DIR" title="MLA_BACKUP_DIR :: "><span class="description">MLA_BACKUP_DIR</span><pre>MLA_BACKUP_DIR</pre></a></li>
99
  <li class="constant "><a href="#MLA_OPTION_PREFIX" title="MLA_OPTION_PREFIX :: Gives a unique prefix for plugin options; can be set in wp-config.php"><span class="description">Gives a unique prefix for plugin options; can be set in wp-config.php</span><pre>MLA_OPTION_PREFIX</pre></a></li>
 
100
  <li class="constant "><a href="#MLA_PLUGIN_PATH" title="MLA_PLUGIN_PATH :: Provides path information to the plugin root in file system format, including the trailing slash."><span class="description">Provides path information to the plugin root in file system format, including the trailing slash.</span><pre>MLA_PLUGIN_PATH</pre></a></li>
101
  <li class="constant "><a href="#MLA_PLUGIN_URL" title="MLA_PLUGIN_URL :: Provides path information to the plugin root in URL format."><span class="description">Provides path information to the plugin root in URL format.</span><pre>MLA_PLUGIN_URL</pre></a></li>
102
  </ul>
@@ -268,6 +269,12 @@ searchable database of exension/type associations for the "Uploads" admin settin
268
  <div class="labels"></div>
269
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
270
  </div>
 
 
 
 
 
 
271
  <a name="MLA_PLUGIN_PATH" id="MLA_PLUGIN_PATH"> </a><div class="element clickable constant MLA_PLUGIN_PATH" data-toggle="collapse" data-target=".MLA_PLUGIN_PATH .collapse">
272
  <h2>Provides path information to the plugin root in file system format, including the trailing slash.</h2>
273
  <pre>MLA_PLUGIN_PATH </pre>
@@ -309,6 +316,13 @@ searchable database of exension/type associations for the "Uploads" admin settin
309
  <div class="package-indent">
310
  <h3>
311
  <i class="icon-custom icon-function"></i> Functions</h3>
 
 
 
 
 
 
 
312
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
313
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
314
  listing the terms assigned to a specific post or Media Library item.</h2>
@@ -341,7 +355,7 @@ listing the terms assigned to a specific post or Media Library item.</h2>
341
  <h3>Parameters</h3>
342
  <div class="subelement argument">
343
  <h4>$attr</h4>
344
- <code>array</code><p>Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
345
  <h3>Returns</h3>
346
  <div class="subelement response">
347
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
@@ -375,6 +389,28 @@ display an "accordian-style" list.</p></p>
375
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
376
  </div></div>
377
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
378
  </div>
379
  </div>
380
  </div>
@@ -384,7 +420,7 @@ display an "accordian-style" list.</p></p>
384
  <div class="row"><footer class="span12">
385
  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>
386
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
387
- generated on 2014-03-27T17:01:48-07:00.<br></footer></div>
388
  </div>
389
  </body>
390
  </html>
97
  <i class="icon-custom icon-constant"></i> Constants</li>
98
  <li class="constant "><a href="#MLA_BACKUP_DIR" title="MLA_BACKUP_DIR :: "><span class="description">MLA_BACKUP_DIR</span><pre>MLA_BACKUP_DIR</pre></a></li>
99
  <li class="constant "><a href="#MLA_OPTION_PREFIX" title="MLA_OPTION_PREFIX :: Gives a unique prefix for plugin options; can be set in wp-config.php"><span class="description">Gives a unique prefix for plugin options; can be set in wp-config.php</span><pre>MLA_OPTION_PREFIX</pre></a></li>
100
+ <li class="constant "><a href="#MLA_PLUGIN_BASENAME" title="MLA_PLUGIN_BASENAME :: Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes."><span class="description">Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</span><pre>MLA_PLUGIN_BASENAME</pre></a></li>
101
  <li class="constant "><a href="#MLA_PLUGIN_PATH" title="MLA_PLUGIN_PATH :: Provides path information to the plugin root in file system format, including the trailing slash."><span class="description">Provides path information to the plugin root in file system format, including the trailing slash.</span><pre>MLA_PLUGIN_PATH</pre></a></li>
102
  <li class="constant "><a href="#MLA_PLUGIN_URL" title="MLA_PLUGIN_URL :: Provides path information to the plugin root in URL format."><span class="description">Provides path information to the plugin root in URL format.</span><pre>MLA_PLUGIN_URL</pre></a></li>
103
  </ul>
269
  <div class="labels"></div>
270
  <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
271
  </div>
272
+ <a name="MLA_PLUGIN_BASENAME" id="MLA_PLUGIN_BASENAME"> </a><div class="element clickable constant MLA_PLUGIN_BASENAME" data-toggle="collapse" data-target=".MLA_PLUGIN_BASENAME .collapse">
273
+ <h2>Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.</h2>
274
+ <pre>MLA_PLUGIN_BASENAME </pre>
275
+ <div class="labels"></div>
276
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
277
+ </div>
278
  <a name="MLA_PLUGIN_PATH" id="MLA_PLUGIN_PATH"> </a><div class="element clickable constant MLA_PLUGIN_PATH" data-toggle="collapse" data-target=".MLA_PLUGIN_PATH .collapse">
279
  <h2>Provides path information to the plugin root in file system format, including the trailing slash.</h2>
280
  <pre>MLA_PLUGIN_PATH </pre>
316
  <div class="package-indent">
317
  <h3>
318
  <i class="icon-custom icon-function"></i> Functions</h3>
319
+ <a name="mla_after_setup_theme_action" id="mla_after_setup_theme_action"></a><div class="element clickable function mla_after_setup_theme_action" data-toggle="collapse" data-target=".mla_after_setup_theme_action .collapse">
320
+ <h2>Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
321
+ and/or from the theme's own directory.</h2>
322
+ <pre>mla_after_setup_theme_action() : void</pre>
323
+ <div class="labels"></div>
324
+ <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
325
+ </div>
326
  <a name="mla_custom_terms_list" id="mla_custom_terms_list"></a><div class="element clickable function mla_custom_terms_list" data-toggle="collapse" data-target=".mla_custom_terms_list .collapse">
327
  <h2>Generate a list of taxonomy- and term-specific links to the page of your choice,
328
  listing the terms assigned to a specific post or Media Library item.</h2>
355
  <h3>Parameters</h3>
356
  <div class="subelement argument">
357
  <h4>$attr</h4>
358
+ <code>array</code><p>Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page</p></div>
359
  <h3>Returns</h3>
360
  <div class="subelement response">
361
  <code>integer</code>number of posts matching taxonomy & term, before LIMIT. echoes HTML <h3>, <p> and <a> tags</div>
389
  <code>string</code>HTML <h3>, <p> and <a> tags</div>
390
  </div></div>
391
  </div>
392
+ <a name="mla_wp_title_filter" id="mla_wp_title_filter"></a><div class="element clickable function mla_wp_title_filter" data-toggle="collapse" data-target=".mla_wp_title_filter .collapse">
393
+ <h2>Customize the &lt;title&gt; tag content for the Tag Gallery and Single Image pages</h2>
394
+ <pre>mla_wp_title_filter(string $title, string $sep, string $seplocation) : string</pre>
395
+ <div class="labels"></div>
396
+ <div class="row collapse"><div class="detail-description">
397
+ <p class="long_description"></p>
398
+ <h3>Parameters</h3>
399
+ <div class="subelement argument">
400
+ <h4>$title</h4>
401
+ <code>string</code><p>The default page title</p></div>
402
+ <div class="subelement argument">
403
+ <h4>$sep</h4>
404
+ <code>string</code><p>How to separate the various items within the page title</p></div>
405
+ <div class="subelement argument">
406
+ <h4>$seplocation</h4>
407
+ <code>string</code><p>Optional. Direction to display title, 'right'.</p>
408
+ </div>
409
+ <h3>Returns</h3>
410
+ <div class="subelement response">
411
+ <code>string</code>updated title value</div>
412
+ </div></div>
413
+ </div>
414
  </div>
415
  </div>
416
  </div>
420
  <div class="row"><footer class="span12">
421
  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>
422
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
423
+ generated on 2014-04-02T22:02:17-07:00.<br></footer></div>
424
  </div>
425
  </body>
426
  </html>
phpDocs/structure.xml CHANGED
@@ -24,7 +24,20 @@ called from the taxonomy.php template.]]></description>
24
  <tag line="2" name="since" description="MLA 1.80"/>
25
  </docblock>
26
  </file>
27
- <file path="examples\twentytwelve-mla\content-tag-gallery.php" hash="6ab750eaaf484ca5ad2d6dfc817292e5" package="Media Library Assistant\MLA\Child\Theme">
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  <docblock line="2">
29
  <description><![CDATA[The template used for displaying "Tag Gallery" content in page-tag-gallery.php]]></description>
30
  <long-description><![CDATA[<p>The default taxonomy slug is "attachment_tag". You can select the taxonomy you want by adding
@@ -38,7 +51,7 @@ a query parameter to the URL, e.g., "?my_term=yellow".</p>]]></long-description>
38
  <tag line="2" name="since" description="MLA 1.80"/>
39
  </docblock>
40
  </file>
41
- <file path="examples\twentytwelve-mla\functions.php" hash="5e8ae4129d371c30c248407a847e64bf" package="Media Library Assistant\MLA\Child\Theme">
42
  <docblock line="2">
43
  <description><![CDATA[MLA Child for Twenty Twelve functions and definitions]]></description>
44
  <long-description><![CDATA[<p>Sets up the theme and provides some helper functions, which are used
@@ -46,102 +59,149 @@ in the theme as custom template tags. Others are attached to action and
46
  filter hooks in WordPress to change core functionality.</p>]]></long-description>
47
  <tag line="2" name="package" description="Media Library Assistant"/>
48
  <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
49
- <tag line="2" name="version" description="1.00"/>
50
  <tag line="2" name="since" description="MLA 1.80"/>
51
  </docblock>
52
  <function namespace="global" line="37" package="Media Library Assistant\MLA\Child\Theme">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  <name>mla_tag_gallery</name>
54
  <full_name>\mla_tag_gallery</full_name>
55
- <docblock line="30">
56
  <description><![CDATA[Generate a taxonomy- and term-specific [mla_gallery]]]></description>
57
  <long-description><![CDATA[]]></long-description>
58
- <tag line="30" name="param" description="Attributes of the function: taxonomy, term" type="array" variable="$attr">
59
  <type by_reference="false">array</type>
60
  </tag>
61
- <tag line="30" name="return" description="echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="void">
62
  <type by_reference="false">void</type>
63
  </tag>
64
  </docblock>
65
- <argument line="37">
66
  <name>$attr</name>
67
  <default><![CDATA[NULL]]></default>
68
  <type/>
69
  </argument>
70
  </function>
71
- <function namespace="global" line="85" package="Media Library Assistant\MLA\Child\Theme">
72
  <name>mla_paginated_term_gallery</name>
73
  <full_name>\mla_paginated_term_gallery</full_name>
74
- <docblock line="76">
75
  <description><![CDATA[Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page]]></description>
76
  <long-description><![CDATA[<p>This function uses $wpdb functions for efficiency.</p>]]></long-description>
77
- <tag line="76" name="param" description="Attributes of the function: taxonomy, term, post_mime_type, posts_per_page, current_page" type="array" variable="$attr">
78
  <type by_reference="false">array</type>
79
  </tag>
80
- <tag line="76" name="return" description="number of posts matching taxonomy &amp; term, before LIMIT. echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="integer">
81
  <type by_reference="false">integer</type>
82
  </tag>
83
  </docblock>
84
- <argument line="85">
85
  <name>$attr</name>
86
  <default><![CDATA[NULL]]></default>
87
  <type/>
88
  </argument>
89
  </function>
90
- <function namespace="global" line="157" package="Media Library Assistant\MLA\Child\Theme">
91
  <name>mla_custom_terms_list</name>
92
  <full_name>\mla_custom_terms_list</full_name>
93
- <docblock line="148">
94
  <description><![CDATA[Generate a list of taxonomy- and term-specific links to the page of your choice,
95
  listing the terms assigned to a specific post or Media Library item.]]></description>
96
  <long-description><![CDATA[]]></long-description>
97
- <tag line="148" name="param" description="ID of the post/page to generate terms for" type="integer" variable="$ID">
98
  <type by_reference="false">integer</type>
99
  </tag>
100
- <tag line="148" name="param" description="Attributes of the function: site_url, page_url, taxonomy" type="array" variable="$attr">
101
  <type by_reference="false">array</type>
102
  </tag>
103
- <tag line="148" name="return" description="echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="void">
104
  <type by_reference="false">void</type>
105
  </tag>
106
  </docblock>
107
- <argument line="157">
108
  <name>$ID</name>
109
  <default><![CDATA[]]></default>
110
  <type/>
111
  </argument>
112
- <argument line="157">
113
  <name>$attr</name>
114
  <default><![CDATA[NULL]]></default>
115
  <type/>
116
  </argument>
117
  </function>
118
- <function namespace="global" line="205" package="Media Library Assistant\MLA\Child\Theme">
119
  <name>mla_taxonomy_terms_list</name>
120
  <full_name>\mla_taxonomy_terms_list</full_name>
121
- <docblock line="196">
122
  <description><![CDATA[Generate a list of taxonomy- and term-specific links to the page of your choice.]]></description>
123
  <long-description><![CDATA[<p>Best used with the Collapse-O-Matic plugin, which uses the [expand] shortcode to
124
  display an "accordian-style" list.</p>]]></long-description>
125
- <tag line="196" name="param" description="Attributes of the function: taxonomy" type="array" variable="$attr">
126
  <type by_reference="false">array</type>
127
  </tag>
128
- <tag line="196" name="return" description="HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="string">
129
  <type by_reference="false">string</type>
130
  </tag>
131
  </docblock>
132
- <argument line="205">
133
  <name>$attr</name>
134
  <default><![CDATA[NULL]]></default>
135
  <type/>
136
  </argument>
137
  </function>
138
- <function namespace="global" line="241" package="Media Library Assistant\MLA\Child\Theme">
139
  <name>mla_insert_social_tags</name>
140
  <full_name>\mla_insert_social_tags</full_name>
141
- <docblock line="236">
142
  <description><![CDATA[Insert thumbnail image tags for Facebook, Twitter, etc.]]></description>
143
  <long-description><![CDATA[]]></long-description>
144
- <tag line="236" name="return" description="echoes HTML &lt;meta&gt; tags" type="void">
145
  <type by_reference="false">void</type>
146
  </tag>
147
  </docblock>
@@ -162,7 +222,7 @@ The mla-child version has code to insert thumbnail image tags for Facebook, Twit
162
  <tag line="2" name="since" description="MLA 1.80"/>
163
  </docblock>
164
  </file>
165
- <file path="examples\twentytwelve-mla\image.php" hash="93516d28363cbaf5d538df05b27c2cad" package="Media Library Assistant\MLA\Child\Theme">
166
  <docblock line="2">
167
  <description><![CDATA[The template for displaying "Attachment Posts" for $mimetype = "image",
168
  a more specific alternative to the generic "attachment.php" template.]]></description>
@@ -180,6 +240,19 @@ a more specific alternative to the generic "attachment.php" template.]]></descri
180
  must be defined as a static WordPress "Page" post type.]]></description>
181
  <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
182
  and that other 'pages' on your WordPress site will use a
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  different template.</p>]]></long-description>
184
  <tag line="2" name="package" description="Media Library Assistant"/>
185
  <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
@@ -200,7 +273,7 @@ different template.</p>]]></long-description>
200
  <tag line="2" name="since" description="MLA 1.80"/>
201
  </docblock>
202
  </file>
203
- <file path="examples\twentytwelve-mla\taxonomy.php" hash="90dbcf28ab7c00a7ab541a84c83571dc" package="Media Library Assistant\MLA\Child\Theme">
204
  <docblock line="2">
205
  <description><![CDATA[The template for displaying Custom Taxonomy Archive pages]]></description>
206
  <long-description><![CDATA[<p>Twenty Twelve already has tag.php for Tag archives and category.php for Category archives.</p>]]></long-description>
@@ -211,7 +284,7 @@ different template.</p>]]></long-description>
211
  <tag line="2" name="since" description="MLA 1.80"/>
212
  </docblock>
213
  </file>
214
- <file path="includes\class-mla-data.php" hash="3fcf287f52cdda82ccb83420576b81d9" package="Media Library Assistant">
215
  <docblock line="2">
216
  <description><![CDATA[Database and template file access for MLA needs]]></description>
217
  <long-description><![CDATA[]]></long-description>
@@ -407,6 +480,19 @@ the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130,
407
  </tag>
408
  </docblock>
409
  </property>
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="43" package="Media Library Assistant">
411
  <name>initialize</name>
412
  <full_name>initialize</full_name>
@@ -1122,7 +1208,7 @@ Defined as public because it's a filter.</p>]]></long-description>
1122
  <type/>
1123
  </argument>
1124
  </method>
1125
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="2068" package="Media Library Assistant">
1126
  <name>mla_get_attachment_by_id</name>
1127
  <full_name>mla_get_attachment_by_id</full_name>
1128
  <docblock line="2056">
@@ -1955,210 +2041,254 @@ dictionary in the source string, excluding the enclosing delimiters, if passed i
1955
  <type/>
1956
  </argument>
1957
  </method>
1958
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4571" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1959
  <name>mla_fetch_attachment_image_metadata</name>
1960
  <full_name>mla_fetch_attachment_image_metadata</full_name>
1961
- <docblock line="4561">
1962
  <description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
1963
  <long-description><![CDATA[]]></long-description>
1964
- <tag line="4561" name="since" description="0.90"/>
1965
- <tag line="4561" name="param" description="post ID of attachment" type="int" variable="$post_id">
1966
  <type by_reference="false">int</type>
1967
  </tag>
1968
- <tag line="4561" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
1969
  <type by_reference="false">string</type>
1970
  </tag>
1971
- <tag line="4561" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
1972
  <type by_reference="false">array</type>
1973
  </tag>
1974
  </docblock>
1975
- <argument line="4571">
1976
  <name>$post_id</name>
1977
  <default><![CDATA[]]></default>
1978
  <type/>
1979
  </argument>
1980
- <argument line="4571">
1981
  <name>$path</name>
1982
  <default><![CDATA['']]></default>
1983
  <type/>
1984
  </argument>
1985
  </method>
1986
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4743" package="Media Library Assistant">
1987
  <name>mla_update_wp_attachment_metadata</name>
1988
  <full_name>mla_update_wp_attachment_metadata</full_name>
1989
- <docblock line="4733">
1990
  <description><![CDATA[Update "meta:" data for a single attachment]]></description>
1991
  <long-description><![CDATA[]]></long-description>
1992
- <tag line="4733" name="since" description="1.51"/>
1993
- <tag line="4733" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
1994
  <type by_reference="false">array</type>
1995
  </tag>
1996
- <tag line="4733" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
1997
  <type by_reference="false">array</type>
1998
  </tag>
1999
- <tag line="4733" name="return" description="success/failure message(s); empty string if no changes." type="string">
2000
  <type by_reference="false">string</type>
2001
  </tag>
2002
  </docblock>
2003
- <argument line="4743">
2004
  <name>$current_values</name>
2005
  <default><![CDATA[]]></default>
2006
  <type/>
2007
  </argument>
2008
- <argument line="4743">
2009
  <name>$new_meta</name>
2010
  <default><![CDATA[]]></default>
2011
  <type/>
2012
  </argument>
2013
  </method>
2014
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4826" package="Media Library Assistant">
2015
  <name>mla_update_item_postmeta</name>
2016
  <full_name>mla_update_item_postmeta</full_name>
2017
- <docblock line="4816">
2018
  <description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
2019
  <long-description><![CDATA[]]></long-description>
2020
- <tag line="4816" name="since" description="1.40"/>
2021
- <tag line="4816" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2022
  <type by_reference="false">int</type>
2023
  </tag>
2024
- <tag line="4816" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2025
  <type by_reference="false">array</type>
2026
  </tag>
2027
- <tag line="4816" name="return" description="success/failure message(s)" type="string">
2028
  <type by_reference="false">string</type>
2029
  </tag>
2030
  </docblock>
2031
- <argument line="4826">
2032
  <name>$post_id</name>
2033
  <default><![CDATA[]]></default>
2034
  <type/>
2035
  </argument>
2036
- <argument line="4826">
2037
  <name>$new_meta</name>
2038
  <default><![CDATA[]]></default>
2039
  <type/>
2040
  </argument>
2041
  </method>
2042
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4993" package="Media Library Assistant">
2043
  <name>mla_update_single_item</name>
2044
  <full_name>mla_update_single_item</full_name>
2045
- <docblock line="4980">
2046
  <description><![CDATA[Update a single item; change the "post" data, taxonomy terms
2047
  and meta data for a single attachment]]></description>
2048
  <long-description><![CDATA[]]></long-description>
2049
- <tag line="4980" name="since" description="0.1"/>
2050
- <tag line="4980" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2051
  <type by_reference="false">int</type>
2052
  </tag>
2053
- <tag line="4980" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_data">
2054
  <type by_reference="false">array</type>
2055
  </tag>
2056
- <tag line="4980" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
2057
  <type by_reference="false">array</type>
2058
  </tag>
2059
- <tag line="4980" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
2060
  <type by_reference="false">array</type>
2061
  </tag>
2062
- <tag line="4980" name="return" description="success/failure message and NULL content" type="array">
2063
  <type by_reference="false">array</type>
2064
  </tag>
2065
  </docblock>
2066
- <argument line="4993">
2067
  <name>$post_id</name>
2068
  <default><![CDATA[]]></default>
2069
  <type/>
2070
  </argument>
2071
- <argument line="4993">
2072
  <name>$new_data</name>
2073
  <default><![CDATA[]]></default>
2074
  <type/>
2075
  </argument>
2076
- <argument line="4993">
2077
  <name>$tax_input</name>
2078
  <default><![CDATA[NULL]]></default>
2079
  <type/>
2080
  </argument>
2081
- <argument line="4993">
2082
  <name>$tax_actions</name>
2083
  <default><![CDATA[NULL]]></default>
2084
  <type/>
2085
  </argument>
2086
  </method>
2087
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5269" package="Media Library Assistant">
2088
  <name>_remove_tags</name>
2089
  <full_name>_remove_tags</full_name>
2090
- <docblock line="5258">
2091
  <description><![CDATA[Remove tags from a term ids list]]></description>
2092
  <long-description><![CDATA[]]></long-description>
2093
- <tag line="5258" name="since" description="0.40"/>
2094
- <tag line="5258" name="param" description="The term ids currently assigned" type="array" variable="$terms_before">
2095
  <type by_reference="false">array</type>
2096
  </tag>
2097
- <tag line="5258" name="param" description="| string The term ids (array) or names (string) to remove" type="array" variable="$tags">
2098
  <type by_reference="false">array</type>
2099
  </tag>
2100
- <tag line="5258" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
2101
  <type by_reference="false">object</type>
2102
  </tag>
2103
- <tag line="5258" name="return" description="Term ids of the surviving tags" type="array">
2104
  <type by_reference="false">array</type>
2105
  </tag>
2106
  </docblock>
2107
- <argument line="5269">
2108
  <name>$terms_before</name>
2109
  <default><![CDATA[]]></default>
2110
  <type/>
2111
  </argument>
2112
- <argument line="5269">
2113
  <name>$tags</name>
2114
  <default><![CDATA[]]></default>
2115
  <type/>
2116
  </argument>
2117
- <argument line="5269">
2118
  <name>$taxonomy_obj</name>
2119
  <default><![CDATA[]]></default>
2120
  <type/>
2121
  </argument>
2122
  </method>
2123
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5318" package="Media Library Assistant">
2124
  <name>_hex_dump</name>
2125
  <full_name>_hex_dump</full_name>
2126
- <docblock line="5306">
2127
  <description><![CDATA[Format printable version of binary data]]></description>
2128
  <long-description><![CDATA[]]></long-description>
2129
- <tag line="5306" name="since" description="0.90"/>
2130
- <tag line="5306" name="param" description="Binary data" type="string" variable="$data">
2131
  <type by_reference="false">string</type>
2132
  </tag>
2133
- <tag line="5306" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
2134
  <type by_reference="false">integer</type>
2135
  </tag>
2136
- <tag line="5306" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
2137
  <type by_reference="false">\intger</type>
2138
  </tag>
2139
- <tag line="5306" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
2140
  <type by_reference="false">integer</type>
2141
  </tag>
2142
- <tag line="5306" name="return" description="Printable representation of $data" type="string">
2143
  <type by_reference="false">string</type>
2144
  </tag>
2145
  </docblock>
2146
- <argument line="5318">
2147
  <name>$data</name>
2148
  <default><![CDATA[]]></default>
2149
  <type/>
2150
  </argument>
2151
- <argument line="5318">
2152
  <name>$limit</name>
2153
  <default><![CDATA[0]]></default>
2154
  <type/>
2155
  </argument>
2156
- <argument line="5318">
2157
  <name>$bytes_per_row</name>
2158
  <default><![CDATA[16]]></default>
2159
  <type/>
2160
  </argument>
2161
- <argument line="5318">
2162
  <name>$offset</name>
2163
  <default><![CDATA[-1]]></default>
2164
  <type/>
@@ -2169,7 +2299,7 @@ and meta data for a single attachment]]></description>
2169
  <todo line="3244">encode the rest</todo>
2170
  </markers>
2171
  </file>
2172
- <file path="includes\class-mla-edit-media.php" hash="5d59001c1d3fa4d250f86c69b9e3dd0c" package="Media Library Assistant">
2173
  <docblock line="2">
2174
  <description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
2175
  <long-description><![CDATA[]]></long-description>
@@ -2530,12 +2660,11 @@ The array is built once each page load and cached for subsequent calls.</p>]]></
2530
  <type/>
2531
  </argument>
2532
  </method>
2533
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="604" package="Media Library Assistant">
2534
  <name>_mla_ajax_add_flat_term</name>
2535
  <full_name>_mla_ajax_add_flat_term</full_name>
2536
  <docblock line="592">
2537
- <description><![CDATA[Add flat taxonomy term from "checklist" meta box on both the Edit/Edit Media screen and
2538
- the Media Manager Modal WIndow]]></description>
2539
  <long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
2540
  <tag line="592" name="since" description="1.80"/>
2541
  <tag line="592" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
@@ -2545,143 +2674,143 @@ the Media Manager Modal WIndow]]></description>
2545
  <type by_reference="false">void</type>
2546
  </tag>
2547
  </docblock>
2548
- <argument line="604">
2549
  <name>$key</name>
2550
  <default><![CDATA[]]></default>
2551
  <type/>
2552
  </argument>
2553
  </method>
2554
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="668" package="Media Library Assistant">
2555
  <name>mla_checklist_meta_box</name>
2556
  <full_name>mla_checklist_meta_box</full_name>
2557
- <docblock line="653">
2558
  <description><![CDATA[Display taxonomy "checklist" form fields]]></description>
2559
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
2560
  Includes the "? Search" area to filter the term checklist by entering part
2561
  or all of a word/phrase in the term label.
2562
  Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
2563
- <tag line="653" name="since" description="1.71"/>
2564
- <tag line="653" name="param" description="The current post" type="object" variable="$target_post">
2565
  <type by_reference="false">object</type>
2566
  </tag>
2567
- <tag line="653" name="param" description="The meta box parameters" type="array" variable="$box">
2568
  <type by_reference="false">array</type>
2569
  </tag>
2570
- <tag line="653" name="return" description="Echoes HTML for the form fields" type="void">
2571
  <type by_reference="false">void</type>
2572
  </tag>
2573
  </docblock>
2574
- <argument line="668">
2575
  <name>$target_post</name>
2576
  <default><![CDATA[]]></default>
2577
  <type/>
2578
  </argument>
2579
- <argument line="668">
2580
  <name>$box</name>
2581
  <default><![CDATA[]]></default>
2582
  <type/>
2583
  </argument>
2584
  </method>
2585
  </class>
2586
- <class final="false" abstract="false" namespace="global" line="831" package="Media Library Assistant">
2587
  <extends>\Walker_Category</extends>
2588
  <name>MLA_Checklist_Walker</name>
2589
  <full_name>\MLA_Checklist_Walker</full_name>
2590
- <docblock line="821">
2591
  <description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
2592
  <long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
2593
  Class Walker_Category is defined in /wp-includes/category-template.php.
2594
  Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
2595
- <tag line="821" name="package" description="Media Library Assistant"/>
2596
- <tag line="821" name="since" description="1.80"/>
2597
  </docblock>
2598
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="845" package="Media Library Assistant">
2599
  <name>start_el</name>
2600
  <full_name>start_el</full_name>
2601
- <docblock line="832">
2602
  <description><![CDATA[Start the element output.]]></description>
2603
  <long-description><![CDATA[]]></long-description>
2604
- <tag line="832" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
2605
- <tag line="832" name="since" description="1.80"/>
2606
- <tag line="832" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
2607
  <type by_reference="false">string</type>
2608
  </tag>
2609
- <tag line="832" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
2610
  <type by_reference="false">object</type>
2611
  </tag>
2612
- <tag line="832" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
2613
  <type by_reference="false">int</type>
2614
  </tag>
2615
- <tag line="832" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
2616
  <type by_reference="false">array</type>
2617
  </tag>
2618
- <tag line="832" name="param" description="ID of the current category." type="int" variable="$id">
2619
  <type by_reference="false">int</type>
2620
  </tag>
2621
  </docblock>
2622
- <argument line="845">
2623
  <name>$output</name>
2624
  <default><![CDATA[]]></default>
2625
  <type/>
2626
  </argument>
2627
- <argument line="845">
2628
  <name>$taxonomy_object</name>
2629
  <default><![CDATA[]]></default>
2630
  <type/>
2631
  </argument>
2632
- <argument line="845">
2633
  <name>$depth</name>
2634
  <default><![CDATA[0]]></default>
2635
  <type/>
2636
  </argument>
2637
- <argument line="845">
2638
  <name>$args</name>
2639
  <default><![CDATA[array()]]></default>
2640
  <type/>
2641
  </argument>
2642
- <argument line="845">
2643
  <name>$id</name>
2644
  <default><![CDATA[0]]></default>
2645
  <type/>
2646
  </argument>
2647
  </method>
2648
- <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="878" package="Media Library Assistant">
2649
  <name>end_el</name>
2650
  <full_name>end_el</full_name>
2651
- <docblock line="866">
2652
  <description><![CDATA[Ends the element output, if needed.]]></description>
2653
  <long-description><![CDATA[]]></long-description>
2654
- <tag line="866" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
2655
- <tag line="866" name="since" description="1.80"/>
2656
- <tag line="866" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
2657
  <type by_reference="false">string</type>
2658
  </tag>
2659
- <tag line="866" name="param" description="The current term object." type="object" variable="$category">
2660
  <type by_reference="false">object</type>
2661
  </tag>
2662
- <tag line="866" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
2663
  <type by_reference="false">int</type>
2664
  </tag>
2665
- <tag line="866" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
2666
  <type by_reference="false">array</type>
2667
  </tag>
2668
  </docblock>
2669
- <argument line="878">
2670
  <name>$output</name>
2671
  <default><![CDATA[]]></default>
2672
  <type/>
2673
  </argument>
2674
- <argument line="878">
2675
  <name>$category</name>
2676
  <default><![CDATA[]]></default>
2677
  <type/>
2678
  </argument>
2679
- <argument line="878">
2680
  <name>$depth</name>
2681
  <default><![CDATA[0]]></default>
2682
  <type/>
2683
  </argument>
2684
- <argument line="878">
2685
  <name>$args</name>
2686
  <default><![CDATA[array()]]></default>
2687
  <type/>
@@ -3675,7 +3804,7 @@ $this->set_pagination_args().</p>]]></long-description>
3675
  </method>
3676
  </class>
3677
  </file>
3678
- <file path="includes\class-mla-main.php" hash="e37573424fbee24039a0b5512b07514f" package="Media Library Assistant">
3679
  <docblock line="2">
3680
  <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
3681
  <long-description><![CDATA[]]></long-description>
@@ -3699,7 +3828,7 @@ of images and files held in the WordPress Media Library.]]></description>
3699
  <constant namespace="global" line="32" package="Media Library Assistant">
3700
  <name>CURRENT_MLA_VERSION</name>
3701
  <full_name>CURRENT_MLA_VERSION</full_name>
3702
- <value><![CDATA['1.80']]></value>
3703
  <docblock line="25">
3704
  <description><![CDATA[Current version number]]></description>
3705
  <long-description><![CDATA[]]></long-description>
@@ -3981,125 +4110,125 @@ add filter to clean up taxonomy submenu labels.</p>]]></long-description>
3981
  </tag>
3982
  </docblock>
3983
  </method>
3984
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="407" package="Media Library Assistant">
3985
  <name>mla_load_media_action</name>
3986
  <full_name>mla_load_media_action</full_name>
3987
- <docblock line="400">
3988
  <description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
3989
  <long-description><![CDATA[]]></long-description>
3990
- <tag line="400" name="since" description="1.60"/>
3991
- <tag line="400" name="return" description="" type="void">
3992
  <type by_reference="false">void</type>
3993
  </tag>
3994
  </docblock>
3995
  </method>
3996
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="435" package="Media Library Assistant">
3997
  <name>mla_add_menu_options</name>
3998
  <full_name>mla_add_menu_options</full_name>
3999
- <docblock line="428">
4000
  <description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
4001
  <long-description><![CDATA[]]></long-description>
4002
- <tag line="428" name="since" description="0.1"/>
4003
- <tag line="428" name="return" description="" type="void">
4004
  <type by_reference="false">void</type>
4005
  </tag>
4006
  </docblock>
4007
  </method>
4008
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="454" package="Media Library Assistant">
4009
  <name>mla_add_help_tab</name>
4010
  <full_name>mla_add_help_tab</full_name>
4011
- <docblock line="447">
4012
  <description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
4013
  <long-description><![CDATA[]]></long-description>
4014
- <tag line="447" name="since" description="0.1"/>
4015
- <tag line="447" name="return" description="" type="void">
4016
  <type by_reference="false">void</type>
4017
  </tag>
4018
  </docblock>
4019
  </method>
4020
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="560" package="Media Library Assistant">
4021
  <name>mla_screen_options_show_screen_filter</name>
4022
  <full_name>mla_screen_options_show_screen_filter</full_name>
4023
- <docblock line="550">
4024
  <description><![CDATA[Only show screen options on the table-list screen]]></description>
4025
  <long-description><![CDATA[]]></long-description>
4026
- <tag line="550" name="since" description="0.1"/>
4027
- <tag line="550" name="param" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean" variable="$show_screen">
4028
  <type by_reference="false">boolean</type>
4029
  </tag>
4030
- <tag line="550" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
4031
  <type by_reference="false">string</type>
4032
  </tag>
4033
- <tag line="550" name="return" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean">
4034
  <type by_reference="false">boolean</type>
4035
  </tag>
4036
  </docblock>
4037
- <argument line="560">
4038
  <name>$show_screen</name>
4039
  <default><![CDATA[]]></default>
4040
  <type/>
4041
  </argument>
4042
- <argument line="560">
4043
  <name>$this_screen</name>
4044
  <default><![CDATA[]]></default>
4045
  <type/>
4046
  </argument>
4047
  </method>
4048
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="579" package="Media Library Assistant">
4049
  <name>mla_set_screen_option_filter</name>
4050
  <full_name>mla_set_screen_option_filter</full_name>
4051
- <docblock line="568">
4052
  <description><![CDATA[Save the "Entries per page" option set by this user]]></description>
4053
  <long-description><![CDATA[]]></long-description>
4054
- <tag line="568" name="since" description="0.1"/>
4055
- <tag line="568" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
4056
  <type by_reference="false">mixed</type>
4057
  </tag>
4058
- <tag line="568" name="param" description="Name of the option being changed" type="string" variable="$option">
4059
  <type by_reference="false">string</type>
4060
  </tag>
4061
- <tag line="568" name="param" description="New value of the option" type="string" variable="$value">
4062
  <type by_reference="false">string</type>
4063
  </tag>
4064
- <tag line="568" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
4065
  <type by_reference="false">string</type>
4066
  <type by_reference="false">void</type>
4067
  </tag>
4068
  </docblock>
4069
- <argument line="579">
4070
  <name>$status</name>
4071
  <default><![CDATA[]]></default>
4072
  <type/>
4073
  </argument>
4074
- <argument line="579">
4075
  <name>$option</name>
4076
  <default><![CDATA[]]></default>
4077
  <type/>
4078
  </argument>
4079
- <argument line="579">
4080
  <name>$value</name>
4081
  <default><![CDATA[]]></default>
4082
  <type/>
4083
  </argument>
4084
  </method>
4085
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="598" package="Media Library Assistant">
4086
  <name>mla_edit_tax_redirect</name>
4087
  <full_name>mla_edit_tax_redirect</full_name>
4088
- <docblock line="587">
4089
  <description><![CDATA[Redirect to the Edit Tags/Categories page]]></description>
4090
  <long-description><![CDATA[<p>The custom taxonomy add/edit submenu entries go to "upload.php" by default.
4091
  This filter is the only way to redirect them to the correct WordPress page.
4092
  The filter is not required for WordPress 3.5 and later.</p>]]></long-description>
4093
- <tag line="587" name="since" description="0.1"/>
4094
- <tag line="587" name="return" description="" type="void">
4095
  <type by_reference="false">void</type>
4096
  </tag>
4097
  </docblock>
4098
  </method>
4099
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="631" package="Media Library Assistant">
4100
  <name>mla_parent_file_filter</name>
4101
  <full_name>mla_parent_file_filter</full_name>
4102
- <docblock line="615">
4103
  <description><![CDATA[Cleanup menus for Edit Tags/Categories page]]></description>
4104
  <long-description><![CDATA[<p>For WordPress before 3.5, the submenu entries for custom taxonomies
4105
  under the "Media" menu are not set up correctly by WordPress, so this
@@ -4107,218 +4236,218 @@ function cleans them up, redirecting the request to the right WordPress
4107
  page for editing/adding taxonomy terms.
4108
  For WordPress 3.5 and later, the function fixes the submenu bolding when
4109
  going to the Edit Media screen.</p>]]></long-description>
4110
- <tag line="615" name="since" description="0.1"/>
4111
- <tag line="615" name="param" description="The top-level menu page" type="array" variable="$parent_file">
4112
  <type by_reference="false">array</type>
4113
  </tag>
4114
- <tag line="615" name="return" description="The updated top-level menu page" type="string">
4115
  <type by_reference="false">string</type>
4116
  </tag>
4117
  </docblock>
4118
- <argument line="631">
4119
  <name>$parent_file</name>
4120
  <default><![CDATA[]]></default>
4121
  <type/>
4122
  </argument>
4123
  </method>
4124
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="694" package="Media Library Assistant">
4125
  <name>_process_bulk_value</name>
4126
  <full_name>_process_bulk_value</full_name>
4127
- <docblock line="684">
4128
  <description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
4129
  <long-description><![CDATA[]]></long-description>
4130
- <tag line="684" name="since" description="1.80"/>
4131
- <tag line="684" name="param" description="Current post ID" type="integer" variable="$post_id">
4132
  <type by_reference="false">integer</type>
4133
  </tag>
4134
- <tag line="684" name="param" description="Field value as entered" type="string" variable="$bulk_value">
4135
  <type by_reference="false">string</type>
4136
  </tag>
4137
- <tag line="684" name="return" description="Empty, or new value for the field" type="string">
4138
  <type by_reference="false">string</type>
4139
  </tag>
4140
  </docblock>
4141
- <argument line="694">
4142
  <name>$post_id</name>
4143
  <default><![CDATA[]]></default>
4144
  <type/>
4145
  </argument>
4146
- <argument line="694">
4147
  <name>$bulk_value</name>
4148
  <default><![CDATA[]]></default>
4149
  <type/>
4150
  </argument>
4151
  </method>
4152
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="725" package="Media Library Assistant">
4153
  <name>mla_render_admin_page</name>
4154
  <full_name>mla_render_admin_page</full_name>
4155
- <docblock line="718">
4156
  <description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
4157
  <long-description><![CDATA[]]></long-description>
4158
- <tag line="718" name="since" description="0.1"/>
4159
- <tag line="718" name="return" description="" type="void">
4160
  <type by_reference="false">void</type>
4161
  </tag>
4162
  </docblock>
4163
  </method>
4164
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1206" package="Media Library Assistant">
4165
  <name>mla_inline_edit_action</name>
4166
  <full_name>mla_inline_edit_action</full_name>
4167
- <docblock line="1197">
4168
  <description><![CDATA[Ajax handler for inline editing (quick and bulk edit)]]></description>
4169
  <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4170
- <tag line="1197" name="since" description="0.20"/>
4171
- <tag line="1197" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
4172
  <type by_reference="false">void</type>
4173
  </tag>
4174
  </docblock>
4175
  </method>
4176
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1305" package="Media Library Assistant">
4177
  <name>_build_inline_edit_form</name>
4178
  <full_name>_build_inline_edit_form</full_name>
4179
- <docblock line="1294">
4180
  <description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
4181
  <long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
4182
- <tag line="1294" name="since" description="0.20"/>
4183
- <tag line="1294" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
4184
  <type by_reference="false">object</type>
4185
  </tag>
4186
- <tag line="1294" name="return" description="HTML &lt;form&gt; markup for hidden rows" type="string">
4187
  <type by_reference="false">string</type>
4188
  </tag>
4189
  </docblock>
4190
- <argument line="1305">
4191
  <name>$MLAListTable</name>
4192
  <default><![CDATA[]]></default>
4193
  <type/>
4194
  </argument>
4195
  </method>
4196
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1489" package="Media Library Assistant">
4197
  <name>_authors_dropdown</name>
4198
  <full_name>_authors_dropdown</full_name>
4199
- <docblock line="1478">
4200
  <description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
4201
  <long-description><![CDATA[]]></long-description>
4202
- <tag line="1478" name="since" description="0.20"/>
4203
- <tag line="1478" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
4204
  <type by_reference="false">integer</type>
4205
  </tag>
4206
- <tag line="1478" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
4207
  <type by_reference="false">string</type>
4208
  </tag>
4209
- <tag line="1478" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
4210
  <type by_reference="false">string</type>
4211
  </tag>
4212
- <tag line="1478" name="return" description="HTML markup for the dropdown field or False" type="string|false">
4213
  <type by_reference="false">string</type>
4214
  <type by_reference="false">false</type>
4215
  </tag>
4216
  </docblock>
4217
- <argument line="1489">
4218
  <name>$author</name>
4219
  <default><![CDATA[0]]></default>
4220
  <type/>
4221
  </argument>
4222
- <argument line="1489">
4223
  <name>$name</name>
4224
  <default><![CDATA['post_author']]></default>
4225
  <type/>
4226
  </argument>
4227
- <argument line="1489">
4228
  <name>$class</name>
4229
  <default><![CDATA['authors']]></default>
4230
  <type/>
4231
  </argument>
4232
  </method>
4233
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1523" package="Media Library Assistant">
4234
  <name>_current_bulk_action</name>
4235
  <full_name>_current_bulk_action</full_name>
4236
- <docblock line="1516">
4237
  <description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
4238
  <long-description><![CDATA[]]></long-description>
4239
- <tag line="1516" name="since" description="0.1"/>
4240
- <tag line="1516" name="return" description="The action name or False if no action was selected" type="string|false">
4241
  <type by_reference="false">string</type>
4242
  <type by_reference="false">false</type>
4243
  </tag>
4244
  </docblock>
4245
  </method>
4246
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1554" package="Media Library Assistant">
4247
  <name>_delete_single_item</name>
4248
  <full_name>_delete_single_item</full_name>
4249
- <docblock line="1545">
4250
  <description><![CDATA[Delete a single item permanently]]></description>
4251
  <long-description><![CDATA[]]></long-description>
4252
- <tag line="1545" name="since" description="0.1"/>
4253
- <tag line="1545" name="param" description="The form POST data" type="array" variable="$post_id">
4254
  <type by_reference="false">array</type>
4255
  </tag>
4256
- <tag line="1545" name="return" description="success/failure message and NULL content" type="array">
4257
  <type by_reference="false">array</type>
4258
  </tag>
4259
  </docblock>
4260
- <argument line="1554">
4261
  <name>$post_id</name>
4262
  <default><![CDATA[]]></default>
4263
  <type/>
4264
  </argument>
4265
  </method>
4266
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1589" package="Media Library Assistant">
4267
  <name>_display_single_item</name>
4268
  <full_name>_display_single_item</full_name>
4269
- <docblock line="1577">
4270
  <description><![CDATA[Display a single item sub page; prepare the form to
4271
  change the meta data for a single attachment.]]></description>
4272
  <long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
4273
- <tag line="1577" name="since" description="0.1"/>
4274
- <tag line="1577" name="param" description="The WordPress Post ID of the attachment item" type="int" variable="$post_id">
4275
  <type by_reference="false">int</type>
4276
  </tag>
4277
- <tag line="1577" name="return" description="message and/or HTML content" type="array">
4278
  <type by_reference="false">array</type>
4279
  </tag>
4280
  </docblock>
4281
- <argument line="1589">
4282
  <name>$post_id</name>
4283
  <default><![CDATA[]]></default>
4284
  <type/>
4285
  </argument>
4286
  </method>
4287
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1870" package="Media Library Assistant">
4288
  <name>_restore_single_item</name>
4289
  <full_name>_restore_single_item</full_name>
4290
- <docblock line="1861">
4291
  <description><![CDATA[Restore a single item from the Trash]]></description>
4292
  <long-description><![CDATA[]]></long-description>
4293
- <tag line="1861" name="since" description="0.1"/>
4294
- <tag line="1861" name="param" description="The form POST data" type="array" variable="$post_id">
4295
  <type by_reference="false">array</type>
4296
  </tag>
4297
- <tag line="1861" name="return" description="success/failure message and NULL content" type="array">
4298
  <type by_reference="false">array</type>
4299
  </tag>
4300
  </docblock>
4301
- <argument line="1870">
4302
  <name>$post_id</name>
4303
  <default><![CDATA[]]></default>
4304
  <type/>
4305
  </argument>
4306
  </method>
4307
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1910" package="Media Library Assistant">
4308
  <name>_trash_single_item</name>
4309
  <full_name>_trash_single_item</full_name>
4310
- <docblock line="1901">
4311
  <description><![CDATA[Move a single item to Trash]]></description>
4312
  <long-description><![CDATA[]]></long-description>
4313
- <tag line="1901" name="since" description="0.1"/>
4314
- <tag line="1901" name="param" description="The form POST data" type="array" variable="$post_id">
4315
  <type by_reference="false">array</type>
4316
  </tag>
4317
- <tag line="1901" name="return" description="success/failure message and NULL content" type="array">
4318
  <type by_reference="false">array</type>
4319
  </tag>
4320
  </docblock>
4321
- <argument line="1910">
4322
  <name>$post_id</name>
4323
  <default><![CDATA[]]></default>
4324
  <type/>
@@ -4326,14 +4455,14 @@ change the meta data for a single attachment.]]></description>
4326
  </method>
4327
  </class>
4328
  </file>
4329
- <file path="includes\class-mla-media-modal.php" hash="87faaf37af52dbcbf0723a118b9d02c7" package="Media Library Assistant">
4330
  <docblock line="2">
4331
  <description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
4332
  <long-description><![CDATA[]]></long-description>
4333
  <tag line="2" name="package" description="Media Library Assistant"/>
4334
  <tag line="2" name="since" description="1.20"/>
4335
  </docblock>
4336
- <include line="500" type="Require Once" package="Media Library Assistant">
4337
  <name/>
4338
  </include>
4339
  <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
@@ -4436,15 +4565,15 @@ change the meta data for a single attachment.]]></description>
4436
  </tag>
4437
  </docblock>
4438
  </property>
4439
- <property final="false" static="true" visibility="private" line="353" namespace="global" package="Media Library Assistant">
4440
  <name>$mla_media_modal_settings</name>
4441
  <default><![CDATA[array('ajaxQueryAttachmentsAction' => self::JAVASCRIPT_QUERY_ATTACHMENTS_ACTION, 'ajaxFillCompatAction' => self::JAVASCRIPT_FILL_COMPAT_ACTION, 'ajaxUpdateCompatAction' => self::JAVASCRIPT_UPDATE_COMPAT_ACTION, 'ajaxFillCompatNonce' => '', 'ajaxUpdateCompatNonce' => '', 'enableMimeTypes' => false, 'enableMonthsDropdown' => false, 'enableTermsDropdown' => false, 'enableSearchBox' => false, 'enableDetailsCategory' => false, 'enableDetailsTag' => false, 'mimeTypes' => '', 'months' => '', 'termsClass' => array(), 'termsValue' => array(), 'termsText' => array(), 'searchValue' => '', 'searchFields' => array('title', 'content'), 'searchConnector' => 'AND')]]></default>
4442
- <docblock line="345">
4443
  <description><![CDATA[Share the settings values between mla_media_view_settings_filter
4444
  and mla_print_media_templates_action]]></description>
4445
  <long-description><![CDATA[]]></long-description>
4446
- <tag line="345" name="since" description="1.20"/>
4447
- <tag line="345" name="var" description="" type="array">
4448
  <type by_reference="false">array</type>
4449
  </tag>
4450
  </docblock>
@@ -4514,171 +4643,171 @@ Declared public because it is a filter.</p>]]></long-description>
4514
  <type/>
4515
  </argument>
4516
  </method>
4517
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="278" package="Media Library Assistant">
4518
  <name>_months_dropdown</name>
4519
  <full_name>_months_dropdown</full_name>
4520
- <docblock line="267">
4521
  <description><![CDATA[Display a monthly dropdown for filtering items]]></description>
4522
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown()</p>]]></long-description>
4523
- <tag line="267" name="since" description="1.20"/>
4524
- <tag line="267" name="param" description="post_type, e.g., 'attachment'" type="string" variable="$post_type">
4525
  <type by_reference="false">string</type>
4526
  </tag>
4527
- <tag line="267" name="return" description="( value =&gt; label ) pairs" type="array">
4528
  <type by_reference="false">array</type>
4529
  </tag>
4530
  </docblock>
4531
- <argument line="278">
4532
  <name>$post_type</name>
4533
  <default><![CDATA[]]></default>
4534
  <type/>
4535
  </argument>
4536
  </method>
4537
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="319" package="Media Library Assistant">
4538
  <name>_terms_options</name>
4539
  <full_name>_terms_options</full_name>
4540
- <docblock line="310">
4541
  <description><![CDATA[Extract value and text elements from Dropdown HTML option tags]]></description>
4542
  <long-description><![CDATA[]]></long-description>
4543
- <tag line="310" name="since" description="1.20"/>
4544
- <tag line="310" name="param" description="HTML markup for taxonomy terms dropdown &lt;select&gt; tag" type="string" variable="$markup">
4545
  <type by_reference="false">string</type>
4546
  </tag>
4547
- <tag line="310" name="return" description="( value =&gt; label ) pairs" type="array">
4548
  <type by_reference="false">array</type>
4549
  </tag>
4550
  </docblock>
4551
- <argument line="319">
4552
  <name>$markup</name>
4553
  <default><![CDATA[]]></default>
4554
  <type/>
4555
  </argument>
4556
  </method>
4557
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="386" package="Media Library Assistant">
4558
  <name>mla_media_view_settings_filter</name>
4559
  <full_name>mla_media_view_settings_filter</full_name>
4560
- <docblock line="375">
4561
  <description><![CDATA[Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
4562
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
4563
- <tag line="375" name="since" description="1.20"/>
4564
- <tag line="375" name="param" description="associative array with setting =&gt; value pairs" type="array" variable="$settings">
4565
  <type by_reference="false">array</type>
4566
  </tag>
4567
- <tag line="375" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
4568
  <type by_reference="false">object</type>
4569
  </tag>
4570
- <tag line="375" name="return" description="updated $settings array" type="array">
4571
  <type by_reference="false">array</type>
4572
  </tag>
4573
  </docblock>
4574
- <argument line="386">
4575
  <name>$settings</name>
4576
  <default><![CDATA[]]></default>
4577
  <type/>
4578
  </argument>
4579
- <argument line="386">
4580
  <name>$post</name>
4581
  <default><![CDATA[]]></default>
4582
  <type/>
4583
  </argument>
4584
  </method>
4585
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="428" package="Media Library Assistant">
4586
  <name>mla_media_view_strings_filter</name>
4587
  <full_name>mla_media_view_strings_filter</full_name>
4588
- <docblock line="417">
4589
  <description><![CDATA[Adds strings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
4590
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
4591
- <tag line="417" name="since" description="1.20"/>
4592
- <tag line="417" name="param" description="associative array with string =&gt; value pairs" type="array" variable="$strings">
4593
  <type by_reference="false">array</type>
4594
  </tag>
4595
- <tag line="417" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
4596
  <type by_reference="false">object</type>
4597
  </tag>
4598
- <tag line="417" name="return" description="updated $strings array" type="array">
4599
  <type by_reference="false">array</type>
4600
  </tag>
4601
  </docblock>
4602
- <argument line="428">
4603
  <name>$strings</name>
4604
  <default><![CDATA[]]></default>
4605
  <type/>
4606
  </argument>
4607
- <argument line="428">
4608
  <name>$post</name>
4609
  <default><![CDATA[]]></default>
4610
  <type/>
4611
  </argument>
4612
  </method>
4613
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="446" package="Media Library Assistant">
4614
  <name>mla_wp_enqueue_media_action</name>
4615
  <full_name>mla_wp_enqueue_media_action</full_name>
4616
- <docblock line="438">
4617
  <description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
4618
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
4619
- <tag line="438" name="since" description="1.20"/>
4620
- <tag line="438" name="return" description="" type="void">
4621
  <type by_reference="false">void</type>
4622
  </tag>
4623
  </docblock>
4624
  </method>
4625
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="464" package="Media Library Assistant">
4626
  <name>mla_print_media_templates_action</name>
4627
  <full_name>mla_print_media_templates_action</full_name>
4628
- <docblock line="456">
4629
  <description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
4630
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
4631
- <tag line="456" name="since" description="1.20"/>
4632
- <tag line="456" name="return" description="echoes HTML script tags for the templates" type="void">
4633
  <type by_reference="false">void</type>
4634
  </tag>
4635
  </docblock>
4636
  </method>
4637
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="513" package="Media Library Assistant">
4638
  <name>mla_admin_init_action</name>
4639
  <full_name>mla_admin_init_action</full_name>
4640
- <docblock line="503">
4641
  <description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
4642
  <long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
4643
  Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
4644
- <tag line="503" name="since" description="1.20"/>
4645
- <tag line="503" name="return" description="" type="void">
4646
  <type by_reference="false">void</type>
4647
  </tag>
4648
  </docblock>
4649
  </method>
4650
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="648" package="Media Library Assistant">
4651
  <name>mla_fill_compat_fields_action</name>
4652
  <full_name>mla_fill_compat_fields_action</full_name>
4653
- <docblock line="639">
4654
  <description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
4655
  <long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
4656
- <tag line="639" name="since" description="1.80"/>
4657
- <tag line="639" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
4658
  <type by_reference="false">void</type>
4659
  </tag>
4660
  </docblock>
4661
  </method>
4662
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="822" package="Media Library Assistant">
4663
  <name>mla_update_compat_fields_action</name>
4664
  <full_name>mla_update_compat_fields_action</full_name>
4665
- <docblock line="813">
4666
  <description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
4667
  <long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
4668
- <tag line="813" name="since" description="1.80"/>
4669
- <tag line="813" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
4670
  <type by_reference="false">void</type>
4671
  </tag>
4672
  </docblock>
4673
  </method>
4674
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="896" package="Media Library Assistant">
4675
  <name>mla_query_attachments_action</name>
4676
  <full_name>mla_query_attachments_action</full_name>
4677
- <docblock line="887">
4678
  <description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
4679
  <long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4680
- <tag line="887" name="since" description="1.20"/>
4681
- <tag line="887" name="return" description="passes array of post arrays to wp_send_json_success() for JSON encoding and transmission" type="void">
4682
  <type by_reference="false">void</type>
4683
  </tag>
4684
  </docblock>
@@ -6143,7 +6272,7 @@ which returns a count of the attachments assigned a given term]]></description>
6143
  </method>
6144
  </class>
6145
  </file>
6146
- <file path="includes\class-mla-options.php" hash="0ce2be89aa340bcfb8ac5b96ef953e88" package="Media Library Assistant">
6147
  <docblock line="2">
6148
  <description><![CDATA[Manages the plugin option settings]]></description>
6149
  <long-description><![CDATA[]]></long-description>
@@ -8688,7 +8817,7 @@ without saving the settings to the mla_option]]></description>
8688
  </method>
8689
  </class>
8690
  </file>
8691
- <file path="includes\class-mla-shortcodes.php" hash="3b8e0db53ee70a271c6873d7e4cbf6c0" package="Media Library Assistant">
8692
  <docblock line="2">
8693
  <description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
8694
  <long-description><![CDATA[]]></long-description>
@@ -8771,14 +8900,14 @@ any further logic required to translate those values is contained in the filter.
8771
  </tag>
8772
  </docblock>
8773
  </property>
8774
- <property final="false" static="true" visibility="private" line="3091" namespace="global" package="Media Library Assistant">
8775
  <name>$mla_get_terms_parameters</name>
8776
- <default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', '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' => 45, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'limit' => 0, 'offset' => 0)]]></default>
8777
- <docblock line="3084">
8778
  <description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
8779
  <long-description><![CDATA[]]></long-description>
8780
- <tag line="3084" name="since" description="1.60"/>
8781
- <tag line="3084" name="var" description="" type="array">
8782
  <type by_reference="false">array</type>
8783
  </tag>
8784
  </docblock>
@@ -9096,96 +9225,96 @@ Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().
9096
  <type/>
9097
  </argument>
9098
  </method>
9099
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2991" package="Media Library Assistant">
9100
  <name>mla_shortcode_query_posts_where_filter</name>
9101
  <full_name>mla_shortcode_query_posts_where_filter</full_name>
9102
- <docblock line="2977">
9103
  <description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
9104
  <long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
9105
  phrase to circumvent subsequent Role Scoper modification of the clause.
9106
  Handles post_parent "any" and "none" cases.
9107
  Defined as public because it's a filter.</p>]]></long-description>
9108
- <tag line="2977" name="since" description="0.70"/>
9109
- <tag line="2977" name="param" description="query clause before modification" type="string" variable="$where_clause">
9110
  <type by_reference="false">string</type>
9111
  </tag>
9112
- <tag line="2977" name="return" description="query clause after modification" type="string">
9113
  <type by_reference="false">string</type>
9114
  </tag>
9115
  </docblock>
9116
- <argument line="2991">
9117
  <name>$where_clause</name>
9118
  <default><![CDATA[]]></default>
9119
  <type/>
9120
  </argument>
9121
  </method>
9122
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3033" package="Media Library Assistant">
9123
  <name>mla_shortcode_query_posts_orderby_filter</name>
9124
  <full_name>mla_shortcode_query_posts_orderby_filter</full_name>
9125
- <docblock line="3021">
9126
  <description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
9127
  <long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
9128
  Defined as public because it's a filter.</p>]]></long-description>
9129
- <tag line="3021" name="since" description="1.20"/>
9130
- <tag line="3021" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
9131
  <type by_reference="false">string</type>
9132
  </tag>
9133
- <tag line="3021" name="return" description="query clause after modification" type="string">
9134
  <type by_reference="false">string</type>
9135
  </tag>
9136
  </docblock>
9137
- <argument line="3033">
9138
  <name>$orderby_clause</name>
9139
  <default><![CDATA[]]></default>
9140
  <type/>
9141
  </argument>
9142
  </method>
9143
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3060" package="Media Library Assistant">
9144
  <name>mla_shortcode_query_posts_clauses_filter</name>
9145
  <full_name>mla_shortcode_query_posts_clauses_filter</full_name>
9146
- <docblock line="3048">
9147
  <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
9148
  <long-description><![CDATA[<p>This is for debug purposes only.
9149
  Defined as public because it's a filter.</p>]]></long-description>
9150
- <tag line="3048" name="since" description="1.30"/>
9151
- <tag line="3048" name="param" description="query clauses before modification" type="array" variable="$pieces">
9152
  <type by_reference="false">array</type>
9153
  </tag>
9154
- <tag line="3048" name="return" description="query clauses after modification (none)" type="array">
9155
  <type by_reference="false">array</type>
9156
  </tag>
9157
  </docblock>
9158
- <argument line="3060">
9159
  <name>$pieces</name>
9160
  <default><![CDATA[]]></default>
9161
  <type/>
9162
  </argument>
9163
  </method>
9164
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3078" package="Media Library Assistant">
9165
  <name>mla_shortcode_query_posts_clauses_request_filter</name>
9166
  <full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
9167
- <docblock line="3066">
9168
  <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
9169
  <long-description><![CDATA[<p>This is for debug purposes only.
9170
  Defined as public because it's a filter.</p>]]></long-description>
9171
- <tag line="3066" name="since" description="1.30"/>
9172
- <tag line="3066" name="param" description="query clauses before modification" type="array" variable="$pieces">
9173
  <type by_reference="false">array</type>
9174
  </tag>
9175
- <tag line="3066" name="return" description="query clauses after modification (none)" type="array">
9176
  <type by_reference="false">array</type>
9177
  </tag>
9178
  </docblock>
9179
- <argument line="3078">
9180
  <name>$pieces</name>
9181
  <default><![CDATA[]]></default>
9182
  <type/>
9183
  </argument>
9184
  </method>
9185
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3152" package="Media Library Assistant">
9186
  <name>mla_get_terms</name>
9187
  <full_name>mla_get_terms</full_name>
9188
- <docblock line="3110">
9189
  <description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
9190
  <long-description><![CDATA[<p>Alternative to WordPress get_terms() function that provides
9191
  an accurate count of attachments associated with each term.</p>
@@ -9219,15 +9348,15 @@ descending and then by term_id before this value is applied.</p>
9219
  <p>limit - final number of term objects to return, for pagination.</p>
9220
 
9221
  <p>offset - number of term objects to skip, for pagination.</p>]]></long-description>
9222
- <tag line="3110" name="since" description="1.60"/>
9223
- <tag line="3110" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
9224
  <type by_reference="false">array</type>
9225
  </tag>
9226
- <tag line="3110" name="return" description="array of term objects, empty if none found" type="array">
9227
  <type by_reference="false">array</type>
9228
  </tag>
9229
  </docblock>
9230
- <argument line="3152">
9231
  <name>$attr</name>
9232
  <default><![CDATA[]]></default>
9233
  <type/>
@@ -10937,15 +11066,15 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
10937
  </docblock>
10938
  </function>
10939
  </file>
10940
- <file path="index.php" hash="ce579acf1ab59432068ca27a719a62e7" package="Media Library Assistant">
10941
  <docblock line="2">
10942
  <description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
10943
  <long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
10944
  will the rest of the plugin be loaded and run.</p>]]></long-description>
10945
  <tag line="2" name="package" description="Media Library Assistant"/>
10946
- <tag line="2" name="version" description="1.80"/>
10947
  </docblock>
10948
- <include line="138" type="Require Once" package="Media Library Assistant">
10949
  <name>includes/mla-plugin-loader.php</name>
10950
  </include>
10951
  <constant namespace="global" line="52" package="Media Library Assistant">
@@ -10958,30 +11087,39 @@ will the rest of the plugin be loaded and run.</p>]]></long-description>
10958
  </docblock>
10959
  </constant>
10960
  <constant namespace="global" line="62" package="Media Library Assistant">
 
 
 
 
 
 
 
 
 
10961
  <name>MLA_PLUGIN_URL</name>
10962
  <full_name>\MLA_PLUGIN_URL</full_name>
10963
  <value><![CDATA[plugin_dir_url(__FILE__)]]></value>
10964
- <docblock line="59">
10965
  <description><![CDATA[Provides path information to the plugin root in URL format.]]></description>
10966
  <long-description><![CDATA[]]></long-description>
10967
  </docblock>
10968
  </constant>
10969
- <constant namespace="global" line="71" package="Media Library Assistant">
10970
  <name>MLA_BACKUP_DIR</name>
10971
  <full_name>\MLA_BACKUP_DIR</full_name>
10972
  <value><![CDATA[$content_dir . '/mla-backup/']]></value>
10973
  </constant>
10974
- <function namespace="global" line="126" package="Media Library Assistant">
10975
  <name>mla_name_conflict_reporting_action</name>
10976
  <full_name>\mla_name_conflict_reporting_action</full_name>
10977
- <docblock line="121">
10978
  <description><![CDATA[Displays name conflict error messages at the top of the Dashboard]]></description>
10979
  <long-description><![CDATA[]]></long-description>
10980
- <tag line="121" name="since" description="0.20"/>
10981
  </docblock>
10982
  </function>
10983
  </file>
10984
- <file path="tests\class-mla-tests.php" hash="e32094f1d807fc7cfaf3b08bb01cd8c7" package="Media Library Assistant">
10985
  <docblock line="2">
10986
  <description><![CDATA[Provides basic run-time tests to ensure the plugin can run in the current WordPress envrionment]]></description>
10987
  <long-description><![CDATA[]]></long-description>
@@ -11023,41 +11161,41 @@ to ensure the plugin can run in the current WordPress envrionment.]]></descripti
11023
  </tag>
11024
  </docblock>
11025
  </method>
11026
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="46" package="Media Library Assistant">
11027
  <name>min_php_version</name>
11028
  <full_name>min_php_version</full_name>
11029
- <docblock line="37">
11030
  <description><![CDATA[Test that your PHP version is at least that of the $min_php_version]]></description>
11031
  <long-description><![CDATA[]]></long-description>
11032
- <tag line="37" name="since" description="0.1"/>
11033
- <tag line="37" name="param" description="representing the minimum required version of PHP, e.g. '5.3.2'" type="string" variable="$min_version">
11034
  <type by_reference="false">string</type>
11035
  </tag>
11036
- <tag line="37" name="return" description="'' if pass else error message" type="string">
11037
  <type by_reference="false">string</type>
11038
  </tag>
11039
  </docblock>
11040
- <argument line="46">
11041
  <name>$min_version</name>
11042
  <default><![CDATA[]]></default>
11043
  <type/>
11044
  </argument>
11045
  </method>
11046
- <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="65" package="Media Library Assistant">
11047
  <name>min_WordPress_version</name>
11048
  <full_name>min_WordPress_version</full_name>
11049
- <docblock line="56">
11050
  <description><![CDATA[Test that your WordPress version is at least that of the $min_version]]></description>
11051
  <long-description><![CDATA[]]></long-description>
11052
- <tag line="56" name="since" description="0.1"/>
11053
- <tag line="56" name="param" description="representing the minimum required version of WordPress, e.g. '3.3.0'" type="string" variable="$min_version">
11054
  <type by_reference="false">string</type>
11055
  </tag>
11056
- <tag line="56" name="return" description="'' if pass else error message" type="string">
11057
  <type by_reference="false">string</type>
11058
  </tag>
11059
  </docblock>
11060
- <argument line="65">
11061
  <name>$min_version</name>
11062
  <default><![CDATA[]]></default>
11063
  <type/>
24
  <tag line="2" name="since" description="MLA 1.80"/>
25
  </docblock>
26
  </file>
27
+ <file path="examples\twentytwelve-mla\content-single-image.php" hash="deb080ecd26e46ebad54446e8f9a83f2" package="Media Library Assistant\MLA\Child\Theme">
28
+ <docblock line="2">
29
+ <description><![CDATA[The template used for displaying "attachment page" content in page-single-image.php]]></description>
30
+ <long-description><![CDATA[<p>You must select the attachment you want by adding a query parameter
31
+ to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.</p>
32
+
33
+ <p>The global $post variable contains the post object of the calling page.</p>]]></long-description>
34
+ <tag line="2" name="package" description="Media Library Assistant"/>
35
+ <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
36
+ <tag line="2" name="version" description="1.00"/>
37
+ <tag line="2" name="since" description="MLA 1.80"/>
38
+ </docblock>
39
+ </file>
40
+ <file path="examples\twentytwelve-mla\content-tag-gallery.php" hash="be5d4ef8224cc64a06c53405503c6b88" package="Media Library Assistant\MLA\Child\Theme">
41
  <docblock line="2">
42
  <description><![CDATA[The template used for displaying "Tag Gallery" content in page-tag-gallery.php]]></description>
43
  <long-description><![CDATA[<p>The default taxonomy slug is "attachment_tag". You can select the taxonomy you want by adding
51
  <tag line="2" name="since" description="MLA 1.80"/>
52
  </docblock>
53
  </file>
54
+ <file path="examples\twentytwelve-mla\functions.php" hash="464be5a0eb9335ba5ecc9fdc70fc63b0" package="Media Library Assistant\MLA\Child\Theme">
55
  <docblock line="2">
56
  <description><![CDATA[MLA Child for Twenty Twelve functions and definitions]]></description>
57
  <long-description><![CDATA[<p>Sets up the theme and provides some helper functions, which are used
59
  filter hooks in WordPress to change core functionality.</p>]]></long-description>
60
  <tag line="2" name="package" description="Media Library Assistant"/>
61
  <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
62
+ <tag line="2" name="version" description="1.01"/>
63
  <tag line="2" name="since" description="MLA 1.80"/>
64
  </docblock>
65
  <function namespace="global" line="37" package="Media Library Assistant\MLA\Child\Theme">
66
+ <name>mla_after_setup_theme_action</name>
67
+ <full_name>\mla_after_setup_theme_action</full_name>
68
+ <docblock line="31">
69
+ <description><![CDATA[Loads the text domain(s) for the mla-child-theme, from the WordPress language directory
70
+ and/or from the theme's own directory.]]></description>
71
+ <long-description><![CDATA[]]></long-description>
72
+ <tag line="31" name="return" description="" type="void">
73
+ <type by_reference="false">void</type>
74
+ </tag>
75
+ </docblock>
76
+ </function>
77
+ <function namespace="global" line="57" package="Media Library Assistant\MLA\Child\Theme">
78
+ <name>mla_wp_title_filter</name>
79
+ <full_name>\mla_wp_title_filter</full_name>
80
+ <docblock line="48">
81
+ <description><![CDATA[Customize the <title> tag content for the Tag Gallery and Single Image pages]]></description>
82
+ <long-description><![CDATA[]]></long-description>
83
+ <tag line="48" name="param" description="The default page title" type="string" variable="$title">
84
+ <type by_reference="false">string</type>
85
+ </tag>
86
+ <tag line="48" name="param" description="How to separate the various items within the page title" type="string" variable="$sep">
87
+ <type by_reference="false">string</type>
88
+ </tag>
89
+ <tag line="48" name="param" description="Optional. Direction to display title, 'right'." type="string" variable="$seplocation">
90
+ <type by_reference="false">string</type>
91
+ </tag>
92
+ <tag line="48" name="return" description="updated title value" type="string">
93
+ <type by_reference="false">string</type>
94
+ </tag>
95
+ </docblock>
96
+ <argument line="57">
97
+ <name>$title</name>
98
+ <default><![CDATA[]]></default>
99
+ <type/>
100
+ </argument>
101
+ <argument line="57">
102
+ <name>$sep</name>
103
+ <default><![CDATA[]]></default>
104
+ <type/>
105
+ </argument>
106
+ <argument line="57">
107
+ <name>$seplocation</name>
108
+ <default><![CDATA[]]></default>
109
+ <type/>
110
+ </argument>
111
+ </function>
112
+ <function namespace="global" line="95" package="Media Library Assistant\MLA\Child\Theme">
113
  <name>mla_tag_gallery</name>
114
  <full_name>\mla_tag_gallery</full_name>
115
+ <docblock line="88">
116
  <description><![CDATA[Generate a taxonomy- and term-specific [mla_gallery]]]></description>
117
  <long-description><![CDATA[]]></long-description>
118
+ <tag line="88" name="param" description="Attributes of the function: taxonomy, term" type="array" variable="$attr">
119
  <type by_reference="false">array</type>
120
  </tag>
121
+ <tag line="88" name="return" description="echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="void">
122
  <type by_reference="false">void</type>
123
  </tag>
124
  </docblock>
125
+ <argument line="95">
126
  <name>$attr</name>
127
  <default><![CDATA[NULL]]></default>
128
  <type/>
129
  </argument>
130
  </function>
131
+ <function namespace="global" line="143" package="Media Library Assistant\MLA\Child\Theme">
132
  <name>mla_paginated_term_gallery</name>
133
  <full_name>\mla_paginated_term_gallery</full_name>
134
+ <docblock line="134">
135
  <description><![CDATA[Generate a taxonomy- and term-specific [mla_gallery], limited by current_page and posts_per_page]]></description>
136
  <long-description><![CDATA[<p>This function uses $wpdb functions for efficiency.</p>]]></long-description>
137
+ <tag line="134" name="param" description="Attributes of the function: page, taxonomy, term, post_mime_type, posts_per_page, current_page" type="array" variable="$attr">
138
  <type by_reference="false">array</type>
139
  </tag>
140
+ <tag line="134" name="return" description="number of posts matching taxonomy &amp; term, before LIMIT. echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="integer">
141
  <type by_reference="false">integer</type>
142
  </tag>
143
  </docblock>
144
+ <argument line="143">
145
  <name>$attr</name>
146
  <default><![CDATA[NULL]]></default>
147
  <type/>
148
  </argument>
149
  </function>
150
+ <function namespace="global" line="217" package="Media Library Assistant\MLA\Child\Theme">
151
  <name>mla_custom_terms_list</name>
152
  <full_name>\mla_custom_terms_list</full_name>
153
+ <docblock line="208">
154
  <description><![CDATA[Generate a list of taxonomy- and term-specific links to the page of your choice,
155
  listing the terms assigned to a specific post or Media Library item.]]></description>
156
  <long-description><![CDATA[]]></long-description>
157
+ <tag line="208" name="param" description="ID of the post/page to generate terms for" type="integer" variable="$ID">
158
  <type by_reference="false">integer</type>
159
  </tag>
160
+ <tag line="208" name="param" description="Attributes of the function: site_url, page_url, taxonomy" type="array" variable="$attr">
161
  <type by_reference="false">array</type>
162
  </tag>
163
+ <tag line="208" name="return" description="echoes HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="void">
164
  <type by_reference="false">void</type>
165
  </tag>
166
  </docblock>
167
+ <argument line="217">
168
  <name>$ID</name>
169
  <default><![CDATA[]]></default>
170
  <type/>
171
  </argument>
172
+ <argument line="217">
173
  <name>$attr</name>
174
  <default><![CDATA[NULL]]></default>
175
  <type/>
176
  </argument>
177
  </function>
178
+ <function namespace="global" line="265" package="Media Library Assistant\MLA\Child\Theme">
179
  <name>mla_taxonomy_terms_list</name>
180
  <full_name>\mla_taxonomy_terms_list</full_name>
181
+ <docblock line="256">
182
  <description><![CDATA[Generate a list of taxonomy- and term-specific links to the page of your choice.]]></description>
183
  <long-description><![CDATA[<p>Best used with the Collapse-O-Matic plugin, which uses the [expand] shortcode to
184
  display an "accordian-style" list.</p>]]></long-description>
185
+ <tag line="256" name="param" description="Attributes of the function: taxonomy" type="array" variable="$attr">
186
  <type by_reference="false">array</type>
187
  </tag>
188
+ <tag line="256" name="return" description="HTML &lt;h3&gt;, &lt;p&gt; and &lt;a&gt; tags" type="string">
189
  <type by_reference="false">string</type>
190
  </tag>
191
  </docblock>
192
+ <argument line="265">
193
  <name>$attr</name>
194
  <default><![CDATA[NULL]]></default>
195
  <type/>
196
  </argument>
197
  </function>
198
+ <function namespace="global" line="301" package="Media Library Assistant\MLA\Child\Theme">
199
  <name>mla_insert_social_tags</name>
200
  <full_name>\mla_insert_social_tags</full_name>
201
+ <docblock line="296">
202
  <description><![CDATA[Insert thumbnail image tags for Facebook, Twitter, etc.]]></description>
203
  <long-description><![CDATA[]]></long-description>
204
+ <tag line="296" name="return" description="echoes HTML &lt;meta&gt; tags" type="void">
205
  <type by_reference="false">void</type>
206
  </tag>
207
  </docblock>
222
  <tag line="2" name="since" description="MLA 1.80"/>
223
  </docblock>
224
  </file>
225
+ <file path="examples\twentytwelve-mla\image.php" hash="e31d59704ba74acea01e939b80184015" package="Media Library Assistant\MLA\Child\Theme">
226
  <docblock line="2">
227
  <description><![CDATA[The template for displaying "Attachment Posts" for $mimetype = "image",
228
  a more specific alternative to the generic "attachment.php" template.]]></description>
240
  must be defined as a static WordPress "Page" post type.]]></description>
241
  <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
242
  and that other 'pages' on your WordPress site will use a
243
+ different template.</p>]]></long-description>
244
+ <tag line="2" name="package" description="Media Library Assistant"/>
245
+ <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
246
+ <tag line="2" name="version" description="1.00"/>
247
+ <tag line="2" name="since" description="MLA 1.80"/>
248
+ </docblock>
249
+ </file>
250
+ <file path="examples\twentytwelve-mla\page-single-image.php" hash="fabc014d2bf6b4a619c8cdb617c72e5e" package="Media Library Assistant\MLA\Child\Theme">
251
+ <docblock line="2">
252
+ <description><![CDATA[The template for displaying the "Tag Gallery" page, which
253
+ must be defined as a static WordPress "Page" post type.]]></description>
254
+ <long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
255
+ and that other 'pages' on your WordPress site will use a
256
  different template.</p>]]></long-description>
257
  <tag line="2" name="package" description="Media Library Assistant"/>
258
  <tag line="2" name="subpackage" description="MLA_Child_Theme"/>
273
  <tag line="2" name="since" description="MLA 1.80"/>
274
  </docblock>
275
  </file>
276
+ <file path="examples\twentytwelve-mla\taxonomy.php" hash="c5d69fbc768e1fc68d9807d2d3384043" package="Media Library Assistant\MLA\Child\Theme">
277
  <docblock line="2">
278
  <description><![CDATA[The template for displaying Custom Taxonomy Archive pages]]></description>
279
  <long-description><![CDATA[<p>Twenty Twelve already has tag.php for Tag archives and category.php for Category archives.</p>]]></long-description>
284
  <tag line="2" name="since" description="MLA 1.80"/>
285
  </docblock>
286
  </file>
287
+ <file path="includes\class-mla-data.php" hash="4f0b8155ea312e959664399935dde249" package="Media Library Assistant">
288
  <docblock line="2">
289
  <description><![CDATA[Database and template file access for MLA needs]]></description>
290
  <long-description><![CDATA[]]></long-description>
480
  </tag>
481
  </docblock>
482
  </property>
483
+ <property final="false" static="true" visibility="private" line="4569" namespace="global" package="Media Library Assistant">
484
+ <name>$mla_IPTC_EXIF_errors</name>
485
+ <default><![CDATA[array()]]></default>
486
+ <docblock line="4561">
487
+ <description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
488
+ and mla_fetch_attachment_image_metadata]]></description>
489
+ <long-description><![CDATA[]]></long-description>
490
+ <tag line="4561" name="since" description="1.81"/>
491
+ <tag line="4561" name="var" description="" type="array">
492
+ <type by_reference="false">array</type>
493
+ </tag>
494
+ </docblock>
495
+ </property>
496
  <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="43" package="Media Library Assistant">
497
  <name>initialize</name>
498
  <full_name>initialize</full_name>
1208
  <type/>
1209
  </argument>
1210
  </method>
1211
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2068" package="Media Library Assistant">
1212
  <name>mla_get_attachment_by_id</name>
1213
  <full_name>mla_get_attachment_by_id</full_name>
1214
  <docblock line="2056">
2041
  <type/>
2042
  </argument>
2043
  </method>
2044
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4583" package="Media Library Assistant">
2045
+ <name>mla_IPTC_EXIF_error_handler</name>
2046
+ <full_name>mla_IPTC_EXIF_error_handler</full_name>
2047
+ <docblock line="4571">
2048
+ <description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
2049
+ <long-description><![CDATA[]]></long-description>
2050
+ <tag line="4571" name="since" description="1.81"/>
2051
+ <tag line="4571" name="param" description="the level of the error raised" type="int" variable="$type">
2052
+ <type by_reference="false">int</type>
2053
+ </tag>
2054
+ <tag line="4571" name="param" description="the error message" type="string" variable="$string">
2055
+ <type by_reference="false">string</type>
2056
+ </tag>
2057
+ <tag line="4571" name="param" description="the filename that the error was raised in" type="string" variable="$file">
2058
+ <type by_reference="false">string</type>
2059
+ </tag>
2060
+ <tag line="4571" name="param" description="the line number the error was raised at" type="int" variable="$line">
2061
+ <type by_reference="false">int</type>
2062
+ </tag>
2063
+ <tag line="4571" name="return" description="true, to bypass PHP error handler" type="boolean">
2064
+ <type by_reference="false">boolean</type>
2065
+ </tag>
2066
+ </docblock>
2067
+ <argument line="4583">
2068
+ <name>$type</name>
2069
+ <default><![CDATA[]]></default>
2070
+ <type/>
2071
+ </argument>
2072
+ <argument line="4583">
2073
+ <name>$string</name>
2074
+ <default><![CDATA[]]></default>
2075
+ <type/>
2076
+ </argument>
2077
+ <argument line="4583">
2078
+ <name>$file</name>
2079
+ <default><![CDATA[]]></default>
2080
+ <type/>
2081
+ </argument>
2082
+ <argument line="4583">
2083
+ <name>$line</name>
2084
+ <default><![CDATA[]]></default>
2085
+ <type/>
2086
+ </argument>
2087
+ </method>
2088
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4621" package="Media Library Assistant">
2089
  <name>mla_fetch_attachment_image_metadata</name>
2090
  <full_name>mla_fetch_attachment_image_metadata</full_name>
2091
+ <docblock line="4611">
2092
  <description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
2093
  <long-description><![CDATA[]]></long-description>
2094
+ <tag line="4611" name="since" description="0.90"/>
2095
+ <tag line="4611" name="param" description="post ID of attachment" type="int" variable="$post_id">
2096
  <type by_reference="false">int</type>
2097
  </tag>
2098
+ <tag line="4611" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
2099
  <type by_reference="false">string</type>
2100
  </tag>
2101
+ <tag line="4611" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
2102
  <type by_reference="false">array</type>
2103
  </tag>
2104
  </docblock>
2105
+ <argument line="4621">
2106
  <name>$post_id</name>
2107
  <default><![CDATA[]]></default>
2108
  <type/>
2109
  </argument>
2110
+ <argument line="4621">
2111
  <name>$path</name>
2112
  <default><![CDATA['']]></default>
2113
  <type/>
2114
  </argument>
2115
  </method>
2116
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4810" package="Media Library Assistant">
2117
  <name>mla_update_wp_attachment_metadata</name>
2118
  <full_name>mla_update_wp_attachment_metadata</full_name>
2119
+ <docblock line="4800">
2120
  <description><![CDATA[Update "meta:" data for a single attachment]]></description>
2121
  <long-description><![CDATA[]]></long-description>
2122
+ <tag line="4800" name="since" description="1.51"/>
2123
+ <tag line="4800" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
2124
  <type by_reference="false">array</type>
2125
  </tag>
2126
+ <tag line="4800" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2127
  <type by_reference="false">array</type>
2128
  </tag>
2129
+ <tag line="4800" name="return" description="success/failure message(s); empty string if no changes." type="string">
2130
  <type by_reference="false">string</type>
2131
  </tag>
2132
  </docblock>
2133
+ <argument line="4810">
2134
  <name>$current_values</name>
2135
  <default><![CDATA[]]></default>
2136
  <type/>
2137
  </argument>
2138
+ <argument line="4810">
2139
  <name>$new_meta</name>
2140
  <default><![CDATA[]]></default>
2141
  <type/>
2142
  </argument>
2143
  </method>
2144
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4893" package="Media Library Assistant">
2145
  <name>mla_update_item_postmeta</name>
2146
  <full_name>mla_update_item_postmeta</full_name>
2147
+ <docblock line="4883">
2148
  <description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
2149
  <long-description><![CDATA[]]></long-description>
2150
+ <tag line="4883" name="since" description="1.40"/>
2151
+ <tag line="4883" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2152
  <type by_reference="false">int</type>
2153
  </tag>
2154
+ <tag line="4883" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_meta">
2155
  <type by_reference="false">array</type>
2156
  </tag>
2157
+ <tag line="4883" name="return" description="success/failure message(s)" type="string">
2158
  <type by_reference="false">string</type>
2159
  </tag>
2160
  </docblock>
2161
+ <argument line="4893">
2162
  <name>$post_id</name>
2163
  <default><![CDATA[]]></default>
2164
  <type/>
2165
  </argument>
2166
+ <argument line="4893">
2167
  <name>$new_meta</name>
2168
  <default><![CDATA[]]></default>
2169
  <type/>
2170
  </argument>
2171
  </method>
2172
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5060" package="Media Library Assistant">
2173
  <name>mla_update_single_item</name>
2174
  <full_name>mla_update_single_item</full_name>
2175
+ <docblock line="5047">
2176
  <description><![CDATA[Update a single item; change the "post" data, taxonomy terms
2177
  and meta data for a single attachment]]></description>
2178
  <long-description><![CDATA[]]></long-description>
2179
+ <tag line="5047" name="since" description="0.1"/>
2180
+ <tag line="5047" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
2181
  <type by_reference="false">int</type>
2182
  </tag>
2183
+ <tag line="5047" name="param" description="Field name =&gt; value pairs" type="array" variable="$new_data">
2184
  <type by_reference="false">array</type>
2185
  </tag>
2186
+ <tag line="5047" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
2187
  <type by_reference="false">array</type>
2188
  </tag>
2189
+ <tag line="5047" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
2190
  <type by_reference="false">array</type>
2191
  </tag>
2192
+ <tag line="5047" name="return" description="success/failure message and NULL content" type="array">
2193
  <type by_reference="false">array</type>
2194
  </tag>
2195
  </docblock>
2196
+ <argument line="5060">
2197
  <name>$post_id</name>
2198
  <default><![CDATA[]]></default>
2199
  <type/>
2200
  </argument>
2201
+ <argument line="5060">
2202
  <name>$new_data</name>
2203
  <default><![CDATA[]]></default>
2204
  <type/>
2205
  </argument>
2206
+ <argument line="5060">
2207
  <name>$tax_input</name>
2208
  <default><![CDATA[NULL]]></default>
2209
  <type/>
2210
  </argument>
2211
+ <argument line="5060">
2212
  <name>$tax_actions</name>
2213
  <default><![CDATA[NULL]]></default>
2214
  <type/>
2215
  </argument>
2216
  </method>
2217
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5336" package="Media Library Assistant">
2218
  <name>_remove_tags</name>
2219
  <full_name>_remove_tags</full_name>
2220
+ <docblock line="5325">
2221
  <description><![CDATA[Remove tags from a term ids list]]></description>
2222
  <long-description><![CDATA[]]></long-description>
2223
+ <tag line="5325" name="since" description="0.40"/>
2224
+ <tag line="5325" name="param" description="The term ids currently assigned" type="array" variable="$terms_before">
2225
  <type by_reference="false">array</type>
2226
  </tag>
2227
+ <tag line="5325" name="param" description="| string The term ids (array) or names (string) to remove" type="array" variable="$tags">
2228
  <type by_reference="false">array</type>
2229
  </tag>
2230
+ <tag line="5325" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
2231
  <type by_reference="false">object</type>
2232
  </tag>
2233
+ <tag line="5325" name="return" description="Term ids of the surviving tags" type="array">
2234
  <type by_reference="false">array</type>
2235
  </tag>
2236
  </docblock>
2237
+ <argument line="5336">
2238
  <name>$terms_before</name>
2239
  <default><![CDATA[]]></default>
2240
  <type/>
2241
  </argument>
2242
+ <argument line="5336">
2243
  <name>$tags</name>
2244
  <default><![CDATA[]]></default>
2245
  <type/>
2246
  </argument>
2247
+ <argument line="5336">
2248
  <name>$taxonomy_obj</name>
2249
  <default><![CDATA[]]></default>
2250
  <type/>
2251
  </argument>
2252
  </method>
2253
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5385" package="Media Library Assistant">
2254
  <name>_hex_dump</name>
2255
  <full_name>_hex_dump</full_name>
2256
+ <docblock line="5373">
2257
  <description><![CDATA[Format printable version of binary data]]></description>
2258
  <long-description><![CDATA[]]></long-description>
2259
+ <tag line="5373" name="since" description="0.90"/>
2260
+ <tag line="5373" name="param" description="Binary data" type="string" variable="$data">
2261
  <type by_reference="false">string</type>
2262
  </tag>
2263
+ <tag line="5373" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
2264
  <type by_reference="false">integer</type>
2265
  </tag>
2266
+ <tag line="5373" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
2267
  <type by_reference="false">\intger</type>
2268
  </tag>
2269
+ <tag line="5373" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
2270
  <type by_reference="false">integer</type>
2271
  </tag>
2272
+ <tag line="5373" name="return" description="Printable representation of $data" type="string">
2273
  <type by_reference="false">string</type>
2274
  </tag>
2275
  </docblock>
2276
+ <argument line="5385">
2277
  <name>$data</name>
2278
  <default><![CDATA[]]></default>
2279
  <type/>
2280
  </argument>
2281
+ <argument line="5385">
2282
  <name>$limit</name>
2283
  <default><![CDATA[0]]></default>
2284
  <type/>
2285
  </argument>
2286
+ <argument line="5385">
2287
  <name>$bytes_per_row</name>
2288
  <default><![CDATA[16]]></default>
2289
  <type/>
2290
  </argument>
2291
+ <argument line="5385">
2292
  <name>$offset</name>
2293
  <default><![CDATA[-1]]></default>
2294
  <type/>
2299
  <todo line="3244">encode the rest</todo>
2300
  </markers>
2301
  </file>
2302
+ <file path="includes\class-mla-edit-media.php" hash="8b864a17080da0c68831c10980ca9309" package="Media Library Assistant">
2303
  <docblock line="2">
2304
  <description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
2305
  <long-description><![CDATA[]]></long-description>
2660
  <type/>
2661
  </argument>
2662
  </method>
2663
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="603" package="Media Library Assistant">
2664
  <name>_mla_ajax_add_flat_term</name>
2665
  <full_name>_mla_ajax_add_flat_term</full_name>
2666
  <docblock line="592">
2667
+ <description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
 
2668
  <long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
2669
  <tag line="592" name="since" description="1.80"/>
2670
  <tag line="592" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
2674
  <type by_reference="false">void</type>
2675
  </tag>
2676
  </docblock>
2677
+ <argument line="603">
2678
  <name>$key</name>
2679
  <default><![CDATA[]]></default>
2680
  <type/>
2681
  </argument>
2682
  </method>
2683
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="666" package="Media Library Assistant">
2684
  <name>mla_checklist_meta_box</name>
2685
  <full_name>mla_checklist_meta_box</full_name>
2686
+ <docblock line="651">
2687
  <description><![CDATA[Display taxonomy "checklist" form fields]]></description>
2688
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
2689
  Includes the "? Search" area to filter the term checklist by entering part
2690
  or all of a word/phrase in the term label.
2691
  Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
2692
+ <tag line="651" name="since" description="1.71"/>
2693
+ <tag line="651" name="param" description="The current post" type="object" variable="$target_post">
2694
  <type by_reference="false">object</type>
2695
  </tag>
2696
+ <tag line="651" name="param" description="The meta box parameters" type="array" variable="$box">
2697
  <type by_reference="false">array</type>
2698
  </tag>
2699
+ <tag line="651" name="return" description="Echoes HTML for the form fields" type="void">
2700
  <type by_reference="false">void</type>
2701
  </tag>
2702
  </docblock>
2703
+ <argument line="666">
2704
  <name>$target_post</name>
2705
  <default><![CDATA[]]></default>
2706
  <type/>
2707
  </argument>
2708
+ <argument line="666">
2709
  <name>$box</name>
2710
  <default><![CDATA[]]></default>
2711
  <type/>
2712
  </argument>
2713
  </method>
2714
  </class>
2715
+ <class final="false" abstract="false" namespace="global" line="825" package="Media Library Assistant">
2716
  <extends>\Walker_Category</extends>
2717
  <name>MLA_Checklist_Walker</name>
2718
  <full_name>\MLA_Checklist_Walker</full_name>
2719
+ <docblock line="815">
2720
  <description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
2721
  <long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
2722
  Class Walker_Category is defined in /wp-includes/category-template.php.
2723
  Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
2724
+ <tag line="815" name="package" description="Media Library Assistant"/>
2725
+ <tag line="815" name="since" description="1.80"/>
2726
  </docblock>
2727
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="839" package="Media Library Assistant">
2728
  <name>start_el</name>
2729
  <full_name>start_el</full_name>
2730
+ <docblock line="826">
2731
  <description><![CDATA[Start the element output.]]></description>
2732
  <long-description><![CDATA[]]></long-description>
2733
+ <tag line="826" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
2734
+ <tag line="826" name="since" description="1.80"/>
2735
+ <tag line="826" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
2736
  <type by_reference="false">string</type>
2737
  </tag>
2738
+ <tag line="826" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
2739
  <type by_reference="false">object</type>
2740
  </tag>
2741
+ <tag line="826" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
2742
  <type by_reference="false">int</type>
2743
  </tag>
2744
+ <tag line="826" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
2745
  <type by_reference="false">array</type>
2746
  </tag>
2747
+ <tag line="826" name="param" description="ID of the current category." type="int" variable="$id">
2748
  <type by_reference="false">int</type>
2749
  </tag>
2750
  </docblock>
2751
+ <argument line="839">
2752
  <name>$output</name>
2753
  <default><![CDATA[]]></default>
2754
  <type/>
2755
  </argument>
2756
+ <argument line="839">
2757
  <name>$taxonomy_object</name>
2758
  <default><![CDATA[]]></default>
2759
  <type/>
2760
  </argument>
2761
+ <argument line="839">
2762
  <name>$depth</name>
2763
  <default><![CDATA[0]]></default>
2764
  <type/>
2765
  </argument>
2766
+ <argument line="839">
2767
  <name>$args</name>
2768
  <default><![CDATA[array()]]></default>
2769
  <type/>
2770
  </argument>
2771
+ <argument line="839">
2772
  <name>$id</name>
2773
  <default><![CDATA[0]]></default>
2774
  <type/>
2775
  </argument>
2776
  </method>
2777
+ <method final="false" abstract="false" static="false" visibility="public" namespace="global" line="872" package="Media Library Assistant">
2778
  <name>end_el</name>
2779
  <full_name>end_el</full_name>
2780
+ <docblock line="860">
2781
  <description><![CDATA[Ends the element output, if needed.]]></description>
2782
  <long-description><![CDATA[]]></long-description>
2783
+ <tag line="860" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
2784
+ <tag line="860" name="since" description="1.80"/>
2785
+ <tag line="860" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
2786
  <type by_reference="false">string</type>
2787
  </tag>
2788
+ <tag line="860" name="param" description="The current term object." type="object" variable="$category">
2789
  <type by_reference="false">object</type>
2790
  </tag>
2791
+ <tag line="860" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
2792
  <type by_reference="false">int</type>
2793
  </tag>
2794
+ <tag line="860" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
2795
  <type by_reference="false">array</type>
2796
  </tag>
2797
  </docblock>
2798
+ <argument line="872">
2799
  <name>$output</name>
2800
  <default><![CDATA[]]></default>
2801
  <type/>
2802
  </argument>
2803
+ <argument line="872">
2804
  <name>$category</name>
2805
  <default><![CDATA[]]></default>
2806
  <type/>
2807
  </argument>
2808
+ <argument line="872">
2809
  <name>$depth</name>
2810
  <default><![CDATA[0]]></default>
2811
  <type/>
2812
  </argument>
2813
+ <argument line="872">
2814
  <name>$args</name>
2815
  <default><![CDATA[array()]]></default>
2816
  <type/>
3804
  </method>
3805
  </class>
3806
  </file>
3807
+ <file path="includes\class-mla-main.php" hash="739534dbba1d79fbe850381a0ae49c9e" package="Media Library Assistant">
3808
  <docblock line="2">
3809
  <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
3810
  <long-description><![CDATA[]]></long-description>
3828
  <constant namespace="global" line="32" package="Media Library Assistant">
3829
  <name>CURRENT_MLA_VERSION</name>
3830
  <full_name>CURRENT_MLA_VERSION</full_name>
3831
+ <value><![CDATA['1.81']]></value>
3832
  <docblock line="25">
3833
  <description><![CDATA[Current version number]]></description>
3834
  <long-description><![CDATA[]]></long-description>
4110
  </tag>
4111
  </docblock>
4112
  </method>
4113
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="415" package="Media Library Assistant">
4114
  <name>mla_load_media_action</name>
4115
  <full_name>mla_load_media_action</full_name>
4116
+ <docblock line="408">
4117
  <description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
4118
  <long-description><![CDATA[]]></long-description>
4119
+ <tag line="408" name="since" description="1.60"/>
4120
+ <tag line="408" name="return" description="" type="void">
4121
  <type by_reference="false">void</type>
4122
  </tag>
4123
  </docblock>
4124
  </method>
4125
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="443" package="Media Library Assistant">
4126
  <name>mla_add_menu_options</name>
4127
  <full_name>mla_add_menu_options</full_name>
4128
+ <docblock line="436">
4129
  <description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
4130
  <long-description><![CDATA[]]></long-description>
4131
+ <tag line="436" name="since" description="0.1"/>
4132
+ <tag line="436" name="return" description="" type="void">
4133
  <type by_reference="false">void</type>
4134
  </tag>
4135
  </docblock>
4136
  </method>
4137
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="462" package="Media Library Assistant">
4138
  <name>mla_add_help_tab</name>
4139
  <full_name>mla_add_help_tab</full_name>
4140
+ <docblock line="455">
4141
  <description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
4142
  <long-description><![CDATA[]]></long-description>
4143
+ <tag line="455" name="since" description="0.1"/>
4144
+ <tag line="455" name="return" description="" type="void">
4145
  <type by_reference="false">void</type>
4146
  </tag>
4147
  </docblock>
4148
  </method>
4149
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="568" package="Media Library Assistant">
4150
  <name>mla_screen_options_show_screen_filter</name>
4151
  <full_name>mla_screen_options_show_screen_filter</full_name>
4152
+ <docblock line="558">
4153
  <description><![CDATA[Only show screen options on the table-list screen]]></description>
4154
  <long-description><![CDATA[]]></long-description>
4155
+ <tag line="558" name="since" description="0.1"/>
4156
+ <tag line="558" name="param" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean" variable="$show_screen">
4157
  <type by_reference="false">boolean</type>
4158
  </tag>
4159
+ <tag line="558" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
4160
  <type by_reference="false">string</type>
4161
  </tag>
4162
+ <tag line="558" name="return" description="True to display &quot;Screen Options&quot;, false to suppress them" type="boolean">
4163
  <type by_reference="false">boolean</type>
4164
  </tag>
4165
  </docblock>
4166
+ <argument line="568">
4167
  <name>$show_screen</name>
4168
  <default><![CDATA[]]></default>
4169
  <type/>
4170
  </argument>
4171
+ <argument line="568">
4172
  <name>$this_screen</name>
4173
  <default><![CDATA[]]></default>
4174
  <type/>
4175
  </argument>
4176
  </method>
4177
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="587" package="Media Library Assistant">
4178
  <name>mla_set_screen_option_filter</name>
4179
  <full_name>mla_set_screen_option_filter</full_name>
4180
+ <docblock line="576">
4181
  <description><![CDATA[Save the "Entries per page" option set by this user]]></description>
4182
  <long-description><![CDATA[]]></long-description>
4183
+ <tag line="576" name="since" description="0.1"/>
4184
+ <tag line="576" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
4185
  <type by_reference="false">mixed</type>
4186
  </tag>
4187
+ <tag line="576" name="param" description="Name of the option being changed" type="string" variable="$option">
4188
  <type by_reference="false">string</type>
4189
  </tag>
4190
+ <tag line="576" name="param" description="New value of the option" type="string" variable="$value">
4191
  <type by_reference="false">string</type>
4192
  </tag>
4193
+ <tag line="576" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
4194
  <type by_reference="false">string</type>
4195
  <type by_reference="false">void</type>
4196
  </tag>
4197
  </docblock>
4198
+ <argument line="587">
4199
  <name>$status</name>
4200
  <default><![CDATA[]]></default>
4201
  <type/>
4202
  </argument>
4203
+ <argument line="587">
4204
  <name>$option</name>
4205
  <default><![CDATA[]]></default>
4206
  <type/>
4207
  </argument>
4208
+ <argument line="587">
4209
  <name>$value</name>
4210
  <default><![CDATA[]]></default>
4211
  <type/>
4212
  </argument>
4213
  </method>
4214
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="606" package="Media Library Assistant">
4215
  <name>mla_edit_tax_redirect</name>
4216
  <full_name>mla_edit_tax_redirect</full_name>
4217
+ <docblock line="595">
4218
  <description><![CDATA[Redirect to the Edit Tags/Categories page]]></description>
4219
  <long-description><![CDATA[<p>The custom taxonomy add/edit submenu entries go to "upload.php" by default.
4220
  This filter is the only way to redirect them to the correct WordPress page.
4221
  The filter is not required for WordPress 3.5 and later.</p>]]></long-description>
4222
+ <tag line="595" name="since" description="0.1"/>
4223
+ <tag line="595" name="return" description="" type="void">
4224
  <type by_reference="false">void</type>
4225
  </tag>
4226
  </docblock>
4227
  </method>
4228
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="639" package="Media Library Assistant">
4229
  <name>mla_parent_file_filter</name>
4230
  <full_name>mla_parent_file_filter</full_name>
4231
+ <docblock line="623">
4232
  <description><![CDATA[Cleanup menus for Edit Tags/Categories page]]></description>
4233
  <long-description><![CDATA[<p>For WordPress before 3.5, the submenu entries for custom taxonomies
4234
  under the "Media" menu are not set up correctly by WordPress, so this
4236
  page for editing/adding taxonomy terms.
4237
  For WordPress 3.5 and later, the function fixes the submenu bolding when
4238
  going to the Edit Media screen.</p>]]></long-description>
4239
+ <tag line="623" name="since" description="0.1"/>
4240
+ <tag line="623" name="param" description="The top-level menu page" type="array" variable="$parent_file">
4241
  <type by_reference="false">array</type>
4242
  </tag>
4243
+ <tag line="623" name="return" description="The updated top-level menu page" type="string">
4244
  <type by_reference="false">string</type>
4245
  </tag>
4246
  </docblock>
4247
+ <argument line="639">
4248
  <name>$parent_file</name>
4249
  <default><![CDATA[]]></default>
4250
  <type/>
4251
  </argument>
4252
  </method>
4253
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="702" package="Media Library Assistant">
4254
  <name>_process_bulk_value</name>
4255
  <full_name>_process_bulk_value</full_name>
4256
+ <docblock line="692">
4257
  <description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
4258
  <long-description><![CDATA[]]></long-description>
4259
+ <tag line="692" name="since" description="1.80"/>
4260
+ <tag line="692" name="param" description="Current post ID" type="integer" variable="$post_id">
4261
  <type by_reference="false">integer</type>
4262
  </tag>
4263
+ <tag line="692" name="param" description="Field value as entered" type="string" variable="$bulk_value">
4264
  <type by_reference="false">string</type>
4265
  </tag>
4266
+ <tag line="692" name="return" description="Empty, or new value for the field" type="string">
4267
  <type by_reference="false">string</type>
4268
  </tag>
4269
  </docblock>
4270
+ <argument line="702">
4271
  <name>$post_id</name>
4272
  <default><![CDATA[]]></default>
4273
  <type/>
4274
  </argument>
4275
+ <argument line="702">
4276
  <name>$bulk_value</name>
4277
  <default><![CDATA[]]></default>
4278
  <type/>
4279
  </argument>
4280
  </method>
4281
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="733" package="Media Library Assistant">
4282
  <name>mla_render_admin_page</name>
4283
  <full_name>mla_render_admin_page</full_name>
4284
+ <docblock line="726">
4285
  <description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
4286
  <long-description><![CDATA[]]></long-description>
4287
+ <tag line="726" name="since" description="0.1"/>
4288
+ <tag line="726" name="return" description="" type="void">
4289
  <type by_reference="false">void</type>
4290
  </tag>
4291
  </docblock>
4292
  </method>
4293
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1218" package="Media Library Assistant">
4294
  <name>mla_inline_edit_action</name>
4295
  <full_name>mla_inline_edit_action</full_name>
4296
+ <docblock line="1209">
4297
  <description><![CDATA[Ajax handler for inline editing (quick and bulk edit)]]></description>
4298
  <long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4299
+ <tag line="1209" name="since" description="0.20"/>
4300
+ <tag line="1209" name="return" description="echo HTML &lt;tr&gt; markup for updated row or error message, then die()" type="void">
4301
  <type by_reference="false">void</type>
4302
  </tag>
4303
  </docblock>
4304
  </method>
4305
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1317" package="Media Library Assistant">
4306
  <name>_build_inline_edit_form</name>
4307
  <full_name>_build_inline_edit_form</full_name>
4308
+ <docblock line="1306">
4309
  <description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
4310
  <long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
4311
+ <tag line="1306" name="since" description="0.20"/>
4312
+ <tag line="1306" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
4313
  <type by_reference="false">object</type>
4314
  </tag>
4315
+ <tag line="1306" name="return" description="HTML &lt;form&gt; markup for hidden rows" type="string">
4316
  <type by_reference="false">string</type>
4317
  </tag>
4318
  </docblock>
4319
+ <argument line="1317">
4320
  <name>$MLAListTable</name>
4321
  <default><![CDATA[]]></default>
4322
  <type/>
4323
  </argument>
4324
  </method>
4325
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1501" package="Media Library Assistant">
4326
  <name>_authors_dropdown</name>
4327
  <full_name>_authors_dropdown</full_name>
4328
+ <docblock line="1490">
4329
  <description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
4330
  <long-description><![CDATA[]]></long-description>
4331
+ <tag line="1490" name="since" description="0.20"/>
4332
+ <tag line="1490" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
4333
  <type by_reference="false">integer</type>
4334
  </tag>
4335
+ <tag line="1490" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
4336
  <type by_reference="false">string</type>
4337
  </tag>
4338
+ <tag line="1490" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
4339
  <type by_reference="false">string</type>
4340
  </tag>
4341
+ <tag line="1490" name="return" description="HTML markup for the dropdown field or False" type="string|false">
4342
  <type by_reference="false">string</type>
4343
  <type by_reference="false">false</type>
4344
  </tag>
4345
  </docblock>
4346
+ <argument line="1501">
4347
  <name>$author</name>
4348
  <default><![CDATA[0]]></default>
4349
  <type/>
4350
  </argument>
4351
+ <argument line="1501">
4352
  <name>$name</name>
4353
  <default><![CDATA['post_author']]></default>
4354
  <type/>
4355
  </argument>
4356
+ <argument line="1501">
4357
  <name>$class</name>
4358
  <default><![CDATA['authors']]></default>
4359
  <type/>
4360
  </argument>
4361
  </method>
4362
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1535" package="Media Library Assistant">
4363
  <name>_current_bulk_action</name>
4364
  <full_name>_current_bulk_action</full_name>
4365
+ <docblock line="1528">
4366
  <description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
4367
  <long-description><![CDATA[]]></long-description>
4368
+ <tag line="1528" name="since" description="0.1"/>
4369
+ <tag line="1528" name="return" description="The action name or False if no action was selected" type="string|false">
4370
  <type by_reference="false">string</type>
4371
  <type by_reference="false">false</type>
4372
  </tag>
4373
  </docblock>
4374
  </method>
4375
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1566" package="Media Library Assistant">
4376
  <name>_delete_single_item</name>
4377
  <full_name>_delete_single_item</full_name>
4378
+ <docblock line="1557">
4379
  <description><![CDATA[Delete a single item permanently]]></description>
4380
  <long-description><![CDATA[]]></long-description>
4381
+ <tag line="1557" name="since" description="0.1"/>
4382
+ <tag line="1557" name="param" description="The form POST data" type="array" variable="$post_id">
4383
  <type by_reference="false">array</type>
4384
  </tag>
4385
+ <tag line="1557" name="return" description="success/failure message and NULL content" type="array">
4386
  <type by_reference="false">array</type>
4387
  </tag>
4388
  </docblock>
4389
+ <argument line="1566">
4390
  <name>$post_id</name>
4391
  <default><![CDATA[]]></default>
4392
  <type/>
4393
  </argument>
4394
  </method>
4395
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1601" package="Media Library Assistant">
4396
  <name>_display_single_item</name>
4397
  <full_name>_display_single_item</full_name>
4398
+ <docblock line="1589">
4399
  <description><![CDATA[Display a single item sub page; prepare the form to
4400
  change the meta data for a single attachment.]]></description>
4401
  <long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
4402
+ <tag line="1589" name="since" description="0.1"/>
4403
+ <tag line="1589" name="param" description="The WordPress Post ID of the attachment item" type="int" variable="$post_id">
4404
  <type by_reference="false">int</type>
4405
  </tag>
4406
+ <tag line="1589" name="return" description="message and/or HTML content" type="array">
4407
  <type by_reference="false">array</type>
4408
  </tag>
4409
  </docblock>
4410
+ <argument line="1601">
4411
  <name>$post_id</name>
4412
  <default><![CDATA[]]></default>
4413
  <type/>
4414
  </argument>
4415
  </method>
4416
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1882" package="Media Library Assistant">
4417
  <name>_restore_single_item</name>
4418
  <full_name>_restore_single_item</full_name>
4419
+ <docblock line="1873">
4420
  <description><![CDATA[Restore a single item from the Trash]]></description>
4421
  <long-description><![CDATA[]]></long-description>
4422
+ <tag line="1873" name="since" description="0.1"/>
4423
+ <tag line="1873" name="param" description="The form POST data" type="array" variable="$post_id">
4424
  <type by_reference="false">array</type>
4425
  </tag>
4426
+ <tag line="1873" name="return" description="success/failure message and NULL content" type="array">
4427
  <type by_reference="false">array</type>
4428
  </tag>
4429
  </docblock>
4430
+ <argument line="1882">
4431
  <name>$post_id</name>
4432
  <default><![CDATA[]]></default>
4433
  <type/>
4434
  </argument>
4435
  </method>
4436
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1922" package="Media Library Assistant">
4437
  <name>_trash_single_item</name>
4438
  <full_name>_trash_single_item</full_name>
4439
+ <docblock line="1913">
4440
  <description><![CDATA[Move a single item to Trash]]></description>
4441
  <long-description><![CDATA[]]></long-description>
4442
+ <tag line="1913" name="since" description="0.1"/>
4443
+ <tag line="1913" name="param" description="The form POST data" type="array" variable="$post_id">
4444
  <type by_reference="false">array</type>
4445
  </tag>
4446
+ <tag line="1913" name="return" description="success/failure message and NULL content" type="array">
4447
  <type by_reference="false">array</type>
4448
  </tag>
4449
  </docblock>
4450
+ <argument line="1922">
4451
  <name>$post_id</name>
4452
  <default><![CDATA[]]></default>
4453
  <type/>
4455
  </method>
4456
  </class>
4457
  </file>
4458
+ <file path="includes\class-mla-media-modal.php" hash="eaf510d107a86a1fe9e8249304c6bf80" package="Media Library Assistant">
4459
  <docblock line="2">
4460
  <description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
4461
  <long-description><![CDATA[]]></long-description>
4462
  <tag line="2" name="package" description="Media Library Assistant"/>
4463
  <tag line="2" name="since" description="1.20"/>
4464
  </docblock>
4465
+ <include line="474" type="Require Once" package="Media Library Assistant">
4466
  <name/>
4467
  </include>
4468
  <class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
4565
  </tag>
4566
  </docblock>
4567
  </property>
4568
+ <property final="false" static="true" visibility="private" line="327" namespace="global" package="Media Library Assistant">
4569
  <name>$mla_media_modal_settings</name>
4570
  <default><![CDATA[array('ajaxQueryAttachmentsAction' => self::JAVASCRIPT_QUERY_ATTACHMENTS_ACTION, 'ajaxFillCompatAction' => self::JAVASCRIPT_FILL_COMPAT_ACTION, 'ajaxUpdateCompatAction' => self::JAVASCRIPT_UPDATE_COMPAT_ACTION, 'ajaxFillCompatNonce' => '', 'ajaxUpdateCompatNonce' => '', 'enableMimeTypes' => false, 'enableMonthsDropdown' => false, 'enableTermsDropdown' => false, 'enableSearchBox' => false, 'enableDetailsCategory' => false, 'enableDetailsTag' => false, 'mimeTypes' => '', 'months' => '', 'termsClass' => array(), 'termsValue' => array(), 'termsText' => array(), 'searchValue' => '', 'searchFields' => array('title', 'content'), 'searchConnector' => 'AND')]]></default>
4571
+ <docblock line="319">
4572
  <description><![CDATA[Share the settings values between mla_media_view_settings_filter
4573
  and mla_print_media_templates_action]]></description>
4574
  <long-description><![CDATA[]]></long-description>
4575
+ <tag line="319" name="since" description="1.20"/>
4576
+ <tag line="319" name="var" description="" type="array">
4577
  <type by_reference="false">array</type>
4578
  </tag>
4579
  </docblock>
4643
  <type/>
4644
  </argument>
4645
  </method>
4646
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="252" package="Media Library Assistant">
4647
  <name>_months_dropdown</name>
4648
  <full_name>_months_dropdown</full_name>
4649
+ <docblock line="241">
4650
  <description><![CDATA[Display a monthly dropdown for filtering items]]></description>
4651
  <long-description><![CDATA[<p>Adapted from /wp-admin/includes/class-wp-list-table.php function months_dropdown()</p>]]></long-description>
4652
+ <tag line="241" name="since" description="1.20"/>
4653
+ <tag line="241" name="param" description="post_type, e.g., 'attachment'" type="string" variable="$post_type">
4654
  <type by_reference="false">string</type>
4655
  </tag>
4656
+ <tag line="241" name="return" description="( value =&gt; label ) pairs" type="array">
4657
  <type by_reference="false">array</type>
4658
  </tag>
4659
  </docblock>
4660
+ <argument line="252">
4661
  <name>$post_type</name>
4662
  <default><![CDATA[]]></default>
4663
  <type/>
4664
  </argument>
4665
  </method>
4666
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="293" package="Media Library Assistant">
4667
  <name>_terms_options</name>
4668
  <full_name>_terms_options</full_name>
4669
+ <docblock line="284">
4670
  <description><![CDATA[Extract value and text elements from Dropdown HTML option tags]]></description>
4671
  <long-description><![CDATA[]]></long-description>
4672
+ <tag line="284" name="since" description="1.20"/>
4673
+ <tag line="284" name="param" description="HTML markup for taxonomy terms dropdown &lt;select&gt; tag" type="string" variable="$markup">
4674
  <type by_reference="false">string</type>
4675
  </tag>
4676
+ <tag line="284" name="return" description="( value =&gt; label ) pairs" type="array">
4677
  <type by_reference="false">array</type>
4678
  </tag>
4679
  </docblock>
4680
+ <argument line="293">
4681
  <name>$markup</name>
4682
  <default><![CDATA[]]></default>
4683
  <type/>
4684
  </argument>
4685
  </method>
4686
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="360" package="Media Library Assistant">
4687
  <name>mla_media_view_settings_filter</name>
4688
  <full_name>mla_media_view_settings_filter</full_name>
4689
+ <docblock line="349">
4690
  <description><![CDATA[Adds settings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
4691
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
4692
+ <tag line="349" name="since" description="1.20"/>
4693
+ <tag line="349" name="param" description="associative array with setting =&gt; value pairs" type="array" variable="$settings">
4694
  <type by_reference="false">array</type>
4695
  </tag>
4696
+ <tag line="349" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
4697
  <type by_reference="false">object</type>
4698
  </tag>
4699
+ <tag line="349" name="return" description="updated $settings array" type="array">
4700
  <type by_reference="false">array</type>
4701
  </tag>
4702
  </docblock>
4703
+ <argument line="360">
4704
  <name>$settings</name>
4705
  <default><![CDATA[]]></default>
4706
  <type/>
4707
  </argument>
4708
+ <argument line="360">
4709
  <name>$post</name>
4710
  <default><![CDATA[]]></default>
4711
  <type/>
4712
  </argument>
4713
  </method>
4714
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="402" package="Media Library Assistant">
4715
  <name>mla_media_view_strings_filter</name>
4716
  <full_name>mla_media_view_strings_filter</full_name>
4717
+ <docblock line="391">
4718
  <description><![CDATA[Adds strings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
4719
  <long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
4720
+ <tag line="391" name="since" description="1.20"/>
4721
+ <tag line="391" name="param" description="associative array with string =&gt; value pairs" type="array" variable="$strings">
4722
  <type by_reference="false">array</type>
4723
  </tag>
4724
+ <tag line="391" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
4725
  <type by_reference="false">object</type>
4726
  </tag>
4727
+ <tag line="391" name="return" description="updated $strings array" type="array">
4728
  <type by_reference="false">array</type>
4729
  </tag>
4730
  </docblock>
4731
+ <argument line="402">
4732
  <name>$strings</name>
4733
  <default><![CDATA[]]></default>
4734
  <type/>
4735
  </argument>
4736
+ <argument line="402">
4737
  <name>$post</name>
4738
  <default><![CDATA[]]></default>
4739
  <type/>
4740
  </argument>
4741
  </method>
4742
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="420" package="Media Library Assistant">
4743
  <name>mla_wp_enqueue_media_action</name>
4744
  <full_name>mla_wp_enqueue_media_action</full_name>
4745
+ <docblock line="412">
4746
  <description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
4747
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
4748
+ <tag line="412" name="since" description="1.20"/>
4749
+ <tag line="412" name="return" description="" type="void">
4750
  <type by_reference="false">void</type>
4751
  </tag>
4752
  </docblock>
4753
  </method>
4754
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="438" package="Media Library Assistant">
4755
  <name>mla_print_media_templates_action</name>
4756
  <full_name>mla_print_media_templates_action</full_name>
4757
+ <docblock line="430">
4758
  <description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
4759
  <long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
4760
+ <tag line="430" name="since" description="1.20"/>
4761
+ <tag line="430" name="return" description="echoes HTML script tags for the templates" type="void">
4762
  <type by_reference="false">void</type>
4763
  </tag>
4764
  </docblock>
4765
  </method>
4766
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="487" package="Media Library Assistant">
4767
  <name>mla_admin_init_action</name>
4768
  <full_name>mla_admin_init_action</full_name>
4769
+ <docblock line="477">
4770
  <description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
4771
  <long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
4772
  Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
4773
+ <tag line="477" name="since" description="1.20"/>
4774
+ <tag line="477" name="return" description="" type="void">
4775
  <type by_reference="false">void</type>
4776
  </tag>
4777
  </docblock>
4778
  </method>
4779
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="622" package="Media Library Assistant">
4780
  <name>mla_fill_compat_fields_action</name>
4781
  <full_name>mla_fill_compat_fields_action</full_name>
4782
+ <docblock line="613">
4783
  <description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
4784
  <long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
4785
+ <tag line="613" name="since" description="1.80"/>
4786
+ <tag line="613" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
4787
  <type by_reference="false">void</type>
4788
  </tag>
4789
  </docblock>
4790
  </method>
4791
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="796" package="Media Library Assistant">
4792
  <name>mla_update_compat_fields_action</name>
4793
  <full_name>mla_update_compat_fields_action</full_name>
4794
+ <docblock line="787">
4795
  <description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
4796
  <long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
4797
+ <tag line="787" name="since" description="1.80"/>
4798
+ <tag line="787" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
4799
  <type by_reference="false">void</type>
4800
  </tag>
4801
  </docblock>
4802
  </method>
4803
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="870" package="Media Library Assistant">
4804
  <name>mla_query_attachments_action</name>
4805
  <full_name>mla_query_attachments_action</full_name>
4806
+ <docblock line="861">
4807
  <description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
4808
  <long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
4809
+ <tag line="861" name="since" description="1.20"/>
4810
+ <tag line="861" name="return" description="passes array of post arrays to wp_send_json_success() for JSON encoding and transmission" type="void">
4811
  <type by_reference="false">void</type>
4812
  </tag>
4813
  </docblock>
6272
  </method>
6273
  </class>
6274
  </file>
6275
+ <file path="includes\class-mla-options.php" hash="c315e9fc4d431efa736960f3ebfc3a68" package="Media Library Assistant">
6276
  <docblock line="2">
6277
  <description><![CDATA[Manages the plugin option settings]]></description>
6278
  <long-description><![CDATA[]]></long-description>
8817
  </method>
8818
  </class>
8819
  </file>
8820
+ <file path="includes\class-mla-shortcodes.php" hash="a2643c0ac859674974bc09b0f2b0b766" package="Media Library Assistant">
8821
  <docblock line="2">
8822
  <description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
8823
  <long-description><![CDATA[]]></long-description>
8900
  </tag>
8901
  </docblock>
8902
  </property>
8903
+ <property final="false" static="true" visibility="private" line="3105" namespace="global" package="Media Library Assistant">
8904
  <name>$mla_get_terms_parameters</name>
8905
+ <default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', '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' => 45, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'limit' => 0, 'offset' => 0)]]></default>
8906
+ <docblock line="3098">
8907
  <description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
8908
  <long-description><![CDATA[]]></long-description>
8909
+ <tag line="3098" name="since" description="1.60"/>
8910
+ <tag line="3098" name="var" description="" type="array">
8911
  <type by_reference="false">array</type>
8912
  </tag>
8913
  </docblock>
9225
  <type/>
9226
  </argument>
9227
  </method>
9228
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3005" package="Media Library Assistant">
9229
  <name>mla_shortcode_query_posts_where_filter</name>
9230
  <full_name>mla_shortcode_query_posts_where_filter</full_name>
9231
+ <docblock line="2991">
9232
  <description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
9233
  <long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
9234
  phrase to circumvent subsequent Role Scoper modification of the clause.
9235
  Handles post_parent "any" and "none" cases.
9236
  Defined as public because it's a filter.</p>]]></long-description>
9237
+ <tag line="2991" name="since" description="0.70"/>
9238
+ <tag line="2991" name="param" description="query clause before modification" type="string" variable="$where_clause">
9239
  <type by_reference="false">string</type>
9240
  </tag>
9241
+ <tag line="2991" name="return" description="query clause after modification" type="string">
9242
  <type by_reference="false">string</type>
9243
  </tag>
9244
  </docblock>
9245
+ <argument line="3005">
9246
  <name>$where_clause</name>
9247
  <default><![CDATA[]]></default>
9248
  <type/>
9249
  </argument>
9250
  </method>
9251
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3047" package="Media Library Assistant">
9252
  <name>mla_shortcode_query_posts_orderby_filter</name>
9253
  <full_name>mla_shortcode_query_posts_orderby_filter</full_name>
9254
+ <docblock line="3035">
9255
  <description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
9256
  <long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
9257
  Defined as public because it's a filter.</p>]]></long-description>
9258
+ <tag line="3035" name="since" description="1.20"/>
9259
+ <tag line="3035" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
9260
  <type by_reference="false">string</type>
9261
  </tag>
9262
+ <tag line="3035" name="return" description="query clause after modification" type="string">
9263
  <type by_reference="false">string</type>
9264
  </tag>
9265
  </docblock>
9266
+ <argument line="3047">
9267
  <name>$orderby_clause</name>
9268
  <default><![CDATA[]]></default>
9269
  <type/>
9270
  </argument>
9271
  </method>
9272
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3074" package="Media Library Assistant">
9273
  <name>mla_shortcode_query_posts_clauses_filter</name>
9274
  <full_name>mla_shortcode_query_posts_clauses_filter</full_name>
9275
+ <docblock line="3062">
9276
  <description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
9277
  <long-description><![CDATA[<p>This is for debug purposes only.
9278
  Defined as public because it's a filter.</p>]]></long-description>
9279
+ <tag line="3062" name="since" description="1.30"/>
9280
+ <tag line="3062" name="param" description="query clauses before modification" type="array" variable="$pieces">
9281
  <type by_reference="false">array</type>
9282
  </tag>
9283
+ <tag line="3062" name="return" description="query clauses after modification (none)" type="array">
9284
  <type by_reference="false">array</type>
9285
  </tag>
9286
  </docblock>
9287
+ <argument line="3074">
9288
  <name>$pieces</name>
9289
  <default><![CDATA[]]></default>
9290
  <type/>
9291
  </argument>
9292
  </method>
9293
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3092" package="Media Library Assistant">
9294
  <name>mla_shortcode_query_posts_clauses_request_filter</name>
9295
  <full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
9296
+ <docblock line="3080">
9297
  <description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
9298
  <long-description><![CDATA[<p>This is for debug purposes only.
9299
  Defined as public because it's a filter.</p>]]></long-description>
9300
+ <tag line="3080" name="since" description="1.30"/>
9301
+ <tag line="3080" name="param" description="query clauses before modification" type="array" variable="$pieces">
9302
  <type by_reference="false">array</type>
9303
  </tag>
9304
+ <tag line="3080" name="return" description="query clauses after modification (none)" type="array">
9305
  <type by_reference="false">array</type>
9306
  </tag>
9307
  </docblock>
9308
+ <argument line="3092">
9309
  <name>$pieces</name>
9310
  <default><![CDATA[]]></default>
9311
  <type/>
9312
  </argument>
9313
  </method>
9314
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3167" package="Media Library Assistant">
9315
  <name>mla_get_terms</name>
9316
  <full_name>mla_get_terms</full_name>
9317
+ <docblock line="3125">
9318
  <description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
9319
  <long-description><![CDATA[<p>Alternative to WordPress get_terms() function that provides
9320
  an accurate count of attachments associated with each term.</p>
9348
  <p>limit - final number of term objects to return, for pagination.</p>
9349
 
9350
  <p>offset - number of term objects to skip, for pagination.</p>]]></long-description>
9351
+ <tag line="3125" name="since" description="1.60"/>
9352
+ <tag line="3125" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
9353
  <type by_reference="false">array</type>
9354
  </tag>
9355
+ <tag line="3125" name="return" description="array of term objects, empty if none found" type="array">
9356
  <type by_reference="false">array</type>
9357
  </tag>
9358
  </docblock>
9359
+ <argument line="3167">
9360
  <name>$attr</name>
9361
  <default><![CDATA[]]></default>
9362
  <type/>
11066
  </docblock>
11067
  </function>
11068
  </file>
11069
+ <file path="index.php" hash="3697d7e75f6bb9a6df56ff1d1bb8aac4" package="Media Library Assistant">
11070
  <docblock line="2">
11071
  <description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
11072
  <long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
11073
  will the rest of the plugin be loaded and run.</p>]]></long-description>
11074
  <tag line="2" name="package" description="Media Library Assistant"/>
11075
+ <tag line="2" name="version" description="1.81"/>
11076
  </docblock>
11077
+ <include line="148" type="Require Once" package="Media Library Assistant">
11078
  <name>includes/mla-plugin-loader.php</name>
11079
  </include>
11080
  <constant namespace="global" line="52" package="Media Library Assistant">
11087
  </docblock>
11088
  </constant>
11089
  <constant namespace="global" line="62" package="Media Library Assistant">
11090
+ <name>MLA_PLUGIN_BASENAME</name>
11091
+ <full_name>\MLA_PLUGIN_BASENAME</full_name>
11092
+ <value><![CDATA[dirname(plugin_basename(__FILE__))]]></value>
11093
+ <docblock line="59">
11094
+ <description><![CDATA[Provides the plugin's directory name, relative to the plugins directory, without leading or trailing slashes.]]></description>
11095
+ <long-description><![CDATA[]]></long-description>
11096
+ </docblock>
11097
+ </constant>
11098
+ <constant namespace="global" line="72" package="Media Library Assistant">
11099
  <name>MLA_PLUGIN_URL</name>
11100
  <full_name>\MLA_PLUGIN_URL</full_name>
11101
  <value><![CDATA[plugin_dir_url(__FILE__)]]></value>
11102
+ <docblock line="69">
11103
  <description><![CDATA[Provides path information to the plugin root in URL format.]]></description>
11104
  <long-description><![CDATA[]]></long-description>
11105
  </docblock>
11106
  </constant>
11107
+ <constant namespace="global" line="81" package="Media Library Assistant">
11108
  <name>MLA_BACKUP_DIR</name>
11109
  <full_name>\MLA_BACKUP_DIR</full_name>
11110
  <value><![CDATA[$content_dir . '/mla-backup/']]></value>
11111
  </constant>
11112
+ <function namespace="global" line="136" package="Media Library Assistant">
11113
  <name>mla_name_conflict_reporting_action</name>
11114
  <full_name>\mla_name_conflict_reporting_action</full_name>
11115
+ <docblock line="131">
11116
  <description><![CDATA[Displays name conflict error messages at the top of the Dashboard]]></description>
11117
  <long-description><![CDATA[]]></long-description>
11118
+ <tag line="131" name="since" description="0.20"/>
11119
  </docblock>
11120
  </function>
11121
  </file>
11122
+ <file path="tests\class-mla-tests.php" hash="1c0391ead63842240f55b0c60dc67004" package="Media Library Assistant">
11123
  <docblock line="2">
11124
  <description><![CDATA[Provides basic run-time tests to ensure the plugin can run in the current WordPress envrionment]]></description>
11125
  <long-description><![CDATA[]]></long-description>
11161
  </tag>
11162
  </docblock>
11163
  </method>
11164
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="51" package="Media Library Assistant">
11165
  <name>min_php_version</name>
11166
  <full_name>min_php_version</full_name>
11167
+ <docblock line="42">
11168
  <description><![CDATA[Test that your PHP version is at least that of the $min_php_version]]></description>
11169
  <long-description><![CDATA[]]></long-description>
11170
+ <tag line="42" name="since" description="0.1"/>
11171
+ <tag line="42" name="param" description="representing the minimum required version of PHP, e.g. '5.3.2'" type="string" variable="$min_version">
11172
  <type by_reference="false">string</type>
11173
  </tag>
11174
+ <tag line="42" name="return" description="'' if pass else error message" type="string">
11175
  <type by_reference="false">string</type>
11176
  </tag>
11177
  </docblock>
11178
+ <argument line="51">
11179
  <name>$min_version</name>
11180
  <default><![CDATA[]]></default>
11181
  <type/>
11182
  </argument>
11183
  </method>
11184
+ <method final="false" abstract="false" static="true" visibility="public" namespace="global" line="70" package="Media Library Assistant">
11185
  <name>min_WordPress_version</name>
11186
  <full_name>min_WordPress_version</full_name>
11187
+ <docblock line="61">
11188
  <description><![CDATA[Test that your WordPress version is at least that of the $min_version]]></description>
11189
  <long-description><![CDATA[]]></long-description>
11190
+ <tag line="61" name="since" description="0.1"/>
11191
+ <tag line="61" name="param" description="representing the minimum required version of WordPress, e.g. '3.3.0'" type="string" variable="$min_version">
11192
  <type by_reference="false">string</type>
11193
  </tag>
11194
+ <tag line="61" name="return" description="'' if pass else error message" type="string">
11195
  <type by_reference="false">string</type>
11196
  </tag>
11197
  </docblock>
11198
+ <argument line="70">
11199
  <name>$min_version</name>
11200
  <default><![CDATA[]]></default>
11201
  <type/>
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.3
6
  Tested up to: 3.9
7
- Stable tag: 1.80
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -125,6 +125,16 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
125
 
126
  == Changelog ==
127
 
 
 
 
 
 
 
 
 
 
 
128
  = 1.80 =
129
  * New: For the Media Manager Modal Window, **Native support for "checkbox-style" and "tag hint-style" taxonomy meta boxes** is available. See the [Other Notes section](http://wordpress.org/extend/plugins/media-library-assistant/other_notes/ "Click here, then scroll down") section for more details.
130
  * New: **For flat taxonomies**, e.g., "Tags" or "Att. Tags", **a "checkbox-style" meta box** is available. See the [Other Notes section](http://wordpress.org/extend/plugins/media-library-assistant/other_notes/ "Click here, then scroll down") section for more details.
@@ -216,8 +226,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
216
 
217
  == Upgrade Notice ==
218
 
219
- = 1.80 =
220
- Full taxonomy meta box support in the Media Manager Modal Window. Checkbox-style meta box for flat taxonomies. Fourteen other enhancements, nine fixes.
221
 
222
  == Other Notes ==
223
 
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.3
6
  Tested up to: 3.9
7
+ Stable tag: 1.81
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
125
 
126
  == Changelog ==
127
 
128
+ = 1.81 =
129
+ * Important Fix: A **serious defect in the Media Libarary Modal Window has been corrected.** The defect caused drag & drop file uploading to fail under many circumstances.
130
+ * New: For `[mla_tag_cloud]`, **the "ids" parameter has been added** to support item-specific term clouds, i.e., a cloud containing only those terms assigned to one (or more) items.
131
+ * New: A **"single image with tag list"** page template has been added to the **Mla Child Theme** in the /examples directory.
132
+ * Fix: A Load Text Domain function has been added to the /examples/twentytwelve-mla child theme.
133
+ * Fix: If the Settings/Media Library Assistant General tab "Page Title" and/or "Menu Title" fields are empty, the default values are now used, including translated values if applicable.
134
+ * Fix: Failure to load translation file from the /plugins/media-library-assistant/languages directory has been fixed. Note that the translation file must include the plugin slug, e.g., media-library-assistant-en_US.mo
135
+ * Fix: PHP (5.4.x) Strict Standards warning for MLAData::mla_get_attachment_by_id() has been resolved.
136
+ * Fix: For `[mla_gallery]`, `$wp_filter` debug display with `mla_debug=true` is more reliable.
137
+
138
  = 1.80 =
139
  * New: For the Media Manager Modal Window, **Native support for "checkbox-style" and "tag hint-style" taxonomy meta boxes** is available. See the [Other Notes section](http://wordpress.org/extend/plugins/media-library-assistant/other_notes/ "Click here, then scroll down") section for more details.
140
  * New: **For flat taxonomies**, e.g., "Tags" or "Att. Tags", **a "checkbox-style" meta box** is available. See the [Other Notes section](http://wordpress.org/extend/plugins/media-library-assistant/other_notes/ "Click here, then scroll down") section for more details.
226
 
227
  == Upgrade Notice ==
228
 
229
+ = 1.81 =
230
+ Corrects serious defect in Media Manager Modal Window file uploading. Adds item-specific tag clouds. One other enhancement, five other fixes.
231
 
232
  == Other Notes ==
233
 
tests/class-mla-tests.php CHANGED
@@ -32,6 +32,11 @@ class MLATest {
32
  */
33
  public static function initialize() {
34
  MLATest::$wordpress_3point5_plus = version_compare( get_bloginfo( 'version' ), '3.5', '>=' );
 
 
 
 
 
35
  }
36
 
37
  /**
32
  */
33
  public static function initialize() {
34
  MLATest::$wordpress_3point5_plus = version_compare( get_bloginfo( 'version' ), '3.5', '>=' );
35
+
36
+ /*
37
+ * This is the earliest effective place to add E_STRICT to error_reporting
38
+ */
39
+ //error_reporting( E_ALL | E_STRICT );
40
  }
41
 
42
  /**
tpls/documentation-settings-tab.tpl CHANGED
@@ -234,7 +234,7 @@ Twelve <code>[mla_gallery]</code> parameters provide an easy way to control the
234
  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.
235
  </p>
236
  <p>
237
- 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+}&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 parameter modified by this parameter is "link". Other markup parameters such as "pagelink", "filelink" and "link_url" are not modified.
238
  </p>
239
  <p>
240
  The "mla_link_attributes" and "mla_image_attributes" parameters accept any value and adds it to the "&lt;a&gt;" or "&lt;img&gt;" tags for the gallery item. For example, you can create a Shadowbox JS (plugin) album by adding <code>mla_link_attributes='rel="shadowbox{sbalbum-{+instance+}};player=img"'</code> to your shortcode query (note the use of single quotes around the parameter value and the double quotes within the parameter). <strong>IMPORTANT:</strong> since the shortcode parser reserves square brackets ("[" and "]") for its own use, <strong>you must substitute curly braces for square brackets</strong> if your attributes require brackets (as this example does). In this case, 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 your attribute value, preface it with <strong>two backslash characters</strong>, e.g., "\\{" or "\\}". If you code an attribute already present in the tag, your value will override the existing value.
@@ -850,6 +850,10 @@ The data selection parameters specify which taxonomy (or taxonomies) the terms a
850
  <td>The MIME type(s) of the items to include in the term-specific counts. The default is "all", which avoids the additional database effort required to filter by MIME type. You can override the default to, for example, display PDF documents (<code>post_mime_type=application/pdf</code>) or all image MIME types (<code>post_mime_type=image</code>). You can select several MIME types with a comma-separated list, e.g., <code>post_mime_type='audio,video'</code>. Wildcard specifications are also supported. For example, <code>post_mime_type='*/mpeg'</code> to select audio and video mpeg formats or <code>post_mime_type='application/*ms*'</code> to select all Microsoft application formats (Word, Excel, etc.).</td>
851
  </tr>
852
  <tr>
 
 
 
 
853
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">no_count</td>
854
  <td>The default, "false", computes a term-specific count of the number of attachments assigned to that term. If you have a large number of terms and/or attachments, this can take a long time.<br />
855
  &nbsp;<br />
234
  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.
235
  </p>
236
  <p>
237
+ 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.
238
  </p>
239
  <p>
240
  The "mla_link_attributes" and "mla_image_attributes" parameters accept any value and adds it to the "&lt;a&gt;" or "&lt;img&gt;" tags for the gallery item. For example, you can create a Shadowbox JS (plugin) album by adding <code>mla_link_attributes='rel="shadowbox{sbalbum-{+instance+}};player=img"'</code> to your shortcode query (note the use of single quotes around the parameter value and the double quotes within the parameter). <strong>IMPORTANT:</strong> since the shortcode parser reserves square brackets ("[" and "]") for its own use, <strong>you must substitute curly braces for square brackets</strong> if your attributes require brackets (as this example does). In this case, 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 your attribute value, preface it with <strong>two backslash characters</strong>, e.g., "\\{" or "\\}". If you code an attribute already present in the tag, your value will override the existing value.
850
  <td>The MIME type(s) of the items to include in the term-specific counts. The default is "all", which avoids the additional database effort required to filter by MIME type. You can override the default to, for example, display PDF documents (<code>post_mime_type=application/pdf</code>) or all image MIME types (<code>post_mime_type=image</code>). You can select several MIME types with a comma-separated list, e.g., <code>post_mime_type='audio,video'</code>. Wildcard specifications are also supported. For example, <code>post_mime_type='*/mpeg'</code> to select audio and video mpeg formats or <code>post_mime_type='application/*ms*'</code> to select all Microsoft application formats (Word, Excel, etc.).</td>
851
  </tr>
852
  <tr>
853
+ <td style="padding-right: 10px; vertical-align: top; font-weight:bold">ids</td>
854
+ <td>A comma-separated list of attachment ID values for an item-specific cloud. Only those terms assigned to the attachment(s) in the list will be included. You can have one or more IDs, and you can include assigned terms from one or more taxonomies. Do not use the "include" parameter if you use the "ids" parameter.</td>
855
+ </tr>
856
+ <tr>
857
  <td style="padding-right: 10px; vertical-align: top; font-weight:bold">no_count</td>
858
  <td>The default, "false", computes a term-specific count of the number of attachments assigned to that term. If you have a large number of terms and/or attachments, this can take a long time.<br />
859
  &nbsp;<br />