Plugin Directory

Changeset 1339725


Ignore:
Timestamp:
01/30/2016 05:59:54 PM (10 years ago)
Author:
grace-create
Message:

Ver 1.2.3

Location:
rating-writing/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rating-writing/trunk/includes/meta-boxes.php

    r1332570 r1339725  
    99function gcrw_meta_box_html() {
    1010  global $post;
    11   wp_nonce_field( wp_create_nonce( __FILE__ ), 'my_nonce' );
     11  wp_nonce_field( wp_create_nonce( __FILE__ ), 'gcrw_nonce' );
    1212  $title_text = get_post_meta( sanitize_text_field( $_GET['post'] ), '_t_t_key' );
    1313  $box = new MetaBox( '_t_key_00', 't_id_00', '_key_00', 'id_00', 'c_id_00', 'stars.png', 'stars_00', 'rating_01' );
     
    2525function gcrw_save_custom_field_postdata( $post_id ) {
    2626  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__ ) ) ) {
    3030    return $post_id;
    3131  }
  • rating-writing/trunk/rating-writing.php

    r1332570 r1339725  
    44Plugin URI:
    55Description: Plugin for write in your own rating star into a WordPress blog.
    6 Version: 1.2.2
     6Version: 1.2.3
    77Author: Tatsuhiro Sakata
    88Author URI: http://grace-create.com/
     
    2828*/
    2929
    30 // 1.2.2
     30// 1.2.3
    3131// 4.4
    3232// full path
     
    3636// http://~/wp-content/plugins/rating-writing
    3737
    38 define( 'GCRW_VERSION', '1.2.2' );
     38define( 'GCRW_VERSION', '1.2.3' );
    3939define( 'GCRW_REQUIRED_WP_VERSION', '4.4' );
    4040define( 'GCRW_PLUGIN', __FILE__ );
  • rating-writing/trunk/readme.txt

    r1332782 r1339725  
    55Requires at least: 4.4
    66Tested up to: 4.4
    7 Stable tag: 1.2.2
     7Stable tag: 1.2.3
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    4444== Changelog ==
    4545
     4631 Jan 2016
     47-----------
     48= V1.2.3 =
     49* fix css/gcrw.css.
     50* fix includes/meta-boxes.php.
     51
    465221 Jan 2016
    4753-----------
Note: See TracChangeset for help on using the changeset viewer.