Arjan
Forum Replies Created
-
Hi David,
Do you have any indication when this fix will be officially released?
ThanksI can confirm it works in the most recent versions of:
IE, Edge, Chrome, Safari, Firefox, Opera.
Good job :thumbsup:Thank you for your help.
Not sure what I am doing different.
Using a fully clean WordPress installation. Installed the Media Library Assistant via the add plugin button and enabled it.
I didn’t touch any settings after that (only enabled your debug settings for now)Your array with search fields is different from a default setting.
In my array the alt-text is missing:[07-Feb-2020 13:24:34 UTC] 37 MLA_Ajax::initialize( true ) $_REQUEST = array ( 'action' => 'query-attachments', 'post_id' => '0', 'query' => array ( 'orderby' => 'date', 's' => array ( 'mla_filter_month' => '0', 'mla_filter_term' => '0', 'mla_terms_search' => '', 'mla_search_clicks' => '1', 'mla_search_value' => 'wordpress', 'mla_search_fields' => array ( 0 => 'title', 1 => 'excerpt', 2 => 'content', 3 => 'file', ), 'mla_search_connector' => 'AND', ), 'order' => 'DESC', 'posts_per_page' => '40', 'paged' => '1', ), ) [07-Feb-2020 13:24:38 UTC] 601 MLACore::mla_plugins_loaded_action() MLA 2.81 () mla_debug_level 0x3
Chrome itself sends the following to the server:
action: query-attachments post_id: 0 query[orderby]: date query[s][mla_filter_month]: 0 query[s][mla_filter_term]: 0 query[s][mla_terms_search]: query[s][mla_search_clicks]: 1 query[s][mla_search_value]: wordpress query[s][mla_search_fields][]: title query[s][mla_search_fields][]: excerpt query[s][mla_search_fields][]: content query[s][mla_search_fields][]: file query[s][mla_search_connector]: AND query[order]: DESC query[posts_per_page]: 40 query[paged]: 1
I tested with Chrome (All plugins disabled) and Firefox (No plugins); same result.
So the data is already missing from the post itself.
Console confirms that the checkbox checked:// ALT Text not checked: jQuery('input[name="s\\[mla_search_alt_text\\]"]:checked').length; 0 // ALT Text checked: jQuery('input[name="s\\[mla_search_alt_text\\]"]:checked').length; 1
My proces:
I used a clean install; PHP7.3, WP:5.3.2, MLA:2.81.
After the clean install:
Go to the Media Library en upload an image (flower.jpg);
Edit the image and fill in the ALT text field (1 word, for example: wordpress)
Go to the Media Library, search for “wordpress”, no results (as expected)
Check ALT text; search for “wordpress”, still no results.
Go to Media Libray Assistant; search for “wordpress”, no results (as expected)
Check ALT text; search for “wordpress”, 1 result.At the Media Library page there are no errors with the Ajax calls.
When searching for the title (flower) it will show 1 result.Thank you for your reply.
We will try this procedure and see if it solves this issue.