Version Description
- New: A "Select Parent" popup window has been added to the Media/Assistant submenu table "Attached To" column, the Quick Edit area and the Media/Edit Media "Parent Information" meta box. You can select a parent from a list of posts/pages, search for parent candidates by keyword(s), and select "(Unattached)" to set the post_parent ID to zero.
- New: For
[mla_gallery]
, SVG image files are rendered appropriately for all registered image sizes. Note that browser support for SVG images is also required. - New: Thumbnail support for SVG image files in the Media/Assistant submenu table.
- New: A new mla_get_options_tablist filter allows you to filter the tabs in the Settings/Media Linrary Assistant submenu. An example added to the added to the MLA Mapping Hooks Example plugin (in the /examples directory) shows how to use the filter to remove a tab from the submenu.
- New: Clickable term lists example added to the MLA Gallery Hooks Example plugin in the /examples directory.
- New: Formatted file size example added to the MLA Gallery Hooks Example plugin in the /examples directory.
- New: A "latest images" page template has been added to the Mla Child Theme in the /examples directory.
- New: For custom fields ( "custom:" prefix) in
[mla_gallery]
and[mla_tag_cloud]
, the new ",raw" option lets you return HTML tags for display in the gallery/cloud results. - Fix: IPTC/EXIF mapping rules for taxonomies that no longer exist are now removed when you click "Save Changes" on the Settings/Media Library Assistant IPTC/EXIF tab. This resolves a PHP Fatal Error when the mapping rules are applied.
- Fix: The default Media link when Media/Assistant is the default Media submenu has been changed from "admin.php" to "upload.php". This resolves a problem with the WP Document Revisions plugin and its filtering of Document post type attachments.
- Fix: For
[mla_gallery]
, themla_style=theme
setting will default to "false" for themes that support HTML5.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 1.82 |
Comparing to | |
See all releases |
Code changes from version 1.81 to 1.82
- css/mla-edit-media-style.css +16 -2
- css/mla-style-set-parent.css +148 -0
- css/mla-style.css +22 -1
- examples/mla-hooks-example.php.txt +90 -8
- examples/mla-mapping-hooks-example.php.txt +324 -4
- examples/twentytwelve-mla/content-latest-images.php +63 -0
- examples/twentytwelve-mla/content-tag-gallery.php +0 -2
- examples/twentytwelve-mla/page-latest-images.php +37 -0
- examples/twentytwelve-mla/page-single-image.php +11 -2
- includes/class-mla-data.php +9 -6
- includes/class-mla-edit-media.php +54 -5
- includes/class-mla-list-table.php +64 -16
- includes/class-mla-main.php +131 -9
- includes/class-mla-options.php +17 -4
- includes/class-mla-settings.php +37 -10
- includes/class-mla-shortcodes.php +47 -1
- index.php +3 -3
- js/mla-edit-media-scripts.js +135 -79
- js/mla-edit-media-scripts.min.js +1 -1
- js/mla-inline-edit-scripts.js +351 -234
- js/mla-inline-edit-scripts.min.js +1 -1
- js/mla-set-parent-scripts.js +153 -0
- js/mla-set-parent-scripts.min.js +1 -0
- languages/MLA Internationalization Guide.pdf +0 -0
- languages/media-library-assistant-en_US.pot +635 -603
- phpDocs/classes/MLA.html +30 -4
- phpDocs/classes/MLAData.html +1 -1
- phpDocs/classes/MLAEdit.html +1 -1
- phpDocs/classes/MLAMime.html +1 -1
- phpDocs/classes/MLAModal.html +1 -1
- phpDocs/classes/MLAObjects.html +1 -1
- phpDocs/classes/MLAOptions.html +1 -1
- phpDocs/classes/MLASettings.html +27 -6
- phpDocs/classes/MLAShortcodes.html +16 -1
- phpDocs/classes/MLATest.html +1 -1
- phpDocs/classes/MLATextWidget.html +1 -1
- phpDocs/classes/MLA_Checklist_Walker.html +1 -1
- phpDocs/classes/MLA_List_Table.html +23 -1
- phpDocs/classes/MLA_Upload_List_Table.html +1 -1
- phpDocs/classes/MLA_Upload_Optional_List_Table.html +1 -1
- phpDocs/classes/MLA_View_List_Table.html +1 -1
- phpDocs/deprecated.html +1 -1
- phpDocs/errors.html +3 -1
- phpDocs/graph_class.html +1 -1
- phpDocs/index.html +1 -1
- phpDocs/markers.html +2 -2
- phpDocs/namespaces/global.html +1 -1
- phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html +1 -1
- phpDocs/packages/Media Library Assistant.MLA.Child.html +1 -1
- phpDocs/packages/Media Library Assistant.MLA.html +1 -1
- phpDocs/packages/Media Library Assistant.html +1 -1
- phpDocs/structure.xml +1371 -1258
- readme.txt +49 -9
- tpls/admin-inline-edit-form.tpl +20 -7
- tpls/admin-set-parent-form.tpl +48 -0
- tpls/documentation-settings-tab.tpl +4 -1
- wpml-config.xml +46 -0
css/mla-edit-media-style.css
CHANGED
@@ -5,7 +5,21 @@
|
|
5 |
* This file contains styling attributes for the Media/Edit Media page, if any.
|
6 |
*/
|
7 |
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
10 |
}
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
* This file contains styling attributes for the Media/Edit Media page, if any.
|
6 |
*/
|
7 |
|
8 |
+
#mla_featured_in,
|
9 |
+
#mla_inserted_in,
|
10 |
+
#mla_gallery_in,
|
11 |
+
#mla_mla_gallery_in,
|
12 |
+
#mla_image_metadata {
|
13 |
+
width: 100%;
|
14 |
}
|
15 |
|
16 |
+
#mla_post_parent,
|
17 |
+
#mla_parent_info {
|
18 |
+
width: 96%;
|
19 |
+
}
|
20 |
+
|
21 |
+
#mla_set_parent {
|
22 |
+
display:inline;
|
23 |
+
line-height: 16px;
|
24 |
+
margin: 1px;
|
25 |
+
}
|
css/mla-style-set-parent.css
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
* This stylesheet is used for the "Select Parent" popup window.
|
3 |
+
*/
|
4 |
+
|
5 |
+
#mla-set-parent-div {
|
6 |
+
background-color: #fff;
|
7 |
+
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
8 |
+
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
|
9 |
+
width: 600px;
|
10 |
+
overflow: hidden;
|
11 |
+
margin-left: -300px;
|
12 |
+
position: fixed;
|
13 |
+
top: 30px;
|
14 |
+
bottom: 30px;
|
15 |
+
left: 50%;
|
16 |
+
z-index: 100105;
|
17 |
+
}
|
18 |
+
|
19 |
+
#mla-set-parent-div .spinner {
|
20 |
+
padding: 4px 10px 0;
|
21 |
+
vertical-align: top;
|
22 |
+
float: right;
|
23 |
+
}
|
24 |
+
|
25 |
+
#mla-set-parent-head-div {
|
26 |
+
background: #fcfcfc;
|
27 |
+
border-bottom: 1px solid #dfdfdf;
|
28 |
+
height: 36px;
|
29 |
+
font-size: 18px;
|
30 |
+
font-weight: 600;
|
31 |
+
line-height: 36px;
|
32 |
+
padding: 0 36px 0 16px;
|
33 |
+
position: absolute;
|
34 |
+
top: 0;
|
35 |
+
left: 0;
|
36 |
+
right: 0;
|
37 |
+
}
|
38 |
+
|
39 |
+
#mla-set-parent-inside-div {
|
40 |
+
overflow: auto;
|
41 |
+
padding: 16px;
|
42 |
+
background-color: #fff;
|
43 |
+
position: absolute;
|
44 |
+
top: 37px;
|
45 |
+
bottom: 45px;
|
46 |
+
overflow-y: scroll;
|
47 |
+
width: 100%;
|
48 |
+
-webkit-box-sizing: border-box;
|
49 |
+
-moz-box-sizing: border-box;
|
50 |
+
box-sizing: border-box;
|
51 |
+
}
|
52 |
+
|
53 |
+
#mla-set-parent-search-div {
|
54 |
+
padding-bottom: 16px;
|
55 |
+
}
|
56 |
+
|
57 |
+
#mla-set-parent-search-div .spinner {
|
58 |
+
float: none;
|
59 |
+
left: 125px;
|
60 |
+
position: absolute;
|
61 |
+
top: 18px;
|
62 |
+
}
|
63 |
+
|
64 |
+
#mla-set-parent-input,
|
65 |
+
#mla-set-parent-search {
|
66 |
+
float: left;
|
67 |
+
}
|
68 |
+
|
69 |
+
#mla-set-parent-input {
|
70 |
+
width: 140px;
|
71 |
+
height: 28px;
|
72 |
+
margin: 0 4px 0 0;
|
73 |
+
}
|
74 |
+
|
75 |
+
#mla-set-parent-close-div {
|
76 |
+
width: 36px;
|
77 |
+
height: 36px;
|
78 |
+
position: absolute;
|
79 |
+
top: 0;
|
80 |
+
right: 0;
|
81 |
+
cursor: pointer;
|
82 |
+
text-align: center;
|
83 |
+
color: #666;
|
84 |
+
}
|
85 |
+
|
86 |
+
#mla-set-parent-close-div:hover {
|
87 |
+
color: #2ea2cc;
|
88 |
+
}
|
89 |
+
|
90 |
+
#mla-set-parent-close-div:before {
|
91 |
+
font: normal 20px/36px 'dashicons';
|
92 |
+
vertical-align: top;
|
93 |
+
speak: none;
|
94 |
+
-webkit-font-smoothing: antialiased;
|
95 |
+
-moz-osx-font-smoothing: grayscale;
|
96 |
+
content: '\f158';
|
97 |
+
}
|
98 |
+
|
99 |
+
#mla-set-parent-buttons-div {
|
100 |
+
padding: 8px 16px;
|
101 |
+
background: #fcfcfc;
|
102 |
+
border-top: 1px solid #dfdfdf;
|
103 |
+
position: absolute;
|
104 |
+
bottom: 0;
|
105 |
+
left: 0;
|
106 |
+
right: 0;
|
107 |
+
}
|
108 |
+
|
109 |
+
@media screen and ( max-width: 782px ) {
|
110 |
+
#mla-set-parent-inside-div {
|
111 |
+
bottom: 57px;
|
112 |
+
}
|
113 |
+
}
|
114 |
+
|
115 |
+
@media screen and ( max-width: 660px ) {
|
116 |
+
|
117 |
+
#mla-set-parent-head-div {
|
118 |
+
top: 0;
|
119 |
+
bottom: 0;
|
120 |
+
left: 0;
|
121 |
+
right: 0;
|
122 |
+
margin: 0;
|
123 |
+
width: 100%;
|
124 |
+
}
|
125 |
+
|
126 |
+
}
|
127 |
+
|
128 |
+
#mla-set-parent-overlay {
|
129 |
+
position: fixed;
|
130 |
+
top: 0;
|
131 |
+
left: 0;
|
132 |
+
right: 0;
|
133 |
+
bottom: 0;
|
134 |
+
background: #000;
|
135 |
+
opacity: 0.7;
|
136 |
+
filter: alpha(opacity=70);
|
137 |
+
z-index: 100100;
|
138 |
+
}
|
139 |
+
|
140 |
+
/* Styling */
|
141 |
+
|
142 |
+
/* Specific Elements */
|
143 |
+
|
144 |
+
#mla-set-parent-titles-div {
|
145 |
+
font-size: 12px;
|
146 |
+
line-height: 14px;
|
147 |
+
margin-bottom: 10px;
|
148 |
+
}
|
css/mla-style.css
CHANGED
@@ -144,8 +144,29 @@ textarea[readonly] {
|
|
144 |
width: 5em
|
145 |
}
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
.quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-menu-order span.input-text-wrap {
|
148 |
-
width:
|
149 |
}
|
150 |
|
151 |
.quick-edit-row-attachment fieldset.inline-edit-col-right label span.title,
|
144 |
width: 5em
|
145 |
}
|
146 |
|
147 |
+
.quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-author,
|
148 |
+
.quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent-title {
|
149 |
+
display:inline;
|
150 |
+
padding-top: 2px;
|
151 |
+
}
|
152 |
+
|
153 |
+
.quick-edit-row-attachment fieldset.inline-edit-col-left input#inline-edit-post-set-parent {
|
154 |
+
display:inline;
|
155 |
+
line-height: 16px;
|
156 |
+
margin-top: 2px;
|
157 |
+
}
|
158 |
+
|
159 |
+
.quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-post-parent-title .input-text-wrap input[type=text] {
|
160 |
+
width: auto;
|
161 |
+
}
|
162 |
+
|
163 |
+
.quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-author span.title {
|
164 |
+
width:auto;
|
165 |
+
margin-right: 0.5em;
|
166 |
+
}
|
167 |
+
|
168 |
.quick-edit-row-attachment fieldset.inline-edit-col-left label.inline-edit-menu-order span.input-text-wrap {
|
169 |
+
width: 3em
|
170 |
}
|
171 |
|
172 |
.quick-edit-row-attachment fieldset.inline-edit-col-right label span.title,
|
examples/mla-hooks-example.php.txt
CHANGED
@@ -16,7 +16,7 @@ Plugin Name: MLA Gallery Hooks Example
|
|
16 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
17 |
Description: Provides an example of hooking the filters provided by the [mla_gallery] shortcode
|
18 |
Author: David Lingren
|
19 |
-
Version: 1.
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2013, 2014 David Lingren
|
@@ -134,7 +134,7 @@ class MLAGalleryHooksExample {
|
|
134 |
/*
|
135 |
* Uncomment the error_log statements in any of the filters to see what's passed in
|
136 |
*/
|
137 |
-
error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
138 |
|
139 |
/*
|
140 |
* Note that the global $post; object is available here and in all later filters.
|
@@ -143,7 +143,7 @@ class MLAGalleryHooksExample {
|
|
143 |
* have a substitute $post pbject with $post->ID == 0.
|
144 |
*/
|
145 |
global $post;
|
146 |
-
error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
|
147 |
|
148 |
return $shortcode_attributes;
|
149 |
} // mla_gallery_raw_attributes_filter
|
@@ -602,12 +602,20 @@ class MLAGalleryHooksExample {
|
|
602 |
*/
|
603 |
public static function mla_gallery_item_values_filter( $item_values ) {
|
604 |
//error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter $item_values = ' . var_export( $item_values, true ), 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
605 |
|
606 |
/*
|
607 |
-
* For this first example, we will reformat the 'date' value as d/m/Y.
|
608 |
-
* own to do this on a gallery-by-gallery basis, leaving other [mla_gallery] instances untouched.
|
609 |
*/
|
610 |
-
if (
|
611 |
|
612 |
/*
|
613 |
* Default format is YYYY-MM-DD HH:MM:SS (HH = 00 - 23), or 'Y-m-d H:i:s'
|
@@ -633,11 +641,85 @@ class MLAGalleryHooksExample {
|
|
633 |
}
|
634 |
|
635 |
/*
|
636 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
* of the custom fields populated for each gallery item. We use a shortcode parameter of our
|
638 |
* own to do this on a gallery-by-gallery basis, leaving other [mla_gallery] instances untouched.
|
639 |
*/
|
640 |
-
if (
|
641 |
return $item_values; // leave them unchanged
|
642 |
|
643 |
/*
|
16 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
17 |
Description: Provides an example of hooking the filters provided by the [mla_gallery] shortcode
|
18 |
Author: David Lingren
|
19 |
+
Version: 1.03
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2013, 2014 David Lingren
|
134 |
/*
|
135 |
* Uncomment the error_log statements in any of the filters to see what's passed in
|
136 |
*/
|
137 |
+
//error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $shortcode_attributes = ' . var_export( $shortcode_attributes, true ), 0 );
|
138 |
|
139 |
/*
|
140 |
* Note that the global $post; object is available here and in all later filters.
|
143 |
* have a substitute $post pbject with $post->ID == 0.
|
144 |
*/
|
145 |
global $post;
|
146 |
+
//error_log( 'MLAGalleryHooksExample::mla_gallery_raw_attributes_filter $post->ID = ' . var_export( $post->ID, true ), 0 );
|
147 |
|
148 |
return $shortcode_attributes;
|
149 |
} // mla_gallery_raw_attributes_filter
|
602 |
*/
|
603 |
public static function mla_gallery_item_values_filter( $item_values ) {
|
604 |
//error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter $item_values = ' . var_export( $item_values, true ), 0 );
|
605 |
+
|
606 |
+
/*
|
607 |
+
* We use a shortcode parameter of our own to apply our filters on a gallery-by-gallery basis,
|
608 |
+
* leaving other [mla_gallery] instances untouched. If the "my_filter" parameter is not present,
|
609 |
+
* we have nothing to do
|
610 |
+
*/
|
611 |
+
if ( ! isset( self::$shortcode_attributes['my_filter'] ) ) {
|
612 |
+
return $item_values; // leave them unchanged
|
613 |
+
}
|
614 |
|
615 |
/*
|
616 |
+
* For this first example, we will reformat the 'date' value as d/m/Y.
|
|
|
617 |
*/
|
618 |
+
if ( 'format date' == self::$shortcode_attributes['my_filter'] ) {
|
619 |
|
620 |
/*
|
621 |
* Default format is YYYY-MM-DD HH:MM:SS (HH = 00 - 23), or 'Y-m-d H:i:s'
|
641 |
}
|
642 |
|
643 |
/*
|
644 |
+
* The second example adds a formatted file size element to the existing caption.
|
645 |
+
*/
|
646 |
+
if ( 'file size' == self::$shortcode_attributes['my_filter'] ) {
|
647 |
+
|
648 |
+
/*
|
649 |
+
* Compose the file size in different formats.
|
650 |
+
*
|
651 |
+
* You can use MLAOptions::mla_get_data_source() to get anything available.
|
652 |
+
*/
|
653 |
+
$my_setting = array(
|
654 |
+
'data_source' => 'file_size',
|
655 |
+
'option' => 'raw'
|
656 |
+
);
|
657 |
+
$file_size = (float) MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $my_setting, NULL );
|
658 |
+
|
659 |
+
if ( 1048576 < $file_size ) {
|
660 |
+
$file_size = number_format( ($file_size/1048576), 3 ).' MB';
|
661 |
+
} elseif ( 10240 < $file_size ) {
|
662 |
+
$file_size = number_format( ($file_size/1024), 3 ).' KB';
|
663 |
+
} else {
|
664 |
+
$file_size = number_format( $file_size );
|
665 |
+
}
|
666 |
+
|
667 |
+
/*
|
668 |
+
* Compose a new caption, adding the file size.
|
669 |
+
*/
|
670 |
+
$item_values['caption'] = sprintf( '%1$s<br>Size: %2$s', $item_values['caption'], $file_size );
|
671 |
+
|
672 |
+
return $item_values;
|
673 |
+
}
|
674 |
+
|
675 |
+
/*
|
676 |
+
* Our third example changes taxonomy terms into links to term-specific archive pages.
|
677 |
+
*/
|
678 |
+
if ( 'term gallery' == self::$shortcode_attributes['my_filter'] ) {
|
679 |
+
/*
|
680 |
+
* Use the "my_href" parameter to link to a static page,
|
681 |
+
* passing the taxanomy and term as query arguments.
|
682 |
+
*/
|
683 |
+
if ( isset( self::$shortcode_attributes['my_href'] ) ) {
|
684 |
+
$my_href = self::$shortcode_attributes['my_href'];
|
685 |
+
} else {
|
686 |
+
$my_href = '';
|
687 |
+
}
|
688 |
+
|
689 |
+
/*
|
690 |
+
* Collect non-empty term lists, convert to slugs,
|
691 |
+
* make into links, replace $item_values
|
692 |
+
*/
|
693 |
+
foreach ($item_values as $key => $value ) {
|
694 |
+
if ( ( 'terms:' == substr( $key, 0, 6 ) ) && ( ! empty( $value ) ) ) {
|
695 |
+
$taxonomy = substr( $key, 6 );
|
696 |
+
$value = str_replace( '’', "'", $value );
|
697 |
+
$value = str_replace( '’', "'", $value );
|
698 |
+
$terms = array_map( 'trim', explode( ',', $value ) );
|
699 |
+
$term_links = array();
|
700 |
+
foreach( $terms as $term_name ) {
|
701 |
+
$term_object = get_term_by( 'name', $term_name, $taxonomy );
|
702 |
+
|
703 |
+
if ( empty( $my_href ) ) {
|
704 |
+
$term_links[] = sprintf( '<a href=%1$s/%2$s/%3$s>%4$s,</a>', get_site_url(), $taxonomy, $term_object->slug, esc_html( $term_name ) );
|
705 |
+
} else {
|
706 |
+
$term_links[] = sprintf( '<a href=%1$s/%2$s?my_taxonomy=%3$s&my_term=%4$s>%5$s</a>', get_site_url(),$my_href, $taxonomy, $term_object->slug, esc_html( $term_name ) );
|
707 |
+
}
|
708 |
+
}
|
709 |
+
|
710 |
+
$item_values[ $key ] = implode( ' ', $term_links );
|
711 |
+
}
|
712 |
+
}
|
713 |
+
|
714 |
+
return $item_values;
|
715 |
+
}
|
716 |
+
|
717 |
+
/*
|
718 |
+
* For our final example, we will add to the $item_values['caption'] value an unordered list
|
719 |
* of the custom fields populated for each gallery item. We use a shortcode parameter of our
|
720 |
* own to do this on a gallery-by-gallery basis, leaving other [mla_gallery] instances untouched.
|
721 |
*/
|
722 |
+
if ( 'all custom' != self::$shortcode_attributes['my_filter'] )
|
723 |
return $item_values; // leave them unchanged
|
724 |
|
725 |
/*
|
examples/mla-mapping-hooks-example.php.txt
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* In this example...
|
6 |
*
|
7 |
* @package MLA Mapping Hooks Example
|
8 |
-
* @version 1.
|
9 |
*/
|
10 |
|
11 |
/*
|
@@ -13,7 +13,7 @@ Plugin Name: MLA Mapping Hooks Example
|
|
13 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
14 |
Description: Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features.
|
15 |
Author: David Lingren
|
16 |
-
Version: 1.
|
17 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
18 |
|
19 |
Copyright 2014 David Lingren
|
@@ -45,7 +45,7 @@ class MLAMappingHooksExample {
|
|
45 |
/**
|
46 |
* Initialization function, similar to __construct()
|
47 |
*
|
48 |
-
* Installs
|
49 |
*
|
50 |
* @since 1.00
|
51 |
*
|
@@ -82,6 +82,8 @@ class MLAMappingHooksExample {
|
|
82 |
add_filter( 'mla_mapping_iptc_value', 'MLAMappingHooksExample::mla_mapping_iptc_value_filter', 10, 5 );
|
83 |
add_filter( 'mla_mapping_exif_value', 'MLAMappingHooksExample::mla_mapping_exif_value_filter', 10, 5 );
|
84 |
add_filter( 'mla_mapping_updates', 'MLAMappingHooksExample::mla_mapping_updates_filter', 10, 5 );
|
|
|
|
|
85 |
}
|
86 |
|
87 |
/**
|
@@ -98,6 +100,7 @@ class MLAMappingHooksExample {
|
|
98 |
* @var array
|
99 |
*/
|
100 |
private static $image_metadata = array();
|
|
|
101 |
|
102 |
/**
|
103 |
* MLA Mapping Upload Prefilter
|
@@ -128,6 +131,16 @@ class MLAMappingHooksExample {
|
|
128 |
*/
|
129 |
self::$image_metadata = $image_metadata;
|
130 |
self::$image_metadata['preload_file'] = $file;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
|
132 |
return $file;
|
133 |
} // mla_upload_prefilter_filter
|
@@ -237,7 +250,19 @@ class MLAMappingHooksExample {
|
|
237 |
//error_log( 'MLAMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $data = ' . var_export( $data, true ), 0 );
|
238 |
//error_log( 'MLAMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $post_ID = ' . var_export( $post_ID, true ), 0 );
|
239 |
//error_log( 'MLAMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $options = ' . var_export( $options, true ), 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
|
|
|
|
|
241 |
return $data;
|
242 |
} // mla_update_attachment_metadata_prefilter_filter
|
243 |
|
@@ -306,7 +331,7 @@ class MLAMappingHooksExample {
|
|
306 |
* 'name' => custom field name
|
307 |
* 'data_source' => 'none', 'meta', 'template' or data source name
|
308 |
* 'keep_existing' => boolean; true to preserve existing content
|
309 |
-
* 'format' => 'native', 'commas'
|
310 |
* 'mla_column' => boolean; not used
|
311 |
* 'quick_edit' => boolean; not used
|
312 |
* 'bulk_edit' => boolean; not used
|
@@ -528,6 +553,301 @@ class MLAMappingHooksExample {
|
|
528 |
*/
|
529 |
return $updates;
|
530 |
} // mla_mapping_updates_filter
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
} //MLAMappingHooksExample
|
532 |
|
533 |
/*
|
5 |
* In this example...
|
6 |
*
|
7 |
* @package MLA Mapping Hooks Example
|
8 |
+
* @version 1.02
|
9 |
*/
|
10 |
|
11 |
/*
|
13 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
14 |
Description: Provides an example of the filters provided by the IPTC/EXIF and Custom Field mapping features.
|
15 |
Author: David Lingren
|
16 |
+
Version: 1.02
|
17 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
18 |
|
19 |
Copyright 2014 David Lingren
|
45 |
/**
|
46 |
* Initialization function, similar to __construct()
|
47 |
*
|
48 |
+
* Installs filters and actions that handle the MLA hooks for uploading and mapping.
|
49 |
*
|
50 |
* @since 1.00
|
51 |
*
|
82 |
add_filter( 'mla_mapping_iptc_value', 'MLAMappingHooksExample::mla_mapping_iptc_value_filter', 10, 5 );
|
83 |
add_filter( 'mla_mapping_exif_value', 'MLAMappingHooksExample::mla_mapping_exif_value_filter', 10, 5 );
|
84 |
add_filter( 'mla_mapping_updates', 'MLAMappingHooksExample::mla_mapping_updates_filter', 10, 5 );
|
85 |
+
|
86 |
+
add_filter( 'mla_get_options_tablist', 'MLAMappingHooksExample::mla_get_options_tablist_filter', 10, 3 );
|
87 |
}
|
88 |
|
89 |
/**
|
100 |
* @var array
|
101 |
*/
|
102 |
private static $image_metadata = array();
|
103 |
+
private static $raw_metadata = array();
|
104 |
|
105 |
/**
|
106 |
* MLA Mapping Upload Prefilter
|
131 |
*/
|
132 |
self::$image_metadata = $image_metadata;
|
133 |
self::$image_metadata['preload_file'] = $file;
|
134 |
+
|
135 |
+
/*
|
136 |
+
* Save the EXIF, XMP, IPTC and COM data from JPEG files
|
137 |
+
*/
|
138 |
+
if ( 'image/jpeg' == $file['type'] ) {
|
139 |
+
self::$raw_metadata = self::_extract_jpeg_metadata( $file['tmp_name'] );
|
140 |
+
//error_log( 'MLAMappingHooksExample::mla_upload_prefilter_filter $raw_metadata = ' . var_export( self::$raw_metadata, true ), 0 );
|
141 |
+
} else {
|
142 |
+
self::$raw_metadata = array();
|
143 |
+
}
|
144 |
|
145 |
return $file;
|
146 |
} // mla_upload_prefilter_filter
|
250 |
//error_log( 'MLAMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $data = ' . var_export( $data, true ), 0 );
|
251 |
//error_log( 'MLAMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $post_ID = ' . var_export( $post_ID, true ), 0 );
|
252 |
//error_log( 'MLAMappingHooksExample::mla_update_attachment_metadata_prefilter_filter $options = ' . var_export( $options, true ), 0 );
|
253 |
+
|
254 |
+
/*
|
255 |
+
* If the metadata has been stripped, try to replace it
|
256 |
+
* NOTE: Uncomment/comment the "self::" and "$data = " lines to activate/deactivate
|
257 |
+
*/
|
258 |
+
if ( isset( $data['image_meta']['created_timestamp'] )
|
259 |
+
&& empty( $data['image_meta']['created_timestamp'] ) ) {
|
260 |
+
//self::_replace_jpeg_metadata( self::$image_metadata['postload_file']['file'], self::$raw_metadata );
|
261 |
+
//$data = wp_generate_attachment_metadata( $post_ID, self::$image_metadata['postload_file']['file'] );
|
262 |
+
//error_log( 'regenerated data = ' . var_export( $data, true ), 0 );
|
263 |
|
264 |
+
}
|
265 |
+
|
266 |
return $data;
|
267 |
} // mla_update_attachment_metadata_prefilter_filter
|
268 |
|
331 |
* 'name' => custom field name
|
332 |
* 'data_source' => 'none', 'meta', 'template' or data source name
|
333 |
* 'keep_existing' => boolean; true to preserve existing content
|
334 |
+
* 'format' => 'native', 'commas'
|
335 |
* 'mla_column' => boolean; not used
|
336 |
* 'quick_edit' => boolean; not used
|
337 |
* 'bulk_edit' => boolean; not used
|
553 |
*/
|
554 |
return $updates;
|
555 |
} // mla_mapping_updates_filter
|
556 |
+
|
557 |
+
/**
|
558 |
+
* MLA Mapping Updates Filter
|
559 |
+
*
|
560 |
+
* This filter is called AFTER all mapping rules are applied.
|
561 |
+
* You can add, change or remove updates for the attachment's
|
562 |
+
* standard fields, taxonomies and/or custom fields.
|
563 |
+
*
|
564 |
+
* @since 1.02
|
565 |
+
*
|
566 |
+
* @param array|false The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed.
|
567 |
+
* @param array The entire tablist
|
568 |
+
* @param string|NULL tab slug for single-element return or NULL to return entire tablist
|
569 |
+
*
|
570 |
+
* @return array updated attachment's updates
|
571 |
+
*/
|
572 |
+
public static function mla_get_options_tablist_filter( $results, $mla_tablist, $tab ) {
|
573 |
+
//error_log( 'MLAMappingHooksExample::mla_get_options_tablist_filter $results = ' . var_export( $results, true ), 0 );
|
574 |
+
//error_log( 'MLAMappingHooksExample::mla_get_options_tablist_filter $mla_tablist = ' . var_export( $mla_tablist, true ), 0 );
|
575 |
+
//error_log( 'MLAMappingHooksExample::mla_get_options_tablist_filter $tab = ' . var_export( $tab, true ), 0 );
|
576 |
+
|
577 |
+
/*
|
578 |
+
* Return an updated $mla_tablist ( $tab = NULL ), an updated single element or false
|
579 |
+
*/
|
580 |
+
return $results;
|
581 |
+
|
582 |
+
/*
|
583 |
+
* Comment out the above return statement to fall through to this example,
|
584 |
+
* which removes the "Uploads" tab from the Settings/Media Library Assistant submenu
|
585 |
+
*/
|
586 |
+
if ( NULL == $tab ) {
|
587 |
+
unset( $results['upload'] );
|
588 |
+
} elseif ( 'upload' == $tab ) {
|
589 |
+
$results = false;
|
590 |
+
}
|
591 |
+
|
592 |
+
return $results;
|
593 |
+
} // mla_get_options_tablist_filter
|
594 |
+
|
595 |
+
/*
|
596 |
+
* Selected JPEG Section Markers
|
597 |
+
*/
|
598 |
+
const SOF0 = 0xC0; // Baseline Encoding
|
599 |
+
const SOI = 0xD8; // Start of image
|
600 |
+
const EOI = 0xD9; // End of image
|
601 |
+
const SOS = 0xDA; // Start of scan (image data)
|
602 |
+
const APP0 = 0xE0; // Application segment 0 JFIF Header
|
603 |
+
const APP1 = 0xE1; // Application segment 1 EXIF/XMP
|
604 |
+
const APP2 = 0xE2; // Application segment 2 EXIF Flashpix extensions
|
605 |
+
const APP13 = 0xED; // Application segment 13 IPTC
|
606 |
+
const COM = 0xFE; // Comment
|
607 |
+
|
608 |
+
/**
|
609 |
+
* Enumerate the sections of a JPEG file
|
610 |
+
*
|
611 |
+
* Returns an array of section descriptors, indexed by the section order, i.e., 0, 1, 2 ...
|
612 |
+
*
|
613 |
+
* Each array element is an array, containing:
|
614 |
+
* marker => section marker, e.g., 0xD8, 0xE0, 0xED
|
615 |
+
* offset => offset in the file of the "0xFF" marker introducing the section
|
616 |
+
* length => number of bytes in the section, including the "0xFF", marker byte and length field (if applicable)
|
617 |
+
*
|
618 |
+
* @since 1.01
|
619 |
+
*
|
620 |
+
* @param string File Contents
|
621 |
+
*
|
622 |
+
* @return array section list ( index => array( 'marker', 'offset', 'length' )
|
623 |
+
*/
|
624 |
+
private static function _enumerate_jpeg_sections( &$file_contents ) {
|
625 |
+
$file_length = strlen( $file_contents );
|
626 |
+
$file_offset = 0;
|
627 |
+
$section_array = array();
|
628 |
+
|
629 |
+
while ( $file_offset < $file_length ) {
|
630 |
+
$section_value = array();
|
631 |
+
|
632 |
+
// Find a marker
|
633 |
+
for ( $i = 0; $i < 7; $i++ ) {
|
634 |
+
if ( 0xFF != ord( $file_contents[ $file_offset + $i ] ) ) {
|
635 |
+
break;
|
636 |
+
}
|
637 |
+
}
|
638 |
+
|
639 |
+
$section_value['marker'] = $marker = ord( $file_contents[ $file_offset + $i ] );
|
640 |
+
|
641 |
+
if ( $marker >= self::SOF0 && $marker <= self::COM ) {
|
642 |
+
$section_value['offset'] = $file_offset + ( $i - 1);
|
643 |
+
|
644 |
+
if ( ( self::SOI == $marker ) || ( self::EOI == $marker ) ) {
|
645 |
+
$file_offset = $file_offset + ( $i + 1 );
|
646 |
+
} elseif ( self::SOS == $marker ) {
|
647 |
+
// Start of Scan precedes image data; skip to end of file/image
|
648 |
+
$file_offset = $file_length - 2;
|
649 |
+
|
650 |
+
// Scan backwards for End of Image marker
|
651 |
+
while ( ( 0xFF != ord( $file_contents[ $file_offset ] ) ) || ( self::EOI != ord( $file_contents[ $file_offset + 1 ] ) ) ) {
|
652 |
+
$file_offset--;
|
653 |
+
if ( $file_offset == $start_of_image ) {
|
654 |
+
// Give up - no End of Image marker
|
655 |
+
$file_offset = $file_length;
|
656 |
+
break;
|
657 |
+
}
|
658 |
+
}
|
659 |
+
} else {
|
660 |
+
// Big Endian length
|
661 |
+
$length = 256 * ord( $file_contents[ $file_offset + ++$i ] );
|
662 |
+
$length += ord( $file_contents[ $file_offset + ++$i ] );
|
663 |
+
$file_offset = $section_value['offset'] + 2 + $length;
|
664 |
+
}
|
665 |
+
}
|
666 |
+
else {
|
667 |
+
// No marker or invalid marker
|
668 |
+
if ( 0 < $i ) {
|
669 |
+
$section_value['offset'] = $file_offset + ( $i - 1 );
|
670 |
+
} else {
|
671 |
+
$section_value['offset'] = $file_offset + $i;
|
672 |
+
}
|
673 |
+
$file_offset = $file_offset + ( $i + 1 );
|
674 |
+
|
675 |
+
while ( $file_offset < $file_length ) {
|
676 |
+
if ( 0xFF == ord( $file_contents[ $file_offset ] ) ) {
|
677 |
+
break;
|
678 |
+
} else {
|
679 |
+
$file_offset++;
|
680 |
+
}
|
681 |
+
}
|
682 |
+
} // invalid marker
|
683 |
+
|
684 |
+
$section_value['length'] = $file_offset - $section_value['offset'];
|
685 |
+
$section_array[] = $section_value;
|
686 |
+
//error_log( 'MLAMappingHooksExample::_enumerate_jpeg_sections $section_value = ' . var_export( $section_value, true ), 0 );
|
687 |
+
} // while offset < length
|
688 |
+
|
689 |
+
return $section_array;
|
690 |
+
} // _enumerate_jpeg_sections
|
691 |
+
|
692 |
+
/**
|
693 |
+
* Extract IPTC, EXIF/XMP and Comment data from a JPEG file
|
694 |
+
*
|
695 |
+
* Returns an array of section content, indexed by the section order
|
696 |
+
*
|
697 |
+
* Each array element is an array, containing:
|
698 |
+
* marker => section marker, e.g., 0xD8, 0xE0, 0xED
|
699 |
+
* content => data bytes in the section
|
700 |
+
*
|
701 |
+
* @since 1.01
|
702 |
+
*
|
703 |
+
* @param string Absolute path to the file
|
704 |
+
*
|
705 |
+
* @return array section list ( index => array( 'marker', 'content' )
|
706 |
+
*/
|
707 |
+
private static function _extract_jpeg_metadata( $path ) {
|
708 |
+
$metadata = array();
|
709 |
+
$file_contents = file_get_contents( $path, true );
|
710 |
+
if ( $file_contents ) {
|
711 |
+
$sections = self::_enumerate_jpeg_sections( $file_contents );
|
712 |
+
foreach( $sections as $section ) {
|
713 |
+
if ( in_array( $section['marker'], array( self::APP1, self::APP2, self::APP13, self::COM ) ) ) {
|
714 |
+
$metadata[] = array( 'marker' => $section['marker'],
|
715 |
+
'content' => substr( $file_contents, $section['offset'], $section['length'] )
|
716 |
+
);
|
717 |
+
} // found metadata
|
718 |
+
} // foreach section
|
719 |
+
}
|
720 |
+
|
721 |
+
return $metadata;
|
722 |
+
} // _extract_jpeg_metadata
|
723 |
+
|
724 |
+
/**
|
725 |
+
* Add/replace IPTC, EXIF/XMP and Comment data in a JPEG file
|
726 |
+
*
|
727 |
+
* @since 1.01
|
728 |
+
*
|
729 |
+
* @param string Absolute path to the destination file
|
730 |
+
* @param array Metadata sections from _extract_jpeg_metadata
|
731 |
+
*
|
732 |
+
* @return void
|
733 |
+
*/
|
734 |
+
private static function _replace_jpeg_metadata( $path, $metadata ) {
|
735 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $path = ' . var_export( $path, true ), 0 );
|
736 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $marker = ' . var_export( $metadata[0]['marker'], true ), 0 );
|
737 |
+
|
738 |
+
$pathinfo = pathinfo( $path );
|
739 |
+
$temp_path = $pathinfo['dirname'] . '/' . $pathinfo['filename'] . '-MLA' . $pathinfo['extension'];
|
740 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $temp_path = ' . var_export( $temp_path, true ), 0 );
|
741 |
+
|
742 |
+
/*
|
743 |
+
* Default to the old COM section if the destination file lacks one
|
744 |
+
*/
|
745 |
+
$COM_section = NULL;
|
746 |
+
foreach ( $metadata as $section ) {
|
747 |
+
if ( self::COM == $section['marker'] ) {
|
748 |
+
$COM_section = $section['content'];
|
749 |
+
}
|
750 |
+
}
|
751 |
+
|
752 |
+
/*
|
753 |
+
* Strip the destination "APP1, APP2, APP13" sections.
|
754 |
+
* Separate out the SOI, APP0 and COM sections.
|
755 |
+
*/
|
756 |
+
$SOI_section = NULL;
|
757 |
+
$APP0_section = NULL;
|
758 |
+
$destination_sections = array ();
|
759 |
+
$file_contents = file_get_contents( $path, true );
|
760 |
+
if ( $file_contents ) {
|
761 |
+
$destination_sections = self::_enumerate_jpeg_sections( $file_contents );
|
762 |
+
foreach ( $destination_sections as $index => $value ) {
|
763 |
+
if ( self::SOI == $value['marker'] ) {
|
764 |
+
$SOI_section = substr( $file_contents, $value['offset'], $value['length'] );
|
765 |
+
unset( $destination_sections[ $index ] );
|
766 |
+
} elseif ( self::APP0 == $value['marker'] ) {
|
767 |
+
$APP0_section = substr( $file_contents, $value['offset'], $value['length'] );
|
768 |
+
unset( $destination_sections[ $index ] );
|
769 |
+
} elseif ( self::COM == $value['marker'] ) {
|
770 |
+
$COM_section = substr( $file_contents, $value['offset'], $value['length'] );
|
771 |
+
unset( $destination_sections[ $index ] );
|
772 |
+
} elseif ( ( self::APP1 == $value['marker'] ) || ( self::APP2 == $value['marker'] ) || ( self::APP13 == $value['marker'] ) ) {
|
773 |
+
unset( $destination_sections[ $index ] );
|
774 |
+
}
|
775 |
+
}
|
776 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $SOI_section = ' . var_export( $SOI_section, true ), 0 );
|
777 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $APP0_section = ' . var_export( $APP0_section, true ), 0 );
|
778 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $COM_section = ' . var_export( $COM_section, true ), 0 );
|
779 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata $destination_sections = ' . var_export( $destination_sections, true ), 0 );
|
780 |
+
|
781 |
+
if ( ( NULL == $SOI_section ) || ( NULL == $APP0_section ) ) {
|
782 |
+
return;
|
783 |
+
}
|
784 |
+
|
785 |
+
@unlink( $temp_path );
|
786 |
+
$temp_handle = @fopen( $temp_path, 'wb' );
|
787 |
+
if ( false === $temp_handle ) {
|
788 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fopen error = ' . var_export( error_get_last(), true ), 0 );
|
789 |
+
return;
|
790 |
+
}
|
791 |
+
|
792 |
+
if ( false === @fwrite( $temp_handle, $SOI_section ) ) {
|
793 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite SOI error = ' . var_export( error_get_last(), true ), 0 );
|
794 |
+
@fclose( $temp_handle );
|
795 |
+
@unlink( $temp_path );
|
796 |
+
return;
|
797 |
+
}
|
798 |
+
|
799 |
+
if ( false === @fwrite( $temp_handle, $APP0_section ) ) {
|
800 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite APP0 error = ' . var_export( error_get_last(), true ), 0 );
|
801 |
+
@fclose( $temp_handle );
|
802 |
+
@unlink( $temp_path );
|
803 |
+
return;
|
804 |
+
}
|
805 |
+
|
806 |
+
if ( ! empty( $COM_section ) ) {
|
807 |
+
if ( false === @fwrite( $temp_handle, $COM_section ) ) {
|
808 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite COM error = ' . var_export( error_get_last(), true ), 0 );
|
809 |
+
@fclose( $temp_handle );
|
810 |
+
@unlink( $temp_path );
|
811 |
+
return;
|
812 |
+
}
|
813 |
+
}
|
814 |
+
|
815 |
+
foreach ( $metadata as $section ) {
|
816 |
+
if ( false === @fwrite( $temp_handle, $section['content'] ) ) {
|
817 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite metadata marker = ' . var_export( $section['marker'], true ), 0 );
|
818 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite metadata error = ' . var_export( error_get_last(), true ), 0 );
|
819 |
+
@fclose( $temp_handle );
|
820 |
+
@unlink( $temp_path );
|
821 |
+
return;
|
822 |
+
}
|
823 |
+
}
|
824 |
+
|
825 |
+
foreach ( $destination_sections as $section ) {
|
826 |
+
if ( false === @fwrite( $temp_handle, substr( $file_contents, $section['offset'], $section['length'] ) ) ) {
|
827 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite destination_sections marker = ' . var_export( $section['marker'], true ), 0 );
|
828 |
+
//error_log( 'MLAMappingHooksExample::_replace_jpeg_metadata fwrite destination_sections error = ' . var_export( error_get_last(), true ), 0 );
|
829 |
+
@fclose( $temp_handle );
|
830 |
+
@unlink( $temp_path );
|
831 |
+
return;
|
832 |
+
}
|
833 |
+
}
|
834 |
+
|
835 |
+
if ( false === @fclose( $temp_handle ) ) {
|
836 |
+
error_log( 'ERROR: MLAMappingHooksExample::_replace_jpeg_metadata fclose = ' . var_export( error_get_last(), true ), 0 );
|
837 |
+
return;
|
838 |
+
}
|
839 |
+
|
840 |
+
if ( false === @unlink( $path ) ) {
|
841 |
+
error_log( 'ERROR: MLAMappingHooksExample::_replace_jpeg_metadata unlink = ' . var_export( error_get_last(), true ), 0 );
|
842 |
+
return;
|
843 |
+
}
|
844 |
+
|
845 |
+
if ( false === @rename( $temp_path, $path ) ) {
|
846 |
+
error_log( 'ERROR: MLAMappingHooksExample::_replace_jpeg_metadata rename = ' . var_export( error_get_last(), true ), 0 );
|
847 |
+
return;
|
848 |
+
}
|
849 |
+
} // if $file_contents
|
850 |
+
} // _replace_jpeg_metadata
|
851 |
} //MLAMappingHooksExample
|
852 |
|
853 |
/*
|
examples/twentytwelve-mla/content-latest-images.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The template used for displaying the "Latest Images" content in page-latest-images.php
|
4 |
+
*
|
5 |
+
* @package Media Library Assistant
|
6 |
+
* @subpackage MLA_Child_Theme
|
7 |
+
* @version 1.00
|
8 |
+
* @since MLA 1.80
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* The original static page that brought us here
|
13 |
+
*
|
14 |
+
* @global $post
|
15 |
+
*/
|
16 |
+
global $post;
|
17 |
+
?>
|
18 |
+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
19 |
+
<header class="entry-header">
|
20 |
+
<?php the_post_thumbnail(); ?>
|
21 |
+
<h1 class="entry-title"><?php the_title(); ?></h1>
|
22 |
+
</header>
|
23 |
+
|
24 |
+
<div class="entry-content">
|
25 |
+
<?php the_content(); ?>
|
26 |
+
<?php
|
27 |
+
/*
|
28 |
+
* Adjust these parameters if you want more than one page, e.g.,
|
29 |
+
* $images_per_page = 25;
|
30 |
+
* $maximum_images = 100;
|
31 |
+
* will produce four pages of twenty five images each. Make sure you have
|
32 |
+
* more images than whatever you code in $maximum_images
|
33 |
+
*/
|
34 |
+
$images_per_page = 25;
|
35 |
+
$maximum_images = 25;
|
36 |
+
|
37 |
+
/*
|
38 |
+
* Display the most recent images
|
39 |
+
* An alternate orderby="ID DESC" may offer better performance
|
40 |
+
*/
|
41 |
+
echo do_shortcode( sprintf( '[mla_gallery orderby="date DESC" numberposts=%1$s post_parent=all update_post_term_cache=false]', $images_per_page ) );
|
42 |
+
?>
|
43 |
+
|
44 |
+
<?php if ( $maximum_images > $images_per_page ) : ?>
|
45 |
+
<div class="pagination loop-pagination">
|
46 |
+
<?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+}}"]', $maximum_images, $images_per_page ) ); ?>
|
47 |
+
<?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="◄" mla_next_text="►"]', $maximum_images, $images_per_page ) ); ?>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<!-- This alternative is basic Previous/Next pagination
|
51 |
+
<div class="pagination loop-pagination">
|
52 |
+
<?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\'>◄</span> Previous"]', $maximum_images, $images_per_page ) ); ?>
|
53 |
+
<?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\'>►</span>"]', $maximum_images, $images_per_page ) ); ?>
|
54 |
+
</div>
|
55 |
+
This alternative is basic Previous/Next pagination -->
|
56 |
+
<?php endif; ?>
|
57 |
+
|
58 |
+
<?php //wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'twentytwelve' ), 'after' => '</div>' ) ); ?>
|
59 |
+
</div><!-- .entry-content -->
|
60 |
+
<footer class="entry-meta">
|
61 |
+
<?php edit_post_link( __( 'Edit', 'twentytwelve' ), '<span class="edit-link">', '</span>' ); ?>
|
62 |
+
</footer><!-- .entry-meta -->
|
63 |
+
</article><!-- #post -->
|
examples/twentytwelve-mla/content-tag-gallery.php
CHANGED
@@ -23,9 +23,7 @@ global $post;
|
|
23 |
?>
|
24 |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
25 |
<header class="entry-header">
|
26 |
-
<?php if ( ! is_page_template( 'page-templates/front-page.php' ) ) : ?>
|
27 |
<?php the_post_thumbnail(); ?>
|
28 |
-
<?php endif; ?>
|
29 |
<h1 class="entry-title"><?php the_title(); ?></h1>
|
30 |
</header>
|
31 |
|
23 |
?>
|
24 |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
|
25 |
<header class="entry-header">
|
|
|
26 |
<?php the_post_thumbnail(); ?>
|
|
|
27 |
<h1 class="entry-title"><?php the_title(); ?></h1>
|
28 |
</header>
|
29 |
|
examples/twentytwelve-mla/page-latest-images.php
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The template for displaying the "Latest Images" 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', 'latest-images' ); ?>
|
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/page-single-image.php
CHANGED
@@ -1,12 +1,21 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* The template for displaying
|
4 |
-
*
|
|
|
|
|
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
|
1 |
<?php
|
2 |
/**
|
3 |
+
* The template used for displaying "attachment page" content
|
4 |
+
*
|
5 |
+
* You must define a WordPress static page "Single Image", which can be
|
6 |
+
* empty but must exist to trigger this template.
|
7 |
*
|
8 |
* Please note that this is the WordPress construct of pages
|
9 |
* and that other 'pages' on your WordPress site will use a
|
10 |
* different template.
|
11 |
*
|
12 |
+
* You must select the attachment you want by adding a query parameter
|
13 |
+
* to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.
|
14 |
+
*
|
15 |
+
* The global $post variable contains the post object of the calling page.
|
16 |
+
* * The template for displaying the "Tag Gallery" page, which
|
17 |
+
* must be defined as a static WordPress "Page" post type.
|
18 |
+
*
|
19 |
* @package Media Library Assistant
|
20 |
* @subpackage MLA_Child_Theme
|
21 |
* @version 1.00
|
includes/class-mla-data.php
CHANGED
@@ -926,17 +926,17 @@ class MLAData {
|
|
926 |
|
927 |
$text = '';
|
928 |
if ( is_wp_error( $record ) ) {
|
929 |
-
$text = implode( ',', $
|
930 |
} elseif ( ! empty( $record ) ) {
|
931 |
if ( is_scalar( $record ) ) {
|
932 |
-
$text = sanitize_text_field( (string) $record );
|
933 |
} elseif ( is_array( $record ) ) {
|
934 |
if ( 'export' == $value['option'] ) {
|
935 |
-
$text = sanitize_text_field( var_export( $record, true ) );
|
936 |
} else {
|
937 |
$text = '';
|
938 |
foreach ( $record as $term ) {
|
939 |
-
$term_name = sanitize_text_field( $term );
|
940 |
$text .= strlen( $text ) ? ', ' . $term_name : $term_name;
|
941 |
}
|
942 |
}
|
@@ -1094,13 +1094,16 @@ class MLAData {
|
|
1094 |
$tail = substr( $match, 2);
|
1095 |
}
|
1096 |
|
1097 |
-
$match_count = preg_match( '/([^,]+)(,(text|single|export|array|multi|commas))\+\]/', $tail, $matches );
|
1098 |
if ( 1 == $match_count ) {
|
1099 |
$result['value'] = $matches[1];
|
1100 |
|
1101 |
if ( 'commas' == $matches[3] ) {
|
1102 |
$result['option'] = 'text';
|
1103 |
$result['format'] = 'commas';
|
|
|
|
|
|
|
1104 |
} else {
|
1105 |
$result['option'] = $matches[3];
|
1106 |
}
|
@@ -4669,7 +4672,7 @@ class MLAData {
|
|
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 ) ) {
|
926 |
|
927 |
$text = '';
|
928 |
if ( is_wp_error( $record ) ) {
|
929 |
+
$text = implode( ',', $record->get_error_messages() );
|
930 |
} elseif ( ! empty( $record ) ) {
|
931 |
if ( is_scalar( $record ) ) {
|
932 |
+
$text = ( 'raw' == $value['format'] ) ? (string) $record : sanitize_text_field( (string) $record );
|
933 |
} elseif ( is_array( $record ) ) {
|
934 |
if ( 'export' == $value['option'] ) {
|
935 |
+
$text = ( 'raw' == $value['format'] ) ? var_export( $record, true ) : sanitize_text_field( var_export( $record, true ) );
|
936 |
} else {
|
937 |
$text = '';
|
938 |
foreach ( $record as $term ) {
|
939 |
+
$term_name = ( 'raw' == $value['format'] ) ? $term : sanitize_text_field( $term );
|
940 |
$text .= strlen( $text ) ? ', ' . $term_name : $term_name;
|
941 |
}
|
942 |
}
|
1094 |
$tail = substr( $match, 2);
|
1095 |
}
|
1096 |
|
1097 |
+
$match_count = preg_match( '/([^,]+)(,(text|single|export|array|multi|commas|raw))\+\]/', $tail, $matches );
|
1098 |
if ( 1 == $match_count ) {
|
1099 |
$result['value'] = $matches[1];
|
1100 |
|
1101 |
if ( 'commas' == $matches[3] ) {
|
1102 |
$result['option'] = 'text';
|
1103 |
$result['format'] = 'commas';
|
1104 |
+
} elseif ( 'raw' == $matches[3] ) {
|
1105 |
+
$result['option'] = 'text';
|
1106 |
+
$result['format'] = 'raw';
|
1107 |
} else {
|
1108 |
$result['option'] = $matches[3];
|
1109 |
}
|
4672 |
|
4673 |
if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
|
4674 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
4675 |
+
$results['mla_exif_metadata'] = $exif_data = @exif_read_data( $path );
|
4676 |
//restore_error_handler();
|
4677 |
|
4678 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
includes/class-mla-edit-media.php
CHANGED
@@ -153,16 +153,32 @@ class MLAEdit {
|
|
153 |
/*
|
154 |
* Register and queue the style sheet, if needed
|
155 |
*/
|
156 |
-
|
157 |
-
|
|
|
|
|
|
|
158 |
|
159 |
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
160 |
wp_enqueue_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, MLA_PLUGIN_URL . "js/mla-edit-media-scripts{$suffix}.js",
|
161 |
array( 'post', 'wp-lists', 'suggest', 'jquery' ), MLA::CURRENT_MLA_VERSION, false );
|
|
|
|
|
|
|
|
|
162 |
$script_variables = array(
|
163 |
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
164 |
-
'Ajax_Url' => admin_url( 'admin-ajax.php' )
|
|
|
|
|
165 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
wp_localize_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, self::JAVASCRIPT_EDIT_MEDIA_OBJECT, $script_variables );
|
167 |
}
|
168 |
|
@@ -391,8 +407,41 @@ class MLAEdit {
|
|
391 |
}
|
392 |
} // is_array
|
393 |
|
394 |
-
echo '<
|
395 |
-
echo '<label class="screen-reader-text" for="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
396 |
}
|
397 |
|
398 |
/**
|
153 |
/*
|
154 |
* Register and queue the style sheet, if needed
|
155 |
*/
|
156 |
+
wp_register_style( self::JAVASCRIPT_EDIT_MEDIA_STYLES, MLA_PLUGIN_URL . 'css/mla-edit-media-style.css', false, MLA::CURRENT_MLA_VERSION );
|
157 |
+
wp_enqueue_style( self::JAVASCRIPT_EDIT_MEDIA_STYLES );
|
158 |
+
|
159 |
+
wp_register_style( self::JAVASCRIPT_EDIT_MEDIA_STYLES . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, MLA::CURRENT_MLA_VERSION );
|
160 |
+
wp_enqueue_style( self::JAVASCRIPT_EDIT_MEDIA_STYLES . '-set-parent' );
|
161 |
|
162 |
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
163 |
wp_enqueue_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, MLA_PLUGIN_URL . "js/mla-edit-media-scripts{$suffix}.js",
|
164 |
array( 'post', 'wp-lists', 'suggest', 'jquery' ), MLA::CURRENT_MLA_VERSION, false );
|
165 |
+
|
166 |
+
wp_enqueue_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG . '-set-parent', MLA_PLUGIN_URL . "js/mla-set-parent-scripts{$suffix}.js",
|
167 |
+
array( 'post', 'wp-lists', 'suggest', 'jquery', self::JAVASCRIPT_EDIT_MEDIA_SLUG ), MLA::CURRENT_MLA_VERSION, false );
|
168 |
+
|
169 |
$script_variables = array(
|
170 |
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
171 |
+
'Ajax_Url' => admin_url( 'admin-ajax.php' ),
|
172 |
+
'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
|
173 |
+
'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
|
174 |
);
|
175 |
+
|
176 |
+
if ( version_compare( get_bloginfo( 'version' ), '3.9', '>=' ) ) {
|
177 |
+
$script_variables['setParentDataType'] = 'json';
|
178 |
+
} else {
|
179 |
+
$script_variables['setParentDataType'] = 'xml';
|
180 |
+
}
|
181 |
+
|
182 |
wp_localize_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, self::JAVASCRIPT_EDIT_MEDIA_OBJECT, $script_variables );
|
183 |
}
|
184 |
|
407 |
}
|
408 |
} // is_array
|
409 |
|
410 |
+
echo '<table><tr>';
|
411 |
+
echo '<td><label class="screen-reader-text" for="mla_post_parent">' . __( 'Post Parent', 'media-library-assistant' ) . '</label><input name="mla_post_parent" type="text" size="4" id="mla_post_parent" value="' . $post->post_parent . "\" /></td>\n";
|
412 |
+
echo '<td><label class="screen-reader-text" for="mla_parent_info">' . __( 'Parent Info', 'media-library-assistant' ) . '</label><input class="readonly" name="mla_parent_info" type="text" readonly="readonly" disabled="disabled" id="mla_parent_info" value="' . esc_attr( $parent_info ) . "\" /></td>\n";
|
413 |
+
echo '<td><label class="screen-reader-text" for="mla_parent_info">' . __( 'Select Parent', 'media-library-assistant' ) . '</label><input id="mla_set_parent" class="button-primary parent" type="button" name="post_parent_set" value="' . __( 'Select', 'media-library-assistant' ) . '" /></td>';
|
414 |
+
echo '</tr></table>';
|
415 |
+
|
416 |
+
$set_parent_template = MLAData::mla_load_template( 'admin-set-parent-form.tpl' );
|
417 |
+
if ( ! array( $set_parent_template ) ) {
|
418 |
+
/* translators: 1: function name 2: non-array value */
|
419 |
+
error_log( sprintf( _x( 'ERROR: %1$s non-array "%2$s"', 'error_log', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $set_parent_template, true ) ), 0 );
|
420 |
+
return '';
|
421 |
+
}
|
422 |
+
|
423 |
+
$query_args = array( 'post' => $post->ID, 'action' => 'edit' );
|
424 |
+
if ( isset( $_REQUEST['mla_source'] ) ) {
|
425 |
+
$query_args['mla_source'] = $_REQUEST['mla_source'];
|
426 |
+
}
|
427 |
+
|
428 |
+
$page_values = array(
|
429 |
+
'Select Parent' => __( 'Select Parent', 'media-library-assistant' ),
|
430 |
+
'Search' => __( 'Search', 'media-library-assistant' ),
|
431 |
+
'For' => __( 'For', 'media-library-assistant' ),
|
432 |
+
'Unattached' => __( 'Unattached', 'media-library-assistant' ),
|
433 |
+
'mla_find_posts_nonce' => wp_nonce_field( 'find-posts', 'mla-set-parent-ajax-nonce', false ),
|
434 |
+
);
|
435 |
+
|
436 |
+
ob_start();
|
437 |
+
submit_button( __( 'Cancel', 'media-library-assistant' ), 'button-secondary cancel alignleft', 'mla-set-parent-cancel', false );
|
438 |
+
$page_values['mla_set_parent_cancel'] = ob_get_clean();
|
439 |
+
|
440 |
+
ob_start();
|
441 |
+
submit_button( __( 'Update', 'media-library-assistant' ), 'button-primary alignright', 'mla-set-parent-submit', false );
|
442 |
+
$page_values['mla_set_parent_update'] = ob_get_clean();
|
443 |
+
|
444 |
+
echo MLAData::mla_parse_template( $set_parent_template['mla-set-parent-div'], $page_values );
|
445 |
}
|
446 |
|
447 |
/**
|
includes/class-mla-list-table.php
CHANGED
@@ -294,6 +294,24 @@ class MLA_List_Table extends WP_List_Table {
|
|
294 |
return MLA_List_Table::$default_columns;
|
295 |
}
|
296 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
/**
|
298 |
* Builds the $default_columns array with translated source texts.
|
299 |
*
|
@@ -499,11 +517,18 @@ class MLA_List_Table extends WP_List_Table {
|
|
499 |
*/
|
500 |
function column_icon( $item ) {
|
501 |
if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
502 |
-
$
|
|
|
503 |
} else {
|
504 |
-
$
|
|
|
505 |
}
|
506 |
|
|
|
|
|
|
|
|
|
|
|
507 |
if ( $this->is_trash || ! current_user_can( 'edit_post', $item->ID ) ) {
|
508 |
return $thumb;
|
509 |
}
|
@@ -596,6 +621,18 @@ class MLA_List_Table extends WP_List_Table {
|
|
596 |
}
|
597 |
|
598 |
$inline_data .= ' <div class="post_parent">' . $item->post_parent . "</div>\r\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
599 |
$inline_data .= ' <div class="menu_order">' . $item->menu_order . "</div>\r\n";
|
600 |
$inline_data .= ' <div class="post_author">' . $item->post_author . "</div>\r\n";
|
601 |
|
@@ -1093,28 +1130,33 @@ class MLA_List_Table extends WP_List_Table {
|
|
1093 |
* @return string HTML markup to be placed inside the column
|
1094 |
*/
|
1095 |
function column_attached_to( $item ) {
|
1096 |
-
if ( isset( $item->parent_date ) ) {
|
1097 |
-
$parent_date = $item->parent_date;
|
1098 |
-
} else {
|
1099 |
-
$parent_date = '';
|
1100 |
-
}
|
1101 |
-
|
1102 |
if ( isset( $item->parent_title ) ) {
|
1103 |
$parent_title = sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' “%2$s”">%3$s</a>', esc_url( add_query_arg( array(
|
1104 |
'post' => $item->post_parent,
|
1105 |
'action' => 'edit'
|
1106 |
), 'post.php' ) ), esc_attr( $item->parent_title ), esc_attr( $item->parent_title ) );
|
1107 |
-
} else {
|
1108 |
-
$parent_title = '(' . _x( 'Unattached', 'post_mime_types_singular', 'media-library-assistant' ) . ')';
|
1109 |
-
}
|
1110 |
|
1111 |
-
|
1112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1113 |
} else {
|
1114 |
-
$
|
1115 |
}
|
|
|
|
|
|
|
1116 |
|
1117 |
-
return
|
1118 |
}
|
1119 |
|
1120 |
/**
|
@@ -1480,7 +1522,12 @@ class MLA_List_Table extends WP_List_Table {
|
|
1480 |
}
|
1481 |
|
1482 |
if ( $link = self::_get_view( $value->slug, $current_view ) ) {
|
1483 |
-
|
|
|
|
|
|
|
|
|
|
|
1484 |
}
|
1485 |
}
|
1486 |
}
|
@@ -1627,4 +1674,5 @@ add_action( 'admin_init', 'MLA_List_Table::mla_admin_init_action' );
|
|
1627 |
|
1628 |
add_filter( 'get_user_option_managemedia_page_' . MLA::ADMIN_PAGE_SLUG . 'columnshidden', 'MLA_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
|
1629 |
add_filter( 'manage_media_page_' . MLA::ADMIN_PAGE_SLUG . '_columns', 'MLA_List_Table::mla_manage_columns_filter', 10, 0 );
|
|
|
1630 |
?>
|
294 |
return MLA_List_Table::$default_columns;
|
295 |
}
|
296 |
|
297 |
+
/**
|
298 |
+
* Handler for filter "views_{$this->screen->id}" in /admin/includes/class-wp-list-table.php
|
299 |
+
*
|
300 |
+
* Filter the list of available list table views. Set when the
|
301 |
+
* file is loaded because the list_table object isn't created in time
|
302 |
+
* to affect the "screen options" setup.
|
303 |
+
*
|
304 |
+
* @since 1.82
|
305 |
+
*
|
306 |
+
* @param array A list of available list table views
|
307 |
+
*
|
308 |
+
* @return array Updated list of available list table views
|
309 |
+
*/
|
310 |
+
public static function mla_views_media_page_mla_menu_filter( $views ) {
|
311 |
+
$views = apply_filters( "views_upload", $views );
|
312 |
+
return $views;
|
313 |
+
}
|
314 |
+
|
315 |
/**
|
316 |
* Builds the $default_columns array with translated source texts.
|
317 |
*
|
517 |
*/
|
518 |
function column_icon( $item ) {
|
519 |
if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
520 |
+
$dimensions = array( 64, 64 );
|
521 |
+
$thumb = wp_get_attachment_image( $item->ID, $dimensions, true, array( 'class' => 'mla_media_thumbnail_64_64' ) );
|
522 |
} else {
|
523 |
+
$dimensions = array( 80, 60 );
|
524 |
+
$thumb = wp_get_attachment_image( $item->ID, $dimensions, true, array( 'class' => 'mla_media_thumbnail_80_60' ) );
|
525 |
}
|
526 |
|
527 |
+
if ( in_array( $item->post_mime_type, array( 'image/svg+xml' ) ) ) {
|
528 |
+
$thumb = preg_replace( '/width=\"[^\"]*\"/', sprintf( 'width="%1$d"', $dimensions[1] ), $thumb );
|
529 |
+
$thumb = preg_replace( '/height=\"[^\"]*\"/', sprintf( 'height="%1$d"', $dimensions[0] ), $thumb );
|
530 |
+
}
|
531 |
+
|
532 |
if ( $this->is_trash || ! current_user_can( 'edit_post', $item->ID ) ) {
|
533 |
return $thumb;
|
534 |
}
|
621 |
}
|
622 |
|
623 |
$inline_data .= ' <div class="post_parent">' . $item->post_parent . "</div>\r\n";
|
624 |
+
|
625 |
+
if ( $item->post_parent ) {
|
626 |
+
if ( isset( $item->parent_title ) ) {
|
627 |
+
$parent_title = $item->parent_title;
|
628 |
+
} else {
|
629 |
+
$parent_title = __( '(no title)', 'media-library-assistant' );
|
630 |
+
}
|
631 |
+
} else {
|
632 |
+
$parent_title = '';
|
633 |
+
}
|
634 |
+
|
635 |
+
$inline_data .= ' <div class="post_parent_title">' . $parent_title . "</div>\r\n";
|
636 |
$inline_data .= ' <div class="menu_order">' . $item->menu_order . "</div>\r\n";
|
637 |
$inline_data .= ' <div class="post_author">' . $item->post_author . "</div>\r\n";
|
638 |
|
1130 |
* @return string HTML markup to be placed inside the column
|
1131 |
*/
|
1132 |
function column_attached_to( $item ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
1133 |
if ( isset( $item->parent_title ) ) {
|
1134 |
$parent_title = sprintf( '<a href="%1$s" title="' . __( 'Edit', 'media-library-assistant' ) . ' “%2$s”">%3$s</a>', esc_url( add_query_arg( array(
|
1135 |
'post' => $item->post_parent,
|
1136 |
'action' => 'edit'
|
1137 |
), 'post.php' ) ), esc_attr( $item->parent_title ), esc_attr( $item->parent_title ) );
|
|
|
|
|
|
|
1138 |
|
1139 |
+
if ( isset( $item->parent_date ) ) {
|
1140 |
+
$parent_date = $item->parent_date;
|
1141 |
+
} else {
|
1142 |
+
$parent_date = '';
|
1143 |
+
}
|
1144 |
+
|
1145 |
+
if ( isset( $item->parent_type ) ) {
|
1146 |
+
$parent_type = '(' . $item->parent_type . ' ' . (string) $item->post_parent . ')';
|
1147 |
+
} else {
|
1148 |
+
$parent_type = '';
|
1149 |
+
}
|
1150 |
+
|
1151 |
+
$parent = sprintf( '%1$s<br>%2$s<br>%3$s', /*%1$s*/ $parent_title, /*%2$s*/ mysql2date( __( 'Y/m/d', 'media-library-assistant' ), $parent_date ), /*%3$s*/ $parent_type ); // . "<br>\r\n";
|
1152 |
} else {
|
1153 |
+
$parent = '(' . _x( 'Unattached', 'post_mime_types_singular', 'media-library-assistant' ) . ')';
|
1154 |
}
|
1155 |
+
|
1156 |
+
// $set_parent = sprintf( '<a class="hide-if-no-js" id="mla-child-%2$s" onclick="mla.setParent.open( \'%1$s\',\'%2$s\',\'%3$s\' ); return false;" href="#the-list">%4$s</a><br>', /*%1$s*/ $item->post_parent, /*%2$s*/ $item->ID, /*%3$s*/ esc_attr( $item->post_title ), __( 'Set Parent', 'media-library-assistant' ) );
|
1157 |
+
$set_parent = sprintf( '<a class="hide-if-no-js" id="mla-child-%2$s" onclick="mla.inlineEditAttachment.tableParentOpen( \'%1$s\',\'%2$s\',\'%3$s\' ); return false;" href="#the-list">%4$s</a><br>', /*%1$s*/ $item->post_parent, /*%2$s*/ $item->ID, /*%3$s*/ esc_attr( $item->post_title ), __( 'Set Parent', 'media-library-assistant' ) );
|
1158 |
|
1159 |
+
return $parent . "<br>\n" . $set_parent . "\n";
|
1160 |
}
|
1161 |
|
1162 |
/**
|
1522 |
}
|
1523 |
|
1524 |
if ( $link = self::_get_view( $value->slug, $current_view ) ) {
|
1525 |
+
// WPML Media looks for "detached", not "unattached"
|
1526 |
+
if ( 'unattached' == $value->slug ) {
|
1527 |
+
$view_links[ 'detached' ] = $link;
|
1528 |
+
} else {
|
1529 |
+
$view_links[ $value->slug ] = $link;
|
1530 |
+
}
|
1531 |
}
|
1532 |
}
|
1533 |
}
|
1674 |
|
1675 |
add_filter( 'get_user_option_managemedia_page_' . MLA::ADMIN_PAGE_SLUG . 'columnshidden', 'MLA_List_Table::mla_manage_hidden_columns_filter', 10, 3 );
|
1676 |
add_filter( 'manage_media_page_' . MLA::ADMIN_PAGE_SLUG . '_columns', 'MLA_List_Table::mla_manage_columns_filter', 10, 0 );
|
1677 |
+
add_filter( 'views_media_page_mla-menu', 'MLA_List_Table::mla_views_media_page_mla_menu_filter', 0x7FFFFFFF, 1 );
|
1678 |
?>
|
includes/class-mla-main.php
CHANGED
@@ -29,7 +29,7 @@ class MLA {
|
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
-
const CURRENT_MLA_VERSION = '1.
|
33 |
|
34 |
/**
|
35 |
* Slug for registering and enqueueing plugin style sheet
|
@@ -157,6 +157,15 @@ class MLA {
|
|
157 |
*/
|
158 |
const MLA_ADMIN_SINGLE_MAP = 'single_item_map';
|
159 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
160 |
/**
|
161 |
* Holds screen ids to match help text to corresponding screen
|
162 |
*
|
@@ -227,11 +236,17 @@ class MLA {
|
|
227 |
* @return void
|
228 |
*/
|
229 |
public static function mla_admin_init_action() {
|
|
|
230 |
/*
|
231 |
* Process row-level actions from the Edit Media screen
|
232 |
*/
|
233 |
if ( !empty( $_REQUEST['mla_admin_action'] ) ) {
|
234 |
-
|
|
|
|
|
|
|
|
|
|
|
235 |
|
236 |
switch ( $_REQUEST['mla_admin_action'] ) {
|
237 |
case self::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP:
|
@@ -257,7 +272,8 @@ class MLA {
|
|
257 |
} // switch ($_REQUEST['mla_admin_action'])
|
258 |
} // (!empty($_REQUEST['mla_admin_action'])
|
259 |
|
260 |
-
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_SLUG, 'MLA::
|
|
|
261 |
}
|
262 |
|
263 |
/**
|
@@ -290,6 +306,9 @@ class MLA {
|
|
290 |
wp_register_style( self::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, self::CURRENT_MLA_VERSION );
|
291 |
wp_enqueue_style( self::STYLESHEET_SLUG );
|
292 |
|
|
|
|
|
|
|
293 |
if ( isset( $_REQUEST['mla_admin_action'] ) && ( $_REQUEST['mla_admin_action'] == self::MLA_ADMIN_SINGLE_EDIT_DISPLAY ) ) {
|
294 |
wp_enqueue_script( self::JAVASCRIPT_SINGLE_EDIT_SLUG, MLA_PLUGIN_URL . "js/mla-single-edit-scripts{$suffix}.js",
|
295 |
array( 'wp-lists', 'suggest', 'jquery' ), self::CURRENT_MLA_VERSION, false );
|
@@ -302,7 +321,10 @@ class MLA {
|
|
302 |
wp_enqueue_script( self::JAVASCRIPT_INLINE_EDIT_SLUG, MLA_PLUGIN_URL . "js/mla-inline-edit-scripts{$suffix}.js",
|
303 |
array( 'wp-lists', 'suggest', 'jquery' ), self::CURRENT_MLA_VERSION, false );
|
304 |
|
305 |
-
|
|
|
|
|
|
|
306 |
$custom_fields = MLAOptions::mla_custom_field_support( 'quick_edit' );
|
307 |
$custom_fields = array_merge( $custom_fields, MLAOptions::mla_custom_field_support( 'bulk_edit' ) );
|
308 |
foreach ($custom_fields as $slug => $label ) {
|
@@ -311,6 +333,8 @@ class MLA {
|
|
311 |
|
312 |
$script_variables = array(
|
313 |
'fields' => $fields,
|
|
|
|
|
314 |
'error' => __( 'Error while saving the changes.', 'media-library-assistant' ),
|
315 |
'ntdeltitle' => __( 'Remove From Bulk Edit', 'media-library-assistant' ),
|
316 |
'notitle' => __( '(no title)', 'media-library-assistant' ),
|
@@ -318,6 +342,13 @@ class MLA {
|
|
318 |
'ajax_action' => self::JAVASCRIPT_INLINE_EDIT_SLUG,
|
319 |
'ajax_nonce' => wp_create_nonce( self::MLA_ADMIN_NONCE )
|
320 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
wp_localize_script( self::JAVASCRIPT_INLINE_EDIT_SLUG, self::JAVASCRIPT_INLINE_EDIT_OBJECT, $script_variables );
|
322 |
}
|
323 |
}
|
@@ -391,9 +422,12 @@ class MLA {
|
|
391 |
} else {
|
392 |
$menu_position = (integer) MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_ORDER );
|
393 |
}
|
|
|
394 |
if ( $menu_position && is_array( $submenu['upload.php'] ) ) {
|
395 |
foreach ( $submenu['upload.php'] as $menu_order => $menu_item ) {
|
396 |
if ( self::ADMIN_PAGE_SLUG == $menu_item[2] ) {
|
|
|
|
|
397 |
$submenu['upload.php'][$menu_position] = $menu_item;
|
398 |
unset( $submenu['upload.php'][$menu_order] );
|
399 |
ksort( $submenu['upload.php'] );
|
@@ -414,7 +448,7 @@ class MLA {
|
|
414 |
*/
|
415 |
public static function mla_load_media_action( ) {
|
416 |
if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
|
417 |
-
$query_args = '?page=
|
418 |
|
419 |
/*
|
420 |
* Compose a message if returning from the Edit Media screen
|
@@ -643,7 +677,7 @@ class MLA {
|
|
643 |
* Make sure the "Assistant" submenu line is bolded if it's the default
|
644 |
*/
|
645 |
if ( 'media_page_' . self::ADMIN_PAGE_SLUG == $hook_suffix ) {
|
646 |
-
$submenu_file = self::ADMIN_PAGE_SLUG;
|
647 |
}
|
648 |
|
649 |
/*
|
@@ -651,14 +685,14 @@ class MLA {
|
|
651 |
*/
|
652 |
if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_DISPLAY_LIBRARY ) &&
|
653 |
'upload.php' == $parent_file && 'upload.php' == $submenu_file ) {
|
654 |
-
$submenu_file = self::ADMIN_PAGE_SLUG;
|
655 |
}
|
656 |
|
657 |
/*
|
658 |
* Make sure the "Assistant" submenu line is bolded when we go to the Edit Media page
|
659 |
*/
|
660 |
if ( isset( $_REQUEST['mla_source'] ) ) {
|
661 |
-
$submenu_file = self::ADMIN_PAGE_SLUG;
|
662 |
}
|
663 |
|
664 |
/*
|
@@ -999,6 +1033,21 @@ class MLA {
|
|
999 |
case self::MLA_ADMIN_SINGLE_TRASH:
|
1000 |
$page_content = self::_trash_single_item( $_REQUEST['mla_item_ID'] );
|
1001 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1002 |
default:
|
1003 |
$page_content = array(
|
1004 |
/* translators: 1: bulk_action, e.g., single_item_delete, single_item_edit */
|
@@ -1206,6 +1255,42 @@ class MLA {
|
|
1206 |
} // display attachments list
|
1207 |
}
|
1208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1209 |
/**
|
1210 |
* Ajax handler for inline editing (quick and bulk edit)
|
1211 |
*
|
@@ -1215,7 +1300,7 @@ class MLA {
|
|
1215 |
*
|
1216 |
* @return void echo HTML <tr> markup for updated row or error message, then die()
|
1217 |
*/
|
1218 |
-
public static function
|
1219 |
set_current_screen( $_REQUEST['screen'] );
|
1220 |
|
1221 |
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
@@ -1454,6 +1539,40 @@ class MLA {
|
|
1454 |
$bulk_custom_fields .= MLAData::mla_parse_template( $page_template_array['custom_field'], $page_values );
|
1455 |
}
|
1456 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1457 |
$page_values = array(
|
1458 |
'colspan' => count( $MLAListTable->get_columns() ),
|
1459 |
'Quick Edit' => __( 'Quick Edit', 'media-library-assistant' ),
|
@@ -1463,6 +1582,7 @@ class MLA {
|
|
1463 |
'Description' => __( 'Description', 'media-library-assistant' ),
|
1464 |
'ALT Text' => __( 'ALT Text', 'media-library-assistant' ),
|
1465 |
'Parent ID' => __( 'Parent ID', 'media-library-assistant' ),
|
|
|
1466 |
'Menu Order' => __( 'Menu Order', 'media-library-assistant' ),
|
1467 |
'authors' => $authors_dropdown,
|
1468 |
'custom_fields' => $custom_fields,
|
@@ -1482,7 +1602,9 @@ class MLA {
|
|
1482 |
'bulk_custom_fields' => $bulk_custom_fields,
|
1483 |
'Map IPTC/EXIF metadata' => __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ),
|
1484 |
'Map Custom Field metadata' => __( 'Map Custom Field Metadata', 'media-library-assistant' ),
|
|
|
1485 |
);
|
|
|
1486 |
$page_template = MLAData::mla_parse_template( $page_template_array['page'], $page_values );
|
1487 |
return $page_template;
|
1488 |
}
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
+
const CURRENT_MLA_VERSION = '1.82';
|
33 |
|
34 |
/**
|
35 |
* Slug for registering and enqueueing plugin style sheet
|
157 |
*/
|
158 |
const MLA_ADMIN_SINGLE_MAP = 'single_item_map';
|
159 |
|
160 |
+
/**
|
161 |
+
* mla_admin_action value for setting an item's parent object
|
162 |
+
*
|
163 |
+
* @since 1.82
|
164 |
+
*
|
165 |
+
* @var string
|
166 |
+
*/
|
167 |
+
const MLA_ADMIN_SET_PARENT = 'set_parent';
|
168 |
+
|
169 |
/**
|
170 |
* Holds screen ids to match help text to corresponding screen
|
171 |
*
|
236 |
* @return void
|
237 |
*/
|
238 |
public static function mla_admin_init_action() {
|
239 |
+
//error_log( 'DEBUG: mla_admin_init_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
|
240 |
/*
|
241 |
* Process row-level actions from the Edit Media screen
|
242 |
*/
|
243 |
if ( !empty( $_REQUEST['mla_admin_action'] ) ) {
|
244 |
+
if ( isset( $_REQUEST['mla-set-parent-ajax-nonce'] ) ) {
|
245 |
+
check_admin_referer( 'find-posts', 'mla-set-parent-ajax-nonce' );
|
246 |
+
} else {
|
247 |
+
check_admin_referer( self::MLA_ADMIN_NONCE );
|
248 |
+
}
|
249 |
+
|
250 |
|
251 |
switch ( $_REQUEST['mla_admin_action'] ) {
|
252 |
case self::MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP:
|
272 |
} // switch ($_REQUEST['mla_admin_action'])
|
273 |
} // (!empty($_REQUEST['mla_admin_action'])
|
274 |
|
275 |
+
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_SLUG, 'MLA::mla_inline_edit_ajax_action' );
|
276 |
+
add_action( 'wp_ajax_' . self::JAVASCRIPT_INLINE_EDIT_SLUG . '-set-parent', 'MLA::mla_set_parent_ajax_action' );
|
277 |
}
|
278 |
|
279 |
/**
|
306 |
wp_register_style( self::STYLESHEET_SLUG, MLA_PLUGIN_URL . 'css/mla-style.css', false, self::CURRENT_MLA_VERSION );
|
307 |
wp_enqueue_style( self::STYLESHEET_SLUG );
|
308 |
|
309 |
+
wp_register_style( self::STYLESHEET_SLUG . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, self::CURRENT_MLA_VERSION );
|
310 |
+
wp_enqueue_style( self::STYLESHEET_SLUG . '-set-parent' );
|
311 |
+
|
312 |
if ( isset( $_REQUEST['mla_admin_action'] ) && ( $_REQUEST['mla_admin_action'] == self::MLA_ADMIN_SINGLE_EDIT_DISPLAY ) ) {
|
313 |
wp_enqueue_script( self::JAVASCRIPT_SINGLE_EDIT_SLUG, MLA_PLUGIN_URL . "js/mla-single-edit-scripts{$suffix}.js",
|
314 |
array( 'wp-lists', 'suggest', 'jquery' ), self::CURRENT_MLA_VERSION, false );
|
321 |
wp_enqueue_script( self::JAVASCRIPT_INLINE_EDIT_SLUG, MLA_PLUGIN_URL . "js/mla-inline-edit-scripts{$suffix}.js",
|
322 |
array( 'wp-lists', 'suggest', 'jquery' ), self::CURRENT_MLA_VERSION, false );
|
323 |
|
324 |
+
wp_enqueue_script( self::JAVASCRIPT_INLINE_EDIT_SLUG . '-set-parent', MLA_PLUGIN_URL . "js/mla-set-parent-scripts{$suffix}.js",
|
325 |
+
array( 'wp-lists', 'suggest', 'jquery', self::JAVASCRIPT_INLINE_EDIT_SLUG ), self::CURRENT_MLA_VERSION, false );
|
326 |
+
|
327 |
+
$fields = array( 'post_title', 'post_name', 'post_excerpt', 'post_content', 'image_alt', 'post_parent', 'post_parent_title', 'menu_order', 'post_author' );
|
328 |
$custom_fields = MLAOptions::mla_custom_field_support( 'quick_edit' );
|
329 |
$custom_fields = array_merge( $custom_fields, MLAOptions::mla_custom_field_support( 'bulk_edit' ) );
|
330 |
foreach ($custom_fields as $slug => $label ) {
|
333 |
|
334 |
$script_variables = array(
|
335 |
'fields' => $fields,
|
336 |
+
'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
|
337 |
+
'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
|
338 |
'error' => __( 'Error while saving the changes.', 'media-library-assistant' ),
|
339 |
'ntdeltitle' => __( 'Remove From Bulk Edit', 'media-library-assistant' ),
|
340 |
'notitle' => __( '(no title)', 'media-library-assistant' ),
|
342 |
'ajax_action' => self::JAVASCRIPT_INLINE_EDIT_SLUG,
|
343 |
'ajax_nonce' => wp_create_nonce( self::MLA_ADMIN_NONCE )
|
344 |
);
|
345 |
+
|
346 |
+
if ( version_compare( get_bloginfo( 'version' ), '3.9', '>=' ) ) {
|
347 |
+
$script_variables['setParentDataType'] = 'json';
|
348 |
+
} else {
|
349 |
+
$script_variables['setParentDataType'] = 'xml';
|
350 |
+
}
|
351 |
+
|
352 |
wp_localize_script( self::JAVASCRIPT_INLINE_EDIT_SLUG, self::JAVASCRIPT_INLINE_EDIT_OBJECT, $script_variables );
|
353 |
}
|
354 |
}
|
422 |
} else {
|
423 |
$menu_position = (integer) MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_ORDER );
|
424 |
}
|
425 |
+
|
426 |
if ( $menu_position && is_array( $submenu['upload.php'] ) ) {
|
427 |
foreach ( $submenu['upload.php'] as $menu_order => $menu_item ) {
|
428 |
if ( self::ADMIN_PAGE_SLUG == $menu_item[2] ) {
|
429 |
+
// Replace "admin.php" with "upload.php"; support topic "Media/Library menu URLs mismatch"
|
430 |
+
$menu_item[2] = 'upload.php?page=' . self::ADMIN_PAGE_SLUG;
|
431 |
$submenu['upload.php'][$menu_position] = $menu_item;
|
432 |
unset( $submenu['upload.php'][$menu_order] );
|
433 |
ksort( $submenu['upload.php'] );
|
448 |
*/
|
449 |
public static function mla_load_media_action( ) {
|
450 |
if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_DISPLAY_LIBRARY ) ) {
|
451 |
+
$query_args = '?page=' . self::ADMIN_PAGE_SLUG;
|
452 |
|
453 |
/*
|
454 |
* Compose a message if returning from the Edit Media screen
|
677 |
* Make sure the "Assistant" submenu line is bolded if it's the default
|
678 |
*/
|
679 |
if ( 'media_page_' . self::ADMIN_PAGE_SLUG == $hook_suffix ) {
|
680 |
+
$submenu_file = 'upload.php?page=' . self::ADMIN_PAGE_SLUG;
|
681 |
}
|
682 |
|
683 |
/*
|
685 |
*/
|
686 |
if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_SCREEN_DISPLAY_LIBRARY ) &&
|
687 |
'upload.php' == $parent_file && 'upload.php' == $submenu_file ) {
|
688 |
+
$submenu_file = 'upload.php?page=' . self::ADMIN_PAGE_SLUG;
|
689 |
}
|
690 |
|
691 |
/*
|
692 |
* Make sure the "Assistant" submenu line is bolded when we go to the Edit Media page
|
693 |
*/
|
694 |
if ( isset( $_REQUEST['mla_source'] ) ) {
|
695 |
+
$submenu_file = 'upload.php?page=' . self::ADMIN_PAGE_SLUG;
|
696 |
}
|
697 |
|
698 |
/*
|
1033 |
case self::MLA_ADMIN_SINGLE_TRASH:
|
1034 |
$page_content = self::_trash_single_item( $_REQUEST['mla_item_ID'] );
|
1035 |
break;
|
1036 |
+
case self::MLA_ADMIN_SET_PARENT:
|
1037 |
+
$new_data = array( 'post_parent' => $_REQUEST['found_post_id'] );
|
1038 |
+
|
1039 |
+
foreach( $_REQUEST['children'] as $child ) {
|
1040 |
+
$item_content = MLAData::mla_update_single_item( $child, $new_data );
|
1041 |
+
$page_content['message'] .= $item_content['message'] . '<br>';
|
1042 |
+
}
|
1043 |
+
|
1044 |
+
unset( $_REQUEST['parent'] );
|
1045 |
+
unset( $_REQUEST['children'] );
|
1046 |
+
unset( $_REQUEST['mla-set-parent-ajax-nonce'] );
|
1047 |
+
unset( $_REQUEST['ps'] );
|
1048 |
+
unset( $_REQUEST['found_post_id'] );
|
1049 |
+
unset( $_REQUEST['mla-set-parent-submit'] );
|
1050 |
+
break;
|
1051 |
default:
|
1052 |
$page_content = array(
|
1053 |
/* translators: 1: bulk_action, e.g., single_item_delete, single_item_edit */
|
1255 |
} // display attachments list
|
1256 |
}
|
1257 |
|
1258 |
+
/**
|
1259 |
+
* Ajax handler to set post_parent for a single attachment
|
1260 |
+
*
|
1261 |
+
* Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php
|
1262 |
+
*
|
1263 |
+
* @since 0.20
|
1264 |
+
*
|
1265 |
+
* @return void echo HTML <td> innerHTML for updated call or error message, then die()
|
1266 |
+
*/
|
1267 |
+
public static function mla_set_parent_ajax_action() {
|
1268 |
+
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
1269 |
+
|
1270 |
+
if ( empty( $_REQUEST['post_ID'] ) ) {
|
1271 |
+
echo __( 'ERROR: No post ID found', 'media-library-assistant' );
|
1272 |
+
die();
|
1273 |
+
} else {
|
1274 |
+
$post_id = $_REQUEST['post_ID'];
|
1275 |
+
}
|
1276 |
+
|
1277 |
+
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
1278 |
+
wp_die( __( 'You are not allowed to edit this Attachment.', 'media-library-assistant' ) );
|
1279 |
+
}
|
1280 |
+
|
1281 |
+
$results = MLAData::mla_update_single_item( $post_id, $_REQUEST );
|
1282 |
+
if ( false !== strpos( $results['message'], __( 'ERROR:', 'media-library-assistant' ) ) ) {
|
1283 |
+
wp_die( $results['message'] );
|
1284 |
+
}
|
1285 |
+
|
1286 |
+
$new_item = (object) MLAData::mla_get_attachment_by_id( $post_id );
|
1287 |
+
|
1288 |
+
// Create an instance of our package class and echo the new HTML
|
1289 |
+
$MLAListTable = new MLA_List_Table();
|
1290 |
+
echo $MLAListTable->column_attached_to( $new_item );
|
1291 |
+
die(); // this is required to return a proper result
|
1292 |
+
}
|
1293 |
+
|
1294 |
/**
|
1295 |
* Ajax handler for inline editing (quick and bulk edit)
|
1296 |
*
|
1300 |
*
|
1301 |
* @return void echo HTML <tr> markup for updated row or error message, then die()
|
1302 |
*/
|
1303 |
+
public static function mla_inline_edit_ajax_action() {
|
1304 |
set_current_screen( $_REQUEST['screen'] );
|
1305 |
|
1306 |
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
1539 |
$bulk_custom_fields .= MLAData::mla_parse_template( $page_template_array['custom_field'], $page_values );
|
1540 |
}
|
1541 |
|
1542 |
+
$set_parent_template = MLAData::mla_load_template( 'admin-set-parent-form.tpl' );
|
1543 |
+
if ( ! array( $set_parent_template ) ) {
|
1544 |
+
/* translators: 1: function name 2: non-array value */
|
1545 |
+
error_log( sprintf( _x( 'ERROR: %1$s non-array "%2$s"', 'error_log', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $set_parent_template, true ) ), 0 );
|
1546 |
+
return '';
|
1547 |
+
}
|
1548 |
+
|
1549 |
+
$page_values = array(
|
1550 |
+
'Select Parent' => __( 'Select Parent', 'media-library-assistant' ),
|
1551 |
+
'Search' => __( 'Search', 'media-library-assistant' ),
|
1552 |
+
'For' => __( 'For', 'media-library-assistant' ),
|
1553 |
+
'Unattached' => __( 'Unattached', 'media-library-assistant' ),
|
1554 |
+
'mla_find_posts_nonce' => wp_nonce_field( 'find-posts', 'mla-set-parent-ajax-nonce', false ),
|
1555 |
+
);
|
1556 |
+
|
1557 |
+
ob_start();
|
1558 |
+
submit_button( __( 'Cancel', 'media-library-assistant' ), 'button-secondary cancel alignleft', 'mla-set-parent-cancel', false );
|
1559 |
+
$page_values['mla_set_parent_cancel'] = ob_get_clean();
|
1560 |
+
|
1561 |
+
ob_start();
|
1562 |
+
submit_button( __( 'Update', 'media-library-assistant' ), 'button-primary alignright', 'mla-set-parent-submit', false );
|
1563 |
+
$page_values['mla_set_parent_update'] = ob_get_clean();
|
1564 |
+
|
1565 |
+
$set_parent_div = MLAData::mla_parse_template( $set_parent_template['mla-set-parent-div'], $page_values );
|
1566 |
+
|
1567 |
+
$page_values = array(
|
1568 |
+
'mla_set_parent_url' => esc_url( add_query_arg( array_merge( MLA_List_Table::mla_submenu_arguments( false ), array( 'page' => MLA::ADMIN_PAGE_SLUG ) ), admin_url( 'upload.php' ) ) ),
|
1569 |
+
'mla_set_parent_action' => self::MLA_ADMIN_SET_PARENT,
|
1570 |
+
'wpnonce' => wp_nonce_field( self::MLA_ADMIN_NONCE, '_wpnonce', true, false ),
|
1571 |
+
'mla_set_parent_div' => $set_parent_div,
|
1572 |
+
);
|
1573 |
+
|
1574 |
+
$set_parent_form = MLAData::mla_parse_template( $set_parent_template['mla-set-parent-form'], $page_values );
|
1575 |
+
|
1576 |
$page_values = array(
|
1577 |
'colspan' => count( $MLAListTable->get_columns() ),
|
1578 |
'Quick Edit' => __( 'Quick Edit', 'media-library-assistant' ),
|
1582 |
'Description' => __( 'Description', 'media-library-assistant' ),
|
1583 |
'ALT Text' => __( 'ALT Text', 'media-library-assistant' ),
|
1584 |
'Parent ID' => __( 'Parent ID', 'media-library-assistant' ),
|
1585 |
+
'Select' => __( 'Select', 'media-library-assistant' ),
|
1586 |
'Menu Order' => __( 'Menu Order', 'media-library-assistant' ),
|
1587 |
'authors' => $authors_dropdown,
|
1588 |
'custom_fields' => $custom_fields,
|
1602 |
'bulk_custom_fields' => $bulk_custom_fields,
|
1603 |
'Map IPTC/EXIF metadata' => __( 'Map IPTC/EXIF metadata', 'media-library-assistant' ),
|
1604 |
'Map Custom Field metadata' => __( 'Map Custom Field Metadata', 'media-library-assistant' ),
|
1605 |
+
'set_parent_form' => $set_parent_form,
|
1606 |
);
|
1607 |
+
|
1608 |
$page_template = MLAData::mla_parse_template( $page_template_array['page'], $page_values );
|
1609 |
return $page_template;
|
1610 |
}
|
includes/class-mla-options.php
CHANGED
@@ -1473,7 +1473,7 @@ class MLAOptions {
|
|
1473 |
* Otherwise there's no way to turn them back on.
|
1474 |
*/
|
1475 |
if ( ! array_key_exists( 'attachment_category', $taxonomies ) ) {
|
1476 |
-
$taxonomies['attachment_category'] = (object) array( 'labels' => (object) array( 'name' => __( 'Attachment Categories', 'media-library-assistant' ) ) );
|
1477 |
if ( isset( $tax_support['attachment_category'] ) ) {
|
1478 |
unset( $tax_support['attachment_category'] );
|
1479 |
}
|
@@ -1488,7 +1488,7 @@ class MLAOptions {
|
|
1488 |
}
|
1489 |
|
1490 |
if ( ! array_key_exists( 'attachment_tag', $taxonomies ) ) {
|
1491 |
-
$taxonomies['attachment_tag'] = (object) array( 'labels' => (object) array( 'name' => __( 'Attachment Tags', 'media-library-assistant' ) ) );
|
1492 |
|
1493 |
if ( isset( $tax_support['attachment_tag'] ) ) {
|
1494 |
unset( $tax_support['attachment_tag'] );
|
@@ -3384,7 +3384,7 @@ class MLAOptions {
|
|
3384 |
$new_terms[] = $term_object['term_id'];
|
3385 |
} else {
|
3386 |
$term_object = wp_insert_term( $new_term, $setting_key, array( 'parent' => $tax_parent ) );
|
3387 |
-
if ( isset( $term_object['term_id'] ) ) {
|
3388 |
$new_terms[] = $term_object['term_id'];
|
3389 |
}
|
3390 |
}
|
@@ -3679,6 +3679,19 @@ class MLAOptions {
|
|
3679 |
$message_list = '';
|
3680 |
$settings_changed = false;
|
3681 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3682 |
foreach ( $new_values['taxonomy'] as $new_key => $new_value ) {
|
3683 |
if ( isset( $current_values['taxonomy'][ $new_key ] ) ) {
|
3684 |
$old_values = $current_values['taxonomy'][ $new_key ];
|
@@ -3761,7 +3774,7 @@ class MLAOptions {
|
|
3761 |
/*
|
3762 |
* Uncomment this for debugging.
|
3763 |
*/
|
3764 |
-
|
3765 |
|
3766 |
return array( 'message' => $error_list, 'values' => $current_values, 'changed' => $settings_changed );
|
3767 |
} // _update_iptc_exif_taxonomy_mapping
|
1473 |
* Otherwise there's no way to turn them back on.
|
1474 |
*/
|
1475 |
if ( ! array_key_exists( 'attachment_category', $taxonomies ) ) {
|
1476 |
+
$taxonomies['attachment_category'] = (object) array( 'labels' => (object) array( 'name' => __( 'Attachment Categories', 'media-library-assistant' ) ), 'hierarchical' => true );
|
1477 |
if ( isset( $tax_support['attachment_category'] ) ) {
|
1478 |
unset( $tax_support['attachment_category'] );
|
1479 |
}
|
1488 |
}
|
1489 |
|
1490 |
if ( ! array_key_exists( 'attachment_tag', $taxonomies ) ) {
|
1491 |
+
$taxonomies['attachment_tag'] = (object) array( 'labels' => (object) array( 'name' => __( 'Attachment Tags', 'media-library-assistant' ) ), 'hierarchical' => false );
|
1492 |
|
1493 |
if ( isset( $tax_support['attachment_tag'] ) ) {
|
1494 |
unset( $tax_support['attachment_tag'] );
|
3384 |
$new_terms[] = $term_object['term_id'];
|
3385 |
} else {
|
3386 |
$term_object = wp_insert_term( $new_term, $setting_key, array( 'parent' => $tax_parent ) );
|
3387 |
+
if ( ( ! is_wp_error( $term_object ) ) && isset( $term_object['term_id'] ) ) {
|
3388 |
$new_terms[] = $term_object['term_id'];
|
3389 |
}
|
3390 |
}
|
3679 |
$message_list = '';
|
3680 |
$settings_changed = false;
|
3681 |
|
3682 |
+
/*
|
3683 |
+
* Remove rules for taxonomies that no longer exist
|
3684 |
+
*/
|
3685 |
+
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'objects' );
|
3686 |
+
foreach ( $current_values['taxonomy'] as $new_key => $new_value ) {
|
3687 |
+
if ( ! isset( $taxonomies[ $new_key ] ) ) {
|
3688 |
+
$settings_changed = true;
|
3689 |
+
/* translators: 1: custom field name */
|
3690 |
+
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), $new_key ) . "\r\n";
|
3691 |
+
unset( $current_values['taxonomy'][ $new_key ] );
|
3692 |
+
}
|
3693 |
+
}
|
3694 |
+
|
3695 |
foreach ( $new_values['taxonomy'] as $new_key => $new_value ) {
|
3696 |
if ( isset( $current_values['taxonomy'][ $new_key ] ) ) {
|
3697 |
$old_values = $current_values['taxonomy'][ $new_key ];
|
3774 |
/*
|
3775 |
* Uncomment this for debugging.
|
3776 |
*/
|
3777 |
+
// $error_list .= $message_list;
|
3778 |
|
3779 |
return array( 'message' => $error_list, 'values' => $current_values, 'changed' => $settings_changed );
|
3780 |
} // _update_iptc_exif_taxonomy_mapping
|
includes/class-mla-settings.php
CHANGED
@@ -352,7 +352,7 @@ class MLASettings {
|
|
352 |
$tab = 'general';
|
353 |
}
|
354 |
|
355 |
-
$tab =
|
356 |
self::$current_page_hook = add_submenu_page( 'options-general.php', __( 'Media Library Assistant Settings', 'media-library-assistant' ), __( 'Media Library Assistant', 'media-library-assistant' ), 'manage_options', self::MLA_SETTINGS_SLUG . $tab, 'MLASettings::mla_render_settings_page' );
|
357 |
add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_menu_options_action' );
|
358 |
add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_help_tab_action' );
|
@@ -849,15 +849,15 @@ class MLASettings {
|
|
849 |
* Definitions for Settings page tab ids, titles and handlers
|
850 |
* Each tab is defined by an array with the following elements:
|
851 |
*
|
852 |
-
* The array must be populated at runtime in MLASettings::mla_localize_tablist(),
|
853 |
-
* because Localization calls cannot be placed in the "public static" array definition itself.
|
854 |
-
*
|
855 |
* array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)
|
856 |
*
|
857 |
* title => tab label / heading text
|
858 |
* render => rendering function for tab messages and content. Usage:
|
859 |
* $tab_content = ['render']( );
|
860 |
*
|
|
|
|
|
|
|
861 |
* @since 0.80
|
862 |
*
|
863 |
* @var array
|
@@ -886,6 +886,32 @@ class MLASettings {
|
|
886 |
);
|
887 |
}
|
888 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
889 |
/**
|
890 |
* Compose the navigation tabs for the Settings subpage
|
891 |
*
|
@@ -899,7 +925,7 @@ class MLASettings {
|
|
899 |
private static function _compose_settings_tabs( $active_tab = 'general' ) {
|
900 |
$tablist_item = self::$page_template_array['tablist-item'];
|
901 |
$tabs = '';
|
902 |
-
foreach ( self
|
903 |
$item_values = array(
|
904 |
'data-tab-id' => $key,
|
905 |
'nav-tab-active' => ( $active_tab == $key ) ? 'nav-tab-active' : '',
|
@@ -2517,13 +2543,14 @@ class MLASettings {
|
|
2517 |
* Load template array and initialize page-level values.
|
2518 |
*/
|
2519 |
self::$page_template_array = MLAData::mla_load_template( 'admin-display-settings-page.tpl' );
|
2520 |
-
$
|
|
|
2521 |
$page_values = array(
|
2522 |
// 'settingsURL' => admin_url('options-general.php'),
|
2523 |
'donateURL' => MLA_PLUGIN_URL . 'images/DonateButton.jpg',
|
2524 |
'version' => 'v' . MLA::CURRENT_MLA_VERSION,
|
2525 |
'messages' => '',
|
2526 |
-
'tablist' => self::_compose_settings_tabs( $
|
2527 |
'tab_content' => '',
|
2528 |
'Media Library Assistant' => __( 'Media Library Assistant', 'media-library-assistant' ),
|
2529 |
'Settings' => __( 'Settings', 'media-library-assistant' )
|
@@ -2532,9 +2559,9 @@ class MLASettings {
|
|
2532 |
/*
|
2533 |
* Compose tab content
|
2534 |
*/
|
2535 |
-
if (
|
2536 |
-
if ( isset(
|
2537 |
-
$handler =
|
2538 |
$page_content = self::$handler( );
|
2539 |
} else {
|
2540 |
$page_content = array( 'message' => __( 'ERROR: Cannot render content tab', 'media-library-assistant' ), 'body' => '' );
|
352 |
$tab = 'general';
|
353 |
}
|
354 |
|
355 |
+
$tab = self::mla_get_options_tablist( $tab ) ? '-' . $tab : '-general';
|
356 |
self::$current_page_hook = add_submenu_page( 'options-general.php', __( 'Media Library Assistant Settings', 'media-library-assistant' ), __( 'Media Library Assistant', 'media-library-assistant' ), 'manage_options', self::MLA_SETTINGS_SLUG . $tab, 'MLASettings::mla_render_settings_page' );
|
357 |
add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_menu_options_action' );
|
358 |
add_action( 'load-' . self::$current_page_hook, 'MLASettings::mla_add_help_tab_action' );
|
849 |
* Definitions for Settings page tab ids, titles and handlers
|
850 |
* Each tab is defined by an array with the following elements:
|
851 |
*
|
|
|
|
|
|
|
852 |
* array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)
|
853 |
*
|
854 |
* title => tab label / heading text
|
855 |
* render => rendering function for tab messages and content. Usage:
|
856 |
* $tab_content = ['render']( );
|
857 |
*
|
858 |
+
* The array must be populated at runtime in MLASettings::mla_localize_tablist(),
|
859 |
+
* because Localization calls cannot be placed in the "public static" array definition itself.
|
860 |
+
*
|
861 |
* @since 0.80
|
862 |
*
|
863 |
* @var array
|
886 |
);
|
887 |
}
|
888 |
|
889 |
+
/**
|
890 |
+
* Localize $mla_option_definitions array
|
891 |
+
*
|
892 |
+
* Localization must be done at runtime, and these calls cannot be placed
|
893 |
+
* in the "public static" array definition itself.
|
894 |
+
*
|
895 |
+
* @since 1.82
|
896 |
+
*
|
897 |
+
* @param string Tab slug, to retrieve a single entry
|
898 |
+
*
|
899 |
+
* @return array|false The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed
|
900 |
+
*/
|
901 |
+
private static function mla_get_options_tablist( $tab = NULL ) {
|
902 |
+
if ( is_string( $tab ) ) {
|
903 |
+
if ( isset( self::$mla_tablist[ $tab ] ) ) {
|
904 |
+
$results = self::$mla_tablist[ $tab ];
|
905 |
+
} else {
|
906 |
+
return false;
|
907 |
+
}
|
908 |
+
} else {
|
909 |
+
$results = self::$mla_tablist;
|
910 |
+
}
|
911 |
+
|
912 |
+
return apply_filters( 'mla_get_options_tablist', $results, self::$mla_tablist, $tab );
|
913 |
+
}
|
914 |
+
|
915 |
/**
|
916 |
* Compose the navigation tabs for the Settings subpage
|
917 |
*
|
925 |
private static function _compose_settings_tabs( $active_tab = 'general' ) {
|
926 |
$tablist_item = self::$page_template_array['tablist-item'];
|
927 |
$tabs = '';
|
928 |
+
foreach ( self::mla_get_options_tablist() as $key => $item ) {
|
929 |
$item_values = array(
|
930 |
'data-tab-id' => $key,
|
931 |
'nav-tab-active' => ( $active_tab == $key ) ? 'nav-tab-active' : '',
|
2543 |
* Load template array and initialize page-level values.
|
2544 |
*/
|
2545 |
self::$page_template_array = MLAData::mla_load_template( 'admin-display-settings-page.tpl' );
|
2546 |
+
$current_tab_slug = isset( $_REQUEST['mla_tab'] ) ? $_REQUEST['mla_tab']: 'general';
|
2547 |
+
$current_tab = self::mla_get_options_tablist( $current_tab_slug );
|
2548 |
$page_values = array(
|
2549 |
// 'settingsURL' => admin_url('options-general.php'),
|
2550 |
'donateURL' => MLA_PLUGIN_URL . 'images/DonateButton.jpg',
|
2551 |
'version' => 'v' . MLA::CURRENT_MLA_VERSION,
|
2552 |
'messages' => '',
|
2553 |
+
'tablist' => self::_compose_settings_tabs( $current_tab_slug ),
|
2554 |
'tab_content' => '',
|
2555 |
'Media Library Assistant' => __( 'Media Library Assistant', 'media-library-assistant' ),
|
2556 |
'Settings' => __( 'Settings', 'media-library-assistant' )
|
2559 |
/*
|
2560 |
* Compose tab content
|
2561 |
*/
|
2562 |
+
if ( $current_tab ) {
|
2563 |
+
if ( isset( $current_tab['render'] ) ) {
|
2564 |
+
$handler = $current_tab['render'];
|
2565 |
$page_content = self::$handler( );
|
2566 |
} else {
|
2567 |
$page_content = array( 'message' => __( 'ERROR: Cannot render content tab', 'media-library-assistant' ), 'body' => '' );
|
includes/class-mla-shortcodes.php
CHANGED
@@ -511,7 +511,7 @@ class MLAShortcodes {
|
|
511 |
$style_template = $gallery_style = '';
|
512 |
|
513 |
if ( 'theme' == strtolower( $style_values['mla_style'] ) ) {
|
514 |
-
$use_mla_gallery_style = apply_filters( 'use_default_gallery_style',
|
515 |
} else {
|
516 |
$use_mla_gallery_style = ( 'none' != strtolower( $style_values['mla_style'] ) );
|
517 |
}
|
@@ -825,6 +825,20 @@ class MLAShortcodes {
|
|
825 |
$item_values['pagelink'] = wp_get_attachment_link($attachment->ID, $size, true, $show_icon, $link_text);
|
826 |
$item_values['filelink'] = wp_get_attachment_link($attachment->ID, $size, false, $show_icon, $link_text);
|
827 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
828 |
/*
|
829 |
* Apply the Gallery Display Content parameters.
|
830 |
* Note that $link_attributes and $rollover_text
|
@@ -1904,6 +1918,38 @@ class MLAShortcodes {
|
|
1904 |
return self::mla_tag_cloud( $attr );
|
1905 |
}
|
1906 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1907 |
/**
|
1908 |
* Handles brace/bracket escaping and parses template for a shortcode parameter
|
1909 |
*
|
511 |
$style_template = $gallery_style = '';
|
512 |
|
513 |
if ( 'theme' == strtolower( $style_values['mla_style'] ) ) {
|
514 |
+
$use_mla_gallery_style = apply_filters( 'use_default_gallery_style', ! $html5 );
|
515 |
} else {
|
516 |
$use_mla_gallery_style = ( 'none' != strtolower( $style_values['mla_style'] ) );
|
517 |
}
|
825 |
$item_values['pagelink'] = wp_get_attachment_link($attachment->ID, $size, true, $show_icon, $link_text);
|
826 |
$item_values['filelink'] = wp_get_attachment_link($attachment->ID, $size, false, $show_icon, $link_text);
|
827 |
|
828 |
+
if ( in_array( $attachment->post_mime_type, array( 'image/svg+xml' ) ) ) {
|
829 |
+
$registered_dimensions = self::_registered_dimensions();
|
830 |
+
if ( isset( $registered_dimensions[ $size_class ] ) ) {
|
831 |
+
$dimensions = $registered_dimensions[ $size_class ];
|
832 |
+
} else {
|
833 |
+
$dimensions = $registered_dimensions['thumbnail'];
|
834 |
+
}
|
835 |
+
|
836 |
+
$thumb = preg_replace( '/width=\"[^\"]*\"/', sprintf( 'width="%1$d"', $dimensions[1] ), $item_values['pagelink'] );
|
837 |
+
$item_values['pagelink'] = preg_replace( '/height=\"[^\"]*\"/', sprintf( 'height="%1$d"', $dimensions[0] ), $thumb );
|
838 |
+
$thumb = preg_replace( '/width=\"[^\"]*\"/', sprintf( 'width="%1$d"', $dimensions[1] ), $item_values['filelink'] );
|
839 |
+
$item_values['filelink'] = preg_replace( '/height=\"[^\"]*\"/', sprintf( 'height="%1$d"', $dimensions[0] ), $thumb );
|
840 |
+
}
|
841 |
+
|
842 |
/*
|
843 |
* Apply the Gallery Display Content parameters.
|
844 |
* Note that $link_attributes and $rollover_text
|
1918 |
return self::mla_tag_cloud( $attr );
|
1919 |
}
|
1920 |
|
1921 |
+
/**
|
1922 |
+
* Computes image dimensions for scalable graphics, e.g., SVG
|
1923 |
+
*
|
1924 |
+
* @since 1.82
|
1925 |
+
*
|
1926 |
+
* @return array
|
1927 |
+
*/
|
1928 |
+
private static function _registered_dimensions() {
|
1929 |
+
global $_wp_additional_image_sizes;
|
1930 |
+
|
1931 |
+
if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
1932 |
+
$sizes = array( 'icon' => array( 64, 64 ) );
|
1933 |
+
} else {
|
1934 |
+
$sizes = array( 'icon' => array( 60, 60 ) );
|
1935 |
+
}
|
1936 |
+
|
1937 |
+
foreach( get_intermediate_image_sizes() as $s ) {
|
1938 |
+
$sizes[ $s ] = array( 0, 0 );
|
1939 |
+
|
1940 |
+
if( in_array( $s, array( 'thumbnail', 'medium', 'large' ) ) ) {
|
1941 |
+
$sizes[ $s ][0] = get_option( $s . '_size_w' );
|
1942 |
+
$sizes[ $s ][1] = get_option( $s . '_size_h' );
|
1943 |
+
} else {
|
1944 |
+
if( isset( $_wp_additional_image_sizes ) && isset( $_wp_additional_image_sizes[ $s ] ) ) {
|
1945 |
+
$sizes[ $s ] = array( $_wp_additional_image_sizes[ $s ]['width'], $_wp_additional_image_sizes[ $s ]['height'], );
|
1946 |
+
}
|
1947 |
+
}
|
1948 |
+
}
|
1949 |
+
|
1950 |
+
return $sizes;
|
1951 |
+
}
|
1952 |
+
|
1953 |
/**
|
1954 |
* Handles brace/bracket escaping and parses template for a shortcode parameter
|
1955 |
*
|
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.
|
10 |
*/
|
11 |
|
12 |
/*
|
@@ -16,10 +16,10 @@ 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.
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
-
Copyright 2011-
|
23 |
|
24 |
This program is free software; you can redistribute it and/or modify
|
25 |
it under the terms of the GNU General Public License as published by
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
+
* @version 1.82
|
10 |
*/
|
11 |
|
12 |
/*
|
16 |
Author: David Lingren
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 1.82
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
+
Copyright 2011-2014 David Lingren
|
23 |
|
24 |
This program is free software; you can redistribute it and/or modify
|
25 |
it under the terms of the GNU General Public License as published by
|
js/mla-edit-media-scripts.js
CHANGED
@@ -1,93 +1,149 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
20 |
});
|
21 |
-
|
22 |
-
$( '#search-' + taxonomy ).keypress( function( event ){
|
23 |
-
|
24 |
-
if( 13 === event.keyCode ) {
|
25 |
-
event.preventDefault();
|
26 |
-
$( '#search-' + taxonomy ).val( '' );
|
27 |
-
$( '#' + taxonomy + '-searcher' ).addClass( 'wp-hidden-children' );
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
$( '#' + taxonomy + 'checklist li' ).show();
|
30 |
$( '#' + taxonomy + 'checklist-pop li' ).show();
|
31 |
-
return;
|
32 |
-
}
|
33 |
-
|
34 |
-
} );
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
}
|
44 |
-
|
45 |
-
searchValue = $( '#search-' + taxonomy ).val(),
|
46 |
-
termList = $( '#' + taxonomy + 'checklist li' );
|
47 |
-
termListPopular = $( '#' + taxonomy + 'checklist-pop li' );
|
48 |
-
|
49 |
-
if ( 0 < searchValue.length ) {
|
50 |
-
termList.hide();
|
51 |
-
termListPopular.hide();
|
52 |
-
} else {
|
53 |
-
termList.show();
|
54 |
-
termListPopular.show();
|
55 |
-
}
|
56 |
-
|
57 |
-
matchingTerms = $( '#' + taxonomy + "checklist label:matchTerms('" + searchValue + "')");
|
58 |
-
matchingTerms.closest( 'li' ).find( 'li' ).andSelf().show();
|
59 |
-
matchingTerms.parents( '#' + taxonomy + 'checklist li' ).show();
|
60 |
-
|
61 |
-
matchingTermsPopular = $( '#' + taxonomy + "checklist-pop label:matchTerms('" + searchValue + "')");
|
62 |
-
matchingTermsPopular.closest( 'li' ).find( 'li' ).andSelf().show();
|
63 |
-
matchingTermsPopular.parents( '#' + taxonomy + 'checklist li' ).show();
|
64 |
-
} );
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
$( '
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
|
|
|
|
81 |
/*
|
82 |
-
*
|
83 |
*/
|
84 |
-
$( '#
|
85 |
-
|
|
|
86 |
return false;
|
87 |
});
|
88 |
-
}
|
89 |
-
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
-
$(
|
|
|
|
|
|
|
|
|
93 |
})( jQuery );
|
1 |
+
var mla = {
|
2 |
+
// Properties
|
3 |
+
settings: {},
|
4 |
|
5 |
+
// Utility functions
|
6 |
+
utility: {
|
7 |
+
},
|
8 |
+
|
9 |
+
// Components
|
10 |
+
setParent: null,
|
11 |
+
mlaEditAttachment: null
|
12 |
+
};
|
13 |
+
|
14 |
+
( function( $ ) {
|
15 |
+
/**
|
16 |
+
* Localized settings and strings
|
17 |
+
*/
|
18 |
+
mla.settings = typeof mla_edit_media_vars === 'undefined' ? {} : mla_edit_media_vars;
|
19 |
+
delete mla_edit_media_vars;
|
20 |
|
21 |
+
// The mlaEditAttachment functions are adapted from wp-admin/js/post.js
|
22 |
+
mla.mlaEditAttachment = {
|
23 |
+
init : function(){
|
24 |
+
$( '#mla_set_parent' ).on( 'click', function(){
|
25 |
+
return mla.mlaEditAttachment.setParentOpen();
|
26 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
+
$('.categorydiv').each( function(){
|
29 |
+
var this_id = $(this).attr('id'), taxonomyParts, taxonomy, settingName;
|
30 |
+
|
31 |
+
taxonomyParts = this_id.split('-');
|
32 |
+
taxonomyParts.shift(); // taxonomy-
|
33 |
+
taxonomy = taxonomyParts.join('-');
|
34 |
+
settingName = taxonomy + '_tab';
|
35 |
+
if ( taxonomy == 'category' )
|
36 |
+
settingName = 'cats';
|
37 |
+
|
38 |
+
$.extend( $.expr[":"], {
|
39 |
+
"matchTerms": function( elem, i, match, array ) {
|
40 |
+
return ( elem.textContent || elem.innerText || "" ).toLowerCase().indexOf( ( match[3] || "" ).toLowerCase() ) >= 0;
|
41 |
+
}
|
42 |
+
});
|
43 |
+
|
44 |
+
$( '#search-' + taxonomy ).keypress( function( event ){
|
45 |
+
|
46 |
+
if( 13 === event.keyCode ) {
|
47 |
+
event.preventDefault();
|
48 |
+
$( '#search-' + taxonomy ).val( '' );
|
49 |
+
$( '#' + taxonomy + '-searcher' ).addClass( 'wp-hidden-children' );
|
50 |
+
|
51 |
+
$( '#' + taxonomy + 'checklist li' ).show();
|
52 |
+
$( '#' + taxonomy + 'checklist-pop li' ).show();
|
53 |
+
return;
|
54 |
+
}
|
55 |
+
|
56 |
+
} );
|
57 |
+
|
58 |
+
$( '#search-' + taxonomy ).keyup( function( event ){
|
59 |
+
var searchValue, matchingTerms, matchingTermsPopular;
|
60 |
+
|
61 |
+
if( 13 === event.keyCode ) {
|
62 |
+
event.preventDefault();
|
63 |
+
$( '#' + taxonomy + '-search-toggle' ).focus();
|
64 |
+
return;
|
65 |
+
}
|
66 |
+
|
67 |
+
searchValue = $( '#search-' + taxonomy ).val(),
|
68 |
+
termList = $( '#' + taxonomy + 'checklist li' );
|
69 |
+
termListPopular = $( '#' + taxonomy + 'checklist-pop li' );
|
70 |
+
|
71 |
+
if ( 0 < searchValue.length ) {
|
72 |
+
termList.hide();
|
73 |
+
termListPopular.hide();
|
74 |
+
} else {
|
75 |
+
termList.show();
|
76 |
+
termListPopular.show();
|
77 |
+
}
|
78 |
+
|
79 |
+
matchingTerms = $( '#' + taxonomy + "checklist label:matchTerms('" + searchValue + "')");
|
80 |
+
matchingTerms.closest( 'li' ).find( 'li' ).andSelf().show();
|
81 |
+
matchingTerms.parents( '#' + taxonomy + 'checklist li' ).show();
|
82 |
+
|
83 |
+
matchingTermsPopular = $( '#' + taxonomy + "checklist-pop label:matchTerms('" + searchValue + "')");
|
84 |
+
matchingTermsPopular.closest( 'li' ).find( 'li' ).andSelf().show();
|
85 |
+
matchingTermsPopular.parents( '#' + taxonomy + 'checklist li' ).show();
|
86 |
+
} );
|
87 |
+
|
88 |
+
$( '#' + taxonomy + '-search-toggle' ).click( function() {
|
89 |
+
$( '#' + taxonomy + '-adder ').addClass( 'wp-hidden-children' );
|
90 |
+
$( '#' + taxonomy + '-searcher' ).toggleClass( 'wp-hidden-children' );
|
91 |
+
$( 'a[href="#' + taxonomy + '-all"]', '#' + taxonomy + '-tabs' ).click();
|
92 |
$( '#' + taxonomy + 'checklist li' ).show();
|
93 |
$( '#' + taxonomy + 'checklist-pop li' ).show();
|
|
|
|
|
|
|
|
|
94 |
|
95 |
+
if ( false === $( '#' + taxonomy + '-searcher' ).hasClass( 'wp-hidden-children' ) ) {
|
96 |
+
$( '#search-' + taxonomy ).val( '' ).removeClass( 'form-input-tip' );
|
97 |
+
$( '#search-' + taxonomy ).focus();
|
98 |
+
}
|
99 |
+
|
100 |
+
return false;
|
101 |
+
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
+
/*
|
104 |
+
* Supplement the click logic in wp-admin/js/post.js
|
105 |
+
*/
|
106 |
+
$( '#' + taxonomy + '-add-toggle' ).click( function() {
|
107 |
+
$( '#' + taxonomy + '-searcher' ).addClass( 'wp-hidden-children' );
|
108 |
+
return false;
|
109 |
+
});
|
110 |
+
}); // .categorydiv.each,
|
111 |
+
}, // function init
|
112 |
+
|
113 |
+
setParentOpen : function() {
|
114 |
+
var parentId, postId, postTitle;
|
115 |
+
|
116 |
+
parentId = $( '#mla_post_parent' ).val() || '';
|
117 |
+
postId = $( '#post_ID' ).val() || '';
|
118 |
+
postTitle = $( '#title' ).val() || '';
|
119 |
+
mla.setParent.open( parentId, postId, postTitle );
|
120 |
/*
|
121 |
+
* Grab the "Update" button
|
122 |
*/
|
123 |
+
$( '#mla-set-parent-submit' ).on( 'click', function( event ){
|
124 |
+
event.preventDefault();
|
125 |
+
mla.mlaEditAttachment.setParentSave( postId );
|
126 |
return false;
|
127 |
});
|
128 |
+
},
|
129 |
+
|
130 |
+
setParentSave : function( postId ) {
|
131 |
+
var foundRow = $( '#mla-set-parent-response-div input:checked' ).closest( 'tr' ),
|
132 |
+
parentId, parentTitle, newParent, newTitle;
|
133 |
+
|
134 |
+
if ( foundRow.length ) {
|
135 |
+
parentId = $( ':radio', foundRow ).val() || '';
|
136 |
+
parentTitle = $( 'label', foundRow ).html() || '';
|
137 |
+
newParent = $( '#mla_post_parent' ).clone( true ).val( parentId );
|
138 |
+
newTitle = $( '#mla_parent_info' ).clone( true ).val( parentTitle );
|
139 |
+
$( '#mla_post_parent' ).replaceWith( newParent );
|
140 |
+
$( '#mla_parent_info' ).replaceWith( newTitle );
|
141 |
+
mla.setParent.close();
|
142 |
+
}
|
143 |
|
144 |
+
$( '#mla-set-parent-submit' ).off( 'click' );
|
145 |
+
}
|
146 |
+
} // mla.mlaEditAttachment
|
147 |
+
|
148 |
+
$( document ).ready( function(){ mla.mlaEditAttachment.init(); } );
|
149 |
})( jQuery );
|
js/mla-edit-media-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(a){mlaEditAttachment={init:function(){a(".categorydiv").each(function(){var e=a(this).attr("id"),d,b,c;d=e.split("-");d.shift();b=d.join("-");c=b+"_tab";if(b=="category"){c="cats"}a.extend(a.expr[":"],{matchTerms:function(h,g,f,j){return(h.textContent||h.innerText||"").toLowerCase().indexOf((f[3]||"").toLowerCase())>=0}});a("#search-"+b).keypress(function(f){if(13===f.keyCode){f.preventDefault();a("#search-"+b).val("");a("#"+b+"-searcher").addClass("wp-hidden-children");a("#"+b+"checklist li").show();a("#"+b+"checklist-pop li").show();return}});a("#search-"+b).keyup(function(h){var i,g,f;if(13===h.keyCode){h.preventDefault();a("#"+b+"-search-toggle").focus();return}i=a("#search-"+b).val(),termList=a("#"+b+"checklist li");termListPopular=a("#"+b+"checklist-pop li");if(0<i.length){termList.hide();termListPopular.hide()}else{termList.show();termListPopular.show()}g=a("#"+b+"checklist label:matchTerms('"+i+"')");g.closest("li").find("li").andSelf().show();g.parents("#"+b+"checklist li").show();f=a("#"+b+"checklist-pop label:matchTerms('"+i+"')");f.closest("li").find("li").andSelf().show();f.parents("#"+b+"checklist li").show()});a("#"+b+"-search-toggle").click(function(){a("#"+b+"-adder ").addClass("wp-hidden-children");a("#"+b+"-searcher").toggleClass("wp-hidden-children");a('a[href="#'+b+'-all"]',"#"+b+"-tabs").click();a("#"+b+"checklist li").show();a("#"+b+"checklist-pop li").show();if(false===a("#"+b+"-searcher").hasClass("wp-hidden-children")){a("#search-"+b).val("").removeClass("form-input-tip");a("#search-"+b).focus()}return false});a("#"+b+"-add-toggle").click(function(){a("#"+b+"-searcher").addClass("wp-hidden-children");return false})})}};a(document).ready(function(){mlaEditAttachment.init()})})(jQuery);
|
1 |
+
var mla={settings:{},utility:{},setParent:null,mlaEditAttachment:null};(function(a){mla.settings=typeof mla_edit_media_vars==="undefined"?{}:mla_edit_media_vars;delete mla_edit_media_vars;mla.mlaEditAttachment={init:function(){a("#mla_set_parent").on("click",function(){return mla.mlaEditAttachment.setParentOpen()});a(".categorydiv").each(function(){var e=a(this).attr("id"),d,b,c;d=e.split("-");d.shift();b=d.join("-");c=b+"_tab";if(b=="category"){c="cats"}a.extend(a.expr[":"],{matchTerms:function(h,g,f,j){return(h.textContent||h.innerText||"").toLowerCase().indexOf((f[3]||"").toLowerCase())>=0}});a("#search-"+b).keypress(function(f){if(13===f.keyCode){f.preventDefault();a("#search-"+b).val("");a("#"+b+"-searcher").addClass("wp-hidden-children");a("#"+b+"checklist li").show();a("#"+b+"checklist-pop li").show();return}});a("#search-"+b).keyup(function(h){var i,g,f;if(13===h.keyCode){h.preventDefault();a("#"+b+"-search-toggle").focus();return}i=a("#search-"+b).val(),termList=a("#"+b+"checklist li");termListPopular=a("#"+b+"checklist-pop li");if(0<i.length){termList.hide();termListPopular.hide()}else{termList.show();termListPopular.show()}g=a("#"+b+"checklist label:matchTerms('"+i+"')");g.closest("li").find("li").andSelf().show();g.parents("#"+b+"checklist li").show();f=a("#"+b+"checklist-pop label:matchTerms('"+i+"')");f.closest("li").find("li").andSelf().show();f.parents("#"+b+"checklist li").show()});a("#"+b+"-search-toggle").click(function(){a("#"+b+"-adder ").addClass("wp-hidden-children");a("#"+b+"-searcher").toggleClass("wp-hidden-children");a('a[href="#'+b+'-all"]',"#"+b+"-tabs").click();a("#"+b+"checklist li").show();a("#"+b+"checklist-pop li").show();if(false===a("#"+b+"-searcher").hasClass("wp-hidden-children")){a("#search-"+b).val("").removeClass("form-input-tip");a("#search-"+b).focus()}return false});a("#"+b+"-add-toggle").click(function(){a("#"+b+"-searcher").addClass("wp-hidden-children");return false})})},setParentOpen:function(){var d,b,c;d=a("#mla_post_parent").val()||"";b=a("#post_ID").val()||"";c=a("#title").val()||"";mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.mlaEditAttachment.setParentSave(b);return false})},setParentSave:function(b){var e=a("#mla-set-parent-response-div input:checked").closest("tr"),g,d,c,f;if(e.length){g=a(":radio",e).val()||"";d=a("label",e).html()||"";c=a("#mla_post_parent").clone(true).val(g);f=a("#mla_parent_info").clone(true).val(d);a("#mla_post_parent").replaceWith(c);a("#mla_parent_info").replaceWith(f);mla.setParent.close()}a("#mla-set-parent-submit").off("click")}};a(document).ready(function(){mla.mlaEditAttachment.init()})})(jQuery);
|
js/mla-inline-edit-scripts.js
CHANGED
@@ -1,252 +1,369 @@
|
|
1 |
-
|
2 |
-
(function($) {
|
3 |
-
inlineEditAttachment = {
|
4 |
|
5 |
-
|
6 |
-
|
|
|
7 |
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
// prepare the edit rows
|
12 |
-
qeRow.keyup(function(e){
|
13 |
-
if (e.which == 27)
|
14 |
-
return inlineEditAttachment.revert();
|
15 |
-
});
|
16 |
-
bulkRow.keyup(function(e){
|
17 |
-
if (e.which == 27)
|
18 |
-
return inlineEditAttachment.revert();
|
19 |
-
});
|
20 |
-
|
21 |
-
$('a.cancel', qeRow).click(function(){
|
22 |
-
return inlineEditAttachment.revert();
|
23 |
-
});
|
24 |
-
$('a.save', qeRow).click(function(){
|
25 |
-
return inlineEditAttachment.save(this);
|
26 |
-
});
|
27 |
-
$('td', qeRow).keydown(function(e){
|
28 |
-
if ( e.which == 13 )
|
29 |
-
return inlineEditAttachment.save(this);
|
30 |
-
});
|
31 |
-
|
32 |
-
$('a.cancel', bulkRow).click(function(){
|
33 |
-
return inlineEditAttachment.revert();
|
34 |
-
});
|
35 |
-
|
36 |
-
// add events
|
37 |
-
$('a.editinline').live('click', function(){
|
38 |
-
inlineEditAttachment.edit(this);
|
39 |
-
return false;
|
40 |
-
});
|
41 |
-
|
42 |
-
// hiearchical taxonomies expandable?
|
43 |
-
$('span.catshow').click(function(){
|
44 |
-
$(this).hide().next().show().parent().next().addClass("cat-hover");
|
45 |
-
});
|
46 |
-
|
47 |
-
$('span.cathide').click(function(){
|
48 |
-
$(this).hide().prev().show().parent().next().removeClass("cat-hover");
|
49 |
-
});
|
50 |
-
|
51 |
-
$('select[name="_status"] option[value="future"]', bulkRow).remove();
|
52 |
|
53 |
-
|
54 |
-
|
|
|
|
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
t.revert();
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
t.revert();
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
c = false;
|
87 |
-
var id = $(this).val(), theTitle;
|
88 |
-
theTitle = $('#inline_'+id+' .post_title').text() || mla_inline_edit_vars.notitle;
|
89 |
-
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+mla_inline_edit_vars.ntdeltitle+'">X</a>'+theTitle+'</div>';
|
90 |
}
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
return this.revert();
|
95 |
-
|
96 |
-
$('#bulk-titles').html(te);
|
97 |
-
$('#bulk-titles a').click(function(){
|
98 |
-
var id = $(this).attr('id').substr(1);
|
99 |
-
|
100 |
-
$('table.widefat input[value="' + id + '"]').prop('checked', false);
|
101 |
-
$('#ttle'+id).remove();
|
102 |
-
});
|
103 |
-
|
104 |
-
//flat taxonomies
|
105 |
-
$('textarea.mla_tags').each(function(){
|
106 |
-
var taxname = $(this).attr('name').replace(']', '').replace('tax_input[', '');
|
107 |
-
|
108 |
-
$(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: mla_inline_edit_vars.comma + ' ' } );
|
109 |
-
});
|
110 |
-
|
111 |
-
$('html, body').animate( { scrollTop: 0 }, 'fast' );
|
112 |
-
},
|
113 |
-
|
114 |
-
edit : function(id) {
|
115 |
-
var t = this, fields, editRow, rowData, fIndex;
|
116 |
-
t.revert();
|
117 |
-
|
118 |
-
if ( typeof(id) == 'object' )
|
119 |
-
id = t.getId(id);
|
120 |
-
|
121 |
-
fields = mla_inline_edit_vars.fields;
|
122 |
-
|
123 |
-
// add the new blank row
|
124 |
-
editRow = $('#inline-edit').clone(true);
|
125 |
-
$('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);
|
126 |
-
|
127 |
-
if ( $(t.what+id).hasClass('alternate') )
|
128 |
-
$(editRow).addClass('alternate');
|
129 |
-
$(t.what+id).hide().after(editRow);
|
130 |
-
|
131 |
-
// populate the data
|
132 |
-
rowData = $('#inline_'+id);
|
133 |
-
if ( !$(':input[name="post_author"] option[value="' + $('.post_author', rowData).text() + '"]', editRow).val() ) {
|
134 |
-
// author no longer has edit caps, so we need to add them to the list of authors
|
135 |
-
$(':input[name="post_author"]', editRow).prepend('<option value="' + $('.post_author', rowData).text() + '">' + $('#' + t.type + '-' + id + ' .author').text() + '</option>');
|
136 |
-
}
|
137 |
-
|
138 |
-
if ( $(':input[name="post_author"] option', editRow).length == 1 ) {
|
139 |
-
$('label.inline-edit-author', editRow).hide();
|
140 |
-
}
|
141 |
-
|
142 |
-
for ( fIndex = 0; fIndex < fields.length; fIndex++ ) {
|
143 |
-
$(':input[name="' + fields[fIndex] + '"]', editRow).val( $('.'+fields[fIndex], rowData).text() );
|
144 |
-
}
|
145 |
-
|
146 |
-
if ( $('.image_alt', rowData).length == 0) {
|
147 |
-
$('label.inline-edit-image-alt', editRow).hide();
|
148 |
-
}
|
149 |
-
|
150 |
-
// hierarchical taxonomies
|
151 |
-
$('.mla_category', rowData).each(function(){
|
152 |
-
var term_ids = $(this).text();
|
153 |
-
|
154 |
-
if ( term_ids ) {
|
155 |
-
taxname = $(this).attr('id').replace('_'+id, '');
|
156 |
-
$('ul.'+taxname+'-checklist :checkbox', editRow).val(term_ids.split(','));
|
157 |
}
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
$('.mla_tags', rowData).each(function(){
|
162 |
-
var terms = $(this).text(),
|
163 |
-
taxname = $(this).attr('id').replace('_' + id, ''),
|
164 |
-
textarea = $('textarea.tax_input_' + taxname, editRow),
|
165 |
-
comma = mla_inline_edit_vars.comma;
|
166 |
-
|
167 |
-
if ( terms ) {
|
168 |
-
if ( ',' !== comma )
|
169 |
-
terms = terms.replace(/,/g, comma);
|
170 |
-
textarea.val(terms);
|
171 |
}
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
} else {
|
213 |
-
|
214 |
-
$('#edit-'+id+' .inline-edit-save .error').html(r).show();
|
215 |
}
|
216 |
-
} else {
|
217 |
-
$('#edit-'+id+' .inline-edit-save .error').html(mla_inline_edit_vars.error).show();
|
218 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
}
|
220 |
-
, 'html');
|
221 |
-
return false;
|
222 |
-
},
|
223 |
-
|
224 |
-
revert : function(){
|
225 |
-
var id = $('table.widefat tr.inline-editor').attr('id');
|
226 |
-
|
227 |
-
if ( id ) {
|
228 |
-
$('table.widefat .inline-edit-save .waiting').hide();
|
229 |
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
234 |
} else {
|
235 |
-
|
236 |
-
|
237 |
-
$(this.what+id).show();
|
238 |
}
|
239 |
-
}
|
240 |
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
|
251 |
-
$(document).ready(function(){
|
252 |
-
|
|
|
|
1 |
+
/* global ajaxurl */
|
|
|
|
|
2 |
|
3 |
+
var mla = {
|
4 |
+
// Properties
|
5 |
+
settings: {},
|
6 |
|
7 |
+
// Utility functions
|
8 |
+
utility: {
|
9 |
+
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
+
// Components
|
12 |
+
setParent: null,
|
13 |
+
inlineEditAttachment: null
|
14 |
+
};
|
15 |
|
16 |
+
( function( $ ) {
|
17 |
+
/**
|
18 |
+
* Localized settings and strings
|
19 |
+
*/
|
20 |
+
mla.settings = typeof mla_inline_edit_vars === 'undefined' ? {} : mla_inline_edit_vars;
|
21 |
+
delete mla_inline_edit_vars;
|
22 |
+
|
23 |
+
// The inlineEditAttachment functions are adapted from wp-admin/js/inline-edit-post.js
|
24 |
+
mla.inlineEditAttachment = {
|
25 |
+
init : function(){
|
26 |
+
var t = this, qeRow = $( '#inline-edit' ), bulkRow = $( '#bulk-edit' );
|
27 |
+
|
28 |
+
t.type = 'attachment';
|
29 |
+
t.what = '#attachment-';
|
30 |
+
|
31 |
+
// prepare the edit rows
|
32 |
+
qeRow.keyup(function(e){
|
33 |
+
if (e.which == 27)
|
34 |
+
return mla.inlineEditAttachment.revert();
|
35 |
+
});
|
36 |
+
bulkRow.keyup(function(e){
|
37 |
+
if (e.which == 27)
|
38 |
+
return mla.inlineEditAttachment.revert();
|
39 |
+
});
|
40 |
+
|
41 |
+
$('#inline-edit-post-set-parent', qeRow).on( 'click', function(){
|
42 |
+
return mla.inlineEditAttachment.inlineParentOpen(this);
|
43 |
+
});
|
44 |
+
$('a.cancel', qeRow).click(function(){
|
45 |
+
return mla.inlineEditAttachment.revert();
|
46 |
+
});
|
47 |
+
$('a.save', qeRow).click(function(){
|
48 |
+
return mla.inlineEditAttachment.save(this);
|
49 |
+
});
|
50 |
+
$('td', qeRow).keydown(function(e){
|
51 |
+
if ( e.which == 13 )
|
52 |
+
return mla.inlineEditAttachment.save(this);
|
53 |
+
});
|
54 |
+
|
55 |
+
$('a.cancel', bulkRow).click(function(){
|
56 |
+
return mla.inlineEditAttachment.revert();
|
57 |
+
});
|
58 |
+
|
59 |
+
// add event to the Quick Edit links
|
60 |
+
$( '#the-list' ).on( 'click', 'a.editinline', function(){
|
61 |
+
mla.inlineEditAttachment.edit(this);
|
62 |
+
return false;
|
63 |
+
});
|
64 |
+
|
65 |
+
// hiearchical taxonomies expandable?
|
66 |
+
$('span.catshow').click(function(){
|
67 |
+
$(this).hide().next().show().parent().next().addClass("cat-hover");
|
68 |
+
});
|
69 |
+
|
70 |
+
$('span.cathide').click(function(){
|
71 |
+
$(this).hide().prev().show().parent().next().removeClass("cat-hover");
|
72 |
+
});
|
73 |
+
|
74 |
+
$('select[name="_status"] option[value="future"]', bulkRow).remove();
|
75 |
+
|
76 |
+
$('#doaction, #doaction2').click(function(e){
|
77 |
+
var n = $(this).attr('id').substr(2);
|
78 |
+
|
79 |
+
if ( $('select[name="'+n+'"]').val() == 'edit' ) {
|
80 |
+
e.preventDefault();
|
81 |
+
t.setBulk();
|
82 |
+
} else if ( $('form#posts-filter tr.inline-editor').length > 0 ) {
|
83 |
+
t.revert();
|
84 |
+
}
|
85 |
+
});
|
86 |
+
|
87 |
+
// Filter button (dates, categories) in top nav bar
|
88 |
+
$('#post-query-submit').mousedown(function(e){
|
89 |
t.revert();
|
90 |
+
$('select[name^="action"]').val('-1');
|
91 |
+
});
|
92 |
+
},
|
93 |
+
|
94 |
+
toggle : function(el){
|
95 |
+
var t = this;
|
96 |
+
$(t.what+t.getId(el)).css('display') == 'none' ? t.revert() : t.edit(el);
|
97 |
+
},
|
98 |
+
|
99 |
+
setBulk : function(){
|
100 |
+
var te = '', c = true;
|
101 |
+
this.revert();
|
102 |
+
|
103 |
+
$('#bulk-edit td').attr('colspan', $('.widefat:first thead th:visible').length);
|
104 |
+
$('table.widefat tbody').prepend( $('#bulk-edit') );
|
105 |
+
$('#bulk-edit').addClass('inline-editor').show();
|
106 |
+
|
107 |
+
$('tbody th.check-column input[type="checkbox"]').each(function(i){
|
108 |
+
if ( $(this).prop('checked') ) {
|
109 |
+
c = false;
|
110 |
+
var id = $(this).val(), theTitle;
|
111 |
+
theTitle = $('#inline_'+id+' .post_title').text() || mla.settings.notitle;
|
112 |
+
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+mla.settings.ntdeltitle+'">X</a>'+theTitle+'</div>';
|
113 |
+
}
|
114 |
+
});
|
115 |
+
|
116 |
+
if ( c )
|
117 |
+
return this.revert();
|
118 |
+
|
119 |
+
$('#bulk-titles').html(te);
|
120 |
+
$('#bulk-titles a').click(function(){
|
121 |
+
var id = $(this).attr('id').substr(1);
|
122 |
+
|
123 |
+
$('table.widefat input[value="' + id + '"]').prop('checked', false);
|
124 |
+
$('#ttle'+id).remove();
|
125 |
+
});
|
126 |
+
|
127 |
+
//flat taxonomies
|
128 |
+
$('textarea.mla_tags').each(function(){
|
129 |
+
var taxname = $(this).attr('name').replace(']', '').replace('tax_input[', '');
|
130 |
+
|
131 |
+
$(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: mla.settings.comma + ' ' } );
|
132 |
+
});
|
133 |
+
|
134 |
+
$('html, body').animate( { scrollTop: 0 }, 'fast' );
|
135 |
+
},
|
136 |
+
|
137 |
+
edit : function(id) {
|
138 |
+
var t = this, fields, editRow, rowData, fIndex;
|
139 |
t.revert();
|
140 |
+
|
141 |
+
if ( typeof(id) == 'object' )
|
142 |
+
id = t.getId(id);
|
143 |
+
|
144 |
+
fields = mla.settings.fields;
|
145 |
+
|
146 |
+
// add the new blank row
|
147 |
+
editRow = $('#inline-edit').clone(true);
|
148 |
+
$('td', editRow).attr('colspan', $('.widefat:first thead th:visible').length);
|
149 |
+
|
150 |
+
if ( $(t.what+id).hasClass('alternate') )
|
151 |
+
$(editRow).addClass('alternate');
|
152 |
+
$(t.what+id).hide().after(editRow);
|
153 |
+
|
154 |
+
// populate the data
|
155 |
+
rowData = $('#inline_'+id);
|
156 |
+
if ( !$(':input[name="post_author"] option[value="' + $('.post_author', rowData).text() + '"]', editRow).val() ) {
|
157 |
+
// author no longer has edit caps, so we need to add them to the list of authors
|
158 |
+
$(':input[name="post_author"]', editRow).prepend('<option value="' + $('.post_author', rowData).text() + '">' + $('#' + t.type + '-' + id + ' .author').text() + '</option>');
|
|
|
|
|
|
|
|
|
159 |
}
|
160 |
+
|
161 |
+
if ( $(':input[name="post_author"] option', editRow).length == 1 ) {
|
162 |
+
$('label.inline-edit-author', editRow).hide();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
+
|
165 |
+
for ( fIndex = 0; fIndex < fields.length; fIndex++ ) {
|
166 |
+
$(':input[name="' + fields[fIndex] + '"]', editRow).val( $('.'+fields[fIndex], rowData).text() );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
}
|
168 |
+
|
169 |
+
if ( $('.image_alt', rowData).length == 0) {
|
170 |
+
$('label.inline-edit-image-alt', editRow).hide();
|
171 |
+
}
|
172 |
+
|
173 |
+
// hierarchical taxonomies
|
174 |
+
$('.mla_category', rowData).each(function(){
|
175 |
+
var term_ids = $(this).text();
|
176 |
+
|
177 |
+
if ( term_ids ) {
|
178 |
+
taxname = $(this).attr('id').replace('_'+id, '');
|
179 |
+
$('ul.'+taxname+'-checklist :checkbox', editRow).val(term_ids.split(','));
|
180 |
+
}
|
181 |
+
});
|
182 |
+
|
183 |
+
//flat taxonomies
|
184 |
+
$('.mla_tags', rowData).each(function(){
|
185 |
+
var terms = $(this).text(),
|
186 |
+
taxname = $(this).attr('id').replace('_' + id, ''),
|
187 |
+
textarea = $('textarea.tax_input_' + taxname, editRow),
|
188 |
+
comma = mla.settings.comma;
|
189 |
+
|
190 |
+
if ( terms ) {
|
191 |
+
if ( ',' !== comma )
|
192 |
+
terms = terms.replace(/,/g, comma);
|
193 |
+
textarea.val(terms);
|
194 |
+
}
|
195 |
+
|
196 |
+
textarea.suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: mla.settings.comma + ' ' } );
|
197 |
+
});
|
198 |
+
|
199 |
+
$(editRow).attr('id', 'edit-'+id).addClass('inline-editor').show();
|
200 |
+
$('.ptitle', editRow).focus();
|
201 |
+
|
202 |
+
return false;
|
203 |
+
},
|
204 |
+
|
205 |
+
save : function( id ) {
|
206 |
+
var params, fields, page = $('.post_status_page').val() || '';
|
207 |
+
|
208 |
+
if ( typeof(id) == 'object' )
|
209 |
+
id = this.getId(id);
|
210 |
+
|
211 |
+
$('table.widefat .inline-edit-save .waiting').show();
|
212 |
+
|
213 |
+
params = {
|
214 |
+
action: mla.settings.ajax_action,
|
215 |
+
nonce: mla.settings.ajax_nonce,
|
216 |
+
post_type: typenow,
|
217 |
+
post_ID: id,
|
218 |
+
edit_date: 'true',
|
219 |
+
post_status: page
|
220 |
+
};
|
221 |
+
|
222 |
+
fields = $('#edit-'+id+' :input').serialize();
|
223 |
+
params = fields + '&' + $.param(params);
|
224 |
+
|
225 |
+
// make ajax request
|
226 |
+
$.post( ajaxurl, params,
|
227 |
+
function( response ) {
|
228 |
+
$( 'table.widefat .inline-edit-save .waiting' ).hide();
|
229 |
+
|
230 |
+
if ( response ) {
|
231 |
+
if ( -1 != response.indexOf( '<tr' ) ) {
|
232 |
+
$( mla.inlineEditAttachment.what + id ).remove();
|
233 |
+
$( '#edit-' + id ).before( response ).remove();
|
234 |
+
$( mla.inlineEditAttachment.what + id ).hide().fadeIn();
|
235 |
+
} else {
|
236 |
+
response = response.replace( /<.[^<>]*?>/g, '' );
|
237 |
+
$( '#edit-' + id + ' .inline-edit-save .error' ).html( response ).show();
|
238 |
+
}
|
239 |
} else {
|
240 |
+
$( '#edit-' + id + ' .inline-edit-save .error' ).html( mla.settings.error ).show();
|
|
|
241 |
}
|
|
|
|
|
242 |
}
|
243 |
+
, 'html');
|
244 |
+
return false;
|
245 |
+
},
|
246 |
+
|
247 |
+
inlineParentOpen : function( id ) {
|
248 |
+
var parentId, postId, postTitle;
|
249 |
+
|
250 |
+
if ( typeof( id ) == 'object' ) {
|
251 |
+
postId = this.getId( id );
|
252 |
+
parentId = $( '#edit-' + postId + ' :input[name="post_parent"]' ).val() || '';
|
253 |
+
postTitle = $( '#edit-' + postId + ' :input[name="post_title"]' ).val() || '';
|
254 |
+
mla.setParent.open( parentId, postId, postTitle );
|
255 |
+
/*
|
256 |
+
* Grab the "Update" button
|
257 |
+
*/
|
258 |
+
$( '#mla-set-parent-submit' ).on( 'click', function( event ){
|
259 |
+
event.preventDefault();
|
260 |
+
mla.inlineEditAttachment.inlineParentSave( postId );
|
261 |
+
return false;
|
262 |
+
});
|
263 |
+
}
|
264 |
+
},
|
265 |
+
|
266 |
+
inlineParentSave : function( postId ) {
|
267 |
+
var foundRow = $( '#mla-set-parent-response-div input:checked' ).closest( 'tr' ), parentId, parentTitle,
|
268 |
+
editRow = $( '#edit-' + postId ), newParent, newTitle;
|
269 |
+
|
270 |
+
if ( foundRow.length ) {
|
271 |
+
parentId = $( ':radio', foundRow ).val() || '';
|
272 |
+
parentTitle = $( 'label', foundRow ).html() || '';
|
273 |
+
newParent = $(':input[name="post_parent"]', editRow).clone( true ).val( parentId );
|
274 |
+
newTitle = $(':input[name="post_parent_title"]', editRow).clone( true ).val( parentTitle );
|
275 |
+
$(':input[name="post_parent"]', editRow).replaceWith( newParent );
|
276 |
+
$(':input[name="post_parent_title"]', editRow).replaceWith( newTitle );
|
277 |
+
mla.setParent.close();
|
278 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
|
280 |
+
$('#mla-set-parent-submit' ).off( 'click' );
|
281 |
+
},
|
282 |
+
|
283 |
+
tableParentOpen : function( parentId, postId, postTitle ) {
|
284 |
+
mla.setParent.open( parentId, postId, postTitle );
|
285 |
+
/*
|
286 |
+
* Grab the "Update" button
|
287 |
+
*/
|
288 |
+
$( '#mla-set-parent-submit' ).on( 'click', function( event ){
|
289 |
+
event.preventDefault();
|
290 |
+
mla.inlineEditAttachment.tableParentSave( postId );
|
291 |
+
return false;
|
292 |
+
});
|
293 |
+
},
|
294 |
+
|
295 |
+
tableParentSave : function( postId ) {
|
296 |
+
var foundRow = $( '#mla-set-parent-response-div input:checked' ).closest( 'tr' ),
|
297 |
+
parentId = $( ':radio', foundRow ).val() || '-1',
|
298 |
+
params, tableCell = $( '#attachment-' + postId + " td.attached_to" ).clone( true );
|
299 |
+
|
300 |
+
if ( foundRow.length && ( parentId >= 0 ) ) {
|
301 |
+
tableCell = $( '#attachment-' + postId + " td.attached_to" ).clone( true );
|
302 |
+
tableCell.html( '<span class="spinner"></span>' );
|
303 |
+
$( '#attachment-' + postId + " td.attached_to" ).replaceWith( tableCell );
|
304 |
+
$( '#attachment-' + postId + " td.attached_to .spinner" ).show();
|
305 |
+
|
306 |
+
params = $.param( {
|
307 |
+
action: mla.settings.ajax_action + '-set-parent',
|
308 |
+
nonce: mla.settings.ajax_nonce,
|
309 |
+
post_ID: postId,
|
310 |
+
post_parent: parentId,
|
311 |
+
} );
|
312 |
+
|
313 |
+
$.post( ajaxurl, params,
|
314 |
+
function( response ) {
|
315 |
+
var tableCell = $( '#attachment-' + postId + " td.attached_to" ).clone( true );
|
316 |
+
|
317 |
+
if ( response ) {
|
318 |
+
if ( -1 == response.indexOf( 'tableParentOpen(' ) ) {
|
319 |
+
response = response.replace( /<.[^<>]*?>/g, '' );
|
320 |
+
}
|
321 |
+
|
322 |
+
tableCell.html( response );
|
323 |
+
} else {
|
324 |
+
tableCell.html( mla.settings.ajaxFailError );
|
325 |
+
}
|
326 |
+
|
327 |
+
$( '#attachment-' + postId + " td.attached_to" ).replaceWith( tableCell );
|
328 |
+
}
|
329 |
+
, 'html');
|
330 |
} else {
|
331 |
+
tableCell.html( mla.settings.error );
|
332 |
+
$( '#attachment-' + postId + " td.attached_to" ).replaceWith( tableCell );
|
|
|
333 |
}
|
|
|
334 |
|
335 |
+
$('#mla-set-parent-submit' ).off( 'click' );
|
336 |
+
mla.setParent.close();
|
337 |
+
},
|
338 |
+
|
339 |
+
revert : function(){
|
340 |
+
var id = $('table.widefat tr.inline-editor').attr('id');
|
341 |
+
|
342 |
+
if ( id ) {
|
343 |
+
$('table.widefat .inline-edit-save .waiting').hide();
|
344 |
+
|
345 |
+
if ( 'bulk-edit' == id ) {
|
346 |
+
$('table.widefat #bulk-edit').removeClass('inline-editor').hide();
|
347 |
+
$('#bulk-titles').html('');
|
348 |
+
$('#inlineedit').append( $('#bulk-edit') );
|
349 |
+
} else {
|
350 |
+
$('#'+id).remove();
|
351 |
+
id = id.substr( id.lastIndexOf('-') + 1 );
|
352 |
+
$(this.what+id).show();
|
353 |
+
}
|
354 |
+
}
|
355 |
+
|
356 |
+
return false;
|
357 |
+
},
|
358 |
+
|
359 |
+
getId : function(o) {
|
360 |
+
var id = $(o).closest('tr').attr('id'),
|
361 |
+
parts = id.split('-');
|
362 |
+
return parts[parts.length - 1];
|
363 |
+
}
|
364 |
+
}; // mla.inlineEditAttachment
|
365 |
|
366 |
+
$( document ).ready( function() {
|
367 |
+
mla.inlineEditAttachment.init();
|
368 |
+
});
|
369 |
+
})( jQuery );
|
js/mla-inline-edit-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(a){inlineEditAttachment={init:function(){var c=this,d=a("#inline-edit"),b=a("#bulk-edit");c.type="attachment";c.what="#attachment-";d.keyup(function(f){if(f.which==27){return inlineEditAttachment.revert()}});b.keyup(function(f){if(f.which==27){return inlineEditAttachment.revert()}});a("a.cancel",d).click(function(){return inlineEditAttachment.revert()});a("a.save",d).click(function(){return inlineEditAttachment.save(this)});a("td",d).keydown(function(f){if(f.which==13){return inlineEditAttachment.save(this)}});a("a.cancel",b).click(function(){return inlineEditAttachment.revert()});a("
|
1 |
+
var mla={settings:{},utility:{},setParent:null,inlineEditAttachment:null};(function(a){mla.settings=typeof mla_inline_edit_vars==="undefined"?{}:mla_inline_edit_vars;delete mla_inline_edit_vars;mla.inlineEditAttachment={init:function(){var c=this,d=a("#inline-edit"),b=a("#bulk-edit");c.type="attachment";c.what="#attachment-";d.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});b.keyup(function(f){if(f.which==27){return mla.inlineEditAttachment.revert()}});a("#inline-edit-post-set-parent",d).on("click",function(){return mla.inlineEditAttachment.inlineParentOpen(this)});a("a.cancel",d).click(function(){return mla.inlineEditAttachment.revert()});a("a.save",d).click(function(){return mla.inlineEditAttachment.save(this)});a("td",d).keydown(function(f){if(f.which==13){return mla.inlineEditAttachment.save(this)}});a("a.cancel",b).click(function(){return mla.inlineEditAttachment.revert()});a("#the-list").on("click","a.editinline",function(){mla.inlineEditAttachment.edit(this);return false});a("span.catshow").click(function(){a(this).hide().next().show().parent().next().addClass("cat-hover")});a("span.cathide").click(function(){a(this).hide().prev().show().parent().next().removeClass("cat-hover")});a('select[name="_status"] option[value="future"]',b).remove();a("#doaction, #doaction2").click(function(f){var g=a(this).attr("id").substr(2);if(a('select[name="'+g+'"]').val()=="edit"){f.preventDefault();c.setBulk()}else{if(a("form#posts-filter tr.inline-editor").length>0){c.revert()}}});a("#post-query-submit").mousedown(function(f){c.revert();a('select[name^="action"]').val("-1")})},toggle:function(c){var b=this;a(b.what+b.getId(c)).css("display")=="none"?b.revert():b.edit(c)},setBulk:function(){var b="",d=true;this.revert();a("#bulk-edit td").attr("colspan",a(".widefat:first thead th:visible").length);a("table.widefat tbody").prepend(a("#bulk-edit"));a("#bulk-edit").addClass("inline-editor").show();a('tbody th.check-column input[type="checkbox"]').each(function(e){if(a(this).prop("checked")){d=false;var f=a(this).val(),c;c=a("#inline_"+f+" .post_title").text()||mla.settings.notitle;b+='<div id="ttle'+f+'"><a id="_'+f+'" class="ntdelbutton" title="'+mla.settings.ntdeltitle+'">X</a>'+c+"</div>"}});if(d){return this.revert()}a("#bulk-titles").html(b);a("#bulk-titles a").click(function(){var c=a(this).attr("id").substr(1);a('table.widefat input[value="'+c+'"]').prop("checked",false);a("#ttle"+c).remove()});a("textarea.mla_tags").each(function(){var c=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+c,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});a("html, body").animate({scrollTop:0},"fast")},edit:function(g){var d=this,b,c,e,f;d.revert();if(typeof(g)=="object"){g=d.getId(g)}b=mla.settings.fields;c=a("#inline-edit").clone(true);a("td",c).attr("colspan",a(".widefat:first thead th:visible").length);if(a(d.what+g).hasClass("alternate")){a(c).addClass("alternate")}a(d.what+g).hide().after(c);e=a("#inline_"+g);if(!a(':input[name="post_author"] option[value="'+a(".post_author",e).text()+'"]',c).val()){a(':input[name="post_author"]',c).prepend('<option value="'+a(".post_author",e).text()+'">'+a("#"+d.type+"-"+g+" .author").text()+"</option>")}if(a(':input[name="post_author"] option',c).length==1){a("label.inline-edit-author",c).hide()}for(f=0;f<b.length;f++){a(':input[name="'+b[f]+'"]',c).val(a("."+b[f],e).text())}if(a(".image_alt",e).length==0){a("label.inline-edit-image-alt",c).hide()}a(".mla_category",e).each(function(){var h=a(this).text();if(h){taxname=a(this).attr("id").replace("_"+g,"");a("ul."+taxname+"-checklist :checkbox",c).val(h.split(","))}});a(".mla_tags",e).each(function(){var j=a(this).text(),k=a(this).attr("id").replace("_"+g,""),i=a("textarea.tax_input_"+k,c),h=mla.settings.comma;if(j){if(","!==h){j=j.replace(/,/g,h)}i.val(j)}i.suggest(ajaxurl+"?action=ajax-tag-search&tax="+k,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});a(c).attr("id","edit-"+g).addClass("inline-editor").show();a(".ptitle",c).focus();return false},save:function(e){var d,b,c=a(".post_status_page").val()||"";if(typeof(e)=="object"){e=this.getId(e)}a("table.widefat .inline-edit-save .waiting").show();d={action:mla.settings.ajax_action,nonce:mla.settings.ajax_nonce,post_type:typenow,post_ID:e,edit_date:"true",post_status:c};b=a("#edit-"+e+" :input").serialize();d=b+"&"+a.param(d);a.post(ajaxurl,d,function(f){a("table.widefat .inline-edit-save .waiting").hide();if(f){if(-1!=f.indexOf("<tr")){a(mla.inlineEditAttachment.what+e).remove();a("#edit-"+e).before(f).remove();a(mla.inlineEditAttachment.what+e).hide().fadeIn()}else{f=f.replace(/<.[^<>]*?>/g,"");a("#edit-"+e+" .inline-edit-save .error").html(f).show()}}else{a("#edit-"+e+" .inline-edit-save .error").html(mla.settings.error).show()}},"html");return false},inlineParentOpen:function(e){var d,b,c;if(typeof(e)=="object"){b=this.getId(e);d=a("#edit-"+b+' :input[name="post_parent"]').val()||"";c=a("#edit-"+b+' :input[name="post_title"]').val()||"";mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(f){f.preventDefault();mla.inlineEditAttachment.inlineParentSave(b);return false})}},inlineParentSave:function(b){var f=a("#mla-set-parent-response-div input:checked").closest("tr"),h,e,c=a("#edit-"+b),d,g;if(f.length){h=a(":radio",f).val()||"";e=a("label",f).html()||"";d=a(':input[name="post_parent"]',c).clone(true).val(h);g=a(':input[name="post_parent_title"]',c).clone(true).val(e);a(':input[name="post_parent"]',c).replaceWith(d);a(':input[name="post_parent_title"]',c).replaceWith(g);mla.setParent.close()}a("#mla-set-parent-submit").off("click")},tableParentOpen:function(d,b,c){mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.inlineEditAttachment.tableParentSave(b);return false})},tableParentSave:function(b){var d=a("#mla-set-parent-response-div input:checked").closest("tr"),f=a(":radio",d).val()||"-1",c,e=a("#attachment-"+b+" td.attached_to").clone(true);if(d.length&&(f>=0)){e=a("#attachment-"+b+" td.attached_to").clone(true);e.html('<span class="spinner"></span>');a("#attachment-"+b+" td.attached_to").replaceWith(e);a("#attachment-"+b+" td.attached_to .spinner").show();c=a.param({action:mla.settings.ajax_action+"-set-parent",nonce:mla.settings.ajax_nonce,post_ID:b,post_parent:f,});a.post(ajaxurl,c,function(g){var h=a("#attachment-"+b+" td.attached_to").clone(true);if(g){if(-1==g.indexOf("tableParentOpen(")){g=g.replace(/<.[^<>]*?>/g,"")}h.html(g)}else{h.html(mla.settings.ajaxFailError)}a("#attachment-"+b+" td.attached_to").replaceWith(h)},"html")}else{e.html(mla.settings.error);a("#attachment-"+b+" td.attached_to").replaceWith(e)}a("#mla-set-parent-submit").off("click");mla.setParent.close()},revert:function(){var b=a("table.widefat tr.inline-editor").attr("id");if(b){a("table.widefat .inline-edit-save .waiting").hide();if("bulk-edit"==b){a("table.widefat #bulk-edit").removeClass("inline-editor").hide();a("#bulk-titles").html("");a("#inlineedit").append(a("#bulk-edit"))}else{a("#"+b).remove();b=b.substr(b.lastIndexOf("-")+1);a(this.what+b).show()}}return false},getId:function(c){var d=a(c).closest("tr").attr("id"),b=d.split("-");return b[b.length-1]}};a(document).ready(function(){mla.inlineEditAttachment.init()})})(jQuery);
|
js/mla-set-parent-scripts.js
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* global ajaxurl, mla */
|
2 |
+
|
3 |
+
( function( $ ) {
|
4 |
+
/**
|
5 |
+
* setParent displays a popup modal window with a post/page list
|
6 |
+
* from which a new parent can be selected.
|
7 |
+
* setParent.open is called from an "onclick" attribute in the submenu table links
|
8 |
+
*/
|
9 |
+
mla.setParent = {
|
10 |
+
init: function() {
|
11 |
+
// Send setParent selected parent
|
12 |
+
$( '#mla-set-parent-submit' ).click( function( event ) {
|
13 |
+
if ( ! $( '#mla-set-parent-response-div input[type="radio"]:checked' ).length )
|
14 |
+
event.preventDefault();
|
15 |
+
});
|
16 |
+
|
17 |
+
// Send setParent parent keywords for filtering
|
18 |
+
$( '#mla-set-parent-search' ).click( mla.setParent.send );
|
19 |
+
$( '#mla-set-parent-search-div :input' ).keypress( function( event ) {
|
20 |
+
if ( 13 == event.which ) {
|
21 |
+
mla.setParent.send();
|
22 |
+
return false;
|
23 |
+
}
|
24 |
+
});
|
25 |
+
|
26 |
+
// Close the setParent pop-up
|
27 |
+
$( '#mla-set-parent-close-div' ).click( mla.setParent.close );
|
28 |
+
|
29 |
+
$( '#mla-set-parent-cancel' ).click( function ( event ) {
|
30 |
+
event.preventDefault();
|
31 |
+
return mla.setParent.close();
|
32 |
+
});
|
33 |
+
|
34 |
+
// Enable whole row to be clicked
|
35 |
+
$( '#mla-set-parent-inside-div' ).on( 'click', 'tr', function() {
|
36 |
+
$( this ).find( '.found-radio input' ).prop( 'checked', true );
|
37 |
+
});
|
38 |
+
},
|
39 |
+
|
40 |
+
open: function( affectedParent, affectedChild, affectedTitles ) {
|
41 |
+
var overlay = $( '#mla-set-parent-overlay' );
|
42 |
+
|
43 |
+
if ( overlay.length === 0 ) {
|
44 |
+
$( 'body' ).append( '<div id="mla-set-parent-overlay"></div>' );
|
45 |
+
mla.setParent.overlay();
|
46 |
+
}
|
47 |
+
|
48 |
+
overlay.show();
|
49 |
+
|
50 |
+
if ( affectedParent && affectedChild ) {
|
51 |
+
$( '#mla-set-parent-parent' ).val( affectedParent );
|
52 |
+
$( '#mla-set-parent-children' ).val( affectedChild );
|
53 |
+
}
|
54 |
+
|
55 |
+
if ( affectedTitles ) {
|
56 |
+
$( '#mla-set-parent-titles' ).html( affectedTitles );
|
57 |
+
}
|
58 |
+
|
59 |
+
$( '#mla-set-parent-div' ).show();
|
60 |
+
|
61 |
+
$( '#mla-set-parent-input ' ).focus().keyup( function( event ){
|
62 |
+
if ( event.which == 27 ) {
|
63 |
+
mla.setParent.close();
|
64 |
+
} // close on Escape
|
65 |
+
});
|
66 |
+
|
67 |
+
// Pull some results up by default
|
68 |
+
mla.setParent.send();
|
69 |
+
|
70 |
+
return false;
|
71 |
+
},
|
72 |
+
|
73 |
+
close: function() {
|
74 |
+
$( '#mla-set-parent-response-div' ).html('');
|
75 |
+
$( '#mla-set-parent-div' ).hide();
|
76 |
+
$( '#mla-set-parent-overlay' ).hide();
|
77 |
+
},
|
78 |
+
|
79 |
+
overlay: function() {
|
80 |
+
$( '#mla-set-parent-overlay' ).on( 'click', function () {
|
81 |
+
mla.setParent.close();
|
82 |
+
});
|
83 |
+
},
|
84 |
+
|
85 |
+
send: function() {
|
86 |
+
var post = {
|
87 |
+
ps: $( '#mla-set-parent-input' ).val(),
|
88 |
+
action: 'find_posts',
|
89 |
+
_ajax_nonce: $('#mla-set-parent-ajax-nonce').val()
|
90 |
+
},
|
91 |
+
spinner = $( '#mla-set-parent-search-div .spinner' ),
|
92 |
+
ajaxResponse = null;
|
93 |
+
|
94 |
+
spinner.show();
|
95 |
+
|
96 |
+
$.ajax( ajaxurl, {
|
97 |
+
type: 'POST',
|
98 |
+
data: post,
|
99 |
+
dataType: mla.settings.setParentDataType
|
100 |
+
}).always( function() {
|
101 |
+
spinner.hide();
|
102 |
+
}).done( function( response ) {
|
103 |
+
var responseData = 'no response.data', id = 0;
|
104 |
+
|
105 |
+
if ( 'xml' === mla.settings.setParentDataType ) {
|
106 |
+
if ( 'string' === typeof( response ) ) {
|
107 |
+
response = { 'success': false, data: response };
|
108 |
+
} else {
|
109 |
+
ajaxResponse = wpAjax.parseAjaxResponse( response );
|
110 |
+
|
111 |
+
if ( ajaxResponse.errors ) {
|
112 |
+
response = { 'success': false, data: wpAjax.broken };
|
113 |
+
} else {
|
114 |
+
response = { 'success': true, data: ajaxResponse.responses[0].data };
|
115 |
+
}
|
116 |
+
}
|
117 |
+
}
|
118 |
+
|
119 |
+
if ( ! response.success ) {
|
120 |
+
if ( response.responseData ) {
|
121 |
+
responseData = response.data;
|
122 |
+
}
|
123 |
+
|
124 |
+
$( '#mla-set-parent-response-div' ).text( mla.settings.ajaxDoneError + ' (' + responseData + ')' );
|
125 |
+
} else {
|
126 |
+
/*
|
127 |
+
* Add the (Unattached) row, then the post/page list
|
128 |
+
*/
|
129 |
+
$( '#mla-set-parent-response-div' ).html( response.data );
|
130 |
+
$( '#mla-set-parent-response-div table tbody tr:eq(0)' ).before( $( '#found-0-row' ).clone() );
|
131 |
+
|
132 |
+
/*
|
133 |
+
* See if we can "check" the current parent
|
134 |
+
*/
|
135 |
+
id = $( '#mla-set-parent-parent' ).val();
|
136 |
+
$( '#mla-set-parent-response-div #found-' + id ).each(function( index, element ){
|
137 |
+
$( this ).prop( 'checked', true );
|
138 |
+
});
|
139 |
+
}
|
140 |
+
}).fail( function( jqXHR, status ) {
|
141 |
+
if ( 200 == jqXHR.status ) {
|
142 |
+
$( '#mla-set-parent-response-div' ).text( '(' + status + ') ' + jqXHR.responseText );
|
143 |
+
} else {
|
144 |
+
$( '#mla-set-parent-response-div' ).text( mla.settings.ajaxFailError + ' (' + status + '), jqXHR( ' + jqXHR.status + ', ' + jqXHR.statusText + ', ' + jqXHR.responseText + ')' );
|
145 |
+
}
|
146 |
+
});
|
147 |
+
}
|
148 |
+
}; // mla.setParent
|
149 |
+
|
150 |
+
$( document ).ready( function() {
|
151 |
+
mla.setParent.init();
|
152 |
+
});
|
153 |
+
})( jQuery );
|
js/mla-set-parent-scripts.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
(function(a){mla.setParent={init:function(){a("#mla-set-parent-submit").click(function(b){if(!a('#mla-set-parent-response-div input[type="radio"]:checked').length){b.preventDefault()}});a("#mla-set-parent-search").click(mla.setParent.send);a("#mla-set-parent-search-div :input").keypress(function(b){if(13==b.which){mla.setParent.send();return false}});a("#mla-set-parent-close-div").click(mla.setParent.close);a("#mla-set-parent-cancel").click(function(b){b.preventDefault();return mla.setParent.close()});a("#mla-set-parent-inside-div").on("click","tr",function(){a(this).find(".found-radio input").prop("checked",true)})},open:function(e,d,b){var c=a("#mla-set-parent-overlay");if(c.length===0){a("body").append('<div id="mla-set-parent-overlay"></div>');mla.setParent.overlay()}c.show();if(e&&d){a("#mla-set-parent-parent").val(e);a("#mla-set-parent-children").val(d)}if(b){a("#mla-set-parent-titles").html(b)}a("#mla-set-parent-div").show();a("#mla-set-parent-input ").focus().keyup(function(f){if(f.which==27){mla.setParent.close()}});mla.setParent.send();return false},close:function(){a("#mla-set-parent-response-div").html("");a("#mla-set-parent-div").hide();a("#mla-set-parent-overlay").hide()},overlay:function(){a("#mla-set-parent-overlay").on("click",function(){mla.setParent.close()})},send:function(){var b={ps:a("#mla-set-parent-input").val(),action:"find_posts",_ajax_nonce:a("#mla-set-parent-ajax-nonce").val()},d=a("#mla-set-parent-search-div .spinner"),c=null;d.show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:mla.settings.setParentDataType}).always(function(){d.hide()}).done(function(e){var f="no response.data",g=0;if("xml"===mla.settings.setParentDataType){if("string"===typeof(e)){e={success:false,data:e}}else{c=wpAjax.parseAjaxResponse(e);if(c.errors){e={success:false,data:wpAjax.broken}}else{e={success:true,data:c.responses[0].data}}}}if(!e.success){if(e.responseData){f=e.data}a("#mla-set-parent-response-div").text(mla.settings.ajaxDoneError+" ("+f+")")}else{a("#mla-set-parent-response-div").html(e.data);a("#mla-set-parent-response-div table tbody tr:eq(0)").before(a("#found-0-row").clone());g=a("#mla-set-parent-parent").val();a("#mla-set-parent-response-div #found-"+g).each(function(h,i){a(this).prop("checked",true)})}}).fail(function(f,e){if(200==f.status){a("#mla-set-parent-response-div").text("("+e+") "+f.responseText)}else{a("#mla-set-parent-response-div").text(mla.settings.ajaxFailError+" ("+e+"), jqXHR( "+f.status+", "+f.statusText+", "+f.responseText+")")}})}};a(document).ready(function(){mla.setParent.init()})})(jQuery);
|
languages/MLA Internationalization Guide.pdf
CHANGED
Binary file
|
languages/media-library-assistant-en_US.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
-
"POT-Creation-Date: 2014-
|
5 |
-
"PO-Revision-Date: 2014-
|
6 |
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
"Language: en_US\n"
|
@@ -89,256 +89,257 @@ msgid ""
|
|
89 |
msgstr ""
|
90 |
|
91 |
#. translators: 1: function name 2: non-array value
|
92 |
-
#: includes/class-mla-data.php:
|
|
|
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:
|
96 |
-
#: includes/class-mla-settings.php:
|
97 |
#, php-format
|
98 |
msgctxt "error_log"
|
99 |
msgid "ERROR: %1$s non-array \"%2$s\""
|
100 |
msgstr ""
|
101 |
|
102 |
#. translators: 1: query filter details
|
103 |
-
#: includes/class-mla-data.php:
|
104 |
#, php-format
|
105 |
msgid "_execute_list_table_query $wp_filter = \"%1$s\"."
|
106 |
msgstr ""
|
107 |
|
108 |
#. translators: 1: query filter details
|
109 |
-
#: includes/class-mla-data.php:
|
110 |
#, php-format
|
111 |
msgctxt "error_log"
|
112 |
msgid "DEBUG: _execute_list_table_query $wp_filter = \"%1$s\"."
|
113 |
msgstr ""
|
114 |
|
115 |
#. translators: 1: query details
|
116 |
-
#: includes/class-mla-data.php:
|
117 |
#, php-format
|
118 |
msgid "_execute_list_table_query WP_Query = \"%1$s\"."
|
119 |
msgstr ""
|
120 |
|
121 |
#. translators: 1: SQL statement
|
122 |
-
#: includes/class-mla-data.php:
|
123 |
#, php-format
|
124 |
msgid "_execute_list_table_query SQL_request = \"%1$s\"."
|
125 |
msgstr ""
|
126 |
|
127 |
#. translators: 1: query details
|
128 |
-
#: includes/class-mla-data.php:
|
129 |
#, php-format
|
130 |
msgctxt "error_log"
|
131 |
msgid "DEBUG: _execute_list_table_query WP_Query = \"%1$s\"."
|
132 |
msgstr ""
|
133 |
|
134 |
#. translators: 1: SQL statement
|
135 |
-
#: includes/class-mla-data.php:
|
136 |
#, php-format
|
137 |
msgctxt "error_log"
|
138 |
msgid "DEBUG: _execute_list_table_query SQL_request = \"%1$s\"."
|
139 |
msgstr ""
|
140 |
|
141 |
#. translators: 1: search box details
|
142 |
-
#: includes/class-mla-data.php:
|
143 |
#, php-format
|
144 |
msgid "mla_query_posts_search_filter not numeric, = \"%1$s\"."
|
145 |
msgstr ""
|
146 |
|
147 |
#. translators: 1: search box details
|
148 |
-
#: includes/class-mla-data.php:
|
149 |
#, php-format
|
150 |
msgctxt "error_log"
|
151 |
msgid "DEBUG: mla_query_posts_search_filter not numeric, = \"%1$s\"."
|
152 |
msgstr ""
|
153 |
|
154 |
#. translators: 1: search box details
|
155 |
-
#: includes/class-mla-data.php:
|
156 |
#, php-format
|
157 |
msgid "mla_query_posts_join_filter = \"%1$s\"."
|
158 |
msgstr ""
|
159 |
|
160 |
#. translators: 1: search box details
|
161 |
-
#: includes/class-mla-data.php:
|
162 |
#, php-format
|
163 |
msgctxt "error_log"
|
164 |
msgid "DEBUG: mla_query_posts_join_filter = \"%1$s\"."
|
165 |
msgstr ""
|
166 |
|
167 |
#. translators: 1: search box details
|
168 |
-
#: includes/class-mla-data.php:
|
169 |
#, php-format
|
170 |
msgid "mla_query_posts_where_filter = \"%1$s\"."
|
171 |
msgstr ""
|
172 |
|
173 |
#. translators: 1: search box details
|
174 |
-
#: includes/class-mla-data.php:
|
175 |
#, php-format
|
176 |
msgctxt "error_log"
|
177 |
msgid "DEBUG: mla_query_posts_where_filter = \"%1$s\"."
|
178 |
msgstr ""
|
179 |
|
180 |
#. translators: 1: search box details
|
181 |
-
#: includes/class-mla-data.php:
|
182 |
#, php-format
|
183 |
msgid "mla_query_posts_orderby_filter = \"%1$s\"."
|
184 |
msgstr ""
|
185 |
|
186 |
#. translators: 1: search box details
|
187 |
-
#: includes/class-mla-data.php:
|
188 |
#, php-format
|
189 |
msgctxt "error_log"
|
190 |
msgid "DEBUG: mla_query_posts_orderby_filter = \"%1$s\"."
|
191 |
msgstr ""
|
192 |
|
193 |
#. translators: 1: SQL clauses
|
194 |
-
#: includes/class-mla-data.php:
|
195 |
#, php-format
|
196 |
msgid "mla_query_posts_clauses_filter = \"%1$s\"."
|
197 |
msgstr ""
|
198 |
|
199 |
#. translators: 1: SQL clauses
|
200 |
-
#: includes/class-mla-data.php:
|
201 |
#, php-format
|
202 |
msgctxt "error_log"
|
203 |
msgid "DEBUG: mla_query_posts_clauses_filter = \"%1$s\"."
|
204 |
msgstr ""
|
205 |
|
206 |
#. translators: 1: SQL clauses
|
207 |
-
#: includes/class-mla-data.php:
|
208 |
#, php-format
|
209 |
msgid "mla_query_posts_clauses_request_filter = \"%1$s\"."
|
210 |
msgstr ""
|
211 |
|
212 |
#. translators: 1: SQL clauses
|
213 |
-
#: includes/class-mla-data.php:
|
214 |
#, php-format
|
215 |
msgctxt "error_log"
|
216 |
msgid "DEBUG: mla_query_posts_clauses_request_filter = \"%1$s\"."
|
217 |
msgstr ""
|
218 |
|
219 |
#. translators: 1: post ID
|
220 |
-
#: includes/class-mla-data.php:
|
221 |
#, php-format
|
222 |
msgctxt "error_log"
|
223 |
msgid "ERROR: mla_get_attachment_by_id(%1$d) not found."
|
224 |
msgstr ""
|
225 |
|
226 |
#. translators: 1: post ID 2: post_type
|
227 |
-
#: includes/class-mla-data.php:
|
228 |
#, php-format
|
229 |
msgctxt "error_log"
|
230 |
msgid "ERROR: mla_get_attachment_by_id(%1$d) wrong post_type \"%2$s\"."
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: includes/class-mla-data.php:
|
234 |
msgid "NO REFERENCE TESTS"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: includes/class-mla-data.php:
|
238 |
#: includes/class-mla-options.php:2330
|
239 |
msgid "ORPHAN"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: includes/class-mla-data.php:
|
243 |
msgid "UNUSED"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: includes/class-mla-data.php:
|
247 |
msgid "UNATTACHED"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: includes/class-mla-data.php:
|
251 |
msgid "INVALID PARENT"
|
252 |
msgstr ""
|
253 |
|
254 |
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
255 |
-
#: includes/class-mla-data.php:
|
256 |
#, php-format
|
257 |
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
258 |
msgstr ""
|
259 |
|
260 |
#. translators: 1: index
|
261 |
-
#: includes/class-mla-data.php:
|
262 |
#, php-format
|
263 |
msgctxt "error_log"
|
264 |
msgid "ERROR: _build_pdf_indirect_objects bad value at $index = \"%1$d\"."
|
265 |
msgstr ""
|
266 |
|
267 |
#. translators: 1: source offset 2: nest level
|
268 |
-
#: includes/class-mla-data.php:
|
269 |
#, php-format
|
270 |
msgctxt "error_log"
|
271 |
msgid "ERROR: _parse_pdf_dictionary offset = %1$d, nest = %2$d."
|
272 |
msgstr ""
|
273 |
|
274 |
#. translators: 1: dictionary excerpt
|
275 |
-
#: includes/class-mla-data.php:
|
276 |
#, php-format
|
277 |
msgctxt "error_log"
|
278 |
msgid "ERROR: _parse_pdf_dictionary no end delimiter dump = %1$s."
|
279 |
msgstr ""
|
280 |
|
281 |
#. translators: 1: entry name 2: value excerpt
|
282 |
-
#: includes/class-mla-data.php:
|
283 |
#, php-format
|
284 |
msgctxt "error_log"
|
285 |
msgid "ERROR: _parse_pdf_dictionary bad value [ %1$s ] dump = %2$s"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: includes/class-mla-data.php:
|
289 |
msgctxt "error_log"
|
290 |
msgid "ERROR: _parse_xmp_metadata xml_parse_into_struct failed."
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: includes/class-mla-data.php:
|
294 |
msgctxt "error_log"
|
295 |
msgid "ERROR: _parse_xmp_metadata set option failed."
|
296 |
msgstr ""
|
297 |
|
298 |
#. translators: 1: path and file
|
299 |
-
#: includes/class-mla-data.php:
|
300 |
#, php-format
|
301 |
msgctxt "error_log"
|
302 |
msgid "ERROR: File \"%1$s\", startxref not found."
|
303 |
msgstr ""
|
304 |
|
305 |
#. translators: 1: meta_key
|
306 |
-
#: includes/class-mla-data.php:
|
307 |
#, php-format
|
308 |
msgid "Deleting meta:%1$s"
|
309 |
msgstr ""
|
310 |
|
311 |
#. translators: 1: meta_key
|
312 |
-
#: includes/class-mla-data.php:
|
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:
|
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:
|
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:
|
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:
|
337 |
-
#: includes/class-mla-data.php:
|
338 |
-
#: includes/class-mla-data.php:
|
339 |
-
#: includes/class-mla-data.php:
|
340 |
-
#: includes/class-mla-data.php:
|
341 |
-
#: includes/class-mla-data.php:
|
342 |
#: includes/class-mla-mime-types.php:1052
|
343 |
#: includes/class-mla-mime-types.php:2119
|
344 |
#, php-format
|
@@ -346,283 +347,329 @@ msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
|
346 |
msgstr ""
|
347 |
|
348 |
#. translators: 1: meta_key
|
349 |
-
#: includes/class-mla-data.php:
|
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:
|
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:
|
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:
|
368 |
#, php-format
|
369 |
msgid "Adding %1$s = %2$s"
|
370 |
msgstr ""
|
371 |
|
372 |
#. translators: 1: meta_key
|
373 |
-
#: includes/class-mla-data.php:
|
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:
|
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:
|
385 |
msgid "ERROR: Could not retrieve Attachment."
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/class-mla-data.php:
|
389 |
-
#: includes/class-mla-main.php:
|
390 |
-
#: includes/class-mla-main.php:
|
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:
|
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:
|
403 |
-
#: includes/class-mla-main.php:
|
404 |
msgid "Name/Slug"
|
405 |
msgstr ""
|
406 |
|
407 |
#. translators: 1: old_value
|
408 |
-
#: includes/class-mla-data.php:
|
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:
|
415 |
#, php-format
|
416 |
msgid "ERROR: Could not delete ALT Text, remains \"%1$s\""
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: includes/class-mla-data.php:
|
420 |
-
#: includes/class-mla-main.php:
|
421 |
-
#: includes/class-mla-main.php:
|
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:
|
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:
|
434 |
-
#: includes/class-mla-main.php:
|
435 |
-
#: includes/class-mla-main.php:
|
436 |
#: includes/mla-media-modal-js-template.php:45
|
437 |
msgid "Caption"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: includes/class-mla-data.php:
|
441 |
-
#: includes/class-mla-main.php:
|
442 |
-
#: includes/class-mla-main.php:
|
443 |
-
#: includes/class-mla-settings.php:
|
444 |
-
#: includes/class-mla-settings.php:
|
445 |
#: includes/mla-media-modal-js-template.php:49
|
446 |
msgid "Description"
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: includes/class-mla-data.php:
|
450 |
-
#: includes/class-mla-list-table.php:
|
451 |
-
#: includes/class-mla-options.php:
|
452 |
msgid "Parent"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: includes/class-mla-data.php:
|
456 |
-
#: includes/class-mla-edit-media.php:
|
457 |
-
#: includes/class-mla-main.php:
|
458 |
-
#: includes/class-mla-settings.php:
|
459 |
msgid "Menu Order"
|
460 |
msgstr ""
|
461 |
|
462 |
-
#: includes/class-mla-data.php:
|
463 |
-
#: includes/class-mla-main.php:
|
464 |
-
#: includes/class-mla-main.php:
|
465 |
msgid "Author"
|
466 |
msgstr ""
|
467 |
|
468 |
-
#: includes/class-mla-data.php:
|
469 |
msgid "Comments"
|
470 |
msgstr ""
|
471 |
|
472 |
-
#: includes/class-mla-data.php:
|
473 |
msgid "Pings"
|
474 |
msgstr ""
|
475 |
|
476 |
-
#: includes/class-mla-data.php:
|
477 |
msgid "Adding"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: includes/class-mla-data.php:
|
481 |
msgid "Removing"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: includes/class-mla-data.php:
|
485 |
msgid "Replacing"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#: includes/class-mla-data.php:
|
489 |
msgid "Ignoring"
|
490 |
msgstr ""
|
491 |
|
492 |
#. translators: 1: action_name, 2: taxonomy
|
493 |
-
#: includes/class-mla-data.php:
|
494 |
#, php-format
|
495 |
msgid "%1$s \"%2$s\" terms"
|
496 |
msgstr ""
|
497 |
|
498 |
#. translators: 1: taxonomy
|
499 |
-
#: includes/class-mla-data.php:
|
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:
|
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:
|
512 |
#, php-format
|
513 |
msgid "Item %1$d updated."
|
514 |
msgstr ""
|
515 |
|
516 |
#. translators: 1: post ID
|
517 |
-
#: includes/class-mla-data.php:
|
518 |
#, php-format
|
519 |
msgid "ERROR: Item %1$d update failed."
|
520 |
msgstr ""
|
521 |
|
522 |
-
#: includes/class-mla-data.php:
|
523 |
-
#: includes/class-mla-edit-media.php:
|
524 |
-
#: includes/class-mla-main.php:
|
525 |
#: includes/class-mla-settings.php:307 includes/class-mla-settings.php:325
|
526 |
msgctxt "tag_delimiter"
|
527 |
msgid ","
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: includes/class-mla-edit-media.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
msgid "Custom field mapping updated."
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: includes/class-mla-edit-media.php:
|
535 |
msgid "IPTC/EXIF mapping updated."
|
536 |
msgstr ""
|
537 |
|
538 |
#. translators: date_i18n format for last modified date and time
|
539 |
-
#: includes/class-mla-edit-media.php:
|
540 |
msgid "M j, Y @ G:i"
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: includes/class-mla-edit-media.php:
|
544 |
msgid "Last modified"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: includes/class-mla-edit-media.php:
|
548 |
msgid "Map Custom Field metadata for this item"
|
549 |
msgstr ""
|
550 |
|
551 |
-
#: includes/class-mla-edit-media.php:
|
552 |
msgid "Map Custom Field Metadata"
|
553 |
msgstr ""
|
554 |
|
555 |
-
#: includes/class-mla-edit-media.php:
|
556 |
msgid "Map IPTC/EXIF metadata for this item"
|
557 |
msgstr ""
|
558 |
|
559 |
-
#: includes/class-mla-edit-media.php:
|
560 |
msgid "Map IPTC/EXIF Metadata"
|
561 |
msgstr ""
|
562 |
|
563 |
-
#: includes/class-mla-edit-media.php:
|
564 |
-
#: includes/class-mla-main.php:
|
565 |
msgid "Parent Info"
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: includes/class-mla-edit-media.php:
|
569 |
msgid "Attachment Metadata"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: includes/class-mla-edit-media.php:
|
573 |
-
#: includes/class-mla-main.php:
|
574 |
msgid "Featured in"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: includes/class-mla-edit-media.php:
|
578 |
-
#: includes/class-mla-main.php:
|
579 |
msgid "Inserted in"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: includes/class-mla-edit-media.php:
|
583 |
-
#: includes/class-mla-main.php:
|
584 |
-
#: includes/class-mla-settings.php:
|
585 |
msgid "Gallery in"
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: includes/class-mla-edit-media.php:
|
589 |
-
#: includes/class-mla-main.php:
|
590 |
-
#: includes/class-mla-settings.php:
|
591 |
msgid "MLA Gallery in"
|
592 |
msgstr ""
|
593 |
|
594 |
#. translators: 1: function name 2: template key
|
595 |
-
#: includes/class-mla-edit-media.php:
|
596 |
#: includes/class-mla-settings.php:469
|
597 |
#, php-format
|
598 |
msgctxt "error_log"
|
599 |
msgid "ERROR: %1$s discarding \"%2$s\"; no title/order"
|
600 |
msgstr ""
|
601 |
|
602 |
-
#: includes/class-mla-edit-media.php:
|
603 |
msgid "Post Parent"
|
604 |
msgstr ""
|
605 |
|
606 |
-
#: includes/class-mla-edit-media.php:
|
607 |
-
#: includes/class-mla-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
#: includes/class-mla-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
msgid "PARENT"
|
613 |
msgstr ""
|
614 |
|
615 |
-
#: includes/class-mla-edit-media.php:
|
616 |
msgid "Most Used"
|
617 |
msgstr ""
|
618 |
|
619 |
#. translators: %s: add new taxonomy label
|
620 |
-
#: includes/class-mla-edit-media.php:
|
621 |
#, php-format
|
622 |
msgid "+ %s"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: includes/class-mla-edit-media.php:
|
626 |
msgid "? Search"
|
627 |
msgstr ""
|
628 |
|
@@ -630,73 +677,73 @@ msgstr ""
|
|
630 |
msgid "All"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: includes/class-mla-list-table.php:211 includes/class-mla-settings.php:
|
634 |
#: includes/class-mla-view-list-table.php:379
|
635 |
#: includes/class-mla-view-list-table.php:395
|
636 |
msgid "No"
|
637 |
msgstr ""
|
638 |
|
639 |
-
#: includes/class-mla-list-table.php:
|
640 |
msgctxt "list_table_column"
|
641 |
msgid "ID/Parent"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: includes/class-mla-list-table.php:
|
645 |
msgctxt "list_table_column"
|
646 |
msgid "Title/Name"
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: includes/class-mla-list-table.php:
|
650 |
msgctxt "list_table_column"
|
651 |
msgid "Title"
|
652 |
msgstr ""
|
653 |
|
654 |
-
#: includes/class-mla-list-table.php:
|
655 |
msgctxt "list_table_column"
|
656 |
msgid "Name"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: includes/class-mla-list-table.php:
|
660 |
msgctxt "list_table_column"
|
661 |
msgid "Parent ID"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: includes/class-mla-list-table.php:
|
665 |
msgctxt "list_table_column"
|
666 |
msgid "Menu Order"
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: includes/class-mla-list-table.php:
|
670 |
msgctxt "list_table_column"
|
671 |
msgid "Featured in"
|
672 |
msgstr ""
|
673 |
|
674 |
-
#: includes/class-mla-list-table.php:
|
675 |
msgctxt "list_table_column"
|
676 |
msgid "Inserted in"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: includes/class-mla-list-table.php:
|
680 |
msgctxt "list_table_column"
|
681 |
msgid "Gallery in"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: includes/class-mla-list-table.php:
|
685 |
msgctxt "list_table_column"
|
686 |
msgid "MLA Gallery in"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: includes/class-mla-list-table.php:
|
690 |
msgctxt "list_table_column"
|
691 |
msgid "ALT Text"
|
692 |
msgstr ""
|
693 |
|
694 |
-
#: includes/class-mla-list-table.php:
|
695 |
msgctxt "list_table_column"
|
696 |
msgid "Caption"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: includes/class-mla-list-table.php:
|
700 |
#: includes/class-mla-upload-list-table.php:186
|
701 |
#: includes/class-mla-upload-optional-list-table.php:171
|
702 |
#: includes/class-mla-view-list-table.php:179
|
@@ -704,61 +751,61 @@ msgctxt "list_table_column"
|
|
704 |
msgid "Description"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: includes/class-mla-list-table.php:
|
708 |
#: includes/class-mla-upload-list-table.php:178
|
709 |
#: includes/class-mla-upload-optional-list-table.php:168
|
710 |
msgctxt "list_table_column"
|
711 |
msgid "MIME Type"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: includes/class-mla-list-table.php:
|
715 |
msgctxt "list_table_column"
|
716 |
msgid "File URL"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: includes/class-mla-list-table.php:
|
720 |
msgctxt "list_table_column"
|
721 |
msgid "Base File"
|
722 |
msgstr ""
|
723 |
|
724 |
-
#: includes/class-mla-list-table.php:
|
725 |
msgctxt "list_table_column"
|
726 |
msgid "Date"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: includes/class-mla-list-table.php:
|
730 |
msgctxt "list_table_column"
|
731 |
msgid "Last Modified"
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: includes/class-mla-list-table.php:
|
735 |
msgctxt "list_table_column"
|
736 |
msgid "Author"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: includes/class-mla-list-table.php:
|
740 |
msgctxt "list_table_column"
|
741 |
msgid "Attached to"
|
742 |
msgstr ""
|
743 |
|
744 |
-
#: includes/class-mla-list-table.php:
|
745 |
-
#: includes/class-mla-
|
746 |
-
#: includes/class-mla-options.php:
|
747 |
-
#: includes/class-mla-settings.php:
|
748 |
msgid "None"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: includes/class-mla-list-table.php:
|
752 |
-
#: includes/class-mla-list-table.php:
|
753 |
msgid "Filter by"
|
754 |
msgstr ""
|
755 |
|
756 |
-
#: includes/class-mla-list-table.php:
|
757 |
msgid "not supported"
|
758 |
msgstr ""
|
759 |
|
760 |
#. translators: 1: column_name 2: column_values
|
761 |
-
#: includes/class-mla-list-table.php:
|
762 |
#: includes/class-mla-upload-list-table.php:247
|
763 |
#: includes/class-mla-upload-optional-list-table.php:228
|
764 |
#: includes/class-mla-view-list-table.php:236
|
@@ -766,12 +813,12 @@ msgstr ""
|
|
766 |
msgid "column_default: %1$s, %2$s"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: includes/class-mla-list-table.php:
|
770 |
-
#: includes/class-mla-list-table.php:
|
771 |
-
#: includes/class-mla-list-table.php:
|
772 |
-
#: includes/class-mla-list-table.php:
|
773 |
-
#: includes/class-mla-list-table.php:
|
774 |
-
#: includes/class-mla-list-table.php:
|
775 |
#: includes/class-mla-upload-list-table.php:312
|
776 |
#: includes/class-mla-upload-list-table.php:610
|
777 |
#: includes/class-mla-view-list-table.php:302
|
@@ -779,153 +826,157 @@ msgstr ""
|
|
779 |
msgid "Edit"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: includes/class-mla-list-table.php:
|
783 |
msgid "Restore this item from the Trash"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: includes/class-mla-list-table.php:
|
787 |
-
#: includes/class-mla-list-table.php:
|
788 |
msgid "Restore"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: includes/class-mla-list-table.php:
|
792 |
#: includes/class-mla-upload-list-table.php:312
|
793 |
#: includes/class-mla-view-list-table.php:302
|
794 |
msgid "Edit this item"
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: includes/class-mla-list-table.php:
|
798 |
#: includes/class-mla-upload-list-table.php:314
|
799 |
#: includes/class-mla-view-list-table.php:304
|
800 |
msgid "Edit this item inline"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: includes/class-mla-list-table.php:
|
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
|
807 |
msgid "Quick Edit"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: includes/class-mla-list-table.php:
|
811 |
msgid "Move this item to the Trash"
|
812 |
msgstr ""
|
813 |
|
814 |
-
#: includes/class-mla-list-table.php:
|
815 |
-
#: includes/class-mla-list-table.php:
|
816 |
msgid "Move to Trash"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: includes/class-mla-list-table.php:
|
820 |
#: includes/class-mla-upload-list-table.php:318
|
821 |
#: includes/class-mla-view-list-table.php:310
|
822 |
msgid "Delete this item Permanently"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#: includes/class-mla-list-table.php:
|
826 |
-
#: includes/class-mla-list-table.php:
|
827 |
-
#: includes/class-mla-list-table.php:
|
828 |
#: includes/class-mla-upload-list-table.php:318
|
829 |
#: includes/class-mla-view-list-table.php:310
|
830 |
#: includes/class-mla-view-list-table.php:514
|
831 |
msgid "Delete Permanently"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: includes/class-mla-list-table.php:
|
835 |
msgid "View"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: includes/class-mla-list-table.php:
|
839 |
msgid "(no title)"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/class-mla-list-table.php:
|
843 |
msgid "Filter by Parent ID"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: includes/class-mla-list-table.php:
|
847 |
msgid "(no title: bad ID)"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: includes/class-mla-list-table.php:
|
851 |
-
#: includes/class-mla-list-table.php:
|
852 |
-
#: includes/class-mla-main.php:
|
853 |
-
#: includes/class-mla-main.php:
|
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"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/class-mla-list-table.php:
|
860 |
-
#: includes/class-mla-settings.php:
|
861 |
msgid "MIME Type"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/class-mla-list-table.php:
|
865 |
-
#: includes/class-mla-list-table.php:
|
866 |
msgid "Unpublished"
|
867 |
msgstr ""
|
868 |
|
869 |
#. translators: 1: upload/last modified date and time
|
870 |
-
#: includes/class-mla-list-table.php:
|
871 |
-
#: includes/class-mla-list-table.php:
|
872 |
#, php-format
|
873 |
msgid "%1$s from now"
|
874 |
msgstr ""
|
875 |
|
876 |
#. translators: 1: upload/last modified date and time
|
877 |
-
#: includes/class-mla-list-table.php:
|
878 |
-
#: includes/class-mla-list-table.php:
|
879 |
#, php-format
|
880 |
msgid "%1$s ago"
|
881 |
msgstr ""
|
882 |
|
883 |
#. translators: format for upload/last modified date
|
884 |
-
#: includes/class-mla-list-table.php:
|
885 |
-
#: includes/class-mla-list-table.php:
|
886 |
-
#: includes/class-mla-list-table.php:
|
887 |
msgid "Y/m/d"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#: includes/class-mla-list-table.php:
|
891 |
msgid "Filter by Author ID"
|
892 |
msgstr ""
|
893 |
|
894 |
-
#: includes/class-mla-list-table.php:
|
895 |
msgctxt "post_mime_types_singular"
|
896 |
msgid "Unattached"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: includes/class-mla-list-table.php:
|
|
|
|
|
|
|
|
|
900 |
msgctxt "uploaded files"
|
901 |
msgid "All"
|
902 |
msgid_plural "All"
|
903 |
msgstr[0] ""
|
904 |
msgstr[1] ""
|
905 |
|
906 |
-
#: includes/class-mla-list-table.php:
|
907 |
msgid "Filter"
|
908 |
msgstr ""
|
909 |
|
910 |
-
#: includes/class-mla-list-table.php:
|
911 |
msgid "Clear Filter-by"
|
912 |
msgstr ""
|
913 |
|
914 |
-
#: includes/class-mla-list-table.php:
|
915 |
msgid "Empty Trash"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#: includes/class-mla-main.php:
|
919 |
#: includes/class-mla-settings.php:322
|
920 |
msgid "Error while saving the changes."
|
921 |
msgstr ""
|
922 |
|
923 |
-
#: includes/class-mla-main.php:
|
924 |
#: includes/class-mla-settings.php:323
|
925 |
msgid "Remove From Bulk Edit"
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: includes/class-mla-main.php:
|
929 |
#, php-format
|
930 |
msgid "Item permanently deleted."
|
931 |
msgid_plural "%d items permanently deleted."
|
@@ -933,45 +984,45 @@ msgstr[0] ""
|
|
933 |
msgstr[1] ""
|
934 |
|
935 |
#. translators: 1: post ID
|
936 |
-
#: includes/class-mla-main.php:
|
937 |
#, php-format
|
938 |
msgid "Item %1$d moved to Trash."
|
939 |
msgstr ""
|
940 |
|
941 |
-
#: includes/class-mla-main.php:
|
942 |
msgid "Entries per page"
|
943 |
msgstr ""
|
944 |
|
945 |
-
#: includes/class-mla-main.php:
|
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:
|
951 |
-
#: includes/class-mla-settings.php:
|
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:
|
958 |
-
#: includes/class-mla-settings.php:
|
959 |
#, php-format
|
960 |
msgid "Bulk Action %1$s - no items selected."
|
961 |
msgstr ""
|
962 |
|
963 |
-
#: includes/class-mla-main.php:
|
964 |
-
#: includes/class-mla-main.php:
|
965 |
-
#: includes/class-mla-settings.php:
|
966 |
-
#: includes/class-mla-settings.php:
|
967 |
-
#: includes/class-mla-settings.php:
|
968 |
-
#: includes/class-mla-settings.php:
|
969 |
-
#: includes/class-mla-shortcodes.php:
|
970 |
-
#: includes/class-mla-shortcodes.php:
|
971 |
msgid "ERROR:"
|
972 |
msgstr ""
|
973 |
|
974 |
-
#: includes/class-mla-main.php:
|
975 |
#, php-format
|
976 |
msgctxt "deleted items"
|
977 |
msgid "%s item deleted."
|
@@ -979,220 +1030,208 @@ msgid_plural "%s items deleted."
|
|
979 |
msgstr[0] ""
|
980 |
msgstr[1] ""
|
981 |
|
982 |
-
#: includes/class-mla-main.php:
|
983 |
msgid "No items deleted."
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: includes/class-mla-main.php:
|
987 |
msgid "Edit single item"
|
988 |
msgstr ""
|
989 |
|
990 |
#. translators: 1: post ID
|
991 |
-
#: includes/class-mla-main.php:
|
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:
|
998 |
-
#: includes/class-mla-settings.php:
|
999 |
#, php-format
|
1000 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#: includes/class-mla-main.php:
|
1004 |
msgid "post/parent results for"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#: includes/class-mla-main.php:
|
1008 |
msgid "search results for"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#: includes/class-mla-main.php:
|
1012 |
#: includes/mla-media-modal-js-template.php:17
|
1013 |
msgid "Search Media"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
-
#: includes/class-mla-main.php:
|
1017 |
#: includes/mla-media-modal-js-template.php:24
|
1018 |
msgid "and"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
-
#: includes/class-mla-main.php:
|
1022 |
#: includes/mla-media-modal-js-template.php:28
|
1023 |
msgid "or"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#: includes/class-mla-main.php:
|
1027 |
-
#: includes/class-mla-settings.php:
|
1028 |
-
#: includes/class-mla-settings.php:
|
1029 |
-
#: includes/class-mla-settings.php:
|
1030 |
#: includes/mla-media-modal-js-template.php:36
|
1031 |
msgid "Name"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: includes/class-mla-main.php:
|
1035 |
msgid "ERROR: No post ID found"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: includes/class-mla-main.php:
|
|
|
1039 |
msgid "You are not allowed to edit this Attachment."
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: includes/class-mla-main.php:
|
1043 |
msgid "more"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: includes/class-mla-main.php:
|
1047 |
msgid "less"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: includes/class-mla-main.php:
|
1051 |
msgid "Add"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: includes/class-mla-main.php:
|
1055 |
msgid "Remove"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: includes/class-mla-main.php:
|
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:
|
1061 |
-
#: includes/class-mla-options.php:
|
1062 |
-
#: includes/class-mla-options.php:
|
1063 |
msgid "Replace"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
-
#: includes/class-mla-main.php:
|
1067 |
msgid "Parent ID"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: includes/class-mla-main.php:
|
1071 |
-
#: includes/class-mla-
|
1072 |
-
#: includes/class-mla-settings.php:
|
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:
|
1090 |
-
#: includes/class-mla-settings.php:
|
1091 |
-
#: includes/class-mla-settings.php:
|
1092 |
msgid "No Change"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#: includes/class-mla-main.php:
|
1096 |
msgid "Allow"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: includes/class-mla-main.php:
|
1100 |
msgid "Do not allow"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#: includes/class-mla-main.php:
|
1104 |
msgid "Map IPTC/EXIF metadata"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#: includes/class-mla-main.php:
|
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:
|
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:
|
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:
|
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:
|
1131 |
msgid "File name"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: includes/class-mla-main.php:
|
1135 |
msgid "File type"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#: includes/class-mla-main.php:
|
1139 |
msgid "Upload date"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: includes/class-mla-main.php:
|
1143 |
msgid "Dimensions"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#: includes/class-mla-main.php:
|
1147 |
msgid "required"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: includes/class-mla-main.php:
|
1151 |
msgid "Must be unique; will be validated."
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#: includes/class-mla-main.php:
|
1155 |
msgid "Alternate text for the image, e.g. “The Mona Lisa”"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: includes/class-mla-main.php:
|
1159 |
msgid "ID, type and title of parent, if any."
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#: includes/class-mla-main.php:
|
1163 |
msgid "File URL"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: includes/class-mla-main.php:
|
1167 |
msgid "Location of the uploaded file."
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#: includes/class-mla-main.php:
|
1171 |
msgid "Image Metadata"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
-
#: includes/class-mla-main.php:
|
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:
|
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:
|
1186 |
#, php-format
|
1187 |
msgid "Item %1$d restored from Trash."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: includes/class-mla-main.php:
|
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:
|
1196 |
#, php-format
|
1197 |
msgid "ERROR: Item %1$d could NOT be moved to Trash."
|
1198 |
msgstr ""
|
@@ -1283,8 +1322,8 @@ msgstr ""
|
|
1283 |
|
1284 |
#: includes/class-mla-mime-types.php:953
|
1285 |
#: includes/class-mla-mime-types.php:1041
|
1286 |
-
#: includes/class-mla-mime-types.php:1052 includes/class-mla-settings.php:
|
1287 |
-
#: includes/class-mla-settings.php:
|
1288 |
msgid "Slug"
|
1289 |
msgstr ""
|
1290 |
|
@@ -1623,7 +1662,7 @@ msgstr ""
|
|
1623 |
msgid "Check this option to add support for Attachment Tags."
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#: includes/class-mla-options.php:414 includes/class-mla-settings.php:
|
1627 |
msgid "Where-used Reporting"
|
1628 |
msgstr ""
|
1629 |
|
@@ -1685,7 +1724,7 @@ msgid ""
|
|
1685 |
"Cached."
|
1686 |
msgstr ""
|
1687 |
|
1688 |
-
#: includes/class-mla-options.php:467 includes/class-mla-settings.php:
|
1689 |
msgid "Taxonomy Support"
|
1690 |
msgstr ""
|
1691 |
|
@@ -1723,7 +1762,7 @@ msgid "Page Title"
|
|
1723 |
msgstr ""
|
1724 |
|
1725 |
#: includes/class-mla-options.php:512 includes/class-mla-settings.php:356
|
1726 |
-
#: includes/class-mla-settings.php:
|
1727 |
msgid "Media Library Assistant"
|
1728 |
msgstr ""
|
1729 |
|
@@ -1862,7 +1901,7 @@ msgid ""
|
|
1862 |
"Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
|
1863 |
msgstr ""
|
1864 |
|
1865 |
-
#: includes/class-mla-options.php:619 includes/class-mla-settings.php:
|
1866 |
msgid "Media Manager Enhancements"
|
1867 |
msgstr ""
|
1868 |
|
@@ -1936,7 +1975,7 @@ msgstr ""
|
|
1936 |
|
1937 |
#: includes/class-mla-options.php:677 includes/class-mla-options.php:686
|
1938 |
#: includes/class-mla-options.php:701 includes/class-mla-options.php:715
|
1939 |
-
#: includes/class-mla-options.php:729 includes/class-mla-settings.php:
|
1940 |
msgid "Media Manager Default"
|
1941 |
msgstr ""
|
1942 |
|
@@ -2025,9 +2064,9 @@ msgid "Select the default %1$s for your %2$s shortcodes."
|
|
2025 |
msgstr ""
|
2026 |
|
2027 |
#: includes/class-mla-options.php:749 includes/class-mla-options.php:793
|
2028 |
-
#: includes/class-mla-settings.php:
|
2029 |
-
#: includes/class-mla-settings.php:
|
2030 |
-
#: includes/class-mla-settings.php:
|
2031 |
msgid "style template"
|
2032 |
msgstr ""
|
2033 |
|
@@ -2036,9 +2075,9 @@ msgid "Markup Template"
|
|
2036 |
msgstr ""
|
2037 |
|
2038 |
#: includes/class-mla-options.php:759 includes/class-mla-options.php:803
|
2039 |
-
#: includes/class-mla-settings.php:
|
2040 |
-
#: includes/class-mla-settings.php:
|
2041 |
-
#: includes/class-mla-settings.php:
|
2042 |
msgid "markup template"
|
2043 |
msgstr ""
|
2044 |
|
@@ -2311,7 +2350,7 @@ msgstr ""
|
|
2311 |
|
2312 |
#. translators: 1: option name 2: action, e.g., update, delete, reset
|
2313 |
#: includes/class-mla-options.php:1444 includes/class-mla-options.php:1595
|
2314 |
-
#: includes/class-mla-options.php:3178 includes/class-mla-options.php:
|
2315 |
#, php-format
|
2316 |
msgid "ERROR: Custom %1$s unknown action \"%2$s\""
|
2317 |
msgstr ""
|
@@ -2361,14 +2400,14 @@ msgid "Update custom %1$s"
|
|
2361 |
msgstr ""
|
2362 |
|
2363 |
#. translators: 1: option name, e.g., taxonomy_support
|
2364 |
-
#: includes/class-mla-options.php:1592 includes/class-mla-options.php:
|
2365 |
#, php-format
|
2366 |
msgid "Reset custom %1$s"
|
2367 |
msgstr ""
|
2368 |
|
2369 |
#: includes/class-mla-options.php:2573 includes/class-mla-options.php:2670
|
2370 |
#: includes/class-mla-options.php:3510 includes/class-mla-options.php:3541
|
2371 |
-
#: includes/class-mla-settings.php:
|
2372 |
msgid "None (select a value)"
|
2373 |
msgstr ""
|
2374 |
|
@@ -2381,25 +2420,26 @@ msgid "Template (see below)"
|
|
2381 |
msgstr ""
|
2382 |
|
2383 |
#. translators: 1: custom field name
|
2384 |
-
#: includes/class-mla-options.php:2749 includes/class-mla-options.php:
|
2385 |
#, php-format
|
2386 |
msgid "ERROR: New field %1$s already exists."
|
2387 |
msgstr ""
|
2388 |
|
2389 |
#. translators: 1: custom field name
|
2390 |
-
#: includes/class-mla-options.php:2754 includes/class-mla-options.php:
|
2391 |
#, php-format
|
2392 |
msgid "Adding new field %1$s."
|
2393 |
msgstr ""
|
2394 |
|
2395 |
#. translators: 1: custom field name
|
2396 |
-
#: includes/class-mla-options.php:2764 includes/class-mla-options.php:
|
2397 |
#, php-format
|
2398 |
msgid "Adding new rule for %1$s."
|
2399 |
msgstr ""
|
2400 |
|
2401 |
#. translators: 1: custom field name
|
2402 |
-
#: includes/class-mla-options.php:2795 includes/class-mla-options.php:
|
|
|
2403 |
#, php-format
|
2404 |
msgid "Deleting rule for %1$s."
|
2405 |
msgstr ""
|
@@ -2408,10 +2448,10 @@ msgstr ""
|
|
2408 |
#: includes/class-mla-options.php:2818 includes/class-mla-options.php:2839
|
2409 |
#: includes/class-mla-options.php:2889 includes/class-mla-options.php:2896
|
2410 |
#: includes/class-mla-options.php:3607 includes/class-mla-options.php:3614
|
2411 |
-
#: includes/class-mla-options.php:3621 includes/class-mla-options.php:
|
2412 |
-
#: includes/class-mla-options.php:
|
2413 |
-
#: includes/class-mla-options.php:
|
2414 |
-
#: includes/class-mla-options.php:
|
2415 |
#, php-format
|
2416 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2417 |
msgstr ""
|
@@ -2421,12 +2461,12 @@ msgid "Data Source"
|
|
2421 |
msgstr ""
|
2422 |
|
2423 |
#: includes/class-mla-options.php:2824 includes/class-mla-options.php:3641
|
2424 |
-
#: includes/class-mla-options.php:
|
2425 |
msgid "Replace to Keep"
|
2426 |
msgstr ""
|
2427 |
|
2428 |
#: includes/class-mla-options.php:2827 includes/class-mla-options.php:3644
|
2429 |
-
#: includes/class-mla-options.php:
|
2430 |
msgid "Keep to Replace"
|
2431 |
msgstr ""
|
2432 |
|
@@ -2434,17 +2474,17 @@ msgstr ""
|
|
2434 |
#: includes/class-mla-options.php:2832 includes/class-mla-options.php:2853
|
2435 |
#: includes/class-mla-options.php:2867 includes/class-mla-options.php:2881
|
2436 |
#: includes/class-mla-options.php:2910 includes/class-mla-options.php:3635
|
2437 |
-
#: includes/class-mla-options.php:3649 includes/class-mla-options.php:
|
2438 |
-
#: includes/class-mla-options.php:
|
2439 |
-
#: includes/class-mla-options.php:
|
2440 |
#, php-format
|
2441 |
msgid "%1$s changing %2$s value from %3$s."
|
2442 |
msgstr ""
|
2443 |
|
2444 |
#: includes/class-mla-options.php:2832 includes/class-mla-options.php:3136
|
2445 |
-
#: includes/class-mla-options.php:3649 includes/class-mla-options.php:
|
2446 |
-
#: includes/class-mla-options.php:
|
2447 |
-
#: includes/class-mla-options.php:
|
2448 |
msgid "Existing Text"
|
2449 |
msgstr ""
|
2450 |
|
@@ -2479,14 +2519,14 @@ msgstr ""
|
|
2479 |
msgid "Delete NULL"
|
2480 |
msgstr ""
|
2481 |
|
2482 |
-
#: includes/class-mla-options.php:2949 includes/class-mla-options.php:
|
2483 |
msgid "No Custom Field Mapping Rules Defined"
|
2484 |
msgstr ""
|
2485 |
|
2486 |
#: includes/class-mla-options.php:2963 includes/class-mla-options.php:3060
|
2487 |
-
#: includes/class-mla-options.php:3102 includes/class-mla-options.php:
|
2488 |
-
#: includes/class-mla-options.php:
|
2489 |
-
#: includes/class-mla-options.php:
|
2490 |
msgid "Keep"
|
2491 |
msgstr ""
|
2492 |
|
@@ -2530,49 +2570,49 @@ msgstr ""
|
|
2530 |
msgid "Delete NULL values"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
-
#: includes/class-mla-options.php:2990 includes/class-mla-options.php:
|
2534 |
msgid "Delete Rule"
|
2535 |
msgstr ""
|
2536 |
|
2537 |
-
#: includes/class-mla-options.php:2991 includes/class-mla-options.php:
|
2538 |
msgid "Delete Rule AND Field"
|
2539 |
msgstr ""
|
2540 |
|
2541 |
-
#: includes/class-mla-options.php:2992 includes/class-mla-options.php:
|
2542 |
msgid "Update Rule"
|
2543 |
msgstr ""
|
2544 |
|
2545 |
-
#: includes/class-mla-options.php:2993 includes/class-mla-options.php:
|
2546 |
msgid "Map All Attachments"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
-
#: includes/class-mla-options.php:3055 includes/class-mla-options.php:
|
2550 |
msgid "Add a new Mapping Rule"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
-
#: includes/class-mla-options.php:3086 includes/class-mla-options.php:
|
2554 |
msgid "Add Rule"
|
2555 |
msgstr ""
|
2556 |
|
2557 |
-
#: includes/class-mla-options.php:3087 includes/class-mla-options.php:
|
2558 |
msgid "Add Rule and Map All Attachments"
|
2559 |
msgstr ""
|
2560 |
|
2561 |
-
#: includes/class-mla-options.php:3097 includes/class-mla-options.php:
|
2562 |
msgid "Add a new Field and Mapping Rule"
|
2563 |
msgstr ""
|
2564 |
|
2565 |
-
#: includes/class-mla-options.php:3128 includes/class-mla-options.php:
|
2566 |
msgid "Add Field"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
-
#: includes/class-mla-options.php:3129 includes/class-mla-options.php:
|
2570 |
msgid "Add Field and Map All Attachments"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
#: includes/class-mla-options.php:3134 includes/class-mla-options.php:3607
|
2574 |
-
#: includes/class-mla-options.php:
|
2575 |
-
#: includes/class-mla-options.php:
|
2576 |
msgid "Field Title"
|
2577 |
msgstr ""
|
2578 |
|
@@ -2602,113 +2642,113 @@ msgstr ""
|
|
2602 |
msgid "ERROR: No old values for %1$s."
|
2603 |
msgstr ""
|
2604 |
|
2605 |
-
#: includes/class-mla-options.php:3614 includes/class-mla-options.php:
|
2606 |
-
#: includes/class-mla-options.php:
|
2607 |
-
#: includes/class-mla-options.php:
|
2608 |
msgid "IPTC Value"
|
2609 |
msgstr ""
|
2610 |
|
2611 |
-
#: includes/class-mla-options.php:3621 includes/class-mla-options.php:
|
2612 |
-
#: includes/class-mla-options.php:
|
2613 |
msgid "EXIF Value"
|
2614 |
msgstr ""
|
2615 |
|
2616 |
-
#: includes/class-mla-options.php:3627 includes/class-mla-options.php:
|
2617 |
-
#: includes/class-mla-options.php:
|
2618 |
msgid "EXIF to IPTC"
|
2619 |
msgstr ""
|
2620 |
|
2621 |
-
#: includes/class-mla-options.php:3630 includes/class-mla-options.php:
|
2622 |
-
#: includes/class-mla-options.php:
|
2623 |
msgid "IPTC to EXIF"
|
2624 |
msgstr ""
|
2625 |
|
2626 |
-
#: includes/class-mla-options.php:3635 includes/class-mla-options.php:
|
2627 |
-
#: includes/class-mla-options.php:
|
2628 |
-
#: includes/class-mla-options.php:
|
2629 |
msgid "Priority"
|
2630 |
msgstr ""
|
2631 |
|
2632 |
-
#: includes/class-mla-options.php:
|
2633 |
msgid "Delimiter(s)"
|
2634 |
msgstr ""
|
2635 |
|
2636 |
-
#: includes/class-mla-options.php:
|
2637 |
-
#: includes/class-mla-options.php:
|
2638 |
-
#: includes/class-mla-options.php:
|
2639 |
msgid "IPTC"
|
2640 |
msgstr ""
|
2641 |
|
2642 |
-
#: includes/class-mla-options.php:
|
2643 |
-
#: includes/class-mla-options.php:
|
2644 |
-
#: includes/class-mla-options.php:
|
2645 |
msgid "EXIF"
|
2646 |
msgstr ""
|
2647 |
|
2648 |
-
#: includes/class-mla-options.php:
|
2649 |
-
#: includes/class-mla-options.php:
|
2650 |
msgid "EXIF/Template Value"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
#. translators: 1: option name
|
2654 |
-
#: includes/class-mla-options.php:
|
2655 |
#, php-format
|
2656 |
msgid "ERROR: Render unknown custom %1$s."
|
2657 |
msgstr ""
|
2658 |
|
2659 |
#. translators: 1: option name
|
2660 |
-
#: includes/class-mla-options.php:
|
2661 |
#, php-format
|
2662 |
msgid "ERROR: Update/delete unknown custom %1$s."
|
2663 |
msgstr ""
|
2664 |
|
2665 |
-
#: includes/class-mla-options.php:
|
2666 |
msgid "IPTC/EXIF mapping settings updated."
|
2667 |
msgstr ""
|
2668 |
|
2669 |
-
#: includes/class-mla-options.php:
|
2670 |
msgid "ERROR: IPTC/EXIF settings update failed."
|
2671 |
msgstr ""
|
2672 |
|
2673 |
-
#: includes/class-mla-options.php:
|
2674 |
msgid "IPTC/EXIF no mapping changes detected."
|
2675 |
msgstr ""
|
2676 |
|
2677 |
#. translators: 1: field type
|
2678 |
-
#: includes/class-mla-options.php:
|
2679 |
-
#: includes/class-mla-options.php:
|
2680 |
#, php-format
|
2681 |
msgid "%1$s settings saved."
|
2682 |
msgstr ""
|
2683 |
|
2684 |
-
#: includes/class-mla-options.php:
|
2685 |
-
#: includes/class-mla-settings.php:
|
2686 |
-
#: includes/class-mla-settings.php:
|
2687 |
msgid "Standard field"
|
2688 |
msgstr ""
|
2689 |
|
2690 |
#. translators: 1: field type
|
2691 |
-
#: includes/class-mla-options.php:
|
2692 |
-
#: includes/class-mla-options.php:
|
2693 |
#, php-format
|
2694 |
msgid "ERROR: IPTC/EXIF %1$s settings update failed."
|
2695 |
msgstr ""
|
2696 |
|
2697 |
-
#: includes/class-mla-options.php:
|
2698 |
-
#: includes/class-mla-settings.php:
|
2699 |
-
#: includes/class-mla-settings.php:
|
2700 |
msgid "Taxonomy term"
|
2701 |
msgstr ""
|
2702 |
|
2703 |
-
#: includes/class-mla-options.php:
|
2704 |
-
#: includes/class-mla-settings.php:
|
2705 |
-
#: includes/class-mla-settings.php:
|
2706 |
-
#: includes/class-mla-settings.php:
|
2707 |
msgid "Custom field"
|
2708 |
msgstr ""
|
2709 |
|
2710 |
#. translators: 1: option name, e.g., taxonomy_support
|
2711 |
-
#: includes/class-mla-options.php:
|
2712 |
#, php-format
|
2713 |
msgid "ERROR: Reset unknown custom %1$s"
|
2714 |
msgstr ""
|
@@ -2741,7 +2781,7 @@ msgstr ""
|
|
2741 |
msgid "ERROR: No upload slug found"
|
2742 |
msgstr ""
|
2743 |
|
2744 |
-
#: includes/class-mla-settings.php:612 includes/class-mla-settings.php:
|
2745 |
msgid "Settings"
|
2746 |
msgstr ""
|
2747 |
|
@@ -2753,7 +2793,7 @@ msgctxt "error_log"
|
|
2753 |
msgid "ERROR: %1$s unknown type = \"%2$s\""
|
2754 |
msgstr ""
|
2755 |
|
2756 |
-
#: includes/class-mla-settings.php:728 includes/class-mla-settings.php:
|
2757 |
msgid "Go to Top"
|
2758 |
msgstr ""
|
2759 |
|
@@ -2769,8 +2809,8 @@ msgstr ""
|
|
2769 |
msgid "Uploads"
|
2770 |
msgstr ""
|
2771 |
|
2772 |
-
#: includes/class-mla-settings.php:882 includes/class-mla-settings.php:
|
2773 |
-
#: includes/class-mla-settings.php:
|
2774 |
msgid "MLA Gallery"
|
2775 |
msgstr ""
|
2776 |
|
@@ -2782,12 +2822,12 @@ msgstr ""
|
|
2782 |
msgid "Documentation"
|
2783 |
msgstr ""
|
2784 |
|
2785 |
-
#: includes/class-mla-settings.php:
|
2786 |
msgid "General Processing Options"
|
2787 |
msgstr ""
|
2788 |
|
2789 |
#. translators: 1: - 4: page subheader values
|
2790 |
-
#: includes/class-mla-settings.php:
|
2791 |
#, php-format
|
2792 |
msgid ""
|
2793 |
"In this tab you can find a number of options for controlling the "
|
@@ -2796,40 +2836,40 @@ msgid ""
|
|
2796 |
"any changes you make."
|
2797 |
msgstr ""
|
2798 |
|
2799 |
-
#: includes/class-mla-settings.php:
|
2800 |
msgid "Media/Assistant Table Defaults"
|
2801 |
msgstr ""
|
2802 |
|
2803 |
-
#: includes/class-mla-settings.php:
|
2804 |
-
#: includes/class-mla-settings.php:
|
2805 |
-
#: includes/class-mla-settings.php:
|
2806 |
-
#: includes/class-mla-settings.php:
|
2807 |
-
#: includes/class-mla-settings.php:
|
2808 |
msgid "Save Changes"
|
2809 |
msgstr ""
|
2810 |
|
2811 |
-
#: includes/class-mla-settings.php:
|
2812 |
msgid "Export ALL Settings"
|
2813 |
msgstr ""
|
2814 |
|
2815 |
-
#: includes/class-mla-settings.php:
|
2816 |
msgid "Delete General options and restore default settings"
|
2817 |
msgstr ""
|
2818 |
|
2819 |
-
#: includes/class-mla-settings.php:
|
2820 |
msgid "Support Our Work"
|
2821 |
msgstr ""
|
2822 |
|
2823 |
-
#: includes/class-mla-settings.php:
|
2824 |
msgid "Donate to FTJ"
|
2825 |
msgstr ""
|
2826 |
|
2827 |
-
#: includes/class-mla-settings.php:
|
2828 |
msgid "Donate"
|
2829 |
msgstr ""
|
2830 |
|
2831 |
#. translators: 1: donation hyperlink
|
2832 |
-
#: includes/class-mla-settings.php:
|
2833 |
#, php-format
|
2834 |
msgid ""
|
2835 |
"This plugin was inspired by my work on the WordPress web site for our "
|
@@ -2838,35 +2878,35 @@ msgid ""
|
|
2838 |
"our work. Thank you!"
|
2839 |
msgstr ""
|
2840 |
|
2841 |
-
#: includes/class-mla-settings.php:
|
2842 |
msgid "tax-deductible donation"
|
2843 |
msgstr ""
|
2844 |
|
2845 |
-
#: includes/class-mla-settings.php:
|
2846 |
msgid "enhanced version of the WordPress [gallery] shortcode."
|
2847 |
msgstr ""
|
2848 |
|
2849 |
-
#: includes/class-mla-settings.php:
|
2850 |
msgid "For complete documentation"
|
2851 |
msgstr ""
|
2852 |
|
2853 |
-
#: includes/class-mla-settings.php:
|
2854 |
msgid "click here"
|
2855 |
msgstr ""
|
2856 |
|
2857 |
-
#: includes/class-mla-settings.php:
|
2858 |
msgid "enhanced version of the WordPress Tag Cloud."
|
2859 |
msgstr ""
|
2860 |
|
2861 |
-
#: includes/class-mla-settings.php:
|
2862 |
msgid "Shortcodes made available by this plugin"
|
2863 |
msgstr ""
|
2864 |
|
2865 |
-
#: includes/class-mla-settings.php:
|
2866 |
msgid "Edit View"
|
2867 |
msgstr ""
|
2868 |
|
2869 |
-
#: includes/class-mla-settings.php:
|
2870 |
msgid ""
|
2871 |
"The “slug” is the URL-friendly, unique key for the view. It must "
|
2872 |
"be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
|
@@ -2875,25 +2915,25 @@ msgid ""
|
|
2875 |
"MIME</strong> type, e.g., “image” or “image/jpeg”."
|
2876 |
msgstr ""
|
2877 |
|
2878 |
-
#: includes/class-mla-settings.php:
|
2879 |
msgid "Singular Label"
|
2880 |
msgstr ""
|
2881 |
|
2882 |
-
#: includes/class-mla-settings.php:
|
2883 |
msgid "Plural Label"
|
2884 |
msgstr ""
|
2885 |
|
2886 |
-
#: includes/class-mla-settings.php:
|
2887 |
msgid ""
|
2888 |
"The labels, e.g., “Image” and “Images” are used for "
|
2889 |
"column headers and other display purposes."
|
2890 |
msgstr ""
|
2891 |
|
2892 |
-
#: includes/class-mla-settings.php:
|
2893 |
msgid "Specification"
|
2894 |
msgstr ""
|
2895 |
|
2896 |
-
#: includes/class-mla-settings.php:
|
2897 |
msgid ""
|
2898 |
"If the MIME type specification differs from the slug, enter it here. You may "
|
2899 |
"include multiple MIME types, e.g., “audio,video” and/or wildcard "
|
@@ -2901,54 +2941,54 @@ msgid ""
|
|
2901 |
"MIME Type box is checked."
|
2902 |
msgstr ""
|
2903 |
|
2904 |
-
#: includes/class-mla-settings.php:
|
2905 |
msgid "Post MIME Type"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
-
#: includes/class-mla-settings.php:
|
2909 |
msgid ""
|
2910 |
"Check this box if you want to add this entry to the list of MIME types "
|
2911 |
"returned by wp_get_mime_types()."
|
2912 |
msgstr ""
|
2913 |
|
2914 |
-
#: includes/class-mla-settings.php:
|
2915 |
msgid "Table View"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
-
#: includes/class-mla-settings.php:
|
2919 |
msgid ""
|
2920 |
"Check this box if you want to add this entry to the list of Media/Assistant "
|
2921 |
"table views."
|
2922 |
msgstr ""
|
2923 |
|
2924 |
-
#: includes/class-mla-settings.php:
|
2925 |
msgid ""
|
2926 |
"You can choose your own table view order by entering a number (1 for first, "
|
2927 |
"etc.) in this field."
|
2928 |
msgstr ""
|
2929 |
|
2930 |
-
#: includes/class-mla-settings.php:
|
2931 |
-
#: includes/class-mla-settings.php:
|
2932 |
msgid ""
|
2933 |
"The description can contain any documentation or notes you need to "
|
2934 |
"understand or use the item."
|
2935 |
msgstr ""
|
2936 |
|
2937 |
#. translators: 1: view name/slug
|
2938 |
-
#: includes/class-mla-settings.php:
|
2939 |
#, php-format
|
2940 |
msgid "Edit view \"%1$s\" cancelled."
|
2941 |
msgstr ""
|
2942 |
|
2943 |
-
#: includes/class-mla-settings.php:
|
2944 |
msgid "View and Post MIME Type Support is disabled"
|
2945 |
msgstr ""
|
2946 |
|
2947 |
-
#: includes/class-mla-settings.php:
|
2948 |
msgid "Library Views/Post MIME Type Processing"
|
2949 |
msgstr ""
|
2950 |
|
2951 |
-
#: includes/class-mla-settings.php:
|
2952 |
msgid ""
|
2953 |
"In this tab you can manage the list of \"Post MIME Types\", which are used "
|
2954 |
"by WordPress to define the views for the <em><strong>Media/Library</strong></"
|
@@ -2960,7 +3000,7 @@ msgid ""
|
|
2960 |
msgstr ""
|
2961 |
|
2962 |
#. translators: 1: Documentation hyperlink
|
2963 |
-
#: includes/class-mla-settings.php:
|
2964 |
#, php-format
|
2965 |
msgid ""
|
2966 |
"You can find more information about library views, Post MIME types and how "
|
@@ -2969,100 +3009,100 @@ msgid ""
|
|
2969 |
"screen."
|
2970 |
msgstr ""
|
2971 |
|
2972 |
-
#: includes/class-mla-settings.php:
|
2973 |
msgid "Library View Processing documentation"
|
2974 |
msgstr ""
|
2975 |
|
2976 |
-
#: includes/class-mla-settings.php:
|
2977 |
-
#: includes/class-mla-settings.php:
|
2978 |
msgid "Displaying search results for"
|
2979 |
msgstr ""
|
2980 |
|
2981 |
-
#: includes/class-mla-settings.php:
|
2982 |
msgid "Search Views"
|
2983 |
msgstr ""
|
2984 |
|
2985 |
-
#: includes/class-mla-settings.php:
|
2986 |
msgid "Add New View"
|
2987 |
msgstr ""
|
2988 |
|
2989 |
-
#: includes/class-mla-settings.php:
|
2990 |
msgid "Add View"
|
2991 |
msgstr ""
|
2992 |
|
2993 |
-
#: includes/class-mla-settings.php:
|
2994 |
msgid "<strong>Quick Edit</strong>"
|
2995 |
msgstr ""
|
2996 |
|
2997 |
-
#: includes/class-mla-settings.php:
|
2998 |
#: includes/class-mla-view-list-table.php:377
|
2999 |
#: includes/class-mla-view-list-table.php:393
|
3000 |
msgid "Yes"
|
3001 |
msgstr ""
|
3002 |
|
3003 |
-
#: includes/class-mla-settings.php:
|
3004 |
msgid "Edit Upload MIME Type"
|
3005 |
msgstr ""
|
3006 |
|
3007 |
-
#: includes/class-mla-settings.php:
|
3008 |
msgid "Extension"
|
3009 |
msgstr ""
|
3010 |
|
3011 |
-
#: includes/class-mla-settings.php:
|
3012 |
msgid ""
|
3013 |
"The “extension” is the file extension for this type, and a "
|
3014 |
"unique key for the item. It must be all lowercase and contain only letters "
|
3015 |
"and numbers."
|
3016 |
msgstr ""
|
3017 |
|
3018 |
-
#: includes/class-mla-settings.php:
|
3019 |
msgid ""
|
3020 |
"The MIME Type must be all lowercase and contain only letters, numbers, "
|
3021 |
"periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
|
3022 |
"strong> type, e.g., “image” or “image/jpeg”."
|
3023 |
msgstr ""
|
3024 |
|
3025 |
-
#: includes/class-mla-settings.php:
|
3026 |
msgid "Icon Type"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
-
#: includes/class-mla-settings.php:
|
3030 |
msgid ""
|
3031 |
"The Icon Type selects a thumbnail image displayed for non-image file types, "
|
3032 |
"such as PDF documents."
|
3033 |
msgstr ""
|
3034 |
|
3035 |
-
#: includes/class-mla-settings.php:
|
3036 |
msgid "Inactive"
|
3037 |
msgstr ""
|
3038 |
|
3039 |
-
#: includes/class-mla-settings.php:
|
3040 |
msgid ""
|
3041 |
"Check this box if you want to remove this entry from the list of Upload MIME "
|
3042 |
"Types returned by get_allowed_mime_types()."
|
3043 |
msgstr ""
|
3044 |
|
3045 |
-
#: includes/class-mla-settings.php:
|
3046 |
msgid "Known File Extension/MIME Type Associations"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
-
#: includes/class-mla-settings.php:
|
3050 |
msgid "Search Known MIME Types"
|
3051 |
msgstr ""
|
3052 |
|
3053 |
-
#: includes/class-mla-settings.php:
|
3054 |
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3055 |
msgstr ""
|
3056 |
|
3057 |
-
#: includes/class-mla-settings.php:
|
3058 |
msgid "Upload MIME Type Support is disabled"
|
3059 |
msgstr ""
|
3060 |
|
3061 |
-
#: includes/class-mla-settings.php:
|
3062 |
msgid "File Extension and MIME Type Processing"
|
3063 |
msgstr ""
|
3064 |
|
3065 |
-
#: includes/class-mla-settings.php:
|
3066 |
msgid ""
|
3067 |
"In this tab you can manage the list of file extension/MIME Type "
|
3068 |
"associations, which are used by WordPress to decide what kind of files can "
|
@@ -3072,7 +3112,7 @@ msgid ""
|
|
3072 |
msgstr ""
|
3073 |
|
3074 |
#. translators: 1: Documentation hyperlink
|
3075 |
-
#: includes/class-mla-settings.php:
|
3076 |
#, php-format
|
3077 |
msgid ""
|
3078 |
"You can find more information about file extensions, MIME types and how "
|
@@ -3080,56 +3120,56 @@ msgid ""
|
|
3080 |
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
3081 |
msgstr ""
|
3082 |
|
3083 |
-
#: includes/class-mla-settings.php:
|
3084 |
msgid "File Extension Processing documentation"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#: includes/class-mla-settings.php:
|
3088 |
msgid "Search Uploads"
|
3089 |
msgstr ""
|
3090 |
|
3091 |
-
#: includes/class-mla-settings.php:
|
3092 |
msgid "Add New Upload MIME Type"
|
3093 |
msgstr ""
|
3094 |
|
3095 |
-
#: includes/class-mla-settings.php:
|
3096 |
msgid ""
|
3097 |
"To search the database of over 1,500 known extension/type associations, "
|
3098 |
"click \"Search Known Types\" below the form."
|
3099 |
msgstr ""
|
3100 |
|
3101 |
-
#: includes/class-mla-settings.php:
|
3102 |
msgid ""
|
3103 |
"The “extension” is the file extension for this type, and unique "
|
3104 |
"key for the item. It must be all lowercase and contain only letters and "
|
3105 |
"numbers."
|
3106 |
msgstr ""
|
3107 |
|
3108 |
-
#: includes/class-mla-settings.php:
|
3109 |
msgid "Add Upload MIME Type"
|
3110 |
msgstr ""
|
3111 |
|
3112 |
-
#: includes/class-mla-settings.php:
|
3113 |
msgid "Search Known Types"
|
3114 |
msgstr ""
|
3115 |
|
3116 |
-
#: includes/class-mla-settings.php:
|
3117 |
msgid "Status"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
-
#: includes/class-mla-settings.php:
|
3121 |
msgid "Active"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
-
#: includes/class-mla-settings.php:
|
3125 |
msgid "MLA Gallery Options"
|
3126 |
msgstr ""
|
3127 |
|
3128 |
-
#: includes/class-mla-settings.php:
|
3129 |
msgid "Go to Markup Templates"
|
3130 |
msgstr ""
|
3131 |
|
3132 |
-
#: includes/class-mla-settings.php:
|
3133 |
msgid ""
|
3134 |
"In this tab you can view the default style and markup templates. You can "
|
3135 |
"also define additional templates and use the <code>mla_style</code> and "
|
@@ -3139,121 +3179,121 @@ msgid ""
|
|
3139 |
"Changes\" at the bottom of this page."
|
3140 |
msgstr ""
|
3141 |
|
3142 |
-
#: includes/class-mla-settings.php:
|
3143 |
msgid "Style Templates"
|
3144 |
msgstr ""
|
3145 |
|
3146 |
-
#: includes/class-mla-settings.php:
|
3147 |
msgid "Markup Templates"
|
3148 |
msgstr ""
|
3149 |
|
3150 |
-
#: includes/class-mla-settings.php:
|
3151 |
msgid "Theme"
|
3152 |
msgstr ""
|
3153 |
|
3154 |
-
#: includes/class-mla-settings.php:
|
3155 |
msgid ""
|
3156 |
"This default template cannot be altered or deleted, but you can copy the "
|
3157 |
"styles."
|
3158 |
msgstr ""
|
3159 |
|
3160 |
-
#: includes/class-mla-settings.php:
|
3161 |
-
#: includes/class-mla-settings.php:
|
3162 |
msgid "Styles"
|
3163 |
msgstr ""
|
3164 |
|
3165 |
-
#: includes/class-mla-settings.php:
|
3166 |
-
#: includes/class-mla-settings.php:
|
3167 |
msgid ""
|
3168 |
"List of substitution parameters, e.g., [+selector+], on Documentation tab."
|
3169 |
msgstr ""
|
3170 |
|
3171 |
-
#: includes/class-mla-settings.php:
|
3172 |
msgid "Delete this template"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
-
#: includes/class-mla-settings.php:
|
3176 |
msgid ""
|
3177 |
"Check the box to delete this template when you press Update at the bottom of "
|
3178 |
"the page."
|
3179 |
msgstr ""
|
3180 |
|
3181 |
-
#: includes/class-mla-settings.php:
|
3182 |
msgid "Fill in a name and styles to add a new template."
|
3183 |
msgstr ""
|
3184 |
|
3185 |
-
#: includes/class-mla-settings.php:
|
3186 |
msgid ""
|
3187 |
"This default template cannot be altered or deleted, but you can copy the "
|
3188 |
"markup."
|
3189 |
msgstr ""
|
3190 |
|
3191 |
-
#: includes/class-mla-settings.php:
|
3192 |
-
#: includes/class-mla-settings.php:
|
3193 |
msgid "Open"
|
3194 |
msgstr ""
|
3195 |
|
3196 |
-
#: includes/class-mla-settings.php:
|
3197 |
-
#: includes/class-mla-settings.php:
|
3198 |
msgid ""
|
3199 |
"Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
|
3200 |
"+], on Documentation tab."
|
3201 |
msgstr ""
|
3202 |
|
3203 |
-
#: includes/class-mla-settings.php:
|
3204 |
-
#: includes/class-mla-settings.php:
|
3205 |
msgid "Row"
|
3206 |
msgstr ""
|
3207 |
|
3208 |
-
#: includes/class-mla-settings.php:
|
3209 |
msgid "Markup for the beginning of each row in the gallery."
|
3210 |
msgstr ""
|
3211 |
|
3212 |
-
#: includes/class-mla-settings.php:
|
3213 |
-
#: includes/class-mla-settings.php:
|
3214 |
msgid "Item"
|
3215 |
msgstr ""
|
3216 |
|
3217 |
-
#: includes/class-mla-settings.php:
|
3218 |
msgid "Markup for each item/cell of the gallery."
|
3219 |
msgstr ""
|
3220 |
|
3221 |
-
#: includes/class-mla-settings.php:
|
3222 |
-
#: includes/class-mla-settings.php:
|
3223 |
msgid "Close"
|
3224 |
msgstr ""
|
3225 |
|
3226 |
-
#: includes/class-mla-settings.php:
|
3227 |
msgid "Markup for the end of each row in the gallery."
|
3228 |
msgstr ""
|
3229 |
|
3230 |
-
#: includes/class-mla-settings.php:
|
3231 |
-
#: includes/class-mla-settings.php:
|
3232 |
msgid "Markup for the end of the gallery."
|
3233 |
msgstr ""
|
3234 |
|
3235 |
-
#: includes/class-mla-settings.php:
|
3236 |
msgid "Markup for the beginning of each row."
|
3237 |
msgstr ""
|
3238 |
|
3239 |
-
#: includes/class-mla-settings.php:
|
3240 |
msgid "Markup for each item/cell."
|
3241 |
msgstr ""
|
3242 |
|
3243 |
-
#: includes/class-mla-settings.php:
|
3244 |
msgid "Markup for the end of each row."
|
3245 |
msgstr ""
|
3246 |
|
3247 |
-
#: includes/class-mla-settings.php:
|
3248 |
msgid "Fill in a name and markup to add a new template."
|
3249 |
msgstr ""
|
3250 |
|
3251 |
-
#: includes/class-mla-settings.php:
|
3252 |
msgid "Custom Field and Attachment Metadata Processing Options"
|
3253 |
msgstr ""
|
3254 |
|
3255 |
#. translators: 1: Documentation hyperlink
|
3256 |
-
#: includes/class-mla-settings.php:
|
3257 |
#, php-format
|
3258 |
msgid ""
|
3259 |
"In this tab you can define the rules for mapping several types of image "
|
@@ -3263,36 +3303,36 @@ msgid ""
|
|
3263 |
"field. See the %1$s section of the Documentation for details."
|
3264 |
msgstr ""
|
3265 |
|
3266 |
-
#: includes/class-mla-settings.php:
|
3267 |
msgid "Updating Attachment Metadata Documentation"
|
3268 |
msgstr ""
|
3269 |
|
3270 |
-
#: includes/class-mla-settings.php:
|
3271 |
msgid "Adding or changing Attachment Metadata"
|
3272 |
msgstr ""
|
3273 |
|
3274 |
#. translators: 1: Documentation hyperlink
|
3275 |
-
#: includes/class-mla-settings.php:
|
3276 |
#, php-format
|
3277 |
msgid ""
|
3278 |
"You can find more information about using the controls in this tab to define "
|
3279 |
"mapping rules and apply them in the %1$s section of the Documentation."
|
3280 |
msgstr ""
|
3281 |
|
3282 |
-
#: includes/class-mla-settings.php:
|
3283 |
msgid "Custom Field Options documentation"
|
3284 |
msgstr ""
|
3285 |
|
3286 |
-
#: includes/class-mla-settings.php:
|
3287 |
msgid "Custom field mapping"
|
3288 |
msgstr ""
|
3289 |
|
3290 |
-
#: includes/class-mla-settings.php:
|
3291 |
msgid "Map All Rules, All Attachments Now"
|
3292 |
msgstr ""
|
3293 |
|
3294 |
#. translators: 1: "Save Changes"
|
3295 |
-
#: includes/class-mla-settings.php:
|
3296 |
#, php-format
|
3297 |
msgid ""
|
3298 |
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
@@ -3301,18 +3341,18 @@ msgid ""
|
|
3301 |
msgstr ""
|
3302 |
|
3303 |
#. translators: 1: "Map All Rules..."
|
3304 |
-
#: includes/class-mla-settings.php:
|
3305 |
#, php-format
|
3306 |
msgid ""
|
3307 |
"Click %1$s to apply all the rules at once (rule changes will be applied but "
|
3308 |
"not saved)."
|
3309 |
msgstr ""
|
3310 |
|
3311 |
-
#: includes/class-mla-settings.php:
|
3312 |
msgid "IPTC & EXIF Processing Options"
|
3313 |
msgstr ""
|
3314 |
|
3315 |
-
#: includes/class-mla-settings.php:
|
3316 |
msgid ""
|
3317 |
"In this tab you can define the rules for mapping IPTC (International Press "
|
3318 |
"Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
|
@@ -3321,32 +3361,32 @@ msgid ""
|
|
3321 |
"click \"Save Changes\" at the bottom of this page."
|
3322 |
msgstr ""
|
3323 |
|
3324 |
-
#: includes/class-mla-settings.php:
|
3325 |
msgid "IPTC/EXIF Options documentation"
|
3326 |
msgstr ""
|
3327 |
|
3328 |
-
#: includes/class-mla-settings.php:
|
3329 |
msgid "Standard field mapping"
|
3330 |
msgstr ""
|
3331 |
|
3332 |
-
#: includes/class-mla-settings.php:
|
3333 |
msgid "Map All Attachments, Standard Fields Now"
|
3334 |
msgstr ""
|
3335 |
|
3336 |
-
#: includes/class-mla-settings.php:
|
3337 |
msgid "Taxonomy term mapping"
|
3338 |
msgstr ""
|
3339 |
|
3340 |
-
#: includes/class-mla-settings.php:
|
3341 |
msgid "Map All Attachments, Taxonomy Terms Now"
|
3342 |
msgstr ""
|
3343 |
|
3344 |
-
#: includes/class-mla-settings.php:
|
3345 |
msgid "Map All Attachments, Custom Fields Now"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
#. translators: 1: "Save Changes"
|
3349 |
-
#: includes/class-mla-settings.php:
|
3350 |
#, php-format
|
3351 |
msgid ""
|
3352 |
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
@@ -3354,159 +3394,159 @@ msgid ""
|
|
3354 |
"performed.</strong>"
|
3355 |
msgstr ""
|
3356 |
|
3357 |
-
#: includes/class-mla-settings.php:
|
3358 |
msgid "Media Library Assistant - Error"
|
3359 |
msgstr ""
|
3360 |
|
3361 |
-
#: includes/class-mla-settings.php:
|
3362 |
msgid "You do not have permission to manage plugin settings."
|
3363 |
msgstr ""
|
3364 |
|
3365 |
-
#: includes/class-mla-settings.php:
|
3366 |
msgid "ERROR: Cannot render content tab"
|
3367 |
msgstr ""
|
3368 |
|
3369 |
-
#: includes/class-mla-settings.php:
|
3370 |
msgid "ERROR: Unknown content tab"
|
3371 |
msgstr ""
|
3372 |
|
3373 |
#. translators: 1: template type 2: template name
|
3374 |
-
#: includes/class-mla-settings.php:
|
3375 |
#, php-format
|
3376 |
msgctxt "message_list"
|
3377 |
msgid "Deleting %1$s \"%2$s\"."
|
3378 |
msgstr ""
|
3379 |
|
3380 |
#. translators: 1: template name 2: template type
|
3381 |
-
#: includes/class-mla-settings.php:
|
3382 |
#, php-format
|
3383 |
msgid "ERROR: Reserved name \"%1$s\", new %2$s discarded."
|
3384 |
msgstr ""
|
3385 |
|
3386 |
#. translators: 1: template name 2: template type
|
3387 |
-
#: includes/class-mla-settings.php:
|
3388 |
#, php-format
|
3389 |
msgid "ERROR: Duplicate name \"%1$s\", new %2$s discarded."
|
3390 |
msgstr ""
|
3391 |
|
3392 |
#. translators: 1: template type 2: template name
|
3393 |
-
#: includes/class-mla-settings.php:
|
3394 |
#, php-format
|
3395 |
msgctxt "message_list"
|
3396 |
msgid "Adding new %1$s \"%2$s\"."
|
3397 |
msgstr ""
|
3398 |
|
3399 |
#. translators: 1: element name 3: old value
|
3400 |
-
#: includes/class-mla-settings.php:
|
3401 |
#, php-format
|
3402 |
msgid "ERROR: Blank %1$s, reverting to \"%3$s\"."
|
3403 |
msgstr ""
|
3404 |
|
3405 |
-
#: includes/class-mla-settings.php:
|
3406 |
-
#: includes/class-mla-settings.php:
|
3407 |
msgid "style template name"
|
3408 |
msgstr ""
|
3409 |
|
3410 |
#. translators: 1: element name 2: new value 3: old value
|
3411 |
-
#: includes/class-mla-settings.php:
|
3412 |
#, php-format
|
3413 |
msgid "ERROR: Duplicate new %1$s \"%2$s\", reverting to \"%3$s\"."
|
3414 |
msgstr ""
|
3415 |
|
3416 |
#. translators: 1: element name 2: old_value 3: new_value
|
3417 |
-
#: includes/class-mla-settings.php:
|
3418 |
#, php-format
|
3419 |
msgctxt "message_list"
|
3420 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
3421 |
msgstr ""
|
3422 |
|
3423 |
#. translators: 1: template type 2: template name
|
3424 |
-
#: includes/class-mla-settings.php:
|
3425 |
#, php-format
|
3426 |
msgctxt "message_list"
|
3427 |
msgid "Updating contents of %1$s \"%2$s\"."
|
3428 |
msgstr ""
|
3429 |
|
3430 |
#. translators: 1: template type
|
3431 |
-
#: includes/class-mla-settings.php:
|
3432 |
#, php-format
|
3433 |
msgid "ERROR: Update of %1$s failed."
|
3434 |
msgstr ""
|
3435 |
|
3436 |
-
#: includes/class-mla-settings.php:
|
3437 |
-
#: includes/class-mla-settings.php:
|
3438 |
msgid "markup template name"
|
3439 |
msgstr ""
|
3440 |
|
3441 |
#. translators: 1: template name
|
3442 |
-
#: includes/class-mla-settings.php:
|
3443 |
#, php-format
|
3444 |
msgctxt "message_list"
|
3445 |
msgid "Updating open markup for \"%1$s\"."
|
3446 |
msgstr ""
|
3447 |
|
3448 |
#. translators: 1: template name
|
3449 |
-
#: includes/class-mla-settings.php:
|
3450 |
#, php-format
|
3451 |
msgctxt "message_list"
|
3452 |
msgid "Updating row open markup for \"%1$s\"."
|
3453 |
msgstr ""
|
3454 |
|
3455 |
#. translators: 1: template name
|
3456 |
-
#: includes/class-mla-settings.php:
|
3457 |
#, php-format
|
3458 |
msgctxt "message_list"
|
3459 |
msgid "Updating item markup for \"%1$s\"."
|
3460 |
msgstr ""
|
3461 |
|
3462 |
#. translators: 1: template name
|
3463 |
-
#: includes/class-mla-settings.php:
|
3464 |
#, php-format
|
3465 |
msgctxt "message_list"
|
3466 |
msgid "Updating row close markup for \"%1$s\"."
|
3467 |
msgstr ""
|
3468 |
|
3469 |
#. translators: 1: template name
|
3470 |
-
#: includes/class-mla-settings.php:
|
3471 |
#, php-format
|
3472 |
msgctxt "message_list"
|
3473 |
msgid "Updating close markup for \"%1$s\"."
|
3474 |
msgstr ""
|
3475 |
|
3476 |
#. translators: 1: field type
|
3477 |
-
#: includes/class-mla-settings.php:
|
3478 |
#, php-format
|
3479 |
msgid "%1$s no changes detected."
|
3480 |
msgstr ""
|
3481 |
|
3482 |
-
#: includes/class-mla-settings.php:
|
3483 |
msgid "View settings saved."
|
3484 |
msgstr ""
|
3485 |
|
3486 |
-
#: includes/class-mla-settings.php:
|
3487 |
msgid "Upload MIME Type settings saved."
|
3488 |
msgstr ""
|
3489 |
|
3490 |
-
#: includes/class-mla-settings.php:
|
3491 |
msgid "ERROR: No custom field mapping rules to process."
|
3492 |
msgstr ""
|
3493 |
|
3494 |
#. translators: 1: field type 2: examined count 3: updated count
|
3495 |
-
#: includes/class-mla-settings.php:
|
3496 |
-
#: includes/class-mla-settings.php:
|
3497 |
#, php-format
|
3498 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3499 |
msgstr ""
|
3500 |
|
3501 |
#. translators: 1: field type 2: examined count
|
3502 |
-
#: includes/class-mla-settings.php:
|
3503 |
-
#: includes/class-mla-settings.php:
|
3504 |
#, php-format
|
3505 |
msgid ""
|
3506 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3507 |
msgstr ""
|
3508 |
|
3509 |
-
#: includes/class-mla-settings.php:
|
3510 |
#, php-format
|
3511 |
msgid "%s attachment"
|
3512 |
msgid_plural "%s attachments"
|
@@ -3514,160 +3554,160 @@ msgstr[0] ""
|
|
3514 |
msgstr[1] ""
|
3515 |
|
3516 |
#. translators: 1: number of attachments
|
3517 |
-
#: includes/class-mla-settings.php:
|
3518 |
#, php-format
|
3519 |
msgid "Deleted custom field value from %1$s."
|
3520 |
msgstr ""
|
3521 |
|
3522 |
-
#: includes/class-mla-settings.php:
|
3523 |
msgid "No attachments contained this custom field."
|
3524 |
msgstr ""
|
3525 |
|
3526 |
#. translators: 1: field type
|
3527 |
-
#: includes/class-mla-settings.php:
|
3528 |
-
#: includes/class-mla-settings.php:
|
3529 |
#, php-format
|
3530 |
msgid "ERROR: No %1$s settings to process."
|
3531 |
msgstr ""
|
3532 |
|
3533 |
-
#: includes/class-mla-settings.php:
|
3534 |
-
#: includes/class-mla-settings.php:
|
3535 |
msgid "updated."
|
3536 |
msgstr ""
|
3537 |
|
3538 |
#. translators: 1: reference type, e.g., Gallery in
|
3539 |
-
#: includes/class-mla-settings.php:
|
3540 |
#, php-format
|
3541 |
msgctxt "message_list"
|
3542 |
msgid "%1$s - references updated."
|
3543 |
msgstr ""
|
3544 |
|
3545 |
-
#: includes/class-mla-settings.php:
|
3546 |
msgid "General settings saved."
|
3547 |
msgstr ""
|
3548 |
|
3549 |
#. translators: 1: option name
|
3550 |
-
#: includes/class-mla-settings.php:
|
3551 |
#, php-format
|
3552 |
msgctxt "message_list"
|
3553 |
msgid "delete_option \"%1$s\""
|
3554 |
msgstr ""
|
3555 |
|
3556 |
-
#: includes/class-mla-settings.php:
|
3557 |
msgid "General settings reset to default values."
|
3558 |
msgstr ""
|
3559 |
|
3560 |
-
#: includes/class-mla-settings.php:
|
3561 |
msgid "select settings"
|
3562 |
msgstr ""
|
3563 |
|
3564 |
-
#: includes/class-mla-settings.php:
|
3565 |
msgid "Import ALL Settings"
|
3566 |
msgstr ""
|
3567 |
|
3568 |
-
#: includes/class-mla-settings.php:
|
3569 |
msgctxt "message_list"
|
3570 |
msgid "exported"
|
3571 |
msgstr ""
|
3572 |
|
3573 |
-
#: includes/class-mla-settings.php:
|
3574 |
msgctxt "message_list"
|
3575 |
msgid "skipped"
|
3576 |
msgstr ""
|
3577 |
|
3578 |
-
#: includes/class-mla-settings.php:
|
3579 |
msgid "ALL settings exported."
|
3580 |
msgstr ""
|
3581 |
|
3582 |
#. translators: 1: backup directory name
|
3583 |
-
#: includes/class-mla-settings.php:
|
3584 |
#, php-format
|
3585 |
msgid "ERROR: The settings directory ( %1$s ) cannot be created."
|
3586 |
msgstr ""
|
3587 |
|
3588 |
#. translators: 1: backup directory name
|
3589 |
-
#: includes/class-mla-settings.php:
|
3590 |
#, php-format
|
3591 |
msgid "ERROR: The settings directory ( %1$s ) is not writable."
|
3592 |
msgstr ""
|
3593 |
|
3594 |
#. translators: 1: backup file name
|
3595 |
-
#: includes/class-mla-settings.php:
|
3596 |
#, php-format
|
3597 |
msgid "ERROR: The settings file ( %1$s ) could not be opened."
|
3598 |
msgstr ""
|
3599 |
|
3600 |
#. translators: 1: PHP error information
|
3601 |
-
#: includes/class-mla-settings.php:
|
3602 |
#, php-format
|
3603 |
msgctxt "error_log"
|
3604 |
msgid "ERROR: _export_settings $error_info = \"%1$s\"."
|
3605 |
msgstr ""
|
3606 |
|
3607 |
#. translators: 1: backup file name 2: error message
|
3608 |
-
#: includes/class-mla-settings.php:
|
3609 |
#, php-format
|
3610 |
msgid "ERROR: Writing the settings file ( %1$s ) \"%2$s\"."
|
3611 |
msgstr ""
|
3612 |
|
3613 |
#. translators: 1: number of option settings
|
3614 |
-
#: includes/class-mla-settings.php:
|
3615 |
#, php-format
|
3616 |
msgid "Settings exported; %1$s settings recorded."
|
3617 |
msgstr ""
|
3618 |
|
3619 |
-
#: includes/class-mla-settings.php:
|
3620 |
msgid "No settings imported."
|
3621 |
msgstr ""
|
3622 |
|
3623 |
-
#: includes/class-mla-settings.php:
|
3624 |
msgid "Please select an import settings file from the dropdown list."
|
3625 |
msgstr ""
|
3626 |
|
3627 |
-
#: includes/class-mla-settings.php:
|
3628 |
msgid "ERROR: The import settings dropdown selection is missing."
|
3629 |
msgstr ""
|
3630 |
|
3631 |
#. translators: 1: PHP error information
|
3632 |
-
#: includes/class-mla-settings.php:
|
3633 |
#, php-format
|
3634 |
msgctxt "error_log"
|
3635 |
msgid "ERROR: _import_settings $error_info = \"%1$s\"."
|
3636 |
msgstr ""
|
3637 |
|
3638 |
#. translators: 1: backup file name 2: error message
|
3639 |
-
#: includes/class-mla-settings.php:
|
3640 |
#, php-format
|
3641 |
msgid "ERROR: Reading the settings file ( %1$s ) \"%2$s\"."
|
3642 |
msgstr ""
|
3643 |
|
3644 |
-
#: includes/class-mla-settings.php:
|
3645 |
msgctxt "message_list"
|
3646 |
msgid "updated"
|
3647 |
msgstr ""
|
3648 |
|
3649 |
-
#: includes/class-mla-settings.php:
|
3650 |
msgctxt "message_list"
|
3651 |
msgid "unchanged"
|
3652 |
msgstr ""
|
3653 |
|
3654 |
#. translators: 1: number of option settings updated 2: number of option settings unchanged
|
3655 |
-
#: includes/class-mla-settings.php:
|
3656 |
#, php-format
|
3657 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
3658 |
msgstr ""
|
3659 |
|
3660 |
#: includes/class-mla-shortcodes.php:255
|
3661 |
-
#: includes/class-mla-shortcodes.php:
|
3662 |
-
#: includes/class-mla-shortcodes.php:
|
3663 |
-
#: includes/class-mla-shortcodes.php:
|
3664 |
msgid "Previous"
|
3665 |
msgstr ""
|
3666 |
|
3667 |
#: includes/class-mla-shortcodes.php:256
|
3668 |
-
#: includes/class-mla-shortcodes.php:
|
3669 |
-
#: includes/class-mla-shortcodes.php:
|
3670 |
-
#: includes/class-mla-shortcodes.php:
|
3671 |
msgid "Next"
|
3672 |
msgstr ""
|
3673 |
|
@@ -3689,84 +3729,84 @@ msgstr ""
|
|
3689 |
msgid "unknown"
|
3690 |
msgstr ""
|
3691 |
|
3692 |
-
#: includes/class-mla-shortcodes.php:
|
3693 |
msgid "mla_debug attributes"
|
3694 |
msgstr ""
|
3695 |
|
3696 |
-
#: includes/class-mla-shortcodes.php:
|
3697 |
msgid "mla_debug arguments"
|
3698 |
msgstr ""
|
3699 |
|
3700 |
-
#: includes/class-mla-shortcodes.php:
|
3701 |
msgid "mla_debug empty cloud"
|
3702 |
msgstr ""
|
3703 |
|
3704 |
-
#: includes/class-mla-shortcodes.php:
|
3705 |
-
#: includes/class-mla-shortcodes.php:
|
3706 |
msgid "ERROR: Invalid mla_gallery"
|
3707 |
msgstr ""
|
3708 |
|
3709 |
-
#: includes/class-mla-shortcodes.php:
|
3710 |
msgid "mla_debug query"
|
3711 |
msgstr ""
|
3712 |
|
3713 |
-
#: includes/class-mla-shortcodes.php:
|
3714 |
msgid "mla_debug request"
|
3715 |
msgstr ""
|
3716 |
|
3717 |
-
#: includes/class-mla-shortcodes.php:
|
3718 |
msgid "mla_debug query_vars"
|
3719 |
msgstr ""
|
3720 |
|
3721 |
-
#: includes/class-mla-shortcodes.php:
|
3722 |
msgid "mla_debug post_count"
|
3723 |
msgstr ""
|
3724 |
|
3725 |
-
#: includes/class-mla-shortcodes.php:
|
3726 |
msgid "mla_debug WHERE filter"
|
3727 |
msgstr ""
|
3728 |
|
3729 |
-
#: includes/class-mla-shortcodes.php:
|
3730 |
msgid "mla_debug modified WHERE filter"
|
3731 |
msgstr ""
|
3732 |
|
3733 |
-
#: includes/class-mla-shortcodes.php:
|
3734 |
msgid "mla_debug ORDER BY filter, incoming"
|
3735 |
msgstr ""
|
3736 |
|
3737 |
-
#: includes/class-mla-shortcodes.php:
|
3738 |
msgid "Replacement ORDER BY clause"
|
3739 |
msgstr ""
|
3740 |
|
3741 |
-
#: includes/class-mla-shortcodes.php:
|
3742 |
msgid "mla_debug posts_clauses filter"
|
3743 |
msgstr ""
|
3744 |
|
3745 |
-
#: includes/class-mla-shortcodes.php:
|
3746 |
msgid "mla_debug posts_clauses_request filter"
|
3747 |
msgstr ""
|
3748 |
|
3749 |
-
#: includes/class-mla-shortcodes.php:
|
3750 |
msgid "Invalid taxonomy"
|
3751 |
msgstr ""
|
3752 |
|
3753 |
-
#: includes/class-mla-shortcodes.php:
|
3754 |
msgid "mla_debug query arguments"
|
3755 |
msgstr ""
|
3756 |
|
3757 |
-
#: includes/class-mla-shortcodes.php:
|
3758 |
msgid "mla_debug last_query"
|
3759 |
msgstr ""
|
3760 |
|
3761 |
-
#: includes/class-mla-shortcodes.php:
|
3762 |
msgid "mla_debug last_error"
|
3763 |
msgstr ""
|
3764 |
|
3765 |
-
#: includes/class-mla-shortcodes.php:
|
3766 |
msgid "mla_debug num_rows"
|
3767 |
msgstr ""
|
3768 |
|
3769 |
-
#: includes/class-mla-shortcodes.php:
|
3770 |
msgid "mla_debug found_rows"
|
3771 |
msgstr ""
|
3772 |
|
@@ -3839,10 +3879,6 @@ msgstr ""
|
|
3839 |
msgid "Select this entry"
|
3840 |
msgstr ""
|
3841 |
|
3842 |
-
#: includes/class-mla-upload-optional-list-table.php:281
|
3843 |
-
msgid "Select"
|
3844 |
-
msgstr ""
|
3845 |
-
|
3846 |
#: includes/class-mla-upload-optional-list-table.php:414
|
3847 |
msgid "Select these entries"
|
3848 |
msgstr ""
|
@@ -3877,10 +3913,6 @@ msgctxt "list_table_column"
|
|
3877 |
msgid "Order"
|
3878 |
msgstr ""
|
3879 |
|
3880 |
-
#: includes/mla-media-modal-js-template.php:20
|
3881 |
-
msgid "Search"
|
3882 |
-
msgstr ""
|
3883 |
-
|
3884 |
#: includes/mla-plugin-loader.php:34
|
3885 |
msgid "The Media Library Assistant cannot load."
|
3886 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
+
"POT-Creation-Date: 2014-05-18 20:17-0800\n"
|
5 |
+
"PO-Revision-Date: 2014-05-18 20:17-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:1256 includes/class-mla-edit-media.php:419
|
93 |
+
#: includes/class-mla-main.php:1418 includes/class-mla-main.php:1545
|
94 |
#: includes/class-mla-mime-types.php:483
|
95 |
#: includes/class-mla-mime-types.php:1218
|
96 |
+
#: includes/class-mla-mime-types.php:2355 includes/class-mla-settings.php:1188
|
97 |
+
#: includes/class-mla-settings.php:1635
|
98 |
#, php-format
|
99 |
msgctxt "error_log"
|
100 |
msgid "ERROR: %1$s non-array \"%2$s\""
|
101 |
msgstr ""
|
102 |
|
103 |
#. translators: 1: query filter details
|
104 |
+
#: includes/class-mla-data.php:1633
|
105 |
#, php-format
|
106 |
msgid "_execute_list_table_query $wp_filter = \"%1$s\"."
|
107 |
msgstr ""
|
108 |
|
109 |
#. translators: 1: query filter details
|
110 |
+
#: includes/class-mla-data.php:1636
|
111 |
#, php-format
|
112 |
msgctxt "error_log"
|
113 |
msgid "DEBUG: _execute_list_table_query $wp_filter = \"%1$s\"."
|
114 |
msgstr ""
|
115 |
|
116 |
#. translators: 1: query details
|
117 |
+
#: includes/class-mla-data.php:1653
|
118 |
#, php-format
|
119 |
msgid "_execute_list_table_query WP_Query = \"%1$s\"."
|
120 |
msgstr ""
|
121 |
|
122 |
#. translators: 1: SQL statement
|
123 |
+
#: includes/class-mla-data.php:1655
|
124 |
#, php-format
|
125 |
msgid "_execute_list_table_query SQL_request = \"%1$s\"."
|
126 |
msgstr ""
|
127 |
|
128 |
#. translators: 1: query details
|
129 |
+
#: includes/class-mla-data.php:1658
|
130 |
#, php-format
|
131 |
msgctxt "error_log"
|
132 |
msgid "DEBUG: _execute_list_table_query WP_Query = \"%1$s\"."
|
133 |
msgstr ""
|
134 |
|
135 |
#. translators: 1: SQL statement
|
136 |
+
#: includes/class-mla-data.php:1660
|
137 |
#, php-format
|
138 |
msgctxt "error_log"
|
139 |
msgid "DEBUG: _execute_list_table_query SQL_request = \"%1$s\"."
|
140 |
msgstr ""
|
141 |
|
142 |
#. translators: 1: search box details
|
143 |
+
#: includes/class-mla-data.php:1798
|
144 |
#, php-format
|
145 |
msgid "mla_query_posts_search_filter not numeric, = \"%1$s\"."
|
146 |
msgstr ""
|
147 |
|
148 |
#. translators: 1: search box details
|
149 |
+
#: includes/class-mla-data.php:1801
|
150 |
#, php-format
|
151 |
msgctxt "error_log"
|
152 |
msgid "DEBUG: mla_query_posts_search_filter not numeric, = \"%1$s\"."
|
153 |
msgstr ""
|
154 |
|
155 |
#. translators: 1: search box details
|
156 |
+
#: includes/class-mla-data.php:1842
|
157 |
#, php-format
|
158 |
msgid "mla_query_posts_join_filter = \"%1$s\"."
|
159 |
msgstr ""
|
160 |
|
161 |
#. translators: 1: search box details
|
162 |
+
#: includes/class-mla-data.php:1845
|
163 |
#, php-format
|
164 |
msgctxt "error_log"
|
165 |
msgid "DEBUG: mla_query_posts_join_filter = \"%1$s\"."
|
166 |
msgstr ""
|
167 |
|
168 |
#. translators: 1: search box details
|
169 |
+
#: includes/class-mla-data.php:1907
|
170 |
#, php-format
|
171 |
msgid "mla_query_posts_where_filter = \"%1$s\"."
|
172 |
msgstr ""
|
173 |
|
174 |
#. translators: 1: search box details
|
175 |
+
#: includes/class-mla-data.php:1910
|
176 |
#, php-format
|
177 |
msgctxt "error_log"
|
178 |
msgid "DEBUG: mla_query_posts_where_filter = \"%1$s\"."
|
179 |
msgstr ""
|
180 |
|
181 |
#. translators: 1: search box details
|
182 |
+
#: includes/class-mla-data.php:1987
|
183 |
#, php-format
|
184 |
msgid "mla_query_posts_orderby_filter = \"%1$s\"."
|
185 |
msgstr ""
|
186 |
|
187 |
#. translators: 1: search box details
|
188 |
+
#: includes/class-mla-data.php:1990
|
189 |
#, php-format
|
190 |
msgctxt "error_log"
|
191 |
msgid "DEBUG: mla_query_posts_orderby_filter = \"%1$s\"."
|
192 |
msgstr ""
|
193 |
|
194 |
#. translators: 1: SQL clauses
|
195 |
+
#: includes/class-mla-data.php:2026
|
196 |
#, php-format
|
197 |
msgid "mla_query_posts_clauses_filter = \"%1$s\"."
|
198 |
msgstr ""
|
199 |
|
200 |
#. translators: 1: SQL clauses
|
201 |
+
#: includes/class-mla-data.php:2029
|
202 |
#, php-format
|
203 |
msgctxt "error_log"
|
204 |
msgid "DEBUG: mla_query_posts_clauses_filter = \"%1$s\"."
|
205 |
msgstr ""
|
206 |
|
207 |
#. translators: 1: SQL clauses
|
208 |
+
#: includes/class-mla-data.php:2050
|
209 |
#, php-format
|
210 |
msgid "mla_query_posts_clauses_request_filter = \"%1$s\"."
|
211 |
msgstr ""
|
212 |
|
213 |
#. translators: 1: SQL clauses
|
214 |
+
#: includes/class-mla-data.php:2053
|
215 |
#, php-format
|
216 |
msgctxt "error_log"
|
217 |
msgid "DEBUG: mla_query_posts_clauses_request_filter = \"%1$s\"."
|
218 |
msgstr ""
|
219 |
|
220 |
#. translators: 1: post ID
|
221 |
+
#: includes/class-mla-data.php:2085
|
222 |
#, php-format
|
223 |
msgctxt "error_log"
|
224 |
msgid "ERROR: mla_get_attachment_by_id(%1$d) not found."
|
225 |
msgstr ""
|
226 |
|
227 |
#. translators: 1: post ID 2: post_type
|
228 |
+
#: includes/class-mla-data.php:2091
|
229 |
#, php-format
|
230 |
msgctxt "error_log"
|
231 |
msgid "ERROR: mla_get_attachment_by_id(%1$d) wrong post_type \"%2$s\"."
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: includes/class-mla-data.php:2639 includes/class-mla-list-table.php:718
|
235 |
msgid "NO REFERENCE TESTS"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: includes/class-mla-data.php:2645 includes/class-mla-options.php:2329
|
239 |
#: includes/class-mla-options.php:2330
|
240 |
msgid "ORPHAN"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/class-mla-data.php:2649
|
244 |
msgid "UNUSED"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: includes/class-mla-data.php:2654
|
248 |
msgid "UNATTACHED"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: includes/class-mla-data.php:2656
|
252 |
msgid "INVALID PARENT"
|
253 |
msgstr ""
|
254 |
|
255 |
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
256 |
+
#: includes/class-mla-data.php:2830
|
257 |
#, php-format
|
258 |
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
259 |
msgstr ""
|
260 |
|
261 |
#. translators: 1: index
|
262 |
+
#: includes/class-mla-data.php:3076
|
263 |
#, php-format
|
264 |
msgctxt "error_log"
|
265 |
msgid "ERROR: _build_pdf_indirect_objects bad value at $index = \"%1$d\"."
|
266 |
msgstr ""
|
267 |
|
268 |
#. translators: 1: source offset 2: nest level
|
269 |
+
#: includes/class-mla-data.php:3401
|
270 |
#, php-format
|
271 |
msgctxt "error_log"
|
272 |
msgid "ERROR: _parse_pdf_dictionary offset = %1$d, nest = %2$d."
|
273 |
msgstr ""
|
274 |
|
275 |
#. translators: 1: dictionary excerpt
|
276 |
+
#: includes/class-mla-data.php:3403
|
277 |
#, php-format
|
278 |
msgctxt "error_log"
|
279 |
msgid "ERROR: _parse_pdf_dictionary no end delimiter dump = %1$s."
|
280 |
msgstr ""
|
281 |
|
282 |
#. translators: 1: entry name 2: value excerpt
|
283 |
+
#: includes/class-mla-data.php:3449
|
284 |
#, php-format
|
285 |
msgctxt "error_log"
|
286 |
msgid "ERROR: _parse_pdf_dictionary bad value [ %1$s ] dump = %2$s"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/class-mla-data.php:3563
|
290 |
msgctxt "error_log"
|
291 |
msgid "ERROR: _parse_xmp_metadata xml_parse_into_struct failed."
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: includes/class-mla-data.php:3566
|
295 |
msgctxt "error_log"
|
296 |
msgid "ERROR: _parse_xmp_metadata set option failed."
|
297 |
msgstr ""
|
298 |
|
299 |
#. translators: 1: path and file
|
300 |
+
#: includes/class-mla-data.php:3923
|
301 |
#, php-format
|
302 |
msgctxt "error_log"
|
303 |
msgid "ERROR: File \"%1$s\", startxref not found."
|
304 |
msgstr ""
|
305 |
|
306 |
#. translators: 1: meta_key
|
307 |
+
#: includes/class-mla-data.php:4840
|
308 |
#, php-format
|
309 |
msgid "Deleting meta:%1$s"
|
310 |
msgstr ""
|
311 |
|
312 |
#. translators: 1: meta_key
|
313 |
+
#: includes/class-mla-data.php:4843
|
314 |
#, php-format
|
315 |
msgid "ERROR: meta:%1$s not found"
|
316 |
msgstr ""
|
317 |
|
318 |
#. translators: 1: meta_key 2: meta_value
|
319 |
+
#: includes/class-mla-data.php:4852
|
320 |
#, php-format
|
321 |
msgid "Adding meta:%1$s = %2$s"
|
322 |
msgstr ""
|
323 |
|
324 |
#. translators: 1: meta_key
|
325 |
+
#: includes/class-mla-data.php:4856
|
326 |
#, php-format
|
327 |
msgid "ERROR: Adding meta:%1$s; not found"
|
328 |
msgstr ""
|
329 |
|
330 |
#. translators: 1: meta_key
|
331 |
+
#: includes/class-mla-data.php:4863
|
332 |
#, php-format
|
333 |
msgid "Deleting Null meta:%1$s"
|
334 |
msgstr ""
|
335 |
|
336 |
#. translators: 1: element name 2: old_value 3: new_value
|
337 |
+
#: includes/class-mla-data.php:4873 includes/class-mla-data.php:5024
|
338 |
+
#: includes/class-mla-data.php:5085 includes/class-mla-data.php:5111
|
339 |
+
#: includes/class-mla-data.php:5145 includes/class-mla-data.php:5158
|
340 |
+
#: includes/class-mla-data.php:5167 includes/class-mla-data.php:5178
|
341 |
+
#: includes/class-mla-data.php:5189 includes/class-mla-data.php:5202
|
342 |
+
#: includes/class-mla-data.php:5211 includes/class-mla-data.php:5220
|
343 |
#: includes/class-mla-mime-types.php:1052
|
344 |
#: includes/class-mla-mime-types.php:2119
|
345 |
#, php-format
|
347 |
msgstr ""
|
348 |
|
349 |
#. translators: 1: meta_key
|
350 |
+
#: includes/class-mla-data.php:4878
|
351 |
#, php-format
|
352 |
msgid "ERROR: Changing meta:%1$s; not found"
|
353 |
msgstr ""
|
354 |
|
355 |
#. translators: 1: meta_key
|
356 |
+
#: includes/class-mla-data.php:4938
|
357 |
#, php-format
|
358 |
msgid "Deleting %1$s"
|
359 |
msgstr ""
|
360 |
|
361 |
#. translators: 1: meta_key 2: new_value
|
362 |
+
#: includes/class-mla-data.php:4949
|
363 |
#, php-format
|
364 |
msgid "Adding %1$s = [%2$s]"
|
365 |
msgstr ""
|
366 |
|
367 |
#. translators: 1: meta_key 2: meta_value
|
368 |
+
#: includes/class-mla-data.php:4955
|
369 |
#, php-format
|
370 |
msgid "Adding %1$s = %2$s"
|
371 |
msgstr ""
|
372 |
|
373 |
#. translators: 1: meta_key
|
374 |
+
#: includes/class-mla-data.php:4979
|
375 |
#, php-format
|
376 |
msgid "Deleting old %1$s values"
|
377 |
msgstr ""
|
378 |
|
379 |
#. translators: 1: meta_key 2: old_value 3: new_value 4: update count
|
380 |
+
#: includes/class-mla-data.php:5009
|
381 |
#, php-format
|
382 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
383 |
msgstr ""
|
384 |
|
385 |
+
#: includes/class-mla-data.php:5067 includes/class-mla-main.php:1732
|
386 |
msgid "ERROR: Could not retrieve Attachment."
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: includes/class-mla-data.php:5085 includes/class-mla-main.php:1186
|
390 |
+
#: includes/class-mla-main.php:1188 includes/class-mla-main.php:1579
|
391 |
+
#: includes/class-mla-main.php:1950 includes/class-mla-objects.php:273
|
392 |
#: includes/class-mla-options.php:919
|
393 |
#: includes/mla-media-modal-js-template.php:32
|
394 |
msgid "Title"
|
395 |
msgstr ""
|
396 |
|
397 |
#. translators: 1: old_value
|
398 |
+
#: includes/class-mla-data.php:5108
|
399 |
#, php-format
|
400 |
msgid "ERROR: Could not change Name/Slug \"%1$s\"; name already exists"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: includes/class-mla-data.php:5111 includes/class-mla-main.php:1580
|
404 |
+
#: includes/class-mla-main.php:1953 includes/class-mla-options.php:926
|
405 |
msgid "Name/Slug"
|
406 |
msgstr ""
|
407 |
|
408 |
#. translators: 1: old_value
|
409 |
+
#: includes/class-mla-data.php:5137
|
410 |
#, php-format
|
411 |
msgid "Deleting ALT Text, was \"%1$s\""
|
412 |
msgstr ""
|
413 |
|
414 |
#. translators: 1: old_value
|
415 |
+
#: includes/class-mla-data.php:5140
|
416 |
#, php-format
|
417 |
msgid "ERROR: Could not delete ALT Text, remains \"%1$s\""
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: includes/class-mla-data.php:5145 includes/class-mla-list-table.php:957
|
421 |
+
#: includes/class-mla-main.php:1198 includes/class-mla-main.php:1200
|
422 |
+
#: includes/class-mla-main.php:1583 includes/class-mla-main.php:1956
|
423 |
#: includes/class-mla-options.php:933
|
424 |
#: includes/mla-media-modal-js-template.php:41
|
425 |
msgid "ALT Text"
|
426 |
msgstr ""
|
427 |
|
428 |
#. translators: 1: old_value 2: new_value
|
429 |
+
#: includes/class-mla-data.php:5148
|
430 |
#, php-format
|
431 |
msgid "ERROR: Could not change ALT Text from \"%1$s\" to \"%2$s\""
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: includes/class-mla-data.php:5158 includes/class-mla-main.php:1204
|
435 |
+
#: includes/class-mla-main.php:1206 includes/class-mla-main.php:1581
|
436 |
+
#: includes/class-mla-main.php:1959 includes/class-mla-options.php:940
|
437 |
#: includes/mla-media-modal-js-template.php:45
|
438 |
msgid "Caption"
|
439 |
msgstr ""
|
440 |
|
441 |
+
#: includes/class-mla-data.php:5167 includes/class-mla-main.php:1210
|
442 |
+
#: includes/class-mla-main.php:1212 includes/class-mla-main.php:1582
|
443 |
+
#: includes/class-mla-main.php:1961 includes/class-mla-options.php:947
|
444 |
+
#: includes/class-mla-settings.php:1154 includes/class-mla-settings.php:1411
|
445 |
+
#: includes/class-mla-settings.php:1510 includes/class-mla-settings.php:1874
|
446 |
#: includes/mla-media-modal-js-template.php:49
|
447 |
msgid "Description"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: includes/class-mla-data.php:5178 includes/class-mla-list-table.php:692
|
451 |
+
#: includes/class-mla-list-table.php:784 includes/class-mla-options.php:3764
|
452 |
+
#: includes/class-mla-options.php:4104
|
453 |
msgid "Parent"
|
454 |
msgstr ""
|
455 |
|
456 |
+
#: includes/class-mla-data.php:5189 includes/class-mla-edit-media.php:300
|
457 |
+
#: includes/class-mla-edit-media.php:459 includes/class-mla-main.php:1586
|
458 |
+
#: includes/class-mla-main.php:1967 includes/class-mla-settings.php:1152
|
459 |
+
#: includes/class-mla-settings.php:1409
|
460 |
msgid "Menu Order"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: includes/class-mla-data.php:5202 includes/class-mla-list-table.php:1106
|
464 |
+
#: includes/class-mla-main.php:1424 includes/class-mla-main.php:1526
|
465 |
+
#: includes/class-mla-main.php:1781
|
466 |
msgid "Author"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: includes/class-mla-data.php:5211 includes/class-mla-main.php:1597
|
470 |
msgid "Comments"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: includes/class-mla-data.php:5220 includes/class-mla-main.php:1598
|
474 |
msgid "Pings"
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: includes/class-mla-data.php:5254
|
478 |
msgid "Adding"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: includes/class-mla-data.php:5258
|
482 |
msgid "Removing"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: includes/class-mla-data.php:5263
|
486 |
msgid "Replacing"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: includes/class-mla-data.php:5267
|
490 |
msgid "Ignoring"
|
491 |
msgstr ""
|
492 |
|
493 |
#. translators: 1: action_name, 2: taxonomy
|
494 |
+
#: includes/class-mla-data.php:5279
|
495 |
#, php-format
|
496 |
msgid "%1$s \"%2$s\" terms"
|
497 |
msgstr ""
|
498 |
|
499 |
#. translators: 1: taxonomy
|
500 |
+
#: includes/class-mla-data.php:5283
|
501 |
#, php-format
|
502 |
msgid "You cannot assign \"%1$s\" terms"
|
503 |
msgstr ""
|
504 |
|
505 |
#. translators: 1: post ID
|
506 |
+
#: includes/class-mla-data.php:5295
|
507 |
#, php-format
|
508 |
msgid "Item %1$d, no changes detected."
|
509 |
msgstr ""
|
510 |
|
511 |
#. translators: 1: post ID
|
512 |
+
#: includes/class-mla-data.php:5307
|
513 |
#, php-format
|
514 |
msgid "Item %1$d updated."
|
515 |
msgstr ""
|
516 |
|
517 |
#. translators: 1: post ID
|
518 |
+
#: includes/class-mla-data.php:5321
|
519 |
#, php-format
|
520 |
msgid "ERROR: Item %1$d update failed."
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: includes/class-mla-data.php:5344 includes/class-mla-edit-media.php:125
|
524 |
+
#: includes/class-mla-edit-media.php:170 includes/class-mla-main.php:316
|
525 |
+
#: includes/class-mla-main.php:341 includes/class-mla-main.php:1354
|
526 |
#: includes/class-mla-settings.php:307 includes/class-mla-settings.php:325
|
527 |
msgctxt "tag_delimiter"
|
528 |
msgid ","
|
529 |
msgstr ""
|
530 |
|
531 |
+
#: includes/class-mla-edit-media.php:172 includes/class-mla-main.php:336
|
532 |
+
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
533 |
+
msgstr ""
|
534 |
+
|
535 |
+
#: includes/class-mla-edit-media.php:173 includes/class-mla-main.php:337
|
536 |
+
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
537 |
+
msgstr ""
|
538 |
+
|
539 |
+
#: includes/class-mla-edit-media.php:197
|
540 |
msgid "Custom field mapping updated."
|
541 |
msgstr ""
|
542 |
|
543 |
+
#: includes/class-mla-edit-media.php:198
|
544 |
msgid "IPTC/EXIF mapping updated."
|
545 |
msgstr ""
|
546 |
|
547 |
#. translators: date_i18n format for last modified date and time
|
548 |
+
#: includes/class-mla-edit-media.php:216
|
549 |
msgid "M j, Y @ G:i"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: includes/class-mla-edit-media.php:218 includes/class-mla-main.php:1945
|
553 |
msgid "Last modified"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: includes/class-mla-edit-media.php:229
|
557 |
msgid "Map Custom Field metadata for this item"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: includes/class-mla-edit-media.php:229 includes/class-mla-main.php:1604
|
561 |
msgid "Map Custom Field Metadata"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: includes/class-mla-edit-media.php:231
|
565 |
msgid "Map IPTC/EXIF metadata for this item"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: includes/class-mla-edit-media.php:231
|
569 |
msgid "Map IPTC/EXIF Metadata"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: includes/class-mla-edit-media.php:299 includes/class-mla-edit-media.php:412
|
573 |
+
#: includes/class-mla-main.php:1963
|
574 |
msgid "Parent Info"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: includes/class-mla-edit-media.php:304 includes/class-mla-edit-media.php:481
|
578 |
msgid "Attachment Metadata"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: includes/class-mla-edit-media.php:308 includes/class-mla-edit-media.php:513
|
582 |
+
#: includes/class-mla-main.php:1974 includes/class-mla-options.php:431
|
583 |
msgid "Featured in"
|
584 |
msgstr ""
|
585 |
|
586 |
+
#: includes/class-mla-edit-media.php:312 includes/class-mla-edit-media.php:549
|
587 |
+
#: includes/class-mla-main.php:1976 includes/class-mla-options.php:440
|
588 |
msgid "Inserted in"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: includes/class-mla-edit-media.php:316 includes/class-mla-edit-media.php:581
|
592 |
+
#: includes/class-mla-main.php:1978 includes/class-mla-options.php:449
|
593 |
+
#: includes/class-mla-settings.php:3317
|
594 |
msgid "Gallery in"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: includes/class-mla-edit-media.php:320 includes/class-mla-edit-media.php:613
|
598 |
+
#: includes/class-mla-main.php:1980 includes/class-mla-options.php:458
|
599 |
+
#: includes/class-mla-settings.php:3327
|
600 |
msgid "MLA Gallery in"
|
601 |
msgstr ""
|
602 |
|
603 |
#. translators: 1: function name 2: template key
|
604 |
+
#: includes/class-mla-edit-media.php:363 includes/class-mla-main.php:573
|
605 |
#: includes/class-mla-settings.php:469
|
606 |
#, php-format
|
607 |
msgctxt "error_log"
|
608 |
msgid "ERROR: %1$s discarding \"%2$s\"; no title/order"
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: includes/class-mla-edit-media.php:411
|
612 |
msgid "Post Parent"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: includes/class-mla-edit-media.php:413 includes/class-mla-edit-media.php:429
|
616 |
+
#: includes/class-mla-main.php:1550
|
617 |
+
msgid "Select Parent"
|
618 |
+
msgstr ""
|
619 |
+
|
620 |
+
#: includes/class-mla-edit-media.php:413 includes/class-mla-main.php:1585
|
621 |
+
#: includes/class-mla-upload-optional-list-table.php:281
|
622 |
+
msgid "Select"
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
+
#: includes/class-mla-edit-media.php:430 includes/class-mla-main.php:1551
|
626 |
+
#: includes/mla-media-modal-js-template.php:20
|
627 |
+
msgid "Search"
|
628 |
+
msgstr ""
|
629 |
+
|
630 |
+
#: includes/class-mla-edit-media.php:431 includes/class-mla-main.php:1552
|
631 |
+
msgid "For"
|
632 |
+
msgstr ""
|
633 |
+
|
634 |
+
#: includes/class-mla-edit-media.php:432 includes/class-mla-main.php:1553
|
635 |
+
msgid "Unattached"
|
636 |
+
msgstr ""
|
637 |
+
|
638 |
+
#: includes/class-mla-edit-media.php:437 includes/class-mla-main.php:1558
|
639 |
+
#: includes/class-mla-main.php:1591 includes/class-mla-main.php:1936
|
640 |
+
#: includes/class-mla-settings.php:1157 includes/class-mla-settings.php:1416
|
641 |
+
#: includes/class-mla-settings.php:1513 includes/class-mla-settings.php:1585
|
642 |
+
#: includes/class-mla-settings.php:1881
|
643 |
+
msgid "Cancel"
|
644 |
+
msgstr ""
|
645 |
+
|
646 |
+
#: includes/class-mla-edit-media.php:441 includes/class-mla-main.php:1562
|
647 |
+
#: includes/class-mla-main.php:1592 includes/class-mla-main.php:1937
|
648 |
+
#: includes/class-mla-settings.php:1156 includes/class-mla-settings.php:1417
|
649 |
+
#: includes/class-mla-settings.php:1512 includes/class-mla-settings.php:1882
|
650 |
+
msgid "Update"
|
651 |
+
msgstr ""
|
652 |
+
|
653 |
+
#: includes/class-mla-edit-media.php:504 includes/class-mla-edit-media.php:539
|
654 |
+
#: includes/class-mla-edit-media.php:572 includes/class-mla-edit-media.php:604
|
655 |
+
#: includes/class-mla-list-table.php:820 includes/class-mla-list-table.php:857
|
656 |
+
#: includes/class-mla-list-table.php:892 includes/class-mla-list-table.php:926
|
657 |
+
#: includes/class-mla-main.php:1794 includes/class-mla-main.php:1813
|
658 |
+
#: includes/class-mla-main.php:1830 includes/class-mla-main.php:1846
|
659 |
msgid "PARENT"
|
660 |
msgstr ""
|
661 |
|
662 |
+
#: includes/class-mla-edit-media.php:794
|
663 |
msgid "Most Used"
|
664 |
msgstr ""
|
665 |
|
666 |
#. translators: %s: add new taxonomy label
|
667 |
+
#: includes/class-mla-edit-media.php:823
|
668 |
#, php-format
|
669 |
msgid "+ %s"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: includes/class-mla-edit-media.php:829
|
673 |
msgid "? Search"
|
674 |
msgstr ""
|
675 |
|
677 |
msgid "All"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: includes/class-mla-list-table.php:211 includes/class-mla-settings.php:1420
|
681 |
#: includes/class-mla-view-list-table.php:379
|
682 |
#: includes/class-mla-view-list-table.php:395
|
683 |
msgid "No"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: includes/class-mla-list-table.php:332
|
687 |
msgctxt "list_table_column"
|
688 |
msgid "ID/Parent"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: includes/class-mla-list-table.php:333
|
692 |
msgctxt "list_table_column"
|
693 |
msgid "Title/Name"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: includes/class-mla-list-table.php:334
|
697 |
msgctxt "list_table_column"
|
698 |
msgid "Title"
|
699 |
msgstr ""
|
700 |
|
701 |
+
#: includes/class-mla-list-table.php:335
|
702 |
msgctxt "list_table_column"
|
703 |
msgid "Name"
|
704 |
msgstr ""
|
705 |
|
706 |
+
#: includes/class-mla-list-table.php:336
|
707 |
msgctxt "list_table_column"
|
708 |
msgid "Parent ID"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: includes/class-mla-list-table.php:337
|
712 |
msgctxt "list_table_column"
|
713 |
msgid "Menu Order"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: includes/class-mla-list-table.php:338
|
717 |
msgctxt "list_table_column"
|
718 |
msgid "Featured in"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: includes/class-mla-list-table.php:339
|
722 |
msgctxt "list_table_column"
|
723 |
msgid "Inserted in"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: includes/class-mla-list-table.php:340
|
727 |
msgctxt "list_table_column"
|
728 |
msgid "Gallery in"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: includes/class-mla-list-table.php:341
|
732 |
msgctxt "list_table_column"
|
733 |
msgid "MLA Gallery in"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: includes/class-mla-list-table.php:342
|
737 |
msgctxt "list_table_column"
|
738 |
msgid "ALT Text"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: includes/class-mla-list-table.php:343
|
742 |
msgctxt "list_table_column"
|
743 |
msgid "Caption"
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: includes/class-mla-list-table.php:344
|
747 |
#: includes/class-mla-upload-list-table.php:186
|
748 |
#: includes/class-mla-upload-optional-list-table.php:171
|
749 |
#: includes/class-mla-view-list-table.php:179
|
751 |
msgid "Description"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: includes/class-mla-list-table.php:345
|
755 |
#: includes/class-mla-upload-list-table.php:178
|
756 |
#: includes/class-mla-upload-optional-list-table.php:168
|
757 |
msgctxt "list_table_column"
|
758 |
msgid "MIME Type"
|
759 |
msgstr ""
|
760 |
|
761 |
+
#: includes/class-mla-list-table.php:346
|
762 |
msgctxt "list_table_column"
|
763 |
msgid "File URL"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: includes/class-mla-list-table.php:347
|
767 |
msgctxt "list_table_column"
|
768 |
msgid "Base File"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: includes/class-mla-list-table.php:348
|
772 |
msgctxt "list_table_column"
|
773 |
msgid "Date"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#: includes/class-mla-list-table.php:349
|
777 |
msgctxt "list_table_column"
|
778 |
msgid "Last Modified"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: includes/class-mla-list-table.php:350
|
782 |
msgctxt "list_table_column"
|
783 |
msgid "Author"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/class-mla-list-table.php:351
|
787 |
msgctxt "list_table_column"
|
788 |
msgid "Attached to"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: includes/class-mla-list-table.php:439
|
792 |
+
#: includes/class-mla-list-table.php:1015 includes/class-mla-options.php:550
|
793 |
+
#: includes/class-mla-options.php:677 includes/class-mla-options.php:701
|
794 |
+
#: includes/class-mla-options.php:715 includes/class-mla-settings.php:1958
|
795 |
msgid "None"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/class-mla-list-table.php:445 includes/class-mla-list-table.php:473
|
799 |
+
#: includes/class-mla-list-table.php:953 includes/class-mla-list-table.php:997
|
800 |
msgid "Filter by"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: includes/class-mla-list-table.php:455
|
804 |
msgid "not supported"
|
805 |
msgstr ""
|
806 |
|
807 |
#. translators: 1: column_name 2: column_values
|
808 |
+
#: includes/class-mla-list-table.php:490
|
809 |
#: includes/class-mla-upload-list-table.php:247
|
810 |
#: includes/class-mla-upload-optional-list-table.php:228
|
811 |
#: includes/class-mla-view-list-table.php:236
|
813 |
msgid "column_default: %1$s, %2$s"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/class-mla-list-table.php:536 includes/class-mla-list-table.php:572
|
817 |
+
#: includes/class-mla-list-table.php:574 includes/class-mla-list-table.php:825
|
818 |
+
#: includes/class-mla-list-table.php:862 includes/class-mla-list-table.php:897
|
819 |
+
#: includes/class-mla-list-table.php:931
|
820 |
+
#: includes/class-mla-list-table.php:1123
|
821 |
+
#: includes/class-mla-list-table.php:1542
|
822 |
#: includes/class-mla-upload-list-table.php:312
|
823 |
#: includes/class-mla-upload-list-table.php:610
|
824 |
#: includes/class-mla-view-list-table.php:302
|
826 |
msgid "Edit"
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: includes/class-mla-list-table.php:566
|
830 |
msgid "Restore this item from the Trash"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: includes/class-mla-list-table.php:566
|
834 |
+
#: includes/class-mla-list-table.php:1539
|
835 |
msgid "Restore"
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: includes/class-mla-list-table.php:572 includes/class-mla-list-table.php:574
|
839 |
#: includes/class-mla-upload-list-table.php:312
|
840 |
#: includes/class-mla-view-list-table.php:302
|
841 |
msgid "Edit this item"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: includes/class-mla-list-table.php:576
|
845 |
#: includes/class-mla-upload-list-table.php:314
|
846 |
#: includes/class-mla-view-list-table.php:304
|
847 |
msgid "Edit this item inline"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: includes/class-mla-list-table.php:576 includes/class-mla-main.php:1578
|
851 |
#: includes/class-mla-options.php:2867 includes/class-mla-options.php:3139
|
852 |
#: includes/class-mla-upload-list-table.php:314
|
853 |
#: includes/class-mla-view-list-table.php:304
|
854 |
msgid "Quick Edit"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: includes/class-mla-list-table.php:582
|
858 |
msgid "Move this item to the Trash"
|
859 |
msgstr ""
|
860 |
|
861 |
+
#: includes/class-mla-list-table.php:582
|
862 |
+
#: includes/class-mla-list-table.php:1545
|
863 |
msgid "Move to Trash"
|
864 |
msgstr ""
|
865 |
|
866 |
+
#: includes/class-mla-list-table.php:587
|
867 |
#: includes/class-mla-upload-list-table.php:318
|
868 |
#: includes/class-mla-view-list-table.php:310
|
869 |
msgid "Delete this item Permanently"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: includes/class-mla-list-table.php:587
|
873 |
+
#: includes/class-mla-list-table.php:1540
|
874 |
+
#: includes/class-mla-list-table.php:1547
|
875 |
#: includes/class-mla-upload-list-table.php:318
|
876 |
#: includes/class-mla-view-list-table.php:310
|
877 |
#: includes/class-mla-view-list-table.php:514
|
878 |
msgid "Delete Permanently"
|
879 |
msgstr ""
|
880 |
|
881 |
+
#: includes/class-mla-list-table.php:591
|
882 |
msgid "View"
|
883 |
msgstr ""
|
884 |
|
885 |
+
#: includes/class-mla-list-table.php:686 includes/class-mla-main.php:340
|
886 |
msgid "(no title)"
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: includes/class-mla-list-table.php:689 includes/class-mla-list-table.php:781
|
890 |
msgid "Filter by Parent ID"
|
891 |
msgstr ""
|
892 |
|
893 |
+
#: includes/class-mla-list-table.php:778
|
894 |
msgid "(no title: bad ID)"
|
895 |
msgstr ""
|
896 |
|
897 |
+
#: includes/class-mla-list-table.php:813 includes/class-mla-list-table.php:847
|
898 |
+
#: includes/class-mla-list-table.php:885 includes/class-mla-list-table.php:919
|
899 |
+
#: includes/class-mla-main.php:1802 includes/class-mla-main.php:1822
|
900 |
+
#: includes/class-mla-main.php:1838 includes/class-mla-main.php:1854
|
901 |
#: includes/class-mla-options.php:435 includes/class-mla-options.php:444
|
902 |
#: includes/class-mla-options.php:453 includes/class-mla-options.php:462
|
903 |
msgid "Disabled"
|
904 |
msgstr ""
|
905 |
|
906 |
+
#: includes/class-mla-list-table.php:1000 includes/class-mla-settings.php:1503
|
907 |
+
#: includes/class-mla-settings.php:1868
|
908 |
msgid "MIME Type"
|
909 |
msgstr ""
|
910 |
|
911 |
+
#: includes/class-mla-list-table.php:1040
|
912 |
+
#: includes/class-mla-list-table.php:1072
|
913 |
msgid "Unpublished"
|
914 |
msgstr ""
|
915 |
|
916 |
#. translators: 1: upload/last modified date and time
|
917 |
+
#: includes/class-mla-list-table.php:1048
|
918 |
+
#: includes/class-mla-list-table.php:1079
|
919 |
#, php-format
|
920 |
msgid "%1$s from now"
|
921 |
msgstr ""
|
922 |
|
923 |
#. translators: 1: upload/last modified date and time
|
924 |
+
#: includes/class-mla-list-table.php:1051
|
925 |
+
#: includes/class-mla-list-table.php:1081
|
926 |
#, php-format
|
927 |
msgid "%1$s ago"
|
928 |
msgstr ""
|
929 |
|
930 |
#. translators: format for upload/last modified date
|
931 |
+
#: includes/class-mla-list-table.php:1055
|
932 |
+
#: includes/class-mla-list-table.php:1084
|
933 |
+
#: includes/class-mla-list-table.php:1140
|
934 |
msgid "Y/m/d"
|
935 |
msgstr ""
|
936 |
|
937 |
+
#: includes/class-mla-list-table.php:1103
|
938 |
msgid "Filter by Author ID"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: includes/class-mla-list-table.php:1142 includes/class-mla-options.php:1036
|
942 |
msgctxt "post_mime_types_singular"
|
943 |
msgid "Unattached"
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: includes/class-mla-list-table.php:1146
|
947 |
+
msgid "Set Parent"
|
948 |
+
msgstr ""
|
949 |
+
|
950 |
+
#: includes/class-mla-list-table.php:1392
|
951 |
msgctxt "uploaded files"
|
952 |
msgid "All"
|
953 |
msgid_plural "All"
|
954 |
msgstr[0] ""
|
955 |
msgstr[1] ""
|
956 |
|
957 |
+
#: includes/class-mla-list-table.php:1573
|
958 |
msgid "Filter"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: includes/class-mla-list-table.php:1579
|
962 |
msgid "Clear Filter-by"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: includes/class-mla-list-table.php:1583
|
966 |
msgid "Empty Trash"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: includes/class-mla-main.php:338 includes/class-mla-settings.php:304
|
970 |
#: includes/class-mla-settings.php:322
|
971 |
msgid "Error while saving the changes."
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: includes/class-mla-main.php:339 includes/class-mla-settings.php:305
|
975 |
#: includes/class-mla-settings.php:323
|
976 |
msgid "Remove From Bulk Edit"
|
977 |
msgstr ""
|
978 |
|
979 |
+
#: includes/class-mla-main.php:457
|
980 |
#, php-format
|
981 |
msgid "Item permanently deleted."
|
982 |
msgid_plural "%d items permanently deleted."
|
984 |
msgstr[1] ""
|
985 |
|
986 |
#. translators: 1: post ID
|
987 |
+
#: includes/class-mla-main.php:462 includes/class-mla-main.php:2062
|
988 |
#, php-format
|
989 |
msgid "Item %1$d moved to Trash."
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: includes/class-mla-main.php:481
|
993 |
msgid "Entries per page"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: includes/class-mla-main.php:797
|
997 |
msgid "You do not have permission to manage attachments."
|
998 |
msgstr ""
|
999 |
|
1000 |
#. translators: 1: bulk_action, e.g., delete, edit, restore, trash
|
1001 |
+
#: includes/class-mla-main.php:936 includes/class-mla-settings.php:1266
|
1002 |
+
#: includes/class-mla-settings.php:1733
|
1003 |
#, php-format
|
1004 |
msgid "Unknown bulk action %1$s"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
#. translators: 1: action name, e.g., edit
|
1008 |
+
#: includes/class-mla-main.php:961 includes/class-mla-settings.php:1276
|
1009 |
+
#: includes/class-mla-settings.php:1744
|
1010 |
#, php-format
|
1011 |
msgid "Bulk Action %1$s - no items selected."
|
1012 |
msgstr ""
|
1013 |
|
1014 |
+
#: includes/class-mla-main.php:987 includes/class-mla-main.php:1063
|
1015 |
+
#: includes/class-mla-main.php:1092 includes/class-mla-main.php:1282
|
1016 |
+
#: includes/class-mla-settings.php:547 includes/class-mla-settings.php:587
|
1017 |
+
#: includes/class-mla-settings.php:1220 includes/class-mla-settings.php:1297
|
1018 |
+
#: includes/class-mla-settings.php:1686 includes/class-mla-settings.php:1765
|
1019 |
+
#: includes/class-mla-settings.php:2316 includes/class-mla-settings.php:2439
|
1020 |
+
#: includes/class-mla-settings.php:2574 includes/class-mla-shortcodes.php:1333
|
1021 |
+
#: includes/class-mla-shortcodes.php:1407
|
1022 |
msgid "ERROR:"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: includes/class-mla-main.php:995
|
1026 |
#, php-format
|
1027 |
msgctxt "deleted items"
|
1028 |
msgid "%s item deleted."
|
1030 |
msgstr[0] ""
|
1031 |
msgstr[1] ""
|
1032 |
|
1033 |
+
#: includes/class-mla-main.php:997
|
1034 |
msgid "No items deleted."
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: includes/class-mla-main.php:1012
|
1038 |
msgid "Edit single item"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
#. translators: 1: post ID
|
1042 |
+
#: includes/class-mla-main.php:1025
|
1043 |
#, php-format
|
1044 |
msgid "Item %1$d cancelled."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
1048 |
+
#: includes/class-mla-main.php:1054 includes/class-mla-settings.php:1313
|
1049 |
+
#: includes/class-mla-settings.php:1783
|
1050 |
#, php-format
|
1051 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: includes/class-mla-main.php:1083
|
1055 |
msgid "post/parent results for"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: includes/class-mla-main.php:1085
|
1059 |
msgid "search results for"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: includes/class-mla-main.php:1174
|
1063 |
#: includes/mla-media-modal-js-template.php:17
|
1064 |
msgid "Search Media"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: includes/class-mla-main.php:1178 includes/class-mla-main.php:1181
|
1068 |
#: includes/mla-media-modal-js-template.php:24
|
1069 |
msgid "and"
|
1070 |
msgstr ""
|
1071 |
|
1072 |
+
#: includes/class-mla-main.php:1179 includes/class-mla-main.php:1182
|
1073 |
#: includes/mla-media-modal-js-template.php:28
|
1074 |
msgid "or"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: includes/class-mla-main.php:1192 includes/class-mla-main.php:1194
|
1078 |
+
#: includes/class-mla-settings.php:2013 includes/class-mla-settings.php:2046
|
1079 |
+
#: includes/class-mla-settings.php:2072 includes/class-mla-settings.php:2107
|
1080 |
+
#: includes/class-mla-settings.php:2164 includes/class-mla-settings.php:2214
|
1081 |
#: includes/mla-media-modal-js-template.php:36
|
1082 |
msgid "Name"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
+
#: includes/class-mla-main.php:1271 includes/class-mla-main.php:1309
|
1086 |
msgid "ERROR: No post ID found"
|
1087 |
msgstr ""
|
1088 |
|
1089 |
+
#: includes/class-mla-main.php:1278 includes/class-mla-main.php:1316
|
1090 |
+
#: includes/class-mla-main.php:1739
|
1091 |
msgid "You are not allowed to edit this Attachment."
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: includes/class-mla-main.php:1459
|
1095 |
msgid "more"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: includes/class-mla-main.php:1460
|
1099 |
msgid "less"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
+
#: includes/class-mla-main.php:1463 includes/class-mla-main.php:1501
|
1103 |
msgid "Add"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
+
#: includes/class-mla-main.php:1464 includes/class-mla-main.php:1502
|
1107 |
msgid "Remove"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
+
#: includes/class-mla-main.php:1465 includes/class-mla-main.php:1503
|
1111 |
#: includes/class-mla-options.php:2965 includes/class-mla-options.php:3062
|
1112 |
+
#: includes/class-mla-options.php:3104 includes/class-mla-options.php:3993
|
1113 |
+
#: includes/class-mla-options.php:4043 includes/class-mla-options.php:4140
|
1114 |
+
#: includes/class-mla-options.php:4184 includes/class-mla-options.php:4209
|
1115 |
msgid "Replace"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: includes/class-mla-main.php:1584
|
1119 |
msgid "Parent ID"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: includes/class-mla-main.php:1593 includes/class-mla-options.php:2881
|
1123 |
+
#: includes/class-mla-options.php:3140 includes/class-mla-settings.php:1418
|
1124 |
+
#: includes/class-mla-settings.php:1883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1125 |
msgid "Bulk Edit"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
+
#: includes/class-mla-main.php:1599 includes/class-mla-main.php:1639
|
1129 |
+
#: includes/class-mla-settings.php:1419 includes/class-mla-settings.php:1457
|
1130 |
+
#: includes/class-mla-settings.php:1885
|
1131 |
msgid "No Change"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: includes/class-mla-main.php:1600
|
1135 |
msgid "Allow"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: includes/class-mla-main.php:1601
|
1139 |
msgid "Do not allow"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
+
#: includes/class-mla-main.php:1603 includes/class-mla-main.php:1938
|
1143 |
msgid "Map IPTC/EXIF metadata"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
+
#: includes/class-mla-main.php:1691
|
1147 |
msgid "ERROR: You are not allowed to delete this item."
|
1148 |
msgstr ""
|
1149 |
|
1150 |
#. translators: 1: post ID
|
1151 |
+
#: includes/class-mla-main.php:1699
|
1152 |
#, php-format
|
1153 |
msgid "ERROR: Item %1$d could NOT be deleted."
|
1154 |
msgstr ""
|
1155 |
|
1156 |
#. translators: 1: post ID
|
1157 |
+
#: includes/class-mla-main.php:1706
|
1158 |
#, php-format
|
1159 |
msgid "Item %1$d permanently deleted."
|
1160 |
msgstr ""
|
1161 |
|
1162 |
#. translators: 1: page_template_array
|
1163 |
+
#: includes/class-mla-main.php:1766
|
1164 |
#, php-format
|
1165 |
msgctxt "error_log"
|
1166 |
msgid "ERROR: MLA::_display_single_item \\$page_template_array = \"%1$s\""
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: includes/class-mla-main.php:1940
|
1170 |
msgid "File name"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: includes/class-mla-main.php:1942
|
1174 |
msgid "File type"
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: includes/class-mla-main.php:1943
|
1178 |
msgid "Upload date"
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: includes/class-mla-main.php:1947
|
1182 |
msgid "Dimensions"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: includes/class-mla-main.php:1951
|
1186 |
msgid "required"
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#: includes/class-mla-main.php:1955
|
1190 |
msgid "Must be unique; will be validated."
|
1191 |
msgstr ""
|
1192 |
|
1193 |
+
#: includes/class-mla-main.php:1958
|
1194 |
msgid "Alternate text for the image, e.g. “The Mona Lisa”"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: includes/class-mla-main.php:1966
|
1198 |
msgid "ID, type and title of parent, if any."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: includes/class-mla-main.php:1969
|
1202 |
msgid "File URL"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: includes/class-mla-main.php:1971
|
1206 |
msgid "Location of the uploaded file."
|
1207 |
msgstr ""
|
1208 |
|
1209 |
+
#: includes/class-mla-main.php:1972
|
1210 |
msgid "Image Metadata"
|
1211 |
msgstr ""
|
1212 |
|
1213 |
+
#: includes/class-mla-main.php:2007
|
1214 |
msgid "ERROR: You are not allowed to move this item out of the Trash."
|
1215 |
msgstr ""
|
1216 |
|
1217 |
#. translators: 1: post ID
|
1218 |
+
#: includes/class-mla-main.php:2015
|
1219 |
#, php-format
|
1220 |
msgid "ERROR: Item %1$d could NOT be restored from Trash."
|
1221 |
msgstr ""
|
1222 |
|
1223 |
#. translators: 1: post ID
|
1224 |
+
#: includes/class-mla-main.php:2030
|
1225 |
#, php-format
|
1226 |
msgid "Item %1$d restored from Trash."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: includes/class-mla-main.php:2047
|
1230 |
msgid "ERROR: You are not allowed to move this item to the Trash."
|
1231 |
msgstr ""
|
1232 |
|
1233 |
#. translators: 1: post ID
|
1234 |
+
#: includes/class-mla-main.php:2055
|
1235 |
#, php-format
|
1236 |
msgid "ERROR: Item %1$d could NOT be moved to Trash."
|
1237 |
msgstr ""
|
1322 |
|
1323 |
#: includes/class-mla-mime-types.php:953
|
1324 |
#: includes/class-mla-mime-types.php:1041
|
1325 |
+
#: includes/class-mla-mime-types.php:1052 includes/class-mla-settings.php:1141
|
1326 |
+
#: includes/class-mla-settings.php:1398
|
1327 |
msgid "Slug"
|
1328 |
msgstr ""
|
1329 |
|
1662 |
msgid "Check this option to add support for Attachment Tags."
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: includes/class-mla-options.php:414 includes/class-mla-settings.php:982
|
1666 |
msgid "Where-used Reporting"
|
1667 |
msgstr ""
|
1668 |
|
1724 |
"Cached."
|
1725 |
msgstr ""
|
1726 |
|
1727 |
+
#: includes/class-mla-options.php:467 includes/class-mla-settings.php:982
|
1728 |
msgid "Taxonomy Support"
|
1729 |
msgstr ""
|
1730 |
|
1762 |
msgstr ""
|
1763 |
|
1764 |
#: includes/class-mla-options.php:512 includes/class-mla-settings.php:356
|
1765 |
+
#: includes/class-mla-settings.php:2555
|
1766 |
msgid "Media Library Assistant"
|
1767 |
msgstr ""
|
1768 |
|
1901 |
"Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
|
1902 |
msgstr ""
|
1903 |
|
1904 |
+
#: includes/class-mla-options.php:619 includes/class-mla-settings.php:982
|
1905 |
msgid "Media Manager Enhancements"
|
1906 |
msgstr ""
|
1907 |
|
1975 |
|
1976 |
#: includes/class-mla-options.php:677 includes/class-mla-options.php:686
|
1977 |
#: includes/class-mla-options.php:701 includes/class-mla-options.php:715
|
1978 |
+
#: includes/class-mla-options.php:729 includes/class-mla-settings.php:1064
|
1979 |
msgid "Media Manager Default"
|
1980 |
msgstr ""
|
1981 |
|
2064 |
msgstr ""
|
2065 |
|
2066 |
#: includes/class-mla-options.php:749 includes/class-mla-options.php:793
|
2067 |
+
#: includes/class-mla-settings.php:2650 includes/class-mla-settings.php:2661
|
2068 |
+
#: includes/class-mla-settings.php:2667 includes/class-mla-settings.php:2671
|
2069 |
+
#: includes/class-mla-settings.php:2700 includes/class-mla-settings.php:2711
|
2070 |
msgid "style template"
|
2071 |
msgstr ""
|
2072 |
|
2075 |
msgstr ""
|
2076 |
|
2077 |
#: includes/class-mla-options.php:759 includes/class-mla-options.php:803
|
2078 |
+
#: includes/class-mla-settings.php:2740 includes/class-mla-settings.php:2753
|
2079 |
+
#: includes/class-mla-settings.php:2759 includes/class-mla-settings.php:2763
|
2080 |
+
#: includes/class-mla-settings.php:2832
|
2081 |
msgid "markup template"
|
2082 |
msgstr ""
|
2083 |
|
2350 |
|
2351 |
#. translators: 1: option name 2: action, e.g., update, delete, reset
|
2352 |
#: includes/class-mla-options.php:1444 includes/class-mla-options.php:1595
|
2353 |
+
#: includes/class-mla-options.php:3178 includes/class-mla-options.php:4329
|
2354 |
#, php-format
|
2355 |
msgid "ERROR: Custom %1$s unknown action \"%2$s\""
|
2356 |
msgstr ""
|
2400 |
msgstr ""
|
2401 |
|
2402 |
#. translators: 1: option name, e.g., taxonomy_support
|
2403 |
+
#: includes/class-mla-options.php:1592 includes/class-mla-options.php:4322
|
2404 |
#, php-format
|
2405 |
msgid "Reset custom %1$s"
|
2406 |
msgstr ""
|
2407 |
|
2408 |
#: includes/class-mla-options.php:2573 includes/class-mla-options.php:2670
|
2409 |
#: includes/class-mla-options.php:3510 includes/class-mla-options.php:3541
|
2410 |
+
#: includes/class-mla-settings.php:1463
|
2411 |
msgid "None (select a value)"
|
2412 |
msgstr ""
|
2413 |
|
2420 |
msgstr ""
|
2421 |
|
2422 |
#. translators: 1: custom field name
|
2423 |
+
#: includes/class-mla-options.php:2749 includes/class-mla-options.php:3813
|
2424 |
#, php-format
|
2425 |
msgid "ERROR: New field %1$s already exists."
|
2426 |
msgstr ""
|
2427 |
|
2428 |
#. translators: 1: custom field name
|
2429 |
+
#: includes/class-mla-options.php:2754 includes/class-mla-options.php:3818
|
2430 |
#, php-format
|
2431 |
msgid "Adding new field %1$s."
|
2432 |
msgstr ""
|
2433 |
|
2434 |
#. translators: 1: custom field name
|
2435 |
+
#: includes/class-mla-options.php:2764 includes/class-mla-options.php:3828
|
2436 |
#, php-format
|
2437 |
msgid "Adding new rule for %1$s."
|
2438 |
msgstr ""
|
2439 |
|
2440 |
#. translators: 1: custom field name
|
2441 |
+
#: includes/class-mla-options.php:2795 includes/class-mla-options.php:3690
|
2442 |
+
#: includes/class-mla-options.php:3849
|
2443 |
#, php-format
|
2444 |
msgid "Deleting rule for %1$s."
|
2445 |
msgstr ""
|
2448 |
#: includes/class-mla-options.php:2818 includes/class-mla-options.php:2839
|
2449 |
#: includes/class-mla-options.php:2889 includes/class-mla-options.php:2896
|
2450 |
#: includes/class-mla-options.php:3607 includes/class-mla-options.php:3614
|
2451 |
+
#: includes/class-mla-options.php:3621 includes/class-mla-options.php:3715
|
2452 |
+
#: includes/class-mla-options.php:3722 includes/class-mla-options.php:3757
|
2453 |
+
#: includes/class-mla-options.php:3764 includes/class-mla-options.php:3859
|
2454 |
+
#: includes/class-mla-options.php:3866
|
2455 |
#, php-format
|
2456 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2457 |
msgstr ""
|
2461 |
msgstr ""
|
2462 |
|
2463 |
#: includes/class-mla-options.php:2824 includes/class-mla-options.php:3641
|
2464 |
+
#: includes/class-mla-options.php:3742 includes/class-mla-options.php:3886
|
2465 |
msgid "Replace to Keep"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
#: includes/class-mla-options.php:2827 includes/class-mla-options.php:3644
|
2469 |
+
#: includes/class-mla-options.php:3745 includes/class-mla-options.php:3889
|
2470 |
msgid "Keep to Replace"
|
2471 |
msgstr ""
|
2472 |
|
2474 |
#: includes/class-mla-options.php:2832 includes/class-mla-options.php:2853
|
2475 |
#: includes/class-mla-options.php:2867 includes/class-mla-options.php:2881
|
2476 |
#: includes/class-mla-options.php:2910 includes/class-mla-options.php:3635
|
2477 |
+
#: includes/class-mla-options.php:3649 includes/class-mla-options.php:3736
|
2478 |
+
#: includes/class-mla-options.php:3750 includes/class-mla-options.php:3880
|
2479 |
+
#: includes/class-mla-options.php:3894
|
2480 |
#, php-format
|
2481 |
msgid "%1$s changing %2$s value from %3$s."
|
2482 |
msgstr ""
|
2483 |
|
2484 |
#: includes/class-mla-options.php:2832 includes/class-mla-options.php:3136
|
2485 |
+
#: includes/class-mla-options.php:3649 includes/class-mla-options.php:3750
|
2486 |
+
#: includes/class-mla-options.php:3894 includes/class-mla-options.php:4016
|
2487 |
+
#: includes/class-mla-options.php:4102 includes/class-mla-options.php:4220
|
2488 |
msgid "Existing Text"
|
2489 |
msgstr ""
|
2490 |
|
2519 |
msgid "Delete NULL"
|
2520 |
msgstr ""
|
2521 |
|
2522 |
+
#: includes/class-mla-options.php:2949 includes/class-mla-options.php:4114
|
2523 |
msgid "No Custom Field Mapping Rules Defined"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
#: includes/class-mla-options.php:2963 includes/class-mla-options.php:3060
|
2527 |
+
#: includes/class-mla-options.php:3102 includes/class-mla-options.php:3991
|
2528 |
+
#: includes/class-mla-options.php:4041 includes/class-mla-options.php:4138
|
2529 |
+
#: includes/class-mla-options.php:4182 includes/class-mla-options.php:4207
|
2530 |
msgid "Keep"
|
2531 |
msgstr ""
|
2532 |
|
2570 |
msgid "Delete NULL values"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: includes/class-mla-options.php:2990 includes/class-mla-options.php:4141
|
2574 |
msgid "Delete Rule"
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: includes/class-mla-options.php:2991 includes/class-mla-options.php:4142
|
2578 |
msgid "Delete Rule AND Field"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
+
#: includes/class-mla-options.php:2992 includes/class-mla-options.php:4143
|
2582 |
msgid "Update Rule"
|
2583 |
msgstr ""
|
2584 |
|
2585 |
+
#: includes/class-mla-options.php:2993 includes/class-mla-options.php:4144
|
2586 |
msgid "Map All Attachments"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: includes/class-mla-options.php:3055 includes/class-mla-options.php:4171
|
2590 |
msgid "Add a new Mapping Rule"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
+
#: includes/class-mla-options.php:3086 includes/class-mla-options.php:4185
|
2594 |
msgid "Add Rule"
|
2595 |
msgstr ""
|
2596 |
|
2597 |
+
#: includes/class-mla-options.php:3087 includes/class-mla-options.php:4186
|
2598 |
msgid "Add Rule and Map All Attachments"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: includes/class-mla-options.php:3097 includes/class-mla-options.php:4196
|
2602 |
msgid "Add a new Field and Mapping Rule"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: includes/class-mla-options.php:3128 includes/class-mla-options.php:4210
|
2606 |
msgid "Add Field"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: includes/class-mla-options.php:3129 includes/class-mla-options.php:4211
|
2610 |
msgid "Add Field and Map All Attachments"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
#: includes/class-mla-options.php:3134 includes/class-mla-options.php:3607
|
2614 |
+
#: includes/class-mla-options.php:4012 includes/class-mla-options.php:4098
|
2615 |
+
#: includes/class-mla-options.php:4216
|
2616 |
msgid "Field Title"
|
2617 |
msgstr ""
|
2618 |
|
2642 |
msgid "ERROR: No old values for %1$s."
|
2643 |
msgstr ""
|
2644 |
|
2645 |
+
#: includes/class-mla-options.php:3614 includes/class-mla-options.php:3715
|
2646 |
+
#: includes/class-mla-options.php:3859 includes/class-mla-options.php:4013
|
2647 |
+
#: includes/class-mla-options.php:4099 includes/class-mla-options.php:4217
|
2648 |
msgid "IPTC Value"
|
2649 |
msgstr ""
|
2650 |
|
2651 |
+
#: includes/class-mla-options.php:3621 includes/class-mla-options.php:3722
|
2652 |
+
#: includes/class-mla-options.php:3866
|
2653 |
msgid "EXIF Value"
|
2654 |
msgstr ""
|
2655 |
|
2656 |
+
#: includes/class-mla-options.php:3627 includes/class-mla-options.php:3728
|
2657 |
+
#: includes/class-mla-options.php:3872
|
2658 |
msgid "EXIF to IPTC"
|
2659 |
msgstr ""
|
2660 |
|
2661 |
+
#: includes/class-mla-options.php:3630 includes/class-mla-options.php:3731
|
2662 |
+
#: includes/class-mla-options.php:3875
|
2663 |
msgid "IPTC to EXIF"
|
2664 |
msgstr ""
|
2665 |
|
2666 |
+
#: includes/class-mla-options.php:3635 includes/class-mla-options.php:3736
|
2667 |
+
#: includes/class-mla-options.php:3880 includes/class-mla-options.php:4015
|
2668 |
+
#: includes/class-mla-options.php:4101 includes/class-mla-options.php:4219
|
2669 |
msgid "Priority"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
+
#: includes/class-mla-options.php:3757 includes/class-mla-options.php:4103
|
2673 |
msgid "Delimiter(s)"
|
2674 |
msgstr ""
|
2675 |
|
2676 |
+
#: includes/class-mla-options.php:3987 includes/class-mla-options.php:4037
|
2677 |
+
#: includes/class-mla-options.php:4134 includes/class-mla-options.php:4178
|
2678 |
+
#: includes/class-mla-options.php:4203
|
2679 |
msgid "IPTC"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
+
#: includes/class-mla-options.php:3989 includes/class-mla-options.php:4039
|
2683 |
+
#: includes/class-mla-options.php:4136 includes/class-mla-options.php:4180
|
2684 |
+
#: includes/class-mla-options.php:4205
|
2685 |
msgid "EXIF"
|
2686 |
msgstr ""
|
2687 |
|
2688 |
+
#: includes/class-mla-options.php:4014 includes/class-mla-options.php:4100
|
2689 |
+
#: includes/class-mla-options.php:4218
|
2690 |
msgid "EXIF/Template Value"
|
2691 |
msgstr ""
|
2692 |
|
2693 |
#. translators: 1: option name
|
2694 |
+
#: includes/class-mla-options.php:4228
|
2695 |
#, php-format
|
2696 |
msgid "ERROR: Render unknown custom %1$s."
|
2697 |
msgstr ""
|
2698 |
|
2699 |
#. translators: 1: option name
|
2700 |
+
#: includes/class-mla-options.php:4272
|
2701 |
#, php-format
|
2702 |
msgid "ERROR: Update/delete unknown custom %1$s."
|
2703 |
msgstr ""
|
2704 |
|
2705 |
+
#: includes/class-mla-options.php:4278
|
2706 |
msgid "IPTC/EXIF mapping settings updated."
|
2707 |
msgstr ""
|
2708 |
|
2709 |
+
#: includes/class-mla-options.php:4280
|
2710 |
msgid "ERROR: IPTC/EXIF settings update failed."
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: includes/class-mla-options.php:4283
|
2714 |
msgid "IPTC/EXIF no mapping changes detected."
|
2715 |
msgstr ""
|
2716 |
|
2717 |
#. translators: 1: field type
|
2718 |
+
#: includes/class-mla-options.php:4294 includes/class-mla-options.php:4304
|
2719 |
+
#: includes/class-mla-options.php:4314 includes/class-mla-settings.php:2838
|
2720 |
#, php-format
|
2721 |
msgid "%1$s settings saved."
|
2722 |
msgstr ""
|
2723 |
|
2724 |
+
#: includes/class-mla-options.php:4294 includes/class-mla-options.php:4297
|
2725 |
+
#: includes/class-mla-settings.php:3064 includes/class-mla-settings.php:3096
|
2726 |
+
#: includes/class-mla-settings.php:3099
|
2727 |
msgid "Standard field"
|
2728 |
msgstr ""
|
2729 |
|
2730 |
#. translators: 1: field type
|
2731 |
+
#: includes/class-mla-options.php:4297 includes/class-mla-options.php:4307
|
2732 |
+
#: includes/class-mla-options.php:4317
|
2733 |
#, php-format
|
2734 |
msgid "ERROR: IPTC/EXIF %1$s settings update failed."
|
2735 |
msgstr ""
|
2736 |
|
2737 |
+
#: includes/class-mla-options.php:4304 includes/class-mla-options.php:4307
|
2738 |
+
#: includes/class-mla-settings.php:3122 includes/class-mla-settings.php:3154
|
2739 |
+
#: includes/class-mla-settings.php:3157
|
2740 |
msgid "Taxonomy term"
|
2741 |
msgstr ""
|
2742 |
|
2743 |
+
#: includes/class-mla-options.php:4314 includes/class-mla-options.php:4317
|
2744 |
+
#: includes/class-mla-settings.php:2971 includes/class-mla-settings.php:2974
|
2745 |
+
#: includes/class-mla-settings.php:3192 includes/class-mla-settings.php:3224
|
2746 |
+
#: includes/class-mla-settings.php:3227
|
2747 |
msgid "Custom field"
|
2748 |
msgstr ""
|
2749 |
|
2750 |
#. translators: 1: option name, e.g., taxonomy_support
|
2751 |
+
#: includes/class-mla-options.php:4325
|
2752 |
#, php-format
|
2753 |
msgid "ERROR: Reset unknown custom %1$s"
|
2754 |
msgstr ""
|
2781 |
msgid "ERROR: No upload slug found"
|
2782 |
msgstr ""
|
2783 |
|
2784 |
+
#: includes/class-mla-settings.php:612 includes/class-mla-settings.php:2556
|
2785 |
msgid "Settings"
|
2786 |
msgstr ""
|
2787 |
|
2793 |
msgid "ERROR: %1$s unknown type = \"%2$s\""
|
2794 |
msgstr ""
|
2795 |
|
2796 |
+
#: includes/class-mla-settings.php:728 includes/class-mla-settings.php:988
|
2797 |
msgid "Go to Top"
|
2798 |
msgstr ""
|
2799 |
|
2809 |
msgid "Uploads"
|
2810 |
msgstr ""
|
2811 |
|
2812 |
+
#: includes/class-mla-settings.php:882 includes/class-mla-settings.php:2838
|
2813 |
+
#: includes/class-mla-settings.php:2841
|
2814 |
msgid "MLA Gallery"
|
2815 |
msgstr ""
|
2816 |
|
2822 |
msgid "Documentation"
|
2823 |
msgstr ""
|
2824 |
|
2825 |
+
#: includes/class-mla-settings.php:980
|
2826 |
msgid "General Processing Options"
|
2827 |
msgstr ""
|
2828 |
|
2829 |
#. translators: 1: - 4: page subheader values
|
2830 |
+
#: includes/class-mla-settings.php:982
|
2831 |
#, php-format
|
2832 |
msgid ""
|
2833 |
"In this tab you can find a number of options for controlling the "
|
2836 |
"any changes you make."
|
2837 |
msgstr ""
|
2838 |
|
2839 |
+
#: includes/class-mla-settings.php:982
|
2840 |
msgid "Media/Assistant Table Defaults"
|
2841 |
msgstr ""
|
2842 |
|
2843 |
+
#: includes/class-mla-settings.php:983 includes/class-mla-settings.php:1343
|
2844 |
+
#: includes/class-mla-settings.php:1396 includes/class-mla-settings.php:1813
|
2845 |
+
#: includes/class-mla-settings.php:1863 includes/class-mla-settings.php:1949
|
2846 |
+
#: includes/class-mla-settings.php:2353 includes/class-mla-settings.php:2356
|
2847 |
+
#: includes/class-mla-settings.php:2476 includes/class-mla-settings.php:2478
|
2848 |
msgid "Save Changes"
|
2849 |
msgstr ""
|
2850 |
|
2851 |
+
#: includes/class-mla-settings.php:984
|
2852 |
msgid "Export ALL Settings"
|
2853 |
msgstr ""
|
2854 |
|
2855 |
+
#: includes/class-mla-settings.php:985
|
2856 |
msgid "Delete General options and restore default settings"
|
2857 |
msgstr ""
|
2858 |
|
2859 |
+
#: includes/class-mla-settings.php:989
|
2860 |
msgid "Support Our Work"
|
2861 |
msgstr ""
|
2862 |
|
2863 |
+
#: includes/class-mla-settings.php:990 includes/class-mla-settings.php:993
|
2864 |
msgid "Donate to FTJ"
|
2865 |
msgstr ""
|
2866 |
|
2867 |
+
#: includes/class-mla-settings.php:991
|
2868 |
msgid "Donate"
|
2869 |
msgstr ""
|
2870 |
|
2871 |
#. translators: 1: donation hyperlink
|
2872 |
+
#: includes/class-mla-settings.php:993
|
2873 |
#, php-format
|
2874 |
msgid ""
|
2875 |
"This plugin was inspired by my work on the WordPress web site for our "
|
2878 |
"our work. Thank you!"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
+
#: includes/class-mla-settings.php:993
|
2882 |
msgid "tax-deductible donation"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
+
#: includes/class-mla-settings.php:1014
|
2886 |
msgid "enhanced version of the WordPress [gallery] shortcode."
|
2887 |
msgstr ""
|
2888 |
|
2889 |
+
#: includes/class-mla-settings.php:1014 includes/class-mla-settings.php:1015
|
2890 |
msgid "For complete documentation"
|
2891 |
msgstr ""
|
2892 |
|
2893 |
+
#: includes/class-mla-settings.php:1014 includes/class-mla-settings.php:1015
|
2894 |
msgid "click here"
|
2895 |
msgstr ""
|
2896 |
|
2897 |
+
#: includes/class-mla-settings.php:1015
|
2898 |
msgid "enhanced version of the WordPress Tag Cloud."
|
2899 |
msgstr ""
|
2900 |
|
2901 |
+
#: includes/class-mla-settings.php:1027
|
2902 |
msgid "Shortcodes made available by this plugin"
|
2903 |
msgstr ""
|
2904 |
|
2905 |
+
#: includes/class-mla-settings.php:1136
|
2906 |
msgid "Edit View"
|
2907 |
msgstr ""
|
2908 |
|
2909 |
+
#: includes/class-mla-settings.php:1142 includes/class-mla-settings.php:1399
|
2910 |
msgid ""
|
2911 |
"The “slug” is the URL-friendly, unique key for the view. It must "
|
2912 |
"be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
|
2915 |
"MIME</strong> type, e.g., “image” or “image/jpeg”."
|
2916 |
msgstr ""
|
2917 |
|
2918 |
+
#: includes/class-mla-settings.php:1143 includes/class-mla-settings.php:1400
|
2919 |
msgid "Singular Label"
|
2920 |
msgstr ""
|
2921 |
|
2922 |
+
#: includes/class-mla-settings.php:1144 includes/class-mla-settings.php:1401
|
2923 |
msgid "Plural Label"
|
2924 |
msgstr ""
|
2925 |
|
2926 |
+
#: includes/class-mla-settings.php:1145 includes/class-mla-settings.php:1402
|
2927 |
msgid ""
|
2928 |
"The labels, e.g., “Image” and “Images” are used for "
|
2929 |
"column headers and other display purposes."
|
2930 |
msgstr ""
|
2931 |
|
2932 |
+
#: includes/class-mla-settings.php:1146 includes/class-mla-settings.php:1403
|
2933 |
msgid "Specification"
|
2934 |
msgstr ""
|
2935 |
|
2936 |
+
#: includes/class-mla-settings.php:1147 includes/class-mla-settings.php:1404
|
2937 |
msgid ""
|
2938 |
"If the MIME type specification differs from the slug, enter it here. You may "
|
2939 |
"include multiple MIME types, e.g., “audio,video” and/or wildcard "
|
2941 |
"MIME Type box is checked."
|
2942 |
msgstr ""
|
2943 |
|
2944 |
+
#: includes/class-mla-settings.php:1148 includes/class-mla-settings.php:1405
|
2945 |
msgid "Post MIME Type"
|
2946 |
msgstr ""
|
2947 |
|
2948 |
+
#: includes/class-mla-settings.php:1149 includes/class-mla-settings.php:1406
|
2949 |
msgid ""
|
2950 |
"Check this box if you want to add this entry to the list of MIME types "
|
2951 |
"returned by wp_get_mime_types()."
|
2952 |
msgstr ""
|
2953 |
|
2954 |
+
#: includes/class-mla-settings.php:1150 includes/class-mla-settings.php:1407
|
2955 |
msgid "Table View"
|
2956 |
msgstr ""
|
2957 |
|
2958 |
+
#: includes/class-mla-settings.php:1151 includes/class-mla-settings.php:1408
|
2959 |
msgid ""
|
2960 |
"Check this box if you want to add this entry to the list of Media/Assistant "
|
2961 |
"table views."
|
2962 |
msgstr ""
|
2963 |
|
2964 |
+
#: includes/class-mla-settings.php:1153 includes/class-mla-settings.php:1410
|
2965 |
msgid ""
|
2966 |
"You can choose your own table view order by entering a number (1 for first, "
|
2967 |
"etc.) in this field."
|
2968 |
msgstr ""
|
2969 |
|
2970 |
+
#: includes/class-mla-settings.php:1155 includes/class-mla-settings.php:1412
|
2971 |
+
#: includes/class-mla-settings.php:1511 includes/class-mla-settings.php:1875
|
2972 |
msgid ""
|
2973 |
"The description can contain any documentation or notes you need to "
|
2974 |
"understand or use the item."
|
2975 |
msgstr ""
|
2976 |
|
2977 |
#. translators: 1: view name/slug
|
2978 |
+
#: includes/class-mla-settings.php:1305 includes/class-mla-settings.php:1775
|
2979 |
#, php-format
|
2980 |
msgid "Edit view \"%1$s\" cancelled."
|
2981 |
msgstr ""
|
2982 |
|
2983 |
+
#: includes/class-mla-settings.php:1340
|
2984 |
msgid "View and Post MIME Type Support is disabled"
|
2985 |
msgstr ""
|
2986 |
|
2987 |
+
#: includes/class-mla-settings.php:1385 includes/class-mla-settings.php:1388
|
2988 |
msgid "Library Views/Post MIME Type Processing"
|
2989 |
msgstr ""
|
2990 |
|
2991 |
+
#: includes/class-mla-settings.php:1386
|
2992 |
msgid ""
|
2993 |
"In this tab you can manage the list of \"Post MIME Types\", which are used "
|
2994 |
"by WordPress to define the views for the <em><strong>Media/Library</strong></"
|
3000 |
msgstr ""
|
3001 |
|
3002 |
#. translators: 1: Documentation hyperlink
|
3003 |
+
#: includes/class-mla-settings.php:1388
|
3004 |
#, php-format
|
3005 |
msgid ""
|
3006 |
"You can find more information about library views, Post MIME types and how "
|
3009 |
"screen."
|
3010 |
msgstr ""
|
3011 |
|
3012 |
+
#: includes/class-mla-settings.php:1388
|
3013 |
msgid "Library View Processing documentation"
|
3014 |
msgstr ""
|
3015 |
|
3016 |
+
#: includes/class-mla-settings.php:1392 includes/class-mla-settings.php:1581
|
3017 |
+
#: includes/class-mla-settings.php:1887
|
3018 |
msgid "Displaying search results for"
|
3019 |
msgstr ""
|
3020 |
|
3021 |
+
#: includes/class-mla-settings.php:1393
|
3022 |
msgid "Search Views"
|
3023 |
msgstr ""
|
3024 |
|
3025 |
+
#: includes/class-mla-settings.php:1397
|
3026 |
msgid "Add New View"
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: includes/class-mla-settings.php:1413
|
3030 |
msgid "Add View"
|
3031 |
msgstr ""
|
3032 |
|
3033 |
+
#: includes/class-mla-settings.php:1415 includes/class-mla-settings.php:1880
|
3034 |
msgid "<strong>Quick Edit</strong>"
|
3035 |
msgstr ""
|
3036 |
|
3037 |
+
#: includes/class-mla-settings.php:1421
|
3038 |
#: includes/class-mla-view-list-table.php:377
|
3039 |
#: includes/class-mla-view-list-table.php:393
|
3040 |
msgid "Yes"
|
3041 |
msgstr ""
|
3042 |
|
3043 |
+
#: includes/class-mla-settings.php:1496
|
3044 |
msgid "Edit Upload MIME Type"
|
3045 |
msgstr ""
|
3046 |
|
3047 |
+
#: includes/class-mla-settings.php:1501 includes/class-mla-settings.php:1866
|
3048 |
msgid "Extension"
|
3049 |
msgstr ""
|
3050 |
|
3051 |
+
#: includes/class-mla-settings.php:1502
|
3052 |
msgid ""
|
3053 |
"The “extension” is the file extension for this type, and a "
|
3054 |
"unique key for the item. It must be all lowercase and contain only letters "
|
3055 |
"and numbers."
|
3056 |
msgstr ""
|
3057 |
|
3058 |
+
#: includes/class-mla-settings.php:1504 includes/class-mla-settings.php:1869
|
3059 |
msgid ""
|
3060 |
"The MIME Type must be all lowercase and contain only letters, numbers, "
|
3061 |
"periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
|
3062 |
"strong> type, e.g., “image” or “image/jpeg”."
|
3063 |
msgstr ""
|
3064 |
|
3065 |
+
#: includes/class-mla-settings.php:1505 includes/class-mla-settings.php:1870
|
3066 |
msgid "Icon Type"
|
3067 |
msgstr ""
|
3068 |
|
3069 |
+
#: includes/class-mla-settings.php:1507 includes/class-mla-settings.php:1871
|
3070 |
msgid ""
|
3071 |
"The Icon Type selects a thumbnail image displayed for non-image file types, "
|
3072 |
"such as PDF documents."
|
3073 |
msgstr ""
|
3074 |
|
3075 |
+
#: includes/class-mla-settings.php:1508 includes/class-mla-settings.php:1872
|
3076 |
msgid "Inactive"
|
3077 |
msgstr ""
|
3078 |
|
3079 |
+
#: includes/class-mla-settings.php:1509 includes/class-mla-settings.php:1873
|
3080 |
msgid ""
|
3081 |
"Check this box if you want to remove this entry from the list of Upload MIME "
|
3082 |
"Types returned by get_allowed_mime_types()."
|
3083 |
msgstr ""
|
3084 |
|
3085 |
+
#: includes/class-mla-settings.php:1580
|
3086 |
msgid "Known File Extension/MIME Type Associations"
|
3087 |
msgstr ""
|
3088 |
|
3089 |
+
#: includes/class-mla-settings.php:1582
|
3090 |
msgid "Search Known MIME Types"
|
3091 |
msgstr ""
|
3092 |
|
3093 |
+
#: includes/class-mla-settings.php:1584 includes/class-mla-settings.php:1859
|
3094 |
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3095 |
msgstr ""
|
3096 |
|
3097 |
+
#: includes/class-mla-settings.php:1810
|
3098 |
msgid "Upload MIME Type Support is disabled"
|
3099 |
msgstr ""
|
3100 |
|
3101 |
+
#: includes/class-mla-settings.php:1853 includes/class-mla-settings.php:1856
|
3102 |
msgid "File Extension and MIME Type Processing"
|
3103 |
msgstr ""
|
3104 |
|
3105 |
+
#: includes/class-mla-settings.php:1854
|
3106 |
msgid ""
|
3107 |
"In this tab you can manage the list of file extension/MIME Type "
|
3108 |
"associations, which are used by WordPress to decide what kind of files can "
|
3112 |
msgstr ""
|
3113 |
|
3114 |
#. translators: 1: Documentation hyperlink
|
3115 |
+
#: includes/class-mla-settings.php:1856
|
3116 |
#, php-format
|
3117 |
msgid ""
|
3118 |
"You can find more information about file extensions, MIME types and how "
|
3120 |
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
3121 |
msgstr ""
|
3122 |
|
3123 |
+
#: includes/class-mla-settings.php:1856
|
3124 |
msgid "File Extension Processing documentation"
|
3125 |
msgstr ""
|
3126 |
|
3127 |
+
#: includes/class-mla-settings.php:1858
|
3128 |
msgid "Search Uploads"
|
3129 |
msgstr ""
|
3130 |
|
3131 |
+
#: includes/class-mla-settings.php:1864
|
3132 |
msgid "Add New Upload MIME Type"
|
3133 |
msgstr ""
|
3134 |
|
3135 |
+
#: includes/class-mla-settings.php:1865
|
3136 |
msgid ""
|
3137 |
"To search the database of over 1,500 known extension/type associations, "
|
3138 |
"click \"Search Known Types\" below the form."
|
3139 |
msgstr ""
|
3140 |
|
3141 |
+
#: includes/class-mla-settings.php:1867
|
3142 |
msgid ""
|
3143 |
"The “extension” is the file extension for this type, and unique "
|
3144 |
"key for the item. It must be all lowercase and contain only letters and "
|
3145 |
"numbers."
|
3146 |
msgstr ""
|
3147 |
|
3148 |
+
#: includes/class-mla-settings.php:1876
|
3149 |
msgid "Add Upload MIME Type"
|
3150 |
msgstr ""
|
3151 |
|
3152 |
+
#: includes/class-mla-settings.php:1878
|
3153 |
msgid "Search Known Types"
|
3154 |
msgstr ""
|
3155 |
|
3156 |
+
#: includes/class-mla-settings.php:1884
|
3157 |
msgid "Status"
|
3158 |
msgstr ""
|
3159 |
|
3160 |
+
#: includes/class-mla-settings.php:1886
|
3161 |
msgid "Active"
|
3162 |
msgstr ""
|
3163 |
|
3164 |
+
#: includes/class-mla-settings.php:1939
|
3165 |
msgid "MLA Gallery Options"
|
3166 |
msgstr ""
|
3167 |
|
3168 |
+
#: includes/class-mla-settings.php:1940
|
3169 |
msgid "Go to Markup Templates"
|
3170 |
msgstr ""
|
3171 |
|
3172 |
+
#: includes/class-mla-settings.php:1941
|
3173 |
msgid ""
|
3174 |
"In this tab you can view the default style and markup templates. You can "
|
3175 |
"also define additional templates and use the <code>mla_style</code> and "
|
3179 |
"Changes\" at the bottom of this page."
|
3180 |
msgstr ""
|
3181 |
|
3182 |
+
#: includes/class-mla-settings.php:1944
|
3183 |
msgid "Style Templates"
|
3184 |
msgstr ""
|
3185 |
|
3186 |
+
#: includes/class-mla-settings.php:1947
|
3187 |
msgid "Markup Templates"
|
3188 |
msgstr ""
|
3189 |
|
3190 |
+
#: includes/class-mla-settings.php:1960
|
3191 |
msgid "Theme"
|
3192 |
msgstr ""
|
3193 |
|
3194 |
+
#: includes/class-mla-settings.php:2008
|
3195 |
msgid ""
|
3196 |
"This default template cannot be altered or deleted, but you can copy the "
|
3197 |
"styles."
|
3198 |
msgstr ""
|
3199 |
|
3200 |
+
#: includes/class-mla-settings.php:2019 includes/class-mla-settings.php:2052
|
3201 |
+
#: includes/class-mla-settings.php:2078
|
3202 |
msgid "Styles"
|
3203 |
msgstr ""
|
3204 |
|
3205 |
+
#: includes/class-mla-settings.php:2023 includes/class-mla-settings.php:2056
|
3206 |
+
#: includes/class-mla-settings.php:2082
|
3207 |
msgid ""
|
3208 |
"List of substitution parameters, e.g., [+selector+], on Documentation tab."
|
3209 |
msgstr ""
|
3210 |
|
3211 |
+
#: includes/class-mla-settings.php:2040 includes/class-mla-settings.php:2158
|
3212 |
msgid "Delete this template"
|
3213 |
msgstr ""
|
3214 |
|
3215 |
+
#: includes/class-mla-settings.php:2041 includes/class-mla-settings.php:2159
|
3216 |
msgid ""
|
3217 |
"Check the box to delete this template when you press Update at the bottom of "
|
3218 |
"the page."
|
3219 |
msgstr ""
|
3220 |
|
3221 |
+
#: includes/class-mla-settings.php:2067
|
3222 |
msgid "Fill in a name and styles to add a new template."
|
3223 |
msgstr ""
|
3224 |
|
3225 |
+
#: includes/class-mla-settings.php:2102
|
3226 |
msgid ""
|
3227 |
"This default template cannot be altered or deleted, but you can copy the "
|
3228 |
"markup."
|
3229 |
msgstr ""
|
3230 |
|
3231 |
+
#: includes/class-mla-settings.php:2114 includes/class-mla-settings.php:2171
|
3232 |
+
#: includes/class-mla-settings.php:2221
|
3233 |
msgid "Open"
|
3234 |
msgstr ""
|
3235 |
|
3236 |
+
#: includes/class-mla-settings.php:2118 includes/class-mla-settings.php:2175
|
3237 |
+
#: includes/class-mla-settings.php:2225
|
3238 |
msgid ""
|
3239 |
"Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
|
3240 |
"+], on Documentation tab."
|
3241 |
msgstr ""
|
3242 |
|
3243 |
+
#: includes/class-mla-settings.php:2120 includes/class-mla-settings.php:2177
|
3244 |
+
#: includes/class-mla-settings.php:2227
|
3245 |
msgid "Row"
|
3246 |
msgstr ""
|
3247 |
|
3248 |
+
#: includes/class-mla-settings.php:2124 includes/class-mla-settings.php:2231
|
3249 |
msgid "Markup for the beginning of each row in the gallery."
|
3250 |
msgstr ""
|
3251 |
|
3252 |
+
#: includes/class-mla-settings.php:2126 includes/class-mla-settings.php:2183
|
3253 |
+
#: includes/class-mla-settings.php:2233
|
3254 |
msgid "Item"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
+
#: includes/class-mla-settings.php:2130 includes/class-mla-settings.php:2237
|
3258 |
msgid "Markup for each item/cell of the gallery."
|
3259 |
msgstr ""
|
3260 |
|
3261 |
+
#: includes/class-mla-settings.php:2132 includes/class-mla-settings.php:2189
|
3262 |
+
#: includes/class-mla-settings.php:2239
|
3263 |
msgid "Close"
|
3264 |
msgstr ""
|
3265 |
|
3266 |
+
#: includes/class-mla-settings.php:2136 includes/class-mla-settings.php:2243
|
3267 |
msgid "Markup for the end of each row in the gallery."
|
3268 |
msgstr ""
|
3269 |
|
3270 |
+
#: includes/class-mla-settings.php:2141 includes/class-mla-settings.php:2198
|
3271 |
+
#: includes/class-mla-settings.php:2248
|
3272 |
msgid "Markup for the end of the gallery."
|
3273 |
msgstr ""
|
3274 |
|
3275 |
+
#: includes/class-mla-settings.php:2181
|
3276 |
msgid "Markup for the beginning of each row."
|
3277 |
msgstr ""
|
3278 |
|
3279 |
+
#: includes/class-mla-settings.php:2187
|
3280 |
msgid "Markup for each item/cell."
|
3281 |
msgstr ""
|
3282 |
|
3283 |
+
#: includes/class-mla-settings.php:2193
|
3284 |
msgid "Markup for the end of each row."
|
3285 |
msgstr ""
|
3286 |
|
3287 |
+
#: includes/class-mla-settings.php:2209
|
3288 |
msgid "Fill in a name and markup to add a new template."
|
3289 |
msgstr ""
|
3290 |
|
3291 |
+
#: includes/class-mla-settings.php:2343 includes/class-mla-settings.php:2347
|
3292 |
msgid "Custom Field and Attachment Metadata Processing Options"
|
3293 |
msgstr ""
|
3294 |
|
3295 |
#. translators: 1: Documentation hyperlink
|
3296 |
+
#: includes/class-mla-settings.php:2345
|
3297 |
#, php-format
|
3298 |
msgid ""
|
3299 |
"In this tab you can define the rules for mapping several types of image "
|
3303 |
"field. See the %1$s section of the Documentation for details."
|
3304 |
msgstr ""
|
3305 |
|
3306 |
+
#: includes/class-mla-settings.php:2345
|
3307 |
msgid "Updating Attachment Metadata Documentation"
|
3308 |
msgstr ""
|
3309 |
|
3310 |
+
#: includes/class-mla-settings.php:2345
|
3311 |
msgid "Adding or changing Attachment Metadata"
|
3312 |
msgstr ""
|
3313 |
|
3314 |
#. translators: 1: Documentation hyperlink
|
3315 |
+
#: includes/class-mla-settings.php:2347 includes/class-mla-settings.php:2463
|
3316 |
#, php-format
|
3317 |
msgid ""
|
3318 |
"You can find more information about using the controls in this tab to define "
|
3319 |
"mapping rules and apply them in the %1$s section of the Documentation."
|
3320 |
msgstr ""
|
3321 |
|
3322 |
+
#: includes/class-mla-settings.php:2347
|
3323 |
msgid "Custom Field Options documentation"
|
3324 |
msgstr ""
|
3325 |
|
3326 |
+
#: includes/class-mla-settings.php:2351 includes/class-mla-settings.php:2473
|
3327 |
msgid "Custom field mapping"
|
3328 |
msgstr ""
|
3329 |
|
3330 |
+
#: includes/class-mla-settings.php:2354 includes/class-mla-settings.php:2358
|
3331 |
msgid "Map All Rules, All Attachments Now"
|
3332 |
msgstr ""
|
3333 |
|
3334 |
#. translators: 1: "Save Changes"
|
3335 |
+
#: includes/class-mla-settings.php:2356
|
3336 |
#, php-format
|
3337 |
msgid ""
|
3338 |
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
3341 |
msgstr ""
|
3342 |
|
3343 |
#. translators: 1: "Map All Rules..."
|
3344 |
+
#: includes/class-mla-settings.php:2358
|
3345 |
#, php-format
|
3346 |
msgid ""
|
3347 |
"Click %1$s to apply all the rules at once (rule changes will be applied but "
|
3348 |
"not saved)."
|
3349 |
msgstr ""
|
3350 |
|
3351 |
+
#: includes/class-mla-settings.php:2460 includes/class-mla-settings.php:2463
|
3352 |
msgid "IPTC & EXIF Processing Options"
|
3353 |
msgstr ""
|
3354 |
|
3355 |
+
#: includes/class-mla-settings.php:2461
|
3356 |
msgid ""
|
3357 |
"In this tab you can define the rules for mapping IPTC (International Press "
|
3358 |
"Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
|
3361 |
"click \"Save Changes\" at the bottom of this page."
|
3362 |
msgstr ""
|
3363 |
|
3364 |
+
#: includes/class-mla-settings.php:2463
|
3365 |
msgid "IPTC/EXIF Options documentation"
|
3366 |
msgstr ""
|
3367 |
|
3368 |
+
#: includes/class-mla-settings.php:2467
|
3369 |
msgid "Standard field mapping"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
+
#: includes/class-mla-settings.php:2468
|
3373 |
msgid "Map All Attachments, Standard Fields Now"
|
3374 |
msgstr ""
|
3375 |
|
3376 |
+
#: includes/class-mla-settings.php:2470
|
3377 |
msgid "Taxonomy term mapping"
|
3378 |
msgstr ""
|
3379 |
|
3380 |
+
#: includes/class-mla-settings.php:2471
|
3381 |
msgid "Map All Attachments, Taxonomy Terms Now"
|
3382 |
msgstr ""
|
3383 |
|
3384 |
+
#: includes/class-mla-settings.php:2474
|
3385 |
msgid "Map All Attachments, Custom Fields Now"
|
3386 |
msgstr ""
|
3387 |
|
3388 |
#. translators: 1: "Save Changes"
|
3389 |
+
#: includes/class-mla-settings.php:2478
|
3390 |
#, php-format
|
3391 |
msgid ""
|
3392 |
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
3394 |
"performed.</strong>"
|
3395 |
msgstr ""
|
3396 |
|
3397 |
+
#: includes/class-mla-settings.php:2538
|
3398 |
msgid "Media Library Assistant - Error"
|
3399 |
msgstr ""
|
3400 |
|
3401 |
+
#: includes/class-mla-settings.php:2539
|
3402 |
msgid "You do not have permission to manage plugin settings."
|
3403 |
msgstr ""
|
3404 |
|
3405 |
+
#: includes/class-mla-settings.php:2567
|
3406 |
msgid "ERROR: Cannot render content tab"
|
3407 |
msgstr ""
|
3408 |
|
3409 |
+
#: includes/class-mla-settings.php:2570
|
3410 |
msgid "ERROR: Unknown content tab"
|
3411 |
msgstr ""
|
3412 |
|
3413 |
#. translators: 1: template type 2: template name
|
3414 |
+
#: includes/class-mla-settings.php:2650 includes/class-mla-settings.php:2740
|
3415 |
#, php-format
|
3416 |
msgctxt "message_list"
|
3417 |
msgid "Deleting %1$s \"%2$s\"."
|
3418 |
msgstr ""
|
3419 |
|
3420 |
#. translators: 1: template name 2: template type
|
3421 |
+
#: includes/class-mla-settings.php:2661 includes/class-mla-settings.php:2753
|
3422 |
#, php-format
|
3423 |
msgid "ERROR: Reserved name \"%1$s\", new %2$s discarded."
|
3424 |
msgstr ""
|
3425 |
|
3426 |
#. translators: 1: template name 2: template type
|
3427 |
+
#: includes/class-mla-settings.php:2667 includes/class-mla-settings.php:2759
|
3428 |
#, php-format
|
3429 |
msgid "ERROR: Duplicate name \"%1$s\", new %2$s discarded."
|
3430 |
msgstr ""
|
3431 |
|
3432 |
#. translators: 1: template type 2: template name
|
3433 |
+
#: includes/class-mla-settings.php:2671 includes/class-mla-settings.php:2763
|
3434 |
#, php-format
|
3435 |
msgctxt "message_list"
|
3436 |
msgid "Adding new %1$s \"%2$s\"."
|
3437 |
msgstr ""
|
3438 |
|
3439 |
#. translators: 1: element name 3: old value
|
3440 |
+
#: includes/class-mla-settings.php:2681 includes/class-mla-settings.php:2773
|
3441 |
#, php-format
|
3442 |
msgid "ERROR: Blank %1$s, reverting to \"%3$s\"."
|
3443 |
msgstr ""
|
3444 |
|
3445 |
+
#: includes/class-mla-settings.php:2681 includes/class-mla-settings.php:2689
|
3446 |
+
#: includes/class-mla-settings.php:2693
|
3447 |
msgid "style template name"
|
3448 |
msgstr ""
|
3449 |
|
3450 |
#. translators: 1: element name 2: new value 3: old value
|
3451 |
+
#: includes/class-mla-settings.php:2689 includes/class-mla-settings.php:2780
|
3452 |
#, php-format
|
3453 |
msgid "ERROR: Duplicate new %1$s \"%2$s\", reverting to \"%3$s\"."
|
3454 |
msgstr ""
|
3455 |
|
3456 |
#. translators: 1: element name 2: old_value 3: new_value
|
3457 |
+
#: includes/class-mla-settings.php:2693 includes/class-mla-settings.php:2784
|
3458 |
#, php-format
|
3459 |
msgctxt "message_list"
|
3460 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
3461 |
msgstr ""
|
3462 |
|
3463 |
#. translators: 1: template type 2: template name
|
3464 |
+
#: includes/class-mla-settings.php:2700
|
3465 |
#, php-format
|
3466 |
msgctxt "message_list"
|
3467 |
msgid "Updating contents of %1$s \"%2$s\"."
|
3468 |
msgstr ""
|
3469 |
|
3470 |
#. translators: 1: template type
|
3471 |
+
#: includes/class-mla-settings.php:2711 includes/class-mla-settings.php:2832
|
3472 |
#, php-format
|
3473 |
msgid "ERROR: Update of %1$s failed."
|
3474 |
msgstr ""
|
3475 |
|
3476 |
+
#: includes/class-mla-settings.php:2773 includes/class-mla-settings.php:2780
|
3477 |
+
#: includes/class-mla-settings.php:2784
|
3478 |
msgid "markup template name"
|
3479 |
msgstr ""
|
3480 |
|
3481 |
#. translators: 1: template name
|
3482 |
+
#: includes/class-mla-settings.php:2792
|
3483 |
#, php-format
|
3484 |
msgctxt "message_list"
|
3485 |
msgid "Updating open markup for \"%1$s\"."
|
3486 |
msgstr ""
|
3487 |
|
3488 |
#. translators: 1: template name
|
3489 |
+
#: includes/class-mla-settings.php:2798
|
3490 |
#, php-format
|
3491 |
msgctxt "message_list"
|
3492 |
msgid "Updating row open markup for \"%1$s\"."
|
3493 |
msgstr ""
|
3494 |
|
3495 |
#. translators: 1: template name
|
3496 |
+
#: includes/class-mla-settings.php:2804
|
3497 |
#, php-format
|
3498 |
msgctxt "message_list"
|
3499 |
msgid "Updating item markup for \"%1$s\"."
|
3500 |
msgstr ""
|
3501 |
|
3502 |
#. translators: 1: template name
|
3503 |
+
#: includes/class-mla-settings.php:2810
|
3504 |
#, php-format
|
3505 |
msgctxt "message_list"
|
3506 |
msgid "Updating row close markup for \"%1$s\"."
|
3507 |
msgstr ""
|
3508 |
|
3509 |
#. translators: 1: template name
|
3510 |
+
#: includes/class-mla-settings.php:2816
|
3511 |
#, php-format
|
3512 |
msgctxt "message_list"
|
3513 |
msgid "Updating close markup for \"%1$s\"."
|
3514 |
msgstr ""
|
3515 |
|
3516 |
#. translators: 1: field type
|
3517 |
+
#: includes/class-mla-settings.php:2841
|
3518 |
#, php-format
|
3519 |
msgid "%1$s no changes detected."
|
3520 |
msgstr ""
|
3521 |
|
3522 |
+
#: includes/class-mla-settings.php:2876
|
3523 |
msgid "View settings saved."
|
3524 |
msgstr ""
|
3525 |
|
3526 |
+
#: includes/class-mla-settings.php:2910
|
3527 |
msgid "Upload MIME Type settings saved."
|
3528 |
msgstr ""
|
3529 |
|
3530 |
+
#: includes/class-mla-settings.php:2948
|
3531 |
msgid "ERROR: No custom field mapping rules to process."
|
3532 |
msgstr ""
|
3533 |
|
3534 |
#. translators: 1: field type 2: examined count 3: updated count
|
3535 |
+
#: includes/class-mla-settings.php:2971 includes/class-mla-settings.php:3096
|
3536 |
+
#: includes/class-mla-settings.php:3154 includes/class-mla-settings.php:3224
|
3537 |
#, php-format
|
3538 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3539 |
msgstr ""
|
3540 |
|
3541 |
#. translators: 1: field type 2: examined count
|
3542 |
+
#: includes/class-mla-settings.php:2974 includes/class-mla-settings.php:3099
|
3543 |
+
#: includes/class-mla-settings.php:3157 includes/class-mla-settings.php:3227
|
3544 |
#, php-format
|
3545 |
msgid ""
|
3546 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3547 |
msgstr ""
|
3548 |
|
3549 |
+
#: includes/class-mla-settings.php:3001
|
3550 |
#, php-format
|
3551 |
msgid "%s attachment"
|
3552 |
msgid_plural "%s attachments"
|
3554 |
msgstr[1] ""
|
3555 |
|
3556 |
#. translators: 1: number of attachments
|
3557 |
+
#: includes/class-mla-settings.php:3003
|
3558 |
#, php-format
|
3559 |
msgid "Deleted custom field value from %1$s."
|
3560 |
msgstr ""
|
3561 |
|
3562 |
+
#: includes/class-mla-settings.php:3006
|
3563 |
msgid "No attachments contained this custom field."
|
3564 |
msgstr ""
|
3565 |
|
3566 |
#. translators: 1: field type
|
3567 |
+
#: includes/class-mla-settings.php:3064 includes/class-mla-settings.php:3122
|
3568 |
+
#: includes/class-mla-settings.php:3192
|
3569 |
#, php-format
|
3570 |
msgid "ERROR: No %1$s settings to process."
|
3571 |
msgstr ""
|
3572 |
|
3573 |
+
#: includes/class-mla-settings.php:3088 includes/class-mla-settings.php:3146
|
3574 |
+
#: includes/class-mla-settings.php:3216
|
3575 |
msgid "updated."
|
3576 |
msgstr ""
|
3577 |
|
3578 |
#. translators: 1: reference type, e.g., Gallery in
|
3579 |
+
#: includes/class-mla-settings.php:3317 includes/class-mla-settings.php:3327
|
3580 |
#, php-format
|
3581 |
msgctxt "message_list"
|
3582 |
msgid "%1$s - references updated."
|
3583 |
msgstr ""
|
3584 |
|
3585 |
+
#: includes/class-mla-settings.php:3340
|
3586 |
msgid "General settings saved."
|
3587 |
msgstr ""
|
3588 |
|
3589 |
#. translators: 1: option name
|
3590 |
+
#: includes/class-mla-settings.php:3371
|
3591 |
#, php-format
|
3592 |
msgctxt "message_list"
|
3593 |
msgid "delete_option \"%1$s\""
|
3594 |
msgstr ""
|
3595 |
|
3596 |
+
#: includes/class-mla-settings.php:3379
|
3597 |
msgid "General settings reset to default values."
|
3598 |
msgstr ""
|
3599 |
|
3600 |
+
#: includes/class-mla-settings.php:3421
|
3601 |
msgid "select settings"
|
3602 |
msgstr ""
|
3603 |
|
3604 |
+
#: includes/class-mla-settings.php:3441
|
3605 |
msgid "Import ALL Settings"
|
3606 |
msgstr ""
|
3607 |
|
3608 |
+
#: includes/class-mla-settings.php:3466
|
3609 |
msgctxt "message_list"
|
3610 |
msgid "exported"
|
3611 |
msgstr ""
|
3612 |
|
3613 |
+
#: includes/class-mla-settings.php:3468
|
3614 |
msgctxt "message_list"
|
3615 |
msgid "skipped"
|
3616 |
msgstr ""
|
3617 |
|
3618 |
+
#: includes/class-mla-settings.php:3475
|
3619 |
msgid "ALL settings exported."
|
3620 |
msgstr ""
|
3621 |
|
3622 |
#. translators: 1: backup directory name
|
3623 |
+
#: includes/class-mla-settings.php:3486
|
3624 |
#, php-format
|
3625 |
msgid "ERROR: The settings directory ( %1$s ) cannot be created."
|
3626 |
msgstr ""
|
3627 |
|
3628 |
#. translators: 1: backup directory name
|
3629 |
+
#: includes/class-mla-settings.php:3490
|
3630 |
#, php-format
|
3631 |
msgid "ERROR: The settings directory ( %1$s ) is not writable."
|
3632 |
msgstr ""
|
3633 |
|
3634 |
#. translators: 1: backup file name
|
3635 |
+
#: includes/class-mla-settings.php:3501
|
3636 |
#, php-format
|
3637 |
msgid "ERROR: The settings file ( %1$s ) could not be opened."
|
3638 |
msgstr ""
|
3639 |
|
3640 |
#. translators: 1: PHP error information
|
3641 |
+
#: includes/class-mla-settings.php:3508
|
3642 |
#, php-format
|
3643 |
msgctxt "error_log"
|
3644 |
msgid "ERROR: _export_settings $error_info = \"%1$s\"."
|
3645 |
msgstr ""
|
3646 |
|
3647 |
#. translators: 1: backup file name 2: error message
|
3648 |
+
#: includes/class-mla-settings.php:3517
|
3649 |
#, php-format
|
3650 |
msgid "ERROR: Writing the settings file ( %1$s ) \"%2$s\"."
|
3651 |
msgstr ""
|
3652 |
|
3653 |
#. translators: 1: number of option settings
|
3654 |
+
#: includes/class-mla-settings.php:3523
|
3655 |
#, php-format
|
3656 |
msgid "Settings exported; %1$s settings recorded."
|
3657 |
msgstr ""
|
3658 |
|
3659 |
+
#: includes/class-mla-settings.php:3541
|
3660 |
msgid "No settings imported."
|
3661 |
msgstr ""
|
3662 |
|
3663 |
+
#: includes/class-mla-settings.php:3550
|
3664 |
msgid "Please select an import settings file from the dropdown list."
|
3665 |
msgstr ""
|
3666 |
|
3667 |
+
#: includes/class-mla-settings.php:3554
|
3668 |
msgid "ERROR: The import settings dropdown selection is missing."
|
3669 |
msgstr ""
|
3670 |
|
3671 |
#. translators: 1: PHP error information
|
3672 |
+
#: includes/class-mla-settings.php:3562
|
3673 |
#, php-format
|
3674 |
msgctxt "error_log"
|
3675 |
msgid "ERROR: _import_settings $error_info = \"%1$s\"."
|
3676 |
msgstr ""
|
3677 |
|
3678 |
#. translators: 1: backup file name 2: error message
|
3679 |
+
#: includes/class-mla-settings.php:3571
|
3680 |
#, php-format
|
3681 |
msgid "ERROR: Reading the settings file ( %1$s ) \"%2$s\"."
|
3682 |
msgstr ""
|
3683 |
|
3684 |
+
#: includes/class-mla-settings.php:3581
|
3685 |
msgctxt "message_list"
|
3686 |
msgid "updated"
|
3687 |
msgstr ""
|
3688 |
|
3689 |
+
#: includes/class-mla-settings.php:3584
|
3690 |
msgctxt "message_list"
|
3691 |
msgid "unchanged"
|
3692 |
msgstr ""
|
3693 |
|
3694 |
#. translators: 1: number of option settings updated 2: number of option settings unchanged
|
3695 |
+
#: includes/class-mla-settings.php:3589
|
3696 |
#, php-format
|
3697 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
3698 |
msgstr ""
|
3699 |
|
3700 |
#: includes/class-mla-shortcodes.php:255
|
3701 |
+
#: includes/class-mla-shortcodes.php:1166
|
3702 |
+
#: includes/class-mla-shortcodes.php:2027
|
3703 |
+
#: includes/class-mla-shortcodes.php:2292
|
3704 |
msgid "Previous"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
#: includes/class-mla-shortcodes.php:256
|
3708 |
+
#: includes/class-mla-shortcodes.php:1167
|
3709 |
+
#: includes/class-mla-shortcodes.php:2074
|
3710 |
+
#: includes/class-mla-shortcodes.php:2298
|
3711 |
msgid "Next"
|
3712 |
msgstr ""
|
3713 |
|
3729 |
msgid "unknown"
|
3730 |
msgstr ""
|
3731 |
|
3732 |
+
#: includes/class-mla-shortcodes.php:1264
|
3733 |
msgid "mla_debug attributes"
|
3734 |
msgstr ""
|
3735 |
|
3736 |
+
#: includes/class-mla-shortcodes.php:1265
|
3737 |
msgid "mla_debug arguments"
|
3738 |
msgstr ""
|
3739 |
|
3740 |
+
#: includes/class-mla-shortcodes.php:1349
|
3741 |
msgid "mla_debug empty cloud"
|
3742 |
msgstr ""
|
3743 |
|
3744 |
+
#: includes/class-mla-shortcodes.php:2624
|
3745 |
+
#: includes/class-mla-shortcodes.php:2873
|
3746 |
msgid "ERROR: Invalid mla_gallery"
|
3747 |
msgstr ""
|
3748 |
|
3749 |
+
#: includes/class-mla-shortcodes.php:3027
|
3750 |
msgid "mla_debug query"
|
3751 |
msgstr ""
|
3752 |
|
3753 |
+
#: includes/class-mla-shortcodes.php:3028
|
3754 |
msgid "mla_debug request"
|
3755 |
msgstr ""
|
3756 |
|
3757 |
+
#: includes/class-mla-shortcodes.php:3029
|
3758 |
msgid "mla_debug query_vars"
|
3759 |
msgstr ""
|
3760 |
|
3761 |
+
#: includes/class-mla-shortcodes.php:3030
|
3762 |
msgid "mla_debug post_count"
|
3763 |
msgstr ""
|
3764 |
|
3765 |
+
#: includes/class-mla-shortcodes.php:3056
|
3766 |
msgid "mla_debug WHERE filter"
|
3767 |
msgstr ""
|
3768 |
|
3769 |
+
#: includes/class-mla-shortcodes.php:3075
|
3770 |
msgid "mla_debug modified WHERE filter"
|
3771 |
msgstr ""
|
3772 |
|
3773 |
+
#: includes/class-mla-shortcodes.php:3098
|
3774 |
msgid "mla_debug ORDER BY filter, incoming"
|
3775 |
msgstr ""
|
3776 |
|
3777 |
+
#: includes/class-mla-shortcodes.php:3098
|
3778 |
msgid "Replacement ORDER BY clause"
|
3779 |
msgstr ""
|
3780 |
|
3781 |
+
#: includes/class-mla-shortcodes.php:3121
|
3782 |
msgid "mla_debug posts_clauses filter"
|
3783 |
msgstr ""
|
3784 |
|
3785 |
+
#: includes/class-mla-shortcodes.php:3139
|
3786 |
msgid "mla_debug posts_clauses_request filter"
|
3787 |
msgstr ""
|
3788 |
|
3789 |
+
#: includes/class-mla-shortcodes.php:3276
|
3790 |
msgid "Invalid taxonomy"
|
3791 |
msgstr ""
|
3792 |
|
3793 |
+
#: includes/class-mla-shortcodes.php:3457
|
3794 |
msgid "mla_debug query arguments"
|
3795 |
msgstr ""
|
3796 |
|
3797 |
+
#: includes/class-mla-shortcodes.php:3458
|
3798 |
msgid "mla_debug last_query"
|
3799 |
msgstr ""
|
3800 |
|
3801 |
+
#: includes/class-mla-shortcodes.php:3459
|
3802 |
msgid "mla_debug last_error"
|
3803 |
msgstr ""
|
3804 |
|
3805 |
+
#: includes/class-mla-shortcodes.php:3460
|
3806 |
msgid "mla_debug num_rows"
|
3807 |
msgstr ""
|
3808 |
|
3809 |
+
#: includes/class-mla-shortcodes.php:3461
|
3810 |
msgid "mla_debug found_rows"
|
3811 |
msgstr ""
|
3812 |
|
3879 |
msgid "Select this entry"
|
3880 |
msgstr ""
|
3881 |
|
|
|
|
|
|
|
|
|
3882 |
#: includes/class-mla-upload-optional-list-table.php:414
|
3883 |
msgid "Select these entries"
|
3884 |
msgstr ""
|
3913 |
msgid "Order"
|
3914 |
msgstr ""
|
3915 |
|
|
|
|
|
|
|
|
|
3916 |
#: includes/mla-plugin-loader.php:34
|
3917 |
msgid "The Media Library Assistant cannot load."
|
3918 |
msgstr ""
|
phpDocs/classes/MLA.html
CHANGED
@@ -64,12 +64,13 @@
|
|
64 |
<li class="method public "><a href="#mla_admin_init_action" title="mla_admin_init_action :: Load the plugin's Ajax handler or process Edit Media update actions"><span class="description">Load the plugin's Ajax handler or process Edit Media update actions</span><pre>mla_admin_init_action()</pre></a></li>
|
65 |
<li class="method public "><a href="#mla_admin_menu_action" title="mla_admin_menu_action :: Add the submenu pages"><span class="description">Add the submenu pages</span><pre>mla_admin_menu_action()</pre></a></li>
|
66 |
<li class="method public "><a href="#mla_edit_tax_redirect" title="mla_edit_tax_redirect :: Redirect to the Edit Tags/Categories page"><span class="description">Redirect to the Edit Tags/Categories page</span><pre>mla_edit_tax_redirect()</pre></a></li>
|
67 |
-
<li class="method public "><a href="#
|
68 |
<li class="method public "><a href="#mla_load_media_action" title="mla_load_media_action :: Redirect to Media/Assistant if Media/Library is hidden"><span class="description">Redirect to Media/Assistant if Media/Library is hidden</span><pre>mla_load_media_action()</pre></a></li>
|
69 |
<li class="method public "><a href="#mla_parent_file_filter" title="mla_parent_file_filter :: Cleanup menus for Edit Tags/Categories page"><span class="description">Cleanup menus for Edit Tags/Categories page</span><pre>mla_parent_file_filter()</pre></a></li>
|
70 |
<li class="method public "><a href="#mla_plugins_loaded_action" title="mla_plugins_loaded_action :: Load a plugin text domain"><span class="description">Load a plugin text domain</span><pre>mla_plugins_loaded_action()</pre></a></li>
|
71 |
<li class="method public "><a href="#mla_render_admin_page" title='mla_render_admin_page :: Render the "Assistant" subpage in the Media section, using the list_table package'><span class="description">Render the "Assistant" subpage in the Media section, using the list_table package</span><pre>mla_render_admin_page()</pre></a></li>
|
72 |
<li class="method public "><a href="#mla_screen_options_show_screen_filter" title="mla_screen_options_show_screen_filter :: Only show screen options on the table-list screen"><span class="description">Only show screen options on the table-list screen</span><pre>mla_screen_options_show_screen_filter()</pre></a></li>
|
|
|
73 |
<li class="method public "><a href="#mla_set_screen_option_filter" title='mla_set_screen_option_filter :: Save the "Entries per page" option set by this user'><span class="description">Save the "Entries per page" option set by this user</span><pre>mla_set_screen_option_filter()</pre></a></li>
|
74 |
<li class="nav-header private">» Private</li>
|
75 |
<li class="method private "><a href="#_authors_dropdown" title="_authors_dropdown :: Get the edit Authors dropdown box, if user has suitable permissions"><span class="description">Get the edit Authors dropdown box, if user has suitable permissions</span><pre>_authors_dropdown()</pre></a></li>
|
@@ -95,6 +96,7 @@ change the meta data for a single attachment.</span><pre>_display_single_item()<
|
|
95 |
<li class="constant "><a href="#JAVASCRIPT_SINGLE_EDIT_OBJECT" title="JAVASCRIPT_SINGLE_EDIT_OBJECT :: Object name for localizing JavaScript - edit single item page"><span class="description">Object name for localizing JavaScript - edit single item page</span><pre>JAVASCRIPT_SINGLE_EDIT_OBJECT</pre></a></li>
|
96 |
<li class="constant "><a href="#JAVASCRIPT_SINGLE_EDIT_SLUG" title="JAVASCRIPT_SINGLE_EDIT_SLUG :: Slug for localizing and enqueueing JavaScript - edit single item page"><span class="description">Slug for localizing and enqueueing JavaScript - edit single item page</span><pre>JAVASCRIPT_SINGLE_EDIT_SLUG</pre></a></li>
|
97 |
<li class="constant "><a href="#MLA_ADMIN_NONCE" title="MLA_ADMIN_NONCE :: Action name; uniquely identifies the nonce"><span class="description">Action name; uniquely identifies the nonce</span><pre>MLA_ADMIN_NONCE</pre></a></li>
|
|
|
98 |
<li class="constant "><a href="#MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" title="MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP :: mla_admin_action value for mapping Custom Field metadata"><span class="description">mla_admin_action value for mapping Custom Field metadata</span><pre>MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP</pre></a></li>
|
99 |
<li class="constant "><a href="#MLA_ADMIN_SINGLE_DELETE" title="MLA_ADMIN_SINGLE_DELETE :: mla_admin_action value for permanently deleting a single item"><span class="description">mla_admin_action value for permanently deleting a single item</span><pre>MLA_ADMIN_SINGLE_DELETE</pre></a></li>
|
100 |
<li class="constant "><a href="#MLA_ADMIN_SINGLE_EDIT_DISPLAY" title="MLA_ADMIN_SINGLE_EDIT_DISPLAY :: mla_admin_action value for displaying a single item"><span class="description">mla_admin_action value for displaying a single item</span><pre>MLA_ADMIN_SINGLE_EDIT_DISPLAY</pre></a></li>
|
@@ -230,9 +232,9 @@ The filter is not required for WordPress 3.5 and later.</p></p>
|
|
230 |
</tr></table>
|
231 |
</div></div>
|
232 |
</div>
|
233 |
-
<a name="
|
234 |
<h2>Ajax handler for inline editing (quick and bulk edit)</h2>
|
235 |
-
<pre>
|
236 |
<div class="labels"></div>
|
237 |
<div class="row collapse"><div class="detail-description">
|
238 |
<p class="long_description"><p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p></p>
|
@@ -328,6 +330,18 @@ Defined as public because it's an action.</p></p>
|
|
328 |
<code>boolean</code>True to display "Screen Options", false to suppress them</div>
|
329 |
</div></div>
|
330 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
<a name="mla_set_screen_option_filter" id="mla_set_screen_option_filter"></a><div class="element clickable method public mla_set_screen_option_filter" data-toggle="collapse" data-target=".mla_set_screen_option_filter .collapse">
|
332 |
<h2>Save the "Entries per page" option set by this user</h2>
|
333 |
<pre>mla_set_screen_option_filter(mixed $status, string $option, string $value) : string | void</pre>
|
@@ -613,6 +627,18 @@ change the meta data for a single attachment.</h2>
|
|
613 |
</tr></table>
|
614 |
</div></div>
|
615 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
616 |
<a name="MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" id="MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP"> </a><div class="element clickable constant MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" data-toggle="collapse" data-target=".MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP .collapse">
|
617 |
<h2>mla_admin_action value for mapping Custom Field metadata</h2>
|
618 |
<pre>MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP : string</pre>
|
@@ -716,7 +742,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-
|
720 |
</div>
|
721 |
</body>
|
722 |
</html>
|
64 |
<li class="method public "><a href="#mla_admin_init_action" title="mla_admin_init_action :: Load the plugin's Ajax handler or process Edit Media update actions"><span class="description">Load the plugin's Ajax handler or process Edit Media update actions</span><pre>mla_admin_init_action()</pre></a></li>
|
65 |
<li class="method public "><a href="#mla_admin_menu_action" title="mla_admin_menu_action :: Add the submenu pages"><span class="description">Add the submenu pages</span><pre>mla_admin_menu_action()</pre></a></li>
|
66 |
<li class="method public "><a href="#mla_edit_tax_redirect" title="mla_edit_tax_redirect :: Redirect to the Edit Tags/Categories page"><span class="description">Redirect to the Edit Tags/Categories page</span><pre>mla_edit_tax_redirect()</pre></a></li>
|
67 |
+
<li class="method public "><a href="#mla_inline_edit_ajax_action" title="mla_inline_edit_ajax_action :: Ajax handler for inline editing (quick and bulk edit)"><span class="description">Ajax handler for inline editing (quick and bulk edit)</span><pre>mla_inline_edit_ajax_action()</pre></a></li>
|
68 |
<li class="method public "><a href="#mla_load_media_action" title="mla_load_media_action :: Redirect to Media/Assistant if Media/Library is hidden"><span class="description">Redirect to Media/Assistant if Media/Library is hidden</span><pre>mla_load_media_action()</pre></a></li>
|
69 |
<li class="method public "><a href="#mla_parent_file_filter" title="mla_parent_file_filter :: Cleanup menus for Edit Tags/Categories page"><span class="description">Cleanup menus for Edit Tags/Categories page</span><pre>mla_parent_file_filter()</pre></a></li>
|
70 |
<li class="method public "><a href="#mla_plugins_loaded_action" title="mla_plugins_loaded_action :: Load a plugin text domain"><span class="description">Load a plugin text domain</span><pre>mla_plugins_loaded_action()</pre></a></li>
|
71 |
<li class="method public "><a href="#mla_render_admin_page" title='mla_render_admin_page :: Render the "Assistant" subpage in the Media section, using the list_table package'><span class="description">Render the "Assistant" subpage in the Media section, using the list_table package</span><pre>mla_render_admin_page()</pre></a></li>
|
72 |
<li class="method public "><a href="#mla_screen_options_show_screen_filter" title="mla_screen_options_show_screen_filter :: Only show screen options on the table-list screen"><span class="description">Only show screen options on the table-list screen</span><pre>mla_screen_options_show_screen_filter()</pre></a></li>
|
73 |
+
<li class="method public "><a href="#mla_set_parent_ajax_action" title="mla_set_parent_ajax_action :: Ajax handler to set post_parent for a single attachment"><span class="description">Ajax handler to set post_parent for a single attachment</span><pre>mla_set_parent_ajax_action()</pre></a></li>
|
74 |
<li class="method public "><a href="#mla_set_screen_option_filter" title='mla_set_screen_option_filter :: Save the "Entries per page" option set by this user'><span class="description">Save the "Entries per page" option set by this user</span><pre>mla_set_screen_option_filter()</pre></a></li>
|
75 |
<li class="nav-header private">» Private</li>
|
76 |
<li class="method private "><a href="#_authors_dropdown" title="_authors_dropdown :: Get the edit Authors dropdown box, if user has suitable permissions"><span class="description">Get the edit Authors dropdown box, if user has suitable permissions</span><pre>_authors_dropdown()</pre></a></li>
|
96 |
<li class="constant "><a href="#JAVASCRIPT_SINGLE_EDIT_OBJECT" title="JAVASCRIPT_SINGLE_EDIT_OBJECT :: Object name for localizing JavaScript - edit single item page"><span class="description">Object name for localizing JavaScript - edit single item page</span><pre>JAVASCRIPT_SINGLE_EDIT_OBJECT</pre></a></li>
|
97 |
<li class="constant "><a href="#JAVASCRIPT_SINGLE_EDIT_SLUG" title="JAVASCRIPT_SINGLE_EDIT_SLUG :: Slug for localizing and enqueueing JavaScript - edit single item page"><span class="description">Slug for localizing and enqueueing JavaScript - edit single item page</span><pre>JAVASCRIPT_SINGLE_EDIT_SLUG</pre></a></li>
|
98 |
<li class="constant "><a href="#MLA_ADMIN_NONCE" title="MLA_ADMIN_NONCE :: Action name; uniquely identifies the nonce"><span class="description">Action name; uniquely identifies the nonce</span><pre>MLA_ADMIN_NONCE</pre></a></li>
|
99 |
+
<li class="constant "><a href="#MLA_ADMIN_SET_PARENT" title="MLA_ADMIN_SET_PARENT :: mla_admin_action value for setting an item's parent object"><span class="description">mla_admin_action value for setting an item's parent object</span><pre>MLA_ADMIN_SET_PARENT</pre></a></li>
|
100 |
<li class="constant "><a href="#MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" title="MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP :: mla_admin_action value for mapping Custom Field metadata"><span class="description">mla_admin_action value for mapping Custom Field metadata</span><pre>MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP</pre></a></li>
|
101 |
<li class="constant "><a href="#MLA_ADMIN_SINGLE_DELETE" title="MLA_ADMIN_SINGLE_DELETE :: mla_admin_action value for permanently deleting a single item"><span class="description">mla_admin_action value for permanently deleting a single item</span><pre>MLA_ADMIN_SINGLE_DELETE</pre></a></li>
|
102 |
<li class="constant "><a href="#MLA_ADMIN_SINGLE_EDIT_DISPLAY" title="MLA_ADMIN_SINGLE_EDIT_DISPLAY :: mla_admin_action value for displaying a single item"><span class="description">mla_admin_action value for displaying a single item</span><pre>MLA_ADMIN_SINGLE_EDIT_DISPLAY</pre></a></li>
|
232 |
</tr></table>
|
233 |
</div></div>
|
234 |
</div>
|
235 |
+
<a name="mla_inline_edit_ajax_action" id="mla_inline_edit_ajax_action"></a><div class="element clickable method public mla_inline_edit_ajax_action" data-toggle="collapse" data-target=".mla_inline_edit_ajax_action .collapse">
|
236 |
<h2>Ajax handler for inline editing (quick and bulk edit)</h2>
|
237 |
+
<pre>mla_inline_edit_ajax_action() : void</pre>
|
238 |
<div class="labels"></div>
|
239 |
<div class="row collapse"><div class="detail-description">
|
240 |
<p class="long_description"><p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p></p>
|
330 |
<code>boolean</code>True to display "Screen Options", false to suppress them</div>
|
331 |
</div></div>
|
332 |
</div>
|
333 |
+
<a name="mla_set_parent_ajax_action" id="mla_set_parent_ajax_action"></a><div class="element clickable method public mla_set_parent_ajax_action" data-toggle="collapse" data-target=".mla_set_parent_ajax_action .collapse">
|
334 |
+
<h2>Ajax handler to set post_parent for a single attachment</h2>
|
335 |
+
<pre>mla_set_parent_ajax_action() : void</pre>
|
336 |
+
<div class="labels"></div>
|
337 |
+
<div class="row collapse"><div class="detail-description">
|
338 |
+
<p class="long_description"><p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p></p>
|
339 |
+
<table class="table table-bordered"><tr>
|
340 |
+
<th>since</th>
|
341 |
+
<td>0.20</td>
|
342 |
+
</tr></table>
|
343 |
+
</div></div>
|
344 |
+
</div>
|
345 |
<a name="mla_set_screen_option_filter" id="mla_set_screen_option_filter"></a><div class="element clickable method public mla_set_screen_option_filter" data-toggle="collapse" data-target=".mla_set_screen_option_filter .collapse">
|
346 |
<h2>Save the "Entries per page" option set by this user</h2>
|
347 |
<pre>mla_set_screen_option_filter(mixed $status, string $option, string $value) : string | void</pre>
|
627 |
</tr></table>
|
628 |
</div></div>
|
629 |
</div>
|
630 |
+
<a name="MLA_ADMIN_SET_PARENT" id="MLA_ADMIN_SET_PARENT"> </a><div class="element clickable constant MLA_ADMIN_SET_PARENT" data-toggle="collapse" data-target=".MLA_ADMIN_SET_PARENT .collapse">
|
631 |
+
<h2>mla_admin_action value for setting an item's parent object</h2>
|
632 |
+
<pre>MLA_ADMIN_SET_PARENT : string</pre>
|
633 |
+
<div class="labels"></div>
|
634 |
+
<div class="row collapse"><div class="detail-description">
|
635 |
+
<p class="long_description"></p>
|
636 |
+
<table class="table table-bordered"><tr>
|
637 |
+
<th>since</th>
|
638 |
+
<td>1.82</td>
|
639 |
+
</tr></table>
|
640 |
+
</div></div>
|
641 |
+
</div>
|
642 |
<a name="MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" id="MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP"> </a><div class="element clickable constant MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP" data-toggle="collapse" data-target=".MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP .collapse">
|
643 |
<h2>mla_admin_action value for mapping Custom Field metadata</h2>
|
644 |
<pre>MLA_ADMIN_SINGLE_CUSTOM_FIELD_MAP : string</pre>
|
742 |
<div class="row"><footer class="span12">
|
743 |
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>
|
744 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
745 |
+
generated on 2014-05-18T20:54:12-07:00.<br></footer></div>
|
746 |
</div>
|
747 |
</body>
|
748 |
</html>
|
phpDocs/classes/MLAData.html
CHANGED
@@ -1836,7 +1836,7 @@ ALT Text and custom field columns.</p></p>
|
|
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-
|
1840 |
</div>
|
1841 |
</body>
|
1842 |
</html>
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
1840 |
</div>
|
1841 |
</body>
|
1842 |
</html>
|
phpDocs/classes/MLAEdit.html
CHANGED
@@ -450,7 +450,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
|
|
450 |
<div class="row"><footer class="span12">
|
451 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
452 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
453 |
-
generated on 2014-
|
454 |
</div>
|
455 |
</body>
|
456 |
</html>
|
450 |
<div class="row"><footer class="span12">
|
451 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
452 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
453 |
+
generated on 2014-05-18T20:54:12-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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
1493 |
</div>
|
1494 |
</body>
|
1495 |
</html>
|
phpDocs/classes/MLASettings.html
CHANGED
@@ -118,6 +118,7 @@ without saving the settings to the mla_option</span><pre>_process_iptc_exif_taxo
|
|
118 |
<li class="method private "><a href="#_save_view_settings" title="_save_view_settings :: Save View settings to the options table"><span class="description">Save View settings to the options table</span><pre>_save_view_settings()</pre></a></li>
|
119 |
<li class="method private "><a href="#_update_option_row" title="_update_option_row :: Update or delete a single MLA option value"><span class="description">Update or delete a single MLA option value</span><pre>_update_option_row()</pre></a></li>
|
120 |
<li class="method private "><a href="#_version_upgrade" title="_version_upgrade :: Database and option update check, for installing new versions"><span class="description">Database and option update check, for installing new versions</span><pre>_version_upgrade()</pre></a></li>
|
|
|
121 |
<li class="nav-header">
|
122 |
<i class="icon-custom icon-property"></i> Properties</li>
|
123 |
<li class="property public "><a href="#%24page_template_array" title="$page_template_array :: Template file for the Settings page(s) and parts"><span class="description">Template file for the Settings page(s) and parts</span><pre>$page_template_array</pre></a></li>
|
@@ -1062,6 +1063,26 @@ without saving the settings to the mla_option</h2>
|
|
1062 |
</tr></table>
|
1063 |
</div></div>
|
1064 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1065 |
<h3>
|
1066 |
<i class="icon-custom icon-property"></i> Properties</h3>
|
1067 |
<a name="%24page_template_array" id="$page_template_array"> </a><div class="element clickable property public $page_template_array" data-toggle="collapse" data-target=".$page_template_array .collapse">
|
@@ -1095,14 +1116,14 @@ Each tab is defined by an array with the following elements:</h2>
|
|
1095 |
<pre>$mla_tablist : array</pre>
|
1096 |
<div class="labels"></div>
|
1097 |
<div class="row collapse"><div class="detail-description">
|
1098 |
-
<p class="long_description"><p>
|
1099 |
-
because Localization calls cannot be placed in the "public static" array definition itself.</p>
|
1100 |
-
|
1101 |
-
<p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
|
1102 |
|
1103 |
<p>title => tab label / heading text
|
1104 |
render => rendering function for tab messages and content. Usage:
|
1105 |
-
$tab_content = <a href="">'render'</a>;</p
|
|
|
|
|
|
|
1106 |
<table class="table table-bordered"><tr>
|
1107 |
<th>since</th>
|
1108 |
<td>0.80</td>
|
@@ -1172,7 +1193,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-
|
1176 |
</div>
|
1177 |
</body>
|
1178 |
</html>
|
118 |
<li class="method private "><a href="#_save_view_settings" title="_save_view_settings :: Save View settings to the options table"><span class="description">Save View settings to the options table</span><pre>_save_view_settings()</pre></a></li>
|
119 |
<li class="method private "><a href="#_update_option_row" title="_update_option_row :: Update or delete a single MLA option value"><span class="description">Update or delete a single MLA option value</span><pre>_update_option_row()</pre></a></li>
|
120 |
<li class="method private "><a href="#_version_upgrade" title="_version_upgrade :: Database and option update check, for installing new versions"><span class="description">Database and option update check, for installing new versions</span><pre>_version_upgrade()</pre></a></li>
|
121 |
+
<li class="method private "><a href="#mla_get_options_tablist" title="mla_get_options_tablist :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_get_options_tablist()</pre></a></li>
|
122 |
<li class="nav-header">
|
123 |
<i class="icon-custom icon-property"></i> Properties</li>
|
124 |
<li class="property public "><a href="#%24page_template_array" title="$page_template_array :: Template file for the Settings page(s) and parts"><span class="description">Template file for the Settings page(s) and parts</span><pre>$page_template_array</pre></a></li>
|
1063 |
</tr></table>
|
1064 |
</div></div>
|
1065 |
</div>
|
1066 |
+
<a name="mla_get_options_tablist" id="mla_get_options_tablist"></a><div class="element clickable method private mla_get_options_tablist" data-toggle="collapse" data-target=".mla_get_options_tablist .collapse">
|
1067 |
+
<h2>Localize $mla_option_definitions array</h2>
|
1068 |
+
<pre>mla_get_options_tablist(string $tab) : array | false</pre>
|
1069 |
+
<div class="labels"></div>
|
1070 |
+
<div class="row collapse"><div class="detail-description">
|
1071 |
+
<p class="long_description"><p>Localization must be done at runtime, and these calls cannot be placed
|
1072 |
+
in the "public static" array definition itself.</p></p>
|
1073 |
+
<table class="table table-bordered"><tr>
|
1074 |
+
<th>since</th>
|
1075 |
+
<td>1.82</td>
|
1076 |
+
</tr></table>
|
1077 |
+
<h3>Parameters</h3>
|
1078 |
+
<div class="subelement argument">
|
1079 |
+
<h4>$tab</h4>
|
1080 |
+
<code>string</code><p>Tab slug, to retrieve a single entry</p></div>
|
1081 |
+
<h3>Returns</h3>
|
1082 |
+
<div class="subelement response">
|
1083 |
+
<code>array</code><code>false</code>The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed</div>
|
1084 |
+
</div></div>
|
1085 |
+
</div>
|
1086 |
<h3>
|
1087 |
<i class="icon-custom icon-property"></i> Properties</h3>
|
1088 |
<a name="%24page_template_array" id="$page_template_array"> </a><div class="element clickable property public $page_template_array" data-toggle="collapse" data-target=".$page_template_array .collapse">
|
1116 |
<pre>$mla_tablist : array</pre>
|
1117 |
<div class="labels"></div>
|
1118 |
<div class="row collapse"><div class="detail-description">
|
1119 |
+
<p class="long_description"><p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
|
|
|
|
|
|
|
1120 |
|
1121 |
<p>title => tab label / heading text
|
1122 |
render => rendering function for tab messages and content. Usage:
|
1123 |
+
$tab_content = <a href="">'render'</a>;</p>
|
1124 |
+
|
1125 |
+
<p>The array must be populated at runtime in MLASettings::mla_localize_tablist(),
|
1126 |
+
because Localization calls cannot be placed in the "public static" array definition itself.</p></p>
|
1127 |
<table class="table table-bordered"><tr>
|
1128 |
<th>since</th>
|
1129 |
<td>0.80</td>
|
1193 |
<div class="row"><footer class="span12">
|
1194 |
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>
|
1195 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1196 |
+
generated on 2014-05-18T20:54:12-07:00.<br></footer></div>
|
1197 |
</div>
|
1198 |
</body>
|
1199 |
</html>
|
phpDocs/classes/MLAShortcodes.html
CHANGED
@@ -72,6 +72,7 @@
|
|
72 |
<li class="method private "><a href="#_paginate_links" title="_paginate_links :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_paginate_links()</pre></a></li>
|
73 |
<li class="method private "><a href="#_process_pagination_output_types" title="_process_pagination_output_types :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_process_pagination_output_types()</pre></a></li>
|
74 |
<li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
|
|
|
75 |
<li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
|
76 |
<li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
|
77 |
<li class="nav-header">
|
@@ -449,6 +450,20 @@ options to customize the hyperlink behind each term.</p></p>
|
|
449 |
<code>string</code>parameter with brackets, braces, substitution parameters and templates processed</div>
|
450 |
</div></div>
|
451 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
452 |
<a name="_sanitize_query_specification" id="_sanitize_query_specification"></a><div class="element clickable method private _sanitize_query_specification" data-toggle="collapse" data-target="._sanitize_query_specification .collapse">
|
453 |
<h2>Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</h2>
|
454 |
<pre>_sanitize_query_specification(string $specification) : string</pre>
|
@@ -575,7 +590,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-
|
579 |
</div>
|
580 |
</body>
|
581 |
</html>
|
72 |
<li class="method private "><a href="#_paginate_links" title="_paginate_links :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_paginate_links()</pre></a></li>
|
73 |
<li class="method private "><a href="#_process_pagination_output_types" title="_process_pagination_output_types :: Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'"><span class="description">Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links'</span><pre>_process_pagination_output_types()</pre></a></li>
|
74 |
<li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
|
75 |
+
<li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
|
76 |
<li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
|
77 |
<li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
|
78 |
<li class="nav-header">
|
450 |
<code>string</code>parameter with brackets, braces, substitution parameters and templates processed</div>
|
451 |
</div></div>
|
452 |
</div>
|
453 |
+
<a name="_registered_dimensions" id="_registered_dimensions"></a><div class="element clickable method private _registered_dimensions" data-toggle="collapse" data-target="._registered_dimensions .collapse">
|
454 |
+
<h2>Computes image dimensions for scalable graphics, e.g., SVG</h2>
|
455 |
+
<pre>_registered_dimensions() : array</pre>
|
456 |
+
<div class="labels"></div>
|
457 |
+
<div class="row collapse"><div class="detail-description">
|
458 |
+
<p class="long_description"></p>
|
459 |
+
<table class="table table-bordered"><tr>
|
460 |
+
<th>since</th>
|
461 |
+
<td>1.82</td>
|
462 |
+
</tr></table>
|
463 |
+
<h3>Returns</h3>
|
464 |
+
<div class="subelement response"><code>array</code></div>
|
465 |
+
</div></div>
|
466 |
+
</div>
|
467 |
<a name="_sanitize_query_specification" id="_sanitize_query_specification"></a><div class="element clickable method private _sanitize_query_specification" data-toggle="collapse" data-target="._sanitize_query_specification .collapse">
|
468 |
<h2>Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</h2>
|
469 |
<pre>_sanitize_query_specification(string $specification) : string</pre>
|
590 |
<div class="row"><footer class="span12">
|
591 |
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>
|
592 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
593 |
+
generated on 2014-05-18T20:54:12-07:00.<br></footer></div>
|
594 |
</div>
|
595 |
</body>
|
596 |
</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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
167 |
</div>
|
168 |
</body>
|
169 |
</html>
|
phpDocs/classes/MLA_List_Table.html
CHANGED
@@ -103,6 +103,7 @@ and the value is db column to sort by.</span><pre>get_sortable_columns()</pre></
|
|
103 |
<li class="method public "><a href="#mla_manage_columns_filter" title="mla_manage_columns_filter :: Handler for filter 'manage_media_page_mla-menu_columns'"><span class="description">Handler for filter 'manage_media_page_mla-menu_columns'</span><pre>mla_manage_columns_filter()</pre></a></li>
|
104 |
<li class="method public "><a href="#mla_manage_hidden_columns_filter" title="mla_manage_hidden_columns_filter :: Handler for filter 'get_user_option_managemedia_page_mla-menucolumnshidden'"><span class="description">Handler for filter 'get_user_option_managemedia_page_mla-menucolumnshidden'</span><pre>mla_manage_hidden_columns_filter()</pre></a></li>
|
105 |
<li class="method public "><a href="#mla_submenu_arguments" title="mla_submenu_arguments :: Process $_REQUEST, building $submenu_arguments"><span class="description">Process $_REQUEST, building $submenu_arguments</span><pre>mla_submenu_arguments()</pre></a></li>
|
|
|
106 |
<li class="method public "><a href="#pagination" title="pagination :: Display the pagination, adding view, search and filter arguments"><span class="description">Display the pagination, adding view, search and filter arguments</span><pre>pagination()</pre></a></li>
|
107 |
<li class="method public "><a href="#prepare_items" title="prepare_items :: Prepares the list of items for displaying"><span class="description">Prepares the list of items for displaying</span><pre>prepare_items()</pre></a></li>
|
108 |
<li class="method public "><a href="#print_column_headers" title="print_column_headers :: Print column headers, adding view, search and filter arguments"><span class="description">Print column headers, adding view, search and filter arguments</span><pre>print_column_headers()</pre></a></li>
|
@@ -877,6 +878,27 @@ is not created in time for the call from screen.php.</p></p>
|
|
877 |
<code>array</code>non-empty view, search, filter and sort arguments</div>
|
878 |
</div></div>
|
879 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
880 |
<a name="pagination" id="pagination"></a><div class="element clickable method public pagination" data-toggle="collapse" data-target=".pagination .collapse">
|
881 |
<h2>Display the pagination, adding view, search and filter arguments</h2>
|
882 |
<pre>pagination(string $which) : void</pre>
|
@@ -1113,7 +1135,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-
|
1117 |
</div>
|
1118 |
</body>
|
1119 |
</html>
|
103 |
<li class="method public "><a href="#mla_manage_columns_filter" title="mla_manage_columns_filter :: Handler for filter 'manage_media_page_mla-menu_columns'"><span class="description">Handler for filter 'manage_media_page_mla-menu_columns'</span><pre>mla_manage_columns_filter()</pre></a></li>
|
104 |
<li class="method public "><a href="#mla_manage_hidden_columns_filter" title="mla_manage_hidden_columns_filter :: Handler for filter 'get_user_option_managemedia_page_mla-menucolumnshidden'"><span class="description">Handler for filter 'get_user_option_managemedia_page_mla-menucolumnshidden'</span><pre>mla_manage_hidden_columns_filter()</pre></a></li>
|
105 |
<li class="method public "><a href="#mla_submenu_arguments" title="mla_submenu_arguments :: Process $_REQUEST, building $submenu_arguments"><span class="description">Process $_REQUEST, building $submenu_arguments</span><pre>mla_submenu_arguments()</pre></a></li>
|
106 |
+
<li class="method public "><a href="#mla_views_media_page_mla_menu_filter" title='mla_views_media_page_mla_menu_filter :: Handler for filter "views_{$this->screen->id}" in /admin/includes/class-wp-list-table.php'><span class="description">Handler for filter "views_{$this->screen->id}" in /admin/includes/class-wp-list-table.php</span><pre>mla_views_media_page_mla_menu_filter()</pre></a></li>
|
107 |
<li class="method public "><a href="#pagination" title="pagination :: Display the pagination, adding view, search and filter arguments"><span class="description">Display the pagination, adding view, search and filter arguments</span><pre>pagination()</pre></a></li>
|
108 |
<li class="method public "><a href="#prepare_items" title="prepare_items :: Prepares the list of items for displaying"><span class="description">Prepares the list of items for displaying</span><pre>prepare_items()</pre></a></li>
|
109 |
<li class="method public "><a href="#print_column_headers" title="print_column_headers :: Print column headers, adding view, search and filter arguments"><span class="description">Print column headers, adding view, search and filter arguments</span><pre>print_column_headers()</pre></a></li>
|
878 |
<code>array</code>non-empty view, search, filter and sort arguments</div>
|
879 |
</div></div>
|
880 |
</div>
|
881 |
+
<a name="mla_views_media_page_mla_menu_filter" id="mla_views_media_page_mla_menu_filter"></a><div class="element clickable method public mla_views_media_page_mla_menu_filter" data-toggle="collapse" data-target=".mla_views_media_page_mla_menu_filter .collapse">
|
882 |
+
<h2>Handler for filter "views_{$this->screen->id}" in /admin/includes/class-wp-list-table.php</h2>
|
883 |
+
<pre>mla_views_media_page_mla_menu_filter(array $views) : array</pre>
|
884 |
+
<div class="labels"></div>
|
885 |
+
<div class="row collapse"><div class="detail-description">
|
886 |
+
<p class="long_description"><p>Filter the list of available list table views. Set when the
|
887 |
+
file is loaded because the list_table object isn't created in time
|
888 |
+
to affect the "screen options" setup.</p></p>
|
889 |
+
<table class="table table-bordered"><tr>
|
890 |
+
<th>since</th>
|
891 |
+
<td>1.82</td>
|
892 |
+
</tr></table>
|
893 |
+
<h3>Parameters</h3>
|
894 |
+
<div class="subelement argument">
|
895 |
+
<h4>$views</h4>
|
896 |
+
<code>array</code><p>A list of available list table views</p></div>
|
897 |
+
<h3>Returns</h3>
|
898 |
+
<div class="subelement response">
|
899 |
+
<code>array</code>Updated list of available list table views</div>
|
900 |
+
</div></div>
|
901 |
+
</div>
|
902 |
<a name="pagination" id="pagination"></a><div class="element clickable method public pagination" data-toggle="collapse" data-target=".pagination .collapse">
|
903 |
<h2>Display the pagination, adding view, search and filter arguments</h2>
|
904 |
<pre>pagination(string $which) : void</pre>
|
1135 |
<div class="row"><footer class="span12">
|
1136 |
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>
|
1137 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1138 |
+
generated on 2014-05-18T20:54:12-07:00.<br></footer></div>
|
1139 |
</div>
|
1140 |
</body>
|
1141 |
</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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
71 |
</div>
|
72 |
</body>
|
73 |
</html>
|
phpDocs/errors.html
CHANGED
@@ -93,12 +93,14 @@
|
|
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-
|
102 |
</div>
|
103 |
</body>
|
104 |
</html>
|
93 |
<div class="package-contents"></div>
|
94 |
<div class="package-contents"></div>
|
95 |
<div class="package-contents"></div>
|
96 |
+
<div class="package-contents"></div>
|
97 |
+
<div class="package-contents"></div>
|
98 |
</div>
|
99 |
</div>
|
100 |
<div class="row"><footer class="span12">
|
101 |
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>
|
102 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
103 |
+
generated on 2014-05-18T20:54:12-07:00.<br></footer></div>
|
104 |
</div>
|
105 |
</body>
|
106 |
</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-
|
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-05-18T20:54:12-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-
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
90 |
</div>
|
91 |
</body>
|
92 |
</html>
|
phpDocs/markers.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<td>todo</td>
|
82 |
-
<td>
|
83 |
<td>encode the rest</td>
|
84 |
</tr>
|
85 |
</table></div>
|
@@ -89,7 +89,7 @@
|
|
89 |
<div class="row"><footer class="span12">
|
90 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
91 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
92 |
-
generated on 2014-
|
93 |
</div>
|
94 |
</body>
|
95 |
</html>
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<td>todo</td>
|
82 |
+
<td>3247</td>
|
83 |
<td>encode the rest</td>
|
84 |
</tr>
|
85 |
</table></div>
|
89 |
<div class="row"><footer class="span12">
|
90 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
91 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
92 |
+
generated on 2014-05-18T20:54:12-07:00.<br></footer></div>
|
93 |
</div>
|
94 |
</body>
|
95 |
</html>
|
phpDocs/namespaces/global.html
CHANGED
@@ -348,7 +348,7 @@ searchable database of exension/type associations for the "Uploads" admin settin
|
|
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-
|
352 |
</div>
|
353 |
</body>
|
354 |
</html>
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
352 |
</div>
|
353 |
</body>
|
354 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html
CHANGED
@@ -189,7 +189,7 @@ display an "accordian-style" list.</p></p>
|
|
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-
|
193 |
</div>
|
194 |
</body>
|
195 |
</html>
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
193 |
</div>
|
194 |
</body>
|
195 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.Child.html
CHANGED
@@ -188,7 +188,7 @@ display an "accordian-style" list.</p></p>
|
|
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-
|
192 |
</div>
|
193 |
</body>
|
194 |
</html>
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
192 |
</div>
|
193 |
</body>
|
194 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.html
CHANGED
@@ -199,7 +199,7 @@ display an "accordian-style" list.</p></p>
|
|
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-
|
203 |
</div>
|
204 |
</body>
|
205 |
</html>
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
203 |
</div>
|
204 |
</body>
|
205 |
</html>
|
phpDocs/packages/Media Library Assistant.html
CHANGED
@@ -420,7 +420,7 @@ display an "accordian-style" list.</p></p>
|
|
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-
|
424 |
</div>
|
425 |
</body>
|
426 |
</html>
|
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-05-18T20:54:12-07:00.<br></footer></div>
|
424 |
</div>
|
425 |
</body>
|
426 |
</html>
|
phpDocs/structure.xml
CHANGED
@@ -13,6 +13,16 @@ a query parameter to the URL, e.g., "?taxonomy=attachment_category".</p>
|
|
13 |
<tag line="2" name="since" description="MLA 1.80"/>
|
14 |
</docblock>
|
15 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
<file path="examples\twentytwelve-mla\content-media.php" hash="ec1896bb3521f787fe6d6a2c58f544e5" package="Media Library Assistant\MLA\Child\Theme">
|
17 |
<docblock line="2">
|
18 |
<description><![CDATA[The template for displaying posts in the Image post format,
|
@@ -37,7 +47,7 @@ to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.</p>
|
|
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="
|
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
|
@@ -247,9 +257,9 @@ different template.</p>]]></long-description>
|
|
247 |
<tag line="2" name="since" description="MLA 1.80"/>
|
248 |
</docblock>
|
249 |
</file>
|
250 |
-
<file path="examples\twentytwelve-mla\page-
|
251 |
<docblock line="2">
|
252 |
-
<description><![CDATA[The template for displaying the "
|
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
|
@@ -260,6 +270,28 @@ different template.</p>]]></long-description>
|
|
260 |
<tag line="2" name="since" description="MLA 1.80"/>
|
261 |
</docblock>
|
262 |
</file>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
<file path="examples\twentytwelve-mla\page-tag-gallery.php" hash="8744ff3f2f0a844dfa3326a61d4bf5d3" package="Media Library Assistant\MLA\Child\Theme">
|
264 |
<docblock line="2">
|
265 |
<description><![CDATA[The template for displaying the "Tag Gallery" page, which
|
@@ -284,7 +316,7 @@ different template.</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="
|
288 |
<docblock line="2">
|
289 |
<description><![CDATA[Database and template file access for MLA needs]]></description>
|
290 |
<long-description><![CDATA[]]></long-description>
|
@@ -325,38 +357,38 @@ ALT Text and custom field columns.</p>]]></long-description>
|
|
325 |
</tag>
|
326 |
</docblock>
|
327 |
</property>
|
328 |
-
<property final="false" static="true" visibility="private" line="
|
329 |
<name>$mla_list_table_items</name>
|
330 |
<default><![CDATA[NULL]]></default>
|
331 |
-
<docblock line="
|
332 |
<description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
|
333 |
<long-description><![CDATA[]]></long-description>
|
334 |
-
<tag line="
|
335 |
-
<tag line="
|
336 |
<type by_reference="false">array</type>
|
337 |
</tag>
|
338 |
</docblock>
|
339 |
</property>
|
340 |
-
<property final="false" static="true" visibility="private" line="
|
341 |
<name>$query_parameters</name>
|
342 |
<default><![CDATA[array()]]></default>
|
343 |
-
<docblock line="
|
344 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
345 |
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
346 |
The parameters are set up in the _prepare_list_table_query function, and
|
347 |
any further logic required to translate those values is contained in the filters.</p>
|
348 |
|
349 |
<p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns, detached, orderby, order, mla-metavalue, debug, s, mla_search_connector, mla_search_fields, sentence, exact</p>]]></long-description>
|
350 |
-
<tag line="
|
351 |
-
<tag line="
|
352 |
<type by_reference="false">array</type>
|
353 |
</tag>
|
354 |
</docblock>
|
355 |
</property>
|
356 |
-
<property final="false" static="true" visibility="private" line="
|
357 |
<name>$galleries</name>
|
358 |
<default><![CDATA[null]]></default>
|
359 |
-
<docblock line="
|
360 |
<description><![CDATA[Objects containing [gallery] shortcodes]]></description>
|
361 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
|
362 |
and array(s) of which attachments each [gallery] contains. The arrays are built once
|
@@ -369,126 +401,126 @@ each page load and cached for subsequent calls.</p>
|
|
369 |
['galleries'] array of [gallery] entries numbered from one (1), containing:
|
370 |
galleries[X]['query'] contains a string with the arguments of the [gallery],
|
371 |
galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
|
372 |
-
<tag line="
|
373 |
-
<tag line="
|
374 |
<type by_reference="false">array</type>
|
375 |
</tag>
|
376 |
</docblock>
|
377 |
</property>
|
378 |
-
<property final="false" static="true" visibility="private" line="
|
379 |
<name>$mla_galleries</name>
|
380 |
<default><![CDATA[null]]></default>
|
381 |
-
<docblock line="
|
382 |
<description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
|
383 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
|
384 |
and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
|
385 |
each page load and cached for subsequent calls.</p>]]></long-description>
|
386 |
-
<tag line="
|
387 |
-
<tag line="
|
388 |
<type by_reference="false">array</type>
|
389 |
</tag>
|
390 |
</docblock>
|
391 |
</property>
|
392 |
-
<property final="false" static="true" visibility="private" line="
|
393 |
<name>$pdf_indirect_objects</name>
|
394 |
<default><![CDATA[NULL]]></default>
|
395 |
-
<docblock line="
|
396 |
<description><![CDATA[Array of PDF indirect objects]]></description>
|
397 |
<long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
|
398 |
The array key is ( object ID * 1000 ) + object generation.
|
399 |
The array value is array( number, generation, start, optional /length )</p>]]></long-description>
|
400 |
-
<tag line="
|
401 |
-
<tag line="
|
402 |
<type by_reference="false">array</type>
|
403 |
</tag>
|
404 |
</docblock>
|
405 |
</property>
|
406 |
-
<property final="false" static="true" visibility="private" line="
|
407 |
<name>$utf8_chars</name>
|
408 |
<default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
|
409 |
-
<docblock line="
|
410 |
<description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
|
411 |
<long-description><![CDATA[]]></long-description>
|
412 |
-
<tag line="
|
413 |
-
<tag line="
|
414 |
<type by_reference="false">array</type>
|
415 |
</tag>
|
416 |
</docblock>
|
417 |
</property>
|
418 |
-
<property final="false" static="true" visibility="private" line="
|
419 |
<name>$mla_iptc_records</name>
|
420 |
<default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
|
421 |
-
<docblock line="
|
422 |
<description><![CDATA[IPTC Dataset identifiers and names]]></description>
|
423 |
<long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
|
424 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
425 |
-
<tag line="
|
426 |
-
<tag line="
|
427 |
<type by_reference="false">array</type>
|
428 |
</tag>
|
429 |
</docblock>
|
430 |
</property>
|
431 |
-
<property final="false" static="true" visibility="public" line="
|
432 |
<name>$mla_iptc_keys</name>
|
433 |
<default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
|
434 |
-
<docblock line="
|
435 |
<description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
|
436 |
<long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
|
437 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
438 |
-
<tag line="
|
439 |
-
<tag line="
|
440 |
<type by_reference="false">array</type>
|
441 |
</tag>
|
442 |
</docblock>
|
443 |
</property>
|
444 |
-
<property final="false" static="true" visibility="private" line="
|
445 |
<name>$mla_iptc_descriptions</name>
|
446 |
<default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
|
447 |
-
<docblock line="
|
448 |
<description><![CDATA[IPTC Dataset descriptions]]></description>
|
449 |
<long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
|
450 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
451 |
-
<tag line="
|
452 |
-
<tag line="
|
453 |
<type by_reference="false">array</type>
|
454 |
</tag>
|
455 |
</docblock>
|
456 |
</property>
|
457 |
-
<property final="false" static="true" visibility="private" line="
|
458 |
<name>$mla_iptc_formats</name>
|
459 |
<default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 0 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 0 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
|
460 |
-
<docblock line="
|
461 |
<description><![CDATA[IPTC file format identifiers and descriptions]]></description>
|
462 |
<long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
|
463 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
|
464 |
-
<tag line="
|
465 |
-
<tag line="
|
466 |
<type by_reference="false">array</type>
|
467 |
</tag>
|
468 |
</docblock>
|
469 |
</property>
|
470 |
-
<property final="false" static="true" visibility="private" line="
|
471 |
<name>$mla_iptc_image_types</name>
|
472 |
<default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
|
473 |
-
<docblock line="
|
474 |
<description><![CDATA[IPTC image type identifiers and descriptions]]></description>
|
475 |
<long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
|
476 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
|
477 |
-
<tag line="
|
478 |
-
<tag line="
|
479 |
<type by_reference="false">array</type>
|
480 |
</tag>
|
481 |
</docblock>
|
482 |
</property>
|
483 |
-
<property final="false" static="true" visibility="private" line="
|
484 |
<name>$mla_IPTC_EXIF_errors</name>
|
485 |
<default><![CDATA[array()]]></default>
|
486 |
-
<docblock line="
|
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="
|
491 |
-
<tag line="
|
492 |
<type by_reference="false">array</type>
|
493 |
</tag>
|
494 |
</docblock>
|
@@ -869,1426 +901,1426 @@ All but request and query require an attachment ID.</p>]]></long-description>
|
|
869 |
<type/>
|
870 |
</argument>
|
871 |
</method>
|
872 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
873 |
<name>mla_count_list_table_items</name>
|
874 |
<full_name>mla_count_list_table_items</full_name>
|
875 |
-
<docblock line="
|
876 |
<description><![CDATA[Get the total number of attachment posts]]></description>
|
877 |
<long-description><![CDATA[]]></long-description>
|
878 |
-
<tag line="
|
879 |
-
<tag line="
|
880 |
<type by_reference="false">array</type>
|
881 |
</tag>
|
882 |
-
<tag line="
|
883 |
<type by_reference="false">int</type>
|
884 |
</tag>
|
885 |
-
<tag line="
|
886 |
<type by_reference="false">int</type>
|
887 |
</tag>
|
888 |
-
<tag line="
|
889 |
<type by_reference="false">integer</type>
|
890 |
</tag>
|
891 |
</docblock>
|
892 |
-
<argument line="
|
893 |
<name>$request</name>
|
894 |
<default><![CDATA[]]></default>
|
895 |
<type/>
|
896 |
</argument>
|
897 |
-
<argument line="
|
898 |
<name>$offset</name>
|
899 |
<default><![CDATA[NULL]]></default>
|
900 |
<type/>
|
901 |
</argument>
|
902 |
-
<argument line="
|
903 |
<name>$count</name>
|
904 |
<default><![CDATA[NULL]]></default>
|
905 |
<type/>
|
906 |
</argument>
|
907 |
</method>
|
908 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
909 |
<name>mla_query_list_table_items</name>
|
910 |
<full_name>mla_query_list_table_items</full_name>
|
911 |
-
<docblock line="
|
912 |
<description><![CDATA[Retrieve attachment objects for list table display]]></description>
|
913 |
<long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
|
914 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
915 |
-
<tag line="
|
916 |
-
<tag line="
|
917 |
<type by_reference="false">array</type>
|
918 |
</tag>
|
919 |
-
<tag line="
|
920 |
<type by_reference="false">int</type>
|
921 |
</tag>
|
922 |
-
<tag line="
|
923 |
<type by_reference="false">int</type>
|
924 |
</tag>
|
925 |
-
<tag line="
|
926 |
<type by_reference="false">array</type>
|
927 |
</tag>
|
928 |
</docblock>
|
929 |
-
<argument line="
|
930 |
<name>$request</name>
|
931 |
<default><![CDATA[]]></default>
|
932 |
<type/>
|
933 |
</argument>
|
934 |
-
<argument line="
|
935 |
<name>$offset</name>
|
936 |
<default><![CDATA[]]></default>
|
937 |
<type/>
|
938 |
</argument>
|
939 |
-
<argument line="
|
940 |
<name>$count</name>
|
941 |
<default><![CDATA[]]></default>
|
942 |
<type/>
|
943 |
</argument>
|
944 |
</method>
|
945 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
946 |
<name>mla_query_media_modal_items</name>
|
947 |
<full_name>mla_query_media_modal_items</full_name>
|
948 |
-
<docblock line="
|
949 |
<description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
|
950 |
<long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
|
951 |
-
<tag line="
|
952 |
-
<tag line="
|
953 |
<type by_reference="false">array</type>
|
954 |
</tag>
|
955 |
-
<tag line="
|
956 |
<type by_reference="false">int</type>
|
957 |
</tag>
|
958 |
-
<tag line="
|
959 |
<type by_reference="false">int</type>
|
960 |
</tag>
|
961 |
-
<tag line="
|
962 |
<type by_reference="false">array</type>
|
963 |
</tag>
|
964 |
</docblock>
|
965 |
-
<argument line="
|
966 |
<name>$request</name>
|
967 |
<default><![CDATA[]]></default>
|
968 |
<type/>
|
969 |
</argument>
|
970 |
-
<argument line="
|
971 |
<name>$offset</name>
|
972 |
<default><![CDATA[]]></default>
|
973 |
<type/>
|
974 |
</argument>
|
975 |
-
<argument line="
|
976 |
<name>$count</name>
|
977 |
<default><![CDATA[]]></default>
|
978 |
<type/>
|
979 |
</argument>
|
980 |
</method>
|
981 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
982 |
<name>_prepare_list_table_query</name>
|
983 |
<full_name>_prepare_list_table_query</full_name>
|
984 |
-
<docblock line="
|
985 |
<description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
|
986 |
<long-description><![CDATA[<p>Prepare the arguments for WP_Query.
|
987 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
988 |
-
<tag line="
|
989 |
-
<tag line="
|
990 |
<type by_reference="false">array</type>
|
991 |
</tag>
|
992 |
-
<tag line="
|
993 |
<type by_reference="false">int</type>
|
994 |
</tag>
|
995 |
-
<tag line="
|
996 |
<type by_reference="false">int</type>
|
997 |
</tag>
|
998 |
-
<tag line="
|
999 |
<type by_reference="false">array</type>
|
1000 |
</tag>
|
1001 |
</docblock>
|
1002 |
-
<argument line="
|
1003 |
<name>$raw_request</name>
|
1004 |
<default><![CDATA[]]></default>
|
1005 |
<type/>
|
1006 |
</argument>
|
1007 |
-
<argument line="
|
1008 |
<name>$offset</name>
|
1009 |
<default><![CDATA[0]]></default>
|
1010 |
<type/>
|
1011 |
</argument>
|
1012 |
-
<argument line="
|
1013 |
<name>$count</name>
|
1014 |
<default><![CDATA[0]]></default>
|
1015 |
<type/>
|
1016 |
</argument>
|
1017 |
</method>
|
1018 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1019 |
<name>_execute_list_table_query</name>
|
1020 |
<full_name>_execute_list_table_query</full_name>
|
1021 |
-
<docblock line="
|
1022 |
<description><![CDATA[Add filters, run query, remove filters]]></description>
|
1023 |
<long-description><![CDATA[]]></long-description>
|
1024 |
-
<tag line="
|
1025 |
-
<tag line="
|
1026 |
<type by_reference="false">array</type>
|
1027 |
</tag>
|
1028 |
-
<tag line="
|
1029 |
<type by_reference="false">object</type>
|
1030 |
</tag>
|
1031 |
</docblock>
|
1032 |
-
<argument line="
|
1033 |
<name>$request</name>
|
1034 |
<default><![CDATA[]]></default>
|
1035 |
<type/>
|
1036 |
</argument>
|
1037 |
</method>
|
1038 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1039 |
<name>mla_search_terms_tidy</name>
|
1040 |
<full_name>mla_search_terms_tidy</full_name>
|
1041 |
-
<docblock line="
|
1042 |
<description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
|
1043 |
<long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
|
1044 |
-
<tag line="
|
1045 |
-
<tag line="
|
1046 |
<type by_reference="false">string</type>
|
1047 |
</tag>
|
1048 |
-
<tag line="
|
1049 |
<type by_reference="false">string</type>
|
1050 |
</tag>
|
1051 |
</docblock>
|
1052 |
-
<argument line="
|
1053 |
<name>$term</name>
|
1054 |
<default><![CDATA[]]></default>
|
1055 |
<type/>
|
1056 |
</argument>
|
1057 |
</method>
|
1058 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1059 |
<name>mla_query_posts_search_filter</name>
|
1060 |
<full_name>mla_query_posts_search_filter</full_name>
|
1061 |
-
<docblock line="
|
1062 |
<description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
|
1063 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1064 |
-
<tag line="
|
1065 |
-
<tag line="
|
1066 |
<type by_reference="false">string</type>
|
1067 |
</tag>
|
1068 |
-
<tag line="
|
1069 |
<type by_reference="false">object</type>
|
1070 |
</tag>
|
1071 |
-
<tag line="
|
1072 |
<type by_reference="false">string</type>
|
1073 |
</tag>
|
1074 |
</docblock>
|
1075 |
-
<argument line="
|
1076 |
<name>$search_string</name>
|
1077 |
<default><![CDATA[]]></default>
|
1078 |
<type/>
|
1079 |
</argument>
|
1080 |
-
<argument line="
|
1081 |
<name>$query_object</name>
|
1082 |
<default><![CDATA[]]></default>
|
1083 |
<type/>
|
1084 |
</argument>
|
1085 |
</method>
|
1086 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1087 |
<name>mla_query_posts_join_filter</name>
|
1088 |
<full_name>mla_query_posts_join_filter</full_name>
|
1089 |
-
<docblock line="
|
1090 |
<description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
|
1091 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1092 |
-
<tag line="
|
1093 |
-
<tag line="
|
1094 |
<type by_reference="false">string</type>
|
1095 |
</tag>
|
1096 |
-
<tag line="
|
1097 |
<type by_reference="false">string</type>
|
1098 |
</tag>
|
1099 |
</docblock>
|
1100 |
-
<argument line="
|
1101 |
<name>$join_clause</name>
|
1102 |
<default><![CDATA[]]></default>
|
1103 |
<type/>
|
1104 |
</argument>
|
1105 |
</method>
|
1106 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1107 |
<name>mla_query_posts_where_filter</name>
|
1108 |
<full_name>mla_query_posts_where_filter</full_name>
|
1109 |
-
<docblock line="
|
1110 |
<description><![CDATA[Adds a WHERE clause for detached items]]></description>
|
1111 |
<long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
|
1112 |
Defined as public because it's a filter.</p>]]></long-description>
|
1113 |
-
<tag line="
|
1114 |
-
<tag line="
|
1115 |
<type by_reference="false">string</type>
|
1116 |
</tag>
|
1117 |
-
<tag line="
|
1118 |
<type by_reference="false">string</type>
|
1119 |
</tag>
|
1120 |
</docblock>
|
1121 |
-
<argument line="
|
1122 |
<name>$where_clause</name>
|
1123 |
<default><![CDATA[]]></default>
|
1124 |
<type/>
|
1125 |
</argument>
|
1126 |
</method>
|
1127 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1128 |
<name>mla_query_posts_orderby_filter</name>
|
1129 |
<full_name>mla_query_posts_orderby_filter</full_name>
|
1130 |
-
<docblock line="
|
1131 |
<description><![CDATA[Adds a ORDERBY clause, if required]]></description>
|
1132 |
<long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
|
1133 |
Defined as public because it's a filter.</p>]]></long-description>
|
1134 |
-
<tag line="
|
1135 |
-
<tag line="
|
1136 |
<type by_reference="false">string</type>
|
1137 |
</tag>
|
1138 |
-
<tag line="
|
1139 |
<type by_reference="false">string</type>
|
1140 |
</tag>
|
1141 |
</docblock>
|
1142 |
-
<argument line="
|
1143 |
<name>$orderby_clause</name>
|
1144 |
<default><![CDATA[]]></default>
|
1145 |
<type/>
|
1146 |
</argument>
|
1147 |
</method>
|
1148 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1149 |
<name>mla_query_relevanssi_admin_search_ok_filter</name>
|
1150 |
<full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
|
1151 |
-
<docblock line="
|
1152 |
<description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
|
1153 |
Defined as public because it's a filter.]]></description>
|
1154 |
<long-description><![CDATA[]]></long-description>
|
1155 |
-
<tag line="
|
1156 |
-
<tag line="
|
1157 |
<type by_reference="false">boolean</type>
|
1158 |
</tag>
|
1159 |
-
<tag line="
|
1160 |
<type by_reference="false">boolean</type>
|
1161 |
</tag>
|
1162 |
</docblock>
|
1163 |
-
<argument line="
|
1164 |
<name>$admin_search_ok</name>
|
1165 |
<default><![CDATA[]]></default>
|
1166 |
<type/>
|
1167 |
</argument>
|
1168 |
</method>
|
1169 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1170 |
<name>mla_query_posts_clauses_filter</name>
|
1171 |
<full_name>mla_query_posts_clauses_filter</full_name>
|
1172 |
-
<docblock line="
|
1173 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
1174 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1175 |
Defined as public because it's a filter.</p>]]></long-description>
|
1176 |
-
<tag line="
|
1177 |
-
<tag line="
|
1178 |
<type by_reference="false">array</type>
|
1179 |
</tag>
|
1180 |
-
<tag line="
|
1181 |
<type by_reference="false">array</type>
|
1182 |
</tag>
|
1183 |
</docblock>
|
1184 |
-
<argument line="
|
1185 |
<name>$pieces</name>
|
1186 |
<default><![CDATA[]]></default>
|
1187 |
<type/>
|
1188 |
</argument>
|
1189 |
</method>
|
1190 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1191 |
<name>mla_query_posts_clauses_request_filter</name>
|
1192 |
<full_name>mla_query_posts_clauses_request_filter</full_name>
|
1193 |
-
<docblock line="
|
1194 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
1195 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1196 |
Defined as public because it's a filter.</p>]]></long-description>
|
1197 |
-
<tag line="
|
1198 |
-
<tag line="
|
1199 |
<type by_reference="false">array</type>
|
1200 |
</tag>
|
1201 |
-
<tag line="
|
1202 |
<type by_reference="false">array</type>
|
1203 |
</tag>
|
1204 |
</docblock>
|
1205 |
-
<argument line="
|
1206 |
<name>$pieces</name>
|
1207 |
<default><![CDATA[]]></default>
|
1208 |
<type/>
|
1209 |
</argument>
|
1210 |
</method>
|
1211 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1212 |
<name>mla_get_attachment_by_id</name>
|
1213 |
<full_name>mla_get_attachment_by_id</full_name>
|
1214 |
-
<docblock line="
|
1215 |
<description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
|
1216 |
<long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
|
1217 |
the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
|
1218 |
-
<tag line="
|
1219 |
-
<tag line="
|
1220 |
-
<tag line="
|
1221 |
<type by_reference="false">int</type>
|
1222 |
</tag>
|
1223 |
-
<tag line="
|
1224 |
<type by_reference="false">NULL</type>
|
1225 |
<type by_reference="false">array</type>
|
1226 |
</tag>
|
1227 |
</docblock>
|
1228 |
-
<argument line="
|
1229 |
<name>$post_id</name>
|
1230 |
<default><![CDATA[]]></default>
|
1231 |
<type/>
|
1232 |
</argument>
|
1233 |
</method>
|
1234 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1235 |
<name>mla_fetch_attachment_parent_data</name>
|
1236 |
<full_name>mla_fetch_attachment_parent_data</full_name>
|
1237 |
-
<docblock line="
|
1238 |
<description><![CDATA[Returns information about an attachment's parent, if found]]></description>
|
1239 |
<long-description><![CDATA[]]></long-description>
|
1240 |
-
<tag line="
|
1241 |
-
<tag line="
|
1242 |
<type by_reference="false">int</type>
|
1243 |
</tag>
|
1244 |
-
<tag line="
|
1245 |
<type by_reference="false">array</type>
|
1246 |
</tag>
|
1247 |
</docblock>
|
1248 |
-
<argument line="
|
1249 |
<name>$parent_id</name>
|
1250 |
<default><![CDATA[]]></default>
|
1251 |
<type/>
|
1252 |
</argument>
|
1253 |
</method>
|
1254 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1255 |
<name>_set_array_element</name>
|
1256 |
<full_name>_set_array_element</full_name>
|
1257 |
-
<docblock line="
|
1258 |
<description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
|
1259 |
<long-description><![CDATA[]]></long-description>
|
1260 |
-
<tag line="
|
1261 |
-
<tag line="
|
1262 |
<type by_reference="false">string</type>
|
1263 |
</tag>
|
1264 |
-
<tag line="
|
1265 |
<type by_reference="false">mixed</type>
|
1266 |
</tag>
|
1267 |
-
<tag line="
|
1268 |
<type by_reference="false">array</type>
|
1269 |
</tag>
|
1270 |
-
<tag line="
|
1271 |
<type by_reference="false">boolean</type>
|
1272 |
</tag>
|
1273 |
</docblock>
|
1274 |
-
<argument line="
|
1275 |
<name>$needle</name>
|
1276 |
<default><![CDATA[]]></default>
|
1277 |
<type/>
|
1278 |
</argument>
|
1279 |
-
<argument line="
|
1280 |
<name>$value</name>
|
1281 |
<default><![CDATA[]]></default>
|
1282 |
<type/>
|
1283 |
</argument>
|
1284 |
-
<argument line="
|
1285 |
<name>$haystack</name>
|
1286 |
<default><![CDATA[]]></default>
|
1287 |
<type/>
|
1288 |
</argument>
|
1289 |
</method>
|
1290 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1291 |
<name>_unset_array_element</name>
|
1292 |
<full_name>_unset_array_element</full_name>
|
1293 |
-
<docblock line="
|
1294 |
<description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
|
1295 |
<long-description><![CDATA[]]></long-description>
|
1296 |
-
<tag line="
|
1297 |
-
<tag line="
|
1298 |
<type by_reference="false">string</type>
|
1299 |
</tag>
|
1300 |
-
<tag line="
|
1301 |
<type by_reference="false">array</type>
|
1302 |
</tag>
|
1303 |
-
<tag line="
|
1304 |
<type by_reference="false">boolean</type>
|
1305 |
</tag>
|
1306 |
</docblock>
|
1307 |
-
<argument line="
|
1308 |
<name>$needle</name>
|
1309 |
<default><![CDATA[]]></default>
|
1310 |
<type/>
|
1311 |
</argument>
|
1312 |
-
<argument line="
|
1313 |
<name>$haystack</name>
|
1314 |
<default><![CDATA[]]></default>
|
1315 |
<type/>
|
1316 |
</argument>
|
1317 |
</method>
|
1318 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1319 |
<name>mla_find_array_element</name>
|
1320 |
<full_name>mla_find_array_element</full_name>
|
1321 |
-
<docblock line="
|
1322 |
<description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
|
1323 |
<long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
|
1324 |
Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
|
1325 |
-
<tag line="
|
1326 |
-
<tag line="
|
1327 |
<type by_reference="false">string</type>
|
1328 |
</tag>
|
1329 |
-
<tag line="
|
1330 |
<type by_reference="false">array</type>
|
1331 |
</tag>
|
1332 |
-
<tag line="
|
1333 |
<type by_reference="false">string</type>
|
1334 |
</tag>
|
1335 |
-
<tag line="
|
1336 |
<type by_reference="false">boolean</type>
|
1337 |
</tag>
|
1338 |
-
<tag line="
|
1339 |
<type by_reference="false">mixed</type>
|
1340 |
</tag>
|
1341 |
</docblock>
|
1342 |
-
<argument line="
|
1343 |
<name>$needle</name>
|
1344 |
<default><![CDATA[]]></default>
|
1345 |
<type/>
|
1346 |
</argument>
|
1347 |
-
<argument line="
|
1348 |
<name>$haystack</name>
|
1349 |
<default><![CDATA[]]></default>
|
1350 |
<type/>
|
1351 |
</argument>
|
1352 |
-
<argument line="
|
1353 |
<name>$option</name>
|
1354 |
<default><![CDATA[]]></default>
|
1355 |
<type/>
|
1356 |
</argument>
|
1357 |
-
<argument line="
|
1358 |
<name>$keep_existing</name>
|
1359 |
<default><![CDATA[false]]></default>
|
1360 |
<type/>
|
1361 |
</argument>
|
1362 |
</method>
|
1363 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1364 |
<name>mla_fetch_attachment_metadata</name>
|
1365 |
<full_name>mla_fetch_attachment_metadata</full_name>
|
1366 |
-
<docblock line="
|
1367 |
<description><![CDATA[Fetch and filter meta data for an attachment]]></description>
|
1368 |
<long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
|
1369 |
are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
|
1370 |
-
<tag line="
|
1371 |
-
<tag line="
|
1372 |
<type by_reference="false">int</type>
|
1373 |
</tag>
|
1374 |
-
<tag line="
|
1375 |
<type by_reference="false">array</type>
|
1376 |
</tag>
|
1377 |
</docblock>
|
1378 |
-
<argument line="
|
1379 |
<name>$post_id</name>
|
1380 |
<default><![CDATA[]]></default>
|
1381 |
<type/>
|
1382 |
</argument>
|
1383 |
</method>
|
1384 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1385 |
<name>mla_fetch_attachment_references</name>
|
1386 |
<full_name>mla_fetch_attachment_references</full_name>
|
1387 |
-
<docblock line="
|
1388 |
<description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
|
1389 |
<long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
|
1390 |
as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
|
1391 |
-
<tag line="
|
1392 |
-
<tag line="
|
1393 |
<type by_reference="false">int</type>
|
1394 |
</tag>
|
1395 |
-
<tag line="
|
1396 |
<type by_reference="false">int</type>
|
1397 |
</tag>
|
1398 |
-
<tag line="
|
1399 |
<type by_reference="false">array</type>
|
1400 |
</tag>
|
1401 |
</docblock>
|
1402 |
-
<argument line="
|
1403 |
<name>$ID</name>
|
1404 |
<default><![CDATA[]]></default>
|
1405 |
<type/>
|
1406 |
</argument>
|
1407 |
-
<argument line="
|
1408 |
<name>$parent</name>
|
1409 |
<default><![CDATA[]]></default>
|
1410 |
<type/>
|
1411 |
</argument>
|
1412 |
</method>
|
1413 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1414 |
<name>mla_flush_mla_galleries</name>
|
1415 |
<full_name>mla_flush_mla_galleries</full_name>
|
1416 |
-
<docblock line="
|
1417 |
<description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
|
1418 |
<long-description><![CDATA[]]></long-description>
|
1419 |
-
<tag line="
|
1420 |
-
<tag line="
|
1421 |
<type by_reference="false">string</type>
|
1422 |
</tag>
|
1423 |
-
<tag line="
|
1424 |
<type by_reference="false">void</type>
|
1425 |
</tag>
|
1426 |
</docblock>
|
1427 |
-
<argument line="
|
1428 |
<name>$option_name</name>
|
1429 |
<default><![CDATA[]]></default>
|
1430 |
<type/>
|
1431 |
</argument>
|
1432 |
</method>
|
1433 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1434 |
<name>mla_save_post_action</name>
|
1435 |
<full_name>mla_save_post_action</full_name>
|
1436 |
-
<docblock line="
|
1437 |
<description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
|
1438 |
<long-description><![CDATA[]]></long-description>
|
1439 |
-
<tag line="
|
1440 |
-
<tag line="
|
1441 |
<type by_reference="false">integer</type>
|
1442 |
</tag>
|
1443 |
-
<tag line="
|
1444 |
<type by_reference="false">void</type>
|
1445 |
</tag>
|
1446 |
</docblock>
|
1447 |
-
<argument line="
|
1448 |
<name>$post_id</name>
|
1449 |
<default><![CDATA[]]></default>
|
1450 |
<type/>
|
1451 |
</argument>
|
1452 |
</method>
|
1453 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1454 |
<name>_build_mla_galleries</name>
|
1455 |
<full_name>_build_mla_galleries</full_name>
|
1456 |
-
<docblock line="
|
1457 |
<description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
|
1458 |
<long-description><![CDATA[]]></long-description>
|
1459 |
-
<tag line="
|
1460 |
-
<tag line="
|
1461 |
<type by_reference="false">string</type>
|
1462 |
</tag>
|
1463 |
-
<tag line="
|
1464 |
<type by_reference="false">array</type>
|
1465 |
</tag>
|
1466 |
-
<tag line="
|
1467 |
<type by_reference="false">string</type>
|
1468 |
</tag>
|
1469 |
-
<tag line="
|
1470 |
<type by_reference="false">boolean</type>
|
1471 |
</tag>
|
1472 |
-
<tag line="
|
1473 |
<type by_reference="false">boolean</type>
|
1474 |
</tag>
|
1475 |
</docblock>
|
1476 |
-
<argument line="
|
1477 |
<name>$option_name</name>
|
1478 |
<default><![CDATA[]]></default>
|
1479 |
<type/>
|
1480 |
</argument>
|
1481 |
-
<argument line="
|
1482 |
<name>$galleries_array</name>
|
1483 |
<default><![CDATA[]]></default>
|
1484 |
<type/>
|
1485 |
</argument>
|
1486 |
-
<argument line="
|
1487 |
<name>$shortcode</name>
|
1488 |
<default><![CDATA[]]></default>
|
1489 |
<type/>
|
1490 |
</argument>
|
1491 |
-
<argument line="
|
1492 |
<name>$exclude_revisions</name>
|
1493 |
<default><![CDATA[]]></default>
|
1494 |
<type/>
|
1495 |
</argument>
|
1496 |
</method>
|
1497 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1498 |
<name>_search_mla_galleries</name>
|
1499 |
<full_name>_search_mla_galleries</full_name>
|
1500 |
-
<docblock line="
|
1501 |
<description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
|
1502 |
<long-description><![CDATA[]]></long-description>
|
1503 |
-
<tag line="
|
1504 |
-
<tag line="
|
1505 |
<type by_reference="false">array</type>
|
1506 |
</tag>
|
1507 |
-
<tag line="
|
1508 |
<type by_reference="false">int</type>
|
1509 |
</tag>
|
1510 |
-
<tag line="
|
1511 |
<type by_reference="false">array</type>
|
1512 |
</tag>
|
1513 |
</docblock>
|
1514 |
-
<argument line="
|
1515 |
<name>$galleries_array</name>
|
1516 |
<default><![CDATA[]]></default>
|
1517 |
<type/>
|
1518 |
</argument>
|
1519 |
-
<argument line="
|
1520 |
<name>$attachment_id</name>
|
1521 |
<default><![CDATA[]]></default>
|
1522 |
<type/>
|
1523 |
</argument>
|
1524 |
</method>
|
1525 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1526 |
<name>_parse_pdf_xref_subsection</name>
|
1527 |
<full_name>_parse_pdf_xref_subsection</full_name>
|
1528 |
-
<docblock line="
|
1529 |
<description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
|
1530 |
<long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
|
1531 |
-
<tag line="
|
1532 |
-
<tag line="
|
1533 |
<type by_reference="false">string</type>
|
1534 |
</tag>
|
1535 |
-
<tag line="
|
1536 |
<type by_reference="false">integer</type>
|
1537 |
</tag>
|
1538 |
-
<tag line="
|
1539 |
<type by_reference="false">integer</type>
|
1540 |
</tag>
|
1541 |
-
<tag line="
|
1542 |
<type by_reference="false">integer</type>
|
1543 |
</tag>
|
1544 |
-
<tag line="
|
1545 |
<type by_reference="false">void</type>
|
1546 |
</tag>
|
1547 |
</docblock>
|
1548 |
-
<argument line="
|
1549 |
<name>$xref_section</name>
|
1550 |
<default><![CDATA[]]></default>
|
1551 |
<type/>
|
1552 |
</argument>
|
1553 |
-
<argument line="
|
1554 |
<name>$offset</name>
|
1555 |
<default><![CDATA[]]></default>
|
1556 |
<type/>
|
1557 |
</argument>
|
1558 |
-
<argument line="
|
1559 |
<name>$object_id</name>
|
1560 |
<default><![CDATA[]]></default>
|
1561 |
<type/>
|
1562 |
</argument>
|
1563 |
-
<argument line="
|
1564 |
<name>$count</name>
|
1565 |
<default><![CDATA[]]></default>
|
1566 |
<type/>
|
1567 |
</argument>
|
1568 |
</method>
|
1569 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1570 |
<name>_parse_pdf_xref_section</name>
|
1571 |
<full_name>_parse_pdf_xref_section</full_name>
|
1572 |
-
<docblock line="
|
1573 |
<description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
|
1574 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
1575 |
-
<tag line="
|
1576 |
-
<tag line="
|
1577 |
<type by_reference="false">string</type>
|
1578 |
</tag>
|
1579 |
-
<tag line="
|
1580 |
<type by_reference="false">integer</type>
|
1581 |
</tag>
|
1582 |
-
<tag line="
|
1583 |
<type by_reference="false">integer</type>
|
1584 |
</tag>
|
1585 |
</docblock>
|
1586 |
-
<argument line="
|
1587 |
<name>$file_name</name>
|
1588 |
<default><![CDATA[]]></default>
|
1589 |
<type/>
|
1590 |
</argument>
|
1591 |
-
<argument line="
|
1592 |
<name>$file_offset</name>
|
1593 |
<default><![CDATA[]]></default>
|
1594 |
<type/>
|
1595 |
</argument>
|
1596 |
</method>
|
1597 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1598 |
<name>_parse_pdf_xref_stream</name>
|
1599 |
<full_name>_parse_pdf_xref_stream</full_name>
|
1600 |
-
<docblock line="
|
1601 |
<description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
|
1602 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
1603 |
-
<tag line="
|
1604 |
-
<tag line="
|
1605 |
<type by_reference="false">string</type>
|
1606 |
</tag>
|
1607 |
-
<tag line="
|
1608 |
<type by_reference="false">integer</type>
|
1609 |
</tag>
|
1610 |
-
<tag line="
|
1611 |
<type by_reference="false">string</type>
|
1612 |
</tag>
|
1613 |
-
<tag line="
|
1614 |
<type by_reference="false">integer</type>
|
1615 |
</tag>
|
1616 |
</docblock>
|
1617 |
-
<argument line="
|
1618 |
<name>$file_name</name>
|
1619 |
<default><![CDATA[]]></default>
|
1620 |
<type/>
|
1621 |
</argument>
|
1622 |
-
<argument line="
|
1623 |
<name>$file_offset</name>
|
1624 |
<default><![CDATA[]]></default>
|
1625 |
<type/>
|
1626 |
</argument>
|
1627 |
-
<argument line="
|
1628 |
<name>$entry_parms_string</name>
|
1629 |
<default><![CDATA[]]></default>
|
1630 |
<type/>
|
1631 |
</argument>
|
1632 |
</method>
|
1633 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1634 |
<name>_build_pdf_indirect_objects</name>
|
1635 |
<full_name>_build_pdf_indirect_objects</full_name>
|
1636 |
-
<docblock line="
|
1637 |
<description><![CDATA[Build an array of indirect object definitions]]></description>
|
1638 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
1639 |
-
<tag line="
|
1640 |
-
<tag line="
|
1641 |
<type by_reference="false">string</type>
|
1642 |
</tag>
|
1643 |
-
<tag line="
|
1644 |
<type by_reference="false">void</type>
|
1645 |
</tag>
|
1646 |
</docblock>
|
1647 |
-
<argument line="
|
1648 |
<name>$string</name>
|
1649 |
<default><![CDATA[]]></default>
|
1650 |
<type/>
|
1651 |
</argument>
|
1652 |
</method>
|
1653 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1654 |
<name>_find_pdf_indirect_dictionary</name>
|
1655 |
<full_name>_find_pdf_indirect_dictionary</full_name>
|
1656 |
-
<docblock line="
|
1657 |
<description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
|
1658 |
<long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
|
1659 |
This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
|
1660 |
-
<tag line="
|
1661 |
-
<tag line="
|
1662 |
<type by_reference="false">string</type>
|
1663 |
</tag>
|
1664 |
-
<tag line="
|
1665 |
<type by_reference="false">integer</type>
|
1666 |
</tag>
|
1667 |
-
<tag line="
|
1668 |
<type by_reference="false">integer</type>
|
1669 |
</tag>
|
1670 |
-
<tag line="
|
1671 |
<type by_reference="false">mixed</type>
|
1672 |
</tag>
|
1673 |
</docblock>
|
1674 |
-
<argument line="
|
1675 |
<name>$file_name</name>
|
1676 |
<default><![CDATA[]]></default>
|
1677 |
<type/>
|
1678 |
</argument>
|
1679 |
-
<argument line="
|
1680 |
<name>$object</name>
|
1681 |
<default><![CDATA[]]></default>
|
1682 |
<type/>
|
1683 |
</argument>
|
1684 |
-
<argument line="
|
1685 |
<name>$generation</name>
|
1686 |
<default><![CDATA[0]]></default>
|
1687 |
<type/>
|
1688 |
</argument>
|
1689 |
</method>
|
1690 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1691 |
<name>_parse_iso8601_date</name>
|
1692 |
<full_name>_parse_iso8601_date</full_name>
|
1693 |
-
<docblock line="
|
1694 |
<description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
|
1695 |
<long-description><![CDATA[]]></long-description>
|
1696 |
-
<tag line="
|
1697 |
-
<tag line="
|
1698 |
<type by_reference="false">string</type>
|
1699 |
</tag>
|
1700 |
-
<tag line="
|
1701 |
<type by_reference="false">string</type>
|
1702 |
</tag>
|
1703 |
</docblock>
|
1704 |
-
<argument line="
|
1705 |
<name>$source_string</name>
|
1706 |
<default><![CDATA[]]></default>
|
1707 |
<type/>
|
1708 |
</argument>
|
1709 |
</method>
|
1710 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1711 |
<name>_parse_pdf_date</name>
|
1712 |
<full_name>_parse_pdf_date</full_name>
|
1713 |
-
<docblock line="
|
1714 |
<description><![CDATA[Parse a PDF date string]]></description>
|
1715 |
<long-description><![CDATA[]]></long-description>
|
1716 |
-
<tag line="
|
1717 |
-
<tag line="
|
1718 |
<type by_reference="false">string</type>
|
1719 |
</tag>
|
1720 |
-
<tag line="
|
1721 |
<type by_reference="false">string</type>
|
1722 |
</tag>
|
1723 |
</docblock>
|
1724 |
-
<argument line="
|
1725 |
<name>$source_string</name>
|
1726 |
<default><![CDATA[]]></default>
|
1727 |
<type/>
|
1728 |
</argument>
|
1729 |
</method>
|
1730 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1731 |
<name>_parse_pdf_UTF16BE</name>
|
1732 |
<full_name>_parse_pdf_UTF16BE</full_name>
|
1733 |
-
<docblock line="
|
1734 |
<description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
|
1735 |
<long-description><![CDATA[]]></long-description>
|
1736 |
-
<tag line="
|
1737 |
-
<tag line="
|
1738 |
<type by_reference="false">string</type>
|
1739 |
</tag>
|
1740 |
-
<tag line="
|
1741 |
<type by_reference="false">string</type>
|
1742 |
</tag>
|
1743 |
</docblock>
|
1744 |
-
<argument line="
|
1745 |
<name>$source_string</name>
|
1746 |
<default><![CDATA[]]></default>
|
1747 |
<type/>
|
1748 |
</argument>
|
1749 |
</method>
|
1750 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1751 |
<name>_parse_pdf_string</name>
|
1752 |
<full_name>_parse_pdf_string</full_name>
|
1753 |
-
<docblock line="
|
1754 |
<description><![CDATA[Parse a PDF string object]]></description>
|
1755 |
<long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
|
1756 |
the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
|
1757 |
-
<tag line="
|
1758 |
-
<tag line="
|
1759 |
<type by_reference="false">string</type>
|
1760 |
</tag>
|
1761 |
-
<tag line="
|
1762 |
<type by_reference="false">integer</type>
|
1763 |
</tag>
|
1764 |
-
<tag line="
|
1765 |
<type by_reference="false">array</type>
|
1766 |
</tag>
|
1767 |
</docblock>
|
1768 |
-
<argument line="
|
1769 |
<name>$source_string</name>
|
1770 |
<default><![CDATA[]]></default>
|
1771 |
<type/>
|
1772 |
</argument>
|
1773 |
-
<argument line="
|
1774 |
<name>$offset</name>
|
1775 |
<default><![CDATA[]]></default>
|
1776 |
<type/>
|
1777 |
</argument>
|
1778 |
</method>
|
1779 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1780 |
<name>_parse_pdf_LPD_dictionary</name>
|
1781 |
<full_name>_parse_pdf_LPD_dictionary</full_name>
|
1782 |
-
<docblock line="
|
1783 |
<description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
|
1784 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
1785 |
indirect (object), name, array, dictionary, stream, and null.
|
1786 |
The array also has a '/length' element containing the number of bytes occupied by the
|
1787 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
1788 |
-
<tag line="
|
1789 |
-
<tag line="
|
1790 |
<type by_reference="false">string</type>
|
1791 |
</tag>
|
1792 |
-
<tag line="
|
1793 |
<type by_reference="false">integer</type>
|
1794 |
</tag>
|
1795 |
-
<tag line="
|
1796 |
<type by_reference="false">mixed</type>
|
1797 |
</tag>
|
1798 |
</docblock>
|
1799 |
-
<argument line="
|
1800 |
<name>$source_string</name>
|
1801 |
<default><![CDATA[]]></default>
|
1802 |
<type/>
|
1803 |
</argument>
|
1804 |
-
<argument line="
|
1805 |
<name>$filesize</name>
|
1806 |
<default><![CDATA[]]></default>
|
1807 |
<type/>
|
1808 |
</argument>
|
1809 |
</method>
|
1810 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1811 |
<name>_parse_pdf_dictionary</name>
|
1812 |
<full_name>_parse_pdf_dictionary</full_name>
|
1813 |
-
<docblock line="
|
1814 |
<description><![CDATA[Parse a PDF dictionary object]]></description>
|
1815 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
1816 |
indirect (object), name, array, dictionary, stream, and null.
|
1817 |
The array also has a '/length' element containing the number of bytes occupied by the
|
1818 |
dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
|
1819 |
-
<tag line="
|
1820 |
-
<tag line="
|
1821 |
<type by_reference="false">string</type>
|
1822 |
</tag>
|
1823 |
-
<tag line="
|
1824 |
<type by_reference="false">integer</type>
|
1825 |
</tag>
|
1826 |
-
<tag line="
|
1827 |
<type by_reference="false">array</type>
|
1828 |
</tag>
|
1829 |
</docblock>
|
1830 |
-
<argument line="
|
1831 |
<name>$source_string</name>
|
1832 |
<default><![CDATA[]]></default>
|
1833 |
<type/>
|
1834 |
</argument>
|
1835 |
-
<argument line="
|
1836 |
<name>$offset</name>
|
1837 |
<default><![CDATA[]]></default>
|
1838 |
<type/>
|
1839 |
</argument>
|
1840 |
</method>
|
1841 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1842 |
<name>_parse_xmp_metadata</name>
|
1843 |
<full_name>_parse_xmp_metadata</full_name>
|
1844 |
-
<docblock line="
|
1845 |
<description><![CDATA[Parse an XMP object]]></description>
|
1846 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
1847 |
indirect (object), name, array, dictionary, stream, and null.
|
1848 |
The array also has a '/length' element containing the number of bytes occupied by the
|
1849 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
1850 |
-
<tag line="
|
1851 |
-
<tag line="
|
1852 |
<type by_reference="false">string</type>
|
1853 |
</tag>
|
1854 |
-
<tag line="
|
1855 |
<type by_reference="false">integer</type>
|
1856 |
</tag>
|
1857 |
-
<tag line="
|
1858 |
<type by_reference="false">mixed</type>
|
1859 |
</tag>
|
1860 |
</docblock>
|
1861 |
-
<argument line="
|
1862 |
<name>$file_name</name>
|
1863 |
<default><![CDATA[]]></default>
|
1864 |
<type/>
|
1865 |
</argument>
|
1866 |
-
<argument line="
|
1867 |
<name>$file_offset</name>
|
1868 |
<default><![CDATA[]]></default>
|
1869 |
<type/>
|
1870 |
</argument>
|
1871 |
</method>
|
1872 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1873 |
<name>_extract_pdf_trailer</name>
|
1874 |
<full_name>_extract_pdf_trailer</full_name>
|
1875 |
-
<docblock line="
|
1876 |
<description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
|
1877 |
<long-description><![CDATA[]]></long-description>
|
1878 |
-
<tag line="
|
1879 |
-
<tag line="
|
1880 |
<type by_reference="false">string</type>
|
1881 |
</tag>
|
1882 |
-
<tag line="
|
1883 |
<type by_reference="false">integer</type>
|
1884 |
</tag>
|
1885 |
-
<tag line="
|
1886 |
<type by_reference="false">mixed</type>
|
1887 |
</tag>
|
1888 |
</docblock>
|
1889 |
-
<argument line="
|
1890 |
<name>$file_name</name>
|
1891 |
<default><![CDATA[]]></default>
|
1892 |
<type/>
|
1893 |
</argument>
|
1894 |
-
<argument line="
|
1895 |
<name>$file_offset</name>
|
1896 |
<default><![CDATA[]]></default>
|
1897 |
<type/>
|
1898 |
</argument>
|
1899 |
</method>
|
1900 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1901 |
<name>_extract_pdf_metadata</name>
|
1902 |
<full_name>_extract_pdf_metadata</full_name>
|
1903 |
-
<docblock line="
|
1904 |
<description><![CDATA[Extract Metadata from a PDF file]]></description>
|
1905 |
<long-description><![CDATA[]]></long-description>
|
1906 |
-
<tag line="
|
1907 |
-
<tag line="
|
1908 |
<type by_reference="false">string</type>
|
1909 |
</tag>
|
1910 |
-
<tag line="
|
1911 |
<type by_reference="false">array</type>
|
1912 |
</tag>
|
1913 |
</docblock>
|
1914 |
-
<argument line="
|
1915 |
<name>$file_name</name>
|
1916 |
<default><![CDATA[]]></default>
|
1917 |
<type/>
|
1918 |
</argument>
|
1919 |
</method>
|
1920 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1921 |
<name>_bin_to_utf8</name>
|
1922 |
<full_name>_bin_to_utf8</full_name>
|
1923 |
-
<docblock line="
|
1924 |
<description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
|
1925 |
<long-description><![CDATA[]]></long-description>
|
1926 |
-
<tag line="
|
1927 |
-
<tag line="
|
1928 |
<type by_reference="false">string</type>
|
1929 |
</tag>
|
1930 |
-
<tag line="
|
1931 |
<type by_reference="false">string</type>
|
1932 |
</tag>
|
1933 |
</docblock>
|
1934 |
-
<argument line="
|
1935 |
<name>$string</name>
|
1936 |
<default><![CDATA[]]></default>
|
1937 |
<type/>
|
1938 |
</argument>
|
1939 |
</method>
|
1940 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1941 |
<name>mla_iptc_metadata_value</name>
|
1942 |
<full_name>mla_iptc_metadata_value</full_name>
|
1943 |
-
<docblock line="
|
1944 |
<description><![CDATA[Parse one IPTC metadata field]]></description>
|
1945 |
<long-description><![CDATA[]]></long-description>
|
1946 |
-
<tag line="
|
1947 |
-
<tag line="
|
1948 |
<type by_reference="false">string</type>
|
1949 |
</tag>
|
1950 |
-
<tag line="
|
1951 |
<type by_reference="false">string</type>
|
1952 |
</tag>
|
1953 |
-
<tag line="
|
1954 |
<type by_reference="false">mixed</type>
|
1955 |
</tag>
|
1956 |
</docblock>
|
1957 |
-
<argument line="
|
1958 |
<name>$iptc_key</name>
|
1959 |
<default><![CDATA[]]></default>
|
1960 |
<type/>
|
1961 |
</argument>
|
1962 |
-
<argument line="
|
1963 |
<name>$item_metadata</name>
|
1964 |
<default><![CDATA[]]></default>
|
1965 |
<type/>
|
1966 |
</argument>
|
1967 |
</method>
|
1968 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1969 |
<name>mla_exif_metadata_value</name>
|
1970 |
<full_name>mla_exif_metadata_value</full_name>
|
1971 |
-
<docblock line="
|
1972 |
<description><![CDATA[Parse one EXIF metadata field]]></description>
|
1973 |
<long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
|
1974 |
-
<tag line="
|
1975 |
-
<tag line="
|
1976 |
<type by_reference="false">string</type>
|
1977 |
</tag>
|
1978 |
-
<tag line="
|
1979 |
<type by_reference="false">string</type>
|
1980 |
</tag>
|
1981 |
-
<tag line="
|
1982 |
<type by_reference="false">mixed</type>
|
1983 |
</tag>
|
1984 |
</docblock>
|
1985 |
-
<argument line="
|
1986 |
<name>$exif_key</name>
|
1987 |
<default><![CDATA[]]></default>
|
1988 |
<type/>
|
1989 |
</argument>
|
1990 |
-
<argument line="
|
1991 |
<name>$item_metadata</name>
|
1992 |
<default><![CDATA[]]></default>
|
1993 |
<type/>
|
1994 |
</argument>
|
1995 |
</method>
|
1996 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1997 |
<name>mla_pdf_metadata_value</name>
|
1998 |
<full_name>mla_pdf_metadata_value</full_name>
|
1999 |
-
<docblock line="
|
2000 |
<description><![CDATA[Parse one PDF metadata field]]></description>
|
2001 |
<long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
|
2002 |
-
<tag line="
|
2003 |
-
<tag line="
|
2004 |
<type by_reference="false">string</type>
|
2005 |
</tag>
|
2006 |
-
<tag line="
|
2007 |
<type by_reference="false">string</type>
|
2008 |
</tag>
|
2009 |
-
<tag line="
|
2010 |
<type by_reference="false">mixed</type>
|
2011 |
</tag>
|
2012 |
</docblock>
|
2013 |
-
<argument line="
|
2014 |
<name>$pdf_key</name>
|
2015 |
<default><![CDATA[]]></default>
|
2016 |
<type/>
|
2017 |
</argument>
|
2018 |
-
<argument line="
|
2019 |
<name>$item_metadata</name>
|
2020 |
<default><![CDATA[]]></default>
|
2021 |
<type/>
|
2022 |
</argument>
|
2023 |
</method>
|
2024 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2025 |
<name>_rational_to_decimal</name>
|
2026 |
<full_name>_rational_to_decimal</full_name>
|
2027 |
-
<docblock line="
|
2028 |
<description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
|
2029 |
<long-description><![CDATA[]]></long-description>
|
2030 |
-
<tag line="
|
2031 |
-
<tag line="
|
2032 |
<type by_reference="false">array</type>
|
2033 |
</tag>
|
2034 |
-
<tag line="
|
2035 |
<type by_reference="false">float</type>
|
2036 |
</tag>
|
2037 |
</docblock>
|
2038 |
-
<argument line="
|
2039 |
<name>$rational</name>
|
2040 |
<default><![CDATA[]]></default>
|
2041 |
<type/>
|
2042 |
</argument>
|
2043 |
</method>
|
2044 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2045 |
<name>mla_IPTC_EXIF_error_handler</name>
|
2046 |
<full_name>mla_IPTC_EXIF_error_handler</full_name>
|
2047 |
-
<docblock line="
|
2048 |
<description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
|
2049 |
<long-description><![CDATA[]]></long-description>
|
2050 |
-
<tag line="
|
2051 |
-
<tag line="
|
2052 |
<type by_reference="false">int</type>
|
2053 |
</tag>
|
2054 |
-
<tag line="
|
2055 |
<type by_reference="false">string</type>
|
2056 |
</tag>
|
2057 |
-
<tag line="
|
2058 |
<type by_reference="false">string</type>
|
2059 |
</tag>
|
2060 |
-
<tag line="
|
2061 |
<type by_reference="false">int</type>
|
2062 |
</tag>
|
2063 |
-
<tag line="
|
2064 |
<type by_reference="false">boolean</type>
|
2065 |
</tag>
|
2066 |
</docblock>
|
2067 |
-
<argument line="
|
2068 |
<name>$type</name>
|
2069 |
<default><![CDATA[]]></default>
|
2070 |
<type/>
|
2071 |
</argument>
|
2072 |
-
<argument line="
|
2073 |
<name>$string</name>
|
2074 |
<default><![CDATA[]]></default>
|
2075 |
<type/>
|
2076 |
</argument>
|
2077 |
-
<argument line="
|
2078 |
<name>$file</name>
|
2079 |
<default><![CDATA[]]></default>
|
2080 |
<type/>
|
2081 |
</argument>
|
2082 |
-
<argument line="
|
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="
|
2089 |
<name>mla_fetch_attachment_image_metadata</name>
|
2090 |
<full_name>mla_fetch_attachment_image_metadata</full_name>
|
2091 |
-
<docblock line="
|
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="
|
2095 |
-
<tag line="
|
2096 |
<type by_reference="false">int</type>
|
2097 |
</tag>
|
2098 |
-
<tag line="
|
2099 |
<type by_reference="false">string</type>
|
2100 |
</tag>
|
2101 |
-
<tag line="
|
2102 |
<type by_reference="false">array</type>
|
2103 |
</tag>
|
2104 |
</docblock>
|
2105 |
-
<argument line="
|
2106 |
<name>$post_id</name>
|
2107 |
<default><![CDATA[]]></default>
|
2108 |
<type/>
|
2109 |
</argument>
|
2110 |
-
<argument line="
|
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="
|
2117 |
<name>mla_update_wp_attachment_metadata</name>
|
2118 |
<full_name>mla_update_wp_attachment_metadata</full_name>
|
2119 |
-
<docblock line="
|
2120 |
<description><![CDATA[Update "meta:" data for a single attachment]]></description>
|
2121 |
<long-description><![CDATA[]]></long-description>
|
2122 |
-
<tag line="
|
2123 |
-
<tag line="
|
2124 |
<type by_reference="false">array</type>
|
2125 |
</tag>
|
2126 |
-
<tag line="
|
2127 |
<type by_reference="false">array</type>
|
2128 |
</tag>
|
2129 |
-
<tag line="
|
2130 |
<type by_reference="false">string</type>
|
2131 |
</tag>
|
2132 |
</docblock>
|
2133 |
-
<argument line="
|
2134 |
<name>$current_values</name>
|
2135 |
<default><![CDATA[]]></default>
|
2136 |
<type/>
|
2137 |
</argument>
|
2138 |
-
<argument line="
|
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="
|
2145 |
<name>mla_update_item_postmeta</name>
|
2146 |
<full_name>mla_update_item_postmeta</full_name>
|
2147 |
-
<docblock line="
|
2148 |
<description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
|
2149 |
<long-description><![CDATA[]]></long-description>
|
2150 |
-
<tag line="
|
2151 |
-
<tag line="
|
2152 |
<type by_reference="false">int</type>
|
2153 |
</tag>
|
2154 |
-
<tag line="
|
2155 |
<type by_reference="false">array</type>
|
2156 |
</tag>
|
2157 |
-
<tag line="
|
2158 |
<type by_reference="false">string</type>
|
2159 |
</tag>
|
2160 |
</docblock>
|
2161 |
-
<argument line="
|
2162 |
<name>$post_id</name>
|
2163 |
<default><![CDATA[]]></default>
|
2164 |
<type/>
|
2165 |
</argument>
|
2166 |
-
<argument line="
|
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="
|
2173 |
<name>mla_update_single_item</name>
|
2174 |
<full_name>mla_update_single_item</full_name>
|
2175 |
-
<docblock line="
|
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="
|
2180 |
-
<tag line="
|
2181 |
<type by_reference="false">int</type>
|
2182 |
</tag>
|
2183 |
-
<tag line="
|
2184 |
<type by_reference="false">array</type>
|
2185 |
</tag>
|
2186 |
-
<tag line="
|
2187 |
<type by_reference="false">array</type>
|
2188 |
</tag>
|
2189 |
-
<tag line="
|
2190 |
<type by_reference="false">array</type>
|
2191 |
</tag>
|
2192 |
-
<tag line="
|
2193 |
<type by_reference="false">array</type>
|
2194 |
</tag>
|
2195 |
</docblock>
|
2196 |
-
<argument line="
|
2197 |
<name>$post_id</name>
|
2198 |
<default><![CDATA[]]></default>
|
2199 |
<type/>
|
2200 |
</argument>
|
2201 |
-
<argument line="
|
2202 |
<name>$new_data</name>
|
2203 |
<default><![CDATA[]]></default>
|
2204 |
<type/>
|
2205 |
</argument>
|
2206 |
-
<argument line="
|
2207 |
<name>$tax_input</name>
|
2208 |
<default><![CDATA[NULL]]></default>
|
2209 |
<type/>
|
2210 |
</argument>
|
2211 |
-
<argument line="
|
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="
|
2218 |
<name>_remove_tags</name>
|
2219 |
<full_name>_remove_tags</full_name>
|
2220 |
-
<docblock line="
|
2221 |
<description><![CDATA[Remove tags from a term ids list]]></description>
|
2222 |
<long-description><![CDATA[]]></long-description>
|
2223 |
-
<tag line="
|
2224 |
-
<tag line="
|
2225 |
<type by_reference="false">array</type>
|
2226 |
</tag>
|
2227 |
-
<tag line="
|
2228 |
<type by_reference="false">array</type>
|
2229 |
</tag>
|
2230 |
-
<tag line="
|
2231 |
<type by_reference="false">object</type>
|
2232 |
</tag>
|
2233 |
-
<tag line="
|
2234 |
<type by_reference="false">array</type>
|
2235 |
</tag>
|
2236 |
</docblock>
|
2237 |
-
<argument line="
|
2238 |
<name>$terms_before</name>
|
2239 |
<default><![CDATA[]]></default>
|
2240 |
<type/>
|
2241 |
</argument>
|
2242 |
-
<argument line="
|
2243 |
<name>$tags</name>
|
2244 |
<default><![CDATA[]]></default>
|
2245 |
<type/>
|
2246 |
</argument>
|
2247 |
-
<argument line="
|
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="
|
2254 |
<name>_hex_dump</name>
|
2255 |
<full_name>_hex_dump</full_name>
|
2256 |
-
<docblock line="
|
2257 |
<description><![CDATA[Format printable version of binary data]]></description>
|
2258 |
<long-description><![CDATA[]]></long-description>
|
2259 |
-
<tag line="
|
2260 |
-
<tag line="
|
2261 |
<type by_reference="false">string</type>
|
2262 |
</tag>
|
2263 |
-
<tag line="
|
2264 |
<type by_reference="false">integer</type>
|
2265 |
</tag>
|
2266 |
-
<tag line="
|
2267 |
<type by_reference="false">\intger</type>
|
2268 |
</tag>
|
2269 |
-
<tag line="
|
2270 |
<type by_reference="false">integer</type>
|
2271 |
</tag>
|
2272 |
-
<tag line="
|
2273 |
<type by_reference="false">string</type>
|
2274 |
</tag>
|
2275 |
</docblock>
|
2276 |
-
<argument line="
|
2277 |
<name>$data</name>
|
2278 |
<default><![CDATA[]]></default>
|
2279 |
<type/>
|
2280 |
</argument>
|
2281 |
-
<argument line="
|
2282 |
<name>$limit</name>
|
2283 |
<default><![CDATA[0]]></default>
|
2284 |
<type/>
|
2285 |
</argument>
|
2286 |
-
<argument line="
|
2287 |
<name>$bytes_per_row</name>
|
2288 |
<default><![CDATA[16]]></default>
|
2289 |
<type/>
|
2290 |
</argument>
|
2291 |
-
<argument line="
|
2292 |
<name>$offset</name>
|
2293 |
<default><![CDATA[-1]]></default>
|
2294 |
<type/>
|
@@ -2296,10 +2328,10 @@ and meta data for a single attachment]]></description>
|
|
2296 |
</method>
|
2297 |
</class>
|
2298 |
<markers>
|
2299 |
-
<todo line="
|
2300 |
</markers>
|
2301 |
</file>
|
2302 |
-
<file path="includes\class-mla-edit-media.php" hash="
|
2303 |
<docblock line="2">
|
2304 |
<description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
|
2305 |
<long-description><![CDATA[]]></long-description>
|
@@ -2355,15 +2387,15 @@ and meta data for a single attachment]]></description>
|
|
2355 |
</tag>
|
2356 |
</docblock>
|
2357 |
</constant>
|
2358 |
-
<property final="false" static="true" visibility="private" line="
|
2359 |
<name>$mla_references</name>
|
2360 |
<default><![CDATA[null]]></default>
|
2361 |
-
<docblock line="
|
2362 |
<description><![CDATA[Where-used values for the current item]]></description>
|
2363 |
<long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
|
2364 |
The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
|
2365 |
-
<tag line="
|
2366 |
-
<tag line="
|
2367 |
<type by_reference="false">array</type>
|
2368 |
</tag>
|
2369 |
</docblock>
|
@@ -2412,405 +2444,405 @@ The array is built once each page load and cached for subsequent calls.</p>]]></
|
|
2412 |
<type/>
|
2413 |
</argument>
|
2414 |
</method>
|
2415 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2416 |
<name>mla_post_updated_messages_filter</name>
|
2417 |
<full_name>mla_post_updated_messages_filter</full_name>
|
2418 |
-
<docblock line="
|
2419 |
<description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
|
2420 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
2421 |
-
<tag line="
|
2422 |
-
<tag line="
|
2423 |
<type by_reference="false">array</type>
|
2424 |
</tag>
|
2425 |
-
<tag line="
|
2426 |
<type by_reference="false">array</type>
|
2427 |
</tag>
|
2428 |
</docblock>
|
2429 |
-
<argument line="
|
2430 |
<name>$messages</name>
|
2431 |
<default><![CDATA[]]></default>
|
2432 |
<type/>
|
2433 |
</argument>
|
2434 |
</method>
|
2435 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2436 |
<name>mla_attachment_submitbox_action</name>
|
2437 |
<full_name>mla_attachment_submitbox_action</full_name>
|
2438 |
-
<docblock line="
|
2439 |
<description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
|
2440 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2441 |
-
<tag line="
|
2442 |
-
<tag line="
|
2443 |
<type by_reference="false">void</type>
|
2444 |
</tag>
|
2445 |
</docblock>
|
2446 |
</method>
|
2447 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2448 |
<name>mla_add_meta_boxes_action</name>
|
2449 |
<full_name>mla_add_meta_boxes_action</full_name>
|
2450 |
-
<docblock line="
|
2451 |
<description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
|
2452 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2453 |
-
<tag line="
|
2454 |
-
<tag line="
|
2455 |
<type by_reference="false">string</type>
|
2456 |
</tag>
|
2457 |
-
<tag line="
|
2458 |
<type by_reference="false">object</type>
|
2459 |
</tag>
|
2460 |
-
<tag line="
|
2461 |
<type by_reference="false">void</type>
|
2462 |
</tag>
|
2463 |
</docblock>
|
2464 |
-
<argument line="
|
2465 |
<name>$post_type</name>
|
2466 |
<default><![CDATA['unknown']]></default>
|
2467 |
<type/>
|
2468 |
</argument>
|
2469 |
-
<argument line="
|
2470 |
<name>$post</name>
|
2471 |
<default><![CDATA[NULL]]></default>
|
2472 |
<type/>
|
2473 |
</argument>
|
2474 |
</method>
|
2475 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2476 |
<name>mla_edit_add_help_tab</name>
|
2477 |
<full_name>mla_edit_add_help_tab</full_name>
|
2478 |
-
<docblock line="
|
2479 |
<description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
|
2480 |
<long-description><![CDATA[]]></long-description>
|
2481 |
-
<tag line="
|
2482 |
-
<tag line="
|
2483 |
<type by_reference="false">string</type>
|
2484 |
</tag>
|
2485 |
-
<tag line="
|
2486 |
<type by_reference="false">string</type>
|
2487 |
</tag>
|
2488 |
-
<tag line="
|
2489 |
<type by_reference="false">void</type>
|
2490 |
</tag>
|
2491 |
</docblock>
|
2492 |
-
<argument line="
|
2493 |
<name>$admin_title</name>
|
2494 |
<default><![CDATA[]]></default>
|
2495 |
<type/>
|
2496 |
</argument>
|
2497 |
-
<argument line="
|
2498 |
<name>$title</name>
|
2499 |
<default><![CDATA[]]></default>
|
2500 |
<type/>
|
2501 |
</argument>
|
2502 |
</method>
|
2503 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2504 |
<name>mla_parent_info_handler</name>
|
2505 |
<full_name>mla_parent_info_handler</full_name>
|
2506 |
-
<docblock line="
|
2507 |
<description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
|
2508 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2509 |
-
<tag line="
|
2510 |
-
<tag line="
|
2511 |
<type by_reference="false">object</type>
|
2512 |
</tag>
|
2513 |
-
<tag line="
|
2514 |
<type by_reference="false">void</type>
|
2515 |
</tag>
|
2516 |
</docblock>
|
2517 |
-
<argument line="
|
2518 |
<name>$post</name>
|
2519 |
<default><![CDATA[]]></default>
|
2520 |
<type/>
|
2521 |
</argument>
|
2522 |
</method>
|
2523 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2524 |
<name>mla_menu_order_handler</name>
|
2525 |
<full_name>mla_menu_order_handler</full_name>
|
2526 |
-
<docblock line="
|
2527 |
<description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
|
2528 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2529 |
-
<tag line="
|
2530 |
-
<tag line="
|
2531 |
<type by_reference="false">object</type>
|
2532 |
</tag>
|
2533 |
-
<tag line="
|
2534 |
<type by_reference="false">void</type>
|
2535 |
</tag>
|
2536 |
</docblock>
|
2537 |
-
<argument line="
|
2538 |
<name>$post</name>
|
2539 |
<default><![CDATA[]]></default>
|
2540 |
<type/>
|
2541 |
</argument>
|
2542 |
</method>
|
2543 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2544 |
<name>mla_image_metadata_handler</name>
|
2545 |
<full_name>mla_image_metadata_handler</full_name>
|
2546 |
-
<docblock line="
|
2547 |
<description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
|
2548 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2549 |
-
<tag line="
|
2550 |
-
<tag line="
|
2551 |
<type by_reference="false">object</type>
|
2552 |
</tag>
|
2553 |
-
<tag line="
|
2554 |
<type by_reference="false">void</type>
|
2555 |
</tag>
|
2556 |
</docblock>
|
2557 |
-
<argument line="
|
2558 |
<name>$post</name>
|
2559 |
<default><![CDATA[]]></default>
|
2560 |
<type/>
|
2561 |
</argument>
|
2562 |
</method>
|
2563 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2564 |
<name>mla_featured_in_handler</name>
|
2565 |
<full_name>mla_featured_in_handler</full_name>
|
2566 |
-
<docblock line="
|
2567 |
<description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
|
2568 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2569 |
-
<tag line="
|
2570 |
-
<tag line="
|
2571 |
<type by_reference="false">object</type>
|
2572 |
</tag>
|
2573 |
-
<tag line="
|
2574 |
<type by_reference="false">void</type>
|
2575 |
</tag>
|
2576 |
</docblock>
|
2577 |
-
<argument line="
|
2578 |
<name>$post</name>
|
2579 |
<default><![CDATA[]]></default>
|
2580 |
<type/>
|
2581 |
</argument>
|
2582 |
</method>
|
2583 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2584 |
<name>mla_inserted_in_handler</name>
|
2585 |
<full_name>mla_inserted_in_handler</full_name>
|
2586 |
-
<docblock line="
|
2587 |
<description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
|
2588 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2589 |
-
<tag line="
|
2590 |
-
<tag line="
|
2591 |
<type by_reference="false">object</type>
|
2592 |
</tag>
|
2593 |
-
<tag line="
|
2594 |
<type by_reference="false">void</type>
|
2595 |
</tag>
|
2596 |
</docblock>
|
2597 |
-
<argument line="
|
2598 |
<name>$post</name>
|
2599 |
<default><![CDATA[]]></default>
|
2600 |
<type/>
|
2601 |
</argument>
|
2602 |
</method>
|
2603 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2604 |
<name>mla_gallery_in_handler</name>
|
2605 |
<full_name>mla_gallery_in_handler</full_name>
|
2606 |
-
<docblock line="
|
2607 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2608 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2609 |
-
<tag line="
|
2610 |
-
<tag line="
|
2611 |
<type by_reference="false">object</type>
|
2612 |
</tag>
|
2613 |
-
<tag line="
|
2614 |
<type by_reference="false">void</type>
|
2615 |
</tag>
|
2616 |
</docblock>
|
2617 |
-
<argument line="
|
2618 |
<name>$post</name>
|
2619 |
<default><![CDATA[]]></default>
|
2620 |
<type/>
|
2621 |
</argument>
|
2622 |
</method>
|
2623 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2624 |
<name>mla_mla_gallery_in_handler</name>
|
2625 |
<full_name>mla_mla_gallery_in_handler</full_name>
|
2626 |
-
<docblock line="
|
2627 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2628 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2629 |
-
<tag line="
|
2630 |
-
<tag line="
|
2631 |
<type by_reference="false">object</type>
|
2632 |
</tag>
|
2633 |
-
<tag line="
|
2634 |
<type by_reference="false">void</type>
|
2635 |
</tag>
|
2636 |
</docblock>
|
2637 |
-
<argument line="
|
2638 |
<name>$post</name>
|
2639 |
<default><![CDATA[]]></default>
|
2640 |
<type/>
|
2641 |
</argument>
|
2642 |
</method>
|
2643 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2644 |
<name>mla_edit_attachment_action</name>
|
2645 |
<full_name>mla_edit_attachment_action</full_name>
|
2646 |
-
<docblock line="
|
2647 |
<description><![CDATA[Saves updates from the Edit Media screen.]]></description>
|
2648 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2649 |
-
<tag line="
|
2650 |
-
<tag line="
|
2651 |
<type by_reference="false">integer</type>
|
2652 |
</tag>
|
2653 |
-
<tag line="
|
2654 |
<type by_reference="false">void</type>
|
2655 |
</tag>
|
2656 |
</docblock>
|
2657 |
-
<argument line="
|
2658 |
<name>$post_ID</name>
|
2659 |
<default><![CDATA[]]></default>
|
2660 |
<type/>
|
2661 |
</argument>
|
2662 |
</method>
|
2663 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2664 |
<name>_mla_ajax_add_flat_term</name>
|
2665 |
<full_name>_mla_ajax_add_flat_term</full_name>
|
2666 |
-
<docblock line="
|
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="
|
2670 |
-
<tag line="
|
2671 |
<type by_reference="false">string</type>
|
2672 |
</tag>
|
2673 |
-
<tag line="
|
2674 |
<type by_reference="false">void</type>
|
2675 |
</tag>
|
2676 |
</docblock>
|
2677 |
-
<argument line="
|
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="
|
2684 |
<name>mla_checklist_meta_box</name>
|
2685 |
<full_name>mla_checklist_meta_box</full_name>
|
2686 |
-
<docblock line="
|
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="
|
2693 |
-
<tag line="
|
2694 |
<type by_reference="false">object</type>
|
2695 |
</tag>
|
2696 |
-
<tag line="
|
2697 |
<type by_reference="false">array</type>
|
2698 |
</tag>
|
2699 |
-
<tag line="
|
2700 |
<type by_reference="false">void</type>
|
2701 |
</tag>
|
2702 |
</docblock>
|
2703 |
-
<argument line="
|
2704 |
<name>$target_post</name>
|
2705 |
<default><![CDATA[]]></default>
|
2706 |
<type/>
|
2707 |
</argument>
|
2708 |
-
<argument line="
|
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="
|
2716 |
<extends>\Walker_Category</extends>
|
2717 |
<name>MLA_Checklist_Walker</name>
|
2718 |
<full_name>\MLA_Checklist_Walker</full_name>
|
2719 |
-
<docblock line="
|
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="
|
2725 |
-
<tag line="
|
2726 |
</docblock>
|
2727 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
2728 |
<name>start_el</name>
|
2729 |
<full_name>start_el</full_name>
|
2730 |
-
<docblock line="
|
2731 |
<description><![CDATA[Start the element output.]]></description>
|
2732 |
<long-description><![CDATA[]]></long-description>
|
2733 |
-
<tag line="
|
2734 |
-
<tag line="
|
2735 |
-
<tag line="
|
2736 |
<type by_reference="false">string</type>
|
2737 |
</tag>
|
2738 |
-
<tag line="
|
2739 |
<type by_reference="false">object</type>
|
2740 |
</tag>
|
2741 |
-
<tag line="
|
2742 |
<type by_reference="false">int</type>
|
2743 |
</tag>
|
2744 |
-
<tag line="
|
2745 |
<type by_reference="false">array</type>
|
2746 |
</tag>
|
2747 |
-
<tag line="
|
2748 |
<type by_reference="false">int</type>
|
2749 |
</tag>
|
2750 |
</docblock>
|
2751 |
-
<argument line="
|
2752 |
<name>$output</name>
|
2753 |
<default><![CDATA[]]></default>
|
2754 |
<type/>
|
2755 |
</argument>
|
2756 |
-
<argument line="
|
2757 |
<name>$taxonomy_object</name>
|
2758 |
<default><![CDATA[]]></default>
|
2759 |
<type/>
|
2760 |
</argument>
|
2761 |
-
<argument line="
|
2762 |
<name>$depth</name>
|
2763 |
<default><![CDATA[0]]></default>
|
2764 |
<type/>
|
2765 |
</argument>
|
2766 |
-
<argument line="
|
2767 |
<name>$args</name>
|
2768 |
<default><![CDATA[array()]]></default>
|
2769 |
<type/>
|
2770 |
</argument>
|
2771 |
-
<argument line="
|
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="
|
2778 |
<name>end_el</name>
|
2779 |
<full_name>end_el</full_name>
|
2780 |
-
<docblock line="
|
2781 |
<description><![CDATA[Ends the element output, if needed.]]></description>
|
2782 |
<long-description><![CDATA[]]></long-description>
|
2783 |
-
<tag line="
|
2784 |
-
<tag line="
|
2785 |
-
<tag line="
|
2786 |
<type by_reference="false">string</type>
|
2787 |
</tag>
|
2788 |
-
<tag line="
|
2789 |
<type by_reference="false">object</type>
|
2790 |
</tag>
|
2791 |
-
<tag line="
|
2792 |
<type by_reference="false">int</type>
|
2793 |
</tag>
|
2794 |
-
<tag line="
|
2795 |
<type by_reference="false">array</type>
|
2796 |
</tag>
|
2797 |
</docblock>
|
2798 |
-
<argument line="
|
2799 |
<name>$output</name>
|
2800 |
<default><![CDATA[]]></default>
|
2801 |
<type/>
|
2802 |
</argument>
|
2803 |
-
<argument line="
|
2804 |
<name>$category</name>
|
2805 |
<default><![CDATA[]]></default>
|
2806 |
<type/>
|
2807 |
</argument>
|
2808 |
-
<argument line="
|
2809 |
<name>$depth</name>
|
2810 |
<default><![CDATA[0]]></default>
|
2811 |
<type/>
|
2812 |
</argument>
|
2813 |
-
<argument line="
|
2814 |
<name>$args</name>
|
2815 |
<default><![CDATA[array()]]></default>
|
2816 |
<type/>
|
@@ -2818,7 +2850,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-descri
|
|
2818 |
</method>
|
2819 |
</class>
|
2820 |
</file>
|
2821 |
-
<file path="includes\class-mla-list-table.php" hash="
|
2822 |
<docblock line="2">
|
2823 |
<description><![CDATA[Media Library Assistant extended List Table class]]></description>
|
2824 |
<long-description><![CDATA[]]></long-description>
|
@@ -3039,764 +3071,786 @@ to affect the "screen options" setup.</p>]]></long-description>
|
|
3039 |
</tag>
|
3040 |
</docblock>
|
3041 |
</method>
|
3042 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3043 |
<name>mla_localize_default_columns_array</name>
|
3044 |
<full_name>mla_localize_default_columns_array</full_name>
|
3045 |
-
<docblock line="
|
3046 |
<description><![CDATA[Builds the $default_columns array with translated source texts.]]></description>
|
3047 |
<long-description><![CDATA[<p>Called from MLA:mla_plugins_loaded_action because the $default_columns information might be
|
3048 |
accessed from "front end" posts/pages.</p>]]></long-description>
|
3049 |
-
<tag line="
|
3050 |
-
<tag line="
|
3051 |
<type by_reference="false">void</type>
|
3052 |
</tag>
|
3053 |
</docblock>
|
3054 |
</method>
|
3055 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3056 |
<name>mla_admin_init_action</name>
|
3057 |
<full_name>mla_admin_init_action</full_name>
|
3058 |
-
<docblock line="
|
3059 |
<description><![CDATA[Adds support for taxonomy and custom field columns]]></description>
|
3060 |
<long-description><![CDATA[<p>Called in the admin_init action because the list_table object isn't
|
3061 |
created in time to affect the "screen options" setup.</p>]]></long-description>
|
3062 |
-
<tag line="
|
3063 |
-
<tag line="
|
3064 |
<type by_reference="false">void</type>
|
3065 |
</tag>
|
3066 |
</docblock>
|
3067 |
</method>
|
3068 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3069 |
<name>__construct</name>
|
3070 |
<full_name>__construct</full_name>
|
3071 |
-
<docblock line="
|
3072 |
<description><![CDATA[Initializes some properties from $_REQUEST variables, then
|
3073 |
calls the parent constructor to set some default configs.]]></description>
|
3074 |
<long-description><![CDATA[]]></long-description>
|
3075 |
-
<tag line="
|
3076 |
-
<tag line="
|
3077 |
<type by_reference="false">void</type>
|
3078 |
</tag>
|
3079 |
</docblock>
|
3080 |
</method>
|
3081 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3082 |
<name>column_default</name>
|
3083 |
<full_name>column_default</full_name>
|
3084 |
-
<docblock line="
|
3085 |
<description><![CDATA[Supply a column value if no column-specific function has been defined]]></description>
|
3086 |
<long-description><![CDATA[<p>Called when the parent class can't find a method specifically built for a given column.
|
3087 |
The taxonomy and custom field columns are handled here. All other columns should have
|
3088 |
a specific method, so this function returns a troubleshooting message.</p>]]></long-description>
|
3089 |
-
<tag line="
|
3090 |
-
<tag line="
|
3091 |
<type by_reference="false">array</type>
|
3092 |
</tag>
|
3093 |
-
<tag line="
|
3094 |
<type by_reference="false">array</type>
|
3095 |
</tag>
|
3096 |
-
<tag line="
|
3097 |
<type by_reference="false">string</type>
|
3098 |
</tag>
|
3099 |
</docblock>
|
3100 |
-
<argument line="
|
3101 |
<name>$item</name>
|
3102 |
<default><![CDATA[]]></default>
|
3103 |
<type/>
|
3104 |
</argument>
|
3105 |
-
<argument line="
|
3106 |
<name>$column_name</name>
|
3107 |
<default><![CDATA[]]></default>
|
3108 |
<type/>
|
3109 |
</argument>
|
3110 |
</method>
|
3111 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3112 |
<name>column_cb</name>
|
3113 |
<full_name>column_cb</full_name>
|
3114 |
-
<docblock line="
|
3115 |
<description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
|
3116 |
<long-description><![CDATA[<p>The 'cb' column
|
3117 |
is given special treatment when columns are processed.</p>]]></long-description>
|
3118 |
-
<tag line="
|
3119 |
-
<tag line="
|
3120 |
<type by_reference="false">array</type>
|
3121 |
</tag>
|
3122 |
-
<tag line="
|
3123 |
<type by_reference="false">string</type>
|
3124 |
</tag>
|
3125 |
</docblock>
|
3126 |
-
<argument line="
|
3127 |
<name>$item</name>
|
3128 |
<default><![CDATA[]]></default>
|
3129 |
<type/>
|
3130 |
</argument>
|
3131 |
</method>
|
3132 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3133 |
<name>column_icon</name>
|
3134 |
<full_name>column_icon</full_name>
|
3135 |
-
<docblock line="
|
3136 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3137 |
<long-description><![CDATA[]]></long-description>
|
3138 |
-
<tag line="
|
3139 |
-
<tag line="
|
3140 |
<type by_reference="false">array</type>
|
3141 |
</tag>
|
3142 |
-
<tag line="
|
3143 |
<type by_reference="false">string</type>
|
3144 |
</tag>
|
3145 |
</docblock>
|
3146 |
-
<argument line="
|
3147 |
<name>$item</name>
|
3148 |
<default><![CDATA[]]></default>
|
3149 |
<type/>
|
3150 |
</argument>
|
3151 |
</method>
|
3152 |
-
<method final="false" abstract="false" static="false" visibility="private" namespace="global" line="
|
3153 |
<name>_build_rollover_actions</name>
|
3154 |
<full_name>_build_rollover_actions</full_name>
|
3155 |
-
<docblock line="
|
3156 |
<description><![CDATA[Add rollover actions to exactly one of the following displayed columns:
|
3157 |
'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
|
3158 |
<long-description><![CDATA[]]></long-description>
|
3159 |
-
<tag line="
|
3160 |
-
<tag line="
|
3161 |
<type by_reference="false">object</type>
|
3162 |
</tag>
|
3163 |
-
<tag line="
|
3164 |
<type by_reference="false">string</type>
|
3165 |
</tag>
|
3166 |
-
<tag line="
|
3167 |
<type by_reference="false">array</type>
|
3168 |
</tag>
|
3169 |
</docblock>
|
3170 |
-
<argument line="
|
3171 |
<name>$item</name>
|
3172 |
<default><![CDATA[]]></default>
|
3173 |
<type/>
|
3174 |
</argument>
|
3175 |
-
<argument line="
|
3176 |
<name>$column</name>
|
3177 |
<default><![CDATA[]]></default>
|
3178 |
<type/>
|
3179 |
</argument>
|
3180 |
</method>
|
3181 |
-
<method final="false" abstract="false" static="false" visibility="private" namespace="global" line="
|
3182 |
<name>_build_inline_data</name>
|
3183 |
<full_name>_build_inline_data</full_name>
|
3184 |
-
<docblock line="
|
3185 |
<description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
|
3186 |
<long-description><![CDATA[]]></long-description>
|
3187 |
-
<tag line="
|
3188 |
-
<tag line="
|
3189 |
<type by_reference="false">object</type>
|
3190 |
</tag>
|
3191 |
-
<tag line="
|
3192 |
<type by_reference="false">string</type>
|
3193 |
</tag>
|
3194 |
</docblock>
|
3195 |
-
<argument line="
|
3196 |
<name>$item</name>
|
3197 |
<default><![CDATA[]]></default>
|
3198 |
<type/>
|
3199 |
</argument>
|
3200 |
</method>
|
3201 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3202 |
<name>column_ID_parent</name>
|
3203 |
<full_name>column_ID_parent</full_name>
|
3204 |
-
<docblock line="
|
3205 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3206 |
<long-description><![CDATA[]]></long-description>
|
3207 |
-
<tag line="
|
3208 |
-
<tag line="
|
3209 |
<type by_reference="false">array</type>
|
3210 |
</tag>
|
3211 |
-
<tag line="
|
3212 |
<type by_reference="false">string</type>
|
3213 |
</tag>
|
3214 |
</docblock>
|
3215 |
-
<argument line="
|
3216 |
<name>$item</name>
|
3217 |
<default><![CDATA[]]></default>
|
3218 |
<type/>
|
3219 |
</argument>
|
3220 |
</method>
|
3221 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3222 |
<name>column_title_name</name>
|
3223 |
<full_name>column_title_name</full_name>
|
3224 |
-
<docblock line="
|
3225 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3226 |
<long-description><![CDATA[]]></long-description>
|
3227 |
-
<tag line="
|
3228 |
-
<tag line="
|
3229 |
<type by_reference="false">array</type>
|
3230 |
</tag>
|
3231 |
-
<tag line="
|
3232 |
<type by_reference="false">string</type>
|
3233 |
</tag>
|
3234 |
</docblock>
|
3235 |
-
<argument line="
|
3236 |
<name>$item</name>
|
3237 |
<default><![CDATA[]]></default>
|
3238 |
<type/>
|
3239 |
</argument>
|
3240 |
</method>
|
3241 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3242 |
<name>column_post_title</name>
|
3243 |
<full_name>column_post_title</full_name>
|
3244 |
-
<docblock line="
|
3245 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3246 |
<long-description><![CDATA[]]></long-description>
|
3247 |
-
<tag line="
|
3248 |
-
<tag line="
|
3249 |
<type by_reference="false">array</type>
|
3250 |
</tag>
|
3251 |
-
<tag line="
|
3252 |
<type by_reference="false">string</type>
|
3253 |
</tag>
|
3254 |
</docblock>
|
3255 |
-
<argument line="
|
3256 |
<name>$item</name>
|
3257 |
<default><![CDATA[]]></default>
|
3258 |
<type/>
|
3259 |
</argument>
|
3260 |
</method>
|
3261 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3262 |
<name>column_post_name</name>
|
3263 |
<full_name>column_post_name</full_name>
|
3264 |
-
<docblock line="
|
3265 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3266 |
<long-description><![CDATA[]]></long-description>
|
3267 |
-
<tag line="
|
3268 |
-
<tag line="
|
3269 |
<type by_reference="false">array</type>
|
3270 |
</tag>
|
3271 |
-
<tag line="
|
3272 |
<type by_reference="false">string</type>
|
3273 |
</tag>
|
3274 |
</docblock>
|
3275 |
-
<argument line="
|
3276 |
<name>$item</name>
|
3277 |
<default><![CDATA[]]></default>
|
3278 |
<type/>
|
3279 |
</argument>
|
3280 |
</method>
|
3281 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3282 |
<name>column_parent</name>
|
3283 |
<full_name>column_parent</full_name>
|
3284 |
-
<docblock line="
|
3285 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3286 |
<long-description><![CDATA[]]></long-description>
|
3287 |
-
<tag line="
|
3288 |
-
<tag line="
|
3289 |
<type by_reference="false">array</type>
|
3290 |
</tag>
|
3291 |
-
<tag line="
|
3292 |
<type by_reference="false">string</type>
|
3293 |
</tag>
|
3294 |
</docblock>
|
3295 |
-
<argument line="
|
3296 |
<name>$item</name>
|
3297 |
<default><![CDATA[]]></default>
|
3298 |
<type/>
|
3299 |
</argument>
|
3300 |
</method>
|
3301 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3302 |
<name>column_menu_order</name>
|
3303 |
<full_name>column_menu_order</full_name>
|
3304 |
-
<docblock line="
|
3305 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3306 |
<long-description><![CDATA[]]></long-description>
|
3307 |
-
<tag line="
|
3308 |
-
<tag line="
|
3309 |
<type by_reference="false">array</type>
|
3310 |
</tag>
|
3311 |
-
<tag line="
|
3312 |
<type by_reference="false">string</type>
|
3313 |
</tag>
|
3314 |
</docblock>
|
3315 |
-
<argument line="
|
3316 |
<name>$item</name>
|
3317 |
<default><![CDATA[]]></default>
|
3318 |
<type/>
|
3319 |
</argument>
|
3320 |
</method>
|
3321 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3322 |
<name>column_featured</name>
|
3323 |
<full_name>column_featured</full_name>
|
3324 |
-
<docblock line="
|
3325 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3326 |
<long-description><![CDATA[]]></long-description>
|
3327 |
-
<tag line="
|
3328 |
-
<tag line="
|
3329 |
<type by_reference="false">array</type>
|
3330 |
</tag>
|
3331 |
-
<tag line="
|
3332 |
<type by_reference="false">string</type>
|
3333 |
</tag>
|
3334 |
</docblock>
|
3335 |
-
<argument line="
|
3336 |
<name>$item</name>
|
3337 |
<default><![CDATA[]]></default>
|
3338 |
<type/>
|
3339 |
</argument>
|
3340 |
</method>
|
3341 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3342 |
<name>column_inserted</name>
|
3343 |
<full_name>column_inserted</full_name>
|
3344 |
-
<docblock line="
|
3345 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3346 |
<long-description><![CDATA[]]></long-description>
|
3347 |
-
<tag line="
|
3348 |
-
<tag line="
|
3349 |
<type by_reference="false">array</type>
|
3350 |
</tag>
|
3351 |
-
<tag line="
|
3352 |
<type by_reference="false">string</type>
|
3353 |
</tag>
|
3354 |
</docblock>
|
3355 |
-
<argument line="
|
3356 |
<name>$item</name>
|
3357 |
<default><![CDATA[]]></default>
|
3358 |
<type/>
|
3359 |
</argument>
|
3360 |
</method>
|
3361 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3362 |
<name>column_galleries</name>
|
3363 |
<full_name>column_galleries</full_name>
|
3364 |
-
<docblock line="
|
3365 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3366 |
<long-description><![CDATA[]]></long-description>
|
3367 |
-
<tag line="
|
3368 |
-
<tag line="
|
3369 |
<type by_reference="false">array</type>
|
3370 |
</tag>
|
3371 |
-
<tag line="
|
3372 |
<type by_reference="false">string</type>
|
3373 |
</tag>
|
3374 |
</docblock>
|
3375 |
-
<argument line="
|
3376 |
<name>$item</name>
|
3377 |
<default><![CDATA[]]></default>
|
3378 |
<type/>
|
3379 |
</argument>
|
3380 |
</method>
|
3381 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3382 |
<name>column_mla_galleries</name>
|
3383 |
<full_name>column_mla_galleries</full_name>
|
3384 |
-
<docblock line="
|
3385 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3386 |
<long-description><![CDATA[]]></long-description>
|
3387 |
-
<tag line="
|
3388 |
-
<tag line="
|
3389 |
<type by_reference="false">array</type>
|
3390 |
</tag>
|
3391 |
-
<tag line="
|
3392 |
<type by_reference="false">string</type>
|
3393 |
</tag>
|
3394 |
</docblock>
|
3395 |
-
<argument line="
|
3396 |
<name>$item</name>
|
3397 |
<default><![CDATA[]]></default>
|
3398 |
<type/>
|
3399 |
</argument>
|
3400 |
</method>
|
3401 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3402 |
<name>column_alt_text</name>
|
3403 |
<full_name>column_alt_text</full_name>
|
3404 |
-
<docblock line="
|
3405 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3406 |
<long-description><![CDATA[]]></long-description>
|
3407 |
-
<tag line="
|
3408 |
-
<tag line="
|
3409 |
<type by_reference="false">array</type>
|
3410 |
</tag>
|
3411 |
-
<tag line="
|
3412 |
<type by_reference="false">string</type>
|
3413 |
</tag>
|
3414 |
</docblock>
|
3415 |
-
<argument line="
|
3416 |
<name>$item</name>
|
3417 |
<default><![CDATA[]]></default>
|
3418 |
<type/>
|
3419 |
</argument>
|
3420 |
</method>
|
3421 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3422 |
<name>column_caption</name>
|
3423 |
<full_name>column_caption</full_name>
|
3424 |
-
<docblock line="
|
3425 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3426 |
<long-description><![CDATA[]]></long-description>
|
3427 |
-
<tag line="
|
3428 |
-
<tag line="
|
3429 |
<type by_reference="false">array</type>
|
3430 |
</tag>
|
3431 |
-
<tag line="
|
3432 |
<type by_reference="false">string</type>
|
3433 |
</tag>
|
3434 |
</docblock>
|
3435 |
-
<argument line="
|
3436 |
<name>$item</name>
|
3437 |
<default><![CDATA[]]></default>
|
3438 |
<type/>
|
3439 |
</argument>
|
3440 |
</method>
|
3441 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3442 |
<name>column_description</name>
|
3443 |
<full_name>column_description</full_name>
|
3444 |
-
<docblock line="
|
3445 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3446 |
<long-description><![CDATA[]]></long-description>
|
3447 |
-
<tag line="
|
3448 |
-
<tag line="
|
3449 |
<type by_reference="false">array</type>
|
3450 |
</tag>
|
3451 |
-
<tag line="
|
3452 |
<type by_reference="false">string</type>
|
3453 |
</tag>
|
3454 |
</docblock>
|
3455 |
-
<argument line="
|
3456 |
<name>$item</name>
|
3457 |
<default><![CDATA[]]></default>
|
3458 |
<type/>
|
3459 |
</argument>
|
3460 |
</method>
|
3461 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3462 |
<name>column_post_mime_type</name>
|
3463 |
<full_name>column_post_mime_type</full_name>
|
3464 |
-
<docblock line="
|
3465 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3466 |
<long-description><![CDATA[]]></long-description>
|
3467 |
-
<tag line="
|
3468 |
-
<tag line="
|
3469 |
<type by_reference="false">array</type>
|
3470 |
</tag>
|
3471 |
-
<tag line="
|
3472 |
<type by_reference="false">string</type>
|
3473 |
</tag>
|
3474 |
</docblock>
|
3475 |
-
<argument line="
|
3476 |
<name>$item</name>
|
3477 |
<default><![CDATA[]]></default>
|
3478 |
<type/>
|
3479 |
</argument>
|
3480 |
</method>
|
3481 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3482 |
<name>column_file_url</name>
|
3483 |
<full_name>column_file_url</full_name>
|
3484 |
-
<docblock line="
|
3485 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3486 |
<long-description><![CDATA[]]></long-description>
|
3487 |
-
<tag line="
|
3488 |
-
<tag line="
|
3489 |
<type by_reference="false">array</type>
|
3490 |
</tag>
|
3491 |
-
<tag line="
|
3492 |
<type by_reference="false">string</type>
|
3493 |
</tag>
|
3494 |
</docblock>
|
3495 |
-
<argument line="
|
3496 |
<name>$item</name>
|
3497 |
<default><![CDATA[]]></default>
|
3498 |
<type/>
|
3499 |
</argument>
|
3500 |
</method>
|
3501 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3502 |
<name>column_base_file</name>
|
3503 |
<full_name>column_base_file</full_name>
|
3504 |
-
<docblock line="
|
3505 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3506 |
<long-description><![CDATA[]]></long-description>
|
3507 |
-
<tag line="
|
3508 |
-
<tag line="
|
3509 |
<type by_reference="false">array</type>
|
3510 |
</tag>
|
3511 |
-
<tag line="
|
3512 |
<type by_reference="false">string</type>
|
3513 |
</tag>
|
3514 |
</docblock>
|
3515 |
-
<argument line="
|
3516 |
<name>$item</name>
|
3517 |
<default><![CDATA[]]></default>
|
3518 |
<type/>
|
3519 |
</argument>
|
3520 |
</method>
|
3521 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3522 |
<name>column_date</name>
|
3523 |
<full_name>column_date</full_name>
|
3524 |
-
<docblock line="
|
3525 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3526 |
<long-description><![CDATA[]]></long-description>
|
3527 |
-
<tag line="
|
3528 |
-
<tag line="
|
3529 |
<type by_reference="false">array</type>
|
3530 |
</tag>
|
3531 |
-
<tag line="
|
3532 |
<type by_reference="false">string</type>
|
3533 |
</tag>
|
3534 |
</docblock>
|
3535 |
-
<argument line="
|
3536 |
<name>$item</name>
|
3537 |
<default><![CDATA[]]></default>
|
3538 |
<type/>
|
3539 |
</argument>
|
3540 |
</method>
|
3541 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3542 |
<name>column_modified</name>
|
3543 |
<full_name>column_modified</full_name>
|
3544 |
-
<docblock line="
|
3545 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3546 |
<long-description><![CDATA[]]></long-description>
|
3547 |
-
<tag line="
|
3548 |
-
<tag line="
|
3549 |
<type by_reference="false">array</type>
|
3550 |
</tag>
|
3551 |
-
<tag line="
|
3552 |
<type by_reference="false">string</type>
|
3553 |
</tag>
|
3554 |
</docblock>
|
3555 |
-
<argument line="
|
3556 |
<name>$item</name>
|
3557 |
<default><![CDATA[]]></default>
|
3558 |
<type/>
|
3559 |
</argument>
|
3560 |
</method>
|
3561 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3562 |
<name>column_author</name>
|
3563 |
<full_name>column_author</full_name>
|
3564 |
-
<docblock line="
|
3565 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3566 |
<long-description><![CDATA[]]></long-description>
|
3567 |
-
<tag line="
|
3568 |
-
<tag line="
|
3569 |
<type by_reference="false">array</type>
|
3570 |
</tag>
|
3571 |
-
<tag line="
|
3572 |
<type by_reference="false">string</type>
|
3573 |
</tag>
|
3574 |
</docblock>
|
3575 |
-
<argument line="
|
3576 |
<name>$item</name>
|
3577 |
<default><![CDATA[]]></default>
|
3578 |
<type/>
|
3579 |
</argument>
|
3580 |
</method>
|
3581 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3582 |
<name>column_attached_to</name>
|
3583 |
<full_name>column_attached_to</full_name>
|
3584 |
-
<docblock line="
|
3585 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3586 |
<long-description><![CDATA[]]></long-description>
|
3587 |
-
<tag line="
|
3588 |
-
<tag line="
|
3589 |
<type by_reference="false">array</type>
|
3590 |
</tag>
|
3591 |
-
<tag line="
|
3592 |
<type by_reference="false">string</type>
|
3593 |
</tag>
|
3594 |
</docblock>
|
3595 |
-
<argument line="
|
3596 |
<name>$item</name>
|
3597 |
<default><![CDATA[]]></default>
|
3598 |
<type/>
|
3599 |
</argument>
|
3600 |
</method>
|
3601 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3602 |
<name>mla_submenu_arguments</name>
|
3603 |
<full_name>mla_submenu_arguments</full_name>
|
3604 |
-
<docblock line="
|
3605 |
<description><![CDATA[Process $_REQUEST, building $submenu_arguments]]></description>
|
3606 |
<long-description><![CDATA[]]></long-description>
|
3607 |
-
<tag line="
|
3608 |
-
<tag line="
|
3609 |
<type by_reference="false">boolean</type>
|
3610 |
</tag>
|
3611 |
-
<tag line="
|
3612 |
<type by_reference="false">array</type>
|
3613 |
</tag>
|
3614 |
</docblock>
|
3615 |
-
<argument line="
|
3616 |
<name>$include_filters</name>
|
3617 |
<default><![CDATA[true]]></default>
|
3618 |
<type/>
|
3619 |
</argument>
|
3620 |
</method>
|
3621 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3622 |
<name>pagination</name>
|
3623 |
<full_name>pagination</full_name>
|
3624 |
-
<docblock line="
|
3625 |
<description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
|
3626 |
<long-description><![CDATA[]]></long-description>
|
3627 |
-
<tag line="
|
3628 |
-
<tag line="
|
3629 |
<type by_reference="false">string</type>
|
3630 |
</tag>
|
3631 |
-
<tag line="
|
3632 |
<type by_reference="false">void</type>
|
3633 |
</tag>
|
3634 |
</docblock>
|
3635 |
-
<argument line="
|
3636 |
<name>$which</name>
|
3637 |
<default><![CDATA[]]></default>
|
3638 |
<type/>
|
3639 |
</argument>
|
3640 |
</method>
|
3641 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3642 |
<name>get_columns</name>
|
3643 |
<full_name>get_columns</full_name>
|
3644 |
-
<docblock line="
|
3645 |
<description><![CDATA[This method dictates the table's columns and titles]]></description>
|
3646 |
<long-description><![CDATA[]]></long-description>
|
3647 |
-
<tag line="
|
3648 |
-
<tag line="
|
3649 |
<type by_reference="false">array</type>
|
3650 |
</tag>
|
3651 |
</docblock>
|
3652 |
</method>
|
3653 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3654 |
<name>get_hidden_columns</name>
|
3655 |
<full_name>get_hidden_columns</full_name>
|
3656 |
-
<docblock line="
|
3657 |
<description><![CDATA[Returns the list of currently hidden columns from a user option or
|
3658 |
from default values if the option is not set]]></description>
|
3659 |
<long-description><![CDATA[]]></long-description>
|
3660 |
-
<tag line="
|
3661 |
-
<tag line="
|
3662 |
<type by_reference="false">array</type>
|
3663 |
</tag>
|
3664 |
</docblock>
|
3665 |
</method>
|
3666 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3667 |
<name>get_sortable_columns</name>
|
3668 |
<full_name>get_sortable_columns</full_name>
|
3669 |
-
<docblock line="
|
3670 |
<description><![CDATA[Returns an array where the key is the column that needs to be sortable
|
3671 |
and the value is db column to sort by.]]></description>
|
3672 |
<long-description><![CDATA[<p>Also notes the current sort column,
|
3673 |
if set.</p>]]></long-description>
|
3674 |
-
<tag line="
|
3675 |
-
<tag line="
|
3676 |
<type by_reference="false">array</type>
|
3677 |
</tag>
|
3678 |
</docblock>
|
3679 |
</method>
|
3680 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3681 |
<name>print_column_headers</name>
|
3682 |
<full_name>print_column_headers</full_name>
|
3683 |
-
<docblock line="
|
3684 |
<description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
|
3685 |
<long-description><![CDATA[]]></long-description>
|
3686 |
-
<tag line="
|
3687 |
-
<tag line="
|
3688 |
<type by_reference="false">bool</type>
|
3689 |
</tag>
|
3690 |
</docblock>
|
3691 |
-
<argument line="
|
3692 |
<name>$with_id</name>
|
3693 |
<default><![CDATA[true]]></default>
|
3694 |
<type/>
|
3695 |
</argument>
|
3696 |
</method>
|
3697 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3698 |
<name>_get_view</name>
|
3699 |
<full_name>_get_view</full_name>
|
3700 |
-
<docblock line="
|
3701 |
<description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
|
3702 |
<long-description><![CDATA[]]></long-description>
|
3703 |
-
<tag line="
|
3704 |
-
<tag line="
|
3705 |
<type by_reference="false">string</type>
|
3706 |
</tag>
|
3707 |
-
<tag line="
|
3708 |
<type by_reference="false">string</type>
|
3709 |
</tag>
|
3710 |
-
<tag line="
|
3711 |
<type by_reference="false">string</type>
|
3712 |
</tag>
|
3713 |
</docblock>
|
3714 |
-
<argument line="
|
3715 |
<name>$view_slug</name>
|
3716 |
<default><![CDATA[]]></default>
|
3717 |
<type/>
|
3718 |
</argument>
|
3719 |
-
<argument line="
|
3720 |
<name>$current_view</name>
|
3721 |
<default><![CDATA[]]></default>
|
3722 |
<type/>
|
3723 |
</argument>
|
3724 |
</method>
|
3725 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3726 |
<name>get_views</name>
|
3727 |
<full_name>get_views</full_name>
|
3728 |
-
<docblock line="
|
3729 |
<description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
|
3730 |
<long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
|
3731 |
-
<tag line="
|
3732 |
-
<tag line="
|
3733 |
<type by_reference="false">array</type>
|
3734 |
</tag>
|
3735 |
</docblock>
|
3736 |
</method>
|
3737 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3738 |
<name>get_bulk_actions</name>
|
3739 |
<full_name>get_bulk_actions</full_name>
|
3740 |
-
<docblock line="
|
3741 |
<description><![CDATA[Get an associative array ( option_name => option_title ) with the list
|
3742 |
of bulk actions available on this table.]]></description>
|
3743 |
<long-description><![CDATA[]]></long-description>
|
3744 |
-
<tag line="
|
3745 |
-
<tag line="
|
3746 |
<type by_reference="false">array</type>
|
3747 |
</tag>
|
3748 |
</docblock>
|
3749 |
</method>
|
3750 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3751 |
<name>extra_tablenav</name>
|
3752 |
<full_name>extra_tablenav</full_name>
|
3753 |
-
<docblock line="
|
3754 |
<description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
|
3755 |
<long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
|
3756 |
-
<tag line="
|
3757 |
-
<tag line="
|
3758 |
<type by_reference="false">string</type>
|
3759 |
</tag>
|
3760 |
-
<tag line="
|
3761 |
<type by_reference="false">array</type>
|
3762 |
</tag>
|
3763 |
</docblock>
|
3764 |
-
<argument line="
|
3765 |
<name>$which</name>
|
3766 |
<default><![CDATA[]]></default>
|
3767 |
<type/>
|
3768 |
</argument>
|
3769 |
</method>
|
3770 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3771 |
<name>prepare_items</name>
|
3772 |
<full_name>prepare_items</full_name>
|
3773 |
-
<docblock line="
|
3774 |
<description><![CDATA[Prepares the list of items for displaying]]></description>
|
3775 |
<long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
|
3776 |
be used to query the database, sort and filter the data, and generally
|
3777 |
get it ready to be displayed. At a minimum, we should set $this->items and
|
3778 |
$this->set_pagination_args().</p>]]></long-description>
|
3779 |
-
<tag line="
|
3780 |
-
<tag line="
|
3781 |
<type by_reference="false">void</type>
|
3782 |
</tag>
|
3783 |
</docblock>
|
3784 |
</method>
|
3785 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3786 |
<name>single_row</name>
|
3787 |
<full_name>single_row</full_name>
|
3788 |
-
<docblock line="
|
3789 |
<description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
|
3790 |
<long-description><![CDATA[]]></long-description>
|
3791 |
-
<tag line="
|
3792 |
-
<tag line="
|
3793 |
<type by_reference="false">object</type>
|
3794 |
</tag>
|
3795 |
-
<tag line="
|
3796 |
<type by_reference="false">void</type>
|
3797 |
</tag>
|
3798 |
</docblock>
|
3799 |
-
<argument line="
|
3800 |
<name>$item</name>
|
3801 |
<default><![CDATA[]]></default>
|
3802 |
<type/>
|
@@ -3804,7 +3858,7 @@ $this->set_pagination_args().</p>]]></long-description>
|
|
3804 |
</method>
|
3805 |
</class>
|
3806 |
</file>
|
3807 |
-
<file path="includes\class-mla-main.php" hash="
|
3808 |
<docblock line="2">
|
3809 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
3810 |
<long-description><![CDATA[]]></long-description>
|
@@ -3828,7 +3882,7 @@ of images and files held in the WordPress Media Library.]]></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.
|
3832 |
<docblock line="25">
|
3833 |
<description><![CDATA[Current version number]]></description>
|
3834 |
<long-description><![CDATA[]]></long-description>
|
@@ -4020,82 +4074,95 @@ of images and files held in the WordPress Media Library.]]></description>
|
|
4020 |
</tag>
|
4021 |
</docblock>
|
4022 |
</constant>
|
4023 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4024 |
<name>$page_hooks</name>
|
4025 |
<default><![CDATA[array()]]></default>
|
4026 |
-
<docblock line="
|
4027 |
<description><![CDATA[Holds screen ids to match help text to corresponding screen]]></description>
|
4028 |
<long-description><![CDATA[]]></long-description>
|
4029 |
-
<tag line="
|
4030 |
-
<tag line="
|
4031 |
<type by_reference="false">array</type>
|
4032 |
</tag>
|
4033 |
</docblock>
|
4034 |
</property>
|
4035 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4036 |
<name>initialize</name>
|
4037 |
<full_name>initialize</full_name>
|
4038 |
-
<docblock line="
|
4039 |
<description><![CDATA[Initialization function, similar to __construct()]]></description>
|
4040 |
<long-description><![CDATA[<p>This function contains add_action and add_filter calls
|
4041 |
to set up the Ajax handlers, enqueue JavaScript and CSS files, and
|
4042 |
set up the Assistant submenu.</p>]]></long-description>
|
4043 |
-
<tag line="
|
4044 |
-
<tag line="
|
4045 |
<type by_reference="false">void</type>
|
4046 |
</tag>
|
4047 |
</docblock>
|
4048 |
</method>
|
4049 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4050 |
<name>mla_plugins_loaded_action</name>
|
4051 |
<full_name>mla_plugins_loaded_action</full_name>
|
4052 |
-
<docblock line="
|
4053 |
<description><![CDATA[Load a plugin text domain]]></description>
|
4054 |
<long-description><![CDATA[<p>The "add_action" for this function is in mla-plugin-loader.php, because the "initialize"
|
4055 |
function above doesn't run in time.
|
4056 |
Defined as public because it's an action.</p>]]></long-description>
|
4057 |
-
<tag line="
|
4058 |
-
<tag line="
|
4059 |
<type by_reference="false">void</type>
|
4060 |
</tag>
|
4061 |
</docblock>
|
4062 |
</method>
|
4063 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4064 |
<name>mla_admin_init_action</name>
|
4065 |
<full_name>mla_admin_init_action</full_name>
|
4066 |
-
<docblock line="
|
4067 |
<description><![CDATA[Load the plugin's Ajax handler or process Edit Media update actions]]></description>
|
4068 |
<long-description><![CDATA[]]></long-description>
|
4069 |
-
<tag line="
|
4070 |
-
<tag line="
|
4071 |
<type by_reference="false">void</type>
|
4072 |
</tag>
|
4073 |
</docblock>
|
4074 |
</method>
|
4075 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4076 |
<name>mla_admin_enqueue_scripts_action</name>
|
4077 |
<full_name>mla_admin_enqueue_scripts_action</full_name>
|
4078 |
-
<docblock line="
|
4079 |
<description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
|
4080 |
<long-description><![CDATA[]]></long-description>
|
4081 |
-
<tag line="
|
4082 |
-
<tag line="
|
4083 |
<type by_reference="false">string</type>
|
4084 |
</tag>
|
4085 |
-
<tag line="
|
4086 |
<type by_reference="false">void</type>
|
4087 |
</tag>
|
4088 |
</docblock>
|
4089 |
-
<argument line="
|
4090 |
<name>$page_hook</name>
|
4091 |
<default><![CDATA[]]></default>
|
4092 |
<type/>
|
4093 |
</argument>
|
4094 |
</method>
|
4095 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4096 |
<name>mla_admin_menu_action</name>
|
4097 |
<full_name>mla_admin_menu_action</full_name>
|
4098 |
-
<docblock line="
|
4099 |
<description><![CDATA[Add the submenu pages]]></description>
|
4100 |
<long-description><![CDATA[<p>Add a submenu page in the "Media" section,
|
4101 |
add settings page in the "Settings" section.
|
@@ -4104,131 +4171,131 @@ add settings link in the Plugins section entry for MLA.</p>
|
|
4104 |
<p>For WordPress versions before 3.5,
|
4105 |
add submenu page(s) for attachment taxonomies,
|
4106 |
add filter to clean up taxonomy submenu labels.</p>]]></long-description>
|
4107 |
-
<tag line="
|
4108 |
-
<tag line="
|
4109 |
<type by_reference="false">void</type>
|
4110 |
</tag>
|
4111 |
</docblock>
|
4112 |
</method>
|
4113 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4114 |
<name>mla_load_media_action</name>
|
4115 |
<full_name>mla_load_media_action</full_name>
|
4116 |
-
<docblock line="
|
4117 |
<description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
|
4118 |
<long-description><![CDATA[]]></long-description>
|
4119 |
-
<tag line="
|
4120 |
-
<tag line="
|
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="
|
4126 |
<name>mla_add_menu_options</name>
|
4127 |
<full_name>mla_add_menu_options</full_name>
|
4128 |
-
<docblock line="
|
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="
|
4132 |
-
<tag line="
|
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="
|
4138 |
<name>mla_add_help_tab</name>
|
4139 |
<full_name>mla_add_help_tab</full_name>
|
4140 |
-
<docblock line="
|
4141 |
<description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
|
4142 |
<long-description><![CDATA[]]></long-description>
|
4143 |
-
<tag line="
|
4144 |
-
<tag line="
|
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="
|
4150 |
<name>mla_screen_options_show_screen_filter</name>
|
4151 |
<full_name>mla_screen_options_show_screen_filter</full_name>
|
4152 |
-
<docblock line="
|
4153 |
<description><![CDATA[Only show screen options on the table-list screen]]></description>
|
4154 |
<long-description><![CDATA[]]></long-description>
|
4155 |
-
<tag line="
|
4156 |
-
<tag line="
|
4157 |
<type by_reference="false">boolean</type>
|
4158 |
</tag>
|
4159 |
-
<tag line="
|
4160 |
<type by_reference="false">string</type>
|
4161 |
</tag>
|
4162 |
-
<tag line="
|
4163 |
<type by_reference="false">boolean</type>
|
4164 |
</tag>
|
4165 |
</docblock>
|
4166 |
-
<argument line="
|
4167 |
<name>$show_screen</name>
|
4168 |
<default><![CDATA[]]></default>
|
4169 |
<type/>
|
4170 |
</argument>
|
4171 |
-
<argument line="
|
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="
|
4178 |
<name>mla_set_screen_option_filter</name>
|
4179 |
<full_name>mla_set_screen_option_filter</full_name>
|
4180 |
-
<docblock line="
|
4181 |
<description><![CDATA[Save the "Entries per page" option set by this user]]></description>
|
4182 |
<long-description><![CDATA[]]></long-description>
|
4183 |
-
<tag line="
|
4184 |
-
<tag line="
|
4185 |
<type by_reference="false">mixed</type>
|
4186 |
</tag>
|
4187 |
-
<tag line="
|
4188 |
<type by_reference="false">string</type>
|
4189 |
</tag>
|
4190 |
-
<tag line="
|
4191 |
<type by_reference="false">string</type>
|
4192 |
</tag>
|
4193 |
-
<tag line="
|
4194 |
<type by_reference="false">string</type>
|
4195 |
<type by_reference="false">void</type>
|
4196 |
</tag>
|
4197 |
</docblock>
|
4198 |
-
<argument line="
|
4199 |
<name>$status</name>
|
4200 |
<default><![CDATA[]]></default>
|
4201 |
<type/>
|
4202 |
</argument>
|
4203 |
-
<argument line="
|
4204 |
<name>$option</name>
|
4205 |
<default><![CDATA[]]></default>
|
4206 |
<type/>
|
4207 |
</argument>
|
4208 |
-
<argument line="
|
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="
|
4215 |
<name>mla_edit_tax_redirect</name>
|
4216 |
<full_name>mla_edit_tax_redirect</full_name>
|
4217 |
-
<docblock line="
|
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="
|
4223 |
-
<tag line="
|
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="
|
4229 |
<name>mla_parent_file_filter</name>
|
4230 |
<full_name>mla_parent_file_filter</full_name>
|
4231 |
-
<docblock line="
|
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,218 +4303,230 @@ function cleans them up, redirecting the request to the right WordPress
|
|
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="
|
4240 |
-
<tag line="
|
4241 |
<type by_reference="false">array</type>
|
4242 |
</tag>
|
4243 |
-
<tag line="
|
4244 |
<type by_reference="false">string</type>
|
4245 |
</tag>
|
4246 |
</docblock>
|
4247 |
-
<argument line="
|
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="
|
4254 |
<name>_process_bulk_value</name>
|
4255 |
<full_name>_process_bulk_value</full_name>
|
4256 |
-
<docblock line="
|
4257 |
<description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
|
4258 |
<long-description><![CDATA[]]></long-description>
|
4259 |
-
<tag line="
|
4260 |
-
<tag line="
|
4261 |
<type by_reference="false">integer</type>
|
4262 |
</tag>
|
4263 |
-
<tag line="
|
4264 |
<type by_reference="false">string</type>
|
4265 |
</tag>
|
4266 |
-
<tag line="
|
4267 |
<type by_reference="false">string</type>
|
4268 |
</tag>
|
4269 |
</docblock>
|
4270 |
-
<argument line="
|
4271 |
<name>$post_id</name>
|
4272 |
<default><![CDATA[]]></default>
|
4273 |
<type/>
|
4274 |
</argument>
|
4275 |
-
<argument line="
|
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="
|
4282 |
<name>mla_render_admin_page</name>
|
4283 |
<full_name>mla_render_admin_page</full_name>
|
4284 |
-
<docblock line="
|
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="
|
4288 |
-
<tag line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="
|
4294 |
-
<name>
|
4295 |
-
<full_name>
|
4296 |
-
<docblock line="
|
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="
|
4300 |
-
<tag line="
|
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="
|
4306 |
<name>_build_inline_edit_form</name>
|
4307 |
<full_name>_build_inline_edit_form</full_name>
|
4308 |
-
<docblock line="
|
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="
|
4312 |
-
<tag line="
|
4313 |
<type by_reference="false">object</type>
|
4314 |
</tag>
|
4315 |
-
<tag line="
|
4316 |
<type by_reference="false">string</type>
|
4317 |
</tag>
|
4318 |
</docblock>
|
4319 |
-
<argument line="
|
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="
|
4326 |
<name>_authors_dropdown</name>
|
4327 |
<full_name>_authors_dropdown</full_name>
|
4328 |
-
<docblock line="
|
4329 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
4330 |
<long-description><![CDATA[]]></long-description>
|
4331 |
-
<tag line="
|
4332 |
-
<tag line="
|
4333 |
<type by_reference="false">integer</type>
|
4334 |
</tag>
|
4335 |
-
<tag line="
|
4336 |
<type by_reference="false">string</type>
|
4337 |
</tag>
|
4338 |
-
<tag line="
|
4339 |
<type by_reference="false">string</type>
|
4340 |
</tag>
|
4341 |
-
<tag line="
|
4342 |
<type by_reference="false">string</type>
|
4343 |
<type by_reference="false">false</type>
|
4344 |
</tag>
|
4345 |
</docblock>
|
4346 |
-
<argument line="
|
4347 |
<name>$author</name>
|
4348 |
<default><![CDATA[0]]></default>
|
4349 |
<type/>
|
4350 |
</argument>
|
4351 |
-
<argument line="
|
4352 |
<name>$name</name>
|
4353 |
<default><![CDATA['post_author']]></default>
|
4354 |
<type/>
|
4355 |
</argument>
|
4356 |
-
<argument line="
|
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="
|
4363 |
<name>_current_bulk_action</name>
|
4364 |
<full_name>_current_bulk_action</full_name>
|
4365 |
-
<docblock line="
|
4366 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
4367 |
<long-description><![CDATA[]]></long-description>
|
4368 |
-
<tag line="
|
4369 |
-
<tag line="
|
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="
|
4376 |
<name>_delete_single_item</name>
|
4377 |
<full_name>_delete_single_item</full_name>
|
4378 |
-
<docblock line="
|
4379 |
<description><![CDATA[Delete a single item permanently]]></description>
|
4380 |
<long-description><![CDATA[]]></long-description>
|
4381 |
-
<tag line="
|
4382 |
-
<tag line="
|
4383 |
<type by_reference="false">array</type>
|
4384 |
</tag>
|
4385 |
-
<tag line="
|
4386 |
<type by_reference="false">array</type>
|
4387 |
</tag>
|
4388 |
</docblock>
|
4389 |
-
<argument line="
|
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="
|
4396 |
<name>_display_single_item</name>
|
4397 |
<full_name>_display_single_item</full_name>
|
4398 |
-
<docblock line="
|
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="
|
4403 |
-
<tag line="
|
4404 |
<type by_reference="false">int</type>
|
4405 |
</tag>
|
4406 |
-
<tag line="
|
4407 |
<type by_reference="false">array</type>
|
4408 |
</tag>
|
4409 |
</docblock>
|
4410 |
-
<argument line="
|
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="
|
4417 |
<name>_restore_single_item</name>
|
4418 |
<full_name>_restore_single_item</full_name>
|
4419 |
-
<docblock line="
|
4420 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
4421 |
<long-description><![CDATA[]]></long-description>
|
4422 |
-
<tag line="
|
4423 |
-
<tag line="
|
4424 |
<type by_reference="false">array</type>
|
4425 |
</tag>
|
4426 |
-
<tag line="
|
4427 |
<type by_reference="false">array</type>
|
4428 |
</tag>
|
4429 |
</docblock>
|
4430 |
-
<argument line="
|
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="
|
4437 |
<name>_trash_single_item</name>
|
4438 |
<full_name>_trash_single_item</full_name>
|
4439 |
-
<docblock line="
|
4440 |
<description><![CDATA[Move a single item to Trash]]></description>
|
4441 |
<long-description><![CDATA[]]></long-description>
|
4442 |
-
<tag line="
|
4443 |
-
<tag line="
|
4444 |
<type by_reference="false">array</type>
|
4445 |
</tag>
|
4446 |
-
<tag line="
|
4447 |
<type by_reference="false">array</type>
|
4448 |
</tag>
|
4449 |
</docblock>
|
4450 |
-
<argument line="
|
4451 |
<name>$post_id</name>
|
4452 |
<default><![CDATA[]]></default>
|
4453 |
<type/>
|
@@ -6272,7 +6351,7 @@ which returns a count of the attachments assigned a given term]]></description>
|
|
6272 |
</method>
|
6273 |
</class>
|
6274 |
</file>
|
6275 |
-
<file path="includes\class-mla-options.php" hash="
|
6276 |
<docblock line="2">
|
6277 |
<description><![CDATA[Manages the plugin option settings]]></description>
|
6278 |
<long-description><![CDATA[]]></long-description>
|
@@ -7785,87 +7864,87 @@ excludes "template:" and "meta:" values.</p>]]></long-description>
|
|
7785 |
<type/>
|
7786 |
</argument>
|
7787 |
</method>
|
7788 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
7789 |
<name>_update_iptc_exif_custom_mapping</name>
|
7790 |
<full_name>_update_iptc_exif_custom_mapping</full_name>
|
7791 |
-
<docblock line="
|
7792 |
<description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
|
7793 |
<long-description><![CDATA[]]></long-description>
|
7794 |
-
<tag line="
|
7795 |
-
<tag line="
|
7796 |
<type by_reference="false">array</type>
|
7797 |
</tag>
|
7798 |
-
<tag line="
|
7799 |
<type by_reference="false">array</type>
|
7800 |
</tag>
|
7801 |
-
<tag line="
|
7802 |
<type by_reference="false">array</type>
|
7803 |
</tag>
|
7804 |
</docblock>
|
7805 |
-
<argument line="
|
7806 |
<name>$current_values</name>
|
7807 |
<default><![CDATA[]]></default>
|
7808 |
<type/>
|
7809 |
</argument>
|
7810 |
-
<argument line="
|
7811 |
<name>$new_values</name>
|
7812 |
<default><![CDATA[]]></default>
|
7813 |
<type/>
|
7814 |
</argument>
|
7815 |
</method>
|
7816 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
7817 |
<name>_get_custom_field_names</name>
|
7818 |
<full_name>_get_custom_field_names</full_name>
|
7819 |
-
<docblock line="
|
7820 |
<description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
|
7821 |
<long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
|
7822 |
haven't been mapped to any attachments, yet.</p>]]></long-description>
|
7823 |
-
<tag line="
|
7824 |
-
<tag line="
|
7825 |
<type by_reference="false">array</type>
|
7826 |
</tag>
|
7827 |
</docblock>
|
7828 |
</method>
|
7829 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7830 |
<name>mla_iptc_exif_option_handler</name>
|
7831 |
<full_name>mla_iptc_exif_option_handler</full_name>
|
7832 |
-
<docblock line="
|
7833 |
<description><![CDATA[Render and manage iptc/exif support options]]></description>
|
7834 |
<long-description><![CDATA[]]></long-description>
|
7835 |
-
<tag line="
|
7836 |
-
<tag line="
|
7837 |
-
<tag line="
|
7838 |
<type by_reference="false">string</type>
|
7839 |
</tag>
|
7840 |
-
<tag line="
|
7841 |
<type by_reference="false">string</type>
|
7842 |
</tag>
|
7843 |
-
<tag line="
|
7844 |
<type by_reference="false">array</type>
|
7845 |
</tag>
|
7846 |
-
<tag line="
|
7847 |
<type by_reference="false">array</type>
|
7848 |
</tag>
|
7849 |
-
<tag line="
|
7850 |
<type by_reference="false">string</type>
|
7851 |
</tag>
|
7852 |
</docblock>
|
7853 |
-
<argument line="
|
7854 |
<name>$action</name>
|
7855 |
<default><![CDATA[]]></default>
|
7856 |
<type/>
|
7857 |
</argument>
|
7858 |
-
<argument line="
|
7859 |
<name>$key</name>
|
7860 |
<default><![CDATA[]]></default>
|
7861 |
<type/>
|
7862 |
</argument>
|
7863 |
-
<argument line="
|
7864 |
<name>$value</name>
|
7865 |
<default><![CDATA[]]></default>
|
7866 |
<type/>
|
7867 |
</argument>
|
7868 |
-
<argument line="
|
7869 |
<name>$args</name>
|
7870 |
<default><![CDATA[null]]></default>
|
7871 |
<type/>
|
@@ -7873,7 +7952,7 @@ haven't been mapped to any attachments, yet.</p>]]></long-description>
|
|
7873 |
</method>
|
7874 |
</class>
|
7875 |
</file>
|
7876 |
-
<file path="includes\class-mla-settings.php" hash="
|
7877 |
<docblock line="2">
|
7878 |
<description><![CDATA[Manages the settings page to edit the plugin option settings]]></description>
|
7879 |
<long-description><![CDATA[]]></long-description>
|
@@ -7982,14 +8061,14 @@ each page load and cached for subsequent use.</p>]]></long-description>
|
|
7982 |
<docblock line="848">
|
7983 |
<description><![CDATA[Definitions for Settings page tab ids, titles and handlers
|
7984 |
Each tab is defined by an array with the following elements:]]></description>
|
7985 |
-
<long-description><![CDATA[<p>
|
7986 |
-
because Localization calls cannot be placed in the "public static" array definition itself.</p>
|
7987 |
-
|
7988 |
-
<p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
|
7989 |
|
7990 |
<p>title => tab label / heading text
|
7991 |
render => rendering function for tab messages and content. Usage:
|
7992 |
-
$tab_content = <a href="">'render'</a>;</p>
|
|
|
|
|
|
|
7993 |
<tag line="848" name="since" description="0.80"/>
|
7994 |
<tag line="848" name="var" description="" type="array">
|
7995 |
<type by_reference="false">array</type>
|
@@ -8302,522 +8381,544 @@ in the "public static" array definition itself.</p>]]></long-description>
|
|
8302 |
</tag>
|
8303 |
</docblock>
|
8304 |
</method>
|
8305 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8306 |
<name>_compose_settings_tabs</name>
|
8307 |
<full_name>_compose_settings_tabs</full_name>
|
8308 |
-
<docblock line="
|
8309 |
<description><![CDATA[Compose the navigation tabs for the Settings subpage]]></description>
|
8310 |
<long-description><![CDATA[]]></long-description>
|
8311 |
-
<tag line="
|
8312 |
-
<tag line="
|
8313 |
-
<tag line="
|
8314 |
<type by_reference="false">string</type>
|
8315 |
</tag>
|
8316 |
-
<tag line="
|
8317 |
<type by_reference="false">string</type>
|
8318 |
</tag>
|
8319 |
</docblock>
|
8320 |
-
<argument line="
|
8321 |
<name>$active_tab</name>
|
8322 |
<default><![CDATA['general']]></default>
|
8323 |
<type/>
|
8324 |
</argument>
|
8325 |
</method>
|
8326 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8327 |
<name>_compose_general_tab</name>
|
8328 |
<full_name>_compose_general_tab</full_name>
|
8329 |
-
<docblock line="
|
8330 |
<description><![CDATA[Compose the General tab content for the Settings subpage]]></description>
|
8331 |
<long-description><![CDATA[]]></long-description>
|
8332 |
-
<tag line="
|
8333 |
-
<tag line="
|
8334 |
-
<tag line="
|
8335 |
<type by_reference="false">array</type>
|
8336 |
</tag>
|
8337 |
</docblock>
|
8338 |
</method>
|
8339 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8340 |
<name>_current_bulk_action</name>
|
8341 |
<full_name>_current_bulk_action</full_name>
|
8342 |
-
<docblock line="
|
8343 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
8344 |
<long-description><![CDATA[]]></long-description>
|
8345 |
-
<tag line="
|
8346 |
-
<tag line="
|
8347 |
<type by_reference="false">string</type>
|
8348 |
<type by_reference="false">false</type>
|
8349 |
</tag>
|
8350 |
</docblock>
|
8351 |
</method>
|
8352 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8353 |
<name>_compose_edit_view_tab</name>
|
8354 |
<full_name>_compose_edit_view_tab</full_name>
|
8355 |
-
<docblock line="
|
8356 |
<description><![CDATA[Compose the Edit View tab content for the Settings subpage]]></description>
|
8357 |
<long-description><![CDATA[]]></long-description>
|
8358 |
-
<tag line="
|
8359 |
-
<tag line="
|
8360 |
<type by_reference="false">array</type>
|
8361 |
</tag>
|
8362 |
-
<tag line="
|
8363 |
<type by_reference="false">string</type>
|
8364 |
</tag>
|
8365 |
-
<tag line="
|
8366 |
<type by_reference="false">array</type>
|
8367 |
</tag>
|
8368 |
</docblock>
|
8369 |
-
<argument line="
|
8370 |
<name>$view</name>
|
8371 |
<default><![CDATA[]]></default>
|
8372 |
<type/>
|
8373 |
</argument>
|
8374 |
-
<argument line="
|
8375 |
<name>$template</name>
|
8376 |
<default><![CDATA[]]></default>
|
8377 |
<type/>
|
8378 |
</argument>
|
8379 |
</method>
|
8380 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8381 |
<name>_compose_view_tab</name>
|
8382 |
<full_name>_compose_view_tab</full_name>
|
8383 |
-
<docblock line="
|
8384 |
<description><![CDATA[Compose the Post MIME Type Views tab content for the Settings subpage]]></description>
|
8385 |
<long-description><![CDATA[]]></long-description>
|
8386 |
-
<tag line="
|
8387 |
-
<tag line="
|
8388 |
<type by_reference="false">array</type>
|
8389 |
</tag>
|
8390 |
</docblock>
|
8391 |
</method>
|
8392 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8393 |
<name>mla_get_icon_type_dropdown</name>
|
8394 |
<full_name>mla_get_icon_type_dropdown</full_name>
|
8395 |
-
<docblock line="
|
8396 |
<description><![CDATA[Get an HTML select element representing a list of icon types]]></description>
|
8397 |
<long-description><![CDATA[]]></long-description>
|
8398 |
-
<tag line="
|
8399 |
-
<tag line="
|
8400 |
<type by_reference="false">array</type>
|
8401 |
</tag>
|
8402 |
-
<tag line="
|
8403 |
<type by_reference="false">string</type>
|
8404 |
</tag>
|
8405 |
-
<tag line="
|
8406 |
<type by_reference="false">string</type>
|
8407 |
</tag>
|
8408 |
-
<tag line="
|
8409 |
<type by_reference="false">string</type>
|
8410 |
</tag>
|
8411 |
</docblock>
|
8412 |
-
<argument line="
|
8413 |
<name>$templates</name>
|
8414 |
<default><![CDATA[]]></default>
|
8415 |
<type/>
|
8416 |
</argument>
|
8417 |
-
<argument line="
|
8418 |
<name>$name</name>
|
8419 |
<default><![CDATA[]]></default>
|
8420 |
<type/>
|
8421 |
</argument>
|
8422 |
-
<argument line="
|
8423 |
<name>$selection</name>
|
8424 |
<default><![CDATA['.none.']]></default>
|
8425 |
<type/>
|
8426 |
</argument>
|
8427 |
</method>
|
8428 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8429 |
<name>_compose_edit_upload_tab</name>
|
8430 |
<full_name>_compose_edit_upload_tab</full_name>
|
8431 |
-
<docblock line="
|
8432 |
<description><![CDATA[Compose the Edit Upload type tab content for the Settings subpage]]></description>
|
8433 |
<long-description><![CDATA[]]></long-description>
|
8434 |
-
<tag line="
|
8435 |
-
<tag line="
|
8436 |
<type by_reference="false">array</type>
|
8437 |
</tag>
|
8438 |
-
<tag line="
|
8439 |
<type by_reference="false">string</type>
|
8440 |
</tag>
|
8441 |
-
<tag line="
|
8442 |
<type by_reference="false">array</type>
|
8443 |
</tag>
|
8444 |
</docblock>
|
8445 |
-
<argument line="
|
8446 |
<name>$item</name>
|
8447 |
<default><![CDATA[]]></default>
|
8448 |
<type/>
|
8449 |
</argument>
|
8450 |
-
<argument line="
|
8451 |
<name>$templates</name>
|
8452 |
<default><![CDATA[]]></default>
|
8453 |
<type/>
|
8454 |
</argument>
|
8455 |
</method>
|
8456 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8457 |
<name>_compose_optional_upload_tab</name>
|
8458 |
<full_name>_compose_optional_upload_tab</full_name>
|
8459 |
-
<docblock line="
|
8460 |
<description><![CDATA[Compose the Optional File Upload MIME Types tab content for the Settings subpage]]></description>
|
8461 |
<long-description><![CDATA[]]></long-description>
|
8462 |
-
<tag line="
|
8463 |
-
<tag line="
|
8464 |
<type by_reference="false">string</type>
|
8465 |
</tag>
|
8466 |
-
<tag line="
|
8467 |
<type by_reference="false">array</type>
|
8468 |
</tag>
|
8469 |
</docblock>
|
8470 |
-
<argument line="
|
8471 |
<name>$page_template_array</name>
|
8472 |
<default><![CDATA[]]></default>
|
8473 |
<type/>
|
8474 |
</argument>
|
8475 |
</method>
|
8476 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8477 |
<name>_process_optional_upload_mime</name>
|
8478 |
<full_name>_process_optional_upload_mime</full_name>
|
8479 |
-
<docblock line="
|
8480 |
<description><![CDATA[Process an Optional Upload MIME Type selection]]></description>
|
8481 |
<long-description><![CDATA[]]></long-description>
|
8482 |
-
<tag line="
|
8483 |
-
<tag line="
|
8484 |
<type by_reference="false">\intger</type>
|
8485 |
</tag>
|
8486 |
-
<tag line="
|
8487 |
<type by_reference="false">array</type>
|
8488 |
</tag>
|
8489 |
</docblock>
|
8490 |
-
<argument line="
|
8491 |
<name>$ID</name>
|
8492 |
<default><![CDATA[]]></default>
|
8493 |
<type/>
|
8494 |
</argument>
|
8495 |
</method>
|
8496 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8497 |
<name>_compose_upload_tab</name>
|
8498 |
<full_name>_compose_upload_tab</full_name>
|
8499 |
-
<docblock line="
|
8500 |
<description><![CDATA[Compose the File Upload MIME Types tab content for the Settings subpage]]></description>
|
8501 |
<long-description><![CDATA[]]></long-description>
|
8502 |
-
<tag line="
|
8503 |
-
<tag line="
|
8504 |
<type by_reference="false">array</type>
|
8505 |
</tag>
|
8506 |
</docblock>
|
8507 |
</method>
|
8508 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8509 |
<name>_compose_mla_gallery_tab</name>
|
8510 |
<full_name>_compose_mla_gallery_tab</full_name>
|
8511 |
-
<docblock line="
|
8512 |
<description><![CDATA[Compose the MLA Gallery tab content for the Settings subpage]]></description>
|
8513 |
<long-description><![CDATA[]]></long-description>
|
8514 |
-
<tag line="
|
8515 |
-
<tag line="
|
8516 |
-
<tag line="
|
8517 |
<type by_reference="false">array</type>
|
8518 |
</tag>
|
8519 |
</docblock>
|
8520 |
</method>
|
8521 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8522 |
<name>_compose_custom_field_tab</name>
|
8523 |
<full_name>_compose_custom_field_tab</full_name>
|
8524 |
-
<docblock line="
|
8525 |
<description><![CDATA[Compose the Custom Field tab content for the Settings subpage]]></description>
|
8526 |
<long-description><![CDATA[]]></long-description>
|
8527 |
-
<tag line="
|
8528 |
-
<tag line="
|
8529 |
-
<tag line="
|
8530 |
<type by_reference="false">array</type>
|
8531 |
</tag>
|
8532 |
</docblock>
|
8533 |
</method>
|
8534 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8535 |
<name>_compose_iptc_exif_tab</name>
|
8536 |
<full_name>_compose_iptc_exif_tab</full_name>
|
8537 |
-
<docblock line="
|
8538 |
<description><![CDATA[Compose the IPTC/EXIF tab content for the Settings subpage]]></description>
|
8539 |
<long-description><![CDATA[]]></long-description>
|
8540 |
-
<tag line="
|
8541 |
-
<tag line="
|
8542 |
-
<tag line="
|
8543 |
<type by_reference="false">array</type>
|
8544 |
</tag>
|
8545 |
</docblock>
|
8546 |
</method>
|
8547 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8548 |
<name>_compose_documentation_tab</name>
|
8549 |
<full_name>_compose_documentation_tab</full_name>
|
8550 |
-
<docblock line="
|
8551 |
<description><![CDATA[Compose the Documentation tab content for the Settings subpage]]></description>
|
8552 |
<long-description><![CDATA[]]></long-description>
|
8553 |
-
<tag line="
|
8554 |
-
<tag line="
|
8555 |
-
<tag line="
|
8556 |
<type by_reference="false">array</type>
|
8557 |
</tag>
|
8558 |
</docblock>
|
8559 |
</method>
|
8560 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8561 |
<name>mla_render_settings_page</name>
|
8562 |
<full_name>mla_render_settings_page</full_name>
|
8563 |
-
<docblock line="
|
8564 |
<description><![CDATA[Render (echo) the "Media Library Assistant" subpage in the Settings section]]></description>
|
8565 |
<long-description><![CDATA[]]></long-description>
|
8566 |
-
<tag line="
|
8567 |
-
<tag line="
|
8568 |
<type by_reference="false">void</type>
|
8569 |
</tag>
|
8570 |
</docblock>
|
8571 |
</method>
|
8572 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8573 |
<name>_save_gallery_settings</name>
|
8574 |
<full_name>_save_gallery_settings</full_name>
|
8575 |
-
<docblock line="
|
8576 |
<description><![CDATA[Save MLA Gallery settings to the options table]]></description>
|
8577 |
<long-description><![CDATA[]]></long-description>
|
8578 |
-
<tag line="
|
8579 |
-
<tag line="
|
8580 |
-
<tag line="
|
8581 |
<type by_reference="false">array</type>
|
8582 |
</tag>
|
8583 |
</docblock>
|
8584 |
</method>
|
8585 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8586 |
<name>_save_view_settings</name>
|
8587 |
<full_name>_save_view_settings</full_name>
|
8588 |
-
<docblock line="
|
8589 |
<description><![CDATA[Save View settings to the options table]]></description>
|
8590 |
<long-description><![CDATA[]]></long-description>
|
8591 |
-
<tag line="
|
8592 |
-
<tag line="
|
8593 |
-
<tag line="
|
8594 |
<type by_reference="false">array</type>
|
8595 |
</tag>
|
8596 |
</docblock>
|
8597 |
</method>
|
8598 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8599 |
<name>_save_upload_settings</name>
|
8600 |
<full_name>_save_upload_settings</full_name>
|
8601 |
-
<docblock line="
|
8602 |
<description><![CDATA[Save Upload settings to the options table]]></description>
|
8603 |
<long-description><![CDATA[]]></long-description>
|
8604 |
-
<tag line="
|
8605 |
-
<tag line="
|
8606 |
-
<tag line="
|
8607 |
<type by_reference="false">array</type>
|
8608 |
</tag>
|
8609 |
</docblock>
|
8610 |
</method>
|
8611 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8612 |
<name>_process_custom_field_mapping</name>
|
8613 |
<full_name>_process_custom_field_mapping</full_name>
|
8614 |
-
<docblock line="
|
8615 |
<description><![CDATA[Process custom field settings against all image attachments
|
8616 |
without saving the settings to the mla_option]]></description>
|
8617 |
<long-description><![CDATA[]]></long-description>
|
8618 |
-
<tag line="
|
8619 |
-
<tag line="
|
8620 |
-
<tag line="
|
8621 |
<type by_reference="false">array</type>
|
8622 |
</tag>
|
8623 |
-
<tag line="
|
8624 |
<type by_reference="false">array</type>
|
8625 |
</tag>
|
8626 |
</docblock>
|
8627 |
-
<argument line="
|
8628 |
<name>$settings</name>
|
8629 |
<default><![CDATA[NULL]]></default>
|
8630 |
<type/>
|
8631 |
</argument>
|
8632 |
</method>
|
8633 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8634 |
<name>_delete_custom_field</name>
|
8635 |
<full_name>_delete_custom_field</full_name>
|
8636 |
-
<docblock line="
|
8637 |
<description><![CDATA[Delete a custom field from the wp_postmeta table]]></description>
|
8638 |
<long-description><![CDATA[]]></long-description>
|
8639 |
-
<tag line="
|
8640 |
-
<tag line="
|
8641 |
<type by_reference="false">array</type>
|
8642 |
</tag>
|
8643 |
-
<tag line="
|
8644 |
<type by_reference="false">array</type>
|
8645 |
</tag>
|
8646 |
</docblock>
|
8647 |
-
<argument line="
|
8648 |
<name>$value</name>
|
8649 |
<default><![CDATA[]]></default>
|
8650 |
<type/>
|
8651 |
</argument>
|
8652 |
</method>
|
8653 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8654 |
<name>_save_custom_field_settings</name>
|
8655 |
<full_name>_save_custom_field_settings</full_name>
|
8656 |
-
<docblock line="
|
8657 |
<description><![CDATA[Save custom field settings to the options table]]></description>
|
8658 |
<long-description><![CDATA[]]></long-description>
|
8659 |
-
<tag line="
|
8660 |
-
<tag line="
|
8661 |
-
<tag line="
|
8662 |
<type by_reference="false">array</type>
|
8663 |
</tag>
|
8664 |
-
<tag line="
|
8665 |
<type by_reference="false">array</type>
|
8666 |
</tag>
|
8667 |
</docblock>
|
8668 |
-
<argument line="
|
8669 |
<name>$new_values</name>
|
8670 |
<default><![CDATA[NULL]]></default>
|
8671 |
<type/>
|
8672 |
</argument>
|
8673 |
</method>
|
8674 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8675 |
<name>_process_iptc_exif_standard</name>
|
8676 |
<full_name>_process_iptc_exif_standard</full_name>
|
8677 |
-
<docblock line="
|
8678 |
<description><![CDATA[Process IPTC/EXIF standard field settings against all image attachments
|
8679 |
without saving the settings to the mla_option]]></description>
|
8680 |
<long-description><![CDATA[]]></long-description>
|
8681 |
-
<tag line="
|
8682 |
-
<tag line="
|
8683 |
-
<tag line="
|
8684 |
<type by_reference="false">array</type>
|
8685 |
</tag>
|
8686 |
</docblock>
|
8687 |
</method>
|
8688 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8689 |
<name>_process_iptc_exif_taxonomy</name>
|
8690 |
<full_name>_process_iptc_exif_taxonomy</full_name>
|
8691 |
-
<docblock line="
|
8692 |
<description><![CDATA[Process IPTC/EXIF taxonomy term settings against all image attachments
|
8693 |
without saving the settings to the mla_option]]></description>
|
8694 |
<long-description><![CDATA[]]></long-description>
|
8695 |
-
<tag line="
|
8696 |
-
<tag line="
|
8697 |
-
<tag line="
|
8698 |
<type by_reference="false">array</type>
|
8699 |
</tag>
|
8700 |
</docblock>
|
8701 |
</method>
|
8702 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8703 |
<name>_process_iptc_exif_custom</name>
|
8704 |
<full_name>_process_iptc_exif_custom</full_name>
|
8705 |
-
<docblock line="
|
8706 |
<description><![CDATA[Process IPTC/EXIF custom field settings against all image attachments
|
8707 |
without saving the settings to the mla_option]]></description>
|
8708 |
<long-description><![CDATA[]]></long-description>
|
8709 |
-
<tag line="
|
8710 |
-
<tag line="
|
8711 |
-
<tag line="
|
8712 |
<type by_reference="false">array</type>
|
8713 |
</tag>
|
8714 |
-
<tag line="
|
8715 |
<type by_reference="false">array</type>
|
8716 |
</tag>
|
8717 |
</docblock>
|
8718 |
-
<argument line="
|
8719 |
<name>$settings</name>
|
8720 |
<default><![CDATA[NULL]]></default>
|
8721 |
<type/>
|
8722 |
</argument>
|
8723 |
</method>
|
8724 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8725 |
<name>_save_iptc_exif_custom_settings</name>
|
8726 |
<full_name>_save_iptc_exif_custom_settings</full_name>
|
8727 |
-
<docblock line="
|
8728 |
<description><![CDATA[Save IPTC/EXIF custom field settings to the options table]]></description>
|
8729 |
<long-description><![CDATA[]]></long-description>
|
8730 |
-
<tag line="
|
8731 |
-
<tag line="
|
8732 |
<type by_reference="false">array</type>
|
8733 |
</tag>
|
8734 |
-
<tag line="
|
8735 |
<type by_reference="false">array</type>
|
8736 |
</tag>
|
8737 |
</docblock>
|
8738 |
-
<argument line="
|
8739 |
<name>$new_values</name>
|
8740 |
<default><![CDATA[]]></default>
|
8741 |
<type/>
|
8742 |
</argument>
|
8743 |
</method>
|
8744 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8745 |
<name>_save_iptc_exif_settings</name>
|
8746 |
<full_name>_save_iptc_exif_settings</full_name>
|
8747 |
-
<docblock line="
|
8748 |
<description><![CDATA[Save IPTC/EXIF settings to the options table]]></description>
|
8749 |
<long-description><![CDATA[]]></long-description>
|
8750 |
-
<tag line="
|
8751 |
-
<tag line="
|
8752 |
-
<tag line="
|
8753 |
<type by_reference="false">array</type>
|
8754 |
</tag>
|
8755 |
</docblock>
|
8756 |
</method>
|
8757 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8758 |
<name>_save_general_settings</name>
|
8759 |
<full_name>_save_general_settings</full_name>
|
8760 |
-
<docblock line="
|
8761 |
<description><![CDATA[Save General settings to the options table]]></description>
|
8762 |
<long-description><![CDATA[]]></long-description>
|
8763 |
-
<tag line="
|
8764 |
-
<tag line="
|
8765 |
-
<tag line="
|
8766 |
<type by_reference="false">array</type>
|
8767 |
</tag>
|
8768 |
</docblock>
|
8769 |
</method>
|
8770 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8771 |
<name>_reset_general_settings</name>
|
8772 |
<full_name>_reset_general_settings</full_name>
|
8773 |
-
<docblock line="
|
8774 |
<description><![CDATA[Delete saved settings, restoring default values]]></description>
|
8775 |
<long-description><![CDATA[]]></long-description>
|
8776 |
-
<tag line="
|
8777 |
-
<tag line="
|
8778 |
<type by_reference="false">array</type>
|
8779 |
</tag>
|
8780 |
</docblock>
|
8781 |
</method>
|
8782 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8783 |
<name>_compose_import_settings</name>
|
8784 |
<full_name>_compose_import_settings</full_name>
|
8785 |
-
<docblock line="
|
8786 |
<description><![CDATA[Compose HTML markup for the import settings if any settings files exist]]></description>
|
8787 |
<long-description><![CDATA[]]></long-description>
|
8788 |
-
<tag line="
|
8789 |
-
<tag line="
|
8790 |
<type by_reference="false">string</type>
|
8791 |
</tag>
|
8792 |
</docblock>
|
8793 |
</method>
|
8794 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8795 |
<name>_export_settings</name>
|
8796 |
<full_name>_export_settings</full_name>
|
8797 |
-
<docblock line="
|
8798 |
<description><![CDATA[Serialize option settings and write them to a file]]></description>
|
8799 |
<long-description><![CDATA[<p>Options with a default value, i.e., not stored in the database are NOT written to the file.</p>]]></long-description>
|
8800 |
-
<tag line="
|
8801 |
-
<tag line="
|
8802 |
<type by_reference="false">array</type>
|
8803 |
</tag>
|
8804 |
</docblock>
|
8805 |
</method>
|
8806 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8807 |
<name>_import_settings</name>
|
8808 |
<full_name>_import_settings</full_name>
|
8809 |
-
<docblock line="
|
8810 |
<description><![CDATA[Read a serialized file of option settings and write them to the database]]></description>
|
8811 |
<long-description><![CDATA[]]></long-description>
|
8812 |
-
<tag line="
|
8813 |
-
<tag line="
|
8814 |
<type by_reference="false">array</type>
|
8815 |
</tag>
|
8816 |
</docblock>
|
8817 |
</method>
|
8818 |
</class>
|
8819 |
</file>
|
8820 |
-
<file path="includes\class-mla-shortcodes.php" hash="
|
8821 |
<docblock line="2">
|
8822 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
8823 |
<long-description><![CDATA[]]></long-description>
|
@@ -8858,10 +8959,10 @@ without saving the settings to the mla_option]]></description>
|
|
8858 |
</tag>
|
8859 |
</docblock>
|
8860 |
</property>
|
8861 |
-
<property final="false" static="true" visibility="private" line="
|
8862 |
<name>$query_parameters</name>
|
8863 |
<default><![CDATA[array()]]></default>
|
8864 |
-
<docblock line="
|
8865 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
8866 |
<long-description><![CDATA[<p>This array defines parameters for the query's where and orderby filters,
|
8867 |
mla_shortcode_query_posts_where_filter and mla_shortcode_query_posts_orderby_filter.
|
@@ -8869,45 +8970,45 @@ The parameters are set up in the mla_get_shortcode_attachments function, and
|
|
8869 |
any further logic required to translate those values is contained in the filter.</p>
|
8870 |
|
8871 |
<p>Array index values are: orderby, post_parent</p>]]></long-description>
|
8872 |
-
<tag line="
|
8873 |
-
<tag line="
|
8874 |
<type by_reference="false">array</type>
|
8875 |
</tag>
|
8876 |
</docblock>
|
8877 |
</property>
|
8878 |
-
<property final="false" static="true" visibility="private" line="
|
8879 |
<name>$mla_get_shortcode_attachments_parameters</name>
|
8880 |
<default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'tax_operator' => '', 'tax_include_children' => true, 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 's' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
|
8881 |
-
<docblock line="
|
8882 |
<description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
|
8883 |
<long-description><![CDATA[]]></long-description>
|
8884 |
-
<tag line="
|
8885 |
-
<tag line="
|
8886 |
<type by_reference="false">array</type>
|
8887 |
</tag>
|
8888 |
</docblock>
|
8889 |
</property>
|
8890 |
-
<property final="false" static="true" visibility="public" line="
|
8891 |
<name>$mla_gallery_wp_query_object</name>
|
8892 |
<default><![CDATA[NULL]]></default>
|
8893 |
-
<docblock line="
|
8894 |
<description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
|
8895 |
<long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
|
8896 |
"mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
|
8897 |
-
<tag line="
|
8898 |
-
<tag line="
|
8899 |
<type by_reference="false">object</type>
|
8900 |
</tag>
|
8901 |
</docblock>
|
8902 |
</property>
|
8903 |
-
<property final="false" static="true" visibility="private" line="
|
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="
|
8907 |
<description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
|
8908 |
<long-description><![CDATA[]]></long-description>
|
8909 |
-
<tag line="
|
8910 |
-
<tag line="
|
8911 |
<type by_reference="false">array</type>
|
8912 |
</tag>
|
8913 |
</docblock>
|
@@ -8966,355 +9067,367 @@ Enhancements include many additional selection parameters and full taxonomy supp
|
|
8966 |
<type/>
|
8967 |
</argument>
|
8968 |
</method>
|
8969 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8970 |
<name>mla_tag_cloud</name>
|
8971 |
<full_name>mla_tag_cloud</full_name>
|
8972 |
-
<docblock line="
|
8973 |
<description><![CDATA[The MLA Tag Cloud support function.]]></description>
|
8974 |
<long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
|
8975 |
options to customize the hyperlink behind each term.</p>]]></long-description>
|
8976 |
-
<tag line="
|
8977 |
-
<tag line="
|
8978 |
<type by_reference="false">array</type>
|
8979 |
</tag>
|
8980 |
-
<tag line="
|
8981 |
<type by_reference="false">string</type>
|
8982 |
</tag>
|
8983 |
</docblock>
|
8984 |
-
<argument line="
|
8985 |
<name>$attr</name>
|
8986 |
<default><![CDATA[]]></default>
|
8987 |
<type/>
|
8988 |
</argument>
|
8989 |
</method>
|
8990 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8991 |
<name>mla_tag_cloud_shortcode</name>
|
8992 |
<full_name>mla_tag_cloud_shortcode</full_name>
|
8993 |
-
<docblock line="
|
8994 |
<description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
|
8995 |
<long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
|
8996 |
-
<tag line="
|
8997 |
-
<tag line="
|
8998 |
<type by_reference="false">array</type>
|
8999 |
</tag>
|
9000 |
-
<tag line="
|
9001 |
<type by_reference="false">string</type>
|
9002 |
</tag>
|
9003 |
</docblock>
|
9004 |
-
<argument line="
|
9005 |
<name>$attr</name>
|
9006 |
<default><![CDATA[]]></default>
|
9007 |
<type/>
|
9008 |
</argument>
|
9009 |
</method>
|
9010 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9011 |
<name>_process_shortcode_parameter</name>
|
9012 |
<full_name>_process_shortcode_parameter</full_name>
|
9013 |
-
<docblock line="
|
9014 |
<description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
|
9015 |
<long-description><![CDATA[]]></long-description>
|
9016 |
-
<tag line="
|
9017 |
-
<tag line="
|
9018 |
<type by_reference="false">string</type>
|
9019 |
</tag>
|
9020 |
-
<tag line="
|
9021 |
<type by_reference="false">string</type>
|
9022 |
</tag>
|
9023 |
-
<tag line="
|
9024 |
<type by_reference="false">string</type>
|
9025 |
</tag>
|
9026 |
</docblock>
|
9027 |
-
<argument line="
|
9028 |
<name>$text</name>
|
9029 |
<default><![CDATA[]]></default>
|
9030 |
<type/>
|
9031 |
</argument>
|
9032 |
-
<argument line="
|
9033 |
<name>$markup_values</name>
|
9034 |
<default><![CDATA[]]></default>
|
9035 |
<type/>
|
9036 |
</argument>
|
9037 |
</method>
|
9038 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9039 |
<name>_paginate_links</name>
|
9040 |
<full_name>_paginate_links</full_name>
|
9041 |
-
<docblock line="
|
9042 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9043 |
<long-description><![CDATA[]]></long-description>
|
9044 |
-
<tag line="
|
9045 |
-
<tag line="
|
9046 |
<type by_reference="false">array</type>
|
9047 |
</tag>
|
9048 |
-
<tag line="
|
9049 |
<type by_reference="false">string</type>
|
9050 |
</tag>
|
9051 |
-
<tag line="
|
9052 |
<type by_reference="false">string</type>
|
9053 |
</tag>
|
9054 |
-
<tag line="
|
9055 |
<type by_reference="false">integer</type>
|
9056 |
</tag>
|
9057 |
-
<tag line="
|
9058 |
<type by_reference="false">string</type>
|
9059 |
</tag>
|
9060 |
-
<tag line="
|
9061 |
<type by_reference="false">mixed</type>
|
9062 |
</tag>
|
9063 |
</docblock>
|
9064 |
-
<argument line="
|
9065 |
<name>$output_parameters</name>
|
9066 |
<default><![CDATA[]]></default>
|
9067 |
<type/>
|
9068 |
</argument>
|
9069 |
-
<argument line="
|
9070 |
<name>$markup_values</name>
|
9071 |
<default><![CDATA[]]></default>
|
9072 |
<type/>
|
9073 |
</argument>
|
9074 |
-
<argument line="
|
9075 |
<name>$arguments</name>
|
9076 |
<default><![CDATA[]]></default>
|
9077 |
<type/>
|
9078 |
</argument>
|
9079 |
-
<argument line="
|
9080 |
<name>$found_rows</name>
|
9081 |
<default><![CDATA[]]></default>
|
9082 |
<type/>
|
9083 |
</argument>
|
9084 |
-
<argument line="
|
9085 |
<name>$output</name>
|
9086 |
<default><![CDATA['']]></default>
|
9087 |
<type/>
|
9088 |
</argument>
|
9089 |
</method>
|
9090 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9091 |
<name>_process_pagination_output_types</name>
|
9092 |
<full_name>_process_pagination_output_types</full_name>
|
9093 |
-
<docblock line="
|
9094 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9095 |
<long-description><![CDATA[]]></long-description>
|
9096 |
-
<tag line="
|
9097 |
-
<tag line="
|
9098 |
<type by_reference="false">array</type>
|
9099 |
</tag>
|
9100 |
-
<tag line="
|
9101 |
<type by_reference="false">string</type>
|
9102 |
</tag>
|
9103 |
-
<tag line="
|
9104 |
<type by_reference="false">string</type>
|
9105 |
</tag>
|
9106 |
-
<tag line="
|
9107 |
<type by_reference="false">string</type>
|
9108 |
</tag>
|
9109 |
-
<tag line="
|
9110 |
<type by_reference="false">integer</type>
|
9111 |
</tag>
|
9112 |
-
<tag line="
|
9113 |
<type by_reference="false">string</type>
|
9114 |
</tag>
|
9115 |
-
<tag line="
|
9116 |
<type by_reference="false">mixed</type>
|
9117 |
</tag>
|
9118 |
</docblock>
|
9119 |
-
<argument line="
|
9120 |
<name>$output_parameters</name>
|
9121 |
<default><![CDATA[]]></default>
|
9122 |
<type/>
|
9123 |
</argument>
|
9124 |
-
<argument line="
|
9125 |
<name>$markup_values</name>
|
9126 |
<default><![CDATA[]]></default>
|
9127 |
<type/>
|
9128 |
</argument>
|
9129 |
-
<argument line="
|
9130 |
<name>$arguments</name>
|
9131 |
<default><![CDATA[]]></default>
|
9132 |
<type/>
|
9133 |
</argument>
|
9134 |
-
<argument line="
|
9135 |
<name>$attr</name>
|
9136 |
<default><![CDATA[]]></default>
|
9137 |
<type/>
|
9138 |
</argument>
|
9139 |
-
<argument line="
|
9140 |
<name>$found_rows</name>
|
9141 |
<default><![CDATA[]]></default>
|
9142 |
<type/>
|
9143 |
</argument>
|
9144 |
-
<argument line="
|
9145 |
<name>$output</name>
|
9146 |
<default><![CDATA['']]></default>
|
9147 |
<type/>
|
9148 |
</argument>
|
9149 |
</method>
|
9150 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9151 |
<name>_sanitize_query_specification</name>
|
9152 |
<full_name>_sanitize_query_specification</full_name>
|
9153 |
-
<docblock line="
|
9154 |
<description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
|
9155 |
<long-description><![CDATA[]]></long-description>
|
9156 |
-
<tag line="
|
9157 |
-
<tag line="
|
9158 |
<type by_reference="false">string</type>
|
9159 |
</tag>
|
9160 |
-
<tag line="
|
9161 |
<type by_reference="false">string</type>
|
9162 |
</tag>
|
9163 |
</docblock>
|
9164 |
-
<argument line="
|
9165 |
<name>$specification</name>
|
9166 |
<default><![CDATA[]]></default>
|
9167 |
<type/>
|
9168 |
</argument>
|
9169 |
</method>
|
9170 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9171 |
<name>_validate_sql_orderby</name>
|
9172 |
<full_name>_validate_sql_orderby</full_name>
|
9173 |
-
<docblock line="
|
9174 |
<description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
|
9175 |
<long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
|
9176 |
Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
|
9177 |
-
<tag line="
|
9178 |
-
<tag line="
|
9179 |
<type by_reference="false">array</type>
|
9180 |
</tag>
|
9181 |
-
<tag line="
|
9182 |
<type by_reference="false">string</type>
|
9183 |
<type by_reference="false">bool</type>
|
9184 |
</tag>
|
9185 |
</docblock>
|
9186 |
-
<argument line="
|
9187 |
<name>$query_parameters</name>
|
9188 |
<default><![CDATA[]]></default>
|
9189 |
<type/>
|
9190 |
</argument>
|
9191 |
</method>
|
9192 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9193 |
<name>mla_get_shortcode_attachments</name>
|
9194 |
<full_name>mla_get_shortcode_attachments</full_name>
|
9195 |
-
<docblock line="
|
9196 |
<description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
|
9197 |
<long-description><![CDATA[]]></long-description>
|
9198 |
-
<tag line="
|
9199 |
-
<tag line="
|
9200 |
<type by_reference="false">int</type>
|
9201 |
</tag>
|
9202 |
-
<tag line="
|
9203 |
<type by_reference="false">array</type>
|
9204 |
</tag>
|
9205 |
-
<tag line="
|
9206 |
<type by_reference="false">boolean</type>
|
9207 |
</tag>
|
9208 |
-
<tag line="
|
9209 |
<type by_reference="false">array</type>
|
9210 |
</tag>
|
9211 |
</docblock>
|
9212 |
-
<argument line="
|
9213 |
<name>$post_parent</name>
|
9214 |
<default><![CDATA[]]></default>
|
9215 |
<type/>
|
9216 |
</argument>
|
9217 |
-
<argument line="
|
9218 |
<name>$attr</name>
|
9219 |
<default><![CDATA[]]></default>
|
9220 |
<type/>
|
9221 |
</argument>
|
9222 |
-
<argument line="
|
9223 |
<name>$return_found_rows</name>
|
9224 |
<default><![CDATA[NULL]]></default>
|
9225 |
<type/>
|
9226 |
</argument>
|
9227 |
</method>
|
9228 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9229 |
<name>mla_shortcode_query_posts_where_filter</name>
|
9230 |
<full_name>mla_shortcode_query_posts_where_filter</full_name>
|
9231 |
-
<docblock line="
|
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="
|
9238 |
-
<tag line="
|
9239 |
<type by_reference="false">string</type>
|
9240 |
</tag>
|
9241 |
-
<tag line="
|
9242 |
<type by_reference="false">string</type>
|
9243 |
</tag>
|
9244 |
</docblock>
|
9245 |
-
<argument line="
|
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="
|
9252 |
<name>mla_shortcode_query_posts_orderby_filter</name>
|
9253 |
<full_name>mla_shortcode_query_posts_orderby_filter</full_name>
|
9254 |
-
<docblock line="
|
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="
|
9259 |
-
<tag line="
|
9260 |
<type by_reference="false">string</type>
|
9261 |
</tag>
|
9262 |
-
<tag line="
|
9263 |
<type by_reference="false">string</type>
|
9264 |
</tag>
|
9265 |
</docblock>
|
9266 |
-
<argument line="
|
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="
|
9273 |
<name>mla_shortcode_query_posts_clauses_filter</name>
|
9274 |
<full_name>mla_shortcode_query_posts_clauses_filter</full_name>
|
9275 |
-
<docblock line="
|
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="
|
9280 |
-
<tag line="
|
9281 |
<type by_reference="false">array</type>
|
9282 |
</tag>
|
9283 |
-
<tag line="
|
9284 |
<type by_reference="false">array</type>
|
9285 |
</tag>
|
9286 |
</docblock>
|
9287 |
-
<argument line="
|
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="
|
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="
|
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="
|
9301 |
-
<tag line="
|
9302 |
<type by_reference="false">array</type>
|
9303 |
</tag>
|
9304 |
-
<tag line="
|
9305 |
<type by_reference="false">array</type>
|
9306 |
</tag>
|
9307 |
</docblock>
|
9308 |
-
<argument line="
|
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="
|
9315 |
<name>mla_get_terms</name>
|
9316 |
<full_name>mla_get_terms</full_name>
|
9317 |
-
<docblock line="
|
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,15 +9461,15 @@ descending and then by term_id before this value is applied.</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="
|
9352 |
-
<tag line="
|
9353 |
<type by_reference="false">array</type>
|
9354 |
</tag>
|
9355 |
-
<tag line="
|
9356 |
<type by_reference="false">array</type>
|
9357 |
</tag>
|
9358 |
</docblock>
|
9359 |
-
<argument line="
|
9360 |
<name>$attr</name>
|
9361 |
<default><![CDATA[]]></default>
|
9362 |
<type/>
|
@@ -11066,13 +11179,13 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
|
|
11066 |
</docblock>
|
11067 |
</function>
|
11068 |
</file>
|
11069 |
-
<file path="index.php" hash="
|
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.
|
11076 |
</docblock>
|
11077 |
<include line="148" type="Require Once" package="Media Library Assistant">
|
11078 |
<name>includes/mla-plugin-loader.php</name>
|
13 |
<tag line="2" name="since" description="MLA 1.80"/>
|
14 |
</docblock>
|
15 |
</file>
|
16 |
+
<file path="examples\twentytwelve-mla\content-latest-images.php" hash="3fefc5035d1752ba884c449a1f156a89" package="Media Library Assistant\MLA\Child\Theme">
|
17 |
+
<docblock line="2">
|
18 |
+
<description><![CDATA[The template used for displaying the "Latest Images" content in page-latest-images.php]]></description>
|
19 |
+
<long-description><![CDATA[]]></long-description>
|
20 |
+
<tag line="2" name="package" description="Media Library Assistant"/>
|
21 |
+
<tag line="2" name="subpackage" description="MLA_Child_Theme"/>
|
22 |
+
<tag line="2" name="version" description="1.00"/>
|
23 |
+
<tag line="2" name="since" description="MLA 1.80"/>
|
24 |
+
</docblock>
|
25 |
+
</file>
|
26 |
<file path="examples\twentytwelve-mla\content-media.php" hash="ec1896bb3521f787fe6d6a2c58f544e5" package="Media Library Assistant\MLA\Child\Theme">
|
27 |
<docblock line="2">
|
28 |
<description><![CDATA[The template for displaying posts in the Image post format,
|
47 |
<tag line="2" name="since" description="MLA 1.80"/>
|
48 |
</docblock>
|
49 |
</file>
|
50 |
+
<file path="examples\twentytwelve-mla\content-tag-gallery.php" hash="e2caf4744cbd2e89893cc6a50d254f16" package="Media Library Assistant\MLA\Child\Theme">
|
51 |
<docblock line="2">
|
52 |
<description><![CDATA[The template used for displaying "Tag Gallery" content in page-tag-gallery.php]]></description>
|
53 |
<long-description><![CDATA[<p>The default taxonomy slug is "attachment_tag". You can select the taxonomy you want by adding
|
257 |
<tag line="2" name="since" description="MLA 1.80"/>
|
258 |
</docblock>
|
259 |
</file>
|
260 |
+
<file path="examples\twentytwelve-mla\page-latest-images.php" hash="fbba95184c6ec444bd79a1f3e1445b5f" package="Media Library Assistant\MLA\Child\Theme">
|
261 |
<docblock line="2">
|
262 |
+
<description><![CDATA[The template for displaying the "Latest Images" page, which
|
263 |
must be defined as a static WordPress "Page" post type.]]></description>
|
264 |
<long-description><![CDATA[<p>Please note that this is the WordPress construct of pages
|
265 |
and that other 'pages' on your WordPress site will use a
|
270 |
<tag line="2" name="since" description="MLA 1.80"/>
|
271 |
</docblock>
|
272 |
</file>
|
273 |
+
<file path="examples\twentytwelve-mla\page-single-image.php" hash="f3069e5c80a126bfe0e6421aca830cf6" package="Media Library Assistant\MLA\Child\Theme">
|
274 |
+
<docblock line="2">
|
275 |
+
<description><![CDATA[The template used for displaying "attachment page" content]]></description>
|
276 |
+
<long-description><![CDATA[<p>You must define a WordPress static page "Single Image", which can be
|
277 |
+
empty but must exist to trigger this template.</p>
|
278 |
+
|
279 |
+
<p>Please note that this is the WordPress construct of pages
|
280 |
+
and that other 'pages' on your WordPress site will use a
|
281 |
+
different template.</p>
|
282 |
+
|
283 |
+
<p>You must select the attachment you want by adding a query parameter
|
284 |
+
to the URL, e.g., "?post_id=5" where 5 is the ID of the attachment.</p>
|
285 |
+
|
286 |
+
<p>The global $post variable contains the post object of the calling page.
|
287 |
+
* The template for displaying the "Tag Gallery" page, which
|
288 |
+
must be defined as a static WordPress "Page" post type.</p>]]></long-description>
|
289 |
+
<tag line="2" name="package" description="Media Library Assistant"/>
|
290 |
+
<tag line="2" name="subpackage" description="MLA_Child_Theme"/>
|
291 |
+
<tag line="2" name="version" description="1.00"/>
|
292 |
+
<tag line="2" name="since" description="MLA 1.80"/>
|
293 |
+
</docblock>
|
294 |
+
</file>
|
295 |
<file path="examples\twentytwelve-mla\page-tag-gallery.php" hash="8744ff3f2f0a844dfa3326a61d4bf5d3" package="Media Library Assistant\MLA\Child\Theme">
|
296 |
<docblock line="2">
|
297 |
<description><![CDATA[The template for displaying the "Tag Gallery" page, which
|
316 |
<tag line="2" name="since" description="MLA 1.80"/>
|
317 |
</docblock>
|
318 |
</file>
|
319 |
+
<file path="includes\class-mla-data.php" hash="c67f0927968b233a3b6cc3d855863a2a" package="Media Library Assistant">
|
320 |
<docblock line="2">
|
321 |
<description><![CDATA[Database and template file access for MLA needs]]></description>
|
322 |
<long-description><![CDATA[]]></long-description>
|
357 |
</tag>
|
358 |
</docblock>
|
359 |
</property>
|
360 |
+
<property final="false" static="true" visibility="private" line="1128" namespace="global" package="Media Library Assistant">
|
361 |
<name>$mla_list_table_items</name>
|
362 |
<default><![CDATA[NULL]]></default>
|
363 |
+
<docblock line="1121">
|
364 |
<description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
|
365 |
<long-description><![CDATA[]]></long-description>
|
366 |
+
<tag line="1121" name="since" description="1.40"/>
|
367 |
+
<tag line="1121" name="var" description="" type="array">
|
368 |
<type by_reference="false">array</type>
|
369 |
</tag>
|
370 |
</docblock>
|
371 |
</property>
|
372 |
+
<property final="false" static="true" visibility="private" line="1233" namespace="global" package="Media Library Assistant">
|
373 |
<name>$query_parameters</name>
|
374 |
<default><![CDATA[array()]]></default>
|
375 |
+
<docblock line="1220">
|
376 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
377 |
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
378 |
The parameters are set up in the _prepare_list_table_query function, and
|
379 |
any further logic required to translate those values is contained in the filters.</p>
|
380 |
|
381 |
<p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns, detached, orderby, order, mla-metavalue, debug, s, mla_search_connector, mla_search_fields, sentence, exact</p>]]></long-description>
|
382 |
+
<tag line="1220" name="since" description="0.30"/>
|
383 |
+
<tag line="1220" name="var" description="" type="array">
|
384 |
<type by_reference="false">array</type>
|
385 |
</tag>
|
386 |
</docblock>
|
387 |
</property>
|
388 |
+
<property final="false" static="true" visibility="private" line="2684" namespace="global" package="Media Library Assistant">
|
389 |
<name>$galleries</name>
|
390 |
<default><![CDATA[null]]></default>
|
391 |
+
<docblock line="2665">
|
392 |
<description><![CDATA[Objects containing [gallery] shortcodes]]></description>
|
393 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
|
394 |
and array(s) of which attachments each [gallery] contains. The arrays are built once
|
401 |
['galleries'] array of [gallery] entries numbered from one (1), containing:
|
402 |
galleries[X]['query'] contains a string with the arguments of the [gallery],
|
403 |
galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
|
404 |
+
<tag line="2665" name="since" description="0.70"/>
|
405 |
+
<tag line="2665" name="var" description="" type="array">
|
406 |
<type by_reference="false">array</type>
|
407 |
</tag>
|
408 |
</docblock>
|
409 |
</property>
|
410 |
+
<property final="false" static="true" visibility="private" line="2697" namespace="global" package="Media Library Assistant">
|
411 |
<name>$mla_galleries</name>
|
412 |
<default><![CDATA[null]]></default>
|
413 |
+
<docblock line="2686">
|
414 |
<description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
|
415 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
|
416 |
and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
|
417 |
each page load and cached for subsequent calls.</p>]]></long-description>
|
418 |
+
<tag line="2686" name="since" description="0.70"/>
|
419 |
+
<tag line="2686" name="var" description="" type="array">
|
420 |
<type by_reference="false">array</type>
|
421 |
</tag>
|
422 |
</docblock>
|
423 |
</property>
|
424 |
+
<property final="false" static="true" visibility="private" line="2887" namespace="global" package="Media Library Assistant">
|
425 |
<name>$pdf_indirect_objects</name>
|
426 |
<default><![CDATA[NULL]]></default>
|
427 |
+
<docblock line="2876">
|
428 |
<description><![CDATA[Array of PDF indirect objects]]></description>
|
429 |
<long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
|
430 |
The array key is ( object ID * 1000 ) + object generation.
|
431 |
The array value is array( number, generation, start, optional /length )</p>]]></long-description>
|
432 |
+
<tag line="2876" name="since" description="1.50"/>
|
433 |
+
<tag line="2876" name="var" description="" type="array">
|
434 |
<type by_reference="false">array</type>
|
435 |
</tag>
|
436 |
</docblock>
|
437 |
</property>
|
438 |
+
<property final="false" static="true" visibility="private" line="3998" namespace="global" package="Media Library Assistant">
|
439 |
<name>$utf8_chars</name>
|
440 |
<default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
|
441 |
+
<docblock line="3991">
|
442 |
<description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
|
443 |
<long-description><![CDATA[]]></long-description>
|
444 |
+
<tag line="3991" name="since" description="1.41"/>
|
445 |
+
<tag line="3991" name="var" description="" type="array">
|
446 |
<type by_reference="false">array</type>
|
447 |
</tag>
|
448 |
</docblock>
|
449 |
</property>
|
450 |
+
<property final="false" static="true" visibility="private" line="4058" namespace="global" package="Media Library Assistant">
|
451 |
<name>$mla_iptc_records</name>
|
452 |
<default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
|
453 |
+
<docblock line="4048">
|
454 |
<description><![CDATA[IPTC Dataset identifiers and names]]></description>
|
455 |
<long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
|
456 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
457 |
+
<tag line="4048" name="since" description="0.90"/>
|
458 |
+
<tag line="4048" name="var" description="" type="array">
|
459 |
<type by_reference="false">array</type>
|
460 |
</tag>
|
461 |
</docblock>
|
462 |
</property>
|
463 |
+
<property final="false" static="true" visibility="public" line="4157" namespace="global" package="Media Library Assistant">
|
464 |
<name>$mla_iptc_keys</name>
|
465 |
<default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
|
466 |
+
<docblock line="4147">
|
467 |
<description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
|
468 |
<long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
|
469 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
470 |
+
<tag line="4147" name="since" description="0.90"/>
|
471 |
+
<tag line="4147" name="var" description="" type="array">
|
472 |
<type by_reference="false">array</type>
|
473 |
</tag>
|
474 |
</docblock>
|
475 |
</property>
|
476 |
+
<property final="false" static="true" visibility="private" line="4256" namespace="global" package="Media Library Assistant">
|
477 |
<name>$mla_iptc_descriptions</name>
|
478 |
<default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
|
479 |
+
<docblock line="4246">
|
480 |
<description><![CDATA[IPTC Dataset descriptions]]></description>
|
481 |
<long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
|
482 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
483 |
+
<tag line="4246" name="since" description="0.90"/>
|
484 |
+
<tag line="4246" name="var" description="" type="array">
|
485 |
<type by_reference="false">array</type>
|
486 |
</tag>
|
487 |
</docblock>
|
488 |
</property>
|
489 |
+
<property final="false" static="true" visibility="private" line="4355" namespace="global" package="Media Library Assistant">
|
490 |
<name>$mla_iptc_formats</name>
|
491 |
<default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 0 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 0 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
|
492 |
+
<docblock line="4345">
|
493 |
<description><![CDATA[IPTC file format identifiers and descriptions]]></description>
|
494 |
<long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
|
495 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
|
496 |
+
<tag line="4345" name="since" description="0.90"/>
|
497 |
+
<tag line="4345" name="var" description="" type="array">
|
498 |
<type by_reference="false">array</type>
|
499 |
</tag>
|
500 |
</docblock>
|
501 |
</property>
|
502 |
+
<property final="false" static="true" visibility="private" line="4398" namespace="global" package="Media Library Assistant">
|
503 |
<name>$mla_iptc_image_types</name>
|
504 |
<default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
|
505 |
+
<docblock line="4388">
|
506 |
<description><![CDATA[IPTC image type identifiers and descriptions]]></description>
|
507 |
<long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
|
508 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
|
509 |
+
<tag line="4388" name="since" description="0.90"/>
|
510 |
+
<tag line="4388" name="var" description="" type="array">
|
511 |
<type by_reference="false">array</type>
|
512 |
</tag>
|
513 |
</docblock>
|
514 |
</property>
|
515 |
+
<property final="false" static="true" visibility="private" line="4572" namespace="global" package="Media Library Assistant">
|
516 |
<name>$mla_IPTC_EXIF_errors</name>
|
517 |
<default><![CDATA[array()]]></default>
|
518 |
+
<docblock line="4564">
|
519 |
<description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
|
520 |
and mla_fetch_attachment_image_metadata]]></description>
|
521 |
<long-description><![CDATA[]]></long-description>
|
522 |
+
<tag line="4564" name="since" description="1.81"/>
|
523 |
+
<tag line="4564" name="var" description="" type="array">
|
524 |
<type by_reference="false">array</type>
|
525 |
</tag>
|
526 |
</docblock>
|
901 |
<type/>
|
902 |
</argument>
|
903 |
</method>
|
904 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1141" package="Media Library Assistant">
|
905 |
<name>mla_count_list_table_items</name>
|
906 |
<full_name>mla_count_list_table_items</full_name>
|
907 |
+
<docblock line="1130">
|
908 |
<description><![CDATA[Get the total number of attachment posts]]></description>
|
909 |
<long-description><![CDATA[]]></long-description>
|
910 |
+
<tag line="1130" name="since" description="0.30"/>
|
911 |
+
<tag line="1130" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
|
912 |
<type by_reference="false">array</type>
|
913 |
</tag>
|
914 |
+
<tag line="1130" name="param" description="(optional) number of rows to skip over to reach desired page" type="int" variable="$offset">
|
915 |
<type by_reference="false">int</type>
|
916 |
</tag>
|
917 |
+
<tag line="1130" name="param" description="(optional) number of rows on each page" type="int" variable="$count">
|
918 |
<type by_reference="false">int</type>
|
919 |
</tag>
|
920 |
+
<tag line="1130" name="return" description="Number of attachment posts" type="integer">
|
921 |
<type by_reference="false">integer</type>
|
922 |
</tag>
|
923 |
</docblock>
|
924 |
+
<argument line="1141">
|
925 |
<name>$request</name>
|
926 |
<default><![CDATA[]]></default>
|
927 |
<type/>
|
928 |
</argument>
|
929 |
+
<argument line="1141">
|
930 |
<name>$offset</name>
|
931 |
<default><![CDATA[NULL]]></default>
|
932 |
<type/>
|
933 |
</argument>
|
934 |
+
<argument line="1141">
|
935 |
<name>$count</name>
|
936 |
<default><![CDATA[NULL]]></default>
|
937 |
<type/>
|
938 |
</argument>
|
939 |
</method>
|
940 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1169" package="Media Library Assistant">
|
941 |
<name>mla_query_list_table_items</name>
|
942 |
<full_name>mla_query_list_table_items</full_name>
|
943 |
+
<docblock line="1155">
|
944 |
<description><![CDATA[Retrieve attachment objects for list table display]]></description>
|
945 |
<long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
|
946 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
947 |
+
<tag line="1155" name="since" description="0.1"/>
|
948 |
+
<tag line="1155" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
|
949 |
<type by_reference="false">array</type>
|
950 |
</tag>
|
951 |
+
<tag line="1155" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
|
952 |
<type by_reference="false">int</type>
|
953 |
</tag>
|
954 |
+
<tag line="1155" name="param" description="number of rows on each page" type="int" variable="$count">
|
955 |
<type by_reference="false">int</type>
|
956 |
</tag>
|
957 |
+
<tag line="1155" name="return" description="attachment objects (posts) including parent data, meta data and references" type="array">
|
958 |
<type by_reference="false">array</type>
|
959 |
</tag>
|
960 |
</docblock>
|
961 |
+
<argument line="1169">
|
962 |
<name>$request</name>
|
963 |
<default><![CDATA[]]></default>
|
964 |
<type/>
|
965 |
</argument>
|
966 |
+
<argument line="1169">
|
967 |
<name>$offset</name>
|
968 |
<default><![CDATA[]]></default>
|
969 |
<type/>
|
970 |
</argument>
|
971 |
+
<argument line="1169">
|
972 |
<name>$count</name>
|
973 |
<default><![CDATA[]]></default>
|
974 |
<type/>
|
975 |
</argument>
|
976 |
</method>
|
977 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1215" package="Media Library Assistant">
|
978 |
<name>mla_query_media_modal_items</name>
|
979 |
<full_name>mla_query_media_modal_items</full_name>
|
980 |
+
<docblock line="1202">
|
981 |
<description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
|
982 |
<long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
|
983 |
+
<tag line="1202" name="since" description="1.20"/>
|
984 |
+
<tag line="1202" name="param" description="query parameters from Media Manager" type="array" variable="$request">
|
985 |
<type by_reference="false">array</type>
|
986 |
</tag>
|
987 |
+
<tag line="1202" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
|
988 |
<type by_reference="false">int</type>
|
989 |
</tag>
|
990 |
+
<tag line="1202" name="param" description="number of rows on each page" type="int" variable="$count">
|
991 |
<type by_reference="false">int</type>
|
992 |
</tag>
|
993 |
+
<tag line="1202" name="return" description="attachment objects (posts)" type="array">
|
994 |
<type by_reference="false">array</type>
|
995 |
</tag>
|
996 |
</docblock>
|
997 |
+
<argument line="1215">
|
998 |
<name>$request</name>
|
999 |
<default><![CDATA[]]></default>
|
1000 |
<type/>
|
1001 |
</argument>
|
1002 |
+
<argument line="1215">
|
1003 |
<name>$offset</name>
|
1004 |
<default><![CDATA[]]></default>
|
1005 |
<type/>
|
1006 |
</argument>
|
1007 |
+
<argument line="1215">
|
1008 |
<name>$count</name>
|
1009 |
<default><![CDATA[]]></default>
|
1010 |
<type/>
|
1011 |
</argument>
|
1012 |
</method>
|
1013 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1249" package="Media Library Assistant">
|
1014 |
<name>_prepare_list_table_query</name>
|
1015 |
<full_name>_prepare_list_table_query</full_name>
|
1016 |
+
<docblock line="1235">
|
1017 |
<description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
|
1018 |
<long-description><![CDATA[<p>Prepare the arguments for WP_Query.
|
1019 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
1020 |
+
<tag line="1235" name="since" description="0.1"/>
|
1021 |
+
<tag line="1235" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
|
1022 |
<type by_reference="false">array</type>
|
1023 |
</tag>
|
1024 |
+
<tag line="1235" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
|
1025 |
<type by_reference="false">int</type>
|
1026 |
</tag>
|
1027 |
+
<tag line="1235" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
|
1028 |
<type by_reference="false">int</type>
|
1029 |
</tag>
|
1030 |
+
<tag line="1235" name="return" description="revised arguments suitable for WP_Query" type="array">
|
1031 |
<type by_reference="false">array</type>
|
1032 |
</tag>
|
1033 |
</docblock>
|
1034 |
+
<argument line="1249">
|
1035 |
<name>$raw_request</name>
|
1036 |
<default><![CDATA[]]></default>
|
1037 |
<type/>
|
1038 |
</argument>
|
1039 |
+
<argument line="1249">
|
1040 |
<name>$offset</name>
|
1041 |
<default><![CDATA[0]]></default>
|
1042 |
<type/>
|
1043 |
</argument>
|
1044 |
+
<argument line="1249">
|
1045 |
<name>$count</name>
|
1046 |
<default><![CDATA[0]]></default>
|
1047 |
<type/>
|
1048 |
</argument>
|
1049 |
</method>
|
1050 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1590" package="Media Library Assistant">
|
1051 |
<name>_execute_list_table_query</name>
|
1052 |
<full_name>_execute_list_table_query</full_name>
|
1053 |
+
<docblock line="1581">
|
1054 |
<description><![CDATA[Add filters, run query, remove filters]]></description>
|
1055 |
<long-description><![CDATA[]]></long-description>
|
1056 |
+
<tag line="1581" name="since" description="0.30"/>
|
1057 |
+
<tag line="1581" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
|
1058 |
<type by_reference="false">array</type>
|
1059 |
</tag>
|
1060 |
+
<tag line="1581" name="return" description="WP_Query object with query results" type="object">
|
1061 |
<type by_reference="false">object</type>
|
1062 |
</tag>
|
1063 |
</docblock>
|
1064 |
+
<argument line="1590">
|
1065 |
<name>$request</name>
|
1066 |
<default><![CDATA[]]></default>
|
1067 |
<type/>
|
1068 |
</argument>
|
1069 |
</method>
|
1070 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1691" package="Media Library Assistant">
|
1071 |
<name>mla_search_terms_tidy</name>
|
1072 |
<full_name>mla_search_terms_tidy</full_name>
|
1073 |
+
<docblock line="1680">
|
1074 |
<description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
|
1075 |
<long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
|
1076 |
+
<tag line="1680" name="since" description="1.51"/>
|
1077 |
+
<tag line="1680" name="param" description="search term before modification" type="string" variable="$term">
|
1078 |
<type by_reference="false">string</type>
|
1079 |
</tag>
|
1080 |
+
<tag line="1680" name="return" description="cleaned up search term" type="string">
|
1081 |
<type by_reference="false">string</type>
|
1082 |
</tag>
|
1083 |
</docblock>
|
1084 |
+
<argument line="1691">
|
1085 |
<name>$term</name>
|
1086 |
<default><![CDATA[]]></default>
|
1087 |
<type/>
|
1088 |
</argument>
|
1089 |
</method>
|
1090 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1707" package="Media Library Assistant">
|
1091 |
<name>mla_query_posts_search_filter</name>
|
1092 |
<full_name>mla_query_posts_search_filter</full_name>
|
1093 |
+
<docblock line="1695">
|
1094 |
<description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
|
1095 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1096 |
+
<tag line="1695" name="since" description="0.60"/>
|
1097 |
+
<tag line="1695" name="param" description="query clause before modification" type="string" variable="$search_string">
|
1098 |
<type by_reference="false">string</type>
|
1099 |
</tag>
|
1100 |
+
<tag line="1695" name="param" description="WP_Query object" type="object" variable="$query_object">
|
1101 |
<type by_reference="false">object</type>
|
1102 |
</tag>
|
1103 |
+
<tag line="1695" name="return" description="query clause after keyword search addition" type="string">
|
1104 |
<type by_reference="false">string</type>
|
1105 |
</tag>
|
1106 |
</docblock>
|
1107 |
+
<argument line="1707">
|
1108 |
<name>$search_string</name>
|
1109 |
<default><![CDATA[]]></default>
|
1110 |
<type/>
|
1111 |
</argument>
|
1112 |
+
<argument line="1707">
|
1113 |
<name>$query_object</name>
|
1114 |
<default><![CDATA[]]></default>
|
1115 |
<type/>
|
1116 |
</argument>
|
1117 |
</method>
|
1118 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1820" package="Media Library Assistant">
|
1119 |
<name>mla_query_posts_join_filter</name>
|
1120 |
<full_name>mla_query_posts_join_filter</full_name>
|
1121 |
+
<docblock line="1809">
|
1122 |
<description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
|
1123 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1124 |
+
<tag line="1809" name="since" description="0.30"/>
|
1125 |
+
<tag line="1809" name="param" description="query clause before modification" type="string" variable="$join_clause">
|
1126 |
<type by_reference="false">string</type>
|
1127 |
</tag>
|
1128 |
+
<tag line="1809" name="return" description="query clause after "LEFT JOIN view ON post_id" item modification" type="string">
|
1129 |
<type by_reference="false">string</type>
|
1130 |
</tag>
|
1131 |
</docblock>
|
1132 |
+
<argument line="1820">
|
1133 |
<name>$join_clause</name>
|
1134 |
<default><![CDATA[]]></default>
|
1135 |
<type/>
|
1136 |
</argument>
|
1137 |
</method>
|
1138 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1864" package="Media Library Assistant">
|
1139 |
<name>mla_query_posts_where_filter</name>
|
1140 |
<full_name>mla_query_posts_where_filter</full_name>
|
1141 |
+
<docblock line="1852">
|
1142 |
<description><![CDATA[Adds a WHERE clause for detached items]]></description>
|
1143 |
<long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
|
1144 |
Defined as public because it's a filter.</p>]]></long-description>
|
1145 |
+
<tag line="1852" name="since" description="0.1"/>
|
1146 |
+
<tag line="1852" name="param" description="query clause before modification" type="string" variable="$where_clause">
|
1147 |
<type by_reference="false">string</type>
|
1148 |
</tag>
|
1149 |
+
<tag line="1852" name="return" description="query clause after "detached" item modification" type="string">
|
1150 |
<type by_reference="false">string</type>
|
1151 |
</tag>
|
1152 |
</docblock>
|
1153 |
+
<argument line="1864">
|
1154 |
<name>$where_clause</name>
|
1155 |
<default><![CDATA[]]></default>
|
1156 |
<type/>
|
1157 |
</argument>
|
1158 |
</method>
|
1159 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1929" package="Media Library Assistant">
|
1160 |
<name>mla_query_posts_orderby_filter</name>
|
1161 |
<full_name>mla_query_posts_orderby_filter</full_name>
|
1162 |
+
<docblock line="1917">
|
1163 |
<description><![CDATA[Adds a ORDERBY clause, if required]]></description>
|
1164 |
<long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
|
1165 |
Defined as public because it's a filter.</p>]]></long-description>
|
1166 |
+
<tag line="1917" name="since" description="0.30"/>
|
1167 |
+
<tag line="1917" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
|
1168 |
<type by_reference="false">string</type>
|
1169 |
</tag>
|
1170 |
+
<tag line="1917" name="return" description="updated query clause" type="string">
|
1171 |
<type by_reference="false">string</type>
|
1172 |
</tag>
|
1173 |
</docblock>
|
1174 |
+
<argument line="1929">
|
1175 |
<name>$orderby_clause</name>
|
1176 |
<default><![CDATA[]]></default>
|
1177 |
<type/>
|
1178 |
</argument>
|
1179 |
</method>
|
1180 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2007" package="Media Library Assistant">
|
1181 |
<name>mla_query_relevanssi_admin_search_ok_filter</name>
|
1182 |
<full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
|
1183 |
+
<docblock line="1997">
|
1184 |
<description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
|
1185 |
Defined as public because it's a filter.]]></description>
|
1186 |
<long-description><![CDATA[]]></long-description>
|
1187 |
+
<tag line="1997" name="since" description="1.80"/>
|
1188 |
+
<tag line="1997" name="param" description="Default setting" type="boolean" variable="$admin_search_ok">
|
1189 |
<type by_reference="false">boolean</type>
|
1190 |
</tag>
|
1191 |
+
<tag line="1997" name="return" description="Updated setting" type="boolean">
|
1192 |
<type by_reference="false">boolean</type>
|
1193 |
</tag>
|
1194 |
</docblock>
|
1195 |
+
<argument line="2007">
|
1196 |
<name>$admin_search_ok</name>
|
1197 |
<default><![CDATA[]]></default>
|
1198 |
<type/>
|
1199 |
</argument>
|
1200 |
</method>
|
1201 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2023" package="Media Library Assistant">
|
1202 |
<name>mla_query_posts_clauses_filter</name>
|
1203 |
<full_name>mla_query_posts_clauses_filter</full_name>
|
1204 |
+
<docblock line="2011">
|
1205 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
1206 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1207 |
Defined as public because it's a filter.</p>]]></long-description>
|
1208 |
+
<tag line="2011" name="since" description="1.80"/>
|
1209 |
+
<tag line="2011" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
1210 |
<type by_reference="false">array</type>
|
1211 |
</tag>
|
1212 |
+
<tag line="2011" name="return" description="query clauses after modification (none)" type="array">
|
1213 |
<type by_reference="false">array</type>
|
1214 |
</tag>
|
1215 |
</docblock>
|
1216 |
+
<argument line="2023">
|
1217 |
<name>$pieces</name>
|
1218 |
<default><![CDATA[]]></default>
|
1219 |
<type/>
|
1220 |
</argument>
|
1221 |
</method>
|
1222 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2047" package="Media Library Assistant">
|
1223 |
<name>mla_query_posts_clauses_request_filter</name>
|
1224 |
<full_name>mla_query_posts_clauses_request_filter</full_name>
|
1225 |
+
<docblock line="2035">
|
1226 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
1227 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1228 |
Defined as public because it's a filter.</p>]]></long-description>
|
1229 |
+
<tag line="2035" name="since" description="1.80"/>
|
1230 |
+
<tag line="2035" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
1231 |
<type by_reference="false">array</type>
|
1232 |
</tag>
|
1233 |
+
<tag line="2035" name="return" description="query clauses after modification (none)" type="array">
|
1234 |
<type by_reference="false">array</type>
|
1235 |
</tag>
|
1236 |
</docblock>
|
1237 |
+
<argument line="2047">
|
1238 |
<name>$pieces</name>
|
1239 |
<default><![CDATA[]]></default>
|
1240 |
<type/>
|
1241 |
</argument>
|
1242 |
</method>
|
1243 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2071" package="Media Library Assistant">
|
1244 |
<name>mla_get_attachment_by_id</name>
|
1245 |
<full_name>mla_get_attachment_by_id</full_name>
|
1246 |
+
<docblock line="2059">
|
1247 |
<description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
|
1248 |
<long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
|
1249 |
the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
|
1250 |
+
<tag line="2059" name="since" description="0.1"/>
|
1251 |
+
<tag line="2059" name="uses" description="\global\$post" refers="\global\$post"/>
|
1252 |
+
<tag line="2059" name="param" description="The ID of the attachment post" type="int" variable="$post_id">
|
1253 |
<type by_reference="false">int</type>
|
1254 |
</tag>
|
1255 |
+
<tag line="2059" name="return" description="NULL on failure else associative array" type="NULL|array">
|
1256 |
<type by_reference="false">NULL</type>
|
1257 |
<type by_reference="false">array</type>
|
1258 |
</tag>
|
1259 |
</docblock>
|
1260 |
+
<argument line="2071">
|
1261 |
<name>$post_id</name>
|
1262 |
<default><![CDATA[]]></default>
|
1263 |
<type/>
|
1264 |
</argument>
|
1265 |
</method>
|
1266 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2127" package="Media Library Assistant">
|
1267 |
<name>mla_fetch_attachment_parent_data</name>
|
1268 |
<full_name>mla_fetch_attachment_parent_data</full_name>
|
1269 |
+
<docblock line="2118">
|
1270 |
<description><![CDATA[Returns information about an attachment's parent, if found]]></description>
|
1271 |
<long-description><![CDATA[]]></long-description>
|
1272 |
+
<tag line="2118" name="since" description="0.1"/>
|
1273 |
+
<tag line="2118" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
|
1274 |
<type by_reference="false">int</type>
|
1275 |
</tag>
|
1276 |
+
<tag line="2118" name="return" description="Parent information; post_date, post_title and post_type" type="array">
|
1277 |
<type by_reference="false">array</type>
|
1278 |
</tag>
|
1279 |
</docblock>
|
1280 |
+
<argument line="2127">
|
1281 |
<name>$parent_id</name>
|
1282 |
<default><![CDATA[]]></default>
|
1283 |
<type/>
|
1284 |
</argument>
|
1285 |
</method>
|
1286 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2169" package="Media Library Assistant">
|
1287 |
<name>_set_array_element</name>
|
1288 |
<full_name>_set_array_element</full_name>
|
1289 |
+
<docblock line="2158">
|
1290 |
<description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
|
1291 |
<long-description><![CDATA[]]></long-description>
|
1292 |
+
<tag line="2158" name="since" description="1.51"/>
|
1293 |
+
<tag line="2158" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
|
1294 |
<type by_reference="false">string</type>
|
1295 |
</tag>
|
1296 |
+
<tag line="2158" name="param" description="replacement value, string or array, by reference" type="mixed" variable="$value">
|
1297 |
<type by_reference="false">mixed</type>
|
1298 |
</tag>
|
1299 |
+
<tag line="2158" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
|
1300 |
<type by_reference="false">array</type>
|
1301 |
</tag>
|
1302 |
+
<tag line="2158" name="return" description="true if $needle element set, false if not" type="boolean">
|
1303 |
<type by_reference="false">boolean</type>
|
1304 |
</tag>
|
1305 |
</docblock>
|
1306 |
+
<argument line="2169">
|
1307 |
<name>$needle</name>
|
1308 |
<default><![CDATA[]]></default>
|
1309 |
<type/>
|
1310 |
</argument>
|
1311 |
+
<argument line="2169">
|
1312 |
<name>$value</name>
|
1313 |
<default><![CDATA[]]></default>
|
1314 |
<type/>
|
1315 |
</argument>
|
1316 |
+
<argument line="2169">
|
1317 |
<name>$haystack</name>
|
1318 |
<default><![CDATA[]]></default>
|
1319 |
<type/>
|
1320 |
</argument>
|
1321 |
</method>
|
1322 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2203" package="Media Library Assistant">
|
1323 |
<name>_unset_array_element</name>
|
1324 |
<full_name>_unset_array_element</full_name>
|
1325 |
+
<docblock line="2193">
|
1326 |
<description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
|
1327 |
<long-description><![CDATA[]]></long-description>
|
1328 |
+
<tag line="2193" name="since" description="1.51"/>
|
1329 |
+
<tag line="2193" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
|
1330 |
<type by_reference="false">string</type>
|
1331 |
</tag>
|
1332 |
+
<tag line="2193" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
|
1333 |
<type by_reference="false">array</type>
|
1334 |
</tag>
|
1335 |
+
<tag line="2193" name="return" description="true if $needle element found, false if not" type="boolean">
|
1336 |
<type by_reference="false">boolean</type>
|
1337 |
</tag>
|
1338 |
</docblock>
|
1339 |
+
<argument line="2203">
|
1340 |
<name>$needle</name>
|
1341 |
<default><![CDATA[]]></default>
|
1342 |
<type/>
|
1343 |
</argument>
|
1344 |
+
<argument line="2203">
|
1345 |
<name>$haystack</name>
|
1346 |
<default><![CDATA[]]></default>
|
1347 |
<type/>
|
1348 |
</argument>
|
1349 |
</method>
|
1350 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2238" package="Media Library Assistant">
|
1351 |
<name>mla_find_array_element</name>
|
1352 |
<full_name>mla_find_array_element</full_name>
|
1353 |
+
<docblock line="2223">
|
1354 |
<description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
|
1355 |
<long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
|
1356 |
Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
|
1357 |
+
<tag line="2223" name="since" description="1.30"/>
|
1358 |
+
<tag line="2223" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
|
1359 |
<type by_reference="false">string</type>
|
1360 |
</tag>
|
1361 |
+
<tag line="2223" name="param" description="PHP nested arrays" type="array" variable="$haystack">
|
1362 |
<type by_reference="false">array</type>
|
1363 |
</tag>
|
1364 |
+
<tag line="2223" name="param" description="data option 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
|
1365 |
<type by_reference="false">string</type>
|
1366 |
</tag>
|
1367 |
+
<tag line="2223" name="param" description="keep existing values - for 'multi' option" type="boolean" variable="$keep_existing">
|
1368 |
<type by_reference="false">boolean</type>
|
1369 |
</tag>
|
1370 |
+
<tag line="2223" name="return" description="string or array value matching key(.key ...) or ''" type="mixed">
|
1371 |
<type by_reference="false">mixed</type>
|
1372 |
</tag>
|
1373 |
</docblock>
|
1374 |
+
<argument line="2238">
|
1375 |
<name>$needle</name>
|
1376 |
<default><![CDATA[]]></default>
|
1377 |
<type/>
|
1378 |
</argument>
|
1379 |
+
<argument line="2238">
|
1380 |
<name>$haystack</name>
|
1381 |
<default><![CDATA[]]></default>
|
1382 |
<type/>
|
1383 |
</argument>
|
1384 |
+
<argument line="2238">
|
1385 |
<name>$option</name>
|
1386 |
<default><![CDATA[]]></default>
|
1387 |
<type/>
|
1388 |
</argument>
|
1389 |
+
<argument line="2238">
|
1390 |
<name>$keep_existing</name>
|
1391 |
<default><![CDATA[false]]></default>
|
1392 |
<type/>
|
1393 |
</argument>
|
1394 |
</method>
|
1395 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2291" package="Media Library Assistant">
|
1396 |
<name>mla_fetch_attachment_metadata</name>
|
1397 |
<full_name>mla_fetch_attachment_metadata</full_name>
|
1398 |
+
<docblock line="2279">
|
1399 |
<description><![CDATA[Fetch and filter meta data for an attachment]]></description>
|
1400 |
<long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
|
1401 |
are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
|
1402 |
+
<tag line="2279" name="since" description="0.1"/>
|
1403 |
+
<tag line="2279" name="param" description="post ID of attachment" type="int" variable="$post_id">
|
1404 |
<type by_reference="false">int</type>
|
1405 |
</tag>
|
1406 |
+
<tag line="2279" name="return" description="Meta data variables" type="array">
|
1407 |
<type by_reference="false">array</type>
|
1408 |
</tag>
|
1409 |
</docblock>
|
1410 |
+
<argument line="2291">
|
1411 |
<name>$post_id</name>
|
1412 |
<default><![CDATA[]]></default>
|
1413 |
<type/>
|
1414 |
</argument>
|
1415 |
</method>
|
1416 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2376" package="Media Library Assistant">
|
1417 |
<name>mla_fetch_attachment_references</name>
|
1418 |
<full_name>mla_fetch_attachment_references</full_name>
|
1419 |
+
<docblock line="2363">
|
1420 |
<description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
|
1421 |
<long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
|
1422 |
as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
|
1423 |
+
<tag line="2363" name="since" description="0.1"/>
|
1424 |
+
<tag line="2363" name="param" description="post ID of attachment" type="int" variable="$ID">
|
1425 |
<type by_reference="false">int</type>
|
1426 |
</tag>
|
1427 |
+
<tag line="2363" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent">
|
1428 |
<type by_reference="false">int</type>
|
1429 |
</tag>
|
1430 |
+
<tag line="2363" name="return" description="Reference information; see $references array comments" type="array">
|
1431 |
<type by_reference="false">array</type>
|
1432 |
</tag>
|
1433 |
</docblock>
|
1434 |
+
<argument line="2376">
|
1435 |
<name>$ID</name>
|
1436 |
<default><![CDATA[]]></default>
|
1437 |
<type/>
|
1438 |
</argument>
|
1439 |
+
<argument line="2376">
|
1440 |
<name>$parent</name>
|
1441 |
<default><![CDATA[]]></default>
|
1442 |
<type/>
|
1443 |
</argument>
|
1444 |
</method>
|
1445 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2708" package="Media Library Assistant">
|
1446 |
<name>mla_flush_mla_galleries</name>
|
1447 |
<full_name>mla_flush_mla_galleries</full_name>
|
1448 |
+
<docblock line="2699">
|
1449 |
<description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
|
1450 |
<long-description><![CDATA[]]></long-description>
|
1451 |
+
<tag line="2699" name="since" description="1.00"/>
|
1452 |
+
<tag line="2699" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
|
1453 |
<type by_reference="false">string</type>
|
1454 |
</tag>
|
1455 |
+
<tag line="2699" name="return" description="" type="void">
|
1456 |
<type by_reference="false">void</type>
|
1457 |
</tag>
|
1458 |
</docblock>
|
1459 |
+
<argument line="2708">
|
1460 |
<name>$option_name</name>
|
1461 |
<default><![CDATA[]]></default>
|
1462 |
<type/>
|
1463 |
</argument>
|
1464 |
</method>
|
1465 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2732" package="Media Library Assistant">
|
1466 |
<name>mla_save_post_action</name>
|
1467 |
<full_name>mla_save_post_action</full_name>
|
1468 |
+
<docblock line="2723">
|
1469 |
<description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
|
1470 |
<long-description><![CDATA[]]></long-description>
|
1471 |
+
<tag line="2723" name="since" description="1.00"/>
|
1472 |
+
<tag line="2723" name="param" description="ID of post/page/attachment; not used at this time" type="integer" variable="$post_id">
|
1473 |
<type by_reference="false">integer</type>
|
1474 |
</tag>
|
1475 |
+
<tag line="2723" name="return" description="" type="void">
|
1476 |
<type by_reference="false">void</type>
|
1477 |
</tag>
|
1478 |
</docblock>
|
1479 |
+
<argument line="2732">
|
1480 |
<name>$post_id</name>
|
1481 |
<default><![CDATA[]]></default>
|
1482 |
<type/>
|
1483 |
</argument>
|
1484 |
</method>
|
1485 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2749" package="Media Library Assistant">
|
1486 |
<name>_build_mla_galleries</name>
|
1487 |
<full_name>_build_mla_galleries</full_name>
|
1488 |
+
<docblock line="2737">
|
1489 |
<description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
|
1490 |
<long-description><![CDATA[]]></long-description>
|
1491 |
+
<tag line="2737" name="since" description="0.70"/>
|
1492 |
+
<tag line="2737" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
|
1493 |
<type by_reference="false">string</type>
|
1494 |
</tag>
|
1495 |
+
<tag line="2737" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
|
1496 |
<type by_reference="false">array</type>
|
1497 |
</tag>
|
1498 |
+
<tag line="2737" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
|
1499 |
<type by_reference="false">string</type>
|
1500 |
</tag>
|
1501 |
+
<tag line="2737" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
|
1502 |
<type by_reference="false">boolean</type>
|
1503 |
</tag>
|
1504 |
+
<tag line="2737" name="return" description="true if the galleries array is not empty" type="boolean">
|
1505 |
<type by_reference="false">boolean</type>
|
1506 |
</tag>
|
1507 |
</docblock>
|
1508 |
+
<argument line="2749">
|
1509 |
<name>$option_name</name>
|
1510 |
<default><![CDATA[]]></default>
|
1511 |
<type/>
|
1512 |
</argument>
|
1513 |
+
<argument line="2749">
|
1514 |
<name>$galleries_array</name>
|
1515 |
<default><![CDATA[]]></default>
|
1516 |
<type/>
|
1517 |
</argument>
|
1518 |
+
<argument line="2749">
|
1519 |
<name>$shortcode</name>
|
1520 |
<default><![CDATA[]]></default>
|
1521 |
<type/>
|
1522 |
</argument>
|
1523 |
+
<argument line="2749">
|
1524 |
<name>$exclude_revisions</name>
|
1525 |
<default><![CDATA[]]></default>
|
1526 |
<type/>
|
1527 |
</argument>
|
1528 |
</method>
|
1529 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2863" package="Media Library Assistant">
|
1530 |
<name>_search_mla_galleries</name>
|
1531 |
<full_name>_search_mla_galleries</full_name>
|
1532 |
+
<docblock line="2852">
|
1533 |
<description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
|
1534 |
<long-description><![CDATA[]]></long-description>
|
1535 |
+
<tag line="2852" name="since" description="0.70"/>
|
1536 |
+
<tag line="2852" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
|
1537 |
<type by_reference="false">array</type>
|
1538 |
</tag>
|
1539 |
+
<tag line="2852" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
|
1540 |
<type by_reference="false">int</type>
|
1541 |
</tag>
|
1542 |
+
<tag line="2852" 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">
|
1543 |
<type by_reference="false">array</type>
|
1544 |
</tag>
|
1545 |
</docblock>
|
1546 |
+
<argument line="2863">
|
1547 |
<name>$galleries_array</name>
|
1548 |
<default><![CDATA[]]></default>
|
1549 |
<type/>
|
1550 |
</argument>
|
1551 |
+
<argument line="2863">
|
1552 |
<name>$attachment_id</name>
|
1553 |
<default><![CDATA[]]></default>
|
1554 |
<type/>
|
1555 |
</argument>
|
1556 |
</method>
|
1557 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2902" package="Media Library Assistant">
|
1558 |
<name>_parse_pdf_xref_subsection</name>
|
1559 |
<full_name>_parse_pdf_xref_subsection</full_name>
|
1560 |
+
<docblock line="2889">
|
1561 |
<description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
|
1562 |
<long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
|
1563 |
+
<tag line="2889" name="since" description="1.50"/>
|
1564 |
+
<tag line="2889" name="param" description="buffer containing the subsection" type="string" variable="$xref_section">
|
1565 |
<type by_reference="false">string</type>
|
1566 |
</tag>
|
1567 |
+
<tag line="2889" name="param" description="offset within the buffer of the first entry" type="integer" variable="$offset">
|
1568 |
<type by_reference="false">integer</type>
|
1569 |
</tag>
|
1570 |
+
<tag line="2889" name="param" description="number of the first object in the subsection" type="integer" variable="$object_id">
|
1571 |
<type by_reference="false">integer</type>
|
1572 |
</tag>
|
1573 |
+
<tag line="2889" name="param" description="number of entries in the subsection" type="integer" variable="$count">
|
1574 |
<type by_reference="false">integer</type>
|
1575 |
</tag>
|
1576 |
+
<tag line="2889" name="return" description="" type="void">
|
1577 |
<type by_reference="false">void</type>
|
1578 |
</tag>
|
1579 |
</docblock>
|
1580 |
+
<argument line="2902">
|
1581 |
<name>$xref_section</name>
|
1582 |
<default><![CDATA[]]></default>
|
1583 |
<type/>
|
1584 |
</argument>
|
1585 |
+
<argument line="2902">
|
1586 |
<name>$offset</name>
|
1587 |
<default><![CDATA[]]></default>
|
1588 |
<type/>
|
1589 |
</argument>
|
1590 |
+
<argument line="2902">
|
1591 |
<name>$object_id</name>
|
1592 |
<default><![CDATA[]]></default>
|
1593 |
<type/>
|
1594 |
</argument>
|
1595 |
+
<argument line="2902">
|
1596 |
<name>$count</name>
|
1597 |
<default><![CDATA[]]></default>
|
1598 |
<type/>
|
1599 |
</argument>
|
1600 |
</method>
|
1601 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2934" package="Media Library Assistant">
|
1602 |
<name>_parse_pdf_xref_section</name>
|
1603 |
<full_name>_parse_pdf_xref_section</full_name>
|
1604 |
+
<docblock line="2923">
|
1605 |
<description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
|
1606 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
1607 |
+
<tag line="2923" name="since" description="1.50"/>
|
1608 |
+
<tag line="2923" name="param" description="full path and file name" type="string" variable="$file_name">
|
1609 |
<type by_reference="false">string</type>
|
1610 |
</tag>
|
1611 |
+
<tag line="2923" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
|
1612 |
<type by_reference="false">integer</type>
|
1613 |
</tag>
|
1614 |
+
<tag line="2923" name="return" description="length of the section" type="integer">
|
1615 |
<type by_reference="false">integer</type>
|
1616 |
</tag>
|
1617 |
</docblock>
|
1618 |
+
<argument line="2934">
|
1619 |
<name>$file_name</name>
|
1620 |
<default><![CDATA[]]></default>
|
1621 |
<type/>
|
1622 |
</argument>
|
1623 |
+
<argument line="2934">
|
1624 |
<name>$file_offset</name>
|
1625 |
<default><![CDATA[]]></default>
|
1626 |
<type/>
|
1627 |
</argument>
|
1628 |
</method>
|
1629 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2968" package="Media Library Assistant">
|
1630 |
<name>_parse_pdf_xref_stream</name>
|
1631 |
<full_name>_parse_pdf_xref_stream</full_name>
|
1632 |
+
<docblock line="2956">
|
1633 |
<description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
|
1634 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
1635 |
+
<tag line="2956" name="since" description="1.50"/>
|
1636 |
+
<tag line="2956" name="param" description="full path and file name" type="string" variable="$file_name">
|
1637 |
<type by_reference="false">string</type>
|
1638 |
</tag>
|
1639 |
+
<tag line="2956" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
|
1640 |
<type by_reference="false">integer</type>
|
1641 |
</tag>
|
1642 |
+
<tag line="2956" name="param" description=""/W" entry, representing the size of the fields in a single entry" type="string" variable="$entry_parms_string">
|
1643 |
<type by_reference="false">string</type>
|
1644 |
</tag>
|
1645 |
+
<tag line="2956" name="return" description="length of the stream" type="integer">
|
1646 |
<type by_reference="false">integer</type>
|
1647 |
</tag>
|
1648 |
</docblock>
|
1649 |
+
<argument line="2968">
|
1650 |
<name>$file_name</name>
|
1651 |
<default><![CDATA[]]></default>
|
1652 |
<type/>
|
1653 |
</argument>
|
1654 |
+
<argument line="2968">
|
1655 |
<name>$file_offset</name>
|
1656 |
<default><![CDATA[]]></default>
|
1657 |
<type/>
|
1658 |
</argument>
|
1659 |
+
<argument line="2968">
|
1660 |
<name>$entry_parms_string</name>
|
1661 |
<default><![CDATA[]]></default>
|
1662 |
<type/>
|
1663 |
</argument>
|
1664 |
</method>
|
1665 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3047" package="Media Library Assistant">
|
1666 |
<name>_build_pdf_indirect_objects</name>
|
1667 |
<full_name>_build_pdf_indirect_objects</full_name>
|
1668 |
+
<docblock line="3037">
|
1669 |
<description><![CDATA[Build an array of indirect object definitions]]></description>
|
1670 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
1671 |
+
<tag line="3037" name="since" description="1.50"/>
|
1672 |
+
<tag line="3037" name="param" description="The entire PDF document, passsed by reference" type="string" variable="$string">
|
1673 |
<type by_reference="false">string</type>
|
1674 |
</tag>
|
1675 |
+
<tag line="3037" name="return" description="" type="void">
|
1676 |
<type by_reference="false">void</type>
|
1677 |
</tag>
|
1678 |
</docblock>
|
1679 |
+
<argument line="3047">
|
1680 |
<name>$string</name>
|
1681 |
<default><![CDATA[]]></default>
|
1682 |
<type/>
|
1683 |
</argument>
|
1684 |
</method>
|
1685 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3095" package="Media Library Assistant">
|
1686 |
<name>_find_pdf_indirect_dictionary</name>
|
1687 |
<full_name>_find_pdf_indirect_dictionary</full_name>
|
1688 |
+
<docblock line="3081">
|
1689 |
<description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
|
1690 |
<long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
|
1691 |
This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
|
1692 |
+
<tag line="3081" name="since" description="1.50"/>
|
1693 |
+
<tag line="3081" name="param" description="full path and file name" type="string" variable="$file_name">
|
1694 |
<type by_reference="false">string</type>
|
1695 |
</tag>
|
1696 |
+
<tag line="3081" name="param" description="The object number" type="integer" variable="$object">
|
1697 |
<type by_reference="false">integer</type>
|
1698 |
</tag>
|
1699 |
+
<tag line="3081" name="param" description="The object generation number; default zero (0)" type="integer" variable="$generation">
|
1700 |
<type by_reference="false">integer</type>
|
1701 |
</tag>
|
1702 |
+
<tag line="3081" name="return" description="NULL on failure else array( 'start' => offset in the file, 'length' => object length, 'content' => dictionary contents )" type="mixed">
|
1703 |
<type by_reference="false">mixed</type>
|
1704 |
</tag>
|
1705 |
</docblock>
|
1706 |
+
<argument line="3095">
|
1707 |
<name>$file_name</name>
|
1708 |
<default><![CDATA[]]></default>
|
1709 |
<type/>
|
1710 |
</argument>
|
1711 |
+
<argument line="3095">
|
1712 |
<name>$object</name>
|
1713 |
<default><![CDATA[]]></default>
|
1714 |
<type/>
|
1715 |
</argument>
|
1716 |
+
<argument line="3095">
|
1717 |
<name>$generation</name>
|
1718 |
<default><![CDATA[0]]></default>
|
1719 |
<type/>
|
1720 |
</argument>
|
1721 |
</method>
|
1722 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3192" package="Media Library Assistant">
|
1723 |
<name>_parse_iso8601_date</name>
|
1724 |
<full_name>_parse_iso8601_date</full_name>
|
1725 |
+
<docblock line="3183">
|
1726 |
<description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
|
1727 |
<long-description><![CDATA[]]></long-description>
|
1728 |
+
<tag line="3183" name="since" description="1.50"/>
|
1729 |
+
<tag line="3183" name="param" description="ISO string of the form YYYY-MM-DDTHH:MM:SS-HH:MM (inc time zone)" type="string" variable="$source_string">
|
1730 |
<type by_reference="false">string</type>
|
1731 |
</tag>
|
1732 |
+
<tag line="3183" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
|
1733 |
<type by_reference="false">string</type>
|
1734 |
</tag>
|
1735 |
</docblock>
|
1736 |
+
<argument line="3192">
|
1737 |
<name>$source_string</name>
|
1738 |
<default><![CDATA[]]></default>
|
1739 |
<type/>
|
1740 |
</argument>
|
1741 |
</method>
|
1742 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3215" package="Media Library Assistant">
|
1743 |
<name>_parse_pdf_date</name>
|
1744 |
<full_name>_parse_pdf_date</full_name>
|
1745 |
+
<docblock line="3206">
|
1746 |
<description><![CDATA[Parse a PDF date string]]></description>
|
1747 |
<long-description><![CDATA[]]></long-description>
|
1748 |
+
<tag line="3206" name="since" description="1.50"/>
|
1749 |
+
<tag line="3206" name="param" description="PDF date string of the form D:YYYYMMDDHHmmSSOHH'mm" type="string" variable="$source_string">
|
1750 |
<type by_reference="false">string</type>
|
1751 |
</tag>
|
1752 |
+
<tag line="3206" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
|
1753 |
<type by_reference="false">string</type>
|
1754 |
</tag>
|
1755 |
</docblock>
|
1756 |
+
<argument line="3215">
|
1757 |
<name>$source_string</name>
|
1758 |
<default><![CDATA[]]></default>
|
1759 |
<type/>
|
1760 |
</argument>
|
1761 |
</method>
|
1762 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3238" package="Media Library Assistant">
|
1763 |
<name>_parse_pdf_UTF16BE</name>
|
1764 |
<full_name>_parse_pdf_UTF16BE</full_name>
|
1765 |
+
<docblock line="3229">
|
1766 |
<description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
|
1767 |
<long-description><![CDATA[]]></long-description>
|
1768 |
+
<tag line="3229" name="since" description="1.50"/>
|
1769 |
+
<tag line="3229" name="param" description="PDF string of 16-bit characters" type="string" variable="$source_string">
|
1770 |
<type by_reference="false">string</type>
|
1771 |
</tag>
|
1772 |
+
<tag line="3229" name="return" description="UTF-8 encoded string" type="string">
|
1773 |
<type by_reference="false">string</type>
|
1774 |
</tag>
|
1775 |
</docblock>
|
1776 |
+
<argument line="3238">
|
1777 |
<name>$source_string</name>
|
1778 |
<default><![CDATA[]]></default>
|
1779 |
<type/>
|
1780 |
</argument>
|
1781 |
</method>
|
1782 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3267" package="Media Library Assistant">
|
1783 |
<name>_parse_pdf_string</name>
|
1784 |
<full_name>_parse_pdf_string</full_name>
|
1785 |
+
<docblock line="3254">
|
1786 |
<description><![CDATA[Parse a PDF string object]]></description>
|
1787 |
<long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
|
1788 |
the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
|
1789 |
+
<tag line="3254" name="since" description="1.50"/>
|
1790 |
+
<tag line="3254" name="param" description="data within which the string occurs" type="string" variable="$source_string">
|
1791 |
<type by_reference="false">string</type>
|
1792 |
</tag>
|
1793 |
+
<tag line="3254" name="param" description="offset within the source string of the opening '(' character." type="integer" variable="$offset">
|
1794 |
<type by_reference="false">integer</type>
|
1795 |
</tag>
|
1796 |
+
<tag line="3254" name="return" description="( key => array( 'type' => type, 'value' => value, '/length' => length ) ) for the string" type="array">
|
1797 |
<type by_reference="false">array</type>
|
1798 |
</tag>
|
1799 |
</docblock>
|
1800 |
+
<argument line="3267">
|
1801 |
<name>$source_string</name>
|
1802 |
<default><![CDATA[]]></default>
|
1803 |
<type/>
|
1804 |
</argument>
|
1805 |
+
<argument line="3267">
|
1806 |
<name>$offset</name>
|
1807 |
<default><![CDATA[]]></default>
|
1808 |
<type/>
|
1809 |
</argument>
|
1810 |
</method>
|
1811 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3361" package="Media Library Assistant">
|
1812 |
<name>_parse_pdf_LPD_dictionary</name>
|
1813 |
<full_name>_parse_pdf_LPD_dictionary</full_name>
|
1814 |
+
<docblock line="3347">
|
1815 |
<description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
|
1816 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
1817 |
indirect (object), name, array, dictionary, stream, and null.
|
1818 |
The array also has a '/length' element containing the number of bytes occupied by the
|
1819 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
1820 |
+
<tag line="3347" name="since" description="1.50"/>
|
1821 |
+
<tag line="3347" name="param" description="data within which the object occurs, typically the start of a PDF document" type="string" variable="$source_string">
|
1822 |
<type by_reference="false">string</type>
|
1823 |
</tag>
|
1824 |
+
<tag line="3347" name="param" description="filesize of the PDF document, for validation purposes, or zero (0) to ignore filesize" type="integer" variable="$filesize">
|
1825 |
<type by_reference="false">integer</type>
|
1826 |
</tag>
|
1827 |
+
<tag line="3347" name="return" description="array of dictionary objects on success, false on failure" type="mixed">
|
1828 |
<type by_reference="false">mixed</type>
|
1829 |
</tag>
|
1830 |
</docblock>
|
1831 |
+
<argument line="3361">
|
1832 |
<name>$source_string</name>
|
1833 |
<default><![CDATA[]]></default>
|
1834 |
<type/>
|
1835 |
</argument>
|
1836 |
+
<argument line="3361">
|
1837 |
<name>$filesize</name>
|
1838 |
<default><![CDATA[]]></default>
|
1839 |
<type/>
|
1840 |
</argument>
|
1841 |
</method>
|
1842 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3386" package="Media Library Assistant">
|
1843 |
<name>_parse_pdf_dictionary</name>
|
1844 |
<full_name>_parse_pdf_dictionary</full_name>
|
1845 |
+
<docblock line="3372">
|
1846 |
<description><![CDATA[Parse a PDF dictionary object]]></description>
|
1847 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
1848 |
indirect (object), name, array, dictionary, stream, and null.
|
1849 |
The array also has a '/length' element containing the number of bytes occupied by the
|
1850 |
dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
|
1851 |
+
<tag line="3372" name="since" description="1.50"/>
|
1852 |
+
<tag line="3372" name="param" description="data within which the string occurs" type="string" variable="$source_string">
|
1853 |
<type by_reference="false">string</type>
|
1854 |
</tag>
|
1855 |
+
<tag line="3372" name="param" description="offset within the source string of the opening '<<' characters or the first content character." type="integer" variable="$offset">
|
1856 |
<type by_reference="false">integer</type>
|
1857 |
</tag>
|
1858 |
+
<tag line="3372" name="return" description="( '/length' => length, key => array( 'type' => type, 'value' => value ) ) for each dictionary field" type="array">
|
1859 |
<type by_reference="false">array</type>
|
1860 |
</tag>
|
1861 |
</docblock>
|
1862 |
+
<argument line="3386">
|
1863 |
<name>$source_string</name>
|
1864 |
<default><![CDATA[]]></default>
|
1865 |
<type/>
|
1866 |
</argument>
|
1867 |
+
<argument line="3386">
|
1868 |
<name>$offset</name>
|
1869 |
<default><![CDATA[]]></default>
|
1870 |
<type/>
|
1871 |
</argument>
|
1872 |
</method>
|
1873 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3518" package="Media Library Assistant">
|
1874 |
<name>_parse_xmp_metadata</name>
|
1875 |
<full_name>_parse_xmp_metadata</full_name>
|
1876 |
+
<docblock line="3504">
|
1877 |
<description><![CDATA[Parse an XMP object]]></description>
|
1878 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
1879 |
indirect (object), name, array, dictionary, stream, and null.
|
1880 |
The array also has a '/length' element containing the number of bytes occupied by the
|
1881 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
1882 |
+
<tag line="3504" name="since" description="1.50"/>
|
1883 |
+
<tag line="3504" name="param" description="full path and file name" type="string" variable="$file_name">
|
1884 |
<type by_reference="false">string</type>
|
1885 |
</tag>
|
1886 |
+
<tag line="3504" name="param" description="offset within the file of the search start point" type="integer" variable="$file_offset">
|
1887 |
<type by_reference="false">integer</type>
|
1888 |
</tag>
|
1889 |
+
<tag line="3504" name="return" description="array of metadata values or NULL on failure" type="mixed">
|
1890 |
<type by_reference="false">mixed</type>
|
1891 |
</tag>
|
1892 |
</docblock>
|
1893 |
+
<argument line="3518">
|
1894 |
<name>$file_name</name>
|
1895 |
<default><![CDATA[]]></default>
|
1896 |
<type/>
|
1897 |
</argument>
|
1898 |
+
<argument line="3518">
|
1899 |
<name>$file_offset</name>
|
1900 |
<default><![CDATA[]]></default>
|
1901 |
<type/>
|
1902 |
</argument>
|
1903 |
</method>
|
1904 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3807" package="Media Library Assistant">
|
1905 |
<name>_extract_pdf_trailer</name>
|
1906 |
<full_name>_extract_pdf_trailer</full_name>
|
1907 |
+
<docblock line="3797">
|
1908 |
<description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
|
1909 |
<long-description><![CDATA[]]></long-description>
|
1910 |
+
<tag line="3797" name="since" description="1.50"/>
|
1911 |
+
<tag line="3797" name="param" description="full path to the desired file" type="string" variable="$file_name">
|
1912 |
<type by_reference="false">string</type>
|
1913 |
</tag>
|
1914 |
+
<tag line="3797" name="param" description="offset within file of the cross-reference table" type="integer" variable="$file_offset">
|
1915 |
<type by_reference="false">integer</type>
|
1916 |
</tag>
|
1917 |
+
<tag line="3797" name="return" description="array of "PDF dictionary arrays", newest first, or NULL on failure" type="mixed">
|
1918 |
<type by_reference="false">mixed</type>
|
1919 |
</tag>
|
1920 |
</docblock>
|
1921 |
+
<argument line="3807">
|
1922 |
<name>$file_name</name>
|
1923 |
<default><![CDATA[]]></default>
|
1924 |
<type/>
|
1925 |
</argument>
|
1926 |
+
<argument line="3807">
|
1927 |
<name>$file_offset</name>
|
1928 |
<default><![CDATA[]]></default>
|
1929 |
<type/>
|
1930 |
</argument>
|
1931 |
</method>
|
1932 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3893" package="Media Library Assistant">
|
1933 |
<name>_extract_pdf_metadata</name>
|
1934 |
<full_name>_extract_pdf_metadata</full_name>
|
1935 |
+
<docblock line="3884">
|
1936 |
<description><![CDATA[Extract Metadata from a PDF file]]></description>
|
1937 |
<long-description><![CDATA[]]></long-description>
|
1938 |
+
<tag line="3884" name="since" description="1.50"/>
|
1939 |
+
<tag line="3884" name="param" description="full path to the desired file" type="string" variable="$file_name">
|
1940 |
<type by_reference="false">string</type>
|
1941 |
</tag>
|
1942 |
+
<tag line="3884" name="return" description="( key => value ) for each metadata field, in string format" type="array">
|
1943 |
<type by_reference="false">array</type>
|
1944 |
</tag>
|
1945 |
</docblock>
|
1946 |
+
<argument line="3893">
|
1947 |
<name>$file_name</name>
|
1948 |
<default><![CDATA[]]></default>
|
1949 |
<type/>
|
1950 |
</argument>
|
1951 |
</method>
|
1952 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4026" package="Media Library Assistant">
|
1953 |
<name>_bin_to_utf8</name>
|
1954 |
<full_name>_bin_to_utf8</full_name>
|
1955 |
+
<docblock line="4017">
|
1956 |
<description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
|
1957 |
<long-description><![CDATA[]]></long-description>
|
1958 |
+
<tag line="4017" name="since" description="1.41"/>
|
1959 |
+
<tag line="4017" name="param" description="unencoded string" type="string" variable="$string">
|
1960 |
<type by_reference="false">string</type>
|
1961 |
</tag>
|
1962 |
+
<tag line="4017" name="return" description="UTF-8 encoded string" type="string">
|
1963 |
<type by_reference="false">string</type>
|
1964 |
</tag>
|
1965 |
</docblock>
|
1966 |
+
<argument line="4026">
|
1967 |
<name>$string</name>
|
1968 |
<default><![CDATA[]]></default>
|
1969 |
<type/>
|
1970 |
</argument>
|
1971 |
</method>
|
1972 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4424" package="Media Library Assistant">
|
1973 |
<name>mla_iptc_metadata_value</name>
|
1974 |
<full_name>mla_iptc_metadata_value</full_name>
|
1975 |
+
<docblock line="4414">
|
1976 |
<description><![CDATA[Parse one IPTC metadata field]]></description>
|
1977 |
<long-description><![CDATA[]]></long-description>
|
1978 |
+
<tag line="4414" name="since" description="1.41"/>
|
1979 |
+
<tag line="4414" name="param" description="field name - IPTC Identifier or friendly name/slug" type="string" variable="$iptc_key">
|
1980 |
<type by_reference="false">string</type>
|
1981 |
</tag>
|
1982 |
+
<tag line="4414" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
|
1983 |
<type by_reference="false">string</type>
|
1984 |
</tag>
|
1985 |
+
<tag line="4414" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
|
1986 |
<type by_reference="false">mixed</type>
|
1987 |
</tag>
|
1988 |
</docblock>
|
1989 |
+
<argument line="4424">
|
1990 |
<name>$iptc_key</name>
|
1991 |
<default><![CDATA[]]></default>
|
1992 |
<type/>
|
1993 |
</argument>
|
1994 |
+
<argument line="4424">
|
1995 |
<name>$item_metadata</name>
|
1996 |
<default><![CDATA[]]></default>
|
1997 |
<type/>
|
1998 |
</argument>
|
1999 |
</method>
|
2000 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4456" package="Media Library Assistant">
|
2001 |
<name>mla_exif_metadata_value</name>
|
2002 |
<full_name>mla_exif_metadata_value</full_name>
|
2003 |
+
<docblock line="4444">
|
2004 |
<description><![CDATA[Parse one EXIF metadata field]]></description>
|
2005 |
<long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
|
2006 |
+
<tag line="4444" name="since" description="1.13"/>
|
2007 |
+
<tag line="4444" name="param" description="field name" type="string" variable="$exif_key">
|
2008 |
<type by_reference="false">string</type>
|
2009 |
</tag>
|
2010 |
+
<tag line="4444" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
|
2011 |
<type by_reference="false">string</type>
|
2012 |
</tag>
|
2013 |
+
<tag line="4444" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
|
2014 |
<type by_reference="false">mixed</type>
|
2015 |
</tag>
|
2016 |
</docblock>
|
2017 |
+
<argument line="4456">
|
2018 |
<name>$exif_key</name>
|
2019 |
<default><![CDATA[]]></default>
|
2020 |
<type/>
|
2021 |
</argument>
|
2022 |
+
<argument line="4456">
|
2023 |
<name>$item_metadata</name>
|
2024 |
<default><![CDATA[]]></default>
|
2025 |
<type/>
|
2026 |
</argument>
|
2027 |
</method>
|
2028 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4517" package="Media Library Assistant">
|
2029 |
<name>mla_pdf_metadata_value</name>
|
2030 |
<full_name>mla_pdf_metadata_value</full_name>
|
2031 |
+
<docblock line="4505">
|
2032 |
<description><![CDATA[Parse one PDF metadata field]]></description>
|
2033 |
<long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
|
2034 |
+
<tag line="4505" name="since" description="1.50"/>
|
2035 |
+
<tag line="4505" name="param" description="field name" type="string" variable="$pdf_key">
|
2036 |
<type by_reference="false">string</type>
|
2037 |
</tag>
|
2038 |
+
<tag line="4505" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
|
2039 |
<type by_reference="false">string</type>
|
2040 |
</tag>
|
2041 |
+
<tag line="4505" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
|
2042 |
<type by_reference="false">mixed</type>
|
2043 |
</tag>
|
2044 |
</docblock>
|
2045 |
+
<argument line="4517">
|
2046 |
<name>$pdf_key</name>
|
2047 |
<default><![CDATA[]]></default>
|
2048 |
<type/>
|
2049 |
</argument>
|
2050 |
+
<argument line="4517">
|
2051 |
<name>$item_metadata</name>
|
2052 |
<default><![CDATA[]]></default>
|
2053 |
<type/>
|
2054 |
</argument>
|
2055 |
</method>
|
2056 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4559" package="Media Library Assistant">
|
2057 |
<name>_rational_to_decimal</name>
|
2058 |
<full_name>_rational_to_decimal</full_name>
|
2059 |
+
<docblock line="4550">
|
2060 |
<description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
|
2061 |
<long-description><![CDATA[]]></long-description>
|
2062 |
+
<tag line="4550" name="since" description="1.50"/>
|
2063 |
+
<tag line="4550" name="param" description="array( 0 => numerator, 1 => denominator )" type="array" variable="$rational">
|
2064 |
<type by_reference="false">array</type>
|
2065 |
</tag>
|
2066 |
+
<tag line="4550" name="return" description="numerator/denominator" type="float">
|
2067 |
<type by_reference="false">float</type>
|
2068 |
</tag>
|
2069 |
</docblock>
|
2070 |
+
<argument line="4559">
|
2071 |
<name>$rational</name>
|
2072 |
<default><![CDATA[]]></default>
|
2073 |
<type/>
|
2074 |
</argument>
|
2075 |
</method>
|
2076 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4586" package="Media Library Assistant">
|
2077 |
<name>mla_IPTC_EXIF_error_handler</name>
|
2078 |
<full_name>mla_IPTC_EXIF_error_handler</full_name>
|
2079 |
+
<docblock line="4574">
|
2080 |
<description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
|
2081 |
<long-description><![CDATA[]]></long-description>
|
2082 |
+
<tag line="4574" name="since" description="1.81"/>
|
2083 |
+
<tag line="4574" name="param" description="the level of the error raised" type="int" variable="$type">
|
2084 |
<type by_reference="false">int</type>
|
2085 |
</tag>
|
2086 |
+
<tag line="4574" name="param" description="the error message" type="string" variable="$string">
|
2087 |
<type by_reference="false">string</type>
|
2088 |
</tag>
|
2089 |
+
<tag line="4574" name="param" description="the filename that the error was raised in" type="string" variable="$file">
|
2090 |
<type by_reference="false">string</type>
|
2091 |
</tag>
|
2092 |
+
<tag line="4574" name="param" description="the line number the error was raised at" type="int" variable="$line">
|
2093 |
<type by_reference="false">int</type>
|
2094 |
</tag>
|
2095 |
+
<tag line="4574" name="return" description="true, to bypass PHP error handler" type="boolean">
|
2096 |
<type by_reference="false">boolean</type>
|
2097 |
</tag>
|
2098 |
</docblock>
|
2099 |
+
<argument line="4586">
|
2100 |
<name>$type</name>
|
2101 |
<default><![CDATA[]]></default>
|
2102 |
<type/>
|
2103 |
</argument>
|
2104 |
+
<argument line="4586">
|
2105 |
<name>$string</name>
|
2106 |
<default><![CDATA[]]></default>
|
2107 |
<type/>
|
2108 |
</argument>
|
2109 |
+
<argument line="4586">
|
2110 |
<name>$file</name>
|
2111 |
<default><![CDATA[]]></default>
|
2112 |
<type/>
|
2113 |
</argument>
|
2114 |
+
<argument line="4586">
|
2115 |
<name>$line</name>
|
2116 |
<default><![CDATA[]]></default>
|
2117 |
<type/>
|
2118 |
</argument>
|
2119 |
</method>
|
2120 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4624" package="Media Library Assistant">
|
2121 |
<name>mla_fetch_attachment_image_metadata</name>
|
2122 |
<full_name>mla_fetch_attachment_image_metadata</full_name>
|
2123 |
+
<docblock line="4614">
|
2124 |
<description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
|
2125 |
<long-description><![CDATA[]]></long-description>
|
2126 |
+
<tag line="4614" name="since" description="0.90"/>
|
2127 |
+
<tag line="4614" name="param" description="post ID of attachment" type="int" variable="$post_id">
|
2128 |
<type by_reference="false">int</type>
|
2129 |
</tag>
|
2130 |
+
<tag line="4614" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
|
2131 |
<type by_reference="false">string</type>
|
2132 |
</tag>
|
2133 |
+
<tag line="4614" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
|
2134 |
<type by_reference="false">array</type>
|
2135 |
</tag>
|
2136 |
</docblock>
|
2137 |
+
<argument line="4624">
|
2138 |
<name>$post_id</name>
|
2139 |
<default><![CDATA[]]></default>
|
2140 |
<type/>
|
2141 |
</argument>
|
2142 |
+
<argument line="4624">
|
2143 |
<name>$path</name>
|
2144 |
<default><![CDATA['']]></default>
|
2145 |
<type/>
|
2146 |
</argument>
|
2147 |
</method>
|
2148 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4813" package="Media Library Assistant">
|
2149 |
<name>mla_update_wp_attachment_metadata</name>
|
2150 |
<full_name>mla_update_wp_attachment_metadata</full_name>
|
2151 |
+
<docblock line="4803">
|
2152 |
<description><![CDATA[Update "meta:" data for a single attachment]]></description>
|
2153 |
<long-description><![CDATA[]]></long-description>
|
2154 |
+
<tag line="4803" name="since" description="1.51"/>
|
2155 |
+
<tag line="4803" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
|
2156 |
<type by_reference="false">array</type>
|
2157 |
</tag>
|
2158 |
+
<tag line="4803" name="param" description="Field name => value pairs" type="array" variable="$new_meta">
|
2159 |
<type by_reference="false">array</type>
|
2160 |
</tag>
|
2161 |
+
<tag line="4803" name="return" description="success/failure message(s); empty string if no changes." type="string">
|
2162 |
<type by_reference="false">string</type>
|
2163 |
</tag>
|
2164 |
</docblock>
|
2165 |
+
<argument line="4813">
|
2166 |
<name>$current_values</name>
|
2167 |
<default><![CDATA[]]></default>
|
2168 |
<type/>
|
2169 |
</argument>
|
2170 |
+
<argument line="4813">
|
2171 |
<name>$new_meta</name>
|
2172 |
<default><![CDATA[]]></default>
|
2173 |
<type/>
|
2174 |
</argument>
|
2175 |
</method>
|
2176 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4896" package="Media Library Assistant">
|
2177 |
<name>mla_update_item_postmeta</name>
|
2178 |
<full_name>mla_update_item_postmeta</full_name>
|
2179 |
+
<docblock line="4886">
|
2180 |
<description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
|
2181 |
<long-description><![CDATA[]]></long-description>
|
2182 |
+
<tag line="4886" name="since" description="1.40"/>
|
2183 |
+
<tag line="4886" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
|
2184 |
<type by_reference="false">int</type>
|
2185 |
</tag>
|
2186 |
+
<tag line="4886" name="param" description="Field name => value pairs" type="array" variable="$new_meta">
|
2187 |
<type by_reference="false">array</type>
|
2188 |
</tag>
|
2189 |
+
<tag line="4886" name="return" description="success/failure message(s)" type="string">
|
2190 |
<type by_reference="false">string</type>
|
2191 |
</tag>
|
2192 |
</docblock>
|
2193 |
+
<argument line="4896">
|
2194 |
<name>$post_id</name>
|
2195 |
<default><![CDATA[]]></default>
|
2196 |
<type/>
|
2197 |
</argument>
|
2198 |
+
<argument line="4896">
|
2199 |
<name>$new_meta</name>
|
2200 |
<default><![CDATA[]]></default>
|
2201 |
<type/>
|
2202 |
</argument>
|
2203 |
</method>
|
2204 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5063" package="Media Library Assistant">
|
2205 |
<name>mla_update_single_item</name>
|
2206 |
<full_name>mla_update_single_item</full_name>
|
2207 |
+
<docblock line="5050">
|
2208 |
<description><![CDATA[Update a single item; change the "post" data, taxonomy terms
|
2209 |
and meta data for a single attachment]]></description>
|
2210 |
<long-description><![CDATA[]]></long-description>
|
2211 |
+
<tag line="5050" name="since" description="0.1"/>
|
2212 |
+
<tag line="5050" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
|
2213 |
<type by_reference="false">int</type>
|
2214 |
</tag>
|
2215 |
+
<tag line="5050" name="param" description="Field name => value pairs" type="array" variable="$new_data">
|
2216 |
<type by_reference="false">array</type>
|
2217 |
</tag>
|
2218 |
+
<tag line="5050" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
|
2219 |
<type by_reference="false">array</type>
|
2220 |
</tag>
|
2221 |
+
<tag line="5050" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
|
2222 |
<type by_reference="false">array</type>
|
2223 |
</tag>
|
2224 |
+
<tag line="5050" name="return" description="success/failure message and NULL content" type="array">
|
2225 |
<type by_reference="false">array</type>
|
2226 |
</tag>
|
2227 |
</docblock>
|
2228 |
+
<argument line="5063">
|
2229 |
<name>$post_id</name>
|
2230 |
<default><![CDATA[]]></default>
|
2231 |
<type/>
|
2232 |
</argument>
|
2233 |
+
<argument line="5063">
|
2234 |
<name>$new_data</name>
|
2235 |
<default><![CDATA[]]></default>
|
2236 |
<type/>
|
2237 |
</argument>
|
2238 |
+
<argument line="5063">
|
2239 |
<name>$tax_input</name>
|
2240 |
<default><![CDATA[NULL]]></default>
|
2241 |
<type/>
|
2242 |
</argument>
|
2243 |
+
<argument line="5063">
|
2244 |
<name>$tax_actions</name>
|
2245 |
<default><![CDATA[NULL]]></default>
|
2246 |
<type/>
|
2247 |
</argument>
|
2248 |
</method>
|
2249 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5339" package="Media Library Assistant">
|
2250 |
<name>_remove_tags</name>
|
2251 |
<full_name>_remove_tags</full_name>
|
2252 |
+
<docblock line="5328">
|
2253 |
<description><![CDATA[Remove tags from a term ids list]]></description>
|
2254 |
<long-description><![CDATA[]]></long-description>
|
2255 |
+
<tag line="5328" name="since" description="0.40"/>
|
2256 |
+
<tag line="5328" name="param" description="The term ids currently assigned" type="array" variable="$terms_before">
|
2257 |
<type by_reference="false">array</type>
|
2258 |
</tag>
|
2259 |
+
<tag line="5328" name="param" description="| string The term ids (array) or names (string) to remove" type="array" variable="$tags">
|
2260 |
<type by_reference="false">array</type>
|
2261 |
</tag>
|
2262 |
+
<tag line="5328" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
|
2263 |
<type by_reference="false">object</type>
|
2264 |
</tag>
|
2265 |
+
<tag line="5328" name="return" description="Term ids of the surviving tags" type="array">
|
2266 |
<type by_reference="false">array</type>
|
2267 |
</tag>
|
2268 |
</docblock>
|
2269 |
+
<argument line="5339">
|
2270 |
<name>$terms_before</name>
|
2271 |
<default><![CDATA[]]></default>
|
2272 |
<type/>
|
2273 |
</argument>
|
2274 |
+
<argument line="5339">
|
2275 |
<name>$tags</name>
|
2276 |
<default><![CDATA[]]></default>
|
2277 |
<type/>
|
2278 |
</argument>
|
2279 |
+
<argument line="5339">
|
2280 |
<name>$taxonomy_obj</name>
|
2281 |
<default><![CDATA[]]></default>
|
2282 |
<type/>
|
2283 |
</argument>
|
2284 |
</method>
|
2285 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5388" package="Media Library Assistant">
|
2286 |
<name>_hex_dump</name>
|
2287 |
<full_name>_hex_dump</full_name>
|
2288 |
+
<docblock line="5376">
|
2289 |
<description><![CDATA[Format printable version of binary data]]></description>
|
2290 |
<long-description><![CDATA[]]></long-description>
|
2291 |
+
<tag line="5376" name="since" description="0.90"/>
|
2292 |
+
<tag line="5376" name="param" description="Binary data" type="string" variable="$data">
|
2293 |
<type by_reference="false">string</type>
|
2294 |
</tag>
|
2295 |
+
<tag line="5376" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
|
2296 |
<type by_reference="false">integer</type>
|
2297 |
</tag>
|
2298 |
+
<tag line="5376" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
|
2299 |
<type by_reference="false">\intger</type>
|
2300 |
</tag>
|
2301 |
+
<tag line="5376" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
|
2302 |
<type by_reference="false">integer</type>
|
2303 |
</tag>
|
2304 |
+
<tag line="5376" name="return" description="Printable representation of $data" type="string">
|
2305 |
<type by_reference="false">string</type>
|
2306 |
</tag>
|
2307 |
</docblock>
|
2308 |
+
<argument line="5388">
|
2309 |
<name>$data</name>
|
2310 |
<default><![CDATA[]]></default>
|
2311 |
<type/>
|
2312 |
</argument>
|
2313 |
+
<argument line="5388">
|
2314 |
<name>$limit</name>
|
2315 |
<default><![CDATA[0]]></default>
|
2316 |
<type/>
|
2317 |
</argument>
|
2318 |
+
<argument line="5388">
|
2319 |
<name>$bytes_per_row</name>
|
2320 |
<default><![CDATA[16]]></default>
|
2321 |
<type/>
|
2322 |
</argument>
|
2323 |
+
<argument line="5388">
|
2324 |
<name>$offset</name>
|
2325 |
<default><![CDATA[-1]]></default>
|
2326 |
<type/>
|
2328 |
</method>
|
2329 |
</class>
|
2330 |
<markers>
|
2331 |
+
<todo line="3247">encode the rest</todo>
|
2332 |
</markers>
|
2333 |
</file>
|
2334 |
+
<file path="includes\class-mla-edit-media.php" hash="5edb962566b11a8db6e08d3cb43efc9d" package="Media Library Assistant">
|
2335 |
<docblock line="2">
|
2336 |
<description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
|
2337 |
<long-description><![CDATA[]]></long-description>
|
2387 |
</tag>
|
2388 |
</docblock>
|
2389 |
</constant>
|
2390 |
+
<property final="false" static="true" visibility="private" line="385" namespace="global" package="Media Library Assistant">
|
2391 |
<name>$mla_references</name>
|
2392 |
<default><![CDATA[null]]></default>
|
2393 |
+
<docblock line="375">
|
2394 |
<description><![CDATA[Where-used values for the current item]]></description>
|
2395 |
<long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
|
2396 |
The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
|
2397 |
+
<tag line="375" name="since" description="0.80"/>
|
2398 |
+
<tag line="375" name="var" description="" type="array">
|
2399 |
<type by_reference="false">array</type>
|
2400 |
</tag>
|
2401 |
</docblock>
|
2444 |
<type/>
|
2445 |
</argument>
|
2446 |
</method>
|
2447 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="195" package="Media Library Assistant">
|
2448 |
<name>mla_post_updated_messages_filter</name>
|
2449 |
<full_name>mla_post_updated_messages_filter</full_name>
|
2450 |
+
<docblock line="185">
|
2451 |
<description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
|
2452 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
2453 |
+
<tag line="185" name="since" description="1.10"/>
|
2454 |
+
<tag line="185" name="param" description="messages for the Edit screen" type="array" variable="$messages">
|
2455 |
<type by_reference="false">array</type>
|
2456 |
</tag>
|
2457 |
+
<tag line="185" name="return" description="updated messages" type="array">
|
2458 |
<type by_reference="false">array</type>
|
2459 |
</tag>
|
2460 |
</docblock>
|
2461 |
+
<argument line="195">
|
2462 |
<name>$messages</name>
|
2463 |
<default><![CDATA[]]></default>
|
2464 |
<type/>
|
2465 |
</argument>
|
2466 |
</method>
|
2467 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="212" package="Media Library Assistant">
|
2468 |
<name>mla_attachment_submitbox_action</name>
|
2469 |
<full_name>mla_attachment_submitbox_action</full_name>
|
2470 |
+
<docblock line="204">
|
2471 |
<description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
|
2472 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2473 |
+
<tag line="204" name="since" description="0.80"/>
|
2474 |
+
<tag line="204" name="return" description="echoes the HTML markup for the label and value" type="void">
|
2475 |
<type by_reference="false">void</type>
|
2476 |
</tag>
|
2477 |
</docblock>
|
2478 |
</method>
|
2479 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="248" package="Media Library Assistant">
|
2480 |
<name>mla_add_meta_boxes_action</name>
|
2481 |
<full_name>mla_add_meta_boxes_action</full_name>
|
2482 |
+
<docblock line="237">
|
2483 |
<description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
|
2484 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2485 |
+
<tag line="237" name="since" description="0.80"/>
|
2486 |
+
<tag line="237" name="param" description="type of the current post, e.g., 'attachment' (optional, default 'unknown')" type="string" variable="$post_type">
|
2487 |
<type by_reference="false">string</type>
|
2488 |
</tag>
|
2489 |
+
<tag line="237" name="param" description="current post (optional, default (object) array ( 'ID' => 0 ))" type="object" variable="$post">
|
2490 |
<type by_reference="false">object</type>
|
2491 |
</tag>
|
2492 |
+
<tag line="237" name="return" description="" type="void">
|
2493 |
<type by_reference="false">void</type>
|
2494 |
</tag>
|
2495 |
</docblock>
|
2496 |
+
<argument line="248">
|
2497 |
<name>$post_type</name>
|
2498 |
<default><![CDATA['unknown']]></default>
|
2499 |
<type/>
|
2500 |
</argument>
|
2501 |
+
<argument line="248">
|
2502 |
<name>$post</name>
|
2503 |
<default><![CDATA[NULL]]></default>
|
2504 |
<type/>
|
2505 |
</argument>
|
2506 |
</method>
|
2507 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="335" package="Media Library Assistant">
|
2508 |
<name>mla_edit_add_help_tab</name>
|
2509 |
<full_name>mla_edit_add_help_tab</full_name>
|
2510 |
+
<docblock line="325">
|
2511 |
<description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
|
2512 |
<long-description><![CDATA[]]></long-description>
|
2513 |
+
<tag line="325" name="since" description="0.90"/>
|
2514 |
+
<tag line="325" name="param" description="title as shown on the screen" type="string" variable="$admin_title">
|
2515 |
<type by_reference="false">string</type>
|
2516 |
</tag>
|
2517 |
+
<tag line="325" name="param" description="title as shown in the HTML header" type="string" variable="$title">
|
2518 |
<type by_reference="false">string</type>
|
2519 |
</tag>
|
2520 |
+
<tag line="325" name="return" description="" type="void">
|
2521 |
<type by_reference="false">void</type>
|
2522 |
</tag>
|
2523 |
</docblock>
|
2524 |
+
<argument line="335">
|
2525 |
<name>$admin_title</name>
|
2526 |
<default><![CDATA[]]></default>
|
2527 |
<type/>
|
2528 |
</argument>
|
2529 |
+
<argument line="335">
|
2530 |
<name>$title</name>
|
2531 |
<default><![CDATA[]]></default>
|
2532 |
<type/>
|
2533 |
</argument>
|
2534 |
</method>
|
2535 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="397" package="Media Library Assistant">
|
2536 |
<name>mla_parent_info_handler</name>
|
2537 |
<full_name>mla_parent_info_handler</full_name>
|
2538 |
+
<docblock line="387">
|
2539 |
<description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
|
2540 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2541 |
+
<tag line="387" name="since" description="0.80"/>
|
2542 |
+
<tag line="387" name="param" description="current post" type="object" variable="$post">
|
2543 |
<type by_reference="false">object</type>
|
2544 |
</tag>
|
2545 |
+
<tag line="387" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2546 |
<type by_reference="false">void</type>
|
2547 |
</tag>
|
2548 |
</docblock>
|
2549 |
+
<argument line="397">
|
2550 |
<name>$post</name>
|
2551 |
<default><![CDATA[]]></default>
|
2552 |
<type/>
|
2553 |
</argument>
|
2554 |
</method>
|
2555 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="457" package="Media Library Assistant">
|
2556 |
<name>mla_menu_order_handler</name>
|
2557 |
<full_name>mla_menu_order_handler</full_name>
|
2558 |
+
<docblock line="447">
|
2559 |
<description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
|
2560 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2561 |
+
<tag line="447" name="since" description="0.80"/>
|
2562 |
+
<tag line="447" name="param" description="current post" type="object" variable="$post">
|
2563 |
<type by_reference="false">object</type>
|
2564 |
</tag>
|
2565 |
+
<tag line="447" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2566 |
<type by_reference="false">void</type>
|
2567 |
</tag>
|
2568 |
</docblock>
|
2569 |
+
<argument line="457">
|
2570 |
<name>$post</name>
|
2571 |
<default><![CDATA[]]></default>
|
2572 |
<type/>
|
2573 |
</argument>
|
2574 |
</method>
|
2575 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="472" package="Media Library Assistant">
|
2576 |
<name>mla_image_metadata_handler</name>
|
2577 |
<full_name>mla_image_metadata_handler</full_name>
|
2578 |
+
<docblock line="462">
|
2579 |
<description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
|
2580 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2581 |
+
<tag line="462" name="since" description="0.80"/>
|
2582 |
+
<tag line="462" name="param" description="current post" type="object" variable="$post">
|
2583 |
<type by_reference="false">object</type>
|
2584 |
</tag>
|
2585 |
+
<tag line="462" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2586 |
<type by_reference="false">void</type>
|
2587 |
</tag>
|
2588 |
</docblock>
|
2589 |
+
<argument line="472">
|
2590 |
<name>$post</name>
|
2591 |
<default><![CDATA[]]></default>
|
2592 |
<type/>
|
2593 |
</argument>
|
2594 |
</method>
|
2595 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="494" package="Media Library Assistant">
|
2596 |
<name>mla_featured_in_handler</name>
|
2597 |
<full_name>mla_featured_in_handler</full_name>
|
2598 |
+
<docblock line="484">
|
2599 |
<description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
|
2600 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2601 |
+
<tag line="484" name="since" description="0.80"/>
|
2602 |
+
<tag line="484" name="param" description="current post" type="object" variable="$post">
|
2603 |
<type by_reference="false">object</type>
|
2604 |
</tag>
|
2605 |
+
<tag line="484" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2606 |
<type by_reference="false">void</type>
|
2607 |
</tag>
|
2608 |
</docblock>
|
2609 |
+
<argument line="494">
|
2610 |
<name>$post</name>
|
2611 |
<default><![CDATA[]]></default>
|
2612 |
<type/>
|
2613 |
</argument>
|
2614 |
</method>
|
2615 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="526" package="Media Library Assistant">
|
2616 |
<name>mla_inserted_in_handler</name>
|
2617 |
<full_name>mla_inserted_in_handler</full_name>
|
2618 |
+
<docblock line="516">
|
2619 |
<description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
|
2620 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2621 |
+
<tag line="516" name="since" description="0.80"/>
|
2622 |
+
<tag line="516" name="param" description="current post" type="object" variable="$post">
|
2623 |
<type by_reference="false">object</type>
|
2624 |
</tag>
|
2625 |
+
<tag line="516" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2626 |
<type by_reference="false">void</type>
|
2627 |
</tag>
|
2628 |
</docblock>
|
2629 |
+
<argument line="526">
|
2630 |
<name>$post</name>
|
2631 |
<default><![CDATA[]]></default>
|
2632 |
<type/>
|
2633 |
</argument>
|
2634 |
</method>
|
2635 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="562" package="Media Library Assistant">
|
2636 |
<name>mla_gallery_in_handler</name>
|
2637 |
<full_name>mla_gallery_in_handler</full_name>
|
2638 |
+
<docblock line="552">
|
2639 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2640 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2641 |
+
<tag line="552" name="since" description="0.80"/>
|
2642 |
+
<tag line="552" name="param" description="current post" type="object" variable="$post">
|
2643 |
<type by_reference="false">object</type>
|
2644 |
</tag>
|
2645 |
+
<tag line="552" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2646 |
<type by_reference="false">void</type>
|
2647 |
</tag>
|
2648 |
</docblock>
|
2649 |
+
<argument line="562">
|
2650 |
<name>$post</name>
|
2651 |
<default><![CDATA[]]></default>
|
2652 |
<type/>
|
2653 |
</argument>
|
2654 |
</method>
|
2655 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="594" package="Media Library Assistant">
|
2656 |
<name>mla_mla_gallery_in_handler</name>
|
2657 |
<full_name>mla_mla_gallery_in_handler</full_name>
|
2658 |
+
<docblock line="584">
|
2659 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2660 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2661 |
+
<tag line="584" name="since" description="0.80"/>
|
2662 |
+
<tag line="584" name="param" description="current post" type="object" variable="$post">
|
2663 |
<type by_reference="false">object</type>
|
2664 |
</tag>
|
2665 |
+
<tag line="584" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2666 |
<type by_reference="false">void</type>
|
2667 |
</tag>
|
2668 |
</docblock>
|
2669 |
+
<argument line="594">
|
2670 |
<name>$post</name>
|
2671 |
<default><![CDATA[]]></default>
|
2672 |
<type/>
|
2673 |
</argument>
|
2674 |
</method>
|
2675 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="626" package="Media Library Assistant">
|
2676 |
<name>mla_edit_attachment_action</name>
|
2677 |
<full_name>mla_edit_attachment_action</full_name>
|
2678 |
+
<docblock line="616">
|
2679 |
<description><![CDATA[Saves updates from the Edit Media screen.]]></description>
|
2680 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2681 |
+
<tag line="616" name="since" description="0.80"/>
|
2682 |
+
<tag line="616" name="param" description="ID of the current post" type="integer" variable="$post_ID">
|
2683 |
<type by_reference="false">integer</type>
|
2684 |
</tag>
|
2685 |
+
<tag line="616" name="return" description="" type="void">
|
2686 |
<type by_reference="false">void</type>
|
2687 |
</tag>
|
2688 |
</docblock>
|
2689 |
+
<argument line="626">
|
2690 |
<name>$post_ID</name>
|
2691 |
<default><![CDATA[]]></default>
|
2692 |
<type/>
|
2693 |
</argument>
|
2694 |
</method>
|
2695 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="652" package="Media Library Assistant">
|
2696 |
<name>_mla_ajax_add_flat_term</name>
|
2697 |
<full_name>_mla_ajax_add_flat_term</full_name>
|
2698 |
+
<docblock line="641">
|
2699 |
<description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
|
2700 |
<long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
|
2701 |
+
<tag line="641" name="since" description="1.80"/>
|
2702 |
+
<tag line="641" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
|
2703 |
<type by_reference="false">string</type>
|
2704 |
</tag>
|
2705 |
+
<tag line="641" name="return" description="Sends JSON response with updated HTML for the checklist" type="void">
|
2706 |
<type by_reference="false">void</type>
|
2707 |
</tag>
|
2708 |
</docblock>
|
2709 |
+
<argument line="652">
|
2710 |
<name>$key</name>
|
2711 |
<default><![CDATA[]]></default>
|
2712 |
<type/>
|
2713 |
</argument>
|
2714 |
</method>
|
2715 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="715" package="Media Library Assistant">
|
2716 |
<name>mla_checklist_meta_box</name>
|
2717 |
<full_name>mla_checklist_meta_box</full_name>
|
2718 |
+
<docblock line="700">
|
2719 |
<description><![CDATA[Display taxonomy "checklist" form fields]]></description>
|
2720 |
<long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
|
2721 |
Includes the "? Search" area to filter the term checklist by entering part
|
2722 |
or all of a word/phrase in the term label.
|
2723 |
Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
|
2724 |
+
<tag line="700" name="since" description="1.71"/>
|
2725 |
+
<tag line="700" name="param" description="The current post" type="object" variable="$target_post">
|
2726 |
<type by_reference="false">object</type>
|
2727 |
</tag>
|
2728 |
+
<tag line="700" name="param" description="The meta box parameters" type="array" variable="$box">
|
2729 |
<type by_reference="false">array</type>
|
2730 |
</tag>
|
2731 |
+
<tag line="700" name="return" description="Echoes HTML for the form fields" type="void">
|
2732 |
<type by_reference="false">void</type>
|
2733 |
</tag>
|
2734 |
</docblock>
|
2735 |
+
<argument line="715">
|
2736 |
<name>$target_post</name>
|
2737 |
<default><![CDATA[]]></default>
|
2738 |
<type/>
|
2739 |
</argument>
|
2740 |
+
<argument line="715">
|
2741 |
<name>$box</name>
|
2742 |
<default><![CDATA[]]></default>
|
2743 |
<type/>
|
2744 |
</argument>
|
2745 |
</method>
|
2746 |
</class>
|
2747 |
+
<class final="false" abstract="false" namespace="global" line="874" package="Media Library Assistant">
|
2748 |
<extends>\Walker_Category</extends>
|
2749 |
<name>MLA_Checklist_Walker</name>
|
2750 |
<full_name>\MLA_Checklist_Walker</full_name>
|
2751 |
+
<docblock line="864">
|
2752 |
<description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
|
2753 |
<long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
|
2754 |
Class Walker_Category is defined in /wp-includes/category-template.php.
|
2755 |
Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
|
2756 |
+
<tag line="864" name="package" description="Media Library Assistant"/>
|
2757 |
+
<tag line="864" name="since" description="1.80"/>
|
2758 |
</docblock>
|
2759 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="888" package="Media Library Assistant">
|
2760 |
<name>start_el</name>
|
2761 |
<full_name>start_el</full_name>
|
2762 |
+
<docblock line="875">
|
2763 |
<description><![CDATA[Start the element output.]]></description>
|
2764 |
<long-description><![CDATA[]]></long-description>
|
2765 |
+
<tag line="875" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
|
2766 |
+
<tag line="875" name="since" description="1.80"/>
|
2767 |
+
<tag line="875" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
|
2768 |
<type by_reference="false">string</type>
|
2769 |
</tag>
|
2770 |
+
<tag line="875" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
|
2771 |
<type by_reference="false">object</type>
|
2772 |
</tag>
|
2773 |
+
<tag line="875" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
|
2774 |
<type by_reference="false">int</type>
|
2775 |
</tag>
|
2776 |
+
<tag line="875" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
|
2777 |
<type by_reference="false">array</type>
|
2778 |
</tag>
|
2779 |
+
<tag line="875" name="param" description="ID of the current category." type="int" variable="$id">
|
2780 |
<type by_reference="false">int</type>
|
2781 |
</tag>
|
2782 |
</docblock>
|
2783 |
+
<argument line="888">
|
2784 |
<name>$output</name>
|
2785 |
<default><![CDATA[]]></default>
|
2786 |
<type/>
|
2787 |
</argument>
|
2788 |
+
<argument line="888">
|
2789 |
<name>$taxonomy_object</name>
|
2790 |
<default><![CDATA[]]></default>
|
2791 |
<type/>
|
2792 |
</argument>
|
2793 |
+
<argument line="888">
|
2794 |
<name>$depth</name>
|
2795 |
<default><![CDATA[0]]></default>
|
2796 |
<type/>
|
2797 |
</argument>
|
2798 |
+
<argument line="888">
|
2799 |
<name>$args</name>
|
2800 |
<default><![CDATA[array()]]></default>
|
2801 |
<type/>
|
2802 |
</argument>
|
2803 |
+
<argument line="888">
|
2804 |
<name>$id</name>
|
2805 |
<default><![CDATA[0]]></default>
|
2806 |
<type/>
|
2807 |
</argument>
|
2808 |
</method>
|
2809 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="921" package="Media Library Assistant">
|
2810 |
<name>end_el</name>
|
2811 |
<full_name>end_el</full_name>
|
2812 |
+
<docblock line="909">
|
2813 |
<description><![CDATA[Ends the element output, if needed.]]></description>
|
2814 |
<long-description><![CDATA[]]></long-description>
|
2815 |
+
<tag line="909" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
|
2816 |
+
<tag line="909" name="since" description="1.80"/>
|
2817 |
+
<tag line="909" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
|
2818 |
<type by_reference="false">string</type>
|
2819 |
</tag>
|
2820 |
+
<tag line="909" name="param" description="The current term object." type="object" variable="$category">
|
2821 |
<type by_reference="false">object</type>
|
2822 |
</tag>
|
2823 |
+
<tag line="909" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
|
2824 |
<type by_reference="false">int</type>
|
2825 |
</tag>
|
2826 |
+
<tag line="909" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
|
2827 |
<type by_reference="false">array</type>
|
2828 |
</tag>
|
2829 |
</docblock>
|
2830 |
+
<argument line="921">
|
2831 |
<name>$output</name>
|
2832 |
<default><![CDATA[]]></default>
|
2833 |
<type/>
|
2834 |
</argument>
|
2835 |
+
<argument line="921">
|
2836 |
<name>$category</name>
|
2837 |
<default><![CDATA[]]></default>
|
2838 |
<type/>
|
2839 |
</argument>
|
2840 |
+
<argument line="921">
|
2841 |
<name>$depth</name>
|
2842 |
<default><![CDATA[0]]></default>
|
2843 |
<type/>
|
2844 |
</argument>
|
2845 |
+
<argument line="921">
|
2846 |
<name>$args</name>
|
2847 |
<default><![CDATA[array()]]></default>
|
2848 |
<type/>
|
2850 |
</method>
|
2851 |
</class>
|
2852 |
</file>
|
2853 |
+
<file path="includes\class-mla-list-table.php" hash="5e29519cbeb556a566c653439a348486" package="Media Library Assistant">
|
2854 |
<docblock line="2">
|
2855 |
<description><![CDATA[Media Library Assistant extended List Table class]]></description>
|
2856 |
<long-description><![CDATA[]]></long-description>
|
3071 |
</tag>
|
3072 |
</docblock>
|
3073 |
</method>
|
3074 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="310" package="Media Library Assistant">
|
3075 |
+
<name>mla_views_media_page_mla_menu_filter</name>
|
3076 |
+
<full_name>mla_views_media_page_mla_menu_filter</full_name>
|
3077 |
+
<docblock line="297">
|
3078 |
+
<description><![CDATA[Handler for filter "views_{$this->screen->id}" in /admin/includes/class-wp-list-table.php]]></description>
|
3079 |
+
<long-description><![CDATA[<p>Filter the list of available list table views. Set when the
|
3080 |
+
file is loaded because the list_table object isn't created in time
|
3081 |
+
to affect the "screen options" setup.</p>]]></long-description>
|
3082 |
+
<tag line="297" name="since" description="1.82"/>
|
3083 |
+
<tag line="297" name="param" description="A list of available list table views" type="array" variable="$views">
|
3084 |
+
<type by_reference="false">array</type>
|
3085 |
+
</tag>
|
3086 |
+
<tag line="297" name="return" description="Updated list of available list table views" type="array">
|
3087 |
+
<type by_reference="false">array</type>
|
3088 |
+
</tag>
|
3089 |
+
</docblock>
|
3090 |
+
<argument line="310">
|
3091 |
+
<name>$views</name>
|
3092 |
+
<default><![CDATA[]]></default>
|
3093 |
+
<type/>
|
3094 |
+
</argument>
|
3095 |
+
</method>
|
3096 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="325" package="Media Library Assistant">
|
3097 |
<name>mla_localize_default_columns_array</name>
|
3098 |
<full_name>mla_localize_default_columns_array</full_name>
|
3099 |
+
<docblock line="315">
|
3100 |
<description><![CDATA[Builds the $default_columns array with translated source texts.]]></description>
|
3101 |
<long-description><![CDATA[<p>Called from MLA:mla_plugins_loaded_action because the $default_columns information might be
|
3102 |
accessed from "front end" posts/pages.</p>]]></long-description>
|
3103 |
+
<tag line="315" name="since" description="1.71"/>
|
3104 |
+
<tag line="315" name="return" description="" type="void">
|
3105 |
<type by_reference="false">void</type>
|
3106 |
</tag>
|
3107 |
</docblock>
|
3108 |
</method>
|
3109 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="366" package="Media Library Assistant">
|
3110 |
<name>mla_admin_init_action</name>
|
3111 |
<full_name>mla_admin_init_action</full_name>
|
3112 |
+
<docblock line="356">
|
3113 |
<description><![CDATA[Adds support for taxonomy and custom field columns]]></description>
|
3114 |
<long-description><![CDATA[<p>Called in the admin_init action because the list_table object isn't
|
3115 |
created in time to affect the "screen options" setup.</p>]]></long-description>
|
3116 |
+
<tag line="356" name="since" description="0.30"/>
|
3117 |
+
<tag line="356" name="return" description="" type="void">
|
3118 |
<type by_reference="false">void</type>
|
3119 |
</tag>
|
3120 |
</docblock>
|
3121 |
</method>
|
3122 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="391" package="Media Library Assistant">
|
3123 |
<name>__construct</name>
|
3124 |
<full_name>__construct</full_name>
|
3125 |
+
<docblock line="383">
|
3126 |
<description><![CDATA[Initializes some properties from $_REQUEST variables, then
|
3127 |
calls the parent constructor to set some default configs.]]></description>
|
3128 |
<long-description><![CDATA[]]></long-description>
|
3129 |
+
<tag line="383" name="since" description="0.1"/>
|
3130 |
+
<tag line="383" name="return" description="" type="void">
|
3131 |
<type by_reference="false">void</type>
|
3132 |
</tag>
|
3133 |
</docblock>
|
3134 |
</method>
|
3135 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="427" package="Media Library Assistant">
|
3136 |
<name>column_default</name>
|
3137 |
<full_name>column_default</full_name>
|
3138 |
+
<docblock line="414">
|
3139 |
<description><![CDATA[Supply a column value if no column-specific function has been defined]]></description>
|
3140 |
<long-description><![CDATA[<p>Called when the parent class can't find a method specifically built for a given column.
|
3141 |
The taxonomy and custom field columns are handled here. All other columns should have
|
3142 |
a specific method, so this function returns a troubleshooting message.</p>]]></long-description>
|
3143 |
+
<tag line="414" name="since" description="0.1"/>
|
3144 |
+
<tag line="414" name="param" description="A singular item (one full row's worth of data)" type="array" variable="$item">
|
3145 |
<type by_reference="false">array</type>
|
3146 |
</tag>
|
3147 |
+
<tag line="414" name="param" description="The name/slug of the column to be processed" type="array" variable="$column_name">
|
3148 |
<type by_reference="false">array</type>
|
3149 |
</tag>
|
3150 |
+
<tag line="414" name="return" description="Text or HTML to be placed inside the column" type="string">
|
3151 |
<type by_reference="false">string</type>
|
3152 |
</tag>
|
3153 |
</docblock>
|
3154 |
+
<argument line="427">
|
3155 |
<name>$item</name>
|
3156 |
<default><![CDATA[]]></default>
|
3157 |
<type/>
|
3158 |
</argument>
|
3159 |
+
<argument line="427">
|
3160 |
<name>$column_name</name>
|
3161 |
<default><![CDATA[]]></default>
|
3162 |
<type/>
|
3163 |
</argument>
|
3164 |
</method>
|
3165 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="503" package="Media Library Assistant">
|
3166 |
<name>column_cb</name>
|
3167 |
<full_name>column_cb</full_name>
|
3168 |
+
<docblock line="494">
|
3169 |
<description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
|
3170 |
<long-description><![CDATA[<p>The 'cb' column
|
3171 |
is given special treatment when columns are processed.</p>]]></long-description>
|
3172 |
+
<tag line="494" name="since" description="0.1"/>
|
3173 |
+
<tag line="494" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3174 |
<type by_reference="false">array</type>
|
3175 |
</tag>
|
3176 |
+
<tag line="494" name="return" description="HTML markup to be placed inside the column" type="string">
|
3177 |
<type by_reference="false">string</type>
|
3178 |
</tag>
|
3179 |
</docblock>
|
3180 |
+
<argument line="503">
|
3181 |
<name>$item</name>
|
3182 |
<default><![CDATA[]]></default>
|
3183 |
<type/>
|
3184 |
</argument>
|
3185 |
</method>
|
3186 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="518" package="Media Library Assistant">
|
3187 |
<name>column_icon</name>
|
3188 |
<full_name>column_icon</full_name>
|
3189 |
+
<docblock line="510">
|
3190 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3191 |
<long-description><![CDATA[]]></long-description>
|
3192 |
+
<tag line="510" name="since" description="0.1"/>
|
3193 |
+
<tag line="510" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3194 |
<type by_reference="false">array</type>
|
3195 |
</tag>
|
3196 |
+
<tag line="510" name="return" description="HTML markup to be placed inside the column" type="string">
|
3197 |
<type by_reference="false">string</type>
|
3198 |
</tag>
|
3199 |
</docblock>
|
3200 |
+
<argument line="518">
|
3201 |
<name>$item</name>
|
3202 |
<default><![CDATA[]]></default>
|
3203 |
<type/>
|
3204 |
</argument>
|
3205 |
</method>
|
3206 |
+
<method final="false" abstract="false" static="false" visibility="private" namespace="global" line="550" package="Media Library Assistant">
|
3207 |
<name>_build_rollover_actions</name>
|
3208 |
<full_name>_build_rollover_actions</full_name>
|
3209 |
+
<docblock line="539">
|
3210 |
<description><![CDATA[Add rollover actions to exactly one of the following displayed columns:
|
3211 |
'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
|
3212 |
<long-description><![CDATA[]]></long-description>
|
3213 |
+
<tag line="539" name="since" description="0.1"/>
|
3214 |
+
<tag line="539" name="param" description="A singular attachment (post) object" type="object" variable="$item">
|
3215 |
<type by_reference="false">object</type>
|
3216 |
</tag>
|
3217 |
+
<tag line="539" name="param" description="Current column name" type="string" variable="$column">
|
3218 |
<type by_reference="false">string</type>
|
3219 |
</tag>
|
3220 |
+
<tag line="539" name="return" description="Names and URLs of row-level actions" type="array">
|
3221 |
<type by_reference="false">array</type>
|
3222 |
</tag>
|
3223 |
</docblock>
|
3224 |
+
<argument line="550">
|
3225 |
<name>$item</name>
|
3226 |
<default><![CDATA[]]></default>
|
3227 |
<type/>
|
3228 |
</argument>
|
3229 |
+
<argument line="550">
|
3230 |
<name>$column</name>
|
3231 |
<default><![CDATA[]]></default>
|
3232 |
<type/>
|
3233 |
</argument>
|
3234 |
</method>
|
3235 |
+
<method final="false" abstract="false" static="false" visibility="private" namespace="global" line="608" package="Media Library Assistant">
|
3236 |
<name>_build_inline_data</name>
|
3237 |
<full_name>_build_inline_data</full_name>
|
3238 |
+
<docblock line="599">
|
3239 |
<description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
|
3240 |
<long-description><![CDATA[]]></long-description>
|
3241 |
+
<tag line="599" name="since" description="0.20"/>
|
3242 |
+
<tag line="599" name="param" description="A singular attachment (post) object" type="object" variable="$item">
|
3243 |
<type by_reference="false">object</type>
|
3244 |
</tag>
|
3245 |
+
<tag line="599" name="return" description="HTML <div> with row data" type="string">
|
3246 |
<type by_reference="false">string</type>
|
3247 |
</tag>
|
3248 |
</docblock>
|
3249 |
+
<argument line="608">
|
3250 |
<name>$item</name>
|
3251 |
<default><![CDATA[]]></default>
|
3252 |
<type/>
|
3253 |
</argument>
|
3254 |
</method>
|
3255 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="680" package="Media Library Assistant">
|
3256 |
<name>column_ID_parent</name>
|
3257 |
<full_name>column_ID_parent</full_name>
|
3258 |
+
<docblock line="672">
|
3259 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3260 |
<long-description><![CDATA[]]></long-description>
|
3261 |
+
<tag line="672" name="since" description="0.1"/>
|
3262 |
+
<tag line="672" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3263 |
<type by_reference="false">array</type>
|
3264 |
</tag>
|
3265 |
+
<tag line="672" name="return" description="HTML markup to be placed inside the column" type="string">
|
3266 |
<type by_reference="false">string</type>
|
3267 |
</tag>
|
3268 |
</docblock>
|
3269 |
+
<argument line="680">
|
3270 |
<name>$item</name>
|
3271 |
<default><![CDATA[]]></default>
|
3272 |
<type/>
|
3273 |
</argument>
|
3274 |
</method>
|
3275 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="713" package="Media Library Assistant">
|
3276 |
<name>column_title_name</name>
|
3277 |
<full_name>column_title_name</full_name>
|
3278 |
+
<docblock line="705">
|
3279 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3280 |
<long-description><![CDATA[]]></long-description>
|
3281 |
+
<tag line="705" name="since" description="0.1"/>
|
3282 |
+
<tag line="705" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3283 |
<type by_reference="false">array</type>
|
3284 |
</tag>
|
3285 |
+
<tag line="705" name="return" description="HTML markup to be placed inside the column" type="string">
|
3286 |
<type by_reference="false">string</type>
|
3287 |
</tag>
|
3288 |
</docblock>
|
3289 |
+
<argument line="713">
|
3290 |
<name>$item</name>
|
3291 |
<default><![CDATA[]]></default>
|
3292 |
<type/>
|
3293 |
</argument>
|
3294 |
</method>
|
3295 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="737" package="Media Library Assistant">
|
3296 |
<name>column_post_title</name>
|
3297 |
<full_name>column_post_title</full_name>
|
3298 |
+
<docblock line="729">
|
3299 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3300 |
<long-description><![CDATA[]]></long-description>
|
3301 |
+
<tag line="729" name="since" description="0.1"/>
|
3302 |
+
<tag line="729" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3303 |
<type by_reference="false">array</type>
|
3304 |
</tag>
|
3305 |
+
<tag line="729" name="return" description="HTML markup to be placed inside the column" type="string">
|
3306 |
<type by_reference="false">string</type>
|
3307 |
</tag>
|
3308 |
</docblock>
|
3309 |
+
<argument line="737">
|
3310 |
<name>$item</name>
|
3311 |
<default><![CDATA[]]></default>
|
3312 |
<type/>
|
3313 |
</argument>
|
3314 |
</method>
|
3315 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="755" package="Media Library Assistant">
|
3316 |
<name>column_post_name</name>
|
3317 |
<full_name>column_post_name</full_name>
|
3318 |
+
<docblock line="747">
|
3319 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3320 |
<long-description><![CDATA[]]></long-description>
|
3321 |
+
<tag line="747" name="since" description="0.1"/>
|
3322 |
+
<tag line="747" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3323 |
<type by_reference="false">array</type>
|
3324 |
</tag>
|
3325 |
+
<tag line="747" name="return" description="HTML markup to be placed inside the column" type="string">
|
3326 |
<type by_reference="false">string</type>
|
3327 |
</tag>
|
3328 |
</docblock>
|
3329 |
+
<argument line="755">
|
3330 |
<name>$item</name>
|
3331 |
<default><![CDATA[]]></default>
|
3332 |
<type/>
|
3333 |
</argument>
|
3334 |
</method>
|
3335 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="773" package="Media Library Assistant">
|
3336 |
<name>column_parent</name>
|
3337 |
<full_name>column_parent</full_name>
|
3338 |
+
<docblock line="765">
|
3339 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3340 |
<long-description><![CDATA[]]></long-description>
|
3341 |
+
<tag line="765" name="since" description="0.1"/>
|
3342 |
+
<tag line="765" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3343 |
<type by_reference="false">array</type>
|
3344 |
</tag>
|
3345 |
+
<tag line="765" name="return" description="HTML markup to be placed inside the column" type="string">
|
3346 |
<type by_reference="false">string</type>
|
3347 |
</tag>
|
3348 |
</docblock>
|
3349 |
+
<argument line="773">
|
3350 |
<name>$item</name>
|
3351 |
<default><![CDATA[]]></default>
|
3352 |
<type/>
|
3353 |
</argument>
|
3354 |
</method>
|
3355 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="799" package="Media Library Assistant">
|
3356 |
<name>column_menu_order</name>
|
3357 |
<full_name>column_menu_order</full_name>
|
3358 |
+
<docblock line="791">
|
3359 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3360 |
<long-description><![CDATA[]]></long-description>
|
3361 |
+
<tag line="791" name="since" description="0.60"/>
|
3362 |
+
<tag line="791" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3363 |
<type by_reference="false">array</type>
|
3364 |
</tag>
|
3365 |
+
<tag line="791" name="return" description="HTML markup to be placed inside the column" type="string">
|
3366 |
<type by_reference="false">string</type>
|
3367 |
</tag>
|
3368 |
</docblock>
|
3369 |
+
<argument line="799">
|
3370 |
<name>$item</name>
|
3371 |
<default><![CDATA[]]></default>
|
3372 |
<type/>
|
3373 |
</argument>
|
3374 |
</method>
|
3375 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="811" package="Media Library Assistant">
|
3376 |
<name>column_featured</name>
|
3377 |
<full_name>column_featured</full_name>
|
3378 |
+
<docblock line="803">
|
3379 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3380 |
<long-description><![CDATA[]]></long-description>
|
3381 |
+
<tag line="803" name="since" description="0.1"/>
|
3382 |
+
<tag line="803" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3383 |
<type by_reference="false">array</type>
|
3384 |
</tag>
|
3385 |
+
<tag line="803" name="return" description="HTML markup to be placed inside the column" type="string">
|
3386 |
<type by_reference="false">string</type>
|
3387 |
</tag>
|
3388 |
</docblock>
|
3389 |
+
<argument line="811">
|
3390 |
<name>$item</name>
|
3391 |
<default><![CDATA[]]></default>
|
3392 |
<type/>
|
3393 |
</argument>
|
3394 |
</method>
|
3395 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="845" package="Media Library Assistant">
|
3396 |
<name>column_inserted</name>
|
3397 |
<full_name>column_inserted</full_name>
|
3398 |
+
<docblock line="837">
|
3399 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3400 |
<long-description><![CDATA[]]></long-description>
|
3401 |
+
<tag line="837" name="since" description="0.1"/>
|
3402 |
+
<tag line="837" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3403 |
<type by_reference="false">array</type>
|
3404 |
</tag>
|
3405 |
+
<tag line="837" name="return" description="HTML markup to be placed inside the column" type="string">
|
3406 |
<type by_reference="false">string</type>
|
3407 |
</tag>
|
3408 |
</docblock>
|
3409 |
+
<argument line="845">
|
3410 |
<name>$item</name>
|
3411 |
<default><![CDATA[]]></default>
|
3412 |
<type/>
|
3413 |
</argument>
|
3414 |
</method>
|
3415 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="883" package="Media Library Assistant">
|
3416 |
<name>column_galleries</name>
|
3417 |
<full_name>column_galleries</full_name>
|
3418 |
+
<docblock line="875">
|
3419 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3420 |
<long-description><![CDATA[]]></long-description>
|
3421 |
+
<tag line="875" name="since" description="0.70"/>
|
3422 |
+
<tag line="875" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3423 |
<type by_reference="false">array</type>
|
3424 |
</tag>
|
3425 |
+
<tag line="875" name="return" description="HTML markup to be placed inside the column" type="string">
|
3426 |
<type by_reference="false">string</type>
|
3427 |
</tag>
|
3428 |
</docblock>
|
3429 |
+
<argument line="883">
|
3430 |
<name>$item</name>
|
3431 |
<default><![CDATA[]]></default>
|
3432 |
<type/>
|
3433 |
</argument>
|
3434 |
</method>
|
3435 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="917" package="Media Library Assistant">
|
3436 |
<name>column_mla_galleries</name>
|
3437 |
<full_name>column_mla_galleries</full_name>
|
3438 |
+
<docblock line="909">
|
3439 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3440 |
<long-description><![CDATA[]]></long-description>
|
3441 |
+
<tag line="909" name="since" description="0.70"/>
|
3442 |
+
<tag line="909" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3443 |
<type by_reference="false">array</type>
|
3444 |
</tag>
|
3445 |
+
<tag line="909" name="return" description="HTML markup to be placed inside the column" type="string">
|
3446 |
<type by_reference="false">string</type>
|
3447 |
</tag>
|
3448 |
</docblock>
|
3449 |
+
<argument line="917">
|
3450 |
<name>$item</name>
|
3451 |
<default><![CDATA[]]></default>
|
3452 |
<type/>
|
3453 |
</argument>
|
3454 |
</method>
|
3455 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="951" package="Media Library Assistant">
|
3456 |
<name>column_alt_text</name>
|
3457 |
<full_name>column_alt_text</full_name>
|
3458 |
+
<docblock line="943">
|
3459 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3460 |
<long-description><![CDATA[]]></long-description>
|
3461 |
+
<tag line="943" name="since" description="0.1"/>
|
3462 |
+
<tag line="943" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3463 |
<type by_reference="false">array</type>
|
3464 |
</tag>
|
3465 |
+
<tag line="943" name="return" description="HTML markup to be placed inside the column" type="string">
|
3466 |
<type by_reference="false">string</type>
|
3467 |
</tag>
|
3468 |
</docblock>
|
3469 |
+
<argument line="951">
|
3470 |
<name>$item</name>
|
3471 |
<default><![CDATA[]]></default>
|
3472 |
<type/>
|
3473 |
</argument>
|
3474 |
</method>
|
3475 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="972" package="Media Library Assistant">
|
3476 |
<name>column_caption</name>
|
3477 |
<full_name>column_caption</full_name>
|
3478 |
+
<docblock line="964">
|
3479 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3480 |
<long-description><![CDATA[]]></long-description>
|
3481 |
+
<tag line="964" name="since" description="0.1"/>
|
3482 |
+
<tag line="964" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3483 |
<type by_reference="false">array</type>
|
3484 |
</tag>
|
3485 |
+
<tag line="964" name="return" description="HTML markup to be placed inside the column" type="string">
|
3486 |
<type by_reference="false">string</type>
|
3487 |
</tag>
|
3488 |
</docblock>
|
3489 |
+
<argument line="972">
|
3490 |
<name>$item</name>
|
3491 |
<default><![CDATA[]]></default>
|
3492 |
<type/>
|
3493 |
</argument>
|
3494 |
</method>
|
3495 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="984" package="Media Library Assistant">
|
3496 |
<name>column_description</name>
|
3497 |
<full_name>column_description</full_name>
|
3498 |
+
<docblock line="976">
|
3499 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3500 |
<long-description><![CDATA[]]></long-description>
|
3501 |
+
<tag line="976" name="since" description="0.1"/>
|
3502 |
+
<tag line="976" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3503 |
<type by_reference="false">array</type>
|
3504 |
</tag>
|
3505 |
+
<tag line="976" name="return" description="HTML markup to be placed inside the column" type="string">
|
3506 |
<type by_reference="false">string</type>
|
3507 |
</tag>
|
3508 |
</docblock>
|
3509 |
+
<argument line="984">
|
3510 |
<name>$item</name>
|
3511 |
<default><![CDATA[]]></default>
|
3512 |
<type/>
|
3513 |
</argument>
|
3514 |
</method>
|
3515 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="996" package="Media Library Assistant">
|
3516 |
<name>column_post_mime_type</name>
|
3517 |
<full_name>column_post_mime_type</full_name>
|
3518 |
+
<docblock line="988">
|
3519 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3520 |
<long-description><![CDATA[]]></long-description>
|
3521 |
+
<tag line="988" name="since" description="0.30"/>
|
3522 |
+
<tag line="988" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3523 |
<type by_reference="false">array</type>
|
3524 |
</tag>
|
3525 |
+
<tag line="988" name="return" description="HTML markup to be placed inside the column" type="string">
|
3526 |
<type by_reference="false">string</type>
|
3527 |
</tag>
|
3528 |
</docblock>
|
3529 |
+
<argument line="996">
|
3530 |
<name>$item</name>
|
3531 |
<default><![CDATA[]]></default>
|
3532 |
<type/>
|
3533 |
</argument>
|
3534 |
</method>
|
3535 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1012" package="Media Library Assistant">
|
3536 |
<name>column_file_url</name>
|
3537 |
<full_name>column_file_url</full_name>
|
3538 |
+
<docblock line="1004">
|
3539 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3540 |
<long-description><![CDATA[]]></long-description>
|
3541 |
+
<tag line="1004" name="since" description="0.1"/>
|
3542 |
+
<tag line="1004" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3543 |
<type by_reference="false">array</type>
|
3544 |
</tag>
|
3545 |
+
<tag line="1004" name="return" description="HTML markup to be placed inside the column" type="string">
|
3546 |
<type by_reference="false">string</type>
|
3547 |
</tag>
|
3548 |
</docblock>
|
3549 |
+
<argument line="1012">
|
3550 |
<name>$item</name>
|
3551 |
<default><![CDATA[]]></default>
|
3552 |
<type/>
|
3553 |
</argument>
|
3554 |
</method>
|
3555 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1026" package="Media Library Assistant">
|
3556 |
<name>column_base_file</name>
|
3557 |
<full_name>column_base_file</full_name>
|
3558 |
+
<docblock line="1018">
|
3559 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3560 |
<long-description><![CDATA[]]></long-description>
|
3561 |
+
<tag line="1018" name="since" description="0.1"/>
|
3562 |
+
<tag line="1018" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3563 |
<type by_reference="false">array</type>
|
3564 |
</tag>
|
3565 |
+
<tag line="1018" name="return" description="HTML markup to be placed inside the column" type="string">
|
3566 |
<type by_reference="false">string</type>
|
3567 |
</tag>
|
3568 |
</docblock>
|
3569 |
+
<argument line="1026">
|
3570 |
<name>$item</name>
|
3571 |
<default><![CDATA[]]></default>
|
3572 |
<type/>
|
3573 |
</argument>
|
3574 |
</method>
|
3575 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1038" package="Media Library Assistant">
|
3576 |
<name>column_date</name>
|
3577 |
<full_name>column_date</full_name>
|
3578 |
+
<docblock line="1030">
|
3579 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3580 |
<long-description><![CDATA[]]></long-description>
|
3581 |
+
<tag line="1030" name="since" description="0.1"/>
|
3582 |
+
<tag line="1030" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3583 |
<type by_reference="false">array</type>
|
3584 |
</tag>
|
3585 |
+
<tag line="1030" name="return" description="HTML markup to be placed inside the column" type="string">
|
3586 |
<type by_reference="false">string</type>
|
3587 |
</tag>
|
3588 |
</docblock>
|
3589 |
+
<argument line="1038">
|
3590 |
<name>$item</name>
|
3591 |
<default><![CDATA[]]></default>
|
3592 |
<type/>
|
3593 |
</argument>
|
3594 |
</method>
|
3595 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1070" package="Media Library Assistant">
|
3596 |
<name>column_modified</name>
|
3597 |
<full_name>column_modified</full_name>
|
3598 |
+
<docblock line="1062">
|
3599 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3600 |
<long-description><![CDATA[]]></long-description>
|
3601 |
+
<tag line="1062" name="since" description="0.30"/>
|
3602 |
+
<tag line="1062" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3603 |
<type by_reference="false">array</type>
|
3604 |
</tag>
|
3605 |
+
<tag line="1062" name="return" description="HTML markup to be placed inside the column" type="string">
|
3606 |
<type by_reference="false">string</type>
|
3607 |
</tag>
|
3608 |
</docblock>
|
3609 |
+
<argument line="1070">
|
3610 |
<name>$item</name>
|
3611 |
<default><![CDATA[]]></default>
|
3612 |
<type/>
|
3613 |
</argument>
|
3614 |
</method>
|
3615 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1099" package="Media Library Assistant">
|
3616 |
<name>column_author</name>
|
3617 |
<full_name>column_author</full_name>
|
3618 |
+
<docblock line="1091">
|
3619 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3620 |
<long-description><![CDATA[]]></long-description>
|
3621 |
+
<tag line="1091" name="since" description="0.30"/>
|
3622 |
+
<tag line="1091" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3623 |
<type by_reference="false">array</type>
|
3624 |
</tag>
|
3625 |
+
<tag line="1091" name="return" description="HTML markup to be placed inside the column" type="string">
|
3626 |
<type by_reference="false">string</type>
|
3627 |
</tag>
|
3628 |
</docblock>
|
3629 |
+
<argument line="1099">
|
3630 |
<name>$item</name>
|
3631 |
<default><![CDATA[]]></default>
|
3632 |
<type/>
|
3633 |
</argument>
|
3634 |
</method>
|
3635 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1121" package="Media Library Assistant">
|
3636 |
<name>column_attached_to</name>
|
3637 |
<full_name>column_attached_to</full_name>
|
3638 |
+
<docblock line="1113">
|
3639 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3640 |
<long-description><![CDATA[]]></long-description>
|
3641 |
+
<tag line="1113" name="since" description="0.1"/>
|
3642 |
+
<tag line="1113" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3643 |
<type by_reference="false">array</type>
|
3644 |
</tag>
|
3645 |
+
<tag line="1113" name="return" description="HTML markup to be placed inside the column" type="string">
|
3646 |
<type by_reference="false">string</type>
|
3647 |
</tag>
|
3648 |
</docblock>
|
3649 |
+
<argument line="1121">
|
3650 |
<name>$item</name>
|
3651 |
<default><![CDATA[]]></default>
|
3652 |
<type/>
|
3653 |
</argument>
|
3654 |
</method>
|
3655 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1160" package="Media Library Assistant">
|
3656 |
<name>mla_submenu_arguments</name>
|
3657 |
<full_name>mla_submenu_arguments</full_name>
|
3658 |
+
<docblock line="1151">
|
3659 |
<description><![CDATA[Process $_REQUEST, building $submenu_arguments]]></description>
|
3660 |
<long-description><![CDATA[]]></long-description>
|
3661 |
+
<tag line="1151" name="since" description="1.42"/>
|
3662 |
+
<tag line="1151" name="param" description="Optional: Include the "click filter" values in the results" type="boolean" variable="$include_filters">
|
3663 |
<type by_reference="false">boolean</type>
|
3664 |
</tag>
|
3665 |
+
<tag line="1151" name="return" description="non-empty view, search, filter and sort arguments" type="array">
|
3666 |
<type by_reference="false">array</type>
|
3667 |
</tag>
|
3668 |
</docblock>
|
3669 |
+
<argument line="1160">
|
3670 |
<name>$include_filters</name>
|
3671 |
<default><![CDATA[true]]></default>
|
3672 |
<type/>
|
3673 |
</argument>
|
3674 |
</method>
|
3675 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1264" package="Media Library Assistant">
|
3676 |
<name>pagination</name>
|
3677 |
<full_name>pagination</full_name>
|
3678 |
+
<docblock line="1256">
|
3679 |
<description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
|
3680 |
<long-description><![CDATA[]]></long-description>
|
3681 |
+
<tag line="1256" name="since" description="1.42"/>
|
3682 |
+
<tag line="1256" name="param" description="'top' | 'bottom'" type="string" variable="$which">
|
3683 |
<type by_reference="false">string</type>
|
3684 |
</tag>
|
3685 |
+
<tag line="1256" name="return" description="" type="void">
|
3686 |
<type by_reference="false">void</type>
|
3687 |
</tag>
|
3688 |
</docblock>
|
3689 |
+
<argument line="1264">
|
3690 |
<name>$which</name>
|
3691 |
<default><![CDATA[]]></default>
|
3692 |
<type/>
|
3693 |
</argument>
|
3694 |
</method>
|
3695 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1278" package="Media Library Assistant">
|
3696 |
<name>get_columns</name>
|
3697 |
<full_name>get_columns</full_name>
|
3698 |
+
<docblock line="1271">
|
3699 |
<description><![CDATA[This method dictates the table's columns and titles]]></description>
|
3700 |
<long-description><![CDATA[]]></long-description>
|
3701 |
+
<tag line="1271" name="since" description="0.1"/>
|
3702 |
+
<tag line="1271" name="return" description="Column information: 'slugs'=>'Visible Titles'" type="array">
|
3703 |
<type by_reference="false">array</type>
|
3704 |
</tag>
|
3705 |
</docblock>
|
3706 |
</method>
|
3707 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1290" package="Media Library Assistant">
|
3708 |
<name>get_hidden_columns</name>
|
3709 |
<full_name>get_hidden_columns</full_name>
|
3710 |
+
<docblock line="1282">
|
3711 |
<description><![CDATA[Returns the list of currently hidden columns from a user option or
|
3712 |
from default values if the option is not set]]></description>
|
3713 |
<long-description><![CDATA[]]></long-description>
|
3714 |
+
<tag line="1282" name="since" description="0.1"/>
|
3715 |
+
<tag line="1282" name="return" description="Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')" type="array">
|
3716 |
<type by_reference="false">array</type>
|
3717 |
</tag>
|
3718 |
</docblock>
|
3719 |
</method>
|
3720 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1310" package="Media Library Assistant">
|
3721 |
<name>get_sortable_columns</name>
|
3722 |
<full_name>get_sortable_columns</full_name>
|
3723 |
+
<docblock line="1300">
|
3724 |
<description><![CDATA[Returns an array where the key is the column that needs to be sortable
|
3725 |
and the value is db column to sort by.]]></description>
|
3726 |
<long-description><![CDATA[<p>Also notes the current sort column,
|
3727 |
if set.</p>]]></long-description>
|
3728 |
+
<tag line="1300" name="since" description="0.1"/>
|
3729 |
+
<tag line="1300" name="return" description="Sortable column information,e.g., 'slugs'=>array('data_values',boolean)" type="array">
|
3730 |
<type by_reference="false">array</type>
|
3731 |
</tag>
|
3732 |
</docblock>
|
3733 |
</method>
|
3734 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1336" package="Media Library Assistant">
|
3735 |
<name>print_column_headers</name>
|
3736 |
<full_name>print_column_headers</full_name>
|
3737 |
+
<docblock line="1329">
|
3738 |
<description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
|
3739 |
<long-description><![CDATA[]]></long-description>
|
3740 |
+
<tag line="1329" name="since" description="1.42"/>
|
3741 |
+
<tag line="1329" name="param" description="Whether to set the id attribute or not" type="bool" variable="$with_id">
|
3742 |
<type by_reference="false">bool</type>
|
3743 |
</tag>
|
3744 |
</docblock>
|
3745 |
+
<argument line="1336">
|
3746 |
<name>$with_id</name>
|
3747 |
<default><![CDATA[true]]></default>
|
3748 |
<type/>
|
3749 |
</argument>
|
3750 |
</method>
|
3751 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1353" package="Media Library Assistant">
|
3752 |
<name>_get_view</name>
|
3753 |
<full_name>_get_view</full_name>
|
3754 |
+
<docblock line="1343">
|
3755 |
<description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
|
3756 |
<long-description><![CDATA[]]></long-description>
|
3757 |
+
<tag line="1343" name="since" description="1.40"/>
|
3758 |
+
<tag line="1343" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
|
3759 |
<type by_reference="false">string</type>
|
3760 |
</tag>
|
3761 |
+
<tag line="1343" name="param" description="Slug for current view" type="string" variable="$current_view">
|
3762 |
<type by_reference="false">string</type>
|
3763 |
</tag>
|
3764 |
+
<tag line="1343" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
|
3765 |
<type by_reference="false">string</type>
|
3766 |
</tag>
|
3767 |
</docblock>
|
3768 |
+
<argument line="1353">
|
3769 |
<name>$view_slug</name>
|
3770 |
<default><![CDATA[]]></default>
|
3771 |
<type/>
|
3772 |
</argument>
|
3773 |
+
<argument line="1353">
|
3774 |
<name>$current_view</name>
|
3775 |
<default><![CDATA[]]></default>
|
3776 |
<type/>
|
3777 |
</argument>
|
3778 |
</method>
|
3779 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1479" package="Media Library Assistant">
|
3780 |
<name>get_views</name>
|
3781 |
<full_name>get_views</full_name>
|
3782 |
+
<docblock line="1471">
|
3783 |
<description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
|
3784 |
<long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
|
3785 |
+
<tag line="1471" name="since" description="0.1"/>
|
3786 |
+
<tag line="1471" name="return" description="View information,e.g., array ( id => link )" type="array">
|
3787 |
<type by_reference="false">array</type>
|
3788 |
</tag>
|
3789 |
</docblock>
|
3790 |
</method>
|
3791 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1535" package="Media Library Assistant">
|
3792 |
<name>get_bulk_actions</name>
|
3793 |
<full_name>get_bulk_actions</full_name>
|
3794 |
+
<docblock line="1527">
|
3795 |
<description><![CDATA[Get an associative array ( option_name => option_title ) with the list
|
3796 |
of bulk actions available on this table.]]></description>
|
3797 |
<long-description><![CDATA[]]></long-description>
|
3798 |
+
<tag line="1527" name="since" description="0.1"/>
|
3799 |
+
<tag line="1527" name="return" description="Contains all the bulk actions: 'slugs'=>'Visible Titles'" type="array">
|
3800 |
<type by_reference="false">array</type>
|
3801 |
</tag>
|
3802 |
</docblock>
|
3803 |
</method>
|
3804 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1565" package="Media Library Assistant">
|
3805 |
<name>extra_tablenav</name>
|
3806 |
<full_name>extra_tablenav</full_name>
|
3807 |
+
<docblock line="1554">
|
3808 |
<description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
|
3809 |
<long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
|
3810 |
+
<tag line="1554" name="since" description="0.1"/>
|
3811 |
+
<tag line="1554" name="param" description="'top' or 'bottom', i.e., above or below the table rows" type="string" variable="$which">
|
3812 |
<type by_reference="false">string</type>
|
3813 |
</tag>
|
3814 |
+
<tag line="1554" name="return" description="Contains all the bulk actions: 'slugs'=>'Visible Titles'" type="array">
|
3815 |
<type by_reference="false">array</type>
|
3816 |
</tag>
|
3817 |
</docblock>
|
3818 |
+
<argument line="1565">
|
3819 |
<name>$which</name>
|
3820 |
<default><![CDATA[]]></default>
|
3821 |
<type/>
|
3822 |
</argument>
|
3823 |
</method>
|
3824 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1601" package="Media Library Assistant">
|
3825 |
<name>prepare_items</name>
|
3826 |
<full_name>prepare_items</full_name>
|
3827 |
+
<docblock line="1589">
|
3828 |
<description><![CDATA[Prepares the list of items for displaying]]></description>
|
3829 |
<long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
|
3830 |
be used to query the database, sort and filter the data, and generally
|
3831 |
get it ready to be displayed. At a minimum, we should set $this->items and
|
3832 |
$this->set_pagination_args().</p>]]></long-description>
|
3833 |
+
<tag line="1589" name="since" description="0.1"/>
|
3834 |
+
<tag line="1589" name="return" description="" type="void">
|
3835 |
<type by_reference="false">void</type>
|
3836 |
</tag>
|
3837 |
</docblock>
|
3838 |
</method>
|
3839 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1648" package="Media Library Assistant">
|
3840 |
<name>single_row</name>
|
3841 |
<full_name>single_row</full_name>
|
3842 |
+
<docblock line="1639">
|
3843 |
<description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
|
3844 |
<long-description><![CDATA[]]></long-description>
|
3845 |
+
<tag line="1639" name="since" description=".20"/>
|
3846 |
+
<tag line="1639" name="param" description="the current item" type="object" variable="$item">
|
3847 |
<type by_reference="false">object</type>
|
3848 |
</tag>
|
3849 |
+
<tag line="1639" name="return" description="Echoes the row HTML" type="void">
|
3850 |
<type by_reference="false">void</type>
|
3851 |
</tag>
|
3852 |
</docblock>
|
3853 |
+
<argument line="1648">
|
3854 |
<name>$item</name>
|
3855 |
<default><![CDATA[]]></default>
|
3856 |
<type/>
|
3858 |
</method>
|
3859 |
</class>
|
3860 |
</file>
|
3861 |
+
<file path="includes\class-mla-main.php" hash="d03e53fcb3dbc5f60e6387a49bc457b5" package="Media Library Assistant">
|
3862 |
<docblock line="2">
|
3863 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
3864 |
<long-description><![CDATA[]]></long-description>
|
3882 |
<constant namespace="global" line="32" package="Media Library Assistant">
|
3883 |
<name>CURRENT_MLA_VERSION</name>
|
3884 |
<full_name>CURRENT_MLA_VERSION</full_name>
|
3885 |
+
<value><![CDATA['1.82']]></value>
|
3886 |
<docblock line="25">
|
3887 |
<description><![CDATA[Current version number]]></description>
|
3888 |
<long-description><![CDATA[]]></long-description>
|
4074 |
</tag>
|
4075 |
</docblock>
|
4076 |
</constant>
|
4077 |
+
<constant namespace="global" line="167" package="Media Library Assistant">
|
4078 |
+
<name>MLA_ADMIN_SET_PARENT</name>
|
4079 |
+
<full_name>MLA_ADMIN_SET_PARENT</full_name>
|
4080 |
+
<value><![CDATA['set_parent']]></value>
|
4081 |
+
<docblock line="160">
|
4082 |
+
<description><![CDATA[mla_admin_action value for setting an item's parent object]]></description>
|
4083 |
+
<long-description><![CDATA[]]></long-description>
|
4084 |
+
<tag line="160" name="since" description="1.82"/>
|
4085 |
+
<tag line="160" name="var" description="" type="string">
|
4086 |
+
<type by_reference="false">string</type>
|
4087 |
+
</tag>
|
4088 |
+
</docblock>
|
4089 |
+
</constant>
|
4090 |
+
<property final="false" static="true" visibility="private" line="176" namespace="global" package="Media Library Assistant">
|
4091 |
<name>$page_hooks</name>
|
4092 |
<default><![CDATA[array()]]></default>
|
4093 |
+
<docblock line="169">
|
4094 |
<description><![CDATA[Holds screen ids to match help text to corresponding screen]]></description>
|
4095 |
<long-description><![CDATA[]]></long-description>
|
4096 |
+
<tag line="169" name="since" description="0.1"/>
|
4097 |
+
<tag line="169" name="var" description="" type="array">
|
4098 |
<type by_reference="false">array</type>
|
4099 |
</tag>
|
4100 |
</docblock>
|
4101 |
</property>
|
4102 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="189" package="Media Library Assistant">
|
4103 |
<name>initialize</name>
|
4104 |
<full_name>initialize</full_name>
|
4105 |
+
<docblock line="178">
|
4106 |
<description><![CDATA[Initialization function, similar to __construct()]]></description>
|
4107 |
<long-description><![CDATA[<p>This function contains add_action and add_filter calls
|
4108 |
to set up the Ajax handlers, enqueue JavaScript and CSS files, and
|
4109 |
set up the Assistant submenu.</p>]]></long-description>
|
4110 |
+
<tag line="178" name="since" description="0.1"/>
|
4111 |
+
<tag line="178" name="return" description="" type="void">
|
4112 |
<type by_reference="false">void</type>
|
4113 |
</tag>
|
4114 |
</docblock>
|
4115 |
</method>
|
4116 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="208" package="Media Library Assistant">
|
4117 |
<name>mla_plugins_loaded_action</name>
|
4118 |
<full_name>mla_plugins_loaded_action</full_name>
|
4119 |
+
<docblock line="197">
|
4120 |
<description><![CDATA[Load a plugin text domain]]></description>
|
4121 |
<long-description><![CDATA[<p>The "add_action" for this function is in mla-plugin-loader.php, because the "initialize"
|
4122 |
function above doesn't run in time.
|
4123 |
Defined as public because it's an action.</p>]]></long-description>
|
4124 |
+
<tag line="197" name="since" description="1.60"/>
|
4125 |
+
<tag line="197" name="return" description="" type="void">
|
4126 |
<type by_reference="false">void</type>
|
4127 |
</tag>
|
4128 |
</docblock>
|
4129 |
</method>
|
4130 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="238" package="Media Library Assistant">
|
4131 |
<name>mla_admin_init_action</name>
|
4132 |
<full_name>mla_admin_init_action</full_name>
|
4133 |
+
<docblock line="231">
|
4134 |
<description><![CDATA[Load the plugin's Ajax handler or process Edit Media update actions]]></description>
|
4135 |
<long-description><![CDATA[]]></long-description>
|
4136 |
+
<tag line="231" name="since" description="0.20"/>
|
4137 |
+
<tag line="231" name="return" description="" type="void">
|
4138 |
<type by_reference="false">void</type>
|
4139 |
</tag>
|
4140 |
</docblock>
|
4141 |
</method>
|
4142 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="288" package="Media Library Assistant">
|
4143 |
<name>mla_admin_enqueue_scripts_action</name>
|
4144 |
<full_name>mla_admin_enqueue_scripts_action</full_name>
|
4145 |
+
<docblock line="279">
|
4146 |
<description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
|
4147 |
<long-description><![CDATA[]]></long-description>
|
4148 |
+
<tag line="279" name="since" description="0.1"/>
|
4149 |
+
<tag line="279" name="param" description="Name of the page being loaded" type="string" variable="$page_hook">
|
4150 |
<type by_reference="false">string</type>
|
4151 |
</tag>
|
4152 |
+
<tag line="279" name="return" description="" type="void">
|
4153 |
<type by_reference="false">void</type>
|
4154 |
</tag>
|
4155 |
</docblock>
|
4156 |
+
<argument line="288">
|
4157 |
<name>$page_hook</name>
|
4158 |
<default><![CDATA[]]></default>
|
4159 |
<type/>
|
4160 |
</argument>
|
4161 |
</method>
|
4162 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="371" package="Media Library Assistant">
|
4163 |
<name>mla_admin_menu_action</name>
|
4164 |
<full_name>mla_admin_menu_action</full_name>
|
4165 |
+
<docblock line="356">
|
4166 |
<description><![CDATA[Add the submenu pages]]></description>
|
4167 |
<long-description><![CDATA[<p>Add a submenu page in the "Media" section,
|
4168 |
add settings page in the "Settings" section.
|
4171 |
<p>For WordPress versions before 3.5,
|
4172 |
add submenu page(s) for attachment taxonomies,
|
4173 |
add filter to clean up taxonomy submenu labels.</p>]]></long-description>
|
4174 |
+
<tag line="356" name="since" description="0.1"/>
|
4175 |
+
<tag line="356" name="return" description="" type="void">
|
4176 |
<type by_reference="false">void</type>
|
4177 |
</tag>
|
4178 |
</docblock>
|
4179 |
</method>
|
4180 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="449" package="Media Library Assistant">
|
4181 |
<name>mla_load_media_action</name>
|
4182 |
<full_name>mla_load_media_action</full_name>
|
4183 |
+
<docblock line="442">
|
4184 |
<description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
|
4185 |
<long-description><![CDATA[]]></long-description>
|
4186 |
+
<tag line="442" name="since" description="1.60"/>
|
4187 |
+
<tag line="442" name="return" description="" type="void">
|
4188 |
<type by_reference="false">void</type>
|
4189 |
</tag>
|
4190 |
</docblock>
|
4191 |
</method>
|
4192 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="477" package="Media Library Assistant">
|
4193 |
<name>mla_add_menu_options</name>
|
4194 |
<full_name>mla_add_menu_options</full_name>
|
4195 |
+
<docblock line="470">
|
4196 |
<description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
|
4197 |
<long-description><![CDATA[]]></long-description>
|
4198 |
+
<tag line="470" name="since" description="0.1"/>
|
4199 |
+
<tag line="470" name="return" description="" type="void">
|
4200 |
<type by_reference="false">void</type>
|
4201 |
</tag>
|
4202 |
</docblock>
|
4203 |
</method>
|
4204 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="496" package="Media Library Assistant">
|
4205 |
<name>mla_add_help_tab</name>
|
4206 |
<full_name>mla_add_help_tab</full_name>
|
4207 |
+
<docblock line="489">
|
4208 |
<description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
|
4209 |
<long-description><![CDATA[]]></long-description>
|
4210 |
+
<tag line="489" name="since" description="0.1"/>
|
4211 |
+
<tag line="489" name="return" description="" type="void">
|
4212 |
<type by_reference="false">void</type>
|
4213 |
</tag>
|
4214 |
</docblock>
|
4215 |
</method>
|
4216 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="602" package="Media Library Assistant">
|
4217 |
<name>mla_screen_options_show_screen_filter</name>
|
4218 |
<full_name>mla_screen_options_show_screen_filter</full_name>
|
4219 |
+
<docblock line="592">
|
4220 |
<description><![CDATA[Only show screen options on the table-list screen]]></description>
|
4221 |
<long-description><![CDATA[]]></long-description>
|
4222 |
+
<tag line="592" name="since" description="0.1"/>
|
4223 |
+
<tag line="592" name="param" description="True to display "Screen Options", false to suppress them" type="boolean" variable="$show_screen">
|
4224 |
<type by_reference="false">boolean</type>
|
4225 |
</tag>
|
4226 |
+
<tag line="592" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
|
4227 |
<type by_reference="false">string</type>
|
4228 |
</tag>
|
4229 |
+
<tag line="592" name="return" description="True to display "Screen Options", false to suppress them" type="boolean">
|
4230 |
<type by_reference="false">boolean</type>
|
4231 |
</tag>
|
4232 |
</docblock>
|
4233 |
+
<argument line="602">
|
4234 |
<name>$show_screen</name>
|
4235 |
<default><![CDATA[]]></default>
|
4236 |
<type/>
|
4237 |
</argument>
|
4238 |
+
<argument line="602">
|
4239 |
<name>$this_screen</name>
|
4240 |
<default><![CDATA[]]></default>
|
4241 |
<type/>
|
4242 |
</argument>
|
4243 |
</method>
|
4244 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="621" package="Media Library Assistant">
|
4245 |
<name>mla_set_screen_option_filter</name>
|
4246 |
<full_name>mla_set_screen_option_filter</full_name>
|
4247 |
+
<docblock line="610">
|
4248 |
<description><![CDATA[Save the "Entries per page" option set by this user]]></description>
|
4249 |
<long-description><![CDATA[]]></long-description>
|
4250 |
+
<tag line="610" name="since" description="0.1"/>
|
4251 |
+
<tag line="610" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
|
4252 |
<type by_reference="false">mixed</type>
|
4253 |
</tag>
|
4254 |
+
<tag line="610" name="param" description="Name of the option being changed" type="string" variable="$option">
|
4255 |
<type by_reference="false">string</type>
|
4256 |
</tag>
|
4257 |
+
<tag line="610" name="param" description="New value of the option" type="string" variable="$value">
|
4258 |
<type by_reference="false">string</type>
|
4259 |
</tag>
|
4260 |
+
<tag line="610" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
|
4261 |
<type by_reference="false">string</type>
|
4262 |
<type by_reference="false">void</type>
|
4263 |
</tag>
|
4264 |
</docblock>
|
4265 |
+
<argument line="621">
|
4266 |
<name>$status</name>
|
4267 |
<default><![CDATA[]]></default>
|
4268 |
<type/>
|
4269 |
</argument>
|
4270 |
+
<argument line="621">
|
4271 |
<name>$option</name>
|
4272 |
<default><![CDATA[]]></default>
|
4273 |
<type/>
|
4274 |
</argument>
|
4275 |
+
<argument line="621">
|
4276 |
<name>$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="640" package="Media Library Assistant">
|
4282 |
<name>mla_edit_tax_redirect</name>
|
4283 |
<full_name>mla_edit_tax_redirect</full_name>
|
4284 |
+
<docblock line="629">
|
4285 |
<description><![CDATA[Redirect to the Edit Tags/Categories page]]></description>
|
4286 |
<long-description><![CDATA[<p>The custom taxonomy add/edit submenu entries go to "upload.php" by default.
|
4287 |
This filter is the only way to redirect them to the correct WordPress page.
|
4288 |
The filter is not required for WordPress 3.5 and later.</p>]]></long-description>
|
4289 |
+
<tag line="629" name="since" description="0.1"/>
|
4290 |
+
<tag line="629" name="return" description="" type="void">
|
4291 |
<type by_reference="false">void</type>
|
4292 |
</tag>
|
4293 |
</docblock>
|
4294 |
</method>
|
4295 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="673" package="Media Library Assistant">
|
4296 |
<name>mla_parent_file_filter</name>
|
4297 |
<full_name>mla_parent_file_filter</full_name>
|
4298 |
+
<docblock line="657">
|
4299 |
<description><![CDATA[Cleanup menus for Edit Tags/Categories page]]></description>
|
4300 |
<long-description><![CDATA[<p>For WordPress before 3.5, the submenu entries for custom taxonomies
|
4301 |
under the "Media" menu are not set up correctly by WordPress, so this
|
4303 |
page for editing/adding taxonomy terms.
|
4304 |
For WordPress 3.5 and later, the function fixes the submenu bolding when
|
4305 |
going to the Edit Media screen.</p>]]></long-description>
|
4306 |
+
<tag line="657" name="since" description="0.1"/>
|
4307 |
+
<tag line="657" name="param" description="The top-level menu page" type="array" variable="$parent_file">
|
4308 |
<type by_reference="false">array</type>
|
4309 |
</tag>
|
4310 |
+
<tag line="657" name="return" description="The updated top-level menu page" type="string">
|
4311 |
<type by_reference="false">string</type>
|
4312 |
</tag>
|
4313 |
</docblock>
|
4314 |
+
<argument line="673">
|
4315 |
<name>$parent_file</name>
|
4316 |
<default><![CDATA[]]></default>
|
4317 |
<type/>
|
4318 |
</argument>
|
4319 |
</method>
|
4320 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="736" package="Media Library Assistant">
|
4321 |
<name>_process_bulk_value</name>
|
4322 |
<full_name>_process_bulk_value</full_name>
|
4323 |
+
<docblock line="726">
|
4324 |
<description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
|
4325 |
<long-description><![CDATA[]]></long-description>
|
4326 |
+
<tag line="726" name="since" description="1.80"/>
|
4327 |
+
<tag line="726" name="param" description="Current post ID" type="integer" variable="$post_id">
|
4328 |
<type by_reference="false">integer</type>
|
4329 |
</tag>
|
4330 |
+
<tag line="726" name="param" description="Field value as entered" type="string" variable="$bulk_value">
|
4331 |
<type by_reference="false">string</type>
|
4332 |
</tag>
|
4333 |
+
<tag line="726" name="return" description="Empty, or new value for the field" type="string">
|
4334 |
<type by_reference="false">string</type>
|
4335 |
</tag>
|
4336 |
</docblock>
|
4337 |
+
<argument line="736">
|
4338 |
<name>$post_id</name>
|
4339 |
<default><![CDATA[]]></default>
|
4340 |
<type/>
|
4341 |
</argument>
|
4342 |
+
<argument line="736">
|
4343 |
<name>$bulk_value</name>
|
4344 |
<default><![CDATA[]]></default>
|
4345 |
<type/>
|
4346 |
</argument>
|
4347 |
</method>
|
4348 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="767" package="Media Library Assistant">
|
4349 |
<name>mla_render_admin_page</name>
|
4350 |
<full_name>mla_render_admin_page</full_name>
|
4351 |
+
<docblock line="760">
|
4352 |
<description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
|
4353 |
<long-description><![CDATA[]]></long-description>
|
4354 |
+
<tag line="760" name="since" description="0.1"/>
|
4355 |
+
<tag line="760" name="return" description="" type="void">
|
4356 |
+
<type by_reference="false">void</type>
|
4357 |
+
</tag>
|
4358 |
+
</docblock>
|
4359 |
+
</method>
|
4360 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1267" package="Media Library Assistant">
|
4361 |
+
<name>mla_set_parent_ajax_action</name>
|
4362 |
+
<full_name>mla_set_parent_ajax_action</full_name>
|
4363 |
+
<docblock line="1258">
|
4364 |
+
<description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
|
4365 |
+
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4366 |
+
<tag line="1258" name="since" description="0.20"/>
|
4367 |
+
<tag line="1258" name="return" description="echo HTML <td> innerHTML for updated call or error message, then die()" type="void">
|
4368 |
<type by_reference="false">void</type>
|
4369 |
</tag>
|
4370 |
</docblock>
|
4371 |
</method>
|
4372 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1303" package="Media Library Assistant">
|
4373 |
+
<name>mla_inline_edit_ajax_action</name>
|
4374 |
+
<full_name>mla_inline_edit_ajax_action</full_name>
|
4375 |
+
<docblock line="1294">
|
4376 |
<description><![CDATA[Ajax handler for inline editing (quick and bulk edit)]]></description>
|
4377 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4378 |
+
<tag line="1294" name="since" description="0.20"/>
|
4379 |
+
<tag line="1294" name="return" description="echo HTML <tr> markup for updated row or error message, then die()" type="void">
|
4380 |
<type by_reference="false">void</type>
|
4381 |
</tag>
|
4382 |
</docblock>
|
4383 |
</method>
|
4384 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1402" package="Media Library Assistant">
|
4385 |
<name>_build_inline_edit_form</name>
|
4386 |
<full_name>_build_inline_edit_form</full_name>
|
4387 |
+
<docblock line="1391">
|
4388 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
4389 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
4390 |
+
<tag line="1391" name="since" description="0.20"/>
|
4391 |
+
<tag line="1391" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
|
4392 |
<type by_reference="false">object</type>
|
4393 |
</tag>
|
4394 |
+
<tag line="1391" name="return" description="HTML <form> markup for hidden rows" type="string">
|
4395 |
<type by_reference="false">string</type>
|
4396 |
</tag>
|
4397 |
</docblock>
|
4398 |
+
<argument line="1402">
|
4399 |
<name>$MLAListTable</name>
|
4400 |
<default><![CDATA[]]></default>
|
4401 |
<type/>
|
4402 |
</argument>
|
4403 |
</method>
|
4404 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1623" package="Media Library Assistant">
|
4405 |
<name>_authors_dropdown</name>
|
4406 |
<full_name>_authors_dropdown</full_name>
|
4407 |
+
<docblock line="1612">
|
4408 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
4409 |
<long-description><![CDATA[]]></long-description>
|
4410 |
+
<tag line="1612" name="since" description="0.20"/>
|
4411 |
+
<tag line="1612" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
|
4412 |
<type by_reference="false">integer</type>
|
4413 |
</tag>
|
4414 |
+
<tag line="1612" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
|
4415 |
<type by_reference="false">string</type>
|
4416 |
</tag>
|
4417 |
+
<tag line="1612" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
|
4418 |
<type by_reference="false">string</type>
|
4419 |
</tag>
|
4420 |
+
<tag line="1612" name="return" description="HTML markup for the dropdown field or False" type="string|false">
|
4421 |
<type by_reference="false">string</type>
|
4422 |
<type by_reference="false">false</type>
|
4423 |
</tag>
|
4424 |
</docblock>
|
4425 |
+
<argument line="1623">
|
4426 |
<name>$author</name>
|
4427 |
<default><![CDATA[0]]></default>
|
4428 |
<type/>
|
4429 |
</argument>
|
4430 |
+
<argument line="1623">
|
4431 |
<name>$name</name>
|
4432 |
<default><![CDATA['post_author']]></default>
|
4433 |
<type/>
|
4434 |
</argument>
|
4435 |
+
<argument line="1623">
|
4436 |
<name>$class</name>
|
4437 |
<default><![CDATA['authors']]></default>
|
4438 |
<type/>
|
4439 |
</argument>
|
4440 |
</method>
|
4441 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1657" package="Media Library Assistant">
|
4442 |
<name>_current_bulk_action</name>
|
4443 |
<full_name>_current_bulk_action</full_name>
|
4444 |
+
<docblock line="1650">
|
4445 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
4446 |
<long-description><![CDATA[]]></long-description>
|
4447 |
+
<tag line="1650" name="since" description="0.1"/>
|
4448 |
+
<tag line="1650" name="return" description="The action name or False if no action was selected" type="string|false">
|
4449 |
<type by_reference="false">string</type>
|
4450 |
<type by_reference="false">false</type>
|
4451 |
</tag>
|
4452 |
</docblock>
|
4453 |
</method>
|
4454 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1688" package="Media Library Assistant">
|
4455 |
<name>_delete_single_item</name>
|
4456 |
<full_name>_delete_single_item</full_name>
|
4457 |
+
<docblock line="1679">
|
4458 |
<description><![CDATA[Delete a single item permanently]]></description>
|
4459 |
<long-description><![CDATA[]]></long-description>
|
4460 |
+
<tag line="1679" name="since" description="0.1"/>
|
4461 |
+
<tag line="1679" name="param" description="The form POST data" type="array" variable="$post_id">
|
4462 |
<type by_reference="false">array</type>
|
4463 |
</tag>
|
4464 |
+
<tag line="1679" name="return" description="success/failure message and NULL content" type="array">
|
4465 |
<type by_reference="false">array</type>
|
4466 |
</tag>
|
4467 |
</docblock>
|
4468 |
+
<argument line="1688">
|
4469 |
<name>$post_id</name>
|
4470 |
<default><![CDATA[]]></default>
|
4471 |
<type/>
|
4472 |
</argument>
|
4473 |
</method>
|
4474 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1723" package="Media Library Assistant">
|
4475 |
<name>_display_single_item</name>
|
4476 |
<full_name>_display_single_item</full_name>
|
4477 |
+
<docblock line="1711">
|
4478 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
4479 |
change the meta data for a single attachment.]]></description>
|
4480 |
<long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
|
4481 |
+
<tag line="1711" name="since" description="0.1"/>
|
4482 |
+
<tag line="1711" name="param" description="The WordPress Post ID of the attachment item" type="int" variable="$post_id">
|
4483 |
<type by_reference="false">int</type>
|
4484 |
</tag>
|
4485 |
+
<tag line="1711" name="return" description="message and/or HTML content" type="array">
|
4486 |
<type by_reference="false">array</type>
|
4487 |
</tag>
|
4488 |
</docblock>
|
4489 |
+
<argument line="1723">
|
4490 |
<name>$post_id</name>
|
4491 |
<default><![CDATA[]]></default>
|
4492 |
<type/>
|
4493 |
</argument>
|
4494 |
</method>
|
4495 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2004" package="Media Library Assistant">
|
4496 |
<name>_restore_single_item</name>
|
4497 |
<full_name>_restore_single_item</full_name>
|
4498 |
+
<docblock line="1995">
|
4499 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
4500 |
<long-description><![CDATA[]]></long-description>
|
4501 |
+
<tag line="1995" name="since" description="0.1"/>
|
4502 |
+
<tag line="1995" name="param" description="The form POST data" type="array" variable="$post_id">
|
4503 |
<type by_reference="false">array</type>
|
4504 |
</tag>
|
4505 |
+
<tag line="1995" name="return" description="success/failure message and NULL content" type="array">
|
4506 |
<type by_reference="false">array</type>
|
4507 |
</tag>
|
4508 |
</docblock>
|
4509 |
+
<argument line="2004">
|
4510 |
<name>$post_id</name>
|
4511 |
<default><![CDATA[]]></default>
|
4512 |
<type/>
|
4513 |
</argument>
|
4514 |
</method>
|
4515 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2044" package="Media Library Assistant">
|
4516 |
<name>_trash_single_item</name>
|
4517 |
<full_name>_trash_single_item</full_name>
|
4518 |
+
<docblock line="2035">
|
4519 |
<description><![CDATA[Move a single item to Trash]]></description>
|
4520 |
<long-description><![CDATA[]]></long-description>
|
4521 |
+
<tag line="2035" name="since" description="0.1"/>
|
4522 |
+
<tag line="2035" name="param" description="The form POST data" type="array" variable="$post_id">
|
4523 |
<type by_reference="false">array</type>
|
4524 |
</tag>
|
4525 |
+
<tag line="2035" name="return" description="success/failure message and NULL content" type="array">
|
4526 |
<type by_reference="false">array</type>
|
4527 |
</tag>
|
4528 |
</docblock>
|
4529 |
+
<argument line="2044">
|
4530 |
<name>$post_id</name>
|
4531 |
<default><![CDATA[]]></default>
|
4532 |
<type/>
|
6351 |
</method>
|
6352 |
</class>
|
6353 |
</file>
|
6354 |
+
<file path="includes\class-mla-options.php" hash="8cc5df8a7cfea6077b3c0d9fd6ddb5f9" package="Media Library Assistant">
|
6355 |
<docblock line="2">
|
6356 |
<description><![CDATA[Manages the plugin option settings]]></description>
|
6357 |
<long-description><![CDATA[]]></long-description>
|
7864 |
<type/>
|
7865 |
</argument>
|
7866 |
</method>
|
7867 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3792" package="Media Library Assistant">
|
7868 |
<name>_update_iptc_exif_custom_mapping</name>
|
7869 |
<full_name>_update_iptc_exif_custom_mapping</full_name>
|
7870 |
+
<docblock line="3782">
|
7871 |
<description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
|
7872 |
<long-description><![CDATA[]]></long-description>
|
7873 |
+
<tag line="3782" name="since" description="1.00"/>
|
7874 |
+
<tag line="3782" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
|
7875 |
<type by_reference="false">array</type>
|
7876 |
</tag>
|
7877 |
+
<tag line="3782" name="param" description="new values" type="array" variable="$new_values">
|
7878 |
<type by_reference="false">array</type>
|
7879 |
</tag>
|
7880 |
+
<tag line="3782" name="return" description="( 'message' => HTML message(s) reflecting results, 'values' => updated iptc_exif_mapping values, 'changed' => true if any changes detected else false )" type="array">
|
7881 |
<type by_reference="false">array</type>
|
7882 |
</tag>
|
7883 |
</docblock>
|
7884 |
+
<argument line="3792">
|
7885 |
<name>$current_values</name>
|
7886 |
<default><![CDATA[]]></default>
|
7887 |
<type/>
|
7888 |
</argument>
|
7889 |
+
<argument line="3792">
|
7890 |
<name>$new_values</name>
|
7891 |
<default><![CDATA[]]></default>
|
7892 |
<type/>
|
7893 |
</argument>
|
7894 |
</method>
|
7895 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3922" package="Media Library Assistant">
|
7896 |
<name>_get_custom_field_names</name>
|
7897 |
<full_name>_get_custom_field_names</full_name>
|
7898 |
+
<docblock line="3912">
|
7899 |
<description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
|
7900 |
<long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
|
7901 |
haven't been mapped to any attachments, yet.</p>]]></long-description>
|
7902 |
+
<tag line="3912" name="since" description="1.00"/>
|
7903 |
+
<tag line="3912" name="return" description="Custom field names from the postmeta table and MLA rules" type="array">
|
7904 |
<type by_reference="false">array</type>
|
7905 |
</tag>
|
7906 |
</docblock>
|
7907 |
</method>
|
7908 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3968" package="Media Library Assistant">
|
7909 |
<name>mla_iptc_exif_option_handler</name>
|
7910 |
<full_name>mla_iptc_exif_option_handler</full_name>
|
7911 |
+
<docblock line="3955">
|
7912 |
<description><![CDATA[Render and manage iptc/exif support options]]></description>
|
7913 |
<long-description><![CDATA[]]></long-description>
|
7914 |
+
<tag line="3955" name="since" description="1.00"/>
|
7915 |
+
<tag line="3955" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
7916 |
+
<tag line="3955" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
|
7917 |
<type by_reference="false">string</type>
|
7918 |
</tag>
|
7919 |
+
<tag line="3955" name="param" description="option name, e.g., 'iptc_exif_mapping'" type="string" variable="$key">
|
7920 |
<type by_reference="false">string</type>
|
7921 |
</tag>
|
7922 |
+
<tag line="3955" name="param" description="option parameters" type="array" variable="$value">
|
7923 |
<type by_reference="false">array</type>
|
7924 |
</tag>
|
7925 |
+
<tag line="3955" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
|
7926 |
<type by_reference="false">array</type>
|
7927 |
</tag>
|
7928 |
+
<tag line="3955" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
|
7929 |
<type by_reference="false">string</type>
|
7930 |
</tag>
|
7931 |
</docblock>
|
7932 |
+
<argument line="3968">
|
7933 |
<name>$action</name>
|
7934 |
<default><![CDATA[]]></default>
|
7935 |
<type/>
|
7936 |
</argument>
|
7937 |
+
<argument line="3968">
|
7938 |
<name>$key</name>
|
7939 |
<default><![CDATA[]]></default>
|
7940 |
<type/>
|
7941 |
</argument>
|
7942 |
+
<argument line="3968">
|
7943 |
<name>$value</name>
|
7944 |
<default><![CDATA[]]></default>
|
7945 |
<type/>
|
7946 |
</argument>
|
7947 |
+
<argument line="3968">
|
7948 |
<name>$args</name>
|
7949 |
<default><![CDATA[null]]></default>
|
7950 |
<type/>
|
7952 |
</method>
|
7953 |
</class>
|
7954 |
</file>
|
7955 |
+
<file path="includes\class-mla-settings.php" hash="897f9797d99fead14096f79cda0231bc" package="Media Library Assistant">
|
7956 |
<docblock line="2">
|
7957 |
<description><![CDATA[Manages the settings page to edit the plugin option settings]]></description>
|
7958 |
<long-description><![CDATA[]]></long-description>
|
8061 |
<docblock line="848">
|
8062 |
<description><![CDATA[Definitions for Settings page tab ids, titles and handlers
|
8063 |
Each tab is defined by an array with the following elements:]]></description>
|
8064 |
+
<long-description><![CDATA[<p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
|
|
|
|
|
|
|
8065 |
|
8066 |
<p>title => tab label / heading text
|
8067 |
render => rendering function for tab messages and content. Usage:
|
8068 |
+
$tab_content = <a href="">'render'</a>;</p>
|
8069 |
+
|
8070 |
+
<p>The array must be populated at runtime in MLASettings::mla_localize_tablist(),
|
8071 |
+
because Localization calls cannot be placed in the "public static" array definition itself.</p>]]></long-description>
|
8072 |
<tag line="848" name="since" description="0.80"/>
|
8073 |
<tag line="848" name="var" description="" type="array">
|
8074 |
<type by_reference="false">array</type>
|
8381 |
</tag>
|
8382 |
</docblock>
|
8383 |
</method>
|
8384 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="901" package="Media Library Assistant">
|
8385 |
+
<name>mla_get_options_tablist</name>
|
8386 |
+
<full_name>mla_get_options_tablist</full_name>
|
8387 |
+
<docblock line="889">
|
8388 |
+
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
8389 |
+
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
8390 |
+
in the "public static" array definition itself.</p>]]></long-description>
|
8391 |
+
<tag line="889" name="since" description="1.82"/>
|
8392 |
+
<tag line="889" name="param" description="Tab slug, to retrieve a single entry" type="string" variable="$tab">
|
8393 |
+
<type by_reference="false">string</type>
|
8394 |
+
</tag>
|
8395 |
+
<tag line="889" name="return" description="The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed" type="array|false">
|
8396 |
+
<type by_reference="false">array</type>
|
8397 |
+
<type by_reference="false">false</type>
|
8398 |
+
</tag>
|
8399 |
+
</docblock>
|
8400 |
+
<argument line="901">
|
8401 |
+
<name>$tab</name>
|
8402 |
+
<default><![CDATA[NULL]]></default>
|
8403 |
+
<type/>
|
8404 |
+
</argument>
|
8405 |
+
</method>
|
8406 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="925" package="Media Library Assistant">
|
8407 |
<name>_compose_settings_tabs</name>
|
8408 |
<full_name>_compose_settings_tabs</full_name>
|
8409 |
+
<docblock line="915">
|
8410 |
<description><![CDATA[Compose the navigation tabs for the Settings subpage]]></description>
|
8411 |
<long-description><![CDATA[]]></long-description>
|
8412 |
+
<tag line="915" name="since" description="0.80"/>
|
8413 |
+
<tag line="915" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
8414 |
+
<tag line="915" name="param" description="Optional data-tab-id value for the active tab, default 'general'" type="string" variable="$active_tab">
|
8415 |
<type by_reference="false">string</type>
|
8416 |
</tag>
|
8417 |
+
<tag line="915" name="return" description="HTML markup for the Settings subpage navigation tabs" type="string">
|
8418 |
<type by_reference="false">string</type>
|
8419 |
</tag>
|
8420 |
</docblock>
|
8421 |
+
<argument line="925">
|
8422 |
<name>$active_tab</name>
|
8423 |
<default><![CDATA['general']]></default>
|
8424 |
<type/>
|
8425 |
</argument>
|
8426 |
</method>
|
8427 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="951" package="Media Library Assistant">
|
8428 |
<name>_compose_general_tab</name>
|
8429 |
<full_name>_compose_general_tab</full_name>
|
8430 |
+
<docblock line="943">
|
8431 |
<description><![CDATA[Compose the General tab content for the Settings subpage]]></description>
|
8432 |
<long-description><![CDATA[]]></long-description>
|
8433 |
+
<tag line="943" name="since" description="0.80"/>
|
8434 |
+
<tag line="943" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
8435 |
+
<tag line="943" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8436 |
<type by_reference="false">array</type>
|
8437 |
</tag>
|
8438 |
</docblock>
|
8439 |
</method>
|
8440 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1101" package="Media Library Assistant">
|
8441 |
<name>_current_bulk_action</name>
|
8442 |
<full_name>_current_bulk_action</full_name>
|
8443 |
+
<docblock line="1094">
|
8444 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
8445 |
<long-description><![CDATA[]]></long-description>
|
8446 |
+
<tag line="1094" name="since" description="1.40"/>
|
8447 |
+
<tag line="1094" name="return" description="The action name or False if no action was selected" type="string|false">
|
8448 |
<type by_reference="false">string</type>
|
8449 |
<type by_reference="false">false</type>
|
8450 |
</tag>
|
8451 |
</docblock>
|
8452 |
</method>
|
8453 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1133" package="Media Library Assistant">
|
8454 |
<name>_compose_edit_view_tab</name>
|
8455 |
<full_name>_compose_edit_view_tab</full_name>
|
8456 |
+
<docblock line="1123">
|
8457 |
<description><![CDATA[Compose the Edit View tab content for the Settings subpage]]></description>
|
8458 |
<long-description><![CDATA[]]></long-description>
|
8459 |
+
<tag line="1123" name="since" description="1.40"/>
|
8460 |
+
<tag line="1123" name="param" description="data values for the item" type="array" variable="$view">
|
8461 |
<type by_reference="false">array</type>
|
8462 |
</tag>
|
8463 |
+
<tag line="1123" name="param" description="Display template" type="string" variable="$template">
|
8464 |
<type by_reference="false">string</type>
|
8465 |
</tag>
|
8466 |
+
<tag line="1123" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8467 |
<type by_reference="false">array</type>
|
8468 |
</tag>
|
8469 |
</docblock>
|
8470 |
+
<argument line="1133">
|
8471 |
<name>$view</name>
|
8472 |
<default><![CDATA[]]></default>
|
8473 |
<type/>
|
8474 |
</argument>
|
8475 |
+
<argument line="1133">
|
8476 |
<name>$template</name>
|
8477 |
<default><![CDATA[]]></default>
|
8478 |
<type/>
|
8479 |
</argument>
|
8480 |
</method>
|
8481 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1184" package="Media Library Assistant">
|
8482 |
<name>_compose_view_tab</name>
|
8483 |
<full_name>_compose_view_tab</full_name>
|
8484 |
+
<docblock line="1177">
|
8485 |
<description><![CDATA[Compose the Post MIME Type Views tab content for the Settings subpage]]></description>
|
8486 |
<long-description><![CDATA[]]></long-description>
|
8487 |
+
<tag line="1177" name="since" description="1.40"/>
|
8488 |
+
<tag line="1177" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8489 |
<type by_reference="false">array</type>
|
8490 |
</tag>
|
8491 |
</docblock>
|
8492 |
</method>
|
8493 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1451" package="Media Library Assistant">
|
8494 |
<name>mla_get_icon_type_dropdown</name>
|
8495 |
<full_name>mla_get_icon_type_dropdown</full_name>
|
8496 |
+
<docblock line="1440">
|
8497 |
<description><![CDATA[Get an HTML select element representing a list of icon types]]></description>
|
8498 |
<long-description><![CDATA[]]></long-description>
|
8499 |
+
<tag line="1440" name="since" description="1.40"/>
|
8500 |
+
<tag line="1440" name="param" description="Display template array" type="array" variable="$templates">
|
8501 |
<type by_reference="false">array</type>
|
8502 |
</tag>
|
8503 |
+
<tag line="1440" name="param" description="HTML name attribute value" type="string" variable="$name">
|
8504 |
<type by_reference="false">string</type>
|
8505 |
</tag>
|
8506 |
+
<tag line="1440" name="param" description="currently selected Icon Type" type="string" variable="$selection">
|
8507 |
<type by_reference="false">string</type>
|
8508 |
</tag>
|
8509 |
+
<tag line="1440" name="return" description="HTML select element or empty string on failure." type="string">
|
8510 |
<type by_reference="false">string</type>
|
8511 |
</tag>
|
8512 |
</docblock>
|
8513 |
+
<argument line="1451">
|
8514 |
<name>$templates</name>
|
8515 |
<default><![CDATA[]]></default>
|
8516 |
<type/>
|
8517 |
</argument>
|
8518 |
+
<argument line="1451">
|
8519 |
<name>$name</name>
|
8520 |
<default><![CDATA[]]></default>
|
8521 |
<type/>
|
8522 |
</argument>
|
8523 |
+
<argument line="1451">
|
8524 |
<name>$selection</name>
|
8525 |
<default><![CDATA['.none.']]></default>
|
8526 |
<type/>
|
8527 |
</argument>
|
8528 |
</method>
|
8529 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1493" package="Media Library Assistant">
|
8530 |
<name>_compose_edit_upload_tab</name>
|
8531 |
<full_name>_compose_edit_upload_tab</full_name>
|
8532 |
+
<docblock line="1483">
|
8533 |
<description><![CDATA[Compose the Edit Upload type tab content for the Settings subpage]]></description>
|
8534 |
<long-description><![CDATA[]]></long-description>
|
8535 |
+
<tag line="1483" name="since" description="1.40"/>
|
8536 |
+
<tag line="1483" name="param" description="data values for the item" type="array" variable="$item">
|
8537 |
<type by_reference="false">array</type>
|
8538 |
</tag>
|
8539 |
+
<tag line="1483" name="param" description="Display template array" type="string" variable="$templates">
|
8540 |
<type by_reference="false">string</type>
|
8541 |
</tag>
|
8542 |
+
<tag line="1483" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8543 |
<type by_reference="false">array</type>
|
8544 |
</tag>
|
8545 |
</docblock>
|
8546 |
+
<argument line="1493">
|
8547 |
<name>$item</name>
|
8548 |
<default><![CDATA[]]></default>
|
8549 |
<type/>
|
8550 |
</argument>
|
8551 |
+
<argument line="1493">
|
8552 |
<name>$templates</name>
|
8553 |
<default><![CDATA[]]></default>
|
8554 |
<type/>
|
8555 |
</argument>
|
8556 |
</method>
|
8557 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1541" package="Media Library Assistant">
|
8558 |
<name>_compose_optional_upload_tab</name>
|
8559 |
<full_name>_compose_optional_upload_tab</full_name>
|
8560 |
+
<docblock line="1532">
|
8561 |
<description><![CDATA[Compose the Optional File Upload MIME Types tab content for the Settings subpage]]></description>
|
8562 |
<long-description><![CDATA[]]></long-description>
|
8563 |
+
<tag line="1532" name="since" description="1.40"/>
|
8564 |
+
<tag line="1532" name="param" description="Display templates" type="string" variable="$page_template_array">
|
8565 |
<type by_reference="false">string</type>
|
8566 |
</tag>
|
8567 |
+
<tag line="1532" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8568 |
<type by_reference="false">array</type>
|
8569 |
</tag>
|
8570 |
</docblock>
|
8571 |
+
<argument line="1541">
|
8572 |
<name>$page_template_array</name>
|
8573 |
<default><![CDATA[]]></default>
|
8574 |
<type/>
|
8575 |
</argument>
|
8576 |
</method>
|
8577 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1611" package="Media Library Assistant">
|
8578 |
<name>_process_optional_upload_mime</name>
|
8579 |
<full_name>_process_optional_upload_mime</full_name>
|
8580 |
+
<docblock line="1602">
|
8581 |
<description><![CDATA[Process an Optional Upload MIME Type selection]]></description>
|
8582 |
<long-description><![CDATA[]]></long-description>
|
8583 |
+
<tag line="1602" name="since" description="1.40"/>
|
8584 |
+
<tag line="1602" name="param" description="MLA Optional Upload MIME Type ID" type="\intger" variable="$ID">
|
8585 |
<type by_reference="false">\intger</type>
|
8586 |
</tag>
|
8587 |
+
<tag line="1602" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8588 |
<type by_reference="false">array</type>
|
8589 |
</tag>
|
8590 |
</docblock>
|
8591 |
+
<argument line="1611">
|
8592 |
<name>$ID</name>
|
8593 |
<default><![CDATA[]]></default>
|
8594 |
<type/>
|
8595 |
</argument>
|
8596 |
</method>
|
8597 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1631" package="Media Library Assistant">
|
8598 |
<name>_compose_upload_tab</name>
|
8599 |
<full_name>_compose_upload_tab</full_name>
|
8600 |
+
<docblock line="1624">
|
8601 |
<description><![CDATA[Compose the File Upload MIME Types tab content for the Settings subpage]]></description>
|
8602 |
<long-description><![CDATA[]]></long-description>
|
8603 |
+
<tag line="1624" name="since" description="1.40"/>
|
8604 |
+
<tag line="1624" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8605 |
<type by_reference="false">array</type>
|
8606 |
</tag>
|
8607 |
</docblock>
|
8608 |
</method>
|
8609 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1919" package="Media Library Assistant">
|
8610 |
<name>_compose_mla_gallery_tab</name>
|
8611 |
<full_name>_compose_mla_gallery_tab</full_name>
|
8612 |
+
<docblock line="1911">
|
8613 |
<description><![CDATA[Compose the MLA Gallery tab content for the Settings subpage]]></description>
|
8614 |
<long-description><![CDATA[]]></long-description>
|
8615 |
+
<tag line="1911" name="since" description="0.80"/>
|
8616 |
+
<tag line="1911" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
8617 |
+
<tag line="1911" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8618 |
<type by_reference="false">array</type>
|
8619 |
</tag>
|
8620 |
</docblock>
|
8621 |
</method>
|
8622 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2269" package="Media Library Assistant">
|
8623 |
<name>_compose_custom_field_tab</name>
|
8624 |
<full_name>_compose_custom_field_tab</full_name>
|
8625 |
+
<docblock line="2261">
|
8626 |
<description><![CDATA[Compose the Custom Field tab content for the Settings subpage]]></description>
|
8627 |
<long-description><![CDATA[]]></long-description>
|
8628 |
+
<tag line="2261" name="since" description="1.10"/>
|
8629 |
+
<tag line="2261" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
8630 |
+
<tag line="2261" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8631 |
<type by_reference="false">array</type>
|
8632 |
</tag>
|
8633 |
</docblock>
|
8634 |
</method>
|
8635 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2392" package="Media Library Assistant">
|
8636 |
<name>_compose_iptc_exif_tab</name>
|
8637 |
<full_name>_compose_iptc_exif_tab</full_name>
|
8638 |
+
<docblock line="2384">
|
8639 |
<description><![CDATA[Compose the IPTC/EXIF tab content for the Settings subpage]]></description>
|
8640 |
<long-description><![CDATA[]]></long-description>
|
8641 |
+
<tag line="2384" name="since" description="1.00"/>
|
8642 |
+
<tag line="2384" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
8643 |
+
<tag line="2384" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8644 |
<type by_reference="false">array</type>
|
8645 |
</tag>
|
8646 |
</docblock>
|
8647 |
</method>
|
8648 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2516" package="Media Library Assistant">
|
8649 |
<name>_compose_documentation_tab</name>
|
8650 |
<full_name>_compose_documentation_tab</full_name>
|
8651 |
+
<docblock line="2508">
|
8652 |
<description><![CDATA[Compose the Documentation tab content for the Settings subpage]]></description>
|
8653 |
<long-description><![CDATA[]]></long-description>
|
8654 |
+
<tag line="2508" name="since" description="0.80"/>
|
8655 |
+
<tag line="2508" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
8656 |
+
<tag line="2508" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
8657 |
<type by_reference="false">array</type>
|
8658 |
</tag>
|
8659 |
</docblock>
|
8660 |
</method>
|
8661 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2536" package="Media Library Assistant">
|
8662 |
<name>mla_render_settings_page</name>
|
8663 |
<full_name>mla_render_settings_page</full_name>
|
8664 |
+
<docblock line="2529">
|
8665 |
<description><![CDATA[Render (echo) the "Media Library Assistant" subpage in the Settings section]]></description>
|
8666 |
<long-description><![CDATA[]]></long-description>
|
8667 |
+
<tag line="2529" name="since" description="0.1"/>
|
8668 |
+
<tag line="2529" name="return" description="Echoes HTML markup for the Settings subpage" type="void">
|
8669 |
<type by_reference="false">void</type>
|
8670 |
</tag>
|
8671 |
</docblock>
|
8672 |
</method>
|
8673 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2599" package="Media Library Assistant">
|
8674 |
<name>_save_gallery_settings</name>
|
8675 |
<full_name>_save_gallery_settings</full_name>
|
8676 |
+
<docblock line="2590">
|
8677 |
<description><![CDATA[Save MLA Gallery settings to the options table]]></description>
|
8678 |
<long-description><![CDATA[]]></long-description>
|
8679 |
+
<tag line="2590" name="since" description="0.80"/>
|
8680 |
+
<tag line="2590" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8681 |
+
<tag line="2590" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8682 |
<type by_reference="false">array</type>
|
8683 |
</tag>
|
8684 |
</docblock>
|
8685 |
</method>
|
8686 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2866" package="Media Library Assistant">
|
8687 |
<name>_save_view_settings</name>
|
8688 |
<full_name>_save_view_settings</full_name>
|
8689 |
+
<docblock line="2857">
|
8690 |
<description><![CDATA[Save View settings to the options table]]></description>
|
8691 |
<long-description><![CDATA[]]></long-description>
|
8692 |
+
<tag line="2857" name="since" description="1.40"/>
|
8693 |
+
<tag line="2857" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8694 |
+
<tag line="2857" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8695 |
<type by_reference="false">array</type>
|
8696 |
</tag>
|
8697 |
</docblock>
|
8698 |
</method>
|
8699 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2897" package="Media Library Assistant">
|
8700 |
<name>_save_upload_settings</name>
|
8701 |
<full_name>_save_upload_settings</full_name>
|
8702 |
+
<docblock line="2888">
|
8703 |
<description><![CDATA[Save Upload settings to the options table]]></description>
|
8704 |
<long-description><![CDATA[]]></long-description>
|
8705 |
+
<tag line="2888" name="since" description="1.40"/>
|
8706 |
+
<tag line="2888" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8707 |
+
<tag line="2888" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8708 |
<type by_reference="false">array</type>
|
8709 |
</tag>
|
8710 |
</docblock>
|
8711 |
</method>
|
8712 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2933" package="Media Library Assistant">
|
8713 |
<name>_process_custom_field_mapping</name>
|
8714 |
<full_name>_process_custom_field_mapping</full_name>
|
8715 |
+
<docblock line="2922">
|
8716 |
<description><![CDATA[Process custom field settings against all image attachments
|
8717 |
without saving the settings to the mla_option]]></description>
|
8718 |
<long-description><![CDATA[]]></long-description>
|
8719 |
+
<tag line="2922" name="since" description="1.10"/>
|
8720 |
+
<tag line="2922" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8721 |
+
<tag line="2922" name="param" description="| NULL specific custom_field_mapping values" type="array" variable="$settings">
|
8722 |
<type by_reference="false">array</type>
|
8723 |
</tag>
|
8724 |
+
<tag line="2922" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8725 |
<type by_reference="false">array</type>
|
8726 |
</tag>
|
8727 |
</docblock>
|
8728 |
+
<argument line="2933">
|
8729 |
<name>$settings</name>
|
8730 |
<default><![CDATA[NULL]]></default>
|
8731 |
<type/>
|
8732 |
</argument>
|
8733 |
</method>
|
8734 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2992" package="Media Library Assistant">
|
8735 |
<name>_delete_custom_field</name>
|
8736 |
<full_name>_delete_custom_field</full_name>
|
8737 |
+
<docblock line="2983">
|
8738 |
<description><![CDATA[Delete a custom field from the wp_postmeta table]]></description>
|
8739 |
<long-description><![CDATA[]]></long-description>
|
8740 |
+
<tag line="2983" name="since" description="1.10"/>
|
8741 |
+
<tag line="2983" name="param" description="specific custom_field_mapping rule" type="array" variable="$value">
|
8742 |
<type by_reference="false">array</type>
|
8743 |
</tag>
|
8744 |
+
<tag line="2983" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8745 |
<type by_reference="false">array</type>
|
8746 |
</tag>
|
8747 |
</docblock>
|
8748 |
+
<argument line="2992">
|
8749 |
<name>$value</name>
|
8750 |
<default><![CDATA[]]></default>
|
8751 |
<type/>
|
8752 |
</argument>
|
8753 |
</method>
|
8754 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3019" package="Media Library Assistant">
|
8755 |
<name>_save_custom_field_settings</name>
|
8756 |
<full_name>_save_custom_field_settings</full_name>
|
8757 |
+
<docblock line="3009">
|
8758 |
<description><![CDATA[Save custom field settings to the options table]]></description>
|
8759 |
<long-description><![CDATA[]]></long-description>
|
8760 |
+
<tag line="3009" name="since" description="1.10"/>
|
8761 |
+
<tag line="3009" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8762 |
+
<tag line="3009" name="param" description="| NULL specific custom_field_mapping values" type="array" variable="$new_values">
|
8763 |
<type by_reference="false">array</type>
|
8764 |
</tag>
|
8765 |
+
<tag line="3009" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8766 |
<type by_reference="false">array</type>
|
8767 |
</tag>
|
8768 |
</docblock>
|
8769 |
+
<argument line="3019">
|
8770 |
<name>$new_values</name>
|
8771 |
<default><![CDATA[NULL]]></default>
|
8772 |
<type/>
|
8773 |
</argument>
|
8774 |
</method>
|
8775 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3060" package="Media Library Assistant">
|
8776 |
<name>_process_iptc_exif_standard</name>
|
8777 |
<full_name>_process_iptc_exif_standard</full_name>
|
8778 |
+
<docblock line="3050">
|
8779 |
<description><![CDATA[Process IPTC/EXIF standard field settings against all image attachments
|
8780 |
without saving the settings to the mla_option]]></description>
|
8781 |
<long-description><![CDATA[]]></long-description>
|
8782 |
+
<tag line="3050" name="since" description="1.00"/>
|
8783 |
+
<tag line="3050" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8784 |
+
<tag line="3050" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8785 |
<type by_reference="false">array</type>
|
8786 |
</tag>
|
8787 |
</docblock>
|
8788 |
</method>
|
8789 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3118" package="Media Library Assistant">
|
8790 |
<name>_process_iptc_exif_taxonomy</name>
|
8791 |
<full_name>_process_iptc_exif_taxonomy</full_name>
|
8792 |
+
<docblock line="3108">
|
8793 |
<description><![CDATA[Process IPTC/EXIF taxonomy term settings against all image attachments
|
8794 |
without saving the settings to the mla_option]]></description>
|
8795 |
<long-description><![CDATA[]]></long-description>
|
8796 |
+
<tag line="3108" name="since" description="1.00"/>
|
8797 |
+
<tag line="3108" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8798 |
+
<tag line="3108" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8799 |
<type by_reference="false">array</type>
|
8800 |
</tag>
|
8801 |
</docblock>
|
8802 |
</method>
|
8803 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3178" package="Media Library Assistant">
|
8804 |
<name>_process_iptc_exif_custom</name>
|
8805 |
<full_name>_process_iptc_exif_custom</full_name>
|
8806 |
+
<docblock line="3166">
|
8807 |
<description><![CDATA[Process IPTC/EXIF custom field settings against all image attachments
|
8808 |
without saving the settings to the mla_option]]></description>
|
8809 |
<long-description><![CDATA[]]></long-description>
|
8810 |
+
<tag line="3166" name="since" description="1.00"/>
|
8811 |
+
<tag line="3166" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8812 |
+
<tag line="3166" name="param" description="| NULL specific iptc_exif_custom_mapping values" type="array" variable="$settings">
|
8813 |
<type by_reference="false">array</type>
|
8814 |
</tag>
|
8815 |
+
<tag line="3166" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8816 |
<type by_reference="false">array</type>
|
8817 |
</tag>
|
8818 |
</docblock>
|
8819 |
+
<argument line="3178">
|
8820 |
<name>$settings</name>
|
8821 |
<default><![CDATA[NULL]]></default>
|
8822 |
<type/>
|
8823 |
</argument>
|
8824 |
</method>
|
8825 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3245" package="Media Library Assistant">
|
8826 |
<name>_save_iptc_exif_custom_settings</name>
|
8827 |
<full_name>_save_iptc_exif_custom_settings</full_name>
|
8828 |
+
<docblock line="3236">
|
8829 |
<description><![CDATA[Save IPTC/EXIF custom field settings to the options table]]></description>
|
8830 |
<long-description><![CDATA[]]></long-description>
|
8831 |
+
<tag line="3236" name="since" description="1.30"/>
|
8832 |
+
<tag line="3236" name="param" description="specific iptc_exif_custom_mapping values" type="array" variable="$new_values">
|
8833 |
<type by_reference="false">array</type>
|
8834 |
</tag>
|
8835 |
+
<tag line="3236" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8836 |
<type by_reference="false">array</type>
|
8837 |
</tag>
|
8838 |
</docblock>
|
8839 |
+
<argument line="3245">
|
8840 |
<name>$new_values</name>
|
8841 |
<default><![CDATA[]]></default>
|
8842 |
<type/>
|
8843 |
</argument>
|
8844 |
</method>
|
8845 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3261" package="Media Library Assistant">
|
8846 |
<name>_save_iptc_exif_settings</name>
|
8847 |
<full_name>_save_iptc_exif_settings</full_name>
|
8848 |
+
<docblock line="3252">
|
8849 |
<description><![CDATA[Save IPTC/EXIF settings to the options table]]></description>
|
8850 |
<long-description><![CDATA[]]></long-description>
|
8851 |
+
<tag line="3252" name="since" description="1.00"/>
|
8852 |
+
<tag line="3252" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8853 |
+
<tag line="3252" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8854 |
<type by_reference="false">array</type>
|
8855 |
</tag>
|
8856 |
</docblock>
|
8857 |
</method>
|
8858 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3299" package="Media Library Assistant">
|
8859 |
<name>_save_general_settings</name>
|
8860 |
<full_name>_save_general_settings</full_name>
|
8861 |
+
<docblock line="3290">
|
8862 |
<description><![CDATA[Save General settings to the options table]]></description>
|
8863 |
<long-description><![CDATA[]]></long-description>
|
8864 |
+
<tag line="3290" name="since" description="0.1"/>
|
8865 |
+
<tag line="3290" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
8866 |
+
<tag line="3290" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8867 |
<type by_reference="false">array</type>
|
8868 |
</tag>
|
8869 |
</docblock>
|
8870 |
</method>
|
8871 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3359" package="Media Library Assistant">
|
8872 |
<name>_reset_general_settings</name>
|
8873 |
<full_name>_reset_general_settings</full_name>
|
8874 |
+
<docblock line="3352">
|
8875 |
<description><![CDATA[Delete saved settings, restoring default values]]></description>
|
8876 |
<long-description><![CDATA[]]></long-description>
|
8877 |
+
<tag line="3352" name="since" description="0.1"/>
|
8878 |
+
<tag line="3352" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8879 |
<type by_reference="false">array</type>
|
8880 |
</tag>
|
8881 |
</docblock>
|
8882 |
</method>
|
8883 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3398" package="Media Library Assistant">
|
8884 |
<name>_compose_import_settings</name>
|
8885 |
<full_name>_compose_import_settings</full_name>
|
8886 |
+
<docblock line="3391">
|
8887 |
<description><![CDATA[Compose HTML markup for the import settings if any settings files exist]]></description>
|
8888 |
<long-description><![CDATA[]]></long-description>
|
8889 |
+
<tag line="3391" name="since" description="1.50"/>
|
8890 |
+
<tag line="3391" name="return" description="HTML markup for the Import All Settings button and dropdown list, if any" type="string">
|
8891 |
<type by_reference="false">string</type>
|
8892 |
</tag>
|
8893 |
</docblock>
|
8894 |
</method>
|
8895 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3453" package="Media Library Assistant">
|
8896 |
<name>_export_settings</name>
|
8897 |
<full_name>_export_settings</full_name>
|
8898 |
+
<docblock line="3444">
|
8899 |
<description><![CDATA[Serialize option settings and write them to a file]]></description>
|
8900 |
<long-description><![CDATA[<p>Options with a default value, i.e., not stored in the database are NOT written to the file.</p>]]></long-description>
|
8901 |
+
<tag line="3444" name="since" description="1.50"/>
|
8902 |
+
<tag line="3444" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8903 |
<type by_reference="false">array</type>
|
8904 |
</tag>
|
8905 |
</docblock>
|
8906 |
</method>
|
8907 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3540" package="Media Library Assistant">
|
8908 |
<name>_import_settings</name>
|
8909 |
<full_name>_import_settings</full_name>
|
8910 |
+
<docblock line="3533">
|
8911 |
<description><![CDATA[Read a serialized file of option settings and write them to the database]]></description>
|
8912 |
<long-description><![CDATA[]]></long-description>
|
8913 |
+
<tag line="3533" name="since" description="1.50"/>
|
8914 |
+
<tag line="3533" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
8915 |
<type by_reference="false">array</type>
|
8916 |
</tag>
|
8917 |
</docblock>
|
8918 |
</method>
|
8919 |
</class>
|
8920 |
</file>
|
8921 |
+
<file path="includes\class-mla-shortcodes.php" hash="499fce3a114dffaa8fb7cc0539b5bebc" package="Media Library Assistant">
|
8922 |
<docblock line="2">
|
8923 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
8924 |
<long-description><![CDATA[]]></long-description>
|
8959 |
</tag>
|
8960 |
</docblock>
|
8961 |
</property>
|
8962 |
+
<property final="false" static="true" visibility="private" line="2322" namespace="global" package="Media Library Assistant">
|
8963 |
<name>$query_parameters</name>
|
8964 |
<default><![CDATA[array()]]></default>
|
8965 |
+
<docblock line="2308">
|
8966 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
8967 |
<long-description><![CDATA[<p>This array defines parameters for the query's where and orderby filters,
|
8968 |
mla_shortcode_query_posts_where_filter and mla_shortcode_query_posts_orderby_filter.
|
8970 |
any further logic required to translate those values is contained in the filter.</p>
|
8971 |
|
8972 |
<p>Array index values are: orderby, post_parent</p>]]></long-description>
|
8973 |
+
<tag line="2308" name="since" description="1.13"/>
|
8974 |
+
<tag line="2308" name="var" description="" type="array">
|
8975 |
<type by_reference="false">array</type>
|
8976 |
</tag>
|
8977 |
</docblock>
|
8978 |
</property>
|
8979 |
+
<property final="false" static="true" visibility="private" line="2432" namespace="global" package="Media Library Assistant">
|
8980 |
<name>$mla_get_shortcode_attachments_parameters</name>
|
8981 |
<default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'tax_operator' => '', 'tax_include_children' => true, 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 's' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
|
8982 |
+
<docblock line="2425">
|
8983 |
<description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
|
8984 |
<long-description><![CDATA[]]></long-description>
|
8985 |
+
<tag line="2425" name="since" description="1.30"/>
|
8986 |
+
<tag line="2425" name="var" description="" type="array">
|
8987 |
<type by_reference="false">array</type>
|
8988 |
</tag>
|
8989 |
</docblock>
|
8990 |
</property>
|
8991 |
+
<property final="false" static="true" visibility="public" line="2505" namespace="global" package="Media Library Assistant">
|
8992 |
<name>$mla_gallery_wp_query_object</name>
|
8993 |
<default><![CDATA[NULL]]></default>
|
8994 |
+
<docblock line="2495">
|
8995 |
<description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
|
8996 |
<long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
|
8997 |
"mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
|
8998 |
+
<tag line="2495" name="since" description="1.51"/>
|
8999 |
+
<tag line="2495" name="var" description="" type="object">
|
9000 |
<type by_reference="false">object</type>
|
9001 |
</tag>
|
9002 |
</docblock>
|
9003 |
</property>
|
9004 |
+
<property final="false" static="true" visibility="private" line="3151" namespace="global" package="Media Library Assistant">
|
9005 |
<name>$mla_get_terms_parameters</name>
|
9006 |
<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>
|
9007 |
+
<docblock line="3144">
|
9008 |
<description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
|
9009 |
<long-description><![CDATA[]]></long-description>
|
9010 |
+
<tag line="3144" name="since" description="1.60"/>
|
9011 |
+
<tag line="3144" name="var" description="" type="array">
|
9012 |
<type by_reference="false">array</type>
|
9013 |
</tag>
|
9014 |
</docblock>
|
9067 |
<type/>
|
9068 |
</argument>
|
9069 |
</method>
|
9070 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1137" package="Media Library Assistant">
|
9071 |
<name>mla_tag_cloud</name>
|
9072 |
<full_name>mla_tag_cloud</full_name>
|
9073 |
+
<docblock line="1125">
|
9074 |
<description><![CDATA[The MLA Tag Cloud support function.]]></description>
|
9075 |
<long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
|
9076 |
options to customize the hyperlink behind each term.</p>]]></long-description>
|
9077 |
+
<tag line="1125" name="since" description="1.60"/>
|
9078 |
+
<tag line="1125" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
|
9079 |
<type by_reference="false">array</type>
|
9080 |
</tag>
|
9081 |
+
<tag line="1125" name="return" description="HTML content to display the tag cloud." type="string">
|
9082 |
<type by_reference="false">string</type>
|
9083 |
</tag>
|
9084 |
</docblock>
|
9085 |
+
<argument line="1137">
|
9086 |
<name>$attr</name>
|
9087 |
<default><![CDATA[]]></default>
|
9088 |
<type/>
|
9089 |
</argument>
|
9090 |
</method>
|
9091 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1896" package="Media Library Assistant">
|
9092 |
<name>mla_tag_cloud_shortcode</name>
|
9093 |
<full_name>mla_tag_cloud_shortcode</full_name>
|
9094 |
+
<docblock line="1885">
|
9095 |
<description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
|
9096 |
<long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
|
9097 |
+
<tag line="1885" name="since" description="1.60"/>
|
9098 |
+
<tag line="1885" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
|
9099 |
<type by_reference="false">array</type>
|
9100 |
</tag>
|
9101 |
+
<tag line="1885" name="return" description="HTML content to display the tag cloud." type="string">
|
9102 |
<type by_reference="false">string</type>
|
9103 |
</tag>
|
9104 |
</docblock>
|
9105 |
+
<argument line="1896">
|
9106 |
<name>$attr</name>
|
9107 |
<default><![CDATA[]]></default>
|
9108 |
<type/>
|
9109 |
</argument>
|
9110 |
</method>
|
9111 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1928" package="Media Library Assistant">
|
9112 |
+
<name>_registered_dimensions</name>
|
9113 |
+
<full_name>_registered_dimensions</full_name>
|
9114 |
+
<docblock line="1921">
|
9115 |
+
<description><![CDATA[Computes image dimensions for scalable graphics, e.g., SVG]]></description>
|
9116 |
+
<long-description><![CDATA[]]></long-description>
|
9117 |
+
<tag line="1921" name="since" description="1.82"/>
|
9118 |
+
<tag line="1921" name="return" description="" type="array">
|
9119 |
+
<type by_reference="false">array</type>
|
9120 |
+
</tag>
|
9121 |
+
</docblock>
|
9122 |
+
</method>
|
9123 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1963" package="Media Library Assistant">
|
9124 |
<name>_process_shortcode_parameter</name>
|
9125 |
<full_name>_process_shortcode_parameter</full_name>
|
9126 |
+
<docblock line="1953">
|
9127 |
<description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
|
9128 |
<long-description><![CDATA[]]></long-description>
|
9129 |
+
<tag line="1953" name="since" description="1.14"/>
|
9130 |
+
<tag line="1953" name="param" description="raw shortcode parameter, e.g., "text {+field+} {brackets} \\{braces\\}"" type="string" variable="$text">
|
9131 |
<type by_reference="false">string</type>
|
9132 |
</tag>
|
9133 |
+
<tag line="1953" name="param" description="template substitution values, e.g., ('instance' => '1', ... )" type="string" variable="$markup_values">
|
9134 |
<type by_reference="false">string</type>
|
9135 |
</tag>
|
9136 |
+
<tag line="1953" name="return" description="parameter with brackets, braces, substitution parameters and templates processed" type="string">
|
9137 |
<type by_reference="false">string</type>
|
9138 |
</tag>
|
9139 |
</docblock>
|
9140 |
+
<argument line="1963">
|
9141 |
<name>$text</name>
|
9142 |
<default><![CDATA[]]></default>
|
9143 |
<type/>
|
9144 |
</argument>
|
9145 |
+
<argument line="1963">
|
9146 |
<name>$markup_values</name>
|
9147 |
<default><![CDATA[]]></default>
|
9148 |
<type/>
|
9149 |
</argument>
|
9150 |
</method>
|
9151 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1982" package="Media Library Assistant">
|
9152 |
<name>_paginate_links</name>
|
9153 |
<full_name>_paginate_links</full_name>
|
9154 |
+
<docblock line="1969">
|
9155 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9156 |
<long-description><![CDATA[]]></long-description>
|
9157 |
+
<tag line="1969" name="since" description="1.42"/>
|
9158 |
+
<tag line="1969" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
|
9159 |
<type by_reference="false">array</type>
|
9160 |
</tag>
|
9161 |
+
<tag line="1969" name="param" description="template substitution values, e.g., ('instance' => '1', ... )" type="string" variable="$markup_values">
|
9162 |
<type by_reference="false">string</type>
|
9163 |
</tag>
|
9164 |
+
<tag line="1969" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
|
9165 |
<type by_reference="false">string</type>
|
9166 |
</tag>
|
9167 |
+
<tag line="1969" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
|
9168 |
<type by_reference="false">integer</type>
|
9169 |
</tag>
|
9170 |
+
<tag line="1969" name="param" description="output text so far, may include debug values" type="string" variable="$output">
|
9171 |
<type by_reference="false">string</type>
|
9172 |
</tag>
|
9173 |
+
<tag line="1969" name="return" description="false or string with HTML for pagination output types" type="mixed">
|
9174 |
<type by_reference="false">mixed</type>
|
9175 |
</tag>
|
9176 |
</docblock>
|
9177 |
+
<argument line="1982">
|
9178 |
<name>$output_parameters</name>
|
9179 |
<default><![CDATA[]]></default>
|
9180 |
<type/>
|
9181 |
</argument>
|
9182 |
+
<argument line="1982">
|
9183 |
<name>$markup_values</name>
|
9184 |
<default><![CDATA[]]></default>
|
9185 |
<type/>
|
9186 |
</argument>
|
9187 |
+
<argument line="1982">
|
9188 |
<name>$arguments</name>
|
9189 |
<default><![CDATA[]]></default>
|
9190 |
<type/>
|
9191 |
</argument>
|
9192 |
+
<argument line="1982">
|
9193 |
<name>$found_rows</name>
|
9194 |
<default><![CDATA[]]></default>
|
9195 |
<type/>
|
9196 |
</argument>
|
9197 |
+
<argument line="1982">
|
9198 |
<name>$output</name>
|
9199 |
<default><![CDATA['']]></default>
|
9200 |
<type/>
|
9201 |
</argument>
|
9202 |
</method>
|
9203 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2112" package="Media Library Assistant">
|
9204 |
<name>_process_pagination_output_types</name>
|
9205 |
<full_name>_process_pagination_output_types</full_name>
|
9206 |
+
<docblock line="2098">
|
9207 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9208 |
<long-description><![CDATA[]]></long-description>
|
9209 |
+
<tag line="2098" name="since" description="1.42"/>
|
9210 |
+
<tag line="2098" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
|
9211 |
<type by_reference="false">array</type>
|
9212 |
</tag>
|
9213 |
+
<tag line="2098" name="param" description="template substitution values, e.g., ('instance' => '1', ... )" type="string" variable="$markup_values">
|
9214 |
<type by_reference="false">string</type>
|
9215 |
</tag>
|
9216 |
+
<tag line="2098" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
|
9217 |
<type by_reference="false">string</type>
|
9218 |
</tag>
|
9219 |
+
<tag line="2098" name="param" description="raw passed shortcode parameter values" type="string" variable="$attr">
|
9220 |
<type by_reference="false">string</type>
|
9221 |
</tag>
|
9222 |
+
<tag line="2098" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
|
9223 |
<type by_reference="false">integer</type>
|
9224 |
</tag>
|
9225 |
+
<tag line="2098" name="param" description="output text so far, may include debug values" type="string" variable="$output">
|
9226 |
<type by_reference="false">string</type>
|
9227 |
</tag>
|
9228 |
+
<tag line="2098" name="return" description="false or string with HTML for pagination output types" type="mixed">
|
9229 |
<type by_reference="false">mixed</type>
|
9230 |
</tag>
|
9231 |
</docblock>
|
9232 |
+
<argument line="2112">
|
9233 |
<name>$output_parameters</name>
|
9234 |
<default><![CDATA[]]></default>
|
9235 |
<type/>
|
9236 |
</argument>
|
9237 |
+
<argument line="2112">
|
9238 |
<name>$markup_values</name>
|
9239 |
<default><![CDATA[]]></default>
|
9240 |
<type/>
|
9241 |
</argument>
|
9242 |
+
<argument line="2112">
|
9243 |
<name>$arguments</name>
|
9244 |
<default><![CDATA[]]></default>
|
9245 |
<type/>
|
9246 |
</argument>
|
9247 |
+
<argument line="2112">
|
9248 |
<name>$attr</name>
|
9249 |
<default><![CDATA[]]></default>
|
9250 |
<type/>
|
9251 |
</argument>
|
9252 |
+
<argument line="2112">
|
9253 |
<name>$found_rows</name>
|
9254 |
<default><![CDATA[]]></default>
|
9255 |
<type/>
|
9256 |
</argument>
|
9257 |
+
<argument line="2112">
|
9258 |
<name>$output</name>
|
9259 |
<default><![CDATA['']]></default>
|
9260 |
<type/>
|
9261 |
</argument>
|
9262 |
</method>
|
9263 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2333" package="Media Library Assistant">
|
9264 |
<name>_sanitize_query_specification</name>
|
9265 |
<full_name>_sanitize_query_specification</full_name>
|
9266 |
+
<docblock line="2324">
|
9267 |
<description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
|
9268 |
<long-description><![CDATA[]]></long-description>
|
9269 |
+
<tag line="2324" name="since" description="1.14"/>
|
9270 |
+
<tag line="2324" name="param" description="query specification; PHP nested arrays" type="string" variable="$specification">
|
9271 |
<type by_reference="false">string</type>
|
9272 |
</tag>
|
9273 |
+
<tag line="2324" name="return" description="query specification with HTML escape sequences and line breaks removed" type="string">
|
9274 |
<type by_reference="false">string</type>
|
9275 |
</tag>
|
9276 |
</docblock>
|
9277 |
+
<argument line="2333">
|
9278 |
<name>$specification</name>
|
9279 |
<default><![CDATA[]]></default>
|
9280 |
<type/>
|
9281 |
</argument>
|
9282 |
</method>
|
9283 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2350" package="Media Library Assistant">
|
9284 |
<name>_validate_sql_orderby</name>
|
9285 |
<full_name>_validate_sql_orderby</full_name>
|
9286 |
+
<docblock line="2339">
|
9287 |
<description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
|
9288 |
<long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
|
9289 |
Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
|
9290 |
+
<tag line="2339" name="since" description="1.20"/>
|
9291 |
+
<tag line="2339" name="param" description="Validated query parameters" type="array" variable="$query_parameters">
|
9292 |
<type by_reference="false">array</type>
|
9293 |
</tag>
|
9294 |
+
<tag line="2339" name="return" description="Returns the orderby clause if present, false otherwise." type="string|bool">
|
9295 |
<type by_reference="false">string</type>
|
9296 |
<type by_reference="false">bool</type>
|
9297 |
</tag>
|
9298 |
</docblock>
|
9299 |
+
<argument line="2350">
|
9300 |
<name>$query_parameters</name>
|
9301 |
<default><![CDATA[]]></default>
|
9302 |
<type/>
|
9303 |
</argument>
|
9304 |
</method>
|
9305 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2518" package="Media Library Assistant">
|
9306 |
<name>mla_get_shortcode_attachments</name>
|
9307 |
<full_name>mla_get_shortcode_attachments</full_name>
|
9308 |
+
<docblock line="2507">
|
9309 |
<description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
|
9310 |
<long-description><![CDATA[]]></long-description>
|
9311 |
+
<tag line="2507" name="since" description=".50"/>
|
9312 |
+
<tag line="2507" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
|
9313 |
<type by_reference="false">int</type>
|
9314 |
</tag>
|
9315 |
+
<tag line="2507" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
|
9316 |
<type by_reference="false">array</type>
|
9317 |
</tag>
|
9318 |
+
<tag line="2507" name="param" description="true to calculate and return ['found_posts'] as an array element" type="boolean" variable="$return_found_rows">
|
9319 |
<type by_reference="false">boolean</type>
|
9320 |
</tag>
|
9321 |
+
<tag line="2507" name="return" description="List of attachments returned from WP_Query" type="array">
|
9322 |
<type by_reference="false">array</type>
|
9323 |
</tag>
|
9324 |
</docblock>
|
9325 |
+
<argument line="2518">
|
9326 |
<name>$post_parent</name>
|
9327 |
<default><![CDATA[]]></default>
|
9328 |
<type/>
|
9329 |
</argument>
|
9330 |
+
<argument line="2518">
|
9331 |
<name>$attr</name>
|
9332 |
<default><![CDATA[]]></default>
|
9333 |
<type/>
|
9334 |
</argument>
|
9335 |
+
<argument line="2518">
|
9336 |
<name>$return_found_rows</name>
|
9337 |
<default><![CDATA[NULL]]></default>
|
9338 |
<type/>
|
9339 |
</argument>
|
9340 |
</method>
|
9341 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3051" package="Media Library Assistant">
|
9342 |
<name>mla_shortcode_query_posts_where_filter</name>
|
9343 |
<full_name>mla_shortcode_query_posts_where_filter</full_name>
|
9344 |
+
<docblock line="3037">
|
9345 |
<description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
|
9346 |
<long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
|
9347 |
phrase to circumvent subsequent Role Scoper modification of the clause.
|
9348 |
Handles post_parent "any" and "none" cases.
|
9349 |
Defined as public because it's a filter.</p>]]></long-description>
|
9350 |
+
<tag line="3037" name="since" description="0.70"/>
|
9351 |
+
<tag line="3037" name="param" description="query clause before modification" type="string" variable="$where_clause">
|
9352 |
<type by_reference="false">string</type>
|
9353 |
</tag>
|
9354 |
+
<tag line="3037" name="return" description="query clause after modification" type="string">
|
9355 |
<type by_reference="false">string</type>
|
9356 |
</tag>
|
9357 |
</docblock>
|
9358 |
+
<argument line="3051">
|
9359 |
<name>$where_clause</name>
|
9360 |
<default><![CDATA[]]></default>
|
9361 |
<type/>
|
9362 |
</argument>
|
9363 |
</method>
|
9364 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3093" package="Media Library Assistant">
|
9365 |
<name>mla_shortcode_query_posts_orderby_filter</name>
|
9366 |
<full_name>mla_shortcode_query_posts_orderby_filter</full_name>
|
9367 |
+
<docblock line="3081">
|
9368 |
<description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
|
9369 |
<long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
|
9370 |
Defined as public because it's a filter.</p>]]></long-description>
|
9371 |
+
<tag line="3081" name="since" description="1.20"/>
|
9372 |
+
<tag line="3081" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
|
9373 |
<type by_reference="false">string</type>
|
9374 |
</tag>
|
9375 |
+
<tag line="3081" name="return" description="query clause after modification" type="string">
|
9376 |
<type by_reference="false">string</type>
|
9377 |
</tag>
|
9378 |
</docblock>
|
9379 |
+
<argument line="3093">
|
9380 |
<name>$orderby_clause</name>
|
9381 |
<default><![CDATA[]]></default>
|
9382 |
<type/>
|
9383 |
</argument>
|
9384 |
</method>
|
9385 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3120" package="Media Library Assistant">
|
9386 |
<name>mla_shortcode_query_posts_clauses_filter</name>
|
9387 |
<full_name>mla_shortcode_query_posts_clauses_filter</full_name>
|
9388 |
+
<docblock line="3108">
|
9389 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
9390 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
9391 |
Defined as public because it's a filter.</p>]]></long-description>
|
9392 |
+
<tag line="3108" name="since" description="1.30"/>
|
9393 |
+
<tag line="3108" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
9394 |
<type by_reference="false">array</type>
|
9395 |
</tag>
|
9396 |
+
<tag line="3108" name="return" description="query clauses after modification (none)" type="array">
|
9397 |
<type by_reference="false">array</type>
|
9398 |
</tag>
|
9399 |
</docblock>
|
9400 |
+
<argument line="3120">
|
9401 |
<name>$pieces</name>
|
9402 |
<default><![CDATA[]]></default>
|
9403 |
<type/>
|
9404 |
</argument>
|
9405 |
</method>
|
9406 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3138" package="Media Library Assistant">
|
9407 |
<name>mla_shortcode_query_posts_clauses_request_filter</name>
|
9408 |
<full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
|
9409 |
+
<docblock line="3126">
|
9410 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
9411 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
9412 |
Defined as public because it's a filter.</p>]]></long-description>
|
9413 |
+
<tag line="3126" name="since" description="1.30"/>
|
9414 |
+
<tag line="3126" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
9415 |
<type by_reference="false">array</type>
|
9416 |
</tag>
|
9417 |
+
<tag line="3126" name="return" description="query clauses after modification (none)" type="array">
|
9418 |
<type by_reference="false">array</type>
|
9419 |
</tag>
|
9420 |
</docblock>
|
9421 |
+
<argument line="3138">
|
9422 |
<name>$pieces</name>
|
9423 |
<default><![CDATA[]]></default>
|
9424 |
<type/>
|
9425 |
</argument>
|
9426 |
</method>
|
9427 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3213" package="Media Library Assistant">
|
9428 |
<name>mla_get_terms</name>
|
9429 |
<full_name>mla_get_terms</full_name>
|
9430 |
+
<docblock line="3171">
|
9431 |
<description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
|
9432 |
<long-description><![CDATA[<p>Alternative to WordPress get_terms() function that provides
|
9433 |
an accurate count of attachments associated with each term.</p>
|
9461 |
<p>limit - final number of term objects to return, for pagination.</p>
|
9462 |
|
9463 |
<p>offset - number of term objects to skip, for pagination.</p>]]></long-description>
|
9464 |
+
<tag line="3171" name="since" description="1.60"/>
|
9465 |
+
<tag line="3171" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
|
9466 |
<type by_reference="false">array</type>
|
9467 |
</tag>
|
9468 |
+
<tag line="3171" name="return" description="array of term objects, empty if none found" type="array">
|
9469 |
<type by_reference="false">array</type>
|
9470 |
</tag>
|
9471 |
</docblock>
|
9472 |
+
<argument line="3213">
|
9473 |
<name>$attr</name>
|
9474 |
<default><![CDATA[]]></default>
|
9475 |
<type/>
|
11179 |
</docblock>
|
11180 |
</function>
|
11181 |
</file>
|
11182 |
+
<file path="index.php" hash="92ad771da48cd16406913fc04536c923" package="Media Library Assistant">
|
11183 |
<docblock line="2">
|
11184 |
<description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
|
11185 |
<long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
|
11186 |
will the rest of the plugin be loaded and run.</p>]]></long-description>
|
11187 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
11188 |
+
<tag line="2" name="version" description="1.82"/>
|
11189 |
</docblock>
|
11190 |
<include line="148" type="Require Once" package="Media Library Assistant">
|
11191 |
<name>includes/mla-plugin-loader.php</name>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dglingren
|
|
3 |
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -60,19 +60,31 @@ This plugin was inspired by my work on the WordPress web site for our nonprofit,
|
|
60 |
|
61 |
= How can I sort the Media/Assistant submenu table on values such as File Size? =
|
62 |
|
63 |
-
You can add support for many attachment metadata values such as file size by visiting the Custom Fields tab on the Settings page. There you can define a rule that maps the data to a WordPress custom field and check the "MLA Column" box to make that field a sortable column in the Media/Assistant submenu table. You can also use the field in your `[mla_gallery]` shortcodes.
|
|
|
|
|
|
|
|
|
64 |
|
65 |
= How can I use Categories, Tags and custom taxonomies to select images for display in my posts and pages? =
|
66 |
|
67 |
-
The powerful `[mla_gallery]` shortcode supports almost all of the query flexibility provided by the WP_Query class. You can find complete documentation in the Settings/Media Library Assistant Documentation tab.
|
|
|
|
|
|
|
|
|
68 |
|
69 |
= Can I use `[mla_gallery]` for attachments other than images? =
|
70 |
|
71 |
-
Yes! The `[mla_gallery]` shortcode supports all MIME types when you add the post_mime_type parameter to your query. You can build a gallery of your PDF documents, plain text files and other attachments. You can mix images and other MIME types in the same gallery, too.
|
|
|
|
|
|
|
|
|
72 |
|
73 |
= Can I attach an image to more than one post or page? =
|
74 |
|
75 |
-
No; that's a structural limitation of the WordPress database. However, you can use Categories, Tags and custom taxonomies to organize your images and associate them with posts and pages in any way you like. The `[mla_gallery]` shortcode makes it easy.
|
76 |
|
77 |
= Can the Assistant use the standard WordPress post Categories and Tags? =
|
78 |
|
@@ -86,6 +98,21 @@ No! The Assistant supplies pre-defined Att. Categories and Att. Tags; these are
|
|
86 |
|
87 |
Yes. Any custom taxonomy you register with the Attachment post type will appear in the Assistant UI. Use the Media Library Assistant Settings page to add support for your taxonomies to the Assistant UI.
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
= Why don't the "Posts" counts in the taxonomy edit screens match the search results when you click on them? =
|
90 |
|
91 |
This is a known WordPress problem with multiple support tickets already in Trac, e.g.,
|
@@ -97,7 +124,7 @@ For example, if you add Tags support to the Assistant and then assign tag values
|
|
97 |
|
98 |
= How do I "unattach" an item? =
|
99 |
|
100 |
-
Hover over the item you want to modify and click the "Edit"
|
101 |
|
102 |
= The Media/Assistant submenu seems sluggish; is there anything I can do to make it faster? =
|
103 |
|
@@ -125,6 +152,19 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
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.
|
@@ -226,8 +266,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
226 |
|
227 |
== Upgrade Notice ==
|
228 |
|
229 |
-
= 1.
|
230 |
-
|
231 |
|
232 |
== Other Notes ==
|
233 |
|
3 |
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.1
|
7 |
+
Stable tag: 1.82
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
60 |
|
61 |
= How can I sort the Media/Assistant submenu table on values such as File Size? =
|
62 |
|
63 |
+
You can add support for many attachment metadata values such as file size by visiting the Custom Fields tab on the Settings page. There you can define a rule that maps the data to a WordPress custom field and check the "MLA Column" box to make that field a sortable column in the Media/Assistant submenu table. You can also use the field in your `[mla_gallery]` shortcodes. For example, this shortcode displays a gallery of the ten largest images in the "general" category, with a custom caption:
|
64 |
+
|
65 |
+
`
|
66 |
+
[mla_gallery category="general" mla_caption="{+caption+}<br>{+custom:File Size+}" meta_key="File Size" orderby="meta_value" order="DESC" numberposts=10]
|
67 |
+
`
|
68 |
|
69 |
= How can I use Categories, Tags and custom taxonomies to select images for display in my posts and pages? =
|
70 |
|
71 |
+
The powerful `[mla_gallery]` shortcode supports almost all of the query flexibility provided by the WP_Query class. You can find complete documentation in the Settings/Media Library Assistant Documentation tab. A simple example is in the preceding question. Here's an example that displays PDF documents with Att. Category "fauna" or Att. Tag "animal":
|
72 |
+
|
73 |
+
`
|
74 |
+
[mla_gallery post_mime_type="application/pdf" size=icon mla_caption="{+title+}" tax_query="array(array('taxonomy'=>'attachment_category','field'=>'slug','terms'=>'fauna'),array('taxonomy'=>'attachment_tag','field'=>'slug','terms'=>'animal'),'relation'=>'OR')"]
|
75 |
+
`
|
76 |
|
77 |
= Can I use `[mla_gallery]` for attachments other than images? =
|
78 |
|
79 |
+
Yes! The `[mla_gallery]` shortcode supports all MIME types when you add the post_mime_type parameter to your query. You can build a gallery of your PDF documents, plain text files and other attachments. You can mix images and other MIME types in the same gallery, too. Here's an example that displays a gallery of PDF documents, using the Google File Viewer to show the first page of each document as a thumbnail:
|
80 |
+
|
81 |
+
`
|
82 |
+
[mla_gallery post_mime_type=application/pdf post_parent=all link=file mla_viewer=true columns=1 orderby=date order=desc]
|
83 |
+
`
|
84 |
|
85 |
= Can I attach an image to more than one post or page? =
|
86 |
|
87 |
+
No; that's a structural limitation of the WordPress database. However, you can use Categories, Tags and custom taxonomies to organize your images and associate them with posts and pages in any way you like. The `[mla_gallery]` shortcode makes it easy. You can also use the `ids=` parameter to compose a gallery from a list of specific images.
|
88 |
|
89 |
= Can the Assistant use the standard WordPress post Categories and Tags? =
|
90 |
|
98 |
|
99 |
Yes. Any custom taxonomy you register with the Attachment post type will appear in the Assistant UI. Use the Media Library Assistant Settings page to add support for your taxonomies to the Assistant UI.
|
100 |
|
101 |
+
= Can I use Jetpack Tiled Gallery or a lightbox plugin to display my gallery? =
|
102 |
+
You can use other gallery-generating shortcodes to give you the data selection power of [mla_gallery] and the formatting/display power of popular alternatives such as the WordPress.com Jetpack Carousel and Tiled Galleries modules. Any shortcode that accepts "ids=" or a similar parameter listing the attachment ID values for the gallery can be used. Here's an example of a Jetpack Tiled gallery for everything except vegetables:
|
103 |
+
|
104 |
+
`
|
105 |
+
[mla_gallery attachment_category=vegetable tax_operator="NOT IN" mla_alt_shortcode=gallery type="rectangular"]
|
106 |
+
`
|
107 |
+
|
108 |
+
Most lightbox plugins use HTML `class=` and/or `rel=` tags to activate their features. `[mla_gallery]` lets you add this tag information to your gallery output. Here's an example that opens PDF documents in a shadowbox using Easy Fancybox:
|
109 |
+
|
110 |
+
`
|
111 |
+
[mla_gallery post_mime_type=application/pdf post_parent=all link=file size=icon mla_caption='<a class="fancybox-iframe fancybox-pdf" href={+filelink_url+} target=_blank>{+title+}</a>' mla_link_attributes='class="fancybox-pdf fancybox-iframe"']
|
112 |
+
`
|
113 |
+
|
114 |
+
In the example, the `mla_caption=` parameter turns the document title into a link to the shadowbox display so you can click on the thumbnail image or the caption to activate the display.
|
115 |
+
|
116 |
= Why don't the "Posts" counts in the taxonomy edit screens match the search results when you click on them? =
|
117 |
|
118 |
This is a known WordPress problem with multiple support tickets already in Trac, e.g.,
|
124 |
|
125 |
= How do I "unattach" an item? =
|
126 |
|
127 |
+
Hover over the item you want to modify and click the "Edit" or "Quick Edit" action. Set the ID portion of the Parent Info field to zero (0), then click "Update" to record your changes. If you change your mind, click "Cancel" to return to the main page without recording any changes. You can also click the "Select" button to bring up a list of posts//pages and select one to be the new parent for the item. The "Set Parent" link in the Media/Assistant submenu table also supports changing the parent and unattaching an item.
|
128 |
|
129 |
= The Media/Assistant submenu seems sluggish; is there anything I can do to make it faster? =
|
130 |
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 1.82 =
|
156 |
+
* New: A **"Select Parent" popup window** has been added to the Media/Assistant submenu table "Attached To" column, the Quick Edit area and the Media/Edit Media "Parent Information" meta box. You can select a parent from a list of posts/pages, search for parent candidates by keyword(s), and select "(Unattached)" to set the post_parent ID to zero.
|
157 |
+
* New: For `[mla_gallery]`, **SVG image files** are rendered appropriately for all registered image sizes. Note that browser support for SVG images is also required.
|
158 |
+
* New: Thumbnail support for **SVG image files** in the Media/Assistant submenu table.
|
159 |
+
* New: A new **mla_get_options_tablist filter** allows you to filter the tabs in the Settings/Media Linrary Assistant submenu. An example added to the added to the MLA Mapping Hooks Example plugin (in the /examples directory) shows how to use the filter to remove a tab from the submenu.
|
160 |
+
* New: **Clickable term lists example** added to the MLA Gallery Hooks Example plugin in the /examples directory.
|
161 |
+
* New: **Formatted file size example** added to the MLA Gallery Hooks Example plugin in the /examples directory.
|
162 |
+
* New: A **"latest images"** page template has been added to the **Mla Child Theme** in the /examples directory.
|
163 |
+
* New: For custom fields ( "custom:" prefix) in `[mla_gallery]` and `[mla_tag_cloud]`, the new ",raw" option lets you return HTML tags for display in the gallery/cloud results.
|
164 |
+
* Fix: IPTC/EXIF mapping rules for taxonomies that no longer exist are now removed when you click "Save Changes" on the Settings/Media Library Assistant IPTC/EXIF tab. This resolves a PHP Fatal Error when the mapping rules are applied.
|
165 |
+
* Fix: The default Media link when Media/Assistant is the default Media submenu has been changed from "admin.php" to "upload.php". This resolves a problem with the WP Document Revisions plugin and its filtering of Document post type attachments.
|
166 |
+
* Fix: For `[mla_gallery]`, the `mla_style=theme` setting will default to "false" for themes that support HTML5.
|
167 |
+
|
168 |
= 1.81 =
|
169 |
* 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.
|
170 |
* 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.
|
266 |
|
267 |
== Upgrade Notice ==
|
268 |
|
269 |
+
= 1.82 =
|
270 |
+
"Select Parent" popup window (Media/Edit Media, Attached to column, Quick Edit area), SVG support and several new filter examples. Five other enhancements, three other fixes.
|
271 |
|
272 |
== Other Notes ==
|
273 |
|
tpls/admin-inline-edit-form.tpl
CHANGED
@@ -54,18 +54,30 @@
|
|
54 |
<label class="inline-edit-image-alt"> <span class="title">[+ALT Text+]</span> <span class="input-text-wrap">
|
55 |
<input type="text" name="image_alt" value="" />
|
56 |
</span> </label>
|
57 |
-
<
|
58 |
-
<
|
59 |
-
|
60 |
-
|
61 |
-
<
|
62 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
[+authors+]
|
64 |
-
|
65 |
</div>
|
66 |
</fieldset>
|
67 |
[+quick_middle_column+]
|
68 |
[+quick_right_column+]
|
|
|
|
|
|
|
|
|
|
|
69 |
<p class="submit inline-edit-save">
|
70 |
<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a>
|
71 |
<a accesskey="s" href="#inline-edit" title="[+Update+]" class="button-primary save alignright">[+Update+]</a>
|
@@ -141,3 +153,4 @@
|
|
141 |
</tbody>
|
142 |
</table>
|
143 |
</form>
|
|
54 |
<label class="inline-edit-image-alt"> <span class="title">[+ALT Text+]</span> <span class="input-text-wrap">
|
55 |
<input type="text" name="image_alt" value="" />
|
56 |
</span> </label>
|
57 |
+
<div class="inline-edit-group">
|
58 |
+
<label class="inline-edit-post-parent alignleft"> <span class="title">[+Parent ID+]</span> <span class="input-text-wrap">
|
59 |
+
<input type="text" name="post_parent" value="" />
|
60 |
+
</span> </label>
|
61 |
+
<label class="inline-edit-post-parent-title"> <span class="">
|
62 |
+
<input type="text" readonly="readonly" disabled="disabled" name="post_parent_title" value="" />
|
63 |
+
</span> </label>
|
64 |
+
<input id="inline-edit-post-set-parent" title="[+Select+]" class="button-primary parent" type="button" name="post_parent_set" value="[+Select+]" />
|
65 |
+
</div>
|
66 |
+
<div class="inline-edit-group">
|
67 |
+
<label class="inline-edit-menu-order alignleft"> <span class="title">[+Menu Order+]</span> <span class="input-text-wrap">
|
68 |
+
<input type="text" name="menu_order" value="" />
|
69 |
+
</span> </label>
|
70 |
[+authors+]
|
71 |
+
</div>
|
72 |
</div>
|
73 |
</fieldset>
|
74 |
[+quick_middle_column+]
|
75 |
[+quick_right_column+]
|
76 |
+
<fieldset class="inline-edit-col-right">
|
77 |
+
<div class="inline-edit-col">
|
78 |
+
[+custom_fields+]
|
79 |
+
</div>
|
80 |
+
</fieldset>
|
81 |
<p class="submit inline-edit-save">
|
82 |
<a accesskey="c" href="#inline-edit" title="[+Cancel+]" class="button-secondary cancel alignleft">[+Cancel+]</a>
|
83 |
<a accesskey="s" href="#inline-edit" title="[+Update+]" class="button-primary save alignright">[+Update+]</a>
|
153 |
</tbody>
|
154 |
</table>
|
155 |
</form>
|
156 |
+
[+set_parent_form+]
|
tpls/admin-set-parent-form.tpl
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- template="mla-set-parent-div" -->
|
2 |
+
<div id="mla-set-parent-div" style="display: none;">
|
3 |
+
<input name="parent" id="mla-set-parent-parent" type="hidden" value="">
|
4 |
+
<input name="children[]" id="mla-set-parent-children" type="hidden" value="">
|
5 |
+
[+mla_find_posts_nonce+]
|
6 |
+
<div id="mla-set-parent-head-div"> [+Select Parent+]
|
7 |
+
<div id="mla-set-parent-close-div"></div>
|
8 |
+
</div>
|
9 |
+
<div id="mla-set-parent-inside-div">
|
10 |
+
<div id="mla-set-parent-search-div">
|
11 |
+
<label class="screen-reader-text" for="mla-set-parent-input">[+Search+]</label>
|
12 |
+
<input name="ps" id="mla-set-parent-input" type="text" value="">
|
13 |
+
<span class="spinner"></span>
|
14 |
+
<input class="button" id="mla-set-parent-search" type="button" value="[+Search+]">
|
15 |
+
<div class="clear"></div>
|
16 |
+
</div>
|
17 |
+
<div id="mla-set-parent-titles-div"> [+For+]: <span id="mla-set-parent-titles"></span> </div>
|
18 |
+
<div class="clear"></div>
|
19 |
+
<div id="mla-set-parent-response-div"></div>
|
20 |
+
</div>
|
21 |
+
<div id="mla-set-parent-buttons-div">
|
22 |
+
[+mla_set_parent_cancel+]
|
23 |
+
[+mla_set_parent_update+]
|
24 |
+
<div class="clear"></div>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
<!-- mla-set-parent-div -->
|
28 |
+
<table id="found-0-table" style="display: none">
|
29 |
+
<tbody>
|
30 |
+
<tr id="found-0-row" class="found-posts">
|
31 |
+
<td class="found-radio">
|
32 |
+
<input name="found_post_id" id="found-0" type="radio" value="0">
|
33 |
+
</td>
|
34 |
+
<td>
|
35 |
+
<label for="found-0">([+Unattached+])</label>
|
36 |
+
</td>
|
37 |
+
<td class="no-break">—</td>
|
38 |
+
<td class="no-break">—</td>
|
39 |
+
<td class="no-break">—</td>
|
40 |
+
</tr>
|
41 |
+
</tbody>
|
42 |
+
</table>
|
43 |
+
<!-- template="mla-set-parent-form" -->
|
44 |
+
<form id="mla-set-parent-form" action="[+mla_set_parent_url+]" method="post">
|
45 |
+
<input name="mla_admin_action" id="mla-set-parent-action" type="hidden" value="[+mla_set_parent_action+]">
|
46 |
+
[+wpnonce+]
|
47 |
+
[+mla_set_parent_div+]
|
48 |
+
</form>
|
tpls/documentation-settings-tab.tpl
CHANGED
@@ -2083,7 +2083,10 @@ There are nine prefix values for field-level data. Prefix values must be coded a
|
|
2083 |
</tr>
|
2084 |
<tr>
|
2085 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">custom</td>
|
2086 |
-
<td>WordPress Custom Fields, which you can define and populate on the Edit Media screen or map from various sources on the Settings/Media Library Assistant Custom and IPTC/EXIF tabs. The field name, or key, can contain spaces and some punctuation characters. You <strong><em>cannot use the plus sign ('+')</em></strong> in a field name you want to use with <code>[mla_gallery]</code>. Custom field names are case-sensitive; "client" and "Client" are not the same.
|
|
|
|
|
|
|
2087 |
One special custom "pseudo-value" is available; <strong>ALL_CUSTOM</strong> (<code>[+custom:ALL_CUSTOM+]</code>). This returns a string representation of all custom field values. You can use this pseudo-values to quickly examine which fields are populated for a given Media Library item and what its values are.
|
2088 |
<br /> <br />
|
2089 |
The ALL_CUSTOM value is altered in two ways. First, values of more than 256 characters are truncated to 256 characters. This prevents large fields from dominating the display. Second, array values are shown '(ARRAY)'.</td>
|
2083 |
</tr>
|
2084 |
<tr>
|
2085 |
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">custom</td>
|
2086 |
+
<td>WordPress Custom Fields, which you can define and populate on the Edit Media screen or map from various sources on the Settings/Media Library Assistant Custom and IPTC/EXIF tabs. The field name, or key, can contain spaces and some punctuation characters. You <strong><em>cannot use the plus sign ('+')</em></strong> in a field name you want to use with <code>[mla_gallery]</code>. Custom field names are case-sensitive; "client" and "Client" are not the same.
|
2087 |
+
<br /> <br />
|
2088 |
+
For custom fields only, the <strong>",raw" option</strong> bypasses the code to sanitize the returned value. Use this option to allow HTML tags to be returned from a custom field.
|
2089 |
+
<br /> <br />
|
2090 |
One special custom "pseudo-value" is available; <strong>ALL_CUSTOM</strong> (<code>[+custom:ALL_CUSTOM+]</code>). This returns a string representation of all custom field values. You can use this pseudo-values to quickly examine which fields are populated for a given Media Library item and what its values are.
|
2091 |
<br /> <br />
|
2092 |
The ALL_CUSTOM value is altered in two ways. First, values of more than 256 characters are truncated to 256 characters. This prevents large fields from dominating the display. Second, array values are shown '(ARRAY)'.</td>
|
wpml-config.xml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<wpml-config>
|
2 |
+
<taxonomies>
|
3 |
+
<taxonomy translate="1">attachment_category</taxonomy>
|
4 |
+
<taxonomy translate="1">attachment_tag</taxonomy>
|
5 |
+
</taxonomies>
|
6 |
+
<custom-fields>
|
7 |
+
<custom-field action="translate">title</custom-field>
|
8 |
+
<custom-field action="translate">description</custom-field>
|
9 |
+
<custom-field action="translate">keywords</custom-field>
|
10 |
+
</custom-fields>
|
11 |
+
<language-switcher-settings>
|
12 |
+
<key name="icl_lang_sel_config">
|
13 |
+
<key name="font-current-normal">#444444</key>
|
14 |
+
<key name="font-current-hover">#000000</key>
|
15 |
+
<key name="background-current-normal">#ffffff</key>
|
16 |
+
<key name="background-current-hover">#eeeeee</key>
|
17 |
+
<key name="font-other-normal">#444444</key>
|
18 |
+
<key name="font-other-hover">#000000</key>
|
19 |
+
<key name="background-other-normal">#ffffff</key>
|
20 |
+
<key name="background-other-hover">#eeeeee</key>
|
21 |
+
<key name="border">#cdcdcd</key>
|
22 |
+
</key>
|
23 |
+
<key name="icl_lang_sel_footer_config">
|
24 |
+
<key name="font-current-normal">#444444</key>
|
25 |
+
<key name="font-current-hover">#000000</key>
|
26 |
+
<key name="background-current-normal">#ffffff</key>
|
27 |
+
<key name="background-current-hover">#eeeeee</key>
|
28 |
+
<key name="font-other-normal">#444444</key>
|
29 |
+
<key name="font-other-hover">#000000</key>
|
30 |
+
<key name="background-other-normal">#ffffff</key>
|
31 |
+
<key name="background-other-hover">#eeeeee</key>
|
32 |
+
<key name="border">#cdcdcd</key>
|
33 |
+
</key>
|
34 |
+
<key name="icl_language_switcher_sidebar">0</key>
|
35 |
+
<key name="icl_widget_title_show">0</key>
|
36 |
+
<key name="icl_lang_sel_type">dropdown</key>
|
37 |
+
<key name="icl_lso_link_empty">0</key>
|
38 |
+
<key name="icl_lso_flags">0</key>
|
39 |
+
<key name="icl_lso_native_lang">1</key>
|
40 |
+
<key name="icl_lso_display_lang">1</key>
|
41 |
+
<key name="icl_lang_sel_footer">0</key>
|
42 |
+
<key name="icl_post_availability">0</key>
|
43 |
+
<key name="icl_post_availability_position">below</key>
|
44 |
+
<key name="icl_post_availability_text">This post is also available in: %s</key>
|
45 |
+
</language-switcher-settings>
|
46 |
+
</wpml-config>
|