هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Admin Ajax dot php? No Thank You!

الوصف

Changes the wp-admin/admin-ajax.php endpoint to /ajax/
Adds an endpoint to the REST API at /wp-json/wp/v2/admin-ajax that behaves exactly as wp-admin/admin-ajax.php
– requires PHP 5.3

التنصيب

  1. Place /admin-ajax-dot-php-no-thank-you/ directory in /wp-content/plugins/
  2. Enable the rewrite or REST API endpoints and select a default, at Settings > admin-ajax.php Settings [wp-admin/options-general.php?page=admin-ajax.php-no-thank-you]
  3. Any place that calls admin_url( 'admin-ajax.php' ) from PHP or ajaxurl from JavaScript will automatically use the new default endpoint instead of /wp-admin/admin-ajax.php
  4. /wp-json/wp/v2/admin-ajax in the REST API is also available for receiving requests.

الأسئلة المتكررّة

Installation Instructions
  1. Place /admin-ajax-dot-php-no-thank-you/ directory in /wp-content/plugins/
  2. Enable the rewrite or REST API endpoints and select a default, at Settings > admin-ajax.php Settings [wp-admin/options-general.php?page=admin-ajax.php-no-thank-you]
  3. Any place that calls admin_url( 'admin-ajax.php' ) from PHP or ajaxurl from JavaScript will automatically use the new default endpoint instead of /wp-admin/admin-ajax.php
  4. /wp-json/wp/v2/admin-ajax in the REST API is also available for receiving requests.

المراجعات

27 مايو، 2018
It is a brilliant workaround for websites that prevent you from accessing /wp-admin/ folder from the web.
إقرأ جميع المراجعات 1

المساهمون والمطوّرون

“Admin Ajax dot php? No Thank You!” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Admin Ajax dot php? No Thank You!“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

0.6.0

  • set current_screen global so is_admin() returns true.

0.4.0

  • fix calls to admin_url(‘admin-ajax.php’) with query vars in the string

0.3.6

  • namespace functions

0.3.5

  • fix rest api nonce / authentication, debugger on admin page

0.3.0

  • initial admin settings

0.2.0

  • Move to class & autoload

0.1.0

  • Rest API endpoint added

.0.0.3

  • Prep for WP plugin directory

.0.0.2

  • Initial functionality, no settings

.0.0.1

  • Initial release