Media Library Assistant - Version 0.71

Version Description

  • Fix: Removed (!) Warning displays for empty Gallery in and MLA Gallery in column entries.
Download this release

Release Info

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

Code changes from version 0.70 to 0.71

includes/class-mla-data.php CHANGED
@@ -729,6 +729,8 @@ class MLAData {
729
  'files' => array(),
730
  'features' => array(),
731
  'inserts' => array(),
 
 
732
  'file' => '',
733
  'parent_type' => '',
734
  'parent_title' => ''
729
  'files' => array(),
730
  'features' => array(),
731
  'inserts' => array(),
732
+ 'mla_galleries' => array(),
733
+ 'galleries' => array(),
734
  'file' => '',
735
  'parent_type' => '',
736
  'parent_title' => ''
includes/class-mla-main.php CHANGED
@@ -38,7 +38,7 @@ class MLA {
38
  *
39
  * @var string
40
  */
41
- const CURRENT_MLA_VERSION = '0.70';
42
 
43
  /**
44
  * Minimum version of PHP required for this plugin
38
  *
39
  * @var string
40
  */
41
+ const CURRENT_MLA_VERSION = '0.71';
42
 
43
  /**
44
  * Minimum version of PHP required for this plugin
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 0.70
10
  */
11
 
12
  /*
@@ -14,7 +14,7 @@ Plugin Name: Media Library Assistant
14
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
15
  Description: Provides several enhancements to the handling of images and files held in the WordPress Media Library.
16
  Author: David Lingren
17
- Version: 0.70
18
  Author URI: http://fairtradejudaica.org/our-story/staff/
19
  */
20
 
6
  * will the rest of the plugin be loaded and run.
7
  *
8
  * @package Media Library Assistant
9
+ * @version 0.71
10
  */
11
 
12
  /*
14
  Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
15
  Description: Provides several enhancements to the handling of images and files held in the WordPress Media Library.
16
  Author: David Lingren
17
+ Version: 0.71
18
  Author URI: http://fairtradejudaica.org/our-story/staff/
19
  */
20
 
phpDocs/classes/MLA.html CHANGED
@@ -759,7 +759,7 @@ for a single attachment.</h2>
759
  <div class="row"><footer class="span12">
760
  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>
761
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
762
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
763
  </div>
764
  </body>
765
  </html>
759
  <div class="row"><footer class="span12">
760
  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>
761
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
762
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
763
  </div>
764
  </body>
765
  </html>
phpDocs/classes/MLAData.html CHANGED
@@ -532,7 +532,7 @@ any further logic required to translate those values is contained in the filters
532
  <div class="row"><footer class="span12">
533
  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>
534
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
535
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
536
  </div>
537
  </body>
538
  </html>
532
  <div class="row"><footer class="span12">
533
  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>
534
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
535
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
536
  </div>
537
  </body>
538
  </html>
phpDocs/classes/MLAObjects.html CHANGED
@@ -167,7 +167,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
167
  <div class="row"><footer class="span12">
168
  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>
169
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
170
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
171
  </div>
172
  </body>
173
  </html>
167
  <div class="row"><footer class="span12">
168
  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>
169
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
170
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
171
  </div>
172
  </body>
173
  </html>
phpDocs/classes/MLASettings.html CHANGED
@@ -442,7 +442,7 @@ reset => reset function for 'custom' options; returns nothing. Usage:
442
  <div class="row"><footer class="span12">
443
  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>
444
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
445
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
446
  </div>
447
  </body>
448
  </html>
442
  <div class="row"><footer class="span12">
443
  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>
444
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
445
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
446
  </div>
447
  </body>
448
  </html>
phpDocs/classes/MLAShortcodes.html CHANGED
@@ -211,7 +211,7 @@ Defined as public because it's a filter.</p></p>
211
  <div class="row"><footer class="span12">
212
  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>
213
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
214
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
215
  </div>
216
  </body>
217
  </html>
211
  <div class="row"><footer class="span12">
212
  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>
213
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
214
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
215
  </div>
216
  </body>
217
  </html>
phpDocs/classes/MLATest.html CHANGED
@@ -160,7 +160,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
160
  <div class="row"><footer class="span12">
161
  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>
162
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
163
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
164
  </div>
165
  </body>
166
  </html>
160
  <div class="row"><footer class="span12">
161
  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>
162
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
163
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
164
  </div>
165
  </body>
166
  </html>
phpDocs/classes/MLA_List_Table.html CHANGED
@@ -986,7 +986,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
986
  <div class="row"><footer class="span12">
987
  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>
988
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
989
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
990
  </div>
991
  </body>
992
  </html>
986
  <div class="row"><footer class="span12">
987
  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>
988
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
989
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
990
  </div>
991
  </body>
992
  </html>
phpDocs/deprecated.html CHANGED
@@ -62,7 +62,7 @@
62
  <div class="row"><footer class="span12">
63
  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>
64
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
65
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
66
  </div>
67
  </body>
68
  </html>
62
  <div class="row"><footer class="span12">
63
  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>
64
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
65
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
66
  </div>
67
  </body>
68
  </html>
phpDocs/errors.html CHANGED
@@ -74,7 +74,7 @@
74
  <div class="row"><footer class="span12">
75
  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>
76
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
77
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
78
  </div>
79
  </body>
80
  </html>
74
  <div class="row"><footer class="span12">
75
  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>
76
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
77
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
78
  </div>
79
  </body>
80
  </html>
phpDocs/graph_class.html CHANGED
@@ -59,7 +59,7 @@
59
  </script><div class="row"><footer class="span12">
60
  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>
61
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
62
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
63
  </div>
64
  </body>
65
  </html>
59
  </script><div class="row"><footer class="span12">
60
  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>
61
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
62
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
63
  </div>
64
  </body>
65
  </html>
phpDocs/index.html CHANGED
@@ -79,7 +79,7 @@
79
  <div class="row"><footer class="span12">
80
  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>
81
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
82
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
83
  </div>
84
  </body>
85
  </html>
79
  <div class="row"><footer class="span12">
80
  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>
81
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
82
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
83
  </div>
84
  </body>
85
  </html>
phpDocs/markers.html CHANGED
@@ -64,7 +64,7 @@
64
  <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 2012-11-06T11:03:46-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
64
  <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 2012-11-06T11:50:00-08:00.<br></footer></div>
68
  </div>
69
  </body>
70
  </html>
phpDocs/namespaces/global.html CHANGED
@@ -159,7 +159,7 @@ to ensure the plugin can run in the current WordPress envrionment.</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 2012-11-06T11:03:46-08:00.<br></footer></div>
163
  </div>
164
  </body>
165
  </html>
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 2012-11-06T11:50:00-08:00.<br></footer></div>
163
  </div>
164
  </body>
165
  </html>
phpDocs/packages/Media Library Assistant.html CHANGED
@@ -179,7 +179,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
179
  <div class="row"><footer class="span12">
180
  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>
181
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
182
- generated on 2012-11-06T11:03:46-08:00.<br></footer></div>
183
  </div>
184
  </body>
185
  </html>
179
  <div class="row"><footer class="span12">
180
  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>
181
  Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
182
+ generated on 2012-11-06T11:50:00-08:00.<br></footer></div>
183
  </div>
184
  </body>
185
  </html>
phpDocs/structure.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="utf-8"?>
2
  <project version="2.0.0a8" title="Media Library Assistant">
3
- <file path="includes\class-mla-data.php" hash="c91e07d51dc84371df97307042a002d9" package="Media Library Assistant">
4
  <docblock line="2">
5
  <description><![CDATA[Database and template file access for MLA needs]]></description>
6
  <long-description><![CDATA[]]></long-description>
@@ -32,10 +32,10 @@ any further logic required to translate those values is contained in the filters
32
  </tag>
33
  </docblock>
34
  </property>
35
- <property final="false" static="true" visibility="private" line="900" namespace="global" package="Media Library Assistant">
36
  <name>$galleries</name>
37
  <default><![CDATA[null]]></default>
38
- <docblock line="882">
39
  <description><![CDATA[Objects containing [gallery] shortcodes]]></description>
40
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
41
  and array(s) of which attachments each [gallery] contains. The arrays are built once
@@ -47,22 +47,22 @@ Each inner array has these elements:
47
  ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
48
  ['query'] contains a string with the arguments of the [gallery],
49
  ['results'] contains an array of post_ids for the objects in the gallery.</p>]]></long-description>
50
- <tag line="882" name="since" description="0.70"/>
51
- <tag line="882" name="var" description="" type="array">
52
  <type by_reference="false">array</type>
53
  </tag>
54
  </docblock>
55
  </property>
56
- <property final="false" static="true" visibility="private" line="913" namespace="global" package="Media Library Assistant">
57
  <name>$mla_galleries</name>
58
  <default><![CDATA[null]]></default>
59
- <docblock line="902">
60
  <description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
61
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
62
  and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
63
  each page load and cached for subsequent calls.</p>]]></long-description>
64
- <tag line="902" name="since" description="0.70"/>
65
- <tag line="902" name="var" description="" type="array">
66
  <type by_reference="false">array</type>
67
  </tag>
68
  </docblock>
@@ -392,107 +392,107 @@ as a Featured Image or inserted in the post as an image or link.</p>]]></long-de
392
  <type/>
393
  </argument>
394
  </method>
395
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="926" package="Media Library Assistant">
396
  <name>_build_mla_galleries</name>
397
  <full_name>_build_mla_galleries</full_name>
398
- <docblock line="915">
399
  <description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
400
  <long-description><![CDATA[]]></long-description>
401
- <tag line="915" name="since" description="0.70"/>
402
- <tag line="915" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
403
  <type by_reference="false">array</type>
404
  </tag>
405
- <tag line="915" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
406
  <type by_reference="false">string</type>
407
  </tag>
408
- <tag line="915" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
409
  <type by_reference="false">boolean</type>
410
  </tag>
411
- <tag line="915" name="return" description="true if the galleries array is not empty" type="boolean">
412
  <type by_reference="false">boolean</type>
413
  </tag>
414
  </docblock>
415
- <argument line="926">
416
  <name>$galleries_array</name>
417
  <default><![CDATA[]]></default>
418
  <type/>
419
  </argument>
420
- <argument line="926">
421
  <name>$shortcode</name>
422
  <default><![CDATA[]]></default>
423
  <type/>
424
  </argument>
425
- <argument line="926">
426
  <name>$exclude_revisions</name>
427
  <default><![CDATA[]]></default>
428
  <type/>
429
  </argument>
430
  </method>
431
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1008" package="Media Library Assistant">
432
  <name>_search_mla_galleries</name>
433
  <full_name>_search_mla_galleries</full_name>
434
- <docblock line="997">
435
  <description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
436
  <long-description><![CDATA[]]></long-description>
437
- <tag line="997" name="since" description="0.70"/>
438
- <tag line="997" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
439
  <type by_reference="false">array</type>
440
  </tag>
441
- <tag line="997" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
442
  <type by_reference="false">int</type>
443
  </tag>
444
- <tag line="997" name="return" description="All posts/pages with one or more galleries that include the attachment. The array key is the parent_post ID; each entry contains post_title and post_type." type="array">
445
  <type by_reference="false">array</type>
446
  </tag>
447
  </docblock>
448
- <argument line="1008">
449
  <name>$galleries_array</name>
450
  <default><![CDATA[]]></default>
451
  <type/>
452
  </argument>
453
- <argument line="1008">
454
  <name>$attachment_id</name>
455
  <default><![CDATA[]]></default>
456
  <type/>
457
  </argument>
458
  </method>
459
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1030" package="Media Library Assistant">
460
  <name>_fetch_attachment_parent_data</name>
461
  <full_name>_fetch_attachment_parent_data</full_name>
462
- <docblock line="1021">
463
  <description><![CDATA[Returns information about an attachment's parent, if found]]></description>
464
  <long-description><![CDATA[]]></long-description>
465
- <tag line="1021" name="since" description="0.1"/>
466
- <tag line="1021" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
467
  <type by_reference="false">int</type>
468
  </tag>
469
- <tag line="1021" name="return" description="Parent information; post_date, post_title and post_type" type="array">
470
  <type by_reference="false">array</type>
471
  </tag>
472
  </docblock>
473
- <argument line="1030">
474
  <name>$parent_id</name>
475
  <default><![CDATA[]]></default>
476
  <type/>
477
  </argument>
478
  </method>
479
- <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1058" package="Media Library Assistant">
480
  <name>_fetch_attachment_metadata</name>
481
  <full_name>_fetch_attachment_metadata</full_name>
482
- <docblock line="1045">
483
  <description><![CDATA[Fetch and filter meta data for an attachment]]></description>
484
  <long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
485
  are stripped out or converted to an 'mla</em>' equivalent. Array data is replaced with
486
  a string containing the first array element.</p>]]></long-description>
487
- <tag line="1045" name="since" description="0.1"/>
488
- <tag line="1045" name="param" description="post ID of attachment" type="int" variable="$post_id">
489
  <type by_reference="false">int</type>
490
  </tag>
491
- <tag line="1045" name="return" description="Meta data variables" type="array">
492
  <type by_reference="false">array</type>
493
  </tag>
494
  </docblock>
495
- <argument line="1058">
496
  <name>$post_id</name>
497
  <default><![CDATA[]]></default>
498
  <type/>
@@ -1357,7 +1357,7 @@ $this->set_pagination_args().</p>]]></long-description>
1357
  </method>
1358
  </class>
1359
  </file>
1360
- <file path="includes\class-mla-main.php" hash="3f19601b6a238243a76d72483a7ed887" package="Media Library Assistant">
1361
  <docblock line="2">
1362
  <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
1363
  <long-description><![CDATA[]]></long-description>
@@ -1394,7 +1394,7 @@ of images and files held in the WordPress Media Library.]]></description>
1394
  <constant namespace="global" line="41" package="Media Library Assistant">
1395
  <name>CURRENT_MLA_VERSION</name>
1396
  <full_name>CURRENT_MLA_VERSION</full_name>
1397
- <value><![CDATA['0.70']]></value>
1398
  <docblock line="34">
1399
  <description><![CDATA[Current version number]]></description>
1400
  <long-description><![CDATA[]]></long-description>
@@ -2734,13 +2734,13 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
2734
  </docblock>
2735
  </constant>
2736
  </file>
2737
- <file path="index.php" hash="52bcec16591373d72aafb9cb58b0a081" package="Media Library Assistant">
2738
  <docblock line="2">
2739
  <description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
2740
  <long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
2741
  will the rest of the plugin be loaded and run.</p>]]></long-description>
2742
  <tag line="2" name="package" description="Media Library Assistant"/>
2743
- <tag line="2" name="version" description="0.70"/>
2744
  </docblock>
2745
  <include line="103" type="Require Once" package="Media Library Assistant">
2746
  <name>includes/mla-plugin-loader.php</name>
1
  <?xml version="1.0" encoding="utf-8"?>
2
  <project version="2.0.0a8" title="Media Library Assistant">
3
+ <file path="includes\class-mla-data.php" hash="3e6a9d2a19b4154e620579eb5476670c" package="Media Library Assistant">
4
  <docblock line="2">
5
  <description><![CDATA[Database and template file access for MLA needs]]></description>
6
  <long-description><![CDATA[]]></long-description>
32
  </tag>
33
  </docblock>
34
  </property>
35
+ <property final="false" static="true" visibility="private" line="902" namespace="global" package="Media Library Assistant">
36
  <name>$galleries</name>
37
  <default><![CDATA[null]]></default>
38
+ <docblock line="884">
39
  <description><![CDATA[Objects containing [gallery] shortcodes]]></description>
40
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
41
  and array(s) of which attachments each [gallery] contains. The arrays are built once
47
  ['parent_type'] 'post' or 'page' or the custom post_type of the gallery parent,
48
  ['query'] contains a string with the arguments of the [gallery],
49
  ['results'] contains an array of post_ids for the objects in the gallery.</p>]]></long-description>
50
+ <tag line="884" name="since" description="0.70"/>
51
+ <tag line="884" name="var" description="" type="array">
52
  <type by_reference="false">array</type>
53
  </tag>
54
  </docblock>
55
  </property>
56
+ <property final="false" static="true" visibility="private" line="915" namespace="global" package="Media Library Assistant">
57
  <name>$mla_galleries</name>
58
  <default><![CDATA[null]]></default>
59
+ <docblock line="904">
60
  <description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
61
  <long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
62
  and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
63
  each page load and cached for subsequent calls.</p>]]></long-description>
64
+ <tag line="904" name="since" description="0.70"/>
65
+ <tag line="904" name="var" description="" type="array">
66
  <type by_reference="false">array</type>
67
  </tag>
68
  </docblock>
392
  <type/>
393
  </argument>
394
  </method>
395
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="928" package="Media Library Assistant">
396
  <name>_build_mla_galleries</name>
397
  <full_name>_build_mla_galleries</full_name>
398
+ <docblock line="917">
399
  <description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
400
  <long-description><![CDATA[]]></long-description>
401
+ <tag line="917" name="since" description="0.70"/>
402
+ <tag line="917" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
403
  <type by_reference="false">array</type>
404
  </tag>
405
+ <tag line="917" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
406
  <type by_reference="false">string</type>
407
  </tag>
408
+ <tag line="917" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
409
  <type by_reference="false">boolean</type>
410
  </tag>
411
+ <tag line="917" name="return" description="true if the galleries array is not empty" type="boolean">
412
  <type by_reference="false">boolean</type>
413
  </tag>
414
  </docblock>
415
+ <argument line="928">
416
  <name>$galleries_array</name>
417
  <default><![CDATA[]]></default>
418
  <type/>
419
  </argument>
420
+ <argument line="928">
421
  <name>$shortcode</name>
422
  <default><![CDATA[]]></default>
423
  <type/>
424
  </argument>
425
+ <argument line="928">
426
  <name>$exclude_revisions</name>
427
  <default><![CDATA[]]></default>
428
  <type/>
429
  </argument>
430
  </method>
431
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1010" package="Media Library Assistant">
432
  <name>_search_mla_galleries</name>
433
  <full_name>_search_mla_galleries</full_name>
434
+ <docblock line="999">
435
  <description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
436
  <long-description><![CDATA[]]></long-description>
437
+ <tag line="999" name="since" description="0.70"/>
438
+ <tag line="999" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
439
  <type by_reference="false">array</type>
440
  </tag>
441
+ <tag line="999" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
442
  <type by_reference="false">int</type>
443
  </tag>
444
+ <tag line="999" name="return" description="All posts/pages with one or more galleries that include the attachment. The array key is the parent_post ID; each entry contains post_title and post_type." type="array">
445
  <type by_reference="false">array</type>
446
  </tag>
447
  </docblock>
448
+ <argument line="1010">
449
  <name>$galleries_array</name>
450
  <default><![CDATA[]]></default>
451
  <type/>
452
  </argument>
453
+ <argument line="1010">
454
  <name>$attachment_id</name>
455
  <default><![CDATA[]]></default>
456
  <type/>
457
  </argument>
458
  </method>
459
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1032" package="Media Library Assistant">
460
  <name>_fetch_attachment_parent_data</name>
461
  <full_name>_fetch_attachment_parent_data</full_name>
462
+ <docblock line="1023">
463
  <description><![CDATA[Returns information about an attachment's parent, if found]]></description>
464
  <long-description><![CDATA[]]></long-description>
465
+ <tag line="1023" name="since" description="0.1"/>
466
+ <tag line="1023" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
467
  <type by_reference="false">int</type>
468
  </tag>
469
+ <tag line="1023" name="return" description="Parent information; post_date, post_title and post_type" type="array">
470
  <type by_reference="false">array</type>
471
  </tag>
472
  </docblock>
473
+ <argument line="1032">
474
  <name>$parent_id</name>
475
  <default><![CDATA[]]></default>
476
  <type/>
477
  </argument>
478
  </method>
479
+ <method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1060" package="Media Library Assistant">
480
  <name>_fetch_attachment_metadata</name>
481
  <full_name>_fetch_attachment_metadata</full_name>
482
+ <docblock line="1047">
483
  <description><![CDATA[Fetch and filter meta data for an attachment]]></description>
484
  <long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
485
  are stripped out or converted to an 'mla</em>' equivalent. Array data is replaced with
486
  a string containing the first array element.</p>]]></long-description>
487
+ <tag line="1047" name="since" description="0.1"/>
488
+ <tag line="1047" name="param" description="post ID of attachment" type="int" variable="$post_id">
489
  <type by_reference="false">int</type>
490
  </tag>
491
+ <tag line="1047" name="return" description="Meta data variables" type="array">
492
  <type by_reference="false">array</type>
493
  </tag>
494
  </docblock>
495
+ <argument line="1060">
496
  <name>$post_id</name>
497
  <default><![CDATA[]]></default>
498
  <type/>
1357
  </method>
1358
  </class>
1359
  </file>
1360
+ <file path="includes\class-mla-main.php" hash="ffcfbcfec7553e6632a9b98e2589a676" package="Media Library Assistant">
1361
  <docblock line="2">
1362
  <description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
1363
  <long-description><![CDATA[]]></long-description>
1394
  <constant namespace="global" line="41" package="Media Library Assistant">
1395
  <name>CURRENT_MLA_VERSION</name>
1396
  <full_name>CURRENT_MLA_VERSION</full_name>
1397
+ <value><![CDATA['0.71']]></value>
1398
  <docblock line="34">
1399
  <description><![CDATA[Current version number]]></description>
1400
  <long-description><![CDATA[]]></long-description>
2734
  </docblock>
2735
  </constant>
2736
  </file>
2737
+ <file path="index.php" hash="2dfe672594252372fc565786939779b5" package="Media Library Assistant">
2738
  <docblock line="2">
2739
  <description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
2740
  <long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
2741
  will the rest of the plugin be loaded and run.</p>]]></long-description>
2742
  <tag line="2" name="package" description="Media Library Assistant"/>
2743
+ <tag line="2" name="version" description="0.71"/>
2744
  </docblock>
2745
  <include line="103" type="Require Once" package="Media Library Assistant">
2746
  <name>includes/mla-plugin-loader.php</name>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://fairtradejudaica.org/make-a-difference/donate/
4
  Tags: attachments, documents, gallery, image, images, media, library, media library, media-tags, media tags, tags, media categories, categories
5
  Requires at least: 3.3
6
  Tested up to: 3.4.2
7
- Stable tag: 0.70
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -103,6 +103,9 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
103
 
104
  == Changelog ==
105
 
 
 
 
106
  = 0.70 =
107
  * New: "Gallery in" and "MLA Gallery in" columns show where the item appears in [gallery] and [mla_gallery] shortcode output.
108
  * New: Post titles in the where-used columns contain a link to the Edit Post/Page screen.
@@ -169,6 +172,9 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
169
 
170
  == Upgrade Notice ==
171
 
 
 
 
172
  = 0.70 =
173
  Get the new "Gallery in" and "MLA Gallery in" where-used reporting to see where items are returned by the [gallery] and [mla_gallery] shortcodes. Two other enhancements and two fixes.
174
 
4
  Tags: attachments, documents, gallery, image, images, media, library, media library, media-tags, media tags, tags, media categories, categories
5
  Requires at least: 3.3
6
  Tested up to: 3.4.2
7
+ Stable tag: 0.71
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
103
 
104
  == Changelog ==
105
 
106
+ = 0.71 =
107
+ * Fix: Removed (!) Warning displays for empty Gallery in and MLA Gallery in column entries.
108
+
109
  = 0.70 =
110
  * New: "Gallery in" and "MLA Gallery in" columns show where the item appears in [gallery] and [mla_gallery] shortcode output.
111
  * New: Post titles in the where-used columns contain a link to the Edit Post/Page screen.
172
 
173
  == Upgrade Notice ==
174
 
175
+ = 0.71 =
176
+ Get the new "Gallery in" and "MLA Gallery in" where-used reporting to see where items are returned by the [gallery] and [mla_gallery] shortcodes. Two other enhancements and two fixes.
177
+
178
  = 0.70 =
179
  Get the new "Gallery in" and "MLA Gallery in" where-used reporting to see where items are returned by the [gallery] and [mla_gallery] shortcodes. Two other enhancements and two fixes.
180