开发者 |
apos37
venutius |
---|---|
更新时间 | 2024年10月22日 23:12 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.6.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
debug.log
and other logswp-config.php
and .htaccess
files= Should I backup my wp-config.php and .htaccess files before using the tools to add/remove snippets? Yes! It is always best to back these files up when making updates to them. Yes, but you should always make a backup of your site before using functionality that makes changes to your core files or database. = My site broke when updating my wp-config.php or .htaccess. How do I revert back to my original? The originals are stored in your root folder and renamed with the date and time from which they were replaced. For example, the wp-config.php file will have been renamed to wp-config-2022-08-22-15-25-46.php and replaced with a new file. Simply log into your FTP or File Manager (from your host), rename the current file to something else such as wp-config-BROKEN.php (just in case you need it), and then rename the version you want to revert back to as wp-config.php. If everything looks good, then you can either delete this file or send a copy of it to me so I can figure out what went wrong. You can do so in the Discord server mentioned below.
Some hosts will not allow you to update a user's username directly from WP. In order to do so, you'll have to update it in your database directly.
Viewable only on the front-end, there is a link on the admin bar that shows +Off. Click on it and it will add a transparent bar with lines on it at the top of the page underneath the admin bar. If you click on the centering bar it will expand all the way down the page. Click on it again and it will minimize back to the top. You can click on the +On link from the admin bar to make it go away.
You have to enable them on the Developer Debug Tools settings first. Once they are enabled, an "ID" column will be added to the user and/or post admin list pages. Next to the user or post's ID you will see a lightning bolt icon. Clicking on the lightning bolt will redirect you to the User Meta or Post Meta tab on our plugin where you can view and edit all of the meta easily.
You can get there directly by going to https://yourdomain.com/wp-admin/admin.php?page=dev-debug-tools
. Be sure to bookmark it next time like the instructions say to do!
Join my Discord support server
include_once
path to plugin.php
showing incorrectly (props amurashkin17)ddtt_wpconfig_snippets
and ddtt_htaccess_snippets
to include a descriptionis_plugin_active()
date()
to gmdate()
in activation hook (props @sybrew)site_url()
to variable in root file (props @sybrew)TESTING_PLAYGROUND.php
file to includes
folder (props @sybrew)WP Cron
is disabledDISALLOW_FILE_EDIT
, DISABLE_WP_CRON
clear_debug_log
query string so we can refresh log without clearing it againis_plugin_active()
is defined for admin on multisiteddtt_highlight_debug_log
and ddtt_debug_log_help_col
hooks with more options