Skip to content

Commit 23da606

Browse files
committed
Added TODO list
1 parent 59601a2 commit 23da606

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Simply copy the `common-toolkit.php` file to your `wp-content/mu-plugins` direct
1414

1515
## Requirements
1616

17-
- **PHP 7.0 or higher** (PHP 5.6 support coming soon)
17+
- PHP 7.0 or higher
1818
- WordPress 4.7 or higher
1919

2020
## Configuration
@@ -28,7 +28,7 @@ Simply copy the `common-toolkit.php` file to your `wp-content/mu-plugins` direct
2828
| `shortcodes` | Enable custom [shortcodes](#shortcodes) created by this class | bool | false |
2929
| `disable_xmlrpc` | Disable XML-RPC | bool | false |
3030
| `meta_generator` | Enable or change meta generator tags in page head and RSS feeds | bool/string | true |
31-
| `windows_live_writer` | Enable [Windows Live Writer](https://is.gd/Q6KjEQ) support | bool | false |
31+
| `windows_live_writer` | Enable [Windows Live Writer](https://is.gd/Q6KjEQ) support | bool | true |
3232
| `feed_links` | Include RSS feed links in page head | bool | true |
3333

3434
### Example
@@ -70,9 +70,9 @@ wp_enqueue_script( 'script-custom-attributes', 'https://cdn.ampproject.org/v0/am
7070
Result:
7171

7272
```html
73-
<script async="async" src="https://example.com/wp-content/themes/my-theme/assets/js/script.js?ver=5.0.0"></script>
74-
<script defer="defer" src="https://example.com/wp-content/themes/my-theme/assets/js/script.js?ver=5.0.0"></script>
75-
<script async="async" custom-element="amp-audio" src="https://cdn.ampproject.org/v0/amp-audio-0.1.js?ver=5.0.0"></script>
73+
<script async src="https://example.com/wp-content/themes/my-theme/assets/js/script.js?ver=5.0.0"></script>
74+
<script defer src="https://example.com/wp-content/themes/my-theme/assets/js/script.js?ver=5.0.0"></script>
75+
<script async custom-element="amp-audio" src="https://cdn.ampproject.org/v0/amp-audio-0.1.js?ver=5.0.0"></script>
7676
```
7777

7878
### Change Admin Bar Color
@@ -110,4 +110,21 @@ Copyright &copy;[get_datetime format="Y"] Your Company
110110
Current date/time: [get_datetime]
111111
```
112112

113-
See PHP's [`date()`](https://php.net/date) function for formatting options.
113+
See PHP's [`date()`](https://php.net/date) function for formatting options.
114+
115+
## Future Plans
116+
117+
- Add support for PHP 5.6
118+
- Add support for external config and`.env` files
119+
- Add ability to change favicons by environment
120+
- Custom WP Admin footer
121+
- Add function to test if WP Object Cache is enabled
122+
- Add rewrite for custom image/script URLs/CDN support
123+
- Hide login errors
124+
- Disable update notifications: core, plugins, themes or all; Option to remove for all but admins
125+
- Change excerpt length
126+
- Ability to add class instance to $GLOBALS
127+
- Remove `?ver=` from some/all scripts
128+
- Disable JSON REST API
129+
- Enable TinyMCE lower toolbar
130+
- Completely disable comments

common-toolkit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function init() {
3434
'shortcodes' => false,
3535
'disable_xmlrpc' => false,
3636
'meta_generator' => true,
37-
'windows_live_writer' => false,
37+
'windows_live_writer' => true,
3838
'feed_links' => true
3939
], defined( 'CTK_CONFIG' ) && is_array( CTK_CONFIG ) ? CTK_CONFIG : [] );
4040

0 commit comments

Comments
 (0)