Plugin Directory

Changeset 2704804


Ignore:
Timestamp:
04/05/2022 06:46:27 AM (4 years ago)
Author:
inkforall
Message:

Version 4.0.8

Location:
ink-official/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ink-official/trunk/ink-content-block.php

    r2697502 r2704804  
    44Plugin URL: https://inkforall.com
    55Description: INK Block plugin allows you to import .ink files to wordpress posts / pages.
    6 Version: 4.0.7
     6Version: 4.0.8
    77Text Domain: ink
    88*/
  • ink-official/trunk/readme.txt

    r2697502 r2704804  
    55Tags: import INK file, INK, SEO, INK Editor importer, inkforall
    66Tested up to: 5.9.2
    7 Stable tag: 4.0.7
     7Stable tag: 4.0.8
    88Requires at least: 4.4
    99Requires PHP: 5.6.20
     
    123123== Changelog ==
    124124
     125= 4.0.8 =
     126
     127 - Bug Fixes
     128 
    125129= 4.0.7 =
    126130
  • ink-official/trunk/src/metadata.php

    r2623983 r2704804  
    6767function ink_save_meta_box_data($post_id){
    6868
    69     if (sanitize_text_field($_POST['myplugin_meta_box_nonce'])===null) {
    70         return;
    71     }
    72 
    73     if (!wp_verify_nonce(sanitize_text_field($_POST['myplugin_meta_box_nonce']), 'myplugin_meta_box')) {
    74         return;
    75     }
    76 
     69   
     70if ( ! isset( $_POST['myplugin_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['myplugin_meta_box_nonce'], 'myplugin_meta_box' ) ) {
     71    return;
     72   
     73}
     74
     75 
    7776    if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) {
    7877        return;
Note: See TracChangeset for help on using the changeset viewer.