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

Development Environment

الوصف

Whoops error handling, no password logins, template hints, no indexing, flush rewrites, everything a developer needs for their local development environment.

Components

  • Disallow Indexing Turn off the public blog option. This will modify the robots.txt generation to block all search engines
  • Flush Rewrites No more weird redirection problems when working on custom post types or taxonomies.
  • No Password Logins Just stick the user in you want to login as, write anything in the password field, and it will login! Only works when connecting from local host
  • Whoops Error Handling The error screen from laravel, now in your WordPress setup
  • Template Hints See which templates are loading for the page you are on

The goal is to exchange security for ease of use, for that reason it’s important that you take the security measures needed
to ensure that someone can’t take advantage of the site with this plugin enabled.

If you’re running on a staging environment ensure you have setup a htpasswd

Filters

Set Environment

development-environment/is-development

Dynamically set how the plugin detects if the environment is development based on your own criteria.

Stop a component from loading

development-environment/require-component-$component

Disable require of a component if you don’t want to use it. Possible values are:

disallow-indexing, `flush-rewrites`, `no-password-logins`, `whoops-error-handling`

التنصيب

To use the plugin, it must be able to detect the environment is development or staging, this can be done via the following:

wp-config.php
Add define('WP_ENV', 'development')

vhost
Add SetEnv WP_ENV "development"

Or additionally via the available hooks.

المراجعات

23 أكتوبر، 2017 1 reply
- quote from user - "When an error is thrown it's so easy to find it and quickly debug why it happened, and the no password login makes my day so much easier
إقرأ جميع المراجعات 1

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

“Development Environment” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Development Environment“ إلى لغتك.

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

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

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

See changelog on (github)[https://github.com/loonpwn/wp-development-environment/releases]