开发者

WordPress images fail with plugin

开发者 https://www.devze.com 2023-03-09 20:33 出处:网络
I\'m having a problem with inserting pictures in my posts/pages after working on a plugin that uses the integrated images uploader/media library.

I'm having a problem with inserting pictures in my posts/pages after working on a plugin that uses the integrated images uploader/media library.

When the pictures are uploaded and put into the post/page, they won't display in either the workarea or in the final post.

When the plugin is deactivated, the image oploader works fine.

There is a reaction in the following file that I can't understand:

/var/www/themex/public_html/wp-includes/query.php

 Linie 2390 = $q_status = explode(',', $q['post_sta开发者_StackOverflow中文版tus']);
Linie 2399 = if( in_array( $status, $q_status ) ) {

What could this be?


Tthis error happened to me when I wrote a plugin that was using the image uploader. Try using the "Browser Uploader" if it work then it is a javascript problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消