وردپرس

Checking for GET[‘orderby’] in admin breaks functionality in blocks


Hello,

Love your plugin, thanks for the recent security fixes!

I noticed today that there is a line of code that checks for $_GET[‘orderby’] in a get_posts hook, and it is affecting my blocks’ output in the Gutenberg editor when editing a single page

I imagine this is unexpected behaviour, since your plugin should not be affecting anything outside of the listing of related post types, but this is not in the list page, it is in an edit page.

I have created a Pull Request that shouold address this, can you please review the one line change at your earliest convenience, and roll it out in your next release (or something similar to address the issue)?

Thanks so much in advance for your help on this, keep up the great work!

پایان/ مرجع وب و فناوری

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا