Version Description
- New: For the Media/Add New screen, a new Bulk Edit area lets you assign taxonomy terms and change standard or custom fields as new items are uploaded to the Media Library.
- New: An enhanced array of "CAMERA"-related fields is provided as part of the EXIF metadata. They contain more attractive and useful versions of "ExposureBiasValue", "ExposureTime", "Flash", "FNumber", "FocalLength", "ShutterSpeed" and a number of "Other Tags". See the Other Notes section section or the Settings/Media Library Assistant Documentation tab for more information.
- New: For IPTC/EXIF and Custom Field mapping, you can cancel and then resume mapping activity. You can also specify a starting offset for the resumes activity, allowing you to skip over previously-processed items or to re-process items.
- New: For mapping rules and
[mla_gallery]
, "timestamp", "date" and "fraction" format options can be used to format IPTC/EXIF metadata values, custom fields and other Data Sources. See the Other Notes section section or the Settings/Media Library Assistant Documentation tab for more information. - New: For
[mla_gallery]
,parent_name
(slug) andparent_permalink
have been added to the Attachment-specific substitution parameters for the markup template Item part. - New: For
[mla_gallery]
, themla_terms_taxonomies
parameter can be used for "Keyword(s) Search" to control which taxonomies are included ifmla_search_fields
includes "terms". - New: The "checked on top" option for checklist-style taxonomy meta boxes can be set or cleared on the Settings/Media Library Assistant General tab.
- New: For IPTC/EXIF and Custom Field mapping,
[+iptc:ALL_IPTC+]
is now a synonym for[+exif:ALL_IPTC+]
. - New: Coverage of field-level substitution parameters in the Settings/Media Library Assistant Documentation tab has been re-organized, clarified and expanded.
- New: A reference to plugin translation and the MLA Internationalization Guide have been added to the Settings/Media Library Assistant Documentation tab.
- Fix: For the Media Manager/Media Grid Enhancements, PHP notice messages are avoided when the WordPress "current_screen" value is not set by other themes and plugins, such as the "Total theme and Visual Composer".
- Fix: Multiple ALT Text (wp_attachment_image_alt) values no longer cause PHP Warning messages; only the first value is used for `[mlagallery]` and the Quick Edit area.
- Fix: Some of the "Creating a new Translation" instructions in the MLA Internationalization Guide have been improved.
- Fix: many of the translation strings have been re-organized to simplify translation efforts.
- Fix: For
[mla_gallery]
, any "alt=" and "class=" attributes coded in themla_image_attributes
parameter will override and replace the existing "alt=" and/or "class=" attributes in the "img" tag. This avoids the confusion of having two instances of the attribute(s) in the tag. - Fix: For
[mla_gallery]
, documentation of a WordPress 4.0+ change that affects taxonomy, date and custom field (meta) queries has been added, including a work-around to avoid "Invalid mla_gallery tax_query" errors. - Fix: For
[mla_gallery]
, the Google File Viewer (mla_viewer) has been replaced. Recent changes by Google, beyond MLA control, have removed support for the original feature. The interim fix allows you to substitute an appropriate icon for non-image file types. See the Documentation tab for more information. - Fix: For IPTC/EXIF and Custom Field mapping, custom field names with mixed case, spaces and punctuation characters are now properly handled. Custom field names with HTML reserved characters such as quotes and angle brackerts are properly escaped for display purposes.
- Fix: For the Media/Assistant submenu table, column headers containing HTML reserved characters are now properly escaped for display purposes.
- Fix: For the Media/Assistant submenu table, unnecessary processing and database access are avoided when all four "where-used" reporting options are disabled.
- Fix: For
[mla_gallery]
and[mla_tag_cloud]
, duplicatemla_page_parameter
query arguments have been eliminated from links in the gallery or cloud. - Fix: For
[mla_gallery]
and[mla_tag_cloud]
, damage caused by line-breaks between shortcode parameters is (usually) repaired.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 2.02 |
Comparing to | |
See all releases |
Code changes from version 2.01 to 2.02
- css/mla-add-new-bulk-edit.css +177 -0
- css/mla-style.css +5 -1
- examples/mla-fixed-values-example.php.txt +180 -0
- examples/mla-hooks-example.php.txt +8 -0
- examples/mla-viewer-replacement-example.php.txt +151 -0
- includes/class-mla-data.php +590 -165
- includes/class-mla-edit-media.php +290 -5
- includes/class-mla-list-table.php +42 -28
- includes/class-mla-main.php +189 -180
- includes/class-mla-media-modal.php +10 -9
- includes/class-mla-mime-types.php +35 -35
- includes/class-mla-objects.php +7 -4
- includes/class-mla-options.php +419 -274
- includes/class-mla-settings.php +114 -80
- includes/class-mla-shortcodes.php +165 -63
- includes/class-mla-upload-list-table.php +2 -2
- index.php +2 -2
- js/mla-add-new-bulk-edit-scripts.js +123 -0
- js/mla-add-new-bulk-edit-scripts.min.js +1 -0
- js/mla-inline-mapping-scripts.js +78 -14
- js/mla-inline-mapping-scripts.min.js +1 -1
- js/mla-set-parent-scripts.js +12 -0
- languages/MLA Internationalization Guide.pdf +0 -0
- languages/media-library-assistant-en_US.pot +1342 -1228
- phpDocs/classes/MLA.html +53 -49
- phpDocs/classes/MLAData.html +53 -1
- phpDocs/classes/MLAEdit.html +62 -1
- phpDocs/classes/MLAMime.html +1 -1
- phpDocs/classes/MLAModal.html +1 -1
- phpDocs/classes/MLAObjects.html +1 -1
- phpDocs/classes/MLAOptions.html +22 -2
- phpDocs/classes/MLASettings.html +1 -1
- phpDocs/classes/MLAShortcodes.html +21 -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 +1 -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/classes/MNA_Pad_Counts_Walker.html +1 -1
- phpDocs/deprecated.html +1 -1
- phpDocs/errors.html +1 -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 +1933 -1775
css/mla-add-new-bulk-edit.css
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@charset "utf-8";
|
2 |
+
/**
|
3 |
+
* CSS Document
|
4 |
+
*
|
5 |
+
* This file contains styling attributes for the Bulk Updates area.
|
6 |
+
* Adapted from /wp-admin/css/list-tables.css section 10.1 - Inline Editing
|
7 |
+
*/
|
8 |
+
|
9 |
+
/* Layout */
|
10 |
+
|
11 |
+
#mla-add-new-bulk-edit-div .mla_taxonomy_options {
|
12 |
+
margin-bottom: 10px
|
13 |
+
}
|
14 |
+
|
15 |
+
#mla-add-new-bulk-edit-div .inline-edit-col-left {
|
16 |
+
width: 20%
|
17 |
+
}
|
18 |
+
|
19 |
+
#mla-add-new-bulk-edit-div .inline-edit-col-center {
|
20 |
+
width: 30%
|
21 |
+
}
|
22 |
+
|
23 |
+
#mla-add-new-bulk-edit-div .inline-edit-col-right {
|
24 |
+
width: 49%
|
25 |
+
}
|
26 |
+
|
27 |
+
#mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.title {
|
28 |
+
width: 6em
|
29 |
+
}
|
30 |
+
|
31 |
+
#mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label span.input-text-wrap {
|
32 |
+
margin-left: 6em
|
33 |
+
}
|
34 |
+
|
35 |
+
#mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label.inline-edit-post-parent span.input-text-wrap {
|
36 |
+
width: 5em
|
37 |
+
}
|
38 |
+
|
39 |
+
#mla-add-new-bulk-edit-div fieldset.inline-edit-col-right input#bulk-edit-set-parent {
|
40 |
+
display:inline;
|
41 |
+
line-height: 16px;
|
42 |
+
margin: .2em .4em .2em .4em;
|
43 |
+
}
|
44 |
+
|
45 |
+
#mla-add-new-bulk-edit-div fieldset.inline-edit-col-right label.inline-edit-tags span.title {
|
46 |
+
width: 99%
|
47 |
+
}
|
48 |
+
|
49 |
+
#mla-add-new-bulk-edit-div fieldset {
|
50 |
+
font-size: 12px;
|
51 |
+
float: left;
|
52 |
+
margin: 0;
|
53 |
+
padding: 0;
|
54 |
+
width: 100%;
|
55 |
+
}
|
56 |
+
|
57 |
+
#mla-add-new-bulk-edit-div fieldset .inline-edit-col {
|
58 |
+
padding: 0 0.5em;
|
59 |
+
}
|
60 |
+
|
61 |
+
#mla-add-new-bulk-edit-div fieldset .inline-edit-group {
|
62 |
+
clear: both;
|
63 |
+
}
|
64 |
+
|
65 |
+
#mla-add-new-bulk-edit-div fieldset .inline-edit-group:after {
|
66 |
+
content: ".";
|
67 |
+
display: block;
|
68 |
+
height: 0;
|
69 |
+
clear: both;
|
70 |
+
visibility: hidden;
|
71 |
+
}
|
72 |
+
|
73 |
+
/* Positioning */
|
74 |
+
|
75 |
+
#mla-add-new-bulk-edit-div fieldset span.title,
|
76 |
+
#mla-add-new-bulk-edit-div fieldset span.checkbox-title {
|
77 |
+
margin: 0;
|
78 |
+
padding: 0;
|
79 |
+
line-height: 27px;
|
80 |
+
}
|
81 |
+
|
82 |
+
#mla-add-new-bulk-edit-div fieldset label,
|
83 |
+
#mla-add-new-bulk-edit-div fieldset span.inline-edit-categories-label {
|
84 |
+
display: block;
|
85 |
+
margin: .2em 0;
|
86 |
+
}
|
87 |
+
|
88 |
+
#mla-add-new-bulk-edit-div fieldset label.inline-edit-tags {
|
89 |
+
margin-top: 0;
|
90 |
+
}
|
91 |
+
|
92 |
+
#mla-add-new-bulk-edit-div fieldset label.inline-edit-tags span.title {
|
93 |
+
margin: .2em 0;
|
94 |
+
width: auto;
|
95 |
+
}
|
96 |
+
|
97 |
+
#mla-add-new-bulk-edit-div fieldset label span.title {
|
98 |
+
display: block;
|
99 |
+
float: left;
|
100 |
+
width: 5em;
|
101 |
+
}
|
102 |
+
|
103 |
+
#mla-add-new-bulk-edit-div fieldset label span.input-text-wrap {
|
104 |
+
display: block;
|
105 |
+
margin-left: 5em;
|
106 |
+
}
|
107 |
+
|
108 |
+
#mla-add-new-bulk-edit-div .input-text-wrap input[type=text] {
|
109 |
+
width: 100%;
|
110 |
+
}
|
111 |
+
|
112 |
+
#mla-add-new-bulk-edit-div fieldset label input[type=checkbox] {
|
113 |
+
vertical-align: text-bottom;
|
114 |
+
}
|
115 |
+
|
116 |
+
#mla-add-new-bulk-edit-div fieldset label textarea {
|
117 |
+
width: 100%;
|
118 |
+
height: 4em;
|
119 |
+
}
|
120 |
+
|
121 |
+
#mla-add-new-bulk-edit-div fieldset .inline-edit-group label {
|
122 |
+
max-width: 50%;
|
123 |
+
}
|
124 |
+
|
125 |
+
#mla-add-new-bulk-edit-div fieldset .inline-edit-group label.alignleft:first-child {
|
126 |
+
margin-right: 0.5em
|
127 |
+
}
|
128 |
+
|
129 |
+
/* Styling */
|
130 |
+
|
131 |
+
#mla-add-new-bulk-edit-div fieldset span.title,
|
132 |
+
#mla-add-new-bulk-edit-div fieldset span.checkbox-title {
|
133 |
+
font-style: italic;
|
134 |
+
line-height: 1.8em;
|
135 |
+
}
|
136 |
+
|
137 |
+
/* Specific Elements */
|
138 |
+
|
139 |
+
#mla-add-new-bulk-edit-div ul.cat-checklist {
|
140 |
+
height: 12em;
|
141 |
+
border: solid 1px #ddd;
|
142 |
+
overflow-y: scroll;
|
143 |
+
padding: 0 5px;
|
144 |
+
margin: 0px;
|
145 |
+
background-color: #fff;
|
146 |
+
}
|
147 |
+
|
148 |
+
#mla-add-new-bulk-edit-div ul.cat-checklist ul {
|
149 |
+
margin-left: 18px;
|
150 |
+
}
|
151 |
+
|
152 |
+
#mla-add-new-bulk-edit-div span.catshow {
|
153 |
+
display: none;
|
154 |
+
}
|
155 |
+
|
156 |
+
#mla-add-new-bulk-edit-div fieldset ul.cat-checklist li,
|
157 |
+
#mla-add-new-bulk-edit-div fieldset ul.cat-checklist input {
|
158 |
+
margin: 0;
|
159 |
+
position: relative; /* RTL fix, #WP27629 */
|
160 |
+
}
|
161 |
+
|
162 |
+
#mla-add-new-bulk-edit-div fieldset ul.cat-checklist label {
|
163 |
+
font-style: normal;
|
164 |
+
font-size: 11px;
|
165 |
+
}
|
166 |
+
|
167 |
+
#mla-add-new-bulk-edit-div fieldset label input.inline-edit-slug-input {
|
168 |
+
width: 75%;
|
169 |
+
}
|
170 |
+
|
171 |
+
#mla-add-new-bulk-edit-div #post_parent {
|
172 |
+
max-width: 80%;
|
173 |
+
}
|
174 |
+
|
175 |
+
.ie8 #mla-add-new-bulk-edit-div #post_parent {
|
176 |
+
width: 250px;
|
177 |
+
}
|
css/mla-style.css
CHANGED
@@ -325,5 +325,9 @@ textarea[readonly] {
|
|
325 |
|
326 |
ul.mla_settings {
|
327 |
list-style-type: disc;
|
328 |
-
list-style-position:
|
|
|
|
|
|
|
|
|
329 |
}
|
325 |
|
326 |
ul.mla_settings {
|
327 |
list-style-type: disc;
|
328 |
+
list-style-position: outside;
|
329 |
+
}
|
330 |
+
|
331 |
+
ul.mla_settings li {
|
332 |
+
margin-left: 2em;
|
333 |
}
|
examples/mla-fixed-values-example.php.txt
ADDED
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: MLA Fixed Values Example
|
4 |
+
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
5 |
+
Description: Provides an example of hooking the filters provided by the [mla_gallery] shortcode
|
6 |
+
Author: David Lingren
|
7 |
+
Version: 1.02
|
8 |
+
Author URI: http://fairtradejudaica.org/our-story/staff/
|
9 |
+
|
10 |
+
Copyright 2014, 2015 David Lingren
|
11 |
+
|
12 |
+
This program is free software; you can redistribute it and/or modify
|
13 |
+
it under the terms of the GNU General Public License as published by
|
14 |
+
the Free Software Foundation; either version 2 of the License, or
|
15 |
+
(at your option) any later version.
|
16 |
+
|
17 |
+
This program is distributed in the hope that it will be useful,
|
18 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
+
GNU General Public License for more details.
|
21 |
+
|
22 |
+
You can get a copy of the GNU General Public License by writing to the
|
23 |
+
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
24 |
+
*/
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Class MLA Fixed Values Example hooks a few of the filters provided by the [mla_gallery] shortcode
|
28 |
+
*
|
29 |
+
* Thanks to "Harm10" for some improvements as part of this Support Topic:
|
30 |
+
* https://wordpress.org/support/topic/fixed-href-link-or-caption-text-per-id
|
31 |
+
*
|
32 |
+
* Call it anything you want, but give it an unlikely and hopefully unique name. Hiding everything
|
33 |
+
* else inside a class means this is the only name you have to worry about.
|
34 |
+
*/
|
35 |
+
class MLAFixedValuesExample {
|
36 |
+
/**
|
37 |
+
* Initialization function, similar to __construct()
|
38 |
+
*/
|
39 |
+
public static function initialize() {
|
40 |
+
/*
|
41 |
+
* The filters are only useful for front-end posts/pages; exit if in the admin section
|
42 |
+
*/
|
43 |
+
if ( is_admin() )
|
44 |
+
return;
|
45 |
+
|
46 |
+
/*
|
47 |
+
* add_filter parameters:
|
48 |
+
*/
|
49 |
+
add_filter( 'mla_gallery_attributes', 'MLAFixedValuesExample::mla_gallery_attributes_filter', 10, 1 );
|
50 |
+
add_filter( 'mla_gallery_item_values', 'MLAFixedValuesExample::mla_gallery_item_values_filter', 10, 1 );
|
51 |
+
add_filter( 'mla_gallery_close_values', 'MLAFixedValuesExample::mla_gallery_close_values_filter', 10, 1 );
|
52 |
+
}
|
53 |
+
|
54 |
+
/**
|
55 |
+
* Save the shortcode attributes
|
56 |
+
*/
|
57 |
+
private static $shortcode_attributes = array();
|
58 |
+
|
59 |
+
/*
|
60 |
+
* $mla_fixed_values stores the parameter(s) and values. If none are found, the
|
61 |
+
* initialization code sets it to false so the logic is quickly bypassed.
|
62 |
+
*/
|
63 |
+
private static $mla_fixed_values = NULL;
|
64 |
+
|
65 |
+
/**
|
66 |
+
* MLA Gallery (Display) Attributes
|
67 |
+
*
|
68 |
+
* This filter lets you record or modify the arguments passed in to the shortcode
|
69 |
+
* before they are merged with the default arguments used for the gallery display.
|
70 |
+
*
|
71 |
+
* The $shortcode_attributes array is where you will find your own parameters that
|
72 |
+
* are coded in the shortcode, e.g.:
|
73 |
+
* [mla_gallery mla_fixed_caption="array('test1','test2')" mla_caption="{+mla_fixed_caption+}"].
|
74 |
+
*/
|
75 |
+
public static function mla_gallery_attributes_filter( $shortcode_attributes ) {
|
76 |
+
/*
|
77 |
+
* Save the attributes for use in the later filter
|
78 |
+
*/
|
79 |
+
self::$shortcode_attributes = $shortcode_attributes;
|
80 |
+
|
81 |
+
return $shortcode_attributes;
|
82 |
+
} // mla_gallery_attributes_filter
|
83 |
+
|
84 |
+
/**
|
85 |
+
* MLA Gallery Item Values
|
86 |
+
*
|
87 |
+
* @since 1.00
|
88 |
+
*
|
89 |
+
* @param array parameter_name => parameter_value pairs
|
90 |
+
*
|
91 |
+
* @return array updated substitution parameter name => value pairs
|
92 |
+
*/
|
93 |
+
public static function mla_gallery_item_values_filter( $item_values ) {
|
94 |
+
/*
|
95 |
+
* We use shortcode parameters of our own to apply our filters on a
|
96 |
+
* gallery-by-gallery basis, leaving other [mla_gallery] instances untouched.
|
97 |
+
* If no "mla_fixed_" parameters are present, we have nothing to do. Here is
|
98 |
+
* an example of how the custom parameter can be used:
|
99 |
+
*
|
100 |
+
* [mla_gallery ids="2621,2622" mla_fixed_title="array('my title','my other title')" mla_image_attributes="title='{+mla_fixed_title+}'"]
|
101 |
+
*
|
102 |
+
* You can have as many "mla_fixed_" parameters as you need for different values.
|
103 |
+
*/
|
104 |
+
|
105 |
+
if ( false === self::$mla_fixed_values ) {
|
106 |
+
return $item_values; // leave them unchanged
|
107 |
+
}
|
108 |
+
|
109 |
+
/*
|
110 |
+
* Evaluate the parameter value(s) once per page load.
|
111 |
+
*/
|
112 |
+
if ( NULL === self::$mla_fixed_values ) {
|
113 |
+
self::$mla_fixed_values = array();
|
114 |
+
foreach ( self::$shortcode_attributes as $parmkey => $parmvalue ) {
|
115 |
+
if ( 'mla_fixed_' == substr( $parmkey, 0, 10 ) ) {
|
116 |
+
if ( 'array(' == substr( $parmvalue, 0, 6 ) ) {
|
117 |
+
$function = @create_function( '', 'return ' . self::$shortcode_attributes[ $parmkey ] . ';' );
|
118 |
+
if ( is_callable( $function ) ) {
|
119 |
+
self::$mla_fixed_values[ $parmkey ] = $function();
|
120 |
+
|
121 |
+
if ( ! is_array( self::$mla_fixed_values[ $parmkey ] ) ) {
|
122 |
+
self::$mla_fixed_values[ $parmkey ] = array();
|
123 |
+
}
|
124 |
+
} else {
|
125 |
+
self::$mla_fixed_values[ $parmkey ] = array();
|
126 |
+
}
|
127 |
+
} else {
|
128 |
+
self::$mla_fixed_values[ $parmkey ] = explode( ",", $parmvalue );
|
129 |
+
if ( false === self::$mla_fixed_values[ $parmkey ] ) {
|
130 |
+
self::$mla_fixed_values[ $parmkey ] = array();
|
131 |
+
}
|
132 |
+
}
|
133 |
+
} // found mla_fixed_
|
134 |
+
} // foreach parameter
|
135 |
+
|
136 |
+
if ( empty( self::$mla_fixed_values ) ) {
|
137 |
+
self::$mla_fixed_values = false;
|
138 |
+
return $item_values;
|
139 |
+
}
|
140 |
+
} // initialization code
|
141 |
+
|
142 |
+
/*
|
143 |
+
* Apply the appropriate value to the current item.
|
144 |
+
*/
|
145 |
+
foreach ( self::$mla_fixed_values as $mla_fixed_key => $mla_fixed_value ) {
|
146 |
+
/*
|
147 |
+
* Apply the appropriate value to the current item.
|
148 |
+
*/
|
149 |
+
if ( isset( $mla_fixed_value[ $item_values['index'] - 1 ] ) ) {
|
150 |
+
$item_values[ $mla_fixed_key ] = $mla_fixed_value[ $item_values['index'] - 1 ];
|
151 |
+
}
|
152 |
+
}
|
153 |
+
|
154 |
+
return $item_values;
|
155 |
+
} // mla_gallery_item_values_filter
|
156 |
+
|
157 |
+
/**
|
158 |
+
* MLA Gallery Close Values
|
159 |
+
*
|
160 |
+
* @since 1.02
|
161 |
+
*
|
162 |
+
* @param array parameter_name => parameter_value pairs
|
163 |
+
*
|
164 |
+
* @return array updated substitution parameter name => value pairs
|
165 |
+
*/
|
166 |
+
public static function mla_gallery_close_values_filter( $markup_values ) {
|
167 |
+
/*
|
168 |
+
* Reset $mla_fixed_values for multiple shortcodes on the same post/page
|
169 |
+
*/
|
170 |
+
self::$mla_fixed_values = NULL;
|
171 |
+
|
172 |
+
return $markup_values;
|
173 |
+
} // mla_gallery_close_values_filter
|
174 |
+
} // Class MLAFixedValuesExample
|
175 |
+
|
176 |
+
/*
|
177 |
+
* Install the filters at an early opportunity
|
178 |
+
*/
|
179 |
+
add_action('init', 'MLAFixedValuesExample::initialize');
|
180 |
+
?>
|
examples/mla-hooks-example.php.txt
CHANGED
@@ -844,6 +844,14 @@ class MLAGalleryHooksExample {
|
|
844 |
return $item_values; // leave them unchanged
|
845 |
}
|
846 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
847 |
/*
|
848 |
* For this first example, we will reformat the 'date' value as d/m/Y.
|
849 |
*/
|
844 |
return $item_values; // leave them unchanged
|
845 |
}
|
846 |
|
847 |
+
if ( 'format terms' == self::$shortcode_attributes['my_filter'] ) {
|
848 |
+
$object_terms = wp_get_object_terms ( absint( $item_values['attachment_ID'] ), 'attachment_category', array( 'fields' => 'slugs' ) );
|
849 |
+
$item_values['terms:attachment_category'] = implode( ' ', $object_terms );
|
850 |
+
$item_values['caption'] = implode( ' ', $object_terms );
|
851 |
+
|
852 |
+
//error_log( 'MLAGalleryHooksExample::mla_gallery_item_values_filter terms = ' . var_export( $item_values['terms:attachment_category'], true ), 0 );
|
853 |
+
}
|
854 |
+
|
855 |
/*
|
856 |
* For this first example, we will reformat the 'date' value as d/m/Y.
|
857 |
*/
|
examples/mla-viewer-replacement-example.php.txt
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Plugin Name: MLA Viewer Replacement Example
|
4 |
+
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
5 |
+
Description: Provides selective mla_caption replacement for PDF documents, etc.
|
6 |
+
Author: David Lingren
|
7 |
+
Version: 1.00
|
8 |
+
Author URI: http://fairtradejudaica.org/our-story/staff/
|
9 |
+
|
10 |
+
Copyright 2014, 2015 David Lingren
|
11 |
+
|
12 |
+
This program is free software; you can redistribute it and/or modify
|
13 |
+
it under the terms of the GNU General Public License as published by
|
14 |
+
the Free Software Foundation; either version 2 of the License, or
|
15 |
+
(at your option) any later version.
|
16 |
+
|
17 |
+
This program is distributed in the hope that it will be useful,
|
18 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
+
GNU General Public License for more details.
|
21 |
+
|
22 |
+
You can get a copy of the GNU General Public License by writing to the
|
23 |
+
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
24 |
+
*/
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Class MLA Viewer Replacement replaces the caption for mla_viewer items
|
28 |
+
*
|
29 |
+
* Call it anything you want, but give it an unlikely and hopefully unique name. Hiding everything
|
30 |
+
* else inside a class means this is the only name you have to worry about.
|
31 |
+
*/
|
32 |
+
class MLAViewerReplacement {
|
33 |
+
/**
|
34 |
+
* Initialization function, similar to __construct()
|
35 |
+
*/
|
36 |
+
public static function initialize() {
|
37 |
+
/*
|
38 |
+
* The filters are only useful for front-end posts/pages; exit if in the admin section
|
39 |
+
*/
|
40 |
+
if ( is_admin() )
|
41 |
+
return;
|
42 |
+
|
43 |
+
/*
|
44 |
+
* add_filter parameters:
|
45 |
+
*/
|
46 |
+
add_filter( 'mla_gallery_raw_attributes', 'MLAViewerReplacement::mla_gallery_raw_attributes', 10, 1 );
|
47 |
+
add_filter( 'mla_gallery_arguments', 'MLAViewerReplacement::mla_gallery_arguments_filter', 10, 1 );
|
48 |
+
add_filter( 'mla_gallery_item_values', 'MLAViewerReplacement::mla_gallery_item_values_filter', 10, 1 );
|
49 |
+
}
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Save the shortcode attributes
|
53 |
+
*/
|
54 |
+
private static $shortcode_attributes = array();
|
55 |
+
|
56 |
+
/**
|
57 |
+
* MLA Gallery Raw (Display) Attributes
|
58 |
+
*
|
59 |
+
* This filter gives you an opportunity to record or modify the arguments passed in to the shortcode
|
60 |
+
* before they pass through the logic to handle the 'mla_page_parameter' and "request:" prefix processing.
|
61 |
+
*
|
62 |
+
* The $shortcode_attributes array is where you will find your own parameters that
|
63 |
+
* are coded in the shortcode, e.g., [mla_gallery mla_fixed_title="my title"].
|
64 |
+
*/
|
65 |
+
public static function mla_gallery_raw_attributes( $shortcode_attributes ) {
|
66 |
+
/*
|
67 |
+
* Save the attributes for use in the later filter
|
68 |
+
*/
|
69 |
+
self::$shortcode_attributes = $shortcode_attributes;
|
70 |
+
|
71 |
+
return $shortcode_attributes;
|
72 |
+
} // mla_gallery_raw_attributes
|
73 |
+
|
74 |
+
/**
|
75 |
+
* Save the shortcode arguments
|
76 |
+
*/
|
77 |
+
private static $all_display_parameters = array();
|
78 |
+
|
79 |
+
/**
|
80 |
+
* MLA Gallery (Display) Arguments
|
81 |
+
*
|
82 |
+
* This filter gives you an opportunity to record or modify the gallery display arguments
|
83 |
+
* after the shortcode attributes are merged with the default arguments.
|
84 |
+
*
|
85 |
+
* Note that the values in this array are input or default values, not the final computed values
|
86 |
+
* used for the gallery display. The computed values are in the $style_values, $markup_values and
|
87 |
+
* $item_values arrays passed to later filters below.
|
88 |
+
*
|
89 |
+
* @since 1.00
|
90 |
+
*
|
91 |
+
* @param array shortcode arguments merged with gallery display defaults, so every possible parameter is present
|
92 |
+
*
|
93 |
+
* @return array updated gallery display arguments
|
94 |
+
*/
|
95 |
+
public static function mla_gallery_arguments_filter( $all_display_parameters ) {
|
96 |
+
|
97 |
+
self::$all_display_parameters = $all_display_parameters;
|
98 |
+
return $all_display_parameters;
|
99 |
+
} // mla_gallery_arguments_filter
|
100 |
+
|
101 |
+
/**
|
102 |
+
* MLA Gallery Item Values
|
103 |
+
*
|
104 |
+
* The "Values" filter gives you a chance to modify the substitution parameter values
|
105 |
+
* before they are used to complete the associated template (in the corresponding "Parse" filter).
|
106 |
+
* It is called just before the values are used to parse the associated template.
|
107 |
+
* You can add, change or delete parameters as needed.
|
108 |
+
*
|
109 |
+
* @since 1.00
|
110 |
+
*
|
111 |
+
* @param array parameter_name => parameter_value pairs
|
112 |
+
*
|
113 |
+
* @return array updated substitution parameter name => value pairs
|
114 |
+
*/
|
115 |
+
public static function mla_gallery_item_values_filter( $item_values ) {
|
116 |
+
/*
|
117 |
+
* We use a shortcode parameter of our own to apply our filters on a
|
118 |
+
* gallery-by-gallery basis, leaving other [mla_gallery] instances untouched.
|
119 |
+
* If "mla_viewer_caption" is not present, we have nothing to do. Here is
|
120 |
+
* an example of how the custom parameter can be used:
|
121 |
+
*
|
122 |
+
* [mla_gallery ids="2621,2622,2623" mla_viewer=true mla_viewer_caption="{+title+}"]
|
123 |
+
*/
|
124 |
+
if ( ! isset( self::$shortcode_attributes['mla_viewer_caption'] ) ) {
|
125 |
+
return $item_values;
|
126 |
+
}
|
127 |
+
|
128 |
+
$extension = pathinfo( $item_values['file'], PATHINFO_EXTENSION );
|
129 |
+
if ( false === strpos( self::$all_display_parameters['mla_viewer_extensions'], $extension ) ) {
|
130 |
+
return $item_values;
|
131 |
+
}
|
132 |
+
|
133 |
+
// You can use MLAOptions::mla_get_data_source() to get anything available.
|
134 |
+
$mla_viewer_caption = str_replace( '{+', '[+', str_replace( '+}', '+]', self::$shortcode_attributes['mla_viewer_caption'] ) );
|
135 |
+
$data_source = array(
|
136 |
+
'data_source' => 'template',
|
137 |
+
'meta_name' => $mla_viewer_caption,
|
138 |
+
'option' => 'text'
|
139 |
+
);
|
140 |
+
|
141 |
+
$mla_viewer_caption = MLAOptions::mla_get_data_source( $item_values['attachment_ID'], 'single_attachment_mapping', $data_source, NULL );
|
142 |
+
$item_values['caption'] = $mla_viewer_caption;
|
143 |
+
return $item_values;
|
144 |
+
} // mla_gallery_item_values_filter
|
145 |
+
} // Class MLAViewerReplacement
|
146 |
+
|
147 |
+
/*
|
148 |
+
* Install the filters at an early opportunity
|
149 |
+
*/
|
150 |
+
add_action('init', 'MLAViewerReplacement::initialize');
|
151 |
+
?>
|
includes/class-mla-data.php
CHANGED
@@ -97,8 +97,8 @@ class MLAData {
|
|
97 |
|
98 |
$template = file_get_contents( $source, true );
|
99 |
if ( $template == false ) {
|
100 |
-
/* translators: 1: path and file name */
|
101 |
-
error_log( sprintf( _x( '
|
102 |
return NULL;
|
103 |
}
|
104 |
break;
|
@@ -115,8 +115,8 @@ class MLAData {
|
|
115 |
}
|
116 |
break;
|
117 |
default:
|
118 |
-
/* translators: 1: path and file name
|
119 |
-
error_log( sprintf( _x( '
|
120 |
return NULL;
|
121 |
}
|
122 |
|
@@ -194,8 +194,8 @@ class MLAData {
|
|
194 |
do {
|
195 |
$template_end = strpos( $tpl, '+]', $nest );
|
196 |
if ( false === $template_end ) {
|
197 |
-
/* translators: 1: template excerpt */
|
198 |
-
error_log( sprintf( _x( '
|
199 |
return '';
|
200 |
}
|
201 |
|
@@ -253,8 +253,8 @@ class MLAData {
|
|
253 |
$offset = $start + $template_length;
|
254 |
} else { // found template
|
255 |
if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
|
256 |
-
/* translators: 1: template excerpt */
|
257 |
-
error_log( sprintf( _x( '
|
258 |
return $tpl;
|
259 |
} // no end delimiter
|
260 |
|
@@ -341,8 +341,8 @@ class MLAData {
|
|
341 |
$offset = $start;
|
342 |
} else { // found template
|
343 |
if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
|
344 |
-
/* translators: 1: template excerpt */
|
345 |
-
error_log( sprintf( _x( '
|
346 |
return $tpl;
|
347 |
} // no end delimiter
|
348 |
|
@@ -385,8 +385,8 @@ class MLAData {
|
|
385 |
do {
|
386 |
$test_end = strpos( $tpl, ')', $nest );
|
387 |
if ( false === $test_end ) {
|
388 |
-
/* translators: 1: template string */
|
389 |
-
error_log( sprintf( _x( '
|
390 |
return '';
|
391 |
}
|
392 |
|
@@ -489,7 +489,7 @@ class MLAData {
|
|
489 |
elseif ( 2 == $test_length ) {
|
490 |
$index++; // empty test string
|
491 |
} else {
|
492 |
-
$test_content = __( 'ERROR: Test; no closing parenthesis ', 'media-library-assistant' );
|
493 |
$output_values[] = array( 'type' => 'string', 'value' => $test_content, 'length' => strlen( $test_content ) );
|
494 |
} // bad test string
|
495 |
} // (test) element
|
@@ -527,7 +527,18 @@ class MLAData {
|
|
527 |
}
|
528 |
|
529 |
$index += strlen( $template_content ) - 1;
|
530 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
531 |
$output .= $byte;
|
532 |
}
|
533 |
} // $index < $max_length
|
@@ -633,8 +644,8 @@ class MLAData {
|
|
633 |
|
634 |
break;
|
635 |
default:
|
636 |
-
/* translators: 1: node type, e.g., template */
|
637 |
-
error_log( sprintf( _x( '
|
638 |
} // node type
|
639 |
} // isset node type
|
640 |
|
@@ -696,8 +707,8 @@ class MLAData {
|
|
696 |
|
697 |
return $results;
|
698 |
default:
|
699 |
-
/* translators: 1: node type, e.g., template */
|
700 |
-
error_log( sprintf( _x( '
|
701 |
} // node type
|
702 |
|
703 |
return '';
|
@@ -785,6 +796,86 @@ class MLAData {
|
|
785 |
return $text;
|
786 |
}
|
787 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
788 |
/**
|
789 |
* Analyze a template, expanding Field-level Markup Substitution Parameters
|
790 |
*
|
@@ -1032,8 +1123,66 @@ class MLAData {
|
|
1032 |
$markup_values[ $key ] = urlencode( $markup_values[ $key ] );
|
1033 |
} elseif ( ( 'commas' == $value['format'] ) && is_numeric( $markup_values[ $key ] ) ) {
|
1034 |
$markup_values[ $key ] = number_format( (float)$markup_values[ $key ] );
|
1035 |
-
}
|
1036 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1037 |
} // foreach placeholder
|
1038 |
|
1039 |
if ( $template_count ) {
|
@@ -1067,8 +1216,8 @@ class MLAData {
|
|
1067 |
do {
|
1068 |
$template_end = strpos( $tpl, '+]', $nest );
|
1069 |
if ( false === $template_end ) {
|
1070 |
-
/* translators: 1: template excerpt */
|
1071 |
-
error_log( sprintf( _x( '
|
1072 |
return array();
|
1073 |
}
|
1074 |
|
@@ -1094,7 +1243,7 @@ class MLAData {
|
|
1094 |
$tpl = substr_replace( $tpl, '', $template_offset, $template_length );
|
1095 |
} // found a template
|
1096 |
|
1097 |
-
$match_count = preg_match_all( '/\[
|
1098 |
if ( ( $match_count == false ) || ( $match_count == 0 ) ) {
|
1099 |
return $results;
|
1100 |
}
|
@@ -1102,7 +1251,7 @@ class MLAData {
|
|
1102 |
foreach ( $matches[0] as $match ) {
|
1103 |
$key = substr( $match, 2, (strlen( $match ) - 4 ) );
|
1104 |
$result = array( 'prefix' => '', 'value' => '', 'option' => $default_option, 'format' => 'native' );
|
1105 |
-
$match_count = preg_match( '/\[\+(
|
1106 |
if ( 1 == $match_count ) {
|
1107 |
$result['prefix'] = $matches[1];
|
1108 |
$tail = $matches[2];
|
@@ -1110,9 +1259,30 @@ class MLAData {
|
|
1110 |
$tail = substr( $match, 2);
|
1111 |
}
|
1112 |
|
1113 |
-
$match_count = preg_match( '/([^,]+)(,(text|single|export|array|multi|commas|raw|attr|url))
|
1114 |
if ( 1 == $match_count ) {
|
1115 |
$result['value'] = $matches[1];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1116 |
|
1117 |
if ( 'commas' == $matches[3] ) {
|
1118 |
$result['option'] = 'text';
|
@@ -1126,6 +1296,18 @@ class MLAData {
|
|
1126 |
} elseif ( 'url' == $matches[3] ) {
|
1127 |
$result['option'] = 'text';
|
1128 |
$result['format'] = 'url';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1129 |
} else {
|
1130 |
$result['option'] = $matches[3];
|
1131 |
}
|
@@ -1304,8 +1486,8 @@ class MLAData {
|
|
1304 |
* sanitize or validate them.
|
1305 |
*/
|
1306 |
if ( ! is_array( $raw_request ) ) {
|
1307 |
-
/* translators: 1: function name
|
1308 |
-
error_log( sprintf( _x( '
|
1309 |
return null;
|
1310 |
}
|
1311 |
|
@@ -1353,13 +1535,32 @@ class MLAData {
|
|
1353 |
if ( in_array( $value, array( 'none', 'post__in' ) ) ) {
|
1354 |
$clean_request[ $key ] = $value;
|
1355 |
} else {
|
1356 |
-
$
|
|
|
|
|
|
|
|
|
|
|
1357 |
foreach ($sortable_columns as $sort_key => $sort_value ) {
|
1358 |
if ( $value == $sort_value[0] ) {
|
1359 |
-
$
|
1360 |
break;
|
1361 |
}
|
1362 |
} // foreach
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1363 |
}
|
1364 |
break;
|
1365 |
/*
|
@@ -1554,8 +1755,8 @@ class MLAData {
|
|
1554 |
* We have to handle custom field/post_meta values here
|
1555 |
* because they need a JOIN clause supplied by WP_Query
|
1556 |
*/
|
1557 |
-
if ( 'c_' == substr(
|
1558 |
-
$option_value = MLAOptions::mla_custom_field_option_value(
|
1559 |
if ( isset( $option_value['name'] ) ) {
|
1560 |
self::$query_parameters['use_postmeta_view'] = true;
|
1561 |
self::$query_parameters['postmeta_key'] = $option_value['name'];
|
@@ -1719,11 +1920,11 @@ class MLAData {
|
|
1719 |
$debug_array = array( 'posts_search' => $wp_filter['posts_search'], 'posts_join' => $wp_filter['posts_join'], 'posts_where' => $wp_filter['posts_where'], 'posts_orderby' => $wp_filter['posts_orderby'] );
|
1720 |
|
1721 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
1722 |
-
/* translators: 1: query filter details */
|
1723 |
-
trigger_error( sprintf( __( '_execute_list_table_query $wp_filter = "%
|
1724 |
} else {
|
1725 |
-
/* translators: 1: query filter details */
|
1726 |
-
error_log( sprintf( _x( '
|
1727 |
}
|
1728 |
|
1729 |
add_filter( 'posts_clauses', 'MLAData::mla_query_posts_clauses_filter', 0x7FFFFFFF, 1 );
|
@@ -1739,15 +1940,15 @@ class MLAData {
|
|
1739 |
$debug_array = array( 'request' => $request, 'query_parameters' => self::$query_parameters, 'post_count' => $results->post_count, 'found_posts' => $results->found_posts );
|
1740 |
|
1741 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
1742 |
-
/* translators: 1: query details */
|
1743 |
-
trigger_error( sprintf( __( '_execute_list_table_query WP_Query = "%
|
1744 |
-
/* translators: 1: SQL statement */
|
1745 |
-
trigger_error( sprintf( __( '_execute_list_table_query SQL_request = "%
|
1746 |
} else {
|
1747 |
-
/* translators: 1: query details */
|
1748 |
-
error_log( sprintf( _x( '
|
1749 |
-
/* translators: 1: SQL statement */
|
1750 |
-
error_log( sprintf( _x( '
|
1751 |
}
|
1752 |
} // debug
|
1753 |
|
@@ -1807,7 +2008,7 @@ class MLAData {
|
|
1807 |
/*
|
1808 |
* Process the Terms Search arguments, if present.
|
1809 |
*/
|
1810 |
-
if ( isset( self::$search_parameters['mla_terms_search'] ) ) {
|
1811 |
$terms = array_map( 'trim', explode( ',', self::$search_parameters['mla_terms_search']['phrases'] ) );
|
1812 |
if ( 1 < count( $terms ) ) {
|
1813 |
$terms_connector = '(';
|
@@ -1963,7 +2164,7 @@ class MLAData {
|
|
1963 |
* separated by taxonomy.
|
1964 |
*/
|
1965 |
if ( in_array( 'terms', $fields ) ) {
|
1966 |
-
$the_terms = get_terms(
|
1967 |
foreach( $the_terms as $the_term ) {
|
1968 |
$tax_terms[ $the_term->taxonomy ][ $the_term->term_id ] = (integer) $the_term->term_taxonomy_id;
|
1969 |
|
@@ -2042,11 +2243,11 @@ class MLAData {
|
|
2042 |
if ( 'shortcode' == self::$search_parameters['debug'] ) {
|
2043 |
self::$search_parameters['mla_debug_messages'] = '<p><strong>mla_debug posts_search filter</strong> = ' . var_export( $debug_array, true ) . '</p>';
|
2044 |
} elseif ( 'console' == self::$search_parameters['debug'] ) {
|
2045 |
-
/* translators: 1: search filter details */
|
2046 |
-
trigger_error( sprintf( __( 'mla_query_posts_search_filter = "%
|
2047 |
} else {
|
2048 |
-
/* translators: 1: search filter details */
|
2049 |
-
error_log( sprintf( _x( '
|
2050 |
}
|
2051 |
} // debug
|
2052 |
|
@@ -2111,11 +2312,11 @@ class MLAData {
|
|
2111 |
$debug_array['where_clause'] = $where_clause;
|
2112 |
|
2113 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2114 |
-
/* translators: 1: where filter details */
|
2115 |
-
trigger_error( sprintf( __( 'mla_query_posts_where_filter = "%
|
2116 |
} else {
|
2117 |
-
/* translators: 1: where filter details */
|
2118 |
-
error_log( sprintf( _x( '
|
2119 |
}
|
2120 |
} // debug
|
2121 |
|
@@ -2165,11 +2366,11 @@ class MLAData {
|
|
2165 |
$debug_array['join_clause'] = $join_clause;
|
2166 |
|
2167 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2168 |
-
/* translators: 1: join filter details */
|
2169 |
-
trigger_error( sprintf( __( 'mla_query_posts_join_filter = "%
|
2170 |
} else {
|
2171 |
-
/* translators: 1: join filter details */
|
2172 |
-
error_log( sprintf( _x( '
|
2173 |
}
|
2174 |
} // debug
|
2175 |
|
@@ -2267,11 +2468,11 @@ class MLAData {
|
|
2267 |
$debug_array['orderby_clause'] = $orderby_clause;
|
2268 |
|
2269 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2270 |
-
/* translators: 1: orderby details details */
|
2271 |
-
trigger_error( sprintf( __( 'mla_query_posts_orderby_filter = "%
|
2272 |
} else {
|
2273 |
-
/* translators: 1: orderby details details */
|
2274 |
-
error_log( sprintf( _x( '
|
2275 |
}
|
2276 |
} // debug
|
2277 |
|
@@ -2306,11 +2507,11 @@ class MLAData {
|
|
2306 |
*/
|
2307 |
public static function mla_query_posts_clauses_filter( $pieces ) {
|
2308 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2309 |
-
/* translators: 1: SQL clauses */
|
2310 |
-
trigger_error( sprintf( __( 'mla_query_posts_clauses_filter = "%
|
2311 |
} else {
|
2312 |
-
/* translators: 1: SQL clauses */
|
2313 |
-
error_log( sprintf( _x( '
|
2314 |
}
|
2315 |
|
2316 |
return $pieces;
|
@@ -2330,11 +2531,11 @@ class MLAData {
|
|
2330 |
*/
|
2331 |
public static function mla_query_posts_clauses_request_filter( $pieces ) {
|
2332 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2333 |
-
/* translators: 1: SQL clauses */
|
2334 |
-
trigger_error( sprintf( __( 'mla_query_posts_clauses_request_filter = "%
|
2335 |
} else {
|
2336 |
-
/* translators: 1: SQL clauses */
|
2337 |
-
error_log( sprintf( _x( '
|
2338 |
}
|
2339 |
|
2340 |
return $pieces;
|
@@ -2367,14 +2568,14 @@ class MLAData {
|
|
2367 |
|
2368 |
$item = get_post( $post_id );
|
2369 |
if ( empty( $item ) ) {
|
2370 |
-
/* translators: 1: post ID */
|
2371 |
-
error_log( sprintf( _x( '
|
2372 |
return NULL;
|
2373 |
}
|
2374 |
|
2375 |
if ( $item->post_type != 'attachment' ) {
|
2376 |
-
/* translators: 1: post ID
|
2377 |
-
error_log( sprintf( _x( '
|
2378 |
return NULL;
|
2379 |
}
|
2380 |
|
@@ -2424,16 +2625,20 @@ class MLAData {
|
|
2424 |
if ( $parent_id ) {
|
2425 |
$parent = get_post( $parent_id );
|
2426 |
|
2427 |
-
if ( isset( $parent->
|
2428 |
-
$parent_data['
|
|
|
|
|
|
|
|
|
2429 |
}
|
2430 |
|
2431 |
if ( isset( $parent->post_title ) ) {
|
2432 |
$parent_data['parent_title'] = $parent->post_title;
|
2433 |
}
|
2434 |
|
2435 |
-
if ( isset( $parent->
|
2436 |
-
$parent_data['
|
2437 |
}
|
2438 |
|
2439 |
if ( isset( $parent->post_status ) ) {
|
@@ -3020,6 +3225,20 @@ class MLAData {
|
|
3020 |
'parent_errors' => ''
|
3021 |
);
|
3022 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3023 |
/*
|
3024 |
* Collect the raw data for where-used analysis
|
3025 |
*/
|
@@ -3050,7 +3269,7 @@ class MLAData {
|
|
3050 |
}
|
3051 |
|
3052 |
$sizes = isset( $attachment_metadata['sizes'] ) ? $attachment_metadata['sizes'] : NULL;
|
3053 |
-
if ( ! empty( $sizes ) ) {
|
3054 |
/* Using the path and name as the array key ensures each name is added only once */
|
3055 |
foreach ( $sizes as $size => $size_info ) {
|
3056 |
$size_info['size'] = $size;
|
@@ -3101,8 +3320,6 @@ class MLAData {
|
|
3101 |
$exclude_revisions = " AND (post_type <> 'revision')";
|
3102 |
}
|
3103 |
|
3104 |
-
$inserted_in_option = MLAOptions::mla_get_option( MLAOptions::MLA_INSERTED_IN_TUNING );
|
3105 |
-
$initial_references['inserted_option'] = $inserted_in_option;
|
3106 |
if ( MLAOptions::$process_inserted_in ) {
|
3107 |
$wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
|
3108 |
$query_parameters = array();
|
@@ -3730,8 +3947,8 @@ class MLAData {
|
|
3730 |
} elseif ( 'stream' == substr( $matches[0][ $index ][0], 0, 6 ) ) {
|
3731 |
$is_stream = true;
|
3732 |
} else {
|
3733 |
-
/* translators: 1: index */
|
3734 |
-
error_log( sprintf( _x( '
|
3735 |
}
|
3736 |
} // for each match
|
3737 |
}
|
@@ -4055,10 +4272,10 @@ class MLAData {
|
|
4055 |
do {
|
4056 |
$dictionary_end = strpos( $source_string, '>>', $nest );
|
4057 |
if ( false === $dictionary_end ) {
|
4058 |
-
/* translators: 1: source offset
|
4059 |
-
error_log( sprintf( _x( '
|
4060 |
-
/* translators: 1: dictionary excerpt */
|
4061 |
-
error_log( sprintf( _x( '
|
4062 |
return array( '/length' => 0 );
|
4063 |
}
|
4064 |
|
@@ -4103,8 +4320,8 @@ class MLAData {
|
|
4103 |
$length = strlen( $value );
|
4104 |
$dictionary[ $name ]['value'] = $value;
|
4105 |
if ( ! isset( $value[0] ) ) {
|
4106 |
-
/* translators: 1: entry name
|
4107 |
-
error_log( sprintf( _x( '
|
4108 |
continue;
|
4109 |
}
|
4110 |
|
@@ -4218,10 +4435,10 @@ class MLAData {
|
|
4218 |
$xml_parser = xml_parser_create('UTF-8');
|
4219 |
if ( xml_parser_set_option( $xml_parser, XML_OPTION_SKIP_WHITE, 0 ) && xml_parser_set_option( $xml_parser, XML_OPTION_CASE_FOLDING, 0 ) ) {
|
4220 |
if (xml_parse_into_struct( $xml_parser, $xmp_string, $xmp_values ) == 0) {
|
4221 |
-
error_log(
|
4222 |
}
|
4223 |
} else {
|
4224 |
-
error_log(
|
4225 |
}
|
4226 |
|
4227 |
xml_parser_free($xml_parser);
|
@@ -4577,8 +4794,8 @@ class MLAData {
|
|
4577 |
*/
|
4578 |
$match_count = preg_match_all( '/startxref[\x00-\x20]+(\d+)[\x00-\x20]+\%\%EOF/', $tail, $matches, PREG_OFFSET_CAPTURE );
|
4579 |
if ( 0 == $match_count ) {
|
4580 |
-
/* translators: 1: path and file */
|
4581 |
-
error_log( sprintf( _x( '
|
4582 |
return $metadata;
|
4583 |
}
|
4584 |
|
@@ -5094,6 +5311,22 @@ class MLAData {
|
|
5094 |
} elseif ( is_string( $text ) ) {
|
5095 |
$text = self::_bin_to_utf8( $text );
|
5096 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5097 |
}
|
5098 |
|
5099 |
return $text;
|
@@ -5219,6 +5452,47 @@ class MLAData {
|
|
5219 |
return $parts[0] / ( $parts[1] ? $parts[1] : 1);
|
5220 |
}
|
5221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5222 |
/**
|
5223 |
* Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
|
5224 |
* and mla_fetch_attachment_image_metadata
|
@@ -5308,7 +5582,7 @@ class MLAData {
|
|
5308 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
5309 |
$results['mla_iptc_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
5310 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
5311 |
-
error_log( 'ERROR: $results[mla_iptc_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
|
5312 |
}
|
5313 |
|
5314 |
if ( ! is_array( $iptc_values ) ) {
|
@@ -5332,28 +5606,179 @@ class MLAData {
|
|
5332 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
5333 |
$results['mla_exif_metadata'] = $exif_data = @exif_read_data( $path );
|
5334 |
//restore_error_handler();
|
5335 |
-
|
5336 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
5337 |
$results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
5338 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
5339 |
-
error_log( 'ERROR: $results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5340 |
}
|
5341 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5342 |
}
|
5343 |
|
5344 |
/*
|
5345 |
* Expand EXIF GPS values
|
5346 |
*/
|
5347 |
-
$
|
5348 |
if ( isset( $exif_data['GPSVersion'] ) ) {
|
5349 |
-
$
|
5350 |
}
|
5351 |
|
5352 |
if ( isset( $exif_data['GPSLatitudeRef'] ) ) {
|
5353 |
-
$
|
5354 |
-
$
|
5355 |
-
$ref = $
|
5356 |
-
$refs = $
|
5357 |
} else {
|
5358 |
$ref = '';
|
5359 |
$refs = '';
|
@@ -5361,28 +5786,28 @@ class MLAData {
|
|
5361 |
|
5362 |
if ( isset( $exif_data['GPSLatitude'] ) ) {
|
5363 |
$rational = $exif_data['GPSLatitude'];
|
5364 |
-
$
|
5365 |
-
$
|
5366 |
-
$
|
5367 |
$decimal_minutes = $minutes + ( $seconds / 60 );
|
5368 |
$decimal_degrees = ( $decimal_minutes / 60 );
|
5369 |
|
5370 |
-
$
|
5371 |
-
$
|
5372 |
-
$
|
5373 |
-
$
|
5374 |
-
$
|
5375 |
-
$
|
5376 |
-
$
|
5377 |
-
$
|
5378 |
-
$
|
5379 |
}
|
5380 |
|
5381 |
if ( isset( $exif_data['GPSLongitudeRef'] ) ) {
|
5382 |
-
$
|
5383 |
-
$
|
5384 |
-
$ref = $
|
5385 |
-
$refs = $
|
5386 |
} else {
|
5387 |
$ref = '';
|
5388 |
$refs = '';
|
@@ -5390,58 +5815,58 @@ class MLAData {
|
|
5390 |
|
5391 |
if ( isset( $exif_data['GPSLongitude'] ) ) {
|
5392 |
$rational = $exif_data['GPSLongitude'];
|
5393 |
-
$
|
5394 |
-
$
|
5395 |
-
$
|
5396 |
$decimal_minutes = $minutes + ( $seconds / 60 );
|
5397 |
$decimal_degrees = ( $decimal_minutes / 60 );
|
5398 |
|
5399 |
-
$
|
5400 |
-
$
|
5401 |
-
$
|
5402 |
-
$
|
5403 |
-
$
|
5404 |
-
$
|
5405 |
-
$
|
5406 |
-
$
|
5407 |
-
$
|
5408 |
}
|
5409 |
|
5410 |
if ( isset( $exif_data['GPSAltitudeRef'] ) ) {
|
5411 |
-
$
|
5412 |
-
$
|
5413 |
-
$refs = $
|
5414 |
} else {
|
5415 |
$refs = '';
|
5416 |
}
|
5417 |
|
5418 |
if ( isset( $exif_data['GPSAltitude'] ) ) {
|
5419 |
-
$
|
5420 |
-
$
|
5421 |
}
|
5422 |
|
5423 |
if ( isset( $exif_data['GPSTimeStamp'] ) ) {
|
5424 |
$rational = $exif_data['GPSTimeStamp'];
|
5425 |
-
$
|
5426 |
-
$
|
5427 |
-
$
|
5428 |
-
$
|
5429 |
}
|
5430 |
|
5431 |
if ( isset( $exif_data['GPSDateStamp'] ) ) {
|
5432 |
$parts = explode( ':', $exif_data['GPSDateStamp'] );
|
5433 |
-
$
|
5434 |
-
$
|
5435 |
-
$
|
5436 |
-
$
|
5437 |
}
|
5438 |
|
5439 |
if ( isset( $exif_data['GPSMapDatum'] ) ) {
|
5440 |
-
$
|
5441 |
}
|
5442 |
|
5443 |
-
if ( ! empty( $
|
5444 |
-
$results['mla_exif_metadata']['GPS'] = $
|
5445 |
}
|
5446 |
|
5447 |
/*
|
@@ -5496,10 +5921,10 @@ class MLAData {
|
|
5496 |
if ( empty( $value ) ) {
|
5497 |
if ( self::_unset_array_element( $key, $current_values ) ) {
|
5498 |
/* translators: 1: meta_key */
|
5499 |
-
$message .= sprintf( __( 'Deleting
|
5500 |
} else {
|
5501 |
-
/* translators: 1: meta_key */
|
5502 |
-
$message .= sprintf( __( '
|
5503 |
}
|
5504 |
|
5505 |
continue;
|
@@ -5508,11 +5933,11 @@ class MLAData {
|
|
5508 |
if ( ! empty( $value ) ) {
|
5509 |
if ( self::_set_array_element( $key, $value, $current_values ) ) {
|
5510 |
/* translators: 1: meta_key 2: meta_value */
|
5511 |
-
$message .= sprintf( __( 'Adding
|
5512 |
( is_array( $value ) ) ? var_export( $value, true ) : $value );
|
5513 |
} else {
|
5514 |
-
/* translators: 1: meta_key */
|
5515 |
-
$message .= sprintf( __( '
|
5516 |
}
|
5517 |
|
5518 |
continue;
|
@@ -5526,15 +5951,15 @@ class MLAData {
|
|
5526 |
}
|
5527 |
} // old_value empty
|
5528 |
|
5529 |
-
if ( $old_value
|
5530 |
if ( self::_set_array_element( $key, $value, $current_values ) ) {
|
5531 |
/* translators: 1: element name 2: old_value 3: new_value */
|
5532 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', 'meta:' . $key,
|
5533 |
( is_array( $old_value ) ) ? var_export( $old_value, true ) : $old_value,
|
5534 |
( is_array( $value ) ) ? var_export( $value, true ) : $value );
|
5535 |
} else {
|
5536 |
-
/* translators: 1: meta_key */
|
5537 |
-
$message .= sprintf( __( '
|
5538 |
}
|
5539 |
}
|
5540 |
} // foreach new_meta
|
@@ -5605,7 +6030,7 @@ class MLAData {
|
|
5605 |
foreach ( $meta_value as $new_value ) {
|
5606 |
if ( add_post_meta( $post_id, $meta_key, $new_value ) ) {
|
5607 |
/* translators: 1: meta_key 2: new_value */
|
5608 |
-
$message .= sprintf( __( 'Adding %1$s =
|
5609 |
}
|
5610 |
}
|
5611 |
} else {
|
@@ -5667,7 +6092,7 @@ class MLAData {
|
|
5667 |
/* translators: 1: meta_key 2: old_value 3: new_value 4: update count*/
|
5668 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"; %4$d updates', 'media-library-assistant' ) . '<br>', 'meta:' . $meta_key, $old_text, $new_text, $updated );
|
5669 |
}
|
5670 |
-
} elseif ( $old_meta_value
|
5671 |
if ( is_array( $old_meta_value ) ) {
|
5672 |
delete_post_meta( $post_id, $meta_key );
|
5673 |
}
|
@@ -5723,7 +6148,7 @@ class MLAData {
|
|
5723 |
$post_data = self::mla_get_attachment_by_id( $post_id, false );
|
5724 |
if ( !isset( $post_data ) ) {
|
5725 |
return array(
|
5726 |
-
'message' =>
|
5727 |
'body' => ''
|
5728 |
);
|
5729 |
}
|
@@ -5763,8 +6188,8 @@ class MLAData {
|
|
5763 |
$my_posts = get_posts( $args );
|
5764 |
|
5765 |
if ( $my_posts ) {
|
5766 |
-
/* translators: 1: old_value */
|
5767 |
-
$message .= sprintf( __( '
|
5768 |
} else {
|
5769 |
/* translators: 1: element name 2: old_value 3: new_value */
|
5770 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', __( 'Name/Slug', 'media-library-assistant' ), esc_attr( $post_data[ $key ] ), esc_attr( $value ) );
|
@@ -5795,16 +6220,16 @@ class MLAData {
|
|
5795 |
/* translators: 1: old_value */
|
5796 |
$message .= sprintf( __( 'Deleting ALT Text, was "%1$s"', 'media-library-assistant' ) . '<br>', esc_attr( $post_data[ $key ] ) );
|
5797 |
} else {
|
5798 |
-
/* translators: 1: old_value */
|
5799 |
-
$message .= sprintf( __( '
|
5800 |
}
|
5801 |
} else {
|
5802 |
if ( update_post_meta( $post_id, '_wp_attachment_image_alt', $value ) ) {
|
5803 |
/* translators: 1: element name 2: old_value 3: new_value */
|
5804 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', __( 'ALT Text', 'media-library-assistant' ), esc_attr( $post_data[ $key ] ), esc_attr( $value ) );
|
5805 |
} else {
|
5806 |
-
/* translators: 1:
|
5807 |
-
$message .= sprintf( __( '
|
5808 |
}
|
5809 |
}
|
5810 |
break;
|
@@ -5982,8 +6407,8 @@ class MLAData {
|
|
5982 |
);
|
5983 |
} else {
|
5984 |
return array(
|
5985 |
-
/* translators: 1: post ID */
|
5986 |
-
'message' => sprintf( __( '
|
5987 |
'body' => ''
|
5988 |
);
|
5989 |
}
|
97 |
|
98 |
$template = file_get_contents( $source, true );
|
99 |
if ( $template == false ) {
|
100 |
+
/* translators: 1: ERROR tag 2: path and file name */
|
101 |
+
error_log( sprintf( _x( '%1$s: mla_load_template file "%2$s" not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), var_export( $source, true ) ), 0 );
|
102 |
return NULL;
|
103 |
}
|
104 |
break;
|
115 |
}
|
116 |
break;
|
117 |
default:
|
118 |
+
/* translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string */
|
119 |
+
error_log( sprintf( _x( '%1$s: mla_load_template file "%2$s" bad source type "%3$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $source, $type ), 0 );
|
120 |
return NULL;
|
121 |
}
|
122 |
|
194 |
do {
|
195 |
$template_end = strpos( $tpl, '+]', $nest );
|
196 |
if ( false === $template_end ) {
|
197 |
+
/* translators: 1: ERROR tag 2: template excerpt */
|
198 |
+
error_log( sprintf( _x( '%1$s: _find_template_substring no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), 0 );
|
199 |
return '';
|
200 |
}
|
201 |
|
253 |
$offset = $start + $template_length;
|
254 |
} else { // found template
|
255 |
if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
|
256 |
+
/* translators: 1: ERROR tag 2: template excerpt */
|
257 |
+
error_log( sprintf( _x( '%1$s: mla_parse_array_template no template end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), 0 );
|
258 |
return $tpl;
|
259 |
} // no end delimiter
|
260 |
|
341 |
$offset = $start;
|
342 |
} else { // found template
|
343 |
if ( false === $end = strpos( $tpl, '+]', $offset ) ) {
|
344 |
+
/* translators: 1: ERROR tag 2: template excerpt */
|
345 |
+
error_log( sprintf( _x( '%1$s: mla_parse_template no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $offset ) ), 0 );
|
346 |
return $tpl;
|
347 |
} // no end delimiter
|
348 |
|
385 |
do {
|
386 |
$test_end = strpos( $tpl, ')', $nest );
|
387 |
if ( false === $test_end ) {
|
388 |
+
/* translators: 1: ERROR tag 2: template string */
|
389 |
+
error_log( sprintf( _x( '%1$s: _find_test_substring no end delimiter, tail = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), substr( $tpl, $nest ) ), 0 );
|
390 |
return '';
|
391 |
}
|
392 |
|
489 |
elseif ( 2 == $test_length ) {
|
490 |
$index++; // empty test string
|
491 |
} else {
|
492 |
+
$test_content = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Test; no closing parenthesis ', 'media-library-assistant' );
|
493 |
$output_values[] = array( 'type' => 'string', 'value' => $test_content, 'length' => strlen( $test_content ) );
|
494 |
} // bad test string
|
495 |
} // (test) element
|
527 |
}
|
528 |
|
529 |
$index += strlen( $template_content ) - 1;
|
530 |
+
} // nested template
|
531 |
+
elseif ( '[' == $byte ) {
|
532 |
+
$match_count = preg_match( '/\[\+.+?\+\]/', $tpl, $matches, 0, $index - 1 );
|
533 |
+
if ( $match_count ) {
|
534 |
+
// found substitution parameter
|
535 |
+
$output .= $matches[0];
|
536 |
+
$index += strlen( $matches[0] ) - 1;
|
537 |
+
} else {
|
538 |
+
$output .= $byte;
|
539 |
+
}
|
540 |
+
} // maybe substitution parameter
|
541 |
+
else {
|
542 |
$output .= $byte;
|
543 |
}
|
544 |
} // $index < $max_length
|
644 |
|
645 |
break;
|
646 |
default:
|
647 |
+
/* translators: 1: ERROR tag 2: node type, e.g., template */
|
648 |
+
error_log( sprintf( _x( '%1$s: _evaluate_template_array_node unknown type "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $node ), 0 );
|
649 |
} // node type
|
650 |
} // isset node type
|
651 |
|
707 |
|
708 |
return $results;
|
709 |
default:
|
710 |
+
/* translators: 1: ERROR tag 2: node type, e.g., template */
|
711 |
+
error_log( sprintf( _x( '%1$s: _evaluate_template_node unknown type "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $node ), 0 );
|
712 |
} // node type
|
713 |
|
714 |
return '';
|
796 |
return $text;
|
797 |
}
|
798 |
|
799 |
+
/**
|
800 |
+
* Process an argument list within a field-level parameter format specification
|
801 |
+
*
|
802 |
+
* @since 2.02
|
803 |
+
*
|
804 |
+
* @param string arguments, e.g., ('d/m/Y H:i:s' , "arg, \" two" ) without parens
|
805 |
+
*
|
806 |
+
* @return array individual arguments, e.g. array( 0 => 'd/m/Y H:i:s', 1 => 'arg, \" two' )
|
807 |
+
*/
|
808 |
+
private static function _parse_arguments( $argument_string ) {
|
809 |
+
$argument_string = trim( $argument_string, " \n\t\r\0\x0B," );
|
810 |
+
$arguments = array();
|
811 |
+
|
812 |
+
while ( strlen( $argument_string ) ) {
|
813 |
+
$argument = '';
|
814 |
+
$index = 0;
|
815 |
+
|
816 |
+
// Check for enclosing quotes
|
817 |
+
$delimiter = $argument_string[0];
|
818 |
+
if ( '\'' == $delimiter || '"' == $delimiter ) {
|
819 |
+
$index++;
|
820 |
+
} else {
|
821 |
+
$delimiter = '';
|
822 |
+
}
|
823 |
+
|
824 |
+
while ( $index < strlen( $argument_string ) ) {
|
825 |
+
$byte = $argument_string[ $index++ ];
|
826 |
+
if ( '\\' == $byte ) {
|
827 |
+
switch ( $source_string[ $index ] ) {
|
828 |
+
case 'n':
|
829 |
+
$argument .= chr( 0x0A );
|
830 |
+
break;
|
831 |
+
case 'r':
|
832 |
+
$argument .= chr( 0x0D );
|
833 |
+
break;
|
834 |
+
case 't':
|
835 |
+
$argument .= chr( 0x09 );
|
836 |
+
break;
|
837 |
+
case 'b':
|
838 |
+
$argument .= chr( 0x08 );
|
839 |
+
break;
|
840 |
+
case 'f':
|
841 |
+
$argument .= chr( 0x0C );
|
842 |
+
break;
|
843 |
+
default: // could be a 1- to 3-digit octal value
|
844 |
+
$digit_limit = $index + 3;
|
845 |
+
$digit_index = $index;
|
846 |
+
while ( $digit_index < $digit_limit ) {
|
847 |
+
if ( ! ctype_digit( $argument_string[ $digit_index ] ) ) {
|
848 |
+
break;
|
849 |
+
} else {
|
850 |
+
$digit_index++;
|
851 |
+
}
|
852 |
+
}
|
853 |
+
|
854 |
+
if ( $digit_count = $digit_index - $index ) {
|
855 |
+
$argument .= chr( octdec( substr( $argument_string, $index, $digit_count ) ) );
|
856 |
+
$index += $digit_count - 1;
|
857 |
+
} else { // accept the character following the backslash
|
858 |
+
$argument .= $argument_string[ $index ];
|
859 |
+
}
|
860 |
+
} // switch
|
861 |
+
|
862 |
+
$index++;
|
863 |
+
} else { // backslash
|
864 |
+
if ( $delimiter == $byte ) {
|
865 |
+
break;
|
866 |
+
}
|
867 |
+
|
868 |
+
$argument .= $byte;
|
869 |
+
} // just another 8-bit value, but check for closing delimiter
|
870 |
+
} // index < strlen
|
871 |
+
|
872 |
+
$arguments[] = $argument;
|
873 |
+
$argument_string = trim( substr( $argument_string, $index ), " \n\t\r\0\x0B," );
|
874 |
+
} // strlen( $argument_string )
|
875 |
+
|
876 |
+
return $arguments;
|
877 |
+
}
|
878 |
+
|
879 |
/**
|
880 |
* Analyze a template, expanding Field-level Markup Substitution Parameters
|
881 |
*
|
1123 |
$markup_values[ $key ] = urlencode( $markup_values[ $key ] );
|
1124 |
} elseif ( ( 'commas' == $value['format'] ) && is_numeric( $markup_values[ $key ] ) ) {
|
1125 |
$markup_values[ $key ] = number_format( (float)$markup_values[ $key ] );
|
1126 |
+
} elseif ( 'timestamp' == $value['format'] && is_numeric( $markup_values[ $key ] ) ) {
|
1127 |
+
/*
|
1128 |
+
* date "Returns a string formatted according to the given format string using the given integer"
|
1129 |
+
*/
|
1130 |
+
$format = empty( $value['args'] ) ? 'd/m/Y H:i:s' : $value['args'];
|
1131 |
+
$markup_values[ $key ] = date( $format , (integer) $markup_values[ $key ] );
|
1132 |
+
} elseif ( 'date' == $value['format'] ) {
|
1133 |
+
/*
|
1134 |
+
* strtotime will "Parse about any English textual datetime description into a Unix timestamp"
|
1135 |
+
* If it succeeds we can format the timestamp for display
|
1136 |
+
*/
|
1137 |
+
$format = empty( $value['args'] ) ? 'd/m/Y H:i:s' : $value['args'];
|
1138 |
+
$timestamp = strtotime( $markup_values[ $key ] );
|
1139 |
+
if( false !== $timestamp ) {
|
1140 |
+
$markup_values[ $key ] = date( $format, $timestamp );
|
1141 |
+
}
|
1142 |
+
} elseif ( 'fraction' == $value['format'] ) {
|
1143 |
+
$show_fractions = true;
|
1144 |
+
if ( ! empty( $value['args'] ) ) {
|
1145 |
+
if ( is_array( $value['args'] ) ) {
|
1146 |
+
if ( is_numeric( $value['args'][0] ) ) {
|
1147 |
+
$format = '%1$+.' . absint( $value['args'][0] ) . 'f';
|
1148 |
+
} else {
|
1149 |
+
$format = $value['args'][0];
|
1150 |
+
}
|
1151 |
+
|
1152 |
+
$show_fractions = ( 'false' !== strtolower( trim( $value['args'][1] ) ) );
|
1153 |
+
} else {
|
1154 |
+
if ( is_numeric( $value['args'] ) ) {
|
1155 |
+
$format = '%1$+.' . absint( $value['args'] ) . 'f';
|
1156 |
+
} else {
|
1157 |
+
$format = $value['args'];
|
1158 |
+
}
|
1159 |
+
}
|
1160 |
+
} else {
|
1161 |
+
$format = '%1$+.2f';
|
1162 |
+
}
|
1163 |
+
|
1164 |
+
$fragments = array_map( 'intval', explode( '/', $markup_values[ $key ] ) );
|
1165 |
+
if ( 1 == count( $fragments ) ) {
|
1166 |
+
$value = trim( $markup_values[ $key ] );
|
1167 |
+
if ( ! empty( $value ) ) {
|
1168 |
+
$markup_values[ $key ] = $value;
|
1169 |
+
}
|
1170 |
+
} else {
|
1171 |
+
if ( $fragments[0] ) {
|
1172 |
+
if ( 1 == $fragments[1] ) {
|
1173 |
+
$markup_values[ $key ] = sprintf( '%1$+d', $fragments[0] );
|
1174 |
+
} elseif ( 0 != $fragments[1] ) {
|
1175 |
+
$value = $fragments[0] / $fragments[1];
|
1176 |
+
if ( $show_fractions && ( -1 <= $value ) && ( 1 >= $value ) ) {
|
1177 |
+
$markup_values[ $key ] = sprintf( '%1$+d/%2$d', $fragments[0], $fragments[1] );
|
1178 |
+
} else {
|
1179 |
+
$markup_values[ $key ] = sprintf( $format, $value );
|
1180 |
+
}
|
1181 |
+
} // fractional value
|
1182 |
+
} // non-zero numerator
|
1183 |
+
} // valid denominator
|
1184 |
+
}
|
1185 |
+
} // isset( $markup_values[ $key ] )
|
1186 |
} // foreach placeholder
|
1187 |
|
1188 |
if ( $template_count ) {
|
1216 |
do {
|
1217 |
$template_end = strpos( $tpl, '+]', $nest );
|
1218 |
if ( false === $template_end ) {
|
1219 |
+
/* translators: 1: ERROR tag 2: template excerpt */
|
1220 |
+
error_log( sprintf( _x( '%1$s: mla_get_template_placeholders no template-end delimiter dump = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), self::_hex_dump( substr( $tpl, $template_offset, 128 ), 128, 16 ) ), 0 );
|
1221 |
return array();
|
1222 |
}
|
1223 |
|
1243 |
$tpl = substr_replace( $tpl, '', $template_offset, $template_length );
|
1244 |
} // found a template
|
1245 |
|
1246 |
+
$match_count = preg_match_all( '/\[\+.+?\+\]/', $tpl, $matches );
|
1247 |
if ( ( $match_count == false ) || ( $match_count == 0 ) ) {
|
1248 |
return $results;
|
1249 |
}
|
1251 |
foreach ( $matches[0] as $match ) {
|
1252 |
$key = substr( $match, 2, (strlen( $match ) - 4 ) );
|
1253 |
$result = array( 'prefix' => '', 'value' => '', 'option' => $default_option, 'format' => 'native' );
|
1254 |
+
$match_count = preg_match( '/\[\+([^:]+):(.+)/', $match, $matches );
|
1255 |
if ( 1 == $match_count ) {
|
1256 |
$result['prefix'] = $matches[1];
|
1257 |
$tail = $matches[2];
|
1259 |
$tail = substr( $match, 2);
|
1260 |
}
|
1261 |
|
1262 |
+
$match_count = preg_match( '/([^,]+)(,(text|single|export|array|multi|commas|raw|attr|url|timestamp|date|fraction))(\(([^)]+)\))*\+\]/', $tail, $matches );
|
1263 |
if ( 1 == $match_count ) {
|
1264 |
$result['value'] = $matches[1];
|
1265 |
+
if ( ! empty( $matches[5] ) ) {
|
1266 |
+
/* $args = array_map( 'trim', explode( ',', trim( $matches[5], " \n\t\r\0\x0B," ) ) );
|
1267 |
+
foreach ( $args as $index => $arg ) {
|
1268 |
+
// trim exactly one pair of balanced quotes, if present
|
1269 |
+
$length = strlen( $arg );
|
1270 |
+
if ( $length > 1 ) {
|
1271 |
+
$first = $arg[0];
|
1272 |
+
$last = $arg[ $length - 1 ];
|
1273 |
+
if ( $first === $last && in_array( $first, array ( '\'', '"' ) ) ) {
|
1274 |
+
$args[ $index ] = ( 2 < $length ) ? substr( $arg, 1, $length - 2 ) : '';;
|
1275 |
+
}
|
1276 |
+
}
|
1277 |
+
} */
|
1278 |
+
$args = self::_parse_arguments( $matches[5] );
|
1279 |
+
|
1280 |
+
if ( 1 == count( $args ) ) {
|
1281 |
+
$args = $args[0];
|
1282 |
+
}
|
1283 |
+
} else {
|
1284 |
+
$args = '';
|
1285 |
+
}
|
1286 |
|
1287 |
if ( 'commas' == $matches[3] ) {
|
1288 |
$result['option'] = 'text';
|
1296 |
} elseif ( 'url' == $matches[3] ) {
|
1297 |
$result['option'] = 'text';
|
1298 |
$result['format'] = 'url';
|
1299 |
+
} elseif ( 'timestamp' == $matches[3] ) {
|
1300 |
+
$result['option'] = 'text';
|
1301 |
+
$result['format'] = 'timestamp';
|
1302 |
+
$result['args'] = $args;
|
1303 |
+
} elseif ( 'date' == $matches[3] ) {
|
1304 |
+
$result['option'] = 'text';
|
1305 |
+
$result['format'] = 'date';
|
1306 |
+
$result['args'] = $args;
|
1307 |
+
} elseif ( 'fraction' == $matches[3] ) {
|
1308 |
+
$result['option'] = 'text';
|
1309 |
+
$result['format'] = 'fraction';
|
1310 |
+
$result['args'] = $args;
|
1311 |
} else {
|
1312 |
$result['option'] = $matches[3];
|
1313 |
}
|
1486 |
* sanitize or validate them.
|
1487 |
*/
|
1488 |
if ( ! is_array( $raw_request ) ) {
|
1489 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1490 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAData::_prepare_list_table_query', var_export( $raw_request, true ) ), 0 );
|
1491 |
return null;
|
1492 |
}
|
1493 |
|
1535 |
if ( in_array( $value, array( 'none', 'post__in' ) ) ) {
|
1536 |
$clean_request[ $key ] = $value;
|
1537 |
} else {
|
1538 |
+
$orderby = NULL;
|
1539 |
+
/*
|
1540 |
+
* Custom fields can have HTML reserved characters, which are encoded by
|
1541 |
+
* mla_get_sortable_columns, so a separate, unencoded list is required.
|
1542 |
+
*/
|
1543 |
+
$sortable_columns = MLAOptions::mla_custom_field_support( 'custom_sortable_columns' );
|
1544 |
foreach ($sortable_columns as $sort_key => $sort_value ) {
|
1545 |
if ( $value == $sort_value[0] ) {
|
1546 |
+
$orderby = 'c_' . $value;
|
1547 |
break;
|
1548 |
}
|
1549 |
} // foreach
|
1550 |
+
|
1551 |
+
if ( NULL === $orderby ) {
|
1552 |
+
$sortable_columns = MLA_List_Table::mla_get_sortable_columns();
|
1553 |
+
foreach ($sortable_columns as $sort_key => $sort_value ) {
|
1554 |
+
if ( $value == $sort_value[0] ) {
|
1555 |
+
$orderby = $value;
|
1556 |
+
break;
|
1557 |
+
}
|
1558 |
+
} // foreach
|
1559 |
+
}
|
1560 |
+
|
1561 |
+
if ( NULL !== $orderby ) {
|
1562 |
+
$clean_request[ $key ] = $orderby;
|
1563 |
+
}
|
1564 |
}
|
1565 |
break;
|
1566 |
/*
|
1755 |
* We have to handle custom field/post_meta values here
|
1756 |
* because they need a JOIN clause supplied by WP_Query
|
1757 |
*/
|
1758 |
+
if ( 'c_' == substr( $clean_request['orderby'], 0, 2 ) ) {
|
1759 |
+
$option_value = MLAOptions::mla_custom_field_option_value( $clean_request['orderby'] );
|
1760 |
if ( isset( $option_value['name'] ) ) {
|
1761 |
self::$query_parameters['use_postmeta_view'] = true;
|
1762 |
self::$query_parameters['postmeta_key'] = $option_value['name'];
|
1920 |
$debug_array = array( 'posts_search' => $wp_filter['posts_search'], 'posts_join' => $wp_filter['posts_join'], 'posts_where' => $wp_filter['posts_where'], 'posts_orderby' => $wp_filter['posts_orderby'] );
|
1921 |
|
1922 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
1923 |
+
/* translators: 1: DEBUG tag 2: query filter details */
|
1924 |
+
trigger_error( sprintf( __( '%1$s: _execute_list_table_query $wp_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), E_USER_WARNING );
|
1925 |
} else {
|
1926 |
+
/* translators: 1: DEBUG tag 2: query filter details */
|
1927 |
+
error_log( sprintf( _x( '%1$s: _execute_list_table_query $wp_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), 0 );
|
1928 |
}
|
1929 |
|
1930 |
add_filter( 'posts_clauses', 'MLAData::mla_query_posts_clauses_filter', 0x7FFFFFFF, 1 );
|
1940 |
$debug_array = array( 'request' => $request, 'query_parameters' => self::$query_parameters, 'post_count' => $results->post_count, 'found_posts' => $results->found_posts );
|
1941 |
|
1942 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
1943 |
+
/* translators: 1: DEBUG tag 2: query details */
|
1944 |
+
trigger_error( sprintf( __( '%1$s: _execute_list_table_query WP_Query = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), E_USER_WARNING );
|
1945 |
+
/* translators: 1: DEBUG tag 2: SQL statement */
|
1946 |
+
trigger_error( sprintf( __( '%1$s: _execute_list_table_query SQL_request = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $results->request, true ) ), E_USER_WARNING );
|
1947 |
} else {
|
1948 |
+
/* translators: 1: DEBUG tag 2: query details */
|
1949 |
+
error_log( sprintf( _x( '%1$s: _execute_list_table_query WP_Query = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), 0 );
|
1950 |
+
/* translators: 1: DEBUG tag 2: SQL statement */
|
1951 |
+
error_log( sprintf( _x( '%1$s: _execute_list_table_query SQL_request = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $results->request, true ) ), 0 );
|
1952 |
}
|
1953 |
} // debug
|
1954 |
|
2008 |
/*
|
2009 |
* Process the Terms Search arguments, if present.
|
2010 |
*/
|
2011 |
+
if ( isset( self::$search_parameters['mla_terms_search']['phrases'] ) ) {
|
2012 |
$terms = array_map( 'trim', explode( ',', self::$search_parameters['mla_terms_search']['phrases'] ) );
|
2013 |
if ( 1 < count( $terms ) ) {
|
2014 |
$terms_connector = '(';
|
2164 |
* separated by taxonomy.
|
2165 |
*/
|
2166 |
if ( in_array( 'terms', $fields ) ) {
|
2167 |
+
$the_terms = get_terms( self::$search_parameters['mla_search_taxonomies'], array( 'name__like' => $term, 'fields' => 'all', 'hide_empty' => false ) );
|
2168 |
foreach( $the_terms as $the_term ) {
|
2169 |
$tax_terms[ $the_term->taxonomy ][ $the_term->term_id ] = (integer) $the_term->term_taxonomy_id;
|
2170 |
|
2243 |
if ( 'shortcode' == self::$search_parameters['debug'] ) {
|
2244 |
self::$search_parameters['mla_debug_messages'] = '<p><strong>mla_debug posts_search filter</strong> = ' . var_export( $debug_array, true ) . '</p>';
|
2245 |
} elseif ( 'console' == self::$search_parameters['debug'] ) {
|
2246 |
+
/* translators: 1: DEBUG tag 2: search filter details */
|
2247 |
+
trigger_error( sprintf( __( '%1$s: mla_query_posts_search_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), E_USER_WARNING );
|
2248 |
} else {
|
2249 |
+
/* translators: 1: DEBUG tag 2: search filter details */
|
2250 |
+
error_log( sprintf( _x( '%1$s: mla_query_posts_search_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), 0 );
|
2251 |
}
|
2252 |
} // debug
|
2253 |
|
2312 |
$debug_array['where_clause'] = $where_clause;
|
2313 |
|
2314 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2315 |
+
/* translators: 1: DEBUG tag 2: where filter details */
|
2316 |
+
trigger_error( sprintf( __( '%1$s: mla_query_posts_where_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), E_USER_WARNING );
|
2317 |
} else {
|
2318 |
+
/* translators: 1: DEBUG tag 2: where filter details */
|
2319 |
+
error_log( sprintf( _x( '%1$s: mla_query_posts_where_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), 0 );
|
2320 |
}
|
2321 |
} // debug
|
2322 |
|
2366 |
$debug_array['join_clause'] = $join_clause;
|
2367 |
|
2368 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2369 |
+
/* translators: 1: DEBUG tag 2: join filter details */
|
2370 |
+
trigger_error( sprintf( __( '%1$s: mla_query_posts_join_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), E_USER_WARNING );
|
2371 |
} else {
|
2372 |
+
/* translators: 1: DEBUG tag 2: join filter details */
|
2373 |
+
error_log( sprintf( _x( '%1$s: mla_query_posts_join_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), 0 );
|
2374 |
}
|
2375 |
} // debug
|
2376 |
|
2468 |
$debug_array['orderby_clause'] = $orderby_clause;
|
2469 |
|
2470 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2471 |
+
/* translators: 1: DEBUG tag 2: orderby details details */
|
2472 |
+
trigger_error( sprintf( __( '%1$s: mla_query_posts_orderby_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), E_USER_WARNING );
|
2473 |
} else {
|
2474 |
+
/* translators: 1: DEBUG tag 2: orderby details details */
|
2475 |
+
error_log( sprintf( _x( '%1$s: mla_query_posts_orderby_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $debug_array, true ) ), 0 );
|
2476 |
}
|
2477 |
} // debug
|
2478 |
|
2507 |
*/
|
2508 |
public static function mla_query_posts_clauses_filter( $pieces ) {
|
2509 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2510 |
+
/* translators: 1: DEBUG tag 2: SQL clauses */
|
2511 |
+
trigger_error( sprintf( __( '%1$s: mla_query_posts_clauses_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $pieces, true ) ), E_USER_WARNING );
|
2512 |
} else {
|
2513 |
+
/* translators: 1: DEBUG tag 2: SQL clauses */
|
2514 |
+
error_log( sprintf( _x( '%1$s: mla_query_posts_clauses_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $pieces, true ) ), 0 );
|
2515 |
}
|
2516 |
|
2517 |
return $pieces;
|
2531 |
*/
|
2532 |
public static function mla_query_posts_clauses_request_filter( $pieces ) {
|
2533 |
if ( 'console' == self::$query_parameters['debug'] ) {
|
2534 |
+
/* translators: 1: DEBUG tag 2: SQL clauses */
|
2535 |
+
trigger_error( sprintf( __( '%1$s: mla_query_posts_clauses_request_filter = "%2$s".', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $pieces, true ) ), E_USER_WARNING );
|
2536 |
} else {
|
2537 |
+
/* translators: 1: DEBUG tag 2: SQL clauses */
|
2538 |
+
error_log( sprintf( _x( '%1$s: mla_query_posts_clauses_request_filter = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'DEBUG', 'media-library-assistant' ), var_export( $pieces, true ) ), 0 );
|
2539 |
}
|
2540 |
|
2541 |
return $pieces;
|
2568 |
|
2569 |
$item = get_post( $post_id );
|
2570 |
if ( empty( $item ) ) {
|
2571 |
+
/* translators: 1: ERROR tag 2: post ID */
|
2572 |
+
error_log( sprintf( _x( '%1$s: mla_get_attachment_by_id(%2$d) not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ), 0 );
|
2573 |
return NULL;
|
2574 |
}
|
2575 |
|
2576 |
if ( $item->post_type != 'attachment' ) {
|
2577 |
+
/* translators: 1: ERROR tag 2: post ID 3: post_type */
|
2578 |
+
error_log( sprintf( _x( '%1$s: mla_get_attachment_by_id(%2$d) wrong post_type "%3$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id, $item->post_type ), 0 );
|
2579 |
return NULL;
|
2580 |
}
|
2581 |
|
2625 |
if ( $parent_id ) {
|
2626 |
$parent = get_post( $parent_id );
|
2627 |
|
2628 |
+
if ( isset( $parent->post_name ) ) {
|
2629 |
+
$parent_data['parent_name'] = $parent->post_name;
|
2630 |
+
}
|
2631 |
+
|
2632 |
+
if ( isset( $parent->post_type ) ) {
|
2633 |
+
$parent_data['parent_type'] = $parent->post_type;
|
2634 |
}
|
2635 |
|
2636 |
if ( isset( $parent->post_title ) ) {
|
2637 |
$parent_data['parent_title'] = $parent->post_title;
|
2638 |
}
|
2639 |
|
2640 |
+
if ( isset( $parent->post_date ) ) {
|
2641 |
+
$parent_data['parent_date'] = $parent->post_date;
|
2642 |
}
|
2643 |
|
2644 |
if ( isset( $parent->post_status ) ) {
|
3225 |
'parent_errors' => ''
|
3226 |
);
|
3227 |
|
3228 |
+
$inserted_in_option = MLAOptions::mla_get_option( MLAOptions::MLA_INSERTED_IN_TUNING );
|
3229 |
+
$initial_references['inserted_option'] = $inserted_in_option;
|
3230 |
+
|
3231 |
+
/*
|
3232 |
+
* Make sure there's work to do; otherwise initialize the attachment data and return
|
3233 |
+
*/
|
3234 |
+
if ( false == ( MLAOptions::$process_featured_in || MLAOptions::$process_inserted_in || MLAOptions::$process_gallery_in || MLAOptions::$process_mla_gallery_in ) ) {
|
3235 |
+
foreach ( $attachments as $attachment_index => $attachment ) {
|
3236 |
+
$attachments[ $attachment_index ]->mla_references = $initial_references;
|
3237 |
+
}
|
3238 |
+
|
3239 |
+
return;
|
3240 |
+
}
|
3241 |
+
|
3242 |
/*
|
3243 |
* Collect the raw data for where-used analysis
|
3244 |
*/
|
3269 |
}
|
3270 |
|
3271 |
$sizes = isset( $attachment_metadata['sizes'] ) ? $attachment_metadata['sizes'] : NULL;
|
3272 |
+
if ( ! empty( $sizes ) && is_array( $sizes ) ) {
|
3273 |
/* Using the path and name as the array key ensures each name is added only once */
|
3274 |
foreach ( $sizes as $size => $size_info ) {
|
3275 |
$size_info['size'] = $size;
|
3320 |
$exclude_revisions = " AND (post_type <> 'revision')";
|
3321 |
}
|
3322 |
|
|
|
|
|
3323 |
if ( MLAOptions::$process_inserted_in ) {
|
3324 |
$wp_4dot0_plus = version_compare( get_bloginfo('version'), '4.0', '>=' );
|
3325 |
$query_parameters = array();
|
3947 |
} elseif ( 'stream' == substr( $matches[0][ $index ][0], 0, 6 ) ) {
|
3948 |
$is_stream = true;
|
3949 |
} else {
|
3950 |
+
/* translators: 1: ERROR tag 2: index */
|
3951 |
+
error_log( sprintf( _x( '%1$s: _build_pdf_indirect_objects bad value at $index = "%2$d".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $index ), 0 );
|
3952 |
}
|
3953 |
} // for each match
|
3954 |
}
|
4272 |
do {
|
4273 |
$dictionary_end = strpos( $source_string, '>>', $nest );
|
4274 |
if ( false === $dictionary_end ) {
|
4275 |
+
/* translators: 1: ERROR tag 2: source offset 3: nest level */
|
4276 |
+
error_log( sprintf( _x( '%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $offset, $nest ), 0 );
|
4277 |
+
/* translators: 1: ERROR tag 2: dictionary excerpt */
|
4278 |
+
error_log( sprintf( _x( '%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), self::_hex_dump( substr( $source_string, $offset, 128 ), 128, 16 ) ), 0 );
|
4279 |
return array( '/length' => 0 );
|
4280 |
}
|
4281 |
|
4320 |
$length = strlen( $value );
|
4321 |
$dictionary[ $name ]['value'] = $value;
|
4322 |
if ( ! isset( $value[0] ) ) {
|
4323 |
+
/* translators: 1: ERROR tag 2: entry name 3: value excerpt */
|
4324 |
+
error_log( sprintf( _x( '%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $name, self::_hex_dump( $value, 32, 16 ) ), 0 );
|
4325 |
continue;
|
4326 |
}
|
4327 |
|
4435 |
$xml_parser = xml_parser_create('UTF-8');
|
4436 |
if ( xml_parser_set_option( $xml_parser, XML_OPTION_SKIP_WHITE, 0 ) && xml_parser_set_option( $xml_parser, XML_OPTION_CASE_FOLDING, 0 ) ) {
|
4437 |
if (xml_parse_into_struct( $xml_parser, $xmp_string, $xmp_values ) == 0) {
|
4438 |
+
error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . _x( '_parse_xmp_metadata xml_parse_into_struct failed.', 'error_log', 'media-library-assistant' ), 0 );
|
4439 |
}
|
4440 |
} else {
|
4441 |
+
error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . _x( '_parse_xmp_metadata set option failed.', 'error_log', 'media-library-assistant' ), 0 );
|
4442 |
}
|
4443 |
|
4444 |
xml_parser_free($xml_parser);
|
4794 |
*/
|
4795 |
$match_count = preg_match_all( '/startxref[\x00-\x20]+(\d+)[\x00-\x20]+\%\%EOF/', $tail, $matches, PREG_OFFSET_CAPTURE );
|
4796 |
if ( 0 == $match_count ) {
|
4797 |
+
/* translators: 1: ERROR tag 2: path and file */
|
4798 |
+
error_log( sprintf( _x( '%1$s: File "%2$s", startxref not found.', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $path ), 0 );
|
4799 |
return $metadata;
|
4800 |
}
|
4801 |
|
5311 |
} elseif ( is_string( $text ) ) {
|
5312 |
$text = self::_bin_to_utf8( $text );
|
5313 |
}
|
5314 |
+
} elseif ( 'ALL_IPTC' == $iptc_key ) {
|
5315 |
+
$clean_data = array();
|
5316 |
+
foreach ( $item_metadata['mla_iptc_metadata'] as $key => $value ) {
|
5317 |
+
if ( is_array( $value ) ) {
|
5318 |
+
foreach ($value as $text_key => $text )
|
5319 |
+
$value[ $text_key ] = self::_bin_to_utf8( $text );
|
5320 |
+
|
5321 |
+
$clean_data[ $key ] = 'ARRAY(' . implode( ',', $value ) . ')';
|
5322 |
+
} elseif ( is_string( $value ) ) {
|
5323 |
+
$clean_data[ $key ] = self::_bin_to_utf8( substr( $value, 0, 256 ) );
|
5324 |
+
} else {
|
5325 |
+
$clean_data[ $key ] = self::_bin_to_utf8( $value );
|
5326 |
+
}
|
5327 |
+
}
|
5328 |
+
|
5329 |
+
$text = var_export( $clean_data, true);
|
5330 |
}
|
5331 |
|
5332 |
return $text;
|
5452 |
return $parts[0] / ( $parts[1] ? $parts[1] : 1);
|
5453 |
}
|
5454 |
|
5455 |
+
/**
|
5456 |
+
* Convert an EXIF rational value to a formatted string
|
5457 |
+
*
|
5458 |
+
* @since 2.02
|
5459 |
+
*
|
5460 |
+
* @param string numerator/denominator
|
5461 |
+
* @param string format for integer values
|
5462 |
+
* @param string format for fractional values from -1 to +1
|
5463 |
+
* @param string format for integer.fraction values
|
5464 |
+
*
|
5465 |
+
* @return mixed formatted value or boolean false if no value available
|
5466 |
+
*/
|
5467 |
+
private static function _rational_to_string( $rational, $integer_format, $fraction_format, $mixed_format ) {
|
5468 |
+
$fragments = array_map( 'intval', explode( '/', $rational ) );
|
5469 |
+
if ( 1 == count( $fragments ) ) {
|
5470 |
+
$value = trim( $rational );
|
5471 |
+
if ( ! empty( $value ) ) {
|
5472 |
+
return $value;
|
5473 |
+
}
|
5474 |
+
} else {
|
5475 |
+
if ( $fragments[0] ) {
|
5476 |
+
if ( 1 == $fragments[1] ) {
|
5477 |
+
return sprintf( $integer_format, $fragments[0] );
|
5478 |
+
} elseif ( 0 != $fragments[1] ) {
|
5479 |
+
$value = $fragments[0] / $fragments[1];
|
5480 |
+
if ( ( -1 <= $value ) && ( 1 >= $value ) ) {
|
5481 |
+
return sprintf( $fraction_format, $fragments[0], $fragments[1] );
|
5482 |
+
} else {
|
5483 |
+
if ( $value == intval( $value ) ) {
|
5484 |
+
return sprintf( $integer_format, $value );
|
5485 |
+
}else {
|
5486 |
+
return sprintf( $mixed_format, $value );
|
5487 |
+
}
|
5488 |
+
} // mixed value
|
5489 |
+
} // fractional or mixed value
|
5490 |
+
} // non-zero numerator
|
5491 |
+
} // valid denominator
|
5492 |
+
|
5493 |
+
return false;
|
5494 |
+
}
|
5495 |
+
|
5496 |
/**
|
5497 |
* Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
|
5498 |
* and mla_fetch_attachment_image_metadata
|
5582 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
5583 |
$results['mla_iptc_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
5584 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
5585 |
+
error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_iptc_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
|
5586 |
}
|
5587 |
|
5588 |
if ( ! is_array( $iptc_values ) ) {
|
5606 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
5607 |
$results['mla_exif_metadata'] = $exif_data = @exif_read_data( $path );
|
5608 |
//restore_error_handler();
|
|
|
5609 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
5610 |
$results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
5611 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
5612 |
+
error_log( __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), 0 );
|
5613 |
+
}
|
5614 |
+
}
|
5615 |
+
}
|
5616 |
+
|
5617 |
+
/*
|
5618 |
+
* Expand EXIF Camera-related values:
|
5619 |
+
*
|
5620 |
+
* ExposureBiasValue
|
5621 |
+
* ExposureTime
|
5622 |
+
* Flash
|
5623 |
+
* FNumber
|
5624 |
+
* FocalLength
|
5625 |
+
* ShutterSpeed from ExposureTime
|
5626 |
+
*/
|
5627 |
+
$new_data = array();
|
5628 |
+
if ( isset( $exif_data['FNumber'] ) ) {
|
5629 |
+
if ( false !== ( $value = self::_rational_to_string( $exif_data['FNumber'], '%1$d', '%1$d/%2$d', '%1$.1f' ) ) ) {
|
5630 |
+
$new_data['FNumber'] = $value;
|
5631 |
+
}
|
5632 |
+
} // FNumber
|
5633 |
+
|
5634 |
+
if ( isset( $exif_data['ExposureBiasValue'] ) ) {
|
5635 |
+
$fragments = array_map( 'intval', explode( '/', $exif_data['ExposureBiasValue'] ) );
|
5636 |
+
if ( ! is_null( $fragments[1] ) ) {
|
5637 |
+
$numerator = $fragments[0];
|
5638 |
+
$denominator = $fragments[1];
|
5639 |
+
|
5640 |
+
// Clean up some common format issues, e.g. 4/6, 2/4
|
5641 |
+
while ( ( 0 == ( $numerator & 0x1 ) ) && ( 0 == ( $denominator & 0x1 ) ) ) {
|
5642 |
+
$numerator = ( $numerator >> 1 );
|
5643 |
+
$denominator = ( $denominator >> 1 );
|
5644 |
+
}
|
5645 |
+
|
5646 |
+
// Remove excess precision
|
5647 |
+
if ( ( $denominator > $numerator) && ( 1000 < $numerator ) && ( 1000 < $denominator ) ) {
|
5648 |
+
$exif_data['ExposureBiasValue'] = sprintf( '%1$+.3f', ( $numerator/$denominator ) );
|
5649 |
+
} else {
|
5650 |
+
$fragments[0] = $numerator;
|
5651 |
+
$fragments[1] = $denominator;
|
5652 |
+
$exif_data['ExposureBiasValue'] = $numerator . '/' . $denominator;
|
5653 |
+
}
|
5654 |
+
}
|
5655 |
+
|
5656 |
+
if ( false !== ( $value = self::_rational_to_string( $exif_data['ExposureBiasValue'], '%1$+d', '%1$+d/%2$d', '%1$+.2f' ) ) ) {
|
5657 |
+
$new_data['ExposureBiasValue'] = $value;
|
5658 |
+
}
|
5659 |
+
} // ExposureBiasValue
|
5660 |
+
|
5661 |
+
if ( isset( $exif_data['Flash'] ) ) {
|
5662 |
+
$value = ( absint( $exif_data['Flash'] ) );
|
5663 |
+
if ( $value & 0x1 ) {
|
5664 |
+
$new_data['Flash'] = __( 'Yes', 'media-library-assistant' );
|
5665 |
+
} else {
|
5666 |
+
$new_data['Flash'] = __( 'No', 'media-library-assistant' );
|
5667 |
+
}
|
5668 |
+
} // Flash
|
5669 |
+
|
5670 |
+
if ( isset( $exif_data['FocalLength'] ) ) {
|
5671 |
+
if ( false !== ( $value = self::_rational_to_string( $exif_data['FocalLength'], '%1$d', '%1$d/%2$d', '%1$.2f' ) ) ) {
|
5672 |
+
$new_data['FocalLength'] = $value;
|
5673 |
+
}
|
5674 |
+
} // FocalLength
|
5675 |
+
|
5676 |
+
if ( isset( $exif_data['ExposureTime'] ) ) {
|
5677 |
+
if ( false !== ( $value = self::_rational_to_string( $exif_data['ExposureTime'], '%1$d', '%1$d/%2$d', '%1$.2f' ) ) ) {
|
5678 |
+
$new_data['ExposureTime'] = $value;
|
5679 |
+
}
|
5680 |
+
} // ExposureTime
|
5681 |
+
|
5682 |
+
/*
|
5683 |
+
* ShutterSpeed in "1/" format, from ExposureTime
|
5684 |
+
* Special logic for "fractional shutter speed" values 1.3, 1.5, 1.6, 2.5
|
5685 |
+
*/
|
5686 |
+
if ( isset( $exif_data['ExposureTime'] ) ) {
|
5687 |
+
$fragments = array_map( 'intval', explode( '/', $exif_data['ExposureTime'] ) );
|
5688 |
+
if ( ! is_null( $fragments[1] && $fragments[0] ) ) {
|
5689 |
+
if ( 1 == $fragments[1] ) {
|
5690 |
+
$new_data['ShutterSpeed'] = $new_data['ExposureTime'] = sprintf( '%1$d', $fragments[0] );
|
5691 |
+
} elseif ( 0 != $fragments[1] ) {
|
5692 |
+
$value = $fragments[0] / $fragments[1];
|
5693 |
+
if ( 1 > $value ) {
|
5694 |
+
// Convert to "1/" value for shutter speed
|
5695 |
+
if ( 1 == $fragments[0] ) {
|
5696 |
+
$new_data['ShutterSpeed'] = $new_data['ExposureTime'];
|
5697 |
+
} else {
|
5698 |
+
$test = (float) number_format( 1.0 / $value, 1, '.', '');
|
5699 |
+
if ( in_array( $test, array( 1.3, 1.5, 1.6, 2.5 ) ) ) {
|
5700 |
+
$new_data['ShutterSpeed'] = '1/' . number_format( 1.0 / $value, 1, '.', '' );
|
5701 |
+
} else {
|
5702 |
+
$new_data['ShutterSpeed'] = '1/' . number_format( 1.0 / $value, 0, '.', '' );
|
5703 |
+
}
|
5704 |
+
}
|
5705 |
+
} else {
|
5706 |
+
$new_data['ShutterSpeed'] = $new_data['ExposureTime'] = sprintf( '%1$.2f', $value );
|
5707 |
+
}
|
5708 |
+
} // fractional value
|
5709 |
+
} // valid denominator and non-zero numerator
|
5710 |
+
} // ShutterSpeed
|
5711 |
+
|
5712 |
+
if ( isset( $exif_data['UndefinedTag:0xA420'] ) ) {
|
5713 |
+
$new_data['ImageUniqueID'] = $exif_data['UndefinedTag:0xA420'];
|
5714 |
+
}
|
5715 |
+
|
5716 |
+
if ( isset( $exif_data['UndefinedTag:0xA430'] ) ) {
|
5717 |
+
$new_data['CameraOwnerName'] = $exif_data['UndefinedTag:0xA430'];
|
5718 |
+
}
|
5719 |
+
|
5720 |
+
if ( isset( $exif_data['UndefinedTag:0xA431'] ) ) {
|
5721 |
+
$new_data['BodySerialNumber'] = $exif_data['UndefinedTag:0xA431'];
|
5722 |
+
}
|
5723 |
+
|
5724 |
+
if ( isset( $exif_data['UndefinedTag:0xA432'] ) && is_array( $exif_data['UndefinedTag:0xA432'] ) ) {
|
5725 |
+
$array = $new_data['LensSpecification'] = $exif_data['UndefinedTag:0xA432'];
|
5726 |
+
|
5727 |
+
if ( isset ( $array[0] ) ) {
|
5728 |
+
if ( false !== ( $value = self::_rational_to_string( $array[0], '%1$d', '%1$d/%2$d', '%1$.2f' ) ) ) {
|
5729 |
+
$new_data['LensMinFocalLength'] = $value;
|
5730 |
+
}
|
5731 |
+
}
|
5732 |
+
|
5733 |
+
if ( isset ( $array[1] ) ) {
|
5734 |
+
if ( false !== ( $value = self::_rational_to_string( $array[1], '%1$d', '%1$d/%2$d', '%1$.2f' ) ) ) {
|
5735 |
+
$new_data['LensMaxFocalLength'] = $value;
|
5736 |
+
}
|
5737 |
+
}
|
5738 |
+
|
5739 |
+
if ( isset ( $array[2] ) ) {
|
5740 |
+
if ( false !== ( $value = self::_rational_to_string( $array[2], '%1$d', '%1$d/%2$d', '%1$.1f' ) ) ) {
|
5741 |
+
$new_data['LensMinFocalLengthFN'] = $value;
|
5742 |
+
}
|
5743 |
+
}
|
5744 |
+
|
5745 |
+
if ( isset ( $array[3] ) ) {
|
5746 |
+
if ( false !== ( $value = self::_rational_to_string( $array[3], '%1$d', '%1$d/%2$d', '%1$.1f' ) ) ) {
|
5747 |
+
$new_data['LensMaxFocalLengthFN'] = $value;
|
5748 |
}
|
5749 |
}
|
5750 |
+
|
5751 |
+
}
|
5752 |
+
|
5753 |
+
if ( isset( $exif_data['UndefinedTag:0xA433'] ) ) {
|
5754 |
+
$new_data['LensMake'] = $exif_data['UndefinedTag:0xA433'];
|
5755 |
+
}
|
5756 |
+
|
5757 |
+
if ( isset( $exif_data['UndefinedTag:0xA434'] ) ) {
|
5758 |
+
$new_data['LensModel'] = $exif_data['UndefinedTag:0xA434'];
|
5759 |
+
}
|
5760 |
+
|
5761 |
+
if ( isset( $exif_data['UndefinedTag:0xA435'] ) ) {
|
5762 |
+
$new_data['LensSerialNumber'] = $exif_data['UndefinedTag:0xA435'];
|
5763 |
+
}
|
5764 |
+
|
5765 |
+
if ( ! empty( $new_data ) ) {
|
5766 |
+
$results['mla_exif_metadata']['CAMERA'] = $new_data;
|
5767 |
}
|
5768 |
|
5769 |
/*
|
5770 |
* Expand EXIF GPS values
|
5771 |
*/
|
5772 |
+
$new_data = array();
|
5773 |
if ( isset( $exif_data['GPSVersion'] ) ) {
|
5774 |
+
$new_data['Version'] = sprintf( '%1$d.%2$d.%3$d.%4$d', ord( $exif_data['GPSVersion'][0] ), ord( $exif_data['GPSVersion'][1] ), ord( $exif_data['GPSVersion'][2] ), ord( $exif_data['GPSVersion'][3] ) );
|
5775 |
}
|
5776 |
|
5777 |
if ( isset( $exif_data['GPSLatitudeRef'] ) ) {
|
5778 |
+
$new_data['LatitudeRef'] = $exif_data['GPSLatitudeRef'];
|
5779 |
+
$new_data['LatitudeRefS'] = ( 'N' == $exif_data['GPSLatitudeRef'] ) ? '' : '-';
|
5780 |
+
$ref = $new_data['LatitudeRef'];
|
5781 |
+
$refs = $new_data['LatitudeRefS'];
|
5782 |
} else {
|
5783 |
$ref = '';
|
5784 |
$refs = '';
|
5786 |
|
5787 |
if ( isset( $exif_data['GPSLatitude'] ) ) {
|
5788 |
$rational = $exif_data['GPSLatitude'];
|
5789 |
+
$new_data['LatitudeD'] = $degrees = self::_rational_to_decimal( $rational[0] );
|
5790 |
+
$new_data['LatitudeM'] = $minutes = self::_rational_to_decimal( $rational[1] );
|
5791 |
+
$new_data['LatitudeS'] = sprintf( '%1$01.4f', $seconds = self::_rational_to_decimal( $rational[2] ) );
|
5792 |
$decimal_minutes = $minutes + ( $seconds / 60 );
|
5793 |
$decimal_degrees = ( $decimal_minutes / 60 );
|
5794 |
|
5795 |
+
$new_data['Latitude'] = sprintf( '%1$dd %2$d\' %3$01.4f" %4$s', $degrees, $minutes, $seconds, $ref );
|
5796 |
+
$new_data['LatitudeDM'] = sprintf( '%1$d %2$01.4f', $degrees, $decimal_minutes );
|
5797 |
+
$new_data['LatitudeDD'] = sprintf( '%1$01f', $degrees + $decimal_degrees );
|
5798 |
+
$new_data['LatitudeMinDec'] = substr( $new_data['LatitudeDM'], strpos( $new_data['LatitudeDM'], ' ' ) + 1 );
|
5799 |
+
$new_data['LatitudeDegDec'] = substr( $new_data['LatitudeDD'], strpos( $new_data['LatitudeDD'], '.' ) );
|
5800 |
+
$new_data['LatitudeSDM'] = $refs . $new_data['LatitudeDM'];
|
5801 |
+
$new_data['LatitudeSDD'] = $refs . $new_data['LatitudeDD'];
|
5802 |
+
$new_data['LatitudeDM'] = $new_data['LatitudeDM'] . $ref;
|
5803 |
+
$new_data['LatitudeDD'] = $new_data['LatitudeDD'] . $ref;
|
5804 |
}
|
5805 |
|
5806 |
if ( isset( $exif_data['GPSLongitudeRef'] ) ) {
|
5807 |
+
$new_data['LongitudeRef'] = $exif_data['GPSLongitudeRef'];
|
5808 |
+
$new_data['LongitudeRefS'] = ( 'E' == $exif_data['GPSLongitudeRef'] ) ? '' : '-';
|
5809 |
+
$ref = $new_data['LongitudeRef'];
|
5810 |
+
$refs = $new_data['LongitudeRefS'];
|
5811 |
} else {
|
5812 |
$ref = '';
|
5813 |
$refs = '';
|
5815 |
|
5816 |
if ( isset( $exif_data['GPSLongitude'] ) ) {
|
5817 |
$rational = $exif_data['GPSLongitude'];
|
5818 |
+
$new_data['LongitudeD'] = $degrees = self::_rational_to_decimal( $rational[0] );
|
5819 |
+
$new_data['LongitudeM'] = $minutes = self::_rational_to_decimal( $rational[1] );
|
5820 |
+
$new_data['LongitudeS'] = sprintf( '%1$01.4f', $seconds = self::_rational_to_decimal( $rational[2] ) );
|
5821 |
$decimal_minutes = $minutes + ( $seconds / 60 );
|
5822 |
$decimal_degrees = ( $decimal_minutes / 60 );
|
5823 |
|
5824 |
+
$new_data['Longitude'] = sprintf( '%1$dd %2$d\' %3$01.4f" %4$s', $degrees, $minutes, $seconds, $ref );
|
5825 |
+
$new_data['LongitudeDM'] = sprintf( '%1$d %2$01.4f', $degrees, $decimal_minutes );
|
5826 |
+
$new_data['LongitudeDD'] = sprintf( '%1$01f', $degrees + $decimal_degrees );
|
5827 |
+
$new_data['LongitudeMinDec'] = substr( $new_data['LongitudeDM'], strpos( $new_data['LongitudeDM'], ' ' ) + 1 );
|
5828 |
+
$new_data['LongitudeDegDec'] = substr( $new_data['LongitudeDD'], strpos( $new_data['LongitudeDD'], '.' ) );
|
5829 |
+
$new_data['LongitudeSDM'] = $refs . $new_data['LongitudeDM'];
|
5830 |
+
$new_data['LongitudeSDD'] = $refs . $new_data['LongitudeDD'];
|
5831 |
+
$new_data['LongitudeDM'] = $new_data['LongitudeDM'] . $ref;
|
5832 |
+
$new_data['LongitudeDD'] = $new_data['LongitudeDD'] . $ref;
|
5833 |
}
|
5834 |
|
5835 |
if ( isset( $exif_data['GPSAltitudeRef'] ) ) {
|
5836 |
+
$new_data['AltitudeRef'] = sprintf( '%1$d', ord( $exif_data['GPSAltitudeRef'][0] ) );
|
5837 |
+
$new_data['AltitudeRefS'] = ( '0' == $new_data['AltitudeRef'] ) ? '' : '-';
|
5838 |
+
$refs = $new_data['AltitudeRefS'];
|
5839 |
} else {
|
5840 |
$refs = '';
|
5841 |
}
|
5842 |
|
5843 |
if ( isset( $exif_data['GPSAltitude'] ) ) {
|
5844 |
+
$new_data['Altitude'] = sprintf( '%1$s%2$01.4f', $refs, $meters = self::_rational_to_decimal( $exif_data['GPSAltitude'] ) );
|
5845 |
+
$new_data['AltitudeFeet'] = sprintf( '%1$s%2$01.2f', $refs, $meters * 3.280839895013 );
|
5846 |
}
|
5847 |
|
5848 |
if ( isset( $exif_data['GPSTimeStamp'] ) ) {
|
5849 |
$rational = $exif_data['GPSTimeStamp'];
|
5850 |
+
$new_data['TimeStampH'] = sprintf( '%1$02d', $hours = self::_rational_to_decimal( $rational[0] ) );
|
5851 |
+
$new_data['TimeStampM'] = sprintf( '%1$02d', $minutes = self::_rational_to_decimal( $rational[1] ) );
|
5852 |
+
$new_data['TimeStampS'] = sprintf( '%1$02d', $seconds = self::_rational_to_decimal( $rational[2] ) );
|
5853 |
+
$new_data['TimeStamp'] = sprintf( '%1$02d:%2$02d:%3$02d', $hours, $minutes, $seconds );
|
5854 |
}
|
5855 |
|
5856 |
if ( isset( $exif_data['GPSDateStamp'] ) ) {
|
5857 |
$parts = explode( ':', $exif_data['GPSDateStamp'] );
|
5858 |
+
$new_data['DateStampY'] = $parts[0];
|
5859 |
+
$new_data['DateStampM'] = $parts[1];
|
5860 |
+
$new_data['DateStampD'] = $parts[2];
|
5861 |
+
$new_data['DateStamp'] = $exif_data['GPSDateStamp'];
|
5862 |
}
|
5863 |
|
5864 |
if ( isset( $exif_data['GPSMapDatum'] ) ) {
|
5865 |
+
$new_data['MapDatum'] = $exif_data['GPSMapDatum'];
|
5866 |
}
|
5867 |
|
5868 |
+
if ( ! empty( $new_data ) ) {
|
5869 |
+
$results['mla_exif_metadata']['GPS'] = $new_data;
|
5870 |
}
|
5871 |
|
5872 |
/*
|
5921 |
if ( empty( $value ) ) {
|
5922 |
if ( self::_unset_array_element( $key, $current_values ) ) {
|
5923 |
/* translators: 1: meta_key */
|
5924 |
+
$message .= sprintf( __( 'Deleting %1$s', 'media-library-assistant' ) . '<br>', $key );
|
5925 |
} else {
|
5926 |
+
/* translators: 1: ERROR tag 2: meta_key */
|
5927 |
+
$message .= sprintf( __( '%1$s: meta:%2$s not found', 'media-library-assistant' ) . '<br>', __( 'ERROR', 'media-library-assistant' ), $key );
|
5928 |
}
|
5929 |
|
5930 |
continue;
|
5933 |
if ( ! empty( $value ) ) {
|
5934 |
if ( self::_set_array_element( $key, $value, $current_values ) ) {
|
5935 |
/* translators: 1: meta_key 2: meta_value */
|
5936 |
+
$message .= sprintf( __( 'Adding %1$s = %2$s', 'media-library-assistant' ) . '<br>', $key,
|
5937 |
( is_array( $value ) ) ? var_export( $value, true ) : $value );
|
5938 |
} else {
|
5939 |
+
/* translators: 1: ERROR tag 2: meta_key */
|
5940 |
+
$message .= sprintf( __( '%1$s: Adding meta:%2$s; not found', 'media-library-assistant' ) . '<br>', __( 'ERROR', 'media-library-assistant' ), $key );
|
5941 |
}
|
5942 |
|
5943 |
continue;
|
5951 |
}
|
5952 |
} // old_value empty
|
5953 |
|
5954 |
+
if ( $old_value !== $value ) {
|
5955 |
if ( self::_set_array_element( $key, $value, $current_values ) ) {
|
5956 |
/* translators: 1: element name 2: old_value 3: new_value */
|
5957 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', 'meta:' . $key,
|
5958 |
( is_array( $old_value ) ) ? var_export( $old_value, true ) : $old_value,
|
5959 |
( is_array( $value ) ) ? var_export( $value, true ) : $value );
|
5960 |
} else {
|
5961 |
+
/* translators: 1: ERROR tag 2: meta_key */
|
5962 |
+
$message .= sprintf( __( '%1$s: Changing meta:%2$s; not found', 'media-library-assistant' ) . '<br>', __( 'ERROR', 'media-library-assistant' ), $key );
|
5963 |
}
|
5964 |
}
|
5965 |
} // foreach new_meta
|
6030 |
foreach ( $meta_value as $new_value ) {
|
6031 |
if ( add_post_meta( $post_id, $meta_key, $new_value ) ) {
|
6032 |
/* translators: 1: meta_key 2: new_value */
|
6033 |
+
$message .= sprintf( __( 'Adding %1$s = %2$s', 'media-library-assistant' ) . '<br>', $meta_key, '[' . $new_value . ']' );
|
6034 |
}
|
6035 |
}
|
6036 |
} else {
|
6092 |
/* translators: 1: meta_key 2: old_value 3: new_value 4: update count*/
|
6093 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"; %4$d updates', 'media-library-assistant' ) . '<br>', 'meta:' . $meta_key, $old_text, $new_text, $updated );
|
6094 |
}
|
6095 |
+
} elseif ( $old_meta_value !== $meta_value ) {
|
6096 |
if ( is_array( $old_meta_value ) ) {
|
6097 |
delete_post_meta( $post_id, $meta_key );
|
6098 |
}
|
6148 |
$post_data = self::mla_get_attachment_by_id( $post_id, false );
|
6149 |
if ( !isset( $post_data ) ) {
|
6150 |
return array(
|
6151 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Could not retrieve Attachment.', 'media-library-assistant' ),
|
6152 |
'body' => ''
|
6153 |
);
|
6154 |
}
|
6188 |
$my_posts = get_posts( $args );
|
6189 |
|
6190 |
if ( $my_posts ) {
|
6191 |
+
/* translators: 1: ERROR tag 2: old_value */
|
6192 |
+
$message .= sprintf( __( '%1$s: Could not change Name/Slug "%2$s"; name already exists', 'media-library-assistant' ) . '<br>', __( 'ERROR', 'media-library-assistant' ), $value );
|
6193 |
} else {
|
6194 |
/* translators: 1: element name 2: old_value 3: new_value */
|
6195 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', __( 'Name/Slug', 'media-library-assistant' ), esc_attr( $post_data[ $key ] ), esc_attr( $value ) );
|
6220 |
/* translators: 1: old_value */
|
6221 |
$message .= sprintf( __( 'Deleting ALT Text, was "%1$s"', 'media-library-assistant' ) . '<br>', esc_attr( $post_data[ $key ] ) );
|
6222 |
} else {
|
6223 |
+
/* translators: 1: ERROR tag 2: old_value */
|
6224 |
+
$message .= sprintf( __( '%1$s: Could not delete ALT Text, remains "%2$s"', 'media-library-assistant' ) . '<br>', __( 'ERROR', 'media-library-assistant' ), esc_attr( $post_data[ $key ] ) );
|
6225 |
}
|
6226 |
} else {
|
6227 |
if ( update_post_meta( $post_id, '_wp_attachment_image_alt', $value ) ) {
|
6228 |
/* translators: 1: element name 2: old_value 3: new_value */
|
6229 |
$message .= sprintf( __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', __( 'ALT Text', 'media-library-assistant' ), esc_attr( $post_data[ $key ] ), esc_attr( $value ) );
|
6230 |
} else {
|
6231 |
+
/* translators: 1: ERROR tag 2: old_value 3: new_value */
|
6232 |
+
$message .= sprintf( __( '%1$s: Could not change ALT Text from "%2$s" to "%3$s"', 'media-library-assistant' ) . '<br>', __( 'ERROR', 'media-library-assistant' ), esc_attr( $post_data[ $key ] ), esc_attr( $value ) );
|
6233 |
}
|
6234 |
}
|
6235 |
break;
|
6407 |
);
|
6408 |
} else {
|
6409 |
return array(
|
6410 |
+
/* translators: 1: ERROR tag 2: post ID */
|
6411 |
+
'message' => sprintf( __( '%1$s: Item %2$d update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ),
|
6412 |
'body' => ''
|
6413 |
);
|
6414 |
}
|
includes/class-mla-edit-media.php
CHANGED
@@ -86,6 +86,14 @@ class MLAEdit {
|
|
86 |
|
87 |
add_post_type_support( 'attachment', apply_filters( 'mla_edit_media_support', array( 'custom-fields' ) ) );
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
/*
|
90 |
* If there's no action variable, we have nothing more to do
|
91 |
*/
|
@@ -141,6 +149,47 @@ class MLAEdit {
|
|
141 |
* @return void
|
142 |
*/
|
143 |
public static function mla_admin_enqueue_scripts_action( $page_hook ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
if ( ( 'post.php' != $page_hook ) || ( ! isset( $_REQUEST['post'] ) ) || ( ! isset( $_REQUEST['action'] ) ) || ( 'edit' != $_REQUEST['action'] ) ) {
|
145 |
return;
|
146 |
}
|
@@ -159,7 +208,6 @@ class MLAEdit {
|
|
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 |
|
@@ -182,6 +230,243 @@ class MLAEdit {
|
|
182 |
wp_localize_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, self::JAVASCRIPT_EDIT_MEDIA_OBJECT, $script_variables );
|
183 |
}
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
/**
|
186 |
* Adds mapping update messages for display at the top of the Edit Media screen.
|
187 |
* Declared public because it is a filter.
|
@@ -369,8 +654,8 @@ class MLAEdit {
|
|
369 |
'content' => $content
|
370 |
);
|
371 |
} else {
|
372 |
-
/* translators: 1: function name
|
373 |
-
error_log( sprintf( _x( '
|
374 |
}
|
375 |
}
|
376 |
|
@@ -823,10 +1108,10 @@ class MLAEdit {
|
|
823 |
?>
|
824 |
<ul id="<?php echo $tab_all_ul_id; ?>" data-wp-lists="list:<?php echo $taxonomy?>" class="categorychecklist form-no-clear">
|
825 |
<?php if ( $tax->hierarchical ): ?>
|
826 |
-
<?php wp_terms_checklist($post->ID, array( 'taxonomy' => $taxonomy, 'popular_cats' => $popular_ids ) ) ?>
|
827 |
<?php else: ?>
|
828 |
<?php $checklist_walker = new MLA_Checklist_Walker; ?>
|
829 |
-
<?php wp_terms_checklist($post->ID, array( 'taxonomy' => $taxonomy, 'popular_cats' => $popular_ids, 'walker' => $checklist_walker ) ) ?>
|
830 |
<?php endif; ?>
|
831 |
</ul>
|
832 |
</div>
|
86 |
|
87 |
add_post_type_support( 'attachment', apply_filters( 'mla_edit_media_support', array( 'custom-fields' ) ) );
|
88 |
|
89 |
+
/*
|
90 |
+
* Check for Media/Add New bulk edit area updates
|
91 |
+
*/
|
92 |
+
if ( ! empty( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) && ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
|
93 |
+
// Fires after MLA mapping in wp_update_attachment_metadata() processing.
|
94 |
+
add_filter( 'mla_update_attachment_metadata_postfilter', 'MLAEdit::mla_update_attachment_metadata_postfilter', 10, 3 );
|
95 |
+
}
|
96 |
+
|
97 |
/*
|
98 |
* If there's no action variable, we have nothing more to do
|
99 |
*/
|
149 |
* @return void
|
150 |
*/
|
151 |
public static function mla_admin_enqueue_scripts_action( $page_hook ) {
|
152 |
+
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
153 |
+
if ( 'media-new.php' == $page_hook && ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ADD_NEW_BULK_EDIT ) ) ) {
|
154 |
+
wp_register_style( 'mla-add-new-bulk-edit', MLA_PLUGIN_URL . 'css/mla-add-new-bulk-edit.css', false, MLA::CURRENT_MLA_VERSION );
|
155 |
+
wp_enqueue_style( 'mla-add-new-bulk-edit' );
|
156 |
+
|
157 |
+
wp_register_style( 'mla-add-new-bulk-edit' . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, MLA::CURRENT_MLA_VERSION );
|
158 |
+
wp_enqueue_style( 'mla-add-new-bulk-edit' . '-set-parent' );
|
159 |
+
|
160 |
+
// 'suggest' loads the script for flat taxonomy auto-complete/suggested matches
|
161 |
+
wp_enqueue_script( 'mla-add-new-bulk-edit-scripts', MLA_PLUGIN_URL . "js/mla-add-new-bulk-edit-scripts{$suffix}.js",
|
162 |
+
array( 'suggest', 'jquery' ), MLA::CURRENT_MLA_VERSION, false );
|
163 |
+
|
164 |
+
wp_enqueue_script( 'mla-add-new-bulk-edit-scripts' . '-set-parent', MLA_PLUGIN_URL . "js/mla-set-parent-scripts{$suffix}.js",
|
165 |
+
array( 'mla-add-new-bulk-edit-scripts', 'jquery' ), MLA::CURRENT_MLA_VERSION, false );
|
166 |
+
|
167 |
+
$script_variables = array(
|
168 |
+
'uploadTitle' => __( 'Upload New Media items', 'media-library-assistant' ),
|
169 |
+
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
170 |
+
'ajaxFailError' => __( 'An ajax.fail error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
|
171 |
+
'ajaxDoneError' => __( 'An ajax.done error has occurred. Please reload the page and try again.', 'media-library-assistant' ),
|
172 |
+
'useDashicons' => false,
|
173 |
+
'toggleOpen' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
|
174 |
+
'toggleClose' => __( 'Close Bulk Edit area', 'media-library-assistant' ),
|
175 |
+
);
|
176 |
+
|
177 |
+
if ( version_compare( get_bloginfo( 'version' ), '3.8', '>=' ) ) {
|
178 |
+
$script_variables['useDashicons'] = true;
|
179 |
+
}
|
180 |
+
|
181 |
+
wp_localize_script( 'mla-add-new-bulk-edit-scripts', 'mla_add_new_bulk_edit_vars', $script_variables );
|
182 |
+
|
183 |
+
// Filter the media upload post parameters.
|
184 |
+
// @param array $post_params An array of media upload parameters used by Plupload.
|
185 |
+
add_filter( 'upload_post_params', 'MLAEdit::mla_upload_post_params', 10, 1 );
|
186 |
+
|
187 |
+
// Fires on the post upload UI screen; legacy (pre-3.5.0) upload interface.
|
188 |
+
add_action( 'post-upload-ui', 'MLAEdit::mla_post_upload_ui' );
|
189 |
+
|
190 |
+
return;
|
191 |
+
} // media-new.php
|
192 |
+
|
193 |
if ( ( 'post.php' != $page_hook ) || ( ! isset( $_REQUEST['post'] ) ) || ( ! isset( $_REQUEST['action'] ) ) || ( 'edit' != $_REQUEST['action'] ) ) {
|
194 |
return;
|
195 |
}
|
208 |
wp_register_style( self::JAVASCRIPT_EDIT_MEDIA_STYLES . '-set-parent', MLA_PLUGIN_URL . 'css/mla-style-set-parent.css', false, MLA::CURRENT_MLA_VERSION );
|
209 |
wp_enqueue_style( self::JAVASCRIPT_EDIT_MEDIA_STYLES . '-set-parent' );
|
210 |
|
|
|
211 |
wp_enqueue_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, MLA_PLUGIN_URL . "js/mla-edit-media-scripts{$suffix}.js",
|
212 |
array( 'post', 'wp-lists', 'suggest', 'jquery' ), MLA::CURRENT_MLA_VERSION, false );
|
213 |
|
230 |
wp_localize_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, self::JAVASCRIPT_EDIT_MEDIA_OBJECT, $script_variables );
|
231 |
}
|
232 |
|
233 |
+
/**
|
234 |
+
* Filter the Media/Add New post parameters.
|
235 |
+
*
|
236 |
+
* @since 2.02
|
237 |
+
*
|
238 |
+
* @param array $post_parms An array of media upload parameters used by Plupload.
|
239 |
+
*/
|
240 |
+
public static function mla_upload_post_params( $post_parms ) {
|
241 |
+
/*
|
242 |
+
* You can add elements to the array. It will end up in the client global
|
243 |
+
* variable: wpUploaderInit.multipart_params and is then copied to
|
244 |
+
* uploader.settings.multipart_params
|
245 |
+
*
|
246 |
+
* The elements of this array come back as $_REQUEST elements when the
|
247 |
+
* upload is submitted.
|
248 |
+
*/
|
249 |
+
$post_parms['mlaAddNewBulkEdit'] = array ( 'formData' => array() );
|
250 |
+
return $post_parms;
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Echoes bulk edit area HTML to the Media/Add New screen
|
255 |
+
*
|
256 |
+
* Fires on the post upload UI screen; legacy (pre-3.5.0) upload interface.
|
257 |
+
* Anything echoed here goes below the "Maximum upload file size" message
|
258 |
+
* and above the id="media-items" div.
|
259 |
+
*
|
260 |
+
* @since 2.02
|
261 |
+
*
|
262 |
+
*/
|
263 |
+
public static function mla_post_upload_ui() {
|
264 |
+
/*
|
265 |
+
* Only add our form to the Media/Add New screen. In particular,
|
266 |
+
* do NOT add it to the Media Manager Modal Window
|
267 |
+
*/
|
268 |
+
if ( function_exists( 'get_current_screen' ) ) {
|
269 |
+
$screen = get_current_screen();
|
270 |
+
} else {
|
271 |
+
$screen = NULL;
|
272 |
+
}
|
273 |
+
|
274 |
+
if ( is_object( $screen ) && ( 'add' != $screen->action || 'media' != $screen->base ) ) {
|
275 |
+
return;
|
276 |
+
}
|
277 |
+
|
278 |
+
$taxonomies = get_object_taxonomies( 'attachment', 'objects' );
|
279 |
+
|
280 |
+
$hierarchical_taxonomies = array();
|
281 |
+
$flat_taxonomies = array();
|
282 |
+
foreach ( $taxonomies as $tax_name => $tax_object ) {
|
283 |
+
if ( $tax_object->hierarchical && $tax_object->show_ui && MLAOptions::mla_taxonomy_support($tax_name, 'quick-edit') ) {
|
284 |
+
$hierarchical_taxonomies[$tax_name] = $tax_object;
|
285 |
+
} elseif ( $tax_object->show_ui && MLAOptions::mla_taxonomy_support($tax_name, 'quick-edit') ) {
|
286 |
+
$flat_taxonomies[$tax_name] = $tax_object;
|
287 |
+
}
|
288 |
+
}
|
289 |
+
|
290 |
+
$page_template_array = MLAData::mla_load_template( 'mla-add-new-bulk-edit.tpl' );
|
291 |
+
if ( ! is_array( $page_template_array ) ) {
|
292 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
293 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAEdit::mla_post_upload_ui', var_export( $page_template_array, true ) ), 0 );
|
294 |
+
return;
|
295 |
+
}
|
296 |
+
|
297 |
+
/*
|
298 |
+
* The left-hand column contains the hierarchical taxonomies,
|
299 |
+
* e.g., Attachment Category
|
300 |
+
*/
|
301 |
+
$category_fieldset = '';
|
302 |
+
|
303 |
+
if ( count( $hierarchical_taxonomies ) ) {
|
304 |
+
$bulk_category_blocks = '';
|
305 |
+
|
306 |
+
foreach ( $hierarchical_taxonomies as $tax_name => $tax_object ) {
|
307 |
+
if ( current_user_can( $tax_object->cap->assign_terms ) ) {
|
308 |
+
ob_start();
|
309 |
+
wp_terms_checklist( NULL, array( 'taxonomy' => $tax_name ) );
|
310 |
+
$tax_checklist = ob_get_contents();
|
311 |
+
ob_end_clean();
|
312 |
+
|
313 |
+
$page_values = array(
|
314 |
+
'tax_html' => esc_html( $tax_object->labels->name ),
|
315 |
+
'more' => __( 'more', 'media-library-assistant' ),
|
316 |
+
'less' => __( 'less', 'media-library-assistant' ),
|
317 |
+
'tax_attr' => esc_attr( $tax_name ),
|
318 |
+
'tax_checklist' => $tax_checklist,
|
319 |
+
'Add' => __( 'Add', 'media-library-assistant' ),
|
320 |
+
'Remove' => __( 'Remove', 'media-library-assistant' ),
|
321 |
+
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
322 |
+
);
|
323 |
+
$category_block = MLAData::mla_parse_template( $page_template_array['category_block'], $page_values );
|
324 |
+
$taxonomy_options = MLAData::mla_parse_template( $page_template_array['taxonomy_options'], $page_values );
|
325 |
+
|
326 |
+
$bulk_category_blocks .= $category_block . $taxonomy_options;
|
327 |
+
} // current_user_can
|
328 |
+
} // foreach $hierarchical_taxonomies
|
329 |
+
|
330 |
+
$page_values = array(
|
331 |
+
'category_blocks' => $bulk_category_blocks
|
332 |
+
);
|
333 |
+
$category_fieldset = MLAData::mla_parse_template( $page_template_array['category_fieldset'], $page_values );
|
334 |
+
} // count( $hierarchical_taxonomies )
|
335 |
+
|
336 |
+
/*
|
337 |
+
* The middle column contains the flat taxonomies,
|
338 |
+
* e.g., Attachment Tag
|
339 |
+
*/
|
340 |
+
$tag_fieldset = '';
|
341 |
+
|
342 |
+
if ( count( $flat_taxonomies ) ) {
|
343 |
+
$bulk_tag_blocks = '';
|
344 |
+
|
345 |
+
foreach ( $flat_taxonomies as $tax_name => $tax_object ) {
|
346 |
+
if ( current_user_can( $tax_object->cap->assign_terms ) ) {
|
347 |
+
$page_values = array(
|
348 |
+
'tax_html' => esc_html( $tax_object->labels->name ),
|
349 |
+
'tax_attr' => esc_attr( $tax_name ),
|
350 |
+
'Add' => __( 'Add', 'media-library-assistant' ),
|
351 |
+
'Remove' => __( 'Remove', 'media-library-assistant' ),
|
352 |
+
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
353 |
+
);
|
354 |
+
$tag_block = MLAData::mla_parse_template( $page_template_array['tag_block'], $page_values );
|
355 |
+
$taxonomy_options = MLAData::mla_parse_template( $page_template_array['taxonomy_options'], $page_values );
|
356 |
+
|
357 |
+
$bulk_tag_blocks .= $tag_block . $taxonomy_options;
|
358 |
+
} // current_user_can
|
359 |
+
} // foreach $flat_taxonomies
|
360 |
+
|
361 |
+
$page_values = array(
|
362 |
+
'tag_blocks' => $bulk_tag_blocks
|
363 |
+
);
|
364 |
+
$tag_fieldset = MLAData::mla_parse_template( $page_template_array['tag_fieldset'], $page_values );
|
365 |
+
} // count( $flat_taxonomies )
|
366 |
+
|
367 |
+
/*
|
368 |
+
* The right-hand column contains the standard and custom fields
|
369 |
+
*/
|
370 |
+
if ( $authors = MLA::mla_authors_dropdown( -1 ) ) {
|
371 |
+
$authors_dropdown = ' <label class="inline-edit-author alignright">' . "\n";
|
372 |
+
$authors_dropdown .= ' <span class="title">' . __( 'Author', 'media-library-assistant' ) . '</span>' . "\n";
|
373 |
+
$authors_dropdown .= $authors . "\n";
|
374 |
+
$authors_dropdown .= ' </label>' . "\n";
|
375 |
+
} else {
|
376 |
+
$authors_dropdown = '';
|
377 |
+
}
|
378 |
+
|
379 |
+
$custom_fields = '';
|
380 |
+
foreach (MLAOptions::mla_custom_field_support( 'bulk_edit' ) as $slug => $label ) {
|
381 |
+
$page_values = array(
|
382 |
+
'slug' => $slug,
|
383 |
+
'label' => esc_attr( $label ),
|
384 |
+
);
|
385 |
+
$custom_fields .= MLAData::mla_parse_template( $page_template_array['custom_field'], $page_values );
|
386 |
+
}
|
387 |
+
|
388 |
+
$set_parent_form = MLA::mla_set_parent_form( false );
|
389 |
+
|
390 |
+
$page_values = array(
|
391 |
+
'Toggle' => __( 'Open Bulk Edit area', 'media-library-assistant' ),
|
392 |
+
'category_fieldset' => $category_fieldset,
|
393 |
+
'tag_fieldset' => $tag_fieldset,
|
394 |
+
'authors' => $authors_dropdown,
|
395 |
+
'Comments' => __( 'Comments', 'media-library-assistant' ),
|
396 |
+
'Pings' => __( 'Pings', 'media-library-assistant' ),
|
397 |
+
'No Change' => __( 'No Change', 'media-library-assistant' ),
|
398 |
+
'Allow' => __( 'Allow', 'media-library-assistant' ),
|
399 |
+
'Do not allow' => __( 'Do not allow', 'media-library-assistant' ),
|
400 |
+
'custom_fields' => $custom_fields,
|
401 |
+
'Title' => __( 'Title', 'media-library-assistant' ),
|
402 |
+
'Name/Slug' => __( 'Name/Slug', 'media-library-assistant' ),
|
403 |
+
'Caption' => __( 'Caption', 'media-library-assistant' ),
|
404 |
+
'Description' => __( 'Description', 'media-library-assistant' ),
|
405 |
+
'ALT Text' => __( 'ALT Text', 'media-library-assistant' ),
|
406 |
+
'Parent ID' => __( 'Parent ID', 'media-library-assistant' ),
|
407 |
+
'Select' => __( 'Select', 'media-library-assistant' ),
|
408 |
+
'set_parent_form' => $set_parent_form,
|
409 |
+
);
|
410 |
+
|
411 |
+
echo MLAData::mla_parse_template( $page_template_array['page'], $page_values );
|
412 |
+
}
|
413 |
+
|
414 |
+
/**
|
415 |
+
* Apply Media/Add New bulk edit area updates, if any
|
416 |
+
*
|
417 |
+
* This filter is called AFTER MLA mapping rules are applied during
|
418 |
+
* wp_update_attachment_metadata() processing.
|
419 |
+
*
|
420 |
+
* @since 2.02
|
421 |
+
*
|
422 |
+
* @param array attachment metadata
|
423 |
+
* @param integer The Post ID of the new/updated attachment
|
424 |
+
* @param array Processing options, e.g., 'is_upload'
|
425 |
+
*
|
426 |
+
* @return array updated attachment metadata
|
427 |
+
*/
|
428 |
+
public static function mla_update_attachment_metadata_postfilter( $data, $post_id, $options ) {
|
429 |
+
if ( ( true == $options['is_upload'] ) && ! empty( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) ) {
|
430 |
+
/*
|
431 |
+
* Clean up the inputs, which have everythng from the enclosing <form>
|
432 |
+
*/
|
433 |
+
$args = wp_parse_args( stripslashes( urldecode( $_REQUEST['mlaAddNewBulkEdit']['formString'] ) ) );
|
434 |
+
unset( $args['parent'] );
|
435 |
+
unset( $args['children'] );
|
436 |
+
unset( $args['mla-set-parent-ajax-nonce'] );
|
437 |
+
unset( $args['mla_set_parent_search_text'] );
|
438 |
+
unset( $args['mla_set_parent_post_type'] );
|
439 |
+
unset( $args['mla_set_parent_count'] );
|
440 |
+
unset( $args['mla_set_parent_paged'] );
|
441 |
+
unset( $args['mla_set_parent_found'] );
|
442 |
+
unset( $args['post_id'] );
|
443 |
+
unset( $args['_wpnonce'] );
|
444 |
+
unset( $args['_wp_http_referer'] );
|
445 |
+
|
446 |
+
/*
|
447 |
+
* The category taxonomy (edit screens) is a special case because
|
448 |
+
* post_categories_meta_box() changes the input name
|
449 |
+
*/
|
450 |
+
if ( !isset( $args['tax_input'] ) ) {
|
451 |
+
$args['tax_input'] = array();
|
452 |
+
}
|
453 |
+
|
454 |
+
if ( isset( $args['post_category'] ) ) {
|
455 |
+
$args['tax_input']['category'] = $args['post_category'];
|
456 |
+
unset ( $args['post_category'] );
|
457 |
+
}
|
458 |
+
|
459 |
+
/*
|
460 |
+
* Pass the ID
|
461 |
+
*/
|
462 |
+
$args['cb_attachment'] = array( $post_id );
|
463 |
+
|
464 |
+
$item_content = MLA::mla_process_bulk_action( 'edit', $args );
|
465 |
+
}
|
466 |
+
|
467 |
+
return $data;
|
468 |
+
} // mla_update_attachment_metadata_postfilter
|
469 |
+
|
470 |
/**
|
471 |
* Adds mapping update messages for display at the top of the Edit Media screen.
|
472 |
* Declared public because it is a filter.
|
654 |
'content' => $content
|
655 |
);
|
656 |
} else {
|
657 |
+
/* translators: 1: ERROR tag 2: function name 3: template key */
|
658 |
+
error_log( sprintf( _x( '%1$s: %2$s discarding "%3$s"; no title/order', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'mla_edit_add_help_tab', $id ), 0 );
|
659 |
}
|
660 |
}
|
661 |
|
1108 |
?>
|
1109 |
<ul id="<?php echo $tab_all_ul_id; ?>" data-wp-lists="list:<?php echo $taxonomy?>" class="categorychecklist form-no-clear">
|
1110 |
<?php if ( $tax->hierarchical ): ?>
|
1111 |
+
<?php wp_terms_checklist($post->ID, array( 'taxonomy' => $taxonomy, 'popular_cats' => $popular_ids, 'checked_ontop'=> MLAOptions::mla_taxonomy_support( $taxonomy, 'checked-on-top' ) ) ) ?>
|
1112 |
<?php else: ?>
|
1113 |
<?php $checklist_walker = new MLA_Checklist_Walker; ?>
|
1114 |
+
<?php wp_terms_checklist($post->ID, array( 'taxonomy' => $taxonomy, 'popular_cats' => $popular_ids, 'checked_ontop'=> MLAOptions::mla_taxonomy_support( $taxonomy, 'checked-on-top' ), 'walker' => $checklist_walker ) ) ?>
|
1115 |
<?php endif; ?>
|
1116 |
</ul>
|
1117 |
</div>
|
includes/class-mla-list-table.php
CHANGED
@@ -197,26 +197,26 @@ class MLA_List_Table extends WP_List_Table {
|
|
197 |
self::$default_columns = array(
|
198 |
'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
|
199 |
'icon' => '',
|
200 |
-
'ID_parent' => _x( 'ID/Parent', 'list_table_column', 'media-library-assistant' ),
|
201 |
-
'title_name' => _x( 'Title/Name', 'list_table_column', 'media-library-assistant' ),
|
202 |
-
'post_title' => _x( 'Title', 'list_table_column', 'media-library-assistant' ),
|
203 |
-
'post_name' => _x( 'Name', 'list_table_column', 'media-library-assistant' ),
|
204 |
-
'parent' => _x( 'Parent ID', 'list_table_column', 'media-library-assistant' ),
|
205 |
-
'menu_order' => _x( 'Menu Order', 'list_table_column', 'media-library-assistant' ),
|
206 |
-
'featured' => _x( 'Featured in', 'list_table_column', 'media-library-assistant' ),
|
207 |
-
'inserted' => _x( 'Inserted in', 'list_table_column', 'media-library-assistant' ),
|
208 |
-
'galleries' => _x( 'Gallery in', 'list_table_column', 'media-library-assistant' ),
|
209 |
-
'mla_galleries' => _x( 'MLA Gallery in', 'list_table_column', 'media-library-assistant' ),
|
210 |
-
'alt_text' => _x( 'ALT Text', 'list_table_column', 'media-library-assistant' ),
|
211 |
-
'caption' => _x( 'Caption', 'list_table_column', 'media-library-assistant' ),
|
212 |
-
'description' => _x( 'Description', 'list_table_column', 'media-library-assistant' ),
|
213 |
-
'post_mime_type' => _x( 'MIME Type', 'list_table_column', 'media-library-assistant' ),
|
214 |
-
'file_url' => _x( 'File URL', 'list_table_column', 'media-library-assistant' ),
|
215 |
-
'base_file' => _x( 'Base File', 'list_table_column', 'media-library-assistant' ),
|
216 |
-
'date' => _x( 'Date', 'list_table_column', 'media-library-assistant' ),
|
217 |
-
'modified' => _x( 'Last Modified', 'list_table_column', 'media-library-assistant' ),
|
218 |
-
'author' => _x( 'Author', 'list_table_column', 'media-library-assistant' ),
|
219 |
-
'attached_to' => _x( 'Attached to', 'list_table_column', 'media-library-assistant' ),
|
220 |
// taxonomy and custom field columns added below
|
221 |
);
|
222 |
}
|
@@ -546,7 +546,7 @@ class MLA_List_Table extends WP_List_Table {
|
|
546 |
foreach ( $taxonomies as $tax_name ) {
|
547 |
if ( MLAOptions::mla_taxonomy_support( $tax_name ) ) {
|
548 |
$tax_object = get_taxonomy( $tax_name );
|
549 |
-
self::$default_columns[ 't_' . $tax_name ] = $tax_object->labels->name;
|
550 |
self::$default_hidden_columns [] = 't_' . $tax_name;
|
551 |
// self::$default_sortable_columns [] = none at this time
|
552 |
} // supported taxonomy
|
@@ -610,6 +610,8 @@ class MLA_List_Table extends WP_List_Table {
|
|
610 |
* @return string Text or HTML to be placed inside the column
|
611 |
*/
|
612 |
function column_default( $item, $column_name ) {
|
|
|
|
|
613 |
if ( 't_' == substr( $column_name, 0, 2 ) ) {
|
614 |
$taxonomy = substr( $column_name, 2 );
|
615 |
$tax_object = get_taxonomy( $taxonomy );
|
@@ -642,7 +644,11 @@ class MLA_List_Table extends WP_List_Table {
|
|
642 |
}
|
643 |
} // 't_'
|
644 |
elseif ( 'c_' == substr( $column_name, 0, 2 ) ) {
|
645 |
-
|
|
|
|
|
|
|
|
|
646 |
if ( empty( $values ) ) {
|
647 |
return '';
|
648 |
}
|
@@ -869,11 +875,17 @@ class MLA_List_Table extends WP_List_Table {
|
|
869 |
$inline_data .= ' <div class="post_content">' . esc_attr( $item->post_content ) . "</div>\r\n";
|
870 |
|
871 |
if ( !empty( $item->mla_wp_attachment_metadata ) ) {
|
|
|
|
|
872 |
if ( isset( $item->mla_wp_attachment_image_alt ) ) {
|
873 |
-
|
874 |
-
|
875 |
-
|
|
|
|
|
876 |
}
|
|
|
|
|
877 |
}
|
878 |
|
879 |
$inline_data .= ' <div class="post_parent">' . $item->post_parent . "</div>\r\n";
|
@@ -1346,12 +1358,14 @@ class MLA_List_Table extends WP_List_Table {
|
|
1346 |
* @return string HTML markup to be placed inside the column
|
1347 |
*/
|
1348 |
function column_base_file( $item ) {
|
|
|
|
|
1349 |
return sprintf( '<a href="%1$s" title="' . __( 'Filter by', 'media-library-assistant' ) . ' “%2$s”">%2$s</a>', esc_url( add_query_arg( array_merge( self::mla_submenu_arguments( false ), array(
|
1350 |
'page' => MLA::ADMIN_PAGE_SLUG,
|
1351 |
'mla-metakey' => urlencode( '_wp_attached_file' ),
|
1352 |
-
'mla-metavalue' => urlencode( $
|
1353 |
-
'heading_suffix' => urlencode( __( 'Base File', 'media-library-assistant' ) . ': ' . $
|
1354 |
-
) ), 'upload.php' ) ), esc_html( $
|
1355 |
}
|
1356 |
|
1357 |
/**
|
197 |
self::$default_columns = array(
|
198 |
'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
|
199 |
'icon' => '',
|
200 |
+
'ID_parent' => esc_html( _x( 'ID/Parent', 'list_table_column', 'media-library-assistant' ) ),
|
201 |
+
'title_name' => esc_html( _x( 'Title/Name', 'list_table_column', 'media-library-assistant' ) ),
|
202 |
+
'post_title' => esc_html( _x( 'Title', 'list_table_column', 'media-library-assistant' ) ),
|
203 |
+
'post_name' => esc_html( _x( 'Name', 'list_table_column', 'media-library-assistant' ) ),
|
204 |
+
'parent' => esc_html( _x( 'Parent ID', 'list_table_column', 'media-library-assistant' ) ),
|
205 |
+
'menu_order' => esc_html( _x( 'Menu Order', 'list_table_column', 'media-library-assistant' ) ),
|
206 |
+
'featured' => esc_html( _x( 'Featured in', 'list_table_column', 'media-library-assistant' ) ),
|
207 |
+
'inserted' => esc_html( _x( 'Inserted in', 'list_table_column', 'media-library-assistant' ) ),
|
208 |
+
'galleries' => esc_html( _x( 'Gallery in', 'list_table_column', 'media-library-assistant' ) ),
|
209 |
+
'mla_galleries' => esc_html( _x( 'MLA Gallery in', 'list_table_column', 'media-library-assistant' ) ),
|
210 |
+
'alt_text' => esc_html( _x( 'ALT Text', 'list_table_column', 'media-library-assistant' ) ),
|
211 |
+
'caption' => esc_html( _x( 'Caption', 'list_table_column', 'media-library-assistant' ) ),
|
212 |
+
'description' => esc_html( _x( 'Description', 'list_table_column', 'media-library-assistant' ) ),
|
213 |
+
'post_mime_type' => esc_html( _x( 'MIME Type', 'list_table_column', 'media-library-assistant' ) ),
|
214 |
+
'file_url' => esc_html( _x( 'File URL', 'list_table_column', 'media-library-assistant' ) ),
|
215 |
+
'base_file' => esc_html( _x( 'Base File', 'list_table_column', 'media-library-assistant' ) ),
|
216 |
+
'date' => esc_html( _x( 'Date', 'list_table_column', 'media-library-assistant' ) ),
|
217 |
+
'modified' => esc_html( _x( 'Last Modified', 'list_table_column', 'media-library-assistant' ) ),
|
218 |
+
'author' => esc_html( _x( 'Author', 'list_table_column', 'media-library-assistant' ) ),
|
219 |
+
'attached_to' => esc_html( _x( 'Attached to', 'list_table_column', 'media-library-assistant' ) ),
|
220 |
// taxonomy and custom field columns added below
|
221 |
);
|
222 |
}
|
546 |
foreach ( $taxonomies as $tax_name ) {
|
547 |
if ( MLAOptions::mla_taxonomy_support( $tax_name ) ) {
|
548 |
$tax_object = get_taxonomy( $tax_name );
|
549 |
+
self::$default_columns[ 't_' . $tax_name ] = esc_html( $tax_object->labels->name );
|
550 |
self::$default_hidden_columns [] = 't_' . $tax_name;
|
551 |
// self::$default_sortable_columns [] = none at this time
|
552 |
} // supported taxonomy
|
610 |
* @return string Text or HTML to be placed inside the column
|
611 |
*/
|
612 |
function column_default( $item, $column_name ) {
|
613 |
+
static $custom_columns = NULL;
|
614 |
+
|
615 |
if ( 't_' == substr( $column_name, 0, 2 ) ) {
|
616 |
$taxonomy = substr( $column_name, 2 );
|
617 |
$tax_object = get_taxonomy( $taxonomy );
|
644 |
}
|
645 |
} // 't_'
|
646 |
elseif ( 'c_' == substr( $column_name, 0, 2 ) ) {
|
647 |
+
if ( NULL === $custom_columns ) {
|
648 |
+
$custom_columns = MLAOptions::mla_custom_field_support( 'custom_columns' );
|
649 |
+
}
|
650 |
+
|
651 |
+
$values = get_post_meta( $item->ID, $custom_columns[ $column_name ], false );
|
652 |
if ( empty( $values ) ) {
|
653 |
return '';
|
654 |
}
|
875 |
$inline_data .= ' <div class="post_content">' . esc_attr( $item->post_content ) . "</div>\r\n";
|
876 |
|
877 |
if ( !empty( $item->mla_wp_attachment_metadata ) ) {
|
878 |
+
$inline_data .= ' <div class="image_alt">';
|
879 |
+
|
880 |
if ( isset( $item->mla_wp_attachment_image_alt ) ) {
|
881 |
+
if ( is_array( $item->mla_wp_attachment_image_alt ) ) {
|
882 |
+
$inline_data .= esc_attr( $item->mla_wp_attachment_image_alt[0] );
|
883 |
+
} else {
|
884 |
+
$inline_data .= esc_attr( $item->mla_wp_attachment_image_alt );
|
885 |
+
}
|
886 |
}
|
887 |
+
|
888 |
+
$inline_data .= "</div>\r\n";
|
889 |
}
|
890 |
|
891 |
$inline_data .= ' <div class="post_parent">' . $item->post_parent . "</div>\r\n";
|
1358 |
* @return string HTML markup to be placed inside the column
|
1359 |
*/
|
1360 |
function column_base_file( $item ) {
|
1361 |
+
$base_file = isset( $item->mla_wp_attached_file ) ? $item->mla_wp_attached_file : '';
|
1362 |
+
|
1363 |
return sprintf( '<a href="%1$s" title="' . __( 'Filter by', 'media-library-assistant' ) . ' “%2$s”">%2$s</a>', esc_url( add_query_arg( array_merge( self::mla_submenu_arguments( false ), array(
|
1364 |
'page' => MLA::ADMIN_PAGE_SLUG,
|
1365 |
'mla-metakey' => urlencode( '_wp_attached_file' ),
|
1366 |
+
'mla-metavalue' => urlencode( $base_file ),
|
1367 |
+
'heading_suffix' => urlencode( __( 'Base File', 'media-library-assistant' ) . ': ' . $base_file )
|
1368 |
+
) ), 'upload.php' ) ), esc_html( $base_file ) );
|
1369 |
}
|
1370 |
|
1371 |
/**
|
includes/class-mla-main.php
CHANGED
@@ -29,7 +29,7 @@ class MLA {
|
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
-
const CURRENT_MLA_VERSION = '2.
|
33 |
|
34 |
/**
|
35 |
* Slug for registering and enqueueing plugin style sheet
|
@@ -600,8 +600,8 @@ class MLA {
|
|
600 |
'content' => $content
|
601 |
);
|
602 |
} else {
|
603 |
-
/* translators: 1: function name
|
604 |
-
error_log( sprintf( _x( '
|
605 |
}
|
606 |
}
|
607 |
|
@@ -792,7 +792,7 @@ class MLA {
|
|
792 |
|
793 |
exit();
|
794 |
} else {
|
795 |
-
$message = 'ERROR: download argument(s) not set.';
|
796 |
}
|
797 |
|
798 |
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
|
@@ -850,12 +850,21 @@ class MLA {
|
|
850 |
* @since 2.00
|
851 |
*
|
852 |
* @param string Bulk action slug: delete, edit, restore, trash, custom action
|
|
|
853 |
*
|
854 |
* @return array messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )
|
855 |
*/
|
856 |
-
|
857 |
$page_content = array( 'message' => '', 'body' => '', 'unchanged' => 0, 'success' => 0, 'failure' => 0, 'item_results' => array() );
|
858 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
859 |
$item_content = apply_filters( 'mla_list_table_begin_bulk_action', NULL, $bulk_action );
|
860 |
if ( is_null( $item_content ) ) {
|
861 |
$prevent_default = false;
|
@@ -875,15 +884,15 @@ class MLA {
|
|
875 |
return $page_content;
|
876 |
}
|
877 |
|
878 |
-
if ( !empty( $
|
879 |
do_action( 'mla_begin_mapping', 'bulk_custom', NULL );
|
880 |
-
} elseif ( !empty( $
|
881 |
do_action( 'mla_begin_mapping', 'bulk_iptc_exif', NULL );
|
882 |
}
|
883 |
|
884 |
-
foreach ( $
|
885 |
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
886 |
-
$page_content['message'] .= __( 'ERROR: You are not allowed to edit Attachment: ', 'media-library-assistant' ) . $post_id . '<br>';
|
887 |
continue;
|
888 |
}
|
889 |
|
@@ -902,13 +911,13 @@ class MLA {
|
|
902 |
$item_content = self::_delete_single_item( $post_id );
|
903 |
break;
|
904 |
case 'edit':
|
905 |
-
if ( !empty( $
|
906 |
$updates = MLAOptions::mla_evaluate_custom_field_mapping( $post_id, 'single_attachment_mapping' );
|
907 |
$item_content = MLAData::mla_update_single_item( $post_id, $updates );
|
908 |
break;
|
909 |
}
|
910 |
|
911 |
-
if ( !empty( $
|
912 |
$item = get_post( $post_id );
|
913 |
$updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping' );
|
914 |
$item_content = MLAData::mla_update_single_item( $post_id, $updates );
|
@@ -920,8 +929,8 @@ class MLA {
|
|
920 |
* Trim text values for testing purposes only
|
921 |
*/
|
922 |
$new_data = array() ;
|
923 |
-
if ( isset( $
|
924 |
-
$test_value = self::_process_bulk_value( $post_id, $
|
925 |
if ( ! empty( $test_value ) ) {
|
926 |
$new_data['post_title'] = $test_value;
|
927 |
} elseif ( is_null( $test_value ) ) {
|
@@ -929,8 +938,8 @@ class MLA {
|
|
929 |
}
|
930 |
}
|
931 |
|
932 |
-
if ( isset( $
|
933 |
-
$test_value = self::_process_bulk_value( $post_id, $
|
934 |
if ( ! empty( $test_value ) ) {
|
935 |
$new_data['post_excerpt'] = $test_value;
|
936 |
} elseif ( is_null( $test_value ) ) {
|
@@ -938,8 +947,8 @@ class MLA {
|
|
938 |
}
|
939 |
}
|
940 |
|
941 |
-
if ( isset( $
|
942 |
-
$test_value = self::_process_bulk_value( $post_id, $
|
943 |
if ( ! empty( $test_value ) ) {
|
944 |
$new_data['post_content'] = $test_value;
|
945 |
} elseif ( is_null( $test_value ) ) {
|
@@ -951,8 +960,8 @@ class MLA {
|
|
951 |
* image_alt requires a separate key because some attachment types
|
952 |
* should not get a value, e.g., text or PDF documents
|
953 |
*/
|
954 |
-
if ( isset( $
|
955 |
-
$test_value = self::_process_bulk_value( $post_id, $
|
956 |
if ( ! empty( $test_value ) ) {
|
957 |
$new_data['bulk_image_alt'] = $test_value;
|
958 |
} elseif ( is_null( $test_value ) ) {
|
@@ -960,27 +969,27 @@ class MLA {
|
|
960 |
}
|
961 |
}
|
962 |
|
963 |
-
if ( isset( $
|
964 |
-
if ( is_numeric( $
|
965 |
-
$new_data['post_parent'] = $
|
966 |
}
|
967 |
}
|
968 |
|
969 |
-
if ( isset( $
|
970 |
-
if ( -1 != $
|
971 |
-
$new_data['post_author'] = $
|
972 |
}
|
973 |
}
|
974 |
|
975 |
-
if ( isset( $
|
976 |
-
if ( -1 != $
|
977 |
-
$new_data['comment_status'] = $
|
978 |
}
|
979 |
}
|
980 |
|
981 |
-
if ( isset( $
|
982 |
-
if ( -1 != $
|
983 |
-
$new_data['ping_status'] = $
|
984 |
}
|
985 |
}
|
986 |
|
@@ -989,8 +998,8 @@ class MLA {
|
|
989 |
*/
|
990 |
$custom_fields = array();
|
991 |
foreach (MLAOptions::mla_custom_field_support( 'bulk_edit' ) as $slug => $label ) {
|
992 |
-
if ( isset( $
|
993 |
-
$test_value = self::_process_bulk_value( $post_id, $
|
994 |
if ( ! empty( $test_value ) ) {
|
995 |
$custom_fields[ $label ] = $test_value;
|
996 |
} elseif ( is_null( $test_value ) ) {
|
@@ -1003,109 +1012,109 @@ class MLA {
|
|
1003 |
$new_data[ 'custom_updates' ] = $custom_fields;
|
1004 |
}
|
1005 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1006 |
/*
|
1007 |
-
*
|
1008 |
*/
|
1009 |
-
$
|
1010 |
-
|
1011 |
-
|
1012 |
-
$tax_action = $_REQUEST['tax_action'][ $taxonomy ];
|
1013 |
-
} else {
|
1014 |
-
$tax_action = 'replace';
|
1015 |
}
|
1016 |
-
|
1017 |
/*
|
1018 |
-
*
|
1019 |
*/
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
}
|
1024 |
-
} else {
|
1025 |
-
/*
|
1026 |
-
* Parse out individual terms
|
1027 |
-
*/
|
1028 |
-
$comma = _x( ',', 'tag_delimiter', 'media-library-assistant' );
|
1029 |
-
if ( ',' !== $comma ) {
|
1030 |
-
$tags = str_replace( $comma, ',', $terms );
|
1031 |
-
}
|
1032 |
-
|
1033 |
-
$fragments = explode( ',', trim( $terms, " \n\t\r\0\x0B," ) );
|
1034 |
-
$terms = array();
|
1035 |
-
foreach( $fragments as $fragment ) {
|
1036 |
-
$fragment = trim( wp_unslash( $fragment ) );
|
1037 |
-
if ( ! empty( $fragment ) ) {
|
1038 |
-
$terms[] = $fragment;
|
1039 |
-
}
|
1040 |
-
} // foreach fragment
|
1041 |
-
|
1042 |
-
$terms = array_unique( $terms );
|
1043 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1044 |
|
1045 |
-
|
1046 |
-
|
1047 |
-
}
|
1048 |
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
wp_cache_add( $post_id, $post_terms, $taxonomy . '_relationships' );
|
1053 |
-
}
|
1054 |
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
-
|
1060 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1061 |
}
|
1062 |
}
|
1063 |
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
}
|
1073 |
-
|
1074 |
-
$do_update = ! empty( $terms );
|
1075 |
-
} elseif ( 'remove' == $tax_action ) {
|
1076 |
-
/*
|
1077 |
-
* Remove only the existing terms
|
1078 |
-
*/
|
1079 |
-
foreach ( $terms as $index => $new_term ) {
|
1080 |
-
if ( ! isset( $current_terms[ $new_term ] ) ) {
|
1081 |
-
unset( $terms[ $index ] );
|
1082 |
-
}
|
1083 |
}
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
}
|
1099 |
-
|
1100 |
-
$do_update = ! empty( $current_terms );
|
1101 |
}
|
|
|
|
|
|
|
1102 |
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
|
1108 |
-
|
1109 |
break;
|
1110 |
case 'restore':
|
1111 |
$item_content = self::_restore_single_item( $post_id );
|
@@ -1118,7 +1127,8 @@ class MLA {
|
|
1118 |
|
1119 |
if ( is_null( $item_content ) ) {
|
1120 |
$prevent_default = false;
|
1121 |
-
|
|
|
1122 |
} else {
|
1123 |
$prevent_default = isset( $item_content['prevent_default'] ) ? $item_content['prevent_default'] : false;
|
1124 |
}
|
@@ -1143,7 +1153,7 @@ class MLA {
|
|
1143 |
if ( false !== strpos( $item_content['message'], __( 'no changes detected', 'media-library-assistant' ) ) ) {
|
1144 |
$page_content['unchanged'] += 1;
|
1145 |
$page_content['item_results'][ $post_id ]['result'] = 'unchanged';
|
1146 |
-
} elseif ( false !== strpos( $item_content['message'], __( 'ERROR
|
1147 |
$page_content['failure'] += 1;
|
1148 |
$page_content['item_results'][ $post_id ]['result'] = 'failure';
|
1149 |
} else {
|
@@ -1154,7 +1164,7 @@ class MLA {
|
|
1154 |
} // ! $prevent_default
|
1155 |
} // foreach cb_attachment
|
1156 |
|
1157 |
-
if ( !empty( $
|
1158 |
do_action( 'mla_end_mapping' );
|
1159 |
}
|
1160 |
|
@@ -1166,32 +1176,36 @@ class MLA {
|
|
1166 |
if ( isset( $item_content['body'] ) ) {
|
1167 |
$page_content['body'] = $item_content['body'];
|
1168 |
}
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
|
|
|
|
1185 |
} else { // isset cb_attachment
|
1186 |
/* translators: 1: action name, e.g., edit */
|
1187 |
$page_content['message'] = sprintf( __( 'Bulk Action %1$s - no items selected.', 'media-library-assistant' ), $bulk_action );
|
1188 |
}
|
1189 |
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
|
|
|
|
1195 |
|
1196 |
return $page_content;
|
1197 |
}
|
@@ -1264,7 +1278,7 @@ class MLA {
|
|
1264 |
if ( $bulk_action && ( $bulk_action != 'none' ) ) {
|
1265 |
// bulk_refresh simply refreshes the page, ignoring other bulk actions
|
1266 |
if ( empty( $_REQUEST['bulk_refresh'] ) ) {
|
1267 |
-
$item_content = self::
|
1268 |
$page_content['message'] .= $item_content['message'] . '<br>';
|
1269 |
}
|
1270 |
} // $bulk_action
|
@@ -1291,7 +1305,7 @@ class MLA {
|
|
1291 |
foreach ( $ids as $post_id ) {
|
1292 |
$item_content = self::_delete_single_item( $post_id );
|
1293 |
|
1294 |
-
if ( false !== strpos( $item_content['message'], __( 'ERROR
|
1295 |
$page_content['message'] .= $item_content['message'] . '<br>';
|
1296 |
} else {
|
1297 |
$delete_count++;
|
@@ -1299,6 +1313,7 @@ class MLA {
|
|
1299 |
}
|
1300 |
|
1301 |
if ( $delete_count ) {
|
|
|
1302 |
$page_content['message'] .= sprintf( _nx( '%s item deleted.', '%s items deleted.', $delete_count, 'deleted items', 'media-library-assistant' ), number_format_i18n( $delete_count ) );
|
1303 |
} else {
|
1304 |
$page_content['message'] .= __( 'No items deleted.', 'media-library-assistant' );
|
@@ -1402,7 +1417,7 @@ class MLA {
|
|
1402 |
|
1403 |
if ( !empty( $page_content['body'] ) ) {
|
1404 |
if ( !empty( $page_content['message'] ) ) {
|
1405 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
1406 |
$messages_class = 'mla_errors';
|
1407 |
} else {
|
1408 |
$messages_class = 'mla_messages';
|
@@ -1433,7 +1448,7 @@ class MLA {
|
|
1433 |
}
|
1434 |
|
1435 |
if ( !empty( $page_content['message'] ) ) {
|
1436 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
1437 |
$messages_class = 'mla_errors';
|
1438 |
} else {
|
1439 |
$messages_class = 'mla_messages';
|
@@ -1660,18 +1675,18 @@ class MLA {
|
|
1660 |
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
1661 |
|
1662 |
if ( empty( $_REQUEST['post_ID'] ) ) {
|
1663 |
-
echo __( 'ERROR: No post ID found', 'media-library-assistant' );
|
1664 |
die();
|
1665 |
} else {
|
1666 |
$post_id = $_REQUEST['post_ID'];
|
1667 |
}
|
1668 |
|
1669 |
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
1670 |
-
wp_die( __( 'You are not allowed to edit this Attachment.', 'media-library-assistant' ) );
|
1671 |
}
|
1672 |
|
1673 |
$results = MLAData::mla_update_single_item( $post_id, $_REQUEST );
|
1674 |
-
if ( false !== strpos( $results['message'], __( 'ERROR
|
1675 |
wp_die( $results['message'] );
|
1676 |
}
|
1677 |
|
@@ -1718,7 +1733,7 @@ class MLA {
|
|
1718 |
$_REQUEST['bulk_edit'] = __( 'Update', 'media-library-assistant' );
|
1719 |
}
|
1720 |
|
1721 |
-
$item_content = (object) self::
|
1722 |
wp_send_json_success( $item_content );
|
1723 |
}
|
1724 |
|
@@ -1732,7 +1747,6 @@ class MLA {
|
|
1732 |
* @return void echo HTML <tr> markup for updated row or error message, then die()
|
1733 |
*/
|
1734 |
public static function mla_inline_edit_ajax_action() {
|
1735 |
-
//error_log( 'DEBUG: mla_inline_edit_ajax_action $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
|
1736 |
set_current_screen( $_REQUEST['screen'] );
|
1737 |
|
1738 |
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
@@ -1742,14 +1756,14 @@ class MLA {
|
|
1742 |
}
|
1743 |
|
1744 |
if ( empty( $_REQUEST['post_ID'] ) ) {
|
1745 |
-
echo __( 'ERROR: No post ID found', 'media-library-assistant' );
|
1746 |
die();
|
1747 |
} else {
|
1748 |
$post_id = $_REQUEST['post_ID'];
|
1749 |
}
|
1750 |
|
1751 |
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
1752 |
-
wp_die( __( 'You are not allowed to edit this Attachment.', 'media-library-assistant' ) );
|
1753 |
}
|
1754 |
|
1755 |
/*
|
@@ -1814,8 +1828,6 @@ class MLA {
|
|
1814 |
} else { // ! empty( $_REQUEST['tax_input'] )
|
1815 |
$tax_output = NULL;
|
1816 |
}
|
1817 |
-
//error_log( "mla_inline_edit_ajax_action ({$post_id}) \$_REQUEST = " . var_export( $_REQUEST, true ), 0 );
|
1818 |
-
//error_log( "mla_inline_edit_ajax_action ({$post_id}) \$tax_output = " . var_export( $tax_output, true ), 0 );
|
1819 |
|
1820 |
$item_content = apply_filters( 'mla_list_table_inline_action', NULL, $post_id );
|
1821 |
if ( is_null( $item_content ) ) {
|
@@ -1826,14 +1838,11 @@ class MLA {
|
|
1826 |
$custom_message = isset( $item_content['message'] ) ? $page_content['message'] : '';
|
1827 |
}
|
1828 |
|
1829 |
-
//error_log( "mla_inline_edit_ajax_action ({$post_id}) \$item_content = " . var_export( $item_content, true ), 0 );
|
1830 |
-
//error_log( "mla_inline_edit_ajax_action ({$post_id}) \$prevent_default = " . var_export( $prevent_default, true ), 0 );
|
1831 |
if ( ! $prevent_default ) {
|
1832 |
$results = MLAData::mla_update_single_item( $post_id, $_REQUEST, $tax_output );
|
1833 |
}
|
1834 |
|
1835 |
$new_item = (object) MLAData::mla_get_attachment_by_id( $post_id );
|
1836 |
-
//error_log( "mla_inline_edit_ajax_action ({$post_id}) \$new_item = " . var_export( $new_item, true ), 0 );
|
1837 |
|
1838 |
// Create an instance of our package class and echo the new HTML
|
1839 |
$MLAListTable = new MLA_List_Table();
|
@@ -1894,8 +1903,8 @@ class MLA {
|
|
1894 |
public static function mla_set_parent_form( $return_form = true ) {
|
1895 |
$set_parent_template = MLAData::mla_load_template( 'admin-set-parent-form.tpl' );
|
1896 |
if ( ! is_array( $set_parent_template ) ) {
|
1897 |
-
/* translators: 1: function name
|
1898 |
-
error_log( sprintf( _x( '
|
1899 |
return '';
|
1900 |
}
|
1901 |
|
@@ -1969,12 +1978,12 @@ class MLA {
|
|
1969 |
|
1970 |
$page_template_array = MLAData::mla_load_template( 'admin-inline-edit-form.tpl' );
|
1971 |
if ( ! is_array( $page_template_array ) ) {
|
1972 |
-
/* translators: 1: function name
|
1973 |
-
error_log( sprintf( _x( '
|
1974 |
return '';
|
1975 |
}
|
1976 |
|
1977 |
-
if ( $authors = self::
|
1978 |
$authors_dropdown = ' <label class="inline-edit-author">' . "\n";
|
1979 |
$authors_dropdown .= ' <span class="title">' . __( 'Author', 'media-library-assistant' ) . '</span>' . "\n";
|
1980 |
$authors_dropdown .= $authors . "\n";
|
@@ -2076,7 +2085,7 @@ class MLA {
|
|
2076 |
$bulk_right_column = MLAData::mla_parse_template( $page_template_array['tag_fieldset'], $page_values );
|
2077 |
} // count( $flat_taxonomies )
|
2078 |
|
2079 |
-
if ( $authors = self::
|
2080 |
$bulk_authors_dropdown = ' <label class="inline-edit-author alignright">' . "\n";
|
2081 |
$bulk_authors_dropdown .= ' <span class="title">' . __( 'Author', 'media-library-assistant' ) . '</span>' . "\n";
|
2082 |
$bulk_authors_dropdown .= $authors . "\n";
|
@@ -2149,7 +2158,7 @@ class MLA {
|
|
2149 |
*
|
2150 |
* @return string|false HTML markup for the dropdown field or False
|
2151 |
*/
|
2152 |
-
|
2153 |
$post_type_object = get_post_type_object('attachment');
|
2154 |
if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) {
|
2155 |
$users_opt = array(
|
@@ -2217,15 +2226,15 @@ class MLA {
|
|
2217 |
private static function _delete_single_item( $post_id ) {
|
2218 |
if ( !current_user_can( 'delete_post', $post_id ) ) {
|
2219 |
return array(
|
2220 |
-
'message' => __( 'ERROR: You are not allowed to delete this item.', 'media-library-assistant' ),
|
2221 |
'body' => ''
|
2222 |
);
|
2223 |
}
|
2224 |
|
2225 |
if ( !wp_delete_attachment( $post_id, true ) ) {
|
2226 |
return array(
|
2227 |
-
/* translators: 1: post ID */
|
2228 |
-
'message' => sprintf( __( '
|
2229 |
'body' => ''
|
2230 |
);
|
2231 |
}
|
@@ -2258,7 +2267,7 @@ class MLA {
|
|
2258 |
$post_data = MLAData::mla_get_attachment_by_id( $post_id );
|
2259 |
if ( !isset( $post_data ) ) {
|
2260 |
return array(
|
2261 |
-
'message' => __( 'ERROR: Could not retrieve Attachment.', 'media-library-assistant' ),
|
2262 |
'body' => ''
|
2263 |
);
|
2264 |
}
|
@@ -2291,8 +2300,8 @@ class MLA {
|
|
2291 |
$authors_template = $page_template_array['authors'];
|
2292 |
$postbox_template = $page_template_array['postbox'];
|
2293 |
} else {
|
2294 |
-
/* translators: 1: page_template_array */
|
2295 |
-
error_log( sprintf( _x( '
|
2296 |
$page_template = $page_template_array;
|
2297 |
$authors_template = '';
|
2298 |
$postbox_template = '';
|
@@ -2304,7 +2313,7 @@ class MLA {
|
|
2304 |
$parent_info = sprintf( '(%1$s) %2$s %3$s', $post_data['mla_references']['parent_type'], $post_data['mla_references']['parent_title'], $post_data['mla_references']['parent_errors'] );
|
2305 |
}
|
2306 |
|
2307 |
-
if ( $authors = self::
|
2308 |
$args = array (
|
2309 |
'ID' => $post_data['ID'],
|
2310 |
'Author' => __( 'Author', 'media-library-assistant' ),
|
@@ -2533,15 +2542,15 @@ class MLA {
|
|
2533 |
private static function _restore_single_item( $post_id ) {
|
2534 |
if ( !current_user_can( 'delete_post', $post_id ) ) {
|
2535 |
return array(
|
2536 |
-
'message' => __( 'ERROR: You are not allowed to move this item out of the Trash.', 'media-library-assistant' ),
|
2537 |
'body' => ''
|
2538 |
);
|
2539 |
}
|
2540 |
|
2541 |
if ( !wp_untrash_post( $post_id ) ) {
|
2542 |
return array(
|
2543 |
-
/* translators: 1: post ID */
|
2544 |
-
'message' => sprintf( __( '
|
2545 |
'body' => ''
|
2546 |
);
|
2547 |
}
|
@@ -2573,15 +2582,15 @@ class MLA {
|
|
2573 |
private static function _trash_single_item( $post_id ) {
|
2574 |
if ( !current_user_can( 'delete_post', $post_id ) ) {
|
2575 |
return array(
|
2576 |
-
'message' => __( 'ERROR: You are not allowed to move this item to the Trash.', 'media-library-assistant' ),
|
2577 |
'body' => ''
|
2578 |
);
|
2579 |
}
|
2580 |
|
2581 |
if ( !wp_trash_post( $post_id, false ) ) {
|
2582 |
return array(
|
2583 |
-
/* translators: 1: post ID */
|
2584 |
-
'message' => sprintf( __( '
|
2585 |
'body' => ''
|
2586 |
);
|
2587 |
}
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
+
const CURRENT_MLA_VERSION = '2.02';
|
33 |
|
34 |
/**
|
35 |
* Slug for registering and enqueueing plugin style sheet
|
600 |
'content' => $content
|
601 |
);
|
602 |
} else {
|
603 |
+
/* translators: 1: ERROR tag 2: function name 3: template key */
|
604 |
+
error_log( sprintf( _x( '%1$s: %2$s discarding "%3$s"; no title/order', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'mla_add_help_tab', $id ), 0 );
|
605 |
}
|
606 |
}
|
607 |
|
792 |
|
793 |
exit();
|
794 |
} else {
|
795 |
+
$message = __( 'ERROR', 'media-library-assistant' ) . ': ' . 'download argument(s) not set.';
|
796 |
}
|
797 |
|
798 |
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
|
850 |
* @since 2.00
|
851 |
*
|
852 |
* @param string Bulk action slug: delete, edit, restore, trash, custom action
|
853 |
+
* @param array Form elements, e.g., from $_REQUEST
|
854 |
*
|
855 |
* @return array messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )
|
856 |
*/
|
857 |
+
public static function mla_process_bulk_action( $bulk_action, $request = NULL ) {
|
858 |
$page_content = array( 'message' => '', 'body' => '', 'unchanged' => 0, 'success' => 0, 'failure' => 0, 'item_results' => array() );
|
859 |
+
|
860 |
+
if ( NULL == $request ) {
|
861 |
+
$request = $_REQUEST;
|
862 |
+
$do_cleanup = true;
|
863 |
+
} else {
|
864 |
+
$do_cleanup = false;
|
865 |
+
}
|
866 |
+
|
867 |
+
if ( isset( $request['cb_attachment'] ) ) {
|
868 |
$item_content = apply_filters( 'mla_list_table_begin_bulk_action', NULL, $bulk_action );
|
869 |
if ( is_null( $item_content ) ) {
|
870 |
$prevent_default = false;
|
884 |
return $page_content;
|
885 |
}
|
886 |
|
887 |
+
if ( !empty( $request['bulk_custom_field_map'] ) ) {
|
888 |
do_action( 'mla_begin_mapping', 'bulk_custom', NULL );
|
889 |
+
} elseif ( !empty( $request['bulk_map'] ) ) {
|
890 |
do_action( 'mla_begin_mapping', 'bulk_iptc_exif', NULL );
|
891 |
}
|
892 |
|
893 |
+
foreach ( $request['cb_attachment'] as $index => $post_id ) {
|
894 |
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
895 |
+
$page_content['message'] .= __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'You are not allowed to edit Attachment: ', 'media-library-assistant' ) . $post_id . '<br>';
|
896 |
continue;
|
897 |
}
|
898 |
|
911 |
$item_content = self::_delete_single_item( $post_id );
|
912 |
break;
|
913 |
case 'edit':
|
914 |
+
if ( !empty( $request['bulk_custom_field_map'] ) ) {
|
915 |
$updates = MLAOptions::mla_evaluate_custom_field_mapping( $post_id, 'single_attachment_mapping' );
|
916 |
$item_content = MLAData::mla_update_single_item( $post_id, $updates );
|
917 |
break;
|
918 |
}
|
919 |
|
920 |
+
if ( !empty( $request['bulk_map'] ) ) {
|
921 |
$item = get_post( $post_id );
|
922 |
$updates = MLAOptions::mla_evaluate_iptc_exif_mapping( $item, 'iptc_exif_mapping' );
|
923 |
$item_content = MLAData::mla_update_single_item( $post_id, $updates );
|
929 |
* Trim text values for testing purposes only
|
930 |
*/
|
931 |
$new_data = array() ;
|
932 |
+
if ( isset( $request['post_title'] ) ) {
|
933 |
+
$test_value = self::_process_bulk_value( $post_id, $request['post_title'] );
|
934 |
if ( ! empty( $test_value ) ) {
|
935 |
$new_data['post_title'] = $test_value;
|
936 |
} elseif ( is_null( $test_value ) ) {
|
938 |
}
|
939 |
}
|
940 |
|
941 |
+
if ( isset( $request['post_excerpt'] ) ) {
|
942 |
+
$test_value = self::_process_bulk_value( $post_id, $request['post_excerpt'] );
|
943 |
if ( ! empty( $test_value ) ) {
|
944 |
$new_data['post_excerpt'] = $test_value;
|
945 |
} elseif ( is_null( $test_value ) ) {
|
947 |
}
|
948 |
}
|
949 |
|
950 |
+
if ( isset( $request['post_content'] ) ) {
|
951 |
+
$test_value = self::_process_bulk_value( $post_id, $request['post_content'] );
|
952 |
if ( ! empty( $test_value ) ) {
|
953 |
$new_data['post_content'] = $test_value;
|
954 |
} elseif ( is_null( $test_value ) ) {
|
960 |
* image_alt requires a separate key because some attachment types
|
961 |
* should not get a value, e.g., text or PDF documents
|
962 |
*/
|
963 |
+
if ( isset( $request['image_alt'] ) ) {
|
964 |
+
$test_value = self::_process_bulk_value( $post_id, $request['image_alt'] );
|
965 |
if ( ! empty( $test_value ) ) {
|
966 |
$new_data['bulk_image_alt'] = $test_value;
|
967 |
} elseif ( is_null( $test_value ) ) {
|
969 |
}
|
970 |
}
|
971 |
|
972 |
+
if ( isset( $request['post_parent'] ) ) {
|
973 |
+
if ( is_numeric( $request['post_parent'] ) ) {
|
974 |
+
$new_data['post_parent'] = $request['post_parent'];
|
975 |
}
|
976 |
}
|
977 |
|
978 |
+
if ( isset( $request['post_author'] ) ) {
|
979 |
+
if ( -1 != $request['post_author'] ) {
|
980 |
+
$new_data['post_author'] = $request['post_author'];
|
981 |
}
|
982 |
}
|
983 |
|
984 |
+
if ( isset( $request['comment_status'] ) ) {
|
985 |
+
if ( -1 != $request['comment_status'] ) {
|
986 |
+
$new_data['comment_status'] = $request['comment_status'];
|
987 |
}
|
988 |
}
|
989 |
|
990 |
+
if ( isset( $request['ping_status'] ) ) {
|
991 |
+
if ( -1 != $request['ping_status'] ) {
|
992 |
+
$new_data['ping_status'] = $request['ping_status'];
|
993 |
}
|
994 |
}
|
995 |
|
998 |
*/
|
999 |
$custom_fields = array();
|
1000 |
foreach (MLAOptions::mla_custom_field_support( 'bulk_edit' ) as $slug => $label ) {
|
1001 |
+
if ( isset( $request[ $slug ] ) ) {
|
1002 |
+
$test_value = self::_process_bulk_value( $post_id, $request[ $slug ] );
|
1003 |
if ( ! empty( $test_value ) ) {
|
1004 |
$custom_fields[ $label ] = $test_value;
|
1005 |
} elseif ( is_null( $test_value ) ) {
|
1012 |
$new_data[ 'custom_updates' ] = $custom_fields;
|
1013 |
}
|
1014 |
|
1015 |
+
/*
|
1016 |
+
* Taxonomy Support
|
1017 |
+
*/
|
1018 |
+
$tax_input = array();
|
1019 |
+
foreach ( $request['tax_input'] as $taxonomy => $terms ) {
|
1020 |
+
if ( ! empty( $request['tax_action'] ) ) {
|
1021 |
+
$tax_action = $request['tax_action'][ $taxonomy ];
|
1022 |
+
} else {
|
1023 |
+
$tax_action = 'replace';
|
1024 |
+
}
|
1025 |
+
|
1026 |
/*
|
1027 |
+
* Ignore empty updates
|
1028 |
*/
|
1029 |
+
if ( $hierarchical = is_array( $terms ) ) {
|
1030 |
+
if ( false !== ( $index = array_search( 0, $terms ) ) ) {
|
1031 |
+
unset( $terms[ $index ] );
|
|
|
|
|
|
|
1032 |
}
|
1033 |
+
} else {
|
1034 |
/*
|
1035 |
+
* Parse out individual terms
|
1036 |
*/
|
1037 |
+
$comma = _x( ',', 'tag_delimiter', 'media-library-assistant' );
|
1038 |
+
if ( ',' !== $comma ) {
|
1039 |
+
$tags = str_replace( $comma, ',', $terms );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1040 |
}
|
1041 |
+
|
1042 |
+
$fragments = explode( ',', trim( $terms, " \n\t\r\0\x0B," ) );
|
1043 |
+
$terms = array();
|
1044 |
+
foreach( $fragments as $fragment ) {
|
1045 |
+
$fragment = trim( wp_unslash( $fragment ) );
|
1046 |
+
if ( ! empty( $fragment ) ) {
|
1047 |
+
$terms[] = $fragment;
|
1048 |
+
}
|
1049 |
+
} // foreach fragment
|
1050 |
|
1051 |
+
$terms = array_unique( $terms );
|
1052 |
+
}
|
|
|
1053 |
|
1054 |
+
if ( empty( $terms ) && 'replace' != $tax_action ) {
|
1055 |
+
continue;
|
1056 |
+
}
|
|
|
|
|
1057 |
|
1058 |
+
$post_terms = get_object_term_cache( $post_id, $taxonomy );
|
1059 |
+
if ( false === $post_terms ) {
|
1060 |
+
$post_terms = wp_get_object_terms( $post_id, $taxonomy );
|
1061 |
+
wp_cache_add( $post_id, $post_terms, $taxonomy . '_relationships' );
|
1062 |
+
}
|
1063 |
+
|
1064 |
+
$current_terms = array();
|
1065 |
+
foreach( $post_terms as $new_term ) {
|
1066 |
+
if ( $hierarchical ) {
|
1067 |
+
$current_terms[ $new_term->term_id ] = $new_term->term_id;
|
1068 |
+
} else {
|
1069 |
+
$current_terms[ $new_term->name ] = $new_term->name;
|
1070 |
+
}
|
1071 |
+
}
|
1072 |
+
|
1073 |
+
if ( 'add' == $tax_action ) {
|
1074 |
+
/*
|
1075 |
+
* Add new terms; remove existing terms
|
1076 |
+
*/
|
1077 |
+
foreach ( $terms as $index => $new_term ) {
|
1078 |
+
if ( isset( $current_terms[ $new_term ] ) ) {
|
1079 |
+
unset( $terms[ $index ] );
|
1080 |
}
|
1081 |
}
|
1082 |
|
1083 |
+
$do_update = ! empty( $terms );
|
1084 |
+
} elseif ( 'remove' == $tax_action ) {
|
1085 |
+
/*
|
1086 |
+
* Remove only the existing terms
|
1087 |
+
*/
|
1088 |
+
foreach ( $terms as $index => $new_term ) {
|
1089 |
+
if ( ! isset( $current_terms[ $new_term ] ) ) {
|
1090 |
+
unset( $terms[ $index ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1091 |
}
|
1092 |
+
}
|
1093 |
+
|
1094 |
+
$do_update = ! empty( $terms );
|
1095 |
+
} else {
|
1096 |
+
/*
|
1097 |
+
* Replace all terms; if the new terms match the term
|
1098 |
+
* cache, we can skip the update
|
1099 |
+
*/
|
1100 |
+
foreach ( $terms as $new_term ) {
|
1101 |
+
if ( isset( $current_terms[ $new_term ] ) ) {
|
1102 |
+
unset( $current_terms[ $new_term ] );
|
1103 |
+
} else {
|
1104 |
+
$current_terms[ $new_term ] = $new_term;
|
1105 |
+
break; // not a match; stop checking
|
1106 |
}
|
|
|
|
|
1107 |
}
|
1108 |
+
|
1109 |
+
$do_update = ! empty( $current_terms );
|
1110 |
+
}
|
1111 |
|
1112 |
+
if ( $do_update ) {
|
1113 |
+
$tax_input[ $taxonomy ] = $terms;
|
1114 |
+
}
|
1115 |
+
} // foreach taxonomy
|
1116 |
|
1117 |
+
$item_content = MLAData::mla_update_single_item( $post_id, $new_data, $tax_input, $request['tax_action'] );
|
1118 |
break;
|
1119 |
case 'restore':
|
1120 |
$item_content = self::_restore_single_item( $post_id );
|
1127 |
|
1128 |
if ( is_null( $item_content ) ) {
|
1129 |
$prevent_default = false;
|
1130 |
+
/* translators: 1: ERROR tag 2: bulk action */
|
1131 |
+
$custom_message = sprintf( __( '%1$s: Unknown bulk action %2$s', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $bulk_action );
|
1132 |
} else {
|
1133 |
$prevent_default = isset( $item_content['prevent_default'] ) ? $item_content['prevent_default'] : false;
|
1134 |
}
|
1153 |
if ( false !== strpos( $item_content['message'], __( 'no changes detected', 'media-library-assistant' ) ) ) {
|
1154 |
$page_content['unchanged'] += 1;
|
1155 |
$page_content['item_results'][ $post_id ]['result'] = 'unchanged';
|
1156 |
+
} elseif ( false !== strpos( $item_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1157 |
$page_content['failure'] += 1;
|
1158 |
$page_content['item_results'][ $post_id ]['result'] = 'failure';
|
1159 |
} else {
|
1164 |
} // ! $prevent_default
|
1165 |
} // foreach cb_attachment
|
1166 |
|
1167 |
+
if ( !empty( $request['bulk_custom_field_map'] ) || !empty( $request['bulk_map'] ) ) {
|
1168 |
do_action( 'mla_end_mapping' );
|
1169 |
}
|
1170 |
|
1176 |
if ( isset( $item_content['body'] ) ) {
|
1177 |
$page_content['body'] = $item_content['body'];
|
1178 |
}
|
1179 |
+
|
1180 |
+
if ( $do_cleanup ) {
|
1181 |
+
unset( $_REQUEST['post_title'] );
|
1182 |
+
unset( $_REQUEST['post_excerpt'] );
|
1183 |
+
unset( $_REQUEST['post_content'] );
|
1184 |
+
unset( $_REQUEST['image_alt'] );
|
1185 |
+
unset( $_REQUEST['comment_status'] );
|
1186 |
+
unset( $_REQUEST['ping_status'] );
|
1187 |
+
unset( $_REQUEST['post_parent'] );
|
1188 |
+
unset( $_REQUEST['post_author'] );
|
1189 |
+
unset( $_REQUEST['tax_input'] );
|
1190 |
+
unset( $_REQUEST['tax_action'] );
|
1191 |
+
|
1192 |
+
foreach (MLAOptions::mla_custom_field_support( 'bulk_edit' ) as $slug => $label )
|
1193 |
+
unset( $_REQUEST[ $slug ] );
|
1194 |
+
|
1195 |
+
unset( $_REQUEST['cb_attachment'] );
|
1196 |
+
}
|
1197 |
} else { // isset cb_attachment
|
1198 |
/* translators: 1: action name, e.g., edit */
|
1199 |
$page_content['message'] = sprintf( __( 'Bulk Action %1$s - no items selected.', 'media-library-assistant' ), $bulk_action );
|
1200 |
}
|
1201 |
|
1202 |
+
if ( $do_cleanup ) {
|
1203 |
+
unset( $_REQUEST['action'] );
|
1204 |
+
unset( $_REQUEST['bulk_custom_field_map'] );
|
1205 |
+
unset( $_REQUEST['bulk_map'] );
|
1206 |
+
unset( $_REQUEST['bulk_edit'] );
|
1207 |
+
unset( $_REQUEST['action2'] );
|
1208 |
+
}
|
1209 |
|
1210 |
return $page_content;
|
1211 |
}
|
1278 |
if ( $bulk_action && ( $bulk_action != 'none' ) ) {
|
1279 |
// bulk_refresh simply refreshes the page, ignoring other bulk actions
|
1280 |
if ( empty( $_REQUEST['bulk_refresh'] ) ) {
|
1281 |
+
$item_content = self::mla_process_bulk_action( $bulk_action );
|
1282 |
$page_content['message'] .= $item_content['message'] . '<br>';
|
1283 |
}
|
1284 |
} // $bulk_action
|
1305 |
foreach ( $ids as $post_id ) {
|
1306 |
$item_content = self::_delete_single_item( $post_id );
|
1307 |
|
1308 |
+
if ( false !== strpos( $item_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1309 |
$page_content['message'] .= $item_content['message'] . '<br>';
|
1310 |
} else {
|
1311 |
$delete_count++;
|
1313 |
}
|
1314 |
|
1315 |
if ( $delete_count ) {
|
1316 |
+
/* translators: 1: number of items */
|
1317 |
$page_content['message'] .= sprintf( _nx( '%s item deleted.', '%s items deleted.', $delete_count, 'deleted items', 'media-library-assistant' ), number_format_i18n( $delete_count ) );
|
1318 |
} else {
|
1319 |
$page_content['message'] .= __( 'No items deleted.', 'media-library-assistant' );
|
1417 |
|
1418 |
if ( !empty( $page_content['body'] ) ) {
|
1419 |
if ( !empty( $page_content['message'] ) ) {
|
1420 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1421 |
$messages_class = 'mla_errors';
|
1422 |
} else {
|
1423 |
$messages_class = 'mla_messages';
|
1448 |
}
|
1449 |
|
1450 |
if ( !empty( $page_content['message'] ) ) {
|
1451 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1452 |
$messages_class = 'mla_errors';
|
1453 |
} else {
|
1454 |
$messages_class = 'mla_messages';
|
1675 |
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
1676 |
|
1677 |
if ( empty( $_REQUEST['post_ID'] ) ) {
|
1678 |
+
echo __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'No post ID found', 'media-library-assistant' );
|
1679 |
die();
|
1680 |
} else {
|
1681 |
$post_id = $_REQUEST['post_ID'];
|
1682 |
}
|
1683 |
|
1684 |
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
1685 |
+
wp_die( __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'You are not allowed to edit this Attachment.', 'media-library-assistant' ) );
|
1686 |
}
|
1687 |
|
1688 |
$results = MLAData::mla_update_single_item( $post_id, $_REQUEST );
|
1689 |
+
if ( false !== strpos( $results['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1690 |
wp_die( $results['message'] );
|
1691 |
}
|
1692 |
|
1733 |
$_REQUEST['bulk_edit'] = __( 'Update', 'media-library-assistant' );
|
1734 |
}
|
1735 |
|
1736 |
+
$item_content = (object) self::mla_process_bulk_action( 'edit' );
|
1737 |
wp_send_json_success( $item_content );
|
1738 |
}
|
1739 |
|
1747 |
* @return void echo HTML <tr> markup for updated row or error message, then die()
|
1748 |
*/
|
1749 |
public static function mla_inline_edit_ajax_action() {
|
|
|
1750 |
set_current_screen( $_REQUEST['screen'] );
|
1751 |
|
1752 |
check_ajax_referer( self::MLA_ADMIN_NONCE, 'nonce' );
|
1756 |
}
|
1757 |
|
1758 |
if ( empty( $_REQUEST['post_ID'] ) ) {
|
1759 |
+
echo __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'No post ID found', 'media-library-assistant' );
|
1760 |
die();
|
1761 |
} else {
|
1762 |
$post_id = $_REQUEST['post_ID'];
|
1763 |
}
|
1764 |
|
1765 |
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
1766 |
+
wp_die( __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'You are not allowed to edit this Attachment.', 'media-library-assistant' ) );
|
1767 |
}
|
1768 |
|
1769 |
/*
|
1828 |
} else { // ! empty( $_REQUEST['tax_input'] )
|
1829 |
$tax_output = NULL;
|
1830 |
}
|
|
|
|
|
1831 |
|
1832 |
$item_content = apply_filters( 'mla_list_table_inline_action', NULL, $post_id );
|
1833 |
if ( is_null( $item_content ) ) {
|
1838 |
$custom_message = isset( $item_content['message'] ) ? $page_content['message'] : '';
|
1839 |
}
|
1840 |
|
|
|
|
|
1841 |
if ( ! $prevent_default ) {
|
1842 |
$results = MLAData::mla_update_single_item( $post_id, $_REQUEST, $tax_output );
|
1843 |
}
|
1844 |
|
1845 |
$new_item = (object) MLAData::mla_get_attachment_by_id( $post_id );
|
|
|
1846 |
|
1847 |
// Create an instance of our package class and echo the new HTML
|
1848 |
$MLAListTable = new MLA_List_Table();
|
1903 |
public static function mla_set_parent_form( $return_form = true ) {
|
1904 |
$set_parent_template = MLAData::mla_load_template( 'admin-set-parent-form.tpl' );
|
1905 |
if ( ! is_array( $set_parent_template ) ) {
|
1906 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1907 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $set_parent_template, true ) ), 0 );
|
1908 |
return '';
|
1909 |
}
|
1910 |
|
1978 |
|
1979 |
$page_template_array = MLAData::mla_load_template( 'admin-inline-edit-form.tpl' );
|
1980 |
if ( ! is_array( $page_template_array ) ) {
|
1981 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1982 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_inline_edit_form', var_export( $page_template_array, true ) ), 0 );
|
1983 |
return '';
|
1984 |
}
|
1985 |
|
1986 |
+
if ( $authors = self::mla_authors_dropdown() ) {
|
1987 |
$authors_dropdown = ' <label class="inline-edit-author">' . "\n";
|
1988 |
$authors_dropdown .= ' <span class="title">' . __( 'Author', 'media-library-assistant' ) . '</span>' . "\n";
|
1989 |
$authors_dropdown .= $authors . "\n";
|
2085 |
$bulk_right_column = MLAData::mla_parse_template( $page_template_array['tag_fieldset'], $page_values );
|
2086 |
} // count( $flat_taxonomies )
|
2087 |
|
2088 |
+
if ( $authors = self::mla_authors_dropdown( -1 ) ) {
|
2089 |
$bulk_authors_dropdown = ' <label class="inline-edit-author alignright">' . "\n";
|
2090 |
$bulk_authors_dropdown .= ' <span class="title">' . __( 'Author', 'media-library-assistant' ) . '</span>' . "\n";
|
2091 |
$bulk_authors_dropdown .= $authors . "\n";
|
2158 |
*
|
2159 |
* @return string|false HTML markup for the dropdown field or False
|
2160 |
*/
|
2161 |
+
public static function mla_authors_dropdown( $author = 0, $name = 'post_author', $class = 'authors' ) {
|
2162 |
$post_type_object = get_post_type_object('attachment');
|
2163 |
if ( is_super_admin() || current_user_can( $post_type_object->cap->edit_others_posts ) ) {
|
2164 |
$users_opt = array(
|
2226 |
private static function _delete_single_item( $post_id ) {
|
2227 |
if ( !current_user_can( 'delete_post', $post_id ) ) {
|
2228 |
return array(
|
2229 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'You are not allowed to delete this item.', 'media-library-assistant' ),
|
2230 |
'body' => ''
|
2231 |
);
|
2232 |
}
|
2233 |
|
2234 |
if ( !wp_delete_attachment( $post_id, true ) ) {
|
2235 |
return array(
|
2236 |
+
/* translators: 1: ERROR tag 2: post ID */
|
2237 |
+
'message' => sprintf( __( '%1$s: Item %2$d could NOT be deleted.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ),
|
2238 |
'body' => ''
|
2239 |
);
|
2240 |
}
|
2267 |
$post_data = MLAData::mla_get_attachment_by_id( $post_id );
|
2268 |
if ( !isset( $post_data ) ) {
|
2269 |
return array(
|
2270 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Could not retrieve Attachment.', 'media-library-assistant' ),
|
2271 |
'body' => ''
|
2272 |
);
|
2273 |
}
|
2300 |
$authors_template = $page_template_array['authors'];
|
2301 |
$postbox_template = $page_template_array['postbox'];
|
2302 |
} else {
|
2303 |
+
/* translators: 1: ERROR tag 2: page_template_array */
|
2304 |
+
error_log( sprintf( _x( '%1$s: MLA::_display_single_item \$page_template_array = "%2$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), var_export( $page_template_array, true ) ), 0 );
|
2305 |
$page_template = $page_template_array;
|
2306 |
$authors_template = '';
|
2307 |
$postbox_template = '';
|
2313 |
$parent_info = sprintf( '(%1$s) %2$s %3$s', $post_data['mla_references']['parent_type'], $post_data['mla_references']['parent_title'], $post_data['mla_references']['parent_errors'] );
|
2314 |
}
|
2315 |
|
2316 |
+
if ( $authors = self::mla_authors_dropdown( $post_data['post_author'], 'attachments[' . $post_data['ID'] . '][post_author]' ) ) {
|
2317 |
$args = array (
|
2318 |
'ID' => $post_data['ID'],
|
2319 |
'Author' => __( 'Author', 'media-library-assistant' ),
|
2542 |
private static function _restore_single_item( $post_id ) {
|
2543 |
if ( !current_user_can( 'delete_post', $post_id ) ) {
|
2544 |
return array(
|
2545 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'You are not allowed to move this item out of the Trash.', 'media-library-assistant' ),
|
2546 |
'body' => ''
|
2547 |
);
|
2548 |
}
|
2549 |
|
2550 |
if ( !wp_untrash_post( $post_id ) ) {
|
2551 |
return array(
|
2552 |
+
/* translators: 1: ERROR tag 2: post ID */
|
2553 |
+
'message' => sprintf( __( '%1$s: Item %2$d could NOT be restored from Trash.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ),
|
2554 |
'body' => ''
|
2555 |
);
|
2556 |
}
|
2582 |
private static function _trash_single_item( $post_id ) {
|
2583 |
if ( !current_user_can( 'delete_post', $post_id ) ) {
|
2584 |
return array(
|
2585 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'You are not allowed to move this item to the Trash.', 'media-library-assistant' ),
|
2586 |
'body' => ''
|
2587 |
);
|
2588 |
}
|
2589 |
|
2590 |
if ( !wp_trash_post( $post_id, false ) ) {
|
2591 |
return array(
|
2592 |
+
/* translators: 1: ERROR tag 2: post ID */
|
2593 |
+
'message' => sprintf( __( '%1$s: Item %2$d could NOT be moved to Trash.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $post_id ),
|
2594 |
'body' => ''
|
2595 |
);
|
2596 |
}
|
includes/class-mla-media-modal.php
CHANGED
@@ -401,13 +401,12 @@ class MLAModal {
|
|
401 |
/*
|
402 |
* If we know what screen we're on we can test our enabling options
|
403 |
*/
|
|
|
404 |
if ( function_exists( 'get_current_screen' ) ) {
|
405 |
$screen = get_current_screen();
|
406 |
|
407 |
-
if ( 'upload' == $screen->base ) {
|
408 |
self::$mla_media_modal_settings['screen'] = 'grid';
|
409 |
-
} else {
|
410 |
-
self::$mla_media_modal_settings['screen'] = 'modal';
|
411 |
}
|
412 |
}
|
413 |
|
@@ -540,12 +539,14 @@ class MLAModal {
|
|
540 |
if ( function_exists( 'get_current_screen' ) ) {
|
541 |
$screen = get_current_screen();
|
542 |
|
543 |
-
if (
|
544 |
-
if ( '
|
|
|
|
|
|
|
|
|
545 |
return;
|
546 |
}
|
547 |
-
} elseif ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
|
548 |
-
return;
|
549 |
}
|
550 |
}
|
551 |
|
@@ -1181,8 +1182,8 @@ class MLAModal {
|
|
1181 |
public static function mla_terms_search_form() {
|
1182 |
$page_template_array = MLAData::mla_load_template( 'admin-terms-search-form.tpl' );
|
1183 |
if ( ! is_array( $page_template_array ) ) {
|
1184 |
-
/* translators: 1: function name
|
1185 |
-
error_log( sprintf( _x( '
|
1186 |
return '';
|
1187 |
}
|
1188 |
|
401 |
/*
|
402 |
* If we know what screen we're on we can test our enabling options
|
403 |
*/
|
404 |
+
self::$mla_media_modal_settings['screen'] = 'modal';
|
405 |
if ( function_exists( 'get_current_screen' ) ) {
|
406 |
$screen = get_current_screen();
|
407 |
|
408 |
+
if ( is_object( $screen) && 'upload' == $screen->base ) {
|
409 |
self::$mla_media_modal_settings['screen'] = 'grid';
|
|
|
|
|
410 |
}
|
411 |
}
|
412 |
|
539 |
if ( function_exists( 'get_current_screen' ) ) {
|
540 |
$screen = get_current_screen();
|
541 |
|
542 |
+
if ( is_object( $screen ) ) {
|
543 |
+
if ( 'upload' == $screen->base ) {
|
544 |
+
if ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_MEDIA_GRID_TOOLBAR ) ) {
|
545 |
+
return;
|
546 |
+
}
|
547 |
+
} elseif ( 'checked' != MLAOptions::mla_get_option( MLAOptions::MLA_MEDIA_MODAL_TOOLBAR ) ) {
|
548 |
return;
|
549 |
}
|
|
|
|
|
550 |
}
|
551 |
}
|
552 |
|
1182 |
public static function mla_terms_search_form() {
|
1183 |
$page_template_array = MLAData::mla_load_template( 'admin-terms-search-form.tpl' );
|
1184 |
if ( ! is_array( $page_template_array ) ) {
|
1185 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1186 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLA::_build_terms_search_form', var_export( $page_template_array, true ) ), 0 );
|
1187 |
return '';
|
1188 |
}
|
1189 |
|
includes/class-mla-mime-types.php
CHANGED
@@ -479,8 +479,8 @@ class MLAMime {
|
|
479 |
* sanitize or validate them.
|
480 |
*/
|
481 |
if ( ! is_array( $raw_request ) ) {
|
482 |
-
/* translators: 1: function name
|
483 |
-
error_log( sprintf( _x( '
|
484 |
return NULL;
|
485 |
}
|
486 |
|
@@ -902,18 +902,18 @@ class MLAMime {
|
|
902 |
$no_wildcards = str_replace( '*', 'X', $raw_mime_type );
|
903 |
$clean_mime_type = sanitize_mime_type( $no_wildcards );
|
904 |
if ( $clean_mime_type != $no_wildcards ) {
|
905 |
-
/* translators: 1: raw_mime_type */
|
906 |
-
$result['error'] = '<br>' . sprintf( __( '
|
907 |
}
|
908 |
} // foreach
|
909 |
} elseif ( 'custom' == $result['prefix'] ) {
|
910 |
if ( ! in_array( $result['option'], array( '', 'any', 'match', 'null' ) ) ) {
|
911 |
-
/* translators: 1: option, e.g., any, match, null */
|
912 |
-
$result['error'] = '<br>' . sprintf( __( '
|
913 |
}
|
914 |
} else {
|
915 |
-
/* translators: 1: prefix, e.g., custom */
|
916 |
-
$result['error'] = '<br>' . sprintf( __( '
|
917 |
}
|
918 |
|
919 |
return $result;
|
@@ -957,8 +957,8 @@ class MLAMime {
|
|
957 |
* Make sure new slug is unique
|
958 |
*/
|
959 |
if ( isset( self::$mla_post_mime_templates[ $slug ] ) ) {
|
960 |
-
/* translators: 1: slug */
|
961 |
-
$errors .= '<br>' . sprintf( __( '
|
962 |
}
|
963 |
|
964 |
/*
|
@@ -1045,8 +1045,8 @@ class MLAMime {
|
|
1045 |
* Make sure new slug is unique
|
1046 |
*/
|
1047 |
if ( isset( self::$mla_post_mime_templates[ $slug ] ) ) {
|
1048 |
-
/* translators: 1: slug */
|
1049 |
-
$errors .= '<br>' . sprintf( __( '
|
1050 |
} else {
|
1051 |
/* translators: 1: element name 2: old_value 3: new_value */
|
1052 |
$messages .= sprintf( '<br>' . __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ), __( 'Slug', 'media-library-assistant' ), $original_slug, $slug );
|
@@ -1191,8 +1191,8 @@ class MLAMime {
|
|
1191 |
}
|
1192 |
|
1193 |
return array(
|
1194 |
-
/* translators: 1: slug */
|
1195 |
-
'message' => sprintf( __( '
|
1196 |
'body' => ''
|
1197 |
);
|
1198 |
}
|
@@ -1214,8 +1214,8 @@ class MLAMime {
|
|
1214 |
* sanitize or validate them.
|
1215 |
*/
|
1216 |
if ( ! is_array( $raw_request ) ) {
|
1217 |
-
/* translators: 1: function name
|
1218 |
-
error_log( sprintf( _x( '
|
1219 |
return NULL;
|
1220 |
}
|
1221 |
|
@@ -1969,7 +1969,7 @@ class MLAMime {
|
|
1969 |
$errors = '';
|
1970 |
} else {
|
1971 |
return array(
|
1972 |
-
'message' => __( 'ERROR: Cannot load Upload MIME Types', 'media-library-assistant' ),
|
1973 |
'body' => ''
|
1974 |
);
|
1975 |
}
|
@@ -1980,7 +1980,7 @@ class MLAMime {
|
|
1980 |
* Sanitize slug value
|
1981 |
*/
|
1982 |
if ( empty( $request['slug'] ) ) {
|
1983 |
-
$errors .= '<br>' . __( 'ERROR: Extension is required', 'media-library-assistant' );
|
1984 |
} else {
|
1985 |
$slug = pathinfo( 'X.' . strtolower( trim( $request['slug'] ) ), PATHINFO_EXTENSION );
|
1986 |
if ( $slug != $request['slug'] ) {
|
@@ -1992,8 +1992,8 @@ class MLAMime {
|
|
1992 |
* Make sure new slug is unique
|
1993 |
*/
|
1994 |
if ( isset( self::$mla_upload_mime_templates[ $slug ] ) ) {
|
1995 |
-
/* translators: 1: slug */
|
1996 |
-
$errors .= '<br>' . sprintf( __( '
|
1997 |
}
|
1998 |
}
|
1999 |
|
@@ -2001,12 +2001,12 @@ class MLAMime {
|
|
2001 |
* Validate mime_type
|
2002 |
*/
|
2003 |
if ( empty( $request['mime_type'] ) ) {
|
2004 |
-
$errors .= '<br>' . __( 'ERROR: MIME type is required', 'media-library-assistant' );
|
2005 |
} else {
|
2006 |
$clean_mime_type = sanitize_mime_type( $request['mime_type'] );
|
2007 |
if ( $clean_mime_type != $request['mime_type'] ) {
|
2008 |
-
/* translators: 1: clean_mime_type */
|
2009 |
-
$errors .= '<br>' . sprintf( __( '
|
2010 |
}
|
2011 |
}
|
2012 |
|
@@ -2049,7 +2049,7 @@ class MLAMime {
|
|
2049 |
}
|
2050 |
|
2051 |
return array(
|
2052 |
-
'message' => __( 'ERROR: Cannot update Upload MIME Types', 'media-library-assistant' ),
|
2053 |
'body' => ''
|
2054 |
);
|
2055 |
}
|
@@ -2068,7 +2068,7 @@ class MLAMime {
|
|
2068 |
$errors = '';
|
2069 |
} else {
|
2070 |
return array(
|
2071 |
-
'message' => __( 'ERROR: Cannot load Upload MIME Types', 'media-library-assistant' ),
|
2072 |
'body' => ''
|
2073 |
);
|
2074 |
}
|
@@ -2118,8 +2118,8 @@ class MLAMime {
|
|
2118 |
* Make sure new slug is unique
|
2119 |
*/
|
2120 |
if ( isset( self::$mla_upload_mime_templates[ $slug ] ) ) {
|
2121 |
-
/* translators: 1: slug */
|
2122 |
-
$errors .= '<br>' . sprintf( __( '
|
2123 |
} else {
|
2124 |
/* translators: 1: element name 2: old_value 3: new_value */
|
2125 |
$messages .= sprintf( '<br>' . __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ), __( 'extension', 'media-library-assistant' ), $original_slug, $slug );
|
@@ -2152,8 +2152,8 @@ class MLAMime {
|
|
2152 |
} else {
|
2153 |
$clean_mime_type = sanitize_mime_type( $request['mime_type'] );
|
2154 |
if ( $clean_mime_type != $request['mime_type'] ) {
|
2155 |
-
/* translators: 1: clean_mime_type */
|
2156 |
-
$errors .= '<br>' . sprintf( __( '
|
2157 |
}
|
2158 |
}
|
2159 |
|
@@ -2238,7 +2238,7 @@ class MLAMime {
|
|
2238 |
}
|
2239 |
|
2240 |
return array(
|
2241 |
-
'message' => __( 'ERROR: Cannot update Upload MIME Types', 'media-library-assistant' ),
|
2242 |
'body' => ''
|
2243 |
);
|
2244 |
}
|
@@ -2317,7 +2317,7 @@ class MLAMime {
|
|
2317 |
}
|
2318 |
} else {
|
2319 |
return array(
|
2320 |
-
'message' => __( 'ERROR: Cannot update Upload MIME Types', 'media-library-assistant' ),
|
2321 |
'body' => ''
|
2322 |
);
|
2323 |
}
|
@@ -2325,8 +2325,8 @@ class MLAMime {
|
|
2325 |
}
|
2326 |
|
2327 |
return array(
|
2328 |
-
/* translators: 1: slug */
|
2329 |
-
'message' => sprintf( __( '
|
2330 |
'body' => ''
|
2331 |
);
|
2332 |
}
|
@@ -2357,8 +2357,8 @@ class MLAMime {
|
|
2357 |
* sanitize or validate them.
|
2358 |
*/
|
2359 |
if ( ! is_array( $raw_request ) ) {
|
2360 |
-
/* translators: 1: function name
|
2361 |
-
error_log( sprintf( _x( '
|
2362 |
return NULL;
|
2363 |
}
|
2364 |
|
479 |
* sanitize or validate them.
|
480 |
*/
|
481 |
if ( ! is_array( $raw_request ) ) {
|
482 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
483 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAMime::_prepare_view_items_query', var_export( $raw_request, true ) ), 0 );
|
484 |
return NULL;
|
485 |
}
|
486 |
|
902 |
$no_wildcards = str_replace( '*', 'X', $raw_mime_type );
|
903 |
$clean_mime_type = sanitize_mime_type( $no_wildcards );
|
904 |
if ( $clean_mime_type != $no_wildcards ) {
|
905 |
+
/* translators: 1: ERROR tag 2: raw_mime_type */
|
906 |
+
$result['error'] = '<br>' . sprintf( __( '%1$s: Bad specification part "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $raw_mime_type );
|
907 |
}
|
908 |
} // foreach
|
909 |
} elseif ( 'custom' == $result['prefix'] ) {
|
910 |
if ( ! in_array( $result['option'], array( '', 'any', 'match', 'null' ) ) ) {
|
911 |
+
/* translators: 1: ERROR tag 2: option, e.g., any, match, null */
|
912 |
+
$result['error'] = '<br>' . sprintf( __( '%1$s: Bad specification option "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $specification['option'] );
|
913 |
}
|
914 |
} else {
|
915 |
+
/* translators: 1: ERROR tag 2: prefix, e.g., custom */
|
916 |
+
$result['error'] = '<br>' . sprintf( __( '%1$s: Bad specification prefix "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $specification['prefix'] );
|
917 |
}
|
918 |
|
919 |
return $result;
|
957 |
* Make sure new slug is unique
|
958 |
*/
|
959 |
if ( isset( self::$mla_post_mime_templates[ $slug ] ) ) {
|
960 |
+
/* translators: 1: ERROR tag 2: slug */
|
961 |
+
$errors .= '<br>' . sprintf( __( '%1$s: Could not add Slug "%2$s"; value already exists', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $slug );
|
962 |
}
|
963 |
|
964 |
/*
|
1045 |
* Make sure new slug is unique
|
1046 |
*/
|
1047 |
if ( isset( self::$mla_post_mime_templates[ $slug ] ) ) {
|
1048 |
+
/* translators: 1: ERROR tag 2: slug */
|
1049 |
+
$errors .= '<br>' . sprintf( __( '%1$s: Could not add Slug "%2$s"; value already exists', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $slug );
|
1050 |
} else {
|
1051 |
/* translators: 1: element name 2: old_value 3: new_value */
|
1052 |
$messages .= sprintf( '<br>' . __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ), __( 'Slug', 'media-library-assistant' ), $original_slug, $slug );
|
1191 |
}
|
1192 |
|
1193 |
return array(
|
1194 |
+
/* translators: 1: ERROR tag 2: slug */
|
1195 |
+
'message' => sprintf( __( '%1$s: Did not find view "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $slug ),
|
1196 |
'body' => ''
|
1197 |
);
|
1198 |
}
|
1214 |
* sanitize or validate them.
|
1215 |
*/
|
1216 |
if ( ! is_array( $raw_request ) ) {
|
1217 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1218 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAMime::_prepare_upload_items_query', var_export( $raw_request, true ) ), 0 );
|
1219 |
return NULL;
|
1220 |
}
|
1221 |
|
1969 |
$errors = '';
|
1970 |
} else {
|
1971 |
return array(
|
1972 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot load Upload MIME Types', 'media-library-assistant' ),
|
1973 |
'body' => ''
|
1974 |
);
|
1975 |
}
|
1980 |
* Sanitize slug value
|
1981 |
*/
|
1982 |
if ( empty( $request['slug'] ) ) {
|
1983 |
+
$errors .= '<br>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Extension is required', 'media-library-assistant' );
|
1984 |
} else {
|
1985 |
$slug = pathinfo( 'X.' . strtolower( trim( $request['slug'] ) ), PATHINFO_EXTENSION );
|
1986 |
if ( $slug != $request['slug'] ) {
|
1992 |
* Make sure new slug is unique
|
1993 |
*/
|
1994 |
if ( isset( self::$mla_upload_mime_templates[ $slug ] ) ) {
|
1995 |
+
/* translators: 1: ERROR tag 2: slug */
|
1996 |
+
$errors .= '<br>' . sprintf( __( '%1$s: Could not add extension "%2$s"; value already exists', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $slug );
|
1997 |
}
|
1998 |
}
|
1999 |
|
2001 |
* Validate mime_type
|
2002 |
*/
|
2003 |
if ( empty( $request['mime_type'] ) ) {
|
2004 |
+
$errors .= '<br>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'MIME type is required', 'media-library-assistant' );
|
2005 |
} else {
|
2006 |
$clean_mime_type = sanitize_mime_type( $request['mime_type'] );
|
2007 |
if ( $clean_mime_type != $request['mime_type'] ) {
|
2008 |
+
/* translators: 1: ERROR tag 2: clean_mime_type */
|
2009 |
+
$errors .= '<br>' . sprintf( __( '%1$s: Bad MIME type; try "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $clean_mime_type );
|
2010 |
}
|
2011 |
}
|
2012 |
|
2049 |
}
|
2050 |
|
2051 |
return array(
|
2052 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot update Upload MIME Types', 'media-library-assistant' ),
|
2053 |
'body' => ''
|
2054 |
);
|
2055 |
}
|
2068 |
$errors = '';
|
2069 |
} else {
|
2070 |
return array(
|
2071 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot load Upload MIME Types', 'media-library-assistant' ),
|
2072 |
'body' => ''
|
2073 |
);
|
2074 |
}
|
2118 |
* Make sure new slug is unique
|
2119 |
*/
|
2120 |
if ( isset( self::$mla_upload_mime_templates[ $slug ] ) ) {
|
2121 |
+
/* translators: 1: ERROR tag 2: slug */
|
2122 |
+
$errors .= '<br>' . sprintf( __( '%1$s: Could not add new extension "%2$s"; value already exists', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $slug );
|
2123 |
} else {
|
2124 |
/* translators: 1: element name 2: old_value 3: new_value */
|
2125 |
$messages .= sprintf( '<br>' . __( 'Changing %1$s from "%2$s" to "%3$s"', 'media-library-assistant' ), __( 'extension', 'media-library-assistant' ), $original_slug, $slug );
|
2152 |
} else {
|
2153 |
$clean_mime_type = sanitize_mime_type( $request['mime_type'] );
|
2154 |
if ( $clean_mime_type != $request['mime_type'] ) {
|
2155 |
+
/* translators: 1: ERROR tag 2: clean_mime_type */
|
2156 |
+
$errors .= '<br>' . sprintf( __( '%1$s: Bad MIME type; try "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $clean_mime_type );
|
2157 |
}
|
2158 |
}
|
2159 |
|
2238 |
}
|
2239 |
|
2240 |
return array(
|
2241 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot update Upload MIME Types', 'media-library-assistant' ),
|
2242 |
'body' => ''
|
2243 |
);
|
2244 |
}
|
2317 |
}
|
2318 |
} else {
|
2319 |
return array(
|
2320 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot update Upload MIME Types', 'media-library-assistant' ),
|
2321 |
'body' => ''
|
2322 |
);
|
2323 |
}
|
2325 |
}
|
2326 |
|
2327 |
return array(
|
2328 |
+
/* translators: 1: ERROR tag 2: slug */
|
2329 |
+
'message' => sprintf( __( '%1$s: Did not find Upload type "%2$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $slug ),
|
2330 |
'body' => ''
|
2331 |
);
|
2332 |
}
|
2357 |
* sanitize or validate them.
|
2358 |
*/
|
2359 |
if ( ! is_array( $raw_request ) ) {
|
2360 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
2361 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLAMime::_prepare_optional_upload_items_query', var_export( $raw_request, true ) ), 0 );
|
2362 |
return NULL;
|
2363 |
}
|
2364 |
|
includes/class-mla-objects.php
CHANGED
@@ -42,7 +42,8 @@ class MLAObjects {
|
|
42 |
'parent_item_colon' => __( 'Parent Att. Category', 'media-library-assistant' ) . ':',
|
43 |
'edit_item' => __( 'Edit Att. Category', 'media-library-assistant' ),
|
44 |
'update_item' => __( 'Update Att. Category', 'media-library-assistant' ),
|
45 |
-
|
|
|
46 |
'new_item_name' => __( 'New Att. Category Name', 'media-library-assistant' ),
|
47 |
'menu_name' => __( 'Att. Category', 'media-library-assistant' )
|
48 |
);
|
@@ -71,7 +72,8 @@ class MLAObjects {
|
|
71 |
'parent_item_colon' => __( 'Parent Att. Tag', 'media-library-assistant' ) . ':',
|
72 |
'edit_item' => __( 'Edit Att. Tag', 'media-library-assistant' ),
|
73 |
'update_item' => __( 'Update Att. Tag', 'media-library-assistant' ),
|
74 |
-
|
|
|
75 |
'new_item_name' => __( 'New Att. Tag Name', 'media-library-assistant' ),
|
76 |
'menu_name' => __( 'Att. Tag', 'media-library-assistant' )
|
77 |
);
|
@@ -91,6 +93,7 @@ class MLAObjects {
|
|
91 |
);
|
92 |
}
|
93 |
|
|
|
94 |
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'names' );
|
95 |
foreach ( $taxonomies as $tax_name ) {
|
96 |
if ( MLAOptions::mla_taxonomy_support( $tax_name ) ) {
|
@@ -194,8 +197,8 @@ class MLAObjects {
|
|
194 |
$term = get_term( $term_id, $taxonomy );
|
195 |
|
196 |
if ( is_wp_error( $term ) ) {
|
197 |
-
/* translators: 1:
|
198 |
-
error_log( sprintf( _x( '
|
199 |
return 0;
|
200 |
} elseif ($count_terms ) {
|
201 |
$column_text = number_format_i18n( 0 );
|
42 |
'parent_item_colon' => __( 'Parent Att. Category', 'media-library-assistant' ) . ':',
|
43 |
'edit_item' => __( 'Edit Att. Category', 'media-library-assistant' ),
|
44 |
'update_item' => __( 'Update Att. Category', 'media-library-assistant' ),
|
45 |
+
/* translators: %s: add new taxonomy label */
|
46 |
+
'add_new_item' => sprintf( __( 'Add New %1$s', 'media-library-assistant' ), __( 'Att. Category', 'media-library-assistant' ) ),
|
47 |
'new_item_name' => __( 'New Att. Category Name', 'media-library-assistant' ),
|
48 |
'menu_name' => __( 'Att. Category', 'media-library-assistant' )
|
49 |
);
|
72 |
'parent_item_colon' => __( 'Parent Att. Tag', 'media-library-assistant' ) . ':',
|
73 |
'edit_item' => __( 'Edit Att. Tag', 'media-library-assistant' ),
|
74 |
'update_item' => __( 'Update Att. Tag', 'media-library-assistant' ),
|
75 |
+
/* translators: %s: add new taxonomy label */
|
76 |
+
'add_new_item' => sprintf( __( 'Add New %1$s', 'media-library-assistant' ), __( 'Att. Tag', 'media-library-assistant' ) ),
|
77 |
'new_item_name' => __( 'New Att. Tag Name', 'media-library-assistant' ),
|
78 |
'menu_name' => __( 'Att. Tag', 'media-library-assistant' )
|
79 |
);
|
93 |
);
|
94 |
}
|
95 |
|
96 |
+
MLAOptions::mla_initialize_tax_checked_on_top();
|
97 |
$taxonomies = get_taxonomies( array ( 'show_ui' => true ), 'names' );
|
98 |
foreach ( $taxonomies as $tax_name ) {
|
99 |
if ( MLAOptions::mla_taxonomy_support( $tax_name ) ) {
|
197 |
$term = get_term( $term_id, $taxonomy );
|
198 |
|
199 |
if ( is_wp_error( $term ) ) {
|
200 |
+
/* translators: 1: ERROR tag 2: taxonomy 3: error message */
|
201 |
+
error_log( sprintf( _x( '%1$s: mla_taxonomy_column_filter( "%2$s" ) - get_term failed: "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $taxonomy, $term->get_error_message() ), 0 );
|
202 |
return 0;
|
203 |
} elseif ($count_terms ) {
|
204 |
$column_text = number_format_i18n( 0 );
|
includes/class-mla-options.php
CHANGED
@@ -129,12 +129,12 @@ class MLAOptions {
|
|
129 |
/**
|
130 |
* Provides a unique name for the Custom Field "new rule" key
|
131 |
*/
|
132 |
-
const MLA_NEW_CUSTOM_RULE = '
|
133 |
|
134 |
/**
|
135 |
* Provides a unique name for the Custom Field "new field" key
|
136 |
*/
|
137 |
-
const MLA_NEW_CUSTOM_FIELD = '
|
138 |
|
139 |
/**
|
140 |
* Provides a unique name for the "searchable taxonomies" option
|
@@ -146,6 +146,11 @@ class MLAOptions {
|
|
146 |
*/
|
147 |
const MLA_EDIT_MEDIA_META_BOXES = 'edit_media_meta_boxes';
|
148 |
|
|
|
|
|
|
|
|
|
|
|
149 |
/**
|
150 |
* Provides a unique name for the Media Grid toolbar option, which
|
151 |
* also controls the ATTACHMENT DETAILS enhancements
|
@@ -512,15 +517,15 @@ class MLAOptions {
|
|
512 |
|
513 |
self::MLA_TAXONOMY_SUPPORT =>
|
514 |
array('tab' => 'general',
|
515 |
-
'help' => __( 'Check the "Support" box to add the taxonomy to the Assistant and the Edit Media screen.', 'media-library-assistant' ) . '<br>' .
|
516 |
-
__( 'Check the "Inline Edit" box to display the taxonomy in the Quick Edit and Bulk Edit areas.', 'media-library-assistant' ) . '<br>' .
|
517 |
-
__( 'Check the "
|
518 |
-
__( 'You must also check the <strong>"Enable enhanced checklist taxonomies"</strong> box below to enable this feature.', 'media-library-assistant' ) . '<br>' .
|
519 |
-
__( 'Check the "Term Search" box to add the taxonomy to the "Search Media/Terms" list.', 'media-library-assistant' ) .
|
520 |
sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLASettings::MLA_SETTINGS_SLUG . '-documentation&mla_tab=documentation#terms_search' ), __( 'click here', 'media-library-assistant' ) )
|
521 |
. '<br>' .
|
522 |
-
__( 'Check the "
|
523 |
-
__( '
|
|
|
|
|
524 |
'std' => array (
|
525 |
'tax_support' => array (
|
526 |
'attachment_category' => 'checked',
|
@@ -530,11 +535,12 @@ class MLAOptions {
|
|
530 |
'attachment_category' => 'checked',
|
531 |
'attachment_tag' => 'checked',
|
532 |
),
|
533 |
-
'tax_flat_checklist' => array(),
|
534 |
'tax_term_search' => array (
|
535 |
'attachment_category' => 'checked',
|
536 |
'attachment_tag' => 'checked',
|
537 |
),
|
|
|
|
|
538 |
'tax_filter' => 'attachment_category'
|
539 |
),
|
540 |
'type' => 'custom',
|
@@ -697,6 +703,18 @@ class MLAOptions {
|
|
697 |
__( 'You can also use Filters to customize the meta boxes.', 'media-library-assistant' ) .
|
698 |
sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLASettings::MLA_SETTINGS_SLUG . '-documentation&mla_tab=documentation#mla_edit_meta_boxes' ), __( 'click here', 'media-library-assistant' ) ) ),
|
699 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
700 |
'media_modal_header' =>
|
701 |
array('tab' => 'general',
|
702 |
'name' => __( 'Media Manager/Media Grid Enhancements', 'media-library-assistant' ),
|
@@ -1200,6 +1218,31 @@ class MLAOptions {
|
|
1200 |
);
|
1201 |
}
|
1202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1203 |
/**
|
1204 |
* Fetch style or markup template from $mla_templates
|
1205 |
*
|
@@ -1439,6 +1482,15 @@ class MLAOptions {
|
|
1439 |
|
1440 |
$tax_quick_edit = isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
|
1441 |
return array_key_exists( $tax_name, $tax_quick_edit );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1442 |
case 'flat-checklist':
|
1443 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1444 |
return isset( $_REQUEST['tax_flat_checklist'][ $tax_name ] );
|
@@ -1448,15 +1500,15 @@ class MLAOptions {
|
|
1448 |
|
1449 |
$tax_flat_checklist = isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
|
1450 |
return array_key_exists( $tax_name, $tax_flat_checklist );
|
1451 |
-
case '
|
1452 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1453 |
-
return isset( $_REQUEST['
|
1454 |
} elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
|
1455 |
-
return array_key_exists( $tax_name, self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['
|
1456 |
}
|
1457 |
|
1458 |
-
$
|
1459 |
-
return array_key_exists( $tax_name, $
|
1460 |
case 'filter':
|
1461 |
$tax_filter = isset( $tax_options['tax_filter'] ) ? $tax_options['tax_filter'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
|
1462 |
if ( '' == $tax_name ) {
|
@@ -1504,6 +1556,14 @@ class MLAOptions {
|
|
1504 |
}
|
1505 |
|
1506 |
return array_keys( isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1507 |
case 'flat-checklist':
|
1508 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1509 |
return isset( $_REQUEST['tax_flat_checklist'] ) ? array_keys( $_REQUEST['tax_flat_checklist'] ) : array();
|
@@ -1511,15 +1571,15 @@ class MLAOptions {
|
|
1511 |
return array_keys( self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
|
1512 |
}
|
1513 |
|
1514 |
-
return array_keys( isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['
|
1515 |
-
case '
|
1516 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1517 |
-
return isset( $_REQUEST['
|
1518 |
} elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
|
1519 |
-
return array_keys( self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['
|
1520 |
}
|
1521 |
|
1522 |
-
return array_keys( isset( $tax_options['
|
1523 |
case 'filter':
|
1524 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1525 |
return isset( $_REQUEST['tax_filter'] ) ? (array) $_REQUEST['tax_filter'] : array();
|
@@ -1571,7 +1631,7 @@ class MLAOptions {
|
|
1571 |
|
1572 |
$option_values = array(
|
1573 |
'key' => MLA_OPTION_PREFIX . $key,
|
1574 |
-
'value' => $value['name'],
|
1575 |
'options' => $select_options,
|
1576 |
'help' => $value['help']
|
1577 |
);
|
@@ -1592,8 +1652,8 @@ class MLAOptions {
|
|
1592 |
update_option( $key, '' );
|
1593 |
return $msg;
|
1594 |
default:
|
1595 |
-
/* translators: 1: option name
|
1596 |
-
return '<br>' . sprintf( __( '
|
1597 |
}
|
1598 |
} // mla_attachment_display_settings_option_handler
|
1599 |
|
@@ -1617,8 +1677,9 @@ class MLAOptions {
|
|
1617 |
$current_values = self::mla_get_option( $key );
|
1618 |
$tax_support = isset( $current_values['tax_support'] ) ? $current_values['tax_support'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
|
1619 |
$tax_quick_edit = isset( $current_values['tax_quick_edit'] ) ? $current_values['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
|
1620 |
-
$tax_flat_checklist = isset( $current_values['tax_flat_checklist'] ) ? $current_values['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
|
1621 |
$tax_term_search = isset( $current_values['tax_term_search'] ) ? $current_values['tax_term_search'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
|
|
|
|
|
1622 |
$tax_filter = isset( $current_values['tax_filter'] ) ? $current_values['tax_filter'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
|
1623 |
|
1624 |
/*
|
@@ -1665,10 +1726,11 @@ class MLAOptions {
|
|
1665 |
'name' => $tax_object->labels->name,
|
1666 |
'support_checked' => array_key_exists( $tax_name, $tax_support ) ? 'checked=checked' : '',
|
1667 |
'quick_edit_checked' => array_key_exists( $tax_name, $tax_quick_edit ) ? 'checked=checked' : '',
|
1668 |
-
'flat_checklist_checked' => array_key_exists( $tax_name, $tax_flat_checklist ) ? 'checked=checked' : '',
|
1669 |
'term_search_checked' => array_key_exists( $tax_name, $tax_term_search ) ? 'checked=checked' : '',
|
|
|
1670 |
'flat_checklist_disabled' => '',
|
1671 |
'flat_checklist_value' => 'checked',
|
|
|
1672 |
'filter_checked' => ( $tax_name == $tax_filter ) ? 'checked=checked' : ''
|
1673 |
);
|
1674 |
|
@@ -1684,8 +1746,9 @@ class MLAOptions {
|
|
1684 |
$option_values = array (
|
1685 |
'Support' => __( 'Support', 'media-library-assistant' ),
|
1686 |
'Inline Edit' => __( 'Inline Edit', 'media-library-assistant' ),
|
1687 |
-
'Checklist' => __( 'Checklist', 'media-library-assistant' ),
|
1688 |
'Term Search' => __( 'Term Search', 'media-library-assistant' ),
|
|
|
|
|
1689 |
'List Filter' => __( 'List Filter', 'media-library-assistant' ),
|
1690 |
'Taxonomy' => __( 'Taxonomy', 'media-library-assistant' ),
|
1691 |
'taxonomy_rows' => $row,
|
@@ -1697,8 +1760,9 @@ class MLAOptions {
|
|
1697 |
case 'delete':
|
1698 |
$tax_support = isset( $args['tax_support'] ) ? $args['tax_support'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
|
1699 |
$tax_quick_edit = isset( $args['tax_quick_edit'] ) ? $args['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
|
1700 |
-
$tax_flat_checklist = isset( $args['tax_flat_checklist'] ) ? $args['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
|
1701 |
$tax_term_search = isset( $args['tax_term_search'] ) ? $args['tax_term_search'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
|
|
|
|
|
1702 |
$tax_filter = isset( $args['tax_filter'] ) ? $args['tax_filter'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
|
1703 |
|
1704 |
$msg = '';
|
@@ -1717,6 +1781,14 @@ class MLAOptions {
|
|
1717 |
}
|
1718 |
}
|
1719 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1720 |
foreach ( $tax_flat_checklist as $tax_name => $tax_value ) {
|
1721 |
if ( 'disabled' == $tax_value ) {
|
1722 |
unset( $tax_flat_checklist[ $tax_name ] );
|
@@ -1727,19 +1799,20 @@ class MLAOptions {
|
|
1727 |
}
|
1728 |
}
|
1729 |
|
1730 |
-
foreach ( $
|
1731 |
if ( !array_key_exists( $tax_name, $tax_support ) ) {
|
1732 |
/* translators: 1: taxonomy name */
|
1733 |
-
$msg .= '<br>' . sprintf( __( '
|
1734 |
-
unset( $
|
1735 |
}
|
1736 |
}
|
1737 |
|
1738 |
$value = array (
|
1739 |
'tax_support' => $tax_support,
|
1740 |
'tax_quick_edit' => $tax_quick_edit,
|
1741 |
-
'tax_flat_checklist' => $tax_flat_checklist,
|
1742 |
'tax_term_search' => $tax_term_search,
|
|
|
|
|
1743 |
'tax_filter' => $tax_filter
|
1744 |
);
|
1745 |
|
@@ -1756,8 +1829,8 @@ class MLAOptions {
|
|
1756 |
/* translators: 1: option name, e.g., taxonomy_support */
|
1757 |
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
1758 |
default:
|
1759 |
-
/* translators: 1: option name
|
1760 |
-
return '<br>' . sprintf( __( '
|
1761 |
}
|
1762 |
} // mla_taxonomy_option_handler
|
1763 |
|
@@ -1832,8 +1905,8 @@ class MLAOptions {
|
|
1832 |
/* translators: 1: option name, e.g., taxonomy_support */
|
1833 |
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
1834 |
default:
|
1835 |
-
/* translators: 1: option name
|
1836 |
-
return '<br>' . sprintf( __( '
|
1837 |
}
|
1838 |
} // mla_search_option_handler
|
1839 |
/**
|
@@ -2049,7 +2122,7 @@ class MLAOptions {
|
|
2049 |
*
|
2050 |
* @since 1.10
|
2051 |
*
|
2052 |
-
* @param string slug, e.g., '
|
2053 |
*
|
2054 |
* @return array option value, e.g., array( 'name' => 'File Size', ... )
|
2055 |
*/
|
@@ -2057,7 +2130,7 @@ class MLAOptions {
|
|
2057 |
$option_values = self::mla_get_option( 'custom_field_mapping' );
|
2058 |
|
2059 |
foreach ( $option_values as $key => $value ) {
|
2060 |
-
if ( $slug == 'c_' .
|
2061 |
return $value;
|
2062 |
}
|
2063 |
}
|
@@ -2077,25 +2150,37 @@ class MLAOptions {
|
|
2077 |
public static function mla_custom_field_support( $support_type = 'default_columns' ) {
|
2078 |
$option_values = self::mla_get_option( 'custom_field_mapping' );
|
2079 |
$results = array();
|
2080 |
-
|
|
|
2081 |
foreach ( $option_values as $key => $value ) {
|
2082 |
-
$slug = 'c_' . sanitize_title( $key );
|
2083 |
|
2084 |
switch( $support_type ) {
|
2085 |
-
case '
|
2086 |
if ( $value['mla_column'] ) {
|
2087 |
$results[ $slug ] = $value['name'];
|
2088 |
}
|
2089 |
break;
|
|
|
|
|
|
|
|
|
|
|
2090 |
case 'default_hidden_columns':
|
2091 |
if ( $value['mla_column'] ) {
|
2092 |
$results[] = $slug;
|
2093 |
}
|
2094 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
2095 |
case 'default_sortable_columns':
|
2096 |
if ( $value['mla_column'] ) {
|
2097 |
// columns without NULL values should sort descending
|
2098 |
-
$results[ $slug ] = array( $
|
2099 |
}
|
2100 |
break;
|
2101 |
case 'quick_edit':
|
@@ -2903,24 +2988,35 @@ class MLAOptions {
|
|
2903 |
* @return string HTML markup with select field options
|
2904 |
*/
|
2905 |
private static function _compose_custom_field_option_list( $selection = 'none', $blacklist = array() ) {
|
|
|
|
|
|
|
2906 |
$option_template = self::$mla_option_templates['custom-field-select-option'];
|
2907 |
$option_values = array (
|
2908 |
'selected' => ( 'none' == $selection ) ? 'selected="selected"' : '',
|
2909 |
'value' => 'none',
|
2910 |
'text' => '— ' . __( 'None (select a value)', 'media-library-assistant' ) . ' —'
|
2911 |
);
|
2912 |
-
|
2913 |
$custom_field_options = MLAData::mla_parse_template( $option_template, $option_values );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2914 |
$custom_field_names = self::_get_custom_field_names();
|
2915 |
foreach ( $custom_field_names as $value ) {
|
2916 |
-
if (
|
2917 |
continue;
|
2918 |
}
|
2919 |
|
2920 |
$option_values = array (
|
2921 |
'selected' => ( $value == $selection ) ? 'selected="selected"' : '',
|
2922 |
-
'value' => $value,
|
2923 |
-
'text' => $value
|
2924 |
);
|
2925 |
|
2926 |
$custom_field_options .= MLAData::mla_parse_template( $option_template, $option_values );
|
@@ -3054,7 +3150,7 @@ class MLAOptions {
|
|
3054 |
$value = $root_value . '[' . $size_name . ']';
|
3055 |
$option_values = array (
|
3056 |
'selected' => ( $value == $selection ) ? 'selected="selected"' : '',
|
3057 |
-
'value' => $value,
|
3058 |
'text' => $value
|
3059 |
);
|
3060 |
|
@@ -3064,7 +3160,7 @@ class MLAOptions {
|
|
3064 |
} else {
|
3065 |
$option_values = array (
|
3066 |
'selected' => ( $value == $selection ) ? 'selected="selected"' : '',
|
3067 |
-
'value' => $value,
|
3068 |
'text' => $value
|
3069 |
);
|
3070 |
}
|
@@ -3091,45 +3187,42 @@ class MLAOptions {
|
|
3091 |
$settings_changed = false;
|
3092 |
$custom_field_names = self::_get_custom_field_names();
|
3093 |
|
3094 |
-
foreach ( $new_values as $
|
3095 |
$any_setting_changed = false;
|
|
|
|
|
|
|
|
|
3096 |
|
3097 |
/*
|
3098 |
* Check for the addition of a new rule or field
|
3099 |
*/
|
3100 |
-
if ( self::MLA_NEW_CUSTOM_FIELD
|
3101 |
-
$new_key = trim( $new_value['name'] );
|
3102 |
-
|
3103 |
if ( empty( $new_key ) ) {
|
3104 |
continue;
|
3105 |
}
|
3106 |
|
3107 |
if ( in_array( $new_key, $custom_field_names ) ) {
|
3108 |
-
/* translators: 1: custom field name */
|
3109 |
-
$error_list .= '<br>' . sprintf( __( '
|
3110 |
continue;
|
3111 |
}
|
3112 |
|
3113 |
/* translators: 1: custom field name */
|
3114 |
-
$message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), $new_key ) . "\r\n";
|
3115 |
$any_setting_changed = true;
|
3116 |
-
} elseif ( self::MLA_NEW_CUSTOM_RULE
|
3117 |
-
$new_key = trim( $new_value['name'] );
|
3118 |
-
|
3119 |
if ( 'none' == $new_key ) {
|
3120 |
continue;
|
3121 |
}
|
3122 |
|
3123 |
/* translators: 1: custom field name */
|
3124 |
-
$message_list .= '<br>' . sprintf( __( 'Adding new rule for %1$s.', 'media-library-assistant' ), $new_key ) . "\r\n";
|
3125 |
$any_setting_changed = true;
|
3126 |
-
} else {
|
3127 |
-
/*
|
3128 |
-
* Replace slug with field name
|
3129 |
-
*/
|
3130 |
-
$new_key = trim( $new_value['name'] );
|
3131 |
}
|
3132 |
|
|
|
|
|
3133 |
if ( isset( $current_values[ $new_key ] ) ) {
|
3134 |
$old_values = $current_values[ $new_key ];
|
3135 |
$any_setting_changed = false;
|
@@ -3152,7 +3245,7 @@ class MLAOptions {
|
|
3152 |
if ( array_key_exists( 'delete_rule', $new_value['action'] ) || array_key_exists( 'delete_field', $new_value['action'] ) ) {
|
3153 |
$settings_changed = true;
|
3154 |
/* translators: 1: custom field name */
|
3155 |
-
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), $old_values['name'] ) . "\r\n";
|
3156 |
unset( $current_values[ $new_key ] );
|
3157 |
continue;
|
3158 |
} // delete rule
|
@@ -3175,7 +3268,7 @@ class MLAOptions {
|
|
3175 |
}
|
3176 |
|
3177 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3178 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Data Source', 'media-library-assistant' ), $old_values['data_source'], $new_value['data_source'] ) . "\r\n";
|
3179 |
$old_values['data_source'] = $new_value['data_source'];
|
3180 |
}
|
3181 |
|
@@ -3189,14 +3282,14 @@ class MLAOptions {
|
|
3189 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
3190 |
$any_setting_changed = true;
|
3191 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3192 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3193 |
$old_values['keep_existing'] = $boolean_value;
|
3194 |
}
|
3195 |
|
3196 |
if ( $old_values['format'] != $new_value['format'] ) {
|
3197 |
$any_setting_changed = true;
|
3198 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3199 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Format', 'media-library-assistant' ), $old_values['format'], $new_value['format'] ) . "\r\n";
|
3200 |
$old_values['format'] = $new_value['format'];
|
3201 |
}
|
3202 |
|
@@ -3210,7 +3303,7 @@ class MLAOptions {
|
|
3210 |
if ( $old_values['mla_column'] != $boolean_value ) {
|
3211 |
$any_setting_changed = true;
|
3212 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3213 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'MLA Column', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3214 |
$old_values['mla_column'] = $boolean_value;
|
3215 |
}
|
3216 |
|
@@ -3224,7 +3317,7 @@ class MLAOptions {
|
|
3224 |
if ( $old_values['quick_edit'] != $boolean_value ) {
|
3225 |
$any_setting_changed = true;
|
3226 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3227 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Quick Edit', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3228 |
$old_values['quick_edit'] = $boolean_value;
|
3229 |
}
|
3230 |
|
@@ -3238,7 +3331,7 @@ class MLAOptions {
|
|
3238 |
if ( $old_values['bulk_edit'] != $boolean_value ) {
|
3239 |
$any_setting_changed = true;
|
3240 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3241 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Bulk Edit', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3242 |
$old_values['bulk_edit'] = $boolean_value;
|
3243 |
}
|
3244 |
|
@@ -3246,14 +3339,14 @@ class MLAOptions {
|
|
3246 |
$any_setting_changed = true;
|
3247 |
|
3248 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3249 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Metavalue name', 'media-library-assistant' ), $old_values['meta_name'], $new_value['meta_name'] ) . "\r\n";
|
3250 |
$old_values['meta_name'] = $new_value['meta_name'];
|
3251 |
}
|
3252 |
|
3253 |
if ( $old_values['option'] != $new_value['option'] ) {
|
3254 |
$any_setting_changed = true;
|
3255 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3256 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Option', 'media-library-assistant' ), $old_values['option'], $new_value['option'] ) . "\r\n";
|
3257 |
$old_values['option'] = $new_value['option'];
|
3258 |
}
|
3259 |
|
@@ -3267,7 +3360,7 @@ class MLAOptions {
|
|
3267 |
if ( $old_values['no_null'] != $boolean_value ) {
|
3268 |
$any_setting_changed = true;
|
3269 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3270 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Delete NULL', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3271 |
$old_values['no_null'] = $boolean_value;
|
3272 |
}
|
3273 |
|
@@ -3311,105 +3404,131 @@ class MLAOptions {
|
|
3311 |
} else {
|
3312 |
$row_template = self::$mla_option_templates['custom-field-rule-row'];
|
3313 |
$table_rows = '';
|
|
|
3314 |
}
|
3315 |
|
3316 |
-
|
|
|
|
|
|
|
3317 |
foreach ( $current_values as $row_name => $current_value ) {
|
3318 |
-
$
|
3319 |
-
|
3320 |
-
|
3321 |
-
|
3322 |
-
|
3323 |
-
|
3324 |
-
|
3325 |
-
|
3326 |
-
'native_format' => '',
|
3327 |
-
'Native' => __( 'Native', 'media-library-assistant' ),
|
3328 |
-
'commas_format' => '',
|
3329 |
-
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
3330 |
-
'raw_format' => '',
|
3331 |
-
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
3332 |
-
'mla_column_checked' => '',
|
3333 |
-
'quick_edit_checked' => '',
|
3334 |
-
'bulk_edit_checked' => '',
|
3335 |
-
'column_count' => 7,
|
3336 |
-
'meta_name_size' => 30,
|
3337 |
-
'meta_name' => $current_value['meta_name'],
|
3338 |
-
'column_count_meta' => (7 - 2),
|
3339 |
-
'Option' => __( 'Option', 'media-library-assistant' ),
|
3340 |
-
'text_option' => '',
|
3341 |
-
'Text' => __( 'Text', 'media-library-assistant' ),
|
3342 |
-
'single_option' => '',
|
3343 |
-
'Single' => __( 'Single', 'media-library-assistant' ),
|
3344 |
-
'export_option' => '',
|
3345 |
-
'Export' => __( 'Export', 'media-library-assistant' ),
|
3346 |
-
'array_option' => '',
|
3347 |
-
'Array' => __( 'Array', 'media-library-assistant' ),
|
3348 |
-
'multi_option' => '',
|
3349 |
-
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
3350 |
-
'no_null_checked' => '',
|
3351 |
-
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
3352 |
-
'Delete Rule' => __( 'Delete Rule', 'media-library-assistant' ),
|
3353 |
-
'Delete Field' => __( 'Delete Rule AND Field', 'media-library-assistant' ),
|
3354 |
-
'Update Rule' => __( 'Update Rule', 'media-library-assistant' ),
|
3355 |
-
'Map All Attachments' => __( 'Map All Attachments', 'media-library-assistant' ),
|
3356 |
-
);
|
3357 |
-
|
3358 |
-
if ( $current_value['keep_existing'] ) {
|
3359 |
-
$row_values['keep_selected'] = 'selected="selected"';
|
3360 |
-
} else {
|
3361 |
-
$row_values['replace_selected'] = 'selected="selected"';
|
3362 |
-
}
|
3363 |
-
|
3364 |
-
switch( $current_value['format'] ) {
|
3365 |
-
case 'native':
|
3366 |
-
$row_values['native_format'] = 'selected="selected"';
|
3367 |
-
break;
|
3368 |
-
case 'commas':
|
3369 |
-
$row_values['commas_format'] = 'selected="selected"';
|
3370 |
-
break;
|
3371 |
-
case 'raw':
|
3372 |
-
$row_values['raw_format'] = 'selected="selected"';
|
3373 |
-
break;
|
3374 |
-
default:
|
3375 |
-
$row_values['native_format'] = 'selected="selected"';
|
3376 |
-
} // format
|
3377 |
-
|
3378 |
-
if ( $current_value['mla_column'] ) {
|
3379 |
-
$row_values['mla_column_checked'] = 'checked="checked"';
|
3380 |
-
}
|
3381 |
-
|
3382 |
-
if ( $current_value['quick_edit'] ) {
|
3383 |
-
$row_values['quick_edit_checked'] = 'checked="checked"';
|
3384 |
-
}
|
3385 |
-
|
3386 |
-
if ( $current_value['bulk_edit'] ) {
|
3387 |
-
$row_values['bulk_edit_checked'] = 'checked="checked"';
|
3388 |
-
}
|
3389 |
-
|
3390 |
-
switch( $current_value['option'] ) {
|
3391 |
-
case 'single':
|
3392 |
-
$row_values['single_option'] = 'selected="selected"';
|
3393 |
-
break;
|
3394 |
-
case 'export':
|
3395 |
-
$row_values['export_option'] = 'selected="selected"';
|
3396 |
-
break;
|
3397 |
-
case 'array':
|
3398 |
-
$row_values['array_option'] = 'selected="selected"';
|
3399 |
-
break;
|
3400 |
-
case 'multi':
|
3401 |
-
$row_values['multi_option'] = 'selected="selected"';
|
3402 |
-
break;
|
3403 |
-
default:
|
3404 |
-
$row_values['text_option'] = 'selected="selected"';
|
3405 |
-
} // option
|
3406 |
|
3407 |
-
|
3408 |
-
|
3409 |
-
|
|
|
|
|
|
|
3410 |
|
3411 |
-
|
3412 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3413 |
|
3414 |
/*
|
3415 |
* Add a row for defining a new Custom Rule
|
@@ -3418,7 +3537,7 @@ class MLAOptions {
|
|
3418 |
$row_values = array (
|
3419 |
'column_count' => 7,
|
3420 |
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
3421 |
-
'
|
3422 |
'field_name_options' => self::_compose_custom_field_option_list( 'none', $current_values ),
|
3423 |
'data_source_options' => self::_compose_data_source_option_list( 'none' ),
|
3424 |
'keep_selected' => '',
|
@@ -3462,7 +3581,7 @@ class MLAOptions {
|
|
3462 |
$row_values = array (
|
3463 |
'column_count' => 7,
|
3464 |
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
3465 |
-
'
|
3466 |
'field_name_size' => '24',
|
3467 |
'data_source_options' => self::_compose_data_source_option_list( 'none' ),
|
3468 |
'keep_selected' => '',
|
@@ -3527,7 +3646,7 @@ class MLAOptions {
|
|
3527 |
if ( $settings_changed ) {
|
3528 |
$results = __( 'Custom field mapping rules updated.', 'media-library-assistant' ) . "\r\n";
|
3529 |
} else {
|
3530 |
-
$results = __( 'ERROR: Custom field mapping rules update failed.', 'media-library-assistant' ) . "\r\n";
|
3531 |
}
|
3532 |
} else {
|
3533 |
$results = __( 'Custom field no mapping rule changes detected.', 'media-library-assistant' ) . "\r\n";
|
@@ -3540,11 +3659,11 @@ class MLAOptions {
|
|
3540 |
if ( $settings_changed ) {
|
3541 |
return __( 'Custom field mapping settings saved.', 'media-library-assistant' ) . "\r\n";
|
3542 |
} else {
|
3543 |
-
return __( 'ERROR: Custom field mapping settings reset failed.', 'media-library-assistant' ) . "\r\n";
|
3544 |
}
|
3545 |
default:
|
3546 |
-
/* translators: 1: option name
|
3547 |
-
return '<br>' . sprintf( __( '
|
3548 |
} // switch $action
|
3549 |
} // mla_custom_field_option_handler
|
3550 |
|
@@ -4069,8 +4188,8 @@ class MLAOptions {
|
|
4069 |
$old_values = $current_values['standard'][ $new_key ];
|
4070 |
$any_setting_changed = false;
|
4071 |
} else {
|
4072 |
-
/* translators: 1: custom field name */
|
4073 |
-
$error_list .= '<br>' . sprintf( __( '
|
4074 |
continue;
|
4075 |
}
|
4076 |
|
@@ -4082,21 +4201,21 @@ class MLAOptions {
|
|
4082 |
if ( $old_values['name'] != $new_value['name'] ) {
|
4083 |
$any_setting_changed = true;
|
4084 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4085 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Field Title', 'media-library-assistant' ), $old_values['name'], $new_value['name'] ) . "\r\n";
|
4086 |
$old_values['name'] = $new_value['name'];
|
4087 |
}
|
4088 |
|
4089 |
if ( $old_values['iptc_value'] != $new_value['iptc_value'] ) {
|
4090 |
$any_setting_changed = true;
|
4091 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4092 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'IPTC Value', 'media-library-assistant' ), $old_values['iptc_value'], $new_value['iptc_value'] ) . "\r\n";
|
4093 |
$old_values['iptc_value'] = $new_value['iptc_value'];
|
4094 |
}
|
4095 |
|
4096 |
if ( $old_values['exif_value'] != $new_value['exif_value'] ) {
|
4097 |
$any_setting_changed = true;
|
4098 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4099 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'EXIF Value', 'media-library-assistant' ), $old_values['exif_value'], $new_value['exif_value'] ) . "\r\n";
|
4100 |
$old_values['exif_value'] = $new_value['exif_value'];
|
4101 |
}
|
4102 |
|
@@ -4110,7 +4229,7 @@ class MLAOptions {
|
|
4110 |
if ( $old_values['iptc_first'] != $boolean_value ) {
|
4111 |
$any_setting_changed = true;
|
4112 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4113 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Priority', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4114 |
$old_values['iptc_first'] = $boolean_value;
|
4115 |
}
|
4116 |
|
@@ -4124,7 +4243,7 @@ class MLAOptions {
|
|
4124 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
4125 |
$any_setting_changed = true;
|
4126 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4127 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4128 |
$old_values['keep_existing'] = $boolean_value;
|
4129 |
}
|
4130 |
|
@@ -4165,7 +4284,7 @@ class MLAOptions {
|
|
4165 |
if ( ! isset( $taxonomies[ $new_key ] ) ) {
|
4166 |
$settings_changed = true;
|
4167 |
/* translators: 1: custom field name */
|
4168 |
-
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), $new_key ) . "\r\n";
|
4169 |
unset( $current_values['taxonomy'][ $new_key ] );
|
4170 |
}
|
4171 |
}
|
@@ -4175,7 +4294,7 @@ class MLAOptions {
|
|
4175 |
$old_values = $current_values['taxonomy'][ $new_key ];
|
4176 |
} else {
|
4177 |
$old_values = array(
|
4178 |
-
'name' => $new_value['name'],
|
4179 |
'hierarchical' => $new_value['hierarchical'],
|
4180 |
'iptc_value' => 'none',
|
4181 |
'exif_value' => '',
|
@@ -4190,14 +4309,14 @@ class MLAOptions {
|
|
4190 |
if ( $old_values['iptc_value'] != $new_value['iptc_value'] ) {
|
4191 |
$any_setting_changed = true;
|
4192 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4193 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'IPTC Value', 'media-library-assistant' ), $old_values['iptc_value'], $new_value['iptc_value'] ) . "\r\n";
|
4194 |
$old_values['iptc_value'] = $new_value['iptc_value'];
|
4195 |
}
|
4196 |
|
4197 |
if ( $old_values['exif_value'] != $new_value['exif_value'] ) {
|
4198 |
$any_setting_changed = true;
|
4199 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4200 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'EXIF Value', 'media-library-assistant' ), $old_values['exif_value'], $new_value['exif_value'] ) . "\r\n";
|
4201 |
$old_values['exif_value'] = $new_value['exif_value'];
|
4202 |
}
|
4203 |
|
@@ -4211,7 +4330,7 @@ class MLAOptions {
|
|
4211 |
if ( $old_values['iptc_first'] != $boolean_value ) {
|
4212 |
$any_setting_changed = true;
|
4213 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4214 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Priority', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4215 |
$old_values['iptc_first'] = $boolean_value;
|
4216 |
}
|
4217 |
|
@@ -4225,21 +4344,21 @@ class MLAOptions {
|
|
4225 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
4226 |
$any_setting_changed = true;
|
4227 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4228 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4229 |
$old_values['keep_existing'] = $boolean_value;
|
4230 |
}
|
4231 |
|
4232 |
if ( $old_values['delimiters'] != $new_value['delimiters'] ) {
|
4233 |
$any_setting_changed = true;
|
4234 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4235 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Delimiter(s)', 'media-library-assistant' ), $old_values['delimiters'], $new_value['delimiters'] ) . "\r\n";
|
4236 |
$old_values['delimiters'] = $new_value['delimiters'];
|
4237 |
}
|
4238 |
|
4239 |
if ( isset( $new_value['parent'] ) && ( $old_values['parent'] != $new_value['parent'] ) ) {
|
4240 |
$any_setting_changed = true;
|
4241 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4242 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'Parent', 'media-library-assistant' ), $old_values['parent'], $new_value['parent'] ) . "\r\n";
|
4243 |
$old_values['parent'] = $new_value['parent'];
|
4244 |
}
|
4245 |
|
@@ -4273,40 +4392,42 @@ class MLAOptions {
|
|
4273 |
$settings_changed = false;
|
4274 |
$custom_field_names = self::_get_custom_field_names();
|
4275 |
|
4276 |
-
foreach ( $new_values['custom'] as $
|
4277 |
$any_setting_changed = false;
|
|
|
|
|
|
|
|
|
4278 |
|
4279 |
/*
|
4280 |
* Check for the addition of a new field or new rule
|
4281 |
*/
|
4282 |
-
if ( self::MLA_NEW_CUSTOM_FIELD
|
4283 |
-
$new_key = trim( $new_value['name'] );
|
4284 |
-
|
4285 |
if ( empty( $new_key ) ) {
|
4286 |
continue;
|
4287 |
}
|
4288 |
|
4289 |
if ( in_array( $new_key, $custom_field_names ) ) {
|
4290 |
-
/* translators: 1: custom field name */
|
4291 |
-
$error_list .= '<br>' . sprintf( __( '
|
4292 |
continue;
|
4293 |
}
|
4294 |
|
4295 |
/* translators: 1: custom field name */
|
4296 |
-
$message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), $new_key ) . "\r\n";
|
4297 |
$any_setting_changed = true;
|
4298 |
-
} elseif ( self::MLA_NEW_CUSTOM_RULE
|
4299 |
-
$new_key = trim( $new_value['name'] );
|
4300 |
-
|
4301 |
if ( 'none' == $new_key ) {
|
4302 |
continue;
|
4303 |
}
|
4304 |
|
4305 |
/* translators: 1: custom field name */
|
4306 |
-
$message_list .= '<br>' . sprintf( __( 'Adding new rule for %1$s.', 'media-library-assistant' ), $new_key ) . "\r\n";
|
4307 |
$any_setting_changed = true;
|
4308 |
}
|
4309 |
|
|
|
|
|
4310 |
if ( isset( $current_values['custom'][ $new_key ] ) ) {
|
4311 |
$old_values = $current_values['custom'][ $new_key ];
|
4312 |
$any_setting_changed = false;
|
@@ -4324,7 +4445,7 @@ class MLAOptions {
|
|
4324 |
if ( array_key_exists( 'delete_rule', $new_value['action'] ) || array_key_exists( 'delete_field', $new_value['action'] ) ) {
|
4325 |
$settings_changed = true;
|
4326 |
/* translators: 1: custom field name */
|
4327 |
-
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), $old_values['name'] ) . "\r\n";
|
4328 |
unset( $current_values['custom'][ $new_key ] );
|
4329 |
$settings_changed = true;
|
4330 |
continue;
|
@@ -4334,14 +4455,14 @@ class MLAOptions {
|
|
4334 |
if ( $old_values['iptc_value'] != $new_value['iptc_value'] ) {
|
4335 |
$any_setting_changed = true;
|
4336 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4337 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'IPTC Value', 'media-library-assistant' ), $old_values['iptc_value'], $new_value['iptc_value'] ) . "\r\n";
|
4338 |
$old_values['iptc_value'] = $new_value['iptc_value'];
|
4339 |
}
|
4340 |
|
4341 |
if ( $old_values['exif_value'] != $new_value['exif_value'] ) {
|
4342 |
$any_setting_changed = true;
|
4343 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4344 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), $old_values['name'], __( 'EXIF Value', 'media-library-assistant' ), $old_values['exif_value'], $new_value['exif_value'] ) . "\r\n";
|
4345 |
$old_values['exif_value'] = $new_value['exif_value'];
|
4346 |
}
|
4347 |
|
@@ -4355,7 +4476,7 @@ class MLAOptions {
|
|
4355 |
if ( $old_values['iptc_first'] != $boolean_value ) {
|
4356 |
$any_setting_changed = true;
|
4357 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4358 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Priority', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4359 |
$old_values['iptc_first'] = $boolean_value;
|
4360 |
}
|
4361 |
|
@@ -4369,7 +4490,7 @@ class MLAOptions {
|
|
4369 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
4370 |
$any_setting_changed = true;
|
4371 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4372 |
-
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), $old_values['name'], __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4373 |
$old_values['keep_existing'] = $boolean_value;
|
4374 |
}
|
4375 |
|
@@ -4377,12 +4498,12 @@ class MLAOptions {
|
|
4377 |
$settings_changed = true;
|
4378 |
$current_values['custom'][ $new_key ] = $old_values;
|
4379 |
}
|
4380 |
-
} // new
|
4381 |
|
4382 |
/*
|
4383 |
* Uncomment this for debugging.
|
4384 |
*/
|
4385 |
-
|
4386 |
|
4387 |
return array( 'message' => $error_list, 'values' => $current_values, 'changed' => $settings_changed );
|
4388 |
} // _update_iptc_exif_custom_mapping
|
@@ -4400,11 +4521,11 @@ class MLAOptions {
|
|
4400 |
private static function _get_custom_field_names( ) {
|
4401 |
global $wpdb;
|
4402 |
|
4403 |
-
$custom_field_mapping =
|
4404 |
$iptc_exif_mapping = self::mla_get_option( 'iptc_exif_mapping' );
|
4405 |
-
$iptc_exif_mapping =
|
4406 |
|
4407 |
-
$limit = (int) apply_filters( 'postmeta_form_limit',
|
4408 |
$keys = $wpdb->get_col( "
|
4409 |
SELECT meta_key
|
4410 |
FROM $wpdb->postmeta
|
@@ -4413,15 +4534,18 @@ class MLAOptions {
|
|
4413 |
ORDER BY meta_key
|
4414 |
LIMIT $limit" );
|
4415 |
|
|
|
|
|
|
|
4416 |
if ( $keys ) {
|
4417 |
foreach ( $custom_field_mapping as $value )
|
4418 |
-
if ( ! in_array( $value, $keys ) ) {
|
4419 |
-
$keys[] = $value;
|
4420 |
}
|
4421 |
|
4422 |
foreach ( $iptc_exif_mapping as $value )
|
4423 |
-
if ( ! in_array( $value, $keys ) ) {
|
4424 |
-
$keys[] = $value;
|
4425 |
}
|
4426 |
|
4427 |
natcasesort($keys);
|
@@ -4456,11 +4580,12 @@ class MLAOptions {
|
|
4456 |
|
4457 |
foreach ( $current_values['standard'] as $row_name => $row_value ) {
|
4458 |
$row_values = array (
|
4459 |
-
'key' => $row_name,
|
4460 |
-
'
|
|
|
4461 |
'iptc_field_options' => self::_compose_iptc_option_list( $row_value['iptc_value'] ),
|
4462 |
'exif_size' => self::MLA_EXIF_SIZE,
|
4463 |
-
'exif_text' => $row_value['exif_value'],
|
4464 |
'iptc_selected' => '',
|
4465 |
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
4466 |
'exif_selected' => '',
|
@@ -4505,7 +4630,7 @@ class MLAOptions {
|
|
4505 |
|
4506 |
foreach ( $taxonomies as $row_name => $row_value ) {
|
4507 |
$row_values = array (
|
4508 |
-
'key' => $row_name,
|
4509 |
'name' => esc_html( $row_value->labels->name ),
|
4510 |
'hierarchical' => (string) $row_value->hierarchical,
|
4511 |
'iptc_field_options' => '',
|
@@ -4547,7 +4672,7 @@ class MLAOptions {
|
|
4547 |
$parent = ( isset( $current_value['parent'] ) ) ? (integer) $current_value['parent'] : 0;
|
4548 |
$select_values = array (
|
4549 |
'array' => 'taxonomy',
|
4550 |
-
'key' => $row_name,
|
4551 |
'element' => 'parent',
|
4552 |
'options' => self::_compose_parent_option_list( $row_name, $parent )
|
4553 |
);
|
@@ -4561,7 +4686,7 @@ class MLAOptions {
|
|
4561 |
if ( $row_value->hierarchical ) {
|
4562 |
$select_values = array (
|
4563 |
'array' => 'taxonomy',
|
4564 |
-
'key' => $row_name,
|
4565 |
'element' => 'parent',
|
4566 |
'options' => self::_compose_parent_option_list( $row_name, 0 )
|
4567 |
);
|
@@ -4594,51 +4719,71 @@ class MLAOptions {
|
|
4594 |
} else {
|
4595 |
$row_template = self::$mla_option_templates['iptc-exif-custom-rule-row'];
|
4596 |
$table_rows = '';
|
|
|
4597 |
}
|
4598 |
|
4599 |
/*
|
4600 |
-
* One row for each existing rule
|
4601 |
*/
|
4602 |
-
|
4603 |
foreach ( $current_values['custom'] as $row_name => $current_value ) {
|
4604 |
-
$
|
4605 |
-
|
4606 |
-
|
4607 |
-
|
4608 |
-
|
4609 |
-
|
4610 |
-
|
4611 |
-
|
4612 |
-
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
4613 |
-
'exif_selected' => '',
|
4614 |
-
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
4615 |
-
'keep_selected' => '',
|
4616 |
-
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
4617 |
-
'replace_selected' => '',
|
4618 |
-
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
4619 |
-
'Delete Rule' => __( 'Delete Rule', 'media-library-assistant' ),
|
4620 |
-
'Delete Field' => __( 'Delete Rule AND Field', 'media-library-assistant' ),
|
4621 |
-
'Update Rule' => __( 'Update Rule', 'media-library-assistant' ),
|
4622 |
-
'Map All Attachments' => __( 'Map All Attachments', 'media-library-assistant' ),
|
4623 |
-
);
|
4624 |
-
|
4625 |
-
$row_values['iptc_field_options'] = self::_compose_iptc_option_list( $current_value['iptc_value'] );
|
4626 |
-
$row_values['exif_text'] = $current_value['exif_value'];
|
4627 |
-
|
4628 |
-
if ( $current_value['iptc_first'] ) {
|
4629 |
-
$row_values['iptc_selected'] = 'selected="selected"';
|
4630 |
-
} else {
|
4631 |
-
$row_values['exif_selected'] = 'selected="selected"';
|
4632 |
-
}
|
4633 |
|
4634 |
-
|
4635 |
-
|
4636 |
-
|
4637 |
-
|
4638 |
-
|
|
|
4639 |
|
4640 |
-
|
4641 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4642 |
|
4643 |
/*
|
4644 |
* Add a row for defining a new rule, existing Custom Field
|
@@ -4647,7 +4792,7 @@ class MLAOptions {
|
|
4647 |
$row_values = array (
|
4648 |
'column_count' => 5 ,
|
4649 |
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
4650 |
-
'
|
4651 |
'field_name_options' => self::_compose_custom_field_option_list( 'none', $current_values['custom'] ),
|
4652 |
'iptc_field_options' => self::_compose_iptc_option_list( 'none' ),
|
4653 |
'exif_size' => self::MLA_EXIF_SIZE,
|
@@ -4672,7 +4817,7 @@ class MLAOptions {
|
|
4672 |
$row_values = array (
|
4673 |
'column_count' => 5 ,
|
4674 |
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
4675 |
-
'
|
4676 |
'field_name_size' => '24',
|
4677 |
'iptc_field_options' => self::_compose_iptc_option_list( 'none' ),
|
4678 |
'exif_size' => self::MLA_EXIF_SIZE,
|
@@ -4702,8 +4847,8 @@ class MLAOptions {
|
|
4702 |
|
4703 |
return MLAData::mla_parse_template( self::$mla_option_templates['iptc-exif-custom-table'], $option_values );
|
4704 |
default:
|
4705 |
-
/* translators: 1: option name */
|
4706 |
-
return '<br>' . sprintf( __( '
|
4707 |
} // switch $key
|
4708 |
case 'update':
|
4709 |
case 'delete':
|
@@ -4746,8 +4891,8 @@ class MLAOptions {
|
|
4746 |
$settings_changed |= $results['changed'];
|
4747 |
break;
|
4748 |
default:
|
4749 |
-
/* translators: 1: option name */
|
4750 |
-
return '<br>' . sprintf( __( '
|
4751 |
} // switch $key
|
4752 |
|
4753 |
if ( $settings_changed ) {
|
@@ -4755,7 +4900,7 @@ class MLAOptions {
|
|
4755 |
if ( $settings_changed ) {
|
4756 |
$results = __( 'IPTC/EXIF mapping settings updated.', 'media-library-assistant' ) . "\r\n";
|
4757 |
} else {
|
4758 |
-
$results = __( 'ERROR: IPTC/EXIF settings update failed.', 'media-library-assistant' ) . "\r\n";
|
4759 |
}
|
4760 |
} else {
|
4761 |
$results = __( 'IPTC/EXIF no mapping changes detected.', 'media-library-assistant' ) . "\r\n";
|
@@ -4771,8 +4916,8 @@ class MLAOptions {
|
|
4771 |
/* translators: 1: field type */
|
4772 |
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
|
4773 |
} else {
|
4774 |
-
/* translators: 1: field type */
|
4775 |
-
return sprintf( __( '
|
4776 |
}
|
4777 |
case 'iptc_exif_taxonomy_mapping':
|
4778 |
$current_values['taxonomy'] = self::$mla_option_definitions['iptc_exif_mapping']['std']['taxonomy'];
|
@@ -4781,8 +4926,8 @@ class MLAOptions {
|
|
4781 |
/* translators: 1: field type */
|
4782 |
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
|
4783 |
} else {
|
4784 |
-
/* translators: 1: field type */
|
4785 |
-
return sprintf( __( '
|
4786 |
}
|
4787 |
case 'iptc_exif_custom_mapping':
|
4788 |
$current_values['custom'] = self::$mla_option_definitions['iptc_exif_mapping']['std']['custom'];
|
@@ -4791,20 +4936,20 @@ class MLAOptions {
|
|
4791 |
/* translators: 1: field type */
|
4792 |
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Custom field', 'media-library-assistant' ) ) . "\r\n";
|
4793 |
} else {
|
4794 |
-
/* translators: 1: field type */
|
4795 |
-
return sprintf( __( '
|
4796 |
}
|
4797 |
case 'iptc_exif_mapping':
|
4798 |
self::mla_delete_option( $key );
|
4799 |
/* translators: 1: option name, e.g., taxonomy_support */
|
4800 |
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
4801 |
default:
|
4802 |
-
/* translators: 1: option name, e.g., taxonomy_support */
|
4803 |
-
return '<br>' . sprintf( __( '
|
4804 |
} // switch $key
|
4805 |
default:
|
4806 |
-
/* translators: 1: option name
|
4807 |
-
return '<br>' . sprintf( __( '
|
4808 |
} // switch $action
|
4809 |
} // mla_iptc_exif_option_handler
|
4810 |
} // class MLAOptions
|
129 |
/**
|
130 |
* Provides a unique name for the Custom Field "new rule" key
|
131 |
*/
|
132 |
+
const MLA_NEW_CUSTOM_RULE = '__NEW_RULE__';
|
133 |
|
134 |
/**
|
135 |
* Provides a unique name for the Custom Field "new field" key
|
136 |
*/
|
137 |
+
const MLA_NEW_CUSTOM_FIELD = '__NEW_FIELD__';
|
138 |
|
139 |
/**
|
140 |
* Provides a unique name for the "searchable taxonomies" option
|
146 |
*/
|
147 |
const MLA_EDIT_MEDIA_META_BOXES = 'edit_media_meta_boxes';
|
148 |
|
149 |
+
/**
|
150 |
+
* Provides a unique name for the Media/Add New bulk edit option
|
151 |
+
*/
|
152 |
+
const MLA_ADD_NEW_BULK_EDIT = 'add_new_bulk_edit';
|
153 |
+
|
154 |
/**
|
155 |
* Provides a unique name for the Media Grid toolbar option, which
|
156 |
* also controls the ATTACHMENT DETAILS enhancements
|
517 |
|
518 |
self::MLA_TAXONOMY_SUPPORT =>
|
519 |
array('tab' => 'general',
|
520 |
+
'help' => __( 'Check the "<strong>Support</strong>" box to add the taxonomy to the Assistant and the Edit Media screen.', 'media-library-assistant' ) . '<br>' .
|
521 |
+
__( 'Check the "<strong>Inline Edit</strong>" box to display the taxonomy in the Quick Edit and Bulk Edit areas.', 'media-library-assistant' ) . '<br>' .
|
522 |
+
__( 'Check the "<strong>Term Search</strong>" box to add the taxonomy to the "Search Media/Terms" list.', 'media-library-assistant' ) .
|
|
|
|
|
523 |
sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLASettings::MLA_SETTINGS_SLUG . '-documentation&mla_tab=documentation#terms_search' ), __( 'click here', 'media-library-assistant' ) )
|
524 |
. '<br>' .
|
525 |
+
__( 'Check the "<strong>Checklist</strong>" box to enable the checklist-style meta box for a flat taxonomy.', 'media-library-assistant' ) . ' ' .
|
526 |
+
__( 'You must also check the <strong>"Enable enhanced checklist taxonomies"</strong> box below to enable this feature.', 'media-library-assistant' ) . '<br>' .
|
527 |
+
__( 'Check the "<strong>Checked On Top</strong>" box to moved checked terms to the top of the checklist-style meta box.', 'media-library-assistant' ) . '<br>' .
|
528 |
+
__( 'Use the "<strong>List Filter</strong>" option to select the taxonomy on which to filter the Assistant table listing.', 'media-library-assistant' ),
|
529 |
'std' => array (
|
530 |
'tax_support' => array (
|
531 |
'attachment_category' => 'checked',
|
535 |
'attachment_category' => 'checked',
|
536 |
'attachment_tag' => 'checked',
|
537 |
),
|
|
|
538 |
'tax_term_search' => array (
|
539 |
'attachment_category' => 'checked',
|
540 |
'attachment_tag' => 'checked',
|
541 |
),
|
542 |
+
'tax_flat_checklist' => array(),
|
543 |
+
'tax_checked_on_top' => NULL, // default "true", handled in mla_initialize_tax_checked_on_top
|
544 |
'tax_filter' => 'attachment_category'
|
545 |
),
|
546 |
'type' => 'custom',
|
703 |
__( 'You can also use Filters to customize the meta boxes.', 'media-library-assistant' ) .
|
704 |
sprintf( ' %1$s <a href="%2$s">%3$s</a>.', __( 'For complete documentation', 'media-library-assistant' ), admin_url( 'options-general.php?page=' . MLASettings::MLA_SETTINGS_SLUG . '-documentation&mla_tab=documentation#mla_edit_meta_boxes' ), __( 'click here', 'media-library-assistant' ) ) ),
|
705 |
|
706 |
+
'media_add_new_header' =>
|
707 |
+
array('tab' => 'general',
|
708 |
+
'name' => __( 'Media/Add New Enhancements', 'media-library-assistant' ),
|
709 |
+
'type' => 'header'),
|
710 |
+
|
711 |
+
self::MLA_ADD_NEW_BULK_EDIT =>
|
712 |
+
array('tab' => 'general',
|
713 |
+
'name' => __( 'Enable "bulk edit" area', 'media-library-assistant' ),
|
714 |
+
'type' => 'checkbox',
|
715 |
+
'std' => 'checked',
|
716 |
+
'help' => __( 'Check this option to enable the "Bulk Edit area" feature on the Media/Add New screen.', 'media-library-assistant' )),
|
717 |
+
|
718 |
'media_modal_header' =>
|
719 |
array('tab' => 'general',
|
720 |
'name' => __( 'Media Manager/Media Grid Enhancements', 'media-library-assistant' ),
|
1218 |
);
|
1219 |
}
|
1220 |
|
1221 |
+
/**
|
1222 |
+
* Initialize "tax_checked_on_top" => "checked" default for all supported taxonomies
|
1223 |
+
*
|
1224 |
+
* Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.
|
1225 |
+
*
|
1226 |
+
* @since 2.02
|
1227 |
+
*
|
1228 |
+
* @return void
|
1229 |
+
*/
|
1230 |
+
public static function mla_initialize_tax_checked_on_top() {
|
1231 |
+
if ( NULL === self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] ) {
|
1232 |
+
/*
|
1233 |
+
* WordPress default is 'checked_ontop' => true
|
1234 |
+
* Initialize tax_checked_on_top defaults to true for all supported taxonomies
|
1235 |
+
*/
|
1236 |
+
$checked_on_top = array();
|
1237 |
+
$taxonomies = self::mla_supported_taxonomies();
|
1238 |
+
foreach ( $taxonomies as $new_key ) {
|
1239 |
+
$checked_on_top[ $new_key ] = 'checked';
|
1240 |
+
}
|
1241 |
+
|
1242 |
+
self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] = $checked_on_top;
|
1243 |
+
}
|
1244 |
+
}
|
1245 |
+
|
1246 |
/**
|
1247 |
* Fetch style or markup template from $mla_templates
|
1248 |
*
|
1482 |
|
1483 |
$tax_quick_edit = isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
|
1484 |
return array_key_exists( $tax_name, $tax_quick_edit );
|
1485 |
+
case 'term-search':
|
1486 |
+
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1487 |
+
return isset( $_REQUEST['tax_term_search'][ $tax_name ] );
|
1488 |
+
} elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
|
1489 |
+
return array_key_exists( $tax_name, self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
|
1490 |
+
}
|
1491 |
+
|
1492 |
+
$tax_term_search = isset( $tax_options['tax_term_search'] ) ? $tax_options['tax_term_search'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
|
1493 |
+
return array_key_exists( $tax_name, $tax_term_search );
|
1494 |
case 'flat-checklist':
|
1495 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1496 |
return isset( $_REQUEST['tax_flat_checklist'][ $tax_name ] );
|
1500 |
|
1501 |
$tax_flat_checklist = isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
|
1502 |
return array_key_exists( $tax_name, $tax_flat_checklist );
|
1503 |
+
case 'checked-on-top':
|
1504 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1505 |
+
return isset( $_REQUEST['tax_checked_on_top'][ $tax_name ] );
|
1506 |
} elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
|
1507 |
+
return array_key_exists( $tax_name, self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
|
1508 |
}
|
1509 |
|
1510 |
+
$tax_checked_on_top = isset( $tax_options['tax_checked_on_top'] ) ? $tax_options['tax_checked_on_top'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
|
1511 |
+
return array_key_exists( $tax_name, $tax_checked_on_top );
|
1512 |
case 'filter':
|
1513 |
$tax_filter = isset( $tax_options['tax_filter'] ) ? $tax_options['tax_filter'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
|
1514 |
if ( '' == $tax_name ) {
|
1556 |
}
|
1557 |
|
1558 |
return array_keys( isset( $tax_options['tax_quick_edit'] ) ? $tax_options['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'] );
|
1559 |
+
case 'term-search':
|
1560 |
+
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1561 |
+
return isset( $_REQUEST['tax_term_search'] ) ? array_keys( $_REQUEST['tax_term_search'] ) : array();
|
1562 |
+
} elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
|
1563 |
+
return array_keys( self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
|
1564 |
+
}
|
1565 |
+
|
1566 |
+
return array_keys( isset( $tax_options['tax_term_search'] ) ? $tax_options['tax_term_search'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'] );
|
1567 |
case 'flat-checklist':
|
1568 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1569 |
return isset( $_REQUEST['tax_flat_checklist'] ) ? array_keys( $_REQUEST['tax_flat_checklist'] ) : array();
|
1571 |
return array_keys( self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
|
1572 |
}
|
1573 |
|
1574 |
+
return array_keys( isset( $tax_options['tax_flat_checklist'] ) ? $tax_options['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'] );
|
1575 |
+
case 'checked-on-top':
|
1576 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1577 |
+
return isset( $_REQUEST['tax_checked_on_top'] ) ? array_keys( $_REQUEST['tax_checked_on_top'] ) : array();
|
1578 |
} elseif ( !empty( $_REQUEST['mla-general-options-reset'] ) ) {
|
1579 |
+
return array_keys( self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
|
1580 |
}
|
1581 |
|
1582 |
+
return array_keys( isset( $tax_options['tax_checked_on_top'] ) ? $tax_options['tax_checked_on_top'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'] );
|
1583 |
case 'filter':
|
1584 |
if ( !empty( $_REQUEST['mla-general-options-save'] ) ) {
|
1585 |
return isset( $_REQUEST['tax_filter'] ) ? (array) $_REQUEST['tax_filter'] : array();
|
1631 |
|
1632 |
$option_values = array(
|
1633 |
'key' => MLA_OPTION_PREFIX . $key,
|
1634 |
+
'value' => esc_attr( $value['name'] ),
|
1635 |
'options' => $select_options,
|
1636 |
'help' => $value['help']
|
1637 |
);
|
1652 |
update_option( $key, '' );
|
1653 |
return $msg;
|
1654 |
default:
|
1655 |
+
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
1656 |
+
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
1657 |
}
|
1658 |
} // mla_attachment_display_settings_option_handler
|
1659 |
|
1677 |
$current_values = self::mla_get_option( $key );
|
1678 |
$tax_support = isset( $current_values['tax_support'] ) ? $current_values['tax_support'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
|
1679 |
$tax_quick_edit = isset( $current_values['tax_quick_edit'] ) ? $current_values['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
|
|
|
1680 |
$tax_term_search = isset( $current_values['tax_term_search'] ) ? $current_values['tax_term_search'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
|
1681 |
+
$tax_flat_checklist = isset( $current_values['tax_flat_checklist'] ) ? $current_values['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
|
1682 |
+
$tax_checked_on_top = isset( $current_values['tax_checked_on_top'] ) ? $current_values['tax_checked_on_top'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
|
1683 |
$tax_filter = isset( $current_values['tax_filter'] ) ? $current_values['tax_filter'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
|
1684 |
|
1685 |
/*
|
1726 |
'name' => $tax_object->labels->name,
|
1727 |
'support_checked' => array_key_exists( $tax_name, $tax_support ) ? 'checked=checked' : '',
|
1728 |
'quick_edit_checked' => array_key_exists( $tax_name, $tax_quick_edit ) ? 'checked=checked' : '',
|
|
|
1729 |
'term_search_checked' => array_key_exists( $tax_name, $tax_term_search ) ? 'checked=checked' : '',
|
1730 |
+
'flat_checklist_checked' => array_key_exists( $tax_name, $tax_flat_checklist ) ? 'checked=checked' : '',
|
1731 |
'flat_checklist_disabled' => '',
|
1732 |
'flat_checklist_value' => 'checked',
|
1733 |
+
'checked_on_top_checked' => array_key_exists( $tax_name, $tax_checked_on_top ) ? 'checked=checked' : '',
|
1734 |
'filter_checked' => ( $tax_name == $tax_filter ) ? 'checked=checked' : ''
|
1735 |
);
|
1736 |
|
1746 |
$option_values = array (
|
1747 |
'Support' => __( 'Support', 'media-library-assistant' ),
|
1748 |
'Inline Edit' => __( 'Inline Edit', 'media-library-assistant' ),
|
|
|
1749 |
'Term Search' => __( 'Term Search', 'media-library-assistant' ),
|
1750 |
+
'Checklist' => __( 'Checklist', 'media-library-assistant' ),
|
1751 |
+
'Checked On Top' => __( 'Checked On Top', 'media-library-assistant' ),
|
1752 |
'List Filter' => __( 'List Filter', 'media-library-assistant' ),
|
1753 |
'Taxonomy' => __( 'Taxonomy', 'media-library-assistant' ),
|
1754 |
'taxonomy_rows' => $row,
|
1760 |
case 'delete':
|
1761 |
$tax_support = isset( $args['tax_support'] ) ? $args['tax_support'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_support'];
|
1762 |
$tax_quick_edit = isset( $args['tax_quick_edit'] ) ? $args['tax_quick_edit'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_quick_edit'];
|
|
|
1763 |
$tax_term_search = isset( $args['tax_term_search'] ) ? $args['tax_term_search'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_term_search'];
|
1764 |
+
$tax_flat_checklist = isset( $args['tax_flat_checklist'] ) ? $args['tax_flat_checklist'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_flat_checklist'];
|
1765 |
+
$tax_checked_on_top = isset( $args['tax_checked_on_top'] ) ? $args['tax_checked_on_top'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_checked_on_top'];
|
1766 |
$tax_filter = isset( $args['tax_filter'] ) ? $args['tax_filter'] : self::$mla_option_definitions[ self::MLA_TAXONOMY_SUPPORT ]['std']['tax_filter'];
|
1767 |
|
1768 |
$msg = '';
|
1781 |
}
|
1782 |
}
|
1783 |
|
1784 |
+
foreach ( $tax_term_search as $tax_name => $tax_value ) {
|
1785 |
+
if ( !array_key_exists( $tax_name, $tax_support ) ) {
|
1786 |
+
/* translators: 1: taxonomy name */
|
1787 |
+
$msg .= '<br>' . sprintf( __( 'Term Search ignored; %1$s not supported.', 'media-library-assistant' ), $tax_name ) . "\r\n";
|
1788 |
+
unset( $tax_term_search[ $tax_name ] );
|
1789 |
+
}
|
1790 |
+
}
|
1791 |
+
|
1792 |
foreach ( $tax_flat_checklist as $tax_name => $tax_value ) {
|
1793 |
if ( 'disabled' == $tax_value ) {
|
1794 |
unset( $tax_flat_checklist[ $tax_name ] );
|
1799 |
}
|
1800 |
}
|
1801 |
|
1802 |
+
foreach ( $tax_checked_on_top as $tax_name => $tax_value ) {
|
1803 |
if ( !array_key_exists( $tax_name, $tax_support ) ) {
|
1804 |
/* translators: 1: taxonomy name */
|
1805 |
+
$msg .= '<br>' . sprintf( __( 'Checked On Top ignored; %1$s not supported.', 'media-library-assistant' ), $tax_name ) . "\r\n";
|
1806 |
+
unset( $tax_checked_on_top[ $tax_name ] );
|
1807 |
}
|
1808 |
}
|
1809 |
|
1810 |
$value = array (
|
1811 |
'tax_support' => $tax_support,
|
1812 |
'tax_quick_edit' => $tax_quick_edit,
|
|
|
1813 |
'tax_term_search' => $tax_term_search,
|
1814 |
+
'tax_flat_checklist' => $tax_flat_checklist,
|
1815 |
+
'tax_checked_on_top' => $tax_checked_on_top,
|
1816 |
'tax_filter' => $tax_filter
|
1817 |
);
|
1818 |
|
1829 |
/* translators: 1: option name, e.g., taxonomy_support */
|
1830 |
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
1831 |
default:
|
1832 |
+
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
1833 |
+
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
1834 |
}
|
1835 |
} // mla_taxonomy_option_handler
|
1836 |
|
1905 |
/* translators: 1: option name, e.g., taxonomy_support */
|
1906 |
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
1907 |
default:
|
1908 |
+
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
1909 |
+
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
1910 |
}
|
1911 |
} // mla_search_option_handler
|
1912 |
/**
|
2122 |
*
|
2123 |
* @since 1.10
|
2124 |
*
|
2125 |
+
* @param string slug, e.g., 'c_File Size' for the 'File Size' field
|
2126 |
*
|
2127 |
* @return array option value, e.g., array( 'name' => 'File Size', ... )
|
2128 |
*/
|
2130 |
$option_values = self::mla_get_option( 'custom_field_mapping' );
|
2131 |
|
2132 |
foreach ( $option_values as $key => $value ) {
|
2133 |
+
if ( $slug == 'c_' . $value['name'] ) {
|
2134 |
return $value;
|
2135 |
}
|
2136 |
}
|
2150 |
public static function mla_custom_field_support( $support_type = 'default_columns' ) {
|
2151 |
$option_values = self::mla_get_option( 'custom_field_mapping' );
|
2152 |
$results = array();
|
2153 |
+
$index = 0;
|
2154 |
+
|
2155 |
foreach ( $option_values as $key => $value ) {
|
2156 |
+
$slug = 'c_' . $index++; // sanitize_title( $key ); Didn't handle HTML in name, e.g., "R><B"
|
2157 |
|
2158 |
switch( $support_type ) {
|
2159 |
+
case 'custom_columns':
|
2160 |
if ( $value['mla_column'] ) {
|
2161 |
$results[ $slug ] = $value['name'];
|
2162 |
}
|
2163 |
break;
|
2164 |
+
case 'default_columns':
|
2165 |
+
if ( $value['mla_column'] ) {
|
2166 |
+
$results[ $slug ] = esc_html( $value['name'] );
|
2167 |
+
}
|
2168 |
+
break;
|
2169 |
case 'default_hidden_columns':
|
2170 |
if ( $value['mla_column'] ) {
|
2171 |
$results[] = $slug;
|
2172 |
}
|
2173 |
break;
|
2174 |
+
case 'custom_sortable_columns':
|
2175 |
+
if ( $value['mla_column'] ) {
|
2176 |
+
// columns without NULL values should sort descending
|
2177 |
+
$results[ $slug ] = array( $value['name'], $value['no_null'] );
|
2178 |
+
}
|
2179 |
+
break;
|
2180 |
case 'default_sortable_columns':
|
2181 |
if ( $value['mla_column'] ) {
|
2182 |
// columns without NULL values should sort descending
|
2183 |
+
$results[ $slug ] = array( esc_html( $value['name'] ), $value['no_null'] );
|
2184 |
}
|
2185 |
break;
|
2186 |
case 'quick_edit':
|
2988 |
* @return string HTML markup with select field options
|
2989 |
*/
|
2990 |
private static function _compose_custom_field_option_list( $selection = 'none', $blacklist = array() ) {
|
2991 |
+
/*
|
2992 |
+
* Add the "None" option to the front of the list
|
2993 |
+
*/
|
2994 |
$option_template = self::$mla_option_templates['custom-field-select-option'];
|
2995 |
$option_values = array (
|
2996 |
'selected' => ( 'none' == $selection ) ? 'selected="selected"' : '',
|
2997 |
'value' => 'none',
|
2998 |
'text' => '— ' . __( 'None (select a value)', 'media-library-assistant' ) . ' —'
|
2999 |
);
|
|
|
3000 |
$custom_field_options = MLAData::mla_parse_template( $option_template, $option_values );
|
3001 |
+
|
3002 |
+
/*
|
3003 |
+
* Add an option for each name without a rule, i.e., not in the blacklist
|
3004 |
+
*/
|
3005 |
+
$blacklist_names = array();
|
3006 |
+
foreach ( $blacklist as $value ) {
|
3007 |
+
$blacklist_names[] = $value['name'];
|
3008 |
+
}
|
3009 |
+
|
3010 |
$custom_field_names = self::_get_custom_field_names();
|
3011 |
foreach ( $custom_field_names as $value ) {
|
3012 |
+
if ( in_array( $value, $blacklist_names ) ) {
|
3013 |
continue;
|
3014 |
}
|
3015 |
|
3016 |
$option_values = array (
|
3017 |
'selected' => ( $value == $selection ) ? 'selected="selected"' : '',
|
3018 |
+
'value' => esc_attr( $value ),
|
3019 |
+
'text' => esc_html( $value )
|
3020 |
);
|
3021 |
|
3022 |
$custom_field_options .= MLAData::mla_parse_template( $option_template, $option_values );
|
3150 |
$value = $root_value . '[' . $size_name . ']';
|
3151 |
$option_values = array (
|
3152 |
'selected' => ( $value == $selection ) ? 'selected="selected"' : '',
|
3153 |
+
'value' => esc_attr( $value ),
|
3154 |
'text' => $value
|
3155 |
);
|
3156 |
|
3160 |
} else {
|
3161 |
$option_values = array (
|
3162 |
'selected' => ( $value == $selection ) ? 'selected="selected"' : '',
|
3163 |
+
'value' => esc_attr( $value ),
|
3164 |
'text' => $value
|
3165 |
);
|
3166 |
}
|
3187 |
$settings_changed = false;
|
3188 |
$custom_field_names = self::_get_custom_field_names();
|
3189 |
|
3190 |
+
foreach ( $new_values as $the_key => $new_value ) {
|
3191 |
$any_setting_changed = false;
|
3192 |
+
/*
|
3193 |
+
* Replace index with field name
|
3194 |
+
*/
|
3195 |
+
$new_key = trim( stripslashes( $new_value['name'] ) );
|
3196 |
|
3197 |
/*
|
3198 |
* Check for the addition of a new rule or field
|
3199 |
*/
|
3200 |
+
if ( self::MLA_NEW_CUSTOM_FIELD === $the_key ) {
|
|
|
|
|
3201 |
if ( empty( $new_key ) ) {
|
3202 |
continue;
|
3203 |
}
|
3204 |
|
3205 |
if ( in_array( $new_key, $custom_field_names ) ) {
|
3206 |
+
/* translators: 1: ERROR tag 2: custom field name */
|
3207 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: New field %2$s already exists.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
3208 |
continue;
|
3209 |
}
|
3210 |
|
3211 |
/* translators: 1: custom field name */
|
3212 |
+
$message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
3213 |
$any_setting_changed = true;
|
3214 |
+
} elseif ( self::MLA_NEW_CUSTOM_RULE === $the_key ) {
|
|
|
|
|
3215 |
if ( 'none' == $new_key ) {
|
3216 |
continue;
|
3217 |
}
|
3218 |
|
3219 |
/* translators: 1: custom field name */
|
3220 |
+
$message_list .= '<br>' . sprintf( __( 'Adding new rule for %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
3221 |
$any_setting_changed = true;
|
|
|
|
|
|
|
|
|
|
|
3222 |
}
|
3223 |
|
3224 |
+
$new_value = stripslashes_deep( $new_value );
|
3225 |
+
|
3226 |
if ( isset( $current_values[ $new_key ] ) ) {
|
3227 |
$old_values = $current_values[ $new_key ];
|
3228 |
$any_setting_changed = false;
|
3245 |
if ( array_key_exists( 'delete_rule', $new_value['action'] ) || array_key_exists( 'delete_field', $new_value['action'] ) ) {
|
3246 |
$settings_changed = true;
|
3247 |
/* translators: 1: custom field name */
|
3248 |
+
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ) ) . "\r\n";
|
3249 |
unset( $current_values[ $new_key ] );
|
3250 |
continue;
|
3251 |
} // delete rule
|
3268 |
}
|
3269 |
|
3270 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3271 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Data Source', 'media-library-assistant' ), $old_values['data_source'], $new_value['data_source'] ) . "\r\n";
|
3272 |
$old_values['data_source'] = $new_value['data_source'];
|
3273 |
}
|
3274 |
|
3282 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
3283 |
$any_setting_changed = true;
|
3284 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3285 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3286 |
$old_values['keep_existing'] = $boolean_value;
|
3287 |
}
|
3288 |
|
3289 |
if ( $old_values['format'] != $new_value['format'] ) {
|
3290 |
$any_setting_changed = true;
|
3291 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3292 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Format', 'media-library-assistant' ), $old_values['format'], $new_value['format'] ) . "\r\n";
|
3293 |
$old_values['format'] = $new_value['format'];
|
3294 |
}
|
3295 |
|
3303 |
if ( $old_values['mla_column'] != $boolean_value ) {
|
3304 |
$any_setting_changed = true;
|
3305 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3306 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'MLA Column', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3307 |
$old_values['mla_column'] = $boolean_value;
|
3308 |
}
|
3309 |
|
3317 |
if ( $old_values['quick_edit'] != $boolean_value ) {
|
3318 |
$any_setting_changed = true;
|
3319 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3320 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Quick Edit', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3321 |
$old_values['quick_edit'] = $boolean_value;
|
3322 |
}
|
3323 |
|
3331 |
if ( $old_values['bulk_edit'] != $boolean_value ) {
|
3332 |
$any_setting_changed = true;
|
3333 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3334 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Bulk Edit', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3335 |
$old_values['bulk_edit'] = $boolean_value;
|
3336 |
}
|
3337 |
|
3339 |
$any_setting_changed = true;
|
3340 |
|
3341 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3342 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Metavalue name', 'media-library-assistant' ), $old_values['meta_name'], $new_value['meta_name'] ) . "\r\n";
|
3343 |
$old_values['meta_name'] = $new_value['meta_name'];
|
3344 |
}
|
3345 |
|
3346 |
if ( $old_values['option'] != $new_value['option'] ) {
|
3347 |
$any_setting_changed = true;
|
3348 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
3349 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Option', 'media-library-assistant' ), $old_values['option'], $new_value['option'] ) . "\r\n";
|
3350 |
$old_values['option'] = $new_value['option'];
|
3351 |
}
|
3352 |
|
3360 |
if ( $old_values['no_null'] != $boolean_value ) {
|
3361 |
$any_setting_changed = true;
|
3362 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
3363 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Delete NULL values', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
3364 |
$old_values['no_null'] = $boolean_value;
|
3365 |
}
|
3366 |
|
3404 |
} else {
|
3405 |
$row_template = self::$mla_option_templates['custom-field-rule-row'];
|
3406 |
$table_rows = '';
|
3407 |
+
$index = 0;
|
3408 |
}
|
3409 |
|
3410 |
+
/*
|
3411 |
+
* One row for each existing rule, case insensitive "natural order"
|
3412 |
+
*/
|
3413 |
+
$sorted_keys = array();
|
3414 |
foreach ( $current_values as $row_name => $current_value ) {
|
3415 |
+
$sorted_keys[ $current_value['name'] ] = $current_value['name'];
|
3416 |
+
}
|
3417 |
+
natcasesort( $sorted_keys );
|
3418 |
+
|
3419 |
+
$sorted_names = array();
|
3420 |
+
foreach ( $sorted_keys as $row_name ) {
|
3421 |
+
$sorted_names[ $row_name ] = array();
|
3422 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3423 |
|
3424 |
+
/*
|
3425 |
+
* Allow for multiple rules mapping the same name (an old bug)
|
3426 |
+
*/
|
3427 |
+
foreach ( $current_values as $row_name => $current_value ) {
|
3428 |
+
$sorted_names[ $current_value['name'] ][] = $row_name;
|
3429 |
+
}
|
3430 |
|
3431 |
+
foreach ( $sorted_names as $sorted_keys ) {
|
3432 |
+
foreach ( $sorted_keys as $row_name ) {
|
3433 |
+
$current_value = $current_values[ $row_name ];
|
3434 |
+
$row_values = array (
|
3435 |
+
'index' => $index++,
|
3436 |
+
'key' => esc_attr( $row_name ),
|
3437 |
+
'name_attr' => esc_attr( $row_name ),
|
3438 |
+
'name' => esc_html( $row_name ),
|
3439 |
+
'data_source_options' => self::_compose_data_source_option_list( $current_value['data_source'] ),
|
3440 |
+
'keep_selected' => '',
|
3441 |
+
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
3442 |
+
'replace_selected' => '',
|
3443 |
+
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
3444 |
+
'native_format' => '',
|
3445 |
+
'Native' => __( 'Native', 'media-library-assistant' ),
|
3446 |
+
'commas_format' => '',
|
3447 |
+
'Commas' => __( 'Commas', 'media-library-assistant' ),
|
3448 |
+
'raw_format' => '',
|
3449 |
+
'Raw' => __( 'Raw', 'media-library-assistant' ),
|
3450 |
+
'mla_column_checked' => '',
|
3451 |
+
'quick_edit_checked' => '',
|
3452 |
+
'bulk_edit_checked' => '',
|
3453 |
+
'column_count' => 7,
|
3454 |
+
'meta_name_size' => 30,
|
3455 |
+
'meta_name' => esc_attr( $current_value['meta_name'] ),
|
3456 |
+
'column_count_meta' => (7 - 2),
|
3457 |
+
'Option' => __( 'Option', 'media-library-assistant' ),
|
3458 |
+
'text_option' => '',
|
3459 |
+
'Text' => __( 'Text', 'media-library-assistant' ),
|
3460 |
+
'single_option' => '',
|
3461 |
+
'Single' => __( 'Single', 'media-library-assistant' ),
|
3462 |
+
'export_option' => '',
|
3463 |
+
'Export' => __( 'Export', 'media-library-assistant' ),
|
3464 |
+
'array_option' => '',
|
3465 |
+
'Array' => __( 'Array', 'media-library-assistant' ),
|
3466 |
+
'multi_option' => '',
|
3467 |
+
'Multi' => __( 'Multi', 'media-library-assistant' ),
|
3468 |
+
'no_null_checked' => '',
|
3469 |
+
'Delete NULL values' => __( 'Delete NULL values', 'media-library-assistant' ),
|
3470 |
+
'Delete Rule' => __( 'Delete Rule', 'media-library-assistant' ),
|
3471 |
+
'Delete Field' => __( 'Delete Rule AND Field', 'media-library-assistant' ),
|
3472 |
+
'Update Rule' => __( 'Update Rule', 'media-library-assistant' ),
|
3473 |
+
'Map All Attachments' => __( 'Map All Attachments', 'media-library-assistant' ),
|
3474 |
+
);
|
3475 |
+
|
3476 |
+
if ( $current_value['keep_existing'] ) {
|
3477 |
+
$row_values['keep_selected'] = 'selected="selected"';
|
3478 |
+
} else {
|
3479 |
+
$row_values['replace_selected'] = 'selected="selected"';
|
3480 |
+
}
|
3481 |
+
|
3482 |
+
switch( $current_value['format'] ) {
|
3483 |
+
case 'native':
|
3484 |
+
$row_values['native_format'] = 'selected="selected"';
|
3485 |
+
break;
|
3486 |
+
case 'commas':
|
3487 |
+
$row_values['commas_format'] = 'selected="selected"';
|
3488 |
+
break;
|
3489 |
+
case 'raw':
|
3490 |
+
$row_values['raw_format'] = 'selected="selected"';
|
3491 |
+
break;
|
3492 |
+
default:
|
3493 |
+
$row_values['native_format'] = 'selected="selected"';
|
3494 |
+
} // format
|
3495 |
+
|
3496 |
+
if ( $current_value['mla_column'] ) {
|
3497 |
+
$row_values['mla_column_checked'] = 'checked="checked"';
|
3498 |
+
}
|
3499 |
+
|
3500 |
+
if ( $current_value['quick_edit'] ) {
|
3501 |
+
$row_values['quick_edit_checked'] = 'checked="checked"';
|
3502 |
+
}
|
3503 |
+
|
3504 |
+
if ( $current_value['bulk_edit'] ) {
|
3505 |
+
$row_values['bulk_edit_checked'] = 'checked="checked"';
|
3506 |
+
}
|
3507 |
+
|
3508 |
+
switch( $current_value['option'] ) {
|
3509 |
+
case 'single':
|
3510 |
+
$row_values['single_option'] = 'selected="selected"';
|
3511 |
+
break;
|
3512 |
+
case 'export':
|
3513 |
+
$row_values['export_option'] = 'selected="selected"';
|
3514 |
+
break;
|
3515 |
+
case 'array':
|
3516 |
+
$row_values['array_option'] = 'selected="selected"';
|
3517 |
+
break;
|
3518 |
+
case 'multi':
|
3519 |
+
$row_values['multi_option'] = 'selected="selected"';
|
3520 |
+
break;
|
3521 |
+
default:
|
3522 |
+
$row_values['text_option'] = 'selected="selected"';
|
3523 |
+
} // option
|
3524 |
+
|
3525 |
+
if ( $current_value['no_null'] ) {
|
3526 |
+
$row_values['no_null_checked'] = 'checked="checked"';
|
3527 |
+
}
|
3528 |
+
|
3529 |
+
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
3530 |
+
} // foreach current_value
|
3531 |
+
} // foreach sorted_name
|
3532 |
|
3533 |
/*
|
3534 |
* Add a row for defining a new Custom Rule
|
3537 |
$row_values = array (
|
3538 |
'column_count' => 7,
|
3539 |
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
3540 |
+
'index' => self::MLA_NEW_CUSTOM_RULE,
|
3541 |
'field_name_options' => self::_compose_custom_field_option_list( 'none', $current_values ),
|
3542 |
'data_source_options' => self::_compose_data_source_option_list( 'none' ),
|
3543 |
'keep_selected' => '',
|
3581 |
$row_values = array (
|
3582 |
'column_count' => 7,
|
3583 |
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
3584 |
+
'index' => self::MLA_NEW_CUSTOM_FIELD,
|
3585 |
'field_name_size' => '24',
|
3586 |
'data_source_options' => self::_compose_data_source_option_list( 'none' ),
|
3587 |
'keep_selected' => '',
|
3646 |
if ( $settings_changed ) {
|
3647 |
$results = __( 'Custom field mapping rules updated.', 'media-library-assistant' ) . "\r\n";
|
3648 |
} else {
|
3649 |
+
$results = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Custom field mapping rules update failed.', 'media-library-assistant' ) . "\r\n";
|
3650 |
}
|
3651 |
} else {
|
3652 |
$results = __( 'Custom field no mapping rule changes detected.', 'media-library-assistant' ) . "\r\n";
|
3659 |
if ( $settings_changed ) {
|
3660 |
return __( 'Custom field mapping settings saved.', 'media-library-assistant' ) . "\r\n";
|
3661 |
} else {
|
3662 |
+
return __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Custom field mapping settings reset failed.', 'media-library-assistant' ) . "\r\n";
|
3663 |
}
|
3664 |
default:
|
3665 |
+
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
3666 |
+
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
3667 |
} // switch $action
|
3668 |
} // mla_custom_field_option_handler
|
3669 |
|
4188 |
$old_values = $current_values['standard'][ $new_key ];
|
4189 |
$any_setting_changed = false;
|
4190 |
} else {
|
4191 |
+
/* translators: 1: ERROR tag 2: custom field name */
|
4192 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: No old values for %2$s.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
4193 |
continue;
|
4194 |
}
|
4195 |
|
4201 |
if ( $old_values['name'] != $new_value['name'] ) {
|
4202 |
$any_setting_changed = true;
|
4203 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4204 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Field Title', 'media-library-assistant' ), esc_html( $old_values['name'] ), esc_html( $new_value['name'] ) ) . "\r\n";
|
4205 |
$old_values['name'] = $new_value['name'];
|
4206 |
}
|
4207 |
|
4208 |
if ( $old_values['iptc_value'] != $new_value['iptc_value'] ) {
|
4209 |
$any_setting_changed = true;
|
4210 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4211 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'IPTC Value', 'media-library-assistant' ), $old_values['iptc_value'], $new_value['iptc_value'] ) . "\r\n";
|
4212 |
$old_values['iptc_value'] = $new_value['iptc_value'];
|
4213 |
}
|
4214 |
|
4215 |
if ( $old_values['exif_value'] != $new_value['exif_value'] ) {
|
4216 |
$any_setting_changed = true;
|
4217 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4218 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'EXIF Value', 'media-library-assistant' ), $old_values['exif_value'], $new_value['exif_value'] ) . "\r\n";
|
4219 |
$old_values['exif_value'] = $new_value['exif_value'];
|
4220 |
}
|
4221 |
|
4229 |
if ( $old_values['iptc_first'] != $boolean_value ) {
|
4230 |
$any_setting_changed = true;
|
4231 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4232 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Priority', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4233 |
$old_values['iptc_first'] = $boolean_value;
|
4234 |
}
|
4235 |
|
4243 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
4244 |
$any_setting_changed = true;
|
4245 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4246 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4247 |
$old_values['keep_existing'] = $boolean_value;
|
4248 |
}
|
4249 |
|
4284 |
if ( ! isset( $taxonomies[ $new_key ] ) ) {
|
4285 |
$settings_changed = true;
|
4286 |
/* translators: 1: custom field name */
|
4287 |
+
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
4288 |
unset( $current_values['taxonomy'][ $new_key ] );
|
4289 |
}
|
4290 |
}
|
4294 |
$old_values = $current_values['taxonomy'][ $new_key ];
|
4295 |
} else {
|
4296 |
$old_values = array(
|
4297 |
+
'name' => stripslashes( $new_value['name'] ),
|
4298 |
'hierarchical' => $new_value['hierarchical'],
|
4299 |
'iptc_value' => 'none',
|
4300 |
'exif_value' => '',
|
4309 |
if ( $old_values['iptc_value'] != $new_value['iptc_value'] ) {
|
4310 |
$any_setting_changed = true;
|
4311 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4312 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'IPTC Value', 'media-library-assistant' ), $old_values['iptc_value'], $new_value['iptc_value'] ) . "\r\n";
|
4313 |
$old_values['iptc_value'] = $new_value['iptc_value'];
|
4314 |
}
|
4315 |
|
4316 |
if ( $old_values['exif_value'] != $new_value['exif_value'] ) {
|
4317 |
$any_setting_changed = true;
|
4318 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4319 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'EXIF Value', 'media-library-assistant' ), $old_values['exif_value'], $new_value['exif_value'] ) . "\r\n";
|
4320 |
$old_values['exif_value'] = $new_value['exif_value'];
|
4321 |
}
|
4322 |
|
4330 |
if ( $old_values['iptc_first'] != $boolean_value ) {
|
4331 |
$any_setting_changed = true;
|
4332 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4333 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Priority', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4334 |
$old_values['iptc_first'] = $boolean_value;
|
4335 |
}
|
4336 |
|
4344 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
4345 |
$any_setting_changed = true;
|
4346 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4347 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4348 |
$old_values['keep_existing'] = $boolean_value;
|
4349 |
}
|
4350 |
|
4351 |
if ( $old_values['delimiters'] != $new_value['delimiters'] ) {
|
4352 |
$any_setting_changed = true;
|
4353 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4354 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Delimiter(s)', 'media-library-assistant' ), $old_values['delimiters'], $new_value['delimiters'] ) . "\r\n";
|
4355 |
$old_values['delimiters'] = $new_value['delimiters'];
|
4356 |
}
|
4357 |
|
4358 |
if ( isset( $new_value['parent'] ) && ( $old_values['parent'] != $new_value['parent'] ) ) {
|
4359 |
$any_setting_changed = true;
|
4360 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4361 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Parent', 'media-library-assistant' ), $old_values['parent'], $new_value['parent'] ) . "\r\n";
|
4362 |
$old_values['parent'] = $new_value['parent'];
|
4363 |
}
|
4364 |
|
4392 |
$settings_changed = false;
|
4393 |
$custom_field_names = self::_get_custom_field_names();
|
4394 |
|
4395 |
+
foreach ( $new_values['custom'] as $the_key => $new_value ) {
|
4396 |
$any_setting_changed = false;
|
4397 |
+
/*
|
4398 |
+
* Replace index with field name
|
4399 |
+
*/
|
4400 |
+
$new_key = trim( stripslashes( $new_value['name'] ) );
|
4401 |
|
4402 |
/*
|
4403 |
* Check for the addition of a new field or new rule
|
4404 |
*/
|
4405 |
+
if ( self::MLA_NEW_CUSTOM_FIELD === $the_key ) {
|
|
|
|
|
4406 |
if ( empty( $new_key ) ) {
|
4407 |
continue;
|
4408 |
}
|
4409 |
|
4410 |
if ( in_array( $new_key, $custom_field_names ) ) {
|
4411 |
+
/* translators: 1: ERROR tag 2: custom field name */
|
4412 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: New field %2$s already exists.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
4413 |
continue;
|
4414 |
}
|
4415 |
|
4416 |
/* translators: 1: custom field name */
|
4417 |
+
$message_list .= '<br>' . sprintf( __( 'Adding new field %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
4418 |
$any_setting_changed = true;
|
4419 |
+
} elseif ( self::MLA_NEW_CUSTOM_RULE === $the_key ) {
|
|
|
|
|
4420 |
if ( 'none' == $new_key ) {
|
4421 |
continue;
|
4422 |
}
|
4423 |
|
4424 |
/* translators: 1: custom field name */
|
4425 |
+
$message_list .= '<br>' . sprintf( __( 'Adding new rule for %1$s.', 'media-library-assistant' ), esc_html( $new_key ) ) . "\r\n";
|
4426 |
$any_setting_changed = true;
|
4427 |
}
|
4428 |
|
4429 |
+
$new_value = stripslashes_deep( $new_value );
|
4430 |
+
|
4431 |
if ( isset( $current_values['custom'][ $new_key ] ) ) {
|
4432 |
$old_values = $current_values['custom'][ $new_key ];
|
4433 |
$any_setting_changed = false;
|
4445 |
if ( array_key_exists( 'delete_rule', $new_value['action'] ) || array_key_exists( 'delete_field', $new_value['action'] ) ) {
|
4446 |
$settings_changed = true;
|
4447 |
/* translators: 1: custom field name */
|
4448 |
+
$message_list .= '<br>' . sprintf( __( 'Deleting rule for %1$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ) ) . "\r\n";
|
4449 |
unset( $current_values['custom'][ $new_key ] );
|
4450 |
$settings_changed = true;
|
4451 |
continue;
|
4455 |
if ( $old_values['iptc_value'] != $new_value['iptc_value'] ) {
|
4456 |
$any_setting_changed = true;
|
4457 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4458 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'IPTC Value', 'media-library-assistant' ), $old_values['iptc_value'], $new_value['iptc_value'] ) . "\r\n";
|
4459 |
$old_values['iptc_value'] = $new_value['iptc_value'];
|
4460 |
}
|
4461 |
|
4462 |
if ( $old_values['exif_value'] != $new_value['exif_value'] ) {
|
4463 |
$any_setting_changed = true;
|
4464 |
/* translators: 1: custom field name 2: attribute 3: old value 4: new value */
|
4465 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s from %3$s to %4$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'EXIF Value', 'media-library-assistant' ), $old_values['exif_value'], $new_value['exif_value'] ) . "\r\n";
|
4466 |
$old_values['exif_value'] = $new_value['exif_value'];
|
4467 |
}
|
4468 |
|
4476 |
if ( $old_values['iptc_first'] != $boolean_value ) {
|
4477 |
$any_setting_changed = true;
|
4478 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4479 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Priority', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4480 |
$old_values['iptc_first'] = $boolean_value;
|
4481 |
}
|
4482 |
|
4490 |
if ( $old_values['keep_existing'] != $boolean_value ) {
|
4491 |
$any_setting_changed = true;
|
4492 |
/* translators: 1: custom field name 2: attribute 3: old value 'to' new value */
|
4493 |
+
$message_list .= '<br>' . sprintf( __( '%1$s changing %2$s value from %3$s.', 'media-library-assistant' ), esc_html( $old_values['name'] ), __( 'Existing Text', 'media-library-assistant' ), $boolean_text ) . "\r\n";
|
4494 |
$old_values['keep_existing'] = $boolean_value;
|
4495 |
}
|
4496 |
|
4498 |
$settings_changed = true;
|
4499 |
$current_values['custom'][ $new_key ] = $old_values;
|
4500 |
}
|
4501 |
+
} // new custom value
|
4502 |
|
4503 |
/*
|
4504 |
* Uncomment this for debugging.
|
4505 |
*/
|
4506 |
+
// $error_list .= $message_list;
|
4507 |
|
4508 |
return array( 'message' => $error_list, 'values' => $current_values, 'changed' => $settings_changed );
|
4509 |
} // _update_iptc_exif_custom_mapping
|
4521 |
private static function _get_custom_field_names( ) {
|
4522 |
global $wpdb;
|
4523 |
|
4524 |
+
$custom_field_mapping = self::mla_get_option( 'custom_field_mapping' );
|
4525 |
$iptc_exif_mapping = self::mla_get_option( 'iptc_exif_mapping' );
|
4526 |
+
$iptc_exif_mapping = $iptc_exif_mapping['custom'];
|
4527 |
|
4528 |
+
$limit = (int) apply_filters( 'postmeta_form_limit', 100 );
|
4529 |
$keys = $wpdb->get_col( "
|
4530 |
SELECT meta_key
|
4531 |
FROM $wpdb->postmeta
|
4534 |
ORDER BY meta_key
|
4535 |
LIMIT $limit" );
|
4536 |
|
4537 |
+
/*
|
4538 |
+
* Add any names in mapping rules that don't exist in the database
|
4539 |
+
*/
|
4540 |
if ( $keys ) {
|
4541 |
foreach ( $custom_field_mapping as $value )
|
4542 |
+
if ( ! in_array( $value['name'], $keys ) ) {
|
4543 |
+
$keys[] = $value['name'];
|
4544 |
}
|
4545 |
|
4546 |
foreach ( $iptc_exif_mapping as $value )
|
4547 |
+
if ( ! in_array( $value['name'], $keys ) ) {
|
4548 |
+
$keys[] = $value['name'];
|
4549 |
}
|
4550 |
|
4551 |
natcasesort($keys);
|
4580 |
|
4581 |
foreach ( $current_values['standard'] as $row_name => $row_value ) {
|
4582 |
$row_values = array (
|
4583 |
+
'key' => esc_attr( $row_name ),
|
4584 |
+
'name_attr' => esc_attr( $row_value['name'] ),
|
4585 |
+
'name' => esc_html( $row_value['name'] ),
|
4586 |
'iptc_field_options' => self::_compose_iptc_option_list( $row_value['iptc_value'] ),
|
4587 |
'exif_size' => self::MLA_EXIF_SIZE,
|
4588 |
+
'exif_text' => esc_attr( $row_value['exif_value'] ),
|
4589 |
'iptc_selected' => '',
|
4590 |
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
4591 |
'exif_selected' => '',
|
4630 |
|
4631 |
foreach ( $taxonomies as $row_name => $row_value ) {
|
4632 |
$row_values = array (
|
4633 |
+
'key' => esc_attr( $row_name ),
|
4634 |
'name' => esc_html( $row_value->labels->name ),
|
4635 |
'hierarchical' => (string) $row_value->hierarchical,
|
4636 |
'iptc_field_options' => '',
|
4672 |
$parent = ( isset( $current_value['parent'] ) ) ? (integer) $current_value['parent'] : 0;
|
4673 |
$select_values = array (
|
4674 |
'array' => 'taxonomy',
|
4675 |
+
'key' => esc_attr( $row_name ),
|
4676 |
'element' => 'parent',
|
4677 |
'options' => self::_compose_parent_option_list( $row_name, $parent )
|
4678 |
);
|
4686 |
if ( $row_value->hierarchical ) {
|
4687 |
$select_values = array (
|
4688 |
'array' => 'taxonomy',
|
4689 |
+
'key' => esc_attr( $row_name ),
|
4690 |
'element' => 'parent',
|
4691 |
'options' => self::_compose_parent_option_list( $row_name, 0 )
|
4692 |
);
|
4719 |
} else {
|
4720 |
$row_template = self::$mla_option_templates['iptc-exif-custom-rule-row'];
|
4721 |
$table_rows = '';
|
4722 |
+
$index = 0;
|
4723 |
}
|
4724 |
|
4725 |
/*
|
4726 |
+
* One row for each existing rule, case insensitive "natural order"
|
4727 |
*/
|
4728 |
+
$sorted_keys = array();
|
4729 |
foreach ( $current_values['custom'] as $row_name => $current_value ) {
|
4730 |
+
$sorted_keys[ $current_value['name'] ] = $current_value['name'];
|
4731 |
+
}
|
4732 |
+
natcasesort( $sorted_keys );
|
4733 |
+
|
4734 |
+
$sorted_names = array();
|
4735 |
+
foreach ( $sorted_keys as $row_name ) {
|
4736 |
+
$sorted_names[ $row_name ] = array();
|
4737 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4738 |
|
4739 |
+
/*
|
4740 |
+
* Allow for multiple rules mapping the same name (an old bug)
|
4741 |
+
*/
|
4742 |
+
foreach ( $current_values['custom'] as $row_name => $current_value ) {
|
4743 |
+
$sorted_names[ $current_value['name'] ][] = $row_name;
|
4744 |
+
}
|
4745 |
|
4746 |
+
foreach ( $sorted_names as $sorted_keys ) {
|
4747 |
+
foreach ( $sorted_keys as $row_name ) {
|
4748 |
+
$current_value = $current_values['custom'][ $row_name ];
|
4749 |
+
$row_values = array (
|
4750 |
+
'column_count' => 5,
|
4751 |
+
'index' => $index++,
|
4752 |
+
'key' => esc_attr( $row_name ),
|
4753 |
+
'name_attr' => esc_attr( $current_value['name'] ),
|
4754 |
+
'name' => esc_html( $current_value['name'] ),
|
4755 |
+
'iptc_field_options' => self::_compose_iptc_option_list( $current_value['iptc_value'] ),
|
4756 |
+
'exif_size' => self::MLA_EXIF_SIZE,
|
4757 |
+
'exif_text' => esc_attr( $current_value['exif_value'] ),
|
4758 |
+
'iptc_selected' => '',
|
4759 |
+
'IPTC' => __( 'IPTC', 'media-library-assistant' ),
|
4760 |
+
'exif_selected' => '',
|
4761 |
+
'EXIF' => __( 'EXIF', 'media-library-assistant' ),
|
4762 |
+
'keep_selected' => '',
|
4763 |
+
'Keep' => __( 'Keep', 'media-library-assistant' ),
|
4764 |
+
'replace_selected' => '',
|
4765 |
+
'Replace' => __( 'Replace', 'media-library-assistant' ),
|
4766 |
+
'Delete Rule' => __( 'Delete Rule', 'media-library-assistant' ),
|
4767 |
+
'Delete Field' => __( 'Delete Rule AND Field', 'media-library-assistant' ),
|
4768 |
+
'Update Rule' => __( 'Update Rule', 'media-library-assistant' ),
|
4769 |
+
'Map All Attachments' => __( 'Map All Attachments', 'media-library-assistant' ),
|
4770 |
+
);
|
4771 |
+
|
4772 |
+
if ( $current_value['iptc_first'] ) {
|
4773 |
+
$row_values['iptc_selected'] = 'selected="selected"';
|
4774 |
+
} else {
|
4775 |
+
$row_values['exif_selected'] = 'selected="selected"';
|
4776 |
+
}
|
4777 |
+
|
4778 |
+
if ( $current_value['keep_existing'] ) {
|
4779 |
+
$row_values['keep_selected'] = 'selected="selected"';
|
4780 |
+
} else {
|
4781 |
+
$row_values['replace_selected'] = 'selected="selected"';
|
4782 |
+
}
|
4783 |
+
|
4784 |
+
$table_rows .= MLAData::mla_parse_template( $row_template, $row_values );
|
4785 |
+
} // foreach current_values key
|
4786 |
+
} // foreach sorted_name
|
4787 |
|
4788 |
/*
|
4789 |
* Add a row for defining a new rule, existing Custom Field
|
4792 |
$row_values = array (
|
4793 |
'column_count' => 5 ,
|
4794 |
'Add new Rule' => __( 'Add a new Mapping Rule', 'media-library-assistant' ),
|
4795 |
+
'index' => self::MLA_NEW_CUSTOM_RULE,
|
4796 |
'field_name_options' => self::_compose_custom_field_option_list( 'none', $current_values['custom'] ),
|
4797 |
'iptc_field_options' => self::_compose_iptc_option_list( 'none' ),
|
4798 |
'exif_size' => self::MLA_EXIF_SIZE,
|
4817 |
$row_values = array (
|
4818 |
'column_count' => 5 ,
|
4819 |
'Add new Field' => __( 'Add a new Field and Mapping Rule', 'media-library-assistant' ),
|
4820 |
+
'index' => self::MLA_NEW_CUSTOM_FIELD,
|
4821 |
'field_name_size' => '24',
|
4822 |
'iptc_field_options' => self::_compose_iptc_option_list( 'none' ),
|
4823 |
'exif_size' => self::MLA_EXIF_SIZE,
|
4847 |
|
4848 |
return MLAData::mla_parse_template( self::$mla_option_templates['iptc-exif-custom-table'], $option_values );
|
4849 |
default:
|
4850 |
+
/* translators: 1: ERROR tag 2: option name */
|
4851 |
+
return '<br>' . sprintf( __( '%1$s: Render unknown custom %2$s.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key ) . "\r\n";
|
4852 |
} // switch $key
|
4853 |
case 'update':
|
4854 |
case 'delete':
|
4891 |
$settings_changed |= $results['changed'];
|
4892 |
break;
|
4893 |
default:
|
4894 |
+
/* translators: 1: ERROR tag 2: option name */
|
4895 |
+
return '<br>' . sprintf( __( '%1$s: Update/delete unknown custom %2$s.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key ) . "\r\n";
|
4896 |
} // switch $key
|
4897 |
|
4898 |
if ( $settings_changed ) {
|
4900 |
if ( $settings_changed ) {
|
4901 |
$results = __( 'IPTC/EXIF mapping settings updated.', 'media-library-assistant' ) . "\r\n";
|
4902 |
} else {
|
4903 |
+
$results = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'IPTC/EXIF settings update failed.', 'media-library-assistant' ) . "\r\n";
|
4904 |
}
|
4905 |
} else {
|
4906 |
$results = __( 'IPTC/EXIF no mapping changes detected.', 'media-library-assistant' ) . "\r\n";
|
4916 |
/* translators: 1: field type */
|
4917 |
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
|
4918 |
} else {
|
4919 |
+
/* translators: 1: ERROR tag 2: field type */
|
4920 |
+
return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Standard field', 'media-library-assistant' ) ) . "\r\n";
|
4921 |
}
|
4922 |
case 'iptc_exif_taxonomy_mapping':
|
4923 |
$current_values['taxonomy'] = self::$mla_option_definitions['iptc_exif_mapping']['std']['taxonomy'];
|
4926 |
/* translators: 1: field type */
|
4927 |
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
|
4928 |
} else {
|
4929 |
+
/* translators: 1: ERROR tag 2: field type */
|
4930 |
+
return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Taxonomy term', 'media-library-assistant' ) ) . "\r\n";
|
4931 |
}
|
4932 |
case 'iptc_exif_custom_mapping':
|
4933 |
$current_values['custom'] = self::$mla_option_definitions['iptc_exif_mapping']['std']['custom'];
|
4936 |
/* translators: 1: field type */
|
4937 |
return sprintf( __( '%1$s settings saved.', 'media-library-assistant' ), 'IPTC/EXIF ' . __( 'Custom field', 'media-library-assistant' ) ) . "\r\n";
|
4938 |
} else {
|
4939 |
+
/* translators: 1: ERROR tag 2: field type */
|
4940 |
+
return sprintf( __( '%1$s: IPTC/EXIF %2$s settings update failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Custom field', 'media-library-assistant' ) ) . "\r\n";
|
4941 |
}
|
4942 |
case 'iptc_exif_mapping':
|
4943 |
self::mla_delete_option( $key );
|
4944 |
/* translators: 1: option name, e.g., taxonomy_support */
|
4945 |
return '<br>' . sprintf( __( 'Reset custom %1$s', 'media-library-assistant' ), $key ) . "\r\n";
|
4946 |
default:
|
4947 |
+
/* translators: 1: ERROR tag 2: option name, e.g., taxonomy_support */
|
4948 |
+
return '<br>' . sprintf( __( '%1$s: Reset unknown custom %2$s', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key ) . "\r\n";
|
4949 |
} // switch $key
|
4950 |
default:
|
4951 |
+
/* translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset */
|
4952 |
+
return '<br>' . sprintf( __( '%1$s: Custom %2$s unknown action "%3$s"', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $key, $action ) . "\r\n";
|
4953 |
} // switch $action
|
4954 |
} // mla_iptc_exif_option_handler
|
4955 |
} // class MLAOptions
|
includes/class-mla-settings.php
CHANGED
@@ -352,6 +352,8 @@ class MLASettings {
|
|
352 |
'bulkUnchanged' => __( 'Unchanged', 'media-library-assistant' ),
|
353 |
'bulkSuccess' => __( 'Succeeded', 'media-library-assistant' ),
|
354 |
'bulkFailure' => __( 'Failed', 'media-library-assistant' ),
|
|
|
|
|
355 |
'bulkCanceled' => __( 'CANCELED', 'media-library-assistant' ),
|
356 |
);
|
357 |
|
@@ -549,8 +551,8 @@ class MLASettings {
|
|
549 |
'content' => $content
|
550 |
);
|
551 |
} else {
|
552 |
-
/* translators: 1: function name
|
553 |
-
error_log( sprintf( _x( '
|
554 |
}
|
555 |
}
|
556 |
|
@@ -614,7 +616,7 @@ class MLASettings {
|
|
614 |
check_ajax_referer( MLA::MLA_ADMIN_NONCE, 'nonce' );
|
615 |
|
616 |
if ( empty( $_REQUEST['original_slug'] ) ) {
|
617 |
-
echo __( 'ERROR: No view slug found', 'media-library-assistant' );
|
618 |
die();
|
619 |
}
|
620 |
|
@@ -628,7 +630,7 @@ class MLASettings {
|
|
628 |
$request['menu_order'] = $_REQUEST['menu_order'];
|
629 |
$results = MLAMime::mla_update_post_mime_type( $request );
|
630 |
|
631 |
-
if ( false === strpos( $results['message'], __( 'ERROR
|
632 |
$new_item = (object) MLAMime::mla_get_post_mime_type( $_REQUEST['slug'] );
|
633 |
} else {
|
634 |
$new_item = (object) MLAMime::mla_get_post_mime_type( $_REQUEST['original_slug'] );
|
@@ -657,7 +659,7 @@ class MLASettings {
|
|
657 |
check_ajax_referer( MLA::MLA_ADMIN_NONCE, 'nonce' );
|
658 |
|
659 |
if ( empty( $_REQUEST['original_slug'] ) ) {
|
660 |
-
echo __( 'ERROR: No upload slug found', 'media-library-assistant' );
|
661 |
die();
|
662 |
}
|
663 |
|
@@ -668,7 +670,7 @@ class MLASettings {
|
|
668 |
$request['disabled'] = isset( $_REQUEST['disabled'] ) && ( '1' == $_REQUEST['disabled'] );
|
669 |
$results = MLAMime::mla_update_upload_mime( $request );
|
670 |
|
671 |
-
if ( false === strpos( $results['message'], __( 'ERROR
|
672 |
$new_item = (object) MLAMime::mla_get_upload_mime( $_REQUEST['slug'] );
|
673 |
} else {
|
674 |
$new_item = (object) MLAMime::mla_get_upload_mime( $_REQUEST['original_slug'] );
|
@@ -705,7 +707,7 @@ class MLASettings {
|
|
705 |
}
|
706 |
}
|
707 |
}
|
708 |
-
|
709 |
/*
|
710 |
* Check for action or submit buttons.
|
711 |
*/
|
@@ -735,6 +737,8 @@ class MLASettings {
|
|
735 |
* Check for single-rule action buttons
|
736 |
*/
|
737 |
foreach ( $_REQUEST['custom_field_mapping'] as $key => $value ) {
|
|
|
|
|
738 |
if ( isset( $value['action'] ) ) {
|
739 |
$settings = array( $key => $value );
|
740 |
foreach ( $value['action'] as $action => $label ) {
|
@@ -756,7 +760,7 @@ class MLASettings {
|
|
756 |
|
757 |
if ( 0 == $offset ) {
|
758 |
$page_content = self::_save_custom_field_settings( $settings );
|
759 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
760 |
$page_content['processed'] = 0;
|
761 |
$page_content['unchanged'] = 0;
|
762 |
$page_content['success'] = 0;
|
@@ -867,6 +871,8 @@ class MLASettings {
|
|
867 |
* Check for single-rule action buttons
|
868 |
*/
|
869 |
foreach ( $_REQUEST['iptc_exif_mapping']['custom'] as $key => $value ) {
|
|
|
|
|
870 |
if ( isset( $value['action'] ) ) {
|
871 |
$settings = array( 'custom' => array( $key => $value ) );
|
872 |
foreach ( $value['action'] as $action => $label ) {
|
@@ -888,7 +894,7 @@ class MLASettings {
|
|
888 |
|
889 |
if ( 0 == $offset ) {
|
890 |
$page_content = self::_save_iptc_exif_custom_settings( $settings );
|
891 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
892 |
$page_content['processed'] = 0;
|
893 |
$page_content['unchanged'] = 0;
|
894 |
$page_content['success'] = 0;
|
@@ -993,8 +999,8 @@ class MLASettings {
|
|
993 |
case 'hidden':
|
994 |
break;
|
995 |
default:
|
996 |
-
/* translators: 1: function name
|
997 |
-
error_log( sprintf( _x( '
|
998 |
} // $value['type']
|
999 |
} // isset $key
|
1000 |
else {
|
@@ -1025,8 +1031,8 @@ class MLASettings {
|
|
1025 |
case 'hidden':
|
1026 |
break;
|
1027 |
default:
|
1028 |
-
/* translators: 1: function name
|
1029 |
-
error_log( sprintf( _x( '
|
1030 |
} // $value['type']
|
1031 |
} // ! isset $key
|
1032 |
|
@@ -1163,8 +1169,8 @@ class MLASettings {
|
|
1163 |
case 'hidden':
|
1164 |
break;
|
1165 |
default:
|
1166 |
-
/* translators: 1: function name
|
1167 |
-
error_log( sprintf( _x( '
|
1168 |
} //switch
|
1169 |
|
1170 |
return '';
|
@@ -1520,8 +1526,8 @@ class MLASettings {
|
|
1520 |
private static function _compose_view_tab( ) {
|
1521 |
$page_template_array = MLAData::mla_load_template( 'admin-display-settings-view-tab.tpl' );
|
1522 |
if ( ! is_array( $page_template_array ) ) {
|
1523 |
-
/* translators: 1: function name
|
1524 |
-
error_log( sprintf( _x( '
|
1525 |
return '';
|
1526 |
}
|
1527 |
|
@@ -1553,7 +1559,7 @@ class MLASettings {
|
|
1553 |
} elseif ( !empty( $_REQUEST['mla-add-view-submit'] ) ) {
|
1554 |
check_admin_referer( MLA::MLA_ADMIN_NONCE, '_wpnonce' );
|
1555 |
$page_content = MLAMime::mla_add_post_mime_type( $_REQUEST['mla_view_item'] );
|
1556 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
1557 |
$add_form_values = $_REQUEST['mla_view_item'];
|
1558 |
$add_form_values['post_mime_type'] = $add_form_values['post_mime_type'] ? 'checked="checked"' : '';
|
1559 |
$add_form_values['table_view'] = $add_form_values['table_view'] ? 'checked="checked"' : '';
|
@@ -1630,7 +1636,7 @@ class MLASettings {
|
|
1630 |
case MLA::MLA_ADMIN_SINGLE_EDIT_UPDATE:
|
1631 |
if ( !empty( $_REQUEST['update'] ) ) {
|
1632 |
$page_content = MLAMime::mla_update_post_mime_type( $_REQUEST['mla_view_item'] );
|
1633 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
1634 |
$message = $page_content['message'];
|
1635 |
$page_content = self::_compose_edit_view_tab( $_REQUEST['mla_view_item'], $page_template_array['single-item-edit'] );
|
1636 |
$page_content['message'] = $message;
|
@@ -1729,7 +1735,8 @@ class MLASettings {
|
|
1729 |
's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
|
1730 |
'options_list' => $options_list,
|
1731 |
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
1732 |
-
|
|
|
1733 |
'Slug' => __( 'Slug', 'media-library-assistant' ),
|
1734 |
'The slug is' => __( 'The “slug” is the URL-friendly, unique key for the view. It must be all lowercase and contain only letters, numbers, periods (.), slashes (/) and hyphens (-). For “<strong>Post MIME Type</strong>” views, the slug is also the MIME type specification and <strong>must be a valid MIME</strong> type, e.g., “image” or “image/jpeg”.', 'media-library-assistant' ),
|
1735 |
'Singular Label' => __( 'Singular Label', 'media-library-assistant' ),
|
@@ -1965,8 +1972,8 @@ class MLASettings {
|
|
1965 |
private static function _compose_upload_tab( ) {
|
1966 |
$page_template_array = MLAData::mla_load_template( 'admin-display-settings-upload-tab.tpl' );
|
1967 |
if ( ! is_array( $page_template_array ) ) {
|
1968 |
-
/* translators: 1: function name
|
1969 |
-
error_log( sprintf( _x( '
|
1970 |
return '';
|
1971 |
}
|
1972 |
|
@@ -2017,7 +2024,7 @@ class MLASettings {
|
|
2017 |
} elseif ( !empty( $_REQUEST['mla-add-upload-submit'] ) ) {
|
2018 |
check_admin_referer( MLA::MLA_ADMIN_NONCE, '_wpnonce' );
|
2019 |
$page_content = MLAMime::mla_add_upload_mime( $_REQUEST['mla_upload_item'] );
|
2020 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
2021 |
$add_form_values = $_REQUEST['mla_upload_item'];
|
2022 |
$add_form_values['disabled'] = $add_form_values['disabled'] ? 'checked="checked"' : '';
|
2023 |
}
|
@@ -2096,7 +2103,7 @@ class MLASettings {
|
|
2096 |
case MLA::MLA_ADMIN_SINGLE_EDIT_UPDATE:
|
2097 |
if ( !empty( $_REQUEST['update'] ) ) {
|
2098 |
$page_content = MLAMime::mla_update_upload_mime( $_REQUEST['mla_upload_item'] );
|
2099 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
2100 |
$message = $page_content['message'];
|
2101 |
$page_content = self::_compose_edit_upload_tab( $_REQUEST['mla_upload_item'], $page_template_array );
|
2102 |
$page_content['message'] = $message;
|
@@ -2194,7 +2201,8 @@ class MLASettings {
|
|
2194 |
'_wpnonce' => wp_nonce_field( MLA::MLA_ADMIN_NONCE, '_wpnonce', true, false ),
|
2195 |
'options_list' => $options_list,
|
2196 |
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
2197 |
-
|
|
|
2198 |
'To search database' => __( 'To search the database of over 1,500 known extension/type associations, click "Search Known Types" below the form.', 'media-library-assistant' ),
|
2199 |
'Extension' => __( 'Extension', 'media-library-assistant' ),
|
2200 |
'The extension is' => __( 'The “extension” is the file extension for this type, and unique key for the item. It must be all lowercase and contain only letters and numbers.', 'media-library-assistant' ),
|
@@ -2624,6 +2632,8 @@ class MLASettings {
|
|
2624 |
* Check for single-rule action buttons
|
2625 |
*/
|
2626 |
foreach ( $_REQUEST['custom_field_mapping'] as $key => $value ) {
|
|
|
|
|
2627 |
if ( isset( $value['action'] ) ) {
|
2628 |
$settings = array( $key => $value );
|
2629 |
foreach ( $value['action'] as $action => $label ) {
|
@@ -2645,7 +2655,7 @@ class MLASettings {
|
|
2645 |
case 'add_rule_map':
|
2646 |
case 'add_field_map':
|
2647 |
$page_content = self::_save_custom_field_settings( $settings );
|
2648 |
-
if ( false === strpos( $page_content['message'], __( 'ERROR
|
2649 |
$current_values = MLAOptions::mla_get_option( 'custom_field_mapping' );
|
2650 |
$settings = array( $value['name'] => $current_values[$value['name']] );
|
2651 |
$map_content = self::_process_custom_field_mapping( $settings );
|
@@ -2673,14 +2683,22 @@ class MLASettings {
|
|
2673 |
|
2674 |
$page_values = array(
|
2675 |
'Mapping Progress' => __( 'Custom Field Mapping Progress', 'media-library-assistant' ),
|
2676 |
-
'Progress' => __( 'Progress', 'media-library-assistant' ),
|
2677 |
'DO NOT' => __( 'DO NOT DO THE FOLLOWING (they will cause mapping to fail)', 'media-library-assistant' ),
|
2678 |
'DO NOT Close' => __( 'Close the window', 'media-library-assistant' ),
|
2679 |
'DO NOT Reload' => __( 'Reload the page', 'media-library-assistant' ),
|
2680 |
'DO NOT Click' => __( 'Click the browser’s Stop, Back or forward buttons', 'media-library-assistant' ),
|
|
|
2681 |
'Cancel' => __( 'Cancel', 'media-library-assistant' ),
|
|
|
2682 |
'Close' => __( 'Close', 'media-library-assistant' ),
|
2683 |
'Refresh' => __( 'Refresh', 'media-library-assistant' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2684 |
'Custom Field Options' => __( 'Custom Field and Attachment Metadata Processing Options', 'media-library-assistant' ),
|
2685 |
/* translators: 1: Documentation hyperlink */
|
2686 |
'In this tab' => sprintf( __( 'In this tab you can define the rules for mapping several types of image metadata to WordPress custom fields. You can also use this screen to define rules for adding or updating fields within the WordPress-supplied "Attachment Metadata", stored in the "_wp_attachment_metadata" custom field. See the %1$s section of the Documentation for details.', 'media-library-assistant' ), '<a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#attachment_metadata_mapping" title="' . __( 'Updating Attachment Metadata Documentation', 'media-library-assistant' ) . '">' . __( 'Adding or changing Attachment Metadata', 'media-library-assistant' ) . '</a>' ),
|
@@ -2756,6 +2774,8 @@ class MLASettings {
|
|
2756 |
* Check for single-rule action buttons
|
2757 |
*/
|
2758 |
foreach ( $_REQUEST['iptc_exif_mapping']['custom'] as $key => $value ) {
|
|
|
|
|
2759 |
if ( isset( $value['action'] ) ) {
|
2760 |
$settings = array( 'custom' => array( $key => $value ) );
|
2761 |
foreach ( $value['action'] as $action => $label ) {
|
@@ -2777,7 +2797,7 @@ class MLASettings {
|
|
2777 |
case 'add_rule_map':
|
2778 |
case 'add_field_map':
|
2779 |
$page_content = self::_save_iptc_exif_custom_settings( $settings );
|
2780 |
-
if ( false === strpos( $page_content['message'], __( 'ERROR
|
2781 |
$current_values = MLAOptions::mla_get_option( 'iptc_exif_mapping' );
|
2782 |
$settings = array( 'custom' => array( $value['name'] => $current_values['custom'][$value['name']] ) );
|
2783 |
$map_content = self::_process_iptc_exif_custom( $settings );
|
@@ -2799,14 +2819,22 @@ class MLASettings {
|
|
2799 |
|
2800 |
$page_values = array(
|
2801 |
'Mapping Progress' => __( 'IPTC & EXIF Mapping Progress', 'media-library-assistant' ),
|
2802 |
-
'Progress' => __( 'Progress', 'media-library-assistant' ),
|
2803 |
'DO NOT' => __( 'DO NOT DO THE FOLLOWING (they will cause mapping to fail)', 'media-library-assistant' ),
|
2804 |
'DO NOT Close' => __( 'Close the window', 'media-library-assistant' ),
|
2805 |
'DO NOT Reload' => __( 'Reload the page', 'media-library-assistant' ),
|
2806 |
'DO NOT Click' => __( 'Click the browser’s Stop, Back or forward buttons', 'media-library-assistant' ),
|
|
|
2807 |
'Cancel' => __( 'Cancel', 'media-library-assistant' ),
|
|
|
2808 |
'Close' => __( 'Close', 'media-library-assistant' ),
|
2809 |
'Refresh' => __( 'Refresh', 'media-library-assistant' ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2810 |
'IPTX/EXIF Options' => __( 'IPTC & EXIF Processing Options', 'media-library-assistant' ),
|
2811 |
'In this tab' => __( 'In this tab you can define the rules for mapping IPTC (International Press Telecommunications Council) and EXIF (EXchangeable Image File) metadata to WordPress standard attachment fields, taxonomy terms and custom fields. <strong>NOTE:</strong> settings changes will not be made permanent until you click "Save Changes" at the bottom of this page.', 'media-library-assistant' ),
|
2812 |
/* translators: 1: Documentation hyperlink */
|
@@ -2866,6 +2894,7 @@ class MLASettings {
|
|
2866 |
private static function _compose_documentation_tab( ) {
|
2867 |
$page_template = MLAData::mla_load_template( 'documentation-settings-tab.tpl' );
|
2868 |
$page_values = array(
|
|
|
2869 |
'phpDocs_url' => MLA_PLUGIN_URL . 'phpDocs/index.html',
|
2870 |
'examples_url' => MLA_PLUGIN_URL . 'examples/'
|
2871 |
);
|
@@ -2913,14 +2942,14 @@ class MLASettings {
|
|
2913 |
$handler = $current_tab['render'];
|
2914 |
$page_content = self::$handler( );
|
2915 |
} else {
|
2916 |
-
$page_content = array( 'message' => __( 'ERROR: Cannot render content tab', 'media-library-assistant' ), 'body' => '' );
|
2917 |
}
|
2918 |
} else {
|
2919 |
-
$page_content = array( 'message' => __( 'ERROR: Unknown content tab', 'media-library-assistant' ), 'body' => '' );
|
2920 |
}
|
2921 |
|
2922 |
if ( ! empty( $page_content['message'] ) ) {
|
2923 |
-
if ( false !== strpos( $page_content['message'], __( 'ERROR
|
2924 |
$messages_class = 'mla_errors';
|
2925 |
} else {
|
2926 |
$messages_class = 'mla_messages';
|
@@ -3006,14 +3035,14 @@ class MLASettings {
|
|
3006 |
if ( '' == $new_slug ) {
|
3007 |
continue;
|
3008 |
} elseif ( 'blank' == $new_slug ) {
|
3009 |
-
/* translators: 1: template name
|
3010 |
-
$error_list .= '<br>' . sprintf( __( '
|
3011 |
continue;
|
3012 |
}
|
3013 |
|
3014 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3015 |
-
/* translators: 1: template name
|
3016 |
-
$error_list .= '<br>' . sprintf( __( '
|
3017 |
continue;
|
3018 |
} else {
|
3019 |
/* translators: 1: template type 2: template name */
|
@@ -3026,16 +3055,15 @@ class MLASettings {
|
|
3026 |
* Handle name changes, check for duplicates
|
3027 |
*/
|
3028 |
if ( '' == $new_slug ) {
|
3029 |
-
/* translators: 1: element name 3: old value */
|
3030 |
-
$error_list .= '<br>' . sprintf( __( '
|
3031 |
-
/* translators: 1: template name */
|
3032 |
$new_slug = $name;
|
3033 |
}
|
3034 |
|
3035 |
if ( $new_slug != $name ) {
|
3036 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3037 |
-
/* translators: 1: element name
|
3038 |
-
$error_list .= '<br>' . sprintf( __( '
|
3039 |
$new_slug = $name;
|
3040 |
} elseif ( 'blank' != $name ) {
|
3041 |
/* translators: 1: element name 2: old_value 3: new_value */
|
@@ -3056,8 +3084,8 @@ class MLASettings {
|
|
3056 |
if ( $templates_changed ) {
|
3057 |
$settings_changed = true;
|
3058 |
if ( false == MLAOptions::mla_put_style_templates( $new_templates ) ) {
|
3059 |
-
/* translators: 1: template type */
|
3060 |
-
$error_list .= '<br>' . sprintf( __( '
|
3061 |
}
|
3062 |
}
|
3063 |
|
@@ -3098,14 +3126,14 @@ class MLASettings {
|
|
3098 |
}
|
3099 |
|
3100 |
if ( 'blank' == $new_slug ) {
|
3101 |
-
/* translators: 1: template name
|
3102 |
-
$error_list .= '<br>' . sprintf( __( '
|
3103 |
continue;
|
3104 |
}
|
3105 |
|
3106 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3107 |
-
/* translators: 1: template name
|
3108 |
-
$error_list .= '<br>' . sprintf( __( '
|
3109 |
continue;
|
3110 |
} else {
|
3111 |
/* translators: 1: template type 2: template name */
|
@@ -3118,15 +3146,15 @@ class MLASettings {
|
|
3118 |
* Handle name changes, check for duplicates
|
3119 |
*/
|
3120 |
if ( '' == $new_slug ) {
|
3121 |
-
/* translators: 1: element name 3: old value */
|
3122 |
-
$error_list .= '<br>' . sprintf( __( '
|
3123 |
$new_slug = $name;
|
3124 |
}
|
3125 |
|
3126 |
if ( $new_slug != $name ) {
|
3127 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3128 |
-
/* translators: 1: element name
|
3129 |
-
$error_list .= '<br>' . sprintf( __( '
|
3130 |
$new_slug = $name;
|
3131 |
} elseif ( 'blank' != $name ) {
|
3132 |
/* translators: 1: element name 2: old_value 3: new_value */
|
@@ -3177,8 +3205,8 @@ class MLASettings {
|
|
3177 |
if ( $templates_changed ) {
|
3178 |
$settings_changed = true;
|
3179 |
if ( false == MLAOptions::mla_put_markup_templates( $new_templates ) ) {
|
3180 |
-
/* translators: 1: template type */
|
3181 |
-
$error_list .= '<br>' . sprintf( __( '
|
3182 |
}
|
3183 |
}
|
3184 |
|
@@ -3285,7 +3313,7 @@ class MLASettings {
|
|
3285 |
global $wpdb;
|
3286 |
if ( NULL == $settings ) {
|
3287 |
$source = 'custom_fields';
|
3288 |
-
$settings = ( isset( $_REQUEST['custom_field_mapping'] ) ) ? $_REQUEST['custom_field_mapping'] : array();
|
3289 |
if ( isset( $settings[ MLAOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
|
3290 |
unset( $settings[ MLAOptions::MLA_NEW_CUSTOM_FIELD ] );
|
3291 |
}
|
@@ -3294,11 +3322,12 @@ class MLASettings {
|
|
3294 |
}
|
3295 |
} else {
|
3296 |
$source = 'custom_rule';
|
|
|
3297 |
}
|
3298 |
|
3299 |
if ( empty( $settings ) ) {
|
3300 |
return array(
|
3301 |
-
'message' => __( 'ERROR: No custom field mapping rules to process.', 'media-library-assistant' ),
|
3302 |
'body' => ''
|
3303 |
);
|
3304 |
}
|
@@ -3362,8 +3391,9 @@ class MLASettings {
|
|
3362 |
|
3363 |
$count = count( $post_meta_ids );
|
3364 |
if ( $count ) {
|
3365 |
-
$count_text = sprintf( _n( '%s attachment', '%s attachments', $count, 'media-library-assistant' ), $count );
|
3366 |
/* translators: 1: number of attachments */
|
|
|
|
|
3367 |
return sprintf( __( 'Deleted custom field value from %1$s.', 'media-library-assistant' ) . '<br>', $count_text );
|
3368 |
}
|
3369 |
|
@@ -3427,8 +3457,8 @@ class MLASettings {
|
|
3427 |
private static function _process_iptc_exif_standard( $offset = 0, $length = 0 ) {
|
3428 |
if ( ! isset( $_REQUEST['iptc_exif_mapping']['standard'] ) ) {
|
3429 |
return array(
|
3430 |
-
/* translators: 1: field type */
|
3431 |
-
'message' => sprintf( __( '
|
3432 |
'body' => ''
|
3433 |
);
|
3434 |
}
|
@@ -3498,8 +3528,8 @@ class MLASettings {
|
|
3498 |
private static function _process_iptc_exif_taxonomy( $offset = 0, $length = 0 ) {
|
3499 |
if ( ! isset( $_REQUEST['iptc_exif_mapping']['taxonomy'] ) ) {
|
3500 |
return array(
|
3501 |
-
/* translators: 1: field type */
|
3502 |
-
'message' => sprintf( __( '
|
3503 |
'body' => ''
|
3504 |
);
|
3505 |
}
|
@@ -3570,7 +3600,7 @@ class MLASettings {
|
|
3570 |
private static function _process_iptc_exif_custom( $settings = NULL, $offset = 0, $length = 0 ) {
|
3571 |
if ( NULL == $settings ) {
|
3572 |
$source = 'iptc_exif_custom';
|
3573 |
-
$settings = ( isset( $_REQUEST['iptc_exif_mapping'] ) ) ? $_REQUEST['iptc_exif_mapping'] : array();
|
3574 |
if ( isset( $settings['custom'][ MLAOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
|
3575 |
unset( $settings['custom'][ MLAOptions::MLA_NEW_CUSTOM_FIELD ] );
|
3576 |
}
|
@@ -3579,12 +3609,13 @@ class MLASettings {
|
|
3579 |
}
|
3580 |
} else {
|
3581 |
$source = 'iptc_exif_custom_rule';
|
|
|
3582 |
}
|
3583 |
|
3584 |
if ( empty( $settings['custom'] ) ) {
|
3585 |
return array(
|
3586 |
-
/* translators: 1: field type */
|
3587 |
-
'message' => sprintf( __( '
|
3588 |
'body' => ''
|
3589 |
);
|
3590 |
}
|
@@ -3744,11 +3775,14 @@ class MLASettings {
|
|
3744 |
if ( ! isset( $_REQUEST['tax_quick_edit'] ) ) {
|
3745 |
$_REQUEST['tax_quick_edit'] = array();
|
3746 |
}
|
|
|
|
|
|
|
3747 |
if ( ! isset( $_REQUEST['tax_flat_checklist'] ) ) {
|
3748 |
$_REQUEST['tax_flat_checklist'] = array();
|
3749 |
}
|
3750 |
-
if ( ! isset( $_REQUEST['
|
3751 |
-
$_REQUEST['
|
3752 |
}
|
3753 |
break;
|
3754 |
case MLAOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS:
|
@@ -3914,12 +3948,12 @@ class MLASettings {
|
|
3914 |
$filename = MLA_BACKUP_DIR . "{$prefix}_options_{$date}.txt";
|
3915 |
|
3916 |
if ( ! file_exists( MLA_BACKUP_DIR ) && ! @mkdir( MLA_BACKUP_DIR ) ) {
|
3917 |
-
/* translators: 1: backup directory name */
|
3918 |
-
$page_content['message'] = sprintf( __( '
|
3919 |
return $page_content;
|
3920 |
} elseif ( ! is_writable( MLA_BACKUP_DIR ) && ! @chmod( MLA_BACKUP_DIR , '0777') ) {
|
3921 |
-
/* translators: 1: backup directory name */
|
3922 |
-
$page_content['message'] = sprintf( __( '
|
3923 |
return $page_content;
|
3924 |
}
|
3925 |
|
@@ -3929,15 +3963,15 @@ class MLASettings {
|
|
3929 |
|
3930 |
$file_handle = @fopen( $filename, 'w' );
|
3931 |
if ( ! $file_handle ) {
|
3932 |
-
/* translators: 1: backup file name */
|
3933 |
-
$page_content['message'] = sprintf( __( '
|
3934 |
return $page_content;
|
3935 |
}
|
3936 |
|
3937 |
if (false === @fwrite($file_handle, $settings)) {
|
3938 |
$error_info = error_get_last();
|
3939 |
-
/* translators: 1: PHP error information */
|
3940 |
-
error_log( sprintf( _x( '
|
3941 |
|
3942 |
if ( false !== ( $tail = strpos( $error_info['message'], '</a>]: ' ) ) ) {
|
3943 |
$php_errormsg = ':<br>' . substr( $error_info['message'], $tail + 7 );
|
@@ -3945,8 +3979,8 @@ class MLASettings {
|
|
3945 |
$php_errormsg = '.';
|
3946 |
}
|
3947 |
|
3948 |
-
/* translators: 1: backup file name
|
3949 |
-
$page_content['message'] = sprintf( __( '
|
3950 |
}
|
3951 |
|
3952 |
fclose($file_handle);
|
@@ -3983,15 +4017,15 @@ class MLASettings {
|
|
3983 |
return $page_content;
|
3984 |
}
|
3985 |
} else {
|
3986 |
-
$page_content['message'] = __( 'ERROR: The import settings dropdown selection is missing.', 'media-library-assistant' );
|
3987 |
return $page_content;
|
3988 |
}
|
3989 |
|
3990 |
$settings = @file_get_contents( $filename, false );
|
3991 |
if ( false === $settings ) {
|
3992 |
$error_info = error_get_last();
|
3993 |
-
/* translators: 1: PHP error information */
|
3994 |
-
error_log( sprintf( _x( '
|
3995 |
|
3996 |
if ( false !== ( $tail = strpos( $error_info['message'], '</a>]: ' ) ) ) {
|
3997 |
$php_errormsg = ':<br>' . substr( $error_info['message'], $tail + 7 );
|
@@ -3999,8 +4033,8 @@ class MLASettings {
|
|
3999 |
$php_errormsg = '.';
|
4000 |
}
|
4001 |
|
4002 |
-
/* translators: 1: backup file name
|
4003 |
-
$page_content['message'] = sprintf( __( '
|
4004 |
return $page_content;
|
4005 |
}
|
4006 |
|
352 |
'bulkUnchanged' => __( 'Unchanged', 'media-library-assistant' ),
|
353 |
'bulkSuccess' => __( 'Succeeded', 'media-library-assistant' ),
|
354 |
'bulkFailure' => __( 'Failed', 'media-library-assistant' ),
|
355 |
+
'bulkSkip' => __( 'Skipped', 'media-library-assistant' ),
|
356 |
+
'bulkRedone' => __( 'Reprocessed', 'media-library-assistant' ),
|
357 |
'bulkCanceled' => __( 'CANCELED', 'media-library-assistant' ),
|
358 |
);
|
359 |
|
551 |
'content' => $content
|
552 |
);
|
553 |
} else {
|
554 |
+
/* translators: 1: ERROR tag 2: function name 3: template key */
|
555 |
+
error_log( sprintf( _x( '%1$s: %2$s discarding "%3$s"; no title/order', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'mla_add_help_tab_action', $id ), 0 );
|
556 |
}
|
557 |
}
|
558 |
|
616 |
check_ajax_referer( MLA::MLA_ADMIN_NONCE, 'nonce' );
|
617 |
|
618 |
if ( empty( $_REQUEST['original_slug'] ) ) {
|
619 |
+
echo __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'No view slug found', 'media-library-assistant' );
|
620 |
die();
|
621 |
}
|
622 |
|
630 |
$request['menu_order'] = $_REQUEST['menu_order'];
|
631 |
$results = MLAMime::mla_update_post_mime_type( $request );
|
632 |
|
633 |
+
if ( false === strpos( $results['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
634 |
$new_item = (object) MLAMime::mla_get_post_mime_type( $_REQUEST['slug'] );
|
635 |
} else {
|
636 |
$new_item = (object) MLAMime::mla_get_post_mime_type( $_REQUEST['original_slug'] );
|
659 |
check_ajax_referer( MLA::MLA_ADMIN_NONCE, 'nonce' );
|
660 |
|
661 |
if ( empty( $_REQUEST['original_slug'] ) ) {
|
662 |
+
echo __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'No upload slug found', 'media-library-assistant' );
|
663 |
die();
|
664 |
}
|
665 |
|
670 |
$request['disabled'] = isset( $_REQUEST['disabled'] ) && ( '1' == $_REQUEST['disabled'] );
|
671 |
$results = MLAMime::mla_update_upload_mime( $request );
|
672 |
|
673 |
+
if ( false === strpos( $results['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
674 |
$new_item = (object) MLAMime::mla_get_upload_mime( $_REQUEST['slug'] );
|
675 |
} else {
|
676 |
$new_item = (object) MLAMime::mla_get_upload_mime( $_REQUEST['original_slug'] );
|
707 |
}
|
708 |
}
|
709 |
}
|
710 |
+
|
711 |
/*
|
712 |
* Check for action or submit buttons.
|
713 |
*/
|
737 |
* Check for single-rule action buttons
|
738 |
*/
|
739 |
foreach ( $_REQUEST['custom_field_mapping'] as $key => $value ) {
|
740 |
+
$value = stripslashes_deep( $value );
|
741 |
+
|
742 |
if ( isset( $value['action'] ) ) {
|
743 |
$settings = array( $key => $value );
|
744 |
foreach ( $value['action'] as $action => $label ) {
|
760 |
|
761 |
if ( 0 == $offset ) {
|
762 |
$page_content = self::_save_custom_field_settings( $settings );
|
763 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
764 |
$page_content['processed'] = 0;
|
765 |
$page_content['unchanged'] = 0;
|
766 |
$page_content['success'] = 0;
|
871 |
* Check for single-rule action buttons
|
872 |
*/
|
873 |
foreach ( $_REQUEST['iptc_exif_mapping']['custom'] as $key => $value ) {
|
874 |
+
$value = stripslashes_deep( $value );
|
875 |
+
|
876 |
if ( isset( $value['action'] ) ) {
|
877 |
$settings = array( 'custom' => array( $key => $value ) );
|
878 |
foreach ( $value['action'] as $action => $label ) {
|
894 |
|
895 |
if ( 0 == $offset ) {
|
896 |
$page_content = self::_save_iptc_exif_custom_settings( $settings );
|
897 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
898 |
$page_content['processed'] = 0;
|
899 |
$page_content['unchanged'] = 0;
|
900 |
$page_content['success'] = 0;
|
999 |
case 'hidden':
|
1000 |
break;
|
1001 |
default:
|
1002 |
+
/* translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text */
|
1003 |
+
error_log( sprintf( _x( '%1$s: %2$s unknown type = "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), '_save_settings(1)', var_export( $value, true ) ), 0 );
|
1004 |
} // $value['type']
|
1005 |
} // isset $key
|
1006 |
else {
|
1031 |
case 'hidden':
|
1032 |
break;
|
1033 |
default:
|
1034 |
+
/* translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text */
|
1035 |
+
error_log( sprintf( _x( '%1$s: %2$s unknown type = "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), '_save_settings(2)', var_export( $value, true ) ), 0 );
|
1036 |
} // $value['type']
|
1037 |
} // ! isset $key
|
1038 |
|
1169 |
case 'hidden':
|
1170 |
break;
|
1171 |
default:
|
1172 |
+
/* translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text */
|
1173 |
+
error_log( sprintf( _x( '%1$s: %2$s unknown type = "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'mla_render_settings_page', var_export( $value, true ) ), 0 );
|
1174 |
} //switch
|
1175 |
|
1176 |
return '';
|
1526 |
private static function _compose_view_tab( ) {
|
1527 |
$page_template_array = MLAData::mla_load_template( 'admin-display-settings-view-tab.tpl' );
|
1528 |
if ( ! is_array( $page_template_array ) ) {
|
1529 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1530 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings::_compose_view_tab', var_export( $page_template_array, true ) ), 0 );
|
1531 |
return '';
|
1532 |
}
|
1533 |
|
1559 |
} elseif ( !empty( $_REQUEST['mla-add-view-submit'] ) ) {
|
1560 |
check_admin_referer( MLA::MLA_ADMIN_NONCE, '_wpnonce' );
|
1561 |
$page_content = MLAMime::mla_add_post_mime_type( $_REQUEST['mla_view_item'] );
|
1562 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1563 |
$add_form_values = $_REQUEST['mla_view_item'];
|
1564 |
$add_form_values['post_mime_type'] = $add_form_values['post_mime_type'] ? 'checked="checked"' : '';
|
1565 |
$add_form_values['table_view'] = $add_form_values['table_view'] ? 'checked="checked"' : '';
|
1636 |
case MLA::MLA_ADMIN_SINGLE_EDIT_UPDATE:
|
1637 |
if ( !empty( $_REQUEST['update'] ) ) {
|
1638 |
$page_content = MLAMime::mla_update_post_mime_type( $_REQUEST['mla_view_item'] );
|
1639 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
1640 |
$message = $page_content['message'];
|
1641 |
$page_content = self::_compose_edit_view_tab( $_REQUEST['mla_view_item'], $page_template_array['single-item-edit'] );
|
1642 |
$page_content['message'] = $message;
|
1735 |
's' => isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : '',
|
1736 |
'options_list' => $options_list,
|
1737 |
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
1738 |
+
/* translators: %s: add new View */
|
1739 |
+
'Add New View' => sprintf( __( 'Add New %1$s', 'media-library-assistant' ), __( 'View', 'media-library-assistant' ) ),
|
1740 |
'Slug' => __( 'Slug', 'media-library-assistant' ),
|
1741 |
'The slug is' => __( 'The “slug” is the URL-friendly, unique key for the view. It must be all lowercase and contain only letters, numbers, periods (.), slashes (/) and hyphens (-). For “<strong>Post MIME Type</strong>” views, the slug is also the MIME type specification and <strong>must be a valid MIME</strong> type, e.g., “image” or “image/jpeg”.', 'media-library-assistant' ),
|
1742 |
'Singular Label' => __( 'Singular Label', 'media-library-assistant' ),
|
1972 |
private static function _compose_upload_tab( ) {
|
1973 |
$page_template_array = MLAData::mla_load_template( 'admin-display-settings-upload-tab.tpl' );
|
1974 |
if ( ! is_array( $page_template_array ) ) {
|
1975 |
+
/* translators: 1: ERROR tag 2: function name 3: non-array value */
|
1976 |
+
error_log( sprintf( _x( '%1$s: %2$s non-array "%3$s"', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), 'MLASettings::_compose_upload_tab', var_export( $page_template_array, true ) ), 0 );
|
1977 |
return '';
|
1978 |
}
|
1979 |
|
2024 |
} elseif ( !empty( $_REQUEST['mla-add-upload-submit'] ) ) {
|
2025 |
check_admin_referer( MLA::MLA_ADMIN_NONCE, '_wpnonce' );
|
2026 |
$page_content = MLAMime::mla_add_upload_mime( $_REQUEST['mla_upload_item'] );
|
2027 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
2028 |
$add_form_values = $_REQUEST['mla_upload_item'];
|
2029 |
$add_form_values['disabled'] = $add_form_values['disabled'] ? 'checked="checked"' : '';
|
2030 |
}
|
2103 |
case MLA::MLA_ADMIN_SINGLE_EDIT_UPDATE:
|
2104 |
if ( !empty( $_REQUEST['update'] ) ) {
|
2105 |
$page_content = MLAMime::mla_update_upload_mime( $_REQUEST['mla_upload_item'] );
|
2106 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
2107 |
$message = $page_content['message'];
|
2108 |
$page_content = self::_compose_edit_upload_tab( $_REQUEST['mla_upload_item'], $page_template_array );
|
2109 |
$page_content['message'] = $message;
|
2201 |
'_wpnonce' => wp_nonce_field( MLA::MLA_ADMIN_NONCE, '_wpnonce', true, false ),
|
2202 |
'options_list' => $options_list,
|
2203 |
'Save Changes' => __( 'Save Changes', 'media-library-assistant' ),
|
2204 |
+
/* translators: %s: add new Upload MIME Type */
|
2205 |
+
'Add New Upload' => sprintf( __( 'Add New %1$s', 'media-library-assistant' ), __( 'Upload MIME Type', 'media-library-assistant' ) ),
|
2206 |
'To search database' => __( 'To search the database of over 1,500 known extension/type associations, click "Search Known Types" below the form.', 'media-library-assistant' ),
|
2207 |
'Extension' => __( 'Extension', 'media-library-assistant' ),
|
2208 |
'The extension is' => __( 'The “extension” is the file extension for this type, and unique key for the item. It must be all lowercase and contain only letters and numbers.', 'media-library-assistant' ),
|
2632 |
* Check for single-rule action buttons
|
2633 |
*/
|
2634 |
foreach ( $_REQUEST['custom_field_mapping'] as $key => $value ) {
|
2635 |
+
$value = stripslashes_deep( $value );
|
2636 |
+
|
2637 |
if ( isset( $value['action'] ) ) {
|
2638 |
$settings = array( $key => $value );
|
2639 |
foreach ( $value['action'] as $action => $label ) {
|
2655 |
case 'add_rule_map':
|
2656 |
case 'add_field_map':
|
2657 |
$page_content = self::_save_custom_field_settings( $settings );
|
2658 |
+
if ( false === strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
2659 |
$current_values = MLAOptions::mla_get_option( 'custom_field_mapping' );
|
2660 |
$settings = array( $value['name'] => $current_values[$value['name']] );
|
2661 |
$map_content = self::_process_custom_field_mapping( $settings );
|
2683 |
|
2684 |
$page_values = array(
|
2685 |
'Mapping Progress' => __( 'Custom Field Mapping Progress', 'media-library-assistant' ),
|
|
|
2686 |
'DO NOT' => __( 'DO NOT DO THE FOLLOWING (they will cause mapping to fail)', 'media-library-assistant' ),
|
2687 |
'DO NOT Close' => __( 'Close the window', 'media-library-assistant' ),
|
2688 |
'DO NOT Reload' => __( 'Reload the page', 'media-library-assistant' ),
|
2689 |
'DO NOT Click' => __( 'Click the browser’s Stop, Back or forward buttons', 'media-library-assistant' ),
|
2690 |
+
'Progress' => __( 'Progress', 'media-library-assistant' ),
|
2691 |
'Cancel' => __( 'Cancel', 'media-library-assistant' ),
|
2692 |
+
'Resume' => __( 'Resume', 'media-library-assistant' ),
|
2693 |
'Close' => __( 'Close', 'media-library-assistant' ),
|
2694 |
'Refresh' => __( 'Refresh', 'media-library-assistant' ),
|
2695 |
+
'refresh_href' => '?page=mla-settings-menu-custom_field&mla_tab=custom_field',
|
2696 |
+
);
|
2697 |
+
|
2698 |
+
$progress_div = MLAData::mla_parse_template( self::$page_template_array['mla-progress-div'], $page_values );
|
2699 |
+
|
2700 |
+
$page_values = array(
|
2701 |
+
'mla-progress-div' => $progress_div,
|
2702 |
'Custom Field Options' => __( 'Custom Field and Attachment Metadata Processing Options', 'media-library-assistant' ),
|
2703 |
/* translators: 1: Documentation hyperlink */
|
2704 |
'In this tab' => sprintf( __( 'In this tab you can define the rules for mapping several types of image metadata to WordPress custom fields. You can also use this screen to define rules for adding or updating fields within the WordPress-supplied "Attachment Metadata", stored in the "_wp_attachment_metadata" custom field. See the %1$s section of the Documentation for details.', 'media-library-assistant' ), '<a href="[+settingsURL+]?page=mla-settings-menu-documentation&mla_tab=documentation#attachment_metadata_mapping" title="' . __( 'Updating Attachment Metadata Documentation', 'media-library-assistant' ) . '">' . __( 'Adding or changing Attachment Metadata', 'media-library-assistant' ) . '</a>' ),
|
2774 |
* Check for single-rule action buttons
|
2775 |
*/
|
2776 |
foreach ( $_REQUEST['iptc_exif_mapping']['custom'] as $key => $value ) {
|
2777 |
+
$value = stripslashes_deep( $value );
|
2778 |
+
|
2779 |
if ( isset( $value['action'] ) ) {
|
2780 |
$settings = array( 'custom' => array( $key => $value ) );
|
2781 |
foreach ( $value['action'] as $action => $label ) {
|
2797 |
case 'add_rule_map':
|
2798 |
case 'add_field_map':
|
2799 |
$page_content = self::_save_iptc_exif_custom_settings( $settings );
|
2800 |
+
if ( false === strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
2801 |
$current_values = MLAOptions::mla_get_option( 'iptc_exif_mapping' );
|
2802 |
$settings = array( 'custom' => array( $value['name'] => $current_values['custom'][$value['name']] ) );
|
2803 |
$map_content = self::_process_iptc_exif_custom( $settings );
|
2819 |
|
2820 |
$page_values = array(
|
2821 |
'Mapping Progress' => __( 'IPTC & EXIF Mapping Progress', 'media-library-assistant' ),
|
|
|
2822 |
'DO NOT' => __( 'DO NOT DO THE FOLLOWING (they will cause mapping to fail)', 'media-library-assistant' ),
|
2823 |
'DO NOT Close' => __( 'Close the window', 'media-library-assistant' ),
|
2824 |
'DO NOT Reload' => __( 'Reload the page', 'media-library-assistant' ),
|
2825 |
'DO NOT Click' => __( 'Click the browser’s Stop, Back or forward buttons', 'media-library-assistant' ),
|
2826 |
+
'Progress' => __( 'Progress', 'media-library-assistant' ),
|
2827 |
'Cancel' => __( 'Cancel', 'media-library-assistant' ),
|
2828 |
+
'Resume' => __( 'Resume', 'media-library-assistant' ),
|
2829 |
'Close' => __( 'Close', 'media-library-assistant' ),
|
2830 |
'Refresh' => __( 'Refresh', 'media-library-assistant' ),
|
2831 |
+
'refresh_href' => '?page=mla-settings-menu-iptc_exif&mla_tab=iptc_exif',
|
2832 |
+
);
|
2833 |
+
|
2834 |
+
$progress_div = MLAData::mla_parse_template( self::$page_template_array['mla-progress-div'], $page_values );
|
2835 |
+
|
2836 |
+
$page_values = array(
|
2837 |
+
'mla-progress-div' => $progress_div,
|
2838 |
'IPTX/EXIF Options' => __( 'IPTC & EXIF Processing Options', 'media-library-assistant' ),
|
2839 |
'In this tab' => __( 'In this tab you can define the rules for mapping IPTC (International Press Telecommunications Council) and EXIF (EXchangeable Image File) metadata to WordPress standard attachment fields, taxonomy terms and custom fields. <strong>NOTE:</strong> settings changes will not be made permanent until you click "Save Changes" at the bottom of this page.', 'media-library-assistant' ),
|
2840 |
/* translators: 1: Documentation hyperlink */
|
2894 |
private static function _compose_documentation_tab( ) {
|
2895 |
$page_template = MLAData::mla_load_template( 'documentation-settings-tab.tpl' );
|
2896 |
$page_values = array(
|
2897 |
+
'translate_url' => MLA_PLUGIN_URL . 'languages/MLA Internationalization Guide.pdf',
|
2898 |
'phpDocs_url' => MLA_PLUGIN_URL . 'phpDocs/index.html',
|
2899 |
'examples_url' => MLA_PLUGIN_URL . 'examples/'
|
2900 |
);
|
2942 |
$handler = $current_tab['render'];
|
2943 |
$page_content = self::$handler( );
|
2944 |
} else {
|
2945 |
+
$page_content = array( 'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Cannot render content tab', 'media-library-assistant' ), 'body' => '' );
|
2946 |
}
|
2947 |
} else {
|
2948 |
+
$page_content = array( 'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Unknown content tab', 'media-library-assistant' ), 'body' => '' );
|
2949 |
}
|
2950 |
|
2951 |
if ( ! empty( $page_content['message'] ) ) {
|
2952 |
+
if ( false !== strpos( $page_content['message'], __( 'ERROR', 'media-library-assistant' ) ) ) {
|
2953 |
$messages_class = 'mla_errors';
|
2954 |
} else {
|
2955 |
$messages_class = 'mla_messages';
|
3035 |
if ( '' == $new_slug ) {
|
3036 |
continue;
|
3037 |
} elseif ( 'blank' == $new_slug ) {
|
3038 |
+
/* translators: 1: ERROR tag 2: template name 3: template type */
|
3039 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Reserved name "%2$s", new %3$s discarded.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $new_slug, __( 'style template', 'media-library-assistant' ) );
|
3040 |
continue;
|
3041 |
}
|
3042 |
|
3043 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3044 |
+
/* translators: 1: ERROR tag 2: template name 3: template type */
|
3045 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Duplicate name "%2$s", new %3$s discarded.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $new_slug, __( 'style template', 'media-library-assistant' ) );
|
3046 |
continue;
|
3047 |
} else {
|
3048 |
/* translators: 1: template type 2: template name */
|
3055 |
* Handle name changes, check for duplicates
|
3056 |
*/
|
3057 |
if ( '' == $new_slug ) {
|
3058 |
+
/* translators: 1: ERROR tag 2: element name 3: old value */
|
3059 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Blank %2$s, reverting to "%3$s".', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'style template name', 'media-library-assistant' ), $name );
|
|
|
3060 |
$new_slug = $name;
|
3061 |
}
|
3062 |
|
3063 |
if ( $new_slug != $name ) {
|
3064 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3065 |
+
/* translators: 1: ERROR tag 2: element name 3: new value 4: old value */
|
3066 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Duplicate new %2$s "%3$s", reverting to "%4$s".', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'style template name', 'media-library-assistant' ), $new_slug, $name );
|
3067 |
$new_slug = $name;
|
3068 |
} elseif ( 'blank' != $name ) {
|
3069 |
/* translators: 1: element name 2: old_value 3: new_value */
|
3084 |
if ( $templates_changed ) {
|
3085 |
$settings_changed = true;
|
3086 |
if ( false == MLAOptions::mla_put_style_templates( $new_templates ) ) {
|
3087 |
+
/* translators: 1: ERROR tag 2: template type */
|
3088 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Update of %2$s failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'style template', 'media-library-assistant' ) );
|
3089 |
}
|
3090 |
}
|
3091 |
|
3126 |
}
|
3127 |
|
3128 |
if ( 'blank' == $new_slug ) {
|
3129 |
+
/* translators: 1: ERROR tag 2: template name 3: template type */
|
3130 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Reserved name "%2$s", new %3$s discarded.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $new_slug, __( 'markup template', 'media-library-assistant' ) );
|
3131 |
continue;
|
3132 |
}
|
3133 |
|
3134 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3135 |
+
/* translators: 1: ERROR tag 2: template name 3: template type */
|
3136 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Duplicate name "%2$s", new %3$s discarded.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $new_slug, __( 'markup template', 'media-library-assistant' ) );
|
3137 |
continue;
|
3138 |
} else {
|
3139 |
/* translators: 1: template type 2: template name */
|
3146 |
* Handle name changes, check for duplicates
|
3147 |
*/
|
3148 |
if ( '' == $new_slug ) {
|
3149 |
+
/* translators: 1: ERROR tag 2: element name 3: old value */
|
3150 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Blank %2$s, reverting to "%3$s".', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'markup template name', 'media-library-assistant' ), $name );
|
3151 |
$new_slug = $name;
|
3152 |
}
|
3153 |
|
3154 |
if ( $new_slug != $name ) {
|
3155 |
if ( array_key_exists( $new_slug, $old_templates ) ) {
|
3156 |
+
/* translators: 1: ERROR tag 2: element name 3: new value 4: old value */
|
3157 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Duplicate new %2$s "%3$s", reverting to "%4$s".', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'markup template name', 'media-library-assistant' ), $new_slug, $name );
|
3158 |
$new_slug = $name;
|
3159 |
} elseif ( 'blank' != $name ) {
|
3160 |
/* translators: 1: element name 2: old_value 3: new_value */
|
3205 |
if ( $templates_changed ) {
|
3206 |
$settings_changed = true;
|
3207 |
if ( false == MLAOptions::mla_put_markup_templates( $new_templates ) ) {
|
3208 |
+
/* translators: 1: ERROR tag 2: template type */
|
3209 |
+
$error_list .= '<br>' . sprintf( __( '%1$s: Update of %2$s failed.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'markup template', 'media-library-assistant' ) );
|
3210 |
}
|
3211 |
}
|
3212 |
|
3313 |
global $wpdb;
|
3314 |
if ( NULL == $settings ) {
|
3315 |
$source = 'custom_fields';
|
3316 |
+
$settings = ( isset( $_REQUEST['custom_field_mapping'] ) ) ? stripslashes_deep( $_REQUEST['custom_field_mapping'] ) : array();
|
3317 |
if ( isset( $settings[ MLAOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
|
3318 |
unset( $settings[ MLAOptions::MLA_NEW_CUSTOM_FIELD ] );
|
3319 |
}
|
3322 |
}
|
3323 |
} else {
|
3324 |
$source = 'custom_rule';
|
3325 |
+
$settings = stripslashes_deep( $settings );
|
3326 |
}
|
3327 |
|
3328 |
if ( empty( $settings ) ) {
|
3329 |
return array(
|
3330 |
+
'message' => __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'No custom field mapping rules to process.', 'media-library-assistant' ),
|
3331 |
'body' => ''
|
3332 |
);
|
3333 |
}
|
3391 |
|
3392 |
$count = count( $post_meta_ids );
|
3393 |
if ( $count ) {
|
|
|
3394 |
/* translators: 1: number of attachments */
|
3395 |
+
$count_text = sprintf( _n( '%s attachment', '%s attachments', $count, 'media-library-assistant' ), $count );
|
3396 |
+
/* translators: 1: singular/plural number of attachments */
|
3397 |
return sprintf( __( 'Deleted custom field value from %1$s.', 'media-library-assistant' ) . '<br>', $count_text );
|
3398 |
}
|
3399 |
|
3457 |
private static function _process_iptc_exif_standard( $offset = 0, $length = 0 ) {
|
3458 |
if ( ! isset( $_REQUEST['iptc_exif_mapping']['standard'] ) ) {
|
3459 |
return array(
|
3460 |
+
/* translators: 1: ERROR tag 2: field type */
|
3461 |
+
'message' => sprintf( __( '%1$s: No %2$s settings to process.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Standard field', 'media-library-assistant' ) ),
|
3462 |
'body' => ''
|
3463 |
);
|
3464 |
}
|
3528 |
private static function _process_iptc_exif_taxonomy( $offset = 0, $length = 0 ) {
|
3529 |
if ( ! isset( $_REQUEST['iptc_exif_mapping']['taxonomy'] ) ) {
|
3530 |
return array(
|
3531 |
+
/* translators: 1: ERROR tag 2: field type */
|
3532 |
+
'message' => sprintf( __( '%1$s: No %2$s settings to process.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Taxonomy term', 'media-library-assistant' ) ),
|
3533 |
'body' => ''
|
3534 |
);
|
3535 |
}
|
3600 |
private static function _process_iptc_exif_custom( $settings = NULL, $offset = 0, $length = 0 ) {
|
3601 |
if ( NULL == $settings ) {
|
3602 |
$source = 'iptc_exif_custom';
|
3603 |
+
$settings = ( isset( $_REQUEST['iptc_exif_mapping'] ) ) ? stripslashes_deep( $_REQUEST['iptc_exif_mapping'] ) : array();
|
3604 |
if ( isset( $settings['custom'][ MLAOptions::MLA_NEW_CUSTOM_FIELD ] ) ) {
|
3605 |
unset( $settings['custom'][ MLAOptions::MLA_NEW_CUSTOM_FIELD ] );
|
3606 |
}
|
3609 |
}
|
3610 |
} else {
|
3611 |
$source = 'iptc_exif_custom_rule';
|
3612 |
+
$settings = stripslashes_deep( $settings );
|
3613 |
}
|
3614 |
|
3615 |
if ( empty( $settings['custom'] ) ) {
|
3616 |
return array(
|
3617 |
+
/* translators: 1: ERROR tag 2: field type */
|
3618 |
+
'message' => sprintf( __( '%1$s: No %2$s settings to process.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), __( 'Custom field', 'media-library-assistant' ) ),
|
3619 |
'body' => ''
|
3620 |
);
|
3621 |
}
|
3775 |
if ( ! isset( $_REQUEST['tax_quick_edit'] ) ) {
|
3776 |
$_REQUEST['tax_quick_edit'] = array();
|
3777 |
}
|
3778 |
+
if ( ! isset( $_REQUEST['tax_term_search'] ) ) {
|
3779 |
+
$_REQUEST['tax_term_search'] = array();
|
3780 |
+
}
|
3781 |
if ( ! isset( $_REQUEST['tax_flat_checklist'] ) ) {
|
3782 |
$_REQUEST['tax_flat_checklist'] = array();
|
3783 |
}
|
3784 |
+
if ( ! isset( $_REQUEST['tax_checked_on_top'] ) ) {
|
3785 |
+
$_REQUEST['tax_checked_on_top'] = array();
|
3786 |
}
|
3787 |
break;
|
3788 |
case MLAOptions::MLA_SEARCH_MEDIA_FILTER_DEFAULTS:
|
3948 |
$filename = MLA_BACKUP_DIR . "{$prefix}_options_{$date}.txt";
|
3949 |
|
3950 |
if ( ! file_exists( MLA_BACKUP_DIR ) && ! @mkdir( MLA_BACKUP_DIR ) ) {
|
3951 |
+
/* translators: 1: ERROR tag 2: backup directory name */
|
3952 |
+
$page_content['message'] = sprintf( __( '%1$s: The settings directory ( %2$s ) cannot be created.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), MLA_BACKUP_DIR );
|
3953 |
return $page_content;
|
3954 |
} elseif ( ! is_writable( MLA_BACKUP_DIR ) && ! @chmod( MLA_BACKUP_DIR , '0777') ) {
|
3955 |
+
/* translators: 1: ERROR tag 2: backup directory name */
|
3956 |
+
$page_content['message'] = sprintf( __( '%1$s: The settings directory ( %2$s ) is not writable.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), MLA_BACKUP_DIR );
|
3957 |
return $page_content;
|
3958 |
}
|
3959 |
|
3963 |
|
3964 |
$file_handle = @fopen( $filename, 'w' );
|
3965 |
if ( ! $file_handle ) {
|
3966 |
+
/* translators: 1: ERROR tag 2: backup file name */
|
3967 |
+
$page_content['message'] = sprintf( __( '%1$s: The settings file ( %2$s ) could not be opened.', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $filename );
|
3968 |
return $page_content;
|
3969 |
}
|
3970 |
|
3971 |
if (false === @fwrite($file_handle, $settings)) {
|
3972 |
$error_info = error_get_last();
|
3973 |
+
/* translators: 1: ERROR tag 2: PHP error information */
|
3974 |
+
error_log( sprintf( _x( '%1$s: _export_settings $error_info = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), var_export( $error_info, true ) ), 0 );
|
3975 |
|
3976 |
if ( false !== ( $tail = strpos( $error_info['message'], '</a>]: ' ) ) ) {
|
3977 |
$php_errormsg = ':<br>' . substr( $error_info['message'], $tail + 7 );
|
3979 |
$php_errormsg = '.';
|
3980 |
}
|
3981 |
|
3982 |
+
/* translators: 1: ERROR tag 2: backup file name 3: error message*/
|
3983 |
+
$page_content['message'] = sprintf( __( '%1$s: Writing the settings file ( %2$s ) "%3$s".', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $filename, $php_errormsg );
|
3984 |
}
|
3985 |
|
3986 |
fclose($file_handle);
|
4017 |
return $page_content;
|
4018 |
}
|
4019 |
} else {
|
4020 |
+
$page_content['message'] = __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'The import settings dropdown selection is missing.', 'media-library-assistant' );
|
4021 |
return $page_content;
|
4022 |
}
|
4023 |
|
4024 |
$settings = @file_get_contents( $filename, false );
|
4025 |
if ( false === $settings ) {
|
4026 |
$error_info = error_get_last();
|
4027 |
+
/* translators: 1: ERROR tag 2: PHP error information */
|
4028 |
+
error_log( sprintf( _x( '%1$s: _import_settings $error_info = "%2$s".', 'error_log', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), var_export( $error_info, true ) ), 0 );
|
4029 |
|
4030 |
if ( false !== ( $tail = strpos( $error_info['message'], '</a>]: ' ) ) ) {
|
4031 |
$php_errormsg = ':<br>' . substr( $error_info['message'], $tail + 7 );
|
4033 |
$php_errormsg = '.';
|
4034 |
}
|
4035 |
|
4036 |
+
/* translators: 1: ERROR tag 2: backup file name 3: error message*/
|
4037 |
+
$page_content['message'] = sprintf( __( '%1$s: Reading the settings file ( %2$s ) "%3$s".', 'media-library-assistant' ), __( 'ERROR', 'media-library-assistant' ), $filename, $php_errormsg );
|
4038 |
return $page_content;
|
4039 |
}
|
4040 |
|
includes/class-mla-shortcodes.php
CHANGED
@@ -58,11 +58,9 @@ class MLAShortcodes {
|
|
58 |
*
|
59 |
* @since 0.1
|
60 |
*
|
61 |
-
* @return void echoes HTML markup for the
|
62 |
*/
|
63 |
public static function mla_attachment_list_shortcode() {
|
64 |
-
global $wpdb;
|
65 |
-
|
66 |
/*
|
67 |
* This shortcode is not documented and no longer supported.
|
68 |
*/
|
@@ -70,6 +68,59 @@ class MLAShortcodes {
|
|
70 |
return;
|
71 |
}
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
/**
|
74 |
* Accumulates debug messages
|
75 |
*
|
@@ -104,7 +155,6 @@ class MLAShortcodes {
|
|
104 |
*/
|
105 |
public static function mla_gallery_shortcode( $attr, $content = NULL ) {
|
106 |
global $post;
|
107 |
-
|
108 |
/*
|
109 |
* Some do_shortcode callers may not have a specific post in mind
|
110 |
*/
|
@@ -113,13 +163,10 @@ class MLAShortcodes {
|
|
113 |
}
|
114 |
|
115 |
/*
|
116 |
-
* Make sure $attr is an array, even if it's empty
|
|
|
117 |
*/
|
118 |
-
|
119 |
-
$attr = array();
|
120 |
-
} elseif ( is_string( $attr ) ) {
|
121 |
-
$attr = shortcode_parse_atts( $attr );
|
122 |
-
}
|
123 |
|
124 |
/*
|
125 |
* Filter the attributes before $mla_page_parameter and "request:" prefix processing.
|
@@ -375,14 +422,6 @@ class MLAShortcodes {
|
|
375 |
return $output;
|
376 |
}
|
377 |
|
378 |
-
/*
|
379 |
-
* Google File Viewer no longer works at all!
|
380 |
-
*/
|
381 |
-
if ( !empty( $arguments['mla_viewer'] ) && ( 'true' == strtolower( $arguments['mla_viewer'] ) ) ) {
|
382 |
-
$arguments['mla_viewer'] = false;
|
383 |
-
$arguments['size'] = 'icon';
|
384 |
-
}
|
385 |
-
|
386 |
$size = $size_class = $arguments['size'];
|
387 |
if ( 'icon' == strtolower( $size) ) {
|
388 |
if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
@@ -671,9 +710,11 @@ class MLAShortcodes {
|
|
671 |
$item_values['date'] = $attachment->post_date;
|
672 |
$item_values['modified'] = $attachment->post_modified;
|
673 |
$item_values['parent'] = $attachment->post_parent;
|
674 |
-
$item_values['
|
675 |
$item_values['parent_type'] = '';
|
|
|
676 |
$item_values['parent_date'] = '';
|
|
|
677 |
$item_values['title'] = wptexturize( $attachment->post_title );
|
678 |
$item_values['slug'] = wptexturize( $attachment->post_name );
|
679 |
$item_values['width'] = '';
|
@@ -722,7 +763,11 @@ class MLAShortcodes {
|
|
722 |
}
|
723 |
|
724 |
if ( !empty( $post_meta['mla_wp_attachment_image_alt'] ) ) {
|
725 |
-
|
|
|
|
|
|
|
|
|
726 |
}
|
727 |
|
728 |
if ( ! empty( $base_file ) ) {
|
@@ -741,18 +786,29 @@ class MLAShortcodes {
|
|
741 |
$file_name = '';
|
742 |
}
|
743 |
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
752 |
|
753 |
-
|
754 |
-
|
755 |
-
|
|
|
|
|
756 |
|
757 |
/*
|
758 |
* Add attachment-specific field-level substitution parameters
|
@@ -872,6 +928,31 @@ class MLAShortcodes {
|
|
872 |
$image_alt = '';
|
873 |
}
|
874 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
875 |
if ( false !== strpos( $item_values['pagelink'], '<img ' ) ) {
|
876 |
if ( ! empty( $image_attributes ) ) {
|
877 |
$item_values['pagelink'] = str_replace( '<img ', '<img ' . $image_attributes, $item_values['pagelink'] );
|
@@ -883,7 +964,7 @@ class MLAShortcodes {
|
|
883 |
*/
|
884 |
if ( ! empty( $image_class ) ) {
|
885 |
$match_count = preg_match_all( '# class=\"([^\"]+)\" #', $item_values['pagelink'], $matches, PREG_OFFSET_CAPTURE );
|
886 |
-
if ( ! ( ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
887 |
$class = $matches[1][0][0] . ' ' . $image_class;
|
888 |
} else {
|
889 |
$class = $image_class;
|
@@ -988,15 +1069,19 @@ class MLAShortcodes {
|
|
988 |
}
|
989 |
|
990 |
/*
|
991 |
-
* Check for Google file viewer substitution, uses above-defined
|
992 |
* $link_attributes (includes target), $rollover_text, $link_href (link only),
|
993 |
* $image_attributes, $image_class, $image_alt
|
|
|
|
|
994 |
*/
|
995 |
if ( $arguments['mla_viewer'] && empty( $item_values['thumbnail_url'] ) ) {
|
996 |
$last_dot = strrpos( $item_values['file'], '.' );
|
997 |
if ( !( false === $last_dot) ) {
|
998 |
$extension = substr( $item_values['file'], $last_dot + 1 );
|
999 |
if ( in_array( $extension, $arguments['mla_viewer_extensions'] ) ) {
|
|
|
|
|
1000 |
/*
|
1001 |
* <img> tag (thumbnail_text)
|
1002 |
*/
|
@@ -1010,7 +1095,8 @@ class MLAShortcodes {
|
|
1010 |
$image_alt = ' alt="' . $item_values['caption'] . '"';
|
1011 |
}
|
1012 |
|
1013 |
-
$item_values['thumbnail_content'] = sprintf(
|
|
|
1014 |
|
1015 |
/*
|
1016 |
* Filelink, pagelink and link.
|
@@ -1352,7 +1438,7 @@ class MLAShortcodes {
|
|
1352 |
* Invalid taxonomy names return WP_Error
|
1353 |
*/
|
1354 |
if ( is_wp_error( $tags ) ) {
|
1355 |
-
$cloud .= '<strong>' . __( 'ERROR
|
1356 |
|
1357 |
if ( 'array' == $arguments['mla_output'] ) {
|
1358 |
return array( $cloud );
|
@@ -1426,7 +1512,7 @@ class MLAShortcodes {
|
|
1426 |
}
|
1427 |
|
1428 |
if ( is_wp_error( $link ) ) {
|
1429 |
-
$cloud = '<strong>' . __( 'ERROR
|
1430 |
|
1431 |
if ( 'array' == $arguments['mla_output'] ) {
|
1432 |
return array( $cloud );
|
@@ -1921,13 +2007,10 @@ class MLAShortcodes {
|
|
1921 |
*/
|
1922 |
public static function mla_tag_cloud_shortcode( $attr ) {
|
1923 |
/*
|
1924 |
-
* Make sure $attr is an array, even if it's empty
|
|
|
1925 |
*/
|
1926 |
-
|
1927 |
-
$attr = array();
|
1928 |
-
} elseif ( is_string( $attr ) ) {
|
1929 |
-
$attr = shortcode_parse_atts( $attr );
|
1930 |
-
}
|
1931 |
|
1932 |
/*
|
1933 |
* The 'array' format makes no sense in a shortcode
|
@@ -2038,7 +2121,8 @@ class MLAShortcodes {
|
|
2038 |
|
2039 |
$new_attributes = ( ! empty( $arguments['mla_link_attributes'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_attributes'], $markup_values ) ) . ' ' : '';
|
2040 |
|
2041 |
-
|
|
|
2042 |
|
2043 |
/*
|
2044 |
* Build the array of page links
|
@@ -2049,7 +2133,8 @@ class MLAShortcodes {
|
|
2049 |
if ( $prev_next && $current_page && 1 < $current_page ) {
|
2050 |
$markup_values['new_page'] = $current_page - 1;
|
2051 |
$new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
|
2052 |
-
$new_url =
|
|
|
2053 |
$prev_text = ( ! empty( $arguments['mla_prev_text'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_prev_text'], $markup_values ) ) : '« ' . __( 'Previous', 'media-library-assistant' );
|
2054 |
$page_links[] = sprintf( '<a %1$sclass="prev page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
|
2055 |
/* %1$s */ $new_target,
|
@@ -2074,7 +2159,8 @@ class MLAShortcodes {
|
|
2074 |
} else {
|
2075 |
if ( $show_all || ( $new_page <= $end_size || ( $current_page && $new_page >= $current_page - $mid_size && $new_page <= $current_page + $mid_size ) || $new_page > $last_page - $end_size ) ) {
|
2076 |
// build link
|
2077 |
-
$new_url =
|
|
|
2078 |
$page_links[] = sprintf( '<a %1$sclass="page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
|
2079 |
/* %1$s */ $new_target,
|
2080 |
/* %2$s */ $new_class,
|
@@ -2096,7 +2182,8 @@ class MLAShortcodes {
|
|
2096 |
// build next link
|
2097 |
$markup_values['new_page'] = $current_page + 1;
|
2098 |
$new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
|
2099 |
-
$new_url =
|
|
|
2100 |
$next_text = ( ! empty( $arguments['mla_next_text'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_next_text'], $markup_values ) ) : __( 'Next', 'media-library-assistant' ) . ' »';
|
2101 |
$page_links[] = sprintf( '<a %1$sclass="next page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
|
2102 |
/* %1$s */ $new_target,
|
@@ -2265,7 +2352,14 @@ class MLAShortcodes {
|
|
2265 |
}
|
2266 |
|
2267 |
$markup_values['http_host'] = $_SERVER['HTTP_HOST'];
|
2268 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2269 |
$markup_values['new_url'] = set_url_scheme( $markup_values['scheme'] . $markup_values['http_host'] . $markup_values['request_uri'] );
|
2270 |
|
2271 |
/*
|
@@ -2315,7 +2409,8 @@ class MLAShortcodes {
|
|
2315 |
}
|
2316 |
|
2317 |
if ( ! empty( $arguments['mla_link_href'] ) ) {
|
2318 |
-
|
|
|
2319 |
} else {
|
2320 |
$new_link .= 'href="' . $markup_values['new_url'] . '" >';
|
2321 |
}
|
@@ -2708,7 +2803,7 @@ class MLAShortcodes {
|
|
2708 |
$query_arguments[ $key ] = $tax_query;
|
2709 |
break; // Done - the tax_query overrides all other taxonomy parameters
|
2710 |
} else {
|
2711 |
-
return '<p>' . __( 'ERROR: Invalid mla_gallery', 'media-library-assistant' ) . ' tax_query = ' . var_export( $value, true ) . '</p>';
|
2712 |
}
|
2713 |
} // not array
|
2714 |
} /* tax_query */ elseif ( array_key_exists( $key, $all_taxonomies ) ) {
|
@@ -3036,7 +3131,7 @@ class MLAShortcodes {
|
|
3036 |
if ( is_array( $date_query ) ) {
|
3037 |
$query_arguments[ $key ] = $date_query;
|
3038 |
} else {
|
3039 |
-
return '<p>' . __( 'ERROR: Invalid mla_gallery', 'media-library-assistant' ) . ' date_query = ' . var_export( $value, true ) . '</p>';
|
3040 |
}
|
3041 |
} // not array
|
3042 |
|
@@ -3067,7 +3162,7 @@ class MLAShortcodes {
|
|
3067 |
if ( is_array( $meta_query ) ) {
|
3068 |
$query_arguments[ $key ] = $meta_query;
|
3069 |
} else {
|
3070 |
-
return '<p>' . __( 'ERROR: Invalid mla_gallery', 'media-library-assistant' ) . ' meta_query = ' . var_export( $value, true ) . '</p>';
|
3071 |
}
|
3072 |
} // not array
|
3073 |
|
@@ -3177,17 +3272,18 @@ class MLAShortcodes {
|
|
3177 |
MLAData::$search_parameters = array( 'debug' => 'none' );
|
3178 |
} else {
|
3179 |
/*
|
3180 |
-
* Convert Terms Search parameters to the filter's requirements
|
|
|
3181 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
3182 |
if ( ! empty( MLAData::$search_parameters['mla_terms_phrases'] ) ) {
|
3183 |
MLAData::$search_parameters['mla_terms_search']['phrases'] = MLAData::$search_parameters['mla_terms_phrases'];
|
3184 |
|
3185 |
-
if ( empty( MLAData::$search_parameters['mla_terms_taxonomies'] ) ) {
|
3186 |
-
MLAData::$search_parameters['mla_terms_search']['taxonomies'] = MLAOptions::mla_supported_taxonomies( 'term-search' );
|
3187 |
-
} else {
|
3188 |
-
MLAData::$search_parameters['mla_terms_search']['taxonomies'] = array_filter( array_map( 'trim', explode( ',', MLAData::$search_parameters['mla_terms_taxonomies'] ) ) );
|
3189 |
-
}
|
3190 |
-
|
3191 |
if ( empty( MLAData::$search_parameters['mla_phrase_connector'] ) ) {
|
3192 |
MLAData::$search_parameters['mla_terms_search']['radio_phrases'] = 'AND';
|
3193 |
} else {
|
@@ -3213,14 +3309,20 @@ class MLAShortcodes {
|
|
3213 |
MLAData::$search_parameters['mla_search_fields'] = array_intersect( array( 'title', 'content', 'excerpt', 'name', 'terms' ), MLAData::$search_parameters['mla_search_fields'] );
|
3214 |
|
3215 |
/*
|
3216 |
-
*
|
3217 |
*/
|
3218 |
-
|
3219 |
-
|
3220 |
-
if ( '
|
|
|
|
|
|
|
3221 |
unset ( MLAData::$search_parameters['mla_search_fields'][ $index ] );
|
|
|
|
|
|
|
3222 |
}
|
3223 |
-
}
|
3224 |
}
|
3225 |
} // mla_search_fields present
|
3226 |
|
58 |
*
|
59 |
* @since 0.1
|
60 |
*
|
61 |
+
* @return void echoes HTML markup for the error message
|
62 |
*/
|
63 |
public static function mla_attachment_list_shortcode() {
|
|
|
|
|
64 |
/*
|
65 |
* This shortcode is not documented and no longer supported.
|
66 |
*/
|
68 |
return;
|
69 |
}
|
70 |
|
71 |
+
/**
|
72 |
+
* Make sure $attr is an array and repair line-break damage
|
73 |
+
*
|
74 |
+
* @since 2.02
|
75 |
+
*
|
76 |
+
* @param mixed array or string containing shortcode attributes
|
77 |
+
*
|
78 |
+
* @return array clean attributes array
|
79 |
+
*/
|
80 |
+
private static function _validate_attributes( $attr ) {
|
81 |
+
if ( empty( $attr ) ) {
|
82 |
+
$attr = array();
|
83 |
+
} elseif ( is_string( $attr ) ) {
|
84 |
+
$attr = shortcode_parse_atts( $attr );
|
85 |
+
}
|
86 |
+
|
87 |
+
// Numeric keys indicate parse errors
|
88 |
+
$is_valid = true;
|
89 |
+
foreach ( $attr as $key => $value ) {
|
90 |
+
if ( is_numeric( $key ) ) {
|
91 |
+
$is_valid = false;
|
92 |
+
break;
|
93 |
+
}
|
94 |
+
}
|
95 |
+
|
96 |
+
if ( $is_valid ) {
|
97 |
+
return $attr;
|
98 |
+
}
|
99 |
+
|
100 |
+
/*
|
101 |
+
* Found an error, e.g., line break(s) among the atttributes.
|
102 |
+
* Try to reconstruct the input string without them.
|
103 |
+
*/
|
104 |
+
$new_attr = '';
|
105 |
+
foreach ( $attr as $key => $value ) {
|
106 |
+
$break_tag = strpos( $value, '<br' );
|
107 |
+
if ( ( false !== $break_tag ) && ( ($break_tag + 3) == strlen( $value ) ) ) {
|
108 |
+
$value = substr( $value, 0, ( strlen( $value ) - 3) );
|
109 |
+
}
|
110 |
+
|
111 |
+
if ( is_numeric( $key ) ) {
|
112 |
+
if ( '/>' !== $value ) {
|
113 |
+
$new_attr .= $value . ' ';
|
114 |
+
}
|
115 |
+
} else {
|
116 |
+
$delimiter = ( false === strpos( $value, '"' ) ) ? '"' : "'";
|
117 |
+
$new_attr .= $key . '=' . $delimiter . $value . $delimiter . ' ';
|
118 |
+
}
|
119 |
+
}
|
120 |
+
|
121 |
+
return shortcode_parse_atts( $new_attr );
|
122 |
+
}
|
123 |
+
|
124 |
/**
|
125 |
* Accumulates debug messages
|
126 |
*
|
155 |
*/
|
156 |
public static function mla_gallery_shortcode( $attr, $content = NULL ) {
|
157 |
global $post;
|
|
|
158 |
/*
|
159 |
* Some do_shortcode callers may not have a specific post in mind
|
160 |
*/
|
163 |
}
|
164 |
|
165 |
/*
|
166 |
+
* Make sure $attr is an array, even if it's empty,
|
167 |
+
* and repair damage caused by link-breaks in the source text
|
168 |
*/
|
169 |
+
$attr = self::_validate_attributes( $attr );
|
|
|
|
|
|
|
|
|
170 |
|
171 |
/*
|
172 |
* Filter the attributes before $mla_page_parameter and "request:" prefix processing.
|
422 |
return $output;
|
423 |
}
|
424 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
$size = $size_class = $arguments['size'];
|
426 |
if ( 'icon' == strtolower( $size) ) {
|
427 |
if ( 'checked' == MLAOptions::mla_get_option( MLAOptions::MLA_ENABLE_MLA_ICONS ) ) {
|
710 |
$item_values['date'] = $attachment->post_date;
|
711 |
$item_values['modified'] = $attachment->post_modified;
|
712 |
$item_values['parent'] = $attachment->post_parent;
|
713 |
+
$item_values['parent_name'] = '';
|
714 |
$item_values['parent_type'] = '';
|
715 |
+
$item_values['parent_title'] = '(' . __( 'Unattached', 'media-library-assistant' ) . ')';
|
716 |
$item_values['parent_date'] = '';
|
717 |
+
$item_values['parent_permalink'] = '';
|
718 |
$item_values['title'] = wptexturize( $attachment->post_title );
|
719 |
$item_values['slug'] = wptexturize( $attachment->post_name );
|
720 |
$item_values['width'] = '';
|
763 |
}
|
764 |
|
765 |
if ( !empty( $post_meta['mla_wp_attachment_image_alt'] ) ) {
|
766 |
+
if ( is_array( $post_meta['mla_wp_attachment_image_alt'] ) ) {
|
767 |
+
$item_values['image_alt'] = wptexturize( $post_meta['mla_wp_attachment_image_alt'][0] );
|
768 |
+
} else {
|
769 |
+
$item_values['image_alt'] = wptexturize( $post_meta['mla_wp_attachment_image_alt'] );
|
770 |
+
}
|
771 |
}
|
772 |
|
773 |
if ( ! empty( $base_file ) ) {
|
786 |
$file_name = '';
|
787 |
}
|
788 |
|
789 |
+
if ( 0 < $attachment->post_parent ) {
|
790 |
+
$parent_info = MLAData::mla_fetch_attachment_parent_data( $attachment->post_parent );
|
791 |
+
if ( isset( $parent_info['parent_name'] ) ) {
|
792 |
+
$item_values['parent_name'] = $parent_info['parent_name'];
|
793 |
+
}
|
794 |
+
|
795 |
+
if ( isset( $parent_info['parent_type'] ) ) {
|
796 |
+
$item_values['parent_type'] = wptexturize( $parent_info['parent_type'] );
|
797 |
+
}
|
798 |
+
|
799 |
+
if ( isset( $parent_info['parent_title'] ) ) {
|
800 |
+
$item_values['parent_title'] = wptexturize( $parent_info['parent_title'] );
|
801 |
+
}
|
802 |
+
|
803 |
+
if ( isset( $parent_info['parent_date'] ) ) {
|
804 |
+
$item_values['parent_date'] = wptexturize( $parent_info['parent_date'] );
|
805 |
+
}
|
806 |
|
807 |
+
$permalink = get_permalink( $attachment->post_parent );
|
808 |
+
if ( false !== $permalink ) {
|
809 |
+
$item_values['parent_permalink'] = $permalink;
|
810 |
+
}
|
811 |
+
} // has parent
|
812 |
|
813 |
/*
|
814 |
* Add attachment-specific field-level substitution parameters
|
928 |
$image_alt = '';
|
929 |
}
|
930 |
|
931 |
+
/*
|
932 |
+
* Look for alt= and class= attributes in $image_attributes. If found,
|
933 |
+
* they override and completely replace the corresponding values.
|
934 |
+
*/
|
935 |
+
$class_replace = false;
|
936 |
+
if ( ! empty( $image_attributes ) ) {
|
937 |
+
$match_count = preg_match( '#alt=(([\'\"])([^\']+?)\2)#', $image_attributes, $matches, PREG_OFFSET_CAPTURE );
|
938 |
+
if ( 1 === $match_count ) {
|
939 |
+
$image_alt = $matches[3][0];
|
940 |
+
$image_attributes = substr_replace( $image_attributes, '', $matches[0][1], strlen( $matches[0][0] ) );
|
941 |
+
}
|
942 |
+
|
943 |
+
$match_count = preg_match( '#class=(([\'\"])([^\']+?)\2)#', $image_attributes, $matches, PREG_OFFSET_CAPTURE );
|
944 |
+
if ( 1 === $match_count ) {
|
945 |
+
$class_replace = true;
|
946 |
+
$image_class = $matches[3][0];
|
947 |
+
$image_attributes = substr_replace( $image_attributes, '', $matches[0][1], strlen( $matches[0][0] ) );
|
948 |
+
}
|
949 |
+
|
950 |
+
$image_attributes = trim( $image_attributes );
|
951 |
+
if ( ! empty( $image_attributes ) ) {
|
952 |
+
$image_attributes .= ' ';
|
953 |
+
}
|
954 |
+
}
|
955 |
+
|
956 |
if ( false !== strpos( $item_values['pagelink'], '<img ' ) ) {
|
957 |
if ( ! empty( $image_attributes ) ) {
|
958 |
$item_values['pagelink'] = str_replace( '<img ', '<img ' . $image_attributes, $item_values['pagelink'] );
|
964 |
*/
|
965 |
if ( ! empty( $image_class ) ) {
|
966 |
$match_count = preg_match_all( '# class=\"([^\"]+)\" #', $item_values['pagelink'], $matches, PREG_OFFSET_CAPTURE );
|
967 |
+
if ( ! ( $class_replace || ( $match_count == false ) || ( $match_count == 0 ) ) ) {
|
968 |
$class = $matches[1][0][0] . ' ' . $image_class;
|
969 |
} else {
|
970 |
$class = $image_class;
|
1069 |
}
|
1070 |
|
1071 |
/*
|
1072 |
+
* Check for "Google file viewer" substitution, uses above-defined
|
1073 |
* $link_attributes (includes target), $rollover_text, $link_href (link only),
|
1074 |
* $image_attributes, $image_class, $image_alt
|
1075 |
+
*
|
1076 |
+
* Since Google File Viewer has been discontinued, uses the MIME type icon for a thumbnail.
|
1077 |
*/
|
1078 |
if ( $arguments['mla_viewer'] && empty( $item_values['thumbnail_url'] ) ) {
|
1079 |
$last_dot = strrpos( $item_values['file'], '.' );
|
1080 |
if ( !( false === $last_dot) ) {
|
1081 |
$extension = substr( $item_values['file'], $last_dot + 1 );
|
1082 |
if ( in_array( $extension, $arguments['mla_viewer_extensions'] ) ) {
|
1083 |
+
$icon_url = wp_mime_type_icon( $attachment->ID );
|
1084 |
+
|
1085 |
/*
|
1086 |
* <img> tag (thumbnail_text)
|
1087 |
*/
|
1095 |
$image_alt = ' alt="' . $item_values['caption'] . '"';
|
1096 |
}
|
1097 |
|
1098 |
+
$item_values['thumbnail_content'] = sprintf(
|
1099 |
+
'<img %1$swidth="%2$s" height="%2$s" src="%3$s"%4$s%5$s>', $image_attributes, $arguments['mla_viewer_width'], $icon_url, $image_class, $image_alt );
|
1100 |
|
1101 |
/*
|
1102 |
* Filelink, pagelink and link.
|
1438 |
* Invalid taxonomy names return WP_Error
|
1439 |
*/
|
1440 |
if ( is_wp_error( $tags ) ) {
|
1441 |
+
$cloud .= '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $tags->get_error_message() . '</strong>, ' . $tags->get_error_data( $tags->get_error_code() );
|
1442 |
|
1443 |
if ( 'array' == $arguments['mla_output'] ) {
|
1444 |
return array( $cloud );
|
1512 |
}
|
1513 |
|
1514 |
if ( is_wp_error( $link ) ) {
|
1515 |
+
$cloud = '<strong>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . $link->get_error_message() . '</strong>, ' . $link->get_error_data( $link->get_error_code() );
|
1516 |
|
1517 |
if ( 'array' == $arguments['mla_output'] ) {
|
1518 |
return array( $cloud );
|
2007 |
*/
|
2008 |
public static function mla_tag_cloud_shortcode( $attr ) {
|
2009 |
/*
|
2010 |
+
* Make sure $attr is an array, even if it's empty,
|
2011 |
+
* and repair damage caused by link-breaks in the source text
|
2012 |
*/
|
2013 |
+
$attr = self::_validate_attributes( $attr );
|
|
|
|
|
|
|
|
|
2014 |
|
2015 |
/*
|
2016 |
* The 'array' format makes no sense in a shortcode
|
2121 |
|
2122 |
$new_attributes = ( ! empty( $arguments['mla_link_attributes'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_attributes'], $markup_values ) ) . ' ' : '';
|
2123 |
|
2124 |
+
//$new_base = ( ! empty( $arguments['mla_link_href'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) ) : $markup_values['new_url'];
|
2125 |
+
$new_base = ( ! empty( $arguments['mla_link_href'] ) ) ? self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) : $markup_values['new_url'];
|
2126 |
|
2127 |
/*
|
2128 |
* Build the array of page links
|
2133 |
if ( $prev_next && $current_page && 1 < $current_page ) {
|
2134 |
$markup_values['new_page'] = $current_page - 1;
|
2135 |
$new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
|
2136 |
+
$new_url = remove_query_arg( $mla_page_parameter, $new_base );
|
2137 |
+
$new_url = add_query_arg( array( $mla_page_parameter => $current_page - 1 ), $new_url );
|
2138 |
$prev_text = ( ! empty( $arguments['mla_prev_text'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_prev_text'], $markup_values ) ) : '« ' . __( 'Previous', 'media-library-assistant' );
|
2139 |
$page_links[] = sprintf( '<a %1$sclass="prev page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
|
2140 |
/* %1$s */ $new_target,
|
2159 |
} else {
|
2160 |
if ( $show_all || ( $new_page <= $end_size || ( $current_page && $new_page >= $current_page - $mid_size && $new_page <= $current_page + $mid_size ) || $new_page > $last_page - $end_size ) ) {
|
2161 |
// build link
|
2162 |
+
$new_url = remove_query_arg( $mla_page_parameter, $new_base );
|
2163 |
+
$new_url = add_query_arg( array( $mla_page_parameter => $new_page ), $new_url );
|
2164 |
$page_links[] = sprintf( '<a %1$sclass="page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
|
2165 |
/* %1$s */ $new_target,
|
2166 |
/* %2$s */ $new_class,
|
2182 |
// build next link
|
2183 |
$markup_values['new_page'] = $current_page + 1;
|
2184 |
$new_title = ( ! empty( $arguments['mla_rollover_text'] ) ) ? 'title="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_rollover_text'], $markup_values ) ) . '" ' : '';
|
2185 |
+
$new_url = remove_query_arg( $mla_page_parameter, $new_base );
|
2186 |
+
$new_url = add_query_arg( array( $mla_page_parameter => $current_page + 1 ), $new_url );
|
2187 |
$next_text = ( ! empty( $arguments['mla_next_text'] ) ) ? esc_attr( self::_process_shortcode_parameter( $arguments['mla_next_text'], $markup_values ) ) : __( 'Next', 'media-library-assistant' ) . ' »';
|
2188 |
$page_links[] = sprintf( '<a %1$sclass="next page-numbers%2$s" %3$s%4$shref="%5$s">%6$s</a>',
|
2189 |
/* %1$s */ $new_target,
|
2352 |
}
|
2353 |
|
2354 |
$markup_values['http_host'] = $_SERVER['HTTP_HOST'];
|
2355 |
+
|
2356 |
+
if ( 0 < $new_page ) {
|
2357 |
+
$new_uri = remove_query_arg( $mla_page_parameter, $_SERVER['REQUEST_URI'] );
|
2358 |
+
$markup_values['request_uri'] = add_query_arg( array( $mla_page_parameter => $new_page ), $new_uri );
|
2359 |
+
} else {
|
2360 |
+
$markup_values['request_uri'] = $_SERVER['REQUEST_URI'];
|
2361 |
+
}
|
2362 |
+
|
2363 |
$markup_values['new_url'] = set_url_scheme( $markup_values['scheme'] . $markup_values['http_host'] . $markup_values['request_uri'] );
|
2364 |
|
2365 |
/*
|
2409 |
}
|
2410 |
|
2411 |
if ( ! empty( $arguments['mla_link_href'] ) ) {
|
2412 |
+
//$new_link .= 'href="' . esc_attr( self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) ) . '" >';
|
2413 |
+
$new_link .= 'href="' . self::_process_shortcode_parameter( $arguments['mla_link_href'], $markup_values ) . '" >';
|
2414 |
} else {
|
2415 |
$new_link .= 'href="' . $markup_values['new_url'] . '" >';
|
2416 |
}
|
2803 |
$query_arguments[ $key ] = $tax_query;
|
2804 |
break; // Done - the tax_query overrides all other taxonomy parameters
|
2805 |
} else {
|
2806 |
+
return '<p>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Invalid mla_gallery', 'media-library-assistant' ) . ' tax_query = ' . var_export( $value, true ) . '</p>';
|
2807 |
}
|
2808 |
} // not array
|
2809 |
} /* tax_query */ elseif ( array_key_exists( $key, $all_taxonomies ) ) {
|
3131 |
if ( is_array( $date_query ) ) {
|
3132 |
$query_arguments[ $key ] = $date_query;
|
3133 |
} else {
|
3134 |
+
return '<p>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Invalid mla_gallery', 'media-library-assistant' ) . ' date_query = ' . var_export( $value, true ) . '</p>';
|
3135 |
}
|
3136 |
} // not array
|
3137 |
|
3162 |
if ( is_array( $meta_query ) ) {
|
3163 |
$query_arguments[ $key ] = $meta_query;
|
3164 |
} else {
|
3165 |
+
return '<p>' . __( 'ERROR', 'media-library-assistant' ) . ': ' . __( 'Invalid mla_gallery', 'media-library-assistant' ) . ' meta_query = ' . var_export( $value, true ) . '</p>';
|
3166 |
}
|
3167 |
} // not array
|
3168 |
|
3272 |
MLAData::$search_parameters = array( 'debug' => 'none' );
|
3273 |
} else {
|
3274 |
/*
|
3275 |
+
* Convert Terms Search parameters to the filter's requirements.
|
3276 |
+
* mla_terms_taxonomies is shared with keyword search.
|
3277 |
*/
|
3278 |
+
if ( empty( MLAData::$search_parameters['mla_terms_taxonomies'] ) ) {
|
3279 |
+
MLAData::$search_parameters['mla_terms_search']['taxonomies'] = MLAOptions::mla_supported_taxonomies( 'term-search' );
|
3280 |
+
} else {
|
3281 |
+
MLAData::$search_parameters['mla_terms_search']['taxonomies'] = array_filter( array_map( 'trim', explode( ',', MLAData::$search_parameters['mla_terms_taxonomies'] ) ) );
|
3282 |
+
}
|
3283 |
+
|
3284 |
if ( ! empty( MLAData::$search_parameters['mla_terms_phrases'] ) ) {
|
3285 |
MLAData::$search_parameters['mla_terms_search']['phrases'] = MLAData::$search_parameters['mla_terms_phrases'];
|
3286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3287 |
if ( empty( MLAData::$search_parameters['mla_phrase_connector'] ) ) {
|
3288 |
MLAData::$search_parameters['mla_terms_search']['radio_phrases'] = 'AND';
|
3289 |
} else {
|
3309 |
MLAData::$search_parameters['mla_search_fields'] = array_intersect( array( 'title', 'content', 'excerpt', 'name', 'terms' ), MLAData::$search_parameters['mla_search_fields'] );
|
3310 |
|
3311 |
/*
|
3312 |
+
* Look for keyword search including 'terms'
|
3313 |
*/
|
3314 |
+
foreach ( MLAData::$search_parameters['mla_search_fields'] as $index => $field ) {
|
3315 |
+
if ( 'terms' == $field ) {
|
3316 |
+
if ( isset( MLAData::$search_parameters['mla_terms_search']['phrases'] ) ) {
|
3317 |
+
/*
|
3318 |
+
* The Terms Search overrides any terms-based keyword search for now; too complicated.
|
3319 |
+
*/
|
3320 |
unset ( MLAData::$search_parameters['mla_search_fields'][ $index ] );
|
3321 |
+
} else {
|
3322 |
+
MLAData::$search_parameters['mla_search_taxonomies'] = MLAData::$search_parameters['mla_terms_search']['taxonomies'];
|
3323 |
+
unset( MLAData::$search_parameters['mla_terms_search']['taxonomies'] );
|
3324 |
}
|
3325 |
+
} // terms in search fields
|
3326 |
}
|
3327 |
} // mla_search_fields present
|
3328 |
|
includes/class-mla-upload-list-table.php
CHANGED
@@ -412,9 +412,9 @@ class MLA_Upload_List_Table extends WP_List_Table {
|
|
412 |
*/
|
413 |
function column_status( $item ) {
|
414 |
if ( $item->disabled ) {
|
415 |
-
return __( '
|
416 |
} else {
|
417 |
-
return __( '
|
418 |
}
|
419 |
}
|
420 |
|
412 |
*/
|
413 |
function column_status( $item ) {
|
414 |
if ( $item->disabled ) {
|
415 |
+
return __( 'Inactive', 'media-library-assistant' );
|
416 |
} else {
|
417 |
+
return __( 'Active', 'media-library-assistant' );
|
418 |
}
|
419 |
}
|
420 |
|
index.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
-
* @version 2.
|
10 |
*/
|
11 |
|
12 |
/*
|
@@ -16,7 +16,7 @@ Description: Enhances the Media Library; powerful [mla_gallery], taxonomy suppor
|
|
16 |
Author: David Lingren, Fair Trade Judaica
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
-
Version: 2.
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2011-2014 David Lingren
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
+
* @version 2.02
|
10 |
*/
|
11 |
|
12 |
/*
|
16 |
Author: David Lingren, Fair Trade Judaica
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 2.02
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2011-2014 David Lingren
|
js/mla-add-new-bulk-edit-scripts.js
ADDED
@@ -0,0 +1,123 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* global ajaxurl, uploader */
|
2 |
+
|
3 |
+
var jQuery,
|
4 |
+
mla_add_new_bulk_edit_vars,
|
5 |
+
mla = {
|
6 |
+
// Properties (for mla-set-parent-scripts)
|
7 |
+
// mla.settings.uploadTitle
|
8 |
+
// mla.settings.comma for flat taxonomy suggest
|
9 |
+
// mla.settings.ajaxFailError for setParent
|
10 |
+
// mla.settings.ajaxDoneError for setParent
|
11 |
+
// mla.settings.useDashicons for setParent
|
12 |
+
settings: {},
|
13 |
+
|
14 |
+
// Utility functions
|
15 |
+
utility: {
|
16 |
+
getId : function( o ) {
|
17 |
+
var id = jQuery( o ).closest( 'tr' ).attr( 'id' ),
|
18 |
+
parts = id.split( '-' );
|
19 |
+
return parts[ parts.length - 1 ];
|
20 |
+
}
|
21 |
+
},
|
22 |
+
|
23 |
+
// Components
|
24 |
+
addNewBulkEdit: null,
|
25 |
+
setParent: null
|
26 |
+
};
|
27 |
+
|
28 |
+
( function( $ ) {
|
29 |
+
/**
|
30 |
+
* Localized settings and strings
|
31 |
+
*/
|
32 |
+
mla.settings = typeof mla_add_new_bulk_edit_vars === 'undefined' ? {} : mla_add_new_bulk_edit_vars;
|
33 |
+
mla_add_new_bulk_edit_vars = void 0; // delete won't work on Globals
|
34 |
+
|
35 |
+
mla.addNewBulkEdit = {
|
36 |
+
init: function() {
|
37 |
+
var button, bypass = $( '.upload-flash-bypass' ),
|
38 |
+
uploadDiv = $( '#mla-add-new-bulk-edit-div' ).hide(); // Start with area closed up
|
39 |
+
|
40 |
+
$( '#bulk-edit-set-parent', uploadDiv ).on( 'click', function(){
|
41 |
+
return mla.addNewBulkEdit.parentOpen();
|
42 |
+
});
|
43 |
+
|
44 |
+
// Move the Open/Close Bulk Edit area button to save space on the page
|
45 |
+
button = $( '#bulk-edit-toggle', uploadDiv ).detach();
|
46 |
+
button.appendTo( bypass );
|
47 |
+
|
48 |
+
// Hook the "browser uploader" link to close the Bulk Edit area when it is in use
|
49 |
+
button.siblings( 'a' ).on( 'click', function(){
|
50 |
+
button.attr( 'title', mla.settings.toggleOpen );
|
51 |
+
button.attr( 'value', mla.settings.toggleOpen );
|
52 |
+
uploadDiv.hide();
|
53 |
+
});
|
54 |
+
|
55 |
+
button.on( 'click', function(){
|
56 |
+
return mla.addNewBulkEdit.formToggle();
|
57 |
+
});
|
58 |
+
|
59 |
+
//auto-complete/suggested matches for flat taxonomies
|
60 |
+
$( 'textarea.mla_tags', uploadDiv ).each(function(){
|
61 |
+
var taxname = $(this).attr('name').replace(']', '').replace('tax_input[', '');
|
62 |
+
|
63 |
+
$(this).suggest( ajaxurl + '?action=ajax-tag-search&tax=' + taxname, { delay: 500, minchars: 2, multiple: true, multipleSep: mla.settings.comma + ' ' } );
|
64 |
+
});
|
65 |
+
|
66 |
+
uploader.bind( 'BeforeUpload', function( up, file ) {
|
67 |
+
var formString = $( '#file-form' ).serialize();
|
68 |
+
|
69 |
+
up.settings.multipart_params.mlaAddNewBulkEdit['formString'] = formString;
|
70 |
+
});
|
71 |
+
},
|
72 |
+
|
73 |
+
formToggle : function() {
|
74 |
+
var button = $( '#bulk-edit-toggle' ), area = $( '#mla-add-new-bulk-edit-div' );
|
75 |
+
|
76 |
+
// Expand/collapse the Bulk Edit area
|
77 |
+
if ( 'none' === area.css( 'display' ) ) {
|
78 |
+
button.attr( 'title', mla.settings.toggleClose );
|
79 |
+
button.attr( 'value', mla.settings.toggleClose );
|
80 |
+
} else {
|
81 |
+
button.attr( 'title', mla.settings.toggleOpen );
|
82 |
+
button.attr( 'value', mla.settings.toggleOpen );
|
83 |
+
}
|
84 |
+
|
85 |
+
area.slideToggle( 'slow' );
|
86 |
+
},
|
87 |
+
|
88 |
+
parentOpen : function() {
|
89 |
+
var parentId, postId, postTitle;
|
90 |
+
|
91 |
+
postId = -1;
|
92 |
+
postTitle = mla.settings.uploadTitle;
|
93 |
+
parentId = $( '#mla-add-new-bulk-edit-div :input[name="post_parent"]' ).val() || -1;
|
94 |
+
mla.setParent.open( parentId, postId, postTitle );
|
95 |
+
/*
|
96 |
+
* Grab the "Update" button
|
97 |
+
*/
|
98 |
+
$( '#mla-set-parent-submit' ).on( 'click', function( event ){
|
99 |
+
event.preventDefault();
|
100 |
+
mla.addNewBulkEdit.parentSave();
|
101 |
+
return false;
|
102 |
+
});
|
103 |
+
},
|
104 |
+
|
105 |
+
parentSave : function() {
|
106 |
+
var foundRow = $( '#mla-set-parent-response-div input:checked' ).closest( 'tr' ), parentId, newParent;
|
107 |
+
|
108 |
+
if ( foundRow.length ) {
|
109 |
+
parentId = $( ':radio', foundRow ).val() || '';
|
110 |
+
newParent = $('#mla-add-new-bulk-edit-div :input[name="post_parent"]').clone( true ).val( parentId );
|
111 |
+
$('#mla-add-new-bulk-edit-div :input[name="post_parent"]').replaceWith( newParent );
|
112 |
+
}
|
113 |
+
|
114 |
+
mla.setParent.close();
|
115 |
+
$('#mla-set-parent-submit' ).off( 'click' );
|
116 |
+
},
|
117 |
+
|
118 |
+
}; // mla.addNewBulkEdit
|
119 |
+
|
120 |
+
$( document ).ready( function() {
|
121 |
+
mla.addNewBulkEdit.init();
|
122 |
+
});
|
123 |
+
})( jQuery );
|
js/mla-add-new-bulk-edit-scripts.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var jQuery,mla_add_new_bulk_edit_vars,mla={settings:{},utility:{getId:function(b){var c=jQuery(b).closest("tr").attr("id"),a=c.split("-");return a[a.length-1]}},addNewBulkEdit:null,setParent:null};(function(a){mla.settings=typeof mla_add_new_bulk_edit_vars==="undefined"?{}:mla_add_new_bulk_edit_vars;mla_add_new_bulk_edit_vars=void 0;mla.addNewBulkEdit={init:function(){var b,c=a(".upload-flash-bypass"),d=a("#mla-add-new-bulk-edit-div").hide();a("#bulk-edit-set-parent",d).on("click",function(){return mla.addNewBulkEdit.parentOpen()});b=a("#bulk-edit-toggle",d).detach();b.appendTo(c);b.siblings("a").on("click",function(){b.attr("title",mla.settings.toggleOpen);b.attr("value",mla.settings.toggleOpen);d.hide()});b.on("click",function(){return mla.addNewBulkEdit.formToggle()});a("textarea.mla_tags",d).each(function(){var e=a(this).attr("name").replace("]","").replace("tax_input[","");a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+e,{delay:500,minchars:2,multiple:true,multipleSep:mla.settings.comma+" "})});uploader.bind("BeforeUpload",function(e,f){var g=a("#file-form").serialize();e.settings.multipart_params.mlaAddNewBulkEdit.formString=g})},formToggle:function(){var b=a("#bulk-edit-toggle"),c=a("#mla-add-new-bulk-edit-div");if("none"===c.css("display")){b.attr("title",mla.settings.toggleClose);b.attr("value",mla.settings.toggleClose)}else{b.attr("title",mla.settings.toggleOpen);b.attr("value",mla.settings.toggleOpen)}c.slideToggle("slow")},parentOpen:function(){var d,b,c;b=-1;c=mla.settings.uploadTitle;d=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').val()||-1;mla.setParent.open(d,b,c);a("#mla-set-parent-submit").on("click",function(e){e.preventDefault();mla.addNewBulkEdit.parentSave();return false})},parentSave:function(){var c=a("#mla-set-parent-response-div input:checked").closest("tr"),d,b;if(c.length){d=a(":radio",c).val()||"";b=a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').clone(true).val(d);a('#mla-add-new-bulk-edit-div :input[name="post_parent"]').replaceWith(b)}mla.setParent.close();a("#mla-set-parent-submit").off("click")},};a(document).ready(function(){mla.addNewBulkEdit.init()})})(jQuery);
|
js/mla-inline-mapping-scripts.js
CHANGED
@@ -30,7 +30,7 @@ var jQuery,
|
|
30 |
var progressDiv = $( '#mla-progress-div' );
|
31 |
|
32 |
$('#mla-progress-cancel', progressDiv).off( 'click' );
|
33 |
-
$('#mla-progress-cancel', progressDiv).click(function(){
|
34 |
if ( mla.bulkMap.inProcess ) {
|
35 |
mla.bulkMap.doCancel = true;
|
36 |
return false;
|
@@ -39,15 +39,35 @@ var jQuery,
|
|
39 |
}
|
40 |
});
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
// Clicking "Refresh" submits the form, refreshing the page
|
43 |
$( '#mla-progress-refresh', progressDiv ).off( 'click' );
|
44 |
-
$( '#mla-progress-refresh', progressDiv ).click(function(){
|
45 |
$( '#mla-progress-refresh' ).prop( 'disabled', true );
|
46 |
$( '#mla-progress-refresh' ).css( 'opacity', '0.5' );
|
47 |
});
|
48 |
|
49 |
$('#mla-progress-close', progressDiv).off( 'click' );
|
50 |
-
$('#mla-progress-close', progressDiv).click(function( e ){
|
51 |
if ( mla.bulkMap.inProcess ) {
|
52 |
return false;
|
53 |
}
|
@@ -58,24 +78,46 @@ var jQuery,
|
|
58 |
// add event handler to the Map All links
|
59 |
$( 'input[type="submit"].mla-mapping' ).click(function( e ){
|
60 |
e.preventDefault();
|
61 |
-
return mla.inlineMapAttachment.bulkMap( e );
|
62 |
-
return false;
|
63 |
});
|
64 |
},
|
65 |
|
66 |
-
bulkMap : function(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
mla.bulkMap = {
|
68 |
inProcess: false,
|
69 |
doCancel: false,
|
70 |
chunkSize: +mla.settings.bulkChunkSize,
|
71 |
-
targetName:
|
72 |
fields: $( mla.settings.fieldsId + ' :input').serialize(),
|
73 |
-
offset:
|
74 |
-
waiting:
|
75 |
running: 0,
|
76 |
-
complete:
|
77 |
-
unchanged:
|
78 |
-
success:
|
|
|
|
|
79 |
refresh: false
|
80 |
};
|
81 |
|
@@ -95,13 +137,15 @@ var jQuery,
|
|
95 |
|
96 |
// Disable "Close" until the bulk mapping is complete
|
97 |
$( '#mla-progress-cancel' ).prop( 'disabled', false ).css( 'opacity', '1.0' );
|
|
|
|
|
98 |
$( '#mla-progress-refresh' ).hide();
|
99 |
$( '#mla-progress-close' ).prop( 'disabled', true ).css( 'opacity', '0.5' ).show();
|
100 |
$( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
|
101 |
},
|
102 |
|
103 |
bulkPost : function() {
|
104 |
-
var params, chunk, statusMessage,
|
105 |
spinner = $('#mla-progress-div p.inline-edit-save .spinner'),
|
106 |
message = $( '#mla-progress-message' ),
|
107 |
error = $( '#mla-progress-error' );
|
@@ -136,10 +180,19 @@ var jQuery,
|
|
136 |
$( '#mla-progress-meter' ).css( 'width', percentComplete );
|
137 |
$( '#mla-progress-meter' ).html( percentComplete );
|
138 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
spinner.show();
|
140 |
statusMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
|
141 |
+ ', ' + mla.settings.bulkRunning + ': ' + mla.bulkMap.running
|
142 |
+ ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
|
|
|
143 |
+ ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
|
144 |
+ ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
|
145 |
message.html( statusMessage ).show();
|
@@ -151,7 +204,7 @@ var jQuery,
|
|
151 |
}).always( function() {
|
152 |
spinner.hide();
|
153 |
}).done( function( response, status ) {
|
154 |
-
var responseData = 'no response.data', responseMessage;
|
155 |
|
156 |
if ( response ) {
|
157 |
if ( ! response.success ) {
|
@@ -181,8 +234,17 @@ var jQuery,
|
|
181 |
$( '#mla-progress-meter' ).css( 'width', percentComplete );
|
182 |
$( '#mla-progress-meter' ).html( percentComplete );
|
183 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
184 |
responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
|
185 |
+ ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
|
|
|
186 |
+ ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
|
187 |
+ ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
|
188 |
}
|
@@ -195,6 +257,8 @@ var jQuery,
|
|
195 |
|
196 |
if ( mla.bulkMap.doCancel ) {
|
197 |
message.html( mla.settings.bulkCanceled + '. ' + responseMessage ).show();
|
|
|
|
|
198 |
} else {
|
199 |
if ( mla.bulkMap.waiting ) {
|
200 |
mla.inlineMapAttachment.bulkPost();
|
30 |
var progressDiv = $( '#mla-progress-div' );
|
31 |
|
32 |
$('#mla-progress-cancel', progressDiv).off( 'click' );
|
33 |
+
$('#mla-progress-cancel', progressDiv).click( function(){
|
34 |
if ( mla.bulkMap.inProcess ) {
|
35 |
mla.bulkMap.doCancel = true;
|
36 |
return false;
|
39 |
}
|
40 |
});
|
41 |
|
42 |
+
$('#mla-progress-resume', progressDiv).off( 'click' );
|
43 |
+
$('#mla-progress-resume', progressDiv).click( function(){
|
44 |
+
var totalItems = +mla.settings.totalItems, newOffset = + $( '#mla-progress-offset' ).val();
|
45 |
+
|
46 |
+
if ( totalItems < newOffset ) {
|
47 |
+
newOffset = totalItems;
|
48 |
+
} else {
|
49 |
+
if ( 0 > newOffset ) {
|
50 |
+
newOffset = 0;
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
if ( mla.bulkMap.inProcess ) {
|
55 |
+
mla.bulkMap.doCancel = true;
|
56 |
+
return false;
|
57 |
+
} else {
|
58 |
+
return mla.inlineMapAttachment.bulkMap( mla.bulkMap.targetName, newOffset );
|
59 |
+
}
|
60 |
+
});
|
61 |
+
|
62 |
// Clicking "Refresh" submits the form, refreshing the page
|
63 |
$( '#mla-progress-refresh', progressDiv ).off( 'click' );
|
64 |
+
$( '#mla-progress-refresh', progressDiv ).click( function(){
|
65 |
$( '#mla-progress-refresh' ).prop( 'disabled', true );
|
66 |
$( '#mla-progress-refresh' ).css( 'opacity', '0.5' );
|
67 |
});
|
68 |
|
69 |
$('#mla-progress-close', progressDiv).off( 'click' );
|
70 |
+
$('#mla-progress-close', progressDiv).click( function( e ){
|
71 |
if ( mla.bulkMap.inProcess ) {
|
72 |
return false;
|
73 |
}
|
78 |
// add event handler to the Map All links
|
79 |
$( 'input[type="submit"].mla-mapping' ).click(function( e ){
|
80 |
e.preventDefault();
|
81 |
+
return mla.inlineMapAttachment.bulkMap( e.target.name, 0 );
|
|
|
82 |
});
|
83 |
},
|
84 |
|
85 |
+
bulkMap : function( action, initialOffset ) {
|
86 |
+
var oldComplete = 0, oldUnchanged = 0, oldSuccess = 0, oldSkip = 0, oldRedone = 0;
|
87 |
+
|
88 |
+
initialOffset = +initialOffset;
|
89 |
+
|
90 |
+
if ( 0 < initialOffset ) {
|
91 |
+
oldComplete = typeof mla.bulkMap.complete === 'undefined' ? 0 : mla.bulkMap.complete;
|
92 |
+
oldUnchanged = typeof mla.bulkMap.unchanged === 'undefined' ? 0 : mla.bulkMap.unchanged;
|
93 |
+
oldSuccess = typeof mla.bulkMap.success === 'undefined' ? 0 : mla.bulkMap.success;
|
94 |
+
oldSkip = typeof mla.bulkMap.skip === 'undefined' ? 0 : mla.bulkMap.skip;
|
95 |
+
oldRedone = typeof mla.bulkMap.redone === 'undefined' ? 0 : mla.bulkMap.redone;
|
96 |
+
}
|
97 |
+
|
98 |
+
// See if we're skipping or re-processing any items
|
99 |
+
if ( oldComplete < initialOffset ) {
|
100 |
+
oldSkip += initialOffset - oldComplete;
|
101 |
+
} else {
|
102 |
+
if ( oldComplete > initialOffset ) {
|
103 |
+
oldRedone += oldComplete - initialOffset;
|
104 |
+
}
|
105 |
+
}
|
106 |
+
|
107 |
mla.bulkMap = {
|
108 |
inProcess: false,
|
109 |
doCancel: false,
|
110 |
chunkSize: +mla.settings.bulkChunkSize,
|
111 |
+
targetName: action,
|
112 |
fields: $( mla.settings.fieldsId + ' :input').serialize(),
|
113 |
+
offset: initialOffset,
|
114 |
+
waiting: mla.settings.totalItems - initialOffset,
|
115 |
running: 0,
|
116 |
+
complete: initialOffset,
|
117 |
+
unchanged: oldUnchanged,
|
118 |
+
success: oldSuccess,
|
119 |
+
skip: oldSkip,
|
120 |
+
redone: oldRedone,
|
121 |
refresh: false
|
122 |
};
|
123 |
|
137 |
|
138 |
// Disable "Close" until the bulk mapping is complete
|
139 |
$( '#mla-progress-cancel' ).prop( 'disabled', false ).css( 'opacity', '1.0' );
|
140 |
+
$( '#mla-progress-resume' ).hide();
|
141 |
+
$( '#mla-progress-offset' ).hide();
|
142 |
$( '#mla-progress-refresh' ).hide();
|
143 |
$( '#mla-progress-close' ).prop( 'disabled', true ).css( 'opacity', '0.5' ).show();
|
144 |
$( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
|
145 |
},
|
146 |
|
147 |
bulkPost : function() {
|
148 |
+
var params, chunk, statusMessage = '',
|
149 |
spinner = $('#mla-progress-div p.inline-edit-save .spinner'),
|
150 |
message = $( '#mla-progress-message' ),
|
151 |
error = $( '#mla-progress-error' );
|
180 |
$( '#mla-progress-meter' ).css( 'width', percentComplete );
|
181 |
$( '#mla-progress-meter' ).html( percentComplete );
|
182 |
|
183 |
+
if ( 0 < mla.bulkMap.skip ) {
|
184 |
+
statusMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
|
185 |
+
}
|
186 |
+
|
187 |
+
if ( 0 < mla.bulkMap.redone ) {
|
188 |
+
statusMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
|
189 |
+
}
|
190 |
+
|
191 |
spinner.show();
|
192 |
statusMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
|
193 |
+ ', ' + mla.settings.bulkRunning + ': ' + mla.bulkMap.running
|
194 |
+ ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
|
195 |
+
+ statusMessage // skip and redone
|
196 |
+ ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
|
197 |
+ ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
|
198 |
message.html( statusMessage ).show();
|
204 |
}).always( function() {
|
205 |
spinner.hide();
|
206 |
}).done( function( response, status ) {
|
207 |
+
var responseData = 'no response.data', responseMessage = '';
|
208 |
|
209 |
if ( response ) {
|
210 |
if ( ! response.success ) {
|
234 |
$( '#mla-progress-meter' ).css( 'width', percentComplete );
|
235 |
$( '#mla-progress-meter' ).html( percentComplete );
|
236 |
|
237 |
+
if ( 0 < mla.bulkMap.skip ) {
|
238 |
+
responseMessage += ', ' + mla.settings.bulkSkip + ': ' + mla.bulkMap.skip;
|
239 |
+
}
|
240 |
+
|
241 |
+
if ( 0 < mla.bulkMap.redone ) {
|
242 |
+
responseMessage += ', ' + mla.settings.bulkRedone + ': ' + mla.bulkMap.redone;
|
243 |
+
}
|
244 |
+
|
245 |
responseMessage = mla.settings.bulkWaiting + ': ' + mla.bulkMap.waiting
|
246 |
+ ', ' + mla.settings.bulkComplete + ': ' + mla.bulkMap.complete
|
247 |
+
+ responseMessage // skip and redone
|
248 |
+ ', ' + mla.settings.bulkUnchanged + ': ' + mla.bulkMap.unchanged
|
249 |
+ ', ' + mla.settings.bulkSuccess + ': ' + mla.bulkMap.success;
|
250 |
}
|
257 |
|
258 |
if ( mla.bulkMap.doCancel ) {
|
259 |
message.html( mla.settings.bulkCanceled + '. ' + responseMessage ).show();
|
260 |
+
$( '#mla-progress-resume' ).show();
|
261 |
+
$( '#mla-progress-offset' ).val( mla.bulkMap.complete ).show();
|
262 |
} else {
|
263 |
if ( mla.bulkMap.waiting ) {
|
264 |
mla.inlineMapAttachment.bulkPost();
|
js/mla-inline-mapping-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
var jQuery,mla_inline_mapping_vars,mla={settings:{},bulkMap:{inProcess:false,doCancel:false},utility:{},inlineMapAttachment:null};(function(a){mla.settings=typeof mla_inline_mapping_vars==="undefined"?{}:mla_inline_mapping_vars;mla_inline_mapping_vars=void 0;mla.inlineMapAttachment={init:function(){var b=a("#mla-progress-div");a("#mla-progress-cancel",b).off("click");a("#mla-progress-cancel",b).click(function(){if(mla.bulkMap.inProcess){mla.bulkMap.doCancel=true;return false}else{return mla.inlineMapAttachment.revert()}});a("#mla-progress-refresh",b).off("click");a("#mla-progress-refresh",b).click(function(){a("#mla-progress-refresh").prop("disabled",true);a("#mla-progress-refresh").css("opacity","0.5")});a("#mla-progress-close",b).off("click");a("#mla-progress-close",b).click(function(c){if(mla.bulkMap.inProcess){return false}return mla.inlineMapAttachment.revert()});a('input[type="submit"].mla-mapping').click(function(c){c.preventDefault();return mla.inlineMapAttachment.bulkMap(c)
|
1 |
+
var jQuery,mla_inline_mapping_vars,mla={settings:{},bulkMap:{inProcess:false,doCancel:false},utility:{},inlineMapAttachment:null};(function(a){mla.settings=typeof mla_inline_mapping_vars==="undefined"?{}:mla_inline_mapping_vars;mla_inline_mapping_vars=void 0;mla.inlineMapAttachment={init:function(){var b=a("#mla-progress-div");a("#mla-progress-cancel",b).off("click");a("#mla-progress-cancel",b).click(function(){if(mla.bulkMap.inProcess){mla.bulkMap.doCancel=true;return false}else{return mla.inlineMapAttachment.revert()}});a("#mla-progress-resume",b).off("click");a("#mla-progress-resume",b).click(function(){var c=+mla.settings.totalItems,d=+a("#mla-progress-offset").val();if(c<d){d=c}else{if(0>d){d=0}}if(mla.bulkMap.inProcess){mla.bulkMap.doCancel=true;return false}else{return mla.inlineMapAttachment.bulkMap(mla.bulkMap.targetName,d)}});a("#mla-progress-refresh",b).off("click");a("#mla-progress-refresh",b).click(function(){a("#mla-progress-refresh").prop("disabled",true);a("#mla-progress-refresh").css("opacity","0.5")});a("#mla-progress-close",b).off("click");a("#mla-progress-close",b).click(function(c){if(mla.bulkMap.inProcess){return false}return mla.inlineMapAttachment.revert()});a('input[type="submit"].mla-mapping').click(function(c){c.preventDefault();return mla.inlineMapAttachment.bulkMap(c.target.name,0)})},bulkMap:function(e,b){var d=0,c=0,g=0,f=0,h=0;b=+b;if(0<b){d=typeof mla.bulkMap.complete==="undefined"?0:mla.bulkMap.complete;c=typeof mla.bulkMap.unchanged==="undefined"?0:mla.bulkMap.unchanged;g=typeof mla.bulkMap.success==="undefined"?0:mla.bulkMap.success;f=typeof mla.bulkMap.skip==="undefined"?0:mla.bulkMap.skip;h=typeof mla.bulkMap.redone==="undefined"?0:mla.bulkMap.redone}if(d<b){f+=b-d}else{if(d>b){h+=d-b}}mla.bulkMap={inProcess:false,doCancel:false,chunkSize:+mla.settings.bulkChunkSize,targetName:e,fields:a(mla.settings.fieldsId+" :input").serialize(),offset:b,waiting:mla.settings.totalItems-b,running:0,complete:b,unchanged:c,success:g,skip:f,redone:h,refresh:false};mla.inlineMapAttachment.progressOpen();mla.inlineMapAttachment.bulkPost();return false},progressOpen:function(){this.revert();a("#mla-progress-meter").css("width","0%");a("#mla-progress-meter").html("0%");a("#mla-progress-message").html("");a("#mla-progress-error").html("");a("#mla-progress-div").show();a("#mla-progress-cancel").prop("disabled",false).css("opacity","1.0");a("#mla-progress-resume").hide();a("#mla-progress-offset").hide();a("#mla-progress-refresh").hide();a("#mla-progress-close").prop("disabled",true).css("opacity","0.5").show();a("html, body").animate({scrollTop:0},"fast")},bulkPost:function(){var g,c,f="",e=a("#mla-progress-div p.inline-edit-save .spinner"),d=a("#mla-progress-message"),b=a("#mla-progress-error");if(mla.bulkMap.waiting<mla.bulkMap.chunkSize){c=mla.bulkMap.waiting}else{c=mla.bulkMap.chunkSize}mla.bulkMap.waiting-=c;mla.bulkMap.running=c;g={page:mla.settings.page,mla_tab:mla.settings.mla_tab,screen:mla.settings.screen,action:mla.settings.ajax_action,nonce:mla.settings.ajax_nonce,bulk_action:mla.bulkMap.targetName,offset:mla.bulkMap.complete,length:c};g=a.param(g)+"&"+mla.bulkMap.fields;mla.bulkMap.inProcess=true;percentComplete=Math.floor((100*mla.bulkMap.complete)/mla.settings.totalItems)+"%";a("#mla-progress-meter").css("width",percentComplete);a("#mla-progress-meter").html(percentComplete);if(0<mla.bulkMap.skip){f+=", "+mla.settings.bulkSkip+": "+mla.bulkMap.skip}if(0<mla.bulkMap.redone){f+=", "+mla.settings.bulkRedone+": "+mla.bulkMap.redone}e.show();f=mla.settings.bulkWaiting+": "+mla.bulkMap.waiting+", "+mla.settings.bulkRunning+": "+mla.bulkMap.running+", "+mla.settings.bulkComplete+": "+mla.bulkMap.complete+f+", "+mla.settings.bulkUnchanged+": "+mla.bulkMap.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkMap.success;d.html(f).show();a.ajax(ajaxurl,{type:"POST",data:g,dataType:"json"}).always(function(){e.hide()}).done(function(j,i){var k="no response.data",h="";if(j){if(!j.success){if(j.responseData){k=j.data}b.html(JSON.stringify(j));mla.bulkMap.waiting=0}else{if(0==j.data.processed){h=j.data.message;mla.bulkMap.waiting=0}else{mla.bulkMap.complete+=j.data.processed;mla.bulkMap.running=0;mla.bulkMap.unchanged+=j.data.unchanged;mla.bulkMap.success+=j.data.success;if("undefined"!==typeof j.data.refresh){mla.bulkMap.refresh=j.data.refresh}percentComplete=Math.floor((100*mla.bulkMap.complete)/mla.settings.totalItems)+"%";a("#mla-progress-meter").css("width",percentComplete);a("#mla-progress-meter").html(percentComplete);if(0<mla.bulkMap.skip){h+=", "+mla.settings.bulkSkip+": "+mla.bulkMap.skip}if(0<mla.bulkMap.redone){h+=", "+mla.settings.bulkRedone+": "+mla.bulkMap.redone}h=mla.settings.bulkWaiting+": "+mla.bulkMap.waiting+", "+mla.settings.bulkComplete+": "+mla.bulkMap.complete+h+", "+mla.settings.bulkUnchanged+": "+mla.bulkMap.unchanged+", "+mla.settings.bulkSuccess+": "+mla.bulkMap.success}d.html(h).show()}}else{b.html(mla.settings.error);mla.bulkMap.waiting=0}if(mla.bulkMap.doCancel){d.html(mla.settings.bulkCanceled+". "+h).show();a("#mla-progress-resume").show();a("#mla-progress-offset").val(mla.bulkMap.complete).show()}else{if(mla.bulkMap.waiting){mla.inlineMapAttachment.bulkPost();return}}if(mla.bulkMap.refresh){a("#mla-progress-close").hide();a("#mla-progress-refresh").prop("disabled",false).css("opacity","1.0").show()}else{a("#mla-progress-close").prop("disabled",false).css("opacity","1.0")}a("#mla-progress-cancel").prop("disabled",true).css("opacity","0.5");mla.bulkMap.inProcess=false}).fail(function(i,h){if(200==i.status){b.html("("+h+") "+i.responseText)}else{b.html(mla.settings.ajaxFailError+" ("+h+"), jqXHR( "+i.status+", "+i.statusText+", "+i.responseText+")")}})},revert:function(){var b=a("#mla-progress-div");if(b){a("p.inline-edit-save .spinner",b).hide();a(b).hide()}return false}};a(document).ready(function(){mla.inlineMapAttachment.init()})})(jQuery);
|
js/mla-set-parent-scripts.js
CHANGED
@@ -2,6 +2,18 @@
|
|
2 |
|
3 |
var jQuery;
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
( function( $ ) {
|
6 |
/**
|
7 |
* setParent displays a popup modal window with a post/page list
|
2 |
|
3 |
var jQuery;
|
4 |
|
5 |
+
/*
|
6 |
+
* This script requires the global "mla" object to be defined and include the following:
|
7 |
+
*
|
8 |
+
* properties:
|
9 |
+
* mla.settings.useDashicons
|
10 |
+
* mla.settings.ajaxDoneError
|
11 |
+
* mla.settings.ajaxFailError
|
12 |
+
*
|
13 |
+
* components:
|
14 |
+
* mla.setParent
|
15 |
+
*/
|
16 |
+
|
17 |
( function( $ ) {
|
18 |
/**
|
19 |
* setParent displays a popup modal window with a post/page list
|
languages/MLA Internationalization Guide.pdf
CHANGED
Binary file
|
languages/media-library-assistant-en_US.pot
CHANGED
@@ -1,668 +1,831 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
-
"POT-Creation-Date: 2015-
|
5 |
-
"PO-Revision-Date: 2015-
|
6 |
"Last-Translator: David Lingren <david@fairtradejudaica.org>\n"
|
7 |
"Language-Team: David Lingren <david@fairtradejudaica.org>\n"
|
8 |
"Language: en_US\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c\n"
|
|
|
17 |
"X-Poedit-SearchPath-0: includes\n"
|
18 |
"X-Poedit-SearchPath-1: tests\n"
|
19 |
|
20 |
-
#. translators: 1: path and file name
|
21 |
#: includes/class-mla-data.php:101
|
22 |
#, php-format
|
23 |
msgctxt "error_log"
|
24 |
-
msgid "
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
#: includes/class-mla-data.php:119
|
29 |
#, php-format
|
30 |
msgctxt "error_log"
|
31 |
-
msgid "
|
32 |
msgstr ""
|
33 |
|
34 |
-
#. translators: 1: template excerpt
|
35 |
#: includes/class-mla-data.php:198
|
36 |
#, php-format
|
37 |
msgctxt "error_log"
|
38 |
msgid ""
|
39 |
-
"
|
40 |
msgstr ""
|
41 |
|
42 |
-
#. translators: 1: template excerpt
|
43 |
#: includes/class-mla-data.php:257
|
44 |
#, php-format
|
45 |
msgctxt "error_log"
|
46 |
msgid ""
|
47 |
-
"
|
48 |
msgstr ""
|
49 |
|
50 |
-
#. translators: 1: template excerpt
|
51 |
#: includes/class-mla-data.php:345
|
52 |
#, php-format
|
53 |
msgctxt "error_log"
|
54 |
-
msgid "
|
55 |
msgstr ""
|
56 |
|
57 |
-
#. translators: 1: template string
|
58 |
#: includes/class-mla-data.php:389
|
59 |
#, php-format
|
60 |
msgctxt "error_log"
|
61 |
-
msgid "
|
62 |
msgstr ""
|
63 |
|
64 |
#: includes/class-mla-data.php:492
|
65 |
-
msgid "
|
66 |
msgstr ""
|
67 |
|
68 |
-
#. translators: 1: node type, e.g., template
|
69 |
-
#: includes/class-mla-data.php:
|
70 |
#, php-format
|
71 |
msgctxt "error_log"
|
72 |
-
msgid "
|
73 |
msgstr ""
|
74 |
|
75 |
-
#. translators: 1: node type, e.g., template
|
76 |
-
#: includes/class-mla-data.php:
|
77 |
#, php-format
|
78 |
msgctxt "error_log"
|
79 |
-
msgid "
|
80 |
msgstr ""
|
81 |
|
82 |
-
#. translators: 1: template excerpt
|
83 |
-
#: includes/class-mla-data.php:
|
84 |
#, php-format
|
85 |
msgctxt "error_log"
|
86 |
msgid ""
|
87 |
-
"
|
88 |
"\"."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#. translators: 1: function name
|
92 |
-
#: includes/class-mla-data.php:
|
93 |
-
#: includes/class-mla-main.php:
|
|
|
94 |
#: includes/class-mla-mime-types.php:483
|
95 |
#: includes/class-mla-mime-types.php:1218
|
96 |
-
#: includes/class-mla-mime-types.php:2361 includes/class-mla-settings.php:
|
97 |
-
#: includes/class-mla-settings.php:
|
98 |
#, php-format
|
99 |
msgctxt "error_log"
|
100 |
-
msgid "
|
101 |
msgstr ""
|
102 |
|
103 |
-
#. translators: 1: query filter details
|
104 |
-
#: includes/class-mla-data.php:
|
105 |
#, php-format
|
106 |
-
msgid "_execute_list_table_query $wp_filter = \"%
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
msgstr ""
|
108 |
|
109 |
-
#. translators: 1: query filter details
|
110 |
-
#: includes/class-mla-data.php:
|
111 |
#, php-format
|
112 |
msgctxt "error_log"
|
113 |
-
msgid "
|
114 |
msgstr ""
|
115 |
|
116 |
-
#. translators: 1: query details
|
117 |
-
#: includes/class-mla-data.php:
|
118 |
#, php-format
|
119 |
-
msgid "_execute_list_table_query WP_Query = \"%
|
120 |
msgstr ""
|
121 |
|
122 |
-
#. translators: 1: SQL statement
|
123 |
-
#: includes/class-mla-data.php:
|
124 |
#, php-format
|
125 |
-
msgid "_execute_list_table_query SQL_request = \"%
|
126 |
msgstr ""
|
127 |
|
128 |
-
#. translators: 1: query details
|
129 |
-
#: includes/class-mla-data.php:
|
130 |
#, php-format
|
131 |
msgctxt "error_log"
|
132 |
-
msgid "
|
133 |
msgstr ""
|
134 |
|
135 |
-
#. translators: 1: SQL statement
|
136 |
-
#: includes/class-mla-data.php:
|
137 |
#, php-format
|
138 |
msgctxt "error_log"
|
139 |
-
msgid "
|
140 |
msgstr ""
|
141 |
|
142 |
-
#. translators: 1: search filter details
|
143 |
-
#: includes/class-mla-data.php:
|
144 |
#, php-format
|
145 |
-
msgid "mla_query_posts_search_filter = \"%
|
146 |
msgstr ""
|
147 |
|
148 |
-
#. translators: 1: search filter details
|
149 |
-
#: includes/class-mla-data.php:
|
150 |
#, php-format
|
151 |
msgctxt "error_log"
|
152 |
-
msgid "
|
153 |
msgstr ""
|
154 |
|
155 |
-
#. translators: 1: where filter details
|
156 |
-
#: includes/class-mla-data.php:
|
157 |
#, php-format
|
158 |
-
msgid "mla_query_posts_where_filter = \"%
|
159 |
msgstr ""
|
160 |
|
161 |
-
#. translators: 1: where filter details
|
162 |
-
#: includes/class-mla-data.php:
|
163 |
#, php-format
|
164 |
msgctxt "error_log"
|
165 |
-
msgid "
|
166 |
msgstr ""
|
167 |
|
168 |
-
#. translators: 1: join filter details
|
169 |
-
#: includes/class-mla-data.php:
|
170 |
#, php-format
|
171 |
-
msgid "mla_query_posts_join_filter = \"%
|
172 |
msgstr ""
|
173 |
|
174 |
-
#. translators: 1: join filter details
|
175 |
-
#: includes/class-mla-data.php:
|
176 |
#, php-format
|
177 |
msgctxt "error_log"
|
178 |
-
msgid "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#. translators: 1: orderby details details
|
182 |
-
#: includes/class-mla-data.php:
|
183 |
#, php-format
|
184 |
-
msgid "mla_query_posts_orderby_filter = \"%
|
185 |
msgstr ""
|
186 |
|
187 |
-
#. translators: 1: orderby details details
|
188 |
-
#: includes/class-mla-data.php:
|
189 |
#, php-format
|
190 |
msgctxt "error_log"
|
191 |
-
msgid "
|
192 |
msgstr ""
|
193 |
|
194 |
-
#. translators: 1: SQL clauses
|
195 |
-
#: includes/class-mla-data.php:
|
196 |
#, php-format
|
197 |
-
msgid "mla_query_posts_clauses_filter = \"%
|
198 |
msgstr ""
|
199 |
|
200 |
-
#. translators: 1: SQL clauses
|
201 |
-
#: includes/class-mla-data.php:
|
202 |
#, php-format
|
203 |
msgctxt "error_log"
|
204 |
-
msgid "
|
205 |
msgstr ""
|
206 |
|
207 |
-
#. translators: 1: SQL clauses
|
208 |
-
#: includes/class-mla-data.php:
|
209 |
#, php-format
|
210 |
-
msgid "mla_query_posts_clauses_request_filter = \"%
|
211 |
msgstr ""
|
212 |
|
213 |
-
#. translators: 1: SQL clauses
|
214 |
-
#: includes/class-mla-data.php:
|
215 |
#, php-format
|
216 |
msgctxt "error_log"
|
217 |
-
msgid "
|
218 |
msgstr ""
|
219 |
|
220 |
-
#. translators: 1: post ID
|
221 |
-
#: includes/class-mla-data.php:
|
222 |
#, php-format
|
223 |
msgctxt "error_log"
|
224 |
-
msgid "
|
225 |
msgstr ""
|
226 |
|
227 |
-
#. translators: 1: post ID
|
228 |
-
#: includes/class-mla-data.php:
|
229 |
#, php-format
|
230 |
msgctxt "error_log"
|
231 |
-
msgid "
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: includes/class-mla-data.php:
|
235 |
-
#: includes/class-mla-list-table.php:
|
236 |
msgid "NO REFERENCE TESTS"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: includes/class-mla-data.php:
|
240 |
-
#: includes/class-mla-options.php:
|
241 |
msgid "ORPHAN"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/class-mla-data.php:
|
245 |
msgid "UNUSED"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: includes/class-mla-data.php:
|
249 |
msgid "UNATTACHED"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/class-mla-data.php:
|
253 |
msgid "INVALID PARENT"
|
254 |
msgstr ""
|
255 |
|
256 |
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
257 |
-
#: includes/class-mla-data.php:
|
258 |
#, php-format
|
259 |
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
260 |
msgstr ""
|
261 |
|
262 |
-
#. translators: 1: index
|
263 |
-
#: includes/class-mla-data.php:
|
264 |
#, php-format
|
265 |
msgctxt "error_log"
|
266 |
-
msgid "
|
267 |
msgstr ""
|
268 |
|
269 |
-
#. translators: 1: source offset
|
270 |
-
#: includes/class-mla-data.php:
|
271 |
#, php-format
|
272 |
msgctxt "error_log"
|
273 |
-
msgid "
|
274 |
msgstr ""
|
275 |
|
276 |
-
#. translators: 1: dictionary excerpt
|
277 |
-
#: includes/class-mla-data.php:
|
278 |
#, php-format
|
279 |
msgctxt "error_log"
|
280 |
-
msgid "
|
281 |
msgstr ""
|
282 |
|
283 |
-
#. translators: 1: entry name
|
284 |
-
#: includes/class-mla-data.php:
|
285 |
#, php-format
|
286 |
msgctxt "error_log"
|
287 |
-
msgid "
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/class-mla-data.php:
|
291 |
msgctxt "error_log"
|
292 |
-
msgid "
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: includes/class-mla-data.php:
|
296 |
msgctxt "error_log"
|
297 |
-
msgid "
|
298 |
msgstr ""
|
299 |
|
300 |
-
#. translators: 1: path and file
|
301 |
-
#: includes/class-mla-data.php:
|
302 |
#, php-format
|
303 |
msgctxt "error_log"
|
304 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
305 |
msgstr ""
|
306 |
|
307 |
#. translators: 1: meta_key
|
308 |
-
#: includes/class-mla-data.php:
|
309 |
#, php-format
|
310 |
-
msgid "Deleting
|
311 |
msgstr ""
|
312 |
|
313 |
-
#. translators: 1: meta_key
|
314 |
-
#: includes/class-mla-data.php:
|
315 |
#, php-format
|
316 |
-
msgid "
|
317 |
msgstr ""
|
318 |
|
319 |
#. translators: 1: meta_key 2: meta_value
|
320 |
-
|
|
|
|
|
|
|
321 |
#, php-format
|
322 |
-
msgid "Adding
|
323 |
msgstr ""
|
324 |
|
325 |
-
#. translators: 1: meta_key
|
326 |
-
#: includes/class-mla-data.php:
|
327 |
#, php-format
|
328 |
-
msgid "
|
329 |
msgstr ""
|
330 |
|
331 |
#. translators: 1: meta_key
|
332 |
-
#: includes/class-mla-data.php:
|
333 |
#, php-format
|
334 |
msgid "Deleting Null meta:%1$s"
|
335 |
msgstr ""
|
336 |
|
337 |
#. translators: 1: element name 2: old_value 3: new_value
|
338 |
-
#: includes/class-mla-data.php:
|
339 |
-
#: includes/class-mla-data.php:
|
340 |
-
#: includes/class-mla-data.php:
|
341 |
-
#: includes/class-mla-data.php:
|
342 |
-
#: includes/class-mla-data.php:
|
343 |
-
#: includes/class-mla-data.php:
|
344 |
#: includes/class-mla-mime-types.php:1052
|
345 |
#: includes/class-mla-mime-types.php:2125
|
346 |
#, php-format
|
347 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
348 |
msgstr ""
|
349 |
|
350 |
-
#. translators: 1: meta_key
|
351 |
-
#: includes/class-mla-data.php:
|
352 |
-
#, php-format
|
353 |
-
msgid "ERROR: Changing meta:%1$s; not found"
|
354 |
-
msgstr ""
|
355 |
-
|
356 |
-
#. translators: 1: meta_key
|
357 |
-
#: includes/class-mla-data.php:5597
|
358 |
-
#, php-format
|
359 |
-
msgid "Deleting %1$s"
|
360 |
-
msgstr ""
|
361 |
-
|
362 |
-
#. translators: 1: meta_key 2: new_value
|
363 |
-
#: includes/class-mla-data.php:5608
|
364 |
#, php-format
|
365 |
-
msgid "
|
366 |
-
msgstr ""
|
367 |
-
|
368 |
-
#. translators: 1: meta_key 2: meta_value
|
369 |
-
#: includes/class-mla-data.php:5614
|
370 |
-
#, php-format
|
371 |
-
msgid "Adding %1$s = %2$s"
|
372 |
msgstr ""
|
373 |
|
374 |
#. translators: 1: meta_key
|
375 |
-
#: includes/class-mla-data.php:
|
376 |
#, php-format
|
377 |
msgid "Deleting old %1$s values"
|
378 |
msgstr ""
|
379 |
|
380 |
#. translators: 1: meta_key 2: old_value 3: new_value 4: update count
|
381 |
-
#: includes/class-mla-data.php:
|
382 |
#, php-format
|
383 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: includes/class-mla-data.php:
|
387 |
-
msgid "
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: includes/class-mla-data.php:
|
391 |
-
#: includes/class-mla-main.php:
|
392 |
-
#: includes/class-mla-main.php:
|
393 |
-
#: includes/class-mla-
|
|
|
394 |
#: includes/mla-main-search-box-template.php:42
|
395 |
#: includes/mla-media-modal-js-template.php:32
|
396 |
msgid "Title"
|
397 |
msgstr ""
|
398 |
|
399 |
-
#. translators: 1: old_value
|
400 |
-
#: includes/class-mla-data.php:
|
401 |
#, php-format
|
402 |
-
msgid "
|
403 |
msgstr ""
|
404 |
|
405 |
-
#: includes/class-mla-data.php:
|
406 |
-
#: includes/class-mla-main.php:
|
|
|
407 |
msgid "Name/Slug"
|
408 |
msgstr ""
|
409 |
|
410 |
#. translators: 1: old_value
|
411 |
-
#: includes/class-mla-data.php:
|
412 |
#, php-format
|
413 |
msgid "Deleting ALT Text, was \"%1$s\""
|
414 |
msgstr ""
|
415 |
|
416 |
-
#. translators: 1: old_value
|
417 |
-
#: includes/class-mla-data.php:
|
418 |
#, php-format
|
419 |
-
msgid "
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: includes/class-mla-data.php:
|
423 |
-
#: includes/class-mla-
|
424 |
-
#: includes/class-mla-
|
|
|
425 |
#: includes/mla-main-search-box-template.php:44
|
426 |
#: includes/mla-media-modal-js-template.php:40
|
427 |
msgid "ALT Text"
|
428 |
msgstr ""
|
429 |
|
430 |
-
#. translators: 1:
|
431 |
-
#: includes/class-mla-data.php:
|
432 |
#, php-format
|
433 |
-
msgid "
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: includes/class-mla-data.php:
|
437 |
-
#: includes/class-mla-main.php:
|
438 |
-
#: includes/class-mla-options.php:
|
439 |
#: includes/mla-main-search-box-template.php:45
|
440 |
#: includes/mla-media-modal-js-template.php:45
|
441 |
msgid "Caption"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: includes/class-mla-data.php:
|
445 |
-
#: includes/class-mla-main.php:
|
446 |
-
#: includes/class-mla-options.php:
|
447 |
-
#: includes/class-mla-settings.php:
|
448 |
-
#: includes/class-mla-settings.php:
|
449 |
#: includes/mla-main-search-box-template.php:46
|
450 |
#: includes/mla-media-modal-js-template.php:49
|
451 |
msgid "Description"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#: includes/class-mla-data.php:
|
455 |
-
#: includes/class-mla-list-table.php:
|
456 |
-
#: includes/class-mla-options.php:
|
457 |
msgid "Parent"
|
458 |
msgstr ""
|
459 |
|
460 |
-
#: includes/class-mla-data.php:
|
461 |
-
#: includes/class-mla-edit-media.php:
|
462 |
-
#: includes/class-mla-main.php:
|
463 |
-
#: includes/class-mla-settings.php:
|
464 |
msgid "Menu Order"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: includes/class-mla-data.php:
|
468 |
-
#: includes/class-mla-
|
469 |
-
#: includes/class-mla-main.php:
|
470 |
msgid "Author"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: includes/class-mla-data.php:
|
|
|
474 |
msgid "Comments"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: includes/class-mla-data.php:
|
|
|
478 |
msgid "Pings"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: includes/class-mla-data.php:
|
482 |
msgid "Adding"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: includes/class-mla-data.php:
|
486 |
msgid "Removing"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: includes/class-mla-data.php:
|
490 |
msgid "Replacing"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: includes/class-mla-data.php:
|
494 |
msgid "Ignoring"
|
495 |
msgstr ""
|
496 |
|
497 |
#. translators: 1: action_name, 2: taxonomy
|
498 |
-
#: includes/class-mla-data.php:
|
499 |
#, php-format
|
500 |
msgid "%1$s \"%2$s\" terms"
|
501 |
msgstr ""
|
502 |
|
503 |
#. translators: 1: taxonomy
|
504 |
-
#: includes/class-mla-data.php:
|
505 |
#, php-format
|
506 |
msgid "You cannot assign \"%1$s\" terms"
|
507 |
msgstr ""
|
508 |
|
509 |
#. translators: 1: post ID
|
510 |
-
#: includes/class-mla-data.php:
|
511 |
#, php-format
|
512 |
msgid "Item %1$d, no changes detected."
|
513 |
msgstr ""
|
514 |
|
515 |
#. translators: 1: post ID
|
516 |
-
#: includes/class-mla-data.php:
|
517 |
#, php-format
|
518 |
msgid "Item %1$d updated."
|
519 |
msgstr ""
|
520 |
|
521 |
-
#. translators: 1: post ID
|
522 |
-
#: includes/class-mla-data.php:
|
523 |
#, php-format
|
524 |
-
msgid "
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: includes/class-mla-edit-media.php:
|
528 |
-
#: includes/class-mla-
|
529 |
-
#: includes/class-mla-main.php:
|
530 |
-
#: includes/class-mla-
|
|
|
531 |
msgctxt "tag_delimiter"
|
532 |
msgid ","
|
533 |
msgstr ""
|
534 |
|
535 |
-
#: includes/class-mla-edit-media.php:
|
|
|
|
|
|
|
|
|
|
|
536 |
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
537 |
msgstr ""
|
538 |
|
539 |
-
#: includes/class-mla-edit-media.php:
|
|
|
540 |
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
541 |
msgstr ""
|
542 |
|
543 |
-
#: includes/class-mla-edit-media.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
544 |
msgid "Custom field mapping updated."
|
545 |
msgstr ""
|
546 |
|
547 |
-
#: includes/class-mla-edit-media.php:
|
548 |
msgid "IPTC/EXIF mapping updated."
|
549 |
msgstr ""
|
550 |
|
551 |
#. translators: date_i18n format for last modified date and time
|
552 |
-
#: includes/class-mla-edit-media.php:
|
553 |
msgid "M j, Y @ G:i"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: includes/class-mla-edit-media.php:
|
557 |
msgid "Last modified"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: includes/class-mla-edit-media.php:
|
561 |
msgid "Map Custom Field metadata for this item"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: includes/class-mla-edit-media.php:
|
565 |
-
#: includes/class-mla-main.php:
|
566 |
msgid "Map Custom Field Metadata"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: includes/class-mla-edit-media.php:
|
570 |
msgid "Map IPTC/EXIF metadata for this item"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: includes/class-mla-edit-media.php:
|
574 |
msgid "Map IPTC/EXIF Metadata"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: includes/class-mla-edit-media.php:
|
578 |
-
#: includes/class-mla-main.php:
|
579 |
msgid "Parent Info"
|
580 |
msgstr ""
|
581 |
|
582 |
-
#: includes/class-mla-edit-media.php:
|
583 |
msgid "Attachment Metadata"
|
584 |
msgstr ""
|
585 |
|
586 |
-
#: includes/class-mla-edit-media.php:
|
587 |
-
#: includes/class-mla-main.php:
|
588 |
msgid "Featured in"
|
589 |
msgstr ""
|
590 |
|
591 |
-
#: includes/class-mla-edit-media.php:
|
592 |
-
#: includes/class-mla-main.php:
|
593 |
msgid "Inserted in"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: includes/class-mla-edit-media.php:
|
597 |
-
#: includes/class-mla-main.php:
|
598 |
-
#: includes/class-mla-settings.php:
|
599 |
msgid "Gallery in"
|
600 |
msgstr ""
|
601 |
|
602 |
-
#: includes/class-mla-edit-media.php:
|
603 |
-
#: includes/class-mla-main.php:
|
604 |
-
#: includes/class-mla-settings.php:
|
605 |
msgid "MLA Gallery in"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#. translators: 1: function name
|
609 |
-
#: includes/class-mla-edit-media.php:
|
610 |
-
#: includes/class-mla-settings.php:
|
611 |
#, php-format
|
612 |
msgctxt "error_log"
|
613 |
-
msgid "
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: includes/class-mla-edit-media.php:
|
617 |
-
#: includes/class-mla-main.php:
|
618 |
msgid "Scheduled"
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: includes/class-mla-edit-media.php:
|
622 |
msgctxt "post state"
|
623 |
msgid "Pending"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: includes/class-mla-edit-media.php:
|
627 |
-
#: includes/class-mla-main.php:
|
628 |
msgid "Draft"
|
629 |
msgstr ""
|
630 |
|
631 |
-
#: includes/class-mla-edit-media.php:
|
632 |
msgid "Post Parent"
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: includes/class-mla-edit-media.php:
|
636 |
msgid "Select Parent"
|
637 |
msgstr ""
|
638 |
|
639 |
-
#: includes/class-mla-edit-media.php:
|
640 |
-
#: includes/class-mla-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
#: includes/class-mla-
|
645 |
-
#: includes/class-mla-
|
646 |
-
#: includes/class-mla-
|
647 |
-
#: includes/class-mla-list-table.php:1151
|
648 |
-
#: includes/class-mla-list-table.php:1197
|
649 |
-
#: includes/class-mla-list-table.php:1242 includes/class-mla-main.php:2323
|
650 |
-
#: includes/class-mla-main.php:2342 includes/class-mla-main.php:2359
|
651 |
-
#: includes/class-mla-main.php:2375
|
652 |
msgid "PARENT"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#: includes/class-mla-edit-media.php:
|
656 |
msgid "Most Used"
|
657 |
msgstr ""
|
658 |
|
659 |
#. translators: %s: add new taxonomy label
|
660 |
-
#: includes/class-mla-edit-media.php:
|
661 |
#, php-format
|
662 |
msgid "+ %s"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: includes/class-mla-edit-media.php:
|
666 |
msgid "? Search"
|
667 |
msgstr ""
|
668 |
|
@@ -775,32 +938,26 @@ msgstr ""
|
|
775 |
msgid "All"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: includes/class-mla-list-table.php:
|
779 |
-
#: includes/class-mla-
|
780 |
-
#: includes/class-mla-
|
781 |
-
|
782 |
-
msgstr ""
|
783 |
-
|
784 |
-
#: includes/class-mla-list-table.php:625
|
785 |
-
#: includes/class-mla-list-table.php:1337 includes/class-mla-options.php:598
|
786 |
-
#: includes/class-mla-options.php:788 includes/class-mla-options.php:812
|
787 |
-
#: includes/class-mla-options.php:826 includes/class-mla-settings.php:2290
|
788 |
msgid "None"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: includes/class-mla-list-table.php:
|
792 |
-
#: includes/class-mla-list-table.php:
|
793 |
-
#: includes/class-mla-list-table.php:
|
794 |
-
#: includes/class-mla-list-table.php:
|
795 |
msgid "Filter by"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/class-mla-list-table.php:
|
799 |
msgid "not supported"
|
800 |
msgstr ""
|
801 |
|
802 |
#. translators: 1: column_name 2: column_values
|
803 |
-
#: includes/class-mla-list-table.php:
|
804 |
#: includes/class-mla-upload-list-table.php:247
|
805 |
#: includes/class-mla-upload-optional-list-table.php:228
|
806 |
#: includes/class-mla-view-list-table.php:236
|
@@ -808,21 +965,21 @@ msgstr ""
|
|
808 |
msgid "column_default: %1$s, %2$s"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: includes/class-mla-list-table.php:
|
812 |
-
#: includes/class-mla-list-table.php:
|
813 |
#: includes/class-mla-upload-list-table.php:312
|
814 |
#: includes/class-mla-view-list-table.php:302
|
815 |
msgid "Edit this item"
|
816 |
msgstr ""
|
817 |
|
818 |
-
#: includes/class-mla-list-table.php:
|
819 |
-
#: includes/class-mla-list-table.php:
|
820 |
-
#: includes/class-mla-list-table.php:
|
821 |
-
#: includes/class-mla-list-table.php:
|
822 |
-
#: includes/class-mla-list-table.php:
|
823 |
-
#: includes/class-mla-list-table.php:
|
824 |
-
#: includes/class-mla-list-table.php:
|
825 |
-
#: includes/class-mla-list-table.php:
|
826 |
#: includes/class-mla-upload-list-table.php:312
|
827 |
#: includes/class-mla-upload-list-table.php:610
|
828 |
#: includes/class-mla-view-list-table.php:302
|
@@ -830,155 +987,155 @@ msgstr ""
|
|
830 |
msgid "Edit"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#: includes/class-mla-list-table.php:
|
834 |
msgid "Restore this item from the Trash"
|
835 |
msgstr ""
|
836 |
|
837 |
-
#: includes/class-mla-list-table.php:
|
838 |
-
#: includes/class-mla-list-table.php:
|
839 |
msgid "Restore"
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: includes/class-mla-list-table.php:
|
843 |
#: includes/class-mla-upload-list-table.php:314
|
844 |
#: includes/class-mla-view-list-table.php:304
|
845 |
msgid "Edit this item inline"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#: includes/class-mla-list-table.php:
|
849 |
-
#: includes/class-mla-options.php:
|
850 |
#: includes/class-mla-upload-list-table.php:314
|
851 |
#: includes/class-mla-view-list-table.php:304
|
852 |
msgid "Quick Edit"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: includes/class-mla-list-table.php:
|
856 |
msgid "Move this item to the Trash"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/class-mla-list-table.php:
|
860 |
-
#: includes/class-mla-list-table.php:
|
861 |
msgid "Move to Trash"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/class-mla-list-table.php:
|
865 |
#: includes/class-mla-upload-list-table.php:318
|
866 |
#: includes/class-mla-view-list-table.php:310
|
867 |
msgid "Delete this item Permanently"
|
868 |
msgstr ""
|
869 |
|
870 |
-
#: includes/class-mla-list-table.php:
|
871 |
-
#: includes/class-mla-list-table.php:
|
872 |
-
#: includes/class-mla-list-table.php:
|
873 |
#: includes/class-mla-upload-list-table.php:318
|
874 |
#: includes/class-mla-view-list-table.php:310
|
875 |
#: includes/class-mla-view-list-table.php:514
|
876 |
msgid "Delete Permanently"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: includes/class-mla-list-table.php:
|
880 |
msgid "Download"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: includes/class-mla-list-table.php:
|
884 |
msgid "View"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: includes/class-mla-list-table.php:
|
888 |
-
#: includes/class-mla-main.php:368 includes/class-mla-main.php:
|
889 |
msgid "(no title)"
|
890 |
msgstr ""
|
891 |
|
892 |
-
#: includes/class-mla-list-table.php:
|
893 |
-
#: includes/class-mla-list-table.php:
|
894 |
msgid "Filter by Parent ID"
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: includes/class-mla-list-table.php:
|
898 |
msgid "(no title: bad ID)"
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: includes/class-mla-list-table.php:
|
902 |
-
#: includes/class-mla-list-table.php:
|
903 |
-
#: includes/class-mla-list-table.php:
|
904 |
-
#: includes/class-mla-list-table.php:
|
905 |
-
#: includes/class-mla-main.php:
|
906 |
-
#: includes/class-mla-main.php:
|
907 |
-
#: includes/class-mla-options.php:
|
908 |
-
#: includes/class-mla-options.php:
|
909 |
msgid "Disabled"
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: includes/class-mla-list-table.php:
|
913 |
-
#: includes/class-mla-settings.php:
|
914 |
msgid "MIME Type"
|
915 |
msgstr ""
|
916 |
|
917 |
-
#: includes/class-mla-list-table.php:
|
918 |
msgid "Base File"
|
919 |
msgstr ""
|
920 |
|
921 |
-
#: includes/class-mla-list-table.php:
|
922 |
-
#: includes/class-mla-list-table.php:
|
923 |
msgid "Unpublished"
|
924 |
msgstr ""
|
925 |
|
926 |
#. translators: 1: upload/last modified date and time
|
927 |
-
#: includes/class-mla-list-table.php:
|
928 |
-
#: includes/class-mla-list-table.php:
|
929 |
#, php-format
|
930 |
msgid "%1$s from now"
|
931 |
msgstr ""
|
932 |
|
933 |
#. translators: 1: upload/last modified date and time
|
934 |
-
#: includes/class-mla-list-table.php:
|
935 |
-
#: includes/class-mla-list-table.php:
|
936 |
#, php-format
|
937 |
msgid "%1$s ago"
|
938 |
msgstr ""
|
939 |
|
940 |
#. translators: format for upload/last modified date
|
941 |
#. translators: date format in table columns, see http://php.net/date
|
942 |
-
#: includes/class-mla-list-table.php:
|
943 |
-
#: includes/class-mla-list-table.php:
|
944 |
-
#: includes/class-mla-list-table.php:
|
945 |
msgid "Y/m/d"
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: includes/class-mla-list-table.php:
|
949 |
msgid "Filter by Author ID"
|
950 |
msgstr ""
|
951 |
|
952 |
-
#: includes/class-mla-list-table.php:
|
953 |
msgctxt "post_mime_types_singular"
|
954 |
msgid "Unattached"
|
955 |
msgstr ""
|
956 |
|
957 |
-
#: includes/class-mla-list-table.php:
|
958 |
msgid "Set Parent"
|
959 |
msgstr ""
|
960 |
|
961 |
-
#: includes/class-mla-list-table.php:
|
962 |
msgctxt "uploaded files"
|
963 |
msgid "All"
|
964 |
msgid_plural "All"
|
965 |
msgstr[0] ""
|
966 |
msgstr[1] ""
|
967 |
|
968 |
-
#: includes/class-mla-list-table.php:
|
969 |
msgid "Filter"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: includes/class-mla-list-table.php:
|
973 |
#: includes/mla-media-modal-js-template.php:58
|
974 |
msgid "Terms Search"
|
975 |
msgstr ""
|
976 |
|
977 |
-
#: includes/class-mla-list-table.php:
|
978 |
msgid "Clear Filter-by"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: includes/class-mla-list-table.php:
|
982 |
msgid "Empty Trash"
|
983 |
msgstr ""
|
984 |
|
@@ -994,12 +1151,12 @@ msgstr ""
|
|
994 |
msgid "Bulk Edit items"
|
995 |
msgstr ""
|
996 |
|
997 |
-
#: includes/class-mla-main.php:370 includes/class-mla-main.php:
|
998 |
#: includes/class-mla-settings.php:349
|
999 |
msgid "Waiting"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#: includes/class-mla-main.php:371 includes/class-mla-main.php:
|
1003 |
#: includes/class-mla-settings.php:351
|
1004 |
msgid "Complete"
|
1005 |
msgstr ""
|
@@ -1016,7 +1173,7 @@ msgstr ""
|
|
1016 |
msgid "Failed"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#: includes/class-mla-main.php:375 includes/class-mla-settings.php:
|
1020 |
msgid "CANCELED"
|
1021 |
msgstr ""
|
1022 |
|
@@ -1028,7 +1185,7 @@ msgstr[0] ""
|
|
1028 |
msgstr[1] ""
|
1029 |
|
1030 |
#. translators: 1: post ID
|
1031 |
-
#: includes/class-mla-main.php:491 includes/class-mla-main.php:
|
1032 |
#, php-format
|
1033 |
msgid "Item %1$d moved to Trash."
|
1034 |
msgstr ""
|
@@ -1037,44 +1194,33 @@ msgstr ""
|
|
1037 |
msgid "Entries per page"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
-
#: includes/class-mla-main.php:
|
1041 |
-
msgid "
|
1042 |
msgstr ""
|
1043 |
|
1044 |
-
|
|
|
1045 |
#, php-format
|
1046 |
-
msgid "
|
1047 |
msgstr ""
|
1048 |
|
1049 |
-
#: includes/class-mla-main.php:
|
1050 |
msgid "no changes detected"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: includes/class-mla-main.php:1146 includes/class-mla-main.php:1294
|
1054 |
-
#: includes/class-mla-main.php:1405 includes/class-mla-main.php:1436
|
1055 |
-
#: includes/class-mla-main.php:1674 includes/class-mla-settings.php:631
|
1056 |
-
#: includes/class-mla-settings.php:671 includes/class-mla-settings.php:759
|
1057 |
-
#: includes/class-mla-settings.php:891 includes/class-mla-settings.php:1556
|
1058 |
-
#: includes/class-mla-settings.php:1633 includes/class-mla-settings.php:2020
|
1059 |
-
#: includes/class-mla-settings.php:2099 includes/class-mla-settings.php:2648
|
1060 |
-
#: includes/class-mla-settings.php:2780 includes/class-mla-settings.php:2923
|
1061 |
-
#: includes/class-mla-shortcodes.php:1355
|
1062 |
-
#: includes/class-mla-shortcodes.php:1429
|
1063 |
-
msgid "ERROR:"
|
1064 |
-
msgstr ""
|
1065 |
-
|
1066 |
#. translators: 1: action name, e.g., edit
|
1067 |
-
#: includes/class-mla-main.php:
|
1068 |
-
#: includes/class-mla-settings.php:
|
1069 |
#, php-format
|
1070 |
msgid "Bulk Action %1$s - no items selected."
|
1071 |
msgstr ""
|
1072 |
|
1073 |
-
#: includes/class-mla-main.php:
|
1074 |
msgid "You do not have permission to manage attachments."
|
1075 |
msgstr ""
|
1076 |
|
1077 |
-
|
|
|
1078 |
#, php-format
|
1079 |
msgctxt "deleted items"
|
1080 |
msgid "%s item deleted."
|
@@ -1082,268 +1228,226 @@ msgid_plural "%s items deleted."
|
|
1082 |
msgstr[0] ""
|
1083 |
msgstr[1] ""
|
1084 |
|
1085 |
-
#: includes/class-mla-main.php:
|
1086 |
msgid "No items deleted."
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#: includes/class-mla-main.php:
|
1090 |
msgid "Edit single item"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
#. translators: 1: post ID
|
1094 |
-
#: includes/class-mla-main.php:
|
1095 |
#, php-format
|
1096 |
msgid "Item %1$d cancelled."
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#: includes/class-mla-main.php:
|
1100 |
msgid "Empty Terms Search; ignored"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
#. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
|
1104 |
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
1105 |
-
#: includes/class-mla-main.php:
|
1106 |
-
#: includes/class-mla-settings.php:
|
1107 |
#, php-format
|
1108 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
1109 |
msgstr ""
|
1110 |
|
1111 |
-
#: includes/class-mla-main.php:
|
1112 |
msgid "term search results for"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
-
#: includes/class-mla-main.php:
|
1116 |
msgid "post/parent results for"
|
1117 |
msgstr ""
|
1118 |
|
1119 |
-
#: includes/class-mla-main.php:
|
1120 |
msgid "search results for"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
-
#: includes/class-mla-main.php:
|
1124 |
msgid "Type"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
-
#: includes/class-mla-main.php:
|
1128 |
msgid "Date"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
-
#: includes/class-mla-main.php:
|
1132 |
-
#: includes/class-mla-settings.php:
|
1133 |
msgid "Status"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
-
#: includes/class-mla-main.php:
|
1137 |
msgid "Published"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
-
#: includes/class-mla-main.php:
|
1141 |
msgid "Pending Review"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
-
#: includes/class-mla-main.php:
|
1145 |
-
msgid "
|
1146 |
msgstr ""
|
1147 |
|
1148 |
-
#: includes/class-mla-main.php:
|
1149 |
-
#: includes/class-mla-main.php:
|
1150 |
msgid "You are not allowed to edit this Attachment."
|
1151 |
msgstr ""
|
1152 |
|
1153 |
-
#: includes/class-mla-main.php:
|
1154 |
-
#: includes/class-mla-main.php:
|
1155 |
msgid "Map IPTC/EXIF metadata"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: includes/class-mla-main.php:
|
1159 |
-
#: includes/class-mla-main.php:
|
1160 |
-
#: includes/class-mla-settings.php:
|
1161 |
-
#: includes/class-mla-settings.php:
|
1162 |
msgid "Update"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
-
#: includes/class-mla-main.php:
|
1166 |
msgid "All Post Types"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
-
#: includes/class-mla-main.php:
|
1170 |
#: includes/mla-media-modal-js-template.php:20
|
1171 |
#: includes/mla-media-modal-js-template.php:61
|
1172 |
msgid "Search"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
-
#: includes/class-mla-main.php:
|
1176 |
msgid "For"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
-
#: includes/class-mla-main.php:
|
1180 |
msgid "Unattached"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#: includes/class-mla-main.php:
|
1184 |
-
#: includes/class-mla-main.php:
|
1185 |
-
#: includes/class-mla-settings.php:
|
1186 |
-
#: includes/class-mla-settings.php:
|
1187 |
-
#: includes/class-mla-settings.php:
|
1188 |
msgid "Cancel"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
-
#: includes/class-mla-main.php:
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
#: includes/class-mla-main.php:2015
|
1196 |
-
msgid "less"
|
1197 |
-
msgstr ""
|
1198 |
-
|
1199 |
-
#: includes/class-mla-main.php:2018 includes/class-mla-main.php:2056
|
1200 |
-
msgid "Add"
|
1201 |
-
msgstr ""
|
1202 |
-
|
1203 |
-
#: includes/class-mla-main.php:2019 includes/class-mla-main.php:2057
|
1204 |
-
msgid "Remove"
|
1205 |
-
msgstr ""
|
1206 |
-
|
1207 |
-
#: includes/class-mla-main.php:2020 includes/class-mla-main.php:2058
|
1208 |
-
#: includes/class-mla-options.php:3325 includes/class-mla-options.php:3427
|
1209 |
-
#: includes/class-mla-options.php:3471 includes/class-mla-options.php:4471
|
1210 |
-
#: includes/class-mla-options.php:4521 includes/class-mla-options.php:4618
|
1211 |
-
#: includes/class-mla-options.php:4662 includes/class-mla-options.php:4687
|
1212 |
-
msgid "Replace"
|
1213 |
-
msgstr ""
|
1214 |
-
|
1215 |
-
#: includes/class-mla-main.php:2107
|
1216 |
-
msgid "Parent ID"
|
1217 |
-
msgstr ""
|
1218 |
-
|
1219 |
-
#: includes/class-mla-main.php:2116 includes/class-mla-options.php:3241
|
1220 |
-
#: includes/class-mla-options.php:3509 includes/class-mla-settings.php:1753
|
1221 |
-
#: includes/class-mla-settings.php:2216
|
1222 |
msgid "Bulk Edit"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#: includes/class-mla-main.php:
|
1226 |
-
#: includes/class-mla-settings.php:1754 includes/class-mla-settings.php:1792
|
1227 |
-
#: includes/class-mla-settings.php:2218
|
1228 |
-
msgid "No Change"
|
1229 |
-
msgstr ""
|
1230 |
-
|
1231 |
-
#: includes/class-mla-main.php:2123
|
1232 |
-
msgid "Allow"
|
1233 |
-
msgstr ""
|
1234 |
-
|
1235 |
-
#: includes/class-mla-main.php:2124
|
1236 |
-
msgid "Do not allow"
|
1237 |
-
msgstr ""
|
1238 |
-
|
1239 |
-
#: includes/class-mla-main.php:2129
|
1240 |
msgid "In-process"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: includes/class-mla-main.php:
|
1244 |
-
#: includes/class-mla-options.php:
|
1245 |
-
#: includes/class-mla-settings.php:
|
1246 |
msgid "Refresh"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#: includes/class-mla-main.php:
|
1250 |
-
msgid "
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#. translators: 1: post ID
|
1254 |
-
#: includes/class-mla-main.php:
|
1255 |
#, php-format
|
1256 |
-
msgid "
|
1257 |
msgstr ""
|
1258 |
|
1259 |
#. translators: 1: post ID
|
1260 |
-
#: includes/class-mla-main.php:
|
1261 |
#, php-format
|
1262 |
msgid "Item %1$d permanently deleted."
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#. translators: 1: page_template_array
|
1266 |
-
#: includes/class-mla-main.php:
|
1267 |
#, php-format
|
1268 |
msgctxt "error_log"
|
1269 |
-
msgid "
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: includes/class-mla-main.php:
|
1273 |
msgid "File name"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: includes/class-mla-main.php:
|
1277 |
msgid "File type"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: includes/class-mla-main.php:
|
1281 |
msgid "Upload date"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#: includes/class-mla-main.php:
|
1285 |
msgid "Dimensions"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#: includes/class-mla-main.php:
|
1289 |
msgid "required"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: includes/class-mla-main.php:
|
1293 |
msgid "Must be unique; will be validated."
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: includes/class-mla-main.php:
|
1297 |
msgid "Alternate text for the image, e.g. “The Mona Lisa”"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: includes/class-mla-main.php:
|
1301 |
msgid "ID, type and title of parent, if any."
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: includes/class-mla-main.php:
|
1305 |
msgid "File URL"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: includes/class-mla-main.php:
|
1309 |
msgid "Location of the uploaded file."
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: includes/class-mla-main.php:
|
1313 |
msgid "Image Metadata"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: includes/class-mla-main.php:
|
1317 |
-
msgid "
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#. translators: 1: post ID
|
1321 |
-
#: includes/class-mla-main.php:
|
1322 |
#, php-format
|
1323 |
-
msgid "
|
1324 |
msgstr ""
|
1325 |
|
1326 |
#. translators: 1: post ID
|
1327 |
-
#: includes/class-mla-main.php:
|
1328 |
#, php-format
|
1329 |
msgid "Item %1$d restored from Trash."
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: includes/class-mla-main.php:
|
1333 |
-
msgid "
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#. translators: 1: post ID
|
1337 |
-
#: includes/class-mla-main.php:
|
1338 |
#, php-format
|
1339 |
-
msgid "
|
1340 |
msgstr ""
|
1341 |
|
1342 |
#: includes/class-mla-media-modal.php:245
|
1343 |
#: includes/class-mla-media-modal.php:251
|
1344 |
-
#: includes/class-mla-media-modal.php:
|
1345 |
-
#: includes/class-mla-media-modal.php:
|
1346 |
-
#: includes/class-mla-media-modal.php:
|
1347 |
msgid "Click to toggle"
|
1348 |
msgstr ""
|
1349 |
|
@@ -1357,59 +1461,63 @@ msgstr ""
|
|
1357 |
msgid "%1$s %2$d"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: includes/class-mla-media-modal.php:
|
1361 |
msgctxt "tag delimiter"
|
1362 |
msgid ","
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#: includes/class-mla-media-modal.php:
|
1366 |
msgid "Search Box"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#: includes/class-mla-media-modal.php:
|
1370 |
msgid "Loading..."
|
1371 |
msgstr ""
|
1372 |
|
1373 |
-
#: includes/class-mla-media-modal.php:
|
1374 |
msgid "Tags"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
#. translators: %s: add new taxonomy label
|
1378 |
-
|
|
|
|
|
|
|
|
|
1379 |
#, php-format
|
1380 |
msgid "Add New %1$s"
|
1381 |
msgstr ""
|
1382 |
|
1383 |
-
#: includes/class-mla-media-modal.php:
|
1384 |
msgid "Choose from the most used tags"
|
1385 |
msgstr ""
|
1386 |
|
1387 |
-
#: includes/class-mla-media-modal.php:
|
1388 |
msgid "Not Supported"
|
1389 |
msgstr ""
|
1390 |
|
1391 |
-
#: includes/class-mla-media-modal.php:
|
1392 |
-
#: includes/class-mla-media-modal.php:
|
1393 |
msgid "Search Terms"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
-
#: includes/class-mla-media-modal.php:
|
1397 |
msgid "There are no taxonomies to search"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
-
#: includes/class-mla-media-modal.php:
|
1401 |
msgid "All phrases"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
-
#: includes/class-mla-media-modal.php:
|
1405 |
msgid "Any phrase"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
-
#: includes/class-mla-media-modal.php:
|
1409 |
msgid "All terms"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#: includes/class-mla-media-modal.php:
|
1413 |
msgid "Any term"
|
1414 |
msgstr ""
|
1415 |
|
@@ -1423,22 +1531,22 @@ msgctxt "post_mime_types_description"
|
|
1423 |
msgid "Copied from previous filter/plugin"
|
1424 |
msgstr ""
|
1425 |
|
1426 |
-
#. translators: 1: raw_mime_type
|
1427 |
#: includes/class-mla-mime-types.php:906
|
1428 |
#, php-format
|
1429 |
-
msgid "
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#. translators: 1: option, e.g., any, match, null
|
1433 |
#: includes/class-mla-mime-types.php:912
|
1434 |
#, php-format
|
1435 |
-
msgid "
|
1436 |
msgstr ""
|
1437 |
|
1438 |
-
#. translators: 1: prefix, e.g., custom
|
1439 |
#: includes/class-mla-mime-types.php:916
|
1440 |
#, php-format
|
1441 |
-
msgid "
|
1442 |
msgstr ""
|
1443 |
|
1444 |
#: includes/class-mla-mime-types.php:947
|
@@ -1455,15 +1563,16 @@ msgstr ""
|
|
1455 |
|
1456 |
#: includes/class-mla-mime-types.php:953
|
1457 |
#: includes/class-mla-mime-types.php:1041
|
1458 |
-
#: includes/class-mla-mime-types.php:1052 includes/class-mla-settings.php:
|
1459 |
-
#: includes/class-mla-settings.php:
|
1460 |
msgid "Slug"
|
1461 |
msgstr ""
|
1462 |
|
1463 |
-
#. translators: 1: slug
|
1464 |
#: includes/class-mla-mime-types.php:961
|
|
|
1465 |
#, php-format
|
1466 |
-
msgid "
|
1467 |
msgstr ""
|
1468 |
|
1469 |
#. translators: 1: slug
|
@@ -1479,12 +1588,6 @@ msgstr ""
|
|
1479 |
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
1480 |
msgstr ""
|
1481 |
|
1482 |
-
#. translators: 1: slug
|
1483 |
-
#: includes/class-mla-mime-types.php:1049
|
1484 |
-
#, php-format
|
1485 |
-
msgid "ERROR: Could not add new Slug \"%1$s\"; value already exists"
|
1486 |
-
msgstr ""
|
1487 |
-
|
1488 |
#. translators: 1: slug
|
1489 |
#: includes/class-mla-mime-types.php:1094
|
1490 |
#, php-format
|
@@ -1509,10 +1612,10 @@ msgstr ""
|
|
1509 |
msgid "View \"%1$s\" deleted"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
-
#. translators: 1: slug
|
1513 |
#: includes/class-mla-mime-types.php:1195
|
1514 |
#, php-format
|
1515 |
-
msgid "
|
1516 |
msgstr ""
|
1517 |
|
1518 |
#: includes/class-mla-mime-types.php:1454
|
@@ -1581,11 +1684,11 @@ msgstr ""
|
|
1581 |
|
1582 |
#: includes/class-mla-mime-types.php:1972
|
1583 |
#: includes/class-mla-mime-types.php:2071
|
1584 |
-
msgid "
|
1585 |
msgstr ""
|
1586 |
|
1587 |
#: includes/class-mla-mime-types.php:1983
|
1588 |
-
msgid "
|
1589 |
msgstr ""
|
1590 |
|
1591 |
#: includes/class-mla-mime-types.php:1988
|
@@ -1594,21 +1697,21 @@ msgstr ""
|
|
1594 |
msgid "extension"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
-
#. translators: 1: slug
|
1598 |
#: includes/class-mla-mime-types.php:1996
|
1599 |
#, php-format
|
1600 |
-
msgid "
|
1601 |
msgstr ""
|
1602 |
|
1603 |
#: includes/class-mla-mime-types.php:2004
|
1604 |
-
msgid "
|
1605 |
msgstr ""
|
1606 |
|
1607 |
-
#. translators: 1: clean_mime_type
|
1608 |
#: includes/class-mla-mime-types.php:2009
|
1609 |
#: includes/class-mla-mime-types.php:2156
|
1610 |
#, php-format
|
1611 |
-
msgid "
|
1612 |
msgstr ""
|
1613 |
|
1614 |
#. translators: 1: slug
|
@@ -1620,13 +1723,13 @@ msgstr ""
|
|
1620 |
#: includes/class-mla-mime-types.php:2052
|
1621 |
#: includes/class-mla-mime-types.php:2241
|
1622 |
#: includes/class-mla-mime-types.php:2320
|
1623 |
-
msgid "
|
1624 |
msgstr ""
|
1625 |
|
1626 |
-
#. translators: 1: slug
|
1627 |
#: includes/class-mla-mime-types.php:2122
|
1628 |
#, php-format
|
1629 |
-
msgid "
|
1630 |
msgstr ""
|
1631 |
|
1632 |
#. translators: 1: slug
|
@@ -1653,10 +1756,10 @@ msgstr ""
|
|
1653 |
msgid "Upload MIME Type \"%1$s\"; deleted"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
-
#. translators: 1: slug
|
1657 |
#: includes/class-mla-mime-types.php:2329
|
1658 |
#, php-format
|
1659 |
-
msgid "
|
1660 |
msgstr ""
|
1661 |
|
1662 |
#: includes/class-mla-objects.php:37
|
@@ -1689,163 +1792,155 @@ msgstr ""
|
|
1689 |
msgid "Update Att. Category"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
-
#: includes/class-mla-objects.php:
|
1693 |
-
msgid "
|
1694 |
-
msgstr ""
|
1695 |
-
|
1696 |
-
#: includes/class-mla-objects.php:46
|
1697 |
-
msgid "New Att. Category Name"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
#: includes/class-mla-objects.php:47
|
1701 |
-
msgid "Att. Category"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#: includes/class-mla-objects.php:
|
1705 |
msgctxt "taxonomy_name_plural"
|
1706 |
msgid "Att. Tags"
|
1707 |
msgstr ""
|
1708 |
|
1709 |
-
#: includes/class-mla-objects.php:
|
1710 |
msgctxt "taxonomy_name_singular"
|
1711 |
msgid "Att. Tag"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
-
#: includes/class-mla-objects.php:
|
1715 |
msgid "Search Att. Tags"
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#: includes/class-mla-objects.php:
|
1719 |
msgid "All Att. Tags"
|
1720 |
msgstr ""
|
1721 |
|
1722 |
-
#: includes/class-mla-objects.php:
|
1723 |
msgid "Parent Att. Tag"
|
1724 |
msgstr ""
|
1725 |
|
1726 |
-
#: includes/class-mla-objects.php:
|
1727 |
msgid "Edit Att. Tag"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
-
#: includes/class-mla-objects.php:
|
1731 |
msgid "Update Att. Tag"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
-
#: includes/class-mla-objects.php:
|
1735 |
-
msgid "
|
1736 |
msgstr ""
|
1737 |
|
1738 |
-
#: includes/class-mla-objects.php:
|
1739 |
msgid "New Att. Tag Name"
|
1740 |
msgstr ""
|
1741 |
|
1742 |
-
#: includes/class-mla-objects.php:
|
1743 |
-
msgid "Att. Tag"
|
1744 |
-
msgstr ""
|
1745 |
-
|
1746 |
-
#: includes/class-mla-objects.php:130
|
1747 |
msgid "Attachments"
|
1748 |
msgstr ""
|
1749 |
|
1750 |
-
#. translators: 1:
|
1751 |
-
#: includes/class-mla-objects.php:
|
1752 |
#, php-format
|
1753 |
msgctxt "error_log"
|
1754 |
msgid ""
|
1755 |
-
"
|
1756 |
msgstr ""
|
1757 |
|
1758 |
-
#: includes/class-mla-objects.php:
|
1759 |
msgid "click to search"
|
1760 |
msgstr ""
|
1761 |
|
1762 |
-
#: includes/class-mla-objects.php:
|
1763 |
msgid "Shortcode(s), HTML and/or Plain Text"
|
1764 |
msgstr ""
|
1765 |
|
1766 |
-
#: includes/class-mla-objects.php:
|
1767 |
msgid "MLA Text"
|
1768 |
msgstr ""
|
1769 |
|
1770 |
-
#: includes/class-mla-objects.php:
|
1771 |
msgid "Automatically add paragraphs"
|
1772 |
msgstr ""
|
1773 |
|
1774 |
-
#: includes/class-mla-options.php:
|
1775 |
msgid "error loading tpls/mla-option-templates.tpl"
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#: includes/class-mla-options.php:
|
1779 |
msgid "tpls/mla-option-templates.tpl not found"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
-
#: includes/class-mla-options.php:
|
1783 |
msgid "Attachment Categories"
|
1784 |
msgstr ""
|
1785 |
|
1786 |
-
#: includes/class-mla-options.php:
|
1787 |
msgid "Check this option to add support for Attachment Categories."
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#: includes/class-mla-options.php:
|
1791 |
msgid "Attachment Tags"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#: includes/class-mla-options.php:
|
1795 |
msgid "Check this option to add support for Attachment Tags."
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: includes/class-mla-options.php:
|
1799 |
msgid "Where-used Reporting"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
-
#: includes/class-mla-options.php:
|
1803 |
msgid "Exclude Revisions"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
-
#: includes/class-mla-options.php:
|
1807 |
msgid "Check this option to exclude revisions from where-used reporting."
|
1808 |
msgstr ""
|
1809 |
|
1810 |
-
#: includes/class-mla-options.php:
|
1811 |
msgid "Where-used database access tuning"
|
1812 |
msgstr ""
|
1813 |
|
1814 |
-
#: includes/class-mla-options.php:
|
1815 |
msgid "Enabled"
|
1816 |
msgstr ""
|
1817 |
|
1818 |
-
#: includes/class-mla-options.php:
|
1819 |
msgid "Search database posts and pages for Featured Image attachments."
|
1820 |
msgstr ""
|
1821 |
|
1822 |
-
#: includes/class-mla-options.php:
|
1823 |
msgid "Base"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
-
#: includes/class-mla-options.php:
|
1827 |
msgid ""
|
1828 |
"Search database posts and pages for attachments embedded in content."
|
1829 |
"<br> Base = ignore intermediate size suffixes; use path, base "
|
1830 |
"name and extension only."
|
1831 |
msgstr ""
|
1832 |
|
1833 |
-
#: includes/class-mla-options.php:
|
1834 |
msgid "Dynamic"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
-
#: includes/class-mla-options.php:
|
1838 |
msgid "Cached"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
-
#: includes/class-mla-options.php:
|
1842 |
msgid ""
|
1843 |
"Search database posts and pages for [gallery] shortcode results.<br> "
|
1844 |
" Dynamic = once every page load, Cached = once every login, Disabled = "
|
1845 |
"never.<br> Refresh = update references, then set to Cached."
|
1846 |
msgstr ""
|
1847 |
|
1848 |
-
#: includes/class-mla-options.php:
|
1849 |
msgid ""
|
1850 |
"Search database posts and pages for [mla_gallery] shortcode results."
|
1851 |
"<br> Dynamic = once every page load, Cached = once every login, "
|
@@ -1853,104 +1948,110 @@ msgid ""
|
|
1853 |
"Cached."
|
1854 |
msgstr ""
|
1855 |
|
1856 |
-
#: includes/class-mla-options.php:
|
1857 |
msgid "Taxonomy Support"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
-
#: includes/class-mla-options.php:
|
1861 |
msgid "Compute Attachments Column"
|
1862 |
msgstr ""
|
1863 |
|
1864 |
-
#: includes/class-mla-options.php:
|
1865 |
msgid ""
|
1866 |
"Check this option to calculate attachments per term in the Attachments "
|
1867 |
"Column."
|
1868 |
msgstr ""
|
1869 |
|
1870 |
-
#: includes/class-mla-options.php:
|
1871 |
msgid ""
|
1872 |
-
"Check the \"Support
|
1873 |
-
"Media screen."
|
1874 |
msgstr ""
|
1875 |
|
1876 |
-
#: includes/class-mla-options.php:
|
1877 |
msgid ""
|
1878 |
-
"Check the \"Inline Edit
|
1879 |
-
"Bulk Edit areas."
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#: includes/class-mla-options.php:
|
1883 |
msgid ""
|
1884 |
-
"Check the \"
|
1885 |
-
"
|
1886 |
msgstr ""
|
1887 |
|
1888 |
-
#: includes/class-mla-options.php:
|
1889 |
-
|
1890 |
-
|
1891 |
-
"strong> box below to enable this feature."
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#: includes/class-mla-options.php:
|
|
|
|
|
|
|
|
|
|
|
1895 |
msgid ""
|
1896 |
-
"Check the \"
|
1897 |
-
"
|
1898 |
msgstr ""
|
1899 |
|
1900 |
-
#: includes/class-mla-options.php:
|
1901 |
-
|
1902 |
-
|
|
|
1903 |
msgstr ""
|
1904 |
|
1905 |
-
#: includes/class-mla-options.php:
|
1906 |
-
|
1907 |
-
|
|
|
1908 |
msgstr ""
|
1909 |
|
1910 |
-
#: includes/class-mla-options.php:
|
1911 |
msgid ""
|
1912 |
-
"Use the \"List Filter
|
1913 |
-
"Assistant table listing."
|
1914 |
msgstr ""
|
1915 |
|
1916 |
-
#: includes/class-mla-options.php:
|
1917 |
msgid "Media/Assistant Screen Options"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
-
#: includes/class-mla-options.php:
|
1921 |
msgid "Admin Menu Options"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
-
#: includes/class-mla-options.php:
|
1925 |
msgid "Page Title"
|
1926 |
msgstr ""
|
1927 |
|
1928 |
-
#: includes/class-mla-options.php:
|
1929 |
-
#: includes/class-mla-settings.php:
|
1930 |
msgid "Media Library Assistant"
|
1931 |
msgstr ""
|
1932 |
|
1933 |
-
#: includes/class-mla-options.php:
|
1934 |
msgid "Enter the title for the Media/Assistant submenu page"
|
1935 |
msgstr ""
|
1936 |
|
1937 |
-
#: includes/class-mla-options.php:
|
1938 |
msgid "Menu Title"
|
1939 |
msgstr ""
|
1940 |
|
1941 |
-
#: includes/class-mla-options.php:
|
1942 |
msgid "Assistant"
|
1943 |
msgstr ""
|
1944 |
|
1945 |
-
#: includes/class-mla-options.php:
|
1946 |
msgid "Enter the title for the Media/Assistant submenu entry"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
-
#: includes/class-mla-options.php:
|
1950 |
msgid "Submenu Order"
|
1951 |
msgstr ""
|
1952 |
|
1953 |
-
#: includes/class-mla-options.php:
|
1954 |
msgid ""
|
1955 |
"Enter the position of the Media/Assistant submenu entry.<br> 0 = "
|
1956 |
"natural order (at bottom), 1 - 4 = at top<br> "
|
@@ -1958,231 +2059,245 @@ msgid ""
|
|
1958 |
"\""
|
1959 |
msgstr ""
|
1960 |
|
1961 |
-
#: includes/class-mla-options.php:
|
1962 |
msgid "Display Media/Library"
|
1963 |
msgstr ""
|
1964 |
|
1965 |
-
#: includes/class-mla-options.php:
|
1966 |
msgid ""
|
1967 |
"Check/uncheck this option to display/remove the WordPress Media/Library "
|
1968 |
"submenu entry."
|
1969 |
msgstr ""
|
1970 |
|
1971 |
-
#: includes/class-mla-options.php:
|
1972 |
msgid "Table Defaults"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
-
#: includes/class-mla-options.php:
|
1976 |
msgid "Order By"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
-
#: includes/class-mla-options.php:
|
1980 |
msgid "Title/Name"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
-
#: includes/class-mla-options.php:
|
1984 |
msgid "Select the column for the sort order of the Assistant table listing."
|
1985 |
msgstr ""
|
1986 |
|
1987 |
-
#: includes/class-mla-options.php:
|
1988 |
msgid "Order"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
-
#: includes/class-mla-options.php:
|
1992 |
msgid "Ascending"
|
1993 |
msgstr ""
|
1994 |
|
1995 |
-
#: includes/class-mla-options.php:
|
1996 |
msgid "Descending"
|
1997 |
msgstr ""
|
1998 |
|
1999 |
-
#: includes/class-mla-options.php:
|
2000 |
msgid "Choose the sort order."
|
2001 |
msgstr ""
|
2002 |
|
2003 |
-
#: includes/class-mla-options.php:
|
2004 |
msgid "Views Width"
|
2005 |
msgstr ""
|
2006 |
|
2007 |
-
#: includes/class-mla-options.php:
|
2008 |
msgid "Enter the width for the views list, in pixels (px) or percent (%)"
|
2009 |
msgstr ""
|
2010 |
|
2011 |
-
#: includes/class-mla-options.php:
|
2012 |
msgid "Icon Size"
|
2013 |
msgstr ""
|
2014 |
|
2015 |
-
#: includes/class-mla-options.php:
|
2016 |
msgid "Enter the size of the thumbnail/icon images, in pixels"
|
2017 |
msgstr ""
|
2018 |
|
2019 |
-
#: includes/class-mla-options.php:
|
2020 |
msgid "Bulk Chunk Size"
|
2021 |
msgstr ""
|
2022 |
|
2023 |
-
#: includes/class-mla-options.php:
|
2024 |
msgid "Enter the size of the Bulk Edit and Map All processing chunks"
|
2025 |
msgstr ""
|
2026 |
|
2027 |
-
#: includes/class-mla-options.php:
|
2028 |
msgid "Taxonomy Filter parameters"
|
2029 |
msgstr ""
|
2030 |
|
2031 |
-
#: includes/class-mla-options.php:
|
2032 |
msgid "Maximum Depth"
|
2033 |
msgstr ""
|
2034 |
|
2035 |
-
#: includes/class-mla-options.php:
|
2036 |
msgid ""
|
2037 |
"Enter the number of levels displayed for hierarchial taxonomies; enter zero "
|
2038 |
"for no limit."
|
2039 |
msgstr ""
|
2040 |
|
2041 |
-
#: includes/class-mla-options.php:
|
2042 |
msgid "Include Children"
|
2043 |
msgstr ""
|
2044 |
|
2045 |
-
#: includes/class-mla-options.php:
|
2046 |
msgid ""
|
2047 |
"Check/uncheck this option to include/exclude children for hierarchical "
|
2048 |
"taxonomies."
|
2049 |
msgstr ""
|
2050 |
|
2051 |
-
#: includes/class-mla-options.php:
|
2052 |
msgid "Search Media Defaults"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
-
#: includes/class-mla-options.php:
|
2056 |
msgid "Display Search Controls"
|
2057 |
msgstr ""
|
2058 |
|
2059 |
-
#: includes/class-mla-options.php:
|
2060 |
msgid ""
|
2061 |
"Check/uncheck this option to display/hide the and/or connector and search "
|
2062 |
"fields controls."
|
2063 |
msgstr ""
|
2064 |
|
2065 |
-
#: includes/class-mla-options.php:
|
2066 |
msgid ""
|
2067 |
"Use these controls to set defaults for the and/or connector and search "
|
2068 |
"fields controls.<br>These defaults will be used for the Search Media boxes "
|
2069 |
"on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
|
2070 |
msgstr ""
|
2071 |
|
2072 |
-
#: includes/class-mla-options.php:
|
2073 |
msgid "Media/Edit Media Enhancements"
|
2074 |
msgstr ""
|
2075 |
|
2076 |
-
#: includes/class-mla-options.php:
|
2077 |
msgid "Enable enhanced \"checklist\" taxonomies"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
-
#: includes/class-mla-options.php:
|
2081 |
msgid ""
|
2082 |
"Check this option to enable the \"? Search\" feature for hierarchical "
|
2083 |
"taxonomies, e.g., Att. Categories.<br> This option also enables "
|
2084 |
"the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
|
2085 |
msgstr ""
|
2086 |
|
2087 |
-
#: includes/class-mla-options.php:
|
2088 |
msgid "Enable Edit Media additional meta boxes"
|
2089 |
msgstr ""
|
2090 |
|
2091 |
-
#: includes/class-mla-options.php:
|
2092 |
msgid ""
|
2093 |
"Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
|
2094 |
"Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
|
2095 |
msgstr ""
|
2096 |
|
2097 |
-
#: includes/class-mla-options.php:
|
2098 |
msgid "You can also use Filters to customize the meta boxes."
|
2099 |
msgstr ""
|
2100 |
|
2101 |
-
#: includes/class-mla-options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2102 |
msgid "Media Manager/Media Grid Enhancements"
|
2103 |
msgstr ""
|
2104 |
|
2105 |
-
#: includes/class-mla-options.php:
|
2106 |
msgid "Enable Media Grid Enhancements"
|
2107 |
msgstr ""
|
2108 |
|
2109 |
-
#: includes/class-mla-options.php:
|
2110 |
msgid ""
|
2111 |
"Check/uncheck this option to enable/disable Media Library Grid View "
|
2112 |
"Enhancements."
|
2113 |
msgstr ""
|
2114 |
|
2115 |
-
#: includes/class-mla-options.php:
|
2116 |
msgid "Enable Media Manager Enhancements"
|
2117 |
msgstr ""
|
2118 |
|
2119 |
-
#: includes/class-mla-options.php:
|
2120 |
msgid ""
|
2121 |
"Check/uncheck this option to enable/disable Media Manager Modal Window "
|
2122 |
"Enhancements."
|
2123 |
msgstr ""
|
2124 |
|
2125 |
-
#: includes/class-mla-options.php:
|
2126 |
msgid "Media Manager Enhanced MIME Type filter"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
-
#: includes/class-mla-options.php:
|
2130 |
msgid ""
|
2131 |
"Check this option to filter by more MIME Types, e.g., text, applications."
|
2132 |
msgstr ""
|
2133 |
|
2134 |
-
#: includes/class-mla-options.php:
|
2135 |
msgid "Media Manager Month and Year filter"
|
2136 |
msgstr ""
|
2137 |
|
2138 |
-
#: includes/class-mla-options.php:
|
2139 |
msgid "Check this option to filter by month and year uploaded."
|
2140 |
msgstr ""
|
2141 |
|
2142 |
-
#: includes/class-mla-options.php:
|
2143 |
msgid "Media Manager Category/Tag filter"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
-
#: includes/class-mla-options.php:
|
2147 |
msgid "Check this option to filter by taxonomy terms."
|
2148 |
msgstr ""
|
2149 |
|
2150 |
-
#: includes/class-mla-options.php:
|
2151 |
msgid "Media Manager Terms Search popup"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
-
#: includes/class-mla-options.php:
|
2155 |
msgid "Check this option to enable the \"Terms Search\" popup window."
|
2156 |
msgstr ""
|
2157 |
|
2158 |
-
#: includes/class-mla-options.php:
|
2159 |
msgid "Media Manager Enhanced Search Media box"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
-
#: includes/class-mla-options.php:
|
2163 |
msgid "Check this option to enable search box enhancements."
|
2164 |
msgstr ""
|
2165 |
|
2166 |
-
#: includes/class-mla-options.php:
|
2167 |
msgid "Media Manager Enhanced Search Media Controls"
|
2168 |
msgstr ""
|
2169 |
|
2170 |
-
#: includes/class-mla-options.php:
|
2171 |
msgid "Media Manager Checklist meta boxes"
|
2172 |
msgstr ""
|
2173 |
|
2174 |
-
#: includes/class-mla-options.php:
|
2175 |
msgid ""
|
2176 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
2177 |
"DETAILS\" pane.<br> This option is for any taxonomy that uses a "
|
2178 |
"<strong>\"checklist-style\"</strong> meta box.</strong>"
|
2179 |
msgstr ""
|
2180 |
|
2181 |
-
#: includes/class-mla-options.php:
|
2182 |
msgid "Media Manager Flat meta boxes"
|
2183 |
msgstr ""
|
2184 |
|
2185 |
-
#: includes/class-mla-options.php:
|
2186 |
msgid ""
|
2187 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
2188 |
"DETAILS\" pane.<br> This option is for <strong>flat taxonomies</"
|
@@ -2190,153 +2305,153 @@ msgid ""
|
|
2190 |
"style\" meta box."
|
2191 |
msgstr ""
|
2192 |
|
2193 |
-
#: includes/class-mla-options.php:
|
2194 |
msgid "Media Manager auto-fill meta boxes"
|
2195 |
msgstr ""
|
2196 |
|
2197 |
-
#: includes/class-mla-options.php:
|
2198 |
msgid ""
|
2199 |
"Check this option to automatically fill MLA-enhanced meta boxes in the "
|
2200 |
"\"ATTACHMENT DETAILS\" pane<br> when the item is selected."
|
2201 |
msgstr ""
|
2202 |
|
2203 |
-
#: includes/class-mla-options.php:
|
2204 |
msgid "Media Manager Order By"
|
2205 |
msgstr ""
|
2206 |
|
2207 |
-
#: includes/class-mla-options.php:
|
2208 |
-
#: includes/class-mla-options.php:
|
2209 |
-
#: includes/class-mla-options.php:
|
2210 |
msgid "Media Manager Default"
|
2211 |
msgstr ""
|
2212 |
|
2213 |
-
#: includes/class-mla-options.php:
|
2214 |
msgid ""
|
2215 |
"If you want to override the Media Manager default,<br> select a "
|
2216 |
"column for the sort order of the Media Library listing."
|
2217 |
msgstr ""
|
2218 |
|
2219 |
-
#: includes/class-mla-options.php:
|
2220 |
msgid "Media Manager Order"
|
2221 |
msgstr ""
|
2222 |
|
2223 |
-
#: includes/class-mla-options.php:
|
2224 |
msgid "Attachment Display Settings"
|
2225 |
msgstr ""
|
2226 |
|
2227 |
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
2228 |
-
#: includes/class-mla-options.php:
|
2229 |
msgid "Alignment"
|
2230 |
msgstr ""
|
2231 |
|
2232 |
-
#: includes/class-mla-options.php:
|
2233 |
msgid "Left"
|
2234 |
msgstr ""
|
2235 |
|
2236 |
-
#: includes/class-mla-options.php:
|
2237 |
msgid "Center"
|
2238 |
msgstr ""
|
2239 |
|
2240 |
-
#: includes/class-mla-options.php:
|
2241 |
msgid "Right"
|
2242 |
msgstr ""
|
2243 |
|
2244 |
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
2245 |
-
#: includes/class-mla-options.php:
|
2246 |
msgid "Link To"
|
2247 |
msgstr ""
|
2248 |
|
2249 |
-
#: includes/class-mla-options.php:
|
2250 |
msgid "Media File"
|
2251 |
msgstr ""
|
2252 |
|
2253 |
-
#: includes/class-mla-options.php:
|
2254 |
msgid "Attachment Page"
|
2255 |
msgstr ""
|
2256 |
|
2257 |
-
#: includes/class-mla-options.php:
|
2258 |
msgid "Custom URL"
|
2259 |
msgstr ""
|
2260 |
|
2261 |
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
2262 |
-
#: includes/class-mla-options.php:
|
2263 |
msgid "Size"
|
2264 |
msgstr ""
|
2265 |
|
2266 |
-
#: includes/class-mla-options.php:
|
2267 |
msgid "Thumbnail"
|
2268 |
msgstr ""
|
2269 |
|
2270 |
-
#: includes/class-mla-options.php:
|
2271 |
msgid "Medium"
|
2272 |
msgstr ""
|
2273 |
|
2274 |
-
#: includes/class-mla-options.php:
|
2275 |
msgid "Large"
|
2276 |
msgstr ""
|
2277 |
|
2278 |
-
#: includes/class-mla-options.php:
|
2279 |
msgid "Full Size"
|
2280 |
msgstr ""
|
2281 |
|
2282 |
-
#: includes/class-mla-options.php:
|
2283 |
msgid "Default [mla_gallery] Templates and Settings"
|
2284 |
msgstr ""
|
2285 |
|
2286 |
-
#: includes/class-mla-options.php:
|
2287 |
msgid "Style Template"
|
2288 |
msgstr ""
|
2289 |
|
2290 |
#. translators: 1: template type 2: shortcode
|
2291 |
-
#: includes/class-mla-options.php:
|
2292 |
-
#: includes/class-mla-options.php:
|
2293 |
#, php-format
|
2294 |
msgid "Select the default %1$s for your %2$s shortcodes."
|
2295 |
msgstr ""
|
2296 |
|
2297 |
-
#: includes/class-mla-options.php:
|
2298 |
-
#: includes/class-mla-settings.php:
|
2299 |
-
#: includes/class-mla-settings.php:
|
2300 |
-
#: includes/class-mla-settings.php:
|
2301 |
msgid "style template"
|
2302 |
msgstr ""
|
2303 |
|
2304 |
-
#: includes/class-mla-options.php:
|
2305 |
msgid "Markup Template"
|
2306 |
msgstr ""
|
2307 |
|
2308 |
-
#: includes/class-mla-options.php:
|
2309 |
-
#: includes/class-mla-settings.php:
|
2310 |
-
#: includes/class-mla-settings.php:
|
2311 |
-
#: includes/class-mla-settings.php:
|
2312 |
msgid "markup template"
|
2313 |
msgstr ""
|
2314 |
|
2315 |
-
#: includes/class-mla-options.php:
|
2316 |
msgid "Default columns"
|
2317 |
msgstr ""
|
2318 |
|
2319 |
-
#: includes/class-mla-options.php:
|
2320 |
msgid ""
|
2321 |
"Enter the number of [mla_tag_cloud] columns; must be a positive integer."
|
2322 |
msgstr ""
|
2323 |
|
2324 |
-
#: includes/class-mla-options.php:
|
2325 |
msgid "Default mla_margin"
|
2326 |
msgstr ""
|
2327 |
|
2328 |
-
#: includes/class-mla-options.php:
|
2329 |
msgid ""
|
2330 |
"Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
|
2331 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"none\" to "
|
2332 |
"remove the property entirely."
|
2333 |
msgstr ""
|
2334 |
|
2335 |
-
#: includes/class-mla-options.php:
|
2336 |
msgid "Default mla_itemwidth"
|
2337 |
msgstr ""
|
2338 |
|
2339 |
-
#: includes/class-mla-options.php:
|
2340 |
msgid ""
|
2341 |
"Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
|
2342 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"calculate"
|
@@ -2346,15 +2461,15 @@ msgid ""
|
|
2346 |
"the property entirely."
|
2347 |
msgstr ""
|
2348 |
|
2349 |
-
#: includes/class-mla-options.php:
|
2350 |
msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
|
2351 |
msgstr ""
|
2352 |
|
2353 |
-
#: includes/class-mla-options.php:
|
2354 |
msgid "Enable custom field mapping when adding new media"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
-
#: includes/class-mla-options.php:
|
2358 |
msgid ""
|
2359 |
"Check this option to enable mapping when uploading new media (attachments)."
|
2360 |
"<br> Click Save Changes at the bottom of the screen if you change "
|
@@ -2362,18 +2477,18 @@ msgid ""
|
|
2362 |
"buttons on the bulk edit, single edit and settings screens."
|
2363 |
msgstr ""
|
2364 |
|
2365 |
-
#: includes/class-mla-options.php:
|
2366 |
msgid "Enable custom field mapping when updating media metadata"
|
2367 |
msgstr ""
|
2368 |
|
2369 |
-
#: includes/class-mla-options.php:
|
2370 |
msgid ""
|
2371 |
"Check this option to enable mapping when media (attachments) metadata is "
|
2372 |
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
2373 |
"functions are used."
|
2374 |
msgstr ""
|
2375 |
|
2376 |
-
#: includes/class-mla-options.php:
|
2377 |
msgid ""
|
2378 |
"Update the custom field mapping values above, then click Save Changes to "
|
2379 |
"make the updates permanent.<br>You can also make temporary updates and click "
|
@@ -2381,22 +2496,22 @@ msgid ""
|
|
2381 |
"saving any rule changes."
|
2382 |
msgstr ""
|
2383 |
|
2384 |
-
#: includes/class-mla-options.php:
|
2385 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
2386 |
msgstr ""
|
2387 |
|
2388 |
-
#: includes/class-mla-options.php:
|
2389 |
msgid ""
|
2390 |
"Check this option to enable mapping when uploading new media (attachments)."
|
2391 |
"<br> Does NOT affect the operation of the \"Map\" buttons on the "
|
2392 |
"bulk edit, single edit and settings screens."
|
2393 |
msgstr ""
|
2394 |
|
2395 |
-
#: includes/class-mla-options.php:
|
2396 |
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
2397 |
msgstr ""
|
2398 |
|
2399 |
-
#: includes/class-mla-options.php:
|
2400 |
msgid ""
|
2401 |
"Update the standard field mapping values above, then click <strong>Save "
|
2402 |
"Changes</strong> to make the updates permanent.<br>You can also make "
|
@@ -2405,13 +2520,13 @@ msgid ""
|
|
2405 |
"changes."
|
2406 |
msgstr ""
|
2407 |
|
2408 |
-
#: includes/class-mla-options.php:
|
2409 |
msgid ""
|
2410 |
"Update the taxonomy term mapping values above, then click <strong>Save "
|
2411 |
"Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
|
2412 |
msgstr ""
|
2413 |
|
2414 |
-
#: includes/class-mla-options.php:
|
2415 |
msgid ""
|
2416 |
"<strong>Update</strong> individual custom field mapping values above, or "
|
2417 |
"make several updates and click <strong>Save Changes</strong> below to apply "
|
@@ -2422,613 +2537,619 @@ msgid ""
|
|
2422 |
"changes."
|
2423 |
msgstr ""
|
2424 |
|
2425 |
-
#: includes/class-mla-options.php:
|
2426 |
msgid "IPTC/EXIF Mapping help"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
-
#: includes/class-mla-options.php:
|
2430 |
msgid "Enable View and Post MIME Type Support"
|
2431 |
msgstr ""
|
2432 |
|
2433 |
-
#: includes/class-mla-options.php:
|
2434 |
msgid ""
|
2435 |
"Check/uncheck this option to enable/disable Post MIME Type Support, then "
|
2436 |
"click <strong>Save Changes</strong> to record the new setting."
|
2437 |
msgstr ""
|
2438 |
|
2439 |
-
#: includes/class-mla-options.php:
|
2440 |
msgid "Post MIME Types help."
|
2441 |
msgstr ""
|
2442 |
|
2443 |
-
#: includes/class-mla-options.php:
|
2444 |
msgctxt "post_mime_types_singular"
|
2445 |
msgid "All"
|
2446 |
msgstr ""
|
2447 |
|
2448 |
-
#: includes/class-mla-options.php:
|
2449 |
msgctxt "post_mime_types_plural"
|
2450 |
msgid "All"
|
2451 |
msgstr ""
|
2452 |
|
2453 |
-
#: includes/class-mla-options.php:
|
2454 |
-
#: includes/class-mla-options.php:
|
2455 |
msgctxt "post_mime_types_description"
|
2456 |
msgid "Built-in view"
|
2457 |
msgstr ""
|
2458 |
|
2459 |
-
#: includes/class-mla-options.php:
|
2460 |
msgctxt "post_mime_types_singular"
|
2461 |
msgid "Image"
|
2462 |
msgstr ""
|
2463 |
|
2464 |
-
#: includes/class-mla-options.php:
|
2465 |
msgctxt "post_mime_types_plural"
|
2466 |
msgid "Images"
|
2467 |
msgstr ""
|
2468 |
|
2469 |
-
#: includes/class-mla-options.php:
|
2470 |
msgctxt "post_mime_types_description"
|
2471 |
msgid "All image subtypes"
|
2472 |
msgstr ""
|
2473 |
|
2474 |
-
#: includes/class-mla-options.php:
|
2475 |
msgctxt "post_mime_types_singular"
|
2476 |
msgid "Audio"
|
2477 |
msgstr ""
|
2478 |
|
2479 |
-
#: includes/class-mla-options.php:
|
2480 |
msgctxt "post_mime_types_plural"
|
2481 |
msgid "Audio"
|
2482 |
msgstr ""
|
2483 |
|
2484 |
-
#: includes/class-mla-options.php:
|
2485 |
msgctxt "post_mime_types_description"
|
2486 |
msgid "All audio subtypes"
|
2487 |
msgstr ""
|
2488 |
|
2489 |
-
#: includes/class-mla-options.php:
|
2490 |
msgctxt "post_mime_types_singular"
|
2491 |
msgid "Video"
|
2492 |
msgstr ""
|
2493 |
|
2494 |
-
#: includes/class-mla-options.php:
|
2495 |
msgctxt "post_mime_types_plural"
|
2496 |
msgid "Video"
|
2497 |
msgstr ""
|
2498 |
|
2499 |
-
#: includes/class-mla-options.php:
|
2500 |
msgctxt "post_mime_types_description"
|
2501 |
msgid "All video subtypes"
|
2502 |
msgstr ""
|
2503 |
|
2504 |
-
#: includes/class-mla-options.php:
|
2505 |
msgctxt "post_mime_types_singular"
|
2506 |
msgid "Text"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
-
#: includes/class-mla-options.php:
|
2510 |
msgctxt "post_mime_types_plural"
|
2511 |
msgid "Text"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
-
#: includes/class-mla-options.php:
|
2515 |
msgctxt "post_mime_types_description"
|
2516 |
msgid "All text subtypes"
|
2517 |
msgstr ""
|
2518 |
|
2519 |
-
#: includes/class-mla-options.php:
|
2520 |
msgctxt "post_mime_types_singular"
|
2521 |
msgid "Application"
|
2522 |
msgstr ""
|
2523 |
|
2524 |
-
#: includes/class-mla-options.php:
|
2525 |
msgctxt "post_mime_types_plural"
|
2526 |
msgid "Applications"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
-
#: includes/class-mla-options.php:
|
2530 |
msgctxt "post_mime_types_description"
|
2531 |
msgid "All application subtypes"
|
2532 |
msgstr ""
|
2533 |
|
2534 |
-
#: includes/class-mla-options.php:
|
2535 |
msgctxt "post_mime_types_plural"
|
2536 |
msgid "Unattached"
|
2537 |
msgstr ""
|
2538 |
|
2539 |
-
#: includes/class-mla-options.php:
|
2540 |
msgctxt "post_mime_types_singular"
|
2541 |
msgid "Trash"
|
2542 |
msgstr ""
|
2543 |
|
2544 |
-
#: includes/class-mla-options.php:
|
2545 |
msgctxt "post_mime_types_plural"
|
2546 |
msgid "Trash"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
-
#: includes/class-mla-options.php:
|
2550 |
msgid "Enable Upload MIME Type Support"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
-
#: includes/class-mla-options.php:
|
2554 |
msgid ""
|
2555 |
"Check/uncheck this option to enable/disable Upload MIME Type Support, then "
|
2556 |
"click <strong>Save Changes</strong> to record the new setting."
|
2557 |
msgstr ""
|
2558 |
|
2559 |
-
#: includes/class-mla-options.php:
|
2560 |
msgid "Upload MIME Types help."
|
2561 |
msgstr ""
|
2562 |
|
2563 |
-
#: includes/class-mla-options.php:
|
2564 |
msgid "Enable MLA File Type Icons Support"
|
2565 |
msgstr ""
|
2566 |
|
2567 |
-
#: includes/class-mla-options.php:
|
2568 |
msgid ""
|
2569 |
"Check/uncheck this option to enable/disable MLA File Type Icons Support, "
|
2570 |
"then click <strong>Save Changes</strong> to record the new setting."
|
2571 |
msgstr ""
|
2572 |
|
2573 |
-
#: includes/class-mla-options.php:
|
2574 |
-
#: includes/class-mla-options.php:
|
2575 |
msgid "no templates exist"
|
2576 |
msgstr ""
|
2577 |
|
2578 |
-
#: includes/class-mla-options.php:
|
2579 |
msgid "not found"
|
2580 |
msgstr ""
|
2581 |
|
2582 |
-
#. translators: 1: option name
|
2583 |
-
#: includes/class-mla-options.php:
|
2584 |
-
#: includes/class-mla-options.php:
|
2585 |
-
#: includes/class-mla-options.php:
|
2586 |
#, php-format
|
2587 |
-
msgid "
|
2588 |
msgstr ""
|
2589 |
|
2590 |
-
#: includes/class-mla-options.php:
|
2591 |
msgid "Support"
|
2592 |
msgstr ""
|
2593 |
|
2594 |
-
#: includes/class-mla-options.php:
|
2595 |
msgid "Inline Edit"
|
2596 |
msgstr ""
|
2597 |
|
2598 |
-
#: includes/class-mla-options.php:
|
|
|
|
|
|
|
|
|
2599 |
msgid "Checklist"
|
2600 |
msgstr ""
|
2601 |
|
2602 |
-
#: includes/class-mla-options.php:
|
2603 |
-
msgid "
|
2604 |
msgstr ""
|
2605 |
|
2606 |
-
#: includes/class-mla-options.php:
|
2607 |
msgid "List Filter"
|
2608 |
msgstr ""
|
2609 |
|
2610 |
-
#: includes/class-mla-options.php:
|
2611 |
msgid "Taxonomy"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
#. translators: 1: taxonomy name
|
2615 |
-
#: includes/class-mla-options.php:
|
2616 |
#, php-format
|
2617 |
msgid "List Filter ignored; %1$s not supported."
|
2618 |
msgstr ""
|
2619 |
|
2620 |
#. translators: 1: taxonomy name
|
2621 |
-
#: includes/class-mla-options.php:
|
2622 |
#, php-format
|
2623 |
msgid "Inline Edit ignored; %1$s not supported."
|
2624 |
msgstr ""
|
2625 |
|
2626 |
#. translators: 1: taxonomy name
|
2627 |
-
#: includes/class-mla-options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
2628 |
#, php-format
|
2629 |
msgid "Checklist ignored; %1$s not supported."
|
2630 |
msgstr ""
|
2631 |
|
2632 |
#. translators: 1: taxonomy name
|
2633 |
-
#: includes/class-mla-options.php:
|
2634 |
#, php-format
|
2635 |
-
msgid "
|
2636 |
msgstr ""
|
2637 |
|
2638 |
#. translators: 1: option name, e.g., taxonomy_support
|
2639 |
-
#: includes/class-mla-options.php:
|
2640 |
#, php-format
|
2641 |
msgid "Update custom %1$s"
|
2642 |
msgstr ""
|
2643 |
|
2644 |
#. translators: 1: option name, e.g., taxonomy_support
|
2645 |
-
#: includes/class-mla-options.php:
|
2646 |
-
#: includes/class-mla-options.php:
|
2647 |
#, php-format
|
2648 |
msgid "Reset custom %1$s"
|
2649 |
msgstr ""
|
2650 |
|
2651 |
-
#: includes/class-mla-options.php:
|
2652 |
#: includes/mla-main-search-box-template.php:38
|
2653 |
#: includes/mla-media-modal-js-template.php:24
|
2654 |
msgid "and"
|
2655 |
msgstr ""
|
2656 |
|
2657 |
-
#: includes/class-mla-options.php:
|
2658 |
#: includes/mla-main-search-box-template.php:40
|
2659 |
#: includes/mla-media-modal-js-template.php:28
|
2660 |
msgid "or"
|
2661 |
msgstr ""
|
2662 |
|
2663 |
-
#: includes/class-mla-options.php:
|
2664 |
-
#: includes/class-mla-settings.php:
|
2665 |
-
#: includes/class-mla-settings.php:
|
2666 |
-
#: includes/class-mla-settings.php:
|
2667 |
#: includes/mla-main-search-box-template.php:43
|
2668 |
#: includes/mla-media-modal-js-template.php:36
|
2669 |
msgid "Name"
|
2670 |
msgstr ""
|
2671 |
|
2672 |
-
#: includes/class-mla-options.php:
|
2673 |
#: includes/mla-main-search-box-template.php:47
|
2674 |
#: includes/mla-media-modal-js-template.php:53
|
2675 |
msgid "Terms"
|
2676 |
msgstr ""
|
2677 |
|
2678 |
-
#: includes/class-mla-options.php:
|
2679 |
-
#: includes/class-mla-options.php:
|
2680 |
-
#: includes/class-mla-settings.php:
|
2681 |
msgid "None (select a value)"
|
2682 |
msgstr ""
|
2683 |
|
2684 |
-
#: includes/class-mla-options.php:
|
2685 |
msgid "Metadata (see below)"
|
2686 |
msgstr ""
|
2687 |
|
2688 |
-
#: includes/class-mla-options.php:
|
2689 |
msgid "Template (see below)"
|
2690 |
msgstr ""
|
2691 |
|
2692 |
-
#. translators: 1: custom field name
|
2693 |
-
#: includes/class-mla-options.php:
|
2694 |
#, php-format
|
2695 |
-
msgid "
|
2696 |
msgstr ""
|
2697 |
|
2698 |
#. translators: 1: custom field name
|
2699 |
-
#: includes/class-mla-options.php:
|
2700 |
#, php-format
|
2701 |
msgid "Adding new field %1$s."
|
2702 |
msgstr ""
|
2703 |
|
2704 |
#. translators: 1: custom field name
|
2705 |
-
#: includes/class-mla-options.php:
|
2706 |
#, php-format
|
2707 |
msgid "Adding new rule for %1$s."
|
2708 |
msgstr ""
|
2709 |
|
2710 |
#. translators: 1: custom field name
|
2711 |
-
#: includes/class-mla-options.php:
|
2712 |
-
#: includes/class-mla-options.php:
|
2713 |
#, php-format
|
2714 |
msgid "Deleting rule for %1$s."
|
2715 |
msgstr ""
|
2716 |
|
2717 |
#. translators: 1: custom field name 2: attribute 3: old value 4: new value
|
2718 |
-
#: includes/class-mla-options.php:
|
2719 |
-
#: includes/class-mla-options.php:
|
2720 |
-
#: includes/class-mla-options.php:
|
2721 |
-
#: includes/class-mla-options.php:
|
2722 |
-
#: includes/class-mla-options.php:
|
2723 |
-
#: includes/class-mla-options.php:
|
2724 |
-
#: includes/class-mla-options.php:
|
2725 |
#, php-format
|
2726 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2727 |
msgstr ""
|
2728 |
|
2729 |
-
#: includes/class-mla-options.php:
|
2730 |
msgid "Data Source"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
-
#: includes/class-mla-options.php:
|
2734 |
-
#: includes/class-mla-options.php:
|
2735 |
msgid "Replace to Keep"
|
2736 |
msgstr ""
|
2737 |
|
2738 |
-
#: includes/class-mla-options.php:
|
2739 |
-
#: includes/class-mla-options.php:
|
2740 |
msgid "Keep to Replace"
|
2741 |
msgstr ""
|
2742 |
|
2743 |
#. translators: 1: custom field name 2: attribute 3: old value 'to' new value
|
2744 |
-
#: includes/class-mla-options.php:
|
2745 |
-
#: includes/class-mla-options.php:
|
2746 |
-
#: includes/class-mla-options.php:
|
2747 |
-
#: includes/class-mla-options.php:
|
2748 |
-
#: includes/class-mla-options.php:
|
2749 |
-
#: includes/class-mla-options.php:
|
2750 |
#, php-format
|
2751 |
msgid "%1$s changing %2$s value from %3$s."
|
2752 |
msgstr ""
|
2753 |
|
2754 |
-
#: includes/class-mla-options.php:
|
2755 |
-
#: includes/class-mla-options.php:
|
2756 |
-
#: includes/class-mla-options.php:
|
2757 |
-
#: includes/class-mla-options.php:
|
2758 |
msgid "Existing Text"
|
2759 |
msgstr ""
|
2760 |
|
2761 |
-
#: includes/class-mla-options.php:
|
2762 |
msgid "Format"
|
2763 |
msgstr ""
|
2764 |
|
2765 |
-
#: includes/class-mla-options.php:
|
2766 |
-
#: includes/class-mla-options.php:
|
2767 |
msgid "unchecked to checked"
|
2768 |
msgstr ""
|
2769 |
|
2770 |
-
#: includes/class-mla-options.php:
|
2771 |
-
#: includes/class-mla-options.php:
|
2772 |
msgid "checked to unchecked"
|
2773 |
msgstr ""
|
2774 |
|
2775 |
-
#: includes/class-mla-options.php:
|
2776 |
msgid "MLA Column"
|
2777 |
msgstr ""
|
2778 |
|
2779 |
-
#: includes/class-mla-options.php:
|
2780 |
msgid "Metavalue name"
|
2781 |
msgstr ""
|
2782 |
|
2783 |
-
#: includes/class-mla-options.php:
|
2784 |
-
#: includes/class-mla-options.php:
|
2785 |
msgid "Option"
|
2786 |
msgstr ""
|
2787 |
|
2788 |
-
#: includes/class-mla-options.php:
|
2789 |
-
|
|
|
2790 |
msgstr ""
|
2791 |
|
2792 |
-
#: includes/class-mla-options.php:
|
2793 |
msgid "No Custom Field Mapping Rules Defined"
|
2794 |
msgstr ""
|
2795 |
|
2796 |
-
#: includes/class-mla-options.php:
|
2797 |
-
#: includes/class-mla-options.php:
|
2798 |
-
#: includes/class-mla-options.php:
|
2799 |
-
#: includes/class-mla-options.php:
|
2800 |
msgid "Keep"
|
2801 |
msgstr ""
|
2802 |
|
2803 |
-
#: includes/class-mla-options.php:
|
2804 |
-
#: includes/class-mla-options.php:
|
2805 |
msgid "Native"
|
2806 |
msgstr ""
|
2807 |
|
2808 |
-
#: includes/class-mla-options.php:
|
2809 |
-
#: includes/class-mla-options.php:
|
2810 |
msgid "Commas"
|
2811 |
msgstr ""
|
2812 |
|
2813 |
-
#: includes/class-mla-options.php:
|
2814 |
-
#: includes/class-mla-options.php:
|
2815 |
msgid "Raw"
|
2816 |
msgstr ""
|
2817 |
|
2818 |
-
#: includes/class-mla-options.php:
|
2819 |
-
#: includes/class-mla-options.php:
|
2820 |
msgid "Text"
|
2821 |
msgstr ""
|
2822 |
|
2823 |
-
#: includes/class-mla-options.php:
|
2824 |
-
#: includes/class-mla-options.php:
|
2825 |
msgid "Single"
|
2826 |
msgstr ""
|
2827 |
|
2828 |
-
#: includes/class-mla-options.php:
|
2829 |
-
#: includes/class-mla-options.php:
|
2830 |
msgid "Export"
|
2831 |
msgstr ""
|
2832 |
|
2833 |
-
#: includes/class-mla-options.php:
|
2834 |
-
#: includes/class-mla-options.php:
|
2835 |
msgid "Array"
|
2836 |
msgstr ""
|
2837 |
|
2838 |
-
#: includes/class-mla-options.php:
|
2839 |
-
#: includes/class-mla-options.php:
|
2840 |
msgid "Multi"
|
2841 |
msgstr ""
|
2842 |
|
2843 |
-
#: includes/class-mla-options.php:
|
2844 |
-
#: includes/class-mla-options.php:3496
|
2845 |
-
msgid "Delete NULL values"
|
2846 |
-
msgstr ""
|
2847 |
-
|
2848 |
-
#: includes/class-mla-options.php:3352 includes/class-mla-options.php:4619
|
2849 |
msgid "Delete Rule"
|
2850 |
msgstr ""
|
2851 |
|
2852 |
-
#: includes/class-mla-options.php:
|
2853 |
msgid "Delete Rule AND Field"
|
2854 |
msgstr ""
|
2855 |
|
2856 |
-
#: includes/class-mla-options.php:
|
2857 |
msgid "Update Rule"
|
2858 |
msgstr ""
|
2859 |
|
2860 |
-
#: includes/class-mla-options.php:
|
2861 |
-
#: includes/class-mla-settings.php:
|
2862 |
msgid "Map All Attachments"
|
2863 |
msgstr ""
|
2864 |
|
2865 |
-
#: includes/class-mla-options.php:
|
2866 |
msgid "Add a new Mapping Rule"
|
2867 |
msgstr ""
|
2868 |
|
2869 |
-
#: includes/class-mla-options.php:
|
2870 |
msgid "Add Rule"
|
2871 |
msgstr ""
|
2872 |
|
2873 |
-
#: includes/class-mla-options.php:
|
2874 |
msgid "Add Rule and Map All Attachments"
|
2875 |
msgstr ""
|
2876 |
|
2877 |
-
#: includes/class-mla-options.php:
|
2878 |
msgid "Add a new Field and Mapping Rule"
|
2879 |
msgstr ""
|
2880 |
|
2881 |
-
#: includes/class-mla-options.php:
|
2882 |
msgid "Add Field"
|
2883 |
msgstr ""
|
2884 |
|
2885 |
-
#: includes/class-mla-options.php:
|
2886 |
msgid "Add Field and Map All Attachments"
|
2887 |
msgstr ""
|
2888 |
|
2889 |
-
#: includes/class-mla-options.php:
|
2890 |
-
#: includes/class-mla-options.php:
|
2891 |
-
#: includes/class-mla-options.php:
|
2892 |
msgid "Field Title"
|
2893 |
msgstr ""
|
2894 |
|
2895 |
-
#: includes/class-mla-options.php:
|
2896 |
msgid "Custom field mapping rules updated."
|
2897 |
msgstr ""
|
2898 |
|
2899 |
-
#: includes/class-mla-options.php:
|
2900 |
-
msgid "
|
2901 |
msgstr ""
|
2902 |
|
2903 |
-
#: includes/class-mla-options.php:
|
2904 |
-
#: includes/class-mla-settings.php:
|
2905 |
msgid "Custom field no mapping rule changes detected."
|
2906 |
msgstr ""
|
2907 |
|
2908 |
-
#: includes/class-mla-options.php:
|
2909 |
msgid "Custom field mapping settings saved."
|
2910 |
msgstr ""
|
2911 |
|
2912 |
-
#: includes/class-mla-options.php:
|
2913 |
-
msgid "
|
2914 |
msgstr ""
|
2915 |
|
2916 |
-
#. translators: 1: custom field name
|
2917 |
-
#: includes/class-mla-options.php:
|
2918 |
#, php-format
|
2919 |
-
msgid "
|
2920 |
msgstr ""
|
2921 |
|
2922 |
-
#: includes/class-mla-options.php:
|
2923 |
-
#: includes/class-mla-options.php:
|
2924 |
-
#: includes/class-mla-options.php:
|
2925 |
msgid "IPTC Value"
|
2926 |
msgstr ""
|
2927 |
|
2928 |
-
#: includes/class-mla-options.php:
|
2929 |
-
#: includes/class-mla-options.php:
|
2930 |
msgid "EXIF Value"
|
2931 |
msgstr ""
|
2932 |
|
2933 |
-
#: includes/class-mla-options.php:
|
2934 |
-
#: includes/class-mla-options.php:
|
2935 |
msgid "EXIF to IPTC"
|
2936 |
msgstr ""
|
2937 |
|
2938 |
-
#: includes/class-mla-options.php:
|
2939 |
-
#: includes/class-mla-options.php:
|
2940 |
msgid "IPTC to EXIF"
|
2941 |
msgstr ""
|
2942 |
|
2943 |
-
#: includes/class-mla-options.php:
|
2944 |
-
#: includes/class-mla-options.php:
|
2945 |
-
#: includes/class-mla-options.php:
|
2946 |
msgid "Priority"
|
2947 |
msgstr ""
|
2948 |
|
2949 |
-
#: includes/class-mla-options.php:
|
2950 |
msgid "Delimiter(s)"
|
2951 |
msgstr ""
|
2952 |
|
2953 |
-
#: includes/class-mla-options.php:
|
2954 |
-
#: includes/class-mla-options.php:
|
2955 |
-
#: includes/class-mla-options.php:
|
2956 |
msgid "IPTC"
|
2957 |
msgstr ""
|
2958 |
|
2959 |
-
#: includes/class-mla-options.php:
|
2960 |
-
#: includes/class-mla-options.php:
|
2961 |
-
#: includes/class-mla-options.php:
|
2962 |
msgid "EXIF"
|
2963 |
msgstr ""
|
2964 |
|
2965 |
-
#: includes/class-mla-options.php:
|
2966 |
-
#: includes/class-mla-options.php:
|
2967 |
msgid "EXIF/Template Value"
|
2968 |
msgstr ""
|
2969 |
|
2970 |
-
#. translators: 1: option name
|
2971 |
-
#: includes/class-mla-options.php:
|
2972 |
#, php-format
|
2973 |
-
msgid "
|
2974 |
msgstr ""
|
2975 |
|
2976 |
-
#. translators: 1: option name
|
2977 |
-
#: includes/class-mla-options.php:
|
2978 |
#, php-format
|
2979 |
-
msgid "
|
2980 |
msgstr ""
|
2981 |
|
2982 |
-
#: includes/class-mla-options.php:
|
2983 |
msgid "IPTC/EXIF mapping settings updated."
|
2984 |
msgstr ""
|
2985 |
|
2986 |
-
#: includes/class-mla-options.php:
|
2987 |
-
msgid "
|
2988 |
msgstr ""
|
2989 |
|
2990 |
-
#: includes/class-mla-options.php:
|
2991 |
-
#: includes/class-mla-settings.php:
|
2992 |
msgid "IPTC/EXIF no mapping changes detected."
|
2993 |
msgstr ""
|
2994 |
|
2995 |
#. translators: 1: field type
|
2996 |
-
#: includes/class-mla-options.php:
|
2997 |
-
#: includes/class-mla-options.php:
|
2998 |
#, php-format
|
2999 |
msgid "%1$s settings saved."
|
3000 |
msgstr ""
|
3001 |
|
3002 |
-
#: includes/class-mla-options.php:
|
3003 |
-
#: includes/class-mla-settings.php:
|
3004 |
-
#: includes/class-mla-settings.php:
|
3005 |
msgid "Standard field"
|
3006 |
msgstr ""
|
3007 |
|
3008 |
-
#. translators: 1: field type
|
3009 |
-
#: includes/class-mla-options.php:
|
3010 |
-
#: includes/class-mla-options.php:
|
3011 |
#, php-format
|
3012 |
-
msgid "
|
3013 |
msgstr ""
|
3014 |
|
3015 |
-
#: includes/class-mla-options.php:
|
3016 |
-
#: includes/class-mla-settings.php:
|
3017 |
-
#: includes/class-mla-settings.php:
|
3018 |
msgid "Taxonomy term"
|
3019 |
msgstr ""
|
3020 |
|
3021 |
-
#: includes/class-mla-options.php:
|
3022 |
-
#: includes/class-mla-settings.php:
|
3023 |
-
#: includes/class-mla-settings.php:
|
3024 |
-
#: includes/class-mla-settings.php:
|
3025 |
msgid "Custom field"
|
3026 |
msgstr ""
|
3027 |
|
3028 |
-
#. translators: 1: option name, e.g., taxonomy_support
|
3029 |
-
#: includes/class-mla-options.php:
|
3030 |
#, php-format
|
3031 |
-
msgid "
|
3032 |
msgstr ""
|
3033 |
|
3034 |
#: includes/class-mla-settings.php:339
|
@@ -3039,94 +3160,102 @@ msgstr ""
|
|
3039 |
msgid "Running"
|
3040 |
msgstr ""
|
3041 |
|
3042 |
-
#: includes/class-mla-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3043 |
msgid "Media Library Assistant Settings"
|
3044 |
msgstr ""
|
3045 |
|
3046 |
-
#: includes/class-mla-settings.php:
|
3047 |
msgid "Views per page"
|
3048 |
msgstr ""
|
3049 |
|
3050 |
-
#: includes/class-mla-settings.php:
|
3051 |
msgid "Types per page"
|
3052 |
msgstr ""
|
3053 |
|
3054 |
-
#: includes/class-mla-settings.php:
|
3055 |
msgid "Upload types per page"
|
3056 |
msgstr ""
|
3057 |
|
3058 |
-
#: includes/class-mla-settings.php:
|
3059 |
-
msgid "
|
3060 |
msgstr ""
|
3061 |
|
3062 |
-
#: includes/class-mla-settings.php:
|
3063 |
-
msgid "
|
3064 |
msgstr ""
|
3065 |
|
3066 |
-
#: includes/class-mla-settings.php:
|
3067 |
-
#: includes/class-mla-settings.php:
|
3068 |
msgid "Map All Rules, All Attachments Now"
|
3069 |
msgstr ""
|
3070 |
|
3071 |
-
#: includes/class-mla-settings.php:
|
3072 |
msgid "Map All Attachments, Standard Fields Now"
|
3073 |
msgstr ""
|
3074 |
|
3075 |
-
#: includes/class-mla-settings.php:
|
3076 |
msgid "Map All Attachments, Taxonomy Terms Now"
|
3077 |
msgstr ""
|
3078 |
|
3079 |
-
#: includes/class-mla-settings.php:
|
3080 |
msgid "Map All Attachments, Custom Fields Now"
|
3081 |
msgstr ""
|
3082 |
|
3083 |
-
#: includes/class-mla-settings.php:
|
3084 |
msgid "Settings"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#. translators: 1: function name
|
3088 |
-
#: includes/class-mla-settings.php:
|
3089 |
-
#: includes/class-mla-settings.php:
|
3090 |
#, php-format
|
3091 |
msgctxt "error_log"
|
3092 |
-
msgid "
|
3093 |
msgstr ""
|
3094 |
|
3095 |
-
#: includes/class-mla-settings.php:
|
3096 |
msgid "Go to Top"
|
3097 |
msgstr ""
|
3098 |
|
3099 |
-
#: includes/class-mla-settings.php:
|
3100 |
msgid "General"
|
3101 |
msgstr ""
|
3102 |
|
3103 |
-
#: includes/class-mla-settings.php:
|
3104 |
msgid "Views"
|
3105 |
msgstr ""
|
3106 |
|
3107 |
-
#: includes/class-mla-settings.php:
|
3108 |
msgid "Uploads"
|
3109 |
msgstr ""
|
3110 |
|
3111 |
-
#: includes/class-mla-settings.php:
|
3112 |
-
#: includes/class-mla-settings.php:
|
3113 |
msgid "MLA Gallery"
|
3114 |
msgstr ""
|
3115 |
|
3116 |
-
#: includes/class-mla-settings.php:
|
3117 |
msgid "Custom Fields"
|
3118 |
msgstr ""
|
3119 |
|
3120 |
-
#: includes/class-mla-settings.php:
|
3121 |
msgid "Documentation"
|
3122 |
msgstr ""
|
3123 |
|
3124 |
-
#: includes/class-mla-settings.php:
|
3125 |
msgid "General Processing Options"
|
3126 |
msgstr ""
|
3127 |
|
3128 |
#. translators: 1: - 4: page subheader values
|
3129 |
-
#: includes/class-mla-settings.php:
|
3130 |
#, php-format
|
3131 |
msgid ""
|
3132 |
"In this tab you can find a number of options for controlling the "
|
@@ -3135,44 +3264,44 @@ msgid ""
|
|
3135 |
"any changes you make."
|
3136 |
msgstr ""
|
3137 |
|
3138 |
-
#: includes/class-mla-settings.php:
|
3139 |
msgid "Media/Assistant Table Defaults"
|
3140 |
msgstr ""
|
3141 |
|
3142 |
-
#: includes/class-mla-settings.php:
|
3143 |
msgid "Media Manager Enhancements"
|
3144 |
msgstr ""
|
3145 |
|
3146 |
-
#: includes/class-mla-settings.php:
|
3147 |
-
#: includes/class-mla-settings.php:
|
3148 |
-
#: includes/class-mla-settings.php:
|
3149 |
-
#: includes/class-mla-settings.php:
|
3150 |
-
#: includes/class-mla-settings.php:
|
3151 |
msgid "Save Changes"
|
3152 |
msgstr ""
|
3153 |
|
3154 |
-
#: includes/class-mla-settings.php:
|
3155 |
msgid "Export ALL Settings"
|
3156 |
msgstr ""
|
3157 |
|
3158 |
-
#: includes/class-mla-settings.php:
|
3159 |
msgid "Delete General options and restore default settings"
|
3160 |
msgstr ""
|
3161 |
|
3162 |
-
#: includes/class-mla-settings.php:
|
3163 |
msgid "Support Our Work"
|
3164 |
msgstr ""
|
3165 |
|
3166 |
-
#: includes/class-mla-settings.php:
|
3167 |
msgid "Donate to FTJ"
|
3168 |
msgstr ""
|
3169 |
|
3170 |
-
#: includes/class-mla-settings.php:
|
3171 |
msgid "Donate"
|
3172 |
msgstr ""
|
3173 |
|
3174 |
#. translators: 1: donation hyperlink
|
3175 |
-
#: includes/class-mla-settings.php:
|
3176 |
#, php-format
|
3177 |
msgid ""
|
3178 |
"This plugin was inspired by my work on the WordPress web site for our "
|
@@ -3181,27 +3310,27 @@ msgid ""
|
|
3181 |
"our work. Thank you!"
|
3182 |
msgstr ""
|
3183 |
|
3184 |
-
#: includes/class-mla-settings.php:
|
3185 |
msgid "tax-deductible donation"
|
3186 |
msgstr ""
|
3187 |
|
3188 |
-
#: includes/class-mla-settings.php:
|
3189 |
msgid "enhanced version of the WordPress [gallery] shortcode."
|
3190 |
msgstr ""
|
3191 |
|
3192 |
-
#: includes/class-mla-settings.php:
|
3193 |
msgid "enhanced version of the WordPress Tag Cloud."
|
3194 |
msgstr ""
|
3195 |
|
3196 |
-
#: includes/class-mla-settings.php:
|
3197 |
msgid "Shortcodes made available by this plugin"
|
3198 |
msgstr ""
|
3199 |
|
3200 |
-
#: includes/class-mla-settings.php:
|
3201 |
msgid "Edit View"
|
3202 |
msgstr ""
|
3203 |
|
3204 |
-
#: includes/class-mla-settings.php:
|
3205 |
msgid ""
|
3206 |
"The “slug” is the URL-friendly, unique key for the view. It must "
|
3207 |
"be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
|
@@ -3210,25 +3339,25 @@ msgid ""
|
|
3210 |
"MIME</strong> type, e.g., “image” or “image/jpeg”."
|
3211 |
msgstr ""
|
3212 |
|
3213 |
-
#: includes/class-mla-settings.php:
|
3214 |
msgid "Singular Label"
|
3215 |
msgstr ""
|
3216 |
|
3217 |
-
#: includes/class-mla-settings.php:
|
3218 |
msgid "Plural Label"
|
3219 |
msgstr ""
|
3220 |
|
3221 |
-
#: includes/class-mla-settings.php:
|
3222 |
msgid ""
|
3223 |
"The labels, e.g., “Image” and “Images” are used for "
|
3224 |
"column headers and other display purposes."
|
3225 |
msgstr ""
|
3226 |
|
3227 |
-
#: includes/class-mla-settings.php:
|
3228 |
msgid "Specification"
|
3229 |
msgstr ""
|
3230 |
|
3231 |
-
#: includes/class-mla-settings.php:
|
3232 |
msgid ""
|
3233 |
"If the MIME type specification differs from the slug, enter it here. You may "
|
3234 |
"include multiple MIME types, e.g., “audio,video” and/or wildcard "
|
@@ -3236,60 +3365,60 @@ msgid ""
|
|
3236 |
"MIME Type box is checked."
|
3237 |
msgstr ""
|
3238 |
|
3239 |
-
#: includes/class-mla-settings.php:
|
3240 |
msgid "Post MIME Type"
|
3241 |
msgstr ""
|
3242 |
|
3243 |
-
#: includes/class-mla-settings.php:
|
3244 |
msgid ""
|
3245 |
"Check this box if you want to add this entry to the list of MIME types "
|
3246 |
"returned by wp_get_mime_types()."
|
3247 |
msgstr ""
|
3248 |
|
3249 |
-
#: includes/class-mla-settings.php:
|
3250 |
msgid "Table View"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
-
#: includes/class-mla-settings.php:
|
3254 |
msgid ""
|
3255 |
"Check this box if you want to add this entry to the list of Media/Assistant "
|
3256 |
"table views."
|
3257 |
msgstr ""
|
3258 |
|
3259 |
-
#: includes/class-mla-settings.php:
|
3260 |
msgid ""
|
3261 |
"You can choose your own table view order by entering a number (1 for first, "
|
3262 |
"etc.) in this field."
|
3263 |
msgstr ""
|
3264 |
|
3265 |
-
#: includes/class-mla-settings.php:
|
3266 |
-
#: includes/class-mla-settings.php:
|
3267 |
msgid ""
|
3268 |
"The description can contain any documentation or notes you need to "
|
3269 |
"understand or use the item."
|
3270 |
msgstr ""
|
3271 |
|
3272 |
#. translators: 1: bulk_action, e.g., delete, edit, restore, trash
|
3273 |
-
#: includes/class-mla-settings.php:
|
3274 |
#, php-format
|
3275 |
msgid "Unknown bulk action %1$s"
|
3276 |
msgstr ""
|
3277 |
|
3278 |
#. translators: 1: view name/slug
|
3279 |
-
#: includes/class-mla-settings.php:
|
3280 |
#, php-format
|
3281 |
msgid "Edit view \"%1$s\" cancelled."
|
3282 |
msgstr ""
|
3283 |
|
3284 |
-
#: includes/class-mla-settings.php:
|
3285 |
msgid "View and Post MIME Type Support is disabled"
|
3286 |
msgstr ""
|
3287 |
|
3288 |
-
#: includes/class-mla-settings.php:
|
3289 |
msgid "Library Views/Post MIME Type Processing"
|
3290 |
msgstr ""
|
3291 |
|
3292 |
-
#: includes/class-mla-settings.php:
|
3293 |
msgid ""
|
3294 |
"In this tab you can manage the list of \"Post MIME Types\", which are used "
|
3295 |
"by WordPress to define the views for the <em><strong>Media/Library</strong></"
|
@@ -3301,7 +3430,7 @@ msgid ""
|
|
3301 |
msgstr ""
|
3302 |
|
3303 |
#. translators: 1: Documentation hyperlink
|
3304 |
-
#: includes/class-mla-settings.php:
|
3305 |
#, php-format
|
3306 |
msgid ""
|
3307 |
"You can find more information about library views, Post MIME types and how "
|
@@ -3310,100 +3439,91 @@ msgid ""
|
|
3310 |
"screen."
|
3311 |
msgstr ""
|
3312 |
|
3313 |
-
#: includes/class-mla-settings.php:
|
3314 |
msgid "Library View Processing documentation"
|
3315 |
msgstr ""
|
3316 |
|
3317 |
-
#: includes/class-mla-settings.php:
|
3318 |
-
#: includes/class-mla-settings.php:
|
3319 |
msgid "Displaying search results for"
|
3320 |
msgstr ""
|
3321 |
|
3322 |
-
#: includes/class-mla-settings.php:
|
3323 |
msgid "Search Views"
|
3324 |
msgstr ""
|
3325 |
|
3326 |
-
#: includes/class-mla-settings.php:
|
3327 |
-
msgid "Add New View"
|
3328 |
-
msgstr ""
|
3329 |
-
|
3330 |
-
#: includes/class-mla-settings.php:1748
|
3331 |
msgid "Add View"
|
3332 |
msgstr ""
|
3333 |
|
3334 |
-
#: includes/class-mla-settings.php:
|
3335 |
msgid "<strong>Quick Edit</strong>"
|
3336 |
msgstr ""
|
3337 |
|
3338 |
-
#: includes/class-mla-settings.php:
|
3339 |
-
#: includes/class-mla-view-list-table.php:377
|
3340 |
-
#: includes/class-mla-view-list-table.php:393
|
3341 |
-
msgid "Yes"
|
3342 |
-
msgstr ""
|
3343 |
-
|
3344 |
-
#: includes/class-mla-settings.php:1830
|
3345 |
msgid "Edit Upload MIME Type"
|
3346 |
msgstr ""
|
3347 |
|
3348 |
-
#: includes/class-mla-settings.php:
|
3349 |
msgid "Extension"
|
3350 |
msgstr ""
|
3351 |
|
3352 |
-
#: includes/class-mla-settings.php:
|
3353 |
msgid ""
|
3354 |
"The “extension” is the file extension for this type, and a "
|
3355 |
"unique key for the item. It must be all lowercase and contain only letters "
|
3356 |
"and numbers."
|
3357 |
msgstr ""
|
3358 |
|
3359 |
-
#: includes/class-mla-settings.php:
|
3360 |
msgid ""
|
3361 |
"The MIME Type must be all lowercase and contain only letters, numbers, "
|
3362 |
"periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
|
3363 |
"strong> type, e.g., “image” or “image/jpeg”."
|
3364 |
msgstr ""
|
3365 |
|
3366 |
-
#: includes/class-mla-settings.php:
|
3367 |
msgid "Icon Type"
|
3368 |
msgstr ""
|
3369 |
|
3370 |
-
#: includes/class-mla-settings.php:
|
3371 |
msgid ""
|
3372 |
"The Icon Type selects a thumbnail image displayed for non-image file types, "
|
3373 |
"such as PDF documents."
|
3374 |
msgstr ""
|
3375 |
|
3376 |
-
#: includes/class-mla-settings.php:
|
|
|
3377 |
msgid "Inactive"
|
3378 |
msgstr ""
|
3379 |
|
3380 |
-
#: includes/class-mla-settings.php:
|
3381 |
msgid ""
|
3382 |
"Check this box if you want to remove this entry from the list of Upload MIME "
|
3383 |
"Types returned by get_allowed_mime_types()."
|
3384 |
msgstr ""
|
3385 |
|
3386 |
-
#: includes/class-mla-settings.php:
|
3387 |
msgid "Known File Extension/MIME Type Associations"
|
3388 |
msgstr ""
|
3389 |
|
3390 |
-
#: includes/class-mla-settings.php:
|
3391 |
msgid "Search Known MIME Types"
|
3392 |
msgstr ""
|
3393 |
|
3394 |
-
#: includes/class-mla-settings.php:
|
3395 |
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3396 |
msgstr ""
|
3397 |
|
3398 |
-
#: includes/class-mla-settings.php:
|
3399 |
msgid "Upload MIME Type Support is disabled"
|
3400 |
msgstr ""
|
3401 |
|
3402 |
-
#: includes/class-mla-settings.php:
|
3403 |
msgid "File Extension and MIME Type Processing"
|
3404 |
msgstr ""
|
3405 |
|
3406 |
-
#: includes/class-mla-settings.php:
|
3407 |
msgid ""
|
3408 |
"In this tab you can manage the list of file extension/MIME Type "
|
3409 |
"associations, which are used by WordPress to decide what kind of files can "
|
@@ -3413,7 +3533,7 @@ msgid ""
|
|
3413 |
msgstr ""
|
3414 |
|
3415 |
#. translators: 1: Documentation hyperlink
|
3416 |
-
#: includes/class-mla-settings.php:
|
3417 |
#, php-format
|
3418 |
msgid ""
|
3419 |
"You can find more information about file extensions, MIME types and how "
|
@@ -3421,52 +3541,53 @@ msgid ""
|
|
3421 |
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
3422 |
msgstr ""
|
3423 |
|
3424 |
-
#: includes/class-mla-settings.php:
|
3425 |
msgid "File Extension Processing documentation"
|
3426 |
msgstr ""
|
3427 |
|
3428 |
-
#: includes/class-mla-settings.php:
|
3429 |
msgid "Search Uploads"
|
3430 |
msgstr ""
|
3431 |
|
3432 |
-
#: includes/class-mla-settings.php:
|
3433 |
-
msgid "
|
3434 |
msgstr ""
|
3435 |
|
3436 |
-
#: includes/class-mla-settings.php:
|
3437 |
msgid ""
|
3438 |
"To search the database of over 1,500 known extension/type associations, "
|
3439 |
"click \"Search Known Types\" below the form."
|
3440 |
msgstr ""
|
3441 |
|
3442 |
-
#: includes/class-mla-settings.php:
|
3443 |
msgid ""
|
3444 |
"The “extension” is the file extension for this type, and unique "
|
3445 |
"key for the item. It must be all lowercase and contain only letters and "
|
3446 |
"numbers."
|
3447 |
msgstr ""
|
3448 |
|
3449 |
-
#: includes/class-mla-settings.php:
|
3450 |
msgid "Add Upload MIME Type"
|
3451 |
msgstr ""
|
3452 |
|
3453 |
-
#: includes/class-mla-settings.php:
|
3454 |
msgid "Search Known Types"
|
3455 |
msgstr ""
|
3456 |
|
3457 |
-
#: includes/class-mla-settings.php:
|
|
|
3458 |
msgid "Active"
|
3459 |
msgstr ""
|
3460 |
|
3461 |
-
#: includes/class-mla-settings.php:
|
3462 |
msgid "MLA Gallery Options"
|
3463 |
msgstr ""
|
3464 |
|
3465 |
-
#: includes/class-mla-settings.php:
|
3466 |
msgid "Go to Markup Templates"
|
3467 |
msgstr ""
|
3468 |
|
3469 |
-
#: includes/class-mla-settings.php:
|
3470 |
msgid ""
|
3471 |
"In this tab you can view the default style and markup templates. You can "
|
3472 |
"also define additional templates and use the <code>mla_style</code> and "
|
@@ -3476,146 +3597,150 @@ msgid ""
|
|
3476 |
"Changes\" at the bottom of this page."
|
3477 |
msgstr ""
|
3478 |
|
3479 |
-
#: includes/class-mla-settings.php:
|
3480 |
msgid "Style Templates"
|
3481 |
msgstr ""
|
3482 |
|
3483 |
-
#: includes/class-mla-settings.php:
|
3484 |
msgid "Markup Templates"
|
3485 |
msgstr ""
|
3486 |
|
3487 |
-
#: includes/class-mla-settings.php:
|
3488 |
msgid "Theme"
|
3489 |
msgstr ""
|
3490 |
|
3491 |
-
#: includes/class-mla-settings.php:
|
3492 |
msgid ""
|
3493 |
"This default template cannot be altered or deleted, but you can copy the "
|
3494 |
"styles."
|
3495 |
msgstr ""
|
3496 |
|
3497 |
-
#: includes/class-mla-settings.php:
|
3498 |
-
#: includes/class-mla-settings.php:
|
3499 |
msgid "Styles"
|
3500 |
msgstr ""
|
3501 |
|
3502 |
-
#: includes/class-mla-settings.php:
|
3503 |
-
#: includes/class-mla-settings.php:
|
3504 |
msgid ""
|
3505 |
"List of substitution parameters, e.g., [+selector+], on Documentation tab."
|
3506 |
msgstr ""
|
3507 |
|
3508 |
-
#: includes/class-mla-settings.php:
|
3509 |
msgid "Delete this template"
|
3510 |
msgstr ""
|
3511 |
|
3512 |
-
#: includes/class-mla-settings.php:
|
3513 |
msgid ""
|
3514 |
"Check the box to delete this template when you press Update at the bottom of "
|
3515 |
"the page."
|
3516 |
msgstr ""
|
3517 |
|
3518 |
-
#: includes/class-mla-settings.php:
|
3519 |
msgid "Fill in a name and styles to add a new template."
|
3520 |
msgstr ""
|
3521 |
|
3522 |
-
#: includes/class-mla-settings.php:
|
3523 |
msgid ""
|
3524 |
"This default template cannot be altered or deleted, but you can copy the "
|
3525 |
"markup."
|
3526 |
msgstr ""
|
3527 |
|
3528 |
-
#: includes/class-mla-settings.php:
|
3529 |
-
#: includes/class-mla-settings.php:
|
3530 |
msgid "Open"
|
3531 |
msgstr ""
|
3532 |
|
3533 |
-
#: includes/class-mla-settings.php:
|
3534 |
-
#: includes/class-mla-settings.php:
|
3535 |
msgid ""
|
3536 |
"Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
|
3537 |
"+], on Documentation tab."
|
3538 |
msgstr ""
|
3539 |
|
3540 |
-
#: includes/class-mla-settings.php:
|
3541 |
-
#: includes/class-mla-settings.php:
|
3542 |
msgid "Row"
|
3543 |
msgstr ""
|
3544 |
|
3545 |
-
#: includes/class-mla-settings.php:
|
3546 |
msgid "Markup for the beginning of each row in the gallery."
|
3547 |
msgstr ""
|
3548 |
|
3549 |
-
#: includes/class-mla-settings.php:
|
3550 |
-
#: includes/class-mla-settings.php:
|
3551 |
msgid "Item"
|
3552 |
msgstr ""
|
3553 |
|
3554 |
-
#: includes/class-mla-settings.php:
|
3555 |
msgid "Markup for each item/cell of the gallery."
|
3556 |
msgstr ""
|
3557 |
|
3558 |
-
#: includes/class-mla-settings.php:
|
3559 |
-
#: includes/class-mla-settings.php:
|
3560 |
-
#: includes/class-mla-settings.php:
|
3561 |
msgid "Close"
|
3562 |
msgstr ""
|
3563 |
|
3564 |
-
#: includes/class-mla-settings.php:
|
3565 |
msgid "Markup for the end of each row in the gallery."
|
3566 |
msgstr ""
|
3567 |
|
3568 |
-
#: includes/class-mla-settings.php:
|
3569 |
-
#: includes/class-mla-settings.php:
|
3570 |
msgid "Markup for the end of the gallery."
|
3571 |
msgstr ""
|
3572 |
|
3573 |
-
#: includes/class-mla-settings.php:
|
3574 |
msgid "Markup for the beginning of each row."
|
3575 |
msgstr ""
|
3576 |
|
3577 |
-
#: includes/class-mla-settings.php:
|
3578 |
msgid "Markup for each item/cell."
|
3579 |
msgstr ""
|
3580 |
|
3581 |
-
#: includes/class-mla-settings.php:
|
3582 |
msgid "Markup for the end of each row."
|
3583 |
msgstr ""
|
3584 |
|
3585 |
-
#: includes/class-mla-settings.php:
|
3586 |
msgid "Fill in a name and markup to add a new template."
|
3587 |
msgstr ""
|
3588 |
|
3589 |
-
#: includes/class-mla-settings.php:
|
3590 |
msgid "Custom Field Mapping Progress"
|
3591 |
msgstr ""
|
3592 |
|
3593 |
-
#: includes/class-mla-settings.php:
|
3594 |
-
msgid "Progress"
|
3595 |
-
msgstr ""
|
3596 |
-
|
3597 |
-
#: includes/class-mla-settings.php:2677 includes/class-mla-settings.php:2803
|
3598 |
msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
|
3599 |
msgstr ""
|
3600 |
|
3601 |
-
#: includes/class-mla-settings.php:
|
3602 |
msgid "Close the window"
|
3603 |
msgstr ""
|
3604 |
|
3605 |
-
#: includes/class-mla-settings.php:
|
3606 |
msgid "Reload the page"
|
3607 |
msgstr ""
|
3608 |
|
3609 |
-
#: includes/class-mla-settings.php:
|
3610 |
msgid "Click the browser’s Stop, Back or forward buttons"
|
3611 |
msgstr ""
|
3612 |
|
3613 |
-
#: includes/class-mla-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3614 |
msgid "Custom Field and Attachment Metadata Processing Options"
|
3615 |
msgstr ""
|
3616 |
|
3617 |
#. translators: 1: Documentation hyperlink
|
3618 |
-
#: includes/class-mla-settings.php:
|
3619 |
#, php-format
|
3620 |
msgid ""
|
3621 |
"In this tab you can define the rules for mapping several types of image "
|
@@ -3625,32 +3750,32 @@ msgid ""
|
|
3625 |
"field. See the %1$s section of the Documentation for details."
|
3626 |
msgstr ""
|
3627 |
|
3628 |
-
#: includes/class-mla-settings.php:
|
3629 |
msgid "Updating Attachment Metadata Documentation"
|
3630 |
msgstr ""
|
3631 |
|
3632 |
-
#: includes/class-mla-settings.php:
|
3633 |
msgid "Adding or changing Attachment Metadata"
|
3634 |
msgstr ""
|
3635 |
|
3636 |
#. translators: 1: Documentation hyperlink
|
3637 |
-
#: includes/class-mla-settings.php:
|
3638 |
#, php-format
|
3639 |
msgid ""
|
3640 |
"You can find more information about using the controls in this tab to define "
|
3641 |
"mapping rules and apply them in the %1$s section of the Documentation."
|
3642 |
msgstr ""
|
3643 |
|
3644 |
-
#: includes/class-mla-settings.php:
|
3645 |
msgid "Custom Field Options documentation"
|
3646 |
msgstr ""
|
3647 |
|
3648 |
-
#: includes/class-mla-settings.php:
|
3649 |
msgid "Custom field mapping"
|
3650 |
msgstr ""
|
3651 |
|
3652 |
#. translators: 1: "Save Changes"
|
3653 |
-
#: includes/class-mla-settings.php:
|
3654 |
#, php-format
|
3655 |
msgid ""
|
3656 |
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
@@ -3659,22 +3784,22 @@ msgid ""
|
|
3659 |
msgstr ""
|
3660 |
|
3661 |
#. translators: 1: "Map All Rules..."
|
3662 |
-
#: includes/class-mla-settings.php:
|
3663 |
#, php-format
|
3664 |
msgid ""
|
3665 |
"Click %1$s to apply all the rules at once (rule changes will be applied but "
|
3666 |
"not saved)."
|
3667 |
msgstr ""
|
3668 |
|
3669 |
-
#: includes/class-mla-settings.php:
|
3670 |
msgid "IPTC & EXIF Mapping Progress"
|
3671 |
msgstr ""
|
3672 |
|
3673 |
-
#: includes/class-mla-settings.php:
|
3674 |
msgid "IPTC & EXIF Processing Options"
|
3675 |
msgstr ""
|
3676 |
|
3677 |
-
#: includes/class-mla-settings.php:
|
3678 |
msgid ""
|
3679 |
"In this tab you can define the rules for mapping IPTC (International Press "
|
3680 |
"Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
|
@@ -3683,20 +3808,20 @@ msgid ""
|
|
3683 |
"click \"Save Changes\" at the bottom of this page."
|
3684 |
msgstr ""
|
3685 |
|
3686 |
-
#: includes/class-mla-settings.php:
|
3687 |
msgid "IPTC/EXIF Options documentation"
|
3688 |
msgstr ""
|
3689 |
|
3690 |
-
#: includes/class-mla-settings.php:
|
3691 |
msgid "Standard field mapping"
|
3692 |
msgstr ""
|
3693 |
|
3694 |
-
#: includes/class-mla-settings.php:
|
3695 |
msgid "Taxonomy term mapping"
|
3696 |
msgstr ""
|
3697 |
|
3698 |
#. translators: 1: "Save Changes"
|
3699 |
-
#: includes/class-mla-settings.php:
|
3700 |
#, php-format
|
3701 |
msgid ""
|
3702 |
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
@@ -3704,420 +3829,417 @@ msgid ""
|
|
3704 |
"performed.</strong>"
|
3705 |
msgstr ""
|
3706 |
|
3707 |
-
#: includes/class-mla-settings.php:
|
3708 |
msgid "Media Library Assistant - Error"
|
3709 |
msgstr ""
|
3710 |
|
3711 |
-
#: includes/class-mla-settings.php:
|
3712 |
msgid "You do not have permission to manage plugin settings."
|
3713 |
msgstr ""
|
3714 |
|
3715 |
-
#: includes/class-mla-settings.php:
|
3716 |
-
msgid "
|
3717 |
msgstr ""
|
3718 |
|
3719 |
-
#: includes/class-mla-settings.php:
|
3720 |
-
msgid "
|
3721 |
msgstr ""
|
3722 |
|
3723 |
#. translators: 1: template type 2: template name
|
3724 |
-
#: includes/class-mla-settings.php:
|
3725 |
#, php-format
|
3726 |
msgctxt "message_list"
|
3727 |
msgid "Deleting %1$s \"%2$s\"."
|
3728 |
msgstr ""
|
3729 |
|
3730 |
-
#. translators: 1: template name
|
3731 |
-
#: includes/class-mla-settings.php:
|
3732 |
#, php-format
|
3733 |
-
msgid "
|
3734 |
msgstr ""
|
3735 |
|
3736 |
-
#. translators: 1: template name
|
3737 |
-
#: includes/class-mla-settings.php:
|
3738 |
#, php-format
|
3739 |
-
msgid "
|
3740 |
msgstr ""
|
3741 |
|
3742 |
#. translators: 1: template type 2: template name
|
3743 |
-
#: includes/class-mla-settings.php:
|
3744 |
#, php-format
|
3745 |
msgctxt "message_list"
|
3746 |
msgid "Adding new %1$s \"%2$s\"."
|
3747 |
msgstr ""
|
3748 |
|
3749 |
-
#. translators: 1: element name 3: old value
|
3750 |
-
#: includes/class-mla-settings.php:
|
3751 |
#, php-format
|
3752 |
-
msgid "
|
3753 |
msgstr ""
|
3754 |
|
3755 |
-
#: includes/class-mla-settings.php:
|
3756 |
-
#: includes/class-mla-settings.php:
|
3757 |
msgid "style template name"
|
3758 |
msgstr ""
|
3759 |
|
3760 |
-
#. translators: 1: element name
|
3761 |
-
#: includes/class-mla-settings.php:
|
3762 |
#, php-format
|
3763 |
-
msgid "
|
3764 |
msgstr ""
|
3765 |
|
3766 |
#. translators: 1: element name 2: old_value 3: new_value
|
3767 |
-
#: includes/class-mla-settings.php:
|
3768 |
#, php-format
|
3769 |
msgctxt "message_list"
|
3770 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
3771 |
msgstr ""
|
3772 |
|
3773 |
#. translators: 1: template type 2: template name
|
3774 |
-
#: includes/class-mla-settings.php:
|
3775 |
#, php-format
|
3776 |
msgctxt "message_list"
|
3777 |
msgid "Updating contents of %1$s \"%2$s\"."
|
3778 |
msgstr ""
|
3779 |
|
3780 |
-
#. translators: 1: template type
|
3781 |
-
#: includes/class-mla-settings.php:
|
3782 |
#, php-format
|
3783 |
-
msgid "
|
3784 |
msgstr ""
|
3785 |
|
3786 |
-
#: includes/class-mla-settings.php:
|
3787 |
-
#: includes/class-mla-settings.php:
|
3788 |
msgid "markup template name"
|
3789 |
msgstr ""
|
3790 |
|
3791 |
#. translators: 1: template name
|
3792 |
-
#: includes/class-mla-settings.php:
|
3793 |
#, php-format
|
3794 |
msgctxt "message_list"
|
3795 |
msgid "Updating open markup for \"%1$s\"."
|
3796 |
msgstr ""
|
3797 |
|
3798 |
#. translators: 1: template name
|
3799 |
-
#: includes/class-mla-settings.php:
|
3800 |
#, php-format
|
3801 |
msgctxt "message_list"
|
3802 |
msgid "Updating row open markup for \"%1$s\"."
|
3803 |
msgstr ""
|
3804 |
|
3805 |
#. translators: 1: template name
|
3806 |
-
#: includes/class-mla-settings.php:
|
3807 |
#, php-format
|
3808 |
msgctxt "message_list"
|
3809 |
msgid "Updating item markup for \"%1$s\"."
|
3810 |
msgstr ""
|
3811 |
|
3812 |
#. translators: 1: template name
|
3813 |
-
#: includes/class-mla-settings.php:
|
3814 |
#, php-format
|
3815 |
msgctxt "message_list"
|
3816 |
msgid "Updating row close markup for \"%1$s\"."
|
3817 |
msgstr ""
|
3818 |
|
3819 |
#. translators: 1: template name
|
3820 |
-
#: includes/class-mla-settings.php:
|
3821 |
#, php-format
|
3822 |
msgctxt "message_list"
|
3823 |
msgid "Updating close markup for \"%1$s\"."
|
3824 |
msgstr ""
|
3825 |
|
3826 |
#. translators: 1: field type
|
3827 |
-
#: includes/class-mla-settings.php:
|
3828 |
#, php-format
|
3829 |
msgid "%1$s no changes detected."
|
3830 |
msgstr ""
|
3831 |
|
3832 |
-
#: includes/class-mla-settings.php:
|
3833 |
msgid "View settings saved."
|
3834 |
msgstr ""
|
3835 |
|
3836 |
-
#: includes/class-mla-settings.php:
|
3837 |
msgid "Upload MIME Type settings saved."
|
3838 |
msgstr ""
|
3839 |
|
3840 |
-
#: includes/class-mla-settings.php:
|
3841 |
-
msgid "
|
3842 |
msgstr ""
|
3843 |
|
3844 |
#. translators: 1: field type 2: examined count 3: updated count
|
3845 |
-
#: includes/class-mla-settings.php:
|
3846 |
-
#: includes/class-mla-settings.php:
|
3847 |
#, php-format
|
3848 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3849 |
msgstr ""
|
3850 |
|
3851 |
#. translators: 1: field type 2: examined count
|
3852 |
-
#: includes/class-mla-settings.php:
|
3853 |
-
#: includes/class-mla-settings.php:
|
3854 |
#, php-format
|
3855 |
msgid ""
|
3856 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3857 |
msgstr ""
|
3858 |
|
3859 |
-
|
|
|
3860 |
#, php-format
|
3861 |
msgid "%s attachment"
|
3862 |
msgid_plural "%s attachments"
|
3863 |
msgstr[0] ""
|
3864 |
msgstr[1] ""
|
3865 |
|
3866 |
-
#. translators: 1: number of attachments
|
3867 |
-
#: includes/class-mla-settings.php:
|
3868 |
#, php-format
|
3869 |
msgid "Deleted custom field value from %1$s."
|
3870 |
msgstr ""
|
3871 |
|
3872 |
-
#: includes/class-mla-settings.php:
|
3873 |
msgid "No attachments contained this custom field."
|
3874 |
msgstr ""
|
3875 |
|
3876 |
-
#. translators: 1: field type
|
3877 |
-
#: includes/class-mla-settings.php:
|
3878 |
-
#: includes/class-mla-settings.php:
|
3879 |
#, php-format
|
3880 |
-
msgid "
|
3881 |
msgstr ""
|
3882 |
|
3883 |
-
#: includes/class-mla-settings.php:
|
3884 |
-
#: includes/class-mla-settings.php:
|
3885 |
msgid "updated."
|
3886 |
msgstr ""
|
3887 |
|
3888 |
#. translators: 1: reference type, e.g., Gallery in
|
3889 |
-
#: includes/class-mla-settings.php:
|
3890 |
#, php-format
|
3891 |
msgctxt "message_list"
|
3892 |
msgid "%1$s - references updated."
|
3893 |
msgstr ""
|
3894 |
|
3895 |
-
#: includes/class-mla-settings.php:
|
3896 |
msgid "General settings saved."
|
3897 |
msgstr ""
|
3898 |
|
3899 |
#. translators: 1: option name
|
3900 |
-
#: includes/class-mla-settings.php:
|
3901 |
#, php-format
|
3902 |
msgctxt "message_list"
|
3903 |
msgid "delete_option \"%1$s\""
|
3904 |
msgstr ""
|
3905 |
|
3906 |
-
#: includes/class-mla-settings.php:
|
3907 |
msgid "General settings reset to default values."
|
3908 |
msgstr ""
|
3909 |
|
3910 |
-
#: includes/class-mla-settings.php:
|
3911 |
msgid "select settings"
|
3912 |
msgstr ""
|
3913 |
|
3914 |
-
#: includes/class-mla-settings.php:
|
3915 |
msgid "Import ALL Settings"
|
3916 |
msgstr ""
|
3917 |
|
3918 |
-
#: includes/class-mla-settings.php:
|
3919 |
msgctxt "message_list"
|
3920 |
msgid "exported"
|
3921 |
msgstr ""
|
3922 |
|
3923 |
-
#: includes/class-mla-settings.php:
|
3924 |
msgctxt "message_list"
|
3925 |
msgid "skipped"
|
3926 |
msgstr ""
|
3927 |
|
3928 |
-
#: includes/class-mla-settings.php:
|
3929 |
msgid "ALL settings exported."
|
3930 |
msgstr ""
|
3931 |
|
3932 |
-
#. translators: 1: backup directory name
|
3933 |
-
#: includes/class-mla-settings.php:
|
3934 |
#, php-format
|
3935 |
-
msgid "
|
3936 |
msgstr ""
|
3937 |
|
3938 |
-
#. translators: 1: backup directory name
|
3939 |
-
#: includes/class-mla-settings.php:
|
3940 |
#, php-format
|
3941 |
-
msgid "
|
3942 |
msgstr ""
|
3943 |
|
3944 |
-
#. translators: 1: backup file name
|
3945 |
-
#: includes/class-mla-settings.php:
|
3946 |
#, php-format
|
3947 |
-
msgid "
|
3948 |
msgstr ""
|
3949 |
|
3950 |
-
#. translators: 1: PHP error information
|
3951 |
-
#: includes/class-mla-settings.php:
|
3952 |
#, php-format
|
3953 |
msgctxt "error_log"
|
3954 |
-
msgid "
|
3955 |
msgstr ""
|
3956 |
|
3957 |
-
#. translators: 1: backup file name
|
3958 |
-
#: includes/class-mla-settings.php:
|
3959 |
#, php-format
|
3960 |
-
msgid "
|
3961 |
msgstr ""
|
3962 |
|
3963 |
#. translators: 1: number of option settings
|
3964 |
-
#: includes/class-mla-settings.php:
|
3965 |
#, php-format
|
3966 |
msgid "Settings exported; %1$s settings recorded."
|
3967 |
msgstr ""
|
3968 |
|
3969 |
-
#: includes/class-mla-settings.php:
|
3970 |
msgid "No settings imported."
|
3971 |
msgstr ""
|
3972 |
|
3973 |
-
#: includes/class-mla-settings.php:
|
3974 |
msgid "Please select an import settings file from the dropdown list."
|
3975 |
msgstr ""
|
3976 |
|
3977 |
-
#: includes/class-mla-settings.php:
|
3978 |
-
msgid "
|
3979 |
msgstr ""
|
3980 |
|
3981 |
-
#. translators: 1: PHP error information
|
3982 |
-
#: includes/class-mla-settings.php:
|
3983 |
#, php-format
|
3984 |
msgctxt "error_log"
|
3985 |
-
msgid "
|
3986 |
msgstr ""
|
3987 |
|
3988 |
-
#. translators: 1: backup file name
|
3989 |
-
#: includes/class-mla-settings.php:
|
3990 |
#, php-format
|
3991 |
-
msgid "
|
3992 |
msgstr ""
|
3993 |
|
3994 |
-
#: includes/class-mla-settings.php:
|
3995 |
msgctxt "message_list"
|
3996 |
msgid "updated"
|
3997 |
msgstr ""
|
3998 |
|
3999 |
-
#: includes/class-mla-settings.php:
|
4000 |
msgctxt "message_list"
|
4001 |
msgid "unchanged"
|
4002 |
msgstr ""
|
4003 |
|
4004 |
#. translators: 1: number of option settings updated 2: number of option settings unchanged
|
4005 |
-
#: includes/class-mla-settings.php:
|
4006 |
#, php-format
|
4007 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
4008 |
msgstr ""
|
4009 |
|
4010 |
-
#: includes/class-mla-shortcodes.php:
|
4011 |
-
#: includes/class-mla-shortcodes.php:
|
4012 |
-
#: includes/class-mla-shortcodes.php:
|
4013 |
-
#: includes/class-mla-shortcodes.php:
|
4014 |
msgid "Previous"
|
4015 |
msgstr ""
|
4016 |
|
4017 |
-
#: includes/class-mla-shortcodes.php:
|
4018 |
-
#: includes/class-mla-shortcodes.php:
|
4019 |
-
#: includes/class-mla-shortcodes.php:
|
4020 |
-
#: includes/class-mla-shortcodes.php:
|
4021 |
msgid "Next"
|
4022 |
msgstr ""
|
4023 |
|
4024 |
-
#: includes/class-mla-shortcodes.php:
|
4025 |
msgid "mla_debug empty gallery"
|
4026 |
msgstr ""
|
4027 |
|
4028 |
-
#: includes/class-mla-shortcodes.php:
|
4029 |
msgid ""
|
4030 |
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
4031 |
"<strong>default</strong>, query = "
|
4032 |
msgstr ""
|
4033 |
|
4034 |
-
#: includes/class-mla-shortcodes.php:
|
4035 |
-
msgid "unattached"
|
4036 |
-
msgstr ""
|
4037 |
-
|
4038 |
-
#: includes/class-mla-shortcodes.php:695
|
4039 |
msgid "unknown"
|
4040 |
msgstr ""
|
4041 |
|
4042 |
-
#: includes/class-mla-shortcodes.php:
|
4043 |
msgid "mla_debug attributes"
|
4044 |
msgstr ""
|
4045 |
|
4046 |
-
#: includes/class-mla-shortcodes.php:
|
4047 |
msgid "mla_debug arguments"
|
4048 |
msgstr ""
|
4049 |
|
4050 |
-
#: includes/class-mla-shortcodes.php:
|
4051 |
msgid "mla_debug empty cloud"
|
4052 |
msgstr ""
|
4053 |
|
4054 |
-
#: includes/class-mla-shortcodes.php:
|
4055 |
-
#: includes/class-mla-shortcodes.php:
|
4056 |
-
#: includes/class-mla-shortcodes.php:
|
4057 |
-
msgid "
|
4058 |
msgstr ""
|
4059 |
|
4060 |
-
#: includes/class-mla-shortcodes.php:
|
4061 |
msgid "mla_debug query"
|
4062 |
msgstr ""
|
4063 |
|
4064 |
-
#: includes/class-mla-shortcodes.php:
|
4065 |
msgid "mla_debug request"
|
4066 |
msgstr ""
|
4067 |
|
4068 |
-
#: includes/class-mla-shortcodes.php:
|
4069 |
msgid "mla_debug query_vars"
|
4070 |
msgstr ""
|
4071 |
|
4072 |
-
#: includes/class-mla-shortcodes.php:
|
4073 |
msgid "mla_debug post_count"
|
4074 |
msgstr ""
|
4075 |
|
4076 |
-
#: includes/class-mla-shortcodes.php:
|
4077 |
msgid "mla_debug WHERE filter"
|
4078 |
msgstr ""
|
4079 |
|
4080 |
-
#: includes/class-mla-shortcodes.php:
|
4081 |
msgid "mla_debug modified WHERE filter"
|
4082 |
msgstr ""
|
4083 |
|
4084 |
-
#: includes/class-mla-shortcodes.php:
|
4085 |
msgid "mla_debug ORDER BY filter, incoming"
|
4086 |
msgstr ""
|
4087 |
|
4088 |
-
#: includes/class-mla-shortcodes.php:
|
4089 |
msgid "Replacement ORDER BY clause"
|
4090 |
msgstr ""
|
4091 |
|
4092 |
-
#: includes/class-mla-shortcodes.php:
|
4093 |
msgid "mla_debug posts_clauses filter"
|
4094 |
msgstr ""
|
4095 |
|
4096 |
-
#: includes/class-mla-shortcodes.php:
|
4097 |
msgid "mla_debug posts_clauses_request filter"
|
4098 |
msgstr ""
|
4099 |
|
4100 |
-
#: includes/class-mla-shortcodes.php:
|
4101 |
msgid "Invalid taxonomy"
|
4102 |
msgstr ""
|
4103 |
|
4104 |
-
#: includes/class-mla-shortcodes.php:
|
4105 |
msgid "mla_debug query arguments"
|
4106 |
msgstr ""
|
4107 |
|
4108 |
-
#: includes/class-mla-shortcodes.php:
|
4109 |
msgid "mla_debug last_query"
|
4110 |
msgstr ""
|
4111 |
|
4112 |
-
#: includes/class-mla-shortcodes.php:
|
4113 |
msgid "mla_debug last_error"
|
4114 |
msgstr ""
|
4115 |
|
4116 |
-
#: includes/class-mla-shortcodes.php:
|
4117 |
msgid "mla_debug num_rows"
|
4118 |
msgstr ""
|
4119 |
|
4120 |
-
#: includes/class-mla-shortcodes.php:
|
4121 |
msgid "mla_debug found_rows"
|
4122 |
msgstr ""
|
4123 |
|
@@ -4174,14 +4296,6 @@ msgstr ""
|
|
4174 |
msgid "Revert to Standard"
|
4175 |
msgstr ""
|
4176 |
|
4177 |
-
#: includes/class-mla-upload-list-table.php:415
|
4178 |
-
msgid "inactive"
|
4179 |
-
msgstr ""
|
4180 |
-
|
4181 |
-
#: includes/class-mla-upload-list-table.php:417
|
4182 |
-
msgid "active"
|
4183 |
-
msgstr ""
|
4184 |
-
|
4185 |
#: includes/class-mla-upload-list-table.php:611
|
4186 |
msgid "Delete/Revert Custom"
|
4187 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Media Library Assistant\n"
|
4 |
+
"POT-Creation-Date: 2015-02-20 16:02-0800\n"
|
5 |
+
"PO-Revision-Date: 2015-02-20 16:03-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"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.7.4\n"
|
13 |
"X-Poedit-Basepath: ..\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
|
16 |
"_n_noop:1,2;_c;_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
"X-Poedit-SearchPath-0: includes\n"
|
19 |
"X-Poedit-SearchPath-1: tests\n"
|
20 |
|
21 |
+
#. translators: 1: ERROR tag 2: path and file name
|
22 |
#: includes/class-mla-data.php:101
|
23 |
#, php-format
|
24 |
msgctxt "error_log"
|
25 |
+
msgid "%1$s: mla_load_template file \"%2$s\" not found."
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: includes/class-mla-data.php:101 includes/class-mla-data.php:119
|
29 |
+
#: includes/class-mla-data.php:198 includes/class-mla-data.php:257
|
30 |
+
#: includes/class-mla-data.php:345 includes/class-mla-data.php:389
|
31 |
+
#: includes/class-mla-data.php:492 includes/class-mla-data.php:648
|
32 |
+
#: includes/class-mla-data.php:711 includes/class-mla-data.php:1220
|
33 |
+
#: includes/class-mla-data.php:1490 includes/class-mla-data.php:2572
|
34 |
+
#: includes/class-mla-data.php:2578 includes/class-mla-data.php:3951
|
35 |
+
#: includes/class-mla-data.php:4276 includes/class-mla-data.php:4278
|
36 |
+
#: includes/class-mla-data.php:4324 includes/class-mla-data.php:4438
|
37 |
+
#: includes/class-mla-data.php:4441 includes/class-mla-data.php:4798
|
38 |
+
#: includes/class-mla-data.php:5585 includes/class-mla-data.php:5612
|
39 |
+
#: includes/class-mla-data.php:5927 includes/class-mla-data.php:5940
|
40 |
+
#: includes/class-mla-data.php:5962 includes/class-mla-data.php:6151
|
41 |
+
#: includes/class-mla-data.php:6192 includes/class-mla-data.php:6224
|
42 |
+
#: includes/class-mla-data.php:6232 includes/class-mla-data.php:6411
|
43 |
+
#: includes/class-mla-edit-media.php:293 includes/class-mla-edit-media.php:658
|
44 |
+
#: includes/class-mla-main.php:604 includes/class-mla-main.php:795
|
45 |
+
#: includes/class-mla-main.php:895 includes/class-mla-main.php:1131
|
46 |
+
#: includes/class-mla-main.php:1156 includes/class-mla-main.php:1308
|
47 |
+
#: includes/class-mla-main.php:1420 includes/class-mla-main.php:1451
|
48 |
+
#: includes/class-mla-main.php:1678 includes/class-mla-main.php:1685
|
49 |
+
#: includes/class-mla-main.php:1689 includes/class-mla-main.php:1759
|
50 |
+
#: includes/class-mla-main.php:1766 includes/class-mla-main.php:1907
|
51 |
+
#: includes/class-mla-main.php:1982 includes/class-mla-main.php:2229
|
52 |
+
#: includes/class-mla-main.php:2237 includes/class-mla-main.php:2270
|
53 |
+
#: includes/class-mla-main.php:2304 includes/class-mla-main.php:2545
|
54 |
+
#: includes/class-mla-main.php:2553 includes/class-mla-main.php:2585
|
55 |
+
#: includes/class-mla-main.php:2593 includes/class-mla-media-modal.php:1186
|
56 |
+
#: includes/class-mla-mime-types.php:483 includes/class-mla-mime-types.php:906
|
57 |
+
#: includes/class-mla-mime-types.php:912 includes/class-mla-mime-types.php:916
|
58 |
+
#: includes/class-mla-mime-types.php:961
|
59 |
+
#: includes/class-mla-mime-types.php:1049
|
60 |
+
#: includes/class-mla-mime-types.php:1195
|
61 |
+
#: includes/class-mla-mime-types.php:1218
|
62 |
+
#: includes/class-mla-mime-types.php:1972
|
63 |
+
#: includes/class-mla-mime-types.php:1983
|
64 |
+
#: includes/class-mla-mime-types.php:1996
|
65 |
+
#: includes/class-mla-mime-types.php:2004
|
66 |
+
#: includes/class-mla-mime-types.php:2009
|
67 |
+
#: includes/class-mla-mime-types.php:2052
|
68 |
+
#: includes/class-mla-mime-types.php:2071
|
69 |
+
#: includes/class-mla-mime-types.php:2122
|
70 |
+
#: includes/class-mla-mime-types.php:2156
|
71 |
+
#: includes/class-mla-mime-types.php:2241
|
72 |
+
#: includes/class-mla-mime-types.php:2320
|
73 |
+
#: includes/class-mla-mime-types.php:2329
|
74 |
+
#: includes/class-mla-mime-types.php:2361 includes/class-mla-objects.php:201
|
75 |
+
#: includes/class-mla-options.php:1656 includes/class-mla-options.php:1833
|
76 |
+
#: includes/class-mla-options.php:1909 includes/class-mla-options.php:3207
|
77 |
+
#: includes/class-mla-options.php:3649 includes/class-mla-options.php:3662
|
78 |
+
#: includes/class-mla-options.php:3666 includes/class-mla-options.php:4192
|
79 |
+
#: includes/class-mla-options.php:4412 includes/class-mla-options.php:4851
|
80 |
+
#: includes/class-mla-options.php:4895 includes/class-mla-options.php:4903
|
81 |
+
#: includes/class-mla-options.php:4920 includes/class-mla-options.php:4930
|
82 |
+
#: includes/class-mla-options.php:4940 includes/class-mla-options.php:4948
|
83 |
+
#: includes/class-mla-options.php:4952 includes/class-mla-settings.php:555
|
84 |
+
#: includes/class-mla-settings.php:619 includes/class-mla-settings.php:633
|
85 |
+
#: includes/class-mla-settings.php:662 includes/class-mla-settings.php:673
|
86 |
+
#: includes/class-mla-settings.php:763 includes/class-mla-settings.php:897
|
87 |
+
#: includes/class-mla-settings.php:1003 includes/class-mla-settings.php:1035
|
88 |
+
#: includes/class-mla-settings.php:1173 includes/class-mla-settings.php:1530
|
89 |
+
#: includes/class-mla-settings.php:1562 includes/class-mla-settings.php:1639
|
90 |
+
#: includes/class-mla-settings.php:1976 includes/class-mla-settings.php:2027
|
91 |
+
#: includes/class-mla-settings.php:2106 includes/class-mla-settings.php:2658
|
92 |
+
#: includes/class-mla-settings.php:2800 includes/class-mla-settings.php:2945
|
93 |
+
#: includes/class-mla-settings.php:2948 includes/class-mla-settings.php:2952
|
94 |
+
#: includes/class-mla-settings.php:3039 includes/class-mla-settings.php:3045
|
95 |
+
#: includes/class-mla-settings.php:3059 includes/class-mla-settings.php:3066
|
96 |
+
#: includes/class-mla-settings.php:3088 includes/class-mla-settings.php:3130
|
97 |
+
#: includes/class-mla-settings.php:3136 includes/class-mla-settings.php:3150
|
98 |
+
#: includes/class-mla-settings.php:3157 includes/class-mla-settings.php:3209
|
99 |
+
#: includes/class-mla-settings.php:3330 includes/class-mla-settings.php:3461
|
100 |
+
#: includes/class-mla-settings.php:3532 includes/class-mla-settings.php:3618
|
101 |
+
#: includes/class-mla-settings.php:3952 includes/class-mla-settings.php:3956
|
102 |
+
#: includes/class-mla-settings.php:3967 includes/class-mla-settings.php:3974
|
103 |
+
#: includes/class-mla-settings.php:3983 includes/class-mla-settings.php:4020
|
104 |
+
#: includes/class-mla-settings.php:4028 includes/class-mla-settings.php:4037
|
105 |
+
#: includes/class-mla-shortcodes.php:1437
|
106 |
+
#: includes/class-mla-shortcodes.php:1511
|
107 |
+
#: includes/class-mla-shortcodes.php:2802
|
108 |
+
#: includes/class-mla-shortcodes.php:3130
|
109 |
+
#: includes/class-mla-shortcodes.php:3161
|
110 |
+
msgid "ERROR"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#. translators: 1: ERROR tag 2: path and file name 3: source type, e.g., file, option, string
|
114 |
#: includes/class-mla-data.php:119
|
115 |
#, php-format
|
116 |
msgctxt "error_log"
|
117 |
+
msgid "%1$s: mla_load_template file \"%2$s\" bad source type \"%3$s\"."
|
118 |
msgstr ""
|
119 |
|
120 |
+
#. translators: 1: ERROR tag 2: template excerpt
|
121 |
#: includes/class-mla-data.php:198
|
122 |
#, php-format
|
123 |
msgctxt "error_log"
|
124 |
msgid ""
|
125 |
+
"%1$s: _find_template_substring no template end delimiter, tail = \"%2$s\"."
|
126 |
msgstr ""
|
127 |
|
128 |
+
#. translators: 1: ERROR tag 2: template excerpt
|
129 |
#: includes/class-mla-data.php:257
|
130 |
#, php-format
|
131 |
msgctxt "error_log"
|
132 |
msgid ""
|
133 |
+
"%1$s: mla_parse_array_template no template end delimiter, tail = \"%2$s\"."
|
134 |
msgstr ""
|
135 |
|
136 |
+
#. translators: 1: ERROR tag 2: template excerpt
|
137 |
#: includes/class-mla-data.php:345
|
138 |
#, php-format
|
139 |
msgctxt "error_log"
|
140 |
+
msgid "%1$s: mla_parse_template no end delimiter, tail = \"%2$s\"."
|
141 |
msgstr ""
|
142 |
|
143 |
+
#. translators: 1: ERROR tag 2: template string
|
144 |
#: includes/class-mla-data.php:389
|
145 |
#, php-format
|
146 |
msgctxt "error_log"
|
147 |
+
msgid "%1$s: _find_test_substring no end delimiter, tail = \"%2$s\"."
|
148 |
msgstr ""
|
149 |
|
150 |
#: includes/class-mla-data.php:492
|
151 |
+
msgid "Test; no closing parenthesis "
|
152 |
msgstr ""
|
153 |
|
154 |
+
#. translators: 1: ERROR tag 2: node type, e.g., template
|
155 |
+
#: includes/class-mla-data.php:648
|
156 |
#, php-format
|
157 |
msgctxt "error_log"
|
158 |
+
msgid "%1$s: _evaluate_template_array_node unknown type \"%2$s\"."
|
159 |
msgstr ""
|
160 |
|
161 |
+
#. translators: 1: ERROR tag 2: node type, e.g., template
|
162 |
+
#: includes/class-mla-data.php:711
|
163 |
#, php-format
|
164 |
msgctxt "error_log"
|
165 |
+
msgid "%1$s: _evaluate_template_node unknown type \"%2$s\"."
|
166 |
msgstr ""
|
167 |
|
168 |
+
#. translators: 1: ERROR tag 2: template excerpt
|
169 |
+
#: includes/class-mla-data.php:1220
|
170 |
#, php-format
|
171 |
msgctxt "error_log"
|
172 |
msgid ""
|
173 |
+
"%1$s: mla_get_template_placeholders no template-end delimiter dump = \"%2$s"
|
174 |
"\"."
|
175 |
msgstr ""
|
176 |
|
177 |
+
#. translators: 1: ERROR tag 2: function name 3: non-array value
|
178 |
+
#: includes/class-mla-data.php:1490 includes/class-mla-edit-media.php:293
|
179 |
+
#: includes/class-mla-main.php:1907 includes/class-mla-main.php:1982
|
180 |
+
#: includes/class-mla-media-modal.php:1186
|
181 |
#: includes/class-mla-mime-types.php:483
|
182 |
#: includes/class-mla-mime-types.php:1218
|
183 |
+
#: includes/class-mla-mime-types.php:2361 includes/class-mla-settings.php:1530
|
184 |
+
#: includes/class-mla-settings.php:1976
|
185 |
#, php-format
|
186 |
msgctxt "error_log"
|
187 |
+
msgid "%1$s: %2$s non-array \"%3$s\""
|
188 |
msgstr ""
|
189 |
|
190 |
+
#. translators: 1: DEBUG tag 2: query filter details
|
191 |
+
#: includes/class-mla-data.php:1924
|
192 |
#, php-format
|
193 |
+
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: includes/class-mla-data.php:1924 includes/class-mla-data.php:1927
|
197 |
+
#: includes/class-mla-data.php:1944 includes/class-mla-data.php:1946
|
198 |
+
#: includes/class-mla-data.php:1949 includes/class-mla-data.php:1951
|
199 |
+
#: includes/class-mla-data.php:2247 includes/class-mla-data.php:2250
|
200 |
+
#: includes/class-mla-data.php:2316 includes/class-mla-data.php:2319
|
201 |
+
#: includes/class-mla-data.php:2370 includes/class-mla-data.php:2373
|
202 |
+
#: includes/class-mla-data.php:2472 includes/class-mla-data.php:2475
|
203 |
+
#: includes/class-mla-data.php:2511 includes/class-mla-data.php:2514
|
204 |
+
#: includes/class-mla-data.php:2535 includes/class-mla-data.php:2538
|
205 |
+
msgid "DEBUG"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#. translators: 1: DEBUG tag 2: query filter details
|
209 |
+
#: includes/class-mla-data.php:1927
|
210 |
#, php-format
|
211 |
msgctxt "error_log"
|
212 |
+
msgid "%1$s: _execute_list_table_query $wp_filter = \"%2$s\"."
|
213 |
msgstr ""
|
214 |
|
215 |
+
#. translators: 1: DEBUG tag 2: query details
|
216 |
+
#: includes/class-mla-data.php:1944
|
217 |
#, php-format
|
218 |
+
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
219 |
msgstr ""
|
220 |
|
221 |
+
#. translators: 1: DEBUG tag 2: SQL statement
|
222 |
+
#: includes/class-mla-data.php:1946
|
223 |
#, php-format
|
224 |
+
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
225 |
msgstr ""
|
226 |
|
227 |
+
#. translators: 1: DEBUG tag 2: query details
|
228 |
+
#: includes/class-mla-data.php:1949
|
229 |
#, php-format
|
230 |
msgctxt "error_log"
|
231 |
+
msgid "%1$s: _execute_list_table_query WP_Query = \"%2$s\"."
|
232 |
msgstr ""
|
233 |
|
234 |
+
#. translators: 1: DEBUG tag 2: SQL statement
|
235 |
+
#: includes/class-mla-data.php:1951
|
236 |
#, php-format
|
237 |
msgctxt "error_log"
|
238 |
+
msgid "%1$s: _execute_list_table_query SQL_request = \"%2$s\"."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#. translators: 1: DEBUG tag 2: search filter details
|
242 |
+
#: includes/class-mla-data.php:2247
|
243 |
#, php-format
|
244 |
+
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#. translators: 1: DEBUG tag 2: search filter details
|
248 |
+
#: includes/class-mla-data.php:2250
|
249 |
#, php-format
|
250 |
msgctxt "error_log"
|
251 |
+
msgid "%1$s: mla_query_posts_search_filter = \"%2$s\"."
|
252 |
msgstr ""
|
253 |
|
254 |
+
#. translators: 1: DEBUG tag 2: where filter details
|
255 |
+
#: includes/class-mla-data.php:2316
|
256 |
#, php-format
|
257 |
+
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
258 |
msgstr ""
|
259 |
|
260 |
+
#. translators: 1: DEBUG tag 2: where filter details
|
261 |
+
#: includes/class-mla-data.php:2319
|
262 |
#, php-format
|
263 |
msgctxt "error_log"
|
264 |
+
msgid "%1$s: mla_query_posts_where_filter = \"%2$s\"."
|
265 |
msgstr ""
|
266 |
|
267 |
+
#. translators: 1: DEBUG tag 2: join filter details
|
268 |
+
#: includes/class-mla-data.php:2370
|
269 |
#, php-format
|
270 |
+
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#. translators: 1: DEBUG tag 2: join filter details
|
274 |
+
#: includes/class-mla-data.php:2373
|
275 |
#, php-format
|
276 |
msgctxt "error_log"
|
277 |
+
msgid "%1$s: mla_query_posts_join_filter = \"%2$s\"."
|
278 |
msgstr ""
|
279 |
|
280 |
+
#. translators: 1: DEBUG tag 2: orderby details details
|
281 |
+
#: includes/class-mla-data.php:2472
|
282 |
#, php-format
|
283 |
+
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
284 |
msgstr ""
|
285 |
|
286 |
+
#. translators: 1: DEBUG tag 2: orderby details details
|
287 |
+
#: includes/class-mla-data.php:2475
|
288 |
#, php-format
|
289 |
msgctxt "error_log"
|
290 |
+
msgid "%1$s: mla_query_posts_orderby_filter = \"%2$s\"."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#. translators: 1: DEBUG tag 2: SQL clauses
|
294 |
+
#: includes/class-mla-data.php:2511
|
295 |
#, php-format
|
296 |
+
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
297 |
msgstr ""
|
298 |
|
299 |
+
#. translators: 1: DEBUG tag 2: SQL clauses
|
300 |
+
#: includes/class-mla-data.php:2514
|
301 |
#, php-format
|
302 |
msgctxt "error_log"
|
303 |
+
msgid "%1$s: mla_query_posts_clauses_filter = \"%2$s\"."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#. translators: 1: DEBUG tag 2: SQL clauses
|
307 |
+
#: includes/class-mla-data.php:2535
|
308 |
#, php-format
|
309 |
+
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
310 |
msgstr ""
|
311 |
|
312 |
+
#. translators: 1: DEBUG tag 2: SQL clauses
|
313 |
+
#: includes/class-mla-data.php:2538
|
314 |
#, php-format
|
315 |
msgctxt "error_log"
|
316 |
+
msgid "%1$s: mla_query_posts_clauses_request_filter = \"%2$s\"."
|
317 |
msgstr ""
|
318 |
|
319 |
+
#. translators: 1: ERROR tag 2: post ID
|
320 |
+
#: includes/class-mla-data.php:2572
|
321 |
#, php-format
|
322 |
msgctxt "error_log"
|
323 |
+
msgid "%1$s: mla_get_attachment_by_id(%2$d) not found."
|
324 |
msgstr ""
|
325 |
|
326 |
+
#. translators: 1: ERROR tag 2: post ID 3: post_type
|
327 |
+
#: includes/class-mla-data.php:2578
|
328 |
#, php-format
|
329 |
msgctxt "error_log"
|
330 |
+
msgid "%1$s: mla_get_attachment_by_id(%2$d) wrong post_type \"%3$s\"."
|
331 |
msgstr ""
|
332 |
|
333 |
+
#: includes/class-mla-data.php:3163 includes/class-mla-data.php:3507
|
334 |
+
#: includes/class-mla-list-table.php:995
|
335 |
msgid "NO REFERENCE TESTS"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: includes/class-mla-data.php:3169 includes/class-mla-data.php:3513
|
339 |
+
#: includes/class-mla-options.php:2750 includes/class-mla-options.php:2751
|
340 |
msgid "ORPHAN"
|
341 |
msgstr ""
|
342 |
|
343 |
+
#: includes/class-mla-data.php:3173 includes/class-mla-data.php:3517
|
344 |
msgid "UNUSED"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: includes/class-mla-data.php:3178 includes/class-mla-data.php:3522
|
348 |
msgid "UNATTACHED"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: includes/class-mla-data.php:3180 includes/class-mla-data.php:3524
|
352 |
msgid "INVALID PARENT"
|
353 |
msgstr ""
|
354 |
|
355 |
#. translators: 1: post_type, 2: post_title, 3: post ID, 4: query string, 5: error message
|
356 |
+
#: includes/class-mla-data.php:3705
|
357 |
#, php-format
|
358 |
msgid "(%1$s) %2$s (ID %3$d) query \"%4$s\" failed, returning \"%5$s\""
|
359 |
msgstr ""
|
360 |
|
361 |
+
#. translators: 1: ERROR tag 2: index
|
362 |
+
#: includes/class-mla-data.php:3951
|
363 |
#, php-format
|
364 |
msgctxt "error_log"
|
365 |
+
msgid "%1$s: _build_pdf_indirect_objects bad value at $index = \"%2$d\"."
|
366 |
msgstr ""
|
367 |
|
368 |
+
#. translators: 1: ERROR tag 2: source offset 3: nest level
|
369 |
+
#: includes/class-mla-data.php:4276
|
370 |
#, php-format
|
371 |
msgctxt "error_log"
|
372 |
+
msgid "%1$s: _parse_pdf_dictionary offset = %2$d, nest = %3$d."
|
373 |
msgstr ""
|
374 |
|
375 |
+
#. translators: 1: ERROR tag 2: dictionary excerpt
|
376 |
+
#: includes/class-mla-data.php:4278
|
377 |
#, php-format
|
378 |
msgctxt "error_log"
|
379 |
+
msgid "%1$s: _parse_pdf_dictionary no end delimiter dump = %2$s."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#. translators: 1: ERROR tag 2: entry name 3: value excerpt
|
383 |
+
#: includes/class-mla-data.php:4324
|
384 |
#, php-format
|
385 |
msgctxt "error_log"
|
386 |
+
msgid "%1$s: _parse_pdf_dictionary bad value [ %2$s ] dump = %3$s"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: includes/class-mla-data.php:4438
|
390 |
msgctxt "error_log"
|
391 |
+
msgid "_parse_xmp_metadata xml_parse_into_struct failed."
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: includes/class-mla-data.php:4441
|
395 |
msgctxt "error_log"
|
396 |
+
msgid "_parse_xmp_metadata set option failed."
|
397 |
msgstr ""
|
398 |
|
399 |
+
#. translators: 1: ERROR tag 2: path and file
|
400 |
+
#: includes/class-mla-data.php:4798
|
401 |
#, php-format
|
402 |
msgctxt "error_log"
|
403 |
+
msgid "%1$s: File \"%2$s\", startxref not found."
|
404 |
+
msgstr ""
|
405 |
+
|
406 |
+
#: includes/class-mla-data.php:5664 includes/class-mla-settings.php:1763
|
407 |
+
#: includes/class-mla-view-list-table.php:377
|
408 |
+
#: includes/class-mla-view-list-table.php:393
|
409 |
+
msgid "Yes"
|
410 |
+
msgstr ""
|
411 |
+
|
412 |
+
#: includes/class-mla-data.php:5666 includes/class-mla-list-table.php:241
|
413 |
+
#: includes/class-mla-settings.php:1762
|
414 |
+
#: includes/class-mla-view-list-table.php:379
|
415 |
+
#: includes/class-mla-view-list-table.php:395
|
416 |
+
msgid "No"
|
417 |
msgstr ""
|
418 |
|
419 |
#. translators: 1: meta_key
|
420 |
+
#: includes/class-mla-data.php:5924 includes/class-mla-data.php:6022
|
421 |
#, php-format
|
422 |
+
msgid "Deleting %1$s"
|
423 |
msgstr ""
|
424 |
|
425 |
+
#. translators: 1: ERROR tag 2: meta_key
|
426 |
+
#: includes/class-mla-data.php:5927
|
427 |
#, php-format
|
428 |
+
msgid "%1$s: meta:%2$s not found"
|
429 |
msgstr ""
|
430 |
|
431 |
#. translators: 1: meta_key 2: meta_value
|
432 |
+
#. translators: 1: meta_key 2: new_value
|
433 |
+
#. translators: 1: meta_key 2: meta_value
|
434 |
+
#: includes/class-mla-data.php:5936 includes/class-mla-data.php:6033
|
435 |
+
#: includes/class-mla-data.php:6039
|
436 |
#, php-format
|
437 |
+
msgid "Adding %1$s = %2$s"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#. translators: 1: ERROR tag 2: meta_key
|
441 |
+
#: includes/class-mla-data.php:5940
|
442 |
#, php-format
|
443 |
+
msgid "%1$s: Adding meta:%2$s; not found"
|
444 |
msgstr ""
|
445 |
|
446 |
#. translators: 1: meta_key
|
447 |
+
#: includes/class-mla-data.php:5947
|
448 |
#, php-format
|
449 |
msgid "Deleting Null meta:%1$s"
|
450 |
msgstr ""
|
451 |
|
452 |
#. translators: 1: element name 2: old_value 3: new_value
|
453 |
+
#: includes/class-mla-data.php:5957 includes/class-mla-data.php:6108
|
454 |
+
#: includes/class-mla-data.php:6169 includes/class-mla-data.php:6195
|
455 |
+
#: includes/class-mla-data.php:6229 includes/class-mla-data.php:6242
|
456 |
+
#: includes/class-mla-data.php:6251 includes/class-mla-data.php:6262
|
457 |
+
#: includes/class-mla-data.php:6273 includes/class-mla-data.php:6286
|
458 |
+
#: includes/class-mla-data.php:6295 includes/class-mla-data.php:6304
|
459 |
#: includes/class-mla-mime-types.php:1052
|
460 |
#: includes/class-mla-mime-types.php:2125
|
461 |
#, php-format
|
462 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
463 |
msgstr ""
|
464 |
|
465 |
+
#. translators: 1: ERROR tag 2: meta_key
|
466 |
+
#: includes/class-mla-data.php:5962
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
467 |
#, php-format
|
468 |
+
msgid "%1$s: Changing meta:%2$s; not found"
|
|
|
|
|
|
|
|
|
|
|
|
|
469 |
msgstr ""
|
470 |
|
471 |
#. translators: 1: meta_key
|
472 |
+
#: includes/class-mla-data.php:6063
|
473 |
#, php-format
|
474 |
msgid "Deleting old %1$s values"
|
475 |
msgstr ""
|
476 |
|
477 |
#. translators: 1: meta_key 2: old_value 3: new_value 4: update count
|
478 |
+
#: includes/class-mla-data.php:6093
|
479 |
#, php-format
|
480 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\"; %4$d updates"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: includes/class-mla-data.php:6151 includes/class-mla-main.php:2270
|
484 |
+
msgid "Could not retrieve Attachment."
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: includes/class-mla-data.php:6169 includes/class-mla-edit-media.php:401
|
488 |
+
#: includes/class-mla-main.php:1620 includes/class-mla-main.php:1921
|
489 |
+
#: includes/class-mla-main.php:2111 includes/class-mla-main.php:2488
|
490 |
+
#: includes/class-mla-objects.php:278 includes/class-mla-options.php:1048
|
491 |
+
#: includes/class-mla-options.php:1863
|
492 |
#: includes/mla-main-search-box-template.php:42
|
493 |
#: includes/mla-media-modal-js-template.php:32
|
494 |
msgid "Title"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#. translators: 1: ERROR tag 2: old_value
|
498 |
+
#: includes/class-mla-data.php:6192
|
499 |
#, php-format
|
500 |
+
msgid "%1$s: Could not change Name/Slug \"%2$s\"; name already exists"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: includes/class-mla-data.php:6195 includes/class-mla-edit-media.php:402
|
504 |
+
#: includes/class-mla-main.php:2112 includes/class-mla-main.php:2491
|
505 |
+
#: includes/class-mla-options.php:1055
|
506 |
msgid "Name/Slug"
|
507 |
msgstr ""
|
508 |
|
509 |
#. translators: 1: old_value
|
510 |
+
#: includes/class-mla-data.php:6221
|
511 |
#, php-format
|
512 |
msgid "Deleting ALT Text, was \"%1$s\""
|
513 |
msgstr ""
|
514 |
|
515 |
+
#. translators: 1: ERROR tag 2: old_value
|
516 |
+
#: includes/class-mla-data.php:6224
|
517 |
#, php-format
|
518 |
+
msgid "%1$s: Could not delete ALT Text, remains \"%2$s\""
|
519 |
msgstr ""
|
520 |
|
521 |
+
#: includes/class-mla-data.php:6229 includes/class-mla-edit-media.php:405
|
522 |
+
#: includes/class-mla-list-table.php:1285 includes/class-mla-main.php:2115
|
523 |
+
#: includes/class-mla-main.php:2494 includes/class-mla-options.php:1062
|
524 |
+
#: includes/class-mla-options.php:1869
|
525 |
#: includes/mla-main-search-box-template.php:44
|
526 |
#: includes/mla-media-modal-js-template.php:40
|
527 |
msgid "ALT Text"
|
528 |
msgstr ""
|
529 |
|
530 |
+
#. translators: 1: ERROR tag 2: old_value 3: new_value
|
531 |
+
#: includes/class-mla-data.php:6232
|
532 |
#, php-format
|
533 |
+
msgid "%1$s: Could not change ALT Text from \"%2$s\" to \"%3$s\""
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: includes/class-mla-data.php:6242 includes/class-mla-edit-media.php:403
|
537 |
+
#: includes/class-mla-main.php:2113 includes/class-mla-main.php:2497
|
538 |
+
#: includes/class-mla-options.php:1069 includes/class-mla-options.php:1872
|
539 |
#: includes/mla-main-search-box-template.php:45
|
540 |
#: includes/mla-media-modal-js-template.php:45
|
541 |
msgid "Caption"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: includes/class-mla-data.php:6251 includes/class-mla-edit-media.php:404
|
545 |
+
#: includes/class-mla-main.php:2114 includes/class-mla-main.php:2499
|
546 |
+
#: includes/class-mla-options.php:1076 includes/class-mla-options.php:1875
|
547 |
+
#: includes/class-mla-settings.php:1496 includes/class-mla-settings.php:1753
|
548 |
+
#: includes/class-mla-settings.php:1851 includes/class-mla-settings.php:2215
|
549 |
#: includes/mla-main-search-box-template.php:46
|
550 |
#: includes/mla-media-modal-js-template.php:49
|
551 |
msgid "Description"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: includes/class-mla-data.php:6262 includes/class-mla-list-table.php:969
|
555 |
+
#: includes/class-mla-list-table.php:1061 includes/class-mla-options.php:4361
|
556 |
+
#: includes/class-mla-options.php:4707
|
557 |
msgid "Parent"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: includes/class-mla-data.php:6273 includes/class-mla-edit-media.php:592
|
561 |
+
#: includes/class-mla-edit-media.php:745 includes/class-mla-main.php:2118
|
562 |
+
#: includes/class-mla-main.php:2505 includes/class-mla-settings.php:1494
|
563 |
+
#: includes/class-mla-settings.php:1751
|
564 |
msgid "Menu Order"
|
565 |
msgstr ""
|
566 |
|
567 |
+
#: includes/class-mla-data.php:6286 includes/class-mla-edit-media.php:372
|
568 |
+
#: includes/class-mla-list-table.php:1444 includes/class-mla-main.php:1988
|
569 |
+
#: includes/class-mla-main.php:2090 includes/class-mla-main.php:2319
|
570 |
msgid "Author"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: includes/class-mla-data.php:6295 includes/class-mla-edit-media.php:395
|
574 |
+
#: includes/class-mla-main.php:2129
|
575 |
msgid "Comments"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: includes/class-mla-data.php:6304 includes/class-mla-edit-media.php:396
|
579 |
+
#: includes/class-mla-main.php:2130
|
580 |
msgid "Pings"
|
581 |
msgstr ""
|
582 |
|
583 |
+
#: includes/class-mla-data.php:6335
|
584 |
msgid "Adding"
|
585 |
msgstr ""
|
586 |
|
587 |
+
#: includes/class-mla-data.php:6339
|
588 |
msgid "Removing"
|
589 |
msgstr ""
|
590 |
|
591 |
+
#: includes/class-mla-data.php:6348
|
592 |
msgid "Replacing"
|
593 |
msgstr ""
|
594 |
|
595 |
+
#: includes/class-mla-data.php:6356
|
596 |
msgid "Ignoring"
|
597 |
msgstr ""
|
598 |
|
599 |
#. translators: 1: action_name, 2: taxonomy
|
600 |
+
#: includes/class-mla-data.php:6369
|
601 |
#, php-format
|
602 |
msgid "%1$s \"%2$s\" terms"
|
603 |
msgstr ""
|
604 |
|
605 |
#. translators: 1: taxonomy
|
606 |
+
#: includes/class-mla-data.php:6373
|
607 |
#, php-format
|
608 |
msgid "You cannot assign \"%1$s\" terms"
|
609 |
msgstr ""
|
610 |
|
611 |
#. translators: 1: post ID
|
612 |
+
#: includes/class-mla-data.php:6385 includes/class-mla-main.php:1141
|
613 |
#, php-format
|
614 |
msgid "Item %1$d, no changes detected."
|
615 |
msgstr ""
|
616 |
|
617 |
#. translators: 1: post ID
|
618 |
+
#: includes/class-mla-data.php:6397
|
619 |
#, php-format
|
620 |
msgid "Item %1$d updated."
|
621 |
msgstr ""
|
622 |
|
623 |
+
#. translators: 1: ERROR tag 2: post ID
|
624 |
+
#: includes/class-mla-data.php:6411
|
625 |
#, php-format
|
626 |
+
msgid "%1$s: Item %2$d update failed."
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: includes/class-mla-edit-media.php:133 includes/class-mla-edit-media.php:169
|
630 |
+
#: includes/class-mla-edit-media.php:218 includes/class-mla-main.php:340
|
631 |
+
#: includes/class-mla-main.php:377 includes/class-mla-main.php:1037
|
632 |
+
#: includes/class-mla-main.php:1804 includes/class-mla-options.php:3907
|
633 |
+
#: includes/class-mla-settings.php:340
|
634 |
msgctxt "tag_delimiter"
|
635 |
msgid ","
|
636 |
msgstr ""
|
637 |
|
638 |
+
#: includes/class-mla-edit-media.php:168
|
639 |
+
msgid "Upload New Media items"
|
640 |
+
msgstr ""
|
641 |
+
|
642 |
+
#: includes/class-mla-edit-media.php:170 includes/class-mla-edit-media.php:220
|
643 |
+
#: includes/class-mla-main.php:364
|
644 |
msgid "An ajax.fail error has occurred. Please reload the page and try again."
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: includes/class-mla-edit-media.php:171 includes/class-mla-edit-media.php:221
|
648 |
+
#: includes/class-mla-main.php:365
|
649 |
msgid "An ajax.done error has occurred. Please reload the page and try again."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: includes/class-mla-edit-media.php:173 includes/class-mla-edit-media.php:391
|
653 |
+
msgid "Open Bulk Edit area"
|
654 |
+
msgstr ""
|
655 |
+
|
656 |
+
#: includes/class-mla-edit-media.php:174
|
657 |
+
msgid "Close Bulk Edit area"
|
658 |
+
msgstr ""
|
659 |
+
|
660 |
+
#: includes/class-mla-edit-media.php:315 includes/class-mla-main.php:2023
|
661 |
+
msgid "more"
|
662 |
+
msgstr ""
|
663 |
+
|
664 |
+
#: includes/class-mla-edit-media.php:316 includes/class-mla-main.php:2024
|
665 |
+
msgid "less"
|
666 |
+
msgstr ""
|
667 |
+
|
668 |
+
#: includes/class-mla-edit-media.php:319 includes/class-mla-edit-media.php:350
|
669 |
+
#: includes/class-mla-main.php:2027 includes/class-mla-main.php:2065
|
670 |
+
msgid "Add"
|
671 |
+
msgstr ""
|
672 |
+
|
673 |
+
#: includes/class-mla-edit-media.php:320 includes/class-mla-edit-media.php:351
|
674 |
+
#: includes/class-mla-main.php:2028 includes/class-mla-main.php:2066
|
675 |
+
msgid "Remove"
|
676 |
+
msgstr ""
|
677 |
+
|
678 |
+
#: includes/class-mla-edit-media.php:321 includes/class-mla-edit-media.php:352
|
679 |
+
#: includes/class-mla-main.php:2029 includes/class-mla-main.php:2067
|
680 |
+
#: includes/class-mla-options.php:3443 includes/class-mla-options.php:3546
|
681 |
+
#: includes/class-mla-options.php:3590 includes/class-mla-options.php:4596
|
682 |
+
#: includes/class-mla-options.php:4646 includes/class-mla-options.php:4765
|
683 |
+
#: includes/class-mla-options.php:4807 includes/class-mla-options.php:4832
|
684 |
+
msgid "Replace"
|
685 |
+
msgstr ""
|
686 |
+
|
687 |
+
#: includes/class-mla-edit-media.php:397 includes/class-mla-main.php:2131
|
688 |
+
#: includes/class-mla-main.php:2177 includes/class-mla-settings.php:1761
|
689 |
+
#: includes/class-mla-settings.php:1799 includes/class-mla-settings.php:2226
|
690 |
+
msgid "No Change"
|
691 |
+
msgstr ""
|
692 |
+
|
693 |
+
#: includes/class-mla-edit-media.php:398 includes/class-mla-main.php:2132
|
694 |
+
msgid "Allow"
|
695 |
+
msgstr ""
|
696 |
+
|
697 |
+
#: includes/class-mla-edit-media.php:399 includes/class-mla-main.php:2133
|
698 |
+
msgid "Do not allow"
|
699 |
+
msgstr ""
|
700 |
+
|
701 |
+
#: includes/class-mla-edit-media.php:406 includes/class-mla-main.php:2116
|
702 |
+
msgid "Parent ID"
|
703 |
+
msgstr ""
|
704 |
+
|
705 |
+
#: includes/class-mla-edit-media.php:407 includes/class-mla-edit-media.php:725
|
706 |
+
#: includes/class-mla-main.php:2117
|
707 |
+
#: includes/class-mla-upload-optional-list-table.php:281
|
708 |
+
msgid "Select"
|
709 |
+
msgstr ""
|
710 |
+
|
711 |
+
#: includes/class-mla-edit-media.php:482
|
712 |
msgid "Custom field mapping updated."
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: includes/class-mla-edit-media.php:483
|
716 |
msgid "IPTC/EXIF mapping updated."
|
717 |
msgstr ""
|
718 |
|
719 |
#. translators: date_i18n format for last modified date and time
|
720 |
+
#: includes/class-mla-edit-media.php:501
|
721 |
msgid "M j, Y @ G:i"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: includes/class-mla-edit-media.php:503 includes/class-mla-main.php:2483
|
725 |
msgid "Last modified"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: includes/class-mla-edit-media.php:514
|
729 |
msgid "Map Custom Field metadata for this item"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: includes/class-mla-edit-media.php:514 includes/class-mla-main.php:1727
|
733 |
+
#: includes/class-mla-main.php:2136
|
734 |
msgid "Map Custom Field Metadata"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: includes/class-mla-edit-media.php:516
|
738 |
msgid "Map IPTC/EXIF metadata for this item"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: includes/class-mla-edit-media.php:516
|
742 |
msgid "Map IPTC/EXIF Metadata"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: includes/class-mla-edit-media.php:588 includes/class-mla-edit-media.php:726
|
746 |
+
#: includes/class-mla-main.php:2501
|
747 |
msgid "Parent Info"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: includes/class-mla-edit-media.php:598 includes/class-mla-edit-media.php:769
|
751 |
msgid "Attachment Metadata"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: includes/class-mla-edit-media.php:603 includes/class-mla-edit-media.php:803
|
755 |
+
#: includes/class-mla-main.php:2512 includes/class-mla-options.php:472
|
756 |
msgid "Featured in"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: includes/class-mla-edit-media.php:607 includes/class-mla-edit-media.php:842
|
760 |
+
#: includes/class-mla-main.php:2514 includes/class-mla-options.php:481
|
761 |
msgid "Inserted in"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: includes/class-mla-edit-media.php:611 includes/class-mla-edit-media.php:877
|
765 |
+
#: includes/class-mla-main.php:2516 includes/class-mla-options.php:490
|
766 |
+
#: includes/class-mla-settings.php:3753
|
767 |
msgid "Gallery in"
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: includes/class-mla-edit-media.php:615 includes/class-mla-edit-media.php:912
|
771 |
+
#: includes/class-mla-main.php:2518 includes/class-mla-options.php:499
|
772 |
+
#: includes/class-mla-settings.php:3763
|
773 |
msgid "MLA Gallery in"
|
774 |
msgstr ""
|
775 |
|
776 |
+
#. translators: 1: ERROR tag 2: function name 3: template key
|
777 |
+
#: includes/class-mla-edit-media.php:658 includes/class-mla-main.php:604
|
778 |
+
#: includes/class-mla-settings.php:555
|
779 |
#, php-format
|
780 |
msgctxt "error_log"
|
781 |
+
msgid "%1$s: %2$s discarding \"%3$s\"; no title/order"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: includes/class-mla-edit-media.php:704 includes/class-mla-list-table.php:770
|
785 |
+
#: includes/class-mla-main.php:1633
|
786 |
msgid "Scheduled"
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: includes/class-mla-edit-media.php:707 includes/class-mla-list-table.php:773
|
790 |
msgctxt "post state"
|
791 |
msgid "Pending"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/class-mla-edit-media.php:710 includes/class-mla-list-table.php:776
|
795 |
+
#: includes/class-mla-main.php:1639
|
796 |
msgid "Draft"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: includes/class-mla-edit-media.php:724
|
800 |
msgid "Post Parent"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: includes/class-mla-edit-media.php:725 includes/class-mla-main.php:1912
|
804 |
msgid "Select Parent"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: includes/class-mla-edit-media.php:792 includes/class-mla-edit-media.php:830
|
808 |
+
#: includes/class-mla-edit-media.php:866 includes/class-mla-edit-media.php:901
|
809 |
+
#: includes/class-mla-list-table.php:1108
|
810 |
+
#: includes/class-mla-list-table.php:1157
|
811 |
+
#: includes/class-mla-list-table.php:1203
|
812 |
+
#: includes/class-mla-list-table.php:1248 includes/class-mla-main.php:2332
|
813 |
+
#: includes/class-mla-main.php:2351 includes/class-mla-main.php:2368
|
814 |
+
#: includes/class-mla-main.php:2384
|
|
|
|
|
|
|
|
|
|
|
815 |
msgid "PARENT"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: includes/class-mla-edit-media.php:1095
|
819 |
msgid "Most Used"
|
820 |
msgstr ""
|
821 |
|
822 |
#. translators: %s: add new taxonomy label
|
823 |
+
#: includes/class-mla-edit-media.php:1124
|
824 |
#, php-format
|
825 |
msgid "+ %s"
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: includes/class-mla-edit-media.php:1130
|
829 |
msgid "? Search"
|
830 |
msgstr ""
|
831 |
|
938 |
msgid "All"
|
939 |
msgstr ""
|
940 |
|
941 |
+
#: includes/class-mla-list-table.php:627
|
942 |
+
#: includes/class-mla-list-table.php:1343 includes/class-mla-options.php:604
|
943 |
+
#: includes/class-mla-options.php:806 includes/class-mla-options.php:830
|
944 |
+
#: includes/class-mla-options.php:844 includes/class-mla-settings.php:2298
|
|
|
|
|
|
|
|
|
|
|
|
|
945 |
msgid "None"
|
946 |
msgstr ""
|
947 |
|
948 |
+
#: includes/class-mla-list-table.php:633 includes/class-mla-list-table.php:665
|
949 |
+
#: includes/class-mla-list-table.php:1281
|
950 |
+
#: includes/class-mla-list-table.php:1325
|
951 |
+
#: includes/class-mla-list-table.php:1357
|
952 |
msgid "Filter by"
|
953 |
msgstr ""
|
954 |
|
955 |
+
#: includes/class-mla-list-table.php:643
|
956 |
msgid "not supported"
|
957 |
msgstr ""
|
958 |
|
959 |
#. translators: 1: column_name 2: column_values
|
960 |
+
#: includes/class-mla-list-table.php:685
|
961 |
#: includes/class-mla-upload-list-table.php:247
|
962 |
#: includes/class-mla-upload-optional-list-table.php:228
|
963 |
#: includes/class-mla-view-list-table.php:236
|
965 |
msgid "column_default: %1$s, %2$s"
|
966 |
msgstr ""
|
967 |
|
968 |
+
#: includes/class-mla-list-table.php:751 includes/class-mla-list-table.php:824
|
969 |
+
#: includes/class-mla-list-table.php:826
|
970 |
#: includes/class-mla-upload-list-table.php:312
|
971 |
#: includes/class-mla-view-list-table.php:302
|
972 |
msgid "Edit this item"
|
973 |
msgstr ""
|
974 |
|
975 |
+
#: includes/class-mla-list-table.php:751 includes/class-mla-list-table.php:754
|
976 |
+
#: includes/class-mla-list-table.php:824 includes/class-mla-list-table.php:826
|
977 |
+
#: includes/class-mla-list-table.php:1113
|
978 |
+
#: includes/class-mla-list-table.php:1162
|
979 |
+
#: includes/class-mla-list-table.php:1208
|
980 |
+
#: includes/class-mla-list-table.php:1253
|
981 |
+
#: includes/class-mla-list-table.php:1461
|
982 |
+
#: includes/class-mla-list-table.php:1765
|
983 |
#: includes/class-mla-upload-list-table.php:312
|
984 |
#: includes/class-mla-upload-list-table.php:610
|
985 |
#: includes/class-mla-view-list-table.php:302
|
987 |
msgid "Edit"
|
988 |
msgstr ""
|
989 |
|
990 |
+
#: includes/class-mla-list-table.php:812
|
991 |
msgid "Restore this item from the Trash"
|
992 |
msgstr ""
|
993 |
|
994 |
+
#: includes/class-mla-list-table.php:812
|
995 |
+
#: includes/class-mla-list-table.php:1762
|
996 |
msgid "Restore"
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: includes/class-mla-list-table.php:829
|
1000 |
#: includes/class-mla-upload-list-table.php:314
|
1001 |
#: includes/class-mla-view-list-table.php:304
|
1002 |
msgid "Edit this item inline"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: includes/class-mla-list-table.php:829 includes/class-mla-main.php:2110
|
1006 |
+
#: includes/class-mla-options.php:3320 includes/class-mla-options.php:3627
|
1007 |
#: includes/class-mla-upload-list-table.php:314
|
1008 |
#: includes/class-mla-view-list-table.php:304
|
1009 |
msgid "Quick Edit"
|
1010 |
msgstr ""
|
1011 |
|
1012 |
+
#: includes/class-mla-list-table.php:835
|
1013 |
msgid "Move this item to the Trash"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: includes/class-mla-list-table.php:835
|
1017 |
+
#: includes/class-mla-list-table.php:1768
|
1018 |
msgid "Move to Trash"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: includes/class-mla-list-table.php:840
|
1022 |
#: includes/class-mla-upload-list-table.php:318
|
1023 |
#: includes/class-mla-view-list-table.php:310
|
1024 |
msgid "Delete this item Permanently"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
+
#: includes/class-mla-list-table.php:840
|
1028 |
+
#: includes/class-mla-list-table.php:1763
|
1029 |
+
#: includes/class-mla-list-table.php:1770
|
1030 |
#: includes/class-mla-upload-list-table.php:318
|
1031 |
#: includes/class-mla-view-list-table.php:310
|
1032 |
#: includes/class-mla-view-list-table.php:514
|
1033 |
msgid "Delete Permanently"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: includes/class-mla-list-table.php:848
|
1037 |
msgid "Download"
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: includes/class-mla-list-table.php:851 includes/class-mla-settings.php:1739
|
1041 |
msgid "View"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: includes/class-mla-list-table.php:891 includes/class-mla-list-table.php:963
|
1045 |
+
#: includes/class-mla-main.php:368 includes/class-mla-main.php:1624
|
1046 |
msgid "(no title)"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
+
#: includes/class-mla-list-table.php:966
|
1050 |
+
#: includes/class-mla-list-table.php:1058
|
1051 |
msgid "Filter by Parent ID"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: includes/class-mla-list-table.php:1055
|
1055 |
msgid "(no title: bad ID)"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: includes/class-mla-list-table.php:1090
|
1059 |
+
#: includes/class-mla-list-table.php:1135
|
1060 |
+
#: includes/class-mla-list-table.php:1185
|
1061 |
+
#: includes/class-mla-list-table.php:1230 includes/class-mla-main.php:2340
|
1062 |
+
#: includes/class-mla-main.php:2360 includes/class-mla-main.php:2376
|
1063 |
+
#: includes/class-mla-main.php:2392 includes/class-mla-options.php:476
|
1064 |
+
#: includes/class-mla-options.php:485 includes/class-mla-options.php:494
|
1065 |
+
#: includes/class-mla-options.php:503
|
1066 |
msgid "Disabled"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
+
#: includes/class-mla-list-table.php:1328 includes/class-mla-settings.php:1844
|
1070 |
+
#: includes/class-mla-settings.php:2209
|
1071 |
msgid "MIME Type"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: includes/class-mla-list-table.php:1361
|
1075 |
msgid "Base File"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: includes/class-mla-list-table.php:1377
|
1079 |
+
#: includes/class-mla-list-table.php:1410
|
1080 |
msgid "Unpublished"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
#. translators: 1: upload/last modified date and time
|
1084 |
+
#: includes/class-mla-list-table.php:1386
|
1085 |
+
#: includes/class-mla-list-table.php:1417
|
1086 |
#, php-format
|
1087 |
msgid "%1$s from now"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
#. translators: 1: upload/last modified date and time
|
1091 |
+
#: includes/class-mla-list-table.php:1389
|
1092 |
+
#: includes/class-mla-list-table.php:1419
|
1093 |
#, php-format
|
1094 |
msgid "%1$s ago"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
#. translators: format for upload/last modified date
|
1098 |
#. translators: date format in table columns, see http://php.net/date
|
1099 |
+
#: includes/class-mla-list-table.php:1393
|
1100 |
+
#: includes/class-mla-list-table.php:1422
|
1101 |
+
#: includes/class-mla-list-table.php:1478 includes/class-mla-main.php:1649
|
1102 |
msgid "Y/m/d"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
+
#: includes/class-mla-list-table.php:1441
|
1106 |
msgid "Filter by Author ID"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
+
#: includes/class-mla-list-table.php:1480 includes/class-mla-options.php:1165
|
1110 |
msgctxt "post_mime_types_singular"
|
1111 |
msgid "Unattached"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: includes/class-mla-list-table.php:1483
|
1115 |
msgid "Set Parent"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: includes/class-mla-list-table.php:1614
|
1119 |
msgctxt "uploaded files"
|
1120 |
msgid "All"
|
1121 |
msgid_plural "All"
|
1122 |
msgstr[0] ""
|
1123 |
msgstr[1] ""
|
1124 |
|
1125 |
+
#: includes/class-mla-list-table.php:1796
|
1126 |
msgid "Filter"
|
1127 |
msgstr ""
|
1128 |
|
1129 |
+
#: includes/class-mla-list-table.php:1800
|
1130 |
#: includes/mla-media-modal-js-template.php:58
|
1131 |
msgid "Terms Search"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
+
#: includes/class-mla-list-table.php:1806
|
1135 |
msgid "Clear Filter-by"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
+
#: includes/class-mla-list-table.php:1810
|
1139 |
msgid "Empty Trash"
|
1140 |
msgstr ""
|
1141 |
|
1151 |
msgid "Bulk Edit items"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
+
#: includes/class-mla-main.php:370 includes/class-mla-main.php:2137
|
1155 |
#: includes/class-mla-settings.php:349
|
1156 |
msgid "Waiting"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: includes/class-mla-main.php:371 includes/class-mla-main.php:2139
|
1160 |
#: includes/class-mla-settings.php:351
|
1161 |
msgid "Complete"
|
1162 |
msgstr ""
|
1173 |
msgid "Failed"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: includes/class-mla-main.php:375 includes/class-mla-settings.php:357
|
1177 |
msgid "CANCELED"
|
1178 |
msgstr ""
|
1179 |
|
1185 |
msgstr[1] ""
|
1186 |
|
1187 |
#. translators: 1: post ID
|
1188 |
+
#: includes/class-mla-main.php:491 includes/class-mla-main.php:2600
|
1189 |
#, php-format
|
1190 |
msgid "Item %1$d moved to Trash."
|
1191 |
msgstr ""
|
1194 |
msgid "Entries per page"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
+
#: includes/class-mla-main.php:895
|
1198 |
+
msgid "You are not allowed to edit Attachment: "
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#. translators: 1: ERROR tag 2: bulk action
|
1202 |
+
#: includes/class-mla-main.php:1131
|
1203 |
#, php-format
|
1204 |
+
msgid "%1$s: Unknown bulk action %2$s"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
+
#: includes/class-mla-main.php:1153
|
1208 |
msgid "no changes detected"
|
1209 |
msgstr ""
|
1210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1211 |
#. translators: 1: action name, e.g., edit
|
1212 |
+
#: includes/class-mla-main.php:1199 includes/class-mla-settings.php:1618
|
1213 |
+
#: includes/class-mla-settings.php:2085
|
1214 |
#, php-format
|
1215 |
msgid "Bulk Action %1$s - no items selected."
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: includes/class-mla-main.php:1250
|
1219 |
msgid "You do not have permission to manage attachments."
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#. translators: 1: number of items
|
1223 |
+
#: includes/class-mla-main.php:1317
|
1224 |
#, php-format
|
1225 |
msgctxt "deleted items"
|
1226 |
msgid "%s item deleted."
|
1228 |
msgstr[0] ""
|
1229 |
msgstr[1] ""
|
1230 |
|
1231 |
+
#: includes/class-mla-main.php:1319
|
1232 |
msgid "No items deleted."
|
1233 |
msgstr ""
|
1234 |
|
1235 |
+
#: includes/class-mla-main.php:1344
|
1236 |
msgid "Edit single item"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
#. translators: 1: post ID
|
1240 |
+
#: includes/class-mla-main.php:1359
|
1241 |
#, php-format
|
1242 |
msgid "Item %1$d cancelled."
|
1243 |
msgstr ""
|
1244 |
|
1245 |
+
#: includes/class-mla-main.php:1394
|
1246 |
msgid "Empty Terms Search; ignored"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
#. translators: 1: row-level action, e.g., single_item_delete, single_item_edit
|
1250 |
#. translators: 1: bulk_action, e.g., single_item_delete, single_item_edit
|
1251 |
+
#: includes/class-mla-main.php:1406 includes/class-mla-settings.php:1655
|
1252 |
+
#: includes/class-mla-settings.php:2124
|
1253 |
#, php-format
|
1254 |
msgid "Unknown mla_admin_action - \"%1$s\""
|
1255 |
msgstr ""
|
1256 |
|
1257 |
+
#: includes/class-mla-main.php:1439
|
1258 |
msgid "term search results for"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
+
#: includes/class-mla-main.php:1442
|
1262 |
msgid "post/parent results for"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: includes/class-mla-main.php:1444
|
1266 |
msgid "search results for"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
+
#: includes/class-mla-main.php:1620 includes/class-mla-main.php:1922
|
1270 |
msgid "Type"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: includes/class-mla-main.php:1620 includes/class-mla-main.php:1923
|
1274 |
msgid "Date"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: includes/class-mla-main.php:1620 includes/class-mla-main.php:1924
|
1278 |
+
#: includes/class-mla-settings.php:2225
|
1279 |
msgid "Status"
|
1280 |
msgstr ""
|
1281 |
|
1282 |
+
#: includes/class-mla-main.php:1630
|
1283 |
msgid "Published"
|
1284 |
msgstr ""
|
1285 |
|
1286 |
+
#: includes/class-mla-main.php:1636
|
1287 |
msgid "Pending Review"
|
1288 |
msgstr ""
|
1289 |
|
1290 |
+
#: includes/class-mla-main.php:1678 includes/class-mla-main.php:1759
|
1291 |
+
msgid "No post ID found"
|
1292 |
msgstr ""
|
1293 |
|
1294 |
+
#: includes/class-mla-main.php:1685 includes/class-mla-main.php:1766
|
1295 |
+
#: includes/class-mla-main.php:2277
|
1296 |
msgid "You are not allowed to edit this Attachment."
|
1297 |
msgstr ""
|
1298 |
|
1299 |
+
#: includes/class-mla-main.php:1730 includes/class-mla-main.php:2135
|
1300 |
+
#: includes/class-mla-main.php:2476
|
1301 |
msgid "Map IPTC/EXIF metadata"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: includes/class-mla-main.php:1733 includes/class-mla-main.php:1934
|
1305 |
+
#: includes/class-mla-main.php:2124 includes/class-mla-main.php:2475
|
1306 |
+
#: includes/class-mla-settings.php:1498 includes/class-mla-settings.php:1759
|
1307 |
+
#: includes/class-mla-settings.php:1853 includes/class-mla-settings.php:2223
|
1308 |
msgid "Update"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: includes/class-mla-main.php:1869
|
1312 |
msgid "All Post Types"
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: includes/class-mla-main.php:1913 includes/class-mla-media-modal.php:1216
|
1316 |
#: includes/mla-media-modal-js-template.php:20
|
1317 |
#: includes/mla-media-modal-js-template.php:61
|
1318 |
msgid "Search"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
+
#: includes/class-mla-main.php:1915
|
1322 |
msgid "For"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
+
#: includes/class-mla-main.php:1925 includes/class-mla-shortcodes.php:715
|
1326 |
msgid "Unattached"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
+
#: includes/class-mla-main.php:1930 includes/class-mla-main.php:2123
|
1330 |
+
#: includes/class-mla-main.php:2474 includes/class-mla-settings.php:1499
|
1331 |
+
#: includes/class-mla-settings.php:1758 includes/class-mla-settings.php:1854
|
1332 |
+
#: includes/class-mla-settings.php:1926 includes/class-mla-settings.php:2222
|
1333 |
+
#: includes/class-mla-settings.php:2691 includes/class-mla-settings.php:2827
|
1334 |
msgid "Cancel"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: includes/class-mla-main.php:2125 includes/class-mla-options.php:3334
|
1338 |
+
#: includes/class-mla-options.php:3628 includes/class-mla-settings.php:1760
|
1339 |
+
#: includes/class-mla-settings.php:2224
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1340 |
msgid "Bulk Edit"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: includes/class-mla-main.php:2138
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1344 |
msgid "In-process"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: includes/class-mla-main.php:2140 includes/class-mla-options.php:494
|
1348 |
+
#: includes/class-mla-options.php:503 includes/class-mla-settings.php:2694
|
1349 |
+
#: includes/class-mla-settings.php:2830
|
1350 |
msgid "Refresh"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
+
#: includes/class-mla-main.php:2229
|
1354 |
+
msgid "You are not allowed to delete this item."
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#. translators: 1: ERROR tag 2: post ID
|
1358 |
+
#: includes/class-mla-main.php:2237
|
1359 |
#, php-format
|
1360 |
+
msgid "%1$s: Item %2$d could NOT be deleted."
|
1361 |
msgstr ""
|
1362 |
|
1363 |
#. translators: 1: post ID
|
1364 |
+
#: includes/class-mla-main.php:2244
|
1365 |
#, php-format
|
1366 |
msgid "Item %1$d permanently deleted."
|
1367 |
msgstr ""
|
1368 |
|
1369 |
+
#. translators: 1: ERROR tag 2: page_template_array
|
1370 |
+
#: includes/class-mla-main.php:2304
|
1371 |
#, php-format
|
1372 |
msgctxt "error_log"
|
1373 |
+
msgid "%1$s: MLA::_display_single_item \\$page_template_array = \"%2$s\""
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: includes/class-mla-main.php:2478
|
1377 |
msgid "File name"
|
1378 |
msgstr ""
|
1379 |
|
1380 |
+
#: includes/class-mla-main.php:2480
|
1381 |
msgid "File type"
|
1382 |
msgstr ""
|
1383 |
|
1384 |
+
#: includes/class-mla-main.php:2481
|
1385 |
msgid "Upload date"
|
1386 |
msgstr ""
|
1387 |
|
1388 |
+
#: includes/class-mla-main.php:2485
|
1389 |
msgid "Dimensions"
|
1390 |
msgstr ""
|
1391 |
|
1392 |
+
#: includes/class-mla-main.php:2489
|
1393 |
msgid "required"
|
1394 |
msgstr ""
|
1395 |
|
1396 |
+
#: includes/class-mla-main.php:2493
|
1397 |
msgid "Must be unique; will be validated."
|
1398 |
msgstr ""
|
1399 |
|
1400 |
+
#: includes/class-mla-main.php:2496
|
1401 |
msgid "Alternate text for the image, e.g. “The Mona Lisa”"
|
1402 |
msgstr ""
|
1403 |
|
1404 |
+
#: includes/class-mla-main.php:2504
|
1405 |
msgid "ID, type and title of parent, if any."
|
1406 |
msgstr ""
|
1407 |
|
1408 |
+
#: includes/class-mla-main.php:2507
|
1409 |
msgid "File URL"
|
1410 |
msgstr ""
|
1411 |
|
1412 |
+
#: includes/class-mla-main.php:2509
|
1413 |
msgid "Location of the uploaded file."
|
1414 |
msgstr ""
|
1415 |
|
1416 |
+
#: includes/class-mla-main.php:2510
|
1417 |
msgid "Image Metadata"
|
1418 |
msgstr ""
|
1419 |
|
1420 |
+
#: includes/class-mla-main.php:2545
|
1421 |
+
msgid "You are not allowed to move this item out of the Trash."
|
1422 |
msgstr ""
|
1423 |
|
1424 |
+
#. translators: 1: ERROR tag 2: post ID
|
1425 |
+
#: includes/class-mla-main.php:2553
|
1426 |
#, php-format
|
1427 |
+
msgid "%1$s: Item %2$d could NOT be restored from Trash."
|
1428 |
msgstr ""
|
1429 |
|
1430 |
#. translators: 1: post ID
|
1431 |
+
#: includes/class-mla-main.php:2568
|
1432 |
#, php-format
|
1433 |
msgid "Item %1$d restored from Trash."
|
1434 |
msgstr ""
|
1435 |
|
1436 |
+
#: includes/class-mla-main.php:2585
|
1437 |
+
msgid "You are not allowed to move this item to the Trash."
|
1438 |
msgstr ""
|
1439 |
|
1440 |
+
#. translators: 1: ERROR tag 2: post ID
|
1441 |
+
#: includes/class-mla-main.php:2593
|
1442 |
#, php-format
|
1443 |
+
msgid "%1$s: Item %2$d could NOT be moved to Trash."
|
1444 |
msgstr ""
|
1445 |
|
1446 |
#: includes/class-mla-media-modal.php:245
|
1447 |
#: includes/class-mla-media-modal.php:251
|
1448 |
+
#: includes/class-mla-media-modal.php:812
|
1449 |
+
#: includes/class-mla-media-modal.php:847
|
1450 |
+
#: includes/class-mla-media-modal.php:892
|
1451 |
msgid "Click to toggle"
|
1452 |
msgstr ""
|
1453 |
|
1461 |
msgid "%1$s %2$d"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
+
#: includes/class-mla-media-modal.php:413
|
1465 |
msgctxt "tag delimiter"
|
1466 |
msgid ","
|
1467 |
msgstr ""
|
1468 |
|
1469 |
+
#: includes/class-mla-media-modal.php:518
|
1470 |
msgid "Search Box"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: includes/class-mla-media-modal.php:519
|
1474 |
msgid "Loading..."
|
1475 |
msgstr ""
|
1476 |
|
1477 |
+
#: includes/class-mla-media-modal.php:858
|
1478 |
msgid "Tags"
|
1479 |
msgstr ""
|
1480 |
|
1481 |
#. translators: %s: add new taxonomy label
|
1482 |
+
#. translators: %s: add new View
|
1483 |
+
#. translators: %s: add new Upload MIME Type
|
1484 |
+
#: includes/class-mla-media-modal.php:860 includes/class-mla-objects.php:46
|
1485 |
+
#: includes/class-mla-objects.php:76 includes/class-mla-settings.php:1739
|
1486 |
+
#: includes/class-mla-settings.php:2205
|
1487 |
#, php-format
|
1488 |
msgid "Add New %1$s"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
+
#: includes/class-mla-media-modal.php:876
|
1492 |
msgid "Choose from the most used tags"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
+
#: includes/class-mla-media-modal.php:898
|
1496 |
msgid "Not Supported"
|
1497 |
msgstr ""
|
1498 |
|
1499 |
+
#: includes/class-mla-media-modal.php:1199
|
1500 |
+
#: includes/class-mla-media-modal.php:1215
|
1501 |
msgid "Search Terms"
|
1502 |
msgstr ""
|
1503 |
|
1504 |
+
#: includes/class-mla-media-modal.php:1200
|
1505 |
msgid "There are no taxonomies to search"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
+
#: includes/class-mla-media-modal.php:1218
|
1509 |
msgid "All phrases"
|
1510 |
msgstr ""
|
1511 |
|
1512 |
+
#: includes/class-mla-media-modal.php:1220
|
1513 |
msgid "Any phrase"
|
1514 |
msgstr ""
|
1515 |
|
1516 |
+
#: includes/class-mla-media-modal.php:1222
|
1517 |
msgid "All terms"
|
1518 |
msgstr ""
|
1519 |
|
1520 |
+
#: includes/class-mla-media-modal.php:1224
|
1521 |
msgid "Any term"
|
1522 |
msgstr ""
|
1523 |
|
1531 |
msgid "Copied from previous filter/plugin"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#. translators: 1: ERROR tag 2: raw_mime_type
|
1535 |
#: includes/class-mla-mime-types.php:906
|
1536 |
#, php-format
|
1537 |
+
msgid "%1$s: Bad specification part \"%2$s\""
|
1538 |
msgstr ""
|
1539 |
|
1540 |
+
#. translators: 1: ERROR tag 2: option, e.g., any, match, null
|
1541 |
#: includes/class-mla-mime-types.php:912
|
1542 |
#, php-format
|
1543 |
+
msgid "%1$s: Bad specification option \"%2$s\""
|
1544 |
msgstr ""
|
1545 |
|
1546 |
+
#. translators: 1: ERROR tag 2: prefix, e.g., custom
|
1547 |
#: includes/class-mla-mime-types.php:916
|
1548 |
#, php-format
|
1549 |
+
msgid "%1$s: Bad specification prefix \"%2$s\""
|
1550 |
msgstr ""
|
1551 |
|
1552 |
#: includes/class-mla-mime-types.php:947
|
1563 |
|
1564 |
#: includes/class-mla-mime-types.php:953
|
1565 |
#: includes/class-mla-mime-types.php:1041
|
1566 |
+
#: includes/class-mla-mime-types.php:1052 includes/class-mla-settings.php:1483
|
1567 |
+
#: includes/class-mla-settings.php:1740
|
1568 |
msgid "Slug"
|
1569 |
msgstr ""
|
1570 |
|
1571 |
+
#. translators: 1: ERROR tag 2: slug
|
1572 |
#: includes/class-mla-mime-types.php:961
|
1573 |
+
#: includes/class-mla-mime-types.php:1049
|
1574 |
#, php-format
|
1575 |
+
msgid "%1$s: Could not add Slug \"%2$s\"; value already exists"
|
1576 |
msgstr ""
|
1577 |
|
1578 |
#. translators: 1: slug
|
1588 |
msgid "<br>Changing new %1$s \"%2$s\" to valid value \"%3$s\""
|
1589 |
msgstr ""
|
1590 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1591 |
#. translators: 1: slug
|
1592 |
#: includes/class-mla-mime-types.php:1094
|
1593 |
#, php-format
|
1612 |
msgid "View \"%1$s\" deleted"
|
1613 |
msgstr ""
|
1614 |
|
1615 |
+
#. translators: 1: ERROR tag 2: slug
|
1616 |
#: includes/class-mla-mime-types.php:1195
|
1617 |
#, php-format
|
1618 |
+
msgid "%1$s: Did not find view \"%2$s\""
|
1619 |
msgstr ""
|
1620 |
|
1621 |
#: includes/class-mla-mime-types.php:1454
|
1684 |
|
1685 |
#: includes/class-mla-mime-types.php:1972
|
1686 |
#: includes/class-mla-mime-types.php:2071
|
1687 |
+
msgid "Cannot load Upload MIME Types"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
#: includes/class-mla-mime-types.php:1983
|
1691 |
+
msgid "Extension is required"
|
1692 |
msgstr ""
|
1693 |
|
1694 |
#: includes/class-mla-mime-types.php:1988
|
1697 |
msgid "extension"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
+
#. translators: 1: ERROR tag 2: slug
|
1701 |
#: includes/class-mla-mime-types.php:1996
|
1702 |
#, php-format
|
1703 |
+
msgid "%1$s: Could not add extension \"%2$s\"; value already exists"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
#: includes/class-mla-mime-types.php:2004
|
1707 |
+
msgid "MIME type is required"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
+
#. translators: 1: ERROR tag 2: clean_mime_type
|
1711 |
#: includes/class-mla-mime-types.php:2009
|
1712 |
#: includes/class-mla-mime-types.php:2156
|
1713 |
#, php-format
|
1714 |
+
msgid "%1$s: Bad MIME type; try \"%2$s\""
|
1715 |
msgstr ""
|
1716 |
|
1717 |
#. translators: 1: slug
|
1723 |
#: includes/class-mla-mime-types.php:2052
|
1724 |
#: includes/class-mla-mime-types.php:2241
|
1725 |
#: includes/class-mla-mime-types.php:2320
|
1726 |
+
msgid "Cannot update Upload MIME Types"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#. translators: 1: ERROR tag 2: slug
|
1730 |
#: includes/class-mla-mime-types.php:2122
|
1731 |
#, php-format
|
1732 |
+
msgid "%1$s: Could not add new extension \"%2$s\"; value already exists"
|
1733 |
msgstr ""
|
1734 |
|
1735 |
#. translators: 1: slug
|
1756 |
msgid "Upload MIME Type \"%1$s\"; deleted"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#. translators: 1: ERROR tag 2: slug
|
1760 |
#: includes/class-mla-mime-types.php:2329
|
1761 |
#, php-format
|
1762 |
+
msgid "%1$s: Did not find Upload type \"%2$s\""
|
1763 |
msgstr ""
|
1764 |
|
1765 |
#: includes/class-mla-objects.php:37
|
1792 |
msgid "Update Att. Category"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: includes/class-mla-objects.php:46 includes/class-mla-objects.php:48
|
1796 |
+
msgid "Att. Category"
|
|
|
|
|
|
|
|
|
1797 |
msgstr ""
|
1798 |
|
1799 |
#: includes/class-mla-objects.php:47
|
1800 |
+
msgid "New Att. Category Name"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
+
#: includes/class-mla-objects.php:67
|
1804 |
msgctxt "taxonomy_name_plural"
|
1805 |
msgid "Att. Tags"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
+
#: includes/class-mla-objects.php:68
|
1809 |
msgctxt "taxonomy_name_singular"
|
1810 |
msgid "Att. Tag"
|
1811 |
msgstr ""
|
1812 |
|
1813 |
+
#: includes/class-mla-objects.php:69
|
1814 |
msgid "Search Att. Tags"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: includes/class-mla-objects.php:70
|
1818 |
msgid "All Att. Tags"
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: includes/class-mla-objects.php:71 includes/class-mla-objects.php:72
|
1822 |
msgid "Parent Att. Tag"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
+
#: includes/class-mla-objects.php:73
|
1826 |
msgid "Edit Att. Tag"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
+
#: includes/class-mla-objects.php:74
|
1830 |
msgid "Update Att. Tag"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
+
#: includes/class-mla-objects.php:76 includes/class-mla-objects.php:78
|
1834 |
+
msgid "Att. Tag"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: includes/class-mla-objects.php:77
|
1838 |
msgid "New Att. Tag Name"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
+
#: includes/class-mla-objects.php:133
|
|
|
|
|
|
|
|
|
1842 |
msgid "Attachments"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
+
#. translators: 1: ERROR tag 2: taxonomy 3: error message
|
1846 |
+
#: includes/class-mla-objects.php:201
|
1847 |
#, php-format
|
1848 |
msgctxt "error_log"
|
1849 |
msgid ""
|
1850 |
+
"%1$s: mla_taxonomy_column_filter( \"%2$s\" ) - get_term failed: \"%3$s\""
|
1851 |
msgstr ""
|
1852 |
|
1853 |
+
#: includes/class-mla-objects.php:206
|
1854 |
msgid "click to search"
|
1855 |
msgstr ""
|
1856 |
|
1857 |
+
#: includes/class-mla-objects.php:233
|
1858 |
msgid "Shortcode(s), HTML and/or Plain Text"
|
1859 |
msgstr ""
|
1860 |
|
1861 |
+
#: includes/class-mla-objects.php:241
|
1862 |
msgid "MLA Text"
|
1863 |
msgstr ""
|
1864 |
|
1865 |
+
#: includes/class-mla-objects.php:283
|
1866 |
msgid "Automatically add paragraphs"
|
1867 |
msgstr ""
|
1868 |
|
1869 |
+
#: includes/class-mla-options.php:385
|
1870 |
msgid "error loading tpls/mla-option-templates.tpl"
|
1871 |
msgstr ""
|
1872 |
|
1873 |
+
#: includes/class-mla-options.php:388
|
1874 |
msgid "tpls/mla-option-templates.tpl not found"
|
1875 |
msgstr ""
|
1876 |
|
1877 |
+
#: includes/class-mla-options.php:441 includes/class-mla-options.php:1690
|
1878 |
msgid "Attachment Categories"
|
1879 |
msgstr ""
|
1880 |
|
1881 |
+
#: includes/class-mla-options.php:444
|
1882 |
msgid "Check this option to add support for Attachment Categories."
|
1883 |
msgstr ""
|
1884 |
|
1885 |
+
#: includes/class-mla-options.php:448 includes/class-mla-options.php:1705
|
1886 |
msgid "Attachment Tags"
|
1887 |
msgstr ""
|
1888 |
|
1889 |
+
#: includes/class-mla-options.php:451
|
1890 |
msgid "Check this option to add support for Attachment Tags."
|
1891 |
msgstr ""
|
1892 |
|
1893 |
+
#: includes/class-mla-options.php:455 includes/class-mla-settings.php:1325
|
1894 |
msgid "Where-used Reporting"
|
1895 |
msgstr ""
|
1896 |
|
1897 |
+
#: includes/class-mla-options.php:460
|
1898 |
msgid "Exclude Revisions"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
+
#: includes/class-mla-options.php:463
|
1902 |
msgid "Check this option to exclude revisions from where-used reporting."
|
1903 |
msgstr ""
|
1904 |
|
1905 |
+
#: includes/class-mla-options.php:467
|
1906 |
msgid "Where-used database access tuning"
|
1907 |
msgstr ""
|
1908 |
|
1909 |
+
#: includes/class-mla-options.php:476 includes/class-mla-options.php:485
|
1910 |
msgid "Enabled"
|
1911 |
msgstr ""
|
1912 |
|
1913 |
+
#: includes/class-mla-options.php:477
|
1914 |
msgid "Search database posts and pages for Featured Image attachments."
|
1915 |
msgstr ""
|
1916 |
|
1917 |
+
#: includes/class-mla-options.php:485
|
1918 |
msgid "Base"
|
1919 |
msgstr ""
|
1920 |
|
1921 |
+
#: includes/class-mla-options.php:486
|
1922 |
msgid ""
|
1923 |
"Search database posts and pages for attachments embedded in content."
|
1924 |
"<br> Base = ignore intermediate size suffixes; use path, base "
|
1925 |
"name and extension only."
|
1926 |
msgstr ""
|
1927 |
|
1928 |
+
#: includes/class-mla-options.php:494 includes/class-mla-options.php:503
|
1929 |
msgid "Dynamic"
|
1930 |
msgstr ""
|
1931 |
|
1932 |
+
#: includes/class-mla-options.php:494 includes/class-mla-options.php:503
|
1933 |
msgid "Cached"
|
1934 |
msgstr ""
|
1935 |
|
1936 |
+
#: includes/class-mla-options.php:495
|
1937 |
msgid ""
|
1938 |
"Search database posts and pages for [gallery] shortcode results.<br> "
|
1939 |
" Dynamic = once every page load, Cached = once every login, Disabled = "
|
1940 |
"never.<br> Refresh = update references, then set to Cached."
|
1941 |
msgstr ""
|
1942 |
|
1943 |
+
#: includes/class-mla-options.php:504
|
1944 |
msgid ""
|
1945 |
"Search database posts and pages for [mla_gallery] shortcode results."
|
1946 |
"<br> Dynamic = once every page load, Cached = once every login, "
|
1948 |
"Cached."
|
1949 |
msgstr ""
|
1950 |
|
1951 |
+
#: includes/class-mla-options.php:508 includes/class-mla-settings.php:1325
|
1952 |
msgid "Taxonomy Support"
|
1953 |
msgstr ""
|
1954 |
|
1955 |
+
#: includes/class-mla-options.php:513
|
1956 |
msgid "Compute Attachments Column"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
+
#: includes/class-mla-options.php:516
|
1960 |
msgid ""
|
1961 |
"Check this option to calculate attachments per term in the Attachments "
|
1962 |
"Column."
|
1963 |
msgstr ""
|
1964 |
|
1965 |
+
#: includes/class-mla-options.php:520
|
1966 |
msgid ""
|
1967 |
+
"Check the \"<strong>Support</strong>\" box to add the taxonomy to the "
|
1968 |
+
"Assistant and the Edit Media screen."
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: includes/class-mla-options.php:521
|
1972 |
msgid ""
|
1973 |
+
"Check the \"<strong>Inline Edit</strong>\" box to display the taxonomy in "
|
1974 |
+
"the Quick Edit and Bulk Edit areas."
|
1975 |
msgstr ""
|
1976 |
|
1977 |
+
#: includes/class-mla-options.php:522
|
1978 |
msgid ""
|
1979 |
+
"Check the \"<strong>Term Search</strong>\" box to add the taxonomy to the "
|
1980 |
+
"\"Search Media/Terms\" list."
|
1981 |
msgstr ""
|
1982 |
|
1983 |
+
#: includes/class-mla-options.php:523 includes/class-mla-options.php:704
|
1984 |
+
#: includes/class-mla-settings.php:1357 includes/class-mla-settings.php:1358
|
1985 |
+
msgid "For complete documentation"
|
|
|
1986 |
msgstr ""
|
1987 |
|
1988 |
+
#: includes/class-mla-options.php:523 includes/class-mla-options.php:704
|
1989 |
+
#: includes/class-mla-settings.php:1357 includes/class-mla-settings.php:1358
|
1990 |
+
msgid "click here"
|
1991 |
+
msgstr ""
|
1992 |
+
|
1993 |
+
#: includes/class-mla-options.php:525
|
1994 |
msgid ""
|
1995 |
+
"Check the \"<strong>Checklist</strong>\" box to enable the checklist-style "
|
1996 |
+
"meta box for a flat taxonomy."
|
1997 |
msgstr ""
|
1998 |
|
1999 |
+
#: includes/class-mla-options.php:526
|
2000 |
+
msgid ""
|
2001 |
+
"You must also check the <strong>\"Enable enhanced checklist taxonomies\"</"
|
2002 |
+
"strong> box below to enable this feature."
|
2003 |
msgstr ""
|
2004 |
|
2005 |
+
#: includes/class-mla-options.php:527
|
2006 |
+
msgid ""
|
2007 |
+
"Check the \"<strong>Checked On Top</strong>\" box to moved checked terms to "
|
2008 |
+
"the top of the checklist-style meta box."
|
2009 |
msgstr ""
|
2010 |
|
2011 |
+
#: includes/class-mla-options.php:528
|
2012 |
msgid ""
|
2013 |
+
"Use the \"<strong>List Filter</strong>\" option to select the taxonomy on "
|
2014 |
+
"which to filter the Assistant table listing."
|
2015 |
msgstr ""
|
2016 |
|
2017 |
+
#: includes/class-mla-options.php:554
|
2018 |
msgid "Media/Assistant Screen Options"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
+
#: includes/class-mla-options.php:559
|
2022 |
msgid "Admin Menu Options"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
+
#: includes/class-mla-options.php:564
|
2026 |
msgid "Page Title"
|
2027 |
msgstr ""
|
2028 |
|
2029 |
+
#: includes/class-mla-options.php:566 includes/class-mla-settings.php:442
|
2030 |
+
#: includes/class-mla-settings.php:2933
|
2031 |
msgid "Media Library Assistant"
|
2032 |
msgstr ""
|
2033 |
|
2034 |
+
#: includes/class-mla-options.php:568
|
2035 |
msgid "Enter the title for the Media/Assistant submenu page"
|
2036 |
msgstr ""
|
2037 |
|
2038 |
+
#: includes/class-mla-options.php:572
|
2039 |
msgid "Menu Title"
|
2040 |
msgstr ""
|
2041 |
|
2042 |
+
#: includes/class-mla-options.php:574
|
2043 |
msgid "Assistant"
|
2044 |
msgstr ""
|
2045 |
|
2046 |
+
#: includes/class-mla-options.php:576
|
2047 |
msgid "Enter the title for the Media/Assistant submenu entry"
|
2048 |
msgstr ""
|
2049 |
|
2050 |
+
#: includes/class-mla-options.php:580
|
2051 |
msgid "Submenu Order"
|
2052 |
msgstr ""
|
2053 |
|
2054 |
+
#: includes/class-mla-options.php:584
|
2055 |
msgid ""
|
2056 |
"Enter the position of the Media/Assistant submenu entry.<br> 0 = "
|
2057 |
"natural order (at bottom), 1 - 4 = at top<br> "
|
2059 |
"\""
|
2060 |
msgstr ""
|
2061 |
|
2062 |
+
#: includes/class-mla-options.php:588
|
2063 |
msgid "Display Media/Library"
|
2064 |
msgstr ""
|
2065 |
|
2066 |
+
#: includes/class-mla-options.php:591
|
2067 |
msgid ""
|
2068 |
"Check/uncheck this option to display/remove the WordPress Media/Library "
|
2069 |
"submenu entry."
|
2070 |
msgstr ""
|
2071 |
|
2072 |
+
#: includes/class-mla-options.php:595
|
2073 |
msgid "Table Defaults"
|
2074 |
msgstr ""
|
2075 |
|
2076 |
+
#: includes/class-mla-options.php:600
|
2077 |
msgid "Order By"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
+
#: includes/class-mla-options.php:604 includes/class-mla-options.php:806
|
2081 |
msgid "Title/Name"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
+
#: includes/class-mla-options.php:605
|
2085 |
msgid "Select the column for the sort order of the Assistant table listing."
|
2086 |
msgstr ""
|
2087 |
|
2088 |
+
#: includes/class-mla-options.php:609
|
2089 |
msgid "Order"
|
2090 |
msgstr ""
|
2091 |
|
2092 |
+
#: includes/class-mla-options.php:613
|
2093 |
msgid "Ascending"
|
2094 |
msgstr ""
|
2095 |
|
2096 |
+
#: includes/class-mla-options.php:613
|
2097 |
msgid "Descending"
|
2098 |
msgstr ""
|
2099 |
|
2100 |
+
#: includes/class-mla-options.php:614 includes/class-mla-options.php:816
|
2101 |
msgid "Choose the sort order."
|
2102 |
msgstr ""
|
2103 |
|
2104 |
+
#: includes/class-mla-options.php:618
|
2105 |
msgid "Views Width"
|
2106 |
msgstr ""
|
2107 |
|
2108 |
+
#: includes/class-mla-options.php:622
|
2109 |
msgid "Enter the width for the views list, in pixels (px) or percent (%)"
|
2110 |
msgstr ""
|
2111 |
|
2112 |
+
#: includes/class-mla-options.php:626
|
2113 |
msgid "Icon Size"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
+
#: includes/class-mla-options.php:630
|
2117 |
msgid "Enter the size of the thumbnail/icon images, in pixels"
|
2118 |
msgstr ""
|
2119 |
|
2120 |
+
#: includes/class-mla-options.php:634
|
2121 |
msgid "Bulk Chunk Size"
|
2122 |
msgstr ""
|
2123 |
|
2124 |
+
#: includes/class-mla-options.php:638
|
2125 |
msgid "Enter the size of the Bulk Edit and Map All processing chunks"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
+
#: includes/class-mla-options.php:642
|
2129 |
msgid "Taxonomy Filter parameters"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
+
#: includes/class-mla-options.php:647
|
2133 |
msgid "Maximum Depth"
|
2134 |
msgstr ""
|
2135 |
|
2136 |
+
#: includes/class-mla-options.php:651
|
2137 |
msgid ""
|
2138 |
"Enter the number of levels displayed for hierarchial taxonomies; enter zero "
|
2139 |
"for no limit."
|
2140 |
msgstr ""
|
2141 |
|
2142 |
+
#: includes/class-mla-options.php:655
|
2143 |
msgid "Include Children"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
+
#: includes/class-mla-options.php:658
|
2147 |
msgid ""
|
2148 |
"Check/uncheck this option to include/exclude children for hierarchical "
|
2149 |
"taxonomies."
|
2150 |
msgstr ""
|
2151 |
|
2152 |
+
#: includes/class-mla-options.php:662
|
2153 |
msgid "Search Media Defaults"
|
2154 |
msgstr ""
|
2155 |
|
2156 |
+
#: includes/class-mla-options.php:667
|
2157 |
msgid "Display Search Controls"
|
2158 |
msgstr ""
|
2159 |
|
2160 |
+
#: includes/class-mla-options.php:670 includes/class-mla-options.php:777
|
2161 |
msgid ""
|
2162 |
"Check/uncheck this option to display/hide the and/or connector and search "
|
2163 |
"fields controls."
|
2164 |
msgstr ""
|
2165 |
|
2166 |
+
#: includes/class-mla-options.php:674
|
2167 |
msgid ""
|
2168 |
"Use these controls to set defaults for the and/or connector and search "
|
2169 |
"fields controls.<br>These defaults will be used for the Search Media boxes "
|
2170 |
"on both the Media/Assistant submenu<br>and the Media Manager Modal Window."
|
2171 |
msgstr ""
|
2172 |
|
2173 |
+
#: includes/class-mla-options.php:687
|
2174 |
msgid "Media/Edit Media Enhancements"
|
2175 |
msgstr ""
|
2176 |
|
2177 |
+
#: includes/class-mla-options.php:692
|
2178 |
msgid "Enable enhanced \"checklist\" taxonomies"
|
2179 |
msgstr ""
|
2180 |
|
2181 |
+
#: includes/class-mla-options.php:695
|
2182 |
msgid ""
|
2183 |
"Check this option to enable the \"? Search\" feature for hierarchical "
|
2184 |
"taxonomies, e.g., Att. Categories.<br> This option also enables "
|
2185 |
"the \"checklist-style\" support for flat taxonomies, e.g., Att. Tags."
|
2186 |
msgstr ""
|
2187 |
|
2188 |
+
#: includes/class-mla-options.php:699
|
2189 |
msgid "Enable Edit Media additional meta boxes"
|
2190 |
msgstr ""
|
2191 |
|
2192 |
+
#: includes/class-mla-options.php:702
|
2193 |
msgid ""
|
2194 |
"Check this option to add \"Parent Info\", \"Menu Order\", \"Attachment "
|
2195 |
"Metadata\" and four \"where-used\" meta boxes to the Edit Media screen."
|
2196 |
msgstr ""
|
2197 |
|
2198 |
+
#: includes/class-mla-options.php:703
|
2199 |
msgid "You can also use Filters to customize the meta boxes."
|
2200 |
msgstr ""
|
2201 |
|
2202 |
+
#: includes/class-mla-options.php:708
|
2203 |
+
msgid "Media/Add New Enhancements"
|
2204 |
+
msgstr ""
|
2205 |
+
|
2206 |
+
#: includes/class-mla-options.php:713
|
2207 |
+
msgid "Enable \"bulk edit\" area"
|
2208 |
+
msgstr ""
|
2209 |
+
|
2210 |
+
#: includes/class-mla-options.php:716
|
2211 |
+
msgid ""
|
2212 |
+
"Check this option to enable the \"Bulk Edit area\" feature on the Media/Add "
|
2213 |
+
"New screen."
|
2214 |
+
msgstr ""
|
2215 |
+
|
2216 |
+
#: includes/class-mla-options.php:720
|
2217 |
msgid "Media Manager/Media Grid Enhancements"
|
2218 |
msgstr ""
|
2219 |
|
2220 |
+
#: includes/class-mla-options.php:725
|
2221 |
msgid "Enable Media Grid Enhancements"
|
2222 |
msgstr ""
|
2223 |
|
2224 |
+
#: includes/class-mla-options.php:728
|
2225 |
msgid ""
|
2226 |
"Check/uncheck this option to enable/disable Media Library Grid View "
|
2227 |
"Enhancements."
|
2228 |
msgstr ""
|
2229 |
|
2230 |
+
#: includes/class-mla-options.php:732
|
2231 |
msgid "Enable Media Manager Enhancements"
|
2232 |
msgstr ""
|
2233 |
|
2234 |
+
#: includes/class-mla-options.php:735
|
2235 |
msgid ""
|
2236 |
"Check/uncheck this option to enable/disable Media Manager Modal Window "
|
2237 |
"Enhancements."
|
2238 |
msgstr ""
|
2239 |
|
2240 |
+
#: includes/class-mla-options.php:739
|
2241 |
msgid "Media Manager Enhanced MIME Type filter"
|
2242 |
msgstr ""
|
2243 |
|
2244 |
+
#: includes/class-mla-options.php:742
|
2245 |
msgid ""
|
2246 |
"Check this option to filter by more MIME Types, e.g., text, applications."
|
2247 |
msgstr ""
|
2248 |
|
2249 |
+
#: includes/class-mla-options.php:746
|
2250 |
msgid "Media Manager Month and Year filter"
|
2251 |
msgstr ""
|
2252 |
|
2253 |
+
#: includes/class-mla-options.php:749
|
2254 |
msgid "Check this option to filter by month and year uploaded."
|
2255 |
msgstr ""
|
2256 |
|
2257 |
+
#: includes/class-mla-options.php:753
|
2258 |
msgid "Media Manager Category/Tag filter"
|
2259 |
msgstr ""
|
2260 |
|
2261 |
+
#: includes/class-mla-options.php:756
|
2262 |
msgid "Check this option to filter by taxonomy terms."
|
2263 |
msgstr ""
|
2264 |
|
2265 |
+
#: includes/class-mla-options.php:760
|
2266 |
msgid "Media Manager Terms Search popup"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: includes/class-mla-options.php:763
|
2270 |
msgid "Check this option to enable the \"Terms Search\" popup window."
|
2271 |
msgstr ""
|
2272 |
|
2273 |
+
#: includes/class-mla-options.php:767
|
2274 |
msgid "Media Manager Enhanced Search Media box"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
+
#: includes/class-mla-options.php:770
|
2278 |
msgid "Check this option to enable search box enhancements."
|
2279 |
msgstr ""
|
2280 |
|
2281 |
+
#: includes/class-mla-options.php:774
|
2282 |
msgid "Media Manager Enhanced Search Media Controls"
|
2283 |
msgstr ""
|
2284 |
|
2285 |
+
#: includes/class-mla-options.php:781
|
2286 |
msgid "Media Manager Checklist meta boxes"
|
2287 |
msgstr ""
|
2288 |
|
2289 |
+
#: includes/class-mla-options.php:784
|
2290 |
msgid ""
|
2291 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
2292 |
"DETAILS\" pane.<br> This option is for any taxonomy that uses a "
|
2293 |
"<strong>\"checklist-style\"</strong> meta box.</strong>"
|
2294 |
msgstr ""
|
2295 |
|
2296 |
+
#: includes/class-mla-options.php:788
|
2297 |
msgid "Media Manager Flat meta boxes"
|
2298 |
msgstr ""
|
2299 |
|
2300 |
+
#: includes/class-mla-options.php:791
|
2301 |
msgid ""
|
2302 |
"Check this option to enable MLA-enhanced meta boxes in the \"ATTACHMENT "
|
2303 |
"DETAILS\" pane.<br> This option is for <strong>flat taxonomies</"
|
2305 |
"style\" meta box."
|
2306 |
msgstr ""
|
2307 |
|
2308 |
+
#: includes/class-mla-options.php:795
|
2309 |
msgid "Media Manager auto-fill meta boxes"
|
2310 |
msgstr ""
|
2311 |
|
2312 |
+
#: includes/class-mla-options.php:798
|
2313 |
msgid ""
|
2314 |
"Check this option to automatically fill MLA-enhanced meta boxes in the "
|
2315 |
"\"ATTACHMENT DETAILS\" pane<br> when the item is selected."
|
2316 |
msgstr ""
|
2317 |
|
2318 |
+
#: includes/class-mla-options.php:802
|
2319 |
msgid "Media Manager Order By"
|
2320 |
msgstr ""
|
2321 |
|
2322 |
+
#: includes/class-mla-options.php:806 includes/class-mla-options.php:815
|
2323 |
+
#: includes/class-mla-options.php:830 includes/class-mla-options.php:844
|
2324 |
+
#: includes/class-mla-options.php:858 includes/class-mla-settings.php:1407
|
2325 |
msgid "Media Manager Default"
|
2326 |
msgstr ""
|
2327 |
|
2328 |
+
#: includes/class-mla-options.php:807
|
2329 |
msgid ""
|
2330 |
"If you want to override the Media Manager default,<br> select a "
|
2331 |
"column for the sort order of the Media Library listing."
|
2332 |
msgstr ""
|
2333 |
|
2334 |
+
#: includes/class-mla-options.php:811
|
2335 |
msgid "Media Manager Order"
|
2336 |
msgstr ""
|
2337 |
|
2338 |
+
#: includes/class-mla-options.php:820
|
2339 |
msgid "Attachment Display Settings"
|
2340 |
msgstr ""
|
2341 |
|
2342 |
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
2343 |
+
#: includes/class-mla-options.php:825 includes/class-mla-options.php:827
|
2344 |
msgid "Alignment"
|
2345 |
msgstr ""
|
2346 |
|
2347 |
+
#: includes/class-mla-options.php:830
|
2348 |
msgid "Left"
|
2349 |
msgstr ""
|
2350 |
|
2351 |
+
#: includes/class-mla-options.php:830
|
2352 |
msgid "Center"
|
2353 |
msgstr ""
|
2354 |
|
2355 |
+
#: includes/class-mla-options.php:830
|
2356 |
msgid "Right"
|
2357 |
msgstr ""
|
2358 |
|
2359 |
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
2360 |
+
#: includes/class-mla-options.php:839 includes/class-mla-options.php:841
|
2361 |
msgid "Link To"
|
2362 |
msgstr ""
|
2363 |
|
2364 |
+
#: includes/class-mla-options.php:844
|
2365 |
msgid "Media File"
|
2366 |
msgstr ""
|
2367 |
|
2368 |
+
#: includes/class-mla-options.php:844
|
2369 |
msgid "Attachment Page"
|
2370 |
msgstr ""
|
2371 |
|
2372 |
+
#: includes/class-mla-options.php:844
|
2373 |
msgid "Custom URL"
|
2374 |
msgstr ""
|
2375 |
|
2376 |
#. translators: 1: option name, e.g., Alignment, Link To or Size
|
2377 |
+
#: includes/class-mla-options.php:853 includes/class-mla-options.php:855
|
2378 |
msgid "Size"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
+
#: includes/class-mla-options.php:858
|
2382 |
msgid "Thumbnail"
|
2383 |
msgstr ""
|
2384 |
|
2385 |
+
#: includes/class-mla-options.php:858
|
2386 |
msgid "Medium"
|
2387 |
msgstr ""
|
2388 |
|
2389 |
+
#: includes/class-mla-options.php:858
|
2390 |
msgid "Large"
|
2391 |
msgstr ""
|
2392 |
|
2393 |
+
#: includes/class-mla-options.php:858
|
2394 |
msgid "Full Size"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: includes/class-mla-options.php:867
|
2398 |
msgid "Default [mla_gallery] Templates and Settings"
|
2399 |
msgstr ""
|
2400 |
|
2401 |
+
#: includes/class-mla-options.php:872 includes/class-mla-options.php:916
|
2402 |
msgid "Style Template"
|
2403 |
msgstr ""
|
2404 |
|
2405 |
#. translators: 1: template type 2: shortcode
|
2406 |
+
#: includes/class-mla-options.php:878 includes/class-mla-options.php:888
|
2407 |
+
#: includes/class-mla-options.php:922 includes/class-mla-options.php:932
|
2408 |
#, php-format
|
2409 |
msgid "Select the default %1$s for your %2$s shortcodes."
|
2410 |
msgstr ""
|
2411 |
|
2412 |
+
#: includes/class-mla-options.php:878 includes/class-mla-options.php:922
|
2413 |
+
#: includes/class-mla-settings.php:3028 includes/class-mla-settings.php:3039
|
2414 |
+
#: includes/class-mla-settings.php:3045 includes/class-mla-settings.php:3049
|
2415 |
+
#: includes/class-mla-settings.php:3077 includes/class-mla-settings.php:3088
|
2416 |
msgid "style template"
|
2417 |
msgstr ""
|
2418 |
|
2419 |
+
#: includes/class-mla-options.php:882 includes/class-mla-options.php:926
|
2420 |
msgid "Markup Template"
|
2421 |
msgstr ""
|
2422 |
|
2423 |
+
#: includes/class-mla-options.php:888 includes/class-mla-options.php:932
|
2424 |
+
#: includes/class-mla-settings.php:3117 includes/class-mla-settings.php:3130
|
2425 |
+
#: includes/class-mla-settings.php:3136 includes/class-mla-settings.php:3140
|
2426 |
+
#: includes/class-mla-settings.php:3209
|
2427 |
msgid "markup template"
|
2428 |
msgstr ""
|
2429 |
|
2430 |
+
#: includes/class-mla-options.php:892 includes/class-mla-options.php:936
|
2431 |
msgid "Default columns"
|
2432 |
msgstr ""
|
2433 |
|
2434 |
+
#: includes/class-mla-options.php:896
|
2435 |
msgid ""
|
2436 |
"Enter the number of [mla_tag_cloud] columns; must be a positive integer."
|
2437 |
msgstr ""
|
2438 |
|
2439 |
+
#: includes/class-mla-options.php:900 includes/class-mla-options.php:944
|
2440 |
msgid "Default mla_margin"
|
2441 |
msgstr ""
|
2442 |
|
2443 |
+
#: includes/class-mla-options.php:904 includes/class-mla-options.php:948
|
2444 |
msgid ""
|
2445 |
"Enter the CSS \"margin\" property value, in length (px, em, pt, etc.), "
|
2446 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"none\" to "
|
2447 |
"remove the property entirely."
|
2448 |
msgstr ""
|
2449 |
|
2450 |
+
#: includes/class-mla-options.php:908 includes/class-mla-options.php:952
|
2451 |
msgid "Default mla_itemwidth"
|
2452 |
msgstr ""
|
2453 |
|
2454 |
+
#: includes/class-mla-options.php:912 includes/class-mla-options.php:956
|
2455 |
msgid ""
|
2456 |
"Enter the CSS \"width\" property value, in length (px, em, pt, etc.), "
|
2457 |
"percent (%), \"auto\" or \"inherit\".<br> Enter \"calculate"
|
2461 |
"the property entirely."
|
2462 |
msgstr ""
|
2463 |
|
2464 |
+
#: includes/class-mla-options.php:940
|
2465 |
msgid "Enter the number of [mla_gallery] columns; must be a positive integer."
|
2466 |
msgstr ""
|
2467 |
|
2468 |
+
#: includes/class-mla-options.php:976
|
2469 |
msgid "Enable custom field mapping when adding new media"
|
2470 |
msgstr ""
|
2471 |
|
2472 |
+
#: includes/class-mla-options.php:979
|
2473 |
msgid ""
|
2474 |
"Check this option to enable mapping when uploading new media (attachments)."
|
2475 |
"<br> Click Save Changes at the bottom of the screen if you change "
|
2477 |
"buttons on the bulk edit, single edit and settings screens."
|
2478 |
msgstr ""
|
2479 |
|
2480 |
+
#: includes/class-mla-options.php:983
|
2481 |
msgid "Enable custom field mapping when updating media metadata"
|
2482 |
msgstr ""
|
2483 |
|
2484 |
+
#: includes/class-mla-options.php:986 includes/class-mla-options.php:1010
|
2485 |
msgid ""
|
2486 |
"Check this option to enable mapping when media (attachments) metadata is "
|
2487 |
"regenerated,<br> e.g., when the Media/Edit Media \"Edit Image\" "
|
2488 |
"functions are used."
|
2489 |
msgstr ""
|
2490 |
|
2491 |
+
#: includes/class-mla-options.php:990
|
2492 |
msgid ""
|
2493 |
"Update the custom field mapping values above, then click Save Changes to "
|
2494 |
"make the updates permanent.<br>You can also make temporary updates and click "
|
2496 |
"saving any rule changes."
|
2497 |
msgstr ""
|
2498 |
|
2499 |
+
#: includes/class-mla-options.php:1000
|
2500 |
msgid "Enable IPTC/EXIF Mapping when adding new media"
|
2501 |
msgstr ""
|
2502 |
|
2503 |
+
#: includes/class-mla-options.php:1003
|
2504 |
msgid ""
|
2505 |
"Check this option to enable mapping when uploading new media (attachments)."
|
2506 |
"<br> Does NOT affect the operation of the \"Map\" buttons on the "
|
2507 |
"bulk edit, single edit and settings screens."
|
2508 |
msgstr ""
|
2509 |
|
2510 |
+
#: includes/class-mla-options.php:1007
|
2511 |
msgid "Enable IPTC/EXIF Mapping when updating media metadata"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
+
#: includes/class-mla-options.php:1014
|
2515 |
msgid ""
|
2516 |
"Update the standard field mapping values above, then click <strong>Save "
|
2517 |
"Changes</strong> to make the updates permanent.<br>You can also make "
|
2520 |
"changes."
|
2521 |
msgstr ""
|
2522 |
|
2523 |
+
#: includes/class-mla-options.php:1024
|
2524 |
msgid ""
|
2525 |
"Update the taxonomy term mapping values above, then click <strong>Save "
|
2526 |
"Changes</strong> or <strong>Map All Attachments, Taxonomy Terms Now</strong>."
|
2527 |
msgstr ""
|
2528 |
|
2529 |
+
#: includes/class-mla-options.php:1034
|
2530 |
msgid ""
|
2531 |
"<strong>Update</strong> individual custom field mapping values above, or "
|
2532 |
"make several updates and click <strong>Save Changes</strong> below to apply "
|
2537 |
"changes."
|
2538 |
msgstr ""
|
2539 |
|
2540 |
+
#: includes/class-mla-options.php:1044
|
2541 |
msgid "IPTC/EXIF Mapping help"
|
2542 |
msgstr ""
|
2543 |
|
2544 |
+
#: includes/class-mla-options.php:1096
|
2545 |
msgid "Enable View and Post MIME Type Support"
|
2546 |
msgstr ""
|
2547 |
|
2548 |
+
#: includes/class-mla-options.php:1099
|
2549 |
msgid ""
|
2550 |
"Check/uncheck this option to enable/disable Post MIME Type Support, then "
|
2551 |
"click <strong>Save Changes</strong> to record the new setting."
|
2552 |
msgstr ""
|
2553 |
|
2554 |
+
#: includes/class-mla-options.php:1108
|
2555 |
msgid "Post MIME Types help."
|
2556 |
msgstr ""
|
2557 |
|
2558 |
+
#: includes/class-mla-options.php:1111
|
2559 |
msgctxt "post_mime_types_singular"
|
2560 |
msgid "All"
|
2561 |
msgstr ""
|
2562 |
|
2563 |
+
#: includes/class-mla-options.php:1112
|
2564 |
msgctxt "post_mime_types_plural"
|
2565 |
msgid "All"
|
2566 |
msgstr ""
|
2567 |
|
2568 |
+
#: includes/class-mla-options.php:1117 includes/class-mla-options.php:1171
|
2569 |
+
#: includes/class-mla-options.php:1180
|
2570 |
msgctxt "post_mime_types_description"
|
2571 |
msgid "Built-in view"
|
2572 |
msgstr ""
|
2573 |
|
2574 |
+
#: includes/class-mla-options.php:1120
|
2575 |
msgctxt "post_mime_types_singular"
|
2576 |
msgid "Image"
|
2577 |
msgstr ""
|
2578 |
|
2579 |
+
#: includes/class-mla-options.php:1121
|
2580 |
msgctxt "post_mime_types_plural"
|
2581 |
msgid "Images"
|
2582 |
msgstr ""
|
2583 |
|
2584 |
+
#: includes/class-mla-options.php:1126
|
2585 |
msgctxt "post_mime_types_description"
|
2586 |
msgid "All image subtypes"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: includes/class-mla-options.php:1129
|
2590 |
msgctxt "post_mime_types_singular"
|
2591 |
msgid "Audio"
|
2592 |
msgstr ""
|
2593 |
|
2594 |
+
#: includes/class-mla-options.php:1130
|
2595 |
msgctxt "post_mime_types_plural"
|
2596 |
msgid "Audio"
|
2597 |
msgstr ""
|
2598 |
|
2599 |
+
#: includes/class-mla-options.php:1135
|
2600 |
msgctxt "post_mime_types_description"
|
2601 |
msgid "All audio subtypes"
|
2602 |
msgstr ""
|
2603 |
|
2604 |
+
#: includes/class-mla-options.php:1138
|
2605 |
msgctxt "post_mime_types_singular"
|
2606 |
msgid "Video"
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: includes/class-mla-options.php:1139
|
2610 |
msgctxt "post_mime_types_plural"
|
2611 |
msgid "Video"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
+
#: includes/class-mla-options.php:1144
|
2615 |
msgctxt "post_mime_types_description"
|
2616 |
msgid "All video subtypes"
|
2617 |
msgstr ""
|
2618 |
|
2619 |
+
#: includes/class-mla-options.php:1147
|
2620 |
msgctxt "post_mime_types_singular"
|
2621 |
msgid "Text"
|
2622 |
msgstr ""
|
2623 |
|
2624 |
+
#: includes/class-mla-options.php:1148
|
2625 |
msgctxt "post_mime_types_plural"
|
2626 |
msgid "Text"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: includes/class-mla-options.php:1153
|
2630 |
msgctxt "post_mime_types_description"
|
2631 |
msgid "All text subtypes"
|
2632 |
msgstr ""
|
2633 |
|
2634 |
+
#: includes/class-mla-options.php:1156
|
2635 |
msgctxt "post_mime_types_singular"
|
2636 |
msgid "Application"
|
2637 |
msgstr ""
|
2638 |
|
2639 |
+
#: includes/class-mla-options.php:1157
|
2640 |
msgctxt "post_mime_types_plural"
|
2641 |
msgid "Applications"
|
2642 |
msgstr ""
|
2643 |
|
2644 |
+
#: includes/class-mla-options.php:1162
|
2645 |
msgctxt "post_mime_types_description"
|
2646 |
msgid "All application subtypes"
|
2647 |
msgstr ""
|
2648 |
|
2649 |
+
#: includes/class-mla-options.php:1166
|
2650 |
msgctxt "post_mime_types_plural"
|
2651 |
msgid "Unattached"
|
2652 |
msgstr ""
|
2653 |
|
2654 |
+
#: includes/class-mla-options.php:1174
|
2655 |
msgctxt "post_mime_types_singular"
|
2656 |
msgid "Trash"
|
2657 |
msgstr ""
|
2658 |
|
2659 |
+
#: includes/class-mla-options.php:1175
|
2660 |
msgctxt "post_mime_types_plural"
|
2661 |
msgid "Trash"
|
2662 |
msgstr ""
|
2663 |
|
2664 |
+
#: includes/class-mla-options.php:1186
|
2665 |
msgid "Enable Upload MIME Type Support"
|
2666 |
msgstr ""
|
2667 |
|
2668 |
+
#: includes/class-mla-options.php:1189
|
2669 |
msgid ""
|
2670 |
"Check/uncheck this option to enable/disable Upload MIME Type Support, then "
|
2671 |
"click <strong>Save Changes</strong> to record the new setting."
|
2672 |
msgstr ""
|
2673 |
|
2674 |
+
#: includes/class-mla-options.php:1198
|
2675 |
msgid "Upload MIME Types help."
|
2676 |
msgstr ""
|
2677 |
|
2678 |
+
#: includes/class-mla-options.php:1203
|
2679 |
msgid "Enable MLA File Type Icons Support"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
+
#: includes/class-mla-options.php:1206
|
2683 |
msgid ""
|
2684 |
"Check/uncheck this option to enable/disable MLA File Type Icons Support, "
|
2685 |
"then click <strong>Save Changes</strong> to record the new setting."
|
2686 |
msgstr ""
|
2687 |
|
2688 |
+
#: includes/class-mla-options.php:1258 includes/class-mla-options.php:1280
|
2689 |
+
#: includes/class-mla-options.php:1322
|
2690 |
msgid "no templates exist"
|
2691 |
msgstr ""
|
2692 |
|
2693 |
+
#: includes/class-mla-options.php:1266
|
2694 |
msgid "not found"
|
2695 |
msgstr ""
|
2696 |
|
2697 |
+
#. translators: 1: ERROR tag 2: option name 3: action, e.g., update, delete, reset
|
2698 |
+
#: includes/class-mla-options.php:1656 includes/class-mla-options.php:1833
|
2699 |
+
#: includes/class-mla-options.php:1909 includes/class-mla-options.php:3666
|
2700 |
+
#: includes/class-mla-options.php:4952
|
2701 |
#, php-format
|
2702 |
+
msgid "%1$s: Custom %2$s unknown action \"%3$s\""
|
2703 |
msgstr ""
|
2704 |
|
2705 |
+
#: includes/class-mla-options.php:1747
|
2706 |
msgid "Support"
|
2707 |
msgstr ""
|
2708 |
|
2709 |
+
#: includes/class-mla-options.php:1748
|
2710 |
msgid "Inline Edit"
|
2711 |
msgstr ""
|
2712 |
|
2713 |
+
#: includes/class-mla-options.php:1749
|
2714 |
+
msgid "Term Search"
|
2715 |
+
msgstr ""
|
2716 |
+
|
2717 |
+
#: includes/class-mla-options.php:1750
|
2718 |
msgid "Checklist"
|
2719 |
msgstr ""
|
2720 |
|
2721 |
+
#: includes/class-mla-options.php:1751
|
2722 |
+
msgid "Checked On Top"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
+
#: includes/class-mla-options.php:1752
|
2726 |
msgid "List Filter"
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
#: includes/class-mla-options.php:1753
|
2730 |
msgid "Taxonomy"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
#. translators: 1: taxonomy name
|
2734 |
+
#: includes/class-mla-options.php:1772
|
2735 |
#, php-format
|
2736 |
msgid "List Filter ignored; %1$s not supported."
|
2737 |
msgstr ""
|
2738 |
|
2739 |
#. translators: 1: taxonomy name
|
2740 |
+
#: includes/class-mla-options.php:1779
|
2741 |
#, php-format
|
2742 |
msgid "Inline Edit ignored; %1$s not supported."
|
2743 |
msgstr ""
|
2744 |
|
2745 |
#. translators: 1: taxonomy name
|
2746 |
+
#: includes/class-mla-options.php:1787
|
2747 |
+
#, php-format
|
2748 |
+
msgid "Term Search ignored; %1$s not supported."
|
2749 |
+
msgstr ""
|
2750 |
+
|
2751 |
+
#. translators: 1: taxonomy name
|
2752 |
+
#: includes/class-mla-options.php:1797
|
2753 |
#, php-format
|
2754 |
msgid "Checklist ignored; %1$s not supported."
|
2755 |
msgstr ""
|
2756 |
|
2757 |
#. translators: 1: taxonomy name
|
2758 |
+
#: includes/class-mla-options.php:1805
|
2759 |
#, php-format
|
2760 |
+
msgid "Checked On Top ignored; %1$s not supported."
|
2761 |
msgstr ""
|
2762 |
|
2763 |
#. translators: 1: option name, e.g., taxonomy_support
|
2764 |
+
#: includes/class-mla-options.php:1823 includes/class-mla-options.php:1899
|
2765 |
#, php-format
|
2766 |
msgid "Update custom %1$s"
|
2767 |
msgstr ""
|
2768 |
|
2769 |
#. translators: 1: option name, e.g., taxonomy_support
|
2770 |
+
#: includes/class-mla-options.php:1830 includes/class-mla-options.php:1906
|
2771 |
+
#: includes/class-mla-options.php:4945
|
2772 |
#, php-format
|
2773 |
msgid "Reset custom %1$s"
|
2774 |
msgstr ""
|
2775 |
|
2776 |
+
#: includes/class-mla-options.php:1859
|
2777 |
#: includes/mla-main-search-box-template.php:38
|
2778 |
#: includes/mla-media-modal-js-template.php:24
|
2779 |
msgid "and"
|
2780 |
msgstr ""
|
2781 |
|
2782 |
+
#: includes/class-mla-options.php:1861
|
2783 |
#: includes/mla-main-search-box-template.php:40
|
2784 |
#: includes/mla-media-modal-js-template.php:28
|
2785 |
msgid "or"
|
2786 |
msgstr ""
|
2787 |
|
2788 |
+
#: includes/class-mla-options.php:1866 includes/class-mla-settings.php:2353
|
2789 |
+
#: includes/class-mla-settings.php:2386 includes/class-mla-settings.php:2412
|
2790 |
+
#: includes/class-mla-settings.php:2447 includes/class-mla-settings.php:2504
|
2791 |
+
#: includes/class-mla-settings.php:2554
|
2792 |
#: includes/mla-main-search-box-template.php:43
|
2793 |
#: includes/mla-media-modal-js-template.php:36
|
2794 |
msgid "Name"
|
2795 |
msgstr ""
|
2796 |
|
2797 |
+
#: includes/class-mla-options.php:1878
|
2798 |
#: includes/mla-main-search-box-template.php:47
|
2799 |
#: includes/mla-media-modal-js-template.php:53
|
2800 |
msgid "Terms"
|
2801 |
msgstr ""
|
2802 |
|
2803 |
+
#: includes/class-mla-options.php:2998 includes/class-mla-options.php:3126
|
2804 |
+
#: includes/class-mla-options.php:4107 includes/class-mla-options.php:4138
|
2805 |
+
#: includes/class-mla-settings.php:1805
|
2806 |
msgid "None (select a value)"
|
2807 |
msgstr ""
|
2808 |
|
2809 |
+
#: includes/class-mla-options.php:3133
|
2810 |
msgid "Metadata (see below)"
|
2811 |
msgstr ""
|
2812 |
|
2813 |
+
#: includes/class-mla-options.php:3140
|
2814 |
msgid "Template (see below)"
|
2815 |
msgstr ""
|
2816 |
|
2817 |
+
#. translators: 1: ERROR tag 2: custom field name
|
2818 |
+
#: includes/class-mla-options.php:3207 includes/class-mla-options.php:4412
|
2819 |
#, php-format
|
2820 |
+
msgid "%1$s: New field %2$s already exists."
|
2821 |
msgstr ""
|
2822 |
|
2823 |
#. translators: 1: custom field name
|
2824 |
+
#: includes/class-mla-options.php:3212 includes/class-mla-options.php:4417
|
2825 |
#, php-format
|
2826 |
msgid "Adding new field %1$s."
|
2827 |
msgstr ""
|
2828 |
|
2829 |
#. translators: 1: custom field name
|
2830 |
+
#: includes/class-mla-options.php:3220 includes/class-mla-options.php:4425
|
2831 |
#, php-format
|
2832 |
msgid "Adding new rule for %1$s."
|
2833 |
msgstr ""
|
2834 |
|
2835 |
#. translators: 1: custom field name
|
2836 |
+
#: includes/class-mla-options.php:3248 includes/class-mla-options.php:4287
|
2837 |
+
#: includes/class-mla-options.php:4448
|
2838 |
#, php-format
|
2839 |
msgid "Deleting rule for %1$s."
|
2840 |
msgstr ""
|
2841 |
|
2842 |
#. translators: 1: custom field name 2: attribute 3: old value 4: new value
|
2843 |
+
#: includes/class-mla-options.php:3271 includes/class-mla-options.php:3292
|
2844 |
+
#: includes/class-mla-options.php:3342 includes/class-mla-options.php:3349
|
2845 |
+
#: includes/class-mla-options.php:4204 includes/class-mla-options.php:4211
|
2846 |
+
#: includes/class-mla-options.php:4218 includes/class-mla-options.php:4312
|
2847 |
+
#: includes/class-mla-options.php:4319 includes/class-mla-options.php:4354
|
2848 |
+
#: includes/class-mla-options.php:4361 includes/class-mla-options.php:4458
|
2849 |
+
#: includes/class-mla-options.php:4465
|
2850 |
#, php-format
|
2851 |
msgid "%1$s changing %2$s from %3$s to %4$s."
|
2852 |
msgstr ""
|
2853 |
|
2854 |
+
#: includes/class-mla-options.php:3271 includes/class-mla-options.php:3623
|
2855 |
msgid "Data Source"
|
2856 |
msgstr ""
|
2857 |
|
2858 |
+
#: includes/class-mla-options.php:3277 includes/class-mla-options.php:4238
|
2859 |
+
#: includes/class-mla-options.php:4339 includes/class-mla-options.php:4485
|
2860 |
msgid "Replace to Keep"
|
2861 |
msgstr ""
|
2862 |
|
2863 |
+
#: includes/class-mla-options.php:3280 includes/class-mla-options.php:4241
|
2864 |
+
#: includes/class-mla-options.php:4342 includes/class-mla-options.php:4488
|
2865 |
msgid "Keep to Replace"
|
2866 |
msgstr ""
|
2867 |
|
2868 |
#. translators: 1: custom field name 2: attribute 3: old value 'to' new value
|
2869 |
+
#: includes/class-mla-options.php:3285 includes/class-mla-options.php:3306
|
2870 |
+
#: includes/class-mla-options.php:3320 includes/class-mla-options.php:3334
|
2871 |
+
#: includes/class-mla-options.php:3363 includes/class-mla-options.php:4232
|
2872 |
+
#: includes/class-mla-options.php:4246 includes/class-mla-options.php:4333
|
2873 |
+
#: includes/class-mla-options.php:4347 includes/class-mla-options.php:4479
|
2874 |
+
#: includes/class-mla-options.php:4493
|
2875 |
#, php-format
|
2876 |
msgid "%1$s changing %2$s value from %3$s."
|
2877 |
msgstr ""
|
2878 |
|
2879 |
+
#: includes/class-mla-options.php:3285 includes/class-mla-options.php:3624
|
2880 |
+
#: includes/class-mla-options.php:4246 includes/class-mla-options.php:4347
|
2881 |
+
#: includes/class-mla-options.php:4493 includes/class-mla-options.php:4619
|
2882 |
+
#: includes/class-mla-options.php:4705 includes/class-mla-options.php:4843
|
2883 |
msgid "Existing Text"
|
2884 |
msgstr ""
|
2885 |
|
2886 |
+
#: includes/class-mla-options.php:3292 includes/class-mla-options.php:3625
|
2887 |
msgid "Format"
|
2888 |
msgstr ""
|
2889 |
|
2890 |
+
#: includes/class-mla-options.php:3298 includes/class-mla-options.php:3312
|
2891 |
+
#: includes/class-mla-options.php:3326 includes/class-mla-options.php:3355
|
2892 |
msgid "unchecked to checked"
|
2893 |
msgstr ""
|
2894 |
|
2895 |
+
#: includes/class-mla-options.php:3301 includes/class-mla-options.php:3315
|
2896 |
+
#: includes/class-mla-options.php:3329 includes/class-mla-options.php:3358
|
2897 |
msgid "checked to unchecked"
|
2898 |
msgstr ""
|
2899 |
|
2900 |
+
#: includes/class-mla-options.php:3306 includes/class-mla-options.php:3626
|
2901 |
msgid "MLA Column"
|
2902 |
msgstr ""
|
2903 |
|
2904 |
+
#: includes/class-mla-options.php:3342
|
2905 |
msgid "Metavalue name"
|
2906 |
msgstr ""
|
2907 |
|
2908 |
+
#: includes/class-mla-options.php:3349 includes/class-mla-options.php:3457
|
2909 |
+
#: includes/class-mla-options.php:3559 includes/class-mla-options.php:3603
|
2910 |
msgid "Option"
|
2911 |
msgstr ""
|
2912 |
|
2913 |
+
#: includes/class-mla-options.php:3363 includes/class-mla-options.php:3469
|
2914 |
+
#: includes/class-mla-options.php:3571 includes/class-mla-options.php:3615
|
2915 |
+
msgid "Delete NULL values"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
+
#: includes/class-mla-options.php:3402 includes/class-mla-options.php:4717
|
2919 |
msgid "No Custom Field Mapping Rules Defined"
|
2920 |
msgstr ""
|
2921 |
|
2922 |
+
#: includes/class-mla-options.php:3441 includes/class-mla-options.php:3544
|
2923 |
+
#: includes/class-mla-options.php:3588 includes/class-mla-options.php:4594
|
2924 |
+
#: includes/class-mla-options.php:4644 includes/class-mla-options.php:4763
|
2925 |
+
#: includes/class-mla-options.php:4805 includes/class-mla-options.php:4830
|
2926 |
msgid "Keep"
|
2927 |
msgstr ""
|
2928 |
|
2929 |
+
#: includes/class-mla-options.php:3445 includes/class-mla-options.php:3548
|
2930 |
+
#: includes/class-mla-options.php:3592
|
2931 |
msgid "Native"
|
2932 |
msgstr ""
|
2933 |
|
2934 |
+
#: includes/class-mla-options.php:3447 includes/class-mla-options.php:3550
|
2935 |
+
#: includes/class-mla-options.php:3594
|
2936 |
msgid "Commas"
|
2937 |
msgstr ""
|
2938 |
|
2939 |
+
#: includes/class-mla-options.php:3449 includes/class-mla-options.php:3552
|
2940 |
+
#: includes/class-mla-options.php:3596
|
2941 |
msgid "Raw"
|
2942 |
msgstr ""
|
2943 |
|
2944 |
+
#: includes/class-mla-options.php:3459 includes/class-mla-options.php:3561
|
2945 |
+
#: includes/class-mla-options.php:3605
|
2946 |
msgid "Text"
|
2947 |
msgstr ""
|
2948 |
|
2949 |
+
#: includes/class-mla-options.php:3461 includes/class-mla-options.php:3563
|
2950 |
+
#: includes/class-mla-options.php:3607
|
2951 |
msgid "Single"
|
2952 |
msgstr ""
|
2953 |
|
2954 |
+
#: includes/class-mla-options.php:3463 includes/class-mla-options.php:3565
|
2955 |
+
#: includes/class-mla-options.php:3609
|
2956 |
msgid "Export"
|
2957 |
msgstr ""
|
2958 |
|
2959 |
+
#: includes/class-mla-options.php:3465 includes/class-mla-options.php:3567
|
2960 |
+
#: includes/class-mla-options.php:3611
|
2961 |
msgid "Array"
|
2962 |
msgstr ""
|
2963 |
|
2964 |
+
#: includes/class-mla-options.php:3467 includes/class-mla-options.php:3569
|
2965 |
+
#: includes/class-mla-options.php:3613
|
2966 |
msgid "Multi"
|
2967 |
msgstr ""
|
2968 |
|
2969 |
+
#: includes/class-mla-options.php:3470 includes/class-mla-options.php:4766
|
|
|
|
|
|
|
|
|
|
|
2970 |
msgid "Delete Rule"
|
2971 |
msgstr ""
|
2972 |
|
2973 |
+
#: includes/class-mla-options.php:3471 includes/class-mla-options.php:4767
|
2974 |
msgid "Delete Rule AND Field"
|
2975 |
msgstr ""
|
2976 |
|
2977 |
+
#: includes/class-mla-options.php:3472 includes/class-mla-options.php:4768
|
2978 |
msgid "Update Rule"
|
2979 |
msgstr ""
|
2980 |
|
2981 |
+
#: includes/class-mla-options.php:3473 includes/class-mla-options.php:4769
|
2982 |
+
#: includes/class-mla-settings.php:706 includes/class-mla-settings.php:837
|
2983 |
msgid "Map All Attachments"
|
2984 |
msgstr ""
|
2985 |
|
2986 |
+
#: includes/class-mla-options.php:3539 includes/class-mla-options.php:4794
|
2987 |
msgid "Add a new Mapping Rule"
|
2988 |
msgstr ""
|
2989 |
|
2990 |
+
#: includes/class-mla-options.php:3572 includes/class-mla-options.php:4808
|
2991 |
msgid "Add Rule"
|
2992 |
msgstr ""
|
2993 |
|
2994 |
+
#: includes/class-mla-options.php:3573 includes/class-mla-options.php:4809
|
2995 |
msgid "Add Rule and Map All Attachments"
|
2996 |
msgstr ""
|
2997 |
|
2998 |
+
#: includes/class-mla-options.php:3583 includes/class-mla-options.php:4819
|
2999 |
msgid "Add a new Field and Mapping Rule"
|
3000 |
msgstr ""
|
3001 |
|
3002 |
+
#: includes/class-mla-options.php:3616 includes/class-mla-options.php:4833
|
3003 |
msgid "Add Field"
|
3004 |
msgstr ""
|
3005 |
|
3006 |
+
#: includes/class-mla-options.php:3617 includes/class-mla-options.php:4834
|
3007 |
msgid "Add Field and Map All Attachments"
|
3008 |
msgstr ""
|
3009 |
|
3010 |
+
#: includes/class-mla-options.php:3622 includes/class-mla-options.php:4204
|
3011 |
+
#: includes/class-mla-options.php:4615 includes/class-mla-options.php:4701
|
3012 |
+
#: includes/class-mla-options.php:4839
|
3013 |
msgid "Field Title"
|
3014 |
msgstr ""
|
3015 |
|
3016 |
+
#: includes/class-mla-options.php:3647
|
3017 |
msgid "Custom field mapping rules updated."
|
3018 |
msgstr ""
|
3019 |
|
3020 |
+
#: includes/class-mla-options.php:3649
|
3021 |
+
msgid "Custom field mapping rules update failed."
|
3022 |
msgstr ""
|
3023 |
|
3024 |
+
#: includes/class-mla-options.php:3652 includes/class-mla-settings.php:751
|
3025 |
+
#: includes/class-mla-settings.php:757
|
3026 |
msgid "Custom field no mapping rule changes detected."
|
3027 |
msgstr ""
|
3028 |
|
3029 |
+
#: includes/class-mla-options.php:3660
|
3030 |
msgid "Custom field mapping settings saved."
|
3031 |
msgstr ""
|
3032 |
|
3033 |
+
#: includes/class-mla-options.php:3662
|
3034 |
+
msgid "Custom field mapping settings reset failed."
|
3035 |
msgstr ""
|
3036 |
|
3037 |
+
#. translators: 1: ERROR tag 2: custom field name
|
3038 |
+
#: includes/class-mla-options.php:4192
|
3039 |
#, php-format
|
3040 |
+
msgid "%1$s: No old values for %2$s."
|
3041 |
msgstr ""
|
3042 |
|
3043 |
+
#: includes/class-mla-options.php:4211 includes/class-mla-options.php:4312
|
3044 |
+
#: includes/class-mla-options.php:4458 includes/class-mla-options.php:4616
|
3045 |
+
#: includes/class-mla-options.php:4702 includes/class-mla-options.php:4840
|
3046 |
msgid "IPTC Value"
|
3047 |
msgstr ""
|
3048 |
|
3049 |
+
#: includes/class-mla-options.php:4218 includes/class-mla-options.php:4319
|
3050 |
+
#: includes/class-mla-options.php:4465
|
3051 |
msgid "EXIF Value"
|
3052 |
msgstr ""
|
3053 |
|
3054 |
+
#: includes/class-mla-options.php:4224 includes/class-mla-options.php:4325
|
3055 |
+
#: includes/class-mla-options.php:4471
|
3056 |
msgid "EXIF to IPTC"
|
3057 |
msgstr ""
|
3058 |
|
3059 |
+
#: includes/class-mla-options.php:4227 includes/class-mla-options.php:4328
|
3060 |
+
#: includes/class-mla-options.php:4474
|
3061 |
msgid "IPTC to EXIF"
|
3062 |
msgstr ""
|
3063 |
|
3064 |
+
#: includes/class-mla-options.php:4232 includes/class-mla-options.php:4333
|
3065 |
+
#: includes/class-mla-options.php:4479 includes/class-mla-options.php:4618
|
3066 |
+
#: includes/class-mla-options.php:4704 includes/class-mla-options.php:4842
|
3067 |
msgid "Priority"
|
3068 |
msgstr ""
|
3069 |
|
3070 |
+
#: includes/class-mla-options.php:4354 includes/class-mla-options.php:4706
|
3071 |
msgid "Delimiter(s)"
|
3072 |
msgstr ""
|
3073 |
|
3074 |
+
#: includes/class-mla-options.php:4590 includes/class-mla-options.php:4640
|
3075 |
+
#: includes/class-mla-options.php:4759 includes/class-mla-options.php:4801
|
3076 |
+
#: includes/class-mla-options.php:4826
|
3077 |
msgid "IPTC"
|
3078 |
msgstr ""
|
3079 |
|
3080 |
+
#: includes/class-mla-options.php:4592 includes/class-mla-options.php:4642
|
3081 |
+
#: includes/class-mla-options.php:4761 includes/class-mla-options.php:4803
|
3082 |
+
#: includes/class-mla-options.php:4828
|
3083 |
msgid "EXIF"
|
3084 |
msgstr ""
|
3085 |
|
3086 |
+
#: includes/class-mla-options.php:4617 includes/class-mla-options.php:4703
|
3087 |
+
#: includes/class-mla-options.php:4841
|
3088 |
msgid "EXIF/Template Value"
|
3089 |
msgstr ""
|
3090 |
|
3091 |
+
#. translators: 1: ERROR tag 2: option name
|
3092 |
+
#: includes/class-mla-options.php:4851
|
3093 |
#, php-format
|
3094 |
+
msgid "%1$s: Render unknown custom %2$s."
|
3095 |
msgstr ""
|
3096 |
|
3097 |
+
#. translators: 1: ERROR tag 2: option name
|
3098 |
+
#: includes/class-mla-options.php:4895
|
3099 |
#, php-format
|
3100 |
+
msgid "%1$s: Update/delete unknown custom %2$s."
|
3101 |
msgstr ""
|
3102 |
|
3103 |
+
#: includes/class-mla-options.php:4901
|
3104 |
msgid "IPTC/EXIF mapping settings updated."
|
3105 |
msgstr ""
|
3106 |
|
3107 |
+
#: includes/class-mla-options.php:4903
|
3108 |
+
msgid "IPTC/EXIF settings update failed."
|
3109 |
msgstr ""
|
3110 |
|
3111 |
+
#: includes/class-mla-options.php:4906 includes/class-mla-settings.php:885
|
3112 |
+
#: includes/class-mla-settings.php:891
|
3113 |
msgid "IPTC/EXIF no mapping changes detected."
|
3114 |
msgstr ""
|
3115 |
|
3116 |
#. translators: 1: field type
|
3117 |
+
#: includes/class-mla-options.php:4917 includes/class-mla-options.php:4927
|
3118 |
+
#: includes/class-mla-options.php:4937 includes/class-mla-settings.php:3215
|
3119 |
#, php-format
|
3120 |
msgid "%1$s settings saved."
|
3121 |
msgstr ""
|
3122 |
|
3123 |
+
#: includes/class-mla-options.php:4917 includes/class-mla-options.php:4920
|
3124 |
+
#: includes/class-mla-settings.php:3461 includes/class-mla-settings.php:3500
|
3125 |
+
#: includes/class-mla-settings.php:3503
|
3126 |
msgid "Standard field"
|
3127 |
msgstr ""
|
3128 |
|
3129 |
+
#. translators: 1: ERROR tag 2: field type
|
3130 |
+
#: includes/class-mla-options.php:4920 includes/class-mla-options.php:4930
|
3131 |
+
#: includes/class-mla-options.php:4940
|
3132 |
#, php-format
|
3133 |
+
msgid "%1$s: IPTC/EXIF %2$s settings update failed."
|
3134 |
msgstr ""
|
3135 |
|
3136 |
+
#: includes/class-mla-options.php:4927 includes/class-mla-options.php:4930
|
3137 |
+
#: includes/class-mla-settings.php:3532 includes/class-mla-settings.php:3571
|
3138 |
+
#: includes/class-mla-settings.php:3574
|
3139 |
msgid "Taxonomy term"
|
3140 |
msgstr ""
|
3141 |
|
3142 |
+
#: includes/class-mla-options.php:4937 includes/class-mla-options.php:4940
|
3143 |
+
#: includes/class-mla-settings.php:3361 includes/class-mla-settings.php:3364
|
3144 |
+
#: includes/class-mla-settings.php:3618 includes/class-mla-settings.php:3657
|
3145 |
+
#: includes/class-mla-settings.php:3660
|
3146 |
msgid "Custom field"
|
3147 |
msgstr ""
|
3148 |
|
3149 |
+
#. translators: 1: ERROR tag 2: option name, e.g., taxonomy_support
|
3150 |
+
#: includes/class-mla-options.php:4948
|
3151 |
#, php-format
|
3152 |
+
msgid "%1$s: Reset unknown custom %2$s"
|
3153 |
msgstr ""
|
3154 |
|
3155 |
#: includes/class-mla-settings.php:339
|
3160 |
msgid "Running"
|
3161 |
msgstr ""
|
3162 |
|
3163 |
+
#: includes/class-mla-settings.php:355
|
3164 |
+
msgid "Skipped"
|
3165 |
+
msgstr ""
|
3166 |
+
|
3167 |
+
#: includes/class-mla-settings.php:356
|
3168 |
+
msgid "Reprocessed"
|
3169 |
+
msgstr ""
|
3170 |
+
|
3171 |
+
#: includes/class-mla-settings.php:442
|
3172 |
msgid "Media Library Assistant Settings"
|
3173 |
msgstr ""
|
3174 |
|
3175 |
+
#: includes/class-mla-settings.php:461
|
3176 |
msgid "Views per page"
|
3177 |
msgstr ""
|
3178 |
|
3179 |
+
#: includes/class-mla-settings.php:472
|
3180 |
msgid "Types per page"
|
3181 |
msgstr ""
|
3182 |
|
3183 |
+
#: includes/class-mla-settings.php:483
|
3184 |
msgid "Upload types per page"
|
3185 |
msgstr ""
|
3186 |
|
3187 |
+
#: includes/class-mla-settings.php:619
|
3188 |
+
msgid "No view slug found"
|
3189 |
msgstr ""
|
3190 |
|
3191 |
+
#: includes/class-mla-settings.php:662
|
3192 |
+
msgid "No upload slug found"
|
3193 |
msgstr ""
|
3194 |
|
3195 |
+
#: includes/class-mla-settings.php:702 includes/class-mla-settings.php:2713
|
3196 |
+
#: includes/class-mla-settings.php:2717
|
3197 |
msgid "Map All Rules, All Attachments Now"
|
3198 |
msgstr ""
|
3199 |
|
3200 |
+
#: includes/class-mla-settings.php:826 includes/class-mla-settings.php:2846
|
3201 |
msgid "Map All Attachments, Standard Fields Now"
|
3202 |
msgstr ""
|
3203 |
|
3204 |
+
#: includes/class-mla-settings.php:829 includes/class-mla-settings.php:2849
|
3205 |
msgid "Map All Attachments, Taxonomy Terms Now"
|
3206 |
msgstr ""
|
3207 |
|
3208 |
+
#: includes/class-mla-settings.php:832 includes/class-mla-settings.php:2852
|
3209 |
msgid "Map All Attachments, Custom Fields Now"
|
3210 |
msgstr ""
|
3211 |
|
3212 |
+
#: includes/class-mla-settings.php:955 includes/class-mla-settings.php:2934
|
3213 |
msgid "Settings"
|
3214 |
msgstr ""
|
3215 |
|
3216 |
+
#. translators: 1: ERROR tag 2: function name 3: option type, e.g., radio, select, text
|
3217 |
+
#: includes/class-mla-settings.php:1003 includes/class-mla-settings.php:1035
|
3218 |
+
#: includes/class-mla-settings.php:1173
|
3219 |
#, php-format
|
3220 |
msgctxt "error_log"
|
3221 |
+
msgid "%1$s: %2$s unknown type = \"%3$s\""
|
3222 |
msgstr ""
|
3223 |
|
3224 |
+
#: includes/class-mla-settings.php:1071 includes/class-mla-settings.php:1331
|
3225 |
msgid "Go to Top"
|
3226 |
msgstr ""
|
3227 |
|
3228 |
+
#: includes/class-mla-settings.php:1222
|
3229 |
msgid "General"
|
3230 |
msgstr ""
|
3231 |
|
3232 |
+
#: includes/class-mla-settings.php:1223
|
3233 |
msgid "Views"
|
3234 |
msgstr ""
|
3235 |
|
3236 |
+
#: includes/class-mla-settings.php:1224
|
3237 |
msgid "Uploads"
|
3238 |
msgstr ""
|
3239 |
|
3240 |
+
#: includes/class-mla-settings.php:1225 includes/class-mla-settings.php:3215
|
3241 |
+
#: includes/class-mla-settings.php:3218
|
3242 |
msgid "MLA Gallery"
|
3243 |
msgstr ""
|
3244 |
|
3245 |
+
#: includes/class-mla-settings.php:1226
|
3246 |
msgid "Custom Fields"
|
3247 |
msgstr ""
|
3248 |
|
3249 |
+
#: includes/class-mla-settings.php:1228
|
3250 |
msgid "Documentation"
|
3251 |
msgstr ""
|
3252 |
|
3253 |
+
#: includes/class-mla-settings.php:1323
|
3254 |
msgid "General Processing Options"
|
3255 |
msgstr ""
|
3256 |
|
3257 |
#. translators: 1: - 4: page subheader values
|
3258 |
+
#: includes/class-mla-settings.php:1325
|
3259 |
#, php-format
|
3260 |
msgid ""
|
3261 |
"In this tab you can find a number of options for controlling the "
|
3264 |
"any changes you make."
|
3265 |
msgstr ""
|
3266 |
|
3267 |
+
#: includes/class-mla-settings.php:1325
|
3268 |
msgid "Media/Assistant Table Defaults"
|
3269 |
msgstr ""
|
3270 |
|
3271 |
+
#: includes/class-mla-settings.php:1325
|
3272 |
msgid "Media Manager Enhancements"
|
3273 |
msgstr ""
|
3274 |
|
3275 |
+
#: includes/class-mla-settings.php:1326 includes/class-mla-settings.php:1684
|
3276 |
+
#: includes/class-mla-settings.php:1737 includes/class-mla-settings.php:2153
|
3277 |
+
#: includes/class-mla-settings.php:2203 includes/class-mla-settings.php:2289
|
3278 |
+
#: includes/class-mla-settings.php:2712 includes/class-mla-settings.php:2715
|
3279 |
+
#: includes/class-mla-settings.php:2854 includes/class-mla-settings.php:2856
|
3280 |
msgid "Save Changes"
|
3281 |
msgstr ""
|
3282 |
|
3283 |
+
#: includes/class-mla-settings.php:1327
|
3284 |
msgid "Export ALL Settings"
|
3285 |
msgstr ""
|
3286 |
|
3287 |
+
#: includes/class-mla-settings.php:1328
|
3288 |
msgid "Delete General options and restore default settings"
|
3289 |
msgstr ""
|
3290 |
|
3291 |
+
#: includes/class-mla-settings.php:1332
|
3292 |
msgid "Support Our Work"
|
3293 |
msgstr ""
|
3294 |
|
3295 |
+
#: includes/class-mla-settings.php:1333 includes/class-mla-settings.php:1336
|
3296 |
msgid "Donate to FTJ"
|
3297 |
msgstr ""
|
3298 |
|
3299 |
+
#: includes/class-mla-settings.php:1334
|
3300 |
msgid "Donate"
|
3301 |
msgstr ""
|
3302 |
|
3303 |
#. translators: 1: donation hyperlink
|
3304 |
+
#: includes/class-mla-settings.php:1336
|
3305 |
#, php-format
|
3306 |
msgid ""
|
3307 |
"This plugin was inspired by my work on the WordPress web site for our "
|
3310 |
"our work. Thank you!"
|
3311 |
msgstr ""
|
3312 |
|
3313 |
+
#: includes/class-mla-settings.php:1336
|
3314 |
msgid "tax-deductible donation"
|
3315 |
msgstr ""
|
3316 |
|
3317 |
+
#: includes/class-mla-settings.php:1357
|
3318 |
msgid "enhanced version of the WordPress [gallery] shortcode."
|
3319 |
msgstr ""
|
3320 |
|
3321 |
+
#: includes/class-mla-settings.php:1358
|
3322 |
msgid "enhanced version of the WordPress Tag Cloud."
|
3323 |
msgstr ""
|
3324 |
|
3325 |
+
#: includes/class-mla-settings.php:1370
|
3326 |
msgid "Shortcodes made available by this plugin"
|
3327 |
msgstr ""
|
3328 |
|
3329 |
+
#: includes/class-mla-settings.php:1478
|
3330 |
msgid "Edit View"
|
3331 |
msgstr ""
|
3332 |
|
3333 |
+
#: includes/class-mla-settings.php:1484 includes/class-mla-settings.php:1741
|
3334 |
msgid ""
|
3335 |
"The “slug” is the URL-friendly, unique key for the view. It must "
|
3336 |
"be all lowercase and contain only letters, numbers, periods (.), slashes (/) "
|
3339 |
"MIME</strong> type, e.g., “image” or “image/jpeg”."
|
3340 |
msgstr ""
|
3341 |
|
3342 |
+
#: includes/class-mla-settings.php:1485 includes/class-mla-settings.php:1742
|
3343 |
msgid "Singular Label"
|
3344 |
msgstr ""
|
3345 |
|
3346 |
+
#: includes/class-mla-settings.php:1486 includes/class-mla-settings.php:1743
|
3347 |
msgid "Plural Label"
|
3348 |
msgstr ""
|
3349 |
|
3350 |
+
#: includes/class-mla-settings.php:1487 includes/class-mla-settings.php:1744
|
3351 |
msgid ""
|
3352 |
"The labels, e.g., “Image” and “Images” are used for "
|
3353 |
"column headers and other display purposes."
|
3354 |
msgstr ""
|
3355 |
|
3356 |
+
#: includes/class-mla-settings.php:1488 includes/class-mla-settings.php:1745
|
3357 |
msgid "Specification"
|
3358 |
msgstr ""
|
3359 |
|
3360 |
+
#: includes/class-mla-settings.php:1489 includes/class-mla-settings.php:1746
|
3361 |
msgid ""
|
3362 |
"If the MIME type specification differs from the slug, enter it here. You may "
|
3363 |
"include multiple MIME types, e.g., “audio,video” and/or wildcard "
|
3365 |
"MIME Type box is checked."
|
3366 |
msgstr ""
|
3367 |
|
3368 |
+
#: includes/class-mla-settings.php:1490 includes/class-mla-settings.php:1747
|
3369 |
msgid "Post MIME Type"
|
3370 |
msgstr ""
|
3371 |
|
3372 |
+
#: includes/class-mla-settings.php:1491 includes/class-mla-settings.php:1748
|
3373 |
msgid ""
|
3374 |
"Check this box if you want to add this entry to the list of MIME types "
|
3375 |
"returned by wp_get_mime_types()."
|
3376 |
msgstr ""
|
3377 |
|
3378 |
+
#: includes/class-mla-settings.php:1492 includes/class-mla-settings.php:1749
|
3379 |
msgid "Table View"
|
3380 |
msgstr ""
|
3381 |
|
3382 |
+
#: includes/class-mla-settings.php:1493 includes/class-mla-settings.php:1750
|
3383 |
msgid ""
|
3384 |
"Check this box if you want to add this entry to the list of Media/Assistant "
|
3385 |
"table views."
|
3386 |
msgstr ""
|
3387 |
|
3388 |
+
#: includes/class-mla-settings.php:1495 includes/class-mla-settings.php:1752
|
3389 |
msgid ""
|
3390 |
"You can choose your own table view order by entering a number (1 for first, "
|
3391 |
"etc.) in this field."
|
3392 |
msgstr ""
|
3393 |
|
3394 |
+
#: includes/class-mla-settings.php:1497 includes/class-mla-settings.php:1754
|
3395 |
+
#: includes/class-mla-settings.php:1852 includes/class-mla-settings.php:2216
|
3396 |
msgid ""
|
3397 |
"The description can contain any documentation or notes you need to "
|
3398 |
"understand or use the item."
|
3399 |
msgstr ""
|
3400 |
|
3401 |
#. translators: 1: bulk_action, e.g., delete, edit, restore, trash
|
3402 |
+
#: includes/class-mla-settings.php:1608 includes/class-mla-settings.php:2074
|
3403 |
#, php-format
|
3404 |
msgid "Unknown bulk action %1$s"
|
3405 |
msgstr ""
|
3406 |
|
3407 |
#. translators: 1: view name/slug
|
3408 |
+
#: includes/class-mla-settings.php:1647 includes/class-mla-settings.php:2116
|
3409 |
#, php-format
|
3410 |
msgid "Edit view \"%1$s\" cancelled."
|
3411 |
msgstr ""
|
3412 |
|
3413 |
+
#: includes/class-mla-settings.php:1681
|
3414 |
msgid "View and Post MIME Type Support is disabled"
|
3415 |
msgstr ""
|
3416 |
|
3417 |
+
#: includes/class-mla-settings.php:1726 includes/class-mla-settings.php:1729
|
3418 |
msgid "Library Views/Post MIME Type Processing"
|
3419 |
msgstr ""
|
3420 |
|
3421 |
+
#: includes/class-mla-settings.php:1727
|
3422 |
msgid ""
|
3423 |
"In this tab you can manage the list of \"Post MIME Types\", which are used "
|
3424 |
"by WordPress to define the views for the <em><strong>Media/Library</strong></"
|
3430 |
msgstr ""
|
3431 |
|
3432 |
#. translators: 1: Documentation hyperlink
|
3433 |
+
#: includes/class-mla-settings.php:1729
|
3434 |
#, php-format
|
3435 |
msgid ""
|
3436 |
"You can find more information about library views, Post MIME types and how "
|
3439 |
"screen."
|
3440 |
msgstr ""
|
3441 |
|
3442 |
+
#: includes/class-mla-settings.php:1729
|
3443 |
msgid "Library View Processing documentation"
|
3444 |
msgstr ""
|
3445 |
|
3446 |
+
#: includes/class-mla-settings.php:1733 includes/class-mla-settings.php:1922
|
3447 |
+
#: includes/class-mla-settings.php:2228
|
3448 |
msgid "Displaying search results for"
|
3449 |
msgstr ""
|
3450 |
|
3451 |
+
#: includes/class-mla-settings.php:1734
|
3452 |
msgid "Search Views"
|
3453 |
msgstr ""
|
3454 |
|
3455 |
+
#: includes/class-mla-settings.php:1755
|
|
|
|
|
|
|
|
|
3456 |
msgid "Add View"
|
3457 |
msgstr ""
|
3458 |
|
3459 |
+
#: includes/class-mla-settings.php:1757 includes/class-mla-settings.php:2221
|
3460 |
msgid "<strong>Quick Edit</strong>"
|
3461 |
msgstr ""
|
3462 |
|
3463 |
+
#: includes/class-mla-settings.php:1837
|
|
|
|
|
|
|
|
|
|
|
|
|
3464 |
msgid "Edit Upload MIME Type"
|
3465 |
msgstr ""
|
3466 |
|
3467 |
+
#: includes/class-mla-settings.php:1842 includes/class-mla-settings.php:2207
|
3468 |
msgid "Extension"
|
3469 |
msgstr ""
|
3470 |
|
3471 |
+
#: includes/class-mla-settings.php:1843
|
3472 |
msgid ""
|
3473 |
"The “extension” is the file extension for this type, and a "
|
3474 |
"unique key for the item. It must be all lowercase and contain only letters "
|
3475 |
"and numbers."
|
3476 |
msgstr ""
|
3477 |
|
3478 |
+
#: includes/class-mla-settings.php:1845 includes/class-mla-settings.php:2210
|
3479 |
msgid ""
|
3480 |
"The MIME Type must be all lowercase and contain only letters, numbers, "
|
3481 |
"periods (.), slashes (/) and hyphens (-). It <strong>must be a valid MIME</"
|
3482 |
"strong> type, e.g., “image” or “image/jpeg”."
|
3483 |
msgstr ""
|
3484 |
|
3485 |
+
#: includes/class-mla-settings.php:1846 includes/class-mla-settings.php:2211
|
3486 |
msgid "Icon Type"
|
3487 |
msgstr ""
|
3488 |
|
3489 |
+
#: includes/class-mla-settings.php:1848 includes/class-mla-settings.php:2212
|
3490 |
msgid ""
|
3491 |
"The Icon Type selects a thumbnail image displayed for non-image file types, "
|
3492 |
"such as PDF documents."
|
3493 |
msgstr ""
|
3494 |
|
3495 |
+
#: includes/class-mla-settings.php:1849 includes/class-mla-settings.php:2213
|
3496 |
+
#: includes/class-mla-upload-list-table.php:415
|
3497 |
msgid "Inactive"
|
3498 |
msgstr ""
|
3499 |
|
3500 |
+
#: includes/class-mla-settings.php:1850 includes/class-mla-settings.php:2214
|
3501 |
msgid ""
|
3502 |
"Check this box if you want to remove this entry from the list of Upload MIME "
|
3503 |
"Types returned by get_allowed_mime_types()."
|
3504 |
msgstr ""
|
3505 |
|
3506 |
+
#: includes/class-mla-settings.php:1921
|
3507 |
msgid "Known File Extension/MIME Type Associations"
|
3508 |
msgstr ""
|
3509 |
|
3510 |
+
#: includes/class-mla-settings.php:1923
|
3511 |
msgid "Search Known MIME Types"
|
3512 |
msgstr ""
|
3513 |
|
3514 |
+
#: includes/class-mla-settings.php:1925 includes/class-mla-settings.php:2199
|
3515 |
msgid "To search by extension, use \".\", e.g., \".doc\""
|
3516 |
msgstr ""
|
3517 |
|
3518 |
+
#: includes/class-mla-settings.php:2150
|
3519 |
msgid "Upload MIME Type Support is disabled"
|
3520 |
msgstr ""
|
3521 |
|
3522 |
+
#: includes/class-mla-settings.php:2193 includes/class-mla-settings.php:2196
|
3523 |
msgid "File Extension and MIME Type Processing"
|
3524 |
msgstr ""
|
3525 |
|
3526 |
+
#: includes/class-mla-settings.php:2194
|
3527 |
msgid ""
|
3528 |
"In this tab you can manage the list of file extension/MIME Type "
|
3529 |
"associations, which are used by WordPress to decide what kind of files can "
|
3533 |
msgstr ""
|
3534 |
|
3535 |
#. translators: 1: Documentation hyperlink
|
3536 |
+
#: includes/class-mla-settings.php:2196
|
3537 |
#, php-format
|
3538 |
msgid ""
|
3539 |
"You can find more information about file extensions, MIME types and how "
|
3541 |
"the <strong>\"Help\"</strong> tab in the upper-right corner of this screen."
|
3542 |
msgstr ""
|
3543 |
|
3544 |
+
#: includes/class-mla-settings.php:2196
|
3545 |
msgid "File Extension Processing documentation"
|
3546 |
msgstr ""
|
3547 |
|
3548 |
+
#: includes/class-mla-settings.php:2198
|
3549 |
msgid "Search Uploads"
|
3550 |
msgstr ""
|
3551 |
|
3552 |
+
#: includes/class-mla-settings.php:2205
|
3553 |
+
msgid "Upload MIME Type"
|
3554 |
msgstr ""
|
3555 |
|
3556 |
+
#: includes/class-mla-settings.php:2206
|
3557 |
msgid ""
|
3558 |
"To search the database of over 1,500 known extension/type associations, "
|
3559 |
"click \"Search Known Types\" below the form."
|
3560 |
msgstr ""
|
3561 |
|
3562 |
+
#: includes/class-mla-settings.php:2208
|
3563 |
msgid ""
|
3564 |
"The “extension” is the file extension for this type, and unique "
|
3565 |
"key for the item. It must be all lowercase and contain only letters and "
|
3566 |
"numbers."
|
3567 |
msgstr ""
|
3568 |
|
3569 |
+
#: includes/class-mla-settings.php:2217
|
3570 |
msgid "Add Upload MIME Type"
|
3571 |
msgstr ""
|
3572 |
|
3573 |
+
#: includes/class-mla-settings.php:2219
|
3574 |
msgid "Search Known Types"
|
3575 |
msgstr ""
|
3576 |
|
3577 |
+
#: includes/class-mla-settings.php:2227
|
3578 |
+
#: includes/class-mla-upload-list-table.php:417
|
3579 |
msgid "Active"
|
3580 |
msgstr ""
|
3581 |
|
3582 |
+
#: includes/class-mla-settings.php:2280
|
3583 |
msgid "MLA Gallery Options"
|
3584 |
msgstr ""
|
3585 |
|
3586 |
+
#: includes/class-mla-settings.php:2281
|
3587 |
msgid "Go to Markup Templates"
|
3588 |
msgstr ""
|
3589 |
|
3590 |
+
#: includes/class-mla-settings.php:2282
|
3591 |
msgid ""
|
3592 |
"In this tab you can view the default style and markup templates. You can "
|
3593 |
"also define additional templates and use the <code>mla_style</code> and "
|
3597 |
"Changes\" at the bottom of this page."
|
3598 |
msgstr ""
|
3599 |
|
3600 |
+
#: includes/class-mla-settings.php:2285
|
3601 |
msgid "Style Templates"
|
3602 |
msgstr ""
|
3603 |
|
3604 |
+
#: includes/class-mla-settings.php:2287
|
3605 |
msgid "Markup Templates"
|
3606 |
msgstr ""
|
3607 |
|
3608 |
+
#: includes/class-mla-settings.php:2300
|
3609 |
msgid "Theme"
|
3610 |
msgstr ""
|
3611 |
|
3612 |
+
#: includes/class-mla-settings.php:2348
|
3613 |
msgid ""
|
3614 |
"This default template cannot be altered or deleted, but you can copy the "
|
3615 |
"styles."
|
3616 |
msgstr ""
|
3617 |
|
3618 |
+
#: includes/class-mla-settings.php:2359 includes/class-mla-settings.php:2392
|
3619 |
+
#: includes/class-mla-settings.php:2418
|
3620 |
msgid "Styles"
|
3621 |
msgstr ""
|
3622 |
|
3623 |
+
#: includes/class-mla-settings.php:2363 includes/class-mla-settings.php:2396
|
3624 |
+
#: includes/class-mla-settings.php:2422
|
3625 |
msgid ""
|
3626 |
"List of substitution parameters, e.g., [+selector+], on Documentation tab."
|
3627 |
msgstr ""
|
3628 |
|
3629 |
+
#: includes/class-mla-settings.php:2380 includes/class-mla-settings.php:2498
|
3630 |
msgid "Delete this template"
|
3631 |
msgstr ""
|
3632 |
|
3633 |
+
#: includes/class-mla-settings.php:2381 includes/class-mla-settings.php:2499
|
3634 |
msgid ""
|
3635 |
"Check the box to delete this template when you press Update at the bottom of "
|
3636 |
"the page."
|
3637 |
msgstr ""
|
3638 |
|
3639 |
+
#: includes/class-mla-settings.php:2407
|
3640 |
msgid "Fill in a name and styles to add a new template."
|
3641 |
msgstr ""
|
3642 |
|
3643 |
+
#: includes/class-mla-settings.php:2442
|
3644 |
msgid ""
|
3645 |
"This default template cannot be altered or deleted, but you can copy the "
|
3646 |
"markup."
|
3647 |
msgstr ""
|
3648 |
|
3649 |
+
#: includes/class-mla-settings.php:2454 includes/class-mla-settings.php:2511
|
3650 |
+
#: includes/class-mla-settings.php:2561
|
3651 |
msgid "Open"
|
3652 |
msgstr ""
|
3653 |
|
3654 |
+
#: includes/class-mla-settings.php:2458 includes/class-mla-settings.php:2515
|
3655 |
+
#: includes/class-mla-settings.php:2565
|
3656 |
msgid ""
|
3657 |
"Markup for the beginning of the gallery. List of parameters, e.g., [+selector"
|
3658 |
"+], on Documentation tab."
|
3659 |
msgstr ""
|
3660 |
|
3661 |
+
#: includes/class-mla-settings.php:2460 includes/class-mla-settings.php:2517
|
3662 |
+
#: includes/class-mla-settings.php:2567
|
3663 |
msgid "Row"
|
3664 |
msgstr ""
|
3665 |
|
3666 |
+
#: includes/class-mla-settings.php:2464 includes/class-mla-settings.php:2571
|
3667 |
msgid "Markup for the beginning of each row in the gallery."
|
3668 |
msgstr ""
|
3669 |
|
3670 |
+
#: includes/class-mla-settings.php:2466 includes/class-mla-settings.php:2523
|
3671 |
+
#: includes/class-mla-settings.php:2573
|
3672 |
msgid "Item"
|
3673 |
msgstr ""
|
3674 |
|
3675 |
+
#: includes/class-mla-settings.php:2470 includes/class-mla-settings.php:2577
|
3676 |
msgid "Markup for each item/cell of the gallery."
|
3677 |
msgstr ""
|
3678 |
|
3679 |
+
#: includes/class-mla-settings.php:2472 includes/class-mla-settings.php:2529
|
3680 |
+
#: includes/class-mla-settings.php:2579 includes/class-mla-settings.php:2693
|
3681 |
+
#: includes/class-mla-settings.php:2829
|
3682 |
msgid "Close"
|
3683 |
msgstr ""
|
3684 |
|
3685 |
+
#: includes/class-mla-settings.php:2476 includes/class-mla-settings.php:2583
|
3686 |
msgid "Markup for the end of each row in the gallery."
|
3687 |
msgstr ""
|
3688 |
|
3689 |
+
#: includes/class-mla-settings.php:2481 includes/class-mla-settings.php:2538
|
3690 |
+
#: includes/class-mla-settings.php:2588
|
3691 |
msgid "Markup for the end of the gallery."
|
3692 |
msgstr ""
|
3693 |
|
3694 |
+
#: includes/class-mla-settings.php:2521
|
3695 |
msgid "Markup for the beginning of each row."
|
3696 |
msgstr ""
|
3697 |
|
3698 |
+
#: includes/class-mla-settings.php:2527
|
3699 |
msgid "Markup for each item/cell."
|
3700 |
msgstr ""
|
3701 |
|
3702 |
+
#: includes/class-mla-settings.php:2533
|
3703 |
msgid "Markup for the end of each row."
|
3704 |
msgstr ""
|
3705 |
|
3706 |
+
#: includes/class-mla-settings.php:2549
|
3707 |
msgid "Fill in a name and markup to add a new template."
|
3708 |
msgstr ""
|
3709 |
|
3710 |
+
#: includes/class-mla-settings.php:2685
|
3711 |
msgid "Custom Field Mapping Progress"
|
3712 |
msgstr ""
|
3713 |
|
3714 |
+
#: includes/class-mla-settings.php:2686 includes/class-mla-settings.php:2822
|
|
|
|
|
|
|
|
|
3715 |
msgid "DO NOT DO THE FOLLOWING (they will cause mapping to fail)"
|
3716 |
msgstr ""
|
3717 |
|
3718 |
+
#: includes/class-mla-settings.php:2687 includes/class-mla-settings.php:2823
|
3719 |
msgid "Close the window"
|
3720 |
msgstr ""
|
3721 |
|
3722 |
+
#: includes/class-mla-settings.php:2688 includes/class-mla-settings.php:2824
|
3723 |
msgid "Reload the page"
|
3724 |
msgstr ""
|
3725 |
|
3726 |
+
#: includes/class-mla-settings.php:2689 includes/class-mla-settings.php:2825
|
3727 |
msgid "Click the browser’s Stop, Back or forward buttons"
|
3728 |
msgstr ""
|
3729 |
|
3730 |
+
#: includes/class-mla-settings.php:2690 includes/class-mla-settings.php:2826
|
3731 |
+
msgid "Progress"
|
3732 |
+
msgstr ""
|
3733 |
+
|
3734 |
+
#: includes/class-mla-settings.php:2692 includes/class-mla-settings.php:2828
|
3735 |
+
msgid "Resume"
|
3736 |
+
msgstr ""
|
3737 |
+
|
3738 |
+
#: includes/class-mla-settings.php:2702 includes/class-mla-settings.php:2706
|
3739 |
msgid "Custom Field and Attachment Metadata Processing Options"
|
3740 |
msgstr ""
|
3741 |
|
3742 |
#. translators: 1: Documentation hyperlink
|
3743 |
+
#: includes/class-mla-settings.php:2704
|
3744 |
#, php-format
|
3745 |
msgid ""
|
3746 |
"In this tab you can define the rules for mapping several types of image "
|
3750 |
"field. See the %1$s section of the Documentation for details."
|
3751 |
msgstr ""
|
3752 |
|
3753 |
+
#: includes/class-mla-settings.php:2704
|
3754 |
msgid "Updating Attachment Metadata Documentation"
|
3755 |
msgstr ""
|
3756 |
|
3757 |
+
#: includes/class-mla-settings.php:2704
|
3758 |
msgid "Adding or changing Attachment Metadata"
|
3759 |
msgstr ""
|
3760 |
|
3761 |
#. translators: 1: Documentation hyperlink
|
3762 |
+
#: includes/class-mla-settings.php:2706 includes/class-mla-settings.php:2841
|
3763 |
#, php-format
|
3764 |
msgid ""
|
3765 |
"You can find more information about using the controls in this tab to define "
|
3766 |
"mapping rules and apply them in the %1$s section of the Documentation."
|
3767 |
msgstr ""
|
3768 |
|
3769 |
+
#: includes/class-mla-settings.php:2706
|
3770 |
msgid "Custom Field Options documentation"
|
3771 |
msgstr ""
|
3772 |
|
3773 |
+
#: includes/class-mla-settings.php:2710 includes/class-mla-settings.php:2851
|
3774 |
msgid "Custom field mapping"
|
3775 |
msgstr ""
|
3776 |
|
3777 |
#. translators: 1: "Save Changes"
|
3778 |
+
#: includes/class-mla-settings.php:2715
|
3779 |
#, php-format
|
3780 |
msgid ""
|
3781 |
"Click %1$s to update the \"Enable custom field mapping...\" checkbox and/or "
|
3784 |
msgstr ""
|
3785 |
|
3786 |
#. translators: 1: "Map All Rules..."
|
3787 |
+
#: includes/class-mla-settings.php:2717
|
3788 |
#, php-format
|
3789 |
msgid ""
|
3790 |
"Click %1$s to apply all the rules at once (rule changes will be applied but "
|
3791 |
"not saved)."
|
3792 |
msgstr ""
|
3793 |
|
3794 |
+
#: includes/class-mla-settings.php:2821
|
3795 |
msgid "IPTC & EXIF Mapping Progress"
|
3796 |
msgstr ""
|
3797 |
|
3798 |
+
#: includes/class-mla-settings.php:2838 includes/class-mla-settings.php:2841
|
3799 |
msgid "IPTC & EXIF Processing Options"
|
3800 |
msgstr ""
|
3801 |
|
3802 |
+
#: includes/class-mla-settings.php:2839
|
3803 |
msgid ""
|
3804 |
"In this tab you can define the rules for mapping IPTC (International Press "
|
3805 |
"Telecommunications Council) and EXIF (EXchangeable Image File) metadata to "
|
3808 |
"click \"Save Changes\" at the bottom of this page."
|
3809 |
msgstr ""
|
3810 |
|
3811 |
+
#: includes/class-mla-settings.php:2841
|
3812 |
msgid "IPTC/EXIF Options documentation"
|
3813 |
msgstr ""
|
3814 |
|
3815 |
+
#: includes/class-mla-settings.php:2845
|
3816 |
msgid "Standard field mapping"
|
3817 |
msgstr ""
|
3818 |
|
3819 |
+
#: includes/class-mla-settings.php:2848
|
3820 |
msgid "Taxonomy term mapping"
|
3821 |
msgstr ""
|
3822 |
|
3823 |
#. translators: 1: "Save Changes"
|
3824 |
+
#: includes/class-mla-settings.php:2856
|
3825 |
#, php-format
|
3826 |
msgid ""
|
3827 |
"Click %1$s to update the \"Enable IPTC/EXIF mapping...\" checkbox and/or all "
|
3829 |
"performed.</strong>"
|
3830 |
msgstr ""
|
3831 |
|
3832 |
+
#: includes/class-mla-settings.php:2917
|
3833 |
msgid "Media Library Assistant - Error"
|
3834 |
msgstr ""
|
3835 |
|
3836 |
+
#: includes/class-mla-settings.php:2918
|
3837 |
msgid "You do not have permission to manage plugin settings."
|
3838 |
msgstr ""
|
3839 |
|
3840 |
+
#: includes/class-mla-settings.php:2945
|
3841 |
+
msgid "Cannot render content tab"
|
3842 |
msgstr ""
|
3843 |
|
3844 |
+
#: includes/class-mla-settings.php:2948
|
3845 |
+
msgid "Unknown content tab"
|
3846 |
msgstr ""
|
3847 |
|
3848 |
#. translators: 1: template type 2: template name
|
3849 |
+
#: includes/class-mla-settings.php:3028 includes/class-mla-settings.php:3117
|
3850 |
#, php-format
|
3851 |
msgctxt "message_list"
|
3852 |
msgid "Deleting %1$s \"%2$s\"."
|
3853 |
msgstr ""
|
3854 |
|
3855 |
+
#. translators: 1: ERROR tag 2: template name 3: template type
|
3856 |
+
#: includes/class-mla-settings.php:3039 includes/class-mla-settings.php:3130
|
3857 |
#, php-format
|
3858 |
+
msgid "%1$s: Reserved name \"%2$s\", new %3$s discarded."
|
3859 |
msgstr ""
|
3860 |
|
3861 |
+
#. translators: 1: ERROR tag 2: template name 3: template type
|
3862 |
+
#: includes/class-mla-settings.php:3045 includes/class-mla-settings.php:3136
|
3863 |
#, php-format
|
3864 |
+
msgid "%1$s: Duplicate name \"%2$s\", new %3$s discarded."
|
3865 |
msgstr ""
|
3866 |
|
3867 |
#. translators: 1: template type 2: template name
|
3868 |
+
#: includes/class-mla-settings.php:3049 includes/class-mla-settings.php:3140
|
3869 |
#, php-format
|
3870 |
msgctxt "message_list"
|
3871 |
msgid "Adding new %1$s \"%2$s\"."
|
3872 |
msgstr ""
|
3873 |
|
3874 |
+
#. translators: 1: ERROR tag 2: element name 3: old value
|
3875 |
+
#: includes/class-mla-settings.php:3059 includes/class-mla-settings.php:3150
|
3876 |
#, php-format
|
3877 |
+
msgid "%1$s: Blank %2$s, reverting to \"%3$s\"."
|
3878 |
msgstr ""
|
3879 |
|
3880 |
+
#: includes/class-mla-settings.php:3059 includes/class-mla-settings.php:3066
|
3881 |
+
#: includes/class-mla-settings.php:3070
|
3882 |
msgid "style template name"
|
3883 |
msgstr ""
|
3884 |
|
3885 |
+
#. translators: 1: ERROR tag 2: element name 3: new value 4: old value
|
3886 |
+
#: includes/class-mla-settings.php:3066 includes/class-mla-settings.php:3157
|
3887 |
#, php-format
|
3888 |
+
msgid "%1$s: Duplicate new %2$s \"%3$s\", reverting to \"%4$s\"."
|
3889 |
msgstr ""
|
3890 |
|
3891 |
#. translators: 1: element name 2: old_value 3: new_value
|
3892 |
+
#: includes/class-mla-settings.php:3070 includes/class-mla-settings.php:3161
|
3893 |
#, php-format
|
3894 |
msgctxt "message_list"
|
3895 |
msgid "Changing %1$s from \"%2$s\" to \"%3$s\""
|
3896 |
msgstr ""
|
3897 |
|
3898 |
#. translators: 1: template type 2: template name
|
3899 |
+
#: includes/class-mla-settings.php:3077
|
3900 |
#, php-format
|
3901 |
msgctxt "message_list"
|
3902 |
msgid "Updating contents of %1$s \"%2$s\"."
|
3903 |
msgstr ""
|
3904 |
|
3905 |
+
#. translators: 1: ERROR tag 2: template type
|
3906 |
+
#: includes/class-mla-settings.php:3088 includes/class-mla-settings.php:3209
|
3907 |
#, php-format
|
3908 |
+
msgid "%1$s: Update of %2$s failed."
|
3909 |
msgstr ""
|
3910 |
|
3911 |
+
#: includes/class-mla-settings.php:3150 includes/class-mla-settings.php:3157
|
3912 |
+
#: includes/class-mla-settings.php:3161
|
3913 |
msgid "markup template name"
|
3914 |
msgstr ""
|
3915 |
|
3916 |
#. translators: 1: template name
|
3917 |
+
#: includes/class-mla-settings.php:3169
|
3918 |
#, php-format
|
3919 |
msgctxt "message_list"
|
3920 |
msgid "Updating open markup for \"%1$s\"."
|
3921 |
msgstr ""
|
3922 |
|
3923 |
#. translators: 1: template name
|
3924 |
+
#: includes/class-mla-settings.php:3175
|
3925 |
#, php-format
|
3926 |
msgctxt "message_list"
|
3927 |
msgid "Updating row open markup for \"%1$s\"."
|
3928 |
msgstr ""
|
3929 |
|
3930 |
#. translators: 1: template name
|
3931 |
+
#: includes/class-mla-settings.php:3181
|
3932 |
#, php-format
|
3933 |
msgctxt "message_list"
|
3934 |
msgid "Updating item markup for \"%1$s\"."
|
3935 |
msgstr ""
|
3936 |
|
3937 |
#. translators: 1: template name
|
3938 |
+
#: includes/class-mla-settings.php:3187
|
3939 |
#, php-format
|
3940 |
msgctxt "message_list"
|
3941 |
msgid "Updating row close markup for \"%1$s\"."
|
3942 |
msgstr ""
|
3943 |
|
3944 |
#. translators: 1: template name
|
3945 |
+
#: includes/class-mla-settings.php:3193
|
3946 |
#, php-format
|
3947 |
msgctxt "message_list"
|
3948 |
msgid "Updating close markup for \"%1$s\"."
|
3949 |
msgstr ""
|
3950 |
|
3951 |
#. translators: 1: field type
|
3952 |
+
#: includes/class-mla-settings.php:3218
|
3953 |
#, php-format
|
3954 |
msgid "%1$s no changes detected."
|
3955 |
msgstr ""
|
3956 |
|
3957 |
+
#: includes/class-mla-settings.php:3253
|
3958 |
msgid "View settings saved."
|
3959 |
msgstr ""
|
3960 |
|
3961 |
+
#: includes/class-mla-settings.php:3287
|
3962 |
msgid "Upload MIME Type settings saved."
|
3963 |
msgstr ""
|
3964 |
|
3965 |
+
#: includes/class-mla-settings.php:3330
|
3966 |
+
msgid "No custom field mapping rules to process."
|
3967 |
msgstr ""
|
3968 |
|
3969 |
#. translators: 1: field type 2: examined count 3: updated count
|
3970 |
+
#: includes/class-mla-settings.php:3361 includes/class-mla-settings.php:3500
|
3971 |
+
#: includes/class-mla-settings.php:3571 includes/class-mla-settings.php:3657
|
3972 |
#, php-format
|
3973 |
msgid "%1$s mapping completed; %2$d attachment(s) examined, %3$d updated."
|
3974 |
msgstr ""
|
3975 |
|
3976 |
#. translators: 1: field type 2: examined count
|
3977 |
+
#: includes/class-mla-settings.php:3364 includes/class-mla-settings.php:3503
|
3978 |
+
#: includes/class-mla-settings.php:3574 includes/class-mla-settings.php:3660
|
3979 |
#, php-format
|
3980 |
msgid ""
|
3981 |
"%1$s mapping completed; %2$d attachment(s) examined, no changes detected."
|
3982 |
msgstr ""
|
3983 |
|
3984 |
+
#. translators: 1: number of attachments
|
3985 |
+
#: includes/class-mla-settings.php:3395
|
3986 |
#, php-format
|
3987 |
msgid "%s attachment"
|
3988 |
msgid_plural "%s attachments"
|
3989 |
msgstr[0] ""
|
3990 |
msgstr[1] ""
|
3991 |
|
3992 |
+
#. translators: 1: singular/plural number of attachments
|
3993 |
+
#: includes/class-mla-settings.php:3397
|
3994 |
#, php-format
|
3995 |
msgid "Deleted custom field value from %1$s."
|
3996 |
msgstr ""
|
3997 |
|
3998 |
+
#: includes/class-mla-settings.php:3400
|
3999 |
msgid "No attachments contained this custom field."
|
4000 |
msgstr ""
|
4001 |
|
4002 |
+
#. translators: 1: ERROR tag 2: field type
|
4003 |
+
#: includes/class-mla-settings.php:3461 includes/class-mla-settings.php:3532
|
4004 |
+
#: includes/class-mla-settings.php:3618
|
4005 |
#, php-format
|
4006 |
+
msgid "%1$s: No %2$s settings to process."
|
4007 |
msgstr ""
|
4008 |
|
4009 |
+
#: includes/class-mla-settings.php:3491 includes/class-mla-settings.php:3562
|
4010 |
+
#: includes/class-mla-settings.php:3648
|
4011 |
msgid "updated."
|
4012 |
msgstr ""
|
4013 |
|
4014 |
#. translators: 1: reference type, e.g., Gallery in
|
4015 |
+
#: includes/class-mla-settings.php:3753 includes/class-mla-settings.php:3763
|
4016 |
#, php-format
|
4017 |
msgctxt "message_list"
|
4018 |
msgid "%1$s - references updated."
|
4019 |
msgstr ""
|
4020 |
|
4021 |
+
#: includes/class-mla-settings.php:3806
|
4022 |
msgid "General settings saved."
|
4023 |
msgstr ""
|
4024 |
|
4025 |
#. translators: 1: option name
|
4026 |
+
#: includes/class-mla-settings.php:3837
|
4027 |
#, php-format
|
4028 |
msgctxt "message_list"
|
4029 |
msgid "delete_option \"%1$s\""
|
4030 |
msgstr ""
|
4031 |
|
4032 |
+
#: includes/class-mla-settings.php:3845
|
4033 |
msgid "General settings reset to default values."
|
4034 |
msgstr ""
|
4035 |
|
4036 |
+
#: includes/class-mla-settings.php:3887
|
4037 |
msgid "select settings"
|
4038 |
msgstr ""
|
4039 |
|
4040 |
+
#: includes/class-mla-settings.php:3907
|
4041 |
msgid "Import ALL Settings"
|
4042 |
msgstr ""
|
4043 |
|
4044 |
+
#: includes/class-mla-settings.php:3932
|
4045 |
msgctxt "message_list"
|
4046 |
msgid "exported"
|
4047 |
msgstr ""
|
4048 |
|
4049 |
+
#: includes/class-mla-settings.php:3934
|
4050 |
msgctxt "message_list"
|
4051 |
msgid "skipped"
|
4052 |
msgstr ""
|
4053 |
|
4054 |
+
#: includes/class-mla-settings.php:3941
|
4055 |
msgid "ALL settings exported."
|
4056 |
msgstr ""
|
4057 |
|
4058 |
+
#. translators: 1: ERROR tag 2: backup directory name
|
4059 |
+
#: includes/class-mla-settings.php:3952
|
4060 |
#, php-format
|
4061 |
+
msgid "%1$s: The settings directory ( %2$s ) cannot be created."
|
4062 |
msgstr ""
|
4063 |
|
4064 |
+
#. translators: 1: ERROR tag 2: backup directory name
|
4065 |
+
#: includes/class-mla-settings.php:3956
|
4066 |
#, php-format
|
4067 |
+
msgid "%1$s: The settings directory ( %2$s ) is not writable."
|
4068 |
msgstr ""
|
4069 |
|
4070 |
+
#. translators: 1: ERROR tag 2: backup file name
|
4071 |
+
#: includes/class-mla-settings.php:3967
|
4072 |
#, php-format
|
4073 |
+
msgid "%1$s: The settings file ( %2$s ) could not be opened."
|
4074 |
msgstr ""
|
4075 |
|
4076 |
+
#. translators: 1: ERROR tag 2: PHP error information
|
4077 |
+
#: includes/class-mla-settings.php:3974
|
4078 |
#, php-format
|
4079 |
msgctxt "error_log"
|
4080 |
+
msgid "%1$s: _export_settings $error_info = \"%2$s\"."
|
4081 |
msgstr ""
|
4082 |
|
4083 |
+
#. translators: 1: ERROR tag 2: backup file name 3: error message
|
4084 |
+
#: includes/class-mla-settings.php:3983
|
4085 |
#, php-format
|
4086 |
+
msgid "%1$s: Writing the settings file ( %2$s ) \"%3$s\"."
|
4087 |
msgstr ""
|
4088 |
|
4089 |
#. translators: 1: number of option settings
|
4090 |
+
#: includes/class-mla-settings.php:3989
|
4091 |
#, php-format
|
4092 |
msgid "Settings exported; %1$s settings recorded."
|
4093 |
msgstr ""
|
4094 |
|
4095 |
+
#: includes/class-mla-settings.php:4007
|
4096 |
msgid "No settings imported."
|
4097 |
msgstr ""
|
4098 |
|
4099 |
+
#: includes/class-mla-settings.php:4016
|
4100 |
msgid "Please select an import settings file from the dropdown list."
|
4101 |
msgstr ""
|
4102 |
|
4103 |
+
#: includes/class-mla-settings.php:4020
|
4104 |
+
msgid "The import settings dropdown selection is missing."
|
4105 |
msgstr ""
|
4106 |
|
4107 |
+
#. translators: 1: ERROR tag 2: PHP error information
|
4108 |
+
#: includes/class-mla-settings.php:4028
|
4109 |
#, php-format
|
4110 |
msgctxt "error_log"
|
4111 |
+
msgid "%1$s: _import_settings $error_info = \"%2$s\"."
|
4112 |
msgstr ""
|
4113 |
|
4114 |
+
#. translators: 1: ERROR tag 2: backup file name 3: error message
|
4115 |
+
#: includes/class-mla-settings.php:4037
|
4116 |
#, php-format
|
4117 |
+
msgid "%1$s: Reading the settings file ( %2$s ) \"%3$s\"."
|
4118 |
msgstr ""
|
4119 |
|
4120 |
+
#: includes/class-mla-settings.php:4047
|
4121 |
msgctxt "message_list"
|
4122 |
msgid "updated"
|
4123 |
msgstr ""
|
4124 |
|
4125 |
+
#: includes/class-mla-settings.php:4050
|
4126 |
msgctxt "message_list"
|
4127 |
msgid "unchanged"
|
4128 |
msgstr ""
|
4129 |
|
4130 |
#. translators: 1: number of option settings updated 2: number of option settings unchanged
|
4131 |
+
#: includes/class-mla-settings.php:4055
|
4132 |
#, php-format
|
4133 |
msgid "Settings imported; %1$s updated, %2$s unchanged."
|
4134 |
msgstr ""
|
4135 |
|
4136 |
+
#: includes/class-mla-shortcodes.php:237
|
4137 |
+
#: includes/class-mla-shortcodes.php:1227
|
4138 |
+
#: includes/class-mla-shortcodes.php:2134
|
4139 |
+
#: includes/class-mla-shortcodes.php:2421
|
4140 |
msgid "Previous"
|
4141 |
msgstr ""
|
4142 |
|
4143 |
+
#: includes/class-mla-shortcodes.php:238
|
4144 |
+
#: includes/class-mla-shortcodes.php:1228
|
4145 |
+
#: includes/class-mla-shortcodes.php:2183
|
4146 |
+
#: includes/class-mla-shortcodes.php:2427
|
4147 |
msgid "Next"
|
4148 |
msgstr ""
|
4149 |
|
4150 |
+
#: includes/class-mla-shortcodes.php:345
|
4151 |
msgid "mla_debug empty gallery"
|
4152 |
msgstr ""
|
4153 |
|
4154 |
+
#: includes/class-mla-shortcodes.php:409
|
4155 |
msgid ""
|
4156 |
"<strong>Photonic-enhanced [mla_gallery]</strong> type must be "
|
4157 |
"<strong>default</strong>, query = "
|
4158 |
msgstr ""
|
4159 |
|
4160 |
+
#: includes/class-mla-shortcodes.php:736
|
|
|
|
|
|
|
|
|
4161 |
msgid "unknown"
|
4162 |
msgstr ""
|
4163 |
|
4164 |
+
#: includes/class-mla-shortcodes.php:1360
|
4165 |
msgid "mla_debug attributes"
|
4166 |
msgstr ""
|
4167 |
|
4168 |
+
#: includes/class-mla-shortcodes.php:1361
|
4169 |
msgid "mla_debug arguments"
|
4170 |
msgstr ""
|
4171 |
|
4172 |
+
#: includes/class-mla-shortcodes.php:1453
|
4173 |
msgid "mla_debug empty cloud"
|
4174 |
msgstr ""
|
4175 |
|
4176 |
+
#: includes/class-mla-shortcodes.php:2802
|
4177 |
+
#: includes/class-mla-shortcodes.php:3130
|
4178 |
+
#: includes/class-mla-shortcodes.php:3161
|
4179 |
+
msgid "Invalid mla_gallery"
|
4180 |
msgstr ""
|
4181 |
|
4182 |
+
#: includes/class-mla-shortcodes.php:3409
|
4183 |
msgid "mla_debug query"
|
4184 |
msgstr ""
|
4185 |
|
4186 |
+
#: includes/class-mla-shortcodes.php:3410
|
4187 |
msgid "mla_debug request"
|
4188 |
msgstr ""
|
4189 |
|
4190 |
+
#: includes/class-mla-shortcodes.php:3411
|
4191 |
msgid "mla_debug query_vars"
|
4192 |
msgstr ""
|
4193 |
|
4194 |
+
#: includes/class-mla-shortcodes.php:3412
|
4195 |
msgid "mla_debug post_count"
|
4196 |
msgstr ""
|
4197 |
|
4198 |
+
#: includes/class-mla-shortcodes.php:3480
|
4199 |
msgid "mla_debug WHERE filter"
|
4200 |
msgstr ""
|
4201 |
|
4202 |
+
#: includes/class-mla-shortcodes.php:3499
|
4203 |
msgid "mla_debug modified WHERE filter"
|
4204 |
msgstr ""
|
4205 |
|
4206 |
+
#: includes/class-mla-shortcodes.php:3522
|
4207 |
msgid "mla_debug ORDER BY filter, incoming"
|
4208 |
msgstr ""
|
4209 |
|
4210 |
+
#: includes/class-mla-shortcodes.php:3522
|
4211 |
msgid "Replacement ORDER BY clause"
|
4212 |
msgstr ""
|
4213 |
|
4214 |
+
#: includes/class-mla-shortcodes.php:3545
|
4215 |
msgid "mla_debug posts_clauses filter"
|
4216 |
msgstr ""
|
4217 |
|
4218 |
+
#: includes/class-mla-shortcodes.php:3563
|
4219 |
msgid "mla_debug posts_clauses_request filter"
|
4220 |
msgstr ""
|
4221 |
|
4222 |
+
#: includes/class-mla-shortcodes.php:3753
|
4223 |
msgid "Invalid taxonomy"
|
4224 |
msgstr ""
|
4225 |
|
4226 |
+
#: includes/class-mla-shortcodes.php:3959
|
4227 |
msgid "mla_debug query arguments"
|
4228 |
msgstr ""
|
4229 |
|
4230 |
+
#: includes/class-mla-shortcodes.php:3960
|
4231 |
msgid "mla_debug last_query"
|
4232 |
msgstr ""
|
4233 |
|
4234 |
+
#: includes/class-mla-shortcodes.php:3961
|
4235 |
msgid "mla_debug last_error"
|
4236 |
msgstr ""
|
4237 |
|
4238 |
+
#: includes/class-mla-shortcodes.php:3962
|
4239 |
msgid "mla_debug num_rows"
|
4240 |
msgstr ""
|
4241 |
|
4242 |
+
#: includes/class-mla-shortcodes.php:3963
|
4243 |
msgid "mla_debug found_rows"
|
4244 |
msgstr ""
|
4245 |
|
4296 |
msgid "Revert to Standard"
|
4297 |
msgstr ""
|
4298 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4299 |
#: includes/class-mla-upload-list-table.php:611
|
4300 |
msgid "Delete/Revert Custom"
|
4301 |
msgstr ""
|
phpDocs/classes/MLA.html
CHANGED
@@ -63,19 +63,20 @@
|
|
63 |
<li class="method public "><a href="#mla_admin_enqueue_scripts_action" title="mla_admin_enqueue_scripts_action :: Load the plugin's Style Sheet and Javascript files"><span class="description">Load the plugin's Style Sheet and Javascript files</span><pre>mla_admin_enqueue_scripts_action()</pre></a></li>
|
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_find_posts_ajax_action" title='mla_find_posts_ajax_action :: Ajax handler to fetch candidates for the "Set Parent" popup window'><span class="description">Ajax handler to fetch candidates for the "Set Parent" popup window</span><pre>mla_find_posts_ajax_action()</pre></a></li>
|
68 |
<li class="method public "><a href="#mla_inline_edit_ajax_action" title="mla_inline_edit_ajax_action :: Ajax handler for inline editing"><span class="description">Ajax handler for inline editing</span><pre>mla_inline_edit_ajax_action()</pre></a></li>
|
69 |
<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>
|
70 |
<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>
|
71 |
<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>
|
|
|
72 |
<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>
|
73 |
<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>
|
74 |
<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>
|
75 |
<li class="method public "><a href="#mla_set_parent_form" title='mla_set_parent_form :: Build the hidden form for the "Set Parent" popup modal window'><span class="description">Build the hidden form for the "Set Parent" popup modal window</span><pre>mla_set_parent_form()</pre></a></li>
|
76 |
<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>
|
77 |
<li class="nav-header private">» Private</li>
|
78 |
-
<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>
|
79 |
<li class="method private "><a href="#_build_inline_edit_form" title="_build_inline_edit_form :: Build the hidden row templates for inline editing (quick and bulk edit)"><span class="description">Build the hidden row templates for inline editing (quick and bulk edit)</span><pre>_build_inline_edit_form()</pre></a></li>
|
80 |
<li class="method private "><a href="#_bulk_edit_ajax_handler" title="_bulk_edit_ajax_handler :: Ajax handler for bulk editing and mapping"><span class="description">Ajax handler for bulk editing and mapping</span><pre>_bulk_edit_ajax_handler()</pre></a></li>
|
81 |
<li class="method private "><a href="#_compose_post_type_select" title="_compose_post_type_select :: Compose a Post Type Options list with current selection"><span class="description">Compose a Post Type Options list with current selection</span><pre>_compose_post_type_select()</pre></a></li>
|
@@ -84,7 +85,6 @@
|
|
84 |
<li class="method private "><a href="#_display_single_item" title="_display_single_item :: Display a single item sub page; prepare the form to
|
85 |
change the meta data for a single attachment."><span class="description">Display a single item sub page; prepare the form to
|
86 |
change the meta data for a single attachment.</span><pre>_display_single_item()</pre></a></li>
|
87 |
-
<li class="method private "><a href="#_process_bulk_action" title="_process_bulk_action :: Process bulk action for one or more attachments"><span class="description">Process bulk action for one or more attachments</span><pre>_process_bulk_action()</pre></a></li>
|
88 |
<li class="method private "><a href="#_process_bulk_value" title="_process_bulk_value :: Process bulk edit area fields, which may contain a Content Template"><span class="description">Process bulk edit area fields, which may contain a Content Template</span><pre>_process_bulk_value()</pre></a></li>
|
89 |
<li class="method private "><a href="#_process_mla_download_file" title="_process_mla_download_file :: Process secure file download"><span class="description">Process secure file download</span><pre>_process_mla_download_file()</pre></a></li>
|
90 |
<li class="method private "><a href="#_restore_single_item" title="_restore_single_item :: Restore a single item from the Trash"><span class="description">Restore a single item from the Trash</span><pre>_restore_single_item()</pre></a></li>
|
@@ -225,6 +225,33 @@ add filter to clean up taxonomy submenu labels.</p></p>
|
|
225 |
</tr></table>
|
226 |
</div></div>
|
227 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
<a name="mla_edit_tax_redirect" id="mla_edit_tax_redirect"></a><div class="element clickable method public mla_edit_tax_redirect" data-toggle="collapse" data-target=".mla_edit_tax_redirect .collapse">
|
229 |
<h2>Redirect to the Edit Tags/Categories page</h2>
|
230 |
<pre>mla_edit_tax_redirect() : void</pre>
|
@@ -315,6 +342,29 @@ Defined as public because it's an action.</p></p>
|
|
315 |
</tr></table>
|
316 |
</div></div>
|
317 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
<a name="mla_render_admin_page" id="mla_render_admin_page"></a><div class="element clickable method public mla_render_admin_page" data-toggle="collapse" data-target=".mla_render_admin_page .collapse">
|
319 |
<h2>Render the "Assistant" subpage in the Media section, using the list_table package</h2>
|
320 |
<pre>mla_render_admin_page() : void</pre>
|
@@ -407,33 +457,6 @@ Defined as public because it's an action.</p></p>
|
|
407 |
<code>string</code><code>void</code>New value if this is our option, otherwise nothing</div>
|
408 |
</div></div>
|
409 |
</div>
|
410 |
-
<a name="_authors_dropdown" id="_authors_dropdown"></a><div class="element clickable method private _authors_dropdown" data-toggle="collapse" data-target="._authors_dropdown .collapse">
|
411 |
-
<h2>Get the edit Authors dropdown box, if user has suitable permissions</h2>
|
412 |
-
<pre>_authors_dropdown(integer $author, string $name, string $class) : string | false</pre>
|
413 |
-
<div class="labels"></div>
|
414 |
-
<div class="row collapse"><div class="detail-description">
|
415 |
-
<p class="long_description"></p>
|
416 |
-
<table class="table table-bordered"><tr>
|
417 |
-
<th>since</th>
|
418 |
-
<td>0.20</td>
|
419 |
-
</tr></table>
|
420 |
-
<h3>Parameters</h3>
|
421 |
-
<div class="subelement argument">
|
422 |
-
<h4>$author</h4>
|
423 |
-
<code>integer</code><p>Optional User ID of the current author, default 0</p></div>
|
424 |
-
<div class="subelement argument">
|
425 |
-
<h4>$name</h4>
|
426 |
-
<code>string</code><p>Optional HTML name attribute, default 'post_author'</p>
|
427 |
-
</div>
|
428 |
-
<div class="subelement argument">
|
429 |
-
<h4>$class</h4>
|
430 |
-
<code>string</code><p>Optional HTML class attribute, default 'authors'</p>
|
431 |
-
</div>
|
432 |
-
<h3>Returns</h3>
|
433 |
-
<div class="subelement response">
|
434 |
-
<code>string</code><code>false</code>HTML markup for the dropdown field or False</div>
|
435 |
-
</div></div>
|
436 |
-
</div>
|
437 |
<a name="_build_inline_edit_form" id="_build_inline_edit_form"></a><div class="element clickable method private _build_inline_edit_form" data-toggle="collapse" data-target="._build_inline_edit_form .collapse">
|
438 |
<h2>Build the hidden row templates for inline editing (quick and bulk edit)</h2>
|
439 |
<pre>_build_inline_edit_form(object $MLAListTable) : string</pre>
|
@@ -548,25 +571,6 @@ change the meta data for a single attachment.</h2>
|
|
548 |
<code>array</code>message and/or HTML content</div>
|
549 |
</div></div>
|
550 |
</div>
|
551 |
-
<a name="_process_bulk_action" id="_process_bulk_action"></a><div class="element clickable method private _process_bulk_action" data-toggle="collapse" data-target="._process_bulk_action .collapse">
|
552 |
-
<h2>Process bulk action for one or more attachments</h2>
|
553 |
-
<pre>_process_bulk_action(string $bulk_action) : array</pre>
|
554 |
-
<div class="labels"></div>
|
555 |
-
<div class="row collapse"><div class="detail-description">
|
556 |
-
<p class="long_description"></p>
|
557 |
-
<table class="table table-bordered"><tr>
|
558 |
-
<th>since</th>
|
559 |
-
<td>2.00</td>
|
560 |
-
</tr></table>
|
561 |
-
<h3>Parameters</h3>
|
562 |
-
<div class="subelement argument">
|
563 |
-
<h4>$bulk_action</h4>
|
564 |
-
<code>string</code><p>Bulk action slug: delete, edit, restore, trash, custom action</p></div>
|
565 |
-
<h3>Returns</h3>
|
566 |
-
<div class="subelement response">
|
567 |
-
<code>array</code>messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )</div>
|
568 |
-
</div></div>
|
569 |
-
</div>
|
570 |
<a name="_process_bulk_value" id="_process_bulk_value"></a><div class="element clickable method private _process_bulk_value" data-toggle="collapse" data-target="._process_bulk_value .collapse">
|
571 |
<h2>Process bulk edit area fields, which may contain a Content Template</h2>
|
572 |
<pre>_process_bulk_value(integer $post_id, string $bulk_value) : string</pre>
|
@@ -866,7 +870,7 @@ change the meta data for a single attachment.</h2>
|
|
866 |
<div class="row"><footer class="span12">
|
867 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
868 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
869 |
-
generated on 2015-
|
870 |
</div>
|
871 |
</body>
|
872 |
</html>
|
63 |
<li class="method public "><a href="#mla_admin_enqueue_scripts_action" title="mla_admin_enqueue_scripts_action :: Load the plugin's Style Sheet and Javascript files"><span class="description">Load the plugin's Style Sheet and Javascript files</span><pre>mla_admin_enqueue_scripts_action()</pre></a></li>
|
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_authors_dropdown" title="mla_authors_dropdown :: Get the edit Authors dropdown box, if user has suitable permissions"><span class="description">Get the edit Authors dropdown box, if user has suitable permissions</span><pre>mla_authors_dropdown()</pre></a></li>
|
67 |
<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>
|
68 |
<li class="method public "><a href="#mla_find_posts_ajax_action" title='mla_find_posts_ajax_action :: Ajax handler to fetch candidates for the "Set Parent" popup window'><span class="description">Ajax handler to fetch candidates for the "Set Parent" popup window</span><pre>mla_find_posts_ajax_action()</pre></a></li>
|
69 |
<li class="method public "><a href="#mla_inline_edit_ajax_action" title="mla_inline_edit_ajax_action :: Ajax handler for inline editing"><span class="description">Ajax handler for inline editing</span><pre>mla_inline_edit_ajax_action()</pre></a></li>
|
70 |
<li class="method public "><a href="#mla_load_media_action" title="mla_load_media_action :: Redirect to Media/Assistant if Media/Library is hidden"><span class="description">Redirect to Media/Assistant if Media/Library is hidden</span><pre>mla_load_media_action()</pre></a></li>
|
71 |
<li class="method public "><a href="#mla_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>
|
72 |
<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>
|
73 |
+
<li class="method public "><a href="#mla_process_bulk_action" title="mla_process_bulk_action :: Process bulk action for one or more attachments"><span class="description">Process bulk action for one or more attachments</span><pre>mla_process_bulk_action()</pre></a></li>
|
74 |
<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>
|
75 |
<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>
|
76 |
<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>
|
77 |
<li class="method public "><a href="#mla_set_parent_form" title='mla_set_parent_form :: Build the hidden form for the "Set Parent" popup modal window'><span class="description">Build the hidden form for the "Set Parent" popup modal window</span><pre>mla_set_parent_form()</pre></a></li>
|
78 |
<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>
|
79 |
<li class="nav-header private">» Private</li>
|
|
|
80 |
<li class="method private "><a href="#_build_inline_edit_form" title="_build_inline_edit_form :: Build the hidden row templates for inline editing (quick and bulk edit)"><span class="description">Build the hidden row templates for inline editing (quick and bulk edit)</span><pre>_build_inline_edit_form()</pre></a></li>
|
81 |
<li class="method private "><a href="#_bulk_edit_ajax_handler" title="_bulk_edit_ajax_handler :: Ajax handler for bulk editing and mapping"><span class="description">Ajax handler for bulk editing and mapping</span><pre>_bulk_edit_ajax_handler()</pre></a></li>
|
82 |
<li class="method private "><a href="#_compose_post_type_select" title="_compose_post_type_select :: Compose a Post Type Options list with current selection"><span class="description">Compose a Post Type Options list with current selection</span><pre>_compose_post_type_select()</pre></a></li>
|
85 |
<li class="method private "><a href="#_display_single_item" title="_display_single_item :: Display a single item sub page; prepare the form to
|
86 |
change the meta data for a single attachment."><span class="description">Display a single item sub page; prepare the form to
|
87 |
change the meta data for a single attachment.</span><pre>_display_single_item()</pre></a></li>
|
|
|
88 |
<li class="method private "><a href="#_process_bulk_value" title="_process_bulk_value :: Process bulk edit area fields, which may contain a Content Template"><span class="description">Process bulk edit area fields, which may contain a Content Template</span><pre>_process_bulk_value()</pre></a></li>
|
89 |
<li class="method private "><a href="#_process_mla_download_file" title="_process_mla_download_file :: Process secure file download"><span class="description">Process secure file download</span><pre>_process_mla_download_file()</pre></a></li>
|
90 |
<li class="method private "><a href="#_restore_single_item" title="_restore_single_item :: Restore a single item from the Trash"><span class="description">Restore a single item from the Trash</span><pre>_restore_single_item()</pre></a></li>
|
225 |
</tr></table>
|
226 |
</div></div>
|
227 |
</div>
|
228 |
+
<a name="mla_authors_dropdown" id="mla_authors_dropdown"></a><div class="element clickable method public mla_authors_dropdown" data-toggle="collapse" data-target=".mla_authors_dropdown .collapse">
|
229 |
+
<h2>Get the edit Authors dropdown box, if user has suitable permissions</h2>
|
230 |
+
<pre>mla_authors_dropdown(integer $author, string $name, string $class) : string | false</pre>
|
231 |
+
<div class="labels"></div>
|
232 |
+
<div class="row collapse"><div class="detail-description">
|
233 |
+
<p class="long_description"></p>
|
234 |
+
<table class="table table-bordered"><tr>
|
235 |
+
<th>since</th>
|
236 |
+
<td>0.20</td>
|
237 |
+
</tr></table>
|
238 |
+
<h3>Parameters</h3>
|
239 |
+
<div class="subelement argument">
|
240 |
+
<h4>$author</h4>
|
241 |
+
<code>integer</code><p>Optional User ID of the current author, default 0</p></div>
|
242 |
+
<div class="subelement argument">
|
243 |
+
<h4>$name</h4>
|
244 |
+
<code>string</code><p>Optional HTML name attribute, default 'post_author'</p>
|
245 |
+
</div>
|
246 |
+
<div class="subelement argument">
|
247 |
+
<h4>$class</h4>
|
248 |
+
<code>string</code><p>Optional HTML class attribute, default 'authors'</p>
|
249 |
+
</div>
|
250 |
+
<h3>Returns</h3>
|
251 |
+
<div class="subelement response">
|
252 |
+
<code>string</code><code>false</code>HTML markup for the dropdown field or False</div>
|
253 |
+
</div></div>
|
254 |
+
</div>
|
255 |
<a name="mla_edit_tax_redirect" id="mla_edit_tax_redirect"></a><div class="element clickable method public mla_edit_tax_redirect" data-toggle="collapse" data-target=".mla_edit_tax_redirect .collapse">
|
256 |
<h2>Redirect to the Edit Tags/Categories page</h2>
|
257 |
<pre>mla_edit_tax_redirect() : void</pre>
|
342 |
</tr></table>
|
343 |
</div></div>
|
344 |
</div>
|
345 |
+
<a name="mla_process_bulk_action" id="mla_process_bulk_action"></a><div class="element clickable method public mla_process_bulk_action" data-toggle="collapse" data-target=".mla_process_bulk_action .collapse">
|
346 |
+
<h2>Process bulk action for one or more attachments</h2>
|
347 |
+
<pre>mla_process_bulk_action(string $bulk_action, array $request) : array</pre>
|
348 |
+
<div class="labels"></div>
|
349 |
+
<div class="row collapse"><div class="detail-description">
|
350 |
+
<p class="long_description"></p>
|
351 |
+
<table class="table table-bordered"><tr>
|
352 |
+
<th>since</th>
|
353 |
+
<td>2.00</td>
|
354 |
+
</tr></table>
|
355 |
+
<h3>Parameters</h3>
|
356 |
+
<div class="subelement argument">
|
357 |
+
<h4>$bulk_action</h4>
|
358 |
+
<code>string</code><p>Bulk action slug: delete, edit, restore, trash, custom action</p></div>
|
359 |
+
<div class="subelement argument">
|
360 |
+
<h4>$request</h4>
|
361 |
+
<code>array</code><p>Form elements, e.g., from $_REQUEST</p>
|
362 |
+
</div>
|
363 |
+
<h3>Returns</h3>
|
364 |
+
<div class="subelement response">
|
365 |
+
<code>array</code>messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )</div>
|
366 |
+
</div></div>
|
367 |
+
</div>
|
368 |
<a name="mla_render_admin_page" id="mla_render_admin_page"></a><div class="element clickable method public mla_render_admin_page" data-toggle="collapse" data-target=".mla_render_admin_page .collapse">
|
369 |
<h2>Render the "Assistant" subpage in the Media section, using the list_table package</h2>
|
370 |
<pre>mla_render_admin_page() : void</pre>
|
457 |
<code>string</code><code>void</code>New value if this is our option, otherwise nothing</div>
|
458 |
</div></div>
|
459 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
460 |
<a name="_build_inline_edit_form" id="_build_inline_edit_form"></a><div class="element clickable method private _build_inline_edit_form" data-toggle="collapse" data-target="._build_inline_edit_form .collapse">
|
461 |
<h2>Build the hidden row templates for inline editing (quick and bulk edit)</h2>
|
462 |
<pre>_build_inline_edit_form(object $MLAListTable) : string</pre>
|
571 |
<code>array</code>message and/or HTML content</div>
|
572 |
</div></div>
|
573 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
574 |
<a name="_process_bulk_value" id="_process_bulk_value"></a><div class="element clickable method private _process_bulk_value" data-toggle="collapse" data-target="._process_bulk_value .collapse">
|
575 |
<h2>Process bulk edit area fields, which may contain a Content Template</h2>
|
576 |
<pre>_process_bulk_value(integer $post_id, string $bulk_value) : string</pre>
|
870 |
<div class="row"><footer class="span12">
|
871 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
872 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
873 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
874 |
</div>
|
875 |
</body>
|
876 |
</html>
|
phpDocs/classes/MLAData.html
CHANGED
@@ -109,6 +109,7 @@ and meta data for a single attachment</span><pre>mla_update_single_item()</pre><
|
|
109 |
<li class="method private "><a href="#_find_pdf_indirect_dictionary" title="_find_pdf_indirect_dictionary :: Find the offset, length and contents of an indirect object containing a dictionary"><span class="description">Find the offset, length and contents of an indirect object containing a dictionary</span><pre>_find_pdf_indirect_dictionary()</pre></a></li>
|
110 |
<li class="method private "><a href="#_find_template_substring" title="_find_template_substring :: Find a complete template, balancing opening and closing delimiters"><span class="description">Find a complete template, balancing opening and closing delimiters</span><pre>_find_template_substring()</pre></a></li>
|
111 |
<li class="method private "><a href="#_find_test_substring" title="_find_test_substring :: Find a complete (test) element, balancing opening and closing delimiters"><span class="description">Find a complete (test) element, balancing opening and closing delimiters</span><pre>_find_test_substring()</pre></a></li>
|
|
|
112 |
<li class="method private "><a href="#_parse_field_level_template" title='_parse_field_level_template :: Convert field-level "template:" string into its component parts'><span class="description">Convert field-level "template:" string into its component parts</span><pre>_parse_field_level_template()</pre></a></li>
|
113 |
<li class="method private "><a href="#_parse_iso8601_date" title="_parse_iso8601_date :: Parse a ISO 8601 Timestamp"><span class="description">Parse a ISO 8601 Timestamp</span><pre>_parse_iso8601_date()</pre></a></li>
|
114 |
<li class="method private "><a href="#_parse_pdf_LPD_dictionary" title="_parse_pdf_LPD_dictionary :: Parse a PDF Linearization Parameter Dictionary object"><span class="description">Parse a PDF Linearization Parameter Dictionary object</span><pre>_parse_pdf_LPD_dictionary()</pre></a></li>
|
@@ -123,6 +124,7 @@ and meta data for a single attachment</span><pre>mla_update_single_item()</pre><
|
|
123 |
<li class="method private "><a href="#_prepare_list_table_query" title="_prepare_list_table_query :: Sanitize and expand query arguments from request variables"><span class="description">Sanitize and expand query arguments from request variables</span><pre>_prepare_list_table_query()</pre></a></li>
|
124 |
<li class="method private "><a href="#_process_field_level_array" title="_process_field_level_array :: Process an markup field array value according to the supplied data-format option"><span class="description">Process an markup field array value according to the supplied data-format option</span><pre>_process_field_level_array()</pre></a></li>
|
125 |
<li class="method private "><a href="#_rational_to_decimal" title="_rational_to_decimal :: Convert an EXIF GPS rational value to a PHP float value"><span class="description">Convert an EXIF GPS rational value to a PHP float value</span><pre>_rational_to_decimal()</pre></a></li>
|
|
|
126 |
<li class="method private "><a href="#_remove_terms" title="_remove_terms :: Remove terms from an attachment's assignments"><span class="description">Remove terms from an attachment's assignments</span><pre>_remove_terms()</pre></a></li>
|
127 |
<li class="method private "><a href="#_search_mla_galleries" title="_search_mla_galleries :: Search the $mla_galleries or $galleries array"><span class="description">Search the $mla_galleries or $galleries array</span><pre>_search_mla_galleries()</pre></a></li>
|
128 |
<li class="method private "><a href="#_set_array_element" title="_set_array_element :: Adds or replaces the value of a key in a possibly nested array structure"><span class="description">Adds or replaces the value of a key in a possibly nested array structure</span><pre>_set_array_element()</pre></a></li>
|
@@ -1255,6 +1257,26 @@ This is required because Adobe Acrobat does NOT increment the generation number
|
|
1255 |
<code>string</code>'' or template string starting with '(' and ending with the matching ')'</div>
|
1256 |
</div></div>
|
1257 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1258 |
<a name="_parse_field_level_template" id="_parse_field_level_template"></a><div class="element clickable method private _parse_field_level_template" data-toggle="collapse" data-target="._parse_field_level_template .collapse">
|
1259 |
<h2>Convert field-level "template:" string into its component parts</h2>
|
1260 |
<pre>_parse_field_level_template(string $tpl) : array</pre>
|
@@ -1584,6 +1606,36 @@ Modeled after wp_edit_attachments_query in wp-admin/post.php</p></p>
|
|
1584 |
<code>float</code>numerator/denominator</div>
|
1585 |
</div></div>
|
1586 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1587 |
<a name="_remove_terms" id="_remove_terms"></a><div class="element clickable method private _remove_terms" data-toggle="collapse" data-target="._remove_terms .collapse">
|
1588 |
<h2>Remove terms from an attachment's assignments</h2>
|
1589 |
<pre>_remove_terms(integer $post_id, array $terms, object $taxonomy_obj) : array</pre>
|
@@ -1915,7 +1967,7 @@ ALT Text and custom field columns.</p></p>
|
|
1915 |
<div class="row"><footer class="span12">
|
1916 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1917 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1918 |
-
generated on 2015-
|
1919 |
</div>
|
1920 |
</body>
|
1921 |
</html>
|
109 |
<li class="method private "><a href="#_find_pdf_indirect_dictionary" title="_find_pdf_indirect_dictionary :: Find the offset, length and contents of an indirect object containing a dictionary"><span class="description">Find the offset, length and contents of an indirect object containing a dictionary</span><pre>_find_pdf_indirect_dictionary()</pre></a></li>
|
110 |
<li class="method private "><a href="#_find_template_substring" title="_find_template_substring :: Find a complete template, balancing opening and closing delimiters"><span class="description">Find a complete template, balancing opening and closing delimiters</span><pre>_find_template_substring()</pre></a></li>
|
111 |
<li class="method private "><a href="#_find_test_substring" title="_find_test_substring :: Find a complete (test) element, balancing opening and closing delimiters"><span class="description">Find a complete (test) element, balancing opening and closing delimiters</span><pre>_find_test_substring()</pre></a></li>
|
112 |
+
<li class="method private "><a href="#_parse_arguments" title="_parse_arguments :: Process an argument list within a field-level parameter format specification"><span class="description">Process an argument list within a field-level parameter format specification</span><pre>_parse_arguments()</pre></a></li>
|
113 |
<li class="method private "><a href="#_parse_field_level_template" title='_parse_field_level_template :: Convert field-level "template:" string into its component parts'><span class="description">Convert field-level "template:" string into its component parts</span><pre>_parse_field_level_template()</pre></a></li>
|
114 |
<li class="method private "><a href="#_parse_iso8601_date" title="_parse_iso8601_date :: Parse a ISO 8601 Timestamp"><span class="description">Parse a ISO 8601 Timestamp</span><pre>_parse_iso8601_date()</pre></a></li>
|
115 |
<li class="method private "><a href="#_parse_pdf_LPD_dictionary" title="_parse_pdf_LPD_dictionary :: Parse a PDF Linearization Parameter Dictionary object"><span class="description">Parse a PDF Linearization Parameter Dictionary object</span><pre>_parse_pdf_LPD_dictionary()</pre></a></li>
|
124 |
<li class="method private "><a href="#_prepare_list_table_query" title="_prepare_list_table_query :: Sanitize and expand query arguments from request variables"><span class="description">Sanitize and expand query arguments from request variables</span><pre>_prepare_list_table_query()</pre></a></li>
|
125 |
<li class="method private "><a href="#_process_field_level_array" title="_process_field_level_array :: Process an markup field array value according to the supplied data-format option"><span class="description">Process an markup field array value according to the supplied data-format option</span><pre>_process_field_level_array()</pre></a></li>
|
126 |
<li class="method private "><a href="#_rational_to_decimal" title="_rational_to_decimal :: Convert an EXIF GPS rational value to a PHP float value"><span class="description">Convert an EXIF GPS rational value to a PHP float value</span><pre>_rational_to_decimal()</pre></a></li>
|
127 |
+
<li class="method private "><a href="#_rational_to_string" title="_rational_to_string :: Convert an EXIF rational value to a formatted string"><span class="description">Convert an EXIF rational value to a formatted string</span><pre>_rational_to_string()</pre></a></li>
|
128 |
<li class="method private "><a href="#_remove_terms" title="_remove_terms :: Remove terms from an attachment's assignments"><span class="description">Remove terms from an attachment's assignments</span><pre>_remove_terms()</pre></a></li>
|
129 |
<li class="method private "><a href="#_search_mla_galleries" title="_search_mla_galleries :: Search the $mla_galleries or $galleries array"><span class="description">Search the $mla_galleries or $galleries array</span><pre>_search_mla_galleries()</pre></a></li>
|
130 |
<li class="method private "><a href="#_set_array_element" title="_set_array_element :: Adds or replaces the value of a key in a possibly nested array structure"><span class="description">Adds or replaces the value of a key in a possibly nested array structure</span><pre>_set_array_element()</pre></a></li>
|
1257 |
<code>string</code>'' or template string starting with '(' and ending with the matching ')'</div>
|
1258 |
</div></div>
|
1259 |
</div>
|
1260 |
+
<a name="_parse_arguments" id="_parse_arguments"></a><div class="element clickable method private _parse_arguments" data-toggle="collapse" data-target="._parse_arguments .collapse">
|
1261 |
+
<h2>Process an argument list within a field-level parameter format specification</h2>
|
1262 |
+
<pre>_parse_arguments(string $argument_string) : array</pre>
|
1263 |
+
<div class="labels"></div>
|
1264 |
+
<div class="row collapse"><div class="detail-description">
|
1265 |
+
<p class="long_description"></p>
|
1266 |
+
<table class="table table-bordered"><tr>
|
1267 |
+
<th>since</th>
|
1268 |
+
<td>2.02</td>
|
1269 |
+
</tr></table>
|
1270 |
+
<h3>Parameters</h3>
|
1271 |
+
<div class="subelement argument">
|
1272 |
+
<h4>$argument_string</h4>
|
1273 |
+
<code>string</code><p>arguments, e.g., ('d/m/Y H:i:s' , "arg, \" two" ) without parens</p>
|
1274 |
+
</div>
|
1275 |
+
<h3>Returns</h3>
|
1276 |
+
<div class="subelement response">
|
1277 |
+
<code>array</code>individual arguments, e.g. array( 0 => 'd/m/Y H:i:s', 1 => 'arg, \" two' )</div>
|
1278 |
+
</div></div>
|
1279 |
+
</div>
|
1280 |
<a name="_parse_field_level_template" id="_parse_field_level_template"></a><div class="element clickable method private _parse_field_level_template" data-toggle="collapse" data-target="._parse_field_level_template .collapse">
|
1281 |
<h2>Convert field-level "template:" string into its component parts</h2>
|
1282 |
<pre>_parse_field_level_template(string $tpl) : array</pre>
|
1606 |
<code>float</code>numerator/denominator</div>
|
1607 |
</div></div>
|
1608 |
</div>
|
1609 |
+
<a name="_rational_to_string" id="_rational_to_string"></a><div class="element clickable method private _rational_to_string" data-toggle="collapse" data-target="._rational_to_string .collapse">
|
1610 |
+
<h2>Convert an EXIF rational value to a formatted string</h2>
|
1611 |
+
<pre>_rational_to_string(string $rational, string $integer_format, string $fraction_format, string $mixed_format) : mixed</pre>
|
1612 |
+
<div class="labels"></div>
|
1613 |
+
<div class="row collapse"><div class="detail-description">
|
1614 |
+
<p class="long_description"></p>
|
1615 |
+
<table class="table table-bordered"><tr>
|
1616 |
+
<th>since</th>
|
1617 |
+
<td>2.02</td>
|
1618 |
+
</tr></table>
|
1619 |
+
<h3>Parameters</h3>
|
1620 |
+
<div class="subelement argument">
|
1621 |
+
<h4>$rational</h4>
|
1622 |
+
<code>string</code><p>numerator/denominator</p>
|
1623 |
+
</div>
|
1624 |
+
<div class="subelement argument">
|
1625 |
+
<h4>$integer_format</h4>
|
1626 |
+
<code>string</code><p>format for integer values</p></div>
|
1627 |
+
<div class="subelement argument">
|
1628 |
+
<h4>$fraction_format</h4>
|
1629 |
+
<code>string</code><p>format for fractional values from -1 to +1</p>
|
1630 |
+
</div>
|
1631 |
+
<div class="subelement argument">
|
1632 |
+
<h4>$mixed_format</h4>
|
1633 |
+
<code>string</code><p>format for integer.fraction values</p></div>
|
1634 |
+
<h3>Returns</h3>
|
1635 |
+
<div class="subelement response">
|
1636 |
+
<code>mixed</code>formatted value or boolean false if no value available</div>
|
1637 |
+
</div></div>
|
1638 |
+
</div>
|
1639 |
<a name="_remove_terms" id="_remove_terms"></a><div class="element clickable method private _remove_terms" data-toggle="collapse" data-target="._remove_terms .collapse">
|
1640 |
<h2>Remove terms from an attachment's assignments</h2>
|
1641 |
<pre>_remove_terms(integer $post_id, array $terms, object $taxonomy_obj) : array</pre>
|
1967 |
<div class="row"><footer class="span12">
|
1968 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1969 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1970 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
1971 |
</div>
|
1972 |
</body>
|
1973 |
</html>
|
phpDocs/classes/MLAEdit.html
CHANGED
@@ -73,6 +73,9 @@
|
|
73 |
<li class="method public "><a href="#mla_mla_gallery_in_handler" title="mla_mla_gallery_in_handler :: Renders the MLA Gallery in meta box on the Edit Media page."><span class="description">Renders the MLA Gallery in meta box on the Edit Media page.</span><pre>mla_mla_gallery_in_handler()</pre></a></li>
|
74 |
<li class="method public "><a href="#mla_parent_info_handler" title="mla_parent_info_handler :: Renders the Parent Info meta box on the Edit Media page."><span class="description">Renders the Parent Info meta box on the Edit Media page.</span><pre>mla_parent_info_handler()</pre></a></li>
|
75 |
<li class="method public "><a href="#mla_post_updated_messages_filter" title="mla_post_updated_messages_filter :: Adds mapping update messages for display at the top of the Edit Media screen."><span class="description">Adds mapping update messages for display at the top of the Edit Media screen.</span><pre>mla_post_updated_messages_filter()</pre></a></li>
|
|
|
|
|
|
|
76 |
<li class="nav-header private">» Private</li>
|
77 |
<li class="method private "><a href="#_mla_ajax_add_flat_term" title='_mla_ajax_add_flat_term :: Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window'><span class="description">Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window</span><pre>_mla_ajax_add_flat_term()</pre></a></li>
|
78 |
<li class="nav-header">
|
@@ -373,6 +376,64 @@ Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>
|
|
373 |
<code>array</code>updated messages</div>
|
374 |
</div></div>
|
375 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
<a name="_mla_ajax_add_flat_term" id="_mla_ajax_add_flat_term"></a><div class="element clickable method private _mla_ajax_add_flat_term" data-toggle="collapse" data-target="._mla_ajax_add_flat_term .collapse">
|
377 |
<h2>Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window</h2>
|
378 |
<pre>_mla_ajax_add_flat_term(string $key) : void</pre>
|
@@ -450,7 +511,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
|
|
450 |
<div class="row"><footer class="span12">
|
451 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
452 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
453 |
-
generated on 2015-
|
454 |
</div>
|
455 |
</body>
|
456 |
</html>
|
73 |
<li class="method public "><a href="#mla_mla_gallery_in_handler" title="mla_mla_gallery_in_handler :: Renders the MLA Gallery in meta box on the Edit Media page."><span class="description">Renders the MLA Gallery in meta box on the Edit Media page.</span><pre>mla_mla_gallery_in_handler()</pre></a></li>
|
74 |
<li class="method public "><a href="#mla_parent_info_handler" title="mla_parent_info_handler :: Renders the Parent Info meta box on the Edit Media page."><span class="description">Renders the Parent Info meta box on the Edit Media page.</span><pre>mla_parent_info_handler()</pre></a></li>
|
75 |
<li class="method public "><a href="#mla_post_updated_messages_filter" title="mla_post_updated_messages_filter :: Adds mapping update messages for display at the top of the Edit Media screen."><span class="description">Adds mapping update messages for display at the top of the Edit Media screen.</span><pre>mla_post_updated_messages_filter()</pre></a></li>
|
76 |
+
<li class="method public "><a href="#mla_post_upload_ui" title="mla_post_upload_ui :: Echoes bulk edit area HTML to the Media/Add New screen"><span class="description">Echoes bulk edit area HTML to the Media/Add New screen</span><pre>mla_post_upload_ui()</pre></a></li>
|
77 |
+
<li class="method public "><a href="#mla_update_attachment_metadata_postfilter" title="mla_update_attachment_metadata_postfilter :: Apply Media/Add New bulk edit area updates, if any"><span class="description">Apply Media/Add New bulk edit area updates, if any</span><pre>mla_update_attachment_metadata_postfilter()</pre></a></li>
|
78 |
+
<li class="method public "><a href="#mla_upload_post_params" title="mla_upload_post_params :: Filter the Media/Add New post parameters."><span class="description">Filter the Media/Add New post parameters.</span><pre>mla_upload_post_params()</pre></a></li>
|
79 |
<li class="nav-header private">» Private</li>
|
80 |
<li class="method private "><a href="#_mla_ajax_add_flat_term" title='_mla_ajax_add_flat_term :: Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window'><span class="description">Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window</span><pre>_mla_ajax_add_flat_term()</pre></a></li>
|
81 |
<li class="nav-header">
|
376 |
<code>array</code>updated messages</div>
|
377 |
</div></div>
|
378 |
</div>
|
379 |
+
<a name="mla_post_upload_ui" id="mla_post_upload_ui"></a><div class="element clickable method public mla_post_upload_ui" data-toggle="collapse" data-target=".mla_post_upload_ui .collapse">
|
380 |
+
<h2>Echoes bulk edit area HTML to the Media/Add New screen</h2>
|
381 |
+
<pre>mla_post_upload_ui() </pre>
|
382 |
+
<div class="labels"></div>
|
383 |
+
<div class="row collapse"><div class="detail-description">
|
384 |
+
<p class="long_description"><p>Fires on the post upload UI screen; legacy (pre-3.5.0) upload interface.
|
385 |
+
Anything echoed here goes below the "Maximum upload file size" message
|
386 |
+
and above the id="media-items" div.</p></p>
|
387 |
+
<table class="table table-bordered"><tr>
|
388 |
+
<th>since</th>
|
389 |
+
<td>2.02</td>
|
390 |
+
</tr></table>
|
391 |
+
</div></div>
|
392 |
+
</div>
|
393 |
+
<a name="mla_update_attachment_metadata_postfilter" id="mla_update_attachment_metadata_postfilter"></a><div class="element clickable method public mla_update_attachment_metadata_postfilter" data-toggle="collapse" data-target=".mla_update_attachment_metadata_postfilter .collapse">
|
394 |
+
<h2>Apply Media/Add New bulk edit area updates, if any</h2>
|
395 |
+
<pre>mla_update_attachment_metadata_postfilter(array $data, integer $post_id, array $options) : array</pre>
|
396 |
+
<div class="labels"></div>
|
397 |
+
<div class="row collapse"><div class="detail-description">
|
398 |
+
<p class="long_description"><p>This filter is called AFTER MLA mapping rules are applied during
|
399 |
+
wp_update_attachment_metadata() processing.</p></p>
|
400 |
+
<table class="table table-bordered"><tr>
|
401 |
+
<th>since</th>
|
402 |
+
<td>2.02</td>
|
403 |
+
</tr></table>
|
404 |
+
<h3>Parameters</h3>
|
405 |
+
<div class="subelement argument">
|
406 |
+
<h4>$data</h4>
|
407 |
+
<code>array</code><p>attachment metadata</p></div>
|
408 |
+
<div class="subelement argument">
|
409 |
+
<h4>$post_id</h4>
|
410 |
+
<code>integer</code><p>The Post ID of the new/updated attachment</p>
|
411 |
+
</div>
|
412 |
+
<div class="subelement argument">
|
413 |
+
<h4>$options</h4>
|
414 |
+
<code>array</code><p>Processing options, e.g., 'is_upload'</p>
|
415 |
+
</div>
|
416 |
+
<h3>Returns</h3>
|
417 |
+
<div class="subelement response">
|
418 |
+
<code>array</code>updated attachment metadata</div>
|
419 |
+
</div></div>
|
420 |
+
</div>
|
421 |
+
<a name="mla_upload_post_params" id="mla_upload_post_params"></a><div class="element clickable method public mla_upload_post_params" data-toggle="collapse" data-target=".mla_upload_post_params .collapse">
|
422 |
+
<h2>Filter the Media/Add New post parameters.</h2>
|
423 |
+
<pre>mla_upload_post_params(array $post_parms) </pre>
|
424 |
+
<div class="labels"></div>
|
425 |
+
<div class="row collapse"><div class="detail-description">
|
426 |
+
<p class="long_description"></p>
|
427 |
+
<table class="table table-bordered"><tr>
|
428 |
+
<th>since</th>
|
429 |
+
<td>2.02</td>
|
430 |
+
</tr></table>
|
431 |
+
<h3>Parameters</h3>
|
432 |
+
<div class="subelement argument">
|
433 |
+
<h4>$post_parms</h4>
|
434 |
+
<code>array</code><p>An array of media upload parameters used by Plupload.</p></div>
|
435 |
+
</div></div>
|
436 |
+
</div>
|
437 |
<a name="_mla_ajax_add_flat_term" id="_mla_ajax_add_flat_term"></a><div class="element clickable method private _mla_ajax_add_flat_term" data-toggle="collapse" data-target="._mla_ajax_add_flat_term .collapse">
|
438 |
<h2>Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window</h2>
|
439 |
<pre>_mla_ajax_add_flat_term(string $key) : void</pre>
|
511 |
<div class="row"><footer class="span12">
|
512 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
513 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
514 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
515 |
</div>
|
516 |
</body>
|
517 |
</html>
|
phpDocs/classes/MLAMime.html
CHANGED
@@ -1288,7 +1288,7 @@ Defined as public because it's a filter.</p></p>
|
|
1288 |
<div class="row"><footer class="span12">
|
1289 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1290 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1291 |
-
generated on 2015-
|
1292 |
</div>
|
1293 |
</body>
|
1294 |
</html>
|
1288 |
<div class="row"><footer class="span12">
|
1289 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1290 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1291 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
1292 |
</div>
|
1293 |
</body>
|
1294 |
</html>
|
phpDocs/classes/MLAModal.html
CHANGED
@@ -515,7 +515,7 @@ and mla_print_media_templates_action</h2>
|
|
515 |
<div class="row"><footer class="span12">
|
516 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
517 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
518 |
-
generated on 2015-
|
519 |
</div>
|
520 |
</body>
|
521 |
</html>
|
515 |
<div class="row"><footer class="span12">
|
516 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
517 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
518 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
519 |
</div>
|
520 |
</body>
|
521 |
</html>
|
phpDocs/classes/MLAObjects.html
CHANGED
@@ -172,7 +172,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
|
|
172 |
<div class="row"><footer class="span12">
|
173 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
174 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
175 |
-
generated on 2015-
|
176 |
</div>
|
177 |
</body>
|
178 |
</html>
|
172 |
<div class="row"><footer class="span12">
|
173 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
174 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
175 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
176 |
</div>
|
177 |
</body>
|
178 |
</html>
|
phpDocs/classes/MLAOptions.html
CHANGED
@@ -71,6 +71,7 @@
|
|
71 |
<li class="method public "><a href="#mla_get_markup_templates" title="mla_get_markup_templates :: Get ALL markup templates from $mla_templates, including 'default'"><span class="description">Get ALL markup templates from $mla_templates, including 'default'</span><pre>mla_get_markup_templates()</pre></a></li>
|
72 |
<li class="method public "><a href="#mla_get_option" title="mla_get_option :: Return the stored value or default value of a defined MLA option"><span class="description">Return the stored value or default value of a defined MLA option</span><pre>mla_get_option()</pre></a></li>
|
73 |
<li class="method public "><a href="#mla_get_style_templates" title="mla_get_style_templates :: Get ALL style templates from $mla_templates, including 'default'"><span class="description">Get ALL style templates from $mla_templates, including 'default'</span><pre>mla_get_style_templates()</pre></a></li>
|
|
|
74 |
<li class="method public "><a href="#mla_iptc_exif_option_handler" title="mla_iptc_exif_option_handler :: Render and manage iptc/exif support options"><span class="description">Render and manage iptc/exif support options</span><pre>mla_iptc_exif_option_handler()</pre></a></li>
|
75 |
<li class="method public "><a href="#mla_is_data_source" title="mla_is_data_source :: Identify custom field mapping data source"><span class="description">Identify custom field mapping data source</span><pre>mla_is_data_source()</pre></a></li>
|
76 |
<li class="method public "><a href="#mla_localize_option_definitions_array" title="mla_localize_option_definitions_array :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_localize_option_definitions_array()</pre></a></li>
|
@@ -116,6 +117,7 @@ settings are being updated or reset.</span><pre>mla_taxonomy_support()</pre></a>
|
|
116 |
<li class="property private "><a href="#%24mla_option_templates" title="$mla_option_templates :: Style and Markup templates"><span class="description">Style and Markup templates</span><pre>$mla_option_templates</pre></a></li>
|
117 |
<li class="nav-header">
|
118 |
<i class="icon-custom icon-constant"></i> Constants</li>
|
|
|
119 |
<li class="constant "><a href="#MLA_BULK_CHUNK_SIZE" title="MLA_BULK_CHUNK_SIZE :: Provides a unique name for the Bulk Update and Map All chunk size option"><span class="description">Provides a unique name for the Bulk Update and Map All chunk size option</span><pre>MLA_BULK_CHUNK_SIZE</pre></a></li>
|
120 |
<li class="constant "><a href="#MLA_COUNT_TERM_ATTACHMENTS" title="MLA_COUNT_TERM_ATTACHMENTS :: Provides a unique name for the taxonomy count Attachments option"><span class="description">Provides a unique name for the taxonomy count Attachments option</span><pre>MLA_COUNT_TERM_ATTACHMENTS</pre></a></li>
|
121 |
<li class="constant "><a href="#MLA_DEFAULT_ORDER" title="MLA_DEFAULT_ORDER :: Provides a unique name for the default order option"><span class="description">Provides a unique name for the default order option</span><pre>MLA_DEFAULT_ORDER</pre></a></li>
|
@@ -313,7 +315,7 @@ and provides functions to get and put them from/to WordPress option variables</p
|
|
313 |
<h3>Parameters</h3>
|
314 |
<div class="subelement argument">
|
315 |
<h4>$slug</h4>
|
316 |
-
<code>string</code><p>slug, e.g., '
|
317 |
</div>
|
318 |
<h3>Returns</h3>
|
319 |
<div class="subelement response">
|
@@ -535,6 +537,18 @@ Isolates clients from changes to _evaluate_data_source().</p></p>
|
|
535 |
<code>array</code><code>null</code>name => value for all style templates or null if no templates</div>
|
536 |
</div></div>
|
537 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
538 |
<a name="mla_iptc_exif_option_handler" id="mla_iptc_exif_option_handler"></a><div class="element clickable method public mla_iptc_exif_option_handler" data-toggle="collapse" data-target=".mla_iptc_exif_option_handler .collapse">
|
539 |
<h2>Render and manage iptc/exif support options</h2>
|
540 |
<pre>mla_iptc_exif_option_handler(string $action, string $key, array $value, array $args) : string</pre>
|
@@ -1363,6 +1377,12 @@ added to the Media Library.</p></p>
|
|
1363 |
</div>
|
1364 |
<h3>
|
1365 |
<i class="icon-custom icon-constant"></i> Constants</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
1366 |
<a name="MLA_BULK_CHUNK_SIZE" id="MLA_BULK_CHUNK_SIZE"> </a><div class="element clickable constant MLA_BULK_CHUNK_SIZE" data-toggle="collapse" data-target=".MLA_BULK_CHUNK_SIZE .collapse">
|
1367 |
<h2>Provides a unique name for the Bulk Update and Map All chunk size option</h2>
|
1368 |
<pre>MLA_BULK_CHUNK_SIZE </pre>
|
@@ -1638,7 +1658,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
|
|
1638 |
<div class="row"><footer class="span12">
|
1639 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1640 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1641 |
-
generated on 2015-
|
1642 |
</div>
|
1643 |
</body>
|
1644 |
</html>
|
71 |
<li class="method public "><a href="#mla_get_markup_templates" title="mla_get_markup_templates :: Get ALL markup templates from $mla_templates, including 'default'"><span class="description">Get ALL markup templates from $mla_templates, including 'default'</span><pre>mla_get_markup_templates()</pre></a></li>
|
72 |
<li class="method public "><a href="#mla_get_option" title="mla_get_option :: Return the stored value or default value of a defined MLA option"><span class="description">Return the stored value or default value of a defined MLA option</span><pre>mla_get_option()</pre></a></li>
|
73 |
<li class="method public "><a href="#mla_get_style_templates" title="mla_get_style_templates :: Get ALL style templates from $mla_templates, including 'default'"><span class="description">Get ALL style templates from $mla_templates, including 'default'</span><pre>mla_get_style_templates()</pre></a></li>
|
74 |
+
<li class="method public "><a href="#mla_initialize_tax_checked_on_top" title='mla_initialize_tax_checked_on_top :: Initialize "tax_checked_on_top" => "checked" default for all supported taxonomies'><span class="description">Initialize "tax_checked_on_top" => "checked" default for all supported taxonomies</span><pre>mla_initialize_tax_checked_on_top()</pre></a></li>
|
75 |
<li class="method public "><a href="#mla_iptc_exif_option_handler" title="mla_iptc_exif_option_handler :: Render and manage iptc/exif support options"><span class="description">Render and manage iptc/exif support options</span><pre>mla_iptc_exif_option_handler()</pre></a></li>
|
76 |
<li class="method public "><a href="#mla_is_data_source" title="mla_is_data_source :: Identify custom field mapping data source"><span class="description">Identify custom field mapping data source</span><pre>mla_is_data_source()</pre></a></li>
|
77 |
<li class="method public "><a href="#mla_localize_option_definitions_array" title="mla_localize_option_definitions_array :: Localize $mla_option_definitions array"><span class="description">Localize $mla_option_definitions array</span><pre>mla_localize_option_definitions_array()</pre></a></li>
|
117 |
<li class="property private "><a href="#%24mla_option_templates" title="$mla_option_templates :: Style and Markup templates"><span class="description">Style and Markup templates</span><pre>$mla_option_templates</pre></a></li>
|
118 |
<li class="nav-header">
|
119 |
<i class="icon-custom icon-constant"></i> Constants</li>
|
120 |
+
<li class="constant "><a href="#MLA_ADD_NEW_BULK_EDIT" title="MLA_ADD_NEW_BULK_EDIT :: Provides a unique name for the Media/Add New bulk edit option"><span class="description">Provides a unique name for the Media/Add New bulk edit option</span><pre>MLA_ADD_NEW_BULK_EDIT</pre></a></li>
|
121 |
<li class="constant "><a href="#MLA_BULK_CHUNK_SIZE" title="MLA_BULK_CHUNK_SIZE :: Provides a unique name for the Bulk Update and Map All chunk size option"><span class="description">Provides a unique name for the Bulk Update and Map All chunk size option</span><pre>MLA_BULK_CHUNK_SIZE</pre></a></li>
|
122 |
<li class="constant "><a href="#MLA_COUNT_TERM_ATTACHMENTS" title="MLA_COUNT_TERM_ATTACHMENTS :: Provides a unique name for the taxonomy count Attachments option"><span class="description">Provides a unique name for the taxonomy count Attachments option</span><pre>MLA_COUNT_TERM_ATTACHMENTS</pre></a></li>
|
123 |
<li class="constant "><a href="#MLA_DEFAULT_ORDER" title="MLA_DEFAULT_ORDER :: Provides a unique name for the default order option"><span class="description">Provides a unique name for the default order option</span><pre>MLA_DEFAULT_ORDER</pre></a></li>
|
315 |
<h3>Parameters</h3>
|
316 |
<div class="subelement argument">
|
317 |
<h4>$slug</h4>
|
318 |
+
<code>string</code><p>slug, e.g., 'c_File Size' for the 'File Size' field</p>
|
319 |
</div>
|
320 |
<h3>Returns</h3>
|
321 |
<div class="subelement response">
|
537 |
<code>array</code><code>null</code>name => value for all style templates or null if no templates</div>
|
538 |
</div></div>
|
539 |
</div>
|
540 |
+
<a name="mla_initialize_tax_checked_on_top" id="mla_initialize_tax_checked_on_top"></a><div class="element clickable method public mla_initialize_tax_checked_on_top" data-toggle="collapse" data-target=".mla_initialize_tax_checked_on_top .collapse">
|
541 |
+
<h2>Initialize "tax_checked_on_top" => "checked" default for all supported taxonomies</h2>
|
542 |
+
<pre>mla_initialize_tax_checked_on_top() : void</pre>
|
543 |
+
<div class="labels"></div>
|
544 |
+
<div class="row collapse"><div class="detail-description">
|
545 |
+
<p class="long_description"><p>Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.</p></p>
|
546 |
+
<table class="table table-bordered"><tr>
|
547 |
+
<th>since</th>
|
548 |
+
<td>2.02</td>
|
549 |
+
</tr></table>
|
550 |
+
</div></div>
|
551 |
+
</div>
|
552 |
<a name="mla_iptc_exif_option_handler" id="mla_iptc_exif_option_handler"></a><div class="element clickable method public mla_iptc_exif_option_handler" data-toggle="collapse" data-target=".mla_iptc_exif_option_handler .collapse">
|
553 |
<h2>Render and manage iptc/exif support options</h2>
|
554 |
<pre>mla_iptc_exif_option_handler(string $action, string $key, array $value, array $args) : string</pre>
|
1377 |
</div>
|
1378 |
<h3>
|
1379 |
<i class="icon-custom icon-constant"></i> Constants</h3>
|
1380 |
+
<a name="MLA_ADD_NEW_BULK_EDIT" id="MLA_ADD_NEW_BULK_EDIT"> </a><div class="element clickable constant MLA_ADD_NEW_BULK_EDIT" data-toggle="collapse" data-target=".MLA_ADD_NEW_BULK_EDIT .collapse">
|
1381 |
+
<h2>Provides a unique name for the Media/Add New bulk edit option</h2>
|
1382 |
+
<pre>MLA_ADD_NEW_BULK_EDIT </pre>
|
1383 |
+
<div class="labels"></div>
|
1384 |
+
<div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
|
1385 |
+
</div>
|
1386 |
<a name="MLA_BULK_CHUNK_SIZE" id="MLA_BULK_CHUNK_SIZE"> </a><div class="element clickable constant MLA_BULK_CHUNK_SIZE" data-toggle="collapse" data-target=".MLA_BULK_CHUNK_SIZE .collapse">
|
1387 |
<h2>Provides a unique name for the Bulk Update and Map All chunk size option</h2>
|
1388 |
<pre>MLA_BULK_CHUNK_SIZE </pre>
|
1658 |
<div class="row"><footer class="span12">
|
1659 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1660 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1661 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
1662 |
</div>
|
1663 |
</body>
|
1664 |
</html>
|
phpDocs/classes/MLASettings.html
CHANGED
@@ -1290,7 +1290,7 @@ because Localization calls cannot be placed in the "public static" array definit
|
|
1290 |
<div class="row"><footer class="span12">
|
1291 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1293 |
-
generated on 2015-
|
1294 |
</div>
|
1295 |
</body>
|
1296 |
</html>
|
1290 |
<div class="row"><footer class="span12">
|
1291 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1293 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
1294 |
</div>
|
1295 |
</body>
|
1296 |
</html>
|
phpDocs/classes/MLAShortcodes.html
CHANGED
@@ -77,6 +77,7 @@
|
|
77 |
<li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
|
78 |
<li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
|
79 |
<li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
|
|
|
80 |
<li class="method private "><a href="#_validate_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>
|
81 |
<li class="nav-header">
|
82 |
<i class="icon-custom icon-property"></i> Properties</li>
|
@@ -568,6 +569,25 @@ relevant children are already in the $terms argument.</p></p>
|
|
568 |
<code>string</code>query specification with HTML escape sequences and line breaks removed</div>
|
569 |
</div></div>
|
570 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
571 |
<a name="_validate_sql_orderby" id="_validate_sql_orderby"></a><div class="element clickable method private _validate_sql_orderby" data-toggle="collapse" data-target="._validate_sql_orderby .collapse">
|
572 |
<h2>Translates query parameters to a valid SQL order by clause.</h2>
|
573 |
<pre>_validate_sql_orderby(array $query_parameters, string $table_prefix, array $allowed_keys, array $binary_keys) : string | bool</pre>
|
@@ -687,7 +707,7 @@ any further logic required to translate those values is contained in the filter.
|
|
687 |
<div class="row"><footer class="span12">
|
688 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
689 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
690 |
-
generated on 2015-
|
691 |
</div>
|
692 |
</body>
|
693 |
</html>
|
77 |
<li class="method private "><a href="#_process_shortcode_parameter" title="_process_shortcode_parameter :: Handles brace/bracket escaping and parses template for a shortcode parameter"><span class="description">Handles brace/bracket escaping and parses template for a shortcode parameter</span><pre>_process_shortcode_parameter()</pre></a></li>
|
78 |
<li class="method private "><a href="#_registered_dimensions" title="_registered_dimensions :: Computes image dimensions for scalable graphics, e.g., SVG"><span class="description">Computes image dimensions for scalable graphics, e.g., SVG</span><pre>_registered_dimensions()</pre></a></li>
|
79 |
<li class="method private "><a href="#_sanitize_query_specification" title="_sanitize_query_specification :: Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications"><span class="description">Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications</span><pre>_sanitize_query_specification()</pre></a></li>
|
80 |
+
<li class="method private "><a href="#_validate_attributes" title="_validate_attributes :: Make sure $attr is an array and repair line-break damage"><span class="description">Make sure $attr is an array and repair line-break damage</span><pre>_validate_attributes()</pre></a></li>
|
81 |
<li class="method private "><a href="#_validate_sql_orderby" title="_validate_sql_orderby :: Translates query parameters to a valid SQL order by clause."><span class="description">Translates query parameters to a valid SQL order by clause.</span><pre>_validate_sql_orderby()</pre></a></li>
|
82 |
<li class="nav-header">
|
83 |
<i class="icon-custom icon-property"></i> Properties</li>
|
569 |
<code>string</code>query specification with HTML escape sequences and line breaks removed</div>
|
570 |
</div></div>
|
571 |
</div>
|
572 |
+
<a name="_validate_attributes" id="_validate_attributes"></a><div class="element clickable method private _validate_attributes" data-toggle="collapse" data-target="._validate_attributes .collapse">
|
573 |
+
<h2>Make sure $attr is an array and repair line-break damage</h2>
|
574 |
+
<pre>_validate_attributes(mixed $attr) : array</pre>
|
575 |
+
<div class="labels"></div>
|
576 |
+
<div class="row collapse"><div class="detail-description">
|
577 |
+
<p class="long_description"></p>
|
578 |
+
<table class="table table-bordered"><tr>
|
579 |
+
<th>since</th>
|
580 |
+
<td>2.02</td>
|
581 |
+
</tr></table>
|
582 |
+
<h3>Parameters</h3>
|
583 |
+
<div class="subelement argument">
|
584 |
+
<h4>$attr</h4>
|
585 |
+
<code>mixed</code><p>array or string containing shortcode attributes</p></div>
|
586 |
+
<h3>Returns</h3>
|
587 |
+
<div class="subelement response">
|
588 |
+
<code>array</code>clean attributes array</div>
|
589 |
+
</div></div>
|
590 |
+
</div>
|
591 |
<a name="_validate_sql_orderby" id="_validate_sql_orderby"></a><div class="element clickable method private _validate_sql_orderby" data-toggle="collapse" data-target="._validate_sql_orderby .collapse">
|
592 |
<h2>Translates query parameters to a valid SQL order by clause.</h2>
|
593 |
<pre>_validate_sql_orderby(array $query_parameters, string $table_prefix, array $allowed_keys, array $binary_keys) : string | bool</pre>
|
707 |
<div class="row"><footer class="span12">
|
708 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
709 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
710 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
711 |
</div>
|
712 |
</body>
|
713 |
</html>
|
phpDocs/classes/MLATest.html
CHANGED
@@ -165,7 +165,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
|
|
165 |
<div class="row"><footer class="span12">
|
166 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
167 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
168 |
-
generated on 2015-
|
169 |
</div>
|
170 |
</body>
|
171 |
</html>
|
165 |
<div class="row"><footer class="span12">
|
166 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
167 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
168 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
169 |
</div>
|
170 |
</body>
|
171 |
</html>
|
phpDocs/classes/MLATextWidget.html
CHANGED
@@ -178,7 +178,7 @@
|
|
178 |
<div class="row"><footer class="span12">
|
179 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
180 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
181 |
-
generated on 2015-
|
182 |
</div>
|
183 |
</body>
|
184 |
</html>
|
178 |
<div class="row"><footer class="span12">
|
179 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
180 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
181 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
182 |
</div>
|
183 |
</body>
|
184 |
</html>
|
phpDocs/classes/MLA_Checklist_Walker.html
CHANGED
@@ -163,7 +163,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p></p>
|
|
163 |
<div class="row"><footer class="span12">
|
164 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
165 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
166 |
-
generated on 2015-
|
167 |
</div>
|
168 |
</body>
|
169 |
</html>
|
163 |
<div class="row"><footer class="span12">
|
164 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
165 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
166 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
167 |
</div>
|
168 |
</body>
|
169 |
</html>
|
phpDocs/classes/MLA_List_Table.html
CHANGED
@@ -1196,7 +1196,7 @@ MLA_List_Table::mla_admin_init_action.</p></p>
|
|
1196 |
<div class="row"><footer class="span12">
|
1197 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1198 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1199 |
-
generated on 2015-
|
1200 |
</div>
|
1201 |
</body>
|
1202 |
</html>
|
1196 |
<div class="row"><footer class="span12">
|
1197 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1198 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1199 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
1200 |
</div>
|
1201 |
</body>
|
1202 |
</html>
|
phpDocs/classes/MLA_Upload_List_Table.html
CHANGED
@@ -736,7 +736,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
736 |
<div class="row"><footer class="span12">
|
737 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
738 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
739 |
-
generated on 2015-
|
740 |
</div>
|
741 |
</body>
|
742 |
</html>
|
736 |
<div class="row"><footer class="span12">
|
737 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
738 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
739 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
740 |
</div>
|
741 |
</body>
|
742 |
</html>
|
phpDocs/classes/MLA_Upload_Optional_List_Table.html
CHANGED
@@ -554,7 +554,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
554 |
<div class="row"><footer class="span12">
|
555 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
556 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
557 |
-
generated on 2015-
|
558 |
</div>
|
559 |
</body>
|
560 |
</html>
|
554 |
<div class="row"><footer class="span12">
|
555 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
556 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
557 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
558 |
</div>
|
559 |
</body>
|
560 |
</html>
|
phpDocs/classes/MLA_View_List_Table.html
CHANGED
@@ -633,7 +633,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
633 |
<div class="row"><footer class="span12">
|
634 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
635 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
636 |
-
generated on 2015-
|
637 |
</div>
|
638 |
</body>
|
639 |
</html>
|
633 |
<div class="row"><footer class="span12">
|
634 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
635 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
636 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
637 |
</div>
|
638 |
</body>
|
639 |
</html>
|
phpDocs/classes/MNA_Pad_Counts_Walker.html
CHANGED
@@ -139,7 +139,7 @@ Class Walker_Category is defined in /wp-includes/category-template.php</p></p>
|
|
139 |
<div class="row"><footer class="span12">
|
140 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
141 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
142 |
-
generated on 2015-
|
143 |
</div>
|
144 |
</body>
|
145 |
</html>
|
139 |
<div class="row"><footer class="span12">
|
140 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
141 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
142 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
143 |
</div>
|
144 |
</body>
|
145 |
</html>
|
phpDocs/deprecated.html
CHANGED
@@ -67,7 +67,7 @@
|
|
67 |
<div class="row"><footer class="span12">
|
68 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
69 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
70 |
-
generated on 2015-
|
71 |
</div>
|
72 |
</body>
|
73 |
</html>
|
67 |
<div class="row"><footer class="span12">
|
68 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
69 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
70 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
71 |
</div>
|
72 |
</body>
|
73 |
</html>
|
phpDocs/errors.html
CHANGED
@@ -107,7 +107,7 @@
|
|
107 |
<div class="row"><footer class="span12">
|
108 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
109 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
110 |
-
generated on 2015-
|
111 |
</div>
|
112 |
</body>
|
113 |
</html>
|
107 |
<div class="row"><footer class="span12">
|
108 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
109 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
110 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
111 |
</div>
|
112 |
</body>
|
113 |
</html>
|
phpDocs/graph_class.html
CHANGED
@@ -64,7 +64,7 @@
|
|
64 |
</script><div class="row"><footer class="span12">
|
65 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
66 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
67 |
-
generated on 2015-
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
64 |
</script><div class="row"><footer class="span12">
|
65 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
66 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
67 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
phpDocs/index.html
CHANGED
@@ -86,7 +86,7 @@
|
|
86 |
<div class="row"><footer class="span12">
|
87 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
88 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
89 |
-
generated on 2015-
|
90 |
</div>
|
91 |
</body>
|
92 |
</html>
|
86 |
<div class="row"><footer class="span12">
|
87 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
88 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
89 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
90 |
</div>
|
91 |
</body>
|
92 |
</html>
|
phpDocs/markers.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<td>todo</td>
|
82 |
-
<td>
|
83 |
<td>encode the rest</td>
|
84 |
</tr>
|
85 |
</table></div>
|
@@ -89,7 +89,7 @@
|
|
89 |
<div class="row"><footer class="span12">
|
90 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
91 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
92 |
-
generated on 2015-
|
93 |
</div>
|
94 |
</body>
|
95 |
</html>
|
79 |
</tr>
|
80 |
<tr>
|
81 |
<td>todo</td>
|
82 |
+
<td>4122</td>
|
83 |
<td>encode the rest</td>
|
84 |
</tr>
|
85 |
</table></div>
|
89 |
<div class="row"><footer class="span12">
|
90 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
91 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
92 |
+
generated on 2015-02-17T16:36:13-08:00.<br></footer></div>
|
93 |
</div>
|
94 |
</body>
|
95 |
</html>
|
phpDocs/namespaces/global.html
CHANGED
@@ -432,7 +432,7 @@ searchable database of exension/type associations for the "Uploads" admin settin
|
|
432 |
<div class="row"><footer class="span12">
|
433 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
434 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
435 |
-
generated on 2015-
|
436 |
</div>
|
437 |
</body>
|
438 |
</html>
|
432 |
<div class="row"><footer class="span12">
|
433 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
434 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
435 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
436 |
</div>
|
437 |
</body>
|
438 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html
CHANGED
@@ -268,7 +268,7 @@ display an "accordian-style" list.</p></p>
|
|
268 |
<div class="row"><footer class="span12">
|
269 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
270 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
271 |
-
generated on 2015-
|
272 |
</div>
|
273 |
</body>
|
274 |
</html>
|
268 |
<div class="row"><footer class="span12">
|
269 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
270 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
271 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
272 |
</div>
|
273 |
</body>
|
274 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.Child.html
CHANGED
@@ -265,7 +265,7 @@ display an "accordian-style" list.</p></p>
|
|
265 |
<div class="row"><footer class="span12">
|
266 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
267 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
268 |
-
generated on 2015-
|
269 |
</div>
|
270 |
</body>
|
271 |
</html>
|
265 |
<div class="row"><footer class="span12">
|
266 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
267 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
268 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
269 |
</div>
|
270 |
</body>
|
271 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.html
CHANGED
@@ -276,7 +276,7 @@ display an "accordian-style" list.</p></p>
|
|
276 |
<div class="row"><footer class="span12">
|
277 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
278 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
279 |
-
generated on 2015-
|
280 |
</div>
|
281 |
</body>
|
282 |
</html>
|
276 |
<div class="row"><footer class="span12">
|
277 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
278 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
279 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
280 |
</div>
|
281 |
</body>
|
282 |
</html>
|
phpDocs/packages/Media Library Assistant.html
CHANGED
@@ -505,7 +505,7 @@ display an "accordian-style" list.</p></p>
|
|
505 |
<div class="row"><footer class="span12">
|
506 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
507 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
508 |
-
generated on 2015-
|
509 |
</div>
|
510 |
</body>
|
511 |
</html>
|
505 |
<div class="row"><footer class="span12">
|
506 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
507 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
508 |
+
generated on 2015-02-17T16:36:12-08:00.<br></footer></div>
|
509 |
</div>
|
510 |
</body>
|
511 |
</html>
|
phpDocs/structure.xml
CHANGED
@@ -622,7 +622,7 @@ different template.</p>]]></long-description>
|
|
622 |
<tag line="2" name="since" description="MLA 1.80"/>
|
623 |
</docblock>
|
624 |
</file>
|
625 |
-
<file path="includes\class-mla-data.php" hash="
|
626 |
<docblock line="2">
|
627 |
<description><![CDATA[Database and template file access for MLA needs]]></description>
|
628 |
<long-description><![CDATA[]]></long-description>
|
@@ -663,22 +663,22 @@ ALT Text and custom field columns.</p>]]></long-description>
|
|
663 |
</tag>
|
664 |
</docblock>
|
665 |
</property>
|
666 |
-
<property final="false" static="true" visibility="private" line="
|
667 |
<name>$mla_list_table_items</name>
|
668 |
<default><![CDATA[NULL]]></default>
|
669 |
-
<docblock line="
|
670 |
<description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
|
671 |
<long-description><![CDATA[]]></long-description>
|
672 |
-
<tag line="
|
673 |
-
<tag line="
|
674 |
<type by_reference="false">array</type>
|
675 |
</tag>
|
676 |
</docblock>
|
677 |
</property>
|
678 |
-
<property final="false" static="true" visibility="private" line="
|
679 |
<name>$query_parameters</name>
|
680 |
<default><![CDATA[array()]]></default>
|
681 |
-
<docblock line="
|
682 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
683 |
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
684 |
The parameters are set up in the _prepare_list_table_query function, and
|
@@ -686,16 +686,16 @@ any further logic required to translate those values is contained in the filters
|
|
686 |
|
687 |
<p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns,
|
688 |
detached, orderby, order, mla-metavalue, debug (also in search_parameters)</p>]]></long-description>
|
689 |
-
<tag line="
|
690 |
-
<tag line="
|
691 |
<type by_reference="false">array</type>
|
692 |
</tag>
|
693 |
</docblock>
|
694 |
</property>
|
695 |
-
<property final="false" static="true" visibility="public" line="
|
696 |
<name>$search_parameters</name>
|
697 |
<default><![CDATA[array()]]></default>
|
698 |
-
<docblock line="
|
699 |
<description><![CDATA[WP_Query 'posts_search' filter "parameters"]]></description>
|
700 |
<long-description><![CDATA[<p>This array defines parameters for the query's posts_search filter, which uses
|
701 |
'search_string' to add a clause to the query's WHERE clause. It is shared between
|
@@ -716,16 +716,16 @@ Note: 'alt-text' is not supported in [mla_gallery]
|
|
716 |
['debug'] => internal element, console/log/shortcode/none
|
717 |
['mla_debug_messages'] => internal element, added when debug = 'shortcode'
|
718 |
['tax_terms_count'] => internal element, shared with JOIN and GROUP BY filters</p>]]></long-description>
|
719 |
-
<tag line="
|
720 |
-
<tag line="
|
721 |
<type by_reference="false">array</type>
|
722 |
</tag>
|
723 |
</docblock>
|
724 |
</property>
|
725 |
-
<property final="false" static="true" visibility="private" line="
|
726 |
<name>$galleries</name>
|
727 |
<default><![CDATA[null]]></default>
|
728 |
-
<docblock line="
|
729 |
<description><![CDATA[Objects containing [gallery] shortcodes]]></description>
|
730 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
|
731 |
and array(s) of which attachments each [gallery] contains. The arrays are built once
|
@@ -739,126 +739,126 @@ each page load and cached for subsequent calls.</p>
|
|
739 |
['galleries'] array of [gallery] entries numbered from one (1), containing:
|
740 |
galleries[X]['query'] contains a string with the arguments of the [gallery],
|
741 |
galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
|
742 |
-
<tag line="
|
743 |
-
<tag line="
|
744 |
<type by_reference="false">array</type>
|
745 |
</tag>
|
746 |
</docblock>
|
747 |
</property>
|
748 |
-
<property final="false" static="true" visibility="private" line="
|
749 |
<name>$mla_galleries</name>
|
750 |
<default><![CDATA[null]]></default>
|
751 |
-
<docblock line="
|
752 |
<description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
|
753 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
|
754 |
and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
|
755 |
each page load and cached for subsequent calls.</p>]]></long-description>
|
756 |
-
<tag line="
|
757 |
-
<tag line="
|
758 |
<type by_reference="false">array</type>
|
759 |
</tag>
|
760 |
</docblock>
|
761 |
</property>
|
762 |
-
<property final="false" static="true" visibility="private" line="
|
763 |
<name>$pdf_indirect_objects</name>
|
764 |
<default><![CDATA[NULL]]></default>
|
765 |
-
<docblock line="
|
766 |
<description><![CDATA[Array of PDF indirect objects]]></description>
|
767 |
<long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
|
768 |
The array key is ( object ID * 1000 ) + object generation.
|
769 |
The array value is array( number, generation, start, optional /length )</p>]]></long-description>
|
770 |
-
<tag line="
|
771 |
-
<tag line="
|
772 |
<type by_reference="false">array</type>
|
773 |
</tag>
|
774 |
</docblock>
|
775 |
</property>
|
776 |
-
<property final="false" static="true" visibility="private" line="
|
777 |
<name>$utf8_chars</name>
|
778 |
<default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
|
779 |
-
<docblock line="
|
780 |
<description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
|
781 |
<long-description><![CDATA[]]></long-description>
|
782 |
-
<tag line="
|
783 |
-
<tag line="
|
784 |
<type by_reference="false">array</type>
|
785 |
</tag>
|
786 |
</docblock>
|
787 |
</property>
|
788 |
-
<property final="false" static="true" visibility="private" line="
|
789 |
<name>$mla_iptc_records</name>
|
790 |
<default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
|
791 |
-
<docblock line="
|
792 |
<description><![CDATA[IPTC Dataset identifiers and names]]></description>
|
793 |
<long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
|
794 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
795 |
-
<tag line="
|
796 |
-
<tag line="
|
797 |
<type by_reference="false">array</type>
|
798 |
</tag>
|
799 |
</docblock>
|
800 |
</property>
|
801 |
-
<property final="false" static="true" visibility="public" line="
|
802 |
<name>$mla_iptc_keys</name>
|
803 |
<default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
|
804 |
-
<docblock line="
|
805 |
<description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
|
806 |
<long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
|
807 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
808 |
-
<tag line="
|
809 |
-
<tag line="
|
810 |
<type by_reference="false">array</type>
|
811 |
</tag>
|
812 |
</docblock>
|
813 |
</property>
|
814 |
-
<property final="false" static="true" visibility="private" line="
|
815 |
<name>$mla_iptc_descriptions</name>
|
816 |
<default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
|
817 |
-
<docblock line="
|
818 |
<description><![CDATA[IPTC Dataset descriptions]]></description>
|
819 |
<long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
|
820 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
821 |
-
<tag line="
|
822 |
-
<tag line="
|
823 |
<type by_reference="false">array</type>
|
824 |
</tag>
|
825 |
</docblock>
|
826 |
</property>
|
827 |
-
<property final="false" static="true" visibility="private" line="
|
828 |
<name>$mla_iptc_formats</name>
|
829 |
<default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 0 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 0 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
|
830 |
-
<docblock line="
|
831 |
<description><![CDATA[IPTC file format identifiers and descriptions]]></description>
|
832 |
<long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
|
833 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
|
834 |
-
<tag line="
|
835 |
-
<tag line="
|
836 |
<type by_reference="false">array</type>
|
837 |
</tag>
|
838 |
</docblock>
|
839 |
</property>
|
840 |
-
<property final="false" static="true" visibility="private" line="
|
841 |
<name>$mla_iptc_image_types</name>
|
842 |
<default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
|
843 |
-
<docblock line="
|
844 |
<description><![CDATA[IPTC image type identifiers and descriptions]]></description>
|
845 |
<long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
|
846 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
|
847 |
-
<tag line="
|
848 |
-
<tag line="
|
849 |
<type by_reference="false">array</type>
|
850 |
</tag>
|
851 |
</docblock>
|
852 |
</property>
|
853 |
-
<property final="false" static="true" visibility="private" line="
|
854 |
<name>$mla_IPTC_EXIF_errors</name>
|
855 |
<default><![CDATA[array()]]></default>
|
856 |
-
<docblock line="
|
857 |
<description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
|
858 |
and mla_fetch_attachment_image_metadata]]></description>
|
859 |
<long-description><![CDATA[]]></long-description>
|
860 |
-
<tag line="
|
861 |
-
<tag line="
|
862 |
<type by_reference="false">array</type>
|
863 |
</tag>
|
864 |
</docblock>
|
@@ -1021,1702 +1021,1766 @@ where "key" becomes the key part of the array.</p>]]></long-description>
|
|
1021 |
<type/>
|
1022 |
</argument>
|
1023 |
</method>
|
1024 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1025 |
<name>_evaluate_template_array_node</name>
|
1026 |
<full_name>_evaluate_template_array_node</full_name>
|
1027 |
-
<docblock line="
|
1028 |
<description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
|
1029 |
<long-description><![CDATA[<p>Will return an array of values if one or more of the placeholders returns an array.</p>]]></long-description>
|
1030 |
-
<tag line="
|
1031 |
-
<tag line="
|
1032 |
<type by_reference="false">array</type>
|
1033 |
</tag>
|
1034 |
-
<tag line="
|
1035 |
<type by_reference="false">array</type>
|
1036 |
</tag>
|
1037 |
-
<tag line="
|
1038 |
<type by_reference="false">mixed</type>
|
1039 |
</tag>
|
1040 |
</docblock>
|
1041 |
-
<argument line="
|
1042 |
<name>$node</name>
|
1043 |
<default><![CDATA[]]></default>
|
1044 |
<type/>
|
1045 |
</argument>
|
1046 |
-
<argument line="
|
1047 |
<name>$markup_values</name>
|
1048 |
<default><![CDATA[array()]]></default>
|
1049 |
<type/>
|
1050 |
</argument>
|
1051 |
</method>
|
1052 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1053 |
<name>_evaluate_template_node</name>
|
1054 |
<full_name>_evaluate_template_node</full_name>
|
1055 |
-
<docblock line="
|
1056 |
<description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
|
1057 |
<long-description><![CDATA[]]></long-description>
|
1058 |
-
<tag line="
|
1059 |
-
<tag line="
|
1060 |
<type by_reference="false">array</type>
|
1061 |
</tag>
|
1062 |
-
<tag line="
|
1063 |
<type by_reference="false">array</type>
|
1064 |
</tag>
|
1065 |
-
<tag line="
|
1066 |
<type by_reference="false">string</type>
|
1067 |
</tag>
|
1068 |
</docblock>
|
1069 |
-
<argument line="
|
1070 |
<name>$node</name>
|
1071 |
<default><![CDATA[]]></default>
|
1072 |
<type/>
|
1073 |
</argument>
|
1074 |
-
<argument line="
|
1075 |
<name>$markup_values</name>
|
1076 |
<default><![CDATA[array()]]></default>
|
1077 |
<type/>
|
1078 |
</argument>
|
1079 |
</method>
|
1080 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1081 |
<name>_expand_field_level_template</name>
|
1082 |
<full_name>_expand_field_level_template</full_name>
|
1083 |
-
<docblock line="
|
1084 |
<description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
|
1085 |
<long-description><![CDATA[]]></long-description>
|
1086 |
-
<tag line="
|
1087 |
-
<tag line="
|
1088 |
<type by_reference="false">string</type>
|
1089 |
</tag>
|
1090 |
-
<tag line="
|
1091 |
<type by_reference="false">array</type>
|
1092 |
</tag>
|
1093 |
-
<tag line="
|
1094 |
<type by_reference="false">boolean</type>
|
1095 |
</tag>
|
1096 |
-
<tag line="
|
1097 |
<type by_reference="false">mixed</type>
|
1098 |
</tag>
|
1099 |
</docblock>
|
1100 |
-
<argument line="
|
1101 |
<name>$tpl</name>
|
1102 |
<default><![CDATA[]]></default>
|
1103 |
<type/>
|
1104 |
</argument>
|
1105 |
-
<argument line="
|
1106 |
<name>$markup_values</name>
|
1107 |
<default><![CDATA[array()]]></default>
|
1108 |
<type/>
|
1109 |
</argument>
|
1110 |
-
<argument line="
|
1111 |
<name>$return_arrays</name>
|
1112 |
<default><![CDATA[false]]></default>
|
1113 |
<type/>
|
1114 |
</argument>
|
1115 |
</method>
|
1116 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1117 |
<name>_process_field_level_array</name>
|
1118 |
<full_name>_process_field_level_array</full_name>
|
1119 |
-
<docblock line="
|
1120 |
<description><![CDATA[Process an markup field array value according to the supplied data-format option]]></description>
|
1121 |
<long-description><![CDATA[]]></long-description>
|
1122 |
-
<tag line="
|
1123 |
-
<tag line="
|
1124 |
<type by_reference="false">array</type>
|
1125 |
</tag>
|
1126 |
-
<tag line="
|
1127 |
<type by_reference="false">string</type>
|
1128 |
</tag>
|
1129 |
-
<tag line="
|
1130 |
<type by_reference="false">boolean</type>
|
1131 |
</tag>
|
1132 |
-
<tag line="
|
1133 |
<type by_reference="false">array</type>
|
1134 |
</tag>
|
1135 |
</docblock>
|
1136 |
-
<argument line="
|
1137 |
<name>$record</name>
|
1138 |
<default><![CDATA[]]></default>
|
1139 |
<type/>
|
1140 |
</argument>
|
1141 |
-
<argument line="
|
1142 |
<name>$option</name>
|
1143 |
<default><![CDATA['text']]></default>
|
1144 |
<type/>
|
1145 |
</argument>
|
1146 |
-
<argument line="
|
1147 |
<name>$keep_existing</name>
|
1148 |
<default><![CDATA[false]]></default>
|
1149 |
<type/>
|
1150 |
</argument>
|
1151 |
</method>
|
1152 |
-
<method final="false" abstract="false" static="true" visibility="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1153 |
<name>mla_expand_field_level_parameters</name>
|
1154 |
<full_name>mla_expand_field_level_parameters</full_name>
|
1155 |
-
<docblock line="
|
1156 |
<description><![CDATA[Analyze a template, expanding Field-level Markup Substitution Parameters]]></description>
|
1157 |
<long-description><![CDATA[<p>Field-level parameters must have one of the following prefix values:
|
1158 |
template, request, query, custom, terms, meta, iptc, exif, pdf.
|
1159 |
All but request and query require an attachment ID.</p>]]></long-description>
|
1160 |
-
<tag line="
|
1161 |
-
<tag line="
|
1162 |
<type by_reference="false">string</type>
|
1163 |
</tag>
|
1164 |
-
<tag line="
|
1165 |
<type by_reference="false">array</type>
|
1166 |
</tag>
|
1167 |
-
<tag line="
|
1168 |
<type by_reference="false">array</type>
|
1169 |
</tag>
|
1170 |
-
<tag line="
|
1171 |
<type by_reference="false">integer</type>
|
1172 |
</tag>
|
1173 |
-
<tag line="
|
1174 |
<type by_reference="false">boolean</type>
|
1175 |
</tag>
|
1176 |
-
<tag line="
|
1177 |
<type by_reference="false">string</type>
|
1178 |
</tag>
|
1179 |
-
<tag line="
|
1180 |
<type by_reference="false">array</type>
|
1181 |
</tag>
|
1182 |
</docblock>
|
1183 |
-
<argument line="
|
1184 |
<name>$tpl</name>
|
1185 |
<default><![CDATA[]]></default>
|
1186 |
<type/>
|
1187 |
</argument>
|
1188 |
-
<argument line="
|
1189 |
<name>$query</name>
|
1190 |
<default><![CDATA[NULL]]></default>
|
1191 |
<type/>
|
1192 |
</argument>
|
1193 |
-
<argument line="
|
1194 |
<name>$markup_values</name>
|
1195 |
<default><![CDATA[array()]]></default>
|
1196 |
<type/>
|
1197 |
</argument>
|
1198 |
-
<argument line="
|
1199 |
<name>$post_id</name>
|
1200 |
<default><![CDATA[0]]></default>
|
1201 |
<type/>
|
1202 |
</argument>
|
1203 |
-
<argument line="
|
1204 |
<name>$keep_existing</name>
|
1205 |
<default><![CDATA[false]]></default>
|
1206 |
<type/>
|
1207 |
</argument>
|
1208 |
-
<argument line="
|
1209 |
<name>$default_option</name>
|
1210 |
<default><![CDATA['text']]></default>
|
1211 |
<type/>
|
1212 |
</argument>
|
1213 |
</method>
|
1214 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1215 |
<name>mla_get_template_placeholders</name>
|
1216 |
<full_name>mla_get_template_placeholders</full_name>
|
1217 |
-
<docblock line="
|
1218 |
<description><![CDATA[Analyze a template, returning an array of the placeholders it contains]]></description>
|
1219 |
<long-description><![CDATA[]]></long-description>
|
1220 |
-
<tag line="
|
1221 |
-
<tag line="
|
1222 |
<type by_reference="false">string</type>
|
1223 |
</tag>
|
1224 |
-
<tag line="
|
1225 |
<type by_reference="false">string</type>
|
1226 |
</tag>
|
1227 |
-
<tag line="
|
1228 |
<type by_reference="false">array</type>
|
1229 |
</tag>
|
1230 |
</docblock>
|
1231 |
-
<argument line="
|
1232 |
<name>$tpl</name>
|
1233 |
<default><![CDATA[]]></default>
|
1234 |
<type/>
|
1235 |
</argument>
|
1236 |
-
<argument line="
|
1237 |
<name>$default_option</name>
|
1238 |
<default><![CDATA['text']]></default>
|
1239 |
<type/>
|
1240 |
</argument>
|
1241 |
</method>
|
1242 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1243 |
<name>mla_count_list_table_items</name>
|
1244 |
<full_name>mla_count_list_table_items</full_name>
|
1245 |
-
<docblock line="
|
1246 |
<description><![CDATA[Get the total number of attachment posts]]></description>
|
1247 |
<long-description><![CDATA[]]></long-description>
|
1248 |
-
<tag line="
|
1249 |
-
<tag line="
|
1250 |
<type by_reference="false">array</type>
|
1251 |
</tag>
|
1252 |
-
<tag line="
|
1253 |
<type by_reference="false">int</type>
|
1254 |
</tag>
|
1255 |
-
<tag line="
|
1256 |
<type by_reference="false">int</type>
|
1257 |
</tag>
|
1258 |
-
<tag line="
|
1259 |
<type by_reference="false">integer</type>
|
1260 |
</tag>
|
1261 |
</docblock>
|
1262 |
-
<argument line="
|
1263 |
<name>$request</name>
|
1264 |
<default><![CDATA[]]></default>
|
1265 |
<type/>
|
1266 |
</argument>
|
1267 |
-
<argument line="
|
1268 |
<name>$offset</name>
|
1269 |
<default><![CDATA[NULL]]></default>
|
1270 |
<type/>
|
1271 |
</argument>
|
1272 |
-
<argument line="
|
1273 |
<name>$count</name>
|
1274 |
<default><![CDATA[NULL]]></default>
|
1275 |
<type/>
|
1276 |
</argument>
|
1277 |
</method>
|
1278 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1279 |
<name>mla_query_list_table_items</name>
|
1280 |
<full_name>mla_query_list_table_items</full_name>
|
1281 |
-
<docblock line="
|
1282 |
<description><![CDATA[Retrieve attachment objects for list table display]]></description>
|
1283 |
<long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
|
1284 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
1285 |
-
<tag line="
|
1286 |
-
<tag line="
|
1287 |
<type by_reference="false">array</type>
|
1288 |
</tag>
|
1289 |
-
<tag line="
|
1290 |
<type by_reference="false">int</type>
|
1291 |
</tag>
|
1292 |
-
<tag line="
|
1293 |
<type by_reference="false">int</type>
|
1294 |
</tag>
|
1295 |
-
<tag line="
|
1296 |
<type by_reference="false">array</type>
|
1297 |
</tag>
|
1298 |
</docblock>
|
1299 |
-
<argument line="
|
1300 |
<name>$request</name>
|
1301 |
<default><![CDATA[]]></default>
|
1302 |
<type/>
|
1303 |
</argument>
|
1304 |
-
<argument line="
|
1305 |
<name>$offset</name>
|
1306 |
<default><![CDATA[]]></default>
|
1307 |
<type/>
|
1308 |
</argument>
|
1309 |
-
<argument line="
|
1310 |
<name>$count</name>
|
1311 |
<default><![CDATA[]]></default>
|
1312 |
<type/>
|
1313 |
</argument>
|
1314 |
</method>
|
1315 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1316 |
<name>mla_query_media_modal_items</name>
|
1317 |
<full_name>mla_query_media_modal_items</full_name>
|
1318 |
-
<docblock line="
|
1319 |
<description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
|
1320 |
<long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
|
1321 |
-
<tag line="
|
1322 |
-
<tag line="
|
1323 |
<type by_reference="false">array</type>
|
1324 |
</tag>
|
1325 |
-
<tag line="
|
1326 |
<type by_reference="false">int</type>
|
1327 |
</tag>
|
1328 |
-
<tag line="
|
1329 |
<type by_reference="false">int</type>
|
1330 |
</tag>
|
1331 |
-
<tag line="
|
1332 |
<type by_reference="false">array</type>
|
1333 |
</tag>
|
1334 |
</docblock>
|
1335 |
-
<argument line="
|
1336 |
<name>$request</name>
|
1337 |
<default><![CDATA[]]></default>
|
1338 |
<type/>
|
1339 |
</argument>
|
1340 |
-
<argument line="
|
1341 |
<name>$offset</name>
|
1342 |
<default><![CDATA[]]></default>
|
1343 |
<type/>
|
1344 |
</argument>
|
1345 |
-
<argument line="
|
1346 |
<name>$count</name>
|
1347 |
<default><![CDATA[]]></default>
|
1348 |
<type/>
|
1349 |
</argument>
|
1350 |
</method>
|
1351 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1352 |
<name>_prepare_list_table_query</name>
|
1353 |
<full_name>_prepare_list_table_query</full_name>
|
1354 |
-
<docblock line="
|
1355 |
<description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
|
1356 |
<long-description><![CDATA[<p>Prepare the arguments for WP_Query.
|
1357 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
1358 |
-
<tag line="
|
1359 |
-
<tag line="
|
1360 |
<type by_reference="false">array</type>
|
1361 |
</tag>
|
1362 |
-
<tag line="
|
1363 |
<type by_reference="false">int</type>
|
1364 |
</tag>
|
1365 |
-
<tag line="
|
1366 |
<type by_reference="false">int</type>
|
1367 |
</tag>
|
1368 |
-
<tag line="
|
1369 |
<type by_reference="false">array</type>
|
1370 |
</tag>
|
1371 |
</docblock>
|
1372 |
-
<argument line="
|
1373 |
<name>$raw_request</name>
|
1374 |
<default><![CDATA[]]></default>
|
1375 |
<type/>
|
1376 |
</argument>
|
1377 |
-
<argument line="
|
1378 |
<name>$offset</name>
|
1379 |
<default><![CDATA[0]]></default>
|
1380 |
<type/>
|
1381 |
</argument>
|
1382 |
-
<argument line="
|
1383 |
<name>$count</name>
|
1384 |
<default><![CDATA[0]]></default>
|
1385 |
<type/>
|
1386 |
</argument>
|
1387 |
</method>
|
1388 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1389 |
<name>_execute_list_table_query</name>
|
1390 |
<full_name>_execute_list_table_query</full_name>
|
1391 |
-
<docblock line="
|
1392 |
<description><![CDATA[Add filters, run query, remove filters]]></description>
|
1393 |
<long-description><![CDATA[]]></long-description>
|
1394 |
-
<tag line="
|
1395 |
-
<tag line="
|
1396 |
<type by_reference="false">array</type>
|
1397 |
</tag>
|
1398 |
-
<tag line="
|
1399 |
<type by_reference="false">object</type>
|
1400 |
</tag>
|
1401 |
</docblock>
|
1402 |
-
<argument line="
|
1403 |
<name>$request</name>
|
1404 |
<default><![CDATA[]]></default>
|
1405 |
<type/>
|
1406 |
</argument>
|
1407 |
</method>
|
1408 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1409 |
<name>mla_search_terms_tidy</name>
|
1410 |
<full_name>mla_search_terms_tidy</full_name>
|
1411 |
-
<docblock line="
|
1412 |
<description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
|
1413 |
<long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
|
1414 |
-
<tag line="
|
1415 |
-
<tag line="
|
1416 |
<type by_reference="false">string</type>
|
1417 |
</tag>
|
1418 |
-
<tag line="
|
1419 |
<type by_reference="false">string</type>
|
1420 |
</tag>
|
1421 |
</docblock>
|
1422 |
-
<argument line="
|
1423 |
<name>$term</name>
|
1424 |
<default><![CDATA[]]></default>
|
1425 |
<type/>
|
1426 |
</argument>
|
1427 |
</method>
|
1428 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1429 |
<name>mla_query_posts_search_filter</name>
|
1430 |
<full_name>mla_query_posts_search_filter</full_name>
|
1431 |
-
<docblock line="
|
1432 |
<description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
|
1433 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1434 |
-
<tag line="
|
1435 |
-
<tag line="
|
1436 |
<type by_reference="false">string</type>
|
1437 |
</tag>
|
1438 |
-
<tag line="
|
1439 |
<type by_reference="false">object</type>
|
1440 |
</tag>
|
1441 |
-
<tag line="
|
1442 |
<type by_reference="false">string</type>
|
1443 |
</tag>
|
1444 |
</docblock>
|
1445 |
-
<argument line="
|
1446 |
<name>$search_string</name>
|
1447 |
<default><![CDATA[]]></default>
|
1448 |
<type/>
|
1449 |
</argument>
|
1450 |
-
<argument line="
|
1451 |
<name>$query_object</name>
|
1452 |
<default><![CDATA[]]></default>
|
1453 |
<type/>
|
1454 |
</argument>
|
1455 |
</method>
|
1456 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1457 |
<name>mla_query_posts_where_filter</name>
|
1458 |
<full_name>mla_query_posts_where_filter</full_name>
|
1459 |
-
<docblock line="
|
1460 |
<description><![CDATA[Adds/modifies the WHERE clause for meta values, LIKE patterns and detached items]]></description>
|
1461 |
<long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
|
1462 |
Defined as public because it's a filter.</p>]]></long-description>
|
1463 |
-
<tag line="
|
1464 |
-
<tag line="
|
1465 |
<type by_reference="false">string</type>
|
1466 |
</tag>
|
1467 |
-
<tag line="
|
1468 |
<type by_reference="false">string</type>
|
1469 |
</tag>
|
1470 |
</docblock>
|
1471 |
-
<argument line="
|
1472 |
<name>$where_clause</name>
|
1473 |
<default><![CDATA[]]></default>
|
1474 |
<type/>
|
1475 |
</argument>
|
1476 |
</method>
|
1477 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1478 |
<name>mla_query_posts_join_filter</name>
|
1479 |
<full_name>mla_query_posts_join_filter</full_name>
|
1480 |
-
<docblock line="
|
1481 |
<description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
|
1482 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1483 |
-
<tag line="
|
1484 |
-
<tag line="
|
1485 |
<type by_reference="false">string</type>
|
1486 |
</tag>
|
1487 |
-
<tag line="
|
1488 |
<type by_reference="false">string</type>
|
1489 |
</tag>
|
1490 |
</docblock>
|
1491 |
-
<argument line="
|
1492 |
<name>$join_clause</name>
|
1493 |
<default><![CDATA[]]></default>
|
1494 |
<type/>
|
1495 |
</argument>
|
1496 |
</method>
|
1497 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1498 |
<name>mla_query_posts_groupby_filter</name>
|
1499 |
<full_name>mla_query_posts_groupby_filter</full_name>
|
1500 |
-
<docblock line="
|
1501 |
<description><![CDATA[Adds a GROUPBY clause, if required]]></description>
|
1502 |
<long-description><![CDATA[<p>Taxonomy text queries require a GROUPBY clause.
|
1503 |
Defined as public because it's a filter.</p>]]></long-description>
|
1504 |
-
<tag line="
|
1505 |
-
<tag line="
|
1506 |
<type by_reference="false">string</type>
|
1507 |
</tag>
|
1508 |
-
<tag line="
|
1509 |
<type by_reference="false">string</type>
|
1510 |
</tag>
|
1511 |
</docblock>
|
1512 |
-
<argument line="
|
1513 |
<name>$groupby_clause</name>
|
1514 |
<default><![CDATA[]]></default>
|
1515 |
<type/>
|
1516 |
</argument>
|
1517 |
</method>
|
1518 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1519 |
<name>mla_query_posts_orderby_filter</name>
|
1520 |
<full_name>mla_query_posts_orderby_filter</full_name>
|
1521 |
-
<docblock line="
|
1522 |
<description><![CDATA[Adds a ORDERBY clause, if required]]></description>
|
1523 |
<long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
|
1524 |
Defined as public because it's a filter.</p>]]></long-description>
|
1525 |
-
<tag line="
|
1526 |
-
<tag line="
|
1527 |
<type by_reference="false">string</type>
|
1528 |
</tag>
|
1529 |
-
<tag line="
|
1530 |
<type by_reference="false">string</type>
|
1531 |
</tag>
|
1532 |
</docblock>
|
1533 |
-
<argument line="
|
1534 |
<name>$orderby_clause</name>
|
1535 |
<default><![CDATA[]]></default>
|
1536 |
<type/>
|
1537 |
</argument>
|
1538 |
</method>
|
1539 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1540 |
<name>mla_query_relevanssi_admin_search_ok_filter</name>
|
1541 |
<full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
|
1542 |
-
<docblock line="
|
1543 |
<description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
|
1544 |
Defined as public because it's a filter.]]></description>
|
1545 |
<long-description><![CDATA[]]></long-description>
|
1546 |
-
<tag line="
|
1547 |
-
<tag line="
|
1548 |
<type by_reference="false">boolean</type>
|
1549 |
</tag>
|
1550 |
-
<tag line="
|
1551 |
<type by_reference="false">boolean</type>
|
1552 |
</tag>
|
1553 |
</docblock>
|
1554 |
-
<argument line="
|
1555 |
<name>$admin_search_ok</name>
|
1556 |
<default><![CDATA[]]></default>
|
1557 |
<type/>
|
1558 |
</argument>
|
1559 |
</method>
|
1560 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1561 |
<name>mla_query_posts_clauses_filter</name>
|
1562 |
<full_name>mla_query_posts_clauses_filter</full_name>
|
1563 |
-
<docblock line="
|
1564 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
1565 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1566 |
Defined as public because it's a filter.</p>]]></long-description>
|
1567 |
-
<tag line="
|
1568 |
-
<tag line="
|
1569 |
<type by_reference="false">array</type>
|
1570 |
</tag>
|
1571 |
-
<tag line="
|
1572 |
<type by_reference="false">array</type>
|
1573 |
</tag>
|
1574 |
</docblock>
|
1575 |
-
<argument line="
|
1576 |
<name>$pieces</name>
|
1577 |
<default><![CDATA[]]></default>
|
1578 |
<type/>
|
1579 |
</argument>
|
1580 |
</method>
|
1581 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1582 |
<name>mla_query_posts_clauses_request_filter</name>
|
1583 |
<full_name>mla_query_posts_clauses_request_filter</full_name>
|
1584 |
-
<docblock line="
|
1585 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
1586 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1587 |
Defined as public because it's a filter.</p>]]></long-description>
|
1588 |
-
<tag line="
|
1589 |
-
<tag line="
|
1590 |
<type by_reference="false">array</type>
|
1591 |
</tag>
|
1592 |
-
<tag line="
|
1593 |
<type by_reference="false">array</type>
|
1594 |
</tag>
|
1595 |
</docblock>
|
1596 |
-
<argument line="
|
1597 |
<name>$pieces</name>
|
1598 |
<default><![CDATA[]]></default>
|
1599 |
<type/>
|
1600 |
</argument>
|
1601 |
</method>
|
1602 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1603 |
<name>mla_get_attachment_by_id</name>
|
1604 |
<full_name>mla_get_attachment_by_id</full_name>
|
1605 |
-
<docblock line="
|
1606 |
<description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
|
1607 |
<long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
|
1608 |
the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
|
1609 |
-
<tag line="
|
1610 |
-
<tag line="
|
1611 |
-
<tag line="
|
1612 |
<type by_reference="false">integer</type>
|
1613 |
</tag>
|
1614 |
-
<tag line="
|
1615 |
<type by_reference="false">boolean</type>
|
1616 |
</tag>
|
1617 |
-
<tag line="
|
1618 |
<type by_reference="false">NULL</type>
|
1619 |
<type by_reference="false">array</type>
|
1620 |
</tag>
|
1621 |
</docblock>
|
1622 |
-
<argument line="
|
1623 |
<name>$post_id</name>
|
1624 |
<default><![CDATA[]]></default>
|
1625 |
<type/>
|
1626 |
</argument>
|
1627 |
-
<argument line="
|
1628 |
<name>$add_references</name>
|
1629 |
<default><![CDATA[true]]></default>
|
1630 |
<type/>
|
1631 |
</argument>
|
1632 |
</method>
|
1633 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1634 |
<name>mla_fetch_attachment_parent_data</name>
|
1635 |
<full_name>mla_fetch_attachment_parent_data</full_name>
|
1636 |
-
<docblock line="
|
1637 |
<description><![CDATA[Returns information about an attachment's parent, if found]]></description>
|
1638 |
<long-description><![CDATA[]]></long-description>
|
1639 |
-
<tag line="
|
1640 |
-
<tag line="
|
1641 |
<type by_reference="false">int</type>
|
1642 |
</tag>
|
1643 |
-
<tag line="
|
1644 |
<type by_reference="false">array</type>
|
1645 |
</tag>
|
1646 |
</docblock>
|
1647 |
-
<argument line="
|
1648 |
<name>$parent_id</name>
|
1649 |
<default><![CDATA[]]></default>
|
1650 |
<type/>
|
1651 |
</argument>
|
1652 |
</method>
|
1653 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1654 |
<name>_set_array_element</name>
|
1655 |
<full_name>_set_array_element</full_name>
|
1656 |
-
<docblock line="
|
1657 |
<description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
|
1658 |
<long-description><![CDATA[]]></long-description>
|
1659 |
-
<tag line="
|
1660 |
-
<tag line="
|
1661 |
<type by_reference="false">string</type>
|
1662 |
</tag>
|
1663 |
-
<tag line="
|
1664 |
<type by_reference="false">mixed</type>
|
1665 |
</tag>
|
1666 |
-
<tag line="
|
1667 |
<type by_reference="false">array</type>
|
1668 |
</tag>
|
1669 |
-
<tag line="
|
1670 |
<type by_reference="false">boolean</type>
|
1671 |
</tag>
|
1672 |
</docblock>
|
1673 |
-
<argument line="
|
1674 |
<name>$needle</name>
|
1675 |
<default><![CDATA[]]></default>
|
1676 |
<type/>
|
1677 |
</argument>
|
1678 |
-
<argument line="
|
1679 |
<name>$value</name>
|
1680 |
<default><![CDATA[]]></default>
|
1681 |
<type/>
|
1682 |
</argument>
|
1683 |
-
<argument line="
|
1684 |
<name>$haystack</name>
|
1685 |
<default><![CDATA[]]></default>
|
1686 |
<type/>
|
1687 |
</argument>
|
1688 |
</method>
|
1689 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1690 |
<name>_unset_array_element</name>
|
1691 |
<full_name>_unset_array_element</full_name>
|
1692 |
-
<docblock line="
|
1693 |
<description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
|
1694 |
<long-description><![CDATA[]]></long-description>
|
1695 |
-
<tag line="
|
1696 |
-
<tag line="
|
1697 |
<type by_reference="false">string</type>
|
1698 |
</tag>
|
1699 |
-
<tag line="
|
1700 |
<type by_reference="false">array</type>
|
1701 |
</tag>
|
1702 |
-
<tag line="
|
1703 |
<type by_reference="false">boolean</type>
|
1704 |
</tag>
|
1705 |
</docblock>
|
1706 |
-
<argument line="
|
1707 |
<name>$needle</name>
|
1708 |
<default><![CDATA[]]></default>
|
1709 |
<type/>
|
1710 |
</argument>
|
1711 |
-
<argument line="
|
1712 |
<name>$haystack</name>
|
1713 |
<default><![CDATA[]]></default>
|
1714 |
<type/>
|
1715 |
</argument>
|
1716 |
</method>
|
1717 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1718 |
<name>mla_find_array_element</name>
|
1719 |
<full_name>mla_find_array_element</full_name>
|
1720 |
-
<docblock line="
|
1721 |
<description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
|
1722 |
<long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
|
1723 |
Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
|
1724 |
-
<tag line="
|
1725 |
-
<tag line="
|
1726 |
<type by_reference="false">string</type>
|
1727 |
</tag>
|
1728 |
-
<tag line="
|
1729 |
<type by_reference="false">array</type>
|
1730 |
</tag>
|
1731 |
-
<tag line="
|
1732 |
<type by_reference="false">string</type>
|
1733 |
</tag>
|
1734 |
-
<tag line="
|
1735 |
<type by_reference="false">boolean</type>
|
1736 |
</tag>
|
1737 |
-
<tag line="
|
1738 |
<type by_reference="false">mixed</type>
|
1739 |
</tag>
|
1740 |
</docblock>
|
1741 |
-
<argument line="
|
1742 |
<name>$needle</name>
|
1743 |
<default><![CDATA[]]></default>
|
1744 |
<type/>
|
1745 |
</argument>
|
1746 |
-
<argument line="
|
1747 |
<name>$haystack</name>
|
1748 |
<default><![CDATA[]]></default>
|
1749 |
<type/>
|
1750 |
</argument>
|
1751 |
-
<argument line="
|
1752 |
<name>$option</name>
|
1753 |
<default><![CDATA[]]></default>
|
1754 |
<type/>
|
1755 |
</argument>
|
1756 |
-
<argument line="
|
1757 |
<name>$keep_existing</name>
|
1758 |
<default><![CDATA[false]]></default>
|
1759 |
<type/>
|
1760 |
</argument>
|
1761 |
</method>
|
1762 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1763 |
<name>mla_fetch_attachment_metadata</name>
|
1764 |
<full_name>mla_fetch_attachment_metadata</full_name>
|
1765 |
-
<docblock line="
|
1766 |
<description><![CDATA[Fetch and filter meta data for an attachment]]></description>
|
1767 |
<long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
|
1768 |
are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
|
1769 |
-
<tag line="
|
1770 |
-
<tag line="
|
1771 |
<type by_reference="false">int</type>
|
1772 |
</tag>
|
1773 |
-
<tag line="
|
1774 |
<type by_reference="false">array</type>
|
1775 |
</tag>
|
1776 |
</docblock>
|
1777 |
-
<argument line="
|
1778 |
<name>$post_id</name>
|
1779 |
<default><![CDATA[]]></default>
|
1780 |
<type/>
|
1781 |
</argument>
|
1782 |
</method>
|
1783 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1784 |
<name>mla_fetch_attachment_references</name>
|
1785 |
<full_name>mla_fetch_attachment_references</full_name>
|
1786 |
-
<docblock line="
|
1787 |
<description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
|
1788 |
<long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
|
1789 |
as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
|
1790 |
-
<tag line="
|
1791 |
-
<tag line="
|
1792 |
<type by_reference="false">int</type>
|
1793 |
</tag>
|
1794 |
-
<tag line="
|
1795 |
<type by_reference="false">int</type>
|
1796 |
</tag>
|
1797 |
-
<tag line="
|
1798 |
<type by_reference="false">boolean</type>
|
1799 |
</tag>
|
1800 |
-
<tag line="
|
1801 |
<type by_reference="false">array</type>
|
1802 |
</tag>
|
1803 |
</docblock>
|
1804 |
-
<argument line="
|
1805 |
<name>$ID</name>
|
1806 |
<default><![CDATA[]]></default>
|
1807 |
<type/>
|
1808 |
</argument>
|
1809 |
-
<argument line="
|
1810 |
<name>$parent</name>
|
1811 |
<default><![CDATA[]]></default>
|
1812 |
<type/>
|
1813 |
</argument>
|
1814 |
-
<argument line="
|
1815 |
<name>$add_references</name>
|
1816 |
<default><![CDATA[true]]></default>
|
1817 |
<type/>
|
1818 |
</argument>
|
1819 |
</method>
|
1820 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1821 |
<name>mla_attachment_array_fetch_references</name>
|
1822 |
<full_name>mla_attachment_array_fetch_references</full_name>
|
1823 |
-
<docblock line="
|
1824 |
<description><![CDATA[Add Featured Image and inserted image/link references to an array of attachments]]></description>
|
1825 |
<long-description><![CDATA[<p>Searches all post and page content to see if the attachmenta are used
|
1826 |
as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
|
1827 |
-
<tag line="
|
1828 |
-
<tag line="
|
1829 |
<type by_reference="false">array</type>
|
1830 |
</tag>
|
1831 |
-
<tag line="
|
1832 |
<type by_reference="false">void</type>
|
1833 |
</tag>
|
1834 |
</docblock>
|
1835 |
-
<argument line="
|
1836 |
<name>$attachments</name>
|
1837 |
<default><![CDATA[]]></default>
|
1838 |
<type/>
|
1839 |
</argument>
|
1840 |
</method>
|
1841 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1842 |
<name>mla_flush_mla_galleries</name>
|
1843 |
<full_name>mla_flush_mla_galleries</full_name>
|
1844 |
-
<docblock line="
|
1845 |
<description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
|
1846 |
<long-description><![CDATA[]]></long-description>
|
1847 |
-
<tag line="
|
1848 |
-
<tag line="
|
1849 |
<type by_reference="false">string</type>
|
1850 |
</tag>
|
1851 |
-
<tag line="
|
1852 |
<type by_reference="false">void</type>
|
1853 |
</tag>
|
1854 |
</docblock>
|
1855 |
-
<argument line="
|
1856 |
<name>$option_name</name>
|
1857 |
<default><![CDATA[]]></default>
|
1858 |
<type/>
|
1859 |
</argument>
|
1860 |
</method>
|
1861 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
1862 |
<name>mla_save_post_action</name>
|
1863 |
<full_name>mla_save_post_action</full_name>
|
1864 |
-
<docblock line="
|
1865 |
<description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
|
1866 |
<long-description><![CDATA[]]></long-description>
|
1867 |
-
<tag line="
|
1868 |
-
<tag line="
|
1869 |
<type by_reference="false">integer</type>
|
1870 |
</tag>
|
1871 |
-
<tag line="
|
1872 |
<type by_reference="false">void</type>
|
1873 |
</tag>
|
1874 |
</docblock>
|
1875 |
-
<argument line="
|
1876 |
<name>$post_id</name>
|
1877 |
<default><![CDATA[]]></default>
|
1878 |
<type/>
|
1879 |
</argument>
|
1880 |
</method>
|
1881 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1882 |
<name>_build_mla_galleries</name>
|
1883 |
<full_name>_build_mla_galleries</full_name>
|
1884 |
-
<docblock line="
|
1885 |
<description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
|
1886 |
<long-description><![CDATA[]]></long-description>
|
1887 |
-
<tag line="
|
1888 |
-
<tag line="
|
1889 |
<type by_reference="false">string</type>
|
1890 |
</tag>
|
1891 |
-
<tag line="
|
1892 |
<type by_reference="false">array</type>
|
1893 |
</tag>
|
1894 |
-
<tag line="
|
1895 |
<type by_reference="false">string</type>
|
1896 |
</tag>
|
1897 |
-
<tag line="
|
1898 |
<type by_reference="false">boolean</type>
|
1899 |
</tag>
|
1900 |
-
<tag line="
|
1901 |
<type by_reference="false">boolean</type>
|
1902 |
</tag>
|
1903 |
</docblock>
|
1904 |
-
<argument line="
|
1905 |
<name>$option_name</name>
|
1906 |
<default><![CDATA[]]></default>
|
1907 |
<type/>
|
1908 |
</argument>
|
1909 |
-
<argument line="
|
1910 |
<name>$galleries_array</name>
|
1911 |
<default><![CDATA[]]></default>
|
1912 |
<type/>
|
1913 |
</argument>
|
1914 |
-
<argument line="
|
1915 |
<name>$shortcode</name>
|
1916 |
<default><![CDATA[]]></default>
|
1917 |
<type/>
|
1918 |
</argument>
|
1919 |
-
<argument line="
|
1920 |
<name>$exclude_revisions</name>
|
1921 |
<default><![CDATA[]]></default>
|
1922 |
<type/>
|
1923 |
</argument>
|
1924 |
</method>
|
1925 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1926 |
<name>_search_mla_galleries</name>
|
1927 |
<full_name>_search_mla_galleries</full_name>
|
1928 |
-
<docblock line="
|
1929 |
<description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
|
1930 |
<long-description><![CDATA[]]></long-description>
|
1931 |
-
<tag line="
|
1932 |
-
<tag line="
|
1933 |
<type by_reference="false">array</type>
|
1934 |
</tag>
|
1935 |
-
<tag line="
|
1936 |
<type by_reference="false">int</type>
|
1937 |
</tag>
|
1938 |
-
<tag line="
|
1939 |
<type by_reference="false">array</type>
|
1940 |
</tag>
|
1941 |
</docblock>
|
1942 |
-
<argument line="
|
1943 |
<name>$galleries_array</name>
|
1944 |
<default><![CDATA[]]></default>
|
1945 |
<type/>
|
1946 |
</argument>
|
1947 |
-
<argument line="
|
1948 |
<name>$attachment_id</name>
|
1949 |
<default><![CDATA[]]></default>
|
1950 |
<type/>
|
1951 |
</argument>
|
1952 |
</method>
|
1953 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1954 |
<name>_parse_pdf_xref_subsection</name>
|
1955 |
<full_name>_parse_pdf_xref_subsection</full_name>
|
1956 |
-
<docblock line="
|
1957 |
<description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
|
1958 |
<long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
|
1959 |
-
<tag line="
|
1960 |
-
<tag line="
|
1961 |
<type by_reference="false">string</type>
|
1962 |
</tag>
|
1963 |
-
<tag line="
|
1964 |
<type by_reference="false">integer</type>
|
1965 |
</tag>
|
1966 |
-
<tag line="
|
1967 |
<type by_reference="false">integer</type>
|
1968 |
</tag>
|
1969 |
-
<tag line="
|
1970 |
<type by_reference="false">integer</type>
|
1971 |
</tag>
|
1972 |
-
<tag line="
|
1973 |
<type by_reference="false">void</type>
|
1974 |
</tag>
|
1975 |
</docblock>
|
1976 |
-
<argument line="
|
1977 |
<name>$xref_section</name>
|
1978 |
<default><![CDATA[]]></default>
|
1979 |
<type/>
|
1980 |
</argument>
|
1981 |
-
<argument line="
|
1982 |
<name>$offset</name>
|
1983 |
<default><![CDATA[]]></default>
|
1984 |
<type/>
|
1985 |
</argument>
|
1986 |
-
<argument line="
|
1987 |
<name>$object_id</name>
|
1988 |
<default><![CDATA[]]></default>
|
1989 |
<type/>
|
1990 |
</argument>
|
1991 |
-
<argument line="
|
1992 |
<name>$count</name>
|
1993 |
<default><![CDATA[]]></default>
|
1994 |
<type/>
|
1995 |
</argument>
|
1996 |
</method>
|
1997 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
1998 |
<name>_parse_pdf_xref_section</name>
|
1999 |
<full_name>_parse_pdf_xref_section</full_name>
|
2000 |
-
<docblock line="
|
2001 |
<description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
|
2002 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
2003 |
-
<tag line="
|
2004 |
-
<tag line="
|
2005 |
<type by_reference="false">string</type>
|
2006 |
</tag>
|
2007 |
-
<tag line="
|
2008 |
<type by_reference="false">integer</type>
|
2009 |
</tag>
|
2010 |
-
<tag line="
|
2011 |
<type by_reference="false">integer</type>
|
2012 |
</tag>
|
2013 |
</docblock>
|
2014 |
-
<argument line="
|
2015 |
<name>$file_name</name>
|
2016 |
<default><![CDATA[]]></default>
|
2017 |
<type/>
|
2018 |
</argument>
|
2019 |
-
<argument line="
|
2020 |
<name>$file_offset</name>
|
2021 |
<default><![CDATA[]]></default>
|
2022 |
<type/>
|
2023 |
</argument>
|
2024 |
</method>
|
2025 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2026 |
<name>_parse_pdf_xref_stream</name>
|
2027 |
<full_name>_parse_pdf_xref_stream</full_name>
|
2028 |
-
<docblock line="
|
2029 |
<description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
|
2030 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
2031 |
-
<tag line="
|
2032 |
-
<tag line="
|
2033 |
<type by_reference="false">string</type>
|
2034 |
</tag>
|
2035 |
-
<tag line="
|
2036 |
<type by_reference="false">integer</type>
|
2037 |
</tag>
|
2038 |
-
<tag line="
|
2039 |
<type by_reference="false">string</type>
|
2040 |
</tag>
|
2041 |
-
<tag line="
|
2042 |
<type by_reference="false">integer</type>
|
2043 |
</tag>
|
2044 |
</docblock>
|
2045 |
-
<argument line="
|
2046 |
<name>$file_name</name>
|
2047 |
<default><![CDATA[]]></default>
|
2048 |
<type/>
|
2049 |
</argument>
|
2050 |
-
<argument line="
|
2051 |
<name>$file_offset</name>
|
2052 |
<default><![CDATA[]]></default>
|
2053 |
<type/>
|
2054 |
</argument>
|
2055 |
-
<argument line="
|
2056 |
<name>$entry_parms_string</name>
|
2057 |
<default><![CDATA[]]></default>
|
2058 |
<type/>
|
2059 |
</argument>
|
2060 |
</method>
|
2061 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2062 |
<name>_build_pdf_indirect_objects</name>
|
2063 |
<full_name>_build_pdf_indirect_objects</full_name>
|
2064 |
-
<docblock line="
|
2065 |
<description><![CDATA[Build an array of indirect object definitions]]></description>
|
2066 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
2067 |
-
<tag line="
|
2068 |
-
<tag line="
|
2069 |
<type by_reference="false">string</type>
|
2070 |
</tag>
|
2071 |
-
<tag line="
|
2072 |
<type by_reference="false">void</type>
|
2073 |
</tag>
|
2074 |
</docblock>
|
2075 |
-
<argument line="
|
2076 |
<name>$string</name>
|
2077 |
<default><![CDATA[]]></default>
|
2078 |
<type/>
|
2079 |
</argument>
|
2080 |
</method>
|
2081 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2082 |
<name>_find_pdf_indirect_dictionary</name>
|
2083 |
<full_name>_find_pdf_indirect_dictionary</full_name>
|
2084 |
-
<docblock line="
|
2085 |
<description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
|
2086 |
<long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
|
2087 |
This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
|
2088 |
-
<tag line="
|
2089 |
-
<tag line="
|
2090 |
<type by_reference="false">string</type>
|
2091 |
</tag>
|
2092 |
-
<tag line="
|
2093 |
<type by_reference="false">integer</type>
|
2094 |
</tag>
|
2095 |
-
<tag line="
|
2096 |
<type by_reference="false">integer</type>
|
2097 |
</tag>
|
2098 |
-
<tag line="
|
2099 |
<type by_reference="false">mixed</type>
|
2100 |
</tag>
|
2101 |
</docblock>
|
2102 |
-
<argument line="
|
2103 |
<name>$file_name</name>
|
2104 |
<default><![CDATA[]]></default>
|
2105 |
<type/>
|
2106 |
</argument>
|
2107 |
-
<argument line="
|
2108 |
<name>$object</name>
|
2109 |
<default><![CDATA[]]></default>
|
2110 |
<type/>
|
2111 |
</argument>
|
2112 |
-
<argument line="
|
2113 |
<name>$generation</name>
|
2114 |
<default><![CDATA[0]]></default>
|
2115 |
<type/>
|
2116 |
</argument>
|
2117 |
</method>
|
2118 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2119 |
<name>_parse_iso8601_date</name>
|
2120 |
<full_name>_parse_iso8601_date</full_name>
|
2121 |
-
<docblock line="
|
2122 |
<description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
|
2123 |
<long-description><![CDATA[]]></long-description>
|
2124 |
-
<tag line="
|
2125 |
-
<tag line="
|
2126 |
<type by_reference="false">string</type>
|
2127 |
</tag>
|
2128 |
-
<tag line="
|
2129 |
<type by_reference="false">string</type>
|
2130 |
</tag>
|
2131 |
</docblock>
|
2132 |
-
<argument line="
|
2133 |
<name>$source_string</name>
|
2134 |
<default><![CDATA[]]></default>
|
2135 |
<type/>
|
2136 |
</argument>
|
2137 |
</method>
|
2138 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2139 |
<name>_parse_pdf_date</name>
|
2140 |
<full_name>_parse_pdf_date</full_name>
|
2141 |
-
<docblock line="
|
2142 |
<description><![CDATA[Parse a PDF date string]]></description>
|
2143 |
<long-description><![CDATA[]]></long-description>
|
2144 |
-
<tag line="
|
2145 |
-
<tag line="
|
2146 |
<type by_reference="false">string</type>
|
2147 |
</tag>
|
2148 |
-
<tag line="
|
2149 |
<type by_reference="false">string</type>
|
2150 |
</tag>
|
2151 |
</docblock>
|
2152 |
-
<argument line="
|
2153 |
<name>$source_string</name>
|
2154 |
<default><![CDATA[]]></default>
|
2155 |
<type/>
|
2156 |
</argument>
|
2157 |
</method>
|
2158 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2159 |
<name>_parse_pdf_UTF16BE</name>
|
2160 |
<full_name>_parse_pdf_UTF16BE</full_name>
|
2161 |
-
<docblock line="
|
2162 |
<description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
|
2163 |
<long-description><![CDATA[]]></long-description>
|
2164 |
-
<tag line="
|
2165 |
-
<tag line="
|
2166 |
<type by_reference="false">string</type>
|
2167 |
</tag>
|
2168 |
-
<tag line="
|
2169 |
<type by_reference="false">string</type>
|
2170 |
</tag>
|
2171 |
</docblock>
|
2172 |
-
<argument line="
|
2173 |
<name>$source_string</name>
|
2174 |
<default><![CDATA[]]></default>
|
2175 |
<type/>
|
2176 |
</argument>
|
2177 |
</method>
|
2178 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2179 |
<name>_parse_pdf_string</name>
|
2180 |
<full_name>_parse_pdf_string</full_name>
|
2181 |
-
<docblock line="
|
2182 |
<description><![CDATA[Parse a PDF string object]]></description>
|
2183 |
<long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
|
2184 |
the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
|
2185 |
-
<tag line="
|
2186 |
-
<tag line="
|
2187 |
<type by_reference="false">string</type>
|
2188 |
</tag>
|
2189 |
-
<tag line="
|
2190 |
<type by_reference="false">integer</type>
|
2191 |
</tag>
|
2192 |
-
<tag line="
|
2193 |
<type by_reference="false">array</type>
|
2194 |
</tag>
|
2195 |
</docblock>
|
2196 |
-
<argument line="
|
2197 |
<name>$source_string</name>
|
2198 |
<default><![CDATA[]]></default>
|
2199 |
<type/>
|
2200 |
</argument>
|
2201 |
-
<argument line="
|
2202 |
<name>$offset</name>
|
2203 |
<default><![CDATA[]]></default>
|
2204 |
<type/>
|
2205 |
</argument>
|
2206 |
</method>
|
2207 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2208 |
<name>_parse_pdf_LPD_dictionary</name>
|
2209 |
<full_name>_parse_pdf_LPD_dictionary</full_name>
|
2210 |
-
<docblock line="
|
2211 |
<description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
|
2212 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
2213 |
indirect (object), name, array, dictionary, stream, and null.
|
2214 |
The array also has a '/length' element containing the number of bytes occupied by the
|
2215 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
2216 |
-
<tag line="
|
2217 |
-
<tag line="
|
2218 |
<type by_reference="false">string</type>
|
2219 |
</tag>
|
2220 |
-
<tag line="
|
2221 |
<type by_reference="false">integer</type>
|
2222 |
</tag>
|
2223 |
-
<tag line="
|
2224 |
<type by_reference="false">mixed</type>
|
2225 |
</tag>
|
2226 |
</docblock>
|
2227 |
-
<argument line="
|
2228 |
<name>$source_string</name>
|
2229 |
<default><![CDATA[]]></default>
|
2230 |
<type/>
|
2231 |
</argument>
|
2232 |
-
<argument line="
|
2233 |
<name>$filesize</name>
|
2234 |
<default><![CDATA[]]></default>
|
2235 |
<type/>
|
2236 |
</argument>
|
2237 |
</method>
|
2238 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2239 |
<name>_parse_pdf_dictionary</name>
|
2240 |
<full_name>_parse_pdf_dictionary</full_name>
|
2241 |
-
<docblock line="
|
2242 |
<description><![CDATA[Parse a PDF dictionary object]]></description>
|
2243 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
2244 |
indirect (object), name, array, dictionary, stream, and null.
|
2245 |
The array also has a '/length' element containing the number of bytes occupied by the
|
2246 |
dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
|
2247 |
-
<tag line="
|
2248 |
-
<tag line="
|
2249 |
<type by_reference="false">string</type>
|
2250 |
</tag>
|
2251 |
-
<tag line="
|
2252 |
<type by_reference="false">integer</type>
|
2253 |
</tag>
|
2254 |
-
<tag line="
|
2255 |
<type by_reference="false">array</type>
|
2256 |
</tag>
|
2257 |
</docblock>
|
2258 |
-
<argument line="
|
2259 |
<name>$source_string</name>
|
2260 |
<default><![CDATA[]]></default>
|
2261 |
<type/>
|
2262 |
</argument>
|
2263 |
-
<argument line="
|
2264 |
<name>$offset</name>
|
2265 |
<default><![CDATA[]]></default>
|
2266 |
<type/>
|
2267 |
</argument>
|
2268 |
</method>
|
2269 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2270 |
<name>_parse_xmp_metadata</name>
|
2271 |
<full_name>_parse_xmp_metadata</full_name>
|
2272 |
-
<docblock line="
|
2273 |
<description><![CDATA[Parse an XMP object]]></description>
|
2274 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
2275 |
indirect (object), name, array, dictionary, stream, and null.
|
2276 |
The array also has a '/length' element containing the number of bytes occupied by the
|
2277 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
2278 |
-
<tag line="
|
2279 |
-
<tag line="
|
2280 |
<type by_reference="false">string</type>
|
2281 |
</tag>
|
2282 |
-
<tag line="
|
2283 |
<type by_reference="false">integer</type>
|
2284 |
</tag>
|
2285 |
-
<tag line="
|
2286 |
<type by_reference="false">mixed</type>
|
2287 |
</tag>
|
2288 |
</docblock>
|
2289 |
-
<argument line="
|
2290 |
<name>$file_name</name>
|
2291 |
<default><![CDATA[]]></default>
|
2292 |
<type/>
|
2293 |
</argument>
|
2294 |
-
<argument line="
|
2295 |
<name>$file_offset</name>
|
2296 |
<default><![CDATA[]]></default>
|
2297 |
<type/>
|
2298 |
</argument>
|
2299 |
</method>
|
2300 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2301 |
<name>_extract_pdf_trailer</name>
|
2302 |
<full_name>_extract_pdf_trailer</full_name>
|
2303 |
-
<docblock line="
|
2304 |
<description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
|
2305 |
<long-description><![CDATA[]]></long-description>
|
2306 |
-
<tag line="
|
2307 |
-
<tag line="
|
2308 |
<type by_reference="false">string</type>
|
2309 |
</tag>
|
2310 |
-
<tag line="
|
2311 |
<type by_reference="false">integer</type>
|
2312 |
</tag>
|
2313 |
-
<tag line="
|
2314 |
<type by_reference="false">mixed</type>
|
2315 |
</tag>
|
2316 |
</docblock>
|
2317 |
-
<argument line="
|
2318 |
<name>$file_name</name>
|
2319 |
<default><![CDATA[]]></default>
|
2320 |
<type/>
|
2321 |
</argument>
|
2322 |
-
<argument line="
|
2323 |
<name>$file_offset</name>
|
2324 |
<default><![CDATA[]]></default>
|
2325 |
<type/>
|
2326 |
</argument>
|
2327 |
</method>
|
2328 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2329 |
<name>_extract_pdf_metadata</name>
|
2330 |
<full_name>_extract_pdf_metadata</full_name>
|
2331 |
-
<docblock line="
|
2332 |
<description><![CDATA[Extract Metadata from a PDF file]]></description>
|
2333 |
<long-description><![CDATA[]]></long-description>
|
2334 |
-
<tag line="
|
2335 |
-
<tag line="
|
2336 |
<type by_reference="false">string</type>
|
2337 |
</tag>
|
2338 |
-
<tag line="
|
2339 |
<type by_reference="false">array</type>
|
2340 |
</tag>
|
2341 |
</docblock>
|
2342 |
-
<argument line="
|
2343 |
<name>$file_name</name>
|
2344 |
<default><![CDATA[]]></default>
|
2345 |
<type/>
|
2346 |
</argument>
|
2347 |
</method>
|
2348 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2349 |
<name>_bin_to_utf8</name>
|
2350 |
<full_name>_bin_to_utf8</full_name>
|
2351 |
-
<docblock line="
|
2352 |
<description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
|
2353 |
<long-description><![CDATA[]]></long-description>
|
2354 |
-
<tag line="
|
2355 |
-
<tag line="
|
2356 |
<type by_reference="false">string</type>
|
2357 |
</tag>
|
2358 |
-
<tag line="
|
2359 |
<type by_reference="false">string</type>
|
2360 |
</tag>
|
2361 |
</docblock>
|
2362 |
-
<argument line="
|
2363 |
<name>$string</name>
|
2364 |
<default><![CDATA[]]></default>
|
2365 |
<type/>
|
2366 |
</argument>
|
2367 |
</method>
|
2368 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2369 |
<name>mla_iptc_metadata_value</name>
|
2370 |
<full_name>mla_iptc_metadata_value</full_name>
|
2371 |
-
<docblock line="
|
2372 |
<description><![CDATA[Parse one IPTC metadata field]]></description>
|
2373 |
<long-description><![CDATA[]]></long-description>
|
2374 |
-
<tag line="
|
2375 |
-
<tag line="
|
2376 |
<type by_reference="false">string</type>
|
2377 |
</tag>
|
2378 |
-
<tag line="
|
2379 |
<type by_reference="false">string</type>
|
2380 |
</tag>
|
2381 |
-
<tag line="
|
2382 |
<type by_reference="false">mixed</type>
|
2383 |
</tag>
|
2384 |
</docblock>
|
2385 |
-
<argument line="
|
2386 |
<name>$iptc_key</name>
|
2387 |
<default><![CDATA[]]></default>
|
2388 |
<type/>
|
2389 |
</argument>
|
2390 |
-
<argument line="
|
2391 |
<name>$item_metadata</name>
|
2392 |
<default><![CDATA[]]></default>
|
2393 |
<type/>
|
2394 |
</argument>
|
2395 |
</method>
|
2396 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2397 |
<name>mla_exif_metadata_value</name>
|
2398 |
<full_name>mla_exif_metadata_value</full_name>
|
2399 |
-
<docblock line="
|
2400 |
<description><![CDATA[Parse one EXIF metadata field]]></description>
|
2401 |
<long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
|
2402 |
-
<tag line="
|
2403 |
-
<tag line="
|
2404 |
<type by_reference="false">string</type>
|
2405 |
</tag>
|
2406 |
-
<tag line="
|
2407 |
<type by_reference="false">string</type>
|
2408 |
</tag>
|
2409 |
-
<tag line="
|
2410 |
<type by_reference="false">mixed</type>
|
2411 |
</tag>
|
2412 |
</docblock>
|
2413 |
-
<argument line="
|
2414 |
<name>$exif_key</name>
|
2415 |
<default><![CDATA[]]></default>
|
2416 |
<type/>
|
2417 |
</argument>
|
2418 |
-
<argument line="
|
2419 |
<name>$item_metadata</name>
|
2420 |
<default><![CDATA[]]></default>
|
2421 |
<type/>
|
2422 |
</argument>
|
2423 |
</method>
|
2424 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2425 |
<name>mla_pdf_metadata_value</name>
|
2426 |
<full_name>mla_pdf_metadata_value</full_name>
|
2427 |
-
<docblock line="
|
2428 |
<description><![CDATA[Parse one PDF metadata field]]></description>
|
2429 |
<long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
|
2430 |
-
<tag line="
|
2431 |
-
<tag line="
|
2432 |
<type by_reference="false">string</type>
|
2433 |
</tag>
|
2434 |
-
<tag line="
|
2435 |
<type by_reference="false">string</type>
|
2436 |
</tag>
|
2437 |
-
<tag line="
|
2438 |
<type by_reference="false">mixed</type>
|
2439 |
</tag>
|
2440 |
</docblock>
|
2441 |
-
<argument line="
|
2442 |
<name>$pdf_key</name>
|
2443 |
<default><![CDATA[]]></default>
|
2444 |
<type/>
|
2445 |
</argument>
|
2446 |
-
<argument line="
|
2447 |
<name>$item_metadata</name>
|
2448 |
<default><![CDATA[]]></default>
|
2449 |
<type/>
|
2450 |
</argument>
|
2451 |
</method>
|
2452 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2453 |
<name>_rational_to_decimal</name>
|
2454 |
<full_name>_rational_to_decimal</full_name>
|
2455 |
-
<docblock line="
|
2456 |
<description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
|
2457 |
<long-description><![CDATA[]]></long-description>
|
2458 |
-
<tag line="
|
2459 |
-
<tag line="
|
2460 |
<type by_reference="false">array</type>
|
2461 |
</tag>
|
2462 |
-
<tag line="
|
2463 |
<type by_reference="false">float</type>
|
2464 |
</tag>
|
2465 |
</docblock>
|
2466 |
-
<argument line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2467 |
<name>$rational</name>
|
2468 |
<default><![CDATA[]]></default>
|
2469 |
<type/>
|
2470 |
</argument>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2471 |
</method>
|
2472 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2473 |
<name>mla_IPTC_EXIF_error_handler</name>
|
2474 |
<full_name>mla_IPTC_EXIF_error_handler</full_name>
|
2475 |
-
<docblock line="
|
2476 |
<description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
|
2477 |
<long-description><![CDATA[]]></long-description>
|
2478 |
-
<tag line="
|
2479 |
-
<tag line="
|
2480 |
<type by_reference="false">int</type>
|
2481 |
</tag>
|
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">int</type>
|
2490 |
</tag>
|
2491 |
-
<tag line="
|
2492 |
<type by_reference="false">boolean</type>
|
2493 |
</tag>
|
2494 |
</docblock>
|
2495 |
-
<argument line="
|
2496 |
<name>$type</name>
|
2497 |
<default><![CDATA[]]></default>
|
2498 |
<type/>
|
2499 |
</argument>
|
2500 |
-
<argument line="
|
2501 |
<name>$string</name>
|
2502 |
<default><![CDATA[]]></default>
|
2503 |
<type/>
|
2504 |
</argument>
|
2505 |
-
<argument line="
|
2506 |
<name>$file</name>
|
2507 |
<default><![CDATA[]]></default>
|
2508 |
<type/>
|
2509 |
</argument>
|
2510 |
-
<argument line="
|
2511 |
<name>$line</name>
|
2512 |
<default><![CDATA[]]></default>
|
2513 |
<type/>
|
2514 |
</argument>
|
2515 |
</method>
|
2516 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2517 |
<name>mla_fetch_attachment_image_metadata</name>
|
2518 |
<full_name>mla_fetch_attachment_image_metadata</full_name>
|
2519 |
-
<docblock line="
|
2520 |
<description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
|
2521 |
<long-description><![CDATA[]]></long-description>
|
2522 |
-
<tag line="
|
2523 |
-
<tag line="
|
2524 |
<type by_reference="false">int</type>
|
2525 |
</tag>
|
2526 |
-
<tag line="
|
2527 |
<type by_reference="false">string</type>
|
2528 |
</tag>
|
2529 |
-
<tag line="
|
2530 |
<type by_reference="false">array</type>
|
2531 |
</tag>
|
2532 |
</docblock>
|
2533 |
-
<argument line="
|
2534 |
<name>$post_id</name>
|
2535 |
<default><![CDATA[]]></default>
|
2536 |
<type/>
|
2537 |
</argument>
|
2538 |
-
<argument line="
|
2539 |
<name>$path</name>
|
2540 |
<default><![CDATA['']]></default>
|
2541 |
<type/>
|
2542 |
</argument>
|
2543 |
</method>
|
2544 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2545 |
<name>mla_update_wp_attachment_metadata</name>
|
2546 |
<full_name>mla_update_wp_attachment_metadata</full_name>
|
2547 |
-
<docblock line="
|
2548 |
<description><![CDATA[Update "meta:" data for a single attachment]]></description>
|
2549 |
<long-description><![CDATA[]]></long-description>
|
2550 |
-
<tag line="
|
2551 |
-
<tag line="
|
2552 |
<type by_reference="false">array</type>
|
2553 |
</tag>
|
2554 |
-
<tag line="
|
2555 |
<type by_reference="false">array</type>
|
2556 |
</tag>
|
2557 |
-
<tag line="
|
2558 |
<type by_reference="false">string</type>
|
2559 |
</tag>
|
2560 |
</docblock>
|
2561 |
-
<argument line="
|
2562 |
<name>$current_values</name>
|
2563 |
<default><![CDATA[]]></default>
|
2564 |
<type/>
|
2565 |
</argument>
|
2566 |
-
<argument line="
|
2567 |
<name>$new_meta</name>
|
2568 |
<default><![CDATA[]]></default>
|
2569 |
<type/>
|
2570 |
</argument>
|
2571 |
</method>
|
2572 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2573 |
<name>mla_update_item_postmeta</name>
|
2574 |
<full_name>mla_update_item_postmeta</full_name>
|
2575 |
-
<docblock line="
|
2576 |
<description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
|
2577 |
<long-description><![CDATA[]]></long-description>
|
2578 |
-
<tag line="
|
2579 |
-
<tag line="
|
2580 |
<type by_reference="false">int</type>
|
2581 |
</tag>
|
2582 |
-
<tag line="
|
2583 |
<type by_reference="false">array</type>
|
2584 |
</tag>
|
2585 |
-
<tag line="
|
2586 |
<type by_reference="false">string</type>
|
2587 |
</tag>
|
2588 |
</docblock>
|
2589 |
-
<argument line="
|
2590 |
<name>$post_id</name>
|
2591 |
<default><![CDATA[]]></default>
|
2592 |
<type/>
|
2593 |
</argument>
|
2594 |
-
<argument line="
|
2595 |
<name>$new_meta</name>
|
2596 |
<default><![CDATA[]]></default>
|
2597 |
<type/>
|
2598 |
</argument>
|
2599 |
</method>
|
2600 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2601 |
<name>mla_update_single_item</name>
|
2602 |
<full_name>mla_update_single_item</full_name>
|
2603 |
-
<docblock line="
|
2604 |
<description><![CDATA[Update a single item; change the "post" data, taxonomy terms
|
2605 |
and meta data for a single attachment]]></description>
|
2606 |
<long-description><![CDATA[]]></long-description>
|
2607 |
-
<tag line="
|
2608 |
-
<tag line="
|
2609 |
<type by_reference="false">int</type>
|
2610 |
</tag>
|
2611 |
-
<tag line="
|
2612 |
<type by_reference="false">array</type>
|
2613 |
</tag>
|
2614 |
-
<tag line="
|
2615 |
<type by_reference="false">array</type>
|
2616 |
</tag>
|
2617 |
-
<tag line="
|
2618 |
<type by_reference="false">array</type>
|
2619 |
</tag>
|
2620 |
-
<tag line="
|
2621 |
<type by_reference="false">array</type>
|
2622 |
</tag>
|
2623 |
</docblock>
|
2624 |
-
<argument line="
|
2625 |
<name>$post_id</name>
|
2626 |
<default><![CDATA[]]></default>
|
2627 |
<type/>
|
2628 |
</argument>
|
2629 |
-
<argument line="
|
2630 |
<name>$new_data</name>
|
2631 |
<default><![CDATA[]]></default>
|
2632 |
<type/>
|
2633 |
</argument>
|
2634 |
-
<argument line="
|
2635 |
<name>$tax_input</name>
|
2636 |
<default><![CDATA[NULL]]></default>
|
2637 |
<type/>
|
2638 |
</argument>
|
2639 |
-
<argument line="
|
2640 |
<name>$tax_actions</name>
|
2641 |
<default><![CDATA[NULL]]></default>
|
2642 |
<type/>
|
2643 |
</argument>
|
2644 |
</method>
|
2645 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2646 |
<name>_remove_terms</name>
|
2647 |
<full_name>_remove_terms</full_name>
|
2648 |
-
<docblock line="
|
2649 |
<description><![CDATA[Remove terms from an attachment's assignments]]></description>
|
2650 |
<long-description><![CDATA[]]></long-description>
|
2651 |
-
<tag line="
|
2652 |
-
<tag line="
|
2653 |
<type by_reference="false">integer</type>
|
2654 |
</tag>
|
2655 |
-
<tag line="
|
2656 |
<type by_reference="false">array</type>
|
2657 |
</tag>
|
2658 |
-
<tag line="
|
2659 |
<type by_reference="false">object</type>
|
2660 |
</tag>
|
2661 |
-
<tag line="
|
2662 |
<type by_reference="false">array</type>
|
2663 |
</tag>
|
2664 |
</docblock>
|
2665 |
-
<argument line="
|
2666 |
<name>$post_id</name>
|
2667 |
<default><![CDATA[]]></default>
|
2668 |
<type/>
|
2669 |
</argument>
|
2670 |
-
<argument line="
|
2671 |
<name>$terms</name>
|
2672 |
<default><![CDATA[]]></default>
|
2673 |
<type/>
|
2674 |
</argument>
|
2675 |
-
<argument line="
|
2676 |
<name>$taxonomy_obj</name>
|
2677 |
<default><![CDATA[]]></default>
|
2678 |
<type/>
|
2679 |
</argument>
|
2680 |
</method>
|
2681 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2682 |
<name>_hex_dump</name>
|
2683 |
<full_name>_hex_dump</full_name>
|
2684 |
-
<docblock line="
|
2685 |
<description><![CDATA[Format printable version of binary data]]></description>
|
2686 |
<long-description><![CDATA[]]></long-description>
|
2687 |
-
<tag line="
|
2688 |
-
<tag line="
|
2689 |
<type by_reference="false">string</type>
|
2690 |
</tag>
|
2691 |
-
<tag line="
|
2692 |
<type by_reference="false">integer</type>
|
2693 |
</tag>
|
2694 |
-
<tag line="
|
2695 |
<type by_reference="false">\intger</type>
|
2696 |
</tag>
|
2697 |
-
<tag line="
|
2698 |
<type by_reference="false">integer</type>
|
2699 |
</tag>
|
2700 |
-
<tag line="
|
2701 |
<type by_reference="false">string</type>
|
2702 |
</tag>
|
2703 |
</docblock>
|
2704 |
-
<argument line="
|
2705 |
<name>$data</name>
|
2706 |
<default><![CDATA[]]></default>
|
2707 |
<type/>
|
2708 |
</argument>
|
2709 |
-
<argument line="
|
2710 |
<name>$limit</name>
|
2711 |
<default><![CDATA[0]]></default>
|
2712 |
<type/>
|
2713 |
</argument>
|
2714 |
-
<argument line="
|
2715 |
<name>$bytes_per_row</name>
|
2716 |
<default><![CDATA[16]]></default>
|
2717 |
<type/>
|
2718 |
</argument>
|
2719 |
-
<argument line="
|
2720 |
<name>$offset</name>
|
2721 |
<default><![CDATA[-1]]></default>
|
2722 |
<type/>
|
@@ -2724,10 +2788,10 @@ and meta data for a single attachment]]></description>
|
|
2724 |
</method>
|
2725 |
</class>
|
2726 |
<markers>
|
2727 |
-
<todo line="
|
2728 |
</markers>
|
2729 |
</file>
|
2730 |
-
<file path="includes\class-mla-edit-media.php" hash="
|
2731 |
<docblock line="2">
|
2732 |
<description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
|
2733 |
<long-description><![CDATA[]]></long-description>
|
@@ -2783,15 +2847,15 @@ and meta data for a single attachment]]></description>
|
|
2783 |
</tag>
|
2784 |
</docblock>
|
2785 |
</constant>
|
2786 |
-
<property final="false" static="true" visibility="private" line="
|
2787 |
<name>$mla_references</name>
|
2788 |
<default><![CDATA[null]]></default>
|
2789 |
-
<docblock line="
|
2790 |
<description><![CDATA[Where-used values for the current item]]></description>
|
2791 |
<long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
|
2792 |
The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
|
2793 |
-
<tag line="
|
2794 |
-
<tag line="
|
2795 |
<type by_reference="false">array</type>
|
2796 |
</tag>
|
2797 |
</docblock>
|
@@ -2820,425 +2884,490 @@ The array is built once each page load and cached for subsequent calls.</p>]]></
|
|
2820 |
</tag>
|
2821 |
</docblock>
|
2822 |
</method>
|
2823 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2824 |
<name>mla_admin_enqueue_scripts_action</name>
|
2825 |
<full_name>mla_admin_enqueue_scripts_action</full_name>
|
2826 |
-
<docblock line="
|
2827 |
<description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
|
2828 |
<long-description><![CDATA[]]></long-description>
|
2829 |
-
<tag line="
|
2830 |
-
<tag line="
|
2831 |
<type by_reference="false">string</type>
|
2832 |
</tag>
|
2833 |
-
<tag line="
|
2834 |
<type by_reference="false">void</type>
|
2835 |
</tag>
|
2836 |
</docblock>
|
2837 |
-
<argument line="
|
2838 |
<name>$page_hook</name>
|
2839 |
<default><![CDATA[]]></default>
|
2840 |
<type/>
|
2841 |
</argument>
|
2842 |
</method>
|
2843 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2844 |
<name>mla_post_updated_messages_filter</name>
|
2845 |
<full_name>mla_post_updated_messages_filter</full_name>
|
2846 |
-
<docblock line="
|
2847 |
<description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
|
2848 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
2849 |
-
<tag line="
|
2850 |
-
<tag line="
|
2851 |
<type by_reference="false">array</type>
|
2852 |
</tag>
|
2853 |
-
<tag line="
|
2854 |
<type by_reference="false">array</type>
|
2855 |
</tag>
|
2856 |
</docblock>
|
2857 |
-
<argument line="
|
2858 |
<name>$messages</name>
|
2859 |
<default><![CDATA[]]></default>
|
2860 |
<type/>
|
2861 |
</argument>
|
2862 |
</method>
|
2863 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2864 |
<name>mla_attachment_submitbox_action</name>
|
2865 |
<full_name>mla_attachment_submitbox_action</full_name>
|
2866 |
-
<docblock line="
|
2867 |
<description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
|
2868 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2869 |
-
<tag line="
|
2870 |
-
<tag line="
|
2871 |
<type by_reference="false">void</type>
|
2872 |
</tag>
|
2873 |
</docblock>
|
2874 |
</method>
|
2875 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2876 |
<name>mla_add_meta_boxes_action</name>
|
2877 |
<full_name>mla_add_meta_boxes_action</full_name>
|
2878 |
-
<docblock line="
|
2879 |
<description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
|
2880 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2881 |
-
<tag line="
|
2882 |
-
<tag line="
|
2883 |
<type by_reference="false">string</type>
|
2884 |
</tag>
|
2885 |
-
<tag line="
|
2886 |
<type by_reference="false">object</type>
|
2887 |
</tag>
|
2888 |
-
<tag line="
|
2889 |
<type by_reference="false">void</type>
|
2890 |
</tag>
|
2891 |
</docblock>
|
2892 |
-
<argument line="
|
2893 |
<name>$post_type</name>
|
2894 |
<default><![CDATA['unknown']]></default>
|
2895 |
<type/>
|
2896 |
</argument>
|
2897 |
-
<argument line="
|
2898 |
<name>$post</name>
|
2899 |
<default><![CDATA[NULL]]></default>
|
2900 |
<type/>
|
2901 |
</argument>
|
2902 |
</method>
|
2903 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2904 |
<name>mla_edit_add_help_tab</name>
|
2905 |
<full_name>mla_edit_add_help_tab</full_name>
|
2906 |
-
<docblock line="
|
2907 |
<description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
|
2908 |
<long-description><![CDATA[]]></long-description>
|
2909 |
-
<tag line="
|
2910 |
-
<tag line="
|
2911 |
<type by_reference="false">string</type>
|
2912 |
</tag>
|
2913 |
-
<tag line="
|
2914 |
<type by_reference="false">string</type>
|
2915 |
</tag>
|
2916 |
-
<tag line="
|
2917 |
<type by_reference="false">void</type>
|
2918 |
</tag>
|
2919 |
</docblock>
|
2920 |
-
<argument line="
|
2921 |
<name>$admin_title</name>
|
2922 |
<default><![CDATA[]]></default>
|
2923 |
<type/>
|
2924 |
</argument>
|
2925 |
-
<argument line="
|
2926 |
<name>$title</name>
|
2927 |
<default><![CDATA[]]></default>
|
2928 |
<type/>
|
2929 |
</argument>
|
2930 |
</method>
|
2931 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2932 |
<name>mla_parent_info_handler</name>
|
2933 |
<full_name>mla_parent_info_handler</full_name>
|
2934 |
-
<docblock line="
|
2935 |
<description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
|
2936 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2937 |
-
<tag line="
|
2938 |
-
<tag line="
|
2939 |
<type by_reference="false">object</type>
|
2940 |
</tag>
|
2941 |
-
<tag line="
|
2942 |
<type by_reference="false">void</type>
|
2943 |
</tag>
|
2944 |
</docblock>
|
2945 |
-
<argument line="
|
2946 |
<name>$post</name>
|
2947 |
<default><![CDATA[]]></default>
|
2948 |
<type/>
|
2949 |
</argument>
|
2950 |
</method>
|
2951 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2952 |
<name>mla_menu_order_handler</name>
|
2953 |
<full_name>mla_menu_order_handler</full_name>
|
2954 |
-
<docblock line="
|
2955 |
<description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
|
2956 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2957 |
-
<tag line="
|
2958 |
-
<tag line="
|
2959 |
<type by_reference="false">object</type>
|
2960 |
</tag>
|
2961 |
-
<tag line="
|
2962 |
<type by_reference="false">void</type>
|
2963 |
</tag>
|
2964 |
</docblock>
|
2965 |
-
<argument line="
|
2966 |
<name>$post</name>
|
2967 |
<default><![CDATA[]]></default>
|
2968 |
<type/>
|
2969 |
</argument>
|
2970 |
</method>
|
2971 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2972 |
<name>mla_image_metadata_handler</name>
|
2973 |
<full_name>mla_image_metadata_handler</full_name>
|
2974 |
-
<docblock line="
|
2975 |
<description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
|
2976 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2977 |
-
<tag line="
|
2978 |
-
<tag line="
|
2979 |
<type by_reference="false">object</type>
|
2980 |
</tag>
|
2981 |
-
<tag line="
|
2982 |
<type by_reference="false">void</type>
|
2983 |
</tag>
|
2984 |
</docblock>
|
2985 |
-
<argument line="
|
2986 |
<name>$post</name>
|
2987 |
<default><![CDATA[]]></default>
|
2988 |
<type/>
|
2989 |
</argument>
|
2990 |
</method>
|
2991 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2992 |
<name>mla_featured_in_handler</name>
|
2993 |
<full_name>mla_featured_in_handler</full_name>
|
2994 |
-
<docblock line="
|
2995 |
<description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
|
2996 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2997 |
-
<tag line="
|
2998 |
-
<tag line="
|
2999 |
<type by_reference="false">object</type>
|
3000 |
</tag>
|
3001 |
-
<tag line="
|
3002 |
<type by_reference="false">void</type>
|
3003 |
</tag>
|
3004 |
</docblock>
|
3005 |
-
<argument line="
|
3006 |
<name>$post</name>
|
3007 |
<default><![CDATA[]]></default>
|
3008 |
<type/>
|
3009 |
</argument>
|
3010 |
</method>
|
3011 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3012 |
<name>mla_inserted_in_handler</name>
|
3013 |
<full_name>mla_inserted_in_handler</full_name>
|
3014 |
-
<docblock line="
|
3015 |
<description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
|
3016 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3017 |
-
<tag line="
|
3018 |
-
<tag line="
|
3019 |
<type by_reference="false">object</type>
|
3020 |
</tag>
|
3021 |
-
<tag line="
|
3022 |
<type by_reference="false">void</type>
|
3023 |
</tag>
|
3024 |
</docblock>
|
3025 |
-
<argument line="
|
3026 |
<name>$post</name>
|
3027 |
<default><![CDATA[]]></default>
|
3028 |
<type/>
|
3029 |
</argument>
|
3030 |
</method>
|
3031 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3032 |
<name>mla_gallery_in_handler</name>
|
3033 |
<full_name>mla_gallery_in_handler</full_name>
|
3034 |
-
<docblock line="
|
3035 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
3036 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3037 |
-
<tag line="
|
3038 |
-
<tag line="
|
3039 |
<type by_reference="false">object</type>
|
3040 |
</tag>
|
3041 |
-
<tag line="
|
3042 |
<type by_reference="false">void</type>
|
3043 |
</tag>
|
3044 |
</docblock>
|
3045 |
-
<argument line="
|
3046 |
<name>$post</name>
|
3047 |
<default><![CDATA[]]></default>
|
3048 |
<type/>
|
3049 |
</argument>
|
3050 |
</method>
|
3051 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3052 |
<name>mla_mla_gallery_in_handler</name>
|
3053 |
<full_name>mla_mla_gallery_in_handler</full_name>
|
3054 |
-
<docblock line="
|
3055 |
<description><![CDATA[Renders the MLA Gallery in meta box on the Edit Media page.]]></description>
|
3056 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3057 |
-
<tag line="
|
3058 |
-
<tag line="
|
3059 |
<type by_reference="false">object</type>
|
3060 |
</tag>
|
3061 |
-
<tag line="
|
3062 |
<type by_reference="false">void</type>
|
3063 |
</tag>
|
3064 |
</docblock>
|
3065 |
-
<argument line="
|
3066 |
<name>$post</name>
|
3067 |
<default><![CDATA[]]></default>
|
3068 |
<type/>
|
3069 |
</argument>
|
3070 |
</method>
|
3071 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3072 |
<name>mla_edit_attachment_action</name>
|
3073 |
<full_name>mla_edit_attachment_action</full_name>
|
3074 |
-
<docblock line="
|
3075 |
<description><![CDATA[Saves updates from the Edit Media screen.]]></description>
|
3076 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
3077 |
-
<tag line="
|
3078 |
-
<tag line="
|
3079 |
<type by_reference="false">integer</type>
|
3080 |
</tag>
|
3081 |
-
<tag line="
|
3082 |
<type by_reference="false">void</type>
|
3083 |
</tag>
|
3084 |
</docblock>
|
3085 |
-
<argument line="
|
3086 |
<name>$post_ID</name>
|
3087 |
<default><![CDATA[]]></default>
|
3088 |
<type/>
|
3089 |
</argument>
|
3090 |
</method>
|
3091 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
3092 |
<name>_mla_ajax_add_flat_term</name>
|
3093 |
<full_name>_mla_ajax_add_flat_term</full_name>
|
3094 |
-
<docblock line="
|
3095 |
<description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
|
3096 |
<long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
|
3097 |
-
<tag line="
|
3098 |
-
<tag line="
|
3099 |
<type by_reference="false">string</type>
|
3100 |
</tag>
|
3101 |
-
<tag line="
|
3102 |
<type by_reference="false">void</type>
|
3103 |
</tag>
|
3104 |
</docblock>
|
3105 |
-
<argument line="
|
3106 |
<name>$key</name>
|
3107 |
<default><![CDATA[]]></default>
|
3108 |
<type/>
|
3109 |
</argument>
|
3110 |
</method>
|
3111 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3112 |
<name>mla_checklist_meta_box</name>
|
3113 |
<full_name>mla_checklist_meta_box</full_name>
|
3114 |
-
<docblock line="
|
3115 |
<description><![CDATA[Display taxonomy "checklist" form fields]]></description>
|
3116 |
<long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
|
3117 |
Includes the "? Search" area to filter the term checklist by entering part
|
3118 |
or all of a word/phrase in the term label.
|
3119 |
Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
|
3120 |
-
<tag line="
|
3121 |
-
<tag line="
|
3122 |
<type by_reference="false">object</type>
|
3123 |
</tag>
|
3124 |
-
<tag line="
|
3125 |
<type by_reference="false">array</type>
|
3126 |
</tag>
|
3127 |
-
<tag line="
|
3128 |
<type by_reference="false">void</type>
|
3129 |
</tag>
|
3130 |
</docblock>
|
3131 |
-
<argument line="
|
3132 |
<name>$target_post</name>
|
3133 |
<default><![CDATA[]]></default>
|
3134 |
<type/>
|
3135 |
</argument>
|
3136 |
-
<argument line="
|
3137 |
<name>$box</name>
|
3138 |
<default><![CDATA[]]></default>
|
3139 |
<type/>
|
3140 |
</argument>
|
3141 |
</method>
|
3142 |
</class>
|
3143 |
-
<class final="false" abstract="false" namespace="global" line="
|
3144 |
<extends>\Walker_Category</extends>
|
3145 |
<name>MLA_Checklist_Walker</name>
|
3146 |
<full_name>\MLA_Checklist_Walker</full_name>
|
3147 |
-
<docblock line="
|
3148 |
<description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
|
3149 |
<long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
|
3150 |
Class Walker_Category is defined in /wp-includes/category-template.php.
|
3151 |
Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
|
3152 |
-
<tag line="
|
3153 |
-
<tag line="
|
3154 |
</docblock>
|
3155 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3156 |
<name>start_el</name>
|
3157 |
<full_name>start_el</full_name>
|
3158 |
-
<docblock line="
|
3159 |
<description><![CDATA[Start the element output.]]></description>
|
3160 |
<long-description><![CDATA[]]></long-description>
|
3161 |
-
<tag line="
|
3162 |
-
<tag line="
|
3163 |
-
<tag line="
|
3164 |
<type by_reference="false">string</type>
|
3165 |
</tag>
|
3166 |
-
<tag line="
|
3167 |
<type by_reference="false">object</type>
|
3168 |
</tag>
|
3169 |
-
<tag line="
|
3170 |
<type by_reference="false">int</type>
|
3171 |
</tag>
|
3172 |
-
<tag line="
|
3173 |
<type by_reference="false">array</type>
|
3174 |
</tag>
|
3175 |
-
<tag line="
|
3176 |
<type by_reference="false">int</type>
|
3177 |
</tag>
|
3178 |
</docblock>
|
3179 |
-
<argument line="
|
3180 |
<name>$output</name>
|
3181 |
<default><![CDATA[]]></default>
|
3182 |
<type/>
|
3183 |
</argument>
|
3184 |
-
<argument line="
|
3185 |
<name>$taxonomy_object</name>
|
3186 |
<default><![CDATA[]]></default>
|
3187 |
<type/>
|
3188 |
</argument>
|
3189 |
-
<argument line="
|
3190 |
<name>$depth</name>
|
3191 |
<default><![CDATA[0]]></default>
|
3192 |
<type/>
|
3193 |
</argument>
|
3194 |
-
<argument line="
|
3195 |
<name>$args</name>
|
3196 |
<default><![CDATA[array()]]></default>
|
3197 |
<type/>
|
3198 |
</argument>
|
3199 |
-
<argument line="
|
3200 |
<name>$id</name>
|
3201 |
<default><![CDATA[0]]></default>
|
3202 |
<type/>
|
3203 |
</argument>
|
3204 |
</method>
|
3205 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3206 |
<name>end_el</name>
|
3207 |
<full_name>end_el</full_name>
|
3208 |
-
<docblock line="
|
3209 |
<description><![CDATA[Ends the element output, if needed.]]></description>
|
3210 |
<long-description><![CDATA[]]></long-description>
|
3211 |
-
<tag line="
|
3212 |
-
<tag line="
|
3213 |
-
<tag line="
|
3214 |
<type by_reference="false">string</type>
|
3215 |
</tag>
|
3216 |
-
<tag line="
|
3217 |
<type by_reference="false">object</type>
|
3218 |
</tag>
|
3219 |
-
<tag line="
|
3220 |
<type by_reference="false">int</type>
|
3221 |
</tag>
|
3222 |
-
<tag line="
|
3223 |
<type by_reference="false">array</type>
|
3224 |
</tag>
|
3225 |
</docblock>
|
3226 |
-
<argument line="
|
3227 |
<name>$output</name>
|
3228 |
<default><![CDATA[]]></default>
|
3229 |
<type/>
|
3230 |
</argument>
|
3231 |
-
<argument line="
|
3232 |
<name>$category</name>
|
3233 |
<default><![CDATA[]]></default>
|
3234 |
<type/>
|
3235 |
</argument>
|
3236 |
-
<argument line="
|
3237 |
<name>$depth</name>
|
3238 |
<default><![CDATA[0]]></default>
|
3239 |
<type/>
|
3240 |
</argument>
|
3241 |
-
<argument line="
|
3242 |
<name>$args</name>
|
3243 |
<default><![CDATA[array()]]></default>
|
3244 |
<type/>
|
@@ -3246,7 +3375,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-descri
|
|
3246 |
</method>
|
3247 |
</class>
|
3248 |
</file>
|
3249 |
-
<file path="includes\class-mla-list-table.php" hash="
|
3250 |
<docblock line="2">
|
3251 |
<description><![CDATA[Media Library Assistant extended List Table class]]></description>
|
3252 |
<long-description><![CDATA[]]></long-description>
|
@@ -3640,694 +3769,694 @@ a specific method, so this function returns a troubleshooting message.</p>]]></l
|
|
3640 |
<type/>
|
3641 |
</argument>
|
3642 |
</method>
|
3643 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3644 |
<name>column_cb</name>
|
3645 |
<full_name>column_cb</full_name>
|
3646 |
-
<docblock line="
|
3647 |
<description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
|
3648 |
<long-description><![CDATA[<p>The 'cb' column
|
3649 |
is given special treatment when columns are processed.</p>]]></long-description>
|
3650 |
-
<tag line="
|
3651 |
-
<tag line="
|
3652 |
<type by_reference="false">array</type>
|
3653 |
</tag>
|
3654 |
-
<tag line="
|
3655 |
<type by_reference="false">string</type>
|
3656 |
</tag>
|
3657 |
</docblock>
|
3658 |
-
<argument line="
|
3659 |
<name>$item</name>
|
3660 |
<default><![CDATA[]]></default>
|
3661 |
<type/>
|
3662 |
</argument>
|
3663 |
</method>
|
3664 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3665 |
<name>column_icon</name>
|
3666 |
<full_name>column_icon</full_name>
|
3667 |
-
<docblock line="
|
3668 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3669 |
<long-description><![CDATA[]]></long-description>
|
3670 |
-
<tag line="
|
3671 |
-
<tag line="
|
3672 |
<type by_reference="false">array</type>
|
3673 |
</tag>
|
3674 |
-
<tag line="
|
3675 |
<type by_reference="false">string</type>
|
3676 |
</tag>
|
3677 |
</docblock>
|
3678 |
-
<argument line="
|
3679 |
<name>$item</name>
|
3680 |
<default><![CDATA[]]></default>
|
3681 |
<type/>
|
3682 |
</argument>
|
3683 |
</method>
|
3684 |
-
<method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="
|
3685 |
<name>_format_post_status</name>
|
3686 |
<full_name>_format_post_status</full_name>
|
3687 |
-
<docblock line="
|
3688 |
<description><![CDATA[Translate post_status 'future', 'pending' and 'draft' to label]]></description>
|
3689 |
<long-description><![CDATA[]]></long-description>
|
3690 |
-
<tag line="
|
3691 |
-
<tag line="
|
3692 |
<type by_reference="false">string</type>
|
3693 |
</tag>
|
3694 |
-
<tag line="
|
3695 |
<type by_reference="false">string</type>
|
3696 |
</tag>
|
3697 |
</docblock>
|
3698 |
-
<argument line="
|
3699 |
<name>$post_status</name>
|
3700 |
<default><![CDATA[]]></default>
|
3701 |
<type/>
|
3702 |
</argument>
|
3703 |
</method>
|
3704 |
-
<method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="
|
3705 |
<name>_build_rollover_actions</name>
|
3706 |
<full_name>_build_rollover_actions</full_name>
|
3707 |
-
<docblock line="
|
3708 |
<description><![CDATA[Add rollover actions to exactly one of the following displayed columns:
|
3709 |
'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
|
3710 |
<long-description><![CDATA[]]></long-description>
|
3711 |
-
<tag line="
|
3712 |
-
<tag line="
|
3713 |
<type by_reference="false">object</type>
|
3714 |
</tag>
|
3715 |
-
<tag line="
|
3716 |
<type by_reference="false">string</type>
|
3717 |
</tag>
|
3718 |
-
<tag line="
|
3719 |
<type by_reference="false">array</type>
|
3720 |
</tag>
|
3721 |
</docblock>
|
3722 |
-
<argument line="
|
3723 |
<name>$item</name>
|
3724 |
<default><![CDATA[]]></default>
|
3725 |
<type/>
|
3726 |
</argument>
|
3727 |
-
<argument line="
|
3728 |
<name>$column</name>
|
3729 |
<default><![CDATA[]]></default>
|
3730 |
<type/>
|
3731 |
</argument>
|
3732 |
</method>
|
3733 |
-
<method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="
|
3734 |
<name>_build_inline_data</name>
|
3735 |
<full_name>_build_inline_data</full_name>
|
3736 |
-
<docblock line="
|
3737 |
<description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
|
3738 |
<long-description><![CDATA[]]></long-description>
|
3739 |
-
<tag line="
|
3740 |
-
<tag line="
|
3741 |
<type by_reference="false">object</type>
|
3742 |
</tag>
|
3743 |
-
<tag line="
|
3744 |
<type by_reference="false">string</type>
|
3745 |
</tag>
|
3746 |
</docblock>
|
3747 |
-
<argument line="
|
3748 |
<name>$item</name>
|
3749 |
<default><![CDATA[]]></default>
|
3750 |
<type/>
|
3751 |
</argument>
|
3752 |
</method>
|
3753 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3754 |
<name>column_ID_parent</name>
|
3755 |
<full_name>column_ID_parent</full_name>
|
3756 |
-
<docblock line="
|
3757 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3758 |
<long-description><![CDATA[]]></long-description>
|
3759 |
-
<tag line="
|
3760 |
-
<tag line="
|
3761 |
<type by_reference="false">array</type>
|
3762 |
</tag>
|
3763 |
-
<tag line="
|
3764 |
<type by_reference="false">string</type>
|
3765 |
</tag>
|
3766 |
</docblock>
|
3767 |
-
<argument line="
|
3768 |
<name>$item</name>
|
3769 |
<default><![CDATA[]]></default>
|
3770 |
<type/>
|
3771 |
</argument>
|
3772 |
</method>
|
3773 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3774 |
<name>column_title_name</name>
|
3775 |
<full_name>column_title_name</full_name>
|
3776 |
-
<docblock line="
|
3777 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3778 |
<long-description><![CDATA[]]></long-description>
|
3779 |
-
<tag line="
|
3780 |
-
<tag line="
|
3781 |
<type by_reference="false">array</type>
|
3782 |
</tag>
|
3783 |
-
<tag line="
|
3784 |
<type by_reference="false">string</type>
|
3785 |
</tag>
|
3786 |
</docblock>
|
3787 |
-
<argument line="
|
3788 |
<name>$item</name>
|
3789 |
<default><![CDATA[]]></default>
|
3790 |
<type/>
|
3791 |
</argument>
|
3792 |
</method>
|
3793 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3794 |
<name>column_post_title</name>
|
3795 |
<full_name>column_post_title</full_name>
|
3796 |
-
<docblock line="
|
3797 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3798 |
<long-description><![CDATA[]]></long-description>
|
3799 |
-
<tag line="
|
3800 |
-
<tag line="
|
3801 |
<type by_reference="false">array</type>
|
3802 |
</tag>
|
3803 |
-
<tag line="
|
3804 |
<type by_reference="false">string</type>
|
3805 |
</tag>
|
3806 |
</docblock>
|
3807 |
-
<argument line="
|
3808 |
<name>$item</name>
|
3809 |
<default><![CDATA[]]></default>
|
3810 |
<type/>
|
3811 |
</argument>
|
3812 |
</method>
|
3813 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3814 |
<name>column_post_name</name>
|
3815 |
<full_name>column_post_name</full_name>
|
3816 |
-
<docblock line="
|
3817 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3818 |
<long-description><![CDATA[]]></long-description>
|
3819 |
-
<tag line="
|
3820 |
-
<tag line="
|
3821 |
<type by_reference="false">array</type>
|
3822 |
</tag>
|
3823 |
-
<tag line="
|
3824 |
<type by_reference="false">string</type>
|
3825 |
</tag>
|
3826 |
</docblock>
|
3827 |
-
<argument line="
|
3828 |
<name>$item</name>
|
3829 |
<default><![CDATA[]]></default>
|
3830 |
<type/>
|
3831 |
</argument>
|
3832 |
</method>
|
3833 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3834 |
<name>column_parent</name>
|
3835 |
<full_name>column_parent</full_name>
|
3836 |
-
<docblock line="
|
3837 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3838 |
<long-description><![CDATA[]]></long-description>
|
3839 |
-
<tag line="
|
3840 |
-
<tag line="
|
3841 |
<type by_reference="false">array</type>
|
3842 |
</tag>
|
3843 |
-
<tag line="
|
3844 |
<type by_reference="false">string</type>
|
3845 |
</tag>
|
3846 |
</docblock>
|
3847 |
-
<argument line="
|
3848 |
<name>$item</name>
|
3849 |
<default><![CDATA[]]></default>
|
3850 |
<type/>
|
3851 |
</argument>
|
3852 |
</method>
|
3853 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3854 |
<name>column_menu_order</name>
|
3855 |
<full_name>column_menu_order</full_name>
|
3856 |
-
<docblock line="
|
3857 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3858 |
<long-description><![CDATA[]]></long-description>
|
3859 |
-
<tag line="
|
3860 |
-
<tag line="
|
3861 |
<type by_reference="false">array</type>
|
3862 |
</tag>
|
3863 |
-
<tag line="
|
3864 |
<type by_reference="false">string</type>
|
3865 |
</tag>
|
3866 |
</docblock>
|
3867 |
-
<argument line="
|
3868 |
<name>$item</name>
|
3869 |
<default><![CDATA[]]></default>
|
3870 |
<type/>
|
3871 |
</argument>
|
3872 |
</method>
|
3873 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3874 |
<name>column_featured</name>
|
3875 |
<full_name>column_featured</full_name>
|
3876 |
-
<docblock line="
|
3877 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3878 |
<long-description><![CDATA[]]></long-description>
|
3879 |
-
<tag line="
|
3880 |
-
<tag line="
|
3881 |
<type by_reference="false">array</type>
|
3882 |
</tag>
|
3883 |
-
<tag line="
|
3884 |
<type by_reference="false">string</type>
|
3885 |
</tag>
|
3886 |
</docblock>
|
3887 |
-
<argument line="
|
3888 |
<name>$item</name>
|
3889 |
<default><![CDATA[]]></default>
|
3890 |
<type/>
|
3891 |
</argument>
|
3892 |
</method>
|
3893 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3894 |
<name>column_inserted</name>
|
3895 |
<full_name>column_inserted</full_name>
|
3896 |
-
<docblock line="
|
3897 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3898 |
<long-description><![CDATA[]]></long-description>
|
3899 |
-
<tag line="
|
3900 |
-
<tag line="
|
3901 |
<type by_reference="false">array</type>
|
3902 |
</tag>
|
3903 |
-
<tag line="
|
3904 |
<type by_reference="false">string</type>
|
3905 |
</tag>
|
3906 |
</docblock>
|
3907 |
-
<argument line="
|
3908 |
<name>$item</name>
|
3909 |
<default><![CDATA[]]></default>
|
3910 |
<type/>
|
3911 |
</argument>
|
3912 |
</method>
|
3913 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3914 |
<name>column_galleries</name>
|
3915 |
<full_name>column_galleries</full_name>
|
3916 |
-
<docblock line="
|
3917 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3918 |
<long-description><![CDATA[]]></long-description>
|
3919 |
-
<tag line="
|
3920 |
-
<tag line="
|
3921 |
<type by_reference="false">array</type>
|
3922 |
</tag>
|
3923 |
-
<tag line="
|
3924 |
<type by_reference="false">string</type>
|
3925 |
</tag>
|
3926 |
</docblock>
|
3927 |
-
<argument line="
|
3928 |
<name>$item</name>
|
3929 |
<default><![CDATA[]]></default>
|
3930 |
<type/>
|
3931 |
</argument>
|
3932 |
</method>
|
3933 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3934 |
<name>column_mla_galleries</name>
|
3935 |
<full_name>column_mla_galleries</full_name>
|
3936 |
-
<docblock line="
|
3937 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3938 |
<long-description><![CDATA[]]></long-description>
|
3939 |
-
<tag line="
|
3940 |
-
<tag line="
|
3941 |
<type by_reference="false">array</type>
|
3942 |
</tag>
|
3943 |
-
<tag line="
|
3944 |
<type by_reference="false">string</type>
|
3945 |
</tag>
|
3946 |
</docblock>
|
3947 |
-
<argument line="
|
3948 |
<name>$item</name>
|
3949 |
<default><![CDATA[]]></default>
|
3950 |
<type/>
|
3951 |
</argument>
|
3952 |
</method>
|
3953 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3954 |
<name>column_alt_text</name>
|
3955 |
<full_name>column_alt_text</full_name>
|
3956 |
-
<docblock line="
|
3957 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3958 |
<long-description><![CDATA[]]></long-description>
|
3959 |
-
<tag line="
|
3960 |
-
<tag line="
|
3961 |
<type by_reference="false">array</type>
|
3962 |
</tag>
|
3963 |
-
<tag line="
|
3964 |
<type by_reference="false">string</type>
|
3965 |
</tag>
|
3966 |
</docblock>
|
3967 |
-
<argument line="
|
3968 |
<name>$item</name>
|
3969 |
<default><![CDATA[]]></default>
|
3970 |
<type/>
|
3971 |
</argument>
|
3972 |
</method>
|
3973 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3974 |
<name>column_caption</name>
|
3975 |
<full_name>column_caption</full_name>
|
3976 |
-
<docblock line="
|
3977 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3978 |
<long-description><![CDATA[]]></long-description>
|
3979 |
-
<tag line="
|
3980 |
-
<tag line="
|
3981 |
<type by_reference="false">array</type>
|
3982 |
</tag>
|
3983 |
-
<tag line="
|
3984 |
<type by_reference="false">string</type>
|
3985 |
</tag>
|
3986 |
</docblock>
|
3987 |
-
<argument line="
|
3988 |
<name>$item</name>
|
3989 |
<default><![CDATA[]]></default>
|
3990 |
<type/>
|
3991 |
</argument>
|
3992 |
</method>
|
3993 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3994 |
<name>column_description</name>
|
3995 |
<full_name>column_description</full_name>
|
3996 |
-
<docblock line="
|
3997 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3998 |
<long-description><![CDATA[]]></long-description>
|
3999 |
-
<tag line="
|
4000 |
-
<tag line="
|
4001 |
<type by_reference="false">array</type>
|
4002 |
</tag>
|
4003 |
-
<tag line="
|
4004 |
<type by_reference="false">string</type>
|
4005 |
</tag>
|
4006 |
</docblock>
|
4007 |
-
<argument line="
|
4008 |
<name>$item</name>
|
4009 |
<default><![CDATA[]]></default>
|
4010 |
<type/>
|
4011 |
</argument>
|
4012 |
</method>
|
4013 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4014 |
<name>column_post_mime_type</name>
|
4015 |
<full_name>column_post_mime_type</full_name>
|
4016 |
-
<docblock line="
|
4017 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4018 |
<long-description><![CDATA[]]></long-description>
|
4019 |
-
<tag line="
|
4020 |
-
<tag line="
|
4021 |
<type by_reference="false">array</type>
|
4022 |
</tag>
|
4023 |
-
<tag line="
|
4024 |
<type by_reference="false">string</type>
|
4025 |
</tag>
|
4026 |
</docblock>
|
4027 |
-
<argument line="
|
4028 |
<name>$item</name>
|
4029 |
<default><![CDATA[]]></default>
|
4030 |
<type/>
|
4031 |
</argument>
|
4032 |
</method>
|
4033 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4034 |
<name>column_file_url</name>
|
4035 |
<full_name>column_file_url</full_name>
|
4036 |
-
<docblock line="
|
4037 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4038 |
<long-description><![CDATA[]]></long-description>
|
4039 |
-
<tag line="
|
4040 |
-
<tag line="
|
4041 |
<type by_reference="false">array</type>
|
4042 |
</tag>
|
4043 |
-
<tag line="
|
4044 |
<type by_reference="false">string</type>
|
4045 |
</tag>
|
4046 |
</docblock>
|
4047 |
-
<argument line="
|
4048 |
<name>$item</name>
|
4049 |
<default><![CDATA[]]></default>
|
4050 |
<type/>
|
4051 |
</argument>
|
4052 |
</method>
|
4053 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4054 |
<name>column_base_file</name>
|
4055 |
<full_name>column_base_file</full_name>
|
4056 |
-
<docblock line="
|
4057 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4058 |
<long-description><![CDATA[]]></long-description>
|
4059 |
-
<tag line="
|
4060 |
-
<tag line="
|
4061 |
<type by_reference="false">array</type>
|
4062 |
</tag>
|
4063 |
-
<tag line="
|
4064 |
<type by_reference="false">string</type>
|
4065 |
</tag>
|
4066 |
</docblock>
|
4067 |
-
<argument line="
|
4068 |
<name>$item</name>
|
4069 |
<default><![CDATA[]]></default>
|
4070 |
<type/>
|
4071 |
</argument>
|
4072 |
</method>
|
4073 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4074 |
<name>column_date</name>
|
4075 |
<full_name>column_date</full_name>
|
4076 |
-
<docblock line="
|
4077 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4078 |
<long-description><![CDATA[]]></long-description>
|
4079 |
-
<tag line="
|
4080 |
-
<tag line="
|
4081 |
<type by_reference="false">array</type>
|
4082 |
</tag>
|
4083 |
-
<tag line="
|
4084 |
<type by_reference="false">string</type>
|
4085 |
</tag>
|
4086 |
</docblock>
|
4087 |
-
<argument line="
|
4088 |
<name>$item</name>
|
4089 |
<default><![CDATA[]]></default>
|
4090 |
<type/>
|
4091 |
</argument>
|
4092 |
</method>
|
4093 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4094 |
<name>column_modified</name>
|
4095 |
<full_name>column_modified</full_name>
|
4096 |
-
<docblock line="
|
4097 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4098 |
<long-description><![CDATA[]]></long-description>
|
4099 |
-
<tag line="
|
4100 |
-
<tag line="
|
4101 |
<type by_reference="false">array</type>
|
4102 |
</tag>
|
4103 |
-
<tag line="
|
4104 |
<type by_reference="false">string</type>
|
4105 |
</tag>
|
4106 |
</docblock>
|
4107 |
-
<argument line="
|
4108 |
<name>$item</name>
|
4109 |
<default><![CDATA[]]></default>
|
4110 |
<type/>
|
4111 |
</argument>
|
4112 |
</method>
|
4113 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4114 |
<name>column_author</name>
|
4115 |
<full_name>column_author</full_name>
|
4116 |
-
<docblock line="
|
4117 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4118 |
<long-description><![CDATA[]]></long-description>
|
4119 |
-
<tag line="
|
4120 |
-
<tag line="
|
4121 |
<type by_reference="false">array</type>
|
4122 |
</tag>
|
4123 |
-
<tag line="
|
4124 |
<type by_reference="false">string</type>
|
4125 |
</tag>
|
4126 |
</docblock>
|
4127 |
-
<argument line="
|
4128 |
<name>$item</name>
|
4129 |
<default><![CDATA[]]></default>
|
4130 |
<type/>
|
4131 |
</argument>
|
4132 |
</method>
|
4133 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4134 |
<name>column_attached_to</name>
|
4135 |
<full_name>column_attached_to</full_name>
|
4136 |
-
<docblock line="
|
4137 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4138 |
<long-description><![CDATA[]]></long-description>
|
4139 |
-
<tag line="
|
4140 |
-
<tag line="
|
4141 |
<type by_reference="false">array</type>
|
4142 |
</tag>
|
4143 |
-
<tag line="
|
4144 |
<type by_reference="false">string</type>
|
4145 |
</tag>
|
4146 |
</docblock>
|
4147 |
-
<argument line="
|
4148 |
<name>$item</name>
|
4149 |
<default><![CDATA[]]></default>
|
4150 |
<type/>
|
4151 |
</argument>
|
4152 |
</method>
|
4153 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4154 |
<name>pagination</name>
|
4155 |
<full_name>pagination</full_name>
|
4156 |
-
<docblock line="
|
4157 |
<description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
|
4158 |
<long-description><![CDATA[]]></long-description>
|
4159 |
-
<tag line="
|
4160 |
-
<tag line="
|
4161 |
<type by_reference="false">string</type>
|
4162 |
</tag>
|
4163 |
-
<tag line="
|
4164 |
<type by_reference="false">void</type>
|
4165 |
</tag>
|
4166 |
</docblock>
|
4167 |
-
<argument line="
|
4168 |
<name>$which</name>
|
4169 |
<default><![CDATA[]]></default>
|
4170 |
<type/>
|
4171 |
</argument>
|
4172 |
</method>
|
4173 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4174 |
<name>get_columns</name>
|
4175 |
<full_name>get_columns</full_name>
|
4176 |
-
<docblock line="
|
4177 |
<description><![CDATA[This method dictates the table's columns and titles]]></description>
|
4178 |
<long-description><![CDATA[]]></long-description>
|
4179 |
-
<tag line="
|
4180 |
-
<tag line="
|
4181 |
<type by_reference="false">array</type>
|
4182 |
</tag>
|
4183 |
</docblock>
|
4184 |
</method>
|
4185 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4186 |
<name>get_hidden_columns</name>
|
4187 |
<full_name>get_hidden_columns</full_name>
|
4188 |
-
<docblock line="
|
4189 |
<description><![CDATA[Returns the list of currently hidden columns from a user option or
|
4190 |
from default values if the option is not set]]></description>
|
4191 |
<long-description><![CDATA[]]></long-description>
|
4192 |
-
<tag line="
|
4193 |
-
<tag line="
|
4194 |
<type by_reference="false">array</type>
|
4195 |
</tag>
|
4196 |
</docblock>
|
4197 |
</method>
|
4198 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4199 |
<name>get_sortable_columns</name>
|
4200 |
<full_name>get_sortable_columns</full_name>
|
4201 |
-
<docblock line="
|
4202 |
<description><![CDATA[Returns an array where the key is the column that needs to be sortable
|
4203 |
and the value is db column (or other criteria) to sort by.]]></description>
|
4204 |
<long-description><![CDATA[]]></long-description>
|
4205 |
-
<tag line="
|
4206 |
-
<tag line="
|
4207 |
<type by_reference="false">array</type>
|
4208 |
</tag>
|
4209 |
</docblock>
|
4210 |
</method>
|
4211 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4212 |
<name>print_column_headers</name>
|
4213 |
<full_name>print_column_headers</full_name>
|
4214 |
-
<docblock line="
|
4215 |
<description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
|
4216 |
<long-description><![CDATA[]]></long-description>
|
4217 |
-
<tag line="
|
4218 |
-
<tag line="
|
4219 |
<type by_reference="false">bool</type>
|
4220 |
</tag>
|
4221 |
</docblock>
|
4222 |
-
<argument line="
|
4223 |
<name>$with_id</name>
|
4224 |
<default><![CDATA[true]]></default>
|
4225 |
<type/>
|
4226 |
</argument>
|
4227 |
</method>
|
4228 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4229 |
<name>_get_view</name>
|
4230 |
<full_name>_get_view</full_name>
|
4231 |
-
<docblock line="
|
4232 |
<description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
|
4233 |
<long-description><![CDATA[]]></long-description>
|
4234 |
-
<tag line="
|
4235 |
-
<tag line="
|
4236 |
<type by_reference="false">string</type>
|
4237 |
</tag>
|
4238 |
-
<tag line="
|
4239 |
<type by_reference="false">string</type>
|
4240 |
</tag>
|
4241 |
-
<tag line="
|
4242 |
<type by_reference="false">string</type>
|
4243 |
</tag>
|
4244 |
</docblock>
|
4245 |
-
<argument line="
|
4246 |
<name>$view_slug</name>
|
4247 |
<default><![CDATA[]]></default>
|
4248 |
<type/>
|
4249 |
</argument>
|
4250 |
-
<argument line="
|
4251 |
<name>$current_view</name>
|
4252 |
<default><![CDATA[]]></default>
|
4253 |
<type/>
|
4254 |
</argument>
|
4255 |
</method>
|
4256 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4257 |
<name>get_views</name>
|
4258 |
<full_name>get_views</full_name>
|
4259 |
-
<docblock line="
|
4260 |
<description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
|
4261 |
<long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
|
4262 |
-
<tag line="
|
4263 |
-
<tag line="
|
4264 |
<type by_reference="false">array</type>
|
4265 |
</tag>
|
4266 |
</docblock>
|
4267 |
</method>
|
4268 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4269 |
<name>get_bulk_actions</name>
|
4270 |
<full_name>get_bulk_actions</full_name>
|
4271 |
-
<docblock line="
|
4272 |
<description><![CDATA[Get an associative array ( option_name => option_title ) with the list
|
4273 |
of bulk actions available on this table.]]></description>
|
4274 |
<long-description><![CDATA[]]></long-description>
|
4275 |
-
<tag line="
|
4276 |
-
<tag line="
|
4277 |
<type by_reference="false">array</type>
|
4278 |
</tag>
|
4279 |
</docblock>
|
4280 |
</method>
|
4281 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4282 |
<name>extra_tablenav</name>
|
4283 |
<full_name>extra_tablenav</full_name>
|
4284 |
-
<docblock line="
|
4285 |
<description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
|
4286 |
<long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
|
4287 |
-
<tag line="
|
4288 |
-
<tag line="
|
4289 |
<type by_reference="false">string</type>
|
4290 |
</tag>
|
4291 |
-
<tag line="
|
4292 |
<type by_reference="false">array</type>
|
4293 |
</tag>
|
4294 |
</docblock>
|
4295 |
-
<argument line="
|
4296 |
<name>$which</name>
|
4297 |
<default><![CDATA[]]></default>
|
4298 |
<type/>
|
4299 |
</argument>
|
4300 |
</method>
|
4301 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4302 |
<name>prepare_items</name>
|
4303 |
<full_name>prepare_items</full_name>
|
4304 |
-
<docblock line="
|
4305 |
<description><![CDATA[Prepares the list of items for displaying]]></description>
|
4306 |
<long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
|
4307 |
be used to query the database, sort and filter the data, and generally
|
4308 |
get it ready to be displayed. At a minimum, we should set $this->items and
|
4309 |
$this->set_pagination_args().</p>]]></long-description>
|
4310 |
-
<tag line="
|
4311 |
-
<tag line="
|
4312 |
<type by_reference="false">void</type>
|
4313 |
</tag>
|
4314 |
</docblock>
|
4315 |
</method>
|
4316 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
4317 |
<name>single_row</name>
|
4318 |
<full_name>single_row</full_name>
|
4319 |
-
<docblock line="
|
4320 |
<description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
|
4321 |
<long-description><![CDATA[]]></long-description>
|
4322 |
-
<tag line="
|
4323 |
-
<tag line="
|
4324 |
<type by_reference="false">object</type>
|
4325 |
</tag>
|
4326 |
-
<tag line="
|
4327 |
<type by_reference="false">void</type>
|
4328 |
</tag>
|
4329 |
</docblock>
|
4330 |
-
<argument line="
|
4331 |
<name>$item</name>
|
4332 |
<default><![CDATA[]]></default>
|
4333 |
<type/>
|
@@ -4335,7 +4464,7 @@ $this->set_pagination_args().</p>]]></long-description>
|
|
4335 |
</method>
|
4336 |
</class>
|
4337 |
</file>
|
4338 |
-
<file path="includes\class-mla-main.php" hash="
|
4339 |
<docblock line="2">
|
4340 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
4341 |
<long-description><![CDATA[]]></long-description>
|
@@ -4345,7 +4474,7 @@ $this->set_pagination_args().</p>]]></long-description>
|
|
4345 |
<include line="13" type="Require Once" package="Media Library Assistant">
|
4346 |
<name/>
|
4347 |
</include>
|
4348 |
-
<include line="
|
4349 |
<name/>
|
4350 |
</include>
|
4351 |
<class final="false" abstract="false" namespace="global" line="23" package="Media Library Assistant">
|
@@ -4850,9 +4979,9 @@ going to the Edit Media screen.</p>]]></long-description>
|
|
4850 |
<type/>
|
4851 |
</argument>
|
4852 |
</method>
|
4853 |
-
<method final="false" abstract="false" static="true" visibility="
|
4854 |
-
<name>
|
4855 |
-
<full_name>
|
4856 |
<docblock line="847">
|
4857 |
<description><![CDATA[Process bulk action for one or more attachments]]></description>
|
4858 |
<long-description><![CDATA[]]></long-description>
|
@@ -4860,272 +4989,280 @@ going to the Edit Media screen.</p>]]></long-description>
|
|
4860 |
<tag line="847" name="param" description="Bulk action slug: delete, edit, restore, trash, custom action" type="string" variable="$bulk_action">
|
4861 |
<type by_reference="false">string</type>
|
4862 |
</tag>
|
|
|
|
|
|
|
4863 |
<tag line="847" name="return" description="messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )" type="array">
|
4864 |
<type by_reference="false">array</type>
|
4865 |
</tag>
|
4866 |
</docblock>
|
4867 |
-
<argument line="
|
4868 |
<name>$bulk_action</name>
|
4869 |
<default><![CDATA[]]></default>
|
4870 |
<type/>
|
4871 |
</argument>
|
|
|
|
|
|
|
|
|
|
|
4872 |
</method>
|
4873 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4874 |
<name>mla_render_admin_page</name>
|
4875 |
<full_name>mla_render_admin_page</full_name>
|
4876 |
-
<docblock line="
|
4877 |
<description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
|
4878 |
<long-description><![CDATA[]]></long-description>
|
4879 |
-
<tag line="
|
4880 |
-
<tag line="
|
4881 |
<type by_reference="false">void</type>
|
4882 |
</tag>
|
4883 |
</docblock>
|
4884 |
</method>
|
4885 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4886 |
<name>mla_find_posts_ajax_action</name>
|
4887 |
<full_name>mla_find_posts_ajax_action</full_name>
|
4888 |
-
<docblock line="
|
4889 |
<description><![CDATA[Ajax handler to fetch candidates for the "Set Parent" popup window]]></description>
|
4890 |
<long-description><![CDATA[<p>Adapted from wp_ajax_find_posts in /wp-admin/includes/ajax-actions.php.
|
4891 |
Adds filters for post type and pagination.</p>]]></long-description>
|
4892 |
-
<tag line="
|
4893 |
-
<tag line="
|
4894 |
<type by_reference="false">void</type>
|
4895 |
</tag>
|
4896 |
</docblock>
|
4897 |
</method>
|
4898 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4899 |
<name>mla_set_parent_ajax_action</name>
|
4900 |
<full_name>mla_set_parent_ajax_action</full_name>
|
4901 |
-
<docblock line="
|
4902 |
<description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
|
4903 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4904 |
-
<tag line="
|
4905 |
-
<tag line="
|
4906 |
<type by_reference="false">void</type>
|
4907 |
</tag>
|
4908 |
</docblock>
|
4909 |
</method>
|
4910 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4911 |
<name>_bulk_edit_ajax_handler</name>
|
4912 |
<full_name>_bulk_edit_ajax_handler</full_name>
|
4913 |
-
<docblock line="
|
4914 |
<description><![CDATA[Ajax handler for bulk editing and mapping]]></description>
|
4915 |
<long-description><![CDATA[]]></long-description>
|
4916 |
-
<tag line="
|
4917 |
-
<tag line="
|
4918 |
<type by_reference="false">void</type>
|
4919 |
</tag>
|
4920 |
</docblock>
|
4921 |
</method>
|
4922 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4923 |
<name>mla_inline_edit_ajax_action</name>
|
4924 |
<full_name>mla_inline_edit_ajax_action</full_name>
|
4925 |
-
<docblock line="
|
4926 |
<description><![CDATA[Ajax handler for inline editing]]></description>
|
4927 |
<long-description><![CDATA[<p>Adapted for Quick Edit from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4928 |
-
<tag line="
|
4929 |
-
<tag line="
|
4930 |
<type by_reference="false">void</type>
|
4931 |
</tag>
|
4932 |
</docblock>
|
4933 |
</method>
|
4934 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4935 |
<name>_compose_post_type_select</name>
|
4936 |
<full_name>_compose_post_type_select</full_name>
|
4937 |
-
<docblock line="
|
4938 |
<description><![CDATA[Compose a Post Type Options list with current selection]]></description>
|
4939 |
<long-description><![CDATA[]]></long-description>
|
4940 |
-
<tag line="
|
4941 |
-
<tag line="
|
4942 |
-
<tag line="
|
4943 |
<type by_reference="false">array</type>
|
4944 |
</tag>
|
4945 |
-
<tag line="
|
4946 |
<type by_reference="false">string</type>
|
4947 |
</tag>
|
4948 |
-
<tag line="
|
4949 |
<type by_reference="false">string</type>
|
4950 |
</tag>
|
4951 |
</docblock>
|
4952 |
-
<argument line="
|
4953 |
<name>$templates</name>
|
4954 |
<default><![CDATA[]]></default>
|
4955 |
<type/>
|
4956 |
</argument>
|
4957 |
-
<argument line="
|
4958 |
<name>$selection</name>
|
4959 |
<default><![CDATA['all']]></default>
|
4960 |
<type/>
|
4961 |
</argument>
|
4962 |
</method>
|
4963 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4964 |
<name>mla_set_parent_form</name>
|
4965 |
<full_name>mla_set_parent_form</full_name>
|
4966 |
-
<docblock line="
|
4967 |
<description><![CDATA[Build the hidden form for the "Set Parent" popup modal window]]></description>
|
4968 |
<long-description><![CDATA[]]></long-description>
|
4969 |
-
<tag line="
|
4970 |
-
<tag line="
|
4971 |
<type by_reference="false">boolean</type>
|
4972 |
</tag>
|
4973 |
-
<tag line="
|
4974 |
<type by_reference="false">string</type>
|
4975 |
</tag>
|
4976 |
</docblock>
|
4977 |
-
<argument line="
|
4978 |
<name>$return_form</name>
|
4979 |
<default><![CDATA[true]]></default>
|
4980 |
<type/>
|
4981 |
</argument>
|
4982 |
</method>
|
4983 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4984 |
<name>_build_inline_edit_form</name>
|
4985 |
<full_name>_build_inline_edit_form</full_name>
|
4986 |
-
<docblock line="
|
4987 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
4988 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
4989 |
-
<tag line="
|
4990 |
-
<tag line="
|
4991 |
<type by_reference="false">object</type>
|
4992 |
</tag>
|
4993 |
-
<tag line="
|
4994 |
<type by_reference="false">string</type>
|
4995 |
</tag>
|
4996 |
</docblock>
|
4997 |
-
<argument line="
|
4998 |
<name>$MLAListTable</name>
|
4999 |
<default><![CDATA[]]></default>
|
5000 |
<type/>
|
5001 |
</argument>
|
5002 |
</method>
|
5003 |
-
<method final="false" abstract="false" static="true" visibility="
|
5004 |
-
<name>
|
5005 |
-
<full_name>
|
5006 |
-
<docblock line="
|
5007 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
5008 |
<long-description><![CDATA[]]></long-description>
|
5009 |
-
<tag line="
|
5010 |
-
<tag line="
|
5011 |
<type by_reference="false">integer</type>
|
5012 |
</tag>
|
5013 |
-
<tag line="
|
5014 |
<type by_reference="false">string</type>
|
5015 |
</tag>
|
5016 |
-
<tag line="
|
5017 |
<type by_reference="false">string</type>
|
5018 |
</tag>
|
5019 |
-
<tag line="
|
5020 |
<type by_reference="false">string</type>
|
5021 |
<type by_reference="false">false</type>
|
5022 |
</tag>
|
5023 |
</docblock>
|
5024 |
-
<argument line="
|
5025 |
<name>$author</name>
|
5026 |
<default><![CDATA[0]]></default>
|
5027 |
<type/>
|
5028 |
</argument>
|
5029 |
-
<argument line="
|
5030 |
<name>$name</name>
|
5031 |
<default><![CDATA['post_author']]></default>
|
5032 |
<type/>
|
5033 |
</argument>
|
5034 |
-
<argument line="
|
5035 |
<name>$class</name>
|
5036 |
<default><![CDATA['authors']]></default>
|
5037 |
<type/>
|
5038 |
</argument>
|
5039 |
</method>
|
5040 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
5041 |
<name>_current_bulk_action</name>
|
5042 |
<full_name>_current_bulk_action</full_name>
|
5043 |
-
<docblock line="
|
5044 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
5045 |
<long-description><![CDATA[]]></long-description>
|
5046 |
-
<tag line="
|
5047 |
-
<tag line="
|
5048 |
<type by_reference="false">string</type>
|
5049 |
<type by_reference="false">false</type>
|
5050 |
</tag>
|
5051 |
</docblock>
|
5052 |
</method>
|
5053 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
5054 |
<name>_delete_single_item</name>
|
5055 |
<full_name>_delete_single_item</full_name>
|
5056 |
-
<docblock line="
|
5057 |
<description><![CDATA[Delete a single item permanently]]></description>
|
5058 |
<long-description><![CDATA[]]></long-description>
|
5059 |
-
<tag line="
|
5060 |
-
<tag line="
|
5061 |
<type by_reference="false">array</type>
|
5062 |
</tag>
|
5063 |
-
<tag line="
|
5064 |
<type by_reference="false">array</type>
|
5065 |
</tag>
|
5066 |
</docblock>
|
5067 |
-
<argument line="
|
5068 |
<name>$post_id</name>
|
5069 |
<default><![CDATA[]]></default>
|
5070 |
<type/>
|
5071 |
</argument>
|
5072 |
</method>
|
5073 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
5074 |
<name>_display_single_item</name>
|
5075 |
<full_name>_display_single_item</full_name>
|
5076 |
-
<docblock line="
|
5077 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
5078 |
change the meta data for a single attachment.]]></description>
|
5079 |
<long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
|
5080 |
-
<tag line="
|
5081 |
-
<tag line="
|
5082 |
<type by_reference="false">integer</type>
|
5083 |
</tag>
|
5084 |
-
<tag line="
|
5085 |
<type by_reference="false">array</type>
|
5086 |
</tag>
|
5087 |
</docblock>
|
5088 |
-
<argument line="
|
5089 |
<name>$post_id</name>
|
5090 |
<default><![CDATA[]]></default>
|
5091 |
<type/>
|
5092 |
</argument>
|
5093 |
</method>
|
5094 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
5095 |
<name>_restore_single_item</name>
|
5096 |
<full_name>_restore_single_item</full_name>
|
5097 |
-
<docblock line="
|
5098 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
5099 |
<long-description><![CDATA[]]></long-description>
|
5100 |
-
<tag line="
|
5101 |
-
<tag line="
|
5102 |
<type by_reference="false">integer</type>
|
5103 |
</tag>
|
5104 |
-
<tag line="
|
5105 |
<type by_reference="false">array</type>
|
5106 |
</tag>
|
5107 |
</docblock>
|
5108 |
-
<argument line="
|
5109 |
<name>$post_id</name>
|
5110 |
<default><![CDATA[]]></default>
|
5111 |
<type/>
|
5112 |
</argument>
|
5113 |
</method>
|
5114 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
5115 |
<name>_trash_single_item</name>
|
5116 |
<full_name>_trash_single_item</full_name>
|
5117 |
-
<docblock line="
|
5118 |
<description><![CDATA[Move a single item to Trash]]></description>
|
5119 |
<long-description><![CDATA[]]></long-description>
|
5120 |
-
<tag line="
|
5121 |
-
<tag line="
|
5122 |
<type by_reference="false">integer</type>
|
5123 |
</tag>
|
5124 |
-
<tag line="
|
5125 |
<type by_reference="false">array</type>
|
5126 |
</tag>
|
5127 |
</docblock>
|
5128 |
-
<argument line="
|
5129 |
<name>$post_id</name>
|
5130 |
<default><![CDATA[]]></default>
|
5131 |
<type/>
|
@@ -5133,14 +5270,14 @@ change the meta data for a single attachment.]]></description>
|
|
5133 |
</method>
|
5134 |
</class>
|
5135 |
</file>
|
5136 |
-
<file path="includes\class-mla-media-modal.php" hash="
|
5137 |
<docblock line="2">
|
5138 |
<description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
|
5139 |
<long-description><![CDATA[]]></long-description>
|
5140 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
5141 |
<tag line="2" name="since" description="1.20"/>
|
5142 |
</docblock>
|
5143 |
-
<include line="
|
5144 |
<name/>
|
5145 |
</include>
|
5146 |
<class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
|
@@ -5402,153 +5539,153 @@ Declared public because it is a filter.</p>]]></long-description>
|
|
5402 |
<type/>
|
5403 |
</argument>
|
5404 |
</method>
|
5405 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5406 |
<name>mla_media_view_strings_filter</name>
|
5407 |
<full_name>mla_media_view_strings_filter</full_name>
|
5408 |
-
<docblock line="
|
5409 |
<description><![CDATA[Adds strings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
|
5410 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
5411 |
-
<tag line="
|
5412 |
-
<tag line="
|
5413 |
<type by_reference="false">array</type>
|
5414 |
</tag>
|
5415 |
-
<tag line="
|
5416 |
<type by_reference="false">object</type>
|
5417 |
</tag>
|
5418 |
-
<tag line="
|
5419 |
<type by_reference="false">array</type>
|
5420 |
</tag>
|
5421 |
</docblock>
|
5422 |
-
<argument line="
|
5423 |
<name>$strings</name>
|
5424 |
<default><![CDATA[]]></default>
|
5425 |
<type/>
|
5426 |
</argument>
|
5427 |
-
<argument line="
|
5428 |
<name>$post</name>
|
5429 |
<default><![CDATA[]]></default>
|
5430 |
<type/>
|
5431 |
</argument>
|
5432 |
</method>
|
5433 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5434 |
<name>mla_wp_enqueue_media_action</name>
|
5435 |
<full_name>mla_wp_enqueue_media_action</full_name>
|
5436 |
-
<docblock line="
|
5437 |
<description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
|
5438 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
5439 |
-
<tag line="
|
5440 |
-
<tag line="
|
5441 |
<type by_reference="false">void</type>
|
5442 |
</tag>
|
5443 |
</docblock>
|
5444 |
</method>
|
5445 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5446 |
<name>mla_print_media_templates_action</name>
|
5447 |
<full_name>mla_print_media_templates_action</full_name>
|
5448 |
-
<docblock line="
|
5449 |
<description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
|
5450 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
5451 |
-
<tag line="
|
5452 |
-
<tag line="
|
5453 |
<type by_reference="false">void</type>
|
5454 |
</tag>
|
5455 |
</docblock>
|
5456 |
</method>
|
5457 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5458 |
<name>mla_admin_init_action</name>
|
5459 |
<full_name>mla_admin_init_action</full_name>
|
5460 |
-
<docblock line="
|
5461 |
<description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
|
5462 |
<long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
|
5463 |
Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
|
5464 |
-
<tag line="
|
5465 |
-
<tag line="
|
5466 |
<type by_reference="false">void</type>
|
5467 |
</tag>
|
5468 |
</docblock>
|
5469 |
</method>
|
5470 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5471 |
<name>mla_fill_compat_fields_action</name>
|
5472 |
<full_name>mla_fill_compat_fields_action</full_name>
|
5473 |
-
<docblock line="
|
5474 |
<description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
|
5475 |
<long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
|
5476 |
-
<tag line="
|
5477 |
-
<tag line="
|
5478 |
<type by_reference="false">void</type>
|
5479 |
</tag>
|
5480 |
</docblock>
|
5481 |
</method>
|
5482 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5483 |
<name>mla_update_compat_fields_action</name>
|
5484 |
<full_name>mla_update_compat_fields_action</full_name>
|
5485 |
-
<docblock line="
|
5486 |
<description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
|
5487 |
<long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
|
5488 |
-
<tag line="
|
5489 |
-
<tag line="
|
5490 |
<type by_reference="false">void</type>
|
5491 |
</tag>
|
5492 |
</docblock>
|
5493 |
</method>
|
5494 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5495 |
<name>mla_query_attachments_action</name>
|
5496 |
<full_name>mla_query_attachments_action</full_name>
|
5497 |
-
<docblock line="
|
5498 |
<description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
|
5499 |
<long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
5500 |
-
<tag line="
|
5501 |
-
<tag line="
|
5502 |
<type by_reference="false">void</type>
|
5503 |
</tag>
|
5504 |
</docblock>
|
5505 |
</method>
|
5506 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5507 |
<name>mla_add_terms_search_scripts</name>
|
5508 |
<full_name>mla_add_terms_search_scripts</full_name>
|
5509 |
-
<docblock line="
|
5510 |
<description><![CDATA[Add the styles and scripts for the "Search Terms" popup modal window,
|
5511 |
but only once per page load]]></description>
|
5512 |
<long-description><![CDATA[]]></long-description>
|
5513 |
-
<tag line="
|
5514 |
-
<tag line="
|
5515 |
<type by_reference="false">void</type>
|
5516 |
</tag>
|
5517 |
</docblock>
|
5518 |
</method>
|
5519 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5520 |
<name>mla_add_terms_search_form</name>
|
5521 |
<full_name>mla_add_terms_search_form</full_name>
|
5522 |
-
<docblock line="
|
5523 |
<description><![CDATA[Add the hidden form for the "Search Terms" popup modal window,
|
5524 |
but only once per page load]]></description>
|
5525 |
<long-description><![CDATA[]]></long-description>
|
5526 |
-
<tag line="
|
5527 |
-
<tag line="
|
5528 |
<type by_reference="false">void</type>
|
5529 |
</tag>
|
5530 |
</docblock>
|
5531 |
</method>
|
5532 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5533 |
<name>mla_echo_terms_search_form</name>
|
5534 |
<full_name>mla_echo_terms_search_form</full_name>
|
5535 |
-
<docblock line="
|
5536 |
<description><![CDATA[Echo the hidden form for the "Search Terms" popup modal window]]></description>
|
5537 |
<long-description><![CDATA[]]></long-description>
|
5538 |
-
<tag line="
|
5539 |
-
<tag line="
|
5540 |
<type by_reference="false">void</type>
|
5541 |
</tag>
|
5542 |
</docblock>
|
5543 |
</method>
|
5544 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
5545 |
<name>mla_terms_search_form</name>
|
5546 |
<full_name>mla_terms_search_form</full_name>
|
5547 |
-
<docblock line="
|
5548 |
<description><![CDATA[Build the hidden form for the "Search Terms" popup modal window]]></description>
|
5549 |
<long-description><![CDATA[]]></long-description>
|
5550 |
-
<tag line="
|
5551 |
-
<tag line="
|
5552 |
<type by_reference="false">string</type>
|
5553 |
</tag>
|
5554 |
</docblock>
|
@@ -6801,7 +6938,7 @@ Defined as public because it's a filter.</p>]]></long-description>
|
|
6801 |
</method>
|
6802 |
</class>
|
6803 |
</file>
|
6804 |
-
<file path="includes\class-mla-objects.php" hash="
|
6805 |
<docblock line="2">
|
6806 |
<description><![CDATA[Media Library Assistant Custom Taxonomy and Widget objects]]></description>
|
6807 |
<long-description><![CDATA[]]></long-description>
|
@@ -6842,188 +6979,188 @@ Defined as public because it's a filter.</p>]]></long-description>
|
|
6842 |
</tag>
|
6843 |
</docblock>
|
6844 |
</method>
|
6845 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
6846 |
<name>mla_taxonomy_get_columns_filter</name>
|
6847 |
<full_name>mla_taxonomy_get_columns_filter</full_name>
|
6848 |
-
<docblock line="
|
6849 |
<description><![CDATA[WordPress Filter for edit taxonomy "Attachments" column,
|
6850 |
which replaces the "Posts" column with an equivalent "Attachments" column.]]></description>
|
6851 |
<long-description><![CDATA[]]></long-description>
|
6852 |
-
<tag line="
|
6853 |
-
<tag line="
|
6854 |
<type by_reference="false">array</type>
|
6855 |
</tag>
|
6856 |
-
<tag line="
|
6857 |
<type by_reference="false">array</type>
|
6858 |
</tag>
|
6859 |
</docblock>
|
6860 |
-
<argument line="
|
6861 |
<name>$columns</name>
|
6862 |
<default><![CDATA[]]></default>
|
6863 |
<type/>
|
6864 |
</argument>
|
6865 |
</method>
|
6866 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
6867 |
<name>mla_taxonomy_column_filter</name>
|
6868 |
<full_name>mla_taxonomy_column_filter</full_name>
|
6869 |
-
<docblock line="
|
6870 |
<description><![CDATA[WordPress Filter for edit taxonomy "Attachments" column,
|
6871 |
which returns a count of the attachments assigned a given term]]></description>
|
6872 |
<long-description><![CDATA[]]></long-description>
|
6873 |
-
<tag line="
|
6874 |
-
<tag line="
|
6875 |
<type by_reference="false">string</type>
|
6876 |
</tag>
|
6877 |
-
<tag line="
|
6878 |
<type by_reference="false">array</type>
|
6879 |
</tag>
|
6880 |
-
<tag line="
|
6881 |
<type by_reference="false">array</type>
|
6882 |
</tag>
|
6883 |
-
<tag line="
|
6884 |
<type by_reference="false">array</type>
|
6885 |
</tag>
|
6886 |
</docblock>
|
6887 |
-
<argument line="
|
6888 |
<name>$place_holder</name>
|
6889 |
<default><![CDATA[]]></default>
|
6890 |
<type/>
|
6891 |
</argument>
|
6892 |
-
<argument line="
|
6893 |
<name>$column_name</name>
|
6894 |
<default><![CDATA[]]></default>
|
6895 |
<type/>
|
6896 |
</argument>
|
6897 |
-
<argument line="
|
6898 |
<name>$term_id</name>
|
6899 |
<default><![CDATA[]]></default>
|
6900 |
<type/>
|
6901 |
</argument>
|
6902 |
</method>
|
6903 |
</class>
|
6904 |
-
<class final="false" abstract="false" namespace="global" line="
|
6905 |
<extends>\WP_Widget</extends>
|
6906 |
<name>MLATextWidget</name>
|
6907 |
<full_name>\MLATextWidget</full_name>
|
6908 |
-
<docblock line="
|
6909 |
<description><![CDATA[Class MLA (Media Library Assistant) Text Widget defines a shortcode-enabled version of the WordPress Text widget]]></description>
|
6910 |
<long-description><![CDATA[]]></long-description>
|
6911 |
-
<tag line="
|
6912 |
-
<tag line="
|
6913 |
</docblock>
|
6914 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
6915 |
<name>__construct</name>
|
6916 |
<full_name>__construct</full_name>
|
6917 |
-
<docblock line="
|
6918 |
<description><![CDATA[Calls the parent constructor to set some defaults.]]></description>
|
6919 |
<long-description><![CDATA[]]></long-description>
|
6920 |
-
<tag line="
|
6921 |
-
<tag line="
|
6922 |
<type by_reference="false">void</type>
|
6923 |
</tag>
|
6924 |
</docblock>
|
6925 |
</method>
|
6926 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
6927 |
<name>widget</name>
|
6928 |
<full_name>widget</full_name>
|
6929 |
-
<docblock line="
|
6930 |
<description><![CDATA[Display the widget content - called from the WordPress "front end"]]></description>
|
6931 |
<long-description><![CDATA[]]></long-description>
|
6932 |
-
<tag line="
|
6933 |
-
<tag line="
|
6934 |
<type by_reference="false">array</type>
|
6935 |
</tag>
|
6936 |
-
<tag line="
|
6937 |
<type by_reference="false">array</type>
|
6938 |
</tag>
|
6939 |
-
<tag line="
|
6940 |
<type by_reference="false">void</type>
|
6941 |
</tag>
|
6942 |
</docblock>
|
6943 |
-
<argument line="
|
6944 |
<name>$args</name>
|
6945 |
<default><![CDATA[]]></default>
|
6946 |
<type/>
|
6947 |
</argument>
|
6948 |
-
<argument line="
|
6949 |
<name>$instance</name>
|
6950 |
<default><![CDATA[]]></default>
|
6951 |
<type/>
|
6952 |
</argument>
|
6953 |
</method>
|
6954 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
6955 |
<name>form</name>
|
6956 |
<full_name>form</full_name>
|
6957 |
-
<docblock line="
|
6958 |
<description><![CDATA[Echo the "edit widget" form on the Appearance/Widgets admin screen]]></description>
|
6959 |
<long-description><![CDATA[]]></long-description>
|
6960 |
-
<tag line="
|
6961 |
-
<tag line="
|
6962 |
<type by_reference="false">array</type>
|
6963 |
</tag>
|
6964 |
-
<tag line="
|
6965 |
<type by_reference="false">void</type>
|
6966 |
</tag>
|
6967 |
</docblock>
|
6968 |
-
<argument line="
|
6969 |
<name>$instance</name>
|
6970 |
<default><![CDATA[]]></default>
|
6971 |
<type/>
|
6972 |
</argument>
|
6973 |
</method>
|
6974 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
6975 |
<name>update</name>
|
6976 |
<full_name>update</full_name>
|
6977 |
-
<docblock line="
|
6978 |
<description><![CDATA[Sanitize widget definition as it is saved to the database]]></description>
|
6979 |
<long-description><![CDATA[]]></long-description>
|
6980 |
-
<tag line="
|
6981 |
-
<tag line="
|
6982 |
<type by_reference="false">array</type>
|
6983 |
</tag>
|
6984 |
-
<tag line="
|
6985 |
<type by_reference="false">array</type>
|
6986 |
</tag>
|
6987 |
-
<tag line="
|
6988 |
<type by_reference="false">array</type>
|
6989 |
</tag>
|
6990 |
</docblock>
|
6991 |
-
<argument line="
|
6992 |
<name>$new_instance</name>
|
6993 |
<default><![CDATA[]]></default>
|
6994 |
<type/>
|
6995 |
</argument>
|
6996 |
-
<argument line="
|
6997 |
<name>$old_instance</name>
|
6998 |
<default><![CDATA[]]></default>
|
6999 |
<type/>
|
7000 |
</argument>
|
7001 |
</method>
|
7002 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7003 |
<name>mla_text_widget_widgets_init_action</name>
|
7004 |
<full_name>mla_text_widget_widgets_init_action</full_name>
|
7005 |
-
<docblock line="
|
7006 |
<description><![CDATA[Register the widget with WordPress]]></description>
|
7007 |
<long-description><![CDATA[<p>Defined as public because it's an action.</p>]]></long-description>
|
7008 |
-
<tag line="
|
7009 |
-
<tag line="
|
7010 |
<type by_reference="false">void</type>
|
7011 |
</tag>
|
7012 |
</docblock>
|
7013 |
</method>
|
7014 |
</class>
|
7015 |
</file>
|
7016 |
-
<file path="includes\class-mla-options.php" hash="
|
7017 |
<docblock line="2">
|
7018 |
<description><![CDATA[Manages the plugin option settings]]></description>
|
7019 |
<long-description><![CDATA[]]></long-description>
|
7020 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
7021 |
<tag line="2" name="since" description="1.00"/>
|
7022 |
</docblock>
|
7023 |
-
<include line="
|
7024 |
<name/>
|
7025 |
</include>
|
7026 |
-
<include line="
|
7027 |
<name/>
|
7028 |
</include>
|
7029 |
<class final="false" abstract="false" namespace="global" line="18" package="Media Library Assistant">
|
@@ -7238,7 +7375,7 @@ and provides functions to get and put them from/to WordPress option variables]]>
|
|
7238 |
<constant namespace="global" line="132" package="Media Library Assistant">
|
7239 |
<name>MLA_NEW_CUSTOM_RULE</name>
|
7240 |
<full_name>MLA_NEW_CUSTOM_RULE</full_name>
|
7241 |
-
<value><![CDATA['
|
7242 |
<docblock line="129">
|
7243 |
<description><![CDATA[Provides a unique name for the Custom Field "new rule" key]]></description>
|
7244 |
<long-description><![CDATA[]]></long-description>
|
@@ -7247,7 +7384,7 @@ and provides functions to get and put them from/to WordPress option variables]]>
|
|
7247 |
<constant namespace="global" line="137" package="Media Library Assistant">
|
7248 |
<name>MLA_NEW_CUSTOM_FIELD</name>
|
7249 |
<full_name>MLA_NEW_CUSTOM_FIELD</full_name>
|
7250 |
-
<value><![CDATA['
|
7251 |
<docblock line="134">
|
7252 |
<description><![CDATA[Provides a unique name for the Custom Field "new field" key]]></description>
|
7253 |
<long-description><![CDATA[]]></long-description>
|
@@ -7271,224 +7408,233 @@ and provides functions to get and put them from/to WordPress option variables]]>
|
|
7271 |
<long-description><![CDATA[]]></long-description>
|
7272 |
</docblock>
|
7273 |
</constant>
|
7274 |
-
<constant namespace="global" line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7275 |
<name>MLA_MEDIA_GRID_TOOLBAR</name>
|
7276 |
<full_name>MLA_MEDIA_GRID_TOOLBAR</full_name>
|
7277 |
<value><![CDATA['media_grid_toolbar']]></value>
|
7278 |
-
<docblock line="
|
7279 |
<description><![CDATA[Provides a unique name for the Media Grid toolbar option, which
|
7280 |
also controls the ATTACHMENT DETAILS enhancements]]></description>
|
7281 |
<long-description><![CDATA[]]></long-description>
|
7282 |
</docblock>
|
7283 |
</constant>
|
7284 |
-
<constant namespace="global" line="
|
7285 |
<name>MLA_MEDIA_MODAL_TOOLBAR</name>
|
7286 |
<full_name>MLA_MEDIA_MODAL_TOOLBAR</full_name>
|
7287 |
<value><![CDATA['media_modal_toolbar']]></value>
|
7288 |
-
<docblock line="
|
7289 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar option, which
|
7290 |
also controls the ATTACHMENT DETAILS enhancements]]></description>
|
7291 |
<long-description><![CDATA[]]></long-description>
|
7292 |
</docblock>
|
7293 |
</constant>
|
7294 |
-
<constant namespace="global" line="
|
7295 |
<name>MLA_MEDIA_MODAL_MIMETYPES</name>
|
7296 |
<full_name>MLA_MEDIA_MODAL_MIMETYPES</full_name>
|
7297 |
<value><![CDATA['media_modal_mimetypes']]></value>
|
7298 |
-
<docblock line="
|
7299 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar MIME Types option]]></description>
|
7300 |
<long-description><![CDATA[]]></long-description>
|
7301 |
</docblock>
|
7302 |
</constant>
|
7303 |
-
<constant namespace="global" line="
|
7304 |
<name>MLA_MEDIA_MODAL_MONTHS</name>
|
7305 |
<full_name>MLA_MEDIA_MODAL_MONTHS</full_name>
|
7306 |
<value><![CDATA['media_modal_months']]></value>
|
7307 |
-
<docblock line="
|
7308 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Month and Year option]]></description>
|
7309 |
<long-description><![CDATA[]]></long-description>
|
7310 |
</docblock>
|
7311 |
</constant>
|
7312 |
-
<constant namespace="global" line="
|
7313 |
<name>MLA_MEDIA_MODAL_TERMS</name>
|
7314 |
<full_name>MLA_MEDIA_MODAL_TERMS</full_name>
|
7315 |
<value><![CDATA['media_modal_terms']]></value>
|
7316 |
-
<docblock line="
|
7317 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy Terms option]]></description>
|
7318 |
<long-description><![CDATA[]]></long-description>
|
7319 |
</docblock>
|
7320 |
</constant>
|
7321 |
-
<constant namespace="global" line="
|
7322 |
<name>MLA_MEDIA_MODAL_TERMS_SEARCH</name>
|
7323 |
<full_name>MLA_MEDIA_MODAL_TERMS_SEARCH</full_name>
|
7324 |
<value><![CDATA['media_modal_terms_search']]></value>
|
7325 |
-
<docblock line="
|
7326 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option]]></description>
|
7327 |
<long-description><![CDATA[]]></long-description>
|
7328 |
</docblock>
|
7329 |
</constant>
|
7330 |
-
<constant namespace="global" line="
|
7331 |
<name>MLA_MEDIA_MODAL_SEARCHBOX</name>
|
7332 |
<full_name>MLA_MEDIA_MODAL_SEARCHBOX</full_name>
|
7333 |
<value><![CDATA['media_modal_searchbox']]></value>
|
7334 |
-
<docblock line="
|
7335 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box option]]></description>
|
7336 |
<long-description><![CDATA[]]></long-description>
|
7337 |
</docblock>
|
7338 |
</constant>
|
7339 |
-
<constant namespace="global" line="
|
7340 |
<name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</name>
|
7341 |
<full_name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</full_name>
|
7342 |
<value><![CDATA['media_modal_searchbox_controls']]></value>
|
7343 |
-
<docblock line="
|
7344 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box Controls option]]></description>
|
7345 |
<long-description><![CDATA[]]></long-description>
|
7346 |
</docblock>
|
7347 |
</constant>
|
7348 |
-
<constant namespace="global" line="
|
7349 |
<name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</name>
|
7350 |
<full_name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</full_name>
|
7351 |
<value><![CDATA['media_modal_details_category_metabox']]></value>
|
7352 |
-
<docblock line="
|
7353 |
<description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
|
7354 |
This option is for hierarchical taxonomies, e.g., "Att.]]></description>
|
7355 |
<long-description><![CDATA[<p>Categories".</p>]]></long-description>
|
7356 |
</docblock>
|
7357 |
</constant>
|
7358 |
-
<constant namespace="global" line="
|
7359 |
<name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</name>
|
7360 |
<full_name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</full_name>
|
7361 |
<value><![CDATA['media_modal_details_tag_metabox']]></value>
|
7362 |
-
<docblock line="
|
7363 |
<description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
|
7364 |
This option is for flat taxonomies, e.g., "Att.]]></description>
|
7365 |
<long-description><![CDATA[<p>Tags".</p>]]></long-description>
|
7366 |
</docblock>
|
7367 |
</constant>
|
7368 |
-
<constant namespace="global" line="
|
7369 |
<name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</name>
|
7370 |
<full_name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</full_name>
|
7371 |
<value><![CDATA['media_modal_details_autofill']]></value>
|
7372 |
-
<docblock line="
|
7373 |
<description><![CDATA[Provides a unique name for the Media Manager Attachment Details auto-fill option]]></description>
|
7374 |
<long-description><![CDATA[]]></long-description>
|
7375 |
</docblock>
|
7376 |
</constant>
|
7377 |
-
<constant namespace="global" line="
|
7378 |
<name>MLA_MEDIA_MODAL_ORDERBY</name>
|
7379 |
<full_name>MLA_MEDIA_MODAL_ORDERBY</full_name>
|
7380 |
<value><![CDATA['media_modal_orderby']]></value>
|
7381 |
-
<docblock line="
|
7382 |
<description><![CDATA[Provides a unique name for the Media Manager orderby option]]></description>
|
7383 |
<long-description><![CDATA[]]></long-description>
|
7384 |
</docblock>
|
7385 |
</constant>
|
7386 |
-
<constant namespace="global" line="
|
7387 |
<name>MLA_MEDIA_MODAL_ORDER</name>
|
7388 |
<full_name>MLA_MEDIA_MODAL_ORDER</full_name>
|
7389 |
<value><![CDATA['media_modal_order']]></value>
|
7390 |
-
<docblock line="
|
7391 |
<description><![CDATA[Provides a unique name for the Media Manager order option]]></description>
|
7392 |
<long-description><![CDATA[]]></long-description>
|
7393 |
</docblock>
|
7394 |
</constant>
|
7395 |
-
<constant namespace="global" line="
|
7396 |
<name>MLA_POST_MIME_TYPES</name>
|
7397 |
<full_name>MLA_POST_MIME_TYPES</full_name>
|
7398 |
<value><![CDATA['post_mime_types']]></value>
|
7399 |
-
<docblock line="
|
7400 |
<description><![CDATA[Provides a unique name for the Post MIME Types option]]></description>
|
7401 |
<long-description><![CDATA[]]></long-description>
|
7402 |
</docblock>
|
7403 |
</constant>
|
7404 |
-
<constant namespace="global" line="
|
7405 |
<name>MLA_ENABLE_POST_MIME_TYPES</name>
|
7406 |
<full_name>MLA_ENABLE_POST_MIME_TYPES</full_name>
|
7407 |
<value><![CDATA['enable_post_mime_types']]></value>
|
7408 |
-
<docblock line="
|
7409 |
<description><![CDATA[Provides a unique name for the Enable Post MIME Types option]]></description>
|
7410 |
<long-description><![CDATA[]]></long-description>
|
7411 |
</docblock>
|
7412 |
</constant>
|
7413 |
-
<constant namespace="global" line="
|
7414 |
<name>MLA_UPLOAD_MIMES</name>
|
7415 |
<full_name>MLA_UPLOAD_MIMES</full_name>
|
7416 |
<value><![CDATA['upload_mimes']]></value>
|
7417 |
-
<docblock line="
|
7418 |
<description><![CDATA[Provides a unique name for the Upload MIME Types option]]></description>
|
7419 |
<long-description><![CDATA[]]></long-description>
|
7420 |
</docblock>
|
7421 |
</constant>
|
7422 |
-
<constant namespace="global" line="
|
7423 |
<name>MLA_ENABLE_UPLOAD_MIMES</name>
|
7424 |
<full_name>MLA_ENABLE_UPLOAD_MIMES</full_name>
|
7425 |
<value><![CDATA['enable_upload_mimes']]></value>
|
7426 |
-
<docblock line="
|
7427 |
<description><![CDATA[Provides a unique name for the Enable Upload MIME Types option]]></description>
|
7428 |
<long-description><![CDATA[]]></long-description>
|
7429 |
</docblock>
|
7430 |
</constant>
|
7431 |
-
<constant namespace="global" line="
|
7432 |
<name>MLA_ENABLE_MLA_ICONS</name>
|
7433 |
<full_name>MLA_ENABLE_MLA_ICONS</full_name>
|
7434 |
<value><![CDATA['enable_mla_icons']]></value>
|
7435 |
-
<docblock line="
|
7436 |
<description><![CDATA[Provides a unique name for the Enable MLA Icons option]]></description>
|
7437 |
<long-description><![CDATA[]]></long-description>
|
7438 |
</docblock>
|
7439 |
</constant>
|
7440 |
-
<property final="false" static="true" visibility="public" line="
|
7441 |
<name>$process_featured_in</name>
|
7442 |
<default><![CDATA[true]]></default>
|
7443 |
-
<docblock line="
|
7444 |
<description><![CDATA[Option setting for "Featured in" reporting]]></description>
|
7445 |
<long-description><![CDATA[<p>This setting is false if the "Featured in" database access setting is "disabled", else true.</p>]]></long-description>
|
7446 |
-
<tag line="
|
7447 |
-
<tag line="
|
7448 |
<type by_reference="false">boolean</type>
|
7449 |
</tag>
|
7450 |
</docblock>
|
7451 |
</property>
|
7452 |
-
<property final="false" static="true" visibility="public" line="
|
7453 |
<name>$process_inserted_in</name>
|
7454 |
<default><![CDATA[true]]></default>
|
7455 |
-
<docblock line="
|
7456 |
<description><![CDATA[Option setting for "Inserted in" reporting]]></description>
|
7457 |
<long-description><![CDATA[<p>This setting is false if the "Inserted in" database access setting is "disabled", else true.</p>]]></long-description>
|
7458 |
-
<tag line="
|
7459 |
-
<tag line="
|
7460 |
<type by_reference="false">boolean</type>
|
7461 |
</tag>
|
7462 |
</docblock>
|
7463 |
</property>
|
7464 |
-
<property final="false" static="true" visibility="public" line="
|
7465 |
<name>$process_gallery_in</name>
|
7466 |
<default><![CDATA[true]]></default>
|
7467 |
-
<docblock line="
|
7468 |
<description><![CDATA[Option setting for "Gallery in" reporting]]></description>
|
7469 |
<long-description><![CDATA[<p>This setting is false if the "Gallery in" database access setting is "disabled", else true.</p>]]></long-description>
|
7470 |
-
<tag line="
|
7471 |
-
<tag line="
|
7472 |
<type by_reference="false">boolean</type>
|
7473 |
</tag>
|
7474 |
</docblock>
|
7475 |
</property>
|
7476 |
-
<property final="false" static="true" visibility="public" line="
|
7477 |
<name>$process_mla_gallery_in</name>
|
7478 |
<default><![CDATA[true]]></default>
|
7479 |
-
<docblock line="
|
7480 |
<description><![CDATA[Option setting for "MLA Gallery in" reporting]]></description>
|
7481 |
<long-description><![CDATA[<p>This setting is false if the "MLA Gallery in" database access setting is "disabled", else true.</p>]]></long-description>
|
7482 |
-
<tag line="
|
7483 |
-
<tag line="
|
7484 |
<type by_reference="false">boolean</type>
|
7485 |
</tag>
|
7486 |
</docblock>
|
7487 |
</property>
|
7488 |
-
<property final="false" static="true" visibility="public" line="
|
7489 |
<name>$mla_option_definitions</name>
|
7490 |
<default><![CDATA[array()]]></default>
|
7491 |
-
<docblock line="
|
7492 |
<description><![CDATA[$mla_option_definitions defines the database options and admin page areas for setting/updating them]]></description>
|
7493 |
<long-description><![CDATA[<p>The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array(),
|
7494 |
because Localization calls cannot be placed in the "public static" array definition itself.</p>
|
@@ -7517,1280 +7663,1292 @@ reset => reset function for 'custom' options; returns nothing. Usage:
|
|
7517 |
$message = ['reset']( 'reset', $key, $value, $_REQUEST );</p>]]></long-description>
|
7518 |
</docblock>
|
7519 |
</property>
|
7520 |
-
<property final="false" static="true" visibility="private" line="
|
7521 |
<name>$mla_option_templates</name>
|
7522 |
<default><![CDATA[null]]></default>
|
7523 |
-
<docblock line="
|
7524 |
<description><![CDATA[Style and Markup templates]]></description>
|
7525 |
<long-description><![CDATA[]]></long-description>
|
7526 |
-
<tag line="
|
7527 |
-
<tag line="
|
7528 |
<type by_reference="false">array</type>
|
7529 |
</tag>
|
7530 |
</docblock>
|
7531 |
</property>
|
7532 |
-
<property final="false" static="true" visibility="private" line="
|
7533 |
<name>$add_attachment_id</name>
|
7534 |
<default><![CDATA[0]]></default>
|
7535 |
-
<docblock line="
|
7536 |
<description><![CDATA[Attachment ID passed from mla_add_attachment_action to mla_update_attachment_metadata_filter]]></description>
|
7537 |
<long-description><![CDATA[<p>Ensures that IPTC/EXIF and Custom Field mapping is only performed when the attachment is first
|
7538 |
added to the Media Library.</p>]]></long-description>
|
7539 |
-
<tag line="
|
7540 |
-
<tag line="
|
7541 |
<type by_reference="false">integer</type>
|
7542 |
</tag>
|
7543 |
</docblock>
|
7544 |
</property>
|
7545 |
-
<property final="false" static="true" visibility="private" line="
|
7546 |
<name>$custom_field_data_sources</name>
|
7547 |
<default><![CDATA[array('post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'comment_status', 'ping_status', 'post_name', 'post_modified', 'post_modified_gmt', 'post_content_filtered', 'parent', 'post_parent', 'guid', 'menu_order', 'mime_type', 'post_mime_type', 'comment_count', 'absolute_path', 'absolute_file_name', 'base_file', 'path', 'file_name', 'name_only', 'extension', 'file_size', 'upload_date', 'dimensions', 'pixels', 'width', 'height', 'orientation', 'hwstring_small', 'size_keys', 'size_names', 'size_bytes', 'size_pixels', 'size_dimensions', 'size_name[size]', 'size_bytes[size]', 'size_pixels[size]', 'size_dimensions[size]', 'parent_date', 'parent_type', 'parent_title', 'parent_issues', 'reference_issues', 'featured_in', 'featured_in_title', 'inserted_in', 'inserted_in_title', 'gallery_in', 'gallery_in_title', 'mla_gallery_in', 'mla_gallery_in_title', 'aperture', 'credit', 'camera', 'caption', 'created_timestamp', 'copyright', 'focal_length', 'iso', 'shutter_speed', 'title')]]></default>
|
7548 |
-
<docblock line="
|
7549 |
<description><![CDATA[Array of Data Source names for custom field mapping]]></description>
|
7550 |
<long-description><![CDATA[]]></long-description>
|
7551 |
-
<tag line="
|
7552 |
-
<tag line="
|
7553 |
<type by_reference="false">array</type>
|
7554 |
</tag>
|
7555 |
</docblock>
|
7556 |
</property>
|
7557 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7558 |
<name>initialize</name>
|
7559 |
<full_name>initialize</full_name>
|
7560 |
-
<docblock line="
|
7561 |
<description><![CDATA[Initialization function, similar to __construct()]]></description>
|
7562 |
<long-description><![CDATA[]]></long-description>
|
7563 |
-
<tag line="
|
7564 |
-
<tag line="
|
7565 |
<type by_reference="false">void</type>
|
7566 |
</tag>
|
7567 |
</docblock>
|
7568 |
</method>
|
7569 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
7570 |
<name>_load_option_templates</name>
|
7571 |
<full_name>_load_option_templates</full_name>
|
7572 |
-
<docblock line="
|
7573 |
<description><![CDATA[Load style and markup templates to $mla_templates]]></description>
|
7574 |
<long-description><![CDATA[]]></long-description>
|
7575 |
-
<tag line="
|
7576 |
-
<tag line="
|
7577 |
<type by_reference="false">void</type>
|
7578 |
</tag>
|
7579 |
</docblock>
|
7580 |
</method>
|
7581 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7582 |
<name>mla_localize_option_definitions_array</name>
|
7583 |
<full_name>mla_localize_option_definitions_array</full_name>
|
7584 |
-
<docblock line="
|
7585 |
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
7586 |
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
7587 |
in the "public static" array definition itself.</p>]]></long-description>
|
7588 |
-
<tag line="
|
7589 |
-
<tag line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7590 |
<type by_reference="false">void</type>
|
7591 |
</tag>
|
7592 |
</docblock>
|
7593 |
</method>
|
7594 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7595 |
<name>mla_fetch_gallery_template</name>
|
7596 |
<full_name>mla_fetch_gallery_template</full_name>
|
7597 |
-
<docblock line="
|
7598 |
<description><![CDATA[Fetch style or markup template from $mla_templates]]></description>
|
7599 |
<long-description><![CDATA[]]></long-description>
|
7600 |
-
<tag line="
|
7601 |
-
<tag line="
|
7602 |
<type by_reference="false">string</type>
|
7603 |
</tag>
|
7604 |
-
<tag line="
|
7605 |
<type by_reference="false">string</type>
|
7606 |
</tag>
|
7607 |
-
<tag line="
|
7608 |
<type by_reference="false">string</type>
|
7609 |
<type by_reference="false">boolean</type>
|
7610 |
<type by_reference="false">null</type>
|
7611 |
</tag>
|
7612 |
</docblock>
|
7613 |
-
<argument line="
|
7614 |
<name>$key</name>
|
7615 |
<default><![CDATA[]]></default>
|
7616 |
<type/>
|
7617 |
</argument>
|
7618 |
-
<argument line="
|
7619 |
<name>$type</name>
|
7620 |
<default><![CDATA['style']]></default>
|
7621 |
<type/>
|
7622 |
</argument>
|
7623 |
</method>
|
7624 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7625 |
<name>mla_get_style_templates</name>
|
7626 |
<full_name>mla_get_style_templates</full_name>
|
7627 |
-
<docblock line="
|
7628 |
<description><![CDATA[Get ALL style templates from $mla_templates, including 'default']]></description>
|
7629 |
<long-description><![CDATA[]]></long-description>
|
7630 |
-
<tag line="
|
7631 |
-
<tag line="
|
7632 |
<type by_reference="false">array</type>
|
7633 |
<type by_reference="false">null</type>
|
7634 |
</tag>
|
7635 |
</docblock>
|
7636 |
</method>
|
7637 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7638 |
<name>mla_put_style_templates</name>
|
7639 |
<full_name>mla_put_style_templates</full_name>
|
7640 |
-
<docblock line="
|
7641 |
<description><![CDATA[Put user-defined style templates to $mla_templates and database]]></description>
|
7642 |
<long-description><![CDATA[]]></long-description>
|
7643 |
-
<tag line="
|
7644 |
-
<tag line="
|
7645 |
<type by_reference="false">array</type>
|
7646 |
</tag>
|
7647 |
-
<tag line="
|
7648 |
<type by_reference="false">boolean</type>
|
7649 |
</tag>
|
7650 |
</docblock>
|
7651 |
-
<argument line="
|
7652 |
<name>$templates</name>
|
7653 |
<default><![CDATA[]]></default>
|
7654 |
<type/>
|
7655 |
</argument>
|
7656 |
</method>
|
7657 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7658 |
<name>mla_get_markup_templates</name>
|
7659 |
<full_name>mla_get_markup_templates</full_name>
|
7660 |
-
<docblock line="
|
7661 |
<description><![CDATA[Get ALL markup templates from $mla_templates, including 'default']]></description>
|
7662 |
<long-description><![CDATA[]]></long-description>
|
7663 |
-
<tag line="
|
7664 |
-
<tag line="
|
7665 |
<type by_reference="false">array</type>
|
7666 |
<type by_reference="false">null</type>
|
7667 |
</tag>
|
7668 |
</docblock>
|
7669 |
</method>
|
7670 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7671 |
<name>mla_put_markup_templates</name>
|
7672 |
<full_name>mla_put_markup_templates</full_name>
|
7673 |
-
<docblock line="
|
7674 |
<description><![CDATA[Put user-defined markup templates to $mla_templates and database]]></description>
|
7675 |
<long-description><![CDATA[]]></long-description>
|
7676 |
-
<tag line="
|
7677 |
-
<tag line="
|
7678 |
<type by_reference="false">array</type>
|
7679 |
</tag>
|
7680 |
-
<tag line="
|
7681 |
<type by_reference="false">boolean</type>
|
7682 |
</tag>
|
7683 |
</docblock>
|
7684 |
-
<argument line="
|
7685 |
<name>$templates</name>
|
7686 |
<default><![CDATA[]]></default>
|
7687 |
<type/>
|
7688 |
</argument>
|
7689 |
</method>
|
7690 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7691 |
<name>mla_get_option</name>
|
7692 |
<full_name>mla_get_option</full_name>
|
7693 |
-
<docblock line="
|
7694 |
<description><![CDATA[Return the stored value or default value of a defined MLA option]]></description>
|
7695 |
<long-description><![CDATA[]]></long-description>
|
7696 |
-
<tag line="
|
7697 |
-
<tag line="
|
7698 |
<type by_reference="false">string</type>
|
7699 |
</tag>
|
7700 |
-
<tag line="
|
7701 |
<type by_reference="false">boolean</type>
|
7702 |
</tag>
|
7703 |
-
<tag line="
|
7704 |
<type by_reference="false">boolean</type>
|
7705 |
</tag>
|
7706 |
-
<tag line="
|
7707 |
<type by_reference="false">mixed</type>
|
7708 |
</tag>
|
7709 |
</docblock>
|
7710 |
-
<argument line="
|
7711 |
<name>$option</name>
|
7712 |
<default><![CDATA[]]></default>
|
7713 |
<type/>
|
7714 |
</argument>
|
7715 |
-
<argument line="
|
7716 |
<name>$get_default</name>
|
7717 |
<default><![CDATA[false]]></default>
|
7718 |
<type/>
|
7719 |
</argument>
|
7720 |
-
<argument line="
|
7721 |
<name>$get_stored</name>
|
7722 |
<default><![CDATA[false]]></default>
|
7723 |
<type/>
|
7724 |
</argument>
|
7725 |
</method>
|
7726 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7727 |
<name>mla_update_option</name>
|
7728 |
<full_name>mla_update_option</full_name>
|
7729 |
-
<docblock line="
|
7730 |
<description><![CDATA[Add or update the stored value of a defined MLA option]]></description>
|
7731 |
<long-description><![CDATA[]]></long-description>
|
7732 |
-
<tag line="
|
7733 |
-
<tag line="
|
7734 |
<type by_reference="false">string</type>
|
7735 |
</tag>
|
7736 |
-
<tag line="
|
7737 |
<type by_reference="false">mixed</type>
|
7738 |
</tag>
|
7739 |
-
<tag line="
|
7740 |
<type by_reference="false">boolean</type>
|
7741 |
</tag>
|
7742 |
</docblock>
|
7743 |
-
<argument line="
|
7744 |
<name>$option</name>
|
7745 |
<default><![CDATA[]]></default>
|
7746 |
<type/>
|
7747 |
</argument>
|
7748 |
-
<argument line="
|
7749 |
<name>$newvalue</name>
|
7750 |
<default><![CDATA[]]></default>
|
7751 |
<type/>
|
7752 |
</argument>
|
7753 |
</method>
|
7754 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7755 |
<name>mla_delete_option</name>
|
7756 |
<full_name>mla_delete_option</full_name>
|
7757 |
-
<docblock line="
|
7758 |
<description><![CDATA[Delete the stored value of a defined MLA option]]></description>
|
7759 |
<long-description><![CDATA[]]></long-description>
|
7760 |
-
<tag line="
|
7761 |
-
<tag line="
|
7762 |
<type by_reference="false">string</type>
|
7763 |
</tag>
|
7764 |
-
<tag line="
|
7765 |
<type by_reference="false">boolean</type>
|
7766 |
</tag>
|
7767 |
</docblock>
|
7768 |
-
<argument line="
|
7769 |
<name>$option</name>
|
7770 |
<default><![CDATA[]]></default>
|
7771 |
<type/>
|
7772 |
</argument>
|
7773 |
</method>
|
7774 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7775 |
<name>mla_taxonomy_support</name>
|
7776 |
<full_name>mla_taxonomy_support</full_name>
|
7777 |
-
<docblock line="
|
7778 |
<description><![CDATA[Determine MLA support for a taxonomy, handling the special case where the
|
7779 |
settings are being updated or reset.]]></description>
|
7780 |
<long-description><![CDATA[]]></long-description>
|
7781 |
-
<tag line="
|
7782 |
-
<tag line="
|
7783 |
<type by_reference="false">string</type>
|
7784 |
</tag>
|
7785 |
-
<tag line="
|
7786 |
<type by_reference="false">string</type>
|
7787 |
</tag>
|
7788 |
-
<tag line="
|
7789 |
<type by_reference="false">boolean</type>
|
7790 |
<type by_reference="false">string</type>
|
7791 |
</tag>
|
7792 |
</docblock>
|
7793 |
-
<argument line="
|
7794 |
<name>$tax_name</name>
|
7795 |
<default><![CDATA[]]></default>
|
7796 |
<type/>
|
7797 |
</argument>
|
7798 |
-
<argument line="
|
7799 |
<name>$support_type</name>
|
7800 |
<default><![CDATA['support']]></default>
|
7801 |
<type/>
|
7802 |
</argument>
|
7803 |
</method>
|
7804 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7805 |
<name>mla_supported_taxonomies</name>
|
7806 |
<full_name>mla_supported_taxonomies</full_name>
|
7807 |
-
<docblock line="
|
7808 |
<description><![CDATA[Returns an array of taxonomy names assigned to $support_type]]></description>
|
7809 |
<long-description><![CDATA[]]></long-description>
|
7810 |
-
<tag line="
|
7811 |
-
<tag line="
|
7812 |
<type by_reference="false">string</type>
|
7813 |
</tag>
|
7814 |
-
<tag line="
|
7815 |
<type by_reference="false">array</type>
|
7816 |
</tag>
|
7817 |
</docblock>
|
7818 |
-
<argument line="
|
7819 |
<name>$support_type</name>
|
7820 |
<default><![CDATA['support']]></default>
|
7821 |
<type/>
|
7822 |
</argument>
|
7823 |
</method>
|
7824 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7825 |
<name>mla_attachment_display_settings_option_handler</name>
|
7826 |
<full_name>mla_attachment_display_settings_option_handler</full_name>
|
7827 |
-
<docblock line="
|
7828 |
<description><![CDATA[Render and manage Attachment Display Settings options; alignment, link type and size]]></description>
|
7829 |
<long-description><![CDATA[]]></long-description>
|
7830 |
-
<tag line="
|
7831 |
-
<tag line="
|
7832 |
-
<tag line="
|
7833 |
<type by_reference="false">string</type>
|
7834 |
</tag>
|
7835 |
-
<tag line="
|
7836 |
<type by_reference="false">string</type>
|
7837 |
</tag>
|
7838 |
-
<tag line="
|
7839 |
<type by_reference="false">array</type>
|
7840 |
</tag>
|
7841 |
-
<tag line="
|
7842 |
<type by_reference="false">array</type>
|
7843 |
</tag>
|
7844 |
-
<tag line="
|
7845 |
<type by_reference="false">string</type>
|
7846 |
</tag>
|
7847 |
</docblock>
|
7848 |
-
<argument line="
|
7849 |
<name>$action</name>
|
7850 |
<default><![CDATA[]]></default>
|
7851 |
<type/>
|
7852 |
</argument>
|
7853 |
-
<argument line="
|
7854 |
<name>$key</name>
|
7855 |
<default><![CDATA[]]></default>
|
7856 |
<type/>
|
7857 |
</argument>
|
7858 |
-
<argument line="
|
7859 |
<name>$value</name>
|
7860 |
<default><![CDATA[]]></default>
|
7861 |
<type/>
|
7862 |
</argument>
|
7863 |
-
<argument line="
|
7864 |
<name>$args</name>
|
7865 |
<default><![CDATA[null]]></default>
|
7866 |
<type/>
|
7867 |
</argument>
|
7868 |
</method>
|
7869 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7870 |
<name>mla_taxonomy_option_handler</name>
|
7871 |
<full_name>mla_taxonomy_option_handler</full_name>
|
7872 |
-
<docblock line="
|
7873 |
<description><![CDATA[Render and manage taxonomy support options, e.g., Categories and Post Tags]]></description>
|
7874 |
<long-description><![CDATA[]]></long-description>
|
7875 |
-
<tag line="
|
7876 |
-
<tag line="
|
7877 |
-
<tag line="
|
7878 |
<type by_reference="false">string</type>
|
7879 |
</tag>
|
7880 |
-
<tag line="
|
7881 |
<type by_reference="false">string</type>
|
7882 |
</tag>
|
7883 |
-
<tag line="
|
7884 |
<type by_reference="false">array</type>
|
7885 |
</tag>
|
7886 |
-
<tag line="
|
7887 |
<type by_reference="false">array</type>
|
7888 |
</tag>
|
7889 |
-
<tag line="
|
7890 |
<type by_reference="false">string</type>
|
7891 |
</tag>
|
7892 |
</docblock>
|
7893 |
-
<argument line="
|
7894 |
<name>$action</name>
|
7895 |
<default><![CDATA[]]></default>
|
7896 |
<type/>
|
7897 |
</argument>
|
7898 |
-
<argument line="
|
7899 |
<name>$key</name>
|
7900 |
<default><![CDATA[]]></default>
|
7901 |
<type/>
|
7902 |
</argument>
|
7903 |
-
<argument line="
|
7904 |
<name>$value</name>
|
7905 |
<default><![CDATA[]]></default>
|
7906 |
<type/>
|
7907 |
</argument>
|
7908 |
-
<argument line="
|
7909 |
<name>$args</name>
|
7910 |
<default><![CDATA[null]]></default>
|
7911 |
<type/>
|
7912 |
</argument>
|
7913 |
</method>
|
7914 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7915 |
<name>mla_search_option_handler</name>
|
7916 |
<full_name>mla_search_option_handler</full_name>
|
7917 |
-
<docblock line="
|
7918 |
<description><![CDATA[Render and manage Search box options, e.g., connector and search fields]]></description>
|
7919 |
<long-description><![CDATA[]]></long-description>
|
7920 |
-
<tag line="
|
7921 |
-
<tag line="
|
7922 |
-
<tag line="
|
7923 |
<type by_reference="false">string</type>
|
7924 |
</tag>
|
7925 |
-
<tag line="
|
7926 |
<type by_reference="false">string</type>
|
7927 |
</tag>
|
7928 |
-
<tag line="
|
7929 |
<type by_reference="false">array</type>
|
7930 |
</tag>
|
7931 |
-
<tag line="
|
7932 |
<type by_reference="false">array</type>
|
7933 |
</tag>
|
7934 |
-
<tag line="
|
7935 |
<type by_reference="false">string</type>
|
7936 |
</tag>
|
7937 |
</docblock>
|
7938 |
-
<argument line="
|
7939 |
<name>$action</name>
|
7940 |
<default><![CDATA[]]></default>
|
7941 |
<type/>
|
7942 |
</argument>
|
7943 |
-
<argument line="
|
7944 |
<name>$key</name>
|
7945 |
<default><![CDATA[]]></default>
|
7946 |
<type/>
|
7947 |
</argument>
|
7948 |
-
<argument line="
|
7949 |
<name>$value</name>
|
7950 |
<default><![CDATA[]]></default>
|
7951 |
<type/>
|
7952 |
</argument>
|
7953 |
-
<argument line="
|
7954 |
<name>$args</name>
|
7955 |
<default><![CDATA[null]]></default>
|
7956 |
<type/>
|
7957 |
</argument>
|
7958 |
</method>
|
7959 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7960 |
<name>mla_wp_handle_upload_prefilter_filter</name>
|
7961 |
<full_name>mla_wp_handle_upload_prefilter_filter</full_name>
|
7962 |
-
<docblock line="
|
7963 |
<description><![CDATA[Examine or alter the filename before the file is made permanent]]></description>
|
7964 |
<long-description><![CDATA[]]></long-description>
|
7965 |
-
<tag line="
|
7966 |
-
<tag line="
|
7967 |
<type by_reference="false">array</type>
|
7968 |
</tag>
|
7969 |
-
<tag line="
|
7970 |
<type by_reference="false">array</type>
|
7971 |
</tag>
|
7972 |
</docblock>
|
7973 |
-
<argument line="
|
7974 |
<name>$file</name>
|
7975 |
<default><![CDATA[]]></default>
|
7976 |
<type/>
|
7977 |
</argument>
|
7978 |
</method>
|
7979 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
7980 |
<name>mla_wp_handle_upload_filter</name>
|
7981 |
<full_name>mla_wp_handle_upload_filter</full_name>
|
7982 |
-
<docblock line="
|
7983 |
<description><![CDATA[Called once for each file uploaded]]></description>
|
7984 |
<long-description><![CDATA[]]></long-description>
|
7985 |
-
<tag line="
|
7986 |
-
<tag line="
|
7987 |
<type by_reference="false">array</type>
|
7988 |
</tag>
|
7989 |
-
<tag line="
|
7990 |
<type by_reference="false">array</type>
|
7991 |
</tag>
|
7992 |
</docblock>
|
7993 |
-
<argument line="
|
7994 |
<name>$file</name>
|
7995 |
<default><![CDATA[]]></default>
|
7996 |
<type/>
|
7997 |
</argument>
|
7998 |
</method>
|
7999 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8000 |
<name>mla_add_attachment_action</name>
|
8001 |
<full_name>mla_add_attachment_action</full_name>
|
8002 |
-
<docblock line="
|
8003 |
<description><![CDATA[Set $add_attachment_id to just-inserted attachment]]></description>
|
8004 |
<long-description><![CDATA[<p>All of the actual processing is done later, in mla_update_attachment_metadata_filter.</p>]]></long-description>
|
8005 |
-
<tag line="
|
8006 |
-
<tag line="
|
8007 |
<type by_reference="false">integer</type>
|
8008 |
</tag>
|
8009 |
-
<tag line="
|
8010 |
<type by_reference="false">void</type>
|
8011 |
</tag>
|
8012 |
</docblock>
|
8013 |
-
<argument line="
|
8014 |
<name>$post_ID</name>
|
8015 |
<default><![CDATA[]]></default>
|
8016 |
<type/>
|
8017 |
</argument>
|
8018 |
</method>
|
8019 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8020 |
<name>_update_attachment_metadata</name>
|
8021 |
<full_name>_update_attachment_metadata</full_name>
|
8022 |
-
<docblock line="
|
8023 |
<description><![CDATA[Update _wp_attachment_metadata for just-inserted attachment]]></description>
|
8024 |
<long-description><![CDATA[]]></long-description>
|
8025 |
-
<tag line="
|
8026 |
-
<tag line="
|
8027 |
<type by_reference="false">array</type>
|
8028 |
</tag>
|
8029 |
-
<tag line="
|
8030 |
<type by_reference="false">array</type>
|
8031 |
</tag>
|
8032 |
-
<tag line="
|
8033 |
<type by_reference="false">array</type>
|
8034 |
</tag>
|
8035 |
</docblock>
|
8036 |
-
<argument line="
|
8037 |
<name>$updates</name>
|
8038 |
<default><![CDATA[]]></default>
|
8039 |
<type/>
|
8040 |
</argument>
|
8041 |
-
<argument line="
|
8042 |
<name>$data</name>
|
8043 |
<default><![CDATA[]]></default>
|
8044 |
<type/>
|
8045 |
</argument>
|
8046 |
</method>
|
8047 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8048 |
<name>mla_update_attachment_metadata_filter</name>
|
8049 |
<full_name>mla_update_attachment_metadata_filter</full_name>
|
8050 |
-
<docblock line="
|
8051 |
<description><![CDATA[Perform IPTC/EXIF and Custom Field mapping on just-inserted attachment]]></description>
|
8052 |
<long-description><![CDATA[<p>This filter tests the $add_attachment_id variable set by the mla_add_attachment_action
|
8053 |
to ensure that mapping is only performed for new additions, not metadata updates.</p>]]></long-description>
|
8054 |
-
<tag line="
|
8055 |
-
<tag line="
|
8056 |
<type by_reference="false">array</type>
|
8057 |
</tag>
|
8058 |
-
<tag line="
|
8059 |
<type by_reference="false">integer</type>
|
8060 |
</tag>
|
8061 |
-
<tag line="
|
8062 |
<type by_reference="false">array</type>
|
8063 |
</tag>
|
8064 |
</docblock>
|
8065 |
-
<argument line="
|
8066 |
<name>$data</name>
|
8067 |
<default><![CDATA[]]></default>
|
8068 |
<type/>
|
8069 |
</argument>
|
8070 |
-
<argument line="
|
8071 |
<name>$post_id</name>
|
8072 |
<default><![CDATA[]]></default>
|
8073 |
<type/>
|
8074 |
</argument>
|
8075 |
</method>
|
8076 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8077 |
<name>mla_custom_field_option_value</name>
|
8078 |
<full_name>mla_custom_field_option_value</full_name>
|
8079 |
-
<docblock line="
|
8080 |
<description><![CDATA[Fetch custom field option value given a slug]]></description>
|
8081 |
<long-description><![CDATA[]]></long-description>
|
8082 |
-
<tag line="
|
8083 |
-
<tag line="
|
8084 |
<type by_reference="false">string</type>
|
8085 |
</tag>
|
8086 |
-
<tag line="
|
8087 |
<type by_reference="false">array</type>
|
8088 |
</tag>
|
8089 |
</docblock>
|
8090 |
-
<argument line="
|
8091 |
<name>$slug</name>
|
8092 |
<default><![CDATA[]]></default>
|
8093 |
<type/>
|
8094 |
</argument>
|
8095 |
</method>
|
8096 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8097 |
<name>mla_custom_field_support</name>
|
8098 |
<full_name>mla_custom_field_support</full_name>
|
8099 |
-
<docblock line="
|
8100 |
<description><![CDATA[Evaluate file information for custom field mapping]]></description>
|
8101 |
<long-description><![CDATA[]]></long-description>
|
8102 |
-
<tag line="
|
8103 |
-
<tag line="
|
8104 |
<type by_reference="false">string</type>
|
8105 |
</tag>
|
8106 |
-
<tag line="
|
8107 |
<type by_reference="false">array</type>
|
8108 |
</tag>
|
8109 |
</docblock>
|
8110 |
-
<argument line="
|
8111 |
<name>$support_type</name>
|
8112 |
<default><![CDATA['default_columns']]></default>
|
8113 |
<type/>
|
8114 |
</argument>
|
8115 |
</method>
|
8116 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8117 |
<name>_evaluate_file_information</name>
|
8118 |
<full_name>_evaluate_file_information</full_name>
|
8119 |
-
<docblock line="
|
8120 |
<description><![CDATA[Evaluate file information for custom field mapping]]></description>
|
8121 |
<long-description><![CDATA[]]></long-description>
|
8122 |
-
<tag line="
|
8123 |
-
<tag line="
|
8124 |
<type by_reference="false">string</type>
|
8125 |
</tag>
|
8126 |
-
<tag line="
|
8127 |
<type by_reference="false">array</type>
|
8128 |
</tag>
|
8129 |
-
<tag line="
|
8130 |
<type by_reference="false">array</type>
|
8131 |
</tag>
|
8132 |
-
<tag line="
|
8133 |
<type by_reference="false">integer</type>
|
8134 |
</tag>
|
8135 |
-
<tag line="
|
8136 |
<type by_reference="false">array</type>
|
8137 |
</tag>
|
8138 |
</docblock>
|
8139 |
-
<argument line="
|
8140 |
<name>$upload_dir</name>
|
8141 |
<default><![CDATA[]]></default>
|
8142 |
<type/>
|
8143 |
</argument>
|
8144 |
-
<argument line="
|
8145 |
<name>$wp_attached_files</name>
|
8146 |
<default><![CDATA[]]></default>
|
8147 |
<type/>
|
8148 |
</argument>
|
8149 |
-
<argument line="
|
8150 |
<name>$wp_attachment_metadata</name>
|
8151 |
<default><![CDATA[]]></default>
|
8152 |
<type/>
|
8153 |
</argument>
|
8154 |
-
<argument line="
|
8155 |
<name>$post_id</name>
|
8156 |
<default><![CDATA[]]></default>
|
8157 |
<type/>
|
8158 |
</argument>
|
8159 |
</method>
|
8160 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8161 |
<name>_evaluate_post_information</name>
|
8162 |
<full_name>_evaluate_post_information</full_name>
|
8163 |
-
<docblock line="
|
8164 |
<description><![CDATA[Evaluate post information for custom field mapping]]></description>
|
8165 |
<long-description><![CDATA[]]></long-description>
|
8166 |
-
<tag line="
|
8167 |
-
<tag line="
|
8168 |
<type by_reference="false">integer</type>
|
8169 |
</tag>
|
8170 |
-
<tag line="
|
8171 |
<type by_reference="false">string</type>
|
8172 |
</tag>
|
8173 |
-
<tag line="
|
8174 |
<type by_reference="false">string</type>
|
8175 |
</tag>
|
8176 |
-
<tag line="
|
8177 |
<type by_reference="false">mixed</type>
|
8178 |
</tag>
|
8179 |
</docblock>
|
8180 |
-
<argument line="
|
8181 |
<name>$post_id</name>
|
8182 |
<default><![CDATA[]]></default>
|
8183 |
<type/>
|
8184 |
</argument>
|
8185 |
-
<argument line="
|
8186 |
<name>$category</name>
|
8187 |
<default><![CDATA[]]></default>
|
8188 |
<type/>
|
8189 |
</argument>
|
8190 |
-
<argument line="
|
8191 |
<name>$data_source</name>
|
8192 |
<default><![CDATA[]]></default>
|
8193 |
<type/>
|
8194 |
</argument>
|
8195 |
</method>
|
8196 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8197 |
<name>_evaluate_array_result</name>
|
8198 |
<full_name>_evaluate_array_result</full_name>
|
8199 |
-
<docblock line="
|
8200 |
<description><![CDATA[Evaluate post information for custom field mapping]]></description>
|
8201 |
<long-description><![CDATA[]]></long-description>
|
8202 |
-
<tag line="
|
8203 |
-
<tag line="
|
8204 |
<type by_reference="false">array</type>
|
8205 |
</tag>
|
8206 |
-
<tag line="
|
8207 |
<type by_reference="false">string</type>
|
8208 |
</tag>
|
8209 |
-
<tag line="
|
8210 |
<type by_reference="false">boolean</type>
|
8211 |
</tag>
|
8212 |
-
<tag line="
|
8213 |
<type by_reference="false">mixed</type>
|
8214 |
</tag>
|
8215 |
</docblock>
|
8216 |
-
<argument line="
|
8217 |
<name>$value</name>
|
8218 |
<default><![CDATA[]]></default>
|
8219 |
<type/>
|
8220 |
</argument>
|
8221 |
-
<argument line="
|
8222 |
<name>$option</name>
|
8223 |
<default><![CDATA[]]></default>
|
8224 |
<type/>
|
8225 |
</argument>
|
8226 |
-
<argument line="
|
8227 |
<name>$keep_existing</name>
|
8228 |
<default><![CDATA[]]></default>
|
8229 |
<type/>
|
8230 |
</argument>
|
8231 |
</method>
|
8232 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8233 |
<name>mla_get_data_source</name>
|
8234 |
<full_name>mla_get_data_source</full_name>
|
8235 |
-
<docblock line="
|
8236 |
<description><![CDATA[Get IPTC/EXIF or custom field mapping data source]]></description>
|
8237 |
<long-description><![CDATA[<p>Defined as public so MLA Mapping Hooks clients can call it.
|
8238 |
Isolates clients from changes to _evaluate_data_source().</p>]]></long-description>
|
8239 |
-
<tag line="
|
8240 |
-
<tag line="
|
8241 |
<type by_reference="false">integer</type>
|
8242 |
</tag>
|
8243 |
-
<tag line="
|
8244 |
<type by_reference="false">string</type>
|
8245 |
</tag>
|
8246 |
-
<tag line="
|
8247 |
<type by_reference="false">array</type>
|
8248 |
</tag>
|
8249 |
-
<tag line="
|
8250 |
<type by_reference="false">array</type>
|
8251 |
</tag>
|
8252 |
-
<tag line="
|
8253 |
<type by_reference="false">string</type>
|
8254 |
<type by_reference="false">array</type>
|
8255 |
</tag>
|
8256 |
</docblock>
|
8257 |
-
<argument line="
|
8258 |
<name>$post_id</name>
|
8259 |
<default><![CDATA[]]></default>
|
8260 |
<type/>
|
8261 |
</argument>
|
8262 |
-
<argument line="
|
8263 |
<name>$category</name>
|
8264 |
<default><![CDATA[]]></default>
|
8265 |
<type/>
|
8266 |
</argument>
|
8267 |
-
<argument line="
|
8268 |
<name>$data_value</name>
|
8269 |
<default><![CDATA[]]></default>
|
8270 |
<type/>
|
8271 |
</argument>
|
8272 |
-
<argument line="
|
8273 |
<name>$attachment_metadata</name>
|
8274 |
<default><![CDATA[NULL]]></default>
|
8275 |
<type/>
|
8276 |
</argument>
|
8277 |
</method>
|
8278 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8279 |
<name>mla_is_data_source</name>
|
8280 |
<full_name>mla_is_data_source</full_name>
|
8281 |
-
<docblock line="
|
8282 |
<description><![CDATA[Identify custom field mapping data source]]></description>
|
8283 |
<long-description><![CDATA[<p>Determines whether a name matches any of the element-level data source dropdown options, i.e.,
|
8284 |
excludes "template:" and "meta:" values.</p>]]></long-description>
|
8285 |
-
<tag line="
|
8286 |
-
<tag line="
|
8287 |
<type by_reference="false">string</type>
|
8288 |
</tag>
|
8289 |
-
<tag line="
|
8290 |
<type by_reference="false">boolean</type>
|
8291 |
</tag>
|
8292 |
</docblock>
|
8293 |
-
<argument line="
|
8294 |
<name>$candidate_name</name>
|
8295 |
<default><![CDATA[]]></default>
|
8296 |
<type/>
|
8297 |
</argument>
|
8298 |
</method>
|
8299 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8300 |
<name>_evaluate_data_source</name>
|
8301 |
<full_name>_evaluate_data_source</full_name>
|
8302 |
-
<docblock line="
|
8303 |
<description><![CDATA[Evaluate custom field mapping data source]]></description>
|
8304 |
<long-description><![CDATA[]]></long-description>
|
8305 |
-
<tag line="
|
8306 |
-
<tag line="
|
8307 |
<type by_reference="false">integer</type>
|
8308 |
</tag>
|
8309 |
-
<tag line="
|
8310 |
<type by_reference="false">string</type>
|
8311 |
</tag>
|
8312 |
-
<tag line="
|
8313 |
<type by_reference="false">array</type>
|
8314 |
</tag>
|
8315 |
-
<tag line="
|
8316 |
<type by_reference="false">array</type>
|
8317 |
</tag>
|
8318 |
-
<tag line="
|
8319 |
<type by_reference="false">string</type>
|
8320 |
<type by_reference="false">array</type>
|
8321 |
</tag>
|
8322 |
</docblock>
|
8323 |
-
<argument line="
|
8324 |
<name>$post_id</name>
|
8325 |
<default><![CDATA[]]></default>
|
8326 |
<type/>
|
8327 |
</argument>
|
8328 |
-
<argument line="
|
8329 |
<name>$category</name>
|
8330 |
<default><![CDATA[]]></default>
|
8331 |
<type/>
|
8332 |
</argument>
|
8333 |
-
<argument line="
|
8334 |
<name>$data_value</name>
|
8335 |
<default><![CDATA[]]></default>
|
8336 |
<type/>
|
8337 |
</argument>
|
8338 |
-
<argument line="
|
8339 |
<name>$attachment_metadata</name>
|
8340 |
<default><![CDATA[NULL]]></default>
|
8341 |
<type/>
|
8342 |
</argument>
|
8343 |
</method>
|
8344 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8345 |
<name>mla_evaluate_custom_field_mapping</name>
|
8346 |
<full_name>mla_evaluate_custom_field_mapping</full_name>
|
8347 |
-
<docblock line="
|
8348 |
<description><![CDATA[Evaluate custom field mapping updates for a post]]></description>
|
8349 |
<long-description><![CDATA[]]></long-description>
|
8350 |
-
<tag line="
|
8351 |
-
<tag line="
|
8352 |
<type by_reference="false">integer</type>
|
8353 |
</tag>
|
8354 |
-
<tag line="
|
8355 |
<type by_reference="false">string</type>
|
8356 |
</tag>
|
8357 |
-
<tag line="
|
8358 |
<type by_reference="false">array</type>
|
8359 |
</tag>
|
8360 |
-
<tag line="
|
8361 |
<type by_reference="false">array</type>
|
8362 |
</tag>
|
8363 |
-
<tag line="
|
8364 |
<type by_reference="false">array</type>
|
8365 |
</tag>
|
8366 |
</docblock>
|
8367 |
-
<argument line="
|
8368 |
<name>$post_id</name>
|
8369 |
<default><![CDATA[]]></default>
|
8370 |
<type/>
|
8371 |
</argument>
|
8372 |
-
<argument line="
|
8373 |
<name>$category</name>
|
8374 |
<default><![CDATA[]]></default>
|
8375 |
<type/>
|
8376 |
</argument>
|
8377 |
-
<argument line="
|
8378 |
<name>$settings</name>
|
8379 |
<default><![CDATA[NULL]]></default>
|
8380 |
<type/>
|
8381 |
</argument>
|
8382 |
-
<argument line="
|
8383 |
<name>$attachment_metadata</name>
|
8384 |
<default><![CDATA[NULL]]></default>
|
8385 |
<type/>
|
8386 |
</argument>
|
8387 |
</method>
|
8388 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8389 |
<name>_compose_custom_field_option_list</name>
|
8390 |
<full_name>_compose_custom_field_option_list</full_name>
|
8391 |
-
<docblock line="
|
8392 |
<description><![CDATA[Compose a Custom Field Options list with current selection]]></description>
|
8393 |
<long-description><![CDATA[]]></long-description>
|
8394 |
-
<tag line="
|
8395 |
-
<tag line="
|
8396 |
-
<tag line="
|
8397 |
<type by_reference="false">string</type>
|
8398 |
</tag>
|
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 |
</docblock>
|
8406 |
-
<argument line="
|
8407 |
<name>$selection</name>
|
8408 |
<default><![CDATA['none']]></default>
|
8409 |
<type/>
|
8410 |
</argument>
|
8411 |
-
<argument line="
|
8412 |
<name>$blacklist</name>
|
8413 |
<default><![CDATA[array()]]></default>
|
8414 |
<type/>
|
8415 |
</argument>
|
8416 |
</method>
|
8417 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8418 |
<name>_compose_data_source_option_list</name>
|
8419 |
<full_name>_compose_data_source_option_list</full_name>
|
8420 |
-
<docblock line="
|
8421 |
<description><![CDATA[Compose a (Custom Field) Data Source Options list with current selection]]></description>
|
8422 |
<long-description><![CDATA[]]></long-description>
|
8423 |
-
<tag line="
|
8424 |
-
<tag line="
|
8425 |
-
<tag line="
|
8426 |
<type by_reference="false">string</type>
|
8427 |
</tag>
|
8428 |
-
<tag line="
|
8429 |
<type by_reference="false">string</type>
|
8430 |
</tag>
|
8431 |
</docblock>
|
8432 |
-
<argument line="
|
8433 |
<name>$selection</name>
|
8434 |
<default><![CDATA['none']]></default>
|
8435 |
<type/>
|
8436 |
</argument>
|
8437 |
</method>
|
8438 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8439 |
<name>_update_custom_field_mapping</name>
|
8440 |
<full_name>_update_custom_field_mapping</full_name>
|
8441 |
-
<docblock line="
|
8442 |
<description><![CDATA[Update custom field mappings]]></description>
|
8443 |
<long-description><![CDATA[]]></long-description>
|
8444 |
-
<tag line="
|
8445 |
-
<tag line="
|
8446 |
<type by_reference="false">array</type>
|
8447 |
</tag>
|
8448 |
-
<tag line="
|
8449 |
<type by_reference="false">array</type>
|
8450 |
</tag>
|
8451 |
-
<tag line="
|
8452 |
<type by_reference="false">array</type>
|
8453 |
</tag>
|
8454 |
</docblock>
|
8455 |
-
<argument line="
|
8456 |
<name>$current_values</name>
|
8457 |
<default><![CDATA[]]></default>
|
8458 |
<type/>
|
8459 |
</argument>
|
8460 |
-
<argument line="
|
8461 |
<name>$new_values</name>
|
8462 |
<default><![CDATA[]]></default>
|
8463 |
<type/>
|
8464 |
</argument>
|
8465 |
</method>
|
8466 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8467 |
<name>mla_custom_field_option_handler</name>
|
8468 |
<full_name>mla_custom_field_option_handler</full_name>
|
8469 |
-
<docblock line="
|
8470 |
<description><![CDATA[Render and manage custom field mapping options]]></description>
|
8471 |
<long-description><![CDATA[]]></long-description>
|
8472 |
-
<tag line="
|
8473 |
-
<tag line="
|
8474 |
-
<tag line="
|
8475 |
<type by_reference="false">string</type>
|
8476 |
</tag>
|
8477 |
-
<tag line="
|
8478 |
<type by_reference="false">string</type>
|
8479 |
</tag>
|
8480 |
-
<tag line="
|
8481 |
<type by_reference="false">array</type>
|
8482 |
</tag>
|
8483 |
-
<tag line="
|
8484 |
<type by_reference="false">array</type>
|
8485 |
</tag>
|
8486 |
-
<tag line="
|
8487 |
<type by_reference="false">string</type>
|
8488 |
</tag>
|
8489 |
</docblock>
|
8490 |
-
<argument line="
|
8491 |
<name>$action</name>
|
8492 |
<default><![CDATA[]]></default>
|
8493 |
<type/>
|
8494 |
</argument>
|
8495 |
-
<argument line="
|
8496 |
<name>$key</name>
|
8497 |
<default><![CDATA[]]></default>
|
8498 |
<type/>
|
8499 |
</argument>
|
8500 |
-
<argument line="
|
8501 |
<name>$value</name>
|
8502 |
<default><![CDATA[]]></default>
|
8503 |
<type/>
|
8504 |
</argument>
|
8505 |
-
<argument line="
|
8506 |
<name>$args</name>
|
8507 |
<default><![CDATA[null]]></default>
|
8508 |
<type/>
|
8509 |
</argument>
|
8510 |
</method>
|
8511 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8512 |
<name>_get_term_id</name>
|
8513 |
<full_name>_get_term_id</full_name>
|
8514 |
-
<docblock line="
|
8515 |
<description><![CDATA[Build and search a cache of taxonomy and term name to term ID mappings]]></description>
|
8516 |
<long-description><![CDATA[]]></long-description>
|
8517 |
-
<tag line="
|
8518 |
-
<tag line="
|
8519 |
<type by_reference="false">string</type>
|
8520 |
</tag>
|
8521 |
-
<tag line="
|
8522 |
<type by_reference="false">integer</type>
|
8523 |
</tag>
|
8524 |
-
<tag line="
|
8525 |
<type by_reference="false">string</type>
|
8526 |
</tag>
|
8527 |
-
<tag line="
|
8528 |
<type by_reference="false">array</type>
|
8529 |
</tag>
|
8530 |
-
<tag line="
|
8531 |
<type by_reference="false">integer</type>
|
8532 |
</tag>
|
8533 |
</docblock>
|
8534 |
-
<argument line="
|
8535 |
<name>$term_name</name>
|
8536 |
<default><![CDATA[]]></default>
|
8537 |
<type/>
|
8538 |
</argument>
|
8539 |
-
<argument line="
|
8540 |
<name>$term_parent</name>
|
8541 |
<default><![CDATA[]]></default>
|
8542 |
<type/>
|
8543 |
</argument>
|
8544 |
-
<argument line="
|
8545 |
<name>$taxonomy</name>
|
8546 |
<default><![CDATA[]]></default>
|
8547 |
<type/>
|
8548 |
</argument>
|
8549 |
-
<argument line="
|
8550 |
<name>$post_terms</name>
|
8551 |
<default><![CDATA[]]></default>
|
8552 |
<type/>
|
8553 |
</argument>
|
8554 |
</method>
|
8555 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8556 |
<name>mla_evaluate_iptc_exif_mapping</name>
|
8557 |
<full_name>mla_evaluate_iptc_exif_mapping</full_name>
|
8558 |
-
<docblock line="
|
8559 |
<description><![CDATA[Evaluate IPTC/EXIF mapping updates for a post]]></description>
|
8560 |
<long-description><![CDATA[]]></long-description>
|
8561 |
-
<tag line="
|
8562 |
-
<tag line="
|
8563 |
<type by_reference="false">object</type>
|
8564 |
</tag>
|
8565 |
-
<tag line="
|
8566 |
<type by_reference="false">string</type>
|
8567 |
</tag>
|
8568 |
-
<tag line="
|
8569 |
<type by_reference="false">array</type>
|
8570 |
</tag>
|
8571 |
-
<tag line="
|
8572 |
<type by_reference="false">array</type>
|
8573 |
</tag>
|
8574 |
-
<tag line="
|
8575 |
<type by_reference="false">boolean</type>
|
8576 |
</tag>
|
8577 |
-
<tag line="
|
8578 |
<type by_reference="false">array</type>
|
8579 |
</tag>
|
8580 |
</docblock>
|
8581 |
-
<argument line="
|
8582 |
<name>$post</name>
|
8583 |
<default><![CDATA[]]></default>
|
8584 |
<type/>
|
8585 |
</argument>
|
8586 |
-
<argument line="
|
8587 |
<name>$category</name>
|
8588 |
<default><![CDATA[]]></default>
|
8589 |
<type/>
|
8590 |
</argument>
|
8591 |
-
<argument line="
|
8592 |
<name>$settings</name>
|
8593 |
<default><![CDATA[NULL]]></default>
|
8594 |
<type/>
|
8595 |
</argument>
|
8596 |
-
<argument line="
|
8597 |
<name>$attachment_metadata</name>
|
8598 |
<default><![CDATA[NULL]]></default>
|
8599 |
<type/>
|
8600 |
</argument>
|
8601 |
-
<argument line="
|
8602 |
<name>$is_upload</name>
|
8603 |
<default><![CDATA[false]]></default>
|
8604 |
<type/>
|
8605 |
</argument>
|
8606 |
</method>
|
8607 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8608 |
<name>_compose_iptc_option_list</name>
|
8609 |
<full_name>_compose_iptc_option_list</full_name>
|
8610 |
-
<docblock line="
|
8611 |
<description><![CDATA[Compose an IPTC Options list with current selection]]></description>
|
8612 |
<long-description><![CDATA[]]></long-description>
|
8613 |
-
<tag line="
|
8614 |
-
<tag line="
|
8615 |
-
<tag line="
|
8616 |
<type by_reference="false">string</type>
|
8617 |
</tag>
|
8618 |
-
<tag line="
|
8619 |
<type by_reference="false">string</type>
|
8620 |
</tag>
|
8621 |
</docblock>
|
8622 |
-
<argument line="
|
8623 |
<name>$selection</name>
|
8624 |
<default><![CDATA['none']]></default>
|
8625 |
<type/>
|
8626 |
</argument>
|
8627 |
</method>
|
8628 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8629 |
<name>_compose_parent_option_list</name>
|
8630 |
<full_name>_compose_parent_option_list</full_name>
|
8631 |
-
<docblock line="
|
8632 |
<description><![CDATA[Compose an hierarchical taxonomy Parent options list with current selection]]></description>
|
8633 |
<long-description><![CDATA[]]></long-description>
|
8634 |
-
<tag line="
|
8635 |
-
<tag line="
|
8636 |
-
<tag line="
|
8637 |
<type by_reference="false">string</type>
|
8638 |
</tag>
|
8639 |
-
<tag line="
|
8640 |
<type by_reference="false">integer</type>
|
8641 |
</tag>
|
8642 |
-
<tag line="
|
8643 |
<type by_reference="false">string</type>
|
8644 |
</tag>
|
8645 |
</docblock>
|
8646 |
-
<argument line="
|
8647 |
<name>$taxonomy</name>
|
8648 |
<default><![CDATA[]]></default>
|
8649 |
<type/>
|
8650 |
</argument>
|
8651 |
-
<argument line="
|
8652 |
<name>$selection</name>
|
8653 |
<default><![CDATA[0]]></default>
|
8654 |
<type/>
|
8655 |
</argument>
|
8656 |
</method>
|
8657 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8658 |
<name>_update_iptc_exif_standard_mapping</name>
|
8659 |
<full_name>_update_iptc_exif_standard_mapping</full_name>
|
8660 |
-
<docblock line="
|
8661 |
<description><![CDATA[Update Standard field portion of IPTC/EXIF mappings]]></description>
|
8662 |
<long-description><![CDATA[]]></long-description>
|
8663 |
-
<tag line="
|
8664 |
-
<tag line="
|
8665 |
<type by_reference="false">array</type>
|
8666 |
</tag>
|
8667 |
-
<tag line="
|
8668 |
<type by_reference="false">array</type>
|
8669 |
</tag>
|
8670 |
-
<tag line="
|
8671 |
<type by_reference="false">array</type>
|
8672 |
</tag>
|
8673 |
</docblock>
|
8674 |
-
<argument line="
|
8675 |
<name>$current_values</name>
|
8676 |
<default><![CDATA[]]></default>
|
8677 |
<type/>
|
8678 |
</argument>
|
8679 |
-
<argument line="
|
8680 |
<name>$new_values</name>
|
8681 |
<default><![CDATA[]]></default>
|
8682 |
<type/>
|
8683 |
</argument>
|
8684 |
</method>
|
8685 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8686 |
<name>_update_iptc_exif_taxonomy_mapping</name>
|
8687 |
<full_name>_update_iptc_exif_taxonomy_mapping</full_name>
|
8688 |
-
<docblock line="
|
8689 |
<description><![CDATA[Update Taxonomy term portion of IPTC/EXIF mappings]]></description>
|
8690 |
<long-description><![CDATA[]]></long-description>
|
8691 |
-
<tag line="
|
8692 |
-
<tag line="
|
8693 |
<type by_reference="false">array</type>
|
8694 |
</tag>
|
8695 |
-
<tag line="
|
8696 |
<type by_reference="false">array</type>
|
8697 |
</tag>
|
8698 |
-
<tag line="
|
8699 |
<type by_reference="false">array</type>
|
8700 |
</tag>
|
8701 |
</docblock>
|
8702 |
-
<argument line="
|
8703 |
<name>$current_values</name>
|
8704 |
<default><![CDATA[]]></default>
|
8705 |
<type/>
|
8706 |
</argument>
|
8707 |
-
<argument line="
|
8708 |
<name>$new_values</name>
|
8709 |
<default><![CDATA[]]></default>
|
8710 |
<type/>
|
8711 |
</argument>
|
8712 |
</method>
|
8713 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8714 |
<name>_update_iptc_exif_custom_mapping</name>
|
8715 |
<full_name>_update_iptc_exif_custom_mapping</full_name>
|
8716 |
-
<docblock line="
|
8717 |
<description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
|
8718 |
<long-description><![CDATA[]]></long-description>
|
8719 |
-
<tag line="
|
8720 |
-
<tag line="
|
8721 |
<type by_reference="false">array</type>
|
8722 |
</tag>
|
8723 |
-
<tag line="
|
8724 |
<type by_reference="false">array</type>
|
8725 |
</tag>
|
8726 |
-
<tag line="
|
8727 |
<type by_reference="false">array</type>
|
8728 |
</tag>
|
8729 |
</docblock>
|
8730 |
-
<argument line="
|
8731 |
<name>$current_values</name>
|
8732 |
<default><![CDATA[]]></default>
|
8733 |
<type/>
|
8734 |
</argument>
|
8735 |
-
<argument line="
|
8736 |
<name>$new_values</name>
|
8737 |
<default><![CDATA[]]></default>
|
8738 |
<type/>
|
8739 |
</argument>
|
8740 |
</method>
|
8741 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
8742 |
<name>_get_custom_field_names</name>
|
8743 |
<full_name>_get_custom_field_names</full_name>
|
8744 |
-
<docblock line="
|
8745 |
<description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
|
8746 |
<long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
|
8747 |
haven't been mapped to any attachments, yet.</p>]]></long-description>
|
8748 |
-
<tag line="
|
8749 |
-
<tag line="
|
8750 |
<type by_reference="false">array</type>
|
8751 |
</tag>
|
8752 |
</docblock>
|
8753 |
</method>
|
8754 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
8755 |
<name>mla_iptc_exif_option_handler</name>
|
8756 |
<full_name>mla_iptc_exif_option_handler</full_name>
|
8757 |
-
<docblock line="
|
8758 |
<description><![CDATA[Render and manage iptc/exif support options]]></description>
|
8759 |
<long-description><![CDATA[]]></long-description>
|
8760 |
-
<tag line="
|
8761 |
-
<tag line="
|
8762 |
-
<tag line="
|
8763 |
<type by_reference="false">string</type>
|
8764 |
</tag>
|
8765 |
-
<tag line="
|
8766 |
<type by_reference="false">string</type>
|
8767 |
</tag>
|
8768 |
-
<tag line="
|
8769 |
<type by_reference="false">array</type>
|
8770 |
</tag>
|
8771 |
-
<tag line="
|
8772 |
<type by_reference="false">array</type>
|
8773 |
</tag>
|
8774 |
-
<tag line="
|
8775 |
<type by_reference="false">string</type>
|
8776 |
</tag>
|
8777 |
</docblock>
|
8778 |
-
<argument line="
|
8779 |
<name>$action</name>
|
8780 |
<default><![CDATA[]]></default>
|
8781 |
<type/>
|
8782 |
</argument>
|
8783 |
-
<argument line="
|
8784 |
<name>$key</name>
|
8785 |
<default><![CDATA[]]></default>
|
8786 |
<type/>
|
8787 |
</argument>
|
8788 |
-
<argument line="
|
8789 |
<name>$value</name>
|
8790 |
<default><![CDATA[]]></default>
|
8791 |
<type/>
|
8792 |
</argument>
|
8793 |
-
<argument line="
|
8794 |
<name>$args</name>
|
8795 |
<default><![CDATA[null]]></default>
|
8796 |
<type/>
|
@@ -8798,7 +8956,7 @@ haven't been mapped to any attachments, yet.</p>]]></long-description>
|
|
8798 |
</method>
|
8799 |
</class>
|
8800 |
</file>
|
8801 |
-
<file path="includes\class-mla-settings.php" hash="
|
8802 |
<docblock line="2">
|
8803 |
<description><![CDATA[Manages the settings page to edit the plugin option settings]]></description>
|
8804 |
<long-description><![CDATA[]]></long-description>
|
@@ -8931,23 +9089,23 @@ haven't been mapped to any attachments, yet.</p>]]></long-description>
|
|
8931 |
</tag>
|
8932 |
</docblock>
|
8933 |
</property>
|
8934 |
-
<property final="false" static="true" visibility="public" line="
|
8935 |
<name>$page_template_array</name>
|
8936 |
<default><![CDATA[null]]></default>
|
8937 |
-
<docblock line="
|
8938 |
<description><![CDATA[Template file for the Settings page(s) and parts]]></description>
|
8939 |
<long-description><![CDATA[<p>This array contains all of the template parts for the Settings page(s). The array is built once
|
8940 |
each page load and cached for subsequent use.</p>]]></long-description>
|
8941 |
-
<tag line="
|
8942 |
-
<tag line="
|
8943 |
<type by_reference="false">array</type>
|
8944 |
</tag>
|
8945 |
</docblock>
|
8946 |
</property>
|
8947 |
-
<property final="false" static="true" visibility="private" line="
|
8948 |
<name>$mla_tablist</name>
|
8949 |
<default><![CDATA[array()]]></default>
|
8950 |
-
<docblock line="
|
8951 |
<description><![CDATA[Definitions for Settings page tab ids, titles and handlers
|
8952 |
Each tab is defined by an array with the following elements:]]></description>
|
8953 |
<long-description><![CDATA[<p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
|
@@ -8958,8 +9116,8 @@ render => rendering function for tab messages and content. Usage:
|
|
8958 |
|
8959 |
<p>The array must be populated at runtime in MLASettings::mla_localize_tablist(),
|
8960 |
because Localization calls cannot be placed in the "public static" array definition itself.</p>]]></long-description>
|
8961 |
-
<tag line="
|
8962 |
-
<tag line="
|
8963 |
<type by_reference="false">array</type>
|
8964 |
</tag>
|
8965 |
</docblock>
|
@@ -9044,858 +9202,858 @@ because Localization calls cannot be placed in the "public static" array definit
|
|
9044 |
<type/>
|
9045 |
</argument>
|
9046 |
</method>
|
9047 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9048 |
<name>mla_admin_menu_action</name>
|
9049 |
<full_name>mla_admin_menu_action</full_name>
|
9050 |
-
<docblock line="
|
9051 |
<description><![CDATA[Add settings page in the "Settings" section,
|
9052 |
add screen options and help tabs,
|
9053 |
add settings link in the Plugins section entry for MLA.]]></description>
|
9054 |
<long-description><![CDATA[]]></long-description>
|
9055 |
-
<tag line="
|
9056 |
-
<tag line="
|
9057 |
<type by_reference="false">void</type>
|
9058 |
</tag>
|
9059 |
</docblock>
|
9060 |
</method>
|
9061 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9062 |
<name>mla_add_menu_options_action</name>
|
9063 |
<full_name>mla_add_menu_options_action</full_name>
|
9064 |
-
<docblock line="
|
9065 |
<description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
|
9066 |
<long-description><![CDATA[]]></long-description>
|
9067 |
-
<tag line="
|
9068 |
-
<tag line="
|
9069 |
<type by_reference="false">void</type>
|
9070 |
</tag>
|
9071 |
</docblock>
|
9072 |
</method>
|
9073 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9074 |
<name>mla_add_help_tab_action</name>
|
9075 |
<full_name>mla_add_help_tab_action</full_name>
|
9076 |
-
<docblock line="
|
9077 |
<description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
|
9078 |
<long-description><![CDATA[]]></long-description>
|
9079 |
-
<tag line="
|
9080 |
-
<tag line="
|
9081 |
<type by_reference="false">void</type>
|
9082 |
</tag>
|
9083 |
</docblock>
|
9084 |
</method>
|
9085 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9086 |
<name>mla_screen_options_show_screen_filter</name>
|
9087 |
<full_name>mla_screen_options_show_screen_filter</full_name>
|
9088 |
-
<docblock line="
|
9089 |
<description><![CDATA[Only show screen options on the View and Upload tabs]]></description>
|
9090 |
<long-description><![CDATA[]]></long-description>
|
9091 |
-
<tag line="
|
9092 |
-
<tag line="
|
9093 |
<type by_reference="false">boolean</type>
|
9094 |
</tag>
|
9095 |
-
<tag line="
|
9096 |
<type by_reference="false">string</type>
|
9097 |
</tag>
|
9098 |
-
<tag line="
|
9099 |
<type by_reference="false">boolean</type>
|
9100 |
</tag>
|
9101 |
</docblock>
|
9102 |
-
<argument line="
|
9103 |
<name>$show_screen</name>
|
9104 |
<default><![CDATA[]]></default>
|
9105 |
<type/>
|
9106 |
</argument>
|
9107 |
-
<argument line="
|
9108 |
<name>$this_screen</name>
|
9109 |
<default><![CDATA[]]></default>
|
9110 |
<type/>
|
9111 |
</argument>
|
9112 |
</method>
|
9113 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9114 |
<name>mla_set_screen_option_filter</name>
|
9115 |
<full_name>mla_set_screen_option_filter</full_name>
|
9116 |
-
<docblock line="
|
9117 |
<description><![CDATA[Save the "Views/Uploads per page" option set by this user]]></description>
|
9118 |
<long-description><![CDATA[]]></long-description>
|
9119 |
-
<tag line="
|
9120 |
-
<tag line="
|
9121 |
<type by_reference="false">mixed</type>
|
9122 |
</tag>
|
9123 |
-
<tag line="
|
9124 |
<type by_reference="false">string</type>
|
9125 |
</tag>
|
9126 |
-
<tag line="
|
9127 |
<type by_reference="false">string</type>
|
9128 |
</tag>
|
9129 |
-
<tag line="
|
9130 |
<type by_reference="false">string</type>
|
9131 |
<type by_reference="false">void</type>
|
9132 |
</tag>
|
9133 |
</docblock>
|
9134 |
-
<argument line="
|
9135 |
<name>$status</name>
|
9136 |
<default><![CDATA[]]></default>
|
9137 |
<type/>
|
9138 |
</argument>
|
9139 |
-
<argument line="
|
9140 |
<name>$option</name>
|
9141 |
<default><![CDATA[]]></default>
|
9142 |
<type/>
|
9143 |
</argument>
|
9144 |
-
<argument line="
|
9145 |
<name>$value</name>
|
9146 |
<default><![CDATA[]]></default>
|
9147 |
<type/>
|
9148 |
</argument>
|
9149 |
</method>
|
9150 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9151 |
<name>mla_inline_edit_view_action</name>
|
9152 |
<full_name>mla_inline_edit_view_action</full_name>
|
9153 |
-
<docblock line="
|
9154 |
<description><![CDATA[Ajax handler for Post MIME Types inline editing (quick and bulk edit)]]></description>
|
9155 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
9156 |
-
<tag line="
|
9157 |
-
<tag line="
|
9158 |
<type by_reference="false">void</type>
|
9159 |
</tag>
|
9160 |
</docblock>
|
9161 |
</method>
|
9162 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9163 |
<name>mla_inline_edit_upload_action</name>
|
9164 |
<full_name>mla_inline_edit_upload_action</full_name>
|
9165 |
-
<docblock line="
|
9166 |
<description><![CDATA[Ajax handler for Upload MIME Types inline editing (quick and bulk edit)]]></description>
|
9167 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
9168 |
-
<tag line="
|
9169 |
-
<tag line="
|
9170 |
<type by_reference="false">void</type>
|
9171 |
</tag>
|
9172 |
</docblock>
|
9173 |
</method>
|
9174 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9175 |
<name>mla_inline_mapping_custom_action</name>
|
9176 |
<full_name>mla_inline_mapping_custom_action</full_name>
|
9177 |
-
<docblock line="
|
9178 |
<description><![CDATA[Ajax handler for Custom Fields tab inline mapping]]></description>
|
9179 |
<long-description><![CDATA[]]></long-description>
|
9180 |
-
<tag line="
|
9181 |
-
<tag line="
|
9182 |
<type by_reference="false">void</type>
|
9183 |
</tag>
|
9184 |
</docblock>
|
9185 |
</method>
|
9186 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9187 |
<name>mla_inline_mapping_iptc_exif_action</name>
|
9188 |
<full_name>mla_inline_mapping_iptc_exif_action</full_name>
|
9189 |
-
<docblock line="
|
9190 |
<description><![CDATA[Ajax handler for IPTC/EXIF tab inline mapping]]></description>
|
9191 |
<long-description><![CDATA[]]></long-description>
|
9192 |
-
<tag line="
|
9193 |
-
<tag line="
|
9194 |
<type by_reference="false">void</type>
|
9195 |
</tag>
|
9196 |
</docblock>
|
9197 |
</method>
|
9198 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9199 |
<name>mla_add_plugin_settings_link_filter</name>
|
9200 |
<full_name>mla_add_plugin_settings_link_filter</full_name>
|
9201 |
-
<docblock line="
|
9202 |
<description><![CDATA[Add the "Settings" link to the MLA entry in the Plugins section]]></description>
|
9203 |
<long-description><![CDATA[]]></long-description>
|
9204 |
-
<tag line="
|
9205 |
-
<tag line="
|
9206 |
<type by_reference="false">array</type>
|
9207 |
</tag>
|
9208 |
-
<tag line="
|
9209 |
<type by_reference="false">string</type>
|
9210 |
</tag>
|
9211 |
-
<tag line="
|
9212 |
<type by_reference="false">array</type>
|
9213 |
</tag>
|
9214 |
</docblock>
|
9215 |
-
<argument line="
|
9216 |
<name>$links</name>
|
9217 |
<default><![CDATA[]]></default>
|
9218 |
<type/>
|
9219 |
</argument>
|
9220 |
-
<argument line="
|
9221 |
<name>$file</name>
|
9222 |
<default><![CDATA[]]></default>
|
9223 |
<type/>
|
9224 |
</argument>
|
9225 |
</method>
|
9226 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9227 |
<name>_update_option_row</name>
|
9228 |
<full_name>_update_option_row</full_name>
|
9229 |
-
<docblock line="
|
9230 |
<description><![CDATA[Update or delete a single MLA option value]]></description>
|
9231 |
<long-description><![CDATA[]]></long-description>
|
9232 |
-
<tag line="
|
9233 |
-
<tag line="
|
9234 |
-
<tag line="
|
9235 |
<type by_reference="false">string</type>
|
9236 |
</tag>
|
9237 |
-
<tag line="
|
9238 |
<type by_reference="false">array</type>
|
9239 |
</tag>
|
9240 |
-
<tag line="
|
9241 |
<type by_reference="false">string</type>
|
9242 |
</tag>
|
9243 |
</docblock>
|
9244 |
-
<argument line="
|
9245 |
<name>$key</name>
|
9246 |
<default><![CDATA[]]></default>
|
9247 |
<type/>
|
9248 |
</argument>
|
9249 |
-
<argument line="
|
9250 |
<name>$value</name>
|
9251 |
<default><![CDATA[]]></default>
|
9252 |
<type/>
|
9253 |
</argument>
|
9254 |
</method>
|
9255 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9256 |
<name>_compose_option_row</name>
|
9257 |
<full_name>_compose_option_row</full_name>
|
9258 |
-
<docblock line="
|
9259 |
<description><![CDATA[Compose the table row for a single MLA option]]></description>
|
9260 |
<long-description><![CDATA[]]></long-description>
|
9261 |
-
<tag line="
|
9262 |
-
<tag line="
|
9263 |
-
<tag line="
|
9264 |
<type by_reference="false">string</type>
|
9265 |
</tag>
|
9266 |
-
<tag line="
|
9267 |
<type by_reference="false">array</type>
|
9268 |
</tag>
|
9269 |
-
<tag line="
|
9270 |
<type by_reference="false">string</type>
|
9271 |
</tag>
|
9272 |
</docblock>
|
9273 |
-
<argument line="
|
9274 |
<name>$key</name>
|
9275 |
<default><![CDATA[]]></default>
|
9276 |
<type/>
|
9277 |
</argument>
|
9278 |
-
<argument line="
|
9279 |
<name>$value</name>
|
9280 |
<default><![CDATA[]]></default>
|
9281 |
<type/>
|
9282 |
</argument>
|
9283 |
</method>
|
9284 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9285 |
<name>mla_localize_tablist</name>
|
9286 |
<full_name>mla_localize_tablist</full_name>
|
9287 |
-
<docblock line="
|
9288 |
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
9289 |
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
9290 |
in the "public static" array definition itself.</p>]]></long-description>
|
9291 |
-
<tag line="
|
9292 |
-
<tag line="
|
9293 |
<type by_reference="false">void</type>
|
9294 |
</tag>
|
9295 |
</docblock>
|
9296 |
</method>
|
9297 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9298 |
<name>mla_get_options_tablist</name>
|
9299 |
<full_name>mla_get_options_tablist</full_name>
|
9300 |
-
<docblock line="
|
9301 |
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
9302 |
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
9303 |
in the "public static" array definition itself.</p>]]></long-description>
|
9304 |
-
<tag line="
|
9305 |
-
<tag line="
|
9306 |
<type by_reference="false">string</type>
|
9307 |
</tag>
|
9308 |
-
<tag line="
|
9309 |
<type by_reference="false">array</type>
|
9310 |
<type by_reference="false">false</type>
|
9311 |
</tag>
|
9312 |
</docblock>
|
9313 |
-
<argument line="
|
9314 |
<name>$tab</name>
|
9315 |
<default><![CDATA[NULL]]></default>
|
9316 |
<type/>
|
9317 |
</argument>
|
9318 |
</method>
|
9319 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9320 |
<name>_compose_settings_tabs</name>
|
9321 |
<full_name>_compose_settings_tabs</full_name>
|
9322 |
-
<docblock line="
|
9323 |
<description><![CDATA[Compose the navigation tabs for the Settings subpage]]></description>
|
9324 |
<long-description><![CDATA[]]></long-description>
|
9325 |
-
<tag line="
|
9326 |
-
<tag line="
|
9327 |
-
<tag line="
|
9328 |
<type by_reference="false">string</type>
|
9329 |
</tag>
|
9330 |
-
<tag line="
|
9331 |
<type by_reference="false">string</type>
|
9332 |
</tag>
|
9333 |
</docblock>
|
9334 |
-
<argument line="
|
9335 |
<name>$active_tab</name>
|
9336 |
<default><![CDATA['general']]></default>
|
9337 |
<type/>
|
9338 |
</argument>
|
9339 |
</method>
|
9340 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9341 |
<name>_compose_general_tab</name>
|
9342 |
<full_name>_compose_general_tab</full_name>
|
9343 |
-
<docblock line="
|
9344 |
<description><![CDATA[Compose the General tab content for the Settings subpage]]></description>
|
9345 |
<long-description><![CDATA[]]></long-description>
|
9346 |
-
<tag line="
|
9347 |
-
<tag line="
|
9348 |
-
<tag line="
|
9349 |
<type by_reference="false">array</type>
|
9350 |
</tag>
|
9351 |
</docblock>
|
9352 |
</method>
|
9353 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9354 |
<name>_current_bulk_action</name>
|
9355 |
<full_name>_current_bulk_action</full_name>
|
9356 |
-
<docblock line="
|
9357 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
9358 |
<long-description><![CDATA[]]></long-description>
|
9359 |
-
<tag line="
|
9360 |
-
<tag line="
|
9361 |
<type by_reference="false">string</type>
|
9362 |
<type by_reference="false">false</type>
|
9363 |
</tag>
|
9364 |
</docblock>
|
9365 |
</method>
|
9366 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9367 |
<name>_compose_edit_view_tab</name>
|
9368 |
<full_name>_compose_edit_view_tab</full_name>
|
9369 |
-
<docblock line="
|
9370 |
<description><![CDATA[Compose the Edit View tab content for the Settings subpage]]></description>
|
9371 |
<long-description><![CDATA[]]></long-description>
|
9372 |
-
<tag line="
|
9373 |
-
<tag line="
|
9374 |
<type by_reference="false">array</type>
|
9375 |
</tag>
|
9376 |
-
<tag line="
|
9377 |
<type by_reference="false">string</type>
|
9378 |
</tag>
|
9379 |
-
<tag line="
|
9380 |
<type by_reference="false">array</type>
|
9381 |
</tag>
|
9382 |
</docblock>
|
9383 |
-
<argument line="
|
9384 |
<name>$view</name>
|
9385 |
<default><![CDATA[]]></default>
|
9386 |
<type/>
|
9387 |
</argument>
|
9388 |
-
<argument line="
|
9389 |
<name>$template</name>
|
9390 |
<default><![CDATA[]]></default>
|
9391 |
<type/>
|
9392 |
</argument>
|
9393 |
</method>
|
9394 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9395 |
<name>_compose_view_tab</name>
|
9396 |
<full_name>_compose_view_tab</full_name>
|
9397 |
-
<docblock line="
|
9398 |
<description><![CDATA[Compose the Post MIME Type Views tab content for the Settings subpage]]></description>
|
9399 |
<long-description><![CDATA[]]></long-description>
|
9400 |
-
<tag line="
|
9401 |
-
<tag line="
|
9402 |
<type by_reference="false">array</type>
|
9403 |
</tag>
|
9404 |
</docblock>
|
9405 |
</method>
|
9406 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9407 |
<name>mla_get_icon_type_dropdown</name>
|
9408 |
<full_name>mla_get_icon_type_dropdown</full_name>
|
9409 |
-
<docblock line="
|
9410 |
<description><![CDATA[Get an HTML select element representing a list of icon types]]></description>
|
9411 |
<long-description><![CDATA[]]></long-description>
|
9412 |
-
<tag line="
|
9413 |
-
<tag line="
|
9414 |
<type by_reference="false">array</type>
|
9415 |
</tag>
|
9416 |
-
<tag line="
|
9417 |
<type by_reference="false">string</type>
|
9418 |
</tag>
|
9419 |
-
<tag line="
|
9420 |
<type by_reference="false">string</type>
|
9421 |
</tag>
|
9422 |
-
<tag line="
|
9423 |
<type by_reference="false">string</type>
|
9424 |
</tag>
|
9425 |
</docblock>
|
9426 |
-
<argument line="
|
9427 |
<name>$templates</name>
|
9428 |
<default><![CDATA[]]></default>
|
9429 |
<type/>
|
9430 |
</argument>
|
9431 |
-
<argument line="
|
9432 |
<name>$name</name>
|
9433 |
<default><![CDATA[]]></default>
|
9434 |
<type/>
|
9435 |
</argument>
|
9436 |
-
<argument line="
|
9437 |
<name>$selection</name>
|
9438 |
<default><![CDATA['.none.']]></default>
|
9439 |
<type/>
|
9440 |
</argument>
|
9441 |
</method>
|
9442 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9443 |
<name>_compose_edit_upload_tab</name>
|
9444 |
<full_name>_compose_edit_upload_tab</full_name>
|
9445 |
-
<docblock line="
|
9446 |
<description><![CDATA[Compose the Edit Upload type tab content for the Settings subpage]]></description>
|
9447 |
<long-description><![CDATA[]]></long-description>
|
9448 |
-
<tag line="
|
9449 |
-
<tag line="
|
9450 |
<type by_reference="false">array</type>
|
9451 |
</tag>
|
9452 |
-
<tag line="
|
9453 |
<type by_reference="false">string</type>
|
9454 |
</tag>
|
9455 |
-
<tag line="
|
9456 |
<type by_reference="false">array</type>
|
9457 |
</tag>
|
9458 |
</docblock>
|
9459 |
-
<argument line="
|
9460 |
<name>$item</name>
|
9461 |
<default><![CDATA[]]></default>
|
9462 |
<type/>
|
9463 |
</argument>
|
9464 |
-
<argument line="
|
9465 |
<name>$templates</name>
|
9466 |
<default><![CDATA[]]></default>
|
9467 |
<type/>
|
9468 |
</argument>
|
9469 |
</method>
|
9470 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9471 |
<name>_compose_optional_upload_tab</name>
|
9472 |
<full_name>_compose_optional_upload_tab</full_name>
|
9473 |
-
<docblock line="
|
9474 |
<description><![CDATA[Compose the Optional File Upload MIME Types tab content for the Settings subpage]]></description>
|
9475 |
<long-description><![CDATA[]]></long-description>
|
9476 |
-
<tag line="
|
9477 |
-
<tag line="
|
9478 |
<type by_reference="false">string</type>
|
9479 |
</tag>
|
9480 |
-
<tag line="
|
9481 |
<type by_reference="false">array</type>
|
9482 |
</tag>
|
9483 |
</docblock>
|
9484 |
-
<argument line="
|
9485 |
<name>$page_template_array</name>
|
9486 |
<default><![CDATA[]]></default>
|
9487 |
<type/>
|
9488 |
</argument>
|
9489 |
</method>
|
9490 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9491 |
<name>_process_optional_upload_mime</name>
|
9492 |
<full_name>_process_optional_upload_mime</full_name>
|
9493 |
-
<docblock line="
|
9494 |
<description><![CDATA[Process an Optional Upload MIME Type selection]]></description>
|
9495 |
<long-description><![CDATA[]]></long-description>
|
9496 |
-
<tag line="
|
9497 |
-
<tag line="
|
9498 |
<type by_reference="false">\intger</type>
|
9499 |
</tag>
|
9500 |
-
<tag line="
|
9501 |
<type by_reference="false">array</type>
|
9502 |
</tag>
|
9503 |
</docblock>
|
9504 |
-
<argument line="
|
9505 |
<name>$ID</name>
|
9506 |
<default><![CDATA[]]></default>
|
9507 |
<type/>
|
9508 |
</argument>
|
9509 |
</method>
|
9510 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9511 |
<name>_compose_upload_tab</name>
|
9512 |
<full_name>_compose_upload_tab</full_name>
|
9513 |
-
<docblock line="
|
9514 |
<description><![CDATA[Compose the File Upload MIME Types tab content for the Settings subpage]]></description>
|
9515 |
<long-description><![CDATA[]]></long-description>
|
9516 |
-
<tag line="
|
9517 |
-
<tag line="
|
9518 |
<type by_reference="false">array</type>
|
9519 |
</tag>
|
9520 |
</docblock>
|
9521 |
</method>
|
9522 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9523 |
<name>_compose_mla_gallery_tab</name>
|
9524 |
<full_name>_compose_mla_gallery_tab</full_name>
|
9525 |
-
<docblock line="
|
9526 |
<description><![CDATA[Compose the MLA Gallery tab content for the Settings subpage]]></description>
|
9527 |
<long-description><![CDATA[]]></long-description>
|
9528 |
-
<tag line="
|
9529 |
-
<tag line="
|
9530 |
-
<tag line="
|
9531 |
<type by_reference="false">array</type>
|
9532 |
</tag>
|
9533 |
</docblock>
|
9534 |
</method>
|
9535 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9536 |
<name>_compose_custom_field_tab</name>
|
9537 |
<full_name>_compose_custom_field_tab</full_name>
|
9538 |
-
<docblock line="
|
9539 |
<description><![CDATA[Compose the Custom Field tab content for the Settings subpage]]></description>
|
9540 |
<long-description><![CDATA[]]></long-description>
|
9541 |
-
<tag line="
|
9542 |
-
<tag line="
|
9543 |
-
<tag line="
|
9544 |
<type by_reference="false">array</type>
|
9545 |
</tag>
|
9546 |
</docblock>
|
9547 |
</method>
|
9548 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9549 |
<name>_compose_iptc_exif_tab</name>
|
9550 |
<full_name>_compose_iptc_exif_tab</full_name>
|
9551 |
-
<docblock line="
|
9552 |
<description><![CDATA[Compose the IPTC/EXIF tab content for the Settings subpage]]></description>
|
9553 |
<long-description><![CDATA[]]></long-description>
|
9554 |
-
<tag line="
|
9555 |
-
<tag line="
|
9556 |
-
<tag line="
|
9557 |
<type by_reference="false">array</type>
|
9558 |
</tag>
|
9559 |
</docblock>
|
9560 |
</method>
|
9561 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9562 |
<name>_compose_documentation_tab</name>
|
9563 |
<full_name>_compose_documentation_tab</full_name>
|
9564 |
-
<docblock line="
|
9565 |
<description><![CDATA[Compose the Documentation tab content for the Settings subpage]]></description>
|
9566 |
<long-description><![CDATA[]]></long-description>
|
9567 |
-
<tag line="
|
9568 |
-
<tag line="
|
9569 |
-
<tag line="
|
9570 |
<type by_reference="false">array</type>
|
9571 |
</tag>
|
9572 |
</docblock>
|
9573 |
</method>
|
9574 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9575 |
<name>mla_render_settings_page</name>
|
9576 |
<full_name>mla_render_settings_page</full_name>
|
9577 |
-
<docblock line="
|
9578 |
<description><![CDATA[Render (echo) the "Media Library Assistant" subpage in the Settings section]]></description>
|
9579 |
<long-description><![CDATA[]]></long-description>
|
9580 |
-
<tag line="
|
9581 |
-
<tag line="
|
9582 |
<type by_reference="false">void</type>
|
9583 |
</tag>
|
9584 |
</docblock>
|
9585 |
</method>
|
9586 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9587 |
<name>_save_gallery_settings</name>
|
9588 |
<full_name>_save_gallery_settings</full_name>
|
9589 |
-
<docblock line="
|
9590 |
<description><![CDATA[Save MLA Gallery settings to the options table]]></description>
|
9591 |
<long-description><![CDATA[]]></long-description>
|
9592 |
-
<tag line="
|
9593 |
-
<tag line="
|
9594 |
-
<tag line="
|
9595 |
<type by_reference="false">array</type>
|
9596 |
</tag>
|
9597 |
</docblock>
|
9598 |
</method>
|
9599 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9600 |
<name>_save_view_settings</name>
|
9601 |
<full_name>_save_view_settings</full_name>
|
9602 |
-
<docblock line="
|
9603 |
<description><![CDATA[Save View settings to the options table]]></description>
|
9604 |
<long-description><![CDATA[]]></long-description>
|
9605 |
-
<tag line="
|
9606 |
-
<tag line="
|
9607 |
-
<tag line="
|
9608 |
<type by_reference="false">array</type>
|
9609 |
</tag>
|
9610 |
</docblock>
|
9611 |
</method>
|
9612 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9613 |
<name>_save_upload_settings</name>
|
9614 |
<full_name>_save_upload_settings</full_name>
|
9615 |
-
<docblock line="
|
9616 |
<description><![CDATA[Save Upload settings to the options table]]></description>
|
9617 |
<long-description><![CDATA[]]></long-description>
|
9618 |
-
<tag line="
|
9619 |
-
<tag line="
|
9620 |
-
<tag line="
|
9621 |
<type by_reference="false">array</type>
|
9622 |
</tag>
|
9623 |
</docblock>
|
9624 |
</method>
|
9625 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9626 |
<name>_process_custom_field_mapping</name>
|
9627 |
<full_name>_process_custom_field_mapping</full_name>
|
9628 |
-
<docblock line="
|
9629 |
<description><![CDATA[Process custom field settings against all image attachments
|
9630 |
without saving the settings to the mla_option]]></description>
|
9631 |
<long-description><![CDATA[]]></long-description>
|
9632 |
-
<tag line="
|
9633 |
-
<tag line="
|
9634 |
-
<tag line="
|
9635 |
<type by_reference="false">array</type>
|
9636 |
</tag>
|
9637 |
-
<tag line="
|
9638 |
<type by_reference="false">integer</type>
|
9639 |
</tag>
|
9640 |
-
<tag line="
|
9641 |
<type by_reference="false">integer</type>
|
9642 |
</tag>
|
9643 |
-
<tag line="
|
9644 |
<type by_reference="false">array</type>
|
9645 |
</tag>
|
9646 |
</docblock>
|
9647 |
-
<argument line="
|
9648 |
<name>$settings</name>
|
9649 |
<default><![CDATA[NULL]]></default>
|
9650 |
<type/>
|
9651 |
</argument>
|
9652 |
-
<argument line="
|
9653 |
<name>$offset</name>
|
9654 |
<default><![CDATA[0]]></default>
|
9655 |
<type/>
|
9656 |
</argument>
|
9657 |
-
<argument line="
|
9658 |
<name>$length</name>
|
9659 |
<default><![CDATA[0]]></default>
|
9660 |
<type/>
|
9661 |
</argument>
|
9662 |
</method>
|
9663 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9664 |
<name>_delete_custom_field</name>
|
9665 |
<full_name>_delete_custom_field</full_name>
|
9666 |
-
<docblock line="
|
9667 |
<description><![CDATA[Delete a custom field from the wp_postmeta table]]></description>
|
9668 |
<long-description><![CDATA[]]></long-description>
|
9669 |
-
<tag line="
|
9670 |
-
<tag line="
|
9671 |
<type by_reference="false">array</type>
|
9672 |
</tag>
|
9673 |
-
<tag line="
|
9674 |
<type by_reference="false">array</type>
|
9675 |
</tag>
|
9676 |
</docblock>
|
9677 |
-
<argument line="
|
9678 |
<name>$value</name>
|
9679 |
<default><![CDATA[]]></default>
|
9680 |
<type/>
|
9681 |
</argument>
|
9682 |
</method>
|
9683 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9684 |
<name>_save_custom_field_settings</name>
|
9685 |
<full_name>_save_custom_field_settings</full_name>
|
9686 |
-
<docblock line="
|
9687 |
<description><![CDATA[Save custom field settings to the options table]]></description>
|
9688 |
<long-description><![CDATA[]]></long-description>
|
9689 |
-
<tag line="
|
9690 |
-
<tag line="
|
9691 |
-
<tag line="
|
9692 |
<type by_reference="false">array</type>
|
9693 |
</tag>
|
9694 |
-
<tag line="
|
9695 |
<type by_reference="false">array</type>
|
9696 |
</tag>
|
9697 |
</docblock>
|
9698 |
-
<argument line="
|
9699 |
<name>$new_values</name>
|
9700 |
<default><![CDATA[NULL]]></default>
|
9701 |
<type/>
|
9702 |
</argument>
|
9703 |
</method>
|
9704 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9705 |
<name>_process_iptc_exif_standard</name>
|
9706 |
<full_name>_process_iptc_exif_standard</full_name>
|
9707 |
-
<docblock line="
|
9708 |
<description><![CDATA[Process IPTC/EXIF standard field settings against all image attachments
|
9709 |
without saving the settings to the mla_option]]></description>
|
9710 |
<long-description><![CDATA[]]></long-description>
|
9711 |
-
<tag line="
|
9712 |
-
<tag line="
|
9713 |
-
<tag line="
|
9714 |
<type by_reference="false">integer</type>
|
9715 |
</tag>
|
9716 |
-
<tag line="
|
9717 |
<type by_reference="false">integer</type>
|
9718 |
</tag>
|
9719 |
-
<tag line="
|
9720 |
<type by_reference="false">array</type>
|
9721 |
</tag>
|
9722 |
</docblock>
|
9723 |
-
<argument line="
|
9724 |
<name>$offset</name>
|
9725 |
<default><![CDATA[0]]></default>
|
9726 |
<type/>
|
9727 |
</argument>
|
9728 |
-
<argument line="
|
9729 |
<name>$length</name>
|
9730 |
<default><![CDATA[0]]></default>
|
9731 |
<type/>
|
9732 |
</argument>
|
9733 |
</method>
|
9734 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9735 |
<name>_process_iptc_exif_taxonomy</name>
|
9736 |
<full_name>_process_iptc_exif_taxonomy</full_name>
|
9737 |
-
<docblock line="
|
9738 |
<description><![CDATA[Process IPTC/EXIF taxonomy term settings against all image attachments
|
9739 |
without saving the settings to the mla_option]]></description>
|
9740 |
<long-description><![CDATA[]]></long-description>
|
9741 |
-
<tag line="
|
9742 |
-
<tag line="
|
9743 |
-
<tag line="
|
9744 |
<type by_reference="false">integer</type>
|
9745 |
</tag>
|
9746 |
-
<tag line="
|
9747 |
<type by_reference="false">integer</type>
|
9748 |
</tag>
|
9749 |
-
<tag line="
|
9750 |
<type by_reference="false">array</type>
|
9751 |
</tag>
|
9752 |
</docblock>
|
9753 |
-
<argument line="
|
9754 |
<name>$offset</name>
|
9755 |
<default><![CDATA[0]]></default>
|
9756 |
<type/>
|
9757 |
</argument>
|
9758 |
-
<argument line="
|
9759 |
<name>$length</name>
|
9760 |
<default><![CDATA[0]]></default>
|
9761 |
<type/>
|
9762 |
</argument>
|
9763 |
</method>
|
9764 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9765 |
<name>_process_iptc_exif_custom</name>
|
9766 |
<full_name>_process_iptc_exif_custom</full_name>
|
9767 |
-
<docblock line="
|
9768 |
<description><![CDATA[Process IPTC/EXIF custom field settings against all image attachments
|
9769 |
without saving the settings to the mla_option]]></description>
|
9770 |
<long-description><![CDATA[]]></long-description>
|
9771 |
-
<tag line="
|
9772 |
-
<tag line="
|
9773 |
-
<tag line="
|
9774 |
<type by_reference="false">array</type>
|
9775 |
</tag>
|
9776 |
-
<tag line="
|
9777 |
<type by_reference="false">integer</type>
|
9778 |
</tag>
|
9779 |
-
<tag line="
|
9780 |
<type by_reference="false">integer</type>
|
9781 |
</tag>
|
9782 |
-
<tag line="
|
9783 |
<type by_reference="false">array</type>
|
9784 |
</tag>
|
9785 |
</docblock>
|
9786 |
-
<argument line="
|
9787 |
<name>$settings</name>
|
9788 |
<default><![CDATA[NULL]]></default>
|
9789 |
<type/>
|
9790 |
</argument>
|
9791 |
-
<argument line="
|
9792 |
<name>$offset</name>
|
9793 |
<default><![CDATA[0]]></default>
|
9794 |
<type/>
|
9795 |
</argument>
|
9796 |
-
<argument line="
|
9797 |
<name>$length</name>
|
9798 |
<default><![CDATA[0]]></default>
|
9799 |
<type/>
|
9800 |
</argument>
|
9801 |
</method>
|
9802 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9803 |
<name>_save_iptc_exif_custom_settings</name>
|
9804 |
<full_name>_save_iptc_exif_custom_settings</full_name>
|
9805 |
-
<docblock line="
|
9806 |
<description><![CDATA[Save IPTC/EXIF custom field settings to the options table]]></description>
|
9807 |
<long-description><![CDATA[]]></long-description>
|
9808 |
-
<tag line="
|
9809 |
-
<tag line="
|
9810 |
<type by_reference="false">array</type>
|
9811 |
</tag>
|
9812 |
-
<tag line="
|
9813 |
<type by_reference="false">array</type>
|
9814 |
</tag>
|
9815 |
</docblock>
|
9816 |
-
<argument line="
|
9817 |
<name>$new_values</name>
|
9818 |
<default><![CDATA[]]></default>
|
9819 |
<type/>
|
9820 |
</argument>
|
9821 |
</method>
|
9822 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9823 |
<name>_save_iptc_exif_settings</name>
|
9824 |
<full_name>_save_iptc_exif_settings</full_name>
|
9825 |
-
<docblock line="
|
9826 |
<description><![CDATA[Save IPTC/EXIF settings to the options table]]></description>
|
9827 |
<long-description><![CDATA[]]></long-description>
|
9828 |
-
<tag line="
|
9829 |
-
<tag line="
|
9830 |
-
<tag line="
|
9831 |
<type by_reference="false">array</type>
|
9832 |
</tag>
|
9833 |
</docblock>
|
9834 |
</method>
|
9835 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9836 |
<name>_save_general_settings</name>
|
9837 |
<full_name>_save_general_settings</full_name>
|
9838 |
-
<docblock line="
|
9839 |
<description><![CDATA[Save General settings to the options table]]></description>
|
9840 |
<long-description><![CDATA[]]></long-description>
|
9841 |
-
<tag line="
|
9842 |
-
<tag line="
|
9843 |
-
<tag line="
|
9844 |
<type by_reference="false">array</type>
|
9845 |
</tag>
|
9846 |
</docblock>
|
9847 |
</method>
|
9848 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9849 |
<name>_reset_general_settings</name>
|
9850 |
<full_name>_reset_general_settings</full_name>
|
9851 |
-
<docblock line="
|
9852 |
<description><![CDATA[Delete saved settings, restoring default values]]></description>
|
9853 |
<long-description><![CDATA[]]></long-description>
|
9854 |
-
<tag line="
|
9855 |
-
<tag line="
|
9856 |
<type by_reference="false">array</type>
|
9857 |
</tag>
|
9858 |
</docblock>
|
9859 |
</method>
|
9860 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9861 |
<name>_compose_import_settings</name>
|
9862 |
<full_name>_compose_import_settings</full_name>
|
9863 |
-
<docblock line="
|
9864 |
<description><![CDATA[Compose HTML markup for the import settings if any settings files exist]]></description>
|
9865 |
<long-description><![CDATA[]]></long-description>
|
9866 |
-
<tag line="
|
9867 |
-
<tag line="
|
9868 |
<type by_reference="false">string</type>
|
9869 |
</tag>
|
9870 |
</docblock>
|
9871 |
</method>
|
9872 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9873 |
<name>_export_settings</name>
|
9874 |
<full_name>_export_settings</full_name>
|
9875 |
-
<docblock line="
|
9876 |
<description><![CDATA[Serialize option settings and write them to a file]]></description>
|
9877 |
<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>
|
9878 |
-
<tag line="
|
9879 |
-
<tag line="
|
9880 |
<type by_reference="false">array</type>
|
9881 |
</tag>
|
9882 |
</docblock>
|
9883 |
</method>
|
9884 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9885 |
<name>_import_settings</name>
|
9886 |
<full_name>_import_settings</full_name>
|
9887 |
-
<docblock line="
|
9888 |
<description><![CDATA[Read a serialized file of option settings and write them to the database]]></description>
|
9889 |
<long-description><![CDATA[]]></long-description>
|
9890 |
-
<tag line="
|
9891 |
-
<tag line="
|
9892 |
<type by_reference="false">array</type>
|
9893 |
</tag>
|
9894 |
</docblock>
|
9895 |
</method>
|
9896 |
</class>
|
9897 |
</file>
|
9898 |
-
<file path="includes\class-mla-shortcodes.php" hash="
|
9899 |
<docblock line="2">
|
9900 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
9901 |
<long-description><![CDATA[]]></long-description>
|
@@ -9912,79 +10070,79 @@ without saving the settings to the mla_option]]></description>
|
|
9912 |
<tag line="9" name="package" description="Media Library Assistant"/>
|
9913 |
<tag line="9" name="since" description="0.20"/>
|
9914 |
</docblock>
|
9915 |
-
<property final="false" static="true" visibility="public" line="
|
9916 |
<name>$mla_debug_messages</name>
|
9917 |
<default><![CDATA['']]></default>
|
9918 |
-
<docblock line="
|
9919 |
<description><![CDATA[Accumulates debug messages]]></description>
|
9920 |
<long-description><![CDATA[]]></long-description>
|
9921 |
-
<tag line="
|
9922 |
-
<tag line="
|
9923 |
<type by_reference="false">string</type>
|
9924 |
</tag>
|
9925 |
</docblock>
|
9926 |
</property>
|
9927 |
-
<property final="false" static="true" visibility="private" line="
|
9928 |
<name>$mla_debug</name>
|
9929 |
<default><![CDATA[false]]></default>
|
9930 |
-
<docblock line="
|
9931 |
<description><![CDATA[Turn debug collection and display on or off]]></description>
|
9932 |
<long-description><![CDATA[]]></long-description>
|
9933 |
-
<tag line="
|
9934 |
-
<tag line="
|
9935 |
<type by_reference="false">boolean</type>
|
9936 |
</tag>
|
9937 |
</docblock>
|
9938 |
</property>
|
9939 |
-
<property final="false" static="true" visibility="private" line="
|
9940 |
<name>$query_parameters</name>
|
9941 |
<default><![CDATA[array()]]></default>
|
9942 |
-
<docblock line="
|
9943 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
9944 |
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
9945 |
The parameters are set up in the mla_get_shortcode_attachments function, and
|
9946 |
any further logic required to translate those values is contained in the filter.</p>
|
9947 |
|
9948 |
<p>Array index values are: orderby, post_parent</p>]]></long-description>
|
9949 |
-
<tag line="
|
9950 |
-
<tag line="
|
9951 |
<type by_reference="false">array</type>
|
9952 |
</tag>
|
9953 |
</docblock>
|
9954 |
</property>
|
9955 |
-
<property final="false" static="true" visibility="private" line="
|
9956 |
<name>$mla_get_shortcode_attachments_parameters</nam
|
622 |
<tag line="2" name="since" description="MLA 1.80"/>
|
623 |
</docblock>
|
624 |
</file>
|
625 |
+
<file path="includes\class-mla-data.php" hash="c9be00fae883e97bb6d1c64abccd4da2" package="Media Library Assistant">
|
626 |
<docblock line="2">
|
627 |
<description><![CDATA[Database and template file access for MLA needs]]></description>
|
628 |
<long-description><![CDATA[]]></long-description>
|
663 |
</tag>
|
664 |
</docblock>
|
665 |
</property>
|
666 |
+
<property final="false" static="true" visibility="private" line="1332" namespace="global" package="Media Library Assistant">
|
667 |
<name>$mla_list_table_items</name>
|
668 |
<default><![CDATA[NULL]]></default>
|
669 |
+
<docblock line="1325">
|
670 |
<description><![CDATA[Cache the results of mla_count_list_table_items for reuse in mla_query_list_table_items]]></description>
|
671 |
<long-description><![CDATA[]]></long-description>
|
672 |
+
<tag line="1325" name="since" description="1.40"/>
|
673 |
+
<tag line="1325" name="var" description="" type="array">
|
674 |
<type by_reference="false">array</type>
|
675 |
</tag>
|
676 |
</docblock>
|
677 |
</property>
|
678 |
+
<property final="false" static="true" visibility="private" line="1438" namespace="global" package="Media Library Assistant">
|
679 |
<name>$query_parameters</name>
|
680 |
<default><![CDATA[array()]]></default>
|
681 |
+
<docblock line="1424">
|
682 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
683 |
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
684 |
The parameters are set up in the _prepare_list_table_query function, and
|
686 |
|
687 |
<p>Array index values are: use_postmeta_view, postmeta_key, postmeta_value, patterns,
|
688 |
detached, orderby, order, mla-metavalue, debug (also in search_parameters)</p>]]></long-description>
|
689 |
+
<tag line="1424" name="since" description="0.30"/>
|
690 |
+
<tag line="1424" name="var" description="" type="array">
|
691 |
<type by_reference="false">array</type>
|
692 |
</tag>
|
693 |
</docblock>
|
694 |
</property>
|
695 |
+
<property final="false" static="true" visibility="public" line="1467" namespace="global" package="Media Library Assistant">
|
696 |
<name>$search_parameters</name>
|
697 |
<default><![CDATA[array()]]></default>
|
698 |
+
<docblock line="1440">
|
699 |
<description><![CDATA[WP_Query 'posts_search' filter "parameters"]]></description>
|
700 |
<long-description><![CDATA[<p>This array defines parameters for the query's posts_search filter, which uses
|
701 |
'search_string' to add a clause to the query's WHERE clause. It is shared between
|
716 |
['debug'] => internal element, console/log/shortcode/none
|
717 |
['mla_debug_messages'] => internal element, added when debug = 'shortcode'
|
718 |
['tax_terms_count'] => internal element, shared with JOIN and GROUP BY filters</p>]]></long-description>
|
719 |
+
<tag line="1440" name="since" description="2.00"/>
|
720 |
+
<tag line="1440" name="var" description="" type="array">
|
721 |
<type by_reference="false">array</type>
|
722 |
</tag>
|
723 |
</docblock>
|
724 |
</property>
|
725 |
+
<property final="false" static="true" visibility="private" line="3552" namespace="global" package="Media Library Assistant">
|
726 |
<name>$galleries</name>
|
727 |
<default><![CDATA[null]]></default>
|
728 |
+
<docblock line="3532">
|
729 |
<description><![CDATA[Objects containing [gallery] shortcodes]]></description>
|
730 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [gallery] shortcodes
|
731 |
and array(s) of which attachments each [gallery] contains. The arrays are built once
|
739 |
['galleries'] array of [gallery] entries numbered from one (1), containing:
|
740 |
galleries[X]['query'] contains a string with the arguments of the [gallery],
|
741 |
galleries[X]['results'] contains an array ( ID ) of post_ids for the objects in the gallery.</p>]]></long-description>
|
742 |
+
<tag line="3532" name="since" description="0.70"/>
|
743 |
+
<tag line="3532" name="var" description="" type="array">
|
744 |
<type by_reference="false">array</type>
|
745 |
</tag>
|
746 |
</docblock>
|
747 |
</property>
|
748 |
+
<property final="false" static="true" visibility="private" line="3565" namespace="global" package="Media Library Assistant">
|
749 |
<name>$mla_galleries</name>
|
750 |
<default><![CDATA[null]]></default>
|
751 |
+
<docblock line="3554">
|
752 |
<description><![CDATA[Objects containing [mla_gallery] shortcodes]]></description>
|
753 |
<long-description><![CDATA[<p>This array contains all of the objects containing one or more [mla_gallery] shortcodes
|
754 |
and array(s) of which attachments each [mla_gallery] contains. The arrays are built once
|
755 |
each page load and cached for subsequent calls.</p>]]></long-description>
|
756 |
+
<tag line="3554" name="since" description="0.70"/>
|
757 |
+
<tag line="3554" name="var" description="" type="array">
|
758 |
<type by_reference="false">array</type>
|
759 |
</tag>
|
760 |
</docblock>
|
761 |
</property>
|
762 |
+
<property final="false" static="true" visibility="private" line="3762" namespace="global" package="Media Library Assistant">
|
763 |
<name>$pdf_indirect_objects</name>
|
764 |
<default><![CDATA[NULL]]></default>
|
765 |
+
<docblock line="3751">
|
766 |
<description><![CDATA[Array of PDF indirect objects]]></description>
|
767 |
<long-description><![CDATA[<p>This array contains all of the indirect object offsets and lengths.
|
768 |
The array key is ( object ID * 1000 ) + object generation.
|
769 |
The array value is array( number, generation, start, optional /length )</p>]]></long-description>
|
770 |
+
<tag line="3751" name="since" description="1.50"/>
|
771 |
+
<tag line="3751" name="var" description="" type="array">
|
772 |
<type by_reference="false">array</type>
|
773 |
</tag>
|
774 |
</docblock>
|
775 |
</property>
|
776 |
+
<property final="false" static="true" visibility="private" line="4873" namespace="global" package="Media Library Assistant">
|
777 |
<name>$utf8_chars</name>
|
778 |
<default><![CDATA[array("\xC2\x80", "\xC2\x81", "\xC2\x82", "\xC2\x83", "\xC2\x84", "\xC2\x85", "\xC2\x86", "\xC2\x87", "\xC2\x88", "\xC2\x89", "\xC2\x8A", "\xC2\x8B", "\xC2\x8C", "\xC2\x8D", "\xC2\x8E", "\xC2\x8F", "\xC2\x90", "\xC2\x91", "\xC2\x92", "\xC2\x93", "\xC2\x94", "\xC2\x95", "\xC2\x96", "\xC2\x97", "\xC2\x98", "\xC2\x99", "\xC2\x9A", "\xC2\x9B", "\xC2\x9C", "\xC2\x9D", "\xC2\x9E", "\xC2\x9F", "\xC2\xA0", "\xC2\xA1", "\xC2\xA2", "\xC2\xA3", "\xC2\xA4", "\xC2\xA5", "\xC2\xA6", "\xC2\xA7", "\xC2\xA8", "\xC2\xA9", "\xC2\xAA", "\xC2\xAB", "\xC2\xAC", "\xC2\xAD", "\xC2\xAE", "\xC2\xAF", "\xC2\xB0", "\xC2\xB1", "\xC2\xB2", "\xC2\xB3", "\xC2\xB4", "\xC2\xB5", "\xC2\xB6", "\xC2\xB7", "\xC2\xB8", "\xC2\xB9", "\xC2\xBA", "\xC2\xBB", "\xC2\xBC", "\xC2\xBD", "\xC2\xBE", "\xC2\xBF", "\xC3\x80", "\xC3\x81", "\xC3\x82", "\xC3\x83", "\xC3\x84", "\xC3\x85", "\xC3\x86", "\xC3\x87", "\xC3\x88", "\xC3\x89", "\xC3\x8A", "\xC3\x8B", "\xC3\x8C", "\xC3\x8D", "\xC3\x8E", "\xC3\x8F", "\xC3\x90", "\xC3\x91", "\xC3\x92", "\xC3\x93", "\xC3\x94", "\xC3\x95", "\xC3\x96", "\xC3\x97", "\xC3\x98", "\xC3\x99", "\xC3\x9A", "\xC3\x9B", "\xC3\x9C", "\xC3\x9D", "\xC3\x9E", "\xC3\x9F", "\xC3\xA0", "\xC3\xA1", "\xC3\xA2", "\xC3\xA3", "\xC3\xA4", "\xC3\xA5", "\xC3\xA6", "\xC3\xA7", "\xC3\xA8", "\xC3\xA9", "\xC3\xAA", "\xC3\xAB", "\xC3\xAC", "\xC3\xAD", "\xC3\xAE", "\xC3\xAF", "\xC3\xB0", "\xC3\xB1", "\xC3\xB2", "\xC3\xB3", "\xC3\xB4", "\xC3\xB5", "\xC3\xB6", "\xC3\xB7", "\xC3\xB8", "\xC3\xB9", "\xC3\xBA", "\xC3\xBB", "\xC3\xBC", "\xC3\xBD", "\xC3\xBE", "\xC3\xBF")]]></default>
|
779 |
+
<docblock line="4866">
|
780 |
<description><![CDATA[UTF-8 replacements for invalid SQL characters]]></description>
|
781 |
<long-description><![CDATA[]]></long-description>
|
782 |
+
<tag line="4866" name="since" description="1.41"/>
|
783 |
+
<tag line="4866" name="var" description="" type="array">
|
784 |
<type by_reference="false">array</type>
|
785 |
</tag>
|
786 |
</docblock>
|
787 |
</property>
|
788 |
+
<property final="false" static="true" visibility="private" line="4933" namespace="global" package="Media Library Assistant">
|
789 |
<name>$mla_iptc_records</name>
|
790 |
<default><![CDATA[array("1#000" => "Model Version", "1#005" => "Destination", "1#020" => "File Format", "1#022" => "File Format Version", "1#030" => "Service Identifier", "1#040" => "Envelope Number", "1#050" => "Product ID", "1#060" => "Envelope Priority", "1#070" => "Date Sent", "1#080" => "Time Sent", "1#090" => "Coded Character Set", "1#100" => "UNO", "1#120" => "ARM Identifier", "1#122" => "ARM Version", "2#000" => "Record Version", "2#003" => "Object Type Reference", "2#004" => "Object Attribute Reference", "2#005" => "Object Name", "2#007" => "Edit Status", "2#008" => "Editorial Update", "2#010" => "Urgency", "2#012" => "Subject Reference", "2#015" => "Category", "2#020" => "Supplemental Category", "2#022" => "Fixture Identifier", "2#025" => "Keywords", "2#026" => "Content Location Code", "2#027" => "Content Location Name", "2#030" => "Release Date", "2#035" => "Release Time", "2#037" => "Expiration Date", "2#038" => "Expiration Time", "2#040" => "Special Instructions", "2#042" => "Action Advised", "2#045" => "Reference Service", "2#047" => "Reference Date", "2#050" => "Reference Number", "2#055" => "Date Created", "2#060" => "Time Created", "2#062" => "Digital Creation Date", "2#063" => "Digital Creation Time", "2#065" => "Originating Program", "2#070" => "Program Version", "2#075" => "Object Cycle", "2#080" => "By-line", "2#085" => "By-line Title", "2#090" => "City", "2#092" => "Sub-location", "2#095" => "Province or State", "2#100" => "Country or Primary Location Code", "2#101" => "Country or Primary Location Name", "2#103" => "Original Transmission Reference", "2#105" => "Headline", "2#110" => "Credit", "2#115" => "Source", "2#116" => "Copyright Notice", "2#118" => "Contact", "2#120" => "Caption or Abstract", "2#122" => "Caption Writer or Editor", "2#125" => "Rasterized Caption", "2#130" => "Image Type", "2#131" => "Image Orientation", "2#135" => "Language Identifier", "2#150" => "Audio Type", "2#151" => "Audio Sampling Rate", "2#152" => "Audio Sampling Resolution", "2#153" => "Audio Duration", "2#154" => "Audio Outcue", "2#200" => "ObjectData Preview File Format", "2#201" => "ObjectData Preview File Format Version", "2#202" => "ObjectData Preview Data", "7#010" => "Size Mode", "7#020" => "Max Subfile Size", "7#090" => "ObjectData Size Announced", "7#095" => "Maximum ObjectData Size", "8#010" => "Subfile", "9#010" => "Confirmed ObjectData Size")]]></default>
|
791 |
+
<docblock line="4923">
|
792 |
<description><![CDATA[IPTC Dataset identifiers and names]]></description>
|
793 |
<long-description><![CDATA[<p>This array contains the identifiers and names of Datasets defined in
|
794 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
795 |
+
<tag line="4923" name="since" description="0.90"/>
|
796 |
+
<tag line="4923" name="var" description="" type="array">
|
797 |
<type by_reference="false">array</type>
|
798 |
</tag>
|
799 |
</docblock>
|
800 |
</property>
|
801 |
+
<property final="false" static="true" visibility="public" line="5032" namespace="global" package="Media Library Assistant">
|
802 |
<name>$mla_iptc_keys</name>
|
803 |
<default><![CDATA[array('model-version' => '1#000', 'destination' => '1#005', 'file-format' => '1#020', 'file-format-version' => '1#022', 'service-identifier' => '1#030', 'envelope-number' => '1#040', 'product-id' => '1#050', 'envelope-priority' => '1#060', 'date-sent' => '1#070', 'time-sent' => '1#080', 'coded-character-set' => '1#090', 'uno' => '1#100', 'arm-identifier' => '1#120', 'arm-version' => '1#122', 'record-version' => '2#000', 'object-type-reference' => '2#003', 'object-attribute-reference' => '2#004', 'object-name' => '2#005', 'edit-status' => '2#007', 'editorial-update' => '2#008', 'urgency' => '2#010', 'subject-reference' => '2#012', 'category' => '2#015', 'supplemental-category' => '2#020', 'fixture-identifier' => '2#022', 'keywords' => '2#025', 'content-location-code' => '2#026', 'content-location-name' => '2#027', 'release-date' => '2#030', 'release-time' => '2#035', 'expiration-date' => '2#037', 'expiration-time' => '2#038', 'special-instructions' => '2#040', 'action-advised' => '2#042', 'reference-service' => '2#045', 'reference-date' => '2#047', 'reference-number' => '2#050', 'date-created' => '2#055', 'time-created' => '2#060', 'digital-creation-date' => '2#062', 'digital-creation-time' => '2#063', 'originating-program' => '2#065', 'program-version' => '2#070', 'object-cycle' => '2#075', 'by-line' => '2#080', 'by-line-title' => '2#085', 'city' => '2#090', 'sub-location' => '2#092', 'province-or-state' => '2#095', 'country-or-primary-location-code' => '2#100', 'country-or-primary-location-name' => '2#101', 'original-transmission-reference' => '2#103', 'headline' => '2#105', 'credit' => '2#110', 'source' => '2#115', 'copyright-notice' => '2#116', 'contact' => '2#118', 'caption-or-abstract' => '2#120', 'caption-writer-or-editor' => '2#122', 'rasterized-caption' => '2#125', 'image-type' => '2#130', 'image-orientation' => '2#131', 'language-identifier' => '2#135', 'audio-type' => '2#150', 'audio-sampling-rate' => '2#151', 'audio-sampling-resolution' => '2#152', 'audio-duration' => '2#153', 'audio-outcue' => '2#154', 'objectdata-preview-file-format' => '2#200', 'objectdata-preview-file-format-version' => '2#201', 'objectdata-preview-data' => '2#202', 'size-mode' => '7#010', 'max-subfile-size' => '7#020', 'objectdata-size-announced' => '7#090', 'maximum-objectdata-size' => '7#095', 'subfile' => '8#010', 'confirmed-objectdata-size' => '9#010')]]></default>
|
804 |
+
<docblock line="5022">
|
805 |
<description><![CDATA[IPTC Dataset friendly name/slug and identifiers]]></description>
|
806 |
<long-description><![CDATA[<p>This array contains the sanitized names and identifiers of Datasets defined in
|
807 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
808 |
+
<tag line="5022" name="since" description="0.90"/>
|
809 |
+
<tag line="5022" name="var" description="" type="array">
|
810 |
<type by_reference="false">array</type>
|
811 |
</tag>
|
812 |
</docblock>
|
813 |
</property>
|
814 |
+
<property final="false" static="true" visibility="private" line="5131" namespace="global" package="Media Library Assistant">
|
815 |
<name>$mla_iptc_descriptions</name>
|
816 |
<default><![CDATA[array("1#000" => "2 octet binary IIM version number", "1#005" => "Max 1024 characters of Destination (ISO routing information); repeatable", "1#020" => "2 octet binary file format number, see IPTC-NAA V4 Appendix A", "1#022" => "2 octet binary file format version number", "1#030" => "Max 10 characters of Service Identifier and product", "1#040" => "8 Character Envelope Number", "1#050" => "Max 32 characters subset of provider's overall service; repeatable", "1#060" => "1 numeric character of envelope handling priority (not urgency)", "1#070" => "8 numeric characters of Date Sent by service - CCYYMMDD", "1#080" => "11 characters of Time Sent by service - HHMMSS±HHMM", "1#090" => "Max 32 characters of control functions, etc.", "1#100" => "14 to 80 characters of eternal, globally unique identification for objects", "1#120" => "2 octet binary Abstract Relationship Model Identifier", "1#122" => "2 octet binary Abstract Relationship Model Version", "2#000" => "2 octet binary Information Interchange Model, Part II version number", "2#003" => "3 to 67 Characters of Object Type Reference number and optional text", "2#004" => "3 to 67 Characters of Object Attribute Reference number and optional text; repeatable", "2#005" => "Max 64 characters of the object name or shorthand reference", "2#007" => "Max 64 characters of the status of the objectdata", "2#008" => "2 numeric characters of the type of update this object provides", "2#010" => "1 numeric character of the editorial urgency of content", "2#012" => "13 to 236 characters of a structured definition of the subject matter; repeatable", "2#015" => "Max 3 characters of the subject of the objectdata, DEPRECATED", "2#020" => "Max 32 characters (each) of further refinement of subject, DEPRECATED; repeatable", "2#022" => "Max 32 characters identifying recurring, predictable content", "2#025" => "Max 64 characters (each) of tags; repeatable", "2#026" => "3 characters of ISO3166 country code or IPTC-assigned code; repeatable", "2#027" => "Max 64 characters of publishable country/geographical location name; repeatable", "2#030" => "8 numeric characters of Release Date - CCYYMMDD", "2#035" => "11 characters of Release Time (earliest use) - HHMMSS±HHMM", "2#037" => "8 numeric characters of Expiration Date (latest use) - CCYYMDD", "2#038" => "11 characters of Expiration Time (latest use) - HHMMSS±HHMM", "2#040" => "Max 256 Characters of editorial instructions, e.g., embargoes and warnings", "2#042" => "2 numeric characters of type of action this object provides to a previous object", "2#045" => "Max 10 characters of the Service ID (1#030) of a prior envelope; repeatable", "2#047" => "8 numeric characters of prior envelope Reference Date (1#070) - CCYYMMDD; repeatable", "2#050" => "8 characters of prior envelope Reference Number (1#040); repeatable", "2#055" => "8 numeric characters of intellectual content Date Created - CCYYMMDD", "2#060" => "11 characters of intellectual content Time Created - HHMMSS±HHMM", "2#062" => "8 numeric characters of digital representation creation date - CCYYMMDD", "2#063" => "11 characters of digital representation creation time - HHMMSS±HHMM", "2#065" => "Max 32 characters of the program used to create the objectdata", "2#070" => "Program Version - Max 10 characters of the version of the program used to create the objectdata", "2#075" => "1 character where a=morning, p=evening, b=both", "2#080" => "Max 32 Characters of the name of the objectdata creator, e.g., the writer, photographer; repeatable", "2#085" => "Max 32 characters of the title of the objectdata creator; repeatable", "2#090" => "Max 32 Characters of the city of objectdata origin", "2#092" => "Max 32 Characters of the location within the city of objectdata origin", "2#095" => "Max 32 Characters of the objectdata origin Province or State", "2#100" => "3 characters of ISO3166 or IPTC-assigned code for Country of objectdata origin", "2#101" => "Max 64 characters of publishable country/geographical location name of objectdata origin", "2#103" => "Max 32 characters of a code representing the location of original transmission", "2#105" => "Max 256 Characters of a publishable entry providing a synopsis of the contents of the objectdata", "2#110" => "Max 32 Characters that identifies the provider of the objectdata (Vs the owner/creator)", "2#115" => "Max 32 Characters that identifies the original owner of the intellectual content", "2#116" => "Max 128 Characters that contains any necessary copyright notice", "2#118" => "Max 128 characters that identifies the person or organisation which can provide further background information; repeatable", "2#120" => "Max 2000 Characters of a textual description of the objectdata", "2#122" => "Max 32 Characters that the identifies the person involved in the writing, editing or correcting the objectdata or caption/abstract; repeatable", "2#125" => "7360 binary octets of the rasterized caption - 1 bit per pixel, 460x128-pixel image", "2#130" => "2 characters of color composition type and information", "2#131" => "1 alphabetic character indicating the image area layout - P=portrait, L=landscape, S=square", "2#135" => "2 or 3 aphabetic characters containing the major national language of the object, according to the ISO 639:1988 codes", "2#150" => "2 characters identifying monaural/stereo and exact type of audio content", "2#151" => "6 numeric characters representing the audio sampling rate in hertz (Hz)", "2#152" => "2 numeric characters representing the number of bits in each audio sample", "2#153" => "6 numeric characters of the Audio Duration - HHMMSS", "2#154" => "Max 64 characters of the content of the end of an audio objectdata", "2#200" => "2 octet binary file format of the ObjectData Preview", "2#201" => "2 octet binary particular version of the ObjectData Preview File Format", "2#202" => "Max 256000 binary octets containing the ObjectData Preview data", "7#010" => "1 numeric character - 0=objectdata size not known, 1=objectdata size known at beginning of transfer", "7#020" => "4 octet binary maximum subfile dataset(s) size", "7#090" => "4 octet binary objectdata size if known at beginning of transfer", "7#095" => "4 octet binary largest possible objectdata size", "8#010" => "Subfile DataSet containing the objectdata itself; repeatable", "9#010" => "4 octet binary total objectdata size")]]></default>
|
817 |
+
<docblock line="5121">
|
818 |
<description><![CDATA[IPTC Dataset descriptions]]></description>
|
819 |
<long-description><![CDATA[<p>This array contains the descriptions of Datasets defined in
|
820 |
the "IPTC-NAA Information Interchange Model Version No. 4.1".</p>]]></long-description>
|
821 |
+
<tag line="5121" name="since" description="0.90"/>
|
822 |
+
<tag line="5121" name="var" description="" type="array">
|
823 |
<type by_reference="false">array</type>
|
824 |
</tag>
|
825 |
</docblock>
|
826 |
</property>
|
827 |
+
<property final="false" static="true" visibility="private" line="5230" namespace="global" package="Media Library Assistant">
|
828 |
<name>$mla_iptc_formats</name>
|
829 |
<default><![CDATA[array(0 => "No ObjectData", 1 => "IPTC-NAA Digital Newsphoto Parameter Record", 2 => "IPTC7901 Recommended Message Format", 3 => "Tagged Image File Format (Adobe/Aldus Image data)", 4 => "Illustrator (Adobe Graphics data)", 5 => "AppleSingle (Apple Computer Inc)", 6 => "NAA 89-3 (ANPA 1312)", 7 => "MacBinary II", 0 => "IPTC Unstructured Character Oriented File Format (UCOFF)", 0 => "United Press International ANPA 1312 variant", 10 => "United Press International Down-Load Message", 11 => "JPEG File Interchange (JFIF)", 12 => "Photo-CD Image-Pac (Eastman Kodak)", 13 => "Microsoft Bit Mapped Graphics File [*.BMP]", 14 => "Digital Audio File [*.WAV] (Microsoft & Creative Labs)", 15 => "Audio plus Moving Video [*.AVI] (Microsoft)", 16 => "PC DOS/Windows Executable Files [*.COM][*.EXE]", 17 => "Compressed Binary File [*.ZIP] (PKWare Inc)", 18 => "Audio Interchange File Format AIFF (Apple Computer Inc)", 19 => "RIFF Wave (Microsoft Corporation)", 20 => "Freehand (Macromedia/Aldus)", 21 => "Hypertext Markup Language - HTML (The Internet Society)", 22 => "MPEG 2 Audio Layer 2 (Musicom), ISO/IEC", 23 => "MPEG 2 Audio Layer 3, ISO/IEC", 24 => "Portable Document File (*.PDF) Adobe", 25 => "News Industry Text Format (NITF)", 26 => "Tape Archive (*.TAR)", 27 => "Tidningarnas Telegrambyrå NITF version (TTNITF DTD)", 28 => "Ritzaus Bureau NITF version (RBNITF DTD)", 29 => "Corel Draw [*.CDR]")]]></default>
|
830 |
+
<docblock line="5220">
|
831 |
<description><![CDATA[IPTC file format identifiers and descriptions]]></description>
|
832 |
<long-description><![CDATA[<p>This array contains the file format identifiers and descriptions defined in
|
833 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 1#020.</p>]]></long-description>
|
834 |
+
<tag line="5220" name="since" description="0.90"/>
|
835 |
+
<tag line="5220" name="var" description="" type="array">
|
836 |
<type by_reference="false">array</type>
|
837 |
</tag>
|
838 |
</docblock>
|
839 |
</property>
|
840 |
+
<property final="false" static="true" visibility="private" line="5273" namespace="global" package="Media Library Assistant">
|
841 |
<name>$mla_iptc_image_types</name>
|
842 |
<default><![CDATA[array("M" => "Monochrome", "Y" => "Yellow Component", "M" => "Magenta Component", "C" => "Cyan Component", "K" => "Black Component", "R" => "Red Component", "G" => "Green Component", "B" => "Blue Component", "T" => "Text Only", "F" => "Full colour composite, frame sequential", "L" => "Full colour composite, line sequential", "P" => "Full colour composite, pixel sequential", "S" => "Full colour composite, special interleaving")]]></default>
|
843 |
+
<docblock line="5263">
|
844 |
<description><![CDATA[IPTC image type identifiers and descriptions]]></description>
|
845 |
<long-description><![CDATA[<p>This array contains the image type identifiers and descriptions defined in
|
846 |
the "IPTC-NAA Information Interchange Model Version No. 4.1" for dataset 2#130, octet 2.</p>]]></long-description>
|
847 |
+
<tag line="5263" name="since" description="0.90"/>
|
848 |
+
<tag line="5263" name="var" description="" type="array">
|
849 |
<type by_reference="false">array</type>
|
850 |
</tag>
|
851 |
</docblock>
|
852 |
</property>
|
853 |
+
<property final="false" static="true" visibility="private" line="5504" namespace="global" package="Media Library Assistant">
|
854 |
<name>$mla_IPTC_EXIF_errors</name>
|
855 |
<default><![CDATA[array()]]></default>
|
856 |
+
<docblock line="5496">
|
857 |
<description><![CDATA[Passes IPTC/EXIF parse errors between mla_IPTC_EXIF_error_handler
|
858 |
and mla_fetch_attachment_image_metadata]]></description>
|
859 |
<long-description><![CDATA[]]></long-description>
|
860 |
+
<tag line="5496" name="since" description="1.81"/>
|
861 |
+
<tag line="5496" name="var" description="" type="array">
|
862 |
<type by_reference="false">array</type>
|
863 |
</tag>
|
864 |
</docblock>
|
1021 |
<type/>
|
1022 |
</argument>
|
1023 |
</method>
|
1024 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="583" package="Media Library Assistant">
|
1025 |
<name>_evaluate_template_array_node</name>
|
1026 |
<full_name>_evaluate_template_array_node</full_name>
|
1027 |
+
<docblock line="571">
|
1028 |
<description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
|
1029 |
<long-description><![CDATA[<p>Will return an array of values if one or more of the placeholders returns an array.</p>]]></long-description>
|
1030 |
+
<tag line="571" name="since" description="1.50"/>
|
1031 |
+
<tag line="571" name="param" description="A field-level template element node" type="array" variable="$node">
|
1032 |
<type by_reference="false">array</type>
|
1033 |
</tag>
|
1034 |
+
<tag line="571" name="param" description="An array of markup substitution values" type="array" variable="$markup_values">
|
1035 |
<type by_reference="false">array</type>
|
1036 |
</tag>
|
1037 |
+
<tag line="571" name="return" description="string or array, depending on placeholder values. Placeholders corresponding to the keys of the markup_values will be replaced with their values." type="mixed">
|
1038 |
<type by_reference="false">mixed</type>
|
1039 |
</tag>
|
1040 |
</docblock>
|
1041 |
+
<argument line="583">
|
1042 |
<name>$node</name>
|
1043 |
<default><![CDATA[]]></default>
|
1044 |
<type/>
|
1045 |
</argument>
|
1046 |
+
<argument line="583">
|
1047 |
<name>$markup_values</name>
|
1048 |
<default><![CDATA[array()]]></default>
|
1049 |
<type/>
|
1050 |
</argument>
|
1051 |
</method>
|
1052 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="665" package="Media Library Assistant">
|
1053 |
<name>_evaluate_template_node</name>
|
1054 |
<full_name>_evaluate_template_node</full_name>
|
1055 |
+
<docblock line="655">
|
1056 |
<description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
|
1057 |
<long-description><![CDATA[]]></long-description>
|
1058 |
+
<tag line="655" name="since" description="1.50"/>
|
1059 |
+
<tag line="655" name="param" description="A field-level template element node" type="array" variable="$node">
|
1060 |
<type by_reference="false">array</type>
|
1061 |
</tag>
|
1062 |
+
<tag line="655" name="param" description="An array of markup substitution values" type="array" variable="$markup_values">
|
1063 |
<type by_reference="false">array</type>
|
1064 |
</tag>
|
1065 |
+
<tag line="655" name="return" description="String with expanded values, if any" type="string">
|
1066 |
<type by_reference="false">string</type>
|
1067 |
</tag>
|
1068 |
</docblock>
|
1069 |
+
<argument line="665">
|
1070 |
<name>$node</name>
|
1071 |
<default><![CDATA[]]></default>
|
1072 |
<type/>
|
1073 |
</argument>
|
1074 |
+
<argument line="665">
|
1075 |
<name>$markup_values</name>
|
1076 |
<default><![CDATA[array()]]></default>
|
1077 |
<type/>
|
1078 |
</argument>
|
1079 |
</method>
|
1080 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="728" package="Media Library Assistant">
|
1081 |
<name>_expand_field_level_template</name>
|
1082 |
<full_name>_expand_field_level_template</full_name>
|
1083 |
+
<docblock line="717">
|
1084 |
<description><![CDATA[Analyze a field-level "template:" element, expanding Field-level Markup Substitution Parameters]]></description>
|
1085 |
<long-description><![CDATA[]]></long-description>
|
1086 |
+
<tag line="717" name="since" description="1.50"/>
|
1087 |
+
<tag line="717" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
|
1088 |
<type by_reference="false">string</type>
|
1089 |
</tag>
|
1090 |
+
<tag line="717" name="param" description="An array of markup substitution values" type="array" variable="$markup_values">
|
1091 |
<type by_reference="false">array</type>
|
1092 |
</tag>
|
1093 |
+
<tag line="717" name="param" description="True to return array value(s), false to return a string" type="boolean" variable="$return_arrays">
|
1094 |
<type by_reference="false">boolean</type>
|
1095 |
</tag>
|
1096 |
+
<tag line="717" name="return" description="Element with expanded string/array values, if any" type="mixed">
|
1097 |
<type by_reference="false">mixed</type>
|
1098 |
</tag>
|
1099 |
</docblock>
|
1100 |
+
<argument line="728">
|
1101 |
<name>$tpl</name>
|
1102 |
<default><![CDATA[]]></default>
|
1103 |
<type/>
|
1104 |
</argument>
|
1105 |
+
<argument line="728">
|
1106 |
<name>$markup_values</name>
|
1107 |
<default><![CDATA[array()]]></default>
|
1108 |
<type/>
|
1109 |
</argument>
|
1110 |
+
<argument line="728">
|
1111 |
<name>$return_arrays</name>
|
1112 |
<default><![CDATA[false]]></default>
|
1113 |
<type/>
|
1114 |
</argument>
|
1115 |
</method>
|
1116 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="773" package="Media Library Assistant">
|
1117 |
<name>_process_field_level_array</name>
|
1118 |
<full_name>_process_field_level_array</full_name>
|
1119 |
+
<docblock line="762">
|
1120 |
<description><![CDATA[Process an markup field array value according to the supplied data-format option]]></description>
|
1121 |
<long-description><![CDATA[]]></long-description>
|
1122 |
+
<tag line="762" name="since" description="1.50"/>
|
1123 |
+
<tag line="762" name="param" description="an array of scalar values" type="array" variable="$record">
|
1124 |
<type by_reference="false">array</type>
|
1125 |
</tag>
|
1126 |
+
<tag line="762" name="param" description="data option 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
|
1127 |
<type by_reference="false">string</type>
|
1128 |
</tag>
|
1129 |
+
<tag line="762" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
|
1130 |
<type by_reference="false">boolean</type>
|
1131 |
</tag>
|
1132 |
+
<tag line="762" name="return" description="( parameter => value ) for all field-level parameters and anything in $markup_values" type="array">
|
1133 |
<type by_reference="false">array</type>
|
1134 |
</tag>
|
1135 |
</docblock>
|
1136 |
+
<argument line="773">
|
1137 |
<name>$record</name>
|
1138 |
<default><![CDATA[]]></default>
|
1139 |
<type/>
|
1140 |
</argument>
|
1141 |
+
<argument line="773">
|
1142 |
<name>$option</name>
|
1143 |
<default><![CDATA['text']]></default>
|
1144 |
<type/>
|
1145 |
</argument>
|
1146 |
+
<argument line="773">
|
1147 |
<name>$keep_existing</name>
|
1148 |
<default><![CDATA[false]]></default>
|
1149 |
<type/>
|
1150 |
</argument>
|
1151 |
</method>
|
1152 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="808" package="Media Library Assistant">
|
1153 |
+
<name>_parse_arguments</name>
|
1154 |
+
<full_name>_parse_arguments</full_name>
|
1155 |
+
<docblock line="799">
|
1156 |
+
<description><![CDATA[Process an argument list within a field-level parameter format specification]]></description>
|
1157 |
+
<long-description><![CDATA[]]></long-description>
|
1158 |
+
<tag line="799" name="since" description="2.02"/>
|
1159 |
+
<tag line="799" name="param" description="arguments, e.g., ('d/m/Y H:i:s' , "arg, \" two" ) without parens" type="string" variable="$argument_string">
|
1160 |
+
<type by_reference="false">string</type>
|
1161 |
+
</tag>
|
1162 |
+
<tag line="799" name="return" description="individual arguments, e.g. array( 0 => 'd/m/Y H:i:s', 1 => 'arg, \" two' )" type="array">
|
1163 |
+
<type by_reference="false">array</type>
|
1164 |
+
</tag>
|
1165 |
+
</docblock>
|
1166 |
+
<argument line="808">
|
1167 |
+
<name>$argument_string</name>
|
1168 |
+
<default><![CDATA[]]></default>
|
1169 |
+
<type/>
|
1170 |
+
</argument>
|
1171 |
+
</method>
|
1172 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="897" package="Media Library Assistant">
|
1173 |
<name>mla_expand_field_level_parameters</name>
|
1174 |
<full_name>mla_expand_field_level_parameters</full_name>
|
1175 |
+
<docblock line="879">
|
1176 |
<description><![CDATA[Analyze a template, expanding Field-level Markup Substitution Parameters]]></description>
|
1177 |
<long-description><![CDATA[<p>Field-level parameters must have one of the following prefix values:
|
1178 |
template, request, query, custom, terms, meta, iptc, exif, pdf.
|
1179 |
All but request and query require an attachment ID.</p>]]></long-description>
|
1180 |
+
<tag line="879" name="since" description="1.50"/>
|
1181 |
+
<tag line="879" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
|
1182 |
<type by_reference="false">string</type>
|
1183 |
</tag>
|
1184 |
+
<tag line="879" name="param" description="Optional: an array of values from the query, if any, e.g. shortcode parameters" type="array" variable="$query">
|
1185 |
<type by_reference="false">array</type>
|
1186 |
</tag>
|
1187 |
+
<tag line="879" name="param" description="Optional: an array of values to add to the returned array" type="array" variable="$markup_values">
|
1188 |
<type by_reference="false">array</type>
|
1189 |
</tag>
|
1190 |
+
<tag line="879" name="param" description="Optional: attachment ID for attachment-specific placeholders" type="integer" variable="$post_id">
|
1191 |
<type by_reference="false">integer</type>
|
1192 |
</tag>
|
1193 |
+
<tag line="879" name="param" description="Optional: for option 'multi', retain existing values" type="boolean" variable="$keep_existing">
|
1194 |
<type by_reference="false">boolean</type>
|
1195 |
</tag>
|
1196 |
+
<tag line="879" name="param" description="Optional: default option value" type="string" variable="$default_option">
|
1197 |
<type by_reference="false">string</type>
|
1198 |
</tag>
|
1199 |
+
<tag line="879" name="return" description="( parameter => value ) for all field-level parameters and anything in $markup_values" type="array">
|
1200 |
<type by_reference="false">array</type>
|
1201 |
</tag>
|
1202 |
</docblock>
|
1203 |
+
<argument line="897">
|
1204 |
<name>$tpl</name>
|
1205 |
<default><![CDATA[]]></default>
|
1206 |
<type/>
|
1207 |
</argument>
|
1208 |
+
<argument line="897">
|
1209 |
<name>$query</name>
|
1210 |
<default><![CDATA[NULL]]></default>
|
1211 |
<type/>
|
1212 |
</argument>
|
1213 |
+
<argument line="897">
|
1214 |
<name>$markup_values</name>
|
1215 |
<default><![CDATA[array()]]></default>
|
1216 |
<type/>
|
1217 |
</argument>
|
1218 |
+
<argument line="897">
|
1219 |
<name>$post_id</name>
|
1220 |
<default><![CDATA[0]]></default>
|
1221 |
<type/>
|
1222 |
</argument>
|
1223 |
+
<argument line="897">
|
1224 |
<name>$keep_existing</name>
|
1225 |
<default><![CDATA[false]]></default>
|
1226 |
<type/>
|
1227 |
</argument>
|
1228 |
+
<argument line="897">
|
1229 |
<name>$default_option</name>
|
1230 |
<default><![CDATA['text']]></default>
|
1231 |
<type/>
|
1232 |
</argument>
|
1233 |
</method>
|
1234 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1206" package="Media Library Assistant">
|
1235 |
<name>mla_get_template_placeholders</name>
|
1236 |
<full_name>mla_get_template_placeholders</full_name>
|
1237 |
+
<docblock line="1195">
|
1238 |
<description><![CDATA[Analyze a template, returning an array of the placeholders it contains]]></description>
|
1239 |
<long-description><![CDATA[]]></long-description>
|
1240 |
+
<tag line="1195" name="since" description="0.90"/>
|
1241 |
+
<tag line="1195" name="param" description="A formatting string containing [+placeholders+]" type="string" variable="$tpl">
|
1242 |
<type by_reference="false">string</type>
|
1243 |
</tag>
|
1244 |
+
<tag line="1195" name="param" description="Optional: default option value" type="string" variable="$default_option">
|
1245 |
<type by_reference="false">string</type>
|
1246 |
</tag>
|
1247 |
+
<tag line="1195" name="return" description="Placeholder information: each entry is an array with ['prefix'] => string, ['value'] => string, ['option'] => string 'text'|single'|'export'|'array'|'multi'" type="array">
|
1248 |
<type by_reference="false">array</type>
|
1249 |
</tag>
|
1250 |
</docblock>
|
1251 |
+
<argument line="1206">
|
1252 |
<name>$tpl</name>
|
1253 |
<default><![CDATA[]]></default>
|
1254 |
<type/>
|
1255 |
</argument>
|
1256 |
+
<argument line="1206">
|
1257 |
<name>$default_option</name>
|
1258 |
<default><![CDATA['text']]></default>
|
1259 |
<type/>
|
1260 |
</argument>
|
1261 |
</method>
|
1262 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1345" package="Media Library Assistant">
|
1263 |
<name>mla_count_list_table_items</name>
|
1264 |
<full_name>mla_count_list_table_items</full_name>
|
1265 |
+
<docblock line="1334">
|
1266 |
<description><![CDATA[Get the total number of attachment posts]]></description>
|
1267 |
<long-description><![CDATA[]]></long-description>
|
1268 |
+
<tag line="1334" name="since" description="0.30"/>
|
1269 |
+
<tag line="1334" name="param" description="Query variables, e.g., from $_REQUEST" type="array" variable="$request">
|
1270 |
<type by_reference="false">array</type>
|
1271 |
</tag>
|
1272 |
+
<tag line="1334" name="param" description="(optional) number of rows to skip over to reach desired page" type="int" variable="$offset">
|
1273 |
<type by_reference="false">int</type>
|
1274 |
</tag>
|
1275 |
+
<tag line="1334" name="param" description="(optional) number of rows on each page" type="int" variable="$count">
|
1276 |
<type by_reference="false">int</type>
|
1277 |
</tag>
|
1278 |
+
<tag line="1334" name="return" description="Number of attachment posts" type="integer">
|
1279 |
<type by_reference="false">integer</type>
|
1280 |
</tag>
|
1281 |
</docblock>
|
1282 |
+
<argument line="1345">
|
1283 |
<name>$request</name>
|
1284 |
<default><![CDATA[]]></default>
|
1285 |
<type/>
|
1286 |
</argument>
|
1287 |
+
<argument line="1345">
|
1288 |
<name>$offset</name>
|
1289 |
<default><![CDATA[NULL]]></default>
|
1290 |
<type/>
|
1291 |
</argument>
|
1292 |
+
<argument line="1345">
|
1293 |
<name>$count</name>
|
1294 |
<default><![CDATA[NULL]]></default>
|
1295 |
<type/>
|
1296 |
</argument>
|
1297 |
</method>
|
1298 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1373" package="Media Library Assistant">
|
1299 |
<name>mla_query_list_table_items</name>
|
1300 |
<full_name>mla_query_list_table_items</full_name>
|
1301 |
+
<docblock line="1359">
|
1302 |
<description><![CDATA[Retrieve attachment objects for list table display]]></description>
|
1303 |
<long-description><![CDATA[<p>Supports prepare_items in class-mla-list-table.php.
|
1304 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
1305 |
+
<tag line="1359" name="since" description="0.1"/>
|
1306 |
+
<tag line="1359" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
|
1307 |
<type by_reference="false">array</type>
|
1308 |
</tag>
|
1309 |
+
<tag line="1359" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
|
1310 |
<type by_reference="false">int</type>
|
1311 |
</tag>
|
1312 |
+
<tag line="1359" name="param" description="number of rows on each page" type="int" variable="$count">
|
1313 |
<type by_reference="false">int</type>
|
1314 |
</tag>
|
1315 |
+
<tag line="1359" name="return" description="attachment objects (posts) including parent data, meta data and references" type="array">
|
1316 |
<type by_reference="false">array</type>
|
1317 |
</tag>
|
1318 |
</docblock>
|
1319 |
+
<argument line="1373">
|
1320 |
<name>$request</name>
|
1321 |
<default><![CDATA[]]></default>
|
1322 |
<type/>
|
1323 |
</argument>
|
1324 |
+
<argument line="1373">
|
1325 |
<name>$offset</name>
|
1326 |
<default><![CDATA[]]></default>
|
1327 |
<type/>
|
1328 |
</argument>
|
1329 |
+
<argument line="1373">
|
1330 |
<name>$count</name>
|
1331 |
<default><![CDATA[]]></default>
|
1332 |
<type/>
|
1333 |
</argument>
|
1334 |
</method>
|
1335 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1419" package="Media Library Assistant">
|
1336 |
<name>mla_query_media_modal_items</name>
|
1337 |
<full_name>mla_query_media_modal_items</full_name>
|
1338 |
+
<docblock line="1406">
|
1339 |
<description><![CDATA[Retrieve attachment objects for the WordPress Media Manager]]></description>
|
1340 |
<long-description><![CDATA[<p>Supports month-year and taxonomy-term filters as well as the enhanced search box</p>]]></long-description>
|
1341 |
+
<tag line="1406" name="since" description="1.20"/>
|
1342 |
+
<tag line="1406" name="param" description="query parameters from Media Manager" type="array" variable="$request">
|
1343 |
<type by_reference="false">array</type>
|
1344 |
</tag>
|
1345 |
+
<tag line="1406" name="param" description="number of rows to skip over to reach desired page" type="int" variable="$offset">
|
1346 |
<type by_reference="false">int</type>
|
1347 |
</tag>
|
1348 |
+
<tag line="1406" name="param" description="number of rows on each page" type="int" variable="$count">
|
1349 |
<type by_reference="false">int</type>
|
1350 |
</tag>
|
1351 |
+
<tag line="1406" name="return" description="attachment objects (posts)" type="array">
|
1352 |
<type by_reference="false">array</type>
|
1353 |
</tag>
|
1354 |
</docblock>
|
1355 |
+
<argument line="1419">
|
1356 |
<name>$request</name>
|
1357 |
<default><![CDATA[]]></default>
|
1358 |
<type/>
|
1359 |
</argument>
|
1360 |
+
<argument line="1419">
|
1361 |
<name>$offset</name>
|
1362 |
<default><![CDATA[]]></default>
|
1363 |
<type/>
|
1364 |
</argument>
|
1365 |
+
<argument line="1419">
|
1366 |
<name>$count</name>
|
1367 |
<default><![CDATA[]]></default>
|
1368 |
<type/>
|
1369 |
</argument>
|
1370 |
</method>
|
1371 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1483" package="Media Library Assistant">
|
1372 |
<name>_prepare_list_table_query</name>
|
1373 |
<full_name>_prepare_list_table_query</full_name>
|
1374 |
+
<docblock line="1469">
|
1375 |
<description><![CDATA[Sanitize and expand query arguments from request variables]]></description>
|
1376 |
<long-description><![CDATA[<p>Prepare the arguments for WP_Query.
|
1377 |
Modeled after wp_edit_attachments_query in wp-admin/post.php</p>]]></long-description>
|
1378 |
+
<tag line="1469" name="since" description="0.1"/>
|
1379 |
+
<tag line="1469" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$raw_request">
|
1380 |
<type by_reference="false">array</type>
|
1381 |
</tag>
|
1382 |
+
<tag line="1469" name="param" description="Optional number of rows (default 0) to skip over to reach desired page" type="int" variable="$offset">
|
1383 |
<type by_reference="false">int</type>
|
1384 |
</tag>
|
1385 |
+
<tag line="1469" name="param" description="Optional number of rows on each page (0 = all rows, default)" type="int" variable="$count">
|
1386 |
<type by_reference="false">int</type>
|
1387 |
</tag>
|
1388 |
+
<tag line="1469" name="return" description="revised arguments suitable for WP_Query" type="array">
|
1389 |
<type by_reference="false">array</type>
|
1390 |
</tag>
|
1391 |
</docblock>
|
1392 |
+
<argument line="1483">
|
1393 |
<name>$raw_request</name>
|
1394 |
<default><![CDATA[]]></default>
|
1395 |
<type/>
|
1396 |
</argument>
|
1397 |
+
<argument line="1483">
|
1398 |
<name>$offset</name>
|
1399 |
<default><![CDATA[0]]></default>
|
1400 |
<type/>
|
1401 |
</argument>
|
1402 |
+
<argument line="1483">
|
1403 |
<name>$count</name>
|
1404 |
<default><![CDATA[0]]></default>
|
1405 |
<type/>
|
1406 |
</argument>
|
1407 |
</method>
|
1408 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1880" package="Media Library Assistant">
|
1409 |
<name>_execute_list_table_query</name>
|
1410 |
<full_name>_execute_list_table_query</full_name>
|
1411 |
+
<docblock line="1871">
|
1412 |
<description><![CDATA[Add filters, run query, remove filters]]></description>
|
1413 |
<long-description><![CDATA[]]></long-description>
|
1414 |
+
<tag line="1871" name="since" description="0.30"/>
|
1415 |
+
<tag line="1871" name="param" description="query parameters from web page, usually found in $_REQUEST" type="array" variable="$request">
|
1416 |
<type by_reference="false">array</type>
|
1417 |
</tag>
|
1418 |
+
<tag line="1871" name="return" description="WP_Query object with query results" type="object">
|
1419 |
<type by_reference="false">object</type>
|
1420 |
</tag>
|
1421 |
</docblock>
|
1422 |
+
<argument line="1880">
|
1423 |
<name>$request</name>
|
1424 |
<default><![CDATA[]]></default>
|
1425 |
<type/>
|
1426 |
</argument>
|
1427 |
</method>
|
1428 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1983" package="Media Library Assistant">
|
1429 |
<name>mla_search_terms_tidy</name>
|
1430 |
<full_name>mla_search_terms_tidy</full_name>
|
1431 |
+
<docblock line="1972">
|
1432 |
<description><![CDATA[Replaces a WordPress function deprecated in v3.7]]></description>
|
1433 |
<long-description><![CDATA[<p>Defined as public because it's a callback from array_map().</p>]]></long-description>
|
1434 |
+
<tag line="1972" name="since" description="1.51"/>
|
1435 |
+
<tag line="1972" name="param" description="search term before modification" type="string" variable="$term">
|
1436 |
<type by_reference="false">string</type>
|
1437 |
</tag>
|
1438 |
+
<tag line="1972" name="return" description="cleaned up search term" type="string">
|
1439 |
<type by_reference="false">string</type>
|
1440 |
</tag>
|
1441 |
</docblock>
|
1442 |
+
<argument line="1983">
|
1443 |
<name>$term</name>
|
1444 |
<default><![CDATA[]]></default>
|
1445 |
<type/>
|
1446 |
</argument>
|
1447 |
</method>
|
1448 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1999" package="Media Library Assistant">
|
1449 |
<name>mla_query_posts_search_filter</name>
|
1450 |
<full_name>mla_query_posts_search_filter</full_name>
|
1451 |
+
<docblock line="1987">
|
1452 |
<description><![CDATA[Adds a keyword search to the WHERE clause, if required]]></description>
|
1453 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1454 |
+
<tag line="1987" name="since" description="0.60"/>
|
1455 |
+
<tag line="1987" name="param" description="query clause before modification" type="string" variable="$search_string">
|
1456 |
<type by_reference="false">string</type>
|
1457 |
</tag>
|
1458 |
+
<tag line="1987" name="param" description="WP_Query object" type="object" variable="$query_object">
|
1459 |
<type by_reference="false">object</type>
|
1460 |
</tag>
|
1461 |
+
<tag line="1987" name="return" description="query clause after keyword search addition" type="string">
|
1462 |
<type by_reference="false">string</type>
|
1463 |
</tag>
|
1464 |
</docblock>
|
1465 |
+
<argument line="1999">
|
1466 |
<name>$search_string</name>
|
1467 |
<default><![CDATA[]]></default>
|
1468 |
<type/>
|
1469 |
</argument>
|
1470 |
+
<argument line="1999">
|
1471 |
<name>$query_object</name>
|
1472 |
<default><![CDATA[]]></default>
|
1473 |
<type/>
|
1474 |
</argument>
|
1475 |
</method>
|
1476 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2269" package="Media Library Assistant">
|
1477 |
<name>mla_query_posts_where_filter</name>
|
1478 |
<full_name>mla_query_posts_where_filter</full_name>
|
1479 |
+
<docblock line="2257">
|
1480 |
<description><![CDATA[Adds/modifies the WHERE clause for meta values, LIKE patterns and detached items]]></description>
|
1481 |
<long-description><![CDATA[<p>Modeled after _edit_attachments_query_helper in wp-admin/post.php.
|
1482 |
Defined as public because it's a filter.</p>]]></long-description>
|
1483 |
+
<tag line="2257" name="since" description="0.1"/>
|
1484 |
+
<tag line="2257" name="param" description="query clause before modification" type="string" variable="$where_clause">
|
1485 |
<type by_reference="false">string</type>
|
1486 |
</tag>
|
1487 |
+
<tag line="2257" name="return" description="query clause after modification" type="string">
|
1488 |
<type by_reference="false">string</type>
|
1489 |
</tag>
|
1490 |
</docblock>
|
1491 |
+
<argument line="2269">
|
1492 |
<name>$where_clause</name>
|
1493 |
<default><![CDATA[]]></default>
|
1494 |
<type/>
|
1495 |
</argument>
|
1496 |
</method>
|
1497 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2337" package="Media Library Assistant">
|
1498 |
<name>mla_query_posts_join_filter</name>
|
1499 |
<full_name>mla_query_posts_join_filter</full_name>
|
1500 |
+
<docblock line="2326">
|
1501 |
<description><![CDATA[Adds a JOIN clause, if required, to handle sorting/searching on custom fields or ALT Text]]></description>
|
1502 |
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
1503 |
+
<tag line="2326" name="since" description="0.30"/>
|
1504 |
+
<tag line="2326" name="param" description="query clause before modification" type="string" variable="$join_clause">
|
1505 |
<type by_reference="false">string</type>
|
1506 |
</tag>
|
1507 |
+
<tag line="2326" name="return" description="query clause after "LEFT JOIN view ON post_id" item modification" type="string">
|
1508 |
<type by_reference="false">string</type>
|
1509 |
</tag>
|
1510 |
</docblock>
|
1511 |
+
<argument line="2337">
|
1512 |
<name>$join_clause</name>
|
1513 |
<default><![CDATA[]]></default>
|
1514 |
<type/>
|
1515 |
</argument>
|
1516 |
</method>
|
1517 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2392" package="Media Library Assistant">
|
1518 |
<name>mla_query_posts_groupby_filter</name>
|
1519 |
<full_name>mla_query_posts_groupby_filter</full_name>
|
1520 |
+
<docblock line="2380">
|
1521 |
<description><![CDATA[Adds a GROUPBY clause, if required]]></description>
|
1522 |
<long-description><![CDATA[<p>Taxonomy text queries require a GROUPBY clause.
|
1523 |
Defined as public because it's a filter.</p>]]></long-description>
|
1524 |
+
<tag line="2380" name="since" description="1.90"/>
|
1525 |
+
<tag line="2380" name="param" description="query clause before modification" type="string" variable="$groupby_clause">
|
1526 |
<type by_reference="false">string</type>
|
1527 |
</tag>
|
1528 |
+
<tag line="2380" name="return" description="updated query clause" type="string">
|
1529 |
<type by_reference="false">string</type>
|
1530 |
</tag>
|
1531 |
</docblock>
|
1532 |
+
<argument line="2392">
|
1533 |
<name>$groupby_clause</name>
|
1534 |
<default><![CDATA[]]></default>
|
1535 |
<type/>
|
1536 |
</argument>
|
1537 |
</method>
|
1538 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2414" package="Media Library Assistant">
|
1539 |
<name>mla_query_posts_orderby_filter</name>
|
1540 |
<full_name>mla_query_posts_orderby_filter</full_name>
|
1541 |
+
<docblock line="2402">
|
1542 |
<description><![CDATA[Adds a ORDERBY clause, if required]]></description>
|
1543 |
<long-description><![CDATA[<p>Expands the range of sort options because the logic in WP_Query is limited.
|
1544 |
Defined as public because it's a filter.</p>]]></long-description>
|
1545 |
+
<tag line="2402" name="since" description="0.30"/>
|
1546 |
+
<tag line="2402" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
|
1547 |
<type by_reference="false">string</type>
|
1548 |
</tag>
|
1549 |
+
<tag line="2402" name="return" description="updated query clause" type="string">
|
1550 |
<type by_reference="false">string</type>
|
1551 |
</tag>
|
1552 |
</docblock>
|
1553 |
+
<argument line="2414">
|
1554 |
<name>$orderby_clause</name>
|
1555 |
<default><![CDATA[]]></default>
|
1556 |
<type/>
|
1557 |
</argument>
|
1558 |
</method>
|
1559 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2492" package="Media Library Assistant">
|
1560 |
<name>mla_query_relevanssi_admin_search_ok_filter</name>
|
1561 |
<full_name>mla_query_relevanssi_admin_search_ok_filter</full_name>
|
1562 |
+
<docblock line="2482">
|
1563 |
<description><![CDATA[Disable Relevanssi - A Better Search, v3.2 by Mikko Saari
|
1564 |
Defined as public because it's a filter.]]></description>
|
1565 |
<long-description><![CDATA[]]></long-description>
|
1566 |
+
<tag line="2482" name="since" description="1.80"/>
|
1567 |
+
<tag line="2482" name="param" description="Default setting" type="boolean" variable="$admin_search_ok">
|
1568 |
<type by_reference="false">boolean</type>
|
1569 |
</tag>
|
1570 |
+
<tag line="2482" name="return" description="Updated setting" type="boolean">
|
1571 |
<type by_reference="false">boolean</type>
|
1572 |
</tag>
|
1573 |
</docblock>
|
1574 |
+
<argument line="2492">
|
1575 |
<name>$admin_search_ok</name>
|
1576 |
<default><![CDATA[]]></default>
|
1577 |
<type/>
|
1578 |
</argument>
|
1579 |
</method>
|
1580 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2508" package="Media Library Assistant">
|
1581 |
<name>mla_query_posts_clauses_filter</name>
|
1582 |
<full_name>mla_query_posts_clauses_filter</full_name>
|
1583 |
+
<docblock line="2496">
|
1584 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
1585 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1586 |
Defined as public because it's a filter.</p>]]></long-description>
|
1587 |
+
<tag line="2496" name="since" description="1.80"/>
|
1588 |
+
<tag line="2496" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
1589 |
<type by_reference="false">array</type>
|
1590 |
</tag>
|
1591 |
+
<tag line="2496" name="return" description="query clauses after modification (none)" type="array">
|
1592 |
<type by_reference="false">array</type>
|
1593 |
</tag>
|
1594 |
</docblock>
|
1595 |
+
<argument line="2508">
|
1596 |
<name>$pieces</name>
|
1597 |
<default><![CDATA[]]></default>
|
1598 |
<type/>
|
1599 |
</argument>
|
1600 |
</method>
|
1601 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2532" package="Media Library Assistant">
|
1602 |
<name>mla_query_posts_clauses_request_filter</name>
|
1603 |
<full_name>mla_query_posts_clauses_request_filter</full_name>
|
1604 |
+
<docblock line="2520">
|
1605 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
1606 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
1607 |
Defined as public because it's a filter.</p>]]></long-description>
|
1608 |
+
<tag line="2520" name="since" description="1.80"/>
|
1609 |
+
<tag line="2520" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
1610 |
<type by_reference="false">array</type>
|
1611 |
</tag>
|
1612 |
+
<tag line="2520" name="return" description="query clauses after modification (none)" type="array">
|
1613 |
<type by_reference="false">array</type>
|
1614 |
</tag>
|
1615 |
</docblock>
|
1616 |
+
<argument line="2532">
|
1617 |
<name>$pieces</name>
|
1618 |
<default><![CDATA[]]></default>
|
1619 |
<type/>
|
1620 |
</argument>
|
1621 |
</method>
|
1622 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2558" package="Media Library Assistant">
|
1623 |
<name>mla_get_attachment_by_id</name>
|
1624 |
<full_name>mla_get_attachment_by_id</full_name>
|
1625 |
+
<docblock line="2544">
|
1626 |
<description><![CDATA[Retrieve an Attachment array given a $post_id]]></description>
|
1627 |
<long-description><![CDATA[<p>The (associative) array will contain every field that can be found in
|
1628 |
the posts and postmeta tables, and all references to the attachment.</p>]]></long-description>
|
1629 |
+
<tag line="2544" name="since" description="0.1"/>
|
1630 |
+
<tag line="2544" name="uses" description="\global\$post" refers="\global\$post"/>
|
1631 |
+
<tag line="2544" name="param" description="The ID of the attachment post" type="integer" variable="$post_id">
|
1632 |
<type by_reference="false">integer</type>
|
1633 |
</tag>
|
1634 |
+
<tag line="2544" name="param" description="True to add references, false to skip references" type="boolean" variable="$add_references">
|
1635 |
<type by_reference="false">boolean</type>
|
1636 |
</tag>
|
1637 |
+
<tag line="2544" name="return" description="NULL on failure else associative array" type="NULL|array">
|
1638 |
<type by_reference="false">NULL</type>
|
1639 |
<type by_reference="false">array</type>
|
1640 |
</tag>
|
1641 |
</docblock>
|
1642 |
+
<argument line="2558">
|
1643 |
<name>$post_id</name>
|
1644 |
<default><![CDATA[]]></default>
|
1645 |
<type/>
|
1646 |
</argument>
|
1647 |
+
<argument line="2558">
|
1648 |
<name>$add_references</name>
|
1649 |
<default><![CDATA[true]]></default>
|
1650 |
<type/>
|
1651 |
</argument>
|
1652 |
</method>
|
1653 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2614" package="Media Library Assistant">
|
1654 |
<name>mla_fetch_attachment_parent_data</name>
|
1655 |
<full_name>mla_fetch_attachment_parent_data</full_name>
|
1656 |
+
<docblock line="2605">
|
1657 |
<description><![CDATA[Returns information about an attachment's parent, if found]]></description>
|
1658 |
<long-description><![CDATA[]]></long-description>
|
1659 |
+
<tag line="2605" name="since" description="0.1"/>
|
1660 |
+
<tag line="2605" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent_id">
|
1661 |
<type by_reference="false">int</type>
|
1662 |
</tag>
|
1663 |
+
<tag line="2605" name="return" description="Parent information; post_date, post_title and post_type" type="array">
|
1664 |
<type by_reference="false">array</type>
|
1665 |
</tag>
|
1666 |
</docblock>
|
1667 |
+
<argument line="2614">
|
1668 |
<name>$parent_id</name>
|
1669 |
<default><![CDATA[]]></default>
|
1670 |
<type/>
|
1671 |
</argument>
|
1672 |
</method>
|
1673 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2664" package="Media Library Assistant">
|
1674 |
<name>_set_array_element</name>
|
1675 |
<full_name>_set_array_element</full_name>
|
1676 |
+
<docblock line="2653">
|
1677 |
<description><![CDATA[Adds or replaces the value of a key in a possibly nested array structure]]></description>
|
1678 |
<long-description><![CDATA[]]></long-description>
|
1679 |
+
<tag line="2653" name="since" description="1.51"/>
|
1680 |
+
<tag line="2653" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
|
1681 |
<type by_reference="false">string</type>
|
1682 |
</tag>
|
1683 |
+
<tag line="2653" name="param" description="replacement value, string or array, by reference" type="mixed" variable="$value">
|
1684 |
<type by_reference="false">mixed</type>
|
1685 |
</tag>
|
1686 |
+
<tag line="2653" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
|
1687 |
<type by_reference="false">array</type>
|
1688 |
</tag>
|
1689 |
+
<tag line="2653" name="return" description="true if $needle element set, false if not" type="boolean">
|
1690 |
<type by_reference="false">boolean</type>
|
1691 |
</tag>
|
1692 |
</docblock>
|
1693 |
+
<argument line="2664">
|
1694 |
<name>$needle</name>
|
1695 |
<default><![CDATA[]]></default>
|
1696 |
<type/>
|
1697 |
</argument>
|
1698 |
+
<argument line="2664">
|
1699 |
<name>$value</name>
|
1700 |
<default><![CDATA[]]></default>
|
1701 |
<type/>
|
1702 |
</argument>
|
1703 |
+
<argument line="2664">
|
1704 |
<name>$haystack</name>
|
1705 |
<default><![CDATA[]]></default>
|
1706 |
<type/>
|
1707 |
</argument>
|
1708 |
</method>
|
1709 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2698" package="Media Library Assistant">
|
1710 |
<name>_unset_array_element</name>
|
1711 |
<full_name>_unset_array_element</full_name>
|
1712 |
+
<docblock line="2688">
|
1713 |
<description><![CDATA[Deletes the value of a key in a possibly nested array structure]]></description>
|
1714 |
<long-description><![CDATA[]]></long-description>
|
1715 |
+
<tag line="2688" name="since" description="1.51"/>
|
1716 |
+
<tag line="2688" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
|
1717 |
<type by_reference="false">string</type>
|
1718 |
</tag>
|
1719 |
+
<tag line="2688" name="param" description="PHP nested arrays, by reference" type="array" variable="$haystack">
|
1720 |
<type by_reference="false">array</type>
|
1721 |
</tag>
|
1722 |
+
<tag line="2688" name="return" description="true if $needle element found, false if not" type="boolean">
|
1723 |
<type by_reference="false">boolean</type>
|
1724 |
</tag>
|
1725 |
</docblock>
|
1726 |
+
<argument line="2698">
|
1727 |
<name>$needle</name>
|
1728 |
<default><![CDATA[]]></default>
|
1729 |
<type/>
|
1730 |
</argument>
|
1731 |
+
<argument line="2698">
|
1732 |
<name>$haystack</name>
|
1733 |
<default><![CDATA[]]></default>
|
1734 |
<type/>
|
1735 |
</argument>
|
1736 |
</method>
|
1737 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2733" package="Media Library Assistant">
|
1738 |
<name>mla_find_array_element</name>
|
1739 |
<full_name>mla_find_array_element</full_name>
|
1740 |
+
<docblock line="2718">
|
1741 |
<description><![CDATA[Finds the value of a key in a possibly nested array structure]]></description>
|
1742 |
<long-description><![CDATA[<p>Used primarily to extract fields from the _wp_attachment_metadata custom field.
|
1743 |
Could also be used with the ID3 metadata exposed in WordPress 3.6 and later.</p>]]></long-description>
|
1744 |
+
<tag line="2718" name="since" description="1.30"/>
|
1745 |
+
<tag line="2718" name="param" description="key value, e.g. array1.array2.element" type="string" variable="$needle">
|
1746 |
<type by_reference="false">string</type>
|
1747 |
</tag>
|
1748 |
+
<tag line="2718" name="param" description="PHP nested arrays" type="array" variable="$haystack">
|
1749 |
<type by_reference="false">array</type>
|
1750 |
</tag>
|
1751 |
+
<tag line="2718" name="param" description="data option 'text'|'single'|'export'|'array'|'multi'" type="string" variable="$option">
|
1752 |
<type by_reference="false">string</type>
|
1753 |
</tag>
|
1754 |
+
<tag line="2718" name="param" description="keep existing values - for 'multi' option" type="boolean" variable="$keep_existing">
|
1755 |
<type by_reference="false">boolean</type>
|
1756 |
</tag>
|
1757 |
+
<tag line="2718" name="return" description="string or array value matching key(.key ...) or ''" type="mixed">
|
1758 |
<type by_reference="false">mixed</type>
|
1759 |
</tag>
|
1760 |
</docblock>
|
1761 |
+
<argument line="2733">
|
1762 |
<name>$needle</name>
|
1763 |
<default><![CDATA[]]></default>
|
1764 |
<type/>
|
1765 |
</argument>
|
1766 |
+
<argument line="2733">
|
1767 |
<name>$haystack</name>
|
1768 |
<default><![CDATA[]]></default>
|
1769 |
<type/>
|
1770 |
</argument>
|
1771 |
+
<argument line="2733">
|
1772 |
<name>$option</name>
|
1773 |
<default><![CDATA[]]></default>
|
1774 |
<type/>
|
1775 |
</argument>
|
1776 |
+
<argument line="2733">
|
1777 |
<name>$keep_existing</name>
|
1778 |
<default><![CDATA[false]]></default>
|
1779 |
<type/>
|
1780 |
</argument>
|
1781 |
</method>
|
1782 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2786" package="Media Library Assistant">
|
1783 |
<name>mla_fetch_attachment_metadata</name>
|
1784 |
<full_name>mla_fetch_attachment_metadata</full_name>
|
1785 |
+
<docblock line="2774">
|
1786 |
<description><![CDATA[Fetch and filter meta data for an attachment]]></description>
|
1787 |
<long-description><![CDATA[<p>Returns a filtered array of a post's meta data. Internal values beginning with '<em>'
|
1788 |
are stripped out or converted to an 'mla</em>' equivalent.</p>]]></long-description>
|
1789 |
+
<tag line="2774" name="since" description="0.1"/>
|
1790 |
+
<tag line="2774" name="param" description="post ID of attachment" type="int" variable="$post_id">
|
1791 |
<type by_reference="false">int</type>
|
1792 |
</tag>
|
1793 |
+
<tag line="2774" name="return" description="Meta data variables" type="array">
|
1794 |
<type by_reference="false">array</type>
|
1795 |
</tag>
|
1796 |
</docblock>
|
1797 |
+
<argument line="2786">
|
1798 |
<name>$post_id</name>
|
1799 |
<default><![CDATA[]]></default>
|
1800 |
<type/>
|
1801 |
</argument>
|
1802 |
</method>
|
1803 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2872" package="Media Library Assistant">
|
1804 |
<name>mla_fetch_attachment_references</name>
|
1805 |
<full_name>mla_fetch_attachment_references</full_name>
|
1806 |
+
<docblock line="2858">
|
1807 |
<description><![CDATA[Find Featured Image and inserted image/link references to an attachment]]></description>
|
1808 |
<long-description><![CDATA[<p>Searches all post and page content to see if the attachment is used
|
1809 |
as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
|
1810 |
+
<tag line="2858" name="since" description="0.1"/>
|
1811 |
+
<tag line="2858" name="param" description="post ID of attachment" type="int" variable="$ID">
|
1812 |
<type by_reference="false">int</type>
|
1813 |
</tag>
|
1814 |
+
<tag line="2858" name="param" description="post ID of attachment's parent, if any" type="int" variable="$parent">
|
1815 |
<type by_reference="false">int</type>
|
1816 |
</tag>
|
1817 |
+
<tag line="2858" name="param" description="True to compute references, false to return empty values" type="boolean" variable="$add_references">
|
1818 |
<type by_reference="false">boolean</type>
|
1819 |
</tag>
|
1820 |
+
<tag line="2858" name="return" description="Reference information; see $references array comments" type="array">
|
1821 |
<type by_reference="false">array</type>
|
1822 |
</tag>
|
1823 |
</docblock>
|
1824 |
+
<argument line="2872">
|
1825 |
<name>$ID</name>
|
1826 |
<default><![CDATA[]]></default>
|
1827 |
<type/>
|
1828 |
</argument>
|
1829 |
+
<argument line="2872">
|
1830 |
<name>$parent</name>
|
1831 |
<default><![CDATA[]]></default>
|
1832 |
<type/>
|
1833 |
</argument>
|
1834 |
+
<argument line="2872">
|
1835 |
<name>$add_references</name>
|
1836 |
<default><![CDATA[true]]></default>
|
1837 |
<type/>
|
1838 |
</argument>
|
1839 |
</method>
|
1840 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3202" package="Media Library Assistant">
|
1841 |
<name>mla_attachment_array_fetch_references</name>
|
1842 |
<full_name>mla_attachment_array_fetch_references</full_name>
|
1843 |
+
<docblock line="3190">
|
1844 |
<description><![CDATA[Add Featured Image and inserted image/link references to an array of attachments]]></description>
|
1845 |
<long-description><![CDATA[<p>Searches all post and page content to see if the attachmenta are used
|
1846 |
as a Featured Image or inserted in the post as an image or link.</p>]]></long-description>
|
1847 |
+
<tag line="3190" name="since" description="1.94"/>
|
1848 |
+
<tag line="3190" name="param" description="WP_Post objects, passed by reference" type="array" variable="$attachments">
|
1849 |
<type by_reference="false">array</type>
|
1850 |
</tag>
|
1851 |
+
<tag line="3190" name="return" description="updates WP_Post objects with new mla_references property" type="void">
|
1852 |
<type by_reference="false">void</type>
|
1853 |
</tag>
|
1854 |
</docblock>
|
1855 |
+
<argument line="3202">
|
1856 |
<name>$attachments</name>
|
1857 |
<default><![CDATA[]]></default>
|
1858 |
<type/>
|
1859 |
</argument>
|
1860 |
</method>
|
1861 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3576" package="Media Library Assistant">
|
1862 |
<name>mla_flush_mla_galleries</name>
|
1863 |
<full_name>mla_flush_mla_galleries</full_name>
|
1864 |
+
<docblock line="3567">
|
1865 |
<description><![CDATA[Invalidates the $mla_galleries or $galleries array and cached values]]></description>
|
1866 |
<long-description><![CDATA[]]></long-description>
|
1867 |
+
<tag line="3567" name="since" description="1.00"/>
|
1868 |
+
<tag line="3567" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
|
1869 |
<type by_reference="false">string</type>
|
1870 |
</tag>
|
1871 |
+
<tag line="3567" name="return" description="" type="void">
|
1872 |
<type by_reference="false">void</type>
|
1873 |
</tag>
|
1874 |
</docblock>
|
1875 |
+
<argument line="3576">
|
1876 |
<name>$option_name</name>
|
1877 |
<default><![CDATA[]]></default>
|
1878 |
<type/>
|
1879 |
</argument>
|
1880 |
</method>
|
1881 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3600" package="Media Library Assistant">
|
1882 |
<name>mla_save_post_action</name>
|
1883 |
<full_name>mla_save_post_action</full_name>
|
1884 |
+
<docblock line="3591">
|
1885 |
<description><![CDATA[Invalidates $mla_galleries and $galleries arrays and cached values after post, page or attachment updates]]></description>
|
1886 |
<long-description><![CDATA[]]></long-description>
|
1887 |
+
<tag line="3591" name="since" description="1.00"/>
|
1888 |
+
<tag line="3591" name="param" description="ID of post/page/attachment; not used at this time" type="integer" variable="$post_id">
|
1889 |
<type by_reference="false">integer</type>
|
1890 |
</tag>
|
1891 |
+
<tag line="3591" name="return" description="" type="void">
|
1892 |
<type by_reference="false">void</type>
|
1893 |
</tag>
|
1894 |
</docblock>
|
1895 |
+
<argument line="3600">
|
1896 |
<name>$post_id</name>
|
1897 |
<default><![CDATA[]]></default>
|
1898 |
<type/>
|
1899 |
</argument>
|
1900 |
</method>
|
1901 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3617" package="Media Library Assistant">
|
1902 |
<name>_build_mla_galleries</name>
|
1903 |
<full_name>_build_mla_galleries</full_name>
|
1904 |
+
<docblock line="3605">
|
1905 |
<description><![CDATA[Builds the $mla_galleries or $galleries array]]></description>
|
1906 |
<long-description><![CDATA[]]></long-description>
|
1907 |
+
<tag line="3605" name="since" description="0.70"/>
|
1908 |
+
<tag line="3605" name="param" description="name of the gallery's cache/option variable" type="string" variable="$option_name">
|
1909 |
<type by_reference="false">string</type>
|
1910 |
</tag>
|
1911 |
+
<tag line="3605" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
|
1912 |
<type by_reference="false">array</type>
|
1913 |
</tag>
|
1914 |
+
<tag line="3605" name="param" description="the shortcode to be searched for and processed" type="string" variable="$shortcode">
|
1915 |
<type by_reference="false">string</type>
|
1916 |
</tag>
|
1917 |
+
<tag line="3605" name="param" description="true to exclude revisions from the search" type="boolean" variable="$exclude_revisions">
|
1918 |
<type by_reference="false">boolean</type>
|
1919 |
</tag>
|
1920 |
+
<tag line="3605" name="return" description="true if the galleries array is not empty" type="boolean">
|
1921 |
<type by_reference="false">boolean</type>
|
1922 |
</tag>
|
1923 |
</docblock>
|
1924 |
+
<argument line="3617">
|
1925 |
<name>$option_name</name>
|
1926 |
<default><![CDATA[]]></default>
|
1927 |
<type/>
|
1928 |
</argument>
|
1929 |
+
<argument line="3617">
|
1930 |
<name>$galleries_array</name>
|
1931 |
<default><![CDATA[]]></default>
|
1932 |
<type/>
|
1933 |
</argument>
|
1934 |
+
<argument line="3617">
|
1935 |
<name>$shortcode</name>
|
1936 |
<default><![CDATA[]]></default>
|
1937 |
<type/>
|
1938 |
</argument>
|
1939 |
+
<argument line="3617">
|
1940 |
<name>$exclude_revisions</name>
|
1941 |
<default><![CDATA[]]></default>
|
1942 |
<type/>
|
1943 |
</argument>
|
1944 |
</method>
|
1945 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3738" package="Media Library Assistant">
|
1946 |
<name>_search_mla_galleries</name>
|
1947 |
<full_name>_search_mla_galleries</full_name>
|
1948 |
+
<docblock line="3727">
|
1949 |
<description><![CDATA[Search the $mla_galleries or $galleries array]]></description>
|
1950 |
<long-description><![CDATA[]]></long-description>
|
1951 |
+
<tag line="3727" name="since" description="0.70"/>
|
1952 |
+
<tag line="3727" name="param" description="by reference to the private static galleries array variable" type="array" variable="$galleries_array">
|
1953 |
<type by_reference="false">array</type>
|
1954 |
</tag>
|
1955 |
+
<tag line="3727" name="param" description="the attachment ID to be searched for and processed" type="int" variable="$attachment_id">
|
1956 |
<type by_reference="false">int</type>
|
1957 |
</tag>
|
1958 |
+
<tag line="3727" 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">
|
1959 |
<type by_reference="false">array</type>
|
1960 |
</tag>
|
1961 |
</docblock>
|
1962 |
+
<argument line="3738">
|
1963 |
<name>$galleries_array</name>
|
1964 |
<default><![CDATA[]]></default>
|
1965 |
<type/>
|
1966 |
</argument>
|
1967 |
+
<argument line="3738">
|
1968 |
<name>$attachment_id</name>
|
1969 |
<default><![CDATA[]]></default>
|
1970 |
<type/>
|
1971 |
</argument>
|
1972 |
</method>
|
1973 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3777" package="Media Library Assistant">
|
1974 |
<name>_parse_pdf_xref_subsection</name>
|
1975 |
<full_name>_parse_pdf_xref_subsection</full_name>
|
1976 |
+
<docblock line="3764">
|
1977 |
<description><![CDATA[Parse a cross-reference table subsection into the array of indirect object definitions]]></description>
|
1978 |
<long-description><![CDATA[<p>A cross-reference subsection is a sequence of 20-byte entries, each with offset and generation values.</p>]]></long-description>
|
1979 |
+
<tag line="3764" name="since" description="1.50"/>
|
1980 |
+
<tag line="3764" name="param" description="buffer containing the subsection" type="string" variable="$xref_section">
|
1981 |
<type by_reference="false">string</type>
|
1982 |
</tag>
|
1983 |
+
<tag line="3764" name="param" description="offset within the buffer of the first entry" type="integer" variable="$offset">
|
1984 |
<type by_reference="false">integer</type>
|
1985 |
</tag>
|
1986 |
+
<tag line="3764" name="param" description="number of the first object in the subsection" type="integer" variable="$object_id">
|
1987 |
<type by_reference="false">integer</type>
|
1988 |
</tag>
|
1989 |
+
<tag line="3764" name="param" description="number of entries in the subsection" type="integer" variable="$count">
|
1990 |
<type by_reference="false">integer</type>
|
1991 |
</tag>
|
1992 |
+
<tag line="3764" name="return" description="" type="void">
|
1993 |
<type by_reference="false">void</type>
|
1994 |
</tag>
|
1995 |
</docblock>
|
1996 |
+
<argument line="3777">
|
1997 |
<name>$xref_section</name>
|
1998 |
<default><![CDATA[]]></default>
|
1999 |
<type/>
|
2000 |
</argument>
|
2001 |
+
<argument line="3777">
|
2002 |
<name>$offset</name>
|
2003 |
<default><![CDATA[]]></default>
|
2004 |
<type/>
|
2005 |
</argument>
|
2006 |
+
<argument line="3777">
|
2007 |
<name>$object_id</name>
|
2008 |
<default><![CDATA[]]></default>
|
2009 |
<type/>
|
2010 |
</argument>
|
2011 |
+
<argument line="3777">
|
2012 |
<name>$count</name>
|
2013 |
<default><![CDATA[]]></default>
|
2014 |
<type/>
|
2015 |
</argument>
|
2016 |
</method>
|
2017 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3809" package="Media Library Assistant">
|
2018 |
<name>_parse_pdf_xref_section</name>
|
2019 |
<full_name>_parse_pdf_xref_section</full_name>
|
2020 |
+
<docblock line="3798">
|
2021 |
<description><![CDATA[Parse a cross-reference table section into the array of indirect object definitions]]></description>
|
2022 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
2023 |
+
<tag line="3798" name="since" description="1.50"/>
|
2024 |
+
<tag line="3798" name="param" description="full path and file name" type="string" variable="$file_name">
|
2025 |
<type by_reference="false">string</type>
|
2026 |
</tag>
|
2027 |
+
<tag line="3798" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
|
2028 |
<type by_reference="false">integer</type>
|
2029 |
</tag>
|
2030 |
+
<tag line="3798" name="return" description="length of the section" type="integer">
|
2031 |
<type by_reference="false">integer</type>
|
2032 |
</tag>
|
2033 |
</docblock>
|
2034 |
+
<argument line="3809">
|
2035 |
<name>$file_name</name>
|
2036 |
<default><![CDATA[]]></default>
|
2037 |
<type/>
|
2038 |
</argument>
|
2039 |
+
<argument line="3809">
|
2040 |
<name>$file_offset</name>
|
2041 |
<default><![CDATA[]]></default>
|
2042 |
<type/>
|
2043 |
</argument>
|
2044 |
</method>
|
2045 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3843" package="Media Library Assistant">
|
2046 |
<name>_parse_pdf_xref_stream</name>
|
2047 |
<full_name>_parse_pdf_xref_stream</full_name>
|
2048 |
+
<docblock line="3831">
|
2049 |
<description><![CDATA[Parse a cross-reference steam into the array of indirect object definitions]]></description>
|
2050 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
2051 |
+
<tag line="3831" name="since" description="1.50"/>
|
2052 |
+
<tag line="3831" name="param" description="full path and file name" type="string" variable="$file_name">
|
2053 |
<type by_reference="false">string</type>
|
2054 |
</tag>
|
2055 |
+
<tag line="3831" name="param" description="offset within the file of the xref id and count entry" type="integer" variable="$file_offset">
|
2056 |
<type by_reference="false">integer</type>
|
2057 |
</tag>
|
2058 |
+
<tag line="3831" name="param" description=""/W" entry, representing the size of the fields in a single entry" type="string" variable="$entry_parms_string">
|
2059 |
<type by_reference="false">string</type>
|
2060 |
</tag>
|
2061 |
+
<tag line="3831" name="return" description="length of the stream" type="integer">
|
2062 |
<type by_reference="false">integer</type>
|
2063 |
</tag>
|
2064 |
</docblock>
|
2065 |
+
<argument line="3843">
|
2066 |
<name>$file_name</name>
|
2067 |
<default><![CDATA[]]></default>
|
2068 |
<type/>
|
2069 |
</argument>
|
2070 |
+
<argument line="3843">
|
2071 |
<name>$file_offset</name>
|
2072 |
<default><![CDATA[]]></default>
|
2073 |
<type/>
|
2074 |
</argument>
|
2075 |
+
<argument line="3843">
|
2076 |
<name>$entry_parms_string</name>
|
2077 |
<default><![CDATA[]]></default>
|
2078 |
<type/>
|
2079 |
</argument>
|
2080 |
</method>
|
2081 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3922" package="Media Library Assistant">
|
2082 |
<name>_build_pdf_indirect_objects</name>
|
2083 |
<full_name>_build_pdf_indirect_objects</full_name>
|
2084 |
+
<docblock line="3912">
|
2085 |
<description><![CDATA[Build an array of indirect object definitions]]></description>
|
2086 |
<long-description><![CDATA[<p>Creates the array of indirect object offsets and lengths</p>]]></long-description>
|
2087 |
+
<tag line="3912" name="since" description="1.50"/>
|
2088 |
+
<tag line="3912" name="param" description="The entire PDF document, passsed by reference" type="string" variable="$string">
|
2089 |
<type by_reference="false">string</type>
|
2090 |
</tag>
|
2091 |
+
<tag line="3912" name="return" description="" type="void">
|
2092 |
<type by_reference="false">void</type>
|
2093 |
</tag>
|
2094 |
</docblock>
|
2095 |
+
<argument line="3922">
|
2096 |
<name>$string</name>
|
2097 |
<default><![CDATA[]]></default>
|
2098 |
<type/>
|
2099 |
</argument>
|
2100 |
</method>
|
2101 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3970" package="Media Library Assistant">
|
2102 |
<name>_find_pdf_indirect_dictionary</name>
|
2103 |
<full_name>_find_pdf_indirect_dictionary</full_name>
|
2104 |
+
<docblock line="3956">
|
2105 |
<description><![CDATA[Find the offset, length and contents of an indirect object containing a dictionary]]></description>
|
2106 |
<long-description><![CDATA[<p>The function searches the entire file, if necessary, to find the last/most recent copy of the object.
|
2107 |
This is required because Adobe Acrobat does NOT increment the generation number when it reuses an object.</p>]]></long-description>
|
2108 |
+
<tag line="3956" name="since" description="1.50"/>
|
2109 |
+
<tag line="3956" name="param" description="full path and file name" type="string" variable="$file_name">
|
2110 |
<type by_reference="false">string</type>
|
2111 |
</tag>
|
2112 |
+
<tag line="3956" name="param" description="The object number" type="integer" variable="$object">
|
2113 |
<type by_reference="false">integer</type>
|
2114 |
</tag>
|
2115 |
+
<tag line="3956" name="param" description="The object generation number; default zero (0)" type="integer" variable="$generation">
|
2116 |
<type by_reference="false">integer</type>
|
2117 |
</tag>
|
2118 |
+
<tag line="3956" name="return" description="NULL on failure else array( 'start' => offset in the file, 'length' => object length, 'content' => dictionary contents )" type="mixed">
|
2119 |
<type by_reference="false">mixed</type>
|
2120 |
</tag>
|
2121 |
</docblock>
|
2122 |
+
<argument line="3970">
|
2123 |
<name>$file_name</name>
|
2124 |
<default><![CDATA[]]></default>
|
2125 |
<type/>
|
2126 |
</argument>
|
2127 |
+
<argument line="3970">
|
2128 |
<name>$object</name>
|
2129 |
<default><![CDATA[]]></default>
|
2130 |
<type/>
|
2131 |
</argument>
|
2132 |
+
<argument line="3970">
|
2133 |
<name>$generation</name>
|
2134 |
<default><![CDATA[0]]></default>
|
2135 |
<type/>
|
2136 |
</argument>
|
2137 |
</method>
|
2138 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4067" package="Media Library Assistant">
|
2139 |
<name>_parse_iso8601_date</name>
|
2140 |
<full_name>_parse_iso8601_date</full_name>
|
2141 |
+
<docblock line="4058">
|
2142 |
<description><![CDATA[Parse a ISO 8601 Timestamp]]></description>
|
2143 |
<long-description><![CDATA[]]></long-description>
|
2144 |
+
<tag line="4058" name="since" description="1.50"/>
|
2145 |
+
<tag line="4058" name="param" description="ISO string of the form YYYY-MM-DDTHH:MM:SS-HH:MM (inc time zone)" type="string" variable="$source_string">
|
2146 |
<type by_reference="false">string</type>
|
2147 |
</tag>
|
2148 |
+
<tag line="4058" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
|
2149 |
<type by_reference="false">string</type>
|
2150 |
</tag>
|
2151 |
</docblock>
|
2152 |
+
<argument line="4067">
|
2153 |
<name>$source_string</name>
|
2154 |
<default><![CDATA[]]></default>
|
2155 |
<type/>
|
2156 |
</argument>
|
2157 |
</method>
|
2158 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4090" package="Media Library Assistant">
|
2159 |
<name>_parse_pdf_date</name>
|
2160 |
<full_name>_parse_pdf_date</full_name>
|
2161 |
+
<docblock line="4081">
|
2162 |
<description><![CDATA[Parse a PDF date string]]></description>
|
2163 |
<long-description><![CDATA[]]></long-description>
|
2164 |
+
<tag line="4081" name="since" description="1.50"/>
|
2165 |
+
<tag line="4081" name="param" description="PDF date string of the form D:YYYYMMDDHHmmSSOHH'mm" type="string" variable="$source_string">
|
2166 |
<type by_reference="false">string</type>
|
2167 |
</tag>
|
2168 |
+
<tag line="4081" name="return" description="formatted date string YYYY-MM-DD HH:mm:SS" type="string">
|
2169 |
<type by_reference="false">string</type>
|
2170 |
</tag>
|
2171 |
</docblock>
|
2172 |
+
<argument line="4090">
|
2173 |
<name>$source_string</name>
|
2174 |
<default><![CDATA[]]></default>
|
2175 |
<type/>
|
2176 |
</argument>
|
2177 |
</method>
|
2178 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4113" package="Media Library Assistant">
|
2179 |
<name>_parse_pdf_UTF16BE</name>
|
2180 |
<full_name>_parse_pdf_UTF16BE</full_name>
|
2181 |
+
<docblock line="4104">
|
2182 |
<description><![CDATA[Parse a PDF Unicode (16-bit Big Endian) object]]></description>
|
2183 |
<long-description><![CDATA[]]></long-description>
|
2184 |
+
<tag line="4104" name="since" description="1.50"/>
|
2185 |
+
<tag line="4104" name="param" description="PDF string of 16-bit characters" type="string" variable="$source_string">
|
2186 |
<type by_reference="false">string</type>
|
2187 |
</tag>
|
2188 |
+
<tag line="4104" name="return" description="UTF-8 encoded string" type="string">
|
2189 |
<type by_reference="false">string</type>
|
2190 |
</tag>
|
2191 |
</docblock>
|
2192 |
+
<argument line="4113">
|
2193 |
<name>$source_string</name>
|
2194 |
<default><![CDATA[]]></default>
|
2195 |
<type/>
|
2196 |
</argument>
|
2197 |
</method>
|
2198 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4142" package="Media Library Assistant">
|
2199 |
<name>_parse_pdf_string</name>
|
2200 |
<full_name>_parse_pdf_string</full_name>
|
2201 |
+
<docblock line="4129">
|
2202 |
<description><![CDATA[Parse a PDF string object]]></description>
|
2203 |
<long-description><![CDATA[<p>Returns an array with one dictionary entry. The array also has a '/length' element containing
|
2204 |
the number of bytes occupied by the string in the source string, including the enclosing parentheses.</p>]]></long-description>
|
2205 |
+
<tag line="4129" name="since" description="1.50"/>
|
2206 |
+
<tag line="4129" name="param" description="data within which the string occurs" type="string" variable="$source_string">
|
2207 |
<type by_reference="false">string</type>
|
2208 |
</tag>
|
2209 |
+
<tag line="4129" name="param" description="offset within the source string of the opening '(' character." type="integer" variable="$offset">
|
2210 |
<type by_reference="false">integer</type>
|
2211 |
</tag>
|
2212 |
+
<tag line="4129" name="return" description="( key => array( 'type' => type, 'value' => value, '/length' => length ) ) for the string" type="array">
|
2213 |
<type by_reference="false">array</type>
|
2214 |
</tag>
|
2215 |
</docblock>
|
2216 |
+
<argument line="4142">
|
2217 |
<name>$source_string</name>
|
2218 |
<default><![CDATA[]]></default>
|
2219 |
<type/>
|
2220 |
</argument>
|
2221 |
+
<argument line="4142">
|
2222 |
<name>$offset</name>
|
2223 |
<default><![CDATA[]]></default>
|
2224 |
<type/>
|
2225 |
</argument>
|
2226 |
</method>
|
2227 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4236" package="Media Library Assistant">
|
2228 |
<name>_parse_pdf_LPD_dictionary</name>
|
2229 |
<full_name>_parse_pdf_LPD_dictionary</full_name>
|
2230 |
+
<docblock line="4222">
|
2231 |
<description><![CDATA[Parse a PDF Linearization Parameter Dictionary object]]></description>
|
2232 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
2233 |
indirect (object), name, array, dictionary, stream, and null.
|
2234 |
The array also has a '/length' element containing the number of bytes occupied by the
|
2235 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
2236 |
+
<tag line="4222" name="since" description="1.50"/>
|
2237 |
+
<tag line="4222" name="param" description="data within which the object occurs, typically the start of a PDF document" type="string" variable="$source_string">
|
2238 |
<type by_reference="false">string</type>
|
2239 |
</tag>
|
2240 |
+
<tag line="4222" name="param" description="filesize of the PDF document, for validation purposes, or zero (0) to ignore filesize" type="integer" variable="$filesize">
|
2241 |
<type by_reference="false">integer</type>
|
2242 |
</tag>
|
2243 |
+
<tag line="4222" name="return" description="array of dictionary objects on success, false on failure" type="mixed">
|
2244 |
<type by_reference="false">mixed</type>
|
2245 |
</tag>
|
2246 |
</docblock>
|
2247 |
+
<argument line="4236">
|
2248 |
<name>$source_string</name>
|
2249 |
<default><![CDATA[]]></default>
|
2250 |
<type/>
|
2251 |
</argument>
|
2252 |
+
<argument line="4236">
|
2253 |
<name>$filesize</name>
|
2254 |
<default><![CDATA[]]></default>
|
2255 |
<type/>
|
2256 |
</argument>
|
2257 |
</method>
|
2258 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4261" package="Media Library Assistant">
|
2259 |
<name>_parse_pdf_dictionary</name>
|
2260 |
<full_name>_parse_pdf_dictionary</full_name>
|
2261 |
+
<docblock line="4247">
|
2262 |
<description><![CDATA[Parse a PDF dictionary object]]></description>
|
2263 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
2264 |
indirect (object), name, array, dictionary, stream, and null.
|
2265 |
The array also has a '/length' element containing the number of bytes occupied by the
|
2266 |
dictionary in the source string, excluding the enclosing delimiters.</p>]]></long-description>
|
2267 |
+
<tag line="4247" name="since" description="1.50"/>
|
2268 |
+
<tag line="4247" name="param" description="data within which the string occurs" type="string" variable="$source_string">
|
2269 |
<type by_reference="false">string</type>
|
2270 |
</tag>
|
2271 |
+
<tag line="4247" name="param" description="offset within the source string of the opening '<<' characters or the first content character." type="integer" variable="$offset">
|
2272 |
<type by_reference="false">integer</type>
|
2273 |
</tag>
|
2274 |
+
<tag line="4247" name="return" description="( '/length' => length, key => array( 'type' => type, 'value' => value ) ) for each dictionary field" type="array">
|
2275 |
<type by_reference="false">array</type>
|
2276 |
</tag>
|
2277 |
</docblock>
|
2278 |
+
<argument line="4261">
|
2279 |
<name>$source_string</name>
|
2280 |
<default><![CDATA[]]></default>
|
2281 |
<type/>
|
2282 |
</argument>
|
2283 |
+
<argument line="4261">
|
2284 |
<name>$offset</name>
|
2285 |
<default><![CDATA[]]></default>
|
2286 |
<type/>
|
2287 |
</argument>
|
2288 |
</method>
|
2289 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4393" package="Media Library Assistant">
|
2290 |
<name>_parse_xmp_metadata</name>
|
2291 |
<full_name>_parse_xmp_metadata</full_name>
|
2292 |
+
<docblock line="4379">
|
2293 |
<description><![CDATA[Parse an XMP object]]></description>
|
2294 |
<long-description><![CDATA[<p>Returns an array of dictionary contents, classified by object type: boolean, numeric, string, hex (string),
|
2295 |
indirect (object), name, array, dictionary, stream, and null.
|
2296 |
The array also has a '/length' element containing the number of bytes occupied by the
|
2297 |
dictionary in the source string, excluding the enclosing delimiters, if passed in.</p>]]></long-description>
|
2298 |
+
<tag line="4379" name="since" description="1.50"/>
|
2299 |
+
<tag line="4379" name="param" description="full path and file name" type="string" variable="$file_name">
|
2300 |
<type by_reference="false">string</type>
|
2301 |
</tag>
|
2302 |
+
<tag line="4379" name="param" description="offset within the file of the search start point" type="integer" variable="$file_offset">
|
2303 |
<type by_reference="false">integer</type>
|
2304 |
</tag>
|
2305 |
+
<tag line="4379" name="return" description="array of metadata values or NULL on failure" type="mixed">
|
2306 |
<type by_reference="false">mixed</type>
|
2307 |
</tag>
|
2308 |
</docblock>
|
2309 |
+
<argument line="4393">
|
2310 |
<name>$file_name</name>
|
2311 |
<default><![CDATA[]]></default>
|
2312 |
<type/>
|
2313 |
</argument>
|
2314 |
+
<argument line="4393">
|
2315 |
<name>$file_offset</name>
|
2316 |
<default><![CDATA[]]></default>
|
2317 |
<type/>
|
2318 |
</argument>
|
2319 |
</method>
|
2320 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4682" package="Media Library Assistant">
|
2321 |
<name>_extract_pdf_trailer</name>
|
2322 |
<full_name>_extract_pdf_trailer</full_name>
|
2323 |
+
<docblock line="4672">
|
2324 |
<description><![CDATA[Extract dictionary from traditional cross-reference + trailer documents]]></description>
|
2325 |
<long-description><![CDATA[]]></long-description>
|
2326 |
+
<tag line="4672" name="since" description="1.50"/>
|
2327 |
+
<tag line="4672" name="param" description="full path to the desired file" type="string" variable="$file_name">
|
2328 |
<type by_reference="false">string</type>
|
2329 |
</tag>
|
2330 |
+
<tag line="4672" name="param" description="offset within file of the cross-reference table" type="integer" variable="$file_offset">
|
2331 |
<type by_reference="false">integer</type>
|
2332 |
</tag>
|
2333 |
+
<tag line="4672" name="return" description="array of "PDF dictionary arrays", newest first, or NULL on failure" type="mixed">
|
2334 |
<type by_reference="false">mixed</type>
|
2335 |
</tag>
|
2336 |
</docblock>
|
2337 |
+
<argument line="4682">
|
2338 |
<name>$file_name</name>
|
2339 |
<default><![CDATA[]]></default>
|
2340 |
<type/>
|
2341 |
</argument>
|
2342 |
+
<argument line="4682">
|
2343 |
<name>$file_offset</name>
|
2344 |
<default><![CDATA[]]></default>
|
2345 |
<type/>
|
2346 |
</argument>
|
2347 |
</method>
|
2348 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4768" package="Media Library Assistant">
|
2349 |
<name>_extract_pdf_metadata</name>
|
2350 |
<full_name>_extract_pdf_metadata</full_name>
|
2351 |
+
<docblock line="4759">
|
2352 |
<description><![CDATA[Extract Metadata from a PDF file]]></description>
|
2353 |
<long-description><![CDATA[]]></long-description>
|
2354 |
+
<tag line="4759" name="since" description="1.50"/>
|
2355 |
+
<tag line="4759" name="param" description="full path to the desired file" type="string" variable="$file_name">
|
2356 |
<type by_reference="false">string</type>
|
2357 |
</tag>
|
2358 |
+
<tag line="4759" name="return" description="( key => value ) for each metadata field, in string format" type="array">
|
2359 |
<type by_reference="false">array</type>
|
2360 |
</tag>
|
2361 |
</docblock>
|
2362 |
+
<argument line="4768">
|
2363 |
<name>$file_name</name>
|
2364 |
<default><![CDATA[]]></default>
|
2365 |
<type/>
|
2366 |
</argument>
|
2367 |
</method>
|
2368 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4901" package="Media Library Assistant">
|
2369 |
<name>_bin_to_utf8</name>
|
2370 |
<full_name>_bin_to_utf8</full_name>
|
2371 |
+
<docblock line="4892">
|
2372 |
<description><![CDATA[Replace SQL incorrect characters (0x80 - 0xFF) with their UTF-8 equivalents]]></description>
|
2373 |
<long-description><![CDATA[]]></long-description>
|
2374 |
+
<tag line="4892" name="since" description="1.41"/>
|
2375 |
+
<tag line="4892" name="param" description="unencoded string" type="string" variable="$string">
|
2376 |
<type by_reference="false">string</type>
|
2377 |
</tag>
|
2378 |
+
<tag line="4892" name="return" description="UTF-8 encoded string" type="string">
|
2379 |
<type by_reference="false">string</type>
|
2380 |
</tag>
|
2381 |
</docblock>
|
2382 |
+
<argument line="4901">
|
2383 |
<name>$string</name>
|
2384 |
<default><![CDATA[]]></default>
|
2385 |
<type/>
|
2386 |
</argument>
|
2387 |
</method>
|
2388 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5299" package="Media Library Assistant">
|
2389 |
<name>mla_iptc_metadata_value</name>
|
2390 |
<full_name>mla_iptc_metadata_value</full_name>
|
2391 |
+
<docblock line="5289">
|
2392 |
<description><![CDATA[Parse one IPTC metadata field]]></description>
|
2393 |
<long-description><![CDATA[]]></long-description>
|
2394 |
+
<tag line="5289" name="since" description="1.41"/>
|
2395 |
+
<tag line="5289" name="param" description="field name - IPTC Identifier or friendly name/slug" type="string" variable="$iptc_key">
|
2396 |
<type by_reference="false">string</type>
|
2397 |
</tag>
|
2398 |
+
<tag line="5289" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
|
2399 |
<type by_reference="false">string</type>
|
2400 |
</tag>
|
2401 |
+
<tag line="5289" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
|
2402 |
<type by_reference="false">mixed</type>
|
2403 |
</tag>
|
2404 |
</docblock>
|
2405 |
+
<argument line="5299">
|
2406 |
<name>$iptc_key</name>
|
2407 |
<default><![CDATA[]]></default>
|
2408 |
<type/>
|
2409 |
</argument>
|
2410 |
+
<argument line="5299">
|
2411 |
<name>$item_metadata</name>
|
2412 |
<default><![CDATA[]]></default>
|
2413 |
<type/>
|
2414 |
</argument>
|
2415 |
</method>
|
2416 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5347" package="Media Library Assistant">
|
2417 |
<name>mla_exif_metadata_value</name>
|
2418 |
<full_name>mla_exif_metadata_value</full_name>
|
2419 |
+
<docblock line="5335">
|
2420 |
<description><![CDATA[Parse one EXIF metadata field]]></description>
|
2421 |
<long-description><![CDATA[<p>Also handles the special pseudo-values 'ALL_EXIF' and 'ALL_IPTC'.</p>]]></long-description>
|
2422 |
+
<tag line="5335" name="since" description="1.13"/>
|
2423 |
+
<tag line="5335" name="param" description="field name" type="string" variable="$exif_key">
|
2424 |
<type by_reference="false">string</type>
|
2425 |
</tag>
|
2426 |
+
<tag line="5335" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
|
2427 |
<type by_reference="false">string</type>
|
2428 |
</tag>
|
2429 |
+
<tag line="5335" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
|
2430 |
<type by_reference="false">mixed</type>
|
2431 |
</tag>
|
2432 |
</docblock>
|
2433 |
+
<argument line="5347">
|
2434 |
<name>$exif_key</name>
|
2435 |
<default><![CDATA[]]></default>
|
2436 |
<type/>
|
2437 |
</argument>
|
2438 |
+
<argument line="5347">
|
2439 |
<name>$item_metadata</name>
|
2440 |
<default><![CDATA[]]></default>
|
2441 |
<type/>
|
2442 |
</argument>
|
2443 |
</method>
|
2444 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5408" package="Media Library Assistant">
|
2445 |
<name>mla_pdf_metadata_value</name>
|
2446 |
<full_name>mla_pdf_metadata_value</full_name>
|
2447 |
+
<docblock line="5396">
|
2448 |
<description><![CDATA[Parse one PDF metadata field]]></description>
|
2449 |
<long-description><![CDATA[<p>Also handles the special pseudo-value 'ALL_PDF'.</p>]]></long-description>
|
2450 |
+
<tag line="5396" name="since" description="1.50"/>
|
2451 |
+
<tag line="5396" name="param" description="field name" type="string" variable="$pdf_key">
|
2452 |
<type by_reference="false">string</type>
|
2453 |
</tag>
|
2454 |
+
<tag line="5396" name="param" description="metadata array containing iptc, exif, and pdf metadata arrays" type="string" variable="$item_metadata">
|
2455 |
<type by_reference="false">string</type>
|
2456 |
</tag>
|
2457 |
+
<tag line="5396" name="return" description="string/array representation of metadata value or an empty string" type="mixed">
|
2458 |
<type by_reference="false">mixed</type>
|
2459 |
</tag>
|
2460 |
</docblock>
|
2461 |
+
<argument line="5408">
|
2462 |
<name>$pdf_key</name>
|
2463 |
<default><![CDATA[]]></default>
|
2464 |
<type/>
|
2465 |
</argument>
|
2466 |
+
<argument line="5408">
|
2467 |
<name>$item_metadata</name>
|
2468 |
<default><![CDATA[]]></default>
|
2469 |
<type/>
|
2470 |
</argument>
|
2471 |
</method>
|
2472 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5450" package="Media Library Assistant">
|
2473 |
<name>_rational_to_decimal</name>
|
2474 |
<full_name>_rational_to_decimal</full_name>
|
2475 |
+
<docblock line="5441">
|
2476 |
<description><![CDATA[Convert an EXIF GPS rational value to a PHP float value]]></description>
|
2477 |
<long-description><![CDATA[]]></long-description>
|
2478 |
+
<tag line="5441" name="since" description="1.50"/>
|
2479 |
+
<tag line="5441" name="param" description="array( 0 => numerator, 1 => denominator )" type="array" variable="$rational">
|
2480 |
<type by_reference="false">array</type>
|
2481 |
</tag>
|
2482 |
+
<tag line="5441" name="return" description="numerator/denominator" type="float">
|
2483 |
<type by_reference="false">float</type>
|
2484 |
</tag>
|
2485 |
</docblock>
|
2486 |
+
<argument line="5450">
|
2487 |
+
<name>$rational</name>
|
2488 |
+
<default><![CDATA[]]></default>
|
2489 |
+
<type/>
|
2490 |
+
</argument>
|
2491 |
+
</method>
|
2492 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="5467" package="Media Library Assistant">
|
2493 |
+
<name>_rational_to_string</name>
|
2494 |
+
<full_name>_rational_to_string</full_name>
|
2495 |
+
<docblock line="5455">
|
2496 |
+
<description><![CDATA[Convert an EXIF rational value to a formatted string]]></description>
|
2497 |
+
<long-description><![CDATA[]]></long-description>
|
2498 |
+
<tag line="5455" name="since" description="2.02"/>
|
2499 |
+
<tag line="5455" name="param" description="numerator/denominator" type="string" variable="$rational">
|
2500 |
+
<type by_reference="false">string</type>
|
2501 |
+
</tag>
|
2502 |
+
<tag line="5455" name="param" description="format for integer values" type="string" variable="$integer_format">
|
2503 |
+
<type by_reference="false">string</type>
|
2504 |
+
</tag>
|
2505 |
+
<tag line="5455" name="param" description="format for fractional values from -1 to +1" type="string" variable="$fraction_format">
|
2506 |
+
<type by_reference="false">string</type>
|
2507 |
+
</tag>
|
2508 |
+
<tag line="5455" name="param" description="format for integer.fraction values" type="string" variable="$mixed_format">
|
2509 |
+
<type by_reference="false">string</type>
|
2510 |
+
</tag>
|
2511 |
+
<tag line="5455" name="return" description="formatted value or boolean false if no value available" type="mixed">
|
2512 |
+
<type by_reference="false">mixed</type>
|
2513 |
+
</tag>
|
2514 |
+
</docblock>
|
2515 |
+
<argument line="5467">
|
2516 |
<name>$rational</name>
|
2517 |
<default><![CDATA[]]></default>
|
2518 |
<type/>
|
2519 |
</argument>
|
2520 |
+
<argument line="5467">
|
2521 |
+
<name>$integer_format</name>
|
2522 |
+
<default><![CDATA[]]></default>
|
2523 |
+
<type/>
|
2524 |
+
</argument>
|
2525 |
+
<argument line="5467">
|
2526 |
+
<name>$fraction_format</name>
|
2527 |
+
<default><![CDATA[]]></default>
|
2528 |
+
<type/>
|
2529 |
+
</argument>
|
2530 |
+
<argument line="5467">
|
2531 |
+
<name>$mixed_format</name>
|
2532 |
+
<default><![CDATA[]]></default>
|
2533 |
+
<type/>
|
2534 |
+
</argument>
|
2535 |
</method>
|
2536 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5518" package="Media Library Assistant">
|
2537 |
<name>mla_IPTC_EXIF_error_handler</name>
|
2538 |
<full_name>mla_IPTC_EXIF_error_handler</full_name>
|
2539 |
+
<docblock line="5506">
|
2540 |
<description><![CDATA[Intercept IPTC and EXIF parse errors]]></description>
|
2541 |
<long-description><![CDATA[]]></long-description>
|
2542 |
+
<tag line="5506" name="since" description="1.81"/>
|
2543 |
+
<tag line="5506" name="param" description="the level of the error raised" type="int" variable="$type">
|
2544 |
<type by_reference="false">int</type>
|
2545 |
</tag>
|
2546 |
+
<tag line="5506" name="param" description="the error message" type="string" variable="$string">
|
2547 |
<type by_reference="false">string</type>
|
2548 |
</tag>
|
2549 |
+
<tag line="5506" name="param" description="the filename that the error was raised in" type="string" variable="$file">
|
2550 |
<type by_reference="false">string</type>
|
2551 |
</tag>
|
2552 |
+
<tag line="5506" name="param" description="the line number the error was raised at" type="int" variable="$line">
|
2553 |
<type by_reference="false">int</type>
|
2554 |
</tag>
|
2555 |
+
<tag line="5506" name="return" description="true, to bypass PHP error handler" type="boolean">
|
2556 |
<type by_reference="false">boolean</type>
|
2557 |
</tag>
|
2558 |
</docblock>
|
2559 |
+
<argument line="5518">
|
2560 |
<name>$type</name>
|
2561 |
<default><![CDATA[]]></default>
|
2562 |
<type/>
|
2563 |
</argument>
|
2564 |
+
<argument line="5518">
|
2565 |
<name>$string</name>
|
2566 |
<default><![CDATA[]]></default>
|
2567 |
<type/>
|
2568 |
</argument>
|
2569 |
+
<argument line="5518">
|
2570 |
<name>$file</name>
|
2571 |
<default><![CDATA[]]></default>
|
2572 |
<type/>
|
2573 |
</argument>
|
2574 |
+
<argument line="5518">
|
2575 |
<name>$line</name>
|
2576 |
<default><![CDATA[]]></default>
|
2577 |
<type/>
|
2578 |
</argument>
|
2579 |
</method>
|
2580 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5556" package="Media Library Assistant">
|
2581 |
<name>mla_fetch_attachment_image_metadata</name>
|
2582 |
<full_name>mla_fetch_attachment_image_metadata</full_name>
|
2583 |
+
<docblock line="5546">
|
2584 |
<description><![CDATA[Fetch and filter IPTC and EXIF or PDF metadata for an image attachment]]></description>
|
2585 |
<long-description><![CDATA[]]></long-description>
|
2586 |
+
<tag line="5546" name="since" description="0.90"/>
|
2587 |
+
<tag line="5546" name="param" description="post ID of attachment" type="int" variable="$post_id">
|
2588 |
<type by_reference="false">int</type>
|
2589 |
</tag>
|
2590 |
+
<tag line="5546" name="param" description="optional; if $post_id is zero, path to the image file." type="string" variable="$path">
|
2591 |
<type by_reference="false">string</type>
|
2592 |
</tag>
|
2593 |
+
<tag line="5546" name="return" description="Meta data variables, IPTC and EXIF or PDF" type="array">
|
2594 |
<type by_reference="false">array</type>
|
2595 |
</tag>
|
2596 |
</docblock>
|
2597 |
+
<argument line="5556">
|
2598 |
<name>$post_id</name>
|
2599 |
<default><![CDATA[]]></default>
|
2600 |
<type/>
|
2601 |
</argument>
|
2602 |
+
<argument line="5556">
|
2603 |
<name>$path</name>
|
2604 |
<default><![CDATA['']]></default>
|
2605 |
<type/>
|
2606 |
</argument>
|
2607 |
</method>
|
2608 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5896" package="Media Library Assistant">
|
2609 |
<name>mla_update_wp_attachment_metadata</name>
|
2610 |
<full_name>mla_update_wp_attachment_metadata</full_name>
|
2611 |
+
<docblock line="5886">
|
2612 |
<description><![CDATA[Update "meta:" data for a single attachment]]></description>
|
2613 |
<long-description><![CDATA[]]></long-description>
|
2614 |
+
<tag line="5886" name="since" description="1.51"/>
|
2615 |
+
<tag line="5886" name="param" description="The current wp_attachment_metadata value" type="array" variable="$current_values">
|
2616 |
<type by_reference="false">array</type>
|
2617 |
</tag>
|
2618 |
+
<tag line="5886" name="param" description="Field name => value pairs" type="array" variable="$new_meta">
|
2619 |
<type by_reference="false">array</type>
|
2620 |
</tag>
|
2621 |
+
<tag line="5886" name="return" description="success/failure message(s); empty string if no changes." type="string">
|
2622 |
<type by_reference="false">string</type>
|
2623 |
</tag>
|
2624 |
</docblock>
|
2625 |
+
<argument line="5896">
|
2626 |
<name>$current_values</name>
|
2627 |
<default><![CDATA[]]></default>
|
2628 |
<type/>
|
2629 |
</argument>
|
2630 |
+
<argument line="5896">
|
2631 |
<name>$new_meta</name>
|
2632 |
<default><![CDATA[]]></default>
|
2633 |
<type/>
|
2634 |
</argument>
|
2635 |
</method>
|
2636 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="5980" package="Media Library Assistant">
|
2637 |
<name>mla_update_item_postmeta</name>
|
2638 |
<full_name>mla_update_item_postmeta</full_name>
|
2639 |
+
<docblock line="5970">
|
2640 |
<description><![CDATA[Update custom field and "meta:" data for a single attachment]]></description>
|
2641 |
<long-description><![CDATA[]]></long-description>
|
2642 |
+
<tag line="5970" name="since" description="1.40"/>
|
2643 |
+
<tag line="5970" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
|
2644 |
<type by_reference="false">int</type>
|
2645 |
</tag>
|
2646 |
+
<tag line="5970" name="param" description="Field name => value pairs" type="array" variable="$new_meta">
|
2647 |
<type by_reference="false">array</type>
|
2648 |
</tag>
|
2649 |
+
<tag line="5970" name="return" description="success/failure message(s)" type="string">
|
2650 |
<type by_reference="false">string</type>
|
2651 |
</tag>
|
2652 |
</docblock>
|
2653 |
+
<argument line="5980">
|
2654 |
<name>$post_id</name>
|
2655 |
<default><![CDATA[]]></default>
|
2656 |
<type/>
|
2657 |
</argument>
|
2658 |
+
<argument line="5980">
|
2659 |
<name>$new_meta</name>
|
2660 |
<default><![CDATA[]]></default>
|
2661 |
<type/>
|
2662 |
</argument>
|
2663 |
</method>
|
2664 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="6147" package="Media Library Assistant">
|
2665 |
<name>mla_update_single_item</name>
|
2666 |
<full_name>mla_update_single_item</full_name>
|
2667 |
+
<docblock line="6134">
|
2668 |
<description><![CDATA[Update a single item; change the "post" data, taxonomy terms
|
2669 |
and meta data for a single attachment]]></description>
|
2670 |
<long-description><![CDATA[]]></long-description>
|
2671 |
+
<tag line="6134" name="since" description="0.1"/>
|
2672 |
+
<tag line="6134" name="param" description="The ID of the attachment to be updated" type="int" variable="$post_id">
|
2673 |
<type by_reference="false">int</type>
|
2674 |
</tag>
|
2675 |
+
<tag line="6134" name="param" description="Field name => value pairs" type="array" variable="$new_data">
|
2676 |
<type by_reference="false">array</type>
|
2677 |
</tag>
|
2678 |
+
<tag line="6134" name="param" description="Optional taxonomy term values, default null" type="array" variable="$tax_input">
|
2679 |
<type by_reference="false">array</type>
|
2680 |
</tag>
|
2681 |
+
<tag line="6134" name="param" description="Optional taxonomy actions (add, remove, replace), default null" type="array" variable="$tax_actions">
|
2682 |
<type by_reference="false">array</type>
|
2683 |
</tag>
|
2684 |
+
<tag line="6134" name="return" description="success/failure message and NULL content" type="array">
|
2685 |
<type by_reference="false">array</type>
|
2686 |
</tag>
|
2687 |
</docblock>
|
2688 |
+
<argument line="6147">
|
2689 |
<name>$post_id</name>
|
2690 |
<default><![CDATA[]]></default>
|
2691 |
<type/>
|
2692 |
</argument>
|
2693 |
+
<argument line="6147">
|
2694 |
<name>$new_data</name>
|
2695 |
<default><![CDATA[]]></default>
|
2696 |
<type/>
|
2697 |
</argument>
|
2698 |
+
<argument line="6147">
|
2699 |
<name>$tax_input</name>
|
2700 |
<default><![CDATA[NULL]]></default>
|
2701 |
<type/>
|
2702 |
</argument>
|
2703 |
+
<argument line="6147">
|
2704 |
<name>$tax_actions</name>
|
2705 |
<default><![CDATA[NULL]]></default>
|
2706 |
<type/>
|
2707 |
</argument>
|
2708 |
</method>
|
2709 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="6429" package="Media Library Assistant">
|
2710 |
<name>_remove_terms</name>
|
2711 |
<full_name>_remove_terms</full_name>
|
2712 |
+
<docblock line="6418">
|
2713 |
<description><![CDATA[Remove terms from an attachment's assignments]]></description>
|
2714 |
<long-description><![CDATA[]]></long-description>
|
2715 |
+
<tag line="6418" name="since" description="0.40"/>
|
2716 |
+
<tag line="6418" name="param" description="The ID of the attachment to be updated" type="integer" variable="$post_id">
|
2717 |
<type by_reference="false">integer</type>
|
2718 |
</tag>
|
2719 |
+
<tag line="6418" name="param" description="The term ids (integer array) or names (string array) to remove" type="array" variable="$terms">
|
2720 |
<type by_reference="false">array</type>
|
2721 |
</tag>
|
2722 |
+
<tag line="6418" name="param" description="The taxonomy object" type="object" variable="$taxonomy_obj">
|
2723 |
<type by_reference="false">object</type>
|
2724 |
</tag>
|
2725 |
+
<tag line="6418" name="return" description="Term ids/names of the surviving terms" type="array">
|
2726 |
<type by_reference="false">array</type>
|
2727 |
</tag>
|
2728 |
</docblock>
|
2729 |
+
<argument line="6429">
|
2730 |
<name>$post_id</name>
|
2731 |
<default><![CDATA[]]></default>
|
2732 |
<type/>
|
2733 |
</argument>
|
2734 |
+
<argument line="6429">
|
2735 |
<name>$terms</name>
|
2736 |
<default><![CDATA[]]></default>
|
2737 |
<type/>
|
2738 |
</argument>
|
2739 |
+
<argument line="6429">
|
2740 |
<name>$taxonomy_obj</name>
|
2741 |
<default><![CDATA[]]></default>
|
2742 |
<type/>
|
2743 |
</argument>
|
2744 |
</method>
|
2745 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="6480" package="Media Library Assistant">
|
2746 |
<name>_hex_dump</name>
|
2747 |
<full_name>_hex_dump</full_name>
|
2748 |
+
<docblock line="6468">
|
2749 |
<description><![CDATA[Format printable version of binary data]]></description>
|
2750 |
<long-description><![CDATA[]]></long-description>
|
2751 |
+
<tag line="6468" name="since" description="0.90"/>
|
2752 |
+
<tag line="6468" name="param" description="Binary data" type="string" variable="$data">
|
2753 |
<type by_reference="false">string</type>
|
2754 |
</tag>
|
2755 |
+
<tag line="6468" name="param" description="Bytes to format, default = 0 (all bytes)" type="integer" variable="$limit">
|
2756 |
<type by_reference="false">integer</type>
|
2757 |
</tag>
|
2758 |
+
<tag line="6468" name="param" description="Bytes to format on each line" type="\intger" variable="$bytes_per_row">
|
2759 |
<type by_reference="false">\intger</type>
|
2760 |
</tag>
|
2761 |
+
<tag line="6468" name="param" description="offset of initial byte, or -1 to suppress printing offset information" type="integer" variable="$offset">
|
2762 |
<type by_reference="false">integer</type>
|
2763 |
</tag>
|
2764 |
+
<tag line="6468" name="return" description="Printable representation of $data" type="string">
|
2765 |
<type by_reference="false">string</type>
|
2766 |
</tag>
|
2767 |
</docblock>
|
2768 |
+
<argument line="6480">
|
2769 |
<name>$data</name>
|
2770 |
<default><![CDATA[]]></default>
|
2771 |
<type/>
|
2772 |
</argument>
|
2773 |
+
<argument line="6480">
|
2774 |
<name>$limit</name>
|
2775 |
<default><![CDATA[0]]></default>
|
2776 |
<type/>
|
2777 |
</argument>
|
2778 |
+
<argument line="6480">
|
2779 |
<name>$bytes_per_row</name>
|
2780 |
<default><![CDATA[16]]></default>
|
2781 |
<type/>
|
2782 |
</argument>
|
2783 |
+
<argument line="6480">
|
2784 |
<name>$offset</name>
|
2785 |
<default><![CDATA[-1]]></default>
|
2786 |
<type/>
|
2788 |
</method>
|
2789 |
</class>
|
2790 |
<markers>
|
2791 |
+
<todo line="4122">encode the rest</todo>
|
2792 |
</markers>
|
2793 |
</file>
|
2794 |
+
<file path="includes\class-mla-edit-media.php" hash="0b17ee9679ca929c7bce3754cf9e63ea" package="Media Library Assistant">
|
2795 |
<docblock line="2">
|
2796 |
<description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
|
2797 |
<long-description><![CDATA[]]></long-description>
|
2847 |
</tag>
|
2848 |
</docblock>
|
2849 |
</constant>
|
2850 |
+
<property final="false" static="true" visibility="private" line="680" namespace="global" package="Media Library Assistant">
|
2851 |
<name>$mla_references</name>
|
2852 |
<default><![CDATA[null]]></default>
|
2853 |
+
<docblock line="670">
|
2854 |
<description><![CDATA[Where-used values for the current item]]></description>
|
2855 |
<long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
|
2856 |
The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
|
2857 |
+
<tag line="670" name="since" description="0.80"/>
|
2858 |
+
<tag line="670" name="var" description="" type="array">
|
2859 |
<type by_reference="false">array</type>
|
2860 |
</tag>
|
2861 |
</docblock>
|
2884 |
</tag>
|
2885 |
</docblock>
|
2886 |
</method>
|
2887 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="151" package="Media Library Assistant">
|
2888 |
<name>mla_admin_enqueue_scripts_action</name>
|
2889 |
<full_name>mla_admin_enqueue_scripts_action</full_name>
|
2890 |
+
<docblock line="142">
|
2891 |
<description><![CDATA[Load the plugin's Style Sheet and Javascript files]]></description>
|
2892 |
<long-description><![CDATA[]]></long-description>
|
2893 |
+
<tag line="142" name="since" description="1.71"/>
|
2894 |
+
<tag line="142" name="param" description="Name of the page being loaded" type="string" variable="$page_hook">
|
2895 |
<type by_reference="false">string</type>
|
2896 |
</tag>
|
2897 |
+
<tag line="142" name="return" description="" type="void">
|
2898 |
<type by_reference="false">void</type>
|
2899 |
</tag>
|
2900 |
</docblock>
|
2901 |
+
<argument line="151">
|
2902 |
<name>$page_hook</name>
|
2903 |
<default><![CDATA[]]></default>
|
2904 |
<type/>
|
2905 |
</argument>
|
2906 |
</method>
|
2907 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="240" package="Media Library Assistant">
|
2908 |
+
<name>mla_upload_post_params</name>
|
2909 |
+
<full_name>mla_upload_post_params</full_name>
|
2910 |
+
<docblock line="233">
|
2911 |
+
<description><![CDATA[Filter the Media/Add New post parameters.]]></description>
|
2912 |
+
<long-description><![CDATA[]]></long-description>
|
2913 |
+
<tag line="233" name="since" description="2.02"/>
|
2914 |
+
<tag line="233" name="param" description="An array of media upload parameters used by Plupload." type="array" variable="$post_parms">
|
2915 |
+
<type by_reference="false">array</type>
|
2916 |
+
</tag>
|
2917 |
+
</docblock>
|
2918 |
+
<argument line="240">
|
2919 |
+
<name>$post_parms</name>
|
2920 |
+
<default><![CDATA[]]></default>
|
2921 |
+
<type/>
|
2922 |
+
</argument>
|
2923 |
+
</method>
|
2924 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="263" package="Media Library Assistant">
|
2925 |
+
<name>mla_post_upload_ui</name>
|
2926 |
+
<full_name>mla_post_upload_ui</full_name>
|
2927 |
+
<docblock line="253">
|
2928 |
+
<description><![CDATA[Echoes bulk edit area HTML to the Media/Add New screen]]></description>
|
2929 |
+
<long-description><![CDATA[<p>Fires on the post upload UI screen; legacy (pre-3.5.0) upload interface.
|
2930 |
+
Anything echoed here goes below the "Maximum upload file size" message
|
2931 |
+
and above the id="media-items" div.</p>]]></long-description>
|
2932 |
+
<tag line="253" name="since" description="2.02"/>
|
2933 |
+
</docblock>
|
2934 |
+
</method>
|
2935 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="428" package="Media Library Assistant">
|
2936 |
+
<name>mla_update_attachment_metadata_postfilter</name>
|
2937 |
+
<full_name>mla_update_attachment_metadata_postfilter</full_name>
|
2938 |
+
<docblock line="414">
|
2939 |
+
<description><![CDATA[Apply Media/Add New bulk edit area updates, if any]]></description>
|
2940 |
+
<long-description><![CDATA[<p>This filter is called AFTER MLA mapping rules are applied during
|
2941 |
+
wp_update_attachment_metadata() processing.</p>]]></long-description>
|
2942 |
+
<tag line="414" name="since" description="2.02"/>
|
2943 |
+
<tag line="414" name="param" description="attachment metadata" type="array" variable="$data">
|
2944 |
+
<type by_reference="false">array</type>
|
2945 |
+
</tag>
|
2946 |
+
<tag line="414" name="param" description="The Post ID of the new/updated attachment" type="integer" variable="$post_id">
|
2947 |
+
<type by_reference="false">integer</type>
|
2948 |
+
</tag>
|
2949 |
+
<tag line="414" name="param" description="Processing options, e.g., 'is_upload'" type="array" variable="$options">
|
2950 |
+
<type by_reference="false">array</type>
|
2951 |
+
</tag>
|
2952 |
+
<tag line="414" name="return" description="updated attachment metadata" type="array">
|
2953 |
+
<type by_reference="false">array</type>
|
2954 |
+
</tag>
|
2955 |
+
</docblock>
|
2956 |
+
<argument line="428">
|
2957 |
+
<name>$data</name>
|
2958 |
+
<default><![CDATA[]]></default>
|
2959 |
+
<type/>
|
2960 |
+
</argument>
|
2961 |
+
<argument line="428">
|
2962 |
+
<name>$post_id</name>
|
2963 |
+
<default><![CDATA[]]></default>
|
2964 |
+
<type/>
|
2965 |
+
</argument>
|
2966 |
+
<argument line="428">
|
2967 |
+
<name>$options</name>
|
2968 |
+
<default><![CDATA[]]></default>
|
2969 |
+
<type/>
|
2970 |
+
</argument>
|
2971 |
+
</method>
|
2972 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="480" package="Media Library Assistant">
|
2973 |
<name>mla_post_updated_messages_filter</name>
|
2974 |
<full_name>mla_post_updated_messages_filter</full_name>
|
2975 |
+
<docblock line="470">
|
2976 |
<description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
|
2977 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
2978 |
+
<tag line="470" name="since" description="1.10"/>
|
2979 |
+
<tag line="470" name="param" description="messages for the Edit screen" type="array" variable="$messages">
|
2980 |
<type by_reference="false">array</type>
|
2981 |
</tag>
|
2982 |
+
<tag line="470" name="return" description="updated messages" type="array">
|
2983 |
<type by_reference="false">array</type>
|
2984 |
</tag>
|
2985 |
</docblock>
|
2986 |
+
<argument line="480">
|
2987 |
<name>$messages</name>
|
2988 |
<default><![CDATA[]]></default>
|
2989 |
<type/>
|
2990 |
</argument>
|
2991 |
</method>
|
2992 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="497" package="Media Library Assistant">
|
2993 |
<name>mla_attachment_submitbox_action</name>
|
2994 |
<full_name>mla_attachment_submitbox_action</full_name>
|
2995 |
+
<docblock line="489">
|
2996 |
<description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
|
2997 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2998 |
+
<tag line="489" name="since" description="0.80"/>
|
2999 |
+
<tag line="489" name="return" description="echoes the HTML markup for the label and value" type="void">
|
3000 |
<type by_reference="false">void</type>
|
3001 |
</tag>
|
3002 |
</docblock>
|
3003 |
</method>
|
3004 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="533" package="Media Library Assistant">
|
3005 |
<name>mla_add_meta_boxes_action</name>
|
3006 |
<full_name>mla_add_meta_boxes_action</full_name>
|
3007 |
+
<docblock line="522">
|
3008 |
<description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
|
3009 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
3010 |
+
<tag line="522" name="since" description="0.80"/>
|
3011 |
+
<tag line="522" name="param" description="type of the current post, e.g., 'attachment' (optional, default 'unknown')" type="string" variable="$post_type">
|
3012 |
<type by_reference="false">string</type>
|
3013 |
</tag>
|
3014 |
+
<tag line="522" name="param" description="current post (optional, default (object) array ( 'ID' => 0 ))" type="object" variable="$post">
|
3015 |
<type by_reference="false">object</type>
|
3016 |
</tag>
|
3017 |
+
<tag line="522" name="return" description="" type="void">
|
3018 |
<type by_reference="false">void</type>
|
3019 |
</tag>
|
3020 |
</docblock>
|
3021 |
+
<argument line="533">
|
3022 |
<name>$post_type</name>
|
3023 |
<default><![CDATA['unknown']]></default>
|
3024 |
<type/>
|
3025 |
</argument>
|
3026 |
+
<argument line="533">
|
3027 |
<name>$post</name>
|
3028 |
<default><![CDATA[NULL]]></default>
|
3029 |
<type/>
|
3030 |
</argument>
|
3031 |
</method>
|
3032 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="630" package="Media Library Assistant">
|
3033 |
<name>mla_edit_add_help_tab</name>
|
3034 |
<full_name>mla_edit_add_help_tab</full_name>
|
3035 |
+
<docblock line="620">
|
3036 |
<description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
|
3037 |
<long-description><![CDATA[]]></long-description>
|
3038 |
+
<tag line="620" name="since" description="0.90"/>
|
3039 |
+
<tag line="620" name="param" description="title as shown on the screen" type="string" variable="$admin_title">
|
3040 |
<type by_reference="false">string</type>
|
3041 |
</tag>
|
3042 |
+
<tag line="620" name="param" description="title as shown in the HTML header" type="string" variable="$title">
|
3043 |
<type by_reference="false">string</type>
|
3044 |
</tag>
|
3045 |
+
<tag line="620" name="return" description="" type="void">
|
3046 |
<type by_reference="false">void</type>
|
3047 |
</tag>
|
3048 |
</docblock>
|
3049 |
+
<argument line="630">
|
3050 |
<name>$admin_title</name>
|
3051 |
<default><![CDATA[]]></default>
|
3052 |
<type/>
|
3053 |
</argument>
|
3054 |
+
<argument line="630">
|
3055 |
<name>$title</name>
|
3056 |
<default><![CDATA[]]></default>
|
3057 |
<type/>
|
3058 |
</argument>
|
3059 |
</method>
|
3060 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="692" package="Media Library Assistant">
|
3061 |
<name>mla_parent_info_handler</name>
|
3062 |
<full_name>mla_parent_info_handler</full_name>
|
3063 |
+
<docblock line="682">
|
3064 |
<description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
|
3065 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3066 |
+
<tag line="682" name="since" description="0.80"/>
|
3067 |
+
<tag line="682" name="param" description="current post" type="object" variable="$post">
|
3068 |
<type by_reference="false">object</type>
|
3069 |
</tag>
|
3070 |
+
<tag line="682" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3071 |
<type by_reference="false">void</type>
|
3072 |
</tag>
|
3073 |
</docblock>
|
3074 |
+
<argument line="692">
|
3075 |
<name>$post</name>
|
3076 |
<default><![CDATA[]]></default>
|
3077 |
<type/>
|
3078 |
</argument>
|
3079 |
</method>
|
3080 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="741" package="Media Library Assistant">
|
3081 |
<name>mla_menu_order_handler</name>
|
3082 |
<full_name>mla_menu_order_handler</full_name>
|
3083 |
+
<docblock line="731">
|
3084 |
<description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
|
3085 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3086 |
+
<tag line="731" name="since" description="0.80"/>
|
3087 |
+
<tag line="731" name="param" description="current post" type="object" variable="$post">
|
3088 |
<type by_reference="false">object</type>
|
3089 |
</tag>
|
3090 |
+
<tag line="731" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3091 |
<type by_reference="false">void</type>
|
3092 |
</tag>
|
3093 |
</docblock>
|
3094 |
+
<argument line="741">
|
3095 |
<name>$post</name>
|
3096 |
<default><![CDATA[]]></default>
|
3097 |
<type/>
|
3098 |
</argument>
|
3099 |
</method>
|
3100 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="758" package="Media Library Assistant">
|
3101 |
<name>mla_image_metadata_handler</name>
|
3102 |
<full_name>mla_image_metadata_handler</full_name>
|
3103 |
+
<docblock line="748">
|
3104 |
<description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
|
3105 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3106 |
+
<tag line="748" name="since" description="0.80"/>
|
3107 |
+
<tag line="748" name="param" description="current post" type="object" variable="$post">
|
3108 |
<type by_reference="false">object</type>
|
3109 |
</tag>
|
3110 |
+
<tag line="748" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3111 |
<type by_reference="false">void</type>
|
3112 |
</tag>
|
3113 |
</docblock>
|
3114 |
+
<argument line="758">
|
3115 |
<name>$post</name>
|
3116 |
<default><![CDATA[]]></default>
|
3117 |
<type/>
|
3118 |
</argument>
|
3119 |
</method>
|
3120 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="783" package="Media Library Assistant">
|
3121 |
<name>mla_featured_in_handler</name>
|
3122 |
<full_name>mla_featured_in_handler</full_name>
|
3123 |
+
<docblock line="773">
|
3124 |
<description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
|
3125 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3126 |
+
<tag line="773" name="since" description="0.80"/>
|
3127 |
+
<tag line="773" name="param" description="current post" type="object" variable="$post">
|
3128 |
<type by_reference="false">object</type>
|
3129 |
</tag>
|
3130 |
+
<tag line="773" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3131 |
<type by_reference="false">void</type>
|
3132 |
</tag>
|
3133 |
</docblock>
|
3134 |
+
<argument line="783">
|
3135 |
<name>$post</name>
|
3136 |
<default><![CDATA[]]></default>
|
3137 |
<type/>
|
3138 |
</argument>
|
3139 |
</method>
|
3140 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="818" package="Media Library Assistant">
|
3141 |
<name>mla_inserted_in_handler</name>
|
3142 |
<full_name>mla_inserted_in_handler</full_name>
|
3143 |
+
<docblock line="808">
|
3144 |
<description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
|
3145 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3146 |
+
<tag line="808" name="since" description="0.80"/>
|
3147 |
+
<tag line="808" name="param" description="current post" type="object" variable="$post">
|
3148 |
<type by_reference="false">object</type>
|
3149 |
</tag>
|
3150 |
+
<tag line="808" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3151 |
<type by_reference="false">void</type>
|
3152 |
</tag>
|
3153 |
</docblock>
|
3154 |
+
<argument line="818">
|
3155 |
<name>$post</name>
|
3156 |
<default><![CDATA[]]></default>
|
3157 |
<type/>
|
3158 |
</argument>
|
3159 |
</method>
|
3160 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="857" package="Media Library Assistant">
|
3161 |
<name>mla_gallery_in_handler</name>
|
3162 |
<full_name>mla_gallery_in_handler</full_name>
|
3163 |
+
<docblock line="847">
|
3164 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
3165 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3166 |
+
<tag line="847" name="since" description="0.80"/>
|
3167 |
+
<tag line="847" name="param" description="current post" type="object" variable="$post">
|
3168 |
<type by_reference="false">object</type>
|
3169 |
</tag>
|
3170 |
+
<tag line="847" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3171 |
<type by_reference="false">void</type>
|
3172 |
</tag>
|
3173 |
</docblock>
|
3174 |
+
<argument line="857">
|
3175 |
<name>$post</name>
|
3176 |
<default><![CDATA[]]></default>
|
3177 |
<type/>
|
3178 |
</argument>
|
3179 |
</method>
|
3180 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="892" package="Media Library Assistant">
|
3181 |
<name>mla_mla_gallery_in_handler</name>
|
3182 |
<full_name>mla_mla_gallery_in_handler</full_name>
|
3183 |
+
<docblock line="882">
|
3184 |
<description><![CDATA[Renders the MLA Gallery in meta box on the Edit Media page.]]></description>
|
3185 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
3186 |
+
<tag line="882" name="since" description="0.80"/>
|
3187 |
+
<tag line="882" name="param" description="current post" type="object" variable="$post">
|
3188 |
<type by_reference="false">object</type>
|
3189 |
</tag>
|
3190 |
+
<tag line="882" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
3191 |
<type by_reference="false">void</type>
|
3192 |
</tag>
|
3193 |
</docblock>
|
3194 |
+
<argument line="892">
|
3195 |
<name>$post</name>
|
3196 |
<default><![CDATA[]]></default>
|
3197 |
<type/>
|
3198 |
</argument>
|
3199 |
</method>
|
3200 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="927" package="Media Library Assistant">
|
3201 |
<name>mla_edit_attachment_action</name>
|
3202 |
<full_name>mla_edit_attachment_action</full_name>
|
3203 |
+
<docblock line="917">
|
3204 |
<description><![CDATA[Saves updates from the Edit Media screen.]]></description>
|
3205 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
3206 |
+
<tag line="917" name="since" description="0.80"/>
|
3207 |
+
<tag line="917" name="param" description="ID of the current post" type="integer" variable="$post_ID">
|
3208 |
<type by_reference="false">integer</type>
|
3209 |
</tag>
|
3210 |
+
<tag line="917" name="return" description="" type="void">
|
3211 |
<type by_reference="false">void</type>
|
3212 |
</tag>
|
3213 |
</docblock>
|
3214 |
+
<argument line="927">
|
3215 |
<name>$post_ID</name>
|
3216 |
<default><![CDATA[]]></default>
|
3217 |
<type/>
|
3218 |
</argument>
|
3219 |
</method>
|
3220 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="953" package="Media Library Assistant">
|
3221 |
<name>_mla_ajax_add_flat_term</name>
|
3222 |
<full_name>_mla_ajax_add_flat_term</full_name>
|
3223 |
+
<docblock line="942">
|
3224 |
<description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
|
3225 |
<long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
|
3226 |
+
<tag line="942" name="since" description="1.80"/>
|
3227 |
+
<tag line="942" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
|
3228 |
<type by_reference="false">string</type>
|
3229 |
</tag>
|
3230 |
+
<tag line="942" name="return" description="Sends JSON response with updated HTML for the checklist" type="void">
|
3231 |
<type by_reference="false">void</type>
|
3232 |
</tag>
|
3233 |
</docblock>
|
3234 |
+
<argument line="953">
|
3235 |
<name>$key</name>
|
3236 |
<default><![CDATA[]]></default>
|
3237 |
<type/>
|
3238 |
</argument>
|
3239 |
</method>
|
3240 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1016" package="Media Library Assistant">
|
3241 |
<name>mla_checklist_meta_box</name>
|
3242 |
<full_name>mla_checklist_meta_box</full_name>
|
3243 |
+
<docblock line="1001">
|
3244 |
<description><![CDATA[Display taxonomy "checklist" form fields]]></description>
|
3245 |
<long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
|
3246 |
Includes the "? Search" area to filter the term checklist by entering part
|
3247 |
or all of a word/phrase in the term label.
|
3248 |
Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
|
3249 |
+
<tag line="1001" name="since" description="1.71"/>
|
3250 |
+
<tag line="1001" name="param" description="The current post" type="object" variable="$target_post">
|
3251 |
<type by_reference="false">object</type>
|
3252 |
</tag>
|
3253 |
+
<tag line="1001" name="param" description="The meta box parameters" type="array" variable="$box">
|
3254 |
<type by_reference="false">array</type>
|
3255 |
</tag>
|
3256 |
+
<tag line="1001" name="return" description="Echoes HTML for the form fields" type="void">
|
3257 |
<type by_reference="false">void</type>
|
3258 |
</tag>
|
3259 |
</docblock>
|
3260 |
+
<argument line="1016">
|
3261 |
<name>$target_post</name>
|
3262 |
<default><![CDATA[]]></default>
|
3263 |
<type/>
|
3264 |
</argument>
|
3265 |
+
<argument line="1016">
|
3266 |
<name>$box</name>
|
3267 |
<default><![CDATA[]]></default>
|
3268 |
<type/>
|
3269 |
</argument>
|
3270 |
</method>
|
3271 |
</class>
|
3272 |
+
<class final="false" abstract="false" namespace="global" line="1175" package="Media Library Assistant">
|
3273 |
<extends>\Walker_Category</extends>
|
3274 |
<name>MLA_Checklist_Walker</name>
|
3275 |
<full_name>\MLA_Checklist_Walker</full_name>
|
3276 |
+
<docblock line="1165">
|
3277 |
<description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
|
3278 |
<long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
|
3279 |
Class Walker_Category is defined in /wp-includes/category-template.php.
|
3280 |
Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
|
3281 |
+
<tag line="1165" name="package" description="Media Library Assistant"/>
|
3282 |
+
<tag line="1165" name="since" description="1.80"/>
|
3283 |
</docblock>
|
3284 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1189" package="Media Library Assistant">
|
3285 |
<name>start_el</name>
|
3286 |
<full_name>start_el</full_name>
|
3287 |
+
<docblock line="1176">
|
3288 |
<description><![CDATA[Start the element output.]]></description>
|
3289 |
<long-description><![CDATA[]]></long-description>
|
3290 |
+
<tag line="1176" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
|
3291 |
+
<tag line="1176" name="since" description="1.80"/>
|
3292 |
+
<tag line="1176" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
|
3293 |
<type by_reference="false">string</type>
|
3294 |
</tag>
|
3295 |
+
<tag line="1176" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
|
3296 |
<type by_reference="false">object</type>
|
3297 |
</tag>
|
3298 |
+
<tag line="1176" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
|
3299 |
<type by_reference="false">int</type>
|
3300 |
</tag>
|
3301 |
+
<tag line="1176" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
|
3302 |
<type by_reference="false">array</type>
|
3303 |
</tag>
|
3304 |
+
<tag line="1176" name="param" description="ID of the current category." type="int" variable="$id">
|
3305 |
<type by_reference="false">int</type>
|
3306 |
</tag>
|
3307 |
</docblock>
|
3308 |
+
<argument line="1189">
|
3309 |
<name>$output</name>
|
3310 |
<default><![CDATA[]]></default>
|
3311 |
<type/>
|
3312 |
</argument>
|
3313 |
+
<argument line="1189">
|
3314 |
<name>$taxonomy_object</name>
|
3315 |
<default><![CDATA[]]></default>
|
3316 |
<type/>
|
3317 |
</argument>
|
3318 |
+
<argument line="1189">
|
3319 |
<name>$depth</name>
|
3320 |
<default><![CDATA[0]]></default>
|
3321 |
<type/>
|
3322 |
</argument>
|
3323 |
+
<argument line="1189">
|
3324 |
<name>$args</name>
|
3325 |
<default><![CDATA[array()]]></default>
|
3326 |
<type/>
|
3327 |
</argument>
|
3328 |
+
<argument line="1189">
|
3329 |
<name>$id</name>
|
3330 |
<default><![CDATA[0]]></default>
|
3331 |
<type/>
|
3332 |
</argument>
|
3333 |
</method>
|
3334 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1222" package="Media Library Assistant">
|
3335 |
<name>end_el</name>
|
3336 |
<full_name>end_el</full_name>
|
3337 |
+
<docblock line="1210">
|
3338 |
<description><![CDATA[Ends the element output, if needed.]]></description>
|
3339 |
<long-description><![CDATA[]]></long-description>
|
3340 |
+
<tag line="1210" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
|
3341 |
+
<tag line="1210" name="since" description="1.80"/>
|
3342 |
+
<tag line="1210" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
|
3343 |
<type by_reference="false">string</type>
|
3344 |
</tag>
|
3345 |
+
<tag line="1210" name="param" description="The current term object." type="object" variable="$category">
|
3346 |
<type by_reference="false">object</type>
|
3347 |
</tag>
|
3348 |
+
<tag line="1210" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
|
3349 |
<type by_reference="false">int</type>
|
3350 |
</tag>
|
3351 |
+
<tag line="1210" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
|
3352 |
<type by_reference="false">array</type>
|
3353 |
</tag>
|
3354 |
</docblock>
|
3355 |
+
<argument line="1222">
|
3356 |
<name>$output</name>
|
3357 |
<default><![CDATA[]]></default>
|
3358 |
<type/>
|
3359 |
</argument>
|
3360 |
+
<argument line="1222">
|
3361 |
<name>$category</name>
|
3362 |
<default><![CDATA[]]></default>
|
3363 |
<type/>
|
3364 |
</argument>
|
3365 |
+
<argument line="1222">
|
3366 |
<name>$depth</name>
|
3367 |
<default><![CDATA[0]]></default>
|
3368 |
<type/>
|
3369 |
</argument>
|
3370 |
+
<argument line="1222">
|
3371 |
<name>$args</name>
|
3372 |
<default><![CDATA[array()]]></default>
|
3373 |
<type/>
|
3375 |
</method>
|
3376 |
</class>
|
3377 |
</file>
|
3378 |
+
<file path="includes\class-mla-list-table.php" hash="ed75e8f99d631d3232cf62becaae69f8" package="Media Library Assistant">
|
3379 |
<docblock line="2">
|
3380 |
<description><![CDATA[Media Library Assistant extended List Table class]]></description>
|
3381 |
<long-description><![CDATA[]]></long-description>
|
3769 |
<type/>
|
3770 |
</argument>
|
3771 |
</method>
|
3772 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="701" package="Media Library Assistant">
|
3773 |
<name>column_cb</name>
|
3774 |
<full_name>column_cb</full_name>
|
3775 |
+
<docblock line="692">
|
3776 |
<description><![CDATA[Displays checkboxes for using bulk actions.]]></description>
|
3777 |
<long-description><![CDATA[<p>The 'cb' column
|
3778 |
is given special treatment when columns are processed.</p>]]></long-description>
|
3779 |
+
<tag line="692" name="since" description="0.1"/>
|
3780 |
+
<tag line="692" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3781 |
<type by_reference="false">array</type>
|
3782 |
</tag>
|
3783 |
+
<tag line="692" name="return" description="HTML markup to be placed inside the column" type="string">
|
3784 |
<type by_reference="false">string</type>
|
3785 |
</tag>
|
3786 |
</docblock>
|
3787 |
+
<argument line="701">
|
3788 |
<name>$item</name>
|
3789 |
<default><![CDATA[]]></default>
|
3790 |
<type/>
|
3791 |
</argument>
|
3792 |
</method>
|
3793 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="716" package="Media Library Assistant">
|
3794 |
<name>column_icon</name>
|
3795 |
<full_name>column_icon</full_name>
|
3796 |
+
<docblock line="708">
|
3797 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3798 |
<long-description><![CDATA[]]></long-description>
|
3799 |
+
<tag line="708" name="since" description="0.1"/>
|
3800 |
+
<tag line="708" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3801 |
<type by_reference="false">array</type>
|
3802 |
</tag>
|
3803 |
+
<tag line="708" name="return" description="HTML markup to be placed inside the column" type="string">
|
3804 |
<type by_reference="false">string</type>
|
3805 |
</tag>
|
3806 |
</docblock>
|
3807 |
+
<argument line="716">
|
3808 |
<name>$item</name>
|
3809 |
<default><![CDATA[]]></default>
|
3810 |
<type/>
|
3811 |
</argument>
|
3812 |
</method>
|
3813 |
+
<method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="766" package="Media Library Assistant">
|
3814 |
<name>_format_post_status</name>
|
3815 |
<full_name>_format_post_status</full_name>
|
3816 |
+
<docblock line="757">
|
3817 |
<description><![CDATA[Translate post_status 'future', 'pending' and 'draft' to label]]></description>
|
3818 |
<long-description><![CDATA[]]></long-description>
|
3819 |
+
<tag line="757" name="since" description="2.01"/>
|
3820 |
+
<tag line="757" name="param" description="post_status" type="string" variable="$post_status">
|
3821 |
<type by_reference="false">string</type>
|
3822 |
</tag>
|
3823 |
+
<tag line="757" name="return" description="Status label or empty string" type="string">
|
3824 |
<type by_reference="false">string</type>
|
3825 |
</tag>
|
3826 |
</docblock>
|
3827 |
+
<argument line="766">
|
3828 |
<name>$post_status</name>
|
3829 |
<default><![CDATA[]]></default>
|
3830 |
<type/>
|
3831 |
</argument>
|
3832 |
</method>
|
3833 |
+
<method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="796" package="Media Library Assistant">
|
3834 |
<name>_build_rollover_actions</name>
|
3835 |
<full_name>_build_rollover_actions</full_name>
|
3836 |
+
<docblock line="785">
|
3837 |
<description><![CDATA[Add rollover actions to exactly one of the following displayed columns:
|
3838 |
'ID_parent', 'title_name', 'post_title', 'post_name']]></description>
|
3839 |
<long-description><![CDATA[]]></long-description>
|
3840 |
+
<tag line="785" name="since" description="0.1"/>
|
3841 |
+
<tag line="785" name="param" description="A singular attachment (post) object" type="object" variable="$item">
|
3842 |
<type by_reference="false">object</type>
|
3843 |
</tag>
|
3844 |
+
<tag line="785" name="param" description="Current column name" type="string" variable="$column">
|
3845 |
<type by_reference="false">string</type>
|
3846 |
</tag>
|
3847 |
+
<tag line="785" name="return" description="Names and URLs of row-level actions" type="array">
|
3848 |
<type by_reference="false">array</type>
|
3849 |
</tag>
|
3850 |
</docblock>
|
3851 |
+
<argument line="796">
|
3852 |
<name>$item</name>
|
3853 |
<default><![CDATA[]]></default>
|
3854 |
<type/>
|
3855 |
</argument>
|
3856 |
+
<argument line="796">
|
3857 |
<name>$column</name>
|
3858 |
<default><![CDATA[]]></default>
|
3859 |
<type/>
|
3860 |
</argument>
|
3861 |
</method>
|
3862 |
+
<method final="false" abstract="false" static="false" visibility="protected" namespace="global" line="870" package="Media Library Assistant">
|
3863 |
<name>_build_inline_data</name>
|
3864 |
<full_name>_build_inline_data</full_name>
|
3865 |
+
<docblock line="861">
|
3866 |
<description><![CDATA[Add hidden fields with the data for use in the inline editor]]></description>
|
3867 |
<long-description><![CDATA[]]></long-description>
|
3868 |
+
<tag line="861" name="since" description="0.20"/>
|
3869 |
+
<tag line="861" name="param" description="A singular attachment (post) object" type="object" variable="$item">
|
3870 |
<type by_reference="false">object</type>
|
3871 |
</tag>
|
3872 |
+
<tag line="861" name="return" description="HTML <div> with row data" type="string">
|
3873 |
<type by_reference="false">string</type>
|
3874 |
</tag>
|
3875 |
</docblock>
|
3876 |
+
<argument line="870">
|
3877 |
<name>$item</name>
|
3878 |
<default><![CDATA[]]></default>
|
3879 |
<type/>
|
3880 |
</argument>
|
3881 |
</method>
|
3882 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="957" package="Media Library Assistant">
|
3883 |
<name>column_ID_parent</name>
|
3884 |
<full_name>column_ID_parent</full_name>
|
3885 |
+
<docblock line="949">
|
3886 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3887 |
<long-description><![CDATA[]]></long-description>
|
3888 |
+
<tag line="949" name="since" description="0.1"/>
|
3889 |
+
<tag line="949" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3890 |
<type by_reference="false">array</type>
|
3891 |
</tag>
|
3892 |
+
<tag line="949" name="return" description="HTML markup to be placed inside the column" type="string">
|
3893 |
<type by_reference="false">string</type>
|
3894 |
</tag>
|
3895 |
</docblock>
|
3896 |
+
<argument line="957">
|
3897 |
<name>$item</name>
|
3898 |
<default><![CDATA[]]></default>
|
3899 |
<type/>
|
3900 |
</argument>
|
3901 |
</method>
|
3902 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="990" package="Media Library Assistant">
|
3903 |
<name>column_title_name</name>
|
3904 |
<full_name>column_title_name</full_name>
|
3905 |
+
<docblock line="982">
|
3906 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3907 |
<long-description><![CDATA[]]></long-description>
|
3908 |
+
<tag line="982" name="since" description="0.1"/>
|
3909 |
+
<tag line="982" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3910 |
<type by_reference="false">array</type>
|
3911 |
</tag>
|
3912 |
+
<tag line="982" name="return" description="HTML markup to be placed inside the column" type="string">
|
3913 |
<type by_reference="false">string</type>
|
3914 |
</tag>
|
3915 |
</docblock>
|
3916 |
+
<argument line="990">
|
3917 |
<name>$item</name>
|
3918 |
<default><![CDATA[]]></default>
|
3919 |
<type/>
|
3920 |
</argument>
|
3921 |
</method>
|
3922 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1014" package="Media Library Assistant">
|
3923 |
<name>column_post_title</name>
|
3924 |
<full_name>column_post_title</full_name>
|
3925 |
+
<docblock line="1006">
|
3926 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3927 |
<long-description><![CDATA[]]></long-description>
|
3928 |
+
<tag line="1006" name="since" description="0.1"/>
|
3929 |
+
<tag line="1006" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3930 |
<type by_reference="false">array</type>
|
3931 |
</tag>
|
3932 |
+
<tag line="1006" name="return" description="HTML markup to be placed inside the column" type="string">
|
3933 |
<type by_reference="false">string</type>
|
3934 |
</tag>
|
3935 |
</docblock>
|
3936 |
+
<argument line="1014">
|
3937 |
<name>$item</name>
|
3938 |
<default><![CDATA[]]></default>
|
3939 |
<type/>
|
3940 |
</argument>
|
3941 |
</method>
|
3942 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1032" package="Media Library Assistant">
|
3943 |
<name>column_post_name</name>
|
3944 |
<full_name>column_post_name</full_name>
|
3945 |
+
<docblock line="1024">
|
3946 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3947 |
<long-description><![CDATA[]]></long-description>
|
3948 |
+
<tag line="1024" name="since" description="0.1"/>
|
3949 |
+
<tag line="1024" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3950 |
<type by_reference="false">array</type>
|
3951 |
</tag>
|
3952 |
+
<tag line="1024" name="return" description="HTML markup to be placed inside the column" type="string">
|
3953 |
<type by_reference="false">string</type>
|
3954 |
</tag>
|
3955 |
</docblock>
|
3956 |
+
<argument line="1032">
|
3957 |
<name>$item</name>
|
3958 |
<default><![CDATA[]]></default>
|
3959 |
<type/>
|
3960 |
</argument>
|
3961 |
</method>
|
3962 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1050" package="Media Library Assistant">
|
3963 |
<name>column_parent</name>
|
3964 |
<full_name>column_parent</full_name>
|
3965 |
+
<docblock line="1042">
|
3966 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3967 |
<long-description><![CDATA[]]></long-description>
|
3968 |
+
<tag line="1042" name="since" description="0.1"/>
|
3969 |
+
<tag line="1042" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3970 |
<type by_reference="false">array</type>
|
3971 |
</tag>
|
3972 |
+
<tag line="1042" name="return" description="HTML markup to be placed inside the column" type="string">
|
3973 |
<type by_reference="false">string</type>
|
3974 |
</tag>
|
3975 |
</docblock>
|
3976 |
+
<argument line="1050">
|
3977 |
<name>$item</name>
|
3978 |
<default><![CDATA[]]></default>
|
3979 |
<type/>
|
3980 |
</argument>
|
3981 |
</method>
|
3982 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1076" package="Media Library Assistant">
|
3983 |
<name>column_menu_order</name>
|
3984 |
<full_name>column_menu_order</full_name>
|
3985 |
+
<docblock line="1068">
|
3986 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3987 |
<long-description><![CDATA[]]></long-description>
|
3988 |
+
<tag line="1068" name="since" description="0.60"/>
|
3989 |
+
<tag line="1068" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3990 |
<type by_reference="false">array</type>
|
3991 |
</tag>
|
3992 |
+
<tag line="1068" name="return" description="HTML markup to be placed inside the column" type="string">
|
3993 |
<type by_reference="false">string</type>
|
3994 |
</tag>
|
3995 |
</docblock>
|
3996 |
+
<argument line="1076">
|
3997 |
<name>$item</name>
|
3998 |
<default><![CDATA[]]></default>
|
3999 |
<type/>
|
4000 |
</argument>
|
4001 |
</method>
|
4002 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1088" package="Media Library Assistant">
|
4003 |
<name>column_featured</name>
|
4004 |
<full_name>column_featured</full_name>
|
4005 |
+
<docblock line="1080">
|
4006 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4007 |
<long-description><![CDATA[]]></long-description>
|
4008 |
+
<tag line="1080" name="since" description="0.1"/>
|
4009 |
+
<tag line="1080" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4010 |
<type by_reference="false">array</type>
|
4011 |
</tag>
|
4012 |
+
<tag line="1080" name="return" description="HTML markup to be placed inside the column" type="string">
|
4013 |
<type by_reference="false">string</type>
|
4014 |
</tag>
|
4015 |
</docblock>
|
4016 |
+
<argument line="1088">
|
4017 |
<name>$item</name>
|
4018 |
<default><![CDATA[]]></default>
|
4019 |
<type/>
|
4020 |
</argument>
|
4021 |
</method>
|
4022 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1133" package="Media Library Assistant">
|
4023 |
<name>column_inserted</name>
|
4024 |
<full_name>column_inserted</full_name>
|
4025 |
+
<docblock line="1125">
|
4026 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4027 |
<long-description><![CDATA[]]></long-description>
|
4028 |
+
<tag line="1125" name="since" description="0.1"/>
|
4029 |
+
<tag line="1125" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4030 |
<type by_reference="false">array</type>
|
4031 |
</tag>
|
4032 |
+
<tag line="1125" name="return" description="HTML markup to be placed inside the column" type="string">
|
4033 |
<type by_reference="false">string</type>
|
4034 |
</tag>
|
4035 |
</docblock>
|
4036 |
+
<argument line="1133">
|
4037 |
<name>$item</name>
|
4038 |
<default><![CDATA[]]></default>
|
4039 |
<type/>
|
4040 |
</argument>
|
4041 |
</method>
|
4042 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1183" package="Media Library Assistant">
|
4043 |
<name>column_galleries</name>
|
4044 |
<full_name>column_galleries</full_name>
|
4045 |
+
<docblock line="1175">
|
4046 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4047 |
<long-description><![CDATA[]]></long-description>
|
4048 |
+
<tag line="1175" name="since" description="0.70"/>
|
4049 |
+
<tag line="1175" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4050 |
<type by_reference="false">array</type>
|
4051 |
</tag>
|
4052 |
+
<tag line="1175" name="return" description="HTML markup to be placed inside the column" type="string">
|
4053 |
<type by_reference="false">string</type>
|
4054 |
</tag>
|
4055 |
</docblock>
|
4056 |
+
<argument line="1183">
|
4057 |
<name>$item</name>
|
4058 |
<default><![CDATA[]]></default>
|
4059 |
<type/>
|
4060 |
</argument>
|
4061 |
</method>
|
4062 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1228" package="Media Library Assistant">
|
4063 |
<name>column_mla_galleries</name>
|
4064 |
<full_name>column_mla_galleries</full_name>
|
4065 |
+
<docblock line="1220">
|
4066 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4067 |
<long-description><![CDATA[]]></long-description>
|
4068 |
+
<tag line="1220" name="since" description="0.70"/>
|
4069 |
+
<tag line="1220" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4070 |
<type by_reference="false">array</type>
|
4071 |
</tag>
|
4072 |
+
<tag line="1220" name="return" description="HTML markup to be placed inside the column" type="string">
|
4073 |
<type by_reference="false">string</type>
|
4074 |
</tag>
|
4075 |
</docblock>
|
4076 |
+
<argument line="1228">
|
4077 |
<name>$item</name>
|
4078 |
<default><![CDATA[]]></default>
|
4079 |
<type/>
|
4080 |
</argument>
|
4081 |
</method>
|
4082 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1273" package="Media Library Assistant">
|
4083 |
<name>column_alt_text</name>
|
4084 |
<full_name>column_alt_text</full_name>
|
4085 |
+
<docblock line="1265">
|
4086 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4087 |
<long-description><![CDATA[]]></long-description>
|
4088 |
+
<tag line="1265" name="since" description="0.1"/>
|
4089 |
+
<tag line="1265" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4090 |
<type by_reference="false">array</type>
|
4091 |
</tag>
|
4092 |
+
<tag line="1265" name="return" description="HTML markup to be placed inside the column" type="string">
|
4093 |
<type by_reference="false">string</type>
|
4094 |
</tag>
|
4095 |
</docblock>
|
4096 |
+
<argument line="1273">
|
4097 |
<name>$item</name>
|
4098 |
<default><![CDATA[]]></default>
|
4099 |
<type/>
|
4100 |
</argument>
|
4101 |
</method>
|
4102 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1300" package="Media Library Assistant">
|
4103 |
<name>column_caption</name>
|
4104 |
<full_name>column_caption</full_name>
|
4105 |
+
<docblock line="1292">
|
4106 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4107 |
<long-description><![CDATA[]]></long-description>
|
4108 |
+
<tag line="1292" name="since" description="0.1"/>
|
4109 |
+
<tag line="1292" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4110 |
<type by_reference="false">array</type>
|
4111 |
</tag>
|
4112 |
+
<tag line="1292" name="return" description="HTML markup to be placed inside the column" type="string">
|
4113 |
<type by_reference="false">string</type>
|
4114 |
</tag>
|
4115 |
</docblock>
|
4116 |
+
<argument line="1300">
|
4117 |
<name>$item</name>
|
4118 |
<default><![CDATA[]]></default>
|
4119 |
<type/>
|
4120 |
</argument>
|
4121 |
</method>
|
4122 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1312" package="Media Library Assistant">
|
4123 |
<name>column_description</name>
|
4124 |
<full_name>column_description</full_name>
|
4125 |
+
<docblock line="1304">
|
4126 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4127 |
<long-description><![CDATA[]]></long-description>
|
4128 |
+
<tag line="1304" name="since" description="0.1"/>
|
4129 |
+
<tag line="1304" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4130 |
<type by_reference="false">array</type>
|
4131 |
</tag>
|
4132 |
+
<tag line="1304" name="return" description="HTML markup to be placed inside the column" type="string">
|
4133 |
<type by_reference="false">string</type>
|
4134 |
</tag>
|
4135 |
</docblock>
|
4136 |
+
<argument line="1312">
|
4137 |
<name>$item</name>
|
4138 |
<default><![CDATA[]]></default>
|
4139 |
<type/>
|
4140 |
</argument>
|
4141 |
</method>
|
4142 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1324" package="Media Library Assistant">
|
4143 |
<name>column_post_mime_type</name>
|
4144 |
<full_name>column_post_mime_type</full_name>
|
4145 |
+
<docblock line="1316">
|
4146 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4147 |
<long-description><![CDATA[]]></long-description>
|
4148 |
+
<tag line="1316" name="since" description="0.30"/>
|
4149 |
+
<tag line="1316" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4150 |
<type by_reference="false">array</type>
|
4151 |
</tag>
|
4152 |
+
<tag line="1316" name="return" description="HTML markup to be placed inside the column" type="string">
|
4153 |
<type by_reference="false">string</type>
|
4154 |
</tag>
|
4155 |
</docblock>
|
4156 |
+
<argument line="1324">
|
4157 |
<name>$item</name>
|
4158 |
<default><![CDATA[]]></default>
|
4159 |
<type/>
|
4160 |
</argument>
|
4161 |
</method>
|
4162 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1340" package="Media Library Assistant">
|
4163 |
<name>column_file_url</name>
|
4164 |
<full_name>column_file_url</full_name>
|
4165 |
+
<docblock line="1332">
|
4166 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4167 |
<long-description><![CDATA[]]></long-description>
|
4168 |
+
<tag line="1332" name="since" description="0.1"/>
|
4169 |
+
<tag line="1332" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4170 |
<type by_reference="false">array</type>
|
4171 |
</tag>
|
4172 |
+
<tag line="1332" name="return" description="HTML markup to be placed inside the column" type="string">
|
4173 |
<type by_reference="false">string</type>
|
4174 |
</tag>
|
4175 |
</docblock>
|
4176 |
+
<argument line="1340">
|
4177 |
<name>$item</name>
|
4178 |
<default><![CDATA[]]></default>
|
4179 |
<type/>
|
4180 |
</argument>
|
4181 |
</method>
|
4182 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1354" package="Media Library Assistant">
|
4183 |
<name>column_base_file</name>
|
4184 |
<full_name>column_base_file</full_name>
|
4185 |
+
<docblock line="1346">
|
4186 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4187 |
<long-description><![CDATA[]]></long-description>
|
4188 |
+
<tag line="1346" name="since" description="0.1"/>
|
4189 |
+
<tag line="1346" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4190 |
<type by_reference="false">array</type>
|
4191 |
</tag>
|
4192 |
+
<tag line="1346" name="return" description="HTML markup to be placed inside the column" type="string">
|
4193 |
<type by_reference="false">string</type>
|
4194 |
</tag>
|
4195 |
</docblock>
|
4196 |
+
<argument line="1354">
|
4197 |
<name>$item</name>
|
4198 |
<default><![CDATA[]]></default>
|
4199 |
<type/>
|
4200 |
</argument>
|
4201 |
</method>
|
4202 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1373" package="Media Library Assistant">
|
4203 |
<name>column_date</name>
|
4204 |
<full_name>column_date</full_name>
|
4205 |
+
<docblock line="1365">
|
4206 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4207 |
<long-description><![CDATA[]]></long-description>
|
4208 |
+
<tag line="1365" name="since" description="0.1"/>
|
4209 |
+
<tag line="1365" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4210 |
<type by_reference="false">array</type>
|
4211 |
</tag>
|
4212 |
+
<tag line="1365" name="return" description="HTML markup to be placed inside the column" type="string">
|
4213 |
<type by_reference="false">string</type>
|
4214 |
</tag>
|
4215 |
</docblock>
|
4216 |
+
<argument line="1373">
|
4217 |
<name>$item</name>
|
4218 |
<default><![CDATA[]]></default>
|
4219 |
<type/>
|
4220 |
</argument>
|
4221 |
</method>
|
4222 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1408" package="Media Library Assistant">
|
4223 |
<name>column_modified</name>
|
4224 |
<full_name>column_modified</full_name>
|
4225 |
+
<docblock line="1400">
|
4226 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4227 |
<long-description><![CDATA[]]></long-description>
|
4228 |
+
<tag line="1400" name="since" description="0.30"/>
|
4229 |
+
<tag line="1400" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4230 |
<type by_reference="false">array</type>
|
4231 |
</tag>
|
4232 |
+
<tag line="1400" name="return" description="HTML markup to be placed inside the column" type="string">
|
4233 |
<type by_reference="false">string</type>
|
4234 |
</tag>
|
4235 |
</docblock>
|
4236 |
+
<argument line="1408">
|
4237 |
<name>$item</name>
|
4238 |
<default><![CDATA[]]></default>
|
4239 |
<type/>
|
4240 |
</argument>
|
4241 |
</method>
|
4242 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1437" package="Media Library Assistant">
|
4243 |
<name>column_author</name>
|
4244 |
<full_name>column_author</full_name>
|
4245 |
+
<docblock line="1429">
|
4246 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4247 |
<long-description><![CDATA[]]></long-description>
|
4248 |
+
<tag line="1429" name="since" description="0.30"/>
|
4249 |
+
<tag line="1429" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4250 |
<type by_reference="false">array</type>
|
4251 |
</tag>
|
4252 |
+
<tag line="1429" name="return" description="HTML markup to be placed inside the column" type="string">
|
4253 |
<type by_reference="false">string</type>
|
4254 |
</tag>
|
4255 |
</docblock>
|
4256 |
+
<argument line="1437">
|
4257 |
<name>$item</name>
|
4258 |
<default><![CDATA[]]></default>
|
4259 |
<type/>
|
4260 |
</argument>
|
4261 |
</method>
|
4262 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1459" package="Media Library Assistant">
|
4263 |
<name>column_attached_to</name>
|
4264 |
<full_name>column_attached_to</full_name>
|
4265 |
+
<docblock line="1451">
|
4266 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
4267 |
<long-description><![CDATA[]]></long-description>
|
4268 |
+
<tag line="1451" name="since" description="0.1"/>
|
4269 |
+
<tag line="1451" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
4270 |
<type by_reference="false">array</type>
|
4271 |
</tag>
|
4272 |
+
<tag line="1451" name="return" description="HTML markup to be placed inside the column" type="string">
|
4273 |
<type by_reference="false">string</type>
|
4274 |
</tag>
|
4275 |
</docblock>
|
4276 |
+
<argument line="1459">
|
4277 |
<name>$item</name>
|
4278 |
<default><![CDATA[]]></default>
|
4279 |
<type/>
|
4280 |
</argument>
|
4281 |
</method>
|
4282 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1496" package="Media Library Assistant">
|
4283 |
<name>pagination</name>
|
4284 |
<full_name>pagination</full_name>
|
4285 |
+
<docblock line="1488">
|
4286 |
<description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
|
4287 |
<long-description><![CDATA[]]></long-description>
|
4288 |
+
<tag line="1488" name="since" description="1.42"/>
|
4289 |
+
<tag line="1488" name="param" description="'top' | 'bottom'" type="string" variable="$which">
|
4290 |
<type by_reference="false">string</type>
|
4291 |
</tag>
|
4292 |
+
<tag line="1488" name="return" description="" type="void">
|
4293 |
<type by_reference="false">void</type>
|
4294 |
</tag>
|
4295 |
</docblock>
|
4296 |
+
<argument line="1496">
|
4297 |
<name>$which</name>
|
4298 |
<default><![CDATA[]]></default>
|
4299 |
<type/>
|
4300 |
</argument>
|
4301 |
</method>
|
4302 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1510" package="Media Library Assistant">
|
4303 |
<name>get_columns</name>
|
4304 |
<full_name>get_columns</full_name>
|
4305 |
+
<docblock line="1503">
|
4306 |
<description><![CDATA[This method dictates the table's columns and titles]]></description>
|
4307 |
<long-description><![CDATA[]]></long-description>
|
4308 |
+
<tag line="1503" name="since" description="0.1"/>
|
4309 |
+
<tag line="1503" name="return" description="Column information: 'slugs'=>'Visible Titles'" type="array">
|
4310 |
<type by_reference="false">array</type>
|
4311 |
</tag>
|
4312 |
</docblock>
|
4313 |
</method>
|
4314 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1522" package="Media Library Assistant">
|
4315 |
<name>get_hidden_columns</name>
|
4316 |
<full_name>get_hidden_columns</full_name>
|
4317 |
+
<docblock line="1514">
|
4318 |
<description><![CDATA[Returns the list of currently hidden columns from a user option or
|
4319 |
from default values if the option is not set]]></description>
|
4320 |
<long-description><![CDATA[]]></long-description>
|
4321 |
+
<tag line="1514" name="since" description="0.1"/>
|
4322 |
+
<tag line="1514" name="return" description="Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')" type="array">
|
4323 |
<type by_reference="false">array</type>
|
4324 |
</tag>
|
4325 |
</docblock>
|
4326 |
</method>
|
4327 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1547" package="Media Library Assistant">
|
4328 |
<name>get_sortable_columns</name>
|
4329 |
<full_name>get_sortable_columns</full_name>
|
4330 |
+
<docblock line="1538">
|
4331 |
<description><![CDATA[Returns an array where the key is the column that needs to be sortable
|
4332 |
and the value is db column (or other criteria) to sort by.]]></description>
|
4333 |
<long-description><![CDATA[]]></long-description>
|
4334 |
+
<tag line="1538" name="since" description="0.1"/>
|
4335 |
+
<tag line="1538" name="return" description="Sortable column information,e.g., 'slug' => array('data_value', (boolean) initial_descending )" type="array">
|
4336 |
<type by_reference="false">array</type>
|
4337 |
</tag>
|
4338 |
</docblock>
|
4339 |
</method>
|
4340 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1558" package="Media Library Assistant">
|
4341 |
<name>print_column_headers</name>
|
4342 |
<full_name>print_column_headers</full_name>
|
4343 |
+
<docblock line="1551">
|
4344 |
<description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
|
4345 |
<long-description><![CDATA[]]></long-description>
|
4346 |
+
<tag line="1551" name="since" description="1.42"/>
|
4347 |
+
<tag line="1551" name="param" description="Whether to set the id attribute or not" type="bool" variable="$with_id">
|
4348 |
<type by_reference="false">bool</type>
|
4349 |
</tag>
|
4350 |
</docblock>
|
4351 |
+
<argument line="1558">
|
4352 |
<name>$with_id</name>
|
4353 |
<default><![CDATA[true]]></default>
|
4354 |
<type/>
|
4355 |
</argument>
|
4356 |
</method>
|
4357 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1575" package="Media Library Assistant">
|
4358 |
<name>_get_view</name>
|
4359 |
<full_name>_get_view</full_name>
|
4360 |
+
<docblock line="1565">
|
4361 |
<description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
|
4362 |
<long-description><![CDATA[]]></long-description>
|
4363 |
+
<tag line="1565" name="since" description="1.40"/>
|
4364 |
+
<tag line="1565" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
|
4365 |
<type by_reference="false">string</type>
|
4366 |
</tag>
|
4367 |
+
<tag line="1565" name="param" description="Slug for current view" type="string" variable="$current_view">
|
4368 |
<type by_reference="false">string</type>
|
4369 |
</tag>
|
4370 |
+
<tag line="1565" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
|
4371 |
<type by_reference="false">string</type>
|
4372 |
</tag>
|
4373 |
</docblock>
|
4374 |
+
<argument line="1575">
|
4375 |
<name>$view_slug</name>
|
4376 |
<default><![CDATA[]]></default>
|
4377 |
<type/>
|
4378 |
</argument>
|
4379 |
+
<argument line="1575">
|
4380 |
<name>$current_view</name>
|
4381 |
<default><![CDATA[]]></default>
|
4382 |
<type/>
|
4383 |
</argument>
|
4384 |
</method>
|
4385 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1702" package="Media Library Assistant">
|
4386 |
<name>get_views</name>
|
4387 |
<full_name>get_views</full_name>
|
4388 |
+
<docblock line="1694">
|
4389 |
<description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
|
4390 |
<long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
|
4391 |
+
<tag line="1694" name="since" description="0.1"/>
|
4392 |
+
<tag line="1694" name="return" description="View information,e.g., array ( id => link )" type="array">
|
4393 |
<type by_reference="false">array</type>
|
4394 |
</tag>
|
4395 |
</docblock>
|
4396 |
</method>
|
4397 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1758" package="Media Library Assistant">
|
4398 |
<name>get_bulk_actions</name>
|
4399 |
<full_name>get_bulk_actions</full_name>
|
4400 |
+
<docblock line="1750">
|
4401 |
<description><![CDATA[Get an associative array ( option_name => option_title ) with the list
|
4402 |
of bulk actions available on this table.]]></description>
|
4403 |
<long-description><![CDATA[]]></long-description>
|
4404 |
+
<tag line="1750" name="since" description="0.1"/>
|
4405 |
+
<tag line="1750" name="return" description="Contains all the bulk actions: 'slugs'=>'Visible Titles'" type="array">
|
4406 |
<type by_reference="false">array</type>
|
4407 |
</tag>
|
4408 |
</docblock>
|
4409 |
</method>
|
4410 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1788" package="Media Library Assistant">
|
4411 |
<name>extra_tablenav</name>
|
4412 |
<full_name>extra_tablenav</full_name>
|
4413 |
+
<docblock line="1777">
|
4414 |
<description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
|
4415 |
<long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
|
4416 |
+
<tag line="1777" name="since" description="0.1"/>
|
4417 |
+
<tag line="1777" name="param" description="'top' or 'bottom', i.e., above or below the table rows" type="string" variable="$which">
|
4418 |
<type by_reference="false">string</type>
|
4419 |
</tag>
|
4420 |
+
<tag line="1777" name="return" description="Contains all the bulk actions: 'slugs'=>'Visible Titles'" type="array">
|
4421 |
<type by_reference="false">array</type>
|
4422 |
</tag>
|
4423 |
</docblock>
|
4424 |
+
<argument line="1788">
|
4425 |
<name>$which</name>
|
4426 |
<default><![CDATA[]]></default>
|
4427 |
<type/>
|
4428 |
</argument>
|
4429 |
</method>
|
4430 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1828" package="Media Library Assistant">
|
4431 |
<name>prepare_items</name>
|
4432 |
<full_name>prepare_items</full_name>
|
4433 |
+
<docblock line="1816">
|
4434 |
<description><![CDATA[Prepares the list of items for displaying]]></description>
|
4435 |
<long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
|
4436 |
be used to query the database, sort and filter the data, and generally
|
4437 |
get it ready to be displayed. At a minimum, we should set $this->items and
|
4438 |
$this->set_pagination_args().</p>]]></long-description>
|
4439 |
+
<tag line="1816" name="since" description="0.1"/>
|
4440 |
+
<tag line="1816" name="return" description="" type="void">
|
4441 |
<type by_reference="false">void</type>
|
4442 |
</tag>
|
4443 |
</docblock>
|
4444 |
</method>
|
4445 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1883" package="Media Library Assistant">
|
4446 |
<name>single_row</name>
|
4447 |
<full_name>single_row</full_name>
|
4448 |
+
<docblock line="1874">
|
4449 |
<description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
|
4450 |
<long-description><![CDATA[]]></long-description>
|
4451 |
+
<tag line="1874" name="since" description=".20"/>
|
4452 |
+
<tag line="1874" name="param" description="the current item" type="object" variable="$item">
|
4453 |
<type by_reference="false">object</type>
|
4454 |
</tag>
|
4455 |
+
<tag line="1874" name="return" description="Echoes the row HTML" type="void">
|
4456 |
<type by_reference="false">void</type>
|
4457 |
</tag>
|
4458 |
</docblock>
|
4459 |
+
<argument line="1883">
|
4460 |
<name>$item</name>
|
4461 |
<default><![CDATA[]]></default>
|
4462 |
<type/>
|
4464 |
</method>
|
4465 |
</class>
|
4466 |
</file>
|
4467 |
+
<file path="includes\class-mla-main.php" hash="69ee61523b15f82c7e7b588aaa154edf" package="Media Library Assistant">
|
4468 |
<docblock line="2">
|
4469 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
4470 |
<long-description><![CDATA[]]></long-description>
|
4474 |
<include line="13" type="Require Once" package="Media Library Assistant">
|
4475 |
<name/>
|
4476 |
</include>
|
4477 |
+
<include line="1530" type="Require Once" package="Media Library Assistant">
|
4478 |
<name/>
|
4479 |
</include>
|
4480 |
<class final="false" abstract="false" namespace="global" line="23" package="Media Library Assistant">
|
4979 |
<type/>
|
4980 |
</argument>
|
4981 |
</method>
|
4982 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="857" package="Media Library Assistant">
|
4983 |
+
<name>mla_process_bulk_action</name>
|
4984 |
+
<full_name>mla_process_bulk_action</full_name>
|
4985 |
<docblock line="847">
|
4986 |
<description><![CDATA[Process bulk action for one or more attachments]]></description>
|
4987 |
<long-description><![CDATA[]]></long-description>
|
4989 |
<tag line="847" name="param" description="Bulk action slug: delete, edit, restore, trash, custom action" type="string" variable="$bulk_action">
|
4990 |
<type by_reference="false">string</type>
|
4991 |
</tag>
|
4992 |
+
<tag line="847" name="param" description="Form elements, e.g., from $_REQUEST" type="array" variable="$request">
|
4993 |
+
<type by_reference="false">array</type>
|
4994 |
+
</tag>
|
4995 |
<tag line="847" name="return" description="messages and page content: ( 'message', 'body', 'unchanged', 'success', 'failure', 'item_results' )" type="array">
|
4996 |
<type by_reference="false">array</type>
|
4997 |
</tag>
|
4998 |
</docblock>
|
4999 |
+
<argument line="857">
|
5000 |
<name>$bulk_action</name>
|
5001 |
<default><![CDATA[]]></default>
|
5002 |
<type/>
|
5003 |
</argument>
|
5004 |
+
<argument line="857">
|
5005 |
+
<name>$request</name>
|
5006 |
+
<default><![CDATA[NULL]]></default>
|
5007 |
+
<type/>
|
5008 |
+
</argument>
|
5009 |
</method>
|
5010 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1219" package="Media Library Assistant">
|
5011 |
<name>mla_render_admin_page</name>
|
5012 |
<full_name>mla_render_admin_page</full_name>
|
5013 |
+
<docblock line="1212">
|
5014 |
<description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
|
5015 |
<long-description><![CDATA[]]></long-description>
|
5016 |
+
<tag line="1212" name="since" description="0.1"/>
|
5017 |
+
<tag line="1212" name="return" description="" type="void">
|
5018 |
<type by_reference="false">void</type>
|
5019 |
</tag>
|
5020 |
</docblock>
|
5021 |
</method>
|
5022 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1583" package="Media Library Assistant">
|
5023 |
<name>mla_find_posts_ajax_action</name>
|
5024 |
<full_name>mla_find_posts_ajax_action</full_name>
|
5025 |
+
<docblock line="1573">
|
5026 |
<description><![CDATA[Ajax handler to fetch candidates for the "Set Parent" popup window]]></description>
|
5027 |
<long-description><![CDATA[<p>Adapted from wp_ajax_find_posts in /wp-admin/includes/ajax-actions.php.
|
5028 |
Adds filters for post type and pagination.</p>]]></long-description>
|
5029 |
+
<tag line="1573" name="since" description="1.90"/>
|
5030 |
+
<tag line="1573" name="return" description="passes results to wp_send_json_success() for JSON encoding and transmission" type="void">
|
5031 |
<type by_reference="false">void</type>
|
5032 |
</tag>
|
5033 |
</docblock>
|
5034 |
</method>
|
5035 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1672" package="Media Library Assistant">
|
5036 |
<name>mla_set_parent_ajax_action</name>
|
5037 |
<full_name>mla_set_parent_ajax_action</full_name>
|
5038 |
+
<docblock line="1663">
|
5039 |
<description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
|
5040 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
5041 |
+
<tag line="1663" name="since" description="0.20"/>
|
5042 |
+
<tag line="1663" name="return" description="echo HTML <td> innerHTML for updated call or error message, then die()" type="void">
|
5043 |
<type by_reference="false">void</type>
|
5044 |
</tag>
|
5045 |
</docblock>
|
5046 |
</method>
|
5047 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1706" package="Media Library Assistant">
|
5048 |
<name>_bulk_edit_ajax_handler</name>
|
5049 |
<full_name>_bulk_edit_ajax_handler</full_name>
|
5050 |
+
<docblock line="1699">
|
5051 |
<description><![CDATA[Ajax handler for bulk editing and mapping]]></description>
|
5052 |
<long-description><![CDATA[]]></long-description>
|
5053 |
+
<tag line="1699" name="since" description="2.00"/>
|
5054 |
+
<tag line="1699" name="return" description="echo json results or error message, then die()" type="void">
|
5055 |
<type by_reference="false">void</type>
|
5056 |
</tag>
|
5057 |
</docblock>
|
5058 |
</method>
|
5059 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1747" package="Media Library Assistant">
|
5060 |
<name>mla_inline_edit_ajax_action</name>
|
5061 |
<full_name>mla_inline_edit_ajax_action</full_name>
|
5062 |
+
<docblock line="1738">
|
5063 |
<description><![CDATA[Ajax handler for inline editing]]></description>
|
5064 |
<long-description><![CDATA[<p>Adapted for Quick Edit from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
5065 |
+
<tag line="1738" name="since" description="0.20"/>
|
5066 |
+
<tag line="1738" name="return" description="echo HTML <tr> markup for updated row or error message, then die()" type="void">
|
5067 |
<type by_reference="false">void</type>
|
5068 |
</tag>
|
5069 |
</docblock>
|
5070 |
</method>
|
5071 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1862" package="Media Library Assistant">
|
5072 |
<name>_compose_post_type_select</name>
|
5073 |
<full_name>_compose_post_type_select</full_name>
|
5074 |
+
<docblock line="1851">
|
5075 |
<description><![CDATA[Compose a Post Type Options list with current selection]]></description>
|
5076 |
<long-description><![CDATA[]]></long-description>
|
5077 |
+
<tag line="1851" name="since" description="1.90"/>
|
5078 |
+
<tag line="1851" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
5079 |
+
<tag line="1851" name="param" description="template parts" type="array" variable="$templates">
|
5080 |
<type by_reference="false">array</type>
|
5081 |
</tag>
|
5082 |
+
<tag line="1851" name="param" description="current selection or 'all' (default)" type="string" variable="$selection">
|
5083 |
<type by_reference="false">string</type>
|
5084 |
</tag>
|
5085 |
+
<tag line="1851" name="return" description="HTML markup with select field options" type="string">
|
5086 |
<type by_reference="false">string</type>
|
5087 |
</tag>
|
5088 |
</docblock>
|
5089 |
+
<argument line="1862">
|
5090 |
<name>$templates</name>
|
5091 |
<default><![CDATA[]]></default>
|
5092 |
<type/>
|
5093 |
</argument>
|
5094 |
+
<argument line="1862">
|
5095 |
<name>$selection</name>
|
5096 |
<default><![CDATA['all']]></default>
|
5097 |
<type/>
|
5098 |
</argument>
|
5099 |
</method>
|
5100 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1901" package="Media Library Assistant">
|
5101 |
<name>mla_set_parent_form</name>
|
5102 |
<full_name>mla_set_parent_form</full_name>
|
5103 |
+
<docblock line="1892">
|
5104 |
<description><![CDATA[Build the hidden form for the "Set Parent" popup modal window]]></description>
|
5105 |
<long-description><![CDATA[]]></long-description>
|
5106 |
+
<tag line="1892" name="since" description="1.90"/>
|
5107 |
+
<tag line="1892" name="param" description="true to return complete form, false to return mla-set-parent-div" type="boolean" variable="$return_form">
|
5108 |
<type by_reference="false">boolean</type>
|
5109 |
</tag>
|
5110 |
+
<tag line="1892" name="return" description="HTML <form> markup for hidden form" type="string">
|
5111 |
<type by_reference="false">string</type>
|
5112 |
</tag>
|
5113 |
</docblock>
|
5114 |
+
<argument line="1901">
|
5115 |
<name>$return_form</name>
|
5116 |
<default><![CDATA[true]]></default>
|
5117 |
<type/>
|
5118 |
</argument>
|
5119 |
</method>
|
5120 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1964" package="Media Library Assistant">
|
5121 |
<name>_build_inline_edit_form</name>
|
5122 |
<full_name>_build_inline_edit_form</full_name>
|
5123 |
+
<docblock line="1953">
|
5124 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
5125 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
5126 |
+
<tag line="1953" name="since" description="0.20"/>
|
5127 |
+
<tag line="1953" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
|
5128 |
<type by_reference="false">object</type>
|
5129 |
</tag>
|
5130 |
+
<tag line="1953" name="return" description="HTML <form> markup for hidden rows" type="string">
|
5131 |
<type by_reference="false">string</type>
|
5132 |
</tag>
|
5133 |
</docblock>
|
5134 |
+
<argument line="1964">
|
5135 |
<name>$MLAListTable</name>
|
5136 |
<default><![CDATA[]]></default>
|
5137 |
<type/>
|
5138 |
</argument>
|
5139 |
</method>
|
5140 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2159" package="Media Library Assistant">
|
5141 |
+
<name>mla_authors_dropdown</name>
|
5142 |
+
<full_name>mla_authors_dropdown</full_name>
|
5143 |
+
<docblock line="2148">
|
5144 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
5145 |
<long-description><![CDATA[]]></long-description>
|
5146 |
+
<tag line="2148" name="since" description="0.20"/>
|
5147 |
+
<tag line="2148" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
|
5148 |
<type by_reference="false">integer</type>
|
5149 |
</tag>
|
5150 |
+
<tag line="2148" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
|
5151 |
<type by_reference="false">string</type>
|
5152 |
</tag>
|
5153 |
+
<tag line="2148" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
|
5154 |
<type by_reference="false">string</type>
|
5155 |
</tag>
|
5156 |
+
<tag line="2148" name="return" description="HTML markup for the dropdown field or False" type="string|false">
|
5157 |
<type by_reference="false">string</type>
|
5158 |
<type by_reference="false">false</type>
|
5159 |
</tag>
|
5160 |
</docblock>
|
5161 |
+
<argument line="2159">
|
5162 |
<name>$author</name>
|
5163 |
<default><![CDATA[0]]></default>
|
5164 |
<type/>
|
5165 |
</argument>
|
5166 |
+
<argument line="2159">
|
5167 |
<name>$name</name>
|
5168 |
<default><![CDATA['post_author']]></default>
|
5169 |
<type/>
|
5170 |
</argument>
|
5171 |
+
<argument line="2159">
|
5172 |
<name>$class</name>
|
5173 |
<default><![CDATA['authors']]></default>
|
5174 |
<type/>
|
5175 |
</argument>
|
5176 |
</method>
|
5177 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2193" package="Media Library Assistant">
|
5178 |
<name>_current_bulk_action</name>
|
5179 |
<full_name>_current_bulk_action</full_name>
|
5180 |
+
<docblock line="2186">
|
5181 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
5182 |
<long-description><![CDATA[]]></long-description>
|
5183 |
+
<tag line="2186" name="since" description="0.1"/>
|
5184 |
+
<tag line="2186" name="return" description="The action name or False if no action was selected" type="string|false">
|
5185 |
<type by_reference="false">string</type>
|
5186 |
<type by_reference="false">false</type>
|
5187 |
</tag>
|
5188 |
</docblock>
|
5189 |
</method>
|
5190 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2224" package="Media Library Assistant">
|
5191 |
<name>_delete_single_item</name>
|
5192 |
<full_name>_delete_single_item</full_name>
|
5193 |
+
<docblock line="2215">
|
5194 |
<description><![CDATA[Delete a single item permanently]]></description>
|
5195 |
<long-description><![CDATA[]]></long-description>
|
5196 |
+
<tag line="2215" name="since" description="0.1"/>
|
5197 |
+
<tag line="2215" name="param" description="The form POST data" type="array" variable="$post_id">
|
5198 |
<type by_reference="false">array</type>
|
5199 |
</tag>
|
5200 |
+
<tag line="2215" name="return" description="success/failure message and NULL content" type="array">
|
5201 |
<type by_reference="false">array</type>
|
5202 |
</tag>
|
5203 |
</docblock>
|
5204 |
+
<argument line="2224">
|
5205 |
<name>$post_id</name>
|
5206 |
<default><![CDATA[]]></default>
|
5207 |
<type/>
|
5208 |
</argument>
|
5209 |
</method>
|
5210 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2259" package="Media Library Assistant">
|
5211 |
<name>_display_single_item</name>
|
5212 |
<full_name>_display_single_item</full_name>
|
5213 |
+
<docblock line="2247">
|
5214 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
5215 |
change the meta data for a single attachment.]]></description>
|
5216 |
<long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
|
5217 |
+
<tag line="2247" name="since" description="0.1"/>
|
5218 |
+
<tag line="2247" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
|
5219 |
<type by_reference="false">integer</type>
|
5220 |
</tag>
|
5221 |
+
<tag line="2247" name="return" description="message and/or HTML content" type="array">
|
5222 |
<type by_reference="false">array</type>
|
5223 |
</tag>
|
5224 |
</docblock>
|
5225 |
+
<argument line="2259">
|
5226 |
<name>$post_id</name>
|
5227 |
<default><![CDATA[]]></default>
|
5228 |
<type/>
|
5229 |
</argument>
|
5230 |
</method>
|
5231 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2540" package="Media Library Assistant">
|
5232 |
<name>_restore_single_item</name>
|
5233 |
<full_name>_restore_single_item</full_name>
|
5234 |
+
<docblock line="2531">
|
5235 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
5236 |
<long-description><![CDATA[]]></long-description>
|
5237 |
+
<tag line="2531" name="since" description="0.1"/>
|
5238 |
+
<tag line="2531" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
|
5239 |
<type by_reference="false">integer</type>
|
5240 |
</tag>
|
5241 |
+
<tag line="2531" name="return" description="success/failure message and NULL content" type="array">
|
5242 |
<type by_reference="false">array</type>
|
5243 |
</tag>
|
5244 |
</docblock>
|
5245 |
+
<argument line="2540">
|
5246 |
<name>$post_id</name>
|
5247 |
<default><![CDATA[]]></default>
|
5248 |
<type/>
|
5249 |
</argument>
|
5250 |
</method>
|
5251 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2580" package="Media Library Assistant">
|
5252 |
<name>_trash_single_item</name>
|
5253 |
<full_name>_trash_single_item</full_name>
|
5254 |
+
<docblock line="2571">
|
5255 |
<description><![CDATA[Move a single item to Trash]]></description>
|
5256 |
<long-description><![CDATA[]]></long-description>
|
5257 |
+
<tag line="2571" name="since" description="0.1"/>
|
5258 |
+
<tag line="2571" name="param" description="The WordPress Post ID of the attachment item" type="integer" variable="$post_id">
|
5259 |
<type by_reference="false">integer</type>
|
5260 |
</tag>
|
5261 |
+
<tag line="2571" name="return" description="success/failure message and NULL content" type="array">
|
5262 |
<type by_reference="false">array</type>
|
5263 |
</tag>
|
5264 |
</docblock>
|
5265 |
+
<argument line="2580">
|
5266 |
<name>$post_id</name>
|
5267 |
<default><![CDATA[]]></default>
|
5268 |
<type/>
|
5270 |
</method>
|
5271 |
</class>
|
5272 |
</file>
|
5273 |
+
<file path="includes\class-mla-media-modal.php" hash="9f3884ad6ae755c91d436f6d084b73db" package="Media Library Assistant">
|
5274 |
<docblock line="2">
|
5275 |
<description><![CDATA[Media Library Assistant Media Manager enhancements]]></description>
|
5276 |
<long-description><![CDATA[]]></long-description>
|
5277 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
5278 |
<tag line="2" name="since" description="1.20"/>
|
5279 |
</docblock>
|
5280 |
+
<include line="590" type="Require Once" package="Media Library Assistant">
|
5281 |
<name/>
|
5282 |
</include>
|
5283 |
<class final="false" abstract="false" namespace="global" line="15" package="Media Library Assistant">
|
5539 |
<type/>
|
5540 |
</argument>
|
5541 |
</method>
|
5542 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="516" package="Media Library Assistant">
|
5543 |
<name>mla_media_view_strings_filter</name>
|
5544 |
<full_name>mla_media_view_strings_filter</full_name>
|
5545 |
+
<docblock line="505">
|
5546 |
<description><![CDATA[Adds strings values to be passed to the Media Manager in /wp-includes/js/media-views.js.]]></description>
|
5547 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
5548 |
+
<tag line="505" name="since" description="1.20"/>
|
5549 |
+
<tag line="505" name="param" description="associative array with string => value pairs" type="array" variable="$strings">
|
5550 |
<type by_reference="false">array</type>
|
5551 |
</tag>
|
5552 |
+
<tag line="505" name="param" description="|| NULL current post object, if available" type="object" variable="$post">
|
5553 |
<type by_reference="false">object</type>
|
5554 |
</tag>
|
5555 |
+
<tag line="505" name="return" description="updated $strings array" type="array">
|
5556 |
<type by_reference="false">array</type>
|
5557 |
</tag>
|
5558 |
</docblock>
|
5559 |
+
<argument line="516">
|
5560 |
<name>$strings</name>
|
5561 |
<default><![CDATA[]]></default>
|
5562 |
<type/>
|
5563 |
</argument>
|
5564 |
+
<argument line="516">
|
5565 |
<name>$post</name>
|
5566 |
<default><![CDATA[]]></default>
|
5567 |
<type/>
|
5568 |
</argument>
|
5569 |
</method>
|
5570 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="535" package="Media Library Assistant">
|
5571 |
<name>mla_wp_enqueue_media_action</name>
|
5572 |
<full_name>mla_wp_enqueue_media_action</full_name>
|
5573 |
+
<docblock line="527">
|
5574 |
<description><![CDATA[Enqueues the mla-media-modal-scripts.js file, adding it to the Media Manager scripts.]]></description>
|
5575 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
5576 |
+
<tag line="527" name="since" description="1.20"/>
|
5577 |
+
<tag line="527" name="return" description="" type="void">
|
5578 |
<type by_reference="false">void</type>
|
5579 |
</tag>
|
5580 |
</docblock>
|
5581 |
</method>
|
5582 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="573" package="Media Library Assistant">
|
5583 |
<name>mla_print_media_templates_action</name>
|
5584 |
<full_name>mla_print_media_templates_action</full_name>
|
5585 |
+
<docblock line="565">
|
5586 |
<description><![CDATA[Prints the templates used in the MLA Media Manager enhancements.]]></description>
|
5587 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
5588 |
+
<tag line="565" name="since" description="1.20"/>
|
5589 |
+
<tag line="565" name="return" description="echoes HTML script tags for the templates" type="void">
|
5590 |
<type by_reference="false">void</type>
|
5591 |
</tag>
|
5592 |
</docblock>
|
5593 |
</method>
|
5594 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="603" package="Media Library Assistant">
|
5595 |
<name>mla_admin_init_action</name>
|
5596 |
<full_name>mla_admin_init_action</full_name>
|
5597 |
+
<docblock line="593">
|
5598 |
<description><![CDATA[Adjust ajax handler for Media Manager queries]]></description>
|
5599 |
<long-description><![CDATA[<p>Replace 'query-attachments' with our own handler if the request is coming from the "Assistant" tab.
|
5600 |
Clean up the 'save-attachment-compat' values, removing the taxonomy updates MLS already handled.</p>]]></long-description>
|
5601 |
+
<tag line="593" name="since" description="1.20"/>
|
5602 |
+
<tag line="593" name="return" description="" type="void">
|
5603 |
<type by_reference="false">void</type>
|
5604 |
</tag>
|
5605 |
</docblock>
|
5606 |
</method>
|
5607 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="742" package="Media Library Assistant">
|
5608 |
<name>mla_fill_compat_fields_action</name>
|
5609 |
<full_name>mla_fill_compat_fields_action</full_name>
|
5610 |
+
<docblock line="733">
|
5611 |
<description><![CDATA[Ajax handler for Media Manager "fill compat-attachment-fields" queries]]></description>
|
5612 |
<long-description><![CDATA[<p>Prepares an array of (HTML) taxonomy meta boxes with attachment-specific values.</p>]]></long-description>
|
5613 |
+
<tag line="733" name="since" description="1.80"/>
|
5614 |
+
<tag line="733" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
|
5615 |
<type by_reference="false">void</type>
|
5616 |
</tag>
|
5617 |
</docblock>
|
5618 |
</method>
|
5619 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="918" package="Media Library Assistant">
|
5620 |
<name>mla_update_compat_fields_action</name>
|
5621 |
<full_name>mla_update_compat_fields_action</full_name>
|
5622 |
+
<docblock line="909">
|
5623 |
<description><![CDATA[Ajax handler for Media Manager "update compat-attachment-fields" queries]]></description>
|
5624 |
<long-description><![CDATA[<p>Updates one (or more) supported taxonomy and returns updated checkbox or tag/term lists</p>]]></long-description>
|
5625 |
+
<tag line="909" name="since" description="1.80"/>
|
5626 |
+
<tag line="909" name="return" description="passes array of results to wp_send_json_success() for JSON encoding and transmission" type="void">
|
5627 |
<type by_reference="false">void</type>
|
5628 |
</tag>
|
5629 |
</docblock>
|
5630 |
</method>
|
5631 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1001" package="Media Library Assistant">
|
5632 |
<name>mla_query_attachments_action</name>
|
5633 |
<full_name>mla_query_attachments_action</full_name>
|
5634 |
+
<docblock line="992">
|
5635 |
<description><![CDATA[Ajax handler for Media Manager "Query Attachments" queries]]></description>
|
5636 |
<long-description><![CDATA[<p>Adapted from wp_ajax_query_attachments in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
5637 |
+
<tag line="992" name="since" description="1.20"/>
|
5638 |
+
<tag line="992" name="return" description="passes array of post arrays to wp_send_json_success() for JSON encoding and transmission" type="void">
|
5639 |
<type by_reference="false">void</type>
|
5640 |
</tag>
|
5641 |
</docblock>
|
5642 |
</method>
|
5643 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1115" package="Media Library Assistant">
|
5644 |
<name>mla_add_terms_search_scripts</name>
|
5645 |
<full_name>mla_add_terms_search_scripts</full_name>
|
5646 |
+
<docblock line="1107">
|
5647 |
<description><![CDATA[Add the styles and scripts for the "Search Terms" popup modal window,
|
5648 |
but only once per page load]]></description>
|
5649 |
<long-description><![CDATA[]]></long-description>
|
5650 |
+
<tag line="1107" name="since" description="1.90"/>
|
5651 |
+
<tag line="1107" name="return" description="" type="void">
|
5652 |
<type by_reference="false">void</type>
|
5653 |
</tag>
|
5654 |
</docblock>
|
5655 |
</method>
|
5656 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1155" package="Media Library Assistant">
|
5657 |
<name>mla_add_terms_search_form</name>
|
5658 |
<full_name>mla_add_terms_search_form</full_name>
|
5659 |
+
<docblock line="1147">
|
5660 |
<description><![CDATA[Add the hidden form for the "Search Terms" popup modal window,
|
5661 |
but only once per page load]]></description>
|
5662 |
<long-description><![CDATA[]]></long-description>
|
5663 |
+
<tag line="1147" name="since" description="1.90"/>
|
5664 |
+
<tag line="1147" name="return" description="" type="void">
|
5665 |
<type by_reference="false">void</type>
|
5666 |
</tag>
|
5667 |
</docblock>
|
5668 |
</method>
|
5669 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1171" package="Media Library Assistant">
|
5670 |
<name>mla_echo_terms_search_form</name>
|
5671 |
<full_name>mla_echo_terms_search_form</full_name>
|
5672 |
+
<docblock line="1164">
|
5673 |
<description><![CDATA[Echo the hidden form for the "Search Terms" popup modal window]]></description>
|
5674 |
<long-description><![CDATA[]]></long-description>
|
5675 |
+
<tag line="1164" name="since" description="1.90"/>
|
5676 |
+
<tag line="1164" name="return" description="Echos the HTML <form> markup for hidden form" type="void">
|
5677 |
<type by_reference="false">void</type>
|
5678 |
</tag>
|
5679 |
</docblock>
|
5680 |
</method>
|
5681 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1182" package="Media Library Assistant">
|
5682 |
<name>mla_terms_search_form</name>
|
5683 |
<full_name>mla_terms_search_form</full_name>
|
5684 |
+
<docblock line="1175">
|
5685 |
<description><![CDATA[Build the hidden form for the "Search Terms" popup modal window]]></description>
|
5686 |
<long-description><![CDATA[]]></long-description>
|
5687 |
+
<tag line="1175" name="since" description="1.90"/>
|
5688 |
+
<tag line="1175" name="return" description="HTML <form> markup for hidden form" type="string">
|
5689 |
<type by_reference="false">string</type>
|
5690 |
</tag>
|
5691 |
</docblock>
|
6938 |
</method>
|
6939 |
</class>
|
6940 |
</file>
|
6941 |
+
<file path="includes\class-mla-objects.php" hash="d38acd1fa3394625900178d9b1e2dc9c" package="Media Library Assistant">
|
6942 |
<docblock line="2">
|
6943 |
<description><![CDATA[Media Library Assistant Custom Taxonomy and Widget objects]]></description>
|
6944 |
<long-description><![CDATA[]]></long-description>
|
6979 |
</tag>
|
6980 |
</docblock>
|
6981 |
</method>
|
6982 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="115" package="Media Library Assistant">
|
6983 |
<name>mla_taxonomy_get_columns_filter</name>
|
6984 |
<full_name>mla_taxonomy_get_columns_filter</full_name>
|
6985 |
+
<docblock line="105">
|
6986 |
<description><![CDATA[WordPress Filter for edit taxonomy "Attachments" column,
|
6987 |
which replaces the "Posts" column with an equivalent "Attachments" column.]]></description>
|
6988 |
<long-description><![CDATA[]]></long-description>
|
6989 |
+
<tag line="105" name="since" description="0.30"/>
|
6990 |
+
<tag line="105" name="param" description="column definitions for the edit taxonomy list table" type="array" variable="$columns">
|
6991 |
<type by_reference="false">array</type>
|
6992 |
</tag>
|
6993 |
+
<tag line="105" name="return" description="updated column definitions for the edit taxonomy list table" type="array">
|
6994 |
<type by_reference="false">array</type>
|
6995 |
</tag>
|
6996 |
</docblock>
|
6997 |
+
<argument line="115">
|
6998 |
<name>$columns</name>
|
6999 |
<default><![CDATA[]]></default>
|
7000 |
<type/>
|
7001 |
</argument>
|
7002 |
</method>
|
7003 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="150" package="Media Library Assistant">
|
7004 |
<name>mla_taxonomy_column_filter</name>
|
7005 |
<full_name>mla_taxonomy_column_filter</full_name>
|
7006 |
+
<docblock line="137">
|
7007 |
<description><![CDATA[WordPress Filter for edit taxonomy "Attachments" column,
|
7008 |
which returns a count of the attachments assigned a given term]]></description>
|
7009 |
<long-description><![CDATA[]]></long-description>
|
7010 |
+
<tag line="137" name="since" description="0.30"/>
|
7011 |
+
<tag line="137" name="param" description="current column value; always ''" type="string" variable="$place_holder">
|
7012 |
<type by_reference="false">string</type>
|
7013 |
</tag>
|
7014 |
+
<tag line="137" name="param" description="name of the column" type="array" variable="$column_name">
|
7015 |
<type by_reference="false">array</type>
|
7016 |
</tag>
|
7017 |
+
<tag line="137" name="param" description="ID of the term for which the count is desired" type="array" variable="$term_id">
|
7018 |
<type by_reference="false">array</type>
|
7019 |
</tag>
|
7020 |
+
<tag line="137" name="return" description="HTML markup for the column content; number of attachments in the category and alink to retrieve a list of them" type="array">
|
7021 |
<type by_reference="false">array</type>
|
7022 |
</tag>
|
7023 |
</docblock>
|
7024 |
+
<argument line="150">
|
7025 |
<name>$place_holder</name>
|
7026 |
<default><![CDATA[]]></default>
|
7027 |
<type/>
|
7028 |
</argument>
|
7029 |
+
<argument line="150">
|
7030 |
<name>$column_name</name>
|
7031 |
<default><![CDATA[]]></default>
|
7032 |
<type/>
|
7033 |
</argument>
|
7034 |
+
<argument line="150">
|
7035 |
<name>$term_id</name>
|
7036 |
<default><![CDATA[]]></default>
|
7037 |
<type/>
|
7038 |
</argument>
|
7039 |
</method>
|
7040 |
</class>
|
7041 |
+
<class final="false" abstract="false" namespace="global" line="219" package="Media Library Assistant">
|
7042 |
<extends>\WP_Widget</extends>
|
7043 |
<name>MLATextWidget</name>
|
7044 |
<full_name>\MLATextWidget</full_name>
|
7045 |
+
<docblock line="213">
|
7046 |
<description><![CDATA[Class MLA (Media Library Assistant) Text Widget defines a shortcode-enabled version of the WordPress Text widget]]></description>
|
7047 |
<long-description><![CDATA[]]></long-description>
|
7048 |
+
<tag line="213" name="package" description="Media Library Assistant"/>
|
7049 |
+
<tag line="213" name="since" description="1.60"/>
|
7050 |
</docblock>
|
7051 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="228" package="Media Library Assistant">
|
7052 |
<name>__construct</name>
|
7053 |
<full_name>__construct</full_name>
|
7054 |
+
<docblock line="221">
|
7055 |
<description><![CDATA[Calls the parent constructor to set some defaults.]]></description>
|
7056 |
<long-description><![CDATA[]]></long-description>
|
7057 |
+
<tag line="221" name="since" description="1.60"/>
|
7058 |
+
<tag line="221" name="return" description="" type="void">
|
7059 |
<type by_reference="false">void</type>
|
7060 |
</tag>
|
7061 |
</docblock>
|
7062 |
</method>
|
7063 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="252" package="Media Library Assistant">
|
7064 |
<name>widget</name>
|
7065 |
<full_name>widget</full_name>
|
7066 |
+
<docblock line="242">
|
7067 |
<description><![CDATA[Display the widget content - called from the WordPress "front end"]]></description>
|
7068 |
<long-description><![CDATA[]]></long-description>
|
7069 |
+
<tag line="242" name="since" description="1.60"/>
|
7070 |
+
<tag line="242" name="param" description="Widget arguments" type="array" variable="$args">
|
7071 |
<type by_reference="false">array</type>
|
7072 |
</tag>
|
7073 |
+
<tag line="242" name="param" description="Widget definition, from the database" type="array" variable="$instance">
|
7074 |
<type by_reference="false">array</type>
|
7075 |
</tag>
|
7076 |
+
<tag line="242" name="return" description="Echoes widget output" type="void">
|
7077 |
<type by_reference="false">void</type>
|
7078 |
</tag>
|
7079 |
</docblock>
|
7080 |
+
<argument line="252">
|
7081 |
<name>$args</name>
|
7082 |
<default><![CDATA[]]></default>
|
7083 |
<type/>
|
7084 |
</argument>
|
7085 |
+
<argument line="252">
|
7086 |
<name>$instance</name>
|
7087 |
<default><![CDATA[]]></default>
|
7088 |
<type/>
|
7089 |
</argument>
|
7090 |
</method>
|
7091 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="271" package="Media Library Assistant">
|
7092 |
<name>form</name>
|
7093 |
<full_name>form</full_name>
|
7094 |
+
<docblock line="262">
|
7095 |
<description><![CDATA[Echo the "edit widget" form on the Appearance/Widgets admin screen]]></description>
|
7096 |
<long-description><![CDATA[]]></long-description>
|
7097 |
+
<tag line="262" name="since" description="1.60"/>
|
7098 |
+
<tag line="262" name="param" description="Previous definition values, from the database" type="array" variable="$instance">
|
7099 |
<type by_reference="false">array</type>
|
7100 |
</tag>
|
7101 |
+
<tag line="262" name="return" description="Echoes "edit widget" form" type="void">
|
7102 |
<type by_reference="false">void</type>
|
7103 |
</tag>
|
7104 |
</docblock>
|
7105 |
+
<argument line="271">
|
7106 |
<name>$instance</name>
|
7107 |
<default><![CDATA[]]></default>
|
7108 |
<type/>
|
7109 |
</argument>
|
7110 |
</method>
|
7111 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="295" package="Media Library Assistant">
|
7112 |
<name>update</name>
|
7113 |
<full_name>update</full_name>
|
7114 |
+
<docblock line="285">
|
7115 |
<description><![CDATA[Sanitize widget definition as it is saved to the database]]></description>
|
7116 |
<long-description><![CDATA[]]></long-description>
|
7117 |
+
<tag line="285" name="since" description="1.60"/>
|
7118 |
+
<tag line="285" name="param" description="Current definition values, to be saved in the database" type="array" variable="$new_instance">
|
7119 |
<type by_reference="false">array</type>
|
7120 |
</tag>
|
7121 |
+
<tag line="285" name="param" description="Previous definition values, from the database" type="array" variable="$old_instance">
|
7122 |
<type by_reference="false">array</type>
|
7123 |
</tag>
|
7124 |
+
<tag line="285" name="return" description="Updated definition values to be saved in the database" type="array">
|
7125 |
<type by_reference="false">array</type>
|
7126 |
</tag>
|
7127 |
</docblock>
|
7128 |
+
<argument line="295">
|
7129 |
<name>$new_instance</name>
|
7130 |
<default><![CDATA[]]></default>
|
7131 |
<type/>
|
7132 |
</argument>
|
7133 |
+
<argument line="295">
|
7134 |
<name>$old_instance</name>
|
7135 |
<default><![CDATA[]]></default>
|
7136 |
<type/>
|
7137 |
</argument>
|
7138 |
</method>
|
7139 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="317" package="Media Library Assistant">
|
7140 |
<name>mla_text_widget_widgets_init_action</name>
|
7141 |
<full_name>mla_text_widget_widgets_init_action</full_name>
|
7142 |
+
<docblock line="308">
|
7143 |
<description><![CDATA[Register the widget with WordPress]]></description>
|
7144 |
<long-description><![CDATA[<p>Defined as public because it's an action.</p>]]></long-description>
|
7145 |
+
<tag line="308" name="since" description="1.60"/>
|
7146 |
+
<tag line="308" name="return" description="" type="void">
|
7147 |
<type by_reference="false">void</type>
|
7148 |
</tag>
|
7149 |
</docblock>
|
7150 |
</method>
|
7151 |
</class>
|
7152 |
</file>
|
7153 |
+
<file path="includes\class-mla-options.php" hash="5145042dcab72d2bc545221551f1477d" package="Media Library Assistant">
|
7154 |
<docblock line="2">
|
7155 |
<description><![CDATA[Manages the plugin option settings]]></description>
|
7156 |
<long-description><![CDATA[]]></long-description>
|
7157 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
7158 |
<tag line="2" name="since" description="1.00"/>
|
7159 |
</docblock>
|
7160 |
+
<include line="1931" type="Require Once" package="Media Library Assistant">
|
7161 |
<name/>
|
7162 |
</include>
|
7163 |
+
<include line="1962" type="Require" package="Media Library Assistant">
|
7164 |
<name/>
|
7165 |
</include>
|
7166 |
<class final="false" abstract="false" namespace="global" line="18" package="Media Library Assistant">
|
7375 |
<constant namespace="global" line="132" package="Media Library Assistant">
|
7376 |
<name>MLA_NEW_CUSTOM_RULE</name>
|
7377 |
<full_name>MLA_NEW_CUSTOM_RULE</full_name>
|
7378 |
+
<value><![CDATA['__NEW_RULE__']]></value>
|
7379 |
<docblock line="129">
|
7380 |
<description><![CDATA[Provides a unique name for the Custom Field "new rule" key]]></description>
|
7381 |
<long-description><![CDATA[]]></long-description>
|
7384 |
<constant namespace="global" line="137" package="Media Library Assistant">
|
7385 |
<name>MLA_NEW_CUSTOM_FIELD</name>
|
7386 |
<full_name>MLA_NEW_CUSTOM_FIELD</full_name>
|
7387 |
+
<value><![CDATA['__NEW_FIELD__']]></value>
|
7388 |
<docblock line="134">
|
7389 |
<description><![CDATA[Provides a unique name for the Custom Field "new field" key]]></description>
|
7390 |
<long-description><![CDATA[]]></long-description>
|
7408 |
<long-description><![CDATA[]]></long-description>
|
7409 |
</docblock>
|
7410 |
</constant>
|
7411 |
+
<constant namespace="global" line="152" package="Media Library Assistant">
|
7412 |
+
<name>MLA_ADD_NEW_BULK_EDIT</name>
|
7413 |
+
<full_name>MLA_ADD_NEW_BULK_EDIT</full_name>
|
7414 |
+
<value><![CDATA['add_new_bulk_edit']]></value>
|
7415 |
+
<docblock line="149">
|
7416 |
+
<description><![CDATA[Provides a unique name for the Media/Add New bulk edit option]]></description>
|
7417 |
+
<long-description><![CDATA[]]></long-description>
|
7418 |
+
</docblock>
|
7419 |
+
</constant>
|
7420 |
+
<constant namespace="global" line="158" package="Media Library Assistant">
|
7421 |
<name>MLA_MEDIA_GRID_TOOLBAR</name>
|
7422 |
<full_name>MLA_MEDIA_GRID_TOOLBAR</full_name>
|
7423 |
<value><![CDATA['media_grid_toolbar']]></value>
|
7424 |
+
<docblock line="154">
|
7425 |
<description><![CDATA[Provides a unique name for the Media Grid toolbar option, which
|
7426 |
also controls the ATTACHMENT DETAILS enhancements]]></description>
|
7427 |
<long-description><![CDATA[]]></long-description>
|
7428 |
</docblock>
|
7429 |
</constant>
|
7430 |
+
<constant namespace="global" line="164" package="Media Library Assistant">
|
7431 |
<name>MLA_MEDIA_MODAL_TOOLBAR</name>
|
7432 |
<full_name>MLA_MEDIA_MODAL_TOOLBAR</full_name>
|
7433 |
<value><![CDATA['media_modal_toolbar']]></value>
|
7434 |
+
<docblock line="160">
|
7435 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar option, which
|
7436 |
also controls the ATTACHMENT DETAILS enhancements]]></description>
|
7437 |
<long-description><![CDATA[]]></long-description>
|
7438 |
</docblock>
|
7439 |
</constant>
|
7440 |
+
<constant namespace="global" line="169" package="Media Library Assistant">
|
7441 |
<name>MLA_MEDIA_MODAL_MIMETYPES</name>
|
7442 |
<full_name>MLA_MEDIA_MODAL_MIMETYPES</full_name>
|
7443 |
<value><![CDATA['media_modal_mimetypes']]></value>
|
7444 |
+
<docblock line="166">
|
7445 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar MIME Types option]]></description>
|
7446 |
<long-description><![CDATA[]]></long-description>
|
7447 |
</docblock>
|
7448 |
</constant>
|
7449 |
+
<constant namespace="global" line="174" package="Media Library Assistant">
|
7450 |
<name>MLA_MEDIA_MODAL_MONTHS</name>
|
7451 |
<full_name>MLA_MEDIA_MODAL_MONTHS</full_name>
|
7452 |
<value><![CDATA['media_modal_months']]></value>
|
7453 |
+
<docblock line="171">
|
7454 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Month and Year option]]></description>
|
7455 |
<long-description><![CDATA[]]></long-description>
|
7456 |
</docblock>
|
7457 |
</constant>
|
7458 |
+
<constant namespace="global" line="179" package="Media Library Assistant">
|
7459 |
<name>MLA_MEDIA_MODAL_TERMS</name>
|
7460 |
<full_name>MLA_MEDIA_MODAL_TERMS</full_name>
|
7461 |
<value><![CDATA['media_modal_terms']]></value>
|
7462 |
+
<docblock line="176">
|
7463 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy Terms option]]></description>
|
7464 |
<long-description><![CDATA[]]></long-description>
|
7465 |
</docblock>
|
7466 |
</constant>
|
7467 |
+
<constant namespace="global" line="184" package="Media Library Assistant">
|
7468 |
<name>MLA_MEDIA_MODAL_TERMS_SEARCH</name>
|
7469 |
<full_name>MLA_MEDIA_MODAL_TERMS_SEARCH</full_name>
|
7470 |
<value><![CDATA['media_modal_terms_search']]></value>
|
7471 |
+
<docblock line="181">
|
7472 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Taxonomy "Terms Search" option]]></description>
|
7473 |
<long-description><![CDATA[]]></long-description>
|
7474 |
</docblock>
|
7475 |
</constant>
|
7476 |
+
<constant namespace="global" line="189" package="Media Library Assistant">
|
7477 |
<name>MLA_MEDIA_MODAL_SEARCHBOX</name>
|
7478 |
<full_name>MLA_MEDIA_MODAL_SEARCHBOX</full_name>
|
7479 |
<value><![CDATA['media_modal_searchbox']]></value>
|
7480 |
+
<docblock line="186">
|
7481 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box option]]></description>
|
7482 |
<long-description><![CDATA[]]></long-description>
|
7483 |
</docblock>
|
7484 |
</constant>
|
7485 |
+
<constant namespace="global" line="194" package="Media Library Assistant">
|
7486 |
<name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</name>
|
7487 |
<full_name>MLA_MEDIA_MODAL_SEARCHBOX_CONTROLS</full_name>
|
7488 |
<value><![CDATA['media_modal_searchbox_controls']]></value>
|
7489 |
+
<docblock line="191">
|
7490 |
<description><![CDATA[Provides a unique name for the Media Manager toolbar Search Box Controls option]]></description>
|
7491 |
<long-description><![CDATA[]]></long-description>
|
7492 |
</docblock>
|
7493 |
</constant>
|
7494 |
+
<constant namespace="global" line="200" package="Media Library Assistant">
|
7495 |
<name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</name>
|
7496 |
<full_name>MLA_MEDIA_MODAL_DETAILS_CATEGORY_METABOX</full_name>
|
7497 |
<value><![CDATA['media_modal_details_category_metabox']]></value>
|
7498 |
+
<docblock line="196">
|
7499 |
<description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
|
7500 |
This option is for hierarchical taxonomies, e.g., "Att.]]></description>
|
7501 |
<long-description><![CDATA[<p>Categories".</p>]]></long-description>
|
7502 |
</docblock>
|
7503 |
</constant>
|
7504 |
+
<constant namespace="global" line="206" package="Media Library Assistant">
|
7505 |
<name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</name>
|
7506 |
<full_name>MLA_MEDIA_MODAL_DETAILS_TAG_METABOX</full_name>
|
7507 |
<value><![CDATA['media_modal_details_tag_metabox']]></value>
|
7508 |
+
<docblock line="202">
|
7509 |
<description><![CDATA[Provides a unique name for the Media Manager Attachment Details searchable taxonomy option
|
7510 |
This option is for flat taxonomies, e.g., "Att.]]></description>
|
7511 |
<long-description><![CDATA[<p>Tags".</p>]]></long-description>
|
7512 |
</docblock>
|
7513 |
</constant>
|
7514 |
+
<constant namespace="global" line="211" package="Media Library Assistant">
|
7515 |
<name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</name>
|
7516 |
<full_name>MLA_MEDIA_MODAL_DETAILS_AUTOFILL</full_name>
|
7517 |
<value><![CDATA['media_modal_details_autofill']]></value>
|
7518 |
+
<docblock line="208">
|
7519 |
<description><![CDATA[Provides a unique name for the Media Manager Attachment Details auto-fill option]]></description>
|
7520 |
<long-description><![CDATA[]]></long-description>
|
7521 |
</docblock>
|
7522 |
</constant>
|
7523 |
+
<constant namespace="global" line="216" package="Media Library Assistant">
|
7524 |
<name>MLA_MEDIA_MODAL_ORDERBY</name>
|
7525 |
<full_name>MLA_MEDIA_MODAL_ORDERBY</full_name>
|
7526 |
<value><![CDATA['media_modal_orderby']]></value>
|
7527 |
+
<docblock line="213">
|
7528 |
<description><![CDATA[Provides a unique name for the Media Manager orderby option]]></description>
|
7529 |
<long-description><![CDATA[]]></long-description>
|
7530 |
</docblock>
|
7531 |
</constant>
|
7532 |
+
<constant namespace="global" line="221" package="Media Library Assistant">
|
7533 |
<name>MLA_MEDIA_MODAL_ORDER</name>
|
7534 |
<full_name>MLA_MEDIA_MODAL_ORDER</full_name>
|
7535 |
<value><![CDATA['media_modal_order']]></value>
|
7536 |
+
<docblock line="218">
|
7537 |
<description><![CDATA[Provides a unique name for the Media Manager order option]]></description>
|
7538 |
<long-description><![CDATA[]]></long-description>
|
7539 |
</docblock>
|
7540 |
</constant>
|
7541 |
+
<constant namespace="global" line="226" package="Media Library Assistant">
|
7542 |
<name>MLA_POST_MIME_TYPES</name>
|
7543 |
<full_name>MLA_POST_MIME_TYPES</full_name>
|
7544 |
<value><![CDATA['post_mime_types']]></value>
|
7545 |
+
<docblock line="223">
|
7546 |
<description><![CDATA[Provides a unique name for the Post MIME Types option]]></description>
|
7547 |
<long-description><![CDATA[]]></long-description>
|
7548 |
</docblock>
|
7549 |
</constant>
|
7550 |
+
<constant namespace="global" line="231" package="Media Library Assistant">
|
7551 |
<name>MLA_ENABLE_POST_MIME_TYPES</name>
|
7552 |
<full_name>MLA_ENABLE_POST_MIME_TYPES</full_name>
|
7553 |
<value><![CDATA['enable_post_mime_types']]></value>
|
7554 |
+
<docblock line="228">
|
7555 |
<description><![CDATA[Provides a unique name for the Enable Post MIME Types option]]></description>
|
7556 |
<long-description><![CDATA[]]></long-description>
|
7557 |
</docblock>
|
7558 |
</constant>
|
7559 |
+
<constant namespace="global" line="236" package="Media Library Assistant">
|
7560 |
<name>MLA_UPLOAD_MIMES</name>
|
7561 |
<full_name>MLA_UPLOAD_MIMES</full_name>
|
7562 |
<value><![CDATA['upload_mimes']]></value>
|
7563 |
+
<docblock line="233">
|
7564 |
<description><![CDATA[Provides a unique name for the Upload MIME Types option]]></description>
|
7565 |
<long-description><![CDATA[]]></long-description>
|
7566 |
</docblock>
|
7567 |
</constant>
|
7568 |
+
<constant namespace="global" line="241" package="Media Library Assistant">
|
7569 |
<name>MLA_ENABLE_UPLOAD_MIMES</name>
|
7570 |
<full_name>MLA_ENABLE_UPLOAD_MIMES</full_name>
|
7571 |
<value><![CDATA['enable_upload_mimes']]></value>
|
7572 |
+
<docblock line="238">
|
7573 |
<description><![CDATA[Provides a unique name for the Enable Upload MIME Types option]]></description>
|
7574 |
<long-description><![CDATA[]]></long-description>
|
7575 |
</docblock>
|
7576 |
</constant>
|
7577 |
+
<constant namespace="global" line="246" package="Media Library Assistant">
|
7578 |
<name>MLA_ENABLE_MLA_ICONS</name>
|
7579 |
<full_name>MLA_ENABLE_MLA_ICONS</full_name>
|
7580 |
<value><![CDATA['enable_mla_icons']]></value>
|
7581 |
+
<docblock line="243">
|
7582 |
<description><![CDATA[Provides a unique name for the Enable MLA Icons option]]></description>
|
7583 |
<long-description><![CDATA[]]></long-description>
|
7584 |
</docblock>
|
7585 |
</constant>
|
7586 |
+
<property final="false" static="true" visibility="public" line="257" namespace="global" package="Media Library Assistant">
|
7587 |
<name>$process_featured_in</name>
|
7588 |
<default><![CDATA[true]]></default>
|
7589 |
+
<docblock line="248">
|
7590 |
<description><![CDATA[Option setting for "Featured in" reporting]]></description>
|
7591 |
<long-description><![CDATA[<p>This setting is false if the "Featured in" database access setting is "disabled", else true.</p>]]></long-description>
|
7592 |
+
<tag line="248" name="since" description="1.00"/>
|
7593 |
+
<tag line="248" name="var" description="" type="boolean">
|
7594 |
<type by_reference="false">boolean</type>
|
7595 |
</tag>
|
7596 |
</docblock>
|
7597 |
</property>
|
7598 |
+
<property final="false" static="true" visibility="public" line="268" namespace="global" package="Media Library Assistant">
|
7599 |
<name>$process_inserted_in</name>
|
7600 |
<default><![CDATA[true]]></default>
|
7601 |
+
<docblock line="259">
|
7602 |
<description><![CDATA[Option setting for "Inserted in" reporting]]></description>
|
7603 |
<long-description><![CDATA[<p>This setting is false if the "Inserted in" database access setting is "disabled", else true.</p>]]></long-description>
|
7604 |
+
<tag line="259" name="since" description="1.00"/>
|
7605 |
+
<tag line="259" name="var" description="" type="boolean">
|
7606 |
<type by_reference="false">boolean</type>
|
7607 |
</tag>
|
7608 |
</docblock>
|
7609 |
</property>
|
7610 |
+
<property final="false" static="true" visibility="public" line="279" namespace="global" package="Media Library Assistant">
|
7611 |
<name>$process_gallery_in</name>
|
7612 |
<default><![CDATA[true]]></default>
|
7613 |
+
<docblock line="270">
|
7614 |
<description><![CDATA[Option setting for "Gallery in" reporting]]></description>
|
7615 |
<long-description><![CDATA[<p>This setting is false if the "Gallery in" database access setting is "disabled", else true.</p>]]></long-description>
|
7616 |
+
<tag line="270" name="since" description="1.00"/>
|
7617 |
+
<tag line="270" name="var" description="" type="boolean">
|
7618 |
<type by_reference="false">boolean</type>
|
7619 |
</tag>
|
7620 |
</docblock>
|
7621 |
</property>
|
7622 |
+
<property final="false" static="true" visibility="public" line="290" namespace="global" package="Media Library Assistant">
|
7623 |
<name>$process_mla_gallery_in</name>
|
7624 |
<default><![CDATA[true]]></default>
|
7625 |
+
<docblock line="281">
|
7626 |
<description><![CDATA[Option setting for "MLA Gallery in" reporting]]></description>
|
7627 |
<long-description><![CDATA[<p>This setting is false if the "MLA Gallery in" database access setting is "disabled", else true.</p>]]></long-description>
|
7628 |
+
<tag line="281" name="since" description="1.00"/>
|
7629 |
+
<tag line="281" name="var" description="" type="boolean">
|
7630 |
<type by_reference="false">boolean</type>
|
7631 |
</tag>
|
7632 |
</docblock>
|
7633 |
</property>
|
7634 |
+
<property final="false" static="true" visibility="public" line="322" namespace="global" package="Media Library Assistant">
|
7635 |
<name>$mla_option_definitions</name>
|
7636 |
<default><![CDATA[array()]]></default>
|
7637 |
+
<docblock line="292">
|
7638 |
<description><![CDATA[$mla_option_definitions defines the database options and admin page areas for setting/updating them]]></description>
|
7639 |
<long-description><![CDATA[<p>The array must be populated at runtime in MLAOptions::mla_localize_option_definitions_array(),
|
7640 |
because Localization calls cannot be placed in the "public static" array definition itself.</p>
|
7663 |
$message = ['reset']( 'reset', $key, $value, $_REQUEST );</p>]]></long-description>
|
7664 |
</docblock>
|
7665 |
</property>
|
7666 |
+
<property final="false" static="true" visibility="private" line="369" namespace="global" package="Media Library Assistant">
|
7667 |
<name>$mla_option_templates</name>
|
7668 |
<default><![CDATA[null]]></default>
|
7669 |
+
<docblock line="362">
|
7670 |
<description><![CDATA[Style and Markup templates]]></description>
|
7671 |
<long-description><![CDATA[]]></long-description>
|
7672 |
+
<tag line="362" name="since" description="0.80"/>
|
7673 |
+
<tag line="362" name="var" description="" type="array">
|
7674 |
<type by_reference="false">array</type>
|
7675 |
</tag>
|
7676 |
</docblock>
|
7677 |
</property>
|
7678 |
+
<property final="false" static="true" visibility="private" line="1983" namespace="global" package="Media Library Assistant">
|
7679 |
<name>$add_attachment_id</name>
|
7680 |
<default><![CDATA[0]]></default>
|
7681 |
+
<docblock line="1973">
|
7682 |
<description><![CDATA[Attachment ID passed from mla_add_attachment_action to mla_update_attachment_metadata_filter]]></description>
|
7683 |
<long-description><![CDATA[<p>Ensures that IPTC/EXIF and Custom Field mapping is only performed when the attachment is first
|
7684 |
added to the Media Library.</p>]]></long-description>
|
7685 |
+
<tag line="1973" name="since" description="1.70"/>
|
7686 |
+
<tag line="1973" name="var" description="" type="integer">
|
7687 |
<type by_reference="false">integer</type>
|
7688 |
</tag>
|
7689 |
</docblock>
|
7690 |
</property>
|
7691 |
+
<property final="false" static="true" visibility="private" line="3035" namespace="global" package="Media Library Assistant">
|
7692 |
<name>$custom_field_data_sources</name>
|
7693 |
<default><![CDATA[array('post_id', 'post_author', 'post_date', 'post_date_gmt', 'post_content', 'post_title', 'post_excerpt', 'post_status', 'comment_status', 'ping_status', 'post_name', 'post_modified', 'post_modified_gmt', 'post_content_filtered', 'parent', 'post_parent', 'guid', 'menu_order', 'mime_type', 'post_mime_type', 'comment_count', 'absolute_path', 'absolute_file_name', 'base_file', 'path', 'file_name', 'name_only', 'extension', 'file_size', 'upload_date', 'dimensions', 'pixels', 'width', 'height', 'orientation', 'hwstring_small', 'size_keys', 'size_names', 'size_bytes', 'size_pixels', 'size_dimensions', 'size_name[size]', 'size_bytes[size]', 'size_pixels[size]', 'size_dimensions[size]', 'parent_date', 'parent_type', 'parent_title', 'parent_issues', 'reference_issues', 'featured_in', 'featured_in_title', 'inserted_in', 'inserted_in_title', 'gallery_in', 'gallery_in_title', 'mla_gallery_in', 'mla_gallery_in_title', 'aperture', 'credit', 'camera', 'caption', 'created_timestamp', 'copyright', 'focal_length', 'iso', 'shutter_speed', 'title')]]></default>
|
7694 |
+
<docblock line="3028">
|
7695 |
<description><![CDATA[Array of Data Source names for custom field mapping]]></description>
|
7696 |
<long-description><![CDATA[]]></long-description>
|
7697 |
+
<tag line="3028" name="since" description="1.10"/>
|
7698 |
+
<tag line="3028" name="var" description="" type="array">
|
7699 |
<type by_reference="false">array</type>
|
7700 |
</tag>
|
7701 |
</docblock>
|
7702 |
</property>
|
7703 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="331" package="Media Library Assistant">
|
7704 |
<name>initialize</name>
|
7705 |
<full_name>initialize</full_name>
|
7706 |
+
<docblock line="324">
|
7707 |
<description><![CDATA[Initialization function, similar to __construct()]]></description>
|
7708 |
<long-description><![CDATA[]]></long-description>
|
7709 |
+
<tag line="324" name="since" description="1.00"/>
|
7710 |
+
<tag line="324" name="return" description="" type="void">
|
7711 |
<type by_reference="false">void</type>
|
7712 |
</tag>
|
7713 |
</docblock>
|
7714 |
</method>
|
7715 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="378" package="Media Library Assistant">
|
7716 |
<name>_load_option_templates</name>
|
7717 |
<full_name>_load_option_templates</full_name>
|
7718 |
+
<docblock line="371">
|
7719 |
<description><![CDATA[Load style and markup templates to $mla_templates]]></description>
|
7720 |
<long-description><![CDATA[]]></long-description>
|
7721 |
+
<tag line="371" name="since" description="0.80"/>
|
7722 |
+
<tag line="371" name="return" description="" type="void">
|
7723 |
<type by_reference="false">void</type>
|
7724 |
</tag>
|
7725 |
</docblock>
|
7726 |
</method>
|
7727 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="425" package="Media Library Assistant">
|
7728 |
<name>mla_localize_option_definitions_array</name>
|
7729 |
<full_name>mla_localize_option_definitions_array</full_name>
|
7730 |
+
<docblock line="415">
|
7731 |
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
7732 |
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
7733 |
in the "public static" array definition itself.</p>]]></long-description>
|
7734 |
+
<tag line="415" name="since" description="1.70"/>
|
7735 |
+
<tag line="415" name="return" description="" type="void">
|
7736 |
+
<type by_reference="false">void</type>
|
7737 |
+
</tag>
|
7738 |
+
</docblock>
|
7739 |
+
</method>
|
7740 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1230" package="Media Library Assistant">
|
7741 |
+
<name>mla_initialize_tax_checked_on_top</name>
|
7742 |
+
<full_name>mla_initialize_tax_checked_on_top</full_name>
|
7743 |
+
<docblock line="1221">
|
7744 |
+
<description><![CDATA[Initialize "tax_checked_on_top" => "checked" default for all supported taxonomies]]></description>
|
7745 |
+
<long-description><![CDATA[<p>Called after all taxonomies are registered, e.g., in MLAObjects::_build_taxonomies.</p>]]></long-description>
|
7746 |
+
<tag line="1221" name="since" description="2.02"/>
|
7747 |
+
<tag line="1221" name="return" description="" type="void">
|
7748 |
<type by_reference="false">void</type>
|
7749 |
</tag>
|
7750 |
</docblock>
|
7751 |
</method>
|
7752 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1256" package="Media Library Assistant">
|
7753 |
<name>mla_fetch_gallery_template</name>
|
7754 |
<full_name>mla_fetch_gallery_template</full_name>
|
7755 |
+
<docblock line="1246">
|
7756 |
<description><![CDATA[Fetch style or markup template from $mla_templates]]></description>
|
7757 |
<long-description><![CDATA[]]></long-description>
|
7758 |
+
<tag line="1246" name="since" description="0.80"/>
|
7759 |
+
<tag line="1246" name="param" description="Template name" type="string" variable="$key">
|
7760 |
<type by_reference="false">string</type>
|
7761 |
</tag>
|
7762 |
+
<tag line="1246" name="param" description="Template type; 'style' (default) or 'markup'" type="string" variable="$type">
|
7763 |
<type by_reference="false">string</type>
|
7764 |
</tag>
|
7765 |
+
<tag line="1246" name="return" description="requested template, false if not found or null if no templates" type="string|boolean|null">
|
7766 |
<type by_reference="false">string</type>
|
7767 |
<type by_reference="false">boolean</type>
|
7768 |
<type by_reference="false">null</type>
|
7769 |
</tag>
|
7770 |
</docblock>
|
7771 |
+
<argument line="1256">
|
7772 |
<name>$key</name>
|
7773 |
<default><![CDATA[]]></default>
|
7774 |
<type/>
|
7775 |
</argument>
|
7776 |
+
<argument line="1256">
|
7777 |
<name>$type</name>
|
7778 |
<default><![CDATA['style']]></default>
|
7779 |
<type/>
|
7780 |
</argument>
|
7781 |
</method>
|
7782 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1278" package="Media Library Assistant">
|
7783 |
<name>mla_get_style_templates</name>
|
7784 |
<full_name>mla_get_style_templates</full_name>
|
7785 |
+
<docblock line="1271">
|
7786 |
<description><![CDATA[Get ALL style templates from $mla_templates, including 'default']]></description>
|
7787 |
<long-description><![CDATA[]]></long-description>
|
7788 |
+
<tag line="1271" name="since" description="0.80"/>
|
7789 |
+
<tag line="1271" name="return" description="name => value for all style templates or null if no templates" type="array|null">
|
7790 |
<type by_reference="false">array</type>
|
7791 |
<type by_reference="false">null</type>
|
7792 |
</tag>
|
7793 |
</docblock>
|
7794 |
</method>
|
7795 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1304" package="Media Library Assistant">
|
7796 |
<name>mla_put_style_templates</name>
|
7797 |
<full_name>mla_put_style_templates</full_name>
|
7798 |
+
<docblock line="1296">
|
7799 |
<description><![CDATA[Put user-defined style templates to $mla_templates and database]]></description>
|
7800 |
<long-description><![CDATA[]]></long-description>
|
7801 |
+
<tag line="1296" name="since" description="0.80"/>
|
7802 |
+
<tag line="1296" name="param" description="name => value for all user-defined style templates" type="array" variable="$templates">
|
7803 |
<type by_reference="false">array</type>
|
7804 |
</tag>
|
7805 |
+
<tag line="1296" name="return" description="true if success, false if failure" type="boolean">
|
7806 |
<type by_reference="false">boolean</type>
|
7807 |
</tag>
|
7808 |
</docblock>
|
7809 |
+
<argument line="1304">
|
7810 |
<name>$templates</name>
|
7811 |
<default><![CDATA[]]></default>
|
7812 |
<type/>
|
7813 |
</argument>
|
7814 |
</method>
|
7815 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1320" package="Media Library Assistant">
|
7816 |
<name>mla_get_markup_templates</name>
|
7817 |
<full_name>mla_get_markup_templates</full_name>
|
7818 |
+
<docblock line="1313">
|
7819 |
<description><![CDATA[Get ALL markup templates from $mla_templates, including 'default']]></description>
|
7820 |
<long-description><![CDATA[]]></long-description>
|
7821 |
+
<tag line="1313" name="since" description="0.80"/>
|
7822 |
+
<tag line="1313" name="return" description="name => value for all markup templates or null if no templates" type="array|null">
|
7823 |
<type by_reference="false">array</type>
|
7824 |
<type by_reference="false">null</type>
|
7825 |
</tag>
|
7826 |
</docblock>
|
7827 |
</method>
|
7828 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1375" package="Media Library Assistant">
|
7829 |
<name>mla_put_markup_templates</name>
|
7830 |
<full_name>mla_put_markup_templates</full_name>
|
7831 |
+
<docblock line="1367">
|
7832 |
<description><![CDATA[Put user-defined markup templates to $mla_templates and database]]></description>
|
7833 |
<long-description><![CDATA[]]></long-description>
|
7834 |
+
<tag line="1367" name="since" description="0.80"/>
|
7835 |
+
<tag line="1367" name="param" description="name => value for all user-defined markup templates" type="array" variable="$templates">
|
7836 |
<type by_reference="false">array</type>
|
7837 |
</tag>
|
7838 |
+
<tag line="1367" name="return" description="true if success, false if failure" type="boolean">
|
7839 |
<type by_reference="false">boolean</type>
|
7840 |
</tag>
|
7841 |
</docblock>
|
7842 |
+
<argument line="1375">
|
7843 |
<name>$templates</name>
|
7844 |
<default><![CDATA[]]></default>
|
7845 |
<type/>
|
7846 |
</argument>
|
7847 |
</method>
|
7848 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1395" package="Media Library Assistant">
|
7849 |
<name>mla_get_option</name>
|
7850 |
<full_name>mla_get_option</full_name>
|
7851 |
+
<docblock line="1384">
|
7852 |
<description><![CDATA[Return the stored value or default value of a defined MLA option]]></description>
|
7853 |
<long-description><![CDATA[]]></long-description>
|
7854 |
+
<tag line="1384" name="since" description="0.1"/>
|
7855 |
+
<tag line="1384" name="param" description="Name of the desired option" type="string" variable="$option">
|
7856 |
<type by_reference="false">string</type>
|
7857 |
</tag>
|
7858 |
+
<tag line="1384" name="param" description="True to ignore current setting and return default values" type="boolean" variable="$get_default">
|
7859 |
<type by_reference="false">boolean</type>
|
7860 |
</tag>
|
7861 |
+
<tag line="1384" name="param" description="True to ignore default values and return only stored values" type="boolean" variable="$get_stored">
|
7862 |
<type by_reference="false">boolean</type>
|
7863 |
</tag>
|
7864 |
+
<tag line="1384" name="return" description="Value(s) for the option or false if the option is not a defined MLA option" type="mixed">
|
7865 |
<type by_reference="false">mixed</type>
|
7866 |
</tag>
|
7867 |
</docblock>
|
7868 |
+
<argument line="1395">
|
7869 |
<name>$option</name>
|
7870 |
<default><![CDATA[]]></default>
|
7871 |
<type/>
|
7872 |
</argument>
|
7873 |
+
<argument line="1395">
|
7874 |
<name>$get_default</name>
|
7875 |
<default><![CDATA[false]]></default>
|
7876 |
<type/>
|
7877 |
</argument>
|
7878 |
+
<argument line="1395">
|
7879 |
<name>$get_stored</name>
|
7880 |
<default><![CDATA[false]]></default>
|
7881 |
<type/>
|
7882 |
</argument>
|
7883 |
</method>
|
7884 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1425" package="Media Library Assistant">
|
7885 |
<name>mla_update_option</name>
|
7886 |
<full_name>mla_update_option</full_name>
|
7887 |
+
<docblock line="1415">
|
7888 |
<description><![CDATA[Add or update the stored value of a defined MLA option]]></description>
|
7889 |
<long-description><![CDATA[]]></long-description>
|
7890 |
+
<tag line="1415" name="since" description="0.1"/>
|
7891 |
+
<tag line="1415" name="param" description="Name of the desired option" type="string" variable="$option">
|
7892 |
<type by_reference="false">string</type>
|
7893 |
</tag>
|
7894 |
+
<tag line="1415" name="param" description="New value for the desired option" type="mixed" variable="$newvalue">
|
7895 |
<type by_reference="false">mixed</type>
|
7896 |
</tag>
|
7897 |
+
<tag line="1415" name="return" description="True if the value was changed or false if the update failed" type="boolean">
|
7898 |
<type by_reference="false">boolean</type>
|
7899 |
</tag>
|
7900 |
</docblock>
|
7901 |
+
<argument line="1425">
|
7902 |
<name>$option</name>
|
7903 |
<default><![CDATA[]]></default>
|
7904 |
<type/>
|
7905 |
</argument>
|
7906 |
+
<argument line="1425">
|
7907 |
<name>$newvalue</name>
|
7908 |
<default><![CDATA[]]></default>
|
7909 |
<type/>
|
7910 |
</argument>
|
7911 |
</method>
|
7912 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1442" package="Media Library Assistant">
|
7913 |
<name>mla_delete_option</name>
|
7914 |
<full_name>mla_delete_option</full_name>
|
7915 |
+
<docblock line="1433">
|
7916 |
<description><![CDATA[Delete the stored value of a defined MLA option]]></description>
|
7917 |
<long-description><![CDATA[]]></long-description>
|
7918 |
+
<tag line="1433" name="since" description="0.1"/>
|
7919 |
+
<tag line="1433" name="param" description="Name of the desired option" type="string" variable="$option">
|
7920 |
<type by_reference="false">string</type>
|
7921 |
</tag>
|
7922 |
+
<tag line="1433" name="return" description="True if the option was deleted, otherwise false" type="boolean">
|
7923 |
<type by_reference="false">boolean</type>
|
7924 |
</tag>
|
7925 |
</docblock>
|
7926 |
+
<argument line="1442">
|
7927 |
<name>$option</name>
|
7928 |
<default><![CDATA[]]></default>
|
7929 |
<type/>
|
7930 |
</argument>
|
7931 |
</method>
|
7932 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1463" package="Media Library Assistant">
|
7933 |
<name>mla_taxonomy_support</name>
|
7934 |
<full_name>mla_taxonomy_support</full_name>
|
7935 |
+
<docblock line="1450">
|
7936 |
<description><![CDATA[Determine MLA support for a taxonomy, handling the special case where the
|
7937 |
settings are being updated or reset.]]></description>
|
7938 |
<long-description><![CDATA[]]></long-description>
|
7939 |
+
<tag line="1450" name="since" description="0.30"/>
|
7940 |
+
<tag line="1450" name="param" description="Taxonomy name, e.g., attachment_category" type="string" variable="$tax_name">
|
7941 |
<type by_reference="false">string</type>
|
7942 |
</tag>
|
7943 |
+
<tag line="1450" name="param" description="Optional. 'support' (default), 'quick-edit' or 'filter'" type="string" variable="$support_type">
|
7944 |
<type by_reference="false">string</type>
|
7945 |
</tag>
|
7946 |
+
<tag line="1450" name="return" description="true if the taxonomy is supported in this way else false. string if $tax_name is '' and $support_type is 'filter', returns the taxonomy to filter by." type="boolean|string">
|
7947 |
<type by_reference="false">boolean</type>
|
7948 |
<type by_reference="false">string</type>
|
7949 |
</tag>
|
7950 |
</docblock>
|
7951 |
+
<argument line="1463">
|
7952 |
<name>$tax_name</name>
|
7953 |
<default><![CDATA[]]></default>
|
7954 |
<type/>
|
7955 |
</argument>
|
7956 |
+
<argument line="1463">
|
7957 |
<name>$support_type</name>
|
7958 |
<default><![CDATA['support']]></default>
|
7959 |
<type/>
|
7960 |
</argument>
|
7961 |
</method>
|
7962 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1540" package="Media Library Assistant">
|
7963 |
<name>mla_supported_taxonomies</name>
|
7964 |
<full_name>mla_supported_taxonomies</full_name>
|
7965 |
+
<docblock line="1531">
|
7966 |
<description><![CDATA[Returns an array of taxonomy names assigned to $support_type]]></description>
|
7967 |
<long-description><![CDATA[]]></long-description>
|
7968 |
+
<tag line="1531" name="since" description="1.90"/>
|
7969 |
+
<tag line="1531" name="param" description="Optional. 'support' (default), 'quick-edit', 'flat-checklist', 'term-search' or 'filter'" type="string" variable="$support_type">
|
7970 |
<type by_reference="false">string</type>
|
7971 |
</tag>
|
7972 |
+
<tag line="1531" name="return" description="taxonomies assigned to $support_type; can be empty." type="array">
|
7973 |
<type by_reference="false">array</type>
|
7974 |
</tag>
|
7975 |
</docblock>
|
7976 |
+
<argument line="1540">
|
7977 |
<name>$support_type</name>
|
7978 |
<default><![CDATA['support']]></default>
|
7979 |
<type/>
|
7980 |
</argument>
|
7981 |
</method>
|
7982 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1609" package="Media Library Assistant">
|
7983 |
<name>mla_attachment_display_settings_option_handler</name>
|
7984 |
<full_name>mla_attachment_display_settings_option_handler</full_name>
|
7985 |
+
<docblock line="1596">
|
7986 |
<description><![CDATA[Render and manage Attachment Display Settings options; alignment, link type and size]]></description>
|
7987 |
<long-description><![CDATA[]]></long-description>
|
7988 |
+
<tag line="1596" name="since" description="1.71"/>
|
7989 |
+
<tag line="1596" name="uses" description="\global\MLASettings::$page_template_array" refers="\global\MLASettings::$page_template_array"/>
|
7990 |
+
<tag line="1596" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
|
7991 |
<type by_reference="false">string</type>
|
7992 |
</tag>
|
7993 |
+
<tag line="1596" name="param" description="option name, e.g., 'image_default_align'" type="string" variable="$key">
|
7994 |
<type by_reference="false">string</type>
|
7995 |
</tag>
|
7996 |
+
<tag line="1596" name="param" description="option parameters" type="array" variable="$value">
|
7997 |
<type by_reference="false">array</type>
|
7998 |
</tag>
|
7999 |
+
<tag line="1596" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
|
8000 |
<type by_reference="false">array</type>
|
8001 |
</tag>
|
8002 |
+
<tag line="1596" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
|
8003 |
<type by_reference="false">string</type>
|
8004 |
</tag>
|
8005 |
</docblock>
|
8006 |
+
<argument line="1609">
|
8007 |
<name>$action</name>
|
8008 |
<default><![CDATA[]]></default>
|
8009 |
<type/>
|
8010 |
</argument>
|
8011 |
+
<argument line="1609">
|
8012 |
<name>$key</name>
|
8013 |
<default><![CDATA[]]></default>
|
8014 |
<type/>
|
8015 |
</argument>
|
8016 |
+
<argument line="1609">
|
8017 |
<name>$value</name>
|
8018 |
<default><![CDATA[]]></default>
|
8019 |
<type/>
|
8020 |
</argument>
|
8021 |
+
<argument line="1609">
|
8022 |
<name>$args</name>
|
8023 |
<default><![CDATA[null]]></default>
|
8024 |
<type/>
|
8025 |
</argument>
|
8026 |
</method>
|
8027 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1673" package="Media Library Assistant">
|
8028 |
<name>mla_taxonomy_option_handler</name>
|
8029 |
<full_name>mla_taxonomy_option_handler</full_name>
|
8030 |
+
<docblock line="1660">
|
8031 |
<description><![CDATA[Render and manage taxonomy support options, e.g., Categories and Post Tags]]></description>
|
8032 |
<long-description><![CDATA[]]></long-description>
|
8033 |
+
<tag line="1660" name="since" description="0.30"/>
|
8034 |
+
<tag line="1660" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8035 |
+
<tag line="1660" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
|
8036 |
<type by_reference="false">string</type>
|
8037 |
</tag>
|
8038 |
+
<tag line="1660" name="param" description="option name, e.g., 'tax_support', or 'tax_flat_checklist'" type="string" variable="$key">
|
8039 |
<type by_reference="false">string</type>
|
8040 |
</tag>
|
8041 |
+
<tag line="1660" name="param" description="option parameters" type="array" variable="$value">
|
8042 |
<type by_reference="false">array</type>
|
8043 |
</tag>
|
8044 |
+
<tag line="1660" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
|
8045 |
<type by_reference="false">array</type>
|
8046 |
</tag>
|
8047 |
+
<tag line="1660" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
|
8048 |
<type by_reference="false">string</type>
|
8049 |
</tag>
|
8050 |
</docblock>
|
8051 |
+
<argument line="1673">
|
8052 |
<name>$action</name>
|
8053 |
<default><![CDATA[]]></default>
|
8054 |
<type/>
|
8055 |
</argument>
|
8056 |
+
<argument line="1673">
|
8057 |
<name>$key</name>
|
8058 |
<default><![CDATA[]]></default>
|
8059 |
<type/>
|
8060 |
</argument>
|
8061 |
+
<argument line="1673">
|
8062 |
<name>$value</name>
|
8063 |
<default><![CDATA[]]></default>
|
8064 |
<type/>
|
8065 |
</argument>
|
8066 |
+
<argument line="1673">
|
8067 |
<name>$args</name>
|
8068 |
<default><![CDATA[null]]></default>
|
8069 |
<type/>
|
8070 |
</argument>
|
8071 |
</method>
|
8072 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1850" package="Media Library Assistant">
|
8073 |
<name>mla_search_option_handler</name>
|
8074 |
<full_name>mla_search_option_handler</full_name>
|
8075 |
+
<docblock line="1837">
|
8076 |
<description><![CDATA[Render and manage Search box options, e.g., connector and search fields]]></description>
|
8077 |
<long-description><![CDATA[]]></long-description>
|
8078 |
+
<tag line="1837" name="since" description="1.90"/>
|
8079 |
+
<tag line="1837" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8080 |
+
<tag line="1837" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
|
8081 |
<type by_reference="false">string</type>
|
8082 |
</tag>
|
8083 |
+
<tag line="1837" name="param" description="option name; 'search_connector' or 'search_fields'" type="string" variable="$key">
|
8084 |
<type by_reference="false">string</type>
|
8085 |
</tag>
|
8086 |
+
<tag line="1837" name="param" description="option parameters" type="array" variable="$value">
|
8087 |
<type by_reference="false">array</type>
|
8088 |
</tag>
|
8089 |
+
<tag line="1837" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
|
8090 |
<type by_reference="false">array</type>
|
8091 |
</tag>
|
8092 |
+
<tag line="1837" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
|
8093 |
<type by_reference="false">string</type>
|
8094 |
</tag>
|
8095 |
</docblock>
|
8096 |
+
<argument line="1850">
|
8097 |
<name>$action</name>
|
8098 |
<default><![CDATA[]]></default>
|
8099 |
<type/>
|
8100 |
</argument>
|
8101 |
+
<argument line="1850">
|
8102 |
<name>$key</name>
|
8103 |
<default><![CDATA[]]></default>
|
8104 |
<type/>
|
8105 |
</argument>
|
8106 |
+
<argument line="1850">
|
8107 |
<name>$value</name>
|
8108 |
<default><![CDATA[]]></default>
|
8109 |
<type/>
|
8110 |
</argument>
|
8111 |
+
<argument line="1850">
|
8112 |
<name>$args</name>
|
8113 |
<default><![CDATA[null]]></default>
|
8114 |
<type/>
|
8115 |
</argument>
|
8116 |
</method>
|
8117 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1921" package="Media Library Assistant">
|
8118 |
<name>mla_wp_handle_upload_prefilter_filter</name>
|
8119 |
<full_name>mla_wp_handle_upload_prefilter_filter</full_name>
|
8120 |
+
<docblock line="1912">
|
8121 |
<description><![CDATA[Examine or alter the filename before the file is made permanent]]></description>
|
8122 |
<long-description><![CDATA[]]></long-description>
|
8123 |
+
<tag line="1912" name="since" description="1.70"/>
|
8124 |
+
<tag line="1912" name="param" description="file parameters ( 'name' )" type="array" variable="$file">
|
8125 |
<type by_reference="false">array</type>
|
8126 |
</tag>
|
8127 |
+
<tag line="1912" name="return" description="updated file parameters" type="array">
|
8128 |
<type by_reference="false">array</type>
|
8129 |
</tag>
|
8130 |
</docblock>
|
8131 |
+
<argument line="1921">
|
8132 |
<name>$file</name>
|
8133 |
<default><![CDATA[]]></default>
|
8134 |
<type/>
|
8135 |
</argument>
|
8136 |
</method>
|
8137 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1952" package="Media Library Assistant">
|
8138 |
<name>mla_wp_handle_upload_filter</name>
|
8139 |
<full_name>mla_wp_handle_upload_filter</full_name>
|
8140 |
+
<docblock line="1943">
|
8141 |
<description><![CDATA[Called once for each file uploaded]]></description>
|
8142 |
<long-description><![CDATA[]]></long-description>
|
8143 |
+
<tag line="1943" name="since" description="1.70"/>
|
8144 |
+
<tag line="1943" name="param" description="file parameters ( 'name' )" type="array" variable="$file">
|
8145 |
<type by_reference="false">array</type>
|
8146 |
</tag>
|
8147 |
+
<tag line="1943" name="return" description="updated file parameters" type="array">
|
8148 |
<type by_reference="false">array</type>
|
8149 |
</tag>
|
8150 |
</docblock>
|
8151 |
+
<argument line="1952">
|
8152 |
<name>$file</name>
|
8153 |
<default><![CDATA[]]></default>
|
8154 |
<type/>
|
8155 |
</argument>
|
8156 |
</method>
|
8157 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1996" package="Media Library Assistant">
|
8158 |
<name>mla_add_attachment_action</name>
|
8159 |
<full_name>mla_add_attachment_action</full_name>
|
8160 |
+
<docblock line="1985">
|
8161 |
<description><![CDATA[Set $add_attachment_id to just-inserted attachment]]></description>
|
8162 |
<long-description><![CDATA[<p>All of the actual processing is done later, in mla_update_attachment_metadata_filter.</p>]]></long-description>
|
8163 |
+
<tag line="1985" name="since" description="1.00"/>
|
8164 |
+
<tag line="1985" name="param" description="ID of just-inserted attachment" type="integer" variable="$post_ID">
|
8165 |
<type by_reference="false">integer</type>
|
8166 |
</tag>
|
8167 |
+
<tag line="1985" name="return" description="" type="void">
|
8168 |
<type by_reference="false">void</type>
|
8169 |
</tag>
|
8170 |
</docblock>
|
8171 |
+
<argument line="1996">
|
8172 |
<name>$post_ID</name>
|
8173 |
<default><![CDATA[]]></default>
|
8174 |
<type/>
|
8175 |
</argument>
|
8176 |
</method>
|
8177 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2011" package="Media Library Assistant">
|
8178 |
<name>_update_attachment_metadata</name>
|
8179 |
<full_name>_update_attachment_metadata</full_name>
|
8180 |
+
<docblock line="2001">
|
8181 |
<description><![CDATA[Update _wp_attachment_metadata for just-inserted attachment]]></description>
|
8182 |
<long-description><![CDATA[]]></long-description>
|
8183 |
+
<tag line="2001" name="since" description="1.70"/>
|
8184 |
+
<tag line="2001" name="param" description="Attachment metadata updates" type="array" variable="$updates">
|
8185 |
<type by_reference="false">array</type>
|
8186 |
</tag>
|
8187 |
+
<tag line="2001" name="param" description="Attachment metadata, by reference; updated by this function" type="array" variable="$data">
|
8188 |
<type by_reference="false">array</type>
|
8189 |
</tag>
|
8190 |
+
<tag line="2001" name="return" description="Attachment metadata updates, with "meta:" elements removed" type="array">
|
8191 |
<type by_reference="false">array</type>
|
8192 |
</tag>
|
8193 |
</docblock>
|
8194 |
+
<argument line="2011">
|
8195 |
<name>$updates</name>
|
8196 |
<default><![CDATA[]]></default>
|
8197 |
<type/>
|
8198 |
</argument>
|
8199 |
+
<argument line="2011">
|
8200 |
<name>$data</name>
|
8201 |
<default><![CDATA[]]></default>
|
8202 |
<type/>
|
8203 |
</argument>
|
8204 |
</method>
|
8205 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2047" package="Media Library Assistant">
|
8206 |
<name>mla_update_attachment_metadata_filter</name>
|
8207 |
<full_name>mla_update_attachment_metadata_filter</full_name>
|
8208 |
+
<docblock line="2034">
|
8209 |
<description><![CDATA[Perform IPTC/EXIF and Custom Field mapping on just-inserted attachment]]></description>
|
8210 |
<long-description><![CDATA[<p>This filter tests the $add_attachment_id variable set by the mla_add_attachment_action
|
8211 |
to ensure that mapping is only performed for new additions, not metadata updates.</p>]]></long-description>
|
8212 |
+
<tag line="2034" name="since" description="1.10"/>
|
8213 |
+
<tag line="2034" name="param" description="Attachment metadata for just-inserted attachment" type="array" variable="$data">
|
8214 |
<type by_reference="false">array</type>
|
8215 |
</tag>
|
8216 |
+
<tag line="2034" name="param" description="ID of just-inserted attachment" type="integer" variable="$post_id">
|
8217 |
<type by_reference="false">integer</type>
|
8218 |
</tag>
|
8219 |
+
<tag line="2034" name="return" description="Updated attachment metadata" type="array">
|
8220 |
<type by_reference="false">array</type>
|
8221 |
</tag>
|
8222 |
</docblock>
|
8223 |
+
<argument line="2047">
|
8224 |
<name>$data</name>
|
8225 |
<default><![CDATA[]]></default>
|
8226 |
<type/>
|
8227 |
</argument>
|
8228 |
+
<argument line="2047">
|
8229 |
<name>$post_id</name>
|
8230 |
<default><![CDATA[]]></default>
|
8231 |
<type/>
|
8232 |
</argument>
|
8233 |
</method>
|
8234 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2129" package="Media Library Assistant">
|
8235 |
<name>mla_custom_field_option_value</name>
|
8236 |
<full_name>mla_custom_field_option_value</full_name>
|
8237 |
+
<docblock line="2120">
|
8238 |
<description><![CDATA[Fetch custom field option value given a slug]]></description>
|
8239 |
<long-description><![CDATA[]]></long-description>
|
8240 |
+
<tag line="2120" name="since" description="1.10"/>
|
8241 |
+
<tag line="2120" name="param" description="slug, e.g., 'c_File Size' for the 'File Size' field" type="string" variable="$slug">
|
8242 |
<type by_reference="false">string</type>
|
8243 |
</tag>
|
8244 |
+
<tag line="2120" name="return" description="option value, e.g., array( 'name' => 'File Size', ... )" type="array">
|
8245 |
<type by_reference="false">array</type>
|
8246 |
</tag>
|
8247 |
</docblock>
|
8248 |
+
<argument line="2129">
|
8249 |
<name>$slug</name>
|
8250 |
<default><![CDATA[]]></default>
|
8251 |
<type/>
|
8252 |
</argument>
|
8253 |
</method>
|
8254 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2150" package="Media Library Assistant">
|
8255 |
<name>mla_custom_field_support</name>
|
8256 |
<full_name>mla_custom_field_support</full_name>
|
8257 |
+
<docblock line="2141">
|
8258 |
<description><![CDATA[Evaluate file information for custom field mapping]]></description>
|
8259 |
<long-description><![CDATA[]]></long-description>
|
8260 |
+
<tag line="2141" name="since" description="1.10"/>
|
8261 |
+
<tag line="2141" name="param" description="array format; 'default_columns' (default), 'default_hidden_columns', 'default_sortable_columns', 'quick_edit' or 'bulk_edit'" type="string" variable="$support_type">
|
8262 |
<type by_reference="false">string</type>
|
8263 |
</tag>
|
8264 |
+
<tag line="2141" name="return" description="default, hidden, sortable quick_edit or bulk_edit colums in appropriate format" type="array">
|
8265 |
<type by_reference="false">array</type>
|
8266 |
</tag>
|
8267 |
</docblock>
|
8268 |
+
<argument line="2150">
|
8269 |
<name>$support_type</name>
|
8270 |
<default><![CDATA['default_columns']]></default>
|
8271 |
<type/>
|
8272 |
</argument>
|
8273 |
</method>
|
8274 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2214" package="Media Library Assistant">
|
8275 |
<name>_evaluate_file_information</name>
|
8276 |
<full_name>_evaluate_file_information</full_name>
|
8277 |
+
<docblock line="2202">
|
8278 |
<description><![CDATA[Evaluate file information for custom field mapping]]></description>
|
8279 |
<long-description><![CDATA[]]></long-description>
|
8280 |
+
<tag line="2202" name="since" description="1.10"/>
|
8281 |
+
<tag line="2202" name="param" description="absolute path the the uploads base directory" type="string" variable="$upload_dir">
|
8282 |
<type by_reference="false">string</type>
|
8283 |
</tag>
|
8284 |
+
<tag line="2202" name="param" description="_wp_attached_file meta_value array, indexed by post_id" type="array" variable="$wp_attached_files">
|
8285 |
<type by_reference="false">array</type>
|
8286 |
</tag>
|
8287 |
+
<tag line="2202" name="param" description="_wp_attachment_metadata meta_value array, indexed by post_id" type="array" variable="$wp_attachment_metadata">
|
8288 |
<type by_reference="false">array</type>
|
8289 |
</tag>
|
8290 |
+
<tag line="2202" name="param" description="post->ID of attachment" type="integer" variable="$post_id">
|
8291 |
<type by_reference="false">integer</type>
|
8292 |
</tag>
|
8293 |
+
<tag line="2202" name="return" description="absolute_path_raw, absolute_path, absolute_file_name_raw, absolute_file_name, absolute_file, base_file, path, file_name, extension, dimensions, width, height, hwstring_small, array of intermediate sizes" type="array">
|
8294 |
<type by_reference="false">array</type>
|
8295 |
</tag>
|
8296 |
</docblock>
|
8297 |
+
<argument line="2214">
|
8298 |
<name>$upload_dir</name>
|
8299 |
<default><![CDATA[]]></default>
|
8300 |
<type/>
|
8301 |
</argument>
|
8302 |
+
<argument line="2214">
|
8303 |
<name>$wp_attached_files</name>
|
8304 |
<default><![CDATA[]]></default>
|
8305 |
<type/>
|
8306 |
</argument>
|
8307 |
+
<argument line="2214">
|
8308 |
<name>$wp_attachment_metadata</name>
|
8309 |
<default><![CDATA[]]></default>
|
8310 |
<type/>
|
8311 |
</argument>
|
8312 |
+
<argument line="2214">
|
8313 |
<name>$post_id</name>
|
8314 |
<default><![CDATA[]]></default>
|
8315 |
<type/>
|
8316 |
</argument>
|
8317 |
</method>
|
8318 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2300" package="Media Library Assistant">
|
8319 |
<name>_evaluate_post_information</name>
|
8320 |
<full_name>_evaluate_post_information</full_name>
|
8321 |
+
<docblock line="2289">
|
8322 |
<description><![CDATA[Evaluate post information for custom field mapping]]></description>
|
8323 |
<long-description><![CDATA[]]></long-description>
|
8324 |
+
<tag line="2289" name="since" description="1.40"/>
|
8325 |
+
<tag line="2289" name="param" description="post->ID of attachment" type="integer" variable="$post_id">
|
8326 |
<type by_reference="false">integer</type>
|
8327 |
</tag>
|
8328 |
+
<tag line="2289" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
|
8329 |
<type by_reference="false">string</type>
|
8330 |
</tag>
|
8331 |
+
<tag line="2289" name="param" description="data source name ( post_date or post_parent )" type="string" variable="$data_source">
|
8332 |
<type by_reference="false">string</type>
|
8333 |
</tag>
|
8334 |
+
<tag line="2289" name="return" description="'post_date' => (string) upload date, 'post_parent' => (integer) ID of parent or zero )" type="mixed">
|
8335 |
<type by_reference="false">mixed</type>
|
8336 |
</tag>
|
8337 |
</docblock>
|
8338 |
+
<argument line="2300">
|
8339 |
<name>$post_id</name>
|
8340 |
<default><![CDATA[]]></default>
|
8341 |
<type/>
|
8342 |
</argument>
|
8343 |
+
<argument line="2300">
|
8344 |
<name>$category</name>
|
8345 |
<default><![CDATA[]]></default>
|
8346 |
<type/>
|
8347 |
</argument>
|
8348 |
+
<argument line="2300">
|
8349 |
<name>$data_source</name>
|
8350 |
<default><![CDATA[]]></default>
|
8351 |
<type/>
|
8352 |
</argument>
|
8353 |
</method>
|
8354 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2360" package="Media Library Assistant">
|
8355 |
<name>_evaluate_array_result</name>
|
8356 |
<full_name>_evaluate_array_result</full_name>
|
8357 |
+
<docblock line="2349">
|
8358 |
<description><![CDATA[Evaluate post information for custom field mapping]]></description>
|
8359 |
<long-description><![CDATA[]]></long-description>
|
8360 |
+
<tag line="2349" name="since" description="1.40"/>
|
8361 |
+
<tag line="2349" name="param" description="field value(s)" type="array" variable="$value">
|
8362 |
<type by_reference="false">array</type>
|
8363 |
</tag>
|
8364 |
+
<tag line="2349" name="param" description="format option text|single|export|array|multi" type="string" variable="$option">
|
8365 |
<type by_reference="false">string</type>
|
8366 |
</tag>
|
8367 |
+
<tag line="2349" name="param" description="keep existing value(s) - for 'multi' option" type="boolean" variable="$keep_existing">
|
8368 |
<type by_reference="false">boolean</type>
|
8369 |
</tag>
|
8370 |
+
<tag line="2349" name="return" description="array for option = array|multi else string" type="mixed">
|
8371 |
<type by_reference="false">mixed</type>
|
8372 |
</tag>
|
8373 |
</docblock>
|
8374 |
+
<argument line="2360">
|
8375 |
<name>$value</name>
|
8376 |
<default><![CDATA[]]></default>
|
8377 |
<type/>
|
8378 |
</argument>
|
8379 |
+
<argument line="2360">
|
8380 |
<name>$option</name>
|
8381 |
<default><![CDATA[]]></default>
|
8382 |
<type/>
|
8383 |
</argument>
|
8384 |
+
<argument line="2360">
|
8385 |
<name>$keep_existing</name>
|
8386 |
<default><![CDATA[]]></default>
|
8387 |
<type/>
|
8388 |
</argument>
|
8389 |
</method>
|
8390 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2400" package="Media Library Assistant">
|
8391 |
<name>mla_get_data_source</name>
|
8392 |
<full_name>mla_get_data_source</full_name>
|
8393 |
+
<docblock line="2385">
|
8394 |
<description><![CDATA[Get IPTC/EXIF or custom field mapping data source]]></description>
|
8395 |
<long-description><![CDATA[<p>Defined as public so MLA Mapping Hooks clients can call it.
|
8396 |
Isolates clients from changes to _evaluate_data_source().</p>]]></long-description>
|
8397 |
+
<tag line="2385" name="since" description="1.70"/>
|
8398 |
+
<tag line="2385" name="param" description="post->ID of attachment" type="integer" variable="$post_id">
|
8399 |
<type by_reference="false">integer</type>
|
8400 |
</tag>
|
8401 |
+
<tag line="2385" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
|
8402 |
<type by_reference="false">string</type>
|
8403 |
</tag>
|
8404 |
+
<tag line="2385" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
|
8405 |
<type by_reference="false">array</type>
|
8406 |
</tag>
|
8407 |
+
<tag line="2385" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
|
8408 |
<type by_reference="false">array</type>
|
8409 |
</tag>
|
8410 |
+
<tag line="2385" name="return" description="data source value" type="string|array">
|
8411 |
<type by_reference="false">string</type>
|
8412 |
<type by_reference="false">array</type>
|
8413 |
</tag>
|
8414 |
</docblock>
|
8415 |
+
<argument line="2400">
|
8416 |
<name>$post_id</name>
|
8417 |
<default><![CDATA[]]></default>
|
8418 |
<type/>
|
8419 |
</argument>
|
8420 |
+
<argument line="2400">
|
8421 |
<name>$category</name>
|
8422 |
<default><![CDATA[]]></default>
|
8423 |
<type/>
|
8424 |
</argument>
|
8425 |
+
<argument line="2400">
|
8426 |
<name>$data_value</name>
|
8427 |
<default><![CDATA[]]></default>
|
8428 |
<type/>
|
8429 |
</argument>
|
8430 |
+
<argument line="2400">
|
8431 |
<name>$attachment_metadata</name>
|
8432 |
<default><![CDATA[NULL]]></default>
|
8433 |
<type/>
|
8434 |
</argument>
|
8435 |
</method>
|
8436 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2425" package="Media Library Assistant">
|
8437 |
<name>mla_is_data_source</name>
|
8438 |
<full_name>mla_is_data_source</full_name>
|
8439 |
+
<docblock line="2413">
|
8440 |
<description><![CDATA[Identify custom field mapping data source]]></description>
|
8441 |
<long-description><![CDATA[<p>Determines whether a name matches any of the element-level data source dropdown options, i.e.,
|
8442 |
excludes "template:" and "meta:" values.</p>]]></long-description>
|
8443 |
+
<tag line="2413" name="since" description="1.80"/>
|
8444 |
+
<tag line="2413" name="param" description="candidate data source name" type="string" variable="$candidate_name">
|
8445 |
<type by_reference="false">string</type>
|
8446 |
</tag>
|
8447 |
+
<tag line="2413" name="return" description="true if candidate name matches a data source" type="boolean">
|
8448 |
<type by_reference="false">boolean</type>
|
8449 |
</tag>
|
8450 |
</docblock>
|
8451 |
+
<argument line="2425">
|
8452 |
<name>$candidate_name</name>
|
8453 |
<default><![CDATA[]]></default>
|
8454 |
<type/>
|
8455 |
</argument>
|
8456 |
</method>
|
8457 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2460" package="Media Library Assistant">
|
8458 |
<name>_evaluate_data_source</name>
|
8459 |
<full_name>_evaluate_data_source</full_name>
|
8460 |
+
<docblock line="2448">
|
8461 |
<description><![CDATA[Evaluate custom field mapping data source]]></description>
|
8462 |
<long-description><![CDATA[]]></long-description>
|
8463 |
+
<tag line="2448" name="since" description="1.10"/>
|
8464 |
+
<tag line="2448" name="param" description="post->ID of attachment" type="integer" variable="$post_id">
|
8465 |
<type by_reference="false">integer</type>
|
8466 |
</tag>
|
8467 |
+
<tag line="2448" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
|
8468 |
<type by_reference="false">string</type>
|
8469 |
</tag>
|
8470 |
+
<tag line="2448" name="param" description="data source specification ( name, *data_source, *keep_existing, *format, mla_column, quick_edit, bulk_edit, *meta_name, *option, no_null )" type="array" variable="$data_value">
|
8471 |
<type by_reference="false">array</type>
|
8472 |
</tag>
|
8473 |
+
<tag line="2448" name="param" description="(optional) _wp_attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
|
8474 |
<type by_reference="false">array</type>
|
8475 |
</tag>
|
8476 |
+
<tag line="2448" name="return" description="data source value" type="string|array">
|
8477 |
<type by_reference="false">string</type>
|
8478 |
<type by_reference="false">array</type>
|
8479 |
</tag>
|
8480 |
</docblock>
|
8481 |
+
<argument line="2460">
|
8482 |
<name>$post_id</name>
|
8483 |
<default><![CDATA[]]></default>
|
8484 |
<type/>
|
8485 |
</argument>
|
8486 |
+
<argument line="2460">
|
8487 |
<name>$category</name>
|
8488 |
<default><![CDATA[]]></default>
|
8489 |
<type/>
|
8490 |
</argument>
|
8491 |
+
<argument line="2460">
|
8492 |
<name>$data_value</name>
|
8493 |
<default><![CDATA[]]></default>
|
8494 |
<type/>
|
8495 |
</argument>
|
8496 |
+
<argument line="2460">
|
8497 |
<name>$attachment_metadata</name>
|
8498 |
<default><![CDATA[NULL]]></default>
|
8499 |
<type/>
|
8500 |
</argument>
|
8501 |
</method>
|
8502 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2891" package="Media Library Assistant">
|
8503 |
<name>mla_evaluate_custom_field_mapping</name>
|
8504 |
<full_name>mla_evaluate_custom_field_mapping</full_name>
|
8505 |
+
<docblock line="2879">
|
8506 |
<description><![CDATA[Evaluate custom field mapping updates for a post]]></description>
|
8507 |
<long-description><![CDATA[]]></long-description>
|
8508 |
+
<tag line="2879" name="since" description="1.10"/>
|
8509 |
+
<tag line="2879" name="param" description="post ID to be evaluated" type="integer" variable="$post_id">
|
8510 |
<type by_reference="false">integer</type>
|
8511 |
</tag>
|
8512 |
+
<tag line="2879" name="param" description="category/scope to evaluate against: custom_field_mapping or single_attachment_mapping" type="string" variable="$category">
|
8513 |
<type by_reference="false">string</type>
|
8514 |
</tag>
|
8515 |
+
<tag line="2879" name="param" description="(optional) custom_field_mapping values, default NULL (use current option value)" type="array" variable="$settings">
|
8516 |
<type by_reference="false">array</type>
|
8517 |
</tag>
|
8518 |
+
<tag line="2879" name="param" description="(optional) attachment_metadata, default NULL (use current postmeta database value)" type="array" variable="$attachment_metadata">
|
8519 |
<type by_reference="false">array</type>
|
8520 |
</tag>
|
8521 |
+
<tag line="2879" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
|
8522 |
<type by_reference="false">array</type>
|
8523 |
</tag>
|
8524 |
</docblock>
|
8525 |
+
<argument line="2891">
|
8526 |
<name>$post_id</name>
|
8527 |
<default><![CDATA[]]></default>
|
8528 |
<type/>
|
8529 |
</argument>
|
8530 |
+
<argument line="2891">
|
8531 |
<name>$category</name>
|
8532 |
<default><![CDATA[]]></default>
|
8533 |
<type/>
|
8534 |
</argument>
|
8535 |
+
<argument line="2891">
|
8536 |
<name>$settings</name>
|
8537 |
<default><![CDATA[NULL]]></default>
|
8538 |
<type/>
|
8539 |
</argument>
|
8540 |
+
<argument line="2891">
|
8541 |
<name>$attachment_metadata</name>
|
8542 |
<default><![CDATA[NULL]]></default>
|
8543 |
<type/>
|
8544 |
</argument>
|
8545 |
</method>
|
8546 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2990" package="Media Library Assistant">
|
8547 |
<name>_compose_custom_field_option_list</name>
|
8548 |
<full_name>_compose_custom_field_option_list</full_name>
|
8549 |
+
<docblock line="2979">
|
8550 |
<description><![CDATA[Compose a Custom Field Options list with current selection]]></description>
|
8551 |
<long-description><![CDATA[]]></long-description>
|
8552 |
+
<tag line="2979" name="since" description="1.10"/>
|
8553 |
+
<tag line="2979" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8554 |
+
<tag line="2979" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
|
8555 |
<type by_reference="false">string</type>
|
8556 |
</tag>
|
8557 |
+
<tag line="2979" name="param" description="optional list of terms to exclude from the list" type="array" variable="$blacklist">
|
8558 |
<type by_reference="false">array</type>
|
8559 |
</tag>
|
8560 |
+
<tag line="2979" name="return" description="HTML markup with select field options" type="string">
|
8561 |
<type by_reference="false">string</type>
|
8562 |
</tag>
|
8563 |
</docblock>
|
8564 |
+
<argument line="2990">
|
8565 |
<name>$selection</name>
|
8566 |
<default><![CDATA['none']]></default>
|
8567 |
<type/>
|
8568 |
</argument>
|
8569 |
+
<argument line="2990">
|
8570 |
<name>$blacklist</name>
|
8571 |
<default><![CDATA[array()]]></default>
|
8572 |
<type/>
|
8573 |
</argument>
|
8574 |
</method>
|
8575 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3120" package="Media Library Assistant">
|
8576 |
<name>_compose_data_source_option_list</name>
|
8577 |
<full_name>_compose_data_source_option_list</full_name>
|
8578 |
+
<docblock line="3110">
|
8579 |
<description><![CDATA[Compose a (Custom Field) Data Source Options list with current selection]]></description>
|
8580 |
<long-description><![CDATA[]]></long-description>
|
8581 |
+
<tag line="3110" name="since" description="1.10"/>
|
8582 |
+
<tag line="3110" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8583 |
+
<tag line="3110" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
|
8584 |
<type by_reference="false">string</type>
|
8585 |
</tag>
|
8586 |
+
<tag line="3110" name="return" description="HTML markup with select field options" type="string">
|
8587 |
<type by_reference="false">string</type>
|
8588 |
</tag>
|
8589 |
</docblock>
|
8590 |
+
<argument line="3120">
|
8591 |
<name>$selection</name>
|
8592 |
<default><![CDATA['none']]></default>
|
8593 |
<type/>
|
8594 |
</argument>
|
8595 |
</method>
|
8596 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3184" package="Media Library Assistant">
|
8597 |
<name>_update_custom_field_mapping</name>
|
8598 |
<full_name>_update_custom_field_mapping</full_name>
|
8599 |
+
<docblock line="3174">
|
8600 |
<description><![CDATA[Update custom field mappings]]></description>
|
8601 |
<long-description><![CDATA[]]></long-description>
|
8602 |
+
<tag line="3174" name="since" description="1.10"/>
|
8603 |
+
<tag line="3174" name="param" description="current custom_field_mapping values" type="array" variable="$current_values">
|
8604 |
<type by_reference="false">array</type>
|
8605 |
</tag>
|
8606 |
+
<tag line="3174" name="param" description="new values" type="array" variable="$new_values">
|
8607 |
<type by_reference="false">array</type>
|
8608 |
</tag>
|
8609 |
+
<tag line="3174" name="return" description="( 'message' => HTML message(s) reflecting results, 'values' => updated custom_field_mapping values, 'changed' => true if any changes detected else false )" type="array">
|
8610 |
<type by_reference="false">array</type>
|
8611 |
</tag>
|
8612 |
</docblock>
|
8613 |
+
<argument line="3184">
|
8614 |
<name>$current_values</name>
|
8615 |
<default><![CDATA[]]></default>
|
8616 |
<type/>
|
8617 |
</argument>
|
8618 |
+
<argument line="3184">
|
8619 |
<name>$new_values</name>
|
8620 |
<default><![CDATA[]]></default>
|
8621 |
<type/>
|
8622 |
</argument>
|
8623 |
</method>
|
8624 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3394" package="Media Library Assistant">
|
8625 |
<name>mla_custom_field_option_handler</name>
|
8626 |
<full_name>mla_custom_field_option_handler</full_name>
|
8627 |
+
<docblock line="3381">
|
8628 |
<description><![CDATA[Render and manage custom field mapping options]]></description>
|
8629 |
<long-description><![CDATA[]]></long-description>
|
8630 |
+
<tag line="3381" name="since" description="1.10"/>
|
8631 |
+
<tag line="3381" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8632 |
+
<tag line="3381" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
|
8633 |
<type by_reference="false">string</type>
|
8634 |
</tag>
|
8635 |
+
<tag line="3381" name="param" description="option name, e.g., 'custom_field_mapping'" type="string" variable="$key">
|
8636 |
<type by_reference="false">string</type>
|
8637 |
</tag>
|
8638 |
+
<tag line="3381" name="param" description="option parameters" type="array" variable="$value">
|
8639 |
<type by_reference="false">array</type>
|
8640 |
</tag>
|
8641 |
+
<tag line="3381" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
|
8642 |
<type by_reference="false">array</type>
|
8643 |
</tag>
|
8644 |
+
<tag line="3381" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
|
8645 |
<type by_reference="false">string</type>
|
8646 |
</tag>
|
8647 |
</docblock>
|
8648 |
+
<argument line="3394">
|
8649 |
<name>$action</name>
|
8650 |
<default><![CDATA[]]></default>
|
8651 |
<type/>
|
8652 |
</argument>
|
8653 |
+
<argument line="3394">
|
8654 |
<name>$key</name>
|
8655 |
<default><![CDATA[]]></default>
|
8656 |
<type/>
|
8657 |
</argument>
|
8658 |
+
<argument line="3394">
|
8659 |
<name>$value</name>
|
8660 |
<default><![CDATA[]]></default>
|
8661 |
<type/>
|
8662 |
</argument>
|
8663 |
+
<argument line="3394">
|
8664 |
<name>$args</name>
|
8665 |
<default><![CDATA[null]]></default>
|
8666 |
<type/>
|
8667 |
</argument>
|
8668 |
</method>
|
8669 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3682" package="Media Library Assistant">
|
8670 |
<name>_get_term_id</name>
|
8671 |
<full_name>_get_term_id</full_name>
|
8672 |
+
<docblock line="3670">
|
8673 |
<description><![CDATA[Build and search a cache of taxonomy and term name to term ID mappings]]></description>
|
8674 |
<long-description><![CDATA[]]></long-description>
|
8675 |
+
<tag line="3670" name="since" description="2.01"/>
|
8676 |
+
<tag line="3670" name="param" description="term name (not slug)" type="string" variable="$term_name">
|
8677 |
<type by_reference="false">string</type>
|
8678 |
</tag>
|
8679 |
+
<tag line="3670" name="param" description="zero or term's parent term_id" type="integer" variable="$term_parent">
|
8680 |
<type by_reference="false">integer</type>
|
8681 |
</tag>
|
8682 |
+
<tag line="3670" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
|
8683 |
<type by_reference="false">string</type>
|
8684 |
</tag>
|
8685 |
+
<tag line="3670" name="param" description="term objects currently assigned to the item" type="array" variable="$post_terms">
|
8686 |
<type by_reference="false">array</type>
|
8687 |
</tag>
|
8688 |
+
<tag line="3670" name="return" description="term_id for the term name" type="integer">
|
8689 |
<type by_reference="false">integer</type>
|
8690 |
</tag>
|
8691 |
</docblock>
|
8692 |
+
<argument line="3682">
|
8693 |
<name>$term_name</name>
|
8694 |
<default><![CDATA[]]></default>
|
8695 |
<type/>
|
8696 |
</argument>
|
8697 |
+
<argument line="3682">
|
8698 |
<name>$term_parent</name>
|
8699 |
<default><![CDATA[]]></default>
|
8700 |
<type/>
|
8701 |
</argument>
|
8702 |
+
<argument line="3682">
|
8703 |
<name>$taxonomy</name>
|
8704 |
<default><![CDATA[]]></default>
|
8705 |
<type/>
|
8706 |
</argument>
|
8707 |
+
<argument line="3682">
|
8708 |
<name>$post_terms</name>
|
8709 |
<default><![CDATA[]]></default>
|
8710 |
<type/>
|
8711 |
</argument>
|
8712 |
</method>
|
8713 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3731" package="Media Library Assistant">
|
8714 |
<name>mla_evaluate_iptc_exif_mapping</name>
|
8715 |
<full_name>mla_evaluate_iptc_exif_mapping</full_name>
|
8716 |
+
<docblock line="3718">
|
8717 |
<description><![CDATA[Evaluate IPTC/EXIF mapping updates for a post]]></description>
|
8718 |
<long-description><![CDATA[]]></long-description>
|
8719 |
+
<tag line="3718" name="since" description="1.00"/>
|
8720 |
+
<tag line="3718" name="param" description="post object with current values" type="object" variable="$post">
|
8721 |
<type by_reference="false">object</type>
|
8722 |
</tag>
|
8723 |
+
<tag line="3718" name="param" description="category to evaluate against, e.g., iptc_exif_standard_mapping or iptc_exif_mapping" type="string" variable="$category">
|
8724 |
<type by_reference="false">string</type>
|
8725 |
</tag>
|
8726 |
+
<tag line="3718" name="param" description="(optional) iptc_exif_mapping values, default - current option value" type="array" variable="$settings">
|
8727 |
<type by_reference="false">array</type>
|
8728 |
</tag>
|
8729 |
+
<tag line="3718" name="param" description="(optional) _wp_attachment_metadata, for MLAOptions::mla_update_attachment_metadata_filter" type="array" variable="$attachment_metadata">
|
8730 |
<type by_reference="false">array</type>
|
8731 |
</tag>
|
8732 |
+
<tag line="3718" name="param" description="(optional) true if uploading a new item else false (default)" type="boolean" variable="$is_upload">
|
8733 |
<type by_reference="false">boolean</type>
|
8734 |
</tag>
|
8735 |
+
<tag line="3718" name="return" description="Updates suitable for MLAData::mla_update_single_item, if any" type="array">
|
8736 |
<type by_reference="false">array</type>
|
8737 |
</tag>
|
8738 |
</docblock>
|
8739 |
+
<argument line="3731">
|
8740 |
<name>$post</name>
|
8741 |
<default><![CDATA[]]></default>
|
8742 |
<type/>
|
8743 |
</argument>
|
8744 |
+
<argument line="3731">
|
8745 |
<name>$category</name>
|
8746 |
<default><![CDATA[]]></default>
|
8747 |
<type/>
|
8748 |
</argument>
|
8749 |
+
<argument line="3731">
|
8750 |
<name>$settings</name>
|
8751 |
<default><![CDATA[NULL]]></default>
|
8752 |
<type/>
|
8753 |
</argument>
|
8754 |
+
<argument line="3731">
|
8755 |
<name>$attachment_metadata</name>
|
8756 |
<default><![CDATA[NULL]]></default>
|
8757 |
<type/>
|
8758 |
</argument>
|
8759 |
+
<argument line="3731">
|
8760 |
<name>$is_upload</name>
|
8761 |
<default><![CDATA[false]]></default>
|
8762 |
<type/>
|
8763 |
</argument>
|
8764 |
</method>
|
8765 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4102" package="Media Library Assistant">
|
8766 |
<name>_compose_iptc_option_list</name>
|
8767 |
<full_name>_compose_iptc_option_list</full_name>
|
8768 |
+
<docblock line="4092">
|
8769 |
<description><![CDATA[Compose an IPTC Options list with current selection]]></description>
|
8770 |
<long-description><![CDATA[]]></long-description>
|
8771 |
+
<tag line="4092" name="since" description="1.00"/>
|
8772 |
+
<tag line="4092" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8773 |
+
<tag line="4092" name="param" description="current selection or 'none' (default)" type="string" variable="$selection">
|
8774 |
<type by_reference="false">string</type>
|
8775 |
</tag>
|
8776 |
+
<tag line="4092" name="return" description="HTML markup with select field options" type="string">
|
8777 |
<type by_reference="false">string</type>
|
8778 |
</tag>
|
8779 |
</docblock>
|
8780 |
+
<argument line="4102">
|
8781 |
<name>$selection</name>
|
8782 |
<default><![CDATA['none']]></default>
|
8783 |
<type/>
|
8784 |
</argument>
|
8785 |
</method>
|
8786 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4135" package="Media Library Assistant">
|
8787 |
<name>_compose_parent_option_list</name>
|
8788 |
<full_name>_compose_parent_option_list</full_name>
|
8789 |
+
<docblock line="4124">
|
8790 |
<description><![CDATA[Compose an hierarchical taxonomy Parent options list with current selection]]></description>
|
8791 |
<long-description><![CDATA[]]></long-description>
|
8792 |
+
<tag line="4124" name="since" description="1.00"/>
|
8793 |
+
<tag line="4124" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8794 |
+
<tag line="4124" name="param" description="taxonomy slug" type="string" variable="$taxonomy">
|
8795 |
<type by_reference="false">string</type>
|
8796 |
</tag>
|
8797 |
+
<tag line="4124" name="param" description="current selection or 0 (zero, default)" type="integer" variable="$selection">
|
8798 |
<type by_reference="false">integer</type>
|
8799 |
</tag>
|
8800 |
+
<tag line="4124" name="return" description="HTML markup with select field options" type="string">
|
8801 |
<type by_reference="false">string</type>
|
8802 |
</tag>
|
8803 |
</docblock>
|
8804 |
+
<argument line="4135">
|
8805 |
<name>$taxonomy</name>
|
8806 |
<default><![CDATA[]]></default>
|
8807 |
<type/>
|
8808 |
</argument>
|
8809 |
+
<argument line="4135">
|
8810 |
<name>$selection</name>
|
8811 |
<default><![CDATA[0]]></default>
|
8812 |
<type/>
|
8813 |
</argument>
|
8814 |
</method>
|
8815 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4181" package="Media Library Assistant">
|
8816 |
<name>_update_iptc_exif_standard_mapping</name>
|
8817 |
<full_name>_update_iptc_exif_standard_mapping</full_name>
|
8818 |
+
<docblock line="4171">
|
8819 |
<description><![CDATA[Update Standard field portion of IPTC/EXIF mappings]]></description>
|
8820 |
<long-description><![CDATA[]]></long-description>
|
8821 |
+
<tag line="4171" name="since" description="1.00"/>
|
8822 |
+
<tag line="4171" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
|
8823 |
<type by_reference="false">array</type>
|
8824 |
</tag>
|
8825 |
+
<tag line="4171" name="param" description="new values" type="array" variable="$new_values">
|
8826 |
<type by_reference="false">array</type>
|
8827 |
</tag>
|
8828 |
+
<tag line="4171" 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">
|
8829 |
<type by_reference="false">array</type>
|
8830 |
</tag>
|
8831 |
</docblock>
|
8832 |
+
<argument line="4181">
|
8833 |
<name>$current_values</name>
|
8834 |
<default><![CDATA[]]></default>
|
8835 |
<type/>
|
8836 |
</argument>
|
8837 |
+
<argument line="4181">
|
8838 |
<name>$new_values</name>
|
8839 |
<default><![CDATA[]]></default>
|
8840 |
<type/>
|
8841 |
</argument>
|
8842 |
</method>
|
8843 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4274" package="Media Library Assistant">
|
8844 |
<name>_update_iptc_exif_taxonomy_mapping</name>
|
8845 |
<full_name>_update_iptc_exif_taxonomy_mapping</full_name>
|
8846 |
+
<docblock line="4264">
|
8847 |
<description><![CDATA[Update Taxonomy term portion of IPTC/EXIF mappings]]></description>
|
8848 |
<long-description><![CDATA[]]></long-description>
|
8849 |
+
<tag line="4264" name="since" description="1.00"/>
|
8850 |
+
<tag line="4264" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
|
8851 |
<type by_reference="false">array</type>
|
8852 |
</tag>
|
8853 |
+
<tag line="4264" name="param" description="new values" type="array" variable="$new_values">
|
8854 |
<type by_reference="false">array</type>
|
8855 |
</tag>
|
8856 |
+
<tag line="4264" 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">
|
8857 |
<type by_reference="false">array</type>
|
8858 |
</tag>
|
8859 |
</docblock>
|
8860 |
+
<argument line="4274">
|
8861 |
<name>$current_values</name>
|
8862 |
<default><![CDATA[]]></default>
|
8863 |
<type/>
|
8864 |
</argument>
|
8865 |
+
<argument line="4274">
|
8866 |
<name>$new_values</name>
|
8867 |
<default><![CDATA[]]></default>
|
8868 |
<type/>
|
8869 |
</argument>
|
8870 |
</method>
|
8871 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4389" package="Media Library Assistant">
|
8872 |
<name>_update_iptc_exif_custom_mapping</name>
|
8873 |
<full_name>_update_iptc_exif_custom_mapping</full_name>
|
8874 |
+
<docblock line="4379">
|
8875 |
<description><![CDATA[Update Custom field portion of IPTC/EXIF mappings]]></description>
|
8876 |
<long-description><![CDATA[]]></long-description>
|
8877 |
+
<tag line="4379" name="since" description="1.00"/>
|
8878 |
+
<tag line="4379" name="param" description="current iptc_exif_mapping values" type="array" variable="$current_values">
|
8879 |
<type by_reference="false">array</type>
|
8880 |
</tag>
|
8881 |
+
<tag line="4379" name="param" description="new values" type="array" variable="$new_values">
|
8882 |
<type by_reference="false">array</type>
|
8883 |
</tag>
|
8884 |
+
<tag line="4379" 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">
|
8885 |
<type by_reference="false">array</type>
|
8886 |
</tag>
|
8887 |
</docblock>
|
8888 |
+
<argument line="4389">
|
8889 |
<name>$current_values</name>
|
8890 |
<default><![CDATA[]]></default>
|
8891 |
<type/>
|
8892 |
</argument>
|
8893 |
+
<argument line="4389">
|
8894 |
<name>$new_values</name>
|
8895 |
<default><![CDATA[]]></default>
|
8896 |
<type/>
|
8897 |
</argument>
|
8898 |
</method>
|
8899 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4521" package="Media Library Assistant">
|
8900 |
<name>_get_custom_field_names</name>
|
8901 |
<full_name>_get_custom_field_names</full_name>
|
8902 |
+
<docblock line="4511">
|
8903 |
<description><![CDATA[Generate a list of all (post) Custom Field names]]></description>
|
8904 |
<long-description><![CDATA[<p>The list will include any Custom Field and IPTC/EXIF rules that
|
8905 |
haven't been mapped to any attachments, yet.</p>]]></long-description>
|
8906 |
+
<tag line="4511" name="since" description="1.00"/>
|
8907 |
+
<tag line="4511" name="return" description="Custom field names from the postmeta table and MLA rules" type="array">
|
8908 |
<type by_reference="false">array</type>
|
8909 |
</tag>
|
8910 |
</docblock>
|
8911 |
</method>
|
8912 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="4570" package="Media Library Assistant">
|
8913 |
<name>mla_iptc_exif_option_handler</name>
|
8914 |
<full_name>mla_iptc_exif_option_handler</full_name>
|
8915 |
+
<docblock line="4557">
|
8916 |
<description><![CDATA[Render and manage iptc/exif support options]]></description>
|
8917 |
<long-description><![CDATA[]]></long-description>
|
8918 |
+
<tag line="4557" name="since" description="1.00"/>
|
8919 |
+
<tag line="4557" name="uses" description="\global\$mla_option_templates" refers="\global\$mla_option_templates"/>
|
8920 |
+
<tag line="4557" name="param" description="'render', 'update', 'delete', or 'reset'" type="string" variable="$action">
|
8921 |
<type by_reference="false">string</type>
|
8922 |
</tag>
|
8923 |
+
<tag line="4557" name="param" description="option name, e.g., 'iptc_exif_mapping'" type="string" variable="$key">
|
8924 |
<type by_reference="false">string</type>
|
8925 |
</tag>
|
8926 |
+
<tag line="4557" name="param" description="option parameters" type="array" variable="$value">
|
8927 |
<type by_reference="false">array</type>
|
8928 |
</tag>
|
8929 |
+
<tag line="4557" name="param" description="Optional. null (default) for 'render' else option data, e.g., $_REQUEST" type="array" variable="$args">
|
8930 |
<type by_reference="false">array</type>
|
8931 |
</tag>
|
8932 |
+
<tag line="4557" name="return" description="HTML table row markup for 'render' else message(s) reflecting the results of the operation." type="string">
|
8933 |
<type by_reference="false">string</type>
|
8934 |
</tag>
|
8935 |
</docblock>
|
8936 |
+
<argument line="4570">
|
8937 |
<name>$action</name>
|
8938 |
<default><![CDATA[]]></default>
|
8939 |
<type/>
|
8940 |
</argument>
|
8941 |
+
<argument line="4570">
|
8942 |
<name>$key</name>
|
8943 |
<default><![CDATA[]]></default>
|
8944 |
<type/>
|
8945 |
</argument>
|
8946 |
+
<argument line="4570">
|
8947 |
<name>$value</name>
|
8948 |
<default><![CDATA[]]></default>
|
8949 |
<type/>
|
8950 |
</argument>
|
8951 |
+
<argument line="4570">
|
8952 |
<name>$args</name>
|
8953 |
<default><![CDATA[null]]></default>
|
8954 |
<type/>
|
8956 |
</method>
|
8957 |
</class>
|
8958 |
</file>
|
8959 |
+
<file path="includes\class-mla-settings.php" hash="ec6eeedda2bbf3131592a5022fc86fee" package="Media Library Assistant">
|
8960 |
<docblock line="2">
|
8961 |
<description><![CDATA[Manages the settings page to edit the plugin option settings]]></description>
|
8962 |
<long-description><![CDATA[]]></long-description>
|
9089 |
</tag>
|
9090 |
</docblock>
|
9091 |
</property>
|
9092 |
+
<property final="false" static="true" visibility="public" line="1189" namespace="global" package="Media Library Assistant">
|
9093 |
<name>$page_template_array</name>
|
9094 |
<default><![CDATA[null]]></default>
|
9095 |
+
<docblock line="1179">
|
9096 |
<description><![CDATA[Template file for the Settings page(s) and parts]]></description>
|
9097 |
<long-description><![CDATA[<p>This array contains all of the template parts for the Settings page(s). The array is built once
|
9098 |
each page load and cached for subsequent use.</p>]]></long-description>
|
9099 |
+
<tag line="1179" name="since" description="0.80"/>
|
9100 |
+
<tag line="1179" name="var" description="" type="array">
|
9101 |
<type by_reference="false">array</type>
|
9102 |
</tag>
|
9103 |
</docblock>
|
9104 |
</property>
|
9105 |
+
<property final="false" static="true" visibility="private" line="1208" namespace="global" package="Media Library Assistant">
|
9106 |
<name>$mla_tablist</name>
|
9107 |
<default><![CDATA[array()]]></default>
|
9108 |
+
<docblock line="1191">
|
9109 |
<description><![CDATA[Definitions for Settings page tab ids, titles and handlers
|
9110 |
Each tab is defined by an array with the following elements:]]></description>
|
9111 |
<long-description><![CDATA[<p>array key => HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)</p>
|
9116 |
|
9117 |
<p>The array must be populated at runtime in MLASettings::mla_localize_tablist(),
|
9118 |
because Localization calls cannot be placed in the "public static" array definition itself.</p>]]></long-description>
|
9119 |
+
<tag line="1191" name="since" description="0.80"/>
|
9120 |
+
<tag line="1191" name="var" description="" type="array">
|
9121 |
<type by_reference="false">array</type>
|
9122 |
</tag>
|
9123 |
</docblock>
|
9202 |
<type/>
|
9203 |
</argument>
|
9204 |
</method>
|
9205 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="429" package="Media Library Assistant">
|
9206 |
<name>mla_admin_menu_action</name>
|
9207 |
<full_name>mla_admin_menu_action</full_name>
|
9208 |
+
<docblock line="420">
|
9209 |
<description><![CDATA[Add settings page in the "Settings" section,
|
9210 |
add screen options and help tabs,
|
9211 |
add settings link in the Plugins section entry for MLA.]]></description>
|
9212 |
<long-description><![CDATA[]]></long-description>
|
9213 |
+
<tag line="420" name="since" description="0.1"/>
|
9214 |
+
<tag line="420" name="return" description="" type="void">
|
9215 |
<type by_reference="false">void</type>
|
9216 |
</tag>
|
9217 |
</docblock>
|
9218 |
</method>
|
9219 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="455" package="Media Library Assistant">
|
9220 |
<name>mla_add_menu_options_action</name>
|
9221 |
<full_name>mla_add_menu_options_action</full_name>
|
9222 |
+
<docblock line="448">
|
9223 |
<description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
|
9224 |
<long-description><![CDATA[]]></long-description>
|
9225 |
+
<tag line="448" name="since" description="1.40"/>
|
9226 |
+
<tag line="448" name="return" description="" type="void">
|
9227 |
<type by_reference="false">void</type>
|
9228 |
</tag>
|
9229 |
</docblock>
|
9230 |
</method>
|
9231 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="500" package="Media Library Assistant">
|
9232 |
<name>mla_add_help_tab_action</name>
|
9233 |
<full_name>mla_add_help_tab_action</full_name>
|
9234 |
+
<docblock line="493">
|
9235 |
<description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
|
9236 |
<long-description><![CDATA[]]></long-description>
|
9237 |
+
<tag line="493" name="since" description="1.40"/>
|
9238 |
+
<tag line="493" name="return" description="" type="void">
|
9239 |
<type by_reference="false">void</type>
|
9240 |
</tag>
|
9241 |
</docblock>
|
9242 |
</method>
|
9243 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="575" package="Media Library Assistant">
|
9244 |
<name>mla_screen_options_show_screen_filter</name>
|
9245 |
<full_name>mla_screen_options_show_screen_filter</full_name>
|
9246 |
+
<docblock line="565">
|
9247 |
<description><![CDATA[Only show screen options on the View and Upload tabs]]></description>
|
9248 |
<long-description><![CDATA[]]></long-description>
|
9249 |
+
<tag line="565" name="since" description="1.40"/>
|
9250 |
+
<tag line="565" name="param" description="True to display "Screen Options", false to suppress them" type="boolean" variable="$show_screen">
|
9251 |
<type by_reference="false">boolean</type>
|
9252 |
</tag>
|
9253 |
+
<tag line="565" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
|
9254 |
<type by_reference="false">string</type>
|
9255 |
</tag>
|
9256 |
+
<tag line="565" name="return" description="True to display "Screen Options", false to suppress them" type="boolean">
|
9257 |
<type by_reference="false">boolean</type>
|
9258 |
</tag>
|
9259 |
</docblock>
|
9260 |
+
<argument line="575">
|
9261 |
<name>$show_screen</name>
|
9262 |
<default><![CDATA[]]></default>
|
9263 |
<type/>
|
9264 |
</argument>
|
9265 |
+
<argument line="575">
|
9266 |
<name>$this_screen</name>
|
9267 |
<default><![CDATA[]]></default>
|
9268 |
<type/>
|
9269 |
</argument>
|
9270 |
</method>
|
9271 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="596" package="Media Library Assistant">
|
9272 |
<name>mla_set_screen_option_filter</name>
|
9273 |
<full_name>mla_set_screen_option_filter</full_name>
|
9274 |
+
<docblock line="585">
|
9275 |
<description><![CDATA[Save the "Views/Uploads per page" option set by this user]]></description>
|
9276 |
<long-description><![CDATA[]]></long-description>
|
9277 |
+
<tag line="585" name="since" description="1.40"/>
|
9278 |
+
<tag line="585" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
|
9279 |
<type by_reference="false">mixed</type>
|
9280 |
</tag>
|
9281 |
+
<tag line="585" name="param" description="Name of the option being changed" type="string" variable="$option">
|
9282 |
<type by_reference="false">string</type>
|
9283 |
</tag>
|
9284 |
+
<tag line="585" name="param" description="New value of the option" type="string" variable="$value">
|
9285 |
<type by_reference="false">string</type>
|
9286 |
</tag>
|
9287 |
+
<tag line="585" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
|
9288 |
<type by_reference="false">string</type>
|
9289 |
<type by_reference="false">void</type>
|
9290 |
</tag>
|
9291 |
</docblock>
|
9292 |
+
<argument line="596">
|
9293 |
<name>$status</name>
|
9294 |
<default><![CDATA[]]></default>
|
9295 |
<type/>
|
9296 |
</argument>
|
9297 |
+
<argument line="596">
|
9298 |
<name>$option</name>
|
9299 |
<default><![CDATA[]]></default>
|
9300 |
<type/>
|
9301 |
</argument>
|
9302 |
+
<argument line="596">
|
9303 |
<name>$value</name>
|
9304 |
<default><![CDATA[]]></default>
|
9305 |
<type/>
|
9306 |
</argument>
|
9307 |
</method>
|
9308 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="613" package="Media Library Assistant">
|
9309 |
<name>mla_inline_edit_view_action</name>
|
9310 |
<full_name>mla_inline_edit_view_action</full_name>
|
9311 |
+
<docblock line="604">
|
9312 |
<description><![CDATA[Ajax handler for Post MIME Types inline editing (quick and bulk edit)]]></description>
|
9313 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
9314 |
+
<tag line="604" name="since" description="1.40"/>
|
9315 |
+
<tag line="604" name="return" description="echo HTML <tr> markup for updated row or error message, then die()" type="void">
|
9316 |
<type by_reference="false">void</type>
|
9317 |
</tag>
|
9318 |
</docblock>
|
9319 |
</method>
|
9320 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="656" package="Media Library Assistant">
|
9321 |
<name>mla_inline_edit_upload_action</name>
|
9322 |
<full_name>mla_inline_edit_upload_action</full_name>
|
9323 |
+
<docblock line="647">
|
9324 |
<description><![CDATA[Ajax handler for Upload MIME Types inline editing (quick and bulk edit)]]></description>
|
9325 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
9326 |
+
<tag line="647" name="since" description="1.40"/>
|
9327 |
+
<tag line="647" name="return" description="echo HTML <tr> markup for updated row or error message, then die()" type="void">
|
9328 |
<type by_reference="false">void</type>
|
9329 |
</tag>
|
9330 |
</docblock>
|
9331 |
</method>
|
9332 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="693" package="Media Library Assistant">
|
9333 |
<name>mla_inline_mapping_custom_action</name>
|
9334 |
<full_name>mla_inline_mapping_custom_action</full_name>
|
9335 |
+
<docblock line="686">
|
9336 |
<description><![CDATA[Ajax handler for Custom Fields tab inline mapping]]></description>
|
9337 |
<long-description><![CDATA[]]></long-description>
|
9338 |
+
<tag line="686" name="since" description="2.00"/>
|
9339 |
+
<tag line="686" name="return" description="echo json response object, then die()" type="void">
|
9340 |
<type by_reference="false">void</type>
|
9341 |
</tag>
|
9342 |
</docblock>
|
9343 |
</method>
|
9344 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="816" package="Media Library Assistant">
|
9345 |
<name>mla_inline_mapping_iptc_exif_action</name>
|
9346 |
<full_name>mla_inline_mapping_iptc_exif_action</full_name>
|
9347 |
+
<docblock line="809">
|
9348 |
<description><![CDATA[Ajax handler for IPTC/EXIF tab inline mapping]]></description>
|
9349 |
<long-description><![CDATA[]]></long-description>
|
9350 |
+
<tag line="809" name="since" description="2.00"/>
|
9351 |
+
<tag line="809" name="return" description="echo json response object, then die()" type="void">
|
9352 |
<type by_reference="false">void</type>
|
9353 |
</tag>
|
9354 |
</docblock>
|
9355 |
</method>
|
9356 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="953" package="Media Library Assistant">
|
9357 |
<name>mla_add_plugin_settings_link_filter</name>
|
9358 |
<full_name>mla_add_plugin_settings_link_filter</full_name>
|
9359 |
+
<docblock line="943">
|
9360 |
<description><![CDATA[Add the "Settings" link to the MLA entry in the Plugins section]]></description>
|
9361 |
<long-description><![CDATA[]]></long-description>
|
9362 |
+
<tag line="943" name="since" description="0.1"/>
|
9363 |
+
<tag line="943" name="param" description="array of links for the Plugin, e.g., "Activate"" type="array" variable="$links">
|
9364 |
<type by_reference="false">array</type>
|
9365 |
</tag>
|
9366 |
+
<tag line="943" name="param" description="Directory and name of the plugin Index file" type="string" variable="$file">
|
9367 |
<type by_reference="false">string</type>
|
9368 |
</tag>
|
9369 |
+
<tag line="943" name="return" description="Updated array of links for the Plugin" type="array">
|
9370 |
<type by_reference="false">array</type>
|
9371 |
</tag>
|
9372 |
</docblock>
|
9373 |
+
<argument line="953">
|
9374 |
<name>$links</name>
|
9375 |
<default><![CDATA[]]></default>
|
9376 |
<type/>
|
9377 |
</argument>
|
9378 |
+
<argument line="953">
|
9379 |
<name>$file</name>
|
9380 |
<default><![CDATA[]]></default>
|
9381 |
<type/>
|
9382 |
</argument>
|
9383 |
</method>
|
9384 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="973" package="Media Library Assistant">
|
9385 |
<name>_update_option_row</name>
|
9386 |
<full_name>_update_option_row</full_name>
|
9387 |
+
<docblock line="962">
|
9388 |
<description><![CDATA[Update or delete a single MLA option value]]></description>
|
9389 |
<long-description><![CDATA[]]></long-description>
|
9390 |
+
<tag line="962" name="since" description="0.80"/>
|
9391 |
+
<tag line="962" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9392 |
+
<tag line="962" name="param" description="HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)" type="string" variable="$key">
|
9393 |
<type by_reference="false">string</type>
|
9394 |
</tag>
|
9395 |
+
<tag line="962" name="param" description="Option parameters, e.g., 'type', 'std'" type="array" variable="$value">
|
9396 |
<type by_reference="false">array</type>
|
9397 |
</tag>
|
9398 |
+
<tag line="962" name="return" description="HTML markup for the option's table row" type="string">
|
9399 |
<type by_reference="false">string</type>
|
9400 |
</tag>
|
9401 |
</docblock>
|
9402 |
+
<argument line="973">
|
9403 |
<name>$key</name>
|
9404 |
<default><![CDATA[]]></default>
|
9405 |
<type/>
|
9406 |
</argument>
|
9407 |
+
<argument line="973">
|
9408 |
<name>$value</name>
|
9409 |
<default><![CDATA[]]></default>
|
9410 |
<type/>
|
9411 |
</argument>
|
9412 |
</method>
|
9413 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1053" package="Media Library Assistant">
|
9414 |
<name>_compose_option_row</name>
|
9415 |
<full_name>_compose_option_row</full_name>
|
9416 |
+
<docblock line="1042">
|
9417 |
<description><![CDATA[Compose the table row for a single MLA option]]></description>
|
9418 |
<long-description><![CDATA[]]></long-description>
|
9419 |
+
<tag line="1042" name="since" description="0.80"/>
|
9420 |
+
<tag line="1042" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9421 |
+
<tag line="1042" name="param" description="HTML id/name attribute and option database key (OMIT MLA_OPTION_PREFIX)" type="string" variable="$key">
|
9422 |
<type by_reference="false">string</type>
|
9423 |
</tag>
|
9424 |
+
<tag line="1042" name="param" description="Option parameters, e.g., 'type', 'std'" type="array" variable="$value">
|
9425 |
<type by_reference="false">array</type>
|
9426 |
</tag>
|
9427 |
+
<tag line="1042" name="return" description="HTML markup for the option's table row" type="string">
|
9428 |
<type by_reference="false">string</type>
|
9429 |
</tag>
|
9430 |
</docblock>
|
9431 |
+
<argument line="1053">
|
9432 |
<name>$key</name>
|
9433 |
<default><![CDATA[]]></default>
|
9434 |
<type/>
|
9435 |
</argument>
|
9436 |
+
<argument line="1053">
|
9437 |
<name>$value</name>
|
9438 |
<default><![CDATA[]]></default>
|
9439 |
<type/>
|
9440 |
</argument>
|
9441 |
</method>
|
9442 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1220" package="Media Library Assistant">
|
9443 |
<name>mla_localize_tablist</name>
|
9444 |
<full_name>mla_localize_tablist</full_name>
|
9445 |
+
<docblock line="1210">
|
9446 |
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
9447 |
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
9448 |
in the "public static" array definition itself.</p>]]></long-description>
|
9449 |
+
<tag line="1210" name="since" description="1.70"/>
|
9450 |
+
<tag line="1210" name="return" description="" type="void">
|
9451 |
<type by_reference="false">void</type>
|
9452 |
</tag>
|
9453 |
</docblock>
|
9454 |
</method>
|
9455 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1244" package="Media Library Assistant">
|
9456 |
<name>mla_get_options_tablist</name>
|
9457 |
<full_name>mla_get_options_tablist</full_name>
|
9458 |
+
<docblock line="1232">
|
9459 |
<description><![CDATA[Localize $mla_option_definitions array]]></description>
|
9460 |
<long-description><![CDATA[<p>Localization must be done at runtime, and these calls cannot be placed
|
9461 |
in the "public static" array definition itself.</p>]]></long-description>
|
9462 |
+
<tag line="1232" name="since" description="1.82"/>
|
9463 |
+
<tag line="1232" name="param" description="Tab slug, to retrieve a single entry" type="string" variable="$tab">
|
9464 |
<type by_reference="false">string</type>
|
9465 |
</tag>
|
9466 |
+
<tag line="1232" name="return" description="The entire tablist ( $tab = NULL ), a single tab entry or false if not found/not allowed" type="array|false">
|
9467 |
<type by_reference="false">array</type>
|
9468 |
<type by_reference="false">false</type>
|
9469 |
</tag>
|
9470 |
</docblock>
|
9471 |
+
<argument line="1244">
|
9472 |
<name>$tab</name>
|
9473 |
<default><![CDATA[NULL]]></default>
|
9474 |
<type/>
|
9475 |
</argument>
|
9476 |
</method>
|
9477 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1268" package="Media Library Assistant">
|
9478 |
<name>_compose_settings_tabs</name>
|
9479 |
<full_name>_compose_settings_tabs</full_name>
|
9480 |
+
<docblock line="1258">
|
9481 |
<description><![CDATA[Compose the navigation tabs for the Settings subpage]]></description>
|
9482 |
<long-description><![CDATA[]]></long-description>
|
9483 |
+
<tag line="1258" name="since" description="0.80"/>
|
9484 |
+
<tag line="1258" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9485 |
+
<tag line="1258" name="param" description="Optional data-tab-id value for the active tab, default 'general'" type="string" variable="$active_tab">
|
9486 |
<type by_reference="false">string</type>
|
9487 |
</tag>
|
9488 |
+
<tag line="1258" name="return" description="HTML markup for the Settings subpage navigation tabs" type="string">
|
9489 |
<type by_reference="false">string</type>
|
9490 |
</tag>
|
9491 |
</docblock>
|
9492 |
+
<argument line="1268">
|
9493 |
<name>$active_tab</name>
|
9494 |
<default><![CDATA['general']]></default>
|
9495 |
<type/>
|
9496 |
</argument>
|
9497 |
</method>
|
9498 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1294" package="Media Library Assistant">
|
9499 |
<name>_compose_general_tab</name>
|
9500 |
<full_name>_compose_general_tab</full_name>
|
9501 |
+
<docblock line="1286">
|
9502 |
<description><![CDATA[Compose the General tab content for the Settings subpage]]></description>
|
9503 |
<long-description><![CDATA[]]></long-description>
|
9504 |
+
<tag line="1286" name="since" description="0.80"/>
|
9505 |
+
<tag line="1286" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9506 |
+
<tag line="1286" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9507 |
<type by_reference="false">array</type>
|
9508 |
</tag>
|
9509 |
</docblock>
|
9510 |
</method>
|
9511 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1444" package="Media Library Assistant">
|
9512 |
<name>_current_bulk_action</name>
|
9513 |
<full_name>_current_bulk_action</full_name>
|
9514 |
+
<docblock line="1437">
|
9515 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
9516 |
<long-description><![CDATA[]]></long-description>
|
9517 |
+
<tag line="1437" name="since" description="1.40"/>
|
9518 |
+
<tag line="1437" name="return" description="The action name or False if no action was selected" type="string|false">
|
9519 |
<type by_reference="false">string</type>
|
9520 |
<type by_reference="false">false</type>
|
9521 |
</tag>
|
9522 |
</docblock>
|
9523 |
</method>
|
9524 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1476" package="Media Library Assistant">
|
9525 |
<name>_compose_edit_view_tab</name>
|
9526 |
<full_name>_compose_edit_view_tab</full_name>
|
9527 |
+
<docblock line="1466">
|
9528 |
<description><![CDATA[Compose the Edit View tab content for the Settings subpage]]></description>
|
9529 |
<long-description><![CDATA[]]></long-description>
|
9530 |
+
<tag line="1466" name="since" description="1.40"/>
|
9531 |
+
<tag line="1466" name="param" description="data values for the item" type="array" variable="$view">
|
9532 |
<type by_reference="false">array</type>
|
9533 |
</tag>
|
9534 |
+
<tag line="1466" name="param" description="Display template" type="string" variable="$template">
|
9535 |
<type by_reference="false">string</type>
|
9536 |
</tag>
|
9537 |
+
<tag line="1466" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9538 |
<type by_reference="false">array</type>
|
9539 |
</tag>
|
9540 |
</docblock>
|
9541 |
+
<argument line="1476">
|
9542 |
<name>$view</name>
|
9543 |
<default><![CDATA[]]></default>
|
9544 |
<type/>
|
9545 |
</argument>
|
9546 |
+
<argument line="1476">
|
9547 |
<name>$template</name>
|
9548 |
<default><![CDATA[]]></default>
|
9549 |
<type/>
|
9550 |
</argument>
|
9551 |
</method>
|
9552 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1526" package="Media Library Assistant">
|
9553 |
<name>_compose_view_tab</name>
|
9554 |
<full_name>_compose_view_tab</full_name>
|
9555 |
+
<docblock line="1519">
|
9556 |
<description><![CDATA[Compose the Post MIME Type Views tab content for the Settings subpage]]></description>
|
9557 |
<long-description><![CDATA[]]></long-description>
|
9558 |
+
<tag line="1519" name="since" description="1.40"/>
|
9559 |
+
<tag line="1519" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9560 |
<type by_reference="false">array</type>
|
9561 |
</tag>
|
9562 |
</docblock>
|
9563 |
</method>
|
9564 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1792" package="Media Library Assistant">
|
9565 |
<name>mla_get_icon_type_dropdown</name>
|
9566 |
<full_name>mla_get_icon_type_dropdown</full_name>
|
9567 |
+
<docblock line="1781">
|
9568 |
<description><![CDATA[Get an HTML select element representing a list of icon types]]></description>
|
9569 |
<long-description><![CDATA[]]></long-description>
|
9570 |
+
<tag line="1781" name="since" description="1.40"/>
|
9571 |
+
<tag line="1781" name="param" description="Display template array" type="array" variable="$templates">
|
9572 |
<type by_reference="false">array</type>
|
9573 |
</tag>
|
9574 |
+
<tag line="1781" name="param" description="HTML name attribute value" type="string" variable="$name">
|
9575 |
<type by_reference="false">string</type>
|
9576 |
</tag>
|
9577 |
+
<tag line="1781" name="param" description="currently selected Icon Type" type="string" variable="$selection">
|
9578 |
<type by_reference="false">string</type>
|
9579 |
</tag>
|
9580 |
+
<tag line="1781" name="return" description="HTML select element or empty string on failure." type="string">
|
9581 |
<type by_reference="false">string</type>
|
9582 |
</tag>
|
9583 |
</docblock>
|
9584 |
+
<argument line="1792">
|
9585 |
<name>$templates</name>
|
9586 |
<default><![CDATA[]]></default>
|
9587 |
<type/>
|
9588 |
</argument>
|
9589 |
+
<argument line="1792">
|
9590 |
<name>$name</name>
|
9591 |
<default><![CDATA[]]></default>
|
9592 |
<type/>
|
9593 |
</argument>
|
9594 |
+
<argument line="1792">
|
9595 |
<name>$selection</name>
|
9596 |
<default><![CDATA['.none.']]></default>
|
9597 |
<type/>
|
9598 |
</argument>
|
9599 |
</method>
|
9600 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1834" package="Media Library Assistant">
|
9601 |
<name>_compose_edit_upload_tab</name>
|
9602 |
<full_name>_compose_edit_upload_tab</full_name>
|
9603 |
+
<docblock line="1824">
|
9604 |
<description><![CDATA[Compose the Edit Upload type tab content for the Settings subpage]]></description>
|
9605 |
<long-description><![CDATA[]]></long-description>
|
9606 |
+
<tag line="1824" name="since" description="1.40"/>
|
9607 |
+
<tag line="1824" name="param" description="data values for the item" type="array" variable="$item">
|
9608 |
<type by_reference="false">array</type>
|
9609 |
</tag>
|
9610 |
+
<tag line="1824" name="param" description="Display template array" type="string" variable="$templates">
|
9611 |
<type by_reference="false">string</type>
|
9612 |
</tag>
|
9613 |
+
<tag line="1824" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9614 |
<type by_reference="false">array</type>
|
9615 |
</tag>
|
9616 |
</docblock>
|
9617 |
+
<argument line="1834">
|
9618 |
<name>$item</name>
|
9619 |
<default><![CDATA[]]></default>
|
9620 |
<type/>
|
9621 |
</argument>
|
9622 |
+
<argument line="1834">
|
9623 |
<name>$templates</name>
|
9624 |
<default><![CDATA[]]></default>
|
9625 |
<type/>
|
9626 |
</argument>
|
9627 |
</method>
|
9628 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1881" package="Media Library Assistant">
|
9629 |
<name>_compose_optional_upload_tab</name>
|
9630 |
<full_name>_compose_optional_upload_tab</full_name>
|
9631 |
+
<docblock line="1872">
|
9632 |
<description><![CDATA[Compose the Optional File Upload MIME Types tab content for the Settings subpage]]></description>
|
9633 |
<long-description><![CDATA[]]></long-description>
|
9634 |
+
<tag line="1872" name="since" description="1.40"/>
|
9635 |
+
<tag line="1872" name="param" description="Display templates" type="string" variable="$page_template_array">
|
9636 |
<type by_reference="false">string</type>
|
9637 |
</tag>
|
9638 |
+
<tag line="1872" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9639 |
<type by_reference="false">array</type>
|
9640 |
</tag>
|
9641 |
</docblock>
|
9642 |
+
<argument line="1881">
|
9643 |
<name>$page_template_array</name>
|
9644 |
<default><![CDATA[]]></default>
|
9645 |
<type/>
|
9646 |
</argument>
|
9647 |
</method>
|
9648 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1951" package="Media Library Assistant">
|
9649 |
<name>_process_optional_upload_mime</name>
|
9650 |
<full_name>_process_optional_upload_mime</full_name>
|
9651 |
+
<docblock line="1942">
|
9652 |
<description><![CDATA[Process an Optional Upload MIME Type selection]]></description>
|
9653 |
<long-description><![CDATA[]]></long-description>
|
9654 |
+
<tag line="1942" name="since" description="1.40"/>
|
9655 |
+
<tag line="1942" name="param" description="MLA Optional Upload MIME Type ID" type="\intger" variable="$ID">
|
9656 |
<type by_reference="false">\intger</type>
|
9657 |
</tag>
|
9658 |
+
<tag line="1942" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9659 |
<type by_reference="false">array</type>
|
9660 |
</tag>
|
9661 |
</docblock>
|
9662 |
+
<argument line="1951">
|
9663 |
<name>$ID</name>
|
9664 |
<default><![CDATA[]]></default>
|
9665 |
<type/>
|
9666 |
</argument>
|
9667 |
</method>
|
9668 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1971" package="Media Library Assistant">
|
9669 |
<name>_compose_upload_tab</name>
|
9670 |
<full_name>_compose_upload_tab</full_name>
|
9671 |
+
<docblock line="1964">
|
9672 |
<description><![CDATA[Compose the File Upload MIME Types tab content for the Settings subpage]]></description>
|
9673 |
<long-description><![CDATA[]]></long-description>
|
9674 |
+
<tag line="1964" name="since" description="1.40"/>
|
9675 |
+
<tag line="1964" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9676 |
<type by_reference="false">array</type>
|
9677 |
</tag>
|
9678 |
</docblock>
|
9679 |
</method>
|
9680 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2258" package="Media Library Assistant">
|
9681 |
<name>_compose_mla_gallery_tab</name>
|
9682 |
<full_name>_compose_mla_gallery_tab</full_name>
|
9683 |
+
<docblock line="2250">
|
9684 |
<description><![CDATA[Compose the MLA Gallery tab content for the Settings subpage]]></description>
|
9685 |
<long-description><![CDATA[]]></long-description>
|
9686 |
+
<tag line="2250" name="since" description="0.80"/>
|
9687 |
+
<tag line="2250" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9688 |
+
<tag line="2250" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9689 |
<type by_reference="false">array</type>
|
9690 |
</tag>
|
9691 |
</docblock>
|
9692 |
</method>
|
9693 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2607" package="Media Library Assistant">
|
9694 |
<name>_compose_custom_field_tab</name>
|
9695 |
<full_name>_compose_custom_field_tab</full_name>
|
9696 |
+
<docblock line="2599">
|
9697 |
<description><![CDATA[Compose the Custom Field tab content for the Settings subpage]]></description>
|
9698 |
<long-description><![CDATA[]]></long-description>
|
9699 |
+
<tag line="2599" name="since" description="1.10"/>
|
9700 |
+
<tag line="2599" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9701 |
+
<tag line="2599" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9702 |
<type by_reference="false">array</type>
|
9703 |
</tag>
|
9704 |
</docblock>
|
9705 |
</method>
|
9706 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2749" package="Media Library Assistant">
|
9707 |
<name>_compose_iptc_exif_tab</name>
|
9708 |
<full_name>_compose_iptc_exif_tab</full_name>
|
9709 |
+
<docblock line="2741">
|
9710 |
<description><![CDATA[Compose the IPTC/EXIF tab content for the Settings subpage]]></description>
|
9711 |
<long-description><![CDATA[]]></long-description>
|
9712 |
+
<tag line="2741" name="since" description="1.00"/>
|
9713 |
+
<tag line="2741" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9714 |
+
<tag line="2741" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9715 |
<type by_reference="false">array</type>
|
9716 |
</tag>
|
9717 |
</docblock>
|
9718 |
</method>
|
9719 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2892" package="Media Library Assistant">
|
9720 |
<name>_compose_documentation_tab</name>
|
9721 |
<full_name>_compose_documentation_tab</full_name>
|
9722 |
+
<docblock line="2884">
|
9723 |
<description><![CDATA[Compose the Documentation tab content for the Settings subpage]]></description>
|
9724 |
<long-description><![CDATA[]]></long-description>
|
9725 |
+
<tag line="2884" name="since" description="0.80"/>
|
9726 |
+
<tag line="2884" name="uses" description="\global\$page_template_array" refers="\global\$page_template_array"/>
|
9727 |
+
<tag line="2884" name="return" description="'message' => status/error messages, 'body' => tab content" type="array">
|
9728 |
<type by_reference="false">array</type>
|
9729 |
</tag>
|
9730 |
</docblock>
|
9731 |
</method>
|
9732 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2913" package="Media Library Assistant">
|
9733 |
<name>mla_render_settings_page</name>
|
9734 |
<full_name>mla_render_settings_page</full_name>
|
9735 |
+
<docblock line="2906">
|
9736 |
<description><![CDATA[Render (echo) the "Media Library Assistant" subpage in the Settings section]]></description>
|
9737 |
<long-description><![CDATA[]]></long-description>
|
9738 |
+
<tag line="2906" name="since" description="0.1"/>
|
9739 |
+
<tag line="2906" name="return" description="Echoes HTML markup for the Settings subpage" type="void">
|
9740 |
<type by_reference="false">void</type>
|
9741 |
</tag>
|
9742 |
</docblock>
|
9743 |
</method>
|
9744 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2975" package="Media Library Assistant">
|
9745 |
<name>_save_gallery_settings</name>
|
9746 |
<full_name>_save_gallery_settings</full_name>
|
9747 |
+
<docblock line="2966">
|
9748 |
<description><![CDATA[Save MLA Gallery settings to the options table]]></description>
|
9749 |
<long-description><![CDATA[]]></long-description>
|
9750 |
+
<tag line="2966" name="since" description="0.80"/>
|
9751 |
+
<tag line="2966" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9752 |
+
<tag line="2966" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9753 |
<type by_reference="false">array</type>
|
9754 |
</tag>
|
9755 |
</docblock>
|
9756 |
</method>
|
9757 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3242" package="Media Library Assistant">
|
9758 |
<name>_save_view_settings</name>
|
9759 |
<full_name>_save_view_settings</full_name>
|
9760 |
+
<docblock line="3233">
|
9761 |
<description><![CDATA[Save View settings to the options table]]></description>
|
9762 |
<long-description><![CDATA[]]></long-description>
|
9763 |
+
<tag line="3233" name="since" description="1.40"/>
|
9764 |
+
<tag line="3233" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9765 |
+
<tag line="3233" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9766 |
<type by_reference="false">array</type>
|
9767 |
</tag>
|
9768 |
</docblock>
|
9769 |
</method>
|
9770 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3273" package="Media Library Assistant">
|
9771 |
<name>_save_upload_settings</name>
|
9772 |
<full_name>_save_upload_settings</full_name>
|
9773 |
+
<docblock line="3264">
|
9774 |
<description><![CDATA[Save Upload settings to the options table]]></description>
|
9775 |
<long-description><![CDATA[]]></long-description>
|
9776 |
+
<tag line="3264" name="since" description="1.40"/>
|
9777 |
+
<tag line="3264" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9778 |
+
<tag line="3264" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9779 |
<type by_reference="false">array</type>
|
9780 |
</tag>
|
9781 |
</docblock>
|
9782 |
</method>
|
9783 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3311" package="Media Library Assistant">
|
9784 |
<name>_process_custom_field_mapping</name>
|
9785 |
<full_name>_process_custom_field_mapping</full_name>
|
9786 |
+
<docblock line="3298">
|
9787 |
<description><![CDATA[Process custom field settings against all image attachments
|
9788 |
without saving the settings to the mla_option]]></description>
|
9789 |
<long-description><![CDATA[]]></long-description>
|
9790 |
+
<tag line="3298" name="since" description="1.10"/>
|
9791 |
+
<tag line="3298" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9792 |
+
<tag line="3298" name="param" description="| NULL specific custom_field_mapping values" type="array" variable="$settings">
|
9793 |
<type by_reference="false">array</type>
|
9794 |
</tag>
|
9795 |
+
<tag line="3298" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
|
9796 |
<type by_reference="false">integer</type>
|
9797 |
</tag>
|
9798 |
+
<tag line="3298" name="param" description="length for chunk mapping" type="integer" variable="$length">
|
9799 |
<type by_reference="false">integer</type>
|
9800 |
</tag>
|
9801 |
+
<tag line="3298" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9802 |
<type by_reference="false">array</type>
|
9803 |
</tag>
|
9804 |
</docblock>
|
9805 |
+
<argument line="3311">
|
9806 |
<name>$settings</name>
|
9807 |
<default><![CDATA[NULL]]></default>
|
9808 |
<type/>
|
9809 |
</argument>
|
9810 |
+
<argument line="3311">
|
9811 |
<name>$offset</name>
|
9812 |
<default><![CDATA[0]]></default>
|
9813 |
<type/>
|
9814 |
</argument>
|
9815 |
+
<argument line="3311">
|
9816 |
<name>$length</name>
|
9817 |
<default><![CDATA[0]]></default>
|
9818 |
<type/>
|
9819 |
</argument>
|
9820 |
</method>
|
9821 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3384" package="Media Library Assistant">
|
9822 |
<name>_delete_custom_field</name>
|
9823 |
<full_name>_delete_custom_field</full_name>
|
9824 |
+
<docblock line="3375">
|
9825 |
<description><![CDATA[Delete a custom field from the wp_postmeta table]]></description>
|
9826 |
<long-description><![CDATA[]]></long-description>
|
9827 |
+
<tag line="3375" name="since" description="1.10"/>
|
9828 |
+
<tag line="3375" name="param" description="specific custom_field_mapping rule" type="array" variable="$value">
|
9829 |
<type by_reference="false">array</type>
|
9830 |
</tag>
|
9831 |
+
<tag line="3375" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9832 |
<type by_reference="false">array</type>
|
9833 |
</tag>
|
9834 |
</docblock>
|
9835 |
+
<argument line="3384">
|
9836 |
<name>$value</name>
|
9837 |
<default><![CDATA[]]></default>
|
9838 |
<type/>
|
9839 |
</argument>
|
9840 |
</method>
|
9841 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3411" package="Media Library Assistant">
|
9842 |
<name>_save_custom_field_settings</name>
|
9843 |
<full_name>_save_custom_field_settings</full_name>
|
9844 |
+
<docblock line="3401">
|
9845 |
<description><![CDATA[Save custom field settings to the options table]]></description>
|
9846 |
<long-description><![CDATA[]]></long-description>
|
9847 |
+
<tag line="3401" name="since" description="1.10"/>
|
9848 |
+
<tag line="3401" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9849 |
+
<tag line="3401" name="param" description="| NULL specific custom_field_mapping values" type="array" variable="$new_values">
|
9850 |
<type by_reference="false">array</type>
|
9851 |
</tag>
|
9852 |
+
<tag line="3401" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9853 |
<type by_reference="false">array</type>
|
9854 |
</tag>
|
9855 |
</docblock>
|
9856 |
+
<argument line="3411">
|
9857 |
<name>$new_values</name>
|
9858 |
<default><![CDATA[NULL]]></default>
|
9859 |
<type/>
|
9860 |
</argument>
|
9861 |
</method>
|
9862 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3455" package="Media Library Assistant">
|
9863 |
<name>_process_iptc_exif_standard</name>
|
9864 |
<full_name>_process_iptc_exif_standard</full_name>
|
9865 |
+
<docblock line="3442">
|
9866 |
<description><![CDATA[Process IPTC/EXIF standard field settings against all image attachments
|
9867 |
without saving the settings to the mla_option]]></description>
|
9868 |
<long-description><![CDATA[]]></long-description>
|
9869 |
+
<tag line="3442" name="since" description="1.00"/>
|
9870 |
+
<tag line="3442" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9871 |
+
<tag line="3442" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
|
9872 |
<type by_reference="false">integer</type>
|
9873 |
</tag>
|
9874 |
+
<tag line="3442" name="param" description="length for chunk mapping" type="integer" variable="$length">
|
9875 |
<type by_reference="false">integer</type>
|
9876 |
</tag>
|
9877 |
+
<tag line="3442" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9878 |
<type by_reference="false">array</type>
|
9879 |
</tag>
|
9880 |
</docblock>
|
9881 |
+
<argument line="3455">
|
9882 |
<name>$offset</name>
|
9883 |
<default><![CDATA[0]]></default>
|
9884 |
<type/>
|
9885 |
</argument>
|
9886 |
+
<argument line="3455">
|
9887 |
<name>$length</name>
|
9888 |
<default><![CDATA[0]]></default>
|
9889 |
<type/>
|
9890 |
</argument>
|
9891 |
</method>
|
9892 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3526" package="Media Library Assistant">
|
9893 |
<name>_process_iptc_exif_taxonomy</name>
|
9894 |
<full_name>_process_iptc_exif_taxonomy</full_name>
|
9895 |
+
<docblock line="3513">
|
9896 |
<description><![CDATA[Process IPTC/EXIF taxonomy term settings against all image attachments
|
9897 |
without saving the settings to the mla_option]]></description>
|
9898 |
<long-description><![CDATA[]]></long-description>
|
9899 |
+
<tag line="3513" name="since" description="1.00"/>
|
9900 |
+
<tag line="3513" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9901 |
+
<tag line="3513" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
|
9902 |
<type by_reference="false">integer</type>
|
9903 |
</tag>
|
9904 |
+
<tag line="3513" name="param" description="length for chunk mapping" type="integer" variable="$length">
|
9905 |
<type by_reference="false">integer</type>
|
9906 |
</tag>
|
9907 |
+
<tag line="3513" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9908 |
<type by_reference="false">array</type>
|
9909 |
</tag>
|
9910 |
</docblock>
|
9911 |
+
<argument line="3526">
|
9912 |
<name>$offset</name>
|
9913 |
<default><![CDATA[0]]></default>
|
9914 |
<type/>
|
9915 |
</argument>
|
9916 |
+
<argument line="3526">
|
9917 |
<name>$length</name>
|
9918 |
<default><![CDATA[0]]></default>
|
9919 |
<type/>
|
9920 |
</argument>
|
9921 |
</method>
|
9922 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3598" package="Media Library Assistant">
|
9923 |
<name>_process_iptc_exif_custom</name>
|
9924 |
<full_name>_process_iptc_exif_custom</full_name>
|
9925 |
+
<docblock line="3584">
|
9926 |
<description><![CDATA[Process IPTC/EXIF custom field settings against all image attachments
|
9927 |
without saving the settings to the mla_option]]></description>
|
9928 |
<long-description><![CDATA[]]></long-description>
|
9929 |
+
<tag line="3584" name="since" description="1.00"/>
|
9930 |
+
<tag line="3584" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9931 |
+
<tag line="3584" name="param" description="| NULL specific iptc_exif_custom_mapping values" type="array" variable="$settings">
|
9932 |
<type by_reference="false">array</type>
|
9933 |
</tag>
|
9934 |
+
<tag line="3584" name="param" description="offset for chunk mapping" type="integer" variable="$offset">
|
9935 |
<type by_reference="false">integer</type>
|
9936 |
</tag>
|
9937 |
+
<tag line="3584" name="param" description="length for chunk mapping" type="integer" variable="$length">
|
9938 |
<type by_reference="false">integer</type>
|
9939 |
</tag>
|
9940 |
+
<tag line="3584" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9941 |
<type by_reference="false">array</type>
|
9942 |
</tag>
|
9943 |
</docblock>
|
9944 |
+
<argument line="3598">
|
9945 |
<name>$settings</name>
|
9946 |
<default><![CDATA[NULL]]></default>
|
9947 |
<type/>
|
9948 |
</argument>
|
9949 |
+
<argument line="3598">
|
9950 |
<name>$offset</name>
|
9951 |
<default><![CDATA[0]]></default>
|
9952 |
<type/>
|
9953 |
</argument>
|
9954 |
+
<argument line="3598">
|
9955 |
<name>$length</name>
|
9956 |
<default><![CDATA[0]]></default>
|
9957 |
<type/>
|
9958 |
</argument>
|
9959 |
</method>
|
9960 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3679" package="Media Library Assistant">
|
9961 |
<name>_save_iptc_exif_custom_settings</name>
|
9962 |
<full_name>_save_iptc_exif_custom_settings</full_name>
|
9963 |
+
<docblock line="3670">
|
9964 |
<description><![CDATA[Save IPTC/EXIF custom field settings to the options table]]></description>
|
9965 |
<long-description><![CDATA[]]></long-description>
|
9966 |
+
<tag line="3670" name="since" description="1.30"/>
|
9967 |
+
<tag line="3670" name="param" description="specific iptc_exif_custom_mapping values" type="array" variable="$new_values">
|
9968 |
<type by_reference="false">array</type>
|
9969 |
</tag>
|
9970 |
+
<tag line="3670" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9971 |
<type by_reference="false">array</type>
|
9972 |
</tag>
|
9973 |
</docblock>
|
9974 |
+
<argument line="3679">
|
9975 |
<name>$new_values</name>
|
9976 |
<default><![CDATA[]]></default>
|
9977 |
<type/>
|
9978 |
</argument>
|
9979 |
</method>
|
9980 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3695" package="Media Library Assistant">
|
9981 |
<name>_save_iptc_exif_settings</name>
|
9982 |
<full_name>_save_iptc_exif_settings</full_name>
|
9983 |
+
<docblock line="3686">
|
9984 |
<description><![CDATA[Save IPTC/EXIF settings to the options table]]></description>
|
9985 |
<long-description><![CDATA[]]></long-description>
|
9986 |
+
<tag line="3686" name="since" description="1.00"/>
|
9987 |
+
<tag line="3686" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
9988 |
+
<tag line="3686" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
9989 |
<type by_reference="false">array</type>
|
9990 |
</tag>
|
9991 |
</docblock>
|
9992 |
</method>
|
9993 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3733" package="Media Library Assistant">
|
9994 |
<name>_save_general_settings</name>
|
9995 |
<full_name>_save_general_settings</full_name>
|
9996 |
+
<docblock line="3724">
|
9997 |
<description><![CDATA[Save General settings to the options table]]></description>
|
9998 |
<long-description><![CDATA[]]></long-description>
|
9999 |
+
<tag line="3724" name="since" description="0.1"/>
|
10000 |
+
<tag line="3724" name="uses" description="\global\$_REQUEST" refers="\global\$_REQUEST"/>
|
10001 |
+
<tag line="3724" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
10002 |
<type by_reference="false">array</type>
|
10003 |
</tag>
|
10004 |
</docblock>
|
10005 |
</method>
|
10006 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3823" package="Media Library Assistant">
|
10007 |
<name>_reset_general_settings</name>
|
10008 |
<full_name>_reset_general_settings</full_name>
|
10009 |
+
<docblock line="3816">
|
10010 |
<description><![CDATA[Delete saved settings, restoring default values]]></description>
|
10011 |
<long-description><![CDATA[]]></long-description>
|
10012 |
+
<tag line="3816" name="since" description="0.1"/>
|
10013 |
+
<tag line="3816" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
10014 |
<type by_reference="false">array</type>
|
10015 |
</tag>
|
10016 |
</docblock>
|
10017 |
</method>
|
10018 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3862" package="Media Library Assistant">
|
10019 |
<name>_compose_import_settings</name>
|
10020 |
<full_name>_compose_import_settings</full_name>
|
10021 |
+
<docblock line="3855">
|
10022 |
<description><![CDATA[Compose HTML markup for the import settings if any settings files exist]]></description>
|
10023 |
<long-description><![CDATA[]]></long-description>
|
10024 |
+
<tag line="3855" name="since" description="1.50"/>
|
10025 |
+
<tag line="3855" name="return" description="HTML markup for the Import All Settings button and dropdown list, if any" type="string">
|
10026 |
<type by_reference="false">string</type>
|
10027 |
</tag>
|
10028 |
</docblock>
|
10029 |
</method>
|
10030 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="3917" package="Media Library Assistant">
|
10031 |
<name>_export_settings</name>
|
10032 |
<full_name>_export_settings</full_name>
|
10033 |
+
<docblock line="3908">
|
10034 |
<description><![CDATA[Serialize option settings and write them to a file]]></description>
|
10035 |
<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>
|
10036 |
+
<tag line="3908" name="since" description="1.50"/>
|
10037 |
+
<tag line="3908" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
10038 |
<type by_reference="false">array</type>
|
10039 |
</tag>
|
10040 |
</docblock>
|
10041 |
</method>
|
10042 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="4004" package="Media Library Assistant">
|
10043 |
<name>_import_settings</name>
|
10044 |
<full_name>_import_settings</full_name>
|
10045 |
+
<docblock line="3997">
|
10046 |
<description><![CDATA[Read a serialized file of option settings and write them to the database]]></description>
|
10047 |
<long-description><![CDATA[]]></long-description>
|
10048 |
+
<tag line="3997" name="since" description="1.50"/>
|
10049 |
+
<tag line="3997" name="return" description="Message(s) reflecting the results of the operation" type="array">
|
10050 |
<type by_reference="false">array</type>
|
10051 |
</tag>
|
10052 |
</docblock>
|
10053 |
</method>
|
10054 |
</class>
|
10055 |
</file>
|
10056 |
+
<file path="includes\class-mla-shortcodes.php" hash="46a33606aa3cca70bf3bc8dd7a22b72d" package="Media Library Assistant">
|
10057 |
<docblock line="2">
|
10058 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
10059 |
<long-description><![CDATA[]]></long-description>
|
10070 |
<tag line="9" name="package" description="Media Library Assistant"/>
|
10071 |
<tag line="9" name="since" description="0.20"/>
|
10072 |
</docblock>
|
10073 |
+
<property final="false" static="true" visibility="public" line="131" namespace="global" package="Media Library Assistant">
|
10074 |
<name>$mla_debug_messages</name>
|
10075 |
<default><![CDATA['']]></default>
|
10076 |
+
<docblock line="124">
|
10077 |
<description><![CDATA[Accumulates debug messages]]></description>
|
10078 |
<long-description><![CDATA[]]></long-description>
|
10079 |
+
<tag line="124" name="since" description="0.60"/>
|
10080 |
+
<tag line="124" name="var" description="" type="string">
|
10081 |
<type by_reference="false">string</type>
|
10082 |
</tag>
|
10083 |
</docblock>
|
10084 |
</property>
|
10085 |
+
<property final="false" static="true" visibility="private" line="140" namespace="global" package="Media Library Assistant">
|
10086 |
<name>$mla_debug</name>
|
10087 |
<default><![CDATA[false]]></default>
|
10088 |
+
<docblock line="133">
|
10089 |
<description><![CDATA[Turn debug collection and display on or off]]></description>
|
10090 |
<long-description><![CDATA[]]></long-description>
|
10091 |
+
<tag line="133" name="since" description="0.70"/>
|
10092 |
+
<tag line="133" name="var" description="" type="boolean">
|
10093 |
<type by_reference="false">boolean</type>
|
10094 |
</tag>
|
10095 |
</docblock>
|
10096 |
</property>
|
10097 |
+
<property final="false" static="true" visibility="private" line="2450" namespace="global" package="Media Library Assistant">
|
10098 |
<name>$query_parameters</name>
|
10099 |
<default><![CDATA[array()]]></default>
|
10100 |
+
<docblock line="2437">
|
10101 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
10102 |
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
10103 |
The parameters are set up in the mla_get_shortcode_attachments function, and
|
10104 |
any further logic required to translate those values is contained in the filter.</p>
|
10105 |
|
10106 |
<p>Array index values are: orderby, post_parent</p>]]></long-description>
|
10107 |
+
<tag line="2437" name="since" description="1.13"/>
|
10108 |
+
<tag line="2437" name="var" description="" type="array">
|
10109 |
<type by_reference="false">array</type>
|
10110 |
</tag>
|
10111 |
</docblock>
|
10112 |
</property>
|
10113 |
+
<property final="false" static="true" visibility="private" line="2591" namespace="global" package="Media Library Assistant">
|
10114 |
<name>$mla_get_shortcode_attachments_parameters</nam
|