Changeset 1339725
- Timestamp:
- 01/30/2016 05:59:54 PM (10 years ago)
- Location:
- rating-writing/trunk
- Files:
-
- 3 edited
-
includes/meta-boxes.php (modified) (2 diffs)
-
rating-writing.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
rating-writing/trunk/includes/meta-boxes.php
r1332570 r1339725 9 9 function gcrw_meta_box_html() { 10 10 global $post; 11 wp_nonce_field( wp_create_nonce( __FILE__ ), ' my_nonce' );11 wp_nonce_field( wp_create_nonce( __FILE__ ), 'gcrw_nonce' ); 12 12 $title_text = get_post_meta( sanitize_text_field( $_GET['post'] ), '_t_t_key' ); 13 13 $box = new MetaBox( '_t_key_00', 't_id_00', '_key_00', 'id_00', 'c_id_00', 'stars.png', 'stars_00', 'rating_01' ); … … 25 25 function gcrw_save_custom_field_postdata( $post_id ) { 26 26 global $post; 27 $nonce = sanitize_text_field( $_POST[' my_nonce'] );28 $ my_nonce = isset( $nonce ) ? $nonce : null;29 if( ! wp_verify_nonce( $ my_nonce, wp_create_nonce( __FILE__ ) ) ) {27 $nonce = sanitize_text_field( $_POST['gcrw_nonce'] ); 28 $gcrw_nonce = isset( $nonce ) ? $nonce : null; 29 if( ! wp_verify_nonce( $gcrw_nonce, wp_create_nonce( __FILE__ ) ) ) { 30 30 return $post_id; 31 31 } -
rating-writing/trunk/rating-writing.php
r1332570 r1339725 4 4 Plugin URI: 5 5 Description: Plugin for write in your own rating star into a WordPress blog. 6 Version: 1.2. 26 Version: 1.2.3 7 7 Author: Tatsuhiro Sakata 8 8 Author URI: http://grace-create.com/ … … 28 28 */ 29 29 30 // 1.2. 230 // 1.2.3 31 31 // 4.4 32 32 // full path … … 36 36 // http://~/wp-content/plugins/rating-writing 37 37 38 define( 'GCRW_VERSION', '1.2. 2' );38 define( 'GCRW_VERSION', '1.2.3' ); 39 39 define( 'GCRW_REQUIRED_WP_VERSION', '4.4' ); 40 40 define( 'GCRW_PLUGIN', __FILE__ ); -
rating-writing/trunk/readme.txt
r1332782 r1339725 5 5 Requires at least: 4.4 6 6 Tested up to: 4.4 7 Stable tag: 1.2. 27 Stable tag: 1.2.3 8 8 License: GPLv3 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 44 44 == Changelog == 45 45 46 31 Jan 2016 47 ----------- 48 = V1.2.3 = 49 * fix css/gcrw.css. 50 * fix includes/meta-boxes.php. 51 46 52 21 Jan 2016 47 53 -----------
Note: See TracChangeset
for help on using the changeset viewer.