Wordpress wp-settings.php_PHP tutorial

Source: Internet
Author: User
Wp-settings.php for wordpress. Start wp-config.php, wp-settings.php these two files, wp-config.php so the name of the configuration file so there is nothing to explain. Wp-settings.php on the top of the function wp_unregister_GLOB start wp-config.php, wp-settings.php these two files, wp-config.php so the name of the configuration file so nothing to explain.

The top function of the wp-settings.php, wp_unregister_GLOBALS, is used to log out automatically generated global variables when register_globals is set to on. register_globals is strongly recommended to be off because of security issues.

Lines 28 to 49 are used to handle problems that may occur in different runtime environments. the wp compatibility issue is handled weekly. It is necessary to develop open-source software. of course, if you develop your own products and have your own remote platform, there is no such requirement. after all, there is a certain efficiency problem. For the $ _ SERVER variable, you can directly study all the values in phpinfo.

Friendly prompts like 55 rows are necessary because your users do not necessarily understand the technology.

The following timer_start and timer_end are two functions used to calculate the page execution time.

The LANGDIR and PLUGINDIR constants are reserved for the Custom plug-ins and language directories. the 120 rows of CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE indicate that you can use custom user tables to share with other applications.

If this is not the case, write the description in the comment and post it again. I remember a function that could color and format the file, that is to say, the effect displayed on the web page is the same as that shown in IDE. if you cannot find the function, please let me know and continue.

Bytes. The top function of wp-settings.php wp_unregister_GLOB...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.