Version Description
- New: The
mla-substitution-parameter-hooks-example.php
example plugin "parent:" prefix has been enhanced to provide access to item's parent post/page custom field values. Simply code the custom field name as the value following the "parent:" prefix. - New: A new "MLA Copy Item Example" plugin has been added. It adds a "Copy" action to the Media/Assistant admin submenu that lets you copy one or more existing MEdia LIbrary items, creating new items.
- New: The
woofixit.php
example plugin has new tools. The "Fill ALT Text (CT)" and "Replace ALT Text (CT)" tools apply a Content Template to the Product Image/Product Gallery Images. - New: In the Settings/Media Library Assistant Documentation tab, "MLA Term List Examples" have been added.
- New: A new setting for the Debug tab logs details of the IPTC, EXIF, XMP and PDF metadata generation process.
- Fix: The minimum PHP version required by MLA has been updated from 5.4 to 5.3.
- Fix: Some EXIF values sourced from the IFD0 section are now properly converted to string values, and are no longer overwritten by values from the WINXP section. The WINXP values are available separately, e.g.,
[+exif:WINXP.Title+]
. - Fix: In the Settings/Media Library Assistant Documentation tab, links to EXIF information and standards have been updated.
- Fix: The MLA Reporting value on the Settings/Media LIbrary Assistant Debug tab handles hexadedimal values, e.g. "0xFFFF", properly with PHP version 7.x.
- Fix: IPTC/EXIF and custom field mapping rules now handle "invisible" custom fields (names beginning with underscore) correctly.
- Fix: For
[mla_gallery]
, a defect in applying themla_terms_connnector
parameter has been corrected. - Fix: For
[mla_gallery]
pagination controls are now properly displayed when themla_paginate_rows
is returned from themla_gallery_arguments
filter. See, for example, the "MLA tax query Example" plugin. - Fix: When Polylang is active, a problem with the "Attachments" column on the taxonomy edit submenu screens has been corrected.
- Fix: Handling for the Media/Assistant "Entries per page:" option setting has been changed to work more reliably and optionally log some debug information.
- Fix: Fatal PHP errors caused by
link=download
requests that do not specify all required parameters have been eliminated.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 2.41 |
Comparing to | |
See all releases |
Code changes from version 2.40 to 2.41
- css/mla-thumbnail-generation-rtl.css +2 -2
- css/mla-thumbnail-generation.css +2 -2
- examples/plugins/mla-copy-item-example/help-for-mla-copy-item-example.tpl +39 -0
- examples/plugins/mla-copy-item-example/mla-copy-item-example.php +520 -0
- examples/plugins/mla-copy-item-example/mla-copy-item-example.tpl +57 -0
- examples/plugins/mla-copy-item-example/mla-copy-item-rtl.css +97 -0
- examples/plugins/mla-copy-item-example/mla-copy-item-scripts.js +130 -0
- examples/plugins/mla-copy-item-example/mla-copy-item.css +97 -0
- examples/plugins/mla-regenerate-thumbnails-example.php +4 -5
- examples/plugins/mla-substitution-parameter-hooks-example.php +14 -3
- examples/plugins/woofixit.php +200 -27
- includes/class-mla-core.php +17 -2
- includes/class-mla-data.php +73 -4
- includes/class-mla-file-downloader.php +2 -2
- includes/class-mla-main.php +17 -4
- includes/class-mla-mime-types.php +6 -6
- includes/class-mla-options.php +2 -1
- includes/class-mla-polylang-shortcode-support.php +6 -1
- includes/class-mla-settings-custom-fields-tab.php +2 -2
- includes/class-mla-settings-documentation-tab.php +2 -5
- includes/class-mla-settings-iptc-exif-tab.php +2 -2
- includes/class-mla-settings-shortcodes-tab.php +2 -2
- includes/class-mla-settings.php +15 -3
- includes/class-mla-shortcode-support.php +10 -10
- includes/class-mla-thumbnail-generation.php +19 -9
- includes/mla-file-downloader.php +1 -1
- includes/mla-plugin-loader.php +14 -19
- index.php +2 -2
- phpDocs/classes/CPAC_Deprecated_Storage_Model_MLA.html +3 -3
- phpDocs/classes/CPAC_Storage_Model_MLA.html +3 -3
- phpDocs/classes/MLA.html +6 -6
- phpDocs/classes/MLACore.html +32 -3
- phpDocs/classes/MLACoreOptions.html +3 -3
- phpDocs/classes/MLAData.html +3 -3
- phpDocs/classes/MLAData_source.html +3 -3
- phpDocs/classes/MLAEdit.html +3 -3
- phpDocs/classes/MLAFileDownloader.html +24 -24
- phpDocs/classes/MLAImageProcessor.html +3 -3
- phpDocs/classes/MLAMime.html +9 -9
- phpDocs/classes/MLAModal.html +3 -3
- phpDocs/classes/MLAModal_Ajax.html +3 -3
- phpDocs/classes/MLAMutex.html +3 -3
- phpDocs/classes/MLAObjects.html +3 -3
- phpDocs/classes/MLAOptions.html +3 -3
- phpDocs/classes/MLAPDF.html +3 -3
- phpDocs/classes/MLAQuery.html +3 -3
- phpDocs/classes/MLAReferences.html +3 -3
- phpDocs/classes/MLASettings.html +6 -6
- phpDocs/classes/MLASettings_CustomFields.html +3 -3
- phpDocs/classes/MLASettings_Documentation.html +3 -3
- phpDocs/classes/MLASettings_IPTCEXIF.html +3 -3
- phpDocs/classes/MLASettings_Shortcodes.html +3 -3
- phpDocs/classes/MLASettings_Upload.html +3 -3
- phpDocs/classes/MLASettings_View.html +3 -3
- phpDocs/classes/MLAShortcode_Support.html +3 -3
- phpDocs/classes/MLAShortcodes.html +3 -3
- phpDocs/classes/MLATemplate_Support.html +3 -3
- phpDocs/classes/MLATest.html +3 -3
- phpDocs/classes/MLATextWidget.html +3 -3
- phpDocs/classes/MLAUninstall.html +3 -3
- phpDocs/classes/MLA_Ajax.html +3 -3
- phpDocs/classes/MLA_Checklist_Walker.html +3 -3
- phpDocs/classes/MLA_Example_List_Table.html +6 -7
- phpDocs/classes/MLA_List_Table.html +3 -3
- phpDocs/classes/MLA_Polylang.html +3 -3
- phpDocs/classes/MLA_Polylang_Shortcodes.html +3 -3
- phpDocs/classes/MLA_Template_List_Table.html +5 -5
- phpDocs/classes/MLA_Template_Query.html +3 -3
- phpDocs/classes/MLA_Thumbnail.html +4 -4
- phpDocs/classes/MLA_Upgrader_Skin.html +3 -3
- phpDocs/classes/MLA_Upload_List_Table.html +3 -3
- phpDocs/classes/MLA_Upload_Optional_List_Table.html +3 -3
- phpDocs/classes/MLA_View_List_Table.html +3 -3
- phpDocs/classes/MLA_WPML.html +3 -3
- phpDocs/classes/MLA_WPML_List_Table.html +3 -3
- phpDocs/classes/MLA_WPML_Shortcodes.html +3 -3
- phpDocs/classes/MLA_WPML_Table.html +3 -3
- phpDocs/files/includes.class-mla-admin-columns-support-deprecated.html +3 -3
- phpDocs/files/includes.class-mla-admin-columns-support.html +3 -3
- phpDocs/files/includes.class-mla-ajax.html +3 -3
- phpDocs/files/includes.class-mla-core-options.html +3 -3
- phpDocs/files/includes.class-mla-core.html +3 -3
- phpDocs/files/includes.class-mla-data-pdf.html +3 -3
- phpDocs/files/includes.class-mla-data-query.html +3 -3
- phpDocs/files/includes.class-mla-data-references.html +3 -3
- phpDocs/files/includes.class-mla-data-source.html +3 -3
- phpDocs/files/includes.class-mla-data.html +3 -3
- phpDocs/files/includes.class-mla-edit-media.html +3 -3
- phpDocs/files/includes.class-mla-file-downloader.html +3 -3
- phpDocs/files/includes.class-mla-image-processor.html +3 -3
- phpDocs/files/includes.class-mla-list-table.html +3 -3
- phpDocs/files/includes.class-mla-main.html +3 -3
- phpDocs/files/includes.class-mla-media-modal-ajax.html +3 -3
- phpDocs/files/includes.class-mla-media-modal.html +3 -3
- phpDocs/files/includes.class-mla-mime-types.html +3 -3
- phpDocs/files/includes.class-mla-objects.html +3 -3
- phpDocs/files/includes.class-mla-options.html +3 -3
- phpDocs/files/includes.class-mla-polylang-shortcode-support.html +3 -3
- phpDocs/files/includes.class-mla-polylang-support.html +3 -3
- phpDocs/files/includes.class-mla-settings-custom-fields-tab.html +3 -3
- phpDocs/files/includes.class-mla-settings-documentation-tab.html +3 -3
- phpDocs/files/includes.class-mla-settings-iptc-exif-tab.html +3 -3
- phpDocs/files/includes.class-mla-settings-shortcodes-tab.html +3 -3
- phpDocs/files/includes.class-mla-settings-upload-tab.html +3 -3
- phpDocs/files/includes.class-mla-settings-view-tab.html +3 -3
- phpDocs/files/includes.class-mla-settings.html +41 -4
- phpDocs/files/includes.class-mla-shortcode-support.html +3 -3
- phpDocs/files/includes.class-mla-shortcodes.html +3 -3
- phpDocs/files/includes.class-mla-template-support.html +3 -3
- phpDocs/files/includes.class-mla-thumbnail-generation.html +3 -3
- phpDocs/files/includes.class-mla-wpml-shortcode-support.html +3 -3
- phpDocs/files/includes.class-mla-wpml-support.html +3 -3
- phpDocs/files/includes.mla-file-downloader.html +3 -3
- phpDocs/files/includes.mla-main-search-box-template.html +3 -3
- phpDocs/files/includes.mla-media-modal-js-template.html +3 -3
- phpDocs/files/includes.mla-plugin-loader.html +3 -3
- phpDocs/files/includes.mla-stream-image.html +3 -3
- phpDocs/files/includes/class-mla-core.php.txt +17 -2
- phpDocs/files/includes/class-mla-data.php.txt +73 -4
- phpDocs/files/includes/class-mla-file-downloader.php.txt +2 -2
- phpDocs/files/includes/class-mla-main.php.txt +17 -4
- phpDocs/files/includes/class-mla-mime-types.php.txt +6 -6
- phpDocs/files/includes/class-mla-options.php.txt +2 -1
- phpDocs/files/includes/class-mla-polylang-shortcode-support.php.txt +6 -1
- phpDocs/files/includes/class-mla-settings-custom-fields-tab.php.txt +2 -2
- phpDocs/files/includes/class-mla-settings-documentation-tab.php.txt +2 -5
- phpDocs/files/includes/class-mla-settings-iptc-exif-tab.php.txt +2 -2
- phpDocs/files/includes/class-mla-settings-shortcodes-tab.php.txt +2 -2
- phpDocs/files/includes/class-mla-settings.php.txt +15 -3
- phpDocs/files/includes/class-mla-shortcode-support.php.txt +10 -10
- phpDocs/files/includes/class-mla-thumbnail-generation.php.txt +19 -9
- phpDocs/files/includes/mla-file-downloader.php.txt +1 -1
- phpDocs/files/includes/mla-plugin-loader.php.txt +14 -19
- phpDocs/files/index.html +3 -3
- phpDocs/files/index.php.txt +2 -2
- phpDocs/files/mla-uninstall.html +3 -3
- phpDocs/files/tests.class-mla-tests.html +3 -3
- phpDocs/graphs/class.html +1 -1
- phpDocs/index.html +33 -3
- phpDocs/namespaces/default.html +33 -3
- phpDocs/phpdoc-cache-09/phpdoc-cache-file_e78bd1f438b0cb5d5f6786a6a5261096.dat +0 -0
- phpDocs/phpdoc-cache-24/phpdoc-cache-file_9f748c6a5680b7f4bbae35fc5dba9c05.dat +0 -0
- phpDocs/phpdoc-cache-2d/phpdoc-cache-file_f182fa6d101ebd4c1347b395d4e0d09b.dat +0 -0
- phpDocs/phpdoc-cache-2e/phpdoc-cache-file_7b302bfef0265361b96ada9759528bfc.dat +0 -0
- phpDocs/phpdoc-cache-3c/phpdoc-cache-file_64f0b0d3a47472c9553403299fca55ef.dat +0 -0
- phpDocs/phpdoc-cache-42/phpdoc-cache-file_a8685a59a213c287e0e3f5dbcac89e24.dat +0 -0
- phpDocs/phpdoc-cache-49/phpdoc-cache-file_c8e25eba757f98e4c5ec6e7328e24bf4.dat +0 -0
- phpDocs/phpdoc-cache-4a/phpdoc-cache-file_80f6c1f7736ed4e731f09a2afdb6460c.dat +0 -0
- phpDocs/phpdoc-cache-75/phpdoc-cache-file_79e0c8c9208742cd4edcbe8f0fd45dfa.dat +0 -0
- phpDocs/phpdoc-cache-9f/phpdoc-cache-file_6f51a23a7df2bb60165384fb76b6b751.dat +0 -0
- phpDocs/phpdoc-cache-b8/phpdoc-cache-file_01723604a91a3a16321da4e37147c196.dat +0 -0
- phpDocs/phpdoc-cache-bc/phpdoc-cache-file_b610fcb849a861bc5ee4852c0ba0176b.dat +0 -0
- phpDocs/phpdoc-cache-c8/phpdoc-cache-file_828e0013b8f3bc1bb22b4f57172b019d.dat +0 -0
- phpDocs/phpdoc-cache-ec/phpdoc-cache-file_1c03b602a1296f0507ceb5bb756949c3.dat +0 -0
- phpDocs/phpdoc-cache-ed/phpdoc-cache-file_fdda0a7412b95ed4019ae644151df777.dat +0 -0
- phpDocs/phpdoc-cache-f4/phpdoc-cache-file_3388de6239006370a61560dcb6b41de3.dat +0 -0
- phpDocs/phpdoc-cache-f7/phpdoc-cache-file_c46af8cfafdef29a045ff87298aa3bc7.dat +0 -0
- phpDocs/reports/deprecated.html +1 -1
- phpDocs/reports/errors.html +1 -1
- phpDocs/reports/markers.html +2 -2
- readme.txt +21 -4
- tpls/documentation-settings-tab.tpl +50 -4
css/mla-thumbnail-generation-rtl.css
CHANGED
@@ -63,8 +63,8 @@
|
|
63 |
(-o-min-device-pixel-ratio: 5/4),
|
64 |
(-webkit-min-device-pixel-ratio: 1.25),
|
65 |
(min-resolution: 120dpi) {
|
66 |
-
#
|
67 |
-
#
|
68 |
background: none !important;
|
69 |
}
|
70 |
}
|
63 |
(-o-min-device-pixel-ratio: 5/4),
|
64 |
(-webkit-min-device-pixel-ratio: 1.25),
|
65 |
(min-resolution: 120dpi) {
|
66 |
+
#mla-thumbnail-titles div a,
|
67 |
+
#mla-thumbnail-titles div a:hover {
|
68 |
background: none !important;
|
69 |
}
|
70 |
}
|
css/mla-thumbnail-generation.css
CHANGED
@@ -63,8 +63,8 @@
|
|
63 |
(-o-min-device-pixel-ratio: 5/4),
|
64 |
(-webkit-min-device-pixel-ratio: 1.25),
|
65 |
(min-resolution: 120dpi) {
|
66 |
-
#
|
67 |
-
#
|
68 |
background: none !important;
|
69 |
}
|
70 |
}
|
63 |
(-o-min-device-pixel-ratio: 5/4),
|
64 |
(-webkit-min-device-pixel-ratio: 1.25),
|
65 |
(min-resolution: 120dpi) {
|
66 |
+
#mla-thumbnail-titles div a,
|
67 |
+
#mla-thumbnail-titles div a:hover {
|
68 |
background: none !important;
|
69 |
}
|
70 |
}
|
examples/plugins/mla-copy-item-example/help-for-mla-copy-item-example.tpl
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- loaded in /mla-copy-item-example.php function mla_list_table_help_template for the Media/Assistant submenu screen -->
|
2 |
+
<!-- invoked as /wp-admin/upload.php?page=mla-menu -->
|
3 |
+
<!-- template="mla-copy-item-example" -->
|
4 |
+
<!-- title="Copy Item(s)" order="97" -->
|
5 |
+
<p>The <strong>MLA Copy Item Example</strong> plugin lets you copy one or more Media Lbrary items. The "Copy" Bulk Action makes it easy to create new items as if you had uploaded the attached file(s) again.</p>
|
6 |
+
<p>You can use the following options to control the thumbnail generation process:</p>
|
7 |
+
<table>
|
8 |
+
<tr>
|
9 |
+
<td class="mla-doc-table-label">Map Custom Field metadata</td>
|
10 |
+
<td valign="top">run the Custom Fields metadata mapping rules for the new item.</td>
|
11 |
+
</tr>
|
12 |
+
<tr>
|
13 |
+
<td class="mla-doc-table-label">Map IPTC/EXIF metadata</td>
|
14 |
+
<td valign="top">run the IPTC/EXIF metadata mapping rules (Standard Fields, Taxonomy Terms and Custom Fields) for the new item.</td>
|
15 |
+
</tr>
|
16 |
+
<tr>
|
17 |
+
<td class="mla-doc-table-label">Copy Taxonomy Terms</td>
|
18 |
+
<td valign="top">copy all of the source item’s assigned terms to the new item.</td>
|
19 |
+
</tr>
|
20 |
+
<tr>
|
21 |
+
<td class="mla-doc-table-label">Copy Custom Fields</td>
|
22 |
+
<td valign="top">copy all of the source item’s custom field values to the new item.</td>
|
23 |
+
</tr>
|
24 |
+
<tr>
|
25 |
+
<td class="mla-doc-table-label">Copy Item Fields</td>
|
26 |
+
<td valign="top">copy the Title, Caption, Description, ALT Text, Parent ID and Menu Order values from the source item to the new item.</td>
|
27 |
+
</tr>
|
28 |
+
</table>
|
29 |
+
<p>It is important to understand the order in which the copying and applying the options are done:</p>
|
30 |
+
<ol>
|
31 |
+
<li>A temporary copy of the source item’s attached file is created.</li>
|
32 |
+
<li>The temporary copy is processed by WordPress as if it had been uploaded via the Media/Add New submenu. If you selected the "Copy Item Values" option, the Title, Caption, Description, Parent ID and Menu Order values are copied to the new item.</li>
|
33 |
+
<li>The Custom Field and/or IPTC/EXIF metadata mapping rules (if selected) are processed. Depending on how the rules are coded they may replace Standard Field values from the previous step.</li>
|
34 |
+
<li>If you selected the "Copy Item Values" option, the ALT Text value is copied to the new item.</li>
|
35 |
+
<li>If you selected the "Copy Custom Fields" option, values are copied from the source item to the new item.</li>
|
36 |
+
<li>If you selected the "Copy Taxonomy Terms" option, terms are copied from the source item to the new item.</li>
|
37 |
+
</ol>
|
38 |
+
<p>For most copy actions it is best to leave the option values unaltered. In particular, if you select the "Copy" options in addition to the mapping options be sure you understand how they may overlap.</p>
|
39 |
+
<p>After you click Copy, the Media/Assistant submenu table will be refreshed to display all the new items added to the Media Library. You can use Quick Edit and Bulk Edit to make additional changes to the new items.</p>
|
examples/plugins/mla-copy-item-example/mla-copy-item-example.php
ADDED
@@ -0,0 +1,520 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Adds "Copy" action to Media/Assistant submenu Bulk Actions dropdown
|
4 |
+
*
|
5 |
+
* In this example, a "Copy" bulk action lets you make a copy of one or more existing items
|
6 |
+
* as a new Media Library item or items.
|
7 |
+
*
|
8 |
+
* This example plugin uses eight of the many filters available in the Media/Assistant submenu
|
9 |
+
* screen and illustrates a technique you can use to customize the submenu table actions.
|
10 |
+
*
|
11 |
+
* Created for support topic "Option to copy an image"
|
12 |
+
* opened on 11/2/2016 by "argosmedia".
|
13 |
+
* https://wordpress.org/support/topic/option-to-copy-an-image/
|
14 |
+
*
|
15 |
+
* @package MLA Copy Item Example
|
16 |
+
* @version 1.00
|
17 |
+
*/
|
18 |
+
|
19 |
+
/*
|
20 |
+
Plugin Name: MLA Copy Item Example
|
21 |
+
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
22 |
+
Description: Adds "Copy" action to Media/Assistant submenu Bulk Actions dropdown
|
23 |
+
Author: David Lingren
|
24 |
+
Version: 1.00
|
25 |
+
Author URI: http://fairtradejudaica.org/our-story/staff/
|
26 |
+
|
27 |
+
Copyright 2016 David Lingren
|
28 |
+
|
29 |
+
This program is free software; you can redistribute it and/or modify
|
30 |
+
it under the terms of the GNU General Public License as published by
|
31 |
+
the Free Software Foundation; either version 2 of the License, or
|
32 |
+
(at your option) any later version.
|
33 |
+
|
34 |
+
This program is distributed in the hope that it will be useful,
|
35 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
36 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
37 |
+
GNU General Public License for more details.
|
38 |
+
|
39 |
+
You can get a copy of the GNU General Public License by writing to the
|
40 |
+
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
|
41 |
+
*/
|
42 |
+
|
43 |
+
/**
|
44 |
+
* Class MLA Copy Item Example adds a "Copy" bulk action and makes copies of existing items.
|
45 |
+
*
|
46 |
+
* @package MLA Copy Item Example
|
47 |
+
* @since 1.00
|
48 |
+
*/
|
49 |
+
class MLACopyItemExample {
|
50 |
+
/**
|
51 |
+
* Uniquely identifies the Copy bulk action
|
52 |
+
*
|
53 |
+
* @since 1.00
|
54 |
+
*
|
55 |
+
* @var string
|
56 |
+
*/
|
57 |
+
const MLA_COPY_ACTION = 'mla-copy-item-example';
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Initialization function, similar to __construct()
|
61 |
+
*
|
62 |
+
* @since 1.00
|
63 |
+
*/
|
64 |
+
public static function initialize() {
|
65 |
+
// The filters are only useful in the admin section
|
66 |
+
if ( !is_admin() )
|
67 |
+
return;
|
68 |
+
|
69 |
+
/*
|
70 |
+
* Defined in /wp-admin/admin-header.php
|
71 |
+
*/
|
72 |
+
add_action( 'admin_enqueue_scripts', 'MLACopyItemExample::admin_enqueue_scripts', 10, 1 );
|
73 |
+
|
74 |
+
/*
|
75 |
+
* Defined in /media-library-assistant/includes/class-mla-main.php
|
76 |
+
*/
|
77 |
+
add_filter( 'mla_list_table_help_template', 'MLACopyItemExample::mla_list_table_help_template', 10, 3 );
|
78 |
+
add_filter( 'mla_list_table_begin_bulk_action', 'MLACopyItemExample::mla_list_table_begin_bulk_action', 10, 2 );
|
79 |
+
add_filter( 'mla_list_table_custom_bulk_action', 'MLACopyItemExample::mla_list_table_custom_bulk_action', 10, 3 );
|
80 |
+
add_filter( 'mla_list_table_end_bulk_action', 'MLACopyItemExample::mla_list_table_end_bulk_action', 10, 2 );
|
81 |
+
add_filter( 'mla_list_table_inline_parse', 'MLACopyItemExample::mla_list_table_inline_parse', 10, 3 );
|
82 |
+
|
83 |
+
/*
|
84 |
+
* Defined in /media-library-assistant/includes/class-mla-list-table.php
|
85 |
+
*/
|
86 |
+
add_filter( 'mla_list_table_get_bulk_actions', 'MLACopyItemExample::mla_list_table_get_bulk_actions', 10, 1 );
|
87 |
+
add_filter( 'mla_list_table_submenu_arguments', 'MLACopyItemExample::mla_list_table_submenu_arguments', 10, 2 );
|
88 |
+
}
|
89 |
+
|
90 |
+
/**
|
91 |
+
* Load the plugin's Style Sheet and Javascript files
|
92 |
+
*
|
93 |
+
* @since 2.13
|
94 |
+
*
|
95 |
+
* @param string Name of the page being loaded
|
96 |
+
*
|
97 |
+
* @return void
|
98 |
+
*/
|
99 |
+
public static function admin_enqueue_scripts( $page_hook ) {
|
100 |
+
global $wp_locale;
|
101 |
+
|
102 |
+
$suffix = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
|
103 |
+
|
104 |
+
if ( 'media_page_mla-menu' != $page_hook ) {
|
105 |
+
return;
|
106 |
+
}
|
107 |
+
|
108 |
+
if ( $wp_locale->is_rtl() ) {
|
109 |
+
wp_register_style( 'mla-copy-item', plugin_dir_url( __FILE__ ) . 'mla-copy-item-rtl.css', false, MLACore::CURRENT_MLA_VERSION );
|
110 |
+
} else {
|
111 |
+
wp_register_style( 'mla-copy-item', plugin_dir_url( __FILE__ ) . 'mla-copy-item.css', false, MLACore::CURRENT_MLA_VERSION );
|
112 |
+
}
|
113 |
+
|
114 |
+
wp_enqueue_style( 'mla-copy-item' );
|
115 |
+
|
116 |
+
wp_enqueue_script( 'mla-copy-item-scripts', plugin_dir_url( __FILE__ ) . "mla-copy-item-scripts{$suffix}.js",
|
117 |
+
array( 'jquery' ), MLACore::CURRENT_MLA_VERSION, false );
|
118 |
+
|
119 |
+
$script_variables = array(
|
120 |
+
'error' => __( 'Error while saving the thumbnails.', 'media-library-assistant' ),
|
121 |
+
'ntdelTitle' => __( 'Remove From', 'media-library-assistant' ) . ' ' . 'Copy Items',
|
122 |
+
'noTitle' => __( '(no title)', 'media-library-assistant' ),
|
123 |
+
'bulkTitle' => 'Copy Items',
|
124 |
+
'comma' => _x( ',', 'tag_delimiter', 'media-library-assistant' ),
|
125 |
+
);
|
126 |
+
|
127 |
+
wp_localize_script( 'mla-copy-item-scripts', 'mla_copy_item_support_vars', $script_variables );
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Options for the thumbnail generation bulk action
|
132 |
+
*
|
133 |
+
* @since 2.13
|
134 |
+
*
|
135 |
+
* @var array
|
136 |
+
*/
|
137 |
+
private static $bulk_action_options = array();
|
138 |
+
|
139 |
+
/**
|
140 |
+
* Items returned by custom bulk action(s)
|
141 |
+
*
|
142 |
+
* @since 2.13
|
143 |
+
*
|
144 |
+
* @var array
|
145 |
+
*/
|
146 |
+
private static $bulk_action_includes = array();
|
147 |
+
|
148 |
+
/**
|
149 |
+
* Load the MLA_List_Table dropdown help menu template
|
150 |
+
*
|
151 |
+
* Add the thumbnail generation options documentation.
|
152 |
+
*
|
153 |
+
* @since 2.13
|
154 |
+
*
|
155 |
+
* @param array $template_array NULL, to indicate no replacement template.
|
156 |
+
* @param string $file_name the complete name of the default template file.
|
157 |
+
* @param string $file_suffix the $screen->id or hook suffix part of the template file name.
|
158 |
+
*/
|
159 |
+
public static function mla_list_table_help_template( $template_array, $file_name, $file_suffix ) {
|
160 |
+
if ( 'media_page_mla-menu' != $file_suffix ) {
|
161 |
+
return $template_array;
|
162 |
+
}
|
163 |
+
|
164 |
+
// Retain other filters' additions
|
165 |
+
if ( empty( $template_array ) ) {
|
166 |
+
$template_array = MLACore::mla_load_template( $file_name );
|
167 |
+
}
|
168 |
+
|
169 |
+
$help_array = MLACore::mla_load_template( plugin_dir_path( __FILE__ ) . 'help-for-mla-copy-item-example.tpl', 'path' );
|
170 |
+
|
171 |
+
if ( isset( $help_array['sidebar'] ) ) {
|
172 |
+
if ( isset( $template_array['sidebar'] ) ) {
|
173 |
+
$template_array['sidebar'] .= $help_array['sidebar'];
|
174 |
+
} else {
|
175 |
+
$template_array['sidebar'] = $help_array['sidebar'];
|
176 |
+
}
|
177 |
+
|
178 |
+
unset( $help_array['sidebar'] );
|
179 |
+
}
|
180 |
+
|
181 |
+
return array_merge( $template_array, $help_array );
|
182 |
+
}
|
183 |
+
|
184 |
+
/**
|
185 |
+
* Begin an MLA_List_Table bulk action
|
186 |
+
*
|
187 |
+
* Prepare the thumbnail generation options.
|
188 |
+
*
|
189 |
+
* @since 2.13
|
190 |
+
*
|
191 |
+
* @param array $item_content NULL, to indicate no handler.
|
192 |
+
* @param string $bulk_action the requested action.
|
193 |
+
*/
|
194 |
+
public static function mla_list_table_begin_bulk_action( $item_content, $bulk_action ) {
|
195 |
+
if ( self::MLA_COPY_ACTION != $bulk_action ) {
|
196 |
+
return $item_content;
|
197 |
+
}
|
198 |
+
|
199 |
+
self::$bulk_action_options = array();
|
200 |
+
$request_options = isset( $_REQUEST['mla_copy_item_options'] ) ? $_REQUEST['mla_copy_item_options'] : array();
|
201 |
+
|
202 |
+
foreach ( $request_options as $key => $value ) {
|
203 |
+
if ( ! empty( $value ) ) {
|
204 |
+
self::$bulk_action_options[ $key ] = $value;
|
205 |
+
}
|
206 |
+
}
|
207 |
+
|
208 |
+
// Convert checkboxes to booleans
|
209 |
+
self::$bulk_action_options['map_custom'] = isset( $request_options['map_custom'] );
|
210 |
+
self::$bulk_action_options['map_iptc_exif'] = isset( $request_options['map_iptc_exif'] );
|
211 |
+
self::$bulk_action_options['copy_terms'] = isset( $request_options['copy_terms'] );
|
212 |
+
self::$bulk_action_options['copy_custom'] = isset( $request_options['copy_custom'] );
|
213 |
+
self::$bulk_action_options['copy_item'] = isset( $request_options['copy_item'] );
|
214 |
+
|
215 |
+
// Remember the MLA option settings as overide them as necessary
|
216 |
+
self::$bulk_action_options['enable_custom_field_mapping'] = 'checked' == MLACore::mla_get_option( 'enable_custom_field_mapping' );
|
217 |
+
self::$bulk_action_options['enable_custom_field_update'] = 'checked' == MLACore::mla_get_option( 'enable_custom_field_update' );
|
218 |
+
self::$bulk_action_options['enable_iptc_exif_mapping'] = 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_mapping' );
|
219 |
+
self::$bulk_action_options['enable_iptc_exif_update'] = 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_update' );
|
220 |
+
|
221 |
+
if ( self::$bulk_action_options['map_custom'] ) {
|
222 |
+
MLACore::mla_update_option( 'enable_custom_field_mapping', 'checked' );
|
223 |
+
MLACore::mla_update_option( 'enable_custom_field_update', 'checked' );
|
224 |
+
} else {
|
225 |
+
// Default setting is "unchecked"
|
226 |
+
MLACore::mla_delete_option( 'enable_custom_field_mapping' );
|
227 |
+
MLACore::mla_delete_option( 'enable_custom_field_update' );
|
228 |
+
}
|
229 |
+
|
230 |
+
if ( self::$bulk_action_options['map_iptc_exif'] ) {
|
231 |
+
MLACore::mla_update_option( 'enable_iptc_exif_mapping', 'checked' );
|
232 |
+
MLACore::mla_update_option( 'enable_iptc_exif_update', 'checked' );
|
233 |
+
} else {
|
234 |
+
// Default setting is "unchecked"
|
235 |
+
MLACore::mla_delete_option( 'enable_iptc_exif_mapping' );
|
236 |
+
MLACore::mla_delete_option( 'enable_iptc_exif_update' );
|
237 |
+
}
|
238 |
+
|
239 |
+
return $item_content;
|
240 |
+
} // mla_list_table_begin_bulk_action
|
241 |
+
|
242 |
+
/**
|
243 |
+
* Process an MLA_List_Table custom bulk action
|
244 |
+
*
|
245 |
+
* Creates new items from the "Bulk Thumbnail" list.
|
246 |
+
*
|
247 |
+
* @since 2.13
|
248 |
+
*
|
249 |
+
* @param array $item_content NULL, to indicate no handler.
|
250 |
+
* @param string $bulk_action the requested action.
|
251 |
+
* @param integer $post_id the affected attachment.
|
252 |
+
*
|
253 |
+
* @return object updated $item_content. NULL if no handler, otherwise
|
254 |
+
* ( 'message' => error or status message(s), 'body' => '' )
|
255 |
+
*/
|
256 |
+
public static function mla_list_table_custom_bulk_action( $item_content, $bulk_action, $post_id ) {
|
257 |
+
if ( self::MLA_COPY_ACTION != $bulk_action ) {
|
258 |
+
return $item_content;
|
259 |
+
}
|
260 |
+
|
261 |
+
$item_prefix = sprintf( 'Item %1$d', $post_id ) . ', ';
|
262 |
+
|
263 |
+
// Validate the item's file existance and type
|
264 |
+
$file = get_attached_file( $post_id );
|
265 |
+
if ( empty( $file ) ) {
|
266 |
+
return array( 'message' => sprintf( 'ERROR: %1$sno attached file.', $item_prefix ) );
|
267 |
+
}
|
268 |
+
|
269 |
+
// Parse the file name for the new item
|
270 |
+
$pathinfo = pathinfo( $file );
|
271 |
+
|
272 |
+
// Copy the original file because media_handle_sideload destroys it
|
273 |
+
$tmp_name = wp_tempnam();
|
274 |
+
$copy_result = @copy( $file, $tmp_name );
|
275 |
+
if ( false === $copy_result ) {
|
276 |
+
return array( 'message' => sprintf( 'ERROR: %1$sfile copy failed.', $item_prefix ) );
|
277 |
+
}
|
278 |
+
|
279 |
+
// array based on $_FILE as seen in PHP file uploads
|
280 |
+
$file_array = array(
|
281 |
+
'name' => $pathinfo['basename'],
|
282 |
+
'tmp_name' => $tmp_name,
|
283 |
+
);
|
284 |
+
|
285 |
+
if ( self::$bulk_action_options['copy_item'] ) {
|
286 |
+
// Copy selected data from the source item
|
287 |
+
$post = get_post( $post_id );
|
288 |
+
$post_parent = $post->post_parent;
|
289 |
+
$post_title = $post->post_title;
|
290 |
+
$post_data = array(
|
291 |
+
'post_author' => $post->post_author,
|
292 |
+
'post_content' => $post->post_content,
|
293 |
+
'post_excerpt' => $post->post_excerpt,
|
294 |
+
'menu_order' => $post->menu_order,
|
295 |
+
);
|
296 |
+
} else {
|
297 |
+
$post_parent = 0;
|
298 |
+
$post_title = NULL;
|
299 |
+
$post_data = array();
|
300 |
+
}
|
301 |
+
|
302 |
+
$item_id = media_handle_sideload( $file_array, $post_parent, $post_title, $post_data );
|
303 |
+
if ( is_wp_error( $item_id ) ) {
|
304 |
+
$text = implode( ',', $item_id->get_error_messages() );
|
305 |
+
return array( 'message' => sprintf( 'ERROR: %1$smedia_handle_sideload failed; %2$s.', $item_prefix, $text ) );
|
306 |
+
}
|
307 |
+
|
308 |
+
if ( self::$bulk_action_options['copy_item'] ) {
|
309 |
+
// Now we can copy ALT Text
|
310 |
+
$alt_text = get_metadata( 'post', $post_id, '_wp_attachment_image_alt', true );
|
311 |
+
|
312 |
+
if ( !empty( $alt_text ) ) {
|
313 |
+
$result = update_metadata( 'post', $item_id, '_wp_attachment_image_alt', $alt_text );
|
314 |
+
}
|
315 |
+
}
|
316 |
+
|
317 |
+
if ( self::$bulk_action_options['copy_custom'] ) {
|
318 |
+
// Look for custom fields
|
319 |
+
foreach ( get_metadata( 'post', $post_id ) as $meta_key => $meta_value ) {
|
320 |
+
if ( ! ( 0 === strpos( $meta_key, '_' ) ) ) {
|
321 |
+
if ( 1 === count( $meta_value ) ) {
|
322 |
+
$meta_value= current( $meta_value );
|
323 |
+
}
|
324 |
+
|
325 |
+
$result = update_metadata( 'post', $item_id, $meta_key, $meta_value );
|
326 |
+
}
|
327 |
+
}
|
328 |
+
}
|
329 |
+
|
330 |
+
if ( self::$bulk_action_options['copy_terms'] ) {
|
331 |
+
$taxonomies = get_taxonomies( array( 'object_type' => array( 'attachment' ) ), 'names' );
|
332 |
+
$terms = wp_get_object_terms( $post_id, $taxonomies, array() );
|
333 |
+
|
334 |
+
$new_terms = array();
|
335 |
+
foreach ( $terms as $term ) {
|
336 |
+
$new_terms[ $term->taxonomy][] = $term->term_id;
|
337 |
+
}
|
338 |
+
|
339 |
+
foreach( $new_terms as $taxonomy => $term_ids ) {
|
340 |
+
wp_set_object_terms( $item_id, $term_ids, $taxonomy, false );
|
341 |
+
}
|
342 |
+
}
|
343 |
+
|
344 |
+
MLACopyItemExample::$bulk_action_includes[] = $item_id;
|
345 |
+
return array( 'message' => sprintf( '%1$scopied to new item %2$s.', $item_prefix, $item_id ) );
|
346 |
+
} // mla_list_table_custom_bulk_action
|
347 |
+
|
348 |
+
/**
|
349 |
+
* End an MLA_List_Table bulk action
|
350 |
+
*
|
351 |
+
* Add the query arguments required for the "Generated Thumbnails" filter.
|
352 |
+
*
|
353 |
+
* @since 2.13
|
354 |
+
*
|
355 |
+
* @param array $item_content NULL, to indicate no handler.
|
356 |
+
* @param string $bulk_action the requested action.
|
357 |
+
*/
|
358 |
+
public static function mla_list_table_end_bulk_action( $item_content, $bulk_action ) {
|
359 |
+
if ( self::MLA_COPY_ACTION != $bulk_action ) {
|
360 |
+
return $item_content;
|
361 |
+
}
|
362 |
+
|
363 |
+
// Restore the MLA option settings; default setting is "unchecked"
|
364 |
+
if ( self::$bulk_action_options['map_custom'] ) {
|
365 |
+
if ( !self::$bulk_action_options['enable_custom_field_mapping'] ) {
|
366 |
+
MLACore::mla_delete_option( 'enable_custom_field_mapping' );
|
367 |
+
}
|
368 |
+
|
369 |
+
if ( !self::$bulk_action_options['enable_custom_field_update'] ) {
|
370 |
+
MLACore::mla_delete_option( 'enable_custom_field_update' );
|
371 |
+
}
|
372 |
+
} else {
|
373 |
+
if ( self::$bulk_action_options['enable_custom_field_mapping'] ) {
|
374 |
+
MLACore::mla_update_option( 'enable_custom_field_mapping', 'checked' );
|
375 |
+
}
|
376 |
+
|
377 |
+
if ( self::$bulk_action_options['enable_custom_field_update'] ) {
|
378 |
+
MLACore::mla_update_option( 'enable_custom_field_update', 'checked' );
|
379 |
+
}
|
380 |
+
}
|
381 |
+
|
382 |
+
if ( self::$bulk_action_options['map_iptc_exif'] ) {
|
383 |
+
if ( !self::$bulk_action_options['enable_iptc_exif_mapping'] ) {
|
384 |
+
MLACore::mla_delete_option( 'enable_iptc_exif_mapping' );
|
385 |
+
}
|
386 |
+
|
387 |
+
if ( !self::$bulk_action_options['enable_iptc_exif_update'] ) {
|
388 |
+
MLACore::mla_delete_option( 'enable_iptc_exif_update' );
|
389 |
+
}
|
390 |
+
} else {
|
391 |
+
if ( self::$bulk_action_options['enable_iptc_exif_mapping'] ) {
|
392 |
+
MLACore::mla_update_option( 'enable_iptc_exif_mapping', 'checked' );
|
393 |
+
}
|
394 |
+
|
395 |
+
if ( self::$bulk_action_options['enable_iptc_exif_update'] ) {
|
396 |
+
MLACore::mla_update_option( 'enable_iptc_exif_update', 'checked' );
|
397 |
+
}
|
398 |
+
}
|
399 |
+
|
400 |
+
if ( ! empty( MLACopyItemExample::$bulk_action_includes ) ) {
|
401 |
+
MLA::mla_clear_filter_by( array( 'ids' ) );
|
402 |
+
|
403 |
+
// Reset the current view to "All" to ensure that thumbnails are displayed
|
404 |
+
unset( $_REQUEST['post_mime_type'] );
|
405 |
+
unset( $_POST['post_mime_type'] );
|
406 |
+
unset( $_GET['post_mime_type'] );
|
407 |
+
unset( $_REQUEST['meta_query'] );
|
408 |
+
unset( $_GET['meta_query'] );
|
409 |
+
unset( $_REQUEST['meta_slug'] );
|
410 |
+
unset( $_GET['meta_slug'] );
|
411 |
+
|
412 |
+
// Clear the "extra_nav" controls and the Search Media box
|
413 |
+
unset( $_REQUEST['m'] );
|
414 |
+
unset( $_POST['m'] );
|
415 |
+
unset( $_GET['m'] );
|
416 |
+
unset( $_REQUEST['mla_filter_term'] );
|
417 |
+
unset( $_POST['mla_filter_term'] );
|
418 |
+
unset( $_GET['mla_filter_term'] );
|
419 |
+
unset( $_REQUEST['s'] );
|
420 |
+
unset( $_POST['s'] );
|
421 |
+
unset( $_GET['s'] );
|
422 |
+
|
423 |
+
// Clear the pagination control
|
424 |
+
unset( $_REQUEST['paged'] );
|
425 |
+
unset( $_POST['paged'] );
|
426 |
+
unset( $_GET['paged'] );
|
427 |
+
|
428 |
+
$_REQUEST['ids'] = MLACopyItemExample::$bulk_action_includes;
|
429 |
+
$_REQUEST['heading_suffix'] = __( 'Copied Items', 'media-library-assistant' );
|
430 |
+
}
|
431 |
+
|
432 |
+
return $item_content;
|
433 |
+
} // mla_list_table_end_bulk_action
|
434 |
+
|
435 |
+
/**
|
436 |
+
* Add Copy Item to the Bulk Actions dropdown controls
|
437 |
+
*
|
438 |
+
* @since 1.00
|
439 |
+
*
|
440 |
+
* @param array $actions An array of bulk actions.
|
441 |
+
* Format: 'slug' => 'Label'
|
442 |
+
*/
|
443 |
+
public static function mla_list_table_get_bulk_actions( $actions ) {
|
444 |
+
$actions[self::MLA_COPY_ACTION] = 'Copy';
|
445 |
+
|
446 |
+
return $actions;
|
447 |
+
} // mla_list_table_get_bulk_actions
|
448 |
+
|
449 |
+
/**
|
450 |
+
* MLA_List_Table inline edit parse
|
451 |
+
*
|
452 |
+
* @since 2.13
|
453 |
+
*
|
454 |
+
* Adds Bulk Translate form and the Language dropdown
|
455 |
+
* markup used for the Quick and Bulk Edit forms.
|
456 |
+
*
|
457 |
+
* @param string HTML markup returned by the template parser
|
458 |
+
* @param string template used to generate the HTML markup
|
459 |
+
* @param array parameter_name => parameter_value pairs
|
460 |
+
*
|
461 |
+
* @return array updated HTML markup for the Quick and Bulk Edit forms
|
462 |
+
*/
|
463 |
+
public static function mla_list_table_inline_parse( $html_markup, $item_template, $item_values ) {
|
464 |
+
|
465 |
+
/*
|
466 |
+
* Add the Thumbnail Generation Markup
|
467 |
+
*/
|
468 |
+
$page_template_array = MLACore::mla_load_template( plugin_dir_path( __FILE__ ) . 'mla-copy-item-example.tpl', 'path' );
|
469 |
+
if ( ! is_array( $page_template_array ) ) {
|
470 |
+
MLACore::mla_debug_add( 'ERROR: mla-copy-item-example.tpl path = ' . var_export( plugin_dir_path( __FILE__ ) . 'mla-copy-item-example.tpl', true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
471 |
+
MLACore::mla_debug_add( 'ERROR: mla-copy-item-example.tpl non-array result = ' . var_export( $page_template_array, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
472 |
+
return $html_markup;
|
473 |
+
}
|
474 |
+
|
475 |
+
$map_iptc_exif = ( ( 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_mapping' ) ) ||
|
476 |
+
( 'checked' == MLACore::mla_get_option( 'enable_iptc_exif_update' ) ) );
|
477 |
+
|
478 |
+
$map_custom = ( ( 'checked' == MLACore::mla_get_option( 'enable_custom_field_mapping' ) ) ||
|
479 |
+
( 'checked' == MLACore::mla_get_option( 'enable_custom_field_update' ) ) );
|
480 |
+
|
481 |
+
$page_values = array(
|
482 |
+
'colspan' => $item_values['colspan'],
|
483 |
+
'map-custom-checked' => $map_custom ? 'checked="checked"' : '',
|
484 |
+
'map-iptc-exif-checked' => $map_iptc_exif ? 'checked="checked"' : '',
|
485 |
+
'copy-terms-checked' => '',
|
486 |
+
'copy-custom-checked' => '',
|
487 |
+
'copy-item-checked' => '',
|
488 |
+
);
|
489 |
+
$parse_value = MLAData::mla_parse_template( $page_template_array['page'], $page_values );
|
490 |
+
|
491 |
+
return $html_markup . "\n" . $parse_value;
|
492 |
+
} // mla_list_table_inline_parse
|
493 |
+
|
494 |
+
/**
|
495 |
+
* Filter the "sticky" submenu URL parameters
|
496 |
+
*
|
497 |
+
* Maintains the list of "Generated Thumbnails" items in the URLs for sorting the table display.
|
498 |
+
*
|
499 |
+
* @since 2.13
|
500 |
+
*
|
501 |
+
* @param array $submenu_arguments Current view, pagination and sort parameters.
|
502 |
+
* @param object $include_filters True to include "filter-by" parameters, e.g., year/month dropdown.
|
503 |
+
*
|
504 |
+
* @return array updated submenu_arguments.
|
505 |
+
*/
|
506 |
+
public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
|
507 |
+
if ( $include_filters && ( ! empty( MLACopyItemExample::$bulk_action_includes ) ) ) {
|
508 |
+
$submenu_arguments['ids'] = implode( ',', MLACopyItemExample::$bulk_action_includes );
|
509 |
+
$submenu_arguments['heading_suffix'] = 'Copied Items';
|
510 |
+
}
|
511 |
+
|
512 |
+
return $submenu_arguments;
|
513 |
+
} // mla_list_table_submenu_arguments
|
514 |
+
} // Class MLACopyItemExample
|
515 |
+
|
516 |
+
/*
|
517 |
+
* Install the filters at an early opportunity
|
518 |
+
*/
|
519 |
+
add_action('init', 'MLACopyItemExample::initialize');
|
520 |
+
?>
|
examples/plugins/mla-copy-item-example/mla-copy-item-example.tpl
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- template="page" -->
|
2 |
+
<form>
|
3 |
+
<table width="99%" style="display: none">
|
4 |
+
<tbody id="mla-copy-item">
|
5 |
+
<tr id="mla-bulk-copy-item" class="inline-edit-row inline-edit-row-attachment inline-edit-attachment bulk-copy-item-row bulk-copy-item-row-attachment bulk-copy-item-attachment" style="display: none">
|
6 |
+
<td colspan="[+colspan+]" class="colspanchange">
|
7 |
+
<fieldset class="inline-edit-col-left">
|
8 |
+
<div class="inline-edit-col">
|
9 |
+
<h4>Copy Items</h4>
|
10 |
+
<div id="mla-copy-item-title-div">
|
11 |
+
<div id="mla-copy-item-titles"></div>
|
12 |
+
</div>
|
13 |
+
</div>
|
14 |
+
</fieldset>
|
15 |
+
<fieldset id="mla-copy-item-settings" class="inline-edit-col-right">
|
16 |
+
<div class="inline-edit-col">
|
17 |
+
<h4>(Pull down the Help menu and select Copy Items for setting details)</h4>
|
18 |
+
<div class="inline-edit-group clear">
|
19 |
+
<table><tr>
|
20 |
+
<td><label>
|
21 |
+
<input name="mla_copy_item_options[map_custom]" id="mla-copy-item-options-map-custom" type="checkbox" [+map-custom-checked+] value="checked" />
|
22 |
+
Map Custom Field metadata
|
23 |
+
</label></td>
|
24 |
+
<td><label>
|
25 |
+
<input name="mla_copy_item_options[map_iptc_exif]" id="mla-copy-item-options-map-iptc-exif" type="checkbox" [+map-iptc-exif-checked+] value="checked" />
|
26 |
+
Map IPTC/EXIF metadata
|
27 |
+
</label></td>
|
28 |
+
</tr><tr>
|
29 |
+
<td><label>
|
30 |
+
<input name="mla_copy_item_options[copy_terms]" id="mla-copy-item-options-copy-terms" type="checkbox" [+copy-terms-checked+] value="checked" />
|
31 |
+
Copy Taxonomy Terms
|
32 |
+
</label></td>
|
33 |
+
<td><label>
|
34 |
+
<input name="mla_copy_item_options[copy_custom]" id="mla-copy-item-options-copy-custom" type="checkbox" [+copy-custom-checked+] value="checked" />
|
35 |
+
Copy Custom Fields
|
36 |
+
</label></td>
|
37 |
+
</tr><tr>
|
38 |
+
<td><label>
|
39 |
+
<input name="mla_copy_item_options[copy_item]" id="mla-copy-item-options-copy-item" type="checkbox" [+copy-item-checked+] value="checked" />
|
40 |
+
Copy Item Fields
|
41 |
+
</label></td>
|
42 |
+
<td> </td>
|
43 |
+
</tr></table>
|
44 |
+
</div> <!-- inline-edit-group -->
|
45 |
+
</div> <!-- inline-edit-col -->
|
46 |
+
</fieldset>
|
47 |
+
<p class="submit inline-edit-save"> <a accesskey="c" href="#mla-copy-item" title="Cancel" class="button-secondary cancel alignleft">Cancel</a>
|
48 |
+
<input type="submit" name="mla-copy-item" id="mla-copy-item-submit" class="button-primary alignright" value="Copy Items" />
|
49 |
+
<input type="hidden" name="page" value="mla-menu" />
|
50 |
+
<input type="hidden" name="screen" value="media_page_mla-menu" />
|
51 |
+
<span class="error" style="display:none;"></span> <br class="clear" />
|
52 |
+
</p>
|
53 |
+
</td>
|
54 |
+
</tr>
|
55 |
+
</tbody>
|
56 |
+
</table>
|
57 |
+
</form>
|
examples/plugins/mla-copy-item-example/mla-copy-item-rtl.css
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@charset "utf-8";
|
2 |
+
/**
|
3 |
+
* CSS Document
|
4 |
+
*
|
5 |
+
* This file contains styling attributes for the Media/Assistant submenu
|
6 |
+
* Generate Thumbnails area.
|
7 |
+
*/
|
8 |
+
|
9 |
+
#mla-copy-item-titles {
|
10 |
+
line-height: 140%;
|
11 |
+
display: block;
|
12 |
+
height: 12em;
|
13 |
+
border: 1px solid #ddd;
|
14 |
+
overflow-y: scroll;
|
15 |
+
padding: 0 5px;
|
16 |
+
margin: 0 0 5px;
|
17 |
+
}
|
18 |
+
|
19 |
+
#mla-copy-item-titles div {
|
20 |
+
margin: 0.8em 0.3em;
|
21 |
+
font-style: normal;
|
22 |
+
font-size: 11px;
|
23 |
+
}
|
24 |
+
|
25 |
+
#mla-copy-item-titles div a {
|
26 |
+
cursor: pointer;
|
27 |
+
display: block;
|
28 |
+
float: right;
|
29 |
+
height: 18px;
|
30 |
+
margin: 0 3px 0 -2px;
|
31 |
+
overflow: hidden;
|
32 |
+
position: relative;
|
33 |
+
width: 20px;
|
34 |
+
}
|
35 |
+
|
36 |
+
#mla-copy-item-titles div a:before {
|
37 |
+
position: relative;
|
38 |
+
top: -3px;
|
39 |
+
}
|
40 |
+
|
41 |
+
#mla-copy-item-titles div a:before {
|
42 |
+
background: none;
|
43 |
+
color: #bbb;
|
44 |
+
content: '\f153';
|
45 |
+
display: block !important;
|
46 |
+
font: normal 16px/1 'dashicons';
|
47 |
+
speak: none;
|
48 |
+
margin: 2px 0;
|
49 |
+
height: 20px;
|
50 |
+
text-align: center;
|
51 |
+
width: 20px;
|
52 |
+
-webkit-font-smoothing: antialiased !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
#mla-copy-item-titles div a:hover:before {
|
56 |
+
color: #c00;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* HiDPI Displays
|
61 |
+
*/
|
62 |
+
@media print,
|
63 |
+
(-o-min-device-pixel-ratio: 5/4),
|
64 |
+
(-webkit-min-device-pixel-ratio: 1.25),
|
65 |
+
(min-resolution: 120dpi) {
|
66 |
+
#mla-copy-item-titles div a,
|
67 |
+
#mla-copy-item-titles div a:hover {
|
68 |
+
background: none !important;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
/*
|
73 |
+
* Generate Thumbnails settings
|
74 |
+
*/
|
75 |
+
|
76 |
+
#wpbody-content .bulk-copy-item-row-attachment fieldset.inline-edit-col-left {
|
77 |
+
width: 30%
|
78 |
+
}
|
79 |
+
|
80 |
+
#wpbody-content .bulk-copy-item-row-attachment fieldset.inline-edit-col-right {
|
81 |
+
width: 69%
|
82 |
+
}
|
83 |
+
|
84 |
+
#mla-copy-item-settings label {
|
85 |
+
display: inline;
|
86 |
+
float:none;
|
87 |
+
}
|
88 |
+
|
89 |
+
#mla-copy-item-settings label span.title {
|
90 |
+
display: inline;
|
91 |
+
float:none;
|
92 |
+
}
|
93 |
+
|
94 |
+
#mla-copy-item-settings td {
|
95 |
+
text-align:right;
|
96 |
+
}
|
97 |
+
|
examples/plugins/mla-copy-item-example/mla-copy-item-scripts.js
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* global ajaxurl */
|
2 |
+
|
3 |
+
var jQuery,
|
4 |
+
mla_copy_item_support_vars,
|
5 |
+
mlaCopyItem = {
|
6 |
+
// Properties
|
7 |
+
// mlaCopyItem.settings.noTitle
|
8 |
+
// mlaCopyItem.settings.ntdelTitle
|
9 |
+
// mlaCopyItem.settings.fields
|
10 |
+
// mlaCopyItem.settings.comma
|
11 |
+
// mlaCopyItem.settings.useSpinnerClass
|
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 |
+
inlineCopyItem: null
|
25 |
+
};
|
26 |
+
|
27 |
+
( function( $ ) {
|
28 |
+
/**
|
29 |
+
* Localized settings and strings
|
30 |
+
*/
|
31 |
+
mlaCopyItem.settings = typeof mla_copy_item_support_vars === 'undefined' ? {} : mla_copy_item_support_vars;
|
32 |
+
mla_copy_item_support_vars = void 0; // delete won't work on Globals
|
33 |
+
|
34 |
+
mlaCopyItem.inlineCopyItem = {
|
35 |
+
init : function(){
|
36 |
+
var t = this, bgRow = $( '#mla-bulk-copy-item' );
|
37 |
+
|
38 |
+
t.type = 'attachment';
|
39 |
+
t.what = '#attachment-';
|
40 |
+
|
41 |
+
// prepare the bulk-generate row
|
42 |
+
bgRow.keyup( function( e ){
|
43 |
+
if ( e.which == 27 )
|
44 |
+
return mlaCopyItem.inlineCopyItem.revert();
|
45 |
+
});
|
46 |
+
|
47 |
+
$( 'a.cancel', bgRow ).click( function(){
|
48 |
+
return mlaCopyItem.inlineCopyItem.revert();
|
49 |
+
});
|
50 |
+
|
51 |
+
$( '#doaction, #doaction2' ).click( function( e ){
|
52 |
+
var n = $( this ).attr( 'id' ).substr( 2 );
|
53 |
+
|
54 |
+
if ( $( 'select[name="'+n+'"]' ).val() == 'mla-copy-item-example' ) {
|
55 |
+
e.preventDefault();
|
56 |
+
t.openCopyItem();
|
57 |
+
}
|
58 |
+
});
|
59 |
+
|
60 |
+
// Filter button (dates, categories) in top nav bar
|
61 |
+
$( '#post-query-submit' ).mousedown( function(){
|
62 |
+
t.revert();
|
63 |
+
$( 'select[name^="action"]' ).val( '-1' );
|
64 |
+
});
|
65 |
+
},
|
66 |
+
|
67 |
+
openCopyItem : function(){
|
68 |
+
var te = '', c = true;
|
69 |
+
this.revert();
|
70 |
+
|
71 |
+
// Open up the Bulk Translate area
|
72 |
+
$( '#mla-bulk-copy-item td' ).attr( 'colspan', $( 'th:visible, td:visible', '.widefat:first thead' ).length );
|
73 |
+
$( 'table.widefat tbody' ).prepend( $( '#mla-bulk-copy-item' ) );
|
74 |
+
$( '#mla-bulk-copy-item' ).addClass( 'inline-translator' ).show();
|
75 |
+
|
76 |
+
// Make sure at least one item has been selected
|
77 |
+
$( 'tbody th.check-column input[type="checkbox"]' ).each( function(){
|
78 |
+
if ( $( this ).prop( 'checked' ) ) {
|
79 |
+
c = false;
|
80 |
+
var id = $( this ).val(), theTitle;
|
81 |
+
theTitle = $( '#inline_'+id+' .post_title' ).text() || mlaCopyItem.settings.noTitle;
|
82 |
+
te += '<div id="ttle'+id+'"><a id="_'+id+'" class="ntdelbutton" title="'+mlaCopyItem.settings.ntdelTitle+'">X</a>'+theTitle+'</div>';
|
83 |
+
}
|
84 |
+
});
|
85 |
+
|
86 |
+
if ( c ) {
|
87 |
+
return this.revert();
|
88 |
+
}
|
89 |
+
|
90 |
+
// Populate the list of selected items
|
91 |
+
$( '#mla-copy-item-titles' ).html( te );
|
92 |
+
$( '#mla-copy-item-titles a' ).click(function(){
|
93 |
+
var id = $( this ).attr( 'id' ).substr( 1 );
|
94 |
+
|
95 |
+
$( 'table.widefat input[value="' + id + '"]' ).prop( 'checked', false );
|
96 |
+
$( '#ttle'+id ).remove();
|
97 |
+
});
|
98 |
+
|
99 |
+
$( 'html, body' ).animate( { scrollTop: 0 }, 'fast' );
|
100 |
+
},
|
101 |
+
|
102 |
+
revert : function(){
|
103 |
+
var id = $( 'table.widefat tr.inline-translator ').attr( 'id' );
|
104 |
+
|
105 |
+
if ( id ) {
|
106 |
+
if ( mlaCopyItem.settings.useSpinnerClass ) {
|
107 |
+
$( 'table.widefat .pll-quick-translate-save .spinner' ).removeClass("is-active");
|
108 |
+
} else {
|
109 |
+
$( 'table.widefat .pll-quick-translate-save .spinner' ).hide();
|
110 |
+
}
|
111 |
+
|
112 |
+
if ( 'mla-bulk-copy-item' == id ) {
|
113 |
+
$( 'table.widefat #mla-bulk-copy-item ').removeClass( 'inline-translator' ).hide();
|
114 |
+
$( '#mla-copy-item-titles' ).html( '' );
|
115 |
+
$( '#pll-inline-translate' ).append( $('#mla-bulk-copy-item') );
|
116 |
+
} else {
|
117 |
+
$( '#'+id ).remove();
|
118 |
+
id = id.substr( id.lastIndexOf( '-' ) + 1 );
|
119 |
+
$( this.what+id ).show();
|
120 |
+
}
|
121 |
+
}
|
122 |
+
|
123 |
+
return false;
|
124 |
+
}
|
125 |
+
}; // mlaCopyItem.inlineCopyItem
|
126 |
+
|
127 |
+
$( document ).ready( function() {
|
128 |
+
mlaCopyItem.inlineCopyItem.init();
|
129 |
+
});
|
130 |
+
})( jQuery );
|
examples/plugins/mla-copy-item-example/mla-copy-item.css
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@charset "utf-8";
|
2 |
+
/**
|
3 |
+
* CSS Document
|
4 |
+
*
|
5 |
+
* This file contains styling attributes for the Media/Assistant submenu
|
6 |
+
* Generate Thumbnails area.
|
7 |
+
*/
|
8 |
+
|
9 |
+
#mla-copy-item-titles {
|
10 |
+
line-height: 140%;
|
11 |
+
display: block;
|
12 |
+
height: 12em;
|
13 |
+
border: 1px solid #ddd;
|
14 |
+
overflow-y: scroll;
|
15 |
+
padding: 0 5px;
|
16 |
+
margin: 0 0 5px;
|
17 |
+
}
|
18 |
+
|
19 |
+
#mla-copy-item-titles div {
|
20 |
+
margin: 0.8em 0.3em;
|
21 |
+
font-style: normal;
|
22 |
+
font-size: 11px;
|
23 |
+
}
|
24 |
+
|
25 |
+
#mla-copy-item-titles div a {
|
26 |
+
cursor: pointer;
|
27 |
+
display: block;
|
28 |
+
float: left;
|
29 |
+
height: 18px;
|
30 |
+
margin: 0 3px 0 -2px;
|
31 |
+
overflow: hidden;
|
32 |
+
position: relative;
|
33 |
+
width: 20px;
|
34 |
+
}
|
35 |
+
|
36 |
+
#mla-copy-item-titles div a:before {
|
37 |
+
position: relative;
|
38 |
+
top: -3px;
|
39 |
+
}
|
40 |
+
|
41 |
+
#mla-copy-item-titles div a:before {
|
42 |
+
background: none;
|
43 |
+
color: #bbb;
|
44 |
+
content: '\f153';
|
45 |
+
display: block !important;
|
46 |
+
font: normal 16px/1 'dashicons';
|
47 |
+
speak: none;
|
48 |
+
margin: 2px 0;
|
49 |
+
height: 20px;
|
50 |
+
text-align: center;
|
51 |
+
width: 20px;
|
52 |
+
-webkit-font-smoothing: antialiased !important;
|
53 |
+
}
|
54 |
+
|
55 |
+
#mla-copy-item-titles div a:hover:before {
|
56 |
+
color: #c00;
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* HiDPI Displays
|
61 |
+
*/
|
62 |
+
@media print,
|
63 |
+
(-o-min-device-pixel-ratio: 5/4),
|
64 |
+
(-webkit-min-device-pixel-ratio: 1.25),
|
65 |
+
(min-resolution: 120dpi) {
|
66 |
+
#pll-bulk-titles div a,
|
67 |
+
#pll-bulk-titles div a:hover {
|
68 |
+
background: none !important;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
/*
|
73 |
+
* Generate Thumbnails settings
|
74 |
+
*/
|
75 |
+
|
76 |
+
#wpbody-content .bulk-copy-item-row-attachment fieldset.inline-edit-col-left {
|
77 |
+
width: 30%
|
78 |
+
}
|
79 |
+
|
80 |
+
#wpbody-content .bulk-copy-item-row-attachment fieldset.inline-edit-col-right {
|
81 |
+
width: 69%
|
82 |
+
}
|
83 |
+
|
84 |
+
#mla-copy-item-settings label {
|
85 |
+
display: inline;
|
86 |
+
float:none;
|
87 |
+
}
|
88 |
+
|
89 |
+
#mla-copy-item-settings label span.title {
|
90 |
+
display: inline;
|
91 |
+
float:none;
|
92 |
+
}
|
93 |
+
|
94 |
+
#mla-copy-item-settings td {
|
95 |
+
text-align:left;
|
96 |
+
}
|
97 |
+
|
examples/plugins/mla-regenerate-thumbnails-example.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Adds "Regenerate Thumbnails" actions to rollover actions and Bulk
|
4 |
*
|
5 |
* In this example, the "Regenerate Thumbnails" plugin is detected and if found,
|
6 |
* "Regenerate Thumbnails" actions are added to the Media/Assistant item rollover
|
7 |
-
* actions and the Bulk
|
8 |
*
|
9 |
* This example plugin uses two of the many filters available in the Media/Assistant submenu screen
|
10 |
* and illustrates a technique you can use to customize the submenu table display.
|
@@ -42,9 +42,8 @@ Copyright 2016 David Lingren
|
|
42 |
*/
|
43 |
|
44 |
/**
|
45 |
-
* Class MLA Regenerate Thumbnails Example
|
46 |
-
*
|
47 |
-
* NOTE: You must enter the name or slug values for your application's terms in the $gallery_terms array below.
|
48 |
*
|
49 |
* @package MLA Regenerate Thumbnails Example
|
50 |
* @since 1.00
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Adds "Regenerate Thumbnails" actions to rollover actions and Bulk Actions dropdown
|
4 |
*
|
5 |
* In this example, the "Regenerate Thumbnails" plugin is detected and if found,
|
6 |
* "Regenerate Thumbnails" actions are added to the Media/Assistant item rollover
|
7 |
+
* actions and the Bulk Actions dropdown controls.
|
8 |
*
|
9 |
* This example plugin uses two of the many filters available in the Media/Assistant submenu screen
|
10 |
* and illustrates a technique you can use to customize the submenu table display.
|
42 |
*/
|
43 |
|
44 |
/**
|
45 |
+
* Class MLA Regenerate Thumbnails Example "Regenerate Thumbnails" actions to
|
46 |
+
* rollover actions and Bulk Actions dropdown.
|
|
|
47 |
*
|
48 |
* @package MLA Regenerate Thumbnails Example
|
49 |
* @since 1.00
|
examples/plugins/mla-substitution-parameter-hooks-example.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* In this example:
|
6 |
* - a "parent_terms:" prefix accesses taxonomy terms assigned to an item's parent post/page
|
7 |
* - a "page_terms:" prefix accesses taxonomy terms assigned to the current post/page
|
8 |
-
* - a "parent:" prefix accesses all of the WP_Post properties and the permalink for an item's parent
|
9 |
* - an "author:" prefix accesses all of the WP_User properties for an item's author
|
10 |
* - an "conditional:" prefix returns a value when a condition is true, e.g., during the upload process
|
11 |
*
|
@@ -29,8 +29,12 @@
|
|
29 |
* opened on 9/21/2016 by "cconstantine":
|
30 |
* https://wordpress.org/support/topic/what-are-the-default-values-for-the-markup-template/
|
31 |
*
|
|
|
|
|
|
|
|
|
32 |
* @package MLA Substitution Parameter Hooks Example
|
33 |
-
* @version 1.
|
34 |
*/
|
35 |
|
36 |
/*
|
@@ -38,7 +42,7 @@ Plugin Name: MLA Substitution Parameter Hooks Example
|
|
38 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
39 |
Description: Adds "parent_terms:", "page_terms:", "parent:", "author:" and "conditional:" Field-level Substitution Parameters
|
40 |
Author: David Lingren
|
41 |
-
Version: 1.
|
42 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
43 |
|
44 |
Copyright 2016 David Lingren
|
@@ -331,6 +335,13 @@ class MLASubstitutionParameterExample {
|
|
331 |
$custom_value = $parent->$value['value'];
|
332 |
} elseif ( 'permalink' == $value['value'] ) {
|
333 |
$custom_value = get_permalink( $parent );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
}
|
335 |
|
336 |
//error_log( __LINE__ . " MLASubstitutionParameterExample::mla_expand_custom_prefix( {$key}, {$post_id}, {$parent_id} ) custom_value = " . var_export( $custom_value, true ), 0 );
|
5 |
* In this example:
|
6 |
* - a "parent_terms:" prefix accesses taxonomy terms assigned to an item's parent post/page
|
7 |
* - a "page_terms:" prefix accesses taxonomy terms assigned to the current post/page
|
8 |
+
* - a "parent:" prefix accesses all of the WP_Post properties, custom fields and the permalink for an item's parent
|
9 |
* - an "author:" prefix accesses all of the WP_User properties for an item's author
|
10 |
* - an "conditional:" prefix returns a value when a condition is true, e.g., during the upload process
|
11 |
*
|
29 |
* opened on 9/21/2016 by "cconstantine":
|
30 |
* https://wordpress.org/support/topic/what-are-the-default-values-for-the-markup-template/
|
31 |
*
|
32 |
+
* Enhanced for support topic "Maping Image ALT Tags to Product Meta Title"
|
33 |
+
* opened on 12/6/2016 by "webpresencech":
|
34 |
+
* https://wordpress.org/support/topic/maping-image-alt-tags-to-product-meta-title/
|
35 |
+
*
|
36 |
* @package MLA Substitution Parameter Hooks Example
|
37 |
+
* @version 1.06
|
38 |
*/
|
39 |
|
40 |
/*
|
42 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
43 |
Description: Adds "parent_terms:", "page_terms:", "parent:", "author:" and "conditional:" Field-level Substitution Parameters
|
44 |
Author: David Lingren
|
45 |
+
Version: 1.06
|
46 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
47 |
|
48 |
Copyright 2016 David Lingren
|
335 |
$custom_value = $parent->$value['value'];
|
336 |
} elseif ( 'permalink' == $value['value'] ) {
|
337 |
$custom_value = get_permalink( $parent );
|
338 |
+
} else {
|
339 |
+
// Look for a custom field match
|
340 |
+
$meta_value = get_metadata( 'post', $parent_id, $value['value'], false );
|
341 |
+
//error_log( __LINE__ . " MLASubstitutionParameterExample::mla_expand_custom_prefix( {$key}, {$post_id}, {$parent_id} ) meta_value = " . var_export( $meta_value, true ), 0 );
|
342 |
+
if ( !empty( $meta_value ) ) {
|
343 |
+
$custom_value = $meta_value;
|
344 |
+
}
|
345 |
}
|
346 |
|
347 |
//error_log( __LINE__ . " MLASubstitutionParameterExample::mla_expand_custom_prefix( {$key}, {$post_id}, {$parent_id} ) custom_value = " . var_export( $custom_value, true ), 0 );
|
examples/plugins/woofixit.php
CHANGED
@@ -67,7 +67,7 @@
|
|
67 |
* https://wordpress.org/support/topic/woocommerce-product-category-2/
|
68 |
*
|
69 |
* @package WooCommerce Fixit
|
70 |
-
* @version 1.
|
71 |
*/
|
72 |
|
73 |
/*
|
@@ -75,7 +75,7 @@ Plugin Name: WooCommerce Fixit
|
|
75 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
76 |
Description: Adds a Tools/Woo Fixit submenu with buttons to perform a variety of MLA/WooCommerce repair and enhancement operations.
|
77 |
Author: David Lingren
|
78 |
-
Version: 1.
|
79 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
80 |
|
81 |
Copyright 2014-2015 David Lingren
|
@@ -139,6 +139,16 @@ class Woo_Fixit {
|
|
139 |
private static $last_product = '';
|
140 |
const INPUT_LAST_PRODUCT = 'upper';
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
/**
|
143 |
* Process term assignments for Product Category
|
144 |
*
|
@@ -268,6 +278,8 @@ class Woo_Fixit {
|
|
268 |
self::$first_product = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_FIRST_PRODUCT ] ) ? $_REQUEST[ self::SLUG_PREFIX . self::INPUT_FIRST_PRODUCT ] : '';
|
269 |
self::$last_product = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_LAST_PRODUCT ] ) ? $_REQUEST[ self::SLUG_PREFIX . self::INPUT_LAST_PRODUCT ] : '';
|
270 |
|
|
|
|
|
271 |
self::$process_category = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_PROCESS_CATEGORY ] ) ? true : false;
|
272 |
$category_attr = self::$process_category ? ' checked="checked" ' : ' ';
|
273 |
self::$process_tag = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_PROCESS_TAG ] ) ? true : false;
|
@@ -306,12 +318,27 @@ class Woo_Fixit {
|
|
306 |
'comment' => 'Fill empty ALT Text field with <strong>Product Title</strong>.' ),
|
307 |
'Replace ALT Text (T)' => array( 'handler' => '_replace_alt_text_t',
|
308 |
'comment' => '<strong>Replace ALL</strong> ALT Text field with <strong>Product Title</strong>.' ),
|
|
|
309 |
'Fill Title (T)' => array( 'handler' => '_fill_title_t',
|
310 |
'comment' => 'Fill empty item Title field with <strong>Product Title</strong>.' ),
|
311 |
'Replace Title (T)' => array( 'handler' => '_replace_title_t',
|
312 |
'comment' => '<strong>Replace ALL</strong> item Title field with <strong>Product Title</strong>.' ),
|
313 |
|
314 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
'Remove Feature' => array( 'handler' => '_remove_feature',
|
316 |
'comment' => 'Remove Product/Featured Image from the Product Gallery.' ),
|
317 |
'Restore Feature' => array( 'handler' => '_restore_feature',
|
@@ -351,30 +378,30 @@ class Woo_Fixit {
|
|
351 |
'Replace Att. Cats' => array( 'handler' => '_replace_attachment_categories',
|
352 |
'comment' => '<strong>Replace ALL</strong> Att. Categories assignments from Att. Tags, where the Att. Tag matches an existing Att. Category.' ),
|
353 |
'c9' => array( 'handler' => '', 'comment' => '<h3>Term Assignments for Media Library Items</h3>' ),
|
354 |
-
'
|
355 |
-
'
|
356 |
-
'
|
357 |
-
'
|
358 |
-
'
|
359 |
-
'
|
360 |
-
'
|
361 |
-
'
|
362 |
-
'
|
363 |
-
'
|
364 |
-
'
|
365 |
-
'
|
366 |
-
'
|
367 |
-
'
|
368 |
-
'
|
369 |
-
'
|
370 |
-
'
|
371 |
-
'
|
372 |
-
'
|
373 |
-
'
|
374 |
-
'
|
375 |
-
'
|
376 |
-
'
|
377 |
-
'
|
378 |
'Clear Terms' => array( 'handler' => '_clear_term_assignments',
|
379 |
'comment' => '<strong>Delete ALL</strong> product_category and/or product_tag term assignments to Media Library items.' ),
|
380 |
'Assign Terms' => array( 'handler' => '_copy_term_assignments',
|
@@ -1099,6 +1126,152 @@ VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
|
|
1099 |
return "_replace_title_t() performed {$update_count} update(s).\n";
|
1100 |
} // _replace_title_t
|
1101 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1102 |
/**
|
1103 |
* Remove Product/Featured Image from the Product Gallery
|
1104 |
*
|
67 |
* https://wordpress.org/support/topic/woocommerce-product-category-2/
|
68 |
*
|
69 |
* @package WooCommerce Fixit
|
70 |
+
* @version 1.28
|
71 |
*/
|
72 |
|
73 |
/*
|
75 |
Plugin URI: http://fairtradejudaica.org/media-library-assistant-a-wordpress-plugin/
|
76 |
Description: Adds a Tools/Woo Fixit submenu with buttons to perform a variety of MLA/WooCommerce repair and enhancement operations.
|
77 |
Author: David Lingren
|
78 |
+
Version: 1.28
|
79 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
80 |
|
81 |
Copyright 2014-2015 David Lingren
|
139 |
private static $last_product = '';
|
140 |
const INPUT_LAST_PRODUCT = 'upper';
|
141 |
|
142 |
+
/**
|
143 |
+
* Content Template for Product Image/Product Gallery Images
|
144 |
+
*
|
145 |
+
* @since 1.28
|
146 |
+
*
|
147 |
+
* @var string
|
148 |
+
*/
|
149 |
+
private static $content_template = '';
|
150 |
+
const INPUT_CONTENT_TEMPLATE = 'template';
|
151 |
+
|
152 |
/**
|
153 |
* Process term assignments for Product Category
|
154 |
*
|
278 |
self::$first_product = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_FIRST_PRODUCT ] ) ? $_REQUEST[ self::SLUG_PREFIX . self::INPUT_FIRST_PRODUCT ] : '';
|
279 |
self::$last_product = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_LAST_PRODUCT ] ) ? $_REQUEST[ self::SLUG_PREFIX . self::INPUT_LAST_PRODUCT ] : '';
|
280 |
|
281 |
+
self::$content_template = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_CONTENT_TEMPLATE ] ) ? trim( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_CONTENT_TEMPLATE ] ) : self::$content_template;
|
282 |
+
|
283 |
self::$process_category = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_PROCESS_CATEGORY ] ) ? true : false;
|
284 |
$category_attr = self::$process_category ? ' checked="checked" ' : ' ';
|
285 |
self::$process_tag = isset( $_REQUEST[ self::SLUG_PREFIX . self::INPUT_PROCESS_TAG ] ) ? true : false;
|
318 |
'comment' => 'Fill empty ALT Text field with <strong>Product Title</strong>.' ),
|
319 |
'Replace ALT Text (T)' => array( 'handler' => '_replace_alt_text_t',
|
320 |
'comment' => '<strong>Replace ALL</strong> ALT Text field with <strong>Product Title</strong>.' ),
|
321 |
+
'c4a' => array( 'handler' => '', 'comment' => '<hr>' ),
|
322 |
'Fill Title (T)' => array( 'handler' => '_fill_title_t',
|
323 |
'comment' => 'Fill empty item Title field with <strong>Product Title</strong>.' ),
|
324 |
'Replace Title (T)' => array( 'handler' => '_replace_title_t',
|
325 |
'comment' => '<strong>Replace ALL</strong> item Title field with <strong>Product Title</strong>.' ),
|
326 |
|
327 |
+
'c4b' => array( 'handler' => '', 'comment' => '<h3>Apply Template to Product Image/Product Gallery Images</h3>' ),
|
328 |
+
't0101' => array( 'open' => '<table><tr>' ),
|
329 |
+
't0110' => array( 'continue' => ' <td style="text-align: right; padding-right: 5px" valign="middle">Template</td>' ),
|
330 |
+
't0111' => array( 'continue' => ' <td style="text-align: left; padding-right: 20px">' ),
|
331 |
+
't0112' => array( 'continue' => ' <input name="' . self::SLUG_PREFIX . self::INPUT_CONTENT_TEMPLATE . '" type="text" size="40" value="' . self::$content_template . '">' ),
|
332 |
+
't0113' => array( 'continue' => ' </td>' ),
|
333 |
+
't0122' => array( 'continue' => '</tr><tr>' ),
|
334 |
+
't0123' => array( 'continue' => '<td> </td><td colspan="1">Enter a Content Template (without the "template:" prefix).</td>' ),
|
335 |
+
't0124' => array( 'close' => '</tr></table> <br>' ),
|
336 |
+
'Fill ALT Text (CT)' => array( 'handler' => '_fill_alt_text_ct',
|
337 |
+
'comment' => 'Apply non-empty Content Template values to empty ALT Text fields.' ),
|
338 |
+
'Replace ALT Text (CT)' => array( 'handler' => '_replace_alt_text_ct',
|
339 |
+
'comment' => 'Apply non-empty Content Template values to <strong>ALL</strong> ALT Text fields.' ),
|
340 |
+
|
341 |
+
'c5' => array( 'handler' => '', 'comment' => '<h3>Operations on the Product Image and Product Gallery</h3>' ),
|
342 |
'Remove Feature' => array( 'handler' => '_remove_feature',
|
343 |
'comment' => 'Remove Product/Featured Image from the Product Gallery.' ),
|
344 |
'Restore Feature' => array( 'handler' => '_restore_feature',
|
378 |
'Replace Att. Cats' => array( 'handler' => '_replace_attachment_categories',
|
379 |
'comment' => '<strong>Replace ALL</strong> Att. Categories assignments from Att. Tags, where the Att. Tag matches an existing Att. Category.' ),
|
380 |
'c9' => array( 'handler' => '', 'comment' => '<h3>Term Assignments for Media Library Items</h3>' ),
|
381 |
+
't0201' => array( 'open' => '<table><tr>' ),
|
382 |
+
't0202' => array( 'continue' => ' <td style="text-align: right; padding-right: 5px" valign="middle"><input name="' . self::SLUG_PREFIX . self::INPUT_PROCESS_CATEGORY . '" type="checkbox"' . $category_attr . 'value="' . self::INPUT_PROCESS_CATEGORY . '"></td>' ),
|
383 |
+
't0203' => array( 'continue' => ' <td style="text-align: left; padding-right: 5px" valign="middle">product_category</td>' ),
|
384 |
+
't0204' => array( 'continue' => ' <td style="text-align: right; padding-right: 5px" valign="middle"><input name="' . self::SLUG_PREFIX . self::INPUT_PROCESS_TAG . '" type="checkbox"' . $tag_attr . 'value="' . self::INPUT_PROCESS_TAG . '"></td>' ),
|
385 |
+
't0205' => array( 'continue' => ' <td style="text-align: left; padding-right: 5px" valign="middle">product_tag</td>' ),
|
386 |
+
't0206' => array( 'continue' => ' <td colspan=2 style="text-align: right; padding-right: 5px" valign="middle"> </td>' ),
|
387 |
+
't0207' => array( 'continue' => '</tr><tr>' ),
|
388 |
+
't0208' => array( 'continue' => '<td> </td><td colspan="5">Check a box above to include the taxonomy in the processing.</td>' ),
|
389 |
+
't0209' => array( 'continue' => '</tr><tr style="display: none">' ),
|
390 |
+
't0210' => array( 'continue' => ' <td style="text-align: right; padding-right: 5px" valign="middle">Start Chunk</td>' ),
|
391 |
+
't0211' => array( 'continue' => ' <td style="text-align: left; padding-right: 20px">' ),
|
392 |
+
't0212' => array( 'continue' => ' <input name="' . self::SLUG_PREFIX . self::INPUT_FIRST_CHUNK . '" type="text" size="5" value="' . self::$start_chunk . '">' ),
|
393 |
+
't0213' => array( 'continue' => ' </td>' ),
|
394 |
+
't0214' => array( 'continue' => ' <td style="text-align: right; padding-right: 5px" valign="middle">Stop Chunk</td>' ),
|
395 |
+
't0215' => array( 'continue' => ' <td style="text-align: left;">' ),
|
396 |
+
't0216' => array( 'continue' => ' <input name="' . self::SLUG_PREFIX . self::INPUT_LAST_CHUNK . '" type="text" size="5" value="' . self::$stop_chunk . '">' ),
|
397 |
+
't0217' => array( 'continue' => ' </td>' ),
|
398 |
+
't0218' => array( 'continue' => ' <td style="text-align: right; padding-right: 5px" valign="middle">Chunk Size</td>' ),
|
399 |
+
't0219' => array( 'continue' => ' <td style="text-align: left;">' ),
|
400 |
+
't0220' => array( 'continue' => ' <input name="' . self::SLUG_PREFIX . self::INPUT_CHUNK_SIZE . '" type="text" size="5" value="' . self::$chunk_size . '">' ),
|
401 |
+
't0221' => array( 'continue' => ' </td>' ),
|
402 |
+
't0222' => array( 'continue' => '</tr><tr style="display: none">' ),
|
403 |
+
't0223' => array( 'continue' => '<td> </td><td colspan="5">Enter start and stop chunks to restrict processing range;<br>chunk size is number of proucts/chunk.</td>' ),
|
404 |
+
't0224' => array( 'close' => '</tr></table> <br>' ),
|
405 |
'Clear Terms' => array( 'handler' => '_clear_term_assignments',
|
406 |
'comment' => '<strong>Delete ALL</strong> product_category and/or product_tag term assignments to Media Library items.' ),
|
407 |
'Assign Terms' => array( 'handler' => '_copy_term_assignments',
|
1126 |
return "_replace_title_t() performed {$update_count} update(s).\n";
|
1127 |
} // _replace_title_t
|
1128 |
|
1129 |
+
/**
|
1130 |
+
* Process the "Apply a Content Template to ALT Text fields" actions
|
1131 |
+
*
|
1132 |
+
* @since 1.28
|
1133 |
+
*
|
1134 |
+
* @param boolean $retain_existing Retain existing ALT Text values
|
1135 |
+
*
|
1136 |
+
* @return array ( 'error' => $error_message, 'delete_count' => $delete_count,
|
1137 |
+
* 'insert_count' => $insert_count )
|
1138 |
+
*/
|
1139 |
+
private static function _process_alt_text_ct( $retain_existing ) {
|
1140 |
+
global $wpdb;
|
1141 |
+
|
1142 |
+
$results = array( 'error' => '', 'delete_count' => 0, 'insert_count' => 0 );
|
1143 |
+
|
1144 |
+
$content_template = self::$content_template;
|
1145 |
+
if ( 'template:' == substr( $content_template, 0, 9 ) ) {
|
1146 |
+
$content_template = substr( $content_template, 9 );
|
1147 |
+
}
|
1148 |
+
|
1149 |
+
if ( empty( $content_template ) ) {
|
1150 |
+
$results['error'] = "Content Template is empty; no updates done.\n";
|
1151 |
+
return $results;
|
1152 |
+
}
|
1153 |
+
|
1154 |
+
// Define the template
|
1155 |
+
$my_setting = array(
|
1156 |
+
'data_source' => 'template',
|
1157 |
+
'meta_name' => '(' . $content_template . ')',
|
1158 |
+
'option' => 'raw'
|
1159 |
+
);
|
1160 |
+
|
1161 |
+
self::_build_product_attachments();
|
1162 |
+
$delete_count = 0;
|
1163 |
+
$insert_count = 0;
|
1164 |
+
foreach ( array_chunk( self::$product_attachments, 25, true ) as $chunk ) {
|
1165 |
+
$all_values = array();
|
1166 |
+
$delete_values = array();
|
1167 |
+
$replace_values = array();
|
1168 |
+
|
1169 |
+
// Evaluate the template for each attachment
|
1170 |
+
foreach ( $chunk as $key => $value ) {
|
1171 |
+
if ( ! empty( $value['_thumbnail_id'] ) ) {
|
1172 |
+
$all_values[] = $id = $value['_thumbnail_id'];
|
1173 |
+
|
1174 |
+
// Evaluate the template for the Product Image
|
1175 |
+
$template_value = trim( MLAOptions::mla_get_data_source( $id, 'single_attachment_mapping', $my_setting, NULL ) );
|
1176 |
+
if ( !empty( $template_value ) ) {
|
1177 |
+
$replace_values[ $id ] = $template_value;
|
1178 |
+
}
|
1179 |
+
}
|
1180 |
+
|
1181 |
+
if ( ! empty( $value['_product_image_gallery'] ) ) {
|
1182 |
+
$ids = explode( ',', $value['_product_image_gallery'] );
|
1183 |
+
foreach( $ids as $id ) {
|
1184 |
+
$all_values[] = $id;
|
1185 |
+
|
1186 |
+
// Evaluate the template for a Product Gallery Image
|
1187 |
+
$template_value = trim( MLAOptions::mla_get_data_source( $id, 'single_attachment_mapping', $my_setting, NULL ) );
|
1188 |
+
if ( !empty( $template_value ) ) {
|
1189 |
+
$replace_values[ $id ] = $template_value;
|
1190 |
+
}
|
1191 |
+
} // each Product Gallery image
|
1192 |
+
} // has gallery
|
1193 |
+
} // each Product
|
1194 |
+
|
1195 |
+
if ( $retain_existing ) {
|
1196 |
+
// Find the existing ALT Text values and remove them from the update
|
1197 |
+
$keys = implode( ',', array_keys( $replace_values ) );
|
1198 |
+
$select_query = "SELECT post_id, meta_value FROM {$wpdb->postmeta} WHERE ( post_id IN ( {$keys} ) ) AND ( meta_key = '_wp_attachment_image_alt' )";
|
1199 |
+
$delete_values = array();
|
1200 |
+
foreach( $wpdb->get_results( $select_query ) as $existing_value ) {
|
1201 |
+
$trim = trim( $existing_value->meta_value );
|
1202 |
+
if ( empty( $trim ) ) {
|
1203 |
+
$delete_values[] = $existing_value->post_id;
|
1204 |
+
continue;
|
1205 |
+
}
|
1206 |
+
unset( $replace_values[ (integer) $existing_value->post_id ] );
|
1207 |
+
}
|
1208 |
+
} else {
|
1209 |
+
// Delete all of the existing values
|
1210 |
+
$delete_values = $all_values;
|
1211 |
+
}
|
1212 |
+
|
1213 |
+
/*
|
1214 |
+
* Delete ALT Text values that are empty or will be replaced
|
1215 |
+
*/
|
1216 |
+
if ( ! empty( $delete_values ) ) {
|
1217 |
+
$keys = implode( ',', $delete_values );
|
1218 |
+
$delete_query = "DELETE FROM {$wpdb->postmeta} WHERE ( post_id IN ( {$keys} ) ) AND ( meta_key = '_wp_attachment_image_alt' )";
|
1219 |
+
$query_result = $wpdb->query( $delete_query );
|
1220 |
+
$delete_count += $query_result;
|
1221 |
+
}
|
1222 |
+
|
1223 |
+
/*
|
1224 |
+
* Insert the new values
|
1225 |
+
*/
|
1226 |
+
foreach ( $replace_values as $attachment => $text ) {
|
1227 |
+
$insert_query = "INSERT INTO {$wpdb->postmeta} ( `post_id`,`meta_key`,`meta_value` )
|
1228 |
+
VALUES ( {$attachment},'_wp_attachment_image_alt','{$text}' )";
|
1229 |
+
$query_result = $wpdb->query( $insert_query );
|
1230 |
+
$insert_count += $query_result;
|
1231 |
+
}
|
1232 |
+
} // each chunk
|
1233 |
+
|
1234 |
+
$results['delete_count'] = $delete_count;
|
1235 |
+
$results['insert_count'] = $insert_count;
|
1236 |
+
return $results;
|
1237 |
+
} // _process_alt_text_ct
|
1238 |
+
|
1239 |
+
/**
|
1240 |
+
* Apply a Content Template to empty ALT Text fields
|
1241 |
+
*
|
1242 |
+
* @since 1.28
|
1243 |
+
*
|
1244 |
+
* @return string HTML markup for results/messages
|
1245 |
+
*/
|
1246 |
+
private static function _fill_alt_text_ct() {
|
1247 |
+
$results = self::_process_alt_text_ct( true );
|
1248 |
+
if ( empty( $results['error'] ) ) {
|
1249 |
+
$delete_count = $results['delete_count'];
|
1250 |
+
$insert_count = $results['insert_count'];
|
1251 |
+
return "_fill_alt_text_ct() performed {$delete_count} delete(s), {$insert_count} inserts(s).\n";
|
1252 |
+
}
|
1253 |
+
|
1254 |
+
return "_fill_alt_text_ct() " . $results['error'];
|
1255 |
+
} // _fill_alt_text_ct
|
1256 |
+
|
1257 |
+
/**
|
1258 |
+
* Apply a Content Template to ALL ALT Text fields
|
1259 |
+
*
|
1260 |
+
* @since 1.28
|
1261 |
+
*
|
1262 |
+
* @return string HTML markup for results/messages
|
1263 |
+
*/
|
1264 |
+
private static function _replace_alt_text_ct() {
|
1265 |
+
$results = self::_process_alt_text_ct( false );
|
1266 |
+
if ( empty( $results['error'] ) ) {
|
1267 |
+
$delete_count = $results['delete_count'];
|
1268 |
+
$insert_count = $results['insert_count'];
|
1269 |
+
return "_replace_alt_text_ct() performed {$delete_count} delete(s), {$insert_count} inserts(s).\n";
|
1270 |
+
}
|
1271 |
+
|
1272 |
+
return "_replace_alt_text_ct() " . $results['error'];
|
1273 |
+
} // _replace_alt_text_ct
|
1274 |
+
|
1275 |
/**
|
1276 |
* Remove Product/Featured Image from the Product Gallery
|
1277 |
*
|
includes/class-mla-core.php
CHANGED
@@ -21,7 +21,7 @@ class MLACore {
|
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
-
const CURRENT_MLA_VERSION = '2.
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
@@ -86,6 +86,15 @@ class MLACore {
|
|
86 |
*/
|
87 |
const MLA_DEBUG_CATEGORY_THUMBNAIL = 0x00000008;
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
/**
|
90 |
* Slug for adding plugin submenu
|
91 |
*
|
@@ -309,6 +318,7 @@ class MLACore {
|
|
309 |
* @return void
|
310 |
*/
|
311 |
public static function initialize( ) {
|
|
|
312 |
if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_FEATURED_IN_TUNING ) ) {
|
313 |
MLACore::$process_featured_in = false;
|
314 |
}
|
@@ -527,7 +537,12 @@ class MLACore {
|
|
527 |
MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
|
528 |
$mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
|
529 |
if ( strlen( $mla_reporting ) ) {
|
530 |
-
|
|
|
|
|
|
|
|
|
|
|
531 |
if ( $mla_reporting ) {
|
532 |
MLACore::$mla_debug_level = $mla_reporting | 1;
|
533 |
} else {
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
+
const CURRENT_MLA_VERSION = '2.41';
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
86 |
*/
|
87 |
const MLA_DEBUG_CATEGORY_THUMBNAIL = 0x00000008;
|
88 |
|
89 |
+
/**
|
90 |
+
* Constant to log IPTC/EXIF/XMP/PDF metadata activity
|
91 |
+
*
|
92 |
+
* @since 2.41
|
93 |
+
*
|
94 |
+
* @var integer
|
95 |
+
*/
|
96 |
+
const MLA_DEBUG_CATEGORY_METADATA = 0x00000010;
|
97 |
+
|
98 |
/**
|
99 |
* Slug for adding plugin submenu
|
100 |
*
|
318 |
* @return void
|
319 |
*/
|
320 |
public static function initialize( ) {
|
321 |
+
//error_log( __LINE__ . ' DEBUG: MLACore::initialize $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
|
322 |
if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_FEATURED_IN_TUNING ) ) {
|
323 |
MLACore::$process_featured_in = false;
|
324 |
}
|
537 |
MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
|
538 |
$mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
|
539 |
if ( strlen( $mla_reporting ) ) {
|
540 |
+
if ( ctype_digit( $mla_reporting ) ) {
|
541 |
+
$mla_reporting = intval( $mla_reporting );
|
542 |
+
} else{
|
543 |
+
$mla_reporting = hexdec( $mla_reporting );
|
544 |
+
}
|
545 |
+
|
546 |
if ( $mla_reporting ) {
|
547 |
MLACore::$mla_debug_level = $mla_reporting | 1;
|
548 |
} else {
|
includes/class-mla-data.php
CHANGED
@@ -3006,6 +3006,7 @@ class MLAData {
|
|
3006 |
$pdf_metadata = MLAPDF::mla_extract_pdf_metadata( $path );
|
3007 |
$results['mla_xmp_metadata'] = $pdf_metadata['xmp'];
|
3008 |
$results['mla_pdf_metadata'] = $pdf_metadata['pdf'];
|
|
|
3009 |
return $results;
|
3010 |
}
|
3011 |
|
@@ -3014,7 +3015,8 @@ class MLAData {
|
|
3014 |
if ( is_callable( 'iptcparse' ) ) {
|
3015 |
if ( ! empty( $info['APP13'] ) ) {
|
3016 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3017 |
-
$iptc_values = iptcparse( $info['APP13'] );
|
|
|
3018 |
//restore_error_handler();
|
3019 |
|
3020 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
@@ -3041,14 +3043,62 @@ class MLAData {
|
|
3041 |
} // iptcparse
|
3042 |
|
3043 |
if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
|
|
|
|
|
3044 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3045 |
-
$
|
|
|
|
|
3046 |
//restore_error_handler();
|
3047 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
3048 |
$results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
3049 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
3050 |
MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
3051 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3052 |
} // exif_read_data
|
3053 |
|
3054 |
$results['mla_xmp_metadata'] = self::mla_parse_xmp_metadata( $path, 0 );
|
@@ -3066,7 +3116,7 @@ class MLAData {
|
|
3066 |
$results['mla_exif_metadata']['DateTimeOriginal'] = $results['mla_xmp_metadata']['CreateDate'];
|
3067 |
}
|
3068 |
}
|
3069 |
-
|
3070 |
// experimental damage repair for Elsie Gilmore (earthnutvt)
|
3071 |
if ( isset( $exif_data['Keywords'] ) && ( '????' == substr( $exif_data['Keywords'], 0, 4 ) ) ) {
|
3072 |
if ( isset( $results['mla_xmp_metadata']['Keywords'] ) ) {
|
@@ -3334,7 +3384,7 @@ class MLAData {
|
|
3334 |
$results['mla_exif_metadata']['GPS'] = $new_data;
|
3335 |
}
|
3336 |
|
3337 |
-
|
3338 |
return $results;
|
3339 |
}
|
3340 |
|
@@ -3458,6 +3508,25 @@ class MLAData {
|
|
3458 |
unset( $meta_value[0x80000002] );
|
3459 |
}
|
3460 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3461 |
if ( isset( $post_data[ 'mla_item_' . $meta_key ] ) ) {
|
3462 |
$old_meta_value = $post_data[ 'mla_item_' . $meta_key ];
|
3463 |
|
3006 |
$pdf_metadata = MLAPDF::mla_extract_pdf_metadata( $path );
|
3007 |
$results['mla_xmp_metadata'] = $pdf_metadata['xmp'];
|
3008 |
$results['mla_pdf_metadata'] = $pdf_metadata['pdf'];
|
3009 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata results = ' . var_export( $results, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3010 |
return $results;
|
3011 |
}
|
3012 |
|
3015 |
if ( is_callable( 'iptcparse' ) ) {
|
3016 |
if ( ! empty( $info['APP13'] ) ) {
|
3017 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3018 |
+
$iptc_values = @iptcparse( $info['APP13'] );
|
3019 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata iptc_values = ' . var_export( $iptc_values, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3020 |
//restore_error_handler();
|
3021 |
|
3022 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
3043 |
} // iptcparse
|
3044 |
|
3045 |
if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
|
3046 |
+
// When reading EXIF information from the 'WINXP' group, you may need to change used encoding from the default "ISO-8859-15" to "UTF-8". This can be done in php.ini or in your code.
|
3047 |
+
//ini_set( 'exif.encode_unicode', 'UTF-8' );
|
3048 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3049 |
+
$exif_data = @exif_read_data( $path, NULL, true );
|
3050 |
+
//ini_restore( 'exif.encode_unicode' );
|
3051 |
+
//MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata exif_data = ' . var_export( $exif_data, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3052 |
//restore_error_handler();
|
3053 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
3054 |
$results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
3055 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
3056 |
MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
3057 |
}
|
3058 |
+
|
3059 |
+
if ( ! is_array( $exif_data ) ) {
|
3060 |
+
$exif_data = array();
|
3061 |
+
}
|
3062 |
+
|
3063 |
+
// Promote most array elements to top-level simple values, emulating $arrays = false
|
3064 |
+
foreach ( $exif_data as $section_name => $section_data ) {
|
3065 |
+
/*
|
3066 |
+
* The sections COMPUTED, THUMBNAIL, and COMMENT always become arrays as
|
3067 |
+
* they may contain values whose names conflict with other sections.
|
3068 |
+
* The WINXP section usually contains garbage that overwrites IFD0 values.
|
3069 |
+
*/
|
3070 |
+
if ( in_array( $section_name, array ( 'COMPUTED', 'THUMBNAIL', 'COMMENT', 'WINXP' ) ) ) {
|
3071 |
+
$results['mla_exif_metadata'][ $section_name ] = $section_data;
|
3072 |
+
continue;
|
3073 |
+
}
|
3074 |
+
|
3075 |
+
foreach ( $section_data as $element_name => $element_value ) {
|
3076 |
+
// JPEG standard defines 0xEA1C as "padding"
|
3077 |
+
if ( 'UndefinedTag:0xEA1C' === $element_name ) {
|
3078 |
+
continue;
|
3079 |
+
}
|
3080 |
+
|
3081 |
+
// Decode some non-string values
|
3082 |
+
if ( 'IFD0' === $section_name ) {
|
3083 |
+
/*
|
3084 |
+
* PixelUnit (1 byte) Units for the PixelPerUnitX and PixelPerUnitY densities
|
3085 |
+
* 0: no units, PixelPerUnitX and PixelPerUnitY specify the pixel aspect ratio
|
3086 |
+
* 1: PixelPerUnitX and PixelPerUnitY are dots per inch
|
3087 |
+
* 2: PixelPerUnitX and PixelPerUnitY are dots per cm
|
3088 |
+
*/
|
3089 |
+
if ( 'PixelUnit' === $element_name ) {
|
3090 |
+
$element_value = (string) ord( $element_value );
|
3091 |
+
}
|
3092 |
+
|
3093 |
+
// Problem with values edited through Windows right-click properties.
|
3094 |
+
if ( in_array( $element_name, array( 'Title', 'Keywords', 'Subject' ) ) ) {
|
3095 |
+
$element_value = str_replace( "\000", '', $element_value );
|
3096 |
+
}
|
3097 |
+
}
|
3098 |
+
|
3099 |
+
$results['mla_exif_metadata'][ $element_name ] = $element_value;
|
3100 |
+
}
|
3101 |
+
}
|
3102 |
} // exif_read_data
|
3103 |
|
3104 |
$results['mla_xmp_metadata'] = self::mla_parse_xmp_metadata( $path, 0 );
|
3116 |
$results['mla_exif_metadata']['DateTimeOriginal'] = $results['mla_xmp_metadata']['CreateDate'];
|
3117 |
}
|
3118 |
}
|
3119 |
+
|
3120 |
// experimental damage repair for Elsie Gilmore (earthnutvt)
|
3121 |
if ( isset( $exif_data['Keywords'] ) && ( '????' == substr( $exif_data['Keywords'], 0, 4 ) ) ) {
|
3122 |
if ( isset( $results['mla_xmp_metadata']['Keywords'] ) ) {
|
3384 |
$results['mla_exif_metadata']['GPS'] = $new_data;
|
3385 |
}
|
3386 |
|
3387 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata results = ' . var_export( $results, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3388 |
return $results;
|
3389 |
}
|
3390 |
|
3508 |
unset( $meta_value[0x80000002] );
|
3509 |
}
|
3510 |
|
3511 |
+
// mla_fetch_attachment_metadata doesn't return "hidden" fields
|
3512 |
+
if ( '_' === $meta_key{0} ) {
|
3513 |
+
$old_meta_value = get_post_meta( $post_id, $meta_key );
|
3514 |
+
|
3515 |
+
if ( !empty( $old_meta_value ) ) {
|
3516 |
+
if ( is_array( $old_meta_value ) ) {
|
3517 |
+
if ( count( $old_meta_value ) == 1 ) {
|
3518 |
+
$old_meta_value = maybe_unserialize( current( $old_meta_value ) );
|
3519 |
+
} else {
|
3520 |
+
foreach ( $old_meta_value as $single_key => $single_value ) {
|
3521 |
+
$old_meta_value[ $single_key ] = maybe_unserialize( $single_value );
|
3522 |
+
}
|
3523 |
+
}
|
3524 |
+
}
|
3525 |
+
|
3526 |
+
$post_data[ 'mla_item_' . $meta_key ] = $old_meta_value;
|
3527 |
+
}
|
3528 |
+
}
|
3529 |
+
|
3530 |
if ( isset( $post_data[ 'mla_item_' . $meta_key ] ) ) {
|
3531 |
$old_meta_value = $post_data[ 'mla_item_' . $meta_key ];
|
3532 |
|
includes/class-mla-file-downloader.php
CHANGED
@@ -100,8 +100,8 @@ class MLAFileDownloader {
|
|
100 |
|
101 |
* @return void echos page content and calls exit();
|
102 |
*/
|
103 |
-
|
104 |
-
self::_mla_debug_add( __LINE__ . "
|
105 |
exit();
|
106 |
}
|
107 |
|
100 |
|
101 |
* @return void echos page content and calls exit();
|
102 |
*/
|
103 |
+
public static function mla_die( $message, $title = '', $response = 500 ) {
|
104 |
+
self::_mla_debug_add( __LINE__ . " mla_die( '{$message}', '{$title}', '{$response}' )" );
|
105 |
exit();
|
106 |
}
|
107 |
|
includes/class-mla-main.php
CHANGED
@@ -142,7 +142,7 @@ class MLA {
|
|
142 |
* @return void
|
143 |
*/
|
144 |
public static function mla_admin_init_action() {
|
145 |
-
static $count = 0;
|
146 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action $count = ' . var_export( $count++, true ), 0 );
|
147 |
|
148 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action referer = ' . var_export( wp_get_referer(), true ), 0 );
|
@@ -649,14 +649,27 @@ class MLA {
|
|
649 |
* @param string Name of the option being changed
|
650 |
* @param string New value of the option
|
651 |
*
|
652 |
-
* @return
|
653 |
*/
|
654 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
if ( 'mla_entries_per_page' == $option ) {
|
656 |
return $value;
|
657 |
-
} elseif ( $status ) {
|
658 |
-
return $status;
|
659 |
}
|
|
|
|
|
660 |
}
|
661 |
|
662 |
/**
|
142 |
* @return void
|
143 |
*/
|
144 |
public static function mla_admin_init_action() {
|
145 |
+
//static $count = 0;
|
146 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action $count = ' . var_export( $count++, true ), 0 );
|
147 |
|
148 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action referer = ' . var_export( wp_get_referer(), true ), 0 );
|
649 |
* @param string Name of the option being changed
|
650 |
* @param string New value of the option
|
651 |
*
|
652 |
+
* @return mixed New value if this is our option, otherwise original status
|
653 |
*/
|
654 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
655 |
+
global $wp_filter;
|
656 |
+
|
657 |
+
MLACore::mla_debug_add( __LINE__ . " MLA::mla_set_screen_option_filter( {$option} ) status = " . var_export( $status, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
658 |
+
MLACore::mla_debug_add( __LINE__ . " MLA::mla_set_screen_option_filter( {$option} ) value = " . var_export( $value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
659 |
+
|
660 |
+
foreach( $wp_filter['set-screen-option'] as $priority => $filters ) {
|
661 |
+
$debug_message = 'mla_debug $wp_filter[set-screen-option] priority = ' . var_export( $priority, true ) . '<br />';
|
662 |
+
foreach ( $filters as $name => $descriptor ) {
|
663 |
+
$debug_message .= 'filter name = ' . var_export( $name, true ) . '<br />';
|
664 |
+
}
|
665 |
+
MLACore::mla_debug_add( $debug_message, MLACore::MLA_DEBUG_CATEGORY_ANY );
|
666 |
+
}
|
667 |
+
|
668 |
if ( 'mla_entries_per_page' == $option ) {
|
669 |
return $value;
|
|
|
|
|
670 |
}
|
671 |
+
|
672 |
+
return $status;
|
673 |
}
|
674 |
|
675 |
/**
|
includes/class-mla-mime-types.php
CHANGED
@@ -483,8 +483,8 @@ class MLAMime {
|
|
483 |
* to sort by. Often, the key and value will be the same, but this is not always
|
484 |
* the case (as the value is a column name from the database, not the list table).
|
485 |
*
|
486 |
-
* The array value also contains a boolean which is 'true' if the
|
487 |
-
*
|
488 |
*
|
489 |
* @since 1.40
|
490 |
*
|
@@ -571,8 +571,8 @@ class MLAMime {
|
|
571 |
* to sort by. Often, the key and value will be the same, but this is not always
|
572 |
* the case (as the value is a column name from the database, not the list table).
|
573 |
*
|
574 |
-
* The array value also contains a boolean which is 'true' if the
|
575 |
-
*
|
576 |
*
|
577 |
* @since 1.40
|
578 |
*
|
@@ -646,8 +646,8 @@ class MLAMime {
|
|
646 |
* to sort by. Often, the key and value will be the same, but this is not always
|
647 |
* the case (as the value is a column name from the database, not the list table).
|
648 |
*
|
649 |
-
* The array value also contains a boolean which is 'true' if the
|
650 |
-
*
|
651 |
*
|
652 |
* @since 1.40
|
653 |
*
|
483 |
* to sort by. Often, the key and value will be the same, but this is not always
|
484 |
* the case (as the value is a column name from the database, not the list table).
|
485 |
*
|
486 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
487 |
+
* for the column is DESC/Descending.
|
488 |
*
|
489 |
* @since 1.40
|
490 |
*
|
571 |
* to sort by. Often, the key and value will be the same, but this is not always
|
572 |
* the case (as the value is a column name from the database, not the list table).
|
573 |
*
|
574 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
575 |
+
* for the column is DESC/Descending.
|
576 |
*
|
577 |
* @since 1.40
|
578 |
*
|
646 |
* to sort by. Often, the key and value will be the same, but this is not always
|
647 |
* the case (as the value is a column name from the database, not the list table).
|
648 |
*
|
649 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
650 |
+
* for the column is DESC/Descending.
|
651 |
*
|
652 |
* @since 1.40
|
653 |
*
|
includes/class-mla-options.php
CHANGED
@@ -1187,6 +1187,7 @@ class MLAOptions {
|
|
1187 |
*/
|
1188 |
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
|
|
1190 |
|
1191 |
switch ( $action ) {
|
1192 |
case 'render':
|
@@ -2451,7 +2452,7 @@ class MLAOptions {
|
|
2451 |
*/
|
2452 |
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2453 |
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2454 |
-
|
2455 |
switch ( $action ) {
|
2456 |
case 'render':
|
2457 |
|
1187 |
*/
|
1188 |
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
1190 |
+
//error_log( __LINE__ . " mla_custom_field_option_handler( $action, $key ) current_values = " . var_export( $current_values, true ), 0 );
|
1191 |
|
1192 |
switch ( $action ) {
|
1193 |
case 'render':
|
2452 |
*/
|
2453 |
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2454 |
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2455 |
+
//error_log( __LINE__ . " mla_iptc_exif_option_handler( $action, $key ) current_values = " . var_export( $current_values, true ), 0 );
|
2456 |
switch ( $action ) {
|
2457 |
case 'render':
|
2458 |
|
includes/class-mla-polylang-shortcode-support.php
CHANGED
@@ -69,7 +69,12 @@ class MLA_Polylang_Shortcodes {
|
|
69 |
public static function mla_get_terms_clauses( $clauses ) {
|
70 |
global $polylang;
|
71 |
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
return $clauses;
|
75 |
} // mla_get_terms_clauses
|
69 |
public static function mla_get_terms_clauses( $clauses ) {
|
70 |
global $polylang;
|
71 |
|
72 |
+
// The Polylang terms_clauses method is in one of two places
|
73 |
+
if ( is_admin() ) {
|
74 |
+
$clauses = $polylang->filters_term->terms_clauses($clauses, MLA_Polylang_Shortcodes::$all_query_parameters['taxonomy'], MLA_Polylang_Shortcodes::$all_query_parameters );
|
75 |
+
} else {
|
76 |
+
$clauses = $polylang->filters->terms_clauses($clauses, MLA_Polylang_Shortcodes::$all_query_parameters['taxonomy'], MLA_Polylang_Shortcodes::$all_query_parameters );
|
77 |
+
}
|
78 |
|
79 |
return $clauses;
|
80 |
} // mla_get_terms_clauses
|
includes/class-mla-settings-custom-fields-tab.php
CHANGED
@@ -467,8 +467,8 @@ class MLASettings_CustomFields {
|
|
467 |
} // class MLASettings_CustomFields
|
468 |
|
469 |
/*
|
470 |
-
* Actions are added here, when the source file is loaded, because the
|
471 |
-
*
|
472 |
*/
|
473 |
add_action( 'admin_enqueue_scripts', 'MLASettings_CustomFields::mla_admin_enqueue_scripts' );
|
474 |
?>
|
467 |
} // class MLASettings_CustomFields
|
468 |
|
469 |
/*
|
470 |
+
* Actions are added here, when the source file is loaded, because the mla_compose_custom_field_tab
|
471 |
+
* function is called too late to be useful.
|
472 |
*/
|
473 |
add_action( 'admin_enqueue_scripts', 'MLASettings_CustomFields::mla_admin_enqueue_scripts' );
|
474 |
?>
|
includes/class-mla-settings-documentation-tab.php
CHANGED
@@ -406,8 +406,8 @@ class MLA_Example_List_Table extends WP_List_Table {
|
|
406 |
* to sort by. Often, the key and value will be the same, but this is not always
|
407 |
* the case (as the value is a column name from the database, not the list table).
|
408 |
*
|
409 |
-
* The array value also contains a boolean which is 'true' if the
|
410 |
-
*
|
411 |
*
|
412 |
* @since 2.32
|
413 |
*
|
@@ -503,9 +503,6 @@ class MLA_Example_List_Table extends WP_List_Table {
|
|
503 |
/**
|
504 |
* Builds the $default_columns array with translated source texts.
|
505 |
*
|
506 |
-
* Called from MLATest::initialize because the $default_columns information might be
|
507 |
-
* accessed from "front end" posts/pages.
|
508 |
-
*
|
509 |
* @since 2.32
|
510 |
*
|
511 |
* @return void
|
406 |
* to sort by. Often, the key and value will be the same, but this is not always
|
407 |
* the case (as the value is a column name from the database, not the list table).
|
408 |
*
|
409 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
410 |
+
* for the column is DESC/Descending.
|
411 |
*
|
412 |
* @since 2.32
|
413 |
*
|
503 |
/**
|
504 |
* Builds the $default_columns array with translated source texts.
|
505 |
*
|
|
|
|
|
|
|
506 |
* @since 2.32
|
507 |
*
|
508 |
* @return void
|
includes/class-mla-settings-iptc-exif-tab.php
CHANGED
@@ -653,8 +653,8 @@ class MLASettings_IPTCEXIF {
|
|
653 |
} // class MLASettings_IPTCEXIF
|
654 |
|
655 |
/*
|
656 |
-
* Actions are added here, when the source file is loaded, because the
|
657 |
-
*
|
658 |
*/
|
659 |
add_action( 'admin_enqueue_scripts', 'MLASettings_IPTCEXIF::mla_admin_enqueue_scripts' );
|
660 |
?>
|
653 |
} // class MLASettings_IPTCEXIF
|
654 |
|
655 |
/*
|
656 |
+
* Actions are added here, when the source file is loaded, because the mla_compose_iptc_exif_tab
|
657 |
+
* function is called too late to be useful.
|
658 |
*/
|
659 |
add_action( 'admin_enqueue_scripts', 'MLASettings_IPTCEXIF::mla_admin_enqueue_scripts' );
|
660 |
?>
|
includes/class-mla-settings-shortcodes-tab.php
CHANGED
@@ -820,8 +820,8 @@ class MLA_Template_List_Table extends WP_List_Table {
|
|
820 |
* to sort by. Often, the key and value will be the same, but this is not always
|
821 |
* the case (as the value is a column name from the database, not the list table).
|
822 |
*
|
823 |
-
* The array value also contains a boolean which is 'true' if the
|
824 |
-
*
|
825 |
*
|
826 |
* @since 2.40
|
827 |
* @access private
|
820 |
* to sort by. Often, the key and value will be the same, but this is not always
|
821 |
* the case (as the value is a column name from the database, not the list table).
|
822 |
*
|
823 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
824 |
+
* for the column is DESC/Descending.
|
825 |
*
|
826 |
* @since 2.40
|
827 |
* @access private
|
includes/class-mla-settings.php
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
* @package Media Library Assistant
|
6 |
* @since 0.1
|
7 |
*/
|
|
|
8 |
|
9 |
/**
|
10 |
* Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings
|
@@ -95,7 +96,11 @@ class MLASettings {
|
|
95 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-view-tab.php' );
|
96 |
break;
|
97 |
case self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG:
|
|
|
98 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
|
|
|
|
|
|
99 |
break;
|
100 |
case self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG:
|
101 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
@@ -114,7 +119,11 @@ class MLASettings {
|
|
114 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-shortcodes-tab.php' );
|
115 |
break;
|
116 |
case 'custom_field':
|
|
|
|
|
|
|
117 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
|
|
118 |
break;
|
119 |
case 'iptc_exif':
|
120 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
@@ -578,14 +587,17 @@ class MLASettings {
|
|
578 |
* @param string Name of the option being changed
|
579 |
* @param string New value of the option
|
580 |
*
|
581 |
-
* @return
|
582 |
*/
|
583 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
584 |
if ( in_array( $option, array ( 'mla_views_per_page', 'mla_uploads_per_page', 'mla_types_per_page', 'mla_shortcode_templates_per_page', 'mla_example_plugins_per_page' ) ) ) {
|
585 |
return $value;
|
586 |
-
} elseif ( $status ) {
|
587 |
-
return $status;
|
588 |
}
|
|
|
|
|
|
|
|
|
|
|
589 |
}
|
590 |
|
591 |
/**
|
5 |
* @package Media Library Assistant
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
const MLA_USE_NEW_CUSTOM_FIELDS_TAB = false;
|
9 |
|
10 |
/**
|
11 |
* Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings
|
96 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-view-tab.php' );
|
97 |
break;
|
98 |
case self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG:
|
99 |
+
if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
100 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
101 |
+
} else {
|
102 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
103 |
+
}
|
104 |
break;
|
105 |
case self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG:
|
106 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
119 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-shortcodes-tab.php' );
|
120 |
break;
|
121 |
case 'custom_field':
|
122 |
+
if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
123 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
124 |
+
} else {
|
125 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
126 |
+
}
|
127 |
break;
|
128 |
case 'iptc_exif':
|
129 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
587 |
* @param string Name of the option being changed
|
588 |
* @param string New value of the option
|
589 |
*
|
590 |
+
* @return mixed New value if this is our option, otherwise original status
|
591 |
*/
|
592 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
593 |
if ( in_array( $option, array ( 'mla_views_per_page', 'mla_uploads_per_page', 'mla_types_per_page', 'mla_shortcode_templates_per_page', 'mla_example_plugins_per_page' ) ) ) {
|
594 |
return $value;
|
|
|
|
|
595 |
}
|
596 |
+
|
597 |
+
MLACore::mla_debug_add( __LINE__ . " MLASettings::mla_set_screen_option_filter( {$option} ) status = " . var_export( $status, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
598 |
+
MLACore::mla_debug_add( __LINE__ . " MLASettings::mla_set_screen_option_filter( {$option} ) value = " . var_export( $value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
599 |
+
|
600 |
+
return $status;
|
601 |
}
|
602 |
|
603 |
/**
|
includes/class-mla-shortcode-support.php
CHANGED
@@ -539,14 +539,6 @@ class MLAShortcode_Support {
|
|
539 |
|
540 |
$current_rows = count( $attachments );
|
541 |
|
542 |
-
if ( isset( $attachments['found_rows'] ) ) {
|
543 |
-
$found_rows = $attachments['found_rows'];
|
544 |
-
unset( $attachments['found_rows'] );
|
545 |
-
$current_rows--;
|
546 |
-
} else {
|
547 |
-
$found_rows = $current_rows;
|
548 |
-
}
|
549 |
-
|
550 |
if ( isset( $attachments['max_num_pages'] ) ) {
|
551 |
$max_num_pages = $attachments['max_num_pages'];
|
552 |
unset( $attachments['max_num_pages'] );
|
@@ -555,7 +547,15 @@ class MLAShortcode_Support {
|
|
555 |
$max_num_pages = 1;
|
556 |
}
|
557 |
|
558 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
if ( self::$mla_debug ) {
|
560 |
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug empty gallery', 'media-library-assistant' ) . '</strong>, query = ' . var_export( $attr, true ) );
|
561 |
$output = MLACore::mla_debug_flush();
|
@@ -5002,7 +5002,7 @@ class MLAShortcode_Support {
|
|
5002 |
if ( empty( MLAQuery::$search_parameters['mla_term_connector'] ) ) {
|
5003 |
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = 'OR';
|
5004 |
} else {
|
5005 |
-
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = MLAQuery::$search_parameters['
|
5006 |
}
|
5007 |
}
|
5008 |
|
539 |
|
540 |
$current_rows = count( $attachments );
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
if ( isset( $attachments['max_num_pages'] ) ) {
|
543 |
$max_num_pages = $attachments['max_num_pages'];
|
544 |
unset( $attachments['max_num_pages'] );
|
547 |
$max_num_pages = 1;
|
548 |
}
|
549 |
|
550 |
+
if ( isset( $attachments['found_rows'] ) ) {
|
551 |
+
$found_rows = $attachments['found_rows'];
|
552 |
+
unset( $attachments['found_rows'] );
|
553 |
+
$current_rows--;
|
554 |
+
} else {
|
555 |
+
$found_rows = $current_rows;
|
556 |
+
}
|
557 |
+
|
558 |
+
if ( ( $is_gallery && empty($attachments) ) || ( $is_pagination && empty( $found_rows ) ) ) {
|
559 |
if ( self::$mla_debug ) {
|
560 |
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug empty gallery', 'media-library-assistant' ) . '</strong>, query = ' . var_export( $attr, true ) );
|
561 |
$output = MLACore::mla_debug_flush();
|
5002 |
if ( empty( MLAQuery::$search_parameters['mla_term_connector'] ) ) {
|
5003 |
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = 'OR';
|
5004 |
} else {
|
5005 |
+
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = MLAQuery::$search_parameters['mla_term_connector'];
|
5006 |
}
|
5007 |
}
|
5008 |
|
includes/class-mla-thumbnail-generation.php
CHANGED
@@ -141,11 +141,20 @@ class MLA_Thumbnail {
|
|
141 |
return $template_array;
|
142 |
}
|
143 |
|
144 |
-
|
|
|
|
|
|
|
|
|
145 |
$help_array = MLACore::mla_load_template( 'help-for-thumbnail_generation.tpl' );
|
146 |
|
147 |
-
if ( isset( $
|
148 |
-
$template_array['sidebar']
|
|
|
|
|
|
|
|
|
|
|
149 |
unset( $help_array['sidebar'] );
|
150 |
}
|
151 |
|
@@ -456,6 +465,11 @@ class MLA_Thumbnail {
|
|
456 |
unset( $_POST['s'] );
|
457 |
unset( $_GET['s'] );
|
458 |
|
|
|
|
|
|
|
|
|
|
|
459 |
$_REQUEST['ids'] = MLA_Thumbnail::$bulk_action_includes;
|
460 |
$_REQUEST['heading_suffix'] = __( 'Generated Thumbnails', 'media-library-assistant' );
|
461 |
}
|
@@ -553,7 +567,7 @@ class MLA_Thumbnail {
|
|
553 |
/**
|
554 |
* Filter the "sticky" submenu URL parameters
|
555 |
*
|
556 |
-
* Maintains the
|
557 |
*
|
558 |
* @since 2.13
|
559 |
*
|
@@ -563,13 +577,9 @@ class MLA_Thumbnail {
|
|
563 |
* @return array updated submenu_arguments.
|
564 |
*/
|
565 |
public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
|
566 |
-
if ( isset( $_REQUEST['pll_view'] ) ) {
|
567 |
-
$submenu_arguments['pll_view'] = $_REQUEST['pll_view'];
|
568 |
-
}
|
569 |
-
|
570 |
if ( $include_filters && ( ! empty( MLA_Thumbnail::$bulk_action_includes ) ) ) {
|
571 |
$submenu_arguments['ids'] = implode( ',', MLA_Thumbnail::$bulk_action_includes );
|
572 |
-
$submenu_arguments['heading_suffix'] = __( '
|
573 |
}
|
574 |
|
575 |
return $submenu_arguments;
|
141 |
return $template_array;
|
142 |
}
|
143 |
|
144 |
+
// Retain other filters' additions
|
145 |
+
if ( empty( $template_array ) ) {
|
146 |
+
$template_array = MLACore::mla_load_template( $file_name );
|
147 |
+
}
|
148 |
+
|
149 |
$help_array = MLACore::mla_load_template( 'help-for-thumbnail_generation.tpl' );
|
150 |
|
151 |
+
if ( isset( $help_array['sidebar'] ) ) {
|
152 |
+
if ( isset( $template_array['sidebar'] ) ) {
|
153 |
+
$template_array['sidebar'] .= $help_array['sidebar'];
|
154 |
+
} else {
|
155 |
+
$template_array['sidebar'] = $help_array['sidebar'];
|
156 |
+
}
|
157 |
+
|
158 |
unset( $help_array['sidebar'] );
|
159 |
}
|
160 |
|
465 |
unset( $_POST['s'] );
|
466 |
unset( $_GET['s'] );
|
467 |
|
468 |
+
// Clear the pagination control
|
469 |
+
unset( $_REQUEST['paged'] );
|
470 |
+
unset( $_POST['paged'] );
|
471 |
+
unset( $_GET['paged'] );
|
472 |
+
|
473 |
$_REQUEST['ids'] = MLA_Thumbnail::$bulk_action_includes;
|
474 |
$_REQUEST['heading_suffix'] = __( 'Generated Thumbnails', 'media-library-assistant' );
|
475 |
}
|
567 |
/**
|
568 |
* Filter the "sticky" submenu URL parameters
|
569 |
*
|
570 |
+
* Maintains the list of "Generated Thumbnails" items in the URLs for filtering the table display.
|
571 |
*
|
572 |
* @since 2.13
|
573 |
*
|
577 |
* @return array updated submenu_arguments.
|
578 |
*/
|
579 |
public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
|
|
|
|
|
|
|
|
|
580 |
if ( $include_filters && ( ! empty( MLA_Thumbnail::$bulk_action_includes ) ) ) {
|
581 |
$submenu_arguments['ids'] = implode( ',', MLA_Thumbnail::$bulk_action_includes );
|
582 |
+
$submenu_arguments['heading_suffix'] = __( 'Generated Thumbnails', 'media-library-assistant' );
|
583 |
}
|
584 |
|
585 |
return $submenu_arguments;
|
includes/mla-file-downloader.php
CHANGED
@@ -18,5 +18,5 @@ if ( isset( $_REQUEST['mla_download_file'] ) && isset( $_REQUEST['mla_download_t
|
|
18 |
MLAFileDownloader::mla_process_download_file();
|
19 |
}
|
20 |
|
21 |
-
MLAFileDownloader::
|
22 |
?>
|
18 |
MLAFileDownloader::mla_process_download_file();
|
19 |
}
|
20 |
|
21 |
+
MLAFileDownloader::mla_die( 'MLA File Download parameters not set', __LINE__, 500 );
|
22 |
?>
|
includes/mla-plugin-loader.php
CHANGED
@@ -57,7 +57,7 @@ function mla_plugin_loader_reporting_action () {
|
|
57 |
*/
|
58 |
require_once( MLA_PLUGIN_PATH . 'tests/class-mla-tests.php' );
|
59 |
|
60 |
-
$mla_plugin_loader_error_messages .= MLATest::min_php_version( '5.
|
61 |
$mla_plugin_loader_error_messages .= MLATest::min_WordPress_version( '3.5.0' );
|
62 |
|
63 |
if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
@@ -72,7 +72,6 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
72 |
* Minimum support functions required by all other components
|
73 |
*/
|
74 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core.php' );
|
75 |
-
//add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action_wpml', 1 );
|
76 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
77 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
78 |
|
@@ -118,24 +117,20 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
118 |
if ( isset( $_REQUEST['action'] ) ) {
|
119 |
if ( in_array( $_REQUEST['action'], $ajax_exceptions ) ) {
|
120 |
$ajax_only = false;
|
121 |
-
}
|
122 |
-
|
123 |
-
|
124 |
-
//Look for multi-lingual terms updates
|
125 |
-
if ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
126 |
-
global $sitepress;
|
127 |
|
128 |
-
|
129 |
-
$
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
}
|
140 |
}
|
141 |
|
57 |
*/
|
58 |
require_once( MLA_PLUGIN_PATH . 'tests/class-mla-tests.php' );
|
59 |
|
60 |
+
$mla_plugin_loader_error_messages .= MLATest::min_php_version( '5.3' );
|
61 |
$mla_plugin_loader_error_messages .= MLATest::min_WordPress_version( '3.5.0' );
|
62 |
|
63 |
if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
72 |
* Minimum support functions required by all other components
|
73 |
*/
|
74 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core.php' );
|
|
|
75 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
76 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
77 |
|
117 |
if ( isset( $_REQUEST['action'] ) ) {
|
118 |
if ( in_array( $_REQUEST['action'], $ajax_exceptions ) ) {
|
119 |
$ajax_only = false;
|
120 |
+
} elseif ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
121 |
+
global $sitepress;
|
|
|
|
|
|
|
|
|
122 |
|
123 |
+
//Look for multi-lingual terms updates
|
124 |
+
if ( is_object( $sitepress ) || class_exists( 'Polylang' ) ) {
|
125 |
+
$ajax_only = false;
|
126 |
+
}
|
127 |
+
} elseif ( 'ajax-tag-search' == $_REQUEST['action'] ) {
|
128 |
+
global $sitepress;
|
129 |
+
|
130 |
+
//Look for WPML flat taxonomy autocomplete
|
131 |
+
if ( is_object( $sitepress ) ) {
|
132 |
+
$ajax_only = false;
|
133 |
+
}
|
134 |
}
|
135 |
}
|
136 |
|
index.php
CHANGED
@@ -16,10 +16,10 @@ 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-
|
23 |
|
24 |
This program is free software; you can redistribute it and/or modify
|
25 |
it under the terms of the GNU General Public License as published by
|
16 |
Author: David Lingren, Fair Trade Judaica
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 2.41
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
+
Copyright 2011-2017 David Lingren
|
23 |
|
24 |
This program is free software; you can redistribute it and/or modify
|
25 |
it under the terms of the GNU General Public License as published by
|
phpDocs/classes/CPAC_Deprecated_Storage_Model_MLA.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -776,7 +776,7 @@ For Admin Columns 2.4.9+</em></p>
|
|
776 |
<section class="span10 offset1">
|
777 |
<hr />
|
778 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
779 |
-
on
|
780 |
</section>
|
781 |
</section>
|
782 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-367477661"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-367477661" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
776 |
<section class="span10 offset1">
|
777 |
<hr />
|
778 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
779 |
+
on January 8th, 2017 at 11:24.
|
780 |
</section>
|
781 |
</section>
|
782 |
</section>
|
phpDocs/classes/CPAC_Storage_Model_MLA.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -552,7 +552,7 @@ in the Media/Assistant submenu table</em></p>
|
|
552 |
<section class="span10 offset1">
|
553 |
<hr />
|
554 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
555 |
-
on
|
556 |
</section>
|
557 |
</section>
|
558 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1579295704"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1579295704" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
552 |
<section class="span10 offset1">
|
553 |
<hr />
|
554 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
555 |
+
on January 8th, 2017 at 11:24.
|
556 |
</section>
|
557 |
</section>
|
558 |
</section>
|
phpDocs/classes/MLA.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -841,7 +841,7 @@ returns from Media/Edit Media initiated from Media/Assistant</em></p>
|
|
841 |
<article class="method">
|
842 |
<h3 class="public ">mla_set_screen_option_filter()</h3>
|
843 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
844 |
-
<pre class="signature" style="margin-right: 54px;">mla_set_screen_option_filter( <span class="argument">$status</span>, <span class="argument">$option</span>, <span class="argument">$value</span>) :
|
845 |
<p><em>Save the "Entries per page" option set by this user</em></p>
|
846 |
|
847 |
|
@@ -866,8 +866,8 @@ returns from Media/Edit Media initiated from Media/Assistant</em></p>
|
|
866 |
|
867 |
|
868 |
<h4>Returns</h4>
|
869 |
-
|
870 |
-
— <p>New value if this is our option, otherwise
|
871 |
|
872 |
</article>
|
873 |
</div>
|
@@ -1684,7 +1684,7 @@ returns from Media/Edit Media initiated from Media/Assistant</em></p>
|
|
1684 |
<section class="span10 offset1">
|
1685 |
<hr />
|
1686 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1687 |
-
on
|
1688 |
</section>
|
1689 |
</section>
|
1690 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1531779101"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1531779101" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
841 |
<article class="method">
|
842 |
<h3 class="public ">mla_set_screen_option_filter()</h3>
|
843 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
844 |
+
<pre class="signature" style="margin-right: 54px;">mla_set_screen_option_filter( <span class="argument">$status</span>, <span class="argument">$option</span>, <span class="argument">$value</span>) : mixed</pre>
|
845 |
<p><em>Save the "Entries per page" option set by this user</em></p>
|
846 |
|
847 |
|
866 |
|
867 |
|
868 |
<h4>Returns</h4>
|
869 |
+
mixed
|
870 |
+
— <p>New value if this is our option, otherwise original status</p>
|
871 |
|
872 |
</article>
|
873 |
</div>
|
1684 |
<section class="span10 offset1">
|
1685 |
<hr />
|
1686 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1687 |
+
on January 8th, 2017 at 11:24.
|
1688 |
</section>
|
1689 |
</section>
|
1690 |
</section>
|
phpDocs/classes/MLACore.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -272,6 +272,7 @@
|
|
272 |
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_AJAX" class="">MLA_DEBUG_CATEGORY_AJAX</a><br />
|
273 |
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_LANGUAGE" class="">MLA_DEBUG_CATEGORY_LANGUAGE</a><br />
|
274 |
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_THUMBNAIL" class="">MLA_DEBUG_CATEGORY_THUMBNAIL</a><br />
|
|
|
275 |
<a href="../classes/MLACore.html#constant_ADMIN_PAGE_SLUG" class="">ADMIN_PAGE_SLUG</a><br />
|
276 |
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_DISPLAY" class="">MLA_ADMIN_SINGLE_EDIT_DISPLAY</a><br />
|
277 |
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_INSTALL" class="">MLA_ADMIN_SINGLE_EDIT_INSTALL</a><br />
|
@@ -529,6 +530,34 @@
|
|
529 |
|
530 |
<div class="row-fluid">
|
531 |
<div class="span8 content class">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
<a id="constant_ADMIN_PAGE_SLUG" name="constant_ADMIN_PAGE_SLUG" class="anchor"></a>
|
533 |
<article id="constant_ADMIN_PAGE_SLUG" class="constant">
|
534 |
<h3 class="">ADMIN_PAGE_SLUG</h3>
|
@@ -2612,7 +2641,7 @@ or false/empty string to clear the value.</p></td>
|
|
2612 |
<section class="span10 offset1">
|
2613 |
<hr />
|
2614 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2615 |
-
on
|
2616 |
</section>
|
2617 |
</section>
|
2618 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1653746069"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1653746069" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
272 |
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_AJAX" class="">MLA_DEBUG_CATEGORY_AJAX</a><br />
|
273 |
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_LANGUAGE" class="">MLA_DEBUG_CATEGORY_LANGUAGE</a><br />
|
274 |
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_THUMBNAIL" class="">MLA_DEBUG_CATEGORY_THUMBNAIL</a><br />
|
275 |
+
<a href="../classes/MLACore.html#constant_MLA_DEBUG_CATEGORY_METADATA" class="">MLA_DEBUG_CATEGORY_METADATA</a><br />
|
276 |
<a href="../classes/MLACore.html#constant_ADMIN_PAGE_SLUG" class="">ADMIN_PAGE_SLUG</a><br />
|
277 |
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_DISPLAY" class="">MLA_ADMIN_SINGLE_EDIT_DISPLAY</a><br />
|
278 |
<a href="../classes/MLACore.html#constant_MLA_ADMIN_SINGLE_EDIT_INSTALL" class="">MLA_ADMIN_SINGLE_EDIT_INSTALL</a><br />
|
530 |
|
531 |
<div class="row-fluid">
|
532 |
<div class="span8 content class">
|
533 |
+
<a id="constant_MLA_DEBUG_CATEGORY_METADATA" name="constant_MLA_DEBUG_CATEGORY_METADATA" class="anchor"></a>
|
534 |
+
<article id="constant_MLA_DEBUG_CATEGORY_METADATA" class="constant">
|
535 |
+
<h3 class="">MLA_DEBUG_CATEGORY_METADATA</h3>
|
536 |
+
<pre class="signature">MLA_DEBUG_CATEGORY_METADATA</pre>
|
537 |
+
<p><em>Constant to log IPTC/EXIF/XMP/PDF metadata activity</em></p>
|
538 |
+
|
539 |
+
</article>
|
540 |
+
</div>
|
541 |
+
<aside class="span4 detailsbar">
|
542 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
543 |
+
<dl>
|
544 |
+
</dl>
|
545 |
+
<h2>Tags</h2>
|
546 |
+
<table class="table table-condensed">
|
547 |
+
<tr>
|
548 |
+
<th>
|
549 |
+
since
|
550 |
+
</th>
|
551 |
+
<td>
|
552 |
+
|
553 |
+
</td>
|
554 |
+
</tr>
|
555 |
+
</table>
|
556 |
+
</aside>
|
557 |
+
</div>
|
558 |
+
|
559 |
+
<div class="row-fluid">
|
560 |
+
<div class="span8 content class">
|
561 |
<a id="constant_ADMIN_PAGE_SLUG" name="constant_ADMIN_PAGE_SLUG" class="anchor"></a>
|
562 |
<article id="constant_ADMIN_PAGE_SLUG" class="constant">
|
563 |
<h3 class="">ADMIN_PAGE_SLUG</h3>
|
2641 |
<section class="span10 offset1">
|
2642 |
<hr />
|
2643 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2644 |
+
on January 8th, 2017 at 11:24.
|
2645 |
</section>
|
2646 |
</section>
|
2647 |
</section>
|
phpDocs/classes/MLACoreOptions.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1800,7 +1800,7 @@ $message = ['reset']( 'reset', $key, $value, $_REQUEST );</p>
|
|
1800 |
<section class="span10 offset1">
|
1801 |
<hr />
|
1802 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1803 |
-
on
|
1804 |
</section>
|
1805 |
</section>
|
1806 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1782240980"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1782240980" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1800 |
<section class="span10 offset1">
|
1801 |
<hr />
|
1802 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1803 |
+
on January 8th, 2017 at 11:24.
|
1804 |
</section>
|
1805 |
</section>
|
1806 |
</section>
|
phpDocs/classes/MLAData.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -2905,7 +2905,7 @@ and meta data for a single attachment</em></p>
|
|
2905 |
<section class="span10 offset1">
|
2906 |
<hr />
|
2907 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2908 |
-
on
|
2909 |
</section>
|
2910 |
</section>
|
2911 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-930473240"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-930473240" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
2905 |
<section class="span10 offset1">
|
2906 |
<hr />
|
2907 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2908 |
+
on January 8th, 2017 at 11:24.
|
2909 |
</section>
|
2910 |
</section>
|
2911 |
</section>
|
phpDocs/classes/MLAData_source.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -733,7 +733,7 @@ Isolates clients from changes to _evaluate_data_source().</p>
|
|
733 |
<section class="span10 offset1">
|
734 |
<hr />
|
735 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
736 |
-
on
|
737 |
</section>
|
738 |
</section>
|
739 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-528645118"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-528645118" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
733 |
<section class="span10 offset1">
|
734 |
<hr />
|
735 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
736 |
+
on January 8th, 2017 at 11:24.
|
737 |
</section>
|
738 |
</section>
|
739 |
</section>
|
phpDocs/classes/MLAEdit.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1311,7 +1311,7 @@ with just two arguments.</p>
|
|
1311 |
<section class="span10 offset1">
|
1312 |
<hr />
|
1313 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1314 |
-
on
|
1315 |
</section>
|
1316 |
</section>
|
1317 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-331079552"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-331079552" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1311 |
<section class="span10 offset1">
|
1312 |
<hr />
|
1313 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1314 |
+
on January 8th, 2017 at 11:24.
|
1315 |
</section>
|
1316 |
</section>
|
1317 |
</section>
|
phpDocs/classes/MLAFileDownloader.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -231,6 +231,7 @@
|
|
231 |
<section class="row-fluid public">
|
232 |
<section class="span4">
|
233 |
<a href="../classes/MLAFileDownloader.html#method_mla_process_download_file" class="">mla_process_download_file()</a><br />
|
|
|
234 |
</section>
|
235 |
<section class="span4">
|
236 |
<a href="../classes/MLAFileDownloader.html#property_mla_debug" class="">$mla_debug</a><br />
|
@@ -253,7 +254,6 @@
|
|
253 |
<section class="row-fluid private">
|
254 |
<section class="span4">
|
255 |
<a href="../classes/MLAFileDownloader.html#method__mla_debug_add" class="">_mla_debug_add()</a><br />
|
256 |
-
<a href="../classes/MLAFileDownloader.html#method__mla_die" class="">_mla_die()</a><br />
|
257 |
<a href="../classes/MLAFileDownloader.html#method__mla_error_return" class="">_mla_error_return()</a><br />
|
258 |
</section>
|
259 |
<section class="span4">
|
@@ -378,14 +378,14 @@
|
|
378 |
</aside>
|
379 |
</div>
|
380 |
|
381 |
-
|
382 |
<div class="span8 content class">
|
383 |
-
<a id="
|
384 |
<article class="method">
|
385 |
-
<h3 class="
|
386 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
387 |
-
<pre class="signature" style="margin-right: 54px;">
|
388 |
-
<p><em>
|
389 |
|
390 |
|
391 |
<h4>Parameters</h4>
|
@@ -394,6 +394,16 @@
|
|
394 |
<td>string</td>
|
395 |
<td>$message </td>
|
396 |
<td><p>Error message.</p></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
</tr>
|
398 |
</table>
|
399 |
|
@@ -420,14 +430,14 @@
|
|
420 |
</aside>
|
421 |
</div>
|
422 |
|
423 |
-
|
424 |
<div class="span8 content class">
|
425 |
-
<a id="
|
426 |
<article class="method">
|
427 |
-
<h3 class="private ">
|
428 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
429 |
-
<pre class="signature" style="margin-right: 54px;">
|
430 |
-
<p><em>
|
431 |
|
432 |
|
433 |
<h4>Parameters</h4>
|
@@ -436,16 +446,6 @@
|
|
436 |
<td>string</td>
|
437 |
<td>$message </td>
|
438 |
<td><p>Error message.</p></td>
|
439 |
-
</tr>
|
440 |
-
<tr>
|
441 |
-
<td>string</td>
|
442 |
-
<td>$title </td>
|
443 |
-
<td><p>Optional. Error title. Default empty.</p></td>
|
444 |
-
</tr>
|
445 |
-
<tr>
|
446 |
-
<td>integer</td>
|
447 |
-
<td>$response </td>
|
448 |
-
<td><p>Optional. HTML response code. Default 500.</p></td>
|
449 |
</tr>
|
450 |
</table>
|
451 |
|
@@ -571,7 +571,7 @@
|
|
571 |
<section class="span10 offset1">
|
572 |
<hr />
|
573 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
574 |
-
on
|
575 |
</section>
|
576 |
</section>
|
577 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-703483622"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-703483622" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
231 |
<section class="row-fluid public">
|
232 |
<section class="span4">
|
233 |
<a href="../classes/MLAFileDownloader.html#method_mla_process_download_file" class="">mla_process_download_file()</a><br />
|
234 |
+
<a href="../classes/MLAFileDownloader.html#method_mla_die" class="">mla_die()</a><br />
|
235 |
</section>
|
236 |
<section class="span4">
|
237 |
<a href="../classes/MLAFileDownloader.html#property_mla_debug" class="">$mla_debug</a><br />
|
254 |
<section class="row-fluid private">
|
255 |
<section class="span4">
|
256 |
<a href="../classes/MLAFileDownloader.html#method__mla_debug_add" class="">_mla_debug_add()</a><br />
|
|
|
257 |
<a href="../classes/MLAFileDownloader.html#method__mla_error_return" class="">_mla_error_return()</a><br />
|
258 |
</section>
|
259 |
<section class="span4">
|
378 |
</aside>
|
379 |
</div>
|
380 |
|
381 |
+
<div class="row-fluid">
|
382 |
<div class="span8 content class">
|
383 |
+
<a id="method_mla_die" name="method_mla_die" class="anchor"></a>
|
384 |
<article class="method">
|
385 |
+
<h3 class="public ">mla_die()</h3>
|
386 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
387 |
+
<pre class="signature" style="margin-right: 54px;">mla_die(string <span class="argument">$message</span>, string <span class="argument">$title = ''</span>, integer <span class="argument">$response = 500</span>) : void</pre>
|
388 |
+
<p><em>Abort the operation and exit</em></p>
|
389 |
|
390 |
|
391 |
<h4>Parameters</h4>
|
394 |
<td>string</td>
|
395 |
<td>$message </td>
|
396 |
<td><p>Error message.</p></td>
|
397 |
+
</tr>
|
398 |
+
<tr>
|
399 |
+
<td>string</td>
|
400 |
+
<td>$title </td>
|
401 |
+
<td><p>Optional. Error title. Default empty.</p></td>
|
402 |
+
</tr>
|
403 |
+
<tr>
|
404 |
+
<td>integer</td>
|
405 |
+
<td>$response </td>
|
406 |
+
<td><p>Optional. HTML response code. Default 500.</p></td>
|
407 |
</tr>
|
408 |
</table>
|
409 |
|
430 |
</aside>
|
431 |
</div>
|
432 |
|
433 |
+
<div class="row-fluid">
|
434 |
<div class="span8 content class">
|
435 |
+
<a id="method__mla_debug_add" name="method__mla_debug_add" class="anchor"></a>
|
436 |
<article class="method">
|
437 |
+
<h3 class="private ">_mla_debug_add()</h3>
|
438 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
439 |
+
<pre class="signature" style="margin-right: 54px;">_mla_debug_add(string <span class="argument">$message</span>) </pre>
|
440 |
+
<p><em>Log debug information</em></p>
|
441 |
|
442 |
|
443 |
<h4>Parameters</h4>
|
446 |
<td>string</td>
|
447 |
<td>$message </td>
|
448 |
<td><p>Error message.</p></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
</tr>
|
450 |
</table>
|
451 |
|
571 |
<section class="span10 offset1">
|
572 |
<hr />
|
573 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
574 |
+
on January 8th, 2017 at 11:24.
|
575 |
</section>
|
576 |
</section>
|
577 |
</section>
|
phpDocs/classes/MLAImageProcessor.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -837,7 +837,7 @@ mla_stream_quality, mla_stream_type, mla_stream_fit, mla_ghostscript_path</p>
|
|
837 |
<section class="span10 offset1">
|
838 |
<hr />
|
839 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
840 |
-
on
|
841 |
</section>
|
842 |
</section>
|
843 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-483250971"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-483250971" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
837 |
<section class="span10 offset1">
|
838 |
<hr />
|
839 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
840 |
+
on January 8th, 2017 at 11:24.
|
841 |
</section>
|
842 |
</section>
|
843 |
</section>
|
phpDocs/classes/MLAMime.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -417,8 +417,8 @@ MLAMime::_localize_default_upload_columns.</p>
|
|
417 |
is the column slug that needs to be sortable, and the value is database column
|
418 |
to sort by. Often, the key and value will be the same, but this is not always
|
419 |
the case (as the value is a column name from the database, not the list table).</p>
|
420 |
-
<p>The array value also contains a boolean which is 'true' if the
|
421 |
-
|
422 |
|
423 |
<h4>Type</h4>
|
424 |
array
|
@@ -487,8 +487,8 @@ MLAMime::_localize_default_upload_optional_columns.</p>
|
|
487 |
is the column slug that needs to be sortable, and the value is database column
|
488 |
to sort by. Often, the key and value will be the same, but this is not always
|
489 |
the case (as the value is a column name from the database, not the list table).</p>
|
490 |
-
<p>The array value also contains a boolean which is 'true' if the
|
491 |
-
|
492 |
|
493 |
<h4>Type</h4>
|
494 |
array
|
@@ -557,8 +557,8 @@ MLAMime::_localize_default_view_columns.</p>
|
|
557 |
is the column slug that needs to be sortable, and the value is database column
|
558 |
to sort by. Often, the key and value will be the same, but this is not always
|
559 |
the case (as the value is a column name from the database, not the list table).</p>
|
560 |
-
<p>The array value also contains a boolean which is 'true' if the
|
561 |
-
|
562 |
|
563 |
<h4>Type</h4>
|
564 |
array
|
@@ -3440,7 +3440,7 @@ Defined as public because it's a filter.</p>
|
|
3440 |
<section class="span10 offset1">
|
3441 |
<hr />
|
3442 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3443 |
-
on
|
3444 |
</section>
|
3445 |
</section>
|
3446 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-967934790"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-967934790" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
417 |
is the column slug that needs to be sortable, and the value is database column
|
418 |
to sort by. Often, the key and value will be the same, but this is not always
|
419 |
the case (as the value is a column name from the database, not the list table).</p>
|
420 |
+
<p>The array value also contains a boolean which is 'true' if the initial sort order
|
421 |
+
for the column is DESC/Descending.</p>
|
422 |
|
423 |
<h4>Type</h4>
|
424 |
array
|
487 |
is the column slug that needs to be sortable, and the value is database column
|
488 |
to sort by. Often, the key and value will be the same, but this is not always
|
489 |
the case (as the value is a column name from the database, not the list table).</p>
|
490 |
+
<p>The array value also contains a boolean which is 'true' if the initial sort order
|
491 |
+
for the column is DESC/Descending.</p>
|
492 |
|
493 |
<h4>Type</h4>
|
494 |
array
|
557 |
is the column slug that needs to be sortable, and the value is database column
|
558 |
to sort by. Often, the key and value will be the same, but this is not always
|
559 |
the case (as the value is a column name from the database, not the list table).</p>
|
560 |
+
<p>The array value also contains a boolean which is 'true' if the initial sort order
|
561 |
+
for the column is DESC/Descending.</p>
|
562 |
|
563 |
<h4>Type</h4>
|
564 |
array
|
3440 |
<section class="span10 offset1">
|
3441 |
<hr />
|
3442 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3443 |
+
on January 8th, 2017 at 11:24.
|
3444 |
</section>
|
3445 |
</section>
|
3446 |
</section>
|
phpDocs/classes/MLAModal.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -992,7 +992,7 @@ but only once per page load</em></p>
|
|
992 |
<section class="span10 offset1">
|
993 |
<hr />
|
994 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
995 |
-
on
|
996 |
</section>
|
997 |
</section>
|
998 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1533892961"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1533892961" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
992 |
<section class="span10 offset1">
|
993 |
<hr />
|
994 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
995 |
+
on January 8th, 2017 at 11:24.
|
996 |
</section>
|
997 |
</section>
|
998 |
</section>
|
phpDocs/classes/MLAModal_Ajax.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -668,7 +668,7 @@ Declared public because it is a filter.</p>
|
|
668 |
<section class="span10 offset1">
|
669 |
<hr />
|
670 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
671 |
-
on
|
672 |
</section>
|
673 |
</section>
|
674 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-456883186"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-456883186" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
668 |
<section class="span10 offset1">
|
669 |
<hr />
|
670 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
671 |
+
on January 8th, 2017 at 11:24.
|
672 |
</section>
|
673 |
</section>
|
674 |
</section>
|
phpDocs/classes/MLAMutex.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -722,7 +722,7 @@ for the [mla_gallery] mla_viewer=single option</em></p>
|
|
722 |
<section class="span10 offset1">
|
723 |
<hr />
|
724 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
725 |
-
on
|
726 |
</section>
|
727 |
</section>
|
728 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-171217801"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-171217801" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
722 |
<section class="span10 offset1">
|
723 |
<hr />
|
724 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
725 |
+
on January 8th, 2017 at 11:24.
|
726 |
</section>
|
727 |
</section>
|
728 |
</section>
|
phpDocs/classes/MLAObjects.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -525,7 +525,7 @@ and alink to retrieve a list of them</p>
|
|
525 |
<section class="span10 offset1">
|
526 |
<hr />
|
527 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
528 |
-
on
|
529 |
</section>
|
530 |
</section>
|
531 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-950720575"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-950720575" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
525 |
<section class="span10 offset1">
|
526 |
<hr />
|
527 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
528 |
+
on January 8th, 2017 at 11:24.
|
529 |
</section>
|
530 |
</section>
|
531 |
</section>
|
phpDocs/classes/MLAOptions.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -2053,7 +2053,7 @@ haven't been mapped to any attachments, yet.</p>
|
|
2053 |
<section class="span10 offset1">
|
2054 |
<hr />
|
2055 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2056 |
-
on
|
2057 |
</section>
|
2058 |
</section>
|
2059 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1421746317"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1421746317" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
2053 |
<section class="span10 offset1">
|
2054 |
<hr />
|
2055 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2056 |
+
on January 8th, 2017 at 11:24.
|
2057 |
</section>
|
2058 |
</section>
|
2059 |
</section>
|
phpDocs/classes/MLAPDF.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -964,7 +964,7 @@ dictionary in the source string, excluding the enclosing delimiters.</p>
|
|
964 |
<section class="span10 offset1">
|
965 |
<hr />
|
966 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
967 |
-
on
|
968 |
</section>
|
969 |
</section>
|
970 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1807062630"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1807062630" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
964 |
<section class="span10 offset1">
|
965 |
<hr />
|
966 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
967 |
+
on January 8th, 2017 at 11:24.
|
968 |
</section>
|
969 |
</section>
|
970 |
</section>
|
phpDocs/classes/MLAQuery.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -2089,7 +2089,7 @@ Modeled after wp_edit_attachments_query in wp-admin/post.php</p>
|
|
2089 |
<section class="span10 offset1">
|
2090 |
<hr />
|
2091 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2092 |
-
on
|
2093 |
</section>
|
2094 |
</section>
|
2095 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1159065805"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1159065805" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
2089 |
<section class="span10 offset1">
|
2090 |
<hr />
|
2091 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2092 |
+
on January 8th, 2017 at 11:24.
|
2093 |
</section>
|
2094 |
</section>
|
2095 |
</section>
|
phpDocs/classes/MLAReferences.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -692,7 +692,7 @@ The array key is the parent_post ID; each entry contains post_title and post_typ
|
|
692 |
<section class="span10 offset1">
|
693 |
<hr />
|
694 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
695 |
-
on
|
696 |
</section>
|
697 |
</section>
|
698 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1221365644"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1221365644" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
692 |
<section class="span10 offset1">
|
693 |
<hr />
|
694 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
695 |
+
on January 8th, 2017 at 11:24.
|
696 |
</section>
|
697 |
</section>
|
698 |
</section>
|
phpDocs/classes/MLASettings.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -929,7 +929,7 @@ add settings link in the Plugins section entry for MLA.</em></p>
|
|
929 |
<article class="method">
|
930 |
<h3 class="public ">mla_set_screen_option_filter()</h3>
|
931 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
932 |
-
<pre class="signature" style="margin-right: 54px;">mla_set_screen_option_filter( <span class="argument">$status</span>, <span class="argument">$option</span>, <span class="argument">$value</span>) :
|
933 |
<p><em>Save the "Views/Uploads per page" option set by this user</em></p>
|
934 |
|
935 |
|
@@ -954,8 +954,8 @@ add settings link in the Plugins section entry for MLA.</em></p>
|
|
954 |
|
955 |
|
956 |
<h4>Returns</h4>
|
957 |
-
|
958 |
-
— <p>New value if this is our option, otherwise
|
959 |
|
960 |
</article>
|
961 |
</div>
|
@@ -1822,7 +1822,7 @@ add settings link in the Plugins section entry for MLA.</em></p>
|
|
1822 |
<section class="span10 offset1">
|
1823 |
<hr />
|
1824 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1825 |
-
on
|
1826 |
</section>
|
1827 |
</section>
|
1828 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1796265830"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1796265830" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
929 |
<article class="method">
|
930 |
<h3 class="public ">mla_set_screen_option_filter()</h3>
|
931 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
932 |
+
<pre class="signature" style="margin-right: 54px;">mla_set_screen_option_filter( <span class="argument">$status</span>, <span class="argument">$option</span>, <span class="argument">$value</span>) : mixed</pre>
|
933 |
<p><em>Save the "Views/Uploads per page" option set by this user</em></p>
|
934 |
|
935 |
|
954 |
|
955 |
|
956 |
<h4>Returns</h4>
|
957 |
+
mixed
|
958 |
+
— <p>New value if this is our option, otherwise original status</p>
|
959 |
|
960 |
</article>
|
961 |
</div>
|
1822 |
<section class="span10 offset1">
|
1823 |
<hr />
|
1824 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1825 |
+
on January 8th, 2017 at 11:24.
|
1826 |
</section>
|
1827 |
</section>
|
1828 |
</section>
|
phpDocs/classes/MLASettings_CustomFields.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -574,7 +574,7 @@ without saving the settings to the mla_option</em></p>
|
|
574 |
<section class="span10 offset1">
|
575 |
<hr />
|
576 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
577 |
-
on
|
578 |
</section>
|
579 |
</section>
|
580 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1937719750"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1937719750" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
574 |
<section class="span10 offset1">
|
575 |
<hr />
|
576 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
577 |
+
on January 8th, 2017 at 11:24.
|
578 |
</section>
|
579 |
</section>
|
580 |
</section>
|
phpDocs/classes/MLASettings_Documentation.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -583,7 +583,7 @@ Settings/Media Library Assistant Documentation tab</em></p>
|
|
583 |
<section class="span10 offset1">
|
584 |
<hr />
|
585 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
586 |
-
on
|
587 |
</section>
|
588 |
</section>
|
589 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1896552058"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1896552058" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
583 |
<section class="span10 offset1">
|
584 |
<hr />
|
585 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
586 |
+
on January 8th, 2017 at 11:24.
|
587 |
</section>
|
588 |
</section>
|
589 |
</section>
|
phpDocs/classes/MLASettings_IPTCEXIF.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -722,7 +722,7 @@ without saving the settings to the mla_option</em></p>
|
|
722 |
<section class="span10 offset1">
|
723 |
<hr />
|
724 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
725 |
-
on
|
726 |
</section>
|
727 |
</section>
|
728 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1995270064"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1995270064" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
722 |
<section class="span10 offset1">
|
723 |
<hr />
|
724 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
725 |
+
on January 8th, 2017 at 11:24.
|
726 |
</section>
|
727 |
</section>
|
728 |
</section>
|
phpDocs/classes/MLASettings_Shortcodes.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -818,7 +818,7 @@ Settings/Media Library Assistant Shortcodes tab</em></p>
|
|
818 |
<section class="span10 offset1">
|
819 |
<hr />
|
820 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
821 |
-
on
|
822 |
</section>
|
823 |
</section>
|
824 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1661525049"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1661525049" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
818 |
<section class="span10 offset1">
|
819 |
<hr />
|
820 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
821 |
+
on January 8th, 2017 at 11:24.
|
822 |
</section>
|
823 |
</section>
|
824 |
</section>
|
phpDocs/classes/MLASettings_Upload.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -742,7 +742,7 @@ Settings/Media Library Assistant Uploads tab</em></p>
|
|
742 |
<section class="span10 offset1">
|
743 |
<hr />
|
744 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
745 |
-
on
|
746 |
</section>
|
747 |
</section>
|
748 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-384859655"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-384859655" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
742 |
<section class="span10 offset1">
|
743 |
<hr />
|
744 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
745 |
+
on January 8th, 2017 at 11:24.
|
746 |
</section>
|
747 |
</section>
|
748 |
</section>
|
phpDocs/classes/MLASettings_View.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -594,7 +594,7 @@ Settings/Media Library Assistant Views tab</em></p>
|
|
594 |
<section class="span10 offset1">
|
595 |
<hr />
|
596 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
597 |
-
on
|
598 |
</section>
|
599 |
</section>
|
600 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-50236415"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-50236415" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
594 |
<section class="span10 offset1">
|
595 |
<hr />
|
596 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
597 |
+
on January 8th, 2017 at 11:24.
|
598 |
</section>
|
599 |
</section>
|
600 |
</section>
|
phpDocs/classes/MLAShortcode_Support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -2019,7 +2019,7 @@ relevant children are already in the $terms argument.</p>
|
|
2019 |
<section class="span10 offset1">
|
2020 |
<hr />
|
2021 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2022 |
-
on
|
2023 |
</section>
|
2024 |
</section>
|
2025 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-565647259"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-565647259" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
2019 |
<section class="span10 offset1">
|
2020 |
<hr />
|
2021 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2022 |
+
on January 8th, 2017 at 11:24.
|
2023 |
</section>
|
2024 |
</section>
|
2025 |
</section>
|
phpDocs/classes/MLAShortcodes.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -835,7 +835,7 @@ to MLA users and loads the support class if the shortcodes are executed.</em></p
|
|
835 |
<section class="span10 offset1">
|
836 |
<hr />
|
837 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
838 |
-
on
|
839 |
</section>
|
840 |
</section>
|
841 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-400423287"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-400423287" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
835 |
<section class="span10 offset1">
|
836 |
<hr />
|
837 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
838 |
+
on January 8th, 2017 at 11:24.
|
839 |
</section>
|
840 |
</section>
|
841 |
</section>
|
phpDocs/classes/MLATemplate_Support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -785,7 +785,7 @@ localization calls cannot be placed in the "public static" array defin
|
|
785 |
<section class="span10 offset1">
|
786 |
<hr />
|
787 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
788 |
-
on
|
789 |
</section>
|
790 |
</section>
|
791 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1243006812"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1243006812" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
785 |
<section class="span10 offset1">
|
786 |
<hr />
|
787 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
788 |
+
on January 8th, 2017 at 11:24.
|
789 |
</section>
|
790 |
</section>
|
791 |
</section>
|
phpDocs/classes/MLATest.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -550,7 +550,7 @@ to ensure the plugin can run in the current WordPress envrionment.</em></p>
|
|
550 |
<section class="span10 offset1">
|
551 |
<hr />
|
552 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
553 |
-
on
|
554 |
</section>
|
555 |
</section>
|
556 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-431365809"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-431365809" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
550 |
<section class="span10 offset1">
|
551 |
<hr />
|
552 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
553 |
+
on January 8th, 2017 at 11:24.
|
554 |
</section>
|
555 |
</section>
|
556 |
</section>
|
phpDocs/classes/MLATextWidget.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -561,7 +561,7 @@
|
|
561 |
<section class="span10 offset1">
|
562 |
<hr />
|
563 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
564 |
-
on
|
565 |
</section>
|
566 |
</section>
|
567 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2072638107"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2072638107" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
561 |
<section class="span10 offset1">
|
562 |
<hr />
|
563 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
564 |
+
on January 8th, 2017 at 11:24.
|
565 |
</section>
|
566 |
</section>
|
567 |
</section>
|
phpDocs/classes/MLAUninstall.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -386,7 +386,7 @@
|
|
386 |
<section class="span10 offset1">
|
387 |
<hr />
|
388 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
389 |
-
on
|
390 |
</section>
|
391 |
</section>
|
392 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-671647517"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-671647517" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
386 |
<section class="span10 offset1">
|
387 |
<hr />
|
388 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
389 |
+
on January 8th, 2017 at 11:24.
|
390 |
</section>
|
391 |
</section>
|
392 |
</section>
|
phpDocs/classes/MLA_Ajax.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -534,7 +534,7 @@ Adds filters for post type and pagination.</p>
|
|
534 |
<section class="span10 offset1">
|
535 |
<hr />
|
536 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
537 |
-
on
|
538 |
</section>
|
539 |
</section>
|
540 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-711563251"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-711563251" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
534 |
<section class="span10 offset1">
|
535 |
<hr />
|
536 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
537 |
+
on January 8th, 2017 at 11:24.
|
538 |
</section>
|
539 |
</section>
|
540 |
</section>
|
phpDocs/classes/MLA_Checklist_Walker.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -478,7 +478,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p>
|
|
478 |
<section class="span10 offset1">
|
479 |
<hr />
|
480 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
481 |
-
on
|
482 |
</section>
|
483 |
</section>
|
484 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1920527438"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1920527438" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
478 |
<section class="span10 offset1">
|
479 |
<hr />
|
480 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
481 |
+
on January 8th, 2017 at 11:24.
|
482 |
</section>
|
483 |
</section>
|
484 |
</section>
|
phpDocs/classes/MLA_Example_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -424,8 +424,8 @@ array(0 => 'ID_parent, 1 => 'title_name').</p>
|
|
424 |
is the column slug that needs to be sortable, and the value is database column
|
425 |
to sort by. Often, the key and value will be the same, but this is not always
|
426 |
the case (as the value is a column name from the database, not the list table).</p>
|
427 |
-
<p>The array value also contains a boolean which is 'true' if the
|
428 |
-
|
429 |
|
430 |
<h4>Type</h4>
|
431 |
array
|
@@ -1645,8 +1645,7 @@ $this->set_pagination_args().</p>
|
|
1645 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1646 |
<pre class="signature" style="margin-right: 54px;">_localize_default_columns_array() : void</pre>
|
1647 |
<p><em>Builds the $default_columns array with translated source texts.</em></p>
|
1648 |
-
|
1649 |
-
accessed from "front end" posts/pages.</p>
|
1650 |
|
1651 |
|
1652 |
|
@@ -2215,7 +2214,7 @@ accessed from "front end" posts/pages.</p>
|
|
2215 |
<section class="span10 offset1">
|
2216 |
<hr />
|
2217 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2218 |
-
on
|
2219 |
</section>
|
2220 |
</section>
|
2221 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1418041510"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1418041510" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
424 |
is the column slug that needs to be sortable, and the value is database column
|
425 |
to sort by. Often, the key and value will be the same, but this is not always
|
426 |
the case (as the value is a column name from the database, not the list table).</p>
|
427 |
+
<p>The array value also contains a boolean which is 'true' if the initial sort order
|
428 |
+
for the column is DESC/Descending.</p>
|
429 |
|
430 |
<h4>Type</h4>
|
431 |
array
|
1645 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
1646 |
<pre class="signature" style="margin-right: 54px;">_localize_default_columns_array() : void</pre>
|
1647 |
<p><em>Builds the $default_columns array with translated source texts.</em></p>
|
1648 |
+
|
|
|
1649 |
|
1650 |
|
1651 |
|
2214 |
<section class="span10 offset1">
|
2215 |
<hr />
|
2216 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2217 |
+
on January 8th, 2017 at 11:24.
|
2218 |
</section>
|
2219 |
</section>
|
2220 |
</section>
|
phpDocs/classes/MLA_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -2960,7 +2960,7 @@ visible column and add div tags.</p>
|
|
2960 |
<section class="span10 offset1">
|
2961 |
<hr />
|
2962 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2963 |
-
on
|
2964 |
</section>
|
2965 |
</section>
|
2966 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-131445655"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-131445655" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
2960 |
<section class="span10 offset1">
|
2961 |
<hr />
|
2962 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2963 |
+
on January 8th, 2017 at 11:24.
|
2964 |
</section>
|
2965 |
</section>
|
2966 |
</section>
|
phpDocs/classes/MLA_Polylang.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -3305,7 +3305,7 @@ and $existing_terms contains the target translation</p>
|
|
3305 |
<section class="span10 offset1">
|
3306 |
<hr />
|
3307 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3308 |
-
on
|
3309 |
</section>
|
3310 |
</section>
|
3311 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-501435799"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-501435799" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
3305 |
<section class="span10 offset1">
|
3306 |
<hr />
|
3307 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3308 |
+
on January 8th, 2017 at 11:24.
|
3309 |
</section>
|
3310 |
</section>
|
3311 |
</section>
|
phpDocs/classes/MLA_Polylang_Shortcodes.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -516,7 +516,7 @@ Polylang Multilingual plugin</em></p>
|
|
516 |
<section class="span10 offset1">
|
517 |
<hr />
|
518 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
519 |
-
on
|
520 |
</section>
|
521 |
</section>
|
522 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1070450437"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1070450437" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
516 |
<section class="span10 offset1">
|
517 |
<hr />
|
518 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
519 |
+
on January 8th, 2017 at 11:24.
|
520 |
</section>
|
521 |
</section>
|
522 |
</section>
|
phpDocs/classes/MLA_Template_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -417,8 +417,8 @@ array(0 => 'ID_parent, 1 => 'title_name').</p>
|
|
417 |
is the column slug that needs to be sortable, and the value is database column
|
418 |
to sort by. Often, the key and value will be the same, but this is not always
|
419 |
the case (as the value is a column name from the database, not the list table).</p>
|
420 |
-
<p>The array value also contains a boolean which is 'true' if the
|
421 |
-
|
422 |
|
423 |
<h4>Type</h4>
|
424 |
array
|
@@ -1695,7 +1695,7 @@ $this->set_pagination_args().</p>
|
|
1695 |
<section class="span10 offset1">
|
1696 |
<hr />
|
1697 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1698 |
-
on
|
1699 |
</section>
|
1700 |
</section>
|
1701 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1341784759"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1341784759" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
417 |
is the column slug that needs to be sortable, and the value is database column
|
418 |
to sort by. Often, the key and value will be the same, but this is not always
|
419 |
the case (as the value is a column name from the database, not the list table).</p>
|
420 |
+
<p>The array value also contains a boolean which is 'true' if the initial sort order
|
421 |
+
for the column is DESC/Descending.</p>
|
422 |
|
423 |
<h4>Type</h4>
|
424 |
array
|
1695 |
<section class="span10 offset1">
|
1696 |
<hr />
|
1697 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1698 |
+
on January 8th, 2017 at 11:24.
|
1699 |
</section>
|
1700 |
</section>
|
1701 |
</section>
|
phpDocs/classes/MLA_Template_Query.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1063,7 +1063,7 @@ searchable database of shortcode templates</em></p>
|
|
1063 |
<section class="span10 offset1">
|
1064 |
<hr />
|
1065 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1066 |
-
on
|
1067 |
</section>
|
1068 |
</section>
|
1069 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-430275377"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-430275377" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1063 |
<section class="span10 offset1">
|
1064 |
<hr />
|
1065 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1066 |
+
on January 8th, 2017 at 11:24.
|
1067 |
</section>
|
1068 |
</section>
|
1069 |
</section>
|
phpDocs/classes/MLA_Thumbnail.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -807,7 +807,7 @@ markup used for the Quick and Bulk Edit forms.</p>
|
|
807 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
808 |
<pre class="signature" style="margin-right: 54px;">mla_list_table_submenu_arguments(array <span class="argument">$submenu_arguments</span>, object <span class="argument">$include_filters</span>) : array</pre>
|
809 |
<p><em>Filter the "sticky" submenu URL parameters</em></p>
|
810 |
-
<p>Maintains the
|
811 |
|
812 |
<h4>Parameters</h4>
|
813 |
<table class="table table-condensed table-hover">
|
@@ -953,7 +953,7 @@ markup used for the Quick and Bulk Edit forms.</p>
|
|
953 |
<section class="span10 offset1">
|
954 |
<hr />
|
955 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
956 |
-
on
|
957 |
</section>
|
958 |
</section>
|
959 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-181980743"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-181980743" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
807 |
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
|
808 |
<pre class="signature" style="margin-right: 54px;">mla_list_table_submenu_arguments(array <span class="argument">$submenu_arguments</span>, object <span class="argument">$include_filters</span>) : array</pre>
|
809 |
<p><em>Filter the "sticky" submenu URL parameters</em></p>
|
810 |
+
<p>Maintains the list of "Generated Thumbnails" items in the URLs for filtering the table display.</p>
|
811 |
|
812 |
<h4>Parameters</h4>
|
813 |
<table class="table table-condensed table-hover">
|
953 |
<section class="span10 offset1">
|
954 |
<hr />
|
955 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
956 |
+
on January 8th, 2017 at 11:24.
|
957 |
</section>
|
958 |
</section>
|
959 |
</section>
|
phpDocs/classes/MLA_Upgrader_Skin.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -434,7 +434,7 @@
|
|
434 |
<section class="span10 offset1">
|
435 |
<hr />
|
436 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
437 |
-
on
|
438 |
</section>
|
439 |
</section>
|
440 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1435380891"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1435380891" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
434 |
<section class="span10 offset1">
|
435 |
<hr />
|
436 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
437 |
+
on January 8th, 2017 at 11:24.
|
438 |
</section>
|
439 |
</section>
|
440 |
</section>
|
phpDocs/classes/MLA_Upload_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1776,7 +1776,7 @@ $this->set_pagination_args().</p>
|
|
1776 |
<section class="span10 offset1">
|
1777 |
<hr />
|
1778 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1779 |
-
on
|
1780 |
</section>
|
1781 |
</section>
|
1782 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2088660203"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2088660203" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1776 |
<section class="span10 offset1">
|
1777 |
<hr />
|
1778 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1779 |
+
on January 8th, 2017 at 11:24.
|
1780 |
</section>
|
1781 |
</section>
|
1782 |
</section>
|
phpDocs/classes/MLA_Upload_Optional_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1207,7 +1207,7 @@ $this->set_pagination_args().</p>
|
|
1207 |
<section class="span10 offset1">
|
1208 |
<hr />
|
1209 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1210 |
-
on
|
1211 |
</section>
|
1212 |
</section>
|
1213 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1450655817"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1450655817" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1207 |
<section class="span10 offset1">
|
1208 |
<hr />
|
1209 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1210 |
+
on January 8th, 2017 at 11:24.
|
1211 |
</section>
|
1212 |
</section>
|
1213 |
</section>
|
phpDocs/classes/MLA_View_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1514,7 +1514,7 @@ $this->set_pagination_args().</p>
|
|
1514 |
<section class="span10 offset1">
|
1515 |
<hr />
|
1516 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1517 |
-
on
|
1518 |
</section>
|
1519 |
</section>
|
1520 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1227614195"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1227614195" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1514 |
<section class="span10 offset1">
|
1515 |
<hr />
|
1516 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1517 |
+
on January 8th, 2017 at 11:24.
|
1518 |
</section>
|
1519 |
</section>
|
1520 |
</section>
|
phpDocs/classes/MLA_WPML.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -2356,7 +2356,7 @@ and $existing_terms contains the target translation</p>
|
|
2356 |
<section class="span10 offset1">
|
2357 |
<hr />
|
2358 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2359 |
-
on
|
2360 |
</section>
|
2361 |
</section>
|
2362 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-666321661"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-666321661" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
2356 |
<section class="span10 offset1">
|
2357 |
<hr />
|
2358 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
2359 |
+
on January 8th, 2017 at 11:24.
|
2360 |
</section>
|
2361 |
</section>
|
2362 |
</section>
|
phpDocs/classes/MLA_WPML_List_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -3082,7 +3082,7 @@ visible column and add div tags.</p>
|
|
3082 |
<section class="span10 offset1">
|
3083 |
<hr />
|
3084 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3085 |
-
on
|
3086 |
</section>
|
3087 |
</section>
|
3088 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1646759258"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1646759258" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
3082 |
<section class="span10 offset1">
|
3083 |
<hr />
|
3084 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
3085 |
+
on January 8th, 2017 at 11:24.
|
3086 |
</section>
|
3087 |
</section>
|
3088 |
</section>
|
phpDocs/classes/MLA_WPML_Shortcodes.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -516,7 +516,7 @@ WPML Multilingual CMS family of plugins, including WPML Media</em></p>
|
|
516 |
<section class="span10 offset1">
|
517 |
<hr />
|
518 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
519 |
-
on
|
520 |
</section>
|
521 |
</section>
|
522 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1035055628"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1035055628" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
516 |
<section class="span10 offset1">
|
517 |
<hr />
|
518 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
519 |
+
on January 8th, 2017 at 11:24.
|
520 |
</section>
|
521 |
</section>
|
522 |
</section>
|
phpDocs/classes/MLA_WPML_Table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -1017,7 +1017,7 @@ format: column_slug => Column Label</p></td>
|
|
1017 |
<section class="span10 offset1">
|
1018 |
<hr />
|
1019 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1020 |
-
on
|
1021 |
</section>
|
1022 |
</section>
|
1023 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1878329665"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1878329665" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
1017 |
<section class="span10 offset1">
|
1018 |
<hr />
|
1019 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
1020 |
+
on January 8th, 2017 at 11:24.
|
1021 |
</section>
|
1022 |
</section>
|
1023 |
</section>
|
phpDocs/files/includes.class-mla-admin-columns-support-deprecated.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1608847897"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1608847897" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-admin-columns-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-356156164"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-356156164" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-ajax.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1337974291"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1337974291" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-core-options.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-373849399"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-373849399" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-core.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -301,7 +301,7 @@
|
|
301 |
<section class="span10 offset1">
|
302 |
<hr />
|
303 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
304 |
-
on
|
305 |
</section>
|
306 |
</section>
|
307 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-863421949"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-863421949" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
301 |
<section class="span10 offset1">
|
302 |
<hr />
|
303 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
304 |
+
on January 8th, 2017 at 11:24.
|
305 |
</section>
|
306 |
</section>
|
307 |
</section>
|
phpDocs/files/includes.class-mla-data-pdf.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-296871007"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-296871007" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-data-query.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ for MLA Ajax, Shortcode and Admin needs</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2142776243"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2142776243" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-data-references.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ for "where-used" reporting needs</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1683955542"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1683955542" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-data-source.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ custom field mapping and shortcode execution</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-214800078"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-214800078" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-data.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1527601225"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1527601225" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-edit-media.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-643982770"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-643982770" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-file-downloader.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-473929642"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-473929642" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-image-processor.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -304,7 +304,7 @@ for the [mla_gallery] mla_viewer=single option</em></td>
|
|
304 |
<section class="span10 offset1">
|
305 |
<hr />
|
306 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
307 |
-
on
|
308 |
</section>
|
309 |
</section>
|
310 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1304588568"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1304588568" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
304 |
<section class="span10 offset1">
|
305 |
<hr />
|
306 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
307 |
+
on January 8th, 2017 at 11:24.
|
308 |
</section>
|
309 |
</section>
|
310 |
</section>
|
phpDocs/files/includes.class-mla-list-table.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1821431999"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1821431999" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-main.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ of images and files held in the WordPress Media Library.</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1085870872"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1085870872" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-media-modal-ajax.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2106842453"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2106842453" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-media-modal.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -297,7 +297,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-494603333"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-494603333" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
+
on January 8th, 2017 at 11:24.
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
phpDocs/files/includes.class-mla-mime-types.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ the Views and Uploads Settings tabs</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-267696011"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-267696011" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-objects.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -301,7 +301,7 @@
|
|
301 |
<section class="span10 offset1">
|
302 |
<hr />
|
303 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
304 |
-
on
|
305 |
</section>
|
306 |
</section>
|
307 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1340225644"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1340225644" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
301 |
<section class="span10 offset1">
|
302 |
<hr />
|
303 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
304 |
+
on January 8th, 2017 at 11:24.
|
305 |
</section>
|
306 |
</section>
|
307 |
</section>
|
phpDocs/files/includes.class-mla-options.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ and provides functions to get and put them from/to WordPress option variables</e
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-887032735"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-887032735" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-polylang-shortcode-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ Polylang Multilingual plugin</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1228944745"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1228944745" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-polylang-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ Polylang Multilingual plugin</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1710124619"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1710124619" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-settings-custom-fields-tab.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ Settings/Media Library Assistant Custom Fields tab</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1814871808"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1814871808" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-settings-documentation-tab.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -307,7 +307,7 @@ searchable database of example plugins for the "Documentation" admin s
|
|
307 |
<section class="span10 offset1">
|
308 |
<hr />
|
309 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
310 |
-
on
|
311 |
</section>
|
312 |
</section>
|
313 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-873345001"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-873345001" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
307 |
<section class="span10 offset1">
|
308 |
<hr />
|
309 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
310 |
+
on January 8th, 2017 at 11:24.
|
311 |
</section>
|
312 |
</section>
|
313 |
</section>
|
phpDocs/files/includes.class-mla-settings-iptc-exif-tab.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ Settings/Media Library Assistant IPTC EXIF tab</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-54611807"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-54611807" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-settings-shortcodes-tab.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -308,7 +308,7 @@ searchable database of shortcode templates</em></td>
|
|
308 |
<section class="span10 offset1">
|
309 |
<hr />
|
310 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
311 |
-
on
|
312 |
</section>
|
313 |
</section>
|
314 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-427943731"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-427943731" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
308 |
<section class="span10 offset1">
|
309 |
<hr />
|
310 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
311 |
+
on January 8th, 2017 at 11:24.
|
312 |
</section>
|
313 |
</section>
|
314 |
</section>
|
phpDocs/files/includes.class-mla-settings-upload-tab.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -308,7 +308,7 @@ searchable database of exension/type associations for the "Uploads" ad
|
|
308 |
<section class="span10 offset1">
|
309 |
<hr />
|
310 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
311 |
-
on
|
312 |
</section>
|
313 |
</section>
|
314 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1552180891"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1552180891" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
308 |
<section class="span10 offset1">
|
309 |
<hr />
|
310 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
311 |
+
on January 8th, 2017 at 11:24.
|
312 |
</section>
|
313 |
</section>
|
314 |
</section>
|
phpDocs/files/includes.class-mla-settings-view-tab.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -303,7 +303,7 @@ admin settings submenu table</em></td>
|
|
303 |
<section class="span10 offset1">
|
304 |
<hr />
|
305 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
306 |
-
on
|
307 |
</section>
|
308 |
</section>
|
309 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-111474507"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-111474507" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
303 |
<section class="span10 offset1">
|
304 |
<hr />
|
305 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
306 |
+
on January 8th, 2017 at 11:24.
|
307 |
</section>
|
308 |
</section>
|
309 |
</section>
|
phpDocs/files/includes.class-mla-settings.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -246,7 +246,44 @@
|
|
246 |
</aside>
|
247 |
</div>
|
248 |
|
249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
250 |
|
251 |
</div>
|
252 |
</section>
|
@@ -297,7 +334,7 @@
|
|
297 |
<section class="span10 offset1">
|
298 |
<hr />
|
299 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
300 |
-
on
|
301 |
</section>
|
302 |
</section>
|
303 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1528779337"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1528779337" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
246 |
</aside>
|
247 |
</div>
|
248 |
|
249 |
+
<div class="row-fluid">
|
250 |
+
<section class="span8 content file">
|
251 |
+
<h2>Constants</h2>
|
252 |
+
</section>
|
253 |
+
<aside class="span4 detailsbar"></aside>
|
254 |
+
</div>
|
255 |
+
|
256 |
+
<div class="row-fluid">
|
257 |
+
<div class="span8 content class">
|
258 |
+
<a id="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" name="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" class="anchor"></a>
|
259 |
+
<article id="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" class="constant">
|
260 |
+
<h3 class="">MLA_USE_NEW_CUSTOM_FIELDS_TAB</h3>
|
261 |
+
<pre class="signature">MLA_USE_NEW_CUSTOM_FIELDS_TAB</pre>
|
262 |
+
<p><em></em></p>
|
263 |
+
|
264 |
+
</article>
|
265 |
+
</div>
|
266 |
+
<aside class="span4 detailsbar">
|
267 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
268 |
+
<dl>
|
269 |
+
<dt>File</dt>
|
270 |
+
<dd><a href=""><div class="path-wrapper">includes\class-mla-settings.php</div></a></dd>
|
271 |
+
</dl>
|
272 |
+
<h2>Tags</h2>
|
273 |
+
<table class="table table-condensed">
|
274 |
+
<tr>
|
275 |
+
<th>
|
276 |
+
package
|
277 |
+
</th>
|
278 |
+
<td>
|
279 |
+
<p>Media Library Assistant</p>
|
280 |
+
</td>
|
281 |
+
</tr>
|
282 |
+
</table>
|
283 |
+
</aside>
|
284 |
+
</div>
|
285 |
+
|
286 |
+
|
287 |
|
288 |
</div>
|
289 |
</section>
|
334 |
<section class="span10 offset1">
|
335 |
<hr />
|
336 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
337 |
+
on January 8th, 2017 at 11:24.
|
338 |
</section>
|
339 |
</section>
|
340 |
</section>
|
phpDocs/files/includes.class-mla-shortcode-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -299,7 +299,7 @@ mla_get_shortcode_attachments() and mla_get_terms() database access functions.</
|
|
299 |
<section class="span10 offset1">
|
300 |
<hr />
|
301 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
302 |
-
on
|
303 |
</section>
|
304 |
</section>
|
305 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1600704068"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1600704068" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
299 |
<section class="span10 offset1">
|
300 |
<hr />
|
301 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
302 |
+
on January 8th, 2017 at 11:24.
|
303 |
</section>
|
304 |
</section>
|
305 |
</section>
|
phpDocs/files/includes.class-mla-shortcodes.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ to MLA users and loads the support class if the shortcodes are executed.</em></t
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1234814015"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1234814015" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-template-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ define, import and export custom style and markup templates for MLA shortcodes.<
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-31900264"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-31900264" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-thumbnail-generation.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ Featured Image generation</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-833924388"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-833924388" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-wpml-shortcode-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ WPML Multilingual CMS family of plugins, including WPML Media</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-995057224"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-995057224" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/files/includes.class-mla-wpml-support.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -307,7 +307,7 @@ family of plugins, including WPML Media, for an MLA_List_Table object.</em></td>
|
|
307 |
<section class="span10 offset1">
|
308 |
<hr />
|
309 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
310 |
-
on
|
311 |
</section>
|
312 |
</section>
|
313 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2109587898"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2109587898" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
307 |
<section class="span10 offset1">
|
308 |
<hr />
|
309 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
310 |
+
on January 8th, 2017 at 11:24.
|
311 |
</section>
|
312 |
</section>
|
313 |
</section>
|
phpDocs/files/includes.mla-file-downloader.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -290,7 +290,7 @@
|
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
-
on
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-422079900"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-422079900" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
+
on January 8th, 2017 at 11:24.
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
phpDocs/files/includes.mla-main-search-box-template.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -290,7 +290,7 @@
|
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
-
on
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1670208036"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1670208036" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
+
on January 8th, 2017 at 11:24.
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
phpDocs/files/includes.mla-media-modal-js-template.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -290,7 +290,7 @@
|
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
-
on
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2092672492"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2092672492" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
+
on January 8th, 2017 at 11:24.
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
phpDocs/files/includes.mla-plugin-loader.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -438,7 +438,7 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
|
|
438 |
<section class="span10 offset1">
|
439 |
<hr />
|
440 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
441 |
-
on
|
442 |
</section>
|
443 |
</section>
|
444 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-2005021746"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-2005021746" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
438 |
<section class="span10 offset1">
|
439 |
<hr />
|
440 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
441 |
+
on January 8th, 2017 at 11:24.
|
442 |
</section>
|
443 |
</section>
|
444 |
</section>
|
phpDocs/files/includes.mla-stream-image.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -290,7 +290,7 @@
|
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
-
on
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-950462334"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-950462334" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
290 |
<section class="span10 offset1">
|
291 |
<hr />
|
292 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
293 |
+
on January 8th, 2017 at 11:24.
|
294 |
</section>
|
295 |
</section>
|
296 |
</section>
|
phpDocs/files/includes/class-mla-core.php.txt
CHANGED
@@ -21,7 +21,7 @@ class MLACore {
|
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
-
const CURRENT_MLA_VERSION = '2.
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
@@ -86,6 +86,15 @@ class MLACore {
|
|
86 |
*/
|
87 |
const MLA_DEBUG_CATEGORY_THUMBNAIL = 0x00000008;
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
/**
|
90 |
* Slug for adding plugin submenu
|
91 |
*
|
@@ -309,6 +318,7 @@ class MLACore {
|
|
309 |
* @return void
|
310 |
*/
|
311 |
public static function initialize( ) {
|
|
|
312 |
if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_FEATURED_IN_TUNING ) ) {
|
313 |
MLACore::$process_featured_in = false;
|
314 |
}
|
@@ -527,7 +537,12 @@ class MLACore {
|
|
527 |
MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
|
528 |
$mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
|
529 |
if ( strlen( $mla_reporting ) ) {
|
530 |
-
|
|
|
|
|
|
|
|
|
|
|
531 |
if ( $mla_reporting ) {
|
532 |
MLACore::$mla_debug_level = $mla_reporting | 1;
|
533 |
} else {
|
21 |
*
|
22 |
* @var string
|
23 |
*/
|
24 |
+
const CURRENT_MLA_VERSION = '2.41';
|
25 |
|
26 |
/**
|
27 |
* Slug for registering and enqueueing plugin style sheets (moved from class-mla-main.php)
|
86 |
*/
|
87 |
const MLA_DEBUG_CATEGORY_THUMBNAIL = 0x00000008;
|
88 |
|
89 |
+
/**
|
90 |
+
* Constant to log IPTC/EXIF/XMP/PDF metadata activity
|
91 |
+
*
|
92 |
+
* @since 2.41
|
93 |
+
*
|
94 |
+
* @var integer
|
95 |
+
*/
|
96 |
+
const MLA_DEBUG_CATEGORY_METADATA = 0x00000010;
|
97 |
+
|
98 |
/**
|
99 |
* Slug for adding plugin submenu
|
100 |
*
|
318 |
* @return void
|
319 |
*/
|
320 |
public static function initialize( ) {
|
321 |
+
//error_log( __LINE__ . ' DEBUG: MLACore::initialize $_REQUEST = ' . var_export( $_REQUEST, true ), 0 );
|
322 |
if ( 'disabled' == MLACore::mla_get_option( MLACoreOptions::MLA_FEATURED_IN_TUNING ) ) {
|
323 |
MLACore::$process_featured_in = false;
|
324 |
}
|
537 |
MLACore::$mla_debug_level = MLA_DEBUG_LEVEL;
|
538 |
$mla_reporting = trim( MLACore::mla_get_option( MLACoreOptions::MLA_DEBUG_REPLACE_LEVEL ) );
|
539 |
if ( strlen( $mla_reporting ) ) {
|
540 |
+
if ( ctype_digit( $mla_reporting ) ) {
|
541 |
+
$mla_reporting = intval( $mla_reporting );
|
542 |
+
} else{
|
543 |
+
$mla_reporting = hexdec( $mla_reporting );
|
544 |
+
}
|
545 |
+
|
546 |
if ( $mla_reporting ) {
|
547 |
MLACore::$mla_debug_level = $mla_reporting | 1;
|
548 |
} else {
|
phpDocs/files/includes/class-mla-data.php.txt
CHANGED
@@ -3006,6 +3006,7 @@ class MLAData {
|
|
3006 |
$pdf_metadata = MLAPDF::mla_extract_pdf_metadata( $path );
|
3007 |
$results['mla_xmp_metadata'] = $pdf_metadata['xmp'];
|
3008 |
$results['mla_pdf_metadata'] = $pdf_metadata['pdf'];
|
|
|
3009 |
return $results;
|
3010 |
}
|
3011 |
|
@@ -3014,7 +3015,8 @@ class MLAData {
|
|
3014 |
if ( is_callable( 'iptcparse' ) ) {
|
3015 |
if ( ! empty( $info['APP13'] ) ) {
|
3016 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3017 |
-
$iptc_values = iptcparse( $info['APP13'] );
|
|
|
3018 |
//restore_error_handler();
|
3019 |
|
3020 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
@@ -3041,14 +3043,62 @@ class MLAData {
|
|
3041 |
} // iptcparse
|
3042 |
|
3043 |
if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
|
|
|
|
|
3044 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3045 |
-
$
|
|
|
|
|
3046 |
//restore_error_handler();
|
3047 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
3048 |
$results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
3049 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
3050 |
MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
3051 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3052 |
} // exif_read_data
|
3053 |
|
3054 |
$results['mla_xmp_metadata'] = self::mla_parse_xmp_metadata( $path, 0 );
|
@@ -3066,7 +3116,7 @@ class MLAData {
|
|
3066 |
$results['mla_exif_metadata']['DateTimeOriginal'] = $results['mla_xmp_metadata']['CreateDate'];
|
3067 |
}
|
3068 |
}
|
3069 |
-
|
3070 |
// experimental damage repair for Elsie Gilmore (earthnutvt)
|
3071 |
if ( isset( $exif_data['Keywords'] ) && ( '????' == substr( $exif_data['Keywords'], 0, 4 ) ) ) {
|
3072 |
if ( isset( $results['mla_xmp_metadata']['Keywords'] ) ) {
|
@@ -3334,7 +3384,7 @@ class MLAData {
|
|
3334 |
$results['mla_exif_metadata']['GPS'] = $new_data;
|
3335 |
}
|
3336 |
|
3337 |
-
|
3338 |
return $results;
|
3339 |
}
|
3340 |
|
@@ -3458,6 +3508,25 @@ class MLAData {
|
|
3458 |
unset( $meta_value[0x80000002] );
|
3459 |
}
|
3460 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3461 |
if ( isset( $post_data[ 'mla_item_' . $meta_key ] ) ) {
|
3462 |
$old_meta_value = $post_data[ 'mla_item_' . $meta_key ];
|
3463 |
|
3006 |
$pdf_metadata = MLAPDF::mla_extract_pdf_metadata( $path );
|
3007 |
$results['mla_xmp_metadata'] = $pdf_metadata['xmp'];
|
3008 |
$results['mla_pdf_metadata'] = $pdf_metadata['pdf'];
|
3009 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata results = ' . var_export( $results, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3010 |
return $results;
|
3011 |
}
|
3012 |
|
3015 |
if ( is_callable( 'iptcparse' ) ) {
|
3016 |
if ( ! empty( $info['APP13'] ) ) {
|
3017 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3018 |
+
$iptc_values = @iptcparse( $info['APP13'] );
|
3019 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata iptc_values = ' . var_export( $iptc_values, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3020 |
//restore_error_handler();
|
3021 |
|
3022 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
3043 |
} // iptcparse
|
3044 |
|
3045 |
if ( is_callable( 'exif_read_data' ) && in_array( $size[2], array( IMAGETYPE_JPEG, IMAGETYPE_TIFF_II, IMAGETYPE_TIFF_MM ) ) ) {
|
3046 |
+
// When reading EXIF information from the 'WINXP' group, you may need to change used encoding from the default "ISO-8859-15" to "UTF-8". This can be done in php.ini or in your code.
|
3047 |
+
//ini_set( 'exif.encode_unicode', 'UTF-8' );
|
3048 |
//set_error_handler( 'MLAData::mla_IPTC_EXIF_error_handler' );
|
3049 |
+
$exif_data = @exif_read_data( $path, NULL, true );
|
3050 |
+
//ini_restore( 'exif.encode_unicode' );
|
3051 |
+
//MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata exif_data = ' . var_export( $exif_data, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3052 |
//restore_error_handler();
|
3053 |
if ( ! empty( MLAData::$mla_IPTC_EXIF_errors ) ) {
|
3054 |
$results['mla_exif_errors'] = MLAData::$mla_IPTC_EXIF_errors;
|
3055 |
MLAData::$mla_IPTC_EXIF_errors = array();
|
3056 |
MLACore::mla_debug_add( __LINE__ . __( 'ERROR', 'media-library-assistant' ) . ': ' . '$results[mla_exif_errors] = ' . var_export( $results['mla_exif_errors'], true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
3057 |
}
|
3058 |
+
|
3059 |
+
if ( ! is_array( $exif_data ) ) {
|
3060 |
+
$exif_data = array();
|
3061 |
+
}
|
3062 |
+
|
3063 |
+
// Promote most array elements to top-level simple values, emulating $arrays = false
|
3064 |
+
foreach ( $exif_data as $section_name => $section_data ) {
|
3065 |
+
/*
|
3066 |
+
* The sections COMPUTED, THUMBNAIL, and COMMENT always become arrays as
|
3067 |
+
* they may contain values whose names conflict with other sections.
|
3068 |
+
* The WINXP section usually contains garbage that overwrites IFD0 values.
|
3069 |
+
*/
|
3070 |
+
if ( in_array( $section_name, array ( 'COMPUTED', 'THUMBNAIL', 'COMMENT', 'WINXP' ) ) ) {
|
3071 |
+
$results['mla_exif_metadata'][ $section_name ] = $section_data;
|
3072 |
+
continue;
|
3073 |
+
}
|
3074 |
+
|
3075 |
+
foreach ( $section_data as $element_name => $element_value ) {
|
3076 |
+
// JPEG standard defines 0xEA1C as "padding"
|
3077 |
+
if ( 'UndefinedTag:0xEA1C' === $element_name ) {
|
3078 |
+
continue;
|
3079 |
+
}
|
3080 |
+
|
3081 |
+
// Decode some non-string values
|
3082 |
+
if ( 'IFD0' === $section_name ) {
|
3083 |
+
/*
|
3084 |
+
* PixelUnit (1 byte) Units for the PixelPerUnitX and PixelPerUnitY densities
|
3085 |
+
* 0: no units, PixelPerUnitX and PixelPerUnitY specify the pixel aspect ratio
|
3086 |
+
* 1: PixelPerUnitX and PixelPerUnitY are dots per inch
|
3087 |
+
* 2: PixelPerUnitX and PixelPerUnitY are dots per cm
|
3088 |
+
*/
|
3089 |
+
if ( 'PixelUnit' === $element_name ) {
|
3090 |
+
$element_value = (string) ord( $element_value );
|
3091 |
+
}
|
3092 |
+
|
3093 |
+
// Problem with values edited through Windows right-click properties.
|
3094 |
+
if ( in_array( $element_name, array( 'Title', 'Keywords', 'Subject' ) ) ) {
|
3095 |
+
$element_value = str_replace( "\000", '', $element_value );
|
3096 |
+
}
|
3097 |
+
}
|
3098 |
+
|
3099 |
+
$results['mla_exif_metadata'][ $element_name ] = $element_value;
|
3100 |
+
}
|
3101 |
+
}
|
3102 |
} // exif_read_data
|
3103 |
|
3104 |
$results['mla_xmp_metadata'] = self::mla_parse_xmp_metadata( $path, 0 );
|
3116 |
$results['mla_exif_metadata']['DateTimeOriginal'] = $results['mla_xmp_metadata']['CreateDate'];
|
3117 |
}
|
3118 |
}
|
3119 |
+
|
3120 |
// experimental damage repair for Elsie Gilmore (earthnutvt)
|
3121 |
if ( isset( $exif_data['Keywords'] ) && ( '????' == substr( $exif_data['Keywords'], 0, 4 ) ) ) {
|
3122 |
if ( isset( $results['mla_xmp_metadata']['Keywords'] ) ) {
|
3384 |
$results['mla_exif_metadata']['GPS'] = $new_data;
|
3385 |
}
|
3386 |
|
3387 |
+
MLACore::mla_debug_add( __LINE__ . ' mla_fetch_attachment_image_metadata results = ' . var_export( $results, true ), MLACore::MLA_DEBUG_CATEGORY_METADATA );
|
3388 |
return $results;
|
3389 |
}
|
3390 |
|
3508 |
unset( $meta_value[0x80000002] );
|
3509 |
}
|
3510 |
|
3511 |
+
// mla_fetch_attachment_metadata doesn't return "hidden" fields
|
3512 |
+
if ( '_' === $meta_key{0} ) {
|
3513 |
+
$old_meta_value = get_post_meta( $post_id, $meta_key );
|
3514 |
+
|
3515 |
+
if ( !empty( $old_meta_value ) ) {
|
3516 |
+
if ( is_array( $old_meta_value ) ) {
|
3517 |
+
if ( count( $old_meta_value ) == 1 ) {
|
3518 |
+
$old_meta_value = maybe_unserialize( current( $old_meta_value ) );
|
3519 |
+
} else {
|
3520 |
+
foreach ( $old_meta_value as $single_key => $single_value ) {
|
3521 |
+
$old_meta_value[ $single_key ] = maybe_unserialize( $single_value );
|
3522 |
+
}
|
3523 |
+
}
|
3524 |
+
}
|
3525 |
+
|
3526 |
+
$post_data[ 'mla_item_' . $meta_key ] = $old_meta_value;
|
3527 |
+
}
|
3528 |
+
}
|
3529 |
+
|
3530 |
if ( isset( $post_data[ 'mla_item_' . $meta_key ] ) ) {
|
3531 |
$old_meta_value = $post_data[ 'mla_item_' . $meta_key ];
|
3532 |
|
phpDocs/files/includes/class-mla-file-downloader.php.txt
CHANGED
@@ -100,8 +100,8 @@ class MLAFileDownloader {
|
|
100 |
|
101 |
* @return void echos page content and calls exit();
|
102 |
*/
|
103 |
-
|
104 |
-
self::_mla_debug_add( __LINE__ . "
|
105 |
exit();
|
106 |
}
|
107 |
|
100 |
|
101 |
* @return void echos page content and calls exit();
|
102 |
*/
|
103 |
+
public static function mla_die( $message, $title = '', $response = 500 ) {
|
104 |
+
self::_mla_debug_add( __LINE__ . " mla_die( '{$message}', '{$title}', '{$response}' )" );
|
105 |
exit();
|
106 |
}
|
107 |
|
phpDocs/files/includes/class-mla-main.php.txt
CHANGED
@@ -142,7 +142,7 @@ class MLA {
|
|
142 |
* @return void
|
143 |
*/
|
144 |
public static function mla_admin_init_action() {
|
145 |
-
static $count = 0;
|
146 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action $count = ' . var_export( $count++, true ), 0 );
|
147 |
|
148 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action referer = ' . var_export( wp_get_referer(), true ), 0 );
|
@@ -649,14 +649,27 @@ class MLA {
|
|
649 |
* @param string Name of the option being changed
|
650 |
* @param string New value of the option
|
651 |
*
|
652 |
-
* @return
|
653 |
*/
|
654 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
if ( 'mla_entries_per_page' == $option ) {
|
656 |
return $value;
|
657 |
-
} elseif ( $status ) {
|
658 |
-
return $status;
|
659 |
}
|
|
|
|
|
660 |
}
|
661 |
|
662 |
/**
|
142 |
* @return void
|
143 |
*/
|
144 |
public static function mla_admin_init_action() {
|
145 |
+
//static $count = 0;
|
146 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action $count = ' . var_export( $count++, true ), 0 );
|
147 |
|
148 |
//error_log( __LINE__ . ' DEBUG: MLA::mla_admin_init_action referer = ' . var_export( wp_get_referer(), true ), 0 );
|
649 |
* @param string Name of the option being changed
|
650 |
* @param string New value of the option
|
651 |
*
|
652 |
+
* @return mixed New value if this is our option, otherwise original status
|
653 |
*/
|
654 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
655 |
+
global $wp_filter;
|
656 |
+
|
657 |
+
MLACore::mla_debug_add( __LINE__ . " MLA::mla_set_screen_option_filter( {$option} ) status = " . var_export( $status, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
658 |
+
MLACore::mla_debug_add( __LINE__ . " MLA::mla_set_screen_option_filter( {$option} ) value = " . var_export( $value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
659 |
+
|
660 |
+
foreach( $wp_filter['set-screen-option'] as $priority => $filters ) {
|
661 |
+
$debug_message = 'mla_debug $wp_filter[set-screen-option] priority = ' . var_export( $priority, true ) . '<br />';
|
662 |
+
foreach ( $filters as $name => $descriptor ) {
|
663 |
+
$debug_message .= 'filter name = ' . var_export( $name, true ) . '<br />';
|
664 |
+
}
|
665 |
+
MLACore::mla_debug_add( $debug_message, MLACore::MLA_DEBUG_CATEGORY_ANY );
|
666 |
+
}
|
667 |
+
|
668 |
if ( 'mla_entries_per_page' == $option ) {
|
669 |
return $value;
|
|
|
|
|
670 |
}
|
671 |
+
|
672 |
+
return $status;
|
673 |
}
|
674 |
|
675 |
/**
|
phpDocs/files/includes/class-mla-mime-types.php.txt
CHANGED
@@ -483,8 +483,8 @@ class MLAMime {
|
|
483 |
* to sort by. Often, the key and value will be the same, but this is not always
|
484 |
* the case (as the value is a column name from the database, not the list table).
|
485 |
*
|
486 |
-
* The array value also contains a boolean which is 'true' if the
|
487 |
-
*
|
488 |
*
|
489 |
* @since 1.40
|
490 |
*
|
@@ -571,8 +571,8 @@ class MLAMime {
|
|
571 |
* to sort by. Often, the key and value will be the same, but this is not always
|
572 |
* the case (as the value is a column name from the database, not the list table).
|
573 |
*
|
574 |
-
* The array value also contains a boolean which is 'true' if the
|
575 |
-
*
|
576 |
*
|
577 |
* @since 1.40
|
578 |
*
|
@@ -646,8 +646,8 @@ class MLAMime {
|
|
646 |
* to sort by. Often, the key and value will be the same, but this is not always
|
647 |
* the case (as the value is a column name from the database, not the list table).
|
648 |
*
|
649 |
-
* The array value also contains a boolean which is 'true' if the
|
650 |
-
*
|
651 |
*
|
652 |
* @since 1.40
|
653 |
*
|
483 |
* to sort by. Often, the key and value will be the same, but this is not always
|
484 |
* the case (as the value is a column name from the database, not the list table).
|
485 |
*
|
486 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
487 |
+
* for the column is DESC/Descending.
|
488 |
*
|
489 |
* @since 1.40
|
490 |
*
|
571 |
* to sort by. Often, the key and value will be the same, but this is not always
|
572 |
* the case (as the value is a column name from the database, not the list table).
|
573 |
*
|
574 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
575 |
+
* for the column is DESC/Descending.
|
576 |
*
|
577 |
* @since 1.40
|
578 |
*
|
646 |
* to sort by. Often, the key and value will be the same, but this is not always
|
647 |
* the case (as the value is a column name from the database, not the list table).
|
648 |
*
|
649 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
650 |
+
* for the column is DESC/Descending.
|
651 |
*
|
652 |
* @since 1.40
|
653 |
*
|
phpDocs/files/includes/class-mla-options.php.txt
CHANGED
@@ -1187,6 +1187,7 @@ class MLAOptions {
|
|
1187 |
*/
|
1188 |
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
|
|
1190 |
|
1191 |
switch ( $action ) {
|
1192 |
case 'render':
|
@@ -2451,7 +2452,7 @@ class MLAOptions {
|
|
2451 |
*/
|
2452 |
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2453 |
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2454 |
-
|
2455 |
switch ( $action ) {
|
2456 |
case 'render':
|
2457 |
|
1187 |
*/
|
1188 |
public static function mla_custom_field_option_handler( $action, $key, $value, $args = NULL ) {
|
1189 |
$current_values = MLACore::mla_get_option( 'custom_field_mapping' );
|
1190 |
+
//error_log( __LINE__ . " mla_custom_field_option_handler( $action, $key ) current_values = " . var_export( $current_values, true ), 0 );
|
1191 |
|
1192 |
switch ( $action ) {
|
1193 |
case 'render':
|
2452 |
*/
|
2453 |
public static function mla_iptc_exif_option_handler( $action, $key, $value, $args = NULL ) {
|
2454 |
$current_values = MLACore::mla_get_option( 'iptc_exif_mapping' );
|
2455 |
+
//error_log( __LINE__ . " mla_iptc_exif_option_handler( $action, $key ) current_values = " . var_export( $current_values, true ), 0 );
|
2456 |
switch ( $action ) {
|
2457 |
case 'render':
|
2458 |
|
phpDocs/files/includes/class-mla-polylang-shortcode-support.php.txt
CHANGED
@@ -69,7 +69,12 @@ class MLA_Polylang_Shortcodes {
|
|
69 |
public static function mla_get_terms_clauses( $clauses ) {
|
70 |
global $polylang;
|
71 |
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
return $clauses;
|
75 |
} // mla_get_terms_clauses
|
69 |
public static function mla_get_terms_clauses( $clauses ) {
|
70 |
global $polylang;
|
71 |
|
72 |
+
// The Polylang terms_clauses method is in one of two places
|
73 |
+
if ( is_admin() ) {
|
74 |
+
$clauses = $polylang->filters_term->terms_clauses($clauses, MLA_Polylang_Shortcodes::$all_query_parameters['taxonomy'], MLA_Polylang_Shortcodes::$all_query_parameters );
|
75 |
+
} else {
|
76 |
+
$clauses = $polylang->filters->terms_clauses($clauses, MLA_Polylang_Shortcodes::$all_query_parameters['taxonomy'], MLA_Polylang_Shortcodes::$all_query_parameters );
|
77 |
+
}
|
78 |
|
79 |
return $clauses;
|
80 |
} // mla_get_terms_clauses
|
phpDocs/files/includes/class-mla-settings-custom-fields-tab.php.txt
CHANGED
@@ -467,8 +467,8 @@ class MLASettings_CustomFields {
|
|
467 |
} // class MLASettings_CustomFields
|
468 |
|
469 |
/*
|
470 |
-
* Actions are added here, when the source file is loaded, because the
|
471 |
-
*
|
472 |
*/
|
473 |
add_action( 'admin_enqueue_scripts', 'MLASettings_CustomFields::mla_admin_enqueue_scripts' );
|
474 |
?>
|
467 |
} // class MLASettings_CustomFields
|
468 |
|
469 |
/*
|
470 |
+
* Actions are added here, when the source file is loaded, because the mla_compose_custom_field_tab
|
471 |
+
* function is called too late to be useful.
|
472 |
*/
|
473 |
add_action( 'admin_enqueue_scripts', 'MLASettings_CustomFields::mla_admin_enqueue_scripts' );
|
474 |
?>
|
phpDocs/files/includes/class-mla-settings-documentation-tab.php.txt
CHANGED
@@ -406,8 +406,8 @@ class MLA_Example_List_Table extends WP_List_Table {
|
|
406 |
* to sort by. Often, the key and value will be the same, but this is not always
|
407 |
* the case (as the value is a column name from the database, not the list table).
|
408 |
*
|
409 |
-
* The array value also contains a boolean which is 'true' if the
|
410 |
-
*
|
411 |
*
|
412 |
* @since 2.32
|
413 |
*
|
@@ -503,9 +503,6 @@ class MLA_Example_List_Table extends WP_List_Table {
|
|
503 |
/**
|
504 |
* Builds the $default_columns array with translated source texts.
|
505 |
*
|
506 |
-
* Called from MLATest::initialize because the $default_columns information might be
|
507 |
-
* accessed from "front end" posts/pages.
|
508 |
-
*
|
509 |
* @since 2.32
|
510 |
*
|
511 |
* @return void
|
406 |
* to sort by. Often, the key and value will be the same, but this is not always
|
407 |
* the case (as the value is a column name from the database, not the list table).
|
408 |
*
|
409 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
410 |
+
* for the column is DESC/Descending.
|
411 |
*
|
412 |
* @since 2.32
|
413 |
*
|
503 |
/**
|
504 |
* Builds the $default_columns array with translated source texts.
|
505 |
*
|
|
|
|
|
|
|
506 |
* @since 2.32
|
507 |
*
|
508 |
* @return void
|
phpDocs/files/includes/class-mla-settings-iptc-exif-tab.php.txt
CHANGED
@@ -653,8 +653,8 @@ class MLASettings_IPTCEXIF {
|
|
653 |
} // class MLASettings_IPTCEXIF
|
654 |
|
655 |
/*
|
656 |
-
* Actions are added here, when the source file is loaded, because the
|
657 |
-
*
|
658 |
*/
|
659 |
add_action( 'admin_enqueue_scripts', 'MLASettings_IPTCEXIF::mla_admin_enqueue_scripts' );
|
660 |
?>
|
653 |
} // class MLASettings_IPTCEXIF
|
654 |
|
655 |
/*
|
656 |
+
* Actions are added here, when the source file is loaded, because the mla_compose_iptc_exif_tab
|
657 |
+
* function is called too late to be useful.
|
658 |
*/
|
659 |
add_action( 'admin_enqueue_scripts', 'MLASettings_IPTCEXIF::mla_admin_enqueue_scripts' );
|
660 |
?>
|
phpDocs/files/includes/class-mla-settings-shortcodes-tab.php.txt
CHANGED
@@ -820,8 +820,8 @@ class MLA_Template_List_Table extends WP_List_Table {
|
|
820 |
* to sort by. Often, the key and value will be the same, but this is not always
|
821 |
* the case (as the value is a column name from the database, not the list table).
|
822 |
*
|
823 |
-
* The array value also contains a boolean which is 'true' if the
|
824 |
-
*
|
825 |
*
|
826 |
* @since 2.40
|
827 |
* @access private
|
820 |
* to sort by. Often, the key and value will be the same, but this is not always
|
821 |
* the case (as the value is a column name from the database, not the list table).
|
822 |
*
|
823 |
+
* The array value also contains a boolean which is 'true' if the initial sort order
|
824 |
+
* for the column is DESC/Descending.
|
825 |
*
|
826 |
* @since 2.40
|
827 |
* @access private
|
phpDocs/files/includes/class-mla-settings.php.txt
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
* @package Media Library Assistant
|
6 |
* @since 0.1
|
7 |
*/
|
|
|
8 |
|
9 |
/**
|
10 |
* Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings
|
@@ -95,7 +96,11 @@ class MLASettings {
|
|
95 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-view-tab.php' );
|
96 |
break;
|
97 |
case self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG:
|
|
|
98 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
|
|
|
|
|
|
99 |
break;
|
100 |
case self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG:
|
101 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
@@ -114,7 +119,11 @@ class MLASettings {
|
|
114 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-shortcodes-tab.php' );
|
115 |
break;
|
116 |
case 'custom_field':
|
|
|
|
|
|
|
117 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
|
|
118 |
break;
|
119 |
case 'iptc_exif':
|
120 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
@@ -578,14 +587,17 @@ class MLASettings {
|
|
578 |
* @param string Name of the option being changed
|
579 |
* @param string New value of the option
|
580 |
*
|
581 |
-
* @return
|
582 |
*/
|
583 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
584 |
if ( in_array( $option, array ( 'mla_views_per_page', 'mla_uploads_per_page', 'mla_types_per_page', 'mla_shortcode_templates_per_page', 'mla_example_plugins_per_page' ) ) ) {
|
585 |
return $value;
|
586 |
-
} elseif ( $status ) {
|
587 |
-
return $status;
|
588 |
}
|
|
|
|
|
|
|
|
|
|
|
589 |
}
|
590 |
|
591 |
/**
|
5 |
* @package Media Library Assistant
|
6 |
* @since 0.1
|
7 |
*/
|
8 |
+
const MLA_USE_NEW_CUSTOM_FIELDS_TAB = false;
|
9 |
|
10 |
/**
|
11 |
* Class MLA (Media Library Assistant) Settings provides the settings page to edit the plugin option settings
|
96 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-view-tab.php' );
|
97 |
break;
|
98 |
case self::JAVASCRIPT_INLINE_MAPPING_CUSTOM_SLUG:
|
99 |
+
if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
100 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
101 |
+
} else {
|
102 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
103 |
+
}
|
104 |
break;
|
105 |
case self::JAVASCRIPT_INLINE_MAPPING_IPTC_EXIF_SLUG:
|
106 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
119 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-shortcodes-tab.php' );
|
120 |
break;
|
121 |
case 'custom_field':
|
122 |
+
if ( MLA_USE_NEW_CUSTOM_FIELDS_TAB ) {
|
123 |
+
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
124 |
+
} else {
|
125 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-custom-fields-tab.php' );
|
126 |
+
}
|
127 |
break;
|
128 |
case 'iptc_exif':
|
129 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-settings-iptc-exif-tab.php' );
|
587 |
* @param string Name of the option being changed
|
588 |
* @param string New value of the option
|
589 |
*
|
590 |
+
* @return mixed New value if this is our option, otherwise original status
|
591 |
*/
|
592 |
public static function mla_set_screen_option_filter( $status, $option, $value ) {
|
593 |
if ( in_array( $option, array ( 'mla_views_per_page', 'mla_uploads_per_page', 'mla_types_per_page', 'mla_shortcode_templates_per_page', 'mla_example_plugins_per_page' ) ) ) {
|
594 |
return $value;
|
|
|
|
|
595 |
}
|
596 |
+
|
597 |
+
MLACore::mla_debug_add( __LINE__ . " MLASettings::mla_set_screen_option_filter( {$option} ) status = " . var_export( $status, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
598 |
+
MLACore::mla_debug_add( __LINE__ . " MLASettings::mla_set_screen_option_filter( {$option} ) value = " . var_export( $value, true ), MLACore::MLA_DEBUG_CATEGORY_ANY );
|
599 |
+
|
600 |
+
return $status;
|
601 |
}
|
602 |
|
603 |
/**
|
phpDocs/files/includes/class-mla-shortcode-support.php.txt
CHANGED
@@ -539,14 +539,6 @@ class MLAShortcode_Support {
|
|
539 |
|
540 |
$current_rows = count( $attachments );
|
541 |
|
542 |
-
if ( isset( $attachments['found_rows'] ) ) {
|
543 |
-
$found_rows = $attachments['found_rows'];
|
544 |
-
unset( $attachments['found_rows'] );
|
545 |
-
$current_rows--;
|
546 |
-
} else {
|
547 |
-
$found_rows = $current_rows;
|
548 |
-
}
|
549 |
-
|
550 |
if ( isset( $attachments['max_num_pages'] ) ) {
|
551 |
$max_num_pages = $attachments['max_num_pages'];
|
552 |
unset( $attachments['max_num_pages'] );
|
@@ -555,7 +547,15 @@ class MLAShortcode_Support {
|
|
555 |
$max_num_pages = 1;
|
556 |
}
|
557 |
|
558 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
if ( self::$mla_debug ) {
|
560 |
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug empty gallery', 'media-library-assistant' ) . '</strong>, query = ' . var_export( $attr, true ) );
|
561 |
$output = MLACore::mla_debug_flush();
|
@@ -5002,7 +5002,7 @@ class MLAShortcode_Support {
|
|
5002 |
if ( empty( MLAQuery::$search_parameters['mla_term_connector'] ) ) {
|
5003 |
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = 'OR';
|
5004 |
} else {
|
5005 |
-
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = MLAQuery::$search_parameters['
|
5006 |
}
|
5007 |
}
|
5008 |
|
539 |
|
540 |
$current_rows = count( $attachments );
|
541 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
542 |
if ( isset( $attachments['max_num_pages'] ) ) {
|
543 |
$max_num_pages = $attachments['max_num_pages'];
|
544 |
unset( $attachments['max_num_pages'] );
|
547 |
$max_num_pages = 1;
|
548 |
}
|
549 |
|
550 |
+
if ( isset( $attachments['found_rows'] ) ) {
|
551 |
+
$found_rows = $attachments['found_rows'];
|
552 |
+
unset( $attachments['found_rows'] );
|
553 |
+
$current_rows--;
|
554 |
+
} else {
|
555 |
+
$found_rows = $current_rows;
|
556 |
+
}
|
557 |
+
|
558 |
+
if ( ( $is_gallery && empty($attachments) ) || ( $is_pagination && empty( $found_rows ) ) ) {
|
559 |
if ( self::$mla_debug ) {
|
560 |
MLACore::mla_debug_add( '<strong>' . __( 'mla_debug empty gallery', 'media-library-assistant' ) . '</strong>, query = ' . var_export( $attr, true ) );
|
561 |
$output = MLACore::mla_debug_flush();
|
5002 |
if ( empty( MLAQuery::$search_parameters['mla_term_connector'] ) ) {
|
5003 |
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = 'OR';
|
5004 |
} else {
|
5005 |
+
MLAQuery::$search_parameters['mla_terms_search']['radio_terms'] = MLAQuery::$search_parameters['mla_term_connector'];
|
5006 |
}
|
5007 |
}
|
5008 |
|
phpDocs/files/includes/class-mla-thumbnail-generation.php.txt
CHANGED
@@ -141,11 +141,20 @@ class MLA_Thumbnail {
|
|
141 |
return $template_array;
|
142 |
}
|
143 |
|
144 |
-
|
|
|
|
|
|
|
|
|
145 |
$help_array = MLACore::mla_load_template( 'help-for-thumbnail_generation.tpl' );
|
146 |
|
147 |
-
if ( isset( $
|
148 |
-
$template_array['sidebar']
|
|
|
|
|
|
|
|
|
|
|
149 |
unset( $help_array['sidebar'] );
|
150 |
}
|
151 |
|
@@ -456,6 +465,11 @@ class MLA_Thumbnail {
|
|
456 |
unset( $_POST['s'] );
|
457 |
unset( $_GET['s'] );
|
458 |
|
|
|
|
|
|
|
|
|
|
|
459 |
$_REQUEST['ids'] = MLA_Thumbnail::$bulk_action_includes;
|
460 |
$_REQUEST['heading_suffix'] = __( 'Generated Thumbnails', 'media-library-assistant' );
|
461 |
}
|
@@ -553,7 +567,7 @@ class MLA_Thumbnail {
|
|
553 |
/**
|
554 |
* Filter the "sticky" submenu URL parameters
|
555 |
*
|
556 |
-
* Maintains the
|
557 |
*
|
558 |
* @since 2.13
|
559 |
*
|
@@ -563,13 +577,9 @@ class MLA_Thumbnail {
|
|
563 |
* @return array updated submenu_arguments.
|
564 |
*/
|
565 |
public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
|
566 |
-
if ( isset( $_REQUEST['pll_view'] ) ) {
|
567 |
-
$submenu_arguments['pll_view'] = $_REQUEST['pll_view'];
|
568 |
-
}
|
569 |
-
|
570 |
if ( $include_filters && ( ! empty( MLA_Thumbnail::$bulk_action_includes ) ) ) {
|
571 |
$submenu_arguments['ids'] = implode( ',', MLA_Thumbnail::$bulk_action_includes );
|
572 |
-
$submenu_arguments['heading_suffix'] = __( '
|
573 |
}
|
574 |
|
575 |
return $submenu_arguments;
|
141 |
return $template_array;
|
142 |
}
|
143 |
|
144 |
+
// Retain other filters' additions
|
145 |
+
if ( empty( $template_array ) ) {
|
146 |
+
$template_array = MLACore::mla_load_template( $file_name );
|
147 |
+
}
|
148 |
+
|
149 |
$help_array = MLACore::mla_load_template( 'help-for-thumbnail_generation.tpl' );
|
150 |
|
151 |
+
if ( isset( $help_array['sidebar'] ) ) {
|
152 |
+
if ( isset( $template_array['sidebar'] ) ) {
|
153 |
+
$template_array['sidebar'] .= $help_array['sidebar'];
|
154 |
+
} else {
|
155 |
+
$template_array['sidebar'] = $help_array['sidebar'];
|
156 |
+
}
|
157 |
+
|
158 |
unset( $help_array['sidebar'] );
|
159 |
}
|
160 |
|
465 |
unset( $_POST['s'] );
|
466 |
unset( $_GET['s'] );
|
467 |
|
468 |
+
// Clear the pagination control
|
469 |
+
unset( $_REQUEST['paged'] );
|
470 |
+
unset( $_POST['paged'] );
|
471 |
+
unset( $_GET['paged'] );
|
472 |
+
|
473 |
$_REQUEST['ids'] = MLA_Thumbnail::$bulk_action_includes;
|
474 |
$_REQUEST['heading_suffix'] = __( 'Generated Thumbnails', 'media-library-assistant' );
|
475 |
}
|
567 |
/**
|
568 |
* Filter the "sticky" submenu URL parameters
|
569 |
*
|
570 |
+
* Maintains the list of "Generated Thumbnails" items in the URLs for filtering the table display.
|
571 |
*
|
572 |
* @since 2.13
|
573 |
*
|
577 |
* @return array updated submenu_arguments.
|
578 |
*/
|
579 |
public static function mla_list_table_submenu_arguments( $submenu_arguments, $include_filters ) {
|
|
|
|
|
|
|
|
|
580 |
if ( $include_filters && ( ! empty( MLA_Thumbnail::$bulk_action_includes ) ) ) {
|
581 |
$submenu_arguments['ids'] = implode( ',', MLA_Thumbnail::$bulk_action_includes );
|
582 |
+
$submenu_arguments['heading_suffix'] = __( 'Generated Thumbnails', 'media-library-assistant' );
|
583 |
}
|
584 |
|
585 |
return $submenu_arguments;
|
phpDocs/files/includes/mla-file-downloader.php.txt
CHANGED
@@ -18,5 +18,5 @@ if ( isset( $_REQUEST['mla_download_file'] ) && isset( $_REQUEST['mla_download_t
|
|
18 |
MLAFileDownloader::mla_process_download_file();
|
19 |
}
|
20 |
|
21 |
-
MLAFileDownloader::
|
22 |
?>
|
18 |
MLAFileDownloader::mla_process_download_file();
|
19 |
}
|
20 |
|
21 |
+
MLAFileDownloader::mla_die( 'MLA File Download parameters not set', __LINE__, 500 );
|
22 |
?>
|
phpDocs/files/includes/mla-plugin-loader.php.txt
CHANGED
@@ -57,7 +57,7 @@ function mla_plugin_loader_reporting_action () {
|
|
57 |
*/
|
58 |
require_once( MLA_PLUGIN_PATH . 'tests/class-mla-tests.php' );
|
59 |
|
60 |
-
$mla_plugin_loader_error_messages .= MLATest::min_php_version( '5.
|
61 |
$mla_plugin_loader_error_messages .= MLATest::min_WordPress_version( '3.5.0' );
|
62 |
|
63 |
if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
@@ -72,7 +72,6 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
72 |
* Minimum support functions required by all other components
|
73 |
*/
|
74 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core.php' );
|
75 |
-
//add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action_wpml', 1 );
|
76 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
77 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
78 |
|
@@ -118,24 +117,20 @@ if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
|
118 |
if ( isset( $_REQUEST['action'] ) ) {
|
119 |
if ( in_array( $_REQUEST['action'], $ajax_exceptions ) ) {
|
120 |
$ajax_only = false;
|
121 |
-
}
|
122 |
-
|
123 |
-
|
124 |
-
//Look for multi-lingual terms updates
|
125 |
-
if ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
126 |
-
global $sitepress;
|
127 |
|
128 |
-
|
129 |
-
$
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
}
|
140 |
}
|
141 |
|
57 |
*/
|
58 |
require_once( MLA_PLUGIN_PATH . 'tests/class-mla-tests.php' );
|
59 |
|
60 |
+
$mla_plugin_loader_error_messages .= MLATest::min_php_version( '5.3' );
|
61 |
$mla_plugin_loader_error_messages .= MLATest::min_WordPress_version( '3.5.0' );
|
62 |
|
63 |
if ( ! empty( $mla_plugin_loader_error_messages ) ) {
|
72 |
* Minimum support functions required by all other components
|
73 |
*/
|
74 |
require_once( MLA_PLUGIN_PATH . 'includes/class-mla-core.php' );
|
|
|
75 |
add_action( 'plugins_loaded', 'MLACore::mla_plugins_loaded_action', 0x7FFFFFFF );
|
76 |
add_action( 'init', 'MLACore::initialize', 0x7FFFFFFF );
|
77 |
|
117 |
if ( isset( $_REQUEST['action'] ) ) {
|
118 |
if ( in_array( $_REQUEST['action'], $ajax_exceptions ) ) {
|
119 |
$ajax_only = false;
|
120 |
+
} elseif ( 'mla-update-compat-fields' == $_REQUEST['action'] ) {
|
121 |
+
global $sitepress;
|
|
|
|
|
|
|
|
|
122 |
|
123 |
+
//Look for multi-lingual terms updates
|
124 |
+
if ( is_object( $sitepress ) || class_exists( 'Polylang' ) ) {
|
125 |
+
$ajax_only = false;
|
126 |
+
}
|
127 |
+
} elseif ( 'ajax-tag-search' == $_REQUEST['action'] ) {
|
128 |
+
global $sitepress;
|
129 |
+
|
130 |
+
//Look for WPML flat taxonomy autocomplete
|
131 |
+
if ( is_object( $sitepress ) ) {
|
132 |
+
$ajax_only = false;
|
133 |
+
}
|
134 |
}
|
135 |
}
|
136 |
|
phpDocs/files/index.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -468,7 +468,7 @@ will the rest of the plugin be loaded and run.</p>
|
|
468 |
<section class="span10 offset1">
|
469 |
<hr />
|
470 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
471 |
-
on
|
472 |
</section>
|
473 |
</section>
|
474 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1420614117"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1420614117" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
468 |
<section class="span10 offset1">
|
469 |
<hr />
|
470 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
471 |
+
on January 8th, 2017 at 11:24.
|
472 |
</section>
|
473 |
</section>
|
474 |
</section>
|
phpDocs/files/index.php.txt
CHANGED
@@ -16,10 +16,10 @@ 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-
|
23 |
|
24 |
This program is free software; you can redistribute it and/or modify
|
25 |
it under the terms of the GNU General Public License as published by
|
16 |
Author: David Lingren, Fair Trade Judaica
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 2.41
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
+
Copyright 2011-2017 David Lingren
|
23 |
|
24 |
This program is free software; you can redistribute it and/or modify
|
25 |
it under the terms of the GNU General Public License as published by
|
phpDocs/files/mla-uninstall.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -394,7 +394,7 @@
|
|
394 |
<section class="span10 offset1">
|
395 |
<hr />
|
396 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
397 |
-
on
|
398 |
</section>
|
399 |
</section>
|
400 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-692210433"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-692210433" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
394 |
<section class="span10 offset1">
|
395 |
<hr />
|
396 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
397 |
+
on January 8th, 2017 at 11:24.
|
398 |
</section>
|
399 |
</section>
|
400 |
</section>
|
phpDocs/files/tests.class-mla-tests.html
CHANGED
@@ -136,10 +136,10 @@
|
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
-
<div id="namespace-
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
@@ -298,7 +298,7 @@ to ensure the plugin can run in the current WordPress envrionment.</em></td>
|
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
-
on
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
136 |
<div class="accordion" style="margin-bottom: 0">
|
137 |
<div class="accordion-group">
|
138 |
<div class="accordion-heading">
|
139 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1211048047"></a>
|
140 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
141 |
</div>
|
142 |
+
<div id="namespace-1211048047" class="accordion-body collapse in">
|
143 |
<div class="accordion-inner">
|
144 |
|
145 |
|
298 |
<section class="span10 offset1">
|
299 |
<hr />
|
300 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
301 |
+
on January 8th, 2017 at 11:24.
|
302 |
</section>
|
303 |
</section>
|
304 |
</section>
|
phpDocs/graphs/class.html
CHANGED
@@ -152,7 +152,7 @@
|
|
152 |
<section class="span10 offset1">
|
153 |
<hr />
|
154 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
155 |
-
on
|
156 |
</section>
|
157 |
</section>
|
158 |
</section>
|
152 |
<section class="span10 offset1">
|
153 |
<hr />
|
154 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
155 |
+
on January 8th, 2017 at 11:24.
|
156 |
</section>
|
157 |
</section>
|
158 |
</section>
|
phpDocs/index.html
CHANGED
@@ -88,10 +88,10 @@
|
|
88 |
<div class="accordion" style="margin-bottom: 0">
|
89 |
<div class="accordion-group">
|
90 |
<div class="accordion-heading">
|
91 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
92 |
<a href="namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
93 |
</div>
|
94 |
-
<div id="namespace-
|
95 |
<div class="accordion-inner">
|
96 |
|
97 |
|
@@ -715,6 +715,36 @@ to ensure the plugin can run in the current WordPress envrionment.</em></td>
|
|
715 |
</aside>
|
716 |
</div>
|
717 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
718 |
|
719 |
<div class="row-fluid">
|
720 |
<section class="span8 content namespace">
|
@@ -849,7 +879,7 @@ to ensure the plugin can run in the current WordPress envrionment.</em></td>
|
|
849 |
<section class="span10 offset1">
|
850 |
<hr />
|
851 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
852 |
-
on
|
853 |
</section>
|
854 |
</section>
|
855 |
</section>
|
88 |
<div class="accordion" style="margin-bottom: 0">
|
89 |
<div class="accordion-group">
|
90 |
<div class="accordion-heading">
|
91 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-309403209"></a>
|
92 |
<a href="namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
93 |
</div>
|
94 |
+
<div id="namespace-309403209" class="accordion-body collapse in">
|
95 |
<div class="accordion-inner">
|
96 |
|
97 |
|
715 |
</aside>
|
716 |
</div>
|
717 |
|
718 |
+
<div class="row-fluid">
|
719 |
+
<div class="span8 content class">
|
720 |
+
<a id="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" name="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" class="anchor"></a>
|
721 |
+
<article id="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" class="constant">
|
722 |
+
<h3 class="">MLA_USE_NEW_CUSTOM_FIELDS_TAB</h3>
|
723 |
+
<pre class="signature">MLA_USE_NEW_CUSTOM_FIELDS_TAB</pre>
|
724 |
+
<p><em></em></p>
|
725 |
+
|
726 |
+
</article>
|
727 |
+
</div>
|
728 |
+
<aside class="span4 detailsbar">
|
729 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
730 |
+
<dl>
|
731 |
+
<dt>File</dt>
|
732 |
+
<dd><a href=""><div class="path-wrapper"></div></a></dd>
|
733 |
+
</dl>
|
734 |
+
<h2>Tags</h2>
|
735 |
+
<table class="table table-condensed">
|
736 |
+
<tr>
|
737 |
+
<th>
|
738 |
+
package
|
739 |
+
</th>
|
740 |
+
<td>
|
741 |
+
<p>Media Library Assistant</p>
|
742 |
+
</td>
|
743 |
+
</tr>
|
744 |
+
</table>
|
745 |
+
</aside>
|
746 |
+
</div>
|
747 |
+
|
748 |
|
749 |
<div class="row-fluid">
|
750 |
<section class="span8 content namespace">
|
879 |
<section class="span10 offset1">
|
880 |
<hr />
|
881 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
882 |
+
on January 8th, 2017 at 11:24.
|
883 |
</section>
|
884 |
</section>
|
885 |
</section>
|
phpDocs/namespaces/default.html
CHANGED
@@ -88,10 +88,10 @@
|
|
88 |
<div class="accordion" style="margin-bottom: 0">
|
89 |
<div class="accordion-group">
|
90 |
<div class="accordion-heading">
|
91 |
-
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-
|
92 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
93 |
</div>
|
94 |
-
<div id="namespace-
|
95 |
<div class="accordion-inner">
|
96 |
|
97 |
|
@@ -715,6 +715,36 @@ to ensure the plugin can run in the current WordPress envrionment.</em></td>
|
|
715 |
</aside>
|
716 |
</div>
|
717 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
718 |
|
719 |
<div class="row-fluid">
|
720 |
<section class="span8 content namespace">
|
@@ -849,7 +879,7 @@ to ensure the plugin can run in the current WordPress envrionment.</em></td>
|
|
849 |
<section class="span10 offset1">
|
850 |
<hr />
|
851 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
852 |
-
on
|
853 |
</section>
|
854 |
</section>
|
855 |
</section>
|
88 |
<div class="accordion" style="margin-bottom: 0">
|
89 |
<div class="accordion-group">
|
90 |
<div class="accordion-heading">
|
91 |
+
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1686538421"></a>
|
92 |
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
|
93 |
</div>
|
94 |
+
<div id="namespace-1686538421" class="accordion-body collapse in">
|
95 |
<div class="accordion-inner">
|
96 |
|
97 |
|
715 |
</aside>
|
716 |
</div>
|
717 |
|
718 |
+
<div class="row-fluid">
|
719 |
+
<div class="span8 content class">
|
720 |
+
<a id="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" name="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" class="anchor"></a>
|
721 |
+
<article id="constant_MLA_USE_NEW_CUSTOM_FIELDS_TAB" class="constant">
|
722 |
+
<h3 class="">MLA_USE_NEW_CUSTOM_FIELDS_TAB</h3>
|
723 |
+
<pre class="signature">MLA_USE_NEW_CUSTOM_FIELDS_TAB</pre>
|
724 |
+
<p><em></em></p>
|
725 |
+
|
726 |
+
</article>
|
727 |
+
</div>
|
728 |
+
<aside class="span4 detailsbar">
|
729 |
+
<h1><i class="icon-arrow-down"></i></h1>
|
730 |
+
<dl>
|
731 |
+
<dt>File</dt>
|
732 |
+
<dd><a href=""><div class="path-wrapper"></div></a></dd>
|
733 |
+
</dl>
|
734 |
+
<h2>Tags</h2>
|
735 |
+
<table class="table table-condensed">
|
736 |
+
<tr>
|
737 |
+
<th>
|
738 |
+
package
|
739 |
+
</th>
|
740 |
+
<td>
|
741 |
+
<p>Media Library Assistant</p>
|
742 |
+
</td>
|
743 |
+
</tr>
|
744 |
+
</table>
|
745 |
+
</aside>
|
746 |
+
</div>
|
747 |
+
|
748 |
|
749 |
<div class="row-fluid">
|
750 |
<section class="span8 content namespace">
|
879 |
<section class="span10 offset1">
|
880 |
<hr />
|
881 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
882 |
+
on January 8th, 2017 at 11:24.
|
883 |
</section>
|
884 |
</section>
|
885 |
</section>
|
phpDocs/phpdoc-cache-09/phpdoc-cache-file_e78bd1f438b0cb5d5f6786a6a5261096.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-24/phpdoc-cache-file_9f748c6a5680b7f4bbae35fc5dba9c05.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-2d/phpdoc-cache-file_f182fa6d101ebd4c1347b395d4e0d09b.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-2e/phpdoc-cache-file_7b302bfef0265361b96ada9759528bfc.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-3c/phpdoc-cache-file_64f0b0d3a47472c9553403299fca55ef.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-42/phpdoc-cache-file_a8685a59a213c287e0e3f5dbcac89e24.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-49/phpdoc-cache-file_c8e25eba757f98e4c5ec6e7328e24bf4.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-4a/phpdoc-cache-file_80f6c1f7736ed4e731f09a2afdb6460c.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-75/phpdoc-cache-file_79e0c8c9208742cd4edcbe8f0fd45dfa.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-9f/phpdoc-cache-file_6f51a23a7df2bb60165384fb76b6b751.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-b8/phpdoc-cache-file_01723604a91a3a16321da4e37147c196.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-bc/phpdoc-cache-file_b610fcb849a861bc5ee4852c0ba0176b.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-c8/phpdoc-cache-file_828e0013b8f3bc1bb22b4f57172b019d.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-ec/phpdoc-cache-file_1c03b602a1296f0507ceb5bb756949c3.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-ed/phpdoc-cache-file_fdda0a7412b95ed4019ae644151df777.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-f4/phpdoc-cache-file_3388de6239006370a61560dcb6b41de3.dat
CHANGED
Binary file
|
phpDocs/phpdoc-cache-f7/phpdoc-cache-file_c46af8cfafdef29a045ff87298aa3bc7.dat
CHANGED
Binary file
|
phpDocs/reports/deprecated.html
CHANGED
@@ -142,7 +142,7 @@
|
|
142 |
<section class="span10 offset1">
|
143 |
<hr />
|
144 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
145 |
-
on
|
146 |
</section>
|
147 |
</section>
|
148 |
</section>
|
142 |
<section class="span10 offset1">
|
143 |
<hr />
|
144 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
145 |
+
on January 8th, 2017 at 11:24.
|
146 |
</section>
|
147 |
</section>
|
148 |
</section>
|
phpDocs/reports/errors.html
CHANGED
@@ -225,7 +225,7 @@
|
|
225 |
<section class="span10 offset1">
|
226 |
<hr />
|
227 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
228 |
-
on
|
229 |
</section>
|
230 |
</section>
|
231 |
</section>
|
225 |
<section class="span10 offset1">
|
226 |
<hr />
|
227 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
228 |
+
on January 8th, 2017 at 11:24.
|
229 |
</section>
|
230 |
</section>
|
231 |
</section>
|
phpDocs/reports/markers.html
CHANGED
@@ -191,7 +191,7 @@
|
|
191 |
</tr>
|
192 |
<tr>
|
193 |
<td>TODO</td>
|
194 |
-
<td>
|
195 |
<td>be more selective
|
196 |
</tr>
|
197 |
</table>
|
@@ -237,7 +237,7 @@
|
|
237 |
<section class="span10 offset1">
|
238 |
<hr />
|
239 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
240 |
-
on
|
241 |
</section>
|
242 |
</section>
|
243 |
</section>
|
191 |
</tr>
|
192 |
<tr>
|
193 |
<td>TODO</td>
|
194 |
+
<td>88</td>
|
195 |
<td>be more selective
|
196 |
</tr>
|
197 |
</table>
|
237 |
<section class="span10 offset1">
|
238 |
<hr />
|
239 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
|
240 |
+
on January 8th, 2017 at 11:24.
|
241 |
</section>
|
242 |
</section>
|
243 |
</section>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: dglingren
|
|
3 |
Donate link: http://fairtradejudaica.org/make-a-difference/donate/
|
4 |
Tags: attachments, gallery, images, media, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, XMP, GPS, PDF, metadata, photos, photographs, photoblog, photo albums, lightroom, photoshop, MIME, mime-type, icon, upload, file extensions, WPML, Polylang, multilanguage, multilingual, localization
|
5 |
Requires at least: 3.5.0
|
6 |
-
Tested up to: 4.7
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -172,6 +172,23 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
172 |
|
173 |
== Changelog ==
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
= 2.40 =
|
176 |
* New: For WordPress 4.7 and later, the **thumbnail generation Bulk Action can generate native thumbnails** for items uploaded to the Media Library before updating to WP 4.7.
|
177 |
* New: The Settings/Media Library Assistant **Shortcodes tab has been re-written** with a more "WordPress-like" interface.
|
@@ -282,8 +299,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
282 |
|
283 |
== Upgrade Notice ==
|
284 |
|
285 |
-
= 2.
|
286 |
-
|
287 |
|
288 |
== Other Notes ==
|
289 |
|
3 |
Donate link: http://fairtradejudaica.org/make-a-difference/donate/
|
4 |
Tags: attachments, gallery, images, media, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, XMP, GPS, PDF, metadata, photos, photographs, photoblog, photo albums, lightroom, photoshop, MIME, mime-type, icon, upload, file extensions, WPML, Polylang, multilanguage, multilingual, localization
|
5 |
Requires at least: 3.5.0
|
6 |
+
Tested up to: 4.7.1
|
7 |
+
Stable tag: 2.41
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
172 |
|
173 |
== Changelog ==
|
174 |
|
175 |
+
= 2.41 =
|
176 |
+
* New: The `mla-substitution-parameter-hooks-example.php` example plugin "parent:" prefix has been enhanced to provide access to item's parent post/page custom field values. Simply code the custom field name as the value following the "parent:" prefix.
|
177 |
+
* New: A new "MLA Copy Item Example" plugin has been added. It adds a "Copy" action to the Media/Assistant admin submenu that lets you copy one or more existing MEdia LIbrary items, creating new items.
|
178 |
+
* New: The `woofixit.php` example plugin has new tools. The "Fill ALT Text (CT)" and "Replace ALT Text (CT)" tools apply a Content Template to the Product Image/Product Gallery Images.
|
179 |
+
* New: In the Settings/Media Library Assistant Documentation tab, "MLA Term List Examples" have been added.
|
180 |
+
* New: A new setting for the Debug tab logs details of the IPTC, EXIF, XMP and PDF metadata generation process.
|
181 |
+
* Fix: The minimum PHP version required by MLA has been updated from 5.4 to 5.3.
|
182 |
+
* Fix: Some EXIF values sourced from the IFD0 section are now properly converted to string values, and are no longer overwritten by values from the WINXP section. The WINXP values are available separately, e.g., `[+exif:WINXP.Title+]`.
|
183 |
+
* Fix: In the Settings/Media Library Assistant Documentation tab, links to EXIF information and standards have been updated.
|
184 |
+
* Fix: The MLA Reporting value on the Settings/Media LIbrary Assistant Debug tab handles hexadedimal values, e.g. "0xFFFF", properly with PHP version 7.x.
|
185 |
+
* Fix: IPTC/EXIF and custom field mapping rules now handle "invisible" custom fields (names beginning with underscore) correctly.
|
186 |
+
* Fix: For `[mla_gallery]`, a defect in applying the `mla_terms_connnector` parameter has been corrected.
|
187 |
+
* Fix: For `[mla_gallery]` pagination controls are now properly displayed when the `mla_paginate_rows` is returned from the `mla_gallery_arguments` filter. See, for example, the "MLA tax query Example" plugin.
|
188 |
+
* Fix: When Polylang is active, a problem with the "Attachments" column on the taxonomy edit submenu screens has been corrected.
|
189 |
+
* Fix: Handling for the Media/Assistant "Entries per page:" option setting has been changed to work more reliably and optionally log some debug information.
|
190 |
+
* Fix: Fatal PHP errors caused by `link=download` requests that do not specify all required parameters have been eliminated.
|
191 |
+
|
192 |
= 2.40 =
|
193 |
* New: For WordPress 4.7 and later, the **thumbnail generation Bulk Action can generate native thumbnails** for items uploaded to the Media Library before updating to WP 4.7.
|
194 |
* New: The Settings/Media Library Assistant **Shortcodes tab has been re-written** with a more "WordPress-like" interface.
|
299 |
|
300 |
== Upgrade Notice ==
|
301 |
|
302 |
+
= 2.41 =
|
303 |
+
Updated example plugins, EXIF improvements, PHP 5.3 compatibility, Polylang fix. Five enhancements in all, ten fixes.
|
304 |
|
305 |
== Other Notes ==
|
306 |
|
tpls/documentation-settings-tab.tpl
CHANGED
@@ -68,6 +68,7 @@ For more information about the example plugins, jump to <a href="#mla_example_pl
|
|
68 |
<li><a href="#term_list_data_selection">Term List Data Selection Parameters</a></li>
|
69 |
<li><a href="#term_list_data_selection_h">Term List Data Selection Parameters (Hierarchical Output)</a></li>
|
70 |
<li><a href="#term_list_substitution">Term List Substitution Parameters</a></li>
|
|
|
71 |
<li><a href="#mla_term_list_hooks">MLA Term List Filters (Hooks)</a></li>
|
72 |
</ul></div>
|
73 |
<ul style="list-style-position:inside; list-style:disc; line-height: 18px; clear:both">
|
@@ -2863,6 +2864,40 @@ Term list <strong>item-specific substitution parameters</strong> for the Markup
|
|
2863 |
</table>
|
2864 |
<p>
|
2865 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2866 |
<a name="mla_term_list_hooks"></a>
|
2867 |
</p>
|
2868 |
<h4>MLA Term List Filters (Hooks)</h4>
|
@@ -3357,7 +3392,7 @@ The <code>[mla_gallery]</code> shortcode can be used in combination with other g
|
|
3357 |
<table>
|
3358 |
<tr>
|
3359 |
<td class="mla-doc-table-label">mla_alt_shortcode</td>
|
3360 |
-
<td>the name of the shortcode to be called for gallery format and display. You can code "mla_gallery" or "no" to disable the alternate shortcode processing.</td>
|
3361 |
</tr>
|
3362 |
<tr>
|
3363 |
<td class="mla-doc-table-label">mla_alt_ids_name</td>
|
@@ -3681,6 +3716,10 @@ The item-level substitution parameter names are:
|
|
3681 |
<td>attachment post_parent (ID)</td>
|
3682 |
</tr>
|
3683 |
<tr>
|
|
|
|
|
|
|
|
|
3684 |
<td class="mla-doc-table-label">parent_title</td>
|
3685 |
<td>post_title of the parent, or '(unattached)'</td>
|
3686 |
</tr>
|
@@ -3692,6 +3731,9 @@ The item-level substitution parameter names are:
|
|
3692 |
<td class="mla-doc-table-label">parent_date</td>
|
3693 |
<td>upload date of the parent</td>
|
3694 |
</tr>
|
|
|
|
|
|
|
3695 |
<tr>
|
3696 |
<td class="mla-doc-table-label">title</td>
|
3697 |
<td>attachment post_title</td>
|
@@ -3738,7 +3780,7 @@ The item-level substitution parameter names are:
|
|
3738 |
</tr>
|
3739 |
<tr>
|
3740 |
<td class="mla-doc-table-label">file_url</td>
|
3741 |
-
<td>attachment guid</td>
|
3742 |
</tr>
|
3743 |
<tr>
|
3744 |
<td class="mla-doc-table-label">author_id</td>
|
@@ -3999,7 +4041,7 @@ There are eleven prefix values for field-level parameters. Prefix values must be
|
|
3999 |
Though the specification is not currently maintained by any industry or standards organization, almost all camera manufacturers use it. It is also supported by many image editing programs such as Adobe PhotoShop.
|
4000 |
For this category, you can code any of the field names embedded in the image by the camera or editing software. There is no official list of standard field names, so you just have to know the names your camera and software use; field names are case-sensitive.
|
4001 |
<br /> <br />
|
4002 |
-
You can find more information in the <a href="
|
4003 |
<br /> <br />
|
4004 |
MLA uses a standard PHP function, <a href="http://php.net/manual/en/function.exif-read-data.php" title="PHP Manual page for exif_read_data" target="_blank">exif_read_data</a>, to extract EXIF data from images. The function returns three arrays in addition to the raw EXIF data; COMPUTED, THUMBNAIL and COMMENT. You can access the array elements by prefacing the element you want with the array name. For example, the user comment text is available as "COMPUTED.UserComment" and "COMPUTED.UserCommentEncoding". You can also get "COMPUTED.Copyright" and its two parts (if present), "COMPUTED.Copyright.Photographer" and "COMPUTED.Copyright.Editor". The THUMBNAIL and COMMENT arrays work in a similar fashion.
|
4005 |
<br /> <br />
|
@@ -4606,7 +4648,7 @@ The MLA enhanced values for "Other Tags" are:</p>
|
|
4606 |
</p>
|
4607 |
<h4>Field-level enhanced EXIF GPS values</h4>
|
4608 |
<p>
|
4609 |
-
There are three basic forms of writing geographic coordinates; they are explained in a Wikipedia article, <a href="http://en.wikipedia.org/wiki/Geographic_coordinate_conversion" title="Wikipedia on Geographic coordinate conversion" target="_blank">Geographic coordinate conversion</a>. The <a href="http://www.cipa.jp/
|
4610 |
</p>
|
4611 |
<p>
|
4612 |
The native format of this data is somewhat complicated, so MLA converts the most common elements into a variety of convenient formats. You can use the enhanced values as-is or use them in a Content Template to compose the format(s) you need. You can access the native values with the names defined in the EXIF specification, e.g., "GPSLatitude". The enhanced values are provided in th "GPS" array and accessed with compound names, e.g., "GPS.Latitude". The MLA enhanced values are:</p>
|
@@ -6556,6 +6598,10 @@ Once that line is added to the <code>wp-config.php</code> file the "Debug" tab w
|
|
6556 |
<td class="mla-doc-table-label">8, or 0x0008</td>
|
6557 |
<td>writes MLA-specific messages to the log for thumbnail generation functions supporting the <code>[mla_gallery mla_viewer=...]</code> parameter.</td>
|
6558 |
</tr>
|
|
|
|
|
|
|
|
|
6559 |
</table>
|
6560 |
<p>
|
6561 |
You can pick the logging categories you want by adding the above values together. For example, to log only PHP messages you can use <code>define( 'MLA_DEBUG_LEVEL', 1 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0001 );</code>. To add the "Ajax" messages you can use <code>define( 'MLA_DEBUG_LEVEL', 3 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0003 );</code>. The hexadecimal notation ( 0x0003 ) can be easier to understand when several options are involved.
|
68 |
<li><a href="#term_list_data_selection">Term List Data Selection Parameters</a></li>
|
69 |
<li><a href="#term_list_data_selection_h">Term List Data Selection Parameters (Hierarchical Output)</a></li>
|
70 |
<li><a href="#term_list_substitution">Term List Substitution Parameters</a></li>
|
71 |
+
<li><a href="#mla_term_list_examples">MLA Term List Examples</a></li>
|
72 |
<li><a href="#mla_term_list_hooks">MLA Term List Filters (Hooks)</a></li>
|
73 |
</ul></div>
|
74 |
<ul style="list-style-position:inside; list-style:disc; line-height: 18px; clear:both">
|
2864 |
</table>
|
2865 |
<p>
|
2866 |
|
2867 |
+
<a name="mla_term_list_examples"></a>
|
2868 |
+
</p>
|
2869 |
+
<h4>MLA Term List Examples</h4>
|
2870 |
+
<p>
|
2871 |
+
Here is a simple example of a dropdown control for the Att. Categories taxonomy:
|
2872 |
+
</p>
|
2873 |
+
<p>
|
2874 |
+
<code>
|
2875 |
+
<form id="mla-text-form" action="." method="post" class="row"><br />
|
2876 |
+
<strong>Att. Categories</strong><br />
|
2877 |
+
[mla_term_list taxonomy=attachment_category mla_output=dropdown mla_option_value="{+slug+}" show_count=true pad_counts=false ]<br />
|
2878 |
+
<br />
|
2879 |
+
<input id="text-form-submit" name="text_form_submit" type="submit" value="Search" /><br />
|
2880 |
+
</form><br />
|
2881 |
+
<br />
|
2882 |
+
<h3>Gallery</h3><br />
|
2883 |
+
[mla_gallery]<br />
|
2884 |
+
attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}"<br />
|
2885 |
+
posts_per_page=3 mla_output="paginate_links,prev_next"<br />
|
2886 |
+
mla_link_href='{+new_url+}?mla_paginate_current={+new_page+}&tax_input[attachment_category]="{+query:attachment_category,text+}"'<br />
|
2887 |
+
[/mla_gallery]<br />
|
2888 |
+
<br />
|
2889 |
+
[mla_gallery attachment_category="{+template:({+request:tax_input.attachment_category+}|no-term-selected)+}" posts_per_page=3 mla_caption="{+title+} : {+description+}" mla_nolink_text="<br>Select a term to display the gallery.<br>"]
|
2890 |
+
</code>
|
2891 |
+
</p>
|
2892 |
+
<p>
|
2893 |
+
As you can see, the key is passing the selected term from the form to the gallery shortcodes. By default, the <code>[mla_term_list]</code> shortcode collects all of its results in the <code>tax_input</code> array, keyed by taxonomy slug. The example combines this with an invalid term slug so the gallery will be empty until a term is selected in the dropdown. Note that the pagination shortcode uses the “enclosing shortcode” format so HTML characters in the mla_link_href parameter are not corrupted by the WordPress shortcode parsing process.
|
2894 |
+
</p>
|
2895 |
+
<p>
|
2896 |
+
You can experiment with a category checklist format by simply changing <code>mla_output=dropdown</code> to <code>mla_output=checklist</code> in the <code>[mla_term_list]</code> shortcode.
|
2897 |
+
You will also see that the term you select doesn’t “stick” in the dropdown control when the page is refreshed with the gallery display. That is one motivation or the “MLA UI Elements Example” plugin. You can use that example plugin to improve the user experience after you have got the basic application going.
|
2898 |
+
</p>
|
2899 |
+
<p>
|
2900 |
+
|
2901 |
<a name="mla_term_list_hooks"></a>
|
2902 |
</p>
|
2903 |
<h4>MLA Term List Filters (Hooks)</h4>
|
3392 |
<table>
|
3393 |
<tr>
|
3394 |
<td class="mla-doc-table-label">mla_alt_shortcode</td>
|
3395 |
+
<td>the name of the shortcode to be called for gallery format and display. You can code "mla_gallery" (recommended) or "no" to disable the alternate shortcode processing.</td>
|
3396 |
</tr>
|
3397 |
<tr>
|
3398 |
<td class="mla-doc-table-label">mla_alt_ids_name</td>
|
3716 |
<td>attachment post_parent (ID)</td>
|
3717 |
</tr>
|
3718 |
<tr>
|
3719 |
+
<td class="mla-doc-table-label">parent_name</td>
|
3720 |
+
<td>post_name of the parent, or an empty string</td>
|
3721 |
+
</tr>
|
3722 |
+
<tr>
|
3723 |
<td class="mla-doc-table-label">parent_title</td>
|
3724 |
<td>post_title of the parent, or '(unattached)'</td>
|
3725 |
</tr>
|
3731 |
<td class="mla-doc-table-label">parent_date</td>
|
3732 |
<td>upload date of the parent</td>
|
3733 |
</tr>
|
3734 |
+
<td class="mla-doc-table-label">parent_permalink</td>
|
3735 |
+
<td>permalink to the parent</td>
|
3736 |
+
</tr>
|
3737 |
<tr>
|
3738 |
<td class="mla-doc-table-label">title</td>
|
3739 |
<td>attachment post_title</td>
|
3780 |
</tr>
|
3781 |
<tr>
|
3782 |
<td class="mla-doc-table-label">file_url</td>
|
3783 |
+
<td>attachment guid; full path and file name in URL format</td>
|
3784 |
</tr>
|
3785 |
<tr>
|
3786 |
<td class="mla-doc-table-label">author_id</td>
|
4041 |
Though the specification is not currently maintained by any industry or standards organization, almost all camera manufacturers use it. It is also supported by many image editing programs such as Adobe PhotoShop.
|
4042 |
For this category, you can code any of the field names embedded in the image by the camera or editing software. There is no official list of standard field names, so you just have to know the names your camera and software use; field names are case-sensitive.
|
4043 |
<br /> <br />
|
4044 |
+
You can find more information in the <a href="https://en.wikipedia.org/wiki/Exif" title="Exchangeable image file format Wikipedia article" target="_blank">Exchangeable image file format</a> article on Wikipedia. You can find External Links to EXIF standards and tag listings at the end of the Wikipedia article.
|
4045 |
<br /> <br />
|
4046 |
MLA uses a standard PHP function, <a href="http://php.net/manual/en/function.exif-read-data.php" title="PHP Manual page for exif_read_data" target="_blank">exif_read_data</a>, to extract EXIF data from images. The function returns three arrays in addition to the raw EXIF data; COMPUTED, THUMBNAIL and COMMENT. You can access the array elements by prefacing the element you want with the array name. For example, the user comment text is available as "COMPUTED.UserComment" and "COMPUTED.UserCommentEncoding". You can also get "COMPUTED.Copyright" and its two parts (if present), "COMPUTED.Copyright.Photographer" and "COMPUTED.Copyright.Editor". The THUMBNAIL and COMMENT arrays work in a similar fashion.
|
4047 |
<br /> <br />
|
4648 |
</p>
|
4649 |
<h4>Field-level enhanced EXIF GPS values</h4>
|
4650 |
<p>
|
4651 |
+
There are three basic forms of writing geographic coordinates; they are explained in a Wikipedia article, <a href="http://en.wikipedia.org/wiki/Geographic_coordinate_conversion" title="Wikipedia on Geographic coordinate conversion" target="_blank">Geographic coordinate conversion</a>. The <a href="http://www.cipa.jp/std/documents/e/DC-008-2012_E.pdf" title="EXIF Version 2.3 specification" target="_blank">Exif Standard version 2.3</a> (PDF) and <a href="http://www.cipa.jp/std/documents/e/DC-008-Translation-2016-E.pdf" title="EXIF Version 2.31 specification" target="_blank">Exif Standard version 2.3</a> (PDF) documents explain the structure and defines the rules for 32 GPS elements.
|
4652 |
</p>
|
4653 |
<p>
|
4654 |
The native format of this data is somewhat complicated, so MLA converts the most common elements into a variety of convenient formats. You can use the enhanced values as-is or use them in a Content Template to compose the format(s) you need. You can access the native values with the names defined in the EXIF specification, e.g., "GPSLatitude". The enhanced values are provided in th "GPS" array and accessed with compound names, e.g., "GPS.Latitude". The MLA enhanced values are:</p>
|
6598 |
<td class="mla-doc-table-label">8, or 0x0008</td>
|
6599 |
<td>writes MLA-specific messages to the log for thumbnail generation functions supporting the <code>[mla_gallery mla_viewer=...]</code> parameter.</td>
|
6600 |
</tr>
|
6601 |
+
<tr>
|
6602 |
+
<td class="mla-doc-table-label">16, or 0x0010</td>
|
6603 |
+
<td>writes MLA-specific messages to the log for IPTC, EXIF, XMP and PDF metadata generation.</td>
|
6604 |
+
</tr>
|
6605 |
</table>
|
6606 |
<p>
|
6607 |
You can pick the logging categories you want by adding the above values together. For example, to log only PHP messages you can use <code>define( 'MLA_DEBUG_LEVEL', 1 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0001 );</code>. To add the "Ajax" messages you can use <code>define( 'MLA_DEBUG_LEVEL', 3 );</code> or <code>define( 'MLA_DEBUG_LEVEL', 0x0003 );</code>. The hexadecimal notation ( 0x0003 ) can be easier to understand when several options are involved.
|