Version Description
- Important Fix: For the Media/Assistant submenu table, Quick Edit, Bulk Edit, Screen Options and Help functions have been restored.
- Fix: For the "Select Parent" popup window, the "close icon" ("x") now appears in the upper-right corner of the popup in WordPress versions before 3.8.x
- Fix: For
[mla_gallery]
, tax_query no longer restricted to parent post/page. Thepost_parent="current"
parameter can be used to restore the restriction. - Fix: In the Settings/Media Library Assistant Documentation tab "Data Sources for custom field mapping" section,
parent_name
has been corrected toparent_title
.
Download this release
Release Info
Developer | dglingren |
Plugin | Media Library Assistant |
Version | 1.83 |
Comparing to | |
See all releases |
Code changes from version 1.82 to 1.83
- css/mla-style-set-parent.css +8 -1
- includes/class-mla-edit-media.php +6 -0
- includes/class-mla-main.php +7 -1
- includes/class-mla-shortcodes.php +35 -98
- index.php +2 -2
- js/mla-media-modal-scripts.js +71 -71
- js/mla-media-modal-scripts.min.js +1 -1
- js/mla-set-parent-scripts.js +6 -0
- js/mla-set-parent-scripts.min.js +1 -1
- phpDocs/classes/MLA.html +1 -1
- phpDocs/classes/MLAData.html +1 -1
- phpDocs/classes/MLAEdit.html +1 -1
- phpDocs/classes/MLAMime.html +1 -1
- phpDocs/classes/MLAModal.html +1 -1
- phpDocs/classes/MLAObjects.html +1 -1
- phpDocs/classes/MLAOptions.html +1 -1
- phpDocs/classes/MLASettings.html +1 -1
- phpDocs/classes/MLAShortcodes.html +24 -5
- phpDocs/classes/MLATest.html +1 -1
- phpDocs/classes/MLATextWidget.html +1 -1
- phpDocs/classes/MLA_Checklist_Walker.html +1 -1
- phpDocs/classes/MLA_List_Table.html +1 -1
- phpDocs/classes/MLA_Upload_List_Table.html +1 -1
- phpDocs/classes/MLA_Upload_Optional_List_Table.html +1 -1
- phpDocs/classes/MLA_View_List_Table.html +1 -1
- phpDocs/deprecated.html +1 -1
- phpDocs/errors.html +1 -1
- phpDocs/graph_class.html +1 -1
- phpDocs/index.html +1 -1
- phpDocs/markers.html +1 -1
- phpDocs/namespaces/global.html +1 -1
- phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html +1 -1
- phpDocs/packages/Media Library Assistant.MLA.Child.html +1 -1
- phpDocs/packages/Media Library Assistant.MLA.html +1 -1
- phpDocs/packages/Media Library Assistant.html +1 -1
- phpDocs/structure.xml +578 -559
- readme.txt +9 -3
- tpls/documentation-settings-tab.tpl +2 -2
css/mla-style-set-parent.css
CHANGED
@@ -80,6 +80,12 @@
|
|
80 |
right: 0;
|
81 |
cursor: pointer;
|
82 |
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
color: #666;
|
84 |
}
|
85 |
|
@@ -87,7 +93,8 @@
|
|
87 |
color: #2ea2cc;
|
88 |
}
|
89 |
|
90 |
-
|
|
|
91 |
font: normal 20px/36px 'dashicons';
|
92 |
vertical-align: top;
|
93 |
speak: none;
|
80 |
right: 0;
|
81 |
cursor: pointer;
|
82 |
text-align: center;
|
83 |
+
vertical-align: middle;
|
84 |
+
font-style: normal;
|
85 |
+
font-variant: normal;
|
86 |
+
font-weight: bold;
|
87 |
+
font-size: 24px;
|
88 |
+
font-family: "Open Sans", sans-serif
|
89 |
color: #666;
|
90 |
}
|
91 |
|
93 |
color: #2ea2cc;
|
94 |
}
|
95 |
|
96 |
+
/* Added in JavaScript code */
|
97 |
+
.mla-set-parent-close-div-dashicons:before {
|
98 |
font: normal 20px/36px 'dashicons';
|
99 |
vertical-align: top;
|
100 |
speak: none;
|
includes/class-mla-edit-media.php
CHANGED
@@ -179,6 +179,12 @@ class MLAEdit {
|
|
179 |
$script_variables['setParentDataType'] = 'xml';
|
180 |
}
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
wp_localize_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, self::JAVASCRIPT_EDIT_MEDIA_OBJECT, $script_variables );
|
183 |
}
|
184 |
|
179 |
$script_variables['setParentDataType'] = 'xml';
|
180 |
}
|
181 |
|
182 |
+
if ( version_compare( get_bloginfo( 'version' ), '3.8', '>=' ) ) {
|
183 |
+
$script_variables['useDashicons'] = true;
|
184 |
+
} else {
|
185 |
+
$script_variables['useDashicons'] = false;
|
186 |
+
}
|
187 |
+
|
188 |
wp_localize_script( self::JAVASCRIPT_EDIT_MEDIA_SLUG, self::JAVASCRIPT_EDIT_MEDIA_OBJECT, $script_variables );
|
189 |
}
|
190 |
|
includes/class-mla-main.php
CHANGED
@@ -29,7 +29,7 @@ class MLA {
|
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
-
const CURRENT_MLA_VERSION = '1.
|
33 |
|
34 |
/**
|
35 |
* Slug for registering and enqueueing plugin style sheet
|
@@ -349,6 +349,12 @@ class MLA {
|
|
349 |
$script_variables['setParentDataType'] = 'xml';
|
350 |
}
|
351 |
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
wp_localize_script( self::JAVASCRIPT_INLINE_EDIT_SLUG, self::JAVASCRIPT_INLINE_EDIT_OBJECT, $script_variables );
|
353 |
}
|
354 |
}
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
+
const CURRENT_MLA_VERSION = '1.83';
|
33 |
|
34 |
/**
|
35 |
* Slug for registering and enqueueing plugin style sheet
|
349 |
$script_variables['setParentDataType'] = 'xml';
|
350 |
}
|
351 |
|
352 |
+
if ( version_compare( get_bloginfo( 'version' ), '3.8', '>=' ) ) {
|
353 |
+
$script_variables['useDashicons'] = true;
|
354 |
+
} else {
|
355 |
+
$script_variables['useDashicons'] = false;
|
356 |
+
}
|
357 |
+
|
358 |
wp_localize_script( self::JAVASCRIPT_INLINE_EDIT_SLUG, self::JAVASCRIPT_INLINE_EDIT_OBJECT, $script_variables );
|
359 |
}
|
360 |
}
|
includes/class-mla-shortcodes.php
CHANGED
@@ -27,112 +27,20 @@ class MLAShortcodes {
|
|
27 |
}
|
28 |
|
29 |
/**
|
30 |
-
*
|
31 |
*
|
32 |
* @since 0.1
|
33 |
*
|
34 |
* @return void echoes HTML markup for the attachment list
|
35 |
*/
|
36 |
-
public static function mla_attachment_list_shortcode(
|
37 |
global $wpdb;
|
38 |
|
39 |
-
/* extract(shortcode_atts(array(
|
40 |
-
'item_type'=>'attachment',
|
41 |
-
'organize_by'=>'title',
|
42 |
-
), $atts)); */
|
43 |
-
|
44 |
/*
|
45 |
* This shortcode is not documented and no longer supported.
|
46 |
*/
|
47 |
echo 'The [mla_attachment_list] shortcode is no longer supported.';
|
48 |
return;
|
49 |
-
|
50 |
-
/*
|
51 |
-
* Process the where-used settings option
|
52 |
-
*/
|
53 |
-
if ('checked' == MLAOptions::mla_get_option( MLAOptions::MLA_EXCLUDE_REVISIONS ) ) {
|
54 |
-
$exclude_revisions = "(post_type <> 'revision') AND ";
|
55 |
-
} else {
|
56 |
-
$exclude_revisions = '';
|
57 |
-
}
|
58 |
-
|
59 |
-
$attachments = $wpdb->get_results(
|
60 |
-
"
|
61 |
-
SELECT ID, post_title, post_name, post_parent
|
62 |
-
FROM {$wpdb->posts}
|
63 |
-
WHERE {$exclude_revisions}post_type = 'attachment'
|
64 |
-
"
|
65 |
-
);
|
66 |
-
|
67 |
-
foreach ( $attachments as $attachment ) {
|
68 |
-
$references = MLAData::mla_fetch_attachment_references( $attachment->ID, $attachment->post_parent );
|
69 |
-
|
70 |
-
echo ' <br><h3>' . $attachment->ID . ', ' . esc_attr( $attachment->post_title ) . ', Parent: ' . $attachment->post_parent . '<br>' . esc_attr( $attachment->post_name ) . '<br>' . esc_html( $references['base_file'] ) . "</h3>\r\n";
|
71 |
-
|
72 |
-
/*
|
73 |
-
* Look for the "Featured Image(s)"
|
74 |
-
*/
|
75 |
-
if ( empty( $references['features'] ) ) {
|
76 |
-
echo " not featured in any posts.<br>\r\n";
|
77 |
-
} else {
|
78 |
-
echo " Featured in<br>\r\n";
|
79 |
-
foreach ( $references['features'] as $feature_id => $feature ) {
|
80 |
-
echo ' ';
|
81 |
-
|
82 |
-
if ( $feature_id == $attachment->post_parent ) {
|
83 |
-
echo 'PARENT ';
|
84 |
-
$found_parent = true;
|
85 |
-
}
|
86 |
-
|
87 |
-
echo $feature_id . ' (' . $feature->post_type . '), ' . esc_attr( $feature->post_title ) . "<br>\r\n";
|
88 |
-
}
|
89 |
-
}
|
90 |
-
|
91 |
-
/*
|
92 |
-
* Look for item(s) inserted in post_content
|
93 |
-
*/
|
94 |
-
if ( empty( $references['inserts'] ) ) {
|
95 |
-
echo " no inserts in any post_content.<br>\r\n";
|
96 |
-
} else {
|
97 |
-
foreach ( $references['inserts'] as $file => $inserts ) {
|
98 |
-
echo ' ' . $file . " inserted in<br>\r\n";
|
99 |
-
foreach ( $inserts as $insert ) {
|
100 |
-
echo ' ';
|
101 |
-
|
102 |
-
if ( $insert->ID == $attachment->post_parent ) {
|
103 |
-
echo 'PARENT ';
|
104 |
-
$found_parent = true;
|
105 |
-
}
|
106 |
-
|
107 |
-
echo $insert->ID . ' (' . $insert->post_type . '), ' . esc_attr( $insert->post_title ) . "<br>\r\n";
|
108 |
-
} // foreach $insert
|
109 |
-
} // foreach $file
|
110 |
-
}
|
111 |
-
|
112 |
-
$errors = '';
|
113 |
-
|
114 |
-
if ( !$references['found_reference'] ) {
|
115 |
-
$errors .= '(ORPHAN) ';
|
116 |
-
}
|
117 |
-
|
118 |
-
if ( $references['is_unattached'] ) {
|
119 |
-
$errors .= '(UNATTACHED) ';
|
120 |
-
} else {
|
121 |
-
if ( !$references['found_parent'] ) {
|
122 |
-
if ( isset( $references['parent_title'] ) ) {
|
123 |
-
$errors .= '(BAD PARENT) ';
|
124 |
-
} else {
|
125 |
-
$errors .= '(INVALID PARENT) ';
|
126 |
-
}
|
127 |
-
}
|
128 |
-
}
|
129 |
-
|
130 |
-
if ( !empty( $errors ) ) {
|
131 |
-
echo ' ' . $errors . "<br>\r\n";
|
132 |
-
}
|
133 |
-
} // foreach attachment
|
134 |
-
|
135 |
-
echo "<br>----- End of Report -----\r\n";
|
136 |
}
|
137 |
|
138 |
/**
|
@@ -2308,8 +2216,7 @@ class MLAShortcodes {
|
|
2308 |
/**
|
2309 |
* WP_Query filter "parameters"
|
2310 |
*
|
2311 |
-
* This array defines parameters for the query's where and orderby filters
|
2312 |
-
* mla_shortcode_query_posts_where_filter and mla_shortcode_query_posts_orderby_filter.
|
2313 |
* The parameters are set up in the mla_get_shortcode_attachments function, and
|
2314 |
* any further logic required to translate those values is contained in the filter.
|
2315 |
*
|
@@ -2651,7 +2558,7 @@ class MLAShortcodes {
|
|
2651 |
/*
|
2652 |
* $query_arguments has been initialized in the taxonomy code above.
|
2653 |
*/
|
2654 |
-
$use_children = empty( $query_arguments );
|
2655 |
foreach ($arguments as $key => $value ) {
|
2656 |
/*
|
2657 |
* There are several "fallthru" cases in this switch statement that decide
|
@@ -2672,6 +2579,7 @@ class MLAShortcodes {
|
|
2672 |
break;
|
2673 |
case 'current':
|
2674 |
$value = $post_parent;
|
|
|
2675 |
break;
|
2676 |
case 'none':
|
2677 |
self::$query_parameters['post_parent'] = 'none';
|
@@ -2896,6 +2804,8 @@ class MLAShortcodes {
|
|
2896 |
/*
|
2897 |
* Decide whether to use a "get_children" style query
|
2898 |
*/
|
|
|
|
|
2899 |
if ( $use_children && ! isset( $query_arguments['post_parent'] ) ) {
|
2900 |
if ( ! isset( $query_arguments['id'] ) ) {
|
2901 |
$query_arguments['post_parent'] = $post_parent;
|
@@ -2964,8 +2874,9 @@ class MLAShortcodes {
|
|
2964 |
add_filter( 'posts_clauses_request', 'MLAShortcodes::mla_shortcode_query_posts_clauses_request_filter', 0x7FFFFFFF, 1 );
|
2965 |
}
|
2966 |
|
2967 |
-
add_filter( '
|
2968 |
add_filter( 'posts_where', 'MLAShortcodes::mla_shortcode_query_posts_where_filter', 0x7FFFFFFF, 1 );
|
|
|
2969 |
|
2970 |
if ( self::$mla_debug ) {
|
2971 |
global $wp_filter;
|
@@ -3034,6 +2945,32 @@ class MLAShortcodes {
|
|
3034 |
return $attachments;
|
3035 |
}
|
3036 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3037 |
/**
|
3038 |
* Filters the WHERE clause for shortcode queries
|
3039 |
*
|
27 |
}
|
28 |
|
29 |
/**
|
30 |
+
* Obsolete; no longer supported
|
31 |
*
|
32 |
* @since 0.1
|
33 |
*
|
34 |
* @return void echoes HTML markup for the attachment list
|
35 |
*/
|
36 |
+
public static function mla_attachment_list_shortcode() {
|
37 |
global $wpdb;
|
38 |
|
|
|
|
|
|
|
|
|
|
|
39 |
/*
|
40 |
* This shortcode is not documented and no longer supported.
|
41 |
*/
|
42 |
echo 'The [mla_attachment_list] shortcode is no longer supported.';
|
43 |
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
/**
|
2216 |
/**
|
2217 |
* WP_Query filter "parameters"
|
2218 |
*
|
2219 |
+
* This array defines parameters for the query's join, where and orderby filters.
|
|
|
2220 |
* The parameters are set up in the mla_get_shortcode_attachments function, and
|
2221 |
* any further logic required to translate those values is contained in the filter.
|
2222 |
*
|
2558 |
/*
|
2559 |
* $query_arguments has been initialized in the taxonomy code above.
|
2560 |
*/
|
2561 |
+
$is_tax_query = ! ($use_children = empty( $query_arguments ));
|
2562 |
foreach ($arguments as $key => $value ) {
|
2563 |
/*
|
2564 |
* There are several "fallthru" cases in this switch statement that decide
|
2579 |
break;
|
2580 |
case 'current':
|
2581 |
$value = $post_parent;
|
2582 |
+
$use_children = true;
|
2583 |
break;
|
2584 |
case 'none':
|
2585 |
self::$query_parameters['post_parent'] = 'none';
|
2804 |
/*
|
2805 |
* Decide whether to use a "get_children" style query
|
2806 |
*/
|
2807 |
+
self::$query_parameters['disable_tax_join'] = $is_tax_query && ! $use_children;
|
2808 |
+
|
2809 |
if ( $use_children && ! isset( $query_arguments['post_parent'] ) ) {
|
2810 |
if ( ! isset( $query_arguments['id'] ) ) {
|
2811 |
$query_arguments['post_parent'] = $post_parent;
|
2874 |
add_filter( 'posts_clauses_request', 'MLAShortcodes::mla_shortcode_query_posts_clauses_request_filter', 0x7FFFFFFF, 1 );
|
2875 |
}
|
2876 |
|
2877 |
+
add_filter( 'posts_join', 'MLAShortcodes::mla_shortcode_query_posts_join_filter', 0x7FFFFFFF, 1 );
|
2878 |
add_filter( 'posts_where', 'MLAShortcodes::mla_shortcode_query_posts_where_filter', 0x7FFFFFFF, 1 );
|
2879 |
+
add_filter( 'posts_orderby', 'MLAShortcodes::mla_shortcode_query_posts_orderby_filter', 0x7FFFFFFF, 1 );
|
2880 |
|
2881 |
if ( self::$mla_debug ) {
|
2882 |
global $wp_filter;
|
2945 |
return $attachments;
|
2946 |
}
|
2947 |
|
2948 |
+
/**
|
2949 |
+
* Filters the JOIN clause for shortcode queries
|
2950 |
+
*
|
2951 |
+
* Defined as public because it's a filter.
|
2952 |
+
*
|
2953 |
+
* @since 1.8x
|
2954 |
+
*
|
2955 |
+
* @param string query clause before modification
|
2956 |
+
*
|
2957 |
+
* @return string query clause after item modification
|
2958 |
+
*/
|
2959 |
+
public static function mla_shortcode_query_posts_join_filter( $join_clause ) {
|
2960 |
+
global $wpdb;
|
2961 |
+
|
2962 |
+
/*
|
2963 |
+
* Set for taxonomy queries unless post_parent=current. If true, we must disable
|
2964 |
+
* the LEFT JOIN clause that get_posts() adds to taxonomy queries.
|
2965 |
+
* We leave the clause in because the WHERE clauses refer to "p2.".
|
2966 |
+
*/
|
2967 |
+
if ( self::$query_parameters['disable_tax_join'] ) {
|
2968 |
+
$join_clause = str_replace( " LEFT JOIN $wpdb->posts AS p2 ON ($wpdb->posts.post_parent = p2.ID) ", " LEFT JOIN $wpdb->posts AS p2 ON (p2.ID = p2.ID) ", $join_clause );
|
2969 |
+
}
|
2970 |
+
|
2971 |
+
return $join_clause;
|
2972 |
+
}
|
2973 |
+
|
2974 |
/**
|
2975 |
* Filters the WHERE clause for shortcode queries
|
2976 |
*
|
index.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
-
* @version 1.
|
10 |
*/
|
11 |
|
12 |
/*
|
@@ -16,7 +16,7 @@ Description: Enhances the Media Library; powerful[mla_gallery], taxonomy support
|
|
16 |
Author: David Lingren
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
-
Version: 1.
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2011-2014 David Lingren
|
6 |
* will the rest of the plugin be loaded and run.
|
7 |
*
|
8 |
* @package Media Library Assistant
|
9 |
+
* @version 1.83
|
10 |
*/
|
11 |
|
12 |
/*
|
16 |
Author: David Lingren
|
17 |
Text Domain: media-library-assistant
|
18 |
Domain Path: /languages
|
19 |
+
Version: 1.83
|
20 |
Author URI: http://fairtradejudaica.org/our-story/staff/
|
21 |
|
22 |
Copyright 2011-2014 David Lingren
|
js/mla-media-modal-scripts.js
CHANGED
@@ -404,7 +404,7 @@
|
|
404 |
}; // one or more MLA options enabled
|
405 |
}(jQuery));
|
406 |
|
407 |
-
var
|
408 |
// Properties
|
409 |
strings: {},
|
410 |
settings: {},
|
@@ -429,17 +429,17 @@ var mla = {
|
|
429 |
/**
|
430 |
* Localized settings and strings
|
431 |
*/
|
432 |
-
|
433 |
//delete media.view.l10n.mla_strings;
|
434 |
|
435 |
-
|
436 |
//delete wp.media.view.settings.mla_settings;
|
437 |
|
438 |
/**
|
439 |
* return a sorted array with any duplicate, whitespace or values removed
|
440 |
* Adapted from /wp-admin/js/post.js
|
441 |
*/
|
442 |
-
|
443 |
var arrayOut = [], isString = ( 'string' === typeof arrayIn );
|
444 |
|
445 |
if( isString ) {
|
@@ -468,7 +468,7 @@ var mla = {
|
|
468 |
* Extract the taxonomy name from an HTML id attribute,
|
469 |
* removing the 'mla-' and 'taxonomy-' prefixes.
|
470 |
*/
|
471 |
-
|
472 |
var taxonomyParts = id.split( '-' );
|
473 |
|
474 |
taxonomyParts.shift(); // 'mla-'
|
@@ -479,7 +479,7 @@ var mla = {
|
|
479 |
/**
|
480 |
* Support functions for flat taxonomies, e.g. Tags, Att. Tags
|
481 |
*/
|
482 |
-
|
483 |
/**
|
484 |
* Remove duplicate commas and whitespace from a string containing a tag list
|
485 |
*/
|
@@ -556,7 +556,7 @@ var mla = {
|
|
556 |
// If tags editing isn't disabled, create the X button.
|
557 |
if ( ! disabled ) {
|
558 |
xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton">X</a>' );
|
559 |
-
xbutton.click( function(){
|
560 |
span.prepend( ' ' ).prepend( xbutton );
|
561 |
}
|
562 |
|
@@ -580,7 +580,7 @@ var mla = {
|
|
580 |
tagsval = tags.val();
|
581 |
newtags = tagsval ? tagsval + comma + text : text;
|
582 |
|
583 |
-
newtags =
|
584 |
tags.val( newtags );
|
585 |
this.quickClicks( tagsDiv );
|
586 |
|
@@ -606,7 +606,7 @@ var mla = {
|
|
606 |
|
607 |
r = $( '<p id="tagcloud-'+taxonomy+'" class="the-tagcloud">'+r+'</p>' );
|
608 |
$( 'a', r ).click( function(){
|
609 |
-
|
610 |
return false;
|
611 |
});
|
612 |
|
@@ -619,15 +619,15 @@ var mla = {
|
|
619 |
tagsDiv = $( '#mla-taxonomy-' + taxonomy, context );
|
620 |
ajaxTag = $( 'div.ajaxtag', tagsDiv );
|
621 |
|
622 |
-
|
623 |
|
624 |
$( 'input.tagadd', ajaxTag ).click(function(){
|
625 |
-
|
626 |
});
|
627 |
|
628 |
$( 'input.newtag', ajaxTag ).keyup( function( e ){
|
629 |
if ( 13 == e.which ) {
|
630 |
-
|
631 |
return false;
|
632 |
}
|
633 |
}).keypress( function( e ){
|
@@ -641,7 +641,7 @@ var mla = {
|
|
641 |
|
642 |
// get the tag cloud on first click, then toggle visibility
|
643 |
tagsDiv.siblings( ':first' ).click( function(){
|
644 |
-
|
645 |
$( 'a', this ).unbind().click( function(){
|
646 |
$( this ).siblings( '.the-tagcloud' ).toggle();
|
647 |
return false;
|
@@ -652,8 +652,8 @@ var mla = {
|
|
652 |
// Update the taxonomy terms, if changed, on the server when the mouse leaves the tagsdiv area
|
653 |
$( '.compat-field-' + taxonomy + ' td', context ).on( "mouseleave", function( event ) {
|
654 |
var query, tableData = this,
|
655 |
-
oldTerms =
|
656 |
-
termList =
|
657 |
|
658 |
if ( oldTerms === termList ) {
|
659 |
return;
|
@@ -670,7 +670,7 @@ var mla = {
|
|
670 |
};
|
671 |
query[ taxonomy ] = termList;
|
672 |
|
673 |
-
wp.media.post(
|
674 |
var taxonomy, list;
|
675 |
|
676 |
for ( taxonomy in results ) {
|
@@ -694,13 +694,13 @@ var mla = {
|
|
694 |
return false;
|
695 |
});
|
696 |
}
|
697 |
-
}; //
|
698 |
|
699 |
/*
|
700 |
* We can extend the AttachmentCompat object because it's not instantiated until
|
701 |
* the sidebar is created for a selected attachment.
|
702 |
*/
|
703 |
-
if (
|
704 |
wp.media.view.AttachmentCompat = wp.media.view.AttachmentCompat.extend({
|
705 |
initialize: function() {
|
706 |
// Call the base method in the super class
|
@@ -709,7 +709,7 @@ var mla = {
|
|
709 |
// Hook the 'ready' event when the sidebar has been rendered so we can add our enhancements
|
710 |
this.on( 'ready', function( event ) {
|
711 |
//console.log( 'view.AttachmentCompat ready Event: ', this.model.get('id') );
|
712 |
-
|
713 |
});
|
714 |
}
|
715 |
});
|
@@ -719,7 +719,7 @@ var mla = {
|
|
719 |
* We can extend the model.Selection object because it's not instantiated until
|
720 |
* the sidebar is created for a selected attachment.
|
721 |
*/
|
722 |
-
if (
|
723 |
wp.media.model.Selection = wp.media.model.Selection.extend({
|
724 |
initialize: function() {
|
725 |
// Call the base method in the super class
|
@@ -728,36 +728,36 @@ var mla = {
|
|
728 |
// Hook the 'selection:reset' event so we can add our enhancements when it's done
|
729 |
this.on( 'selection:reset', function( model ) {
|
730 |
//console.log( 'model.Selection selection:reset Event: cid ', model.cid, ', id ', model.get('id') );
|
731 |
-
|
732 |
});
|
733 |
|
734 |
// Hook the 'selection:unsingle' event so we can add our enhancements when it's done
|
735 |
this.on( 'selection:unsingle', function( model ) {
|
736 |
//console.log( 'model.Selection selection:unsingle Event: cid ', model.cid, ', id ', model.get('id') );
|
737 |
-
|
738 |
});
|
739 |
|
740 |
// Hook the 'selection:single' event so we can add our enhancements when it's done
|
741 |
this.on( 'selection:single', function( model ) {
|
742 |
//console.log( 'model.Selection selection:single Event: cid ', model.cid, ', id ', model.get('id') );
|
743 |
-
|
744 |
});
|
745 |
|
746 |
// Hook the 'change:uploading' event so we can add our enhancements when it's done
|
747 |
this.on( 'change:uploading', function( model ) {
|
748 |
//console.log( 'model.Selection change:uploading Event: cid ', model.cid, ', id ', model.get('id') );
|
749 |
-
|
750 |
});
|
751 |
|
752 |
// Hook the 'change' event when the sidebar has been rendered so we can add our enhancements
|
753 |
this.on( 'change', function( model ) {
|
754 |
//console.log( 'model.Selection change Event: cid ', model.cid, ', id ', model.get('id') );
|
755 |
|
756 |
-
if (
|
757 |
var mediaFrame = wp.media.editor.get('content'),
|
758 |
compat = mediaFrame.content.get('compat');
|
759 |
-
|
760 |
-
|
761 |
}
|
762 |
});
|
763 |
}
|
@@ -767,30 +767,30 @@ var mla = {
|
|
767 |
/**
|
768 |
* Install the "click to expand" handler for MLA Searchable Taxonomy Meta Boxes
|
769 |
*/
|
770 |
-
|
771 |
var taxonomy;
|
772 |
|
773 |
// console.log( 'hookCompatTaxonomies attachmentId: ', attachmentId );
|
774 |
// console.log( 'hookCompatTaxonomies context: ', JSON.stringify( context ) );
|
775 |
|
776 |
-
if (
|
777 |
$('.mla-taxonomy-field .categorydiv', context ).each( function(){
|
778 |
-
taxonomy =
|
779 |
|
780 |
// Load the taxonomy checklists on first expansion
|
781 |
$( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
|
782 |
-
|
783 |
});
|
784 |
});
|
785 |
} // enableDetailsCategory
|
786 |
|
787 |
-
if (
|
788 |
$('.mla-taxonomy-field .tagsdiv', context ).each( function(){
|
789 |
-
taxonomy =
|
790 |
|
791 |
// Load the taxonomy checklists on first expansion
|
792 |
$( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
|
793 |
-
|
794 |
});
|
795 |
});
|
796 |
} // enableDetailsTag
|
@@ -799,41 +799,41 @@ var mla = {
|
|
799 |
/**
|
800 |
* Replace the "Loading..." placeholders with the MLA Searchable Taxonomy Meta Boxes
|
801 |
*/
|
802 |
-
|
803 |
var context = data.el, query = [], taxonomy, fieldClass;
|
804 |
|
805 |
-
if (
|
806 |
$('.mla-taxonomy-field .categorydiv', context ).each( function(){
|
807 |
-
taxonomy =
|
808 |
query[ query.length ] = taxonomy;
|
809 |
fieldClass = '.compat-field-' + taxonomy;
|
810 |
|
811 |
// Save the initial markup for when we change attachments
|
812 |
-
if ( "undefined" === typeof(
|
813 |
-
|
814 |
} else {
|
815 |
-
$( fieldClass, context ).html(
|
816 |
}
|
817 |
|
818 |
-
$( fieldClass + ' .categorydiv', context ).html(
|
819 |
});
|
820 |
-
} //
|
821 |
|
822 |
-
if (
|
823 |
$( '.mla-taxonomy-field .tagsdiv', context ).each( function(){
|
824 |
-
taxonomy =
|
825 |
query[ query.length ] = taxonomy;
|
826 |
fieldClass = '.compat-field-' + taxonomy;
|
827 |
|
828 |
-
if ( "undefined" === typeof(
|
829 |
-
|
830 |
} else {
|
831 |
-
$( fieldClass, context ).html(
|
832 |
}
|
833 |
|
834 |
-
$( fieldClass + ' .tagsdiv', context ).html(
|
835 |
});
|
836 |
-
} //
|
837 |
|
838 |
|
839 |
if ( query.length ) {
|
@@ -846,7 +846,7 @@ var mla = {
|
|
846 |
* @param {object} options The options passed to jQuery.ajax.
|
847 |
* @return {$.promise} A jQuery promise that represents the request.
|
848 |
*/
|
849 |
-
wp.media.post(
|
850 |
// json: true,
|
851 |
id: data.id,
|
852 |
query: query,
|
@@ -860,7 +860,7 @@ var mla = {
|
|
860 |
$( fieldClass, context ).html( results[ taxonomy ] );
|
861 |
}
|
862 |
|
863 |
-
|
864 |
$( '.compat-field-' + data.currentTaxonomy + ' td', context ).show();
|
865 |
});
|
866 |
} // query.length
|
@@ -869,15 +869,15 @@ var mla = {
|
|
869 |
/**
|
870 |
* Support the MLA Searchable Taxonomy Meta Boxes
|
871 |
*/
|
872 |
-
|
873 |
var attachmentId = data.id, context = data.el;
|
874 |
|
875 |
-
if (
|
876 |
$( '.mla-taxonomy-field .categorydiv', context ).each( function(){
|
877 |
var thisJQuery = $(this), catAddBefore, catAddAfter, taxonomy, settingName,
|
878 |
taxonomyIdPrefix, taxonomyNewIdSelector, taxonomySearchIdSelector, taxonomyTermsId;
|
879 |
|
880 |
-
taxonomy =
|
881 |
settingName = taxonomy + '_tab';
|
882 |
taxonomyIdPrefix = '#mla-' + taxonomy;
|
883 |
taxonomyNewIdSelector = '#mla-new-' + taxonomy;
|
@@ -924,7 +924,7 @@ var mla = {
|
|
924 |
};
|
925 |
query[ taxonomy ] = termList;
|
926 |
|
927 |
-
wp.media.post(
|
928 |
query ).done( function( results ) {
|
929 |
var taxonomy, list;
|
930 |
|
@@ -1108,11 +1108,11 @@ var mla = {
|
|
1108 |
return false;
|
1109 |
});
|
1110 |
}); // .categorydiv.each
|
1111 |
-
} //
|
1112 |
|
1113 |
-
if (
|
1114 |
$('.mla-taxonomy-field .tagsdiv', context ).each( function(){
|
1115 |
-
var taxonomy =
|
1116 |
|
1117 |
// Expand/collapse the meta box contents
|
1118 |
$( '.compat-field-' + taxonomy + ' th', context ).click( function() {
|
@@ -1120,9 +1120,9 @@ var mla = {
|
|
1120 |
});
|
1121 |
|
1122 |
// Install support for flat taxonomies
|
1123 |
-
|
1124 |
}); // .tagsdiv.each
|
1125 |
-
} //
|
1126 |
};
|
1127 |
|
1128 |
/*
|
@@ -1138,14 +1138,14 @@ var mla = {
|
|
1138 |
/**
|
1139 |
* Extend the WP AttachmentCompat object
|
1140 |
* /
|
1141 |
-
|
1142 |
init: function() {
|
1143 |
-
console.log( '
|
1144 |
|
1145 |
// Intercept the view.AttachmentCompat methods
|
1146 |
var original = wp.media.view.AttachmentCompat.prototype;
|
1147 |
-
console.log( '
|
1148 |
-
console.log( '
|
1149 |
|
1150 |
// Save the original methods
|
1151 |
original.mla_old_initialize = original.initialize;
|
@@ -1155,34 +1155,34 @@ var mla = {
|
|
1155 |
original.mla_old_save = original.save;
|
1156 |
|
1157 |
original.initialize = function() {
|
1158 |
-
console.log( '
|
1159 |
this.mla_old_initialize();
|
1160 |
};
|
1161 |
|
1162 |
original.dispose = function() {
|
1163 |
-
console.log( '
|
1164 |
this.mla_old_dispose();
|
1165 |
return this; // allow chaining
|
1166 |
};
|
1167 |
|
1168 |
original.render = function() {
|
1169 |
-
console.log( '
|
1170 |
this.mla_old_render();
|
1171 |
return this; // allow chaining
|
1172 |
};
|
1173 |
|
1174 |
original.preventDefault = function() {
|
1175 |
-
console.log( '
|
1176 |
this.mla_old_preventDefault();
|
1177 |
};
|
1178 |
|
1179 |
// Note: Advanced Custom Fields (ACF) overrides this method and never calls the original!
|
1180 |
original.save = function() {
|
1181 |
-
console.log( '
|
1182 |
this.mla_old_save();
|
1183 |
};
|
1184 |
}
|
1185 |
-
}; //
|
1186 |
|
1187 |
-
//$( document ).ready( function(){
|
1188 |
}( jQuery ) );
|
404 |
}; // one or more MLA options enabled
|
405 |
}(jQuery));
|
406 |
|
407 |
+
var mlaModal = {
|
408 |
// Properties
|
409 |
strings: {},
|
410 |
settings: {},
|
429 |
/**
|
430 |
* Localized settings and strings
|
431 |
*/
|
432 |
+
mlaModal.strings = typeof wp.media.view.l10n.mla_strings === 'undefined' ? {} : wp.media.view.l10n.mla_strings;
|
433 |
//delete media.view.l10n.mla_strings;
|
434 |
|
435 |
+
mlaModal.settings = typeof wp.media.view.settings.mla_settings === 'undefined' ? {} : wp.media.view.settings.mla_settings;
|
436 |
//delete wp.media.view.settings.mla_settings;
|
437 |
|
438 |
/**
|
439 |
* return a sorted array with any duplicate, whitespace or values removed
|
440 |
* Adapted from /wp-admin/js/post.js
|
441 |
*/
|
442 |
+
mlaModal.utility.arrayCleanup = function ( arrayIn ) {
|
443 |
var arrayOut = [], isString = ( 'string' === typeof arrayIn );
|
444 |
|
445 |
if( isString ) {
|
468 |
* Extract the taxonomy name from an HTML id attribute,
|
469 |
* removing the 'mla-' and 'taxonomy-' prefixes.
|
470 |
*/
|
471 |
+
mlaModal.utility.parseTaxonomyId = function ( id ) {
|
472 |
var taxonomyParts = id.split( '-' );
|
473 |
|
474 |
taxonomyParts.shift(); // 'mla-'
|
479 |
/**
|
480 |
* Support functions for flat taxonomies, e.g. Tags, Att. Tags
|
481 |
*/
|
482 |
+
mlaModal.tagBox = {
|
483 |
/**
|
484 |
* Remove duplicate commas and whitespace from a string containing a tag list
|
485 |
*/
|
556 |
// If tags editing isn't disabled, create the X button.
|
557 |
if ( ! disabled ) {
|
558 |
xbutton = $( '<a id="' + id + '-check-num-' + key + '" class="ntdelbutton">X</a>' );
|
559 |
+
xbutton.click( function(){ mlaModal.tagBox.parseTags( this ); });
|
560 |
span.prepend( ' ' ).prepend( xbutton );
|
561 |
}
|
562 |
|
580 |
tagsval = tags.val();
|
581 |
newtags = tagsval ? tagsval + comma + text : text;
|
582 |
|
583 |
+
newtags = mlaModal.utility.arrayCleanup( this.cleanTags( newtags ) );
|
584 |
tags.val( newtags );
|
585 |
this.quickClicks( tagsDiv );
|
586 |
|
606 |
|
607 |
r = $( '<p id="tagcloud-'+taxonomy+'" class="the-tagcloud">'+r+'</p>' );
|
608 |
$( 'a', r ).click( function(){
|
609 |
+
mlaModal.tagBox.flushTags( $( this ).closest( '.mla-taxonomy-field' ).children( '.tagsdiv' ), this );
|
610 |
return false;
|
611 |
});
|
612 |
|
619 |
tagsDiv = $( '#mla-taxonomy-' + taxonomy, context );
|
620 |
ajaxTag = $( 'div.ajaxtag', tagsDiv );
|
621 |
|
622 |
+
mlaModal.tagBox.quickClicks( tagsDiv );
|
623 |
|
624 |
$( 'input.tagadd', ajaxTag ).click(function(){
|
625 |
+
mlaModal.tagBox.flushTags( $(this).closest( '.tagsdiv' ) );
|
626 |
});
|
627 |
|
628 |
$( 'input.newtag', ajaxTag ).keyup( function( e ){
|
629 |
if ( 13 == e.which ) {
|
630 |
+
mlaModal.tagBox.flushTags( tagsDiv );
|
631 |
return false;
|
632 |
}
|
633 |
}).keypress( function( e ){
|
641 |
|
642 |
// get the tag cloud on first click, then toggle visibility
|
643 |
tagsDiv.siblings( ':first' ).click( function(){
|
644 |
+
mlaModal.tagBox.getCloud( $( 'a', this ).attr( 'id' ), taxonomy );
|
645 |
$( 'a', this ).unbind().click( function(){
|
646 |
$( this ).siblings( '.the-tagcloud' ).toggle();
|
647 |
return false;
|
652 |
// Update the taxonomy terms, if changed, on the server when the mouse leaves the tagsdiv area
|
653 |
$( '.compat-field-' + taxonomy + ' td', context ).on( "mouseleave", function( event ) {
|
654 |
var query, tableData = this,
|
655 |
+
oldTerms = mlaModal.utility.arrayCleanup( $( '.server-tags', tableData ).val() ),
|
656 |
+
termList = mlaModal.utility.arrayCleanup( $( '.the-tags', tableData ).val() );
|
657 |
|
658 |
if ( oldTerms === termList ) {
|
659 |
return;
|
670 |
};
|
671 |
query[ taxonomy ] = termList;
|
672 |
|
673 |
+
wp.media.post( mlaModal.settings.ajaxUpdateCompatAction, query ).done( function( results ) {
|
674 |
var taxonomy, list;
|
675 |
|
676 |
for ( taxonomy in results ) {
|
694 |
return false;
|
695 |
});
|
696 |
}
|
697 |
+
}; // mlaModal.tagBox
|
698 |
|
699 |
/*
|
700 |
* We can extend the AttachmentCompat object because it's not instantiated until
|
701 |
* the sidebar is created for a selected attachment.
|
702 |
*/
|
703 |
+
if ( mlaModal.settings.enableDetailsCategory || mlaModal.settings.enableDetailsTag ) {
|
704 |
wp.media.view.AttachmentCompat = wp.media.view.AttachmentCompat.extend({
|
705 |
initialize: function() {
|
706 |
// Call the base method in the super class
|
709 |
// Hook the 'ready' event when the sidebar has been rendered so we can add our enhancements
|
710 |
this.on( 'ready', function( event ) {
|
711 |
//console.log( 'view.AttachmentCompat ready Event: ', this.model.get('id') );
|
712 |
+
mlaModal.utility.hookCompatTaxonomies( this.model.get('id'), this.el );
|
713 |
});
|
714 |
}
|
715 |
});
|
719 |
* We can extend the model.Selection object because it's not instantiated until
|
720 |
* the sidebar is created for a selected attachment.
|
721 |
*/
|
722 |
+
if ( mlaModal.settings.enableDetailsCategory || mlaModal.settings.enableDetailsTag ) {
|
723 |
wp.media.model.Selection = wp.media.model.Selection.extend({
|
724 |
initialize: function() {
|
725 |
// Call the base method in the super class
|
728 |
// Hook the 'selection:reset' event so we can add our enhancements when it's done
|
729 |
this.on( 'selection:reset', function( model ) {
|
730 |
//console.log( 'model.Selection selection:reset Event: cid ', model.cid, ', id ', model.get('id') );
|
731 |
+
mlaModal.cid = null;
|
732 |
});
|
733 |
|
734 |
// Hook the 'selection:unsingle' event so we can add our enhancements when it's done
|
735 |
this.on( 'selection:unsingle', function( model ) {
|
736 |
//console.log( 'model.Selection selection:unsingle Event: cid ', model.cid, ', id ', model.get('id') );
|
737 |
+
mlaModal.cid = null;
|
738 |
});
|
739 |
|
740 |
// Hook the 'selection:single' event so we can add our enhancements when it's done
|
741 |
this.on( 'selection:single', function( model ) {
|
742 |
//console.log( 'model.Selection selection:single Event: cid ', model.cid, ', id ', model.get('id') );
|
743 |
+
mlaModal.cid = model.cid;
|
744 |
});
|
745 |
|
746 |
// Hook the 'change:uploading' event so we can add our enhancements when it's done
|
747 |
this.on( 'change:uploading', function( model ) {
|
748 |
//console.log( 'model.Selection change:uploading Event: cid ', model.cid, ', id ', model.get('id') );
|
749 |
+
mlaModal.uploading = true;
|
750 |
});
|
751 |
|
752 |
// Hook the 'change' event when the sidebar has been rendered so we can add our enhancements
|
753 |
this.on( 'change', function( model ) {
|
754 |
//console.log( 'model.Selection change Event: cid ', model.cid, ', id ', model.get('id') );
|
755 |
|
756 |
+
if ( mlaModal.uploading && mlaModal.cid === model.cid ) {
|
757 |
var mediaFrame = wp.media.editor.get('content'),
|
758 |
compat = mediaFrame.content.get('compat');
|
759 |
+
mlaModal.utility.hookCompatTaxonomies( model.get('id'), compat.sidebar.$el );
|
760 |
+
mlaModal.uploading = false;
|
761 |
}
|
762 |
});
|
763 |
}
|
767 |
/**
|
768 |
* Install the "click to expand" handler for MLA Searchable Taxonomy Meta Boxes
|
769 |
*/
|
770 |
+
mlaModal.utility.hookCompatTaxonomies = function( attachmentId, context ) {
|
771 |
var taxonomy;
|
772 |
|
773 |
// console.log( 'hookCompatTaxonomies attachmentId: ', attachmentId );
|
774 |
// console.log( 'hookCompatTaxonomies context: ', JSON.stringify( context ) );
|
775 |
|
776 |
+
if ( mlaModal.settings.enableDetailsCategory ) {
|
777 |
$('.mla-taxonomy-field .categorydiv', context ).each( function(){
|
778 |
+
taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
|
779 |
|
780 |
// Load the taxonomy checklists on first expansion
|
781 |
$( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
|
782 |
+
mlaModal.utility.fillCompatTaxonomies( event.data );
|
783 |
});
|
784 |
});
|
785 |
} // enableDetailsCategory
|
786 |
|
787 |
+
if ( mlaModal.settings.enableDetailsTag ) {
|
788 |
$('.mla-taxonomy-field .tagsdiv', context ).each( function(){
|
789 |
+
taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
|
790 |
|
791 |
// Load the taxonomy checklists on first expansion
|
792 |
$( '.compat-field-' + taxonomy + ' th', context ).click( { id: attachmentId, currentTaxonomy: taxonomy, el: context }, function( event ) {
|
793 |
+
mlaModal.utility.fillCompatTaxonomies( event.data );
|
794 |
});
|
795 |
});
|
796 |
} // enableDetailsTag
|
799 |
/**
|
800 |
* Replace the "Loading..." placeholders with the MLA Searchable Taxonomy Meta Boxes
|
801 |
*/
|
802 |
+
mlaModal.utility.fillCompatTaxonomies = function( data ) {
|
803 |
var context = data.el, query = [], taxonomy, fieldClass;
|
804 |
|
805 |
+
if ( mlaModal.settings.enableDetailsCategory ) {
|
806 |
$('.mla-taxonomy-field .categorydiv', context ).each( function(){
|
807 |
+
taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
|
808 |
query[ query.length ] = taxonomy;
|
809 |
fieldClass = '.compat-field-' + taxonomy;
|
810 |
|
811 |
// Save the initial markup for when we change attachments
|
812 |
+
if ( "undefined" === typeof( mlaModal.initialHTML[ taxonomy ] ) ) {
|
813 |
+
mlaModal.initialHTML[ taxonomy ] = $( fieldClass, context ).html();
|
814 |
} else {
|
815 |
+
$( fieldClass, context ).html( mlaModal.initialHTML[ taxonomy ] );
|
816 |
}
|
817 |
|
818 |
+
$( fieldClass + ' .categorydiv', context ).html( mlaModal.strings.loadingText );
|
819 |
});
|
820 |
+
} // mlaModal.settings.enableDetailsCategory
|
821 |
|
822 |
+
if ( mlaModal.settings.enableDetailsTag ) {
|
823 |
$( '.mla-taxonomy-field .tagsdiv', context ).each( function(){
|
824 |
+
taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
|
825 |
query[ query.length ] = taxonomy;
|
826 |
fieldClass = '.compat-field-' + taxonomy;
|
827 |
|
828 |
+
if ( "undefined" === typeof( mlaModal.initialHTML[ taxonomy ] ) ) {
|
829 |
+
mlaModal.initialHTML[ taxonomy ] = $( fieldClass, context ).html();
|
830 |
} else {
|
831 |
+
$( fieldClass, context ).html( mlaModal.initialHTML[ taxonomy ] );
|
832 |
}
|
833 |
|
834 |
+
$( fieldClass + ' .tagsdiv', context ).html( mlaModal.strings.loadingText );
|
835 |
});
|
836 |
+
} // mlaModal.settings.enableDetailsTag
|
837 |
|
838 |
|
839 |
if ( query.length ) {
|
846 |
* @param {object} options The options passed to jQuery.ajax.
|
847 |
* @return {$.promise} A jQuery promise that represents the request.
|
848 |
*/
|
849 |
+
wp.media.post( mlaModal.settings.ajaxFillCompatAction, {
|
850 |
// json: true,
|
851 |
id: data.id,
|
852 |
query: query,
|
860 |
$( fieldClass, context ).html( results[ taxonomy ] );
|
861 |
}
|
862 |
|
863 |
+
mlaModal.utility.supportCompatTaxonomies( data );
|
864 |
$( '.compat-field-' + data.currentTaxonomy + ' td', context ).show();
|
865 |
});
|
866 |
} // query.length
|
869 |
/**
|
870 |
* Support the MLA Searchable Taxonomy Meta Boxes
|
871 |
*/
|
872 |
+
mlaModal.utility.supportCompatTaxonomies = function( data ) {
|
873 |
var attachmentId = data.id, context = data.el;
|
874 |
|
875 |
+
if ( mlaModal.settings.enableDetailsCategory ) {
|
876 |
$( '.mla-taxonomy-field .categorydiv', context ).each( function(){
|
877 |
var thisJQuery = $(this), catAddBefore, catAddAfter, taxonomy, settingName,
|
878 |
taxonomyIdPrefix, taxonomyNewIdSelector, taxonomySearchIdSelector, taxonomyTermsId;
|
879 |
|
880 |
+
taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
|
881 |
settingName = taxonomy + '_tab';
|
882 |
taxonomyIdPrefix = '#mla-' + taxonomy;
|
883 |
taxonomyNewIdSelector = '#mla-new-' + taxonomy;
|
924 |
};
|
925 |
query[ taxonomy ] = termList;
|
926 |
|
927 |
+
wp.media.post( mlaModal.settings.ajaxUpdateCompatAction,
|
928 |
query ).done( function( results ) {
|
929 |
var taxonomy, list;
|
930 |
|
1108 |
return false;
|
1109 |
});
|
1110 |
}); // .categorydiv.each
|
1111 |
+
} // mlaModal.settings.enableDetailsCategory
|
1112 |
|
1113 |
+
if ( mlaModal.settings.enableDetailsTag ) {
|
1114 |
$('.mla-taxonomy-field .tagsdiv', context ).each( function(){
|
1115 |
+
var taxonomy = mlaModal.utility.parseTaxonomyId( $(this).attr('id') );
|
1116 |
|
1117 |
// Expand/collapse the meta box contents
|
1118 |
$( '.compat-field-' + taxonomy + ' th', context ).click( function() {
|
1120 |
});
|
1121 |
|
1122 |
// Install support for flat taxonomies
|
1123 |
+
mlaModal.tagBox.init( attachmentId, taxonomy, context );
|
1124 |
}); // .tagsdiv.each
|
1125 |
+
} // mlaModal.settings.enableDetailsTag
|
1126 |
};
|
1127 |
|
1128 |
/*
|
1138 |
/**
|
1139 |
* Extend the WP AttachmentCompat object
|
1140 |
* /
|
1141 |
+
mlaModal.compat = {
|
1142 |
init: function() {
|
1143 |
+
console.log( 'mlaModal.compat.init' );
|
1144 |
|
1145 |
// Intercept the view.AttachmentCompat methods
|
1146 |
var original = wp.media.view.AttachmentCompat.prototype;
|
1147 |
+
console.log( 'mlaModal.compat.init tagName: ', original.tagName );
|
1148 |
+
console.log( 'mlaModal.compat.init className: ', original.className );
|
1149 |
|
1150 |
// Save the original methods
|
1151 |
original.mla_old_initialize = original.initialize;
|
1155 |
original.mla_old_save = original.save;
|
1156 |
|
1157 |
original.initialize = function() {
|
1158 |
+
console.log( 'mlaModal.compat.initialize' );
|
1159 |
this.mla_old_initialize();
|
1160 |
};
|
1161 |
|
1162 |
original.dispose = function() {
|
1163 |
+
console.log( 'mlaModal.compat.dispose' );
|
1164 |
this.mla_old_dispose();
|
1165 |
return this; // allow chaining
|
1166 |
};
|
1167 |
|
1168 |
original.render = function() {
|
1169 |
+
console.log( 'mlaModal.compat.render' );
|
1170 |
this.mla_old_render();
|
1171 |
return this; // allow chaining
|
1172 |
};
|
1173 |
|
1174 |
original.preventDefault = function() {
|
1175 |
+
console.log( 'mlaModal.compat.preventDefault' );
|
1176 |
this.mla_old_preventDefault();
|
1177 |
};
|
1178 |
|
1179 |
// Note: Advanced Custom Fields (ACF) overrides this method and never calls the original!
|
1180 |
original.save = function() {
|
1181 |
+
console.log( 'mlaModal.compat.save' );
|
1182 |
this.mla_old_save();
|
1183 |
};
|
1184 |
}
|
1185 |
+
}; // mlaModal.compat */
|
1186 |
|
1187 |
+
//$( document ).ready( function(){ mlaModal.compat.init(); } )
|
1188 |
}( jQuery ) );
|
js/mla-media-modal-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(c){var e=wp.media,d={},a={},b=null;b=e.ajax;e.ajax=function(g,f){if(_.isObject(g)){f=g}else{f=f||{};f.data=_.extend(f.data||{},{action:g})}if("query-attachments"==f.data.action){stype=typeof f.data.query.s;if("object"==stype){s=f.data.query.s}else{if("string"==stype){s={mla_search_value:f.data.query.s}}else{s={}}}if("undefined"!=typeof s.mla_filter_month){a.filterMonth=s.mla_filter_month}if("undefined"!=typeof s.mla_filter_term){a.filterTerm=s.mla_filter_term}if("undefined"!=typeof s.mla_search_value){a.searchValue=s.mla_search_value}searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};f.data.query.s=searchValues}return b.call(this,f)};d=typeof e.view.l10n.mla_strings==="undefined"?{}:e.view.l10n.mla_strings;a=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;if(a.enableMimeTypes){e.view.AttachmentFilters.Mla=e.view.AttachmentFilters.extend({createFilters:function(){var f={};_.each(a.mimeTypes||{},function(h,g){f[g]={text:h,props:{type:g,uploadedTo:null,orderby:"date",order:"DESC"}}});f.all={text:e.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};f.uploaded={text:e.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:e.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20};this.filters=f}})}if(a.enableMonthsDropdown){e.view.AttachmentFilters.MlaMonths=e.view.AttachmentFilters.extend({className:"attachment-months",createFilters:function(){var f={};_.each(a.months||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_month:g}}}});this.filters=f},select:function(){var f=this.model,h=a.filterMonth,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_month)){g.s.mla_filter_month=a.filterMonth}else{a.filterMonth=g.s.mla_filter_month}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_month==a.filterMonth});if(i){return h=k}});this.$el.val(h)}})}if(a.enableTermsDropdown){e.view.AttachmentFilters.MlaTerms=e.view.AttachmentFilters.extend({className:"attachment-terms",createFilters:function(){var f={};_.each(a.termsText||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_term:parseInt(a.termsValue[g])}}}});this.filters=f},select:function(){var f=this.model,h=a.filterTerm,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_term)){g.s.mla_filter_term=a.filterTerm}else{a.filterTerm=g.s.mla_filter_term}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_term==a.filterTerm});if(i){return h=k}});this.$el.val(h)}})}if(a.enableSearchBox){e.view.MlaSearch=e.View.extend({tagName:"div",className:"mla-search-box",template:e.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{change:"search",click:"search",search:"search",MlaSearch:"search"},render:function(){this.$el.html(this.template(d));return this},search:function(f){if(("click"==f.type)&&("mla_search_submit"!=f.target.name)){return}switch(f.target.name){case"s[mla_search_value]":a.searchValue=f.target.value;case"mla_search_submit":searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};this.model.set({s:searchValues});break;case"s[mla_search_connector]":a.searchConnector=f.target.value;break;case"s[mla_search_title]":index=a.searchFields.indexOf("title");if(-1==index){a.searchFields.push("title")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_name]":index=a.searchFields.indexOf("name");if(-1==index){a.searchFields.push("name")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_alt_text]":index=a.searchFields.indexOf("alt-text");if(-1==index){a.searchFields.push("alt-text")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_excerpt]":index=a.searchFields.indexOf("excerpt");if(-1==index){a.searchFields.push("excerpt")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_content]":index=a.searchFields.indexOf("content");if(-1==index){a.searchFields.push("content")}else{a.searchFields.splice(index,1)}break}}})}if(a.enableMimeTypes||a.enableMonthsDropdown||a.enableTermsDropdown||a.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var f;wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);f=this.options.filters;if(("all"===f)&&a.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new e.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableMonthsDropdown){this.toolbar.set("months",new e.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableTermsDropdown){this.toolbar.set("terms",new e.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search){if(a.enableSearchBox){this.toolbar.unset("search",{silent:true});this.toolbar.set("MlaSearch",new e.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}}if(this.options.dragInfo){this.toolbar.set("dragInfo",new e.View({el:c('<div class="instructions">'+e.view.l10n.dragInfo+"</div>")[0],priority:-40}))}}})}}(jQuery));var mla={strings:{},settings:{},initialHTML:{},uploading:false,cid:null,utility:{arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mla.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;mla.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;mla.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(postL10n.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(postL10n.comma)}return c};mla.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mla.tagBox={cleanTags:function(c){var b=postL10n.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=postL10n.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(postL10n.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mla.tagBox.parseTags(this)});j.prepend(" ").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=postL10n.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mla.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mla.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mla.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mla.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mla.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:postL10n.comma+" "})});e.siblings(":first").click(function(){mla.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(i){var k,h=this,g=mla.utility.arrayCleanup(a(".server-tags",h).val()),j=mla.utility.arrayCleanup(a(".the-tags",h).val());if(g===j){return}a(h).css("opacity","0.5");k={id:f,};k[b]=j;wp.media.post(mla.settings.ajaxUpdateCompatAction,k).done(function(m){var l,n;for(l in m){for(n in m[l]){a("#"+n,h).replaceWith(m[l][n])}}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};if(mla.settings.enableDetailsCategory||mla.settings.enableDetailsTag){wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(b){mla.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}})}if(mla.settings.enableDetailsCategory||mla.settings.enableDetailsTag){wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("selection:reset",function(b){mla.cid=null});this.on("selection:unsingle",function(b){mla.cid=null});this.on("selection:single",function(b){mla.cid=b.cid});this.on("change:uploading",function(b){mla.uploading=true});this.on("change",function(d){if(mla.uploading&&mla.cid===d.cid){var b=wp.media.editor.get("content"),c=b.content.get("compat");mla.utility.hookCompatTaxonomies(d.get("id"),c.sidebar.$el);mla.uploading=false}})}})}mla.utility.hookCompatTaxonomies=function(d,c){var b;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mla.utility.fillCompatTaxonomies(e.data)})})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mla.utility.fillCompatTaxonomies(e.data)})})}};mla.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mla.initialHTML[b])){mla.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mla.initialHTML[b])}a(d+" .categorydiv",c).html(mla.strings.loadingText)})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mla.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mla.initialHTML[b])){mla.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mla.initialHTML[b])}a(d+" .tagsdiv",c).html(mla.strings.loadingText)})}if(e.length){wp.media.post(mla.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mla.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mla.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mla.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mla.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(p){var r,n,q=[],o=g.find(i+"-checklist input:checked");o.each(function(t){q[q.length]=a(this).val()});q.sort(function(u,t){return u-t});q=q.join(",");n=g.siblings(j).val();if(n===q){return}g.siblings(j).val(q);g.prop("disabled",true);r={id:c,};r[f]=q;wp.media.post(mla.settings.ajaxUpdateCompatAction,r).done(function(u){var t,v;for(t in u){for(v in u[t]){g.find("#"+v).html(u[t][v])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find(m+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove()}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var q,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}q=g.find(l).val(),termList=g.find(i+"-checklist li");termListPopular=g.find(i+"-checklist-pop li");if(0<q.length){termList.hide();termListPopular.hide()}else{termList.show();termListPopular.show()}o=g.find(i+"-checklist label:matchTerms('"+q+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+q+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mla.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mla.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mla.tagBox.init(c,e,b)})}}}(jQuery));
|
1 |
+
(function(c){var e=wp.media,d={},a={},b=null;b=e.ajax;e.ajax=function(g,f){if(_.isObject(g)){f=g}else{f=f||{};f.data=_.extend(f.data||{},{action:g})}if("query-attachments"==f.data.action){stype=typeof f.data.query.s;if("object"==stype){s=f.data.query.s}else{if("string"==stype){s={mla_search_value:f.data.query.s}}else{s={}}}if("undefined"!=typeof s.mla_filter_month){a.filterMonth=s.mla_filter_month}if("undefined"!=typeof s.mla_filter_term){a.filterTerm=s.mla_filter_term}if("undefined"!=typeof s.mla_search_value){a.searchValue=s.mla_search_value}searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};f.data.query.s=searchValues}return b.call(this,f)};d=typeof e.view.l10n.mla_strings==="undefined"?{}:e.view.l10n.mla_strings;a=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;if(a.enableMimeTypes){e.view.AttachmentFilters.Mla=e.view.AttachmentFilters.extend({createFilters:function(){var f={};_.each(a.mimeTypes||{},function(h,g){f[g]={text:h,props:{type:g,uploadedTo:null,orderby:"date",order:"DESC"}}});f.all={text:e.view.l10n.allMediaItems,props:{type:null,uploadedTo:null,orderby:"date",order:"DESC"},priority:10};f.uploaded={text:e.view.l10n.uploadedToThisPost,props:{type:null,uploadedTo:e.view.settings.post.id,orderby:"menuOrder",order:"ASC"},priority:20};this.filters=f}})}if(a.enableMonthsDropdown){e.view.AttachmentFilters.MlaMonths=e.view.AttachmentFilters.extend({className:"attachment-months",createFilters:function(){var f={};_.each(a.months||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_month:g}}}});this.filters=f},select:function(){var f=this.model,h=a.filterMonth,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_month)){g.s.mla_filter_month=a.filterMonth}else{a.filterMonth=g.s.mla_filter_month}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_month==a.filterMonth});if(i){return h=k}});this.$el.val(h)}})}if(a.enableTermsDropdown){e.view.AttachmentFilters.MlaTerms=e.view.AttachmentFilters.extend({className:"attachment-terms",createFilters:function(){var f={};_.each(a.termsText||{},function(h,g){f[g]={text:h,props:{s:{mla_filter_term:parseInt(a.termsValue[g])}}}});this.filters=f},select:function(){var f=this.model,h=a.filterTerm,g=f.toJSON();if(_.isUndefined(g.s)){g.s={}}if("string"==typeof g.search){a.searchValue=g.search}if(_.isUndefined(g.s.mla_filter_term)){g.s.mla_filter_term=a.filterTerm}else{a.filterTerm=g.s.mla_filter_term}_.find(this.filters,function(j,k){var i=_.all(j.props,function(m,l){return m.mla_filter_term==a.filterTerm});if(i){return h=k}});this.$el.val(h)}})}if(a.enableSearchBox){e.view.MlaSearch=e.View.extend({tagName:"div",className:"mla-search-box",template:e.template("mla-search-box"),attributes:{type:"mla-search-box"},events:{change:"search",click:"search",search:"search",MlaSearch:"search"},render:function(){this.$el.html(this.template(d));return this},search:function(f){if(("click"==f.type)&&("mla_search_submit"!=f.target.name)){return}switch(f.target.name){case"s[mla_search_value]":a.searchValue=f.target.value;case"mla_search_submit":searchValues={mla_filter_month:a.filterMonth,mla_filter_term:a.filterTerm,mla_search_value:a.searchValue,mla_search_fields:a.searchFields,mla_search_connector:a.searchConnector};this.model.set({s:searchValues});break;case"s[mla_search_connector]":a.searchConnector=f.target.value;break;case"s[mla_search_title]":index=a.searchFields.indexOf("title");if(-1==index){a.searchFields.push("title")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_name]":index=a.searchFields.indexOf("name");if(-1==index){a.searchFields.push("name")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_alt_text]":index=a.searchFields.indexOf("alt-text");if(-1==index){a.searchFields.push("alt-text")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_excerpt]":index=a.searchFields.indexOf("excerpt");if(-1==index){a.searchFields.push("excerpt")}else{a.searchFields.splice(index,1)}break;case"s[mla_search_content]":index=a.searchFields.indexOf("content");if(-1==index){a.searchFields.push("content")}else{a.searchFields.splice(index,1)}break}}})}if(a.enableMimeTypes||a.enableMonthsDropdown||a.enableTermsDropdown||a.enableSearchBox){wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){var f;wp.media.view.AttachmentsBrowser.__super__.createToolbar.apply(this,arguments);f=this.options.filters;if(("all"===f)&&a.enableMimeTypes){this.toolbar.unset("filters",{silent:true});this.toolbar.set("filters",new e.view.AttachmentFilters.Mla({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableMonthsDropdown){this.toolbar.set("months",new e.view.AttachmentFilters.MlaMonths({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(f&&a.enableTermsDropdown){this.toolbar.set("terms",new e.view.AttachmentFilters.MlaTerms({controller:this.controller,model:this.collection.props,priority:-80}).render())}if(this.options.search){if(a.enableSearchBox){this.toolbar.unset("search",{silent:true});this.toolbar.set("MlaSearch",new e.view.MlaSearch({controller:this.controller,model:this.collection.props,priority:60}).render())}}if(this.options.dragInfo){this.toolbar.set("dragInfo",new e.View({el:c('<div class="instructions">'+e.view.l10n.dragInfo+"</div>")[0],priority:-40}))}}})}}(jQuery));var mlaModal={strings:{},settings:{},initialHTML:{},uploading:false,cid:null,utility:{arrayCleanup:null,parseTaxonomyId:null,hookCompatTaxonomies:null,fillCompatTaxonomies:null,supportCompatTaxonomies:null},tagBox:null};(function(a){mlaModal.strings=typeof wp.media.view.l10n.mla_strings==="undefined"?{}:wp.media.view.l10n.mla_strings;mlaModal.settings=typeof wp.media.view.settings.mla_settings==="undefined"?{}:wp.media.view.settings.mla_settings;mlaModal.utility.arrayCleanup=function(d){var c=[],b=("string"===typeof d);if(b){d=d.split(postL10n.comma)}jQuery.each(d,function(e,f){f=jQuery.trim(f);if(f&&jQuery.inArray(f,c)==-1){c.push(f)}});c.sort();if(b){c=c.join(postL10n.comma)}return c};mlaModal.utility.parseTaxonomyId=function(c){var b=c.split("-");b.shift();b.shift();return b.join("-")};mlaModal.tagBox={cleanTags:function(c){var b=postL10n.comma;if(","!==b){c=c.replace(new RegExp(b,"g"),",")}c=c.replace(/\s*,\s*/g,",").replace(/,+/g,",").replace(/[,\s]+$/,"").replace(/^[,\s]+/,"");if(","!==b){c=c.replace(/,/g,b)}return c},parseTags:function(e){var i=e.id,c=i.split("-check-num-")[1],f=a(e).closest(".tagsdiv"),h=f.find(".the-tags"),b=postL10n.comma,d=h.val().split(b),g=[];delete d[c];a.each(d,function(j,k){k=a.trim(k);if(k){g.push(k)}});h.val(this.cleanTags(g.join(b)));this.quickClicks(f);return false},quickClicks:function(d){var g=a(".the-tags",d),e=a(".tagchecklist",d),f=a(d).attr("id"),b,c;if(!g.length){return}c=g.prop("disabled");b=g.val().split(postL10n.comma);e.empty();a.each(b,function(i,k){var j,h;k=a.trim(k);if(!k){return}j=a("<span />").text(k);if(!c){h=a('<a id="'+f+"-check-num-"+i+'" class="ntdelbutton">X</a>');h.click(function(){mlaModal.tagBox.parseTags(this)});j.prepend(" ").prepend(h)}e.append(j)})},flushTags:function(h,d,c){var j,b,e,k=a(".the-tags",h),g=a("input.newtag",h),i=postL10n.comma;d=d||false;e=d?a(d).text():g.val();j=k.val();b=j?j+i+e:e;b=mlaModal.utility.arrayCleanup(this.cleanTags(b));k.val(b);this.quickClicks(h);if(!d){g.val("")}if("undefined"==typeof(c)){g.focus()}return false},getCloud:function(c,b){a.post(ajaxurl,{action:"get-tagcloud",tax:b},function(e,d){if(0===e||"success"!=d){e=wpAjax.broken}e=a('<p id="tagcloud-'+b+'" class="the-tagcloud">'+e+"</p>");a("a",e).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".mla-taxonomy-field").children(".tagsdiv"),this);return false});a("#"+c).after(e)})},init:function(f,b,d){var e,c;e=a("#mla-taxonomy-"+b,d);c=a("div.ajaxtag",e);mlaModal.tagBox.quickClicks(e);a("input.tagadd",c).click(function(){mlaModal.tagBox.flushTags(a(this).closest(".tagsdiv"))});a("input.newtag",c).keyup(function(g){if(13==g.which){mlaModal.tagBox.flushTags(e);return false}}).keypress(function(g){if(13==g.which){g.preventDefault();return false}}).each(function(){a(this).suggest(ajaxurl+"?action=ajax-tag-search&tax="+b,{delay:500,resultsClass:"mla_ac_results",selectClass:"mla_ac_over",matchClass:"mla_ac_match",minchars:2,multiple:true,multipleSep:postL10n.comma+" "})});e.siblings(":first").click(function(){mlaModal.tagBox.getCloud(a("a",this).attr("id"),b);a("a",this).unbind().click(function(){a(this).siblings(".the-tagcloud").toggle();return false});return false});a(".compat-field-"+b+" td",d).on("mouseleave",function(i){var k,h=this,g=mlaModal.utility.arrayCleanup(a(".server-tags",h).val()),j=mlaModal.utility.arrayCleanup(a(".the-tags",h).val());if(g===j){return}a(h).css("opacity","0.5");k={id:f,};k[b]=j;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,k).done(function(m){var l,n;for(l in m){for(n in m[l]){a("#"+n,h).replaceWith(m[l][n])}}a(h).css("opacity","1.0")})});e.on("change",function(g){g.stopPropagation();return false});a(".the-tags, .server-tags .newtag",e).on("change",function(g){g.stopPropagation();return false})}};if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.view.AttachmentCompat=wp.media.view.AttachmentCompat.extend({initialize:function(){wp.media.view.AttachmentCompat.__super__.initialize.apply(this,arguments);this.on("ready",function(b){mlaModal.utility.hookCompatTaxonomies(this.model.get("id"),this.el)})}})}if(mlaModal.settings.enableDetailsCategory||mlaModal.settings.enableDetailsTag){wp.media.model.Selection=wp.media.model.Selection.extend({initialize:function(){wp.media.model.Selection.__super__.initialize.apply(this,arguments);this.on("selection:reset",function(b){mlaModal.cid=null});this.on("selection:unsingle",function(b){mlaModal.cid=null});this.on("selection:single",function(b){mlaModal.cid=b.cid});this.on("change:uploading",function(b){mlaModal.uploading=true});this.on("change",function(d){if(mlaModal.uploading&&mlaModal.cid===d.cid){var b=wp.media.editor.get("content"),c=b.content.get("compat");mlaModal.utility.hookCompatTaxonomies(d.get("id"),c.sidebar.$el);mlaModal.uploading=false}})}})}mlaModal.utility.hookCompatTaxonomies=function(d,c){var b;if(mlaModal.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mlaModal.utility.fillCompatTaxonomies(e.data)})})}if(mlaModal.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+b+" th",c).click({id:d,currentTaxonomy:b,el:c},function(e){mlaModal.utility.fillCompatTaxonomies(e.data)})})}};mlaModal.utility.fillCompatTaxonomies=function(f){var c=f.el,e=[],b,d;if(mlaModal.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .categorydiv",c).html(mlaModal.strings.loadingText)})}if(mlaModal.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",c).each(function(){b=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));e[e.length]=b;d=".compat-field-"+b;if("undefined"===typeof(mlaModal.initialHTML[b])){mlaModal.initialHTML[b]=a(d,c).html()}else{a(d,c).html(mlaModal.initialHTML[b])}a(d+" .tagsdiv",c).html(mlaModal.strings.loadingText)})}if(e.length){wp.media.post(mlaModal.settings.ajaxFillCompatAction,{id:f.id,query:e,}).done(function(h){var g,i;for(g in h){i=".compat-field-"+g;a(i,c).html(h[g])}mlaModal.utility.supportCompatTaxonomies(f);a(".compat-field-"+f.currentTaxonomy+" td",c).show()})}};mlaModal.utility.supportCompatTaxonomies=function(d){var c=d.id,b=d.el;if(mlaModal.settings.enableDetailsCategory){a(".mla-taxonomy-field .categorydiv",b).each(function(){var g=a(this),e,h,f,k,i,m,l,j;f=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));k=f+"_tab";i="#mla-"+f;m="#mla-new-"+f;l="#mla-search-"+f;j="#mla-attachments-"+c+"-"+f;if(f=="category"){k="cats"}g.find(".category-tabs").show();a(".compat-field-"+f+" th",b).click(function(){a(this).siblings("td").slideToggle()});g.on("mouseleave",function(p){var r,n,q=[],o=g.find(i+"-checklist input:checked");o.each(function(t){q[q.length]=a(this).val()});q.sort(function(u,t){return u-t});q=q.join(",");n=g.siblings(j).val();if(n===q){return}g.siblings(j).val(q);g.prop("disabled",true);r={id:c,};r[f]=q;wp.media.post(mlaModal.settings.ajaxUpdateCompatAction,r).done(function(u){var t,v;for(t in u){for(v in u[t]){g.find("#"+v).html(u[t][v])}}g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.prop("disabled",false)})});g.on('change input[type="checkbox"]',function(n){n.stopPropagation();return false});g.find(i+"-tabs a").click(function(){var n=a(this).attr("href");a(this).parent().addClass("tabs").siblings("li").removeClass("tabs");g.find(i+"-tabs").siblings(".tabs-panel").hide();g.find(n).show();a(this).focus();if("#mla-"+f+"-all"==n){deleteUserSetting(k)}else{setUserSetting(k,"pop")}return false});if(getUserSetting(k)){g.find(i+'-tabs a[href="#mla-'+f+'-pop"]').click()}g.find(i+"-add-toggle").click(function(){g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-adder").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-adder").hasClass("mla-hidden-children")){g.find(m).val("").removeClass("form-input-tip");g.find(m).focus()}return false});g.find(m).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(i+"-add-submit").click()}});g.find(i+"-add-submit").click(function(){g.find(m).focus()});e=function(n){if(!g.find(m).val()){return false}n.data+="&"+g.find(i+"-checklist :checked").serialize();g.prop("disabled",true);return n};h=function(q,p){var o,n=g.find(m+"_parent");g.prop("disabled",false);if("undefined"!=p.parsed.responses[0]&&(o=p.parsed.responses[0].supplemental.newcat_parent)){n.before(o);n.remove()}};g.find(i+"-checklist").wpList({alt:"",response:"mla-"+f+"-ajax-response",addBefore:e,addAfter:h});g.find(i+"-checklist, "+i+"-checklist-pop").on("click",'li.popular-category > label input[type="checkbox"]',function(){var n=a(this),p=n.is(":checked"),o=n.val();if(o&&n.parents("#mla-taxonomy-"+f).length){a("#in-"+f+"-"+o+", #in-popular-"+f+"-"+o).prop("checked",p)}});a.extend(a.expr[":"],{matchTerms:function(p,o,n,q){return(p.textContent||p.innerText||"").toLowerCase().indexOf((n[3]||"").toLowerCase())>=0}});g.find(l).keypress(function(n){if(13===n.keyCode){n.preventDefault();g.find(l).val("");g.find(i+"-searcher").addClass("mla-hidden-children");g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();return}});g.find(l).keyup(function(p){var q,o,n;if(13===p.keyCode){p.preventDefault();g.find(i+"-search-toggle").focus();return}q=g.find(l).val(),termList=g.find(i+"-checklist li");termListPopular=g.find(i+"-checklist-pop li");if(0<q.length){termList.hide();termListPopular.hide()}else{termList.show();termListPopular.show()}o=g.find(i+"-checklist label:matchTerms('"+q+"')");o.closest("li").find("li").andSelf().show();o.parents(i+"-checklist li").show();n=g.find(i+"-checklist-pop label:matchTerms('"+q+"')");n.closest("li").find("li").andSelf().show();n.parents(i+"-checklist li").show()});g.find(i+"-search-toggle").click(function(){g.find(i+"-adder ").addClass("mla-hidden-children");g.find(i+"-searcher").toggleClass("mla-hidden-children");g.find(i+'-tabs a[href="#mla-'+f+'-all"]').click();g.find(i+"-checklist li").show();g.find(i+"-checklist-pop li").show();if(false===g.find(i+"-searcher").hasClass("mla-hidden-children")){g.find(l).val("").removeClass("form-input-tip");g.find(l).focus()}return false})})}if(mlaModal.settings.enableDetailsTag){a(".mla-taxonomy-field .tagsdiv",b).each(function(){var e=mlaModal.utility.parseTaxonomyId(a(this).attr("id"));a(".compat-field-"+e+" th",b).click(function(){a(this).siblings("td").slideToggle()});mlaModal.tagBox.init(c,e,b)})}}}(jQuery));
|
js/mla-set-parent-scripts.js
CHANGED
@@ -56,6 +56,12 @@
|
|
56 |
$( '#mla-set-parent-titles' ).html( affectedTitles );
|
57 |
}
|
58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
$( '#mla-set-parent-div' ).show();
|
60 |
|
61 |
$( '#mla-set-parent-input ' ).focus().keyup( function( event ){
|
56 |
$( '#mla-set-parent-titles' ).html( affectedTitles );
|
57 |
}
|
58 |
|
59 |
+
if ( mla.settings.useDashicons ) {
|
60 |
+
$( '#mla-set-parent-close-div' ).addClass("mla-set-parent-close-div-dashicons");
|
61 |
+
} else {
|
62 |
+
$( '#mla-set-parent-close-div' ).html( 'x' );
|
63 |
+
}
|
64 |
+
|
65 |
$( '#mla-set-parent-div' ).show();
|
66 |
|
67 |
$( '#mla-set-parent-input ' ).focus().keyup( function( event ){
|
js/mla-set-parent-scripts.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(function(a){mla.setParent={init:function(){a("#mla-set-parent-submit").click(function(b){if(!a('#mla-set-parent-response-div input[type="radio"]:checked').length){b.preventDefault()}});a("#mla-set-parent-search").click(mla.setParent.send);a("#mla-set-parent-search-div :input").keypress(function(b){if(13==b.which){mla.setParent.send();return false}});a("#mla-set-parent-close-div").click(mla.setParent.close);a("#mla-set-parent-cancel").click(function(b){b.preventDefault();return mla.setParent.close()});a("#mla-set-parent-inside-div").on("click","tr",function(){a(this).find(".found-radio input").prop("checked",true)})},open:function(e,d,b){var c=a("#mla-set-parent-overlay");if(c.length===0){a("body").append('<div id="mla-set-parent-overlay"></div>');mla.setParent.overlay()}c.show();if(e&&d){a("#mla-set-parent-parent").val(e);a("#mla-set-parent-children").val(d)}if(b){a("#mla-set-parent-titles").html(b)}a("#mla-set-parent-div").show();a("#mla-set-parent-input ").focus().keyup(function(f){if(f.which==27){mla.setParent.close()}});mla.setParent.send();return false},close:function(){a("#mla-set-parent-response-div").html("");a("#mla-set-parent-div").hide();a("#mla-set-parent-overlay").hide()},overlay:function(){a("#mla-set-parent-overlay").on("click",function(){mla.setParent.close()})},send:function(){var b={ps:a("#mla-set-parent-input").val(),action:"find_posts",_ajax_nonce:a("#mla-set-parent-ajax-nonce").val()},d=a("#mla-set-parent-search-div .spinner"),c=null;d.show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:mla.settings.setParentDataType}).always(function(){d.hide()}).done(function(e){var f="no response.data",g=0;if("xml"===mla.settings.setParentDataType){if("string"===typeof(e)){e={success:false,data:e}}else{c=wpAjax.parseAjaxResponse(e);if(c.errors){e={success:false,data:wpAjax.broken}}else{e={success:true,data:c.responses[0].data}}}}if(!e.success){if(e.responseData){f=e.data}a("#mla-set-parent-response-div").text(mla.settings.ajaxDoneError+" ("+f+")")}else{a("#mla-set-parent-response-div").html(e.data);a("#mla-set-parent-response-div table tbody tr:eq(0)").before(a("#found-0-row").clone());g=a("#mla-set-parent-parent").val();a("#mla-set-parent-response-div #found-"+g).each(function(h,i){a(this).prop("checked",true)})}}).fail(function(f,e){if(200==f.status){a("#mla-set-parent-response-div").text("("+e+") "+f.responseText)}else{a("#mla-set-parent-response-div").text(mla.settings.ajaxFailError+" ("+e+"), jqXHR( "+f.status+", "+f.statusText+", "+f.responseText+")")}})}};a(document).ready(function(){mla.setParent.init()})})(jQuery);
|
1 |
+
(function(a){mla.setParent={init:function(){a("#mla-set-parent-submit").click(function(b){if(!a('#mla-set-parent-response-div input[type="radio"]:checked').length){b.preventDefault()}});a("#mla-set-parent-search").click(mla.setParent.send);a("#mla-set-parent-search-div :input").keypress(function(b){if(13==b.which){mla.setParent.send();return false}});a("#mla-set-parent-close-div").click(mla.setParent.close);a("#mla-set-parent-cancel").click(function(b){b.preventDefault();return mla.setParent.close()});a("#mla-set-parent-inside-div").on("click","tr",function(){a(this).find(".found-radio input").prop("checked",true)})},open:function(e,d,b){var c=a("#mla-set-parent-overlay");if(c.length===0){a("body").append('<div id="mla-set-parent-overlay"></div>');mla.setParent.overlay()}c.show();if(e&&d){a("#mla-set-parent-parent").val(e);a("#mla-set-parent-children").val(d)}if(b){a("#mla-set-parent-titles").html(b)}if(mla.settings.useDashicons){a("#mla-set-parent-close-div").addClass("mla-set-parent-close-div-dashicons")}else{a("#mla-set-parent-close-div").html("x")}a("#mla-set-parent-div").show();a("#mla-set-parent-input ").focus().keyup(function(f){if(f.which==27){mla.setParent.close()}});mla.setParent.send();return false},close:function(){a("#mla-set-parent-response-div").html("");a("#mla-set-parent-div").hide();a("#mla-set-parent-overlay").hide()},overlay:function(){a("#mla-set-parent-overlay").on("click",function(){mla.setParent.close()})},send:function(){var b={ps:a("#mla-set-parent-input").val(),action:"find_posts",_ajax_nonce:a("#mla-set-parent-ajax-nonce").val()},d=a("#mla-set-parent-search-div .spinner"),c=null;d.show();a.ajax(ajaxurl,{type:"POST",data:b,dataType:mla.settings.setParentDataType}).always(function(){d.hide()}).done(function(e){var f="no response.data",g=0;if("xml"===mla.settings.setParentDataType){if("string"===typeof(e)){e={success:false,data:e}}else{c=wpAjax.parseAjaxResponse(e);if(c.errors){e={success:false,data:wpAjax.broken}}else{e={success:true,data:c.responses[0].data}}}}if(!e.success){if(e.responseData){f=e.data}a("#mla-set-parent-response-div").text(mla.settings.ajaxDoneError+" ("+f+")")}else{a("#mla-set-parent-response-div").html(e.data);a("#mla-set-parent-response-div table tbody tr:eq(0)").before(a("#found-0-row").clone());g=a("#mla-set-parent-parent").val();a("#mla-set-parent-response-div #found-"+g).each(function(h,i){a(this).prop("checked",true)})}}).fail(function(f,e){if(200==f.status){a("#mla-set-parent-response-div").text("("+e+") "+f.responseText)}else{a("#mla-set-parent-response-div").text(mla.settings.ajaxFailError+" ("+e+"), jqXHR( "+f.status+", "+f.statusText+", "+f.responseText+")")}})}};a(document).ready(function(){mla.setParent.init()})})(jQuery);
|
phpDocs/classes/MLA.html
CHANGED
@@ -742,7 +742,7 @@ change the meta data for a single attachment.</h2>
|
|
742 |
<div class="row"><footer class="span12">
|
743 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
744 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
745 |
-
generated on 2014-05-
|
746 |
</div>
|
747 |
</body>
|
748 |
</html>
|
742 |
<div class="row"><footer class="span12">
|
743 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
744 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
745 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
746 |
</div>
|
747 |
</body>
|
748 |
</html>
|
phpDocs/classes/MLAData.html
CHANGED
@@ -1836,7 +1836,7 @@ ALT Text and custom field columns.</p></p>
|
|
1836 |
<div class="row"><footer class="span12">
|
1837 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1838 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1839 |
-
generated on 2014-05-
|
1840 |
</div>
|
1841 |
</body>
|
1842 |
</html>
|
1836 |
<div class="row"><footer class="span12">
|
1837 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1838 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1839 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
1840 |
</div>
|
1841 |
</body>
|
1842 |
</html>
|
phpDocs/classes/MLAEdit.html
CHANGED
@@ -450,7 +450,7 @@ The array is built once each page load and cached for subsequent calls.</p></p>
|
|
450 |
<div class="row"><footer class="span12">
|
451 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
452 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
453 |
-
generated on 2014-05-
|
454 |
</div>
|
455 |
</body>
|
456 |
</html>
|
450 |
<div class="row"><footer class="span12">
|
451 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
452 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
453 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
454 |
</div>
|
455 |
</body>
|
456 |
</html>
|
phpDocs/classes/MLAMime.html
CHANGED
@@ -1288,7 +1288,7 @@ Defined as public because it's a filter.</p></p>
|
|
1288 |
<div class="row"><footer class="span12">
|
1289 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1290 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1291 |
-
generated on 2014-05-
|
1292 |
</div>
|
1293 |
</body>
|
1294 |
</html>
|
1288 |
<div class="row"><footer class="span12">
|
1289 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1290 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1291 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
1292 |
</div>
|
1293 |
</body>
|
1294 |
</html>
|
phpDocs/classes/MLAModal.html
CHANGED
@@ -441,7 +441,7 @@ and mla_print_media_templates_action</h2>
|
|
441 |
<div class="row"><footer class="span12">
|
442 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
443 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
444 |
-
generated on 2014-05-
|
445 |
</div>
|
446 |
</body>
|
447 |
</html>
|
441 |
<div class="row"><footer class="span12">
|
442 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
443 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
444 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
445 |
</div>
|
446 |
</body>
|
447 |
</html>
|
phpDocs/classes/MLAObjects.html
CHANGED
@@ -172,7 +172,7 @@ which replaces the "Posts" column with an equivalent "Attachments" column.</h2>
|
|
172 |
<div class="row"><footer class="span12">
|
173 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
174 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
175 |
-
generated on 2014-05-
|
176 |
</div>
|
177 |
</body>
|
178 |
</html>
|
172 |
<div class="row"><footer class="span12">
|
173 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
174 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
175 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
176 |
</div>
|
177 |
</body>
|
178 |
</html>
|
phpDocs/classes/MLAOptions.html
CHANGED
@@ -1489,7 +1489,7 @@ also controls the ATTACHMENT DETAILS enhancements</h2>
|
|
1489 |
<div class="row"><footer class="span12">
|
1490 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1491 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1492 |
-
generated on 2014-05-
|
1493 |
</div>
|
1494 |
</body>
|
1495 |
</html>
|
1489 |
<div class="row"><footer class="span12">
|
1490 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1491 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1492 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
1493 |
</div>
|
1494 |
</body>
|
1495 |
</html>
|
phpDocs/classes/MLASettings.html
CHANGED
@@ -1193,7 +1193,7 @@ because Localization calls cannot be placed in the "public static" array definit
|
|
1193 |
<div class="row"><footer class="span12">
|
1194 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1195 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1196 |
-
generated on 2014-05-
|
1197 |
</div>
|
1198 |
</body>
|
1199 |
</html>
|
1193 |
<div class="row"><footer class="span12">
|
1194 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1195 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1196 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
1197 |
</div>
|
1198 |
</body>
|
1199 |
</html>
|
phpDocs/classes/MLAShortcodes.html
CHANGED
@@ -58,12 +58,13 @@
|
|
58 |
<li class="nav-header">
|
59 |
<i class="icon-custom icon-method"></i> Methods</li>
|
60 |
<li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
|
61 |
-
<li class="method public "><a href="#mla_attachment_list_shortcode" title="mla_attachment_list_shortcode ::
|
62 |
<li class="method public "><a href="#mla_gallery_shortcode" title="mla_gallery_shortcode :: The MLA Gallery shortcode."><span class="description">The MLA Gallery shortcode.</span><pre>mla_gallery_shortcode()</pre></a></li>
|
63 |
<li class="method public "><a href="#mla_get_shortcode_attachments" title="mla_get_shortcode_attachments :: Parses shortcode parameters and returns the gallery objects"><span class="description">Parses shortcode parameters and returns the gallery objects</span><pre>mla_get_shortcode_attachments()</pre></a></li>
|
64 |
<li class="method public "><a href="#mla_get_terms" title="mla_get_terms :: Retrieve the terms in one or more taxonomies."><span class="description">Retrieve the terms in one or more taxonomies.</span><pre>mla_get_terms()</pre></a></li>
|
65 |
<li class="method public "><a href="#mla_shortcode_query_posts_clauses_filter" title="mla_shortcode_query_posts_clauses_filter :: Filters all clauses for shortcode queries, pre caching plugins"><span class="description">Filters all clauses for shortcode queries, pre caching plugins</span><pre>mla_shortcode_query_posts_clauses_filter()</pre></a></li>
|
66 |
<li class="method public "><a href="#mla_shortcode_query_posts_clauses_request_filter" title="mla_shortcode_query_posts_clauses_request_filter :: Filters all clauses for shortcode queries, post caching plugins"><span class="description">Filters all clauses for shortcode queries, post caching plugins</span><pre>mla_shortcode_query_posts_clauses_request_filter()</pre></a></li>
|
|
|
67 |
<li class="method public "><a href="#mla_shortcode_query_posts_orderby_filter" title="mla_shortcode_query_posts_orderby_filter :: Filters the ORDERBY clause for shortcode queries"><span class="description">Filters the ORDERBY clause for shortcode queries</span><pre>mla_shortcode_query_posts_orderby_filter()</pre></a></li>
|
68 |
<li class="method public "><a href="#mla_shortcode_query_posts_where_filter" title="mla_shortcode_query_posts_where_filter :: Filters the WHERE clause for shortcode queries"><span class="description">Filters the WHERE clause for shortcode queries</span><pre>mla_shortcode_query_posts_where_filter()</pre></a></li>
|
69 |
<li class="method public "><a href="#mla_tag_cloud" title="mla_tag_cloud :: The MLA Tag Cloud support function."><span class="description">The MLA Tag Cloud support function.</span><pre>mla_tag_cloud()</pre></a></li>
|
@@ -125,7 +126,7 @@
|
|
125 |
</div></div>
|
126 |
</div>
|
127 |
<a name="mla_attachment_list_shortcode" id="mla_attachment_list_shortcode"></a><div class="element clickable method public mla_attachment_list_shortcode" data-toggle="collapse" data-target=".mla_attachment_list_shortcode .collapse">
|
128 |
-
<h2>
|
129 |
<pre>mla_attachment_list_shortcode() : void</pre>
|
130 |
<div class="labels"></div>
|
131 |
<div class="row collapse"><div class="detail-description">
|
@@ -276,6 +277,25 @@ Defined as public because it's a filter.</p></p>
|
|
276 |
<code>array</code>query clauses after modification (none)</div>
|
277 |
</div></div>
|
278 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
<a name="mla_shortcode_query_posts_orderby_filter" id="mla_shortcode_query_posts_orderby_filter"></a><div class="element clickable method public mla_shortcode_query_posts_orderby_filter" data-toggle="collapse" data-target=".mla_shortcode_query_posts_orderby_filter .collapse">
|
280 |
<h2>Filters the ORDERBY clause for shortcode queries</h2>
|
281 |
<pre>mla_shortcode_query_posts_orderby_filter(string $orderby_clause) : string</pre>
|
@@ -571,8 +591,7 @@ Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().
|
|
571 |
<pre>$query_parameters : array</pre>
|
572 |
<div class="labels"></div>
|
573 |
<div class="row collapse"><div class="detail-description">
|
574 |
-
<p class="long_description"><p>This array defines parameters for the query's where and orderby filters
|
575 |
-
mla_shortcode_query_posts_where_filter and mla_shortcode_query_posts_orderby_filter.
|
576 |
The parameters are set up in the mla_get_shortcode_attachments function, and
|
577 |
any further logic required to translate those values is contained in the filter.</p>
|
578 |
|
@@ -590,7 +609,7 @@ any further logic required to translate those values is contained in the filter.
|
|
590 |
<div class="row"><footer class="span12">
|
591 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
592 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
593 |
-
generated on 2014-05-
|
594 |
</div>
|
595 |
</body>
|
596 |
</html>
|
58 |
<li class="nav-header">
|
59 |
<i class="icon-custom icon-method"></i> Methods</li>
|
60 |
<li class="method public "><a href="#initialize" title="initialize :: Initialization function, similar to __construct()"><span class="description">Initialization function, similar to __construct()</span><pre>initialize()</pre></a></li>
|
61 |
+
<li class="method public "><a href="#mla_attachment_list_shortcode" title="mla_attachment_list_shortcode :: Obsolete; no longer supported"><span class="description">Obsolete; no longer supported</span><pre>mla_attachment_list_shortcode()</pre></a></li>
|
62 |
<li class="method public "><a href="#mla_gallery_shortcode" title="mla_gallery_shortcode :: The MLA Gallery shortcode."><span class="description">The MLA Gallery shortcode.</span><pre>mla_gallery_shortcode()</pre></a></li>
|
63 |
<li class="method public "><a href="#mla_get_shortcode_attachments" title="mla_get_shortcode_attachments :: Parses shortcode parameters and returns the gallery objects"><span class="description">Parses shortcode parameters and returns the gallery objects</span><pre>mla_get_shortcode_attachments()</pre></a></li>
|
64 |
<li class="method public "><a href="#mla_get_terms" title="mla_get_terms :: Retrieve the terms in one or more taxonomies."><span class="description">Retrieve the terms in one or more taxonomies.</span><pre>mla_get_terms()</pre></a></li>
|
65 |
<li class="method public "><a href="#mla_shortcode_query_posts_clauses_filter" title="mla_shortcode_query_posts_clauses_filter :: Filters all clauses for shortcode queries, pre caching plugins"><span class="description">Filters all clauses for shortcode queries, pre caching plugins</span><pre>mla_shortcode_query_posts_clauses_filter()</pre></a></li>
|
66 |
<li class="method public "><a href="#mla_shortcode_query_posts_clauses_request_filter" title="mla_shortcode_query_posts_clauses_request_filter :: Filters all clauses for shortcode queries, post caching plugins"><span class="description">Filters all clauses for shortcode queries, post caching plugins</span><pre>mla_shortcode_query_posts_clauses_request_filter()</pre></a></li>
|
67 |
+
<li class="method public "><a href="#mla_shortcode_query_posts_join_filter" title="mla_shortcode_query_posts_join_filter :: Filters the JOIN clause for shortcode queries"><span class="description">Filters the JOIN clause for shortcode queries</span><pre>mla_shortcode_query_posts_join_filter()</pre></a></li>
|
68 |
<li class="method public "><a href="#mla_shortcode_query_posts_orderby_filter" title="mla_shortcode_query_posts_orderby_filter :: Filters the ORDERBY clause for shortcode queries"><span class="description">Filters the ORDERBY clause for shortcode queries</span><pre>mla_shortcode_query_posts_orderby_filter()</pre></a></li>
|
69 |
<li class="method public "><a href="#mla_shortcode_query_posts_where_filter" title="mla_shortcode_query_posts_where_filter :: Filters the WHERE clause for shortcode queries"><span class="description">Filters the WHERE clause for shortcode queries</span><pre>mla_shortcode_query_posts_where_filter()</pre></a></li>
|
70 |
<li class="method public "><a href="#mla_tag_cloud" title="mla_tag_cloud :: The MLA Tag Cloud support function."><span class="description">The MLA Tag Cloud support function.</span><pre>mla_tag_cloud()</pre></a></li>
|
126 |
</div></div>
|
127 |
</div>
|
128 |
<a name="mla_attachment_list_shortcode" id="mla_attachment_list_shortcode"></a><div class="element clickable method public mla_attachment_list_shortcode" data-toggle="collapse" data-target=".mla_attachment_list_shortcode .collapse">
|
129 |
+
<h2>Obsolete; no longer supported</h2>
|
130 |
<pre>mla_attachment_list_shortcode() : void</pre>
|
131 |
<div class="labels"></div>
|
132 |
<div class="row collapse"><div class="detail-description">
|
277 |
<code>array</code>query clauses after modification (none)</div>
|
278 |
</div></div>
|
279 |
</div>
|
280 |
+
<a name="mla_shortcode_query_posts_join_filter" id="mla_shortcode_query_posts_join_filter"></a><div class="element clickable method public mla_shortcode_query_posts_join_filter" data-toggle="collapse" data-target=".mla_shortcode_query_posts_join_filter .collapse">
|
281 |
+
<h2>Filters the JOIN clause for shortcode queries</h2>
|
282 |
+
<pre>mla_shortcode_query_posts_join_filter(string $join_clause) : string</pre>
|
283 |
+
<div class="labels"></div>
|
284 |
+
<div class="row collapse"><div class="detail-description">
|
285 |
+
<p class="long_description"><p>Defined as public because it's a filter.</p></p>
|
286 |
+
<table class="table table-bordered"><tr>
|
287 |
+
<th>since</th>
|
288 |
+
<td>1.8x</td>
|
289 |
+
</tr></table>
|
290 |
+
<h3>Parameters</h3>
|
291 |
+
<div class="subelement argument">
|
292 |
+
<h4>$join_clause</h4>
|
293 |
+
<code>string</code><p>query clause before modification</p></div>
|
294 |
+
<h3>Returns</h3>
|
295 |
+
<div class="subelement response">
|
296 |
+
<code>string</code>query clause after item modification</div>
|
297 |
+
</div></div>
|
298 |
+
</div>
|
299 |
<a name="mla_shortcode_query_posts_orderby_filter" id="mla_shortcode_query_posts_orderby_filter"></a><div class="element clickable method public mla_shortcode_query_posts_orderby_filter" data-toggle="collapse" data-target=".mla_shortcode_query_posts_orderby_filter .collapse">
|
300 |
<h2>Filters the ORDERBY clause for shortcode queries</h2>
|
301 |
<pre>mla_shortcode_query_posts_orderby_filter(string $orderby_clause) : string</pre>
|
591 |
<pre>$query_parameters : array</pre>
|
592 |
<div class="labels"></div>
|
593 |
<div class="row collapse"><div class="detail-description">
|
594 |
+
<p class="long_description"><p>This array defines parameters for the query's join, where and orderby filters.
|
|
|
595 |
The parameters are set up in the mla_get_shortcode_attachments function, and
|
596 |
any further logic required to translate those values is contained in the filter.</p>
|
597 |
|
609 |
<div class="row"><footer class="span12">
|
610 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
611 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
612 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
613 |
</div>
|
614 |
</body>
|
615 |
</html>
|
phpDocs/classes/MLATest.html
CHANGED
@@ -165,7 +165,7 @@ to ensure the plugin can run in the current WordPress envrionment.</p>
|
|
165 |
<div class="row"><footer class="span12">
|
166 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
167 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
168 |
-
generated on 2014-05-
|
169 |
</div>
|
170 |
</body>
|
171 |
</html>
|
165 |
<div class="row"><footer class="span12">
|
166 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
167 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
168 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
169 |
</div>
|
170 |
</body>
|
171 |
</html>
|
phpDocs/classes/MLATextWidget.html
CHANGED
@@ -178,7 +178,7 @@
|
|
178 |
<div class="row"><footer class="span12">
|
179 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
180 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
181 |
-
generated on 2014-05-
|
182 |
</div>
|
183 |
</body>
|
184 |
</html>
|
178 |
<div class="row"><footer class="span12">
|
179 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
180 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
181 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
182 |
</div>
|
183 |
</body>
|
184 |
</html>
|
phpDocs/classes/MLA_Checklist_Walker.html
CHANGED
@@ -163,7 +163,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p></p>
|
|
163 |
<div class="row"><footer class="span12">
|
164 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
165 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
166 |
-
generated on 2014-05-
|
167 |
</div>
|
168 |
</body>
|
169 |
</html>
|
163 |
<div class="row"><footer class="span12">
|
164 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
165 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
166 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
167 |
</div>
|
168 |
</body>
|
169 |
</html>
|
phpDocs/classes/MLA_List_Table.html
CHANGED
@@ -1135,7 +1135,7 @@ MLA_List_Table::mla_admin_init_action.</p></p>
|
|
1135 |
<div class="row"><footer class="span12">
|
1136 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1137 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1138 |
-
generated on 2014-05-
|
1139 |
</div>
|
1140 |
</body>
|
1141 |
</html>
|
1135 |
<div class="row"><footer class="span12">
|
1136 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
1137 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
1138 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
1139 |
</div>
|
1140 |
</body>
|
1141 |
</html>
|
phpDocs/classes/MLA_Upload_List_Table.html
CHANGED
@@ -736,7 +736,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
736 |
<div class="row"><footer class="span12">
|
737 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
738 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
739 |
-
generated on 2014-05-
|
740 |
</div>
|
741 |
</body>
|
742 |
</html>
|
736 |
<div class="row"><footer class="span12">
|
737 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
738 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
739 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
740 |
</div>
|
741 |
</body>
|
742 |
</html>
|
phpDocs/classes/MLA_Upload_Optional_List_Table.html
CHANGED
@@ -554,7 +554,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
554 |
<div class="row"><footer class="span12">
|
555 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
556 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
557 |
-
generated on 2014-05-
|
558 |
</div>
|
559 |
</body>
|
560 |
</html>
|
554 |
<div class="row"><footer class="span12">
|
555 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
556 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
557 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
558 |
</div>
|
559 |
</body>
|
560 |
</html>
|
phpDocs/classes/MLA_View_List_Table.html
CHANGED
@@ -633,7 +633,7 @@ sorted by that column. This is computed each time the table is displayed.</p></p
|
|
633 |
<div class="row"><footer class="span12">
|
634 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
635 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
636 |
-
generated on 2014-05-
|
637 |
</div>
|
638 |
</body>
|
639 |
</html>
|
633 |
<div class="row"><footer class="span12">
|
634 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
635 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
636 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
637 |
</div>
|
638 |
</body>
|
639 |
</html>
|
phpDocs/deprecated.html
CHANGED
@@ -67,7 +67,7 @@
|
|
67 |
<div class="row"><footer class="span12">
|
68 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
69 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
70 |
-
generated on 2014-05-
|
71 |
</div>
|
72 |
</body>
|
73 |
</html>
|
67 |
<div class="row"><footer class="span12">
|
68 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
69 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
70 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
71 |
</div>
|
72 |
</body>
|
73 |
</html>
|
phpDocs/errors.html
CHANGED
@@ -100,7 +100,7 @@
|
|
100 |
<div class="row"><footer class="span12">
|
101 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
102 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
103 |
-
generated on 2014-05-
|
104 |
</div>
|
105 |
</body>
|
106 |
</html>
|
100 |
<div class="row"><footer class="span12">
|
101 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
102 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
103 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
104 |
</div>
|
105 |
</body>
|
106 |
</html>
|
phpDocs/graph_class.html
CHANGED
@@ -64,7 +64,7 @@
|
|
64 |
</script><div class="row"><footer class="span12">
|
65 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
66 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
67 |
-
generated on 2014-05-
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
64 |
</script><div class="row"><footer class="span12">
|
65 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
66 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
67 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
68 |
</div>
|
69 |
</body>
|
70 |
</html>
|
phpDocs/index.html
CHANGED
@@ -86,7 +86,7 @@
|
|
86 |
<div class="row"><footer class="span12">
|
87 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
88 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
89 |
-
generated on 2014-05-
|
90 |
</div>
|
91 |
</body>
|
92 |
</html>
|
86 |
<div class="row"><footer class="span12">
|
87 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
88 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
89 |
+
generated on 2014-05-30T12:08:30-07:00.<br></footer></div>
|
90 |
</div>
|
91 |
</body>
|
92 |
</html>
|
phpDocs/markers.html
CHANGED
@@ -89,7 +89,7 @@
|
|
89 |
<div class="row"><footer class="span12">
|
90 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
91 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
92 |
-
generated on 2014-05-
|
93 |
</div>
|
94 |
</body>
|
95 |
</html>
|
89 |
<div class="row"><footer class="span12">
|
90 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
91 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
92 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
93 |
</div>
|
94 |
</body>
|
95 |
</html>
|
phpDocs/namespaces/global.html
CHANGED
@@ -348,7 +348,7 @@ searchable database of exension/type associations for the "Uploads" admin settin
|
|
348 |
<div class="row"><footer class="span12">
|
349 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
350 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
351 |
-
generated on 2014-05-
|
352 |
</div>
|
353 |
</body>
|
354 |
</html>
|
348 |
<div class="row"><footer class="span12">
|
349 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
350 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
351 |
+
generated on 2014-05-30T12:08:30-07:00.<br></footer></div>
|
352 |
</div>
|
353 |
</body>
|
354 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.Child.Theme.html
CHANGED
@@ -189,7 +189,7 @@ display an "accordian-style" list.</p></p>
|
|
189 |
<div class="row"><footer class="span12">
|
190 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
191 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
192 |
-
generated on 2014-05-
|
193 |
</div>
|
194 |
</body>
|
195 |
</html>
|
189 |
<div class="row"><footer class="span12">
|
190 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
191 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
192 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
193 |
</div>
|
194 |
</body>
|
195 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.Child.html
CHANGED
@@ -188,7 +188,7 @@ display an "accordian-style" list.</p></p>
|
|
188 |
<div class="row"><footer class="span12">
|
189 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
190 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
191 |
-
generated on 2014-05-
|
192 |
</div>
|
193 |
</body>
|
194 |
</html>
|
188 |
<div class="row"><footer class="span12">
|
189 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
190 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
191 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
192 |
</div>
|
193 |
</body>
|
194 |
</html>
|
phpDocs/packages/Media Library Assistant.MLA.html
CHANGED
@@ -199,7 +199,7 @@ display an "accordian-style" list.</p></p>
|
|
199 |
<div class="row"><footer class="span12">
|
200 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
201 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
202 |
-
generated on 2014-05-
|
203 |
</div>
|
204 |
</body>
|
205 |
</html>
|
199 |
<div class="row"><footer class="span12">
|
200 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
201 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
202 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
203 |
</div>
|
204 |
</body>
|
205 |
</html>
|
phpDocs/packages/Media Library Assistant.html
CHANGED
@@ -420,7 +420,7 @@ display an "accordian-style" list.</p></p>
|
|
420 |
<div class="row"><footer class="span12">
|
421 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
422 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
423 |
-
generated on 2014-05-
|
424 |
</div>
|
425 |
</body>
|
426 |
</html>
|
420 |
<div class="row"><footer class="span12">
|
421 |
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
422 |
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a8</a> and<br>
|
423 |
+
generated on 2014-05-30T12:08:31-07:00.<br></footer></div>
|
424 |
</div>
|
425 |
</body>
|
426 |
</html>
|
phpDocs/structure.xml
CHANGED
@@ -2331,7 +2331,7 @@ and meta data for a single attachment]]></description>
|
|
2331 |
<todo line="3247">encode the rest</todo>
|
2332 |
</markers>
|
2333 |
</file>
|
2334 |
-
<file path="includes\class-mla-edit-media.php" hash="
|
2335 |
<docblock line="2">
|
2336 |
<description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
|
2337 |
<long-description><![CDATA[]]></long-description>
|
@@ -2387,15 +2387,15 @@ and meta data for a single attachment]]></description>
|
|
2387 |
</tag>
|
2388 |
</docblock>
|
2389 |
</constant>
|
2390 |
-
<property final="false" static="true" visibility="private" line="
|
2391 |
<name>$mla_references</name>
|
2392 |
<default><![CDATA[null]]></default>
|
2393 |
-
<docblock line="
|
2394 |
<description><![CDATA[Where-used values for the current item]]></description>
|
2395 |
<long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
|
2396 |
The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
|
2397 |
-
<tag line="
|
2398 |
-
<tag line="
|
2399 |
<type by_reference="false">array</type>
|
2400 |
</tag>
|
2401 |
</docblock>
|
@@ -2444,405 +2444,405 @@ The array is built once each page load and cached for subsequent calls.</p>]]></
|
|
2444 |
<type/>
|
2445 |
</argument>
|
2446 |
</method>
|
2447 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2448 |
<name>mla_post_updated_messages_filter</name>
|
2449 |
<full_name>mla_post_updated_messages_filter</full_name>
|
2450 |
-
<docblock line="
|
2451 |
<description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
|
2452 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
2453 |
-
<tag line="
|
2454 |
-
<tag line="
|
2455 |
<type by_reference="false">array</type>
|
2456 |
</tag>
|
2457 |
-
<tag line="
|
2458 |
<type by_reference="false">array</type>
|
2459 |
</tag>
|
2460 |
</docblock>
|
2461 |
-
<argument line="
|
2462 |
<name>$messages</name>
|
2463 |
<default><![CDATA[]]></default>
|
2464 |
<type/>
|
2465 |
</argument>
|
2466 |
</method>
|
2467 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2468 |
<name>mla_attachment_submitbox_action</name>
|
2469 |
<full_name>mla_attachment_submitbox_action</full_name>
|
2470 |
-
<docblock line="
|
2471 |
<description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
|
2472 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2473 |
-
<tag line="
|
2474 |
-
<tag line="
|
2475 |
<type by_reference="false">void</type>
|
2476 |
</tag>
|
2477 |
</docblock>
|
2478 |
</method>
|
2479 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2480 |
<name>mla_add_meta_boxes_action</name>
|
2481 |
<full_name>mla_add_meta_boxes_action</full_name>
|
2482 |
-
<docblock line="
|
2483 |
<description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
|
2484 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2485 |
-
<tag line="
|
2486 |
-
<tag line="
|
2487 |
<type by_reference="false">string</type>
|
2488 |
</tag>
|
2489 |
-
<tag line="
|
2490 |
<type by_reference="false">object</type>
|
2491 |
</tag>
|
2492 |
-
<tag line="
|
2493 |
<type by_reference="false">void</type>
|
2494 |
</tag>
|
2495 |
</docblock>
|
2496 |
-
<argument line="
|
2497 |
<name>$post_type</name>
|
2498 |
<default><![CDATA['unknown']]></default>
|
2499 |
<type/>
|
2500 |
</argument>
|
2501 |
-
<argument line="
|
2502 |
<name>$post</name>
|
2503 |
<default><![CDATA[NULL]]></default>
|
2504 |
<type/>
|
2505 |
</argument>
|
2506 |
</method>
|
2507 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2508 |
<name>mla_edit_add_help_tab</name>
|
2509 |
<full_name>mla_edit_add_help_tab</full_name>
|
2510 |
-
<docblock line="
|
2511 |
<description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
|
2512 |
<long-description><![CDATA[]]></long-description>
|
2513 |
-
<tag line="
|
2514 |
-
<tag line="
|
2515 |
<type by_reference="false">string</type>
|
2516 |
</tag>
|
2517 |
-
<tag line="
|
2518 |
<type by_reference="false">string</type>
|
2519 |
</tag>
|
2520 |
-
<tag line="
|
2521 |
<type by_reference="false">void</type>
|
2522 |
</tag>
|
2523 |
</docblock>
|
2524 |
-
<argument line="
|
2525 |
<name>$admin_title</name>
|
2526 |
<default><![CDATA[]]></default>
|
2527 |
<type/>
|
2528 |
</argument>
|
2529 |
-
<argument line="
|
2530 |
<name>$title</name>
|
2531 |
<default><![CDATA[]]></default>
|
2532 |
<type/>
|
2533 |
</argument>
|
2534 |
</method>
|
2535 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2536 |
<name>mla_parent_info_handler</name>
|
2537 |
<full_name>mla_parent_info_handler</full_name>
|
2538 |
-
<docblock line="
|
2539 |
<description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
|
2540 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2541 |
-
<tag line="
|
2542 |
-
<tag line="
|
2543 |
<type by_reference="false">object</type>
|
2544 |
</tag>
|
2545 |
-
<tag line="
|
2546 |
<type by_reference="false">void</type>
|
2547 |
</tag>
|
2548 |
</docblock>
|
2549 |
-
<argument line="
|
2550 |
<name>$post</name>
|
2551 |
<default><![CDATA[]]></default>
|
2552 |
<type/>
|
2553 |
</argument>
|
2554 |
</method>
|
2555 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2556 |
<name>mla_menu_order_handler</name>
|
2557 |
<full_name>mla_menu_order_handler</full_name>
|
2558 |
-
<docblock line="
|
2559 |
<description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
|
2560 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2561 |
-
<tag line="
|
2562 |
-
<tag line="
|
2563 |
<type by_reference="false">object</type>
|
2564 |
</tag>
|
2565 |
-
<tag line="
|
2566 |
<type by_reference="false">void</type>
|
2567 |
</tag>
|
2568 |
</docblock>
|
2569 |
-
<argument line="
|
2570 |
<name>$post</name>
|
2571 |
<default><![CDATA[]]></default>
|
2572 |
<type/>
|
2573 |
</argument>
|
2574 |
</method>
|
2575 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2576 |
<name>mla_image_metadata_handler</name>
|
2577 |
<full_name>mla_image_metadata_handler</full_name>
|
2578 |
-
<docblock line="
|
2579 |
<description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
|
2580 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2581 |
-
<tag line="
|
2582 |
-
<tag line="
|
2583 |
<type by_reference="false">object</type>
|
2584 |
</tag>
|
2585 |
-
<tag line="
|
2586 |
<type by_reference="false">void</type>
|
2587 |
</tag>
|
2588 |
</docblock>
|
2589 |
-
<argument line="
|
2590 |
<name>$post</name>
|
2591 |
<default><![CDATA[]]></default>
|
2592 |
<type/>
|
2593 |
</argument>
|
2594 |
</method>
|
2595 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2596 |
<name>mla_featured_in_handler</name>
|
2597 |
<full_name>mla_featured_in_handler</full_name>
|
2598 |
-
<docblock line="
|
2599 |
<description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
|
2600 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2601 |
-
<tag line="
|
2602 |
-
<tag line="
|
2603 |
<type by_reference="false">object</type>
|
2604 |
</tag>
|
2605 |
-
<tag line="
|
2606 |
<type by_reference="false">void</type>
|
2607 |
</tag>
|
2608 |
</docblock>
|
2609 |
-
<argument line="
|
2610 |
<name>$post</name>
|
2611 |
<default><![CDATA[]]></default>
|
2612 |
<type/>
|
2613 |
</argument>
|
2614 |
</method>
|
2615 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2616 |
<name>mla_inserted_in_handler</name>
|
2617 |
<full_name>mla_inserted_in_handler</full_name>
|
2618 |
-
<docblock line="
|
2619 |
<description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
|
2620 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2621 |
-
<tag line="
|
2622 |
-
<tag line="
|
2623 |
<type by_reference="false">object</type>
|
2624 |
</tag>
|
2625 |
-
<tag line="
|
2626 |
<type by_reference="false">void</type>
|
2627 |
</tag>
|
2628 |
</docblock>
|
2629 |
-
<argument line="
|
2630 |
<name>$post</name>
|
2631 |
<default><![CDATA[]]></default>
|
2632 |
<type/>
|
2633 |
</argument>
|
2634 |
</method>
|
2635 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2636 |
<name>mla_gallery_in_handler</name>
|
2637 |
<full_name>mla_gallery_in_handler</full_name>
|
2638 |
-
<docblock line="
|
2639 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2640 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2641 |
-
<tag line="
|
2642 |
-
<tag line="
|
2643 |
<type by_reference="false">object</type>
|
2644 |
</tag>
|
2645 |
-
<tag line="
|
2646 |
<type by_reference="false">void</type>
|
2647 |
</tag>
|
2648 |
</docblock>
|
2649 |
-
<argument line="
|
2650 |
<name>$post</name>
|
2651 |
<default><![CDATA[]]></default>
|
2652 |
<type/>
|
2653 |
</argument>
|
2654 |
</method>
|
2655 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2656 |
<name>mla_mla_gallery_in_handler</name>
|
2657 |
<full_name>mla_mla_gallery_in_handler</full_name>
|
2658 |
-
<docblock line="
|
2659 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2660 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2661 |
-
<tag line="
|
2662 |
-
<tag line="
|
2663 |
<type by_reference="false">object</type>
|
2664 |
</tag>
|
2665 |
-
<tag line="
|
2666 |
<type by_reference="false">void</type>
|
2667 |
</tag>
|
2668 |
</docblock>
|
2669 |
-
<argument line="
|
2670 |
<name>$post</name>
|
2671 |
<default><![CDATA[]]></default>
|
2672 |
<type/>
|
2673 |
</argument>
|
2674 |
</method>
|
2675 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2676 |
<name>mla_edit_attachment_action</name>
|
2677 |
<full_name>mla_edit_attachment_action</full_name>
|
2678 |
-
<docblock line="
|
2679 |
<description><![CDATA[Saves updates from the Edit Media screen.]]></description>
|
2680 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2681 |
-
<tag line="
|
2682 |
-
<tag line="
|
2683 |
<type by_reference="false">integer</type>
|
2684 |
</tag>
|
2685 |
-
<tag line="
|
2686 |
<type by_reference="false">void</type>
|
2687 |
</tag>
|
2688 |
</docblock>
|
2689 |
-
<argument line="
|
2690 |
<name>$post_ID</name>
|
2691 |
<default><![CDATA[]]></default>
|
2692 |
<type/>
|
2693 |
</argument>
|
2694 |
</method>
|
2695 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
2696 |
<name>_mla_ajax_add_flat_term</name>
|
2697 |
<full_name>_mla_ajax_add_flat_term</full_name>
|
2698 |
-
<docblock line="
|
2699 |
<description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
|
2700 |
<long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
|
2701 |
-
<tag line="
|
2702 |
-
<tag line="
|
2703 |
<type by_reference="false">string</type>
|
2704 |
</tag>
|
2705 |
-
<tag line="
|
2706 |
<type by_reference="false">void</type>
|
2707 |
</tag>
|
2708 |
</docblock>
|
2709 |
-
<argument line="
|
2710 |
<name>$key</name>
|
2711 |
<default><![CDATA[]]></default>
|
2712 |
<type/>
|
2713 |
</argument>
|
2714 |
</method>
|
2715 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
2716 |
<name>mla_checklist_meta_box</name>
|
2717 |
<full_name>mla_checklist_meta_box</full_name>
|
2718 |
-
<docblock line="
|
2719 |
<description><![CDATA[Display taxonomy "checklist" form fields]]></description>
|
2720 |
<long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
|
2721 |
Includes the "? Search" area to filter the term checklist by entering part
|
2722 |
or all of a word/phrase in the term label.
|
2723 |
Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
|
2724 |
-
<tag line="
|
2725 |
-
<tag line="
|
2726 |
<type by_reference="false">object</type>
|
2727 |
</tag>
|
2728 |
-
<tag line="
|
2729 |
<type by_reference="false">array</type>
|
2730 |
</tag>
|
2731 |
-
<tag line="
|
2732 |
<type by_reference="false">void</type>
|
2733 |
</tag>
|
2734 |
</docblock>
|
2735 |
-
<argument line="
|
2736 |
<name>$target_post</name>
|
2737 |
<default><![CDATA[]]></default>
|
2738 |
<type/>
|
2739 |
</argument>
|
2740 |
-
<argument line="
|
2741 |
<name>$box</name>
|
2742 |
<default><![CDATA[]]></default>
|
2743 |
<type/>
|
2744 |
</argument>
|
2745 |
</method>
|
2746 |
</class>
|
2747 |
-
<class final="false" abstract="false" namespace="global" line="
|
2748 |
<extends>\Walker_Category</extends>
|
2749 |
<name>MLA_Checklist_Walker</name>
|
2750 |
<full_name>\MLA_Checklist_Walker</full_name>
|
2751 |
-
<docblock line="
|
2752 |
<description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
|
2753 |
<long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
|
2754 |
Class Walker_Category is defined in /wp-includes/category-template.php.
|
2755 |
Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
|
2756 |
-
<tag line="
|
2757 |
-
<tag line="
|
2758 |
</docblock>
|
2759 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
2760 |
<name>start_el</name>
|
2761 |
<full_name>start_el</full_name>
|
2762 |
-
<docblock line="
|
2763 |
<description><![CDATA[Start the element output.]]></description>
|
2764 |
<long-description><![CDATA[]]></long-description>
|
2765 |
-
<tag line="
|
2766 |
-
<tag line="
|
2767 |
-
<tag line="
|
2768 |
<type by_reference="false">string</type>
|
2769 |
</tag>
|
2770 |
-
<tag line="
|
2771 |
<type by_reference="false">object</type>
|
2772 |
</tag>
|
2773 |
-
<tag line="
|
2774 |
<type by_reference="false">int</type>
|
2775 |
</tag>
|
2776 |
-
<tag line="
|
2777 |
<type by_reference="false">array</type>
|
2778 |
</tag>
|
2779 |
-
<tag line="
|
2780 |
<type by_reference="false">int</type>
|
2781 |
</tag>
|
2782 |
</docblock>
|
2783 |
-
<argument line="
|
2784 |
<name>$output</name>
|
2785 |
<default><![CDATA[]]></default>
|
2786 |
<type/>
|
2787 |
</argument>
|
2788 |
-
<argument line="
|
2789 |
<name>$taxonomy_object</name>
|
2790 |
<default><![CDATA[]]></default>
|
2791 |
<type/>
|
2792 |
</argument>
|
2793 |
-
<argument line="
|
2794 |
<name>$depth</name>
|
2795 |
<default><![CDATA[0]]></default>
|
2796 |
<type/>
|
2797 |
</argument>
|
2798 |
-
<argument line="
|
2799 |
<name>$args</name>
|
2800 |
<default><![CDATA[array()]]></default>
|
2801 |
<type/>
|
2802 |
</argument>
|
2803 |
-
<argument line="
|
2804 |
<name>$id</name>
|
2805 |
<default><![CDATA[0]]></default>
|
2806 |
<type/>
|
2807 |
</argument>
|
2808 |
</method>
|
2809 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
2810 |
<name>end_el</name>
|
2811 |
<full_name>end_el</full_name>
|
2812 |
-
<docblock line="
|
2813 |
<description><![CDATA[Ends the element output, if needed.]]></description>
|
2814 |
<long-description><![CDATA[]]></long-description>
|
2815 |
-
<tag line="
|
2816 |
-
<tag line="
|
2817 |
-
<tag line="
|
2818 |
<type by_reference="false">string</type>
|
2819 |
</tag>
|
2820 |
-
<tag line="
|
2821 |
<type by_reference="false">object</type>
|
2822 |
</tag>
|
2823 |
-
<tag line="
|
2824 |
<type by_reference="false">int</type>
|
2825 |
</tag>
|
2826 |
-
<tag line="
|
2827 |
<type by_reference="false">array</type>
|
2828 |
</tag>
|
2829 |
</docblock>
|
2830 |
-
<argument line="
|
2831 |
<name>$output</name>
|
2832 |
<default><![CDATA[]]></default>
|
2833 |
<type/>
|
2834 |
</argument>
|
2835 |
-
<argument line="
|
2836 |
<name>$category</name>
|
2837 |
<default><![CDATA[]]></default>
|
2838 |
<type/>
|
2839 |
</argument>
|
2840 |
-
<argument line="
|
2841 |
<name>$depth</name>
|
2842 |
<default><![CDATA[0]]></default>
|
2843 |
<type/>
|
2844 |
</argument>
|
2845 |
-
<argument line="
|
2846 |
<name>$args</name>
|
2847 |
<default><![CDATA[array()]]></default>
|
2848 |
<type/>
|
@@ -2850,7 +2850,7 @@ Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-descri
|
|
2850 |
</method>
|
2851 |
</class>
|
2852 |
</file>
|
2853 |
-
<file path="includes\class-mla-list-table.php" hash="
|
2854 |
<docblock line="2">
|
2855 |
<description><![CDATA[Media Library Assistant extended List Table class]]></description>
|
2856 |
<long-description><![CDATA[]]></long-description>
|
@@ -3252,605 +3252,605 @@ is given special treatment when columns are processed.</p>]]></long-description>
|
|
3252 |
<type/>
|
3253 |
</argument>
|
3254 |
</method>
|
3255 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3256 |
<name>column_ID_parent</name>
|
3257 |
<full_name>column_ID_parent</full_name>
|
3258 |
-
<docblock line="
|
3259 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3260 |
<long-description><![CDATA[]]></long-description>
|
3261 |
-
<tag line="
|
3262 |
-
<tag line="
|
3263 |
<type by_reference="false">array</type>
|
3264 |
</tag>
|
3265 |
-
<tag line="
|
3266 |
<type by_reference="false">string</type>
|
3267 |
</tag>
|
3268 |
</docblock>
|
3269 |
-
<argument line="
|
3270 |
<name>$item</name>
|
3271 |
<default><![CDATA[]]></default>
|
3272 |
<type/>
|
3273 |
</argument>
|
3274 |
</method>
|
3275 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3276 |
<name>column_title_name</name>
|
3277 |
<full_name>column_title_name</full_name>
|
3278 |
-
<docblock line="
|
3279 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3280 |
<long-description><![CDATA[]]></long-description>
|
3281 |
-
<tag line="
|
3282 |
-
<tag line="
|
3283 |
<type by_reference="false">array</type>
|
3284 |
</tag>
|
3285 |
-
<tag line="
|
3286 |
<type by_reference="false">string</type>
|
3287 |
</tag>
|
3288 |
</docblock>
|
3289 |
-
<argument line="
|
3290 |
<name>$item</name>
|
3291 |
<default><![CDATA[]]></default>
|
3292 |
<type/>
|
3293 |
</argument>
|
3294 |
</method>
|
3295 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3296 |
<name>column_post_title</name>
|
3297 |
<full_name>column_post_title</full_name>
|
3298 |
-
<docblock line="
|
3299 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3300 |
<long-description><![CDATA[]]></long-description>
|
3301 |
-
<tag line="
|
3302 |
-
<tag line="
|
3303 |
<type by_reference="false">array</type>
|
3304 |
</tag>
|
3305 |
-
<tag line="
|
3306 |
<type by_reference="false">string</type>
|
3307 |
</tag>
|
3308 |
</docblock>
|
3309 |
-
<argument line="
|
3310 |
<name>$item</name>
|
3311 |
<default><![CDATA[]]></default>
|
3312 |
<type/>
|
3313 |
</argument>
|
3314 |
</method>
|
3315 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3316 |
<name>column_post_name</name>
|
3317 |
<full_name>column_post_name</full_name>
|
3318 |
-
<docblock line="
|
3319 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3320 |
<long-description><![CDATA[]]></long-description>
|
3321 |
-
<tag line="
|
3322 |
-
<tag line="
|
3323 |
<type by_reference="false">array</type>
|
3324 |
</tag>
|
3325 |
-
<tag line="
|
3326 |
<type by_reference="false">string</type>
|
3327 |
</tag>
|
3328 |
</docblock>
|
3329 |
-
<argument line="
|
3330 |
<name>$item</name>
|
3331 |
<default><![CDATA[]]></default>
|
3332 |
<type/>
|
3333 |
</argument>
|
3334 |
</method>
|
3335 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3336 |
<name>column_parent</name>
|
3337 |
<full_name>column_parent</full_name>
|
3338 |
-
<docblock line="
|
3339 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3340 |
<long-description><![CDATA[]]></long-description>
|
3341 |
-
<tag line="
|
3342 |
-
<tag line="
|
3343 |
<type by_reference="false">array</type>
|
3344 |
</tag>
|
3345 |
-
<tag line="
|
3346 |
<type by_reference="false">string</type>
|
3347 |
</tag>
|
3348 |
</docblock>
|
3349 |
-
<argument line="
|
3350 |
<name>$item</name>
|
3351 |
<default><![CDATA[]]></default>
|
3352 |
<type/>
|
3353 |
</argument>
|
3354 |
</method>
|
3355 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3356 |
<name>column_menu_order</name>
|
3357 |
<full_name>column_menu_order</full_name>
|
3358 |
-
<docblock line="
|
3359 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3360 |
<long-description><![CDATA[]]></long-description>
|
3361 |
-
<tag line="
|
3362 |
-
<tag line="
|
3363 |
<type by_reference="false">array</type>
|
3364 |
</tag>
|
3365 |
-
<tag line="
|
3366 |
<type by_reference="false">string</type>
|
3367 |
</tag>
|
3368 |
</docblock>
|
3369 |
-
<argument line="
|
3370 |
<name>$item</name>
|
3371 |
<default><![CDATA[]]></default>
|
3372 |
<type/>
|
3373 |
</argument>
|
3374 |
</method>
|
3375 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3376 |
<name>column_featured</name>
|
3377 |
<full_name>column_featured</full_name>
|
3378 |
-
<docblock line="
|
3379 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3380 |
<long-description><![CDATA[]]></long-description>
|
3381 |
-
<tag line="
|
3382 |
-
<tag line="
|
3383 |
<type by_reference="false">array</type>
|
3384 |
</tag>
|
3385 |
-
<tag line="
|
3386 |
<type by_reference="false">string</type>
|
3387 |
</tag>
|
3388 |
</docblock>
|
3389 |
-
<argument line="
|
3390 |
<name>$item</name>
|
3391 |
<default><![CDATA[]]></default>
|
3392 |
<type/>
|
3393 |
</argument>
|
3394 |
</method>
|
3395 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3396 |
<name>column_inserted</name>
|
3397 |
<full_name>column_inserted</full_name>
|
3398 |
-
<docblock line="
|
3399 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3400 |
<long-description><![CDATA[]]></long-description>
|
3401 |
-
<tag line="
|
3402 |
-
<tag line="
|
3403 |
<type by_reference="false">array</type>
|
3404 |
</tag>
|
3405 |
-
<tag line="
|
3406 |
<type by_reference="false">string</type>
|
3407 |
</tag>
|
3408 |
</docblock>
|
3409 |
-
<argument line="
|
3410 |
<name>$item</name>
|
3411 |
<default><![CDATA[]]></default>
|
3412 |
<type/>
|
3413 |
</argument>
|
3414 |
</method>
|
3415 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3416 |
<name>column_galleries</name>
|
3417 |
<full_name>column_galleries</full_name>
|
3418 |
-
<docblock line="
|
3419 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3420 |
<long-description><![CDATA[]]></long-description>
|
3421 |
-
<tag line="
|
3422 |
-
<tag line="
|
3423 |
<type by_reference="false">array</type>
|
3424 |
</tag>
|
3425 |
-
<tag line="
|
3426 |
<type by_reference="false">string</type>
|
3427 |
</tag>
|
3428 |
</docblock>
|
3429 |
-
<argument line="
|
3430 |
<name>$item</name>
|
3431 |
<default><![CDATA[]]></default>
|
3432 |
<type/>
|
3433 |
</argument>
|
3434 |
</method>
|
3435 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3436 |
<name>column_mla_galleries</name>
|
3437 |
<full_name>column_mla_galleries</full_name>
|
3438 |
-
<docblock line="
|
3439 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3440 |
<long-description><![CDATA[]]></long-description>
|
3441 |
-
<tag line="
|
3442 |
-
<tag line="
|
3443 |
<type by_reference="false">array</type>
|
3444 |
</tag>
|
3445 |
-
<tag line="
|
3446 |
<type by_reference="false">string</type>
|
3447 |
</tag>
|
3448 |
</docblock>
|
3449 |
-
<argument line="
|
3450 |
<name>$item</name>
|
3451 |
<default><![CDATA[]]></default>
|
3452 |
<type/>
|
3453 |
</argument>
|
3454 |
</method>
|
3455 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3456 |
<name>column_alt_text</name>
|
3457 |
<full_name>column_alt_text</full_name>
|
3458 |
-
<docblock line="
|
3459 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3460 |
<long-description><![CDATA[]]></long-description>
|
3461 |
-
<tag line="
|
3462 |
-
<tag line="
|
3463 |
<type by_reference="false">array</type>
|
3464 |
</tag>
|
3465 |
-
<tag line="
|
3466 |
<type by_reference="false">string</type>
|
3467 |
</tag>
|
3468 |
</docblock>
|
3469 |
-
<argument line="
|
3470 |
<name>$item</name>
|
3471 |
<default><![CDATA[]]></default>
|
3472 |
<type/>
|
3473 |
</argument>
|
3474 |
</method>
|
3475 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3476 |
<name>column_caption</name>
|
3477 |
<full_name>column_caption</full_name>
|
3478 |
-
<docblock line="
|
3479 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3480 |
<long-description><![CDATA[]]></long-description>
|
3481 |
-
<tag line="
|
3482 |
-
<tag line="
|
3483 |
<type by_reference="false">array</type>
|
3484 |
</tag>
|
3485 |
-
<tag line="
|
3486 |
<type by_reference="false">string</type>
|
3487 |
</tag>
|
3488 |
</docblock>
|
3489 |
-
<argument line="
|
3490 |
<name>$item</name>
|
3491 |
<default><![CDATA[]]></default>
|
3492 |
<type/>
|
3493 |
</argument>
|
3494 |
</method>
|
3495 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3496 |
<name>column_description</name>
|
3497 |
<full_name>column_description</full_name>
|
3498 |
-
<docblock line="
|
3499 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3500 |
<long-description><![CDATA[]]></long-description>
|
3501 |
-
<tag line="
|
3502 |
-
<tag line="
|
3503 |
<type by_reference="false">array</type>
|
3504 |
</tag>
|
3505 |
-
<tag line="
|
3506 |
<type by_reference="false">string</type>
|
3507 |
</tag>
|
3508 |
</docblock>
|
3509 |
-
<argument line="
|
3510 |
<name>$item</name>
|
3511 |
<default><![CDATA[]]></default>
|
3512 |
<type/>
|
3513 |
</argument>
|
3514 |
</method>
|
3515 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3516 |
<name>column_post_mime_type</name>
|
3517 |
<full_name>column_post_mime_type</full_name>
|
3518 |
-
<docblock line="
|
3519 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3520 |
<long-description><![CDATA[]]></long-description>
|
3521 |
-
<tag line="
|
3522 |
-
<tag line="
|
3523 |
<type by_reference="false">array</type>
|
3524 |
</tag>
|
3525 |
-
<tag line="
|
3526 |
<type by_reference="false">string</type>
|
3527 |
</tag>
|
3528 |
</docblock>
|
3529 |
-
<argument line="
|
3530 |
<name>$item</name>
|
3531 |
<default><![CDATA[]]></default>
|
3532 |
<type/>
|
3533 |
</argument>
|
3534 |
</method>
|
3535 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3536 |
<name>column_file_url</name>
|
3537 |
<full_name>column_file_url</full_name>
|
3538 |
-
<docblock line="
|
3539 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3540 |
<long-description><![CDATA[]]></long-description>
|
3541 |
-
<tag line="
|
3542 |
-
<tag line="
|
3543 |
<type by_reference="false">array</type>
|
3544 |
</tag>
|
3545 |
-
<tag line="
|
3546 |
<type by_reference="false">string</type>
|
3547 |
</tag>
|
3548 |
</docblock>
|
3549 |
-
<argument line="
|
3550 |
<name>$item</name>
|
3551 |
<default><![CDATA[]]></default>
|
3552 |
<type/>
|
3553 |
</argument>
|
3554 |
</method>
|
3555 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3556 |
<name>column_base_file</name>
|
3557 |
<full_name>column_base_file</full_name>
|
3558 |
-
<docblock line="
|
3559 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3560 |
<long-description><![CDATA[]]></long-description>
|
3561 |
-
<tag line="
|
3562 |
-
<tag line="
|
3563 |
<type by_reference="false">array</type>
|
3564 |
</tag>
|
3565 |
-
<tag line="
|
3566 |
<type by_reference="false">string</type>
|
3567 |
</tag>
|
3568 |
</docblock>
|
3569 |
-
<argument line="
|
3570 |
<name>$item</name>
|
3571 |
<default><![CDATA[]]></default>
|
3572 |
<type/>
|
3573 |
</argument>
|
3574 |
</method>
|
3575 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3576 |
<name>column_date</name>
|
3577 |
<full_name>column_date</full_name>
|
3578 |
-
<docblock line="
|
3579 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3580 |
<long-description><![CDATA[]]></long-description>
|
3581 |
-
<tag line="
|
3582 |
-
<tag line="
|
3583 |
<type by_reference="false">array</type>
|
3584 |
</tag>
|
3585 |
-
<tag line="
|
3586 |
<type by_reference="false">string</type>
|
3587 |
</tag>
|
3588 |
</docblock>
|
3589 |
-
<argument line="
|
3590 |
<name>$item</name>
|
3591 |
<default><![CDATA[]]></default>
|
3592 |
<type/>
|
3593 |
</argument>
|
3594 |
</method>
|
3595 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3596 |
<name>column_modified</name>
|
3597 |
<full_name>column_modified</full_name>
|
3598 |
-
<docblock line="
|
3599 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3600 |
<long-description><![CDATA[]]></long-description>
|
3601 |
-
<tag line="
|
3602 |
-
<tag line="
|
3603 |
<type by_reference="false">array</type>
|
3604 |
</tag>
|
3605 |
-
<tag line="
|
3606 |
<type by_reference="false">string</type>
|
3607 |
</tag>
|
3608 |
</docblock>
|
3609 |
-
<argument line="
|
3610 |
<name>$item</name>
|
3611 |
<default><![CDATA[]]></default>
|
3612 |
<type/>
|
3613 |
</argument>
|
3614 |
</method>
|
3615 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3616 |
<name>column_author</name>
|
3617 |
<full_name>column_author</full_name>
|
3618 |
-
<docblock line="
|
3619 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3620 |
<long-description><![CDATA[]]></long-description>
|
3621 |
-
<tag line="
|
3622 |
-
<tag line="
|
3623 |
<type by_reference="false">array</type>
|
3624 |
</tag>
|
3625 |
-
<tag line="
|
3626 |
<type by_reference="false">string</type>
|
3627 |
</tag>
|
3628 |
</docblock>
|
3629 |
-
<argument line="
|
3630 |
<name>$item</name>
|
3631 |
<default><![CDATA[]]></default>
|
3632 |
<type/>
|
3633 |
</argument>
|
3634 |
</method>
|
3635 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3636 |
<name>column_attached_to</name>
|
3637 |
<full_name>column_attached_to</full_name>
|
3638 |
-
<docblock line="
|
3639 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3640 |
<long-description><![CDATA[]]></long-description>
|
3641 |
-
<tag line="
|
3642 |
-
<tag line="
|
3643 |
<type by_reference="false">array</type>
|
3644 |
</tag>
|
3645 |
-
<tag line="
|
3646 |
<type by_reference="false">string</type>
|
3647 |
</tag>
|
3648 |
</docblock>
|
3649 |
-
<argument line="
|
3650 |
<name>$item</name>
|
3651 |
<default><![CDATA[]]></default>
|
3652 |
<type/>
|
3653 |
</argument>
|
3654 |
</method>
|
3655 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
3656 |
<name>mla_submenu_arguments</name>
|
3657 |
<full_name>mla_submenu_arguments</full_name>
|
3658 |
-
<docblock line="
|
3659 |
<description><![CDATA[Process $_REQUEST, building $submenu_arguments]]></description>
|
3660 |
<long-description><![CDATA[]]></long-description>
|
3661 |
-
<tag line="
|
3662 |
-
<tag line="
|
3663 |
<type by_reference="false">boolean</type>
|
3664 |
</tag>
|
3665 |
-
<tag line="
|
3666 |
<type by_reference="false">array</type>
|
3667 |
</tag>
|
3668 |
</docblock>
|
3669 |
-
<argument line="
|
3670 |
<name>$include_filters</name>
|
3671 |
<default><![CDATA[true]]></default>
|
3672 |
<type/>
|
3673 |
</argument>
|
3674 |
</method>
|
3675 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3676 |
<name>pagination</name>
|
3677 |
<full_name>pagination</full_name>
|
3678 |
-
<docblock line="
|
3679 |
<description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
|
3680 |
<long-description><![CDATA[]]></long-description>
|
3681 |
-
<tag line="
|
3682 |
-
<tag line="
|
3683 |
<type by_reference="false">string</type>
|
3684 |
</tag>
|
3685 |
-
<tag line="
|
3686 |
<type by_reference="false">void</type>
|
3687 |
</tag>
|
3688 |
</docblock>
|
3689 |
-
<argument line="
|
3690 |
<name>$which</name>
|
3691 |
<default><![CDATA[]]></default>
|
3692 |
<type/>
|
3693 |
</argument>
|
3694 |
</method>
|
3695 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3696 |
<name>get_columns</name>
|
3697 |
<full_name>get_columns</full_name>
|
3698 |
-
<docblock line="
|
3699 |
<description><![CDATA[This method dictates the table's columns and titles]]></description>
|
3700 |
<long-description><![CDATA[]]></long-description>
|
3701 |
-
<tag line="
|
3702 |
-
<tag line="
|
3703 |
<type by_reference="false">array</type>
|
3704 |
</tag>
|
3705 |
</docblock>
|
3706 |
</method>
|
3707 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3708 |
<name>get_hidden_columns</name>
|
3709 |
<full_name>get_hidden_columns</full_name>
|
3710 |
-
<docblock line="
|
3711 |
<description><![CDATA[Returns the list of currently hidden columns from a user option or
|
3712 |
from default values if the option is not set]]></description>
|
3713 |
<long-description><![CDATA[]]></long-description>
|
3714 |
-
<tag line="
|
3715 |
-
<tag line="
|
3716 |
<type by_reference="false">array</type>
|
3717 |
</tag>
|
3718 |
</docblock>
|
3719 |
</method>
|
3720 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3721 |
<name>get_sortable_columns</name>
|
3722 |
<full_name>get_sortable_columns</full_name>
|
3723 |
-
<docblock line="
|
3724 |
<description><![CDATA[Returns an array where the key is the column that needs to be sortable
|
3725 |
and the value is db column to sort by.]]></description>
|
3726 |
<long-description><![CDATA[<p>Also notes the current sort column,
|
3727 |
if set.</p>]]></long-description>
|
3728 |
-
<tag line="
|
3729 |
-
<tag line="
|
3730 |
<type by_reference="false">array</type>
|
3731 |
</tag>
|
3732 |
</docblock>
|
3733 |
</method>
|
3734 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3735 |
<name>print_column_headers</name>
|
3736 |
<full_name>print_column_headers</full_name>
|
3737 |
-
<docblock line="
|
3738 |
<description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
|
3739 |
<long-description><![CDATA[]]></long-description>
|
3740 |
-
<tag line="
|
3741 |
-
<tag line="
|
3742 |
<type by_reference="false">bool</type>
|
3743 |
</tag>
|
3744 |
</docblock>
|
3745 |
-
<argument line="
|
3746 |
<name>$with_id</name>
|
3747 |
<default><![CDATA[true]]></default>
|
3748 |
<type/>
|
3749 |
</argument>
|
3750 |
</method>
|
3751 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3752 |
<name>_get_view</name>
|
3753 |
<full_name>_get_view</full_name>
|
3754 |
-
<docblock line="
|
3755 |
<description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
|
3756 |
<long-description><![CDATA[]]></long-description>
|
3757 |
-
<tag line="
|
3758 |
-
<tag line="
|
3759 |
<type by_reference="false">string</type>
|
3760 |
</tag>
|
3761 |
-
<tag line="
|
3762 |
<type by_reference="false">string</type>
|
3763 |
</tag>
|
3764 |
-
<tag line="
|
3765 |
<type by_reference="false">string</type>
|
3766 |
</tag>
|
3767 |
</docblock>
|
3768 |
-
<argument line="
|
3769 |
<name>$view_slug</name>
|
3770 |
<default><![CDATA[]]></default>
|
3771 |
<type/>
|
3772 |
</argument>
|
3773 |
-
<argument line="
|
3774 |
<name>$current_view</name>
|
3775 |
<default><![CDATA[]]></default>
|
3776 |
<type/>
|
3777 |
</argument>
|
3778 |
</method>
|
3779 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3780 |
<name>get_views</name>
|
3781 |
<full_name>get_views</full_name>
|
3782 |
-
<docblock line="
|
3783 |
<description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
|
3784 |
<long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
|
3785 |
-
<tag line="
|
3786 |
-
<tag line="
|
3787 |
<type by_reference="false">array</type>
|
3788 |
</tag>
|
3789 |
</docblock>
|
3790 |
</method>
|
3791 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3792 |
<name>get_bulk_actions</name>
|
3793 |
<full_name>get_bulk_actions</full_name>
|
3794 |
-
<docblock line="
|
3795 |
<description><![CDATA[Get an associative array ( option_name => option_title ) with the list
|
3796 |
of bulk actions available on this table.]]></description>
|
3797 |
<long-description><![CDATA[]]></long-description>
|
3798 |
-
<tag line="
|
3799 |
-
<tag line="
|
3800 |
<type by_reference="false">array</type>
|
3801 |
</tag>
|
3802 |
</docblock>
|
3803 |
</method>
|
3804 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3805 |
<name>extra_tablenav</name>
|
3806 |
<full_name>extra_tablenav</full_name>
|
3807 |
-
<docblock line="
|
3808 |
<description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
|
3809 |
<long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
|
3810 |
-
<tag line="
|
3811 |
-
<tag line="
|
3812 |
<type by_reference="false">string</type>
|
3813 |
</tag>
|
3814 |
-
<tag line="
|
3815 |
<type by_reference="false">array</type>
|
3816 |
</tag>
|
3817 |
</docblock>
|
3818 |
-
<argument line="
|
3819 |
<name>$which</name>
|
3820 |
<default><![CDATA[]]></default>
|
3821 |
<type/>
|
3822 |
</argument>
|
3823 |
</method>
|
3824 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3825 |
<name>prepare_items</name>
|
3826 |
<full_name>prepare_items</full_name>
|
3827 |
-
<docblock line="
|
3828 |
<description><![CDATA[Prepares the list of items for displaying]]></description>
|
3829 |
<long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
|
3830 |
be used to query the database, sort and filter the data, and generally
|
3831 |
get it ready to be displayed. At a minimum, we should set $this->items and
|
3832 |
$this->set_pagination_args().</p>]]></long-description>
|
3833 |
-
<tag line="
|
3834 |
-
<tag line="
|
3835 |
<type by_reference="false">void</type>
|
3836 |
</tag>
|
3837 |
</docblock>
|
3838 |
</method>
|
3839 |
-
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="
|
3840 |
<name>single_row</name>
|
3841 |
<full_name>single_row</full_name>
|
3842 |
-
<docblock line="
|
3843 |
<description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
|
3844 |
<long-description><![CDATA[]]></long-description>
|
3845 |
-
<tag line="
|
3846 |
-
<tag line="
|
3847 |
<type by_reference="false">object</type>
|
3848 |
</tag>
|
3849 |
-
<tag line="
|
3850 |
<type by_reference="false">void</type>
|
3851 |
</tag>
|
3852 |
</docblock>
|
3853 |
-
<argument line="
|
3854 |
<name>$item</name>
|
3855 |
<default><![CDATA[]]></default>
|
3856 |
<type/>
|
@@ -3858,7 +3858,7 @@ $this->set_pagination_args().</p>]]></long-description>
|
|
3858 |
</method>
|
3859 |
</class>
|
3860 |
</file>
|
3861 |
-
<file path="includes\class-mla-main.php" hash="
|
3862 |
<docblock line="2">
|
3863 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
3864 |
<long-description><![CDATA[]]></long-description>
|
@@ -3882,7 +3882,7 @@ of images and files held in the WordPress Media Library.]]></description>
|
|
3882 |
<constant namespace="global" line="32" package="Media Library Assistant">
|
3883 |
<name>CURRENT_MLA_VERSION</name>
|
3884 |
<full_name>CURRENT_MLA_VERSION</full_name>
|
3885 |
-
<value><![CDATA['1.
|
3886 |
<docblock line="25">
|
3887 |
<description><![CDATA[Current version number]]></description>
|
3888 |
<long-description><![CDATA[]]></long-description>
|
@@ -4159,10 +4159,10 @@ Defined as public because it's an action.</p>]]></long-description>
|
|
4159 |
<type/>
|
4160 |
</argument>
|
4161 |
</method>
|
4162 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4163 |
<name>mla_admin_menu_action</name>
|
4164 |
<full_name>mla_admin_menu_action</full_name>
|
4165 |
-
<docblock line="
|
4166 |
<description><![CDATA[Add the submenu pages]]></description>
|
4167 |
<long-description><![CDATA[<p>Add a submenu page in the "Media" section,
|
4168 |
add settings page in the "Settings" section.
|
@@ -4171,131 +4171,131 @@ add settings link in the Plugins section entry for MLA.</p>
|
|
4171 |
<p>For WordPress versions before 3.5,
|
4172 |
add submenu page(s) for attachment taxonomies,
|
4173 |
add filter to clean up taxonomy submenu labels.</p>]]></long-description>
|
4174 |
-
<tag line="
|
4175 |
-
<tag line="
|
4176 |
<type by_reference="false">void</type>
|
4177 |
</tag>
|
4178 |
</docblock>
|
4179 |
</method>
|
4180 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4181 |
<name>mla_load_media_action</name>
|
4182 |
<full_name>mla_load_media_action</full_name>
|
4183 |
-
<docblock line="
|
4184 |
<description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
|
4185 |
<long-description><![CDATA[]]></long-description>
|
4186 |
-
<tag line="
|
4187 |
-
<tag line="
|
4188 |
<type by_reference="false">void</type>
|
4189 |
</tag>
|
4190 |
</docblock>
|
4191 |
</method>
|
4192 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4193 |
<name>mla_add_menu_options</name>
|
4194 |
<full_name>mla_add_menu_options</full_name>
|
4195 |
-
<docblock line="
|
4196 |
<description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
|
4197 |
<long-description><![CDATA[]]></long-description>
|
4198 |
-
<tag line="
|
4199 |
-
<tag line="
|
4200 |
<type by_reference="false">void</type>
|
4201 |
</tag>
|
4202 |
</docblock>
|
4203 |
</method>
|
4204 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4205 |
<name>mla_add_help_tab</name>
|
4206 |
<full_name>mla_add_help_tab</full_name>
|
4207 |
-
<docblock line="
|
4208 |
<description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
|
4209 |
<long-description><![CDATA[]]></long-description>
|
4210 |
-
<tag line="
|
4211 |
-
<tag line="
|
4212 |
<type by_reference="false">void</type>
|
4213 |
</tag>
|
4214 |
</docblock>
|
4215 |
</method>
|
4216 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4217 |
<name>mla_screen_options_show_screen_filter</name>
|
4218 |
<full_name>mla_screen_options_show_screen_filter</full_name>
|
4219 |
-
<docblock line="
|
4220 |
<description><![CDATA[Only show screen options on the table-list screen]]></description>
|
4221 |
<long-description><![CDATA[]]></long-description>
|
4222 |
-
<tag line="
|
4223 |
-
<tag line="
|
4224 |
<type by_reference="false">boolean</type>
|
4225 |
</tag>
|
4226 |
-
<tag line="
|
4227 |
<type by_reference="false">string</type>
|
4228 |
</tag>
|
4229 |
-
<tag line="
|
4230 |
<type by_reference="false">boolean</type>
|
4231 |
</tag>
|
4232 |
</docblock>
|
4233 |
-
<argument line="
|
4234 |
<name>$show_screen</name>
|
4235 |
<default><![CDATA[]]></default>
|
4236 |
<type/>
|
4237 |
</argument>
|
4238 |
-
<argument line="
|
4239 |
<name>$this_screen</name>
|
4240 |
<default><![CDATA[]]></default>
|
4241 |
<type/>
|
4242 |
</argument>
|
4243 |
</method>
|
4244 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4245 |
<name>mla_set_screen_option_filter</name>
|
4246 |
<full_name>mla_set_screen_option_filter</full_name>
|
4247 |
-
<docblock line="
|
4248 |
<description><![CDATA[Save the "Entries per page" option set by this user]]></description>
|
4249 |
<long-description><![CDATA[]]></long-description>
|
4250 |
-
<tag line="
|
4251 |
-
<tag line="
|
4252 |
<type by_reference="false">mixed</type>
|
4253 |
</tag>
|
4254 |
-
<tag line="
|
4255 |
<type by_reference="false">string</type>
|
4256 |
</tag>
|
4257 |
-
<tag line="
|
4258 |
<type by_reference="false">string</type>
|
4259 |
</tag>
|
4260 |
-
<tag line="
|
4261 |
<type by_reference="false">string</type>
|
4262 |
<type by_reference="false">void</type>
|
4263 |
</tag>
|
4264 |
</docblock>
|
4265 |
-
<argument line="
|
4266 |
<name>$status</name>
|
4267 |
<default><![CDATA[]]></default>
|
4268 |
<type/>
|
4269 |
</argument>
|
4270 |
-
<argument line="
|
4271 |
<name>$option</name>
|
4272 |
<default><![CDATA[]]></default>
|
4273 |
<type/>
|
4274 |
</argument>
|
4275 |
-
<argument line="
|
4276 |
<name>$value</name>
|
4277 |
<default><![CDATA[]]></default>
|
4278 |
<type/>
|
4279 |
</argument>
|
4280 |
</method>
|
4281 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4282 |
<name>mla_edit_tax_redirect</name>
|
4283 |
<full_name>mla_edit_tax_redirect</full_name>
|
4284 |
-
<docblock line="
|
4285 |
<description><![CDATA[Redirect to the Edit Tags/Categories page]]></description>
|
4286 |
<long-description><![CDATA[<p>The custom taxonomy add/edit submenu entries go to "upload.php" by default.
|
4287 |
This filter is the only way to redirect them to the correct WordPress page.
|
4288 |
The filter is not required for WordPress 3.5 and later.</p>]]></long-description>
|
4289 |
-
<tag line="
|
4290 |
-
<tag line="
|
4291 |
<type by_reference="false">void</type>
|
4292 |
</tag>
|
4293 |
</docblock>
|
4294 |
</method>
|
4295 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4296 |
<name>mla_parent_file_filter</name>
|
4297 |
<full_name>mla_parent_file_filter</full_name>
|
4298 |
-
<docblock line="
|
4299 |
<description><![CDATA[Cleanup menus for Edit Tags/Categories page]]></description>
|
4300 |
<long-description><![CDATA[<p>For WordPress before 3.5, the submenu entries for custom taxonomies
|
4301 |
under the "Media" menu are not set up correctly by WordPress, so this
|
@@ -4303,230 +4303,230 @@ function cleans them up, redirecting the request to the right WordPress
|
|
4303 |
page for editing/adding taxonomy terms.
|
4304 |
For WordPress 3.5 and later, the function fixes the submenu bolding when
|
4305 |
going to the Edit Media screen.</p>]]></long-description>
|
4306 |
-
<tag line="
|
4307 |
-
<tag line="
|
4308 |
<type by_reference="false">array</type>
|
4309 |
</tag>
|
4310 |
-
<tag line="
|
4311 |
<type by_reference="false">string</type>
|
4312 |
</tag>
|
4313 |
</docblock>
|
4314 |
-
<argument line="
|
4315 |
<name>$parent_file</name>
|
4316 |
<default><![CDATA[]]></default>
|
4317 |
<type/>
|
4318 |
</argument>
|
4319 |
</method>
|
4320 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4321 |
<name>_process_bulk_value</name>
|
4322 |
<full_name>_process_bulk_value</full_name>
|
4323 |
-
<docblock line="
|
4324 |
<description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
|
4325 |
<long-description><![CDATA[]]></long-description>
|
4326 |
-
<tag line="
|
4327 |
-
<tag line="
|
4328 |
<type by_reference="false">integer</type>
|
4329 |
</tag>
|
4330 |
-
<tag line="
|
4331 |
<type by_reference="false">string</type>
|
4332 |
</tag>
|
4333 |
-
<tag line="
|
4334 |
<type by_reference="false">string</type>
|
4335 |
</tag>
|
4336 |
</docblock>
|
4337 |
-
<argument line="
|
4338 |
<name>$post_id</name>
|
4339 |
<default><![CDATA[]]></default>
|
4340 |
<type/>
|
4341 |
</argument>
|
4342 |
-
<argument line="
|
4343 |
<name>$bulk_value</name>
|
4344 |
<default><![CDATA[]]></default>
|
4345 |
<type/>
|
4346 |
</argument>
|
4347 |
</method>
|
4348 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4349 |
<name>mla_render_admin_page</name>
|
4350 |
<full_name>mla_render_admin_page</full_name>
|
4351 |
-
<docblock line="
|
4352 |
<description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
|
4353 |
<long-description><![CDATA[]]></long-description>
|
4354 |
-
<tag line="
|
4355 |
-
<tag line="
|
4356 |
<type by_reference="false">void</type>
|
4357 |
</tag>
|
4358 |
</docblock>
|
4359 |
</method>
|
4360 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4361 |
<name>mla_set_parent_ajax_action</name>
|
4362 |
<full_name>mla_set_parent_ajax_action</full_name>
|
4363 |
-
<docblock line="
|
4364 |
<description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
|
4365 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4366 |
-
<tag line="
|
4367 |
-
<tag line="
|
4368 |
<type by_reference="false">void</type>
|
4369 |
</tag>
|
4370 |
</docblock>
|
4371 |
</method>
|
4372 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
4373 |
<name>mla_inline_edit_ajax_action</name>
|
4374 |
<full_name>mla_inline_edit_ajax_action</full_name>
|
4375 |
-
<docblock line="
|
4376 |
<description><![CDATA[Ajax handler for inline editing (quick and bulk edit)]]></description>
|
4377 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4378 |
-
<tag line="
|
4379 |
-
<tag line="
|
4380 |
<type by_reference="false">void</type>
|
4381 |
</tag>
|
4382 |
</docblock>
|
4383 |
</method>
|
4384 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4385 |
<name>_build_inline_edit_form</name>
|
4386 |
<full_name>_build_inline_edit_form</full_name>
|
4387 |
-
<docblock line="
|
4388 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
4389 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
4390 |
-
<tag line="
|
4391 |
-
<tag line="
|
4392 |
<type by_reference="false">object</type>
|
4393 |
</tag>
|
4394 |
-
<tag line="
|
4395 |
<type by_reference="false">string</type>
|
4396 |
</tag>
|
4397 |
</docblock>
|
4398 |
-
<argument line="
|
4399 |
<name>$MLAListTable</name>
|
4400 |
<default><![CDATA[]]></default>
|
4401 |
<type/>
|
4402 |
</argument>
|
4403 |
</method>
|
4404 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4405 |
<name>_authors_dropdown</name>
|
4406 |
<full_name>_authors_dropdown</full_name>
|
4407 |
-
<docblock line="
|
4408 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
4409 |
<long-description><![CDATA[]]></long-description>
|
4410 |
-
<tag line="
|
4411 |
-
<tag line="
|
4412 |
<type by_reference="false">integer</type>
|
4413 |
</tag>
|
4414 |
-
<tag line="
|
4415 |
<type by_reference="false">string</type>
|
4416 |
</tag>
|
4417 |
-
<tag line="
|
4418 |
<type by_reference="false">string</type>
|
4419 |
</tag>
|
4420 |
-
<tag line="
|
4421 |
<type by_reference="false">string</type>
|
4422 |
<type by_reference="false">false</type>
|
4423 |
</tag>
|
4424 |
</docblock>
|
4425 |
-
<argument line="
|
4426 |
<name>$author</name>
|
4427 |
<default><![CDATA[0]]></default>
|
4428 |
<type/>
|
4429 |
</argument>
|
4430 |
-
<argument line="
|
4431 |
<name>$name</name>
|
4432 |
<default><![CDATA['post_author']]></default>
|
4433 |
<type/>
|
4434 |
</argument>
|
4435 |
-
<argument line="
|
4436 |
<name>$class</name>
|
4437 |
<default><![CDATA['authors']]></default>
|
4438 |
<type/>
|
4439 |
</argument>
|
4440 |
</method>
|
4441 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4442 |
<name>_current_bulk_action</name>
|
4443 |
<full_name>_current_bulk_action</full_name>
|
4444 |
-
<docblock line="
|
4445 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
4446 |
<long-description><![CDATA[]]></long-description>
|
4447 |
-
<tag line="
|
4448 |
-
<tag line="
|
4449 |
<type by_reference="false">string</type>
|
4450 |
<type by_reference="false">false</type>
|
4451 |
</tag>
|
4452 |
</docblock>
|
4453 |
</method>
|
4454 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4455 |
<name>_delete_single_item</name>
|
4456 |
<full_name>_delete_single_item</full_name>
|
4457 |
-
<docblock line="
|
4458 |
<description><![CDATA[Delete a single item permanently]]></description>
|
4459 |
<long-description><![CDATA[]]></long-description>
|
4460 |
-
<tag line="
|
4461 |
-
<tag line="
|
4462 |
<type by_reference="false">array</type>
|
4463 |
</tag>
|
4464 |
-
<tag line="
|
4465 |
<type by_reference="false">array</type>
|
4466 |
</tag>
|
4467 |
</docblock>
|
4468 |
-
<argument line="
|
4469 |
<name>$post_id</name>
|
4470 |
<default><![CDATA[]]></default>
|
4471 |
<type/>
|
4472 |
</argument>
|
4473 |
</method>
|
4474 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4475 |
<name>_display_single_item</name>
|
4476 |
<full_name>_display_single_item</full_name>
|
4477 |
-
<docblock line="
|
4478 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
4479 |
change the meta data for a single attachment.]]></description>
|
4480 |
<long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
|
4481 |
-
<tag line="
|
4482 |
-
<tag line="
|
4483 |
<type by_reference="false">int</type>
|
4484 |
</tag>
|
4485 |
-
<tag line="
|
4486 |
<type by_reference="false">array</type>
|
4487 |
</tag>
|
4488 |
</docblock>
|
4489 |
-
<argument line="
|
4490 |
<name>$post_id</name>
|
4491 |
<default><![CDATA[]]></default>
|
4492 |
<type/>
|
4493 |
</argument>
|
4494 |
</method>
|
4495 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4496 |
<name>_restore_single_item</name>
|
4497 |
<full_name>_restore_single_item</full_name>
|
4498 |
-
<docblock line="
|
4499 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
4500 |
<long-description><![CDATA[]]></long-description>
|
4501 |
-
<tag line="
|
4502 |
-
<tag line="
|
4503 |
<type by_reference="false">array</type>
|
4504 |
</tag>
|
4505 |
-
<tag line="
|
4506 |
<type by_reference="false">array</type>
|
4507 |
</tag>
|
4508 |
</docblock>
|
4509 |
-
<argument line="
|
4510 |
<name>$post_id</name>
|
4511 |
<default><![CDATA[]]></default>
|
4512 |
<type/>
|
4513 |
</argument>
|
4514 |
</method>
|
4515 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
4516 |
<name>_trash_single_item</name>
|
4517 |
<full_name>_trash_single_item</full_name>
|
4518 |
-
<docblock line="
|
4519 |
<description><![CDATA[Move a single item to Trash]]></description>
|
4520 |
<long-description><![CDATA[]]></long-description>
|
4521 |
-
<tag line="
|
4522 |
-
<tag line="
|
4523 |
<type by_reference="false">array</type>
|
4524 |
</tag>
|
4525 |
-
<tag line="
|
4526 |
<type by_reference="false">array</type>
|
4527 |
</tag>
|
4528 |
</docblock>
|
4529 |
-
<argument line="
|
4530 |
<name>$post_id</name>
|
4531 |
<default><![CDATA[]]></default>
|
4532 |
<type/>
|
@@ -8918,7 +8918,7 @@ without saving the settings to the mla_option]]></description>
|
|
8918 |
</method>
|
8919 |
</class>
|
8920 |
</file>
|
8921 |
-
<file path="includes\class-mla-shortcodes.php" hash="
|
8922 |
<docblock line="2">
|
8923 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
8924 |
<long-description><![CDATA[]]></long-description>
|
@@ -8935,80 +8935,79 @@ without saving the settings to the mla_option]]></description>
|
|
8935 |
<tag line="9" name="package" description="Media Library Assistant"/>
|
8936 |
<tag line="9" name="since" description="0.20"/>
|
8937 |
</docblock>
|
8938 |
-
<property final="false" static="true" visibility="public" line="
|
8939 |
<name>$mla_debug_messages</name>
|
8940 |
<default><![CDATA['']]></default>
|
8941 |
-
<docblock line="
|
8942 |
<description><![CDATA[Accumulates debug messages]]></description>
|
8943 |
<long-description><![CDATA[]]></long-description>
|
8944 |
-
<tag line="
|
8945 |
-
<tag line="
|
8946 |
<type by_reference="false">string</type>
|
8947 |
</tag>
|
8948 |
</docblock>
|
8949 |
</property>
|
8950 |
-
<property final="false" static="true" visibility="private" line="
|
8951 |
<name>$mla_debug</name>
|
8952 |
<default><![CDATA[false]]></default>
|
8953 |
-
<docblock line="
|
8954 |
<description><![CDATA[Turn debug collection and display on or off]]></description>
|
8955 |
<long-description><![CDATA[]]></long-description>
|
8956 |
-
<tag line="
|
8957 |
-
<tag line="
|
8958 |
<type by_reference="false">boolean</type>
|
8959 |
</tag>
|
8960 |
</docblock>
|
8961 |
</property>
|
8962 |
-
<property final="false" static="true" visibility="private" line="
|
8963 |
<name>$query_parameters</name>
|
8964 |
<default><![CDATA[array()]]></default>
|
8965 |
-
<docblock line="
|
8966 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
8967 |
-
<long-description><![CDATA[<p>This array defines parameters for the query's where and orderby filters
|
8968 |
-
mla_shortcode_query_posts_where_filter and mla_shortcode_query_posts_orderby_filter.
|
8969 |
The parameters are set up in the mla_get_shortcode_attachments function, and
|
8970 |
any further logic required to translate those values is contained in the filter.</p>
|
8971 |
|
8972 |
<p>Array index values are: orderby, post_parent</p>]]></long-description>
|
8973 |
-
<tag line="
|
8974 |
-
<tag line="
|
8975 |
<type by_reference="false">array</type>
|
8976 |
</tag>
|
8977 |
</docblock>
|
8978 |
</property>
|
8979 |
-
<property final="false" static="true" visibility="private" line="
|
8980 |
<name>$mla_get_shortcode_attachments_parameters</name>
|
8981 |
<default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'tax_operator' => '', 'tax_include_children' => true, 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 's' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
|
8982 |
-
<docblock line="
|
8983 |
<description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
|
8984 |
<long-description><![CDATA[]]></long-description>
|
8985 |
-
<tag line="
|
8986 |
-
<tag line="
|
8987 |
<type by_reference="false">array</type>
|
8988 |
</tag>
|
8989 |
</docblock>
|
8990 |
</property>
|
8991 |
-
<property final="false" static="true" visibility="public" line="
|
8992 |
<name>$mla_gallery_wp_query_object</name>
|
8993 |
<default><![CDATA[NULL]]></default>
|
8994 |
-
<docblock line="
|
8995 |
<description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
|
8996 |
<long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
|
8997 |
"mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
|
8998 |
-
<tag line="
|
8999 |
-
<tag line="
|
9000 |
<type by_reference="false">object</type>
|
9001 |
</tag>
|
9002 |
</docblock>
|
9003 |
</property>
|
9004 |
-
<property final="false" static="true" visibility="private" line="
|
9005 |
<name>$mla_get_terms_parameters</name>
|
9006 |
<default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', 'ids' => array(), 'fields' => 't.term_id, t.name, t.slug, t.term_group, tt.term_taxonomy_id, tt.taxonomy, tt.description, tt.parent, COUNT(p.ID) AS `count`', 'include' => '', 'exclude' => '', 'parent' => '', 'minimum' => 0, 'no_count' => false, 'number' => 45, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'limit' => 0, 'offset' => 0)]]></default>
|
9007 |
-
<docblock line="
|
9008 |
<description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
|
9009 |
<long-description><![CDATA[]]></long-description>
|
9010 |
-
<tag line="
|
9011 |
-
<tag line="
|
9012 |
<type by_reference="false">array</type>
|
9013 |
</tag>
|
9014 |
</docblock>
|
@@ -9029,7 +9028,7 @@ any further logic required to translate those values is contained in the filter.
|
|
9029 |
<name>mla_attachment_list_shortcode</name>
|
9030 |
<full_name>mla_attachment_list_shortcode</full_name>
|
9031 |
<docblock line="29">
|
9032 |
-
<description><![CDATA[
|
9033 |
<long-description><![CDATA[]]></long-description>
|
9034 |
<tag line="29" name="since" description="0.1"/>
|
9035 |
<tag line="29" name="return" description="echoes HTML markup for the attachment list" type="void">
|
@@ -9037,397 +9036,417 @@ any further logic required to translate those values is contained in the filter.
|
|
9037 |
</tag>
|
9038 |
</docblock>
|
9039 |
</method>
|
9040 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9041 |
<name>mla_gallery_shortcode</name>
|
9042 |
<full_name>mla_gallery_shortcode</full_name>
|
9043 |
-
<docblock line="
|
9044 |
<description><![CDATA[The MLA Gallery shortcode.]]></description>
|
9045 |
<long-description><![CDATA[<p>This is a superset of the WordPress Gallery shortcode for displaying images on a post,
|
9046 |
page or custom post type. It is adapted from /wp-includes/media.php gallery_shortcode.
|
9047 |
Enhancements include many additional selection parameters and full taxonomy support.</p>]]></long-description>
|
9048 |
-
<tag line="
|
9049 |
-
<tag line="
|
9050 |
<type by_reference="false">array</type>
|
9051 |
</tag>
|
9052 |
-
<tag line="
|
9053 |
<type by_reference="false">string</type>
|
9054 |
</tag>
|
9055 |
-
<tag line="
|
9056 |
<type by_reference="false">string</type>
|
9057 |
</tag>
|
9058 |
</docblock>
|
9059 |
-
<argument line="
|
9060 |
<name>$attr</name>
|
9061 |
<default><![CDATA[]]></default>
|
9062 |
<type/>
|
9063 |
</argument>
|
9064 |
-
<argument line="
|
9065 |
<name>$content</name>
|
9066 |
<default><![CDATA[NULL]]></default>
|
9067 |
<type/>
|
9068 |
</argument>
|
9069 |
</method>
|
9070 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9071 |
<name>mla_tag_cloud</name>
|
9072 |
<full_name>mla_tag_cloud</full_name>
|
9073 |
-
<docblock line="
|
9074 |
<description><![CDATA[The MLA Tag Cloud support function.]]></description>
|
9075 |
<long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
|
9076 |
options to customize the hyperlink behind each term.</p>]]></long-description>
|
9077 |
-
<tag line="
|
9078 |
-
<tag line="
|
9079 |
<type by_reference="false">array</type>
|
9080 |
</tag>
|
9081 |
-
<tag line="
|
9082 |
<type by_reference="false">string</type>
|
9083 |
</tag>
|
9084 |
</docblock>
|
9085 |
-
<argument line="
|
9086 |
<name>$attr</name>
|
9087 |
<default><![CDATA[]]></default>
|
9088 |
<type/>
|
9089 |
</argument>
|
9090 |
</method>
|
9091 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9092 |
<name>mla_tag_cloud_shortcode</name>
|
9093 |
<full_name>mla_tag_cloud_shortcode</full_name>
|
9094 |
-
<docblock line="
|
9095 |
<description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
|
9096 |
<long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
|
9097 |
-
<tag line="
|
9098 |
-
<tag line="
|
9099 |
<type by_reference="false">array</type>
|
9100 |
</tag>
|
9101 |
-
<tag line="
|
9102 |
<type by_reference="false">string</type>
|
9103 |
</tag>
|
9104 |
</docblock>
|
9105 |
-
<argument line="
|
9106 |
<name>$attr</name>
|
9107 |
<default><![CDATA[]]></default>
|
9108 |
<type/>
|
9109 |
</argument>
|
9110 |
</method>
|
9111 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9112 |
<name>_registered_dimensions</name>
|
9113 |
<full_name>_registered_dimensions</full_name>
|
9114 |
-
<docblock line="
|
9115 |
<description><![CDATA[Computes image dimensions for scalable graphics, e.g., SVG]]></description>
|
9116 |
<long-description><![CDATA[]]></long-description>
|
9117 |
-
<tag line="
|
9118 |
-
<tag line="
|
9119 |
<type by_reference="false">array</type>
|
9120 |
</tag>
|
9121 |
</docblock>
|
9122 |
</method>
|
9123 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9124 |
<name>_process_shortcode_parameter</name>
|
9125 |
<full_name>_process_shortcode_parameter</full_name>
|
9126 |
-
<docblock line="
|
9127 |
<description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
|
9128 |
<long-description><![CDATA[]]></long-description>
|
9129 |
-
<tag line="
|
9130 |
-
<tag line="
|
9131 |
<type by_reference="false">string</type>
|
9132 |
</tag>
|
9133 |
-
<tag line="
|
9134 |
<type by_reference="false">string</type>
|
9135 |
</tag>
|
9136 |
-
<tag line="
|
9137 |
<type by_reference="false">string</type>
|
9138 |
</tag>
|
9139 |
</docblock>
|
9140 |
-
<argument line="
|
9141 |
<name>$text</name>
|
9142 |
<default><![CDATA[]]></default>
|
9143 |
<type/>
|
9144 |
</argument>
|
9145 |
-
<argument line="
|
9146 |
<name>$markup_values</name>
|
9147 |
<default><![CDATA[]]></default>
|
9148 |
<type/>
|
9149 |
</argument>
|
9150 |
</method>
|
9151 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9152 |
<name>_paginate_links</name>
|
9153 |
<full_name>_paginate_links</full_name>
|
9154 |
-
<docblock line="
|
9155 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9156 |
<long-description><![CDATA[]]></long-description>
|
9157 |
-
<tag line="
|
9158 |
-
<tag line="
|
9159 |
<type by_reference="false">array</type>
|
9160 |
</tag>
|
9161 |
-
<tag line="
|
9162 |
<type by_reference="false">string</type>
|
9163 |
</tag>
|
9164 |
-
<tag line="
|
9165 |
<type by_reference="false">string</type>
|
9166 |
</tag>
|
9167 |
-
<tag line="
|
9168 |
<type by_reference="false">integer</type>
|
9169 |
</tag>
|
9170 |
-
<tag line="
|
9171 |
<type by_reference="false">string</type>
|
9172 |
</tag>
|
9173 |
-
<tag line="
|
9174 |
<type by_reference="false">mixed</type>
|
9175 |
</tag>
|
9176 |
</docblock>
|
9177 |
-
<argument line="
|
9178 |
<name>$output_parameters</name>
|
9179 |
<default><![CDATA[]]></default>
|
9180 |
<type/>
|
9181 |
</argument>
|
9182 |
-
<argument line="
|
9183 |
<name>$markup_values</name>
|
9184 |
<default><![CDATA[]]></default>
|
9185 |
<type/>
|
9186 |
</argument>
|
9187 |
-
<argument line="
|
9188 |
<name>$arguments</name>
|
9189 |
<default><![CDATA[]]></default>
|
9190 |
<type/>
|
9191 |
</argument>
|
9192 |
-
<argument line="
|
9193 |
<name>$found_rows</name>
|
9194 |
<default><![CDATA[]]></default>
|
9195 |
<type/>
|
9196 |
</argument>
|
9197 |
-
<argument line="
|
9198 |
<name>$output</name>
|
9199 |
<default><![CDATA['']]></default>
|
9200 |
<type/>
|
9201 |
</argument>
|
9202 |
</method>
|
9203 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9204 |
<name>_process_pagination_output_types</name>
|
9205 |
<full_name>_process_pagination_output_types</full_name>
|
9206 |
-
<docblock line="
|
9207 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9208 |
<long-description><![CDATA[]]></long-description>
|
9209 |
-
<tag line="
|
9210 |
-
<tag line="
|
9211 |
<type by_reference="false">array</type>
|
9212 |
</tag>
|
9213 |
-
<tag line="
|
9214 |
<type by_reference="false">string</type>
|
9215 |
</tag>
|
9216 |
-
<tag line="
|
9217 |
<type by_reference="false">string</type>
|
9218 |
</tag>
|
9219 |
-
<tag line="
|
9220 |
<type by_reference="false">string</type>
|
9221 |
</tag>
|
9222 |
-
<tag line="
|
9223 |
<type by_reference="false">integer</type>
|
9224 |
</tag>
|
9225 |
-
<tag line="
|
9226 |
<type by_reference="false">string</type>
|
9227 |
</tag>
|
9228 |
-
<tag line="
|
9229 |
<type by_reference="false">mixed</type>
|
9230 |
</tag>
|
9231 |
</docblock>
|
9232 |
-
<argument line="
|
9233 |
<name>$output_parameters</name>
|
9234 |
<default><![CDATA[]]></default>
|
9235 |
<type/>
|
9236 |
</argument>
|
9237 |
-
<argument line="
|
9238 |
<name>$markup_values</name>
|
9239 |
<default><![CDATA[]]></default>
|
9240 |
<type/>
|
9241 |
</argument>
|
9242 |
-
<argument line="
|
9243 |
<name>$arguments</name>
|
9244 |
<default><![CDATA[]]></default>
|
9245 |
<type/>
|
9246 |
</argument>
|
9247 |
-
<argument line="
|
9248 |
<name>$attr</name>
|
9249 |
<default><![CDATA[]]></default>
|
9250 |
<type/>
|
9251 |
</argument>
|
9252 |
-
<argument line="
|
9253 |
<name>$found_rows</name>
|
9254 |
<default><![CDATA[]]></default>
|
9255 |
<type/>
|
9256 |
</argument>
|
9257 |
-
<argument line="
|
9258 |
<name>$output</name>
|
9259 |
<default><![CDATA['']]></default>
|
9260 |
<type/>
|
9261 |
</argument>
|
9262 |
</method>
|
9263 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9264 |
<name>_sanitize_query_specification</name>
|
9265 |
<full_name>_sanitize_query_specification</full_name>
|
9266 |
-
<docblock line="
|
9267 |
<description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
|
9268 |
<long-description><![CDATA[]]></long-description>
|
9269 |
-
<tag line="
|
9270 |
-
<tag line="
|
9271 |
<type by_reference="false">string</type>
|
9272 |
</tag>
|
9273 |
-
<tag line="
|
9274 |
<type by_reference="false">string</type>
|
9275 |
</tag>
|
9276 |
</docblock>
|
9277 |
-
<argument line="
|
9278 |
<name>$specification</name>
|
9279 |
<default><![CDATA[]]></default>
|
9280 |
<type/>
|
9281 |
</argument>
|
9282 |
</method>
|
9283 |
-
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="
|
9284 |
<name>_validate_sql_orderby</name>
|
9285 |
<full_name>_validate_sql_orderby</full_name>
|
9286 |
-
<docblock line="
|
9287 |
<description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
|
9288 |
<long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
|
9289 |
Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
|
9290 |
-
<tag line="
|
9291 |
-
<tag line="
|
9292 |
<type by_reference="false">array</type>
|
9293 |
</tag>
|
9294 |
-
<tag line="
|
9295 |
<type by_reference="false">string</type>
|
9296 |
<type by_reference="false">bool</type>
|
9297 |
</tag>
|
9298 |
</docblock>
|
9299 |
-
<argument line="
|
9300 |
<name>$query_parameters</name>
|
9301 |
<default><![CDATA[]]></default>
|
9302 |
<type/>
|
9303 |
</argument>
|
9304 |
</method>
|
9305 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9306 |
<name>mla_get_shortcode_attachments</name>
|
9307 |
<full_name>mla_get_shortcode_attachments</full_name>
|
9308 |
-
<docblock line="
|
9309 |
<description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
|
9310 |
<long-description><![CDATA[]]></long-description>
|
9311 |
-
<tag line="
|
9312 |
-
<tag line="
|
9313 |
<type by_reference="false">int</type>
|
9314 |
</tag>
|
9315 |
-
<tag line="
|
9316 |
<type by_reference="false">array</type>
|
9317 |
</tag>
|
9318 |
-
<tag line="
|
9319 |
<type by_reference="false">boolean</type>
|
9320 |
</tag>
|
9321 |
-
<tag line="
|
9322 |
<type by_reference="false">array</type>
|
9323 |
</tag>
|
9324 |
</docblock>
|
9325 |
-
<argument line="
|
9326 |
<name>$post_parent</name>
|
9327 |
<default><![CDATA[]]></default>
|
9328 |
<type/>
|
9329 |
</argument>
|
9330 |
-
<argument line="
|
9331 |
<name>$attr</name>
|
9332 |
<default><![CDATA[]]></default>
|
9333 |
<type/>
|
9334 |
</argument>
|
9335 |
-
<argument line="
|
9336 |
<name>$return_found_rows</name>
|
9337 |
<default><![CDATA[NULL]]></default>
|
9338 |
<type/>
|
9339 |
</argument>
|
9340 |
</method>
|
9341 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9342 |
<name>mla_shortcode_query_posts_where_filter</name>
|
9343 |
<full_name>mla_shortcode_query_posts_where_filter</full_name>
|
9344 |
-
<docblock line="
|
9345 |
<description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
|
9346 |
<long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
|
9347 |
phrase to circumvent subsequent Role Scoper modification of the clause.
|
9348 |
Handles post_parent "any" and "none" cases.
|
9349 |
Defined as public because it's a filter.</p>]]></long-description>
|
9350 |
-
<tag line="
|
9351 |
-
<tag line="
|
9352 |
<type by_reference="false">string</type>
|
9353 |
</tag>
|
9354 |
-
<tag line="
|
9355 |
<type by_reference="false">string</type>
|
9356 |
</tag>
|
9357 |
</docblock>
|
9358 |
-
<argument line="
|
9359 |
<name>$where_clause</name>
|
9360 |
<default><![CDATA[]]></default>
|
9361 |
<type/>
|
9362 |
</argument>
|
9363 |
</method>
|
9364 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9365 |
<name>mla_shortcode_query_posts_orderby_filter</name>
|
9366 |
<full_name>mla_shortcode_query_posts_orderby_filter</full_name>
|
9367 |
-
<docblock line="
|
9368 |
<description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
|
9369 |
<long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
|
9370 |
Defined as public because it's a filter.</p>]]></long-description>
|
9371 |
-
<tag line="
|
9372 |
-
<tag line="
|
9373 |
<type by_reference="false">string</type>
|
9374 |
</tag>
|
9375 |
-
<tag line="
|
9376 |
<type by_reference="false">string</type>
|
9377 |
</tag>
|
9378 |
</docblock>
|
9379 |
-
<argument line="
|
9380 |
<name>$orderby_clause</name>
|
9381 |
<default><![CDATA[]]></default>
|
9382 |
<type/>
|
9383 |
</argument>
|
9384 |
</method>
|
9385 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9386 |
<name>mla_shortcode_query_posts_clauses_filter</name>
|
9387 |
<full_name>mla_shortcode_query_posts_clauses_filter</full_name>
|
9388 |
-
<docblock line="
|
9389 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
9390 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
9391 |
Defined as public because it's a filter.</p>]]></long-description>
|
9392 |
-
<tag line="
|
9393 |
-
<tag line="
|
9394 |
<type by_reference="false">array</type>
|
9395 |
</tag>
|
9396 |
-
<tag line="
|
9397 |
<type by_reference="false">array</type>
|
9398 |
</tag>
|
9399 |
</docblock>
|
9400 |
-
<argument line="
|
9401 |
<name>$pieces</name>
|
9402 |
<default><![CDATA[]]></default>
|
9403 |
<type/>
|
9404 |
</argument>
|
9405 |
</method>
|
9406 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9407 |
<name>mla_shortcode_query_posts_clauses_request_filter</name>
|
9408 |
<full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
|
9409 |
-
<docblock line="
|
9410 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
9411 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
9412 |
Defined as public because it's a filter.</p>]]></long-description>
|
9413 |
-
<tag line="
|
9414 |
-
<tag line="
|
9415 |
<type by_reference="false">array</type>
|
9416 |
</tag>
|
9417 |
-
<tag line="
|
9418 |
<type by_reference="false">array</type>
|
9419 |
</tag>
|
9420 |
</docblock>
|
9421 |
-
<argument line="
|
9422 |
<name>$pieces</name>
|
9423 |
<default><![CDATA[]]></default>
|
9424 |
<type/>
|
9425 |
</argument>
|
9426 |
</method>
|
9427 |
-
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="
|
9428 |
<name>mla_get_terms</name>
|
9429 |
<full_name>mla_get_terms</full_name>
|
9430 |
-
<docblock line="
|
9431 |
<description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
|
9432 |
<long-description><![CDATA[<p>Alternative to WordPress get_terms() function that provides
|
9433 |
an accurate count of attachments associated with each term.</p>
|
@@ -9461,15 +9480,15 @@ descending and then by term_id before this value is applied.</p>
|
|
9461 |
<p>limit - final number of term objects to return, for pagination.</p>
|
9462 |
|
9463 |
<p>offset - number of term objects to skip, for pagination.</p>]]></long-description>
|
9464 |
-
<tag line="
|
9465 |
-
<tag line="
|
9466 |
<type by_reference="false">array</type>
|
9467 |
</tag>
|
9468 |
-
<tag line="
|
9469 |
<type by_reference="false">array</type>
|
9470 |
</tag>
|
9471 |
</docblock>
|
9472 |
-
<argument line="
|
9473 |
<name>$attr</name>
|
9474 |
<default><![CDATA[]]></default>
|
9475 |
<type/>
|
@@ -11179,13 +11198,13 @@ This file is only loaded if the naming conflict tests in index.php are passed.</
|
|
11179 |
</docblock>
|
11180 |
</function>
|
11181 |
</file>
|
11182 |
-
<file path="index.php" hash="
|
11183 |
<docblock line="2">
|
11184 |
<description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
|
11185 |
<long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
|
11186 |
will the rest of the plugin be loaded and run.</p>]]></long-description>
|
11187 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
11188 |
-
<tag line="2" name="version" description="1.
|
11189 |
</docblock>
|
11190 |
<include line="148" type="Require Once" package="Media Library Assistant">
|
11191 |
<name>includes/mla-plugin-loader.php</name>
|
2331 |
<todo line="3247">encode the rest</todo>
|
2332 |
</markers>
|
2333 |
</file>
|
2334 |
+
<file path="includes\class-mla-edit-media.php" hash="3e8818a063fc7626760b01f0aa66ac9a" package="Media Library Assistant">
|
2335 |
<docblock line="2">
|
2336 |
<description><![CDATA[Media Library Assistant Edit Media screen enhancements]]></description>
|
2337 |
<long-description><![CDATA[]]></long-description>
|
2387 |
</tag>
|
2388 |
</docblock>
|
2389 |
</constant>
|
2390 |
+
<property final="false" static="true" visibility="private" line="391" namespace="global" package="Media Library Assistant">
|
2391 |
<name>$mla_references</name>
|
2392 |
<default><![CDATA[null]]></default>
|
2393 |
+
<docblock line="381">
|
2394 |
<description><![CDATA[Where-used values for the current item]]></description>
|
2395 |
<long-description><![CDATA[<p>This array contains the Featured/Inserted/Gallery/MLA Gallery references for the item.
|
2396 |
The array is built once each page load and cached for subsequent calls.</p>]]></long-description>
|
2397 |
+
<tag line="381" name="since" description="0.80"/>
|
2398 |
+
<tag line="381" name="var" description="" type="array">
|
2399 |
<type by_reference="false">array</type>
|
2400 |
</tag>
|
2401 |
</docblock>
|
2444 |
<type/>
|
2445 |
</argument>
|
2446 |
</method>
|
2447 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="201" package="Media Library Assistant">
|
2448 |
<name>mla_post_updated_messages_filter</name>
|
2449 |
<full_name>mla_post_updated_messages_filter</full_name>
|
2450 |
+
<docblock line="191">
|
2451 |
<description><![CDATA[Adds mapping update messages for display at the top of the Edit Media screen.]]></description>
|
2452 |
<long-description><![CDATA[<p>Declared public because it is a filter.</p>]]></long-description>
|
2453 |
+
<tag line="191" name="since" description="1.10"/>
|
2454 |
+
<tag line="191" name="param" description="messages for the Edit screen" type="array" variable="$messages">
|
2455 |
<type by_reference="false">array</type>
|
2456 |
</tag>
|
2457 |
+
<tag line="191" name="return" description="updated messages" type="array">
|
2458 |
<type by_reference="false">array</type>
|
2459 |
</tag>
|
2460 |
</docblock>
|
2461 |
+
<argument line="201">
|
2462 |
<name>$messages</name>
|
2463 |
<default><![CDATA[]]></default>
|
2464 |
<type/>
|
2465 |
</argument>
|
2466 |
</method>
|
2467 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="218" package="Media Library Assistant">
|
2468 |
<name>mla_attachment_submitbox_action</name>
|
2469 |
<full_name>mla_attachment_submitbox_action</full_name>
|
2470 |
+
<docblock line="210">
|
2471 |
<description><![CDATA[Adds Last Modified date to the Submit box on the Edit Media screen.]]></description>
|
2472 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2473 |
+
<tag line="210" name="since" description="0.80"/>
|
2474 |
+
<tag line="210" name="return" description="echoes the HTML markup for the label and value" type="void">
|
2475 |
<type by_reference="false">void</type>
|
2476 |
</tag>
|
2477 |
</docblock>
|
2478 |
</method>
|
2479 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="254" package="Media Library Assistant">
|
2480 |
<name>mla_add_meta_boxes_action</name>
|
2481 |
<full_name>mla_add_meta_boxes_action</full_name>
|
2482 |
+
<docblock line="243">
|
2483 |
<description><![CDATA[Registers meta boxes for the Edit Media screen.]]></description>
|
2484 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2485 |
+
<tag line="243" name="since" description="0.80"/>
|
2486 |
+
<tag line="243" name="param" description="type of the current post, e.g., 'attachment' (optional, default 'unknown')" type="string" variable="$post_type">
|
2487 |
<type by_reference="false">string</type>
|
2488 |
</tag>
|
2489 |
+
<tag line="243" name="param" description="current post (optional, default (object) array ( 'ID' => 0 ))" type="object" variable="$post">
|
2490 |
<type by_reference="false">object</type>
|
2491 |
</tag>
|
2492 |
+
<tag line="243" name="return" description="" type="void">
|
2493 |
<type by_reference="false">void</type>
|
2494 |
</tag>
|
2495 |
</docblock>
|
2496 |
+
<argument line="254">
|
2497 |
<name>$post_type</name>
|
2498 |
<default><![CDATA['unknown']]></default>
|
2499 |
<type/>
|
2500 |
</argument>
|
2501 |
+
<argument line="254">
|
2502 |
<name>$post</name>
|
2503 |
<default><![CDATA[NULL]]></default>
|
2504 |
<type/>
|
2505 |
</argument>
|
2506 |
</method>
|
2507 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="341" package="Media Library Assistant">
|
2508 |
<name>mla_edit_add_help_tab</name>
|
2509 |
<full_name>mla_edit_add_help_tab</full_name>
|
2510 |
+
<docblock line="331">
|
2511 |
<description><![CDATA[Add contextual help tabs to the WordPress Edit Media page]]></description>
|
2512 |
<long-description><![CDATA[]]></long-description>
|
2513 |
+
<tag line="331" name="since" description="0.90"/>
|
2514 |
+
<tag line="331" name="param" description="title as shown on the screen" type="string" variable="$admin_title">
|
2515 |
<type by_reference="false">string</type>
|
2516 |
</tag>
|
2517 |
+
<tag line="331" name="param" description="title as shown in the HTML header" type="string" variable="$title">
|
2518 |
<type by_reference="false">string</type>
|
2519 |
</tag>
|
2520 |
+
<tag line="331" name="return" description="" type="void">
|
2521 |
<type by_reference="false">void</type>
|
2522 |
</tag>
|
2523 |
</docblock>
|
2524 |
+
<argument line="341">
|
2525 |
<name>$admin_title</name>
|
2526 |
<default><![CDATA[]]></default>
|
2527 |
<type/>
|
2528 |
</argument>
|
2529 |
+
<argument line="341">
|
2530 |
<name>$title</name>
|
2531 |
<default><![CDATA[]]></default>
|
2532 |
<type/>
|
2533 |
</argument>
|
2534 |
</method>
|
2535 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="403" package="Media Library Assistant">
|
2536 |
<name>mla_parent_info_handler</name>
|
2537 |
<full_name>mla_parent_info_handler</full_name>
|
2538 |
+
<docblock line="393">
|
2539 |
<description><![CDATA[Renders the Parent Info meta box on the Edit Media page.]]></description>
|
2540 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2541 |
+
<tag line="393" name="since" description="0.80"/>
|
2542 |
+
<tag line="393" name="param" description="current post" type="object" variable="$post">
|
2543 |
<type by_reference="false">object</type>
|
2544 |
</tag>
|
2545 |
+
<tag line="393" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2546 |
<type by_reference="false">void</type>
|
2547 |
</tag>
|
2548 |
</docblock>
|
2549 |
+
<argument line="403">
|
2550 |
<name>$post</name>
|
2551 |
<default><![CDATA[]]></default>
|
2552 |
<type/>
|
2553 |
</argument>
|
2554 |
</method>
|
2555 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="463" package="Media Library Assistant">
|
2556 |
<name>mla_menu_order_handler</name>
|
2557 |
<full_name>mla_menu_order_handler</full_name>
|
2558 |
+
<docblock line="453">
|
2559 |
<description><![CDATA[Renders the Menu Order meta box on the Edit Media page.]]></description>
|
2560 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2561 |
+
<tag line="453" name="since" description="0.80"/>
|
2562 |
+
<tag line="453" name="param" description="current post" type="object" variable="$post">
|
2563 |
<type by_reference="false">object</type>
|
2564 |
</tag>
|
2565 |
+
<tag line="453" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2566 |
<type by_reference="false">void</type>
|
2567 |
</tag>
|
2568 |
</docblock>
|
2569 |
+
<argument line="463">
|
2570 |
<name>$post</name>
|
2571 |
<default><![CDATA[]]></default>
|
2572 |
<type/>
|
2573 |
</argument>
|
2574 |
</method>
|
2575 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="478" package="Media Library Assistant">
|
2576 |
<name>mla_image_metadata_handler</name>
|
2577 |
<full_name>mla_image_metadata_handler</full_name>
|
2578 |
+
<docblock line="468">
|
2579 |
<description><![CDATA[Renders the Image Metadata meta box on the Edit Media page.]]></description>
|
2580 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2581 |
+
<tag line="468" name="since" description="0.80"/>
|
2582 |
+
<tag line="468" name="param" description="current post" type="object" variable="$post">
|
2583 |
<type by_reference="false">object</type>
|
2584 |
</tag>
|
2585 |
+
<tag line="468" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2586 |
<type by_reference="false">void</type>
|
2587 |
</tag>
|
2588 |
</docblock>
|
2589 |
+
<argument line="478">
|
2590 |
<name>$post</name>
|
2591 |
<default><![CDATA[]]></default>
|
2592 |
<type/>
|
2593 |
</argument>
|
2594 |
</method>
|
2595 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="500" package="Media Library Assistant">
|
2596 |
<name>mla_featured_in_handler</name>
|
2597 |
<full_name>mla_featured_in_handler</full_name>
|
2598 |
+
<docblock line="490">
|
2599 |
<description><![CDATA[Renders the Featured in meta box on the Edit Media page.]]></description>
|
2600 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2601 |
+
<tag line="490" name="since" description="0.80"/>
|
2602 |
+
<tag line="490" name="param" description="current post" type="object" variable="$post">
|
2603 |
<type by_reference="false">object</type>
|
2604 |
</tag>
|
2605 |
+
<tag line="490" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2606 |
<type by_reference="false">void</type>
|
2607 |
</tag>
|
2608 |
</docblock>
|
2609 |
+
<argument line="500">
|
2610 |
<name>$post</name>
|
2611 |
<default><![CDATA[]]></default>
|
2612 |
<type/>
|
2613 |
</argument>
|
2614 |
</method>
|
2615 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="532" package="Media Library Assistant">
|
2616 |
<name>mla_inserted_in_handler</name>
|
2617 |
<full_name>mla_inserted_in_handler</full_name>
|
2618 |
+
<docblock line="522">
|
2619 |
<description><![CDATA[Renders the Inserted in meta box on the Edit Media page.]]></description>
|
2620 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2621 |
+
<tag line="522" name="since" description="0.80"/>
|
2622 |
+
<tag line="522" name="param" description="current post" type="object" variable="$post">
|
2623 |
<type by_reference="false">object</type>
|
2624 |
</tag>
|
2625 |
+
<tag line="522" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2626 |
<type by_reference="false">void</type>
|
2627 |
</tag>
|
2628 |
</docblock>
|
2629 |
+
<argument line="532">
|
2630 |
<name>$post</name>
|
2631 |
<default><![CDATA[]]></default>
|
2632 |
<type/>
|
2633 |
</argument>
|
2634 |
</method>
|
2635 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="568" package="Media Library Assistant">
|
2636 |
<name>mla_gallery_in_handler</name>
|
2637 |
<full_name>mla_gallery_in_handler</full_name>
|
2638 |
+
<docblock line="558">
|
2639 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2640 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2641 |
+
<tag line="558" name="since" description="0.80"/>
|
2642 |
+
<tag line="558" name="param" description="current post" type="object" variable="$post">
|
2643 |
<type by_reference="false">object</type>
|
2644 |
</tag>
|
2645 |
+
<tag line="558" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2646 |
<type by_reference="false">void</type>
|
2647 |
</tag>
|
2648 |
</docblock>
|
2649 |
+
<argument line="568">
|
2650 |
<name>$post</name>
|
2651 |
<default><![CDATA[]]></default>
|
2652 |
<type/>
|
2653 |
</argument>
|
2654 |
</method>
|
2655 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="600" package="Media Library Assistant">
|
2656 |
<name>mla_mla_gallery_in_handler</name>
|
2657 |
<full_name>mla_mla_gallery_in_handler</full_name>
|
2658 |
+
<docblock line="590">
|
2659 |
<description><![CDATA[Renders the Gallery in meta box on the Edit Media page.]]></description>
|
2660 |
<long-description><![CDATA[<p>Declared public because it is a callback function.</p>]]></long-description>
|
2661 |
+
<tag line="590" name="since" description="0.80"/>
|
2662 |
+
<tag line="590" name="param" description="current post" type="object" variable="$post">
|
2663 |
<type by_reference="false">object</type>
|
2664 |
</tag>
|
2665 |
+
<tag line="590" name="return" description="echoes the HTML markup for the meta box content" type="void">
|
2666 |
<type by_reference="false">void</type>
|
2667 |
</tag>
|
2668 |
</docblock>
|
2669 |
+
<argument line="600">
|
2670 |
<name>$post</name>
|
2671 |
<default><![CDATA[]]></default>
|
2672 |
<type/>
|
2673 |
</argument>
|
2674 |
</method>
|
2675 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="632" package="Media Library Assistant">
|
2676 |
<name>mla_edit_attachment_action</name>
|
2677 |
<full_name>mla_edit_attachment_action</full_name>
|
2678 |
+
<docblock line="622">
|
2679 |
<description><![CDATA[Saves updates from the Edit Media screen.]]></description>
|
2680 |
<long-description><![CDATA[<p>Declared public because it is an action.</p>]]></long-description>
|
2681 |
+
<tag line="622" name="since" description="0.80"/>
|
2682 |
+
<tag line="622" name="param" description="ID of the current post" type="integer" variable="$post_ID">
|
2683 |
<type by_reference="false">integer</type>
|
2684 |
</tag>
|
2685 |
+
<tag line="622" name="return" description="" type="void">
|
2686 |
<type by_reference="false">void</type>
|
2687 |
</tag>
|
2688 |
</docblock>
|
2689 |
+
<argument line="632">
|
2690 |
<name>$post_ID</name>
|
2691 |
<default><![CDATA[]]></default>
|
2692 |
<type/>
|
2693 |
</argument>
|
2694 |
</method>
|
2695 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="658" package="Media Library Assistant">
|
2696 |
<name>_mla_ajax_add_flat_term</name>
|
2697 |
<full_name>_mla_ajax_add_flat_term</full_name>
|
2698 |
+
<docblock line="647">
|
2699 |
<description><![CDATA[Add flat taxonomy term from "checklist" meta box on the Media Manager Modal Window]]></description>
|
2700 |
<long-description><![CDATA[<p>Adapted from the WordPress post_categories_meta_box() in /wp-admin/includes/meta-boxes.php.</p>]]></long-description>
|
2701 |
+
<tag line="647" name="since" description="1.80"/>
|
2702 |
+
<tag line="647" name="param" description="The taxonomy name, from $_POST['action']" type="string" variable="$key">
|
2703 |
<type by_reference="false">string</type>
|
2704 |
</tag>
|
2705 |
+
<tag line="647" name="return" description="Sends JSON response with updated HTML for the checklist" type="void">
|
2706 |
<type by_reference="false">void</type>
|
2707 |
</tag>
|
2708 |
</docblock>
|
2709 |
+
<argument line="658">
|
2710 |
<name>$key</name>
|
2711 |
<default><![CDATA[]]></default>
|
2712 |
<type/>
|
2713 |
</argument>
|
2714 |
</method>
|
2715 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="721" package="Media Library Assistant">
|
2716 |
<name>mla_checklist_meta_box</name>
|
2717 |
<full_name>mla_checklist_meta_box</full_name>
|
2718 |
+
<docblock line="706">
|
2719 |
<description><![CDATA[Display taxonomy "checklist" form fields]]></description>
|
2720 |
<long-description><![CDATA[<p>Adapted from /wp-admin/includes/ajax-actions.php function _wp_ajax_add_hierarchical_term().
|
2721 |
Includes the "? Search" area to filter the term checklist by entering part
|
2722 |
or all of a word/phrase in the term label.
|
2723 |
Output to the Media/Edit Media screen and to the Media Manager Modal Window.</p>]]></long-description>
|
2724 |
+
<tag line="706" name="since" description="1.71"/>
|
2725 |
+
<tag line="706" name="param" description="The current post" type="object" variable="$target_post">
|
2726 |
<type by_reference="false">object</type>
|
2727 |
</tag>
|
2728 |
+
<tag line="706" name="param" description="The meta box parameters" type="array" variable="$box">
|
2729 |
<type by_reference="false">array</type>
|
2730 |
</tag>
|
2731 |
+
<tag line="706" name="return" description="Echoes HTML for the form fields" type="void">
|
2732 |
<type by_reference="false">void</type>
|
2733 |
</tag>
|
2734 |
</docblock>
|
2735 |
+
<argument line="721">
|
2736 |
<name>$target_post</name>
|
2737 |
<default><![CDATA[]]></default>
|
2738 |
<type/>
|
2739 |
</argument>
|
2740 |
+
<argument line="721">
|
2741 |
<name>$box</name>
|
2742 |
<default><![CDATA[]]></default>
|
2743 |
<type/>
|
2744 |
</argument>
|
2745 |
</method>
|
2746 |
</class>
|
2747 |
+
<class final="false" abstract="false" namespace="global" line="880" package="Media Library Assistant">
|
2748 |
<extends>\Walker_Category</extends>
|
2749 |
<name>MLA_Checklist_Walker</name>
|
2750 |
<full_name>\MLA_Checklist_Walker</full_name>
|
2751 |
+
<docblock line="870">
|
2752 |
<description><![CDATA[Class MLA (Media Library Assistant) Checklist Walker replaces term_id with slug in checklist output]]></description>
|
2753 |
<long-description><![CDATA[<p>This walker is used to build the meta boxes for flat taxonomies, e.g., Tags, Att. Tags.
|
2754 |
Class Walker_Category is defined in /wp-includes/category-template.php.
|
2755 |
Class Walker is defined in /wp-includes/class-wp-walker.php.</p>]]></long-description>
|
2756 |
+
<tag line="870" name="package" description="Media Library Assistant"/>
|
2757 |
+
<tag line="870" name="since" description="1.80"/>
|
2758 |
</docblock>
|
2759 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="894" package="Media Library Assistant">
|
2760 |
<name>start_el</name>
|
2761 |
<full_name>start_el</full_name>
|
2762 |
+
<docblock line="881">
|
2763 |
<description><![CDATA[Start the element output.]]></description>
|
2764 |
<long-description><![CDATA[]]></long-description>
|
2765 |
+
<tag line="881" name="see" description="\global\Walker::start_el()" refers="\global\Walker::start_el()"/>
|
2766 |
+
<tag line="881" name="since" description="1.80"/>
|
2767 |
+
<tag line="881" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
|
2768 |
<type by_reference="false">string</type>
|
2769 |
</tag>
|
2770 |
+
<tag line="881" name="param" description="Taxonomy data object." type="object" variable="$taxonomy_object">
|
2771 |
<type by_reference="false">object</type>
|
2772 |
</tag>
|
2773 |
+
<tag line="881" name="param" description="Depth of category in reference to parents. Default 0." type="int" variable="$depth">
|
2774 |
<type by_reference="false">int</type>
|
2775 |
</tag>
|
2776 |
+
<tag line="881" name="param" description="An array of arguments. @see wp_list_categories()" type="array" variable="$args">
|
2777 |
<type by_reference="false">array</type>
|
2778 |
</tag>
|
2779 |
+
<tag line="881" name="param" description="ID of the current category." type="int" variable="$id">
|
2780 |
<type by_reference="false">int</type>
|
2781 |
</tag>
|
2782 |
</docblock>
|
2783 |
+
<argument line="894">
|
2784 |
<name>$output</name>
|
2785 |
<default><![CDATA[]]></default>
|
2786 |
<type/>
|
2787 |
</argument>
|
2788 |
+
<argument line="894">
|
2789 |
<name>$taxonomy_object</name>
|
2790 |
<default><![CDATA[]]></default>
|
2791 |
<type/>
|
2792 |
</argument>
|
2793 |
+
<argument line="894">
|
2794 |
<name>$depth</name>
|
2795 |
<default><![CDATA[0]]></default>
|
2796 |
<type/>
|
2797 |
</argument>
|
2798 |
+
<argument line="894">
|
2799 |
<name>$args</name>
|
2800 |
<default><![CDATA[array()]]></default>
|
2801 |
<type/>
|
2802 |
</argument>
|
2803 |
+
<argument line="894">
|
2804 |
<name>$id</name>
|
2805 |
<default><![CDATA[0]]></default>
|
2806 |
<type/>
|
2807 |
</argument>
|
2808 |
</method>
|
2809 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="927" package="Media Library Assistant">
|
2810 |
<name>end_el</name>
|
2811 |
<full_name>end_el</full_name>
|
2812 |
+
<docblock line="915">
|
2813 |
<description><![CDATA[Ends the element output, if needed.]]></description>
|
2814 |
<long-description><![CDATA[]]></long-description>
|
2815 |
+
<tag line="915" name="see" description="\global\Walker::end_el()" refers="\global\Walker::end_el()"/>
|
2816 |
+
<tag line="915" name="since" description="1.80"/>
|
2817 |
+
<tag line="915" name="param" description="Passed by reference. Used to append additional content." type="string" variable="$output">
|
2818 |
<type by_reference="false">string</type>
|
2819 |
</tag>
|
2820 |
+
<tag line="915" name="param" description="The current term object." type="object" variable="$category">
|
2821 |
<type by_reference="false">object</type>
|
2822 |
</tag>
|
2823 |
+
<tag line="915" name="param" description="Depth of the term in reference to parents. Default 0." type="int" variable="$depth">
|
2824 |
<type by_reference="false">int</type>
|
2825 |
</tag>
|
2826 |
+
<tag line="915" name="param" description="An array of arguments. @see wp_terms_checklist()" type="array" variable="$args">
|
2827 |
<type by_reference="false">array</type>
|
2828 |
</tag>
|
2829 |
</docblock>
|
2830 |
+
<argument line="927">
|
2831 |
<name>$output</name>
|
2832 |
<default><![CDATA[]]></default>
|
2833 |
<type/>
|
2834 |
</argument>
|
2835 |
+
<argument line="927">
|
2836 |
<name>$category</name>
|
2837 |
<default><![CDATA[]]></default>
|
2838 |
<type/>
|
2839 |
</argument>
|
2840 |
+
<argument line="927">
|
2841 |
<name>$depth</name>
|
2842 |
<default><![CDATA[0]]></default>
|
2843 |
<type/>
|
2844 |
</argument>
|
2845 |
+
<argument line="927">
|
2846 |
<name>$args</name>
|
2847 |
<default><![CDATA[array()]]></default>
|
2848 |
<type/>
|
2850 |
</method>
|
2851 |
</class>
|
2852 |
</file>
|
2853 |
+
<file path="includes\class-mla-list-table.php" hash="9e7dc54c71df30244fd0432d235bfd2a" package="Media Library Assistant">
|
2854 |
<docblock line="2">
|
2855 |
<description><![CDATA[Media Library Assistant extended List Table class]]></description>
|
2856 |
<long-description><![CDATA[]]></long-description>
|
3252 |
<type/>
|
3253 |
</argument>
|
3254 |
</method>
|
3255 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="691" package="Media Library Assistant">
|
3256 |
<name>column_ID_parent</name>
|
3257 |
<full_name>column_ID_parent</full_name>
|
3258 |
+
<docblock line="683">
|
3259 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3260 |
<long-description><![CDATA[]]></long-description>
|
3261 |
+
<tag line="683" name="since" description="0.1"/>
|
3262 |
+
<tag line="683" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3263 |
<type by_reference="false">array</type>
|
3264 |
</tag>
|
3265 |
+
<tag line="683" name="return" description="HTML markup to be placed inside the column" type="string">
|
3266 |
<type by_reference="false">string</type>
|
3267 |
</tag>
|
3268 |
</docblock>
|
3269 |
+
<argument line="691">
|
3270 |
<name>$item</name>
|
3271 |
<default><![CDATA[]]></default>
|
3272 |
<type/>
|
3273 |
</argument>
|
3274 |
</method>
|
3275 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="724" package="Media Library Assistant">
|
3276 |
<name>column_title_name</name>
|
3277 |
<full_name>column_title_name</full_name>
|
3278 |
+
<docblock line="716">
|
3279 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3280 |
<long-description><![CDATA[]]></long-description>
|
3281 |
+
<tag line="716" name="since" description="0.1"/>
|
3282 |
+
<tag line="716" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3283 |
<type by_reference="false">array</type>
|
3284 |
</tag>
|
3285 |
+
<tag line="716" name="return" description="HTML markup to be placed inside the column" type="string">
|
3286 |
<type by_reference="false">string</type>
|
3287 |
</tag>
|
3288 |
</docblock>
|
3289 |
+
<argument line="724">
|
3290 |
<name>$item</name>
|
3291 |
<default><![CDATA[]]></default>
|
3292 |
<type/>
|
3293 |
</argument>
|
3294 |
</method>
|
3295 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="748" package="Media Library Assistant">
|
3296 |
<name>column_post_title</name>
|
3297 |
<full_name>column_post_title</full_name>
|
3298 |
+
<docblock line="740">
|
3299 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3300 |
<long-description><![CDATA[]]></long-description>
|
3301 |
+
<tag line="740" name="since" description="0.1"/>
|
3302 |
+
<tag line="740" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3303 |
<type by_reference="false">array</type>
|
3304 |
</tag>
|
3305 |
+
<tag line="740" name="return" description="HTML markup to be placed inside the column" type="string">
|
3306 |
<type by_reference="false">string</type>
|
3307 |
</tag>
|
3308 |
</docblock>
|
3309 |
+
<argument line="748">
|
3310 |
<name>$item</name>
|
3311 |
<default><![CDATA[]]></default>
|
3312 |
<type/>
|
3313 |
</argument>
|
3314 |
</method>
|
3315 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="766" package="Media Library Assistant">
|
3316 |
<name>column_post_name</name>
|
3317 |
<full_name>column_post_name</full_name>
|
3318 |
+
<docblock line="758">
|
3319 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3320 |
<long-description><![CDATA[]]></long-description>
|
3321 |
+
<tag line="758" name="since" description="0.1"/>
|
3322 |
+
<tag line="758" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3323 |
<type by_reference="false">array</type>
|
3324 |
</tag>
|
3325 |
+
<tag line="758" name="return" description="HTML markup to be placed inside the column" type="string">
|
3326 |
<type by_reference="false">string</type>
|
3327 |
</tag>
|
3328 |
</docblock>
|
3329 |
+
<argument line="766">
|
3330 |
<name>$item</name>
|
3331 |
<default><![CDATA[]]></default>
|
3332 |
<type/>
|
3333 |
</argument>
|
3334 |
</method>
|
3335 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="784" package="Media Library Assistant">
|
3336 |
<name>column_parent</name>
|
3337 |
<full_name>column_parent</full_name>
|
3338 |
+
<docblock line="776">
|
3339 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3340 |
<long-description><![CDATA[]]></long-description>
|
3341 |
+
<tag line="776" name="since" description="0.1"/>
|
3342 |
+
<tag line="776" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3343 |
<type by_reference="false">array</type>
|
3344 |
</tag>
|
3345 |
+
<tag line="776" name="return" description="HTML markup to be placed inside the column" type="string">
|
3346 |
<type by_reference="false">string</type>
|
3347 |
</tag>
|
3348 |
</docblock>
|
3349 |
+
<argument line="784">
|
3350 |
<name>$item</name>
|
3351 |
<default><![CDATA[]]></default>
|
3352 |
<type/>
|
3353 |
</argument>
|
3354 |
</method>
|
3355 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="810" package="Media Library Assistant">
|
3356 |
<name>column_menu_order</name>
|
3357 |
<full_name>column_menu_order</full_name>
|
3358 |
+
<docblock line="802">
|
3359 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3360 |
<long-description><![CDATA[]]></long-description>
|
3361 |
+
<tag line="802" name="since" description="0.60"/>
|
3362 |
+
<tag line="802" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3363 |
<type by_reference="false">array</type>
|
3364 |
</tag>
|
3365 |
+
<tag line="802" name="return" description="HTML markup to be placed inside the column" type="string">
|
3366 |
<type by_reference="false">string</type>
|
3367 |
</tag>
|
3368 |
</docblock>
|
3369 |
+
<argument line="810">
|
3370 |
<name>$item</name>
|
3371 |
<default><![CDATA[]]></default>
|
3372 |
<type/>
|
3373 |
</argument>
|
3374 |
</method>
|
3375 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="822" package="Media Library Assistant">
|
3376 |
<name>column_featured</name>
|
3377 |
<full_name>column_featured</full_name>
|
3378 |
+
<docblock line="814">
|
3379 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3380 |
<long-description><![CDATA[]]></long-description>
|
3381 |
+
<tag line="814" name="since" description="0.1"/>
|
3382 |
+
<tag line="814" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3383 |
<type by_reference="false">array</type>
|
3384 |
</tag>
|
3385 |
+
<tag line="814" name="return" description="HTML markup to be placed inside the column" type="string">
|
3386 |
<type by_reference="false">string</type>
|
3387 |
</tag>
|
3388 |
</docblock>
|
3389 |
+
<argument line="822">
|
3390 |
<name>$item</name>
|
3391 |
<default><![CDATA[]]></default>
|
3392 |
<type/>
|
3393 |
</argument>
|
3394 |
</method>
|
3395 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="856" package="Media Library Assistant">
|
3396 |
<name>column_inserted</name>
|
3397 |
<full_name>column_inserted</full_name>
|
3398 |
+
<docblock line="848">
|
3399 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3400 |
<long-description><![CDATA[]]></long-description>
|
3401 |
+
<tag line="848" name="since" description="0.1"/>
|
3402 |
+
<tag line="848" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3403 |
<type by_reference="false">array</type>
|
3404 |
</tag>
|
3405 |
+
<tag line="848" name="return" description="HTML markup to be placed inside the column" type="string">
|
3406 |
<type by_reference="false">string</type>
|
3407 |
</tag>
|
3408 |
</docblock>
|
3409 |
+
<argument line="856">
|
3410 |
<name>$item</name>
|
3411 |
<default><![CDATA[]]></default>
|
3412 |
<type/>
|
3413 |
</argument>
|
3414 |
</method>
|
3415 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="894" package="Media Library Assistant">
|
3416 |
<name>column_galleries</name>
|
3417 |
<full_name>column_galleries</full_name>
|
3418 |
+
<docblock line="886">
|
3419 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3420 |
<long-description><![CDATA[]]></long-description>
|
3421 |
+
<tag line="886" name="since" description="0.70"/>
|
3422 |
+
<tag line="886" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3423 |
<type by_reference="false">array</type>
|
3424 |
</tag>
|
3425 |
+
<tag line="886" name="return" description="HTML markup to be placed inside the column" type="string">
|
3426 |
<type by_reference="false">string</type>
|
3427 |
</tag>
|
3428 |
</docblock>
|
3429 |
+
<argument line="894">
|
3430 |
<name>$item</name>
|
3431 |
<default><![CDATA[]]></default>
|
3432 |
<type/>
|
3433 |
</argument>
|
3434 |
</method>
|
3435 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="928" package="Media Library Assistant">
|
3436 |
<name>column_mla_galleries</name>
|
3437 |
<full_name>column_mla_galleries</full_name>
|
3438 |
+
<docblock line="920">
|
3439 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3440 |
<long-description><![CDATA[]]></long-description>
|
3441 |
+
<tag line="920" name="since" description="0.70"/>
|
3442 |
+
<tag line="920" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3443 |
<type by_reference="false">array</type>
|
3444 |
</tag>
|
3445 |
+
<tag line="920" name="return" description="HTML markup to be placed inside the column" type="string">
|
3446 |
<type by_reference="false">string</type>
|
3447 |
</tag>
|
3448 |
</docblock>
|
3449 |
+
<argument line="928">
|
3450 |
<name>$item</name>
|
3451 |
<default><![CDATA[]]></default>
|
3452 |
<type/>
|
3453 |
</argument>
|
3454 |
</method>
|
3455 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="962" package="Media Library Assistant">
|
3456 |
<name>column_alt_text</name>
|
3457 |
<full_name>column_alt_text</full_name>
|
3458 |
+
<docblock line="954">
|
3459 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3460 |
<long-description><![CDATA[]]></long-description>
|
3461 |
+
<tag line="954" name="since" description="0.1"/>
|
3462 |
+
<tag line="954" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3463 |
<type by_reference="false">array</type>
|
3464 |
</tag>
|
3465 |
+
<tag line="954" name="return" description="HTML markup to be placed inside the column" type="string">
|
3466 |
<type by_reference="false">string</type>
|
3467 |
</tag>
|
3468 |
</docblock>
|
3469 |
+
<argument line="962">
|
3470 |
<name>$item</name>
|
3471 |
<default><![CDATA[]]></default>
|
3472 |
<type/>
|
3473 |
</argument>
|
3474 |
</method>
|
3475 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="983" package="Media Library Assistant">
|
3476 |
<name>column_caption</name>
|
3477 |
<full_name>column_caption</full_name>
|
3478 |
+
<docblock line="975">
|
3479 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3480 |
<long-description><![CDATA[]]></long-description>
|
3481 |
+
<tag line="975" name="since" description="0.1"/>
|
3482 |
+
<tag line="975" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3483 |
<type by_reference="false">array</type>
|
3484 |
</tag>
|
3485 |
+
<tag line="975" name="return" description="HTML markup to be placed inside the column" type="string">
|
3486 |
<type by_reference="false">string</type>
|
3487 |
</tag>
|
3488 |
</docblock>
|
3489 |
+
<argument line="983">
|
3490 |
<name>$item</name>
|
3491 |
<default><![CDATA[]]></default>
|
3492 |
<type/>
|
3493 |
</argument>
|
3494 |
</method>
|
3495 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="995" package="Media Library Assistant">
|
3496 |
<name>column_description</name>
|
3497 |
<full_name>column_description</full_name>
|
3498 |
+
<docblock line="987">
|
3499 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3500 |
<long-description><![CDATA[]]></long-description>
|
3501 |
+
<tag line="987" name="since" description="0.1"/>
|
3502 |
+
<tag line="987" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3503 |
<type by_reference="false">array</type>
|
3504 |
</tag>
|
3505 |
+
<tag line="987" name="return" description="HTML markup to be placed inside the column" type="string">
|
3506 |
<type by_reference="false">string</type>
|
3507 |
</tag>
|
3508 |
</docblock>
|
3509 |
+
<argument line="995">
|
3510 |
<name>$item</name>
|
3511 |
<default><![CDATA[]]></default>
|
3512 |
<type/>
|
3513 |
</argument>
|
3514 |
</method>
|
3515 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1007" package="Media Library Assistant">
|
3516 |
<name>column_post_mime_type</name>
|
3517 |
<full_name>column_post_mime_type</full_name>
|
3518 |
+
<docblock line="999">
|
3519 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3520 |
<long-description><![CDATA[]]></long-description>
|
3521 |
+
<tag line="999" name="since" description="0.30"/>
|
3522 |
+
<tag line="999" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3523 |
<type by_reference="false">array</type>
|
3524 |
</tag>
|
3525 |
+
<tag line="999" name="return" description="HTML markup to be placed inside the column" type="string">
|
3526 |
<type by_reference="false">string</type>
|
3527 |
</tag>
|
3528 |
</docblock>
|
3529 |
+
<argument line="1007">
|
3530 |
<name>$item</name>
|
3531 |
<default><![CDATA[]]></default>
|
3532 |
<type/>
|
3533 |
</argument>
|
3534 |
</method>
|
3535 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1023" package="Media Library Assistant">
|
3536 |
<name>column_file_url</name>
|
3537 |
<full_name>column_file_url</full_name>
|
3538 |
+
<docblock line="1015">
|
3539 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3540 |
<long-description><![CDATA[]]></long-description>
|
3541 |
+
<tag line="1015" name="since" description="0.1"/>
|
3542 |
+
<tag line="1015" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3543 |
<type by_reference="false">array</type>
|
3544 |
</tag>
|
3545 |
+
<tag line="1015" name="return" description="HTML markup to be placed inside the column" type="string">
|
3546 |
<type by_reference="false">string</type>
|
3547 |
</tag>
|
3548 |
</docblock>
|
3549 |
+
<argument line="1023">
|
3550 |
<name>$item</name>
|
3551 |
<default><![CDATA[]]></default>
|
3552 |
<type/>
|
3553 |
</argument>
|
3554 |
</method>
|
3555 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1037" package="Media Library Assistant">
|
3556 |
<name>column_base_file</name>
|
3557 |
<full_name>column_base_file</full_name>
|
3558 |
+
<docblock line="1029">
|
3559 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3560 |
<long-description><![CDATA[]]></long-description>
|
3561 |
+
<tag line="1029" name="since" description="0.1"/>
|
3562 |
+
<tag line="1029" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3563 |
<type by_reference="false">array</type>
|
3564 |
</tag>
|
3565 |
+
<tag line="1029" name="return" description="HTML markup to be placed inside the column" type="string">
|
3566 |
<type by_reference="false">string</type>
|
3567 |
</tag>
|
3568 |
</docblock>
|
3569 |
+
<argument line="1037">
|
3570 |
<name>$item</name>
|
3571 |
<default><![CDATA[]]></default>
|
3572 |
<type/>
|
3573 |
</argument>
|
3574 |
</method>
|
3575 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1049" package="Media Library Assistant">
|
3576 |
<name>column_date</name>
|
3577 |
<full_name>column_date</full_name>
|
3578 |
+
<docblock line="1041">
|
3579 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3580 |
<long-description><![CDATA[]]></long-description>
|
3581 |
+
<tag line="1041" name="since" description="0.1"/>
|
3582 |
+
<tag line="1041" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3583 |
<type by_reference="false">array</type>
|
3584 |
</tag>
|
3585 |
+
<tag line="1041" name="return" description="HTML markup to be placed inside the column" type="string">
|
3586 |
<type by_reference="false">string</type>
|
3587 |
</tag>
|
3588 |
</docblock>
|
3589 |
+
<argument line="1049">
|
3590 |
<name>$item</name>
|
3591 |
<default><![CDATA[]]></default>
|
3592 |
<type/>
|
3593 |
</argument>
|
3594 |
</method>
|
3595 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1081" package="Media Library Assistant">
|
3596 |
<name>column_modified</name>
|
3597 |
<full_name>column_modified</full_name>
|
3598 |
+
<docblock line="1073">
|
3599 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3600 |
<long-description><![CDATA[]]></long-description>
|
3601 |
+
<tag line="1073" name="since" description="0.30"/>
|
3602 |
+
<tag line="1073" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3603 |
<type by_reference="false">array</type>
|
3604 |
</tag>
|
3605 |
+
<tag line="1073" name="return" description="HTML markup to be placed inside the column" type="string">
|
3606 |
<type by_reference="false">string</type>
|
3607 |
</tag>
|
3608 |
</docblock>
|
3609 |
+
<argument line="1081">
|
3610 |
<name>$item</name>
|
3611 |
<default><![CDATA[]]></default>
|
3612 |
<type/>
|
3613 |
</argument>
|
3614 |
</method>
|
3615 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1110" package="Media Library Assistant">
|
3616 |
<name>column_author</name>
|
3617 |
<full_name>column_author</full_name>
|
3618 |
+
<docblock line="1102">
|
3619 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3620 |
<long-description><![CDATA[]]></long-description>
|
3621 |
+
<tag line="1102" name="since" description="0.30"/>
|
3622 |
+
<tag line="1102" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3623 |
<type by_reference="false">array</type>
|
3624 |
</tag>
|
3625 |
+
<tag line="1102" name="return" description="HTML markup to be placed inside the column" type="string">
|
3626 |
<type by_reference="false">string</type>
|
3627 |
</tag>
|
3628 |
</docblock>
|
3629 |
+
<argument line="1110">
|
3630 |
<name>$item</name>
|
3631 |
<default><![CDATA[]]></default>
|
3632 |
<type/>
|
3633 |
</argument>
|
3634 |
</method>
|
3635 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1132" package="Media Library Assistant">
|
3636 |
<name>column_attached_to</name>
|
3637 |
<full_name>column_attached_to</full_name>
|
3638 |
+
<docblock line="1124">
|
3639 |
<description><![CDATA[Supply the content for a custom column]]></description>
|
3640 |
<long-description><![CDATA[]]></long-description>
|
3641 |
+
<tag line="1124" name="since" description="0.1"/>
|
3642 |
+
<tag line="1124" name="param" description="A singular attachment (post) object" type="array" variable="$item">
|
3643 |
<type by_reference="false">array</type>
|
3644 |
</tag>
|
3645 |
+
<tag line="1124" name="return" description="HTML markup to be placed inside the column" type="string">
|
3646 |
<type by_reference="false">string</type>
|
3647 |
</tag>
|
3648 |
</docblock>
|
3649 |
+
<argument line="1132">
|
3650 |
<name>$item</name>
|
3651 |
<default><![CDATA[]]></default>
|
3652 |
<type/>
|
3653 |
</argument>
|
3654 |
</method>
|
3655 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1171" package="Media Library Assistant">
|
3656 |
<name>mla_submenu_arguments</name>
|
3657 |
<full_name>mla_submenu_arguments</full_name>
|
3658 |
+
<docblock line="1162">
|
3659 |
<description><![CDATA[Process $_REQUEST, building $submenu_arguments]]></description>
|
3660 |
<long-description><![CDATA[]]></long-description>
|
3661 |
+
<tag line="1162" name="since" description="1.42"/>
|
3662 |
+
<tag line="1162" name="param" description="Optional: Include the "click filter" values in the results" type="boolean" variable="$include_filters">
|
3663 |
<type by_reference="false">boolean</type>
|
3664 |
</tag>
|
3665 |
+
<tag line="1162" name="return" description="non-empty view, search, filter and sort arguments" type="array">
|
3666 |
<type by_reference="false">array</type>
|
3667 |
</tag>
|
3668 |
</docblock>
|
3669 |
+
<argument line="1171">
|
3670 |
<name>$include_filters</name>
|
3671 |
<default><![CDATA[true]]></default>
|
3672 |
<type/>
|
3673 |
</argument>
|
3674 |
</method>
|
3675 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1275" package="Media Library Assistant">
|
3676 |
<name>pagination</name>
|
3677 |
<full_name>pagination</full_name>
|
3678 |
+
<docblock line="1267">
|
3679 |
<description><![CDATA[Display the pagination, adding view, search and filter arguments]]></description>
|
3680 |
<long-description><![CDATA[]]></long-description>
|
3681 |
+
<tag line="1267" name="since" description="1.42"/>
|
3682 |
+
<tag line="1267" name="param" description="'top' | 'bottom'" type="string" variable="$which">
|
3683 |
<type by_reference="false">string</type>
|
3684 |
</tag>
|
3685 |
+
<tag line="1267" name="return" description="" type="void">
|
3686 |
<type by_reference="false">void</type>
|
3687 |
</tag>
|
3688 |
</docblock>
|
3689 |
+
<argument line="1275">
|
3690 |
<name>$which</name>
|
3691 |
<default><![CDATA[]]></default>
|
3692 |
<type/>
|
3693 |
</argument>
|
3694 |
</method>
|
3695 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1289" package="Media Library Assistant">
|
3696 |
<name>get_columns</name>
|
3697 |
<full_name>get_columns</full_name>
|
3698 |
+
<docblock line="1282">
|
3699 |
<description><![CDATA[This method dictates the table's columns and titles]]></description>
|
3700 |
<long-description><![CDATA[]]></long-description>
|
3701 |
+
<tag line="1282" name="since" description="0.1"/>
|
3702 |
+
<tag line="1282" name="return" description="Column information: 'slugs'=>'Visible Titles'" type="array">
|
3703 |
<type by_reference="false">array</type>
|
3704 |
</tag>
|
3705 |
</docblock>
|
3706 |
</method>
|
3707 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1301" package="Media Library Assistant">
|
3708 |
<name>get_hidden_columns</name>
|
3709 |
<full_name>get_hidden_columns</full_name>
|
3710 |
+
<docblock line="1293">
|
3711 |
<description><![CDATA[Returns the list of currently hidden columns from a user option or
|
3712 |
from default values if the option is not set]]></description>
|
3713 |
<long-description><![CDATA[]]></long-description>
|
3714 |
+
<tag line="1293" name="since" description="0.1"/>
|
3715 |
+
<tag line="1293" name="return" description="Column information,e.g., array(0 => 'ID_parent, 1 => 'title_name')" type="array">
|
3716 |
<type by_reference="false">array</type>
|
3717 |
</tag>
|
3718 |
</docblock>
|
3719 |
</method>
|
3720 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1321" package="Media Library Assistant">
|
3721 |
<name>get_sortable_columns</name>
|
3722 |
<full_name>get_sortable_columns</full_name>
|
3723 |
+
<docblock line="1311">
|
3724 |
<description><![CDATA[Returns an array where the key is the column that needs to be sortable
|
3725 |
and the value is db column to sort by.]]></description>
|
3726 |
<long-description><![CDATA[<p>Also notes the current sort column,
|
3727 |
if set.</p>]]></long-description>
|
3728 |
+
<tag line="1311" name="since" description="0.1"/>
|
3729 |
+
<tag line="1311" name="return" description="Sortable column information,e.g., 'slugs'=>array('data_values',boolean)" type="array">
|
3730 |
<type by_reference="false">array</type>
|
3731 |
</tag>
|
3732 |
</docblock>
|
3733 |
</method>
|
3734 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1347" package="Media Library Assistant">
|
3735 |
<name>print_column_headers</name>
|
3736 |
<full_name>print_column_headers</full_name>
|
3737 |
+
<docblock line="1340">
|
3738 |
<description><![CDATA[Print column headers, adding view, search and filter arguments]]></description>
|
3739 |
<long-description><![CDATA[]]></long-description>
|
3740 |
+
<tag line="1340" name="since" description="1.42"/>
|
3741 |
+
<tag line="1340" name="param" description="Whether to set the id attribute or not" type="bool" variable="$with_id">
|
3742 |
<type by_reference="false">bool</type>
|
3743 |
</tag>
|
3744 |
</docblock>
|
3745 |
+
<argument line="1347">
|
3746 |
<name>$with_id</name>
|
3747 |
<default><![CDATA[true]]></default>
|
3748 |
<type/>
|
3749 |
</argument>
|
3750 |
</method>
|
3751 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1364" package="Media Library Assistant">
|
3752 |
<name>_get_view</name>
|
3753 |
<full_name>_get_view</full_name>
|
3754 |
+
<docblock line="1354">
|
3755 |
<description><![CDATA[Returns HTML markup for one view that can be used with this table]]></description>
|
3756 |
<long-description><![CDATA[]]></long-description>
|
3757 |
+
<tag line="1354" name="since" description="1.40"/>
|
3758 |
+
<tag line="1354" name="param" description="View slug, key to MLA_POST_MIME_TYPES array" type="string" variable="$view_slug">
|
3759 |
<type by_reference="false">string</type>
|
3760 |
</tag>
|
3761 |
+
<tag line="1354" name="param" description="Slug for current view" type="string" variable="$current_view">
|
3762 |
<type by_reference="false">string</type>
|
3763 |
</tag>
|
3764 |
+
<tag line="1354" name="return" description="| false HTML for link to display the view, false if count = zero" type="string">
|
3765 |
<type by_reference="false">string</type>
|
3766 |
</tag>
|
3767 |
</docblock>
|
3768 |
+
<argument line="1364">
|
3769 |
<name>$view_slug</name>
|
3770 |
<default><![CDATA[]]></default>
|
3771 |
<type/>
|
3772 |
</argument>
|
3773 |
+
<argument line="1364">
|
3774 |
<name>$current_view</name>
|
3775 |
<default><![CDATA[]]></default>
|
3776 |
<type/>
|
3777 |
</argument>
|
3778 |
</method>
|
3779 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1490" package="Media Library Assistant">
|
3780 |
<name>get_views</name>
|
3781 |
<full_name>get_views</full_name>
|
3782 |
+
<docblock line="1482">
|
3783 |
<description><![CDATA[Returns an associative array listing all the views that can be used with this table.]]></description>
|
3784 |
<long-description><![CDATA[<p>These are listed across the top of the page and managed by WordPress.</p>]]></long-description>
|
3785 |
+
<tag line="1482" name="since" description="0.1"/>
|
3786 |
+
<tag line="1482" name="return" description="View information,e.g., array ( id => link )" type="array">
|
3787 |
<type by_reference="false">array</type>
|
3788 |
</tag>
|
3789 |
</docblock>
|
3790 |
</method>
|
3791 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1546" package="Media Library Assistant">
|
3792 |
<name>get_bulk_actions</name>
|
3793 |
<full_name>get_bulk_actions</full_name>
|
3794 |
+
<docblock line="1538">
|
3795 |
<description><![CDATA[Get an associative array ( option_name => option_title ) with the list
|
3796 |
of bulk actions available on this table.]]></description>
|
3797 |
<long-description><![CDATA[]]></long-description>
|
3798 |
+
<tag line="1538" name="since" description="0.1"/>
|
3799 |
+
<tag line="1538" name="return" description="Contains all the bulk actions: 'slugs'=>'Visible Titles'" type="array">
|
3800 |
<type by_reference="false">array</type>
|
3801 |
</tag>
|
3802 |
</docblock>
|
3803 |
</method>
|
3804 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1576" package="Media Library Assistant">
|
3805 |
<name>extra_tablenav</name>
|
3806 |
<full_name>extra_tablenav</full_name>
|
3807 |
+
<docblock line="1565">
|
3808 |
<description><![CDATA[Extra controls to be displayed between bulk actions and pagination]]></description>
|
3809 |
<long-description><![CDATA[<p>Modeled after class-wp-posts-list-table.php in wp-admin/includes.</p>]]></long-description>
|
3810 |
+
<tag line="1565" name="since" description="0.1"/>
|
3811 |
+
<tag line="1565" name="param" description="'top' or 'bottom', i.e., above or below the table rows" type="string" variable="$which">
|
3812 |
<type by_reference="false">string</type>
|
3813 |
</tag>
|
3814 |
+
<tag line="1565" name="return" description="Contains all the bulk actions: 'slugs'=>'Visible Titles'" type="array">
|
3815 |
<type by_reference="false">array</type>
|
3816 |
</tag>
|
3817 |
</docblock>
|
3818 |
+
<argument line="1576">
|
3819 |
<name>$which</name>
|
3820 |
<default><![CDATA[]]></default>
|
3821 |
<type/>
|
3822 |
</argument>
|
3823 |
</method>
|
3824 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1612" package="Media Library Assistant">
|
3825 |
<name>prepare_items</name>
|
3826 |
<full_name>prepare_items</full_name>
|
3827 |
+
<docblock line="1600">
|
3828 |
<description><![CDATA[Prepares the list of items for displaying]]></description>
|
3829 |
<long-description><![CDATA[<p>This is where you prepare your data for display. This method will usually
|
3830 |
be used to query the database, sort and filter the data, and generally
|
3831 |
get it ready to be displayed. At a minimum, we should set $this->items and
|
3832 |
$this->set_pagination_args().</p>]]></long-description>
|
3833 |
+
<tag line="1600" name="since" description="0.1"/>
|
3834 |
+
<tag line="1600" name="return" description="" type="void">
|
3835 |
<type by_reference="false">void</type>
|
3836 |
</tag>
|
3837 |
</docblock>
|
3838 |
</method>
|
3839 |
+
<method final="false" abstract="false" static="false" visibility="public" namespace="global" line="1659" package="Media Library Assistant">
|
3840 |
<name>single_row</name>
|
3841 |
<full_name>single_row</full_name>
|
3842 |
+
<docblock line="1650">
|
3843 |
<description><![CDATA[Generates (echoes) content for a single row of the table]]></description>
|
3844 |
<long-description><![CDATA[]]></long-description>
|
3845 |
+
<tag line="1650" name="since" description=".20"/>
|
3846 |
+
<tag line="1650" name="param" description="the current item" type="object" variable="$item">
|
3847 |
<type by_reference="false">object</type>
|
3848 |
</tag>
|
3849 |
+
<tag line="1650" name="return" description="Echoes the row HTML" type="void">
|
3850 |
<type by_reference="false">void</type>
|
3851 |
</tag>
|
3852 |
</docblock>
|
3853 |
+
<argument line="1659">
|
3854 |
<name>$item</name>
|
3855 |
<default><![CDATA[]]></default>
|
3856 |
<type/>
|
3858 |
</method>
|
3859 |
</class>
|
3860 |
</file>
|
3861 |
+
<file path="includes\class-mla-main.php" hash="6b5f1878653930278e6bec19580c7e3a" package="Media Library Assistant">
|
3862 |
<docblock line="2">
|
3863 |
<description><![CDATA[Top-level functions for the Media Library Assistant]]></description>
|
3864 |
<long-description><![CDATA[]]></long-description>
|
3882 |
<constant namespace="global" line="32" package="Media Library Assistant">
|
3883 |
<name>CURRENT_MLA_VERSION</name>
|
3884 |
<full_name>CURRENT_MLA_VERSION</full_name>
|
3885 |
+
<value><![CDATA['1.83']]></value>
|
3886 |
<docblock line="25">
|
3887 |
<description><![CDATA[Current version number]]></description>
|
3888 |
<long-description><![CDATA[]]></long-description>
|
4159 |
<type/>
|
4160 |
</argument>
|
4161 |
</method>
|
4162 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="377" package="Media Library Assistant">
|
4163 |
<name>mla_admin_menu_action</name>
|
4164 |
<full_name>mla_admin_menu_action</full_name>
|
4165 |
+
<docblock line="362">
|
4166 |
<description><![CDATA[Add the submenu pages]]></description>
|
4167 |
<long-description><![CDATA[<p>Add a submenu page in the "Media" section,
|
4168 |
add settings page in the "Settings" section.
|
4171 |
<p>For WordPress versions before 3.5,
|
4172 |
add submenu page(s) for attachment taxonomies,
|
4173 |
add filter to clean up taxonomy submenu labels.</p>]]></long-description>
|
4174 |
+
<tag line="362" name="since" description="0.1"/>
|
4175 |
+
<tag line="362" name="return" description="" type="void">
|
4176 |
<type by_reference="false">void</type>
|
4177 |
</tag>
|
4178 |
</docblock>
|
4179 |
</method>
|
4180 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="455" package="Media Library Assistant">
|
4181 |
<name>mla_load_media_action</name>
|
4182 |
<full_name>mla_load_media_action</full_name>
|
4183 |
+
<docblock line="448">
|
4184 |
<description><![CDATA[Redirect to Media/Assistant if Media/Library is hidden]]></description>
|
4185 |
<long-description><![CDATA[]]></long-description>
|
4186 |
+
<tag line="448" name="since" description="1.60"/>
|
4187 |
+
<tag line="448" name="return" description="" type="void">
|
4188 |
<type by_reference="false">void</type>
|
4189 |
</tag>
|
4190 |
</docblock>
|
4191 |
</method>
|
4192 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="483" package="Media Library Assistant">
|
4193 |
<name>mla_add_menu_options</name>
|
4194 |
<full_name>mla_add_menu_options</full_name>
|
4195 |
+
<docblock line="476">
|
4196 |
<description><![CDATA[Add the "XX Entries per page" filter to the Screen Options tab]]></description>
|
4197 |
<long-description><![CDATA[]]></long-description>
|
4198 |
+
<tag line="476" name="since" description="0.1"/>
|
4199 |
+
<tag line="476" name="return" description="" type="void">
|
4200 |
<type by_reference="false">void</type>
|
4201 |
</tag>
|
4202 |
</docblock>
|
4203 |
</method>
|
4204 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="502" package="Media Library Assistant">
|
4205 |
<name>mla_add_help_tab</name>
|
4206 |
<full_name>mla_add_help_tab</full_name>
|
4207 |
+
<docblock line="495">
|
4208 |
<description><![CDATA[Add contextual help tabs to all the MLA pages]]></description>
|
4209 |
<long-description><![CDATA[]]></long-description>
|
4210 |
+
<tag line="495" name="since" description="0.1"/>
|
4211 |
+
<tag line="495" name="return" description="" type="void">
|
4212 |
<type by_reference="false">void</type>
|
4213 |
</tag>
|
4214 |
</docblock>
|
4215 |
</method>
|
4216 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="608" package="Media Library Assistant">
|
4217 |
<name>mla_screen_options_show_screen_filter</name>
|
4218 |
<full_name>mla_screen_options_show_screen_filter</full_name>
|
4219 |
+
<docblock line="598">
|
4220 |
<description><![CDATA[Only show screen options on the table-list screen]]></description>
|
4221 |
<long-description><![CDATA[]]></long-description>
|
4222 |
+
<tag line="598" name="since" description="0.1"/>
|
4223 |
+
<tag line="598" name="param" description="True to display "Screen Options", false to suppress them" type="boolean" variable="$show_screen">
|
4224 |
<type by_reference="false">boolean</type>
|
4225 |
</tag>
|
4226 |
+
<tag line="598" name="param" description="Name of the page being loaded" type="string" variable="$this_screen">
|
4227 |
<type by_reference="false">string</type>
|
4228 |
</tag>
|
4229 |
+
<tag line="598" name="return" description="True to display "Screen Options", false to suppress them" type="boolean">
|
4230 |
<type by_reference="false">boolean</type>
|
4231 |
</tag>
|
4232 |
</docblock>
|
4233 |
+
<argument line="608">
|
4234 |
<name>$show_screen</name>
|
4235 |
<default><![CDATA[]]></default>
|
4236 |
<type/>
|
4237 |
</argument>
|
4238 |
+
<argument line="608">
|
4239 |
<name>$this_screen</name>
|
4240 |
<default><![CDATA[]]></default>
|
4241 |
<type/>
|
4242 |
</argument>
|
4243 |
</method>
|
4244 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="627" package="Media Library Assistant">
|
4245 |
<name>mla_set_screen_option_filter</name>
|
4246 |
<full_name>mla_set_screen_option_filter</full_name>
|
4247 |
+
<docblock line="616">
|
4248 |
<description><![CDATA[Save the "Entries per page" option set by this user]]></description>
|
4249 |
<long-description><![CDATA[]]></long-description>
|
4250 |
+
<tag line="616" name="since" description="0.1"/>
|
4251 |
+
<tag line="616" name="param" description="false or value returned by previous filter" type="mixed" variable="$status">
|
4252 |
<type by_reference="false">mixed</type>
|
4253 |
</tag>
|
4254 |
+
<tag line="616" name="param" description="Name of the option being changed" type="string" variable="$option">
|
4255 |
<type by_reference="false">string</type>
|
4256 |
</tag>
|
4257 |
+
<tag line="616" name="param" description="New value of the option" type="string" variable="$value">
|
4258 |
<type by_reference="false">string</type>
|
4259 |
</tag>
|
4260 |
+
<tag line="616" name="return" description="New value if this is our option, otherwise nothing" type="string|void">
|
4261 |
<type by_reference="false">string</type>
|
4262 |
<type by_reference="false">void</type>
|
4263 |
</tag>
|
4264 |
</docblock>
|
4265 |
+
<argument line="627">
|
4266 |
<name>$status</name>
|
4267 |
<default><![CDATA[]]></default>
|
4268 |
<type/>
|
4269 |
</argument>
|
4270 |
+
<argument line="627">
|
4271 |
<name>$option</name>
|
4272 |
<default><![CDATA[]]></default>
|
4273 |
<type/>
|
4274 |
</argument>
|
4275 |
+
<argument line="627">
|
4276 |
<name>$value</name>
|
4277 |
<default><![CDATA[]]></default>
|
4278 |
<type/>
|
4279 |
</argument>
|
4280 |
</method>
|
4281 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="646" package="Media Library Assistant">
|
4282 |
<name>mla_edit_tax_redirect</name>
|
4283 |
<full_name>mla_edit_tax_redirect</full_name>
|
4284 |
+
<docblock line="635">
|
4285 |
<description><![CDATA[Redirect to the Edit Tags/Categories page]]></description>
|
4286 |
<long-description><![CDATA[<p>The custom taxonomy add/edit submenu entries go to "upload.php" by default.
|
4287 |
This filter is the only way to redirect them to the correct WordPress page.
|
4288 |
The filter is not required for WordPress 3.5 and later.</p>]]></long-description>
|
4289 |
+
<tag line="635" name="since" description="0.1"/>
|
4290 |
+
<tag line="635" name="return" description="" type="void">
|
4291 |
<type by_reference="false">void</type>
|
4292 |
</tag>
|
4293 |
</docblock>
|
4294 |
</method>
|
4295 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="679" package="Media Library Assistant">
|
4296 |
<name>mla_parent_file_filter</name>
|
4297 |
<full_name>mla_parent_file_filter</full_name>
|
4298 |
+
<docblock line="663">
|
4299 |
<description><![CDATA[Cleanup menus for Edit Tags/Categories page]]></description>
|
4300 |
<long-description><![CDATA[<p>For WordPress before 3.5, the submenu entries for custom taxonomies
|
4301 |
under the "Media" menu are not set up correctly by WordPress, so this
|
4303 |
page for editing/adding taxonomy terms.
|
4304 |
For WordPress 3.5 and later, the function fixes the submenu bolding when
|
4305 |
going to the Edit Media screen.</p>]]></long-description>
|
4306 |
+
<tag line="663" name="since" description="0.1"/>
|
4307 |
+
<tag line="663" name="param" description="The top-level menu page" type="array" variable="$parent_file">
|
4308 |
<type by_reference="false">array</type>
|
4309 |
</tag>
|
4310 |
+
<tag line="663" name="return" description="The updated top-level menu page" type="string">
|
4311 |
<type by_reference="false">string</type>
|
4312 |
</tag>
|
4313 |
</docblock>
|
4314 |
+
<argument line="679">
|
4315 |
<name>$parent_file</name>
|
4316 |
<default><![CDATA[]]></default>
|
4317 |
<type/>
|
4318 |
</argument>
|
4319 |
</method>
|
4320 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="742" package="Media Library Assistant">
|
4321 |
<name>_process_bulk_value</name>
|
4322 |
<full_name>_process_bulk_value</full_name>
|
4323 |
+
<docblock line="732">
|
4324 |
<description><![CDATA[Process bulk edit area fields, which may contain a Content Template]]></description>
|
4325 |
<long-description><![CDATA[]]></long-description>
|
4326 |
+
<tag line="732" name="since" description="1.80"/>
|
4327 |
+
<tag line="732" name="param" description="Current post ID" type="integer" variable="$post_id">
|
4328 |
<type by_reference="false">integer</type>
|
4329 |
</tag>
|
4330 |
+
<tag line="732" name="param" description="Field value as entered" type="string" variable="$bulk_value">
|
4331 |
<type by_reference="false">string</type>
|
4332 |
</tag>
|
4333 |
+
<tag line="732" name="return" description="Empty, or new value for the field" type="string">
|
4334 |
<type by_reference="false">string</type>
|
4335 |
</tag>
|
4336 |
</docblock>
|
4337 |
+
<argument line="742">
|
4338 |
<name>$post_id</name>
|
4339 |
<default><![CDATA[]]></default>
|
4340 |
<type/>
|
4341 |
</argument>
|
4342 |
+
<argument line="742">
|
4343 |
<name>$bulk_value</name>
|
4344 |
<default><![CDATA[]]></default>
|
4345 |
<type/>
|
4346 |
</argument>
|
4347 |
</method>
|
4348 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="773" package="Media Library Assistant">
|
4349 |
<name>mla_render_admin_page</name>
|
4350 |
<full_name>mla_render_admin_page</full_name>
|
4351 |
+
<docblock line="766">
|
4352 |
<description><![CDATA[Render the "Assistant" subpage in the Media section, using the list_table package]]></description>
|
4353 |
<long-description><![CDATA[]]></long-description>
|
4354 |
+
<tag line="766" name="since" description="0.1"/>
|
4355 |
+
<tag line="766" name="return" description="" type="void">
|
4356 |
<type by_reference="false">void</type>
|
4357 |
</tag>
|
4358 |
</docblock>
|
4359 |
</method>
|
4360 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1273" package="Media Library Assistant">
|
4361 |
<name>mla_set_parent_ajax_action</name>
|
4362 |
<full_name>mla_set_parent_ajax_action</full_name>
|
4363 |
+
<docblock line="1264">
|
4364 |
<description><![CDATA[Ajax handler to set post_parent for a single attachment]]></description>
|
4365 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4366 |
+
<tag line="1264" name="since" description="0.20"/>
|
4367 |
+
<tag line="1264" name="return" description="echo HTML <td> innerHTML for updated call or error message, then die()" type="void">
|
4368 |
<type by_reference="false">void</type>
|
4369 |
</tag>
|
4370 |
</docblock>
|
4371 |
</method>
|
4372 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1309" package="Media Library Assistant">
|
4373 |
<name>mla_inline_edit_ajax_action</name>
|
4374 |
<full_name>mla_inline_edit_ajax_action</full_name>
|
4375 |
+
<docblock line="1300">
|
4376 |
<description><![CDATA[Ajax handler for inline editing (quick and bulk edit)]]></description>
|
4377 |
<long-description><![CDATA[<p>Adapted from wp_ajax_inline_save in /wp-admin/includes/ajax-actions.php</p>]]></long-description>
|
4378 |
+
<tag line="1300" name="since" description="0.20"/>
|
4379 |
+
<tag line="1300" name="return" description="echo HTML <tr> markup for updated row or error message, then die()" type="void">
|
4380 |
<type by_reference="false">void</type>
|
4381 |
</tag>
|
4382 |
</docblock>
|
4383 |
</method>
|
4384 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1408" package="Media Library Assistant">
|
4385 |
<name>_build_inline_edit_form</name>
|
4386 |
<full_name>_build_inline_edit_form</full_name>
|
4387 |
+
<docblock line="1397">
|
4388 |
<description><![CDATA[Build the hidden row templates for inline editing (quick and bulk edit)]]></description>
|
4389 |
<long-description><![CDATA[<p>inspired by inline_edit() in wp-admin\includes\class-wp-posts-list-table.php.</p>]]></long-description>
|
4390 |
+
<tag line="1397" name="since" description="0.20"/>
|
4391 |
+
<tag line="1397" name="param" description="MLA List Table object" type="object" variable="$MLAListTable">
|
4392 |
<type by_reference="false">object</type>
|
4393 |
</tag>
|
4394 |
+
<tag line="1397" name="return" description="HTML <form> markup for hidden rows" type="string">
|
4395 |
<type by_reference="false">string</type>
|
4396 |
</tag>
|
4397 |
</docblock>
|
4398 |
+
<argument line="1408">
|
4399 |
<name>$MLAListTable</name>
|
4400 |
<default><![CDATA[]]></default>
|
4401 |
<type/>
|
4402 |
</argument>
|
4403 |
</method>
|
4404 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1629" package="Media Library Assistant">
|
4405 |
<name>_authors_dropdown</name>
|
4406 |
<full_name>_authors_dropdown</full_name>
|
4407 |
+
<docblock line="1618">
|
4408 |
<description><![CDATA[Get the edit Authors dropdown box, if user has suitable permissions]]></description>
|
4409 |
<long-description><![CDATA[]]></long-description>
|
4410 |
+
<tag line="1618" name="since" description="0.20"/>
|
4411 |
+
<tag line="1618" name="param" description="Optional User ID of the current author, default 0" type="integer" variable="$author">
|
4412 |
<type by_reference="false">integer</type>
|
4413 |
</tag>
|
4414 |
+
<tag line="1618" name="param" description="Optional HTML name attribute, default 'post_author'" type="string" variable="$name">
|
4415 |
<type by_reference="false">string</type>
|
4416 |
</tag>
|
4417 |
+
<tag line="1618" name="param" description="Optional HTML class attribute, default 'authors'" type="string" variable="$class">
|
4418 |
<type by_reference="false">string</type>
|
4419 |
</tag>
|
4420 |
+
<tag line="1618" name="return" description="HTML markup for the dropdown field or False" type="string|false">
|
4421 |
<type by_reference="false">string</type>
|
4422 |
<type by_reference="false">false</type>
|
4423 |
</tag>
|
4424 |
</docblock>
|
4425 |
+
<argument line="1629">
|
4426 |
<name>$author</name>
|
4427 |
<default><![CDATA[0]]></default>
|
4428 |
<type/>
|
4429 |
</argument>
|
4430 |
+
<argument line="1629">
|
4431 |
<name>$name</name>
|
4432 |
<default><![CDATA['post_author']]></default>
|
4433 |
<type/>
|
4434 |
</argument>
|
4435 |
+
<argument line="1629">
|
4436 |
<name>$class</name>
|
4437 |
<default><![CDATA['authors']]></default>
|
4438 |
<type/>
|
4439 |
</argument>
|
4440 |
</method>
|
4441 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1663" package="Media Library Assistant">
|
4442 |
<name>_current_bulk_action</name>
|
4443 |
<full_name>_current_bulk_action</full_name>
|
4444 |
+
<docblock line="1656">
|
4445 |
<description><![CDATA[Get the current action selected from the bulk actions dropdown]]></description>
|
4446 |
<long-description><![CDATA[]]></long-description>
|
4447 |
+
<tag line="1656" name="since" description="0.1"/>
|
4448 |
+
<tag line="1656" name="return" description="The action name or False if no action was selected" type="string|false">
|
4449 |
<type by_reference="false">string</type>
|
4450 |
<type by_reference="false">false</type>
|
4451 |
</tag>
|
4452 |
</docblock>
|
4453 |
</method>
|
4454 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1694" package="Media Library Assistant">
|
4455 |
<name>_delete_single_item</name>
|
4456 |
<full_name>_delete_single_item</full_name>
|
4457 |
+
<docblock line="1685">
|
4458 |
<description><![CDATA[Delete a single item permanently]]></description>
|
4459 |
<long-description><![CDATA[]]></long-description>
|
4460 |
+
<tag line="1685" name="since" description="0.1"/>
|
4461 |
+
<tag line="1685" name="param" description="The form POST data" type="array" variable="$post_id">
|
4462 |
<type by_reference="false">array</type>
|
4463 |
</tag>
|
4464 |
+
<tag line="1685" name="return" description="success/failure message and NULL content" type="array">
|
4465 |
<type by_reference="false">array</type>
|
4466 |
</tag>
|
4467 |
</docblock>
|
4468 |
+
<argument line="1694">
|
4469 |
<name>$post_id</name>
|
4470 |
<default><![CDATA[]]></default>
|
4471 |
<type/>
|
4472 |
</argument>
|
4473 |
</method>
|
4474 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1729" package="Media Library Assistant">
|
4475 |
<name>_display_single_item</name>
|
4476 |
<full_name>_display_single_item</full_name>
|
4477 |
+
<docblock line="1717">
|
4478 |
<description><![CDATA[Display a single item sub page; prepare the form to
|
4479 |
change the meta data for a single attachment.]]></description>
|
4480 |
<long-description><![CDATA[<p>This function is not used in WordPress 3.5 and later.</p>]]></long-description>
|
4481 |
+
<tag line="1717" name="since" description="0.1"/>
|
4482 |
+
<tag line="1717" name="param" description="The WordPress Post ID of the attachment item" type="int" variable="$post_id">
|
4483 |
<type by_reference="false">int</type>
|
4484 |
</tag>
|
4485 |
+
<tag line="1717" name="return" description="message and/or HTML content" type="array">
|
4486 |
<type by_reference="false">array</type>
|
4487 |
</tag>
|
4488 |
</docblock>
|
4489 |
+
<argument line="1729">
|
4490 |
<name>$post_id</name>
|
4491 |
<default><![CDATA[]]></default>
|
4492 |
<type/>
|
4493 |
</argument>
|
4494 |
</method>
|
4495 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2010" package="Media Library Assistant">
|
4496 |
<name>_restore_single_item</name>
|
4497 |
<full_name>_restore_single_item</full_name>
|
4498 |
+
<docblock line="2001">
|
4499 |
<description><![CDATA[Restore a single item from the Trash]]></description>
|
4500 |
<long-description><![CDATA[]]></long-description>
|
4501 |
+
<tag line="2001" name="since" description="0.1"/>
|
4502 |
+
<tag line="2001" name="param" description="The form POST data" type="array" variable="$post_id">
|
4503 |
<type by_reference="false">array</type>
|
4504 |
</tag>
|
4505 |
+
<tag line="2001" name="return" description="success/failure message and NULL content" type="array">
|
4506 |
<type by_reference="false">array</type>
|
4507 |
</tag>
|
4508 |
</docblock>
|
4509 |
+
<argument line="2010">
|
4510 |
<name>$post_id</name>
|
4511 |
<default><![CDATA[]]></default>
|
4512 |
<type/>
|
4513 |
</argument>
|
4514 |
</method>
|
4515 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2050" package="Media Library Assistant">
|
4516 |
<name>_trash_single_item</name>
|
4517 |
<full_name>_trash_single_item</full_name>
|
4518 |
+
<docblock line="2041">
|
4519 |
<description><![CDATA[Move a single item to Trash]]></description>
|
4520 |
<long-description><![CDATA[]]></long-description>
|
4521 |
+
<tag line="2041" name="since" description="0.1"/>
|
4522 |
+
<tag line="2041" name="param" description="The form POST data" type="array" variable="$post_id">
|
4523 |
<type by_reference="false">array</type>
|
4524 |
</tag>
|
4525 |
+
<tag line="2041" name="return" description="success/failure message and NULL content" type="array">
|
4526 |
<type by_reference="false">array</type>
|
4527 |
</tag>
|
4528 |
</docblock>
|
4529 |
+
<argument line="2050">
|
4530 |
<name>$post_id</name>
|
4531 |
<default><![CDATA[]]></default>
|
4532 |
<type/>
|
8918 |
</method>
|
8919 |
</class>
|
8920 |
</file>
|
8921 |
+
<file path="includes\class-mla-shortcodes.php" hash="42f506cd84940f7039527eafb81c580f" package="Media Library Assistant">
|
8922 |
<docblock line="2">
|
8923 |
<description><![CDATA[Media Library Assistant Shortcode handler(s)]]></description>
|
8924 |
<long-description><![CDATA[]]></long-description>
|
8935 |
<tag line="9" name="package" description="Media Library Assistant"/>
|
8936 |
<tag line="9" name="since" description="0.20"/>
|
8937 |
</docblock>
|
8938 |
+
<property final="false" static="true" visibility="public" line="53" namespace="global" package="Media Library Assistant">
|
8939 |
<name>$mla_debug_messages</name>
|
8940 |
<default><![CDATA['']]></default>
|
8941 |
+
<docblock line="46">
|
8942 |
<description><![CDATA[Accumulates debug messages]]></description>
|
8943 |
<long-description><![CDATA[]]></long-description>
|
8944 |
+
<tag line="46" name="since" description="0.60"/>
|
8945 |
+
<tag line="46" name="var" description="" type="string">
|
8946 |
<type by_reference="false">string</type>
|
8947 |
</tag>
|
8948 |
</docblock>
|
8949 |
</property>
|
8950 |
+
<property final="false" static="true" visibility="private" line="62" namespace="global" package="Media Library Assistant">
|
8951 |
<name>$mla_debug</name>
|
8952 |
<default><![CDATA[false]]></default>
|
8953 |
+
<docblock line="55">
|
8954 |
<description><![CDATA[Turn debug collection and display on or off]]></description>
|
8955 |
<long-description><![CDATA[]]></long-description>
|
8956 |
+
<tag line="55" name="since" description="0.70"/>
|
8957 |
+
<tag line="55" name="var" description="" type="boolean">
|
8958 |
<type by_reference="false">boolean</type>
|
8959 |
</tag>
|
8960 |
</docblock>
|
8961 |
</property>
|
8962 |
+
<property final="false" static="true" visibility="private" line="2229" namespace="global" package="Media Library Assistant">
|
8963 |
<name>$query_parameters</name>
|
8964 |
<default><![CDATA[array()]]></default>
|
8965 |
+
<docblock line="2216">
|
8966 |
<description><![CDATA[WP_Query filter "parameters"]]></description>
|
8967 |
+
<long-description><![CDATA[<p>This array defines parameters for the query's join, where and orderby filters.
|
|
|
8968 |
The parameters are set up in the mla_get_shortcode_attachments function, and
|
8969 |
any further logic required to translate those values is contained in the filter.</p>
|
8970 |
|
8971 |
<p>Array index values are: orderby, post_parent</p>]]></long-description>
|
8972 |
+
<tag line="2216" name="since" description="1.13"/>
|
8973 |
+
<tag line="2216" name="var" description="" type="array">
|
8974 |
<type by_reference="false">array</type>
|
8975 |
</tag>
|
8976 |
</docblock>
|
8977 |
</property>
|
8978 |
+
<property final="false" static="true" visibility="private" line="2339" namespace="global" package="Media Library Assistant">
|
8979 |
<name>$mla_get_shortcode_attachments_parameters</name>
|
8980 |
<default><![CDATA[array('order' => 'ASC', 'orderby' => 'menu_order,ID', 'id' => NULL, 'ids' => array(), 'include' => array(), 'exclude' => array(), 'post_parent' => NULL, 'author' => NULL, 'author_name' => '', 'cat' => 0, 'category_name' => '', 'category__and' => array(), 'category__in' => array(), 'category__not_in' => array(), 'tag' => '', 'tag_id' => 0, 'tag__and' => array(), 'tag__in' => array(), 'tag__not_in' => array(), 'tag_slug__and' => array(), 'tag_slug__in' => array(), 'tax_operator' => '', 'tax_include_children' => true, 'post_type' => 'attachment', 'post_status' => 'inherit', 'post_mime_type' => 'image', 'nopaging' => true, 'numberposts' => 0, 'posts_per_page' => 0, 'posts_per_archive_page' => 0, 'paged' => NULL, 'offset' => NULL, 'mla_page_parameter' => 'mla_paginate_current', 'mla_paginate_current' => NULL, 'mla_paginate_total' => NULL, 'meta_key' => '', 'meta_value' => '', 'meta_value_num' => NULL, 'meta_compare' => '', 'meta_query' => '', 's' => '', 'fields' => '', 'cache_results' => NULL, 'update_post_meta_cache' => NULL, 'update_post_term_cache' => NULL)]]></default>
|
8981 |
+
<docblock line="2332">
|
8982 |
<description><![CDATA[Data selection parameters for the WP_Query in [mla_gallery]]]></description>
|
8983 |
<long-description><![CDATA[]]></long-description>
|
8984 |
+
<tag line="2332" name="since" description="1.30"/>
|
8985 |
+
<tag line="2332" name="var" description="" type="array">
|
8986 |
<type by_reference="false">array</type>
|
8987 |
</tag>
|
8988 |
</docblock>
|
8989 |
</property>
|
8990 |
+
<property final="false" static="true" visibility="public" line="2412" namespace="global" package="Media Library Assistant">
|
8991 |
<name>$mla_gallery_wp_query_object</name>
|
8992 |
<default><![CDATA[NULL]]></default>
|
8993 |
+
<docblock line="2402">
|
8994 |
<description><![CDATA[The WP_Query object used to select items for the gallery.]]></description>
|
8995 |
<long-description><![CDATA[<p>Defined as a public, static variable so it can be inspected from the
|
8996 |
"mla_gallery_wp_query_object" action. Set to NULL at all other times.</p>]]></long-description>
|
8997 |
+
<tag line="2402" name="since" description="1.51"/>
|
8998 |
+
<tag line="2402" name="var" description="" type="object">
|
8999 |
<type by_reference="false">object</type>
|
9000 |
</tag>
|
9001 |
</docblock>
|
9002 |
</property>
|
9003 |
+
<property final="false" static="true" visibility="private" line="3088" namespace="global" package="Media Library Assistant">
|
9004 |
<name>$mla_get_terms_parameters</name>
|
9005 |
<default><![CDATA[array('taxonomy' => 'post_tag', 'post_mime_type' => 'all', 'ids' => array(), 'fields' => 't.term_id, t.name, t.slug, t.term_group, tt.term_taxonomy_id, tt.taxonomy, tt.description, tt.parent, COUNT(p.ID) AS `count`', 'include' => '', 'exclude' => '', 'parent' => '', 'minimum' => 0, 'no_count' => false, 'number' => 45, 'orderby' => 'name', 'order' => 'ASC', 'no_orderby' => false, 'preserve_case' => false, 'limit' => 0, 'offset' => 0)]]></default>
|
9006 |
+
<docblock line="3081">
|
9007 |
<description><![CDATA[Data selection parameters for [mla_tag_cloud]]]></description>
|
9008 |
<long-description><![CDATA[]]></long-description>
|
9009 |
+
<tag line="3081" name="since" description="1.60"/>
|
9010 |
+
<tag line="3081" name="var" description="" type="array">
|
9011 |
<type by_reference="false">array</type>
|
9012 |
</tag>
|
9013 |
</docblock>
|
9028 |
<name>mla_attachment_list_shortcode</name>
|
9029 |
<full_name>mla_attachment_list_shortcode</full_name>
|
9030 |
<docblock line="29">
|
9031 |
+
<description><![CDATA[Obsolete; no longer supported]]></description>
|
9032 |
<long-description><![CDATA[]]></long-description>
|
9033 |
<tag line="29" name="since" description="0.1"/>
|
9034 |
<tag line="29" name="return" description="echoes HTML markup for the attachment list" type="void">
|
9036 |
</tag>
|
9037 |
</docblock>
|
9038 |
</method>
|
9039 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="78" package="Media Library Assistant">
|
9040 |
<name>mla_gallery_shortcode</name>
|
9041 |
<full_name>mla_gallery_shortcode</full_name>
|
9042 |
+
<docblock line="64">
|
9043 |
<description><![CDATA[The MLA Gallery shortcode.]]></description>
|
9044 |
<long-description><![CDATA[<p>This is a superset of the WordPress Gallery shortcode for displaying images on a post,
|
9045 |
page or custom post type. It is adapted from /wp-includes/media.php gallery_shortcode.
|
9046 |
Enhancements include many additional selection parameters and full taxonomy support.</p>]]></long-description>
|
9047 |
+
<tag line="64" name="since" description=".50"/>
|
9048 |
+
<tag line="64" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
|
9049 |
<type by_reference="false">array</type>
|
9050 |
</tag>
|
9051 |
+
<tag line="64" name="param" description="Optional content for enclosing shortcodes; used with mla_alt_shortcode" type="string" variable="$content">
|
9052 |
<type by_reference="false">string</type>
|
9053 |
</tag>
|
9054 |
+
<tag line="64" name="return" description="HTML content to display gallery." type="string">
|
9055 |
<type by_reference="false">string</type>
|
9056 |
</tag>
|
9057 |
</docblock>
|
9058 |
+
<argument line="78">
|
9059 |
<name>$attr</name>
|
9060 |
<default><![CDATA[]]></default>
|
9061 |
<type/>
|
9062 |
</argument>
|
9063 |
+
<argument line="78">
|
9064 |
<name>$content</name>
|
9065 |
<default><![CDATA[NULL]]></default>
|
9066 |
<type/>
|
9067 |
</argument>
|
9068 |
</method>
|
9069 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1045" package="Media Library Assistant">
|
9070 |
<name>mla_tag_cloud</name>
|
9071 |
<full_name>mla_tag_cloud</full_name>
|
9072 |
+
<docblock line="1033">
|
9073 |
<description><![CDATA[The MLA Tag Cloud support function.]]></description>
|
9074 |
<long-description><![CDATA[<p>This is an alternative to the WordPress wp_tag_cloud function, with additional
|
9075 |
options to customize the hyperlink behind each term.</p>]]></long-description>
|
9076 |
+
<tag line="1033" name="since" description="1.60"/>
|
9077 |
+
<tag line="1033" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
|
9078 |
<type by_reference="false">array</type>
|
9079 |
</tag>
|
9080 |
+
<tag line="1033" name="return" description="HTML content to display the tag cloud." type="string">
|
9081 |
<type by_reference="false">string</type>
|
9082 |
</tag>
|
9083 |
</docblock>
|
9084 |
+
<argument line="1045">
|
9085 |
<name>$attr</name>
|
9086 |
<default><![CDATA[]]></default>
|
9087 |
<type/>
|
9088 |
</argument>
|
9089 |
</method>
|
9090 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="1804" package="Media Library Assistant">
|
9091 |
<name>mla_tag_cloud_shortcode</name>
|
9092 |
<full_name>mla_tag_cloud_shortcode</full_name>
|
9093 |
+
<docblock line="1793">
|
9094 |
<description><![CDATA[The MLA Tag Cloud shortcode.]]></description>
|
9095 |
<long-description><![CDATA[<p>This is an interface to the mla_tag_cloud function.</p>]]></long-description>
|
9096 |
+
<tag line="1793" name="since" description="1.60"/>
|
9097 |
+
<tag line="1793" name="param" description="Attributes of the shortcode." type="array" variable="$attr">
|
9098 |
<type by_reference="false">array</type>
|
9099 |
</tag>
|
9100 |
+
<tag line="1793" name="return" description="HTML content to display the tag cloud." type="string">
|
9101 |
<type by_reference="false">string</type>
|
9102 |
</tag>
|
9103 |
</docblock>
|
9104 |
+
<argument line="1804">
|
9105 |
<name>$attr</name>
|
9106 |
<default><![CDATA[]]></default>
|
9107 |
<type/>
|
9108 |
</argument>
|
9109 |
</method>
|
9110 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1836" package="Media Library Assistant">
|
9111 |
<name>_registered_dimensions</name>
|
9112 |
<full_name>_registered_dimensions</full_name>
|
9113 |
+
<docblock line="1829">
|
9114 |
<description><![CDATA[Computes image dimensions for scalable graphics, e.g., SVG]]></description>
|
9115 |
<long-description><![CDATA[]]></long-description>
|
9116 |
+
<tag line="1829" name="since" description="1.82"/>
|
9117 |
+
<tag line="1829" name="return" description="" type="array">
|
9118 |
<type by_reference="false">array</type>
|
9119 |
</tag>
|
9120 |
</docblock>
|
9121 |
</method>
|
9122 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1871" package="Media Library Assistant">
|
9123 |
<name>_process_shortcode_parameter</name>
|
9124 |
<full_name>_process_shortcode_parameter</full_name>
|
9125 |
+
<docblock line="1861">
|
9126 |
<description><![CDATA[Handles brace/bracket escaping and parses template for a shortcode parameter]]></description>
|
9127 |
<long-description><![CDATA[]]></long-description>
|
9128 |
+
<tag line="1861" name="since" description="1.14"/>
|
9129 |
+
<tag line="1861" name="param" description="raw shortcode parameter, e.g., "text {+field+} {brackets} \\{braces\\}"" type="string" variable="$text">
|
9130 |
<type by_reference="false">string</type>
|
9131 |
</tag>
|
9132 |
+
<tag line="1861" name="param" description="template substitution values, e.g., ('instance' => '1', ... )" type="string" variable="$markup_values">
|
9133 |
<type by_reference="false">string</type>
|
9134 |
</tag>
|
9135 |
+
<tag line="1861" name="return" description="parameter with brackets, braces, substitution parameters and templates processed" type="string">
|
9136 |
<type by_reference="false">string</type>
|
9137 |
</tag>
|
9138 |
</docblock>
|
9139 |
+
<argument line="1871">
|
9140 |
<name>$text</name>
|
9141 |
<default><![CDATA[]]></default>
|
9142 |
<type/>
|
9143 |
</argument>
|
9144 |
+
<argument line="1871">
|
9145 |
<name>$markup_values</name>
|
9146 |
<default><![CDATA[]]></default>
|
9147 |
<type/>
|
9148 |
</argument>
|
9149 |
</method>
|
9150 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="1890" package="Media Library Assistant">
|
9151 |
<name>_paginate_links</name>
|
9152 |
<full_name>_paginate_links</full_name>
|
9153 |
+
<docblock line="1877">
|
9154 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9155 |
<long-description><![CDATA[]]></long-description>
|
9156 |
+
<tag line="1877" name="since" description="1.42"/>
|
9157 |
+
<tag line="1877" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
|
9158 |
<type by_reference="false">array</type>
|
9159 |
</tag>
|
9160 |
+
<tag line="1877" name="param" description="template substitution values, e.g., ('instance' => '1', ... )" type="string" variable="$markup_values">
|
9161 |
<type by_reference="false">string</type>
|
9162 |
</tag>
|
9163 |
+
<tag line="1877" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
|
9164 |
<type by_reference="false">string</type>
|
9165 |
</tag>
|
9166 |
+
<tag line="1877" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
|
9167 |
<type by_reference="false">integer</type>
|
9168 |
</tag>
|
9169 |
+
<tag line="1877" name="param" description="output text so far, may include debug values" type="string" variable="$output">
|
9170 |
<type by_reference="false">string</type>
|
9171 |
</tag>
|
9172 |
+
<tag line="1877" name="return" description="false or string with HTML for pagination output types" type="mixed">
|
9173 |
<type by_reference="false">mixed</type>
|
9174 |
</tag>
|
9175 |
</docblock>
|
9176 |
+
<argument line="1890">
|
9177 |
<name>$output_parameters</name>
|
9178 |
<default><![CDATA[]]></default>
|
9179 |
<type/>
|
9180 |
</argument>
|
9181 |
+
<argument line="1890">
|
9182 |
<name>$markup_values</name>
|
9183 |
<default><![CDATA[]]></default>
|
9184 |
<type/>
|
9185 |
</argument>
|
9186 |
+
<argument line="1890">
|
9187 |
<name>$arguments</name>
|
9188 |
<default><![CDATA[]]></default>
|
9189 |
<type/>
|
9190 |
</argument>
|
9191 |
+
<argument line="1890">
|
9192 |
<name>$found_rows</name>
|
9193 |
<default><![CDATA[]]></default>
|
9194 |
<type/>
|
9195 |
</argument>
|
9196 |
+
<argument line="1890">
|
9197 |
<name>$output</name>
|
9198 |
<default><![CDATA['']]></default>
|
9199 |
<type/>
|
9200 |
</argument>
|
9201 |
</method>
|
9202 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2020" package="Media Library Assistant">
|
9203 |
<name>_process_pagination_output_types</name>
|
9204 |
<full_name>_process_pagination_output_types</full_name>
|
9205 |
+
<docblock line="2006">
|
9206 |
<description><![CDATA[Handles pagnation output types 'previous_page', 'next_page', and 'paginate_links']]></description>
|
9207 |
<long-description><![CDATA[]]></long-description>
|
9208 |
+
<tag line="2006" name="since" description="1.42"/>
|
9209 |
+
<tag line="2006" name="param" description="value(s) for mla_output_type parameter" type="array" variable="$output_parameters">
|
9210 |
<type by_reference="false">array</type>
|
9211 |
</tag>
|
9212 |
+
<tag line="2006" name="param" description="template substitution values, e.g., ('instance' => '1', ... )" type="string" variable="$markup_values">
|
9213 |
<type by_reference="false">string</type>
|
9214 |
</tag>
|
9215 |
+
<tag line="2006" name="param" description="merged default and passed shortcode parameter values" type="string" variable="$arguments">
|
9216 |
<type by_reference="false">string</type>
|
9217 |
</tag>
|
9218 |
+
<tag line="2006" name="param" description="raw passed shortcode parameter values" type="string" variable="$attr">
|
9219 |
<type by_reference="false">string</type>
|
9220 |
</tag>
|
9221 |
+
<tag line="2006" name="param" description="number of attachments in the gallery, without pagination" type="integer" variable="$found_rows">
|
9222 |
<type by_reference="false">integer</type>
|
9223 |
</tag>
|
9224 |
+
<tag line="2006" name="param" description="output text so far, may include debug values" type="string" variable="$output">
|
9225 |
<type by_reference="false">string</type>
|
9226 |
</tag>
|
9227 |
+
<tag line="2006" name="return" description="false or string with HTML for pagination output types" type="mixed">
|
9228 |
<type by_reference="false">mixed</type>
|
9229 |
</tag>
|
9230 |
</docblock>
|
9231 |
+
<argument line="2020">
|
9232 |
<name>$output_parameters</name>
|
9233 |
<default><![CDATA[]]></default>
|
9234 |
<type/>
|
9235 |
</argument>
|
9236 |
+
<argument line="2020">
|
9237 |
<name>$markup_values</name>
|
9238 |
<default><![CDATA[]]></default>
|
9239 |
<type/>
|
9240 |
</argument>
|
9241 |
+
<argument line="2020">
|
9242 |
<name>$arguments</name>
|
9243 |
<default><![CDATA[]]></default>
|
9244 |
<type/>
|
9245 |
</argument>
|
9246 |
+
<argument line="2020">
|
9247 |
<name>$attr</name>
|
9248 |
<default><![CDATA[]]></default>
|
9249 |
<type/>
|
9250 |
</argument>
|
9251 |
+
<argument line="2020">
|
9252 |
<name>$found_rows</name>
|
9253 |
<default><![CDATA[]]></default>
|
9254 |
<type/>
|
9255 |
</argument>
|
9256 |
+
<argument line="2020">
|
9257 |
<name>$output</name>
|
9258 |
<default><![CDATA['']]></default>
|
9259 |
<type/>
|
9260 |
</argument>
|
9261 |
</method>
|
9262 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2240" package="Media Library Assistant">
|
9263 |
<name>_sanitize_query_specification</name>
|
9264 |
<full_name>_sanitize_query_specification</full_name>
|
9265 |
+
<docblock line="2231">
|
9266 |
<description><![CDATA[Cleans up damage caused by the Visual Editor to the tax_query and meta_query specifications]]></description>
|
9267 |
<long-description><![CDATA[]]></long-description>
|
9268 |
+
<tag line="2231" name="since" description="1.14"/>
|
9269 |
+
<tag line="2231" name="param" description="query specification; PHP nested arrays" type="string" variable="$specification">
|
9270 |
<type by_reference="false">string</type>
|
9271 |
</tag>
|
9272 |
+
<tag line="2231" name="return" description="query specification with HTML escape sequences and line breaks removed" type="string">
|
9273 |
<type by_reference="false">string</type>
|
9274 |
</tag>
|
9275 |
</docblock>
|
9276 |
+
<argument line="2240">
|
9277 |
<name>$specification</name>
|
9278 |
<default><![CDATA[]]></default>
|
9279 |
<type/>
|
9280 |
</argument>
|
9281 |
</method>
|
9282 |
+
<method final="false" abstract="false" static="true" visibility="private" namespace="global" line="2257" package="Media Library Assistant">
|
9283 |
<name>_validate_sql_orderby</name>
|
9284 |
<full_name>_validate_sql_orderby</full_name>
|
9285 |
+
<docblock line="2246">
|
9286 |
<description><![CDATA[Translates query parameters to a valid SQL order by clause.]]></description>
|
9287 |
<long-description><![CDATA[<p>Accepts one or more valid columns, with or without ASC/DESC.
|
9288 |
Enhanced version of /wp-includes/formatting.php function sanitize_sql_orderby().</p>]]></long-description>
|
9289 |
+
<tag line="2246" name="since" description="1.20"/>
|
9290 |
+
<tag line="2246" name="param" description="Validated query parameters" type="array" variable="$query_parameters">
|
9291 |
<type by_reference="false">array</type>
|
9292 |
</tag>
|
9293 |
+
<tag line="2246" name="return" description="Returns the orderby clause if present, false otherwise." type="string|bool">
|
9294 |
<type by_reference="false">string</type>
|
9295 |
<type by_reference="false">bool</type>
|
9296 |
</tag>
|
9297 |
</docblock>
|
9298 |
+
<argument line="2257">
|
9299 |
<name>$query_parameters</name>
|
9300 |
<default><![CDATA[]]></default>
|
9301 |
<type/>
|
9302 |
</argument>
|
9303 |
</method>
|
9304 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2425" package="Media Library Assistant">
|
9305 |
<name>mla_get_shortcode_attachments</name>
|
9306 |
<full_name>mla_get_shortcode_attachments</full_name>
|
9307 |
+
<docblock line="2414">
|
9308 |
<description><![CDATA[Parses shortcode parameters and returns the gallery objects]]></description>
|
9309 |
<long-description><![CDATA[]]></long-description>
|
9310 |
+
<tag line="2414" name="since" description=".50"/>
|
9311 |
+
<tag line="2414" name="param" description="Post ID of the parent" type="int" variable="$post_parent">
|
9312 |
<type by_reference="false">int</type>
|
9313 |
</tag>
|
9314 |
+
<tag line="2414" name="param" description="Attributes of the shortcode" type="array" variable="$attr">
|
9315 |
<type by_reference="false">array</type>
|
9316 |
</tag>
|
9317 |
+
<tag line="2414" name="param" description="true to calculate and return ['found_posts'] as an array element" type="boolean" variable="$return_found_rows">
|
9318 |
<type by_reference="false">boolean</type>
|
9319 |
</tag>
|
9320 |
+
<tag line="2414" name="return" description="List of attachments returned from WP_Query" type="array">
|
9321 |
<type by_reference="false">array</type>
|
9322 |
</tag>
|
9323 |
</docblock>
|
9324 |
+
<argument line="2425">
|
9325 |
<name>$post_parent</name>
|
9326 |
<default><![CDATA[]]></default>
|
9327 |
<type/>
|
9328 |
</argument>
|
9329 |
+
<argument line="2425">
|
9330 |
<name>$attr</name>
|
9331 |
<default><![CDATA[]]></default>
|
9332 |
<type/>
|
9333 |
</argument>
|
9334 |
+
<argument line="2425">
|
9335 |
<name>$return_found_rows</name>
|
9336 |
<default><![CDATA[NULL]]></default>
|
9337 |
<type/>
|
9338 |
</argument>
|
9339 |
</method>
|
9340 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2959" package="Media Library Assistant">
|
9341 |
+
<name>mla_shortcode_query_posts_join_filter</name>
|
9342 |
+
<full_name>mla_shortcode_query_posts_join_filter</full_name>
|
9343 |
+
<docblock line="2948">
|
9344 |
+
<description><![CDATA[Filters the JOIN clause for shortcode queries]]></description>
|
9345 |
+
<long-description><![CDATA[<p>Defined as public because it's a filter.</p>]]></long-description>
|
9346 |
+
<tag line="2948" name="since" description="1.8x"/>
|
9347 |
+
<tag line="2948" name="param" description="query clause before modification" type="string" variable="$join_clause">
|
9348 |
+
<type by_reference="false">string</type>
|
9349 |
+
</tag>
|
9350 |
+
<tag line="2948" name="return" description="query clause after item modification" type="string">
|
9351 |
+
<type by_reference="false">string</type>
|
9352 |
+
</tag>
|
9353 |
+
</docblock>
|
9354 |
+
<argument line="2959">
|
9355 |
+
<name>$join_clause</name>
|
9356 |
+
<default><![CDATA[]]></default>
|
9357 |
+
<type/>
|
9358 |
+
</argument>
|
9359 |
+
</method>
|
9360 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="2988" package="Media Library Assistant">
|
9361 |
<name>mla_shortcode_query_posts_where_filter</name>
|
9362 |
<full_name>mla_shortcode_query_posts_where_filter</full_name>
|
9363 |
+
<docblock line="2974">
|
9364 |
<description><![CDATA[Filters the WHERE clause for shortcode queries]]></description>
|
9365 |
<long-description><![CDATA[<p>Captures debug information. Adds whitespace to the post_type = 'attachment'
|
9366 |
phrase to circumvent subsequent Role Scoper modification of the clause.
|
9367 |
Handles post_parent "any" and "none" cases.
|
9368 |
Defined as public because it's a filter.</p>]]></long-description>
|
9369 |
+
<tag line="2974" name="since" description="0.70"/>
|
9370 |
+
<tag line="2974" name="param" description="query clause before modification" type="string" variable="$where_clause">
|
9371 |
<type by_reference="false">string</type>
|
9372 |
</tag>
|
9373 |
+
<tag line="2974" name="return" description="query clause after modification" type="string">
|
9374 |
<type by_reference="false">string</type>
|
9375 |
</tag>
|
9376 |
</docblock>
|
9377 |
+
<argument line="2988">
|
9378 |
<name>$where_clause</name>
|
9379 |
<default><![CDATA[]]></default>
|
9380 |
<type/>
|
9381 |
</argument>
|
9382 |
</method>
|
9383 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3030" package="Media Library Assistant">
|
9384 |
<name>mla_shortcode_query_posts_orderby_filter</name>
|
9385 |
<full_name>mla_shortcode_query_posts_orderby_filter</full_name>
|
9386 |
+
<docblock line="3018">
|
9387 |
<description><![CDATA[Filters the ORDERBY clause for shortcode queries]]></description>
|
9388 |
<long-description><![CDATA[<p>This is an enhanced version of the code found in wp-includes/query.php, function get_posts.
|
9389 |
Defined as public because it's a filter.</p>]]></long-description>
|
9390 |
+
<tag line="3018" name="since" description="1.20"/>
|
9391 |
+
<tag line="3018" name="param" description="query clause before modification" type="string" variable="$orderby_clause">
|
9392 |
<type by_reference="false">string</type>
|
9393 |
</tag>
|
9394 |
+
<tag line="3018" name="return" description="query clause after modification" type="string">
|
9395 |
<type by_reference="false">string</type>
|
9396 |
</tag>
|
9397 |
</docblock>
|
9398 |
+
<argument line="3030">
|
9399 |
<name>$orderby_clause</name>
|
9400 |
<default><![CDATA[]]></default>
|
9401 |
<type/>
|
9402 |
</argument>
|
9403 |
</method>
|
9404 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3057" package="Media Library Assistant">
|
9405 |
<name>mla_shortcode_query_posts_clauses_filter</name>
|
9406 |
<full_name>mla_shortcode_query_posts_clauses_filter</full_name>
|
9407 |
+
<docblock line="3045">
|
9408 |
<description><![CDATA[Filters all clauses for shortcode queries, pre caching plugins]]></description>
|
9409 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
9410 |
Defined as public because it's a filter.</p>]]></long-description>
|
9411 |
+
<tag line="3045" name="since" description="1.30"/>
|
9412 |
+
<tag line="3045" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
9413 |
<type by_reference="false">array</type>
|
9414 |
</tag>
|
9415 |
+
<tag line="3045" name="return" description="query clauses after modification (none)" type="array">
|
9416 |
<type by_reference="false">array</type>
|
9417 |
</tag>
|
9418 |
</docblock>
|
9419 |
+
<argument line="3057">
|
9420 |
<name>$pieces</name>
|
9421 |
<default><![CDATA[]]></default>
|
9422 |
<type/>
|
9423 |
</argument>
|
9424 |
</method>
|
9425 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3075" package="Media Library Assistant">
|
9426 |
<name>mla_shortcode_query_posts_clauses_request_filter</name>
|
9427 |
<full_name>mla_shortcode_query_posts_clauses_request_filter</full_name>
|
9428 |
+
<docblock line="3063">
|
9429 |
<description><![CDATA[Filters all clauses for shortcode queries, post caching plugins]]></description>
|
9430 |
<long-description><![CDATA[<p>This is for debug purposes only.
|
9431 |
Defined as public because it's a filter.</p>]]></long-description>
|
9432 |
+
<tag line="3063" name="since" description="1.30"/>
|
9433 |
+
<tag line="3063" name="param" description="query clauses before modification" type="array" variable="$pieces">
|
9434 |
<type by_reference="false">array</type>
|
9435 |
</tag>
|
9436 |
+
<tag line="3063" name="return" description="query clauses after modification (none)" type="array">
|
9437 |
<type by_reference="false">array</type>
|
9438 |
</tag>
|
9439 |
</docblock>
|
9440 |
+
<argument line="3075">
|
9441 |
<name>$pieces</name>
|
9442 |
<default><![CDATA[]]></default>
|
9443 |
<type/>
|
9444 |
</argument>
|
9445 |
</method>
|
9446 |
+
<method final="false" abstract="false" static="true" visibility="public" namespace="global" line="3150" package="Media Library Assistant">
|
9447 |
<name>mla_get_terms</name>
|
9448 |
<full_name>mla_get_terms</full_name>
|
9449 |
+
<docblock line="3108">
|
9450 |
<description><![CDATA[Retrieve the terms in one or more taxonomies.]]></description>
|
9451 |
<long-description><![CDATA[<p>Alternative to WordPress get_terms() function that provides
|
9452 |
an accurate count of attachments associated with each term.</p>
|
9480 |
<p>limit - final number of term objects to return, for pagination.</p>
|
9481 |
|
9482 |
<p>offset - number of term objects to skip, for pagination.</p>]]></long-description>
|
9483 |
+
<tag line="3108" name="since" description="1.60"/>
|
9484 |
+
<tag line="3108" name="param" description="taxonomies to search and query parameters" type="array" variable="$attr">
|
9485 |
<type by_reference="false">array</type>
|
9486 |
</tag>
|
9487 |
+
<tag line="3108" name="return" description="array of term objects, empty if none found" type="array">
|
9488 |
<type by_reference="false">array</type>
|
9489 |
</tag>
|
9490 |
</docblock>
|
9491 |
+
<argument line="3150">
|
9492 |
<name>$attr</name>
|
9493 |
<default><![CDATA[]]></default>
|
9494 |
<type/>
|
11198 |
</docblock>
|
11199 |
</function>
|
11200 |
</file>
|
11201 |
+
<file path="index.php" hash="b499164e9a4c07f244ece77e64a8f551" package="Media Library Assistant">
|
11202 |
<docblock line="2">
|
11203 |
<description><![CDATA[Provides several enhancements to the handling of images and files held in the WordPress Media Library]]></description>
|
11204 |
<long-description><![CDATA[<p>This file contains several tests for name conflicts with other plugins. Only if the tests are passed
|
11205 |
will the rest of the plugin be loaded and run.</p>]]></long-description>
|
11206 |
<tag line="2" name="package" description="Media Library Assistant"/>
|
11207 |
+
<tag line="2" name="version" description="1.83"/>
|
11208 |
</docblock>
|
11209 |
<include line="148" type="Require Once" package="Media Library Assistant">
|
11210 |
<name>includes/mla-plugin-loader.php</name>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://fairtradejudaica.org/make-a-difference/donate/
|
|
4 |
Tags: attachment, attachments, documents, gallery, image, images, media, library, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, GPS, PDF, meta, metadata, photo, photos, photograph, photographs, photoblog, photo albums, lightroom, photoshop, MIME, mime-type, icon, upload, file extensions
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -152,6 +152,12 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
152 |
|
153 |
== Changelog ==
|
154 |
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
= 1.82 =
|
156 |
* New: A **"Select Parent" popup window** has been added to the Media/Assistant submenu table "Attached To" column, the Quick Edit area and the Media/Edit Media "Parent Information" meta box. You can select a parent from a list of posts/pages, search for parent candidates by keyword(s), and select "(Unattached)" to set the post_parent ID to zero.
|
157 |
* New: For `[mla_gallery]`, **SVG image files** are rendered appropriately for all registered image sizes. Note that browser support for SVG images is also required.
|
@@ -266,8 +272,8 @@ All of the MLA source code has been annotated with "DocBlocks", a special type o
|
|
266 |
|
267 |
== Upgrade Notice ==
|
268 |
|
269 |
-
= 1.
|
270 |
-
|
271 |
|
272 |
== Other Notes ==
|
273 |
|
4 |
Tags: attachment, attachments, documents, gallery, image, images, media, library, media library, tag cloud, media-tags, media tags, tags, media categories, categories, IPTC, EXIF, GPS, PDF, meta, metadata, photo, photos, photograph, photographs, photoblog, photo albums, lightroom, photoshop, MIME, mime-type, icon, upload, file extensions
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.83
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 1.83 =
|
156 |
+
* **Important Fix**: For the Media/Assistant submenu table, **Quick Edit, Bulk Edit, Screen Options and Help** functions have been restored.
|
157 |
+
* Fix: For the **"Select Parent" popup window**, the "close icon" ("x") now appears in the upper-right corner of the popup in WordPress versions before 3.8.x
|
158 |
+
* Fix: For `[mla_gallery]`, **tax_query no longer restricted to parent post/page.** The `post_parent="current"` parameter can be used to restore the restriction.
|
159 |
+
* Fix: In the Settings/Media Library Assistant Documentation tab "Data Sources for custom field mapping" section, `parent_name` has been corrected to `parent_title`.
|
160 |
+
|
161 |
= 1.82 =
|
162 |
* New: A **"Select Parent" popup window** has been added to the Media/Assistant submenu table "Attached To" column, the Quick Edit area and the Media/Edit Media "Parent Information" meta box. You can select a parent from a list of posts/pages, search for parent candidates by keyword(s), and select "(Unattached)" to set the post_parent ID to zero.
|
163 |
* New: For `[mla_gallery]`, **SVG image files** are rendered appropriately for all registered image sizes. Note that browser support for SVG images is also required.
|
272 |
|
273 |
== Upgrade Notice ==
|
274 |
|
275 |
+
= 1.83 =
|
276 |
+
Corrects serious defect, restoring Quick Edit, Bulk Edit, Screen Options and Help to Media/Assistant submenu. Three other fixes.
|
277 |
|
278 |
== Other Notes ==
|
279 |
|
tpls/documentation-settings-tab.tpl
CHANGED
@@ -2537,7 +2537,7 @@ Contains a list of data elements you can map to the custom field. You can also s
|
|
2537 |
If you just want to add a custom field to the Media/Assistant submenu, the quick edit area and/or the bulk edit area you can bypass the mapping logic by leaving the Data Source value as "-- None (select a value) --".
|
2538 |
<br /> <br />
|
2539 |
Most of the data elements are static, i.e., they do not change after the attachment is added to the Media Library.
|
2540 |
-
The parent/reference information (parent_type,
|
2541 |
<br /> <br />
|
2542 |
Several of the data elements are sourced from the WordPress "image_meta" array. The credit, caption, copyright and title elements are taken from the IPTC/EXIF metadata (if any), but they go through a number of filtering rules that are not easy to replicate with the MLA IPTC/EXIF processing rules. You may find these "image_meta" elements more useful than the raw IPTC/EXIF metadata.
|
2543 |
</dd>
|
@@ -2895,7 +2895,7 @@ There are two other ways you can perform custom field mapping for one or more ex
|
|
2895 |
</tr>
|
2896 |
<tr>
|
2897 |
<tr>
|
2898 |
-
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">
|
2899 |
<td>for "attached" (post_parent not zero) objects, post title of the parent object</td>
|
2900 |
</tr>
|
2901 |
<tr>
|
2537 |
If you just want to add a custom field to the Media/Assistant submenu, the quick edit area and/or the bulk edit area you can bypass the mapping logic by leaving the Data Source value as "-- None (select a value) --".
|
2538 |
<br /> <br />
|
2539 |
Most of the data elements are static, i.e., they do not change after the attachment is added to the Media Library.
|
2540 |
+
The parent/reference information (parent_type, parent_title, parent_issues, reference_issues) and the "where-used" information (featured in, inserted in, gallery in and MLA gallery in) is dynamic; it will change as you define galleries, insert images in posts, define featured images, etc. Because of the database processing required to update this information, <strong><em>parent, where-used and reference data are NOT automatically refreshed</em></strong>. If you use these elements, you must manually refresh them with the "map data" buttons on the Settings screen, the bulk edit area or the Edit Media screen.
|
2541 |
<br /> <br />
|
2542 |
Several of the data elements are sourced from the WordPress "image_meta" array. The credit, caption, copyright and title elements are taken from the IPTC/EXIF metadata (if any), but they go through a number of filtering rules that are not easy to replicate with the MLA IPTC/EXIF processing rules. You may find these "image_meta" elements more useful than the raw IPTC/EXIF metadata.
|
2543 |
</dd>
|
2895 |
</tr>
|
2896 |
<tr>
|
2897 |
<tr>
|
2898 |
+
<td style="padding-right: 10px; vertical-align: top; font-weight:bold">parent_title</td>
|
2899 |
<td>for "attached" (post_parent not zero) objects, post title of the parent object</td>
|
2900 |
</tr>
|
2901 |
<tr>
|