Changeset 1489878
- Timestamp:
- 09/04/2016 10:38:03 PM (10 years ago)
- Location:
- woominecraft/trunk
- Files:
-
- 3 edited
-
README.md (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
woominecraft.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woominecraft/trunk/README.md
r1447295 r1489878 5 5 **Requires at least:** 4.4.2 6 6 **Tested up to:** 4.5.3 7 **Stable tag:** 1.0. 67 **Stable tag:** 1.0.7 8 8 9 9 A FREE Minecraft Donation plugin which works in conjunction with my WooMinecraft java plugin for Minecraft to provide a self-hosted donation platform. … … 56 56 ## Changelog 57 57 58 ### 1.0.7 59 * Better error handling for keys, instead of blindly killing over. 60 58 61 ### 1.0.6 59 62 * Fixed [#96](https://github.com/WooMinecraft/WooMinecraft/issues/96) - Checking wrong post type for cache busting. -
woominecraft/trunk/readme.txt
r1447295 r1489878 57 57 == Changelog == 58 58 59 = 1.0.7 = 60 * Better error handling for keys, instead of blindly killing over. 61 59 62 = 1.0.6 = 60 63 * Fixed [#96](https://github.com/WooMinecraft/WooMinecraft/issues/96) - Checking wrong post type for cache busting. -
woominecraft/trunk/woominecraft.php
r1447295 r1489878 132 132 */ 133 133 public function json_feed() { 134 $db_key = get_option( 'wm_key' ); 135 if ( ! isset( $_REQUEST['key'] ) || $db_key !== $_REQUEST['key']) {134 135 if ( ! isset( $_REQUEST['key'] ) ) { 136 136 return; 137 } 138 139 $requested_key = esc_attr( $_REQUEST['key'] ); 140 $db_key = get_option( 'wm_key' ); 141 if ( $requested_key !== $db_key ) { 142 wp_send_json_error( array( 'msg' => 'Keys do not match, compare keys in WordPress to your config.yml' ) ); 137 143 } 138 144
Note: See TracChangeset
for help on using the changeset viewer.